@ncds/ui-admin 0.0.34 → 0.0.36
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/datePicker.js +248 -0
- package/dist/cjs/assets/scripts/index.js +10 -0
- package/dist/cjs/assets/scripts/slider.js +332 -0
- package/dist/cjs/assets/scripts/tab.js +40 -0
- package/dist/cjs/constant/color.js +38 -0
- package/dist/cjs/constant/size.js +5 -0
- package/dist/cjs/index.js +313 -0
- package/dist/cjs/src/components/badge/Badge.js +52 -0
- package/dist/cjs/src/components/badge/BadgeGroup.js +62 -0
- package/dist/cjs/src/components/badge/index.js +27 -0
- package/dist/cjs/src/components/badge/utils.js +33 -0
- package/dist/cjs/src/components/breadcrumb/BreadCrumb.js +67 -0
- package/dist/cjs/src/components/breadcrumb/index.js +16 -0
- package/dist/cjs/src/components/button/Button.js +127 -0
- package/dist/cjs/src/components/button/ButtonCloseX.js +44 -0
- package/dist/cjs/src/components/button/ButtonGroup.js +121 -0
- package/dist/cjs/src/components/button/index.js +27 -0
- package/dist/cjs/src/components/carousel/CarouselArrow.js +41 -0
- package/dist/cjs/src/components/carousel/CarouselNumberGroup.js +46 -0
- package/dist/cjs/src/components/carousel/index.js +27 -0
- package/dist/cjs/src/components/checkbox/Checkbox.js +70 -0
- package/dist/cjs/src/components/checkbox/CheckboxInput.js +96 -0
- package/dist/cjs/src/components/checkbox/index.js +27 -0
- package/dist/cjs/src/components/date-picker/DatePicker.js +86 -0
- package/dist/cjs/src/components/date-picker/RangeDatePicker.js +136 -0
- package/dist/cjs/src/components/date-picker/RangeDatePickerWithButtons.js +92 -0
- package/dist/cjs/src/components/date-picker/index.js +49 -0
- package/dist/cjs/src/components/date-picker/utils.js +18 -0
- package/dist/cjs/src/components/divider/Divider.js +47 -0
- package/dist/cjs/src/components/divider/index.js +16 -0
- package/dist/cjs/src/components/dot/Dot.js +41 -0
- package/dist/cjs/src/components/dot/index.js +16 -0
- package/dist/cjs/src/components/dropdown/Dropdown.js +206 -0
- package/dist/cjs/src/components/dropdown/index.js +16 -0
- package/dist/cjs/src/components/empty-state/EmptyState.js +58 -0
- package/dist/cjs/src/components/empty-state/index.js +16 -0
- package/dist/cjs/src/components/featured-icon/FeaturedIcon.js +62 -0
- package/dist/cjs/src/components/featured-icon/index.js +16 -0
- package/dist/cjs/src/components/index.js +291 -0
- package/dist/cjs/src/components/input/InputBase.js +184 -0
- package/dist/cjs/src/components/input/PasswordInput.js +94 -0
- package/dist/cjs/src/components/input/Textarea.js +115 -0
- package/dist/cjs/src/components/input/index.js +38 -0
- package/dist/cjs/src/components/modal/Modal.js +194 -0
- package/dist/cjs/src/components/modal/index.js +16 -0
- package/dist/cjs/src/components/notification/FloatingNotification.js +108 -0
- package/dist/cjs/src/components/notification/FullWidthNotification.js +119 -0
- package/dist/cjs/src/components/notification/Notification.js +45 -0
- package/dist/cjs/src/components/notification/index.js +38 -0
- package/dist/cjs/src/components/pagination/NavButton.js +93 -0
- package/dist/cjs/src/components/pagination/Pagination.js +161 -0
- package/dist/cjs/src/components/pagination/index.js +27 -0
- package/dist/cjs/src/components/progress-bar/ProgressBar.js +57 -0
- package/dist/cjs/src/components/progress-bar/index.js +16 -0
- package/dist/cjs/src/components/progress-circle/ProgressCircle.js +121 -0
- package/dist/cjs/src/components/progress-circle/index.js +16 -0
- package/dist/cjs/src/components/radio/Radio.js +65 -0
- package/dist/cjs/src/components/radio/RadioInput.js +50 -0
- package/dist/cjs/src/components/radio/index.js +27 -0
- package/dist/cjs/src/components/select/Select.js +98 -0
- package/dist/cjs/src/components/select/index.js +16 -0
- package/dist/cjs/src/components/shared/hintText/HintText.js +43 -0
- package/dist/cjs/src/components/shared/hintText/index.js +16 -0
- package/dist/cjs/src/components/shared/index.js +27 -0
- package/dist/cjs/src/components/shared/label/Label.js +43 -0
- package/dist/cjs/src/components/shared/label/index.js +16 -0
- package/dist/cjs/src/components/slider/Slider.js +64 -0
- package/dist/cjs/src/components/slider/index.js +16 -0
- package/dist/cjs/src/components/spinner/Spinner.js +53 -0
- package/dist/cjs/src/components/spinner/index.js +27 -0
- package/dist/cjs/src/components/tab/HorizontalTab.js +77 -0
- package/dist/cjs/src/components/tab/TabButton.js +76 -0
- package/dist/cjs/src/components/tab/VerticalTab.js +75 -0
- package/dist/cjs/src/components/tab/index.js +38 -0
- package/dist/cjs/src/components/tag/Tag.js +78 -0
- package/dist/cjs/src/components/tag/index.js +16 -0
- package/dist/cjs/src/components/toggle/Toggle.js +74 -0
- package/dist/cjs/src/components/toggle/index.js +16 -0
- package/dist/cjs/src/components/tooltip/Tooltip.js +74 -0
- package/dist/cjs/src/components/tooltip/index.js +16 -0
- package/dist/cjs/src/constant/breakpoint.js +12 -0
- package/dist/cjs/src/constant/date-picker.js +63 -0
- package/dist/cjs/src/constant/index.js +27 -0
- package/dist/cjs/src/constant/size.js +7 -0
- package/dist/cjs/src/hooks/useMediaQuery.js +29 -0
- package/dist/cjs/src/utils/date-picker.js +26 -0
- package/dist/esm/assets/scripts/datePicker.js +243 -0
- package/dist/{temp → esm}/assets/scripts/index.js +4 -4
- package/dist/esm/assets/scripts/slider.js +327 -0
- package/dist/esm/assets/scripts/tab.js +35 -0
- package/dist/esm/constant/color.js +32 -0
- package/dist/esm/constant/size.js +1 -0
- package/dist/{temp → esm}/index.js +1 -1
- package/dist/esm/src/components/badge/Badge.js +44 -0
- package/dist/esm/src/components/badge/BadgeGroup.js +54 -0
- package/dist/esm/src/components/badge/index.js +2 -0
- package/dist/esm/src/components/badge/utils.js +25 -0
- package/dist/esm/src/components/breadcrumb/BreadCrumb.js +59 -0
- package/dist/esm/src/components/breadcrumb/index.js +1 -0
- package/dist/esm/src/components/button/Button.js +120 -0
- package/dist/esm/src/components/button/ButtonCloseX.js +36 -0
- package/dist/esm/src/components/button/ButtonGroup.js +111 -0
- package/dist/esm/src/components/button/index.js +2 -0
- package/dist/esm/src/components/carousel/CarouselArrow.js +33 -0
- package/dist/esm/src/components/carousel/CarouselNumberGroup.js +38 -0
- package/dist/esm/src/components/carousel/index.js +2 -0
- package/dist/esm/src/components/checkbox/Checkbox.js +62 -0
- package/dist/esm/src/components/checkbox/CheckboxInput.js +89 -0
- package/dist/esm/src/components/checkbox/index.js +2 -0
- package/dist/esm/src/components/date-picker/DatePicker.js +79 -0
- package/dist/esm/src/components/date-picker/RangeDatePicker.js +129 -0
- package/dist/esm/src/components/date-picker/RangeDatePickerWithButtons.js +85 -0
- package/dist/{temp → esm}/src/components/date-picker/index.js +1 -1
- package/dist/esm/src/components/date-picker/utils.js +10 -0
- package/dist/esm/src/components/divider/Divider.js +40 -0
- package/dist/esm/src/components/divider/index.js +1 -0
- package/dist/esm/src/components/dot/Dot.js +34 -0
- package/dist/esm/src/components/dot/index.js +1 -0
- package/dist/esm/src/components/dropdown/Dropdown.js +198 -0
- package/dist/esm/src/components/dropdown/index.js +1 -0
- package/dist/esm/src/components/empty-state/EmptyState.js +51 -0
- package/dist/esm/src/components/empty-state/index.js +1 -0
- package/dist/esm/src/components/featured-icon/FeaturedIcon.js +55 -0
- package/dist/esm/src/components/featured-icon/index.js +1 -0
- package/dist/{temp → esm}/src/components/index.js +1 -1
- package/dist/esm/src/components/input/InputBase.js +177 -0
- package/dist/esm/src/components/input/PasswordInput.js +87 -0
- package/dist/esm/src/components/input/Textarea.js +108 -0
- package/dist/{temp → esm}/src/components/input/index.js +1 -1
- package/dist/esm/src/components/modal/Modal.js +186 -0
- package/dist/esm/src/components/modal/index.js +1 -0
- package/dist/esm/src/components/notification/FloatingNotification.js +101 -0
- package/dist/esm/src/components/notification/FullWidthNotification.js +112 -0
- package/dist/esm/src/components/notification/Notification.js +39 -0
- package/dist/{temp → esm}/src/components/notification/index.js +1 -1
- package/dist/esm/src/components/pagination/NavButton.js +86 -0
- package/dist/esm/src/components/pagination/Pagination.js +153 -0
- package/dist/esm/src/components/pagination/index.js +2 -0
- package/dist/esm/src/components/progress-bar/ProgressBar.js +50 -0
- package/dist/esm/src/components/progress-bar/index.js +1 -0
- package/dist/esm/src/components/progress-circle/ProgressCircle.js +114 -0
- package/dist/esm/src/components/progress-circle/index.js +1 -0
- package/dist/esm/src/components/radio/Radio.js +57 -0
- package/dist/esm/src/components/radio/RadioInput.js +43 -0
- package/dist/esm/src/components/radio/index.js +2 -0
- package/dist/esm/src/components/select/Select.js +91 -0
- package/dist/esm/src/components/select/index.js +1 -0
- package/dist/esm/src/components/shared/hintText/HintText.js +35 -0
- package/dist/esm/src/components/shared/hintText/index.js +1 -0
- package/dist/{temp → esm}/src/components/shared/index.js +1 -1
- package/dist/esm/src/components/shared/label/Label.js +35 -0
- package/dist/esm/src/components/shared/label/index.js +1 -0
- package/dist/esm/src/components/slider/Slider.js +57 -0
- package/dist/esm/src/components/slider/index.js +1 -0
- package/dist/esm/src/components/spinner/Spinner.js +45 -0
- package/dist/{temp → esm}/src/components/spinner/index.js +1 -1
- package/dist/esm/src/components/tab/HorizontalTab.js +69 -0
- package/dist/esm/src/components/tab/TabButton.js +68 -0
- package/dist/esm/src/components/tab/VerticalTab.js +67 -0
- package/dist/{temp → esm}/src/components/tab/index.js +1 -1
- package/dist/esm/src/components/tag/Tag.js +70 -0
- package/dist/esm/src/components/tag/index.js +1 -0
- package/dist/esm/src/components/toggle/Toggle.js +66 -0
- package/dist/esm/src/components/toggle/index.js +1 -0
- package/dist/esm/src/components/tooltip/Tooltip.js +66 -0
- package/dist/esm/src/components/tooltip/index.js +1 -0
- package/dist/esm/src/constant/breakpoint.js +6 -0
- package/dist/esm/src/constant/date-picker.js +57 -0
- package/dist/esm/src/constant/index.js +2 -0
- package/dist/esm/src/constant/size.js +1 -0
- package/dist/esm/src/hooks/useMediaQuery.js +22 -0
- package/dist/esm/src/utils/date-picker.js +17 -0
- package/dist/{temp → types}/src/components/date-picker/DatePicker.d.ts +0 -1
- package/dist/{temp → types}/src/components/date-picker/RangeDatePicker.d.ts +0 -1
- package/dist/{temp → types}/src/components/dropdown/Dropdown.d.ts +0 -1
- package/dist/{temp → types}/src/components/input/PasswordInput.d.ts +0 -1
- package/dist/{temp → types}/src/components/shared/hintText/HintText.d.ts +0 -1
- package/dist/{temp → types}/src/components/shared/label/Label.d.ts +0 -1
- package/dist/ui-admin/assets/images/sprite.png +0 -0
- package/dist/ui-admin/assets/styles/style.css +3653 -0
- package/package.json +1 -1
- package/dist/temp/assets/scripts/datePicker.d.ts.map +0 -1
- package/dist/temp/assets/scripts/datePicker.js +0 -232
- package/dist/temp/assets/scripts/index.d.ts.map +0 -1
- package/dist/temp/assets/scripts/slider.d.ts.map +0 -1
- package/dist/temp/assets/scripts/slider.js +0 -331
- package/dist/temp/assets/scripts/tab.d.ts.map +0 -1
- package/dist/temp/assets/scripts/tab.js +0 -35
- package/dist/temp/constant/color.d.ts.map +0 -1
- package/dist/temp/constant/color.js +0 -32
- package/dist/temp/constant/size.d.ts.map +0 -1
- package/dist/temp/constant/size.js +0 -1
- package/dist/temp/docusaurus/docusaurus.config.d.ts +0 -4
- package/dist/temp/docusaurus/docusaurus.config.d.ts.map +0 -1
- package/dist/temp/docusaurus/docusaurus.config.js +0 -300
- package/dist/temp/docusaurus/sidebars.d.ts +0 -14
- package/dist/temp/docusaurus/sidebars.d.ts.map +0 -1
- package/dist/temp/docusaurus/sidebars.js +0 -104
- package/dist/temp/docusaurus/src/components/Badge.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/Badge.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Badge.js +0 -1
- package/dist/temp/docusaurus/src/components/BadgeGroup.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/BadgeGroup.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/BadgeGroup.js +0 -1
- package/dist/temp/docusaurus/src/components/BreadCrumb.d.ts +0 -3
- package/dist/temp/docusaurus/src/components/BreadCrumb.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/BreadCrumb.js +0 -2
- package/dist/temp/docusaurus/src/components/Button.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/Button.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Button.js +0 -1
- package/dist/temp/docusaurus/src/components/ButtonGroup.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/ButtonGroup.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/ButtonGroup.js +0 -1
- package/dist/temp/docusaurus/src/components/CarouselArrow.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/CarouselArrow.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/CarouselArrow.js +0 -1
- package/dist/temp/docusaurus/src/components/CarouselNumberGroup.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/CarouselNumberGroup.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/CarouselNumberGroup.js +0 -1
- package/dist/temp/docusaurus/src/components/Checkbox.d.ts +0 -4
- package/dist/temp/docusaurus/src/components/Checkbox.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Checkbox.js +0 -20
- package/dist/temp/docusaurus/src/components/CodeTabs/index.d.ts +0 -10
- package/dist/temp/docusaurus/src/components/CodeTabs/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/CodeTabs/index.js +0 -143
- package/dist/temp/docusaurus/src/components/ColorSwatch.d.ts +0 -9
- package/dist/temp/docusaurus/src/components/ColorSwatch.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/ColorSwatch.js +0 -37
- package/dist/temp/docusaurus/src/components/DatePicker.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/DatePicker.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/DatePicker.js +0 -1
- package/dist/temp/docusaurus/src/components/Divider.d.ts +0 -3
- package/dist/temp/docusaurus/src/components/Divider.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Divider.js +0 -2
- package/dist/temp/docusaurus/src/components/Dot.d.ts +0 -3
- package/dist/temp/docusaurus/src/components/Dot.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Dot.js +0 -1
- package/dist/temp/docusaurus/src/components/Dropdown.d.ts +0 -4
- package/dist/temp/docusaurus/src/components/Dropdown.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Dropdown.js +0 -20
- package/dist/temp/docusaurus/src/components/EmptyState.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/EmptyState.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/EmptyState.js +0 -1
- package/dist/temp/docusaurus/src/components/ExampleCode/index.d.ts +0 -9
- package/dist/temp/docusaurus/src/components/ExampleCode/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/ExampleCode/index.js +0 -30
- package/dist/temp/docusaurus/src/components/ExampleContainer/index.d.ts +0 -8
- package/dist/temp/docusaurus/src/components/ExampleContainer/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/ExampleContainer/index.js +0 -30
- package/dist/temp/docusaurus/src/components/FeaturedIcon.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/FeaturedIcon.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/FeaturedIcon.js +0 -1
- package/dist/temp/docusaurus/src/components/HorizontalTab.d.ts +0 -3
- package/dist/temp/docusaurus/src/components/HorizontalTab.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/HorizontalTab.js +0 -2
- package/dist/temp/docusaurus/src/components/IconList.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/IconList.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/IconList.js +0 -1588
- package/dist/temp/docusaurus/src/components/Input.d.ts +0 -4
- package/dist/temp/docusaurus/src/components/Input.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Input.js +0 -3
- package/dist/temp/docusaurus/src/components/InteractiveExample/index.d.ts +0 -19
- package/dist/temp/docusaurus/src/components/InteractiveExample/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/InteractiveExample/index.js +0 -174
- package/dist/temp/docusaurus/src/components/InteractiveIconWrapper.d.ts +0 -46
- package/dist/temp/docusaurus/src/components/InteractiveIconWrapper.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/InteractiveIconWrapper.js +0 -211
- package/dist/temp/docusaurus/src/components/Modal.d.ts +0 -8
- package/dist/temp/docusaurus/src/components/Modal.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Modal.js +0 -30
- package/dist/temp/docusaurus/src/components/Notification.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/Notification.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Notification.js +0 -1
- package/dist/temp/docusaurus/src/components/PaginationExample.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/PaginationExample.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/PaginationExample.js +0 -1
- package/dist/temp/docusaurus/src/components/ProgressBar.d.ts +0 -3
- package/dist/temp/docusaurus/src/components/ProgressBar.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/ProgressBar.js +0 -2
- package/dist/temp/docusaurus/src/components/ProgressCircle.d.ts +0 -3
- package/dist/temp/docusaurus/src/components/ProgressCircle.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/ProgressCircle.js +0 -2
- package/dist/temp/docusaurus/src/components/Radio.d.ts +0 -4
- package/dist/temp/docusaurus/src/components/Radio.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Radio.js +0 -20
- package/dist/temp/docusaurus/src/components/RangeDatePicker.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/RangeDatePicker.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/RangeDatePicker.js +0 -1
- package/dist/temp/docusaurus/src/components/RangeDatePickerWithButtons.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/RangeDatePickerWithButtons.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/RangeDatePickerWithButtons.js +0 -1
- package/dist/temp/docusaurus/src/components/Select.d.ts +0 -4
- package/dist/temp/docusaurus/src/components/Select.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Select.js +0 -17
- package/dist/temp/docusaurus/src/components/Slider.d.ts +0 -3
- package/dist/temp/docusaurus/src/components/Slider.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Slider.js +0 -1
- package/dist/temp/docusaurus/src/components/Spinner.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/Spinner.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Spinner.js +0 -1
- package/dist/temp/docusaurus/src/components/Table.d.ts +0 -43
- package/dist/temp/docusaurus/src/components/Table.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Table.js +0 -56
- package/dist/temp/docusaurus/src/components/Tabs.d.ts +0 -27
- package/dist/temp/docusaurus/src/components/Tabs.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Tabs.js +0 -49
- package/dist/temp/docusaurus/src/components/Tag.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/Tag.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Tag.js +0 -16
- package/dist/temp/docusaurus/src/components/Toggle.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/Toggle.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/Toggle.js +0 -19
- package/dist/temp/docusaurus/src/components/TooltipExample.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/TooltipExample.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/TooltipExample.js +0 -1
- package/dist/temp/docusaurus/src/components/VerticalTab.d.ts +0 -3
- package/dist/temp/docusaurus/src/components/VerticalTab.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/VerticalTab.js +0 -2
- package/dist/temp/docusaurus/src/components/demos/BadgeGroupDemo.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/demos/BadgeGroupDemo.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/demos/BadgeGroupDemo.js +0 -46
- package/dist/temp/docusaurus/src/components/demos/DividerDemo.d.ts +0 -9
- package/dist/temp/docusaurus/src/components/demos/DividerDemo.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/demos/DividerDemo.js +0 -40
- package/dist/temp/docusaurus/src/components/demos/DotDemo.d.ts +0 -5
- package/dist/temp/docusaurus/src/components/demos/DotDemo.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/demos/DotDemo.js +0 -17
- package/dist/temp/docusaurus/src/components/demos/DropdownDemo.d.ts +0 -19
- package/dist/temp/docusaurus/src/components/demos/DropdownDemo.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/demos/DropdownDemo.js +0 -89
- package/dist/temp/docusaurus/src/components/demos/FeaturedIconDemo.d.ts +0 -9
- package/dist/temp/docusaurus/src/components/demos/FeaturedIconDemo.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/demos/FeaturedIconDemo.js +0 -6
- package/dist/temp/docusaurus/src/components/demos/ModalDemo.d.ts +0 -27
- package/dist/temp/docusaurus/src/components/demos/ModalDemo.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/demos/ModalDemo.js +0 -51
- package/dist/temp/docusaurus/src/components/demos/NotificationDemo.d.ts +0 -48
- package/dist/temp/docusaurus/src/components/demos/NotificationDemo.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/demos/NotificationDemo.js +0 -77
- package/dist/temp/docusaurus/src/components/demos/SliderDemo.d.ts +0 -18
- package/dist/temp/docusaurus/src/components/demos/SliderDemo.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/demos/SliderDemo.js +0 -24
- package/dist/temp/docusaurus/src/components/demos/index.d.ts +0 -8
- package/dist/temp/docusaurus/src/components/demos/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/demos/index.js +0 -7
- package/dist/temp/docusaurus/src/components/index.d.ts +0 -2
- package/dist/temp/docusaurus/src/components/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/components/index.js +0 -2
- package/dist/temp/docusaurus/src/pages/index.d.ts +0 -4
- package/dist/temp/docusaurus/src/pages/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/pages/index.js +0 -10
- package/dist/temp/docusaurus/src/step-guide-example/BasicExample.d.ts +0 -3
- package/dist/temp/docusaurus/src/step-guide-example/BasicExample.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/BasicExample.js +0 -47
- package/dist/temp/docusaurus/src/step-guide-example/ClickableDim.d.ts +0 -3
- package/dist/temp/docusaurus/src/step-guide-example/ClickableDim.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/ClickableDim.js +0 -48
- package/dist/temp/docusaurus/src/step-guide-example/CustomStyle.d.ts +0 -3
- package/dist/temp/docusaurus/src/step-guide-example/CustomStyle.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/CustomStyle.js +0 -50
- package/dist/temp/docusaurus/src/step-guide-example/EndCallback.d.ts +0 -3
- package/dist/temp/docusaurus/src/step-guide-example/EndCallback.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/EndCallback.js +0 -62
- package/dist/temp/docusaurus/src/step-guide-example/GoToStep.d.ts +0 -3
- package/dist/temp/docusaurus/src/step-guide-example/GoToStep.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/GoToStep.js +0 -65
- package/dist/temp/docusaurus/src/step-guide-example/NoTargetElement.d.ts +0 -3
- package/dist/temp/docusaurus/src/step-guide-example/NoTargetElement.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/NoTargetElement.js +0 -63
- package/dist/temp/docusaurus/src/step-guide-example/NotUseAnimation.d.ts +0 -3
- package/dist/temp/docusaurus/src/step-guide-example/NotUseAnimation.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/NotUseAnimation.js +0 -48
- package/dist/temp/docusaurus/src/step-guide-example/PositionExample.d.ts +0 -3
- package/dist/temp/docusaurus/src/step-guide-example/PositionExample.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/PositionExample.js +0 -52
- package/dist/temp/docusaurus/src/step-guide-example/SetBtnLabel.d.ts +0 -3
- package/dist/temp/docusaurus/src/step-guide-example/SetBtnLabel.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/SetBtnLabel.js +0 -52
- package/dist/temp/docusaurus/src/step-guide-example/SkipBtn.d.ts +0 -3
- package/dist/temp/docusaurus/src/step-guide-example/SkipBtn.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/SkipBtn.js +0 -54
- package/dist/temp/docusaurus/src/step-guide-example/StepCount.d.ts +0 -3
- package/dist/temp/docusaurus/src/step-guide-example/StepCount.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/StepCount.js +0 -65
- package/dist/temp/docusaurus/src/step-guide-example/UseHtml.d.ts +0 -3
- package/dist/temp/docusaurus/src/step-guide-example/UseHtml.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/UseHtml.js +0 -46
- package/dist/temp/docusaurus/src/step-guide-example/component/ExampleContainer.d.ts +0 -7
- package/dist/temp/docusaurus/src/step-guide-example/component/ExampleContainer.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/component/ExampleContainer.js +0 -21
- package/dist/temp/docusaurus/src/step-guide-example/util/index.d.ts +0 -5
- package/dist/temp/docusaurus/src/step-guide-example/util/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/step-guide-example/util/index.js +0 -16
- package/dist/temp/docusaurus/src/theme/BlogArchivePage/index.d.ts +0 -6
- package/dist/temp/docusaurus/src/theme/BlogArchivePage/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/theme/BlogArchivePage/index.js +0 -46
- package/dist/temp/docusaurus/src/theme/BlogSidebar/index.d.ts +0 -6
- package/dist/temp/docusaurus/src/theme/BlogSidebar/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/theme/BlogSidebar/index.js +0 -30
- package/dist/temp/docusaurus/src/theme/DocBreadcrumbs/Items/Home/index.d.ts +0 -3
- package/dist/temp/docusaurus/src/theme/DocBreadcrumbs/Items/Home/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/theme/DocBreadcrumbs/Items/Home/index.js +0 -25
- package/dist/temp/docusaurus/src/theme/DocBreadcrumbs/StructuredData/index.d.ts +0 -4
- package/dist/temp/docusaurus/src/theme/DocBreadcrumbs/StructuredData/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/theme/DocBreadcrumbs/StructuredData/index.js +0 -20
- package/dist/temp/docusaurus/src/theme/DocBreadcrumbs/index.d.ts +0 -3
- package/dist/temp/docusaurus/src/theme/DocBreadcrumbs/index.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/theme/DocBreadcrumbs/index.js +0 -46
- package/dist/temp/docusaurus/src/utils/html.d.ts +0 -3
- package/dist/temp/docusaurus/src/utils/html.d.ts.map +0 -1
- package/dist/temp/docusaurus/src/utils/html.js +0 -100
- package/dist/temp/index.d.ts.map +0 -1
- package/dist/temp/src/components/badge/Badge.d.ts.map +0 -1
- package/dist/temp/src/components/badge/Badge.js +0 -22
- package/dist/temp/src/components/badge/BadgeGroup.d.ts.map +0 -1
- package/dist/temp/src/components/badge/BadgeGroup.js +0 -31
- package/dist/temp/src/components/badge/index.d.ts.map +0 -1
- package/dist/temp/src/components/badge/index.js +0 -2
- package/dist/temp/src/components/badge/utils.d.ts.map +0 -1
- package/dist/temp/src/components/badge/utils.js +0 -16
- package/dist/temp/src/components/breadcrumb/BreadCrumb.d.ts.map +0 -1
- package/dist/temp/src/components/breadcrumb/BreadCrumb.js +0 -30
- package/dist/temp/src/components/breadcrumb/index.d.ts.map +0 -1
- package/dist/temp/src/components/breadcrumb/index.js +0 -1
- package/dist/temp/src/components/button/Button.d.ts.map +0 -1
- package/dist/temp/src/components/button/Button.js +0 -89
- package/dist/temp/src/components/button/ButtonCloseX.d.ts.map +0 -1
- package/dist/temp/src/components/button/ButtonCloseX.js +0 -24
- package/dist/temp/src/components/button/ButtonGroup.d.ts.map +0 -1
- package/dist/temp/src/components/button/ButtonGroup.js +0 -71
- package/dist/temp/src/components/button/index.d.ts.map +0 -1
- package/dist/temp/src/components/button/index.js +0 -2
- package/dist/temp/src/components/carousel/CarouselArrow.d.ts.map +0 -1
- package/dist/temp/src/components/carousel/CarouselArrow.js +0 -23
- package/dist/temp/src/components/carousel/CarouselNumberGroup.d.ts.map +0 -1
- package/dist/temp/src/components/carousel/CarouselNumberGroup.js +0 -23
- package/dist/temp/src/components/carousel/index.d.ts.map +0 -1
- package/dist/temp/src/components/carousel/index.js +0 -2
- package/dist/temp/src/components/checkbox/Checkbox.d.ts.map +0 -1
- package/dist/temp/src/components/checkbox/Checkbox.js +0 -29
- package/dist/temp/src/components/checkbox/CheckboxInput.d.ts.map +0 -1
- package/dist/temp/src/components/checkbox/CheckboxInput.js +0 -37
- package/dist/temp/src/components/checkbox/index.d.ts.map +0 -1
- package/dist/temp/src/components/checkbox/index.js +0 -2
- package/dist/temp/src/components/date-picker/DatePicker.d.ts.map +0 -1
- package/dist/temp/src/components/date-picker/DatePicker.js +0 -39
- package/dist/temp/src/components/date-picker/RangeDatePicker.d.ts.map +0 -1
- package/dist/temp/src/components/date-picker/RangeDatePicker.js +0 -127
- package/dist/temp/src/components/date-picker/RangeDatePickerWithButtons.d.ts.map +0 -1
- package/dist/temp/src/components/date-picker/RangeDatePickerWithButtons.js +0 -46
- package/dist/temp/src/components/date-picker/index.d.ts.map +0 -1
- package/dist/temp/src/components/date-picker/utils.d.ts.map +0 -1
- package/dist/temp/src/components/date-picker/utils.js +0 -8
- package/dist/temp/src/components/divider/Divider.d.ts.map +0 -1
- package/dist/temp/src/components/divider/Divider.js +0 -24
- package/dist/temp/src/components/divider/index.d.ts.map +0 -1
- package/dist/temp/src/components/divider/index.js +0 -1
- package/dist/temp/src/components/dot/Dot.d.ts.map +0 -1
- package/dist/temp/src/components/dot/Dot.js +0 -30
- package/dist/temp/src/components/dot/index.d.ts.map +0 -1
- package/dist/temp/src/components/dot/index.js +0 -1
- package/dist/temp/src/components/dropdown/Dropdown.d.ts.map +0 -1
- package/dist/temp/src/components/dropdown/Dropdown.js +0 -82
- package/dist/temp/src/components/dropdown/index.d.ts.map +0 -1
- package/dist/temp/src/components/dropdown/index.js +0 -1
- package/dist/temp/src/components/empty-state/EmptyState.d.ts.map +0 -1
- package/dist/temp/src/components/empty-state/EmptyState.js +0 -32
- package/dist/temp/src/components/empty-state/index.d.ts.map +0 -1
- package/dist/temp/src/components/empty-state/index.js +0 -1
- package/dist/temp/src/components/featured-icon/FeaturedIcon.d.ts.map +0 -1
- package/dist/temp/src/components/featured-icon/FeaturedIcon.js +0 -36
- package/dist/temp/src/components/featured-icon/index.d.ts.map +0 -1
- package/dist/temp/src/components/featured-icon/index.js +0 -1
- package/dist/temp/src/components/index.d.ts.map +0 -1
- package/dist/temp/src/components/input/InputBase.d.ts.map +0 -1
- package/dist/temp/src/components/input/InputBase.js +0 -91
- package/dist/temp/src/components/input/PasswordInput.d.ts.map +0 -1
- package/dist/temp/src/components/input/PasswordInput.js +0 -75
- package/dist/temp/src/components/input/Textarea.d.ts.map +0 -1
- package/dist/temp/src/components/input/Textarea.js +0 -60
- package/dist/temp/src/components/input/index.d.ts.map +0 -1
- package/dist/temp/src/components/modal/Modal.d.ts.map +0 -1
- package/dist/temp/src/components/modal/Modal.js +0 -100
- package/dist/temp/src/components/modal/index.d.ts.map +0 -1
- package/dist/temp/src/components/modal/index.js +0 -1
- package/dist/temp/src/components/notification/FloatingNotification.d.ts.map +0 -1
- package/dist/temp/src/components/notification/FloatingNotification.js +0 -50
- package/dist/temp/src/components/notification/FullWidthNotification.d.ts.map +0 -1
- package/dist/temp/src/components/notification/FullWidthNotification.js +0 -47
- package/dist/temp/src/components/notification/Notification.d.ts.map +0 -1
- package/dist/temp/src/components/notification/Notification.js +0 -31
- package/dist/temp/src/components/notification/index.d.ts.map +0 -1
- package/dist/temp/src/components/pagination/NavButton.d.ts.map +0 -1
- package/dist/temp/src/components/pagination/NavButton.js +0 -66
- package/dist/temp/src/components/pagination/Pagination.d.ts.map +0 -1
- package/dist/temp/src/components/pagination/Pagination.js +0 -97
- package/dist/temp/src/components/pagination/index.d.ts.map +0 -1
- package/dist/temp/src/components/pagination/index.js +0 -2
- package/dist/temp/src/components/progress-bar/ProgressBar.d.ts.map +0 -1
- package/dist/temp/src/components/progress-bar/ProgressBar.js +0 -25
- package/dist/temp/src/components/progress-bar/index.d.ts.map +0 -1
- package/dist/temp/src/components/progress-bar/index.js +0 -1
- package/dist/temp/src/components/progress-circle/ProgressCircle.d.ts.map +0 -1
- package/dist/temp/src/components/progress-circle/ProgressCircle.js +0 -22
- package/dist/temp/src/components/progress-circle/index.d.ts.map +0 -1
- package/dist/temp/src/components/progress-circle/index.js +0 -1
- package/dist/temp/src/components/radio/Radio.d.ts.map +0 -1
- package/dist/temp/src/components/radio/Radio.js +0 -29
- package/dist/temp/src/components/radio/RadioInput.d.ts.map +0 -1
- package/dist/temp/src/components/radio/RadioInput.js +0 -29
- package/dist/temp/src/components/radio/index.d.ts.map +0 -1
- package/dist/temp/src/components/radio/index.js +0 -2
- package/dist/temp/src/components/select/Select.d.ts.map +0 -1
- package/dist/temp/src/components/select/Select.js +0 -38
- package/dist/temp/src/components/select/index.d.ts.map +0 -1
- package/dist/temp/src/components/select/index.js +0 -1
- package/dist/temp/src/components/shared/hintText/HintText.d.ts.map +0 -1
- package/dist/temp/src/components/shared/hintText/HintText.js +0 -28
- package/dist/temp/src/components/shared/hintText/index.d.ts.map +0 -1
- package/dist/temp/src/components/shared/hintText/index.js +0 -1
- package/dist/temp/src/components/shared/index.d.ts.map +0 -1
- package/dist/temp/src/components/shared/label/Label.d.ts.map +0 -1
- package/dist/temp/src/components/shared/label/Label.js +0 -28
- package/dist/temp/src/components/shared/label/index.d.ts.map +0 -1
- package/dist/temp/src/components/shared/label/index.js +0 -1
- package/dist/temp/src/components/slider/Slider.d.ts.map +0 -1
- package/dist/temp/src/components/slider/Slider.js +0 -44
- package/dist/temp/src/components/slider/index.d.ts.map +0 -1
- package/dist/temp/src/components/slider/index.js +0 -1
- package/dist/temp/src/components/spinner/Spinner.d.ts.map +0 -1
- package/dist/temp/src/components/spinner/Spinner.js +0 -21
- package/dist/temp/src/components/spinner/index.d.ts.map +0 -1
- package/dist/temp/src/components/tab/HorizontalTab.d.ts.map +0 -1
- package/dist/temp/src/components/tab/HorizontalTab.js +0 -44
- package/dist/temp/src/components/tab/TabButton.d.ts.map +0 -1
- package/dist/temp/src/components/tab/TabButton.js +0 -38
- package/dist/temp/src/components/tab/VerticalTab.d.ts.map +0 -1
- package/dist/temp/src/components/tab/VerticalTab.js +0 -39
- package/dist/temp/src/components/tab/index.d.ts.map +0 -1
- package/dist/temp/src/components/tag/Tag.d.ts.map +0 -1
- package/dist/temp/src/components/tag/Tag.js +0 -34
- package/dist/temp/src/components/tag/index.d.ts.map +0 -1
- package/dist/temp/src/components/tag/index.js +0 -1
- package/dist/temp/src/components/toggle/Toggle.d.ts.map +0 -1
- package/dist/temp/src/components/toggle/Toggle.js +0 -30
- package/dist/temp/src/components/toggle/index.d.ts.map +0 -1
- package/dist/temp/src/components/toggle/index.js +0 -1
- package/dist/temp/src/components/tooltip/Tooltip.d.ts.map +0 -1
- package/dist/temp/src/components/tooltip/Tooltip.js +0 -23
- package/dist/temp/src/components/tooltip/index.d.ts.map +0 -1
- package/dist/temp/src/components/tooltip/index.js +0 -1
- package/dist/temp/src/constant/breakpoint.d.ts.map +0 -1
- package/dist/temp/src/constant/breakpoint.js +0 -6
- package/dist/temp/src/constant/date-picker.d.ts.map +0 -1
- package/dist/temp/src/constant/date-picker.js +0 -53
- package/dist/temp/src/constant/index.d.ts.map +0 -1
- package/dist/temp/src/constant/index.js +0 -2
- package/dist/temp/src/constant/size.d.ts.map +0 -1
- package/dist/temp/src/constant/size.js +0 -1
- package/dist/temp/src/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/temp/src/hooks/useMediaQuery.js +0 -20
- package/dist/temp/src/utils/date-picker.d.ts.map +0 -1
- package/dist/temp/src/utils/date-picker.js +0 -12
- package/dist/temp/tsconfig.tsbuildinfo +0 -1
- /package/dist/{temp → types}/assets/scripts/datePicker.d.ts +0 -0
- /package/dist/{temp → types}/assets/scripts/index.d.ts +0 -0
- /package/dist/{temp → types}/assets/scripts/slider.d.ts +0 -0
- /package/dist/{temp → types}/assets/scripts/tab.d.ts +0 -0
- /package/dist/{temp → types}/constant/color.d.ts +0 -0
- /package/dist/{temp → types}/constant/size.d.ts +0 -0
- /package/dist/{temp → types}/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/badge/Badge.d.ts +0 -0
- /package/dist/{temp → types}/src/components/badge/BadgeGroup.d.ts +0 -0
- /package/dist/{temp → types}/src/components/badge/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/badge/utils.d.ts +0 -0
- /package/dist/{temp → types}/src/components/breadcrumb/BreadCrumb.d.ts +0 -0
- /package/dist/{temp → types}/src/components/breadcrumb/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/button/Button.d.ts +0 -0
- /package/dist/{temp → types}/src/components/button/ButtonCloseX.d.ts +0 -0
- /package/dist/{temp → types}/src/components/button/ButtonGroup.d.ts +0 -0
- /package/dist/{temp → types}/src/components/button/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/carousel/CarouselArrow.d.ts +0 -0
- /package/dist/{temp → types}/src/components/carousel/CarouselNumberGroup.d.ts +0 -0
- /package/dist/{temp → types}/src/components/carousel/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/checkbox/Checkbox.d.ts +0 -0
- /package/dist/{temp → types}/src/components/checkbox/CheckboxInput.d.ts +0 -0
- /package/dist/{temp → types}/src/components/checkbox/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/date-picker/RangeDatePickerWithButtons.d.ts +0 -0
- /package/dist/{temp → types}/src/components/date-picker/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/date-picker/utils.d.ts +0 -0
- /package/dist/{temp → types}/src/components/divider/Divider.d.ts +0 -0
- /package/dist/{temp → types}/src/components/divider/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/dot/Dot.d.ts +0 -0
- /package/dist/{temp → types}/src/components/dot/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/dropdown/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/empty-state/EmptyState.d.ts +0 -0
- /package/dist/{temp → types}/src/components/empty-state/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/featured-icon/FeaturedIcon.d.ts +0 -0
- /package/dist/{temp → types}/src/components/featured-icon/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/input/InputBase.d.ts +0 -0
- /package/dist/{temp → types}/src/components/input/Textarea.d.ts +0 -0
- /package/dist/{temp → types}/src/components/input/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/modal/Modal.d.ts +0 -0
- /package/dist/{temp → types}/src/components/modal/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/notification/FloatingNotification.d.ts +0 -0
- /package/dist/{temp → types}/src/components/notification/FullWidthNotification.d.ts +0 -0
- /package/dist/{temp → types}/src/components/notification/Notification.d.ts +0 -0
- /package/dist/{temp → types}/src/components/notification/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/pagination/NavButton.d.ts +0 -0
- /package/dist/{temp → types}/src/components/pagination/Pagination.d.ts +0 -0
- /package/dist/{temp → types}/src/components/pagination/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/progress-bar/ProgressBar.d.ts +0 -0
- /package/dist/{temp → types}/src/components/progress-bar/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/progress-circle/ProgressCircle.d.ts +0 -0
- /package/dist/{temp → types}/src/components/progress-circle/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/radio/Radio.d.ts +0 -0
- /package/dist/{temp → types}/src/components/radio/RadioInput.d.ts +0 -0
- /package/dist/{temp → types}/src/components/radio/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/select/Select.d.ts +0 -0
- /package/dist/{temp → types}/src/components/select/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/shared/hintText/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/shared/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/shared/label/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/slider/Slider.d.ts +0 -0
- /package/dist/{temp → types}/src/components/slider/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/spinner/Spinner.d.ts +0 -0
- /package/dist/{temp → types}/src/components/spinner/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/tab/HorizontalTab.d.ts +0 -0
- /package/dist/{temp → types}/src/components/tab/TabButton.d.ts +0 -0
- /package/dist/{temp → types}/src/components/tab/VerticalTab.d.ts +0 -0
- /package/dist/{temp → types}/src/components/tab/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/tag/Tag.d.ts +0 -0
- /package/dist/{temp → types}/src/components/tag/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/toggle/Toggle.d.ts +0 -0
- /package/dist/{temp → types}/src/components/toggle/index.d.ts +0 -0
- /package/dist/{temp → types}/src/components/tooltip/Tooltip.d.ts +0 -0
- /package/dist/{temp → types}/src/components/tooltip/index.d.ts +0 -0
- /package/dist/{temp → types}/src/constant/breakpoint.d.ts +0 -0
- /package/dist/{temp → types}/src/constant/date-picker.d.ts +0 -0
- /package/dist/{temp → types}/src/constant/index.d.ts +0 -0
- /package/dist/{temp → types}/src/constant/size.d.ts +0 -0
- /package/dist/{temp → types}/src/hooks/useMediaQuery.d.ts +0 -0
- /package/dist/{temp → types}/src/utils/date-picker.d.ts +0 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
12
|
+
var t = {};
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
14
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
15
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
16
|
+
}
|
|
17
|
+
return t;
|
|
18
|
+
};
|
|
19
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
+
import classNames from 'classnames';
|
|
21
|
+
import { forwardRef } from 'react';
|
|
22
|
+
/**
|
|
23
|
+
* 현재 destructive 속성은 현재 디자인 시스템에 존재하지 않으니 사용하지 않는 것을 권장합니다.
|
|
24
|
+
*/
|
|
25
|
+
export var CheckboxInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
26
|
+
var _b = _a.size,
|
|
27
|
+
size = _b === void 0 ? 'sm' : _b,
|
|
28
|
+
_c = _a.indeterminate,
|
|
29
|
+
indeterminate = _c === void 0 ? false : _c,
|
|
30
|
+
disabled = _a.disabled,
|
|
31
|
+
className = _a.className,
|
|
32
|
+
_d = _a.destructive,
|
|
33
|
+
destructive = _d === void 0 ? false : _d,
|
|
34
|
+
onChange = _a.onChange,
|
|
35
|
+
props = __rest(_a, ["size", "indeterminate", "disabled", "className", "destructive", "onChange"]);
|
|
36
|
+
/**
|
|
37
|
+
* 체크박스 체크시 나오는 아이콘은 아이콘 컴포넌트와 굵기가 달라 별도로 정의하였습니다.
|
|
38
|
+
*/
|
|
39
|
+
var checkIcon = _jsx(_Fragment, {
|
|
40
|
+
children: _jsx("svg", __assign({
|
|
41
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
42
|
+
width: "12",
|
|
43
|
+
height: "12",
|
|
44
|
+
viewBox: "0 0 12 12",
|
|
45
|
+
fill: "none"
|
|
46
|
+
}, {
|
|
47
|
+
children: _jsx("path", {
|
|
48
|
+
d: "M10 3L4.5 8.5L2 6",
|
|
49
|
+
stroke: disabled ? '#D3D4D8' : '#171818',
|
|
50
|
+
"stroke-width": "1.6666",
|
|
51
|
+
"stroke-linecap": "round",
|
|
52
|
+
"stroke-linejoin": "round"
|
|
53
|
+
})
|
|
54
|
+
}))
|
|
55
|
+
});
|
|
56
|
+
var indeterminateIcon = _jsx(_Fragment, {
|
|
57
|
+
children: _jsx("svg", __assign({
|
|
58
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
59
|
+
width: "12",
|
|
60
|
+
height: "12",
|
|
61
|
+
viewBox: "0 0 12 12",
|
|
62
|
+
fill: "none"
|
|
63
|
+
}, {
|
|
64
|
+
children: _jsx("path", {
|
|
65
|
+
d: "M2.5 6H9.5",
|
|
66
|
+
stroke: disabled ? '#D3D4D8' : '#2F2F30',
|
|
67
|
+
"stroke-width": "1.66666",
|
|
68
|
+
"stroke-linecap": "round",
|
|
69
|
+
"stroke-linejoin": "round"
|
|
70
|
+
})
|
|
71
|
+
}))
|
|
72
|
+
});
|
|
73
|
+
return _jsxs("span", __assign({
|
|
74
|
+
className: classNames('ncua-checkbox-input', "ncua-checkbox-input--".concat(size), {
|
|
75
|
+
destructive: destructive
|
|
76
|
+
}, className)
|
|
77
|
+
}, {
|
|
78
|
+
children: [_jsx("input", __assign({
|
|
79
|
+
type: "checkbox",
|
|
80
|
+
ref: ref,
|
|
81
|
+
onChange: onChange,
|
|
82
|
+
disabled: disabled
|
|
83
|
+
}, props)), _jsx("span", __assign({
|
|
84
|
+
className: "ncua-checkbox-input__ico"
|
|
85
|
+
}, {
|
|
86
|
+
children: !indeterminate ? checkIcon : indeterminateIcon
|
|
87
|
+
}))]
|
|
88
|
+
}));
|
|
89
|
+
});
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
12
|
+
var t = {};
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
14
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
15
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
16
|
+
}
|
|
17
|
+
return t;
|
|
18
|
+
};
|
|
19
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
+
import classNames from 'classnames';
|
|
21
|
+
import 'flatpickr/dist/flatpickr.css';
|
|
22
|
+
import { Korean } from 'flatpickr/dist/l10n/ko';
|
|
23
|
+
import { forwardRef } from 'react';
|
|
24
|
+
import Flatpickr from 'react-flatpickr';
|
|
25
|
+
import { COLOR } from '../../../constant/color';
|
|
26
|
+
export var DatePicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
27
|
+
var _b = _a.shouldFocus,
|
|
28
|
+
shouldFocus = _b === void 0 ? true : _b,
|
|
29
|
+
currentDate = _a.currentDate,
|
|
30
|
+
_c = _a.size,
|
|
31
|
+
size = _c === void 0 ? 'sm' : _c,
|
|
32
|
+
onChangeDate = _a.onChangeDate,
|
|
33
|
+
datePickerOptions = _a.datePickerOptions,
|
|
34
|
+
attrs = __rest(_a, ["shouldFocus", "currentDate", "size", "onChangeDate", "datePickerOptions"]);
|
|
35
|
+
var onChangeDateHandler = function (dateTimeStamp, dateStr) {
|
|
36
|
+
return onChangeDate(dateStr);
|
|
37
|
+
};
|
|
38
|
+
var options = __assign({
|
|
39
|
+
mode: 'single',
|
|
40
|
+
static: true,
|
|
41
|
+
locale: Korean,
|
|
42
|
+
dateFormat: 'Y-m-d',
|
|
43
|
+
clickOpens: true,
|
|
44
|
+
onChange: onChangeDateHandler,
|
|
45
|
+
allowInvalidPreload: true
|
|
46
|
+
}, datePickerOptions);
|
|
47
|
+
var svgSize = size === 'sm' ? 14 : 16;
|
|
48
|
+
return _jsxs("div", __assign({
|
|
49
|
+
className: classNames('ncua-date-picker', "ncua-date-picker--".concat(size), {
|
|
50
|
+
'ncua-date-picker--disabled': attrs.disabled
|
|
51
|
+
})
|
|
52
|
+
}, {
|
|
53
|
+
children: [_jsx(Flatpickr, __assign({}, attrs, {
|
|
54
|
+
ref: ref || undefined,
|
|
55
|
+
className: classNames('ncua-date-picker__input'),
|
|
56
|
+
options: options,
|
|
57
|
+
value: currentDate
|
|
58
|
+
})), _jsx("span", __assign({
|
|
59
|
+
className: "ncua-date-picker__ico"
|
|
60
|
+
}, {
|
|
61
|
+
children: _jsx("svg", __assign({
|
|
62
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
63
|
+
width: svgSize,
|
|
64
|
+
height: svgSize,
|
|
65
|
+
viewBox: "0 0 16 16",
|
|
66
|
+
fill: "none"
|
|
67
|
+
}, {
|
|
68
|
+
children: _jsx("path", {
|
|
69
|
+
d: "M14 6.66671H2M10.6667 1.33337V4.00004M5.33333 1.33337V4.00004M5.2 14.6667H10.8C11.9201 14.6667 12.4802 14.6667 12.908 14.4487C13.2843 14.257 13.5903 13.951 13.782 13.5747C14 13.1469 14 12.5868 14 11.4667V5.86671C14 4.7466 14 4.18655 13.782 3.75873C13.5903 3.3824 13.2843 3.07644 12.908 2.88469C12.4802 2.66671 11.9201 2.66671 10.8 2.66671H5.2C4.0799 2.66671 3.51984 2.66671 3.09202 2.88469C2.71569 3.07644 2.40973 3.3824 2.21799 3.75873C2 4.18655 2 4.7466 2 5.86671V11.4667C2 12.5868 2 13.1469 2.21799 13.5747C2.40973 13.951 2.71569 14.257 3.09202 14.4487C3.51984 14.6667 4.0799 14.6667 5.2 14.6667Z",
|
|
70
|
+
stroke: attrs.disabled ? COLOR.gray300 : 'black',
|
|
71
|
+
strokeWidth: "1.33333",
|
|
72
|
+
strokeLinecap: "round",
|
|
73
|
+
strokeLinejoin: "round"
|
|
74
|
+
})
|
|
75
|
+
}))
|
|
76
|
+
}))]
|
|
77
|
+
}));
|
|
78
|
+
});
|
|
79
|
+
DatePicker.displayName = 'DatePicker';
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
import { useCallback, useEffect, forwardRef } from 'react';
|
|
13
|
+
import { isNil } from 'lodash';
|
|
14
|
+
import moment from 'moment';
|
|
15
|
+
import { DatePicker } from './DatePicker';
|
|
16
|
+
import { getDateFormat } from './utils';
|
|
17
|
+
export var RangeDatePicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
18
|
+
var startDateOptions = _a.startDateOptions,
|
|
19
|
+
endDateOptions = _a.endDateOptions,
|
|
20
|
+
validationOption = _a.validationOption,
|
|
21
|
+
onDateValidation = _a.onDateValidation;
|
|
22
|
+
var resetDateAndAlert = useCallback(function (type) {
|
|
23
|
+
var _a, _b;
|
|
24
|
+
var newDate = type === 'start' ? ((_a = validationOption === null || validationOption === void 0 ? void 0 : validationOption.initDate) === null || _a === void 0 ? void 0 : _a.startDate) || '' : ((_b = validationOption === null || validationOption === void 0 ? void 0 : validationOption.initDate) === null || _b === void 0 ? void 0 : _b.endDate) || '';
|
|
25
|
+
if (type === 'start') {
|
|
26
|
+
startDateOptions.onChangeDate(newDate);
|
|
27
|
+
} else {
|
|
28
|
+
endDateOptions.onChangeDate(newDate);
|
|
29
|
+
}
|
|
30
|
+
onDateValidation === null || onDateValidation === void 0 ? void 0 : onDateValidation({
|
|
31
|
+
type: type,
|
|
32
|
+
errorType: 'reset',
|
|
33
|
+
newDate: newDate,
|
|
34
|
+
currentDate: type === 'start' ? startDateOptions.currentDate : endDateOptions.currentDate
|
|
35
|
+
});
|
|
36
|
+
}, [startDateOptions, endDateOptions, validationOption, onDateValidation]);
|
|
37
|
+
var changeSettingDateAndAlert = useCallback(function (type, isOverPeriod) {
|
|
38
|
+
if (isOverPeriod === void 0) {
|
|
39
|
+
isOverPeriod = false;
|
|
40
|
+
}
|
|
41
|
+
if (!(validationOption === null || validationOption === void 0 ? void 0 : validationOption.setting)) {
|
|
42
|
+
var newDate_1 = type === 'start' ? startDateOptions.currentDate : endDateOptions.currentDate;
|
|
43
|
+
var currentDate = type === 'start' ? endDateOptions.currentDate : startDateOptions.currentDate;
|
|
44
|
+
onDateValidation === null || onDateValidation === void 0 ? void 0 : onDateValidation({
|
|
45
|
+
type: type,
|
|
46
|
+
errorType: 'overlap',
|
|
47
|
+
newDate: newDate_1,
|
|
48
|
+
currentDate: currentDate
|
|
49
|
+
});
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
var _a = validationOption.setting,
|
|
53
|
+
unit = _a.unit,
|
|
54
|
+
period = _a.period;
|
|
55
|
+
var newDate = '';
|
|
56
|
+
if (type === 'start') {
|
|
57
|
+
newDate = getDateFormat(moment(endDateOptions.currentDate).subtract(period, unit).toDate());
|
|
58
|
+
} else {
|
|
59
|
+
newDate = getDateFormat(moment(startDateOptions.currentDate).add(period, unit).toDate());
|
|
60
|
+
}
|
|
61
|
+
onDateValidation === null || onDateValidation === void 0 ? void 0 : onDateValidation({
|
|
62
|
+
type: type,
|
|
63
|
+
errorType: isOverPeriod ? 'period' : 'overlap',
|
|
64
|
+
newDate: newDate,
|
|
65
|
+
currentDate: type === 'start' ? startDateOptions.currentDate : endDateOptions.currentDate
|
|
66
|
+
});
|
|
67
|
+
}, [startDateOptions, endDateOptions, validationOption, onDateValidation]);
|
|
68
|
+
var validateDateType = function (date) {
|
|
69
|
+
return moment(date).isValid();
|
|
70
|
+
};
|
|
71
|
+
useEffect(function () {
|
|
72
|
+
var _a;
|
|
73
|
+
var needResetDate = validateDateType(startDateOptions.currentDate) && !isNil((_a = validationOption === null || validationOption === void 0 ? void 0 : validationOption.initDate) === null || _a === void 0 ? void 0 : _a.startDate) && moment(startDateOptions.currentDate).isAfter(endDateOptions.currentDate);
|
|
74
|
+
if (needResetDate) {
|
|
75
|
+
resetDateAndAlert('start');
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
var isOverDate = moment(startDateOptions.currentDate).isAfter(endDateOptions.currentDate);
|
|
79
|
+
if (isOverDate) {
|
|
80
|
+
changeSettingDateAndAlert('start');
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
if (!(validationOption === null || validationOption === void 0 ? void 0 : validationOption.setting)) {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
var _b = validationOption.setting,
|
|
87
|
+
unit = _b.unit,
|
|
88
|
+
period = _b.period;
|
|
89
|
+
var isValidPeriod = moment(startDateOptions.currentDate).isSameOrAfter(moment(endDateOptions.currentDate).subtract(period, unit));
|
|
90
|
+
if (!isValidPeriod) {
|
|
91
|
+
changeSettingDateAndAlert('start', true);
|
|
92
|
+
}
|
|
93
|
+
}, [startDateOptions.currentDate]);
|
|
94
|
+
useEffect(function () {
|
|
95
|
+
var _a;
|
|
96
|
+
var needResetDate = validateDateType(endDateOptions.currentDate) && !isNil((_a = validationOption === null || validationOption === void 0 ? void 0 : validationOption.initDate) === null || _a === void 0 ? void 0 : _a.endDate) && moment(endDateOptions.currentDate).isBefore(startDateOptions.currentDate);
|
|
97
|
+
if (needResetDate) {
|
|
98
|
+
resetDateAndAlert('end');
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
var isNotTodayEndDate = !moment(endDateOptions.currentDate).isSame(moment(), 'day');
|
|
102
|
+
if (!(validationOption === null || validationOption === void 0 ? void 0 : validationOption.setting) || !isNotTodayEndDate) {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
var isOverDate = moment(endDateOptions.currentDate).isBefore(startDateOptions.currentDate);
|
|
106
|
+
if (isOverDate) {
|
|
107
|
+
changeSettingDateAndAlert('end');
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
var _b = validationOption.setting,
|
|
111
|
+
unit = _b.unit,
|
|
112
|
+
period = _b.period;
|
|
113
|
+
var isValidPeriod = moment(endDateOptions.currentDate).isSameOrBefore(moment(startDateOptions.currentDate).add(period, unit));
|
|
114
|
+
if (!isValidPeriod) {
|
|
115
|
+
changeSettingDateAndAlert('end', true);
|
|
116
|
+
}
|
|
117
|
+
}, [endDateOptions.currentDate]);
|
|
118
|
+
return _jsxs("div", __assign({
|
|
119
|
+
className: "ncua-range-date-picker",
|
|
120
|
+
ref: ref || undefined
|
|
121
|
+
}, {
|
|
122
|
+
children: [_jsx(DatePicker, __assign({}, startDateOptions, {
|
|
123
|
+
ref: undefined
|
|
124
|
+
})), "-", _jsx(DatePicker, __assign({}, endDateOptions, {
|
|
125
|
+
ref: undefined
|
|
126
|
+
}))]
|
|
127
|
+
}));
|
|
128
|
+
});
|
|
129
|
+
RangeDatePicker.displayName = 'RangeDatePicker';
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
import { useEffect } from 'react';
|
|
13
|
+
import { RangeDatePicker } from './RangeDatePicker';
|
|
14
|
+
import { ButtonGroup } from '../button';
|
|
15
|
+
import { getDateFormat, getSubtractDate } from '../../utils/date-picker';
|
|
16
|
+
import { PERIOD_ITEM } from '../../constant/date-picker';
|
|
17
|
+
export var RangeDatePickerWithButtons = function (_a) {
|
|
18
|
+
var _b = _a.buttonGroupSize,
|
|
19
|
+
buttonGroupSize = _b === void 0 ? 'sm' : _b,
|
|
20
|
+
currentButtonId = _a.currentButtonId,
|
|
21
|
+
setCurrentButtonId = _a.setCurrentButtonId,
|
|
22
|
+
startDateOptions = _a.startDateOptions,
|
|
23
|
+
endDateOptions = _a.endDateOptions,
|
|
24
|
+
validationOption = _a.validationOption,
|
|
25
|
+
periodKeys = _a.periodKeys,
|
|
26
|
+
onDateValidation = _a.onDateValidation;
|
|
27
|
+
var setCalculatedDate = function () {
|
|
28
|
+
var currentPeriodItem = PERIOD_ITEM[currentButtonId];
|
|
29
|
+
if (!currentPeriodItem) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
if (currentButtonId === 'ENTIRE') {
|
|
33
|
+
startDateOptions.onChangeDate('');
|
|
34
|
+
endDateOptions.onChangeDate('');
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
var startDate = getDateFormat(getSubtractDate({
|
|
38
|
+
period: currentPeriodItem.period,
|
|
39
|
+
unit: currentPeriodItem.unit
|
|
40
|
+
}));
|
|
41
|
+
startDateOptions.onChangeDate(startDate);
|
|
42
|
+
if (endDateOptions.currentDate !== getDateFormat()) {
|
|
43
|
+
endDateOptions.onChangeDate(getDateFormat());
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
var handleOnChangeDate = function (date, type) {
|
|
47
|
+
type === 'START' ? startDateOptions.onChangeDate(date) : endDateOptions.onChangeDate(date);
|
|
48
|
+
currentButtonId && setCurrentButtonId('NONE');
|
|
49
|
+
};
|
|
50
|
+
useEffect(function () {
|
|
51
|
+
if (currentButtonId !== 'NONE') {
|
|
52
|
+
setCalculatedDate();
|
|
53
|
+
}
|
|
54
|
+
}, [currentButtonId]);
|
|
55
|
+
return _jsxs("div", __assign({
|
|
56
|
+
className: "ncua-range-date-picker-with-buttons"
|
|
57
|
+
}, {
|
|
58
|
+
children: [_jsx(ButtonGroup, __assign({
|
|
59
|
+
size: buttonGroupSize
|
|
60
|
+
}, {
|
|
61
|
+
children: periodKeys.map(function (key) {
|
|
62
|
+
return _jsx(ButtonGroup.Item, {
|
|
63
|
+
isCurrent: currentButtonId === key,
|
|
64
|
+
label: PERIOD_ITEM[key].text,
|
|
65
|
+
onClick: function () {
|
|
66
|
+
return setCurrentButtonId(key);
|
|
67
|
+
}
|
|
68
|
+
}, key);
|
|
69
|
+
})
|
|
70
|
+
})), _jsx(RangeDatePicker, {
|
|
71
|
+
startDateOptions: __assign(__assign({}, startDateOptions), {
|
|
72
|
+
onChangeDate: function (date) {
|
|
73
|
+
return handleOnChangeDate(date, 'START');
|
|
74
|
+
}
|
|
75
|
+
}),
|
|
76
|
+
endDateOptions: __assign(__assign({}, endDateOptions), {
|
|
77
|
+
onChangeDate: function (date) {
|
|
78
|
+
return handleOnChangeDate(date, 'END');
|
|
79
|
+
}
|
|
80
|
+
}),
|
|
81
|
+
validationOption: validationOption,
|
|
82
|
+
onDateValidation: onDateValidation
|
|
83
|
+
})]
|
|
84
|
+
}));
|
|
85
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
import { forwardRef } from 'react';
|
|
13
|
+
import classNames from 'classnames';
|
|
14
|
+
/**
|
|
15
|
+
* @param {DividerProps} props
|
|
16
|
+
* @param {ReactNode} props.children Button 컴포넌트는 xs로 ButtonGroup은 sm 사이즈로 추가하는 것이 권장됩니다.
|
|
17
|
+
* @returns {ReactNode}
|
|
18
|
+
*/
|
|
19
|
+
export var Divider = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
20
|
+
var className = _a.className,
|
|
21
|
+
type = _a.type,
|
|
22
|
+
_b = _a.style,
|
|
23
|
+
style = _b === void 0 ? 'single-line' : _b,
|
|
24
|
+
children = _a.children;
|
|
25
|
+
return _jsxs("div", __assign({
|
|
26
|
+
className: classNames('ncua-divider', "ncua-divider--".concat(type), "ncua-divider--".concat(style), className),
|
|
27
|
+
ref: ref
|
|
28
|
+
}, {
|
|
29
|
+
children: [style === 'single-line' && _jsx("div", {
|
|
30
|
+
className: "ncua-divider__line"
|
|
31
|
+
}), _jsx("div", __assign({
|
|
32
|
+
className: "ncua-divider__content"
|
|
33
|
+
}, {
|
|
34
|
+
children: children
|
|
35
|
+
})), style === 'single-line' && _jsx("div", {
|
|
36
|
+
className: "ncua-divider__line"
|
|
37
|
+
})]
|
|
38
|
+
}));
|
|
39
|
+
});
|
|
40
|
+
Divider.displayName = 'Divider';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Divider';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
12
|
+
var t = {};
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
14
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
15
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
16
|
+
}
|
|
17
|
+
return t;
|
|
18
|
+
};
|
|
19
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
|
+
import { forwardRef } from 'react';
|
|
21
|
+
import classNames from 'classnames';
|
|
22
|
+
export var Dot = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
23
|
+
var _b = _a.color,
|
|
24
|
+
color = _b === void 0 ? 'success' : _b,
|
|
25
|
+
_c = _a.size,
|
|
26
|
+
size = _c === void 0 ? 'md' : _c,
|
|
27
|
+
className = _a.className,
|
|
28
|
+
props = __rest(_a, ["color", "size", "className"]);
|
|
29
|
+
return _jsx("span", __assign({
|
|
30
|
+
ref: ref,
|
|
31
|
+
className: classNames('ncua-dot', "ncua-dot--".concat(color), "ncua-dot--".concat(size), className)
|
|
32
|
+
}, props));
|
|
33
|
+
});
|
|
34
|
+
Dot.displayName = 'Dot';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Dot';
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
import Icon from '@ncds/ui-admin-icon';
|
|
13
|
+
import { useEffect, useRef, useState } from 'react';
|
|
14
|
+
export var Dropdown = function (_a) {
|
|
15
|
+
var trigger = _a.trigger,
|
|
16
|
+
_b = _a.align,
|
|
17
|
+
align = _b === void 0 ? 'left' : _b,
|
|
18
|
+
header = _a.header,
|
|
19
|
+
groups = _a.groups,
|
|
20
|
+
className = _a.className,
|
|
21
|
+
_c = _a.opened,
|
|
22
|
+
opened = _c === void 0 ? false : _c,
|
|
23
|
+
_d = _a.closeOnClickItem,
|
|
24
|
+
closeOnClickItem = _d === void 0 ? true : _d,
|
|
25
|
+
_e = _a.closeOnClickOutside,
|
|
26
|
+
closeOnClickOutside = _e === void 0 ? true : _e;
|
|
27
|
+
var _f = useState(opened),
|
|
28
|
+
isOpen = _f[0],
|
|
29
|
+
setIsOpen = _f[1];
|
|
30
|
+
var dropdownRef = useRef(null);
|
|
31
|
+
var toggleDropdown = function () {
|
|
32
|
+
setIsOpen(!isOpen);
|
|
33
|
+
};
|
|
34
|
+
var handleClickOutside = function (event) {
|
|
35
|
+
if (dropdownRef.current && !dropdownRef.current.contains(event.target)) {
|
|
36
|
+
setIsOpen(false);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
var handleClickItem = function (item) {
|
|
40
|
+
if (!item.disabled && item.onClick) {
|
|
41
|
+
item.onClick();
|
|
42
|
+
if (closeOnClickItem) {
|
|
43
|
+
setIsOpen(false);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
useEffect(function () {
|
|
48
|
+
if (closeOnClickOutside) {
|
|
49
|
+
document.addEventListener('mousedown', handleClickOutside);
|
|
50
|
+
return function () {
|
|
51
|
+
document.removeEventListener('mousedown', handleClickOutside);
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}, [closeOnClickOutside]);
|
|
55
|
+
var renderTrigger = function () {
|
|
56
|
+
switch (trigger.type) {
|
|
57
|
+
case 'custom':
|
|
58
|
+
return _jsx("button", __assign({
|
|
59
|
+
className: "ncua-dropdown__trigger",
|
|
60
|
+
onClick: toggleDropdown
|
|
61
|
+
}, {
|
|
62
|
+
children: trigger.children
|
|
63
|
+
}));
|
|
64
|
+
case 'icon':
|
|
65
|
+
return _jsx("button", __assign({
|
|
66
|
+
className: "ncua-dropdown__trigger ncua-dropdown__trigger--icon",
|
|
67
|
+
onClick: toggleDropdown
|
|
68
|
+
}, {
|
|
69
|
+
children: trigger.icon ? _jsx(Icon, {
|
|
70
|
+
name: trigger.icon
|
|
71
|
+
}) : _jsx(Icon, {
|
|
72
|
+
name: "dots-vertical"
|
|
73
|
+
})
|
|
74
|
+
}));
|
|
75
|
+
case 'avatar':
|
|
76
|
+
return _jsx("button", __assign({
|
|
77
|
+
className: "ncua-dropdown__trigger ncua-dropdown__trigger--avatar",
|
|
78
|
+
onClick: toggleDropdown
|
|
79
|
+
}, {
|
|
80
|
+
children: _jsx("div", __assign({
|
|
81
|
+
className: "ncua-dropdown__avatar"
|
|
82
|
+
}, {
|
|
83
|
+
children: _jsx("img", {
|
|
84
|
+
src: trigger.avatar,
|
|
85
|
+
alt: "avatar"
|
|
86
|
+
})
|
|
87
|
+
}))
|
|
88
|
+
}));
|
|
89
|
+
case 'button':
|
|
90
|
+
return _jsx("button", __assign({
|
|
91
|
+
className: "ncua-dropdown__trigger ncua-dropdown__trigger--button",
|
|
92
|
+
onClick: toggleDropdown
|
|
93
|
+
}, {
|
|
94
|
+
children: trigger.text
|
|
95
|
+
}));
|
|
96
|
+
default:
|
|
97
|
+
return null;
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
var renderHeader = function () {
|
|
101
|
+
if (!header) return null;
|
|
102
|
+
if (header.type === 'avatar' && header.avatar) {
|
|
103
|
+
return _jsx("div", __assign({
|
|
104
|
+
className: "ncua-dropdown__header"
|
|
105
|
+
}, {
|
|
106
|
+
children: _jsxs("div", __assign({
|
|
107
|
+
className: "ncua-dropdown__header-avatar-group"
|
|
108
|
+
}, {
|
|
109
|
+
children: [_jsx("div", __assign({
|
|
110
|
+
className: "ncua-dropdown__avatar"
|
|
111
|
+
}, {
|
|
112
|
+
children: _jsx("img", {
|
|
113
|
+
src: header.avatar,
|
|
114
|
+
alt: "avatar"
|
|
115
|
+
})
|
|
116
|
+
})), _jsxs("div", __assign({
|
|
117
|
+
className: "ncua-dropdown__header-text"
|
|
118
|
+
}, {
|
|
119
|
+
children: [header.title && _jsx("div", __assign({
|
|
120
|
+
className: "ncua-dropdown__header-title"
|
|
121
|
+
}, {
|
|
122
|
+
children: header.title
|
|
123
|
+
})), header.subtitle && _jsx("div", __assign({
|
|
124
|
+
className: "ncua-dropdown__header-subtitle"
|
|
125
|
+
}, {
|
|
126
|
+
children: header.subtitle
|
|
127
|
+
}))]
|
|
128
|
+
}))]
|
|
129
|
+
}))
|
|
130
|
+
}));
|
|
131
|
+
}
|
|
132
|
+
if (header.type === 'text' && header.title) {
|
|
133
|
+
return _jsx("div", __assign({
|
|
134
|
+
className: "ncua-dropdown__header"
|
|
135
|
+
}, {
|
|
136
|
+
children: _jsx("div", __assign({
|
|
137
|
+
className: "ncua-dropdown__header-title"
|
|
138
|
+
}, {
|
|
139
|
+
children: header.title
|
|
140
|
+
}))
|
|
141
|
+
}));
|
|
142
|
+
}
|
|
143
|
+
return null;
|
|
144
|
+
};
|
|
145
|
+
var renderItem = function (item) {
|
|
146
|
+
var itemClasses = ['ncua-dropdown__item', item.disabled ? 'is-disabled' : '', item.type === 'danger' ? 'is-danger' : ''].filter(Boolean).join(' ');
|
|
147
|
+
return _jsxs("div", __assign({
|
|
148
|
+
className: itemClasses
|
|
149
|
+
}, {
|
|
150
|
+
children: [_jsx("button", {
|
|
151
|
+
className: "ncua-dropdown__item-clickable-layer",
|
|
152
|
+
onClick: function () {
|
|
153
|
+
return handleClickItem(item);
|
|
154
|
+
}
|
|
155
|
+
}), _jsxs("div", __assign({
|
|
156
|
+
className: "ncua-dropdown__item-content"
|
|
157
|
+
}, {
|
|
158
|
+
children: [_jsxs("div", __assign({
|
|
159
|
+
className: "ncua-dropdown__item-text-group"
|
|
160
|
+
}, {
|
|
161
|
+
children: [item.icon && _jsx(Icon, {
|
|
162
|
+
name: item.icon,
|
|
163
|
+
className: "ncua-dropdown__item-icon"
|
|
164
|
+
}), _jsx("span", __assign({
|
|
165
|
+
className: "ncua-dropdown__item-text"
|
|
166
|
+
}, {
|
|
167
|
+
children: item.text
|
|
168
|
+
}))]
|
|
169
|
+
})), item.shortcut && _jsx("span", __assign({
|
|
170
|
+
className: "ncua-dropdown__item-shortcut"
|
|
171
|
+
}, {
|
|
172
|
+
children: item.shortcut
|
|
173
|
+
}))]
|
|
174
|
+
}))]
|
|
175
|
+
}), item.id);
|
|
176
|
+
};
|
|
177
|
+
var dropdownClasses = ['ncua-dropdown', className, align === 'right' ? 'ncua-dropdown--right' : ''].filter(Boolean).join(' ');
|
|
178
|
+
return _jsxs("div", __assign({
|
|
179
|
+
className: dropdownClasses,
|
|
180
|
+
ref: dropdownRef
|
|
181
|
+
}, {
|
|
182
|
+
children: [renderTrigger(), isOpen && _jsxs("div", __assign({
|
|
183
|
+
className: "ncua-dropdown__menu"
|
|
184
|
+
}, {
|
|
185
|
+
children: [renderHeader(), _jsx("div", __assign({
|
|
186
|
+
className: "ncua-dropdown__menu-items"
|
|
187
|
+
}, {
|
|
188
|
+
children: groups.map(function (group, index) {
|
|
189
|
+
return _jsx("div", __assign({
|
|
190
|
+
className: "ncua-dropdown__group"
|
|
191
|
+
}, {
|
|
192
|
+
children: group.items.map(renderItem)
|
|
193
|
+
}), index);
|
|
194
|
+
})
|
|
195
|
+
}))]
|
|
196
|
+
}))]
|
|
197
|
+
}));
|
|
198
|
+
};
|