Commit Graph

498 Commits

Author SHA1 Message Date
Lily Kuang
c0bdeb8d92 add opacity and zIndex variables to theme (#632) 2021-11-26 11:46:29 +08:00
Jesse Yang
c8d5401141 chore: publish v0.14.2 2021-11-26 11:46:29 +08:00
Jesse Yang
aade5ef42c feat(legacy-table-chart): add query mode switch (#609) 2021-11-26 11:46:28 +08:00
Jesse Yang
92ac471216 feat(plugin-chart-table): rewrite with react-table (#623) 2021-11-26 11:46:28 +08:00
Maxime Beauchemin
2a28128f55 fix: got one color wrong when copy pasting (#624) 2021-11-26 11:46:28 +08:00
Jesse Yang
05aca62856 chore: publish v0.14.1 2021-11-26 11:46:28 +08:00
Jesse Yang
57c5f950ec build: update package versions in peerDependencies (#622) 2021-11-26 11:46:28 +08:00
Jesse Yang
0e6b3cf4c8 chore: publish v0.14.0 2021-11-26 11:46:28 +08:00
Jesse Yang
261738c12f refactor: rename control-utils to chart-controls (#620) 2021-11-26 11:46:28 +08:00
Jesse Yang
b0858eee95 build: bump @types/react to 16.9.38 (#619) 2021-11-26 11:46:28 +08:00
Krist Wongsuphasawat
dacd58de79 chore: publish v0.13.31 2021-11-26 11:46:27 +08:00
Jesse Yang
6639b24563 refactor(control-utils): reorganize files and refine typing (#610) 2021-11-26 11:46:27 +08:00
Jesse Yang
269a7df3e6 chore: upgrade @types/react (#613) 2021-11-26 11:46:27 +08:00
Evan Rusackas
2ebc9e6940 chore: publish v0.13.30 2021-11-26 11:46:27 +08:00
Maxime Beauchemin
8cc4399815 feat: import theme colors (#601) 2021-11-26 11:46:27 +08:00
Jesse Yang
e5feefe035 build: optimize storybook config (#600)
- Output minimal webpack stats only when in development mode
- Separate type checking and build, so failed typing does not block
  `yarn sb` watch rebuild
- Rearrange addon loading order so knobs can appear as the first tab
2021-11-26 11:46:26 +08:00
Evan Rusackas
20871d60a5 chore: publish v0.13.29 2021-11-26 11:46:26 +08:00
Jesse Yang
64ffc1782e feat(control-utils): better typing for control configs (#595)
* feat(control-utils): better typing for control configs

* Optimize ControlPanelActions

* Add control panel config

* More robust typing for SelectControl

* Support formData, add typing for BigNumber
2021-11-26 11:46:25 +08:00
Maxime Beauchemin
2d317774d6 feat: add color pallettes defined in SIP-34 (#597) 2021-11-26 11:46:25 +08:00
Evan Rusackas
e3fa24eede chore: publish v0.13.28 2021-11-26 11:46:25 +08:00
Phillip Kelley-Dotson
ac90efaa40 chore(superset-ui-control-uitils): add MetricOption and dependencies to control utils (#593)
* feat: metric option added to control utils

* add test

* Add MetricOptions to superset-ui control utils and fix tests

* add suggestions

* Update packages/superset-ui-control-utils/test/components/InfoTooltipWithTrigger.test.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* remove prop assignments

* fix lint

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-11-26 11:46:25 +08:00
Evan Rusackas
7953441c1f chore: publish v0.13.27 2021-11-26 11:46:25 +08:00
Jesse Yang
5e3c6a9ee8 style(control-utils): fix type reexport warning in babel (#586) 2021-11-26 11:46:25 +08:00
dependabot-preview[bot]
abc2188419 build(deps): bump @vx/responsive from 0.0.196 to 0.0.197 (#577)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.196 to 0.0.197.
- [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.196...v0.0.197)

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:24 +08:00
Ville Brofeldt
9955156265 feat(query): add new fields to QueryContext and QueryObject (#583)
* feat: add new fields to QueryContext and QueryObject

* linting

* remove change to package.json
2021-11-26 11:46:24 +08:00
Krist Wongsuphasawat
d277421124 feat(query): add more query wrappers (#570)
* feat: add more api wrappers

* test: add unit tests
2021-11-26 11:46:24 +08:00
dependabot-preview[bot]
1fd72d53e0 build(deps): bump gh-pages from 2.2.0 to 3.0.0 (#565)
Bumps [gh-pages](https://github.com/tschaub/gh-pages) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/tschaub/gh-pages/releases)
- [Changelog](https://github.com/tschaub/gh-pages/blob/master/changelog.md)
- [Commits](https://github.com/tschaub/gh-pages/compare/v2.2.0...v3.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:46:23 +08:00
Krist Wongsuphasawat
72c2b7afc0 feat(plugin-chart-choropleth-map): add package (#560)
* feat(plugin-chart-choropleth-map): scaffold and load map (#527)

* feat: add package

* feat: storybook working

* feat: load usa and world map

* refactor: clean up

* fix: remove test data

* refactor: utilize dynamic import

* build: remove unused dependencies

* fix: address pr comments

* fix: comment

* feat(plugin-chart-choropleth-map): add more country maps (#529)

* feat(plugin-chart-choropleth-map): add zooming (#528)

* feat: add zooming

* feat: can zoom in and out

* feat: add zoom controls

* refactor: extract controls

* fix: address comments

* feat(plugin-chart-choropleth-map): add encoding (#541)

* feat: add encoder

* feat: add encoding

* docs: add categorical

* fix: any

* docs: update storybook

* feat(plugin-chart-choropleth-map): add tooltip (#548)

* feat: support tooltip

* feat: support tooltip fields

* fix: default projection

* build: bump dependency

* build: update dependency

* build: mark private
2021-11-26 11:46:23 +08:00
Krist Wongsuphasawat
c966fc41a9 chore: publish v0.13.26 2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
9a53bdfb68 feat(query): add functions to wrap api calls with typings (#555)
* feat: add function to wrap api calls

* feat: add function to wrap api calls with returned type

* fix: remove deprecated

* fix: rename

* test: add unit test

* test: add unit tests
2021-11-26 11:46:22 +08:00
Jesse Yang
5adb9aaa43 feat(demo): add helpers for resizable chart demo (#557) 2021-11-26 11:46:22 +08:00
Jesse Yang
a39a058919 feat(superset-ui-style): export ThemeProvider and useTheme (#553) 2021-11-26 11:46:22 +08:00
Jesse Yang
be31aa4997 Revert "feat(superset-ui-style): export ThemeProvider and useTheme from emotion-theming"
This reverts commit 2e760e3d5425c903ec33cce94803f5bd9695c675.
2021-11-26 11:46:22 +08:00
Jesse Yang
87f00900ca feat(superset-ui-style): export ThemeProvider and useTheme from emotion-theming 2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
b3dbd0ec75 chore: publish v0.13.25 2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
0a48d6e774 feat(connection): allow developer to get supersetclient instance (#552) 2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
bdb0f50874 feat(chart): adjust chartclient to point to new endpoints (#551)
* feat: adjust to new endpoints

* fix: unit tests

* fix: tests

* fix: unit tests

* fix: remove unused
2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
38c424c09e chore: publish v0.13.24 2021-11-26 11:46:21 +08:00
Krist Wongsuphasawat
f2a053b034 feat(color): support better color interpolation for sequential schemes (#547)
* feat: update functions

* test: add unit tests

* fix: unit tests

* fix: address comments and use piecewise
2021-11-26 11:46:21 +08:00
Evan Rusackas
21ebb5be7a chore: publish v0.13.22 2021-11-26 11:46:21 +08:00
Krist Wongsuphasawat
17075ae021 feat(time-format): improve support for formatting with granularity in mind (#509)
* feat(time-format): add support for granularity

* feat: create time range from granularity

* fix: update format

* wip

* feat: refactor getFormatter

* feat: reconcile api

* test: add unit tests

* refactor: clean up

* refactor: createTime

* refactor: improve end time computation to be daylight saving compatible
2021-11-26 11:46:20 +08:00
Jesse Yang
4cbc751ed8 chore: publish v0.13.21 2021-11-26 11:46:19 +08:00
Jesse Yang
843ed92d21 chore(legacy-plugin-chart-table): cleanup fromFormData (#521) 2021-11-26 11:46:19 +08:00
Krist Wongsuphasawat
ae6a1bbefb feat(legacy-plugin-chart-event-flow): migrate package (#514) 2021-11-26 11:46:19 +08:00
David Aaron Suddjian
ddc8ac983e chore: publish v0.13.20 2021-11-26 11:46:19 +08:00
Evan Rusackas
b3d6df740d chore: publish v0.13.19 2021-11-26 11:46:19 +08:00
Evan Rusackas
d66daa6578 chore: publish v0.13.18 2021-11-26 11:46:18 +08:00
Evan Rusackas
b6931fbcd6 feat(legacy-preset-big-number): use emotion styling (#455)
* chore(release): publish v0.13.7

* Revert "chore(release): publish v0.13.7"

This reverts commit 3c9ce9ed4c46f9a52fd78bd9b43732803e93c0ac.

* Revert "chore(release): publish v0.13.6"

This reverts commit 0e6e829beba0df62a717601b20fdd790ebf49714.

* feat: poc using style package in big-number

* ThemeProvider decorator

* removing other themeProvider stuff (no longer needed)

* just adding a note to the readme that this stuff works out of the box.

* bumps n deps

* BigNumber using theme bits... in theory

* wordCloud using theme bits

* bumping packages again

* fixing dependencies

* moving style package to peer deps to fix some SUPER annoying errors

* nixing css style, to let Emotion do the talking

* moving wordCloud to style pkg to peerDeps.

* Nixing CSS file, putting all the styles in one place at export

* condensing imports

* nixing extraneous package

* getting emotion stuff out of word cloud for now (that's another PR!)

Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
2021-11-26 11:46:18 +08:00
Evan Rusackas
19b1e65908 chore: publish v0.13.17 2021-11-26 11:46:18 +08:00
Ville Brofeldt
54b0df5421 feat: add control grouping functionality (#485)
* feat: add control grouping functionality

* implement controlGroups on WordCloud

* fix tests

* break up into smaller packages and add unit tests

* fix test

* address comments

* rename controlGroup to queryField

* move import

* fix word cloud test

* fix a few remaining references to control groups

* Rename funcs

* Simplify extractQueryFields

* fix
2021-11-26 11:46:18 +08:00
David Aaron Suddjian
6a50787b38 chore: publish v0.13.16 2021-11-26 11:46:18 +08:00
Jesse Yang
ec3f7edc0e chore: publish v0.13.15 2021-11-26 11:46:17 +08:00
dependabot-preview[bot]
f142bcf836 build(deps-dev): bump ts-loader from 6.2.2 to 7.0.4 (#475)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 6.2.2 to 7.0.4.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v6.2.2...v7.0.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:46:17 +08:00
Jesse Yang
7140b116ad fix(time-format): remove week number (#493)
* fix: week number is actually Monday based by default

* Remove week number for weekly time grain

It is confusing and not really useful in most business settings.
2021-11-26 11:46:17 +08:00
Ville Brofeldt
dfb5ac42dd feat(query): remove redundant metric label truncation (#492)
* feat: remove redundant metric label truncation

* fix lint
2021-11-26 11:46:16 +08:00
Jesse Yang
aefd587ee5 chore: publish v0.13.14 2021-11-26 11:46:16 +08:00
Jesse Yang
868ebbe09d feat(time-format): add full-date to weekly time formatter (#486) 2021-11-26 11:46:16 +08:00
Krist Wongsuphasawat
e3528df40c chore: publish v0.13.13 2021-11-26 11:46:16 +08:00
Krist Wongsuphasawat
dfa166ca81 feat(generator-superset): add scaffolder for chart plugin (#456)
* feat: add plugin generator

* feat: add templates

* feat: add templates

* fix: wrong path

* fix: unit test

* fix: coverage

* fix: simplify template
2021-11-26 11:46:16 +08:00
David Aaron Suddjian
caf9a4000e fix(legacy-plugin-chart-nvd3): disable bad linting rule (#488)
* fix(legacy-plugin-chart-nvd3): disable linting rule that conflicts with having actual working code

* cleanup unnecessary eslint-disable
2021-11-26 11:46:15 +08:00
Evan Rusackas
f9104710c5 chore: publish v0.13.12 2021-11-26 11:46:15 +08:00
David Aaron Suddjian
28de28864b feat(control-utils): add shared controls + dependencies, convert to typescript (#459) 2021-11-26 11:46:15 +08:00
Evan Rusackas
75fe384b7b chore: publish v0.13.11 2021-11-26 11:46:15 +08:00
Evan Rusackas
761b1d7b02 feat(style): adding typographic variables to theme (#463) 2021-11-26 11:46:14 +08:00
Jesse Yang
e487ec7274 chore: enforce commit-lint on first commit in branch (#471) 2021-11-26 11:46:14 +08:00
Evan Rusackas
354422dc0f chore(release): publish v0.13.10 2021-11-26 11:46:14 +08:00
Evan Rusackas
6ece03b8f3 chore(release): publish v0.13.9 2021-11-26 11:46:13 +08:00
Phillip Kelley-Dotson
307fb23bd6 feat(control-utils): add infotooltipwithtrigger (#442)
* PR to merge packges for controls migration

* fix: add bootstrap

* fix: change tooltip to tsx

* fix: types

* fix: tsx error

* appease linter, enhance a11y

* addressing PR feedback

* tweaking bootstrap types

* fix test

* test enter key

* moar tests

* code > key

* ugh fine

Co-authored-by: Phillip Kelley-Dotson <pkd@pkd.lan>
Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
2021-11-26 11:46:13 +08:00
Krist Wongsuphasawat
67e15d011a fix: hundreds lint warning (#447)
* fix: lint

* fix: more lints

* fix: more lints

* fix: comment

* fix: any

* fix: ChartDataProvider test lint

* fix: lints

* fix: chartprops
2021-11-26 11:46:12 +08:00
Evan Rusackas
6d7de01abe chore(release): publish v0.13.8 2021-11-26 11:46:12 +08:00
Evan Rusackas
f75c378935 chore(release): publish v0.13.7 2021-11-26 11:46:12 +08:00
dependabot-preview[bot]
68b16a954b build(deps): bump @vx/responsive from 0.0.195 to 0.0.196 (#436)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.195 to 0.0.196.
- [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.195...v0.0.196)

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:12 +08:00
Krist Wongsuphasawat
e87bf3bc24 chore(release): publish v0.13.6 2021-11-26 11:46:11 +08:00
Ville Brofeldt
4322d1cd39 feat(query): Add force to QueryContext (#445)
* Add force to QueryContext

* fix tests

* fix test
2021-11-26 11:46:11 +08:00
Krist Wongsuphasawat
95cd9cc4d5 chore(release): publish v0.13.5 2021-11-26 11:46:11 +08:00
Krist Wongsuphasawat
62b2a50faf fix: lint errors (#420)
* fix: lint errors

* fix: lint

* fix: more lints

* fix: broken test

* fix: singleton type
2021-11-26 11:46:11 +08:00
Krist Wongsuphasawat
619045048f fix(plugin-chart-word-cloud): make wordcloud take current formdata (#428)
* fix: make wordcloud take current formdata

* docs: fix storybook
2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
445a44642c chore(legacy-preset-chart-big-number): rename directory (#427)
* chore: rename directory

* chore: correct naming
2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
7cce8f0081 feat(superset-ui): include control utils in the umbrella package (#421) 2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
be6789f9aa chore(legacy-plugin-chart-table): rename directory (#422) 2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
c45a534e2f chore(release): publish v0.13.4 2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
ead6efe5ad chore(release): publish v0.13.3 2021-11-26 11:46:10 +08:00
Krist Wongsuphasawat
279f5d372d chore(release): publish v0.13.2 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
8e2732d282 chore(release): publish v0.13.1 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
82503cedf3 fix: bump peer dependencies 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
7d746a482c chore(release): publish v0.13.0 2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
91d00ac8b1 feat(plugin-word-cloud): change how wordcloud is exported (#418)
* feat(plugin-word-cloud): change how wordcloud is exported

* docs: fix storybook
2021-11-26 11:46:09 +08:00
Krist Wongsuphasawat
2be7b4ba0a feat(control-utils): add packages control-utils (#417)
* feat(control-utils): add package

* fix: remove export

* fix: export

* fix: dep version
2021-11-26 11:46:09 +08:00
ʈᵃᵢ
c21ad5cee4 fix: export superset theme props (#391)
* fix: export superset theme props

* add spec
2021-11-26 11:46:08 +08:00
Krist Wongsuphasawat
587e6e1a77 feat(preset-chart-nvd3): migration from plugins repo (#399) 2021-11-26 11:46:08 +08:00
Ville Brofeldt
9aa7b6f5ee chore: bump pretty-ms (#398)
* chore: bump pretty-ms

* fix: unit test

* fix: Add unit test for colonNotation
2021-11-26 11:46:07 +08:00
David Aaron Suddjian
fb4664235b feat(chart): add shared plugin controls utilities (#389)
* add shared controls utilities

* accidentally yarn lock

* bring in date formatting fix

* turn off no-plusplus rule

* address PR feedback, reorganize modules a bit

* turn off no-plusplus

* bring in new external changes

* superset-ui packages should be peer dependencies

* add tests for ported in code
2021-11-26 11:46:07 +08:00
Krist Wongsuphasawat
afed1a0818 feat(preset-chart-xy): migrate from plugins repo (#377)
* chore: move chart-xy and word-cloud

* fix: babel settings

* fix: remove file

* docs: update storybook code

* docs: word cloud storybook working

* chore: move files back

* fix: ts issues

* fix: import path

* fix: all storybook thingy

* fix: add query storybook back

* fix: address comments

* fix: sorting
2021-11-26 11:46:07 +08:00
Jesse Yang
8ab578e121 fix(superset-ui-query): add unit tests for #387 (#390) 2021-11-26 11:46:07 +08:00
Ville Brofeldt
1917d84c7a fix: make all filter operators uppercase (#378)
* fix: make all filter operators uppercase

* fix: test case

* fix: convertFilter test case
2021-11-26 11:46:07 +08:00
erik_ritter
aa4a8cf6c4 chore(release): publish v0.12.23 2021-11-26 11:46:07 +08:00
Erik Ritter
0cb4e4f9ff fix: unset row_limit when it's not a number (#387)
* fix: unset row_limit when it's not a number

* fix: address comments
2021-11-26 11:46:07 +08:00
erik_ritter
0293228f44 chore(release): publish v0.12.22 2021-11-26 11:46:06 +08:00
Erik Ritter
b711d3eba7 feat: add retry to callApi (#384) 2021-11-26 11:46:06 +08:00
Jesse Yang
9b009e7198 feat(table): enable table filter and better typing (#344) 2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
aa2cdcaad5 chore(release): publish v0.12.21 2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
8dd02b3633 feat(legacy-plugin-chart-country-map): migrate and replace india map (#376)
* feat(legacy-plugin-chart-country-map): migrate and replace india map with smaller file

* fix: lint

* chore: move files

* docs: update storybook

* docs: wire storybook

* fix: lint
2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
81ca3b9801 feat: migrate chart plugins (#375)
* feat(legacy-plugin-chart-rose): migrate package and lint

* feat(legacy-plugin-chart-sankey): migrate

* feat(legacy-plugin-chart-sankey-loop): migrate

* feat(legacy-plugin-chart-sunburst): migrate and lint

* feat(legacy-plugin-chart-treemap): migrate

* feat(legacy-plugin-chart-world-map): migrate

* docs: update storybooks

* feat(legacy-plugin-chart-force-directed): migrate and lint

* feat(legacy-plugin-chart-map-box): migrate and lint

* feat(legacy-plugin-chart-histogram): migrate and lint

* docs: update storybooks
2021-11-26 11:46:06 +08:00
Krist Wongsuphasawat
1e2039388f chore(release): publish v0.12.20 2021-11-26 11:46:05 +08:00
Krist Wongsuphasawat
aac4b0575e chore(release): publish v0.12.19 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
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
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
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
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
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]
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
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]
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
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
Krist Wongsuphasawat
6ffcfec6e7 feat: add validator to umbrella package (#327) 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
1238e78e2d build: try to merge superset-ui-plugins 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
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
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
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
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