@1money/component-ui 0.0.49 → 0.0.50
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/es/components/Accordion/Accordion.d.ts +4 -0
- package/es/components/Accordion/Accordion.js +98 -0
- package/es/components/Accordion/constants.d.ts +16 -0
- package/es/components/Accordion/constants.js +17 -0
- package/es/components/Accordion/index.d.ts +4 -0
- package/es/components/Accordion/index.js +5 -0
- package/es/components/Accordion/interface.d.ts +29 -0
- package/es/components/Accordion/interface.js +2 -0
- package/es/components/Accordion/style/Accordion.css +94 -0
- package/es/components/Accordion/style/css.js +2 -0
- package/es/components/Accordion/style/index.d.ts +1 -0
- package/es/components/Accordion/style/index.js +2 -0
- package/es/components/Alert/Alert.d.ts +6 -0
- package/es/components/Alert/Alert.js +111 -0
- package/es/components/Alert/index.d.ts +4 -0
- package/es/components/Alert/index.js +5 -0
- package/es/components/Alert/interface.d.ts +42 -0
- package/es/components/Alert/interface.js +6 -0
- package/es/components/Alert/style/Alert.css +101 -0
- package/es/components/Alert/style/css.js +3 -0
- package/es/components/Alert/style/index.d.ts +2 -0
- package/es/components/Alert/style/index.js +3 -0
- package/es/components/Button/Button.d.ts +4 -0
- package/es/components/Button/Button.js +149 -0
- package/es/components/Button/constants.d.ts +70 -0
- package/es/components/Button/constants.js +90 -0
- package/es/components/Button/index.d.ts +5 -0
- package/es/components/Button/index.js +6 -0
- package/es/components/Button/interface.d.ts +23 -0
- package/es/components/Button/interface.js +2 -0
- package/es/components/Button/style/Button.css +178 -0
- package/es/components/Button/style/css.js +2 -0
- package/es/components/Button/style/index.d.ts +1 -0
- package/es/components/Button/style/index.js +2 -0
- package/es/components/Calendar/Calendar.d.ts +7 -0
- package/es/components/Calendar/Calendar.js +127 -0
- package/es/components/Calendar/index.d.ts +4 -0
- package/es/components/Calendar/index.js +5 -0
- package/es/components/Calendar/interface.d.ts +29 -0
- package/es/components/Calendar/interface.js +2 -0
- package/es/components/Calendar/style/Calendar.css +400 -0
- package/es/components/Calendar/style/css.js +2 -0
- package/es/components/Calendar/style/index.d.ts +1 -0
- package/es/components/Calendar/style/index.js +2 -0
- package/es/components/Carousel/Carousel.d.ts +6 -0
- package/es/components/Carousel/Carousel.js +46 -0
- package/es/components/Carousel/index.d.ts +4 -0
- package/es/components/Carousel/index.js +5 -0
- package/es/components/Carousel/interface.d.ts +15 -0
- package/es/components/Carousel/interface.js +2 -0
- package/es/components/Carousel/style/Carousel.css +57 -0
- package/es/components/Carousel/style/css.js +2 -0
- package/es/components/Carousel/style/index.d.ts +1 -0
- package/es/components/Carousel/style/index.js +2 -0
- package/es/components/Cell/Cell.d.ts +5 -0
- package/es/components/Cell/Cell.js +57 -0
- package/es/components/Cell/index.d.ts +4 -0
- package/es/components/Cell/index.js +5 -0
- package/es/components/Cell/interface.d.ts +12 -0
- package/es/components/Cell/interface.js +2 -0
- package/es/components/Cell/style/Cell.css +80 -0
- package/es/components/Cell/style/css.js +2 -0
- package/es/components/Cell/style/index.d.ts +1 -0
- package/es/components/Cell/style/index.js +2 -0
- package/es/components/Checkbox/BaseCheckbox.d.ts +6 -0
- package/es/components/Checkbox/BaseCheckbox.js +84 -0
- package/es/components/Checkbox/Checkbox.d.ts +6 -0
- package/es/components/Checkbox/Checkbox.js +122 -0
- package/es/components/Checkbox/CheckboxGroup.d.ts +5 -0
- package/es/components/Checkbox/CheckboxGroup.js +141 -0
- package/es/components/Checkbox/CheckboxGroupContext.d.ts +14 -0
- package/es/components/Checkbox/CheckboxGroupContext.js +3 -0
- package/es/components/Checkbox/constants.d.ts +17 -0
- package/es/components/Checkbox/constants.js +17 -0
- package/es/components/Checkbox/index.d.ts +10 -0
- package/es/components/Checkbox/index.js +11 -0
- package/es/components/Checkbox/interface.d.ts +77 -0
- package/es/components/Checkbox/interface.js +2 -0
- package/es/components/Checkbox/style/Checkbox.css +191 -0
- package/es/components/Checkbox/style/css.js +2 -0
- package/es/components/Checkbox/style/index.d.ts +1 -0
- package/es/components/Checkbox/style/index.js +2 -0
- package/es/components/CoachMark/CoachMark.d.ts +4 -0
- package/es/components/CoachMark/CoachMark.js +142 -0
- package/es/components/CoachMark/index.d.ts +4 -0
- package/es/components/CoachMark/index.js +5 -0
- package/es/components/CoachMark/interface.d.ts +47 -0
- package/es/components/CoachMark/interface.js +2 -0
- package/es/components/CoachMark/style/CoachMark.css +156 -0
- package/es/components/CoachMark/style/css.js +5 -0
- package/es/components/CoachMark/style/index.d.ts +4 -0
- package/es/components/CoachMark/style/index.js +5 -0
- package/es/components/Copy/Clipboard.d.ts +4 -0
- package/es/components/Copy/Clipboard.js +44 -0
- package/es/components/Copy/Copy.d.ts +4 -0
- package/es/components/Copy/Copy.js +81 -0
- package/es/components/Copy/index.d.ts +5 -0
- package/es/components/Copy/index.js +6 -0
- package/es/components/Copy/interface.d.ts +38 -0
- package/es/components/Copy/interface.js +2 -0
- package/es/components/Copy/style/Clipboard.css +45 -0
- package/es/components/Copy/style/Copy.css +48 -0
- package/es/components/Copy/style/css.js +3 -0
- package/es/components/Copy/style/index.d.ts +2 -0
- package/es/components/Copy/style/index.js +3 -0
- package/es/components/Dialog/Dialog.d.ts +4 -0
- package/es/components/Dialog/Dialog.js +361 -0
- package/es/components/Dialog/constants.d.ts +57 -0
- package/es/components/Dialog/constants.js +54 -0
- package/es/components/Dialog/index.d.ts +4 -0
- package/es/components/Dialog/index.js +5 -0
- package/es/components/Dialog/interface.d.ts +36 -0
- package/es/components/Dialog/interface.js +2 -0
- package/es/components/Dialog/style/Dialog.css +204 -0
- package/es/components/Dialog/style/css.js +2 -0
- package/es/components/Dialog/style/index.d.ts +1 -0
- package/es/components/Dialog/style/index.js +2 -0
- package/es/components/Divider/Divider.d.ts +4 -0
- package/es/components/Divider/Divider.js +50 -0
- package/es/components/Divider/constants.d.ts +36 -0
- package/es/components/Divider/constants.js +41 -0
- package/es/components/Divider/index.d.ts +4 -0
- package/es/components/Divider/index.js +5 -0
- package/es/components/Divider/interface.d.ts +19 -0
- package/es/components/Divider/interface.js +2 -0
- package/es/components/Divider/style/Divider.css +128 -0
- package/es/components/Divider/style/css.js +2 -0
- package/es/components/Divider/style/index.d.ts +1 -0
- package/es/components/Divider/style/index.js +2 -0
- package/es/components/Drawer/Drawer.d.ts +4 -0
- package/es/components/Drawer/Drawer.js +155 -0
- package/es/components/Drawer/constants.d.ts +18 -0
- package/es/components/Drawer/constants.js +19 -0
- package/es/components/Drawer/hooks/index.d.ts +4 -0
- package/es/components/Drawer/hooks/index.js +5 -0
- package/es/components/Drawer/hooks/useBodyScrollLock.d.ts +1 -0
- package/es/components/Drawer/hooks/useBodyScrollLock.js +29 -0
- package/es/components/Drawer/hooks/useDialogFocus.d.ts +2 -0
- package/es/components/Drawer/hooks/useDialogFocus.js +22 -0
- package/es/components/Drawer/hooks/useDrawerTransition.d.ts +4 -0
- package/es/components/Drawer/hooks/useDrawerTransition.js +57 -0
- package/es/components/Drawer/hooks/useEscapeClose.d.ts +1 -0
- package/es/components/Drawer/hooks/useEscapeClose.js +16 -0
- package/es/components/Drawer/index.d.ts +3 -0
- package/es/components/Drawer/index.js +4 -0
- package/es/components/Drawer/interface.d.ts +79 -0
- package/es/components/Drawer/interface.js +2 -0
- package/es/components/Drawer/style/Drawer.css +145 -0
- package/es/components/Drawer/style/css.js +2 -0
- package/es/components/Drawer/style/index.d.ts +1 -0
- package/es/components/Drawer/style/index.js +2 -0
- package/es/components/Dropdown/Dropdown.d.ts +5 -0
- package/es/components/Dropdown/Dropdown.js +32 -0
- package/es/components/Dropdown/index.d.ts +3 -0
- package/es/components/Dropdown/index.js +4 -0
- package/es/components/Dropdown/interface.d.ts +8 -0
- package/es/components/Dropdown/interface.js +2 -0
- package/es/components/Dropdown/style/Dropdown.css +48 -0
- package/es/components/Dropdown/style/css.js +3 -0
- package/es/components/Dropdown/style/index.d.ts +2 -0
- package/es/components/Dropdown/style/index.js +3 -0
- package/es/components/Empty/Empty.d.ts +6 -0
- package/es/components/Empty/Empty.js +68 -0
- package/es/components/Empty/index.d.ts +4 -0
- package/es/components/Empty/index.js +5 -0
- package/es/components/Empty/interface.d.ts +11 -0
- package/es/components/Empty/interface.js +2 -0
- package/es/components/Empty/style/Empty.css +58 -0
- package/es/components/Empty/style/css.js +3 -0
- package/es/components/Empty/style/index.d.ts +2 -0
- package/es/components/Empty/style/index.js +3 -0
- package/es/components/Flex/Flex.d.ts +5 -0
- package/es/components/Flex/Flex.js +50 -0
- package/es/components/Flex/constants.d.ts +41 -0
- package/es/components/Flex/constants.js +45 -0
- package/es/components/Flex/index.d.ts +5 -0
- package/es/components/Flex/index.js +6 -0
- package/es/components/Flex/interface.d.ts +13 -0
- package/es/components/Flex/interface.js +2 -0
- package/es/components/Flex/style/Flex.css +71 -0
- package/es/components/Flex/style/css.js +2 -0
- package/es/components/Flex/style/index.d.ts +1 -0
- package/es/components/Flex/style/index.js +2 -0
- package/es/components/Grid/Col.d.ts +4 -0
- package/es/components/Grid/Col.js +83 -0
- package/es/components/Grid/Grid.d.ts +10 -0
- package/es/components/Grid/Grid.js +15 -0
- package/es/components/Grid/Row.d.ts +4 -0
- package/es/components/Grid/Row.js +41 -0
- package/es/components/Grid/constants.d.ts +48 -0
- package/es/components/Grid/constants.js +71 -0
- package/es/components/Grid/helper.d.ts +15 -0
- package/es/components/Grid/helper.js +87 -0
- package/es/components/Grid/index.d.ts +7 -0
- package/es/components/Grid/index.js +8 -0
- package/es/components/Grid/interface.d.ts +38 -0
- package/es/components/Grid/interface.js +2 -0
- package/es/components/Grid/style/Grid.css +952 -0
- package/es/components/Grid/style/css.js +2 -0
- package/es/components/Grid/style/index.d.ts +1 -0
- package/es/components/Grid/style/index.js +2 -0
- package/es/components/Icons/Icons.d.ts +194 -0
- package/es/components/Icons/Icons.js +194 -0
- package/es/components/Icons/Illustrations.d.ts +19 -0
- package/es/components/Icons/Illustrations.js +936 -0
- package/es/components/Icons/Logo.d.ts +36 -0
- package/es/components/Icons/Logo.js +209 -0
- package/es/components/Icons/SVGs.d.ts +267 -0
- package/es/components/Icons/SVGs.js +1928 -0
- package/es/components/Icons/Wrapper.d.ts +6 -0
- package/es/components/Icons/Wrapper.js +100 -0
- package/es/components/Icons/index.d.ts +4 -0
- package/es/components/Icons/index.js +4 -0
- package/es/components/Icons/interface.d.ts +30 -0
- package/es/components/Icons/interface.js +2 -0
- package/es/components/Icons/style/Icons.css +81 -0
- package/es/components/Icons/style/css.js +2 -0
- package/es/components/Icons/style/index.d.ts +1 -0
- package/es/components/Icons/style/index.js +2 -0
- package/es/components/Input/Amount/Amount.d.ts +6 -0
- package/es/components/Input/Amount/Amount.js +199 -0
- package/es/components/Input/Amount/helper.d.ts +35 -0
- package/es/components/Input/Amount/helper.js +95 -0
- package/es/components/Input/Amount/index.d.ts +3 -0
- package/es/components/Input/Amount/index.js +4 -0
- package/es/components/Input/Amount/style/Amount.css +103 -0
- package/es/components/Input/Amount/style/css.js +2 -0
- package/es/components/Input/Amount/style/index.d.ts +1 -0
- package/es/components/Input/Amount/style/index.js +2 -0
- package/es/components/Input/FieldShell/FieldShell.css +76 -0
- package/es/components/Input/FieldShell/FieldShell.d.ts +23 -0
- package/es/components/Input/FieldShell/FieldShell.js +99 -0
- package/es/components/Input/FieldShell/index.d.ts +3 -0
- package/es/components/Input/FieldShell/index.js +3 -0
- package/es/components/Input/Input/Input.css +124 -0
- package/es/components/Input/Input/Input.d.ts +3 -0
- package/es/components/Input/Input/Input.js +170 -0
- package/es/components/Input/Input/index.d.ts +2 -0
- package/es/components/Input/Input/index.js +3 -0
- package/es/components/Input/Mask/Mask.d.ts +5 -0
- package/es/components/Input/Mask/Mask.js +344 -0
- package/es/components/Input/Mask/index.d.ts +2 -0
- package/es/components/Input/Mask/index.js +3 -0
- package/es/components/Input/OTP/OTP.css +79 -0
- package/es/components/Input/OTP/OTP.d.ts +5 -0
- package/es/components/Input/OTP/OTP.js +157 -0
- package/es/components/Input/OTP/index.d.ts +2 -0
- package/es/components/Input/OTP/index.js +3 -0
- package/es/components/Input/Password/Password.d.ts +5 -0
- package/es/components/Input/Password/Password.js +128 -0
- package/es/components/Input/Password/index.d.ts +2 -0
- package/es/components/Input/Password/index.js +3 -0
- package/es/components/Input/Search/Search.d.ts +5 -0
- package/es/components/Input/Search/Search.js +151 -0
- package/es/components/Input/Search/index.d.ts +2 -0
- package/es/components/Input/Search/index.js +3 -0
- package/es/components/Input/TextArea/TextArea.css +93 -0
- package/es/components/Input/TextArea/TextArea.d.ts +5 -0
- package/es/components/Input/TextArea/TextArea.js +100 -0
- package/es/components/Input/TextArea/index.d.ts +2 -0
- package/es/components/Input/TextArea/index.js +3 -0
- package/es/components/Input/Trade/Trade.css +192 -0
- package/es/components/Input/Trade/Trade.d.ts +5 -0
- package/es/components/Input/Trade/Trade.js +133 -0
- package/es/components/Input/Trade/index.d.ts +2 -0
- package/es/components/Input/Trade/index.js +3 -0
- package/es/components/Input/constants.d.ts +15 -0
- package/es/components/Input/constants.js +16 -0
- package/es/components/Input/index.d.ts +4 -0
- package/es/components/Input/index.js +5 -0
- package/es/components/Input/interface.d.ts +156 -0
- package/es/components/Input/interface.js +2 -0
- package/es/components/Input/style/css.js +7 -0
- package/es/components/Input/style/index.d.ts +6 -0
- package/es/components/Input/style/index.js +7 -0
- package/es/components/Input/useAmountInput.d.ts +35 -0
- package/es/components/Input/useAmountInput.js +207 -0
- package/es/components/Input/useSyncRef.d.ts +2 -0
- package/es/components/Input/useSyncRef.js +13 -0
- package/es/components/Link/Link.d.ts +4 -0
- package/es/components/Link/Link.js +57 -0
- package/es/components/Link/constants.d.ts +5 -0
- package/es/components/Link/constants.js +6 -0
- package/es/components/Link/index.d.ts +5 -0
- package/es/components/Link/index.js +6 -0
- package/es/components/Link/interface.d.ts +13 -0
- package/es/components/Link/interface.js +2 -0
- package/es/components/Link/style/Link.css +70 -0
- package/es/components/Link/style/css.js +2 -0
- package/es/components/Link/style/index.d.ts +1 -0
- package/es/components/Link/style/index.js +2 -0
- package/es/components/Navigation/Nav.d.ts +5 -0
- package/es/components/Navigation/Nav.js +200 -0
- package/es/components/Navigation/Navigation.d.ts +5 -0
- package/es/components/Navigation/Navigation.js +299 -0
- package/es/components/Navigation/NavigationLogo.d.ts +8 -0
- package/es/components/Navigation/NavigationLogo.js +46 -0
- package/es/components/Navigation/NavigationStepper.d.ts +5 -0
- package/es/components/Navigation/NavigationStepper.js +72 -0
- package/es/components/Navigation/index.d.ts +6 -0
- package/es/components/Navigation/index.js +7 -0
- package/es/components/Navigation/interface.d.ts +134 -0
- package/es/components/Navigation/interface.js +2 -0
- package/es/components/Navigation/style/Nav.css +158 -0
- package/es/components/Navigation/style/Navigation.css +373 -0
- package/es/components/Navigation/style/NavigationStepper.css +97 -0
- package/es/components/Navigation/style/css.js +4 -0
- package/es/components/Navigation/style/index.d.ts +3 -0
- package/es/components/Navigation/style/index.js +4 -0
- package/es/components/Notification/Notification.d.ts +6 -0
- package/es/components/Notification/Notification.js +108 -0
- package/es/components/Notification/NotificationStatic.d.ts +4 -0
- package/es/components/Notification/NotificationStatic.js +501 -0
- package/es/components/Notification/constants.d.ts +12 -0
- package/es/components/Notification/constants.js +16 -0
- package/es/components/Notification/index.d.ts +5 -0
- package/es/components/Notification/index.js +5 -0
- package/es/components/Notification/interface.d.ts +70 -0
- package/es/components/Notification/interface.js +7 -0
- package/es/components/Notification/style/Notification.css +170 -0
- package/es/components/Notification/style/css.js +2 -0
- package/es/components/Notification/style/index.d.ts +1 -0
- package/es/components/Notification/style/index.js +2 -0
- package/es/components/Pagination/Pagination.d.ts +5 -0
- package/es/components/Pagination/Pagination.js +136 -0
- package/es/components/Pagination/constants.d.ts +52 -0
- package/es/components/Pagination/constants.js +55 -0
- package/es/components/Pagination/index.d.ts +6 -0
- package/es/components/Pagination/index.js +7 -0
- package/es/components/Pagination/interface.d.ts +53 -0
- package/es/components/Pagination/interface.js +2 -0
- package/es/components/Pagination/style/Pagination.css +89 -0
- package/es/components/Pagination/style/css.js +2 -0
- package/es/components/Pagination/style/index.d.ts +1 -0
- package/es/components/Pagination/style/index.js +2 -0
- package/es/components/Pagination/usePagination.d.ts +3 -0
- package/es/components/Pagination/usePagination.js +145 -0
- package/es/components/Popconfirm/Popconfirm.d.ts +6 -0
- package/es/components/Popconfirm/Popconfirm.js +144 -0
- package/es/components/Popconfirm/constants.d.ts +74 -0
- package/es/components/Popconfirm/constants.js +73 -0
- package/es/components/Popconfirm/index.d.ts +4 -0
- package/es/components/Popconfirm/index.js +5 -0
- package/es/components/Popconfirm/interface.d.ts +40 -0
- package/es/components/Popconfirm/interface.js +2 -0
- package/es/components/Popconfirm/style/Popconfirm.css +137 -0
- package/es/components/Popconfirm/style/css.js +5 -0
- package/es/components/Popconfirm/style/index.d.ts +4 -0
- package/es/components/Popconfirm/style/index.js +5 -0
- package/es/components/Portal/Portal.d.ts +3 -0
- package/es/components/Portal/Portal.js +54 -0
- package/es/components/Portal/index.d.ts +4 -0
- package/es/components/Portal/index.js +5 -0
- package/es/components/Portal/interface.d.ts +7 -0
- package/es/components/Portal/interface.js +2 -0
- package/es/components/ProForm/ProForm.d.ts +4 -0
- package/es/components/ProForm/ProForm.js +302 -0
- package/es/components/ProForm/ProFormDependency.d.ts +4 -0
- package/es/components/ProForm/ProFormDependency.js +160 -0
- package/es/components/ProForm/ProFormGroup.d.ts +3 -0
- package/es/components/ProForm/ProFormGroup.js +78 -0
- package/es/components/ProForm/ProFormItem.d.ts +4 -0
- package/es/components/ProForm/ProFormItem.js +220 -0
- package/es/components/ProForm/ProFormList.d.ts +3 -0
- package/es/components/ProForm/ProFormList.js +252 -0
- package/es/components/ProForm/Submitter.d.ts +6 -0
- package/es/components/ProForm/Submitter.js +106 -0
- package/es/components/ProForm/constants.d.ts +18 -0
- package/es/components/ProForm/constants.js +23 -0
- package/es/components/ProForm/context.d.ts +13 -0
- package/es/components/ProForm/context.js +29 -0
- package/es/components/ProForm/core/constants.d.ts +21 -0
- package/es/components/ProForm/core/constants.js +20 -0
- package/es/components/ProForm/core/hooks/useForm.d.ts +3 -0
- package/es/components/ProForm/core/hooks/useForm.js +677 -0
- package/es/components/ProForm/core/hooks/useFormCore.d.ts +3 -0
- package/es/components/ProForm/core/hooks/useFormCore.js +347 -0
- package/es/components/ProForm/core/index.d.ts +6 -0
- package/es/components/ProForm/core/index.js +6 -0
- package/es/components/ProForm/core/interface.d.ts +153 -0
- package/es/components/ProForm/core/interface.js +2 -0
- package/es/components/ProForm/core/useFormItem.d.ts +21 -0
- package/es/components/ProForm/core/useFormItem.js +173 -0
- package/es/components/ProForm/fields/ProFormCheckbox.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormCheckbox.js +11 -0
- package/es/components/ProForm/fields/ProFormCheckboxGroup.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormCheckboxGroup.js +12 -0
- package/es/components/ProForm/fields/ProFormDatePicker.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormDatePicker.js +23 -0
- package/es/components/ProForm/fields/ProFormFieldSet.d.ts +4 -0
- package/es/components/ProForm/fields/ProFormFieldSet.js +65 -0
- package/es/components/ProForm/fields/ProFormPassword.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormPassword.js +11 -0
- package/es/components/ProForm/fields/ProFormRadioGroup.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormRadioGroup.js +10 -0
- package/es/components/ProForm/fields/ProFormSelect.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormSelect.js +40 -0
- package/es/components/ProForm/fields/ProFormSlider.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormSlider.js +10 -0
- package/es/components/ProForm/fields/ProFormSwitch.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormSwitch.js +11 -0
- package/es/components/ProForm/fields/ProFormText.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormText.js +10 -0
- package/es/components/ProForm/fields/ProFormTextArea.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormTextArea.js +10 -0
- package/es/components/ProForm/fields/ProFormUpload.d.ts +3 -0
- package/es/components/ProForm/fields/ProFormUpload.js +25 -0
- package/es/components/ProForm/fields/createProFormField.d.ts +4 -0
- package/es/components/ProForm/fields/createProFormField.js +156 -0
- package/es/components/ProForm/fields/index.d.ts +13 -0
- package/es/components/ProForm/fields/index.js +14 -0
- package/es/components/ProForm/hooks/useFieldRequest.d.ts +7 -0
- package/es/components/ProForm/hooks/useFieldRequest.js +90 -0
- package/es/components/ProForm/index.d.ts +38 -0
- package/es/components/ProForm/index.js +55 -0
- package/es/components/ProForm/interface.d.ts +284 -0
- package/es/components/ProForm/interface.js +2 -0
- package/es/components/ProForm/layouts/DialogForm.d.ts +3 -0
- package/es/components/ProForm/layouts/DialogForm.js +74 -0
- package/es/components/ProForm/layouts/DrawerForm.d.ts +3 -0
- package/es/components/ProForm/layouts/DrawerForm.js +73 -0
- package/es/components/ProForm/layouts/QueryFilter.d.ts +4 -0
- package/es/components/ProForm/layouts/QueryFilter.js +158 -0
- package/es/components/ProForm/layouts/index.d.ts +4 -0
- package/es/components/ProForm/layouts/index.js +5 -0
- package/es/components/ProForm/layouts/useOverlayForm.d.ts +17 -0
- package/es/components/ProForm/layouts/useOverlayForm.js +107 -0
- package/es/components/ProForm/style/ProForm.css +168 -0
- package/es/components/ProForm/style/css.js +2 -0
- package/es/components/ProForm/style/index.d.ts +1 -0
- package/es/components/ProForm/style/index.js +2 -0
- package/es/components/ProForm/utils.d.ts +22 -0
- package/es/components/ProForm/utils.js +211 -0
- package/es/components/Progress/Progress.d.ts +6 -0
- package/es/components/Progress/Progress.js +94 -0
- package/es/components/Progress/constants.d.ts +26 -0
- package/es/components/Progress/constants.js +32 -0
- package/es/components/Progress/index.d.ts +5 -0
- package/es/components/Progress/index.js +6 -0
- package/es/components/Progress/interface.d.ts +26 -0
- package/es/components/Progress/interface.js +2 -0
- package/es/components/Progress/style/Progress.css +103 -0
- package/es/components/Progress/style/css.js +2 -0
- package/es/components/Progress/style/index.d.ts +1 -0
- package/es/components/Progress/style/index.js +2 -0
- package/es/components/Radio/BaseRadio.d.ts +16 -0
- package/es/components/Radio/BaseRadio.js +58 -0
- package/es/components/Radio/Radio.d.ts +6 -0
- package/es/components/Radio/Radio.js +182 -0
- package/es/components/Radio/RadioGroup.d.ts +5 -0
- package/es/components/Radio/RadioGroup.js +102 -0
- package/es/components/Radio/RadioGroupContext.d.ts +22 -0
- package/es/components/Radio/RadioGroupContext.js +7 -0
- package/es/components/Radio/constants.d.ts +39 -0
- package/es/components/Radio/constants.js +57 -0
- package/es/components/Radio/index.d.ts +5 -0
- package/es/components/Radio/index.js +6 -0
- package/es/components/Radio/interface.d.ts +122 -0
- package/es/components/Radio/interface.js +2 -0
- package/es/components/Radio/style/Radio.css +362 -0
- package/es/components/Radio/style/css.js +3 -0
- package/es/components/Radio/style/index.d.ts +2 -0
- package/es/components/Radio/style/index.js +3 -0
- package/es/components/ResizeObserver/Collection.d.ts +19 -0
- package/es/components/ResizeObserver/Collection.js +41 -0
- package/es/components/ResizeObserver/ResizeObserver.d.ts +7 -0
- package/es/components/ResizeObserver/ResizeObserver.js +31 -0
- package/es/components/ResizeObserver/SingleObserver/index.d.ts +7 -0
- package/es/components/ResizeObserver/SingleObserver/index.js +38 -0
- package/es/components/ResizeObserver/index.d.ts +7 -0
- package/es/components/ResizeObserver/index.js +6 -0
- package/es/components/ResizeObserver/interface.d.ts +16 -0
- package/es/components/ResizeObserver/interface.js +2 -0
- package/es/components/ResizeObserver/useResizeObserver.d.ts +2 -0
- package/es/components/ResizeObserver/useResizeObserver.js +70 -0
- package/es/components/ResizeObserver/utils/observerUtil.d.ts +7 -0
- package/es/components/ResizeObserver/utils/observerUtil.js +39 -0
- package/es/components/ResizeObserver/utils/reactUtil.d.ts +19 -0
- package/es/components/ResizeObserver/utils/reactUtil.js +78 -0
- package/es/components/Segment/Segment.d.ts +6 -0
- package/es/components/Segment/Segment.js +100 -0
- package/es/components/Segment/index.d.ts +4 -0
- package/es/components/Segment/index.js +5 -0
- package/es/components/Segment/interface.d.ts +23 -0
- package/es/components/Segment/interface.js +2 -0
- package/es/components/Segment/style/Segment.css +79 -0
- package/es/components/Segment/style/css.js +2 -0
- package/es/components/Segment/style/index.d.ts +1 -0
- package/es/components/Segment/style/index.js +2 -0
- package/es/components/Select/Select.d.ts +6 -0
- package/es/components/Select/Select.js +563 -0
- package/es/components/Select/SelectCustom.d.ts +6 -0
- package/es/components/Select/SelectCustom.js +232 -0
- package/es/components/Select/SelectFieldShell.d.ts +24 -0
- package/es/components/Select/SelectFieldShell.js +81 -0
- package/es/components/Select/SelectOptionContent.d.ts +17 -0
- package/es/components/Select/SelectOptionContent.js +45 -0
- package/es/components/Select/SelectSearchControl.d.ts +15 -0
- package/es/components/Select/SelectSearchControl.js +43 -0
- package/es/components/Select/SelectValueContent.d.ts +18 -0
- package/es/components/Select/SelectValueContent.js +99 -0
- package/es/components/Select/constants.d.ts +45 -0
- package/es/components/Select/constants.js +43 -0
- package/es/components/Select/index.d.ts +7 -0
- package/es/components/Select/index.js +10 -0
- package/es/components/Select/interface.d.ts +229 -0
- package/es/components/Select/interface.js +4 -0
- package/es/components/Select/style/Select.css +468 -0
- package/es/components/Select/style/css.js +4 -0
- package/es/components/Select/style/index.d.ts +3 -0
- package/es/components/Select/style/index.js +4 -0
- package/es/components/Select/useSelectShell.d.ts +34 -0
- package/es/components/Select/useSelectShell.js +106 -0
- package/es/components/Select/utils.d.ts +21 -0
- package/es/components/Select/utils.js +140 -0
- package/es/components/Skeleton/Skeleton.d.ts +6 -0
- package/es/components/Skeleton/Skeleton.js +49 -0
- package/es/components/Skeleton/index.d.ts +4 -0
- package/es/components/Skeleton/index.js +5 -0
- package/es/components/Skeleton/interface.d.ts +19 -0
- package/es/components/Skeleton/interface.js +2 -0
- package/es/components/Skeleton/style/Skeleton.css +54 -0
- package/es/components/Skeleton/style/css.js +2 -0
- package/es/components/Skeleton/style/index.d.ts +1 -0
- package/es/components/Skeleton/style/index.js +2 -0
- package/es/components/Slider/Slider.d.ts +6 -0
- package/es/components/Slider/Slider.js +117 -0
- package/es/components/Slider/index.d.ts +4 -0
- package/es/components/Slider/index.js +5 -0
- package/es/components/Slider/interface.d.ts +39 -0
- package/es/components/Slider/interface.js +2 -0
- package/es/components/Slider/style/Slider.css +161 -0
- package/es/components/Slider/style/css.js +2 -0
- package/es/components/Slider/style/index.d.ts +1 -0
- package/es/components/Slider/style/index.js +2 -0
- package/es/components/Space/Space.d.ts +5 -0
- package/es/components/Space/Space.js +78 -0
- package/es/components/Space/constants.d.ts +33 -0
- package/es/components/Space/constants.js +37 -0
- package/es/components/Space/index.d.ts +5 -0
- package/es/components/Space/index.js +6 -0
- package/es/components/Space/interface.d.ts +12 -0
- package/es/components/Space/interface.js +2 -0
- package/es/components/Space/style/Space.css +47 -0
- package/es/components/Space/style/css.js +2 -0
- package/es/components/Space/style/index.d.ts +1 -0
- package/es/components/Space/style/index.js +2 -0
- package/es/components/Spinner/Spinner.d.ts +6 -0
- package/es/components/Spinner/Spinner.js +219 -0
- package/es/components/Spinner/index.d.ts +4 -0
- package/es/components/Spinner/index.js +5 -0
- package/es/components/Spinner/interface.d.ts +18 -0
- package/es/components/Spinner/interface.js +2 -0
- package/es/components/Spinner/lottie-pure.json +1 -0
- package/es/components/Spinner/style/Spinner.css +99 -0
- package/es/components/Spinner/style/css.js +2 -0
- package/es/components/Spinner/style/index.d.ts +1 -0
- package/es/components/Spinner/style/index.js +2 -0
- package/es/components/Step/Step.d.ts +5 -0
- package/es/components/Step/Step.js +116 -0
- package/es/components/Step/constants.d.ts +59 -0
- package/es/components/Step/constants.js +65 -0
- package/es/components/Step/index.d.ts +4 -0
- package/es/components/Step/index.js +5 -0
- package/es/components/Step/interface.d.ts +22 -0
- package/es/components/Step/interface.js +2 -0
- package/es/components/Step/style/Step.css +107 -0
- package/es/components/Step/style/css.js +2 -0
- package/es/components/Step/style/index.d.ts +1 -0
- package/es/components/Step/style/index.js +2 -0
- package/es/components/Switch/Switch.d.ts +6 -0
- package/es/components/Switch/Switch.js +94 -0
- package/es/components/Switch/constants.d.ts +25 -0
- package/es/components/Switch/constants.js +27 -0
- package/es/components/Switch/index.d.ts +5 -0
- package/es/components/Switch/index.js +6 -0
- package/es/components/Switch/interface.d.ts +26 -0
- package/es/components/Switch/interface.js +2 -0
- package/es/components/Switch/style/Switch.css +102 -0
- package/es/components/Switch/style/css.js +3 -0
- package/es/components/Switch/style/index.d.ts +2 -0
- package/es/components/Switch/style/index.js +3 -0
- package/es/components/Table/Table.d.ts +10 -0
- package/es/components/Table/Table.js +41 -0
- package/es/components/Table/VirtualTable.d.ts +9 -0
- package/es/components/Table/VirtualTable.js +53 -0
- package/es/components/Table/constants.d.ts +4 -0
- package/es/components/Table/constants.js +5 -0
- package/es/components/Table/core/useTableColumns.d.ts +48 -0
- package/es/components/Table/core/useTableColumns.js +253 -0
- package/es/components/Table/core/useTableDataPipeline.d.ts +57 -0
- package/es/components/Table/core/useTableDataPipeline.js +428 -0
- package/es/components/Table/core/useTableExpand.d.ts +11 -0
- package/es/components/Table/core/useTableExpand.js +63 -0
- package/es/components/Table/core/useTableSelection.d.ts +15 -0
- package/es/components/Table/core/useTableSelection.js +144 -0
- package/es/components/Table/core/useTableSetup.d.ts +42 -0
- package/es/components/Table/core/useTableSetup.js +195 -0
- package/es/components/Table/features/ExpandTrigger.d.ts +4 -0
- package/es/components/Table/features/ExpandTrigger.js +32 -0
- package/es/components/Table/features/FilterTrigger.d.ts +9 -0
- package/es/components/Table/features/FilterTrigger.js +157 -0
- package/es/components/Table/features/SelectionColumn.d.ts +12 -0
- package/es/components/Table/features/SelectionColumn.js +54 -0
- package/es/components/Table/features/SortTrigger.d.ts +7 -0
- package/es/components/Table/features/SortTrigger.js +26 -0
- package/es/components/Table/index.d.ts +6 -0
- package/es/components/Table/index.js +7 -0
- package/es/components/Table/interface.d.ts +262 -0
- package/es/components/Table/interface.js +2 -0
- package/es/components/Table/internal/index.d.ts +3 -0
- package/es/components/Table/internal/index.js +3 -0
- package/es/components/Table/internal/kernel/Body/BodyRow.d.ts +37 -0
- package/es/components/Table/internal/kernel/Body/BodyRow.js +174 -0
- package/es/components/Table/internal/kernel/Body/ExpandedRow.d.ts +15 -0
- package/es/components/Table/internal/kernel/Body/ExpandedRow.js +56 -0
- package/es/components/Table/internal/kernel/Body/MeasureCell.d.ts +8 -0
- package/es/components/Table/internal/kernel/Body/MeasureCell.js +39 -0
- package/es/components/Table/internal/kernel/Body/MeasureRow.d.ts +10 -0
- package/es/components/Table/internal/kernel/Body/MeasureRow.js +53 -0
- package/es/components/Table/internal/kernel/Body/index.d.ts +9 -0
- package/es/components/Table/internal/kernel/Body/index.js +124 -0
- package/es/components/Table/internal/kernel/Cell/index.d.ts +39 -0
- package/es/components/Table/internal/kernel/Cell/index.js +179 -0
- package/es/components/Table/internal/kernel/Cell/useCellRender.d.ts +3 -0
- package/es/components/Table/internal/kernel/Cell/useCellRender.js +63 -0
- package/es/components/Table/internal/kernel/Cell/useHoverState.d.ts +2 -0
- package/es/components/Table/internal/kernel/Cell/useHoverState.js +15 -0
- package/es/components/Table/internal/kernel/ColGroup.d.ts +8 -0
- package/es/components/Table/internal/kernel/ColGroup.js +56 -0
- package/es/components/Table/internal/kernel/FixedHolder/index.d.ts +27 -0
- package/es/components/Table/internal/kernel/FixedHolder/index.js +180 -0
- package/es/components/Table/internal/kernel/Footer/Cell.d.ts +11 -0
- package/es/components/Table/internal/kernel/Footer/Cell.js +50 -0
- package/es/components/Table/internal/kernel/Footer/Row.d.ts +8 -0
- package/es/components/Table/internal/kernel/Footer/Row.js +20 -0
- package/es/components/Table/internal/kernel/Footer/Summary.d.ts +14 -0
- package/es/components/Table/internal/kernel/Footer/Summary.js +13 -0
- package/es/components/Table/internal/kernel/Footer/SummaryContext.d.ts +11 -0
- package/es/components/Table/internal/kernel/Footer/SummaryContext.js +4 -0
- package/es/components/Table/internal/kernel/Footer/index.d.ts +16 -0
- package/es/components/Table/internal/kernel/Footer/index.js +36 -0
- package/es/components/Table/internal/kernel/Header/Header.d.ts +9 -0
- package/es/components/Table/internal/kernel/Header/Header.js +109 -0
- package/es/components/Table/internal/kernel/Header/HeaderRow.d.ts +18 -0
- package/es/components/Table/internal/kernel/Header/HeaderRow.js +60 -0
- package/es/components/Table/internal/kernel/Panel/index.d.ts +7 -0
- package/es/components/Table/internal/kernel/Panel/index.js +15 -0
- package/es/components/Table/internal/kernel/Table.d.ts +126 -0
- package/es/components/Table/internal/kernel/Table.js +686 -0
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +13 -0
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.js +286 -0
- package/es/components/Table/internal/kernel/VirtualTable/BodyLine.d.ts +14 -0
- package/es/components/Table/internal/kernel/VirtualTable/BodyLine.js +113 -0
- package/es/components/Table/internal/kernel/VirtualTable/VirtualCell.d.ts +26 -0
- package/es/components/Table/internal/kernel/VirtualTable/VirtualCell.js +105 -0
- package/es/components/Table/internal/kernel/VirtualTable/context.d.ts +13 -0
- package/es/components/Table/internal/kernel/VirtualTable/context.js +5 -0
- package/es/components/Table/internal/kernel/VirtualTable/index.d.ts +17 -0
- package/es/components/Table/internal/kernel/VirtualTable/index.js +90 -0
- package/es/components/Table/internal/kernel/constant.d.ts +2 -0
- package/es/components/Table/internal/kernel/constant.js +4 -0
- package/es/components/Table/internal/kernel/context/PerfContext.d.ts +6 -0
- package/es/components/Table/internal/kernel/context/PerfContext.js +8 -0
- package/es/components/Table/internal/kernel/context/TableContext.d.ts +51 -0
- package/es/components/Table/internal/kernel/context/TableContext.js +10 -0
- package/es/components/Table/internal/kernel/hooks/useColumns/index.d.ts +31 -0
- package/es/components/Table/internal/kernel/hooks/useColumns/index.js +210 -0
- package/es/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.d.ts +5 -0
- package/es/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.js +69 -0
- package/es/components/Table/internal/kernel/hooks/useExpand.d.ts +10 -0
- package/es/components/Table/internal/kernel/hooks/useExpand.js +83 -0
- package/es/components/Table/internal/kernel/hooks/useFixedInfo.d.ts +2 -0
- package/es/components/Table/internal/kernel/hooks/useFixedInfo.js +18 -0
- package/es/components/Table/internal/kernel/hooks/useFlattenRecords.d.ts +19 -0
- package/es/components/Table/internal/kernel/hooks/useFlattenRecords.js +54 -0
- package/es/components/Table/internal/kernel/hooks/useFrame.d.ts +7 -0
- package/es/components/Table/internal/kernel/hooks/useFrame.js +63 -0
- package/es/components/Table/internal/kernel/hooks/useHover.d.ts +2 -0
- package/es/components/Table/internal/kernel/hooks/useHover.js +19 -0
- package/es/components/Table/internal/kernel/hooks/useRenderTimes.d.ts +5 -0
- package/es/components/Table/internal/kernel/hooks/useRenderTimes.js +41 -0
- package/es/components/Table/internal/kernel/hooks/useRowInfo.d.ts +11 -0
- package/es/components/Table/internal/kernel/hooks/useRowInfo.js +62 -0
- package/es/components/Table/internal/kernel/hooks/useSticky.d.ts +10 -0
- package/es/components/Table/internal/kernel/hooks/useSticky.js +33 -0
- package/es/components/Table/internal/kernel/hooks/useStickyOffsets.d.ts +6 -0
- package/es/components/Table/internal/kernel/hooks/useStickyOffsets.js +31 -0
- package/es/components/Table/internal/kernel/index.d.ts +12 -0
- package/es/components/Table/internal/kernel/index.js +11 -0
- package/es/components/Table/internal/kernel/interface.d.ts +202 -0
- package/es/components/Table/internal/kernel/interface.js +2 -0
- package/es/components/Table/internal/kernel/namePathType.d.ts +13 -0
- package/es/components/Table/internal/kernel/namePathType.js +3 -0
- package/es/components/Table/internal/kernel/selector-context/Immutable.d.ts +10 -0
- package/es/components/Table/internal/kernel/selector-context/Immutable.js +73 -0
- package/es/components/Table/internal/kernel/selector-context/context.d.ts +26 -0
- package/es/components/Table/internal/kernel/selector-context/context.js +83 -0
- package/es/components/Table/internal/kernel/selector-context/index.d.ts +7 -0
- package/es/components/Table/internal/kernel/selector-context/index.js +9 -0
- package/es/components/Table/internal/kernel/selector-context/isEqual.d.ts +5 -0
- package/es/components/Table/internal/kernel/selector-context/isEqual.js +48 -0
- package/es/components/Table/internal/kernel/stickyScrollBar.d.ts +12 -0
- package/es/components/Table/internal/kernel/stickyScrollBar.js +192 -0
- package/es/components/Table/internal/kernel/sugar/Column.d.ts +10 -0
- package/es/components/Table/internal/kernel/sugar/Column.js +11 -0
- package/es/components/Table/internal/kernel/sugar/ColumnGroup.d.ts +12 -0
- package/es/components/Table/internal/kernel/sugar/ColumnGroup.js +11 -0
- package/es/components/Table/internal/kernel/utils/dom/canUseDom.d.ts +1 -0
- package/es/components/Table/internal/kernel/utils/dom/canUseDom.js +4 -0
- package/es/components/Table/internal/kernel/utils/dom/isVisible.d.ts +2 -0
- package/es/components/Table/internal/kernel/utils/dom/isVisible.js +28 -0
- package/es/components/Table/internal/kernel/utils/expandUtil.d.ts +4 -0
- package/es/components/Table/internal/kernel/utils/expandUtil.js +47 -0
- package/es/components/Table/internal/kernel/utils/fixUtil.d.ts +21 -0
- package/es/components/Table/internal/kernel/utils/fixUtil.js +64 -0
- package/es/components/Table/internal/kernel/utils/get.d.ts +1 -0
- package/es/components/Table/internal/kernel/utils/get.js +11 -0
- package/es/components/Table/internal/kernel/utils/getScrollBarSize.d.ts +7 -0
- package/es/components/Table/internal/kernel/utils/getScrollBarSize.js +38 -0
- package/es/components/Table/internal/kernel/utils/legacyUtil.d.ts +5 -0
- package/es/components/Table/internal/kernel/utils/legacyUtil.js +31 -0
- package/es/components/Table/internal/kernel/utils/offsetUtil.d.ts +4 -0
- package/es/components/Table/internal/kernel/utils/offsetUtil.js +13 -0
- package/es/components/Table/internal/kernel/utils/pickAttrs.d.ts +6 -0
- package/es/components/Table/internal/kernel/utils/pickAttrs.js +33 -0
- package/es/components/Table/internal/kernel/utils/useMemo.d.ts +1 -0
- package/es/components/Table/internal/kernel/utils/useMemo.js +10 -0
- package/es/components/Table/internal/kernel/utils/valueUtil.d.ts +8 -0
- package/es/components/Table/internal/kernel/utils/valueUtil.js +30 -0
- package/es/components/Table/internal/kernel/utils/warning.d.ts +4 -0
- package/es/components/Table/internal/kernel/utils/warning.js +17 -0
- package/es/components/Table/renderers/BodyCell.d.ts +15 -0
- package/es/components/Table/renderers/BodyCell.js +40 -0
- package/es/components/Table/renderers/CellContent.d.ts +4 -0
- package/es/components/Table/renderers/CellContent.js +26 -0
- package/es/components/Table/renderers/EmptyState.d.ts +5 -0
- package/es/components/Table/renderers/EmptyState.js +22 -0
- package/es/components/Table/renderers/ExpandedRowContainer.d.ts +4 -0
- package/es/components/Table/renderers/ExpandedRowContainer.js +10 -0
- package/es/components/Table/renderers/HeaderCell.d.ts +11 -0
- package/es/components/Table/renderers/HeaderCell.js +32 -0
- package/es/components/Table/style/Table.css +370 -0
- package/es/components/Table/style/css.js +10 -0
- package/es/components/Table/style/index.d.ts +9 -0
- package/es/components/Table/style/index.js +10 -0
- package/es/components/Tabs/Tabs.d.ts +6 -0
- package/es/components/Tabs/Tabs.js +113 -0
- package/es/components/Tabs/index.d.ts +4 -0
- package/es/components/Tabs/index.js +5 -0
- package/es/components/Tabs/interface.d.ts +29 -0
- package/es/components/Tabs/interface.js +2 -0
- package/es/components/Tabs/style/Tabs.css +118 -0
- package/es/components/Tabs/style/css.js +2 -0
- package/es/components/Tabs/style/index.d.ts +1 -0
- package/es/components/Tabs/style/index.js +2 -0
- package/es/components/Tag/Tag.d.ts +6 -0
- package/es/components/Tag/Tag.js +80 -0
- package/es/components/Tag/constants.d.ts +18 -0
- package/es/components/Tag/constants.js +28 -0
- package/es/components/Tag/index.d.ts +5 -0
- package/es/components/Tag/index.js +6 -0
- package/es/components/Tag/interface.d.ts +15 -0
- package/es/components/Tag/interface.js +2 -0
- package/es/components/Tag/style/Tag.css +87 -0
- package/es/components/Tag/style/css.js +2 -0
- package/es/components/Tag/style/index.d.ts +1 -0
- package/es/components/Tag/style/index.js +2 -0
- package/es/components/Tooltip/Tooltip.d.ts +6 -0
- package/es/components/Tooltip/Tooltip.js +71 -0
- package/es/components/Tooltip/index.d.ts +4 -0
- package/es/components/Tooltip/index.js +5 -0
- package/es/components/Tooltip/interface.d.ts +22 -0
- package/es/components/Tooltip/interface.js +2 -0
- package/es/components/Tooltip/style/Tooltip.css +98 -0
- package/es/components/Tooltip/style/css.js +2 -0
- package/es/components/Tooltip/style/index.d.ts +1 -0
- package/es/components/Tooltip/style/index.js +2 -0
- package/es/components/Tour/Tour.d.ts +3 -0
- package/es/components/Tour/Tour.js +243 -0
- package/es/components/Tour/index.d.ts +4 -0
- package/es/components/Tour/index.js +5 -0
- package/es/components/Tour/interface.d.ts +46 -0
- package/es/components/Tour/interface.js +2 -0
- package/es/components/Trigger/Trigger.d.ts +5 -0
- package/es/components/Trigger/Trigger.js +193 -0
- package/es/components/Trigger/index.d.ts +3 -0
- package/es/components/Trigger/index.js +4 -0
- package/es/components/Trigger/interface.d.ts +77 -0
- package/es/components/Trigger/interface.js +2 -0
- package/es/components/Trigger/style/Trigger.css +35 -0
- package/es/components/Trigger/style/css.js +2 -0
- package/es/components/Trigger/style/index.d.ts +1 -0
- package/es/components/Trigger/style/index.js +2 -0
- package/es/components/Typography/Typography.d.ts +17 -0
- package/es/components/Typography/Typography.js +201 -0
- package/es/components/Typography/constants.d.ts +33 -0
- package/es/components/Typography/constants.js +9 -0
- package/es/components/Typography/index.d.ts +4 -0
- package/es/components/Typography/index.js +5 -0
- package/es/components/Typography/interface.d.ts +72 -0
- package/es/components/Typography/interface.js +22 -0
- package/es/components/Typography/render.d.ts +328 -0
- package/es/components/Typography/render.js +106 -0
- package/es/components/Typography/style/Typography.css +444 -0
- package/es/components/Typography/style/css.js +4 -0
- package/es/components/Typography/style/index.d.ts +3 -0
- package/es/components/Typography/style/index.js +4 -0
- package/es/components/Typography/useTypographyEnhancements.d.ts +43 -0
- package/es/components/Typography/useTypographyEnhancements.js +111 -0
- package/es/components/Typography/utils.d.ts +17 -0
- package/es/components/Typography/utils.js +88 -0
- package/es/components/Upload/Upload.d.ts +7 -0
- package/es/components/Upload/Upload.js +88 -0
- package/es/components/Upload/UploadFileBar.d.ts +6 -0
- package/es/components/Upload/UploadFileBar.js +69 -0
- package/es/components/Upload/index.d.ts +5 -0
- package/es/components/Upload/index.js +6 -0
- package/es/components/Upload/interface.d.ts +43 -0
- package/es/components/Upload/interface.js +2 -0
- package/es/components/Upload/style/Upload.css +55 -0
- package/es/components/Upload/style/UploadFileBar.css +88 -0
- package/es/components/Upload/style/css.js +3 -0
- package/es/components/Upload/style/index.d.ts +2 -0
- package/es/components/Upload/style/index.js +3 -0
- package/es/components/VirtualList/Filler.d.ts +21 -0
- package/es/components/VirtualList/Filler.js +56 -0
- package/es/components/VirtualList/Item.d.ts +6 -0
- package/es/components/VirtualList/Item.js +12 -0
- package/es/components/VirtualList/ScrollBar.d.ts +22 -0
- package/es/components/VirtualList/ScrollBar.js +236 -0
- package/es/components/VirtualList/VirtualList.d.ts +62 -0
- package/es/components/VirtualList/VirtualList.js +529 -0
- package/es/components/VirtualList/constants.d.ts +4 -0
- package/es/components/VirtualList/constants.js +5 -0
- package/es/components/VirtualList/hooks/useChildren.d.ts +2 -0
- package/es/components/VirtualList/hooks/useChildren.js +25 -0
- package/es/components/VirtualList/hooks/useDiffItem.d.ts +2 -0
- package/es/components/VirtualList/hooks/useDiffItem.js +16 -0
- package/es/components/VirtualList/hooks/useFrameWheel.d.ts +10 -0
- package/es/components/VirtualList/hooks/useFrameWheel.js +85 -0
- package/es/components/VirtualList/hooks/useGetSize.d.ts +7 -0
- package/es/components/VirtualList/hooks/useGetSize.js +47 -0
- package/es/components/VirtualList/hooks/useHeights.d.ts +8 -0
- package/es/components/VirtualList/hooks/useHeights.js +96 -0
- package/es/components/VirtualList/hooks/useMobileTouchMove.d.ts +2 -0
- package/es/components/VirtualList/hooks/useMobileTouchMove.js +85 -0
- package/es/components/VirtualList/hooks/useOriginScroll.d.ts +2 -0
- package/es/components/VirtualList/hooks/useOriginScroll.js +44 -0
- package/es/components/VirtualList/hooks/useScrollDrag.d.ts +3 -0
- package/es/components/VirtualList/hooks/useScrollDrag.js +76 -0
- package/es/components/VirtualList/hooks/useScrollTo.d.ts +18 -0
- package/es/components/VirtualList/hooks/useScrollTo.js +132 -0
- package/es/components/VirtualList/index.d.ts +9 -0
- package/es/components/VirtualList/index.js +5 -0
- package/es/components/VirtualList/interface.d.ts +26 -0
- package/es/components/VirtualList/interface.js +2 -0
- package/es/components/VirtualList/style/VirtualList.css +25 -0
- package/es/components/VirtualList/style/css.js +2 -0
- package/es/components/VirtualList/style/index.d.ts +1 -0
- package/es/components/VirtualList/style/index.js +2 -0
- package/es/components/VirtualList/utils/CacheMap.d.ts +16 -0
- package/es/components/VirtualList/utils/CacheMap.js +43 -0
- package/es/components/VirtualList/utils/algorithmUtil.d.ts +23 -0
- package/es/components/VirtualList/utils/algorithmUtil.js +77 -0
- package/es/components/VirtualList/utils/isFirefox.d.ts +2 -0
- package/es/components/VirtualList/utils/isFirefox.js +4 -0
- package/es/components/VirtualList/utils/raf.d.ts +9 -0
- package/es/components/VirtualList/utils/raf.js +47 -0
- package/es/components/VirtualList/utils/scrollbarUtil.d.ts +1 -0
- package/es/components/VirtualList/utils/scrollbarUtil.js +12 -0
- package/es/hooks/index.d.ts +2 -0
- package/es/hooks/index.js +2 -0
- package/es/hooks/useFloatingAnimation.d.ts +24 -0
- package/es/hooks/useFloatingAnimation.js +45 -0
- package/es/index.css +1 -0
- package/es/index.d.ts +92 -0
- package/es/index.js +47 -0
- package/es/stories/docs/ComponentDocsPage.js +234 -0
- package/es/stories/docs/componentDocMeta.js +94 -0
- package/es/stories/docs/storybook-docs.css +401 -0
- package/es/styles/index.css +5328 -0
- package/es/utils/classnames.d.ts +5 -0
- package/es/utils/classnames.js +18 -0
- package/es/utils/clipboard.d.ts +2 -0
- package/es/utils/clipboard.js +50 -0
- package/es/utils/ref.d.ts +4 -0
- package/es/utils/ref.js +32 -0
- package/es/utils/uuid.d.ts +2 -0
- package/es/utils/uuid.js +16 -0
- package/lib/components/Accordion/Accordion.d.ts +4 -0
- package/lib/components/Accordion/Accordion.js +108 -0
- package/lib/components/Accordion/constants.d.ts +16 -0
- package/lib/components/Accordion/constants.js +23 -0
- package/lib/components/Accordion/index.d.ts +4 -0
- package/lib/components/Accordion/index.js +33 -0
- package/lib/components/Accordion/interface.d.ts +29 -0
- package/lib/components/Accordion/interface.js +6 -0
- package/lib/components/Accordion/style/Accordion.css +94 -0
- package/lib/components/Accordion/style/css.js +4 -0
- package/lib/components/Accordion/style/index.d.ts +1 -0
- package/lib/components/Accordion/style/index.js +4 -0
- package/lib/components/Alert/Alert.d.ts +6 -0
- package/lib/components/Alert/Alert.js +120 -0
- package/lib/components/Alert/index.d.ts +4 -0
- package/lib/components/Alert/index.js +33 -0
- package/lib/components/Alert/interface.d.ts +42 -0
- package/lib/components/Alert/interface.js +12 -0
- package/lib/components/Alert/style/Alert.css +101 -0
- package/lib/components/Alert/style/css.js +5 -0
- package/lib/components/Alert/style/index.d.ts +2 -0
- package/lib/components/Alert/style/index.js +5 -0
- package/lib/components/Button/Button.d.ts +4 -0
- package/lib/components/Button/Button.js +159 -0
- package/lib/components/Button/constants.d.ts +70 -0
- package/lib/components/Button/constants.js +97 -0
- package/lib/components/Button/index.d.ts +5 -0
- package/lib/components/Button/index.js +45 -0
- package/lib/components/Button/interface.d.ts +23 -0
- package/lib/components/Button/interface.js +6 -0
- package/lib/components/Button/style/Button.css +178 -0
- package/lib/components/Button/style/css.js +4 -0
- package/lib/components/Button/style/index.d.ts +1 -0
- package/lib/components/Button/style/index.js +4 -0
- package/lib/components/Calendar/Calendar.d.ts +7 -0
- package/lib/components/Calendar/Calendar.js +137 -0
- package/lib/components/Calendar/index.d.ts +4 -0
- package/lib/components/Calendar/index.js +33 -0
- package/lib/components/Calendar/interface.d.ts +29 -0
- package/lib/components/Calendar/interface.js +6 -0
- package/lib/components/Calendar/style/Calendar.css +400 -0
- package/lib/components/Calendar/style/css.js +4 -0
- package/lib/components/Calendar/style/index.d.ts +1 -0
- package/lib/components/Calendar/style/index.js +4 -0
- package/lib/components/Carousel/Carousel.d.ts +6 -0
- package/lib/components/Carousel/Carousel.js +56 -0
- package/lib/components/Carousel/index.d.ts +4 -0
- package/lib/components/Carousel/index.js +33 -0
- package/lib/components/Carousel/interface.d.ts +15 -0
- package/lib/components/Carousel/interface.js +6 -0
- package/lib/components/Carousel/style/Carousel.css +57 -0
- package/lib/components/Carousel/style/css.js +4 -0
- package/lib/components/Carousel/style/index.d.ts +1 -0
- package/lib/components/Carousel/style/index.js +4 -0
- package/lib/components/Cell/Cell.d.ts +5 -0
- package/lib/components/Cell/Cell.js +66 -0
- package/lib/components/Cell/index.d.ts +4 -0
- package/lib/components/Cell/index.js +33 -0
- package/lib/components/Cell/interface.d.ts +12 -0
- package/lib/components/Cell/interface.js +6 -0
- package/lib/components/Cell/style/Cell.css +80 -0
- package/lib/components/Cell/style/css.js +4 -0
- package/lib/components/Cell/style/index.d.ts +1 -0
- package/lib/components/Cell/style/index.js +4 -0
- package/lib/components/Checkbox/BaseCheckbox.d.ts +6 -0
- package/lib/components/Checkbox/BaseCheckbox.js +94 -0
- package/lib/components/Checkbox/Checkbox.d.ts +6 -0
- package/lib/components/Checkbox/Checkbox.js +132 -0
- package/lib/components/Checkbox/CheckboxGroup.d.ts +5 -0
- package/lib/components/Checkbox/CheckboxGroup.js +151 -0
- package/lib/components/Checkbox/CheckboxGroupContext.d.ts +14 -0
- package/lib/components/Checkbox/CheckboxGroupContext.js +9 -0
- package/lib/components/Checkbox/constants.d.ts +17 -0
- package/lib/components/Checkbox/constants.js +23 -0
- package/lib/components/Checkbox/index.d.ts +10 -0
- package/lib/components/Checkbox/index.js +53 -0
- package/lib/components/Checkbox/interface.d.ts +77 -0
- package/lib/components/Checkbox/interface.js +6 -0
- package/lib/components/Checkbox/style/Checkbox.css +191 -0
- package/lib/components/Checkbox/style/css.js +4 -0
- package/lib/components/Checkbox/style/index.d.ts +1 -0
- package/lib/components/Checkbox/style/index.js +4 -0
- package/lib/components/CoachMark/CoachMark.d.ts +4 -0
- package/lib/components/CoachMark/CoachMark.js +152 -0
- package/lib/components/CoachMark/index.d.ts +4 -0
- package/lib/components/CoachMark/index.js +33 -0
- package/lib/components/CoachMark/interface.d.ts +47 -0
- package/lib/components/CoachMark/interface.js +8 -0
- package/lib/components/CoachMark/style/CoachMark.css +156 -0
- package/lib/components/CoachMark/style/css.js +7 -0
- package/lib/components/CoachMark/style/index.d.ts +4 -0
- package/lib/components/CoachMark/style/index.js +7 -0
- package/lib/components/Copy/Clipboard.d.ts +4 -0
- package/lib/components/Copy/Clipboard.js +54 -0
- package/lib/components/Copy/Copy.d.ts +4 -0
- package/lib/components/Copy/Copy.js +91 -0
- package/lib/components/Copy/index.d.ts +5 -0
- package/lib/components/Copy/index.js +41 -0
- package/lib/components/Copy/interface.d.ts +38 -0
- package/lib/components/Copy/interface.js +6 -0
- package/lib/components/Copy/style/Clipboard.css +45 -0
- package/lib/components/Copy/style/Copy.css +48 -0
- package/lib/components/Copy/style/css.js +5 -0
- package/lib/components/Copy/style/index.d.ts +2 -0
- package/lib/components/Copy/style/index.js +5 -0
- package/lib/components/Dialog/Dialog.d.ts +4 -0
- package/lib/components/Dialog/Dialog.js +368 -0
- package/lib/components/Dialog/constants.d.ts +57 -0
- package/lib/components/Dialog/constants.js +61 -0
- package/lib/components/Dialog/index.d.ts +4 -0
- package/lib/components/Dialog/index.js +33 -0
- package/lib/components/Dialog/interface.d.ts +36 -0
- package/lib/components/Dialog/interface.js +6 -0
- package/lib/components/Dialog/style/Dialog.css +204 -0
- package/lib/components/Dialog/style/css.js +4 -0
- package/lib/components/Dialog/style/index.d.ts +1 -0
- package/lib/components/Dialog/style/index.js +4 -0
- package/lib/components/Divider/Divider.d.ts +4 -0
- package/lib/components/Divider/Divider.js +60 -0
- package/lib/components/Divider/constants.d.ts +36 -0
- package/lib/components/Divider/constants.js +48 -0
- package/lib/components/Divider/index.d.ts +4 -0
- package/lib/components/Divider/index.js +31 -0
- package/lib/components/Divider/interface.d.ts +19 -0
- package/lib/components/Divider/interface.js +6 -0
- package/lib/components/Divider/style/Divider.css +128 -0
- package/lib/components/Divider/style/css.js +4 -0
- package/lib/components/Divider/style/index.d.ts +1 -0
- package/lib/components/Divider/style/index.js +4 -0
- package/lib/components/Drawer/Drawer.d.ts +4 -0
- package/lib/components/Drawer/Drawer.js +165 -0
- package/lib/components/Drawer/constants.d.ts +18 -0
- package/lib/components/Drawer/constants.js +25 -0
- package/lib/components/Drawer/hooks/index.d.ts +4 -0
- package/lib/components/Drawer/hooks/index.js +34 -0
- package/lib/components/Drawer/hooks/useBodyScrollLock.d.ts +1 -0
- package/lib/components/Drawer/hooks/useBodyScrollLock.js +35 -0
- package/lib/components/Drawer/hooks/useDialogFocus.d.ts +2 -0
- package/lib/components/Drawer/hooks/useDialogFocus.js +28 -0
- package/lib/components/Drawer/hooks/useDrawerTransition.d.ts +4 -0
- package/lib/components/Drawer/hooks/useDrawerTransition.js +64 -0
- package/lib/components/Drawer/hooks/useEscapeClose.d.ts +1 -0
- package/lib/components/Drawer/hooks/useEscapeClose.js +22 -0
- package/lib/components/Drawer/index.d.ts +3 -0
- package/lib/components/Drawer/index.js +46 -0
- package/lib/components/Drawer/interface.d.ts +79 -0
- package/lib/components/Drawer/interface.js +6 -0
- package/lib/components/Drawer/style/Drawer.css +145 -0
- package/lib/components/Drawer/style/css.js +4 -0
- package/lib/components/Drawer/style/index.d.ts +1 -0
- package/lib/components/Drawer/style/index.js +4 -0
- package/lib/components/Dropdown/Dropdown.d.ts +5 -0
- package/lib/components/Dropdown/Dropdown.js +39 -0
- package/lib/components/Dropdown/index.d.ts +3 -0
- package/lib/components/Dropdown/index.js +35 -0
- package/lib/components/Dropdown/interface.d.ts +8 -0
- package/lib/components/Dropdown/interface.js +6 -0
- package/lib/components/Dropdown/style/Dropdown.css +48 -0
- package/lib/components/Dropdown/style/css.js +5 -0
- package/lib/components/Dropdown/style/index.d.ts +2 -0
- package/lib/components/Dropdown/style/index.js +5 -0
- package/lib/components/Empty/Empty.d.ts +6 -0
- package/lib/components/Empty/Empty.js +77 -0
- package/lib/components/Empty/index.d.ts +4 -0
- package/lib/components/Empty/index.js +33 -0
- package/lib/components/Empty/interface.d.ts +11 -0
- package/lib/components/Empty/interface.js +6 -0
- package/lib/components/Empty/style/Empty.css +58 -0
- package/lib/components/Empty/style/css.js +5 -0
- package/lib/components/Empty/style/index.d.ts +2 -0
- package/lib/components/Empty/style/index.js +5 -0
- package/lib/components/Flex/Flex.d.ts +5 -0
- package/lib/components/Flex/Flex.js +60 -0
- package/lib/components/Flex/constants.d.ts +41 -0
- package/lib/components/Flex/constants.js +51 -0
- package/lib/components/Flex/index.d.ts +5 -0
- package/lib/components/Flex/index.js +60 -0
- package/lib/components/Flex/interface.d.ts +13 -0
- package/lib/components/Flex/interface.js +6 -0
- package/lib/components/Flex/style/Flex.css +71 -0
- package/lib/components/Flex/style/css.js +4 -0
- package/lib/components/Flex/style/index.d.ts +1 -0
- package/lib/components/Flex/style/index.js +4 -0
- package/lib/components/Grid/Col.d.ts +4 -0
- package/lib/components/Grid/Col.js +93 -0
- package/lib/components/Grid/Grid.d.ts +10 -0
- package/lib/components/Grid/Grid.js +21 -0
- package/lib/components/Grid/Row.d.ts +4 -0
- package/lib/components/Grid/Row.js +50 -0
- package/lib/components/Grid/constants.d.ts +48 -0
- package/lib/components/Grid/constants.js +77 -0
- package/lib/components/Grid/helper.d.ts +15 -0
- package/lib/components/Grid/helper.js +94 -0
- package/lib/components/Grid/index.d.ts +7 -0
- package/lib/components/Grid/index.js +62 -0
- package/lib/components/Grid/interface.d.ts +38 -0
- package/lib/components/Grid/interface.js +6 -0
- package/lib/components/Grid/style/Grid.css +952 -0
- package/lib/components/Grid/style/css.js +4 -0
- package/lib/components/Grid/style/index.d.ts +1 -0
- package/lib/components/Grid/style/index.js +4 -0
- package/lib/components/Icons/Icons.d.ts +194 -0
- package/lib/components/Icons/Icons.js +195 -0
- package/lib/components/Icons/Illustrations.d.ts +19 -0
- package/lib/components/Icons/Illustrations.js +943 -0
- package/lib/components/Icons/Logo.d.ts +36 -0
- package/lib/components/Icons/Logo.js +219 -0
- package/lib/components/Icons/SVGs.d.ts +267 -0
- package/lib/components/Icons/SVGs.js +1936 -0
- package/lib/components/Icons/Wrapper.d.ts +6 -0
- package/lib/components/Icons/Wrapper.js +109 -0
- package/lib/components/Icons/index.d.ts +4 -0
- package/lib/components/Icons/index.js +52 -0
- package/lib/components/Icons/interface.d.ts +30 -0
- package/lib/components/Icons/interface.js +6 -0
- package/lib/components/Icons/style/Icons.css +81 -0
- package/lib/components/Icons/style/css.js +4 -0
- package/lib/components/Icons/style/index.d.ts +1 -0
- package/lib/components/Icons/style/index.js +4 -0
- package/lib/components/Input/Amount/Amount.d.ts +6 -0
- package/lib/components/Input/Amount/Amount.js +208 -0
- package/lib/components/Input/Amount/helper.d.ts +35 -0
- package/lib/components/Input/Amount/helper.js +102 -0
- package/lib/components/Input/Amount/index.d.ts +3 -0
- package/lib/components/Input/Amount/index.js +18 -0
- package/lib/components/Input/Amount/style/Amount.css +103 -0
- package/lib/components/Input/Amount/style/css.js +4 -0
- package/lib/components/Input/Amount/style/index.d.ts +1 -0
- package/lib/components/Input/Amount/style/index.js +4 -0
- package/lib/components/Input/FieldShell/FieldShell.css +76 -0
- package/lib/components/Input/FieldShell/FieldShell.d.ts +23 -0
- package/lib/components/Input/FieldShell/FieldShell.js +108 -0
- package/lib/components/Input/FieldShell/index.d.ts +3 -0
- package/lib/components/Input/FieldShell/index.js +22 -0
- package/lib/components/Input/Input/Input.css +124 -0
- package/lib/components/Input/Input/Input.d.ts +3 -0
- package/lib/components/Input/Input/Input.js +180 -0
- package/lib/components/Input/Input/index.d.ts +2 -0
- package/lib/components/Input/Input/index.js +22 -0
- package/lib/components/Input/Mask/Mask.d.ts +5 -0
- package/lib/components/Input/Mask/Mask.js +354 -0
- package/lib/components/Input/Mask/index.d.ts +2 -0
- package/lib/components/Input/Mask/index.js +22 -0
- package/lib/components/Input/OTP/OTP.css +79 -0
- package/lib/components/Input/OTP/OTP.d.ts +5 -0
- package/lib/components/Input/OTP/OTP.js +164 -0
- package/lib/components/Input/OTP/index.d.ts +2 -0
- package/lib/components/Input/OTP/index.js +22 -0
- package/lib/components/Input/Password/Password.d.ts +5 -0
- package/lib/components/Input/Password/Password.js +138 -0
- package/lib/components/Input/Password/index.d.ts +2 -0
- package/lib/components/Input/Password/index.js +22 -0
- package/lib/components/Input/Search/Search.d.ts +5 -0
- package/lib/components/Input/Search/Search.js +161 -0
- package/lib/components/Input/Search/index.d.ts +2 -0
- package/lib/components/Input/Search/index.js +22 -0
- package/lib/components/Input/TextArea/TextArea.css +93 -0
- package/lib/components/Input/TextArea/TextArea.d.ts +5 -0
- package/lib/components/Input/TextArea/TextArea.js +110 -0
- package/lib/components/Input/TextArea/index.d.ts +2 -0
- package/lib/components/Input/TextArea/index.js +22 -0
- package/lib/components/Input/Trade/Trade.css +192 -0
- package/lib/components/Input/Trade/Trade.d.ts +5 -0
- package/lib/components/Input/Trade/Trade.js +142 -0
- package/lib/components/Input/Trade/index.d.ts +2 -0
- package/lib/components/Input/Trade/index.js +22 -0
- package/lib/components/Input/constants.d.ts +15 -0
- package/lib/components/Input/constants.js +22 -0
- package/lib/components/Input/index.d.ts +4 -0
- package/lib/components/Input/index.js +49 -0
- package/lib/components/Input/interface.d.ts +156 -0
- package/lib/components/Input/interface.js +6 -0
- package/lib/components/Input/style/css.js +9 -0
- package/lib/components/Input/style/index.d.ts +6 -0
- package/lib/components/Input/style/index.js +9 -0
- package/lib/components/Input/useAmountInput.d.ts +35 -0
- package/lib/components/Input/useAmountInput.js +214 -0
- package/lib/components/Input/useSyncRef.d.ts +2 -0
- package/lib/components/Input/useSyncRef.js +19 -0
- package/lib/components/Link/Link.d.ts +4 -0
- package/lib/components/Link/Link.js +66 -0
- package/lib/components/Link/constants.d.ts +5 -0
- package/lib/components/Link/constants.js +12 -0
- package/lib/components/Link/index.d.ts +5 -0
- package/lib/components/Link/index.js +45 -0
- package/lib/components/Link/interface.d.ts +13 -0
- package/lib/components/Link/interface.js +6 -0
- package/lib/components/Link/style/Link.css +70 -0
- package/lib/components/Link/style/css.js +4 -0
- package/lib/components/Link/style/index.d.ts +1 -0
- package/lib/components/Link/style/index.js +4 -0
- package/lib/components/Navigation/Nav.d.ts +5 -0
- package/lib/components/Navigation/Nav.js +210 -0
- package/lib/components/Navigation/Navigation.d.ts +5 -0
- package/lib/components/Navigation/Navigation.js +309 -0
- package/lib/components/Navigation/NavigationLogo.d.ts +8 -0
- package/lib/components/Navigation/NavigationLogo.js +52 -0
- package/lib/components/Navigation/NavigationStepper.d.ts +5 -0
- package/lib/components/Navigation/NavigationStepper.js +82 -0
- package/lib/components/Navigation/index.d.ts +6 -0
- package/lib/components/Navigation/index.js +49 -0
- package/lib/components/Navigation/interface.d.ts +134 -0
- package/lib/components/Navigation/interface.js +6 -0
- package/lib/components/Navigation/style/Nav.css +158 -0
- package/lib/components/Navigation/style/Navigation.css +373 -0
- package/lib/components/Navigation/style/NavigationStepper.css +97 -0
- package/lib/components/Navigation/style/css.js +6 -0
- package/lib/components/Navigation/style/index.d.ts +3 -0
- package/lib/components/Navigation/style/index.js +6 -0
- package/lib/components/Notification/Notification.d.ts +6 -0
- package/lib/components/Notification/Notification.js +116 -0
- package/lib/components/Notification/NotificationStatic.d.ts +4 -0
- package/lib/components/Notification/NotificationStatic.js +515 -0
- package/lib/components/Notification/constants.d.ts +12 -0
- package/lib/components/Notification/constants.js +22 -0
- package/lib/components/Notification/index.d.ts +5 -0
- package/lib/components/Notification/index.js +52 -0
- package/lib/components/Notification/interface.d.ts +70 -0
- package/lib/components/Notification/interface.js +13 -0
- package/lib/components/Notification/style/Notification.css +170 -0
- package/lib/components/Notification/style/css.js +4 -0
- package/lib/components/Notification/style/index.d.ts +1 -0
- package/lib/components/Notification/style/index.js +4 -0
- package/lib/components/Pagination/Pagination.d.ts +5 -0
- package/lib/components/Pagination/Pagination.js +145 -0
- package/lib/components/Pagination/constants.d.ts +52 -0
- package/lib/components/Pagination/constants.js +62 -0
- package/lib/components/Pagination/index.d.ts +6 -0
- package/lib/components/Pagination/index.js +53 -0
- package/lib/components/Pagination/interface.d.ts +53 -0
- package/lib/components/Pagination/interface.js +6 -0
- package/lib/components/Pagination/style/Pagination.css +89 -0
- package/lib/components/Pagination/style/css.js +4 -0
- package/lib/components/Pagination/style/index.d.ts +1 -0
- package/lib/components/Pagination/style/index.js +4 -0
- package/lib/components/Pagination/usePagination.d.ts +3 -0
- package/lib/components/Pagination/usePagination.js +152 -0
- package/lib/components/Popconfirm/Popconfirm.d.ts +6 -0
- package/lib/components/Popconfirm/Popconfirm.js +154 -0
- package/lib/components/Popconfirm/constants.d.ts +74 -0
- package/lib/components/Popconfirm/constants.js +80 -0
- package/lib/components/Popconfirm/index.d.ts +4 -0
- package/lib/components/Popconfirm/index.js +33 -0
- package/lib/components/Popconfirm/interface.d.ts +40 -0
- package/lib/components/Popconfirm/interface.js +6 -0
- package/lib/components/Popconfirm/style/Popconfirm.css +137 -0
- package/lib/components/Popconfirm/style/css.js +7 -0
- package/lib/components/Popconfirm/style/index.d.ts +4 -0
- package/lib/components/Popconfirm/style/index.js +7 -0
- package/lib/components/Portal/Portal.d.ts +3 -0
- package/lib/components/Portal/Portal.js +61 -0
- package/lib/components/Portal/index.d.ts +4 -0
- package/lib/components/Portal/index.js +33 -0
- package/lib/components/Portal/interface.d.ts +7 -0
- package/lib/components/Portal/interface.js +6 -0
- package/lib/components/ProForm/ProForm.d.ts +4 -0
- package/lib/components/ProForm/ProForm.js +312 -0
- package/lib/components/ProForm/ProFormDependency.d.ts +4 -0
- package/lib/components/ProForm/ProFormDependency.js +170 -0
- package/lib/components/ProForm/ProFormGroup.d.ts +3 -0
- package/lib/components/ProForm/ProFormGroup.js +85 -0
- package/lib/components/ProForm/ProFormItem.d.ts +4 -0
- package/lib/components/ProForm/ProFormItem.js +229 -0
- package/lib/components/ProForm/ProFormList.d.ts +3 -0
- package/lib/components/ProForm/ProFormList.js +259 -0
- package/lib/components/ProForm/Submitter.d.ts +6 -0
- package/lib/components/ProForm/Submitter.js +113 -0
- package/lib/components/ProForm/constants.d.ts +18 -0
- package/lib/components/ProForm/constants.js +29 -0
- package/lib/components/ProForm/context.d.ts +13 -0
- package/lib/components/ProForm/context.js +35 -0
- package/lib/components/ProForm/core/constants.d.ts +21 -0
- package/lib/components/ProForm/core/constants.js +26 -0
- package/lib/components/ProForm/core/hooks/useForm.d.ts +3 -0
- package/lib/components/ProForm/core/hooks/useForm.js +686 -0
- package/lib/components/ProForm/core/hooks/useFormCore.d.ts +3 -0
- package/lib/components/ProForm/core/hooks/useFormCore.js +354 -0
- package/lib/components/ProForm/core/index.d.ts +6 -0
- package/lib/components/ProForm/core/index.js +56 -0
- package/lib/components/ProForm/core/interface.d.ts +153 -0
- package/lib/components/ProForm/core/interface.js +6 -0
- package/lib/components/ProForm/core/useFormItem.d.ts +21 -0
- package/lib/components/ProForm/core/useFormItem.js +183 -0
- package/lib/components/ProForm/fields/ProFormCheckbox.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormCheckbox.js +17 -0
- package/lib/components/ProForm/fields/ProFormCheckboxGroup.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormCheckboxGroup.js +18 -0
- package/lib/components/ProForm/fields/ProFormDatePicker.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormDatePicker.js +29 -0
- package/lib/components/ProForm/fields/ProFormFieldSet.d.ts +4 -0
- package/lib/components/ProForm/fields/ProFormFieldSet.js +75 -0
- package/lib/components/ProForm/fields/ProFormPassword.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormPassword.js +17 -0
- package/lib/components/ProForm/fields/ProFormRadioGroup.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormRadioGroup.js +16 -0
- package/lib/components/ProForm/fields/ProFormSelect.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormSelect.js +46 -0
- package/lib/components/ProForm/fields/ProFormSlider.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormSlider.js +16 -0
- package/lib/components/ProForm/fields/ProFormSwitch.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormSwitch.js +17 -0
- package/lib/components/ProForm/fields/ProFormText.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormText.js +16 -0
- package/lib/components/ProForm/fields/ProFormTextArea.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormTextArea.js +16 -0
- package/lib/components/ProForm/fields/ProFormUpload.d.ts +3 -0
- package/lib/components/ProForm/fields/ProFormUpload.js +32 -0
- package/lib/components/ProForm/fields/createProFormField.d.ts +4 -0
- package/lib/components/ProForm/fields/createProFormField.js +164 -0
- package/lib/components/ProForm/fields/index.d.ts +13 -0
- package/lib/components/ProForm/fields/index.js +97 -0
- package/lib/components/ProForm/hooks/useFieldRequest.d.ts +7 -0
- package/lib/components/ProForm/hooks/useFieldRequest.js +98 -0
- package/lib/components/ProForm/index.d.ts +38 -0
- package/lib/components/ProForm/index.js +206 -0
- package/lib/components/ProForm/interface.d.ts +284 -0
- package/lib/components/ProForm/interface.js +6 -0
- package/lib/components/ProForm/layouts/DialogForm.d.ts +3 -0
- package/lib/components/ProForm/layouts/DialogForm.js +81 -0
- package/lib/components/ProForm/layouts/DrawerForm.d.ts +3 -0
- package/lib/components/ProForm/layouts/DrawerForm.js +80 -0
- package/lib/components/ProForm/layouts/QueryFilter.d.ts +4 -0
- package/lib/components/ProForm/layouts/QueryFilter.js +167 -0
- package/lib/components/ProForm/layouts/index.d.ts +4 -0
- package/lib/components/ProForm/layouts/index.js +34 -0
- package/lib/components/ProForm/layouts/useOverlayForm.d.ts +17 -0
- package/lib/components/ProForm/layouts/useOverlayForm.js +117 -0
- package/lib/components/ProForm/style/ProForm.css +168 -0
- package/lib/components/ProForm/style/css.js +4 -0
- package/lib/components/ProForm/style/index.d.ts +1 -0
- package/lib/components/ProForm/style/index.js +4 -0
- package/lib/components/ProForm/utils.d.ts +22 -0
- package/lib/components/ProForm/utils.js +228 -0
- package/lib/components/Progress/Progress.d.ts +6 -0
- package/lib/components/Progress/Progress.js +103 -0
- package/lib/components/Progress/constants.d.ts +26 -0
- package/lib/components/Progress/constants.js +38 -0
- package/lib/components/Progress/index.d.ts +5 -0
- package/lib/components/Progress/index.js +45 -0
- package/lib/components/Progress/interface.d.ts +26 -0
- package/lib/components/Progress/interface.js +6 -0
- package/lib/components/Progress/style/Progress.css +103 -0
- package/lib/components/Progress/style/css.js +4 -0
- package/lib/components/Progress/style/index.d.ts +1 -0
- package/lib/components/Progress/style/index.js +4 -0
- package/lib/components/Radio/BaseRadio.d.ts +16 -0
- package/lib/components/Radio/BaseRadio.js +65 -0
- package/lib/components/Radio/Radio.d.ts +6 -0
- package/lib/components/Radio/Radio.js +192 -0
- package/lib/components/Radio/RadioGroup.d.ts +5 -0
- package/lib/components/Radio/RadioGroup.js +112 -0
- package/lib/components/Radio/RadioGroupContext.d.ts +22 -0
- package/lib/components/Radio/RadioGroupContext.js +13 -0
- package/lib/components/Radio/constants.d.ts +39 -0
- package/lib/components/Radio/constants.js +63 -0
- package/lib/components/Radio/index.d.ts +5 -0
- package/lib/components/Radio/index.js +41 -0
- package/lib/components/Radio/interface.d.ts +122 -0
- package/lib/components/Radio/interface.js +6 -0
- package/lib/components/Radio/style/Radio.css +362 -0
- package/lib/components/Radio/style/css.js +5 -0
- package/lib/components/Radio/style/index.d.ts +2 -0
- package/lib/components/Radio/style/index.js +5 -0
- package/lib/components/ResizeObserver/Collection.d.ts +19 -0
- package/lib/components/ResizeObserver/Collection.js +51 -0
- package/lib/components/ResizeObserver/ResizeObserver.d.ts +7 -0
- package/lib/components/ResizeObserver/ResizeObserver.js +41 -0
- package/lib/components/ResizeObserver/SingleObserver/index.d.ts +7 -0
- package/lib/components/ResizeObserver/SingleObserver/index.js +48 -0
- package/lib/components/ResizeObserver/index.d.ts +7 -0
- package/lib/components/ResizeObserver/index.js +30 -0
- package/lib/components/ResizeObserver/interface.d.ts +16 -0
- package/lib/components/ResizeObserver/interface.js +6 -0
- package/lib/components/ResizeObserver/useResizeObserver.d.ts +2 -0
- package/lib/components/ResizeObserver/useResizeObserver.js +79 -0
- package/lib/components/ResizeObserver/utils/observerUtil.d.ts +7 -0
- package/lib/components/ResizeObserver/utils/observerUtil.js +47 -0
- package/lib/components/ResizeObserver/utils/reactUtil.d.ts +19 -0
- package/lib/components/ResizeObserver/utils/reactUtil.js +91 -0
- package/lib/components/Segment/Segment.d.ts +6 -0
- package/lib/components/Segment/Segment.js +110 -0
- package/lib/components/Segment/index.d.ts +4 -0
- package/lib/components/Segment/index.js +33 -0
- package/lib/components/Segment/interface.d.ts +23 -0
- package/lib/components/Segment/interface.js +6 -0
- package/lib/components/Segment/style/Segment.css +79 -0
- package/lib/components/Segment/style/css.js +4 -0
- package/lib/components/Segment/style/index.d.ts +1 -0
- package/lib/components/Segment/style/index.js +4 -0
- package/lib/components/Select/Select.d.ts +6 -0
- package/lib/components/Select/Select.js +573 -0
- package/lib/components/Select/SelectCustom.d.ts +6 -0
- package/lib/components/Select/SelectCustom.js +242 -0
- package/lib/components/Select/SelectFieldShell.d.ts +24 -0
- package/lib/components/Select/SelectFieldShell.js +87 -0
- package/lib/components/Select/SelectOptionContent.d.ts +17 -0
- package/lib/components/Select/SelectOptionContent.js +51 -0
- package/lib/components/Select/SelectSearchControl.d.ts +15 -0
- package/lib/components/Select/SelectSearchControl.js +49 -0
- package/lib/components/Select/SelectValueContent.d.ts +18 -0
- package/lib/components/Select/SelectValueContent.js +105 -0
- package/lib/components/Select/constants.d.ts +45 -0
- package/lib/components/Select/constants.js +49 -0
- package/lib/components/Select/index.d.ts +7 -0
- package/lib/components/Select/index.js +41 -0
- package/lib/components/Select/interface.d.ts +229 -0
- package/lib/components/Select/interface.js +10 -0
- package/lib/components/Select/style/Select.css +468 -0
- package/lib/components/Select/style/css.js +6 -0
- package/lib/components/Select/style/index.d.ts +3 -0
- package/lib/components/Select/style/index.js +6 -0
- package/lib/components/Select/useSelectShell.d.ts +34 -0
- package/lib/components/Select/useSelectShell.js +114 -0
- package/lib/components/Select/utils.d.ts +21 -0
- package/lib/components/Select/utils.js +161 -0
- package/lib/components/Skeleton/Skeleton.d.ts +6 -0
- package/lib/components/Skeleton/Skeleton.js +58 -0
- package/lib/components/Skeleton/index.d.ts +4 -0
- package/lib/components/Skeleton/index.js +33 -0
- package/lib/components/Skeleton/interface.d.ts +19 -0
- package/lib/components/Skeleton/interface.js +6 -0
- package/lib/components/Skeleton/style/Skeleton.css +54 -0
- package/lib/components/Skeleton/style/css.js +4 -0
- package/lib/components/Skeleton/style/index.d.ts +1 -0
- package/lib/components/Skeleton/style/index.js +4 -0
- package/lib/components/Slider/Slider.d.ts +6 -0
- package/lib/components/Slider/Slider.js +127 -0
- package/lib/components/Slider/index.d.ts +4 -0
- package/lib/components/Slider/index.js +33 -0
- package/lib/components/Slider/interface.d.ts +39 -0
- package/lib/components/Slider/interface.js +6 -0
- package/lib/components/Slider/style/Slider.css +161 -0
- package/lib/components/Slider/style/css.js +4 -0
- package/lib/components/Slider/style/index.d.ts +1 -0
- package/lib/components/Slider/style/index.js +4 -0
- package/lib/components/Space/Space.d.ts +5 -0
- package/lib/components/Space/Space.js +88 -0
- package/lib/components/Space/constants.d.ts +33 -0
- package/lib/components/Space/constants.js +43 -0
- package/lib/components/Space/index.d.ts +5 -0
- package/lib/components/Space/index.js +53 -0
- package/lib/components/Space/interface.d.ts +12 -0
- package/lib/components/Space/interface.js +6 -0
- package/lib/components/Space/style/Space.css +47 -0
- package/lib/components/Space/style/css.js +4 -0
- package/lib/components/Space/style/index.d.ts +1 -0
- package/lib/components/Space/style/index.js +4 -0
- package/lib/components/Spinner/Spinner.d.ts +6 -0
- package/lib/components/Spinner/Spinner.js +230 -0
- package/lib/components/Spinner/index.d.ts +4 -0
- package/lib/components/Spinner/index.js +33 -0
- package/lib/components/Spinner/interface.d.ts +18 -0
- package/lib/components/Spinner/interface.js +8 -0
- package/lib/components/Spinner/lottie-pure.json +1 -0
- package/lib/components/Spinner/style/Spinner.css +99 -0
- package/lib/components/Spinner/style/css.js +4 -0
- package/lib/components/Spinner/style/index.d.ts +1 -0
- package/lib/components/Spinner/style/index.js +4 -0
- package/lib/components/Step/Step.d.ts +5 -0
- package/lib/components/Step/Step.js +126 -0
- package/lib/components/Step/constants.d.ts +59 -0
- package/lib/components/Step/constants.js +72 -0
- package/lib/components/Step/index.d.ts +4 -0
- package/lib/components/Step/index.js +33 -0
- package/lib/components/Step/interface.d.ts +22 -0
- package/lib/components/Step/interface.js +6 -0
- package/lib/components/Step/style/Step.css +107 -0
- package/lib/components/Step/style/css.js +4 -0
- package/lib/components/Step/style/index.d.ts +1 -0
- package/lib/components/Step/style/index.js +4 -0
- package/lib/components/Switch/Switch.d.ts +6 -0
- package/lib/components/Switch/Switch.js +104 -0
- package/lib/components/Switch/constants.d.ts +25 -0
- package/lib/components/Switch/constants.js +33 -0
- package/lib/components/Switch/index.d.ts +5 -0
- package/lib/components/Switch/index.js +45 -0
- package/lib/components/Switch/interface.d.ts +26 -0
- package/lib/components/Switch/interface.js +6 -0
- package/lib/components/Switch/style/Switch.css +102 -0
- package/lib/components/Switch/style/css.js +5 -0
- package/lib/components/Switch/style/index.d.ts +2 -0
- package/lib/components/Switch/style/index.js +5 -0
- package/lib/components/Table/Table.d.ts +10 -0
- package/lib/components/Table/Table.js +47 -0
- package/lib/components/Table/VirtualTable.d.ts +9 -0
- package/lib/components/Table/VirtualTable.js +59 -0
- package/lib/components/Table/constants.d.ts +4 -0
- package/lib/components/Table/constants.js +11 -0
- package/lib/components/Table/core/useTableColumns.d.ts +48 -0
- package/lib/components/Table/core/useTableColumns.js +260 -0
- package/lib/components/Table/core/useTableDataPipeline.d.ts +57 -0
- package/lib/components/Table/core/useTableDataPipeline.js +435 -0
- package/lib/components/Table/core/useTableExpand.d.ts +11 -0
- package/lib/components/Table/core/useTableExpand.js +70 -0
- package/lib/components/Table/core/useTableSelection.d.ts +15 -0
- package/lib/components/Table/core/useTableSelection.js +151 -0
- package/lib/components/Table/core/useTableSetup.d.ts +42 -0
- package/lib/components/Table/core/useTableSetup.js +204 -0
- package/lib/components/Table/features/ExpandTrigger.d.ts +4 -0
- package/lib/components/Table/features/ExpandTrigger.js +38 -0
- package/lib/components/Table/features/FilterTrigger.d.ts +9 -0
- package/lib/components/Table/features/FilterTrigger.js +164 -0
- package/lib/components/Table/features/SelectionColumn.d.ts +12 -0
- package/lib/components/Table/features/SelectionColumn.js +60 -0
- package/lib/components/Table/features/SortTrigger.d.ts +7 -0
- package/lib/components/Table/features/SortTrigger.js +32 -0
- package/lib/components/Table/index.d.ts +6 -0
- package/lib/components/Table/index.js +47 -0
- package/lib/components/Table/interface.d.ts +262 -0
- package/lib/components/Table/interface.js +6 -0
- package/lib/components/Table/internal/index.d.ts +3 -0
- package/lib/components/Table/internal/index.js +52 -0
- package/lib/components/Table/internal/kernel/Body/BodyRow.d.ts +37 -0
- package/lib/components/Table/internal/kernel/Body/BodyRow.js +186 -0
- package/lib/components/Table/internal/kernel/Body/ExpandedRow.d.ts +15 -0
- package/lib/components/Table/internal/kernel/Body/ExpandedRow.js +67 -0
- package/lib/components/Table/internal/kernel/Body/MeasureCell.d.ts +8 -0
- package/lib/components/Table/internal/kernel/Body/MeasureCell.js +50 -0
- package/lib/components/Table/internal/kernel/Body/MeasureRow.d.ts +10 -0
- package/lib/components/Table/internal/kernel/Body/MeasureRow.js +64 -0
- package/lib/components/Table/internal/kernel/Body/index.d.ts +9 -0
- package/lib/components/Table/internal/kernel/Body/index.js +135 -0
- package/lib/components/Table/internal/kernel/Cell/index.d.ts +39 -0
- package/lib/components/Table/internal/kernel/Cell/index.js +190 -0
- package/lib/components/Table/internal/kernel/Cell/useCellRender.d.ts +3 -0
- package/lib/components/Table/internal/kernel/Cell/useCellRender.js +74 -0
- package/lib/components/Table/internal/kernel/Cell/useHoverState.d.ts +2 -0
- package/lib/components/Table/internal/kernel/Cell/useHoverState.js +23 -0
- package/lib/components/Table/internal/kernel/ColGroup.d.ts +8 -0
- package/lib/components/Table/internal/kernel/ColGroup.js +68 -0
- package/lib/components/Table/internal/kernel/FixedHolder/index.d.ts +27 -0
- package/lib/components/Table/internal/kernel/FixedHolder/index.js +192 -0
- package/lib/components/Table/internal/kernel/Footer/Cell.d.ts +11 -0
- package/lib/components/Table/internal/kernel/Footer/Cell.js +60 -0
- package/lib/components/Table/internal/kernel/Footer/Row.d.ts +8 -0
- package/lib/components/Table/internal/kernel/Footer/Row.js +31 -0
- package/lib/components/Table/internal/kernel/Footer/Summary.d.ts +14 -0
- package/lib/components/Table/internal/kernel/Footer/Summary.js +20 -0
- package/lib/components/Table/internal/kernel/Footer/SummaryContext.d.ts +11 -0
- package/lib/components/Table/internal/kernel/Footer/SummaryContext.js +13 -0
- package/lib/components/Table/internal/kernel/Footer/index.d.ts +16 -0
- package/lib/components/Table/internal/kernel/Footer/index.js +47 -0
- package/lib/components/Table/internal/kernel/Header/Header.d.ts +9 -0
- package/lib/components/Table/internal/kernel/Header/Header.js +120 -0
- package/lib/components/Table/internal/kernel/Header/HeaderRow.d.ts +18 -0
- package/lib/components/Table/internal/kernel/Header/HeaderRow.js +71 -0
- package/lib/components/Table/internal/kernel/Panel/index.d.ts +7 -0
- package/lib/components/Table/internal/kernel/Panel/index.js +25 -0
- package/lib/components/Table/internal/kernel/Table.d.ts +126 -0
- package/lib/components/Table/internal/kernel/Table.js +695 -0
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +13 -0
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.js +298 -0
- package/lib/components/Table/internal/kernel/VirtualTable/BodyLine.d.ts +14 -0
- package/lib/components/Table/internal/kernel/VirtualTable/BodyLine.js +125 -0
- package/lib/components/Table/internal/kernel/VirtualTable/VirtualCell.d.ts +26 -0
- package/lib/components/Table/internal/kernel/VirtualTable/VirtualCell.js +117 -0
- package/lib/components/Table/internal/kernel/VirtualTable/context.d.ts +13 -0
- package/lib/components/Table/internal/kernel/VirtualTable/context.js +12 -0
- package/lib/components/Table/internal/kernel/VirtualTable/index.d.ts +17 -0
- package/lib/components/Table/internal/kernel/VirtualTable/index.js +100 -0
- package/lib/components/Table/internal/kernel/constant.d.ts +2 -0
- package/lib/components/Table/internal/kernel/constant.js +10 -0
- package/lib/components/Table/internal/kernel/context/PerfContext.d.ts +6 -0
- package/lib/components/Table/internal/kernel/context/PerfContext.js +18 -0
- package/lib/components/Table/internal/kernel/context/TableContext.d.ts +51 -0
- package/lib/components/Table/internal/kernel/context/TableContext.js +16 -0
- package/lib/components/Table/internal/kernel/hooks/useColumns/index.d.ts +31 -0
- package/lib/components/Table/internal/kernel/hooks/useColumns/index.js +223 -0
- package/lib/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.d.ts +5 -0
- package/lib/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.js +79 -0
- package/lib/components/Table/internal/kernel/hooks/useExpand.d.ts +10 -0
- package/lib/components/Table/internal/kernel/hooks/useExpand.js +94 -0
- package/lib/components/Table/internal/kernel/hooks/useFixedInfo.d.ts +2 -0
- package/lib/components/Table/internal/kernel/hooks/useFixedInfo.js +29 -0
- package/lib/components/Table/internal/kernel/hooks/useFlattenRecords.d.ts +19 -0
- package/lib/components/Table/internal/kernel/hooks/useFlattenRecords.js +64 -0
- package/lib/components/Table/internal/kernel/hooks/useFrame.d.ts +7 -0
- package/lib/components/Table/internal/kernel/hooks/useFrame.js +72 -0
- package/lib/components/Table/internal/kernel/hooks/useHover.d.ts +2 -0
- package/lib/components/Table/internal/kernel/hooks/useHover.js +30 -0
- package/lib/components/Table/internal/kernel/hooks/useRenderTimes.d.ts +5 -0
- package/lib/components/Table/internal/kernel/hooks/useRenderTimes.js +51 -0
- package/lib/components/Table/internal/kernel/hooks/useRowInfo.d.ts +11 -0
- package/lib/components/Table/internal/kernel/hooks/useRowInfo.js +70 -0
- package/lib/components/Table/internal/kernel/hooks/useSticky.d.ts +10 -0
- package/lib/components/Table/internal/kernel/hooks/useSticky.js +44 -0
- package/lib/components/Table/internal/kernel/hooks/useStickyOffsets.d.ts +6 -0
- package/lib/components/Table/internal/kernel/hooks/useStickyOffsets.js +38 -0
- package/lib/components/Table/internal/kernel/index.d.ts +12 -0
- package/lib/components/Table/internal/kernel/index.js +74 -0
- package/lib/components/Table/internal/kernel/interface.d.ts +202 -0
- package/lib/components/Table/internal/kernel/interface.js +6 -0
- package/lib/components/Table/internal/kernel/namePathType.d.ts +13 -0
- package/lib/components/Table/internal/kernel/namePathType.js +6 -0
- package/lib/components/Table/internal/kernel/selector-context/Immutable.d.ts +10 -0
- package/lib/components/Table/internal/kernel/selector-context/Immutable.js +82 -0
- package/lib/components/Table/internal/kernel/selector-context/context.d.ts +26 -0
- package/lib/components/Table/internal/kernel/selector-context/context.js +93 -0
- package/lib/components/Table/internal/kernel/selector-context/index.d.ts +7 -0
- package/lib/components/Table/internal/kernel/selector-context/index.js +34 -0
- package/lib/components/Table/internal/kernel/selector-context/isEqual.d.ts +5 -0
- package/lib/components/Table/internal/kernel/selector-context/isEqual.js +55 -0
- package/lib/components/Table/internal/kernel/stickyScrollBar.d.ts +12 -0
- package/lib/components/Table/internal/kernel/stickyScrollBar.js +203 -0
- package/lib/components/Table/internal/kernel/sugar/Column.d.ts +10 -0
- package/lib/components/Table/internal/kernel/sugar/Column.js +17 -0
- package/lib/components/Table/internal/kernel/sugar/ColumnGroup.d.ts +12 -0
- package/lib/components/Table/internal/kernel/sugar/ColumnGroup.js +17 -0
- package/lib/components/Table/internal/kernel/utils/dom/canUseDom.d.ts +1 -0
- package/lib/components/Table/internal/kernel/utils/dom/canUseDom.js +10 -0
- package/lib/components/Table/internal/kernel/utils/dom/isVisible.d.ts +2 -0
- package/lib/components/Table/internal/kernel/utils/dom/isVisible.js +34 -0
- package/lib/components/Table/internal/kernel/utils/expandUtil.d.ts +4 -0
- package/lib/components/Table/internal/kernel/utils/expandUtil.js +60 -0
- package/lib/components/Table/internal/kernel/utils/fixUtil.d.ts +21 -0
- package/lib/components/Table/internal/kernel/utils/fixUtil.js +70 -0
- package/lib/components/Table/internal/kernel/utils/get.d.ts +1 -0
- package/lib/components/Table/internal/kernel/utils/get.js +17 -0
- package/lib/components/Table/internal/kernel/utils/getScrollBarSize.d.ts +7 -0
- package/lib/components/Table/internal/kernel/utils/getScrollBarSize.js +45 -0
- package/lib/components/Table/internal/kernel/utils/legacyUtil.d.ts +5 -0
- package/lib/components/Table/internal/kernel/utils/legacyUtil.js +40 -0
- package/lib/components/Table/internal/kernel/utils/offsetUtil.d.ts +4 -0
- package/lib/components/Table/internal/kernel/utils/offsetUtil.js +20 -0
- package/lib/components/Table/internal/kernel/utils/pickAttrs.d.ts +6 -0
- package/lib/components/Table/internal/kernel/utils/pickAttrs.js +39 -0
- package/lib/components/Table/internal/kernel/utils/useMemo.d.ts +1 -0
- package/lib/components/Table/internal/kernel/utils/useMemo.js +19 -0
- package/lib/components/Table/internal/kernel/utils/valueUtil.d.ts +8 -0
- package/lib/components/Table/internal/kernel/utils/valueUtil.js +38 -0
- package/lib/components/Table/internal/kernel/utils/warning.d.ts +4 -0
- package/lib/components/Table/internal/kernel/utils/warning.js +26 -0
- package/lib/components/Table/renderers/BodyCell.d.ts +15 -0
- package/lib/components/Table/renderers/BodyCell.js +47 -0
- package/lib/components/Table/renderers/CellContent.d.ts +4 -0
- package/lib/components/Table/renderers/CellContent.js +32 -0
- package/lib/components/Table/renderers/EmptyState.d.ts +5 -0
- package/lib/components/Table/renderers/EmptyState.js +29 -0
- package/lib/components/Table/renderers/ExpandedRowContainer.d.ts +4 -0
- package/lib/components/Table/renderers/ExpandedRowContainer.js +16 -0
- package/lib/components/Table/renderers/HeaderCell.d.ts +11 -0
- package/lib/components/Table/renderers/HeaderCell.js +38 -0
- package/lib/components/Table/style/Table.css +370 -0
- package/lib/components/Table/style/css.js +12 -0
- package/lib/components/Table/style/index.d.ts +9 -0
- package/lib/components/Table/style/index.js +12 -0
- package/lib/components/Tabs/Tabs.d.ts +6 -0
- package/lib/components/Tabs/Tabs.js +123 -0
- package/lib/components/Tabs/index.d.ts +4 -0
- package/lib/components/Tabs/index.js +33 -0
- package/lib/components/Tabs/interface.d.ts +29 -0
- package/lib/components/Tabs/interface.js +6 -0
- package/lib/components/Tabs/style/Tabs.css +118 -0
- package/lib/components/Tabs/style/css.js +4 -0
- package/lib/components/Tabs/style/index.d.ts +1 -0
- package/lib/components/Tabs/style/index.js +4 -0
- package/lib/components/Tag/Tag.d.ts +6 -0
- package/lib/components/Tag/Tag.js +89 -0
- package/lib/components/Tag/constants.d.ts +18 -0
- package/lib/components/Tag/constants.js +34 -0
- package/lib/components/Tag/index.d.ts +5 -0
- package/lib/components/Tag/index.js +45 -0
- package/lib/components/Tag/interface.d.ts +15 -0
- package/lib/components/Tag/interface.js +6 -0
- package/lib/components/Tag/style/Tag.css +87 -0
- package/lib/components/Tag/style/css.js +4 -0
- package/lib/components/Tag/style/index.d.ts +1 -0
- package/lib/components/Tag/style/index.js +4 -0
- package/lib/components/Tooltip/Tooltip.d.ts +6 -0
- package/lib/components/Tooltip/Tooltip.js +80 -0
- package/lib/components/Tooltip/index.d.ts +4 -0
- package/lib/components/Tooltip/index.js +33 -0
- package/lib/components/Tooltip/interface.d.ts +22 -0
- package/lib/components/Tooltip/interface.js +6 -0
- package/lib/components/Tooltip/style/Tooltip.css +98 -0
- package/lib/components/Tooltip/style/css.js +4 -0
- package/lib/components/Tooltip/style/index.d.ts +1 -0
- package/lib/components/Tooltip/style/index.js +4 -0
- package/lib/components/Tour/Tour.d.ts +3 -0
- package/lib/components/Tour/Tour.js +250 -0
- package/lib/components/Tour/index.d.ts +4 -0
- package/lib/components/Tour/index.js +33 -0
- package/lib/components/Tour/interface.d.ts +46 -0
- package/lib/components/Tour/interface.js +6 -0
- package/lib/components/Trigger/Trigger.d.ts +5 -0
- package/lib/components/Trigger/Trigger.js +203 -0
- package/lib/components/Trigger/index.d.ts +3 -0
- package/lib/components/Trigger/index.js +35 -0
- package/lib/components/Trigger/interface.d.ts +77 -0
- package/lib/components/Trigger/interface.js +6 -0
- package/lib/components/Trigger/style/Trigger.css +35 -0
- package/lib/components/Trigger/style/css.js +4 -0
- package/lib/components/Trigger/style/index.d.ts +1 -0
- package/lib/components/Trigger/style/index.js +4 -0
- package/lib/components/Typography/Typography.d.ts +17 -0
- package/lib/components/Typography/Typography.js +207 -0
- package/lib/components/Typography/constants.d.ts +33 -0
- package/lib/components/Typography/constants.js +15 -0
- package/lib/components/Typography/index.d.ts +4 -0
- package/lib/components/Typography/index.js +79 -0
- package/lib/components/Typography/interface.d.ts +72 -0
- package/lib/components/Typography/interface.js +28 -0
- package/lib/components/Typography/render.d.ts +328 -0
- package/lib/components/Typography/render.js +116 -0
- package/lib/components/Typography/style/Typography.css +444 -0
- package/lib/components/Typography/style/css.js +6 -0
- package/lib/components/Typography/style/index.d.ts +3 -0
- package/lib/components/Typography/style/index.js +6 -0
- package/lib/components/Typography/useTypographyEnhancements.d.ts +43 -0
- package/lib/components/Typography/useTypographyEnhancements.js +118 -0
- package/lib/components/Typography/utils.d.ts +17 -0
- package/lib/components/Typography/utils.js +105 -0
- package/lib/components/Upload/Upload.d.ts +7 -0
- package/lib/components/Upload/Upload.js +97 -0
- package/lib/components/Upload/UploadFileBar.d.ts +6 -0
- package/lib/components/Upload/UploadFileBar.js +78 -0
- package/lib/components/Upload/index.d.ts +5 -0
- package/lib/components/Upload/index.js +41 -0
- package/lib/components/Upload/interface.d.ts +43 -0
- package/lib/components/Upload/interface.js +6 -0
- package/lib/components/Upload/style/Upload.css +55 -0
- package/lib/components/Upload/style/UploadFileBar.css +88 -0
- package/lib/components/Upload/style/css.js +5 -0
- package/lib/components/Upload/style/index.d.ts +2 -0
- package/lib/components/Upload/style/index.js +5 -0
- package/lib/components/VirtualList/Filler.d.ts +21 -0
- package/lib/components/VirtualList/Filler.js +66 -0
- package/lib/components/VirtualList/Item.d.ts +6 -0
- package/lib/components/VirtualList/Item.js +21 -0
- package/lib/components/VirtualList/ScrollBar.d.ts +22 -0
- package/lib/components/VirtualList/ScrollBar.js +246 -0
- package/lib/components/VirtualList/VirtualList.d.ts +62 -0
- package/lib/components/VirtualList/VirtualList.js +540 -0
- package/lib/components/VirtualList/constants.d.ts +4 -0
- package/lib/components/VirtualList/constants.js +11 -0
- package/lib/components/VirtualList/hooks/useChildren.d.ts +2 -0
- package/lib/components/VirtualList/hooks/useChildren.js +34 -0
- package/lib/components/VirtualList/hooks/useDiffItem.d.ts +2 -0
- package/lib/components/VirtualList/hooks/useDiffItem.js +25 -0
- package/lib/components/VirtualList/hooks/useFrameWheel.d.ts +10 -0
- package/lib/components/VirtualList/hooks/useFrameWheel.js +92 -0
- package/lib/components/VirtualList/hooks/useGetSize.d.ts +7 -0
- package/lib/components/VirtualList/hooks/useGetSize.js +57 -0
- package/lib/components/VirtualList/hooks/useHeights.d.ts +8 -0
- package/lib/components/VirtualList/hooks/useHeights.js +106 -0
- package/lib/components/VirtualList/hooks/useMobileTouchMove.d.ts +2 -0
- package/lib/components/VirtualList/hooks/useMobileTouchMove.js +91 -0
- package/lib/components/VirtualList/hooks/useOriginScroll.d.ts +2 -0
- package/lib/components/VirtualList/hooks/useOriginScroll.js +50 -0
- package/lib/components/VirtualList/hooks/useScrollDrag.d.ts +3 -0
- package/lib/components/VirtualList/hooks/useScrollDrag.js +87 -0
- package/lib/components/VirtualList/hooks/useScrollTo.d.ts +18 -0
- package/lib/components/VirtualList/hooks/useScrollTo.js +142 -0
- package/lib/components/VirtualList/index.d.ts +9 -0
- package/lib/components/VirtualList/index.js +31 -0
- package/lib/components/VirtualList/interface.d.ts +26 -0
- package/lib/components/VirtualList/interface.js +6 -0
- package/lib/components/VirtualList/style/VirtualList.css +25 -0
- package/lib/components/VirtualList/style/css.js +4 -0
- package/lib/components/VirtualList/style/index.d.ts +1 -0
- package/lib/components/VirtualList/style/index.js +4 -0
- package/lib/components/VirtualList/utils/CacheMap.d.ts +16 -0
- package/lib/components/VirtualList/utils/CacheMap.js +50 -0
- package/lib/components/VirtualList/utils/algorithmUtil.d.ts +23 -0
- package/lib/components/VirtualList/utils/algorithmUtil.js +84 -0
- package/lib/components/VirtualList/utils/isFirefox.d.ts +2 -0
- package/lib/components/VirtualList/utils/isFirefox.js +11 -0
- package/lib/components/VirtualList/utils/raf.d.ts +9 -0
- package/lib/components/VirtualList/utils/raf.js +53 -0
- package/lib/components/VirtualList/utils/scrollbarUtil.d.ts +1 -0
- package/lib/components/VirtualList/utils/scrollbarUtil.js +18 -0
- package/lib/hooks/index.d.ts +2 -0
- package/lib/hooks/index.js +13 -0
- package/lib/hooks/useFloatingAnimation.d.ts +24 -0
- package/lib/hooks/useFloatingAnimation.js +51 -0
- package/lib/index.css +1 -0
- package/lib/index.d.ts +92 -0
- package/lib/index.js +519 -0
- package/lib/stories/docs/ComponentDocsPage.js +244 -0
- package/lib/stories/docs/componentDocMeta.js +101 -0
- package/lib/stories/docs/storybook-docs.css +401 -0
- package/lib/styles/index.css +5328 -0
- package/lib/utils/classnames.d.ts +5 -0
- package/lib/utils/classnames.js +25 -0
- package/lib/utils/clipboard.d.ts +2 -0
- package/lib/utils/clipboard.js +56 -0
- package/lib/utils/ref.d.ts +4 -0
- package/lib/utils/ref.js +41 -0
- package/lib/utils/uuid.d.ts +2 -0
- package/lib/utils/uuid.js +23 -0
- package/package.json +1 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { HTMLAttributes, HTMLAttributeAnchorTarget, MouseEventHandler, ReactNode, Ref } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Status variants for Notification.
|
|
4
|
+
* Each status maps to a distinct icon and icon-background color.
|
|
5
|
+
*/
|
|
6
|
+
export declare const NOTIFICATION_STATUSES: readonly ["info", "success", "warning", "error"];
|
|
7
|
+
export type NotificationStatus = (typeof NOTIFICATION_STATUSES)[number];
|
|
8
|
+
export declare const NOTIFICATION_PLACEMENTS: readonly ["topLeft", "topRight", "bottomLeft", "bottomRight"];
|
|
9
|
+
export type NotificationPlacement = (typeof NOTIFICATION_PLACEMENTS)[number];
|
|
10
|
+
export type NotificationKey = string | number;
|
|
11
|
+
export interface NotificationLinkConfig {
|
|
12
|
+
/** Display text for the link */
|
|
13
|
+
label: string;
|
|
14
|
+
/** Optional URL. When provided, the link renders as an anchor instead of a button. */
|
|
15
|
+
href?: string;
|
|
16
|
+
/** Anchor target. Only applies when href is provided. */
|
|
17
|
+
target?: HTMLAttributeAnchorTarget;
|
|
18
|
+
/** Anchor rel. Only applies when href is provided. */
|
|
19
|
+
rel?: string;
|
|
20
|
+
/** Click handler for the link or action button. */
|
|
21
|
+
onClick?: MouseEventHandler<HTMLElement>;
|
|
22
|
+
}
|
|
23
|
+
export interface NotificationProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
24
|
+
ref?: Ref<HTMLDivElement>;
|
|
25
|
+
/** CSS class prefix for BEM namespace customization */
|
|
26
|
+
prefixCls?: string;
|
|
27
|
+
/** Status variant controlling icon and icon-background color */
|
|
28
|
+
status?: NotificationStatus;
|
|
29
|
+
/** Title text displayed in bold above the body */
|
|
30
|
+
title?: ReactNode;
|
|
31
|
+
/** Body text displayed below the title */
|
|
32
|
+
body?: ReactNode;
|
|
33
|
+
/** Optional link rendered below the body */
|
|
34
|
+
link?: NotificationLinkConfig;
|
|
35
|
+
/** Custom icon element. When provided, overrides the default status icon. */
|
|
36
|
+
icon?: ReactNode;
|
|
37
|
+
/** Whether to show the status icon. Defaults to true. */
|
|
38
|
+
showIcon?: boolean;
|
|
39
|
+
/** Whether to show the close button. Defaults to true. */
|
|
40
|
+
closable?: boolean;
|
|
41
|
+
/** Callback fired when the close button is clicked */
|
|
42
|
+
onClose?: MouseEventHandler<HTMLButtonElement>;
|
|
43
|
+
}
|
|
44
|
+
export interface NotificationOpenConfig extends Omit<NotificationProps, 'prefixCls' | 'ref' | 'onClose'> {
|
|
45
|
+
/** Unique key used to update or destroy a notification */
|
|
46
|
+
key?: NotificationKey;
|
|
47
|
+
/** Screen placement for the notification container */
|
|
48
|
+
placement?: NotificationPlacement;
|
|
49
|
+
/** Auto-close timeout in seconds. Use 0 to disable auto-close. */
|
|
50
|
+
duration?: number;
|
|
51
|
+
/** Callback fired after the notification is removed */
|
|
52
|
+
onClose?: () => void;
|
|
53
|
+
}
|
|
54
|
+
export interface NotificationStaticConfig {
|
|
55
|
+
/** Default screen placement for new notifications */
|
|
56
|
+
placement?: NotificationPlacement;
|
|
57
|
+
/** Default auto-close timeout in seconds */
|
|
58
|
+
duration?: number;
|
|
59
|
+
/** Maximum number of notifications per placement */
|
|
60
|
+
maxCount?: number;
|
|
61
|
+
}
|
|
62
|
+
export interface NotificationStaticApi {
|
|
63
|
+
open: (config: NotificationOpenConfig) => NotificationKey;
|
|
64
|
+
info: (config: Omit<NotificationOpenConfig, 'status'>) => NotificationKey;
|
|
65
|
+
success: (config: Omit<NotificationOpenConfig, 'status'>) => NotificationKey;
|
|
66
|
+
warning: (config: Omit<NotificationOpenConfig, 'status'>) => NotificationKey;
|
|
67
|
+
error: (config: Omit<NotificationOpenConfig, 'status'>) => NotificationKey;
|
|
68
|
+
destroy: (key?: NotificationKey) => void;
|
|
69
|
+
config: (config: NotificationStaticConfig) => void;
|
|
70
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Status variants for Notification.
|
|
3
|
+
* Each status maps to a distinct icon and icon-background color.
|
|
4
|
+
*/
|
|
5
|
+
export var NOTIFICATION_STATUSES = ['info', 'success', 'warning', 'error'];
|
|
6
|
+
export var NOTIFICATION_PLACEMENTS = ['topLeft', 'topRight', 'bottomLeft', 'bottomRight'];
|
|
7
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvTm90aWZpY2F0aW9uL2ludGVyZmFjZS50cyIsImNvbXBvbmVudHMvTm90aWZpY2F0aW9uL2ludGVyZmFjZS5qcyJdLCJuYW1lcyI6WyJOT1RJRklDQVRJT05fU1RBVFVTRVMiLCJOT1RJRklDQVRJT05fUExBQ0VNRU5UUyJdLCJtYXBwaW5ncyI6IkFBUUE7QUNQQTtBQUNBO0FBQ0E7QURTQSxPQUFPLElBQU1BLHFCQUFxQixHQUFHLENBQUMsTUFBTSxFQUFFLFNBQVMsRUFBRSxTQUFTLEVBQUUsT0FBTyxDQUFVO0FBR3JGLE9BQU8sSUFBTUMsdUJBQXVCLEdBQUcsQ0FDckMsU0FBUyxFQUNULFVBQVUsRUFDVixZQUFZLEVBQ1osYUFBYSxDQUNMIiwiZmlsZSI6ImNvbXBvbmVudHMvTm90aWZpY2F0aW9uL2ludGVyZmFjZS5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbCwiLyoqXG4gKiBTdGF0dXMgdmFyaWFudHMgZm9yIE5vdGlmaWNhdGlvbi5cbiAqIEVhY2ggc3RhdHVzIG1hcHMgdG8gYSBkaXN0aW5jdCBpY29uIGFuZCBpY29uLWJhY2tncm91bmQgY29sb3IuXG4gKi9cbmV4cG9ydCBjb25zdCBOT1RJRklDQVRJT05fU1RBVFVTRVMgPSBbJ2luZm8nLCAnc3VjY2VzcycsICd3YXJuaW5nJywgJ2Vycm9yJ107XG5leHBvcnQgY29uc3QgTk9USUZJQ0FUSU9OX1BMQUNFTUVOVFMgPSBbXG4gICAgJ3RvcExlZnQnLFxuICAgICd0b3BSaWdodCcsXG4gICAgJ2JvdHRvbUxlZnQnLFxuICAgICdib3R0b21SaWdodCcsXG5dOyJdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieves the spacing value for a given token key.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} $key - The spacing token key (e.g., '100', '200').
|
|
5
|
+
* @return {length|null} The computed spacing value or null if the key is invalid.
|
|
6
|
+
* @example
|
|
7
|
+
* .element {
|
|
8
|
+
* padding: om-spacing-token('200'); // Returns 8px if $om-sys-spacing-unit is 4px
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Computes the spacing value based on a token key or a direct length value.
|
|
13
|
+
*
|
|
14
|
+
* @param {string|length} $value - The spacing token key (e.g., '100') or a direct length value (e.g., '16px').
|
|
15
|
+
* @return {length} The computed spacing value.
|
|
16
|
+
* @example
|
|
17
|
+
* .element {
|
|
18
|
+
* margin: om-spacing-value('300'); // Returns 12px if $om-sys-spacing-unit is 4px
|
|
19
|
+
* padding: om-spacing-value(16px); // Returns 16px
|
|
20
|
+
* gap: om-spacing-value(2); // Returns 8px if $om-sys-spacing-unit is 4px
|
|
21
|
+
* }
|
|
22
|
+
*/
|
|
23
|
+
.om-component-ui-notification {
|
|
24
|
+
display: flex;
|
|
25
|
+
gap: var(--om-spacing-200, 8px);
|
|
26
|
+
align-items: flex-start;
|
|
27
|
+
padding: var(--om-spacing-300, 12px);
|
|
28
|
+
background-color: var(--om-bg-default-secondary, #f8f8f8);
|
|
29
|
+
border-radius: var(--om-radius-300, 12px);
|
|
30
|
+
box-shadow: var(--om-shadow-200, 0 10px 22px rgba(0, 0, 0, 0.1));
|
|
31
|
+
}
|
|
32
|
+
.om-component-ui-notification-content-wrapper {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex: 1 0 0;
|
|
35
|
+
gap: var(--om-spacing-300, 12px);
|
|
36
|
+
align-items: flex-start;
|
|
37
|
+
min-width: 0;
|
|
38
|
+
}
|
|
39
|
+
.om-component-ui-notification-icon-wrapper {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
align-items: center;
|
|
43
|
+
}
|
|
44
|
+
.om-component-ui-notification-icon {
|
|
45
|
+
display: inline-flex;
|
|
46
|
+
flex-shrink: 0;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
}
|
|
50
|
+
.om-component-ui-notification-content {
|
|
51
|
+
display: flex;
|
|
52
|
+
flex: 1 0 0;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
gap: var(--om-spacing-100, 4px);
|
|
55
|
+
align-items: flex-start;
|
|
56
|
+
min-width: 0;
|
|
57
|
+
padding-top: var(--om-spacing-200, 8px);
|
|
58
|
+
}
|
|
59
|
+
.om-component-ui-notification-title {
|
|
60
|
+
display: block;
|
|
61
|
+
}
|
|
62
|
+
.om-component-ui-notification-body {
|
|
63
|
+
display: block;
|
|
64
|
+
}
|
|
65
|
+
.om-component-ui-notification-link {
|
|
66
|
+
font-size: var(--om-body-md-font-size);
|
|
67
|
+
font-family: var(--om-body-md-font-family);
|
|
68
|
+
line-height: var(--om-body-md-line-height);
|
|
69
|
+
letter-spacing: var(--om-body-md-letter-spacing);
|
|
70
|
+
font-weight: var(--om-body-md-strong-font-weight);
|
|
71
|
+
padding: 0;
|
|
72
|
+
color: var(--om-text-brand, #073387);
|
|
73
|
+
text-decoration: underline;
|
|
74
|
+
background: none;
|
|
75
|
+
border: none;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
}
|
|
78
|
+
.om-component-ui-notification-close {
|
|
79
|
+
display: inline-flex;
|
|
80
|
+
flex-shrink: 0;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
padding: 0;
|
|
84
|
+
color: var(--om-icon-neutral-secondary, #9fa3a3);
|
|
85
|
+
background: none;
|
|
86
|
+
border: none;
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
}
|
|
89
|
+
.om-component-ui-notification-close .om-component-ui-icons-wrapper {
|
|
90
|
+
--icon-color: currentcolor;
|
|
91
|
+
}
|
|
92
|
+
.om-component-ui-notification-close:hover {
|
|
93
|
+
color: var(--om-icon-neutral, #404042);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.om-component-ui-notification-viewport {
|
|
97
|
+
position: fixed;
|
|
98
|
+
inset: 0;
|
|
99
|
+
z-index: 1100;
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.om-component-ui-notification-stack {
|
|
104
|
+
position: fixed;
|
|
105
|
+
display: flex;
|
|
106
|
+
flex-direction: column;
|
|
107
|
+
--notification-motion-offset: calc(100% + var(--om-spacing-300, 12px));
|
|
108
|
+
width: 375px;
|
|
109
|
+
max-width: calc(100vw - var(--om-spacing-400, 16px) * 2);
|
|
110
|
+
pointer-events: none;
|
|
111
|
+
}
|
|
112
|
+
.om-component-ui-notification-stack-topLeft {
|
|
113
|
+
top: var(--om-spacing-400, 16px);
|
|
114
|
+
left: var(--om-spacing-400, 16px);
|
|
115
|
+
--notification-motion-offset: calc(-100% - var(--om-spacing-300, 12px));
|
|
116
|
+
}
|
|
117
|
+
.om-component-ui-notification-stack-topRight {
|
|
118
|
+
top: var(--om-spacing-400, 16px);
|
|
119
|
+
right: var(--om-spacing-400, 16px);
|
|
120
|
+
}
|
|
121
|
+
.om-component-ui-notification-stack-bottomLeft {
|
|
122
|
+
bottom: var(--om-spacing-400, 16px);
|
|
123
|
+
left: var(--om-spacing-400, 16px);
|
|
124
|
+
--notification-motion-offset: calc(-100% - var(--om-spacing-300, 12px));
|
|
125
|
+
}
|
|
126
|
+
.om-component-ui-notification-stack-bottomRight {
|
|
127
|
+
right: var(--om-spacing-400, 16px);
|
|
128
|
+
bottom: var(--om-spacing-400, 16px);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.om-component-ui-notification-item {
|
|
132
|
+
display: grid;
|
|
133
|
+
grid-template-rows: 1fr;
|
|
134
|
+
transition: grid-template-rows 240ms ease, margin-top 240ms ease;
|
|
135
|
+
will-change: grid-template-rows, margin-top;
|
|
136
|
+
}
|
|
137
|
+
.om-component-ui-notification-item + .om-component-ui-notification-item {
|
|
138
|
+
margin-top: var(--om-spacing-300, 12px);
|
|
139
|
+
}
|
|
140
|
+
.om-component-ui-notification-item-inner {
|
|
141
|
+
min-height: 0;
|
|
142
|
+
overflow: visible;
|
|
143
|
+
transform: translate3d(0, 0, 0);
|
|
144
|
+
opacity: 1;
|
|
145
|
+
transition: transform 240ms ease, opacity 240ms ease;
|
|
146
|
+
pointer-events: auto;
|
|
147
|
+
will-change: transform, opacity;
|
|
148
|
+
}
|
|
149
|
+
.om-component-ui-notification-item-enter, .om-component-ui-notification-item-exit + .om-component-ui-notification-item {
|
|
150
|
+
margin-top: 0;
|
|
151
|
+
}
|
|
152
|
+
.om-component-ui-notification-item-active {
|
|
153
|
+
grid-template-rows: 1fr;
|
|
154
|
+
}
|
|
155
|
+
.om-component-ui-notification-item-exit .om-component-ui-notification-item-inner {
|
|
156
|
+
pointer-events: none;
|
|
157
|
+
}
|
|
158
|
+
.om-component-ui-notification-item-exit-collapse {
|
|
159
|
+
grid-template-rows: 0fr;
|
|
160
|
+
}
|
|
161
|
+
.om-component-ui-notification-item-exit-collapse .om-component-ui-notification-item-inner {
|
|
162
|
+
overflow: hidden;
|
|
163
|
+
}
|
|
164
|
+
.om-component-ui-notification-item-enter .om-component-ui-notification-item-inner, .om-component-ui-notification-item-exit .om-component-ui-notification-item-inner {
|
|
165
|
+
transform: translate3d(var(--notification-motion-offset), 0, 0);
|
|
166
|
+
opacity: 0;
|
|
167
|
+
}
|
|
168
|
+
.om-component-ui-notification-item-active .om-component-ui-notification-item-inner {
|
|
169
|
+
transform: translate3d(0, 0, 0);
|
|
170
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import './Notification.css';
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvTm90aWZpY2F0aW9uL3NyYy9jb21wb25lbnRzL05vdGlmaWNhdGlvbi9zdHlsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLHFCQUFxQiIsImZpbGUiOiJjb21wb25lbnRzL05vdGlmaWNhdGlvbi9zdHlsZS9jc3MuanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './Notification.css';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import './Notification.css';
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvTm90aWZpY2F0aW9uL3NyYy9jb21wb25lbnRzL05vdGlmaWNhdGlvbi9zdHlsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLHFCQUFxQiIsImZpbGUiOiJjb21wb25lbnRzL05vdGlmaWNhdGlvbi9zdHlsZS9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
4
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
5
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
import React, { forwardRef, memo } from 'react';
|
|
11
|
+
import { useEventCallback } from '@1money/hooks';
|
|
12
|
+
import { Icons } from '../Icons';
|
|
13
|
+
import { TypographyBody } from '../Typography';
|
|
14
|
+
import { default as classnames, joinCls } from '../../utils/classnames';
|
|
15
|
+
import './style';
|
|
16
|
+
import { usePagination } from './usePagination';
|
|
17
|
+
import { PAGINATION_COMPONENT_NAME, PAGINATION_CONTROL_ICON, PAGINATION_CONTROL_ICON_COLOR, PAGINATION_CONTROL_ICON_SIZE, PAGINATION_CONTROL_TEXT, PAGINATION_DEFAULT_CURRENT, PAGINATION_DEFAULT_PREFIX, PAGINATION_ELLIPSIS_TEXT, PAGINATION_ITEM_TYPE, PAGINATION_SLOT, PAGINATION_TEXT_COLOR, PAGINATION_TEXT_SIZE } from './constants';
|
|
18
|
+
var getButtonAriaLabel = function getButtonAriaLabel(item) {
|
|
19
|
+
if (item.type === PAGINATION_ITEM_TYPE.page) {
|
|
20
|
+
return item.current ? "Page ".concat(item.page, ", current page") : "Go to page ".concat(item.page);
|
|
21
|
+
}
|
|
22
|
+
return item.type === PAGINATION_ITEM_TYPE.previous ? 'Previous page' : 'Next page';
|
|
23
|
+
};
|
|
24
|
+
var getItemTextColor = function getItemTextColor(item) {
|
|
25
|
+
if (item.type !== PAGINATION_ITEM_TYPE.page && item.disabled) {
|
|
26
|
+
return PAGINATION_TEXT_COLOR.disabled;
|
|
27
|
+
}
|
|
28
|
+
if (item.type === PAGINATION_ITEM_TYPE.page && item.current) {
|
|
29
|
+
return PAGINATION_TEXT_COLOR.current;
|
|
30
|
+
}
|
|
31
|
+
return PAGINATION_TEXT_COLOR["default"];
|
|
32
|
+
};
|
|
33
|
+
var PaginationBase = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
34
|
+
var _props$className = props.className,
|
|
35
|
+
className = _props$className === void 0 ? '' : _props$className,
|
|
36
|
+
_props$prefixCls = props.prefixCls,
|
|
37
|
+
prefixCls = _props$prefixCls === void 0 ? PAGINATION_DEFAULT_PREFIX : _props$prefixCls,
|
|
38
|
+
total = props.total,
|
|
39
|
+
pageSize = props.pageSize,
|
|
40
|
+
current = props.current,
|
|
41
|
+
_props$defaultCurrent = props.defaultCurrent,
|
|
42
|
+
defaultCurrent = _props$defaultCurrent === void 0 ? PAGINATION_DEFAULT_CURRENT : _props$defaultCurrent,
|
|
43
|
+
boundaryCount = props.boundaryCount,
|
|
44
|
+
middlePageCount = props.middlePageCount,
|
|
45
|
+
onChange = props.onChange,
|
|
46
|
+
_props$ariaLabel = props['aria-label'],
|
|
47
|
+
ariaLabel = _props$ariaLabel === void 0 ? PAGINATION_COMPONENT_NAME : _props$ariaLabel,
|
|
48
|
+
rest = __rest(props, ["className", "prefixCls", "total", "pageSize", "current", "defaultCurrent", "boundaryCount", "middlePageCount", "onChange", 'aria-label']);
|
|
49
|
+
var classes = classnames(prefixCls);
|
|
50
|
+
var _usePagination = usePagination({
|
|
51
|
+
total: total,
|
|
52
|
+
pageSize: pageSize,
|
|
53
|
+
current: current,
|
|
54
|
+
defaultCurrent: defaultCurrent,
|
|
55
|
+
boundaryCount: boundaryCount,
|
|
56
|
+
middlePageCount: middlePageCount,
|
|
57
|
+
onChange: onChange
|
|
58
|
+
}),
|
|
59
|
+
items = _usePagination.items,
|
|
60
|
+
goTo = _usePagination.goTo,
|
|
61
|
+
resolvedTotal = _usePagination.total;
|
|
62
|
+
var handleListClick = useEventCallback(function (e) {
|
|
63
|
+
var button = e.target.closest('button[data-page]');
|
|
64
|
+
var page = Number(button === null || button === void 0 ? void 0 : button.dataset.page);
|
|
65
|
+
if (page && !Number.isNaN(page)) {
|
|
66
|
+
goTo(page);
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
if (resolvedTotal === 0) {
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
return _jsx("nav", Object.assign({}, rest, {
|
|
73
|
+
ref: ref,
|
|
74
|
+
"aria-label": ariaLabel,
|
|
75
|
+
className: classes(undefined, className),
|
|
76
|
+
children: _jsx("ul", {
|
|
77
|
+
className: classes(PAGINATION_SLOT.list),
|
|
78
|
+
onClick: handleListClick,
|
|
79
|
+
children: items.map(function (item) {
|
|
80
|
+
if (item.type === PAGINATION_ITEM_TYPE.ellipsis) {
|
|
81
|
+
return _jsx("li", {
|
|
82
|
+
className: classes(PAGINATION_SLOT.item, classes(PAGINATION_SLOT.itemEllipsis)),
|
|
83
|
+
"aria-hidden": "true",
|
|
84
|
+
children: _jsx(TypographyBody, {
|
|
85
|
+
className: classes(PAGINATION_SLOT.ellipsis),
|
|
86
|
+
size: PAGINATION_TEXT_SIZE,
|
|
87
|
+
strong: true,
|
|
88
|
+
color: PAGINATION_TEXT_COLOR["default"],
|
|
89
|
+
children: PAGINATION_ELLIPSIS_TEXT
|
|
90
|
+
})
|
|
91
|
+
}, item.key);
|
|
92
|
+
}
|
|
93
|
+
var isPage = item.type === PAGINATION_ITEM_TYPE.page;
|
|
94
|
+
var isControl = !isPage;
|
|
95
|
+
var isPrevious = item.type === PAGINATION_ITEM_TYPE.previous;
|
|
96
|
+
var isDisabled = isControl && item.disabled;
|
|
97
|
+
var iconName = isControl ? PAGINATION_CONTROL_ICON[item.type] : undefined;
|
|
98
|
+
return _jsx("li", {
|
|
99
|
+
className: classes(PAGINATION_SLOT.item),
|
|
100
|
+
children: _jsxs("button", {
|
|
101
|
+
type: "button",
|
|
102
|
+
className: classes(PAGINATION_SLOT.button, joinCls(isPage ? classes(PAGINATION_SLOT.buttonPage) : classes(PAGINATION_SLOT.buttonControl), isPage && item.current && classes(PAGINATION_SLOT.buttonCurrent), isDisabled && classes(PAGINATION_SLOT.buttonDisabled))),
|
|
103
|
+
"aria-label": getButtonAriaLabel(item),
|
|
104
|
+
"aria-current": isPage && item.current ? 'page' : undefined,
|
|
105
|
+
disabled: isDisabled || undefined,
|
|
106
|
+
"data-page": isDisabled ? undefined : item.page,
|
|
107
|
+
children: [isControl && isPrevious && _jsx("span", {
|
|
108
|
+
className: classes(PAGINATION_SLOT.icon),
|
|
109
|
+
children: _jsx(Icons, {
|
|
110
|
+
name: iconName,
|
|
111
|
+
size: PAGINATION_CONTROL_ICON_SIZE,
|
|
112
|
+
color: PAGINATION_CONTROL_ICON_COLOR
|
|
113
|
+
})
|
|
114
|
+
}), _jsx(TypographyBody, {
|
|
115
|
+
size: PAGINATION_TEXT_SIZE,
|
|
116
|
+
strong: true,
|
|
117
|
+
color: getItemTextColor(item),
|
|
118
|
+
children: isPage ? item.page : PAGINATION_CONTROL_TEXT[item.type]
|
|
119
|
+
}), isControl && !isPrevious && _jsx("span", {
|
|
120
|
+
className: classes(PAGINATION_SLOT.icon),
|
|
121
|
+
children: _jsx(Icons, {
|
|
122
|
+
name: iconName,
|
|
123
|
+
size: PAGINATION_CONTROL_ICON_SIZE,
|
|
124
|
+
color: PAGINATION_CONTROL_ICON_COLOR
|
|
125
|
+
})
|
|
126
|
+
})]
|
|
127
|
+
})
|
|
128
|
+
}, item.key);
|
|
129
|
+
})
|
|
130
|
+
})
|
|
131
|
+
}));
|
|
132
|
+
});
|
|
133
|
+
PaginationBase.displayName = PAGINATION_COMPONENT_NAME;
|
|
134
|
+
export var Pagination = /*#__PURE__*/memo(PaginationBase);
|
|
135
|
+
export default Pagination;
|
|
136
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvUGFnaW5hdGlvbi9QYWdpbmF0aW9uLmpzIiwiY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9QYWdpbmF0aW9uL1BhZ2luYXRpb24udHN4Il0sIm5hbWVzIjpbIl9fcmVzdCIsInMiLCJlIiwidCIsInAiLCJPYmplY3QiLCJwcm90b3R5cGUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJpbmRleE9mIiwiZ2V0T3duUHJvcGVydHlTeW1ib2xzIiwiaSIsImxlbmd0aCIsInByb3BlcnR5SXNFbnVtZXJhYmxlIiwianN4IiwiX2pzeCIsImpzeHMiLCJfanN4cyIsIlJlYWN0IiwiZm9yd2FyZFJlZiIsIm1lbW8iLCJ1c2VFdmVudENhbGxiYWNrIiwiSWNvbnMiLCJUeXBvZ3JhcGh5Qm9keSIsImRlZmF1bHQiLCJjbGFzc25hbWVzIiwiam9pbkNscyIsIn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 -0,0 +1,52 @@
|
|
|
1
|
+
import type { TypographyBodySize } from "../Typography";
|
|
2
|
+
export declare const PAGINATION_COMPONENT_NAME = "Pagination";
|
|
3
|
+
export declare const PAGINATION_DEFAULT_PREFIX = "pagination";
|
|
4
|
+
export declare const PAGINATION_ITEM_TYPE: {
|
|
5
|
+
readonly previous: "previous";
|
|
6
|
+
readonly page: "page";
|
|
7
|
+
readonly ellipsis: "ellipsis";
|
|
8
|
+
readonly next: "next";
|
|
9
|
+
};
|
|
10
|
+
export declare const PAGINATION_ELLIPSIS_POSITION: {
|
|
11
|
+
readonly start: "start";
|
|
12
|
+
readonly end: "end";
|
|
13
|
+
};
|
|
14
|
+
export declare const PAGINATION_DEFAULT_CURRENT = 1;
|
|
15
|
+
export declare const PAGINATION_DEFAULT_PAGE_SIZE = 10;
|
|
16
|
+
export declare const PAGINATION_DEFAULT_TOTAL = 0;
|
|
17
|
+
export declare const PAGINATION_DEFAULT_BOUNDARY_COUNT = 1;
|
|
18
|
+
export declare const PAGINATION_DEFAULT_MIDDLE_PAGE_COUNT = 3;
|
|
19
|
+
export declare const PAGINATION_CONTROL_ICON_SIZE = 16;
|
|
20
|
+
export declare const PAGINATION_CONTROL_ICON_COLOR = "currentColor";
|
|
21
|
+
export declare const PAGINATION_ELLIPSIS_TEXT = "...";
|
|
22
|
+
export declare const PAGINATION_CONTROL_TEXT: {
|
|
23
|
+
readonly previous: "Previous";
|
|
24
|
+
readonly next: "Next";
|
|
25
|
+
};
|
|
26
|
+
export declare const PAGINATION_CONTROL_ICON: {
|
|
27
|
+
readonly previous: "chevronLeft";
|
|
28
|
+
readonly next: "chevronRight";
|
|
29
|
+
};
|
|
30
|
+
export declare const PAGINATION_TEXT_COLOR: {
|
|
31
|
+
readonly default: "default";
|
|
32
|
+
readonly current: "on-neutral";
|
|
33
|
+
readonly disabled: "disabled";
|
|
34
|
+
};
|
|
35
|
+
export declare const PAGINATION_SLOT: {
|
|
36
|
+
readonly list: "list";
|
|
37
|
+
readonly item: "item";
|
|
38
|
+
readonly itemEllipsis: "item-ellipsis";
|
|
39
|
+
readonly button: "button";
|
|
40
|
+
readonly buttonPage: "button-page";
|
|
41
|
+
readonly buttonControl: "button-control";
|
|
42
|
+
readonly buttonCurrent: "button-current";
|
|
43
|
+
readonly buttonDisabled: "button-disabled";
|
|
44
|
+
readonly ellipsis: "ellipsis";
|
|
45
|
+
readonly icon: "icon";
|
|
46
|
+
};
|
|
47
|
+
export declare const PAGINATION_TEXT_SIZE: TypographyBodySize;
|
|
48
|
+
export declare const PAGINATION_GAP_FILL_THRESHOLD = 2;
|
|
49
|
+
export declare const PAGINATION_KEY_PREFIX: {
|
|
50
|
+
readonly page: "page";
|
|
51
|
+
readonly ellipsis: "ellipsis";
|
|
52
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
export var PAGINATION_COMPONENT_NAME = 'Pagination';
|
|
3
|
+
export var PAGINATION_DEFAULT_PREFIX = 'pagination';
|
|
4
|
+
// --- Item types ---
|
|
5
|
+
export var PAGINATION_ITEM_TYPE = {
|
|
6
|
+
previous: 'previous',
|
|
7
|
+
page: 'page',
|
|
8
|
+
ellipsis: 'ellipsis',
|
|
9
|
+
next: 'next'
|
|
10
|
+
};
|
|
11
|
+
// --- Ellipsis position ---
|
|
12
|
+
export var PAGINATION_ELLIPSIS_POSITION = {
|
|
13
|
+
start: 'start',
|
|
14
|
+
end: 'end'
|
|
15
|
+
};
|
|
16
|
+
// --- Defaults ---
|
|
17
|
+
export var PAGINATION_DEFAULT_CURRENT = 1;
|
|
18
|
+
export var PAGINATION_DEFAULT_PAGE_SIZE = 10;
|
|
19
|
+
export var PAGINATION_DEFAULT_TOTAL = 0;
|
|
20
|
+
export var PAGINATION_DEFAULT_BOUNDARY_COUNT = 1;
|
|
21
|
+
export var PAGINATION_DEFAULT_MIDDLE_PAGE_COUNT = 3;
|
|
22
|
+
// --- UI ---
|
|
23
|
+
export var PAGINATION_CONTROL_ICON_SIZE = 16;
|
|
24
|
+
export var PAGINATION_CONTROL_ICON_COLOR = 'currentColor';
|
|
25
|
+
export var PAGINATION_ELLIPSIS_TEXT = '...';
|
|
26
|
+
export var PAGINATION_CONTROL_TEXT = _defineProperty(_defineProperty({}, PAGINATION_ITEM_TYPE.previous, 'Previous'), PAGINATION_ITEM_TYPE.next, 'Next');
|
|
27
|
+
export var PAGINATION_CONTROL_ICON = _defineProperty(_defineProperty({}, PAGINATION_ITEM_TYPE.previous, 'chevronLeft'), PAGINATION_ITEM_TYPE.next, 'chevronRight');
|
|
28
|
+
export var PAGINATION_TEXT_COLOR = {
|
|
29
|
+
"default": 'default',
|
|
30
|
+
current: 'on-neutral',
|
|
31
|
+
disabled: 'disabled'
|
|
32
|
+
};
|
|
33
|
+
// --- BEM modifiers ---
|
|
34
|
+
export var PAGINATION_SLOT = {
|
|
35
|
+
list: 'list',
|
|
36
|
+
item: 'item',
|
|
37
|
+
itemEllipsis: 'item-ellipsis',
|
|
38
|
+
button: 'button',
|
|
39
|
+
buttonPage: 'button-page',
|
|
40
|
+
buttonControl: 'button-control',
|
|
41
|
+
buttonCurrent: 'button-current',
|
|
42
|
+
buttonDisabled: 'button-disabled',
|
|
43
|
+
ellipsis: 'ellipsis',
|
|
44
|
+
icon: 'icon'
|
|
45
|
+
};
|
|
46
|
+
// --- Typography ---
|
|
47
|
+
export var PAGINATION_TEXT_SIZE = 'lg';
|
|
48
|
+
// --- Gap thresholds used when inserting ellipsis ---
|
|
49
|
+
export var PAGINATION_GAP_FILL_THRESHOLD = 2;
|
|
50
|
+
// --- Key prefixes ---
|
|
51
|
+
export var PAGINATION_KEY_PREFIX = {
|
|
52
|
+
page: 'page',
|
|
53
|
+
ellipsis: 'ellipsis'
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3Jj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Ly8gLS0tIEtleSBwcmVmaXhlcyAtLS1cbmV4cG9ydCBjb25zdCBQQUdJTkFUSU9OX0tFWV9QUkVGSVggPSB7XG4gICAgcGFnZTogJ3BhZ2UnLFxuICAgIGVsbGlwc2lzOiAnZWxsaXBzaXMnLFxufTsiXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import Pagination from './Pagination';
|
|
2
|
+
export { Pagination } from './Pagination';
|
|
3
|
+
export { usePagination } from './usePagination';
|
|
4
|
+
export default Pagination;
|
|
5
|
+
export * from './interface';
|
|
6
|
+
export * from './constants';
|
|
7
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6WyJQYWdpbmF0aW9uIiwidXNlUGFnaW5hdGlvbiJdLCJtYXBwaW5ncyI6IkFBQUEsT0FBT0EsVUFBVSxNQUFNLGNBQWM7QUFFckMsU0FBU0EsVUFBVSxRQUFRLGNBQWM7QUFDekMsU0FBU0MsYUFBYSxRQUFRLGlCQUFpQjtBQUUvQyxlQUFlRCxVQUFVO0FBRXpCLGNBQWMsYUFBYTtBQUMzQixjQUFjLGFBQWEiLCJmaWxlIjoiY29tcG9uZW50cy9QYWdpbmF0aW9uL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOltudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
export type PaginationItemType = 'previous' | 'page' | 'ellipsis' | 'next';
|
|
3
|
+
export type PaginationEllipsisPosition = 'start' | 'end';
|
|
4
|
+
export interface UsePaginationOptions {
|
|
5
|
+
total: number;
|
|
6
|
+
pageSize?: number;
|
|
7
|
+
current?: number;
|
|
8
|
+
defaultCurrent?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Number of pages always displayed at both the start and end of the pagination.
|
|
11
|
+
*/
|
|
12
|
+
boundaryCount?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Maximum number of pages displayed in the current-page window.
|
|
15
|
+
*/
|
|
16
|
+
middlePageCount?: number;
|
|
17
|
+
onChange?: (page: number, pageSize: number) => void;
|
|
18
|
+
}
|
|
19
|
+
export interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'>, UsePaginationOptions {
|
|
20
|
+
prefixCls?: string;
|
|
21
|
+
'aria-label'?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface PaginationItemBase {
|
|
24
|
+
key: string;
|
|
25
|
+
type: PaginationItemType;
|
|
26
|
+
}
|
|
27
|
+
export interface PaginationPageItem extends PaginationItemBase {
|
|
28
|
+
type: 'page';
|
|
29
|
+
page: number;
|
|
30
|
+
current: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface PaginationControlItem extends PaginationItemBase {
|
|
33
|
+
type: 'previous' | 'next';
|
|
34
|
+
page: number;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface PaginationEllipsisItem extends PaginationItemBase {
|
|
38
|
+
type: 'ellipsis';
|
|
39
|
+
position: PaginationEllipsisPosition;
|
|
40
|
+
}
|
|
41
|
+
export type PaginationItem = PaginationPageItem | PaginationControlItem | PaginationEllipsisItem;
|
|
42
|
+
export interface UsePaginationResult {
|
|
43
|
+
current: number;
|
|
44
|
+
pageSize: number;
|
|
45
|
+
total: number;
|
|
46
|
+
totalPages: number;
|
|
47
|
+
canPrevious: boolean;
|
|
48
|
+
canNext: boolean;
|
|
49
|
+
items: PaginationItem[];
|
|
50
|
+
goTo: (page: number) => void;
|
|
51
|
+
previous: () => void;
|
|
52
|
+
next: () => void;
|
|
53
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy9QYWdpbmF0aW9uL2ludGVyZmFjZS5qcyIsIm5hbWVzIjpbXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9QYWdpbmF0aW9uL2ludGVyZmFjZS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQge307Il0sIm1hcHBpbmdzIjoiQUFBQSIsImlnbm9yZUxpc3QiOltdfQ==
|