@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,283 @@
|
|
|
1
|
+
import { jsxs as k, jsx as u } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as J, useId as N, useRef as y, useState as I, useEffect as j, Children as $, isValidElement as z, cloneElement as Q } from "react";
|
|
3
|
+
import Y from "../Backdrop/Backdrop.es.js";
|
|
4
|
+
import Z from "../Box/Box.es.js";
|
|
5
|
+
import _ from "../Flexbox/Flexbox.es.js";
|
|
6
|
+
import ee from "../Icon/Icon.es.js";
|
|
7
|
+
import x from "@emotion/styled";
|
|
8
|
+
import D from "../utils/getSibling/getSibling.es.js";
|
|
9
|
+
const te = x.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
13
|
+
gap: 10px;
|
|
14
|
+
color: ${({ theme: e }) => e.palette.grey[100]};
|
|
15
|
+
width: ${({ fullWidth: e }) => e ? "100%" : "328px"};
|
|
16
|
+
padding: ${({ theme: e }) => `${e.spacing.content(3)}px ${e.spacing.content(4)}px`};
|
|
17
|
+
border-radius: 10px;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
& > svg {
|
|
20
|
+
color: inherit;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
${({
|
|
24
|
+
theme: {
|
|
25
|
+
palette: { grey: e, background: i }
|
|
26
|
+
},
|
|
27
|
+
variant: m
|
|
28
|
+
}) => {
|
|
29
|
+
let r = {};
|
|
30
|
+
switch (m) {
|
|
31
|
+
case "outlined":
|
|
32
|
+
r = {
|
|
33
|
+
border: `1px solid ${e[50]}`,
|
|
34
|
+
"&[disabled]": {
|
|
35
|
+
backgroundColor: e[10],
|
|
36
|
+
border: `1px solid ${e[30]}`,
|
|
37
|
+
color: e[30],
|
|
38
|
+
pointerEvents: "none"
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
break;
|
|
42
|
+
case "filled":
|
|
43
|
+
r = {
|
|
44
|
+
border: "1px solid transparent",
|
|
45
|
+
backgroundColor: i.primary,
|
|
46
|
+
"&[disabled]": {
|
|
47
|
+
backgroundColor: e[10],
|
|
48
|
+
color: e[30],
|
|
49
|
+
pointerEvents: "none"
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
return r;
|
|
55
|
+
}}
|
|
56
|
+
|
|
57
|
+
${({
|
|
58
|
+
theme: {
|
|
59
|
+
palette: { brand: e }
|
|
60
|
+
},
|
|
61
|
+
isFocused: i
|
|
62
|
+
}) => i ? {
|
|
63
|
+
border: `1px solid ${e.primary.line}`
|
|
64
|
+
} : {}}
|
|
65
|
+
|
|
66
|
+
${({ size: e }) => {
|
|
67
|
+
let i = {};
|
|
68
|
+
switch (e) {
|
|
69
|
+
case "large":
|
|
70
|
+
i = {
|
|
71
|
+
height: "48px"
|
|
72
|
+
};
|
|
73
|
+
break;
|
|
74
|
+
case "xLarge":
|
|
75
|
+
i = {
|
|
76
|
+
height: "56px"
|
|
77
|
+
};
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
return i;
|
|
81
|
+
}}
|
|
82
|
+
`, oe = x.div`
|
|
83
|
+
display: flex;
|
|
84
|
+
width: calc(100% - 24px - 8px);
|
|
85
|
+
gap: ${({ theme: e }) => `${e.spacing.content(2)}px`};
|
|
86
|
+
& svg {
|
|
87
|
+
color: inherit;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
${({
|
|
91
|
+
theme: {
|
|
92
|
+
typography: e,
|
|
93
|
+
palette: { grey: i }
|
|
94
|
+
},
|
|
95
|
+
value: m
|
|
96
|
+
}) => {
|
|
97
|
+
const r = {
|
|
98
|
+
fontSize: e.b2R.size,
|
|
99
|
+
fontWeight: e.b2R.size,
|
|
100
|
+
lineHeight: e.b2R.lineHeight,
|
|
101
|
+
letterSpacing: e.b2R.letterSpacing,
|
|
102
|
+
"&[disabled]": {
|
|
103
|
+
color: i[30]
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
return m ? {
|
|
107
|
+
...r,
|
|
108
|
+
color: i[100]
|
|
109
|
+
} : {
|
|
110
|
+
...r,
|
|
111
|
+
color: i[50]
|
|
112
|
+
};
|
|
113
|
+
}}
|
|
114
|
+
`, ne = x.div`
|
|
115
|
+
overflow: hidden;
|
|
116
|
+
text-overflow: ellipsis;
|
|
117
|
+
white-space: nowrap;
|
|
118
|
+
`, ie = x.div`
|
|
119
|
+
display: flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
justify-content: center;
|
|
122
|
+
transform: ${({ isFocused: e }) => e ? "rotate(180deg)" : "rotate(0deg)"};
|
|
123
|
+
transition: transform 200ms linear;
|
|
124
|
+
`, re = x.ul`
|
|
125
|
+
position: fixed;
|
|
126
|
+
max-height: 476px;
|
|
127
|
+
overflow-y: auto;
|
|
128
|
+
z-index: 100003;
|
|
129
|
+
margin-top: ${({ theme: e }) => `${e.spacing.content(1)}px`};
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
border-radius: 10px;
|
|
133
|
+
padding: ${({ theme: e }) => `${e.spacing.content(1)}px 0`};
|
|
134
|
+
background: ${({ theme: e }) => e.palette.grey.white};
|
|
135
|
+
box-shadow: ${({ theme: { elevation: e } }) => e[4]};
|
|
136
|
+
transition: opacity 200ms linear;
|
|
137
|
+
opacity: ${({ isFocused: e }) => e ? 1 : 0};
|
|
138
|
+
`, me = J(function({
|
|
139
|
+
value: i,
|
|
140
|
+
onChange: m,
|
|
141
|
+
open: r,
|
|
142
|
+
onOpen: v,
|
|
143
|
+
onClose: S,
|
|
144
|
+
variant: H = "outlined",
|
|
145
|
+
size: B = "large",
|
|
146
|
+
startAdornment: R,
|
|
147
|
+
placeholder: L = "TEXT",
|
|
148
|
+
disabled: C = !1,
|
|
149
|
+
fullWidth: A,
|
|
150
|
+
children: b,
|
|
151
|
+
inlineCSS: F,
|
|
152
|
+
...h
|
|
153
|
+
}, V) {
|
|
154
|
+
const q = N(), p = y(null), K = y(null), f = y(""), [l, a] = I(r || !1), [c, s] = I(""), [w, E] = I({ top: 0, bottom: 0, left: 0, width: 0 }), d = (h == null ? void 0 : h.id) || q, P = () => {
|
|
155
|
+
r === void 0 ? a((t) => !t) : r === !1 && v && typeof v == "function" && v();
|
|
156
|
+
}, W = (t) => () => {
|
|
157
|
+
m(t.toString()), O();
|
|
158
|
+
}, O = () => {
|
|
159
|
+
r === void 0 ? (a(!1), s("")) : r === !0 && S && typeof S == "function" && S();
|
|
160
|
+
}, T = (t) => {
|
|
161
|
+
if (t.preventDefault(), t.code === "Escape" && a(!1), t.code === "Space" || t.code === "Enter")
|
|
162
|
+
if (f.current ? s(f.current) : c || s(`${d}-0`), l) {
|
|
163
|
+
if (c) {
|
|
164
|
+
const o = document.querySelector(
|
|
165
|
+
`#${CSS.escape(c)}`
|
|
166
|
+
);
|
|
167
|
+
o && o.hasAttribute("value") && (f.current = o == null ? void 0 : o.id, W(o.value)());
|
|
168
|
+
}
|
|
169
|
+
a(!1);
|
|
170
|
+
} else
|
|
171
|
+
a(!0);
|
|
172
|
+
if (t.code === "ArrowDown" || t.code === "ArrowUp") {
|
|
173
|
+
if (l || a(!0), f.current ? s(f.current) : s(`${d}-0`), !c) return;
|
|
174
|
+
const o = document.querySelector(
|
|
175
|
+
`#${CSS.escape(c)}`
|
|
176
|
+
);
|
|
177
|
+
if (!o) return;
|
|
178
|
+
if (t.code === "ArrowDown") {
|
|
179
|
+
const n = D(o, "next", { skipDisabled: !0 });
|
|
180
|
+
n && n.id ? (s(n.id), n.scrollIntoView({ block: "end" })) : s(c);
|
|
181
|
+
}
|
|
182
|
+
if (t.code === "ArrowUp") {
|
|
183
|
+
const n = D(o, "prev", { skipDisabled: !0 });
|
|
184
|
+
n && n.id && (s(n.id), n.scrollIntoView({ block: "end" }));
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
if (t.code === "Home" && s(`${d}-0`), t.code === "End") {
|
|
188
|
+
const o = $.count(b);
|
|
189
|
+
s(`${d}-${o - 1}`);
|
|
190
|
+
}
|
|
191
|
+
}, U = (t) => {
|
|
192
|
+
const o = $.map(t, (n) => z(n) && n && n.props.value === i ? n.props.children : null);
|
|
193
|
+
return o && o.length ? o[0] : "";
|
|
194
|
+
};
|
|
195
|
+
return j(() => {
|
|
196
|
+
const t = () => {
|
|
197
|
+
if (p.current) {
|
|
198
|
+
const o = p.current.getBoundingClientRect(), n = $.count(b), g = 40, M = 24, X = g * n > 476 ? 476 : g * n, G = p.current.getBoundingClientRect().bottom + X + M > window.innerHeight;
|
|
199
|
+
E(G ? {
|
|
200
|
+
bottom: 24,
|
|
201
|
+
left: o.left,
|
|
202
|
+
width: p.current.offsetWidth
|
|
203
|
+
} : {
|
|
204
|
+
top: o.top + o.height,
|
|
205
|
+
left: o.left,
|
|
206
|
+
width: p.current.offsetWidth
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
return t(), window.addEventListener("resize", t), () => {
|
|
211
|
+
window.removeEventListener("resize", t);
|
|
212
|
+
};
|
|
213
|
+
}, [b]), j(() => {
|
|
214
|
+
r !== void 0 && a(r);
|
|
215
|
+
}, [r]), /* @__PURE__ */ k(Z, { ref: V, inlineCSS: { position: "relative" }, children: [
|
|
216
|
+
/* @__PURE__ */ k(
|
|
217
|
+
te,
|
|
218
|
+
{
|
|
219
|
+
role: "combobox",
|
|
220
|
+
ref: p,
|
|
221
|
+
tabIndex: 0,
|
|
222
|
+
variant: H,
|
|
223
|
+
size: B,
|
|
224
|
+
disabled: C,
|
|
225
|
+
fullWidth: A,
|
|
226
|
+
isFocused: l,
|
|
227
|
+
onClick: P,
|
|
228
|
+
onKeyDown: T,
|
|
229
|
+
"aria-controls": d,
|
|
230
|
+
"aria-expanded": l,
|
|
231
|
+
"aria-haspopup": "listbox",
|
|
232
|
+
"aria-activedescendant": c,
|
|
233
|
+
...h,
|
|
234
|
+
css: F,
|
|
235
|
+
children: [
|
|
236
|
+
/* @__PURE__ */ k(oe, { value: i === "0" || !!i, disabled: C, children: [
|
|
237
|
+
R && /* @__PURE__ */ u(_, { justifyContent: "center", alignItems: "center", children: R }),
|
|
238
|
+
/* @__PURE__ */ u(ne, { children: U(b) || L })
|
|
239
|
+
] }),
|
|
240
|
+
/* @__PURE__ */ u(ie, { isFocused: l, children: /* @__PURE__ */ u(ee, { name: "ChevronDownLine", size: "small", color: C ? "grey.30" : "grey.100" }) })
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
),
|
|
244
|
+
/* @__PURE__ */ u(
|
|
245
|
+
Y,
|
|
246
|
+
{
|
|
247
|
+
open: l,
|
|
248
|
+
onClose: O,
|
|
249
|
+
inlineCSS: { backgroundColor: "transparent" },
|
|
250
|
+
children: /* @__PURE__ */ u(
|
|
251
|
+
re,
|
|
252
|
+
{
|
|
253
|
+
id: d,
|
|
254
|
+
role: "listbox",
|
|
255
|
+
ref: K,
|
|
256
|
+
tabIndex: -1,
|
|
257
|
+
isFocused: l,
|
|
258
|
+
style: {
|
|
259
|
+
top: w.top,
|
|
260
|
+
bottom: w.bottom,
|
|
261
|
+
left: w.left,
|
|
262
|
+
width: w.width
|
|
263
|
+
},
|
|
264
|
+
children: $.map(b, (t, o) => {
|
|
265
|
+
if (!z(t) || !t.props.value)
|
|
266
|
+
return null;
|
|
267
|
+
const n = `${d}-${o}`, g = i === t.props.value;
|
|
268
|
+
return g && (f.current = n), Q(t, {
|
|
269
|
+
id: n,
|
|
270
|
+
selected: g,
|
|
271
|
+
focused: n === c,
|
|
272
|
+
onClick: W(t.props.value)
|
|
273
|
+
});
|
|
274
|
+
})
|
|
275
|
+
}
|
|
276
|
+
)
|
|
277
|
+
}
|
|
278
|
+
)
|
|
279
|
+
] });
|
|
280
|
+
});
|
|
281
|
+
export {
|
|
282
|
+
me as default
|
|
283
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Select').SelectProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
startAdornment: {
|
|
11
|
+
control: {
|
|
12
|
+
disable: true;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
value: {
|
|
16
|
+
control: {
|
|
17
|
+
type: "select";
|
|
18
|
+
};
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
tags: string[];
|
|
23
|
+
};
|
|
24
|
+
export default meta;
|
|
25
|
+
type Story = StoryObj<typeof meta>;
|
|
26
|
+
export declare const Default: Story;
|
|
27
|
+
export declare const WithVariousOptions: Story;
|
|
28
|
+
export declare const FullWidth: Story;
|
|
29
|
+
export declare const Controlled: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Select.cjs"),t=require("./Option/Option.cjs");exports.default=e.default;exports.Option=t.default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("@emotion/react/jsx-runtime"),c=require("react"),f=require("@emotion/react"),p=require("@emotion/styled"),a=require("../utils/convertNumberToCSSValue.cjs"),g=e=>e&&e.__esModule?e:{default:e},b=g(p),h=f.keyframes`
|
|
2
|
+
0% {
|
|
3
|
+
background-position: 100% 100%;
|
|
4
|
+
}
|
|
5
|
+
100% {
|
|
6
|
+
background-position: 0 0;
|
|
7
|
+
}
|
|
8
|
+
`,m=b.default.div`
|
|
9
|
+
position: relative;
|
|
10
|
+
background-color: ${({theme:{palette:{background:e}}})=>e.primary};
|
|
11
|
+
border-radius: ${({borderRadius:e=0})=>a.default(e)};
|
|
12
|
+
cursor: wait;
|
|
13
|
+
|
|
14
|
+
&::after {
|
|
15
|
+
content: '';
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 0;
|
|
18
|
+
left: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
background: no-repeat
|
|
22
|
+
linear-gradient(
|
|
23
|
+
90deg,
|
|
24
|
+
${({theme:{palette:{grey:e}}})=>e[10]}
|
|
25
|
+
30%,
|
|
26
|
+
transparent 50%,
|
|
27
|
+
${({theme:{palette:{grey:e}}})=>e[10]}
|
|
28
|
+
70%
|
|
29
|
+
);
|
|
30
|
+
background-size: 350% 350%;
|
|
31
|
+
border-radius: ${({borderRadius:e=0})=>a.default(e)};
|
|
32
|
+
animation: ${h} 1.2s infinite;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
${({ratio:e})=>{const[t,r]=String(e||"").split(":");return Number.isNaN(t)||Number.isNaN(r)?null:{width:"inherit",paddingTop:`calc(100% / ${t} * ${r})`}}};
|
|
36
|
+
|
|
37
|
+
${({theme:{typography:e},width:t,height:r,textHeight:i,minWidth:n,minHeight:u,maxWidth:s,maxHeight:l})=>{var o;return{width:t,height:((o=e[i])==null?void 0:o.lineHeight)||r,minWidth:n,minHeight:u,maxWidth:s,maxHeight:l}}};
|
|
38
|
+
`,$=c.forwardRef(function({borderRadius:t=4,inlineCSS:r,...i},n){return d.jsx(m,{ref:n,borderRadius:t,...i,css:r,"aria-hidden":"true"})});exports.default=$;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { GeneralComponentProps } from '../typings/component';
|
|
3
|
+
import { TypographyBodyKey, TypographyCaptionKey, TypographyHeadlineKey } from '../typings/typography';
|
|
4
|
+
import { CSSValue } from '../typings/utility';
|
|
5
|
+
|
|
6
|
+
export interface SkeletonProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
|
|
7
|
+
ratio?: `${number}:${number}`;
|
|
8
|
+
width?: CSSValue;
|
|
9
|
+
height?: CSSValue;
|
|
10
|
+
textHeight?: TypographyHeadlineKey | TypographyBodyKey | TypographyCaptionKey;
|
|
11
|
+
minWidth?: CSSValue;
|
|
12
|
+
minHeight?: CSSValue;
|
|
13
|
+
maxWidth?: CSSValue;
|
|
14
|
+
maxHeight?: CSSValue;
|
|
15
|
+
borderRadius?: CSSValue;
|
|
16
|
+
}
|
|
17
|
+
declare const Skeleton: import('react').ForwardRefExoticComponent<SkeletonProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export default Skeleton;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { jsx as m } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as p } from "react";
|
|
3
|
+
import { keyframes as u } from "@emotion/react";
|
|
4
|
+
import c from "@emotion/styled";
|
|
5
|
+
import a from "../utils/convertNumberToCSSValue.es.js";
|
|
6
|
+
const f = u`
|
|
7
|
+
0% {
|
|
8
|
+
background-position: 100% 100%;
|
|
9
|
+
}
|
|
10
|
+
100% {
|
|
11
|
+
background-position: 0 0;
|
|
12
|
+
}
|
|
13
|
+
`, h = c.div`
|
|
14
|
+
position: relative;
|
|
15
|
+
background-color: ${({
|
|
16
|
+
theme: {
|
|
17
|
+
palette: { background: e }
|
|
18
|
+
}
|
|
19
|
+
}) => e.primary};
|
|
20
|
+
border-radius: ${({ borderRadius: e = 0 }) => a(e)};
|
|
21
|
+
cursor: wait;
|
|
22
|
+
|
|
23
|
+
&::after {
|
|
24
|
+
content: '';
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 0;
|
|
27
|
+
left: 0;
|
|
28
|
+
width: 100%;
|
|
29
|
+
height: 100%;
|
|
30
|
+
background: no-repeat
|
|
31
|
+
linear-gradient(
|
|
32
|
+
90deg,
|
|
33
|
+
${({
|
|
34
|
+
theme: {
|
|
35
|
+
palette: { grey: e }
|
|
36
|
+
}
|
|
37
|
+
}) => e[10]}
|
|
38
|
+
30%,
|
|
39
|
+
transparent 50%,
|
|
40
|
+
${({
|
|
41
|
+
theme: {
|
|
42
|
+
palette: { grey: e }
|
|
43
|
+
}
|
|
44
|
+
}) => e[10]}
|
|
45
|
+
70%
|
|
46
|
+
);
|
|
47
|
+
background-size: 350% 350%;
|
|
48
|
+
border-radius: ${({ borderRadius: e = 0 }) => a(e)};
|
|
49
|
+
animation: ${f} 1.2s infinite;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
${({ ratio: e }) => {
|
|
53
|
+
const [t, r] = String(e || "").split(":");
|
|
54
|
+
return Number.isNaN(t) || Number.isNaN(r) ? null : {
|
|
55
|
+
width: "inherit",
|
|
56
|
+
paddingTop: `calc(100% / ${t} * ${r})`
|
|
57
|
+
};
|
|
58
|
+
}};
|
|
59
|
+
|
|
60
|
+
${({
|
|
61
|
+
theme: { typography: e },
|
|
62
|
+
width: t,
|
|
63
|
+
height: r,
|
|
64
|
+
textHeight: o,
|
|
65
|
+
minWidth: i,
|
|
66
|
+
minHeight: s,
|
|
67
|
+
maxWidth: d,
|
|
68
|
+
maxHeight: l
|
|
69
|
+
}) => {
|
|
70
|
+
var n;
|
|
71
|
+
return {
|
|
72
|
+
width: t,
|
|
73
|
+
height: ((n = e[o]) == null ? void 0 : n.lineHeight) || r,
|
|
74
|
+
minWidth: i,
|
|
75
|
+
minHeight: s,
|
|
76
|
+
maxWidth: d,
|
|
77
|
+
maxHeight: l
|
|
78
|
+
};
|
|
79
|
+
}};
|
|
80
|
+
`, S = p(function({ borderRadius: t = 4, inlineCSS: r, ...o }, i) {
|
|
81
|
+
return /* @__PURE__ */ m(
|
|
82
|
+
h,
|
|
83
|
+
{
|
|
84
|
+
ref: i,
|
|
85
|
+
borderRadius: t,
|
|
86
|
+
...o,
|
|
87
|
+
css: r,
|
|
88
|
+
"aria-hidden": "true"
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
});
|
|
92
|
+
export {
|
|
93
|
+
S as default
|
|
94
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Skeleton').SkeletonProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
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;
|
|
14
|
+
export declare const TextHeight: Story;
|
|
15
|
+
export declare const Ratio: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Skeleton.cjs");exports.default=e.default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("@emotion/react/jsx-runtime"),i=require("react"),E=require("../Flexbox/Flexbox.cjs"),I=require("@emotion/styled"),O=e=>e&&e.__esModule?e:{default:e},u=O(I),B=u.default.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
position: relative;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 12px;
|
|
7
|
+
margin: ${({theme:{spacing:e}})=>`${e.content(2)}px 0px`};
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
border-radius: 20px;
|
|
10
|
+
`,F=u.default.div`
|
|
11
|
+
position: absolute;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
background: ${({theme:{palette:e}})=>e.grey[10]};
|
|
15
|
+
border-radius: inherit;
|
|
16
|
+
`,G=u.default.div`
|
|
17
|
+
position: absolute;
|
|
18
|
+
height: 100%;
|
|
19
|
+
background: ${({theme:{palette:e}})=>e.brand.primary.main};
|
|
20
|
+
border-radius: inherit;
|
|
21
|
+
`,U=u.default.div`
|
|
22
|
+
position: absolute;
|
|
23
|
+
display: flex;
|
|
24
|
+
width: 24px;
|
|
25
|
+
height: 24px;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
align-items: center;
|
|
28
|
+
padding: ${({theme:{spacing:e}})=>`${e.content(2)}px ${e.content(3)}px`};
|
|
29
|
+
background: ${({theme:{palette:e}})=>e.grey[90]};
|
|
30
|
+
transform: translateX(-50%);
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
`,W=u.default.div`
|
|
33
|
+
position: absolute;
|
|
34
|
+
width: 4px;
|
|
35
|
+
height: 4px;
|
|
36
|
+
transform: translateX(-50%);
|
|
37
|
+
border-radius: 50%;
|
|
38
|
+
|
|
39
|
+
${({theme:{palette:e},marked:l,disabled:d,hasMarks:r})=>d||!r?{background:"transparent",opacity:0}:l?{background:e.grey.white}:{background:e.grey[30]}}
|
|
40
|
+
`,j=10,z=i.forwardRef(function({value:l,onChange:d,step:r=1,min:s=0,max:c=100,hasMarks:T=!0,disabledValues:N=[],railProps:f,trackProps:h,thumbProps:g,inlineCSS:_,...D},p){const o=i.useRef(null),b=i.useRef(null),q=i.useRef(null),[C,M]=i.useState(!1),m=100/((c-s)/r),k=t=>{if(o.current){const n=t-o.current.getBoundingClientRect().left,S=Array.from(o.current.querySelectorAll('[class^="slider-mark-"]:not([disabled])')),x=S.reduce((v,R)=>Math.abs(R.offsetLeft-n)<Math.abs(v.offsetLeft-n)?R:v,S[0]).getAttribute("data-value");return x!==null?Number(x):null}return null},$=t=>{M(!0);const n=k(t);n!==null&&d(n)},w=t=>{if(!C)return;const n=k(t);n!==null&&d(n)},y=()=>M(!1),X=t=>$(t.clientX),A=t=>$(t.touches[0].clientX),L=t=>w(t.clientX),V=t=>w(t.touches[0].clientX);return i.useEffect(()=>{if(o.current){const t=o.current.querySelector(`[data-value="${l}"]`);if(b.current&&t){const{offsetLeft:n,offsetWidth:S}=t;b.current.style.width=`${n+S+j*2}px`}}},[l,s,c,r]),a.jsxs(B,{ref:p,...D,className:"slider",onMouseDown:X,onMouseMove:L,onMouseUp:y,onMouseLeave:y,onTouchStart:A,onTouchMove:V,onTouchEnd:y,onTouchCancel:y,css:_,children:[a.jsx(F,{ref:q,...f,css:f==null?void 0:f.inlineCSS,className:"slider-rail"}),a.jsx(G,{ref:b,...h,css:h==null?void 0:h.inlineCSS,className:"slider-track"}),a.jsxs(E.default,{className:"slider-mark-wrapper",alignItems:"center",ref:o,inlineCSS:{margin:`0 ${j+2}px`,width:"100%",height:"24px",position:"relative"},children:[c>0&&s<c&&r>0&&Array.from({length:(c-s)/r+1},(t,n)=>a.jsx(W,{className:`slider-mark-${n} slider-mark`,marked:n<=(l-s)/r,hasMarks:T,disabled:N.includes(s+r*n),"data-value":s+r*n,style:{left:`${m*n}%`}},`slider-mark-${l}:${s+r*n}`)),a.jsx(U,{...g,className:"slider-thumb",css:g==null?void 0:g.inlineCSS,style:{left:`${m*(l-s)/r}%`}})]})]})});exports.default=z;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { GeneralComponentProps } from '../typings/component';
|
|
3
|
+
|
|
4
|
+
export interface SliderProps extends GeneralComponentProps<Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>> {
|
|
5
|
+
value: number;
|
|
6
|
+
onChange: (value: number) => void;
|
|
7
|
+
step?: number;
|
|
8
|
+
min?: number;
|
|
9
|
+
max?: number;
|
|
10
|
+
hasMarks?: boolean;
|
|
11
|
+
defaultValue?: number;
|
|
12
|
+
disabledValues?: number[];
|
|
13
|
+
railProps?: GeneralComponentProps<HTMLAttributes<HTMLDivElement>>;
|
|
14
|
+
trackProps?: GeneralComponentProps<HTMLAttributes<HTMLDivElement>>;
|
|
15
|
+
thumbProps?: GeneralComponentProps<HTMLAttributes<HTMLDivElement>>;
|
|
16
|
+
}
|
|
17
|
+
declare const Slider: import('react').ForwardRefExoticComponent<SliderProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export default Slider;
|