react-miui 0.32.3 → 0.33.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/.claude/settings.local.json +8 -1
- package/.storybook/main.ts +4 -1
- package/CHANGELOG.md +7 -0
- package/dist/components/form/Checkbox.styled.d.ts +6 -6
- package/dist/components/form/ColorPicker.styled.d.ts +5 -5
- package/dist/components/form/Label.d.ts +3 -3
- package/dist/components/form/Label.styled.d.ts +5 -5
- package/dist/components/form/Select.styled.d.ts +3 -3
- package/dist/components/form/Toggle.d.ts +3 -3
- package/dist/components/form/Toggle.styled.d.ts +5 -5
- package/dist/components/form/choice/Choice.styled.d.ts +3 -3
- package/dist/components/form/choice/ChoiceItem.styled.d.ts +2 -2
- package/dist/components/form/input/Input.css.d.ts +47 -1
- package/dist/components/form/input/Input.css.d.ts.map +1 -1
- package/dist/components/form/input/Input.css.js +49 -1
- package/dist/components/form/input/Input.css.js.map +1 -1
- package/dist/components/form/input/Input.d.ts +5 -1
- package/dist/components/form/input/Input.d.ts.map +1 -1
- package/dist/components/form/input/Input.js +28 -5
- package/dist/components/form/input/Input.js.map +1 -1
- package/dist/components/form/input/Input.styled.d.ts +183 -10
- package/dist/components/form/input/Input.styled.d.ts.map +1 -1
- package/dist/components/form/input/Input.styled.js +5 -1
- package/dist/components/form/input/Input.styled.js.map +1 -1
- package/dist/components/form/textarea/TextArea.d.ts +6 -1
- package/dist/components/form/textarea/TextArea.d.ts.map +1 -1
- package/dist/components/form/textarea/TextArea.js +32 -4
- package/dist/components/form/textarea/TextArea.js.map +1 -1
- package/dist/components/form/textarea/TextArea.styled.d.ts +177 -4
- package/dist/components/form/textarea/TextArea.styled.d.ts.map +1 -1
- package/dist/components/form/textarea/TextArea.styled.js +10 -2
- package/dist/components/form/textarea/TextArea.styled.js.map +1 -1
- package/dist/components/layout/card/Card.styled.d.ts +3 -3
- package/dist/components/layout/header/Header.styled.d.ts +9 -9
- package/dist/components/layout/header/HeaderIconAction.styled.d.ts +8 -8
- package/dist/components/layout/header/StickyHeader.d.ts +3 -3
- package/dist/components/layout/header/StickyHeader.styled.d.ts +6 -6
- package/dist/components/layout/list/Header.d.ts +7 -7
- package/dist/components/layout/list/Item.d.ts +8 -8
- package/dist/components/layout/list/Item.styled.d.ts +9 -9
- package/dist/components/layout/list/Label.d.ts +2 -2
- package/dist/components/layout/list/List.d.ts +18 -18
- package/dist/components/layout/list/Value.d.ts +2 -2
- package/dist/components/layout/section/SearchContainer.d.ts +2 -2
- package/dist/components/layout/section/Section.d.ts +5 -5
- package/dist/components/layout/section/SectionContainer.d.ts +2 -2
- package/dist/components/layout/table/Table.styled.d.ts +3 -3
- package/dist/components/native/index.d.ts +2 -2
- package/dist/components/ui/action/Action.styled.d.ts +8 -8
- package/dist/components/ui/action/EqualActions.styled.d.ts +3 -3
- package/dist/components/ui/button/Button.styled.d.ts +3 -3
- package/dist/components/ui/directionPad/Button.styled.d.ts +4 -4
- package/dist/components/ui/directionPad/Middle.styled.d.ts +2 -2
- package/dist/components/ui/directionPad/Pad.styled.d.ts +4 -4
- package/dist/components/ui/drawer/Drawer.styled.d.ts +4 -4
- package/dist/components/ui/keyValue/KeyValue.styled.d.ts +13 -13
- package/dist/components/ui/line/Line.d.ts +3 -3
- package/dist/components/ui/message/Message.styled.d.ts +3 -3
- package/dist/components/ui/modal/Modal.d.ts +2 -2
- package/dist/components/ui/modal/Modal.d.ts.map +1 -1
- package/dist/components/ui/modal/Modal.js.map +1 -1
- package/dist/components/ui/modal/Modal.styled.d.ts +10 -10
- package/dist/components/ui/modal/ModalButtons.styled.d.ts +5 -5
- package/dist/components/ui/pop/Pop.styled.d.ts +12 -12
- package/dist/components/ui/progress/Progress.styled.d.ts +8 -8
- package/dist/components/ui/stats/Stats.styled.d.ts +11 -11
- package/dist/components/ui/tabs/Item.styled.d.ts +2 -2
- package/dist/components/ui/tabs/Selector.styled.d.ts +5 -5
- package/dist/components/ui/toaster/Toaster.d.ts +8 -15
- package/dist/components/ui/toaster/Toaster.d.ts.map +1 -1
- package/dist/components/ui/toaster/Toaster.js +25 -55
- package/dist/components/ui/toaster/Toaster.js.map +1 -1
- package/dist/components/ui/toolButton/ToolButton.styled.d.ts +3 -3
- package/dist/components/utils/Gap.d.ts +3 -3
- package/dist/components/utils/Spacer.d.ts +2 -2
- package/dist/theme.d.ts +86 -86
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/index.Pop.html +18 -18
- package/docs/documents/Test.html +2 -2
- package/docs/enums/index.ICON.html +2 -2
- package/docs/functions/index.Action.html +5 -5
- package/docs/functions/index.Button.html +5 -5
- package/docs/functions/index.Card.html +4 -4
- package/docs/functions/index.Checkbox.html +5 -5
- package/docs/functions/index.Choice.html +4 -4
- package/docs/functions/index.ColorPicker.html +5 -5
- package/docs/functions/index.CoveringLoader.html +5 -5
- package/docs/functions/index.DirectionPad.html +4 -4
- package/docs/functions/index.Drawer.html +4 -4
- package/docs/functions/index.EqualActions.html +4 -4
- package/docs/functions/index.FullLoader.html +5 -5
- package/docs/functions/index.Gap.html +4 -4
- package/docs/functions/index.HandleEsc.html +6 -6
- package/docs/functions/index.Header.html +5 -5
- package/docs/functions/index.HeaderIconAction.html +5 -5
- package/docs/functions/index.Icon-1.html +4 -4
- package/docs/functions/index.If.html +6 -6
- package/docs/functions/index.Input.html +1 -1
- package/docs/functions/index.KeyValue.html +4 -4
- package/docs/functions/index.Label.html +4 -4
- package/docs/functions/index.Line.html +5 -5
- package/docs/functions/index.List.html +4 -4
- package/docs/functions/index.Loader.html +5 -5
- package/docs/functions/index.Loading.html +6 -6
- package/docs/functions/index.Message.html +5 -5
- package/docs/functions/index.Modal.html +4 -4
- package/docs/functions/index.ModalButtons.html +4 -4
- package/docs/functions/index.PopLoader.html +5 -5
- package/docs/functions/index.PopOption.html +4 -4
- package/docs/functions/index.Progress.html +4 -4
- package/docs/functions/index.SearchContainer.html +4 -4
- package/docs/functions/index.Section.html +5 -5
- package/docs/functions/index.Select.html +4 -4
- package/docs/functions/index.Selector.html +4 -4
- package/docs/functions/index.Spacer.html +4 -4
- package/docs/functions/index.Stats.html +4 -4
- package/docs/functions/index.StickyHeader.html +5 -5
- package/docs/functions/index.Table.html +4 -4
- package/docs/functions/index.TextArea.html +4 -4
- package/docs/functions/index.ToasterProvider.html +29 -0
- package/docs/functions/index.Toggle.html +5 -5
- package/docs/functions/index.ToolButton.html +5 -5
- package/docs/functions/index.borderPxToRem.html +1 -1
- package/docs/functions/index.createTheme.html +1 -1
- package/docs/functions/index.css.html +1 -1
- package/docs/functions/index.dimensionsPxToRem.html +1 -1
- package/docs/functions/index.fontPxToRem.html +1 -1
- package/docs/functions/index.getCssText.html +1 -1
- package/docs/functions/index.globalCss.html +2 -2
- package/docs/functions/index.injectGlobalStyles.html +1 -1
- package/docs/functions/index.keyframes.html +1 -1
- package/docs/functions/index.pxToRem.html +1 -1
- package/docs/functions/index.styled.html +1 -1
- package/docs/functions/index.toast.html +12 -0
- package/docs/functions/index.useToaster.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/index.IconProps.html +2 -2
- package/docs/interfaces/index.InputCustomProps.html +7 -2
- package/docs/interfaces/index.LoaderProps.html +6 -6
- package/docs/interfaces/index.StickyHeaderProps.html +4 -4
- package/docs/interfaces/index.ToasterProviderProps.html +28 -0
- package/docs/modules/index.html +1 -1
- package/docs/modules.html +1 -1
- package/docs/types/index.ActionProps.html +1 -1
- package/docs/types/index.CardProps.html +1 -1
- package/docs/types/index.CheckboxProps.html +2 -2
- package/docs/types/index.ChoiceProps.html +1 -1
- package/docs/types/index.ColorPickerProps.html +1 -1
- package/docs/types/index.DirectionPadProps.html +1 -1
- package/docs/types/index.DrawerProps.html +1 -1
- package/docs/types/index.EqualActionsProps.html +1 -1
- package/docs/types/index.HeaderProps.html +1 -1
- package/docs/types/index.InputProps.html +1 -1
- package/docs/types/index.KeyValueProps.html +1 -1
- package/docs/types/index.LabelProps.html +1 -1
- package/docs/types/index.OverwriteProps.html +1 -1
- package/docs/types/index.ProgressProps.html +2 -2
- package/docs/types/index.SelectProps.html +1 -1
- package/docs/types/index.SelectorProps.html +1 -1
- package/docs/types/index.Stat.html +1 -1
- package/docs/types/index.StatsProps.html +1 -1
- package/docs/types/index.TextAreaProps.html +1 -1
- package/docs/types/index.ThemeCSS.html +1 -1
- package/docs/types/index.ToggleProps.html +2 -2
- package/docs/variables/index.ActionBadgeSelector.html +1 -1
- package/docs/variables/index.ActionCircleSelector.html +1 -1
- package/docs/variables/index.CheckboxCheckmarkWrapperSelector.html +1 -1
- package/docs/variables/index.CheckboxTextLabelSelector.html +1 -1
- package/docs/variables/index.ChoiceItemSelector.html +1 -1
- package/docs/variables/index.ColorPickerColorDisplaySelector.html +1 -1
- package/docs/variables/index.DirectionPadButtonDotSelector.html +1 -1
- package/docs/variables/index.DirectionPadButtonSelector.html +1 -1
- package/docs/variables/index.DirectionPadLineSelector.html +1 -1
- package/docs/variables/index.DirectionPadMiddleSelector.html +1 -1
- package/docs/variables/index.DrawerContentSelector.html +1 -1
- package/docs/variables/index.HeaderAfterSelector.html +1 -1
- package/docs/variables/index.HeaderBeforeSelector.html +1 -1
- package/docs/variables/index.HeaderContentsSelector.html +1 -1
- package/docs/variables/index.HeaderIconActionIconSelector.html +1 -1
- package/docs/variables/index.InputContainerSelector.html +1 -0
- package/docs/variables/index.InputInputSelector.html +1 -1
- package/docs/variables/index.InputLabelSelector.html +1 -0
- package/docs/variables/index.InputPrefixSelector.html +1 -1
- package/docs/variables/index.InputSuffixSelector.html +1 -1
- package/docs/variables/index.KeyValueIconSelector.html +1 -1
- package/docs/variables/index.KeyValueItemSelector.html +1 -1
- package/docs/variables/index.KeyValueKeySelector.html +1 -1
- package/docs/variables/index.KeyValuePairSelector.html +1 -1
- package/docs/variables/index.KeyValueValueSelector.html +1 -1
- package/docs/variables/index.LabelTextSelector.html +1 -1
- package/docs/variables/index.ListItemInnerContainerClassNameSelector.html +1 -1
- package/docs/variables/index.ModalContainerSelector.html +1 -1
- package/docs/variables/index.ModalRemovePaddingSelector.html +1 -1
- package/docs/variables/index.ModalTitleSelector.html +1 -1
- package/docs/variables/index.PopListSelector.html +1 -1
- package/docs/variables/index.PopOptionButtonSelector.html +1 -1
- package/docs/variables/index.PopOptionIconSelector.html +1 -1
- package/docs/variables/index.PopOverlaySelector.html +1 -1
- package/docs/variables/index.ProgressBackgroundSelector.html +1 -1
- package/docs/variables/index.ProgressValueSelector.html +1 -1
- package/docs/variables/index.SelectorItemSelector.html +1 -1
- package/docs/variables/index.StatsItemSelector.html +1 -1
- package/docs/variables/index.StatsLabelSelector.html +1 -1
- package/docs/variables/index.StatsSeparatorSelector.html +1 -1
- package/docs/variables/index.StatsValueSelector.html +1 -1
- package/docs/variables/index.TextAreaLabelSelector.html +1 -0
- package/docs/variables/index.TextAreaTextAreaSelector.html +1 -0
- package/docs/variables/index.TextAreaWrapperSelector.html +1 -0
- package/docs/variables/index.ToggleStyledToggleSelector.html +1 -1
- package/docs/variables/index.config.html +1 -1
- package/docs/variables/index.cssReset.html +2 -2
- package/docs/variables/index.darkTheme.html +1 -1
- package/docs/variables/index.miuiScrollbars.html +1 -1
- package/docs/variables/index.theme.html +1 -1
- package/esm/components/form/Checkbox.styled.d.ts +6 -6
- package/esm/components/form/ColorPicker.styled.d.ts +5 -5
- package/esm/components/form/Label.d.ts +3 -3
- package/esm/components/form/Label.styled.d.ts +5 -5
- package/esm/components/form/Select.styled.d.ts +3 -3
- package/esm/components/form/Toggle.d.ts +3 -3
- package/esm/components/form/Toggle.styled.d.ts +5 -5
- package/esm/components/form/choice/Choice.styled.d.ts +3 -3
- package/esm/components/form/choice/ChoiceItem.styled.d.ts +2 -2
- package/esm/components/form/input/Input.css.d.ts +47 -1
- package/esm/components/form/input/Input.css.d.ts.map +1 -1
- package/esm/components/form/input/Input.css.js +47 -1
- package/esm/components/form/input/Input.css.js.map +1 -1
- package/esm/components/form/input/Input.d.ts +5 -1
- package/esm/components/form/input/Input.d.ts.map +1 -1
- package/esm/components/form/input/Input.js +27 -6
- package/esm/components/form/input/Input.js.map +1 -1
- package/esm/components/form/input/Input.styled.d.ts +183 -10
- package/esm/components/form/input/Input.styled.d.ts.map +1 -1
- package/esm/components/form/input/Input.styled.js +4 -2
- package/esm/components/form/input/Input.styled.js.map +1 -1
- package/esm/components/form/textarea/TextArea.d.ts +6 -1
- package/esm/components/form/textarea/TextArea.d.ts.map +1 -1
- package/esm/components/form/textarea/TextArea.js +31 -6
- package/esm/components/form/textarea/TextArea.js.map +1 -1
- package/esm/components/form/textarea/TextArea.styled.d.ts +177 -4
- package/esm/components/form/textarea/TextArea.styled.d.ts.map +1 -1
- package/esm/components/form/textarea/TextArea.styled.js +14 -4
- package/esm/components/form/textarea/TextArea.styled.js.map +1 -1
- package/esm/components/layout/card/Card.styled.d.ts +3 -3
- package/esm/components/layout/header/Header.styled.d.ts +9 -9
- package/esm/components/layout/header/HeaderIconAction.styled.d.ts +8 -8
- package/esm/components/layout/header/StickyHeader.d.ts +3 -3
- package/esm/components/layout/header/StickyHeader.styled.d.ts +6 -6
- package/esm/components/layout/list/Header.d.ts +7 -7
- package/esm/components/layout/list/Item.d.ts +8 -8
- package/esm/components/layout/list/Item.styled.d.ts +9 -9
- package/esm/components/layout/list/Label.d.ts +2 -2
- package/esm/components/layout/list/List.d.ts +18 -18
- package/esm/components/layout/list/Value.d.ts +2 -2
- package/esm/components/layout/section/SearchContainer.d.ts +2 -2
- package/esm/components/layout/section/Section.d.ts +5 -5
- package/esm/components/layout/section/SectionContainer.d.ts +2 -2
- package/esm/components/layout/table/Table.styled.d.ts +3 -3
- package/esm/components/native/index.d.ts +2 -2
- package/esm/components/ui/action/Action.styled.d.ts +8 -8
- package/esm/components/ui/action/EqualActions.styled.d.ts +3 -3
- package/esm/components/ui/button/Button.styled.d.ts +3 -3
- package/esm/components/ui/directionPad/Button.styled.d.ts +4 -4
- package/esm/components/ui/directionPad/Middle.styled.d.ts +2 -2
- package/esm/components/ui/directionPad/Pad.styled.d.ts +4 -4
- package/esm/components/ui/drawer/Drawer.styled.d.ts +4 -4
- package/esm/components/ui/keyValue/KeyValue.styled.d.ts +13 -13
- package/esm/components/ui/line/Line.d.ts +3 -3
- package/esm/components/ui/message/Message.styled.d.ts +3 -3
- package/esm/components/ui/modal/Modal.d.ts +2 -2
- package/esm/components/ui/modal/Modal.d.ts.map +1 -1
- package/esm/components/ui/modal/Modal.js.map +1 -1
- package/esm/components/ui/modal/Modal.styled.d.ts +10 -10
- package/esm/components/ui/modal/ModalButtons.styled.d.ts +5 -5
- package/esm/components/ui/pop/Pop.styled.d.ts +12 -12
- package/esm/components/ui/progress/Progress.styled.d.ts +8 -8
- package/esm/components/ui/stats/Stats.styled.d.ts +11 -11
- package/esm/components/ui/tabs/Item.styled.d.ts +2 -2
- package/esm/components/ui/tabs/Selector.styled.d.ts +5 -5
- package/esm/components/ui/toaster/Toaster.d.ts +8 -15
- package/esm/components/ui/toaster/Toaster.d.ts.map +1 -1
- package/esm/components/ui/toaster/Toaster.js +13 -74
- package/esm/components/ui/toaster/Toaster.js.map +1 -1
- package/esm/components/ui/toolButton/ToolButton.styled.d.ts +3 -3
- package/esm/components/utils/Gap.d.ts +3 -3
- package/esm/components/utils/Spacer.d.ts +2 -2
- package/esm/theme.d.ts +86 -86
- package/package.json +21 -20
- package/patches/{@stitches+react+1.2.8.patch → @stitches__react@1.2.8.patch} +6 -6
- package/src/components/form/input/Input.css.ts +52 -0
- package/src/components/form/input/Input.stories.tsx +32 -1
- package/src/components/form/input/Input.styled.ts +7 -1
- package/src/components/form/input/Input.tsx +67 -13
- package/src/components/form/textarea/TextArea.stories.tsx +25 -1
- package/src/components/form/textarea/TextArea.styled.ts +17 -3
- package/src/components/form/textarea/TextArea.tsx +76 -12
- package/src/components/ui/modal/Modal.tsx +0 -1
- package/src/components/ui/modal/ModalButtons.stories.tsx +3 -3
- package/src/components/ui/toaster/Toaster.stories.tsx +160 -30
- package/src/components/ui/toaster/Toaster.tsx +24 -100
- package/storybook-static/assets/Action.stories-DBtNlWQo.js +1 -0
- package/storybook-static/assets/Button.stories-DFO8nsTN.js +1 -0
- package/storybook-static/assets/Card.stories-BoCt66U4.js +1 -0
- package/storybook-static/assets/Checkbox.stories-C58YeH4u.js +1 -0
- package/storybook-static/assets/Choice.stories-Cf7UbPxn.js +1 -0
- package/storybook-static/assets/Color-23OOGO2C-CELuW8GR.js +1 -0
- package/storybook-static/assets/ColorPicker.stories-Dc7-AuPQ.js +1 -0
- package/storybook-static/assets/CoveringLoader.stories-DrUQAhI6.js +1 -0
- package/storybook-static/assets/DocsRenderer-LL677BLK-BOcEjZ28.js +755 -0
- package/storybook-static/assets/Drawer.stories-D3_-TuT0.js +1 -0
- package/storybook-static/assets/EqualActions.stories-CwjZlkUA.js +1 -0
- package/storybook-static/assets/FullLoader.stories-DFAaVMfI.js +1 -0
- package/storybook-static/assets/Header.stories-BN7BuQx2.js +1 -0
- package/storybook-static/assets/Header.stories-CzPBNEkp.js +1 -0
- package/storybook-static/assets/HeaderIconAction.stories-Dm3Q-BVW.js +1 -0
- package/storybook-static/assets/Icon.stories-D1YeVBlB.js +1 -0
- package/storybook-static/assets/Input.stories-Cbj2X3kT.js +197 -0
- package/storybook-static/assets/Item.stories-CmjyxdgQ.js +1 -0
- package/storybook-static/assets/KeyValue.stories-CogaZP09.js +1 -0
- package/storybook-static/assets/Label.stories-B6pCT45X.js +1 -0
- package/storybook-static/assets/Label.stories-BR3gNHqM.js +1 -0
- package/storybook-static/assets/Line.stories-BJLer7gg.js +1 -0
- package/storybook-static/assets/List.stories-MSQY1Rdo.js +1 -0
- package/storybook-static/assets/Loader.stories-CbN84qNp.js +1 -0
- package/storybook-static/assets/Loading.stories-BOANGXsc.js +1 -0
- package/storybook-static/assets/Message.stories-_51K9ZDn.js +1 -0
- package/storybook-static/assets/Modal.stories-CixfvMuM.js +1 -0
- package/storybook-static/assets/ModalButtons.stories-DHHsnoGB.js +1 -0
- package/storybook-static/assets/Pad.stories-hrKerezi.js +1 -0
- package/storybook-static/assets/Pop.stories-BTlQGve1.js +1 -0
- package/storybook-static/assets/PopLoader.stories-CyskY4fX.js +1 -0
- package/storybook-static/assets/Progress.stories-BLMPF6Ju.js +1 -0
- package/storybook-static/assets/Section.stories-M-QRH2_i.js +1 -0
- package/storybook-static/assets/Select.stories-BJjJqLTa.js +1 -0
- package/storybook-static/assets/Selector.stories-BxHyFnYo.js +1 -0
- package/storybook-static/assets/Stats.stories-VB0pi5k5.js +1 -0
- package/storybook-static/assets/StickyHeader.stories-BnxgnjJW.js +3 -0
- package/storybook-static/assets/Table.stories-6F-WrDBs.js +1 -0
- package/storybook-static/assets/TextArea.stories-DqzHYgIv.js +1 -0
- package/storybook-static/assets/Toaster.stories-C0ktk0DW.js +1 -0
- package/storybook-static/assets/Toggle.stories-tBlD8SJi.js +1 -0
- package/storybook-static/assets/ToolButton.stories-0rGBGqAt.js +1 -0
- package/storybook-static/assets/Value.stories-CFT20m8r.js +1 -0
- package/storybook-static/assets/WithTooltip-65CFNBJE-CEiAC9o_.js +9 -0
- package/storybook-static/assets/formatter-EIJCOSYU-3FZOx6vn.js +1 -0
- package/storybook-static/assets/iframe-DvhcA1iZ.js +1244 -0
- package/storybook-static/assets/preload-helper-PPVm8Dsz.js +1 -0
- package/storybook-static/assets/react-18-oqx706Mo.js +1 -0
- package/storybook-static/assets/syntaxhighlighter-W7WJGI2T-D7f2o1Z3.js +6 -0
- package/storybook-static/favicon-wrapper.svg +46 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/iframe.html +709 -0
- package/storybook-static/index.html +146 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/sb-addons/docs-1/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/onboarding-2/manager-bundle.js +97 -0
- package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +630 -0
- package/storybook-static/sb-common-assets/favicon-wrapper.svg +46 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-runtime.js +76749 -0
- package/storybook-static/sb-manager/globals.js +24 -0
- package/storybook-static/sb-manager/manager-stores.js +23 -0
- package/storybook-static/sb-manager/runtime.js +27463 -0
- package/storybook-static/vite-inject-mocker-entry.js +2 -0
- package/dist/components/ui/toaster/Notification.d.ts +0 -9
- package/dist/components/ui/toaster/Notification.d.ts.map +0 -1
- package/dist/components/ui/toaster/Notification.js +0 -53
- package/dist/components/ui/toaster/Notification.js.map +0 -1
- package/dist/components/ui/toaster/Toaster.styled.d.ts +0 -89
- package/dist/components/ui/toaster/Toaster.styled.d.ts.map +0 -1
- package/dist/components/ui/toaster/Toaster.styled.js +0 -39
- package/dist/components/ui/toaster/Toaster.styled.js.map +0 -1
- package/dist/components/ui/toaster/types.d.ts +0 -7
- package/dist/components/ui/toaster/types.d.ts.map +0 -1
- package/dist/components/ui/toaster/types.js +0 -3
- package/dist/components/ui/toaster/types.js.map +0 -1
- package/docs/classes/index.ToasterProvider.html +0 -120
- package/esm/components/form/Checkbox.stories.d.ts +0 -9
- package/esm/components/form/Checkbox.stories.d.ts.map +0 -1
- package/esm/components/form/Checkbox.stories.js +0 -80
- package/esm/components/form/Checkbox.stories.js.map +0 -1
- package/esm/components/form/ColorPicker.stories.d.ts +0 -10
- package/esm/components/form/ColorPicker.stories.d.ts.map +0 -1
- package/esm/components/form/ColorPicker.stories.js +0 -75
- package/esm/components/form/ColorPicker.stories.js.map +0 -1
- package/esm/components/form/Label.stories.d.ts +0 -11
- package/esm/components/form/Label.stories.d.ts.map +0 -1
- package/esm/components/form/Label.stories.js +0 -43
- package/esm/components/form/Label.stories.js.map +0 -1
- package/esm/components/form/Select.stories.d.ts +0 -8
- package/esm/components/form/Select.stories.d.ts.map +0 -1
- package/esm/components/form/Select.stories.js +0 -24
- package/esm/components/form/Select.stories.js.map +0 -1
- package/esm/components/form/Toggle.stories.d.ts +0 -14
- package/esm/components/form/Toggle.stories.d.ts.map +0 -1
- package/esm/components/form/Toggle.stories.js +0 -76
- package/esm/components/form/Toggle.stories.js.map +0 -1
- package/esm/components/form/choice/Choice.stories.d.ts +0 -10
- package/esm/components/form/choice/Choice.stories.d.ts.map +0 -1
- package/esm/components/form/choice/Choice.stories.js +0 -80
- package/esm/components/form/choice/Choice.stories.js.map +0 -1
- package/esm/components/form/input/Input.stories.d.ts +0 -10
- package/esm/components/form/input/Input.stories.d.ts.map +0 -1
- package/esm/components/form/input/Input.stories.js +0 -54
- package/esm/components/form/input/Input.stories.js.map +0 -1
- package/esm/components/form/textarea/TextArea.stories.d.ts +0 -8
- package/esm/components/form/textarea/TextArea.stories.d.ts.map +0 -1
- package/esm/components/form/textarea/TextArea.stories.js +0 -19
- package/esm/components/form/textarea/TextArea.stories.js.map +0 -1
- package/esm/components/icons/Icon.stories.d.ts +0 -10
- package/esm/components/icons/Icon.stories.d.ts.map +0 -1
- package/esm/components/icons/Icon.stories.js +0 -49
- package/esm/components/icons/Icon.stories.js.map +0 -1
- package/esm/components/layout/card/Card.stories.d.ts +0 -11
- package/esm/components/layout/card/Card.stories.d.ts.map +0 -1
- package/esm/components/layout/card/Card.stories.js +0 -39
- package/esm/components/layout/card/Card.stories.js.map +0 -1
- package/esm/components/layout/header/Header.stories.d.ts +0 -11
- package/esm/components/layout/header/Header.stories.d.ts.map +0 -1
- package/esm/components/layout/header/Header.stories.js +0 -56
- package/esm/components/layout/header/Header.stories.js.map +0 -1
- package/esm/components/layout/header/HeaderIconAction.stories.d.ts +0 -10
- package/esm/components/layout/header/HeaderIconAction.stories.d.ts.map +0 -1
- package/esm/components/layout/header/HeaderIconAction.stories.js +0 -43
- package/esm/components/layout/header/HeaderIconAction.stories.js.map +0 -1
- package/esm/components/layout/header/StickyHeader.stories.d.ts +0 -9
- package/esm/components/layout/header/StickyHeader.stories.d.ts.map +0 -1
- package/esm/components/layout/header/StickyHeader.stories.js +0 -60
- package/esm/components/layout/header/StickyHeader.stories.js.map +0 -1
- package/esm/components/layout/list/Header.stories.d.ts +0 -8
- package/esm/components/layout/list/Header.stories.d.ts.map +0 -1
- package/esm/components/layout/list/Header.stories.js +0 -27
- package/esm/components/layout/list/Header.stories.js.map +0 -1
- package/esm/components/layout/list/Item.stories.d.ts +0 -11
- package/esm/components/layout/list/Item.stories.d.ts.map +0 -1
- package/esm/components/layout/list/Item.stories.js +0 -98
- package/esm/components/layout/list/Item.stories.js.map +0 -1
- package/esm/components/layout/list/Label.stories.d.ts +0 -8
- package/esm/components/layout/list/Label.stories.d.ts.map +0 -1
- package/esm/components/layout/list/Label.stories.js +0 -29
- package/esm/components/layout/list/Label.stories.js.map +0 -1
- package/esm/components/layout/list/List.stories.d.ts +0 -9
- package/esm/components/layout/list/List.stories.d.ts.map +0 -1
- package/esm/components/layout/list/List.stories.js +0 -46
- package/esm/components/layout/list/List.stories.js.map +0 -1
- package/esm/components/layout/list/Value.stories.d.ts +0 -8
- package/esm/components/layout/list/Value.stories.d.ts.map +0 -1
- package/esm/components/layout/list/Value.stories.js +0 -23
- package/esm/components/layout/list/Value.stories.js.map +0 -1
- package/esm/components/layout/section/Section.stories.d.ts +0 -8
- package/esm/components/layout/section/Section.stories.d.ts.map +0 -1
- package/esm/components/layout/section/Section.stories.js +0 -31
- package/esm/components/layout/section/Section.stories.js.map +0 -1
- package/esm/components/layout/table/Table.stories.d.ts +0 -8
- package/esm/components/layout/table/Table.stories.d.ts.map +0 -1
- package/esm/components/layout/table/Table.stories.js +0 -49
- package/esm/components/layout/table/Table.stories.js.map +0 -1
- package/esm/components/ui/action/Action.stories.d.ts +0 -11
- package/esm/components/ui/action/Action.stories.d.ts.map +0 -1
- package/esm/components/ui/action/Action.stories.js +0 -58
- package/esm/components/ui/action/Action.stories.js.map +0 -1
- package/esm/components/ui/action/EqualActions.stories.d.ts +0 -10
- package/esm/components/ui/action/EqualActions.stories.d.ts.map +0 -1
- package/esm/components/ui/action/EqualActions.stories.js +0 -38
- package/esm/components/ui/action/EqualActions.stories.js.map +0 -1
- package/esm/components/ui/button/Button.stories.d.ts +0 -9
- package/esm/components/ui/button/Button.stories.d.ts.map +0 -1
- package/esm/components/ui/button/Button.stories.js +0 -35
- package/esm/components/ui/button/Button.stories.js.map +0 -1
- package/esm/components/ui/directionPad/Pad.stories.d.ts +0 -10
- package/esm/components/ui/directionPad/Pad.stories.d.ts.map +0 -1
- package/esm/components/ui/directionPad/Pad.stories.js +0 -79
- package/esm/components/ui/directionPad/Pad.stories.js.map +0 -1
- package/esm/components/ui/drawer/Drawer.stories.d.ts +0 -11
- package/esm/components/ui/drawer/Drawer.stories.d.ts.map +0 -1
- package/esm/components/ui/drawer/Drawer.stories.js +0 -102
- package/esm/components/ui/drawer/Drawer.stories.js.map +0 -1
- package/esm/components/ui/keyValue/KeyValue.stories.d.ts +0 -11
- package/esm/components/ui/keyValue/KeyValue.stories.d.ts.map +0 -1
- package/esm/components/ui/keyValue/KeyValue.stories.js +0 -98
- package/esm/components/ui/keyValue/KeyValue.stories.js.map +0 -1
- package/esm/components/ui/line/Line.stories.d.ts +0 -8
- package/esm/components/ui/line/Line.stories.d.ts.map +0 -1
- package/esm/components/ui/line/Line.stories.js +0 -27
- package/esm/components/ui/line/Line.stories.js.map +0 -1
- package/esm/components/ui/loader/CoveringLoader.stories.d.ts +0 -8
- package/esm/components/ui/loader/CoveringLoader.stories.d.ts.map +0 -1
- package/esm/components/ui/loader/CoveringLoader.stories.js +0 -50
- package/esm/components/ui/loader/CoveringLoader.stories.js.map +0 -1
- package/esm/components/ui/loader/FullLoader.stories.d.ts +0 -8
- package/esm/components/ui/loader/FullLoader.stories.d.ts.map +0 -1
- package/esm/components/ui/loader/FullLoader.stories.js +0 -19
- package/esm/components/ui/loader/FullLoader.stories.js.map +0 -1
- package/esm/components/ui/loader/Loader.stories.d.ts +0 -8
- package/esm/components/ui/loader/Loader.stories.d.ts.map +0 -1
- package/esm/components/ui/loader/Loader.stories.js +0 -23
- package/esm/components/ui/loader/Loader.stories.js.map +0 -1
- package/esm/components/ui/loader/Loading.stories.d.ts +0 -8
- package/esm/components/ui/loader/Loading.stories.d.ts.map +0 -1
- package/esm/components/ui/loader/Loading.stories.js +0 -32
- package/esm/components/ui/loader/Loading.stories.js.map +0 -1
- package/esm/components/ui/loader/PopLoader.stories.d.ts +0 -8
- package/esm/components/ui/loader/PopLoader.stories.d.ts.map +0 -1
- package/esm/components/ui/loader/PopLoader.stories.js +0 -24
- package/esm/components/ui/loader/PopLoader.stories.js.map +0 -1
- package/esm/components/ui/message/Message.stories.d.ts +0 -9
- package/esm/components/ui/message/Message.stories.d.ts.map +0 -1
- package/esm/components/ui/message/Message.stories.js +0 -43
- package/esm/components/ui/message/Message.stories.js.map +0 -1
- package/esm/components/ui/modal/Modal.stories.d.ts +0 -10
- package/esm/components/ui/modal/Modal.stories.d.ts.map +0 -1
- package/esm/components/ui/modal/Modal.stories.js +0 -84
- package/esm/components/ui/modal/Modal.stories.js.map +0 -1
- package/esm/components/ui/modal/ModalButtons.stories.d.ts +0 -8
- package/esm/components/ui/modal/ModalButtons.stories.d.ts.map +0 -1
- package/esm/components/ui/modal/ModalButtons.stories.js +0 -19
- package/esm/components/ui/modal/ModalButtons.stories.js.map +0 -1
- package/esm/components/ui/pop/Pop.stories.d.ts +0 -8
- package/esm/components/ui/pop/Pop.stories.d.ts.map +0 -1
- package/esm/components/ui/pop/Pop.stories.js +0 -65
- package/esm/components/ui/pop/Pop.stories.js.map +0 -1
- package/esm/components/ui/progress/Progress.stories.d.ts +0 -9
- package/esm/components/ui/progress/Progress.stories.d.ts.map +0 -1
- package/esm/components/ui/progress/Progress.stories.js +0 -29
- package/esm/components/ui/progress/Progress.stories.js.map +0 -1
- package/esm/components/ui/stats/Stats.stories.d.ts +0 -11
- package/esm/components/ui/stats/Stats.stories.d.ts.map +0 -1
- package/esm/components/ui/stats/Stats.stories.js +0 -104
- package/esm/components/ui/stats/Stats.stories.js.map +0 -1
- package/esm/components/ui/tabs/Selector.stories.d.ts +0 -12
- package/esm/components/ui/tabs/Selector.stories.d.ts.map +0 -1
- package/esm/components/ui/tabs/Selector.stories.js +0 -110
- package/esm/components/ui/tabs/Selector.stories.js.map +0 -1
- package/esm/components/ui/toaster/Notification.d.ts +0 -9
- package/esm/components/ui/toaster/Notification.d.ts.map +0 -1
- package/esm/components/ui/toaster/Notification.js +0 -17
- package/esm/components/ui/toaster/Notification.js.map +0 -1
- package/esm/components/ui/toaster/Toaster.stories.d.ts +0 -7
- package/esm/components/ui/toaster/Toaster.stories.d.ts.map +0 -1
- package/esm/components/ui/toaster/Toaster.stories.js +0 -39
- package/esm/components/ui/toaster/Toaster.stories.js.map +0 -1
- package/esm/components/ui/toaster/Toaster.styled.d.ts +0 -89
- package/esm/components/ui/toaster/Toaster.styled.d.ts.map +0 -1
- package/esm/components/ui/toaster/Toaster.styled.js +0 -36
- package/esm/components/ui/toaster/Toaster.styled.js.map +0 -1
- package/esm/components/ui/toaster/types.d.ts +0 -7
- package/esm/components/ui/toaster/types.d.ts.map +0 -1
- package/esm/components/ui/toaster/types.js +0 -2
- package/esm/components/ui/toaster/types.js.map +0 -1
- package/esm/components/ui/toolButton/ToolButton.stories.d.ts +0 -8
- package/esm/components/ui/toolButton/ToolButton.stories.d.ts.map +0 -1
- package/esm/components/ui/toolButton/ToolButton.stories.js +0 -29
- package/esm/components/ui/toolButton/ToolButton.stories.js.map +0 -1
- package/src/components/ui/toaster/Notification.tsx +0 -39
- package/src/components/ui/toaster/Toaster.styled.ts +0 -42
- package/src/components/ui/toaster/types.ts +0 -9
|
@@ -0,0 +1,709 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<!--suppress HtmlUnknownTarget -->
|
|
3
|
+
<html lang="en">
|
|
4
|
+
<head><script type="module" src="./vite-inject-mocker-entry.js"></script>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<title>Storybook</title>
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
+
|
|
9
|
+
<style>
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'Nunito Sans';
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
src: url('./sb-common-assets/nunito-sans-regular.woff2') format('woff2');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'Nunito Sans';
|
|
20
|
+
font-style: italic;
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
font-display: swap;
|
|
23
|
+
src: url('./sb-common-assets/nunito-sans-italic.woff2') format('woff2');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: 'Nunito Sans';
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-weight: 700;
|
|
30
|
+
font-display: swap;
|
|
31
|
+
src: url('./sb-common-assets/nunito-sans-bold.woff2') format('woff2');
|
|
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 = {"actions":true,"argTypeTargetsV7":true,"backgrounds":true,"changeDetection":true,"componentsManifest":false,"controls":true,"disallowImplicitActionsInRenderV8":true,"highlight":true,"interactions":true,"legacyDecoratorFileOrder":false,"measure":true,"outline":true,"sidebarOnboardingChecklist":true,"viewport":true};
|
|
49
|
+
window.STORIES = [{"titlePrefix":"","directory":"./src","files":"**/*.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|mjs|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|mjs|ts|tsx))$"}];
|
|
50
|
+
window.DOCS_OPTIONS = {"defaultName":"Docs"};
|
|
51
|
+
window.TAGS_OPTIONS = {};
|
|
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" />
|
|
61
|
+
|
|
62
|
+
<style>
|
|
63
|
+
/* While we aren't showing the main block yet, but still preparing, we want everything the user has rendered, which may or may not be in #storybook-root, to be display none */
|
|
64
|
+
.sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.sb-show-preparing-docs:not(.sb-show-main) > :not(.sb-preparing-docs) {
|
|
69
|
+
display: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* Hide our own blocks when we aren't supposed to be showing them */
|
|
73
|
+
:not(.sb-show-preparing-story) > .sb-preparing-story,
|
|
74
|
+
:not(.sb-show-preparing-docs) > .sb-preparing-docs,
|
|
75
|
+
:not(.sb-show-nopreview) > .sb-nopreview,
|
|
76
|
+
:not(.sb-show-errordisplay) > .sb-errordisplay {
|
|
77
|
+
display: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.sb-show-main.sb-main-centered {
|
|
81
|
+
margin: 0;
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
min-height: 100vh;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.sb-show-main.sb-main-centered #storybook-root {
|
|
88
|
+
box-sizing: border-box;
|
|
89
|
+
margin: auto;
|
|
90
|
+
padding: 1rem;
|
|
91
|
+
max-height: 100%;
|
|
92
|
+
/* Hack for centering correctly in IE11 */
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Vertical centering fix for IE11 */
|
|
96
|
+
@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
97
|
+
.sb-show-main.sb-main-centered:after {
|
|
98
|
+
content: '';
|
|
99
|
+
min-height: inherit;
|
|
100
|
+
font-size: 0;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.sb-show-main.sb-main-fullscreen {
|
|
105
|
+
margin: 0;
|
|
106
|
+
padding: 0;
|
|
107
|
+
display: block;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.sb-show-main.sb-main-padded {
|
|
111
|
+
margin: 0;
|
|
112
|
+
padding: 1rem;
|
|
113
|
+
display: block;
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.sb-wrapper {
|
|
118
|
+
position: fixed;
|
|
119
|
+
top: 0;
|
|
120
|
+
bottom: 0;
|
|
121
|
+
left: 0;
|
|
122
|
+
right: 0;
|
|
123
|
+
box-sizing: border-box;
|
|
124
|
+
|
|
125
|
+
padding: 40px;
|
|
126
|
+
font-family:
|
|
127
|
+
'Nunito Sans',
|
|
128
|
+
-apple-system,
|
|
129
|
+
'.SFNSText-Regular',
|
|
130
|
+
'San Francisco',
|
|
131
|
+
BlinkMacSystemFont,
|
|
132
|
+
'Segoe UI',
|
|
133
|
+
'Helvetica Neue',
|
|
134
|
+
Helvetica,
|
|
135
|
+
Arial,
|
|
136
|
+
sans-serif;
|
|
137
|
+
-webkit-font-smoothing: antialiased;
|
|
138
|
+
overflow: auto;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@media (max-width: 700px) {
|
|
142
|
+
.sb-wrapper {
|
|
143
|
+
padding: 20px;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@media (max-width: 500px) {
|
|
148
|
+
.sb-wrapper {
|
|
149
|
+
padding: 10px;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.sb-heading {
|
|
154
|
+
font-size: 14px;
|
|
155
|
+
font-weight: 600;
|
|
156
|
+
letter-spacing: 0.2px;
|
|
157
|
+
margin: 10px 0;
|
|
158
|
+
padding-right: 25px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.sb-nopreview {
|
|
162
|
+
display: flex;
|
|
163
|
+
align-content: center;
|
|
164
|
+
justify-content: center;
|
|
165
|
+
box-sizing: border-box;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.sb-nopreview_main {
|
|
169
|
+
margin: auto;
|
|
170
|
+
padding: 30px;
|
|
171
|
+
border-radius: 10px;
|
|
172
|
+
background: rgb(247, 247, 247);
|
|
173
|
+
color: rgb(46, 52, 56);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.sb-nopreview_main * {
|
|
177
|
+
background: rgb(247, 247, 247);
|
|
178
|
+
color: rgb(46, 52, 56);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.sb-nopreview_heading {
|
|
182
|
+
text-align: center;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.sb-errordisplay {
|
|
186
|
+
background: #f6f9fc;
|
|
187
|
+
color: black;
|
|
188
|
+
z-index: 999999;
|
|
189
|
+
width: 100vw;
|
|
190
|
+
min-height: 100vh;
|
|
191
|
+
box-sizing: border-box;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.sb-errordisplay_main {
|
|
195
|
+
margin: auto;
|
|
196
|
+
padding: 24px;
|
|
197
|
+
display: flex;
|
|
198
|
+
box-sizing: border-box;
|
|
199
|
+
|
|
200
|
+
flex-direction: column;
|
|
201
|
+
min-height: 100%;
|
|
202
|
+
width: 100%;
|
|
203
|
+
border-radius: 6px;
|
|
204
|
+
background: white;
|
|
205
|
+
color: black;
|
|
206
|
+
border: 1px solid #ff0000;
|
|
207
|
+
box-shadow: 0 0 64px rgba(0, 0, 0, 0.1);
|
|
208
|
+
gap: 24px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.sb-errordisplay_main ol {
|
|
212
|
+
padding-left: 18px;
|
|
213
|
+
margin: 0;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* Redefine colors to ensure readability regardless of user-provided * selectors. */
|
|
217
|
+
.sb-errordisplay_main * {
|
|
218
|
+
background: white;
|
|
219
|
+
color: black;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* Exclude error code block from the universal reset to preserve ANSI colors and dark theme */
|
|
223
|
+
.sb-errordisplay_main .sb-errordisplay_code,
|
|
224
|
+
.sb-errordisplay_main .sb-errordisplay_code * {
|
|
225
|
+
background: #242424;
|
|
226
|
+
color: #c6c6c6;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.sb-errordisplay_main h1 {
|
|
230
|
+
font-family: inherit;
|
|
231
|
+
font-size: 22px;
|
|
232
|
+
font-weight: 400;
|
|
233
|
+
line-height: 30px;
|
|
234
|
+
margin: 0;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.sb-errordisplay_main h1::before {
|
|
238
|
+
content: '';
|
|
239
|
+
display: inline-block;
|
|
240
|
+
width: 12px;
|
|
241
|
+
height: 12px;
|
|
242
|
+
background: #ff4400;
|
|
243
|
+
border-radius: 50%;
|
|
244
|
+
margin-right: 8px;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.sb-errordisplay_main p,
|
|
248
|
+
.sb-errordisplay_main ol {
|
|
249
|
+
font-family: inherit;
|
|
250
|
+
font-size: 14px;
|
|
251
|
+
font-weight: 400;
|
|
252
|
+
line-height: 19px;
|
|
253
|
+
margin: 0;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.sb-errordisplay_main li + li {
|
|
257
|
+
margin: 0;
|
|
258
|
+
padding: 0;
|
|
259
|
+
padding-top: 12px;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.sb-errordisplay_main a {
|
|
263
|
+
color: currentColor;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.sb-errordisplay_main .sb-errordisplay_code {
|
|
267
|
+
padding: 10px;
|
|
268
|
+
flex: 1;
|
|
269
|
+
background: #242424;
|
|
270
|
+
color: #c6c6c6;
|
|
271
|
+
box-sizing: border-box;
|
|
272
|
+
|
|
273
|
+
font-size: 14px;
|
|
274
|
+
font-weight: 400;
|
|
275
|
+
line-height: 19px;
|
|
276
|
+
border-radius: 4px;
|
|
277
|
+
|
|
278
|
+
font-family:
|
|
279
|
+
'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
|
|
280
|
+
'Lucida Console', Consolas, Monaco, monospace;
|
|
281
|
+
margin: 0;
|
|
282
|
+
overflow: auto;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.sb-errordisplay_main .sb-errordisplay_code code {
|
|
286
|
+
background-color: inherit;
|
|
287
|
+
color: inherit;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.sb-errordisplay_main .sb-errordisplay_code {
|
|
291
|
+
white-space: pre-wrap;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
@-webkit-keyframes sb-rotate360 {
|
|
295
|
+
from {
|
|
296
|
+
transform: rotate(0deg);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
to {
|
|
300
|
+
transform: rotate(360deg);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@keyframes sb-rotate360 {
|
|
305
|
+
from {
|
|
306
|
+
transform: rotate(0deg);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
to {
|
|
310
|
+
transform: rotate(360deg);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
@-webkit-keyframes sb-glow {
|
|
315
|
+
0%,
|
|
316
|
+
100% {
|
|
317
|
+
opacity: 1;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
50% {
|
|
321
|
+
opacity: 0.4;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
@keyframes sb-glow {
|
|
326
|
+
0%,
|
|
327
|
+
100% {
|
|
328
|
+
opacity: 1;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
50% {
|
|
332
|
+
opacity: 0.4;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/* We display the preparing loaders *over* the rendering story */
|
|
337
|
+
.sb-preparing-story,
|
|
338
|
+
.sb-preparing-docs {
|
|
339
|
+
background-color: white;
|
|
340
|
+
/* Maximum possible z-index. It would be better to use stacking contexts to ensure it's always
|
|
341
|
+
on top, but this isn't possible as it would require making CSS changes that could affect user code */
|
|
342
|
+
z-index: 2147483647;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.sb-loader {
|
|
346
|
+
-webkit-animation: sb-rotate360 0.7s linear infinite;
|
|
347
|
+
animation: sb-rotate360 0.7s linear infinite;
|
|
348
|
+
border-color: rgba(97, 97, 97, 0.29);
|
|
349
|
+
border-radius: 50%;
|
|
350
|
+
border-style: solid;
|
|
351
|
+
border-top-color: #646464;
|
|
352
|
+
border-width: 2px;
|
|
353
|
+
display: inline-block;
|
|
354
|
+
height: 32px;
|
|
355
|
+
left: 50%;
|
|
356
|
+
margin-left: -16px;
|
|
357
|
+
margin-top: -16px;
|
|
358
|
+
mix-blend-mode: difference;
|
|
359
|
+
overflow: hidden;
|
|
360
|
+
position: absolute;
|
|
361
|
+
top: 50%;
|
|
362
|
+
transition: all 200ms ease-out;
|
|
363
|
+
vertical-align: top;
|
|
364
|
+
width: 32px;
|
|
365
|
+
z-index: 4;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.sb-previewBlock {
|
|
369
|
+
background: #fff;
|
|
370
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
371
|
+
border-radius: 4px;
|
|
372
|
+
box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 0;
|
|
373
|
+
margin: 25px auto 40px;
|
|
374
|
+
max-width: 600px;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.sb-previewBlock_header {
|
|
378
|
+
align-items: center;
|
|
379
|
+
box-shadow: rgba(0, 0, 0, 0.1) 0 -1px 0 0 inset;
|
|
380
|
+
display: flex;
|
|
381
|
+
gap: 14px;
|
|
382
|
+
height: 40px;
|
|
383
|
+
padding: 0 12px;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.sb-previewBlock_icon {
|
|
387
|
+
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
388
|
+
animation: sb-glow 1.5s ease-in-out infinite;
|
|
389
|
+
background: #e6e6e6;
|
|
390
|
+
height: 14px;
|
|
391
|
+
width: 14px;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.sb-previewBlock_icon:last-child {
|
|
395
|
+
margin-left: auto;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.sb-previewBlock_body {
|
|
399
|
+
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
400
|
+
animation: sb-glow 1.5s ease-in-out infinite;
|
|
401
|
+
height: 182px;
|
|
402
|
+
position: relative;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.sb-argstableBlock {
|
|
406
|
+
border-collapse: collapse;
|
|
407
|
+
border-spacing: 0;
|
|
408
|
+
font-size: 13px;
|
|
409
|
+
line-height: 20px;
|
|
410
|
+
margin: 25px auto 40px;
|
|
411
|
+
max-width: 600px;
|
|
412
|
+
text-align: left;
|
|
413
|
+
width: 100%;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.sb-argstableBlock th:first-of-type,
|
|
417
|
+
.sb-argstableBlock td:first-of-type {
|
|
418
|
+
padding-left: 20px;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.sb-argstableBlock th:nth-of-type(2),
|
|
422
|
+
.sb-argstableBlock td:nth-of-type(2) {
|
|
423
|
+
width: 35%;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.sb-argstableBlock th:nth-of-type(3),
|
|
427
|
+
.sb-argstableBlock td:nth-of-type(3) {
|
|
428
|
+
width: 15%;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.sb-argstableBlock th:last-of-type,
|
|
432
|
+
.sb-argstableBlock td:last-of-type {
|
|
433
|
+
width: 25%;
|
|
434
|
+
padding-right: 20px;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.sb-argstableBlock th span,
|
|
438
|
+
.sb-argstableBlock td span {
|
|
439
|
+
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
440
|
+
animation: sb-glow 1.5s ease-in-out infinite;
|
|
441
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
442
|
+
border-radius: 0;
|
|
443
|
+
box-shadow: none;
|
|
444
|
+
color: transparent;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.sb-argstableBlock th {
|
|
448
|
+
padding: 10px 15px;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.sb-argstableBlock-body {
|
|
452
|
+
border-radius: 4px;
|
|
453
|
+
box-shadow:
|
|
454
|
+
rgba(0, 0, 0, 0.1) 0 1px 3px 1px,
|
|
455
|
+
rgba(0, 0, 0, 0.065) 0 0 0 1px;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.sb-argstableBlock-body tr {
|
|
459
|
+
background: transparent;
|
|
460
|
+
overflow: hidden;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.sb-argstableBlock-body tr:not(:first-child) {
|
|
464
|
+
border-top: 1px solid #e6e6e6;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.sb-argstableBlock-body tr:first-child td:first-child {
|
|
468
|
+
border-top-left-radius: 4px;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.sb-argstableBlock-body tr:first-child td:last-child {
|
|
472
|
+
border-top-right-radius: 4px;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.sb-argstableBlock-body tr:last-child td:first-child {
|
|
476
|
+
border-bottom-left-radius: 4px;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.sb-argstableBlock-body tr:last-child td:last-child {
|
|
480
|
+
border-bottom-right-radius: 4px;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.sb-argstableBlock-body td {
|
|
484
|
+
background: #fff;
|
|
485
|
+
padding-bottom: 10px;
|
|
486
|
+
padding-top: 10px;
|
|
487
|
+
vertical-align: top;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.sb-argstableBlock-body td:not(:first-of-type) {
|
|
491
|
+
padding-left: 15px;
|
|
492
|
+
padding-right: 15px;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.sb-argstableBlock-body button {
|
|
496
|
+
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
497
|
+
animation: sb-glow 1.5s ease-in-out infinite;
|
|
498
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
499
|
+
border: 0;
|
|
500
|
+
border-radius: 0;
|
|
501
|
+
box-shadow: none;
|
|
502
|
+
color: transparent;
|
|
503
|
+
display: inline;
|
|
504
|
+
font-size: 12px;
|
|
505
|
+
line-height: 1;
|
|
506
|
+
padding: 10px 16px;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.sb-argstableBlock-summary {
|
|
510
|
+
margin-top: 4px;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.sb-argstableBlock-code {
|
|
514
|
+
margin-right: 4px;
|
|
515
|
+
margin-bottom: 4px;
|
|
516
|
+
padding: 2px 5px;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.sb-sr-only,
|
|
520
|
+
.sb-hidden-until-focus:not(:focus) {
|
|
521
|
+
position: absolute;
|
|
522
|
+
width: 1px;
|
|
523
|
+
height: 1px;
|
|
524
|
+
padding: 0px;
|
|
525
|
+
margin: -1px;
|
|
526
|
+
overflow: hidden;
|
|
527
|
+
clip: rect(0, 0, 0, 0);
|
|
528
|
+
border: none;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.sb-hidden-until-focus {
|
|
532
|
+
opacity: 0;
|
|
533
|
+
transition: opacity 150ms ease-out;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.sb-hidden-until-focus:focus {
|
|
537
|
+
opacity: 1;
|
|
538
|
+
}
|
|
539
|
+
</style>
|
|
540
|
+
|
|
541
|
+
<script>
|
|
542
|
+
/* globals window */
|
|
543
|
+
try {
|
|
544
|
+
if (window.top !== window) {
|
|
545
|
+
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.top.__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
546
|
+
window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.top.__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
547
|
+
window.top.__VUE_DEVTOOLS_CONTEXT__ = window.document;
|
|
548
|
+
}
|
|
549
|
+
} catch (e) {
|
|
550
|
+
// eslint-disable-next-line no-console
|
|
551
|
+
console.warn('unable to connect to top frame for connecting dev tools');
|
|
552
|
+
}
|
|
553
|
+
</script>
|
|
554
|
+
|
|
555
|
+
<script type="module" crossorigin src="./assets/iframe-DvhcA1iZ.js"></script>
|
|
556
|
+
<link rel="modulepreload" crossorigin href="./assets/preload-helper-PPVm8Dsz.js">
|
|
557
|
+
</head>
|
|
558
|
+
|
|
559
|
+
<body>
|
|
560
|
+
<div class="sb-preparing-story sb-wrapper">
|
|
561
|
+
<div class="sb-loader"></div>
|
|
562
|
+
</div>
|
|
563
|
+
|
|
564
|
+
<div class="sb-preparing-docs sb-wrapper">
|
|
565
|
+
<div class="sb-previewBlock">
|
|
566
|
+
<div class="sb-previewBlock_header">
|
|
567
|
+
<div class="sb-previewBlock_icon"></div>
|
|
568
|
+
<div class="sb-previewBlock_icon"></div>
|
|
569
|
+
<div class="sb-previewBlock_icon"></div>
|
|
570
|
+
<div class="sb-previewBlock_icon"></div>
|
|
571
|
+
</div>
|
|
572
|
+
<div class="sb-previewBlock_body">
|
|
573
|
+
<div class="sb-loader"></div>
|
|
574
|
+
</div>
|
|
575
|
+
</div>
|
|
576
|
+
<table aria-hidden="true" class="sb-argstableBlock">
|
|
577
|
+
<thead class="sb-argstableBlock-head">
|
|
578
|
+
<tr>
|
|
579
|
+
<th><span>Name</span></th>
|
|
580
|
+
<th><span>Description</span></th>
|
|
581
|
+
<th><span>Default</span></th>
|
|
582
|
+
<th><span>Control </span></th>
|
|
583
|
+
</tr>
|
|
584
|
+
</thead>
|
|
585
|
+
<tbody class="sb-argstableBlock-body">
|
|
586
|
+
<tr>
|
|
587
|
+
<td><span>propertyName</span><span title="Required">*</span></td>
|
|
588
|
+
<td>
|
|
589
|
+
<div><span>This is a short description</span></div>
|
|
590
|
+
<div class="sb-argstableBlock-summary">
|
|
591
|
+
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
592
|
+
</div>
|
|
593
|
+
</td>
|
|
594
|
+
<td>
|
|
595
|
+
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
596
|
+
</td>
|
|
597
|
+
<td><button>Set string</button></td>
|
|
598
|
+
</tr>
|
|
599
|
+
<tr>
|
|
600
|
+
<td><span>propertyName</span><span>*</span></td>
|
|
601
|
+
<td>
|
|
602
|
+
<div><span>This is a short description</span></div>
|
|
603
|
+
<div class="sb-argstableBlock-summary">
|
|
604
|
+
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
605
|
+
</div>
|
|
606
|
+
</td>
|
|
607
|
+
<td>
|
|
608
|
+
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
609
|
+
</td>
|
|
610
|
+
<td><button>Set string</button></td>
|
|
611
|
+
</tr>
|
|
612
|
+
<tr>
|
|
613
|
+
<td><span>propertyName</span><span>*</span></td>
|
|
614
|
+
<td>
|
|
615
|
+
<div><span>This is a short description</span></div>
|
|
616
|
+
<div class="sb-argstableBlock-summary">
|
|
617
|
+
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
618
|
+
</div>
|
|
619
|
+
</td>
|
|
620
|
+
<td>
|
|
621
|
+
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
622
|
+
</td>
|
|
623
|
+
<td><button>Set string</button></td>
|
|
624
|
+
</tr>
|
|
625
|
+
</tbody>
|
|
626
|
+
</table>
|
|
627
|
+
</div>
|
|
628
|
+
|
|
629
|
+
<div class="sb-nopreview sb-wrapper">
|
|
630
|
+
<div class="sb-nopreview_main">
|
|
631
|
+
<h1 class="sb-nopreview_heading sb-heading">No Preview</h1>
|
|
632
|
+
<p>Sorry, but you either have no stories or none are selected somehow.</p>
|
|
633
|
+
<ul>
|
|
634
|
+
<li>Please check the Storybook config.</li>
|
|
635
|
+
<li>Try reloading the page.</li>
|
|
636
|
+
</ul>
|
|
637
|
+
<p>
|
|
638
|
+
If the problem persists, check the browser console, or the terminal you've run Storybook from.
|
|
639
|
+
</p>
|
|
640
|
+
</div>
|
|
641
|
+
</div>
|
|
642
|
+
|
|
643
|
+
<div class="sb-errordisplay sb-wrapper">
|
|
644
|
+
<div class="sb-errordisplay_main">
|
|
645
|
+
<h1 id="error-message"></h1>
|
|
646
|
+
<p>
|
|
647
|
+
The component failed to render properly, likely due to a configuration issue in Storybook.
|
|
648
|
+
Here are some common causes and how you can address them:
|
|
649
|
+
</p>
|
|
650
|
+
<ol>
|
|
651
|
+
<li>
|
|
652
|
+
<strong>Missing Context/Providers</strong>: You can use decorators to supply specific
|
|
653
|
+
contexts or providers, which are sometimes necessary for components to render correctly. For
|
|
654
|
+
detailed instructions on using decorators, please visit the
|
|
655
|
+
<a href="https://storybook.js.org/docs/writing-stories/decorators"
|
|
656
|
+
>Decorators documentation</a
|
|
657
|
+
>.
|
|
658
|
+
</li>
|
|
659
|
+
<li>
|
|
660
|
+
<strong>Misconfigured Webpack or Vite</strong>: Verify that Storybook picks up all necessary
|
|
661
|
+
settings for loaders, plugins, and other relevant parameters. You can find step-by-step
|
|
662
|
+
guides for configuring
|
|
663
|
+
<a href="https://storybook.js.org/docs/builders/webpack">Webpack</a> or
|
|
664
|
+
<a href="https://storybook.js.org/docs/builders/vite">Vite</a>
|
|
665
|
+
with Storybook.
|
|
666
|
+
</li>
|
|
667
|
+
<li>
|
|
668
|
+
<strong>Missing Environment Variables</strong>: Your Storybook may require specific
|
|
669
|
+
environment variables to function as intended. You can set up custom environment variables
|
|
670
|
+
as outlined in the
|
|
671
|
+
<a href="https://storybook.js.org/docs/configure/environment-variables"
|
|
672
|
+
>Environment Variables documentation</a
|
|
673
|
+
>.
|
|
674
|
+
</li>
|
|
675
|
+
</ol>
|
|
676
|
+
<pre class="sb-errordisplay_code"><code id="error-stack"></code></pre>
|
|
677
|
+
</div>
|
|
678
|
+
</div>
|
|
679
|
+
|
|
680
|
+
<div id="storybook-root"></div>
|
|
681
|
+
<div id="storybook-docs"></div>
|
|
682
|
+
<script>
|
|
683
|
+
function __onViteAppLoadingError(event) {
|
|
684
|
+
const hostname = globalThis.location.hostname;
|
|
685
|
+
if (hostname !== 'localhost' && globalThis.CONFIG_TYPE === 'DEVELOPMENT') {
|
|
686
|
+
const message = `Failed to load the Storybook preview file 'vite-app.js':
|
|
687
|
+
|
|
688
|
+
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.
|
|
689
|
+
Please re-run your Storybook development server with the '--host ${hostname}' flag, or manually configure your Vite allowedHosts configuration with viteFinal.
|
|
690
|
+
|
|
691
|
+
See:`;
|
|
692
|
+
const docs = [
|
|
693
|
+
'https://storybook.js.org/docs/api/cli-options#dev',
|
|
694
|
+
'https://storybook.js.org/docs/api/main-config/main-config-vite-final',
|
|
695
|
+
'https://vite.dev/config/server-options.html#server-allowedhosts',
|
|
696
|
+
];
|
|
697
|
+
console.error(`${message}\n${docs.map((doc) => `- ${doc}`).join('\n')}`);
|
|
698
|
+
|
|
699
|
+
document.getElementById('storybook-root').innerHTML =
|
|
700
|
+
`<p style="color: red; max-width: 70ch">${message.replaceAll(
|
|
701
|
+
'\n',
|
|
702
|
+
'<br/>'
|
|
703
|
+
)}<ul>${docs.map((doc) => `<li><a href='${doc}' target='_blank'>${doc}</a></li>`).join('')}</ul></p>`;
|
|
704
|
+
return;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
</script>
|
|
708
|
+
</body>
|
|
709
|
+
</html>
|