react-miui 0.32.3 → 0.34.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.json +12 -0
- package/.claude/settings.local.json +11 -1
- package/.storybook/main.ts +4 -1
- package/.storybook/preview.tsx +10 -4
- package/CHANGELOG.md +16 -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.d.ts +10 -1
- package/dist/components/ui/drawer/Drawer.d.ts.map +1 -1
- package/dist/components/ui/drawer/Drawer.js +135 -15
- package/dist/components/ui/drawer/Drawer.js.map +1 -1
- package/dist/components/ui/drawer/Drawer.styled.d.ts +90 -5
- package/dist/components/ui/drawer/Drawer.styled.d.ts.map +1 -1
- package/dist/components/ui/drawer/Drawer.styled.js +13 -1
- package/dist/components/ui/drawer/Drawer.styled.js.map +1 -1
- 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 +31 -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/ui/tooltip/Tooltip.d.ts +30 -0
- package/dist/components/ui/tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip/Tooltip.js +81 -0
- package/dist/components/ui/tooltip/Tooltip.js.map +1 -0
- package/dist/components/ui/tooltip/Tooltip.styled.d.ts +173 -0
- package/dist/components/ui/tooltip/Tooltip.styled.d.ts.map +1 -0
- package/dist/components/ui/{toaster/Notification.js → tooltip/Tooltip.styled.js} +30 -18
- package/dist/components/ui/tooltip/Tooltip.styled.js.map +1 -0
- package/dist/components/utils/Gap.d.ts +3 -3
- package/dist/components/utils/Spacer.d.ts +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/theme.d.ts +86 -86
- package/docs/assets/highlight.css +7 -0
- 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.Tooltip.html +18 -0
- package/docs/functions/index.TooltipProvider.html +6 -0
- 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/interfaces/index.TooltipProps.html +36 -0
- package/docs/interfaces/index.TooltipProviderProps.html +13 -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.DrawerFrom.html +1 -0
- package/docs/types/index.DrawerProps.html +28 -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.TooltipContentSelector.html +1 -0
- 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.d.ts +10 -1
- package/esm/components/ui/drawer/Drawer.d.ts.map +1 -1
- package/esm/components/ui/drawer/Drawer.js +139 -15
- package/esm/components/ui/drawer/Drawer.js.map +1 -1
- package/esm/components/ui/drawer/Drawer.styled.d.ts +90 -5
- package/esm/components/ui/drawer/Drawer.styled.d.ts.map +1 -1
- package/esm/components/ui/drawer/Drawer.styled.js +12 -1
- package/esm/components/ui/drawer/Drawer.styled.js.map +1 -1
- 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 +19 -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/ui/tooltip/Tooltip.d.ts +30 -0
- package/esm/components/ui/tooltip/Tooltip.d.ts.map +1 -0
- package/esm/components/ui/tooltip/Tooltip.js +43 -0
- package/esm/components/ui/tooltip/Tooltip.js.map +1 -0
- package/esm/components/ui/tooltip/Tooltip.styled.d.ts +173 -0
- package/esm/components/ui/tooltip/Tooltip.styled.d.ts.map +1 -0
- package/esm/components/ui/tooltip/Tooltip.styled.js +28 -0
- package/esm/components/ui/tooltip/Tooltip.styled.js.map +1 -0
- package/esm/components/utils/Gap.d.ts +3 -3
- package/esm/components/utils/Spacer.d.ts +2 -2
- package/esm/index.d.ts +1 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/esm/theme.d.ts +86 -86
- package/package.json +22 -20
- package/patches/{@stitches+react+1.2.8.patch → @stitches__react@1.2.8.patch} +6 -6
- package/pnpm-workspace.yaml +3 -0
- package/src/bugfixes/ToastsFromModal.stories.tsx +59 -0
- 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/drawer/Drawer.stories.tsx +143 -59
- package/src/components/ui/drawer/Drawer.styled.ts +13 -0
- package/src/components/ui/drawer/Drawer.tsx +214 -20
- 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 +28 -94
- package/src/components/ui/tooltip/Tooltip.stories.tsx +285 -0
- package/src/components/ui/tooltip/Tooltip.styled.ts +36 -0
- package/src/components/ui/tooltip/Tooltip.tsx +195 -0
- package/src/index.ts +1 -0
- 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.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,4 +1,4 @@
|
|
|
1
|
-
declare const ModalButtons: import("
|
|
1
|
+
declare const ModalButtons: 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 ModalButtons: import("@stitches/react/types/styled-component").Sty
|
|
|
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;
|
|
@@ -83,9 +83,9 @@ declare const ModalButtons: import("@stitches/react/types/styled-component").Sty
|
|
|
83
83
|
height: string | number;
|
|
84
84
|
};
|
|
85
85
|
}>> & {
|
|
86
|
-
Button: import("
|
|
86
|
+
Button: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"button", {
|
|
87
87
|
variant?: "main";
|
|
88
|
-
}, {}, import("
|
|
88
|
+
}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
89
89
|
colors: {
|
|
90
90
|
background: "white";
|
|
91
91
|
mainColor: "#008ad2";
|
|
@@ -148,7 +148,7 @@ declare const ModalButtons: import("@stitches/react/types/styled-component").Sty
|
|
|
148
148
|
tableStripedBg: "#fafafa";
|
|
149
149
|
toolButtonText: "#666e80";
|
|
150
150
|
};
|
|
151
|
-
}, import("
|
|
151
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
152
152
|
mx: (value: string | number) => {
|
|
153
153
|
marginLeft: string | number;
|
|
154
154
|
marginRight: string | number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const Overlay: import("
|
|
1
|
+
declare const Overlay: 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 Overlay: import("@stitches/react/types/styled-component").StyledCo
|
|
|
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;
|
|
@@ -83,7 +83,7 @@ declare const Overlay: import("@stitches/react/types/styled-component").StyledCo
|
|
|
83
83
|
height: string | number;
|
|
84
84
|
};
|
|
85
85
|
}>>;
|
|
86
|
-
declare const List: import("
|
|
86
|
+
declare const List: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"ul", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
87
87
|
colors: {
|
|
88
88
|
background: "white";
|
|
89
89
|
mainColor: "#008ad2";
|
|
@@ -146,7 +146,7 @@ declare const List: import("@stitches/react/types/styled-component").StyledCompo
|
|
|
146
146
|
tableStripedBg: "#fafafa";
|
|
147
147
|
toolButtonText: "#666e80";
|
|
148
148
|
};
|
|
149
|
-
}, import("
|
|
149
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
150
150
|
mx: (value: string | number) => {
|
|
151
151
|
marginLeft: string | number;
|
|
152
152
|
marginRight: string | number;
|
|
@@ -168,7 +168,7 @@ declare const List: import("@stitches/react/types/styled-component").StyledCompo
|
|
|
168
168
|
height: string | number;
|
|
169
169
|
};
|
|
170
170
|
}>>;
|
|
171
|
-
declare const ListItem: import("
|
|
171
|
+
declare const ListItem: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"li", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
172
172
|
colors: {
|
|
173
173
|
background: "white";
|
|
174
174
|
mainColor: "#008ad2";
|
|
@@ -231,7 +231,7 @@ declare const ListItem: import("@stitches/react/types/styled-component").StyledC
|
|
|
231
231
|
tableStripedBg: "#fafafa";
|
|
232
232
|
toolButtonText: "#666e80";
|
|
233
233
|
};
|
|
234
|
-
}, import("
|
|
234
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
235
235
|
mx: (value: string | number) => {
|
|
236
236
|
marginLeft: string | number;
|
|
237
237
|
marginRight: string | number;
|
|
@@ -253,7 +253,7 @@ declare const ListItem: import("@stitches/react/types/styled-component").StyledC
|
|
|
253
253
|
height: string | number;
|
|
254
254
|
};
|
|
255
255
|
}>>;
|
|
256
|
-
declare const Button: import("
|
|
256
|
+
declare const Button: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"button", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
257
257
|
colors: {
|
|
258
258
|
background: "white";
|
|
259
259
|
mainColor: "#008ad2";
|
|
@@ -316,7 +316,7 @@ declare const Button: import("@stitches/react/types/styled-component").StyledCom
|
|
|
316
316
|
tableStripedBg: "#fafafa";
|
|
317
317
|
toolButtonText: "#666e80";
|
|
318
318
|
};
|
|
319
|
-
}, import("
|
|
319
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
320
320
|
mx: (value: string | number) => {
|
|
321
321
|
marginLeft: string | number;
|
|
322
322
|
marginRight: string | number;
|
|
@@ -338,7 +338,7 @@ declare const Button: import("@stitches/react/types/styled-component").StyledCom
|
|
|
338
338
|
height: string | number;
|
|
339
339
|
};
|
|
340
340
|
}>>;
|
|
341
|
-
declare const Icon: import("
|
|
341
|
+
declare const Icon: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"div", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
342
342
|
colors: {
|
|
343
343
|
background: "white";
|
|
344
344
|
mainColor: "#008ad2";
|
|
@@ -401,7 +401,7 @@ declare const Icon: import("@stitches/react/types/styled-component").StyledCompo
|
|
|
401
401
|
tableStripedBg: "#fafafa";
|
|
402
402
|
toolButtonText: "#666e80";
|
|
403
403
|
};
|
|
404
|
-
}, import("
|
|
404
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
405
405
|
mx: (value: string | number) => {
|
|
406
406
|
marginLeft: string | number;
|
|
407
407
|
marginRight: string | number;
|
|
@@ -423,7 +423,7 @@ declare const Icon: import("@stitches/react/types/styled-component").StyledCompo
|
|
|
423
423
|
height: string | number;
|
|
424
424
|
};
|
|
425
425
|
}>>;
|
|
426
|
-
declare const FakeIcon: import("
|
|
426
|
+
declare const FakeIcon: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"span", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
427
427
|
colors: {
|
|
428
428
|
background: "white";
|
|
429
429
|
mainColor: "#008ad2";
|
|
@@ -486,7 +486,7 @@ declare const FakeIcon: import("@stitches/react/types/styled-component").StyledC
|
|
|
486
486
|
tableStripedBg: "#fafafa";
|
|
487
487
|
toolButtonText: "#666e80";
|
|
488
488
|
};
|
|
489
|
-
}, import("
|
|
489
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
490
490
|
mx: (value: string | number) => {
|
|
491
491
|
marginLeft: string | number;
|
|
492
492
|
marginRight: string | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const Container: import("
|
|
1
|
+
declare const Container: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
2
2
|
size?: "big";
|
|
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 Container: import("@stitches/react/types/styled-component").Styled
|
|
|
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;
|
|
@@ -85,9 +85,9 @@ declare const Container: import("@stitches/react/types/styled-component").Styled
|
|
|
85
85
|
height: string | number;
|
|
86
86
|
};
|
|
87
87
|
}>>;
|
|
88
|
-
declare const Value: import("
|
|
88
|
+
declare const Value: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
89
89
|
zero?: boolean | "true";
|
|
90
|
-
}, {}, import("
|
|
90
|
+
}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
91
91
|
colors: {
|
|
92
92
|
background: "white";
|
|
93
93
|
mainColor: "#008ad2";
|
|
@@ -150,7 +150,7 @@ declare const Value: import("@stitches/react/types/styled-component").StyledComp
|
|
|
150
150
|
tableStripedBg: "#fafafa";
|
|
151
151
|
toolButtonText: "#666e80";
|
|
152
152
|
};
|
|
153
|
-
}, import("
|
|
153
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
154
154
|
mx: (value: string | number) => {
|
|
155
155
|
marginLeft: string | number;
|
|
156
156
|
marginRight: string | number;
|
|
@@ -172,7 +172,7 @@ declare const Value: import("@stitches/react/types/styled-component").StyledComp
|
|
|
172
172
|
height: string | number;
|
|
173
173
|
};
|
|
174
174
|
}>>;
|
|
175
|
-
declare const Background: import("
|
|
175
|
+
declare const Background: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"div", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
176
176
|
colors: {
|
|
177
177
|
background: "white";
|
|
178
178
|
mainColor: "#008ad2";
|
|
@@ -235,7 +235,7 @@ declare const Background: import("@stitches/react/types/styled-component").Style
|
|
|
235
235
|
tableStripedBg: "#fafafa";
|
|
236
236
|
toolButtonText: "#666e80";
|
|
237
237
|
};
|
|
238
|
-
}, import("
|
|
238
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
239
239
|
mx: (value: string | number) => {
|
|
240
240
|
marginLeft: string | number;
|
|
241
241
|
marginRight: string | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const StyledStats: import("
|
|
1
|
+
declare const StyledStats: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"ul", {
|
|
2
2
|
variant?: "dark";
|
|
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 StyledStats: import("@stitches/react/types/styled-component").Styl
|
|
|
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;
|
|
@@ -85,7 +85,7 @@ declare const StyledStats: import("@stitches/react/types/styled-component").Styl
|
|
|
85
85
|
height: string | number;
|
|
86
86
|
};
|
|
87
87
|
}>>;
|
|
88
|
-
declare const Item: import("
|
|
88
|
+
declare const Item: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"li", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
89
89
|
colors: {
|
|
90
90
|
background: "white";
|
|
91
91
|
mainColor: "#008ad2";
|
|
@@ -148,7 +148,7 @@ declare const Item: import("@stitches/react/types/styled-component").StyledCompo
|
|
|
148
148
|
tableStripedBg: "#fafafa";
|
|
149
149
|
toolButtonText: "#666e80";
|
|
150
150
|
};
|
|
151
|
-
}, import("
|
|
151
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
152
152
|
mx: (value: string | number) => {
|
|
153
153
|
marginLeft: string | number;
|
|
154
154
|
marginRight: string | number;
|
|
@@ -170,7 +170,7 @@ declare const Item: import("@stitches/react/types/styled-component").StyledCompo
|
|
|
170
170
|
height: string | number;
|
|
171
171
|
};
|
|
172
172
|
}>>;
|
|
173
|
-
declare const Separator: import("
|
|
173
|
+
declare const Separator: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"li", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
174
174
|
colors: {
|
|
175
175
|
background: "white";
|
|
176
176
|
mainColor: "#008ad2";
|
|
@@ -233,7 +233,7 @@ declare const Separator: import("@stitches/react/types/styled-component").Styled
|
|
|
233
233
|
tableStripedBg: "#fafafa";
|
|
234
234
|
toolButtonText: "#666e80";
|
|
235
235
|
};
|
|
236
|
-
}, import("
|
|
236
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
237
237
|
mx: (value: string | number) => {
|
|
238
238
|
marginLeft: string | number;
|
|
239
239
|
marginRight: string | number;
|
|
@@ -255,7 +255,7 @@ declare const Separator: import("@stitches/react/types/styled-component").Styled
|
|
|
255
255
|
height: string | number;
|
|
256
256
|
};
|
|
257
257
|
}>>;
|
|
258
|
-
declare const Label: import("
|
|
258
|
+
declare const Label: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"span", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
259
259
|
colors: {
|
|
260
260
|
background: "white";
|
|
261
261
|
mainColor: "#008ad2";
|
|
@@ -318,7 +318,7 @@ declare const Label: import("@stitches/react/types/styled-component").StyledComp
|
|
|
318
318
|
tableStripedBg: "#fafafa";
|
|
319
319
|
toolButtonText: "#666e80";
|
|
320
320
|
};
|
|
321
|
-
}, import("
|
|
321
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
322
322
|
mx: (value: string | number) => {
|
|
323
323
|
marginLeft: string | number;
|
|
324
324
|
marginRight: string | number;
|
|
@@ -340,7 +340,7 @@ declare const Label: import("@stitches/react/types/styled-component").StyledComp
|
|
|
340
340
|
height: string | number;
|
|
341
341
|
};
|
|
342
342
|
}>>;
|
|
343
|
-
declare const Value: import("
|
|
343
|
+
declare const Value: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"span", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
|
|
344
344
|
colors: {
|
|
345
345
|
background: "white";
|
|
346
346
|
mainColor: "#008ad2";
|
|
@@ -403,7 +403,7 @@ declare const Value: import("@stitches/react/types/styled-component").StyledComp
|
|
|
403
403
|
tableStripedBg: "#fafafa";
|
|
404
404
|
toolButtonText: "#666e80";
|
|
405
405
|
};
|
|
406
|
-
}, import("
|
|
406
|
+
}, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
|
|
407
407
|
mx: (value: string | number) => {
|
|
408
408
|
marginLeft: string | number;
|
|
409
409
|
marginRight: string | number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const StyledItem: import("
|
|
1
|
+
export declare const StyledItem: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"button", {
|
|
2
2
|
active?: boolean | "true";
|
|
3
|
-
}, {}, import("
|
|
3
|
+
}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {}, {}, {}>>;
|
|
4
4
|
//# sourceMappingURL=Item.styled.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const Root: import("
|
|
1
|
+
declare const Root: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
2
2
|
multiLine?: boolean | "true" | "false";
|
|
3
|
-
}, {}, import("
|
|
4
|
-
declare const Wrapper: import("
|
|
5
|
-
declare const Arrow: import("
|
|
3
|
+
}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {}, {}, {}>>;
|
|
4
|
+
declare const Wrapper: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"div", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {}, {}, {}>>;
|
|
5
|
+
declare const Arrow: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
6
6
|
side?: "left" | "right";
|
|
7
7
|
visible?: boolean | "true";
|
|
8
|
-
}, {}, import("
|
|
8
|
+
}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {}, {}, {}>>;
|
|
9
9
|
export { Arrow, Root, Wrapper };
|
|
10
10
|
//# sourceMappingURL=Selector.styled.d.ts.map
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
3
|
-
type
|
|
4
|
-
interface
|
|
5
|
-
children
|
|
6
|
-
}
|
|
7
|
-
interface State {
|
|
8
|
-
list: Toast[];
|
|
9
|
-
}
|
|
10
|
-
declare class ToasterProvider extends React.Component<Props, State> {
|
|
11
|
-
constructor(props: Props, context: unknown);
|
|
12
|
-
private readonly _add;
|
|
13
|
-
private readonly _handleRemove;
|
|
14
|
-
private readonly _removeAllToasts;
|
|
15
|
-
render(): React.JSX.Element;
|
|
2
|
+
import { toast, Toaster as SonnerToaster } from "sonner";
|
|
3
|
+
type SonnerToasterProps = React.ComponentProps<typeof SonnerToaster>;
|
|
4
|
+
interface ToasterProviderProps extends SonnerToasterProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
16
6
|
}
|
|
7
|
+
declare const ToasterProvider: React.FC<ToasterProviderProps>;
|
|
8
|
+
type ToasterFn = (text: string, timeout?: number) => string | number;
|
|
17
9
|
declare const useToaster: () => ToasterFn;
|
|
18
|
-
export { ToasterProvider, useToaster };
|
|
10
|
+
export { ToasterProvider, useToaster, toast };
|
|
11
|
+
export type { ToasterProviderProps };
|
|
19
12
|
//# sourceMappingURL=Toaster.d.ts.map
|
|
@@ -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,KAA2C,MAAM,OAAO,CAAC;AAGhE,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,CAgBnD,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,20 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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, useEffect, useState } from "react";
|
|
2
|
+
import { createPortal } from "react-dom";
|
|
3
|
+
import { toast, Toaster as SonnerToaster } from "sonner";
|
|
4
|
+
const ToasterProvider = ({ children, position = "bottom-center", ...rest }) => {
|
|
5
|
+
const [body, setBody] = useState(null);
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
setBody(document.body);
|
|
8
|
+
}, []);
|
|
9
|
+
const toaster = React.createElement(SonnerToaster, { position: position, ...rest });
|
|
10
|
+
return (React.createElement(React.Fragment, null,
|
|
11
|
+
children,
|
|
12
|
+
body ? createPortal(toaster, body) : null));
|
|
13
|
+
};
|
|
14
|
+
const useToaster = () => {
|
|
15
|
+
return useCallback((text, timeout) => {
|
|
16
|
+
return toast(text, timeout != null ? { duration: timeout } : undefined);
|
|
17
|
+
}, []);
|
|
18
|
+
};
|
|
19
|
+
export { ToasterProvider, useToaster, toast };
|
|
75
20
|
//# 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,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,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,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAqB,IAAI,CAAC,CAAC;IAE3D,SAAS,CAAC,GAAG,EAAE;QAEX,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,OAAO,GAAG,oBAAC,aAAa,IAAC,QAAQ,EAAE,QAAQ,KAAM,IAAI,GAAI,CAAC;IAEhE,OAAO,CACH;QACK,QAAQ;QACR,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAC3C,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;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type Side = "top" | "right" | "bottom" | "left";
|
|
3
|
+
type Align = "start" | "center" | "end";
|
|
4
|
+
interface TooltipProviderProps {
|
|
5
|
+
delayDuration?: number;
|
|
6
|
+
skipDelayDuration?: number;
|
|
7
|
+
disableHoverableContent?: boolean;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const TooltipProvider: (props: TooltipProviderProps) => React.JSX.Element;
|
|
11
|
+
interface TooltipProps {
|
|
12
|
+
content: React.ReactNode;
|
|
13
|
+
side?: Side;
|
|
14
|
+
sideOffset?: number;
|
|
15
|
+
align?: Align;
|
|
16
|
+
alignOffset?: number;
|
|
17
|
+
delayDuration?: number;
|
|
18
|
+
avoidCollisions?: boolean;
|
|
19
|
+
arrow?: boolean;
|
|
20
|
+
open?: boolean;
|
|
21
|
+
defaultOpen?: boolean;
|
|
22
|
+
onOpenChange?: (open: boolean) => void;
|
|
23
|
+
className?: string;
|
|
24
|
+
children: React.ReactElement;
|
|
25
|
+
}
|
|
26
|
+
declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
declare const TooltipContentSelector: string;
|
|
28
|
+
export { Tooltip, TooltipProvider, TooltipContentSelector, };
|
|
29
|
+
export type { TooltipProps, TooltipProviderProps };
|
|
30
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,KAAK,IAAI,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAChD,KAAK,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAExC,UAAU,oBAAoB;IAK1B,aAAa,CAAC,EAAE,MAAM,CAAC;IAMvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAM3B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAUD,QAAA,MAAM,eAAe,GAAI,OAAO,oBAAoB,sBAanD,CAAC;AAEF,UAAU,YAAY;IAIlB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IAMzB,IAAI,CAAC,EAAE,IAAI,CAAC;IAKZ,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,KAAK,CAAC,EAAE,KAAK,CAAC;IAKd,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAIhB,IAAI,CAAC,EAAE,OAAO,CAAC;IAIf,WAAW,CAAC,EAAE,OAAO,CAAC;IAItB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAIvC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAChC;AAqBD,QAAA,MAAM,OAAO,qFA8CX,CAAC;AAKH,QAAA,MAAM,sBAAsB,QAA2B,CAAC;AAExD,OAAO,EACH,OAAO,EACP,eAAe,EACf,sBAAsB,GACzB,CAAC;AACF,YAAY,EAAE,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React, { forwardRef } from "react";
|
|
2
|
+
import * as RadixTooltip from "@radix-ui/react-tooltip";
|
|
3
|
+
import { StyledArrow, StyledContent } from "./Tooltip.styled.js";
|
|
4
|
+
const TooltipProvider = (props) => {
|
|
5
|
+
const radixProps = {};
|
|
6
|
+
if (props.delayDuration !== undefined) {
|
|
7
|
+
radixProps.delayDuration = props.delayDuration;
|
|
8
|
+
}
|
|
9
|
+
if (props.skipDelayDuration !== undefined) {
|
|
10
|
+
radixProps.skipDelayDuration = props.skipDelayDuration;
|
|
11
|
+
}
|
|
12
|
+
if (props.disableHoverableContent !== undefined) {
|
|
13
|
+
radixProps.disableHoverableContent = props.disableHoverableContent;
|
|
14
|
+
}
|
|
15
|
+
return (React.createElement(RadixTooltip.Provider, { ...radixProps }, props.children));
|
|
16
|
+
};
|
|
17
|
+
const Tooltip = forwardRef((props, ref) => {
|
|
18
|
+
const { content, side = "top", sideOffset = 6, align = "center", alignOffset = 0, delayDuration, avoidCollisions = true, arrow = true, open, defaultOpen, onOpenChange, className, children, } = props;
|
|
19
|
+
const rootProps = {};
|
|
20
|
+
if (open !== undefined) {
|
|
21
|
+
rootProps.open = open;
|
|
22
|
+
}
|
|
23
|
+
if (defaultOpen !== undefined) {
|
|
24
|
+
rootProps.defaultOpen = defaultOpen;
|
|
25
|
+
}
|
|
26
|
+
if (onOpenChange !== undefined) {
|
|
27
|
+
rootProps.onOpenChange = onOpenChange;
|
|
28
|
+
}
|
|
29
|
+
if (delayDuration !== undefined) {
|
|
30
|
+
rootProps.delayDuration = delayDuration;
|
|
31
|
+
}
|
|
32
|
+
return (React.createElement(RadixTooltip.Root, { ...rootProps },
|
|
33
|
+
React.createElement(RadixTooltip.Trigger, { asChild: true }, children),
|
|
34
|
+
React.createElement(RadixTooltip.Portal, null,
|
|
35
|
+
React.createElement(StyledContent, { ref: ref, side: side, sideOffset: sideOffset, align: align, alignOffset: alignOffset, avoidCollisions: avoidCollisions, className: className },
|
|
36
|
+
content,
|
|
37
|
+
arrow && React.createElement(StyledArrow, { width: 10, height: 5 })))));
|
|
38
|
+
});
|
|
39
|
+
Tooltip.displayName = "Tooltip";
|
|
40
|
+
Tooltip.toString = () => StyledContent.toString();
|
|
41
|
+
const TooltipContentSelector = StyledContent.toString();
|
|
42
|
+
export { Tooltip, TooltipProvider, TooltipContentSelector, };
|
|
43
|
+
//# sourceMappingURL=Tooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.js","sourceRoot":"","sources":["../../../../src/components/ui/tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAkC9D,MAAM,eAAe,GAAG,CAAC,KAA2B,EAAE,EAAE;IACpD,MAAM,UAAU,GAAyE,EAAE,CAAC;IAC5F,IAAI,KAAK,CAAC,aAAa,KAAK,SAAS,EAAE,CAAC;QAAC,UAAU,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;IAAC,CAAC;IAC1F,IAAI,KAAK,CAAC,iBAAiB,KAAK,SAAS,EAAE,CAAC;QAAC,UAAU,CAAC,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAAC,CAAC;IACtG,IAAI,KAAK,CAAC,uBAAuB,KAAK,SAAS,EAAE,CAAC;QAC9C,UAAU,CAAC,uBAAuB,GAAG,KAAK,CAAC,uBAAuB,CAAC;IACvE,CAAC;IAED,OAAO,CACH,oBAAC,YAAY,CAAC,QAAQ,OAAK,UAAU,IAChC,KAAK,CAAC,QAAQ,CACK,CAC3B,CAAC;AACN,CAAC,CAAC;AAqFF,MAAM,OAAO,GAAG,UAAU,CAA+B,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IACpE,MAAM,EACF,OAAO,EACP,IAAI,GAAG,KAAK,EAEZ,UAAU,GAAG,CAAC,EACd,KAAK,GAAG,QAAQ,EAChB,WAAW,GAAG,CAAC,EACf,aAAa,EACb,eAAe,GAAG,IAAI,EACtB,KAAK,GAAG,IAAI,EACZ,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,SAAS,EACT,QAAQ,GACX,GAAG,KAAK,CAAC;IAEV,MAAM,SAAS,GAAmD,EAAE,CAAC;IACrE,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC;IAAC,CAAC;IAClD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;QAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;IAAC,CAAC;IACvE,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAAC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC;IAAC,CAAC;IAC1E,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;QAAC,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC;IAAC,CAAC;IAE7E,OAAO,CACH,oBAAC,YAAY,CAAC,IAAI,OAAK,SAAS;QAC5B,oBAAC,YAAY,CAAC,OAAO,IAAC,OAAO,EAAE,IAAI,IAC9B,QAAQ,CACU;QACvB,oBAAC,YAAY,CAAC,MAAM;YAChB,oBAAC,aAAa,IACV,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,SAAS,EAAE,SAAS;gBAEnB,OAAO;gBAEP,KAAK,IAAI,oBAAC,WAAW,IAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,GAAI,CACnC,CACE,CACN,CACvB,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;AAChC,OAAO,CAAC,QAAQ,GAAG,GAAG,EAAE,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;AAElD,MAAM,sBAAsB,GAAG,aAAa,CAAC,QAAQ,EAAE,CAAC;AAExD,OAAO,EACH,OAAO,EACP,eAAe,EACf,sBAAsB,GACzB,CAAC"}
|