@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,32 @@
|
|
|
1
|
+
export var COLOR = {
|
|
2
|
+
gray100: '#EAECF0',
|
|
3
|
+
gray200: '#D0D5DD',
|
|
4
|
+
gray300: '#98A2B3',
|
|
5
|
+
gray400: '#667085',
|
|
6
|
+
gray500: '#344054',
|
|
7
|
+
gray600: '#475467',
|
|
8
|
+
gray700: '#0C111D',
|
|
9
|
+
blue500: '#1570EF',
|
|
10
|
+
blue600: '#1849a9',
|
|
11
|
+
red500: '#ec1d31',
|
|
12
|
+
red600: '#dc0a2b',
|
|
13
|
+
orange500: '#e4501e',
|
|
14
|
+
orange600: '#b93815',
|
|
15
|
+
green500: '#099250',
|
|
16
|
+
green600: '#087443',
|
|
17
|
+
pink100: '#fce7f6',
|
|
18
|
+
pink600: '#c11574',
|
|
19
|
+
yellow600: '#c27004',
|
|
20
|
+
white: '#fff',
|
|
21
|
+
currentColor: 'currentColor',
|
|
22
|
+
black: '',
|
|
23
|
+
'secondary-gray-blue-50': '#f8f9fc',
|
|
24
|
+
'secondary-gray-blue-100': '#eaecf5',
|
|
25
|
+
'secondary-gray-blue-200': '#d5d9eb',
|
|
26
|
+
'secondary-gray-blue-300': '#b3b8db',
|
|
27
|
+
'secondary-gray-blue-400': '#717bbc',
|
|
28
|
+
'secondary-gray-blue-450': '#4e5ba6',
|
|
29
|
+
'secondary-gray-blue-500': '#3e4784',
|
|
30
|
+
'secondary-gray-blue-600': '#363f72',
|
|
31
|
+
'secondary-gray-blue-700': '#293056'
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
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 classNames from 'classnames';
|
|
13
|
+
import { sideSlotRender } from './utils';
|
|
14
|
+
/**
|
|
15
|
+
* 뱃지 컴포넌트의 아이콘은 디자인 시스템에서 12px 고정으로 정의되어 있습니다.
|
|
16
|
+
*/
|
|
17
|
+
var BADGE_ICON_SIZE = 12;
|
|
18
|
+
export var Badge = function (_a) {
|
|
19
|
+
var label = _a.label,
|
|
20
|
+
_b = _a.type,
|
|
21
|
+
type = _b === void 0 ? 'pill-outline' : _b,
|
|
22
|
+
_c = _a.color,
|
|
23
|
+
color = _c === void 0 ? 'neutral' : _c,
|
|
24
|
+
className = _a.className,
|
|
25
|
+
leadingIcon = _a.leadingIcon,
|
|
26
|
+
trailingIcon = _a.trailingIcon,
|
|
27
|
+
_d = _a.size,
|
|
28
|
+
size = _d === void 0 ? 'sm' : _d;
|
|
29
|
+
return _jsxs("span", __assign({
|
|
30
|
+
className: classNames('ncua-badge', "ncua-badge--".concat(type), "ncua-badge--".concat(color), "ncua-badge--".concat(size), className)
|
|
31
|
+
}, {
|
|
32
|
+
children: [leadingIcon && sideSlotRender({
|
|
33
|
+
slot: leadingIcon,
|
|
34
|
+
defaultIconSize: BADGE_ICON_SIZE
|
|
35
|
+
}), _jsx("span", __assign({
|
|
36
|
+
className: "ncua-badge__label"
|
|
37
|
+
}, {
|
|
38
|
+
children: label
|
|
39
|
+
})), trailingIcon && sideSlotRender({
|
|
40
|
+
slot: trailingIcon,
|
|
41
|
+
defaultIconSize: BADGE_ICON_SIZE
|
|
42
|
+
})]
|
|
43
|
+
}));
|
|
44
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
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 '.';
|
|
22
|
+
import { sideSlotRender } from './utils';
|
|
23
|
+
var DEFAULT_GROUP_ICON_SIZE = 14;
|
|
24
|
+
export var BadgeGroup = function (_a) {
|
|
25
|
+
var groupLabel = _a.groupLabel,
|
|
26
|
+
groupIcon = _a.groupIcon,
|
|
27
|
+
groupClassName = _a.groupClassName,
|
|
28
|
+
_b = _a.color,
|
|
29
|
+
color = _b === void 0 ? 'neutral' : _b,
|
|
30
|
+
_c = _a.size,
|
|
31
|
+
size = _c === void 0 ? 'sm' : _c,
|
|
32
|
+
href = _a.href,
|
|
33
|
+
_d = _a.target,
|
|
34
|
+
target = _d === void 0 ? '_blank' : _d,
|
|
35
|
+
props = __rest(_a, ["groupLabel", "groupIcon", "groupClassName", "color", "size", "href", "target"]);
|
|
36
|
+
return _jsxs("a", __assign({
|
|
37
|
+
className: classNames('ncua-badge-group', "ncua-badge-group--".concat(color), "ncua-badge-group--".concat(size), groupClassName),
|
|
38
|
+
href: href,
|
|
39
|
+
target: target
|
|
40
|
+
}, {
|
|
41
|
+
children: [_jsx(Badge, __assign({
|
|
42
|
+
type: "pill-dark-color",
|
|
43
|
+
color: color,
|
|
44
|
+
size: size
|
|
45
|
+
}, props)), _jsx("span", __assign({
|
|
46
|
+
className: "ncua-badge-group__label"
|
|
47
|
+
}, {
|
|
48
|
+
children: groupLabel
|
|
49
|
+
})), groupIcon && sideSlotRender({
|
|
50
|
+
slot: groupIcon,
|
|
51
|
+
defaultIconSize: DEFAULT_GROUP_ICON_SIZE
|
|
52
|
+
})]
|
|
53
|
+
}));
|
|
54
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Icon from '@ncds/ui-admin-icon';
|
|
3
|
+
import { COLOR } from '../../../constant/color';
|
|
4
|
+
import { Dot } from '../dot/Dot';
|
|
5
|
+
var DEFAULT_DOT_COLOR = 'neutral';
|
|
6
|
+
export var sideSlotRender = function (_a) {
|
|
7
|
+
var _b, _c, _d, _e;
|
|
8
|
+
var slot = _a.slot,
|
|
9
|
+
defaultIconSize = _a.defaultIconSize;
|
|
10
|
+
if (slot.type === 'icon') {
|
|
11
|
+
return _jsx(Icon, {
|
|
12
|
+
name: slot.icon,
|
|
13
|
+
height: (_b = slot.size) !== null && _b !== void 0 ? _b : defaultIconSize,
|
|
14
|
+
width: (_c = slot.size) !== null && _c !== void 0 ? _c : defaultIconSize,
|
|
15
|
+
color: slot.color ? COLOR[slot.color] : undefined
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
if (slot.type === 'dot') {
|
|
19
|
+
return _jsx(Dot, {
|
|
20
|
+
color: (_d = slot.color) !== null && _d !== void 0 ? _d : DEFAULT_DOT_COLOR,
|
|
21
|
+
size: (_e = slot.size) !== null && _e !== void 0 ? _e : 'sm'
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
return slot.children;
|
|
25
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
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 Icon from '@ncds/ui-admin-icon';
|
|
13
|
+
import classNames from 'classnames';
|
|
14
|
+
var BreadcrumbItem = function (_a) {
|
|
15
|
+
var href = _a.href,
|
|
16
|
+
children = _a.children;
|
|
17
|
+
var ElementType = href ? 'a' : 'span';
|
|
18
|
+
return _jsx(ElementType, __assign({
|
|
19
|
+
href: href,
|
|
20
|
+
className: "ncua-breadcrumb__item"
|
|
21
|
+
}, {
|
|
22
|
+
children: children
|
|
23
|
+
}));
|
|
24
|
+
};
|
|
25
|
+
export var BreadCrumb = function (_a) {
|
|
26
|
+
var items = _a.items,
|
|
27
|
+
className = _a.className;
|
|
28
|
+
if (!items || items.length === 0) return null;
|
|
29
|
+
var renderItem = function (item, index) {
|
|
30
|
+
var isLast = index === items.length - 1;
|
|
31
|
+
var content = index === 0 ? _jsx(Icon, {
|
|
32
|
+
name: "home-01",
|
|
33
|
+
width: 16,
|
|
34
|
+
height: 16,
|
|
35
|
+
color: "gray500"
|
|
36
|
+
}) : item.label;
|
|
37
|
+
return _jsx("li", __assign({
|
|
38
|
+
className: classNames('ncua-breadcrumb__list-item', {
|
|
39
|
+
'ncua-breadcrumb__list-item--active': isLast
|
|
40
|
+
})
|
|
41
|
+
}, {
|
|
42
|
+
children: _jsx(BreadcrumbItem, __assign({
|
|
43
|
+
href: !isLast ? item.href : undefined
|
|
44
|
+
}, {
|
|
45
|
+
children: content
|
|
46
|
+
}))
|
|
47
|
+
}), index);
|
|
48
|
+
};
|
|
49
|
+
return _jsx("nav", __assign({
|
|
50
|
+
"aria-label": "breadcrumb",
|
|
51
|
+
className: classNames('ncua-breadcrumb', className)
|
|
52
|
+
}, {
|
|
53
|
+
children: _jsx("ol", __assign({
|
|
54
|
+
className: "ncua-breadcrumb__list"
|
|
55
|
+
}, {
|
|
56
|
+
children: items.map(renderItem)
|
|
57
|
+
}))
|
|
58
|
+
}));
|
|
59
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './BreadCrumb';
|
|
@@ -0,0 +1,120 @@
|
|
|
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 { createElement, forwardRef, useEffect, useState } from 'react';
|
|
21
|
+
import classnames from 'classnames';
|
|
22
|
+
import Icon from '@ncds/ui-admin-icon';
|
|
23
|
+
import { COLOR } from '../../../constant/color';
|
|
24
|
+
import { Dot } from '../dot';
|
|
25
|
+
export var svgSize = {
|
|
26
|
+
xxs: 12,
|
|
27
|
+
xs: 14,
|
|
28
|
+
sm: 16,
|
|
29
|
+
md: 20
|
|
30
|
+
};
|
|
31
|
+
export var iconOnlySvgSize = {
|
|
32
|
+
xxs: 14,
|
|
33
|
+
xs: 16,
|
|
34
|
+
sm: 20,
|
|
35
|
+
md: 20
|
|
36
|
+
};
|
|
37
|
+
export var dotSize = {
|
|
38
|
+
xxs: 'sm',
|
|
39
|
+
xs: 'sm',
|
|
40
|
+
sm: 'md',
|
|
41
|
+
md: 'md'
|
|
42
|
+
};
|
|
43
|
+
export var Button = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
44
|
+
// NOTE: 엘리먼트 종류에 따라 props의 타입이 달라지므로 분리
|
|
45
|
+
var _a = props.as,
|
|
46
|
+
as = _a === void 0 ? 'button' : _a,
|
|
47
|
+
_b = props.size,
|
|
48
|
+
size = _b === void 0 ? 'md' : _b,
|
|
49
|
+
children = props.children,
|
|
50
|
+
onlyIcon = props.onlyIcon,
|
|
51
|
+
disabled = props.disabled,
|
|
52
|
+
className = props.className,
|
|
53
|
+
_c = props.hierarchy,
|
|
54
|
+
hierarchy = _c === void 0 ? 'secondary-gray' : _c,
|
|
55
|
+
label = props.label,
|
|
56
|
+
leadingIcon = props.leadingIcon,
|
|
57
|
+
trailingIcon = props.trailingIcon,
|
|
58
|
+
restProps = __rest(props, ["as", "size", "children", "onlyIcon", "disabled", "className", "hierarchy", "label", "leadingIcon", "trailingIcon"]);
|
|
59
|
+
var _d = useState(null),
|
|
60
|
+
queryParams = _d[0],
|
|
61
|
+
setQueryParams = _d[1];
|
|
62
|
+
// Type guard to check if props is an AnchorElementProps
|
|
63
|
+
var isAnchorProps = function (p) {
|
|
64
|
+
return p.as === 'a';
|
|
65
|
+
};
|
|
66
|
+
var handleClickLink = function (e) {
|
|
67
|
+
var isRemote = (queryParams === null || queryParams === void 0 ? void 0 : queryParams.get('isRemote')) === 'true';
|
|
68
|
+
if (isAnchorProps(props) && isRemote) {
|
|
69
|
+
e.preventDefault();
|
|
70
|
+
// INFO: 1. 사이트 리모트 페이지(디센/개센): 빌더에서 설정한 타겟(self or blank)에 따라 페이지 호출
|
|
71
|
+
// 2. 어드민 리모트 페이지: 빌더에서 설정한 타겟에 관계 없이 모두 blank
|
|
72
|
+
var isBlank = props.target === '_blank';
|
|
73
|
+
if (!isRemote && !isBlank && window.top) {
|
|
74
|
+
window.top.location.href = props.href;
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
window.open(props.href);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
var sideSlotRender = function (slot) {
|
|
81
|
+
var _a, _b, _c;
|
|
82
|
+
if (slot.type === 'icon') {
|
|
83
|
+
var iconSize = onlyIcon ? iconOnlySvgSize[size] : svgSize[size];
|
|
84
|
+
return _jsx(Icon, {
|
|
85
|
+
name: slot.icon,
|
|
86
|
+
height: (_a = slot.size) !== null && _a !== void 0 ? _a : iconSize,
|
|
87
|
+
width: (_b = slot.size) !== null && _b !== void 0 ? _b : iconSize,
|
|
88
|
+
color: slot.color ? COLOR[slot.color] : undefined
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
if (slot.type === 'dot') {
|
|
92
|
+
return _jsx(Dot, {
|
|
93
|
+
color: slot.color,
|
|
94
|
+
size: (_c = slot.size) !== null && _c !== void 0 ? _c : dotSize[size]
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
return slot.children;
|
|
98
|
+
};
|
|
99
|
+
useEffect(function () {
|
|
100
|
+
var _a;
|
|
101
|
+
setQueryParams(new URLSearchParams(((_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.search) || ''));
|
|
102
|
+
}, []);
|
|
103
|
+
return /*#__PURE__*/createElement(as, __assign(__assign({
|
|
104
|
+
className: classnames('ncua-btn', "ncua-btn--".concat(size), {
|
|
105
|
+
'only-icon': onlyIcon,
|
|
106
|
+
'is-disable': disabled,
|
|
107
|
+
'has-underline': isAnchorProps(props) ? props.underline : false
|
|
108
|
+
}, className, hierarchy && "ncua-btn--".concat(hierarchy)),
|
|
109
|
+
onClick: isAnchorProps(props) ? handleClickLink : undefined,
|
|
110
|
+
disabled: disabled
|
|
111
|
+
}, restProps), {
|
|
112
|
+
ref: ref
|
|
113
|
+
}), _jsxs(_Fragment, {
|
|
114
|
+
children: [leadingIcon && sideSlotRender(leadingIcon), !onlyIcon && label && _jsx("span", __assign({
|
|
115
|
+
className: "ncua-btn__label"
|
|
116
|
+
}, {
|
|
117
|
+
children: label
|
|
118
|
+
})), children, trailingIcon && sideSlotRender(trailingIcon)]
|
|
119
|
+
}));
|
|
120
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
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 Icon from '@ncds/ui-admin-icon';
|
|
13
|
+
import classnames from 'classnames';
|
|
14
|
+
var svgSize = {
|
|
15
|
+
xs: 16,
|
|
16
|
+
sm: 20,
|
|
17
|
+
md: 20,
|
|
18
|
+
lg: 24
|
|
19
|
+
};
|
|
20
|
+
export var ButtonCloseX = function (_a) {
|
|
21
|
+
var size = _a.size,
|
|
22
|
+
_b = _a.theme,
|
|
23
|
+
theme = _b === void 0 ? 'light' : _b,
|
|
24
|
+
className = _a.className,
|
|
25
|
+
onClick = _a.onClick;
|
|
26
|
+
return _jsx("button", __assign({
|
|
27
|
+
className: classnames('ncua-button-close-x', "ncua-button-close-x--".concat(size), "ncua-button-close-x--".concat(theme), className),
|
|
28
|
+
onClick: onClick
|
|
29
|
+
}, {
|
|
30
|
+
children: _jsx(Icon, {
|
|
31
|
+
name: "x-close",
|
|
32
|
+
width: svgSize[size],
|
|
33
|
+
height: svgSize[size]
|
|
34
|
+
})
|
|
35
|
+
}));
|
|
36
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
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 React, { createElement } from 'react';
|
|
23
|
+
import { COLOR } from '../../../constant/color';
|
|
24
|
+
import { Dot } from '../dot';
|
|
25
|
+
var svgSize = {
|
|
26
|
+
xs: 12,
|
|
27
|
+
sm: 16,
|
|
28
|
+
md: 16,
|
|
29
|
+
lg: 20
|
|
30
|
+
};
|
|
31
|
+
var dotSize = {
|
|
32
|
+
xs: 'sm',
|
|
33
|
+
sm: 'sm',
|
|
34
|
+
md: 'md',
|
|
35
|
+
lg: 'md'
|
|
36
|
+
};
|
|
37
|
+
export var ButtonGroup = function (_a) {
|
|
38
|
+
var children = _a.children,
|
|
39
|
+
className = _a.className,
|
|
40
|
+
_b = _a.hasBorder,
|
|
41
|
+
hasBorder = _b === void 0 ? true : _b,
|
|
42
|
+
_c = _a.size,
|
|
43
|
+
size = _c === void 0 ? 'lg' : _c,
|
|
44
|
+
_d = _a.onlyIcon,
|
|
45
|
+
onlyIcon = _d === void 0 ? false : _d,
|
|
46
|
+
_e = _a.disabled,
|
|
47
|
+
disabled = _e === void 0 ? false : _e;
|
|
48
|
+
return _jsx("div", __assign({
|
|
49
|
+
className: classNames('ncua-button-group', "ncua-button-group--".concat(size), {
|
|
50
|
+
'has-border': hasBorder
|
|
51
|
+
}, className)
|
|
52
|
+
}, {
|
|
53
|
+
children: React.Children.map(children, function (child) {
|
|
54
|
+
if (! /*#__PURE__*/React.isValidElement(child)) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
return /*#__PURE__*/React.cloneElement(child, {
|
|
58
|
+
onlyIcon: onlyIcon,
|
|
59
|
+
size: size,
|
|
60
|
+
disabled: disabled || child.props.disabled
|
|
61
|
+
});
|
|
62
|
+
})
|
|
63
|
+
}));
|
|
64
|
+
};
|
|
65
|
+
ButtonGroup.Item = function (_a) {
|
|
66
|
+
var _b;
|
|
67
|
+
var _c = _a.as,
|
|
68
|
+
as = _c === void 0 ? 'button' : _c,
|
|
69
|
+
label = _a.label,
|
|
70
|
+
_d = _a.size,
|
|
71
|
+
size = _d === void 0 ? 'md' : _d,
|
|
72
|
+
onlyIcon = _a.onlyIcon,
|
|
73
|
+
icon = _a.icon,
|
|
74
|
+
disabled = _a.disabled,
|
|
75
|
+
children = _a.children,
|
|
76
|
+
isCurrent = _a.isCurrent,
|
|
77
|
+
props = __rest(_a, ["as", "label", "size", "onlyIcon", "icon", "disabled", "children", "isCurrent"]);
|
|
78
|
+
var renderIcon = function () {
|
|
79
|
+
var _a, _b, _c;
|
|
80
|
+
if (!icon) return null;
|
|
81
|
+
if (icon.type === 'icon') {
|
|
82
|
+
return _jsx(Icon, {
|
|
83
|
+
name: icon.icon,
|
|
84
|
+
width: (_a = icon.size) !== null && _a !== void 0 ? _a : svgSize[size],
|
|
85
|
+
height: (_b = icon.size) !== null && _b !== void 0 ? _b : svgSize[size],
|
|
86
|
+
color: icon.color ? COLOR[icon.color] : 'currentColor'
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
if (icon.type === 'dot') {
|
|
90
|
+
return _jsx(Dot, {
|
|
91
|
+
color: icon.color,
|
|
92
|
+
size: (_c = icon.size) !== null && _c !== void 0 ? _c : dotSize[size]
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
return icon.children;
|
|
96
|
+
};
|
|
97
|
+
var position = (_b = icon === null || icon === void 0 ? void 0 : icon.position) !== null && _b !== void 0 ? _b : 'leading';
|
|
98
|
+
return /*#__PURE__*/createElement(as, __assign({
|
|
99
|
+
className: classNames('ncua-button-group__item', {
|
|
100
|
+
'is-disabled': disabled
|
|
101
|
+
}, {
|
|
102
|
+
'is-only-icon': onlyIcon
|
|
103
|
+
}, {
|
|
104
|
+
'is-current': isCurrent
|
|
105
|
+
}),
|
|
106
|
+
disabled: disabled,
|
|
107
|
+
type: as === 'button' ? 'button' : undefined
|
|
108
|
+
}, props), _jsxs(_Fragment, {
|
|
109
|
+
children: [position === 'leading' && renderIcon(), !onlyIcon && label, children, position === 'trailing' && renderIcon()]
|
|
110
|
+
}));
|
|
111
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
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 Icon from '@ncds/ui-admin-icon';
|
|
14
|
+
export var CarouselArrow = function (_a) {
|
|
15
|
+
var _b;
|
|
16
|
+
var _c = _a.type,
|
|
17
|
+
type = _c === void 0 ? 'default' : _c,
|
|
18
|
+
className = _a.className,
|
|
19
|
+
size = _a.size,
|
|
20
|
+
chevron = _a.chevron,
|
|
21
|
+
onClick = _a.onClick;
|
|
22
|
+
return _jsx("button", __assign({
|
|
23
|
+
type: "button",
|
|
24
|
+
className: classNames('ncua-carousel-arrow', (_b = {}, _b["ncua-carousel-arrow--".concat(type)] = type, _b["ncua-carousel-arrow--".concat(size)] = size, _b["ncua-carousel-arrow--".concat(chevron)] = chevron, _b), className),
|
|
25
|
+
onClick: onClick
|
|
26
|
+
}, {
|
|
27
|
+
children: _jsx(Icon, {
|
|
28
|
+
className: "ncua-carousel-arrow__icon",
|
|
29
|
+
color: "var(--gray-500)",
|
|
30
|
+
name: chevron === 'left' ? 'chevron-left' : 'chevron-right'
|
|
31
|
+
})
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
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 classNames from 'classnames';
|
|
13
|
+
export var CarouselNumberGroup = function (_a) {
|
|
14
|
+
var _b;
|
|
15
|
+
var _c = _a.framed,
|
|
16
|
+
framed = _c === void 0 ? true : _c,
|
|
17
|
+
_d = _a.size,
|
|
18
|
+
size = _d === void 0 ? 'sm' : _d,
|
|
19
|
+
_e = _a.color,
|
|
20
|
+
color = _e === void 0 ? 'light' : _e,
|
|
21
|
+
currentPage = _a.currentPage,
|
|
22
|
+
totalPage = _a.totalPage;
|
|
23
|
+
return _jsxs("div", __assign({
|
|
24
|
+
className: classNames('ncua-carousel-number-group', (_b = {
|
|
25
|
+
framed: framed
|
|
26
|
+
}, _b["ncua-carousel-number-group--".concat(color)] = color, _b["ncua-carousel-number-group--".concat(size)] = size, _b))
|
|
27
|
+
}, {
|
|
28
|
+
children: [_jsx("span", __assign({
|
|
29
|
+
className: "ncua-carousel-number-group__number"
|
|
30
|
+
}, {
|
|
31
|
+
children: currentPage
|
|
32
|
+
})), _jsxs("span", __assign({
|
|
33
|
+
className: "ncua-carousel-number-group__total"
|
|
34
|
+
}, {
|
|
35
|
+
children: ["/", totalPage]
|
|
36
|
+
}))]
|
|
37
|
+
}));
|
|
38
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
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 { CheckboxInput } from './CheckboxInput';
|
|
22
|
+
export var Checkbox = function (_a) {
|
|
23
|
+
var _b = _a.size,
|
|
24
|
+
size = _b === void 0 ? 'sm' : _b,
|
|
25
|
+
_c = _a.indeterminate,
|
|
26
|
+
indeterminate = _c === void 0 ? false : _c,
|
|
27
|
+
text = _a.text,
|
|
28
|
+
supportText = _a.supportText,
|
|
29
|
+
disabled = _a.disabled,
|
|
30
|
+
checked = _a.checked,
|
|
31
|
+
className = _a.className,
|
|
32
|
+
checkboxRef = _a.checkboxRef,
|
|
33
|
+
onChange = _a.onChange,
|
|
34
|
+
props = __rest(_a, ["size", "indeterminate", "text", "supportText", "disabled", "checked", "className", "checkboxRef", "onChange"]);
|
|
35
|
+
return _jsxs("label", __assign({
|
|
36
|
+
className: classNames('ncua-checkbox-field', "ncua-checkbox-field--".concat(size), {
|
|
37
|
+
'has-text': text
|
|
38
|
+
}, className)
|
|
39
|
+
}, {
|
|
40
|
+
children: [_jsx(CheckboxInput, __assign({
|
|
41
|
+
size: size,
|
|
42
|
+
ref: checkboxRef,
|
|
43
|
+
checked: checked,
|
|
44
|
+
indeterminate: indeterminate,
|
|
45
|
+
disabled: disabled,
|
|
46
|
+
onChange: onChange,
|
|
47
|
+
className: "ncua-checkbox-field__input"
|
|
48
|
+
}, props)), _jsx("span", {
|
|
49
|
+
children: text && _jsxs(_Fragment, {
|
|
50
|
+
children: [_jsx("span", __assign({
|
|
51
|
+
className: "ncua-checkbox-field__text"
|
|
52
|
+
}, {
|
|
53
|
+
children: text
|
|
54
|
+
})), supportText && _jsx("span", __assign({
|
|
55
|
+
className: "ncua-checkbox-field__support-text"
|
|
56
|
+
}, {
|
|
57
|
+
children: supportText
|
|
58
|
+
}))]
|
|
59
|
+
})
|
|
60
|
+
})]
|
|
61
|
+
}));
|
|
62
|
+
};
|