Commit Graph

966 Commits

Author SHA1 Message Date
Jianchao Yang
182d112d86 fix(legacy-table): container height on tall headers (#398)
* fix(legacy-table): container height on tall headers

* fix(legacy-table): possible undefined lint error
2021-11-26 11:46:01 +08:00
Krist Wongsuphasawat
2571d516eb v0.11.18 2021-11-26 11:46:01 +08:00
Jianchao Yang
b51674e172 fix(legacy-table-chart): when data is empty (#397) 2021-11-26 11:46:01 +08:00
Krist Wongsuphasawat
d831f3fcd1 v0.11.17 2021-11-26 11:46:01 +08:00
dependabot-preview[bot]
093df00361 build(deps): bump @vx/scale from 0.0.194 to 0.0.195 (#394)
Bumps [@vx/scale](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:46:01 +08:00
Jianchao Yang
51f7667e83 fix(legacy-table): avoid React DOM (#392)
* fix(legacy-table): avoid React DOM

`jquery.datatables` will manipulate DOMs, sometimes remove them. In case
of component being reloaded with updated props, React will not be able
to find those removed nodes, causing a `cannot removeChild` error.

Because of the the way to assign row keys, if table shape changes (add
or remove columns), React may also have difficulty match the cached
nodes via keys.

In general it's a bad idea to directly manipulate React rendered DOM
nodes, so we better just let `jquery.datatables` handle everything.

In the future, once we removed `jquery.datatables`, a pure React
component will not have such issues.

* fix(legacy-table): handle the case when percentMetrics is null

* fix(legacy-table): linting errors

* refactor: use nimbus build

* test(legacy-table): add React component tests

* test(legacy-table): more sophisticated cases

* fix: address PR #392 comments

* chore(legacy-table): clean up tests case setups

Not seeing the console.warn errors anymore. So cleaning it up.

Previously it was from `<SuperChart />` component, but since we have
updated the test case to not use <SuperChart>, we are good now.

* fix(legacy-table): misleading comment
2021-11-26 11:46:01 +08:00
dependabot-preview[bot]
1fb0e40c5d build(deps): bump @vx/responsive from 0.0.194 to 0.0.195 (#386)
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:46:01 +08:00
Krist Wongsuphasawat
a8b5ffc1cc v0.11.16 2021-11-26 11:46:01 +08:00
Krist Wongsuphasawat
43494f2f41 build: update yarn.lock 2021-11-26 11:46:01 +08:00
Krist Wongsuphasawat
2973c10197 perf: faster legacy table chart (#385)
* feat: faster legacy table chart

This commit tries to optimize the performance of the legacy data table.

1. Converting everything to Typescript.
2. Create a native React component instead of `reactify` (although all
   DOM operaions still happen in the jQuery.DataTables plugin.
3. Remove dependency on d3, optimize how bars are rendered.

Plus some minor changes to fix linting and building.

Also added a script to build only specific plugin for faster
development.

* feat(legacy-table-chart): use React to render DOM

Unfortunately jquery.datatables uses innerHTML to create cell content,
and all rows are created even with pagination.

83657a29e3/media/js/jquery.dataTables.js (L3113-L3117)

This is slow and insecure. We are reverting to DOM data source as in
previous implementation, but instead of using D3 to create the table rows,
we use React. This also renders `dompurify.sanitize` unnecessary since
React will take care of it.

* feat(legacy-table-chart): support html in data cells

Also

1. improve height adjustment
2. add page size control to storybook
3. hide rows from later pages at initial rendering

* fix(legacy-data-table): minor formatting fixes

* chore(legacy-table): add xss dependency

Plus minor variable name and comment update

* fix(legacy-table): linting errors

* refactor(legacy-table): more predictable metric labels

* feat(legacy-table): also display title for percent metric

* fix(legacy-table): typos, var names, etc

* docs: update notes for metric.label

* refactor(legacy-table): upgrade number-format

* fix(legacy-table): upgrade dependency for storybook and yarn
2021-11-26 11:46:00 +08:00
dependabot-preview[bot]
6ae268add2 build(deps): bump csstype from 2.6.8 to 2.6.9 (#374)
Bumps [csstype](https://github.com/frenic/csstype) from 2.6.8 to 2.6.9.
- [Release notes](https://github.com/frenic/csstype/releases)
- [Commits](https://github.com/frenic/csstype/compare/v2.6.8...v2.6.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:46:00 +08:00
dependabot-preview[bot]
fb5cc38243 build(deps-dev): bump lint-staged from 10.0.7 to 10.0.8 (#377)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.0.7 to 10.0.8.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.0.7...v10.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:46:00 +08:00
dependabot-preview[bot]
ac313a8c2e build(deps): bump @vx/axis from 0.0.194 to 0.0.195 (#380)
Bumps [@vx/axis](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>
2021-11-26 11:46:00 +08:00
Krist Wongsuphasawat
3297bdce53 v0.11.15 2021-11-26 11:46:00 +08:00
dependabot-preview[bot]
bb671af906 build(deps): bump dompurify from 2.0.7 to 2.0.8 (#382)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.7...2.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:46:00 +08:00
Krist Wongsuphasawat
751a2c2358 v0.11.14 2021-11-26 11:46:00 +08:00
Krist Wongsuphasawat
00ce00abe2 build: update yarn.lock 2021-11-26 11:46:00 +08:00
Grace Guo
2277583557 fix: add container css for interval type annotation (#372)
* fix: add container css for interval type annotation

* fix undefined case

* make down arrow smaller
2021-11-26 11:46:00 +08:00
dependabot-preview[bot]
4f41e3dfad build(deps-dev): bump fast-glob from 3.1.1 to 3.2.2 (#371)
Bumps [fast-glob](https://github.com/mrmlnc/fast-glob) from 3.1.1 to 3.2.2.
- [Release notes](https://github.com/mrmlnc/fast-glob/releases)
- [Commits](https://github.com/mrmlnc/fast-glob/compare/3.1.1...3.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:59 +08:00
dependabot-preview[bot]
bca21dd58e build(deps-dev): bump @airbnb/config-eslint from 2.5.1 to 2.5.2 (#365)
Bumps [@airbnb/config-eslint](https://github.com/airbnb/nimbus) from 2.5.1 to 2.5.2.
- [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/config-eslint@2.5.1...@airbnb/config-eslint@2.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:59 +08:00
dependabot-preview[bot]
f8263c4c1d build(deps): bump @airbnb/lunar from 2.63.1 to 2.64.0 (#367)
Bumps [@airbnb/lunar](https://github.com/airbnb/lunar) from 2.63.1 to 2.64.0.
- [Release notes](https://github.com/airbnb/lunar/releases)
- [Commits](https://github.com/airbnb/lunar/compare/@airbnb/lunar@2.63.1...@airbnb/lunar@2.64.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:59 +08:00
dependabot-preview[bot]
86084df4a5 build(deps): bump encodable from 0.2.0 to 0.2.6 (#370)
Bumps [encodable](https://github.com/apache-superset/encodable) from 0.2.0 to 0.2.6.
- [Release notes](https://github.com/apache-superset/encodable/releases)
- [Changelog](https://github.com/apache-superset/encodable/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apache-superset/encodable/compare/v0.2.0...v0.2.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:59 +08:00
dependabot-preview[bot]
6630d26d18 build(deps-dev): bump terser-webpack-plugin from 2.3.4 to 2.3.5 (#364)
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.4...v2.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:59 +08:00
dependabot-preview[bot]
d5059568d2 build(deps): bump @vx/axis from 0.0.193 to 0.0.194 (#363)
Bumps [@vx/axis](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:59 +08:00
dependabot-preview[bot]
cf6fc18735 build(deps): bump @vx/legend from 0.0.193 to 0.0.194 (#357)
Bumps [@vx/legend](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:59 +08:00
dependabot-preview[bot]
37e70f7abe build(deps-dev): bump husky from 4.2.1 to 4.2.3 (#369)
Bumps [husky](https://github.com/typicode/husky) from 4.2.1 to 4.2.3.
- [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.1...v4.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:59 +08:00
dependabot-preview[bot]
ad64d0fb1c build(deps): bump @vx/scale from 0.0.192 to 0.0.194 (#358)
Bumps [@vx/scale](https://github.com/hshoff/vx) from 0.0.192 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.192...v0.0.194)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:59 +08:00
dependabot-preview[bot]
543647a9c1 build(deps-dev): bump @types/jest from 24.9.1 to 25.1.3 (#362)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.9.1 to 25.1.3.
- [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:59 +08:00
dependabot-preview[bot]
05316a1390 build(deps): bump storybook-addon-jsx from 7.1.2 to 7.1.14 (#352)
Bumps [storybook-addon-jsx](https://github.com/storybookjs/addon-jsx) from 7.1.2 to 7.1.14.
- [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.2...v7.1.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:58 +08:00
dependabot-preview[bot]
a759e1d391 build(deps): [security] bump serialize-javascript from 1.7.0 to 2.1.2 (#347)
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 1.7.0 to 2.1.2. **This update includes a security fix.**
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v1.7.0...v2.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:58 +08:00
dependabot-preview[bot]
b2986c0be5 build(deps): bump @data-ui/theme from 0.0.82 to 0.0.84 (#361)
Bumps [@data-ui/theme](https://github.com/williaster/data-ui) from 0.0.82 to 0.0.84.
- [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.82...v0.0.84)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:58 +08:00
dependabot-preview[bot]
06067e2cc0 build(deps): bump @vx/group from 0.0.193 to 0.0.194 (#350)
Bumps [@vx/group](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:58 +08:00
dependabot-preview[bot]
30d6a047e3 build(deps): bump @vx/responsive from 0.0.193 to 0.0.194 (#360)
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:58 +08:00
dependabot-preview[bot]
fe8578c015 build(deps-dev): bump enzyme-to-json from 3.4.3 to 3.4.4 (#348)
Bumps [enzyme-to-json](https://github.com/adriantoine/enzyme-to-json) from 3.4.3 to 3.4.4.
- [Release notes](https://github.com/adriantoine/enzyme-to-json/releases)
- [Changelog](https://github.com/adriantoine/enzyme-to-json/blob/master/CHANGELOG.md)
- [Commits](https://github.com/adriantoine/enzyme-to-json/compare/v3.4.3...v3.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:58 +08:00
dependabot-preview[bot]
c00a8524e7 build(deps): bump @airbnb/lunar from 2.60.1 to 2.63.1 (#356)
Bumps [@airbnb/lunar](https://github.com/airbnb/lunar) from 2.60.1 to 2.63.1.
- [Release notes](https://github.com/airbnb/lunar/releases)
- [Commits](https://github.com/airbnb/lunar/compare/@airbnb/lunar@2.60.1...@airbnb/lunar@2.63.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:58 +08:00
dependabot-preview[bot]
9298f9dc21 build(deps-dev): bump @airbnb/config-jest from 2.2.2 to 2.2.3 (#355)
Bumps [@airbnb/config-jest](https://github.com/airbnb/nimbus) from 2.2.2 to 2.2.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/config-jest@2.2.2...@airbnb/config-jest@2.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:58 +08:00
dependabot-preview[bot]
2d509e50b8 build(deps-dev): bump @airbnb/config-prettier from 2.1.1 to 2.1.2 (#354)
Bumps [@airbnb/config-prettier](https://github.com/airbnb/nimbus) from 2.1.1 to 2.1.2.
- [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/config-prettier@2.1.1...@airbnb/config-prettier@2.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:58 +08:00
dependabot-preview[bot]
55d5fb2e85 build(deps): bump @vx/shape from 0.0.193 to 0.0.194 (#353)
Bumps [@vx/shape](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:58 +08:00
Krist Wongsuphasawat
d3f7ef513a v0.11.13 2021-11-26 11:45:57 +08:00
Krist Wongsuphasawat
aae6e1b643 build: update yarn.lock 2021-11-26 11:45:57 +08:00
Krist Wongsuphasawat
35935d0832 build: fix target browser (#346) 2021-11-26 11:45:57 +08:00
Evan Rusackas
bce43cb1f9 fix: Replace unsafe lifecycle methods (#285)
* fix: rename unsafe lifecycle methods

* fix: use componentDidMount instead of componentWillMount

* fix: refactor multi line chart to use safe lifecycle methods

* style: proper camel case

* style: nixing random commented line
2021-11-26 11:45:57 +08:00
dependabot-preview[bot]
f8cec4dacb build(deps-dev): bump @airbnb/nimbus from 2.2.3 to 2.2.4 (#345)
Bumps [@airbnb/nimbus](https://github.com/airbnb/nimbus) from 2.2.3 to 2.2.4.
- [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@2.2.3...@airbnb/nimbus@2.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:57 +08:00
dependabot-preview[bot]
2f665b9bc8 build(deps): bump @storybook/addon-links from 5.0.11 to 5.3.13 (#340)
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 5.0.11 to 5.3.13.
- [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.13/addons/links)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:57 +08:00
dependabot-preview[bot]
91602a2d1b build(deps): [security] bump set-value from 0.4.3 to 2.0.1 (#337)
Bumps [set-value](https://github.com/jonschlinkert/set-value) from 0.4.3 to 2.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/jonschlinkert/set-value/releases)
- [Commits](https://github.com/jonschlinkert/set-value/compare/0.4.3...2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:57 +08:00
dependabot-preview[bot]
84088cef6b build(deps-dev): bump @types/enzyme from 3.10.4 to 3.10.5 (#338)
Bumps [@types/enzyme](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/enzyme) from 3.10.4 to 3.10.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/enzyme)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:57 +08:00
dependabot-preview[bot]
ab25b3e4ce build(deps): bump @airbnb/lunar-icons from 2.7.1 to 2.8.1 (#339)
Bumps [@airbnb/lunar-icons](https://github.com/airbnb/lunar) from 2.7.1 to 2.8.1.
- [Release notes](https://github.com/airbnb/lunar/releases)
- [Commits](https://github.com/airbnb/lunar/compare/@airbnb/lunar-icons@2.7.1...@airbnb/lunar-icons@2.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:57 +08:00
dependabot-preview[bot]
81638693ba build(deps-dev): bump @babel/core from 7.4.5 to 7.8.4 (#341)
Bumps [@babel/core](https://github.com/babel/babel) from 7.4.5 to 7.8.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.4.5...v7.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:57 +08:00
dependabot-preview[bot]
dba9c11639 build(deps): bump @storybook/react from 5.0.11 to 5.3.13 (#343)
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react) from 5.0.11 to 5.3.13.
- [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.13/app/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:56 +08:00
dependabot-preview[bot]
0bf82e38a1 build(deps-dev): bump @airbnb/config-typescript from 2.2.2 to 2.2.3 (#344)
Bumps [@airbnb/config-typescript](https://github.com/airbnb/nimbus) from 2.2.2 to 2.2.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/config-typescript@2.2.2...@airbnb/config-typescript@2.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:56 +08:00
dependabot-preview[bot]
43f80c63de build(deps): bump @vx/axis from 0.0.192 to 0.0.193 (#334)
Bumps [@vx/axis](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:56 +08:00
dependabot-preview[bot]
01d8e531f1 build(deps): [security] bump set-value from 0.4.3 to 2.0.1 (#336)
Bumps [set-value](https://github.com/jonschlinkert/set-value) from 0.4.3 to 2.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/jonschlinkert/set-value/releases)
- [Commits](https://github.com/jonschlinkert/set-value/compare/0.4.3...2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:56 +08:00
Erik Ritter
d350dd2f0a feat: customize no data message in nvd3 charts (#330)
* feat: customize no data message in nvd3 charts

* Update NVD3Vis.js
2021-11-26 11:45:56 +08:00
dependabot-preview[bot]
195ed3f17b build(deps): bump @vx/group from 0.0.192 to 0.0.193 (#333)
Bumps [@vx/group](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:56 +08:00
dependabot-preview[bot]
77c8cd1cab build(deps): bump @vx/responsive from 0.0.192 to 0.0.193 (#332)
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:56 +08:00
dependabot-preview[bot]
1059a4ee0f build(deps): [security] bump mixin-deep from 1.3.1 to 1.3.2 (#335)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. **This update includes a security fix.**
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:56 +08:00
dependabot-preview[bot]
cc167c02b5 build(deps): bump encodable from 0.1.0 to 0.2.0 (#329)
Bumps [encodable](https://github.com/apache-superset/encodable) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/apache-superset/encodable/releases)
- [Changelog](https://github.com/apache-superset/encodable/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apache-superset/encodable/compare/v0.1.0...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:56 +08:00
Krist Wongsuphasawat
29b2071404 build: fix yarn.lock 2021-11-26 11:45:56 +08:00
Krist Wongsuphasawat
19ce4adb5c build: check in yarn.lock 2021-11-26 11:45:55 +08:00
Evan Rusackas
7a9d72f3fe fix: nvd3 tooltip bolding/non-linebreak on ONLY header row (#291)
* fix: adds class to header row, now used in css

* fix: legend-header is now tooltip-header

* style: prettier
2021-11-26 11:45:55 +08:00
Krist Wongsuphasawat
6e731beb58 docs: update readme 2021-11-26 11:45:55 +08:00
dependabot-preview[bot]
0d0a2f6263 build(deps-dev): bump lint-staged from 9.5.0 to 10.0.7 (#328)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.5.0 to 10.0.7.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.5.0...v10.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:55 +08:00
Erik Ritter
4613183946 feat: support no data within BigNumber viz (#327) 2021-11-26 11:45:55 +08:00
Krist Wongsuphasawat
e60bf415c7 v0.11.12 2021-11-26 11:45:55 +08:00
dependabot-preview[bot]
3519c33e18 build(deps): bump @vx/legend from 0.0.192 to 0.0.193 (#325)
Bumps [@vx/legend](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:55 +08:00
dependabot-preview[bot]
b50dca14cf build(deps): bump @vx/shape from 0.0.192 to 0.0.193 (#324)
Bumps [@vx/shape](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:55 +08:00
dependabot-preview[bot]
8309a2a73b build(deps): bump mustache from 3.2.1 to 4.0.0 (#314)
Bumps [mustache](https://github.com/janl/mustache.js) from 3.2.1 to 4.0.0.
- [Release notes](https://github.com/janl/mustache.js/releases)
- [Changelog](https://github.com/janl/mustache.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/janl/mustache.js/compare/v3.2.1...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:55 +08:00
dependabot-preview[bot]
0fbbdb0fc6 build(deps): bump @types/memoize-one from 4.1.1 to 5.1.2 (#243)
Bumps [@types/memoize-one](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/memoize-one) from 4.1.1 to 5.1.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/memoize-one)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:55 +08:00
Krist Wongsuphasawat
8f2937ab16 build: update script in package.json 2021-11-26 11:45:54 +08:00
dependabot-preview[bot]
1862a24bbb build(deps-dev): bump terser-webpack-plugin from 2.2.1 to 2.3.4 (#323)
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.2.1 to 2.3.4.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.2.1...v2.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:54 +08:00
dependabot-preview[bot]
4ffcb6095f build(deps-dev): bump husky from 3.1.0 to 4.2.1 (#316)
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:54 +08:00
Krist Wongsuphasawat
f4b86e8439 build: add storybook script 2021-11-26 11:45:54 +08:00
Ali Bahjati
b0a620eee8 feat: Add Iran to countries (#306)
* feat: Add Iran to countries

* feat: Add Iran to countries
2021-11-26 11:45:54 +08:00
Evan Rusackas
97735be32a fix: Sunburst chart respects and prefers Metric's D3 Format (#282)
* fix: now respects/prefers metric's D3 Format

* fix: node-modules reinstalled, re-prettifying accordingly

* fix: making eslint happier

* style: shorter/DRYer is better

* style: using Array.prototype.find instead of Array.prototype.forEach
2021-11-26 11:45:54 +08:00
Krist Wongsuphasawat
b46dad3ac7 build: migrate to nimbus and fix build (#319)
* build: change gitignore and update package.json

* fix: importing issues

* fix: missing reference

* build: move buildAssets script

* fix: prettier

* fix: lints jsx-sort-default-props, sort-prop-types

* fix: more lints jsx-sort-default-props, sort-prop-types

* fix: remove all unnecessary eslint-disable

* fix: export default type

* fix: use .forEach instead of for...of

* fix: package.json

* fix: ts issue

* fix: webpack config

* fix: issue with for loop

* fix: parallel coordinates

* fix: parallel coordinates

* fix: add prettier check

Co-Authored-By: Evan Rusackas <evan@preset.io>

* build: change type:dts to type

* fix: bring back Math.pow

* fix: use optional

* fix: bring back .0

* fix: declare word in the loop

* fix: for loop in sunburst

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-11-26 11:45:54 +08:00
Evan Rusackas
652e43021f fix: Making viz components respect D3 Format from metric (#280)
* fix: BigNumber uses metric's d3format value now, when populated.

* fix: respecting D3 Format column for a handful of NVD3 charts

* fix: treemap respects metric's D3 Format setting

* style: Simpler loop syntax using forEach, Prettier cleanup.

* style: prettier

* style: re-installed modules, re-ran prettier

* fix: eslint nits

* style: moving grabD3Format outside the transformProps block

* fix: allow formData to override metric's D3 Format

* style: overwriting yAxisFormat rather than declaring a new var
2021-11-26 11:45:54 +08:00
dependabot-preview[bot]
9f54c062a8 build(deps): bump @data-ui/histogram from 0.0.82 to 0.0.84 (#289)
Bumps [@data-ui/histogram](https://github.com/williaster/data-ui) from 0.0.82 to 0.0.84.
- [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.82...v0.0.84)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:54 +08:00
erik_ritter
765d5be8f1 docs: update changelog 2021-11-26 11:45:54 +08:00
erik_ritter
9e0bb45384 v0.11.11 2021-11-26 11:45:53 +08:00
Grace Guo
e3da248318 fix: JS exception: Cannot read property "dispatch" of undefined (#287) 2021-11-26 11:45:53 +08:00
Evan Rusackas
64c7937ac4 fix: both the CSS and className were expecting true/false strings (#286) 2021-11-26 11:45:53 +08:00
Erik Ritter
929c546ebc fix: apply margins in nvd3 (#283) 2021-11-26 11:45:53 +08:00
Evan Rusackas
7786a41867 fix: GH issue 8669 NVD3 tooltip overflow (#278)
* fix: nvd3 tooltip overflow

* fix: fix build

* Revert "fix: fix build"

This reverts commit 44532e9a5d48d5d4204542e9cb468ebae76b4d85.

* build: updating build-config package

* fix: adds newline to css file
2021-11-26 11:45:53 +08:00
Devin Stein
8dbdf57b44 docs: fix main README grammatical error (#271) 2021-11-26 11:45:53 +08:00
Krist Wongsuphasawat
101b83cb0d v0.11.10 2021-11-26 11:45:53 +08:00
Krist Wongsuphasawat
580c2eca4a build: bump build tools (#269) 2021-11-26 11:45:53 +08:00
Krist Wongsuphasawat
a8a1788a78 docs: update changelog 2021-11-26 11:45:53 +08:00
Krist Wongsuphasawat
cc05d601f4 v0.11.9 2021-11-26 11:45:53 +08:00
dependabot-preview[bot]
297da9e0cc build(deps): bump @data-ui/event-flow from 0.0.82 to 0.0.84 (#266)
Bumps [@data-ui/event-flow](https://github.com/williaster/data-ui) from 0.0.82 to 0.0.84.
- [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.82...v0.0.84)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:52 +08:00
Krist Wongsuphasawat
c8a9c68fa7 build: fix dependencies 2021-11-26 11:45:52 +08:00
Krist Wongsuphasawat
1c2b003c3c fix: minor wordcloud update 2021-11-26 11:45:52 +08:00
Krist Wongsuphasawat
b6e3fdffa6 feat(plugin-chart-word-cloud): convert word cloud to use encodable (#258)
* feat: convert word cloud to use encodable

* fix: minor bugs

* feat: bump dependencies

* feat: use field

* fix: defaultProps

* fix: unit test

* docs: update storybook

* refactor: move files

* docs: update storybook

* fix: unit test

* fix: address comments
2021-11-26 11:45:52 +08:00
Maxime Beauchemin
7019442a55 fix(legacy-plugin-chart-horizon): horizon chart should scroll when overflowing (#180)
* fix: horizon chart should scroll when overflowing

* fix: rebase and adapt

* fix: lint
2021-11-26 11:45:52 +08:00
Caahlo
8392ad83ef feat: add Liechtenstein to country map chart (#263) 2021-11-26 11:45:52 +08:00
Krist Wongsuphasawat
0449e62a22 v0.11.8 2021-11-26 11:45:52 +08:00
Chris Williams
8d808d85af chore: bump @data-ui/xy-chart@^0.0.84 (#264) 2021-11-26 11:45:52 +08:00
Caahlo
bdf5a601ae feat(legacy-plugin-chart-country-map): add Switzerland to country map chart (#260) 2021-11-26 11:45:52 +08:00
dependabot-preview[bot]
d41c473050 build(deps): bump @data-ui/theme from 0.0.81 to 0.0.82 (#259)
Bumps [@data-ui/theme](https://github.com/williaster/data-ui) from 0.0.81 to 0.0.82.
- [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.81...v0.0.82)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-11-26 11:45:52 +08:00
Krist Wongsuphasawat
0fa2ecb5a5 refactor: convert word cloud to full react (#240)
* feat: update word cloud to use react

* refactor: remove unused files

* fix: test

* fix: address comments
2021-11-26 11:45:51 +08:00
Krist Wongsuphasawat
f3707f79b4 v0.11.7 2021-11-26 11:45:51 +08:00