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: add indicator chart #30

Merged
merged 4 commits into from
Jul 25, 2022
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
12 changes: 11 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
module.exports = {
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: ['@storybook/preset-scss', '@storybook/addon-essentials'],
addons: [
{name: '@storybook/preset-scss'},
{name: '@storybook/addon-knobs'},
{
name: '@storybook/addon-essentials',
options: {
controls: false,
actions: false,
},
},
],
typescript: {
check: true,
checkOptions: {},
Expand Down
274 changes: 274 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
},
"devDependencies": {
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.5.9",
"@types/jest": "^28.1.3",
Expand Down
2 changes: 2 additions & 0 deletions src/constants/common.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// This css class should be added for DOM element for correct calculation of scrollHeight
export const CHARTKIT_SCROLLABLE_NODE_CLASSNAME = 'chartkit-scrollable-node';
1 change: 1 addition & 0 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {CHARTKIT_SCROLLABLE_NODE_CLASSNAME} from './common';
1 change: 1 addition & 0 deletions src/i18n/keysets/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"tooltip-rest": "Rest"
},
"error": {
"label_no-data": "No data",
"label_unknown-plugin": "Unknown plugin type \"{{type}}\"",
"label_unknown-error": "Unknown error"
}
Expand Down
1 change: 1 addition & 0 deletions src/i18n/keysets/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"tooltip-rest": "Остальные"
},
"error": {
"label_no-data": "Нет данных",
"label_unknown-plugin": "Неизвестный тип плагина \"{{type}}\"",
"label_unknown-error": "Неизвестная ошибка"
}
Expand Down
Loading