@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,595 @@
|
|
|
1
|
+
import { jsxs as B, jsx as f } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Ut, useState as I, useRef as S, useCallback as Vt, useLayoutEffect as Wt, useEffect as J } from "react";
|
|
3
|
+
import it from "../IconButton/IconButton.es.js";
|
|
4
|
+
import Ct from "../Menu/Menu.es.js";
|
|
5
|
+
import Jt from "../Menu/MenuBlock/MenuBlock.es.js";
|
|
6
|
+
import Qt from "../core/useTheme.es.js";
|
|
7
|
+
import T from "@emotion/styled";
|
|
8
|
+
import Q from "../utils/getContrastingTextColor/getContrastingTextColor.es.js";
|
|
9
|
+
const Zt = T.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
gap: ${({ theme: { spacing: t } }) => t.content(2)}px;
|
|
13
|
+
`, Pt = T.div`
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: flex-start;
|
|
17
|
+
max-width: fit-content;
|
|
18
|
+
padding: 0 ${({ theme: { spacing: t } }) => t.content(3)}px;
|
|
19
|
+
cursor: ${({ clickable: t }) => t ? "pointer" : "default"};
|
|
20
|
+
|
|
21
|
+
${({
|
|
22
|
+
theme: {
|
|
23
|
+
typography: { h4B: t }
|
|
24
|
+
}
|
|
25
|
+
}) => ({
|
|
26
|
+
fontSize: t.size,
|
|
27
|
+
fontWeight: t.weight,
|
|
28
|
+
lineHeight: t.lineHeight,
|
|
29
|
+
letterSpacing: t.letterSpacing
|
|
30
|
+
})};
|
|
31
|
+
`, te = T.div`
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
gap: ${({ theme: { spacing: t } }) => t.content(4)}px;
|
|
36
|
+
|
|
37
|
+
${({
|
|
38
|
+
theme: {
|
|
39
|
+
typography: { h2B: t }
|
|
40
|
+
}
|
|
41
|
+
}) => ({
|
|
42
|
+
fontSize: t.size,
|
|
43
|
+
fontWeight: t.weight,
|
|
44
|
+
lineHeight: t.lineHeight,
|
|
45
|
+
letterSpacing: t.letterSpacing
|
|
46
|
+
})};
|
|
47
|
+
`, ee = T.div`
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
padding: 0 ${({ theme: { spacing: t }, edgeSpacing: e }) => t.content(e || 0)}px;
|
|
51
|
+
|
|
52
|
+
& > span {
|
|
53
|
+
margin: 5px 0;
|
|
54
|
+
flex-grow: 1;
|
|
55
|
+
text-align: center;
|
|
56
|
+
${({
|
|
57
|
+
theme: {
|
|
58
|
+
palette: { grey: t },
|
|
59
|
+
typography: { b4M: e }
|
|
60
|
+
}
|
|
61
|
+
}) => ({
|
|
62
|
+
fontSize: e.size,
|
|
63
|
+
fontWeight: e.weight,
|
|
64
|
+
lineHeight: e.lineHeight,
|
|
65
|
+
letterSpacing: e.letterSpacing,
|
|
66
|
+
color: t[50]
|
|
67
|
+
})};
|
|
68
|
+
}
|
|
69
|
+
`, re = T.div`
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
`, ne = T.div`
|
|
72
|
+
display: flex;
|
|
73
|
+
transform: translate3d(0, 0, 0);
|
|
74
|
+
`, Ht = T.div`
|
|
75
|
+
display: flex;
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
min-width: 100%;
|
|
78
|
+
gap: ${({ theme: { spacing: t } }) => t.content(2)}px;
|
|
79
|
+
padding: ${({ theme: { spacing: t } }) => t.content(2)}px
|
|
80
|
+
${({ theme: { spacing: t }, edgeSpacing: e }) => t.content(e || 0)}px;
|
|
81
|
+
`, bt = T.div`
|
|
82
|
+
display: flex;
|
|
83
|
+
width: 100%;
|
|
84
|
+
`, zt = T.div`
|
|
85
|
+
position: relative;
|
|
86
|
+
display: inline-flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
flex: 1;
|
|
90
|
+
min-width: 30px;
|
|
91
|
+
min-height: 30px;
|
|
92
|
+
max-height: 30px;
|
|
93
|
+
cursor: ${({ disabled: t }) => t ? "not-allowed" : "pointer"};
|
|
94
|
+
pointer-events: ${({ disabled: t }) => t ? "none" : "auto"};
|
|
95
|
+
& > span {
|
|
96
|
+
z-index: 1;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
${({
|
|
100
|
+
theme: {
|
|
101
|
+
typography: { b2R: t }
|
|
102
|
+
}
|
|
103
|
+
}) => ({
|
|
104
|
+
fontSize: t.size,
|
|
105
|
+
fontWeight: t.weight,
|
|
106
|
+
lineHeight: t.lineHeight,
|
|
107
|
+
letterSpacing: t.letterSpacing
|
|
108
|
+
})};
|
|
109
|
+
|
|
110
|
+
${({
|
|
111
|
+
theme: {
|
|
112
|
+
palette: { brand: t, grey: e }
|
|
113
|
+
},
|
|
114
|
+
variant: n,
|
|
115
|
+
today: u,
|
|
116
|
+
selected: i,
|
|
117
|
+
disabled: a
|
|
118
|
+
}) => {
|
|
119
|
+
if (i) {
|
|
120
|
+
let o = {
|
|
121
|
+
fontWeight: 700,
|
|
122
|
+
color: Q(t.primary.main, [e.white, e[100]]),
|
|
123
|
+
"&:after": {
|
|
124
|
+
content: '""',
|
|
125
|
+
position: "absolute",
|
|
126
|
+
top: "50%",
|
|
127
|
+
left: "50%",
|
|
128
|
+
width: 30,
|
|
129
|
+
height: 30,
|
|
130
|
+
transform: "translate(-50%, -50%)",
|
|
131
|
+
backgroundColor: a ? t.primary.disable : t.primary.main,
|
|
132
|
+
borderRadius: "50%"
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
return n === "start" && (o = {
|
|
136
|
+
fontWeight: 700,
|
|
137
|
+
color: Q(t.primary.main, [e.white, e[100]]),
|
|
138
|
+
overflow: "hidden",
|
|
139
|
+
"&:before": {
|
|
140
|
+
content: '""',
|
|
141
|
+
position: "absolute",
|
|
142
|
+
top: "50%",
|
|
143
|
+
left: "50%",
|
|
144
|
+
width: 30,
|
|
145
|
+
height: 30,
|
|
146
|
+
transform: "translate(-50%, -50%)",
|
|
147
|
+
backgroundColor: a ? t.primary.disable : t.primary.main,
|
|
148
|
+
borderTopLeftRadius: 100,
|
|
149
|
+
borderBottomLeftRadius: 100
|
|
150
|
+
},
|
|
151
|
+
"&:after": {
|
|
152
|
+
content: '""',
|
|
153
|
+
position: "absolute",
|
|
154
|
+
top: "50%",
|
|
155
|
+
left: 30,
|
|
156
|
+
width: "100%",
|
|
157
|
+
height: 30,
|
|
158
|
+
transform: "translateY(-50%)",
|
|
159
|
+
backgroundColor: a ? t.primary.disable : t.primary.main
|
|
160
|
+
}
|
|
161
|
+
}), n === "end" && (o = {
|
|
162
|
+
fontWeight: 700,
|
|
163
|
+
color: Q(t.primary.main, [e.white, e[100]]),
|
|
164
|
+
overflow: "hidden",
|
|
165
|
+
"&:before": {
|
|
166
|
+
content: '""',
|
|
167
|
+
position: "absolute",
|
|
168
|
+
top: "50%",
|
|
169
|
+
left: "50%",
|
|
170
|
+
width: 30,
|
|
171
|
+
height: 30,
|
|
172
|
+
transform: "translate(-50%, -50%)",
|
|
173
|
+
backgroundColor: a ? t.primary.disable : t.primary.main,
|
|
174
|
+
borderTopRightRadius: 100,
|
|
175
|
+
borderBottomRightRadius: 100
|
|
176
|
+
},
|
|
177
|
+
"&:after": {
|
|
178
|
+
content: '""',
|
|
179
|
+
position: "absolute",
|
|
180
|
+
top: "50%",
|
|
181
|
+
right: 30,
|
|
182
|
+
width: "100%",
|
|
183
|
+
height: 30,
|
|
184
|
+
transform: "translateY(-50%)",
|
|
185
|
+
backgroundColor: a ? t.primary.disable : t.primary.main
|
|
186
|
+
}
|
|
187
|
+
}), n === "middle" && (o = {
|
|
188
|
+
fontWeight: 700,
|
|
189
|
+
color: Q(t.primary.main, [e.white, e[100]]),
|
|
190
|
+
overflow: "hidden",
|
|
191
|
+
"&:after": {
|
|
192
|
+
content: '""',
|
|
193
|
+
position: "absolute",
|
|
194
|
+
top: "50%",
|
|
195
|
+
left: "50%",
|
|
196
|
+
width: "calc(100% + 1px)",
|
|
197
|
+
height: 30,
|
|
198
|
+
transform: "translate(-50%, -50%)",
|
|
199
|
+
backgroundColor: a ? t.primary.disable : t.primary.main
|
|
200
|
+
}
|
|
201
|
+
}), o;
|
|
202
|
+
}
|
|
203
|
+
return u ? {
|
|
204
|
+
"&:after": {
|
|
205
|
+
content: '""',
|
|
206
|
+
position: "absolute",
|
|
207
|
+
top: "50%",
|
|
208
|
+
left: "50%",
|
|
209
|
+
width: 30,
|
|
210
|
+
height: 30,
|
|
211
|
+
transform: "translate(-50%, -50%)",
|
|
212
|
+
border: `1px solid ${t.primary.main}`,
|
|
213
|
+
borderRadius: "50%"
|
|
214
|
+
}
|
|
215
|
+
} : null;
|
|
216
|
+
}};
|
|
217
|
+
|
|
218
|
+
${({
|
|
219
|
+
theme: {
|
|
220
|
+
palette: { grey: t, pink: e, brand: n }
|
|
221
|
+
},
|
|
222
|
+
holiday: u,
|
|
223
|
+
disabled: i,
|
|
224
|
+
selected: a
|
|
225
|
+
}) => {
|
|
226
|
+
let o = null;
|
|
227
|
+
return u && (o = {
|
|
228
|
+
color: Q(a ? n.primary.main : "transparent", [
|
|
229
|
+
e[30],
|
|
230
|
+
e[100]
|
|
231
|
+
])
|
|
232
|
+
}), i && (o = {
|
|
233
|
+
color: t[30]
|
|
234
|
+
}), i && u && (o = {
|
|
235
|
+
color: e[30]
|
|
236
|
+
}), o;
|
|
237
|
+
}}
|
|
238
|
+
`, ie = T.div`
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
justify-content: center;
|
|
242
|
+
|
|
243
|
+
cursor: ${({ clickable: t }) => t ? "pointer" : "default"};
|
|
244
|
+
`, se = 30, he = Ut(function({
|
|
245
|
+
onChange: e,
|
|
246
|
+
value: n,
|
|
247
|
+
date: u,
|
|
248
|
+
minDate: i,
|
|
249
|
+
maxDate: a,
|
|
250
|
+
holidayDates: o,
|
|
251
|
+
disableDates: m,
|
|
252
|
+
showWeekHead: Dt = !1,
|
|
253
|
+
multiple: w = !1,
|
|
254
|
+
period: Z = !1,
|
|
255
|
+
enableMonthSelect: H = !1,
|
|
256
|
+
showToday: $t = !1,
|
|
257
|
+
edgeSpacing: st = 0,
|
|
258
|
+
inlineCSS: Yt,
|
|
259
|
+
...Ft
|
|
260
|
+
}, Et) {
|
|
261
|
+
const { spacing: wt } = Qt(), [F, ot] = I(
|
|
262
|
+
(typeof u == "string" || typeof u == "number" ? new Date(u) : u) || /* @__PURE__ */ new Date()
|
|
263
|
+
), [g, G] = I(() => Array.isArray(n) && n.length > 0 ? D(n[0]) : D(n)), [b, P] = I(() => Array.isArray(n) && n.length > 1 ? D(n[n.length - 1]) : null), [M, xt] = I(0), [x, E] = I(1), [Mt, Tt] = I(!1), [ct, At] = I(!1), at = S(null), h = S(null), tt = S(0), R = S(0), A = S(!1), K = S(x), lt = S(), ut = S(null), ft = S(null), v = F.getFullYear(), et = F.getMonth(), St = yt(v, et), U = Y(et), O = D(n), j = D(o), X = D(m), dt = N(F, i) || It(F, i), mt = L(F, a) || It(F, a), rt = new Date(v, et - 1), nt = new Date(v, et + 1), V = `${v}. ${U}`, _ = Z && !!g && !!b, kt = [
|
|
264
|
+
{
|
|
265
|
+
year: rt.getFullYear(),
|
|
266
|
+
month: Y(rt.getMonth()),
|
|
267
|
+
weeks: yt(rt.getFullYear(), rt.getMonth())
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
year: v,
|
|
271
|
+
month: U,
|
|
272
|
+
weeks: St
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
year: nt.getFullYear(),
|
|
276
|
+
month: Y(nt.getMonth()),
|
|
277
|
+
weeks: yt(nt.getFullYear(), nt.getMonth())
|
|
278
|
+
}
|
|
279
|
+
], Ot = kt[1].weeks.length * (se + wt.content(2)) + wt.content(2), Rt = (r) => () => {
|
|
280
|
+
w && (h.current && (h.current.style.transition = "none", h.current.style.cursor = "grabbing"), tt.current = r, A.current = !0);
|
|
281
|
+
}, z = Vt(() => {
|
|
282
|
+
if (!A.current) return;
|
|
283
|
+
const r = M - R.current, l = Math.abs(M - r), c = M * 0.1;
|
|
284
|
+
h.current && (h.current.style.transform = `translate3d(-${M * x}px, 0, 0)`, h.current.style.cursor = "grab", h.current.style.transition = "transform 0.2s"), tt.current = 0, R.current = 0, A.current = !1, !(l <= c) && (M < r ? E((p) => p + 1) : M > r && E((p) => p - 1));
|
|
285
|
+
}, [M, x]), vt = (r) => () => {
|
|
286
|
+
if (!(A.current || x !== 1)) {
|
|
287
|
+
if (!Z) {
|
|
288
|
+
e == null || e(r, D);
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
291
|
+
if (k(r, g) && Array.isArray(n) && n.length === 1) {
|
|
292
|
+
G(null), P(null), e == null || e([], D);
|
|
293
|
+
return;
|
|
294
|
+
} else if (k(r, g) && !Array.isArray(n) && k(r, n)) {
|
|
295
|
+
G(null), P(null), e == null || e([], D);
|
|
296
|
+
return;
|
|
297
|
+
}
|
|
298
|
+
if (!g) {
|
|
299
|
+
G(r), e == null || e(r, D);
|
|
300
|
+
return;
|
|
301
|
+
}
|
|
302
|
+
if (!b && g) {
|
|
303
|
+
const [l, c] = L(r, g) ? [g, r] : [r, g];
|
|
304
|
+
G(l), P(c);
|
|
305
|
+
const p = Lt([l, c], m);
|
|
306
|
+
e == null || e(p, D);
|
|
307
|
+
return;
|
|
308
|
+
}
|
|
309
|
+
g && b && (G(r), P(null), e == null || e(r, D));
|
|
310
|
+
}
|
|
311
|
+
}, jt = (r) => Rt(r.clientX)(), Xt = (r) => Rt(r.touches[0].clientX)(), _t = () => {
|
|
312
|
+
Mt || (h.current && (h.current.style.transition = "transform 0.2s"), E((r) => r - 1));
|
|
313
|
+
}, Bt = () => {
|
|
314
|
+
Mt || (h.current && (h.current.style.transition = "transform 0.2s"), E((r) => r + 1));
|
|
315
|
+
}, ht = () => At((r) => !r), Nt = (r) => {
|
|
316
|
+
if (!r) return;
|
|
317
|
+
const [l, c] = r.toString().split(".").map(Number);
|
|
318
|
+
ot(new Date(l, c - 1)), At(!1);
|
|
319
|
+
};
|
|
320
|
+
return Wt(() => {
|
|
321
|
+
var r;
|
|
322
|
+
xt(((r = at.current) == null ? void 0 : r.clientWidth) || 0);
|
|
323
|
+
}, [w]), J(() => {
|
|
324
|
+
const r = () => {
|
|
325
|
+
var l;
|
|
326
|
+
xt(((l = at.current) == null ? void 0 : l.clientWidth) || 0);
|
|
327
|
+
};
|
|
328
|
+
return window.addEventListener("resize", r), window.addEventListener("scroll", r), () => {
|
|
329
|
+
window.removeEventListener("resize", r), window.removeEventListener("scroll", r);
|
|
330
|
+
};
|
|
331
|
+
}, [w]), J(() => {
|
|
332
|
+
const r = h.current, l = (s, $, y) => {
|
|
333
|
+
if (!r || !A.current) return;
|
|
334
|
+
R.current = s - tt.current;
|
|
335
|
+
const d = $ - tt.current, W = 5;
|
|
336
|
+
if (A.current = A.current || Math.abs(R.current) > W && Math.abs(d) < W * 2, y.cancelable && y.preventDefault(), A.current) {
|
|
337
|
+
if (dt && R.current > 0) {
|
|
338
|
+
z();
|
|
339
|
+
return;
|
|
340
|
+
}
|
|
341
|
+
if (mt && R.current < 0) {
|
|
342
|
+
z();
|
|
343
|
+
return;
|
|
344
|
+
}
|
|
345
|
+
Math.abs(R.current) >= 10 && (r.style.transform = `translate3d(${R.current - M * x}px, 0, 0)`, r.style.cursor = "grabbing");
|
|
346
|
+
}
|
|
347
|
+
}, c = (s) => l(s.touches[0].clientX, s.touches[0].clientY, s), p = (s) => {
|
|
348
|
+
A.current && l(s.clientX, s.clientY, s);
|
|
349
|
+
};
|
|
350
|
+
return r == null || r.addEventListener("mousemove", p), r == null || r.addEventListener("touchmove", c), () => {
|
|
351
|
+
r == null || r.removeEventListener("mousemove", p), r == null || r.removeEventListener("touchmove", c);
|
|
352
|
+
};
|
|
353
|
+
}, [M, x, z, mt, dt]), J(() => {
|
|
354
|
+
Tt(!0), lt.current = setTimeout(() => {
|
|
355
|
+
h.current && (h.current.style.transition = "none"), x > K.current ? (E(1), ot((r) => new Date(r.setMonth(r.getMonth() + 1))), K.current = 1) : x < K.current ? (ot((r) => new Date(r.setMonth(r.getMonth() - 1))), E(1), K.current = 1) : K.current = x, Tt(!1);
|
|
356
|
+
}, 200);
|
|
357
|
+
}, [x]), Wt(() => {
|
|
358
|
+
if (!Z || !Array.isArray(n)) return;
|
|
359
|
+
const r = Lt(n, m);
|
|
360
|
+
n.length < r.length && (e == null || e(r, D));
|
|
361
|
+
}, [Z, n, e, m]), J(() => {
|
|
362
|
+
let r;
|
|
363
|
+
return ct && (r = setTimeout(() => {
|
|
364
|
+
if (ft.current) {
|
|
365
|
+
const l = ft.current.querySelector("ul"), c = l == null ? void 0 : l.querySelector(`[data-value="${V}"]`);
|
|
366
|
+
c == null || c.scrollIntoView({
|
|
367
|
+
block: "start"
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
}, 200)), () => {
|
|
371
|
+
clearTimeout(r);
|
|
372
|
+
};
|
|
373
|
+
}, [ct, V]), J(() => () => {
|
|
374
|
+
lt.current && clearTimeout(lt.current);
|
|
375
|
+
}, []), /* @__PURE__ */ B(Zt, { ref: Et, ...Ft, css: Yt, children: [
|
|
376
|
+
w ? /* @__PURE__ */ B(te, { children: [
|
|
377
|
+
/* @__PURE__ */ f(
|
|
378
|
+
it,
|
|
379
|
+
{
|
|
380
|
+
name: "ChevronLeftLine",
|
|
381
|
+
size: "small",
|
|
382
|
+
onClick: _t,
|
|
383
|
+
disabled: dt
|
|
384
|
+
}
|
|
385
|
+
),
|
|
386
|
+
/* @__PURE__ */ B(
|
|
387
|
+
ie,
|
|
388
|
+
{
|
|
389
|
+
ref: ut,
|
|
390
|
+
clickable: !!H,
|
|
391
|
+
onClick: H ? ht : void 0,
|
|
392
|
+
children: [
|
|
393
|
+
V,
|
|
394
|
+
H && /* @__PURE__ */ f(it, { name: "ArrowDownFill", size: "xSmall" })
|
|
395
|
+
]
|
|
396
|
+
}
|
|
397
|
+
),
|
|
398
|
+
/* @__PURE__ */ f(
|
|
399
|
+
it,
|
|
400
|
+
{
|
|
401
|
+
name: "ChevronRightLine",
|
|
402
|
+
size: "small",
|
|
403
|
+
onClick: Bt,
|
|
404
|
+
disabled: mt
|
|
405
|
+
}
|
|
406
|
+
)
|
|
407
|
+
] }) : /* @__PURE__ */ B(
|
|
408
|
+
Pt,
|
|
409
|
+
{
|
|
410
|
+
ref: ut,
|
|
411
|
+
clickable: !!H,
|
|
412
|
+
onClick: H ? ht : void 0,
|
|
413
|
+
children: [
|
|
414
|
+
V,
|
|
415
|
+
H && /* @__PURE__ */ f(it, { name: "ArrowDownFill", size: "xSmall" })
|
|
416
|
+
]
|
|
417
|
+
}
|
|
418
|
+
),
|
|
419
|
+
H && /* @__PURE__ */ f(
|
|
420
|
+
Ct,
|
|
421
|
+
{
|
|
422
|
+
anchorRef: ut,
|
|
423
|
+
ref: ft,
|
|
424
|
+
open: ct,
|
|
425
|
+
onClose: ht,
|
|
426
|
+
onChange: Nt,
|
|
427
|
+
value: V,
|
|
428
|
+
placement: w ? "bottom-center" : "bottom-left",
|
|
429
|
+
width: 160,
|
|
430
|
+
fitToAnchorWidth: !1,
|
|
431
|
+
maxHeight: 368,
|
|
432
|
+
children: Array.from({ length: 130 }, (r, l) => {
|
|
433
|
+
const c = 1970 + l;
|
|
434
|
+
return Array.from({ length: 12 }, (p, s) => {
|
|
435
|
+
const $ = s + 1, y = $ < 10 ? `0${$}` : $, d = new Date(c, s + 1, 0).getDate(), W = `${c}-${y}-${d}`, C = `${c}-${y}-01`;
|
|
436
|
+
return N(W, i) || L(C, a) ? null : /* @__PURE__ */ f(Jt, { value: `${c}. ${y}`, children: `${c}. ${y}` }, `${c}-${y}`);
|
|
437
|
+
});
|
|
438
|
+
})
|
|
439
|
+
}
|
|
440
|
+
),
|
|
441
|
+
Dt && /* @__PURE__ */ B(ee, { edgeSpacing: st, children: [
|
|
442
|
+
/* @__PURE__ */ f("span", { children: "일" }),
|
|
443
|
+
/* @__PURE__ */ f("span", { children: "월" }),
|
|
444
|
+
/* @__PURE__ */ f("span", { children: "화" }),
|
|
445
|
+
/* @__PURE__ */ f("span", { children: "수" }),
|
|
446
|
+
/* @__PURE__ */ f("span", { children: "목" }),
|
|
447
|
+
/* @__PURE__ */ f("span", { children: "금" }),
|
|
448
|
+
/* @__PURE__ */ f("span", { children: "토" })
|
|
449
|
+
] }),
|
|
450
|
+
/* @__PURE__ */ f(re, { ref: at, children: /* @__PURE__ */ B(
|
|
451
|
+
ne,
|
|
452
|
+
{
|
|
453
|
+
ref: h,
|
|
454
|
+
onMouseDown: jt,
|
|
455
|
+
onMouseUp: z,
|
|
456
|
+
onMouseLeave: z,
|
|
457
|
+
onTouchStart: Xt,
|
|
458
|
+
onTouchEnd: z,
|
|
459
|
+
onTouchCancel: z,
|
|
460
|
+
style: {
|
|
461
|
+
transform: w ? `translate3d(-${M * x}px, 0, 0)` : void 0,
|
|
462
|
+
cursor: w ? "grab" : void 0,
|
|
463
|
+
maxHeight: Ot
|
|
464
|
+
},
|
|
465
|
+
children: [
|
|
466
|
+
w && kt.map(({ year: r, month: l, weeks: c }) => /* @__PURE__ */ f(
|
|
467
|
+
Ht,
|
|
468
|
+
{
|
|
469
|
+
edgeSpacing: st,
|
|
470
|
+
children: c.map((p, s) => /* @__PURE__ */ f(bt, { children: p.map(($, y) => {
|
|
471
|
+
const d = `${r}-${l}-${q($ || 0)}`, W = k(d, /* @__PURE__ */ new Date()), C = Array.isArray(j) ? j.includes(d) : j === d, pt = Array.isArray(O) ? O.includes(d) : O === d, gt = !$ || (Array.isArray(X) ? X.includes(d) : X === d) || L(d, a) || N(d, i), qt = _ && k(d, g), Gt = _ && k(d, b), Kt = _ && L(d, g) && N(d, b);
|
|
472
|
+
return /* @__PURE__ */ f(
|
|
473
|
+
zt,
|
|
474
|
+
{
|
|
475
|
+
variant: qt ? "start" : Gt ? "end" : Kt ? "middle" : void 0,
|
|
476
|
+
onClick: vt(d),
|
|
477
|
+
today: $t && W,
|
|
478
|
+
holiday: C,
|
|
479
|
+
selected: pt,
|
|
480
|
+
disabled: gt,
|
|
481
|
+
children: /* @__PURE__ */ f("span", { children: $ })
|
|
482
|
+
},
|
|
483
|
+
`${r}-${l}-week-row-${y}-${$ ? d : `${s}-${y}`}`
|
|
484
|
+
);
|
|
485
|
+
}) }, `${r}-${l}-week-row-${String(p)}`))
|
|
486
|
+
},
|
|
487
|
+
`week-body-${r}-${l}`
|
|
488
|
+
)),
|
|
489
|
+
!w && /* @__PURE__ */ f(Ht, { edgeSpacing: st, children: St.map((r, l) => /* @__PURE__ */ f(bt, { children: r.map((c, p) => {
|
|
490
|
+
const s = `${v}-${U}-${q(c || 0)}`, $ = k(s, /* @__PURE__ */ new Date()), y = Array.isArray(j) ? j.includes(s) : j === s, d = Array.isArray(O) ? O.includes(s) : O === s, W = !c || (Array.isArray(X) ? X.includes(s) : X === s) || L(s, a) || N(s, i), C = _ && k(s, g), pt = _ && k(s, b), gt = _ && L(s, g) && N(s, b);
|
|
491
|
+
return /* @__PURE__ */ f(
|
|
492
|
+
zt,
|
|
493
|
+
{
|
|
494
|
+
variant: C ? "start" : pt ? "end" : gt ? "middle" : void 0,
|
|
495
|
+
onClick: vt(s),
|
|
496
|
+
today: $t && $,
|
|
497
|
+
holiday: y,
|
|
498
|
+
selected: d,
|
|
499
|
+
disabled: W,
|
|
500
|
+
children: /* @__PURE__ */ f("span", { children: c })
|
|
501
|
+
},
|
|
502
|
+
`${v}-${U}-week-row-${r}-${c ? s : `${l}-${p}`}`
|
|
503
|
+
);
|
|
504
|
+
}) }, `${v}-${U}-week-row-${String(r)}`)) })
|
|
505
|
+
]
|
|
506
|
+
}
|
|
507
|
+
) })
|
|
508
|
+
] });
|
|
509
|
+
});
|
|
510
|
+
function yt(t, e) {
|
|
511
|
+
let n = [];
|
|
512
|
+
const u = new Date(t, e, 1), i = new Date(t, e + 1, 0).getDate(), a = u.getDay();
|
|
513
|
+
let o = Array.from({ length: a }).fill(null);
|
|
514
|
+
for (let m = 1; m <= i; m += 1)
|
|
515
|
+
o.push(m), (o.length === 7 || m === i) && (n.push(o), o = []);
|
|
516
|
+
return n = n.map(
|
|
517
|
+
(m) => Array.from({ length: 7 }).map((Dt, w) => m[w] || null)
|
|
518
|
+
), n;
|
|
519
|
+
}
|
|
520
|
+
function Y(t) {
|
|
521
|
+
return String(t + 1).length === 1 ? `0${t + 1}` : t + 1;
|
|
522
|
+
}
|
|
523
|
+
function q(t) {
|
|
524
|
+
return String(t).length === 1 ? `0${t}` : t;
|
|
525
|
+
}
|
|
526
|
+
function D(t) {
|
|
527
|
+
if (Array.isArray(t))
|
|
528
|
+
return t.map((e) => e instanceof Date ? `${e.getFullYear()}-${Y(e.getMonth())}-${q(e.getDate())}` : e);
|
|
529
|
+
if (t instanceof Date)
|
|
530
|
+
return `${t.getFullYear()}-${Y(t.getMonth())}-${q(t.getDate())}`;
|
|
531
|
+
if (typeof t == "number") {
|
|
532
|
+
const e = new Date(t);
|
|
533
|
+
return `${e.getFullYear()}-${Y(e.getMonth())}-${q(e.getDate())}`;
|
|
534
|
+
}
|
|
535
|
+
return t;
|
|
536
|
+
}
|
|
537
|
+
function L(t, e) {
|
|
538
|
+
if (!t || !e)
|
|
539
|
+
return !1;
|
|
540
|
+
const n = t instanceof Date ? t : new Date(t);
|
|
541
|
+
n.setHours(0), n.setMinutes(0), n.setSeconds(0), n.setMilliseconds(0);
|
|
542
|
+
const u = n.getTime(), i = e instanceof Date ? e : new Date(e);
|
|
543
|
+
i.setHours(0), i.setMinutes(0), i.setSeconds(0), i.setMilliseconds(0);
|
|
544
|
+
const a = i.getTime();
|
|
545
|
+
return u > a;
|
|
546
|
+
}
|
|
547
|
+
function N(t, e) {
|
|
548
|
+
if (!t || !e)
|
|
549
|
+
return !1;
|
|
550
|
+
const n = t instanceof Date ? t : new Date(t);
|
|
551
|
+
n.setHours(0), n.setMinutes(0), n.setSeconds(0), n.setMilliseconds(0);
|
|
552
|
+
const u = n.getTime(), i = e instanceof Date ? e : new Date(e);
|
|
553
|
+
i.setHours(0), i.setMinutes(0), i.setSeconds(0), i.setMilliseconds(0);
|
|
554
|
+
const a = i.getTime();
|
|
555
|
+
return u < a;
|
|
556
|
+
}
|
|
557
|
+
function It(t, e) {
|
|
558
|
+
if (!t || !e)
|
|
559
|
+
return !1;
|
|
560
|
+
const n = t instanceof Date ? t : new Date(t), u = e instanceof Date ? e : new Date(e);
|
|
561
|
+
return `${n.getFullYear()}-${n.getMonth()}` == `${u.getFullYear()}-${u.getMonth()}`;
|
|
562
|
+
}
|
|
563
|
+
function k(t, e) {
|
|
564
|
+
if (!t || !e)
|
|
565
|
+
return !1;
|
|
566
|
+
const n = t instanceof Date ? t : new Date(t);
|
|
567
|
+
n.setHours(0), n.setMinutes(0), n.setSeconds(0), n.setMilliseconds(0);
|
|
568
|
+
const u = n.getTime(), i = e instanceof Date ? e : new Date(e);
|
|
569
|
+
i.setHours(0), i.setMinutes(0), i.setSeconds(0), i.setMilliseconds(0);
|
|
570
|
+
const a = i.getTime();
|
|
571
|
+
return u === a;
|
|
572
|
+
}
|
|
573
|
+
function Lt(t, e) {
|
|
574
|
+
if (!t || !Array.isArray(t) || t.length === 0)
|
|
575
|
+
return [];
|
|
576
|
+
const n = t.map((m) => m instanceof Date ? m : m === null ? /* @__PURE__ */ new Date() : new Date(m)), u = new Date(Math.min(...n.map((m) => m.getTime()))), i = new Date(Math.max(...n.map((m) => m.getTime()))), a = [], o = new Date(u);
|
|
577
|
+
for (; o <= i; ) {
|
|
578
|
+
if (Array.isArray(e) && e.includes(o)) {
|
|
579
|
+
o.setDate(o.getDate() + 1);
|
|
580
|
+
continue;
|
|
581
|
+
} else if (e === o) {
|
|
582
|
+
o.setDate(o.getDate() + 1);
|
|
583
|
+
continue;
|
|
584
|
+
}
|
|
585
|
+
a.push(
|
|
586
|
+
`${o.getFullYear()}-${Y(o.getMonth())}-${q(
|
|
587
|
+
o.getDate()
|
|
588
|
+
)}`
|
|
589
|
+
), o.setDate(o.getDate() + 1);
|
|
590
|
+
}
|
|
591
|
+
return a;
|
|
592
|
+
}
|
|
593
|
+
export {
|
|
594
|
+
he as default
|
|
595
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./DatePicker').DatePickerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
value: {
|
|
11
|
+
control: {
|
|
12
|
+
disable: true;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
tags: string[];
|
|
17
|
+
};
|
|
18
|
+
export default meta;
|
|
19
|
+
type Story = StoryObj<typeof meta>;
|
|
20
|
+
export declare const Default: Story;
|
|
21
|
+
export declare const ShowToday: Story;
|
|
22
|
+
export declare const HolidayDates: Story;
|
|
23
|
+
export declare const DisableDates: Story;
|
|
24
|
+
export declare const MultipleSelect: Story;
|
|
25
|
+
export declare const MultipleMode: Story;
|
|
26
|
+
export declare const PeriodMode: Story;
|
|
27
|
+
export declare const EnableMonthSelect: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./DatePicker.cjs");exports.default=e.default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("@emotion/react/jsx-runtime"),t=require("react"),I=require("../Backdrop/Backdrop.cjs"),b=require("../Flexbox/Flexbox.cjs"),M=require("../FocusBoundary/FocusBoundary.cjs"),O=require("@emotion/styled"),A=e=>e&&e.__esModule?e:{default:e},B=A(O),H=B.default.div`
|
|
2
|
+
position: absolute;
|
|
3
|
+
top: 50%;
|
|
4
|
+
left: 50%;
|
|
5
|
+
transform: translate3d(-50%, -50%, 0);
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
width: ${({fullWidth:e})=>e?"100%":"auto"};
|
|
9
|
+
max-width: ${({maxWidth:e})=>typeof e=="number"?`${e}px`:"auto"};
|
|
10
|
+
max-height: ${({maxHeight:e})=>typeof e=="number"?`${e}px`:"100%"};
|
|
11
|
+
border-radius: 16px;
|
|
12
|
+
background-color: ${({theme:{palette:{grey:e}}})=>e.white};
|
|
13
|
+
box-shadow: ${({theme:{elevation:e}})=>e[2]};
|
|
14
|
+
overflow-y: auto;
|
|
15
|
+
|
|
16
|
+
transition: transform ${({transitionDuration:e})=>e}ms;
|
|
17
|
+
${({open:e})=>e?{transform:"translate3d(-50%, -50%, 0)"}:{transform:"translate3d(-50%, -50%, 0) scale(0.97)"}};
|
|
18
|
+
|
|
19
|
+
${({fullScreen:e})=>e?{width:"100%",height:"100%",maxWidth:"100%",maxHeight:"100%",borderRadius:0}:null}
|
|
20
|
+
`,L=t.forwardRef(function({children:h,open:r,onClose:s,transitionDuration:l=200,fullWidth:x=!0,fullScreen:a=!1,maxWidth:p=320,maxHeight:y=438,inlineCSS:v,backdropProps:w,statusBarColor:k="transparent",systemNavigationBarColor:$="#FFFFFF",disableFocusBoundary:T=!1,hideStatusBar:q=!1,hideSystemNavigationBar:F=!1,...R},S){var c,f,m,g;const[j,u]=t.useState(!1),d=t.useRef(null),i=t.useRef(),_=n=>n.stopPropagation(),E=((f=(c=d.current)==null?void 0:c.querySelector('[id^="dialogTitle"]'))==null?void 0:f.getAttribute("id"))||"",C=((g=(m=d.current)==null?void 0:m.querySelector('[id^="dialogText"]'))==null?void 0:g.getAttribute("id"))||"";return t.useEffect(()=>{r?(i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{u(!0)},100)):u(!1)},[r]),t.useEffect(()=>{const n=D=>{D.key==="Escape"&&r&&s&&s()};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[r,s]),t.useEffect(()=>()=>{i.current&&clearTimeout(i.current)},[]),o.jsx(I.default,{ref:d,open:r,onClose:s,transitionDuration:l,centered:!a,fullScreen:a,...w,children:o.jsx(H,{ref:S,role:"dialog","aria-labelledby":E,"aria-describedby":C,open:j,transitionDuration:l,fullWidth:x,fullScreen:a,maxWidth:p,maxHeight:y,onClick:_,...R,css:v,children:o.jsxs(M.default,{active:r,disabled:T,inlineCSS:{flex:1,overflowY:"auto"},children:[a&&!q&&o.jsx(b.default,{inlineCSS:{minHeight:"var(--status-bar-height, 0px)",backgroundColor:k}}),h,a&&!F&&o.jsx(b.default,{inlineCSS:{minHeight:"var(--system-navigation-bar-height, 0px)",backgroundColor:$}})]})})})});exports.default=L;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { BackdropProps } from '../Backdrop/Backdrop';
|
|
3
|
+
import { GeneralComponentProps } from '../typings/component';
|
|
4
|
+
|
|
5
|
+
export interface DialogProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
|
|
6
|
+
open?: boolean;
|
|
7
|
+
onClose?: () => void;
|
|
8
|
+
transitionDuration?: number;
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
fullScreen?: boolean;
|
|
11
|
+
maxWidth?: number | 'auto';
|
|
12
|
+
maxHeight?: number | 'auto';
|
|
13
|
+
backdropProps?: BackdropProps;
|
|
14
|
+
disableFocusBoundary?: boolean;
|
|
15
|
+
statusBarColor?: string;
|
|
16
|
+
systemNavigationBarColor?: string;
|
|
17
|
+
hideStatusBar?: boolean;
|
|
18
|
+
hideSystemNavigationBar?: boolean;
|
|
19
|
+
}
|
|
20
|
+
declare const Dialog: import('react').ForwardRefExoticComponent<DialogProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export default Dialog;
|