@ncds/ui-admin 1.6.4 → 1.7.0
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/dist/cjs/assets/scripts/baseBox.js +148 -0
- package/dist/cjs/assets/scripts/comboBox.js +44 -136
- package/dist/cjs/assets/scripts/datePicker.js +1 -1
- package/dist/cjs/assets/scripts/featuredIcon.js +1 -1
- package/dist/cjs/assets/scripts/fileInput/const/classNames.js +1 -5
- package/dist/cjs/assets/scripts/fileInput/fileInput.js +79 -0
- package/dist/cjs/assets/scripts/fileInput/fileInputModel.js +61 -0
- package/dist/cjs/assets/scripts/fileInput/fileInputView.js +147 -0
- package/dist/cjs/assets/scripts/fileInput/index.js +3 -3
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInputView.js +1 -1
- package/dist/cjs/assets/scripts/selectBox.js +46 -136
- package/dist/cjs/assets/scripts/utils/debounce.js +33 -0
- package/dist/cjs/assets/scripts/utils/unifiedBox/{DropdownModel.js → dropdownModel.js} +21 -63
- package/dist/cjs/assets/scripts/utils/unifiedBox/{UnifiedBoxController.js → unifiedBoxController.js} +11 -43
- package/dist/cjs/assets/scripts/utils/unifiedBox/{UnifiedBoxManager.js → unifiedBoxManager.js} +59 -101
- package/dist/cjs/src/components/badge/Badge.js +1 -1
- package/dist/cjs/src/components/breadcrumb/BreadCrumb.js +1 -1
- package/dist/cjs/src/components/button/Button.js +13 -5
- package/dist/cjs/src/components/button/ButtonGroup.js +1 -2
- package/dist/cjs/src/components/carousel/CarouselArrow.js +2 -2
- package/dist/cjs/src/components/carousel/CarouselNumberGroup.js +4 -5
- package/dist/cjs/src/components/checkbox/CheckboxInput.js +1 -1
- package/dist/cjs/src/components/combobox/ComboBox.js +54 -43
- package/dist/cjs/src/components/date-picker/CustomInput.js +3 -1
- package/dist/cjs/src/components/date-picker/DatePicker.js +85 -65
- package/dist/cjs/src/components/date-picker/RangeDatePicker.js +46 -37
- package/dist/cjs/src/components/divider/Divider.js +1 -1
- package/dist/cjs/src/components/dot/Dot.js +1 -1
- package/dist/cjs/src/components/dropdown/Dropdown.js +3 -2
- package/dist/cjs/src/components/featured-icon/FeaturedIcon.js +1 -1
- package/dist/cjs/src/components/file-input/FileInput.js +3 -3
- package/dist/cjs/src/components/image-file-input/ImageFileInput.js +5 -2
- package/dist/cjs/src/components/input/NumberInput.js +1 -1
- package/dist/cjs/src/components/notification/index.js +11 -11
- package/dist/cjs/src/components/pagination/NavButton.js +3 -1
- package/dist/cjs/src/components/pagination/Pagination.js +65 -67
- package/dist/cjs/src/components/progress-bar/ProgressBar.js +13 -9
- package/dist/cjs/src/components/progress-bar/components/SegmentBar.js +1 -1
- package/dist/cjs/src/components/progress-bar/components/SegmentLabels.js +1 -1
- package/dist/cjs/src/components/progress-bar/hooks/useProgressBar.js +3 -2
- package/dist/cjs/src/components/progress-bar/utils.js +3 -2
- package/dist/cjs/src/components/progress-circle/ProgressCircle.js +41 -41
- package/dist/cjs/src/components/select/Select.js +2 -2
- package/dist/cjs/src/components/selectbox/SelectBox.js +57 -45
- package/dist/cjs/src/components/spinner/Spinner.js +5 -4
- package/dist/cjs/src/components/spinner/index.js +0 -11
- package/dist/cjs/src/components/switch/Switch.js +15 -10
- package/dist/cjs/src/components/tab/HorizontalTab.js +5 -3
- package/dist/cjs/src/components/tab/TabButton.js +1 -1
- package/dist/cjs/src/components/toggle/Toggle.js +13 -15
- package/dist/cjs/src/components/tooltip/Tooltip.js +28 -13
- package/dist/cjs/src/constant/index.js +8 -8
- package/dist/cjs/src/hooks/dropdown/useDropdownKeyboard.js +47 -56
- package/dist/cjs/src/hooks/dropdown/useScrollLock.js +26 -19
- package/dist/cjs/src/hooks/index.js +4 -4
- package/dist/cjs/src/utils/date-picker.js +14 -7
- package/dist/cjs/src/utils/dropdown/dropdownUtils.js +6 -8
- package/dist/esm/assets/scripts/baseBox.js +143 -0
- package/dist/esm/assets/scripts/comboBox.js +44 -136
- package/dist/esm/assets/scripts/datePicker.js +1 -1
- package/dist/esm/assets/scripts/featuredIcon.js +1 -1
- package/dist/esm/assets/scripts/fileInput/const/classNames.js +0 -3
- package/dist/esm/assets/scripts/fileInput/fileInput.js +74 -0
- package/dist/esm/assets/scripts/fileInput/fileInputModel.js +56 -0
- package/dist/esm/assets/scripts/fileInput/fileInputView.js +142 -0
- package/dist/esm/assets/scripts/fileInput/index.js +2 -2
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInputView.js +2 -2
- package/dist/esm/assets/scripts/selectBox.js +46 -136
- package/dist/esm/assets/scripts/utils/debounce.js +27 -0
- package/dist/esm/assets/scripts/utils/unifiedBox/{DropdownModel.js → dropdownModel.js} +23 -66
- package/dist/esm/assets/scripts/utils/unifiedBox/{UnifiedBoxController.js → unifiedBoxController.js} +11 -43
- package/dist/esm/assets/scripts/utils/unifiedBox/{UnifiedBoxManager.js → unifiedBoxManager.js} +53 -95
- package/dist/esm/src/components/badge/Badge.js +4 -3
- package/dist/esm/src/components/badge/BadgeGroup.js +3 -2
- package/dist/esm/src/components/badge/utils.js +3 -2
- package/dist/esm/src/components/breadcrumb/BreadCrumb.js +4 -3
- package/dist/esm/src/components/button/Button.js +13 -5
- package/dist/esm/src/components/button/ButtonCloseX.js +3 -2
- package/dist/esm/src/components/button/ButtonGroup.js +3 -2
- package/dist/esm/src/components/carousel/CarouselArrow.js +2 -2
- package/dist/esm/src/components/carousel/CarouselNumberGroup.js +4 -5
- package/dist/esm/src/components/checkbox/CheckboxInput.js +1 -1
- package/dist/esm/src/components/combobox/ComboBox.js +58 -46
- package/dist/esm/src/components/date-picker/CustomInput.js +6 -3
- package/dist/esm/src/components/date-picker/DatePicker.js +88 -67
- package/dist/esm/src/components/date-picker/RangeDatePicker.js +49 -39
- package/dist/esm/src/components/date-picker/RangeDatePickerWithButtons.js +3 -2
- package/dist/esm/src/components/divider/Divider.js +1 -1
- package/dist/esm/src/components/dot/Dot.js +4 -3
- package/dist/esm/src/components/dropdown/Dropdown.js +3 -2
- package/dist/esm/src/components/empty-state/EmptyState.js +3 -2
- package/dist/esm/src/components/featured-icon/FeaturedIcon.js +4 -3
- package/dist/esm/src/components/file-input/FileInput.js +3 -3
- package/dist/esm/src/components/image-file-input/ImageFileInput.js +6 -3
- package/dist/esm/src/components/input/InputBase.js +3 -2
- package/dist/esm/src/components/input/NumberInput.js +1 -1
- package/dist/esm/src/components/modal/Modal.js +3 -2
- package/dist/esm/src/components/notification/FloatingNotification.js +3 -2
- package/dist/esm/src/components/notification/FullWidthNotification.js +3 -2
- package/dist/esm/src/components/notification/MessageNotification.js +3 -2
- package/dist/esm/src/components/notification/Notification.js +3 -2
- package/dist/esm/src/components/notification/index.js +2 -2
- package/dist/esm/src/components/pagination/NavButton.js +3 -1
- package/dist/esm/src/components/pagination/Pagination.js +65 -67
- package/dist/esm/src/components/progress-bar/ProgressBar.js +13 -9
- package/dist/esm/src/components/progress-bar/components/SegmentBar.js +1 -1
- package/dist/esm/src/components/progress-bar/components/SegmentLabels.js +5 -4
- package/dist/esm/src/components/progress-bar/hooks/useProgressBar.js +3 -2
- package/dist/esm/src/components/progress-bar/utils.js +7 -5
- package/dist/esm/src/components/progress-circle/ProgressCircle.js +41 -41
- package/dist/esm/src/components/select/Select.js +2 -2
- package/dist/esm/src/components/select-dropdown/SelectDropdown.js +3 -2
- package/dist/esm/src/components/selectbox/SelectBox.js +61 -48
- package/dist/esm/src/components/spinner/Spinner.js +5 -4
- package/dist/esm/src/components/spinner/index.js +1 -2
- package/dist/esm/src/components/switch/Switch.js +19 -13
- package/dist/esm/src/components/tab/HorizontalTab.js +9 -6
- package/dist/esm/src/components/tab/TabButton.js +4 -3
- package/dist/esm/src/components/tag/Tag.js +3 -2
- package/dist/esm/src/components/toggle/Toggle.js +14 -16
- package/dist/esm/src/components/tooltip/Tooltip.js +29 -14
- package/dist/esm/src/constant/index.js +2 -2
- package/dist/esm/src/hooks/dropdown/useDropdownKeyboard.js +47 -56
- package/dist/esm/src/hooks/dropdown/useScrollLock.js +26 -19
- package/dist/esm/src/hooks/index.js +3 -3
- package/dist/esm/src/utils/date-picker.js +14 -7
- package/dist/esm/src/utils/dropdown/dropdownUtils.js +6 -8
- package/dist/temp/assets/scripts/baseBox.d.ts +55 -0
- package/dist/temp/assets/scripts/baseBox.js +144 -0
- package/dist/temp/assets/scripts/comboBox.d.ts +60 -0
- package/dist/temp/assets/scripts/comboBox.js +163 -0
- package/dist/temp/assets/scripts/datePicker.d.ts +86 -0
- package/dist/temp/assets/scripts/datePicker.js +706 -0
- package/dist/temp/assets/scripts/featuredIcon.d.ts +22 -0
- package/dist/temp/assets/scripts/featuredIcon.js +86 -0
- package/dist/temp/assets/scripts/fileInput/const/classNames.d.ts +15 -0
- package/dist/temp/assets/scripts/fileInput/const/classNames.js +20 -0
- package/dist/temp/assets/scripts/fileInput/const/index.d.ts +2 -0
- package/dist/temp/assets/scripts/fileInput/const/index.js +2 -0
- package/dist/temp/assets/scripts/fileInput/const/types.d.ts +88 -0
- package/dist/temp/assets/scripts/fileInput/const/types.js +7 -0
- package/dist/temp/assets/scripts/fileInput/fileInput.d.ts +13 -0
- package/dist/temp/assets/scripts/fileInput/fileInput.js +75 -0
- package/dist/temp/assets/scripts/fileInput/fileInputModel.d.ts +12 -0
- package/dist/temp/assets/scripts/fileInput/fileInputModel.js +45 -0
- package/dist/temp/assets/scripts/fileInput/fileInputView.d.ts +42 -0
- package/dist/temp/assets/scripts/fileInput/fileInputView.js +142 -0
- package/dist/temp/assets/scripts/fileInput/index.d.ts +3 -0
- package/dist/temp/assets/scripts/fileInput/index.js +9 -0
- package/dist/{types/assets/scripts/fileInput/FileInput.d.ts → temp/assets/scripts/imageFileInput/ImageFileInput.d.ts} +6 -10
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInput.js +186 -0
- package/dist/{types/assets/scripts/fileInput/FileInputModel.d.ts → temp/assets/scripts/imageFileInput/ImageFileInputModel.d.ts} +8 -5
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInputModel.js +234 -0
- package/dist/{types/assets/scripts/fileInput/FileInputView.d.ts → temp/assets/scripts/imageFileInput/ImageFileInputView.d.ts} +27 -25
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInputView.js +348 -0
- package/dist/temp/assets/scripts/imageFileInput/const/classNames.d.ts +19 -0
- package/dist/temp/assets/scripts/imageFileInput/const/classNames.js +24 -0
- package/dist/temp/assets/scripts/imageFileInput/const/index.d.ts +2 -0
- package/dist/temp/assets/scripts/imageFileInput/const/index.js +2 -0
- package/dist/temp/assets/scripts/imageFileInput/const/types.d.ts +125 -0
- package/dist/temp/assets/scripts/imageFileInput/const/types.js +7 -0
- package/dist/temp/assets/scripts/imageFileInput/index.d.ts +3 -0
- package/dist/temp/assets/scripts/imageFileInput/index.js +9 -0
- package/dist/temp/assets/scripts/index.d.ts +32 -0
- package/dist/temp/assets/scripts/index.js +28 -0
- package/dist/temp/assets/scripts/modal/Modal.d.ts +27 -0
- package/dist/temp/assets/scripts/modal/Modal.js +106 -0
- package/dist/temp/assets/scripts/modal/ModalActions.d.ts +18 -0
- package/dist/temp/assets/scripts/modal/ModalActions.js +125 -0
- package/dist/temp/assets/scripts/modal/ModalContent.d.ts +13 -0
- package/dist/temp/assets/scripts/modal/ModalContent.js +41 -0
- package/dist/temp/assets/scripts/modal/ModalHeader.d.ts +15 -0
- package/dist/temp/assets/scripts/modal/ModalHeader.js +102 -0
- package/dist/temp/assets/scripts/modal/const/classNames.d.ts +22 -0
- package/dist/temp/assets/scripts/modal/const/classNames.js +23 -0
- package/dist/temp/assets/scripts/modal/const/index.d.ts +2 -0
- package/dist/temp/assets/scripts/modal/const/index.js +2 -0
- package/dist/temp/assets/scripts/modal/const/types.d.ts +61 -0
- package/dist/temp/assets/scripts/modal/const/types.js +1 -0
- package/dist/temp/assets/scripts/modal/index.d.ts +7 -0
- package/dist/temp/assets/scripts/modal/index.js +15 -0
- package/dist/temp/assets/scripts/modal/utils/contentUtils.d.ts +10 -0
- package/dist/temp/assets/scripts/modal/utils/contentUtils.js +29 -0
- package/dist/temp/assets/scripts/notification/FloatingNotification.d.ts +24 -0
- package/dist/temp/assets/scripts/notification/FloatingNotification.js +154 -0
- package/dist/temp/assets/scripts/notification/FullWidthNotification.d.ts +21 -0
- package/dist/temp/assets/scripts/notification/FullWidthNotification.js +94 -0
- package/dist/temp/assets/scripts/notification/MessageNotification.d.ts +22 -0
- package/dist/temp/assets/scripts/notification/MessageNotification.js +123 -0
- package/dist/temp/assets/scripts/notification/Notification.d.ts +21 -0
- package/dist/temp/assets/scripts/notification/Notification.js +108 -0
- package/dist/temp/assets/scripts/notification/const/classNames.d.ts +43 -0
- package/dist/temp/assets/scripts/notification/const/classNames.js +44 -0
- package/dist/temp/assets/scripts/notification/const/icons.d.ts +25 -0
- package/dist/temp/assets/scripts/notification/const/icons.js +39 -0
- package/dist/temp/assets/scripts/notification/const/index.d.ts +5 -0
- package/dist/temp/assets/scripts/notification/const/index.js +4 -0
- package/dist/temp/assets/scripts/notification/const/sizes.d.ts +32 -0
- package/dist/temp/assets/scripts/notification/const/sizes.js +40 -0
- package/dist/temp/assets/scripts/notification/const/types.d.ts +19 -0
- package/dist/temp/assets/scripts/notification/const/types.js +8 -0
- package/dist/temp/assets/scripts/notification/index.d.ts +7 -0
- package/dist/temp/assets/scripts/notification/index.js +11 -0
- package/dist/temp/assets/scripts/notification/utils.d.ts +8 -0
- package/dist/temp/assets/scripts/notification/utils.js +84 -0
- package/dist/temp/assets/scripts/progress-bar/ProgressBar.d.ts +67 -0
- package/dist/temp/assets/scripts/progress-bar/ProgressBar.js +258 -0
- package/dist/temp/assets/scripts/progress-bar/index.d.ts +1 -0
- package/dist/temp/assets/scripts/progress-bar/index.js +1 -0
- package/dist/temp/assets/scripts/selectBox.d.ts +50 -0
- package/dist/temp/assets/scripts/selectBox.js +194 -0
- package/dist/temp/assets/scripts/shared/ButtonCloseX.d.ts +5 -0
- package/dist/temp/assets/scripts/shared/ButtonCloseX.js +32 -0
- package/dist/temp/assets/scripts/slider.d.ts +41 -0
- package/dist/temp/assets/scripts/slider.js +331 -0
- package/dist/temp/assets/scripts/tab.d.ts +7 -0
- package/dist/temp/assets/scripts/tab.js +35 -0
- package/dist/temp/assets/scripts/tag/Tag.d.ts +27 -0
- package/dist/temp/assets/scripts/tag/Tag.js +267 -0
- package/dist/temp/assets/scripts/tag/const/classNames.d.ts +11 -0
- package/dist/temp/assets/scripts/tag/const/classNames.js +12 -0
- package/dist/temp/assets/scripts/tag/const/index.d.ts +3 -0
- package/dist/temp/assets/scripts/tag/const/index.js +3 -0
- package/dist/temp/assets/scripts/tag/const/sizes.d.ts +7 -0
- package/dist/temp/assets/scripts/tag/const/sizes.js +7 -0
- package/dist/temp/assets/scripts/tag/const/types.d.ts +33 -0
- package/dist/temp/assets/scripts/tag/const/types.js +1 -0
- package/dist/temp/assets/scripts/tag/index.d.ts +3 -0
- package/dist/temp/assets/scripts/tag/index.js +9 -0
- package/dist/temp/assets/scripts/tooltip/Tooltip.d.ts +54 -0
- package/dist/temp/assets/scripts/tooltip/Tooltip.js +360 -0
- package/dist/temp/assets/scripts/tooltip/TooltipLayerManager.d.ts +21 -0
- package/dist/temp/assets/scripts/tooltip/TooltipLayerManager.js +74 -0
- package/dist/temp/assets/scripts/tooltip/const/classNames.d.ts +17 -0
- package/dist/temp/assets/scripts/tooltip/const/classNames.js +23 -0
- package/dist/temp/assets/scripts/tooltip/const/constants.d.ts +33 -0
- package/dist/temp/assets/scripts/tooltip/const/constants.js +46 -0
- package/dist/temp/assets/scripts/tooltip/const/icons.d.ts +4 -0
- package/dist/temp/assets/scripts/tooltip/const/icons.js +9 -0
- package/dist/temp/assets/scripts/tooltip/const/index.d.ts +5 -0
- package/dist/temp/assets/scripts/tooltip/const/index.js +4 -0
- package/dist/temp/assets/scripts/tooltip/const/templates.d.ts +16 -0
- package/dist/temp/assets/scripts/tooltip/const/templates.js +30 -0
- package/dist/temp/assets/scripts/tooltip/const/types.d.ts +14 -0
- package/dist/temp/assets/scripts/tooltip/const/types.js +1 -0
- package/dist/temp/assets/scripts/tooltip/index.d.ts +6 -0
- package/dist/temp/assets/scripts/tooltip/index.js +10 -0
- package/dist/temp/assets/scripts/tooltip/utils.d.ts +2 -0
- package/dist/temp/assets/scripts/tooltip/utils.js +35 -0
- package/dist/temp/assets/scripts/utils/debounce.d.ts +8 -0
- package/dist/temp/assets/scripts/utils/debounce.js +27 -0
- package/dist/{types/assets/scripts/utils/unifiedBox/DOMRenderer.d.ts → temp/assets/scripts/utils/unifiedBox/domRenderer.d.ts} +0 -1
- package/dist/temp/assets/scripts/utils/unifiedBox/domRenderer.js +376 -0
- package/dist/{types/assets/scripts/utils/unifiedBox/DropdownModel.d.ts → temp/assets/scripts/utils/unifiedBox/dropdownModel.d.ts} +7 -23
- package/dist/temp/assets/scripts/utils/unifiedBox/dropdownModel.js +311 -0
- package/dist/{types/assets/scripts/utils/unifiedBox/UnifiedBoxController.d.ts → temp/assets/scripts/utils/unifiedBox/unifiedBoxController.d.ts} +3 -18
- package/dist/temp/assets/scripts/utils/unifiedBox/unifiedBoxController.js +627 -0
- package/dist/{types/assets/scripts/utils/unifiedBox/UnifiedBoxManager.d.ts → temp/assets/scripts/utils/unifiedBox/unifiedBoxManager.d.ts} +4 -8
- package/dist/temp/assets/scripts/utils/unifiedBox/unifiedBoxManager.js +559 -0
- package/dist/temp/constant/color.d.ts +36 -0
- package/dist/temp/constant/color.js +34 -0
- package/dist/temp/constant/size.d.ts +1 -0
- package/dist/temp/constant/size.js +1 -0
- package/dist/temp/index.d.ts +29 -0
- package/dist/temp/index.js +29 -0
- package/dist/temp/src/components/badge/Badge.d.ts +18 -0
- package/dist/temp/src/components/badge/Badge.js +23 -0
- package/dist/temp/src/components/badge/BadgeGroup.d.ts +18 -0
- package/dist/temp/src/components/badge/BadgeGroup.js +36 -0
- package/dist/temp/src/components/badge/index.d.ts +2 -0
- package/dist/temp/src/components/badge/index.js +2 -0
- package/dist/temp/src/components/badge/utils.d.ts +8 -0
- package/dist/temp/src/components/badge/utils.js +17 -0
- package/dist/temp/src/components/breadcrumb/BreadCrumb.d.ts +11 -0
- package/dist/temp/src/components/breadcrumb/BreadCrumb.js +33 -0
- package/dist/temp/src/components/breadcrumb/index.d.ts +1 -0
- package/dist/temp/src/components/breadcrumb/index.js +1 -0
- package/dist/temp/src/components/button/Button.d.ts +35 -0
- package/dist/temp/src/components/button/Button.js +69 -0
- package/dist/temp/src/components/button/ButtonCloseX.d.ts +10 -0
- package/dist/temp/src/components/button/ButtonCloseX.js +25 -0
- package/dist/temp/src/components/button/ButtonGroup.d.ts +311 -0
- package/dist/temp/src/components/button/ButtonGroup.js +72 -0
- package/dist/temp/src/components/button/ButtonStepper.d.ts +9 -0
- package/dist/temp/src/components/button/ButtonStepper.js +6 -0
- package/dist/temp/src/components/button/index.d.ts +4 -0
- package/dist/temp/src/components/button/index.js +4 -0
- package/dist/temp/src/components/carousel/CarouselArrow.d.ts +8 -0
- package/dist/temp/src/components/carousel/CarouselArrow.js +24 -0
- package/dist/temp/src/components/carousel/CarouselNumberGroup.d.ts +8 -0
- package/dist/temp/src/components/carousel/CarouselNumberGroup.js +24 -0
- package/dist/temp/src/components/carousel/index.d.ts +2 -0
- package/dist/temp/src/components/carousel/index.js +2 -0
- package/dist/temp/src/components/checkbox/Checkbox.d.ts +7 -0
- package/dist/temp/src/components/checkbox/Checkbox.js +30 -0
- package/dist/temp/src/components/checkbox/CheckboxInput.d.ts +9 -0
- package/dist/temp/src/components/checkbox/CheckboxInput.js +46 -0
- package/dist/temp/src/components/checkbox/index.d.ts +2 -0
- package/dist/temp/src/components/checkbox/index.js +2 -0
- package/dist/temp/src/components/combobox/ComboBox.d.ts +28 -0
- package/dist/temp/src/components/combobox/ComboBox.js +199 -0
- package/dist/temp/src/components/combobox/index.d.ts +2 -0
- package/dist/temp/src/components/combobox/index.js +1 -0
- package/dist/temp/src/components/date-picker/CustomInput.d.ts +10 -0
- package/dist/temp/src/components/date-picker/CustomInput.js +34 -0
- package/dist/temp/src/components/date-picker/DatePicker.d.ts +24 -0
- package/dist/temp/src/components/date-picker/DatePicker.js +326 -0
- package/dist/temp/src/components/date-picker/RangeDatePicker.d.ts +26 -0
- package/dist/temp/src/components/date-picker/RangeDatePicker.js +117 -0
- package/dist/temp/src/components/date-picker/RangeDatePickerWithButtons.d.ts +71 -0
- package/dist/temp/src/components/date-picker/RangeDatePickerWithButtons.js +55 -0
- package/dist/temp/src/components/date-picker/index.d.ts +4 -0
- package/dist/temp/src/components/date-picker/index.js +4 -0
- package/dist/temp/src/components/date-picker/utils.d.ts +2 -0
- package/dist/temp/src/components/date-picker/utils.js +8 -0
- package/dist/temp/src/components/divider/Divider.d.ts +15 -0
- package/dist/temp/src/components/divider/Divider.js +23 -0
- package/dist/temp/src/components/divider/index.d.ts +1 -0
- package/dist/temp/src/components/divider/index.js +1 -0
- package/dist/temp/src/components/dot/Dot.d.ts +24 -0
- package/dist/temp/src/components/dot/Dot.js +31 -0
- package/dist/temp/src/components/dot/index.d.ts +1 -0
- package/dist/temp/src/components/dot/index.js +1 -0
- package/dist/temp/src/components/dropdown/Dropdown.d.ts +52 -0
- package/dist/temp/src/components/dropdown/Dropdown.js +90 -0
- package/dist/temp/src/components/dropdown/index.d.ts +1 -0
- package/dist/temp/src/components/dropdown/index.js +1 -0
- package/dist/temp/src/components/empty-state/EmptyState.d.ts +14 -0
- package/dist/temp/src/components/empty-state/EmptyState.js +33 -0
- package/dist/temp/src/components/empty-state/index.d.ts +1 -0
- package/dist/temp/src/components/empty-state/index.js +1 -0
- package/dist/temp/src/components/featured-icon/FeaturedIcon.d.ts +15 -0
- package/dist/temp/src/components/featured-icon/FeaturedIcon.js +36 -0
- package/dist/temp/src/components/featured-icon/index.d.ts +1 -0
- package/dist/temp/src/components/featured-icon/index.js +1 -0
- package/dist/temp/src/components/file-input/FileInput.d.ts +61 -0
- package/dist/temp/src/components/file-input/FileInput.js +123 -0
- package/dist/temp/src/components/file-input/index.d.ts +1 -0
- package/dist/temp/src/components/file-input/index.js +1 -0
- package/dist/temp/src/components/image-file-input/ImageFileInput.d.ts +70 -0
- package/dist/temp/src/components/image-file-input/ImageFileInput.js +124 -0
- package/dist/temp/src/components/image-file-input/components/ImagePreview.d.ts +5 -0
- package/dist/temp/src/components/image-file-input/components/ImagePreview.js +18 -0
- package/dist/temp/src/components/image-file-input/index.d.ts +1 -0
- package/dist/temp/src/components/image-file-input/index.js +1 -0
- package/dist/temp/src/components/index.d.ts +33 -0
- package/dist/temp/src/components/index.js +32 -0
- package/dist/temp/src/components/input/InputBase.d.ts +54 -0
- package/dist/temp/src/components/input/InputBase.js +121 -0
- package/dist/temp/src/components/input/NumberInput.d.ts +9 -0
- package/dist/temp/src/components/input/NumberInput.js +93 -0
- package/dist/temp/src/components/input/PasswordInput.d.ts +2 -0
- package/dist/temp/src/components/input/PasswordInput.js +51 -0
- package/dist/temp/src/components/input/Textarea.d.ts +14 -0
- package/dist/temp/src/components/input/Textarea.js +60 -0
- package/dist/temp/src/components/input/index.d.ts +4 -0
- package/dist/temp/src/components/input/index.js +4 -0
- package/dist/temp/src/components/modal/Modal.d.ts +79 -0
- package/dist/temp/src/components/modal/Modal.js +101 -0
- package/dist/temp/src/components/modal/index.d.ts +1 -0
- package/dist/temp/src/components/modal/index.js +1 -0
- package/dist/temp/src/components/notification/FloatingNotification.d.ts +37 -0
- package/dist/temp/src/components/notification/FloatingNotification.js +79 -0
- package/dist/temp/src/components/notification/FullWidthNotification.d.ts +46 -0
- package/dist/temp/src/components/notification/FullWidthNotification.js +79 -0
- package/dist/temp/src/components/notification/MessageNotification.d.ts +41 -0
- package/dist/temp/src/components/notification/MessageNotification.js +57 -0
- package/dist/temp/src/components/notification/Notification.d.ts +72 -0
- package/dist/temp/src/components/notification/Notification.js +42 -0
- package/dist/temp/src/components/notification/index.d.ts +4 -0
- package/dist/temp/src/components/notification/index.js +4 -0
- package/dist/temp/src/components/pagination/NavButton.d.ts +31 -0
- package/dist/temp/src/components/pagination/NavButton.js +66 -0
- package/dist/temp/src/components/pagination/Pagination.d.ts +11 -0
- package/dist/temp/src/components/pagination/Pagination.js +93 -0
- package/dist/temp/src/components/pagination/index.d.ts +2 -0
- package/dist/temp/src/components/pagination/index.js +2 -0
- package/dist/temp/src/components/progress-bar/ProgressBar.d.ts +2 -0
- package/dist/temp/src/components/progress-bar/ProgressBar.js +31 -0
- package/dist/temp/src/components/progress-bar/components/SegmentBar.d.ts +7 -0
- package/dist/temp/src/components/progress-bar/components/SegmentBar.js +10 -0
- package/dist/temp/src/components/progress-bar/components/SegmentLabels.d.ts +15 -0
- package/dist/temp/src/components/progress-bar/components/SegmentLabels.js +45 -0
- package/dist/temp/src/components/progress-bar/hooks/useProgressBar.d.ts +13 -0
- package/dist/temp/src/components/progress-bar/hooks/useProgressBar.js +96 -0
- package/dist/temp/src/components/progress-bar/index.d.ts +2 -0
- package/dist/temp/src/components/progress-bar/index.js +2 -0
- package/dist/temp/src/components/progress-bar/types.d.ts +15 -0
- package/dist/temp/src/components/progress-bar/types.js +1 -0
- package/dist/temp/src/components/progress-bar/utils.d.ts +13 -0
- package/dist/temp/src/components/progress-bar/utils.js +26 -0
- package/dist/temp/src/components/progress-circle/ProgressCircle.d.ts +7 -0
- package/dist/temp/src/components/progress-circle/ProgressCircle.js +21 -0
- package/dist/temp/src/components/progress-circle/index.d.ts +1 -0
- package/dist/temp/src/components/progress-circle/index.js +1 -0
- package/dist/temp/src/components/radio/Radio.d.ts +7 -0
- package/dist/temp/src/components/radio/Radio.js +30 -0
- package/dist/temp/src/components/radio/RadioInput.d.ts +8 -0
- package/dist/temp/src/components/radio/RadioInput.js +29 -0
- package/dist/temp/src/components/radio/index.d.ts +2 -0
- package/dist/temp/src/components/radio/index.js +2 -0
- package/dist/temp/src/components/select/Select.d.ts +16 -0
- package/dist/temp/src/components/select/Select.js +33 -0
- package/dist/temp/src/components/select/index.d.ts +1 -0
- package/dist/temp/src/components/select/index.js +1 -0
- package/dist/temp/src/components/select-dropdown/SelectDropdown.d.ts +29 -0
- package/dist/temp/src/components/select-dropdown/SelectDropdown.js +49 -0
- package/dist/temp/src/components/select-dropdown/index.d.ts +1 -0
- package/dist/temp/src/components/select-dropdown/index.js +1 -0
- package/dist/temp/src/components/selectbox/SelectBox.d.ts +27 -0
- package/dist/temp/src/components/selectbox/SelectBox.js +163 -0
- package/dist/temp/src/components/selectbox/index.d.ts +1 -0
- package/dist/temp/src/components/selectbox/index.js +1 -0
- package/dist/temp/src/components/shared/hintText/HintText.d.ts +7 -0
- package/dist/temp/src/components/shared/hintText/HintText.js +28 -0
- package/dist/temp/src/components/shared/hintText/index.d.ts +1 -0
- package/dist/temp/src/components/shared/hintText/index.js +1 -0
- package/dist/temp/src/components/shared/index.d.ts +2 -0
- package/dist/temp/src/components/shared/index.js +2 -0
- package/dist/temp/src/components/shared/label/Label.d.ts +7 -0
- package/dist/temp/src/components/shared/label/Label.js +28 -0
- package/dist/temp/src/components/shared/label/index.d.ts +1 -0
- package/dist/temp/src/components/shared/label/index.js +1 -0
- package/dist/temp/src/components/slider/Slider.d.ts +14 -0
- package/dist/temp/src/components/slider/Slider.js +44 -0
- package/dist/temp/src/components/slider/index.d.ts +1 -0
- package/dist/temp/src/components/slider/index.js +1 -0
- package/dist/temp/src/components/spinner/Spinner.d.ts +9 -0
- package/dist/temp/src/components/spinner/Spinner.js +21 -0
- package/dist/temp/src/components/spinner/index.d.ts +1 -0
- package/dist/temp/src/components/spinner/index.js +1 -0
- package/dist/temp/src/components/switch/Switch.d.ts +22 -0
- package/dist/temp/src/components/switch/Switch.js +68 -0
- package/dist/temp/src/components/switch/index.d.ts +2 -0
- package/dist/temp/src/components/switch/index.js +1 -0
- package/dist/temp/src/components/tab/HorizontalTab.d.ts +12 -0
- package/dist/temp/src/components/tab/HorizontalTab.js +37 -0
- package/dist/temp/src/components/tab/TabButton.d.ts +23 -0
- package/dist/temp/src/components/tab/TabButton.js +37 -0
- package/dist/temp/src/components/tab/VerticalTab.d.ts +9 -0
- package/dist/temp/src/components/tab/VerticalTab.js +32 -0
- package/dist/temp/src/components/tab/index.d.ts +3 -0
- package/dist/temp/src/components/tab/index.js +3 -0
- package/dist/temp/src/components/tag/Tag.d.ts +17 -0
- package/dist/temp/src/components/tag/Tag.js +110 -0
- package/dist/temp/src/components/tag/index.d.ts +1 -0
- package/dist/temp/src/components/tag/index.js +1 -0
- package/dist/temp/src/components/toggle/Toggle.d.ts +10 -0
- package/dist/temp/src/components/toggle/Toggle.js +30 -0
- package/dist/temp/src/components/toggle/index.d.ts +1 -0
- package/dist/temp/src/components/toggle/index.js +1 -0
- package/dist/temp/src/components/tooltip/Tooltip.d.ts +15 -0
- package/dist/temp/src/components/tooltip/Tooltip.js +122 -0
- package/dist/temp/src/components/tooltip/index.d.ts +1 -0
- package/dist/temp/src/components/tooltip/index.js +1 -0
- package/dist/temp/src/constant/breakpoint.d.ts +6 -0
- package/dist/temp/src/constant/breakpoint.js +6 -0
- package/dist/temp/src/constant/date-picker.d.ts +63 -0
- package/dist/temp/src/constant/date-picker.js +53 -0
- package/dist/temp/src/constant/index.d.ts +2 -0
- package/dist/temp/src/constant/index.js +2 -0
- package/dist/temp/src/constant/size.d.ts +1 -0
- package/dist/temp/src/constant/size.js +1 -0
- package/dist/temp/src/hooks/dropdown/index.d.ts +6 -0
- package/dist/temp/src/hooks/dropdown/index.js +6 -0
- package/dist/temp/src/hooks/dropdown/useDropdown.d.ts +29 -0
- package/dist/temp/src/hooks/dropdown/useDropdown.js +84 -0
- package/dist/temp/src/hooks/dropdown/useDropdownKeyboard.d.ts +10 -0
- package/dist/temp/src/hooks/dropdown/useDropdownKeyboard.js +108 -0
- package/dist/temp/src/hooks/dropdown/useDropdownPosition.d.ts +9 -0
- package/dist/temp/src/hooks/dropdown/useDropdownPosition.js +18 -0
- package/dist/temp/src/hooks/dropdown/useOutsideClick.d.ts +5 -0
- package/dist/temp/src/hooks/dropdown/useOutsideClick.js +23 -0
- package/dist/temp/src/hooks/dropdown/useScrollLock.d.ts +4 -0
- package/dist/temp/src/hooks/dropdown/useScrollLock.js +72 -0
- package/dist/temp/src/hooks/dropdown/useWindowResize.d.ts +7 -0
- package/dist/temp/src/hooks/dropdown/useWindowResize.js +44 -0
- package/dist/temp/src/hooks/index.d.ts +4 -0
- package/dist/temp/src/hooks/index.js +6 -0
- package/dist/temp/src/hooks/useCallbackRef.d.ts +27 -0
- package/dist/temp/src/hooks/useCallbackRef.js +44 -0
- package/dist/temp/src/hooks/useMediaQuery.d.ts +5 -0
- package/dist/temp/src/hooks/useMediaQuery.js +20 -0
- package/dist/temp/src/hooks/useMergeRefs.d.ts +20 -0
- package/dist/temp/src/hooks/useMergeRefs.js +31 -0
- package/dist/temp/src/types/dropdown/dropdown.d.ts +39 -0
- package/dist/temp/src/types/dropdown/dropdown.js +1 -0
- package/dist/temp/src/types/dropdown/index.d.ts +2 -0
- package/dist/temp/src/types/dropdown/index.js +2 -0
- package/dist/temp/src/types/dropdown/option.d.ts +23 -0
- package/dist/temp/src/types/dropdown/option.js +1 -0
- package/dist/temp/src/types/index.d.ts +2 -0
- package/dist/temp/src/types/index.js +2 -0
- package/dist/temp/src/types/side-slot.d.ts +25 -0
- package/dist/temp/src/types/side-slot.js +1 -0
- package/dist/temp/src/utils/date-picker.d.ts +11 -0
- package/dist/temp/src/utils/date-picker.js +51 -0
- package/dist/temp/src/utils/dropdown/dropdownUtils.d.ts +17 -0
- package/dist/temp/src/utils/dropdown/dropdownUtils.js +79 -0
- package/dist/temp/src/utils/dropdown/index.d.ts +2 -0
- package/dist/temp/src/utils/dropdown/index.js +2 -0
- package/dist/temp/src/utils/dropdown/multiSelect.d.ts +31 -0
- package/dist/temp/src/utils/dropdown/multiSelect.js +68 -0
- package/dist/temp/src/utils/index.d.ts +2 -0
- package/dist/temp/src/utils/index.js +4 -0
- package/dist/types/assets/scripts/baseBox.d.ts +55 -0
- package/dist/types/assets/scripts/comboBox.d.ts +7 -38
- package/dist/types/assets/scripts/datePicker.d.ts +0 -1
- package/dist/types/assets/scripts/featuredIcon.d.ts +0 -1
- package/dist/types/assets/scripts/fileInput/const/classNames.d.ts +0 -2
- package/dist/types/assets/scripts/fileInput/const/index.d.ts +0 -1
- package/dist/types/assets/scripts/fileInput/const/types.d.ts +4 -48
- package/dist/types/assets/scripts/fileInput/fileInput.d.ts +13 -0
- package/dist/types/assets/scripts/fileInput/fileInputModel.d.ts +12 -0
- package/dist/types/assets/scripts/fileInput/fileInputView.d.ts +42 -0
- package/dist/types/assets/scripts/fileInput/index.d.ts +1 -2
- package/dist/types/assets/scripts/imageFileInput/ImageFileInput.d.ts +0 -1
- package/dist/types/assets/scripts/imageFileInput/ImageFileInputModel.d.ts +0 -1
- package/dist/types/assets/scripts/imageFileInput/ImageFileInputView.d.ts +0 -1
- package/dist/types/assets/scripts/imageFileInput/const/classNames.d.ts +0 -1
- package/dist/types/assets/scripts/imageFileInput/const/index.d.ts +0 -1
- package/dist/types/assets/scripts/imageFileInput/const/types.d.ts +0 -1
- package/dist/types/assets/scripts/imageFileInput/index.d.ts +0 -1
- package/dist/types/assets/scripts/index.d.ts +0 -1
- package/dist/types/assets/scripts/modal/Modal.d.ts +0 -1
- package/dist/types/assets/scripts/modal/ModalActions.d.ts +0 -1
- package/dist/types/assets/scripts/modal/ModalContent.d.ts +0 -1
- package/dist/types/assets/scripts/modal/ModalHeader.d.ts +0 -1
- package/dist/types/assets/scripts/modal/const/classNames.d.ts +0 -1
- package/dist/types/assets/scripts/modal/const/index.d.ts +0 -1
- package/dist/types/assets/scripts/modal/const/types.d.ts +0 -1
- package/dist/types/assets/scripts/modal/index.d.ts +0 -1
- package/dist/types/assets/scripts/modal/utils/contentUtils.d.ts +0 -1
- package/dist/types/assets/scripts/notification/FloatingNotification.d.ts +0 -1
- package/dist/types/assets/scripts/notification/FullWidthNotification.d.ts +0 -1
- package/dist/types/assets/scripts/notification/MessageNotification.d.ts +0 -1
- package/dist/types/assets/scripts/notification/Notification.d.ts +0 -1
- package/dist/types/assets/scripts/notification/const/classNames.d.ts +0 -1
- package/dist/types/assets/scripts/notification/const/icons.d.ts +0 -1
- package/dist/types/assets/scripts/notification/const/index.d.ts +0 -1
- package/dist/types/assets/scripts/notification/const/sizes.d.ts +0 -1
- package/dist/types/assets/scripts/notification/const/types.d.ts +0 -1
- package/dist/types/assets/scripts/notification/index.d.ts +0 -1
- package/dist/types/assets/scripts/notification/utils.d.ts +0 -1
- package/dist/types/assets/scripts/progress-bar/ProgressBar.d.ts +0 -1
- package/dist/types/assets/scripts/progress-bar/index.d.ts +0 -1
- package/dist/types/assets/scripts/selectBox.d.ts +6 -33
- package/dist/types/assets/scripts/shared/ButtonCloseX.d.ts +0 -1
- package/dist/types/assets/scripts/slider.d.ts +0 -1
- package/dist/types/assets/scripts/tab.d.ts +0 -1
- package/dist/types/assets/scripts/tag/Tag.d.ts +0 -1
- package/dist/types/assets/scripts/tag/const/classNames.d.ts +0 -1
- package/dist/types/assets/scripts/tag/const/index.d.ts +0 -1
- package/dist/types/assets/scripts/tag/const/sizes.d.ts +0 -1
- package/dist/types/assets/scripts/tag/const/types.d.ts +0 -1
- package/dist/types/assets/scripts/tag/index.d.ts +0 -1
- package/dist/types/assets/scripts/tooltip/Tooltip.d.ts +0 -1
- package/dist/types/assets/scripts/tooltip/TooltipLayerManager.d.ts +0 -1
- package/dist/types/assets/scripts/tooltip/const/classNames.d.ts +0 -1
- package/dist/types/assets/scripts/tooltip/const/constants.d.ts +0 -1
- package/dist/types/assets/scripts/tooltip/const/icons.d.ts +0 -1
- package/dist/types/assets/scripts/tooltip/const/index.d.ts +0 -1
- package/dist/types/assets/scripts/tooltip/const/templates.d.ts +0 -1
- package/dist/types/assets/scripts/tooltip/const/types.d.ts +0 -1
- package/dist/types/assets/scripts/tooltip/index.d.ts +0 -1
- package/dist/types/assets/scripts/tooltip/utils.d.ts +0 -1
- package/dist/types/assets/scripts/utils/debounce.d.ts +8 -0
- package/dist/types/assets/scripts/utils/unifiedBox/domRenderer.d.ts +107 -0
- package/dist/types/assets/scripts/utils/unifiedBox/dropdownModel.d.ts +142 -0
- package/dist/types/assets/scripts/utils/unifiedBox/unifiedBoxController.d.ts +156 -0
- package/dist/types/assets/scripts/utils/unifiedBox/unifiedBoxManager.d.ts +95 -0
- package/dist/types/constant/color.d.ts +0 -1
- package/dist/types/constant/size.d.ts +0 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/src/components/badge/Badge.d.ts +10 -9
- package/dist/types/src/components/badge/BadgeGroup.d.ts +7 -6
- package/dist/types/src/components/badge/index.d.ts +0 -1
- package/dist/types/src/components/badge/utils.d.ts +4 -3
- package/dist/types/src/components/breadcrumb/BreadCrumb.d.ts +5 -4
- package/dist/types/src/components/breadcrumb/index.d.ts +0 -1
- package/dist/types/src/components/button/Button.d.ts +2 -1
- package/dist/types/src/components/button/ButtonCloseX.d.ts +4 -3
- package/dist/types/src/components/button/ButtonGroup.d.ts +7 -9
- package/dist/types/src/components/button/ButtonStepper.d.ts +1 -2
- package/dist/types/src/components/button/index.d.ts +0 -1
- package/dist/types/src/components/carousel/CarouselArrow.d.ts +1 -3
- package/dist/types/src/components/carousel/CarouselNumberGroup.d.ts +1 -3
- package/dist/types/src/components/carousel/index.d.ts +0 -1
- package/dist/types/src/components/checkbox/Checkbox.d.ts +2 -3
- package/dist/types/src/components/checkbox/CheckboxInput.d.ts +2 -3
- package/dist/types/src/components/checkbox/index.d.ts +0 -1
- package/dist/types/src/components/combobox/ComboBox.d.ts +7 -6
- package/dist/types/src/components/combobox/index.d.ts +1 -2
- package/dist/types/src/components/date-picker/CustomInput.d.ts +2 -3
- package/dist/types/src/components/date-picker/DatePicker.d.ts +7 -6
- package/dist/types/src/components/date-picker/RangeDatePicker.d.ts +6 -5
- package/dist/types/src/components/date-picker/RangeDatePickerWithButtons.d.ts +4 -4
- package/dist/types/src/components/date-picker/index.d.ts +0 -1
- package/dist/types/src/components/date-picker/utils.d.ts +0 -1
- package/dist/types/src/components/divider/Divider.d.ts +1 -2
- package/dist/types/src/components/divider/index.d.ts +0 -1
- package/dist/types/src/components/dot/Dot.d.ts +9 -8
- package/dist/types/src/components/dot/index.d.ts +0 -1
- package/dist/types/src/components/dropdown/Dropdown.d.ts +0 -1
- package/dist/types/src/components/dropdown/index.d.ts +0 -1
- package/dist/types/src/components/empty-state/EmptyState.d.ts +5 -5
- package/dist/types/src/components/empty-state/index.d.ts +0 -1
- package/dist/types/src/components/featured-icon/FeaturedIcon.d.ts +8 -7
- package/dist/types/src/components/featured-icon/index.d.ts +0 -1
- package/dist/types/src/components/file-input/FileInput.d.ts +0 -1
- package/dist/types/src/components/file-input/index.d.ts +0 -1
- package/dist/types/src/components/image-file-input/ImageFileInput.d.ts +0 -1
- package/dist/types/src/components/image-file-input/components/ImagePreview.d.ts +0 -1
- package/dist/types/src/components/image-file-input/index.d.ts +0 -1
- package/dist/types/src/components/index.d.ts +1 -2
- package/dist/types/src/components/input/InputBase.d.ts +4 -4
- package/dist/types/src/components/input/NumberInput.d.ts +1 -2
- package/dist/types/src/components/input/PasswordInput.d.ts +1 -2
- package/dist/types/src/components/input/Textarea.d.ts +2 -3
- package/dist/types/src/components/input/index.d.ts +0 -1
- package/dist/types/src/components/modal/Modal.d.ts +13 -12
- package/dist/types/src/components/modal/index.d.ts +0 -1
- package/dist/types/src/components/notification/FloatingNotification.d.ts +6 -5
- package/dist/types/src/components/notification/FullWidthNotification.d.ts +6 -5
- package/dist/types/src/components/notification/MessageNotification.d.ts +6 -5
- package/dist/types/src/components/notification/Notification.d.ts +11 -10
- package/dist/types/src/components/notification/index.d.ts +1 -2
- package/dist/types/src/components/pagination/NavButton.d.ts +0 -1
- package/dist/types/src/components/pagination/Pagination.d.ts +0 -1
- package/dist/types/src/components/pagination/index.d.ts +0 -1
- package/dist/types/src/components/progress-bar/ProgressBar.d.ts +0 -1
- package/dist/types/src/components/progress-bar/components/SegmentBar.d.ts +0 -1
- package/dist/types/src/components/progress-bar/components/SegmentLabels.d.ts +3 -4
- package/dist/types/src/components/progress-bar/hooks/useProgressBar.d.ts +1 -2
- package/dist/types/src/components/progress-bar/index.d.ts +0 -1
- package/dist/types/src/components/progress-bar/types.d.ts +0 -1
- package/dist/types/src/components/progress-bar/utils.d.ts +4 -4
- package/dist/types/src/components/progress-circle/ProgressCircle.d.ts +0 -1
- package/dist/types/src/components/progress-circle/index.d.ts +0 -1
- package/dist/types/src/components/radio/Radio.d.ts +2 -3
- package/dist/types/src/components/radio/RadioInput.d.ts +2 -3
- package/dist/types/src/components/radio/index.d.ts +0 -1
- package/dist/types/src/components/select/Select.d.ts +4 -5
- package/dist/types/src/components/select/index.d.ts +0 -1
- package/dist/types/src/components/select-dropdown/SelectDropdown.d.ts +6 -6
- package/dist/types/src/components/select-dropdown/index.d.ts +1 -2
- package/dist/types/src/components/selectbox/SelectBox.d.ts +5 -4
- package/dist/types/src/components/selectbox/index.d.ts +0 -1
- package/dist/types/src/components/shared/hintText/HintText.d.ts +0 -1
- package/dist/types/src/components/shared/hintText/index.d.ts +0 -1
- package/dist/types/src/components/shared/index.d.ts +0 -1
- package/dist/types/src/components/shared/label/Label.d.ts +0 -1
- package/dist/types/src/components/shared/label/index.d.ts +0 -1
- package/dist/types/src/components/slider/Slider.d.ts +1 -2
- package/dist/types/src/components/slider/index.d.ts +0 -1
- package/dist/types/src/components/spinner/Spinner.d.ts +1 -2
- package/dist/types/src/components/spinner/index.d.ts +0 -2
- package/dist/types/src/components/switch/Switch.d.ts +7 -7
- package/dist/types/src/components/switch/index.d.ts +1 -2
- package/dist/types/src/components/tab/HorizontalTab.d.ts +5 -4
- package/dist/types/src/components/tab/TabButton.d.ts +8 -8
- package/dist/types/src/components/tab/VerticalTab.d.ts +2 -3
- package/dist/types/src/components/tab/index.d.ts +0 -1
- package/dist/types/src/components/tag/Tag.d.ts +4 -4
- package/dist/types/src/components/tag/index.d.ts +0 -1
- package/dist/types/src/components/toggle/Toggle.d.ts +1 -2
- package/dist/types/src/components/toggle/index.d.ts +0 -1
- package/dist/types/src/components/tooltip/Tooltip.d.ts +0 -1
- package/dist/types/src/components/tooltip/index.d.ts +0 -1
- package/dist/types/src/constant/breakpoint.d.ts +0 -1
- package/dist/types/src/constant/date-picker.d.ts +0 -1
- package/dist/types/src/constant/index.d.ts +1 -2
- package/dist/types/src/constant/size.d.ts +0 -1
- package/dist/types/src/hooks/dropdown/index.d.ts +0 -1
- package/dist/types/src/hooks/dropdown/useDropdown.d.ts +1 -2
- package/dist/types/src/hooks/dropdown/useDropdownKeyboard.d.ts +2 -3
- package/dist/types/src/hooks/dropdown/useDropdownPosition.d.ts +1 -2
- package/dist/types/src/hooks/dropdown/useOutsideClick.d.ts +1 -2
- package/dist/types/src/hooks/dropdown/useScrollLock.d.ts +0 -1
- package/dist/types/src/hooks/dropdown/useWindowResize.d.ts +0 -1
- package/dist/types/src/hooks/index.d.ts +1 -2
- package/dist/types/src/hooks/useCallbackRef.d.ts +0 -1
- package/dist/types/src/hooks/useMediaQuery.d.ts +0 -1
- package/dist/types/src/hooks/useMergeRefs.d.ts +1 -2
- package/dist/types/src/types/dropdown/dropdown.d.ts +1 -2
- package/dist/types/src/types/dropdown/index.d.ts +0 -1
- package/dist/types/src/types/dropdown/option.d.ts +0 -1
- package/dist/types/src/types/index.d.ts +0 -1
- package/dist/types/src/types/side-slot.d.ts +0 -1
- package/dist/types/src/utils/date-picker.d.ts +1 -2
- package/dist/types/src/utils/dropdown/dropdownUtils.d.ts +2 -3
- package/dist/types/src/utils/dropdown/index.d.ts +0 -1
- package/dist/types/src/utils/dropdown/multiSelect.d.ts +1 -2
- package/dist/types/src/utils/index.d.ts +0 -1
- package/dist/ui-admin/assets/styles/style.css +112 -24
- package/package.json +49 -53
- package/dist/cjs/assets/scripts/fileInput/FileInput.js +0 -183
- package/dist/cjs/assets/scripts/fileInput/FileInputModel.js +0 -246
- package/dist/cjs/assets/scripts/fileInput/FileInputView.js +0 -455
- package/dist/esm/assets/scripts/fileInput/FileInput.js +0 -178
- package/dist/esm/assets/scripts/fileInput/FileInputModel.js +0 -241
- package/dist/esm/assets/scripts/fileInput/FileInputView.js +0 -450
- /package/dist/cjs/assets/scripts/utils/unifiedBox/{DOMRenderer.js → domRenderer.js} +0 -0
- /package/dist/esm/assets/scripts/utils/unifiedBox/{DOMRenderer.js → domRenderer.js} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type { SideSlotType, SlotIconComponent } from '../types';
|
|
1
2
|
export * from './badge';
|
|
2
3
|
export * from './breadcrumb';
|
|
3
4
|
export * from './button';
|
|
@@ -30,5 +31,3 @@ export * from './tab';
|
|
|
30
31
|
export * from './tag';
|
|
31
32
|
export * from './toggle';
|
|
32
33
|
export * from './tooltip';
|
|
33
|
-
export { type SideSlotType, type SlotIconComponent } from '../types';
|
|
34
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -48,7 +48,7 @@ interface ClearableInputBaseProps extends InputBaseCommonProps {
|
|
|
48
48
|
clearText: boolean;
|
|
49
49
|
onClearText: () => void;
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
export {};
|
|
54
|
-
|
|
51
|
+
type InputBaseProps = NoneClearableInputBaseProps | ClearableInputBaseProps;
|
|
52
|
+
declare const InputBase: React.ForwardRefExoticComponent<InputBaseProps & React.RefAttributes<HTMLInputElement>>;
|
|
53
|
+
export type { InputBaseProps };
|
|
54
|
+
export { InputBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputBaseProps } from './InputBase';
|
|
1
|
+
import { type InputBaseProps } from './InputBase';
|
|
2
2
|
type NumberInputProps = InputBaseProps & {
|
|
3
3
|
minValue?: number;
|
|
4
4
|
maxValue?: number;
|
|
@@ -7,4 +7,3 @@ type NumberInputProps = InputBaseProps & {
|
|
|
7
7
|
};
|
|
8
8
|
export declare const NumberInput: import("react").ForwardRefExoticComponent<NumberInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
9
9
|
export {};
|
|
10
|
-
//# sourceMappingURL=NumberInput.d.ts.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { InputBaseProps } from './InputBase';
|
|
1
|
+
import { type InputBaseProps } from './InputBase';
|
|
2
2
|
export declare const PasswordInput: import("react").ForwardRefExoticComponent<InputBaseProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
3
|
-
//# sourceMappingURL=PasswordInput.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from 'react';
|
|
2
|
-
import { Size } from '../../../constant/size';
|
|
1
|
+
import { type ComponentPropsWithRef } from 'react';
|
|
2
|
+
import type { Size } from '../../../constant/size';
|
|
3
3
|
interface TextareaProps extends ComponentPropsWithRef<'textarea'> {
|
|
4
4
|
className?: string;
|
|
5
5
|
size?: Extract<Size, 'xs' | 'sm'>;
|
|
@@ -12,4 +12,3 @@ interface TextareaProps extends ComponentPropsWithRef<'textarea'> {
|
|
|
12
12
|
}
|
|
13
13
|
export declare const Textarea: import("react").ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
14
14
|
export {};
|
|
15
|
-
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
2
|
import type { SlotIconComponent } from '../../types/side-slot';
|
|
3
|
-
import { FeaturedIconColor, FeaturedIconTheme } from '../featured-icon';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
import { type FeaturedIconColor, type FeaturedIconTheme } from '../featured-icon';
|
|
4
|
+
type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
5
|
+
type ModalHeaderAlign = 'left' | 'center' | 'horizontal';
|
|
6
|
+
type ModalActionsAlign = 'left' | 'center' | 'right' | 'stretch';
|
|
7
|
+
type ModalActionsLayout = 'vertical' | 'horizontal' | 'checkbox';
|
|
8
|
+
type ModalProps = {
|
|
9
9
|
isOpen: boolean;
|
|
10
10
|
onClose: () => void;
|
|
11
11
|
size?: ModalSize;
|
|
@@ -15,7 +15,7 @@ export type ModalProps = {
|
|
|
15
15
|
className?: string;
|
|
16
16
|
zIndex?: number;
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
declare const Modal: {
|
|
19
19
|
({ isOpen, onClose, children, size, closeOnBackdropClick, closeOnEsc, className, zIndex, ...restProps }: ModalProps): import("react").ReactPortal | null;
|
|
20
20
|
Header({ children, onClose, featuredIcon, title, subtitle, align, showDivider, hideCloseButton, }: ModalHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
Content({ children, className }: ModalContentProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -49,7 +49,7 @@ export declare const Modal: {
|
|
|
49
49
|
*/
|
|
50
50
|
Actions({ children, layout, showDivider, align, checkboxContent, className, }: ModalActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
type ModalHeaderProps = {
|
|
53
53
|
children?: ReactNode;
|
|
54
54
|
onClose: () => void;
|
|
55
55
|
featuredIcon?: {
|
|
@@ -63,11 +63,11 @@ export type ModalHeaderProps = {
|
|
|
63
63
|
showDivider?: boolean;
|
|
64
64
|
hideCloseButton?: boolean;
|
|
65
65
|
};
|
|
66
|
-
|
|
66
|
+
type ModalContentProps = {
|
|
67
67
|
children: ReactNode;
|
|
68
68
|
className?: string;
|
|
69
69
|
};
|
|
70
|
-
|
|
70
|
+
type ModalActionsProps = {
|
|
71
71
|
className?: string;
|
|
72
72
|
children: ReactNode;
|
|
73
73
|
layout?: ModalActionsLayout;
|
|
@@ -75,4 +75,5 @@ export type ModalActionsProps = {
|
|
|
75
75
|
align?: ModalActionsAlign;
|
|
76
76
|
checkboxContent?: ReactNode;
|
|
77
77
|
};
|
|
78
|
-
|
|
78
|
+
export type { ModalSize, ModalHeaderAlign, ModalActionsAlign, ModalActionsLayout, ModalProps, ModalHeaderProps, ModalContentProps, ModalActionsProps, };
|
|
79
|
+
export { Modal };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import { NotificationAction, NotificationColor } from './Notification';
|
|
3
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
import type { NotificationAction, NotificationColor } from './Notification';
|
|
3
|
+
interface FloatingNotificationProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
4
4
|
/**
|
|
5
5
|
* 알림 제목 텍스트
|
|
6
6
|
*/
|
|
@@ -32,5 +32,6 @@ export interface FloatingNotificationProps extends Omit<ComponentPropsWithoutRef
|
|
|
32
32
|
*/
|
|
33
33
|
autoClose?: number;
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
declare const FloatingNotification: import("react").ForwardRefExoticComponent<FloatingNotificationProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
36
|
+
export type { FloatingNotificationProps };
|
|
37
|
+
export { FloatingNotification };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import { NotificationAction, NotificationColor } from './Notification';
|
|
3
|
-
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
import type { NotificationAction, NotificationColor } from './Notification';
|
|
3
|
+
interface FullWidthNotificationProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
4
4
|
/**
|
|
5
5
|
* 알림 제목 텍스트
|
|
6
6
|
*/
|
|
@@ -41,5 +41,6 @@ export interface FullWidthNotificationProps extends Omit<ComponentPropsWithoutRe
|
|
|
41
41
|
*/
|
|
42
42
|
onHidePermanently?: () => void;
|
|
43
43
|
}
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
declare const FullWidthNotification: import("react").ForwardRefExoticComponent<FullWidthNotificationProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
45
|
+
export type { FullWidthNotificationProps };
|
|
46
|
+
export { FullWidthNotification };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
2
|
import type { SlotIconComponent } from '../../types/side-slot';
|
|
3
|
-
import { NotificationAction, NotificationColor } from './Notification';
|
|
4
|
-
|
|
3
|
+
import type { NotificationAction, NotificationColor } from './Notification';
|
|
4
|
+
interface MessageNotificationProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
5
5
|
/**
|
|
6
6
|
* 알림 제목 텍스트
|
|
7
7
|
*/
|
|
@@ -36,5 +36,6 @@ export interface MessageNotificationProps extends Omit<ComponentPropsWithoutRef<
|
|
|
36
36
|
*/
|
|
37
37
|
onHidePermanently?: () => void;
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
declare const MessageNotification: import("react").ForwardRefExoticComponent<MessageNotificationProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
40
|
+
export type { MessageNotificationProps };
|
|
41
|
+
export { MessageNotification };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
import type { ColorTone } from '../../../constant/color';
|
|
2
3
|
import type { SlotIconComponent } from '../../types/side-slot';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export interface NotificationAction {
|
|
4
|
+
import type { ButtonTheme } from '../button';
|
|
5
|
+
type NotificationType = 'floating' | 'full-width' | 'message';
|
|
6
|
+
type NotificationColor = Extract<ColorTone, 'neutral' | 'error' | 'warning' | 'success' | 'info'>;
|
|
7
|
+
type NotificationSize = 'desktop' | 'mobile';
|
|
8
|
+
interface NotificationAction {
|
|
9
9
|
/**
|
|
10
10
|
* 액션 버튼 텍스트
|
|
11
11
|
*/
|
|
@@ -19,7 +19,7 @@ export interface NotificationAction {
|
|
|
19
19
|
*/
|
|
20
20
|
hierarchy?: Extract<ButtonTheme, 'text' | 'text-gray'>;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
interface NotificationProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
23
23
|
/**
|
|
24
24
|
* 알림 유형 (floating: 측면에 표시되는 알림, full-width: 전체 너비 알림)
|
|
25
25
|
* @default 'floating'
|
|
@@ -67,5 +67,6 @@ export interface NotificationProps extends Omit<ComponentPropsWithoutRef<'div'>,
|
|
|
67
67
|
*/
|
|
68
68
|
onHidePermanently?: () => void;
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
declare const Notification: import("react").ForwardRefExoticComponent<NotificationProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
71
|
+
export type { NotificationType, NotificationColor, NotificationSize, NotificationAction, NotificationProps };
|
|
72
|
+
export { Notification };
|
|
@@ -9,4 +9,3 @@ type PaginationProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onCl
|
|
|
9
9
|
};
|
|
10
10
|
export declare const Pagination: ({ className, totalCount, itemCountPerPage, pageCount, currentPage, breakPoint, onPageChange, ...restProps }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
12
|
-
//# sourceMappingURL=Pagination.d.ts.map
|
|
@@ -4,13 +4,12 @@ interface SegmentLabelsProps {
|
|
|
4
4
|
segmentCount: number;
|
|
5
5
|
showZeroLabel?: boolean;
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
declare const SegmentLabels: ({ segments, segmentCount, showZeroLabel }: SegmentLabelsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
interface SingleLabelProps {
|
|
9
9
|
labelType: ProgressLabel;
|
|
10
10
|
displayValue: string;
|
|
11
11
|
totalValue?: number;
|
|
12
12
|
showZeroLabel?: boolean;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=SegmentLabels.d.ts.map
|
|
14
|
+
declare const SingleLabel: ({ labelType, displayValue, totalValue, showZeroLabel }: SingleLabelProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
15
|
+
export { SegmentLabels, SingleLabel };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProgressLabel, ProgressSegment
|
|
1
|
+
import type { ProcessedSegment, ProgressLabel, ProgressSegment } from '../types';
|
|
2
2
|
interface UseProgressBarResult {
|
|
3
3
|
totalValue: number;
|
|
4
4
|
displayValue: string;
|
|
@@ -11,4 +11,3 @@ interface UseProgressBarResult {
|
|
|
11
11
|
}
|
|
12
12
|
export declare const useProgressBar: (label?: ProgressLabel, value?: number, segments?: ProgressSegment[], valueToPercent?: boolean) => UseProgressBarResult;
|
|
13
13
|
export {};
|
|
14
|
-
//# sourceMappingURL=useProgressBar.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 색상 이름을 fill 색상 클래스명으로 변환
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
declare const getFillColorClass: (color?: string) => string;
|
|
5
5
|
/**
|
|
6
6
|
* 색상 이름을 label 색상 클래스명으로 변환
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
declare const getLabelColorClass: (color?: string) => string;
|
|
9
9
|
/**
|
|
10
10
|
* 값을 0-100 범위로 제한
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
declare const clampValue: (value: number) => number;
|
|
13
|
+
export { getFillColorClass, getLabelColorClass, clampValue };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { RadioInputProps } from './RadioInput';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type RadioInputProps } from './RadioInput';
|
|
3
3
|
export interface RadioProps extends Omit<RadioInputProps, 'type'> {
|
|
4
4
|
text?: ReactNode;
|
|
5
5
|
supportText?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const Radio: import("react").ForwardRefExoticComponent<RadioProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
8
|
-
//# sourceMappingURL=Radio.d.ts.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { ChangeEvent, ComponentPropsWithRef } from 'react';
|
|
2
|
-
import { Size } from '../../../constant/size';
|
|
1
|
+
import { type ChangeEvent, type ComponentPropsWithRef } from 'react';
|
|
2
|
+
import type { Size } from '../../../constant/size';
|
|
3
3
|
export interface RadioInputProps extends Omit<ComponentPropsWithRef<'input'>, 'size' | 'ref'> {
|
|
4
4
|
size?: Extract<Size, 'xs' | 'sm'>;
|
|
5
5
|
destructive?: boolean;
|
|
6
6
|
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
7
7
|
}
|
|
8
8
|
export declare const RadioInput: import("react").ForwardRefExoticComponent<RadioInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
9
|
-
//# sourceMappingURL=RadioInput.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { OptionType } from '../../types/dropdown';
|
|
1
|
+
import { type ComponentPropsWithRef, type ReactNode } from 'react';
|
|
2
|
+
import type { UseFormRegisterReturn } from 'react-hook-form';
|
|
3
|
+
import type { Size } from '../../../constant/size';
|
|
4
|
+
import type { OptionType } from '../../types/dropdown';
|
|
5
5
|
export interface SelectProps extends Omit<ComponentPropsWithRef<'select'>, 'size'> {
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
disabledPlaceholder?: boolean;
|
|
@@ -14,4 +14,3 @@ export interface SelectProps extends Omit<ComponentPropsWithRef<'select'>, 'size
|
|
|
14
14
|
children?: ReactNode;
|
|
15
15
|
}
|
|
16
16
|
export declare const Select: import("react").ForwardRefExoticComponent<Omit<SelectProps, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
|
|
17
|
-
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
-
import { DropdownDirection, OptionSelectHandler, OptionType, OptionValue } from '../../types/dropdown';
|
|
3
|
-
|
|
4
|
-
export type SelectDropdownProps = ComponentPropsWithRef<'div'> & {
|
|
1
|
+
import { type ComponentPropsWithRef, type ReactNode } from 'react';
|
|
2
|
+
import type { DropdownDirection, OptionSelectHandler, OptionType, OptionValue } from '../../types/dropdown';
|
|
3
|
+
type SelectDropdownProps = ComponentPropsWithRef<'div'> & {
|
|
5
4
|
isOpen: boolean;
|
|
6
5
|
direction?: DropdownDirection;
|
|
7
6
|
size?: 'xs' | 'sm' | 'md';
|
|
@@ -25,5 +24,6 @@ export type SelectDropdownProps = ComponentPropsWithRef<'div'> & {
|
|
|
25
24
|
componentType?: 'selectbox' | 'combobox';
|
|
26
25
|
align?: 'left' | 'right';
|
|
27
26
|
};
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
declare const SelectDropdown: import("react").ForwardRefExoticComponent<Omit<SelectDropdownProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
28
|
+
export type { DropdownDirection, SelectDropdownProps };
|
|
29
|
+
export { SelectDropdown };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export {
|
|
2
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
export { type DropdownDirection, SelectDropdown, type SelectDropdownProps } from './SelectDropdown';
|
|
@@ -2,8 +2,8 @@ import { type ComponentPropsWithRef, type ReactNode } from 'react';
|
|
|
2
2
|
import type { UseFormRegisterReturn } from 'react-hook-form';
|
|
3
3
|
import type { Size } from '../../../constant/size';
|
|
4
4
|
import type { OptionChangeHandler, OptionType, OptionValue } from '../../types/dropdown';
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
declare const DEFAULT_MAX_HEIGHT = 275;
|
|
6
|
+
type SelectBoxProps = Omit<ComponentPropsWithRef<'div'>, 'size' | 'onChange'> & {
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
placeholder?: string;
|
|
9
9
|
disabledPlaceholder?: boolean;
|
|
@@ -22,5 +22,6 @@ export type SelectBoxProps = Omit<ComponentPropsWithRef<'div'>, 'size' | 'onChan
|
|
|
22
22
|
onEdit?: () => void;
|
|
23
23
|
align?: 'left' | 'right';
|
|
24
24
|
};
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
declare const SelectBox: import("react").ForwardRefExoticComponent<Omit<SelectBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
26
|
+
export type { SelectBoxProps };
|
|
27
|
+
export { DEFAULT_MAX_HEIGHT, SelectBox };
|
|
@@ -5,4 +5,3 @@ interface HintTextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
5
5
|
}
|
|
6
6
|
export declare const HintText: ({ as: Component, children, className, destructive, ...props }: HintTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
8
|
-
//# sourceMappingURL=HintText.d.ts.map
|
|
@@ -5,4 +5,3 @@ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
|
5
5
|
}
|
|
6
6
|
export declare const Label: ({ as: Component, children, className, isRequired, ...props }: LabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
8
|
-
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SliderOptions } from '../../../assets/scripts/slider';
|
|
1
|
+
import { type SliderOptions } from '../../../assets/scripts/slider';
|
|
2
2
|
export type SliderLabelPosition = SliderOptions['labelPosition'];
|
|
3
3
|
export interface SliderProps {
|
|
4
4
|
min?: number;
|
|
@@ -12,4 +12,3 @@ export interface SliderProps {
|
|
|
12
12
|
}
|
|
13
13
|
export declare const Slider: ({ min, max, step, value, onChange, labelPosition, disabled, className, }: SliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export default Slider;
|
|
15
|
-
//# sourceMappingURL=Slider.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementType, ReactNode } from 'react';
|
|
1
|
+
import type { ElementType, ReactNode } from 'react';
|
|
2
2
|
interface SpinnerProps {
|
|
3
3
|
as?: ElementType;
|
|
4
4
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -7,4 +7,3 @@ interface SpinnerProps {
|
|
|
7
7
|
}
|
|
8
8
|
export declare const Spinner: ({ as, size, children, backdrop }: SpinnerProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
10
|
-
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ReactNode, Ref } from 'react';
|
|
2
|
-
import { Size } from '
|
|
1
|
+
import { type ReactNode, type Ref } from 'react';
|
|
2
|
+
import type { Size } from '../../../constant/size';
|
|
3
3
|
type SwitchOption = {
|
|
4
4
|
label: ReactNode;
|
|
5
5
|
value: string | boolean;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
type SwitchSize = Extract<Size, 'xxs' | 'xs' | 'sm' | 'md'>;
|
|
8
|
+
type SwitchProps = {
|
|
9
9
|
size?: SwitchSize;
|
|
10
10
|
left: SwitchOption;
|
|
11
11
|
right: SwitchOption;
|
|
@@ -17,6 +17,6 @@ export type SwitchProps = {
|
|
|
17
17
|
className?: string;
|
|
18
18
|
refs?: [Ref<HTMLInputElement>, Ref<HTMLInputElement>];
|
|
19
19
|
};
|
|
20
|
-
|
|
21
|
-
export {};
|
|
22
|
-
|
|
20
|
+
declare const Switch: import("react").ForwardRefExoticComponent<SwitchProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
21
|
+
export type { SwitchSize, SwitchProps };
|
|
22
|
+
export { Switch };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { type TabButtonProps, type TabSize, type TabType } from './TabButton';
|
|
2
|
-
|
|
2
|
+
type HorizontalTabProps = {
|
|
3
3
|
type?: Exclude<TabType, 'line-vertical'>;
|
|
4
4
|
size?: TabSize;
|
|
5
5
|
activeTab?: string;
|
|
6
6
|
fullWidth?: boolean;
|
|
7
|
-
menus?:
|
|
7
|
+
menus?: TabButtonProps[];
|
|
8
8
|
className?: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
declare const HorizontalTab: ({ type, size, activeTab, fullWidth, menus, className, }: HorizontalTabProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export type { HorizontalTabProps };
|
|
12
|
+
export { HorizontalTab };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { type BadgeProps } from '../badge/Badge';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type TabSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
type TabType = 'button-primary' | 'button-white' | 'underline' | 'underline-fill' | 'line-vertical';
|
|
5
5
|
type BaseTabButtonProps = {
|
|
6
6
|
id?: string;
|
|
7
7
|
label?: string;
|
|
@@ -12,12 +12,12 @@ type BaseTabButtonProps = {
|
|
|
12
12
|
className?: string;
|
|
13
13
|
children?: ReactNode;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
type TabButtonAsButtonProps = BaseTabButtonProps & {
|
|
16
16
|
onClose?: (id: string) => void;
|
|
17
17
|
onClick?: (id: string) => void;
|
|
18
18
|
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export {};
|
|
23
|
-
|
|
19
|
+
type TabButtonAsLinkProps = BaseTabButtonProps & AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
20
|
+
type TabButtonProps = TabButtonAsButtonProps | TabButtonAsLinkProps;
|
|
21
|
+
declare const TabButton: ({ id, label, size, tabButtonType, type, isActive, badgeInfo, className, children, ...props }: TabButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export type { TabSize, TabType, TabButtonAsButtonProps, TabButtonAsLinkProps, TabButtonProps };
|
|
23
|
+
export { TabButton };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { TabButtonProps } from './TabButton';
|
|
1
|
+
import { type TabButtonProps } from './TabButton';
|
|
2
2
|
export type VerticalTabProps = {
|
|
3
3
|
type?: 'button-primary' | 'button-white' | 'line-vertical';
|
|
4
4
|
breakPoint?: 'mobile' | 'pc';
|
|
5
5
|
activeTab?: string;
|
|
6
|
-
menus?:
|
|
6
|
+
menus?: TabButtonProps[];
|
|
7
7
|
onSelect?: (value: string) => void;
|
|
8
8
|
};
|
|
9
9
|
export declare const VerticalTab: ({ type, breakPoint, activeTab, menus, onSelect, }: VerticalTabProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
//# sourceMappingURL=VerticalTab.d.ts.map
|