@dotss/ui 0.0.4 → 0.0.7
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/.turbo/turbo-build.log +510 -0
- package/CHANGELOG.md +4 -0
- package/dist/Accordion/Accordion.cjs +34 -0
- package/dist/Accordion/Accordion.d.ts +14 -0
- package/dist/Accordion/Accordion.es.js +115 -0
- package/dist/Accordion/Accordion.stories.d.ts +16 -0
- package/dist/Accordion/index.cjs +1 -0
- package/dist/Accordion/index.d.ts +3 -0
- package/dist/Accordion/index.es.js +4 -0
- package/dist/Autocomplete/Autocomplete.cjs +1 -0
- package/dist/Autocomplete/Autocomplete.d.ts +27 -0
- package/dist/Autocomplete/Autocomplete.es.js +108 -0
- package/dist/Autocomplete/Autocomplete.stories.d.ts +16 -0
- package/dist/Autocomplete/index.cjs +1 -0
- package/dist/Autocomplete/index.d.ts +3 -0
- package/dist/Autocomplete/index.es.js +4 -0
- package/dist/Backdrop/Backdrop.cjs +17 -0
- package/dist/Backdrop/Backdrop.d.ts +13 -0
- package/dist/Backdrop/Backdrop.es.js +99 -0
- package/dist/Backdrop/Backdrop.stories.d.ts +14 -0
- package/dist/Backdrop/index.cjs +1 -0
- package/dist/Backdrop/index.d.ts +3 -0
- package/dist/Backdrop/index.es.js +4 -0
- package/dist/Badge/Badge.cjs +16 -0
- package/dist/Badge/Badge.d.ts +14 -0
- package/dist/Badge/Badge.es.js +98 -0
- package/dist/Badge/Badge.stories.d.ts +14 -0
- package/dist/Badge/index.cjs +1 -0
- package/dist/Badge/index.d.ts +3 -0
- package/dist/Badge/index.es.js +4 -0
- package/dist/BottomSheet/BottomSheet.cjs +33 -0
- package/dist/BottomSheet/BottomSheet.d.ts +15 -0
- package/dist/BottomSheet/BottomSheet.es.js +131 -0
- package/dist/BottomSheet/BottomSheet.stories.d.ts +29 -0
- package/dist/BottomSheet/BottomSheetAction/BottomSheetAction.cjs +15 -0
- package/dist/BottomSheet/BottomSheetAction/BottomSheetAction.d.ts +8 -0
- package/dist/BottomSheet/BottomSheetAction/BottomSheetAction.es.js +34 -0
- package/dist/BottomSheet/BottomSheetAction/index.cjs +1 -0
- package/dist/BottomSheet/BottomSheetAction/index.d.ts +3 -0
- package/dist/BottomSheet/BottomSheetAction/index.es.js +4 -0
- package/dist/BottomSheet/BottomSheetContent/BottomSheetContent.cjs +8 -0
- package/dist/BottomSheet/BottomSheetContent/BottomSheetContent.d.ts +8 -0
- package/dist/BottomSheet/BottomSheetContent/BottomSheetContent.es.js +27 -0
- package/dist/BottomSheet/BottomSheetContent/index.cjs +1 -0
- package/dist/BottomSheet/BottomSheetContent/index.d.ts +3 -0
- package/dist/BottomSheet/BottomSheetContent/index.es.js +4 -0
- package/dist/BottomSheet/BottomSheetText/BottomSheetText.cjs +5 -0
- package/dist/BottomSheet/BottomSheetText/BottomSheetText.d.ts +10 -0
- package/dist/BottomSheet/BottomSheetText/BottomSheetText.es.js +30 -0
- package/dist/BottomSheet/BottomSheetText/index.cjs +1 -0
- package/dist/BottomSheet/BottomSheetText/index.d.ts +3 -0
- package/dist/BottomSheet/BottomSheetText/index.es.js +4 -0
- package/dist/BottomSheet/BottomSheetTitle/BottomSheetTitle.cjs +28 -0
- package/dist/BottomSheet/BottomSheetTitle/BottomSheetTitle.d.ts +10 -0
- package/dist/BottomSheet/BottomSheetTitle/BottomSheetTitle.es.js +58 -0
- package/dist/BottomSheet/BottomSheetTitle/index.cjs +1 -0
- package/dist/BottomSheet/BottomSheetTitle/index.d.ts +3 -0
- package/dist/BottomSheet/BottomSheetTitle/index.es.js +4 -0
- package/dist/BottomSheet/index.cjs +1 -0
- package/dist/BottomSheet/index.d.ts +7 -0
- package/dist/BottomSheet/index.es.js +12 -0
- package/dist/Box/Box.cjs +8 -0
- package/dist/Box/Box.d.ts +9 -0
- package/dist/Box/Box.es.js +45 -0
- package/dist/Box/Box.stories.d.ts +26 -0
- package/dist/Box/index.cjs +1 -0
- package/dist/Box/index.d.ts +3 -0
- package/dist/Box/index.es.js +4 -0
- package/dist/Button/Button.cjs +24 -0
- package/dist/Button/Button.d.ts +16 -0
- package/dist/Button/Button.es.js +300 -0
- package/dist/Button/Button.stories.d.ts +32 -0
- package/dist/Button/index.cjs +1 -0
- package/dist/Button/index.d.ts +3 -0
- package/dist/Button/index.es.js +4 -0
- package/dist/Card/Card.cjs +18 -0
- package/dist/Card/Card.d.ts +13 -0
- package/dist/Card/Card.es.js +152 -0
- package/dist/Card/Card.stories.d.ts +34 -0
- package/dist/Card/index.cjs +1 -0
- package/dist/Card/index.d.ts +3 -0
- package/dist/Card/index.es.js +4 -0
- package/dist/ChainPicker/ChainPicker.cjs +44 -0
- package/dist/ChainPicker/ChainPicker.d.ts +17 -0
- package/dist/ChainPicker/ChainPicker.es.js +179 -0
- package/dist/ChainPicker/ChainPicker.stories.d.ts +11 -0
- package/dist/ChainPicker/index.cjs +1 -0
- package/dist/ChainPicker/index.d.ts +4 -0
- package/dist/ChainPicker/index.es.js +4 -0
- package/dist/Checkbox/Checkbox.cjs +16 -0
- package/dist/Checkbox/Checkbox.d.ts +10 -0
- package/dist/Checkbox/Checkbox.es.js +77 -0
- package/dist/Checkbox/Checkbox.stories.d.ts +13 -0
- package/dist/Checkbox/index.cjs +1 -0
- package/dist/Checkbox/index.d.ts +3 -0
- package/dist/Checkbox/index.es.js +4 -0
- package/dist/Chip/Chip.cjs +15 -0
- package/dist/Chip/Chip.d.ts +14 -0
- package/dist/Chip/Chip.es.js +120 -0
- package/dist/Chip/Chip.stories.d.ts +30 -0
- package/dist/Chip/index.cjs +1 -0
- package/dist/Chip/index.d.ts +3 -0
- package/dist/Chip/index.es.js +4 -0
- package/dist/CircularProgressIndicator/CircularProgressIndicator.cjs +18 -0
- package/dist/CircularProgressIndicator/CircularProgressIndicator.d.ts +11 -0
- package/dist/CircularProgressIndicator/CircularProgressIndicator.es.js +87 -0
- package/dist/CircularProgressIndicator/CircularProgressIndicator.stories.d.ts +14 -0
- package/dist/CircularProgressIndicator/index.cjs +1 -0
- package/dist/CircularProgressIndicator/index.d.ts +3 -0
- package/dist/CircularProgressIndicator/index.es.js +4 -0
- package/dist/ClickAwayListener/ClickAwayListener.cjs +1 -0
- package/dist/ClickAwayListener/ClickAwayListener.d.ts +7 -0
- package/dist/ClickAwayListener/ClickAwayListener.es.js +17 -0
- package/dist/ClickAwayListener/index.cjs +1 -0
- package/dist/ClickAwayListener/index.d.ts +3 -0
- package/dist/ClickAwayListener/index.es.js +4 -0
- package/dist/DatePicker/DatePicker.cjs +73 -0
- package/dist/DatePicker/DatePicker.d.ts +24 -0
- package/dist/DatePicker/DatePicker.es.js +595 -0
- package/dist/DatePicker/DatePicker.stories.d.ts +27 -0
- package/dist/DatePicker/index.cjs +1 -0
- package/dist/DatePicker/index.d.ts +4 -0
- package/dist/DatePicker/index.es.js +4 -0
- package/dist/Dialog/Dialog.cjs +20 -0
- package/dist/Dialog/Dialog.d.ts +21 -0
- package/dist/Dialog/Dialog.es.js +136 -0
- package/dist/Dialog/Dialog.stories.d.ts +30 -0
- package/dist/Dialog/DialogAction/DialogAction.cjs +12 -0
- package/dist/Dialog/DialogAction/DialogAction.d.ts +4 -0
- package/dist/Dialog/DialogAction/DialogAction.es.js +20 -0
- package/dist/Dialog/DialogAction/index.cjs +1 -0
- package/dist/Dialog/DialogAction/index.d.ts +3 -0
- package/dist/Dialog/DialogAction/index.es.js +4 -0
- package/dist/Dialog/DialogContent/DialogContent.cjs +8 -0
- package/dist/Dialog/DialogContent/DialogContent.d.ts +4 -0
- package/dist/Dialog/DialogContent/DialogContent.es.js +16 -0
- package/dist/Dialog/DialogContent/index.cjs +1 -0
- package/dist/Dialog/DialogContent/index.d.ts +3 -0
- package/dist/Dialog/DialogContent/index.es.js +4 -0
- package/dist/Dialog/DialogText/DialogText.cjs +5 -0
- package/dist/Dialog/DialogText/DialogText.d.ts +10 -0
- package/dist/Dialog/DialogText/DialogText.es.js +42 -0
- package/dist/Dialog/DialogText/index.cjs +1 -0
- package/dist/Dialog/DialogText/index.d.ts +3 -0
- package/dist/Dialog/DialogText/index.es.js +4 -0
- package/dist/Dialog/DialogTitle/DialogTitle.cjs +24 -0
- package/dist/Dialog/DialogTitle/DialogTitle.d.ts +10 -0
- package/dist/Dialog/DialogTitle/DialogTitle.es.js +64 -0
- package/dist/Dialog/DialogTitle/index.cjs +1 -0
- package/dist/Dialog/DialogTitle/index.d.ts +3 -0
- package/dist/Dialog/DialogTitle/index.es.js +4 -0
- package/dist/Dialog/index.cjs +1 -0
- package/dist/Dialog/index.d.ts +7 -0
- package/dist/Dialog/index.es.js +12 -0
- package/dist/Flexbox/Flexbox.cjs +19 -0
- package/dist/Flexbox/Flexbox.d.ts +20 -0
- package/dist/Flexbox/Flexbox.es.js +56 -0
- package/dist/Flexbox/Flexbox.stories.d.ts +56 -0
- package/dist/Flexbox/index.cjs +1 -0
- package/dist/Flexbox/index.d.ts +3 -0
- package/dist/Flexbox/index.es.js +4 -0
- package/dist/FocusBoundary/FocusBoundary.cjs +1 -0
- package/dist/FocusBoundary/FocusBoundary.d.ts +9 -0
- package/dist/FocusBoundary/FocusBoundary.es.js +73 -0
- package/dist/FocusBoundary/index.cjs +1 -0
- package/dist/FocusBoundary/index.d.ts +3 -0
- package/dist/FocusBoundary/index.es.js +4 -0
- package/dist/FormControlText/FormControlText.cjs +12 -0
- package/dist/FormControlText/FormControlText.d.ts +14 -0
- package/dist/FormControlText/FormControlText.es.js +68 -0
- package/dist/FormControlText/FormControlText.stories.d.ts +21 -0
- package/dist/FormControlText/index.cjs +1 -0
- package/dist/FormControlText/index.d.ts +3 -0
- package/dist/FormControlText/index.es.js +4 -0
- package/dist/Icon/Icon.cjs +5 -0
- package/dist/Icon/Icon.d.ts +13 -0
- package/dist/Icon/Icon.es.js +82 -0
- package/dist/Icon/Icon.stories.d.ts +23 -0
- package/dist/Icon/index.cjs +1 -0
- package/dist/Icon/index.d.ts +3 -0
- package/dist/Icon/index.es.js +4 -0
- package/dist/IconButton/IconButton.cjs +30 -0
- package/dist/IconButton/IconButton.d.ts +12 -0
- package/dist/IconButton/IconButton.es.js +312 -0
- package/dist/IconButton/IconButton.stories.d.ts +15 -0
- package/dist/IconButton/index.cjs +1 -0
- package/dist/IconButton/index.d.ts +3 -0
- package/dist/IconButton/index.es.js +4 -0
- package/dist/Label/Label.cjs +16 -0
- package/dist/Label/Label.d.ts +17 -0
- package/dist/Label/Label.es.js +233 -0
- package/dist/Label/Label.stories.d.ts +30 -0
- package/dist/Label/index.cjs +1 -0
- package/dist/Label/index.d.ts +3 -0
- package/dist/Label/index.es.js +4 -0
- package/dist/LineProgressIndicator/LineProgressIndicator.cjs +35 -0
- package/dist/LineProgressIndicator/LineProgressIndicator.d.ts +11 -0
- package/dist/LineProgressIndicator/LineProgressIndicator.es.js +69 -0
- package/dist/LineProgressIndicator/LineProgressIndicator.stories.d.ts +15 -0
- package/dist/LineProgressIndicator/index.cjs +1 -0
- package/dist/LineProgressIndicator/index.d.ts +3 -0
- package/dist/LineProgressIndicator/index.es.js +4 -0
- package/dist/Menu/Menu.cjs +35 -0
- package/dist/Menu/Menu.d.ts +23 -0
- package/dist/Menu/Menu.es.js +163 -0
- package/dist/Menu/Menu.stories.d.ts +30 -0
- package/dist/Menu/MenuBlock/MenuBlock.cjs +26 -0
- package/dist/Menu/MenuBlock/MenuBlock.d.ts +13 -0
- package/dist/Menu/MenuBlock/MenuBlock.es.js +116 -0
- package/dist/Menu/MenuBlock/index.cjs +1 -0
- package/dist/Menu/MenuBlock/index.d.ts +3 -0
- package/dist/Menu/MenuBlock/index.es.js +4 -0
- package/dist/Menu/index.cjs +1 -0
- package/dist/Menu/index.d.ts +4 -0
- package/dist/Menu/index.es.js +6 -0
- package/dist/NumberKeypad/NumberKeypad.cjs +9 -0
- package/dist/NumberKeypad/NumberKeypad.d.ts +14 -0
- package/dist/NumberKeypad/NumberKeypad.es.js +37 -0
- package/dist/NumberKeypad/NumberKeypad.stories.d.ts +14 -0
- package/dist/NumberKeypad/NumberKeypadBlock/NumberKeypadBlock.cjs +34 -0
- package/dist/NumberKeypad/NumberKeypadBlock/NumberKeypadBlock.d.ts +9 -0
- package/dist/NumberKeypad/NumberKeypadBlock/NumberKeypadBlock.es.js +106 -0
- package/dist/NumberKeypad/NumberKeypadBlock/index.cjs +1 -0
- package/dist/NumberKeypad/NumberKeypadBlock/index.d.ts +3 -0
- package/dist/NumberKeypad/NumberKeypadBlock/index.es.js +4 -0
- package/dist/NumberKeypad/index.cjs +1 -0
- package/dist/NumberKeypad/index.d.ts +4 -0
- package/dist/NumberKeypad/index.es.js +6 -0
- package/dist/PageControl/PageControl.cjs +15 -0
- package/dist/PageControl/PageControl.d.ts +12 -0
- package/dist/PageControl/PageControl.es.js +51 -0
- package/dist/PageControl/PageControl.stories.d.ts +13 -0
- package/dist/PageControl/index.cjs +1 -0
- package/dist/PageControl/index.d.ts +3 -0
- package/dist/PageControl/index.es.js +4 -0
- package/dist/Radio/Radio.cjs +16 -0
- package/dist/Radio/Radio.d.ts +10 -0
- package/dist/Radio/Radio.es.js +69 -0
- package/dist/Radio/Radio.stories.d.ts +13 -0
- package/dist/Radio/index.cjs +1 -0
- package/dist/Radio/index.d.ts +3 -0
- package/dist/Radio/index.es.js +4 -0
- package/dist/SegmentedButton/SegmentedButton.cjs +7 -0
- package/dist/SegmentedButton/SegmentedButton.d.ts +17 -0
- package/dist/SegmentedButton/SegmentedButton.es.js +48 -0
- package/dist/SegmentedButton/SegmentedButton.stories.d.ts +17 -0
- package/dist/SegmentedButton/SegmentedButtonBlock/SegmentedButtonBlock.cjs +48 -0
- package/dist/SegmentedButton/SegmentedButtonBlock/SegmentedButtonBlock.d.ts +14 -0
- package/dist/SegmentedButton/SegmentedButtonBlock/SegmentedButtonBlock.es.js +177 -0
- package/dist/SegmentedButton/SegmentedButtonBlock/index.cjs +1 -0
- package/dist/SegmentedButton/SegmentedButtonBlock/index.d.ts +3 -0
- package/dist/SegmentedButton/SegmentedButtonBlock/index.es.js +4 -0
- package/dist/SegmentedButton/index.cjs +1 -0
- package/dist/SegmentedButton/index.d.ts +4 -0
- package/dist/SegmentedButton/index.es.js +6 -0
- package/dist/Select/Option/Option.cjs +32 -0
- package/dist/Select/Option/Option.d.ts +17 -0
- package/dist/Select/Option/Option.es.js +133 -0
- package/dist/Select/Option/index.cjs +1 -0
- package/dist/Select/Option/index.d.ts +3 -0
- package/dist/Select/Option/index.es.js +4 -0
- package/dist/Select/Select.cjs +53 -0
- package/dist/Select/Select.d.ts +20 -0
- package/dist/Select/Select.es.js +283 -0
- package/dist/Select/Select.stories.d.ts +29 -0
- package/dist/Select/index.cjs +1 -0
- package/dist/Select/index.d.ts +4 -0
- package/dist/Select/index.es.js +6 -0
- package/dist/Skeleton/Skeleton.cjs +38 -0
- package/dist/Skeleton/Skeleton.d.ts +18 -0
- package/dist/Skeleton/Skeleton.es.js +94 -0
- package/dist/Skeleton/Skeleton.stories.d.ts +15 -0
- package/dist/Skeleton/index.cjs +1 -0
- package/dist/Skeleton/index.d.ts +3 -0
- package/dist/Skeleton/index.es.js +4 -0
- package/dist/Slider/Slider.cjs +40 -0
- package/dist/Slider/Slider.d.ts +18 -0
- package/dist/Slider/Slider.es.js +163 -0
- package/dist/Slider/Slider.stories.d.ts +15 -0
- package/dist/Slider/index.cjs +1 -0
- package/dist/Slider/index.d.ts +3 -0
- package/dist/Slider/index.es.js +4 -0
- package/dist/Snackbar/Snackbar.cjs +40 -0
- package/dist/Snackbar/Snackbar.d.ts +22 -0
- package/dist/Snackbar/Snackbar.es.js +209 -0
- package/dist/Snackbar/Snackbar.stories.d.ts +36 -0
- package/dist/Snackbar/index.cjs +1 -0
- package/dist/Snackbar/index.d.ts +3 -0
- package/dist/Snackbar/index.es.js +4 -0
- package/dist/Switch/Switch.cjs +30 -0
- package/dist/Switch/Switch.d.ts +13 -0
- package/dist/Switch/Switch.es.js +111 -0
- package/dist/Switch/Switch.stories.d.ts +13 -0
- package/dist/Switch/index.cjs +1 -0
- package/dist/Switch/index.d.ts +3 -0
- package/dist/Switch/index.es.js +4 -0
- package/dist/Tab/Tab.cjs +18 -0
- package/dist/Tab/Tab.d.ts +13 -0
- package/dist/Tab/Tab.es.js +183 -0
- package/dist/Tab/Tab.stories.d.ts +24 -0
- package/dist/Tab/TabBlock/TabBlock.cjs +11 -0
- package/dist/Tab/TabBlock/TabBlock.d.ts +12 -0
- package/dist/Tab/TabBlock/TabBlock.es.js +84 -0
- package/dist/Tab/TabBlock/index.cjs +1 -0
- package/dist/Tab/TabBlock/index.d.ts +3 -0
- package/dist/Tab/TabBlock/index.es.js +4 -0
- package/dist/Tab/index.cjs +1 -0
- package/dist/Tab/index.d.ts +4 -0
- package/dist/Tab/index.es.js +6 -0
- package/dist/TextArea/TextArea.cjs +68 -0
- package/dist/TextArea/TextArea.d.ts +16 -0
- package/dist/TextArea/TextArea.es.js +222 -0
- package/dist/TextArea/TextArea.stories.d.ts +25 -0
- package/dist/TextArea/index.cjs +1 -0
- package/dist/TextArea/index.d.ts +3 -0
- package/dist/TextArea/index.es.js +4 -0
- package/dist/TextField/TextField.cjs +47 -0
- package/dist/TextField/TextField.d.ts +17 -0
- package/dist/TextField/TextField.es.js +271 -0
- package/dist/TextField/TextField.stories.d.ts +35 -0
- package/dist/TextField/index.cjs +1 -0
- package/dist/TextField/index.d.ts +3 -0
- package/dist/TextField/index.es.js +4 -0
- package/dist/Tooltip/Tooltip.cjs +26 -0
- package/dist/Tooltip/Tooltip.d.ts +18 -0
- package/dist/Tooltip/Tooltip.es.js +341 -0
- package/dist/Tooltip/Tooltip.stories.d.ts +34 -0
- package/dist/Tooltip/index.cjs +1 -0
- package/dist/Tooltip/index.d.ts +3 -0
- package/dist/Tooltip/index.es.js +4 -0
- package/dist/Typography/Typography.cjs +13 -0
- package/dist/Typography/Typography.d.ts +15 -0
- package/dist/Typography/Typography.es.js +80 -0
- package/dist/Typography/Typography.stories.d.ts +27 -0
- package/dist/Typography/index.cjs +1 -0
- package/dist/Typography/index.d.ts +3 -0
- package/dist/Typography/index.es.js +4 -0
- package/dist/core/GlobalStyle.cjs +3 -0
- package/dist/core/GlobalStyle.d.ts +2 -0
- package/dist/core/GlobalStyle.es.js +72 -0
- package/dist/core/ThemeContext.cjs +1 -0
- package/dist/core/ThemeContext.d.ts +4 -0
- package/dist/core/ThemeContext.es.js +8 -0
- package/dist/core/ThemeProvider.cjs +1 -0
- package/dist/core/ThemeProvider.d.ts +9 -0
- package/dist/core/ThemeProvider.es.js +23 -0
- package/dist/core/useTheme.cjs +1 -0
- package/dist/core/useTheme.d.ts +1 -0
- package/dist/core/useTheme.es.js +11 -0
- package/dist/hooks/index.cjs +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.es.js +4 -0
- package/dist/hooks/useCheckHoverPossible/useCheckHoverPossible.cjs +1 -0
- package/dist/hooks/useCheckHoverPossible/useCheckHoverPossible.d.ts +4 -0
- package/dist/hooks/useCheckHoverPossible/useCheckHoverPossible.es.js +13 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.es.js +98 -0
- package/dist/resources/tictoccroc/icons/colorLine/calendar-color-line.svg-B_vYjqIZ.js +5 -0
- package/dist/resources/tictoccroc/icons/colorLine/calendar-color-line.svg-BtUQ4TKP.cjs +1 -0
- package/dist/resources/tictoccroc/icons/colorLine/capacity-color-line.svg-BQo3SZhS.cjs +1 -0
- package/dist/resources/tictoccroc/icons/colorLine/capacity-color-line.svg-oT5B8THh.js +5 -0
- package/dist/resources/tictoccroc/icons/colorLine/goods-color-line.svg-CT8jVC5v.js +5 -0
- package/dist/resources/tictoccroc/icons/colorLine/goods-color-line.svg-Dz9RB5RV.cjs +1 -0
- package/dist/resources/tictoccroc/icons/colorLine/index.d.ts +5 -0
- package/dist/resources/tictoccroc/icons/colorLine/index.ts-Dyvby5gX.cjs +1 -0
- package/dist/resources/tictoccroc/icons/colorLine/index.ts-l0sNRNKZ.js +1 -0
- package/dist/resources/tictoccroc/icons/colorLine/kids-color-line.svg-BF7M2ymg.cjs +1 -0
- package/dist/resources/tictoccroc/icons/colorLine/kids-color-line.svg-CZDUwvTf.js +5 -0
- package/dist/resources/tictoccroc/icons/colorLine/time-color-line.svg-K7igWiF7.js +5 -0
- package/dist/resources/tictoccroc/icons/colorLine/time-color-line.svg-lvcsdtRd.cjs +1 -0
- package/dist/resources/tictoccroc/icons/emoji/average-plane-emoji.svg-1B3oSCfr.js +5 -0
- package/dist/resources/tictoccroc/icons/emoji/average-plane-emoji.svg-Ddpo9mEE.cjs +1 -0
- package/dist/resources/tictoccroc/icons/emoji/excellent-plane-emoji.svg-Bq_nM8Tm.js +5 -0
- package/dist/resources/tictoccroc/icons/emoji/excellent-plane-emoji.svg-CSFc2vsd.cjs +1 -0
- package/dist/resources/tictoccroc/icons/emoji/good-plane-emoji.svg-BShQn-co.cjs +1 -0
- package/dist/resources/tictoccroc/icons/emoji/good-plane-emoji.svg-Bve6hTZH.js +5 -0
- package/dist/resources/tictoccroc/icons/emoji/index.d.ts +3 -0
- package/dist/resources/tictoccroc/icons/emoji/index.ts-Dyvby5gX.cjs +1 -0
- package/dist/resources/tictoccroc/icons/emoji/index.ts-l0sNRNKZ.js +1 -0
- package/dist/resources/tictoccroc/icons/etc/cash-etc.svg-BE9-4t5W.cjs +1 -0
- package/dist/resources/tictoccroc/icons/etc/cash-etc.svg-CvAOzEdq.js +5 -0
- package/dist/resources/tictoccroc/icons/etc/check-etc.svg-6o7_QHlK.cjs +1 -0
- package/dist/resources/tictoccroc/icons/etc/check-etc.svg-CeWjWVqv.js +5 -0
- package/dist/resources/tictoccroc/icons/etc/coupon-etc.svg-BYpSMvLr.js +7 -0
- package/dist/resources/tictoccroc/icons/etc/coupon-etc.svg-DB4JIfi8.cjs +1 -0
- package/dist/resources/tictoccroc/icons/etc/index.d.ts +5 -0
- package/dist/resources/tictoccroc/icons/etc/index.ts-Dyvby5gX.cjs +1 -0
- package/dist/resources/tictoccroc/icons/etc/index.ts-l0sNRNKZ.js +1 -0
- package/dist/resources/tictoccroc/icons/etc/point-etc.svg-CAEUCvfM.cjs +1 -0
- package/dist/resources/tictoccroc/icons/etc/point-etc.svg-DZ31KNBj.js +5 -0
- package/dist/resources/tictoccroc/icons/etc/unscheduled-etc.svg-C9TZ0hvI.js +5 -0
- package/dist/resources/tictoccroc/icons/etc/unscheduled-etc.svg-D-47KeXg.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/alert-fill.svg-BJrM_goo.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/alert-fill.svg-C8QjfUUX.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/apply-fill.svg-CmRhMN1w.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/apply-fill.svg-DRpGrJGw.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/arrow-down-fill.svg-C30f0N0F.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/arrow-down-fill.svg-VKh4yV7q.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/arrow-left-fill.svg-CdGognG9.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/arrow-left-fill.svg-DVd7uVkk.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/arrow-right-fill.svg-C3fI1iEy.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/arrow-right-fill.svg-CkH6pq8F.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/arrow-up-fill.svg-CEHHUpG_.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/arrow-up-fill.svg-DWbcv7JX.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/chatting-fill.svg-CVjv4Kr7.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/chatting-fill.svg-HaX5-_VL.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/clr-fill.svg-Cn-I8j7d.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/clr-fill.svg-DuLFHwKc.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/complete-fill.svg-DhQki4Tw.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/complete-fill.svg-cERkJmCb.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/home-fill.svg-CxFGWK0L.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/home-fill.svg-D3lzGMV2.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/index.d.ts +19 -0
- package/dist/resources/tictoccroc/icons/fill/index.ts-Dyvby5gX.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/index.ts-l0sNRNKZ.js +1 -0
- package/dist/resources/tictoccroc/icons/fill/info-fill.svg-CwgxQGwL.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/info-fill.svg-DkEX99Sy.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/invalid-fill.svg-CJJ-xmGJ.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/invalid-fill.svg-D-87fL2g.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/like-fill.svg-Cx1cz0ZV.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/like-fill.svg-DnL66ApL.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/met-fill.svg-B09QdWd-.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/met-fill.svg-BYSmsKBw.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/ongoing-fill.svg-BWY0Pepo.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/ongoing-fill.svg-D9OuoEPD.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/review-fill.svg-C356jYYw.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/review-fill.svg-Ci8MN4eI.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/schedule-fill.svg-7tGjhrTb.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/schedule-fill.svg-BrKSb-wR.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/tooltip-fill.svg-Csn01XEU.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/tooltip-fill.svg-taAPxbyB.cjs +1 -0
- package/dist/resources/tictoccroc/icons/fill/user-fill.svg-1AdHldZ7.js +5 -0
- package/dist/resources/tictoccroc/icons/fill/user-fill.svg-C5DT_82L.cjs +1 -0
- package/dist/resources/tictoccroc/icons/index.d.ts +5 -0
- package/dist/resources/tictoccroc/icons/index.ts-CarI_z7q.js +214 -0
- package/dist/resources/tictoccroc/icons/index.ts-IVJAK4qr.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/alarm-line.svg-BRunNxMG.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/alarm-line.svg-B_fgmSUh.js +5 -0
- package/dist/resources/tictoccroc/icons/line/align-edit.svg-BpBWlArj.js +5 -0
- package/dist/resources/tictoccroc/icons/line/align-edit.svg-CheFH-PQ.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/align-line.svg-CZVeKsXI.js +5 -0
- package/dist/resources/tictoccroc/icons/line/align-line.svg-DEHi23C3.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/apply-line.svg-CPVSeeXQ.js +5 -0
- package/dist/resources/tictoccroc/icons/line/apply-line.svg-OFt_RKTM.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/arrow-back-line.svg-6pAPPZFb.js +5 -0
- package/dist/resources/tictoccroc/icons/line/arrow-back-line.svg-CohS2cJ8.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/arrow-downward-line.svg-BGmQO-HH.js +5 -0
- package/dist/resources/tictoccroc/icons/line/arrow-downward-line.svg-U4yGkiO6.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/arrow-forward-line.svg-CXsiELrZ.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/arrow-forward-line.svg-i2PyDbcS.js +5 -0
- package/dist/resources/tictoccroc/icons/line/arrow-upward-line.svg-D38aA0Uw.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/arrow-upward-line.svg-UfpZFid8.js +5 -0
- package/dist/resources/tictoccroc/icons/line/attach-line.svg-BhuonxHd.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/attach-line.svg-SIRIt0qo.js +5 -0
- package/dist/resources/tictoccroc/icons/line/ban-line.svg-D9JlR8gb.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/ban-line.svg-oA3yLqdR.js +5 -0
- package/dist/resources/tictoccroc/icons/line/browser-line.svg-B7UMwER5.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/browser-line.svg-hDn02ywo.js +5 -0
- package/dist/resources/tictoccroc/icons/line/calendar-line.svg-BsHcmpqT.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/calendar-line.svg-CwmRMqQV.js +5 -0
- package/dist/resources/tictoccroc/icons/line/call-line.svg-B2jT8BCB.js +5 -0
- package/dist/resources/tictoccroc/icons/line/call-line.svg-CVbza-nx.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/camera-line.svg-BuDRmRYc.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/camera-line.svg-BvUSwmSN.js +5 -0
- package/dist/resources/tictoccroc/icons/line/card-line.svg-BwluOZMy.js +5 -0
- package/dist/resources/tictoccroc/icons/line/card-line.svg-Dh3x2e7j.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/cash-line.svg-DMDHHJrt.js +5 -0
- package/dist/resources/tictoccroc/icons/line/cash-line.svg-_QlaTlXM.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/certificate-line.svg-BjOsTl11.js +5 -0
- package/dist/resources/tictoccroc/icons/line/certificate-line.svg-BoPUjufG.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/chat-line.svg-CmY7En0-.js +5 -0
- package/dist/resources/tictoccroc/icons/line/chat-line.svg-Dhe-5vHA.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/chatting-line.svg-CdN684WI.js +5 -0
- package/dist/resources/tictoccroc/icons/line/chatting-line.svg-DFq1Xeov.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/check-line.svg-BmxqZytH.js +5 -0
- package/dist/resources/tictoccroc/icons/line/check-line.svg-CKsagFl6.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/chevron-down-line.svg-BTq4vzeg.js +5 -0
- package/dist/resources/tictoccroc/icons/line/chevron-down-line.svg-BYCd5Luv.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/chevron-left-line.svg-DSET8qrk.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/chevron-left-line.svg-aZUXpJ9q.js +5 -0
- package/dist/resources/tictoccroc/icons/line/chevron-right-line.svg-C6wr7pgK.js +5 -0
- package/dist/resources/tictoccroc/icons/line/chevron-right-line.svg-Dm2YWA1K.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/chevron-up-line.svg-C8Sj7hTQ.js +5 -0
- package/dist/resources/tictoccroc/icons/line/chevron-up-line.svg-D9ekQ02i.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/close-line.svg-BzpCbaoG.js +5 -0
- package/dist/resources/tictoccroc/icons/line/close-line.svg-CSVwgqiB.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/copy-line.svg-CLdLNk9r.js +5 -0
- package/dist/resources/tictoccroc/icons/line/copy-line.svg-DA-07Z90.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/delete-line.svg-DQg7TEYw.js +5 -0
- package/dist/resources/tictoccroc/icons/line/delete-line.svg-DyddYBjS.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/download-line.svg-BKfz-6Mz.js +5 -0
- package/dist/resources/tictoccroc/icons/line/download-line.svg-DvinNPah.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/eye-invisible-line.svg-BuZicmwG.js +5 -0
- package/dist/resources/tictoccroc/icons/line/eye-invisible-line.svg-C_XjeDHE.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/eye-visible-line.svg-D3netPU8.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/eye-visible-line.svg-XpDOJPr0.js +5 -0
- package/dist/resources/tictoccroc/icons/line/filter-line.svg-Dbe7jw9Q.js +5 -0
- package/dist/resources/tictoccroc/icons/line/filter-line.svg-J5XFEh1F.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/fullview-line.svg-3aeWiJNf.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/fullview-line.svg-n_xxoG0C.js +5 -0
- package/dist/resources/tictoccroc/icons/line/goods-line.svg-BDAb5Snx.js +5 -0
- package/dist/resources/tictoccroc/icons/line/goods-line.svg-BYSmk4Lo.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/hamburger-line.svg-CMG7FGB3.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/hamburger-line.svg-CZAv5Wt4.js +5 -0
- package/dist/resources/tictoccroc/icons/line/headphone-line.svg-Buq82k6m.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/headphone-line.svg-Cy-z1uje.js +5 -0
- package/dist/resources/tictoccroc/icons/line/home-line.svg-BqHMy_15.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/home-line.svg-DO90M2q7.js +5 -0
- package/dist/resources/tictoccroc/icons/line/img-disable-line.svg-Bzvgi8Uu.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/img-disable-line.svg-DtD7dgZQ.js +5 -0
- package/dist/resources/tictoccroc/icons/line/img-line.svg-CPHQ1Cur.js +5 -0
- package/dist/resources/tictoccroc/icons/line/img-line.svg-runB4pj4.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/index.d.ts +72 -0
- package/dist/resources/tictoccroc/icons/line/index.ts-Dyvby5gX.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/index.ts-l0sNRNKZ.js +1 -0
- package/dist/resources/tictoccroc/icons/line/information-line.svg-C1HeihVj.js +5 -0
- package/dist/resources/tictoccroc/icons/line/information-line.svg-fQYLBjcn.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/instagram-line.svg-9QADilvw.js +5 -0
- package/dist/resources/tictoccroc/icons/line/instagram-line.svg-BiBj4li4.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/insurance-line.svg-C-jGCuZ0.js +5 -0
- package/dist/resources/tictoccroc/icons/line/insurance-line.svg-XgpoFsM2.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/kids-line.svg-BZjs2lbf.js +5 -0
- package/dist/resources/tictoccroc/icons/line/kids-line.svg-Hhqmv7us.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/like-line.svg-B09ewWGN.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/like-line.svg-WcxnZwNP.js +5 -0
- package/dist/resources/tictoccroc/icons/line/link-line.svg-BQlngNks.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/link-line.svg-DyTzcfH-.js +5 -0
- package/dist/resources/tictoccroc/icons/line/location-line.svg-BYTa6SR_.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/location-line.svg-EQvkDzcG.js +5 -0
- package/dist/resources/tictoccroc/icons/line/match-type-line.svg-CGS2gQZB.js +5 -0
- package/dist/resources/tictoccroc/icons/line/match-type-line.svg-DGpCvcRV.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/met-line.svg-CiYvySY5.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/met-line.svg-CuTfmBGY.js +5 -0
- package/dist/resources/tictoccroc/icons/line/minus-line.svg-BFTYxAEx.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/minus-line.svg-Cd4pUSxn.js +5 -0
- package/dist/resources/tictoccroc/icons/line/mobile-line.svg-B3REkeOs.js +5 -0
- package/dist/resources/tictoccroc/icons/line/mobile-line.svg-CcR_mhy0.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/modify-line.svg-Dtw-aJJL.js +5 -0
- package/dist/resources/tictoccroc/icons/line/modify-line.svg-y24Tpez8.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/more-line.svg-DkHQ1aCu.js +5 -0
- package/dist/resources/tictoccroc/icons/line/more-line.svg-fOrqycnA.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/parking-line.svg-BYdvScSf.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/parking-line.svg-C69hhyJp.js +5 -0
- package/dist/resources/tictoccroc/icons/line/plus-line.svg-CGLFrOvH.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/plus-line.svg-DYFu3bQb.js +5 -0
- package/dist/resources/tictoccroc/icons/line/receipt-line.svg-BpDVEXs_.js +5 -0
- package/dist/resources/tictoccroc/icons/line/receipt-line.svg-Db2ey7Vk.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/reset-line.svg-CYyXv2Ii.js +5 -0
- package/dist/resources/tictoccroc/icons/line/reset-line.svg-VXhJXGw4.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/schedule-line.svg-C4rlD6fX.js +5 -0
- package/dist/resources/tictoccroc/icons/line/schedule-line.svg-CBOfzdyP.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/search-line.svg-ChK1nMkg.js +5 -0
- package/dist/resources/tictoccroc/icons/line/search-line.svg-CyECq3s4.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/setting-line.svg-B5KTXMkf.js +5 -0
- package/dist/resources/tictoccroc/icons/line/setting-line.svg-KZcCRQnu.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/share-line.svg-BuvAb_mR.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/share-line.svg-YIeAM7qG.js +5 -0
- package/dist/resources/tictoccroc/icons/line/sms-line.svg-CfS4BH8b.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/sms-line.svg-mkRJRb3t.js +5 -0
- package/dist/resources/tictoccroc/icons/line/sound-line.svg-CmfcTDgu.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/sound-line.svg-DDrcGkDm.js +5 -0
- package/dist/resources/tictoccroc/icons/line/sound-off-line.svg-BpovzQS7.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/sound-off-line.svg-CyLPPUCN.js +5 -0
- package/dist/resources/tictoccroc/icons/line/special-line.svg-BIbaMWsd.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/special-line.svg-DmNM79L9.js +5 -0
- package/dist/resources/tictoccroc/icons/line/time-line.svg-BuB2NlRB.js +5 -0
- package/dist/resources/tictoccroc/icons/line/time-line.svg-DXBDjsih.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/toy-line.svg-DyArYgu3.js +5 -0
- package/dist/resources/tictoccroc/icons/line/toy-line.svg-vUxUn7S0.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/university-line.svg-BEdQwFB6.js +5 -0
- package/dist/resources/tictoccroc/icons/line/university-line.svg-D2T-TUW5.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/upload-line.svg-CDbJ-I5E.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/upload-line.svg-CKFtr3Jx.js +5 -0
- package/dist/resources/tictoccroc/icons/line/user-line.svg-CNcTTUmF.js +5 -0
- package/dist/resources/tictoccroc/icons/line/user-line.svg-Du2rRzus.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/video-camera-line.svg-C2Y4ssOf.js +5 -0
- package/dist/resources/tictoccroc/icons/line/video-camera-line.svg-iZ3dICcd.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/warning1-line.svg-Bhi7ngGw.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/warning1-line.svg-DsmZxbsf.js +5 -0
- package/dist/resources/tictoccroc/icons/line/warning2-line.svg-DTvtKOYN.js +5 -0
- package/dist/resources/tictoccroc/icons/line/warning2-line.svg-Kf0io8lf.cjs +1 -0
- package/dist/resources/tictoccroc/icons/line/wifi-line.svg-BtsQLwZl.js +5 -0
- package/dist/resources/tictoccroc/icons/line/wifi-line.svg-DGCMJ5Oi.cjs +1 -0
- package/dist/themes/tictoccroc/colors/background.cjs +1 -0
- package/dist/themes/tictoccroc/colors/background.d.ts +5 -0
- package/dist/themes/tictoccroc/colors/background.es.js +7 -0
- package/dist/themes/tictoccroc/colors/blue.cjs +1 -0
- package/dist/themes/tictoccroc/colors/blue.d.ts +4 -0
- package/dist/themes/tictoccroc/colors/blue.es.js +15 -0
- package/dist/themes/tictoccroc/colors/classType.cjs +1 -0
- package/dist/themes/tictoccroc/colors/classType.d.ts +4 -0
- package/dist/themes/tictoccroc/colors/classType.es.js +11 -0
- package/dist/themes/tictoccroc/colors/etc.cjs +1 -0
- package/dist/themes/tictoccroc/colors/etc.d.ts +5 -0
- package/dist/themes/tictoccroc/colors/etc.es.js +10 -0
- package/dist/themes/tictoccroc/colors/green.cjs +1 -0
- package/dist/themes/tictoccroc/colors/green.d.ts +4 -0
- package/dist/themes/tictoccroc/colors/green.es.js +15 -0
- package/dist/themes/tictoccroc/colors/grey.cjs +1 -0
- package/dist/themes/tictoccroc/colors/grey.d.ts +4 -0
- package/dist/themes/tictoccroc/colors/grey.es.js +17 -0
- package/dist/themes/tictoccroc/colors/index.cjs +1 -0
- package/dist/themes/tictoccroc/colors/index.d.ts +8 -0
- package/dist/themes/tictoccroc/colors/index.es.js +18 -0
- package/dist/themes/tictoccroc/colors/pink.cjs +1 -0
- package/dist/themes/tictoccroc/colors/pink.d.ts +4 -0
- package/dist/themes/tictoccroc/colors/pink.es.js +15 -0
- package/dist/themes/tictoccroc/colors/yellow.cjs +1 -0
- package/dist/themes/tictoccroc/colors/yellow.d.ts +4 -0
- package/dist/themes/tictoccroc/colors/yellow.es.js +15 -0
- package/dist/themes/tictoccroc/index.cjs +1 -0
- package/dist/themes/tictoccroc/index.d.ts +4 -0
- package/dist/themes/tictoccroc/index.es.js +30 -0
- package/dist/themes/tictoccroc/parentLight.cjs +1 -0
- package/dist/themes/tictoccroc/parentLight.d.ts +4 -0
- package/dist/themes/tictoccroc/parentLight.es.js +70 -0
- package/dist/themes/tictoccroc/teacherLight.cjs +1 -0
- package/dist/themes/tictoccroc/teacherLight.d.ts +4 -0
- package/dist/themes/tictoccroc/teacherLight.es.js +70 -0
- package/dist/themes/tictoccroc/typography/body.cjs +1 -0
- package/dist/themes/tictoccroc/typography/body.d.ts +4 -0
- package/dist/themes/tictoccroc/typography/body.es.js +75 -0
- package/dist/themes/tictoccroc/typography/caption.cjs +1 -0
- package/dist/themes/tictoccroc/typography/caption.d.ts +4 -0
- package/dist/themes/tictoccroc/typography/caption.es.js +110 -0
- package/dist/themes/tictoccroc/typography/display.cjs +1 -0
- package/dist/themes/tictoccroc/typography/display.d.ts +4 -0
- package/dist/themes/tictoccroc/typography/display.es.js +89 -0
- package/dist/themes/tictoccroc/typography/headline.cjs +1 -0
- package/dist/themes/tictoccroc/typography/headline.d.ts +4 -0
- package/dist/themes/tictoccroc/typography/headline.es.js +131 -0
- package/dist/themes/tictoccroc/typography/index.cjs +1 -0
- package/dist/themes/tictoccroc/typography/index.d.ts +4 -0
- package/dist/themes/tictoccroc/typography/index.es.js +10 -0
- package/dist/typings/color.d.ts +20 -0
- package/dist/typings/component.d.ts +31 -0
- package/dist/typings/index.d.ts +7 -0
- package/dist/typings/theme/core.d.ts +42 -0
- package/dist/typings/theme/tictoccroc.d.ts +15 -0
- package/dist/typings/typography.d.ts +23 -0
- package/dist/typings/utility.d.ts +10 -0
- package/dist/utils/convertNumberToCSSValue.cjs +1 -0
- package/dist/utils/convertNumberToCSSValue.d.ts +3 -0
- package/dist/utils/convertNumberToCSSValue.es.js +6 -0
- package/dist/utils/debounce/debounce.cjs +1 -0
- package/dist/utils/debounce/debounce.d.ts +1 -0
- package/dist/utils/debounce/debounce.es.js +11 -0
- package/dist/utils/getContrastRatio/getContrastRatio.cjs +1 -0
- package/dist/utils/getContrastRatio/getContrastRatio.d.ts +1 -0
- package/dist/utils/getContrastRatio/getContrastRatio.es.js +9 -0
- package/dist/utils/getContrastRatio/getContrastRatio.test.d.ts +1 -0
- package/dist/utils/getContrastingTextColor/getContrastingTextColor.cjs +1 -0
- package/dist/utils/getContrastingTextColor/getContrastingTextColor.d.ts +1 -0
- package/dist/utils/getContrastingTextColor/getContrastingTextColor.es.js +19 -0
- package/dist/utils/getContrastingTextColor/getContrastingTextColor.test.d.ts +1 -0
- package/dist/utils/getIconLabel/getIconLabel.cjs +1 -0
- package/dist/utils/getIconLabel/getIconLabel.d.ts +3 -0
- package/dist/utils/getIconLabel/getIconLabel.es.js +112 -0
- package/dist/utils/getInterpolation/getInterpolation.cjs +1 -0
- package/dist/utils/getInterpolation/getInterpolation.d.ts +4 -0
- package/dist/utils/getInterpolation/getInterpolation.es.js +18 -0
- package/dist/utils/getPaletteColor/getPaletteColor.cjs +1 -0
- package/dist/utils/getPaletteColor/getPaletteColor.d.ts +6 -0
- package/dist/utils/getPaletteColor/getPaletteColor.es.js +28 -0
- package/dist/utils/getPaletteColor/getPaletteColor.test.d.ts +1 -0
- package/dist/utils/getRelativeLuminance/getRelativeLuminance.cjs +1 -0
- package/dist/utils/getRelativeLuminance/getRelativeLuminance.d.ts +1 -0
- package/dist/utils/getRelativeLuminance/getRelativeLuminance.es.js +10 -0
- package/dist/utils/getRelativeLuminance/getRelativeLuminance.test.d.ts +1 -0
- package/dist/utils/getSibling/getSibling.cjs +1 -0
- package/dist/utils/getSibling/getSibling.d.ts +5 -0
- package/dist/utils/getSibling/getSibling.es.js +8 -0
- package/dist/utils/hexToRgb/hexToRgb.cjs +1 -0
- package/dist/utils/hexToRgb/hexToRgb.d.ts +5 -0
- package/dist/utils/hexToRgb/hexToRgb.es.js +13 -0
- package/dist/utils/hexToRgb/hexToRgb.test.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as BottomSheet } from './BottomSheet';
|
|
2
|
+
|
|
3
|
+
export { default as BottomSheetTitle } from './BottomSheetTitle';
|
|
4
|
+
export { default as BottomSheetContent } from './BottomSheetContent';
|
|
5
|
+
export { default as BottomSheetAction } from './BottomSheetAction';
|
|
6
|
+
export { default as BottomSheetText } from './BottomSheetText';
|
|
7
|
+
export default BottomSheet;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import e from "./BottomSheet.es.js";
|
|
2
|
+
import { default as r } from "./BottomSheetTitle/BottomSheetTitle.es.js";
|
|
3
|
+
import { default as f } from "./BottomSheetContent/BottomSheetContent.es.js";
|
|
4
|
+
import { default as p } from "./BottomSheetAction/BottomSheetAction.es.js";
|
|
5
|
+
import { default as d } from "./BottomSheetText/BottomSheetText.es.js";
|
|
6
|
+
export {
|
|
7
|
+
p as BottomSheetAction,
|
|
8
|
+
f as BottomSheetContent,
|
|
9
|
+
d as BottomSheetText,
|
|
10
|
+
r as BottomSheetTitle,
|
|
11
|
+
e as default
|
|
12
|
+
};
|
package/dist/Box/Box.cjs
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("@emotion/react/jsx-runtime"),a=require("react"),f=require("@emotion/styled"),h=t=>t&&t.__esModule?t:{default:t},v=h(f),s=v.default.div`
|
|
2
|
+
${({theme:{spacing:t},spacingType:e="content",m:o,mt:d,mb:n,ml:i,mr:l})=>!o&&(d||n||i||l)?{marginTop:d?t[e](d):void 0,marginBottom:n?t[e](n):void 0,marginLeft:i?t[e](i):void 0,marginRight:l?t[e](l):void 0}:null};
|
|
3
|
+
${({theme:{spacing:t},spacingType:e="content",m:o})=>o?{margin:t[e](o)}:null};
|
|
4
|
+
${({theme:{spacing:t},spacingType:e="content",p:o,pt:d,pb:n,pl:i,pr:l})=>!o&&(d||n||i||l)?{paddingTop:d?t[e](d):void 0,paddingBottom:n?t[e](n):void 0,paddingLeft:i?t[e](i):void 0,paddingRight:l?t[e](l):void 0}:null};
|
|
5
|
+
${({theme:{spacing:t},spacingType:e="content",p:o})=>o?{padding:t[e](o)}:null};
|
|
6
|
+
|
|
7
|
+
${({visuallyHidden:t})=>t?{clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"}:null}
|
|
8
|
+
`,c=a.forwardRef(function({children:e,tag:o,inlineCSS:d,spacingType:n="content",visuallyHidden:i=!1,...l},u){return r.jsx(s,{ref:u,as:o,spacingType:n,visuallyHidden:i,...l,css:d,children:e})});exports.default=c;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementType, ReactNode } from 'react';
|
|
2
|
+
import { PolymorphicComponentProps, Spacing } from '../typings/component';
|
|
3
|
+
|
|
4
|
+
export type BoxProps<T extends ElementType = 'div'> = Spacing & PolymorphicComponentProps<T> & {
|
|
5
|
+
visuallyHidden?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type BoxComponent<DT extends ElementType> = <T extends ElementType = DT>(props: BoxProps<T>) => ReactNode;
|
|
8
|
+
declare const Box: BoxComponent<'div'>;
|
|
9
|
+
export default Box;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx as h } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as f } from "react";
|
|
3
|
+
import v from "@emotion/styled";
|
|
4
|
+
const u = v.div`
|
|
5
|
+
${({ theme: { spacing: o }, spacingType: t = "content", m: d, mt: e, mb: i, ml: n, mr: r }) => !d && (e || i || n || r) ? {
|
|
6
|
+
marginTop: e ? o[t](e) : void 0,
|
|
7
|
+
marginBottom: i ? o[t](i) : void 0,
|
|
8
|
+
marginLeft: n ? o[t](n) : void 0,
|
|
9
|
+
marginRight: r ? o[t](r) : void 0
|
|
10
|
+
} : null};
|
|
11
|
+
${({ theme: { spacing: o }, spacingType: t = "content", m: d }) => d ? { margin: o[t](d) } : null};
|
|
12
|
+
${({ theme: { spacing: o }, spacingType: t = "content", p: d, pt: e, pb: i, pl: n, pr: r }) => !d && (e || i || n || r) ? {
|
|
13
|
+
paddingTop: e ? o[t](e) : void 0,
|
|
14
|
+
paddingBottom: i ? o[t](i) : void 0,
|
|
15
|
+
paddingLeft: n ? o[t](n) : void 0,
|
|
16
|
+
paddingRight: r ? o[t](r) : void 0
|
|
17
|
+
} : null};
|
|
18
|
+
${({ theme: { spacing: o }, spacingType: t = "content", p: d }) => d ? { padding: o[t](d) } : null};
|
|
19
|
+
|
|
20
|
+
${({ visuallyHidden: o }) => o ? {
|
|
21
|
+
clip: "rect(0 0 0 0)",
|
|
22
|
+
clipPath: "inset(50%)",
|
|
23
|
+
height: "1px",
|
|
24
|
+
overflow: "hidden",
|
|
25
|
+
position: "absolute",
|
|
26
|
+
whiteSpace: "nowrap",
|
|
27
|
+
width: "1px"
|
|
28
|
+
} : null}
|
|
29
|
+
`, w = f(function({ children: t, tag: d, inlineCSS: e, spacingType: i = "content", visuallyHidden: n = !1, ...r }, l) {
|
|
30
|
+
return /* @__PURE__ */ h(
|
|
31
|
+
u,
|
|
32
|
+
{
|
|
33
|
+
ref: l,
|
|
34
|
+
as: d,
|
|
35
|
+
spacingType: i,
|
|
36
|
+
visuallyHidden: n,
|
|
37
|
+
...r,
|
|
38
|
+
css: e,
|
|
39
|
+
children: t
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
w as default
|
|
45
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T extends import('react').ElementType = "div">(props: import('./Box').BoxProps<T>) => import('react').ReactNode;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
spacingType: {
|
|
11
|
+
options: string[];
|
|
12
|
+
control: {
|
|
13
|
+
type: "radio";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
visuallyHidden: {
|
|
17
|
+
control: {
|
|
18
|
+
type: "boolean";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
tags: string[];
|
|
23
|
+
};
|
|
24
|
+
export default meta;
|
|
25
|
+
type Story = StoryObj<typeof meta>;
|
|
26
|
+
export declare const Spacing: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Box.cjs");exports.default=e.default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const S=require("@emotion/react/jsx-runtime"),h=require("react"),C=require("../hooks/useCheckHoverPossible/useCheckHoverPossible.cjs"),H=require("../utils/getIconLabel/getIconLabel.cjs"),k=require("@emotion/styled"),a=require("../utils/getContrastingTextColor/getContrastingTextColor.cjs"),R=l=>l&&l.__esModule?l:{default:l},M=R(k),z=M.default.button`
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
border: 1px solid transparent;
|
|
6
|
+
& svg {
|
|
7
|
+
color: inherit;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
${({theme:{palette:{brand:l,grey:e}},variant:i,color:u})=>{let p={backgroundColor:l.primary.main,color:a.default(l.primary.main,[e.white,e[100]])};return i==="filled"&&u==="secondary"&&(p={backgroundColor:l.secondary,color:a.default(l.secondary,[e.white,e[100]])}),i==="filled"&&u==="tertiary"&&(p={backgroundColor:l.tertiary,color:a.default(l.tertiary,[e.white,e[100]])}),i==="outlined"&&(p={borderColor:e[50],backgroundColor:e.white,color:a.default(e.white,[e.white,e[100]])}),i==="text"&&u==="primary"&&(p={backgroundColor:"transparent",color:a.default("transparent",[e.white,e[100]])}),i==="text"&&u==="secondary"&&(p={backgroundColor:"transparent",color:e[70]}),p}};
|
|
11
|
+
|
|
12
|
+
${({theme:{spacing:l,typography:e},variant:i,size:u,startAdornment:p,endAdornment:o,iconOnly:r})=>{let f={gap:l.content(1),padding:10,borderRadius:8,fontSize:e.b4M.size,fontWeight:e.b4M.weight,lineHeight:e.b4M.lineHeight,letterSpacing:e.b4M.letterSpacing,"& svg":{width:20,height:20}};if(u==="2xLarge"){const{h0B:x}=e;let t="26px 24px";p&&(t=i==="text"?"26px 16px 26px 12px":"26px 36px 26px 24px"),o&&(t=i==="text"?"26px 12px 26px 16px":"26px 24px 26px 36px"),p&&o&&(t=i==="text"?"26px 12px":"26px 24px"),r&&(t="26px 25px"),f={gap:l.content(3),maxHeight:100,padding:t,borderRadius:20,fontSize:x.size,fontWeight:x.weight,lineHeight:x.lineHeight,letterSpacing:x.letterSpacing,"& svg":{width:48,height:48}}}if(u==="xLarge"){const{h4B:x}=e;let t="16px 12px";p&&(t=i==="text"?"16px 8px 16px 4px":"16px 16px 16px 12px"),o&&(t=i==="text"?"16px 4px 16px 8px":"16px 12px 16px 16px"),p&&o&&(t=i==="text"?"16px 4px":"16px 12px"),r&&(t="16px 15px"),f={gap:l.content(2),maxHeight:56,padding:t,borderRadius:12,fontSize:x.size,fontWeight:x.weight,lineHeight:x.lineHeight,letterSpacing:x.letterSpacing,"& svg":{width:24,height:24}}}if(u==="large"){const{b2M:x}=e;let t="12px 8px";p&&(t=i==="text"?"12px 8px 12px 4px":"12px 12px 12px 8px"),o&&(t=i==="text"?"12px 4px 12px 8px":"12px 8px 12px 12px"),p&&o&&(t=i==="text"?"12px 4px":"12px 8px"),r&&(t="12px 11px"),f={gap:6,maxHeight:48,padding:t,borderRadius:10,fontSize:x.size,fontWeight:x.weight,lineHeight:x.lineHeight,letterSpacing:x.letterSpacing,"& svg":{width:24,height:24}}}if(u==="medium"){const{b4M:x}=e;let t="10px 8px";p&&(t=i==="text"?"10px 8px 10px 4px":"10px 10px 10px 8px"),o&&(t=i==="text"?"10px 4px 10px 8px":"10px 8px 10px 10px"),p&&o&&(t=i==="text"?"10px 4px":"10px 8px"),r&&(t="10px 9px"),f={gap:l.content(1),maxHeight:40,padding:t,borderRadius:8,fontSize:x.size,fontWeight:x.weight,lineHeight:x.lineHeight,letterSpacing:x.letterSpacing,"& svg":{width:20,height:20}}}if(u==="small"){const{c3M:x}=e;let t="8px 6px";p&&(t=i==="text"?"8px 8px 8px 4px":"8px 8px 8px 6px"),o&&(t=i==="text"?"8px 4px 8px 8px":"8px 6px 8px 8px"),p&&o&&(t=i==="text"?"8px 6px":"8px 4px"),r&&(t="8px 7px"),f={gap:l.content(1),maxHeight:32,padding:t,borderRadius:6,fontSize:x.size,fontWeight:x.weight,lineHeight:x.lineHeight,letterSpacing:x.letterSpacing,"& svg":{width:16,height:16}}}if(u==="xSmall"){const{c3M:x}=e;let t="4px 6px";p&&(t=i==="text"?"4px 8px 4px 4px":"4px 8px 4px 6px"),o&&(t=i==="text"?"4px 4px 4px 8px":"4px 6px 4px 8px"),p&&o&&(t=i==="text"?"4px":"4px 6px"),r&&(t="4px 3px"),r?f={gap:l.content(1),maxHeight:24,width:24,height:24,borderRadius:6,fontSize:x.size,fontWeight:x.weight,lineHeight:x.lineHeight,letterSpacing:x.letterSpacing,"& svg":{width:16,height:16}}:f={gap:l.content(1),maxHeight:24,padding:t,borderRadius:6,fontSize:x.size,fontWeight:x.weight,lineHeight:x.lineHeight,letterSpacing:x.letterSpacing,"& svg":{width:16,height:16}}}return i==="text"&&u==="xLarge"&&(f={...f,borderWidth:1.5}),f}};
|
|
13
|
+
|
|
14
|
+
${({rounded:l})=>l?{}:{borderRadius:"unset"}}
|
|
15
|
+
|
|
16
|
+
${({theme:{palette:{brand:l,grey:e}},variant:i,color:u,isHoverPossible:p})=>{let o={'&:active:not([aria-disabled="true"])':{backgroundColor:l.primary.press},...p?{'&:hover:not([aria-disabled="true"])':{backgroundColor:l.primary.press}}:{}};return i==="filled"&&u==="secondary"&&(o={'&:active:not([aria-disabled="true"])':{backgroundColor:e[100]},...p?{'&:hover:not([aria-disabled="true"])':{backgroundColor:e[100]}}:{}}),i==="filled"&&u==="tertiary"&&(o={'&:active:not([aria-disabled="true"])':{backgroundColor:e[70]},...p?{'&:hover:not([aria-disabled="true"])':{backgroundColor:e[70]}}:{}}),(i==="outlined"||i==="text")&&(o={'&:active:not([aria-disabled="true"])':{backgroundColor:e[10]},...p?{'&:hover:not([aria-disabled="true"])':{backgroundColor:e[10]}}:{}}),o}}
|
|
17
|
+
|
|
18
|
+
&[aria-disabled="true"] {
|
|
19
|
+
cursor: not-allowed;
|
|
20
|
+
${({theme:{palette:{brand:l,grey:e}},variant:i,color:u})=>{let p={backgroundColor:l.primary.disable,color:a.default(l.primary.disable,[e[30],e.white])};return i==="filled"&&u==="secondary"&&(p={backgroundColor:e[10],color:a.default(e[10],[e[30],e.white])}),i==="outlined"&&(p={borderColor:e[30],backgroundColor:e[10],color:a.default(e[30],[e[30],e.white])}),i==="text"&&(p={color:a.default(e[30],[e[30],e.white])}),p}};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
${({fullWidth:l})=>l?{width:"100%"}:null};
|
|
24
|
+
`,W=h.forwardRef(function({children:e,variant:i="filled",size:u="medium",color:p="primary",startAdornment:o,endAdornment:r,iconOnly:f,fullWidth:x,inlineCSS:t,rounded:s=!0,disabled:g,...d},b){const{isHoverPossible:n}=C.default(),w=()=>{if(!f)return;if(d["aria-label"])return d["aria-label"];const c=o||r||e;if(h.isValidElement(c))return H.default(c.props.name)};return S.jsxs(z,{ref:b,variant:i,size:u,color:p,fullWidth:x,rounded:s,startAdornment:o,endAdornment:r,iconOnly:f,isHoverPossible:n,"aria-disabled":g,"aria-label":w(),...d,css:t,children:[o,!f&&e,r]})});exports.default=W;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { BrandColorKey } from '../typings/color';
|
|
3
|
+
import { GeneralComponentProps, Size, Variant } from '../typings/component';
|
|
4
|
+
|
|
5
|
+
export interface ButtonProps extends GeneralComponentProps<ButtonHTMLAttributes<HTMLButtonElement>> {
|
|
6
|
+
variant?: Extract<Variant, 'filled' | 'outlined' | 'text'>;
|
|
7
|
+
color?: BrandColorKey;
|
|
8
|
+
size?: Size;
|
|
9
|
+
startAdornment?: ReactNode;
|
|
10
|
+
endAdornment?: ReactNode;
|
|
11
|
+
iconOnly?: boolean;
|
|
12
|
+
fullWidth?: boolean;
|
|
13
|
+
rounded?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
export default Button;
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
import { jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as w, isValidElement as S } from "react";
|
|
3
|
+
import C from "../hooks/useCheckHoverPossible/useCheckHoverPossible.es.js";
|
|
4
|
+
import H from "../utils/getIconLabel/getIconLabel.es.js";
|
|
5
|
+
import k from "@emotion/styled";
|
|
6
|
+
import c from "../utils/getContrastingTextColor/getContrastingTextColor.es.js";
|
|
7
|
+
const m = k.button`
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
border: 1px solid transparent;
|
|
12
|
+
& svg {
|
|
13
|
+
color: inherit;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
${({
|
|
17
|
+
theme: {
|
|
18
|
+
palette: { brand: l, grey: e }
|
|
19
|
+
},
|
|
20
|
+
variant: i,
|
|
21
|
+
color: r
|
|
22
|
+
}) => {
|
|
23
|
+
let p = {
|
|
24
|
+
backgroundColor: l.primary.main,
|
|
25
|
+
color: c(l.primary.main, [e.white, e[100]])
|
|
26
|
+
};
|
|
27
|
+
return i === "filled" && r === "secondary" && (p = {
|
|
28
|
+
backgroundColor: l.secondary,
|
|
29
|
+
color: c(l.secondary, [e.white, e[100]])
|
|
30
|
+
}), i === "filled" && r === "tertiary" && (p = {
|
|
31
|
+
backgroundColor: l.tertiary,
|
|
32
|
+
color: c(l.tertiary, [e.white, e[100]])
|
|
33
|
+
}), i === "outlined" && (p = {
|
|
34
|
+
borderColor: e[50],
|
|
35
|
+
backgroundColor: e.white,
|
|
36
|
+
color: c(e.white, [e.white, e[100]])
|
|
37
|
+
}), i === "text" && r === "primary" && (p = {
|
|
38
|
+
backgroundColor: "transparent",
|
|
39
|
+
color: c("transparent", [e.white, e[100]])
|
|
40
|
+
}), i === "text" && r === "secondary" && (p = {
|
|
41
|
+
backgroundColor: "transparent",
|
|
42
|
+
color: e[70]
|
|
43
|
+
}), p;
|
|
44
|
+
}};
|
|
45
|
+
|
|
46
|
+
${({
|
|
47
|
+
theme: { spacing: l, typography: e },
|
|
48
|
+
variant: i,
|
|
49
|
+
size: r,
|
|
50
|
+
startAdornment: p,
|
|
51
|
+
endAdornment: o,
|
|
52
|
+
iconOnly: f
|
|
53
|
+
}) => {
|
|
54
|
+
let h = {
|
|
55
|
+
gap: l.content(1),
|
|
56
|
+
padding: 10,
|
|
57
|
+
borderRadius: 8,
|
|
58
|
+
fontSize: e.b4M.size,
|
|
59
|
+
fontWeight: e.b4M.weight,
|
|
60
|
+
lineHeight: e.b4M.lineHeight,
|
|
61
|
+
letterSpacing: e.b4M.letterSpacing,
|
|
62
|
+
"& svg": {
|
|
63
|
+
width: 20,
|
|
64
|
+
height: 20
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
if (r === "2xLarge") {
|
|
68
|
+
const { h0B: x } = e;
|
|
69
|
+
let t = "26px 24px";
|
|
70
|
+
p && (t = i === "text" ? "26px 16px 26px 12px" : "26px 36px 26px 24px"), o && (t = i === "text" ? "26px 12px 26px 16px" : "26px 24px 26px 36px"), p && o && (t = i === "text" ? "26px 12px" : "26px 24px"), f && (t = "26px 25px"), h = {
|
|
71
|
+
gap: l.content(3),
|
|
72
|
+
maxHeight: 100,
|
|
73
|
+
padding: t,
|
|
74
|
+
borderRadius: 20,
|
|
75
|
+
fontSize: x.size,
|
|
76
|
+
fontWeight: x.weight,
|
|
77
|
+
lineHeight: x.lineHeight,
|
|
78
|
+
letterSpacing: x.letterSpacing,
|
|
79
|
+
"& svg": {
|
|
80
|
+
width: 48,
|
|
81
|
+
height: 48
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
if (r === "xLarge") {
|
|
86
|
+
const { h4B: x } = e;
|
|
87
|
+
let t = "16px 12px";
|
|
88
|
+
p && (t = i === "text" ? "16px 8px 16px 4px" : "16px 16px 16px 12px"), o && (t = i === "text" ? "16px 4px 16px 8px" : "16px 12px 16px 16px"), p && o && (t = i === "text" ? "16px 4px" : "16px 12px"), f && (t = "16px 15px"), h = {
|
|
89
|
+
gap: l.content(2),
|
|
90
|
+
maxHeight: 56,
|
|
91
|
+
padding: t,
|
|
92
|
+
borderRadius: 12,
|
|
93
|
+
fontSize: x.size,
|
|
94
|
+
fontWeight: x.weight,
|
|
95
|
+
lineHeight: x.lineHeight,
|
|
96
|
+
letterSpacing: x.letterSpacing,
|
|
97
|
+
"& svg": {
|
|
98
|
+
width: 24,
|
|
99
|
+
height: 24
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
if (r === "large") {
|
|
104
|
+
const { b2M: x } = e;
|
|
105
|
+
let t = "12px 8px";
|
|
106
|
+
p && (t = i === "text" ? "12px 8px 12px 4px" : "12px 12px 12px 8px"), o && (t = i === "text" ? "12px 4px 12px 8px" : "12px 8px 12px 12px"), p && o && (t = i === "text" ? "12px 4px" : "12px 8px"), f && (t = "12px 11px"), h = {
|
|
107
|
+
gap: 6,
|
|
108
|
+
maxHeight: 48,
|
|
109
|
+
padding: t,
|
|
110
|
+
borderRadius: 10,
|
|
111
|
+
fontSize: x.size,
|
|
112
|
+
fontWeight: x.weight,
|
|
113
|
+
lineHeight: x.lineHeight,
|
|
114
|
+
letterSpacing: x.letterSpacing,
|
|
115
|
+
"& svg": {
|
|
116
|
+
width: 24,
|
|
117
|
+
height: 24
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
if (r === "medium") {
|
|
122
|
+
const { b4M: x } = e;
|
|
123
|
+
let t = "10px 8px";
|
|
124
|
+
p && (t = i === "text" ? "10px 8px 10px 4px" : "10px 10px 10px 8px"), o && (t = i === "text" ? "10px 4px 10px 8px" : "10px 8px 10px 10px"), p && o && (t = i === "text" ? "10px 4px" : "10px 8px"), f && (t = "10px 9px"), h = {
|
|
125
|
+
gap: l.content(1),
|
|
126
|
+
maxHeight: 40,
|
|
127
|
+
padding: t,
|
|
128
|
+
borderRadius: 8,
|
|
129
|
+
fontSize: x.size,
|
|
130
|
+
fontWeight: x.weight,
|
|
131
|
+
lineHeight: x.lineHeight,
|
|
132
|
+
letterSpacing: x.letterSpacing,
|
|
133
|
+
"& svg": {
|
|
134
|
+
width: 20,
|
|
135
|
+
height: 20
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
if (r === "small") {
|
|
140
|
+
const { c3M: x } = e;
|
|
141
|
+
let t = "8px 6px";
|
|
142
|
+
p && (t = i === "text" ? "8px 8px 8px 4px" : "8px 8px 8px 6px"), o && (t = i === "text" ? "8px 4px 8px 8px" : "8px 6px 8px 8px"), p && o && (t = i === "text" ? "8px 6px" : "8px 4px"), f && (t = "8px 7px"), h = {
|
|
143
|
+
gap: l.content(1),
|
|
144
|
+
maxHeight: 32,
|
|
145
|
+
padding: t,
|
|
146
|
+
borderRadius: 6,
|
|
147
|
+
fontSize: x.size,
|
|
148
|
+
fontWeight: x.weight,
|
|
149
|
+
lineHeight: x.lineHeight,
|
|
150
|
+
letterSpacing: x.letterSpacing,
|
|
151
|
+
"& svg": {
|
|
152
|
+
width: 16,
|
|
153
|
+
height: 16
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
if (r === "xSmall") {
|
|
158
|
+
const { c3M: x } = e;
|
|
159
|
+
let t = "4px 6px";
|
|
160
|
+
p && (t = i === "text" ? "4px 8px 4px 4px" : "4px 8px 4px 6px"), o && (t = i === "text" ? "4px 4px 4px 8px" : "4px 6px 4px 8px"), p && o && (t = i === "text" ? "4px" : "4px 6px"), f && (t = "4px 3px"), f ? h = {
|
|
161
|
+
gap: l.content(1),
|
|
162
|
+
maxHeight: 24,
|
|
163
|
+
width: 24,
|
|
164
|
+
height: 24,
|
|
165
|
+
borderRadius: 6,
|
|
166
|
+
fontSize: x.size,
|
|
167
|
+
fontWeight: x.weight,
|
|
168
|
+
lineHeight: x.lineHeight,
|
|
169
|
+
letterSpacing: x.letterSpacing,
|
|
170
|
+
"& svg": {
|
|
171
|
+
width: 16,
|
|
172
|
+
height: 16
|
|
173
|
+
}
|
|
174
|
+
} : h = {
|
|
175
|
+
gap: l.content(1),
|
|
176
|
+
maxHeight: 24,
|
|
177
|
+
padding: t,
|
|
178
|
+
borderRadius: 6,
|
|
179
|
+
fontSize: x.size,
|
|
180
|
+
fontWeight: x.weight,
|
|
181
|
+
lineHeight: x.lineHeight,
|
|
182
|
+
letterSpacing: x.letterSpacing,
|
|
183
|
+
"& svg": {
|
|
184
|
+
width: 16,
|
|
185
|
+
height: 16
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
return i === "text" && r === "xLarge" && (h = {
|
|
190
|
+
...h,
|
|
191
|
+
borderWidth: 1.5
|
|
192
|
+
}), h;
|
|
193
|
+
}};
|
|
194
|
+
|
|
195
|
+
${({ rounded: l }) => l ? {} : {
|
|
196
|
+
borderRadius: "unset"
|
|
197
|
+
}}
|
|
198
|
+
|
|
199
|
+
${({
|
|
200
|
+
theme: {
|
|
201
|
+
palette: { brand: l, grey: e }
|
|
202
|
+
},
|
|
203
|
+
variant: i,
|
|
204
|
+
color: r,
|
|
205
|
+
isHoverPossible: p
|
|
206
|
+
}) => {
|
|
207
|
+
let o = {
|
|
208
|
+
'&:active:not([aria-disabled="true"])': { backgroundColor: l.primary.press },
|
|
209
|
+
...p ? { '&:hover:not([aria-disabled="true"])': { backgroundColor: l.primary.press } } : {}
|
|
210
|
+
};
|
|
211
|
+
return i === "filled" && r === "secondary" && (o = {
|
|
212
|
+
'&:active:not([aria-disabled="true"])': { backgroundColor: e[100] },
|
|
213
|
+
...p ? { '&:hover:not([aria-disabled="true"])': { backgroundColor: e[100] } } : {}
|
|
214
|
+
}), i === "filled" && r === "tertiary" && (o = {
|
|
215
|
+
'&:active:not([aria-disabled="true"])': { backgroundColor: e[70] },
|
|
216
|
+
...p ? { '&:hover:not([aria-disabled="true"])': { backgroundColor: e[70] } } : {}
|
|
217
|
+
}), (i === "outlined" || i === "text") && (o = {
|
|
218
|
+
'&:active:not([aria-disabled="true"])': { backgroundColor: e[10] },
|
|
219
|
+
...p ? { '&:hover:not([aria-disabled="true"])': { backgroundColor: e[10] } } : {}
|
|
220
|
+
}), o;
|
|
221
|
+
}}
|
|
222
|
+
|
|
223
|
+
&[aria-disabled="true"] {
|
|
224
|
+
cursor: not-allowed;
|
|
225
|
+
${({
|
|
226
|
+
theme: {
|
|
227
|
+
palette: { brand: l, grey: e }
|
|
228
|
+
},
|
|
229
|
+
variant: i,
|
|
230
|
+
color: r
|
|
231
|
+
}) => {
|
|
232
|
+
let p = {
|
|
233
|
+
backgroundColor: l.primary.disable,
|
|
234
|
+
color: c(l.primary.disable, [e[30], e.white])
|
|
235
|
+
};
|
|
236
|
+
return i === "filled" && r === "secondary" && (p = {
|
|
237
|
+
backgroundColor: e[10],
|
|
238
|
+
color: c(e[10], [e[30], e.white])
|
|
239
|
+
}), i === "outlined" && (p = {
|
|
240
|
+
borderColor: e[30],
|
|
241
|
+
backgroundColor: e[10],
|
|
242
|
+
color: c(e[30], [e[30], e.white])
|
|
243
|
+
}), i === "text" && (p = {
|
|
244
|
+
color: c(e[30], [e[30], e.white])
|
|
245
|
+
}), p;
|
|
246
|
+
}};
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
${({ fullWidth: l }) => l ? {
|
|
250
|
+
width: "100%"
|
|
251
|
+
} : null};
|
|
252
|
+
`, B = w(function({
|
|
253
|
+
children: e,
|
|
254
|
+
variant: i = "filled",
|
|
255
|
+
size: r = "medium",
|
|
256
|
+
color: p = "primary",
|
|
257
|
+
startAdornment: o,
|
|
258
|
+
endAdornment: f,
|
|
259
|
+
iconOnly: h,
|
|
260
|
+
fullWidth: x,
|
|
261
|
+
inlineCSS: t,
|
|
262
|
+
rounded: d = !0,
|
|
263
|
+
disabled: u,
|
|
264
|
+
...a
|
|
265
|
+
}, s) {
|
|
266
|
+
const { isHoverPossible: b } = C();
|
|
267
|
+
return /* @__PURE__ */ n(
|
|
268
|
+
m,
|
|
269
|
+
{
|
|
270
|
+
ref: s,
|
|
271
|
+
variant: i,
|
|
272
|
+
size: r,
|
|
273
|
+
color: p,
|
|
274
|
+
fullWidth: x,
|
|
275
|
+
rounded: d,
|
|
276
|
+
startAdornment: o,
|
|
277
|
+
endAdornment: f,
|
|
278
|
+
iconOnly: h,
|
|
279
|
+
isHoverPossible: b,
|
|
280
|
+
"aria-disabled": u,
|
|
281
|
+
"aria-label": (() => {
|
|
282
|
+
if (!h) return;
|
|
283
|
+
if (a["aria-label"]) return a["aria-label"];
|
|
284
|
+
const g = o || f || e;
|
|
285
|
+
if (S(g))
|
|
286
|
+
return H(g.props.name);
|
|
287
|
+
})(),
|
|
288
|
+
...a,
|
|
289
|
+
css: t,
|
|
290
|
+
children: [
|
|
291
|
+
o,
|
|
292
|
+
!h && e,
|
|
293
|
+
f
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
);
|
|
297
|
+
});
|
|
298
|
+
export {
|
|
299
|
+
B as default
|
|
300
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Button').ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
startAdornment: {
|
|
11
|
+
control: {
|
|
12
|
+
disable: true;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
endAdornment: {
|
|
16
|
+
control: {
|
|
17
|
+
disable: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
tags: string[];
|
|
22
|
+
};
|
|
23
|
+
export default meta;
|
|
24
|
+
type Story = StoryObj<typeof meta>;
|
|
25
|
+
export declare const Filled: Story;
|
|
26
|
+
export declare const Outlined: Story;
|
|
27
|
+
export declare const Text: Story;
|
|
28
|
+
export declare const FullWidth: Story;
|
|
29
|
+
export declare const StartAdornment: Story;
|
|
30
|
+
export declare const EndAdornment: Story;
|
|
31
|
+
export declare const BothAdornment: Story;
|
|
32
|
+
export declare const IconOnly: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Button.cjs");exports.default=e.default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("@emotion/react/jsx-runtime"),C=require("react"),k=require("@emotion/styled"),m=require("../hooks/useCheckHoverPossible/useCheckHoverPossible.cjs"),h=o=>o&&o.__esModule?o:{default:o},c=h(k),x=c.default.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
color: ${({theme:o})=>o.palette.grey[100]};
|
|
5
|
+
&[disabled] {
|
|
6
|
+
pointer-events: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
${({theme:{spacing:o},appearance:r,variant:d})=>{if(r==="kiosk"){let e={padding:`${o.content(8)}px ${o.content(6)}px`,gap:o.content(2),borderRadius:20,borderWidth:4,borderStyle:"solid"};return d==="outlined"&&(e={...e,padding:`calc(${o.content(8)-4}px) calc(${o.content(6)-4}px)`}),e}if(r==="mobile"){let e={padding:`${o.content(4)}px`,gap:o.content(1),borderRadius:12,borderWidth:2,borderStyle:"solid"};return d==="outlined"&&(e={...e,padding:`calc(${o.content(4)-2}px)`}),e}return{}}}
|
|
10
|
+
|
|
11
|
+
${({theme:{palette:{brand:o,grey:r,background:d}},variant:e,disabled:t,active:n,isHoverPossible:l})=>{if(e==="outlined"){if(!t&&n)return{borderColor:o.primary.main,backgroundColor:r.white,"&:active":{backgroundColor:o.primary.disable},...l?{"&:hover":{backgroundColor:o.primary.disable}}:{}};if(!t&&!n)return{borderWidth:2,borderColor:r[30],backgroundColor:r.white,"&:active":{backgroundColor:r[10]},...l?{"&:hover":{backgroundColor:r[10]}}:{}};if(t&&n)return{borderColor:o.primary.disableLine,backgroundColor:o.primary.disable};if(t&&!n)return{borderWidth:2,borderColor:r[30],backgroundColor:r[10]}}if(e==="filled"){if(!t&&n)return{border:"none",backgroundColor:o.primary.main,"&:active":{backgroundColor:o.primary.press},...l?{"&:hover":{backgroundColor:o.primary.press}}:{}};if(!t&&!n)return{border:"none",backgroundColor:d.primary,"&:active":{backgroundColor:r[10]},...l?{"&:hover":{backgroundColor:r[10]}}:{}};if(t&&n)return{border:"none",backgroundColor:o.primary.disable};if(t&&!n)return{border:"none",backgroundColor:r[20]}}return{}}}
|
|
12
|
+
|
|
13
|
+
${({disabled:o})=>o?{}:{}}
|
|
14
|
+
`,y=c.default.div`
|
|
15
|
+
&[disabled] {
|
|
16
|
+
cursor: not-allowed;
|
|
17
|
+
}
|
|
18
|
+
`,$=C.forwardRef(function({children:r,tag:d,inlineCSS:e,variant:t="filled",active:n=!1,disabled:l=!1,appearance:a="mobile",wrapperProps:u={},...f},b){const{isHoverPossible:s}=m.default();return i.jsx(y,{disabled:l,...u,css:u==null?void 0:u.inlineCSS,children:i.jsx(x,{as:d,variant:t,active:n,disabled:l,appearance:a,isHoverPossible:s,...f,css:e,ref:b,children:r})})});exports.default=$;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { GeneralComponentProps, PolymorphicComponentProps, Variant } from '../typings/component';
|
|
3
|
+
|
|
4
|
+
export type CardProps<T extends ElementType = 'div'> = PolymorphicComponentProps<T> & {
|
|
5
|
+
variant?: Extract<Variant, 'filled' | 'outlined'>;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
appearance?: 'kiosk' | 'mobile';
|
|
9
|
+
wrapperProps?: GeneralComponentProps<HTMLAttributes<HTMLDivElement>>;
|
|
10
|
+
};
|
|
11
|
+
type CardComponent<DT extends ElementType> = <T extends ElementType = DT>(props: CardProps<T>) => ReactNode;
|
|
12
|
+
declare const Card: CardComponent<'div'>;
|
|
13
|
+
export default Card;
|