From 409fe4bba69e23ba45c4da7aa5b6ed125cfebf4b Mon Sep 17 00:00:00 2001 From: Jesse Yang Date: Mon, 3 May 2021 17:12:56 -0700 Subject: [PATCH] chore: upgrade to emotion@11 (#1086) --- .../superset-ui/jest.config.js | 2 +- .../superset-ui/package.json | 6 +- .../plugin-chart/templates/package.erb | 4 +- .../packages/superset-ui-core/package.json | 4 +- .../chart-composition/legend/WithLegend.tsx | 4 +- .../src/style/{index.ts => index.tsx} | 26 ++- .../test/style/index.test.tsx | 11 +- .../package.json | 1 - .../src/BigNumber/BigNumber.tsx | 4 +- .../plugins/plugin-chart-table/package.json | 1 - .../plugins/plugin-chart-table/tsconfig.json | 2 +- .../plugin-chart-word-cloud/package.json | 1 - .../plugin-chart-choropleth-map/README.md | 0 .../plugin-chart-choropleth-map/package.json | 0 .../src/chart/ChoroplethMap.tsx | 0 .../src/chart/Encoder.ts | 0 .../src/chart/MapMetadata.ts | 0 .../src/chart/MapTooltip.tsx | 0 .../src/chart/Projection.ts | 0 .../src/chart/components.ts | 1 + .../src/chart/loadMap.ts | 0 .../src/configureEncodable.ts | 0 .../src/images/thumbnail.png | Bin .../plugin-chart-choropleth-map/src/index.ts | 0 .../src/maps/belgium-topo.json | 0 .../src/maps/brazil-topo.json | 0 .../src/maps/bulgaria-topo.json | 0 .../src/maps/canada-topo.json | 0 .../src/maps/china-topo.json | 0 .../src/maps/france-topo.json | 0 .../src/maps/germany-topo.json | 0 .../src/maps/index.ts | 0 .../src/maps/india-topo.json | 0 .../src/maps/iran-topo.json | 0 .../src/maps/italy-topo.json | 0 .../src/maps/japan-topo.json | 0 .../src/maps/korea-topo.json | 0 .../src/maps/liechtenstein-topo.json | 0 .../src/maps/morocco-topo.json | 0 .../src/maps/myanmar-topo.json | 0 .../src/maps/netherlands-topo.json | 0 .../src/maps/portugal-topo.json | 0 .../src/maps/russia-topo.json | 0 .../src/maps/singapore-topo.json | 0 .../src/maps/spain-topo.json | 0 .../src/maps/switzerland-topo.json | 0 .../src/maps/thailand-topo.json | 0 .../src/maps/timorleste-topo.json | 0 .../src/maps/uk-topo.json | 0 .../src/maps/ukraine-topo.json | 0 .../src/maps/usa-topo.json | 0 .../src/maps/world-topo.json | 0 .../src/maps/zambia-topo.json | 0 .../src/plugin/index.ts | 0 .../src/plugin/transformProps.ts | 0 .../plugin-chart-choropleth-map/src/types.ts | 0 .../stories/ChoroplethMap.stories.tsx} | 0 .../stories}/generateFakeMapData.ts | 0 .../stories}/useFakeMapData.ts | 0 .../test/index.test.ts | 0 .../test/tsconfig.json | 0 .../plugin-chart-choropleth-map/tsconfig.json | 0 .../types/external.d.ts | 0 .../superset-ui/test/enzyme.tsx | 19 +- .../superset-ui/tsconfig.json | 6 - .../superset-ui/tsconfig.options.json | 1 + .../superset-ui/yarn.lock | 211 ++++++------------ 67 files changed, 116 insertions(+), 188 deletions(-) rename superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/src/style/{index.ts => index.tsx} (86%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/README.md (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/package.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/chart/ChoroplethMap.tsx (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/chart/Encoder.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/chart/MapMetadata.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/chart/MapTooltip.tsx (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/chart/Projection.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/chart/components.ts (94%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/chart/loadMap.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/configureEncodable.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/images/thumbnail.png (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/index.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/belgium-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/brazil-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/bulgaria-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/canada-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/china-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/france-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/germany-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/index.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/india-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/iran-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/italy-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/japan-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/korea-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/liechtenstein-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/morocco-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/myanmar-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/netherlands-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/portugal-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/russia-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/singapore-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/spain-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/switzerland-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/thailand-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/timorleste-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/uk-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/ukraine-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/usa-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/world-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/maps/zambia-topo.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/plugin/index.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/plugin/transformProps.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/src/types.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-choropleth-map/Stories.tsx => temporary-plugins/plugin-chart-choropleth-map/stories/ChoroplethMap.stories.tsx} (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-choropleth-map => temporary-plugins/plugin-chart-choropleth-map/stories}/generateFakeMapData.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-choropleth-map => temporary-plugins/plugin-chart-choropleth-map/stories}/useFakeMapData.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/test/index.test.ts (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/test/tsconfig.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/tsconfig.json (100%) rename superset-frontend/temporary_superset_ui/superset-ui/{plugins => temporary-plugins}/plugin-chart-choropleth-map/types/external.d.ts (100%) diff --git a/superset-frontend/temporary_superset_ui/superset-ui/jest.config.js b/superset-frontend/temporary_superset_ui/superset-ui/jest.config.js index 206a7fdd085bd..38e79d141eb4a 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/jest.config.js +++ b/superset-frontend/temporary_superset_ui/superset-ui/jest.config.js @@ -58,5 +58,5 @@ module.exports = { testEnvironment: 'node', }, ], - snapshotSerializers: ['@emotion/jest/serializer'], + snapshotSerializers: ['@emotion/jest/enzyme-serializer'], }; diff --git a/superset-frontend/temporary_superset_ui/superset-ui/package.json b/superset-frontend/temporary_superset_ui/superset-ui/package.json index a367c65b5e19c..9c2ffe62f3dc1 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/package.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/package.json @@ -69,7 +69,8 @@ "@babel/preset-typescript": "^7.12.7", "@babel/register": "^7.8.6", "@emotion/babel-preset-css-prop": "^11.2.0", - "@emotion/jest": "^11.2.1", + "@emotion/jest": "^11.3.0", + "@storybook/preset-typescript": "^3.0.0", "@superset-ui/commit-config": "^0.0.9", "@types/enzyme": "^3.10.3", "@types/jest": "^26.0.4", @@ -82,7 +83,6 @@ "babel-jest": "^26.6.3", "babel-loader": "^8.2.2", "babel-plugin-dynamic-import-node": "^2.3.3", - "babel-plugin-emotion": "^11.0.0", "babel-plugin-jsx-remove-data-test-id": "^2.1.3", "babel-plugin-lodash": "^3.3.4", "babel-plugin-typescript-to-proptypes": "^1.4.2", @@ -140,7 +140,7 @@ "@types/react-bootstrap/@types/react": "^16.14.2" }, "engines": { - "node": "^14.15.0", + "node": "14.x", "npm": "^7.5.4", "yarn": ">=1.13.0" }, diff --git a/superset-frontend/temporary_superset_ui/superset-ui/packages/generator-superset/generators/plugin-chart/templates/package.erb b/superset-frontend/temporary_superset_ui/superset-ui/packages/generator-superset/generators/plugin-chart/templates/package.erb index 0dc317e2da4f7..3061f92b8774e 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/packages/generator-superset/generators/plugin-chart/templates/package.erb +++ b/superset-frontend/temporary_superset_ui/superset-ui/packages/generator-superset/generators/plugin-chart/templates/package.erb @@ -26,8 +26,8 @@ "access": "public" }, "dependencies": { - "@superset-ui/core": "^0.17.0", - "@superset-ui/chart-controls": "^0.17.0" + "@superset-ui/core": "^0.17.40", + "@superset-ui/chart-controls": "^0.17.41" }, "peerDependencies": { "react": "^16.13.1" diff --git a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/package.json b/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/package.json index 22ad0102781e5..de4b87238867c 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/package.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/package.json @@ -33,9 +33,8 @@ "dependencies": { "@babel/runtime": "^7.1.2", "@emotion/cache": "^11.1.3", - "@emotion/core": "^10.0.28", "@emotion/react": "^11.1.5", - "@emotion/styled": "^10.0.27", + "@emotion/styled": "^11.3.0", "@types/d3-format": "^1.3.0", "@types/d3-interpolate": "^1.3.1", "@types/d3-scale": "^2.1.1", @@ -51,7 +50,6 @@ "d3-scale": "^3.0.0", "d3-time": "^1.0.10", "d3-time-format": "^2.2.0", - "emotion-theming": "^10.0.27", "fetch-retry": "^4.0.1", "jed": "^1.1.1", "lodash": "^4.17.11", diff --git a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/src/chart-composition/legend/WithLegend.tsx b/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/src/chart-composition/legend/WithLegend.tsx index 4c8977dd5ae11..764d916ad9a3c 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/src/chart-composition/legend/WithLegend.tsx +++ b/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/src/chart-composition/legend/WithLegend.tsx @@ -1,7 +1,5 @@ import React, { CSSProperties, ReactNode, PureComponent } from 'react'; import { ParentSize } from '@vx/responsive'; -// eslint-disable-next-line import/no-unresolved -import { FlexDirectionProperty } from 'csstype'; const defaultProps = { className: '', @@ -38,7 +36,7 @@ const CHART_STYLE_BASE: CSSProperties = { class WithLegend extends PureComponent { static defaultProps = defaultProps; - getContainerDirection(): FlexDirectionProperty { + getContainerDirection(): CSSProperties['flexDirection'] { const { position } = this.props; if (position === 'left') { diff --git a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/src/style/index.ts b/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/src/style/index.tsx similarity index 86% rename from superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/src/style/index.ts rename to superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/src/style/index.tsx index 9c89692553906..65177c44b1531 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/src/style/index.ts +++ b/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/src/style/index.tsx @@ -16,17 +16,20 @@ * specific language governing permissions and limitations * under the License. */ -import emotionStyled, { CreateStyled } from '@emotion/styled'; -import { useTheme as useThemeBasic } from 'emotion-theming'; +import emotionStyled from '@emotion/styled'; +import { useTheme as useThemeBasic } from '@emotion/react'; import createCache from '@emotion/cache'; -export { ThemeProvider, withTheme } from 'emotion-theming'; -export { ClassNames, Global, InterpolationWithTheme, SerializedStyles } from '@emotion/core'; -export { CacheProvider, jsx, css } from '@emotion/react'; -export { createCache }; +export { ThemeProvider, CacheProvider as EmotionCacheProvider, withTheme } from '@emotion/react'; +export { default as createEmotionCache } from '@emotion/cache'; + +declare module '@emotion/react' { + // eslint-disable-next-line @typescript-eslint/no-empty-interface + export interface Theme extends SupersetTheme {} +} export function useTheme() { - const theme = useThemeBasic(); + const theme = useThemeBasic(); // in the case there is no theme, useTheme returns an empty object if (Object.keys(theme).length === 0 && theme.constructor === Object) { throw new Error( @@ -36,6 +39,12 @@ export function useTheme() { return theme; } +export const emotionCache = createCache({ + key: 'superset', +}); + +export const styled = emotionStyled; + const defaultTheme = { borderRadius: 4, colors: { @@ -152,7 +161,4 @@ export interface SupersetThemeProps { theme: SupersetTheme; } -export const styled: CreateStyled = emotionStyled; export const supersetTheme = defaultTheme; - -export default styled; diff --git a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/test/style/index.test.tsx b/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/test/style/index.test.tsx index 7df8d7d4d3f19..60711236f0e9e 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/test/style/index.test.tsx +++ b/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-core/test/style/index.test.tsx @@ -1,11 +1,14 @@ import React from 'react'; import { mount } from 'enzyme'; -import styled, { +import { + styled, supersetTheme, SupersetThemeProps, useTheme, ThemeProvider, -} from '@superset-ui/core/src/style'; + EmotionCacheProvider, + emotionCache, +} from '@superset-ui/core'; describe('@superset-ui/style package', () => { it('exports a theme', () => { @@ -31,7 +34,9 @@ describe('@superset-ui/style package', () => { } mount(, { wrappingComponent: ({ children }) => ( - {children} + + {children} + ), }); }); diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-time-table/package.json b/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-time-table/package.json index ca1f8269bd1c3..ac6fd5da6d689 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-time-table/package.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-time-table/package.json @@ -33,7 +33,6 @@ "@superset-ui/core": "0.17.40", "@types/d3-scale": "^2.0.2", "d3-scale": "^3.2.1", - "emotion-theming": "^10.0.27", "moment": "^2.26.0", "mustache": "^4.0.1", "prop-types": "^15.7.2", diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-preset-chart-big-number/src/BigNumber/BigNumber.tsx b/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-preset-chart-big-number/src/BigNumber/BigNumber.tsx index 0e97b48fed817..ac66c70a8222b 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-preset-chart-big-number/src/BigNumber/BigNumber.tsx +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-preset-chart-big-number/src/BigNumber/BigNumber.tsx @@ -94,8 +94,8 @@ class BigNumberVis extends React.PureComponent { static defaultProps = { className: '', - formatNumber: (num: number) => String(num), - formatTime: smartDateVerboseFormatter.formatFunc, + formatNumber: defaultNumberFormatter, + formatTime: smartDateVerboseFormatter, headerFontSize: PROPORTION.HEADER, mainColor: BRAND_COLOR, showTrendLine: false, diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-table/package.json b/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-table/package.json index 2e9ee085163dc..085e1966bb362 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-table/package.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-table/package.json @@ -26,7 +26,6 @@ "access": "public" }, "dependencies": { - "@emotion/core": "^10.0.28", "@superset-ui/chart-controls": "0.17.41", "@superset-ui/core": "0.17.40", "@types/d3-array": "^2.9.0", diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-table/tsconfig.json b/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-table/tsconfig.json index 40f75135aa15b..85fd192276038 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-table/tsconfig.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-table/tsconfig.json @@ -12,7 +12,7 @@ "include": [ "src/**/*", "types/**/*", - "../../types/**/*" + "../../types/**/*", ], "references": [ { diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-word-cloud/package.json b/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-word-cloud/package.json index da80a5fea7752..030901b267db4 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-word-cloud/package.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-word-cloud/package.json @@ -34,7 +34,6 @@ "@types/d3-scale": "^2.0.2", "d3-cloud": "^1.2.5", "d3-scale": "^3.0.1", - "emotion-theming": "^10.0.27", "encodable": "^0.7.6" }, "peerDependencies": { diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/README.md b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/README.md similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/README.md rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/README.md diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/package.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/package.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/package.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/package.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/ChoroplethMap.tsx b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/ChoroplethMap.tsx similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/ChoroplethMap.tsx rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/ChoroplethMap.tsx diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/Encoder.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/Encoder.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/Encoder.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/Encoder.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/MapMetadata.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/MapMetadata.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/MapMetadata.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/MapMetadata.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/MapTooltip.tsx b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/MapTooltip.tsx similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/MapTooltip.tsx rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/MapTooltip.tsx diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/Projection.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/Projection.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/Projection.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/Projection.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/components.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/components.ts similarity index 94% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/components.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/components.ts index 075ce3540a3a3..ed8ee0ea7dbd8 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/components.ts +++ b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/components.ts @@ -1,3 +1,4 @@ +/// import { styled, supersetTheme } from '@superset-ui/core'; export const PADDING = supersetTheme.gridUnit * 4; diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/loadMap.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/loadMap.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/chart/loadMap.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/chart/loadMap.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/configureEncodable.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/configureEncodable.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/configureEncodable.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/configureEncodable.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/images/thumbnail.png b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/images/thumbnail.png similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/images/thumbnail.png rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/images/thumbnail.png diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/index.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/index.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/index.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/index.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/belgium-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/belgium-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/belgium-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/belgium-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/brazil-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/brazil-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/brazil-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/brazil-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/bulgaria-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/bulgaria-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/bulgaria-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/bulgaria-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/canada-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/canada-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/canada-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/canada-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/china-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/china-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/china-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/china-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/france-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/france-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/france-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/france-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/germany-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/germany-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/germany-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/germany-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/index.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/index.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/index.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/index.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/india-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/india-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/india-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/india-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/iran-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/iran-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/iran-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/iran-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/italy-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/italy-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/italy-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/italy-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/japan-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/japan-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/japan-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/japan-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/korea-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/korea-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/korea-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/korea-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/liechtenstein-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/liechtenstein-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/liechtenstein-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/liechtenstein-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/morocco-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/morocco-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/morocco-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/morocco-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/myanmar-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/myanmar-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/myanmar-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/myanmar-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/netherlands-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/netherlands-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/netherlands-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/netherlands-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/portugal-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/portugal-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/portugal-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/portugal-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/russia-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/russia-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/russia-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/russia-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/singapore-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/singapore-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/singapore-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/singapore-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/spain-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/spain-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/spain-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/spain-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/switzerland-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/switzerland-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/switzerland-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/switzerland-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/thailand-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/thailand-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/thailand-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/thailand-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/timorleste-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/timorleste-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/timorleste-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/timorleste-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/uk-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/uk-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/uk-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/uk-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/ukraine-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/ukraine-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/ukraine-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/ukraine-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/usa-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/usa-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/usa-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/usa-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/world-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/world-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/world-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/world-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/zambia-topo.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/zambia-topo.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/maps/zambia-topo.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/maps/zambia-topo.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/plugin/index.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/plugin/index.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/plugin/index.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/plugin/index.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/plugin/transformProps.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/plugin/transformProps.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/plugin/transformProps.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/plugin/transformProps.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/types.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/types.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/src/types.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/src/types.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-choropleth-map/Stories.tsx b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/stories/ChoroplethMap.stories.tsx similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-choropleth-map/Stories.tsx rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/stories/ChoroplethMap.stories.tsx diff --git a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-choropleth-map/generateFakeMapData.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/stories/generateFakeMapData.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-choropleth-map/generateFakeMapData.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/stories/generateFakeMapData.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-choropleth-map/useFakeMapData.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/stories/useFakeMapData.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-choropleth-map/useFakeMapData.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/stories/useFakeMapData.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/test/index.test.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/test/index.test.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/test/index.test.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/test/index.test.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/test/tsconfig.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/test/tsconfig.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/test/tsconfig.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/test/tsconfig.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/tsconfig.json b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/tsconfig.json similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/tsconfig.json rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/tsconfig.json diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/types/external.d.ts b/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/types/external.d.ts similarity index 100% rename from superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-choropleth-map/types/external.d.ts rename to superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map/types/external.d.ts diff --git a/superset-frontend/temporary_superset_ui/superset-ui/test/enzyme.tsx b/superset-frontend/temporary_superset_ui/superset-ui/test/enzyme.tsx index 22b89e9da68c3..afd95b5b6ebab 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/test/enzyme.tsx +++ b/superset-frontend/temporary_superset_ui/superset-ui/test/enzyme.tsx @@ -18,7 +18,16 @@ */ import React, { ReactElement } from 'react'; import { shallow as enzymeShallow, mount as enzymeMount } from 'enzyme'; -import { supersetTheme, ThemeProvider } from '@superset-ui/core'; +import { + EmotionCacheProvider, + createEmotionCache, + supersetTheme, + ThemeProvider, +} from '@superset-ui/core'; + +const emotionCache = createEmotionCache({ + key: 'test', +}); type optionsType = { wrappingComponentProps?: any; @@ -27,8 +36,12 @@ type optionsType = { }; export function ProviderWrapper(props: any) { - const { children, theme } = props; - return {children}; + const { children, theme = supersetTheme } = props; + return ( + + {children} + + ); } export function mount(component: ReactElement, options: optionsType = {}) { diff --git a/superset-frontend/temporary_superset_ui/superset-ui/tsconfig.json b/superset-frontend/temporary_superset_ui/superset-ui/tsconfig.json index 305fced38560f..5a871200785d1 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/tsconfig.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/tsconfig.json @@ -91,12 +91,6 @@ { "path": "plugins/legacy-preset-chart-nvd3/test" }, - { - "path": "plugins/plugin-chart-choropleth-map" - }, - { - "path": "plugins/plugin-chart-choropleth-map/test" - }, { "path": "plugins/plugin-chart-echarts" }, diff --git a/superset-frontend/temporary_superset_ui/superset-ui/tsconfig.options.json b/superset-frontend/temporary_superset_ui/superset-ui/tsconfig.options.json index b8d9a17cbf212..1de2d31f521e7 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/tsconfig.options.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/tsconfig.options.json @@ -26,6 +26,7 @@ "skipLibCheck": true, "emitDeclarationOnly": true, "resolveJsonModule": true, + "types": ["@emotion/react/types/css-prop", "jest", "jsdom"], "typeRoots": [ "./node_modules/@types" ] diff --git a/superset-frontend/temporary_superset_ui/superset-ui/yarn.lock b/superset-frontend/temporary_superset_ui/superset-ui/yarn.lock index 0a1056c289ebc..7e78fc9b2006a 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/yarn.lock +++ b/superset-frontend/temporary_superset_ui/superset-ui/yarn.lock @@ -1212,6 +1212,13 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.13.10": + version "7.14.0" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.14.0.tgz#46794bc20b612c5f75e62dd071e24dfd95f1cbe6" + integrity sha512-JELkvo/DlpNdJ7dlyw/eY7E0suy5i5GQH+Vlxaq1nsNJ+H7f4Vtv3jMeCEgRhZZQFXTjldYfQgv2qmM6M1v5wA== + dependencies: + regenerator-runtime "^0.13.4" + "@babel/standalone@^7.4.5": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.13.12.tgz#a7065c30bd8511cd48c99193bd69e7c596bbbc44" @@ -1770,6 +1777,24 @@ source-map "^0.5.7" stylis "^4.0.3" +"@emotion/babel-plugin@^11.3.0": + version "11.3.0" + resolved "https://registry.yarnpkg.com/@emotion/babel-plugin/-/babel-plugin-11.3.0.tgz#3a16850ba04d8d9651f07f3fb674b3436a4fb9d7" + integrity sha512-UZKwBV2rADuhRp+ZOGgNWg2eYgbzKzQXfQPtJbu/PLy8onurxlNCLvxMQEvlr1/GudguPI5IU9qIY1+2z1M5bA== + dependencies: + "@babel/helper-module-imports" "^7.12.13" + "@babel/plugin-syntax-jsx" "^7.12.13" + "@babel/runtime" "^7.13.10" + "@emotion/hash" "^0.8.0" + "@emotion/memoize" "^0.7.5" + "@emotion/serialize" "^1.0.2" + babel-plugin-macros "^2.6.1" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "^4.0.3" + "@emotion/babel-preset-css-prop@^11.2.0": version "11.2.0" resolved "https://registry.yarnpkg.com/@emotion/babel-preset-css-prop/-/babel-preset-css-prop-11.2.0.tgz#c7e945f56b2610b438f0dc8ae5253fc55488de0e" @@ -1801,7 +1826,7 @@ "@emotion/weak-memoize" "^0.2.5" stylis "^4.0.3" -"@emotion/core@^10.0.20", "@emotion/core@^10.0.28", "@emotion/core@^10.0.9": +"@emotion/core@^10.0.20", "@emotion/core@^10.0.9": version "10.0.28" resolved "https://registry.yarnpkg.com/@emotion/core/-/core-10.0.28.tgz#bb65af7262a234593a9e952c041d0f1c9b9bef3d" integrity sha512-pH8UueKYO5jgg0Iq+AmCLxBsvuGtvlmiDCOuv8fGNYn3cowFpLN98L8zO56U0H1PjDIyAlXymgL3Wu7u7v6hbA== @@ -1854,12 +1879,19 @@ dependencies: "@emotion/memoize" "0.7.4" -"@emotion/jest@^11.2.1": - version "11.2.1" - resolved "https://registry.yarnpkg.com/@emotion/jest/-/jest-11.2.1.tgz#21fe72b18465cad37c89b5b9395259b086bd2f30" - integrity sha512-uLlPahLgyBRjAoYoPNmq+PUit+7Dqdz4YqsF+Ol4/vMRfjnMuXzpzgIaFFsL5npMDGPeIhHeJTM4O+9r10t3vw== +"@emotion/is-prop-valid@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.1.0.tgz#29ef6be1e946fb4739f9707def860f316f668cde" + integrity sha512-9RkilvXAufQHsSsjQ3PIzSns+pxuX4EW8EbGeSPjZMHuMx6z/MOzb9LpqNieQX4F3mre3NWS2+X3JNRHTQztUQ== dependencies: - "@babel/runtime" "^7.7.2" + "@emotion/memoize" "^0.7.4" + +"@emotion/jest@^11.3.0": + version "11.3.0" + resolved "https://registry.yarnpkg.com/@emotion/jest/-/jest-11.3.0.tgz#43bed6dcb47c8691b346cee231861ebc8f9b0016" + integrity sha512-LZqYc3yerhic1IvAcEwBLRs1DsUt3oY7Oz6n+e+HU32iYOK/vpfzlhgmQURE94BHfv6eCOj6DV38f3jSnIkBkQ== + dependencies: + "@babel/runtime" "^7.13.10" "@emotion/css-prettifier" "^1.0.0" chalk "^4.1.0" specificity "^0.4.1" @@ -1910,6 +1942,17 @@ "@emotion/utils" "^1.0.0" csstype "^3.0.2" +"@emotion/serialize@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.0.2.tgz#77cb21a0571c9f68eb66087754a65fa97bfcd965" + integrity sha512-95MgNJ9+/ajxU7QIAruiOAdYNjxZX7G2mhgrtDWswA21VviYIRP1R5QilZ/bDY42xiKsaktP4egJb3QdYQZi1A== + dependencies: + "@emotion/hash" "^0.8.0" + "@emotion/memoize" "^0.7.4" + "@emotion/unitless" "^0.7.5" + "@emotion/utils" "^1.0.0" + csstype "^3.0.2" + "@emotion/sheet@0.9.4": version "0.9.4" resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-0.9.4.tgz#894374bea39ec30f489bbfc3438192b9774d32e5" @@ -1930,7 +1973,7 @@ "@emotion/serialize" "^0.11.15" "@emotion/utils" "0.11.3" -"@emotion/styled@^10.0.17", "@emotion/styled@^10.0.23", "@emotion/styled@^10.0.27": +"@emotion/styled@^10.0.17", "@emotion/styled@^10.0.23": version "10.0.27" resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-10.0.27.tgz#12cb67e91f7ad7431e1875b1d83a94b814133eaf" integrity sha512-iK/8Sh7+NLJzyp9a5+vIQIXTYxfT4yB/OJbjzQanB2RZpvmzBQOHZWhpAMZWYEKRNNbsD6WfBw5sVWkb6WzS/Q== @@ -1938,6 +1981,17 @@ "@emotion/styled-base" "^10.0.27" babel-plugin-emotion "^10.0.27" +"@emotion/styled@^11.3.0": + version "11.3.0" + resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.3.0.tgz#d63ee00537dfb6ff612e31b0e915c5cf9925a207" + integrity sha512-fUoLcN3BfMiLlRhJ8CuPUMEyKkLEoM+n+UyAbnqGEsCd5IzKQ7VQFLtzpJOaCD2/VR2+1hXQTnSZXVJeiTNltA== + dependencies: + "@babel/runtime" "^7.13.10" + "@emotion/babel-plugin" "^11.3.0" + "@emotion/is-prop-valid" "^1.1.0" + "@emotion/serialize" "^1.0.2" + "@emotion/utils" "^1.0.0" + "@emotion/stylis@0.8.5": version "0.8.5" resolved "https://registry.yarnpkg.com/@emotion/stylis/-/stylis-0.8.5.tgz#deacb389bd6ee77d1e7fcaccce9e16c5c7e78e04" @@ -4547,13 +4601,6 @@ resolved "https://registry.yarnpkg.com/@types/d3-format/-/d3-format-1.4.1.tgz#1e657a219e4b1e3931508a610d570bdec8ecdd9d" integrity sha512-ss9G2snEKmp2In5Z3T0Jpqv8QaDBc2xHltBw83KjnV5B5w+Iwphbvq5ph/Xnu4d03fmmsdt+o1aWch379rxIbA== -"@types/d3-geo@^1.11.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@types/d3-geo/-/d3-geo-1.12.1.tgz#bec8692ffee9f60e18483af9008f92d4a8428118" - integrity sha512-8+gyGFyMCXIHtnMNKQDT++tZ4XYFXgiP5NK7mcv34aYXA16GQFiBBITjKzxghpO8QNVceOd9rUn1JY92WLNGQw== - dependencies: - "@types/geojson" "*" - "@types/d3-interpolate@^1.3.1": version "1.4.2" resolved "https://registry.yarnpkg.com/@types/d3-interpolate/-/d3-interpolate-1.4.2.tgz#88902a205f682773a517612299a44699285eed7b" @@ -4635,11 +4682,6 @@ resolved "https://registry.yarnpkg.com/@types/fetch-mock/-/fetch-mock-7.3.3.tgz#255511d70087b9ae8866704c782c88cc96a0b45b" integrity sha512-NLMbBVQh3yx6dMd5CnVxp9ZBhQYuFzWIlRk0kQbgBfyL75u3wtZyUTuFsK9Wb9G3eIw77yja858j1fQAWqM9Og== -"@types/geojson@*", "@types/geojson@^7946.0.3": - version "7946.0.7" - resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.7.tgz#c8fa532b60a0042219cdf173ca21a975ef0666ad" - integrity sha512-wE2v81i4C4Ol09RtsWFAqg3BUitWbHSpSlIo+bNdsCJijO9sjme+zm+73ZMCa/qMC8UEERxzGbvmr1cffo2SiQ== - "@types/glob-base@^0.3.0": version "0.3.0" resolved "https://registry.yarnpkg.com/@types/glob-base/-/glob-base-0.3.0.tgz#a581d688347e10e50dd7c17d6f2880a10354319d" @@ -4854,13 +4896,6 @@ "@types/react" "*" "@types/reactcss" "*" -"@types/react-dom@*": - version "17.0.3" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.3.tgz#7fdf37b8af9d6d40127137865bb3fff8871d7ee1" - integrity sha512-4NnJbCeWE+8YBzupn/YrJxZ8VnjcJq5iR1laqQ1vkpQgBiA7bwk0Rp24fxsdNinzJY2U+HHS4dJJDPdoMjdJ7w== - dependencies: - "@types/react" "*" - "@types/react-loadable@^5.5.3": version "5.5.4" resolved "https://registry.yarnpkg.com/@types/react-loadable/-/react-loadable-5.5.4.tgz#9bfb31e1299e9a3b23ea6cae437fa8813afde544" @@ -4976,21 +5011,6 @@ resolved "https://registry.yarnpkg.com/@types/tapable/-/tapable-1.0.6.tgz#a9ca4b70a18b270ccb2bc0aaafefd1d486b7ea74" integrity sha512-W+bw9ds02rAQaMvaLYxAbJ6cvguW/iJXNT6lTssS1ps6QdrMKttqEAMEG/b5CR8TZl3/L7/lH0ZV5nNR1LXikA== -"@types/topojson-client@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/topojson-client/-/topojson-client-3.0.0.tgz#2517fae5abbdd3052eb191747c7d0bc268d69918" - integrity sha512-HZH6E8XMhjkDEkkpe3HuIg95COuvjdnyy0EKrh8rAi1f6o/V6P3ly1kGyU2E8bpAffXDd2r+Rk5ceMX4XkqHnA== - dependencies: - "@types/geojson" "*" - "@types/topojson-specification" "*" - -"@types/topojson-specification@*", "@types/topojson-specification@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@types/topojson-specification/-/topojson-specification-1.0.1.tgz#a80cb294290b79f2d674d3f5938c544ed2bd9d80" - integrity sha512-ZZYZUgkmUls9Uhxx2WZNt9f/h2+H3abUUjOVmq+AaaDFckC5oAwd+MDp95kBirk+XCXrYj0hfpI6DSUiJMrpYQ== - dependencies: - "@types/geojson" "*" - "@types/tough-cookie@*": version "4.0.0" resolved "https://registry.yarnpkg.com/@types/tough-cookie/-/tough-cookie-4.0.0.tgz#fef1904e4668b6e5ecee60c52cc6a078ffa6697d" @@ -5228,15 +5248,6 @@ dependencies: prop-types "^15.5.10" -"@vx/bounds@0.0.199": - version "0.0.199" - resolved "https://registry.yarnpkg.com/@vx/bounds/-/bounds-0.0.199.tgz#9a57aa5ea59c96d7f2369921ee6d7751d65f731d" - integrity sha512-3hq9MmfiSB5ciKTzHhB4/UV77JIIUEd1hDj5EBfLUUOL27wXgM6+RSOB+FxFt3tRJniltp3iZs5Gb75SDecpGw== - dependencies: - "@types/react" "*" - "@types/react-dom" "*" - prop-types "^15.5.10" - "@vx/clip-path@0.0.140": version "0.0.140" resolved "https://registry.yarnpkg.com/@vx/clip-path/-/clip-path-0.0.140.tgz#b2623d004dd5c3c8a6afe8d060de59df51472d94" @@ -5247,14 +5258,6 @@ resolved "https://registry.yarnpkg.com/@vx/clip-path/-/clip-path-0.0.165.tgz#93cd65cc6a35319c7e403ce7b973ac1c8045b741" integrity sha512-mBCbgguLMVyGvar5FbxqyyY4NQFlnXoSLF0TrhgWYkF/FCXdE1CzBC+Y4iXIJOY0ZTtluqL9XrNdIDpx49AmuA== -"@vx/clip-path@^0.0.197": - version "0.0.197" - resolved "https://registry.yarnpkg.com/@vx/clip-path/-/clip-path-0.0.197.tgz#9d7e5dc1f4f772352196226165e32fb8df39664b" - integrity sha512-uokRTnLXmbjFl0oGDDguWfYYRw4bMjzv8VNRxkENc7IILLz8HSiLH9xpNH4NaAvHtggkvgRR0RlkxvHimr7KDA== - dependencies: - "@types/react" "*" - prop-types "^15.5.10" - "@vx/curve@0.0.140": version "0.0.140" resolved "https://registry.yarnpkg.com/@vx/curve/-/curve-0.0.140.tgz#29ef388e8b3718213d66a896d569dc1ebc8edf89" @@ -5284,14 +5287,6 @@ dependencies: "@vx/point" "0.0.136" -"@vx/event@0.0.197": - version "0.0.197" - resolved "https://registry.yarnpkg.com/@vx/event/-/event-0.0.197.tgz#4aff7648deae894f13dbfdd07b28d65b15d77d92" - integrity sha512-XXoehTuQArxCVCfjr0I2hVKu8uy9wMXNn413LHZV5z7Vsyabut9opsqdMriF/OjX4W6a3pigHqetYS2DP1VAaA== - dependencies: - "@types/react" "*" - "@vx/point" "0.0.197" - "@vx/event@^0.0.165": version "0.0.165" resolved "https://registry.yarnpkg.com/@vx/event/-/event-0.0.165.tgz#675d89fdfdc08d0c99c36ff1a381ea50fccfba2e" @@ -5306,14 +5301,6 @@ dependencies: "@vx/point" "0.0.165" -"@vx/event@^0.0.198": - version "0.0.198" - resolved "https://registry.yarnpkg.com/@vx/event/-/event-0.0.198.tgz#ee6be3ab52ada200d34d09a496dcb579752ac103" - integrity sha512-qGozMiT4ZhvaeIbchPpZdlNucmBSYQeMq5uSMEim/HZ0ZbRAggPPTEd+/9G0QvvNJYwzTbGQlmFpAUic+EHKQQ== - dependencies: - "@types/react" "*" - "@vx/point" "0.0.198" - "@vx/glyph@0.0.140": version "0.0.140" resolved "https://registry.yarnpkg.com/@vx/glyph/-/glyph-0.0.140.tgz#f8323f82aee22192b675bef25789bbb7d74691ba" @@ -5455,16 +5442,6 @@ classnames "^2.2.5" prop-types "^15.5.10" -"@vx/pattern@^0.0.197": - version "0.0.197" - resolved "https://registry.yarnpkg.com/@vx/pattern/-/pattern-0.0.197.tgz#a9f8ce164ecaad86d2f3a45f2f78fcf78cfe7a96" - integrity sha512-1nsFfjSrrnVwZnAHY823Xe6sfStWp7xSs6e9KlSPwz8TvK6U/xLuHgQ2q1hBlUOM5Uyk9Ddr6KvFHLPOecrL8A== - dependencies: - "@types/classnames" "^2.2.9" - "@types/react" "*" - classnames "^2.2.5" - prop-types "^15.5.10" - "@vx/point@0.0.136": version "0.0.136" resolved "https://registry.yarnpkg.com/@vx/point/-/point-0.0.136.tgz#93b325b4b95c9d5b96df740f4204017f57396559" @@ -5475,11 +5452,6 @@ resolved "https://registry.yarnpkg.com/@vx/point/-/point-0.0.165.tgz#7ebde5da3d86954fe31a56f923f31550f0b4b867" integrity sha512-spoHilhjcWNgccrSzBUPw+PXV81tYxeyEWBkgr35aGVU4m7YT86Ywvfemwp7AVVGPn+XJHrhB0ujAhDoyqFPoA== -"@vx/point@0.0.197": - version "0.0.197" - resolved "https://registry.yarnpkg.com/@vx/point/-/point-0.0.197.tgz#3685097b213d7abc301c87294931e96148821599" - integrity sha512-1CO2MM6HdAqE11gUk56uufBEkgbChdvzvePCsRCbA2a4KyvfLHxEICjycF+RRjRU5rlpMN97uxEcIReRI+WmIQ== - "@vx/point@0.0.198": version "0.0.198" resolved "https://registry.yarnpkg.com/@vx/point/-/point-0.0.198.tgz#9c55f085e26fa6a921a9313c4c3b40cf947f8104" @@ -5725,18 +5697,6 @@ classnames "^2.2.5" prop-types "^15.5.10" -"@vx/tooltip@^0.0.199": - version "0.0.199" - resolved "https://registry.yarnpkg.com/@vx/tooltip/-/tooltip-0.0.199.tgz#e60147412eb5be4d8dc98664abaee1ac63ee6570" - integrity sha512-IZ6ExnEyTZ4jq9Ml+XECnrtQ52SnLi8WD1dbxnVMoAzNbMKNfnkET5ZqzYM/fM/yPEsKMwNadZWizdKBMjIGVw== - dependencies: - "@types/classnames" "^2.2.9" - "@types/react" "*" - "@vx/bounds" "0.0.199" - classnames "^2.2.5" - prop-types "^15.5.10" - react-use-measure "2.0.1" - "@vx/voronoi@^0.0.165": version "0.0.165" resolved "https://registry.yarnpkg.com/@vx/voronoi/-/voronoi-0.0.165.tgz#11ab585199b0dccf403544a6ad378a505bfb913b" @@ -5747,15 +5707,6 @@ d3-voronoi "^1.1.2" prop-types "^15.6.1" -"@vx/zoom@^0.0.197": - version "0.0.197" - resolved "https://registry.yarnpkg.com/@vx/zoom/-/zoom-0.0.197.tgz#17f90a5dc082a4307c06e20dc3a80f5039212ab1" - integrity sha512-uAhnn1ALBD6g2TIyHMVeAO6mklTT0Wl30eFsHNvkBv9OFFJyCCRjLiye5/9tVpg1MJwC7TggXR9++Oy1dBSxFQ== - dependencies: - "@types/react" "*" - "@vx/event" "0.0.197" - prop-types "^15.6.2" - "@webassemblyjs/ast@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964" @@ -6762,11 +6713,6 @@ babel-plugin-emotion@^10.0.20, babel-plugin-emotion@^10.0.27: find-root "^1.1.0" source-map "^0.5.7" -babel-plugin-emotion@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/babel-plugin-emotion/-/babel-plugin-emotion-11.0.0.tgz#f362c9fe05493821ab8995cd5a8e7be6504b73a9" - integrity sha512-cVD32sIXlidaqQBr7vw0uD2o58uBeD8jILDJ2yAGT1fOmgYcE5iX27bTVMV6meiUZarIAh1iAyTqrEWV+V2dqQ== - babel-plugin-graphql-tag@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/babel-plugin-graphql-tag/-/babel-plugin-graphql-tag-2.5.0.tgz#2b2df0dc4b9638022d18868d03abe60117aaf38d" @@ -8315,7 +8261,7 @@ comma-separated-tokens@^1.0.0: resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz#632b80b6117867a158f1080ad498b2fbe7e3f5ea" integrity sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw== -commander@2, commander@^2.18.0, commander@^2.19.0, commander@^2.20.0, commander@^2.20.3: +commander@^2.18.0, commander@^2.19.0, commander@^2.20.0, commander@^2.20.3: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== @@ -9193,13 +9139,6 @@ d3-geo-projection@0.2: dependencies: brfs "^1.3.0" -d3-geo@^1.12.0: - version "1.12.1" - resolved "https://registry.yarnpkg.com/d3-geo/-/d3-geo-1.12.1.tgz#7fc2ab7414b72e59fbcbd603e80d9adc029b035f" - integrity sha512-XG4d1c/UJSEX9NfU02KwBL6BYPj8YKHxgBEw5om2ZnTRSbIcego6dhHwcxuSR3clxh0EpE38os1DVPOmnYtTPg== - dependencies: - d3-array "1" - d3-hierarchy@^1.1.8: version "1.1.9" resolved "https://registry.yarnpkg.com/d3-hierarchy/-/d3-hierarchy-1.1.9.tgz#2f6bee24caaea43f8dc37545fa01628559647a83" @@ -9484,11 +9423,6 @@ de-indent@^1.0.2: resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" integrity sha1-sgOOhG3DO6pXlhKNCAS0VbjB4h0= -debounce@^1.2.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5" - integrity sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug== - debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.9: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" @@ -10224,7 +10158,7 @@ emojis-list@^3.0.0: resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== -emotion-theming@^10.0.19, emotion-theming@^10.0.27: +emotion-theming@^10.0.19: version "10.0.27" resolved "https://registry.yarnpkg.com/emotion-theming/-/emotion-theming-10.0.27.tgz#1887baaec15199862c89b1b984b79806f2b9ab10" integrity sha512-MlF1yu/gYh8u+sLUqA0YuA9JX0P4Hb69WlKc/9OLo+WCXuX6sy/KoIa+qJimgmr2dWqnypYKYPX37esjDBbhdw== @@ -11910,11 +11844,6 @@ geojson-vt@^3.2.1: resolved "https://registry.yarnpkg.com/geojson-vt/-/geojson-vt-3.2.1.tgz#f8adb614d2c1d3f6ee7c4265cad4bbf3ad60c8b7" integrity sha512-EvGQQi/zPrDA6zr6BnJD/YhwAkBP8nnJ9emh3EnHQKVMfg/MRVtPbMYdgVy/IaEmn4UfagD2a6fafPDL5hbtwg== -geojson@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/geojson/-/geojson-0.5.0.tgz#3cd6c96399be65b56ee55596116fe9191ce701c0" - integrity sha1-PNbJY5m+ZbVu5VWWEW/pGRznAcA= - get-caller-file@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" @@ -19412,13 +19341,6 @@ react-transition-group@^4.3.0: loose-envify "^1.4.0" prop-types "^15.6.2" -react-use-measure@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/react-use-measure/-/react-use-measure-2.0.1.tgz#4f23f94c832cd4512da55acb300d1915dcbf3ae8" - integrity sha512-lFfHiqcXbJ2/6aUkZwt8g5YYM7EGqNVxJhMqMPqv1BVXRKp8D7jYLlmma0SvhRY4WYxxkZpCdbJvhDylb5gcEA== - dependencies: - debounce "^1.2.0" - react-virtualized-auto-sizer@^1.0.2: version "1.0.5" resolved "https://registry.yarnpkg.com/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.5.tgz#9eeeb8302022de56fbd7a860b08513120ce36509" @@ -21918,13 +21840,6 @@ toidentifier@1.0.0: resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== -topojson-client@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/topojson-client/-/topojson-client-3.1.0.tgz#22e8b1ed08a2b922feeb4af6f53b6ef09a467b99" - integrity sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw== - dependencies: - commander "2" - topojson@^1.6.19: version "1.6.27" resolved "https://registry.yarnpkg.com/topojson/-/topojson-1.6.27.tgz#adbe33a67e2f1673d338df12644ad20fc20b42ed"