Commit Graph

9088 Commits

Author SHA1 Message Date
Ville Brofeldt
00ede940dc docs(number-format): add durationFormatter example README (#266)
* docs: add durationFormatter example to number-format README.md

* docs: refactor example to use registry
2021-11-26 11:45:00 +08:00
Ville Brofeldt
7212d1240b feat(number-format): bump pretty-ms to 5.1.0 (#262) 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
2d91764c60 v0.12.7 2021-11-26 11:45:00 +08:00
Chris Williams
d6a46c1265 fix(dimension): set 0 width/height in createHiddenSvgNode (#261) 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
09442bbfe0 v0.12.6 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
62e801fd07 fix: typing issues surfaced by typescript 3.7 (#260) 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
6aedef7447 docs: update readme and changelog 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
28acf608c8 v0.12.5 2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
4274520781 feat: add @superset-ui/superset-ui package as one-stop install (#255) 2021-11-26 11:45:00 +08:00
dependabot-preview[bot]
934d6a7031 build(deps): bump @types/lodash from 4.14.147 to 4.14.149 (#259)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.147 to 4.14.149.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
2745d8b513 build: migrate encodable to separate repo 2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
1772b671cf feat(encodable): add function for setting domain (#256)
* feat: add scale helper

* feat: add functions

* fix: remove unused import

* fix: add unit tests

* fix: unit tes
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
e719c19365 feat(encodable): handle edge cases when making domain includes zero (#257)
* feat: handle edge cases when making domain includes zero

* test: remove redundant tests
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
9ef831829b feat(encodable): implement axis functions for ChannelEncoder (#247)
* feat: add axis encoder

* test: add unit test

* fix: params

* refactor: rename

* fix: address comments

* fix: update import

* fix: error

* fix: lint
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
f5f944b405 feat(encodable): make applyDomain() able to handle domain from dataset (#254)
* feat: make applyDomain() able to handle domain from dataset

* test: add unit tests

* fix: rename variable
2021-11-26 11:44:59 +08:00
dependabot-preview[bot]
497a4b0ea6 build(deps): bump chalk from 2.4.2 to 3.0.0 (#252)
Bumps [chalk](https://github.com/chalk/chalk) from 2.4.2 to 3.0.0.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v2.4.2...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
b6723737a3 feat(encodable): only set scale domain if both bounds are defined (#250)
* feat: only set scale domain if both bounds are presented

* fix: unit test

* fix: more optimize
2021-11-26 11:44:59 +08:00
dependabot-preview[bot]
f5f876fc32 build(deps): bump @types/lodash from 4.14.108 to 4.14.147 (#253)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.108 to 4.14.147.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
2726e4a1b1 build: fix lodash type dependencies (#251) 2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
9300c2b40b refactor(encodable): rename .getDomain() to .getDomainFromDataset() (#248) 2021-11-26 11:44:59 +08:00
Krist Wongsuphasawat
f8bd7c6065 fix: d3 scale types (#246) 2021-11-26 11:44:58 +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
a5a4f1bcec build: fix lint (#245) 2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
2923a9318d feat: add function for getting legend information (#236)
* feat: add .getLegendInformation()

* fix: lint

* test: add unit test

* feat: revise how legend information is computed

* fix: address comments
2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
6a5fcfd8ef build: fix vega and vega-lite version 2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
a1aa26d97c build: bump node version on travis 2021-11-26 11:44:58 +08:00
dependabot-preview[bot]
1e3f4bdf73 build(deps): bump @vx/responsive from 0.0.189 to 0.0.192 (#232)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.189 to 0.0.192.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.189...v0.0.192)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
ac99cd0efb fix: build error (#235) 2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
e11071cd9c feat: Add Encoder (#230)
* feat: add encoder

* feat: add encoder

* refactor: revamp encoding types and derivations

* test: add unit tests

* fix: unit tests

* test: add unit tests

* fix: remove unused code

* fix: channeltype
2021-11-26 11:44:58 +08:00
Krist Wongsuphasawat
e07b6210bd build: fix lint errors (#231) 2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
937a7ecb10 feat: Add channel encoder (#224)
* feat: add channel encoder

* fix: all errors

* fix: test

* feat: complete channel encoder implementation and unit tests

* fix: lint

* fix: address comments

* fix: lint
2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
1f70765f40 docs: update storybook doc 2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
2e607e74c0 docs: add contributing guidelines 2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
be9a396c02 docs: update README 2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
be802de20d docs: update README 2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
6cd7beed69 build: fix storybook type (#227) 2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
1978d9bc2e feat(encodable): fill missing fields in user-specified channel definition (#222)
* feat: fill missing fields in user-specified channel definition

* fix: type

* test: add unit tests

* fix: lint

* test: add more unit tests

* test: add unit tests

* test: fix unit tests

* fix: unit tests

* refactor: change order of parameters

* fix: type annotation

* fix: type annotation

* feat: add generic support

* refactor: reorder params

* fix: rename variables
2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
c0c45c2d3c feat: add promiseTimeout (#223) 2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
e6c3fad721 build: suppress logs from intentionally thrown/caught errors (#221) 2021-11-26 11:44:57 +08:00
Krist Wongsuphasawat
ba9f4b71f4 docs: update changelog 2021-11-26 11:44:56 +08:00
Krist Wongsuphasawat
e5377abbab v0.12.3 2021-11-26 11:44:56 +08:00
Krist Wongsuphasawat
885e4e9785 fix: fix React.Fragment complaining about width/height (#219) 2021-11-26 11:44:56 +08:00
Krist Wongsuphasawat
99532444f2 build: add missing unit test for callApi (#218)
* build: add missing unit test for callApi

* fix: test
2021-11-26 11:44:56 +08:00
Krist Wongsuphasawat
095c1839b2 feat: add Wrapper support and bounding box for dynamic width/height (#215)
* feat: add Wrapper support and bounding box for dynamic width/height

* fix: unit tests

* fix: address comments and update unit tests

* docs: update storybook
2021-11-26 11:44:56 +08:00
dependabot-preview[bot]
ed45bdfc06 build(deps): update @superset-ui/legacy-plugin-chart-sankey requirement (#217)
Updates the requirements on [@superset-ui/legacy-plugin-chart-sankey](https://github.com/apache-superset/superset-ui-plugins) to permit the latest version.
- [Release notes](https://github.com/apache-superset/superset-ui-plugins/releases)
- [Changelog](https://github.com/apache-superset/superset-ui-plugins/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apache-superset/superset-ui-plugins/compare/v0.10.0...v0.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:56 +08:00
dependabot-preview[bot]
10c1998c61 build(deps): update @superset-ui/legacy-plugin-chart-word-cloud requirement (#216)
Updates the requirements on [@superset-ui/legacy-plugin-chart-word-cloud](https://github.com/apache-superset/superset-ui-plugins) to permit the latest version.
- [Release notes](https://github.com/apache-superset/superset-ui-plugins/releases)
- [Changelog](https://github.com/apache-superset/superset-ui-plugins/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apache-superset/superset-ui-plugins/compare/v0.10.0...v0.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:56 +08:00
Krist Wongsuphasawat
74679623b0 refactor: rename encodeable to encodable (#214) 2021-11-26 11:44:56 +08:00
Krist Wongsuphasawat
024b318dd2 feat: add functions for parsing scales (#207)
* feat: add more util functions

* feat: add unit test

* feat: define HasToString

* fix: unit test

* fix: update unit tests

* feat: add scale types

* feat: update scale parsing

* fix: enum

* feat: add color scale extraction

* refactor: create scale from config

* feat: parse more scales and add more test

* feat: add tests for band and point

* test: add more unit tests

* refactor: separate applyXXX into multiple files

* feat: parse nice time

* test: add unit tests

* test: make 100% coverage

* fix: complete coverage

* refactor: update type definitions

* fix: address comments

* fix: add comments for date parts

* fix: build issue

* fix: broken tests
2021-11-26 11:44:56 +08:00
dependabot-preview[bot]
3138aaa229 build(deps): update @superset-ui/legacy-preset-chart-big-number requirement (#213)
Updates the requirements on [@superset-ui/legacy-preset-chart-big-number](https://github.com/apache-superset/superset-ui-plugins) to permit the latest version.
- [Release notes](https://github.com/apache-superset/superset-ui-plugins/releases)
- [Changelog](https://github.com/apache-superset/superset-ui-plugins/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apache-superset/superset-ui-plugins/compare/v0.10.0...v0.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:55 +08:00