@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
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@emotion/react/jsx-runtime"),i=require("react"),_=require("../Icon/Icon.cjs"),q=require("../utils/convertNumberToCSSValue.cjs"),C=require("@emotion/styled"),T=e=>e&&e.__esModule?e:{default:e},c=T(C),k=c.default.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
border-radius: 12px;
|
|
5
|
+
background-color: ${({theme:{palette:{grey:e,background:n}},disabled:t})=>t?n.secondary:e.white};
|
|
6
|
+
|
|
7
|
+
${({fullWidth:e})=>e?{width:"100%"}:null};
|
|
8
|
+
`,z=c.default.div`
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
min-height: calc(24px + (${({theme:{spacing:e}})=>e.content(4)}px * 2));
|
|
13
|
+
gap: ${({theme:{spacing:e}})=>e.content(2)}px;
|
|
14
|
+
cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
|
|
15
|
+
|
|
16
|
+
${({theme:{palette:{grey:e},typography:{h5M:n}},disabled:t})=>({fontSize:n.size,fontWeight:n.weight,lineHeight:n.lineHeight,letterSpacing:n.letterSpacing,color:t?e[50]:e[70],"& svg":{color:t?e[50]:e[70]}})};
|
|
17
|
+
`,A=c.default.button`
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
gap: ${({theme:{spacing:e}})=>e.content(2)}px;
|
|
22
|
+
padding: ${({theme:{spacing:e}})=>e.content(4)}px;
|
|
23
|
+
`,D=c.default.div`
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
transition: transform 0.2s;
|
|
28
|
+
transform: rotate(${({expand:e})=>e?"180deg":"0deg"});
|
|
29
|
+
`,B=c.default.div`
|
|
30
|
+
transition: height 0.2s;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
`,L=c.default.div`
|
|
33
|
+
padding: ${({theme:{spacing:e}})=>`0 ${e.content(4)}px ${e.content(4)}px ${e.content(4)}px`};
|
|
34
|
+
`,N=i.forwardRef(function({children:n,expand:t=!1,title:S,endAdornment:v,onChange:h,disabled:u=!1,inlineCSS:E,headerProps:d,...w},I){const m=i.useId(),x=i.useId(),[r,g]=i.useState(t),[f,p]=i.useState(t?"auto":"0px"),o=i.useRef(null),b=s=>{u||(typeof h=="function"?h(s):g(a=>!a))};return i.useEffect(()=>{g(t)},[t]),i.useEffect(()=>{var y,$;let s;const a=q.default(((y=o.current)==null?void 0:y.scrollHeight)||0),H=!r&&f==="auto",R=!r&&f!=="auto";return($=o.current)!=null&&$.parentElement&&(r?(o.current.parentElement.style.height=a,s=setTimeout(()=>{var j;p("auto"),(j=o.current)!=null&&j.parentElement&&(o.current.parentElement.style.height="auto")},200)):H?(o.current.parentElement.style.height=a,p(a)):R&&(o.current.parentElement.style.height="0px",p("0px"))),()=>{s&&clearTimeout(s)}},[r,f]),l.jsxs(k,{ref:I,disabled:u,...w,css:E,children:[l.jsx(z,{as:(d==null?void 0:d.tag)||"h3",onClick:b,disabled:u,...d,children:l.jsxs(A,{id:m,"aria-disabled":u,"aria-expanded":r,"aria-controls":x,children:[S,l.jsx(D,{expand:r,children:v||l.jsx(_.default,{name:"ChevronDownLine",size:"xSmall"})})]})}),l.jsx(B,{children:l.jsx(L,{role:"region",id:x,"aria-labelledby":m,ref:o,children:n})})]})});exports.default=N;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementType, HTMLAttributes, MouseEvent, ReactNode } from 'react';
|
|
2
|
+
import { GeneralComponentProps, PolymorphicComponentProps } from '../typings/component';
|
|
3
|
+
|
|
4
|
+
export interface AccordionProps extends Omit<GeneralComponentProps<HTMLAttributes<HTMLDivElement>>, 'title'> {
|
|
5
|
+
expand?: boolean;
|
|
6
|
+
onChange?: (e: MouseEvent<HTMLDivElement>) => void;
|
|
7
|
+
title: ReactNode;
|
|
8
|
+
endAdornment?: ReactNode;
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
headerProps?: PolymorphicComponentProps<ElementType>;
|
|
12
|
+
}
|
|
13
|
+
declare const Accordion: import('react').ForwardRefExoticComponent<AccordionProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export default Accordion;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { jsxs as v, jsx as s } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as z, useId as w, useState as E, useRef as A, useEffect as S } from "react";
|
|
3
|
+
import B from "../Icon/Icon.es.js";
|
|
4
|
+
import D from "../utils/convertNumberToCSSValue.es.js";
|
|
5
|
+
import r from "@emotion/styled";
|
|
6
|
+
const L = r.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
border-radius: 12px;
|
|
10
|
+
background-color: ${({
|
|
11
|
+
theme: {
|
|
12
|
+
palette: { grey: e, background: n }
|
|
13
|
+
},
|
|
14
|
+
disabled: t
|
|
15
|
+
}) => t ? n.secondary : e.white};
|
|
16
|
+
|
|
17
|
+
${({ fullWidth: e }) => e ? { width: "100%" } : null};
|
|
18
|
+
`, N = r.div`
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
min-height: calc(24px + (${({ theme: { spacing: e } }) => e.content(4)}px * 2));
|
|
23
|
+
gap: ${({ theme: { spacing: e } }) => e.content(2)}px;
|
|
24
|
+
cursor: ${({ disabled: e }) => e ? "not-allowed" : "pointer"};
|
|
25
|
+
|
|
26
|
+
${({
|
|
27
|
+
theme: {
|
|
28
|
+
palette: { grey: e },
|
|
29
|
+
typography: { h5M: n }
|
|
30
|
+
},
|
|
31
|
+
disabled: t
|
|
32
|
+
}) => ({
|
|
33
|
+
fontSize: n.size,
|
|
34
|
+
fontWeight: n.weight,
|
|
35
|
+
lineHeight: n.lineHeight,
|
|
36
|
+
letterSpacing: n.letterSpacing,
|
|
37
|
+
color: t ? e[50] : e[70],
|
|
38
|
+
"& svg": {
|
|
39
|
+
color: t ? e[50] : e[70]
|
|
40
|
+
}
|
|
41
|
+
})};
|
|
42
|
+
`, V = r.button`
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: space-between;
|
|
46
|
+
gap: ${({ theme: { spacing: e } }) => e.content(2)}px;
|
|
47
|
+
padding: ${({ theme: { spacing: e } }) => e.content(4)}px;
|
|
48
|
+
`, W = r.div`
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
transition: transform 0.2s;
|
|
53
|
+
transform: rotate(${({ expand: e }) => e ? "180deg" : "0deg"});
|
|
54
|
+
`, q = r.div`
|
|
55
|
+
transition: height 0.2s;
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
`, F = r.div`
|
|
58
|
+
padding: ${({ theme: { spacing: e } }) => `0 ${e.content(4)}px ${e.content(4)}px ${e.content(4)}px`};
|
|
59
|
+
`, U = z(function({
|
|
60
|
+
children: n,
|
|
61
|
+
expand: t = !1,
|
|
62
|
+
title: I,
|
|
63
|
+
endAdornment: H,
|
|
64
|
+
onChange: p,
|
|
65
|
+
disabled: a = !1,
|
|
66
|
+
inlineCSS: b,
|
|
67
|
+
headerProps: d,
|
|
68
|
+
...j
|
|
69
|
+
}, C) {
|
|
70
|
+
const m = w(), h = w(), [i, g] = E(t), [f, u] = E(t ? "auto" : "0px"), o = A(null), R = (c) => {
|
|
71
|
+
a || (typeof p == "function" ? p(c) : g((l) => !l));
|
|
72
|
+
};
|
|
73
|
+
return S(() => {
|
|
74
|
+
g(t);
|
|
75
|
+
}, [t]), S(() => {
|
|
76
|
+
var x, y;
|
|
77
|
+
let c;
|
|
78
|
+
const l = D(
|
|
79
|
+
((x = o.current) == null ? void 0 : x.scrollHeight) || 0
|
|
80
|
+
), T = !i && f === "auto", k = !i && f !== "auto";
|
|
81
|
+
return (y = o.current) != null && y.parentElement && (i ? (o.current.parentElement.style.height = l, c = setTimeout(() => {
|
|
82
|
+
var $;
|
|
83
|
+
u("auto"), ($ = o.current) != null && $.parentElement && (o.current.parentElement.style.height = "auto");
|
|
84
|
+
}, 200)) : T ? (o.current.parentElement.style.height = l, u(l)) : k && (o.current.parentElement.style.height = "0px", u("0px"))), () => {
|
|
85
|
+
c && clearTimeout(c);
|
|
86
|
+
};
|
|
87
|
+
}, [i, f]), /* @__PURE__ */ v(L, { ref: C, disabled: a, ...j, css: b, children: [
|
|
88
|
+
/* @__PURE__ */ s(
|
|
89
|
+
N,
|
|
90
|
+
{
|
|
91
|
+
as: (d == null ? void 0 : d.tag) || "h3",
|
|
92
|
+
onClick: R,
|
|
93
|
+
disabled: a,
|
|
94
|
+
...d,
|
|
95
|
+
children: /* @__PURE__ */ v(
|
|
96
|
+
V,
|
|
97
|
+
{
|
|
98
|
+
id: m,
|
|
99
|
+
"aria-disabled": a,
|
|
100
|
+
"aria-expanded": i,
|
|
101
|
+
"aria-controls": h,
|
|
102
|
+
children: [
|
|
103
|
+
I,
|
|
104
|
+
/* @__PURE__ */ s(W, { expand: i, children: H || /* @__PURE__ */ s(B, { name: "ChevronDownLine", size: "xSmall" }) })
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
}
|
|
109
|
+
),
|
|
110
|
+
/* @__PURE__ */ s(q, { children: /* @__PURE__ */ s(F, { role: "region", id: h, "aria-labelledby": m, ref: o, children: n }) })
|
|
111
|
+
] });
|
|
112
|
+
});
|
|
113
|
+
export {
|
|
114
|
+
U as default
|
|
115
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Accordion').AccordionProps & 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 Uncontrolled: Story;
|
|
14
|
+
export declare const Controlled: Story;
|
|
15
|
+
export declare const Nested: Story;
|
|
16
|
+
export declare const FullWidth: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Accordion.cjs");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("@emotion/react/jsx-runtime"),n=require("react"),B=require("../CircularProgressIndicator/CircularProgressIndicator.cjs"),T=require("../Flexbox/Flexbox.cjs"),D=require("../Icon/Icon.cjs"),z=require("../Menu/Menu.cjs"),x=require("../Menu/MenuBlock/MenuBlock.cjs"),M=require("../TextField/TextField.cjs"),E=require("../Typography/Typography.cjs"),d=100,G=n.forwardRef(function({inputValue:l,onInputChange:c,menuValue:q,onMenuChange:i,inputProps:I,minInputLengthForMenu:m=0,options:g=[],isLoading:o=!1,renderOptions:f,renderEmpty:b,filterOptions:j,getOptionLabel:S},R){const h=n.useRef(null);n.useImperativeHandle(R,()=>h.current);const[k,a]=n.useState(!1),u=j?j(g):g.filter(e=>e.label.includes(l)),O=u.length>0,v=l.length>=m,y=()=>a(e=>!e),A=e=>{e.target.value.length>0?a(!0):i("",e,null),c(e.target.value,e)},N=()=>{v&&a(!0)},F=(e,r)=>{var C;if(e===void 0||!r||!((C=r==null?void 0:r.target)!=null&&C.textContent))return;const s=u.find(_=>_.value===e);if(S){s&&setTimeout(()=>{c(S(s),r),i(e.toString(),r,s)},d);return}setTimeout(()=>{c(r.target.textContent||"",r),i(e.toString(),r,s||null)},d)},P=e=>{a(!1),setTimeout(()=>{c("",e),i("",e,null)},d)};return t.jsxs(T.default,{ref:h,inlineCSS:{position:"relative"},children:[t.jsx(M.default,{value:l,onChange:A,onFocus:N,fullWidth:!0,endAdornment:l?t.jsx(D.default,{name:"InvalidFill",color:"grey.50",size:"medium",onClick:P,inlineCSS:{cursor:"pointer"}}):null,inlineCSS:{"& svg":{flexShrink:0}},...I}),t.jsxs(z.default,{value:q,anchorRef:h,open:k&&l.length>=m,onClose:y,onChange:F,transitionDuration:d,disablePadding:!v,disableClickOutside:!l,children:[o&&t.jsx(x.default,{value:"LOADING",disabled:!0,children:t.jsx(T.default,{justifyContent:"center",children:t.jsx(B.default,{size:"small",loop:!0})})}),!o&&O&&u.map((e,r)=>{if(f&&typeof f=="function")return f(e,r,u);if(l&&!e.label.includes(l)||!v)return;const s=e.label.indexOf(l);return t.jsx(x.default,{value:e.value,...e==null?void 0:e.menuBlockProps,children:l?t.jsxs(t.Fragment,{children:[e.label.slice(0,s),t.jsx(E.default,{tag:"span",variant:"h5B",color:"primary",children:e.label.slice(s,s+l.length)}),e.label.slice(s+l.length)]}):e.label},e.value)}),!o&&!O&&(b?(()=>{const e=b(l);return n.isValidElement(e)?n.cloneElement(e,{...e.props,disabled:!0}):e})():t.jsx(x.default,{value:"NO_OPTION",disabled:!0,children:"검색 결과가 없어요."}))]})]})});exports.default=G;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
+
import { MenuProps } from '../Menu/Menu';
|
|
3
|
+
import { MenuBlockProps } from '../Menu/MenuBlock/MenuBlock';
|
|
4
|
+
import { TextFieldProps } from '../TextField/TextField';
|
|
5
|
+
|
|
6
|
+
export interface Option {
|
|
7
|
+
value: string;
|
|
8
|
+
label: string;
|
|
9
|
+
menuBlockProps?: MenuBlockProps;
|
|
10
|
+
}
|
|
11
|
+
export interface AutocompleteProps {
|
|
12
|
+
inputValue: string;
|
|
13
|
+
onInputChange: (inputValue: string, e: SyntheticEvent) => void;
|
|
14
|
+
menuValue: Option['value'];
|
|
15
|
+
onMenuChange: (menuValue: string, e: SyntheticEvent, option: Option | null) => void;
|
|
16
|
+
options: Array<Option>;
|
|
17
|
+
minInputLengthForMenu?: number;
|
|
18
|
+
inputProps?: TextFieldProps;
|
|
19
|
+
menuProps?: MenuProps;
|
|
20
|
+
isLoading?: boolean;
|
|
21
|
+
renderOptions?: (option: Option, index: number, options: AutocompleteProps['options']) => ReactNode;
|
|
22
|
+
renderEmpty?: (searchText: string) => ReactNode;
|
|
23
|
+
filterOptions?: (options: AutocompleteProps['options']) => AutocompleteProps['options'];
|
|
24
|
+
getOptionLabel?: (option: Option) => Option['label'];
|
|
25
|
+
}
|
|
26
|
+
declare const Autocomplete: import('react').ForwardRefExoticComponent<AutocompleteProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export default Autocomplete;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { jsxs as h, jsx as n, Fragment as D } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as z, useRef as _, useImperativeHandle as E, useState as G, isValidElement as H, cloneElement as U } from "react";
|
|
3
|
+
import W from "../CircularProgressIndicator/CircularProgressIndicator.es.js";
|
|
4
|
+
import T from "../Flexbox/Flexbox.es.js";
|
|
5
|
+
import p from "../Icon/Icon.es.js";
|
|
6
|
+
import q from "../Menu/Menu.es.js";
|
|
7
|
+
import v from "../Menu/MenuBlock/MenuBlock.es.js";
|
|
8
|
+
import J from "../TextField/TextField.es.js";
|
|
9
|
+
import K from "../Typography/Typography.es.js";
|
|
10
|
+
const a = 100, re = z(function({
|
|
11
|
+
inputValue: l,
|
|
12
|
+
onInputChange: s,
|
|
13
|
+
menuValue: k,
|
|
14
|
+
onMenuChange: i,
|
|
15
|
+
inputProps: A,
|
|
16
|
+
minInputLengthForMenu: g = 0,
|
|
17
|
+
options: b = [],
|
|
18
|
+
isLoading: d = !1,
|
|
19
|
+
renderOptions: f,
|
|
20
|
+
renderEmpty: C,
|
|
21
|
+
filterOptions: x,
|
|
22
|
+
getOptionLabel: O
|
|
23
|
+
}, N) {
|
|
24
|
+
const m = _(null);
|
|
25
|
+
E(N, () => m.current);
|
|
26
|
+
const [y, c] = G(!1), o = x ? x(b) : b.filter((e) => e.label.includes(l)), S = o.length > 0, u = l.length >= g, F = () => c((e) => !e), R = (e) => {
|
|
27
|
+
e.target.value.length > 0 ? c(!0) : i("", e, null), s(e.target.value, e);
|
|
28
|
+
}, P = () => {
|
|
29
|
+
u && c(!0);
|
|
30
|
+
}, j = (e, r) => {
|
|
31
|
+
var I;
|
|
32
|
+
if (e === void 0 || !r || !((I = r == null ? void 0 : r.target) != null && I.textContent)) return;
|
|
33
|
+
const t = o.find((B) => B.value === e);
|
|
34
|
+
if (O) {
|
|
35
|
+
t && setTimeout(() => {
|
|
36
|
+
s(O(t), r), i(e.toString(), r, t);
|
|
37
|
+
}, a);
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
setTimeout(() => {
|
|
41
|
+
s(r.target.textContent || "", r), i(e.toString(), r, t || null);
|
|
42
|
+
}, a);
|
|
43
|
+
};
|
|
44
|
+
return /* @__PURE__ */ h(T, { ref: m, inlineCSS: { position: "relative" }, children: [
|
|
45
|
+
/* @__PURE__ */ n(
|
|
46
|
+
J,
|
|
47
|
+
{
|
|
48
|
+
value: l,
|
|
49
|
+
onChange: R,
|
|
50
|
+
onFocus: P,
|
|
51
|
+
fullWidth: !0,
|
|
52
|
+
endAdornment: l ? /* @__PURE__ */ n(
|
|
53
|
+
p,
|
|
54
|
+
{
|
|
55
|
+
name: "InvalidFill",
|
|
56
|
+
color: "grey.50",
|
|
57
|
+
size: "medium",
|
|
58
|
+
onClick: (e) => {
|
|
59
|
+
c(!1), setTimeout(() => {
|
|
60
|
+
s("", e), i("", e, null);
|
|
61
|
+
}, a);
|
|
62
|
+
},
|
|
63
|
+
inlineCSS: { cursor: "pointer" }
|
|
64
|
+
}
|
|
65
|
+
) : null,
|
|
66
|
+
inlineCSS: { "& svg": { flexShrink: 0 } },
|
|
67
|
+
...A
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
/* @__PURE__ */ h(
|
|
71
|
+
q,
|
|
72
|
+
{
|
|
73
|
+
value: k,
|
|
74
|
+
anchorRef: m,
|
|
75
|
+
open: y && l.length >= g,
|
|
76
|
+
onClose: F,
|
|
77
|
+
onChange: j,
|
|
78
|
+
transitionDuration: a,
|
|
79
|
+
disablePadding: !u,
|
|
80
|
+
disableClickOutside: !l,
|
|
81
|
+
children: [
|
|
82
|
+
d && /* @__PURE__ */ n(v, { value: "LOADING", disabled: !0, children: /* @__PURE__ */ n(T, { justifyContent: "center", children: /* @__PURE__ */ n(W, { size: "small", loop: !0 }) }) }),
|
|
83
|
+
!d && S && o.map((e, r) => {
|
|
84
|
+
if (f && typeof f == "function")
|
|
85
|
+
return f(e, r, o);
|
|
86
|
+
if (l && !e.label.includes(l) || !u) return;
|
|
87
|
+
const t = e.label.indexOf(l);
|
|
88
|
+
return /* @__PURE__ */ n(v, { value: e.value, ...e == null ? void 0 : e.menuBlockProps, children: l ? /* @__PURE__ */ h(D, { children: [
|
|
89
|
+
e.label.slice(0, t),
|
|
90
|
+
/* @__PURE__ */ n(K, { tag: "span", variant: "h5B", color: "primary", children: e.label.slice(t, t + l.length) }),
|
|
91
|
+
e.label.slice(t + l.length)
|
|
92
|
+
] }) : e.label }, e.value);
|
|
93
|
+
}),
|
|
94
|
+
!d && !S && (C ? (() => {
|
|
95
|
+
const e = C(l);
|
|
96
|
+
return H(e) ? U(e, {
|
|
97
|
+
...e.props,
|
|
98
|
+
disabled: !0
|
|
99
|
+
}) : e;
|
|
100
|
+
})() : /* @__PURE__ */ n(v, { value: "NO_OPTION", disabled: !0, children: "검색 결과가 없어요." }))
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
] });
|
|
105
|
+
});
|
|
106
|
+
export {
|
|
107
|
+
re as default
|
|
108
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Autocomplete').AutocompleteProps & 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 AsynchronousOptions: Story;
|
|
15
|
+
export declare const CreatableOptions: Story;
|
|
16
|
+
export declare const CustomRenderOptions: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Autocomplete.cjs");exports.default=e.default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const m=require("@emotion/react/jsx-runtime"),r=require("react"),L=require("react-dom"),B=require("@emotion/styled"),H=e=>e&&e.__esModule?e:{default:e},p=H(B),M=p.default.div`
|
|
2
|
+
position: fixed;
|
|
3
|
+
|
|
4
|
+
${({hasContainer:e,containerTop:u,containerLeft:o,containerWidth:d,containerHeight:i})=>e?{top:u,left:o,width:d,height:i}:{top:0,left:0,width:"100%",height:"100%"}};
|
|
5
|
+
|
|
6
|
+
z-index: 100000;
|
|
7
|
+
|
|
8
|
+
background-color: ${({theme:{palette:{etc:e}}})=>e.dimmed01};
|
|
9
|
+
transition: opacity ${({transitionDuration:e})=>e}ms;
|
|
10
|
+
opacity: ${({open:e})=>e?1:0};
|
|
11
|
+
`,O=p.default.div`
|
|
12
|
+
position: relative;
|
|
13
|
+
|
|
14
|
+
${({theme:{spacing:e},fullScreen:u})=>u?{width:"100%",height:"100%"}:{width:`calc(100% - ${e.content(10)}px)`,height:`calc(100% - ${e.content(10)}px)`,margin:e.content(5)}};
|
|
15
|
+
|
|
16
|
+
${({centered:e})=>e?{display:"flex",alignItems:"center",justifyContent:"center"}:null}}
|
|
17
|
+
`,W=r.forwardRef(function({children:u,open:o,onClose:d,transitionDuration:i=200,fullScreen:y,centered:g,containerRef:s,inlineCSS:T,...v},w){const[C,f]=r.useState(!1),[b,a]=r.useState(!0),[x,S]=r.useState(0),[$,_]=r.useState(0),[j,k]=r.useState(0),[q,z]=r.useState(0),n=r.useRef(),c=r.useRef(),I=!!(s!=null&&s.current);return r.useEffect(()=>{o&&(c.current&&clearTimeout(c.current),document.body.style.overflow="hidden",a(!1),n.current=setTimeout(()=>{f(!0)},100))},[o]),r.useEffect(()=>{o||(n.current&&clearTimeout(n.current),document.body.removeAttribute("style"),f(!1),c.current=setTimeout(()=>{a(!0)},i))},[o,i]),r.useEffect(()=>{const t=s==null?void 0:s.current,l=()=>{var h;t&&(S((t==null?void 0:t.offsetTop)||0),_(((h=t.getBoundingClientRect())==null?void 0:h.left)||0),k((t==null?void 0:t.offsetWidth)||0),z((t==null?void 0:t.offsetHeight)||0))};return t&&(l(),window.addEventListener("resize",l)),()=>{t&&window.removeEventListener("resize",l)}},[s]),r.useEffect(()=>()=>{document.body.removeAttribute("style"),n.current&&clearTimeout(n.current),c.current&&clearTimeout(c.current)},[]),b?null:L.createPortal(m.jsx(M,{ref:w,open:C,transitionDuration:i,onClick:d,hasContainer:I,containerTop:x,containerLeft:$,containerWidth:j,containerHeight:q,...v,css:T,children:m.jsx(O,{fullScreen:y,centered:g,children:u})}),document.body)});exports.default=W;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HTMLAttributes, RefObject } from 'react';
|
|
2
|
+
import { GeneralComponentProps } from '../typings/component';
|
|
3
|
+
|
|
4
|
+
export interface BackdropProps extends GeneralComponentProps<HTMLAttributes<HTMLDivElement>> {
|
|
5
|
+
open?: boolean;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
transitionDuration?: number;
|
|
8
|
+
fullScreen?: boolean;
|
|
9
|
+
centered?: boolean;
|
|
10
|
+
containerRef?: RefObject<HTMLElement>;
|
|
11
|
+
}
|
|
12
|
+
declare const Backdrop: import('react').ForwardRefExoticComponent<BackdropProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export default Backdrop;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as O, useState as i, useRef as y, useEffect as d } from "react";
|
|
3
|
+
import { createPortal as P } from "react-dom";
|
|
4
|
+
import T from "@emotion/styled";
|
|
5
|
+
const S = T.div`
|
|
6
|
+
position: fixed;
|
|
7
|
+
|
|
8
|
+
${({ hasContainer: t, containerTop: s, containerLeft: o, containerWidth: f, containerHeight: n }) => t ? {
|
|
9
|
+
top: s,
|
|
10
|
+
left: o,
|
|
11
|
+
width: f,
|
|
12
|
+
height: n
|
|
13
|
+
} : {
|
|
14
|
+
top: 0,
|
|
15
|
+
left: 0,
|
|
16
|
+
width: "100%",
|
|
17
|
+
height: "100%"
|
|
18
|
+
}};
|
|
19
|
+
|
|
20
|
+
z-index: 100000;
|
|
21
|
+
|
|
22
|
+
background-color: ${({
|
|
23
|
+
theme: {
|
|
24
|
+
palette: { etc: t }
|
|
25
|
+
}
|
|
26
|
+
}) => t.dimmed01};
|
|
27
|
+
transition: opacity ${({ transitionDuration: t }) => t}ms;
|
|
28
|
+
opacity: ${({ open: t }) => t ? 1 : 0};
|
|
29
|
+
`, q = T.div`
|
|
30
|
+
position: relative;
|
|
31
|
+
|
|
32
|
+
${({ theme: { spacing: t }, fullScreen: s }) => s ? {
|
|
33
|
+
width: "100%",
|
|
34
|
+
height: "100%"
|
|
35
|
+
} : {
|
|
36
|
+
width: `calc(100% - ${t.content(10)}px)`,
|
|
37
|
+
height: `calc(100% - ${t.content(10)}px)`,
|
|
38
|
+
margin: t.content(5)
|
|
39
|
+
}};
|
|
40
|
+
|
|
41
|
+
${({ centered: t }) => t ? {
|
|
42
|
+
display: "flex",
|
|
43
|
+
alignItems: "center",
|
|
44
|
+
justifyContent: "center"
|
|
45
|
+
} : null}}
|
|
46
|
+
`, K = O(function({
|
|
47
|
+
children: s,
|
|
48
|
+
open: o,
|
|
49
|
+
onClose: f,
|
|
50
|
+
transitionDuration: n = 200,
|
|
51
|
+
fullScreen: g,
|
|
52
|
+
centered: w,
|
|
53
|
+
containerRef: r,
|
|
54
|
+
inlineCSS: C,
|
|
55
|
+
...v
|
|
56
|
+
}, $) {
|
|
57
|
+
const [b, m] = i(!1), [x, h] = i(!0), [k, z] = i(0), [I, L] = i(0), [B, H] = i(0), [W, j] = i(0), c = y(), u = y(), A = !!(r != null && r.current);
|
|
58
|
+
return d(() => {
|
|
59
|
+
o && (u.current && clearTimeout(u.current), document.body.style.overflow = "hidden", h(!1), c.current = setTimeout(() => {
|
|
60
|
+
m(!0);
|
|
61
|
+
}, 100));
|
|
62
|
+
}, [o]), d(() => {
|
|
63
|
+
o || (c.current && clearTimeout(c.current), document.body.removeAttribute("style"), m(!1), u.current = setTimeout(() => {
|
|
64
|
+
h(!0);
|
|
65
|
+
}, n));
|
|
66
|
+
}, [o, n]), d(() => {
|
|
67
|
+
const e = r == null ? void 0 : r.current, l = () => {
|
|
68
|
+
var p;
|
|
69
|
+
e && (z((e == null ? void 0 : e.offsetTop) || 0), L(((p = e.getBoundingClientRect()) == null ? void 0 : p.left) || 0), H((e == null ? void 0 : e.offsetWidth) || 0), j((e == null ? void 0 : e.offsetHeight) || 0));
|
|
70
|
+
};
|
|
71
|
+
return e && (l(), window.addEventListener("resize", l)), () => {
|
|
72
|
+
e && window.removeEventListener("resize", l);
|
|
73
|
+
};
|
|
74
|
+
}, [r]), d(() => () => {
|
|
75
|
+
document.body.removeAttribute("style"), c.current && clearTimeout(c.current), u.current && clearTimeout(u.current);
|
|
76
|
+
}, []), x ? null : P(
|
|
77
|
+
/* @__PURE__ */ a(
|
|
78
|
+
S,
|
|
79
|
+
{
|
|
80
|
+
ref: $,
|
|
81
|
+
open: b,
|
|
82
|
+
transitionDuration: n,
|
|
83
|
+
onClick: f,
|
|
84
|
+
hasContainer: A,
|
|
85
|
+
containerTop: k,
|
|
86
|
+
containerLeft: I,
|
|
87
|
+
containerWidth: B,
|
|
88
|
+
containerHeight: W,
|
|
89
|
+
...v,
|
|
90
|
+
css: C,
|
|
91
|
+
children: /* @__PURE__ */ a(q, { fullScreen: g, centered: w, children: s })
|
|
92
|
+
}
|
|
93
|
+
),
|
|
94
|
+
document.body
|
|
95
|
+
);
|
|
96
|
+
});
|
|
97
|
+
export {
|
|
98
|
+
K as default
|
|
99
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Backdrop').BackdropProps & 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 Centered: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Backdrop.cjs");exports.default=e.default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@emotion/react/jsx-runtime"),f=require("react"),p=require("@emotion/styled"),j=e=>e&&e.__esModule?e:{default:e},n=j(p),b=n.default.div`
|
|
2
|
+
position: relative;
|
|
3
|
+
width: inherit;
|
|
4
|
+
`,c=n.default.div`
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
position: ${({position:e})=>e};
|
|
9
|
+
border-radius: 20px;
|
|
10
|
+
|
|
11
|
+
${({theme:{palette:{pink:e,etc:t}},color:r})=>{let i={backgroundColor:e[90]};return r==="orange"&&(i={backgroundColor:t.orange}),i}};
|
|
12
|
+
|
|
13
|
+
${({size:e,horizontal:t})=>{let r={height:8,minWidth:8,top:0,left:t==="left"?0:"auto",right:t==="right"?0:"auto"};return e==="large"&&(r={height:16,minWidth:16,top:-4,left:t==="left"?-8:"auto",right:t==="right"?-8:"auto"}),r}};
|
|
14
|
+
`,h=n.default.span`
|
|
15
|
+
${({theme:{palette:{grey:e},typography:{c4B:t}}})=>({fontSize:t.size,fontWeight:t.weight,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,color:e.white})}
|
|
16
|
+
`,m=f.forwardRef(function({children:t,color:r,size:i="small",position:s="absolute",horizontal:d="right",content:a,inlineCSS:u,...g},o){return s==="static"?l.jsx(c,{ref:o,position:s,color:r,size:i,horizontal:d,...g,css:u,children:i==="large"&&a&&l.jsx(h,{children:a})}):l.jsxs(b,{children:[l.jsx(c,{ref:o,position:s,color:r,size:i,horizontal:d,...g,css:u,children:i==="large"&&a&&l.jsx(h,{children:a})}),t]})});exports.default=m;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { ColorScaleKey } from '../typings/color';
|
|
3
|
+
import { GeneralComponentProps, Size } from '../typings/component';
|
|
4
|
+
import { EtcColorKey } from '../typings/theme/core';
|
|
5
|
+
|
|
6
|
+
export interface BadgeProps extends GeneralComponentProps<Omit<HTMLAttributes<HTMLDivElement>, 'content'>> {
|
|
7
|
+
color?: Extract<ColorScaleKey, 'pink'> | Extract<EtcColorKey, 'orange'>;
|
|
8
|
+
size?: Extract<Size, 'small' | 'large'>;
|
|
9
|
+
position?: 'absolute' | 'static';
|
|
10
|
+
horizontal?: 'left' | 'right';
|
|
11
|
+
content?: string | number;
|
|
12
|
+
}
|
|
13
|
+
declare const Badge: import('react').ForwardRefExoticComponent<BadgeProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export default Badge;
|