Commit Graph

1195 Commits

Author SHA1 Message Date
erik_ritter
474c7e30c5 v0.10.33 2021-11-26 11:45:39 +08:00
Michelle Thomas
bfc5178ce4 fix: heatmap errors with null data 2021-11-26 11:45:39 +08:00
dependabot-preview[bot]
1d4e5c07ab build(deps): update @data-ui/event-flow requirement (#129)
Updates the requirements on [@data-ui/event-flow](https://github.com/williaster/data-ui) to permit the latest version.
- [Release notes](https://github.com/williaster/data-ui/releases)
- [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/williaster/data-ui/compare/v0.0.78...v0.0.79)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:38 +08:00
dependabot-preview[bot]
224c9bbb35 build(deps-dev): update fast-glob requirement from ^2.2.6 to ^3.0.1 (#128)
Updates the requirements on [fast-glob](https://github.com/mrmlnc/fast-glob) to permit the latest version.
- [Release notes](https://github.com/mrmlnc/fast-glob/releases)
- [Commits](https://github.com/mrmlnc/fast-glob/compare/2.2.6...3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:38 +08:00
dependabot-preview[bot]
5d128e53b5 build(deps): update @data-ui/histogram requirement (#126)
Updates the requirements on [@data-ui/histogram](https://github.com/williaster/data-ui) to permit the latest version.
- [Release notes](https://github.com/williaster/data-ui/releases)
- [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/williaster/data-ui/compare/v0.0.78...v0.0.79)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:38 +08:00
Krist Wongsuphasawat
9382077f82 docs: update changelog 2021-11-26 11:45:38 +08:00
Krist Wongsuphasawat
79ed4f3557 v0.10.32 2021-11-26 11:45:38 +08:00
Krist Wongsuphasawat
5fee703883 build: bump @vx dependencies (#124) 2021-11-26 11:45:38 +08:00
Erik Ritter
f114669ce3 docs: add storybook local run instructions (#123) 2021-11-26 11:45:38 +08:00
Krist Wongsuphasawat
8be21491cc build: bump beemo to 1.0.0 2021-11-26 11:45:38 +08:00
Erik Ritter
5b5086b96a fix: ignore disabled series in stacked bar values (#116) 2021-11-26 11:45:38 +08:00
Krist Wongsuphasawat
2d85b344a3 docs: update changelog 2021-11-26 11:45:38 +08:00
Krist Wongsuphasawat
d02bf08020 v0.10.31 2021-11-26 11:45:38 +08:00
Krist Wongsuphasawat
15f2478464 refactor: organize legend and its overrides 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
852b9e609d feat: create reusable selector factory for Encoder 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
52d120a05b feat: simplify Encoder creation 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
c469e5854a feat: channels can take array of definitions 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
1c9c3adbb1 fix: legend types 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
7ef5701efd refactor: improve how encodings are defined 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
7f89012f61 refactor: reduce amount of generic passed around 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
333165867f refactor: change how XYChartLayout are created 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
28ef524596 feat: remove children from XYChartLayout parameter 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
01264fdec1 feat: add getDomain to ChannelEncoder 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
58fce4b646 fix: move series in front of xy gridlines (#119) 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
091789c2ba v0.10.30 2021-11-26 11:45:36 +08:00
Chris Williams
06449c521e fix(preset-chart-xy): Pick LegendRenderer (#118) 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
21307c2de1 v0.10.29 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
814e5725c2 fix: scale type category missing ordinal 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
740c7d147f v0.10.28 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
45a3dfe5b8 fix: lint 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
c691415702 feat: implement labelFlush behavior for continuous axes (#117)
* feat: add labelFlush to definition

* feat: implement flushing
2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
2333030abf v0.10.27 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
0dfaff8c2a fix: convert scale config to data-ui's config correctly (#115) 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
8eaebc7c0c v0.10.26 2021-11-26 11:45:35 +08:00
Krist Wongsuphasawat
f889a4fd3e fix: move padding 2021-11-26 11:45:35 +08:00
Krist Wongsuphasawat
d490bc9443 v0.10.25 2021-11-26 11:45:35 +08:00
Krist Wongsuphasawat
cf545ff5b4 style: reduce gap between axis label and border (#113)
* build: bump version

* style: reduce gap between axis label and border
2021-11-26 11:45:35 +08:00
Krist Wongsuphasawat
0940943ca8 v0.10.24 2021-11-26 11:45:35 +08:00
Krist Wongsuphasawat
4259e4402b feat: allow boolean as axis config 2021-11-26 11:45:35 +08:00
Krist Wongsuphasawat
d7a5d8ab85 feat: allow overriding ChartLegend, its style and LegendGroup style (#112)
* feat: support overriding maximum legend height and legend item alignment

* feat: allow overriding ChartLegend, its style and LegendGroup style
2021-11-26 11:45:35 +08:00
dependabot-preview[bot]
a19137cca7 build(deps): update @data-ui/histogram requirement (#111)
Updates the requirements on [@data-ui/histogram](https://github.com/williaster/data-ui) to permit the latest version.
- [Release notes](https://github.com/williaster/data-ui/releases)
- [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/williaster/data-ui/compare/v0.0.77...v0.0.78)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:35 +08:00
dependabot-preview[bot]
3a055c5046 build(deps-dev): update fs-extra requirement from ^7.0.1 to ^8.0.1 (#110)
Updates the requirements on [fs-extra](https://github.com/jprichardson/node-fs-extra) to permit the latest version.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:35 +08:00
dependabot-preview[bot]
d8290f8d89 build(deps): update @types/d3-array requirement from ^1.2.4 to ^2.0.0 (#85)
Updates the requirements on [@types/d3-array](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/d3-array) to permit the latest version.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/d3-array)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:35 +08:00
dependabot-preview[bot]
8acc02110e build(deps): update @data-ui/theme requirement from ^0.0.77 to ^0.0.78 (#107)
Updates the requirements on [@data-ui/theme](https://github.com/williaster/data-ui) to permit the latest version.
- [Release notes](https://github.com/williaster/data-ui/releases)
- [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/williaster/data-ui/commits/v0.0.78)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:34 +08:00
dependabot[bot]
698778b2ef build(deps): update @types/storybook__addon-knobs requirement (#91)
Updates the requirements on [@types/storybook__addon-knobs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/storybook__addon-knobs) to permit the latest version.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/storybook__addon-knobs)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
2770fdd256 v0.10.23 2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
c01f2a9bfc feat: support custom tooltip for scatterplot and box plot 2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
02d93aebfb build: bump dependencies 2021-11-26 11:45:34 +08:00
dependabot[bot]
1ce151d456 build(deps-dev): update husky requirement from ^1.1.2 to ^2.3.0 (#99)
Updates the requirements on [husky](https://github.com/typicode/husky) to permit the latest version.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v1.1.2...v2.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
f4f896a760 refactor: create selector factories 2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
7745c3f9a0 refactor: use selector in line chart rendering 2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
a2c1d69c2c feat: support line strokeWidth (#105) 2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
75d54d2895 fix: gridlines 2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
cfc20ba512 docs: update changelog 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
729bc4dee9 v0.10.22 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
41fc7dc75c refactor: rename props 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
d3e140c3ae v0.10.21 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
297b723e7f feat: add types to published list 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
b6e5727adb v0.10.20 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
9add9b8e64 refactor: use composition package (#104)
* refactor: use composition package

* refactor: remove WithLegend and ChartFrame
2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
de4c481685 fix: line chart tooltip when there is only one lien (#103)
* fix: line chart tooltip when there is only one lien

* fix: type

* fix: combine export default
2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
04cd5802fb v0.10.19 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
6d8ebc8ac5 fix: invalid margin breaking chart (#102) 2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
fbfdbde421 v0.10.18 2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
97a95ffcda feat: support tooltip and legend overrides (#101) 2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
1037ccfe86 refactor: rename channel color to stroke (#100)
* refactor: rename channel color to stroke

* fix: legend item color and types

* feat: can override createTooltip

* refactor: renderTooltip
2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
012f5165da fix: gradient not working when y axis title has space (#98)
* fix: gradient not working when y axis title has space

* fix: pass theme

* fix: pass theme
2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
9a98eb31db v0.10.17 2021-11-26 11:45:32 +08:00
dependabot[bot]
2961b1505e build(deps): update @data-ui/xy-chart requirement (#94)
Updates the requirements on [@data-ui/xy-chart](https://github.com/williaster/data-ui) to permit the latest version.
- [Release notes](https://github.com/williaster/data-ui/releases)
- [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/williaster/data-ui/commits/v0.0.78)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
b652510765 fix: broken build due to vega type (#96)
* fix: broken build due to vega type

* fix: remove unused

* fix: type

* fix: margin
2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
3a0dd2741d feat: add scatter plot (#90)
* feat: bubble in progress

* feat: working scatter plot with basic and bubble demo

* feat: add legacy shim

* feat: support group as separate channel

* fix: box plot formatting

* fix: lint

* fix: remove/clarify comments
2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
68ebb111f1 feat: bring lazy import back (#84) 2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
be7623e652 docs: update readme 2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
75a11b01e1 test: enable test in ci (#83) 2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
f1164aece0 fix: disable lazy import for line chart and box plot (#82)
* fix: disable lazy import

* fix: lint
2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
ff7ef2b2b3 feat: allow legend overrides at multiple levels (#81)
* feat: reduce legend text size

* feat: compute legend data

* feat: support multi-level overrides for legend
2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
6c7533b565 feat: add box plot (#78)
Squashed commits:
[23ad0d6] feat: working box plot
[a7ed565] fix: typings
[57a62b7] feat: clarify horizontal/vertical mode
[6312737] fix: typings
[2734de3] feat: box plot types
[cb3c239] fix: typings
[7e2dcda] feat: add box plot
2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
eefb1cf1b7 fix: lint (#79) 2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
f1c113c9b3 docs: update changelog 2021-11-26 11:45:31 +08:00
Christine Chambers
080cf172d4 v0.10.16 2021-11-26 11:45:31 +08:00
Robert Harris
c0920f6397 feat: add sankey chart with loops (#77)
* feat(chart): add basic working look sankey chart

* fix(doc): update readme and remove dead code

* fix(clean): clean up both style and code

* fix(reorg): reogranize for clarity

* fix(path): remove dev path to chart

* fix(lint): remove lint

* fix(pr): fixes for PR

* fix(path): fix dev path

* fix(lint): remove unused
2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
e2300812d7 docs: update changelog 2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
f6366158d1 v0.10.15 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
f17bb4a6c2 fix: rename file from js to ts (#75) 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
ba42faba02 v0.10.14 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
492b19cad5 feat: bump dependencies 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
ede2e92d97 fix: lazily create metadata (#74) 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
7ca247ccb8 v0.10.13 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
cbeb837b2a docs: update storybook readme 2021-11-26 11:45:30 +08:00
Robert Harris
417c86a9bf docs: update documentation for starting storybook (#67) 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
23c4aa3d1e feat: integrate line chart with build query and update typings (#73)
* feat: integrate line chart with buildQuery

* fix: typings

* fix: minor

* feat: derive groupbys

* fix: tooltip for single series
2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
0eafb6c1f7 docs: add storybook page for testing query (#70)
* docs: add storybook page for testing query

* fix: remove is_time_series
2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
827394261a feat: update data format returned from query api and add getGroupBys (#72)
* fix: update data format returned from query api

* fix: format

* fix: remove unnecessary type

* fix: remove hack prior to typescript 3.4
2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
911382f152 fix: make line chart query operate in time series mode (#71) 2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
4dd87b55fc v0.10.12 2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
fcee68a3af docs: add chart xy to front page 2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
69d9545591 docs: add chart xy to front page 2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
2430aa1dbe fix: line chart does not handle temporal field correctly (#68)
* fix: fallback to default margin when margin is partially set

* feat: can disable axis title

* feat: adjust margin according to axis title visibility

* feat: include margin in formData

* feat: add buildQuery

* fix: address kyle comments

* fix: remove string false

* fix: line chart temporal scale

* fix: format
2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
1f33026b38 feat: improve line chart margin/axis and add buildquery (#66)
* fix: fallback to default margin when margin is partially set

* feat: can disable axis title

* feat: adjust margin according to axis title visibility

* feat: include margin in formData

* feat: add buildQuery

* fix: address kyle comments

* fix: remove string false
2021-11-26 11:45:29 +08:00
Andy
bbecb6dc84 feat: adding Canada into the list of country map choices (#48)
travis build failed due to another issue, which is fixed in master.
verified storybook and the new map is working correctly.
2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
381d51d8a4 fix: word cloud import bug (#65)
* fix: word cloud import bug

* fix: add core-js
2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
2f19262399 build: bump version and update changelog 2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
1a3b10e180 feat: update line chart thumbnail and scale extraction (#61)
* feat: update line chart thumbnail

* fix: lint
2021-11-26 11:45:28 +08:00
Hamel Husain
c264b9fb1f chore: create issue_label_bot.yaml (#62) 2021-11-26 11:45:28 +08:00
Krist Wongsuphasawat
353e3df3f4 v0.10.11 2021-11-26 11:45:28 +08:00
Krist Wongsuphasawat
8d701e97ef docs: update readme 2021-11-26 11:45:28 +08:00
Krist Wongsuphasawat
7c58da9e34 build: allow xy-chart to publish (#59)
* build: allow xy-chart to publish

* fix: add line
2021-11-26 11:45:28 +08:00
Krist Wongsuphasawat
e86706f9ee build: multi-level nesting in storybook (#58)
* build: multi-level nesting in storybook

* feat: select country

* fix: config

* fix: minor
2021-11-26 11:45:28 +08:00
Krist Wongsuphasawat
e2f32cbf0e fix: list css as side effects (#57) 2021-11-26 11:45:28 +08:00
Krist Wongsuphasawat
8e9cd50552 build: migrate to storybook 5 (#46)
* build: migrate to storybook 5

* fix: configuration

* fix: delete dir on build
2021-11-26 11:45:28 +08:00
Christine Chambers
fd84ea1381 v0.10.10 2021-11-26 11:45:28 +08:00
Kim Truong
ec5be03d8f fix: use correct number format (#47) 2021-11-26 11:45:28 +08:00
Thomas Wang
5a643dd047 feat: increment the version number (#44) 2021-11-26 11:45:27 +08:00
Christine Chambers
99112bc029 v0.10.9 2021-11-26 11:45:27 +08:00
Kim Truong
dde88df4e0 fix: y-axis bounds for stacked viz types (#45)
* fix: y-axis bounds for stacked viz types

* fix: add dist_bar
2021-11-26 11:45:27 +08:00
Christine Chambers
6fad7c0152 v0.10.8 2021-11-26 11:45:27 +08:00
Christine Chambers
abc1ad4ff9 chore: rename willUnmount hook to match the name in superset-ui/chart (#43) 2021-11-26 11:45:27 +08:00
Christine Chambers
8b4bb80738 fix: remove sticky tooltip when query returns no data in explore view (#42)
Tap into the newly added `willUnmount` hook to clean up sticky tooltip that nvd3 adds to `body` directly. This removes such tooltips that were left behind in the explore view with the new query returns 'no data'.
2021-11-26 11:45:27 +08:00
Christine Chambers
223c2f8791 v0.10.7 2021-11-26 11:45:27 +08:00
Beto Dealmeida
06bf56fd83 fix(legacy-preset-chart-nvd3): stacked bar charts labels (#40)
* fix(legacy-preset-chart-nvd3): stacked bar charts labels

* fix(legacy-preset-chart-nvd3): fix lint
2021-11-26 11:45:27 +08:00
Christine Chambers
ee7a87db7d v0.10.6 2021-11-26 11:45:27 +08:00
Thomas Wang
eaf61fa6a7 style: add % to total to area chart tooltip (#27)
* style: improve area chart tooltip

* style: improve area chart tooltip
2021-11-26 11:45:27 +08:00
Krist Wongsuphasawat
8118ae86d8 v0.10.5 2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
2b5d4d60c5 docs: update changelog 2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
ad67c39ab7 feat: update dependencies to make plugins compatible with 0.11 (#38) 2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
b40fb63dc5 v0.10.4 2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
540fed2aa6 docs: update changelog 2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
1b4d9117a8 fix: broken build due to file rename in vega-lite (#37)
* fix: change references to vega-lite that broke build

* refactor: rename fielddef to channeldef
2021-11-26 11:45:26 +08:00
Kim Truong
66a5a5e565 fix: big number with trendline fix (#34) 2021-11-26 11:45:26 +08:00
Kim Truong
77396afc7c fix: exception thrown for charts without a x-axis (#36)
* fix: pie chart exception

* fix: incoporate krist's feedbacl
2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
2a571777f8 build: use shared commit config (#35)
* build: use shared commit config

* docs: changelog

* fix: root package.json version
2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
818f4628f7 feat: update tooltip and use selector (#31) 2021-11-26 11:45:26 +08:00
Thomas Wang
fa0d4ea6bc fix: fine tune time pivot chart tooltip (#33) 2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
bcd6396cf2 chore: add eslint react fragment rule (#32)
* chore: add eslint react fragment rule

* fix: lint

* fix: react16
2021-11-26 11:45:25 +08:00
Thomas Wang
4bd482dbc4 fix: line chart tooltip should use full datetime format (#24) 2021-11-26 11:45:25 +08:00
Thomas Wang
ec2c1946c8 feat: improve the tooltip for the time pivot chart (#30)
* style: improve the tooltip for the time pivot chart

* fix: lint errors
2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
049b40bc80 feat: line chart with revised encodeable utilities (#26)
* feat: line chart

* feat: implement scale extraction

* refactor: no error

* fix: handle null

* fix: nicing and demo

* fix: legend and demo

* fix: remove commented code

* fix: clean

* fix: reviewer comments

* fix: legend and series

* docs: make demos tsx

* fix: reactnode

* fix: label angle

* fix: resolve labelxxx field names

* docs: try knobs

* feat: improve axis

* refactor: combine computelayout into axisagent

* refactor: cleaner use of scale

* fix: proptypes
2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
773de699d8 refactor: remove new box plot code until refactored (#25) 2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
8265ed4917 v0.10.3 2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
2766975ac5 feat: add encodeable utilities for chart (#15)
* feat: add encodeable utilities

* feat: add types back

* refactor: simplify function calls

* refactor: rename generic type

* refactor: more edits

* refactor: remove unused function

* refactor: rename file

* fix: address comments

* fix: add vega back
2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
d8e8dc4111 fix: make pivot table handle null string (#23) 2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
2485ae5724 docs: update CHANGELOG 2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
c0708a22b4 v0.10.2 2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
532feac81a fix: y axis bounds when input are nan (#22)
* fix: avoid computing log for 0

* fix: y axis bounds when input are nan
2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
e53fbd562b docs: add nvd3 version badge to readme 2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
187e476440 docs: update changelog 2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
45c78671d1 v0.10.1 2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
a2209f2876 fix: bar label for many bars and long labels (#21)
* fix: labels for many bars in bar chart

* fix: nvd3 bar labels

* docs: update example
2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
7ea874c9c0 fix: dual line chart color consistency for secondary y axis (#18) 2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
49a6951f4f fix: show only necessary tick labels on log scale (#19)
* fix: show only necessary ticks on log scale and add storybook

* fix: storybook path
2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
54f15d72cb fix: nvd3 line chart y axis bounds (#17)
* fix: 🐛 y axis bounds

* fix: clip edge only when necessary

* docs: update storybook

* fix: remove src ref from storybook

* fix: import order
2021-11-26 11:45:24 +08:00
Chris Williams
87be3e819f chore(histogram): update @data-ui/histogram for better bins (#16)
* chore: [histogram] bump to @data-ui/histogram@^0.0.77

* docs: fewer histogram bins in demo
2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
4013721e61 feat: add tooltip and layout components for charts (#13)
* feat: add components for charts

* refactor: remove jsx

* refactor: address comments
2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
270386ba40 chore: bump version (#14) 2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
4215a80aa8 feat: add typescript declaration for external packages (#12)
* feat: add declaration for external packages

* feat: add dependency

* fix: address comments
2021-11-26 11:45:23 +08:00
Kim Truong
49cd2fedfb feat: add properties for font sizing (#10)
* feat: add properties for font sizing

* revert package.json changes

* refactor: rename bigNum to header

* chore: empty commit to kick off travis
2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
cc2ec90171 docs: update CHANGELOG 2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
18b5c9e477 v0.10.0 2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
4014ac88a4 docs: update CHANGELOG 2021-11-26 11:45:23 +08:00
Christine Chambers
0ecf719391 fix(legacy-preset-chart-nvd3): tooltip's disappearance and stickiness (#1)
fix: tooltip disappearance and stickiness
2021-11-26 11:45:23 +08:00
Beto Dealmeida
53ab7147cf feat(legacy-preset-chart-nvd3): show negative values on bars (#8)
* fix(legacy-preset-chart-nvd3): redraw bar values after legend change

* fix(legacy-preset-chart-nvd3): show labels on negative bars

* fix(legacy-preset-chart-nvd3): fix lint

* fix(legacy-preset-chart-nvd3): improve remove
2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
70476b115b chore: 🤖 enable hot reload for typescript in storybook (#9) 2021-11-26 11:45:22 +08:00
Beto Dealmeida
444bb039b8 fix(legacy-preset-chart-nvd3): redraw bar values after legend change (#7)
* fix(legacy-preset-chart-nvd3): redraw bar values after legend change

* fix(legacy-preset-chart-nvd3): avoid creating multiple nodes

* fix(legacy-preset-chart-nvd3): improve remove
2021-11-26 11:45:22 +08:00
Krist Wongsuphasawat
79f58372f6 chore: enforce PR title to be conventional commit 2021-11-26 11:45:22 +08:00
Beto Dealmeida
8c382ade40 fix(legacy-preset-chart-nvd3): redraw markers after legend interaction (#6)
* fix(legacy-preset-chart-nvd3): redraw markers after legend interaction

* fix: lint
2021-11-26 11:45:22 +08:00
Krist Wongsuphasawat
618f50b01b Enable TypeScript live update in Storybook (#5)
* chore: enable live TS in Storybook

* chore: 🤖 manually add tsconfig for storybook

* chore: 🤖 enable typescript for preset-chart-xy
2021-11-26 11:45:22 +08:00
Rosen Velikov
3e05f6f143 feat: add country map of bulgaria in superset-ui-legacy-plugin-chart-country-map (#2) 2021-11-26 11:45:22 +08:00
Krist Wongsuphasawat
7d3e6835c8 feat: 🎸 line chart makes first appearance 2021-11-26 11:45:22 +08:00
Krist Wongsuphasawat
1d24aa912a refactor: 💡 move box plot files around 2021-11-26 11:45:22 +08:00
Krist Wongsuphasawat
e1ed5346d8 docs: ✏️ update link from superset-ui-legacy to ui-plugins 2021-11-26 11:45:22 +08:00
Krist Wongsuphasawat
abba9ae424 refactor: 💡 move boxplot into preset-chart-xy 2021-11-26 11:45:22 +08:00
Krist Wongsuphasawat
896657e147 fix: 🐛 broken unit test due to missing babel-polyfill 2021-11-26 11:45:21 +08:00
Krist Wongsuphasawat
70ecef2a6d feat: bump data-ui/xy-chart version 2021-11-26 11:45:21 +08:00
Krist Wongsuphasawat
5c5a060252 fix: resolve issues post 0.10.0 2021-11-26 11:45:21 +08:00
Krist Wongsuphasawat
6d6a43ff46 chore: style commitlint config file 2021-11-26 11:45:21 +08:00
Krist Wongsuphasawat
dff5ab0a81 refactor: update package version according to 0.10.0 2021-11-26 11:45:21 +08:00
Krist Wongsuphasawat
9809e85c83 docs: ✏️ update dependency badges 2021-11-26 11:45:21 +08:00
Krist Wongsuphasawat
8fa7bb57e5 chore: use build-config to pull commitlint and commitizen dependencies 2021-11-26 11:45:21 +08:00
Krist Wongsuphasawat
5586e58776 build: add commitlint and commitizen (#4)
* build: add commitlint and commitizen

* docs: add section about commit message to readme

* chore: 🤖 use streamich/git-cz for creating commit message
2021-11-26 11:45:21 +08:00
Krist Wongsuphasawat
96fbba6399 build: update latest package version in lerna 2021-11-26 11:45:21 +08:00
Krist Wongsuphasawat
ea1cda8e83 add badge 2021-11-26 11:45:21 +08:00
Krist Wongsuphasawat
b253dd811c add to readme 2021-11-26 11:45:20 +08:00
Krist Wongsuphasawat
8a82b7fa4b rename demo package 2021-11-26 11:45:20 +08:00
Krist Wongsuphasawat
6dbddc9138 update storybook navigation to separate legacy- 2021-11-26 11:45:20 +08:00
Krist Wongsuphasawat
26abd90d47 update package.json and README 2021-11-26 11:45:20 +08:00
Krist Wongsuphasawat
215707a320 update build scripts 2021-11-26 11:45:20 +08:00
Krist Wongsuphasawat
cbec8da375 Fix lints 2021-11-26 11:45:20 +08:00
Krist Wongsuphasawat
f9292398fe update build config 2021-11-26 11:45:20 +08:00
Krist Wongsuphasawat
423edbe558 Implements Box Plot and XY Chart utilities (+10 squashed commits) Squashed commits: [878ed06] clean up some more [624bb7f] separate legend and chart [dfef0fa] working version [aaef60d] allow overflow [b696917] fix margins [2e12359] support top,left,bottom,right axes [278607b] create many utilities [88315c1] Many enhancements to BoxPlot [9d8eb80] box plot working [12d0d1e] new box plot working 2021-11-26 11:45:20 +08:00
Krist Wongsuphasawat
b2f523fde1 point calendar demo to dist 2021-11-26 11:45:20 +08:00
Krist Wongsuphasawat
c264fdcf1c v0.1.1 2021-11-26 11:45:19 +08:00
Krist Wongsuphasawat
5241011884 minor refactor 2021-11-26 11:45:19 +08:00
Krist Wongsuphasawat
0c7a17a8be Update mapbox dependency and fix bug that crashes when zoom in 2021-11-26 11:45:19 +08:00
Krist Wongsuphasawat
6f14b65822 wip 2021-11-26 11:45:19 +08:00
Krist Wongsuphasawat
0db7f2c8f9 remove devDependencies at package level that are duplicate of peerDependencies and move to top level 2021-11-26 11:45:19 +08:00
Krist Wongsuphasawat
81a24f8e2f remove translation warning 2021-11-26 11:45:19 +08:00
Krist Wongsuphasawat
e856ebdb13 Update gitignore 2021-11-26 11:45:19 +08:00
Krist Wongsuphasawat
6e442aab76 enable live development through storybook 2021-11-26 11:45:19 +08:00
Krist Wongsuphasawat
77ed8573e1 v0.1.0 2021-11-26 11:45:19 +08:00
Krist Wongsuphasawat
0f5d735b7c Fix extra_filters in LineMulti 2021-11-26 11:45:19 +08:00
Krist Wongsuphasawat
d1cd56e15f fix lint issue 2021-11-26 11:45:18 +08:00
Krist Wongsuphasawat
10b6d860f1 update readme and changelog 2021-11-26 11:45:18 +08:00
Krist Wongsuphasawat
be530548e3 v0.0.3 2021-11-26 11:45:18 +08:00
Krist Wongsuphasawat
d06c990791 add mapbox demo 2021-11-26 11:45:18 +08:00
Krist Wongsuphasawat
c8f53ccb0a add mapbox code 2021-11-26 11:45:18 +08:00
Krist Wongsuphasawat
190710786d fix storybook 2021-11-26 11:45:18 +08:00
Krist Wongsuphasawat
f5ef469400 v0.0.2 2021-11-26 11:45:18 +08:00
Krist Wongsuphasawat
a05cd770e2 Update references 2021-11-26 11:45:18 +08:00
Krist Wongsuphasawat
c87e0b4077 Fix table and pivot table jquery issues. 2021-11-26 11:45:18 +08:00
Krist Wongsuphasawat
15a5133a7f make storybook reference src instead of dist 2021-11-26 11:45:18 +08:00
Krist Wongsuphasawat
c626b8c4ff copy fix from superset 2021-11-26 11:45:17 +08:00
Krist Wongsuphasawat
104c5f0f31 v0.0.1 2021-11-26 11:45:17 +08:00
Krist Wongsuphasawat
21cb7e8263 rename dir 2021-11-26 11:45:17 +08:00
Krist Wongsuphasawat
5310987d45 add legacy flag and various fixes 2021-11-26 11:45:17 +08:00
Krist Wongsuphasawat
d9176c41bb add fallback for jquery 2021-11-26 11:45:17 +08:00
Krist Wongsuphasawat
6385b6b4b8 add storybooks for nvd3 2021-11-26 11:45:17 +08:00
Krist Wongsuphasawat
7376fdad1e add boxplot and bubble demo 2021-11-26 11:45:17 +08:00
Krist Wongsuphasawat
0320e727f6 separate data files 2021-11-26 11:45:17 +08:00
Krist Wongsuphasawat
da057bc8f2 put demos under preset dir 2021-11-26 11:45:17 +08:00
Krist Wongsuphasawat
83e5803c5c change storybook path 2021-11-26 11:45:16 +08:00
Krist Wongsuphasawat
7e273b05f8 add bar demo 2021-11-26 11:45:16 +08:00
Krist Wongsuphasawat
3750a3c857 add type-specific css 2021-11-26 11:45:16 +08:00
Krist Wongsuphasawat
7d5e9e80c8 add area chart demo 2021-11-26 11:45:16 +08:00
Krist Wongsuphasawat
ade55212b6 add unit tests 2021-11-26 11:45:16 +08:00
Krist Wongsuphasawat
83272eca4e fix lint errors 2021-11-26 11:45:16 +08:00
Krist Wongsuphasawat
d76c5a77e3 fix all lints 2021-11-26 11:45:16 +08:00
Krist Wongsuphasawat
c7a8502e1a fix lints 2021-11-26 11:45:16 +08:00
Krist Wongsuphasawat
23c726a772 fix linting 2021-11-26 11:45:16 +08:00
Krist Wongsuphasawat
dcfd05b8ab Update bignumber css and demo 2021-11-26 11:45:16 +08:00
Krist Wongsuphasawat
f3423ec98e update build config 2021-11-26 11:45:15 +08:00
Krist Wongsuphasawat
15f87354c5 add preset bignumber 2021-11-26 11:45:15 +08:00
Krist Wongsuphasawat
b5a3bb2280 add npm badges for the packages 2021-11-26 11:45:15 +08:00
Krist Wongsuphasawat
5494379078 v0.0.1-alpha.0 2021-11-26 11:45:15 +08:00
Krist Wongsuphasawat
6e9c74cf57 update test script 2021-11-26 11:45:15 +08:00
Krist Wongsuphasawat
c5fca8714e fix lint and add missing dep 2021-11-26 11:45:15 +08:00
Krist Wongsuphasawat
a27771ec83 complete storybook for bignumber 2021-11-26 11:45:15 +08:00
Krist Wongsuphasawat
fa23ff7f33 Add storybook templates 2021-11-26 11:45:15 +08:00
Krist Wongsuphasawat
f6df47f581 update readme 2021-11-26 11:45:15 +08:00
Krist Wongsuphasawat
b4c26ba14c setup preset package 2021-11-26 11:45:15 +08:00
Krist Wongsuphasawat
ee5a2c7e3c update lerna config 2021-11-26 11:45:14 +08:00
Krist Wongsuphasawat
d5e7dd4183 remove core from listed dependencies 2021-11-26 11:45:14 +08:00
Krist Wongsuphasawat
55ffc5fabf point to dist build 2021-11-26 11:45:14 +08:00
Krist Wongsuphasawat
27890a1494 make build work for country map 2021-11-26 11:45:14 +08:00
Krist Wongsuphasawat
84532d494d add countrymap 2021-11-26 11:45:14 +08:00
Krist Wongsuphasawat
f4f8dc7bab add word cloud demo 2021-11-26 11:45:14 +08:00
Krist Wongsuphasawat
cc422971b2 add word cloud 2021-11-26 11:45:14 +08:00
Krist Wongsuphasawat
a831c7479d add event flow demo 2021-11-26 11:45:14 +08:00
Krist Wongsuphasawat
9c1ce3b77d add eventflow package 2021-11-26 11:45:13 +08:00
Krist Wongsuphasawat
3a8a00d187 add t-test and partition demo 2021-11-26 11:45:13 +08:00
Krist Wongsuphasawat
6bd7556b35 add parallel coordinates demo 2021-11-26 11:45:13 +08:00
Krist Wongsuphasawat
1045b7224e add partition and parallel coordinates 2021-11-26 11:45:13 +08:00
Krist Wongsuphasawat
e0d3056eb7 add sunburst demo 2021-11-26 11:45:13 +08:00
Krist Wongsuphasawat
ed01ec3eb4 add sankey demo 2021-11-26 11:45:13 +08:00
Krist Wongsuphasawat
3ff52442e1 add rose demo 2021-11-26 11:45:13 +08:00
Krist Wongsuphasawat
46034ed339 add pivot table demo 2021-11-26 11:45:13 +08:00
Krist Wongsuphasawat
ca4d2747d2 add pivot table 2021-11-26 11:45:13 +08:00
Krist Wongsuphasawat
7586951f16 Add rose, sankey, sunburst. 2021-11-26 11:45:13 +08:00
Krist Wongsuphasawat
9f91454988 reduce preview size 2021-11-26 11:45:12 +08:00
Krist Wongsuphasawat
668dce9f5c fix lint 2021-11-26 11:45:12 +08:00
Krist Wongsuphasawat
1ab50e3932 Add table demo and fix table jquery issue. 2021-11-26 11:45:12 +08:00
Krist Wongsuphasawat
5c3b5c8a11 rewrite Treemap 2021-11-26 11:45:12 +08:00
Krist Wongsuphasawat
1b6615b3ff format treemap 2021-11-26 11:45:12 +08:00
Krist Wongsuphasawat
3e191c6259 Treemap demo WIP 2021-11-26 11:45:12 +08:00
Krist Wongsuphasawat
83889b99b9 Add world map demo 2021-11-26 11:45:12 +08:00
Krist Wongsuphasawat
06dfbee8cd Add calendar demo 2021-11-26 11:45:12 +08:00
Krist Wongsuphasawat
4c6bf9f8e7 Add table package 2021-11-26 11:45:12 +08:00
Krist Wongsuphasawat
5392b6492d Add treemap package 2021-11-26 11:45:12 +08:00
Krist Wongsuphasawat
b44a0b1613 add world map package 2021-11-26 11:45:11 +08:00
Krist Wongsuphasawat
1d3e3c5c27 add calendar 2021-11-26 11:45:11 +08:00
Krist Wongsuphasawat
b72e17ee94 add horizon demo 2021-11-26 11:45:11 +08:00
Krist Wongsuphasawat
83013f7f91 resolve package version issue 2021-11-26 11:45:11 +08:00
Krist Wongsuphasawat
392bc70158 add horizon package 2021-11-26 11:45:11 +08:00
Krist Wongsuphasawat
1411ea0f39 Update READMEs 2021-11-26 11:45:11 +08:00
Krist Wongsuphasawat
ff9fd79328 Add histogram 2021-11-26 11:45:11 +08:00
Krist Wongsuphasawat
a8d57d129b add README for each package 2021-11-26 11:45:11 +08:00
Krist Wongsuphasawat
aad73e89ce update readme 2021-11-26 11:45:11 +08:00
Krist Wongsuphasawat
b5f5e1bcf0 update vendor css 2021-11-26 11:45:11 +08:00
Krist Wongsuphasawat
39953808aa add heatmap demo 2021-11-26 11:45:10 +08:00
Krist Wongsuphasawat
b5d82cd689 add heatmap 2021-11-26 11:45:10 +08:00
Krist Wongsuphasawat
4175ca66b2 update class names 2021-11-26 11:45:10 +08:00
Krist Wongsuphasawat
14b672e468 resolve classname issue 2021-11-26 11:45:10 +08:00
Krist Wongsuphasawat
36b362895b add force-directed 2021-11-26 11:45:10 +08:00
Krist Wongsuphasawat
4175a3d54f add force-directed graph 2021-11-26 11:45:10 +08:00
Krist Wongsuphasawat
560d17fe64 Add storybook for chord 2021-11-26 11:45:10 +08:00
Krist Wongsuphasawat
bf3f81ddfc update import 2021-11-26 11:45:10 +08:00
Krist Wongsuphasawat
f60c04bb71 storybook works for markup 2021-11-26 11:45:10 +08:00
Krist Wongsuphasawat
1747eb607e storybook working for iframe 2021-11-26 11:45:10 +08:00
Krist Wongsuphasawat
1a43d2aa10 hello storybook 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
42ad17a6b8 update package.json 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
5c84dfa555 add iframe and markup 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
641d1e99ed update dependency 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
667678fbe6 add script to build assets 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
90479c94c8 update readme 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
679682890f initial commit 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
aac4b0575e chore(release): publish v0.12.19 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
170ff4f60f chore: update npm script 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
7ee7b57193 chore: update lerna config and release script 2021-11-26 11:45:09 +08:00
Krist Wongsuphasawat
89c2203704 Merge pull request #368 from apache-superset/kristw--migrate-pivot
feat: migrate 4 chart plugins
2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
f2cf0a2a7f feat(style): add style to umbrella package (#366) 2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
6adbfc6d77 build: disable travis (#373) 2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
365621e176 build: add github workflow for build and test (#369)
* build: add github workflow for build and test

* feat: try logging into npm

* fix: syntax

* fix: syntax

* fix: scope

* fix: change scope

* fix: scope
2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
12bf14b7cd feat: migrate heatmap, horizon, iframe and markup (#367)
* feat: migrate heatmap

* feat: add horizon, iframe and markup
2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
d5b51202f7 v0.12.18 2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
9db2dd7d38 docs: update changelog 2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
2c39ba1ce9 docs: update readme 2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
d36b36ecfc feat: migrate legacy-plugin-chart-chord (#365)
* docs: update storybook

* fix: import

* fix: import

* fix: import
2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
b491361b10 v0.12.17 2021-11-26 11:45:08 +08:00
Krist Wongsuphasawat
1feab468e5 fix: publish settings 2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
536b0b8dd1 v0.12.16 2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
44dd59ff6d build: update yarn.lock 2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
ec7a656553 docs: update readme 2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
d71940b325 docs: update readme 2021-11-26 11:45:07 +08:00
David Aaron Suddjian
11dbae71a6 feat: style package for theming and styled components (#362)
* feat: style package for theming and styled components

* fix: addressing PR feedback on style package

* fix: we need badges

* fix: sideEffects false for better tree shaking

* fix: readme title nit
2021-11-26 11:45:07 +08:00
Jianchao Yang
5c2a57a7b8 Disable commit lint (#363) 2021-11-26 11:45:07 +08:00
Krist Wongsuphasawat
e6bfdfaf62 docs: update changelog 2021-11-26 11:45:07 +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
735e8b2dd6 feat: make CategoricalScale compatible with D3 ScaleOrdinal (#357)
* feat: make categorical scale compatible with d3 scaleOrdinal

* feat: make CategoricalColorScale signature compatible with D3 ScaleOrdinal

* test: add unit test

* feat: use scaleOrdinal in implementation
2021-11-26 11:45:06 +08:00
dependabot-preview[bot]
414371395b build(deps): bump storybook-addon-jsx from 7.1.15 to 7.2.0 (#361)
Bumps [storybook-addon-jsx](https://github.com/storybookjs/addon-jsx) from 7.1.15 to 7.2.0.
- [Release notes](https://github.com/storybookjs/addon-jsx/releases)
- [Changelog](https://github.com/storybookjs/addon-jsx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/addon-jsx/compare/v7.1.15...v7.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:06 +08:00
dependabot-preview[bot]
78b61f7190 build(deps): bump yeoman-generator from 4.8.0 to 4.8.2 (#360)
Bumps [yeoman-generator](https://github.com/yeoman/generator) from 4.8.0 to 4.8.2.
- [Release notes](https://github.com/yeoman/generator/releases)
- [Commits](https://github.com/yeoman/generator/compare/v4.8.0...v4.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:06 +08:00
Krist Wongsuphasawat
e0bbdf9f85 v0.12.14 2021-11-26 11:45:06 +08:00
Evan Rusackas
98848b361a feat: allow toggling of table viz's bar chart backgrounds (#352)
* feat: allow toggling of bar chart backgrounds

* fix: inverting bar-chart-bg hide/show

* fix: keeping metrics right aligned
2021-11-26 11:45:06 +08:00
dependabot-preview[bot]
f97e2f3be1 build(deps): bump yeoman-generator from 4.7.2 to 4.8.0 (#348)
Bumps [yeoman-generator](https://github.com/yeoman/generator) from 4.7.2 to 4.8.0.
- [Release notes](https://github.com/yeoman/generator/releases)
- [Commits](https://github.com/yeoman/generator/compare/v4.7.2...v4.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:06 +08:00
dependabot-preview[bot]
7e5b02e86a build(deps-dev): bump @types/datatables.net from 1.10.18 to 1.10.19 (#346)
Bumps [@types/datatables.net](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/datatables.net) from 1.10.18 to 1.10.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/datatables.net)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:06 +08:00
dependabot-preview[bot]
a4d6dccc16 build(deps): bump @types/react from 16.9.32 to 16.9.34 (#353)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.32 to 16.9.34.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:06 +08:00
dependabot-preview[bot]
a7583bd92a build(deps): bump core-js from 3.6.4 to 3.6.5 (#354)
Bumps [core-js](https://github.com/zloirock/core-js) from 3.6.4 to 3.6.5.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/v3.6.5/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.6.4...v3.6.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:06 +08:00
dependabot-preview[bot]
33021bdc78 build(deps-dev): bump lint-staged from 10.1.2 to 10.1.3 (#351)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.1.2 to 10.1.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.1.2...v10.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:06 +08:00
dependabot-preview[bot]
c9f9f4a5dc build(deps-dev): bump husky from 4.2.3 to 4.2.5 (#355)
Bumps [husky](https://github.com/typicode/husky) from 4.2.3 to 4.2.5.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v4.2.3...v4.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:05 +08:00
dependabot-preview[bot]
f8237fed5d build(deps-dev): bump fork-ts-checker-webpack-plugin from 4.1.2 to 4.1.3 (#349)
Bumps [fork-ts-checker-webpack-plugin](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases)
- [Changelog](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v4.1.2...v4.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:05 +08:00
Krist Wongsuphasawat
a8f3923851 feat: add calendar package and storybook (#356)
* feat: add calendar package and storybook

* fix: jest threshold

* build: update codecov

* build: update codecov
2021-11-26 11:45:05 +08:00
Krist Wongsuphasawat
149405e90e v0.12.13 2021-11-26 11:45:05 +08:00
dependabot-preview[bot]
676979edd8 build(deps): bump chalk from 3.0.0 to 4.0.0 (#337)
Bumps [chalk](https://github.com/chalk/chalk) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v3.0.0...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:05 +08:00
dependabot-preview[bot]
a3bd2ce112 build(deps-dev): bump yeoman-test from 2.3.0 to 2.4.1 (#343)
Bumps [yeoman-test](https://github.com/yeoman/yeoman-test) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/yeoman/yeoman-test/releases)
- [Commits](https://github.com/yeoman/yeoman-test/compare/v2.3.0...v2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:05 +08:00
dependabot-preview[bot]
cf18804fc1 build(deps-dev): bump lint-staged from 10.1.1 to 10.1.2 (#342)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.1.1 to 10.1.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.1.1...v10.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:05 +08:00
dependabot-preview[bot]
ff51f206df build(deps-dev): bump @types/jest from 25.1.4 to 25.2.1 (#341)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.1.4 to 25.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:05 +08:00
dependabot-preview[bot]
ddb9954cc6 build(deps-dev): bump @airbnb/nimbus from 3.1.2 to 3.1.3 (#345)
Bumps [@airbnb/nimbus](https://github.com/airbnb/nimbus) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/airbnb/nimbus/releases)
- [Changelog](https://github.com/airbnb/nimbus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/nimbus/compare/@airbnb/nimbus@3.1.2...@airbnb/nimbus@3.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:05 +08:00
Jianchao Yang
21f82d2e68 fix(legacy-plugin-chart-table): time column formating (#340) 2021-11-26 11:45:05 +08:00
dependabot-preview[bot]
436b369931 build(deps): bump @types/react from 16.9.31 to 16.9.32 (#339)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.31 to 16.9.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:04 +08:00
dependabot-preview[bot]
186b4be33c build(deps): bump @types/storybook__react from 4.0.2 to 5.2.1 (#276)
Bumps [@types/storybook__react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/storybook__react) from 4.0.2 to 5.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/storybook__react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:04 +08:00
dependabot-preview[bot]
fc2cc231bc build(deps-dev): bump fs-extra from 8.1.0 to 9.0.0 (#336)
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 8.1.0 to 9.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/8.1.0...9.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:04 +08:00
dependabot-preview[bot]
1158bc136f build(deps): bump d3-format from 1.4.3 to 1.4.4 (#335)
Bumps [d3-format](https://github.com/d3/d3-format) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/d3/d3-format/releases)
- [Commits](https://github.com/d3/d3-format/compare/v1.4.3...v1.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:04 +08:00
Jesse Yang
8e8d1f799d fix: new line at end 2021-11-26 11:45:04 +08:00
Jianchao Yang
23f52286cd build: try to merge superset-ui-plugins (#333) 2021-11-26 11:45:04 +08:00
Jesse Yang
1cd82017d6 build: remove codecov for now so CI in master can pass 2021-11-26 11:45:04 +08:00
Jesse Yang
a54c6a24cf build: fix codecov.yml 2021-11-26 11:45:04 +08:00
Krist Wongsuphasawat
6ffcfec6e7 feat: add validator to umbrella package (#327) 2021-11-26 11:45:04 +08:00
Jesse Yang
98a5d0e6e7 build: add codecov.yml
test adding codecov.yml to master and see whether it fixes CI in #331
2021-11-26 11:45:04 +08:00
Jesse Yang
4d0d05f71f Revert "build: try to merge superset-ui-plugins"
This reverts commit 823126633ea0743254f78b0a74fe83c68ee6438f.
2021-11-26 11:45:03 +08:00
Jesse Yang
6f42844366 Revert "build: clean up tsbuild.info, too"
This reverts commit bf45717b320c5ba653672ac9d7db89e6baada994.
2021-11-26 11:45:03 +08:00
Jesse Yang
5f87db7207 build: clean up tsbuild.info, too 2021-11-26 11:45:03 +08:00
Jesse Yang
1238e78e2d build: try to merge superset-ui-plugins 2021-11-26 11:45:03 +08:00
dependabot-preview[bot]
3e64d0da66 build(deps): [security] bump acorn from 5.7.3 to 5.7.4 (#312)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:03 +08:00
dependabot-preview[bot]
5c2a277db7 build(deps): bump @storybook/addon-actions from 5.3.9 to 5.3.17 (#323)
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 5.3.9 to 5.3.17.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.3.17/addons/actions)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:03 +08:00
Krist Wongsuphasawat
d32465db7e v0.12.12 2021-11-26 11:45:03 +08:00
Krist Wongsuphasawat
dbc98609a5 feat: add validator package (#322)
* feat: add validator package

* test: add unit tests

* feat: add legacy function

* fix: rename
2021-11-26 11:45:03 +08:00
dependabot-preview[bot]
aa9d262fba build(deps): bump pretty-ms from 5.1.0 to 6.0.1 (#304)
Bumps [pretty-ms](https://github.com/sindresorhus/pretty-ms) from 5.1.0 to 6.0.1.
- [Release notes](https://github.com/sindresorhus/pretty-ms/releases)
- [Commits](https://github.com/sindresorhus/pretty-ms/compare/v5.1.0...v6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:03 +08:00
dependabot-preview[bot]
14013c381c build(deps): bump @vx/responsive from 0.0.194 to 0.0.195 (#297)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.194 to 0.0.195.
- [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.194...v0.0.195)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
b14de72218 v0.12.11 2021-11-26 11:45:02 +08:00
Erik Ritter
eef4699807 fix: small rendering for no results message (#309) 2021-11-26 11:45:02 +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
5776092947 build: add force-release script 2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
94d8280482 v0.12.8 2021-11-26 11:45:02 +08:00
Erik Ritter
06d7ad571a feat: add NoResultsComponent to charts (#305) 2021-11-26 11:45:02 +08:00
Krist Wongsuphasawat
517020abf5 build: fix demo build (#298)
* build: fix demo build

* fix: version

* build: add yarn.lock

* fix: clean up webpack config
2021-11-26 11:45:01 +08:00
dependabot-preview[bot]
aa7ddd2e93 build(deps): bump @vx/responsive from 0.0.193 to 0.0.194 (#296)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.193 to 0.0.194.
- [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.193...v0.0.194)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:01 +08:00
Jianchao Yang
a716fd1168 docs: update frontend assets path in debugging doc (#292)
Frontend code has been moved by a005e4568f
2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
18db591367 build: remove babel transform runtime (#291)
* build: remove babel transform runtime

* build: remove corejs config

* build: update nimbus target
2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
a03dd5a0c9 docs: update readme 2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
6720f421a4 build: update script in package.json 2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
f40e06e942 build: rename yarn type:dts to yarn type (#290) 2021-11-26 11:45:01 +08:00
dependabot-preview[bot]
761b426ba9 build(deps-dev): bump @types/jest from 24.9.1 to 25.1.1 (#287)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.9.1 to 25.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:01 +08:00
dependabot-preview[bot]
5ddff8b6d8 build(deps): bump @vx/responsive from 0.0.192 to 0.0.193 (#288)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.192 to 0.0.193.
- [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.192...v0.0.193)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
6ae05114ca build: fix lints (#289)
* build: remove no-test-callback override

* fix: no-callback auto-fix

* fix: lint issues import/extension
2021-11-26 11:45:01 +08:00
dependabot-preview[bot]
aabbb3d5ab build(deps-dev): bump husky from 3.1.0 to 4.2.1 (#283)
Bumps [husky](https://github.com/typicode/husky) from 3.1.0 to 4.2.1.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v3.1.0...v4.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:00 +08:00
dependabot-preview[bot]
75797faf6f build(deps-dev): bump lint-staged from 9.5.0 to 10.0.3 (#285)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.5.0 to 10.0.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.5.0...v10.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:00 +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
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
dependabot-preview[bot]
59affbc29e build(deps): update @superset-ui/legacy-plugin-chart-sunburst requirement (#212)
Updates the requirements on [@superset-ui/legacy-plugin-chart-sunburst](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
Krist Wongsuphasawat
51e6d05301 docs: update changelog 2021-11-26 11:44:55 +08:00
Krist Wongsuphasawat
d70e634d32 v0.12.2 2021-11-26 11:44:55 +08:00
Krist Wongsuphasawat
bffc760ac8 fix: remove is_prequery and prequeries (#208) 2021-11-26 11:44:55 +08:00
Krist Wongsuphasawat
3928e063ae v0.12.1 2021-11-26 11:44:55 +08:00
Ville Brofeldt
dc9d0a0d40 feat: add duration formatter (#209)
* feat: add duration formatter

* fix: address review comments
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
3e5789d150 docs: update readme 2021-11-26 11:44:55 +08:00
Krist Wongsuphasawat
129042b6af docs: update changelog 2021-11-26 11:44:55 +08:00
Krist Wongsuphasawat
287ee479e0 v0.12.0 2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
be65a04238 feat: add functions for parsing formatters from encoding (#205)
* feat: add function for parsing formatters from encoding

* fix: add unit test

* feat: add getter

* fix: update type
2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
3df26ae76d refactor(chart): remove and rename fields in ChartProps (#174)
* refactor(chart): remove and remove fields in ChartProps

BREAKING CHANGE: ChartProps fields are removed and renamed.

* test: update tests

* fix: unit tests

* fix: type
2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
cb9e617d90 feat: Add types and type guards for encodeable (#201)
* feat: scaffold superset-ui-encodeable

* feat: add type and typeguards

* fix: remove unused

* docs: update comments

* fix: address comments
2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
a7a12c79a2 feat: add control panel support to chart plugin (#203) 2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
0fb91c0e6b feat: deprecate old SuperChart API that accepts chartProps (#202)
BREAKING CHANGE: No longer accept chartProps as a single prop in <SuperChart>. Developers must specify each field in chartProps individually.
2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
9decd815ec feat: split superset-ui/query from superset-ui/chart (#178)
BREAKING CHANGE: some api and types are removed from @superset-ui/chart and moved to /query

* feat: split superset-ui/query from superset-ui/chart

* fix: update references

* test: fix broken tests

* refactor: rename ChartFormData to QueryFormData

* fix: rename file

* fix: remove annotation layer from query package
2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
fa70a61f50 docs: update change log 2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
277c2fb457 v0.11.15 2021-11-26 11:44:54 +08:00
Krist Wongsuphasawat
77e7a5319a feat: optimize functions for getting text dimension (#199)
* feat: add function for getting multiple text dimensions

* feat: lazy deletion

* feat: use lazy factory

* fix: comments

* fix: rename variable
2021-11-26 11:44:54 +08:00
erik_ritter
5badd26abb docs: update changelog 2021-11-26 11:44:53 +08:00
erik_ritter
02265669b3 v0.11.14 2021-11-26 11:44:53 +08:00
Erik Ritter
f0204ea9bd feat: allow reactify callbacks to access props (#200) 2021-11-26 11:44:53 +08:00
dependabot-preview[bot]
37e08a7a9d build(deps-dev): update lint-staged requirement from ^8.0.4 to ^9.2.1 (#197)
Updates the requirements on [lint-staged](https://github.com/okonet/lint-staged) to permit the latest version.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.0.4...v9.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:53 +08:00
Krist Wongsuphasawat
e48b445bfe fix: eslint issues (#198) 2021-11-26 11:44:53 +08:00
schoel-bis
fb4a3c2ec5 fix(connection): disable caching when on an insecure connection (#194)
When the page is served over an insecure connection, some browsers (Firefox) will disable the
CacheStorage API for security reasons and will throw an error when an attempt is made to use it.
Thus, do not even attempt to use CacheStorage on such connections in the first place.

fix #193
2021-11-26 11:44:53 +08:00
dependabot-preview[bot]
69238f0f07 build(deps-dev): update husky requirement from ^2.3.0 to ^3.0.1 (#195)
Updates the requirements on [husky](https://github.com/typicode/husky) to permit the latest version.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v2.3.0...v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:53 +08:00
Erik Ritter
e1c635d9e2 fix: clean up unneeded Promise.resolves() (#185) 2021-11-26 11:44:53 +08:00
dependabot-preview[bot]
e9c2b7146a build(deps): update whatwg-fetch requirement from ^2.0.4 to ^3.0.0 (#150)
Updates the requirements on [whatwg-fetch](https://github.com/github/fetch) to permit the latest version.
- [Release notes](https://github.com/github/fetch/releases)
- [Commits](https://github.com/github/fetch/compare/v2.0.4...v3.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:53 +08:00
Erik Ritter
3d6ef61658 fix: move eslint disable comment in reactify test (#184) 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
9b82cd203f v0.11.13 2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
3d6d622b18 fix: wrong type for filters field (#183) 2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
34e2e621e9 docs: update changelog 2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
b2b3bf639c v0.11.12 2021-11-26 11:44:52 +08:00
dependabot-preview[bot]
8d05924e75 build(deps-dev): update fast-glob requirement from ^2.2.6 to ^3.0.1 (#179)
Updates the requirements on [fast-glob](https://github.com/mrmlnc/fast-glob) to permit the latest version.
- [Release notes](https://github.com/mrmlnc/fast-glob/releases)
- [Commits](https://github.com/mrmlnc/fast-glob/compare/2.2.6...3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
9f8461b965 feat: store reference to container and update bindings (#180)
* feat: store reference to container

* fix: minor adjustment

* feat: forward ref from shell to superchart
2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
135084c5ed v0.11.11 2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
34d475fac7 feat: add error boundary and responsiveness to SuperChart (#175)
* feat: add fallback component

* feat: add superchart shell

* feat: add vx/responsive type declaration

* fix: path and dependencies

* test: add unit tests

* test: add more tests

* docs: add storybook

* test: fix FallBackComponent test

* feat: make fallback accepts width and height

* test: reach 100%

* fix: test

* fix: add more checks

* refactor: rename SuperChartKernel to SuperChartCore

* refactor: separate backward-compatibility code into another wrapper
2021-11-26 11:44:52 +08:00
Krist Wongsuphasawat
420321ca7b v0.11.10 2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
5a79a7000f feat: add parseLength function to @superset-ui/dimension (#171)
* feat: add parseLength function

* feat: export

* fix: address Kim's comment
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
4f23311813 test: extract mock plugins into separate file (#172)
* test: extract mock plugins into separate file

* fix: use constants

* fix: test coverage
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
bbf13fd0d0 refactor: separate transform function types into a new file (#169)
* refactor: separate transform function types into a new file

* fix: import
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
09f9405334 feat: allow chart plugin to be unregistered (#168)
* feat: allow chart plugin to be unregistered

* test: address edge cases
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
62204a9dde build: bump build-config with beemo 1.0.0 2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
9810dad834 build: bump build-config (#167)
* build: bump build-config

* test: fix typings in mock data
2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
4b711eb299 v0.11.9 2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
70d210ca5d fix: remove padding in WithLegend 2021-11-26 11:44:51 +08:00
Krist Wongsuphasawat
7d6d5dcf4a docs: update changelog 2021-11-26 11:44:51 +08:00
dependabot-preview[bot]
e514f3efa5 build(deps-dev): update jest-mock-console requirement (#165)
Updates the requirements on [jest-mock-console](https://github.com/bpedersen/jest-mock-console) to permit the latest version.
- [Release notes](https://github.com/bpedersen/jest-mock-console/releases)
- [Commits](https://github.com/bpedersen/jest-mock-console/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:51 +08:00
dependabot-preview[bot]
5d3d688f4b build(deps): update d3-scale requirement from ^2.1.2 to ^3.0.0 (#146)
Updates the requirements on [d3-scale](https://github.com/d3/d3-scale) to permit the latest version.
- [Release notes](https://github.com/d3/d3-scale/releases)
- [Commits](https://github.com/d3/d3-scale/compare/v2.1.2...v3.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
dependabot-preview[bot]
958e6160de build(deps): update yeoman-generator requirement from ^3.1.1 to ^4.0.0 (#152)
Updates the requirements on [yeoman-generator](https://github.com/yeoman/generator) to permit the latest version.
- [Release notes](https://github.com/yeoman/generator/releases)
- [Commits](https://github.com/yeoman/generator/compare/v3.1.1...v4.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
Krist Wongsuphasawat
0669fca4fd v0.11.8 2021-11-26 11:44:50 +08:00
Krist Wongsuphasawat
c9e3e73f2e feat: update ChartFormData and QueryObject to support filters. (#164)
* feat: update types to include filters

* refactor: remove namespace

* refactor: split function

* feat: add filter processing and refactor

* feat: revise metrics processing

* test: add unit tests

* refactor: move type files back

* test: add unit tests

* fix: unit test

* fix: remove exports

* docs: add field info

* fix: type check undefined

* docs: add more comments

* build: speed up storybook build
2021-11-26 11:44:50 +08:00
dependabot[bot]
1d42434894 build(deps-dev): update husky requirement from ^1.1.2 to ^2.3.0 (#157)
Updates the requirements on [husky](https://github.com/typicode/husky) to permit the latest version.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v1.1.2...v2.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
dependabot[bot]
4dad70ed8b build(deps): update @types/storybook__addon-knobs requirement (#147)
Updates the requirements on [@types/storybook__addon-knobs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/storybook__addon-knobs) to permit the latest version.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/storybook__addon-knobs)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
dependabot[bot]
d68b3b9f76 build(deps-dev): update yeoman-test requirement from ^1.9.1 to ^2.0.0 (#161)
Updates the requirements on [yeoman-test](https://github.com/yeoman/yeoman-test) to permit the latest version.
- [Release notes](https://github.com/yeoman/yeoman-test/releases)
- [Commits](https://github.com/yeoman/yeoman-test/compare/v1.9.1...v2.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
dependabot[bot]
ed2c4a6bf1 build(deps-dev): update fs-extra requirement from ^7.0.1 to ^8.0.1 (#155)
Updates the requirements on [fs-extra](https://github.com/jprichardson/node-fs-extra) to permit the latest version.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
dependabot[bot]
c393bc8247 build(deps): update @vx/responsive requirement from ^0.0.188 to ^0.0.189 (#160)
Updates the requirements on [@vx/responsive](https://github.com/hshoff/vx) to permit the latest version.
- [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.188...v0.0.189)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:50 +08:00
Krist Wongsuphasawat
01dd0f7ce5 v0.11.7 2021-11-26 11:44:50 +08:00
dependabot[bot]
5d0a693e3f build(deps): update @vx/responsive requirement from ^0.0.184 to ^0.0.188 (#145)
Updates the requirements on [@vx/responsive](https://github.com/hshoff/vx) to permit the latest version.
- [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.184...v0.0.188)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
aedc1b405d feat: improve margin merging (#159) 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
58f606be88 v0.11.6 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
eaa7851428 feat: add hooks (#158) 2021-11-26 11:44:49 +08:00
Saajan
3922193f57 docs: update Readme with missing yarn build command. (#156) 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
8028c73cce fix: lint (#144) 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
a148a2952b docs: update changelog 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
3c8dd8cec0 v0.11.5 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
80c46b0da3 chore: prepare to publish chart-composition 2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
e5e09f9f26 feat: add chart companion components (#139)
* feat: add chart companion components

* test: add more tests

* test: improve coverage

* test: fix failed test

* test: mock ResizeObserver

* fix: test coverage

* test: fix set dimension

* feat: make keyColumn optional

* fix: address comments

* fix: test delay
2021-11-26 11:44:49 +08:00
Krist Wongsuphasawat
d6f39335d8 fix: broken build due to failing unit tests (#141)
* fix: callapi unit test

* test: fix async calls

* fix: remaining test

* refactor: do not declare unused var
2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
6421d4b514 build: update build config 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
3499761137 v0.11.4 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
a35f88a69e fix: make translation module type check correctly (#140) 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
368ed3cb5b build: fix changelog script 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
f0d55c313f docs: update changelog 2021-11-26 11:44:48 +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
Hamel Husain
4d317fc021 chore: create issue_label_bot.yaml (#135) 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
f878e62e29 docs: readme (#134) 2021-11-26 11:44:48 +08:00
Krist Wongsuphasawat
2feb8948bf build: migrate to storybook 5 (#133)
* build: storybook 5

* feat: configure js/jsx storybook

* chore: modify storybook webpack config

* fix: type

* fix: packages.json dep order
2021-11-26 11:44:47 +08:00
Krist Wongsuphasawat
921fb90fa0 chore: add config for no-response bot (#130) 2021-11-26 11:44:47 +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
49edfb4efe v0.11.1 2021-11-26 11:44:47 +08:00
Christine Chambers
2ac3c082ab feat: callback hooks for Reactified components (#131)
* feat: callback hooks for Reactified components

Add a second argument to the exported `reactify` method to allow wrapped component to pass in callback hooks for React lifecycle methods. This PR only exposes the willUnmount hook. Other hooks can be added in the future.

* fix: improve code coverage

* chore: rename willUnmount hook to componentWillUnmount
2021-11-26 11:44:47 +08:00
Krist Wongsuphasawat
bd8b699a7d docs: update changelog (#129)
* docs: update changelog

* chore: update changelog script

* docs: update changelog
2021-11-26 11:44:47 +08:00
Christine Chambers
684e56b43e v0.11.0 2021-11-26 11:44:47 +08:00
Christine Chambers
f71180e251 Revert "Handle BigNumber conversions in JSON properly (without loss of precision) (#71)" (#126)
* revert: revert "Handle BigNumber conversions in JSON properly (without loss of precision) (#71)"

This reverts commit e3866129b2b3cbd6e099fe4ab66319c4fe6ae485.

* fix: type errors

* fix: typescript errors in superset-ui-demo
2021-11-26 11:44:47 +08:00
Krist Wongsuphasawat
fef6466f74 v0.10.10 2021-11-26 11:44:47 +08:00
Beto Dealmeida
a63f947ff5 feat: add support for conditional get requests (#119)
* feat: add support for conditional requests

* feat: add unit tests for conditional requests

* feat: use invariant

* feat: add type guard

* feat: fix lint

* feat: add more unit tests
2021-11-26 11:44:46 +08:00
Krist Wongsuphasawat
27941b673f docs: update changelog 2021-11-26 11:44:46 +08:00
Krist Wongsuphasawat
e4beba91a2 v0.10.9 2021-11-26 11:44:46 +08:00
Krist Wongsuphasawat
82a142f542 chore: enforce check on PR title to be conventional commit (#113) 2021-11-26 11:44:46 +08:00
Kim Truong
c9b9935551 feat: add labels to color scheme (#125) 2021-11-26 11:44:46 +08:00
Conglei Shi
3113023b0f v0.10.8 2021-11-26 11:44:46 +08:00
Conglei
fdd10fa062 fix: 🐛 Fixed type definition for chart plugin (#123)
* fix: 🐛 Fixed typ definiton for chart plugin

This PR is to fix the type definiton for transformProps and LoadData.

* fix: 🐛 Type compatibility

Change the output of preTransformProps to ChartProps

* fix: 🐛 Fixed Test

Fixed the test according to the changes:
2021-11-26 11:44:46 +08:00
Kim Truong
9dd30b0350 feat: getter function to return color mapping (#124) 2021-11-26 11:44:46 +08:00
Conglei Shi
e8e54adad9 v0.10.7 2021-11-26 11:44:46 +08:00
Chris Williams
12ce877530 fix(chart): import types from package, not monorepo (#122)
* fix(chart): import types from package, not monorepo

* build: ensure fresh directories on build

* fix(chart): nix type deep import
2021-11-26 11:44:46 +08:00
Krist Wongsuphasawat
183547b9e0 v0.10.6 2021-11-26 11:44:45 +08:00
Chris Williams
fea7c589f5 chore(chart): remove faux @superset-ui/core TS declaration (#121)
* chore(chart): remove faux @superset-ui/core TS declaration

* test(chart): test all ChartPlugin.register() branches

* refactor(chart): support loaders that return esmodules

* refactor(chart): rename ChartMetaDataConfig => ChartMetadataConfig

* test(chart): fix loader test + branch coverage

* test(chart): hit all branches in sanitizeLoader

* refactor(chart): use ChartMetadata in registry
2021-11-26 11:44:45 +08:00
Chris Williams
30cc661f11 v0.10.5 2021-11-26 11:44:45 +08:00
Chris Williams
df18f3b0f9 v0.10.5 2021-11-26 11:44:45 +08:00
Chris Williams
49efedb83e v0.10.5 2021-11-26 11:44:45 +08:00
Chris Williams
7ad0e1f57d v0.10.5 2021-11-26 11:44:45 +08:00
Chris Williams
061faab818 feat(chart): Add <ChartDataProvider /> (#120)
* docs: [demo][connection] add ConfigureCORS story for testing CORS

* docs: [demo][ConfigureCORS] better instructions

* feat: [chart] add mvp DataProvider component

* docs: better CORS story, update webpack for @babel/polyfill

* docs: [chart] add DataProvider story with WordCloudPlugin

* docs: [chart] add DataProvider deets to Readme

* test(chart): move SuperChart.test.jsx => .tsx and instead use @ts-ignore

* fix(connection): point interface.request to client.request

* feat(chart): re-write DataProvider as ChartDataProvider

* docs(demo): re-write LegacyWordCloudStories => ChartDataProviderStories

* refactor(chart): use IDENTITY as ChartPlugin buildQuery default

* feat(chart): support legacy + v1 loadQueryData endpoints in ChartClient

* docs(demo): add sankey + sunburst plugins to ChartDataProvider story

* style(chart): run prettier on SuperChart

* feat(chart): export QueryData type from models/ChartProps

* feat(chart): export Metrics and BaseFormData from types/ChartFormData

* feat(chart): add request option overrides in ChartDataProvider

* fix(chart): use Partial<> for ChartClient request option overrides

* test(chart): add ChartDataProvider tests

* build: include demo pkg in type script

* build: move storybook/mocks to test/fixtures

* build: move json-bigint TS declaration to root

* test(chart): clean up ChartDataProvider test TS

* chore(chart): lint fix SuperChart

* fix(chart): set ChartPlugin.buildQuery default back to undefined

* test(connection): fix expected Client.get call count

* test(chart): fix ChartClient tests and add test for legacy API

* fix(chart): uninitialized typo, change fetching => loading

* docs(chart): update README to final ChartDataProvider API

* docs(chart): fix typo

* test(chart): get ChartDataProvider to one hundo

* feat(chart): add and export more meaningful Datasource type

* feat(chart): use Datasource type in ChartClient
2021-11-26 11:44:45 +08:00
Chris Williams
facb0aa4b3 docs(demo): Add TS support + CORS demo (#118)
* docs: [demo] add custom webpack config to resolve TS files

* docs: [demo] add @babel/polyfill

* docs: [demo][connection] add ConfigureCORS story for testing CORS

* docs: [demo][ConfigureCORS] better instructions

* fix: [demo] install an existing version of @superset-ui/connection

* docs: better CORS story, update webpack for @babel/polyfill
2021-11-26 11:44:45 +08:00
Conglei
86c0c26213 feat: 🎸 Improved QueryObject to handle more fields (#116)
* feat: 🎸 Improved QueryObject to handle more fields

The commit is to ensure the feature parity between frontend and backend
QueryOjbect

* test: 💍 Added tests to improve the coverage
2021-11-26 11:44:45 +08:00
Krist Wongsuphasawat
01a411ebc5 v0.10.4 2021-11-26 11:44:45 +08:00
Krist Wongsuphasawat
ac241aa599 feat: add dimension type (#117) 2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
a98cde6b3e feat: re-export types from @superset-ui/dimension (#115) 2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
4c49331f3c v0.10.3 2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
349adeda92 docs: update CHANGELOG 2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
494f7853c7 docs: update CHANGELOG 2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
e5d7e50ee2 feat: add mergeMargin() function (#114)
* feat: add mergeMargin()

* fix: typings

* refactor: address chris' comments
2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
b162aacb90 v0.10.2 2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
72772e9ed9 docs: update changelog 2021-11-26 11:44:44 +08:00
fabiomendescom
3c53885aba feat(superset-ui-connection): Allow PUT and PATCH in call API 2021-11-26 11:44:44 +08:00
Krist Wongsuphasawat
9454aed59f feat: 🎸 add .clone() function to ChartMetadata (#112)
* feat: 🎸 add .clone() function to ChartMetadata

* test: 💍 add unit tests

* fix: 🐛 lint
2021-11-26 11:44:44 +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