Krist Wongsuphasawat
17075ae021
feat(time-format): improve support for formatting with granularity in mind ( #509 )
...
* feat(time-format): add support for granularity
* feat: create time range from granularity
* fix: update format
* wip
* feat: refactor getFormatter
* feat: reconcile api
* test: add unit tests
* refactor: clean up
* refactor: createTime
* refactor: improve end time computation to be daylight saving compatible
2021-11-26 11:46:20 +08:00
Jesse Yang
4cbc751ed8
chore: publish v0.13.21
2021-11-26 11:46:19 +08:00
David Aaron Suddjian
6a50787b38
chore: publish v0.13.16
2021-11-26 11:46:18 +08:00
Jesse Yang
ec3f7edc0e
chore: publish v0.13.15
2021-11-26 11:46:17 +08:00
Jesse Yang
7140b116ad
fix(time-format): remove week number ( #493 )
...
* fix: week number is actually Monday based by default
* Remove week number for weekly time grain
It is confusing and not really useful in most business settings.
2021-11-26 11:46:17 +08:00
Jesse Yang
aefd587ee5
chore: publish v0.13.14
2021-11-26 11:46:16 +08:00
Jesse Yang
868ebbe09d
feat(time-format): add full-date to weekly time formatter ( #486 )
2021-11-26 11:46:16 +08:00
Krist Wongsuphasawat
ead6efe5ad
chore(release): publish v0.13.3
2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
8e2732d282
chore(release): publish v0.13.1
2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
82503cedf3
fix: bump peer dependencies
2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
7d746a482c
chore(release): publish v0.13.0
2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
aa2cdcaad5
chore(release): publish v0.12.21
2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
aac4b0575e
chore(release): publish v0.12.19
2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
d5b51202f7
v0.12.18
2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
f4eb082df6
v0.12.15
2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
aa84115ca4
feat: make time formatter handle number and fix formatters type warnings ( #358 )
...
* fix: type warnings for formatters
* docs: add comment
* fix: unit tests
* fix: type
* feat: make time formatter handle timestamp
2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
e0bbdf9f85
v0.12.14
2021-11-26 11:45:06 +08:00
Krist Wongsuphasawat
149405e90e
v0.12.13
2021-11-26 11:45:05 +08:00
Krist Wongsuphasawat
d32465db7e
v0.12.12
2021-11-26 11:45:03 +08:00
Krist Wongsuphasawat
3342bfdd56
v0.12.10
2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
5966ff10be
feat: add more support for undefined format to number and time formatters ( #308 )
...
* feat: add more support for undefined format
* test: add unit tests
* fix: handle empty string
2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
64dca92eb2
v0.12.9
2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
83a1901a35
feat: make formatTime and formatNumber handle undefined format ( #307 )
2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
94d8280482
v0.12.8
2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
97f18e686b
build: migrate build tool to nimbus ( #281 )
...
* build: migrate to nimbus
* build: update gitignore
* build: update package.json
* build: update travis config
* build: lower engine requirements
* build: adjust typescript config
* fix: errors
* fix: change yarn run to yarn
* fix: lint
(cherry picked from commit 22328c349c9b987eecc5e46fb306e459b6a9cadc)
* fix: eslint rules
* fix: lint
* fix: setup file
* fix: more lint
* fix: lint - pass build and lint
* fix: test setup and babel transform runtime
(cherry picked from commit dd55fd88ced045a8f83ca771705721bf2f930ff0)
* fix: timeout issues
* fix: some broken test due to jest.setTimeout
* fix: computeMaxFontSize tests
* fix: createLoadableRenderer test
* fix: loadble and broken tests due to warnings
* fix: test coverage
* fix: coverage of generator tests
* fix: all unit tests pass
* fix: remove yeutech-lab/react-loadable
2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
28acf608c8
v0.12.5
2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
20452b1cfc
v0.12.4
2021-11-26 11:44:58 +08:00
Erik Ritter
9b0d77adea
feat(time-format): bump d3-time-format ( #244 )
2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
3928e063ae
v0.12.1
2021-11-26 11:44:55 +08:00
Krist Wongsuphasawat
13ceb8dc70
fix: peerDependencies version ( #210 )
2021-11-26 11:44:55 +08:00
Krist Wongsuphasawat
287ee479e0
v0.12.0
2021-11-26 11:44:54 +08:00
erik_ritter
02265669b3
v0.11.14
2021-11-26 11:44:53 +08:00
Krist Wongsuphasawat
3fc8551014
feat: support locale in number and time format ( #182 )
...
* feat: support locale in number and time format
* test: improve coverage
* test: merge js and ts test
2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
3c8dd8cec0
v0.11.5
2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
847655a4ef
v0.11.3
2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
99c2e4c875
fix: bump peer dependencies ( #136 )
2021-11-26 11:44:48 +08:00
Christine Chambers
61c7e691b6
v0.11.2
2021-11-26 11:44:47 +08:00
Thomas Wang
cbc1de5c76
fix: smartDateVerbose at seconds ( #132 )
...
* fix: smartDateVerbose at seconds
* revert the version increment
2021-11-26 11:44:47 +08:00
Christine Chambers
684e56b43e
v0.11.0
2021-11-26 11:44:47 +08:00
Krist Wongsuphasawat
e14d6567a9
v0.10.1
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
ca04f8ce85
refactor: make @superset-ui/core peer dependency ( #111 )
...
* refactor: 💡 make @superset-ui/core peer dependency
BREAKING CHANGE: @superset-ui/core becomes peer dependency
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
1975277cb0
v0.10.0
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
0f5e88eb5a
Feat: Enable warnings when values are overwritten in registries ( #107 )
...
* enable warning
* add warning
* fix order
2021-11-26 11:44:43 +08:00
Krist Wongsuphasawat
86cde58f0f
v0.9.5
2021-11-26 11:44:42 +08:00
Krist Wongsuphasawat
447537f5d7
v0.9.3
2021-11-26 11:44:41 +08:00
Krist Wongsuphasawat
59402bbce6
v0.9.0
2021-11-26 11:44:39 +08:00
Krist Wongsuphasawat
68b97db5d7
Convert time-format to TypeScript ( #78 )
...
* convert source to TS
* fix lint
* convert unit test to TS
* fix rebasing issue
* fix typings
* use ts-ignore
2021-11-26 11:44:39 +08:00
Christopher Council
28a1124719
v0.8.0 ( #72 )
2021-11-26 11:44:38 +08:00
Chris Williams
6c8e40c710
[build] fix typescript builds ( #56 )
...
* [build] fix typescript builds
* [typescript] ensure types pass in build
* [typescript][connection] declare modules in tests
* [typescript][connection] fix ts errors in tests
* [typescript][connection] test/types.ts => types/external.d.ts
* [chart][typescript] add @types/react-loadable
* [chart][components] convert to ts
* [charts][tests][broken] convert to ts
* [chart][typescript] re-write component generics
* [chart][typescript] fix reactify generic, add react-dom types
* [chart][typescript] more iteration
* - Tweaking reactify types (using Readonly types).
- Uncovered an issue in which ReactifyProps and Props can collide on id and className.
- Move @types/react-loadable to dev dependency
- Fixing a lint error
* [chart][deps] add @types/fetch-mock
* [client][typescript] add and export SupersetClientInterface
* [chart][clients] fix ts
* [charts][components] more ts iterations
* [chart][client] assert FormData type
* [chart][deps] try adding newest @types/react
* [chart][components][ts] fix reactify prop TS
* [chart] lint
* [chart][ts] lint #2 , move @types to deps not dev-deps
* [chart][jest] fix tests
* [chart][tests] up branch coverage
* [chart][ts][test] null => undefined
* [chart][tests] hundo
* [chart][tests] update name
* [chart][ts] ChartClient type fixes
2021-11-26 11:44:38 +08:00
Krist Wongsuphasawat
ffc52baced
v0.7.2
2021-11-26 11:44:37 +08:00