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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toaster.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/toaster/Toaster.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Toaster.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/toaster/Toaster.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEzD,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAErE,UAAU,oBAAqB,SAAQ,kBAAkB;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAOnD,CAAC;AAEF,KAAK,SAAS,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,MAAM,GAAG,MAAM,CAAC;AAErE,QAAA,MAAM,UAAU,QAAO,SAItB,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;AAC9C,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -1,75 +1,14 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
this._removeAllToasts();
|
|
15
|
-
const id = prefix + String(counter++);
|
|
16
|
-
const hide = false;
|
|
17
|
-
this.setState(prev => ({
|
|
18
|
-
...prev,
|
|
19
|
-
list: [...prev.list, {
|
|
20
|
-
id,
|
|
21
|
-
text,
|
|
22
|
-
hide,
|
|
23
|
-
}],
|
|
24
|
-
}));
|
|
25
|
-
setTimeout(() => {
|
|
26
|
-
this.setState(prev => ({
|
|
27
|
-
...prev,
|
|
28
|
-
list: prev.list.map(p => {
|
|
29
|
-
if (p.id !== id) {
|
|
30
|
-
return p;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
...p,
|
|
34
|
-
hide: true,
|
|
35
|
-
};
|
|
36
|
-
}),
|
|
37
|
-
}));
|
|
38
|
-
}, timeout);
|
|
39
|
-
};
|
|
40
|
-
this._handleRemove = (id) => {
|
|
41
|
-
this.setState(prev => ({
|
|
42
|
-
...prev,
|
|
43
|
-
list: prev.list.filter(p => p.id !== id),
|
|
44
|
-
}));
|
|
45
|
-
};
|
|
46
|
-
this._removeAllToasts = () => {
|
|
47
|
-
this.setState(prev => ({
|
|
48
|
-
...prev,
|
|
49
|
-
list: prev.list.map(p => {
|
|
50
|
-
if (p.hide) {
|
|
51
|
-
return p;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
...p,
|
|
55
|
-
hide: true,
|
|
56
|
-
};
|
|
57
|
-
}),
|
|
58
|
-
}));
|
|
59
|
-
};
|
|
60
|
-
this.state = {
|
|
61
|
-
list: [],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
render() {
|
|
65
|
-
const notifications = this.state.list.map((t) => {
|
|
66
|
-
return React.createElement(Notification, { onRemove: this._handleRemove, key: t.id, toast: t });
|
|
67
|
-
});
|
|
68
|
-
return (React.createElement(ToasterContext.Provider, { value: this._add },
|
|
69
|
-
notifications,
|
|
70
|
-
this.props.children));
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
const useToaster = () => useContext(ToasterContext);
|
|
74
|
-
export { ToasterProvider, useToaster };
|
|
1
|
+
import React, { useCallback } from "react";
|
|
2
|
+
import { toast, Toaster as SonnerToaster } from "sonner";
|
|
3
|
+
const ToasterProvider = ({ children, position = "bottom-center", ...rest }) => {
|
|
4
|
+
return (React.createElement(React.Fragment, null,
|
|
5
|
+
children,
|
|
6
|
+
React.createElement(SonnerToaster, { position: position, ...rest })));
|
|
7
|
+
};
|
|
8
|
+
const useToaster = () => {
|
|
9
|
+
return useCallback((text, timeout) => {
|
|
10
|
+
return toast(text, timeout != null ? { duration: timeout } : undefined);
|
|
11
|
+
}, []);
|
|
12
|
+
};
|
|
13
|
+
export { ToasterProvider, useToaster, toast };
|
|
75
14
|
//# sourceMappingURL=Toaster.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toaster.js","sourceRoot":"","sources":["../../../../src/components/ui/toaster/Toaster.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"Toaster.js","sourceRoot":"","sources":["../../../../src/components/ui/toaster/Toaster.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,QAAQ,CAAC;AAQzD,MAAM,eAAe,GAAmC,CAAC,EAAE,QAAQ,EAAE,QAAQ,GAAG,eAAe,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC1G,OAAO,CACH;QACK,QAAQ;QACT,oBAAC,aAAa,IAAC,QAAQ,EAAE,QAAQ,KAAM,IAAI,GAAI,CAChD,CACN,CAAC;AACN,CAAC,CAAC;AAIF,MAAM,UAAU,GAAG,GAAc,EAAE;IAC/B,OAAO,WAAW,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE;QACjC,OAAO,KAAK,CAAC,IAAI,EAAE,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC5E,CAAC,EAAE,EAAE,CAAC,CAAC;AACX,CAAC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const ToolButton: import("
|
|
1
|
+
declare const ToolButton: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"button", {
|
|
2
2
|
inline?: boolean | "true";
|
|
3
3
|
variant?: "secondary" | "secondaryOnLight";
|
|
4
|
-
}, {}, import("
|
|
4
|
+
}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
5
5
|
colors: {
|
|
6
6
|
background: "white";
|
|
7
7
|
mainColor: "#008ad2";
|
|
@@ -64,7 +64,7 @@ declare const ToolButton: import("@stitches/react/types/styled-component").Style
|
|
|
64
64
|
tableStripedBg: "#fafafa";
|
|
65
65
|
toolButtonText: "#666e80";
|
|
66
66
|
};
|
|
67
|
-
}, import("
|
|
67
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
68
68
|
mx: (value: string | number) => {
|
|
69
69
|
marginLeft: string | number;
|
|
70
70
|
marginRight: string | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const Gap: import("
|
|
1
|
+
declare const Gap: import("../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
2
2
|
row?: boolean | "true";
|
|
3
|
-
}, {}, import("
|
|
3
|
+
}, {}, import("../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
4
4
|
colors: {
|
|
5
5
|
background: "white";
|
|
6
6
|
mainColor: "#008ad2";
|
|
@@ -63,7 +63,7 @@ declare const Gap: import("@stitches/react/types/styled-component").StyledCompon
|
|
|
63
63
|
tableStripedBg: "#fafafa";
|
|
64
64
|
toolButtonText: "#666e80";
|
|
65
65
|
};
|
|
66
|
-
}, import("
|
|
66
|
+
}, import("../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
67
67
|
mx: (value: string | number) => {
|
|
68
68
|
marginLeft: string | number;
|
|
69
69
|
marginRight: string | number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const Spacer: import("
|
|
1
|
+
declare const Spacer: import("../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"div", {}, {}, import("../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
2
2
|
colors: {
|
|
3
3
|
background: "white";
|
|
4
4
|
mainColor: "#008ad2";
|
|
@@ -61,7 +61,7 @@ declare const Spacer: import("@stitches/react/types/styled-component").StyledCom
|
|
|
61
61
|
tableStripedBg: "#fafafa";
|
|
62
62
|
toolButtonText: "#666e80";
|
|
63
63
|
};
|
|
64
|
-
}, import("
|
|
64
|
+
}, import("../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
65
65
|
mx: (value: string | number) => {
|
|
66
66
|
marginLeft: string | number;
|
|
67
67
|
marginRight: string | number;
|
package/esm/theme.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { CSS as StitchesCSS } from "@stitches/react";
|
|
2
|
-
import type { StyledComponent } from "
|
|
2
|
+
import type { StyledComponent } from "../node_modules/@stitches/react/types/styled-component";
|
|
3
3
|
declare const pxToRem: (px: number) => string;
|
|
4
4
|
declare const dimensionsPxToRem: (px: number) => string;
|
|
5
5
|
declare const borderPxToRem: (px: number) => string;
|
|
6
6
|
declare const fontPxToRem: (px: number) => string;
|
|
7
|
-
declare const styled: <Type extends keyof JSX.IntrinsicElements | React.ComponentType<any> | import("
|
|
7
|
+
declare const styled: <Type extends keyof JSX.IntrinsicElements | React.ComponentType<any> | import("../node_modules/@stitches/react/types/util").Function, Composers extends (string | React.ComponentType<any> | import("../node_modules/@stitches/react/types/util").Function | {
|
|
8
8
|
[name: string]: unknown;
|
|
9
|
-
})[], CSS = import("
|
|
9
|
+
})[], CSS = import("../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
10
10
|
colors: {
|
|
11
11
|
background: "white";
|
|
12
12
|
mainColor: "#008ad2";
|
|
@@ -69,7 +69,7 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
69
69
|
tableStripedBg: "#fafafa";
|
|
70
70
|
toolButtonText: "#666e80";
|
|
71
71
|
};
|
|
72
|
-
}, import("
|
|
72
|
+
}, import("../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
73
73
|
mx: (value: string | number) => {
|
|
74
74
|
marginLeft: string | number;
|
|
75
75
|
marginRight: string | number;
|
|
@@ -90,18 +90,18 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
90
90
|
width: string | number;
|
|
91
91
|
height: string | number;
|
|
92
92
|
};
|
|
93
|
-
}>>(type: Type, ...composers: { [K in keyof Composers]: string extends Composers[K] ? Composers[K] : Composers[K] extends string | import("
|
|
93
|
+
}>>(type: Type, ...composers: { [K in keyof Composers]: string extends Composers[K] ? Composers[K] : Composers[K] extends string | import("../node_modules/@stitches/react/types/util").Function | import("react").ComponentType<any> ? Composers[K] : import("../node_modules/@stitches/react/types/stitches").RemoveIndex<CSS> & {
|
|
94
94
|
variants?: {
|
|
95
95
|
[x: string]: {
|
|
96
96
|
[x: string]: CSS;
|
|
97
97
|
[x: number]: CSS;
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
|
-
compoundVariants?: (("variants" extends keyof Composers[K] ? { [Name in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("
|
|
100
|
+
compoundVariants?: (("variants" extends keyof Composers[K] ? { [Name in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("../node_modules/@stitches/react/types/util").String | import("../node_modules/@stitches/react/types/util").Widen<keyof Composers[K][keyof Composers[K] & "variants"][Name]>; } : import("../node_modules/@stitches/react/types/util").WideObject) & {
|
|
101
101
|
css: CSS;
|
|
102
102
|
})[];
|
|
103
|
-
defaultVariants?: "variants" extends keyof Composers[K] ? { [Name_1 in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("
|
|
104
|
-
} & CSS & { [K2 in keyof Composers[K]]: K2 extends "compoundVariants" | "defaultVariants" | "variants" ? unknown : K2 extends keyof CSS ? CSS[K2] : unknown; }; }) => StyledComponent<Type, import("
|
|
103
|
+
defaultVariants?: "variants" extends keyof Composers[K] ? { [Name_1 in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("../node_modules/@stitches/react/types/util").String | import("../node_modules/@stitches/react/types/util").Widen<keyof Composers[K][keyof Composers[K] & "variants"][Name_1]>; } : import("../node_modules/@stitches/react/types/util").WideObject;
|
|
104
|
+
} & CSS & { [K2 in keyof Composers[K]]: K2 extends "compoundVariants" | "defaultVariants" | "variants" ? unknown : K2 extends keyof CSS ? CSS[K2] : unknown; }; }) => StyledComponent<Type, import("../node_modules/@stitches/react/types/styled-component").StyledComponentProps<Composers>, {}, import("../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
105
105
|
colors: {
|
|
106
106
|
background: "white";
|
|
107
107
|
mainColor: "#008ad2";
|
|
@@ -164,7 +164,7 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
164
164
|
tableStripedBg: "#fafafa";
|
|
165
165
|
toolButtonText: "#666e80";
|
|
166
166
|
};
|
|
167
|
-
}, import("
|
|
167
|
+
}, import("../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
168
168
|
mx: (value: string | number) => {
|
|
169
169
|
marginLeft: string | number;
|
|
170
170
|
marginRight: string | number;
|
|
@@ -185,9 +185,9 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
185
185
|
width: string | number;
|
|
186
186
|
height: string | number;
|
|
187
187
|
};
|
|
188
|
-
}>>, css: <Composers extends (string | React.ExoticComponent<any> | React.JSXElementConstructor<any> | import("
|
|
188
|
+
}>>, css: <Composers extends (string | React.ExoticComponent<any> | React.JSXElementConstructor<any> | import("../node_modules/@stitches/react/types/util").Function | {
|
|
189
189
|
[name: string]: unknown;
|
|
190
|
-
})[], CSS = import("
|
|
190
|
+
})[], CSS = import("../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
191
191
|
colors: {
|
|
192
192
|
background: "white";
|
|
193
193
|
mainColor: "#008ad2";
|
|
@@ -250,7 +250,7 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
250
250
|
tableStripedBg: "#fafafa";
|
|
251
251
|
toolButtonText: "#666e80";
|
|
252
252
|
};
|
|
253
|
-
}, import("
|
|
253
|
+
}, import("../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
254
254
|
mx: (value: string | number) => {
|
|
255
255
|
marginLeft: string | number;
|
|
256
256
|
marginRight: string | number;
|
|
@@ -271,24 +271,24 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
271
271
|
width: string | number;
|
|
272
272
|
height: string | number;
|
|
273
273
|
};
|
|
274
|
-
}>>(...composers: { [K in keyof Composers]: string extends Composers[K] ? Composers[K] : Composers[K] extends string | import("
|
|
274
|
+
}>>(...composers: { [K in keyof Composers]: string extends Composers[K] ? Composers[K] : Composers[K] extends string | import("../node_modules/@stitches/react/types/util").Function | import("react").JSXElementConstructor<any> | import("react").ExoticComponent<any> ? Composers[K] : import("../node_modules/@stitches/react/types/stitches").RemoveIndex<CSS> & {
|
|
275
275
|
variants?: {
|
|
276
276
|
[x: string]: {
|
|
277
277
|
[x: string]: CSS;
|
|
278
278
|
[x: number]: CSS;
|
|
279
279
|
};
|
|
280
280
|
};
|
|
281
|
-
compoundVariants?: (("variants" extends keyof Composers[K] ? { [Name in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("
|
|
281
|
+
compoundVariants?: (("variants" extends keyof Composers[K] ? { [Name in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("../node_modules/@stitches/react/types/util").String | import("../node_modules/@stitches/react/types/util").Widen<keyof Composers[K][keyof Composers[K] & "variants"][Name]>; } : import("../node_modules/@stitches/react/types/util").WideObject) & {
|
|
282
282
|
css: CSS;
|
|
283
283
|
})[];
|
|
284
|
-
defaultVariants?: "variants" extends keyof Composers[K] ? { [Name_1 in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("
|
|
285
|
-
} & CSS & { [K2 in keyof Composers[K]]: K2 extends "compoundVariants" | "defaultVariants" | "variants" ? unknown : K2 extends keyof CSS ? CSS[K2] : unknown; }; }) => import("
|
|
284
|
+
defaultVariants?: "variants" extends keyof Composers[K] ? { [Name_1 in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("../node_modules/@stitches/react/types/util").String | import("../node_modules/@stitches/react/types/util").Widen<keyof Composers[K][keyof Composers[K] & "variants"][Name_1]>; } : import("../node_modules/@stitches/react/types/util").WideObject;
|
|
285
|
+
} & CSS & { [K2 in keyof Composers[K]]: K2 extends "compoundVariants" | "defaultVariants" | "variants" ? unknown : K2 extends keyof CSS ? CSS[K2] : unknown; }; }) => import("../node_modules/@stitches/react/types/styled-component").CssComponent<import("../node_modules/@stitches/react/types/styled-component").StyledComponentType<Composers>, import("../node_modules/@stitches/react/types/styled-component").StyledComponentProps<Composers>, {}, CSS>, globalCss: <Styles extends {
|
|
286
286
|
[K: string]: any;
|
|
287
287
|
}>(...styles: ({
|
|
288
288
|
'@import'?: unknown;
|
|
289
289
|
'@font-face'?: unknown;
|
|
290
|
-
} & { [K in keyof Styles]: K extends "@import" ? string | string[] : K extends "@font-face" ? import("
|
|
291
|
-
[x: string]: import("
|
|
290
|
+
} & { [K in keyof Styles]: K extends "@import" ? string | string[] : K extends "@font-face" ? import("../node_modules/@stitches/react/types/css").AtRule.FontFace | import("../node_modules/@stitches/react/types/css").AtRule.FontFace[] : K extends `@keyframes ${string}` ? {
|
|
291
|
+
[x: string]: import("../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
292
292
|
colors: {
|
|
293
293
|
background: "white";
|
|
294
294
|
mainColor: "#008ad2";
|
|
@@ -351,7 +351,7 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
351
351
|
tableStripedBg: "#fafafa";
|
|
352
352
|
toolButtonText: "#666e80";
|
|
353
353
|
};
|
|
354
|
-
}, import("
|
|
354
|
+
}, import("../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
355
355
|
mx: (value: string | number) => {
|
|
356
356
|
marginLeft: string | number;
|
|
357
357
|
marginRight: string | number;
|
|
@@ -373,7 +373,7 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
373
373
|
height: string | number;
|
|
374
374
|
};
|
|
375
375
|
}>;
|
|
376
|
-
} : K extends `@property ${string}` ? import("
|
|
376
|
+
} : K extends `@property ${string}` ? import("../node_modules/@stitches/react/types/css").AtRule.Property : import("../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
377
377
|
colors: {
|
|
378
378
|
background: "white";
|
|
379
379
|
mainColor: "#008ad2";
|
|
@@ -436,7 +436,7 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
436
436
|
tableStripedBg: "#fafafa";
|
|
437
437
|
toolButtonText: "#666e80";
|
|
438
438
|
};
|
|
439
|
-
}, import("
|
|
439
|
+
}, import("../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
440
440
|
mx: (value: string | number) => {
|
|
441
441
|
marginLeft: string | number;
|
|
442
442
|
marginRight: string | number;
|
|
@@ -460,7 +460,7 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
460
460
|
}>; })[]) => {
|
|
461
461
|
(): string;
|
|
462
462
|
}, keyframes: (style: {
|
|
463
|
-
[offset: string]: import("
|
|
463
|
+
[offset: string]: import("../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
464
464
|
colors: {
|
|
465
465
|
background: "white";
|
|
466
466
|
mainColor: "#008ad2";
|
|
@@ -523,7 +523,7 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
523
523
|
tableStripedBg: "#fafafa";
|
|
524
524
|
toolButtonText: "#666e80";
|
|
525
525
|
};
|
|
526
|
-
}, import("
|
|
526
|
+
}, import("../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
527
527
|
mx: (value: string | number) => {
|
|
528
528
|
marginLeft: string | number;
|
|
529
529
|
marginRight: string | number;
|
|
@@ -553,66 +553,66 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
553
553
|
selector: string;
|
|
554
554
|
} & {
|
|
555
555
|
colors: {
|
|
556
|
-
background: import("
|
|
557
|
-
mainColor: import("
|
|
558
|
-
mainColorAlt: import("
|
|
559
|
-
activeBg: import("
|
|
560
|
-
inactiveBg: import("
|
|
561
|
-
inactiveDarkBg: import("
|
|
562
|
-
toggleHandleBg: import("
|
|
563
|
-
toggleHandleBorder: import("
|
|
564
|
-
toggleBgDisabled: import("
|
|
565
|
-
toggleHandleBorderDisabled: import("
|
|
566
|
-
toggleHandleBgDisabled: import("
|
|
567
|
-
icon: import("
|
|
568
|
-
border: import("
|
|
569
|
-
buttonBorder: import("
|
|
570
|
-
headerBorder: import("
|
|
571
|
-
headerBg: import("
|
|
572
|
-
headerText: import("
|
|
573
|
-
text: import("
|
|
574
|
-
text2: import("
|
|
575
|
-
text3: import("
|
|
576
|
-
sub: import("
|
|
577
|
-
popText: import("
|
|
578
|
-
toolbarBorder: import("
|
|
579
|
-
toolbarBg: import("
|
|
580
|
-
modalBg: import("
|
|
581
|
-
modalButtonBg: import("
|
|
582
|
-
modalButtonBorder: import("
|
|
583
|
-
inputDisabledBg: import("
|
|
584
|
-
inputDisabledText: import("
|
|
585
|
-
choiceBg: import("
|
|
586
|
-
choiceText: import("
|
|
587
|
-
choiceActiveBg: import("
|
|
588
|
-
choiceActiveText: import("
|
|
589
|
-
choiceBorder: import("
|
|
590
|
-
selectorText: import("
|
|
591
|
-
selectorActive: import("
|
|
592
|
-
blue1: import("
|
|
593
|
-
blue2: import("
|
|
594
|
-
blue3: import("
|
|
595
|
-
blue4: import("
|
|
596
|
-
blue5: import("
|
|
597
|
-
orange1: import("
|
|
598
|
-
orange1Darker: import("
|
|
599
|
-
purple1: import("
|
|
600
|
-
green1: import("
|
|
601
|
-
green1Darker: import("
|
|
602
|
-
pink1: import("
|
|
603
|
-
red1: import("
|
|
604
|
-
yellow1: import("
|
|
605
|
-
yellow2: import("
|
|
606
|
-
yellow3: import("
|
|
607
|
-
pinky1: import("
|
|
608
|
-
pinky2: import("
|
|
609
|
-
pinky3: import("
|
|
610
|
-
grey1: import("
|
|
611
|
-
focusColor: import("
|
|
612
|
-
scrollbarsThumb: import("
|
|
613
|
-
scrollbarsBg: import("
|
|
614
|
-
tableStripedBg: import("
|
|
615
|
-
toolButtonText: import("
|
|
556
|
+
background: import("../node_modules/@stitches/react/types/theme").Token<"background", string, "colors", "">;
|
|
557
|
+
mainColor: import("../node_modules/@stitches/react/types/theme").Token<"mainColor", string, "colors", "">;
|
|
558
|
+
mainColorAlt: import("../node_modules/@stitches/react/types/theme").Token<"mainColorAlt", string, "colors", "">;
|
|
559
|
+
activeBg: import("../node_modules/@stitches/react/types/theme").Token<"activeBg", string, "colors", "">;
|
|
560
|
+
inactiveBg: import("../node_modules/@stitches/react/types/theme").Token<"inactiveBg", string, "colors", "">;
|
|
561
|
+
inactiveDarkBg: import("../node_modules/@stitches/react/types/theme").Token<"inactiveDarkBg", string, "colors", "">;
|
|
562
|
+
toggleHandleBg: import("../node_modules/@stitches/react/types/theme").Token<"toggleHandleBg", string, "colors", "">;
|
|
563
|
+
toggleHandleBorder: import("../node_modules/@stitches/react/types/theme").Token<"toggleHandleBorder", string, "colors", "">;
|
|
564
|
+
toggleBgDisabled: import("../node_modules/@stitches/react/types/theme").Token<"toggleBgDisabled", string, "colors", "">;
|
|
565
|
+
toggleHandleBorderDisabled: import("../node_modules/@stitches/react/types/theme").Token<"toggleHandleBorderDisabled", string, "colors", "">;
|
|
566
|
+
toggleHandleBgDisabled: import("../node_modules/@stitches/react/types/theme").Token<"toggleHandleBgDisabled", string, "colors", "">;
|
|
567
|
+
icon: import("../node_modules/@stitches/react/types/theme").Token<"icon", string, "colors", "">;
|
|
568
|
+
border: import("../node_modules/@stitches/react/types/theme").Token<"border", string, "colors", "">;
|
|
569
|
+
buttonBorder: import("../node_modules/@stitches/react/types/theme").Token<"buttonBorder", string, "colors", "">;
|
|
570
|
+
headerBorder: import("../node_modules/@stitches/react/types/theme").Token<"headerBorder", string, "colors", "">;
|
|
571
|
+
headerBg: import("../node_modules/@stitches/react/types/theme").Token<"headerBg", string, "colors", "">;
|
|
572
|
+
headerText: import("../node_modules/@stitches/react/types/theme").Token<"headerText", string, "colors", "">;
|
|
573
|
+
text: import("../node_modules/@stitches/react/types/theme").Token<"text", string, "colors", "">;
|
|
574
|
+
text2: import("../node_modules/@stitches/react/types/theme").Token<"text2", string, "colors", "">;
|
|
575
|
+
text3: import("../node_modules/@stitches/react/types/theme").Token<"text3", string, "colors", "">;
|
|
576
|
+
sub: import("../node_modules/@stitches/react/types/theme").Token<"sub", string, "colors", "">;
|
|
577
|
+
popText: import("../node_modules/@stitches/react/types/theme").Token<"popText", string, "colors", "">;
|
|
578
|
+
toolbarBorder: import("../node_modules/@stitches/react/types/theme").Token<"toolbarBorder", string, "colors", "">;
|
|
579
|
+
toolbarBg: import("../node_modules/@stitches/react/types/theme").Token<"toolbarBg", string, "colors", "">;
|
|
580
|
+
modalBg: import("../node_modules/@stitches/react/types/theme").Token<"modalBg", string, "colors", "">;
|
|
581
|
+
modalButtonBg: import("../node_modules/@stitches/react/types/theme").Token<"modalButtonBg", string, "colors", "">;
|
|
582
|
+
modalButtonBorder: import("../node_modules/@stitches/react/types/theme").Token<"modalButtonBorder", string, "colors", "">;
|
|
583
|
+
inputDisabledBg: import("../node_modules/@stitches/react/types/theme").Token<"inputDisabledBg", string, "colors", "">;
|
|
584
|
+
inputDisabledText: import("../node_modules/@stitches/react/types/theme").Token<"inputDisabledText", string, "colors", "">;
|
|
585
|
+
choiceBg: import("../node_modules/@stitches/react/types/theme").Token<"choiceBg", string, "colors", "">;
|
|
586
|
+
choiceText: import("../node_modules/@stitches/react/types/theme").Token<"choiceText", string, "colors", "">;
|
|
587
|
+
choiceActiveBg: import("../node_modules/@stitches/react/types/theme").Token<"choiceActiveBg", string, "colors", "">;
|
|
588
|
+
choiceActiveText: import("../node_modules/@stitches/react/types/theme").Token<"choiceActiveText", string, "colors", "">;
|
|
589
|
+
choiceBorder: import("../node_modules/@stitches/react/types/theme").Token<"choiceBorder", string, "colors", "">;
|
|
590
|
+
selectorText: import("../node_modules/@stitches/react/types/theme").Token<"selectorText", string, "colors", "">;
|
|
591
|
+
selectorActive: import("../node_modules/@stitches/react/types/theme").Token<"selectorActive", string, "colors", "">;
|
|
592
|
+
blue1: import("../node_modules/@stitches/react/types/theme").Token<"blue1", string, "colors", "">;
|
|
593
|
+
blue2: import("../node_modules/@stitches/react/types/theme").Token<"blue2", string, "colors", "">;
|
|
594
|
+
blue3: import("../node_modules/@stitches/react/types/theme").Token<"blue3", string, "colors", "">;
|
|
595
|
+
blue4: import("../node_modules/@stitches/react/types/theme").Token<"blue4", string, "colors", "">;
|
|
596
|
+
blue5: import("../node_modules/@stitches/react/types/theme").Token<"blue5", string, "colors", "">;
|
|
597
|
+
orange1: import("../node_modules/@stitches/react/types/theme").Token<"orange1", string, "colors", "">;
|
|
598
|
+
orange1Darker: import("../node_modules/@stitches/react/types/theme").Token<"orange1Darker", string, "colors", "">;
|
|
599
|
+
purple1: import("../node_modules/@stitches/react/types/theme").Token<"purple1", string, "colors", "">;
|
|
600
|
+
green1: import("../node_modules/@stitches/react/types/theme").Token<"green1", string, "colors", "">;
|
|
601
|
+
green1Darker: import("../node_modules/@stitches/react/types/theme").Token<"green1Darker", string, "colors", "">;
|
|
602
|
+
pink1: import("../node_modules/@stitches/react/types/theme").Token<"pink1", string, "colors", "">;
|
|
603
|
+
red1: import("../node_modules/@stitches/react/types/theme").Token<"red1", string, "colors", "">;
|
|
604
|
+
yellow1: import("../node_modules/@stitches/react/types/theme").Token<"yellow1", string, "colors", "">;
|
|
605
|
+
yellow2: import("../node_modules/@stitches/react/types/theme").Token<"yellow2", string, "colors", "">;
|
|
606
|
+
yellow3: import("../node_modules/@stitches/react/types/theme").Token<"yellow3", string, "colors", "">;
|
|
607
|
+
pinky1: import("../node_modules/@stitches/react/types/theme").Token<"pinky1", string, "colors", "">;
|
|
608
|
+
pinky2: import("../node_modules/@stitches/react/types/theme").Token<"pinky2", string, "colors", "">;
|
|
609
|
+
pinky3: import("../node_modules/@stitches/react/types/theme").Token<"pinky3", string, "colors", "">;
|
|
610
|
+
grey1: import("../node_modules/@stitches/react/types/theme").Token<"grey1", string, "colors", "">;
|
|
611
|
+
focusColor: import("../node_modules/@stitches/react/types/theme").Token<"focusColor", string, "colors", "">;
|
|
612
|
+
scrollbarsThumb: import("../node_modules/@stitches/react/types/theme").Token<"scrollbarsThumb", string, "colors", "">;
|
|
613
|
+
scrollbarsBg: import("../node_modules/@stitches/react/types/theme").Token<"scrollbarsBg", string, "colors", "">;
|
|
614
|
+
tableStripedBg: import("../node_modules/@stitches/react/types/theme").Token<"tableStripedBg", string, "colors", "">;
|
|
615
|
+
toolButtonText: import("../node_modules/@stitches/react/types/theme").Token<"toolButtonText", string, "colors", "">;
|
|
616
616
|
};
|
|
617
617
|
}, createTheme: <Argument0 extends string | ({
|
|
618
618
|
colors?: {
|
|
@@ -753,7 +753,7 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
753
753
|
})>(nameOrScalesArg0: Argument0, nameOrScalesArg1?: Argument1 | undefined) => string & {
|
|
754
754
|
className: string;
|
|
755
755
|
selector: string;
|
|
756
|
-
} & (Argument0 extends string ? import("
|
|
756
|
+
} & (Argument0 extends string ? import("../node_modules/@stitches/react/types/stitches").ThemeTokens<Argument1, ""> : import("../node_modules/@stitches/react/types/stitches").ThemeTokens<Argument0, "">), config: {
|
|
757
757
|
prefix: "";
|
|
758
758
|
media: {};
|
|
759
759
|
theme: {
|
|
@@ -820,7 +820,7 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
820
820
|
toolButtonText: "#666e80";
|
|
821
821
|
};
|
|
822
822
|
};
|
|
823
|
-
themeMap: import("
|
|
823
|
+
themeMap: import("../node_modules/@stitches/react/types/config").DefaultThemeMap;
|
|
824
824
|
utils: {
|
|
825
825
|
mx: (value: string | number) => {
|
|
826
826
|
marginLeft: string | number;
|
|
@@ -847,7 +847,7 @@ declare const styled: <Type extends keyof JSX.IntrinsicElements | React.Componen
|
|
|
847
847
|
declare const darkTheme: string & {
|
|
848
848
|
className: string;
|
|
849
849
|
selector: string;
|
|
850
|
-
} & import("
|
|
850
|
+
} & import("../node_modules/@stitches/react/types/stitches").ThemeTokens<{
|
|
851
851
|
colors: {
|
|
852
852
|
background: string;
|
|
853
853
|
mainColor: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-miui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"author": "Jacek Nowacki",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"exports": {
|
|
@@ -18,35 +18,36 @@
|
|
|
18
18
|
"@ezez/utils": "^3.0.0",
|
|
19
19
|
"@stitches/react": "^1.2.8",
|
|
20
20
|
"classnames": "^2.5.1",
|
|
21
|
-
"oop-timers": "^5.1
|
|
22
|
-
"
|
|
21
|
+
"oop-timers": "^5.2.1",
|
|
22
|
+
"sonner": "^2.0.7"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@babel/core": "^7.
|
|
26
|
-
"@babel/preset-env": "^7.
|
|
27
|
-
"@babel/preset-typescript": "^7.
|
|
28
|
-
"@ezez/eslint": "^9.39.
|
|
29
|
-
"@ezez/hooks": "^2.
|
|
25
|
+
"@babel/core": "^7.29.0",
|
|
26
|
+
"@babel/preset-env": "^7.29.5",
|
|
27
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
28
|
+
"@ezez/eslint": "^9.39.4",
|
|
29
|
+
"@ezez/hooks": "^2.3.1",
|
|
30
30
|
"@icon-park/react": "^1.4.2",
|
|
31
|
-
"@storybook/addon-docs": "^
|
|
32
|
-
"@storybook/addon-onboarding": "^
|
|
33
|
-
"@storybook/react-vite": "^
|
|
31
|
+
"@storybook/addon-docs": "^10.4.0",
|
|
32
|
+
"@storybook/addon-onboarding": "^10.4.0",
|
|
33
|
+
"@storybook/react-vite": "^10.4.0",
|
|
34
34
|
"@types/jest": "^29.5.14",
|
|
35
|
-
"@types/react": "^18.3.
|
|
36
|
-
"@types/react-dom": "^18.3.
|
|
35
|
+
"@types/react": "^18.3.28",
|
|
36
|
+
"@types/react-dom": "^18.3.7",
|
|
37
37
|
"babel-plugin-module-extension": "^0.1.3",
|
|
38
|
-
"babel-plugin-module-resolver": "^5.0.
|
|
39
|
-
"eslint-plugin-storybook": "^10.
|
|
40
|
-
"jest": "^30.2
|
|
38
|
+
"babel-plugin-module-resolver": "^5.0.3",
|
|
39
|
+
"eslint-plugin-storybook": "^10.4.0",
|
|
40
|
+
"jest": "^30.4.2",
|
|
41
41
|
"must": "^0.13.4",
|
|
42
|
-
"prettier": "^3.
|
|
42
|
+
"prettier": "^3.8.3",
|
|
43
43
|
"react": "^18.3.1",
|
|
44
44
|
"react-dom": "^18.3.1",
|
|
45
|
-
"react-use": "^17.
|
|
45
|
+
"react-use": "^17.6.0",
|
|
46
46
|
"resolve-tspaths": "^0.8.23",
|
|
47
|
-
"storybook": "^
|
|
47
|
+
"storybook": "^10.4.0",
|
|
48
48
|
"typedoc": "0.27.6",
|
|
49
|
-
"typescript": "^5.
|
|
49
|
+
"typescript": "^5.9.3",
|
|
50
|
+
"vite": "^7.3.2"
|
|
50
51
|
},
|
|
51
52
|
"peerDependencies": {
|
|
52
53
|
"react": "^18.2.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
diff --git a/
|
|
1
|
+
diff --git a/types/css-util.d.ts b/types/css-util.d.ts
|
|
2
2
|
index 1668fc2ab56c421894c547b2e5a988166cd90e5f..cfdad3f208ef7f57c89de7fb94cdaecbd7378c63 100644
|
|
3
|
-
--- a/
|
|
4
|
-
+++ b/
|
|
3
|
+
--- a/types/css-util.d.ts
|
|
4
|
+
+++ b/types/css-util.d.ts
|
|
5
5
|
@@ -117,3 +117,11 @@ export type $$ScaleValue = typeof $$ScaleValue
|
|
6
6
|
export declare const $$ThemeValue: unique symbol
|
|
7
7
|
|
|
@@ -15,10 +15,10 @@ index 1668fc2ab56c421894c547b2e5a988166cd90e5f..cfdad3f208ef7f57c89de7fb94cdaecb
|
|
|
15
15
|
+ readonly [K in $$ScaleValue]: T;
|
|
16
16
|
+}
|
|
17
17
|
|
|
18
|
-
diff --git a/
|
|
18
|
+
diff --git a/types/index.d.ts b/types/index.d.ts
|
|
19
19
|
index 8dbcc9cad3f6c556a3f370065dd95300a02dd973..dafadd22e8b6285aadee2630936a7918c9c5b02b 100644
|
|
20
|
-
--- a/
|
|
21
|
-
+++ b/
|
|
20
|
+
--- a/types/index.d.ts
|
|
21
|
+
+++ b/types/index.d.ts
|
|
22
22
|
@@ -35,7 +35,7 @@ export type ComponentProps<Component> = Component extends ((...args: any[]) => a
|
|
23
23
|
/** Returns a type that expects a value to be a kind of CSS property value. */
|
|
24
24
|
export type PropertyValue<Property extends keyof CSSUtil.CSSProperties, Config = null> = (
|