@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,157 +0,0 @@
|
|
|
1
|
-
import { CLASS_NAMES, FLOATING_ICON_MAP, getSizes } from './const';
|
|
2
|
-
import { isMobile } from './utils';
|
|
3
|
-
import { MEDIA_QUERY } from '../../../src/constant/breakpoint';
|
|
4
|
-
import { FeaturedIcon } from '../featuredIcon';
|
|
5
|
-
import { ButtonCloseX } from '../shared/ButtonCloseX';
|
|
6
|
-
import { createWrapperElement, renderSupportingText, renderActions, bindNotificationEvents, setupAutoClose, } from './utils';
|
|
7
|
-
export class FloatingNotification {
|
|
8
|
-
constructor(options) {
|
|
9
|
-
this.options = {
|
|
10
|
-
color: 'neutral',
|
|
11
|
-
className: '',
|
|
12
|
-
actions: [],
|
|
13
|
-
autoClose: 0,
|
|
14
|
-
supportingText: undefined,
|
|
15
|
-
...options,
|
|
16
|
-
};
|
|
17
|
-
this.element = this.createElement();
|
|
18
|
-
this.bindEvents();
|
|
19
|
-
this.setupAutoClose();
|
|
20
|
-
this.setupMobileListener();
|
|
21
|
-
}
|
|
22
|
-
createElement() {
|
|
23
|
-
const { title, supportingText, color, className, actions, onClose } = this.options;
|
|
24
|
-
// 플로팅 알림에서 info 색상 사용 시 neutral로 대체
|
|
25
|
-
let actualColor = color;
|
|
26
|
-
if (color === 'info') {
|
|
27
|
-
console.warn('Floating notification does not support "info" color. Using "neutral" instead.');
|
|
28
|
-
actualColor = 'neutral';
|
|
29
|
-
}
|
|
30
|
-
const wrapper = createWrapperElement(CLASS_NAMES.FLOATING.BASE, actualColor, className);
|
|
31
|
-
const iconFunction = FLOATING_ICON_MAP[actualColor];
|
|
32
|
-
const mobile = isMobile();
|
|
33
|
-
// FeaturedIcon 생성
|
|
34
|
-
let featuredIconElement = null;
|
|
35
|
-
if (iconFunction) {
|
|
36
|
-
const size = getSizes.featuredIcon(mobile);
|
|
37
|
-
const iconSize = getSizes.iconPixel(mobile);
|
|
38
|
-
const iconSvg = iconFunction(iconSize);
|
|
39
|
-
this.featuredIcon = FeaturedIcon.create({
|
|
40
|
-
svgString: iconSvg,
|
|
41
|
-
theme: 'dark-circle',
|
|
42
|
-
color: actualColor,
|
|
43
|
-
size: size,
|
|
44
|
-
});
|
|
45
|
-
featuredIconElement = this.featuredIcon.getElement();
|
|
46
|
-
}
|
|
47
|
-
wrapper.innerHTML = this.buildTemplate({
|
|
48
|
-
title,
|
|
49
|
-
supportingText,
|
|
50
|
-
actions,
|
|
51
|
-
onClose,
|
|
52
|
-
isMobile: mobile,
|
|
53
|
-
});
|
|
54
|
-
// FeaturedIcon을 container에 추가
|
|
55
|
-
if (featuredIconElement) {
|
|
56
|
-
const container = wrapper.querySelector(`.${CLASS_NAMES.FLOATING.CONTAINER}`);
|
|
57
|
-
if (container) {
|
|
58
|
-
container.insertBefore(featuredIconElement, container.firstChild);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return wrapper;
|
|
62
|
-
}
|
|
63
|
-
buildTemplate(params) {
|
|
64
|
-
const { title, supportingText, actions, onClose, isMobile } = params;
|
|
65
|
-
return `
|
|
66
|
-
<div class="${CLASS_NAMES.FLOATING.CONTENT}">
|
|
67
|
-
<div class="${CLASS_NAMES.FLOATING.CONTAINER}">
|
|
68
|
-
<div class="${CLASS_NAMES.FLOATING.TEXT_CONTAINER}">
|
|
69
|
-
<div class="${CLASS_NAMES.FLOATING.TITLE_WRAPPER}">
|
|
70
|
-
<span class="${CLASS_NAMES.FLOATING.TITLE}">${title}</span>
|
|
71
|
-
</div>
|
|
72
|
-
${renderSupportingText(supportingText, CLASS_NAMES.FLOATING.SUPPORTING_TEXT)}
|
|
73
|
-
${actions && actions.length > 0 ? renderActions(actions, CLASS_NAMES.FLOATING.ACTIONS) : ''}
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
${this.renderCloseButton(onClose, isMobile)}
|
|
78
|
-
`;
|
|
79
|
-
}
|
|
80
|
-
renderCloseButton(onClose, isMobile = false) {
|
|
81
|
-
if (!onClose)
|
|
82
|
-
return '';
|
|
83
|
-
const size = getSizes.closeButton(isMobile);
|
|
84
|
-
return ButtonCloseX(size, 'light', CLASS_NAMES.FLOATING.CLOSE_BUTTON, '알림 닫기', onClose);
|
|
85
|
-
}
|
|
86
|
-
setupMobileListener() {
|
|
87
|
-
const mediaQuery = window.matchMedia(MEDIA_QUERY.mobile);
|
|
88
|
-
const handleChange = (e) => {
|
|
89
|
-
this.updateMobileStyles(e.matches);
|
|
90
|
-
if (e.matches && this.options.onClose) {
|
|
91
|
-
this.options.onClose();
|
|
92
|
-
this.remove();
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
handleChange({ matches: mediaQuery.matches });
|
|
96
|
-
mediaQuery.addEventListener('change', handleChange);
|
|
97
|
-
this.mobileCleanup = () => {
|
|
98
|
-
mediaQuery.removeEventListener('change', handleChange);
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
updateMobileStyles(mobile) {
|
|
102
|
-
if (this.featuredIcon) {
|
|
103
|
-
const newSize = getSizes.featuredIcon(mobile);
|
|
104
|
-
this.featuredIcon.updateSize(newSize);
|
|
105
|
-
}
|
|
106
|
-
const closeButton = this.element.querySelector('.ncua-button-close-x');
|
|
107
|
-
if (closeButton) {
|
|
108
|
-
const newSize = getSizes.closeButton(mobile);
|
|
109
|
-
const newSvgSize = getSizes.closeButtonSvg(newSize);
|
|
110
|
-
closeButton.className = closeButton.className.replace(/ncua-button-close-x--(xs|sm)/, `ncua-button-close-x--${newSize}`);
|
|
111
|
-
const svg = closeButton.querySelector('svg');
|
|
112
|
-
if (svg) {
|
|
113
|
-
svg.setAttribute('width', newSvgSize.toString());
|
|
114
|
-
svg.setAttribute('height', newSvgSize.toString());
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
bindEvents() {
|
|
119
|
-
bindNotificationEvents(this.element, this.options.actions, this.options.onClose, () => this.remove());
|
|
120
|
-
}
|
|
121
|
-
setupAutoClose() {
|
|
122
|
-
this.autoCloseTimer = setupAutoClose(this.options.autoClose, this.options.onClose, () => this.remove());
|
|
123
|
-
}
|
|
124
|
-
// Public methods
|
|
125
|
-
getElement() {
|
|
126
|
-
return this.element;
|
|
127
|
-
}
|
|
128
|
-
appendTo(parent) {
|
|
129
|
-
parent.appendChild(this.element);
|
|
130
|
-
}
|
|
131
|
-
remove() {
|
|
132
|
-
if (this.autoCloseTimer) {
|
|
133
|
-
clearTimeout(this.autoCloseTimer);
|
|
134
|
-
this.autoCloseTimer = undefined;
|
|
135
|
-
}
|
|
136
|
-
if (this.element && this.element.parentNode) {
|
|
137
|
-
this.element.parentNode.removeChild(this.element);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
destroy() {
|
|
141
|
-
// FeaturedIcon 정리
|
|
142
|
-
if (this.featuredIcon) {
|
|
143
|
-
this.featuredIcon.destroy();
|
|
144
|
-
this.featuredIcon = undefined;
|
|
145
|
-
}
|
|
146
|
-
// 모바일 리스너 정리
|
|
147
|
-
if (this.mobileCleanup) {
|
|
148
|
-
this.mobileCleanup();
|
|
149
|
-
this.mobileCleanup = undefined;
|
|
150
|
-
}
|
|
151
|
-
this.remove();
|
|
152
|
-
}
|
|
153
|
-
// Static factory methods
|
|
154
|
-
static create(options) {
|
|
155
|
-
return new FloatingNotification(options);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { BaseNotificationOptions } from './const';
|
|
2
|
-
export interface FullWidthNotificationOptions extends BaseNotificationOptions {
|
|
3
|
-
type?: 'full-width';
|
|
4
|
-
}
|
|
5
|
-
export declare class FullWidthNotification {
|
|
6
|
-
private element;
|
|
7
|
-
private options;
|
|
8
|
-
private autoCloseTimer?;
|
|
9
|
-
constructor(options: FullWidthNotificationOptions);
|
|
10
|
-
private createElement;
|
|
11
|
-
private buildTemplate;
|
|
12
|
-
private renderHidePermanentlyButton;
|
|
13
|
-
private renderCloseButton;
|
|
14
|
-
private bindEvents;
|
|
15
|
-
private setupAutoClose;
|
|
16
|
-
getElement(): HTMLElement;
|
|
17
|
-
appendTo(parent: HTMLElement): void;
|
|
18
|
-
remove(): void;
|
|
19
|
-
destroy(): void;
|
|
20
|
-
static create(options: FullWidthNotificationOptions): FullWidthNotification;
|
|
21
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { SVG_ICONS, CLASS_NAMES, FULL_WIDTH_ICON_MAP, FULL_WIDTH_SIZES } from './const';
|
|
2
|
-
import { createWrapperElement, renderSupportingText, renderActions, bindNotificationEvents, setupAutoClose, } from './utils';
|
|
3
|
-
export class FullWidthNotification {
|
|
4
|
-
constructor(options) {
|
|
5
|
-
this.options = {
|
|
6
|
-
color: 'neutral',
|
|
7
|
-
className: '',
|
|
8
|
-
actions: [],
|
|
9
|
-
autoClose: 0,
|
|
10
|
-
supportingText: undefined,
|
|
11
|
-
...options,
|
|
12
|
-
};
|
|
13
|
-
this.element = this.createElement();
|
|
14
|
-
this.bindEvents();
|
|
15
|
-
this.setupAutoClose();
|
|
16
|
-
}
|
|
17
|
-
createElement() {
|
|
18
|
-
const { title, supportingText, color, className, actions, onClose, supportTextLink, onHidePermanently } = this.options;
|
|
19
|
-
const wrapper = createWrapperElement(CLASS_NAMES.FULL_WIDTH.BASE, color, className);
|
|
20
|
-
const iconHtml = FULL_WIDTH_ICON_MAP[color](FULL_WIDTH_SIZES.ICON);
|
|
21
|
-
wrapper.innerHTML = this.buildTemplate({
|
|
22
|
-
iconHtml,
|
|
23
|
-
title,
|
|
24
|
-
supportingText,
|
|
25
|
-
actions,
|
|
26
|
-
onClose,
|
|
27
|
-
supportTextLink,
|
|
28
|
-
onHidePermanently,
|
|
29
|
-
});
|
|
30
|
-
return wrapper;
|
|
31
|
-
}
|
|
32
|
-
buildTemplate(params) {
|
|
33
|
-
const { iconHtml, title, supportingText, actions, onClose, supportTextLink, onHidePermanently } = params;
|
|
34
|
-
return `
|
|
35
|
-
<div class="${CLASS_NAMES.FULL_WIDTH.CONTAINER}">
|
|
36
|
-
<div class="${CLASS_NAMES.FULL_WIDTH.CONTENT}">
|
|
37
|
-
<div class="${CLASS_NAMES.FULL_WIDTH.CONTENT_WRAPPER}">
|
|
38
|
-
<div class="${CLASS_NAMES.FULL_WIDTH.ICON}">${iconHtml}</div>
|
|
39
|
-
<div class="${CLASS_NAMES.FULL_WIDTH.TEXT_CONTAINER}">
|
|
40
|
-
<span class="${CLASS_NAMES.FULL_WIDTH.TITLE}">${title}</span>
|
|
41
|
-
${renderSupportingText(supportingText, CLASS_NAMES.FULL_WIDTH.SUPPORTING_TEXT, supportTextLink)}
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="${CLASS_NAMES.FULL_WIDTH.ACTIONS_CONTAINER}">
|
|
45
|
-
${actions && actions.length > 0 ? renderActions(actions, CLASS_NAMES.FULL_WIDTH.ACTIONS) : ''}
|
|
46
|
-
${this.renderHidePermanentlyButton(onHidePermanently)}
|
|
47
|
-
${this.renderCloseButton(onClose)}
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
`;
|
|
52
|
-
}
|
|
53
|
-
renderHidePermanentlyButton(onHidePermanently) {
|
|
54
|
-
if (!onHidePermanently)
|
|
55
|
-
return '';
|
|
56
|
-
return `
|
|
57
|
-
<button type="button" class="ncua-notification__action-button ncua-notification__action-button--text ncua-full-width-notification__link" data-hide-permanently="true">
|
|
58
|
-
다시보지 않기
|
|
59
|
-
</button>
|
|
60
|
-
`;
|
|
61
|
-
}
|
|
62
|
-
renderCloseButton(onClose) {
|
|
63
|
-
if (!onClose)
|
|
64
|
-
return '';
|
|
65
|
-
return `
|
|
66
|
-
<button type="button" class="${CLASS_NAMES.FULL_WIDTH.CLOSE_BUTTON}" aria-label="알림 닫기">
|
|
67
|
-
${SVG_ICONS['x-close'](FULL_WIDTH_SIZES.CLOSE_BUTTON)}
|
|
68
|
-
</button>
|
|
69
|
-
`;
|
|
70
|
-
}
|
|
71
|
-
bindEvents() {
|
|
72
|
-
bindNotificationEvents(this.element, this.options.actions, this.options.onClose, () => this.remove());
|
|
73
|
-
// 다시보지 않기 버튼 이벤트 바인딩
|
|
74
|
-
if (this.options.onHidePermanently) {
|
|
75
|
-
const hidePermanentlyButton = this.element.querySelector('[data-hide-permanently="true"]');
|
|
76
|
-
if (hidePermanentlyButton) {
|
|
77
|
-
hidePermanentlyButton.addEventListener('click', () => {
|
|
78
|
-
this.options.onHidePermanently?.();
|
|
79
|
-
this.remove();
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
setupAutoClose() {
|
|
85
|
-
this.autoCloseTimer = setupAutoClose(this.options.autoClose, this.options.onClose, () => this.remove());
|
|
86
|
-
}
|
|
87
|
-
// Public methods
|
|
88
|
-
getElement() {
|
|
89
|
-
return this.element;
|
|
90
|
-
}
|
|
91
|
-
appendTo(parent) {
|
|
92
|
-
parent.appendChild(this.element);
|
|
93
|
-
}
|
|
94
|
-
remove() {
|
|
95
|
-
if (this.autoCloseTimer) {
|
|
96
|
-
clearTimeout(this.autoCloseTimer);
|
|
97
|
-
this.autoCloseTimer = undefined;
|
|
98
|
-
}
|
|
99
|
-
if (this.element && this.element.parentNode) {
|
|
100
|
-
this.element.parentNode.removeChild(this.element);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
destroy() {
|
|
104
|
-
this.remove();
|
|
105
|
-
}
|
|
106
|
-
// Static factory methods
|
|
107
|
-
static create(options) {
|
|
108
|
-
return new FullWidthNotification(options);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { BaseNotificationOptions } from './const';
|
|
2
|
-
export interface MessageNotificationOptions extends BaseNotificationOptions {
|
|
3
|
-
type?: 'message';
|
|
4
|
-
}
|
|
5
|
-
export declare class MessageNotification {
|
|
6
|
-
private element;
|
|
7
|
-
private options;
|
|
8
|
-
private autoCloseTimer?;
|
|
9
|
-
private featuredIcon?;
|
|
10
|
-
constructor(options: MessageNotificationOptions);
|
|
11
|
-
private createElement;
|
|
12
|
-
private buildTemplate;
|
|
13
|
-
private renderHidePermanentlyButton;
|
|
14
|
-
private renderCloseButton;
|
|
15
|
-
private bindEvents;
|
|
16
|
-
private setupAutoClose;
|
|
17
|
-
getElement(): HTMLElement;
|
|
18
|
-
appendTo(parent: HTMLElement): void;
|
|
19
|
-
remove(): void;
|
|
20
|
-
destroy(): void;
|
|
21
|
-
static create(options: MessageNotificationOptions): MessageNotification;
|
|
22
|
-
}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { SVG_ICONS, CLASS_NAMES, FLOATING_ICON_MAP, MESSAGE_SIZES } from './const';
|
|
2
|
-
import { FeaturedIcon } from '../featuredIcon';
|
|
3
|
-
import { createWrapperElement, renderSupportingText, renderActions, bindNotificationEvents, setupAutoClose, } from './utils';
|
|
4
|
-
export class MessageNotification {
|
|
5
|
-
constructor(options) {
|
|
6
|
-
this.options = {
|
|
7
|
-
color: 'neutral',
|
|
8
|
-
className: '',
|
|
9
|
-
actions: [],
|
|
10
|
-
autoClose: 0,
|
|
11
|
-
supportingText: undefined,
|
|
12
|
-
...options,
|
|
13
|
-
};
|
|
14
|
-
this.element = this.createElement();
|
|
15
|
-
this.bindEvents();
|
|
16
|
-
this.setupAutoClose();
|
|
17
|
-
}
|
|
18
|
-
createElement() {
|
|
19
|
-
const { title, supportingText, color, className, actions, onClose, onHidePermanently } = this.options;
|
|
20
|
-
// message 타입은 neutral, error, warning, success 4가지 색상만 지원
|
|
21
|
-
let actualColor = color;
|
|
22
|
-
if (color === 'info') {
|
|
23
|
-
console.warn('Message notification does not support "info" color. Using "neutral" instead.');
|
|
24
|
-
actualColor = 'neutral';
|
|
25
|
-
}
|
|
26
|
-
const wrapper = createWrapperElement(CLASS_NAMES.MESSAGE.BASE, actualColor, className);
|
|
27
|
-
const iconFunction = FLOATING_ICON_MAP[actualColor];
|
|
28
|
-
// FeaturedIcon 생성
|
|
29
|
-
let featuredIconElement = null;
|
|
30
|
-
if (iconFunction) {
|
|
31
|
-
const iconSvg = iconFunction(MESSAGE_SIZES.ICON_PIXEL);
|
|
32
|
-
this.featuredIcon = FeaturedIcon.create({
|
|
33
|
-
svgString: iconSvg,
|
|
34
|
-
theme: 'light-circle',
|
|
35
|
-
color: actualColor,
|
|
36
|
-
size: MESSAGE_SIZES.FEATURED_ICON,
|
|
37
|
-
});
|
|
38
|
-
featuredIconElement = this.featuredIcon.getElement();
|
|
39
|
-
}
|
|
40
|
-
wrapper.innerHTML = this.buildTemplate({
|
|
41
|
-
title,
|
|
42
|
-
supportingText,
|
|
43
|
-
actions,
|
|
44
|
-
onClose,
|
|
45
|
-
onHidePermanently,
|
|
46
|
-
});
|
|
47
|
-
// FeaturedIcon을 content-wrapper에 추가
|
|
48
|
-
if (featuredIconElement) {
|
|
49
|
-
const contentWrapper = wrapper.querySelector(`.${CLASS_NAMES.MESSAGE.CONTENT_WRAPPER}`);
|
|
50
|
-
if (contentWrapper) {
|
|
51
|
-
contentWrapper.insertBefore(featuredIconElement, contentWrapper.firstChild);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
return wrapper;
|
|
55
|
-
}
|
|
56
|
-
buildTemplate(params) {
|
|
57
|
-
const { title, supportingText, actions, onClose, onHidePermanently } = params;
|
|
58
|
-
return `
|
|
59
|
-
<div class="${CLASS_NAMES.MESSAGE.CONTAINER}">
|
|
60
|
-
<div class="${CLASS_NAMES.MESSAGE.CONTENT}">
|
|
61
|
-
<div class="${CLASS_NAMES.MESSAGE.CONTENT_WRAPPER}">
|
|
62
|
-
<div class="${CLASS_NAMES.MESSAGE.TEXT_CONTAINER}">
|
|
63
|
-
<span class="${CLASS_NAMES.MESSAGE.TITLE}">${title}</span>
|
|
64
|
-
${renderSupportingText(supportingText, CLASS_NAMES.MESSAGE.SUPPORTING_TEXT)}
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
<div class="${CLASS_NAMES.MESSAGE.ACTIONS_CONTAINER}">
|
|
68
|
-
${actions && actions.length > 0 ? renderActions(actions, CLASS_NAMES.MESSAGE.ACTIONS) : ''}
|
|
69
|
-
</div>
|
|
70
|
-
<div class="${CLASS_NAMES.MESSAGE.ACTIONS_CONTAINER}">
|
|
71
|
-
${this.renderHidePermanentlyButton(onHidePermanently)}
|
|
72
|
-
${this.renderCloseButton(onClose)}
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
`;
|
|
77
|
-
}
|
|
78
|
-
renderHidePermanentlyButton(onHidePermanently) {
|
|
79
|
-
if (!onHidePermanently)
|
|
80
|
-
return '';
|
|
81
|
-
return `
|
|
82
|
-
<button type="button" class="${CLASS_NAMES.COMMON.ACTION_BUTTON} ${CLASS_NAMES.COMMON.ACTION_BUTTON}--text ${CLASS_NAMES.MESSAGE.HIDE_LINK}" data-hide-permanently="true">
|
|
83
|
-
다시 보지 않기
|
|
84
|
-
</button>
|
|
85
|
-
`;
|
|
86
|
-
}
|
|
87
|
-
renderCloseButton(onClose) {
|
|
88
|
-
if (!onClose)
|
|
89
|
-
return '';
|
|
90
|
-
return `
|
|
91
|
-
<button type="button" class="${CLASS_NAMES.MESSAGE.CLOSE_BUTTON}" aria-label="알림 닫기">
|
|
92
|
-
${SVG_ICONS['x-close'](MESSAGE_SIZES.CLOSE_BUTTON).replace('stroke="currentColor"', `stroke="#2F2F30"`)}
|
|
93
|
-
</button>
|
|
94
|
-
`;
|
|
95
|
-
}
|
|
96
|
-
bindEvents() {
|
|
97
|
-
bindNotificationEvents(this.element, this.options.actions, this.options.onClose, () => this.remove());
|
|
98
|
-
// 다시보지 않기 버튼 이벤트 바인딩
|
|
99
|
-
if (this.options.onHidePermanently) {
|
|
100
|
-
const hidePermanentlyButton = this.element.querySelector('[data-hide-permanently="true"]');
|
|
101
|
-
if (hidePermanentlyButton) {
|
|
102
|
-
hidePermanentlyButton.addEventListener('click', () => {
|
|
103
|
-
this.options.onHidePermanently?.();
|
|
104
|
-
this.remove();
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
setupAutoClose() {
|
|
110
|
-
this.autoCloseTimer = setupAutoClose(this.options.autoClose, this.options.onClose, () => this.remove());
|
|
111
|
-
}
|
|
112
|
-
// Public methods
|
|
113
|
-
getElement() {
|
|
114
|
-
return this.element;
|
|
115
|
-
}
|
|
116
|
-
appendTo(parent) {
|
|
117
|
-
parent.appendChild(this.element);
|
|
118
|
-
}
|
|
119
|
-
remove() {
|
|
120
|
-
if (this.autoCloseTimer) {
|
|
121
|
-
clearTimeout(this.autoCloseTimer);
|
|
122
|
-
this.autoCloseTimer = undefined;
|
|
123
|
-
}
|
|
124
|
-
if (this.element && this.element.parentNode) {
|
|
125
|
-
this.element.parentNode.removeChild(this.element);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
destroy() {
|
|
129
|
-
// FeaturedIcon 정리
|
|
130
|
-
if (this.featuredIcon) {
|
|
131
|
-
this.featuredIcon.destroy();
|
|
132
|
-
this.featuredIcon = undefined;
|
|
133
|
-
}
|
|
134
|
-
this.remove();
|
|
135
|
-
}
|
|
136
|
-
// Static factory methods
|
|
137
|
-
static create(options) {
|
|
138
|
-
return new MessageNotification(options);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { NotificationColor, BaseNotificationOptions } from './const';
|
|
2
|
-
export interface NotificationOptions extends BaseNotificationOptions {
|
|
3
|
-
type?: 'full-width' | 'floating' | 'message';
|
|
4
|
-
}
|
|
5
|
-
export declare class Notification {
|
|
6
|
-
private instance;
|
|
7
|
-
constructor(options: NotificationOptions);
|
|
8
|
-
getElement(): HTMLElement;
|
|
9
|
-
appendTo(parent: HTMLElement): void;
|
|
10
|
-
remove(): void;
|
|
11
|
-
destroy(): void;
|
|
12
|
-
show(parent?: HTMLElement): void;
|
|
13
|
-
static create(options: NotificationOptions): Notification;
|
|
14
|
-
static createWithColor(color: NotificationColor, title: string, supportingText?: string, options?: Partial<NotificationOptions>): Notification;
|
|
15
|
-
static success(title: string, supportingText?: string, options?: Partial<NotificationOptions>): Notification;
|
|
16
|
-
static error(title: string, supportingText?: string, options?: Partial<NotificationOptions>): Notification;
|
|
17
|
-
static warning(title: string, supportingText?: string, options?: Partial<NotificationOptions>): Notification;
|
|
18
|
-
static info(title: string, supportingText?: string, options?: Partial<NotificationOptions>): Notification;
|
|
19
|
-
static neutral(title: string, supportingText?: string, options?: Partial<NotificationOptions>): Notification;
|
|
20
|
-
static showFullWidth(options: Omit<NotificationOptions, 'type'>): Notification;
|
|
21
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { FullWidthNotification } from './FullWidthNotification';
|
|
2
|
-
import { FloatingNotification } from './FloatingNotification';
|
|
3
|
-
import { MessageNotification } from './MessageNotification';
|
|
4
|
-
// 통합 Notification 클래스
|
|
5
|
-
export class Notification {
|
|
6
|
-
constructor(options) {
|
|
7
|
-
const { type = 'floating', ...baseOptions } = options;
|
|
8
|
-
if (type === 'message') {
|
|
9
|
-
this.instance = new MessageNotification(baseOptions);
|
|
10
|
-
}
|
|
11
|
-
else if (type === 'full-width') {
|
|
12
|
-
this.instance = new FullWidthNotification(baseOptions);
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
this.instance = new FloatingNotification(baseOptions);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
// 모든 메서드를 instance에 위임
|
|
19
|
-
getElement() {
|
|
20
|
-
return this.instance.getElement();
|
|
21
|
-
}
|
|
22
|
-
appendTo(parent) {
|
|
23
|
-
return this.instance.appendTo(parent);
|
|
24
|
-
}
|
|
25
|
-
remove() {
|
|
26
|
-
return this.instance.remove();
|
|
27
|
-
}
|
|
28
|
-
destroy() {
|
|
29
|
-
return this.instance.destroy();
|
|
30
|
-
}
|
|
31
|
-
show(parent) {
|
|
32
|
-
if (parent) {
|
|
33
|
-
this.instance.appendTo(parent);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
this.instance.appendTo(document.body);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
// Static factory methods
|
|
40
|
-
static create(options) {
|
|
41
|
-
return new Notification(options);
|
|
42
|
-
}
|
|
43
|
-
// Convenience method for creating notifications with specific color
|
|
44
|
-
static createWithColor(color, title, supportingText, options) {
|
|
45
|
-
const autoCloseMap = {
|
|
46
|
-
success: 3000,
|
|
47
|
-
error: 5000,
|
|
48
|
-
warning: 3000,
|
|
49
|
-
info: 3000,
|
|
50
|
-
neutral: 0,
|
|
51
|
-
};
|
|
52
|
-
return new Notification({
|
|
53
|
-
title,
|
|
54
|
-
supportingText,
|
|
55
|
-
color,
|
|
56
|
-
type: 'floating',
|
|
57
|
-
autoClose: autoCloseMap[color],
|
|
58
|
-
...options,
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
// 클래스를 생성하지 않고도 기본 floating 알림 생성을 하기 위한 함수들
|
|
62
|
-
static success(title, supportingText, options) {
|
|
63
|
-
const notification = this.createWithColor('success', title, supportingText, options);
|
|
64
|
-
notification.show();
|
|
65
|
-
return notification;
|
|
66
|
-
}
|
|
67
|
-
static error(title, supportingText, options) {
|
|
68
|
-
const notification = this.createWithColor('error', title, supportingText, options);
|
|
69
|
-
notification.show();
|
|
70
|
-
return notification;
|
|
71
|
-
}
|
|
72
|
-
static warning(title, supportingText, options) {
|
|
73
|
-
const notification = this.createWithColor('warning', title, supportingText, options);
|
|
74
|
-
notification.show();
|
|
75
|
-
return notification;
|
|
76
|
-
}
|
|
77
|
-
static info(title, supportingText, options) {
|
|
78
|
-
const notification = this.createWithColor('info', title, supportingText, options);
|
|
79
|
-
notification.show();
|
|
80
|
-
return notification;
|
|
81
|
-
}
|
|
82
|
-
static neutral(title, supportingText, options) {
|
|
83
|
-
const notification = this.createWithColor('neutral', title, supportingText, options);
|
|
84
|
-
notification.show();
|
|
85
|
-
return notification;
|
|
86
|
-
}
|
|
87
|
-
// showFullWidth method for backward compatibility
|
|
88
|
-
static showFullWidth(options) {
|
|
89
|
-
return new Notification({
|
|
90
|
-
...options,
|
|
91
|
-
type: 'full-width',
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export declare const CLASS_NAMES: {
|
|
2
|
-
readonly FULL_WIDTH: {
|
|
3
|
-
readonly BASE: "ncua-full-width-notification";
|
|
4
|
-
readonly CONTAINER: "ncua-full-width-notification__container";
|
|
5
|
-
readonly CONTENT: "ncua-full-width-notification__content";
|
|
6
|
-
readonly CONTENT_WRAPPER: "ncua-full-width-notification__content-wrapper";
|
|
7
|
-
readonly ICON: "ncua-full-width-notification__icon";
|
|
8
|
-
readonly TEXT_CONTAINER: "ncua-full-width-notification__text-container";
|
|
9
|
-
readonly TITLE: "ncua-full-width-notification__title";
|
|
10
|
-
readonly SUPPORTING_TEXT: "ncua-full-width-notification__supporting-text";
|
|
11
|
-
readonly ACTIONS_CONTAINER: "ncua-full-width-notification__actions-container";
|
|
12
|
-
readonly ACTIONS: "ncua-full-width-notification__actions";
|
|
13
|
-
readonly CLOSE_BUTTON: "ncua-full-width-notification__close-button";
|
|
14
|
-
};
|
|
15
|
-
readonly FLOATING: {
|
|
16
|
-
readonly BASE: "ncua-floating-notification";
|
|
17
|
-
readonly CONTAINER: "ncua-floating-notification__container";
|
|
18
|
-
readonly CONTENT: "ncua-floating-notification__content";
|
|
19
|
-
readonly TEXT_CONTAINER: "ncua-floating-notification__text-container";
|
|
20
|
-
readonly TITLE_WRAPPER: "ncua-floating-notification__title-wrapper";
|
|
21
|
-
readonly TITLE: "ncua-floating-notification__title";
|
|
22
|
-
readonly SUPPORTING_TEXT: "ncua-floating-notification__supporting-text";
|
|
23
|
-
readonly ACTIONS: "ncua-floating-notification__actions";
|
|
24
|
-
readonly CLOSE_BUTTON: "ncua-floating-notification__close-button";
|
|
25
|
-
};
|
|
26
|
-
readonly MESSAGE: {
|
|
27
|
-
readonly BASE: "ncua-message-notification";
|
|
28
|
-
readonly CONTAINER: "ncua-message-notification__container";
|
|
29
|
-
readonly CONTENT: "ncua-message-notification__content";
|
|
30
|
-
readonly CONTENT_WRAPPER: "ncua-message-notification__content-wrapper";
|
|
31
|
-
readonly ICON: "ncua-message-notification__icon";
|
|
32
|
-
readonly TEXT_CONTAINER: "ncua-message-notification__text-container";
|
|
33
|
-
readonly TITLE: "ncua-message-notification__title";
|
|
34
|
-
readonly SUPPORTING_TEXT: "ncua-message-notification__supporting-text";
|
|
35
|
-
readonly ACTIONS_CONTAINER: "ncua-message-notification__actions-container";
|
|
36
|
-
readonly ACTIONS: "ncua-message-notification__actions";
|
|
37
|
-
readonly HIDE_LINK: "ncua-message-notification__hide-link";
|
|
38
|
-
readonly CLOSE_BUTTON: "ncua-message-notification__close-button";
|
|
39
|
-
};
|
|
40
|
-
readonly COMMON: {
|
|
41
|
-
readonly ACTION_BUTTON: "ncua-notification__action-button";
|
|
42
|
-
};
|
|
43
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// CSS class names
|
|
2
|
-
export const CLASS_NAMES = {
|
|
3
|
-
FULL_WIDTH: {
|
|
4
|
-
BASE: 'ncua-full-width-notification',
|
|
5
|
-
CONTAINER: 'ncua-full-width-notification__container',
|
|
6
|
-
CONTENT: 'ncua-full-width-notification__content',
|
|
7
|
-
CONTENT_WRAPPER: 'ncua-full-width-notification__content-wrapper',
|
|
8
|
-
ICON: 'ncua-full-width-notification__icon',
|
|
9
|
-
TEXT_CONTAINER: 'ncua-full-width-notification__text-container',
|
|
10
|
-
TITLE: 'ncua-full-width-notification__title',
|
|
11
|
-
SUPPORTING_TEXT: 'ncua-full-width-notification__supporting-text',
|
|
12
|
-
ACTIONS_CONTAINER: 'ncua-full-width-notification__actions-container',
|
|
13
|
-
ACTIONS: 'ncua-full-width-notification__actions',
|
|
14
|
-
CLOSE_BUTTON: 'ncua-full-width-notification__close-button',
|
|
15
|
-
},
|
|
16
|
-
FLOATING: {
|
|
17
|
-
BASE: 'ncua-floating-notification',
|
|
18
|
-
CONTAINER: 'ncua-floating-notification__container',
|
|
19
|
-
CONTENT: 'ncua-floating-notification__content',
|
|
20
|
-
TEXT_CONTAINER: 'ncua-floating-notification__text-container',
|
|
21
|
-
TITLE_WRAPPER: 'ncua-floating-notification__title-wrapper',
|
|
22
|
-
TITLE: 'ncua-floating-notification__title',
|
|
23
|
-
SUPPORTING_TEXT: 'ncua-floating-notification__supporting-text',
|
|
24
|
-
ACTIONS: 'ncua-floating-notification__actions',
|
|
25
|
-
CLOSE_BUTTON: 'ncua-floating-notification__close-button',
|
|
26
|
-
},
|
|
27
|
-
MESSAGE: {
|
|
28
|
-
BASE: 'ncua-message-notification',
|
|
29
|
-
CONTAINER: 'ncua-message-notification__container',
|
|
30
|
-
CONTENT: 'ncua-message-notification__content',
|
|
31
|
-
CONTENT_WRAPPER: 'ncua-message-notification__content-wrapper',
|
|
32
|
-
ICON: 'ncua-message-notification__icon',
|
|
33
|
-
TEXT_CONTAINER: 'ncua-message-notification__text-container',
|
|
34
|
-
TITLE: 'ncua-message-notification__title',
|
|
35
|
-
SUPPORTING_TEXT: 'ncua-message-notification__supporting-text',
|
|
36
|
-
ACTIONS_CONTAINER: 'ncua-message-notification__actions-container',
|
|
37
|
-
ACTIONS: 'ncua-message-notification__actions',
|
|
38
|
-
HIDE_LINK: 'ncua-message-notification__hide-link',
|
|
39
|
-
CLOSE_BUTTON: 'ncua-message-notification__close-button',
|
|
40
|
-
},
|
|
41
|
-
COMMON: {
|
|
42
|
-
ACTION_BUTTON: 'ncua-notification__action-button',
|
|
43
|
-
},
|
|
44
|
-
};
|