@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 @@
|
|
|
1
|
+
export * from './Modal';
|
|
@@ -0,0 +1,101 @@
|
|
|
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 { forwardRef } from 'react';
|
|
22
|
+
import { MEDIA_QUERY } from '../../constant/breakpoint';
|
|
23
|
+
import { useMediaQuery } from '../../hooks/useMediaQuery';
|
|
24
|
+
import { Button } from '../button';
|
|
25
|
+
import { ButtonCloseX } from '../button/ButtonCloseX';
|
|
26
|
+
import { FeaturedIcon } from '../featured-icon/FeaturedIcon';
|
|
27
|
+
var iconNameMap = {
|
|
28
|
+
neutral: 'pin-02',
|
|
29
|
+
error: 'alert-triangle',
|
|
30
|
+
warning: 'alert-circle',
|
|
31
|
+
success: 'check-circle'
|
|
32
|
+
};
|
|
33
|
+
export var FloatingNotification = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
34
|
+
var title = _a.title,
|
|
35
|
+
supportingText = _a.supportingText,
|
|
36
|
+
_b = _a.color,
|
|
37
|
+
color = _b === void 0 ? 'neutral' : _b,
|
|
38
|
+
onClose = _a.onClose,
|
|
39
|
+
className = _a.className,
|
|
40
|
+
actions = _a.actions,
|
|
41
|
+
rest = __rest(_a, ["title", "supportingText", "color", "onClose", "className", "actions"]);
|
|
42
|
+
var iconColor = color;
|
|
43
|
+
var featuredIconProps = {
|
|
44
|
+
name: iconNameMap[color],
|
|
45
|
+
size: 'sm',
|
|
46
|
+
color: iconColor,
|
|
47
|
+
theme: 'dark-circle'
|
|
48
|
+
};
|
|
49
|
+
var isMobile = useMediaQuery(MEDIA_QUERY.mobile, {
|
|
50
|
+
onMatched: onClose
|
|
51
|
+
});
|
|
52
|
+
return _jsxs("div", __assign({
|
|
53
|
+
ref: ref,
|
|
54
|
+
className: classNames('ncua-floating-notification', "ncua-floating-notification--".concat(color), className),
|
|
55
|
+
role: "alert"
|
|
56
|
+
}, rest, {
|
|
57
|
+
children: [_jsx("div", __assign({
|
|
58
|
+
className: "ncua-floating-notification__content"
|
|
59
|
+
}, {
|
|
60
|
+
children: _jsxs("div", __assign({
|
|
61
|
+
className: "ncua-floating-notification__container"
|
|
62
|
+
}, {
|
|
63
|
+
children: [iconNameMap[color] && _jsx(FeaturedIcon, __assign({}, featuredIconProps, {
|
|
64
|
+
size: isMobile ? 'md' : 'sm'
|
|
65
|
+
})), _jsxs("div", __assign({
|
|
66
|
+
className: "ncua-floating-notification__text-container"
|
|
67
|
+
}, {
|
|
68
|
+
children: [_jsx("div", __assign({
|
|
69
|
+
className: "ncua-floating-notification__title-wrapper"
|
|
70
|
+
}, {
|
|
71
|
+
children: _jsx("span", __assign({
|
|
72
|
+
className: "ncua-floating-notification__title"
|
|
73
|
+
}, {
|
|
74
|
+
children: title
|
|
75
|
+
}))
|
|
76
|
+
})), supportingText && _jsx("span", __assign({
|
|
77
|
+
className: "ncua-floating-notification__supporting-text"
|
|
78
|
+
}, {
|
|
79
|
+
children: supportingText
|
|
80
|
+
})), actions && _jsx("div", __assign({
|
|
81
|
+
className: "ncua-floating-notification__actions"
|
|
82
|
+
}, {
|
|
83
|
+
children: actions.map(function (action) {
|
|
84
|
+
return _jsx(Button, {
|
|
85
|
+
size: "xs",
|
|
86
|
+
hierarchy: action.hierarchy || 'link',
|
|
87
|
+
label: action.label,
|
|
88
|
+
onClick: action === null || action === void 0 ? void 0 : action.onClick
|
|
89
|
+
}, "".concat(action.label, "-").concat(action.hierarchy));
|
|
90
|
+
})
|
|
91
|
+
}))]
|
|
92
|
+
}))]
|
|
93
|
+
}))
|
|
94
|
+
})), onClose && _jsx(ButtonCloseX, {
|
|
95
|
+
theme: "light",
|
|
96
|
+
className: "ncua-floating-notification__close-button",
|
|
97
|
+
size: isMobile ? 'sm' : 'xs',
|
|
98
|
+
onClick: onClose
|
|
99
|
+
})]
|
|
100
|
+
}));
|
|
101
|
+
});
|
|
@@ -0,0 +1,112 @@
|
|
|
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 Icon from '@ncds/ui-admin-icon';
|
|
21
|
+
import classNames from 'classnames';
|
|
22
|
+
import { forwardRef } from 'react';
|
|
23
|
+
import { COLOR } from '../../../constant/color';
|
|
24
|
+
var iconNameMap = {
|
|
25
|
+
neutral: 'message-chat-square',
|
|
26
|
+
error: 'alert-triangle',
|
|
27
|
+
warning: 'alert-triangle',
|
|
28
|
+
success: 'check-circle'
|
|
29
|
+
};
|
|
30
|
+
var iconColorMap = {
|
|
31
|
+
neutral: 'gray700',
|
|
32
|
+
error: 'red500',
|
|
33
|
+
warning: 'orange500',
|
|
34
|
+
success: 'green600'
|
|
35
|
+
};
|
|
36
|
+
export var FullWidthNotification = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
37
|
+
var title = _a.title,
|
|
38
|
+
supportingText = _a.supportingText,
|
|
39
|
+
_b = _a.color,
|
|
40
|
+
color = _b === void 0 ? 'neutral' : _b,
|
|
41
|
+
onClose = _a.onClose,
|
|
42
|
+
className = _a.className,
|
|
43
|
+
actions = _a.actions,
|
|
44
|
+
rest = __rest(_a, ["title", "supportingText", "color", "onClose", "className", "actions"]);
|
|
45
|
+
var closeIconSize = {
|
|
46
|
+
width: 20,
|
|
47
|
+
height: 20
|
|
48
|
+
};
|
|
49
|
+
return _jsx("div", __assign({
|
|
50
|
+
ref: ref,
|
|
51
|
+
className: classNames('ncua-full-width-notification', "ncua-full-width-notification--".concat(color), className),
|
|
52
|
+
role: "alert"
|
|
53
|
+
}, rest, {
|
|
54
|
+
children: _jsx("div", __assign({
|
|
55
|
+
className: "ncua-full-width-notification__container"
|
|
56
|
+
}, {
|
|
57
|
+
children: _jsxs("div", __assign({
|
|
58
|
+
className: "ncua-full-width-notification__content"
|
|
59
|
+
}, {
|
|
60
|
+
children: [_jsxs("div", __assign({
|
|
61
|
+
className: "ncua-full-width-notification__content-wrapper"
|
|
62
|
+
}, {
|
|
63
|
+
children: [_jsx(Icon, {
|
|
64
|
+
name: iconNameMap[color],
|
|
65
|
+
width: 16,
|
|
66
|
+
height: 16,
|
|
67
|
+
color: COLOR[iconColorMap[color]],
|
|
68
|
+
className: "ncua-full-width-notification__icon"
|
|
69
|
+
}), _jsxs("div", __assign({
|
|
70
|
+
className: "ncua-full-width-notification__text-container"
|
|
71
|
+
}, {
|
|
72
|
+
children: [_jsx("span", __assign({
|
|
73
|
+
className: "ncua-full-width-notification__title"
|
|
74
|
+
}, {
|
|
75
|
+
children: title
|
|
76
|
+
})), supportingText && _jsx("span", __assign({
|
|
77
|
+
className: "ncua-full-width-notification__supporting-text"
|
|
78
|
+
}, {
|
|
79
|
+
children: supportingText
|
|
80
|
+
}))]
|
|
81
|
+
}))]
|
|
82
|
+
})), _jsxs("div", __assign({
|
|
83
|
+
className: "ncua-full-width-notification__actions-container"
|
|
84
|
+
}, {
|
|
85
|
+
children: [actions && _jsx("div", __assign({
|
|
86
|
+
className: "ncua-full-width-notification__actions"
|
|
87
|
+
}, {
|
|
88
|
+
children: actions.map(function (action) {
|
|
89
|
+
return _jsx("button", __assign({
|
|
90
|
+
onClick: action.onClick,
|
|
91
|
+
className: classNames('ncua-notification__action-button', "ncua-notification__action-button--".concat(action.hierarchy || 'link'))
|
|
92
|
+
}, {
|
|
93
|
+
children: action.label
|
|
94
|
+
}), "".concat(action.label, "-").concat(action.hierarchy));
|
|
95
|
+
})
|
|
96
|
+
})), onClose && _jsx("button", __assign({
|
|
97
|
+
type: "button",
|
|
98
|
+
className: "ncua-full-width-notification__close-button",
|
|
99
|
+
onClick: onClose,
|
|
100
|
+
"aria-label": "\uC54C\uB9BC \uB2EB\uAE30"
|
|
101
|
+
}, {
|
|
102
|
+
children: _jsx(Icon, __assign({
|
|
103
|
+
name: "x-close"
|
|
104
|
+
}, closeIconSize, {
|
|
105
|
+
color: COLOR[iconColorMap[color]]
|
|
106
|
+
}))
|
|
107
|
+
}))]
|
|
108
|
+
}))]
|
|
109
|
+
}))
|
|
110
|
+
}))
|
|
111
|
+
}));
|
|
112
|
+
});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
12
|
+
var t = {};
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
14
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
15
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
16
|
+
}
|
|
17
|
+
return t;
|
|
18
|
+
};
|
|
19
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
|
+
import { forwardRef } from 'react';
|
|
21
|
+
import { FloatingNotification } from './FloatingNotification';
|
|
22
|
+
import { FullWidthNotification } from './FullWidthNotification';
|
|
23
|
+
export var Notification = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
24
|
+
var _b = _a.type,
|
|
25
|
+
type = _b === void 0 ? 'floating' : _b,
|
|
26
|
+
_c = _a.color,
|
|
27
|
+
color = _c === void 0 ? 'neutral' : _c,
|
|
28
|
+
rest = __rest(_a, ["type", "color"]);
|
|
29
|
+
return type === 'floating' ? _jsx(FloatingNotification, __assign({
|
|
30
|
+
color: color
|
|
31
|
+
}, rest, {
|
|
32
|
+
ref: ref
|
|
33
|
+
})) : _jsx(FullWidthNotification, __assign({
|
|
34
|
+
color: color
|
|
35
|
+
}, rest, {
|
|
36
|
+
ref: ref
|
|
37
|
+
}));
|
|
38
|
+
});
|
|
39
|
+
Notification.displayName = 'Notification';
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { Button } from '../button/Button';
|
|
13
|
+
var NAV_BUTTON_CONFIG = {
|
|
14
|
+
first: {
|
|
15
|
+
label: '처음',
|
|
16
|
+
className: 'ncua-pagination__first',
|
|
17
|
+
getIcon: function (isPC) {
|
|
18
|
+
return 'chevron-left-double';
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
prev: {
|
|
22
|
+
label: '이전',
|
|
23
|
+
className: 'ncua-pagination__before',
|
|
24
|
+
getIcon: function (isPC) {
|
|
25
|
+
return isPC ? 'chevron-left' : 'arrow-left';
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
next: {
|
|
29
|
+
label: '다음',
|
|
30
|
+
className: 'ncua-pagination__next',
|
|
31
|
+
getIcon: function (isPC) {
|
|
32
|
+
return isPC ? 'chevron-right' : 'arrow-right';
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
last: {
|
|
36
|
+
label: '마지막',
|
|
37
|
+
className: 'ncua-pagination__last',
|
|
38
|
+
getIcon: function (isPC) {
|
|
39
|
+
return 'chevron-right-double';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
export var NavButton = function (_a) {
|
|
44
|
+
var type = _a.type,
|
|
45
|
+
as = _a.as,
|
|
46
|
+
breakPoint = _a.breakPoint,
|
|
47
|
+
noPrev = _a.noPrev,
|
|
48
|
+
noNext = _a.noNext,
|
|
49
|
+
href = _a.href,
|
|
50
|
+
target = _a.target,
|
|
51
|
+
onClick = _a.onClick;
|
|
52
|
+
var config = NAV_BUTTON_CONFIG[type];
|
|
53
|
+
var isNavigationButton = type === 'first' || type === 'prev' || type === 'next' || type === 'last';
|
|
54
|
+
var isFirstOrPrev = type === 'first' || type === 'prev';
|
|
55
|
+
var isNextOrLast = type === 'next' || type === 'last';
|
|
56
|
+
var disabled = isFirstOrPrev ? noPrev : isNextOrLast ? noNext : false;
|
|
57
|
+
var isPC = breakPoint === 'pc';
|
|
58
|
+
// key를 제외한 공통 props
|
|
59
|
+
var buttonProps = {
|
|
60
|
+
label: config.label,
|
|
61
|
+
className: config.className,
|
|
62
|
+
onlyIcon: true,
|
|
63
|
+
leadingIcon: {
|
|
64
|
+
type: 'icon',
|
|
65
|
+
icon: config.getIcon(isPC),
|
|
66
|
+
color: disabled ? 'gray200' : 'gray700',
|
|
67
|
+
size: isPC ? 16 : 20
|
|
68
|
+
},
|
|
69
|
+
hierarchy: 'secondary-gray',
|
|
70
|
+
size: isPC ? 'xs' : 'sm',
|
|
71
|
+
disabled: disabled,
|
|
72
|
+
onClick: onClick
|
|
73
|
+
};
|
|
74
|
+
// key 값 별도 계산
|
|
75
|
+
var buttonKey = isNavigationButton ? "".concat(breakPoint, "-").concat(type) : undefined;
|
|
76
|
+
if (as === 'a') {
|
|
77
|
+
return _jsx(Button, __assign({
|
|
78
|
+
as: "a",
|
|
79
|
+
href: href,
|
|
80
|
+
target: target
|
|
81
|
+
}, buttonProps), buttonKey);
|
|
82
|
+
}
|
|
83
|
+
return _jsx(Button, __assign({
|
|
84
|
+
as: "button"
|
|
85
|
+
}, buttonProps), buttonKey);
|
|
86
|
+
};
|
|
@@ -0,0 +1,153 @@
|
|
|
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 { Fragment as _Fragment, jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
20
|
+
import classNames from 'classnames';
|
|
21
|
+
import { isFunction, range, uniqueId } from 'lodash-es';
|
|
22
|
+
import { useEffect, useState } from 'react';
|
|
23
|
+
import { NavButton } from './NavButton';
|
|
24
|
+
// 네비게이션 버튼 설정
|
|
25
|
+
export var Pagination = function (_a) {
|
|
26
|
+
var _b = _a.className,
|
|
27
|
+
className = _b === void 0 ? '' : _b,
|
|
28
|
+
totalCount = _a.totalCount,
|
|
29
|
+
_c = _a.itemCountPerPage,
|
|
30
|
+
itemCountPerPage = _c === void 0 ? 10 : _c,
|
|
31
|
+
_d = _a.pageCount,
|
|
32
|
+
pageCount = _d === void 0 ? 10 : _d,
|
|
33
|
+
currentPage = _a.currentPage,
|
|
34
|
+
_e = _a.as,
|
|
35
|
+
as = _e === void 0 ? 'button' : _e,
|
|
36
|
+
_f = _a.breakPoint,
|
|
37
|
+
breakPoint = _f === void 0 ? 'pc' : _f,
|
|
38
|
+
onPageChange = _a.onPageChange,
|
|
39
|
+
restProps = __rest(_a, ["className", "totalCount", "itemCountPerPage", "pageCount", "currentPage", "as", "breakPoint", "onPageChange"]);
|
|
40
|
+
var totalPage = Math.ceil(totalCount / itemCountPerPage);
|
|
41
|
+
var _g = useState(1),
|
|
42
|
+
start = _g[0],
|
|
43
|
+
setStart = _g[1];
|
|
44
|
+
var noPrev = start === 1;
|
|
45
|
+
var noNext = start + pageCount - 1 >= totalPage;
|
|
46
|
+
var showJumpPageButton = totalPage > pageCount;
|
|
47
|
+
var handleClickButton = function (pageNum) {
|
|
48
|
+
if (isFunction(onPageChange)) {
|
|
49
|
+
onPageChange(pageNum);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
useEffect(function () {
|
|
53
|
+
if (currentPage === start + pageCount) {
|
|
54
|
+
setStart(start + pageCount);
|
|
55
|
+
}
|
|
56
|
+
if (currentPage > start + pageCount) {
|
|
57
|
+
var newStart = Math.floor((currentPage - 1) / pageCount) * pageCount + 1;
|
|
58
|
+
setStart(newStart);
|
|
59
|
+
}
|
|
60
|
+
if (currentPage < start) {
|
|
61
|
+
setStart(start - pageCount);
|
|
62
|
+
}
|
|
63
|
+
if (currentPage === 1) {
|
|
64
|
+
setStart(1);
|
|
65
|
+
}
|
|
66
|
+
if (currentPage === totalPage) {
|
|
67
|
+
var lastGroupStart = Math.max(1, totalPage - pageCount + 1);
|
|
68
|
+
setStart(lastGroupStart);
|
|
69
|
+
}
|
|
70
|
+
}, [currentPage]);
|
|
71
|
+
return _jsx(_Fragment, {
|
|
72
|
+
children: _jsxs("div", __assign({
|
|
73
|
+
className: classNames('ncua-pagination', "ncua-pagination--".concat(breakPoint), className)
|
|
74
|
+
}, {
|
|
75
|
+
children: [showJumpPageButton && _jsxs(_Fragment, {
|
|
76
|
+
children: [NavButton({
|
|
77
|
+
type: 'first',
|
|
78
|
+
as: as,
|
|
79
|
+
breakPoint: breakPoint,
|
|
80
|
+
noPrev: noPrev,
|
|
81
|
+
noNext: noNext,
|
|
82
|
+
href: restProps.href || '',
|
|
83
|
+
target: restProps.target || '',
|
|
84
|
+
onClick: function () {
|
|
85
|
+
return handleClickButton(1);
|
|
86
|
+
}
|
|
87
|
+
}), NavButton({
|
|
88
|
+
type: 'prev',
|
|
89
|
+
as: as,
|
|
90
|
+
breakPoint: breakPoint,
|
|
91
|
+
noPrev: noPrev,
|
|
92
|
+
noNext: noNext,
|
|
93
|
+
href: restProps.href || '',
|
|
94
|
+
target: restProps.target || '',
|
|
95
|
+
onClick: function () {
|
|
96
|
+
return handleClickButton(Math.max(start - pageCount, 1));
|
|
97
|
+
}
|
|
98
|
+
})]
|
|
99
|
+
}), _jsx("ul", __assign({
|
|
100
|
+
className: "ncua-pagination__list"
|
|
101
|
+
}, {
|
|
102
|
+
children: range(start, Math.min(totalPage + 1, start + pageCount)).map(function (pageNumber, i) {
|
|
103
|
+
return _jsx("li", __assign({
|
|
104
|
+
className: "ncua-pagination__item"
|
|
105
|
+
}, {
|
|
106
|
+
children: _jsx("button", __assign({
|
|
107
|
+
className: classNames('ncua-pagination__page-num', {
|
|
108
|
+
'is-current': pageNumber === currentPage
|
|
109
|
+
}),
|
|
110
|
+
onClick: function () {
|
|
111
|
+
return handleClickButton(start + i);
|
|
112
|
+
}
|
|
113
|
+
}, restProps, {
|
|
114
|
+
children: start + i
|
|
115
|
+
}))
|
|
116
|
+
}), uniqueId('ncua-pagination__page-num'));
|
|
117
|
+
})
|
|
118
|
+
})), _jsxs("p", __assign({
|
|
119
|
+
className: "ncua-pagination__page-info"
|
|
120
|
+
}, {
|
|
121
|
+
children: [_jsx("em", __assign({
|
|
122
|
+
className: "ncua-pagination__current-num"
|
|
123
|
+
}, {
|
|
124
|
+
children: currentPage
|
|
125
|
+
})), " / ", totalPage]
|
|
126
|
+
})), showJumpPageButton && _jsxs(_Fragment, {
|
|
127
|
+
children: [NavButton({
|
|
128
|
+
type: 'next',
|
|
129
|
+
as: as,
|
|
130
|
+
breakPoint: breakPoint,
|
|
131
|
+
noPrev: noPrev,
|
|
132
|
+
noNext: noNext,
|
|
133
|
+
href: restProps.href || '',
|
|
134
|
+
target: restProps.target || '',
|
|
135
|
+
onClick: function () {
|
|
136
|
+
return handleClickButton(Math.min(start + pageCount, totalPage));
|
|
137
|
+
}
|
|
138
|
+
}), NavButton({
|
|
139
|
+
type: 'last',
|
|
140
|
+
as: as,
|
|
141
|
+
breakPoint: breakPoint,
|
|
142
|
+
noPrev: noPrev,
|
|
143
|
+
noNext: noNext,
|
|
144
|
+
href: restProps.href || '',
|
|
145
|
+
target: restProps.target || '',
|
|
146
|
+
onClick: function () {
|
|
147
|
+
return handleClickButton(totalPage);
|
|
148
|
+
}
|
|
149
|
+
})]
|
|
150
|
+
})]
|
|
151
|
+
}))
|
|
152
|
+
});
|
|
153
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
export var ProgressBar = function (_a) {
|
|
13
|
+
var label = _a.label,
|
|
14
|
+
value = _a.value;
|
|
15
|
+
var limitedValue = Math.min(Math.max(0, value), 100);
|
|
16
|
+
var displayValue = "".concat(limitedValue.toFixed(0), "%");
|
|
17
|
+
var progressValueStyle = label === 'top-float' || label === 'bottom-float' ? {
|
|
18
|
+
'--progress-value': "".concat(limitedValue, "%")
|
|
19
|
+
} : undefined;
|
|
20
|
+
var renderLabel = function (labelType) {
|
|
21
|
+
return _jsx("span", __assign({
|
|
22
|
+
className: "ncua-progress-bar__label ncua-progress-bar__label-".concat(labelType)
|
|
23
|
+
}, {
|
|
24
|
+
children: displayValue
|
|
25
|
+
}));
|
|
26
|
+
};
|
|
27
|
+
var isFloatingLabel = label === 'top-float' || label === 'bottom-float';
|
|
28
|
+
return _jsxs("div", __assign({
|
|
29
|
+
className: "ncua-progress-bar ncua-progress-bar-".concat(label),
|
|
30
|
+
style: progressValueStyle
|
|
31
|
+
}, {
|
|
32
|
+
children: [isFloatingLabel && renderLabel(label), _jsxs("div", __assign({
|
|
33
|
+
className: "ncua-progress-bar__content"
|
|
34
|
+
}, {
|
|
35
|
+
children: [_jsx("div", __assign({
|
|
36
|
+
className: "ncua-progress-bar__bar"
|
|
37
|
+
}, {
|
|
38
|
+
children: _jsx("div", {
|
|
39
|
+
className: "ncua-progress-bar__fill",
|
|
40
|
+
style: {
|
|
41
|
+
width: "".concat(limitedValue, "%")
|
|
42
|
+
},
|
|
43
|
+
"aria-valuenow": limitedValue,
|
|
44
|
+
"aria-valuemin": 0,
|
|
45
|
+
"aria-valuemax": 100
|
|
46
|
+
})
|
|
47
|
+
})), label === 'right' && renderLabel('right')]
|
|
48
|
+
})), label === 'bottom' && renderLabel('bottom')]
|
|
49
|
+
}));
|
|
50
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ProgressBar';
|
|
@@ -0,0 +1,114 @@
|
|
|
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
|
+
export var ProgressCircle = function (_a) {
|
|
13
|
+
var size = _a.size,
|
|
14
|
+
label = _a.label,
|
|
15
|
+
value = _a.value,
|
|
16
|
+
_b = _a.theme,
|
|
17
|
+
theme = _b === void 0 ? 'circle' : _b;
|
|
18
|
+
var limitedValue = Math.min(Math.max(0, value), 100);
|
|
19
|
+
if (theme === 'circle') {
|
|
20
|
+
return _jsxs("div", __assign({
|
|
21
|
+
className: "ncua-progress-circle ncua-progress-circle-".concat(size, " ncua-progress-circle-").concat(theme)
|
|
22
|
+
}, {
|
|
23
|
+
children: [_jsxs("div", __assign({
|
|
24
|
+
className: "ncua-progress-circle__content"
|
|
25
|
+
}, {
|
|
26
|
+
children: [_jsxs("svg", __assign({
|
|
27
|
+
className: "ncua-progress-circle__svg",
|
|
28
|
+
viewBox: "0 0 100 100"
|
|
29
|
+
}, {
|
|
30
|
+
children: [_jsx("circle", {
|
|
31
|
+
className: "ncua-progress-circle__background",
|
|
32
|
+
cx: "50",
|
|
33
|
+
cy: "50",
|
|
34
|
+
r: "45",
|
|
35
|
+
strokeWidth: "10",
|
|
36
|
+
fill: "none"
|
|
37
|
+
}), _jsx("circle", {
|
|
38
|
+
className: "ncua-progress-circle__progress",
|
|
39
|
+
cx: "50",
|
|
40
|
+
cy: "50",
|
|
41
|
+
r: "45",
|
|
42
|
+
strokeWidth: "10",
|
|
43
|
+
fill: "none",
|
|
44
|
+
strokeDasharray: "var(--circle-circumference)",
|
|
45
|
+
strokeDashoffset: "calc(var(--circle-circumference) * (1 - ".concat(limitedValue, " / 100))"),
|
|
46
|
+
transform: "rotate(-90 50 50)",
|
|
47
|
+
strokeLinecap: "round"
|
|
48
|
+
})]
|
|
49
|
+
})), _jsxs("div", __assign({
|
|
50
|
+
className: "ncua-progress-circle__label-container"
|
|
51
|
+
}, {
|
|
52
|
+
children: [size !== 'xxs' && label && _jsx("div", __assign({
|
|
53
|
+
className: "ncua-progress-circle__label-text"
|
|
54
|
+
}, {
|
|
55
|
+
children: label
|
|
56
|
+
})), _jsx("div", __assign({
|
|
57
|
+
className: "ncua-progress-circle__label"
|
|
58
|
+
}, {
|
|
59
|
+
children: "".concat(limitedValue, "%")
|
|
60
|
+
}))]
|
|
61
|
+
}))]
|
|
62
|
+
})), size === 'xxs' && label && _jsx("div", __assign({
|
|
63
|
+
className: "ncua-progress-circle__outside-label"
|
|
64
|
+
}, {
|
|
65
|
+
children: label
|
|
66
|
+
}))]
|
|
67
|
+
}));
|
|
68
|
+
} else {
|
|
69
|
+
return _jsxs("div", __assign({
|
|
70
|
+
className: "ncua-progress-circle ncua-progress-circle-".concat(size, " ncua-progress-circle-").concat(theme)
|
|
71
|
+
}, {
|
|
72
|
+
children: [_jsxs("div", __assign({
|
|
73
|
+
className: "ncua-progress-circle__content"
|
|
74
|
+
}, {
|
|
75
|
+
children: [_jsxs("svg", __assign({
|
|
76
|
+
className: "ncua-progress-circle__svg",
|
|
77
|
+
viewBox: "0 0 100 50"
|
|
78
|
+
}, {
|
|
79
|
+
children: [_jsx("path", {
|
|
80
|
+
className: "ncua-progress-circle__background",
|
|
81
|
+
d: "M 5 50 A 45 45 0 0 1 95 50",
|
|
82
|
+
strokeWidth: "10",
|
|
83
|
+
fill: "none",
|
|
84
|
+
strokeLinecap: "round"
|
|
85
|
+
}), _jsx("path", {
|
|
86
|
+
className: "ncua-progress-circle__progress",
|
|
87
|
+
d: "M 5 50 A 45 45 0 0 1 95 50",
|
|
88
|
+
strokeWidth: "10",
|
|
89
|
+
fill: "none",
|
|
90
|
+
strokeDasharray: "var(--half-circle-circumference)",
|
|
91
|
+
strokeDashoffset: "calc(var(--half-circle-circumference) * (1 - ".concat(limitedValue, " / 100))"),
|
|
92
|
+
strokeLinecap: "round"
|
|
93
|
+
})]
|
|
94
|
+
})), _jsxs("div", __assign({
|
|
95
|
+
className: "ncua-progress-circle__label-container"
|
|
96
|
+
}, {
|
|
97
|
+
children: [size !== 'xxs' && label && _jsx("div", __assign({
|
|
98
|
+
className: "ncua-progress-circle__label-text"
|
|
99
|
+
}, {
|
|
100
|
+
children: label
|
|
101
|
+
})), _jsx("div", __assign({
|
|
102
|
+
className: "ncua-progress-circle__label"
|
|
103
|
+
}, {
|
|
104
|
+
children: "".concat(limitedValue, "%")
|
|
105
|
+
}))]
|
|
106
|
+
}))]
|
|
107
|
+
})), size === 'xxs' && label && _jsx("div", __assign({
|
|
108
|
+
className: "ncua-progress-circle__outside-label"
|
|
109
|
+
}, {
|
|
110
|
+
children: label
|
|
111
|
+
}))]
|
|
112
|
+
}));
|
|
113
|
+
}
|
|
114
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ProgressCircle';
|