Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: move d3 plugin to @gravity-ui/charts #537

Merged
merged 3 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ const config: StorybookConfig = {
{name: '@storybook/addon-essentials', options: {backgrounds: false}},
'./theme-addon/register.tsx',
],
refs: {
'gravity-charts': {
title: 'Gravity Charts',
url: 'https://preview.gravity-ui.com/charts',
},
},
};

export default config;
39 changes: 29 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
],
"dependencies": {
"@bem-react/classname": "^1.6.0",
"@gravity-ui/charts": "^0.2.0",
"@gravity-ui/date-utils": "^2.1.0",
"@gravity-ui/i18n": "^1.0.0",
"@gravity-ui/yagr": "^4.3.4",
"afterframe": "^1.0.2",
"d3": "^7.8.5",
"lodash": "^4.17.21",
"react-split-pane": "^0.1.92",
"tslib": "^2.6.2"
Expand Down Expand Up @@ -84,6 +84,7 @@
"@typescript-eslint/eslint-plugin": "^5.31.0",
"cross-env": "^7.0.3",
"css-loader": "^5.2.7",
"d3": "^7.9.0",
"eslint": "^8.56.0",
"gulp": "^4.0.2",
"gulp-cli": "^2.3.0",
Expand Down
2 changes: 0 additions & 2 deletions src/components/ChartKit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,4 @@
--highcharts-tooltip-alternate-bg: var(--g-color-base-generic);
--highcharts-tooltip-text-complementary: var(--g-color-text-secondary);
--highcharts-holiday-band: var(--g-color-base-generic);

--d3-data-labels: var(--g-color-text-secondary);
}
209 changes: 0 additions & 209 deletions src/plugins/d3/__stories__/Showcase.stories.tsx

This file was deleted.

58 changes: 0 additions & 58 deletions src/plugins/d3/__stories__/area/Basic.stories.tsx

This file was deleted.

Loading
Loading