@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
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { OptionValue } from '../../../../src/types';
|
|
2
|
+
import { DropdownOption } from './dropdownModel';
|
|
3
|
+
export interface UnifiedBoxManagerConfig {
|
|
4
|
+
options?: DropdownOption[];
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
value?: OptionValue;
|
|
7
|
+
onChange?: (value: OptionValue) => void;
|
|
8
|
+
onSearch?: (searchValue: string) => void | Promise<void>;
|
|
9
|
+
onEdit?: () => void;
|
|
10
|
+
onSelectAll?: () => void;
|
|
11
|
+
onSearchAll?: () => void;
|
|
12
|
+
onComplete?: () => void;
|
|
13
|
+
onScrollBottom?: () => void;
|
|
14
|
+
searchDebounceMs?: number;
|
|
15
|
+
maxHeight?: number;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
size?: 'xs' | 'sm' | 'md';
|
|
18
|
+
multiple?: boolean;
|
|
19
|
+
showFooterButtons?: boolean;
|
|
20
|
+
label?: string;
|
|
21
|
+
required?: boolean;
|
|
22
|
+
type?: 'selectbox' | 'combobox';
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* 통합된 UnifiedBox 클래스
|
|
26
|
+
* SelectBox와 ComboBox의 기능을 모두 포함
|
|
27
|
+
*/
|
|
28
|
+
export declare class UnifiedBoxManager {
|
|
29
|
+
private element;
|
|
30
|
+
private config;
|
|
31
|
+
private model;
|
|
32
|
+
private renderer;
|
|
33
|
+
private controller;
|
|
34
|
+
private inputField?;
|
|
35
|
+
private debouncedSearch;
|
|
36
|
+
private lastSearchValue;
|
|
37
|
+
private hasInitialOptions;
|
|
38
|
+
private isComboBox;
|
|
39
|
+
private baseClass;
|
|
40
|
+
private dropdownElement?;
|
|
41
|
+
private triggerElement?;
|
|
42
|
+
private footerElement?;
|
|
43
|
+
private arrowElement?;
|
|
44
|
+
constructor(element: HTMLElement, config?: UnifiedBoxManagerConfig);
|
|
45
|
+
private initialize;
|
|
46
|
+
private setupElementClasses;
|
|
47
|
+
private createUI;
|
|
48
|
+
private createComboBoxUI;
|
|
49
|
+
private createSelectBoxUI;
|
|
50
|
+
private createDropdown;
|
|
51
|
+
private setupController;
|
|
52
|
+
private handleInput;
|
|
53
|
+
private handleInputClick;
|
|
54
|
+
private handleClearInput;
|
|
55
|
+
private handleShowAll;
|
|
56
|
+
private handleSelectionChange;
|
|
57
|
+
private updateSelectBoxValue;
|
|
58
|
+
private canToggleDropdown;
|
|
59
|
+
private handleSelectAll;
|
|
60
|
+
private handleComplete;
|
|
61
|
+
private updateSelectAllButtonText;
|
|
62
|
+
getValues(): DropdownOption[];
|
|
63
|
+
getOptions(): DropdownOption[];
|
|
64
|
+
setValues(value: DropdownOption[]): void;
|
|
65
|
+
updateOptions(newOptions: DropdownOption[]): void;
|
|
66
|
+
setDisabled(disabled: boolean): void;
|
|
67
|
+
open(): void;
|
|
68
|
+
close(): void;
|
|
69
|
+
focus(): void;
|
|
70
|
+
destroy(): void;
|
|
71
|
+
selectAll(): void;
|
|
72
|
+
deselectAll(): void;
|
|
73
|
+
isMultiple(): boolean;
|
|
74
|
+
toggleSelectAll(): void;
|
|
75
|
+
getDebugInfo(): {
|
|
76
|
+
config: UnifiedBoxManagerConfig;
|
|
77
|
+
modelState: any;
|
|
78
|
+
isOpen: boolean;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* 드롭다운을 스크롤의 바닥으로 이동
|
|
82
|
+
* 전체 선택 시 추가 데이터 로드를 트리거하기 위해 사용
|
|
83
|
+
*/
|
|
84
|
+
scrollToBottom(): void;
|
|
85
|
+
/**
|
|
86
|
+
* 전체 선택 버튼의 텍스트를 외부에서 변경
|
|
87
|
+
* @param text 버튼에 표시할 텍스트
|
|
88
|
+
*/
|
|
89
|
+
setSelectAllButtonText(text: string): void;
|
|
90
|
+
/**
|
|
91
|
+
* 특정 인덱스의 옵션으로 포커스 이동
|
|
92
|
+
* @param index 포커스를 이동할 옵션의 인덱스
|
|
93
|
+
*/
|
|
94
|
+
setFocusIndex(index: number): void;
|
|
95
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ColorTone } from '../../../constant/color';
|
|
2
|
-
import { Size } from '../../../constant/size';
|
|
3
|
-
import { SideSlotType } from '../../types/side-slot';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import type { ColorTone } from '../../../constant/color';
|
|
2
|
+
import type { Size } from '../../../constant/size';
|
|
3
|
+
import type { SideSlotType } from '../../types/side-slot';
|
|
4
|
+
type BadgeType = 'pill-outline' | 'pill-dark-color';
|
|
5
|
+
type BadgeColor = Extract<ColorTone, 'neutral' | 'error' | 'warning' | 'success' | 'blue' | 'pink' | 'disabled'>;
|
|
6
|
+
type BadgeSize = Extract<Size, 'xs' | 'sm' | 'md'>;
|
|
7
|
+
type BadgeProps = {
|
|
8
8
|
label: string;
|
|
9
9
|
type?: BadgeType;
|
|
10
10
|
color?: BadgeColor;
|
|
@@ -13,5 +13,6 @@ export type BadgeProps = {
|
|
|
13
13
|
trailingIcon?: SideSlotType;
|
|
14
14
|
size?: BadgeSize;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
declare const Badge: ({ label, type, color, className, leadingIcon, trailingIcon, size, }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export { Badge };
|
|
18
|
+
export type { BadgeType, BadgeColor, BadgeSize, BadgeProps };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type BadgeProps } from '.';
|
|
2
1
|
import type { ColorTone } from '../../../constant/color';
|
|
3
2
|
import type { Size } from '../../../constant/size';
|
|
4
3
|
import type { SideSlotType } from '../../types/side-slot';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { type BadgeProps } from '.';
|
|
5
|
+
type BadgeGroupSize = Extract<Size, 'xs' | 'sm'>;
|
|
6
|
+
type BadgeGroupColor = Extract<ColorTone, 'neutral' | 'error' | 'warning' | 'success'>;
|
|
7
|
+
type BadgeGroupProps = Omit<BadgeProps, 'type' | 'size' | 'color'> & {
|
|
8
8
|
groupLabel: string;
|
|
9
9
|
groupIcon?: SideSlotType;
|
|
10
10
|
groupClassName?: string;
|
|
@@ -13,5 +13,6 @@ export type BadgeGroupProps = Omit<BadgeProps, 'type' | 'size' | 'color'> & {
|
|
|
13
13
|
href?: string;
|
|
14
14
|
target?: string;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
declare const BadgeGroup: ({ groupLabel, groupIcon, groupClassName, color, size, href, target, ...props }: BadgeGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export { BadgeGroup };
|
|
18
|
+
export type { BadgeGroupSize, BadgeGroupColor, BadgeGroupProps };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { SideSlotType } from '../../types/side-slot';
|
|
2
|
-
|
|
2
|
+
type SideSlotRenderProps = {
|
|
3
3
|
slot: SideSlotType;
|
|
4
4
|
defaultIconSize: number;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
declare const sideSlotRender: ({ slot, defaultIconSize }: SideSlotRenderProps) => string | number | boolean | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
7
|
+
export { sideSlotRender };
|
|
8
|
+
export type { SideSlotRenderProps };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
interface BreadcrumbItemProps {
|
|
2
2
|
href?: string;
|
|
3
3
|
label: string;
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
interface BreadcrumbProps {
|
|
6
6
|
items: BreadcrumbItemProps[];
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
declare const BreadCrumb: ({ items, className }: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
export { BreadCrumb };
|
|
11
|
+
export type { BreadcrumbItemProps, BreadcrumbProps };
|
|
@@ -7,6 +7,7 @@ export type ButtonProps = Omit<ComponentProps<'button'>, 'ref'> & {
|
|
|
7
7
|
className?: string;
|
|
8
8
|
hierarchy?: ButtonTheme;
|
|
9
9
|
disabled?: boolean;
|
|
10
|
+
loading?: boolean;
|
|
10
11
|
leadingIcon?: SideSlotType;
|
|
11
12
|
trailingIcon?: SideSlotType;
|
|
12
13
|
onlyIcon?: boolean;
|
|
@@ -24,6 +25,7 @@ export declare const Button: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
24
25
|
className?: string | undefined;
|
|
25
26
|
hierarchy?: ButtonTheme | undefined;
|
|
26
27
|
disabled?: boolean | undefined;
|
|
28
|
+
loading?: boolean | undefined;
|
|
27
29
|
leadingIcon?: SideSlotType | undefined;
|
|
28
30
|
trailingIcon?: SideSlotType | undefined;
|
|
29
31
|
onlyIcon?: boolean | undefined;
|
|
@@ -31,4 +33,3 @@ export declare const Button: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
31
33
|
children?: ReactNode;
|
|
32
34
|
underline?: boolean | undefined;
|
|
33
35
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
34
|
-
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { Size } from '../../../constant/size';
|
|
2
|
-
|
|
2
|
+
type ButtonCloseXProps = {
|
|
3
3
|
size: Extract<Size, 'xs' | 'sm' | 'md' | 'lg'>;
|
|
4
4
|
theme?: 'dark' | 'light';
|
|
5
5
|
onClick?: () => void;
|
|
6
6
|
className?: string;
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
declare const ButtonCloseX: ({ size, theme, className, onClick }: ButtonCloseXProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { ButtonCloseX };
|
|
10
|
+
export type { ButtonCloseXProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { type ComponentProps } from 'react';
|
|
2
2
|
import type { Size } from '../../../constant/size';
|
|
3
3
|
import type { SideSlotType } from '../../types/side-slot';
|
|
4
|
-
|
|
4
|
+
type ButtonGroupSize = Extract<Size, 'xxs' | 'xs' | 'sm' | 'md'>;
|
|
5
5
|
interface SideCommon {
|
|
6
6
|
position?: 'leading' | 'trailing';
|
|
7
7
|
}
|
|
@@ -15,9 +15,9 @@ interface ButtonGroupItemCommonProps {
|
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
isCurrent?: boolean;
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
interface ButtonGroupItemProps extends ButtonGroupItemCommonProps, ComponentProps<'button'> {
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
interface ButtonGroupProps {
|
|
21
21
|
className?: string;
|
|
22
22
|
size?: ButtonGroupSize;
|
|
23
23
|
children: React.ReactNode;
|
|
@@ -25,7 +25,7 @@ export interface ButtonGroupProps {
|
|
|
25
25
|
onlyIcon?: boolean;
|
|
26
26
|
disabled?: boolean;
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
declare const ButtonGroup: {
|
|
29
29
|
({ children, className, hasBorder, size, onlyIcon, disabled, }: ButtonGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
Item({ label, size, onlyIcon, icon, disabled, children, isCurrent, className, ...props }: ButtonGroupItemProps): React.DetailedReactHTMLElement<{
|
|
31
31
|
ref?: React.LegacyRef<HTMLButtonElement> | undefined;
|
|
@@ -163,7 +163,7 @@ export declare const ButtonGroup: {
|
|
|
163
163
|
onBlurCapture?: React.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
164
164
|
onChange?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
165
165
|
onChangeCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
166
|
-
onBeforeInput?: React.
|
|
166
|
+
onBeforeInput?: React.InputEventHandler<HTMLButtonElement> | undefined;
|
|
167
167
|
onBeforeInputCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
168
168
|
onInput?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
169
169
|
onInputCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -213,8 +213,6 @@ export declare const ButtonGroup: {
|
|
|
213
213
|
onProgressCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
214
214
|
onRateChange?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
215
215
|
onRateChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
216
|
-
onResize?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
217
|
-
onResizeCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
218
216
|
onSeeked?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
219
217
|
onSeekedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
220
218
|
onSeeking?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -309,5 +307,5 @@ export declare const ButtonGroup: {
|
|
|
309
307
|
disabled: boolean | undefined;
|
|
310
308
|
}, HTMLButtonElement>;
|
|
311
309
|
};
|
|
312
|
-
export {};
|
|
313
|
-
|
|
310
|
+
export { ButtonGroup };
|
|
311
|
+
export type { ButtonGroupSize, ButtonGroupItemProps, ButtonGroupProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Size } from '../../../constant/size';
|
|
1
|
+
import type { Size } from '../../../constant/size';
|
|
2
2
|
export type ButtonStepperProps = {
|
|
3
3
|
size: Extract<Size, 'xs' | 'sm'>;
|
|
4
4
|
direction: 'up' | 'down';
|
|
@@ -7,4 +7,3 @@ export type ButtonStepperProps = {
|
|
|
7
7
|
className?: string;
|
|
8
8
|
};
|
|
9
9
|
export declare const ButtonStepper: ({ size, direction, disabled, onClick, className }: ButtonStepperProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
//# sourceMappingURL=ButtonStepper.d.ts.map
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
type CarouselArrowProps = {
|
|
2
2
|
type?: 'default' | 'line';
|
|
3
3
|
className?: string;
|
|
4
|
-
size: 'md';
|
|
5
4
|
chevron: 'left' | 'right';
|
|
6
5
|
onClick?: () => void;
|
|
7
6
|
};
|
|
8
|
-
export declare const CarouselArrow: ({ type, className,
|
|
7
|
+
export declare const CarouselArrow: ({ type, className, chevron, onClick }: CarouselArrowProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
10
|
-
//# sourceMappingURL=CarouselArrow.d.ts.map
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
type CarouselNumberGroupProps = {
|
|
2
2
|
framed?: boolean;
|
|
3
|
-
size?: 'sm';
|
|
4
3
|
color?: 'light' | 'dark';
|
|
5
4
|
currentPage: number;
|
|
6
5
|
totalPage: number;
|
|
7
6
|
};
|
|
8
|
-
export declare const CarouselNumberGroup: ({ framed,
|
|
7
|
+
export declare const CarouselNumberGroup: ({ framed, color, currentPage, totalPage, }: CarouselNumberGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
10
|
-
//# sourceMappingURL=CarouselNumberGroup.d.ts.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CheckboxInputProps } from './CheckboxInput';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type CheckboxInputProps } from './CheckboxInput';
|
|
3
3
|
export interface CheckboxProps extends Omit<CheckboxInputProps, 'type'> {
|
|
4
4
|
text?: ReactNode;
|
|
5
5
|
supportText?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
8
|
-
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
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 CheckboxInputProps extends Omit<ComponentPropsWithRef<'input'>, 'size' | 'ref'> {
|
|
4
4
|
size?: Extract<Size, 'xs' | 'sm'>;
|
|
5
5
|
indeterminate?: boolean;
|
|
@@ -7,4 +7,3 @@ export interface CheckboxInputProps extends Omit<ComponentPropsWithRef<'input'>,
|
|
|
7
7
|
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
8
8
|
}
|
|
9
9
|
export declare const CheckboxInput: import("react").ForwardRefExoticComponent<CheckboxInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
-
//# sourceMappingURL=CheckboxInput.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import { type ComponentPropsWithRef, ReactNode } from 'react';
|
|
1
|
+
import { type ComponentPropsWithRef, type ReactNode } from 'react';
|
|
3
2
|
import type { UseFormRegisterReturn } from 'react-hook-form';
|
|
3
|
+
import type { Size } from '../../../constant/size';
|
|
4
4
|
import type { OptionChangeHandler, OptionType, OptionValue } from '../../types/dropdown';
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
declare const defaultMaxHeight = 275;
|
|
6
|
+
interface ComboBoxProps extends Omit<ComponentPropsWithRef<'div'>, 'size' | 'onChange'> {
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
placeholder?: string;
|
|
9
9
|
hintText?: string;
|
|
@@ -23,5 +23,6 @@ export interface ComboBoxProps extends Omit<ComponentPropsWithRef<'div'>, 'size'
|
|
|
23
23
|
showFooterButtons?: boolean;
|
|
24
24
|
onEdit?: () => void;
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
declare const ComboBox: import("react").ForwardRefExoticComponent<Omit<ComboBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export { defaultMaxHeight, ComboBox };
|
|
28
|
+
export type { ComboBoxProps };
|
|
@@ -6,6 +6,5 @@ interface CustomInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
6
6
|
iconSize: Extract<Size, 'xs' | 'sm'>;
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=CustomInput.d.ts.map
|
|
9
|
+
declare const CustomInput: import("react").ForwardRefExoticComponent<CustomInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
+
export { CustomInput };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Options } from 'flatpickr/dist/types/options';
|
|
2
|
-
import { DateTimePickerHandle, DateTimePickerProps } from 'react-flatpickr';
|
|
3
|
-
import { Size } from '../../../constant/size';
|
|
4
|
-
|
|
1
|
+
import type { Options } from 'flatpickr/dist/types/options';
|
|
2
|
+
import { type DateTimePickerHandle, type DateTimePickerProps } from 'react-flatpickr';
|
|
3
|
+
import type { Size } from '../../../constant/size';
|
|
4
|
+
type DatePickerProps = {
|
|
5
5
|
size?: Extract<Size, 'xs' | 'sm'>;
|
|
6
6
|
shouldFocus?: boolean;
|
|
7
7
|
currentDate: string;
|
|
@@ -19,5 +19,6 @@ export type DatePickerProps = {
|
|
|
19
19
|
previousDate?: Date;
|
|
20
20
|
}) => void;
|
|
21
21
|
} & Omit<DateTimePickerProps, 'size' | 'options' | 'value'>;
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
declare const DatePicker: import("react").ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & import("react").RefAttributes<DateTimePickerHandle>>;
|
|
23
|
+
export { DatePicker };
|
|
24
|
+
export type { DatePickerProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { unitOfTime } from 'moment';
|
|
2
|
-
import { DatePickerProps } from './DatePicker';
|
|
3
|
-
|
|
1
|
+
import { type unitOfTime } from 'moment';
|
|
2
|
+
import { type DatePickerProps } from './DatePicker';
|
|
3
|
+
type RangeDatePickerProps = {
|
|
4
4
|
startDateOptions: DatePickerProps;
|
|
5
5
|
endDateOptions: DatePickerProps;
|
|
6
6
|
validationOption?: {
|
|
@@ -21,5 +21,6 @@ export type RangeDatePickerProps = {
|
|
|
21
21
|
}) => void;
|
|
22
22
|
size?: 'xs' | 'sm';
|
|
23
23
|
};
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
declare const RangeDatePicker: import("react").ForwardRefExoticComponent<RangeDatePickerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export { RangeDatePicker };
|
|
26
|
+
export type { RangeDatePickerProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Dispatch, type SetStateAction } from 'react';
|
|
2
2
|
import { PERIOD_ITEM, type PeriodItemMap } from '../../constant/date-picker';
|
|
3
3
|
import { type RangeDatePickerProps } from './RangeDatePicker';
|
|
4
|
-
|
|
4
|
+
type PeriodKeyType = keyof typeof PERIOD_ITEM;
|
|
5
5
|
type RangeDatePickerWithButtonsProps<T extends PeriodItemMap = typeof PERIOD_ITEM> = {
|
|
6
6
|
useYesterdayAsEndDate?: boolean;
|
|
7
7
|
currentButtonId: keyof T & string;
|
|
@@ -10,7 +10,7 @@ type RangeDatePickerWithButtonsProps<T extends PeriodItemMap = typeof PERIOD_ITE
|
|
|
10
10
|
periodItems?: T;
|
|
11
11
|
size?: 'xs' | 'sm';
|
|
12
12
|
} & RangeDatePickerProps;
|
|
13
|
-
|
|
13
|
+
declare const RangeDatePickerWithButtons: <T extends PeriodItemMap = {
|
|
14
14
|
TODAY: {
|
|
15
15
|
text: string;
|
|
16
16
|
period: number;
|
|
@@ -67,5 +67,5 @@ export declare const RangeDatePickerWithButtons: <T extends PeriodItemMap = {
|
|
|
67
67
|
unit: null;
|
|
68
68
|
};
|
|
69
69
|
}>({ useYesterdayAsEndDate, size, currentButtonId, setCurrentButtonId, startDateOptions, endDateOptions, validationOption, periodKeys, periodItems, onDateValidation, }: RangeDatePickerWithButtonsProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
70
|
-
export {};
|
|
71
|
-
|
|
70
|
+
export type { PeriodKeyType };
|
|
71
|
+
export { RangeDatePickerWithButtons };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
2
|
export type DividerType = 'text' | 'heading' | 'button' | 'button-group' | 'button-icon' | 'button-group-icon';
|
|
3
3
|
export type DividerStyle = 'single-line' | 'background-fill';
|
|
4
4
|
export interface DividerProps {
|
|
@@ -13,4 +13,3 @@ export interface DividerProps {
|
|
|
13
13
|
* @returns {ReactNode}
|
|
14
14
|
*/
|
|
15
15
|
export declare const Divider: import("react").ForwardRefExoticComponent<DividerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
-
//# sourceMappingURL=Divider.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
import { ColorTone } from '../../../constant/color';
|
|
3
|
-
import { Size } from '../../../constant/size';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
import type { ColorTone } from '../../../constant/color';
|
|
3
|
+
import type { Size } from '../../../constant/size';
|
|
4
|
+
type DotColor = Extract<ColorTone, 'neutral' | 'error' | 'warning' | 'success' | 'blue' | 'pink' | 'disabled'>;
|
|
5
|
+
type DotSize = Extract<Size, 'sm' | 'md' | 'lg'>;
|
|
6
|
+
interface DotProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'color'> {
|
|
7
7
|
/**
|
|
8
8
|
* The color of the dot
|
|
9
9
|
* @default 'success'
|
|
@@ -19,5 +19,6 @@ export interface DotProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'color'>
|
|
|
19
19
|
*/
|
|
20
20
|
className?: string;
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
declare const Dot: import("react").ForwardRefExoticComponent<DotProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
23
|
+
export type { DotColor, DotSize, DotProps };
|
|
24
|
+
export { Dot };
|
|
@@ -50,4 +50,3 @@ export type DropdownProps = {
|
|
|
50
50
|
className?: string;
|
|
51
51
|
};
|
|
52
52
|
export declare const Dropdown: ({ trigger, align, header, groups, className, opened, closeOnClickItem, closeOnClickOutside, }: DropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
53
|
-
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ButtonProps } from '../button/Button';
|
|
2
|
-
|
|
1
|
+
import { type ButtonProps } from '../button/Button';
|
|
2
|
+
interface ButtonOptions extends Pick<ButtonProps, 'hierarchy' | 'size' | 'leadingIcon' | 'trailingIcon'> {
|
|
3
3
|
label: string;
|
|
4
4
|
onClick?: () => void;
|
|
5
5
|
disabled?: boolean;
|
|
@@ -9,6 +9,6 @@ interface EmptyStateProps {
|
|
|
9
9
|
description: string;
|
|
10
10
|
buttons?: ButtonOptions | ButtonOptions[];
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
export {};
|
|
14
|
-
|
|
12
|
+
declare const EmptyState: ({ title, description, buttons }: EmptyStateProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export type { ButtonOptions };
|
|
14
|
+
export { EmptyState };
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import type { SlotIconComponent } from '../../types/side-slot';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
type FeaturedIconTheme = 'light-circle' | 'dark-circle' | 'outline-circle' | 'square-outline';
|
|
4
|
+
type FeaturedIconColor = 'neutral' | 'error' | 'warning' | 'success';
|
|
5
|
+
type FeaturedIconSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
+
interface FeaturedIconProps extends Omit<ComponentPropsWithoutRef<'div'>, 'color'> {
|
|
7
7
|
icon: SlotIconComponent;
|
|
8
8
|
theme?: FeaturedIconTheme;
|
|
9
9
|
color?: FeaturedIconColor;
|
|
10
10
|
size?: FeaturedIconSize;
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
declare const FeaturedIcon: import("react").ForwardRefExoticComponent<FeaturedIconProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export type { FeaturedIconTheme, FeaturedIconColor, FeaturedIconSize, FeaturedIconProps };
|
|
15
|
+
export { FeaturedIcon };
|
|
@@ -59,4 +59,3 @@ export interface FileInputProps extends Omit<InputBaseProps, 'clearText' | 'onCl
|
|
|
59
59
|
hintText?: string;
|
|
60
60
|
}
|
|
61
61
|
export declare const FileInput: import("react").ForwardRefExoticComponent<FileInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
62
|
-
//# sourceMappingURL=FileInput.d.ts.map
|
|
@@ -68,4 +68,3 @@ export interface ImageFileInputProps extends Omit<InputBaseProps, 'clearText' |
|
|
|
68
68
|
showFileInput?: boolean;
|
|
69
69
|
}
|
|
70
70
|
export declare const ImageFileInput: import("react").ForwardRefExoticComponent<ImageFileInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
71
|
-
//# sourceMappingURL=ImageFileInput.d.ts.map
|