@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,57 @@
|
|
|
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 { RadioInput } from './RadioInput';
|
|
22
|
+
export var Radio = function (_a) {
|
|
23
|
+
var _b = _a.size,
|
|
24
|
+
size = _b === void 0 ? 'sm' : _b,
|
|
25
|
+
text = _a.text,
|
|
26
|
+
supportText = _a.supportText,
|
|
27
|
+
disabled = _a.disabled,
|
|
28
|
+
checked = _a.checked,
|
|
29
|
+
className = _a.className,
|
|
30
|
+
radioRef = _a.radioRef,
|
|
31
|
+
onChange = _a.onChange,
|
|
32
|
+
props = __rest(_a, ["size", "text", "supportText", "disabled", "checked", "className", "radioRef", "onChange"]);
|
|
33
|
+
return _jsxs("label", __assign({
|
|
34
|
+
className: classNames('ncua-radio-field', "ncua-radio-field--".concat(size), {
|
|
35
|
+
'has-text': text
|
|
36
|
+
}, className)
|
|
37
|
+
}, {
|
|
38
|
+
children: [_jsx(RadioInput, __assign({
|
|
39
|
+
size: size,
|
|
40
|
+
ref: radioRef,
|
|
41
|
+
checked: checked,
|
|
42
|
+
disabled: disabled,
|
|
43
|
+
onChange: onChange,
|
|
44
|
+
className: "ncua-radio-field__input"
|
|
45
|
+
}, props)), _jsxs("span", {
|
|
46
|
+
children: [text && _jsx("span", __assign({
|
|
47
|
+
className: "ncua-radio-field__text"
|
|
48
|
+
}, {
|
|
49
|
+
children: text
|
|
50
|
+
})), supportText && _jsx("span", __assign({
|
|
51
|
+
className: "ncua-radio-field__support-text"
|
|
52
|
+
}, {
|
|
53
|
+
children: supportText
|
|
54
|
+
}))]
|
|
55
|
+
})]
|
|
56
|
+
}));
|
|
57
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
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 classNames from 'classnames';
|
|
21
|
+
import { forwardRef } from 'react';
|
|
22
|
+
export var RadioInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
23
|
+
var _b = _a.size,
|
|
24
|
+
size = _b === void 0 ? 'sm' : _b,
|
|
25
|
+
disabled = _a.disabled,
|
|
26
|
+
className = _a.className,
|
|
27
|
+
_c = _a.destructive,
|
|
28
|
+
destructive = _c === void 0 ? false : _c,
|
|
29
|
+
onChange = _a.onChange,
|
|
30
|
+
props = __rest(_a, ["size", "disabled", "className", "destructive", "onChange"]);
|
|
31
|
+
return _jsx("span", __assign({
|
|
32
|
+
className: classNames('ncua-radio-input', "ncua-radio-input--".concat(size), {
|
|
33
|
+
destructive: destructive
|
|
34
|
+
}, className)
|
|
35
|
+
}, {
|
|
36
|
+
children: _jsx("input", __assign({
|
|
37
|
+
type: "radio",
|
|
38
|
+
ref: ref,
|
|
39
|
+
onChange: onChange,
|
|
40
|
+
disabled: disabled
|
|
41
|
+
}, props))
|
|
42
|
+
}));
|
|
43
|
+
});
|
|
@@ -0,0 +1,91 @@
|
|
|
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 Icon from '@ncds/ui-admin-icon';
|
|
21
|
+
import classNames from 'classnames';
|
|
22
|
+
import { forwardRef } from 'react';
|
|
23
|
+
import { HintText } from '../shared/hintText/HintText';
|
|
24
|
+
/**
|
|
25
|
+
* 현재 icon 속성은 현재 디자인 시스템에 존재하지 않으니 사용하지 않는 것을 권장합니다.
|
|
26
|
+
*/
|
|
27
|
+
export var Select = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
28
|
+
var icon = _a.icon,
|
|
29
|
+
placeholder = _a.placeholder,
|
|
30
|
+
_b = _a.disabledPlaceholder,
|
|
31
|
+
disabledPlaceholder = _b === void 0 ? false : _b,
|
|
32
|
+
id = _a.id,
|
|
33
|
+
className = _a.className,
|
|
34
|
+
hintText = _a.hintText,
|
|
35
|
+
children = _a.children,
|
|
36
|
+
_c = _a.size,
|
|
37
|
+
size = _c === void 0 ? 'md' : _c,
|
|
38
|
+
_d = _a.type,
|
|
39
|
+
type = _d === void 0 ? 'default' : _d,
|
|
40
|
+
_e = _a.destructive,
|
|
41
|
+
destructive = _e === void 0 ? false : _e,
|
|
42
|
+
value = _a.value,
|
|
43
|
+
optionItems = _a.optionItems,
|
|
44
|
+
register = _a.register,
|
|
45
|
+
props = __rest(_a, ["icon", "placeholder", "disabledPlaceholder", "id", "className", "hintText", "children", "size", "type", "destructive", "value", "optionItems", "register"]);
|
|
46
|
+
return _jsxs("div", __assign({
|
|
47
|
+
className: classNames('ncua-select', {
|
|
48
|
+
destructive: destructive,
|
|
49
|
+
'ncua-select--simple': type === 'simple'
|
|
50
|
+
}, className)
|
|
51
|
+
}, {
|
|
52
|
+
children: [_jsxs("div", __assign({
|
|
53
|
+
className: classNames('ncua-select__content', "ncua-select--".concat(size))
|
|
54
|
+
}, {
|
|
55
|
+
children: [icon ? _jsx("span", __assign({
|
|
56
|
+
className: "ncua-select__icon"
|
|
57
|
+
}, {
|
|
58
|
+
children: _jsx(Icon, {
|
|
59
|
+
name: icon.icon,
|
|
60
|
+
width: icon.size,
|
|
61
|
+
height: icon.size,
|
|
62
|
+
color: icon.color
|
|
63
|
+
})
|
|
64
|
+
})) : _jsx(_Fragment, {}), _jsxs("select", __assign({
|
|
65
|
+
value: value,
|
|
66
|
+
ref: ref,
|
|
67
|
+
id: id,
|
|
68
|
+
className: classNames('ncua-select__tag', className)
|
|
69
|
+
}, register, props, {
|
|
70
|
+
children: [placeholder && _jsx("option", __assign({
|
|
71
|
+
value: "",
|
|
72
|
+
selected: true,
|
|
73
|
+
disabled: disabledPlaceholder
|
|
74
|
+
}, {
|
|
75
|
+
children: placeholder
|
|
76
|
+
})), optionItems && optionItems.map(function (item, index) {
|
|
77
|
+
return _jsx("option", __assign({
|
|
78
|
+
value: item.id
|
|
79
|
+
}, {
|
|
80
|
+
children: item.label
|
|
81
|
+
}), "option-".concat(index));
|
|
82
|
+
}), children]
|
|
83
|
+
}))]
|
|
84
|
+
})), hintText && _jsx(HintText, __assign({
|
|
85
|
+
destructive: destructive,
|
|
86
|
+
className: "ncua-hint-text"
|
|
87
|
+
}, {
|
|
88
|
+
children: hintText
|
|
89
|
+
}))]
|
|
90
|
+
}));
|
|
91
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Select';
|
|
@@ -0,0 +1,35 @@
|
|
|
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 classNames from 'classnames';
|
|
21
|
+
export var HintText = function (_a) {
|
|
22
|
+
var _b = _a.as,
|
|
23
|
+
Component = _b === void 0 ? 'p' : _b,
|
|
24
|
+
children = _a.children,
|
|
25
|
+
className = _a.className,
|
|
26
|
+
destructive = _a.destructive,
|
|
27
|
+
props = __rest(_a, ["as", "children", "className", "destructive"]);
|
|
28
|
+
return _jsx(Component, __assign({
|
|
29
|
+
className: classNames('ncua-hint-text', {
|
|
30
|
+
destructive: destructive
|
|
31
|
+
}, className)
|
|
32
|
+
}, props, {
|
|
33
|
+
children: children
|
|
34
|
+
}));
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './HintText';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './hintText';
|
|
2
|
-
export * from './label';
|
|
2
|
+
export * from './label';
|
|
@@ -0,0 +1,35 @@
|
|
|
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 classNames from 'classnames';
|
|
21
|
+
export var Label = function (_a) {
|
|
22
|
+
var _b = _a.as,
|
|
23
|
+
Component = _b === void 0 ? 'label' : _b,
|
|
24
|
+
children = _a.children,
|
|
25
|
+
className = _a.className,
|
|
26
|
+
isRequired = _a.isRequired,
|
|
27
|
+
props = __rest(_a, ["as", "children", "className", "isRequired"]);
|
|
28
|
+
return _jsx(Component, __assign({
|
|
29
|
+
className: classNames('ncua-label', {
|
|
30
|
+
'is-required': isRequired
|
|
31
|
+
}, className)
|
|
32
|
+
}, props, {
|
|
33
|
+
children: children
|
|
34
|
+
}));
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Label';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useRef } from 'react';
|
|
3
|
+
import { Slider as NcuaSlider } from '../../../assets/scripts/slider';
|
|
4
|
+
export var Slider = function (_a) {
|
|
5
|
+
var _b = _a.min,
|
|
6
|
+
min = _b === void 0 ? 0 : _b,
|
|
7
|
+
_c = _a.max,
|
|
8
|
+
max = _c === void 0 ? 100 : _c,
|
|
9
|
+
_d = _a.step,
|
|
10
|
+
step = _d === void 0 ? 1 : _d,
|
|
11
|
+
_e = _a.value,
|
|
12
|
+
value = _e === void 0 ? 0 : _e,
|
|
13
|
+
onChange = _a.onChange,
|
|
14
|
+
labelPosition = _a.labelPosition,
|
|
15
|
+
_f = _a.disabled,
|
|
16
|
+
disabled = _f === void 0 ? false : _f,
|
|
17
|
+
className = _a.className;
|
|
18
|
+
var containerRef = useRef(null);
|
|
19
|
+
var sliderInstanceRef = useRef(null);
|
|
20
|
+
useEffect(function () {
|
|
21
|
+
if (!containerRef.current) return;
|
|
22
|
+
sliderInstanceRef.current = new NcuaSlider(containerRef.current, {
|
|
23
|
+
min: min,
|
|
24
|
+
max: max,
|
|
25
|
+
step: step,
|
|
26
|
+
value: value,
|
|
27
|
+
onChange: onChange,
|
|
28
|
+
labelPosition: labelPosition,
|
|
29
|
+
disabled: disabled
|
|
30
|
+
});
|
|
31
|
+
return function () {
|
|
32
|
+
if (sliderInstanceRef.current) {
|
|
33
|
+
sliderInstanceRef.current.destroy();
|
|
34
|
+
sliderInstanceRef.current = null;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
}, [typeof value, onChange, min, max, step, labelPosition]);
|
|
38
|
+
useEffect(function () {
|
|
39
|
+
if (sliderInstanceRef.current) {
|
|
40
|
+
sliderInstanceRef.current.setValue(value);
|
|
41
|
+
}
|
|
42
|
+
}, [sliderInstanceRef, value]);
|
|
43
|
+
useEffect(function () {
|
|
44
|
+
if (sliderInstanceRef.current) {
|
|
45
|
+
if (disabled) {
|
|
46
|
+
sliderInstanceRef.current.disable();
|
|
47
|
+
} else {
|
|
48
|
+
sliderInstanceRef.current.enable();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}, [disabled]);
|
|
52
|
+
return _jsx("div", {
|
|
53
|
+
ref: containerRef,
|
|
54
|
+
className: "ncua-slider ".concat(className || '')
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
export default Slider;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Slider';
|
|
@@ -0,0 +1,45 @@
|
|
|
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 } from "react/jsx-runtime";
|
|
12
|
+
import classNames from 'classnames';
|
|
13
|
+
var RenderText = function (_a) {
|
|
14
|
+
var _b = _a.as,
|
|
15
|
+
Component = _b === void 0 ? 'p' : _b,
|
|
16
|
+
children = _a.children;
|
|
17
|
+
return _jsx(Component, __assign({
|
|
18
|
+
className: "ncua-spinner__text"
|
|
19
|
+
}, {
|
|
20
|
+
children: children
|
|
21
|
+
}));
|
|
22
|
+
};
|
|
23
|
+
export var Spinner = function (_a) {
|
|
24
|
+
var _b = _a.as,
|
|
25
|
+
as = _b === void 0 ? 'p' : _b,
|
|
26
|
+
_c = _a.size,
|
|
27
|
+
size = _c === void 0 ? 'md' : _c,
|
|
28
|
+
children = _a.children,
|
|
29
|
+
_d = _a.backdrop,
|
|
30
|
+
backdrop = _d === void 0 ? false : _d;
|
|
31
|
+
return _jsx("div", __assign({
|
|
32
|
+
className: classNames('ncua-spinner', "ncua-spinner--".concat(size), {
|
|
33
|
+
'ncua-spinner--backdrop': backdrop
|
|
34
|
+
})
|
|
35
|
+
}, {
|
|
36
|
+
children: _jsx("div", __assign({
|
|
37
|
+
className: "ncua-spinner__content"
|
|
38
|
+
}, {
|
|
39
|
+
children: children && _jsx(RenderText, {
|
|
40
|
+
as: as,
|
|
41
|
+
children: children
|
|
42
|
+
})
|
|
43
|
+
}))
|
|
44
|
+
}));
|
|
45
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './Spinner';
|
|
2
|
-
export * from './index';
|
|
2
|
+
export * from './index';
|
|
@@ -0,0 +1,69 @@
|
|
|
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 { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
+
import classNames from 'classnames';
|
|
13
|
+
import { uniqueId } from 'lodash';
|
|
14
|
+
import 'swiper/css';
|
|
15
|
+
import { Swiper, SwiperSlide } from 'swiper/react';
|
|
16
|
+
import { TabButton } from './TabButton';
|
|
17
|
+
export var HorizontalTab = function (_a) {
|
|
18
|
+
var _b = _a.type,
|
|
19
|
+
type = _b === void 0 ? 'button-primary' : _b,
|
|
20
|
+
size = _a.size,
|
|
21
|
+
activeTab = _a.activeTab,
|
|
22
|
+
onClick = _a.onClick,
|
|
23
|
+
_c = _a.fullWidth,
|
|
24
|
+
fullWidth = _c === void 0 ? false : _c,
|
|
25
|
+
_d = _a.menus,
|
|
26
|
+
menus = _d === void 0 ? [] : _d;
|
|
27
|
+
var getTabGap = function (type) {
|
|
28
|
+
var _a;
|
|
29
|
+
var gap = {
|
|
30
|
+
underline: 16
|
|
31
|
+
};
|
|
32
|
+
return (_a = gap[type]) !== null && _a !== void 0 ? _a : 8;
|
|
33
|
+
};
|
|
34
|
+
if (!menus.length) return _jsx(_Fragment, {});
|
|
35
|
+
return _jsx("div", __assign({
|
|
36
|
+
className: classNames('ncua-horizontal-tab', "ncua-horizontal-tab--".concat(type), {
|
|
37
|
+
'ncua-horizontal-tab--fullWidth': fullWidth
|
|
38
|
+
})
|
|
39
|
+
}, {
|
|
40
|
+
children: _jsx(Swiper, __assign({
|
|
41
|
+
slidesPerView: "auto",
|
|
42
|
+
spaceBetween: getTabGap(type)
|
|
43
|
+
}, {
|
|
44
|
+
children: menus.map(function (menu) {
|
|
45
|
+
var isActive = menu.href ? menu.href.includes(activeTab) : menu.id === activeTab;
|
|
46
|
+
var commonProps = {
|
|
47
|
+
id: menu.id,
|
|
48
|
+
label: menu.label,
|
|
49
|
+
badgeInfo: menu.badgeInfo,
|
|
50
|
+
isActive: isActive,
|
|
51
|
+
tabButtonType: type,
|
|
52
|
+
size: size,
|
|
53
|
+
onClick: function () {
|
|
54
|
+
var _a;
|
|
55
|
+
return onClick === null || onClick === void 0 ? void 0 : onClick((_a = menu.id) !== null && _a !== void 0 ? _a : '');
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
return _jsx(SwiperSlide, __assign({
|
|
59
|
+
className: "ncua-horizontal-tab__item"
|
|
60
|
+
}, {
|
|
61
|
+
children: menu.href ? _jsx(TabButton, __assign({}, commonProps, {
|
|
62
|
+
href: menu.href,
|
|
63
|
+
target: menu.target
|
|
64
|
+
})) : _jsx(TabButton, __assign({}, commonProps))
|
|
65
|
+
}), uniqueId('horizontal-tab'));
|
|
66
|
+
})
|
|
67
|
+
}))
|
|
68
|
+
}));
|
|
69
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
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 { Badge } from '../badge/Badge';
|
|
22
|
+
export var TabButton = function (_a) {
|
|
23
|
+
var label = _a.label,
|
|
24
|
+
_b = _a.size,
|
|
25
|
+
size = _b === void 0 ? 'md' : _b,
|
|
26
|
+
tabButtonType = _a.tabButtonType,
|
|
27
|
+
type = _a.type,
|
|
28
|
+
_c = _a.isActive,
|
|
29
|
+
isActive = _c === void 0 ? false : _c,
|
|
30
|
+
badgeInfo = _a.badgeInfo,
|
|
31
|
+
className = _a.className,
|
|
32
|
+
children = _a.children,
|
|
33
|
+
props = __rest(_a, ["label", "size", "tabButtonType", "type", "isActive", "badgeInfo", "className", "children"]);
|
|
34
|
+
var tabType = tabButtonType || type;
|
|
35
|
+
var componentClassName = classNames('ncua-tab-button', "ncua-tab-button--".concat(size), "ncua-tab-button--".concat(tabType || 'button-primary'), {
|
|
36
|
+
'is-active': isActive
|
|
37
|
+
}, className);
|
|
38
|
+
if ('href' in props && props.href) {
|
|
39
|
+
var _d = props,
|
|
40
|
+
href = _d.href,
|
|
41
|
+
_e = _d.target,
|
|
42
|
+
target = _e === void 0 ? '_self' : _e,
|
|
43
|
+
onClick_1 = _d.onClick,
|
|
44
|
+
anchorProps = __rest(_d, ["href", "target", "onClick"]);
|
|
45
|
+
return _jsxs("a", __assign({
|
|
46
|
+
className: componentClassName,
|
|
47
|
+
href: href,
|
|
48
|
+
target: target,
|
|
49
|
+
onClick: onClick_1
|
|
50
|
+
}, anchorProps, {
|
|
51
|
+
children: [label, badgeInfo && _jsx(Badge, __assign({}, badgeInfo, {
|
|
52
|
+
size: "xs"
|
|
53
|
+
})), children]
|
|
54
|
+
}));
|
|
55
|
+
}
|
|
56
|
+
var _f = props,
|
|
57
|
+
onClick = _f.onClick,
|
|
58
|
+
buttonProps = __rest(_f, ["onClick"]);
|
|
59
|
+
return _jsxs("button", __assign({
|
|
60
|
+
type: "button",
|
|
61
|
+
className: componentClassName,
|
|
62
|
+
onClick: onClick
|
|
63
|
+
}, buttonProps, {
|
|
64
|
+
children: [label, badgeInfo && _jsx(Badge, __assign({}, badgeInfo, {
|
|
65
|
+
size: "xs"
|
|
66
|
+
})), children]
|
|
67
|
+
}));
|
|
68
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
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 } from "react/jsx-runtime";
|
|
12
|
+
import classNames from 'classnames';
|
|
13
|
+
import { Fragment } from 'react';
|
|
14
|
+
import { Select } from '../select/Select';
|
|
15
|
+
import { TabButton } from './TabButton';
|
|
16
|
+
export var VerticalTab = function (_a) {
|
|
17
|
+
var _b = _a.type,
|
|
18
|
+
type = _b === void 0 ? 'button-primary' : _b,
|
|
19
|
+
_c = _a.breakPoint,
|
|
20
|
+
breakPoint = _c === void 0 ? 'pc' : _c,
|
|
21
|
+
activeTab = _a.activeTab,
|
|
22
|
+
menus = _a.menus,
|
|
23
|
+
onClick = _a.onClick;
|
|
24
|
+
var handleSelectChange = function (e) {
|
|
25
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(e.target.value);
|
|
26
|
+
};
|
|
27
|
+
var optionItems = (menus === null || menus === void 0 ? void 0 : menus.map(function (menu) {
|
|
28
|
+
return {
|
|
29
|
+
id: menu.id || '',
|
|
30
|
+
label: menu.label || ''
|
|
31
|
+
};
|
|
32
|
+
})) || [];
|
|
33
|
+
return _jsx("div", __assign({
|
|
34
|
+
className: classNames('ncua-vertical-tab', "ncua-vertical-tab--".concat(type))
|
|
35
|
+
}, {
|
|
36
|
+
children: breakPoint === 'mobile' ? _jsx("div", __assign({
|
|
37
|
+
className: "ncua-vertical-tab__select"
|
|
38
|
+
}, {
|
|
39
|
+
children: _jsx(Select, {
|
|
40
|
+
value: activeTab,
|
|
41
|
+
onChange: handleSelectChange,
|
|
42
|
+
optionItems: optionItems,
|
|
43
|
+
size: "md"
|
|
44
|
+
})
|
|
45
|
+
})) : menus === null || menus === void 0 ? void 0 : menus.map(function (menu) {
|
|
46
|
+
var isActive = menu.href ? menu.href.includes(activeTab) : menu.id === activeTab;
|
|
47
|
+
var commonProps = {
|
|
48
|
+
id: menu.id,
|
|
49
|
+
label: menu.label,
|
|
50
|
+
badgeInfo: menu.badgeInfo,
|
|
51
|
+
isActive: isActive,
|
|
52
|
+
tabButtonType: type,
|
|
53
|
+
size: 'sm',
|
|
54
|
+
onClick: function () {
|
|
55
|
+
var _a;
|
|
56
|
+
return onClick === null || onClick === void 0 ? void 0 : onClick((_a = menu.id) !== null && _a !== void 0 ? _a : '');
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
return _jsx(Fragment, {
|
|
60
|
+
children: menu.href ? _jsx(TabButton, __assign({}, commonProps, {
|
|
61
|
+
href: menu.href,
|
|
62
|
+
target: menu.target
|
|
63
|
+
})) : _jsx(TabButton, __assign({}, commonProps))
|
|
64
|
+
}, menu.id);
|
|
65
|
+
})
|
|
66
|
+
}));
|
|
67
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
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 classNames from 'classnames';
|
|
14
|
+
import { COLOR } from '../../../constant/color';
|
|
15
|
+
import { Dot } from '../dot';
|
|
16
|
+
export var Tag = function (_a) {
|
|
17
|
+
var _b = _a.size,
|
|
18
|
+
size = _b === void 0 ? 'sm' : _b,
|
|
19
|
+
icon = _a.icon,
|
|
20
|
+
text = _a.text,
|
|
21
|
+
count = _a.count,
|
|
22
|
+
close = _a.close,
|
|
23
|
+
onButtonClick = _a.onButtonClick;
|
|
24
|
+
var iconSize = {
|
|
25
|
+
sm: 14,
|
|
26
|
+
md: 16
|
|
27
|
+
};
|
|
28
|
+
var sideSlotRender = function (slot) {
|
|
29
|
+
var _a;
|
|
30
|
+
if (slot.type === 'icon') {
|
|
31
|
+
return _jsx(Icon, {
|
|
32
|
+
name: slot.icon,
|
|
33
|
+
width: iconSize[size],
|
|
34
|
+
height: iconSize[size],
|
|
35
|
+
color: slot.color
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
if (slot.type === 'dot') {
|
|
39
|
+
return _jsx(Dot, {
|
|
40
|
+
color: slot.color,
|
|
41
|
+
size: (_a = slot.size) !== null && _a !== void 0 ? _a : 'sm'
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
return slot.children;
|
|
45
|
+
};
|
|
46
|
+
return _jsxs("span", __assign({
|
|
47
|
+
className: classNames('ncua-tag', "ncua-tag--".concat(size))
|
|
48
|
+
}, {
|
|
49
|
+
children: [icon && sideSlotRender(icon), _jsx("span", __assign({
|
|
50
|
+
className: "ncua-tag__text"
|
|
51
|
+
}, {
|
|
52
|
+
children: text
|
|
53
|
+
})), count && _jsx("span", __assign({
|
|
54
|
+
className: "ncua-tag__count"
|
|
55
|
+
}, {
|
|
56
|
+
children: count
|
|
57
|
+
})), close && _jsx("button", __assign({
|
|
58
|
+
type: "button",
|
|
59
|
+
className: "ncua-tag__close",
|
|
60
|
+
onClick: onButtonClick
|
|
61
|
+
}, {
|
|
62
|
+
children: _jsx(Icon, {
|
|
63
|
+
name: "x-close",
|
|
64
|
+
color: COLOR.gray300,
|
|
65
|
+
width: iconSize[size],
|
|
66
|
+
height: iconSize[size]
|
|
67
|
+
})
|
|
68
|
+
}))]
|
|
69
|
+
}));
|
|
70
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tag';
|