@1money/component-ui 0.0.48 → 0.0.49
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/package.json +65 -34
- package/es/components/Accordion/Accordion.d.ts +0 -4
- package/es/components/Accordion/Accordion.js +0 -98
- package/es/components/Accordion/constants.d.ts +0 -16
- package/es/components/Accordion/constants.js +0 -17
- package/es/components/Accordion/index.d.ts +0 -4
- package/es/components/Accordion/index.js +0 -5
- package/es/components/Accordion/interface.d.ts +0 -29
- package/es/components/Accordion/interface.js +0 -2
- package/es/components/Accordion/style/Accordion.css +0 -1
- package/es/components/Accordion/style/css.js +0 -2
- package/es/components/Accordion/style/index.d.ts +0 -1
- package/es/components/Accordion/style/index.js +0 -2
- package/es/components/Alert/Alert.d.ts +0 -6
- package/es/components/Alert/Alert.js +0 -111
- package/es/components/Alert/index.d.ts +0 -4
- package/es/components/Alert/index.js +0 -5
- package/es/components/Alert/interface.d.ts +0 -42
- package/es/components/Alert/interface.js +0 -6
- package/es/components/Alert/style/Alert.css +0 -1
- package/es/components/Alert/style/css.js +0 -3
- package/es/components/Alert/style/index.d.ts +0 -2
- package/es/components/Alert/style/index.js +0 -3
- package/es/components/Button/Button.d.ts +0 -4
- package/es/components/Button/Button.js +0 -149
- package/es/components/Button/constants.d.ts +0 -70
- package/es/components/Button/constants.js +0 -90
- package/es/components/Button/index.d.ts +0 -5
- package/es/components/Button/index.js +0 -6
- package/es/components/Button/interface.d.ts +0 -23
- package/es/components/Button/interface.js +0 -2
- package/es/components/Button/style/Button.css +0 -1
- package/es/components/Button/style/css.js +0 -2
- package/es/components/Button/style/index.d.ts +0 -1
- package/es/components/Button/style/index.js +0 -2
- package/es/components/Calendar/Calendar.d.ts +0 -7
- package/es/components/Calendar/Calendar.js +0 -127
- package/es/components/Calendar/index.d.ts +0 -4
- package/es/components/Calendar/index.js +0 -5
- package/es/components/Calendar/interface.d.ts +0 -29
- package/es/components/Calendar/interface.js +0 -2
- package/es/components/Calendar/style/Calendar.css +0 -1
- package/es/components/Calendar/style/css.js +0 -2
- package/es/components/Calendar/style/index.d.ts +0 -1
- package/es/components/Calendar/style/index.js +0 -2
- package/es/components/Carousel/Carousel.d.ts +0 -6
- package/es/components/Carousel/Carousel.js +0 -46
- package/es/components/Carousel/index.d.ts +0 -4
- package/es/components/Carousel/index.js +0 -5
- package/es/components/Carousel/interface.d.ts +0 -15
- package/es/components/Carousel/interface.js +0 -2
- package/es/components/Carousel/style/Carousel.css +0 -1
- package/es/components/Carousel/style/css.js +0 -2
- package/es/components/Carousel/style/index.d.ts +0 -1
- package/es/components/Carousel/style/index.js +0 -2
- package/es/components/Cell/Cell.d.ts +0 -5
- package/es/components/Cell/Cell.js +0 -57
- package/es/components/Cell/index.d.ts +0 -4
- package/es/components/Cell/index.js +0 -5
- package/es/components/Cell/interface.d.ts +0 -12
- package/es/components/Cell/interface.js +0 -2
- package/es/components/Cell/style/Cell.css +0 -1
- package/es/components/Cell/style/css.js +0 -2
- package/es/components/Cell/style/index.d.ts +0 -1
- package/es/components/Cell/style/index.js +0 -2
- package/es/components/Checkbox/BaseCheckbox.d.ts +0 -6
- package/es/components/Checkbox/BaseCheckbox.js +0 -84
- package/es/components/Checkbox/Checkbox.d.ts +0 -6
- package/es/components/Checkbox/Checkbox.js +0 -122
- package/es/components/Checkbox/CheckboxGroup.d.ts +0 -5
- package/es/components/Checkbox/CheckboxGroup.js +0 -141
- package/es/components/Checkbox/CheckboxGroupContext.d.ts +0 -14
- package/es/components/Checkbox/CheckboxGroupContext.js +0 -3
- package/es/components/Checkbox/constants.d.ts +0 -17
- package/es/components/Checkbox/constants.js +0 -17
- package/es/components/Checkbox/index.d.ts +0 -10
- package/es/components/Checkbox/index.js +0 -11
- package/es/components/Checkbox/interface.d.ts +0 -77
- package/es/components/Checkbox/interface.js +0 -2
- package/es/components/Checkbox/style/Checkbox.css +0 -1
- package/es/components/Checkbox/style/css.js +0 -2
- package/es/components/Checkbox/style/index.d.ts +0 -1
- package/es/components/Checkbox/style/index.js +0 -2
- package/es/components/CoachMark/CoachMark.d.ts +0 -4
- package/es/components/CoachMark/CoachMark.js +0 -142
- package/es/components/CoachMark/index.d.ts +0 -4
- package/es/components/CoachMark/index.js +0 -5
- package/es/components/CoachMark/interface.d.ts +0 -47
- package/es/components/CoachMark/interface.js +0 -2
- package/es/components/CoachMark/style/CoachMark.css +0 -1
- package/es/components/CoachMark/style/css.js +0 -5
- package/es/components/CoachMark/style/index.d.ts +0 -4
- package/es/components/CoachMark/style/index.js +0 -5
- package/es/components/Copy/Clipboard.d.ts +0 -4
- package/es/components/Copy/Clipboard.js +0 -44
- package/es/components/Copy/Copy.d.ts +0 -4
- package/es/components/Copy/Copy.js +0 -81
- package/es/components/Copy/index.d.ts +0 -5
- package/es/components/Copy/index.js +0 -6
- package/es/components/Copy/interface.d.ts +0 -38
- package/es/components/Copy/interface.js +0 -2
- package/es/components/Copy/style/Clipboard.css +0 -1
- package/es/components/Copy/style/Copy.css +0 -1
- package/es/components/Copy/style/css.js +0 -3
- package/es/components/Copy/style/index.d.ts +0 -2
- package/es/components/Copy/style/index.js +0 -3
- package/es/components/Dialog/Dialog.d.ts +0 -4
- package/es/components/Dialog/Dialog.js +0 -361
- package/es/components/Dialog/constants.d.ts +0 -57
- package/es/components/Dialog/constants.js +0 -54
- package/es/components/Dialog/index.d.ts +0 -4
- package/es/components/Dialog/index.js +0 -5
- package/es/components/Dialog/interface.d.ts +0 -36
- package/es/components/Dialog/interface.js +0 -2
- package/es/components/Dialog/style/Dialog.css +0 -1
- package/es/components/Dialog/style/css.js +0 -2
- package/es/components/Dialog/style/index.d.ts +0 -1
- package/es/components/Dialog/style/index.js +0 -2
- package/es/components/Divider/Divider.d.ts +0 -4
- package/es/components/Divider/Divider.js +0 -50
- package/es/components/Divider/constants.d.ts +0 -36
- package/es/components/Divider/constants.js +0 -41
- package/es/components/Divider/index.d.ts +0 -4
- package/es/components/Divider/index.js +0 -5
- package/es/components/Divider/interface.d.ts +0 -19
- package/es/components/Divider/interface.js +0 -2
- package/es/components/Divider/style/Divider.css +0 -1
- package/es/components/Divider/style/css.js +0 -2
- package/es/components/Divider/style/index.d.ts +0 -1
- package/es/components/Divider/style/index.js +0 -2
- package/es/components/Drawer/Drawer.d.ts +0 -4
- package/es/components/Drawer/Drawer.js +0 -155
- package/es/components/Drawer/constants.d.ts +0 -18
- package/es/components/Drawer/constants.js +0 -19
- package/es/components/Drawer/hooks/index.d.ts +0 -4
- package/es/components/Drawer/hooks/index.js +0 -5
- package/es/components/Drawer/hooks/useBodyScrollLock.d.ts +0 -1
- package/es/components/Drawer/hooks/useBodyScrollLock.js +0 -29
- package/es/components/Drawer/hooks/useDialogFocus.d.ts +0 -2
- package/es/components/Drawer/hooks/useDialogFocus.js +0 -22
- package/es/components/Drawer/hooks/useDrawerTransition.d.ts +0 -4
- package/es/components/Drawer/hooks/useDrawerTransition.js +0 -57
- package/es/components/Drawer/hooks/useEscapeClose.d.ts +0 -1
- package/es/components/Drawer/hooks/useEscapeClose.js +0 -16
- package/es/components/Drawer/index.d.ts +0 -3
- package/es/components/Drawer/index.js +0 -4
- package/es/components/Drawer/interface.d.ts +0 -79
- package/es/components/Drawer/interface.js +0 -2
- package/es/components/Drawer/style/Drawer.css +0 -1
- package/es/components/Drawer/style/css.js +0 -2
- package/es/components/Drawer/style/index.d.ts +0 -1
- package/es/components/Drawer/style/index.js +0 -2
- package/es/components/Dropdown/Dropdown.d.ts +0 -5
- package/es/components/Dropdown/Dropdown.js +0 -32
- package/es/components/Dropdown/index.d.ts +0 -3
- package/es/components/Dropdown/index.js +0 -4
- package/es/components/Dropdown/interface.d.ts +0 -8
- package/es/components/Dropdown/interface.js +0 -2
- package/es/components/Dropdown/style/Dropdown.css +0 -1
- package/es/components/Dropdown/style/css.js +0 -3
- package/es/components/Dropdown/style/index.d.ts +0 -2
- package/es/components/Dropdown/style/index.js +0 -3
- package/es/components/Empty/Empty.d.ts +0 -6
- package/es/components/Empty/Empty.js +0 -68
- package/es/components/Empty/index.d.ts +0 -4
- package/es/components/Empty/index.js +0 -5
- package/es/components/Empty/interface.d.ts +0 -11
- package/es/components/Empty/interface.js +0 -2
- package/es/components/Empty/style/Empty.css +0 -1
- package/es/components/Empty/style/css.js +0 -3
- package/es/components/Empty/style/index.d.ts +0 -2
- package/es/components/Empty/style/index.js +0 -3
- package/es/components/Flex/Flex.d.ts +0 -5
- package/es/components/Flex/Flex.js +0 -50
- package/es/components/Flex/constants.d.ts +0 -41
- package/es/components/Flex/constants.js +0 -45
- package/es/components/Flex/index.d.ts +0 -5
- package/es/components/Flex/index.js +0 -6
- package/es/components/Flex/interface.d.ts +0 -13
- package/es/components/Flex/interface.js +0 -2
- package/es/components/Flex/style/Flex.css +0 -1
- package/es/components/Flex/style/css.js +0 -2
- package/es/components/Flex/style/index.d.ts +0 -1
- package/es/components/Flex/style/index.js +0 -2
- package/es/components/Grid/Col.d.ts +0 -4
- package/es/components/Grid/Col.js +0 -83
- package/es/components/Grid/Grid.d.ts +0 -10
- package/es/components/Grid/Grid.js +0 -15
- package/es/components/Grid/Row.d.ts +0 -4
- package/es/components/Grid/Row.js +0 -41
- package/es/components/Grid/constants.d.ts +0 -48
- package/es/components/Grid/constants.js +0 -71
- package/es/components/Grid/helper.d.ts +0 -15
- package/es/components/Grid/helper.js +0 -87
- package/es/components/Grid/index.d.ts +0 -7
- package/es/components/Grid/index.js +0 -8
- package/es/components/Grid/interface.d.ts +0 -38
- package/es/components/Grid/interface.js +0 -2
- package/es/components/Grid/style/Grid.css +0 -1
- package/es/components/Grid/style/css.js +0 -2
- package/es/components/Grid/style/index.d.ts +0 -1
- package/es/components/Grid/style/index.js +0 -2
- package/es/components/Icons/Icons.d.ts +0 -194
- package/es/components/Icons/Icons.js +0 -194
- package/es/components/Icons/Illustrations.d.ts +0 -19
- package/es/components/Icons/Illustrations.js +0 -936
- package/es/components/Icons/Logo.d.ts +0 -36
- package/es/components/Icons/Logo.js +0 -209
- package/es/components/Icons/SVGs.d.ts +0 -267
- package/es/components/Icons/SVGs.js +0 -1928
- package/es/components/Icons/Wrapper.d.ts +0 -6
- package/es/components/Icons/Wrapper.js +0 -100
- package/es/components/Icons/index.d.ts +0 -4
- package/es/components/Icons/index.js +0 -4
- package/es/components/Icons/interface.d.ts +0 -30
- package/es/components/Icons/interface.js +0 -2
- package/es/components/Icons/style/Icons.css +0 -1
- package/es/components/Icons/style/css.js +0 -2
- package/es/components/Icons/style/index.d.ts +0 -1
- package/es/components/Icons/style/index.js +0 -2
- package/es/components/Input/Amount/Amount.d.ts +0 -6
- package/es/components/Input/Amount/Amount.js +0 -199
- package/es/components/Input/Amount/helper.d.ts +0 -35
- package/es/components/Input/Amount/helper.js +0 -95
- package/es/components/Input/Amount/index.d.ts +0 -3
- package/es/components/Input/Amount/index.js +0 -4
- package/es/components/Input/Amount/style/Amount.css +0 -1
- package/es/components/Input/Amount/style/css.js +0 -2
- package/es/components/Input/Amount/style/index.d.ts +0 -1
- package/es/components/Input/Amount/style/index.js +0 -2
- package/es/components/Input/FieldShell/FieldShell.css +0 -1
- package/es/components/Input/FieldShell/FieldShell.d.ts +0 -23
- package/es/components/Input/FieldShell/FieldShell.js +0 -99
- package/es/components/Input/FieldShell/index.d.ts +0 -3
- package/es/components/Input/FieldShell/index.js +0 -3
- package/es/components/Input/Input/Input.css +0 -1
- package/es/components/Input/Input/Input.d.ts +0 -3
- package/es/components/Input/Input/Input.js +0 -170
- package/es/components/Input/Input/index.d.ts +0 -2
- package/es/components/Input/Input/index.js +0 -3
- package/es/components/Input/Mask/Mask.d.ts +0 -5
- package/es/components/Input/Mask/Mask.js +0 -344
- package/es/components/Input/Mask/index.d.ts +0 -2
- package/es/components/Input/Mask/index.js +0 -3
- package/es/components/Input/OTP/OTP.css +0 -1
- package/es/components/Input/OTP/OTP.d.ts +0 -5
- package/es/components/Input/OTP/OTP.js +0 -157
- package/es/components/Input/OTP/index.d.ts +0 -2
- package/es/components/Input/OTP/index.js +0 -3
- package/es/components/Input/Password/Password.d.ts +0 -5
- package/es/components/Input/Password/Password.js +0 -128
- package/es/components/Input/Password/index.d.ts +0 -2
- package/es/components/Input/Password/index.js +0 -3
- package/es/components/Input/Search/Search.d.ts +0 -5
- package/es/components/Input/Search/Search.js +0 -151
- package/es/components/Input/Search/index.d.ts +0 -2
- package/es/components/Input/Search/index.js +0 -3
- package/es/components/Input/TextArea/TextArea.css +0 -1
- package/es/components/Input/TextArea/TextArea.d.ts +0 -5
- package/es/components/Input/TextArea/TextArea.js +0 -100
- package/es/components/Input/TextArea/index.d.ts +0 -2
- package/es/components/Input/TextArea/index.js +0 -3
- package/es/components/Input/Trade/Trade.css +0 -1
- package/es/components/Input/Trade/Trade.d.ts +0 -5
- package/es/components/Input/Trade/Trade.js +0 -133
- package/es/components/Input/Trade/index.d.ts +0 -2
- package/es/components/Input/Trade/index.js +0 -3
- package/es/components/Input/constants.d.ts +0 -15
- package/es/components/Input/constants.js +0 -16
- package/es/components/Input/index.d.ts +0 -4
- package/es/components/Input/index.js +0 -5
- package/es/components/Input/interface.d.ts +0 -156
- package/es/components/Input/interface.js +0 -2
- package/es/components/Input/style/css.js +0 -7
- package/es/components/Input/style/index.d.ts +0 -6
- package/es/components/Input/style/index.js +0 -7
- package/es/components/Input/useAmountInput.d.ts +0 -35
- package/es/components/Input/useAmountInput.js +0 -207
- package/es/components/Input/useSyncRef.d.ts +0 -2
- package/es/components/Input/useSyncRef.js +0 -13
- package/es/components/Link/Link.d.ts +0 -4
- package/es/components/Link/Link.js +0 -57
- package/es/components/Link/constants.d.ts +0 -5
- package/es/components/Link/constants.js +0 -6
- package/es/components/Link/index.d.ts +0 -5
- package/es/components/Link/index.js +0 -6
- package/es/components/Link/interface.d.ts +0 -13
- package/es/components/Link/interface.js +0 -2
- package/es/components/Link/style/Link.css +0 -1
- package/es/components/Link/style/css.js +0 -2
- package/es/components/Link/style/index.d.ts +0 -1
- package/es/components/Link/style/index.js +0 -2
- package/es/components/Navigation/Nav.d.ts +0 -5
- package/es/components/Navigation/Nav.js +0 -200
- package/es/components/Navigation/Navigation.d.ts +0 -5
- package/es/components/Navigation/Navigation.js +0 -299
- package/es/components/Navigation/NavigationLogo.d.ts +0 -8
- package/es/components/Navigation/NavigationLogo.js +0 -46
- package/es/components/Navigation/NavigationStepper.d.ts +0 -5
- package/es/components/Navigation/NavigationStepper.js +0 -72
- package/es/components/Navigation/index.d.ts +0 -6
- package/es/components/Navigation/index.js +0 -7
- package/es/components/Navigation/interface.d.ts +0 -134
- package/es/components/Navigation/interface.js +0 -2
- package/es/components/Navigation/style/Nav.css +0 -1
- package/es/components/Navigation/style/Navigation.css +0 -1
- package/es/components/Navigation/style/NavigationStepper.css +0 -1
- package/es/components/Navigation/style/css.js +0 -4
- package/es/components/Navigation/style/index.d.ts +0 -3
- package/es/components/Navigation/style/index.js +0 -4
- package/es/components/Notification/Notification.d.ts +0 -6
- package/es/components/Notification/Notification.js +0 -108
- package/es/components/Notification/NotificationStatic.d.ts +0 -4
- package/es/components/Notification/NotificationStatic.js +0 -501
- package/es/components/Notification/constants.d.ts +0 -12
- package/es/components/Notification/constants.js +0 -16
- package/es/components/Notification/index.d.ts +0 -5
- package/es/components/Notification/index.js +0 -5
- package/es/components/Notification/interface.d.ts +0 -70
- package/es/components/Notification/interface.js +0 -7
- package/es/components/Notification/style/Notification.css +0 -1
- package/es/components/Notification/style/css.js +0 -2
- package/es/components/Notification/style/index.d.ts +0 -1
- package/es/components/Notification/style/index.js +0 -2
- package/es/components/Pagination/Pagination.d.ts +0 -5
- package/es/components/Pagination/Pagination.js +0 -136
- package/es/components/Pagination/constants.d.ts +0 -52
- package/es/components/Pagination/constants.js +0 -55
- package/es/components/Pagination/index.d.ts +0 -6
- package/es/components/Pagination/index.js +0 -7
- package/es/components/Pagination/interface.d.ts +0 -53
- package/es/components/Pagination/interface.js +0 -2
- package/es/components/Pagination/style/Pagination.css +0 -1
- package/es/components/Pagination/style/css.js +0 -2
- package/es/components/Pagination/style/index.d.ts +0 -1
- package/es/components/Pagination/style/index.js +0 -2
- package/es/components/Pagination/usePagination.d.ts +0 -3
- package/es/components/Pagination/usePagination.js +0 -145
- package/es/components/Popconfirm/Popconfirm.d.ts +0 -6
- package/es/components/Popconfirm/Popconfirm.js +0 -144
- package/es/components/Popconfirm/constants.d.ts +0 -74
- package/es/components/Popconfirm/constants.js +0 -73
- package/es/components/Popconfirm/index.d.ts +0 -4
- package/es/components/Popconfirm/index.js +0 -5
- package/es/components/Popconfirm/interface.d.ts +0 -40
- package/es/components/Popconfirm/interface.js +0 -2
- package/es/components/Popconfirm/style/Popconfirm.css +0 -1
- package/es/components/Popconfirm/style/css.js +0 -5
- package/es/components/Popconfirm/style/index.d.ts +0 -4
- package/es/components/Popconfirm/style/index.js +0 -5
- package/es/components/Portal/Portal.d.ts +0 -3
- package/es/components/Portal/Portal.js +0 -54
- package/es/components/Portal/index.d.ts +0 -4
- package/es/components/Portal/index.js +0 -5
- package/es/components/Portal/interface.d.ts +0 -7
- package/es/components/Portal/interface.js +0 -2
- package/es/components/ProForm/ProForm.d.ts +0 -4
- package/es/components/ProForm/ProForm.js +0 -302
- package/es/components/ProForm/ProFormDependency.d.ts +0 -4
- package/es/components/ProForm/ProFormDependency.js +0 -160
- package/es/components/ProForm/ProFormGroup.d.ts +0 -3
- package/es/components/ProForm/ProFormGroup.js +0 -78
- package/es/components/ProForm/ProFormItem.d.ts +0 -4
- package/es/components/ProForm/ProFormItem.js +0 -220
- package/es/components/ProForm/ProFormList.d.ts +0 -3
- package/es/components/ProForm/ProFormList.js +0 -252
- package/es/components/ProForm/Submitter.d.ts +0 -6
- package/es/components/ProForm/Submitter.js +0 -106
- package/es/components/ProForm/constants.d.ts +0 -18
- package/es/components/ProForm/constants.js +0 -23
- package/es/components/ProForm/context.d.ts +0 -13
- package/es/components/ProForm/context.js +0 -29
- package/es/components/ProForm/core/constants.d.ts +0 -21
- package/es/components/ProForm/core/constants.js +0 -20
- package/es/components/ProForm/core/hooks/useForm.d.ts +0 -3
- package/es/components/ProForm/core/hooks/useForm.js +0 -677
- package/es/components/ProForm/core/hooks/useFormCore.d.ts +0 -3
- package/es/components/ProForm/core/hooks/useFormCore.js +0 -347
- package/es/components/ProForm/core/index.d.ts +0 -6
- package/es/components/ProForm/core/index.js +0 -6
- package/es/components/ProForm/core/interface.d.ts +0 -153
- package/es/components/ProForm/core/interface.js +0 -2
- package/es/components/ProForm/core/useFormItem.d.ts +0 -21
- package/es/components/ProForm/core/useFormItem.js +0 -173
- package/es/components/ProForm/fields/ProFormCheckbox.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormCheckbox.js +0 -11
- package/es/components/ProForm/fields/ProFormCheckboxGroup.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormCheckboxGroup.js +0 -12
- package/es/components/ProForm/fields/ProFormDatePicker.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormDatePicker.js +0 -23
- package/es/components/ProForm/fields/ProFormFieldSet.d.ts +0 -4
- package/es/components/ProForm/fields/ProFormFieldSet.js +0 -65
- package/es/components/ProForm/fields/ProFormPassword.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormPassword.js +0 -11
- package/es/components/ProForm/fields/ProFormRadioGroup.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormRadioGroup.js +0 -10
- package/es/components/ProForm/fields/ProFormSelect.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormSelect.js +0 -40
- package/es/components/ProForm/fields/ProFormSlider.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormSlider.js +0 -10
- package/es/components/ProForm/fields/ProFormSwitch.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormSwitch.js +0 -11
- package/es/components/ProForm/fields/ProFormText.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormText.js +0 -10
- package/es/components/ProForm/fields/ProFormTextArea.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormTextArea.js +0 -10
- package/es/components/ProForm/fields/ProFormUpload.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormUpload.js +0 -25
- package/es/components/ProForm/fields/createProFormField.d.ts +0 -4
- package/es/components/ProForm/fields/createProFormField.js +0 -156
- package/es/components/ProForm/fields/index.d.ts +0 -13
- package/es/components/ProForm/fields/index.js +0 -14
- package/es/components/ProForm/hooks/useFieldRequest.d.ts +0 -7
- package/es/components/ProForm/hooks/useFieldRequest.js +0 -90
- package/es/components/ProForm/index.d.ts +0 -38
- package/es/components/ProForm/index.js +0 -55
- package/es/components/ProForm/interface.d.ts +0 -284
- package/es/components/ProForm/interface.js +0 -2
- package/es/components/ProForm/layouts/DialogForm.d.ts +0 -3
- package/es/components/ProForm/layouts/DialogForm.js +0 -74
- package/es/components/ProForm/layouts/DrawerForm.d.ts +0 -3
- package/es/components/ProForm/layouts/DrawerForm.js +0 -73
- package/es/components/ProForm/layouts/QueryFilter.d.ts +0 -4
- package/es/components/ProForm/layouts/QueryFilter.js +0 -158
- package/es/components/ProForm/layouts/index.d.ts +0 -4
- package/es/components/ProForm/layouts/index.js +0 -5
- package/es/components/ProForm/layouts/useOverlayForm.d.ts +0 -17
- package/es/components/ProForm/layouts/useOverlayForm.js +0 -107
- package/es/components/ProForm/style/ProForm.css +0 -1
- package/es/components/ProForm/style/css.js +0 -2
- package/es/components/ProForm/style/index.d.ts +0 -1
- package/es/components/ProForm/style/index.js +0 -2
- package/es/components/ProForm/utils.d.ts +0 -22
- package/es/components/ProForm/utils.js +0 -211
- package/es/components/Progress/Progress.d.ts +0 -6
- package/es/components/Progress/Progress.js +0 -94
- package/es/components/Progress/constants.d.ts +0 -26
- package/es/components/Progress/constants.js +0 -32
- package/es/components/Progress/index.d.ts +0 -5
- package/es/components/Progress/index.js +0 -6
- package/es/components/Progress/interface.d.ts +0 -26
- package/es/components/Progress/interface.js +0 -2
- package/es/components/Progress/style/Progress.css +0 -1
- package/es/components/Progress/style/css.js +0 -2
- package/es/components/Progress/style/index.d.ts +0 -1
- package/es/components/Progress/style/index.js +0 -2
- package/es/components/Radio/BaseRadio.d.ts +0 -16
- package/es/components/Radio/BaseRadio.js +0 -58
- package/es/components/Radio/Radio.d.ts +0 -6
- package/es/components/Radio/Radio.js +0 -182
- package/es/components/Radio/RadioGroup.d.ts +0 -5
- package/es/components/Radio/RadioGroup.js +0 -102
- package/es/components/Radio/RadioGroupContext.d.ts +0 -22
- package/es/components/Radio/RadioGroupContext.js +0 -7
- package/es/components/Radio/constants.d.ts +0 -39
- package/es/components/Radio/constants.js +0 -57
- package/es/components/Radio/index.d.ts +0 -5
- package/es/components/Radio/index.js +0 -6
- package/es/components/Radio/interface.d.ts +0 -122
- package/es/components/Radio/interface.js +0 -2
- package/es/components/Radio/style/Radio.css +0 -1
- package/es/components/Radio/style/css.js +0 -3
- package/es/components/Radio/style/index.d.ts +0 -2
- package/es/components/Radio/style/index.js +0 -3
- package/es/components/ResizeObserver/Collection.d.ts +0 -19
- package/es/components/ResizeObserver/Collection.js +0 -41
- package/es/components/ResizeObserver/ResizeObserver.d.ts +0 -7
- package/es/components/ResizeObserver/ResizeObserver.js +0 -31
- package/es/components/ResizeObserver/SingleObserver/index.d.ts +0 -7
- package/es/components/ResizeObserver/SingleObserver/index.js +0 -38
- package/es/components/ResizeObserver/index.d.ts +0 -7
- package/es/components/ResizeObserver/index.js +0 -6
- package/es/components/ResizeObserver/interface.d.ts +0 -16
- package/es/components/ResizeObserver/interface.js +0 -2
- package/es/components/ResizeObserver/useResizeObserver.d.ts +0 -2
- package/es/components/ResizeObserver/useResizeObserver.js +0 -70
- package/es/components/ResizeObserver/utils/observerUtil.d.ts +0 -7
- package/es/components/ResizeObserver/utils/observerUtil.js +0 -39
- package/es/components/ResizeObserver/utils/reactUtil.d.ts +0 -19
- package/es/components/ResizeObserver/utils/reactUtil.js +0 -78
- package/es/components/Segment/Segment.d.ts +0 -6
- package/es/components/Segment/Segment.js +0 -100
- package/es/components/Segment/index.d.ts +0 -4
- package/es/components/Segment/index.js +0 -5
- package/es/components/Segment/interface.d.ts +0 -23
- package/es/components/Segment/interface.js +0 -2
- package/es/components/Segment/style/Segment.css +0 -1
- package/es/components/Segment/style/css.js +0 -2
- package/es/components/Segment/style/index.d.ts +0 -1
- package/es/components/Segment/style/index.js +0 -2
- package/es/components/Select/Select.d.ts +0 -6
- package/es/components/Select/Select.js +0 -563
- package/es/components/Select/SelectCustom.d.ts +0 -6
- package/es/components/Select/SelectCustom.js +0 -232
- package/es/components/Select/SelectFieldShell.d.ts +0 -24
- package/es/components/Select/SelectFieldShell.js +0 -81
- package/es/components/Select/SelectOptionContent.d.ts +0 -17
- package/es/components/Select/SelectOptionContent.js +0 -45
- package/es/components/Select/SelectSearchControl.d.ts +0 -15
- package/es/components/Select/SelectSearchControl.js +0 -43
- package/es/components/Select/SelectValueContent.d.ts +0 -18
- package/es/components/Select/SelectValueContent.js +0 -99
- package/es/components/Select/constants.d.ts +0 -45
- package/es/components/Select/constants.js +0 -43
- package/es/components/Select/index.d.ts +0 -7
- package/es/components/Select/index.js +0 -10
- package/es/components/Select/interface.d.ts +0 -229
- package/es/components/Select/interface.js +0 -4
- package/es/components/Select/style/Select.css +0 -1
- package/es/components/Select/style/css.js +0 -4
- package/es/components/Select/style/index.d.ts +0 -3
- package/es/components/Select/style/index.js +0 -4
- package/es/components/Select/useSelectShell.d.ts +0 -34
- package/es/components/Select/useSelectShell.js +0 -106
- package/es/components/Select/utils.d.ts +0 -21
- package/es/components/Select/utils.js +0 -140
- package/es/components/Skeleton/Skeleton.d.ts +0 -6
- package/es/components/Skeleton/Skeleton.js +0 -49
- package/es/components/Skeleton/index.d.ts +0 -4
- package/es/components/Skeleton/index.js +0 -5
- package/es/components/Skeleton/interface.d.ts +0 -19
- package/es/components/Skeleton/interface.js +0 -2
- package/es/components/Skeleton/style/Skeleton.css +0 -1
- package/es/components/Skeleton/style/css.js +0 -2
- package/es/components/Skeleton/style/index.d.ts +0 -1
- package/es/components/Skeleton/style/index.js +0 -2
- package/es/components/Slider/Slider.d.ts +0 -6
- package/es/components/Slider/Slider.js +0 -117
- package/es/components/Slider/index.d.ts +0 -4
- package/es/components/Slider/index.js +0 -5
- package/es/components/Slider/interface.d.ts +0 -39
- package/es/components/Slider/interface.js +0 -2
- package/es/components/Slider/style/Slider.css +0 -1
- package/es/components/Slider/style/css.js +0 -2
- package/es/components/Slider/style/index.d.ts +0 -1
- package/es/components/Slider/style/index.js +0 -2
- package/es/components/Space/Space.d.ts +0 -5
- package/es/components/Space/Space.js +0 -78
- package/es/components/Space/constants.d.ts +0 -33
- package/es/components/Space/constants.js +0 -37
- package/es/components/Space/index.d.ts +0 -5
- package/es/components/Space/index.js +0 -6
- package/es/components/Space/interface.d.ts +0 -12
- package/es/components/Space/interface.js +0 -2
- package/es/components/Space/style/Space.css +0 -1
- package/es/components/Space/style/css.js +0 -2
- package/es/components/Space/style/index.d.ts +0 -1
- package/es/components/Space/style/index.js +0 -2
- package/es/components/Spinner/Spinner.d.ts +0 -6
- package/es/components/Spinner/Spinner.js +0 -219
- package/es/components/Spinner/index.d.ts +0 -4
- package/es/components/Spinner/index.js +0 -5
- package/es/components/Spinner/interface.d.ts +0 -18
- package/es/components/Spinner/interface.js +0 -2
- package/es/components/Spinner/lottie-pure.json +0 -1
- package/es/components/Spinner/style/Spinner.css +0 -1
- package/es/components/Spinner/style/css.js +0 -2
- package/es/components/Spinner/style/index.d.ts +0 -1
- package/es/components/Spinner/style/index.js +0 -2
- package/es/components/Step/Step.d.ts +0 -5
- package/es/components/Step/Step.js +0 -116
- package/es/components/Step/constants.d.ts +0 -59
- package/es/components/Step/constants.js +0 -65
- package/es/components/Step/index.d.ts +0 -4
- package/es/components/Step/index.js +0 -5
- package/es/components/Step/interface.d.ts +0 -22
- package/es/components/Step/interface.js +0 -2
- package/es/components/Step/style/Step.css +0 -1
- package/es/components/Step/style/css.js +0 -2
- package/es/components/Step/style/index.d.ts +0 -1
- package/es/components/Step/style/index.js +0 -2
- package/es/components/Switch/Switch.d.ts +0 -6
- package/es/components/Switch/Switch.js +0 -94
- package/es/components/Switch/constants.d.ts +0 -25
- package/es/components/Switch/constants.js +0 -27
- package/es/components/Switch/index.d.ts +0 -5
- package/es/components/Switch/index.js +0 -6
- package/es/components/Switch/interface.d.ts +0 -26
- package/es/components/Switch/interface.js +0 -2
- package/es/components/Switch/style/Switch.css +0 -1
- package/es/components/Switch/style/css.js +0 -3
- package/es/components/Switch/style/index.d.ts +0 -2
- package/es/components/Switch/style/index.js +0 -3
- package/es/components/Table/Table.d.ts +0 -10
- package/es/components/Table/Table.js +0 -41
- package/es/components/Table/VirtualTable.d.ts +0 -9
- package/es/components/Table/VirtualTable.js +0 -53
- package/es/components/Table/constants.d.ts +0 -4
- package/es/components/Table/constants.js +0 -5
- package/es/components/Table/core/useTableColumns.d.ts +0 -48
- package/es/components/Table/core/useTableColumns.js +0 -253
- package/es/components/Table/core/useTableDataPipeline.d.ts +0 -57
- package/es/components/Table/core/useTableDataPipeline.js +0 -428
- package/es/components/Table/core/useTableExpand.d.ts +0 -11
- package/es/components/Table/core/useTableExpand.js +0 -63
- package/es/components/Table/core/useTableSelection.d.ts +0 -15
- package/es/components/Table/core/useTableSelection.js +0 -144
- package/es/components/Table/core/useTableSetup.d.ts +0 -42
- package/es/components/Table/core/useTableSetup.js +0 -195
- package/es/components/Table/features/ExpandTrigger.d.ts +0 -4
- package/es/components/Table/features/ExpandTrigger.js +0 -32
- package/es/components/Table/features/FilterTrigger.d.ts +0 -9
- package/es/components/Table/features/FilterTrigger.js +0 -157
- package/es/components/Table/features/SelectionColumn.d.ts +0 -12
- package/es/components/Table/features/SelectionColumn.js +0 -54
- package/es/components/Table/features/SortTrigger.d.ts +0 -7
- package/es/components/Table/features/SortTrigger.js +0 -26
- package/es/components/Table/index.d.ts +0 -6
- package/es/components/Table/index.js +0 -7
- package/es/components/Table/interface.d.ts +0 -262
- package/es/components/Table/interface.js +0 -2
- package/es/components/Table/internal/index.d.ts +0 -3
- package/es/components/Table/internal/index.js +0 -3
- package/es/components/Table/internal/kernel/Body/BodyRow.d.ts +0 -37
- package/es/components/Table/internal/kernel/Body/BodyRow.js +0 -174
- package/es/components/Table/internal/kernel/Body/ExpandedRow.d.ts +0 -15
- package/es/components/Table/internal/kernel/Body/ExpandedRow.js +0 -56
- package/es/components/Table/internal/kernel/Body/MeasureCell.d.ts +0 -8
- package/es/components/Table/internal/kernel/Body/MeasureCell.js +0 -39
- package/es/components/Table/internal/kernel/Body/MeasureRow.d.ts +0 -10
- package/es/components/Table/internal/kernel/Body/MeasureRow.js +0 -53
- package/es/components/Table/internal/kernel/Body/index.d.ts +0 -9
- package/es/components/Table/internal/kernel/Body/index.js +0 -124
- package/es/components/Table/internal/kernel/Cell/index.d.ts +0 -39
- package/es/components/Table/internal/kernel/Cell/index.js +0 -179
- package/es/components/Table/internal/kernel/Cell/useCellRender.d.ts +0 -3
- package/es/components/Table/internal/kernel/Cell/useCellRender.js +0 -63
- package/es/components/Table/internal/kernel/Cell/useHoverState.d.ts +0 -2
- package/es/components/Table/internal/kernel/Cell/useHoverState.js +0 -15
- package/es/components/Table/internal/kernel/ColGroup.d.ts +0 -8
- package/es/components/Table/internal/kernel/ColGroup.js +0 -56
- package/es/components/Table/internal/kernel/FixedHolder/index.d.ts +0 -27
- package/es/components/Table/internal/kernel/FixedHolder/index.js +0 -180
- package/es/components/Table/internal/kernel/Footer/Cell.d.ts +0 -11
- package/es/components/Table/internal/kernel/Footer/Cell.js +0 -50
- package/es/components/Table/internal/kernel/Footer/Row.d.ts +0 -8
- package/es/components/Table/internal/kernel/Footer/Row.js +0 -20
- package/es/components/Table/internal/kernel/Footer/Summary.d.ts +0 -14
- package/es/components/Table/internal/kernel/Footer/Summary.js +0 -13
- package/es/components/Table/internal/kernel/Footer/SummaryContext.d.ts +0 -11
- package/es/components/Table/internal/kernel/Footer/SummaryContext.js +0 -4
- package/es/components/Table/internal/kernel/Footer/index.d.ts +0 -16
- package/es/components/Table/internal/kernel/Footer/index.js +0 -36
- package/es/components/Table/internal/kernel/Header/Header.d.ts +0 -9
- package/es/components/Table/internal/kernel/Header/Header.js +0 -109
- package/es/components/Table/internal/kernel/Header/HeaderRow.d.ts +0 -18
- package/es/components/Table/internal/kernel/Header/HeaderRow.js +0 -60
- package/es/components/Table/internal/kernel/Panel/index.d.ts +0 -7
- package/es/components/Table/internal/kernel/Panel/index.js +0 -15
- package/es/components/Table/internal/kernel/Table.d.ts +0 -126
- package/es/components/Table/internal/kernel/Table.js +0 -686
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +0 -13
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.js +0 -286
- package/es/components/Table/internal/kernel/VirtualTable/BodyLine.d.ts +0 -14
- package/es/components/Table/internal/kernel/VirtualTable/BodyLine.js +0 -113
- package/es/components/Table/internal/kernel/VirtualTable/VirtualCell.d.ts +0 -26
- package/es/components/Table/internal/kernel/VirtualTable/VirtualCell.js +0 -105
- package/es/components/Table/internal/kernel/VirtualTable/context.d.ts +0 -13
- package/es/components/Table/internal/kernel/VirtualTable/context.js +0 -5
- package/es/components/Table/internal/kernel/VirtualTable/index.d.ts +0 -17
- package/es/components/Table/internal/kernel/VirtualTable/index.js +0 -90
- package/es/components/Table/internal/kernel/constant.d.ts +0 -2
- package/es/components/Table/internal/kernel/constant.js +0 -4
- package/es/components/Table/internal/kernel/context/PerfContext.d.ts +0 -6
- package/es/components/Table/internal/kernel/context/PerfContext.js +0 -8
- package/es/components/Table/internal/kernel/context/TableContext.d.ts +0 -51
- package/es/components/Table/internal/kernel/context/TableContext.js +0 -10
- package/es/components/Table/internal/kernel/hooks/useColumns/index.d.ts +0 -31
- package/es/components/Table/internal/kernel/hooks/useColumns/index.js +0 -210
- package/es/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.d.ts +0 -5
- package/es/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.js +0 -69
- package/es/components/Table/internal/kernel/hooks/useExpand.d.ts +0 -10
- package/es/components/Table/internal/kernel/hooks/useExpand.js +0 -83
- package/es/components/Table/internal/kernel/hooks/useFixedInfo.d.ts +0 -2
- package/es/components/Table/internal/kernel/hooks/useFixedInfo.js +0 -18
- package/es/components/Table/internal/kernel/hooks/useFlattenRecords.d.ts +0 -19
- package/es/components/Table/internal/kernel/hooks/useFlattenRecords.js +0 -54
- package/es/components/Table/internal/kernel/hooks/useFrame.d.ts +0 -7
- package/es/components/Table/internal/kernel/hooks/useFrame.js +0 -63
- package/es/components/Table/internal/kernel/hooks/useHover.d.ts +0 -2
- package/es/components/Table/internal/kernel/hooks/useHover.js +0 -19
- package/es/components/Table/internal/kernel/hooks/useRenderTimes.d.ts +0 -5
- package/es/components/Table/internal/kernel/hooks/useRenderTimes.js +0 -41
- package/es/components/Table/internal/kernel/hooks/useRowInfo.d.ts +0 -11
- package/es/components/Table/internal/kernel/hooks/useRowInfo.js +0 -62
- package/es/components/Table/internal/kernel/hooks/useSticky.d.ts +0 -10
- package/es/components/Table/internal/kernel/hooks/useSticky.js +0 -33
- package/es/components/Table/internal/kernel/hooks/useStickyOffsets.d.ts +0 -6
- package/es/components/Table/internal/kernel/hooks/useStickyOffsets.js +0 -31
- package/es/components/Table/internal/kernel/index.d.ts +0 -12
- package/es/components/Table/internal/kernel/index.js +0 -11
- package/es/components/Table/internal/kernel/interface.d.ts +0 -202
- package/es/components/Table/internal/kernel/interface.js +0 -2
- package/es/components/Table/internal/kernel/namePathType.d.ts +0 -13
- package/es/components/Table/internal/kernel/namePathType.js +0 -3
- package/es/components/Table/internal/kernel/selector-context/Immutable.d.ts +0 -10
- package/es/components/Table/internal/kernel/selector-context/Immutable.js +0 -73
- package/es/components/Table/internal/kernel/selector-context/context.d.ts +0 -26
- package/es/components/Table/internal/kernel/selector-context/context.js +0 -83
- package/es/components/Table/internal/kernel/selector-context/index.d.ts +0 -7
- package/es/components/Table/internal/kernel/selector-context/index.js +0 -9
- package/es/components/Table/internal/kernel/selector-context/isEqual.d.ts +0 -5
- package/es/components/Table/internal/kernel/selector-context/isEqual.js +0 -48
- package/es/components/Table/internal/kernel/stickyScrollBar.d.ts +0 -12
- package/es/components/Table/internal/kernel/stickyScrollBar.js +0 -192
- package/es/components/Table/internal/kernel/sugar/Column.d.ts +0 -10
- package/es/components/Table/internal/kernel/sugar/Column.js +0 -11
- package/es/components/Table/internal/kernel/sugar/ColumnGroup.d.ts +0 -12
- package/es/components/Table/internal/kernel/sugar/ColumnGroup.js +0 -11
- package/es/components/Table/internal/kernel/utils/dom/canUseDom.d.ts +0 -1
- package/es/components/Table/internal/kernel/utils/dom/canUseDom.js +0 -4
- package/es/components/Table/internal/kernel/utils/dom/isVisible.d.ts +0 -2
- package/es/components/Table/internal/kernel/utils/dom/isVisible.js +0 -28
- package/es/components/Table/internal/kernel/utils/expandUtil.d.ts +0 -4
- package/es/components/Table/internal/kernel/utils/expandUtil.js +0 -47
- package/es/components/Table/internal/kernel/utils/fixUtil.d.ts +0 -21
- package/es/components/Table/internal/kernel/utils/fixUtil.js +0 -64
- package/es/components/Table/internal/kernel/utils/get.d.ts +0 -1
- package/es/components/Table/internal/kernel/utils/get.js +0 -11
- package/es/components/Table/internal/kernel/utils/getScrollBarSize.d.ts +0 -7
- package/es/components/Table/internal/kernel/utils/getScrollBarSize.js +0 -38
- package/es/components/Table/internal/kernel/utils/legacyUtil.d.ts +0 -5
- package/es/components/Table/internal/kernel/utils/legacyUtil.js +0 -31
- package/es/components/Table/internal/kernel/utils/offsetUtil.d.ts +0 -4
- package/es/components/Table/internal/kernel/utils/offsetUtil.js +0 -13
- package/es/components/Table/internal/kernel/utils/pickAttrs.d.ts +0 -6
- package/es/components/Table/internal/kernel/utils/pickAttrs.js +0 -33
- package/es/components/Table/internal/kernel/utils/useMemo.d.ts +0 -1
- package/es/components/Table/internal/kernel/utils/useMemo.js +0 -10
- package/es/components/Table/internal/kernel/utils/valueUtil.d.ts +0 -8
- package/es/components/Table/internal/kernel/utils/valueUtil.js +0 -30
- package/es/components/Table/internal/kernel/utils/warning.d.ts +0 -4
- package/es/components/Table/internal/kernel/utils/warning.js +0 -17
- package/es/components/Table/renderers/BodyCell.d.ts +0 -15
- package/es/components/Table/renderers/BodyCell.js +0 -40
- package/es/components/Table/renderers/CellContent.d.ts +0 -4
- package/es/components/Table/renderers/CellContent.js +0 -26
- package/es/components/Table/renderers/EmptyState.d.ts +0 -5
- package/es/components/Table/renderers/EmptyState.js +0 -22
- package/es/components/Table/renderers/ExpandedRowContainer.d.ts +0 -4
- package/es/components/Table/renderers/ExpandedRowContainer.js +0 -10
- package/es/components/Table/renderers/HeaderCell.d.ts +0 -11
- package/es/components/Table/renderers/HeaderCell.js +0 -32
- package/es/components/Table/style/Table.css +0 -1
- package/es/components/Table/style/css.js +0 -10
- package/es/components/Table/style/index.d.ts +0 -9
- package/es/components/Table/style/index.js +0 -10
- package/es/components/Tabs/Tabs.d.ts +0 -6
- package/es/components/Tabs/Tabs.js +0 -113
- package/es/components/Tabs/index.d.ts +0 -4
- package/es/components/Tabs/index.js +0 -5
- package/es/components/Tabs/interface.d.ts +0 -29
- package/es/components/Tabs/interface.js +0 -2
- package/es/components/Tabs/style/Tabs.css +0 -1
- package/es/components/Tabs/style/css.js +0 -2
- package/es/components/Tabs/style/index.d.ts +0 -1
- package/es/components/Tabs/style/index.js +0 -2
- package/es/components/Tag/Tag.d.ts +0 -6
- package/es/components/Tag/Tag.js +0 -80
- package/es/components/Tag/constants.d.ts +0 -18
- package/es/components/Tag/constants.js +0 -28
- package/es/components/Tag/index.d.ts +0 -5
- package/es/components/Tag/index.js +0 -6
- package/es/components/Tag/interface.d.ts +0 -15
- package/es/components/Tag/interface.js +0 -2
- package/es/components/Tag/style/Tag.css +0 -1
- package/es/components/Tag/style/css.js +0 -2
- package/es/components/Tag/style/index.d.ts +0 -1
- package/es/components/Tag/style/index.js +0 -2
- package/es/components/Tooltip/Tooltip.d.ts +0 -6
- package/es/components/Tooltip/Tooltip.js +0 -71
- package/es/components/Tooltip/index.d.ts +0 -4
- package/es/components/Tooltip/index.js +0 -5
- package/es/components/Tooltip/interface.d.ts +0 -22
- package/es/components/Tooltip/interface.js +0 -2
- package/es/components/Tooltip/style/Tooltip.css +0 -1
- package/es/components/Tooltip/style/css.js +0 -2
- package/es/components/Tooltip/style/index.d.ts +0 -1
- package/es/components/Tooltip/style/index.js +0 -2
- package/es/components/Tour/Tour.d.ts +0 -3
- package/es/components/Tour/Tour.js +0 -243
- package/es/components/Tour/index.d.ts +0 -4
- package/es/components/Tour/index.js +0 -5
- package/es/components/Tour/interface.d.ts +0 -46
- package/es/components/Tour/interface.js +0 -2
- package/es/components/Trigger/Trigger.d.ts +0 -5
- package/es/components/Trigger/Trigger.js +0 -193
- package/es/components/Trigger/index.d.ts +0 -3
- package/es/components/Trigger/index.js +0 -4
- package/es/components/Trigger/interface.d.ts +0 -77
- package/es/components/Trigger/interface.js +0 -2
- package/es/components/Trigger/style/Trigger.css +0 -1
- package/es/components/Trigger/style/css.js +0 -2
- package/es/components/Trigger/style/index.d.ts +0 -1
- package/es/components/Trigger/style/index.js +0 -2
- package/es/components/Typography/Typography.d.ts +0 -17
- package/es/components/Typography/Typography.js +0 -201
- package/es/components/Typography/constants.d.ts +0 -33
- package/es/components/Typography/constants.js +0 -9
- package/es/components/Typography/index.d.ts +0 -4
- package/es/components/Typography/index.js +0 -5
- package/es/components/Typography/interface.d.ts +0 -72
- package/es/components/Typography/interface.js +0 -22
- package/es/components/Typography/render.d.ts +0 -328
- package/es/components/Typography/render.js +0 -106
- package/es/components/Typography/style/Typography.css +0 -1
- package/es/components/Typography/style/css.js +0 -4
- package/es/components/Typography/style/index.d.ts +0 -3
- package/es/components/Typography/style/index.js +0 -4
- package/es/components/Typography/useTypographyEnhancements.d.ts +0 -43
- package/es/components/Typography/useTypographyEnhancements.js +0 -111
- package/es/components/Typography/utils.d.ts +0 -17
- package/es/components/Typography/utils.js +0 -88
- package/es/components/Upload/Upload.d.ts +0 -7
- package/es/components/Upload/Upload.js +0 -88
- package/es/components/Upload/UploadFileBar.d.ts +0 -6
- package/es/components/Upload/UploadFileBar.js +0 -69
- package/es/components/Upload/index.d.ts +0 -5
- package/es/components/Upload/index.js +0 -6
- package/es/components/Upload/interface.d.ts +0 -43
- package/es/components/Upload/interface.js +0 -2
- package/es/components/Upload/style/Upload.css +0 -1
- package/es/components/Upload/style/UploadFileBar.css +0 -1
- package/es/components/Upload/style/css.js +0 -3
- package/es/components/Upload/style/index.d.ts +0 -2
- package/es/components/Upload/style/index.js +0 -3
- package/es/components/VirtualList/Filler.d.ts +0 -21
- package/es/components/VirtualList/Filler.js +0 -56
- package/es/components/VirtualList/Item.d.ts +0 -6
- package/es/components/VirtualList/Item.js +0 -12
- package/es/components/VirtualList/ScrollBar.d.ts +0 -22
- package/es/components/VirtualList/ScrollBar.js +0 -236
- package/es/components/VirtualList/VirtualList.d.ts +0 -62
- package/es/components/VirtualList/VirtualList.js +0 -529
- package/es/components/VirtualList/constants.d.ts +0 -4
- package/es/components/VirtualList/constants.js +0 -5
- package/es/components/VirtualList/hooks/useChildren.d.ts +0 -2
- package/es/components/VirtualList/hooks/useChildren.js +0 -25
- package/es/components/VirtualList/hooks/useDiffItem.d.ts +0 -2
- package/es/components/VirtualList/hooks/useDiffItem.js +0 -16
- package/es/components/VirtualList/hooks/useFrameWheel.d.ts +0 -10
- package/es/components/VirtualList/hooks/useFrameWheel.js +0 -85
- package/es/components/VirtualList/hooks/useGetSize.d.ts +0 -7
- package/es/components/VirtualList/hooks/useGetSize.js +0 -47
- package/es/components/VirtualList/hooks/useHeights.d.ts +0 -8
- package/es/components/VirtualList/hooks/useHeights.js +0 -96
- package/es/components/VirtualList/hooks/useMobileTouchMove.d.ts +0 -2
- package/es/components/VirtualList/hooks/useMobileTouchMove.js +0 -85
- package/es/components/VirtualList/hooks/useOriginScroll.d.ts +0 -2
- package/es/components/VirtualList/hooks/useOriginScroll.js +0 -44
- package/es/components/VirtualList/hooks/useScrollDrag.d.ts +0 -3
- package/es/components/VirtualList/hooks/useScrollDrag.js +0 -76
- package/es/components/VirtualList/hooks/useScrollTo.d.ts +0 -18
- package/es/components/VirtualList/hooks/useScrollTo.js +0 -132
- package/es/components/VirtualList/index.d.ts +0 -9
- package/es/components/VirtualList/index.js +0 -5
- package/es/components/VirtualList/interface.d.ts +0 -26
- package/es/components/VirtualList/interface.js +0 -2
- package/es/components/VirtualList/style/VirtualList.css +0 -1
- package/es/components/VirtualList/style/css.js +0 -2
- package/es/components/VirtualList/style/index.d.ts +0 -1
- package/es/components/VirtualList/style/index.js +0 -2
- package/es/components/VirtualList/utils/CacheMap.d.ts +0 -16
- package/es/components/VirtualList/utils/CacheMap.js +0 -43
- package/es/components/VirtualList/utils/algorithmUtil.d.ts +0 -23
- package/es/components/VirtualList/utils/algorithmUtil.js +0 -77
- package/es/components/VirtualList/utils/isFirefox.d.ts +0 -2
- package/es/components/VirtualList/utils/isFirefox.js +0 -4
- package/es/components/VirtualList/utils/raf.d.ts +0 -9
- package/es/components/VirtualList/utils/raf.js +0 -47
- package/es/components/VirtualList/utils/scrollbarUtil.d.ts +0 -1
- package/es/components/VirtualList/utils/scrollbarUtil.js +0 -12
- package/es/hooks/index.d.ts +0 -2
- package/es/hooks/index.js +0 -2
- package/es/hooks/useFloatingAnimation.d.ts +0 -24
- package/es/hooks/useFloatingAnimation.js +0 -45
- package/es/index.css +0 -1
- package/es/index.d.ts +0 -92
- package/es/index.js +0 -47
- package/es/stories/docs/ComponentDocsPage.js +0 -234
- package/es/stories/docs/componentDocMeta.js +0 -94
- package/es/stories/docs/storybook-docs.css +0 -79
- package/es/styles/index.css +0 -1
- package/es/utils/classnames.d.ts +0 -5
- package/es/utils/classnames.js +0 -18
- package/es/utils/clipboard.d.ts +0 -2
- package/es/utils/clipboard.js +0 -50
- package/es/utils/ref.d.ts +0 -4
- package/es/utils/ref.js +0 -32
- package/es/utils/uuid.d.ts +0 -2
- package/es/utils/uuid.js +0 -16
- package/lib/components/Accordion/Accordion.d.ts +0 -4
- package/lib/components/Accordion/Accordion.js +0 -108
- package/lib/components/Accordion/constants.d.ts +0 -16
- package/lib/components/Accordion/constants.js +0 -23
- package/lib/components/Accordion/index.d.ts +0 -4
- package/lib/components/Accordion/index.js +0 -33
- package/lib/components/Accordion/interface.d.ts +0 -29
- package/lib/components/Accordion/interface.js +0 -6
- package/lib/components/Accordion/style/Accordion.css +0 -1
- package/lib/components/Accordion/style/css.js +0 -4
- package/lib/components/Accordion/style/index.d.ts +0 -1
- package/lib/components/Accordion/style/index.js +0 -4
- package/lib/components/Alert/Alert.d.ts +0 -6
- package/lib/components/Alert/Alert.js +0 -120
- package/lib/components/Alert/index.d.ts +0 -4
- package/lib/components/Alert/index.js +0 -33
- package/lib/components/Alert/interface.d.ts +0 -42
- package/lib/components/Alert/interface.js +0 -12
- package/lib/components/Alert/style/Alert.css +0 -1
- package/lib/components/Alert/style/css.js +0 -5
- package/lib/components/Alert/style/index.d.ts +0 -2
- package/lib/components/Alert/style/index.js +0 -5
- package/lib/components/Button/Button.d.ts +0 -4
- package/lib/components/Button/Button.js +0 -159
- package/lib/components/Button/constants.d.ts +0 -70
- package/lib/components/Button/constants.js +0 -97
- package/lib/components/Button/index.d.ts +0 -5
- package/lib/components/Button/index.js +0 -45
- package/lib/components/Button/interface.d.ts +0 -23
- package/lib/components/Button/interface.js +0 -6
- package/lib/components/Button/style/Button.css +0 -1
- package/lib/components/Button/style/css.js +0 -4
- package/lib/components/Button/style/index.d.ts +0 -1
- package/lib/components/Button/style/index.js +0 -4
- package/lib/components/Calendar/Calendar.d.ts +0 -7
- package/lib/components/Calendar/Calendar.js +0 -137
- package/lib/components/Calendar/index.d.ts +0 -4
- package/lib/components/Calendar/index.js +0 -33
- package/lib/components/Calendar/interface.d.ts +0 -29
- package/lib/components/Calendar/interface.js +0 -6
- package/lib/components/Calendar/style/Calendar.css +0 -1
- package/lib/components/Calendar/style/css.js +0 -4
- package/lib/components/Calendar/style/index.d.ts +0 -1
- package/lib/components/Calendar/style/index.js +0 -4
- package/lib/components/Carousel/Carousel.d.ts +0 -6
- package/lib/components/Carousel/Carousel.js +0 -56
- package/lib/components/Carousel/index.d.ts +0 -4
- package/lib/components/Carousel/index.js +0 -33
- package/lib/components/Carousel/interface.d.ts +0 -15
- package/lib/components/Carousel/interface.js +0 -6
- package/lib/components/Carousel/style/Carousel.css +0 -1
- package/lib/components/Carousel/style/css.js +0 -4
- package/lib/components/Carousel/style/index.d.ts +0 -1
- package/lib/components/Carousel/style/index.js +0 -4
- package/lib/components/Cell/Cell.d.ts +0 -5
- package/lib/components/Cell/Cell.js +0 -66
- package/lib/components/Cell/index.d.ts +0 -4
- package/lib/components/Cell/index.js +0 -33
- package/lib/components/Cell/interface.d.ts +0 -12
- package/lib/components/Cell/interface.js +0 -6
- package/lib/components/Cell/style/Cell.css +0 -1
- package/lib/components/Cell/style/css.js +0 -4
- package/lib/components/Cell/style/index.d.ts +0 -1
- package/lib/components/Cell/style/index.js +0 -4
- package/lib/components/Checkbox/BaseCheckbox.d.ts +0 -6
- package/lib/components/Checkbox/BaseCheckbox.js +0 -94
- package/lib/components/Checkbox/Checkbox.d.ts +0 -6
- package/lib/components/Checkbox/Checkbox.js +0 -132
- package/lib/components/Checkbox/CheckboxGroup.d.ts +0 -5
- package/lib/components/Checkbox/CheckboxGroup.js +0 -151
- package/lib/components/Checkbox/CheckboxGroupContext.d.ts +0 -14
- package/lib/components/Checkbox/CheckboxGroupContext.js +0 -9
- package/lib/components/Checkbox/constants.d.ts +0 -17
- package/lib/components/Checkbox/constants.js +0 -23
- package/lib/components/Checkbox/index.d.ts +0 -10
- package/lib/components/Checkbox/index.js +0 -53
- package/lib/components/Checkbox/interface.d.ts +0 -77
- package/lib/components/Checkbox/interface.js +0 -6
- package/lib/components/Checkbox/style/Checkbox.css +0 -1
- package/lib/components/Checkbox/style/css.js +0 -4
- package/lib/components/Checkbox/style/index.d.ts +0 -1
- package/lib/components/Checkbox/style/index.js +0 -4
- package/lib/components/CoachMark/CoachMark.d.ts +0 -4
- package/lib/components/CoachMark/CoachMark.js +0 -152
- package/lib/components/CoachMark/index.d.ts +0 -4
- package/lib/components/CoachMark/index.js +0 -33
- package/lib/components/CoachMark/interface.d.ts +0 -47
- package/lib/components/CoachMark/interface.js +0 -8
- package/lib/components/CoachMark/style/CoachMark.css +0 -1
- package/lib/components/CoachMark/style/css.js +0 -7
- package/lib/components/CoachMark/style/index.d.ts +0 -4
- package/lib/components/CoachMark/style/index.js +0 -7
- package/lib/components/Copy/Clipboard.d.ts +0 -4
- package/lib/components/Copy/Clipboard.js +0 -54
- package/lib/components/Copy/Copy.d.ts +0 -4
- package/lib/components/Copy/Copy.js +0 -91
- package/lib/components/Copy/index.d.ts +0 -5
- package/lib/components/Copy/index.js +0 -41
- package/lib/components/Copy/interface.d.ts +0 -38
- package/lib/components/Copy/interface.js +0 -6
- package/lib/components/Copy/style/Clipboard.css +0 -1
- package/lib/components/Copy/style/Copy.css +0 -1
- package/lib/components/Copy/style/css.js +0 -5
- package/lib/components/Copy/style/index.d.ts +0 -2
- package/lib/components/Copy/style/index.js +0 -5
- package/lib/components/Dialog/Dialog.d.ts +0 -4
- package/lib/components/Dialog/Dialog.js +0 -368
- package/lib/components/Dialog/constants.d.ts +0 -57
- package/lib/components/Dialog/constants.js +0 -61
- package/lib/components/Dialog/index.d.ts +0 -4
- package/lib/components/Dialog/index.js +0 -33
- package/lib/components/Dialog/interface.d.ts +0 -36
- package/lib/components/Dialog/interface.js +0 -6
- package/lib/components/Dialog/style/Dialog.css +0 -1
- package/lib/components/Dialog/style/css.js +0 -4
- package/lib/components/Dialog/style/index.d.ts +0 -1
- package/lib/components/Dialog/style/index.js +0 -4
- package/lib/components/Divider/Divider.d.ts +0 -4
- package/lib/components/Divider/Divider.js +0 -60
- package/lib/components/Divider/constants.d.ts +0 -36
- package/lib/components/Divider/constants.js +0 -48
- package/lib/components/Divider/index.d.ts +0 -4
- package/lib/components/Divider/index.js +0 -31
- package/lib/components/Divider/interface.d.ts +0 -19
- package/lib/components/Divider/interface.js +0 -6
- package/lib/components/Divider/style/Divider.css +0 -1
- package/lib/components/Divider/style/css.js +0 -4
- package/lib/components/Divider/style/index.d.ts +0 -1
- package/lib/components/Divider/style/index.js +0 -4
- package/lib/components/Drawer/Drawer.d.ts +0 -4
- package/lib/components/Drawer/Drawer.js +0 -165
- package/lib/components/Drawer/constants.d.ts +0 -18
- package/lib/components/Drawer/constants.js +0 -25
- package/lib/components/Drawer/hooks/index.d.ts +0 -4
- package/lib/components/Drawer/hooks/index.js +0 -34
- package/lib/components/Drawer/hooks/useBodyScrollLock.d.ts +0 -1
- package/lib/components/Drawer/hooks/useBodyScrollLock.js +0 -35
- package/lib/components/Drawer/hooks/useDialogFocus.d.ts +0 -2
- package/lib/components/Drawer/hooks/useDialogFocus.js +0 -28
- package/lib/components/Drawer/hooks/useDrawerTransition.d.ts +0 -4
- package/lib/components/Drawer/hooks/useDrawerTransition.js +0 -64
- package/lib/components/Drawer/hooks/useEscapeClose.d.ts +0 -1
- package/lib/components/Drawer/hooks/useEscapeClose.js +0 -22
- package/lib/components/Drawer/index.d.ts +0 -3
- package/lib/components/Drawer/index.js +0 -46
- package/lib/components/Drawer/interface.d.ts +0 -79
- package/lib/components/Drawer/interface.js +0 -6
- package/lib/components/Drawer/style/Drawer.css +0 -1
- package/lib/components/Drawer/style/css.js +0 -4
- package/lib/components/Drawer/style/index.d.ts +0 -1
- package/lib/components/Drawer/style/index.js +0 -4
- package/lib/components/Dropdown/Dropdown.d.ts +0 -5
- package/lib/components/Dropdown/Dropdown.js +0 -39
- package/lib/components/Dropdown/index.d.ts +0 -3
- package/lib/components/Dropdown/index.js +0 -35
- package/lib/components/Dropdown/interface.d.ts +0 -8
- package/lib/components/Dropdown/interface.js +0 -6
- package/lib/components/Dropdown/style/Dropdown.css +0 -1
- package/lib/components/Dropdown/style/css.js +0 -5
- package/lib/components/Dropdown/style/index.d.ts +0 -2
- package/lib/components/Dropdown/style/index.js +0 -5
- package/lib/components/Empty/Empty.d.ts +0 -6
- package/lib/components/Empty/Empty.js +0 -77
- package/lib/components/Empty/index.d.ts +0 -4
- package/lib/components/Empty/index.js +0 -33
- package/lib/components/Empty/interface.d.ts +0 -11
- package/lib/components/Empty/interface.js +0 -6
- package/lib/components/Empty/style/Empty.css +0 -1
- package/lib/components/Empty/style/css.js +0 -5
- package/lib/components/Empty/style/index.d.ts +0 -2
- package/lib/components/Empty/style/index.js +0 -5
- package/lib/components/Flex/Flex.d.ts +0 -5
- package/lib/components/Flex/Flex.js +0 -60
- package/lib/components/Flex/constants.d.ts +0 -41
- package/lib/components/Flex/constants.js +0 -51
- package/lib/components/Flex/index.d.ts +0 -5
- package/lib/components/Flex/index.js +0 -60
- package/lib/components/Flex/interface.d.ts +0 -13
- package/lib/components/Flex/interface.js +0 -6
- package/lib/components/Flex/style/Flex.css +0 -1
- package/lib/components/Flex/style/css.js +0 -4
- package/lib/components/Flex/style/index.d.ts +0 -1
- package/lib/components/Flex/style/index.js +0 -4
- package/lib/components/Grid/Col.d.ts +0 -4
- package/lib/components/Grid/Col.js +0 -93
- package/lib/components/Grid/Grid.d.ts +0 -10
- package/lib/components/Grid/Grid.js +0 -21
- package/lib/components/Grid/Row.d.ts +0 -4
- package/lib/components/Grid/Row.js +0 -50
- package/lib/components/Grid/constants.d.ts +0 -48
- package/lib/components/Grid/constants.js +0 -77
- package/lib/components/Grid/helper.d.ts +0 -15
- package/lib/components/Grid/helper.js +0 -94
- package/lib/components/Grid/index.d.ts +0 -7
- package/lib/components/Grid/index.js +0 -62
- package/lib/components/Grid/interface.d.ts +0 -38
- package/lib/components/Grid/interface.js +0 -6
- package/lib/components/Grid/style/Grid.css +0 -1
- package/lib/components/Grid/style/css.js +0 -4
- package/lib/components/Grid/style/index.d.ts +0 -1
- package/lib/components/Grid/style/index.js +0 -4
- package/lib/components/Icons/Icons.d.ts +0 -194
- package/lib/components/Icons/Icons.js +0 -195
- package/lib/components/Icons/Illustrations.d.ts +0 -19
- package/lib/components/Icons/Illustrations.js +0 -943
- package/lib/components/Icons/Logo.d.ts +0 -36
- package/lib/components/Icons/Logo.js +0 -219
- package/lib/components/Icons/SVGs.d.ts +0 -267
- package/lib/components/Icons/SVGs.js +0 -1936
- package/lib/components/Icons/Wrapper.d.ts +0 -6
- package/lib/components/Icons/Wrapper.js +0 -109
- package/lib/components/Icons/index.d.ts +0 -4
- package/lib/components/Icons/index.js +0 -52
- package/lib/components/Icons/interface.d.ts +0 -30
- package/lib/components/Icons/interface.js +0 -6
- package/lib/components/Icons/style/Icons.css +0 -1
- package/lib/components/Icons/style/css.js +0 -4
- package/lib/components/Icons/style/index.d.ts +0 -1
- package/lib/components/Icons/style/index.js +0 -4
- package/lib/components/Input/Amount/Amount.d.ts +0 -6
- package/lib/components/Input/Amount/Amount.js +0 -208
- package/lib/components/Input/Amount/helper.d.ts +0 -35
- package/lib/components/Input/Amount/helper.js +0 -102
- package/lib/components/Input/Amount/index.d.ts +0 -3
- package/lib/components/Input/Amount/index.js +0 -18
- package/lib/components/Input/Amount/style/Amount.css +0 -1
- package/lib/components/Input/Amount/style/css.js +0 -4
- package/lib/components/Input/Amount/style/index.d.ts +0 -1
- package/lib/components/Input/Amount/style/index.js +0 -4
- package/lib/components/Input/FieldShell/FieldShell.css +0 -1
- package/lib/components/Input/FieldShell/FieldShell.d.ts +0 -23
- package/lib/components/Input/FieldShell/FieldShell.js +0 -108
- package/lib/components/Input/FieldShell/index.d.ts +0 -3
- package/lib/components/Input/FieldShell/index.js +0 -22
- package/lib/components/Input/Input/Input.css +0 -1
- package/lib/components/Input/Input/Input.d.ts +0 -3
- package/lib/components/Input/Input/Input.js +0 -180
- package/lib/components/Input/Input/index.d.ts +0 -2
- package/lib/components/Input/Input/index.js +0 -22
- package/lib/components/Input/Mask/Mask.d.ts +0 -5
- package/lib/components/Input/Mask/Mask.js +0 -354
- package/lib/components/Input/Mask/index.d.ts +0 -2
- package/lib/components/Input/Mask/index.js +0 -22
- package/lib/components/Input/OTP/OTP.css +0 -1
- package/lib/components/Input/OTP/OTP.d.ts +0 -5
- package/lib/components/Input/OTP/OTP.js +0 -164
- package/lib/components/Input/OTP/index.d.ts +0 -2
- package/lib/components/Input/OTP/index.js +0 -22
- package/lib/components/Input/Password/Password.d.ts +0 -5
- package/lib/components/Input/Password/Password.js +0 -138
- package/lib/components/Input/Password/index.d.ts +0 -2
- package/lib/components/Input/Password/index.js +0 -22
- package/lib/components/Input/Search/Search.d.ts +0 -5
- package/lib/components/Input/Search/Search.js +0 -161
- package/lib/components/Input/Search/index.d.ts +0 -2
- package/lib/components/Input/Search/index.js +0 -22
- package/lib/components/Input/TextArea/TextArea.css +0 -1
- package/lib/components/Input/TextArea/TextArea.d.ts +0 -5
- package/lib/components/Input/TextArea/TextArea.js +0 -110
- package/lib/components/Input/TextArea/index.d.ts +0 -2
- package/lib/components/Input/TextArea/index.js +0 -22
- package/lib/components/Input/Trade/Trade.css +0 -1
- package/lib/components/Input/Trade/Trade.d.ts +0 -5
- package/lib/components/Input/Trade/Trade.js +0 -142
- package/lib/components/Input/Trade/index.d.ts +0 -2
- package/lib/components/Input/Trade/index.js +0 -22
- package/lib/components/Input/constants.d.ts +0 -15
- package/lib/components/Input/constants.js +0 -22
- package/lib/components/Input/index.d.ts +0 -4
- package/lib/components/Input/index.js +0 -49
- package/lib/components/Input/interface.d.ts +0 -156
- package/lib/components/Input/interface.js +0 -6
- package/lib/components/Input/style/css.js +0 -9
- package/lib/components/Input/style/index.d.ts +0 -6
- package/lib/components/Input/style/index.js +0 -9
- package/lib/components/Input/useAmountInput.d.ts +0 -35
- package/lib/components/Input/useAmountInput.js +0 -214
- package/lib/components/Input/useSyncRef.d.ts +0 -2
- package/lib/components/Input/useSyncRef.js +0 -19
- package/lib/components/Link/Link.d.ts +0 -4
- package/lib/components/Link/Link.js +0 -66
- package/lib/components/Link/constants.d.ts +0 -5
- package/lib/components/Link/constants.js +0 -12
- package/lib/components/Link/index.d.ts +0 -5
- package/lib/components/Link/index.js +0 -45
- package/lib/components/Link/interface.d.ts +0 -13
- package/lib/components/Link/interface.js +0 -6
- package/lib/components/Link/style/Link.css +0 -1
- package/lib/components/Link/style/css.js +0 -4
- package/lib/components/Link/style/index.d.ts +0 -1
- package/lib/components/Link/style/index.js +0 -4
- package/lib/components/Navigation/Nav.d.ts +0 -5
- package/lib/components/Navigation/Nav.js +0 -210
- package/lib/components/Navigation/Navigation.d.ts +0 -5
- package/lib/components/Navigation/Navigation.js +0 -309
- package/lib/components/Navigation/NavigationLogo.d.ts +0 -8
- package/lib/components/Navigation/NavigationLogo.js +0 -52
- package/lib/components/Navigation/NavigationStepper.d.ts +0 -5
- package/lib/components/Navigation/NavigationStepper.js +0 -82
- package/lib/components/Navigation/index.d.ts +0 -6
- package/lib/components/Navigation/index.js +0 -49
- package/lib/components/Navigation/interface.d.ts +0 -134
- package/lib/components/Navigation/interface.js +0 -6
- package/lib/components/Navigation/style/Nav.css +0 -1
- package/lib/components/Navigation/style/Navigation.css +0 -1
- package/lib/components/Navigation/style/NavigationStepper.css +0 -1
- package/lib/components/Navigation/style/css.js +0 -6
- package/lib/components/Navigation/style/index.d.ts +0 -3
- package/lib/components/Navigation/style/index.js +0 -6
- package/lib/components/Notification/Notification.d.ts +0 -6
- package/lib/components/Notification/Notification.js +0 -116
- package/lib/components/Notification/NotificationStatic.d.ts +0 -4
- package/lib/components/Notification/NotificationStatic.js +0 -515
- package/lib/components/Notification/constants.d.ts +0 -12
- package/lib/components/Notification/constants.js +0 -22
- package/lib/components/Notification/index.d.ts +0 -5
- package/lib/components/Notification/index.js +0 -52
- package/lib/components/Notification/interface.d.ts +0 -70
- package/lib/components/Notification/interface.js +0 -13
- package/lib/components/Notification/style/Notification.css +0 -1
- package/lib/components/Notification/style/css.js +0 -4
- package/lib/components/Notification/style/index.d.ts +0 -1
- package/lib/components/Notification/style/index.js +0 -4
- package/lib/components/Pagination/Pagination.d.ts +0 -5
- package/lib/components/Pagination/Pagination.js +0 -145
- package/lib/components/Pagination/constants.d.ts +0 -52
- package/lib/components/Pagination/constants.js +0 -62
- package/lib/components/Pagination/index.d.ts +0 -6
- package/lib/components/Pagination/index.js +0 -53
- package/lib/components/Pagination/interface.d.ts +0 -53
- package/lib/components/Pagination/interface.js +0 -6
- package/lib/components/Pagination/style/Pagination.css +0 -1
- package/lib/components/Pagination/style/css.js +0 -4
- package/lib/components/Pagination/style/index.d.ts +0 -1
- package/lib/components/Pagination/style/index.js +0 -4
- package/lib/components/Pagination/usePagination.d.ts +0 -3
- package/lib/components/Pagination/usePagination.js +0 -152
- package/lib/components/Popconfirm/Popconfirm.d.ts +0 -6
- package/lib/components/Popconfirm/Popconfirm.js +0 -154
- package/lib/components/Popconfirm/constants.d.ts +0 -74
- package/lib/components/Popconfirm/constants.js +0 -80
- package/lib/components/Popconfirm/index.d.ts +0 -4
- package/lib/components/Popconfirm/index.js +0 -33
- package/lib/components/Popconfirm/interface.d.ts +0 -40
- package/lib/components/Popconfirm/interface.js +0 -6
- package/lib/components/Popconfirm/style/Popconfirm.css +0 -1
- package/lib/components/Popconfirm/style/css.js +0 -7
- package/lib/components/Popconfirm/style/index.d.ts +0 -4
- package/lib/components/Popconfirm/style/index.js +0 -7
- package/lib/components/Portal/Portal.d.ts +0 -3
- package/lib/components/Portal/Portal.js +0 -61
- package/lib/components/Portal/index.d.ts +0 -4
- package/lib/components/Portal/index.js +0 -33
- package/lib/components/Portal/interface.d.ts +0 -7
- package/lib/components/Portal/interface.js +0 -6
- package/lib/components/ProForm/ProForm.d.ts +0 -4
- package/lib/components/ProForm/ProForm.js +0 -312
- package/lib/components/ProForm/ProFormDependency.d.ts +0 -4
- package/lib/components/ProForm/ProFormDependency.js +0 -170
- package/lib/components/ProForm/ProFormGroup.d.ts +0 -3
- package/lib/components/ProForm/ProFormGroup.js +0 -85
- package/lib/components/ProForm/ProFormItem.d.ts +0 -4
- package/lib/components/ProForm/ProFormItem.js +0 -229
- package/lib/components/ProForm/ProFormList.d.ts +0 -3
- package/lib/components/ProForm/ProFormList.js +0 -259
- package/lib/components/ProForm/Submitter.d.ts +0 -6
- package/lib/components/ProForm/Submitter.js +0 -113
- package/lib/components/ProForm/constants.d.ts +0 -18
- package/lib/components/ProForm/constants.js +0 -29
- package/lib/components/ProForm/context.d.ts +0 -13
- package/lib/components/ProForm/context.js +0 -35
- package/lib/components/ProForm/core/constants.d.ts +0 -21
- package/lib/components/ProForm/core/constants.js +0 -26
- package/lib/components/ProForm/core/hooks/useForm.d.ts +0 -3
- package/lib/components/ProForm/core/hooks/useForm.js +0 -686
- package/lib/components/ProForm/core/hooks/useFormCore.d.ts +0 -3
- package/lib/components/ProForm/core/hooks/useFormCore.js +0 -354
- package/lib/components/ProForm/core/index.d.ts +0 -6
- package/lib/components/ProForm/core/index.js +0 -56
- package/lib/components/ProForm/core/interface.d.ts +0 -153
- package/lib/components/ProForm/core/interface.js +0 -6
- package/lib/components/ProForm/core/useFormItem.d.ts +0 -21
- package/lib/components/ProForm/core/useFormItem.js +0 -183
- package/lib/components/ProForm/fields/ProFormCheckbox.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormCheckbox.js +0 -17
- package/lib/components/ProForm/fields/ProFormCheckboxGroup.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormCheckboxGroup.js +0 -18
- package/lib/components/ProForm/fields/ProFormDatePicker.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormDatePicker.js +0 -29
- package/lib/components/ProForm/fields/ProFormFieldSet.d.ts +0 -4
- package/lib/components/ProForm/fields/ProFormFieldSet.js +0 -75
- package/lib/components/ProForm/fields/ProFormPassword.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormPassword.js +0 -17
- package/lib/components/ProForm/fields/ProFormRadioGroup.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormRadioGroup.js +0 -16
- package/lib/components/ProForm/fields/ProFormSelect.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormSelect.js +0 -46
- package/lib/components/ProForm/fields/ProFormSlider.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormSlider.js +0 -16
- package/lib/components/ProForm/fields/ProFormSwitch.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormSwitch.js +0 -17
- package/lib/components/ProForm/fields/ProFormText.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormText.js +0 -16
- package/lib/components/ProForm/fields/ProFormTextArea.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormTextArea.js +0 -16
- package/lib/components/ProForm/fields/ProFormUpload.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormUpload.js +0 -32
- package/lib/components/ProForm/fields/createProFormField.d.ts +0 -4
- package/lib/components/ProForm/fields/createProFormField.js +0 -164
- package/lib/components/ProForm/fields/index.d.ts +0 -13
- package/lib/components/ProForm/fields/index.js +0 -97
- package/lib/components/ProForm/hooks/useFieldRequest.d.ts +0 -7
- package/lib/components/ProForm/hooks/useFieldRequest.js +0 -98
- package/lib/components/ProForm/index.d.ts +0 -38
- package/lib/components/ProForm/index.js +0 -206
- package/lib/components/ProForm/interface.d.ts +0 -284
- package/lib/components/ProForm/interface.js +0 -6
- package/lib/components/ProForm/layouts/DialogForm.d.ts +0 -3
- package/lib/components/ProForm/layouts/DialogForm.js +0 -81
- package/lib/components/ProForm/layouts/DrawerForm.d.ts +0 -3
- package/lib/components/ProForm/layouts/DrawerForm.js +0 -80
- package/lib/components/ProForm/layouts/QueryFilter.d.ts +0 -4
- package/lib/components/ProForm/layouts/QueryFilter.js +0 -167
- package/lib/components/ProForm/layouts/index.d.ts +0 -4
- package/lib/components/ProForm/layouts/index.js +0 -34
- package/lib/components/ProForm/layouts/useOverlayForm.d.ts +0 -17
- package/lib/components/ProForm/layouts/useOverlayForm.js +0 -117
- package/lib/components/ProForm/style/ProForm.css +0 -1
- package/lib/components/ProForm/style/css.js +0 -4
- package/lib/components/ProForm/style/index.d.ts +0 -1
- package/lib/components/ProForm/style/index.js +0 -4
- package/lib/components/ProForm/utils.d.ts +0 -22
- package/lib/components/ProForm/utils.js +0 -228
- package/lib/components/Progress/Progress.d.ts +0 -6
- package/lib/components/Progress/Progress.js +0 -103
- package/lib/components/Progress/constants.d.ts +0 -26
- package/lib/components/Progress/constants.js +0 -38
- package/lib/components/Progress/index.d.ts +0 -5
- package/lib/components/Progress/index.js +0 -45
- package/lib/components/Progress/interface.d.ts +0 -26
- package/lib/components/Progress/interface.js +0 -6
- package/lib/components/Progress/style/Progress.css +0 -1
- package/lib/components/Progress/style/css.js +0 -4
- package/lib/components/Progress/style/index.d.ts +0 -1
- package/lib/components/Progress/style/index.js +0 -4
- package/lib/components/Radio/BaseRadio.d.ts +0 -16
- package/lib/components/Radio/BaseRadio.js +0 -65
- package/lib/components/Radio/Radio.d.ts +0 -6
- package/lib/components/Radio/Radio.js +0 -192
- package/lib/components/Radio/RadioGroup.d.ts +0 -5
- package/lib/components/Radio/RadioGroup.js +0 -112
- package/lib/components/Radio/RadioGroupContext.d.ts +0 -22
- package/lib/components/Radio/RadioGroupContext.js +0 -13
- package/lib/components/Radio/constants.d.ts +0 -39
- package/lib/components/Radio/constants.js +0 -63
- package/lib/components/Radio/index.d.ts +0 -5
- package/lib/components/Radio/index.js +0 -41
- package/lib/components/Radio/interface.d.ts +0 -122
- package/lib/components/Radio/interface.js +0 -6
- package/lib/components/Radio/style/Radio.css +0 -1
- package/lib/components/Radio/style/css.js +0 -5
- package/lib/components/Radio/style/index.d.ts +0 -2
- package/lib/components/Radio/style/index.js +0 -5
- package/lib/components/ResizeObserver/Collection.d.ts +0 -19
- package/lib/components/ResizeObserver/Collection.js +0 -51
- package/lib/components/ResizeObserver/ResizeObserver.d.ts +0 -7
- package/lib/components/ResizeObserver/ResizeObserver.js +0 -41
- package/lib/components/ResizeObserver/SingleObserver/index.d.ts +0 -7
- package/lib/components/ResizeObserver/SingleObserver/index.js +0 -48
- package/lib/components/ResizeObserver/index.d.ts +0 -7
- package/lib/components/ResizeObserver/index.js +0 -30
- package/lib/components/ResizeObserver/interface.d.ts +0 -16
- package/lib/components/ResizeObserver/interface.js +0 -6
- package/lib/components/ResizeObserver/useResizeObserver.d.ts +0 -2
- package/lib/components/ResizeObserver/useResizeObserver.js +0 -79
- package/lib/components/ResizeObserver/utils/observerUtil.d.ts +0 -7
- package/lib/components/ResizeObserver/utils/observerUtil.js +0 -47
- package/lib/components/ResizeObserver/utils/reactUtil.d.ts +0 -19
- package/lib/components/ResizeObserver/utils/reactUtil.js +0 -91
- package/lib/components/Segment/Segment.d.ts +0 -6
- package/lib/components/Segment/Segment.js +0 -110
- package/lib/components/Segment/index.d.ts +0 -4
- package/lib/components/Segment/index.js +0 -33
- package/lib/components/Segment/interface.d.ts +0 -23
- package/lib/components/Segment/interface.js +0 -6
- package/lib/components/Segment/style/Segment.css +0 -1
- package/lib/components/Segment/style/css.js +0 -4
- package/lib/components/Segment/style/index.d.ts +0 -1
- package/lib/components/Segment/style/index.js +0 -4
- package/lib/components/Select/Select.d.ts +0 -6
- package/lib/components/Select/Select.js +0 -573
- package/lib/components/Select/SelectCustom.d.ts +0 -6
- package/lib/components/Select/SelectCustom.js +0 -242
- package/lib/components/Select/SelectFieldShell.d.ts +0 -24
- package/lib/components/Select/SelectFieldShell.js +0 -87
- package/lib/components/Select/SelectOptionContent.d.ts +0 -17
- package/lib/components/Select/SelectOptionContent.js +0 -51
- package/lib/components/Select/SelectSearchControl.d.ts +0 -15
- package/lib/components/Select/SelectSearchControl.js +0 -49
- package/lib/components/Select/SelectValueContent.d.ts +0 -18
- package/lib/components/Select/SelectValueContent.js +0 -105
- package/lib/components/Select/constants.d.ts +0 -45
- package/lib/components/Select/constants.js +0 -49
- package/lib/components/Select/index.d.ts +0 -7
- package/lib/components/Select/index.js +0 -41
- package/lib/components/Select/interface.d.ts +0 -229
- package/lib/components/Select/interface.js +0 -10
- package/lib/components/Select/style/Select.css +0 -1
- package/lib/components/Select/style/css.js +0 -6
- package/lib/components/Select/style/index.d.ts +0 -3
- package/lib/components/Select/style/index.js +0 -6
- package/lib/components/Select/useSelectShell.d.ts +0 -34
- package/lib/components/Select/useSelectShell.js +0 -114
- package/lib/components/Select/utils.d.ts +0 -21
- package/lib/components/Select/utils.js +0 -161
- package/lib/components/Skeleton/Skeleton.d.ts +0 -6
- package/lib/components/Skeleton/Skeleton.js +0 -58
- package/lib/components/Skeleton/index.d.ts +0 -4
- package/lib/components/Skeleton/index.js +0 -33
- package/lib/components/Skeleton/interface.d.ts +0 -19
- package/lib/components/Skeleton/interface.js +0 -6
- package/lib/components/Skeleton/style/Skeleton.css +0 -1
- package/lib/components/Skeleton/style/css.js +0 -4
- package/lib/components/Skeleton/style/index.d.ts +0 -1
- package/lib/components/Skeleton/style/index.js +0 -4
- package/lib/components/Slider/Slider.d.ts +0 -6
- package/lib/components/Slider/Slider.js +0 -127
- package/lib/components/Slider/index.d.ts +0 -4
- package/lib/components/Slider/index.js +0 -33
- package/lib/components/Slider/interface.d.ts +0 -39
- package/lib/components/Slider/interface.js +0 -6
- package/lib/components/Slider/style/Slider.css +0 -1
- package/lib/components/Slider/style/css.js +0 -4
- package/lib/components/Slider/style/index.d.ts +0 -1
- package/lib/components/Slider/style/index.js +0 -4
- package/lib/components/Space/Space.d.ts +0 -5
- package/lib/components/Space/Space.js +0 -88
- package/lib/components/Space/constants.d.ts +0 -33
- package/lib/components/Space/constants.js +0 -43
- package/lib/components/Space/index.d.ts +0 -5
- package/lib/components/Space/index.js +0 -53
- package/lib/components/Space/interface.d.ts +0 -12
- package/lib/components/Space/interface.js +0 -6
- package/lib/components/Space/style/Space.css +0 -1
- package/lib/components/Space/style/css.js +0 -4
- package/lib/components/Space/style/index.d.ts +0 -1
- package/lib/components/Space/style/index.js +0 -4
- package/lib/components/Spinner/Spinner.d.ts +0 -6
- package/lib/components/Spinner/Spinner.js +0 -230
- package/lib/components/Spinner/index.d.ts +0 -4
- package/lib/components/Spinner/index.js +0 -33
- package/lib/components/Spinner/interface.d.ts +0 -18
- package/lib/components/Spinner/interface.js +0 -8
- package/lib/components/Spinner/lottie-pure.json +0 -1
- package/lib/components/Spinner/style/Spinner.css +0 -1
- package/lib/components/Spinner/style/css.js +0 -4
- package/lib/components/Spinner/style/index.d.ts +0 -1
- package/lib/components/Spinner/style/index.js +0 -4
- package/lib/components/Step/Step.d.ts +0 -5
- package/lib/components/Step/Step.js +0 -126
- package/lib/components/Step/constants.d.ts +0 -59
- package/lib/components/Step/constants.js +0 -72
- package/lib/components/Step/index.d.ts +0 -4
- package/lib/components/Step/index.js +0 -33
- package/lib/components/Step/interface.d.ts +0 -22
- package/lib/components/Step/interface.js +0 -6
- package/lib/components/Step/style/Step.css +0 -1
- package/lib/components/Step/style/css.js +0 -4
- package/lib/components/Step/style/index.d.ts +0 -1
- package/lib/components/Step/style/index.js +0 -4
- package/lib/components/Switch/Switch.d.ts +0 -6
- package/lib/components/Switch/Switch.js +0 -104
- package/lib/components/Switch/constants.d.ts +0 -25
- package/lib/components/Switch/constants.js +0 -33
- package/lib/components/Switch/index.d.ts +0 -5
- package/lib/components/Switch/index.js +0 -45
- package/lib/components/Switch/interface.d.ts +0 -26
- package/lib/components/Switch/interface.js +0 -6
- package/lib/components/Switch/style/Switch.css +0 -1
- package/lib/components/Switch/style/css.js +0 -5
- package/lib/components/Switch/style/index.d.ts +0 -2
- package/lib/components/Switch/style/index.js +0 -5
- package/lib/components/Table/Table.d.ts +0 -10
- package/lib/components/Table/Table.js +0 -47
- package/lib/components/Table/VirtualTable.d.ts +0 -9
- package/lib/components/Table/VirtualTable.js +0 -59
- package/lib/components/Table/constants.d.ts +0 -4
- package/lib/components/Table/constants.js +0 -11
- package/lib/components/Table/core/useTableColumns.d.ts +0 -48
- package/lib/components/Table/core/useTableColumns.js +0 -260
- package/lib/components/Table/core/useTableDataPipeline.d.ts +0 -57
- package/lib/components/Table/core/useTableDataPipeline.js +0 -435
- package/lib/components/Table/core/useTableExpand.d.ts +0 -11
- package/lib/components/Table/core/useTableExpand.js +0 -70
- package/lib/components/Table/core/useTableSelection.d.ts +0 -15
- package/lib/components/Table/core/useTableSelection.js +0 -151
- package/lib/components/Table/core/useTableSetup.d.ts +0 -42
- package/lib/components/Table/core/useTableSetup.js +0 -204
- package/lib/components/Table/features/ExpandTrigger.d.ts +0 -4
- package/lib/components/Table/features/ExpandTrigger.js +0 -38
- package/lib/components/Table/features/FilterTrigger.d.ts +0 -9
- package/lib/components/Table/features/FilterTrigger.js +0 -164
- package/lib/components/Table/features/SelectionColumn.d.ts +0 -12
- package/lib/components/Table/features/SelectionColumn.js +0 -60
- package/lib/components/Table/features/SortTrigger.d.ts +0 -7
- package/lib/components/Table/features/SortTrigger.js +0 -32
- package/lib/components/Table/index.d.ts +0 -6
- package/lib/components/Table/index.js +0 -47
- package/lib/components/Table/interface.d.ts +0 -262
- package/lib/components/Table/interface.js +0 -6
- package/lib/components/Table/internal/index.d.ts +0 -3
- package/lib/components/Table/internal/index.js +0 -52
- package/lib/components/Table/internal/kernel/Body/BodyRow.d.ts +0 -37
- package/lib/components/Table/internal/kernel/Body/BodyRow.js +0 -186
- package/lib/components/Table/internal/kernel/Body/ExpandedRow.d.ts +0 -15
- package/lib/components/Table/internal/kernel/Body/ExpandedRow.js +0 -67
- package/lib/components/Table/internal/kernel/Body/MeasureCell.d.ts +0 -8
- package/lib/components/Table/internal/kernel/Body/MeasureCell.js +0 -50
- package/lib/components/Table/internal/kernel/Body/MeasureRow.d.ts +0 -10
- package/lib/components/Table/internal/kernel/Body/MeasureRow.js +0 -64
- package/lib/components/Table/internal/kernel/Body/index.d.ts +0 -9
- package/lib/components/Table/internal/kernel/Body/index.js +0 -135
- package/lib/components/Table/internal/kernel/Cell/index.d.ts +0 -39
- package/lib/components/Table/internal/kernel/Cell/index.js +0 -190
- package/lib/components/Table/internal/kernel/Cell/useCellRender.d.ts +0 -3
- package/lib/components/Table/internal/kernel/Cell/useCellRender.js +0 -74
- package/lib/components/Table/internal/kernel/Cell/useHoverState.d.ts +0 -2
- package/lib/components/Table/internal/kernel/Cell/useHoverState.js +0 -23
- package/lib/components/Table/internal/kernel/ColGroup.d.ts +0 -8
- package/lib/components/Table/internal/kernel/ColGroup.js +0 -68
- package/lib/components/Table/internal/kernel/FixedHolder/index.d.ts +0 -27
- package/lib/components/Table/internal/kernel/FixedHolder/index.js +0 -192
- package/lib/components/Table/internal/kernel/Footer/Cell.d.ts +0 -11
- package/lib/components/Table/internal/kernel/Footer/Cell.js +0 -60
- package/lib/components/Table/internal/kernel/Footer/Row.d.ts +0 -8
- package/lib/components/Table/internal/kernel/Footer/Row.js +0 -31
- package/lib/components/Table/internal/kernel/Footer/Summary.d.ts +0 -14
- package/lib/components/Table/internal/kernel/Footer/Summary.js +0 -20
- package/lib/components/Table/internal/kernel/Footer/SummaryContext.d.ts +0 -11
- package/lib/components/Table/internal/kernel/Footer/SummaryContext.js +0 -13
- package/lib/components/Table/internal/kernel/Footer/index.d.ts +0 -16
- package/lib/components/Table/internal/kernel/Footer/index.js +0 -47
- package/lib/components/Table/internal/kernel/Header/Header.d.ts +0 -9
- package/lib/components/Table/internal/kernel/Header/Header.js +0 -120
- package/lib/components/Table/internal/kernel/Header/HeaderRow.d.ts +0 -18
- package/lib/components/Table/internal/kernel/Header/HeaderRow.js +0 -71
- package/lib/components/Table/internal/kernel/Panel/index.d.ts +0 -7
- package/lib/components/Table/internal/kernel/Panel/index.js +0 -25
- package/lib/components/Table/internal/kernel/Table.d.ts +0 -126
- package/lib/components/Table/internal/kernel/Table.js +0 -695
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +0 -13
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.js +0 -298
- package/lib/components/Table/internal/kernel/VirtualTable/BodyLine.d.ts +0 -14
- package/lib/components/Table/internal/kernel/VirtualTable/BodyLine.js +0 -125
- package/lib/components/Table/internal/kernel/VirtualTable/VirtualCell.d.ts +0 -26
- package/lib/components/Table/internal/kernel/VirtualTable/VirtualCell.js +0 -117
- package/lib/components/Table/internal/kernel/VirtualTable/context.d.ts +0 -13
- package/lib/components/Table/internal/kernel/VirtualTable/context.js +0 -12
- package/lib/components/Table/internal/kernel/VirtualTable/index.d.ts +0 -17
- package/lib/components/Table/internal/kernel/VirtualTable/index.js +0 -100
- package/lib/components/Table/internal/kernel/constant.d.ts +0 -2
- package/lib/components/Table/internal/kernel/constant.js +0 -10
- package/lib/components/Table/internal/kernel/context/PerfContext.d.ts +0 -6
- package/lib/components/Table/internal/kernel/context/PerfContext.js +0 -18
- package/lib/components/Table/internal/kernel/context/TableContext.d.ts +0 -51
- package/lib/components/Table/internal/kernel/context/TableContext.js +0 -16
- package/lib/components/Table/internal/kernel/hooks/useColumns/index.d.ts +0 -31
- package/lib/components/Table/internal/kernel/hooks/useColumns/index.js +0 -223
- package/lib/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.d.ts +0 -5
- package/lib/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.js +0 -79
- package/lib/components/Table/internal/kernel/hooks/useExpand.d.ts +0 -10
- package/lib/components/Table/internal/kernel/hooks/useExpand.js +0 -94
- package/lib/components/Table/internal/kernel/hooks/useFixedInfo.d.ts +0 -2
- package/lib/components/Table/internal/kernel/hooks/useFixedInfo.js +0 -29
- package/lib/components/Table/internal/kernel/hooks/useFlattenRecords.d.ts +0 -19
- package/lib/components/Table/internal/kernel/hooks/useFlattenRecords.js +0 -64
- package/lib/components/Table/internal/kernel/hooks/useFrame.d.ts +0 -7
- package/lib/components/Table/internal/kernel/hooks/useFrame.js +0 -72
- package/lib/components/Table/internal/kernel/hooks/useHover.d.ts +0 -2
- package/lib/components/Table/internal/kernel/hooks/useHover.js +0 -30
- package/lib/components/Table/internal/kernel/hooks/useRenderTimes.d.ts +0 -5
- package/lib/components/Table/internal/kernel/hooks/useRenderTimes.js +0 -51
- package/lib/components/Table/internal/kernel/hooks/useRowInfo.d.ts +0 -11
- package/lib/components/Table/internal/kernel/hooks/useRowInfo.js +0 -70
- package/lib/components/Table/internal/kernel/hooks/useSticky.d.ts +0 -10
- package/lib/components/Table/internal/kernel/hooks/useSticky.js +0 -44
- package/lib/components/Table/internal/kernel/hooks/useStickyOffsets.d.ts +0 -6
- package/lib/components/Table/internal/kernel/hooks/useStickyOffsets.js +0 -38
- package/lib/components/Table/internal/kernel/index.d.ts +0 -12
- package/lib/components/Table/internal/kernel/index.js +0 -74
- package/lib/components/Table/internal/kernel/interface.d.ts +0 -202
- package/lib/components/Table/internal/kernel/interface.js +0 -6
- package/lib/components/Table/internal/kernel/namePathType.d.ts +0 -13
- package/lib/components/Table/internal/kernel/namePathType.js +0 -6
- package/lib/components/Table/internal/kernel/selector-context/Immutable.d.ts +0 -10
- package/lib/components/Table/internal/kernel/selector-context/Immutable.js +0 -82
- package/lib/components/Table/internal/kernel/selector-context/context.d.ts +0 -26
- package/lib/components/Table/internal/kernel/selector-context/context.js +0 -93
- package/lib/components/Table/internal/kernel/selector-context/index.d.ts +0 -7
- package/lib/components/Table/internal/kernel/selector-context/index.js +0 -34
- package/lib/components/Table/internal/kernel/selector-context/isEqual.d.ts +0 -5
- package/lib/components/Table/internal/kernel/selector-context/isEqual.js +0 -55
- package/lib/components/Table/internal/kernel/stickyScrollBar.d.ts +0 -12
- package/lib/components/Table/internal/kernel/stickyScrollBar.js +0 -203
- package/lib/components/Table/internal/kernel/sugar/Column.d.ts +0 -10
- package/lib/components/Table/internal/kernel/sugar/Column.js +0 -17
- package/lib/components/Table/internal/kernel/sugar/ColumnGroup.d.ts +0 -12
- package/lib/components/Table/internal/kernel/sugar/ColumnGroup.js +0 -17
- package/lib/components/Table/internal/kernel/utils/dom/canUseDom.d.ts +0 -1
- package/lib/components/Table/internal/kernel/utils/dom/canUseDom.js +0 -10
- package/lib/components/Table/internal/kernel/utils/dom/isVisible.d.ts +0 -2
- package/lib/components/Table/internal/kernel/utils/dom/isVisible.js +0 -34
- package/lib/components/Table/internal/kernel/utils/expandUtil.d.ts +0 -4
- package/lib/components/Table/internal/kernel/utils/expandUtil.js +0 -60
- package/lib/components/Table/internal/kernel/utils/fixUtil.d.ts +0 -21
- package/lib/components/Table/internal/kernel/utils/fixUtil.js +0 -70
- package/lib/components/Table/internal/kernel/utils/get.d.ts +0 -1
- package/lib/components/Table/internal/kernel/utils/get.js +0 -17
- package/lib/components/Table/internal/kernel/utils/getScrollBarSize.d.ts +0 -7
- package/lib/components/Table/internal/kernel/utils/getScrollBarSize.js +0 -45
- package/lib/components/Table/internal/kernel/utils/legacyUtil.d.ts +0 -5
- package/lib/components/Table/internal/kernel/utils/legacyUtil.js +0 -40
- package/lib/components/Table/internal/kernel/utils/offsetUtil.d.ts +0 -4
- package/lib/components/Table/internal/kernel/utils/offsetUtil.js +0 -20
- package/lib/components/Table/internal/kernel/utils/pickAttrs.d.ts +0 -6
- package/lib/components/Table/internal/kernel/utils/pickAttrs.js +0 -39
- package/lib/components/Table/internal/kernel/utils/useMemo.d.ts +0 -1
- package/lib/components/Table/internal/kernel/utils/useMemo.js +0 -19
- package/lib/components/Table/internal/kernel/utils/valueUtil.d.ts +0 -8
- package/lib/components/Table/internal/kernel/utils/valueUtil.js +0 -38
- package/lib/components/Table/internal/kernel/utils/warning.d.ts +0 -4
- package/lib/components/Table/internal/kernel/utils/warning.js +0 -26
- package/lib/components/Table/renderers/BodyCell.d.ts +0 -15
- package/lib/components/Table/renderers/BodyCell.js +0 -47
- package/lib/components/Table/renderers/CellContent.d.ts +0 -4
- package/lib/components/Table/renderers/CellContent.js +0 -32
- package/lib/components/Table/renderers/EmptyState.d.ts +0 -5
- package/lib/components/Table/renderers/EmptyState.js +0 -29
- package/lib/components/Table/renderers/ExpandedRowContainer.d.ts +0 -4
- package/lib/components/Table/renderers/ExpandedRowContainer.js +0 -16
- package/lib/components/Table/renderers/HeaderCell.d.ts +0 -11
- package/lib/components/Table/renderers/HeaderCell.js +0 -38
- package/lib/components/Table/style/Table.css +0 -1
- package/lib/components/Table/style/css.js +0 -12
- package/lib/components/Table/style/index.d.ts +0 -9
- package/lib/components/Table/style/index.js +0 -12
- package/lib/components/Tabs/Tabs.d.ts +0 -6
- package/lib/components/Tabs/Tabs.js +0 -123
- package/lib/components/Tabs/index.d.ts +0 -4
- package/lib/components/Tabs/index.js +0 -33
- package/lib/components/Tabs/interface.d.ts +0 -29
- package/lib/components/Tabs/interface.js +0 -6
- package/lib/components/Tabs/style/Tabs.css +0 -1
- package/lib/components/Tabs/style/css.js +0 -4
- package/lib/components/Tabs/style/index.d.ts +0 -1
- package/lib/components/Tabs/style/index.js +0 -4
- package/lib/components/Tag/Tag.d.ts +0 -6
- package/lib/components/Tag/Tag.js +0 -89
- package/lib/components/Tag/constants.d.ts +0 -18
- package/lib/components/Tag/constants.js +0 -34
- package/lib/components/Tag/index.d.ts +0 -5
- package/lib/components/Tag/index.js +0 -45
- package/lib/components/Tag/interface.d.ts +0 -15
- package/lib/components/Tag/interface.js +0 -6
- package/lib/components/Tag/style/Tag.css +0 -1
- package/lib/components/Tag/style/css.js +0 -4
- package/lib/components/Tag/style/index.d.ts +0 -1
- package/lib/components/Tag/style/index.js +0 -4
- package/lib/components/Tooltip/Tooltip.d.ts +0 -6
- package/lib/components/Tooltip/Tooltip.js +0 -80
- package/lib/components/Tooltip/index.d.ts +0 -4
- package/lib/components/Tooltip/index.js +0 -33
- package/lib/components/Tooltip/interface.d.ts +0 -22
- package/lib/components/Tooltip/interface.js +0 -6
- package/lib/components/Tooltip/style/Tooltip.css +0 -1
- package/lib/components/Tooltip/style/css.js +0 -4
- package/lib/components/Tooltip/style/index.d.ts +0 -1
- package/lib/components/Tooltip/style/index.js +0 -4
- package/lib/components/Tour/Tour.d.ts +0 -3
- package/lib/components/Tour/Tour.js +0 -250
- package/lib/components/Tour/index.d.ts +0 -4
- package/lib/components/Tour/index.js +0 -33
- package/lib/components/Tour/interface.d.ts +0 -46
- package/lib/components/Tour/interface.js +0 -6
- package/lib/components/Trigger/Trigger.d.ts +0 -5
- package/lib/components/Trigger/Trigger.js +0 -203
- package/lib/components/Trigger/index.d.ts +0 -3
- package/lib/components/Trigger/index.js +0 -35
- package/lib/components/Trigger/interface.d.ts +0 -77
- package/lib/components/Trigger/interface.js +0 -6
- package/lib/components/Trigger/style/Trigger.css +0 -1
- package/lib/components/Trigger/style/css.js +0 -4
- package/lib/components/Trigger/style/index.d.ts +0 -1
- package/lib/components/Trigger/style/index.js +0 -4
- package/lib/components/Typography/Typography.d.ts +0 -17
- package/lib/components/Typography/Typography.js +0 -207
- package/lib/components/Typography/constants.d.ts +0 -33
- package/lib/components/Typography/constants.js +0 -15
- package/lib/components/Typography/index.d.ts +0 -4
- package/lib/components/Typography/index.js +0 -79
- package/lib/components/Typography/interface.d.ts +0 -72
- package/lib/components/Typography/interface.js +0 -28
- package/lib/components/Typography/render.d.ts +0 -328
- package/lib/components/Typography/render.js +0 -116
- package/lib/components/Typography/style/Typography.css +0 -1
- package/lib/components/Typography/style/css.js +0 -6
- package/lib/components/Typography/style/index.d.ts +0 -3
- package/lib/components/Typography/style/index.js +0 -6
- package/lib/components/Typography/useTypographyEnhancements.d.ts +0 -43
- package/lib/components/Typography/useTypographyEnhancements.js +0 -118
- package/lib/components/Typography/utils.d.ts +0 -17
- package/lib/components/Typography/utils.js +0 -105
- package/lib/components/Upload/Upload.d.ts +0 -7
- package/lib/components/Upload/Upload.js +0 -97
- package/lib/components/Upload/UploadFileBar.d.ts +0 -6
- package/lib/components/Upload/UploadFileBar.js +0 -78
- package/lib/components/Upload/index.d.ts +0 -5
- package/lib/components/Upload/index.js +0 -41
- package/lib/components/Upload/interface.d.ts +0 -43
- package/lib/components/Upload/interface.js +0 -6
- package/lib/components/Upload/style/Upload.css +0 -1
- package/lib/components/Upload/style/UploadFileBar.css +0 -1
- package/lib/components/Upload/style/css.js +0 -5
- package/lib/components/Upload/style/index.d.ts +0 -2
- package/lib/components/Upload/style/index.js +0 -5
- package/lib/components/VirtualList/Filler.d.ts +0 -21
- package/lib/components/VirtualList/Filler.js +0 -66
- package/lib/components/VirtualList/Item.d.ts +0 -6
- package/lib/components/VirtualList/Item.js +0 -21
- package/lib/components/VirtualList/ScrollBar.d.ts +0 -22
- package/lib/components/VirtualList/ScrollBar.js +0 -246
- package/lib/components/VirtualList/VirtualList.d.ts +0 -62
- package/lib/components/VirtualList/VirtualList.js +0 -540
- package/lib/components/VirtualList/constants.d.ts +0 -4
- package/lib/components/VirtualList/constants.js +0 -11
- package/lib/components/VirtualList/hooks/useChildren.d.ts +0 -2
- package/lib/components/VirtualList/hooks/useChildren.js +0 -34
- package/lib/components/VirtualList/hooks/useDiffItem.d.ts +0 -2
- package/lib/components/VirtualList/hooks/useDiffItem.js +0 -25
- package/lib/components/VirtualList/hooks/useFrameWheel.d.ts +0 -10
- package/lib/components/VirtualList/hooks/useFrameWheel.js +0 -92
- package/lib/components/VirtualList/hooks/useGetSize.d.ts +0 -7
- package/lib/components/VirtualList/hooks/useGetSize.js +0 -57
- package/lib/components/VirtualList/hooks/useHeights.d.ts +0 -8
- package/lib/components/VirtualList/hooks/useHeights.js +0 -106
- package/lib/components/VirtualList/hooks/useMobileTouchMove.d.ts +0 -2
- package/lib/components/VirtualList/hooks/useMobileTouchMove.js +0 -91
- package/lib/components/VirtualList/hooks/useOriginScroll.d.ts +0 -2
- package/lib/components/VirtualList/hooks/useOriginScroll.js +0 -50
- package/lib/components/VirtualList/hooks/useScrollDrag.d.ts +0 -3
- package/lib/components/VirtualList/hooks/useScrollDrag.js +0 -87
- package/lib/components/VirtualList/hooks/useScrollTo.d.ts +0 -18
- package/lib/components/VirtualList/hooks/useScrollTo.js +0 -142
- package/lib/components/VirtualList/index.d.ts +0 -9
- package/lib/components/VirtualList/index.js +0 -31
- package/lib/components/VirtualList/interface.d.ts +0 -26
- package/lib/components/VirtualList/interface.js +0 -6
- package/lib/components/VirtualList/style/VirtualList.css +0 -1
- package/lib/components/VirtualList/style/css.js +0 -4
- package/lib/components/VirtualList/style/index.d.ts +0 -1
- package/lib/components/VirtualList/style/index.js +0 -4
- package/lib/components/VirtualList/utils/CacheMap.d.ts +0 -16
- package/lib/components/VirtualList/utils/CacheMap.js +0 -50
- package/lib/components/VirtualList/utils/algorithmUtil.d.ts +0 -23
- package/lib/components/VirtualList/utils/algorithmUtil.js +0 -84
- package/lib/components/VirtualList/utils/isFirefox.d.ts +0 -2
- package/lib/components/VirtualList/utils/isFirefox.js +0 -11
- package/lib/components/VirtualList/utils/raf.d.ts +0 -9
- package/lib/components/VirtualList/utils/raf.js +0 -53
- package/lib/components/VirtualList/utils/scrollbarUtil.d.ts +0 -1
- package/lib/components/VirtualList/utils/scrollbarUtil.js +0 -18
- package/lib/hooks/index.d.ts +0 -2
- package/lib/hooks/index.js +0 -13
- package/lib/hooks/useFloatingAnimation.d.ts +0 -24
- package/lib/hooks/useFloatingAnimation.js +0 -51
- package/lib/index.css +0 -1
- package/lib/index.d.ts +0 -92
- package/lib/index.js +0 -519
- package/lib/stories/docs/ComponentDocsPage.js +0 -244
- package/lib/stories/docs/componentDocMeta.js +0 -101
- package/lib/stories/docs/storybook-docs.css +0 -79
- package/lib/styles/index.css +0 -1
- package/lib/utils/classnames.d.ts +0 -5
- package/lib/utils/classnames.js +0 -25
- package/lib/utils/clipboard.d.ts +0 -2
- package/lib/utils/clipboard.js +0 -56
- package/lib/utils/ref.d.ts +0 -4
- package/lib/utils/ref.js +0 -41
- package/lib/utils/uuid.d.ts +0 -2
- package/lib/utils/uuid.js +0 -23
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
var _exportNames = {
|
|
8
|
-
notification: true,
|
|
9
|
-
NOTIFICATION_STATUSES: true,
|
|
10
|
-
NOTIFICATION_PLACEMENTS: true
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "NOTIFICATION_PLACEMENTS", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _interface.NOTIFICATION_PLACEMENTS;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "NOTIFICATION_STATUSES", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function get() {
|
|
21
|
-
return _interface.NOTIFICATION_STATUSES;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "default", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function get() {
|
|
27
|
-
return _NotificationStatic["default"];
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "notification", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function get() {
|
|
33
|
-
return _NotificationStatic.notification;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
var _NotificationStatic = _interopRequireWildcard(require("./NotificationStatic"));
|
|
37
|
-
var _interface = require("./interface");
|
|
38
|
-
var _constants = require("./constants");
|
|
39
|
-
Object.keys(_constants).forEach(function (key) {
|
|
40
|
-
if (key === "default" || key === "__esModule") return;
|
|
41
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
42
|
-
if (key in exports && exports[key] === _constants[key]) return;
|
|
43
|
-
Object.defineProperty(exports, key, {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function get() {
|
|
46
|
-
return _constants[key];
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
51
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object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FBQSxTQUFBQyxDQUFBLEdBQUFILENBQUEsR0FBQXRCLE1BQUEsQ0FBQXVCLHdCQUFBLENBQUFWLENBQUEsRUFBQVcsQ0FBQSxVQUFBQyxDQUFBLEtBQUFBLENBQUEsQ0FBQWQsR0FBQSxJQUFBYyxDQUFBLENBQUFDLEdBQUEsSUFBQTFCLE1BQUEsQ0FBQVMsY0FBQSxDQUFBVyxDQUFBLEVBQUFJLENBQUEsRUFBQUMsQ0FBQSxJQUFBTCxDQUFBLENBQUFJLENBQUEsSUFBQVgsQ0FBQSxDQUFBVyxDQUFBLFlBQUFKLENBQUEsY0FBQVAsQ0FBQSxFQUFBRyxDQUFBLElBQUFBLENBQUEsQ0FBQVUsR0FBQSxDQUFBYixDQUFBLEVBQUFPLENBQUEsR0FBQUEsQ0FBQSIsImZpbGUiOiJjb21wb25lbnRzL05vdGlmaWNhdGlvbi9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,70 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.NOTIFICATION_STATUSES = exports.NOTIFICATION_PLACEMENTS = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* Status variants for Notification.
|
|
9
|
-
* Each status maps to a distinct icon and icon-background color.
|
|
10
|
-
*/
|
|
11
|
-
var NOTIFICATION_STATUSES = exports.NOTIFICATION_STATUSES = ['info', 'success', 'warning', 'error'];
|
|
12
|
-
var NOTIFICATION_PLACEMENTS = exports.NOTIFICATION_PLACEMENTS = ['topLeft', 'topRight', 'bottomLeft', 'bottomRight'];
|
|
13
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvTm90aWZpY2F0aW9uL2ludGVyZmFjZS50cyIsImNvbX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acing-200,8px);align-items:flex-start;padding:var(--om-spacing-300,12px);background-color:var(--om-bg-default-secondary,#f8f8f8);border-radius:var(--om-radius-300,12px);box-shadow:var(--om-shadow-200,0 10px 22px rgba(0,0,0,.1))}.om-component-ui-notification-content-wrapper{display:flex;flex:1 0 0;gap:var(--om-spacing-300,12px);align-items:flex-start;min-width:0}.om-component-ui-notification-icon-wrapper{display:flex;flex-shrink:0;align-items:center}.om-component-ui-notification-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center}.om-component-ui-notification-content{display:flex;flex:1 0 0;flex-direction:column;gap:var(--om-spacing-100,4px);align-items:flex-start;min-width:0;padding-top:var(--om-spacing-200,8px)}.om-component-ui-notification-body,.om-component-ui-notification-title{display:block}.om-component-ui-notification-link{font-size:var(--om-body-md-font-size);font-family:var(--om-body-md-font-family);line-height:var(--om-body-md-line-height);letter-spacing:var(--om-body-md-letter-spacing);font-weight:var(--om-body-md-strong-font-weight);padding:0;color:var(--om-text-brand,#073387);text-decoration:underline;background:none;border:none;cursor:pointer}.om-component-ui-notification-close{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;color:var(--om-icon-neutral-secondary,#9fa3a3);background:none;border:none;cursor:pointer}.om-component-ui-notification-close .om-component-ui-icons-wrapper{--icon-color:currentcolor}.om-component-ui-notification-close:hover{color:var(--om-icon-neutral,#404042)}.om-component-ui-notification-viewport{position:fixed;inset:0;z-index:1100;pointer-events:none}.om-component-ui-notification-stack{position:fixed;display:flex;flex-direction:column;--notification-motion-offset:calc(100% + var(--om-spacing-300, 12px));width:375px;max-width:calc(100vw - var(--om-spacing-400, 16px) * 2);pointer-events:none}.om-component-ui-notification-stack-topLeft{top:var(--om-spacing-400,16px);left:var(--om-spacing-400,16px);--notification-motion-offset:calc(-100% - var(--om-spacing-300, 12px))}.om-component-ui-notification-stack-topRight{top:var(--om-spacing-400,16px);right:var(--om-spacing-400,16px)}.om-component-ui-notification-stack-bottomLeft{bottom:var(--om-spacing-400,16px);left:var(--om-spacing-400,16px);--notification-motion-offset:calc(-100% - var(--om-spacing-300, 12px))}.om-component-ui-notification-stack-bottomRight{right:var(--om-spacing-400,16px);bottom:var(--om-spacing-400,16px)}.om-component-ui-notification-item{display:grid;grid-template-rows:1fr;transition:grid-template-rows .24s ease,margin-top .24s ease;will-change:grid-template-rows,margin-top}.om-component-ui-notification-item+.om-component-ui-notification-item{margin-top:var(--om-spacing-300,12px)}.om-component-ui-notification-item-inner{min-height:0;overflow:visible;transform:translateZ(0);opacity:1;transition:transform .24s ease,opacity .24s ease;pointer-events:auto;will-change:transform,opacity}.om-component-ui-notification-item-enter,.om-component-ui-notification-item-exit+.om-component-ui-notification-item{margin-top:0}.om-component-ui-notification-item-active{grid-template-rows:1fr}.om-component-ui-notification-item-exit .om-component-ui-notification-item-inner{pointer-events:none}.om-component-ui-notification-item-exit-collapse{grid-template-rows:0fr}.om-component-ui-notification-item-exit-collapse .om-component-ui-notification-item-inner{overflow:hidden}.om-component-ui-notification-item-enter .om-component-ui-notification-item-inner,.om-component-ui-notification-item-exit .om-component-ui-notification-item-inner{transform:translate3d(var(--notification-motion-offset),0,0);opacity:0}.om-component-ui-notification-item-active .om-component-ui-notification-item-inner{transform:translateZ(0)}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("./Notification.css");
|
|
4
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvTm90aWZpY2F0aW9uL3NyYy9jb21wb25lbnRzL05vdGlmaWNhdGlvbi9zdHlsZS9pbmRleC50cyJdLCJuYW1lcyI6WyJyZXF1aXJlIl0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFBIiwiZmlsZSI6ImNvbXBvbmVudHMvTm90aWZpY2F0aW9uL3N0eWxlL2Nzcy5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './Notification.css';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("./Notification.css");
|
|
4
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvTm90aWZpY2F0aW9uL3NyYy9jb21wb25lbnRzL05vdGlmaWNhdGlvbi9zdHlsZS9pbmRleC50cyJdLCJuYW1lcyI6WyJyZXF1aXJlIl0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFBIiwiZmlsZSI6ImNvbXBvbmVudHMvTm90aWZpY2F0aW9uL3N0eWxlL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOltudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = exports.Pagination = void 0;
|
|
8
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _hooks = require("@1money/hooks");
|
|
11
|
-
var _Icons = require("../Icons");
|
|
12
|
-
var _Typography = require("../Typography");
|
|
13
|
-
var _classnames = _interopRequireWildcard(require("../../utils/classnames"));
|
|
14
|
-
require("./style");
|
|
15
|
-
var _usePagination2 = require("./usePagination");
|
|
16
|
-
var _constants = require("./constants");
|
|
17
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
19
|
-
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
20
|
-
var t = {};
|
|
21
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
22
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
23
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
24
|
-
}
|
|
25
|
-
return t;
|
|
26
|
-
};
|
|
27
|
-
var getButtonAriaLabel = function getButtonAriaLabel(item) {
|
|
28
|
-
if (item.type === _constants.PAGINATION_ITEM_TYPE.page) {
|
|
29
|
-
return item.current ? "Page ".concat(item.page, ", current page") : "Go to page ".concat(item.page);
|
|
30
|
-
}
|
|
31
|
-
return item.type === _constants.PAGINATION_ITEM_TYPE.previous ? 'Previous page' : 'Next page';
|
|
32
|
-
};
|
|
33
|
-
var getItemTextColor = function getItemTextColor(item) {
|
|
34
|
-
if (item.type !== _constants.PAGINATION_ITEM_TYPE.page && item.disabled) {
|
|
35
|
-
return _constants.PAGINATION_TEXT_COLOR.disabled;
|
|
36
|
-
}
|
|
37
|
-
if (item.type === _constants.PAGINATION_ITEM_TYPE.page && item.current) {
|
|
38
|
-
return _constants.PAGINATION_TEXT_COLOR.current;
|
|
39
|
-
}
|
|
40
|
-
return _constants.PAGINATION_TEXT_COLOR["default"];
|
|
41
|
-
};
|
|
42
|
-
var PaginationBase = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
43
|
-
var _props$className = props.className,
|
|
44
|
-
className = _props$className === void 0 ? '' : _props$className,
|
|
45
|
-
_props$prefixCls = props.prefixCls,
|
|
46
|
-
prefixCls = _props$prefixCls === void 0 ? _constants.PAGINATION_DEFAULT_PREFIX : _props$prefixCls,
|
|
47
|
-
total = props.total,
|
|
48
|
-
pageSize = props.pageSize,
|
|
49
|
-
current = props.current,
|
|
50
|
-
_props$defaultCurrent = props.defaultCurrent,
|
|
51
|
-
defaultCurrent = _props$defaultCurrent === void 0 ? _constants.PAGINATION_DEFAULT_CURRENT : _props$defaultCurrent,
|
|
52
|
-
boundaryCount = props.boundaryCount,
|
|
53
|
-
middlePageCount = props.middlePageCount,
|
|
54
|
-
onChange = props.onChange,
|
|
55
|
-
_props$ariaLabel = props['aria-label'],
|
|
56
|
-
ariaLabel = _props$ariaLabel === void 0 ? _constants.PAGINATION_COMPONENT_NAME : _props$ariaLabel,
|
|
57
|
-
rest = __rest(props, ["className", "prefixCls", "total", "pageSize", "current", "defaultCurrent", "boundaryCount", "middlePageCount", "onChange", 'aria-label']);
|
|
58
|
-
var classes = (0, _classnames["default"])(prefixCls);
|
|
59
|
-
var _usePagination = (0, _usePagination2.usePagination)({
|
|
60
|
-
total: total,
|
|
61
|
-
pageSize: pageSize,
|
|
62
|
-
current: current,
|
|
63
|
-
defaultCurrent: defaultCurrent,
|
|
64
|
-
boundaryCount: boundaryCount,
|
|
65
|
-
middlePageCount: middlePageCount,
|
|
66
|
-
onChange: onChange
|
|
67
|
-
}),
|
|
68
|
-
items = _usePagination.items,
|
|
69
|
-
goTo = _usePagination.goTo,
|
|
70
|
-
resolvedTotal = _usePagination.total;
|
|
71
|
-
var handleListClick = (0, _hooks.useEventCallback)(function (e) {
|
|
72
|
-
var button = e.target.closest('button[data-page]');
|
|
73
|
-
var page = Number(button === null || button === void 0 ? void 0 : button.dataset.page);
|
|
74
|
-
if (page && !Number.isNaN(page)) {
|
|
75
|
-
goTo(page);
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
if (resolvedTotal === 0) {
|
|
79
|
-
return null;
|
|
80
|
-
}
|
|
81
|
-
return (0, _jsxRuntime.jsx)("nav", Object.assign({}, rest, {
|
|
82
|
-
ref: ref,
|
|
83
|
-
"aria-label": ariaLabel,
|
|
84
|
-
className: classes(undefined, className),
|
|
85
|
-
children: (0, _jsxRuntime.jsx)("ul", {
|
|
86
|
-
className: classes(_constants.PAGINATION_SLOT.list),
|
|
87
|
-
onClick: handleListClick,
|
|
88
|
-
children: items.map(function (item) {
|
|
89
|
-
if (item.type === _constants.PAGINATION_ITEM_TYPE.ellipsis) {
|
|
90
|
-
return (0, _jsxRuntime.jsx)("li", {
|
|
91
|
-
className: classes(_constants.PAGINATION_SLOT.item, classes(_constants.PAGINATION_SLOT.itemEllipsis)),
|
|
92
|
-
"aria-hidden": "true",
|
|
93
|
-
children: (0, _jsxRuntime.jsx)(_Typography.TypographyBody, {
|
|
94
|
-
className: classes(_constants.PAGINATION_SLOT.ellipsis),
|
|
95
|
-
size: _constants.PAGINATION_TEXT_SIZE,
|
|
96
|
-
strong: true,
|
|
97
|
-
color: _constants.PAGINATION_TEXT_COLOR["default"],
|
|
98
|
-
children: _constants.PAGINATION_ELLIPSIS_TEXT
|
|
99
|
-
})
|
|
100
|
-
}, item.key);
|
|
101
|
-
}
|
|
102
|
-
var isPage = item.type === _constants.PAGINATION_ITEM_TYPE.page;
|
|
103
|
-
var isControl = !isPage;
|
|
104
|
-
var isPrevious = item.type === _constants.PAGINATION_ITEM_TYPE.previous;
|
|
105
|
-
var isDisabled = isControl && item.disabled;
|
|
106
|
-
var iconName = isControl ? _constants.PAGINATION_CONTROL_ICON[item.type] : undefined;
|
|
107
|
-
return (0, _jsxRuntime.jsx)("li", {
|
|
108
|
-
className: classes(_constants.PAGINATION_SLOT.item),
|
|
109
|
-
children: (0, _jsxRuntime.jsxs)("button", {
|
|
110
|
-
type: "button",
|
|
111
|
-
className: classes(_constants.PAGINATION_SLOT.button, (0, _classnames.joinCls)(isPage ? classes(_constants.PAGINATION_SLOT.buttonPage) : classes(_constants.PAGINATION_SLOT.buttonControl), isPage && item.current && classes(_constants.PAGINATION_SLOT.buttonCurrent), isDisabled && classes(_constants.PAGINATION_SLOT.buttonDisabled))),
|
|
112
|
-
"aria-label": getButtonAriaLabel(item),
|
|
113
|
-
"aria-current": isPage && item.current ? 'page' : undefined,
|
|
114
|
-
disabled: isDisabled || undefined,
|
|
115
|
-
"data-page": isDisabled ? undefined : item.page,
|
|
116
|
-
children: [isControl && isPrevious && (0, _jsxRuntime.jsx)("span", {
|
|
117
|
-
className: classes(_constants.PAGINATION_SLOT.icon),
|
|
118
|
-
children: (0, _jsxRuntime.jsx)(_Icons.Icons, {
|
|
119
|
-
name: iconName,
|
|
120
|
-
size: _constants.PAGINATION_CONTROL_ICON_SIZE,
|
|
121
|
-
color: _constants.PAGINATION_CONTROL_ICON_COLOR
|
|
122
|
-
})
|
|
123
|
-
}), (0, _jsxRuntime.jsx)(_Typography.TypographyBody, {
|
|
124
|
-
size: _constants.PAGINATION_TEXT_SIZE,
|
|
125
|
-
strong: true,
|
|
126
|
-
color: getItemTextColor(item),
|
|
127
|
-
children: isPage ? item.page : _constants.PAGINATION_CONTROL_TEXT[item.type]
|
|
128
|
-
}), isControl && !isPrevious && (0, _jsxRuntime.jsx)("span", {
|
|
129
|
-
className: classes(_constants.PAGINATION_SLOT.icon),
|
|
130
|
-
children: (0, _jsxRuntime.jsx)(_Icons.Icons, {
|
|
131
|
-
name: iconName,
|
|
132
|
-
size: _constants.PAGINATION_CONTROL_ICON_SIZE,
|
|
133
|
-
color: _constants.PAGINATION_CONTROL_ICON_COLOR
|
|
134
|
-
})
|
|
135
|
-
})]
|
|
136
|
-
})
|
|
137
|
-
}, item.key);
|
|
138
|
-
})
|
|
139
|
-
})
|
|
140
|
-
}));
|
|
141
|
-
});
|
|
142
|
-
PaginationBase.displayName = _constants.PAGINATION_COMPONENT_NAME;
|
|
143
|
-
var Pagination = exports.Pagination = /*#__PURE__*/(0, _react.memo)(PaginationBase);
|
|
144
|
-
var _default = exports["default"] = Pagination;
|
|
145
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvUGFnaW5hdGlvbi9QYWdpbmF0aW9uLmpzIiwiY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9QYWdpbmF0aW9uL1BhZ2luYXRpb24udHN4Il0sIm5hbWVzIjpbIl9qc3hSdW50aW1lIiwicmVxdWlyZSIsIl9yZWFjdCIsIl9pbnRlcm9wUmVxdWlyZVdpbGRjYXJkIiwiX2hvb2tzIiwiX0ljb25zIiwiX1R5cG9ncmFwaHkiLCJfY2xhc3NuYW1lcyIsIl91c2VQYWdpbmF0aW9uMiIsIl9jb25zdGFudHMiLCJfZ2V0UmVxdWlyZVdpbGRjYXJkQ2FjaGUiLCJlIiwiV2Vha01hcCIsInIiLCJ0IiwiX19lc01vZHVsZSIsIl90eXBlb2YiLCJoYXMiLCJnZXQiLCJuIiwiX19wcm90b19fIiwiYSIsIk9iamVjdCIsImRlZmluZVByb3BlcnR5IiwiZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yIiwidSIsImhhc093blByb3BlcnR5IiwiY2FsbCIsImkiLCJzZXQiLCJfX3Jlc3QiLCJzIiwicCIsInByb3RvdHlwZSIsImluZGV4T2YiLCJnZXRPd25Qcm9wZXJ0eVN5bWJvbHMiLCJsZW5ndGgiLCJwcm9wZXJ0eUlzRW51bWVyYWJsZSIsImdldEJ1dHRvbkFyaWFMYWJlbCIsIml0ZW0iLCJ0eXBlIiwiUEFHSU5BVElPTl9JVEVNX1RZUEUiLCJwYWdlIiwiY3VycmVudCIsImNvbmNhdCI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@@ -1,52 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.PAGINATION_TEXT_SIZE = exports.PAGINATION_TEXT_COLOR = exports.PAGINATION_SLOT = exports.PAGINATION_KEY_PREFIX = exports.PAGINATION_ITEM_TYPE = exports.PAGINATION_GAP_FILL_THRESHOLD = exports.PAGINATION_ELLIPSIS_TEXT = exports.PAGINATION_ELLIPSIS_POSITION = exports.PAGINATION_DEFAULT_TOTAL = exports.PAGINATION_DEFAULT_PREFIX = exports.PAGINATION_DEFAULT_PAGE_SIZE = exports.PAGINATION_DEFAULT_MIDDLE_PAGE_COUNT = exports.PAGINATION_DEFAULT_CURRENT = exports.PAGINATION_DEFAULT_BOUNDARY_COUNT = exports.PAGINATION_CONTROL_TEXT = exports.PAGINATION_CONTROL_ICON_SIZE = exports.PAGINATION_CONTROL_ICON_COLOR = exports.PAGINATION_CONTROL_ICON = exports.PAGINATION_COMPONENT_NAME = void 0;
|
|
8
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
-
var PAGINATION_COMPONENT_NAME = exports.PAGINATION_COMPONENT_NAME = 'Pagination';
|
|
10
|
-
var PAGINATION_DEFAULT_PREFIX = exports.PAGINATION_DEFAULT_PREFIX = 'pagination';
|
|
11
|
-
// --- Item types ---
|
|
12
|
-
var PAGINATION_ITEM_TYPE = exports.PAGINATION_ITEM_TYPE = {
|
|
13
|
-
previous: 'previous',
|
|
14
|
-
page: 'page',
|
|
15
|
-
ellipsis: 'ellipsis',
|
|
16
|
-
next: 'next'
|
|
17
|
-
};
|
|
18
|
-
// --- Ellipsis position ---
|
|
19
|
-
var PAGINATION_ELLIPSIS_POSITION = exports.PAGINATION_ELLIPSIS_POSITION = {
|
|
20
|
-
start: 'start',
|
|
21
|
-
end: 'end'
|
|
22
|
-
};
|
|
23
|
-
// --- Defaults ---
|
|
24
|
-
var PAGINATION_DEFAULT_CURRENT = exports.PAGINATION_DEFAULT_CURRENT = 1;
|
|
25
|
-
var PAGINATION_DEFAULT_PAGE_SIZE = exports.PAGINATION_DEFAULT_PAGE_SIZE = 10;
|
|
26
|
-
var PAGINATION_DEFAULT_TOTAL = exports.PAGINATION_DEFAULT_TOTAL = 0;
|
|
27
|
-
var PAGINATION_DEFAULT_BOUNDARY_COUNT = exports.PAGINATION_DEFAULT_BOUNDARY_COUNT = 1;
|
|
28
|
-
var PAGINATION_DEFAULT_MIDDLE_PAGE_COUNT = exports.PAGINATION_DEFAULT_MIDDLE_PAGE_COUNT = 3;
|
|
29
|
-
// --- UI ---
|
|
30
|
-
var PAGINATION_CONTROL_ICON_SIZE = exports.PAGINATION_CONTROL_ICON_SIZE = 16;
|
|
31
|
-
var PAGINATION_CONTROL_ICON_COLOR = exports.PAGINATION_CONTROL_ICON_COLOR = 'currentColor';
|
|
32
|
-
var PAGINATION_ELLIPSIS_TEXT = exports.PAGINATION_ELLIPSIS_TEXT = '...';
|
|
33
|
-
var PAGINATION_CONTROL_TEXT = exports.PAGINATION_CONTROL_TEXT = (0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, PAGINATION_ITEM_TYPE.previous, 'Previous'), PAGINATION_ITEM_TYPE.next, 'Next');
|
|
34
|
-
var PAGINATION_CONTROL_ICON = exports.PAGINATION_CONTROL_ICON = (0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, PAGINATION_ITEM_TYPE.previous, 'chevronLeft'), PAGINATION_ITEM_TYPE.next, 'chevronRight');
|
|
35
|
-
var PAGINATION_TEXT_COLOR = exports.PAGINATION_TEXT_COLOR = {
|
|
36
|
-
"default": 'default',
|
|
37
|
-
current: 'on-neutral',
|
|
38
|
-
disabled: 'disabled'
|
|
39
|
-
};
|
|
40
|
-
// --- BEM modifiers ---
|
|
41
|
-
var PAGINATION_SLOT = exports.PAGINATION_SLOT = {
|
|
42
|
-
list: 'list',
|
|
43
|
-
item: 'item',
|
|
44
|
-
itemEllipsis: 'item-ellipsis',
|
|
45
|
-
button: 'button',
|
|
46
|
-
buttonPage: 'button-page',
|
|
47
|
-
buttonControl: 'button-control',
|
|
48
|
-
buttonCurrent: 'button-current',
|
|
49
|
-
buttonDisabled: 'button-disabled',
|
|
50
|
-
ellipsis: 'ellipsis',
|
|
51
|
-
icon: 'icon'
|
|
52
|
-
};
|
|
53
|
-
// --- Typography ---
|
|
54
|
-
var PAGINATION_TEXT_SIZE = exports.PAGINATION_TEXT_SIZE = 'lg';
|
|
55
|
-
// --- Gap thresholds used when inserting ellipsis ---
|
|
56
|
-
var PAGINATION_GAP_FILL_THRESHOLD = exports.PAGINATION_GAP_FILL_THRESHOLD = 2;
|
|
57
|
-
// --- Key prefixes ---
|
|
58
|
-
var PAGINATION_KEY_PREFIX = exports.PAGINATION_KEY_PREFIX = {
|
|
59
|
-
page: 'page',
|
|
60
|
-
ellipsis: 'ellipsis'
|
|
61
|
-
};
|
|
62
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2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bUVsbGlwc2lzOiAnaXRlbS1lbGxpcHNpcycsXG4gICAgYnV0dG9uOiAnYnV0dG9uJyxcbiAgICBidXR0b25QYWdlOiAnYnV0dG9uLXBhZ2UnLFxuICAgIGJ1dHRvbkNvbnRyb2w6ICdidXR0b24tY29udHJvbCcsXG4gICAgYnV0dG9uQ3VycmVudDogJ2J1dHRvbi1jdXJyZW50JyxcbiAgICBidXR0b25EaXNhYmxlZDogJ2J1dHRvbi1kaXNhYmxlZCcsXG4gICAgZWxsaXBzaXM6ICdlbGxpcHNpcycsXG4gICAgaWNvbjogJ2ljb24nLFxufTtcbi8vIC0tLSBUeXBvZ3JhcGh5IC0tLVxuZXhwb3J0IGNvbnN0IFBBR0lOQVRJT05fVEVYVF9TSVpFID0gJ2xnJztcbi8vIC0tLSBHYXAgdGhyZXNob2xkcyB1c2VkIHdoZW4gaW5zZXJ0aW5nIGVsbGlwc2lzIC0tLVxuZXhwb3J0IGNvbnN0IFBBR0lOQVRJT05fR0FQX0ZJTExfVEhSRVNIT0xEID0gMjtcbi8vIC0tLSBLZXkgcHJlZml4ZXMgLS0tXG5leHBvcnQgY29uc3QgUEFHSU5BVElPTl9LRVlfUFJFRklYID0ge1xuICAgIHBhZ2U6ICdwYWdlJyxcbiAgICBlbGxpcHNpczogJ2VsbGlwc2lzJyxcbn07Il0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
var _exportNames = {
|
|
8
|
-
Pagination: true,
|
|
9
|
-
usePagination: true
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "Pagination", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function get() {
|
|
14
|
-
return _Pagination.Pagination;
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
exports["default"] = void 0;
|
|
18
|
-
Object.defineProperty(exports, "usePagination", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function get() {
|
|
21
|
-
return _usePagination.usePagination;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
var _Pagination = _interopRequireWildcard(require("./Pagination"));
|
|
25
|
-
var _usePagination = require("./usePagination");
|
|
26
|
-
var _interface = require("./interface");
|
|
27
|
-
Object.keys(_interface).forEach(function (key) {
|
|
28
|
-
if (key === "default" || key === "__esModule") return;
|
|
29
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
30
|
-
if (key in exports && exports[key] === _interface[key]) return;
|
|
31
|
-
Object.defineProperty(exports, key, {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function get() {
|
|
34
|
-
return _interface[key];
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
var _constants = require("./constants");
|
|
39
|
-
Object.keys(_constants).forEach(function (key) {
|
|
40
|
-
if (key === "default" || key === "__esModule") return;
|
|
41
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
42
|
-
if (key in exports && exports[key] === _constants[key]) return;
|
|
43
|
-
Object.defineProperty(exports, key, {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function get() {
|
|
46
|
-
return _constants[key];
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
51
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
52
|
-
var _default = exports["default"] = _Pagination["default"];
|
|
53
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6WyJfUGFnaW5hdGlvbiIsIl9pbnRlcm9wUmVxdWlyZVdpbGRjYXJkIiwicmVxdWlyZSIsIl91c2VQYWdpbmF0aW9uIiwiX2ludGVyZmFjZSIsIk9iamVjdCIsImtleXMiLCJmb3JFYWNoIiwia2V5IiwicHJvdG90eXBlIiwiaGFzT3duUHJvcGVydHkiLCJjYWxsIiwiX2V4cG9ydE5hbWVzIiwiZXhwb3J0cyIsImRlZmluZVByb3BlcnR5IiwiZW51bWVyYWJsZSIsImdldCIsIl9jb25zdGFudHMiLCJfZ2V0UmVxdWlyZVdpbGRjYXJkQ2FjaGUiLCJlIiwiV2Vha01hcCIsInIiLCJ0IiwiX19lc01vZHVsZSIsIl90eXBlb2YiLCJoYXMiLCJuIiwiX19wcm90b19fIiwiYSIsImdldE93blByb3BlcnR5RGVzY3JpcHRvciIsInUiLCJpIiwic2V0IiwiX2RlZmF1bHQiLCJQYWdpbmF0aW9uIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLElBQUFBLFdBQUEsR0FBQUMsdUJBQUEsQ0FBQUMsT0FBQTtBQUdBLElBQUFDLGNBQUEsR0FBQUQsT0FBQTtBQUlBLElBQUFFLFVBQUEsR0FBQUYsT0FBQTtBQUFBRyxNQUFBLENBQUFDLElBQUEsQ0FBQUYsVUFBQSxF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FBQSxDQUFBO0FBQUEsSUFBQU8sUUFBQSxHQUFBcEIsT0FBQSxjQUhicUIsc0JBQVUiLCJmaWxlIjoiY29tcG9uZW50cy9QYWdpbmF0aW9uL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOltudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy9QYWdpbmF0aW9uL2ludGVyZmFjZS5qcyIsIm5hbWVzIjpbXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9QYWdpbmF0aW9uL2ludGVyZmFjZS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQge307Il0sIm1hcHBpbmdzIjoiIiwiaWdub3JlTGlzdCI6W119
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.om-component-ui-pagination,.om-component-ui-pagination-list{display:inline-flex;align-items:center}.om-component-ui-pagination-list{gap:var(--om-spacing-200,8px);margin:0;padding:0;list-style:none}.om-component-ui-pagination-item{display:inline-flex;flex-shrink:0;align-items:center}.om-component-ui-pagination-button,.om-component-ui-pagination-ellipsis{display:inline-flex;align-items:center;justify-content:center;min-height:calc(var(--om-spacing-400, 16px) + var(--om-spacing-500, 20px));padding:var(--om-spacing-200,8px) var(--om-spacing-300,12px);color:var(--om-text-default,#131313);white-space:nowrap;background-color:transparent;border:none;border-radius:var(--om-radius-200,8px);font-variant-numeric:tabular-nums}.om-component-ui-pagination-button{gap:var(--om-spacing-200,8px);cursor:pointer}.om-component-ui-pagination-button:hover:not(:disabled){background-color:var(--om-bg-default-hover,#f0f0f0)}.om-component-ui-pagination-button:focus-visible{outline:none;box-shadow:0 0 0 2px var(--om-border-brand,#073387)}.om-component-ui-pagination-button-disabled,.om-component-ui-pagination-button:disabled{color:var(--om-text-disabled,#bbbdc1);cursor:default;pointer-events:none}.om-component-ui-pagination-button-page{min-width:max(calc(var(--om-spacing-400, 16px) + var(--om-spacing-500, 20px)),2ch + var(--om-spacing-300,12px) + var(--om-spacing-300,12px))}.om-component-ui-pagination-button-current{color:var(--om-text-on-neutral,#fff);background-color:var(--om-bg-brand,#073387)}.om-component-ui-pagination-button-current:hover:not(:disabled){background-color:var(--om-bg-brand-hover,#052561)}.om-component-ui-pagination-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center}.om-component-ui-pagination-ellipsis{padding-right:var(--om-spacing-400,16px);padding-left:var(--om-spacing-400,16px);cursor:default}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("./Pagination.css");
|
|
4
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvUGFnaW5hdGlvbi9zcmMvY29tcG9uZW50cy9QYWdpbmF0aW9uL3N0eWxlL2luZGV4LnRzIl0sIm5hbWVzIjpbInJlcXVpcmUiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQUEiLCJmaWxlIjoiY29tcG9uZW50cy9QYWdpbmF0aW9uL3N0eWxlL2Nzcy5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './Pagination.css';
|