react-miui 0.30.1 → 0.31.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/CHANGELOG.md +12 -2
- package/dist/components/form/Checkbox.styled.d.ts +6 -0
- package/dist/components/form/Checkbox.styled.d.ts.map +1 -1
- package/dist/components/form/ColorPicker.styled.d.ts +4 -0
- package/dist/components/form/ColorPicker.styled.d.ts.map +1 -1
- package/dist/components/form/Label.d.ts +2 -0
- package/dist/components/form/Label.d.ts.map +1 -1
- package/dist/components/form/Label.styled.d.ts +4 -0
- package/dist/components/form/Label.styled.d.ts.map +1 -1
- package/dist/components/form/Select.styled.d.ts +2 -0
- package/dist/components/form/Select.styled.d.ts.map +1 -1
- package/dist/components/form/Select.styled.js +1 -1
- package/dist/components/form/Select.styled.js.map +1 -1
- package/dist/components/form/Toggle.d.ts +2 -0
- package/dist/components/form/Toggle.d.ts.map +1 -1
- package/dist/components/form/Toggle.styled.d.ts +4 -0
- package/dist/components/form/Toggle.styled.d.ts.map +1 -1
- package/dist/components/form/choice/Choice.styled.d.ts +2 -0
- package/dist/components/form/choice/Choice.styled.d.ts.map +1 -1
- package/dist/components/form/choice/ChoiceItem.styled.d.ts +2 -0
- package/dist/components/form/choice/ChoiceItem.styled.d.ts.map +1 -1
- package/dist/components/form/input/Input.css.d.ts +1 -1
- package/dist/components/form/input/Input.css.js +1 -1
- package/dist/components/form/input/Input.css.js.map +1 -1
- package/dist/components/form/input/Input.styled.d.ts +8 -0
- package/dist/components/form/input/Input.styled.d.ts.map +1 -1
- package/dist/components/form/textarea/TextArea.styled.d.ts +2 -0
- package/dist/components/form/textarea/TextArea.styled.d.ts.map +1 -1
- package/dist/components/layout/card/Card.styled.d.ts +2 -0
- package/dist/components/layout/card/Card.styled.d.ts.map +1 -1
- package/dist/components/layout/header/Header.styled.d.ts +8 -0
- package/dist/components/layout/header/Header.styled.d.ts.map +1 -1
- package/dist/components/layout/header/HeaderIconAction.styled.d.ts +6 -0
- package/dist/components/layout/header/HeaderIconAction.styled.d.ts.map +1 -1
- package/dist/components/layout/header/StickyHeader.d.ts +2 -0
- package/dist/components/layout/header/StickyHeader.d.ts.map +1 -1
- package/dist/components/layout/header/StickyHeader.styled.d.ts +4 -0
- package/dist/components/layout/header/StickyHeader.styled.d.ts.map +1 -1
- package/dist/components/layout/list/Header.d.ts +4 -0
- package/dist/components/layout/list/Header.d.ts.map +1 -1
- package/dist/components/layout/list/Item.styled.d.ts +8 -0
- package/dist/components/layout/list/Item.styled.d.ts.map +1 -1
- package/dist/components/layout/list/Label.d.ts +2 -0
- package/dist/components/layout/list/Label.d.ts.map +1 -1
- package/dist/components/layout/list/List.d.ts +2 -0
- package/dist/components/layout/list/List.d.ts.map +1 -1
- package/dist/components/layout/list/Value.d.ts +2 -0
- package/dist/components/layout/list/Value.d.ts.map +1 -1
- package/dist/components/layout/section/SearchContainer.d.ts +2 -0
- package/dist/components/layout/section/SearchContainer.d.ts.map +1 -1
- package/dist/components/layout/section/Section.d.ts +4 -0
- package/dist/components/layout/section/Section.d.ts.map +1 -1
- package/dist/components/layout/section/SectionContainer.d.ts +2 -0
- package/dist/components/layout/section/SectionContainer.d.ts.map +1 -1
- package/dist/components/layout/table/Table.styled.d.ts +2 -0
- package/dist/components/layout/table/Table.styled.d.ts.map +1 -1
- package/dist/components/native/index.d.ts +2 -0
- package/dist/components/native/index.d.ts.map +1 -1
- package/dist/components/ui/action/Action.styled.d.ts +8 -0
- package/dist/components/ui/action/Action.styled.d.ts.map +1 -1
- package/dist/components/ui/action/Action.styled.js +2 -2
- package/dist/components/ui/action/Action.styled.js.map +1 -1
- package/dist/components/ui/action/EqualActions.styled.d.ts +2 -0
- package/dist/components/ui/action/EqualActions.styled.d.ts.map +1 -1
- package/dist/components/ui/button/Button.styled.d.ts +2 -0
- package/dist/components/ui/button/Button.styled.d.ts.map +1 -1
- package/dist/components/ui/button/Button.styled.js +2 -2
- package/dist/components/ui/button/Button.styled.js.map +1 -1
- package/dist/components/ui/directionPad/Button.styled.d.ts +4 -0
- package/dist/components/ui/directionPad/Button.styled.d.ts.map +1 -1
- package/dist/components/ui/directionPad/Button.styled.js +1 -1
- package/dist/components/ui/directionPad/Button.styled.js.map +1 -1
- package/dist/components/ui/directionPad/Middle.styled.d.ts +2 -0
- package/dist/components/ui/directionPad/Middle.styled.d.ts.map +1 -1
- package/dist/components/ui/directionPad/Pad.styled.d.ts +4 -0
- package/dist/components/ui/directionPad/Pad.styled.d.ts.map +1 -1
- package/dist/components/ui/directionPad/Pad.styled.js +1 -1
- package/dist/components/ui/directionPad/Pad.styled.js.map +1 -1
- package/dist/components/ui/drawer/Drawer.styled.d.ts +4 -0
- package/dist/components/ui/drawer/Drawer.styled.d.ts.map +1 -1
- package/dist/components/ui/drawer/Drawer.styled.js +1 -1
- package/dist/components/ui/drawer/Drawer.styled.js.map +1 -1
- package/dist/components/ui/keyValue/KeyValue.styled.d.ts +12 -0
- package/dist/components/ui/keyValue/KeyValue.styled.d.ts.map +1 -1
- package/dist/components/ui/keyValue/KeyValue.styled.js +1 -1
- package/dist/components/ui/keyValue/KeyValue.styled.js.map +1 -1
- package/dist/components/ui/line/Line.d.ts +2 -0
- package/dist/components/ui/line/Line.d.ts.map +1 -1
- package/dist/components/ui/loader/CoveringLoader.js +1 -1
- package/dist/components/ui/loader/PopLoader.d.ts.map +1 -1
- package/dist/components/ui/loader/PopLoader.js +1 -1
- package/dist/components/ui/loader/PopLoader.js.map +1 -1
- package/dist/components/ui/message/Message.styled.d.ts +2 -0
- package/dist/components/ui/message/Message.styled.d.ts.map +1 -1
- package/dist/components/ui/modal/Modal.styled.d.ts +8 -0
- package/dist/components/ui/modal/Modal.styled.d.ts.map +1 -1
- package/dist/components/ui/modal/Modal.styled.js +3 -3
- package/dist/components/ui/modal/Modal.styled.js.map +1 -1
- package/dist/components/ui/modal/ModalButtons.styled.d.ts +4 -0
- package/dist/components/ui/modal/ModalButtons.styled.d.ts.map +1 -1
- package/dist/components/ui/pop/Pop.styled.d.ts +12 -0
- package/dist/components/ui/pop/Pop.styled.d.ts.map +1 -1
- package/dist/components/ui/pop/Pop.styled.js +2 -2
- package/dist/components/ui/pop/Pop.styled.js.map +1 -1
- package/dist/components/ui/progress/Progress.styled.d.ts +6 -0
- package/dist/components/ui/progress/Progress.styled.d.ts.map +1 -1
- package/dist/components/ui/stats/Stats.styled.d.ts +10 -0
- package/dist/components/ui/stats/Stats.styled.d.ts.map +1 -1
- package/dist/components/ui/toaster/Toaster.styled.d.ts +2 -0
- package/dist/components/ui/toaster/Toaster.styled.d.ts.map +1 -1
- package/dist/components/ui/toolButton/ToolButton.styled.d.ts +2 -0
- package/dist/components/ui/toolButton/ToolButton.styled.d.ts.map +1 -1
- package/dist/components/utils/Gap.d.ts +2 -0
- package/dist/components/utils/Gap.d.ts.map +1 -1
- package/dist/components/utils/Spacer.d.ts +2 -0
- package/dist/components/utils/Spacer.d.ts.map +1 -1
- package/dist/theme.d.ts +21 -1
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +2 -0
- package/dist/theme.js.map +1 -1
- package/docs/classes/index.Pop.html +7 -7
- package/docs/classes/index.ToasterProvider.html +4 -4
- package/docs/documents/Test.html +2 -2
- package/docs/enums/index.ICON.html +2 -2
- package/docs/functions/index.Action.html +3 -3
- package/docs/functions/index.Button.html +4 -4
- package/docs/functions/index.Card.html +3 -3
- package/docs/functions/index.Checkbox.html +3 -3
- package/docs/functions/index.Choice.html +2 -2
- package/docs/functions/index.ColorPicker.html +3 -3
- package/docs/functions/index.CoveringLoader.html +3 -3
- package/docs/functions/index.DirectionPad.html +2 -2
- package/docs/functions/index.Drawer.html +2 -2
- package/docs/functions/index.EqualActions.html +2 -2
- package/docs/functions/index.FullLoader.html +3 -3
- package/docs/functions/index.Gap.html +3 -3
- package/docs/functions/index.HandleEsc.html +3 -3
- package/docs/functions/index.Header.html +3 -3
- package/docs/functions/index.HeaderIconAction.html +3 -3
- package/docs/functions/index.Icon-1.html +3 -3
- package/docs/functions/index.If.html +3 -3
- package/docs/functions/index.Input.html +1 -1
- package/docs/functions/index.KeyValue.html +2 -2
- package/docs/functions/index.Label.html +3 -3
- package/docs/functions/index.Line.html +4 -4
- package/docs/functions/index.List.html +6 -6
- package/docs/functions/index.Loader.html +3 -3
- package/docs/functions/index.Loading.html +3 -3
- package/docs/functions/index.Message.html +3 -3
- package/docs/functions/index.Modal.html +3 -3
- package/docs/functions/index.ModalButtons.html +3 -3
- package/docs/functions/index.PopLoader.html +3 -3
- package/docs/functions/index.PopOption.html +3 -3
- package/docs/functions/index.Progress.html +2 -2
- package/docs/functions/index.SearchContainer.html +3 -3
- package/docs/functions/index.Section.html +4 -4
- package/docs/functions/index.Select.html +3 -3
- package/docs/functions/index.Selector.html +2 -2
- package/docs/functions/index.Spacer.html +3 -3
- package/docs/functions/index.Stats.html +2 -2
- package/docs/functions/index.StickyHeader.html +4 -4
- package/docs/functions/index.Table.html +3 -3
- package/docs/functions/index.TextArea.html +2 -2
- package/docs/functions/index.Toggle.html +4 -4
- package/docs/functions/index.ToolButton.html +4 -4
- 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.useToaster.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/index.IconProps.html +2 -2
- package/docs/interfaces/index.InputCustomProps.html +2 -2
- package/docs/interfaces/index.LoaderProps.html +5 -5
- package/docs/interfaces/index.StickyHeaderProps.html +4 -4
- 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.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.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.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.ToggleStyledToggleSelector.html +1 -1
- package/docs/variables/index.config.html +1 -1
- package/docs/variables/index.cssReset.html +2 -2
- 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 -0
- package/esm/components/form/Checkbox.styled.d.ts.map +1 -1
- package/esm/components/form/ColorPicker.styled.d.ts +4 -0
- package/esm/components/form/ColorPicker.styled.d.ts.map +1 -1
- package/esm/components/form/Label.d.ts +2 -0
- package/esm/components/form/Label.d.ts.map +1 -1
- package/esm/components/form/Label.styled.d.ts +4 -0
- package/esm/components/form/Label.styled.d.ts.map +1 -1
- package/esm/components/form/Select.styled.d.ts +2 -0
- package/esm/components/form/Select.styled.d.ts.map +1 -1
- package/esm/components/form/Select.styled.js +1 -1
- package/esm/components/form/Select.styled.js.map +1 -1
- package/esm/components/form/Toggle.d.ts +2 -0
- package/esm/components/form/Toggle.d.ts.map +1 -1
- package/esm/components/form/Toggle.styled.d.ts +4 -0
- package/esm/components/form/Toggle.styled.d.ts.map +1 -1
- package/esm/components/form/choice/Choice.styled.d.ts +2 -0
- package/esm/components/form/choice/Choice.styled.d.ts.map +1 -1
- package/esm/components/form/choice/ChoiceItem.styled.d.ts +2 -0
- package/esm/components/form/choice/ChoiceItem.styled.d.ts.map +1 -1
- package/esm/components/form/input/Input.css.d.ts +1 -1
- package/esm/components/form/input/Input.css.js +2 -2
- package/esm/components/form/input/Input.css.js.map +1 -1
- package/esm/components/form/input/Input.styled.d.ts +8 -0
- package/esm/components/form/input/Input.styled.d.ts.map +1 -1
- package/esm/components/form/textarea/TextArea.styled.d.ts +2 -0
- package/esm/components/form/textarea/TextArea.styled.d.ts.map +1 -1
- package/esm/components/layout/card/Card.styled.d.ts +2 -0
- package/esm/components/layout/card/Card.styled.d.ts.map +1 -1
- package/esm/components/layout/header/Header.styled.d.ts +8 -0
- package/esm/components/layout/header/Header.styled.d.ts.map +1 -1
- package/esm/components/layout/header/HeaderIconAction.styled.d.ts +6 -0
- package/esm/components/layout/header/HeaderIconAction.styled.d.ts.map +1 -1
- package/esm/components/layout/header/StickyHeader.d.ts +2 -0
- package/esm/components/layout/header/StickyHeader.d.ts.map +1 -1
- package/esm/components/layout/header/StickyHeader.styled.d.ts +4 -0
- package/esm/components/layout/header/StickyHeader.styled.d.ts.map +1 -1
- package/esm/components/layout/list/Header.d.ts +4 -0
- package/esm/components/layout/list/Header.d.ts.map +1 -1
- package/esm/components/layout/list/Item.styled.d.ts +8 -0
- package/esm/components/layout/list/Item.styled.d.ts.map +1 -1
- package/esm/components/layout/list/Label.d.ts +2 -0
- package/esm/components/layout/list/Label.d.ts.map +1 -1
- package/esm/components/layout/list/List.d.ts +2 -0
- package/esm/components/layout/list/List.d.ts.map +1 -1
- package/esm/components/layout/list/Value.d.ts +2 -0
- package/esm/components/layout/list/Value.d.ts.map +1 -1
- package/esm/components/layout/section/SearchContainer.d.ts +2 -0
- package/esm/components/layout/section/SearchContainer.d.ts.map +1 -1
- package/esm/components/layout/section/Section.d.ts +4 -0
- package/esm/components/layout/section/Section.d.ts.map +1 -1
- package/esm/components/layout/section/SectionContainer.d.ts +2 -0
- package/esm/components/layout/section/SectionContainer.d.ts.map +1 -1
- package/esm/components/layout/table/Table.styled.d.ts +2 -0
- package/esm/components/layout/table/Table.styled.d.ts.map +1 -1
- package/esm/components/native/index.d.ts +2 -0
- package/esm/components/native/index.d.ts.map +1 -1
- package/esm/components/ui/action/Action.styled.d.ts +8 -0
- package/esm/components/ui/action/Action.styled.d.ts.map +1 -1
- package/esm/components/ui/action/Action.styled.js +3 -3
- package/esm/components/ui/action/Action.styled.js.map +1 -1
- package/esm/components/ui/action/EqualActions.styled.d.ts +2 -0
- package/esm/components/ui/action/EqualActions.styled.d.ts.map +1 -1
- package/esm/components/ui/button/Button.styled.d.ts +2 -0
- package/esm/components/ui/button/Button.styled.d.ts.map +1 -1
- package/esm/components/ui/button/Button.styled.js +2 -2
- package/esm/components/ui/button/Button.styled.js.map +1 -1
- package/esm/components/ui/directionPad/Button.styled.d.ts +4 -0
- package/esm/components/ui/directionPad/Button.styled.d.ts.map +1 -1
- package/esm/components/ui/directionPad/Button.styled.js +1 -1
- package/esm/components/ui/directionPad/Button.styled.js.map +1 -1
- package/esm/components/ui/directionPad/Middle.styled.d.ts +2 -0
- package/esm/components/ui/directionPad/Middle.styled.d.ts.map +1 -1
- package/esm/components/ui/directionPad/Pad.styled.d.ts +4 -0
- package/esm/components/ui/directionPad/Pad.styled.d.ts.map +1 -1
- package/esm/components/ui/directionPad/Pad.styled.js +1 -1
- package/esm/components/ui/directionPad/Pad.styled.js.map +1 -1
- package/esm/components/ui/drawer/Drawer.styled.d.ts +4 -0
- package/esm/components/ui/drawer/Drawer.styled.d.ts.map +1 -1
- package/esm/components/ui/drawer/Drawer.styled.js +1 -1
- package/esm/components/ui/drawer/Drawer.styled.js.map +1 -1
- package/esm/components/ui/keyValue/KeyValue.styled.d.ts +12 -0
- package/esm/components/ui/keyValue/KeyValue.styled.d.ts.map +1 -1
- package/esm/components/ui/keyValue/KeyValue.styled.js +1 -1
- package/esm/components/ui/keyValue/KeyValue.styled.js.map +1 -1
- package/esm/components/ui/line/Line.d.ts +2 -0
- package/esm/components/ui/line/Line.d.ts.map +1 -1
- package/esm/components/ui/loader/CoveringLoader.js +1 -1
- package/esm/components/ui/loader/PopLoader.d.ts.map +1 -1
- package/esm/components/ui/loader/PopLoader.js +1 -1
- package/esm/components/ui/loader/PopLoader.js.map +1 -1
- package/esm/components/ui/message/Message.styled.d.ts +2 -0
- package/esm/components/ui/message/Message.styled.d.ts.map +1 -1
- package/esm/components/ui/modal/Modal.styled.d.ts +8 -0
- package/esm/components/ui/modal/Modal.styled.d.ts.map +1 -1
- package/esm/components/ui/modal/Modal.styled.js +3 -3
- package/esm/components/ui/modal/Modal.styled.js.map +1 -1
- package/esm/components/ui/modal/ModalButtons.styled.d.ts +4 -0
- package/esm/components/ui/modal/ModalButtons.styled.d.ts.map +1 -1
- package/esm/components/ui/pop/Pop.styled.d.ts +12 -0
- package/esm/components/ui/pop/Pop.styled.d.ts.map +1 -1
- package/esm/components/ui/pop/Pop.styled.js +2 -2
- package/esm/components/ui/pop/Pop.styled.js.map +1 -1
- package/esm/components/ui/progress/Progress.styled.d.ts +6 -0
- package/esm/components/ui/progress/Progress.styled.d.ts.map +1 -1
- package/esm/components/ui/stats/Stats.styled.d.ts +10 -0
- package/esm/components/ui/stats/Stats.styled.d.ts.map +1 -1
- package/esm/components/ui/toaster/Toaster.styled.d.ts +2 -0
- package/esm/components/ui/toaster/Toaster.styled.d.ts.map +1 -1
- package/esm/components/ui/toolButton/ToolButton.stories.d.ts.map +1 -1
- package/esm/components/ui/toolButton/ToolButton.stories.js.map +1 -1
- package/esm/components/ui/toolButton/ToolButton.styled.d.ts +2 -0
- package/esm/components/ui/toolButton/ToolButton.styled.d.ts.map +1 -1
- package/esm/components/utils/Gap.d.ts +2 -0
- package/esm/components/utils/Gap.d.ts.map +1 -1
- package/esm/components/utils/Spacer.d.ts +2 -0
- package/esm/components/utils/Spacer.d.ts.map +1 -1
- package/esm/theme.d.ts +21 -1
- package/esm/theme.d.ts.map +1 -1
- package/esm/theme.js +2 -0
- package/esm/theme.js.map +1 -1
- package/package.json +1 -1
- package/src/components/form/Checkbox.styled.ts +1 -1
- package/src/components/form/ColorPicker.styled.ts +1 -1
- package/src/components/form/Select.styled.ts +1 -2
- package/src/components/form/input/Input.css.ts +2 -2
- package/src/components/ui/action/Action.styled.ts +6 -6
- package/src/components/ui/button/Button.styled.ts +2 -2
- package/src/components/ui/directionPad/Button.styled.ts +1 -1
- package/src/components/ui/directionPad/Pad.styled.ts +1 -1
- package/src/components/ui/drawer/Drawer.styled.ts +1 -1
- package/src/components/ui/keyValue/KeyValue.styled.ts +1 -1
- package/src/components/ui/loader/CoveringLoader.tsx +1 -1
- package/src/components/ui/loader/PopLoader.tsx +1 -2
- package/src/components/ui/modal/Modal.styled.ts +3 -3
- package/src/components/ui/pop/Pop.styled.ts +2 -2
- package/src/components/ui/toolButton/ToolButton.stories.tsx +0 -1
- package/src/theme.ts +3 -1
package/esm/theme.js
CHANGED
|
@@ -29,6 +29,8 @@ const { styled, css, globalCss, keyframes, getCssText, theme, createTheme, confi
|
|
|
29
29
|
headerBg: "#efeff0",
|
|
30
30
|
headerText: "#484848",
|
|
31
31
|
text: "#323232",
|
|
32
|
+
text2: "#181818",
|
|
33
|
+
text3: "#000000",
|
|
32
34
|
sub: "#959595",
|
|
33
35
|
popText: "#666",
|
|
34
36
|
toolbarBorder: "#ababab",
|
package/esm/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAKjD,MAAM,MAAM,GAAG;IACX,UAAU,EAAE,CAAC;IACb,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,QAAQ;CACjB,CAAC;AAGF,MAAM,OAAO,GAAG,CAAC,EAAU,EAAE,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC;AAChD,MAAM,iBAAiB,GAAG,CAAC,EAAU,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AAC1E,MAAM,aAAa,GAAG,CAAC,EAAU,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;AAClE,MAAM,WAAW,GAAG,CAAC,E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AAsB,EAAE,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC;QAC3E,EAAE,EAAE,CAAC,KAAsB,EAAE,EAAE,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC;QAC7E,EAAE,EAAE,CAAC,KAAsB,EAAE,EAAE,CAAC,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC;QAC7E,IAAI,EAAE,CAAC,KAAsB,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;KACtE;CACJ,CAAC,CAAC;AAgBH,OAAO,EACH,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAEzE,OAAO,EACP,iBAAiB,EACjB,aAAa,EACb,WAAW,GACd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { borderPxToRem, dimensionsPxToRem, pxToRem, styled } from "../../theme";
|
|
2
|
-
|
|
3
2
|
import { errorCSS, focusCSS } from "./input/Input.css";
|
|
4
3
|
|
|
5
4
|
const Select = styled("select", {
|
|
@@ -9,7 +8,7 @@ const Select = styled("select", {
|
|
|
9
8
|
"display": "flex",
|
|
10
9
|
"alignItems": "center",
|
|
11
10
|
"width": "100%",
|
|
12
|
-
"background": "
|
|
11
|
+
"background": "$background",
|
|
13
12
|
"fontFamily": "inherit",
|
|
14
13
|
"borderRadius": pxToRem(2),
|
|
15
14
|
"padding": `0 ${dimensionsPxToRem(36)}`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ThemeCSS } from "../../../theme";
|
|
2
2
|
|
|
3
|
-
import { dimensionsPxToRem, fontPxToRem
|
|
3
|
+
import { borderPxToRem, dimensionsPxToRem, fontPxToRem } from "../../../theme";
|
|
4
4
|
|
|
5
5
|
const input = {
|
|
6
6
|
"height": dimensionsPxToRem(103),
|
|
@@ -33,7 +33,7 @@ const errorCSS = {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
const wrapper = {
|
|
36
|
-
background: "
|
|
36
|
+
background: "$background",
|
|
37
37
|
display: "inline-flex",
|
|
38
38
|
width: "100%",
|
|
39
39
|
borderRadius: "2px",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ThemeCSS } from "../../../theme";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { borderPxToRem, dimensionsPxToRem, fontPxToRem, styled } from "../../../theme";
|
|
4
4
|
|
|
5
5
|
const StyledAction = styled("div", {
|
|
6
6
|
height: dimensionsPxToRem(102),
|
|
7
7
|
width: dimensionsPxToRem(102),
|
|
8
8
|
borderRadius: dimensionsPxToRem(102),
|
|
9
9
|
border: `${borderPxToRem(1)} solid $buttonBorder`,
|
|
10
|
-
background: "
|
|
10
|
+
background: "$background",
|
|
11
11
|
padding: 0,
|
|
12
12
|
display: "flex",
|
|
13
13
|
alignItems: "center",
|
|
@@ -18,7 +18,7 @@ const StyledAction = styled("div", {
|
|
|
18
18
|
const Badge = styled("div", {
|
|
19
19
|
position: "absolute",
|
|
20
20
|
background: "$red1",
|
|
21
|
-
color: "
|
|
21
|
+
color: "$background",
|
|
22
22
|
fontWeight: "bold",
|
|
23
23
|
top: "-25%",
|
|
24
24
|
right: "-25%",
|
|
@@ -28,9 +28,9 @@ const Badge = styled("div", {
|
|
|
28
28
|
padding: dimensionsPxToRem(17),
|
|
29
29
|
width: dimensionsPxToRem(60),
|
|
30
30
|
height: dimensionsPxToRem(60),
|
|
31
|
-
alignItems: "center",
|
|
32
|
-
justifyContent: "center",
|
|
33
|
-
borderRadius: "50%",
|
|
31
|
+
alignItems: "center",
|
|
32
|
+
justifyContent: "center",
|
|
33
|
+
borderRadius: "50%",
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
const sharedCss: ThemeCSS = {
|
|
@@ -7,7 +7,7 @@ const Button = styled("button", {
|
|
|
7
7
|
"height": dimensionsPxToRem(118),
|
|
8
8
|
"background": "$green1",
|
|
9
9
|
"border": `${borderPxToRem(1)} solid $green1Darker`,
|
|
10
|
-
"color": "
|
|
10
|
+
"color": "$background",
|
|
11
11
|
"borderRadius": "1000px",
|
|
12
12
|
"display": "flex",
|
|
13
13
|
"alignItems": "center",
|
|
@@ -30,7 +30,7 @@ const Button = styled("button", {
|
|
|
30
30
|
},
|
|
31
31
|
outline: {
|
|
32
32
|
true: {
|
|
33
|
-
background: "
|
|
33
|
+
background: "$background",
|
|
34
34
|
borderColor: "$buttonBorder",
|
|
35
35
|
color: "$grey1",
|
|
36
36
|
},
|
|
@@ -13,7 +13,7 @@ const item = css({
|
|
|
13
13
|
const Container = styled("div", {
|
|
14
14
|
"--kv-border-color": "$colors$headerBorder",
|
|
15
15
|
"--kv-border": `${borderPxToRem(1)} solid var(--kv-border-color)`,
|
|
16
|
-
"--kv-background-color": "
|
|
16
|
+
"--kv-background-color": "$colors$background",
|
|
17
17
|
"--kv-hover-background-color": "$colors$activeBg",
|
|
18
18
|
"border": "1px solid var(--kv-border-color)",
|
|
19
19
|
"backgroundColor": "var(--kv-background-color)",
|
|
@@ -87,7 +87,7 @@ const CoveringLoader = forwardRef<HTMLElement, Props>(({ // eslint-disable-line
|
|
|
87
87
|
: "";
|
|
88
88
|
const spinnerCss = `z-index: 1;
|
|
89
89
|
content: "";
|
|
90
|
-
position:
|
|
90
|
+
position: absolute;
|
|
91
91
|
inset: 0;
|
|
92
92
|
background: url('${spinnerBg}') no-repeat center center;
|
|
93
93
|
${backgroundCss}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
3
|
import { styled } from "../../../theme";
|
|
4
|
-
|
|
5
4
|
import { Loader } from "./Loader";
|
|
6
5
|
|
|
7
6
|
type Props = React.ComponentProps<typeof Loader>;
|
|
@@ -10,7 +9,7 @@ const Container = styled("div", {
|
|
|
10
9
|
position: "absolute",
|
|
11
10
|
right: 20,
|
|
12
11
|
top: 20,
|
|
13
|
-
background: "
|
|
12
|
+
background: "$background",
|
|
14
13
|
border: "1px solid $toolbarBorder",
|
|
15
14
|
borderRadius: 666,
|
|
16
15
|
padding: 10,
|
|
@@ -5,10 +5,10 @@ const NEGATIVE_PADDING = pxToRem(-20);
|
|
|
5
5
|
|
|
6
6
|
const overlay = keyframes({
|
|
7
7
|
from: {
|
|
8
|
-
background: "
|
|
8
|
+
background: "rgba($background, 0)",
|
|
9
9
|
},
|
|
10
10
|
to: {
|
|
11
|
-
background: "
|
|
11
|
+
background: "rgba($background, 0.3)",
|
|
12
12
|
},
|
|
13
13
|
});
|
|
14
14
|
|
|
@@ -86,7 +86,7 @@ const ContainerStyled = styled("div", {
|
|
|
86
86
|
const TitleStyled = styled("div", { // TODO header by default? expose this as `titleAs`?
|
|
87
87
|
fontSize: fontPxToRem(40),
|
|
88
88
|
textAlign: "center",
|
|
89
|
-
color: "
|
|
89
|
+
color: "$text3",
|
|
90
90
|
margin: `${dimensionsPxToRem(90)} 0`,
|
|
91
91
|
});
|
|
92
92
|
|
|
@@ -10,7 +10,7 @@ const Overlay = styled("div", {
|
|
|
10
10
|
const List = styled("ul", {
|
|
11
11
|
zIndex: 5,
|
|
12
12
|
position: "absolute",
|
|
13
|
-
background: "
|
|
13
|
+
background: "$background",
|
|
14
14
|
margin: 0,
|
|
15
15
|
padding: 0,
|
|
16
16
|
listStyleType: "none",
|
|
@@ -28,7 +28,7 @@ const ListItem = styled("li", {
|
|
|
28
28
|
|
|
29
29
|
const Button = styled("button", {
|
|
30
30
|
"border": "none",
|
|
31
|
-
"background": "
|
|
31
|
+
"background": "$background",
|
|
32
32
|
"height": dimensionsPxToRem(116),
|
|
33
33
|
"padding": `0 ${dimensionsPxToRem(42)}`,
|
|
34
34
|
"boxSizing": "border-box",
|
package/src/theme.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createStitches } from "@stitches/react";
|
|
2
2
|
|
|
3
|
-
import type { StyledComponent } from "@stitches/react/types/styled-component";
|
|
4
3
|
import type { CSS as StitchesCSS } from "@stitches/react";
|
|
4
|
+
import type { StyledComponent } from "@stitches/react/types/styled-component";
|
|
5
5
|
|
|
6
6
|
const RATIOS = {
|
|
7
7
|
dimensions: 3,
|
|
@@ -50,6 +50,8 @@ const {
|
|
|
50
50
|
headerBg: "#efeff0",
|
|
51
51
|
headerText: "#484848",
|
|
52
52
|
text: "#323232",
|
|
53
|
+
text2: "#181818",
|
|
54
|
+
text3: "#000000",
|
|
53
55
|
sub: "#959595",
|
|
54
56
|
|
|
55
57
|
popText: "#666",
|