@ncds/ui-admin 1.8.1 → 1.8.3
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/slider.js +26 -18
- package/dist/cjs/src/components/action/button/Button.js +86 -0
- package/dist/cjs/src/components/action/button-group/ButtonGroup.js +97 -0
- package/dist/cjs/src/components/feedback-and-status/badge/index.js +27 -0
- package/dist/cjs/src/components/feedback-and-status/badge/utils.js +32 -0
- package/dist/cjs/src/components/feedback-and-status/empty-state/EmptyState.js +41 -0
- package/dist/cjs/src/components/feedback-and-status/progress-bar/components/index.js +27 -0
- package/dist/cjs/src/components/feedback-and-status/progress-bar/hooks/index.js +16 -0
- package/dist/cjs/src/components/feedback-and-status/progress-bar/index.js +60 -0
- package/dist/cjs/src/components/feedback-and-status/tag/Tag.js +146 -0
- package/dist/cjs/src/components/forms-and-input/combo-box/ComboBox.js +291 -0
- package/dist/cjs/src/components/forms-and-input/date-picker/DatePicker.js +531 -0
- package/dist/cjs/src/components/forms-and-input/date-picker/index.js +38 -0
- package/dist/cjs/src/components/forms-and-input/file-input/FileInput.js +183 -0
- package/dist/cjs/src/components/forms-and-input/image-file-input/ImageFileInput.js +201 -0
- package/dist/cjs/src/components/forms-and-input/image-file-input/components/ImagePreview.js +36 -0
- package/dist/cjs/src/components/forms-and-input/image-file-input/components/index.js +16 -0
- package/dist/cjs/src/components/forms-and-input/image-file-input/index.js +27 -0
- package/dist/cjs/src/components/forms-and-input/input-base/InputBase.js +195 -0
- package/dist/cjs/src/components/forms-and-input/number-input/NumberInput.js +112 -0
- package/dist/cjs/src/components/forms-and-input/range-date-picker-with-buttons/RangeDatePickerWithButtons.js +81 -0
- package/dist/cjs/src/components/forms-and-input/select/Select.js +59 -0
- package/dist/cjs/src/components/forms-and-input/select-box/SelectBox.js +260 -0
- package/dist/cjs/src/components/forms-and-input/slider/Slider.js +61 -0
- package/dist/cjs/src/components/forms-and-input/switch/index.js +16 -0
- package/dist/cjs/src/components/forms-and-input/textarea/Textarea.js +79 -0
- package/dist/cjs/src/components/index.js +173 -173
- package/dist/cjs/src/components/navigation/horizontal-tab/HorizontalTab.js +53 -0
- package/dist/cjs/src/components/navigation/pagination/NavButton.js +70 -0
- package/dist/cjs/src/components/navigation/vertical-tab/VerticalTab.js +48 -0
- package/dist/cjs/src/components/overlays/dropdown/Dropdown.js +453 -0
- package/dist/cjs/src/components/overlays/dropdown/__tests__/utils.test.js +225 -0
- package/dist/cjs/src/components/overlays/dropdown/utils.js +96 -0
- package/dist/cjs/src/components/overlays/modal/Modal.js +171 -0
- package/dist/cjs/src/components/overlays/notification/FloatingNotification.js +112 -0
- package/dist/cjs/src/components/overlays/notification/FullWidthNotification.js +134 -0
- package/dist/cjs/src/components/overlays/notification/MessageNotification.js +107 -0
- package/dist/cjs/src/components/overlays/tooltip/Tooltip.js +230 -0
- package/dist/cjs/src/components/select-dropdown/SelectDropdown.js +1 -1
- package/dist/cjs/src/components/select-dropdown/index.js +11 -7
- package/dist/cjs/src/components/tab/TabButton.js +1 -1
- package/dist/cjs/src/hooks/dropdown/index.js +61 -37
- package/dist/cjs/src/hooks/index.js +31 -25
- package/dist/cjs/vitest.config.js +13 -0
- package/dist/esm/assets/scripts/slider.js +26 -18
- package/dist/esm/src/components/action/button/Button.js +79 -0
- package/dist/esm/src/components/action/button-group/ButtonGroup.js +89 -0
- package/dist/esm/src/components/feedback-and-status/badge/index.js +2 -0
- package/dist/esm/src/components/feedback-and-status/badge/utils.js +26 -0
- package/dist/esm/src/components/feedback-and-status/empty-state/EmptyState.js +34 -0
- package/dist/esm/src/components/feedback-and-status/progress-bar/components/index.js +2 -0
- package/dist/esm/src/components/feedback-and-status/progress-bar/hooks/index.js +1 -0
- package/dist/esm/src/components/feedback-and-status/progress-bar/index.js +5 -0
- package/dist/esm/src/components/feedback-and-status/tag/Tag.js +138 -0
- package/dist/esm/src/components/forms-and-input/combo-box/ComboBox.js +285 -0
- package/dist/esm/src/components/forms-and-input/date-picker/DatePicker.js +524 -0
- package/dist/esm/src/components/forms-and-input/date-picker/index.js +3 -0
- package/dist/esm/src/components/forms-and-input/file-input/FileInput.js +176 -0
- package/dist/esm/src/components/forms-and-input/image-file-input/ImageFileInput.js +194 -0
- package/dist/esm/src/components/forms-and-input/image-file-input/components/ImagePreview.js +29 -0
- package/dist/esm/src/components/forms-and-input/image-file-input/components/index.js +1 -0
- package/dist/esm/src/components/forms-and-input/image-file-input/index.js +2 -0
- package/dist/esm/src/components/forms-and-input/input-base/InputBase.js +189 -0
- package/dist/esm/src/components/forms-and-input/number-input/NumberInput.js +106 -0
- package/dist/esm/src/components/forms-and-input/range-date-picker-with-buttons/RangeDatePickerWithButtons.js +75 -0
- package/dist/esm/src/components/forms-and-input/select/Select.js +52 -0
- package/dist/esm/src/components/forms-and-input/select-box/SelectBox.js +254 -0
- package/dist/esm/src/components/forms-and-input/slider/Slider.js +54 -0
- package/dist/esm/src/components/forms-and-input/switch/index.js +1 -0
- package/dist/esm/src/components/forms-and-input/textarea/Textarea.js +72 -0
- package/dist/esm/src/components/index.js +51 -42
- package/dist/esm/src/components/navigation/horizontal-tab/HorizontalTab.js +46 -0
- package/dist/esm/src/components/navigation/pagination/NavButton.js +63 -0
- package/dist/esm/src/components/navigation/vertical-tab/VerticalTab.js +40 -0
- package/dist/esm/src/components/overlays/dropdown/Dropdown.js +446 -0
- package/dist/esm/src/components/overlays/dropdown/__tests__/utils.test.js +223 -0
- package/dist/esm/src/components/overlays/dropdown/utils.js +86 -0
- package/dist/esm/src/components/overlays/modal/Modal.js +164 -0
- package/dist/esm/src/components/overlays/notification/FloatingNotification.js +106 -0
- package/dist/esm/src/components/overlays/notification/FullWidthNotification.js +128 -0
- package/dist/esm/src/components/overlays/notification/MessageNotification.js +101 -0
- package/dist/esm/src/components/overlays/tooltip/Tooltip.js +222 -0
- package/dist/esm/src/components/select-dropdown/SelectDropdown.js +1 -1
- package/dist/esm/src/components/select-dropdown/index.js +1 -1
- package/dist/esm/src/components/tab/TabButton.js +1 -1
- package/dist/esm/src/hooks/dropdown/index.js +6 -6
- package/dist/esm/src/hooks/index.js +3 -3
- package/dist/esm/src/types/component-meta.js +2 -0
- package/dist/esm/vitest.config.js +7 -0
- package/dist/temp/assets/scripts/slider.js +26 -18
- package/dist/temp/src/components/action/button/Button.d.ts +35 -0
- package/dist/temp/src/components/action/button/Button.js +52 -0
- package/dist/temp/src/components/action/button/ButtonCloseX.d.ts +10 -0
- package/dist/temp/src/components/action/button/ButtonStepper.d.ts +9 -0
- package/dist/temp/src/components/action/button-group/ButtonGroup.d.ts +312 -0
- package/dist/temp/src/components/action/button-group/ButtonGroup.js +51 -0
- package/dist/temp/src/components/feedback-and-status/badge/Badge.d.ts +18 -0
- package/dist/temp/src/components/feedback-and-status/badge/index.d.ts +2 -0
- package/dist/temp/src/components/feedback-and-status/badge/index.js +2 -0
- package/dist/temp/src/components/feedback-and-status/badge/utils.d.ts +8 -0
- package/dist/temp/src/components/feedback-and-status/badge/utils.js +15 -0
- package/dist/temp/src/components/feedback-and-status/badge-group/BadgeGroup.d.ts +18 -0
- package/dist/temp/src/components/feedback-and-status/empty-state/EmptyState.d.ts +12 -0
- package/dist/temp/src/components/feedback-and-status/empty-state/EmptyState.js +6 -0
- package/dist/temp/src/components/feedback-and-status/progress-bar/components/index.d.ts +2 -0
- package/dist/temp/src/components/feedback-and-status/progress-bar/components/index.js +2 -0
- package/dist/temp/src/components/feedback-and-status/progress-bar/hooks/index.d.ts +1 -0
- package/dist/temp/src/components/feedback-and-status/progress-bar/hooks/index.js +1 -0
- package/dist/temp/src/components/feedback-and-status/progress-bar/index.d.ts +5 -0
- package/dist/temp/src/components/feedback-and-status/progress-bar/index.js +5 -0
- package/dist/temp/src/components/feedback-and-status/spinner/Spinner.d.ts +8 -0
- package/dist/temp/src/components/feedback-and-status/tag/Tag.d.ts +15 -0
- package/dist/temp/src/components/feedback-and-status/tag/Tag.js +95 -0
- package/dist/temp/src/components/forms-and-input/checkbox/CheckboxInput.d.ts +9 -0
- package/dist/temp/src/components/forms-and-input/combo-box/ComboBox.d.ts +28 -0
- package/dist/temp/src/components/forms-and-input/combo-box/ComboBox.js +166 -0
- package/dist/temp/src/components/forms-and-input/date-picker/CustomInput.d.ts +10 -0
- package/dist/temp/src/components/forms-and-input/date-picker/DatePicker.d.ts +28 -0
- package/dist/temp/src/components/forms-and-input/date-picker/DatePicker.js +500 -0
- package/dist/temp/src/components/forms-and-input/date-picker/index.d.ts +3 -0
- package/dist/temp/src/components/forms-and-input/date-picker/index.js +3 -0
- package/dist/temp/src/components/forms-and-input/file-input/FileInput.js +87 -0
- package/dist/temp/src/components/forms-and-input/image-file-input/ImageFileInput.js +96 -0
- package/dist/temp/src/components/forms-and-input/image-file-input/components/ImagePreview.js +6 -0
- package/dist/temp/src/components/forms-and-input/image-file-input/components/index.d.ts +1 -0
- package/dist/temp/src/components/forms-and-input/image-file-input/components/index.js +1 -0
- package/dist/temp/src/components/forms-and-input/image-file-input/index.d.ts +2 -0
- package/dist/temp/src/components/forms-and-input/image-file-input/index.js +2 -0
- package/dist/temp/src/components/forms-and-input/input-base/InputBase.d.ts +55 -0
- package/dist/temp/src/components/forms-and-input/input-base/InputBase.js +96 -0
- package/dist/temp/src/components/forms-and-input/number-input/NumberInput.js +68 -0
- package/dist/temp/src/components/forms-and-input/radio/RadioInput.d.ts +8 -0
- package/dist/temp/src/components/forms-and-input/range-date-picker-with-buttons/RangeDatePickerWithButtons.d.ts +71 -0
- package/dist/temp/src/components/forms-and-input/range-date-picker-with-buttons/RangeDatePickerWithButtons.js +43 -0
- package/dist/temp/src/components/forms-and-input/select/Select.d.ts +16 -0
- package/dist/temp/src/components/forms-and-input/select/Select.js +10 -0
- package/dist/temp/src/components/forms-and-input/select-box/SelectBox.d.ts +27 -0
- package/dist/temp/src/components/forms-and-input/select-box/SelectBox.js +130 -0
- package/dist/temp/src/components/forms-and-input/slider/Slider.d.ts +14 -0
- package/dist/temp/src/components/forms-and-input/slider/Slider.js +43 -0
- package/dist/temp/src/components/forms-and-input/switch/Switch.d.ts +22 -0
- package/dist/temp/src/components/forms-and-input/switch/index.d.ts +1 -0
- package/dist/temp/src/components/forms-and-input/switch/index.js +1 -0
- package/dist/temp/src/components/forms-and-input/textarea/Textarea.d.ts +14 -0
- package/dist/temp/src/components/forms-and-input/textarea/Textarea.js +34 -0
- package/dist/temp/src/components/image-and-icons/dot/Dot.d.ts +24 -0
- package/dist/temp/src/components/image-and-icons/featured-icon/FeaturedIcon.d.ts +15 -0
- package/dist/temp/src/components/index.d.ts +41 -41
- package/dist/temp/src/components/index.js +50 -41
- package/dist/temp/src/components/navigation/horizontal-tab/HorizontalTab.d.ts +12 -0
- package/dist/temp/src/components/navigation/horizontal-tab/HorizontalTab.js +24 -0
- package/dist/temp/src/components/navigation/pagination/NavButton.d.ts +31 -0
- package/dist/temp/src/components/navigation/pagination/NavButton.js +54 -0
- package/dist/temp/src/components/navigation/vertical-tab/VerticalTab.d.ts +9 -0
- package/dist/temp/src/components/navigation/vertical-tab/VerticalTab.js +20 -0
- package/dist/temp/src/components/overlays/dropdown/Dropdown.d.ts +65 -0
- package/dist/temp/src/components/overlays/dropdown/Dropdown.js +273 -0
- package/dist/temp/src/components/overlays/dropdown/__tests__/utils.test.js +122 -0
- package/dist/temp/src/components/overlays/dropdown/utils.d.ts +32 -0
- package/dist/temp/src/components/overlays/dropdown/utils.js +89 -0
- package/dist/temp/src/components/overlays/modal/Modal.d.ts +79 -0
- package/dist/temp/src/components/overlays/modal/Modal.js +75 -0
- package/dist/temp/src/components/overlays/notification/FloatingNotification.js +56 -0
- package/dist/temp/src/components/overlays/notification/FullWidthNotification.js +56 -0
- package/dist/temp/src/components/overlays/notification/MessageNotification.d.ts +41 -0
- package/dist/temp/src/components/overlays/notification/MessageNotification.js +34 -0
- package/dist/temp/src/components/overlays/notification/Notification.d.ts +72 -0
- package/dist/temp/src/components/overlays/tooltip/Tooltip.d.ts +17 -0
- package/dist/temp/src/components/overlays/tooltip/Tooltip.js +162 -0
- package/dist/temp/src/components/select-dropdown/SelectDropdown.js +1 -1
- package/dist/temp/src/components/select-dropdown/index.d.ts +1 -1
- package/dist/temp/src/components/select-dropdown/index.js +1 -1
- package/dist/temp/src/components/tab/TabButton.d.ts +1 -1
- package/dist/temp/src/components/tab/TabButton.js +1 -1
- package/dist/temp/src/hooks/dropdown/index.d.ts +6 -6
- package/dist/temp/src/hooks/dropdown/index.js +6 -6
- package/dist/temp/src/hooks/index.d.ts +3 -3
- package/dist/temp/src/hooks/index.js +3 -3
- package/dist/temp/src/types/component-meta.d.ts +26 -0
- package/dist/temp/src/types/component-meta.js +2 -0
- package/dist/temp/src/types/dropdown/option.d.ts +2 -4
- package/dist/temp/src/types/side-slot.d.ts +9 -1
- package/dist/temp/vitest.config.d.ts +2 -0
- package/dist/temp/vitest.config.js +11 -0
- package/dist/types/src/components/action/button/Button.d.ts +35 -0
- package/dist/types/src/components/action/button/ButtonCloseX.d.ts +10 -0
- package/dist/types/src/components/action/button/ButtonStepper.d.ts +9 -0
- package/dist/types/src/components/action/button-group/ButtonGroup.d.ts +312 -0
- package/dist/types/src/components/feedback-and-status/badge/Badge.d.ts +18 -0
- package/dist/types/src/components/feedback-and-status/badge/index.d.ts +2 -0
- package/dist/types/src/components/feedback-and-status/badge/utils.d.ts +8 -0
- package/dist/types/src/components/feedback-and-status/badge-group/BadgeGroup.d.ts +18 -0
- package/dist/types/src/components/feedback-and-status/empty-state/EmptyState.d.ts +12 -0
- package/dist/types/src/components/feedback-and-status/progress-bar/components/index.d.ts +2 -0
- package/dist/types/src/components/feedback-and-status/progress-bar/hooks/index.d.ts +1 -0
- package/dist/types/src/components/feedback-and-status/progress-bar/index.d.ts +5 -0
- package/dist/types/src/components/feedback-and-status/spinner/Spinner.d.ts +8 -0
- package/dist/types/src/components/feedback-and-status/tag/Tag.d.ts +15 -0
- package/dist/types/src/components/forms-and-input/checkbox/CheckboxInput.d.ts +9 -0
- package/dist/types/src/components/forms-and-input/combo-box/ComboBox.d.ts +28 -0
- package/dist/types/src/components/forms-and-input/date-picker/CustomInput.d.ts +10 -0
- package/dist/types/src/components/forms-and-input/date-picker/DatePicker.d.ts +28 -0
- package/dist/types/src/components/forms-and-input/date-picker/index.d.ts +3 -0
- package/dist/types/src/components/forms-and-input/image-file-input/components/index.d.ts +1 -0
- package/dist/types/src/components/forms-and-input/image-file-input/index.d.ts +2 -0
- package/dist/types/src/components/forms-and-input/input-base/InputBase.d.ts +55 -0
- package/dist/types/src/components/forms-and-input/radio/RadioInput.d.ts +8 -0
- package/dist/types/src/components/forms-and-input/range-date-picker-with-buttons/RangeDatePickerWithButtons.d.ts +71 -0
- package/dist/types/src/components/forms-and-input/select/Select.d.ts +16 -0
- package/dist/types/src/components/forms-and-input/select-box/SelectBox.d.ts +27 -0
- package/dist/types/src/components/forms-and-input/slider/Slider.d.ts +14 -0
- package/dist/types/src/components/forms-and-input/switch/Switch.d.ts +22 -0
- package/dist/types/src/components/forms-and-input/switch/index.d.ts +1 -0
- package/dist/types/src/components/forms-and-input/textarea/Textarea.d.ts +14 -0
- package/dist/types/src/components/image-and-icons/dot/Dot.d.ts +24 -0
- package/dist/types/src/components/image-and-icons/featured-icon/FeaturedIcon.d.ts +15 -0
- package/dist/types/src/components/index.d.ts +41 -41
- package/dist/types/src/components/navigation/horizontal-tab/HorizontalTab.d.ts +12 -0
- package/dist/types/src/components/navigation/pagination/NavButton.d.ts +31 -0
- package/dist/types/src/components/navigation/vertical-tab/VerticalTab.d.ts +9 -0
- package/dist/types/src/components/overlays/dropdown/Dropdown.d.ts +65 -0
- package/dist/types/src/components/overlays/dropdown/utils.d.ts +32 -0
- package/dist/types/src/components/overlays/modal/Modal.d.ts +79 -0
- package/dist/types/src/components/overlays/notification/MessageNotification.d.ts +41 -0
- package/dist/types/src/components/overlays/notification/Notification.d.ts +72 -0
- package/dist/types/src/components/overlays/tooltip/Tooltip.d.ts +17 -0
- package/dist/types/src/components/select-dropdown/index.d.ts +1 -1
- package/dist/types/src/components/tab/TabButton.d.ts +1 -1
- package/dist/types/src/hooks/dropdown/index.d.ts +6 -6
- package/dist/types/src/hooks/index.d.ts +3 -3
- package/dist/types/src/types/component-meta.d.ts +26 -0
- package/dist/types/src/types/dropdown/option.d.ts +2 -4
- package/dist/types/src/types/side-slot.d.ts +9 -1
- package/dist/types/vitest.config.d.ts +2 -0
- package/dist/ui-admin/assets/styles/style.css +266 -138
- package/package.json +17 -8
- package/dist/cjs/assets/scripts/baseBox.js +0 -146
- package/dist/cjs/assets/scripts/comboBox.js +0 -137
- package/dist/cjs/assets/scripts/datePicker.js +0 -671
- package/dist/cjs/assets/scripts/featuredIcon.js +0 -87
- package/dist/cjs/assets/scripts/fileInput/const/classNames.js +0 -25
- package/dist/cjs/assets/scripts/fileInput/const/index.js +0 -27
- package/dist/cjs/assets/scripts/fileInput/const/types.js +0 -13
- package/dist/cjs/assets/scripts/fileInput/fileInput.js +0 -78
- package/dist/cjs/assets/scripts/fileInput/fileInputModel.js +0 -53
- package/dist/cjs/assets/scripts/fileInput/fileInputView.js +0 -152
- package/dist/cjs/assets/scripts/fileInput/index.js +0 -44
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInput.js +0 -184
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInputModel.js +0 -222
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInputView.js +0 -356
- package/dist/cjs/assets/scripts/imageFileInput/const/classNames.js +0 -31
- package/dist/cjs/assets/scripts/imageFileInput/const/index.js +0 -27
- package/dist/cjs/assets/scripts/imageFileInput/const/types.js +0 -13
- package/dist/cjs/assets/scripts/imageFileInput/index.js +0 -44
- package/dist/cjs/assets/scripts/index.js +0 -32
- package/dist/cjs/assets/scripts/modal/Modal.js +0 -104
- package/dist/cjs/assets/scripts/modal/ModalActions.js +0 -116
- package/dist/cjs/assets/scripts/modal/ModalContent.js +0 -46
- package/dist/cjs/assets/scripts/modal/ModalHeader.js +0 -104
- package/dist/cjs/assets/scripts/modal/const/classNames.js +0 -33
- package/dist/cjs/assets/scripts/modal/const/index.js +0 -27
- package/dist/cjs/assets/scripts/modal/index.js +0 -61
- package/dist/cjs/assets/scripts/modal/utils/contentUtils.js +0 -35
- package/dist/cjs/assets/scripts/notification/FloatingNotification.js +0 -178
- package/dist/cjs/assets/scripts/notification/FullWidthNotification.js +0 -132
- package/dist/cjs/assets/scripts/notification/MessageNotification.js +0 -159
- package/dist/cjs/assets/scripts/notification/Notification.js +0 -101
- package/dist/cjs/assets/scripts/notification/const/classNames.js +0 -50
- package/dist/cjs/assets/scripts/notification/const/icons.js +0 -31
- package/dist/cjs/assets/scripts/notification/const/index.js +0 -87
- package/dist/cjs/assets/scripts/notification/const/sizes.js +0 -46
- package/dist/cjs/assets/scripts/notification/const/types.js +0 -14
- package/dist/cjs/assets/scripts/notification/index.js +0 -92
- package/dist/cjs/assets/scripts/notification/utils.js +0 -97
- package/dist/cjs/assets/scripts/progress-bar/ProgressBar.js +0 -271
- package/dist/cjs/assets/scripts/progress-bar/index.js +0 -12
- package/dist/cjs/assets/scripts/selectBox.js +0 -169
- package/dist/cjs/assets/scripts/shared/ButtonCloseX.js +0 -45
- package/dist/cjs/assets/scripts/tab.js +0 -40
- package/dist/cjs/assets/scripts/table/Table.js +0 -377
- package/dist/cjs/assets/scripts/table/const/classNames.js +0 -33
- package/dist/cjs/assets/scripts/table/const/index.js +0 -27
- package/dist/cjs/assets/scripts/table/index.js +0 -43
- package/dist/cjs/assets/scripts/tag/Tag.js +0 -261
- package/dist/cjs/assets/scripts/tag/const/classNames.js +0 -20
- package/dist/cjs/assets/scripts/tag/const/index.js +0 -38
- package/dist/cjs/assets/scripts/tag/const/sizes.js +0 -13
- package/dist/cjs/assets/scripts/tag/index.js +0 -44
- package/dist/cjs/assets/scripts/tooltip/Tooltip.js +0 -353
- package/dist/cjs/assets/scripts/tooltip/TooltipLayerManager.js +0 -82
- package/dist/cjs/assets/scripts/tooltip/const/classNames.js +0 -29
- package/dist/cjs/assets/scripts/tooltip/const/constants.js +0 -56
- package/dist/cjs/assets/scripts/tooltip/const/icons.js +0 -15
- package/dist/cjs/assets/scripts/tooltip/const/index.js +0 -123
- package/dist/cjs/assets/scripts/tooltip/const/templates.js +0 -66
- package/dist/cjs/assets/scripts/tooltip/const/types.js +0 -5
- package/dist/cjs/assets/scripts/tooltip/index.js +0 -57
- package/dist/cjs/assets/scripts/tooltip/utils.js +0 -40
- package/dist/cjs/assets/scripts/utils/debounce.js +0 -32
- package/dist/cjs/assets/scripts/utils/unifiedBox/domRenderer.js +0 -370
- package/dist/cjs/assets/scripts/utils/unifiedBox/dropdownModel.js +0 -285
- package/dist/cjs/assets/scripts/utils/unifiedBox/unifiedBoxController.js +0 -622
- package/dist/cjs/assets/scripts/utils/unifiedBox/unifiedBoxManager.js +0 -473
- package/dist/cjs/src/components/badge/index.js +0 -16
- package/dist/cjs/src/components/badge/utils.js +0 -32
- package/dist/cjs/src/components/button/Button.js +0 -86
- package/dist/cjs/src/components/button-group/ButtonGroup.js +0 -97
- package/dist/cjs/src/components/combo-box/ComboBox.js +0 -291
- package/dist/cjs/src/components/date-picker/DatePicker.js +0 -529
- package/dist/cjs/src/components/date-picker/index.js +0 -27
- package/dist/cjs/src/components/dropdown/Dropdown.js +0 -164
- package/dist/cjs/src/components/empty-state/EmptyState.js +0 -41
- package/dist/cjs/src/components/file-input/FileInput.js +0 -183
- package/dist/cjs/src/components/horizontal-tab/HorizontalTab.js +0 -53
- package/dist/cjs/src/components/image-file-input/ImageFileInput.js +0 -201
- package/dist/cjs/src/components/image-file-input/components/ImagePreview.js +0 -36
- package/dist/cjs/src/components/image-file-input/index.js +0 -16
- package/dist/cjs/src/components/input-base/InputBase.js +0 -195
- package/dist/cjs/src/components/modal/Modal.js +0 -171
- package/dist/cjs/src/components/notification/FloatingNotification.js +0 -112
- package/dist/cjs/src/components/notification/FullWidthNotification.js +0 -134
- package/dist/cjs/src/components/notification/MessageNotification.js +0 -107
- package/dist/cjs/src/components/number-input/NumberInput.js +0 -112
- package/dist/cjs/src/components/pagination/NavButton.js +0 -70
- package/dist/cjs/src/components/progress-bar/index.js +0 -27
- package/dist/cjs/src/components/progress-bar/types.js +0 -5
- package/dist/cjs/src/components/range-date-picker-with-buttons/RangeDatePickerWithButtons.js +0 -81
- package/dist/cjs/src/components/select/Select.js +0 -60
- package/dist/cjs/src/components/select-box/SelectBox.js +0 -260
- package/dist/cjs/src/components/slider/Slider.js +0 -61
- package/dist/cjs/src/components/switch/index.js +0 -12
- package/dist/cjs/src/components/table/types.js +0 -5
- package/dist/cjs/src/components/tag/Tag.js +0 -146
- package/dist/cjs/src/components/textarea/Textarea.js +0 -79
- package/dist/cjs/src/components/tooltip/Tooltip.js +0 -164
- package/dist/cjs/src/components/vertical-tab/VerticalTab.js +0 -48
- package/dist/esm/assets/scripts/baseBox.js +0 -139
- package/dist/esm/assets/scripts/comboBox.js +0 -130
- package/dist/esm/assets/scripts/datePicker.js +0 -663
- package/dist/esm/assets/scripts/featuredIcon.js +0 -80
- package/dist/esm/assets/scripts/fileInput/const/classNames.js +0 -16
- package/dist/esm/assets/scripts/fileInput/const/index.js +0 -2
- package/dist/esm/assets/scripts/fileInput/const/types.js +0 -7
- package/dist/esm/assets/scripts/fileInput/fileInput.js +0 -71
- package/dist/esm/assets/scripts/fileInput/fileInputModel.js +0 -46
- package/dist/esm/assets/scripts/fileInput/fileInputView.js +0 -145
- package/dist/esm/assets/scripts/fileInput/index.js +0 -9
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInput.js +0 -177
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInputModel.js +0 -215
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInputView.js +0 -349
- package/dist/esm/assets/scripts/imageFileInput/const/classNames.js +0 -20
- package/dist/esm/assets/scripts/imageFileInput/const/index.js +0 -2
- package/dist/esm/assets/scripts/imageFileInput/const/types.js +0 -7
- package/dist/esm/assets/scripts/imageFileInput/index.js +0 -9
- package/dist/esm/assets/scripts/index.js +0 -30
- package/dist/esm/assets/scripts/modal/Modal.js +0 -98
- package/dist/esm/assets/scripts/modal/ModalActions.js +0 -109
- package/dist/esm/assets/scripts/modal/ModalContent.js +0 -39
- package/dist/esm/assets/scripts/modal/ModalHeader.js +0 -97
- package/dist/esm/assets/scripts/modal/const/classNames.js +0 -23
- package/dist/esm/assets/scripts/modal/const/index.js +0 -2
- package/dist/esm/assets/scripts/modal/index.js +0 -15
- package/dist/esm/assets/scripts/modal/utils/contentUtils.js +0 -28
- package/dist/esm/assets/scripts/notification/FloatingNotification.js +0 -172
- package/dist/esm/assets/scripts/notification/FullWidthNotification.js +0 -125
- package/dist/esm/assets/scripts/notification/MessageNotification.js +0 -152
- package/dist/esm/assets/scripts/notification/Notification.js +0 -94
- package/dist/esm/assets/scripts/notification/const/classNames.js +0 -44
- package/dist/esm/assets/scripts/notification/const/icons.js +0 -25
- package/dist/esm/assets/scripts/notification/const/index.js +0 -4
- package/dist/esm/assets/scripts/notification/const/sizes.js +0 -40
- package/dist/esm/assets/scripts/notification/const/types.js +0 -8
- package/dist/esm/assets/scripts/notification/index.js +0 -11
- package/dist/esm/assets/scripts/notification/utils.js +0 -84
- package/dist/esm/assets/scripts/progress-bar/ProgressBar.js +0 -264
- package/dist/esm/assets/scripts/progress-bar/index.js +0 -1
- package/dist/esm/assets/scripts/selectBox.js +0 -162
- package/dist/esm/assets/scripts/shared/ButtonCloseX.js +0 -37
- package/dist/esm/assets/scripts/tab.js +0 -33
- package/dist/esm/assets/scripts/table/Table.js +0 -370
- package/dist/esm/assets/scripts/table/const/classNames.js +0 -27
- package/dist/esm/assets/scripts/table/const/index.js +0 -2
- package/dist/esm/assets/scripts/table/index.js +0 -8
- package/dist/esm/assets/scripts/tag/Tag.js +0 -254
- package/dist/esm/assets/scripts/tag/const/classNames.js +0 -12
- package/dist/esm/assets/scripts/tag/const/index.js +0 -3
- package/dist/esm/assets/scripts/tag/const/sizes.js +0 -7
- package/dist/esm/assets/scripts/tag/const/types.js +0 -1
- package/dist/esm/assets/scripts/tag/index.js +0 -9
- package/dist/esm/assets/scripts/tooltip/Tooltip.js +0 -346
- package/dist/esm/assets/scripts/tooltip/TooltipLayerManager.js +0 -75
- package/dist/esm/assets/scripts/tooltip/const/classNames.js +0 -23
- package/dist/esm/assets/scripts/tooltip/const/constants.js +0 -50
- package/dist/esm/assets/scripts/tooltip/const/icons.js +0 -9
- package/dist/esm/assets/scripts/tooltip/const/index.js +0 -4
- package/dist/esm/assets/scripts/tooltip/const/templates.js +0 -59
- package/dist/esm/assets/scripts/tooltip/const/types.js +0 -1
- package/dist/esm/assets/scripts/tooltip/index.js +0 -10
- package/dist/esm/assets/scripts/tooltip/utils.js +0 -34
- package/dist/esm/assets/scripts/utils/debounce.js +0 -26
- package/dist/esm/assets/scripts/utils/unifiedBox/domRenderer.js +0 -363
- package/dist/esm/assets/scripts/utils/unifiedBox/dropdownModel.js +0 -279
- package/dist/esm/assets/scripts/utils/unifiedBox/unifiedBoxController.js +0 -615
- package/dist/esm/assets/scripts/utils/unifiedBox/unifiedBoxManager.js +0 -466
- package/dist/esm/src/components/badge/index.js +0 -1
- package/dist/esm/src/components/badge/utils.js +0 -26
- package/dist/esm/src/components/button/Button.js +0 -79
- package/dist/esm/src/components/button-group/ButtonGroup.js +0 -89
- package/dist/esm/src/components/combo-box/ComboBox.js +0 -285
- package/dist/esm/src/components/date-picker/DatePicker.js +0 -522
- package/dist/esm/src/components/date-picker/index.js +0 -2
- package/dist/esm/src/components/dropdown/Dropdown.js +0 -157
- package/dist/esm/src/components/empty-state/EmptyState.js +0 -35
- package/dist/esm/src/components/file-input/FileInput.js +0 -176
- package/dist/esm/src/components/horizontal-tab/HorizontalTab.js +0 -46
- package/dist/esm/src/components/image-file-input/ImageFileInput.js +0 -194
- package/dist/esm/src/components/image-file-input/components/ImagePreview.js +0 -29
- package/dist/esm/src/components/image-file-input/index.js +0 -1
- package/dist/esm/src/components/input-base/InputBase.js +0 -189
- package/dist/esm/src/components/modal/Modal.js +0 -164
- package/dist/esm/src/components/notification/FloatingNotification.js +0 -106
- package/dist/esm/src/components/notification/FullWidthNotification.js +0 -128
- package/dist/esm/src/components/notification/MessageNotification.js +0 -101
- package/dist/esm/src/components/number-input/NumberInput.js +0 -106
- package/dist/esm/src/components/pagination/NavButton.js +0 -63
- package/dist/esm/src/components/progress-bar/index.js +0 -2
- package/dist/esm/src/components/progress-bar/types.js +0 -1
- package/dist/esm/src/components/range-date-picker-with-buttons/RangeDatePickerWithButtons.js +0 -75
- package/dist/esm/src/components/select/Select.js +0 -53
- package/dist/esm/src/components/select-box/SelectBox.js +0 -254
- package/dist/esm/src/components/slider/Slider.js +0 -54
- package/dist/esm/src/components/switch/index.js +0 -1
- package/dist/esm/src/components/table/types.js +0 -1
- package/dist/esm/src/components/tag/Tag.js +0 -139
- package/dist/esm/src/components/textarea/Textarea.js +0 -72
- package/dist/esm/src/components/tooltip/Tooltip.js +0 -156
- package/dist/esm/src/components/vertical-tab/VerticalTab.js +0 -40
- package/dist/temp/assets/scripts/baseBox.d.ts +0 -55
- package/dist/temp/assets/scripts/baseBox.js +0 -140
- package/dist/temp/assets/scripts/comboBox.d.ts +0 -60
- package/dist/temp/assets/scripts/comboBox.js +0 -132
- package/dist/temp/assets/scripts/datePicker.d.ts +0 -86
- package/dist/temp/assets/scripts/datePicker.js +0 -699
- package/dist/temp/assets/scripts/featuredIcon.d.ts +0 -22
- package/dist/temp/assets/scripts/featuredIcon.js +0 -79
- package/dist/temp/assets/scripts/fileInput/const/classNames.d.ts +0 -15
- package/dist/temp/assets/scripts/fileInput/const/classNames.js +0 -16
- package/dist/temp/assets/scripts/fileInput/const/index.d.ts +0 -2
- package/dist/temp/assets/scripts/fileInput/const/index.js +0 -2
- package/dist/temp/assets/scripts/fileInput/const/types.d.ts +0 -88
- package/dist/temp/assets/scripts/fileInput/const/types.js +0 -7
- package/dist/temp/assets/scripts/fileInput/fileInput.d.ts +0 -13
- package/dist/temp/assets/scripts/fileInput/fileInput.js +0 -71
- package/dist/temp/assets/scripts/fileInput/fileInputModel.d.ts +0 -12
- package/dist/temp/assets/scripts/fileInput/fileInputModel.js +0 -37
- package/dist/temp/assets/scripts/fileInput/fileInputView.d.ts +0 -42
- package/dist/temp/assets/scripts/fileInput/fileInputView.js +0 -145
- package/dist/temp/assets/scripts/fileInput/index.d.ts +0 -3
- package/dist/temp/assets/scripts/fileInput/index.js +0 -9
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInput.d.ts +0 -63
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInput.js +0 -180
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInputModel.d.ts +0 -73
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInputModel.js +0 -214
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInputView.d.ts +0 -79
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInputView.js +0 -350
- package/dist/temp/assets/scripts/imageFileInput/const/classNames.d.ts +0 -19
- package/dist/temp/assets/scripts/imageFileInput/const/classNames.js +0 -20
- package/dist/temp/assets/scripts/imageFileInput/const/index.d.ts +0 -2
- package/dist/temp/assets/scripts/imageFileInput/const/index.js +0 -2
- package/dist/temp/assets/scripts/imageFileInput/const/types.d.ts +0 -125
- package/dist/temp/assets/scripts/imageFileInput/const/types.js +0 -7
- package/dist/temp/assets/scripts/imageFileInput/index.d.ts +0 -3
- package/dist/temp/assets/scripts/imageFileInput/index.js +0 -9
- package/dist/temp/assets/scripts/index.d.ts +0 -34
- package/dist/temp/assets/scripts/index.js +0 -30
- package/dist/temp/assets/scripts/modal/Modal.d.ts +0 -27
- package/dist/temp/assets/scripts/modal/Modal.js +0 -100
- package/dist/temp/assets/scripts/modal/ModalActions.d.ts +0 -18
- package/dist/temp/assets/scripts/modal/ModalActions.js +0 -117
- package/dist/temp/assets/scripts/modal/ModalContent.d.ts +0 -13
- package/dist/temp/assets/scripts/modal/ModalContent.js +0 -39
- package/dist/temp/assets/scripts/modal/ModalHeader.d.ts +0 -15
- package/dist/temp/assets/scripts/modal/ModalHeader.js +0 -96
- package/dist/temp/assets/scripts/modal/const/classNames.d.ts +0 -22
- package/dist/temp/assets/scripts/modal/const/classNames.js +0 -23
- package/dist/temp/assets/scripts/modal/const/index.d.ts +0 -2
- package/dist/temp/assets/scripts/modal/const/index.js +0 -2
- package/dist/temp/assets/scripts/modal/const/types.d.ts +0 -61
- package/dist/temp/assets/scripts/modal/index.d.ts +0 -7
- package/dist/temp/assets/scripts/modal/index.js +0 -15
- package/dist/temp/assets/scripts/modal/utils/contentUtils.d.ts +0 -10
- package/dist/temp/assets/scripts/modal/utils/contentUtils.js +0 -29
- package/dist/temp/assets/scripts/notification/FloatingNotification.d.ts +0 -24
- package/dist/temp/assets/scripts/notification/FloatingNotification.js +0 -157
- package/dist/temp/assets/scripts/notification/FullWidthNotification.d.ts +0 -21
- package/dist/temp/assets/scripts/notification/FullWidthNotification.js +0 -110
- package/dist/temp/assets/scripts/notification/MessageNotification.d.ts +0 -22
- package/dist/temp/assets/scripts/notification/MessageNotification.js +0 -140
- package/dist/temp/assets/scripts/notification/Notification.d.ts +0 -21
- package/dist/temp/assets/scripts/notification/Notification.js +0 -94
- package/dist/temp/assets/scripts/notification/const/classNames.d.ts +0 -43
- package/dist/temp/assets/scripts/notification/const/classNames.js +0 -44
- package/dist/temp/assets/scripts/notification/const/icons.d.ts +0 -25
- package/dist/temp/assets/scripts/notification/const/icons.js +0 -25
- package/dist/temp/assets/scripts/notification/const/index.d.ts +0 -5
- package/dist/temp/assets/scripts/notification/const/index.js +0 -4
- package/dist/temp/assets/scripts/notification/const/sizes.d.ts +0 -32
- package/dist/temp/assets/scripts/notification/const/sizes.js +0 -40
- package/dist/temp/assets/scripts/notification/const/types.d.ts +0 -19
- package/dist/temp/assets/scripts/notification/const/types.js +0 -8
- package/dist/temp/assets/scripts/notification/index.d.ts +0 -7
- package/dist/temp/assets/scripts/notification/index.js +0 -11
- package/dist/temp/assets/scripts/notification/utils.d.ts +0 -8
- package/dist/temp/assets/scripts/notification/utils.js +0 -89
- package/dist/temp/assets/scripts/progress-bar/ProgressBar.d.ts +0 -67
- package/dist/temp/assets/scripts/progress-bar/ProgressBar.js +0 -263
- package/dist/temp/assets/scripts/progress-bar/index.d.ts +0 -1
- package/dist/temp/assets/scripts/progress-bar/index.js +0 -1
- package/dist/temp/assets/scripts/selectBox.d.ts +0 -50
- package/dist/temp/assets/scripts/selectBox.js +0 -170
- package/dist/temp/assets/scripts/shared/ButtonCloseX.d.ts +0 -5
- package/dist/temp/assets/scripts/shared/ButtonCloseX.js +0 -33
- package/dist/temp/assets/scripts/tab.d.ts +0 -7
- package/dist/temp/assets/scripts/tab.js +0 -33
- package/dist/temp/assets/scripts/table/Table.d.ts +0 -41
- package/dist/temp/assets/scripts/table/Table.js +0 -378
- package/dist/temp/assets/scripts/table/const/classNames.d.ts +0 -27
- package/dist/temp/assets/scripts/table/const/classNames.js +0 -27
- package/dist/temp/assets/scripts/table/const/index.d.ts +0 -2
- package/dist/temp/assets/scripts/table/const/index.js +0 -2
- package/dist/temp/assets/scripts/table/const/types.d.ts +0 -23
- package/dist/temp/assets/scripts/table/index.d.ts +0 -3
- package/dist/temp/assets/scripts/table/index.js +0 -8
- package/dist/temp/assets/scripts/tag/Tag.d.ts +0 -27
- package/dist/temp/assets/scripts/tag/Tag.js +0 -259
- package/dist/temp/assets/scripts/tag/const/classNames.d.ts +0 -11
- package/dist/temp/assets/scripts/tag/const/classNames.js +0 -12
- package/dist/temp/assets/scripts/tag/const/index.d.ts +0 -3
- package/dist/temp/assets/scripts/tag/const/index.js +0 -3
- package/dist/temp/assets/scripts/tag/const/sizes.d.ts +0 -7
- package/dist/temp/assets/scripts/tag/const/sizes.js +0 -7
- package/dist/temp/assets/scripts/tag/const/types.d.ts +0 -33
- package/dist/temp/assets/scripts/tag/index.d.ts +0 -3
- package/dist/temp/assets/scripts/tag/index.js +0 -9
- package/dist/temp/assets/scripts/tooltip/Tooltip.d.ts +0 -54
- package/dist/temp/assets/scripts/tooltip/Tooltip.js +0 -335
- package/dist/temp/assets/scripts/tooltip/TooltipLayerManager.d.ts +0 -21
- package/dist/temp/assets/scripts/tooltip/TooltipLayerManager.js +0 -71
- package/dist/temp/assets/scripts/tooltip/const/classNames.d.ts +0 -17
- package/dist/temp/assets/scripts/tooltip/const/classNames.js +0 -23
- package/dist/temp/assets/scripts/tooltip/const/constants.d.ts +0 -33
- package/dist/temp/assets/scripts/tooltip/const/constants.js +0 -46
- package/dist/temp/assets/scripts/tooltip/const/icons.d.ts +0 -4
- package/dist/temp/assets/scripts/tooltip/const/icons.js +0 -9
- package/dist/temp/assets/scripts/tooltip/const/index.d.ts +0 -5
- package/dist/temp/assets/scripts/tooltip/const/index.js +0 -4
- package/dist/temp/assets/scripts/tooltip/const/templates.d.ts +0 -16
- package/dist/temp/assets/scripts/tooltip/const/templates.js +0 -59
- package/dist/temp/assets/scripts/tooltip/const/types.d.ts +0 -14
- package/dist/temp/assets/scripts/tooltip/index.d.ts +0 -6
- package/dist/temp/assets/scripts/tooltip/index.js +0 -10
- package/dist/temp/assets/scripts/tooltip/utils.d.ts +0 -2
- package/dist/temp/assets/scripts/tooltip/utils.js +0 -33
- package/dist/temp/assets/scripts/utils/debounce.d.ts +0 -8
- package/dist/temp/assets/scripts/utils/debounce.js +0 -23
- package/dist/temp/assets/scripts/utils/unifiedBox/domRenderer.d.ts +0 -107
- package/dist/temp/assets/scripts/utils/unifiedBox/domRenderer.js +0 -367
- package/dist/temp/assets/scripts/utils/unifiedBox/dropdownModel.d.ts +0 -142
- package/dist/temp/assets/scripts/utils/unifiedBox/dropdownModel.js +0 -286
- package/dist/temp/assets/scripts/utils/unifiedBox/unifiedBoxController.d.ts +0 -156
- package/dist/temp/assets/scripts/utils/unifiedBox/unifiedBoxController.js +0 -604
- package/dist/temp/assets/scripts/utils/unifiedBox/unifiedBoxManager.d.ts +0 -95
- package/dist/temp/assets/scripts/utils/unifiedBox/unifiedBoxManager.js +0 -482
- package/dist/temp/src/components/badge/Badge.d.ts +0 -18
- package/dist/temp/src/components/badge/index.d.ts +0 -1
- package/dist/temp/src/components/badge/index.js +0 -1
- package/dist/temp/src/components/badge/utils.d.ts +0 -8
- package/dist/temp/src/components/badge/utils.js +0 -15
- package/dist/temp/src/components/badge-group/BadgeGroup.d.ts +0 -18
- package/dist/temp/src/components/button/Button.d.ts +0 -35
- package/dist/temp/src/components/button/Button.js +0 -52
- package/dist/temp/src/components/button/ButtonCloseX.d.ts +0 -10
- package/dist/temp/src/components/button/ButtonStepper.d.ts +0 -9
- package/dist/temp/src/components/button-group/ButtonGroup.d.ts +0 -312
- package/dist/temp/src/components/button-group/ButtonGroup.js +0 -51
- package/dist/temp/src/components/checkbox/CheckboxInput.d.ts +0 -9
- package/dist/temp/src/components/combo-box/ComboBox.d.ts +0 -28
- package/dist/temp/src/components/combo-box/ComboBox.js +0 -166
- package/dist/temp/src/components/date-picker/CustomInput.d.ts +0 -10
- package/dist/temp/src/components/date-picker/DatePicker.d.ts +0 -28
- package/dist/temp/src/components/date-picker/DatePicker.js +0 -499
- package/dist/temp/src/components/date-picker/index.d.ts +0 -2
- package/dist/temp/src/components/date-picker/index.js +0 -2
- package/dist/temp/src/components/dot/Dot.d.ts +0 -24
- package/dist/temp/src/components/dropdown/Dropdown.d.ts +0 -52
- package/dist/temp/src/components/dropdown/Dropdown.js +0 -74
- package/dist/temp/src/components/empty-state/EmptyState.d.ts +0 -14
- package/dist/temp/src/components/empty-state/EmptyState.js +0 -7
- package/dist/temp/src/components/featured-icon/FeaturedIcon.d.ts +0 -15
- package/dist/temp/src/components/file-input/FileInput.js +0 -87
- package/dist/temp/src/components/horizontal-tab/HorizontalTab.d.ts +0 -12
- package/dist/temp/src/components/horizontal-tab/HorizontalTab.js +0 -24
- package/dist/temp/src/components/image-file-input/ImageFileInput.js +0 -96
- package/dist/temp/src/components/image-file-input/components/ImagePreview.js +0 -6
- package/dist/temp/src/components/image-file-input/index.d.ts +0 -1
- package/dist/temp/src/components/image-file-input/index.js +0 -1
- package/dist/temp/src/components/input-base/InputBase.d.ts +0 -55
- package/dist/temp/src/components/input-base/InputBase.js +0 -96
- package/dist/temp/src/components/modal/Modal.d.ts +0 -79
- package/dist/temp/src/components/modal/Modal.js +0 -75
- package/dist/temp/src/components/notification/FloatingNotification.js +0 -56
- package/dist/temp/src/components/notification/FullWidthNotification.js +0 -56
- package/dist/temp/src/components/notification/MessageNotification.d.ts +0 -41
- package/dist/temp/src/components/notification/MessageNotification.js +0 -34
- package/dist/temp/src/components/notification/Notification.d.ts +0 -72
- package/dist/temp/src/components/number-input/NumberInput.js +0 -68
- package/dist/temp/src/components/pagination/NavButton.d.ts +0 -31
- package/dist/temp/src/components/pagination/NavButton.js +0 -54
- package/dist/temp/src/components/progress-bar/index.d.ts +0 -2
- package/dist/temp/src/components/progress-bar/index.js +0 -2
- package/dist/temp/src/components/progress-bar/types.js +0 -1
- package/dist/temp/src/components/radio/RadioInput.d.ts +0 -8
- package/dist/temp/src/components/range-date-picker-with-buttons/RangeDatePickerWithButtons.d.ts +0 -71
- package/dist/temp/src/components/range-date-picker-with-buttons/RangeDatePickerWithButtons.js +0 -43
- package/dist/temp/src/components/select/Select.d.ts +0 -16
- package/dist/temp/src/components/select/Select.js +0 -10
- package/dist/temp/src/components/select-box/SelectBox.d.ts +0 -27
- package/dist/temp/src/components/select-box/SelectBox.js +0 -130
- package/dist/temp/src/components/slider/Slider.d.ts +0 -14
- package/dist/temp/src/components/slider/Slider.js +0 -43
- package/dist/temp/src/components/spinner/Spinner.d.ts +0 -9
- package/dist/temp/src/components/switch/Switch.d.ts +0 -22
- package/dist/temp/src/components/switch/index.d.ts +0 -2
- package/dist/temp/src/components/switch/index.js +0 -1
- package/dist/temp/src/components/table/types.js +0 -1
- package/dist/temp/src/components/tag/Tag.d.ts +0 -17
- package/dist/temp/src/components/tag/Tag.js +0 -96
- package/dist/temp/src/components/textarea/Textarea.d.ts +0 -14
- package/dist/temp/src/components/textarea/Textarea.js +0 -34
- package/dist/temp/src/components/tooltip/Tooltip.d.ts +0 -15
- package/dist/temp/src/components/tooltip/Tooltip.js +0 -104
- package/dist/temp/src/components/vertical-tab/VerticalTab.d.ts +0 -9
- package/dist/temp/src/components/vertical-tab/VerticalTab.js +0 -20
- package/dist/types/assets/scripts/baseBox.d.ts +0 -55
- package/dist/types/assets/scripts/comboBox.d.ts +0 -60
- package/dist/types/assets/scripts/datePicker.d.ts +0 -86
- package/dist/types/assets/scripts/featuredIcon.d.ts +0 -22
- package/dist/types/assets/scripts/fileInput/const/classNames.d.ts +0 -15
- package/dist/types/assets/scripts/fileInput/const/index.d.ts +0 -2
- package/dist/types/assets/scripts/fileInput/const/types.d.ts +0 -88
- package/dist/types/assets/scripts/fileInput/fileInput.d.ts +0 -13
- package/dist/types/assets/scripts/fileInput/fileInputModel.d.ts +0 -12
- package/dist/types/assets/scripts/fileInput/fileInputView.d.ts +0 -42
- package/dist/types/assets/scripts/fileInput/index.d.ts +0 -3
- package/dist/types/assets/scripts/imageFileInput/ImageFileInput.d.ts +0 -63
- package/dist/types/assets/scripts/imageFileInput/ImageFileInputModel.d.ts +0 -73
- package/dist/types/assets/scripts/imageFileInput/ImageFileInputView.d.ts +0 -79
- package/dist/types/assets/scripts/imageFileInput/const/classNames.d.ts +0 -19
- package/dist/types/assets/scripts/imageFileInput/const/index.d.ts +0 -2
- package/dist/types/assets/scripts/imageFileInput/const/types.d.ts +0 -125
- package/dist/types/assets/scripts/imageFileInput/index.d.ts +0 -3
- package/dist/types/assets/scripts/index.d.ts +0 -34
- package/dist/types/assets/scripts/modal/Modal.d.ts +0 -27
- package/dist/types/assets/scripts/modal/ModalActions.d.ts +0 -18
- package/dist/types/assets/scripts/modal/ModalContent.d.ts +0 -13
- package/dist/types/assets/scripts/modal/ModalHeader.d.ts +0 -15
- package/dist/types/assets/scripts/modal/const/classNames.d.ts +0 -22
- package/dist/types/assets/scripts/modal/const/index.d.ts +0 -2
- package/dist/types/assets/scripts/modal/const/types.d.ts +0 -61
- package/dist/types/assets/scripts/modal/index.d.ts +0 -7
- package/dist/types/assets/scripts/modal/utils/contentUtils.d.ts +0 -10
- package/dist/types/assets/scripts/notification/FloatingNotification.d.ts +0 -24
- package/dist/types/assets/scripts/notification/FullWidthNotification.d.ts +0 -21
- package/dist/types/assets/scripts/notification/MessageNotification.d.ts +0 -22
- package/dist/types/assets/scripts/notification/Notification.d.ts +0 -21
- package/dist/types/assets/scripts/notification/const/classNames.d.ts +0 -43
- package/dist/types/assets/scripts/notification/const/icons.d.ts +0 -25
- package/dist/types/assets/scripts/notification/const/index.d.ts +0 -5
- package/dist/types/assets/scripts/notification/const/sizes.d.ts +0 -32
- package/dist/types/assets/scripts/notification/const/types.d.ts +0 -19
- package/dist/types/assets/scripts/notification/index.d.ts +0 -7
- package/dist/types/assets/scripts/notification/utils.d.ts +0 -8
- package/dist/types/assets/scripts/progress-bar/ProgressBar.d.ts +0 -67
- package/dist/types/assets/scripts/progress-bar/index.d.ts +0 -1
- package/dist/types/assets/scripts/selectBox.d.ts +0 -50
- package/dist/types/assets/scripts/shared/ButtonCloseX.d.ts +0 -5
- package/dist/types/assets/scripts/tab.d.ts +0 -7
- package/dist/types/assets/scripts/table/Table.d.ts +0 -41
- package/dist/types/assets/scripts/table/const/classNames.d.ts +0 -27
- package/dist/types/assets/scripts/table/const/index.d.ts +0 -2
- package/dist/types/assets/scripts/table/const/types.d.ts +0 -23
- package/dist/types/assets/scripts/table/index.d.ts +0 -3
- package/dist/types/assets/scripts/tag/Tag.d.ts +0 -27
- package/dist/types/assets/scripts/tag/const/classNames.d.ts +0 -11
- package/dist/types/assets/scripts/tag/const/index.d.ts +0 -3
- package/dist/types/assets/scripts/tag/const/sizes.d.ts +0 -7
- package/dist/types/assets/scripts/tag/const/types.d.ts +0 -33
- package/dist/types/assets/scripts/tag/index.d.ts +0 -3
- package/dist/types/assets/scripts/tooltip/Tooltip.d.ts +0 -54
- package/dist/types/assets/scripts/tooltip/TooltipLayerManager.d.ts +0 -21
- package/dist/types/assets/scripts/tooltip/const/classNames.d.ts +0 -17
- package/dist/types/assets/scripts/tooltip/const/constants.d.ts +0 -33
- package/dist/types/assets/scripts/tooltip/const/icons.d.ts +0 -4
- package/dist/types/assets/scripts/tooltip/const/index.d.ts +0 -5
- package/dist/types/assets/scripts/tooltip/const/templates.d.ts +0 -16
- package/dist/types/assets/scripts/tooltip/const/types.d.ts +0 -14
- package/dist/types/assets/scripts/tooltip/index.d.ts +0 -6
- package/dist/types/assets/scripts/tooltip/utils.d.ts +0 -2
- package/dist/types/assets/scripts/utils/debounce.d.ts +0 -8
- package/dist/types/assets/scripts/utils/unifiedBox/domRenderer.d.ts +0 -107
- package/dist/types/assets/scripts/utils/unifiedBox/dropdownModel.d.ts +0 -142
- package/dist/types/assets/scripts/utils/unifiedBox/unifiedBoxController.d.ts +0 -156
- package/dist/types/assets/scripts/utils/unifiedBox/unifiedBoxManager.d.ts +0 -95
- package/dist/types/src/components/badge/Badge.d.ts +0 -18
- package/dist/types/src/components/badge/index.d.ts +0 -1
- package/dist/types/src/components/badge/utils.d.ts +0 -8
- package/dist/types/src/components/badge-group/BadgeGroup.d.ts +0 -18
- package/dist/types/src/components/button/Button.d.ts +0 -35
- package/dist/types/src/components/button/ButtonCloseX.d.ts +0 -10
- package/dist/types/src/components/button/ButtonStepper.d.ts +0 -9
- package/dist/types/src/components/button-group/ButtonGroup.d.ts +0 -312
- package/dist/types/src/components/checkbox/CheckboxInput.d.ts +0 -9
- package/dist/types/src/components/combo-box/ComboBox.d.ts +0 -28
- package/dist/types/src/components/date-picker/CustomInput.d.ts +0 -10
- package/dist/types/src/components/date-picker/DatePicker.d.ts +0 -28
- package/dist/types/src/components/date-picker/index.d.ts +0 -2
- package/dist/types/src/components/dot/Dot.d.ts +0 -24
- package/dist/types/src/components/dropdown/Dropdown.d.ts +0 -52
- package/dist/types/src/components/empty-state/EmptyState.d.ts +0 -14
- package/dist/types/src/components/featured-icon/FeaturedIcon.d.ts +0 -15
- package/dist/types/src/components/horizontal-tab/HorizontalTab.d.ts +0 -12
- package/dist/types/src/components/image-file-input/index.d.ts +0 -1
- package/dist/types/src/components/input-base/InputBase.d.ts +0 -55
- package/dist/types/src/components/modal/Modal.d.ts +0 -79
- package/dist/types/src/components/notification/MessageNotification.d.ts +0 -41
- package/dist/types/src/components/notification/Notification.d.ts +0 -72
- package/dist/types/src/components/pagination/NavButton.d.ts +0 -31
- package/dist/types/src/components/progress-bar/index.d.ts +0 -2
- package/dist/types/src/components/radio/RadioInput.d.ts +0 -8
- package/dist/types/src/components/range-date-picker-with-buttons/RangeDatePickerWithButtons.d.ts +0 -71
- package/dist/types/src/components/select/Select.d.ts +0 -16
- package/dist/types/src/components/select-box/SelectBox.d.ts +0 -27
- package/dist/types/src/components/slider/Slider.d.ts +0 -14
- package/dist/types/src/components/spinner/Spinner.d.ts +0 -9
- package/dist/types/src/components/switch/Switch.d.ts +0 -22
- package/dist/types/src/components/switch/index.d.ts +0 -2
- package/dist/types/src/components/tag/Tag.d.ts +0 -17
- package/dist/types/src/components/textarea/Textarea.d.ts +0 -14
- package/dist/types/src/components/tooltip/Tooltip.d.ts +0 -15
- package/dist/types/src/components/vertical-tab/VerticalTab.d.ts +0 -9
- /package/dist/cjs/src/components/{button → action/button}/ButtonCloseX.js +0 -0
- /package/dist/cjs/src/components/{button → action/button}/ButtonStepper.js +0 -0
- /package/dist/cjs/src/components/{button → action/button}/index.js +0 -0
- /package/dist/cjs/src/components/{button-group → action/button-group}/index.js +0 -0
- /package/dist/cjs/src/components/{data-grid → data-display/data-grid}/DataGrid.js +0 -0
- /package/dist/cjs/src/components/{data-grid → data-display/data-grid}/DataGrid.types.js +0 -0
- /package/dist/cjs/src/components/{data-grid → data-display/data-grid}/index.js +0 -0
- /package/dist/cjs/src/components/{table → data-display/table}/Table.js +0 -0
- /package/dist/cjs/src/components/{table → data-display/table}/index.js +0 -0
- /package/dist/cjs/{assets/scripts/modal/const → src/components/data-display/table}/types.js +0 -0
- /package/dist/cjs/src/components/{badge → feedback-and-status/badge}/Badge.js +0 -0
- /package/dist/cjs/src/components/{badge-group → feedback-and-status/badge-group}/BadgeGroup.js +0 -0
- /package/dist/cjs/src/components/{badge-group → feedback-and-status/badge-group}/index.js +0 -0
- /package/dist/cjs/src/components/{carousel-arrow → feedback-and-status/carousel-arrow}/CarouselArrow.js +0 -0
- /package/dist/cjs/src/components/{carousel-arrow → feedback-and-status/carousel-arrow}/index.js +0 -0
- /package/dist/cjs/src/components/{carousel-number-group → feedback-and-status/carousel-number-group}/CarouselNumberGroup.js +0 -0
- /package/dist/cjs/src/components/{carousel-number-group → feedback-and-status/carousel-number-group}/index.js +0 -0
- /package/dist/cjs/src/components/{empty-state → feedback-and-status/empty-state}/index.js +0 -0
- /package/dist/cjs/src/components/{progress-bar → feedback-and-status/progress-bar}/ProgressBar.js +0 -0
- /package/dist/cjs/src/components/{progress-bar → feedback-and-status/progress-bar}/components/SegmentBar.js +0 -0
- /package/dist/cjs/src/components/{progress-bar → feedback-and-status/progress-bar}/components/SegmentLabels.js +0 -0
- /package/dist/cjs/src/components/{progress-bar → feedback-and-status/progress-bar}/hooks/useProgressBar.js +0 -0
- /package/dist/cjs/{assets/scripts/table/const → src/components/feedback-and-status/progress-bar}/types.js +0 -0
- /package/dist/cjs/src/components/{progress-bar → feedback-and-status/progress-bar}/utils.js +0 -0
- /package/dist/cjs/src/components/{progress-circle → feedback-and-status/progress-circle}/ProgressCircle.js +0 -0
- /package/dist/cjs/src/components/{progress-circle → feedback-and-status/progress-circle}/index.js +0 -0
- /package/dist/cjs/src/components/{spinner → feedback-and-status/spinner}/Spinner.js +0 -0
- /package/dist/cjs/src/components/{spinner → feedback-and-status/spinner}/index.js +0 -0
- /package/dist/cjs/src/components/{tag → feedback-and-status/tag}/index.js +0 -0
- /package/dist/cjs/src/components/{checkbox → forms-and-input/checkbox}/Checkbox.js +0 -0
- /package/dist/cjs/src/components/{checkbox → forms-and-input/checkbox}/CheckboxInput.js +0 -0
- /package/dist/cjs/src/components/{checkbox → forms-and-input/checkbox}/index.js +0 -0
- /package/dist/cjs/src/components/{combo-box → forms-and-input/combo-box}/index.js +0 -0
- /package/dist/cjs/src/components/{date-picker → forms-and-input/date-picker}/CustomInput.js +0 -0
- /package/dist/cjs/src/components/{date-picker → forms-and-input/date-picker}/utils.js +0 -0
- /package/dist/cjs/src/components/{file-input → forms-and-input/file-input}/index.js +0 -0
- /package/dist/cjs/src/components/{input-base → forms-and-input/input-base}/index.js +0 -0
- /package/dist/cjs/src/components/{number-input → forms-and-input/number-input}/index.js +0 -0
- /package/dist/cjs/src/components/{password-input → forms-and-input/password-input}/PasswordInput.js +0 -0
- /package/dist/cjs/src/components/{password-input → forms-and-input/password-input}/index.js +0 -0
- /package/dist/cjs/src/components/{radio → forms-and-input/radio}/Radio.js +0 -0
- /package/dist/cjs/src/components/{radio → forms-and-input/radio}/RadioInput.js +0 -0
- /package/dist/cjs/src/components/{radio → forms-and-input/radio}/index.js +0 -0
- /package/dist/cjs/src/components/{range-date-picker → forms-and-input/range-date-picker}/RangeDatePicker.js +0 -0
- /package/dist/cjs/src/components/{range-date-picker → forms-and-input/range-date-picker}/index.js +0 -0
- /package/dist/cjs/src/components/{range-date-picker-with-buttons → forms-and-input/range-date-picker-with-buttons}/index.js +0 -0
- /package/dist/cjs/src/components/{select → forms-and-input/select}/index.js +0 -0
- /package/dist/cjs/src/components/{select-box → forms-and-input/select-box}/index.js +0 -0
- /package/dist/cjs/src/components/{slider → forms-and-input/slider}/index.js +0 -0
- /package/dist/cjs/src/components/{switch → forms-and-input/switch}/Switch.js +0 -0
- /package/dist/cjs/src/components/{textarea → forms-and-input/textarea}/index.js +0 -0
- /package/dist/cjs/src/components/{toggle → forms-and-input/toggle}/Toggle.js +0 -0
- /package/dist/cjs/src/components/{toggle → forms-and-input/toggle}/index.js +0 -0
- /package/dist/cjs/src/components/{dot → image-and-icons/dot}/Dot.js +0 -0
- /package/dist/cjs/src/components/{dot → image-and-icons/dot}/index.js +0 -0
- /package/dist/cjs/src/components/{featured-icon → image-and-icons/featured-icon}/FeaturedIcon.js +0 -0
- /package/dist/cjs/src/components/{featured-icon → image-and-icons/featured-icon}/index.js +0 -0
- /package/dist/cjs/src/components/{divider → layout/divider}/Divider.js +0 -0
- /package/dist/cjs/src/components/{divider → layout/divider}/index.js +0 -0
- /package/dist/cjs/src/components/{bread-crumb → navigation/bread-crumb}/BreadCrumb.js +0 -0
- /package/dist/cjs/src/components/{bread-crumb → navigation/bread-crumb}/index.js +0 -0
- /package/dist/cjs/src/components/{horizontal-tab → navigation/horizontal-tab}/index.js +0 -0
- /package/dist/cjs/src/components/{pagination → navigation/pagination}/Pagination.js +0 -0
- /package/dist/cjs/src/components/{pagination → navigation/pagination}/index.js +0 -0
- /package/dist/cjs/src/components/{vertical-tab → navigation/vertical-tab}/index.js +0 -0
- /package/dist/cjs/src/components/{dropdown → overlays/dropdown}/index.js +0 -0
- /package/dist/cjs/src/components/{modal → overlays/modal}/index.js +0 -0
- /package/dist/cjs/src/components/{notification → overlays/notification}/Notification.js +0 -0
- /package/dist/cjs/src/components/{notification → overlays/notification}/index.js +0 -0
- /package/dist/cjs/src/components/{tooltip → overlays/tooltip}/index.js +0 -0
- /package/dist/cjs/{assets/scripts/tag/const/types.js → src/types/component-meta.js} +0 -0
- /package/dist/esm/src/components/{button → action/button}/ButtonCloseX.js +0 -0
- /package/dist/esm/src/components/{button → action/button}/ButtonStepper.js +0 -0
- /package/dist/esm/src/components/{button → action/button}/index.js +0 -0
- /package/dist/esm/src/components/{button-group → action/button-group}/index.js +0 -0
- /package/dist/esm/src/components/{data-grid → data-display/data-grid}/DataGrid.js +0 -0
- /package/dist/esm/src/components/{data-grid → data-display/data-grid}/DataGrid.types.js +0 -0
- /package/dist/esm/src/components/{data-grid → data-display/data-grid}/index.js +0 -0
- /package/dist/esm/src/components/{table → data-display/table}/Table.js +0 -0
- /package/dist/esm/src/components/{table → data-display/table}/index.js +0 -0
- /package/dist/esm/{assets/scripts/modal/const → src/components/data-display/table}/types.js +0 -0
- /package/dist/esm/src/components/{badge → feedback-and-status/badge}/Badge.js +0 -0
- /package/dist/esm/src/components/{badge-group → feedback-and-status/badge-group}/BadgeGroup.js +0 -0
- /package/dist/esm/src/components/{badge-group → feedback-and-status/badge-group}/index.js +0 -0
- /package/dist/esm/src/components/{carousel-arrow → feedback-and-status/carousel-arrow}/CarouselArrow.js +0 -0
- /package/dist/esm/src/components/{carousel-arrow → feedback-and-status/carousel-arrow}/index.js +0 -0
- /package/dist/esm/src/components/{carousel-number-group → feedback-and-status/carousel-number-group}/CarouselNumberGroup.js +0 -0
- /package/dist/esm/src/components/{carousel-number-group → feedback-and-status/carousel-number-group}/index.js +0 -0
- /package/dist/esm/src/components/{empty-state → feedback-and-status/empty-state}/index.js +0 -0
- /package/dist/esm/src/components/{progress-bar → feedback-and-status/progress-bar}/ProgressBar.js +0 -0
- /package/dist/esm/src/components/{progress-bar → feedback-and-status/progress-bar}/components/SegmentBar.js +0 -0
- /package/dist/esm/src/components/{progress-bar → feedback-and-status/progress-bar}/components/SegmentLabels.js +0 -0
- /package/dist/esm/src/components/{progress-bar → feedback-and-status/progress-bar}/hooks/useProgressBar.js +0 -0
- /package/dist/esm/{assets/scripts/table/const → src/components/feedback-and-status/progress-bar}/types.js +0 -0
- /package/dist/esm/src/components/{progress-bar → feedback-and-status/progress-bar}/utils.js +0 -0
- /package/dist/esm/src/components/{progress-circle → feedback-and-status/progress-circle}/ProgressCircle.js +0 -0
- /package/dist/esm/src/components/{progress-circle → feedback-and-status/progress-circle}/index.js +0 -0
- /package/dist/esm/src/components/{spinner → feedback-and-status/spinner}/Spinner.js +0 -0
- /package/dist/esm/src/components/{spinner → feedback-and-status/spinner}/index.js +0 -0
- /package/dist/esm/src/components/{tag → feedback-and-status/tag}/index.js +0 -0
- /package/dist/esm/src/components/{checkbox → forms-and-input/checkbox}/Checkbox.js +0 -0
- /package/dist/esm/src/components/{checkbox → forms-and-input/checkbox}/CheckboxInput.js +0 -0
- /package/dist/esm/src/components/{checkbox → forms-and-input/checkbox}/index.js +0 -0
- /package/dist/esm/src/components/{combo-box → forms-and-input/combo-box}/index.js +0 -0
- /package/dist/esm/src/components/{date-picker → forms-and-input/date-picker}/CustomInput.js +0 -0
- /package/dist/esm/src/components/{date-picker → forms-and-input/date-picker}/utils.js +0 -0
- /package/dist/esm/src/components/{file-input → forms-and-input/file-input}/index.js +0 -0
- /package/dist/esm/src/components/{input-base → forms-and-input/input-base}/index.js +0 -0
- /package/dist/esm/src/components/{number-input → forms-and-input/number-input}/index.js +0 -0
- /package/dist/esm/src/components/{password-input → forms-and-input/password-input}/PasswordInput.js +0 -0
- /package/dist/esm/src/components/{password-input → forms-and-input/password-input}/index.js +0 -0
- /package/dist/esm/src/components/{radio → forms-and-input/radio}/Radio.js +0 -0
- /package/dist/esm/src/components/{radio → forms-and-input/radio}/RadioInput.js +0 -0
- /package/dist/esm/src/components/{radio → forms-and-input/radio}/index.js +0 -0
- /package/dist/esm/src/components/{range-date-picker → forms-and-input/range-date-picker}/RangeDatePicker.js +0 -0
- /package/dist/esm/src/components/{range-date-picker → forms-and-input/range-date-picker}/index.js +0 -0
- /package/dist/esm/src/components/{range-date-picker-with-buttons → forms-and-input/range-date-picker-with-buttons}/index.js +0 -0
- /package/dist/esm/src/components/{select → forms-and-input/select}/index.js +0 -0
- /package/dist/esm/src/components/{select-box → forms-and-input/select-box}/index.js +0 -0
- /package/dist/esm/src/components/{slider → forms-and-input/slider}/index.js +0 -0
- /package/dist/esm/src/components/{switch → forms-and-input/switch}/Switch.js +0 -0
- /package/dist/esm/src/components/{textarea → forms-and-input/textarea}/index.js +0 -0
- /package/dist/esm/src/components/{toggle → forms-and-input/toggle}/Toggle.js +0 -0
- /package/dist/esm/src/components/{toggle → forms-and-input/toggle}/index.js +0 -0
- /package/dist/esm/src/components/{dot → image-and-icons/dot}/Dot.js +0 -0
- /package/dist/esm/src/components/{dot → image-and-icons/dot}/index.js +0 -0
- /package/dist/esm/src/components/{featured-icon → image-and-icons/featured-icon}/FeaturedIcon.js +0 -0
- /package/dist/esm/src/components/{featured-icon → image-and-icons/featured-icon}/index.js +0 -0
- /package/dist/esm/src/components/{divider → layout/divider}/Divider.js +0 -0
- /package/dist/esm/src/components/{divider → layout/divider}/index.js +0 -0
- /package/dist/esm/src/components/{bread-crumb → navigation/bread-crumb}/BreadCrumb.js +0 -0
- /package/dist/esm/src/components/{bread-crumb → navigation/bread-crumb}/index.js +0 -0
- /package/dist/esm/src/components/{horizontal-tab → navigation/horizontal-tab}/index.js +0 -0
- /package/dist/esm/src/components/{pagination → navigation/pagination}/Pagination.js +0 -0
- /package/dist/esm/src/components/{pagination → navigation/pagination}/index.js +0 -0
- /package/dist/esm/src/components/{vertical-tab → navigation/vertical-tab}/index.js +0 -0
- /package/dist/esm/src/components/{dropdown → overlays/dropdown}/index.js +0 -0
- /package/dist/esm/src/components/{modal → overlays/modal}/index.js +0 -0
- /package/dist/esm/src/components/{notification → overlays/notification}/Notification.js +0 -0
- /package/dist/esm/src/components/{notification → overlays/notification}/index.js +0 -0
- /package/dist/esm/src/components/{tooltip → overlays/tooltip}/index.js +0 -0
- /package/dist/temp/src/components/{button → action/button}/ButtonCloseX.js +0 -0
- /package/dist/temp/src/components/{button → action/button}/ButtonStepper.js +0 -0
- /package/dist/temp/src/components/{button → action/button}/index.d.ts +0 -0
- /package/dist/temp/src/components/{button → action/button}/index.js +0 -0
- /package/dist/temp/src/components/{button-group → action/button-group}/index.d.ts +0 -0
- /package/dist/temp/src/components/{button-group → action/button-group}/index.js +0 -0
- /package/dist/temp/src/components/{data-grid → data-display/data-grid}/DataGrid.d.ts +0 -0
- /package/dist/temp/src/components/{data-grid → data-display/data-grid}/DataGrid.js +0 -0
- /package/dist/temp/src/components/{data-grid → data-display/data-grid}/DataGrid.types.d.ts +0 -0
- /package/dist/temp/src/components/{data-grid → data-display/data-grid}/DataGrid.types.js +0 -0
- /package/dist/temp/src/components/{data-grid → data-display/data-grid}/index.d.ts +0 -0
- /package/dist/temp/src/components/{data-grid → data-display/data-grid}/index.js +0 -0
- /package/dist/temp/src/components/{table → data-display/table}/Table.d.ts +0 -0
- /package/dist/temp/src/components/{table → data-display/table}/Table.js +0 -0
- /package/dist/temp/src/components/{table → data-display/table}/index.d.ts +0 -0
- /package/dist/temp/src/components/{table → data-display/table}/index.js +0 -0
- /package/dist/temp/src/components/{table → data-display/table}/types.d.ts +0 -0
- /package/dist/temp/{assets/scripts/modal/const → src/components/data-display/table}/types.js +0 -0
- /package/dist/temp/src/components/{badge → feedback-and-status/badge}/Badge.js +0 -0
- /package/dist/temp/src/components/{badge-group → feedback-and-status/badge-group}/BadgeGroup.js +0 -0
- /package/dist/temp/src/components/{badge-group → feedback-and-status/badge-group}/index.d.ts +0 -0
- /package/dist/temp/src/components/{badge-group → feedback-and-status/badge-group}/index.js +0 -0
- /package/dist/temp/src/components/{carousel-arrow → feedback-and-status/carousel-arrow}/CarouselArrow.d.ts +0 -0
- /package/dist/temp/src/components/{carousel-arrow → feedback-and-status/carousel-arrow}/CarouselArrow.js +0 -0
- /package/dist/temp/src/components/{carousel-arrow → feedback-and-status/carousel-arrow}/index.d.ts +0 -0
- /package/dist/temp/src/components/{carousel-arrow → feedback-and-status/carousel-arrow}/index.js +0 -0
- /package/dist/temp/src/components/{carousel-number-group → feedback-and-status/carousel-number-group}/CarouselNumberGroup.d.ts +0 -0
- /package/dist/temp/src/components/{carousel-number-group → feedback-and-status/carousel-number-group}/CarouselNumberGroup.js +0 -0
- /package/dist/temp/src/components/{carousel-number-group → feedback-and-status/carousel-number-group}/index.d.ts +0 -0
- /package/dist/temp/src/components/{carousel-number-group → feedback-and-status/carousel-number-group}/index.js +0 -0
- /package/dist/temp/src/components/{empty-state → feedback-and-status/empty-state}/index.d.ts +0 -0
- /package/dist/temp/src/components/{empty-state → feedback-and-status/empty-state}/index.js +0 -0
- /package/dist/temp/src/components/{progress-bar → feedback-and-status/progress-bar}/ProgressBar.d.ts +0 -0
- /package/dist/temp/src/components/{progress-bar → feedback-and-status/progress-bar}/ProgressBar.js +0 -0
- /package/dist/temp/src/components/{progress-bar → feedback-and-status/progress-bar}/components/SegmentBar.d.ts +0 -0
- /package/dist/temp/src/components/{progress-bar → feedback-and-status/progress-bar}/components/SegmentBar.js +0 -0
- /package/dist/temp/src/components/{progress-bar → feedback-and-status/progress-bar}/components/SegmentLabels.d.ts +0 -0
- /package/dist/temp/src/components/{progress-bar → feedback-and-status/progress-bar}/components/SegmentLabels.js +0 -0
- /package/dist/temp/src/components/{progress-bar → feedback-and-status/progress-bar}/hooks/useProgressBar.d.ts +0 -0
- /package/dist/temp/src/components/{progress-bar → feedback-and-status/progress-bar}/hooks/useProgressBar.js +0 -0
- /package/dist/temp/src/components/{progress-bar → feedback-and-status/progress-bar}/types.d.ts +0 -0
- /package/dist/temp/{assets/scripts/table/const → src/components/feedback-and-status/progress-bar}/types.js +0 -0
- /package/dist/temp/src/components/{progress-bar → feedback-and-status/progress-bar}/utils.d.ts +0 -0
- /package/dist/temp/src/components/{progress-bar → feedback-and-status/progress-bar}/utils.js +0 -0
- /package/dist/temp/src/components/{progress-circle → feedback-and-status/progress-circle}/ProgressCircle.d.ts +0 -0
- /package/dist/temp/src/components/{progress-circle → feedback-and-status/progress-circle}/ProgressCircle.js +0 -0
- /package/dist/temp/src/components/{progress-circle → feedback-and-status/progress-circle}/index.d.ts +0 -0
- /package/dist/temp/src/components/{progress-circle → feedback-and-status/progress-circle}/index.js +0 -0
- /package/dist/temp/src/components/{spinner → feedback-and-status/spinner}/Spinner.js +0 -0
- /package/dist/temp/src/components/{spinner → feedback-and-status/spinner}/index.d.ts +0 -0
- /package/dist/temp/src/components/{spinner → feedback-and-status/spinner}/index.js +0 -0
- /package/dist/temp/src/components/{tag → feedback-and-status/tag}/index.d.ts +0 -0
- /package/dist/temp/src/components/{tag → feedback-and-status/tag}/index.js +0 -0
- /package/dist/temp/src/components/{checkbox → forms-and-input/checkbox}/Checkbox.d.ts +0 -0
- /package/dist/temp/src/components/{checkbox → forms-and-input/checkbox}/Checkbox.js +0 -0
- /package/dist/temp/src/components/{checkbox → forms-and-input/checkbox}/CheckboxInput.js +0 -0
- /package/dist/temp/src/components/{checkbox → forms-and-input/checkbox}/index.d.ts +0 -0
- /package/dist/temp/src/components/{checkbox → forms-and-input/checkbox}/index.js +0 -0
- /package/dist/temp/src/components/{combo-box → forms-and-input/combo-box}/index.d.ts +0 -0
- /package/dist/temp/src/components/{combo-box → forms-and-input/combo-box}/index.js +0 -0
- /package/dist/temp/src/components/{date-picker → forms-and-input/date-picker}/CustomInput.js +0 -0
- /package/dist/temp/src/components/{date-picker → forms-and-input/date-picker}/utils.d.ts +0 -0
- /package/dist/temp/src/components/{date-picker → forms-and-input/date-picker}/utils.js +0 -0
- /package/dist/temp/src/components/{file-input → forms-and-input/file-input}/FileInput.d.ts +0 -0
- /package/dist/temp/src/components/{file-input → forms-and-input/file-input}/index.d.ts +0 -0
- /package/dist/temp/src/components/{file-input → forms-and-input/file-input}/index.js +0 -0
- /package/dist/temp/src/components/{image-file-input → forms-and-input/image-file-input}/ImageFileInput.d.ts +0 -0
- /package/dist/temp/src/components/{image-file-input → forms-and-input/image-file-input}/components/ImagePreview.d.ts +0 -0
- /package/dist/temp/src/components/{input-base → forms-and-input/input-base}/index.d.ts +0 -0
- /package/dist/temp/src/components/{input-base → forms-and-input/input-base}/index.js +0 -0
- /package/dist/temp/src/components/{number-input → forms-and-input/number-input}/NumberInput.d.ts +0 -0
- /package/dist/temp/src/components/{number-input → forms-and-input/number-input}/index.d.ts +0 -0
- /package/dist/temp/src/components/{number-input → forms-and-input/number-input}/index.js +0 -0
- /package/dist/temp/src/components/{password-input → forms-and-input/password-input}/PasswordInput.d.ts +0 -0
- /package/dist/temp/src/components/{password-input → forms-and-input/password-input}/PasswordInput.js +0 -0
- /package/dist/temp/src/components/{password-input → forms-and-input/password-input}/index.d.ts +0 -0
- /package/dist/temp/src/components/{password-input → forms-and-input/password-input}/index.js +0 -0
- /package/dist/temp/src/components/{radio → forms-and-input/radio}/Radio.d.ts +0 -0
- /package/dist/temp/src/components/{radio → forms-and-input/radio}/Radio.js +0 -0
- /package/dist/temp/src/components/{radio → forms-and-input/radio}/RadioInput.js +0 -0
- /package/dist/temp/src/components/{radio → forms-and-input/radio}/index.d.ts +0 -0
- /package/dist/temp/src/components/{radio → forms-and-input/radio}/index.js +0 -0
- /package/dist/temp/src/components/{range-date-picker → forms-and-input/range-date-picker}/RangeDatePicker.d.ts +0 -0
- /package/dist/temp/src/components/{range-date-picker → forms-and-input/range-date-picker}/RangeDatePicker.js +0 -0
- /package/dist/temp/src/components/{range-date-picker → forms-and-input/range-date-picker}/index.d.ts +0 -0
- /package/dist/temp/src/components/{range-date-picker → forms-and-input/range-date-picker}/index.js +0 -0
- /package/dist/temp/src/components/{range-date-picker-with-buttons → forms-and-input/range-date-picker-with-buttons}/index.d.ts +0 -0
- /package/dist/temp/src/components/{range-date-picker-with-buttons → forms-and-input/range-date-picker-with-buttons}/index.js +0 -0
- /package/dist/temp/src/components/{select → forms-and-input/select}/index.d.ts +0 -0
- /package/dist/temp/src/components/{select → forms-and-input/select}/index.js +0 -0
- /package/dist/temp/src/components/{select-box → forms-and-input/select-box}/index.d.ts +0 -0
- /package/dist/temp/src/components/{select-box → forms-and-input/select-box}/index.js +0 -0
- /package/dist/temp/src/components/{slider → forms-and-input/slider}/index.d.ts +0 -0
- /package/dist/temp/src/components/{slider → forms-and-input/slider}/index.js +0 -0
- /package/dist/temp/src/components/{switch → forms-and-input/switch}/Switch.js +0 -0
- /package/dist/temp/src/components/{textarea → forms-and-input/textarea}/index.d.ts +0 -0
- /package/dist/temp/src/components/{textarea → forms-and-input/textarea}/index.js +0 -0
- /package/dist/temp/src/components/{toggle → forms-and-input/toggle}/Toggle.d.ts +0 -0
- /package/dist/temp/src/components/{toggle → forms-and-input/toggle}/Toggle.js +0 -0
- /package/dist/temp/src/components/{toggle → forms-and-input/toggle}/index.d.ts +0 -0
- /package/dist/temp/src/components/{toggle → forms-and-input/toggle}/index.js +0 -0
- /package/dist/temp/src/components/{dot → image-and-icons/dot}/Dot.js +0 -0
- /package/dist/temp/src/components/{dot → image-and-icons/dot}/index.d.ts +0 -0
- /package/dist/temp/src/components/{dot → image-and-icons/dot}/index.js +0 -0
- /package/dist/temp/src/components/{featured-icon → image-and-icons/featured-icon}/FeaturedIcon.js +0 -0
- /package/dist/temp/src/components/{featured-icon → image-and-icons/featured-icon}/index.d.ts +0 -0
- /package/dist/temp/src/components/{featured-icon → image-and-icons/featured-icon}/index.js +0 -0
- /package/dist/temp/src/components/{divider → layout/divider}/Divider.d.ts +0 -0
- /package/dist/temp/src/components/{divider → layout/divider}/Divider.js +0 -0
- /package/dist/temp/src/components/{divider → layout/divider}/index.d.ts +0 -0
- /package/dist/temp/src/components/{divider → layout/divider}/index.js +0 -0
- /package/dist/temp/src/components/{bread-crumb → navigation/bread-crumb}/BreadCrumb.d.ts +0 -0
- /package/dist/temp/src/components/{bread-crumb → navigation/bread-crumb}/BreadCrumb.js +0 -0
- /package/dist/temp/src/components/{bread-crumb → navigation/bread-crumb}/index.d.ts +0 -0
- /package/dist/temp/src/components/{bread-crumb → navigation/bread-crumb}/index.js +0 -0
- /package/dist/temp/src/components/{horizontal-tab → navigation/horizontal-tab}/index.d.ts +0 -0
- /package/dist/temp/src/components/{horizontal-tab → navigation/horizontal-tab}/index.js +0 -0
- /package/dist/temp/src/components/{pagination → navigation/pagination}/Pagination.d.ts +0 -0
- /package/dist/temp/src/components/{pagination → navigation/pagination}/Pagination.js +0 -0
- /package/dist/temp/src/components/{pagination → navigation/pagination}/index.d.ts +0 -0
- /package/dist/temp/src/components/{pagination → navigation/pagination}/index.js +0 -0
- /package/dist/temp/src/components/{vertical-tab → navigation/vertical-tab}/index.d.ts +0 -0
- /package/dist/temp/src/components/{vertical-tab → navigation/vertical-tab}/index.js +0 -0
- /package/dist/temp/{assets/scripts/tag/const/types.js → src/components/overlays/dropdown/__tests__/utils.test.d.ts} +0 -0
- /package/dist/temp/src/components/{dropdown → overlays/dropdown}/index.d.ts +0 -0
- /package/dist/temp/src/components/{dropdown → overlays/dropdown}/index.js +0 -0
- /package/dist/temp/src/components/{modal → overlays/modal}/index.d.ts +0 -0
- /package/dist/temp/src/components/{modal → overlays/modal}/index.js +0 -0
- /package/dist/temp/src/components/{notification → overlays/notification}/FloatingNotification.d.ts +0 -0
- /package/dist/temp/src/components/{notification → overlays/notification}/FullWidthNotification.d.ts +0 -0
- /package/dist/temp/src/components/{notification → overlays/notification}/Notification.js +0 -0
- /package/dist/temp/src/components/{notification → overlays/notification}/index.d.ts +0 -0
- /package/dist/temp/src/components/{notification → overlays/notification}/index.js +0 -0
- /package/dist/temp/src/components/{tooltip → overlays/tooltip}/index.d.ts +0 -0
- /package/dist/temp/src/components/{tooltip → overlays/tooltip}/index.js +0 -0
- /package/dist/types/src/components/{button → action/button}/index.d.ts +0 -0
- /package/dist/types/src/components/{button-group → action/button-group}/index.d.ts +0 -0
- /package/dist/types/src/components/{data-grid → data-display/data-grid}/DataGrid.d.ts +0 -0
- /package/dist/types/src/components/{data-grid → data-display/data-grid}/DataGrid.types.d.ts +0 -0
- /package/dist/types/src/components/{data-grid → data-display/data-grid}/index.d.ts +0 -0
- /package/dist/types/src/components/{table → data-display/table}/Table.d.ts +0 -0
- /package/dist/types/src/components/{table → data-display/table}/index.d.ts +0 -0
- /package/dist/types/src/components/{table → data-display/table}/types.d.ts +0 -0
- /package/dist/types/src/components/{badge-group → feedback-and-status/badge-group}/index.d.ts +0 -0
- /package/dist/types/src/components/{carousel-arrow → feedback-and-status/carousel-arrow}/CarouselArrow.d.ts +0 -0
- /package/dist/types/src/components/{carousel-arrow → feedback-and-status/carousel-arrow}/index.d.ts +0 -0
- /package/dist/types/src/components/{carousel-number-group → feedback-and-status/carousel-number-group}/CarouselNumberGroup.d.ts +0 -0
- /package/dist/types/src/components/{carousel-number-group → feedback-and-status/carousel-number-group}/index.d.ts +0 -0
- /package/dist/types/src/components/{empty-state → feedback-and-status/empty-state}/index.d.ts +0 -0
- /package/dist/types/src/components/{progress-bar → feedback-and-status/progress-bar}/ProgressBar.d.ts +0 -0
- /package/dist/types/src/components/{progress-bar → feedback-and-status/progress-bar}/components/SegmentBar.d.ts +0 -0
- /package/dist/types/src/components/{progress-bar → feedback-and-status/progress-bar}/components/SegmentLabels.d.ts +0 -0
- /package/dist/types/src/components/{progress-bar → feedback-and-status/progress-bar}/hooks/useProgressBar.d.ts +0 -0
- /package/dist/types/src/components/{progress-bar → feedback-and-status/progress-bar}/types.d.ts +0 -0
- /package/dist/types/src/components/{progress-bar → feedback-and-status/progress-bar}/utils.d.ts +0 -0
- /package/dist/types/src/components/{progress-circle → feedback-and-status/progress-circle}/ProgressCircle.d.ts +0 -0
- /package/dist/types/src/components/{progress-circle → feedback-and-status/progress-circle}/index.d.ts +0 -0
- /package/dist/types/src/components/{spinner → feedback-and-status/spinner}/index.d.ts +0 -0
- /package/dist/types/src/components/{tag → feedback-and-status/tag}/index.d.ts +0 -0
- /package/dist/types/src/components/{checkbox → forms-and-input/checkbox}/Checkbox.d.ts +0 -0
- /package/dist/types/src/components/{checkbox → forms-and-input/checkbox}/index.d.ts +0 -0
- /package/dist/types/src/components/{combo-box → forms-and-input/combo-box}/index.d.ts +0 -0
- /package/dist/types/src/components/{date-picker → forms-and-input/date-picker}/utils.d.ts +0 -0
- /package/dist/types/src/components/{file-input → forms-and-input/file-input}/FileInput.d.ts +0 -0
- /package/dist/types/src/components/{file-input → forms-and-input/file-input}/index.d.ts +0 -0
- /package/dist/types/src/components/{image-file-input → forms-and-input/image-file-input}/ImageFileInput.d.ts +0 -0
- /package/dist/types/src/components/{image-file-input → forms-and-input/image-file-input}/components/ImagePreview.d.ts +0 -0
- /package/dist/types/src/components/{input-base → forms-and-input/input-base}/index.d.ts +0 -0
- /package/dist/types/src/components/{number-input → forms-and-input/number-input}/NumberInput.d.ts +0 -0
- /package/dist/types/src/components/{number-input → forms-and-input/number-input}/index.d.ts +0 -0
- /package/dist/types/src/components/{password-input → forms-and-input/password-input}/PasswordInput.d.ts +0 -0
- /package/dist/types/src/components/{password-input → forms-and-input/password-input}/index.d.ts +0 -0
- /package/dist/types/src/components/{radio → forms-and-input/radio}/Radio.d.ts +0 -0
- /package/dist/types/src/components/{radio → forms-and-input/radio}/index.d.ts +0 -0
- /package/dist/types/src/components/{range-date-picker → forms-and-input/range-date-picker}/RangeDatePicker.d.ts +0 -0
- /package/dist/types/src/components/{range-date-picker → forms-and-input/range-date-picker}/index.d.ts +0 -0
- /package/dist/types/src/components/{range-date-picker-with-buttons → forms-and-input/range-date-picker-with-buttons}/index.d.ts +0 -0
- /package/dist/types/src/components/{select → forms-and-input/select}/index.d.ts +0 -0
- /package/dist/types/src/components/{select-box → forms-and-input/select-box}/index.d.ts +0 -0
- /package/dist/types/src/components/{slider → forms-and-input/slider}/index.d.ts +0 -0
- /package/dist/types/src/components/{textarea → forms-and-input/textarea}/index.d.ts +0 -0
- /package/dist/types/src/components/{toggle → forms-and-input/toggle}/Toggle.d.ts +0 -0
- /package/dist/types/src/components/{toggle → forms-and-input/toggle}/index.d.ts +0 -0
- /package/dist/types/src/components/{dot → image-and-icons/dot}/index.d.ts +0 -0
- /package/dist/types/src/components/{featured-icon → image-and-icons/featured-icon}/index.d.ts +0 -0
- /package/dist/types/src/components/{divider → layout/divider}/Divider.d.ts +0 -0
- /package/dist/types/src/components/{divider → layout/divider}/index.d.ts +0 -0
- /package/dist/types/src/components/{bread-crumb → navigation/bread-crumb}/BreadCrumb.d.ts +0 -0
- /package/dist/types/src/components/{bread-crumb → navigation/bread-crumb}/index.d.ts +0 -0
- /package/dist/types/src/components/{horizontal-tab → navigation/horizontal-tab}/index.d.ts +0 -0
- /package/dist/types/src/components/{pagination → navigation/pagination}/Pagination.d.ts +0 -0
- /package/dist/types/src/components/{pagination → navigation/pagination}/index.d.ts +0 -0
- /package/dist/types/src/components/{vertical-tab → navigation/vertical-tab}/index.d.ts +0 -0
- /package/dist/{temp/assets/scripts/tooltip/const/types.js → types/src/components/overlays/dropdown/__tests__/utils.test.d.ts} +0 -0
- /package/dist/types/src/components/{dropdown → overlays/dropdown}/index.d.ts +0 -0
- /package/dist/types/src/components/{modal → overlays/modal}/index.d.ts +0 -0
- /package/dist/types/src/components/{notification → overlays/notification}/FloatingNotification.d.ts +0 -0
- /package/dist/types/src/components/{notification → overlays/notification}/FullWidthNotification.d.ts +0 -0
- /package/dist/types/src/components/{notification → overlays/notification}/index.d.ts +0 -0
- /package/dist/types/src/components/{tooltip → overlays/tooltip}/index.d.ts +0 -0
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { ChevronDown } from '@ncds/ui-admin-icon';
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import { forwardRef, useCallback, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState, } from 'react';
|
|
5
|
-
import { COLOR } from '../../../constant/color';
|
|
6
|
-
import { useDropdown, useScrollLock } from '../../hooks/dropdown';
|
|
7
|
-
import { useMultiSelect } from '../../utils/dropdown/multiSelect';
|
|
8
|
-
import { SelectDropdown } from '../select-dropdown';
|
|
9
|
-
import { HintText } from '../shared/hintText/HintText';
|
|
10
|
-
import { Tag } from '../tag';
|
|
11
|
-
const ICON_SIZE_XS = 14;
|
|
12
|
-
const ICON_SIZE_SM = 16;
|
|
13
|
-
const DEFAULT_MAX_HEIGHT = 275;
|
|
14
|
-
function computeNewValue(option, value, multiple) {
|
|
15
|
-
if (multiple) {
|
|
16
|
-
const currentValues = Array.isArray(value) ? value : [];
|
|
17
|
-
if (currentValues.includes(option.id)) {
|
|
18
|
-
return currentValues.filter((v) => v !== option.id);
|
|
19
|
-
}
|
|
20
|
-
return [...currentValues, option.id];
|
|
21
|
-
}
|
|
22
|
-
return option.id;
|
|
23
|
-
}
|
|
24
|
-
function notifyRegister(register, newValue, multiple) {
|
|
25
|
-
if (!register?.onChange)
|
|
26
|
-
return;
|
|
27
|
-
register.onChange({
|
|
28
|
-
target: {
|
|
29
|
-
value: multiple ? JSON.stringify(newValue) : newValue,
|
|
30
|
-
name: register.name,
|
|
31
|
-
},
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
function DisplayValue({ displayValue }) {
|
|
35
|
-
if (typeof displayValue === 'string') {
|
|
36
|
-
return _jsx("span", { className: "ncua-selectbox__value-text", children: displayValue });
|
|
37
|
-
}
|
|
38
|
-
return (_jsxs("div", { className: "ncua-selectbox__value-container", children: [displayValue.icon && (_jsx("span", { className: "ncua-selectbox__value-icon", children: _jsx(displayValue.icon, { width: 16, height: 16 }) })), _jsx("span", { className: "ncua-selectbox__value-text", children: displayValue.label })] }));
|
|
39
|
-
}
|
|
40
|
-
const SelectBox = forwardRef(({ placeholder = '선택하세요', disabledPlaceholder = false, hintText, size = 'xs', type = 'default', autoWidth = true, destructive = false, value, optionItems = [], disabled = false, maxHeight = DEFAULT_MAX_HEIGHT, multiple = false, align = 'left', id, className, children, register, onChange, onEdit, ...props }, ref) => {
|
|
41
|
-
const internalRef = useRef(null);
|
|
42
|
-
const dropdownRef = useRef(null);
|
|
43
|
-
const [selectedTags, setSelectedTags] = useState([]);
|
|
44
|
-
const selectedOption = useMemo(() => {
|
|
45
|
-
if (multiple)
|
|
46
|
-
return null;
|
|
47
|
-
return optionItems.find((option) => option.id === value);
|
|
48
|
-
}, [optionItems, value, multiple]);
|
|
49
|
-
const displayValue = useMemo(() => {
|
|
50
|
-
if (multiple) {
|
|
51
|
-
return placeholder;
|
|
52
|
-
}
|
|
53
|
-
return selectedOption ? selectedOption : placeholder;
|
|
54
|
-
}, [multiple, selectedOption, placeholder]);
|
|
55
|
-
const handleOptionSelect = (option) => {
|
|
56
|
-
if (disabled)
|
|
57
|
-
return;
|
|
58
|
-
const newValue = computeNewValue(option, value, multiple);
|
|
59
|
-
onChange?.(newValue);
|
|
60
|
-
notifyRegister(register, newValue, multiple);
|
|
61
|
-
};
|
|
62
|
-
const { isOpen, direction: dropdownDirection, focusedIndex, toggleDropdown, closeDropdown, handleKeyDown, handleOptionSelect: handleDropdownSelect, handleMouseMove, isKeyboardNavigation, setFocusedIndex, } = useDropdown({
|
|
63
|
-
triggerRef: internalRef,
|
|
64
|
-
dropdownRef,
|
|
65
|
-
maxHeight,
|
|
66
|
-
itemCount: optionItems.length,
|
|
67
|
-
optionItems,
|
|
68
|
-
disabled,
|
|
69
|
-
multiple,
|
|
70
|
-
onSelect: handleOptionSelect,
|
|
71
|
-
});
|
|
72
|
-
const activeDescendantId = useMemo(() => {
|
|
73
|
-
if (!isOpen || focusedIndex < 0 || focusedIndex >= optionItems.length) {
|
|
74
|
-
return undefined;
|
|
75
|
-
}
|
|
76
|
-
const focusedOption = optionItems[focusedIndex];
|
|
77
|
-
return `selectbox-options-${id || 'default'}-${focusedOption.id}`;
|
|
78
|
-
}, [isOpen, focusedIndex, optionItems, id]);
|
|
79
|
-
const handleOptionHover = useCallback((index) => {
|
|
80
|
-
handleMouseMove();
|
|
81
|
-
setFocusedIndex(index);
|
|
82
|
-
}, [handleMouseMove, setFocusedIndex]);
|
|
83
|
-
// Multiple select 관련 로직
|
|
84
|
-
const currentSelectedValues = multiple && Array.isArray(value) ? value : [];
|
|
85
|
-
const { buttonText: selectAllButtonText, toggleSelectAll, getSelectedTagsData, removeTag, } = useMultiSelect(currentSelectedValues, optionItems);
|
|
86
|
-
const handleSelectAll = () => {
|
|
87
|
-
if (!multiple || !onChange)
|
|
88
|
-
return;
|
|
89
|
-
const newSelectedValues = toggleSelectAll();
|
|
90
|
-
onChange(newSelectedValues);
|
|
91
|
-
};
|
|
92
|
-
const handleEdit = () => {
|
|
93
|
-
onEdit?.();
|
|
94
|
-
};
|
|
95
|
-
const handleComplete = () => {
|
|
96
|
-
if (multiple) {
|
|
97
|
-
const tags = getSelectedTagsData();
|
|
98
|
-
setSelectedTags(tags);
|
|
99
|
-
}
|
|
100
|
-
closeDropdown();
|
|
101
|
-
};
|
|
102
|
-
const handleRemoveTag = (tagId) => {
|
|
103
|
-
if (!onChange)
|
|
104
|
-
return;
|
|
105
|
-
if (multiple) {
|
|
106
|
-
const newSelectedValues = removeTag(tagId);
|
|
107
|
-
onChange(newSelectedValues);
|
|
108
|
-
setSelectedTags((prev) => prev.filter((tag) => tag.id !== tagId));
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
useScrollLock(isOpen, dropdownRef);
|
|
112
|
-
useLayoutEffect(() => {
|
|
113
|
-
if (autoWidth && isOpen && dropdownRef.current && internalRef.current) {
|
|
114
|
-
const dropdownWidth = dropdownRef.current.offsetWidth;
|
|
115
|
-
internalRef.current.style.width = `${dropdownWidth}px`;
|
|
116
|
-
}
|
|
117
|
-
}, [autoWidth, isOpen, optionItems]);
|
|
118
|
-
useImperativeHandle(ref, () => internalRef.current, []);
|
|
119
|
-
return (_jsxs(_Fragment, { children: [_jsxs("div", { ref: internalRef, className: classNames('ncua-selectbox', `ncua-selectbox--${size}`, {
|
|
120
|
-
'ncua-selectbox--open': isOpen,
|
|
121
|
-
'ncua-selectbox--disabled': disabled,
|
|
122
|
-
'ncua-selectbox--simple': type === 'simple',
|
|
123
|
-
'ncua-selectbox--multiple': multiple,
|
|
124
|
-
destructive: destructive,
|
|
125
|
-
}, className), ...props, children: [_jsxs("div", { className: classNames('ncua-selectbox__content'), onClick: toggleDropdown, onKeyDown: handleKeyDown, tabIndex: disabled ? -1 : 0, role: "combobox", "aria-expanded": isOpen, "aria-haspopup": "listbox", "aria-controls": `selectbox-options-${id || 'default'}`, "aria-disabled": disabled, "aria-label": selectedOption ? selectedOption.label : placeholder, "aria-activedescendant": activeDescendantId, children: [_jsxs("div", { className: "ncua-selectbox__content-inner", children: [_jsx("div", { className: "ncua-selectbox__value", children: _jsx(DisplayValue, { displayValue: displayValue }) }), _jsx(ChevronDown, { width: size === 'xs' ? ICON_SIZE_XS : ICON_SIZE_SM, height: size === 'xs' ? ICON_SIZE_XS : ICON_SIZE_SM, color: disabled ? COLOR.gray300 : COLOR.gray500, className: classNames('ncua-selectbox__arrow', {
|
|
126
|
-
'ncua-selectbox__arrow--up': isOpen,
|
|
127
|
-
}) })] }), _jsx(SelectDropdown, { ref: dropdownRef, isOpen: isOpen, direction: dropdownDirection, size: size, options: optionItems, value: value, focusedIndex: focusedIndex, maxHeight: maxHeight, listboxId: `selectbox-options-${id || 'default'}`, multiple: multiple, showFooterButtons: multiple, selectAllButtonText: selectAllButtonText, componentType: "selectbox", isKeyboardNavigation: isKeyboardNavigation, activeDescendantId: activeDescendantId, align: align, onOptionSelect: handleDropdownSelect, onMouseMove: handleMouseMove, onOptionHover: handleOptionHover, onSelectAll: handleSelectAll, onEdit: handleEdit, onComplete: handleComplete, children: children })] }), hintText && (_jsx(HintText, { destructive: destructive, className: "ncua-hint-text", children: hintText })), register && (_jsx("input", { type: "hidden", ...register, value: multiple ? JSON.stringify(value || []) : String(value || '') }))] }), selectedTags.length > 0 && (_jsx("div", { className: "ncua-selectbox__tags", children: selectedTags.map((tag) => (_jsx(Tag, { text: tag.label, size: "sm", close: true, onButtonClick: () => handleRemoveTag(tag.id) }, tag.id))) }))] }));
|
|
128
|
-
});
|
|
129
|
-
SelectBox.displayName = 'SelectBox';
|
|
130
|
-
export { DEFAULT_MAX_HEIGHT, SelectBox };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type SliderOptions } from '../../../assets/scripts/slider';
|
|
2
|
-
export type SliderLabelPosition = SliderOptions['labelPosition'];
|
|
3
|
-
export interface SliderProps {
|
|
4
|
-
min?: number;
|
|
5
|
-
max?: number;
|
|
6
|
-
step?: number;
|
|
7
|
-
value?: number | [number, number];
|
|
8
|
-
onChange?: (value: number | [number, number]) => void;
|
|
9
|
-
labelPosition?: SliderLabelPosition;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const Slider: ({ min, max, step, value, onChange, labelPosition, disabled, className, }: SliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export default Slider;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect, useRef } from 'react';
|
|
3
|
-
import { Slider as NcuaSlider } from '../../../assets/scripts/slider';
|
|
4
|
-
export const Slider = ({ min = 0, max = 100, step = 1, value = 0, onChange, labelPosition, disabled = false, className, }) => {
|
|
5
|
-
const containerRef = useRef(null);
|
|
6
|
-
const sliderInstanceRef = useRef(null);
|
|
7
|
-
useEffect(() => {
|
|
8
|
-
if (!containerRef.current)
|
|
9
|
-
return;
|
|
10
|
-
sliderInstanceRef.current = new NcuaSlider(containerRef.current, {
|
|
11
|
-
min,
|
|
12
|
-
max,
|
|
13
|
-
step,
|
|
14
|
-
value,
|
|
15
|
-
onChange,
|
|
16
|
-
labelPosition,
|
|
17
|
-
disabled,
|
|
18
|
-
});
|
|
19
|
-
return () => {
|
|
20
|
-
if (sliderInstanceRef.current) {
|
|
21
|
-
sliderInstanceRef.current.destroy();
|
|
22
|
-
sliderInstanceRef.current = null;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
}, [typeof value, onChange, min, max, step, labelPosition]);
|
|
26
|
-
useEffect(() => {
|
|
27
|
-
if (sliderInstanceRef.current) {
|
|
28
|
-
sliderInstanceRef.current.setValue(value);
|
|
29
|
-
}
|
|
30
|
-
}, [sliderInstanceRef, value]);
|
|
31
|
-
useEffect(() => {
|
|
32
|
-
if (sliderInstanceRef.current) {
|
|
33
|
-
if (disabled) {
|
|
34
|
-
sliderInstanceRef.current.disable();
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
sliderInstanceRef.current.enable();
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}, [disabled]);
|
|
41
|
-
return _jsx("div", { ref: containerRef, className: `ncua-slider ${className || ''}` });
|
|
42
|
-
};
|
|
43
|
-
export default Slider;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ElementType, ReactNode } from 'react';
|
|
2
|
-
interface SpinnerProps {
|
|
3
|
-
as?: ElementType;
|
|
4
|
-
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
backdrop?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const Spinner: ({ as, size, children, backdrop }: SpinnerProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { type ReactNode, type Ref } from 'react';
|
|
2
|
-
import type { Size } from '../../../constant/size';
|
|
3
|
-
type SwitchOption = {
|
|
4
|
-
label: ReactNode;
|
|
5
|
-
value: string | boolean;
|
|
6
|
-
};
|
|
7
|
-
type SwitchSize = Extract<Size, 'xxs' | 'xs' | 'sm' | 'md'>;
|
|
8
|
-
type SwitchProps = {
|
|
9
|
-
size?: SwitchSize;
|
|
10
|
-
left: SwitchOption;
|
|
11
|
-
right: SwitchOption;
|
|
12
|
-
onChange?: (value: string | boolean) => void;
|
|
13
|
-
name: string;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
value?: string | boolean;
|
|
16
|
-
defaultValue?: string | boolean;
|
|
17
|
-
className?: string;
|
|
18
|
-
refs?: [Ref<HTMLInputElement>, Ref<HTMLInputElement>];
|
|
19
|
-
};
|
|
20
|
-
declare const Switch: import("react").ForwardRefExoticComponent<SwitchProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
21
|
-
export type { SwitchSize, SwitchProps };
|
|
22
|
-
export { Switch };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Switch } from './Switch';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type MouseEventHandler } from 'react';
|
|
2
|
-
import type { Size } from '../../../constant/size';
|
|
3
|
-
import type { SideSlotType } from '../../types/side-slot';
|
|
4
|
-
interface TagProps {
|
|
5
|
-
size?: Extract<Size, 'sm' | 'md'>;
|
|
6
|
-
icon?: SideSlotType;
|
|
7
|
-
text: string;
|
|
8
|
-
count?: string;
|
|
9
|
-
close?: boolean;
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
onButtonClick?: MouseEventHandler<HTMLButtonElement>;
|
|
12
|
-
maxLength?: number;
|
|
13
|
-
}
|
|
14
|
-
type CalculatedPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
15
|
-
declare const Tag: ({ size, icon, text, count, close, onButtonClick, maxLength }: TagProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export type { CalculatedPosition };
|
|
17
|
-
export { Tag };
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { XClose } from '@ncds/ui-admin-icon';
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import { useCallback, useRef, useState } from 'react';
|
|
5
|
-
import { COLOR } from '../../../constant/color';
|
|
6
|
-
import { Dot } from '../dot';
|
|
7
|
-
const MARGIN = 10;
|
|
8
|
-
const DEFAULT_TOOLTIP_WIDTH = 200;
|
|
9
|
-
const DEFAULT_TOOLTIP_HEIGHT = 60;
|
|
10
|
-
// 위치 계산 로직
|
|
11
|
-
const calculateOptimalPosition = (triggerElement, tooltipElement) => {
|
|
12
|
-
const triggerRect = triggerElement.getBoundingClientRect();
|
|
13
|
-
const tooltipRect = tooltipElement.getBoundingClientRect();
|
|
14
|
-
const { innerWidth: viewportWidth, innerHeight: viewportHeight } = window;
|
|
15
|
-
const tooltipWidth = tooltipRect.width || DEFAULT_TOOLTIP_WIDTH;
|
|
16
|
-
const tooltipHeight = tooltipRect.height || DEFAULT_TOOLTIP_HEIGHT;
|
|
17
|
-
const spaces = {
|
|
18
|
-
top: triggerRect.top,
|
|
19
|
-
bottom: viewportHeight - triggerRect.bottom,
|
|
20
|
-
left: triggerRect.left,
|
|
21
|
-
right: viewportWidth - triggerRect.right,
|
|
22
|
-
};
|
|
23
|
-
// 위/아래 공간을 먼저 확인하고 우선순위 결정
|
|
24
|
-
const hasTopSpace = spaces.top >= tooltipHeight + MARGIN;
|
|
25
|
-
// 위쪽 공간이 있으면 top 우선, 없으면 bottom 우선
|
|
26
|
-
const positions = hasTopSpace
|
|
27
|
-
? ['top-right', 'top-left', 'bottom-right', 'bottom-left']
|
|
28
|
-
: ['bottom-right', 'bottom-left', 'top-right', 'top-left'];
|
|
29
|
-
for (const position of positions) {
|
|
30
|
-
const isTop = position.includes('top');
|
|
31
|
-
const isRight = position.includes('right');
|
|
32
|
-
const hasVerticalSpace = isTop ? spaces.top >= tooltipHeight + MARGIN : spaces.bottom >= tooltipHeight + MARGIN;
|
|
33
|
-
const hasHorizontalSpace = isRight
|
|
34
|
-
? spaces.right >= tooltipWidth + MARGIN // right 정렬: 툴팁이 오른쪽으로 펼쳐짐
|
|
35
|
-
: spaces.left >= tooltipWidth + MARGIN; // left 정렬: 툴팁이 왼쪽으로 펼쳐짐
|
|
36
|
-
if (hasVerticalSpace && hasHorizontalSpace) {
|
|
37
|
-
return position;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
// 모든 조건이 맞지 않으면 공간이 더 많은 쪽으로
|
|
41
|
-
const fallbackPosition = hasTopSpace ? 'top-right' : 'bottom-right';
|
|
42
|
-
return fallbackPosition;
|
|
43
|
-
};
|
|
44
|
-
const Tag = ({ size = 'sm', icon, text, count, close, onButtonClick, maxLength = 20 }) => {
|
|
45
|
-
const [isTooltipVisible, setIsTooltipVisible] = useState(false);
|
|
46
|
-
const [calculatedPosition, setCalculatedPosition] = useState('top-right');
|
|
47
|
-
const tagRef = useRef(null);
|
|
48
|
-
const tooltipRef = useRef(null);
|
|
49
|
-
const iconSize = {
|
|
50
|
-
sm: 14,
|
|
51
|
-
md: 16,
|
|
52
|
-
};
|
|
53
|
-
// 텍스트 길이 체크 및 말줄임 처리
|
|
54
|
-
const shouldTruncate = text.length > maxLength;
|
|
55
|
-
const displayText = shouldTruncate ? `${text.slice(0, maxLength - 2)}...` : text;
|
|
56
|
-
const handleMouseEnter = useCallback(() => {
|
|
57
|
-
if (shouldTruncate) {
|
|
58
|
-
setIsTooltipVisible(true);
|
|
59
|
-
// 간단한 위치 계산 - 기본값 사용
|
|
60
|
-
if (tagRef.current && tooltipRef.current) {
|
|
61
|
-
const optimalPosition = calculateOptimalPosition(tagRef.current, tooltipRef.current);
|
|
62
|
-
setCalculatedPosition(optimalPosition);
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
// ref가 없으면 다음 렌더링 사이클에서 시도
|
|
66
|
-
setTimeout(() => {
|
|
67
|
-
if (tagRef.current) {
|
|
68
|
-
// tooltipRef가 없어도 tagRef만으로 계산
|
|
69
|
-
const dummyTooltipElement = document.createElement('div');
|
|
70
|
-
dummyTooltipElement.style.width = `${DEFAULT_TOOLTIP_WIDTH}px`;
|
|
71
|
-
dummyTooltipElement.style.height = `${DEFAULT_TOOLTIP_HEIGHT}px`;
|
|
72
|
-
const optimalPosition = calculateOptimalPosition(tagRef.current, dummyTooltipElement);
|
|
73
|
-
setCalculatedPosition(optimalPosition);
|
|
74
|
-
}
|
|
75
|
-
}, 0);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}, [shouldTruncate]);
|
|
79
|
-
const handleMouseLeave = useCallback(() => {
|
|
80
|
-
setIsTooltipVisible(false);
|
|
81
|
-
}, []);
|
|
82
|
-
const sideSlotRender = (slot) => {
|
|
83
|
-
if (slot.type === 'icon') {
|
|
84
|
-
const SlotIcon = slot.icon;
|
|
85
|
-
return _jsx(SlotIcon, { width: iconSize[size], height: iconSize[size], color: slot.color });
|
|
86
|
-
}
|
|
87
|
-
if (slot.type === 'dot') {
|
|
88
|
-
return _jsx(Dot, { color: slot.color, size: slot.size ?? 'sm' });
|
|
89
|
-
}
|
|
90
|
-
return slot.children;
|
|
91
|
-
};
|
|
92
|
-
return (_jsxs("span", { ref: tagRef, className: classNames('ncua-tag', `ncua-tag--${size}`, {
|
|
93
|
-
'ncua-tag--truncated': shouldTruncate,
|
|
94
|
-
}), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: [icon && sideSlotRender(icon), _jsx("span", { className: "ncua-tag__text", children: displayText }), count && _jsx("span", { className: "ncua-tag__count", children: count }), close && (_jsx("button", { type: "button", className: "ncua-tag__close", onClick: onButtonClick, children: _jsx(XClose, { color: COLOR.gray300, width: iconSize[size], height: iconSize[size] }) })), shouldTruncate && isTooltipVisible && (_jsx("span", { ref: tooltipRef, className: classNames('ncua-tag__tooltip', `ncua-tag__tooltip--${calculatedPosition}`), children: _jsx("span", { className: "ncua-tag__tooltip-content", children: text }) }))] }));
|
|
95
|
-
};
|
|
96
|
-
export { Tag };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type ComponentPropsWithRef } from 'react';
|
|
2
|
-
import type { Size } from '../../../constant/size';
|
|
3
|
-
interface TextareaProps extends ComponentPropsWithRef<'textarea'> {
|
|
4
|
-
className?: string;
|
|
5
|
-
size?: Extract<Size, 'xs' | 'sm'>;
|
|
6
|
-
label?: string;
|
|
7
|
-
hintText?: string;
|
|
8
|
-
required?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
destructive?: boolean;
|
|
11
|
-
characterCount?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const Textarea: import("react").ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
14
|
-
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import classNames from 'classnames';
|
|
3
|
-
import { forwardRef, useEffect, useRef, useState } from 'react';
|
|
4
|
-
import { HintText } from '../shared/hintText/HintText';
|
|
5
|
-
import { Label } from '../shared/label/Label';
|
|
6
|
-
export const Textarea = forwardRef(({ className, size = 'xs', label, required, disabled, hintText, characterCount, destructive, ...props }, ref) => {
|
|
7
|
-
const textareaRef = useRef(null);
|
|
8
|
-
const [textCount, setTextCount] = useState(0);
|
|
9
|
-
const shouldShowHintArea = hintText || characterCount;
|
|
10
|
-
useEffect(() => {
|
|
11
|
-
if (textareaRef.current && characterCount) {
|
|
12
|
-
setTextCount(textareaRef.current.value.length);
|
|
13
|
-
const handleInput = () => {
|
|
14
|
-
setTextCount(textareaRef.current?.value.length ?? 0);
|
|
15
|
-
};
|
|
16
|
-
textareaRef.current.addEventListener('input', handleInput);
|
|
17
|
-
return () => {
|
|
18
|
-
textareaRef.current?.removeEventListener('input', handleInput);
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
}, [characterCount]);
|
|
22
|
-
return (_jsxs("div", { className: classNames('ncua-input', 'ncua-input--textarea', `ncua-input--textarea--${size}`, {
|
|
23
|
-
destructive: destructive,
|
|
24
|
-
'is-disabled': disabled,
|
|
25
|
-
}, className), children: [label && (_jsx(Label, { htmlFor: props.id, isRequired: required, children: label })), _jsx("textarea", { ref: (node) => {
|
|
26
|
-
if (typeof ref === 'function') {
|
|
27
|
-
ref(node);
|
|
28
|
-
}
|
|
29
|
-
else if (ref) {
|
|
30
|
-
ref.current = node;
|
|
31
|
-
}
|
|
32
|
-
textareaRef.current = node;
|
|
33
|
-
}, className: "ncua-input__textarea", disabled: disabled, ...props }), shouldShowHintArea && (_jsxs("div", { className: "ncua-input__text-count-wrap", children: [hintText && (_jsx(HintText, { as: "div", destructive: destructive, children: hintText })), characterCount && (_jsx("div", { className: "ncua-input__text-count", children: _jsxs("span", { className: "ncua-input__text-count-text", children: [_jsx("span", { className: "ncua-input__text-count-text-count", children: textCount }), "/", props.maxLength ?? 0] }) }))] }))] }));
|
|
34
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
interface TooltipProps {
|
|
2
|
-
tooltipType?: 'white' | 'black';
|
|
3
|
-
iconType?: 'stroke' | 'fill';
|
|
4
|
-
position?: 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'auto';
|
|
5
|
-
size?: 'sm' | 'md';
|
|
6
|
-
hideArrow?: boolean;
|
|
7
|
-
title?: string;
|
|
8
|
-
content?: React.ReactNode;
|
|
9
|
-
type?: 'long' | 'short';
|
|
10
|
-
className?: string;
|
|
11
|
-
iconColor?: string;
|
|
12
|
-
iconStyle?: 'help-circle' | 'alert-circle';
|
|
13
|
-
}
|
|
14
|
-
export declare const Tooltip: ({ tooltipType, iconType, position, size, title, content, hideArrow, type, iconColor, iconStyle, className, }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { AlertCircle, AlertCircleFill, HelpCircle, HelpCircleFill } from '@ncds/ui-admin-icon';
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import { useCallback, useMemo, useRef, useState } from 'react';
|
|
5
|
-
import { ButtonCloseX } from '../button/ButtonCloseX';
|
|
6
|
-
const ICON_SIZE_SM = 14;
|
|
7
|
-
const ICON_SIZE_DEFAULT = 16;
|
|
8
|
-
const MARGIN = 10;
|
|
9
|
-
const DEFAULT_TOOLTIP_WIDTH = 200;
|
|
10
|
-
const DEFAULT_TOOLTIP_HEIGHT = 60;
|
|
11
|
-
const POSITION_PRIORITY = ['bottom', 'top', 'right', 'left'];
|
|
12
|
-
// 수직 위치(top/bottom)일 때 수평 정렬 보정
|
|
13
|
-
const resolveVerticalAlignment = (position, triggerRect, tooltipWidth, viewportWidth) => {
|
|
14
|
-
const centerX = triggerRect.left + triggerRect.width / 2;
|
|
15
|
-
const tooltipHalfWidth = tooltipWidth / 2;
|
|
16
|
-
if (centerX - tooltipHalfWidth < MARGIN) {
|
|
17
|
-
return `${position}-left`;
|
|
18
|
-
}
|
|
19
|
-
if (centerX + tooltipHalfWidth > viewportWidth - MARGIN) {
|
|
20
|
-
return `${position}-right`;
|
|
21
|
-
}
|
|
22
|
-
return position;
|
|
23
|
-
};
|
|
24
|
-
// 해당 위치에 툴팁을 배치할 충분한 공간이 있는지 확인
|
|
25
|
-
const hasEnoughSpace = (position, spaces, tooltipWidth, tooltipHeight) => {
|
|
26
|
-
const isVertical = position === 'bottom' || position === 'top';
|
|
27
|
-
const requiredSpace = isVertical ? tooltipHeight : tooltipWidth;
|
|
28
|
-
return spaces[position] >= requiredSpace + MARGIN;
|
|
29
|
-
};
|
|
30
|
-
// 위치 계산 position='auto' 일 때 사용
|
|
31
|
-
const calculateOptimalPosition = (triggerElement, tooltipElement, preferredPosition = 'bottom') => {
|
|
32
|
-
const triggerRect = triggerElement.getBoundingClientRect();
|
|
33
|
-
const tooltipRect = tooltipElement.getBoundingClientRect();
|
|
34
|
-
const { innerWidth: viewportWidth, innerHeight: viewportHeight } = window;
|
|
35
|
-
const spaces = {
|
|
36
|
-
top: triggerRect.top,
|
|
37
|
-
bottom: viewportHeight - triggerRect.bottom,
|
|
38
|
-
left: triggerRect.left,
|
|
39
|
-
right: viewportWidth - triggerRect.right,
|
|
40
|
-
};
|
|
41
|
-
const tooltipWidth = tooltipRect.width || DEFAULT_TOOLTIP_WIDTH;
|
|
42
|
-
const tooltipHeight = tooltipRect.height || DEFAULT_TOOLTIP_HEIGHT;
|
|
43
|
-
for (const position of POSITION_PRIORITY) {
|
|
44
|
-
if (!hasEnoughSpace(position, spaces, tooltipWidth, tooltipHeight)) {
|
|
45
|
-
continue;
|
|
46
|
-
}
|
|
47
|
-
const isVertical = position === 'bottom' || position === 'top';
|
|
48
|
-
if (isVertical) {
|
|
49
|
-
return resolveVerticalAlignment(position, triggerRect, tooltipWidth, viewportWidth);
|
|
50
|
-
}
|
|
51
|
-
return position;
|
|
52
|
-
}
|
|
53
|
-
return preferredPosition;
|
|
54
|
-
};
|
|
55
|
-
export const Tooltip = ({ tooltipType = 'white', iconType = 'stroke', position = 'auto', size = 'sm', title, content, hideArrow = false, type = 'short', iconColor = 'var(--gray-300)', iconStyle = 'help-circle', className, }) => {
|
|
56
|
-
const iconSize = size === 'sm' ? ICON_SIZE_SM : ICON_SIZE_DEFAULT;
|
|
57
|
-
const tooltipRef = useRef(null);
|
|
58
|
-
const tooltipBgRef = useRef(null);
|
|
59
|
-
const [calculatedPosition, setCalculatedPosition] = useState(position === 'auto' ? 'bottom' : position);
|
|
60
|
-
const [isVisible, setIsVisible] = useState(false);
|
|
61
|
-
const [isManuallyClose, setIsManuallyClose] = useState(false);
|
|
62
|
-
const [isMeasuring, setIsMeasuring] = useState(false);
|
|
63
|
-
const handleMouseEnter = useCallback(() => {
|
|
64
|
-
if (isManuallyClose)
|
|
65
|
-
return;
|
|
66
|
-
setIsVisible(true);
|
|
67
|
-
if (position === 'auto' && tooltipRef.current && tooltipBgRef.current) {
|
|
68
|
-
// 크기 측정을 위해 임시로 measuring 클래스 추가
|
|
69
|
-
setIsMeasuring(true);
|
|
70
|
-
// 다음 렌더링 사이클에서 크기 측정
|
|
71
|
-
setTimeout(() => {
|
|
72
|
-
if (tooltipRef.current && tooltipBgRef.current) {
|
|
73
|
-
const optimalPosition = calculateOptimalPosition(tooltipRef.current, tooltipBgRef.current, 'bottom');
|
|
74
|
-
setCalculatedPosition(optimalPosition);
|
|
75
|
-
setIsMeasuring(false);
|
|
76
|
-
}
|
|
77
|
-
}, 0);
|
|
78
|
-
}
|
|
79
|
-
}, [position, isManuallyClose]);
|
|
80
|
-
const handleMouseLeave = useCallback(() => {
|
|
81
|
-
if (type === 'short') {
|
|
82
|
-
setIsVisible(false);
|
|
83
|
-
}
|
|
84
|
-
setIsManuallyClose(false);
|
|
85
|
-
}, [type]);
|
|
86
|
-
const handleCloseClick = useCallback(() => {
|
|
87
|
-
setIsVisible(false);
|
|
88
|
-
setIsManuallyClose(true);
|
|
89
|
-
}, []);
|
|
90
|
-
const finalPosition = position === 'auto' ? calculatedPosition : position;
|
|
91
|
-
const tooltipClassName = useMemo(() => classNames('ncua-tooltip', `ncua-tooltip--${size}`, `ncua-tooltip--${type}`, {
|
|
92
|
-
'ncua-tooltip--hidden-arrow': hideArrow,
|
|
93
|
-
'ncua-tooltip--stroke': iconType === 'stroke',
|
|
94
|
-
'ncua-tooltip--auto': position === 'auto',
|
|
95
|
-
}, className), [size, type, hideArrow, iconType, position, className]);
|
|
96
|
-
const tooltipBgClassName = useMemo(() => classNames('ncua-tooltip__bg', `ncua-tooltip__bg--${tooltipType}`, `ncua-tooltip__bg--${finalPosition}`, {
|
|
97
|
-
'ncua-tooltip__bg--visible': isVisible,
|
|
98
|
-
'ncua-tooltip__bg--measuring': isMeasuring,
|
|
99
|
-
'ncua-tooltip__bg--force-hidden': isManuallyClose,
|
|
100
|
-
}), [tooltipType, finalPosition, isVisible, isMeasuring, isManuallyClose]);
|
|
101
|
-
return (_jsxs("span", { ref: tooltipRef, className: tooltipClassName, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: [iconStyle === 'help-circle' &&
|
|
102
|
-
(iconType === 'stroke' ? (_jsx(HelpCircle, { width: iconSize, height: iconSize, color: iconColor })) : (_jsx(HelpCircleFill, { width: iconSize, height: iconSize, color: iconColor }))), iconStyle === 'alert-circle' &&
|
|
103
|
-
(iconType === 'stroke' ? (_jsx(AlertCircle, { width: iconSize, height: iconSize, color: iconColor })) : (_jsx(AlertCircleFill, { width: iconSize, height: iconSize, color: iconColor }))), _jsxs("span", { ref: tooltipBgRef, className: tooltipBgClassName, children: [title && _jsx("span", { className: "ncua-tooltip__title", children: title }), content && _jsx("span", { className: "ncua-tooltip__content", children: content }), type === 'long' && (_jsx(ButtonCloseX, { className: "ncua-tooltip__close-button", size: "xs", theme: tooltipType === 'white' ? 'dark' : 'light', onClick: handleCloseClick, "aria-label": "\uD234\uD301 \uB2EB\uAE30" }))] })] }));
|
|
104
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type TabButtonProps } from '../tab/TabButton';
|
|
2
|
-
export type VerticalTabProps = {
|
|
3
|
-
type?: 'button-primary' | 'button-white' | 'line-vertical';
|
|
4
|
-
breakPoint?: 'mobile' | 'pc';
|
|
5
|
-
activeTab?: string;
|
|
6
|
-
menus?: TabButtonProps[];
|
|
7
|
-
onSelect?: (value: string) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare const VerticalTab: ({ type, breakPoint, activeTab, menus, onSelect, }: VerticalTabProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import classNames from 'classnames';
|
|
3
|
-
import { Select } from '../select/Select';
|
|
4
|
-
import { TabButton } from '../tab/TabButton';
|
|
5
|
-
export const VerticalTab = ({ type = 'button-primary', breakPoint = 'pc', activeTab, menus, onSelect, }) => {
|
|
6
|
-
const handleSelectChange = (e) => {
|
|
7
|
-
onSelect?.(e.target.value);
|
|
8
|
-
};
|
|
9
|
-
const optionItems = menus?.map((menu) => ({
|
|
10
|
-
id: menu.id || '',
|
|
11
|
-
label: menu.label || '',
|
|
12
|
-
})) || [];
|
|
13
|
-
if (breakPoint === 'mobile') {
|
|
14
|
-
return _jsx(Select, { value: activeTab, onChange: handleSelectChange, optionItems: optionItems, size: "md" });
|
|
15
|
-
}
|
|
16
|
-
return (_jsx("div", { className: classNames('ncua-vertical-tab', `ncua-vertical-tab--${type}`), children: menus?.map((menu) => {
|
|
17
|
-
const isActive = 'href' in menu && menu.href ? menu.href === activeTab : menu.id === activeTab;
|
|
18
|
-
return _jsx(TabButton, { ...menu, isActive: isActive, tabButtonType: type, size: "md" }, menu.id);
|
|
19
|
-
}) }));
|
|
20
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { OptionValue } from '../../src/types';
|
|
2
|
-
import { DropdownOption } from './utils/unifiedBox/dropdownModel';
|
|
3
|
-
import { UnifiedBoxManager } from './utils/unifiedBox/unifiedBoxManager';
|
|
4
|
-
/**
|
|
5
|
-
* SelectBox와 ComboBox의 공통 기능을 담는 베이스 클래스
|
|
6
|
-
*/
|
|
7
|
-
export declare abstract class BaseBox {
|
|
8
|
-
protected element: HTMLElement;
|
|
9
|
-
protected unifiedSelectBox: UnifiedBoxManager;
|
|
10
|
-
protected targetSelect: HTMLSelectElement | null;
|
|
11
|
-
protected isInitializing: boolean;
|
|
12
|
-
protected lastValue: OptionValue;
|
|
13
|
-
/** 서브클래스에서 기본 placeholder를 지정 */
|
|
14
|
-
protected abstract get defaultPlaceholder(): string;
|
|
15
|
-
constructor(element: HTMLElement);
|
|
16
|
-
/** 초기화 완료 처리 (서브클래스 생성자 마지막에 호출) */
|
|
17
|
-
protected completeInitialization(): void;
|
|
18
|
-
/**
|
|
19
|
-
* 타겟 select 요소 찾기
|
|
20
|
-
*/
|
|
21
|
-
protected findTargetSelect(element: HTMLElement): HTMLSelectElement | null;
|
|
22
|
-
/**
|
|
23
|
-
* HTML에서 속성 파싱
|
|
24
|
-
*/
|
|
25
|
-
protected parseAttributesFromHTML(): {
|
|
26
|
-
placeholder?: string;
|
|
27
|
-
value?: string;
|
|
28
|
-
disabled?: boolean;
|
|
29
|
-
size?: 'xs' | 'sm' | 'md';
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* 값 변환 훅 - SelectBox에서 originalValue 매핑을 위해 오버라이드
|
|
33
|
-
* 기본 동작: 그대로 문자열 변환
|
|
34
|
-
*/
|
|
35
|
-
protected resolveValue(value: string | number): string;
|
|
36
|
-
/**
|
|
37
|
-
* 타겟 select와 동기화 (Single 모드)
|
|
38
|
-
*/
|
|
39
|
-
protected syncWithTargetSelect(value: string | number): void;
|
|
40
|
-
/**
|
|
41
|
-
* 타겟 select와 동기화 (Multiple 모드)
|
|
42
|
-
*/
|
|
43
|
-
protected syncWithTargetSelectMultiple(values: (string | number)[]): void;
|
|
44
|
-
getOptions(): DropdownOption[];
|
|
45
|
-
updateOptions(newOptions: DropdownOption[]): void;
|
|
46
|
-
setDisabled(disabled: boolean): void;
|
|
47
|
-
open(): void;
|
|
48
|
-
close(): void;
|
|
49
|
-
focus(): void;
|
|
50
|
-
destroy(): void;
|
|
51
|
-
selectAll(): void;
|
|
52
|
-
deselectAll(): void;
|
|
53
|
-
isMultiple(): boolean;
|
|
54
|
-
toggleSelectAll(): void;
|
|
55
|
-
}
|