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