@dotss/ui 0.0.4 → 0.0.6
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,152 @@
|
|
|
1
|
+
import { jsx as u } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as a } from "react";
|
|
3
|
+
import c from "@emotion/styled";
|
|
4
|
+
import k from "../hooks/useCheckHoverPossible/useCheckHoverPossible.es.js";
|
|
5
|
+
const h = c.div`
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
color: ${({ theme: o }) => o.palette.grey[100]};
|
|
9
|
+
&[disabled] {
|
|
10
|
+
pointer-events: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
${({ theme: { spacing: o }, appearance: r, variant: l }) => {
|
|
14
|
+
if (r === "kiosk") {
|
|
15
|
+
let e = {
|
|
16
|
+
padding: `${o.content(8)}px ${o.content(6)}px`,
|
|
17
|
+
gap: o.content(2),
|
|
18
|
+
borderRadius: 20,
|
|
19
|
+
borderWidth: 4,
|
|
20
|
+
borderStyle: "solid"
|
|
21
|
+
};
|
|
22
|
+
return l === "outlined" && (e = {
|
|
23
|
+
...e,
|
|
24
|
+
padding: `calc(${o.content(8) - 4}px) calc(${o.content(6) - 4}px)`
|
|
25
|
+
}), e;
|
|
26
|
+
}
|
|
27
|
+
if (r === "mobile") {
|
|
28
|
+
let e = {
|
|
29
|
+
padding: `${o.content(4)}px`,
|
|
30
|
+
gap: o.content(1),
|
|
31
|
+
borderRadius: 12,
|
|
32
|
+
borderWidth: 2,
|
|
33
|
+
borderStyle: "solid"
|
|
34
|
+
};
|
|
35
|
+
return l === "outlined" && (e = {
|
|
36
|
+
...e,
|
|
37
|
+
padding: `calc(${o.content(4) - 2}px)`
|
|
38
|
+
}), e;
|
|
39
|
+
}
|
|
40
|
+
return {};
|
|
41
|
+
}}
|
|
42
|
+
|
|
43
|
+
${({
|
|
44
|
+
theme: {
|
|
45
|
+
palette: { brand: o, grey: r, background: l }
|
|
46
|
+
},
|
|
47
|
+
variant: e,
|
|
48
|
+
disabled: t,
|
|
49
|
+
active: n,
|
|
50
|
+
isHoverPossible: d
|
|
51
|
+
}) => {
|
|
52
|
+
if (e === "outlined") {
|
|
53
|
+
if (!t && n)
|
|
54
|
+
return {
|
|
55
|
+
borderColor: o.primary.main,
|
|
56
|
+
backgroundColor: r.white,
|
|
57
|
+
"&:active": {
|
|
58
|
+
backgroundColor: o.primary.disable
|
|
59
|
+
},
|
|
60
|
+
...d ? { "&:hover": { backgroundColor: o.primary.disable } } : {}
|
|
61
|
+
};
|
|
62
|
+
if (!t && !n)
|
|
63
|
+
return {
|
|
64
|
+
borderWidth: 2,
|
|
65
|
+
borderColor: r[30],
|
|
66
|
+
backgroundColor: r.white,
|
|
67
|
+
"&:active": {
|
|
68
|
+
backgroundColor: r[10]
|
|
69
|
+
},
|
|
70
|
+
...d ? { "&:hover": { backgroundColor: r[10] } } : {}
|
|
71
|
+
};
|
|
72
|
+
if (t && n)
|
|
73
|
+
return {
|
|
74
|
+
borderColor: o.primary.disableLine,
|
|
75
|
+
backgroundColor: o.primary.disable
|
|
76
|
+
};
|
|
77
|
+
if (t && !n)
|
|
78
|
+
return {
|
|
79
|
+
borderWidth: 2,
|
|
80
|
+
borderColor: r[30],
|
|
81
|
+
backgroundColor: r[10]
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
if (e === "filled") {
|
|
85
|
+
if (!t && n)
|
|
86
|
+
return {
|
|
87
|
+
border: "none",
|
|
88
|
+
backgroundColor: o.primary.main,
|
|
89
|
+
"&:active": {
|
|
90
|
+
backgroundColor: o.primary.press
|
|
91
|
+
},
|
|
92
|
+
...d ? { "&:hover": { backgroundColor: o.primary.press } } : {}
|
|
93
|
+
};
|
|
94
|
+
if (!t && !n)
|
|
95
|
+
return {
|
|
96
|
+
border: "none",
|
|
97
|
+
backgroundColor: l.primary,
|
|
98
|
+
"&:active": {
|
|
99
|
+
backgroundColor: r[10]
|
|
100
|
+
},
|
|
101
|
+
...d ? { "&:hover": { backgroundColor: r[10] } } : {}
|
|
102
|
+
};
|
|
103
|
+
if (t && n)
|
|
104
|
+
return {
|
|
105
|
+
border: "none",
|
|
106
|
+
backgroundColor: o.primary.disable
|
|
107
|
+
};
|
|
108
|
+
if (t && !n)
|
|
109
|
+
return {
|
|
110
|
+
border: "none",
|
|
111
|
+
backgroundColor: r[20]
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
return {};
|
|
115
|
+
}}
|
|
116
|
+
|
|
117
|
+
${({ disabled: o }) => o ? {} : {}}
|
|
118
|
+
`, s = c.div`
|
|
119
|
+
&[disabled] {
|
|
120
|
+
cursor: not-allowed;
|
|
121
|
+
}
|
|
122
|
+
`, g = a(function({
|
|
123
|
+
children: r,
|
|
124
|
+
tag: l,
|
|
125
|
+
inlineCSS: e,
|
|
126
|
+
variant: t = "filled",
|
|
127
|
+
active: n = !1,
|
|
128
|
+
disabled: d = !1,
|
|
129
|
+
appearance: f = "mobile",
|
|
130
|
+
wrapperProps: i = {},
|
|
131
|
+
...b
|
|
132
|
+
}, C) {
|
|
133
|
+
const { isHoverPossible: m } = k();
|
|
134
|
+
return /* @__PURE__ */ u(s, { disabled: d, ...i, css: i == null ? void 0 : i.inlineCSS, children: /* @__PURE__ */ u(
|
|
135
|
+
h,
|
|
136
|
+
{
|
|
137
|
+
as: l,
|
|
138
|
+
variant: t,
|
|
139
|
+
active: n,
|
|
140
|
+
disabled: d,
|
|
141
|
+
appearance: f,
|
|
142
|
+
isHoverPossible: m,
|
|
143
|
+
...b,
|
|
144
|
+
css: e,
|
|
145
|
+
ref: C,
|
|
146
|
+
children: r
|
|
147
|
+
}
|
|
148
|
+
) });
|
|
149
|
+
});
|
|
150
|
+
export {
|
|
151
|
+
g as default
|
|
152
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T extends import('react').ElementType = "div">(props: import('./Card').CardProps<T>) => import('react').ReactNode;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
variant: {
|
|
11
|
+
options: string[];
|
|
12
|
+
control: {
|
|
13
|
+
type: "radio";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
appearance: {
|
|
17
|
+
options: string[];
|
|
18
|
+
control: {
|
|
19
|
+
type: "radio";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
wrapperProps: {
|
|
23
|
+
control: {
|
|
24
|
+
disable: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
tags: string[];
|
|
29
|
+
};
|
|
30
|
+
export default meta;
|
|
31
|
+
type Story = StoryObj<typeof meta>;
|
|
32
|
+
export declare const Kiosk: Story;
|
|
33
|
+
export declare const Mobile: Story;
|
|
34
|
+
export declare const Toggled: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Card.cjs");exports.default=e.default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const f=require("@emotion/react/jsx-runtime"),l=require("react"),A=require("@emotion/styled"),U=require("../hooks/useCheckHoverPossible/useCheckHoverPossible.cjs"),B=a=>a&&a.__esModule?a:{default:a},T=B(A),G=T.default.ul`
|
|
2
|
+
list-style-type: none;
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 162px;
|
|
8
|
+
position: relative;
|
|
9
|
+
cursor: grab;
|
|
10
|
+
transition: transform 0.3s ease-out;
|
|
11
|
+
`,J=T.default.div`
|
|
12
|
+
position: relative;
|
|
13
|
+
width: auto;
|
|
14
|
+
height: fit-content;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
&:after {
|
|
17
|
+
content: '';
|
|
18
|
+
position: absolute;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
transform: translateY(-100%);
|
|
22
|
+
background: linear-gradient(
|
|
23
|
+
0deg,
|
|
24
|
+
rgba(255, 255, 255, 1) 0%,
|
|
25
|
+
rgba(255, 255, 255, 0.6) 10%,
|
|
26
|
+
rgba(255, 255, 255, 0) 20%,
|
|
27
|
+
rgba(255, 255, 255, 0) 80%,
|
|
28
|
+
rgba(255, 255, 255, 0.6) 90%,
|
|
29
|
+
rgba(255, 255, 255, 1) 100%
|
|
30
|
+
);
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
}
|
|
33
|
+
`,x=T.default.li`
|
|
34
|
+
height: 54px;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
scroll-snap-align: start;
|
|
39
|
+
position: relative;
|
|
40
|
+
|
|
41
|
+
${({theme:{palette:{grey:a},typography:{h2M:e},spacing:{content:o}}})=>({fontSize:e.size,fontWeight:e.weight,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,color:a[100],padding:o(3)})};
|
|
42
|
+
|
|
43
|
+
${({selected:a,theme:{palette:{grey:e},typography:{h4M:o}}})=>a?{"&, & *":{color:`${e[100]} !important`}}:{color:`${e[30]} !important`,fontSize:`${o.size} !important`,fontWeight:`${o.weight} !important`,lineHeight:`${o.lineHeight} !important`,letterSpacing:`${o.letterSpacing} !important`,"& *":{color:`${e[30]} !important`}}}
|
|
44
|
+
`,k=3,K=l.forwardRef(function({column:e,value:o=e[0].value,onChange:y,renderLabel:P,inlineCSS:j,wrapperProps:S,...w},C){const s=l.useRef(null),r=54,L=e.findIndex(n=>n.value===o),[g,p]=l.useState(L*r),[M,I]=l.useState(!1),[_,O]=l.useState(0),[R,E]=l.useState(0),Y=l.useId(),{isHoverPossible:q}=U.default(),D=n=>{I(!0),E(n),O(g)},H=n=>{if(!M)return;const i=R-n;let t=_+i;const c=r*(e.length-1);t<0?t=0:t>c&&(t=c),p(t),s.current&&(s.current.children[0].scrollTop=t)},N=n=>D(n.clientY),W=n=>D(n.touches[0].clientY),z=n=>H(n.clientY),F=n=>H(n.touches[0].clientY),v=n=>{if(!M||(I(!1),!q&&n.type==="mouseup"))return;if(Math.abs(_-g)<k){const h=n.target.closest("[data-index]");if(h){const m=Number(h.dataset.index);if(e[m]&&s.current){const b=s.current.children[0];b.scrollTo({top:m*r,behavior:"smooth"});const $=()=>{Math.abs(b.scrollTop-m*r)<1&&(y(e[m].value),b.removeEventListener("scroll",$))};b.addEventListener("scroll",$)}}return}let i=Math.round(g/r),t=i*r;const c=r*(e.length-1);t<0?(t=0,i=0):t>c&&(t=c,i=e.length-1);const d=u=>{if(Math.abs(u-t)<1)p(t),s.current&&(s.current.children[0].scrollTop=t);else{const h=u+(t-u)/5;p(h),s.current&&(s.current.children[0].scrollTop=h),requestAnimationFrame(()=>d(h))}};requestAnimationFrame(()=>d(g)),e[i]&&y(e[i].value)};return l.useLayoutEffect(()=>{const i=e.findIndex(t=>t.value===o)*r;p(i),s.current&&(s.current.children[0].scrollTop=i)},[o,e,r]),f.jsx(J,{ref:s,...S,css:S==null?void 0:S.inlineCSS,children:f.jsx(G,{ref:C,css:j,...w,onMouseDown:N,onMouseMove:z,onMouseUp:v,onMouseLeave:v,onTouchStart:W,onTouchMove:F,onTouchEnd:v,onTouchCancel:v,children:e.map((n,i)=>{const t=e.findIndex(u=>u.value===o),c=t===0?0:Math.round(g/r),d=i===c;return f.jsxs(l.Fragment,{children:[i===0&&f.jsx(x,{className:"chain-picker-item","data-index":i,selected:!1,distance:(t+1)*-1}),f.jsx(x,{className:"chain-picker-item","data-index":i,"data-selected":d,selected:d,distance:i-t,children:P?P(n,d):n.label}),i===e.length-1&&f.jsx(x,{className:"chain-picker-item","data-index":i,selected:!1,distance:e.length-t})]},`${Y}_${n.label}`)})})})});exports.SCROLL_POSITION_THRESHOLD=k;exports.default=K;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { GeneralComponentProps } from '../typings/component';
|
|
3
|
+
|
|
4
|
+
export declare const SCROLL_POSITION_THRESHOLD = 3;
|
|
5
|
+
export interface ChainPickerItem {
|
|
6
|
+
label: string;
|
|
7
|
+
value: number;
|
|
8
|
+
}
|
|
9
|
+
export interface ChainPickerProps extends GeneralComponentProps<Omit<HTMLAttributes<HTMLUListElement>, 'onChange'>> {
|
|
10
|
+
column: ChainPickerItem[];
|
|
11
|
+
value?: number;
|
|
12
|
+
onChange: (selectedValue: number) => void;
|
|
13
|
+
renderLabel?: (item: ChainPickerItem, isSelected: boolean) => ReactNode;
|
|
14
|
+
wrapperProps?: GeneralComponentProps<HTMLAttributes<HTMLDivElement>>;
|
|
15
|
+
}
|
|
16
|
+
declare const ChainPicker: import('react').ForwardRefExoticComponent<ChainPickerProps & import('react').RefAttributes<HTMLUListElement>>;
|
|
17
|
+
export default ChainPicker;
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { jsx as f, jsxs as q } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as A, useRef as U, useState as b, useId as B, useLayoutEffect as G, Fragment as J } from "react";
|
|
3
|
+
import T from "@emotion/styled";
|
|
4
|
+
import K from "../hooks/useCheckHoverPossible/useCheckHoverPossible.es.js";
|
|
5
|
+
const Q = T.ul`
|
|
6
|
+
list-style-type: none;
|
|
7
|
+
margin: 0;
|
|
8
|
+
padding: 0;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 162px;
|
|
12
|
+
position: relative;
|
|
13
|
+
cursor: grab;
|
|
14
|
+
transition: transform 0.3s ease-out;
|
|
15
|
+
`, V = T.div`
|
|
16
|
+
position: relative;
|
|
17
|
+
width: auto;
|
|
18
|
+
height: fit-content;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
&:after {
|
|
21
|
+
content: '';
|
|
22
|
+
position: absolute;
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
transform: translateY(-100%);
|
|
26
|
+
background: linear-gradient(
|
|
27
|
+
0deg,
|
|
28
|
+
rgba(255, 255, 255, 1) 0%,
|
|
29
|
+
rgba(255, 255, 255, 0.6) 10%,
|
|
30
|
+
rgba(255, 255, 255, 0) 20%,
|
|
31
|
+
rgba(255, 255, 255, 0) 80%,
|
|
32
|
+
rgba(255, 255, 255, 0.6) 90%,
|
|
33
|
+
rgba(255, 255, 255, 1) 100%
|
|
34
|
+
);
|
|
35
|
+
pointer-events: none;
|
|
36
|
+
}
|
|
37
|
+
`, x = T.li`
|
|
38
|
+
height: 54px;
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
scroll-snap-align: start;
|
|
43
|
+
position: relative;
|
|
44
|
+
|
|
45
|
+
${({
|
|
46
|
+
theme: {
|
|
47
|
+
palette: { grey: g },
|
|
48
|
+
typography: { h2M: e },
|
|
49
|
+
spacing: { content: o }
|
|
50
|
+
}
|
|
51
|
+
}) => ({
|
|
52
|
+
fontSize: e.size,
|
|
53
|
+
fontWeight: e.weight,
|
|
54
|
+
lineHeight: e.lineHeight,
|
|
55
|
+
letterSpacing: e.letterSpacing,
|
|
56
|
+
color: g[100],
|
|
57
|
+
padding: o(3)
|
|
58
|
+
})};
|
|
59
|
+
|
|
60
|
+
${({
|
|
61
|
+
selected: g,
|
|
62
|
+
theme: {
|
|
63
|
+
palette: { grey: e },
|
|
64
|
+
typography: { h4M: o }
|
|
65
|
+
}
|
|
66
|
+
}) => g ? {
|
|
67
|
+
"&, & *": {
|
|
68
|
+
color: `${e[100]} !important`
|
|
69
|
+
}
|
|
70
|
+
} : {
|
|
71
|
+
color: `${e[30]} !important`,
|
|
72
|
+
fontSize: `${o.size} !important`,
|
|
73
|
+
fontWeight: `${o.weight} !important`,
|
|
74
|
+
lineHeight: `${o.lineHeight} !important`,
|
|
75
|
+
letterSpacing: `${o.letterSpacing} !important`,
|
|
76
|
+
"& *": {
|
|
77
|
+
color: `${e[30]} !important`
|
|
78
|
+
}
|
|
79
|
+
}}
|
|
80
|
+
`, X = 3, ie = A(function({ column: e, value: o = e[0].value, onChange: y, renderLabel: P, inlineCSS: H, wrapperProps: u, ...C }, Y) {
|
|
81
|
+
const s = U(null), r = 54, E = e.findIndex((n) => n.value === o), [h, p] = b(E * r), [$, k] = b(!1), [I, L] = b(0), [N, R] = b(0), W = B(), { isHoverPossible: z } = K(), M = (n) => {
|
|
82
|
+
k(!0), R(n), L(h);
|
|
83
|
+
}, w = (n) => {
|
|
84
|
+
if (!$) return;
|
|
85
|
+
const i = N - n;
|
|
86
|
+
let t = I + i;
|
|
87
|
+
const a = r * (e.length - 1);
|
|
88
|
+
t < 0 ? t = 0 : t > a && (t = a), p(t), s.current && (s.current.children[0].scrollTop = t);
|
|
89
|
+
}, O = (n) => M(n.clientY), j = (n) => M(n.touches[0].clientY), F = (n) => w(n.clientY), _ = (n) => w(n.touches[0].clientY), S = (n) => {
|
|
90
|
+
if (!$ || (k(!1), !z && n.type === "mouseup")) return;
|
|
91
|
+
if (Math.abs(I - h) < X) {
|
|
92
|
+
const d = n.target.closest("[data-index]");
|
|
93
|
+
if (d) {
|
|
94
|
+
const m = Number(d.dataset.index);
|
|
95
|
+
if (e[m] && s.current) {
|
|
96
|
+
const v = s.current.children[0];
|
|
97
|
+
v.scrollTo({
|
|
98
|
+
top: m * r,
|
|
99
|
+
behavior: "smooth"
|
|
100
|
+
});
|
|
101
|
+
const D = () => {
|
|
102
|
+
Math.abs(v.scrollTop - m * r) < 1 && (y(e[m].value), v.removeEventListener("scroll", D));
|
|
103
|
+
};
|
|
104
|
+
v.addEventListener("scroll", D);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
let i = Math.round(h / r), t = i * r;
|
|
110
|
+
const a = r * (e.length - 1);
|
|
111
|
+
t < 0 ? (t = 0, i = 0) : t > a && (t = a, i = e.length - 1);
|
|
112
|
+
const l = (c) => {
|
|
113
|
+
if (Math.abs(c - t) < 1)
|
|
114
|
+
p(t), s.current && (s.current.children[0].scrollTop = t);
|
|
115
|
+
else {
|
|
116
|
+
const d = c + (t - c) / 5;
|
|
117
|
+
p(d), s.current && (s.current.children[0].scrollTop = d), requestAnimationFrame(() => l(d));
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
requestAnimationFrame(() => l(h)), e[i] && y(e[i].value);
|
|
121
|
+
};
|
|
122
|
+
return G(() => {
|
|
123
|
+
const i = e.findIndex((t) => t.value === o) * r;
|
|
124
|
+
p(i), s.current && (s.current.children[0].scrollTop = i);
|
|
125
|
+
}, [o, e, r]), /* @__PURE__ */ f(V, { ref: s, ...u, css: u == null ? void 0 : u.inlineCSS, children: /* @__PURE__ */ f(
|
|
126
|
+
Q,
|
|
127
|
+
{
|
|
128
|
+
ref: Y,
|
|
129
|
+
css: H,
|
|
130
|
+
...C,
|
|
131
|
+
onMouseDown: O,
|
|
132
|
+
onMouseMove: F,
|
|
133
|
+
onMouseUp: S,
|
|
134
|
+
onMouseLeave: S,
|
|
135
|
+
onTouchStart: j,
|
|
136
|
+
onTouchMove: _,
|
|
137
|
+
onTouchEnd: S,
|
|
138
|
+
onTouchCancel: S,
|
|
139
|
+
children: e.map((n, i) => {
|
|
140
|
+
const t = e.findIndex((c) => c.value === o), a = t === 0 ? 0 : Math.round(h / r), l = i === a;
|
|
141
|
+
return /* @__PURE__ */ q(J, { children: [
|
|
142
|
+
i === 0 && /* @__PURE__ */ f(
|
|
143
|
+
x,
|
|
144
|
+
{
|
|
145
|
+
className: "chain-picker-item",
|
|
146
|
+
"data-index": i,
|
|
147
|
+
selected: !1,
|
|
148
|
+
distance: (t + 1) * -1
|
|
149
|
+
}
|
|
150
|
+
),
|
|
151
|
+
/* @__PURE__ */ f(
|
|
152
|
+
x,
|
|
153
|
+
{
|
|
154
|
+
className: "chain-picker-item",
|
|
155
|
+
"data-index": i,
|
|
156
|
+
"data-selected": l,
|
|
157
|
+
selected: l,
|
|
158
|
+
distance: i - t,
|
|
159
|
+
children: P ? P(n, l) : n.label
|
|
160
|
+
}
|
|
161
|
+
),
|
|
162
|
+
i === e.length - 1 && /* @__PURE__ */ f(
|
|
163
|
+
x,
|
|
164
|
+
{
|
|
165
|
+
className: "chain-picker-item",
|
|
166
|
+
"data-index": i,
|
|
167
|
+
selected: !1,
|
|
168
|
+
distance: e.length - t
|
|
169
|
+
}
|
|
170
|
+
)
|
|
171
|
+
] }, `${W}_${n.label}`);
|
|
172
|
+
})
|
|
173
|
+
}
|
|
174
|
+
) });
|
|
175
|
+
});
|
|
176
|
+
export {
|
|
177
|
+
X as SCROLL_POSITION_THRESHOLD,
|
|
178
|
+
ie as default
|
|
179
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./ChainPicker').ChainPickerProps & import('react').RefAttributes<HTMLUListElement>>;
|
|
6
|
+
tags: string[];
|
|
7
|
+
};
|
|
8
|
+
export default meta;
|
|
9
|
+
type Story = StoryObj<typeof meta>;
|
|
10
|
+
export declare const Default: Story;
|
|
11
|
+
export declare const Custom: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./ChainPicker.cjs");exports.default=e.default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@emotion/react/jsx-runtime"),C=require("react"),c=require("@emotion/styled"),f=require("../core/useTheme.cjs"),h=t=>t&&t.__esModule?t:{default:t},p=h(c),x=p.default.span`
|
|
2
|
+
position: relative;
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
`,m=p.default.input`
|
|
5
|
+
position: absolute;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
top: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
opacity: 0;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
|
|
13
|
+
&:disabled {
|
|
14
|
+
cursor: not-allowed;
|
|
15
|
+
}
|
|
16
|
+
`;function y({size:t,checked:n,disabled:s,color:i="primary"}){const{palette:{brand:r,grey:e,background:d}}=f.default();let o=e.white,a=e[50],u=e[20];return n&&(o=i==="primary"?r.primary.main:r[i],a=i==="primary"?r.primary.main:r[i],u=e.white),n&&s&&(o=e[30],a=e[30],u=e[10]),!n&&s&&(o=d.primary,a=e[30],u=e[20]),l.jsxs("svg",{width:t==="2xLarge"?48:24,height:t==="2xLarge"?48:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("path",{d:"M2 6C2 3.79086 3.79086 2 6 2H18C20.2091 2 22 3.79086 22 6V18C22 20.2091 20.2091 22 18 22H6C3.79086 22 2 20.2091 2 18V6Z",fill:o}),l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 3H6C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3ZM6 2C3.79086 2 2 3.79086 2 6V18C2 20.2091 3.79086 22 6 22H18C20.2091 22 22 20.2091 22 18V6C22 3.79086 20.2091 2 18 2H6Z",fill:a}),l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.604 6.20309C19.0442 6.53668 19.1306 7.16392 18.797 7.60408L11.218 17.6041C11.0406 17.8382 10.7692 17.9824 10.4759 17.9985C10.1826 18.0147 9.89706 17.901 9.69505 17.6878L5.27405 13.0211C4.89422 12.6202 4.91133 11.9873 5.31227 11.6074C5.7132 11.2276 6.34613 11.2447 6.72596 11.6456L10.3362 15.4564L17.203 6.39603C17.5366 5.95588 18.1639 5.8695 18.604 6.20309Z",fill:u})]})}const g=C.forwardRef(function({size:n="medium",color:s="primary",checked:i,disabled:r,inlineCSS:e,...d},o){return l.jsxs(x,{ref:o,css:e,children:[l.jsx(m,{type:"checkbox",checked:i,disabled:r,...d}),l.jsx(y,{size:n,color:s,checked:i,disabled:r})]})});exports.default=g;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
import { BrandColorKey } from '../typings/color';
|
|
3
|
+
import { GeneralComponentProps, Size } from '../typings/component';
|
|
4
|
+
|
|
5
|
+
export interface CheckboxProps extends GeneralComponentProps<Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>> {
|
|
6
|
+
size?: Extract<Size, 'medium' | '2xLarge'>;
|
|
7
|
+
color?: BrandColorKey;
|
|
8
|
+
}
|
|
9
|
+
declare const Checkbox: import('react').ForwardRefExoticComponent<CheckboxProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
10
|
+
export default Checkbox;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { jsxs as f, jsx as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as s } from "react";
|
|
3
|
+
import m from "@emotion/styled";
|
|
4
|
+
import u from "../core/useTheme.es.js";
|
|
5
|
+
const h = m.span`
|
|
6
|
+
position: relative;
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
`, c = m.input`
|
|
9
|
+
position: absolute;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 100%;
|
|
12
|
+
top: 0;
|
|
13
|
+
left: 0;
|
|
14
|
+
opacity: 0;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
|
|
17
|
+
&:disabled {
|
|
18
|
+
cursor: not-allowed;
|
|
19
|
+
}
|
|
20
|
+
`;
|
|
21
|
+
function x({
|
|
22
|
+
size: C,
|
|
23
|
+
checked: o,
|
|
24
|
+
disabled: n,
|
|
25
|
+
color: r = "primary"
|
|
26
|
+
}) {
|
|
27
|
+
const {
|
|
28
|
+
palette: { brand: i, grey: e, background: d }
|
|
29
|
+
} = u();
|
|
30
|
+
let t = e.white, p = e[50], a = e[20];
|
|
31
|
+
return o && (t = r === "primary" ? i.primary.main : i[r], p = r === "primary" ? i.primary.main : i[r], a = e.white), o && n && (t = e[30], p = e[30], a = e[10]), !o && n && (t = d.primary, p = e[30], a = e[20]), /* @__PURE__ */ f(
|
|
32
|
+
"svg",
|
|
33
|
+
{
|
|
34
|
+
width: C === "2xLarge" ? 48 : 24,
|
|
35
|
+
height: C === "2xLarge" ? 48 : 24,
|
|
36
|
+
viewBox: "0 0 24 24",
|
|
37
|
+
fill: "none",
|
|
38
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ l(
|
|
41
|
+
"path",
|
|
42
|
+
{
|
|
43
|
+
d: "M2 6C2 3.79086 3.79086 2 6 2H18C20.2091 2 22 3.79086 22 6V18C22 20.2091 20.2091 22 18 22H6C3.79086 22 2 20.2091 2 18V6Z",
|
|
44
|
+
fill: t
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
/* @__PURE__ */ l(
|
|
48
|
+
"path",
|
|
49
|
+
{
|
|
50
|
+
fillRule: "evenodd",
|
|
51
|
+
clipRule: "evenodd",
|
|
52
|
+
d: "M18 3H6C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3ZM6 2C3.79086 2 2 3.79086 2 6V18C2 20.2091 3.79086 22 6 22H18C20.2091 22 22 20.2091 22 18V6C22 3.79086 20.2091 2 18 2H6Z",
|
|
53
|
+
fill: p
|
|
54
|
+
}
|
|
55
|
+
),
|
|
56
|
+
/* @__PURE__ */ l(
|
|
57
|
+
"path",
|
|
58
|
+
{
|
|
59
|
+
fillRule: "evenodd",
|
|
60
|
+
clipRule: "evenodd",
|
|
61
|
+
d: "M18.604 6.20309C19.0442 6.53668 19.1306 7.16392 18.797 7.60408L11.218 17.6041C11.0406 17.8382 10.7692 17.9824 10.4759 17.9985C10.1826 18.0147 9.89706 17.901 9.69505 17.6878L5.27405 13.0211C4.89422 12.6202 4.91133 11.9873 5.31227 11.6074C5.7132 11.2276 6.34613 11.2447 6.72596 11.6456L10.3362 15.4564L17.203 6.39603C17.5366 5.95588 18.1639 5.8695 18.604 6.20309Z",
|
|
62
|
+
fill: a
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
const v = s(function({ size: o = "medium", color: n = "primary", checked: r, disabled: i, inlineCSS: e, ...d }, t) {
|
|
70
|
+
return /* @__PURE__ */ f(h, { ref: t, css: e, children: [
|
|
71
|
+
/* @__PURE__ */ l(c, { type: "checkbox", checked: r, disabled: i, ...d }),
|
|
72
|
+
/* @__PURE__ */ l(x, { size: o, color: n, checked: r, disabled: i })
|
|
73
|
+
] });
|
|
74
|
+
});
|
|
75
|
+
export {
|
|
76
|
+
v as default
|
|
77
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Checkbox').CheckboxProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Checkbox.cjs");exports.default=e.default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const p=require("@emotion/react/jsx-runtime"),b=require("react"),f=require("@emotion/styled"),m=require("../utils/getContrastingTextColor/getContrastingTextColor.cjs"),h=require("../hooks/useCheckHoverPossible/useCheckHoverPossible.cjs"),x=i=>i&&i.__esModule?i:{default:i},C=x(f),g=C.default.div`
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
gap: ${({theme:{spacing:i}})=>i.content(1)}px;
|
|
6
|
+
border-radius: 18px;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
color: ${({theme:i})=>i.palette.grey[100]};
|
|
9
|
+
cursor: ${({disabled:i})=>i?"not-allowed":"pointer"};
|
|
10
|
+
pointer-events: ${({disabled:i})=>i?"none":"auto"};
|
|
11
|
+
|
|
12
|
+
${({theme:{palette:{brand:i,grey:o,background:t}},variant:l,selected:e,isHoverPossible:n})=>{let r={};return l==="filled"?(r={backgroundColor:e?i.primary.main:t.primary,color:m.default(e?i.primary.main:t.primary,[o.white,o[100]]),border:"1px solid transparent","&:active:not([disabled])":{backgroundColor:e?i.primary.press:o[10]},"&[disabled]":{backgroundColor:e?i.primary.disable:o[10],color:o[30]},"& svg":{color:"inherit"}},n&&(r={...r,"&:hover:not([disabled])":{backgroundColor:e?i.primary.press:o[10]}}),r):(l==="outlined"&&(r={backgroundColor:o.white,color:o[70],border:`1px solid ${e?i.primary.main:o[30]}`,"&:active:not([disabled])":{backgroundColor:e?i.primary.disable:o[10]},"&[disabled]":{backgroundColor:e?i.primary.disable:o[10],borderColor:e?i.primary.disableLine:o[30],color:o[30]},"& svg":{color:"inherit"}},n&&(r={...r,"&:hover:not([disabled])":{backgroundColor:e?i.primary.disable:o[10]}})),r)}}
|
|
13
|
+
|
|
14
|
+
${({theme:{typography:i}})=>({padding:"8px 11px",maxHeight:36,fontSize:i.b4M.size,fontWeight:i.b4M.weight,lineHeight:i.b4M.lineHeight,letterSpacing:i.b4M.letterSpacing,textAlign:"center","& svg":{width:16,height:16}})}
|
|
15
|
+
`,v=b.forwardRef(({children:i,tag:o,variant:t="filled",startAdornment:l,endAdornment:e,iconOnly:n,selected:r=!1,disabled:a=!1,inlineCSS:s,...d},u)=>{const{isHoverPossible:c}=h.default();return p.jsxs(g,{as:o,ref:u,variant:t,selected:r,disabled:a,isHoverPossible:c,...d,css:s,children:[l,!n&&i,e]})});exports.default=v;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementType, ReactNode } from 'react';
|
|
2
|
+
import { PolymorphicComponentProps, Variant } from '../typings/component';
|
|
3
|
+
|
|
4
|
+
export type ChipProps<T extends ElementType = 'div'> = PolymorphicComponentProps<T> & {
|
|
5
|
+
variant?: Extract<Variant, 'filled' | 'outlined'>;
|
|
6
|
+
startAdornment?: ReactNode;
|
|
7
|
+
endAdornment?: ReactNode;
|
|
8
|
+
iconOnly?: boolean;
|
|
9
|
+
selected?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
};
|
|
12
|
+
type ChipComponent<DT extends ElementType> = <T extends ElementType = DT>(props: ChipProps<T>) => ReactNode;
|
|
13
|
+
declare const Chip: ChipComponent<'div'>;
|
|
14
|
+
export default Chip;
|