@oliasoft-open-source/charts-library 5.0.0-beta-2 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/Color-6VNJS4EI-DLbcRNMp.js +1 -0
- package/dist/assets/DocsRenderer-NNNQARDV-BOzykHvd.js +1 -0
- package/dist/assets/WithTooltip-V3YHNWJZ-BeePhoIB.js +1 -0
- package/dist/assets/_getPrototype-Bgn98YsR.js +3 -0
- package/dist/assets/{bar-chart.stories-D9mtWCnD.js → bar-chart.stories-BEwhK613.js} +35 -35
- package/dist/assets/chunk-HLWAVYOI-BJEcfeBO.js +364 -0
- package/dist/assets/entry-preview-D8lfu5jc.js +1 -0
- package/dist/assets/entry-preview-docs-CRyh30bF.js +54 -0
- package/dist/assets/formatter-SWP5E3XI-Bj1a9__W.js +156 -0
- package/dist/assets/get-draggableData-DhvAHrT5.js +2 -0
- package/dist/assets/iframe-BurE_SJm.js +8 -0
- package/dist/assets/index-B7LTuyD5.js +1 -0
- package/dist/assets/index-BXzfdmYx.js +24 -0
- package/dist/assets/index-CZvFZgOq.js +9 -0
- package/dist/assets/index-D3eZ-H7s.js +1 -0
- package/dist/assets/index-DrFu-skq.js +6 -0
- package/dist/assets/index-uubelm5h.js +9 -0
- package/dist/assets/isPlainObject-DdO3KXLu.js +1 -0
- package/dist/assets/legend-BWpTckOL.js +278 -0
- package/dist/assets/legend-context-BAQplG-D.js +71 -0
- package/dist/assets/line-chart-L0zq38Nj.js +1 -0
- package/dist/assets/line-chart.stories-CurD8upE.js +1130 -0
- package/dist/assets/{line-chart.test-case.stories-DgfMW1VB.js → line-chart.test-case.stories-Cq5J45Io.js} +2 -2
- package/dist/assets/pie-chart.stories-Duex2I6n.js +45 -0
- package/dist/assets/preview-BBDnT5_b.js +30 -0
- package/dist/assets/preview-D4u66u8a.js +2 -0
- package/dist/assets/preview-FHoZfaOb.js +17 -0
- package/dist/assets/react-18-Xi5cNDBV.js +1 -0
- package/dist/assets/scatter-chart.stories-D0618GGr.js +41 -0
- package/dist/assets/syntaxhighlighter-MJWPISIS-Bmhn3z6A.js +1 -0
- package/dist/bar-chart/bar-chart-const.d.ts +2 -0
- package/dist/bar-chart/bar-chart-default-props.d.ts +2 -0
- package/dist/bar-chart/bar-chart.d.ts +3 -0
- package/dist/bar-chart/bar-chart.interface.d.ts +96 -0
- package/dist/bar-chart/bar-chart.stories.d.ts +807 -0
- package/dist/bar-chart/utils/get-bar-chart-data-labels.d.ts +10 -0
- package/dist/bar-chart/utils/get-bar-chart-scales.d.ts +3 -0
- package/dist/bar-chart/utils/get-bar-chart-tooltips.d.ts +6 -0
- package/dist/bar-chart/utils/use-bar-chart-config.d.ts +13 -0
- package/dist/bar-chart/utils/use-bar-chart-options.d.ts +55 -0
- package/dist/common/common.interface.d.ts +206 -0
- package/dist/common/controls-portal.d.ts +7 -0
- package/dist/common/enums.d.ts +10 -0
- package/dist/common/helpers/chart-border-plugin.d.ts +16 -0
- package/dist/common/helpers/chart-consts.d.ts +39 -0
- package/dist/common/helpers/chart-utils.d.ts +84 -0
- package/dist/common/helpers/container.d.ts +18 -0
- package/dist/common/helpers/custom-format-number.d.ts +1 -0
- package/dist/common/helpers/download-pgn.d.ts +4 -0
- package/dist/common/helpers/enums.d.ts +80 -0
- package/dist/common/helpers/get-chart-annotation.d.ts +90 -0
- package/dist/common/helpers/get-custom-legend-plugin-example.d.ts +8 -0
- package/dist/common/helpers/get-draggableData.d.ts +18 -0
- package/dist/common/helpers/range/estimate-close-values.test.d.ts +1 -0
- package/dist/common/helpers/range/estimate-data-series-have-close-values.d.ts +8 -0
- package/dist/common/helpers/range/range.d.ts +33 -0
- package/dist/common/helpers/range/range.test.d.ts +1 -0
- package/dist/common/helpers/text.d.ts +1 -0
- package/dist/common/helpers/to-annotation.d.ts +4 -0
- package/dist/common/hooks/use-generated-labels.d.ts +4 -0
- package/dist/common/hooks/use-legend-state.d.ts +28 -0
- package/dist/common/hooks/use-legend.d.ts +4 -0
- package/dist/common/hooks/use-reset.d.ts +3 -0
- package/dist/common/legend-component/legend-dropzone.d.ts +3 -0
- package/dist/common/legend-component/legend-interface.d.ts +48 -0
- package/dist/common/legend-component/legend-item/LegendItemLine.d.ts +5 -0
- package/dist/common/legend-component/legend-item/legend-item.d.ts +3 -0
- package/dist/common/legend-component/legend-panel.d.ts +3 -0
- package/dist/common/legend-component/legend.d.ts +3 -0
- package/dist/common/legend-component/state/legend-action-types.d.ts +2 -0
- package/dist/common/legend-component/state/legend-context.d.ts +12 -0
- package/dist/common/legend-component/state/legend-state-reducer.d.ts +26 -0
- package/dist/common/legend-component/utils/create-style-object.d.ts +27 -0
- package/dist/common/legend-component/utils/get-generated-labels.d.ts +2 -0
- package/dist/common/plugins/annotation-dragger-plugin/annotation-dragger-plugin.d.ts +15 -0
- package/dist/common/plugins/annotation-dragger-plugin/enums.d.ts +20 -0
- package/dist/common/plugins/annotation-dragger-plugin/event-helpers.d.ts +6 -0
- package/dist/common/plugins/annotation-dragger-plugin/helpers.d.ts +53 -0
- package/dist/common/plugins/annotation-dragger-plugin/helpers.test.d.ts +1 -0
- package/dist/common/plugins/annotation-dragger-plugin/point-annotation-label.d.ts +5 -0
- package/dist/common/plugins/gradient-background-plugin/enums.d.ts +10 -0
- package/dist/common/plugins/gradient-background-plugin/gradient-background-plugin.d.ts +2 -0
- package/dist/favicon.svg +7 -1
- package/dist/iframe.html +51 -259
- package/dist/index.d.ts +1 -8
- package/dist/index.html +30 -80
- package/dist/index.json +1 -1
- package/dist/line-chart/__tests__/test-data/app-test-case-1.json.d.ts +8733 -0
- package/dist/line-chart/__tests__/test-data/app-test-case-2.json.d.ts +11614 -0
- package/dist/line-chart/__tests__/test-data/app-test-case-3.json.d.ts +34 -0
- package/dist/line-chart/__tests__/test-data/app-test-case-4.json.d.ts +411 -0
- package/dist/line-chart/__tests__/test-data/app-test-case-5.json.d.ts +2734 -0
- package/dist/line-chart/__tests__/test-data/app-test-case-6.json.d.ts +2236 -0
- package/dist/line-chart/constants/default-translations.d.ts +25 -0
- package/dist/line-chart/constants/line-chart-consts.d.ts +13 -0
- package/dist/line-chart/controls/axes-options/action-types.d.ts +5 -0
- package/dist/line-chart/controls/axes-options/axes-options-form-state.d.ts +23 -0
- package/dist/line-chart/controls/axes-options/axes-options-form-state.test.d.ts +1 -0
- package/dist/line-chart/controls/axes-options/axes-options-interfaces.d.ts +54 -0
- package/dist/line-chart/controls/axes-options/axes-options.d.ts +6 -0
- package/dist/line-chart/controls/controls-interfaces.d.ts +20 -0
- package/dist/line-chart/controls/controls.d.ts +6 -0
- package/dist/line-chart/controls/drag-options-interfaces.d.ts +14 -0
- package/dist/line-chart/controls/drag-options.d.ts +23 -0
- package/dist/line-chart/controls/line-options.d.ts +19 -0
- package/dist/line-chart/hooks/use-chart-functions.d.ts +32 -0
- package/dist/line-chart/hooks/use-chart-options.d.ts +16 -0
- package/dist/line-chart/hooks/use-chart-plugins.d.ts +7 -0
- package/dist/line-chart/hooks/use-chart-state.d.ts +17 -0
- package/dist/line-chart/hooks/use-toggle-handler.d.ts +12 -0
- package/dist/line-chart/initialize/config.d.ts +12 -0
- package/dist/line-chart/initialize/initialize-line-chart.d.ts +12 -0
- package/dist/line-chart/initialize/initialize-line-chart.test.d.ts +1 -0
- package/dist/line-chart/line-chart-get-default-props.d.ts +2 -0
- package/dist/line-chart/line-chart.d.ts +3 -0
- package/dist/line-chart/line-chart.interface.d.ts +146 -0
- package/dist/line-chart/line-chart.stories.d.ts +1729 -0
- package/dist/line-chart/line-chart.test-case.stories.d.ts +29 -0
- package/dist/line-chart/plugins/chart-area-text-plugin.d.ts +17 -0
- package/dist/line-chart/plugins/line-chart.minor-gridlines-plugin.d.ts +8 -0
- package/dist/line-chart/plugins/line-chart.minor-gridlines-plugin.test.d.ts +1 -0
- package/dist/line-chart/plugins/plugin-constants.d.ts +11 -0
- package/dist/line-chart/plugins/plugins.interface.d.ts +9 -0
- package/dist/line-chart/state/action-types.d.ts +12 -0
- package/dist/line-chart/state/initial-state.d.ts +14 -0
- package/dist/line-chart/state/line-chart-reducer.d.ts +2 -0
- package/dist/line-chart/state/manage-state-in-local-storage.d.ts +15 -0
- package/dist/line-chart/state/state.interfaces.d.ts +34 -0
- package/dist/line-chart/utils/__tests__/get-annotations-data.test.d.ts +1 -0
- package/dist/line-chart/utils/__tests__/get-axes-data-from-metasets.test.d.ts +1 -0
- package/dist/line-chart/utils/__tests__/get-axes-type-from-key.test.d.ts +1 -0
- package/dist/line-chart/utils/__tests__/get-axis-range-by-type.test.d.ts +1 -0
- package/dist/line-chart/utils/__tests__/get-line-chart-tooltips.test.d.ts +1 -0
- package/dist/line-chart/utils/axis-formatting/axis-formatting.d.ts +2 -0
- package/dist/line-chart/utils/axis-formatting/axis-formatting.test.d.ts +1 -0
- package/dist/line-chart/utils/axis-scales/axis-scales.d.ts +11 -0
- package/dist/line-chart/utils/axis-scales/axis-scales.test.d.ts +1 -0
- package/dist/line-chart/utils/check-custom-option/check-custom-option.d.ts +12 -0
- package/dist/line-chart/utils/check-custom-option/check-custom-option.test.d.ts +1 -0
- package/dist/line-chart/utils/datalabels-alignment/__tests__/get-alignment-condition.test.d.ts +1 -0
- package/dist/line-chart/utils/datalabels-alignment/__tests__/get-alignment-data.test.d.ts +1 -0
- package/dist/line-chart/utils/datalabels-alignment/__tests__/get-datalabels-position.test.d.ts +1 -0
- package/dist/line-chart/utils/datalabels-alignment/datalabels-alignment.interface.d.ts +20 -0
- package/dist/line-chart/utils/datalabels-alignment/get-alignment-condition.d.ts +8 -0
- package/dist/line-chart/utils/datalabels-alignment/get-alignment-data.d.ts +11 -0
- package/dist/line-chart/utils/datalabels-alignment/get-datalabels-position.d.ts +6 -0
- package/dist/line-chart/utils/enums.d.ts +4 -0
- package/dist/line-chart/utils/generate-line-chart-datasets.d.ts +8 -0
- package/dist/line-chart/utils/get-annotations-data.d.ts +1 -0
- package/dist/line-chart/utils/get-axes-data-from-metasets.d.ts +1 -0
- package/dist/line-chart/utils/get-axes-ranges-from-chart.d.ts +9 -0
- package/dist/line-chart/utils/get-axis-range-by-type.d.ts +10 -0
- package/dist/line-chart/utils/get-generated-labels.d.ts +2 -0
- package/dist/line-chart/utils/get-line-chart-data-labels.d.ts +19 -0
- package/dist/line-chart/utils/get-line-chart-scales.d.ts +4 -0
- package/dist/line-chart/utils/get-line-chart-tooltips.d.ts +20 -0
- package/dist/line-chart/utils/line-chart-utils.d.ts +32 -0
- package/dist/line-chart/utils/translations/get-translations.d.ts +8 -0
- package/dist/line-chart/utils/translations/get-translations.test.d.ts +1 -0
- package/dist/pie-chart/pie-chart-defalut-props.interface.d.ts +50 -0
- package/dist/pie-chart/pie-chart-get-default-props.d.ts +3 -0
- package/dist/pie-chart/pie-chart.d.ts +3 -0
- package/dist/pie-chart/pie-chart.interface.d.ts +70 -0
- package/dist/pie-chart/pie-chart.stories.d.ts +263 -0
- package/dist/pie-chart/use-pie-chart-config.d.ts +41 -0
- package/dist/project.json +1 -1
- package/dist/sb-addons/actions-0/manager-bundle.js +3 -0
- package/dist/sb-addons/actions-0/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/storybook-dark-mode-esm-preset-1/manager-bundle.js +5 -0
- package/dist/sb-addons/storybook-dark-mode-esm-preset-1/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-common-assets/fonts.css +31 -0
- package/dist/sb-manager/WithTooltip-V3YHNWJZ-MXTFSDU5.js +1 -0
- package/dist/sb-manager/chunk-5QAFKPS7.js +7 -0
- package/dist/sb-manager/chunk-7PRFHFSS.js +9 -0
- package/dist/sb-manager/chunk-XE6LDGTE.js +406 -0
- package/dist/sb-manager/chunk-YDUB7CS6.js +348 -0
- package/dist/sb-manager/chunk-ZEU7PDD3.js +1 -0
- package/dist/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +156 -0
- package/dist/sb-manager/globals-module-info.js +1 -1051
- package/dist/sb-manager/globals.js +1 -48
- package/dist/sb-manager/index.js +1 -0
- package/dist/sb-manager/runtime.js +1 -12048
- package/dist/sb-manager/syntaxhighlighter-MJWPISIS-JOSCT6CQ.js +1 -0
- package/dist/sb-preview/globals.js +1 -0
- package/dist/sb-preview/runtime.js +112 -0
- package/dist/scatter-chart/hooks/use-scatter-chart-config.d.ts +113 -0
- package/dist/scatter-chart/scatter-chart-default-props.interface.d.ts +71 -0
- package/dist/scatter-chart/scatter-chart-get-default-props.d.ts +3 -0
- package/dist/scatter-chart/scatter-chart.d.ts +3 -0
- package/dist/scatter-chart/scatter-chart.interface.d.ts +81 -0
- package/dist/scatter-chart/scatter-chart.stories.d.ts +279 -0
- package/dist/scatter-chart/utils/get-scales-config.d.ts +49 -0
- package/dist/scatter-chart/utils/get-tooltip-config.d.ts +21 -0
- package/dist/src/components/bar-chart/bar-chart-const.d.ts +2 -0
- package/dist/src/components/bar-chart/bar-chart-default-props.d.ts +2 -0
- package/dist/src/components/bar-chart/bar-chart.d.ts +3 -0
- package/dist/src/components/bar-chart/bar-chart.interface.d.ts +96 -0
- package/dist/src/components/bar-chart/utils/get-bar-chart-data-labels.d.ts +10 -0
- package/dist/src/components/bar-chart/utils/get-bar-chart-scales.d.ts +3 -0
- package/dist/src/components/bar-chart/utils/get-bar-chart-tooltips.d.ts +6 -0
- package/dist/src/components/bar-chart/utils/use-bar-chart-config.d.ts +13 -0
- package/dist/src/components/bar-chart/utils/use-bar-chart-options.d.ts +55 -0
- package/dist/src/components/common/common.interface.d.ts +206 -0
- package/dist/src/components/common/controls-portal.d.ts +7 -0
- package/dist/src/components/common/enums.d.ts +10 -0
- package/dist/src/components/common/helpers/chart-border-plugin.d.ts +16 -0
- package/dist/src/components/common/helpers/chart-consts.d.ts +39 -0
- package/dist/src/components/common/helpers/chart-utils.d.ts +84 -0
- package/dist/src/components/common/helpers/container.d.ts +18 -0
- package/dist/src/components/common/helpers/custom-format-number.d.ts +1 -0
- package/dist/src/components/common/helpers/download-pgn.d.ts +4 -0
- package/dist/src/components/common/helpers/enums.d.ts +80 -0
- package/dist/src/components/common/helpers/get-chart-annotation.d.ts +90 -0
- package/dist/src/components/common/helpers/get-custom-legend-plugin-example.d.ts +8 -0
- package/dist/src/components/common/helpers/get-draggableData.d.ts +18 -0
- package/dist/src/components/common/helpers/range/estimate-data-series-have-close-values.d.ts +8 -0
- package/dist/src/components/common/helpers/range/range.d.ts +33 -0
- package/dist/src/components/common/helpers/text.d.ts +1 -0
- package/dist/src/components/common/helpers/to-annotation.d.ts +4 -0
- package/dist/src/components/common/hooks/use-generated-labels.d.ts +4 -0
- package/dist/src/components/common/hooks/use-legend-state.d.ts +28 -0
- package/dist/src/components/common/hooks/use-legend.d.ts +4 -0
- package/dist/src/components/common/hooks/use-reset.d.ts +3 -0
- package/dist/src/components/common/legend-component/legend-dropzone.d.ts +3 -0
- package/dist/src/components/common/legend-component/legend-interface.d.ts +48 -0
- package/dist/src/components/common/legend-component/legend-item/LegendItemLine.d.ts +5 -0
- package/dist/src/components/common/legend-component/legend-item/legend-item.d.ts +3 -0
- package/dist/src/components/common/legend-component/legend-panel.d.ts +3 -0
- package/dist/src/components/common/legend-component/legend.d.ts +3 -0
- package/dist/src/components/common/legend-component/state/legend-action-types.d.ts +2 -0
- package/dist/src/components/common/legend-component/state/legend-context.d.ts +12 -0
- package/dist/src/components/common/legend-component/state/legend-state-reducer.d.ts +26 -0
- package/dist/src/components/common/legend-component/utils/create-style-object.d.ts +27 -0
- package/dist/src/components/common/legend-component/utils/get-generated-labels.d.ts +2 -0
- package/dist/src/components/common/plugins/annotation-dragger-plugin/annotation-dragger-plugin.d.ts +15 -0
- package/dist/src/components/common/plugins/annotation-dragger-plugin/enums.d.ts +20 -0
- package/dist/src/components/common/plugins/annotation-dragger-plugin/event-helpers.d.ts +6 -0
- package/dist/src/components/common/plugins/annotation-dragger-plugin/helpers.d.ts +53 -0
- package/dist/src/components/common/plugins/annotation-dragger-plugin/point-annotation-label.d.ts +5 -0
- package/dist/src/components/common/plugins/gradient-background-plugin/enums.d.ts +10 -0
- package/dist/src/components/common/plugins/gradient-background-plugin/gradient-background-plugin.d.ts +2 -0
- package/dist/src/components/line-chart/constants/default-translations.d.ts +25 -0
- package/dist/src/components/line-chart/constants/line-chart-consts.d.ts +13 -0
- package/dist/src/components/line-chart/controls/axes-options/action-types.d.ts +5 -0
- package/dist/src/components/line-chart/controls/axes-options/axes-options-form-state.d.ts +23 -0
- package/dist/src/components/line-chart/controls/axes-options/axes-options-interfaces.d.ts +54 -0
- package/dist/src/components/line-chart/controls/axes-options/axes-options.d.ts +6 -0
- package/dist/src/components/line-chart/controls/controls-interfaces.d.ts +20 -0
- package/dist/src/components/line-chart/controls/controls.d.ts +6 -0
- package/dist/src/components/line-chart/controls/drag-options-interfaces.d.ts +14 -0
- package/dist/src/components/line-chart/controls/drag-options.d.ts +23 -0
- package/dist/src/components/line-chart/controls/line-options.d.ts +19 -0
- package/dist/src/components/line-chart/hooks/use-chart-functions.d.ts +32 -0
- package/dist/src/components/line-chart/hooks/use-chart-options.d.ts +16 -0
- package/dist/src/components/line-chart/hooks/use-chart-plugins.d.ts +7 -0
- package/dist/src/components/line-chart/hooks/use-chart-state.d.ts +17 -0
- package/dist/src/components/line-chart/hooks/use-toggle-handler.d.ts +12 -0
- package/dist/src/components/line-chart/initialize/config.d.ts +12 -0
- package/dist/src/components/line-chart/initialize/initialize-line-chart.d.ts +12 -0
- package/dist/src/components/line-chart/line-chart-get-default-props.d.ts +2 -0
- package/dist/src/components/line-chart/line-chart.d.ts +3 -0
- package/dist/src/components/line-chart/line-chart.interface.d.ts +146 -0
- package/dist/src/components/line-chart/plugins/chart-area-text-plugin.d.ts +17 -0
- package/dist/src/components/line-chart/plugins/line-chart.minor-gridlines-plugin.d.ts +8 -0
- package/dist/src/components/line-chart/plugins/plugin-constants.d.ts +11 -0
- package/dist/src/components/line-chart/plugins/plugins.interface.d.ts +9 -0
- package/dist/src/components/line-chart/state/action-types.d.ts +12 -0
- package/dist/src/components/line-chart/state/initial-state.d.ts +14 -0
- package/dist/src/components/line-chart/state/line-chart-reducer.d.ts +2 -0
- package/dist/src/components/line-chart/state/manage-state-in-local-storage.d.ts +15 -0
- package/dist/src/components/line-chart/state/state.interfaces.d.ts +34 -0
- package/dist/src/components/line-chart/utils/axis-formatting/axis-formatting.d.ts +2 -0
- package/dist/src/components/line-chart/utils/axis-scales/axis-scales.d.ts +11 -0
- package/dist/src/components/line-chart/utils/check-custom-option/check-custom-option.d.ts +12 -0
- package/dist/src/components/line-chart/utils/datalabels-alignment/datalabels-alignment.interface.d.ts +20 -0
- package/dist/src/components/line-chart/utils/datalabels-alignment/get-alignment-condition.d.ts +8 -0
- package/dist/src/components/line-chart/utils/datalabels-alignment/get-alignment-data.d.ts +11 -0
- package/dist/src/components/line-chart/utils/datalabels-alignment/get-datalabels-position.d.ts +6 -0
- package/dist/src/components/line-chart/utils/enums.d.ts +4 -0
- package/dist/src/components/line-chart/utils/generate-line-chart-datasets.d.ts +8 -0
- package/dist/src/components/line-chart/utils/get-annotations-data.d.ts +1 -0
- package/dist/src/components/line-chart/utils/get-axes-data-from-metasets.d.ts +1 -0
- package/dist/src/components/line-chart/utils/get-axes-ranges-from-chart.d.ts +9 -0
- package/dist/src/components/line-chart/utils/get-axis-range-by-type.d.ts +10 -0
- package/dist/src/components/line-chart/utils/get-generated-labels.d.ts +2 -0
- package/dist/src/components/line-chart/utils/get-line-chart-data-labels.d.ts +19 -0
- package/dist/src/components/line-chart/utils/get-line-chart-scales.d.ts +4 -0
- package/dist/src/components/line-chart/utils/get-line-chart-tooltips.d.ts +20 -0
- package/dist/src/components/line-chart/utils/line-chart-utils.d.ts +32 -0
- package/dist/src/components/line-chart/utils/translations/get-translations.d.ts +8 -0
- package/dist/src/components/pie-chart/pie-chart-defalut-props.interface.d.ts +50 -0
- package/dist/src/components/pie-chart/pie-chart-get-default-props.d.ts +3 -0
- package/dist/src/components/pie-chart/pie-chart.d.ts +3 -0
- package/dist/src/components/pie-chart/pie-chart.interface.d.ts +70 -0
- package/dist/src/components/pie-chart/use-pie-chart-config.d.ts +41 -0
- package/dist/src/components/scatter-chart/hooks/use-scatter-chart-config.d.ts +113 -0
- package/dist/src/components/scatter-chart/scatter-chart-default-props.interface.d.ts +71 -0
- package/dist/src/components/scatter-chart/scatter-chart-get-default-props.d.ts +3 -0
- package/dist/src/components/scatter-chart/scatter-chart.d.ts +3 -0
- package/dist/src/components/scatter-chart/scatter-chart.interface.d.ts +81 -0
- package/dist/src/components/scatter-chart/utils/get-scales-config.d.ts +49 -0
- package/dist/src/components/scatter-chart/utils/get-tooltip-config.d.ts +21 -0
- package/dist/stories.json +1 -0
- package/package.json +3 -2
- package/dist/assets/Color-YHDXOIA2-D6i6tiFz.js +0 -1
- package/dist/assets/DocsRenderer-CFRXHY34-D88vu1Xb.js +0 -580
- package/dist/assets/client-9BU5HM4U.js +0 -1
- package/dist/assets/entry-preview-D2XJoWVM.js +0 -10
- package/dist/assets/entry-preview-docs-z3mMcuG4.js +0 -46
- package/dist/assets/get-draggableData-DO0Px5pc.js +0 -2
- package/dist/assets/iframe-DLnw2TiW.js +0 -217
- package/dist/assets/index-B-BONL6g.js +0 -1
- package/dist/assets/index-BGqSdrBK.js +0 -1
- package/dist/assets/index-CVdx34fM.js +0 -1
- package/dist/assets/index-D3-0uUTW.js +0 -24
- package/dist/assets/index-Dytf1aFS.js +0 -8
- package/dist/assets/index-eCxJ45ll.js +0 -9
- package/dist/assets/jsx-runtime-Y5Ju2SGo.js +0 -9
- package/dist/assets/legend-BI53UIaI.js +0 -1346
- package/dist/assets/legend-context-BNCYpFYh.js +0 -68
- package/dist/assets/line-chart-BdFuLh7N.js +0 -1
- package/dist/assets/line-chart.stories-BVsiy8CQ.js +0 -1130
- package/dist/assets/pie-chart.stories-BVurv17M.js +0 -45
- package/dist/assets/preview-CLM2f008.js +0 -2
- package/dist/assets/preview-DD_OYowb.js +0 -1
- package/dist/assets/preview-XObsormK.js +0 -3
- package/dist/assets/react-18-DZY5LW1V.js +0 -1
- package/dist/assets/react-CxVRKATl.js +0 -1
- package/dist/assets/scatter-chart.stories-DnivHhIH.js +0 -41
- package/dist/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/nunito-sans-bold.woff2 +0 -0
- package/dist/nunito-sans-italic.woff2 +0 -0
- package/dist/nunito-sans-regular.woff2 +0 -0
- package/dist/sb-addons/actions-1/manager-bundle.js +0 -3
- package/dist/sb-addons/docs-2/manager-bundle.js +0 -242
- package/dist/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
- package/dist/sb-addons/storybook-dark-mode-esm-preset-3/manager-bundle.js +0 -5
- package/dist/sb-common-assets/favicon.svg +0 -1
- package/dist/sb-manager/globals-runtime.js +0 -41591
package/dist/iframe.html
CHANGED
|
@@ -1,63 +1,35 @@
|
|
|
1
|
-
<!
|
|
1
|
+
<!DOCTYPE html>
|
|
2
2
|
<!--suppress HtmlUnknownTarget -->
|
|
3
3
|
<html lang="en">
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
@font-face {
|
|
35
|
-
font-family: 'Nunito Sans';
|
|
36
|
-
font-style: italic;
|
|
37
|
-
font-weight: 700;
|
|
38
|
-
font-display: swap;
|
|
39
|
-
src: url('./sb-common-assets/nunito-sans-bold-italic.woff2') format('woff2');
|
|
40
|
-
}
|
|
41
|
-
</style>
|
|
42
|
-
|
|
43
|
-
<script>
|
|
44
|
-
window.CONFIG_TYPE = 'PRODUCTION';
|
|
45
|
-
window.LOGLEVEL = 'info';
|
|
46
|
-
window.FRAMEWORK_OPTIONS = {};
|
|
47
|
-
window.CHANNEL_OPTIONS = {};
|
|
48
|
-
window.FEATURES = {"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false,"disallowImplicitActionsInRenderV8":true};
|
|
49
|
-
window.STORIES = [{"titlePrefix":"","directory":"./src/components","files":"**/*.stories.@(js|jsx|ts|tsx|mdx)","importPathMatcher":"^\\.[\\\\/](?:src\\/components(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx|mdx))$"}];
|
|
50
|
-
window.DOCS_OPTIONS = {"defaultName":"Docs","autodocs":true};
|
|
51
|
-
window.TAGS_OPTIONS = {"dev-only":{"excludeFromDocsStories":true},"docs-only":{"excludeFromSidebar":true},"test-only":{"excludeFromSidebar":true,"excludeFromDocsStories":true}};
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
// We do this so that "module && module.hot" etc. in Storybook source code
|
|
56
|
-
// doesn't fail (it will simply be disabled)
|
|
57
|
-
window.module = undefined;
|
|
58
|
-
window.global = window;
|
|
59
|
-
</script>
|
|
60
|
-
<base target="_parent" />
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<meta charset="utf-8" />
|
|
7
|
+
<title>Storybook</title>
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
9
|
+
|
|
10
|
+
<link rel="prefetch" href="./sb-common-assets/nunito-sans-regular.woff2" as="font" type="font/woff2" crossorigin />
|
|
11
|
+
<link rel="prefetch" href="./sb-common-assets/nunito-sans-italic.woff2" as="font" type="font/woff2" crossorigin />
|
|
12
|
+
<link rel="prefetch" href="./sb-common-assets/nunito-sans-bold.woff2" as="font" type="font/woff2" crossorigin />
|
|
13
|
+
<link rel="prefetch" href="./sb-common-assets/nunito-sans-bold-italic.woff2" as="font" type="font/woff2" crossorigin />
|
|
14
|
+
<link rel="stylesheet" href="./sb-common-assets/fonts.css" />
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
window.CONFIG_TYPE = 'PRODUCTION';
|
|
18
|
+
window.LOGLEVEL = 'info';
|
|
19
|
+
window.FRAMEWORK_OPTIONS = {};
|
|
20
|
+
window.CHANNEL_OPTIONS = {};
|
|
21
|
+
window.FEATURES = {"warnOnLegacyHierarchySeparator":true,"buildStoriesJson":false,"storyStoreV7":true,"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false,"disallowImplicitActionsInRenderV8":false};
|
|
22
|
+
window.STORIES = [{"titlePrefix":"","directory":"./src/components","files":"**/*.stories.@(js|jsx|ts|tsx|mdx)","importPathMatcher":"^\\.[\\\\/](?:src\\/components(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx|mdx))$"}];
|
|
23
|
+
window.DOCS_OPTIONS = {"defaultName":"Docs","autodocs":true};
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
// We do this so that "module && module.hot" etc. in Storybook source code
|
|
28
|
+
// doesn't fail (it will simply be disabled)
|
|
29
|
+
window.module = undefined;
|
|
30
|
+
window.global = window;
|
|
31
|
+
</script>
|
|
32
|
+
<base target="_parent" />
|
|
61
33
|
|
|
62
34
|
<style>
|
|
63
35
|
/* While we aren't showing the main block yet, but still preparing, we want everything the user
|
|
@@ -89,8 +61,7 @@
|
|
|
89
61
|
box-sizing: border-box;
|
|
90
62
|
margin: auto;
|
|
91
63
|
padding: 1rem;
|
|
92
|
-
max-height: 100%;
|
|
93
|
-
/* Hack for centering correctly in IE11 */
|
|
64
|
+
max-height: 100%; /* Hack for centering correctly in IE11 */
|
|
94
65
|
}
|
|
95
66
|
|
|
96
67
|
/* Vertical centering fix for IE11 */
|
|
@@ -121,36 +92,13 @@
|
|
|
121
92
|
bottom: 0;
|
|
122
93
|
left: 0;
|
|
123
94
|
right: 0;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
font-family:
|
|
128
|
-
'Nunito Sans',
|
|
129
|
-
-apple-system,
|
|
130
|
-
'.SFNSText-Regular',
|
|
131
|
-
'San Francisco',
|
|
132
|
-
BlinkMacSystemFont,
|
|
133
|
-
'Segoe UI',
|
|
134
|
-
'Helvetica Neue',
|
|
135
|
-
Helvetica,
|
|
136
|
-
Arial,
|
|
137
|
-
sans-serif;
|
|
95
|
+
padding: 20px;
|
|
96
|
+
font-family: 'Nunito Sans', -apple-system, '.SFNSText-Regular', 'San Francisco',
|
|
97
|
+
BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
138
98
|
-webkit-font-smoothing: antialiased;
|
|
139
99
|
overflow: auto;
|
|
140
100
|
}
|
|
141
101
|
|
|
142
|
-
@media (max-width: 700px) {
|
|
143
|
-
.sb-wrapper {
|
|
144
|
-
padding: 20px;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
@media (max-width: 500px) {
|
|
149
|
-
.sb-wrapper {
|
|
150
|
-
padding: 10px;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
102
|
.sb-heading {
|
|
155
103
|
font-size: 14px;
|
|
156
104
|
font-weight: 600;
|
|
@@ -163,7 +111,6 @@
|
|
|
163
111
|
display: flex;
|
|
164
112
|
align-content: center;
|
|
165
113
|
justify-content: center;
|
|
166
|
-
box-sizing: border-box;
|
|
167
114
|
}
|
|
168
115
|
|
|
169
116
|
.sb-nopreview_main {
|
|
@@ -178,133 +125,54 @@
|
|
|
178
125
|
}
|
|
179
126
|
|
|
180
127
|
.sb-errordisplay {
|
|
181
|
-
|
|
182
|
-
|
|
128
|
+
border: 20px solid rgb(187, 49, 49);
|
|
129
|
+
background: #222;
|
|
130
|
+
color: #fff;
|
|
183
131
|
z-index: 999999;
|
|
184
|
-
width: 100vw;
|
|
185
|
-
min-height: 100vh;
|
|
186
|
-
box-sizing: border-box;
|
|
187
|
-
|
|
188
|
-
& ol {
|
|
189
|
-
padding-left: 18px;
|
|
190
|
-
margin: 0;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
& h1 {
|
|
194
|
-
font-family: Nunito Sans;
|
|
195
|
-
font-size: 22px;
|
|
196
|
-
font-weight: 400;
|
|
197
|
-
line-height: 30px;
|
|
198
|
-
font-weight: normal;
|
|
199
|
-
margin: 0;
|
|
200
|
-
|
|
201
|
-
&::before {
|
|
202
|
-
content: '';
|
|
203
|
-
display: inline-block;
|
|
204
|
-
width: 12px;
|
|
205
|
-
height: 12px;
|
|
206
|
-
background: #ff4400;
|
|
207
|
-
border-radius: 50%;
|
|
208
|
-
margin-right: 8px;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
& p,
|
|
213
|
-
& ol {
|
|
214
|
-
font-family: Nunito Sans;
|
|
215
|
-
font-size: 14px;
|
|
216
|
-
font-weight: 400;
|
|
217
|
-
line-height: 19px;
|
|
218
|
-
margin: 0;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
& li + li {
|
|
222
|
-
margin: 0;
|
|
223
|
-
padding: 0;
|
|
224
|
-
padding-top: 12px;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
& a {
|
|
228
|
-
color: currentColor;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.sb-errordisplay_main {
|
|
233
|
-
margin: auto;
|
|
234
|
-
padding: 24px;
|
|
235
|
-
display: flex;
|
|
236
|
-
box-sizing: border-box;
|
|
237
|
-
|
|
238
|
-
flex-direction: column;
|
|
239
|
-
min-height: 100%;
|
|
240
|
-
width: 100%;
|
|
241
|
-
border-radius: 6px;
|
|
242
|
-
background: white;
|
|
243
|
-
border: 1px solid #ff0000;
|
|
244
|
-
box-shadow: 0 0 64px rgba(0, 0, 0, 0.1);
|
|
245
|
-
gap: 24px;
|
|
246
132
|
}
|
|
247
133
|
|
|
248
134
|
.sb-errordisplay_code {
|
|
249
135
|
padding: 10px;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
color: #c6c6c6;
|
|
253
|
-
box-sizing: border-box;
|
|
254
|
-
|
|
255
|
-
font-size: 14px;
|
|
256
|
-
font-weight: 400;
|
|
257
|
-
line-height: 19px;
|
|
258
|
-
border-radius: 4px;
|
|
259
|
-
|
|
136
|
+
background: #000;
|
|
137
|
+
color: #eee;
|
|
260
138
|
font-family: 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
|
|
261
139
|
'Lucida Console', Consolas, Monaco, monospace;
|
|
262
|
-
margin: 0;
|
|
263
|
-
overflow: auto;
|
|
264
140
|
}
|
|
265
141
|
|
|
266
142
|
.sb-errordisplay pre {
|
|
267
143
|
white-space: pre-wrap;
|
|
268
|
-
white-space: revert;
|
|
269
144
|
}
|
|
270
145
|
|
|
271
146
|
@-webkit-keyframes sb-rotate360 {
|
|
272
147
|
from {
|
|
273
148
|
transform: rotate(0deg);
|
|
274
149
|
}
|
|
275
|
-
|
|
276
150
|
to {
|
|
277
151
|
transform: rotate(360deg);
|
|
278
152
|
}
|
|
279
153
|
}
|
|
280
|
-
|
|
281
154
|
@keyframes sb-rotate360 {
|
|
282
155
|
from {
|
|
283
156
|
transform: rotate(0deg);
|
|
284
157
|
}
|
|
285
|
-
|
|
286
158
|
to {
|
|
287
159
|
transform: rotate(360deg);
|
|
288
160
|
}
|
|
289
161
|
}
|
|
290
|
-
|
|
291
162
|
@-webkit-keyframes sb-glow {
|
|
292
163
|
0%,
|
|
293
164
|
100% {
|
|
294
165
|
opacity: 1;
|
|
295
166
|
}
|
|
296
|
-
|
|
297
167
|
50% {
|
|
298
168
|
opacity: 0.4;
|
|
299
169
|
}
|
|
300
170
|
}
|
|
301
|
-
|
|
302
171
|
@keyframes sb-glow {
|
|
303
172
|
0%,
|
|
304
173
|
100% {
|
|
305
174
|
opacity: 1;
|
|
306
175
|
}
|
|
307
|
-
|
|
308
176
|
50% {
|
|
309
177
|
opacity: 0.4;
|
|
310
178
|
}
|
|
@@ -367,7 +235,6 @@
|
|
|
367
235
|
height: 14px;
|
|
368
236
|
width: 14px;
|
|
369
237
|
}
|
|
370
|
-
|
|
371
238
|
.sb-previewBlock_icon:last-child {
|
|
372
239
|
margin-left: auto;
|
|
373
240
|
}
|
|
@@ -389,28 +256,23 @@
|
|
|
389
256
|
text-align: left;
|
|
390
257
|
width: 100%;
|
|
391
258
|
}
|
|
392
|
-
|
|
393
259
|
.sb-argstableBlock th:first-of-type,
|
|
394
260
|
.sb-argstableBlock td:first-of-type {
|
|
395
261
|
padding-left: 20px;
|
|
396
262
|
}
|
|
397
|
-
|
|
398
263
|
.sb-argstableBlock th:nth-of-type(2),
|
|
399
264
|
.sb-argstableBlock td:nth-of-type(2) {
|
|
400
265
|
width: 35%;
|
|
401
266
|
}
|
|
402
|
-
|
|
403
267
|
.sb-argstableBlock th:nth-of-type(3),
|
|
404
268
|
.sb-argstableBlock td:nth-of-type(3) {
|
|
405
269
|
width: 15%;
|
|
406
270
|
}
|
|
407
|
-
|
|
408
271
|
.sb-argstableBlock th:last-of-type,
|
|
409
272
|
.sb-argstableBlock td:last-of-type {
|
|
410
273
|
width: 25%;
|
|
411
274
|
padding-right: 20px;
|
|
412
275
|
}
|
|
413
|
-
|
|
414
276
|
.sb-argstableBlock th span,
|
|
415
277
|
.sb-argstableBlock td span {
|
|
416
278
|
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
@@ -420,55 +282,43 @@
|
|
|
420
282
|
box-shadow: none;
|
|
421
283
|
color: transparent;
|
|
422
284
|
}
|
|
423
|
-
|
|
424
285
|
.sb-argstableBlock th {
|
|
425
286
|
padding: 10px 15px;
|
|
426
287
|
}
|
|
427
288
|
|
|
428
289
|
.sb-argstableBlock-body {
|
|
429
290
|
border-radius: 4px;
|
|
430
|
-
box-shadow:
|
|
431
|
-
rgba(0, 0, 0, 0.1) 0 1px 3px 1px,
|
|
432
|
-
rgba(0, 0, 0, 0.065) 0 0 0 1px;
|
|
291
|
+
box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 1px, rgba(0, 0, 0, 0.065) 0 0 0 1px;
|
|
433
292
|
}
|
|
434
|
-
|
|
435
293
|
.sb-argstableBlock-body tr {
|
|
436
294
|
background: transparent;
|
|
437
295
|
overflow: hidden;
|
|
438
296
|
}
|
|
439
|
-
|
|
440
297
|
.sb-argstableBlock-body tr:not(:first-child) {
|
|
441
298
|
border-top: 1px solid #e6e6e6;
|
|
442
299
|
}
|
|
443
|
-
|
|
444
300
|
.sb-argstableBlock-body tr:first-child td:first-child {
|
|
445
301
|
border-top-left-radius: 4px;
|
|
446
302
|
}
|
|
447
|
-
|
|
448
303
|
.sb-argstableBlock-body tr:first-child td:last-child {
|
|
449
304
|
border-top-right-radius: 4px;
|
|
450
305
|
}
|
|
451
|
-
|
|
452
306
|
.sb-argstableBlock-body tr:last-child td:first-child {
|
|
453
307
|
border-bottom-left-radius: 4px;
|
|
454
308
|
}
|
|
455
|
-
|
|
456
309
|
.sb-argstableBlock-body tr:last-child td:last-child {
|
|
457
310
|
border-bottom-right-radius: 4px;
|
|
458
311
|
}
|
|
459
|
-
|
|
460
312
|
.sb-argstableBlock-body td {
|
|
461
313
|
background: #fff;
|
|
462
314
|
padding-bottom: 10px;
|
|
463
315
|
padding-top: 10px;
|
|
464
316
|
vertical-align: top;
|
|
465
317
|
}
|
|
466
|
-
|
|
467
318
|
.sb-argstableBlock-body td:not(:first-of-type) {
|
|
468
319
|
padding-left: 15px;
|
|
469
320
|
padding-right: 15px;
|
|
470
321
|
}
|
|
471
|
-
|
|
472
322
|
.sb-argstableBlock-body button {
|
|
473
323
|
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
474
324
|
animation: sb-glow 1.5s ease-in-out infinite;
|
|
@@ -509,11 +359,11 @@
|
|
|
509
359
|
}
|
|
510
360
|
</script>
|
|
511
361
|
|
|
512
|
-
|
|
513
|
-
|
|
362
|
+
<script type="module" crossorigin src="./assets/iframe-BurE_SJm.js"></script>
|
|
363
|
+
</head>
|
|
514
364
|
|
|
515
|
-
|
|
516
|
-
|
|
365
|
+
<body>
|
|
366
|
+
<div class="sb-preparing-story sb-wrapper">
|
|
517
367
|
<div class="sb-loader"></div>
|
|
518
368
|
</div>
|
|
519
369
|
|
|
@@ -597,70 +447,12 @@
|
|
|
597
447
|
</div>
|
|
598
448
|
|
|
599
449
|
<div class="sb-errordisplay sb-wrapper">
|
|
600
|
-
<
|
|
601
|
-
|
|
602
|
-
<p>
|
|
603
|
-
The component failed to render properly, likely due to a configuration issue in Storybook.
|
|
604
|
-
Here are some common causes and how you can address them:
|
|
605
|
-
</p>
|
|
606
|
-
<ol>
|
|
607
|
-
<li>
|
|
608
|
-
<strong>Missing Context/Providers</strong>: You can use decorators to supply specific
|
|
609
|
-
contexts or providers, which are sometimes necessary for components to render correctly. For
|
|
610
|
-
detailed instructions on using decorators, please visit the
|
|
611
|
-
<a href="https://storybook.js.org/docs/writing-stories/decorators"
|
|
612
|
-
>Decorators documentation</a
|
|
613
|
-
>.
|
|
614
|
-
</li>
|
|
615
|
-
<li>
|
|
616
|
-
<strong>Misconfigured Webpack or Vite</strong>: Verify that Storybook picks up all necessary
|
|
617
|
-
settings for loaders, plugins, and other relevant parameters. You can find step-by-step
|
|
618
|
-
guides for configuring
|
|
619
|
-
<a href="https://storybook.js.org/docs/builders/webpack">Webpack</a> or
|
|
620
|
-
<a href="https://storybook.js.org/docs/builders/vite">Vite</a>
|
|
621
|
-
with Storybook.
|
|
622
|
-
</li>
|
|
623
|
-
<li>
|
|
624
|
-
<strong>Missing Environment Variables</strong>: Your Storybook may require specific
|
|
625
|
-
environment variables to function as intended. You can set up custom environment variables
|
|
626
|
-
as outlined in the
|
|
627
|
-
<a href="https://storybook.js.org/docs/configure/environment-variables"
|
|
628
|
-
>Environment Variables documentation</a
|
|
629
|
-
>.
|
|
630
|
-
</li>
|
|
631
|
-
</ol>
|
|
632
|
-
<pre class="sb-errordisplay_code"><code id="error-stack"></code></pre>
|
|
633
|
-
</div>
|
|
450
|
+
<pre id="error-message" class="sb-heading"></pre>
|
|
451
|
+
<pre class="sb-errordisplay_code"><code id="error-stack"></code></pre>
|
|
634
452
|
</div>
|
|
635
453
|
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
const hostname = globalThis.location.hostname;
|
|
642
|
-
if (hostname !== 'localhost' && globalThis.CONFIG_TYPE === 'DEVELOPMENT') {
|
|
643
|
-
const message = `Failed to load the Storybook preview file 'vite-app.js':
|
|
644
|
-
|
|
645
|
-
It looks like you're visiting the Storybook development server on another hostname than localhost: '${hostname}', but you haven't configured the necessary security features to support this.
|
|
646
|
-
Please re-run your Storybook development server with the '--host ${hostname}' flag, or manually configure your Vite allowedHosts configuration with viteFinal.
|
|
647
|
-
|
|
648
|
-
See:`;
|
|
649
|
-
const docs = [
|
|
650
|
-
'https://storybook.js.org/docs/api/cli-options#dev',
|
|
651
|
-
'https://storybook.js.org/docs/api/main-config/main-config-vite-final',
|
|
652
|
-
'https://vite.dev/config/server-options.html#server-allowedhosts',
|
|
653
|
-
];
|
|
654
|
-
console.error(`${message}\n${docs.map((doc) => `- ${doc}`).join('\n')}`);
|
|
655
|
-
|
|
656
|
-
document.getElementById('storybook-root').innerHTML =
|
|
657
|
-
`<p style="color: red; max-width: 70ch">${message.replaceAll(
|
|
658
|
-
'\n',
|
|
659
|
-
'<br/>'
|
|
660
|
-
)}<ul>${docs.map((doc) => `<li><a href='${doc}' target='_blank'>${doc}</a></li>`).join('')}<ul></p>`;
|
|
661
|
-
return;
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
</script>
|
|
665
|
-
</body>
|
|
666
|
-
</html>
|
|
454
|
+
<div id="storybook-root"></div>
|
|
455
|
+
<div id="storybook-docs"></div>
|
|
456
|
+
</body>
|
|
457
|
+
|
|
458
|
+
</html>
|
package/dist/index.d.ts
CHANGED
package/dist/index.html
CHANGED
|
@@ -3,56 +3,34 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
|
|
6
|
-
<title>@storybook/
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1
|
|
6
|
+
<title>@storybook/cli - Storybook</title>
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
|
|
11
11
|
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@font-face {
|
|
30
|
-
font-family: 'Nunito Sans';
|
|
31
|
-
font-style: normal;
|
|
32
|
-
font-weight: 700;
|
|
33
|
-
font-display: swap;
|
|
34
|
-
src: url('./sb-common-assets/nunito-sans-bold.woff2') format('woff2');
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@font-face {
|
|
38
|
-
font-family: 'Nunito Sans';
|
|
39
|
-
font-style: italic;
|
|
40
|
-
font-weight: 700;
|
|
41
|
-
font-display: swap;
|
|
42
|
-
src: url('./sb-common-assets/nunito-sans-bold-italic.woff2') format('woff2');
|
|
43
|
-
}
|
|
44
|
-
</style>
|
|
12
|
+
<link
|
|
13
|
+
rel="prefetch"
|
|
14
|
+
href="./sb-common-assets/nunito-sans-regular.woff2"
|
|
15
|
+
as="font"
|
|
16
|
+
type="font/woff2"
|
|
17
|
+
crossorigin
|
|
18
|
+
/>
|
|
19
|
+
<link
|
|
20
|
+
rel="prefetch"
|
|
21
|
+
href="./sb-common-assets/nunito-sans-bold.woff2"
|
|
22
|
+
as="font"
|
|
23
|
+
type="font/woff2"
|
|
24
|
+
crossorigin
|
|
25
|
+
/>
|
|
26
|
+
<link rel="stylesheet" href="./sb-common-assets/fonts.css" />
|
|
45
27
|
|
|
46
28
|
<link href="./sb-manager/runtime.js" rel="modulepreload" />
|
|
47
29
|
|
|
48
30
|
|
|
49
|
-
<link href="./sb-addons/
|
|
50
|
-
|
|
51
|
-
<link href="./sb-addons/actions-1/manager-bundle.js" rel="modulepreload" />
|
|
31
|
+
<link href="./sb-addons/actions-0/manager-bundle.js" rel="modulepreload" />
|
|
52
32
|
|
|
53
|
-
<link href="./sb-addons/
|
|
54
|
-
|
|
55
|
-
<link href="./sb-addons/storybook-dark-mode-esm-preset-3/manager-bundle.js" rel="modulepreload" />
|
|
33
|
+
<link href="./sb-addons/storybook-dark-mode-esm-preset-1/manager-bundle.js" rel="modulepreload" />
|
|
56
34
|
|
|
57
35
|
|
|
58
36
|
<style>
|
|
@@ -71,9 +49,12 @@
|
|
|
71
49
|
|
|
72
50
|
|
|
73
51
|
window['FEATURES'] = {
|
|
52
|
+
"warnOnLegacyHierarchySeparator": true,
|
|
53
|
+
"buildStoriesJson": false,
|
|
54
|
+
"storyStoreV7": true,
|
|
74
55
|
"argTypeTargetsV7": true,
|
|
75
56
|
"legacyDecoratorFileOrder": false,
|
|
76
|
-
"disallowImplicitActionsInRenderV8":
|
|
57
|
+
"disallowImplicitActionsInRenderV8": false
|
|
77
58
|
};
|
|
78
59
|
|
|
79
60
|
|
|
@@ -100,50 +81,19 @@
|
|
|
100
81
|
|
|
101
82
|
|
|
102
83
|
|
|
103
|
-
|
|
104
|
-
window['TAGS_OPTIONS'] = {
|
|
105
|
-
"dev-only": {
|
|
106
|
-
"excludeFromDocsStories": true
|
|
107
|
-
},
|
|
108
|
-
"docs-only": {
|
|
109
|
-
"excludeFromSidebar": true
|
|
110
|
-
},
|
|
111
|
-
"test-only": {
|
|
112
|
-
"excludeFromSidebar": true,
|
|
113
|
-
"excludeFromDocsStories": true
|
|
114
|
-
}
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
window['STORYBOOK_RENDERER'] = "react";
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
window['STORYBOOK_BUILDER'] = "@storybook/builder-vite";
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
window['STORYBOOK_FRAMEWORK'] = "@storybook/react-vite";
|
|
128
|
-
|
|
129
|
-
|
|
130
84
|
</script>
|
|
131
85
|
|
|
132
86
|
|
|
133
87
|
<script type="module">
|
|
134
|
-
import './sb-manager/
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
import './sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js';
|
|
138
|
-
|
|
139
|
-
import './sb-addons/actions-1/manager-bundle.js';
|
|
140
|
-
|
|
141
|
-
import './sb-addons/docs-2/manager-bundle.js';
|
|
88
|
+
import './sb-manager/runtime.js';
|
|
89
|
+
|
|
142
90
|
|
|
143
|
-
|
|
91
|
+
import './sb-addons/actions-0/manager-bundle.js';
|
|
144
92
|
|
|
93
|
+
import './sb-addons/storybook-dark-mode-esm-preset-1/manager-bundle.js';
|
|
145
94
|
|
|
146
|
-
import './sb-manager/runtime.js';
|
|
147
95
|
</script>
|
|
96
|
+
|
|
97
|
+
<link href="./sb-preview/runtime.js" rel="prefetch" as="script" />
|
|
148
98
|
</body>
|
|
149
|
-
</html>
|
|
99
|
+
</html>
|