@1money/component-ui 0.0.47 → 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/scripts/mcp-server/examples.generated.json +12 -0
- package/scripts/mcp-server/index.generated.json +8 -0
- 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 -243
- 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 -9
- package/es/components/Table/core/useTableExpand.js +0 -38
- 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 -175
- package/es/components/Table/features/ExpandTrigger.d.ts +0 -4
- package/es/components/Table/features/ExpandTrigger.js +0 -25
- 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 -261
- 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 -181
- 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 -692
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +0 -13
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.js +0 -287
- 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 -91
- 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 -84
- 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 -14
- 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 -237
- 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 -250
- 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 -9
- package/lib/components/Table/core/useTableExpand.js +0 -45
- 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 -184
- package/lib/components/Table/features/ExpandTrigger.d.ts +0 -4
- package/lib/components/Table/features/ExpandTrigger.js +0 -31
- 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 -261
- 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 -193
- 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 -701
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +0 -13
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.js +0 -299
- 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 -101
- 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 -95
- 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 -21
- 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 -247
- 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,50 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
6
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
import { memo } from 'react';
|
|
12
|
-
import classnames, { joinCls } from '../../utils/classnames';
|
|
13
|
-
import './style';
|
|
14
|
-
import { DIVIDER_COMPONENT_NAME, DIVIDER_DEFAULT_PREFIX, DIVIDER_DEFAULTS, DIVIDER_MODIFIER, DIVIDER_ORIENTATION_MARGIN_PROPERTY, DIVIDER_SLOT, DIVIDER_TYPE, DIVIDER_VARIANT } from './constants';
|
|
15
|
-
export var Divider = /*#__PURE__*/memo(function (props) {
|
|
16
|
-
var _props$type = props.type,
|
|
17
|
-
type = _props$type === void 0 ? DIVIDER_DEFAULTS.type : _props$type,
|
|
18
|
-
_props$orientation = props.orientation,
|
|
19
|
-
orientation = _props$orientation === void 0 ? DIVIDER_DEFAULTS.orientation : _props$orientation,
|
|
20
|
-
orientationMargin = props.orientationMargin,
|
|
21
|
-
_props$plain = props.plain,
|
|
22
|
-
plain = _props$plain === void 0 ? false : _props$plain,
|
|
23
|
-
_props$variant = props.variant,
|
|
24
|
-
variant = _props$variant === void 0 ? DIVIDER_DEFAULTS.variant : _props$variant,
|
|
25
|
-
_props$prefixCls = props.prefixCls,
|
|
26
|
-
prefixCls = _props$prefixCls === void 0 ? DIVIDER_DEFAULT_PREFIX : _props$prefixCls,
|
|
27
|
-
className = props.className,
|
|
28
|
-
children = props.children,
|
|
29
|
-
style = props.style,
|
|
30
|
-
rest = __rest(props, ["type", "orientation", "orientationMargin", "plain", "variant", "prefixCls", "className", "children", "style"]);
|
|
31
|
-
var classes = classnames(prefixCls);
|
|
32
|
-
var showInlineText = type === DIVIDER_TYPE.horizontal && !!children;
|
|
33
|
-
var hasCustomMargin = orientationMargin != null && orientationMargin !== '';
|
|
34
|
-
var classNameValue = joinCls(classes(), classes(type), showInlineText && classes(DIVIDER_MODIFIER.withText), showInlineText && classes("".concat(DIVIDER_MODIFIER.withText, "-").concat(orientation)), plain && classes(DIVIDER_MODIFIER.plain), variant !== DIVIDER_VARIANT.solid && classes(variant), hasCustomMargin && classes(DIVIDER_MODIFIER.noDefaultMargin), className);
|
|
35
|
-
var marginProperty = DIVIDER_ORIENTATION_MARGIN_PROPERTY[orientation];
|
|
36
|
-
var innerStyle = showInlineText && hasCustomMargin && marginProperty ? _defineProperty({}, marginProperty, orientationMargin) : undefined;
|
|
37
|
-
return _jsx("div", Object.assign({}, rest, {
|
|
38
|
-
className: classNameValue,
|
|
39
|
-
style: style,
|
|
40
|
-
role: "separator",
|
|
41
|
-
children: showInlineText && _jsx("span", {
|
|
42
|
-
className: classes(DIVIDER_SLOT.innerText),
|
|
43
|
-
style: innerStyle,
|
|
44
|
-
children: children
|
|
45
|
-
})
|
|
46
|
-
}));
|
|
47
|
-
});
|
|
48
|
-
Divider.displayName = DIVIDER_COMPONENT_NAME;
|
|
49
|
-
export default Divider;
|
|
50
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvRGl2aWRlci9EaXZpZGVyLmpzIiwiY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EaXZpZGVyL0RpdmlkZXIudHN4Il0sIm5hbWVzIjpbIl9fcmVzdCIsInMiLCJlIiwidCIsInAiLCJPYmplY3QiLCJwcm90b3R5cGUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJpbmRleE9mIiwiZ2V0T3duUHJvcGVydHlTeW1ib2xzIiwiaSIsImxlbmd0aCIsInByb3BlcnR5SXNFbnVtZXJhYmxlIiwianN4IiwiX2pzeCIsIm1lbW8iLCJjbGFzc25hbWVzIiwiam9pbkNscyIsIkRJVklERVJfQ09NUE9ORU5UX05BTUUiLCJESVZJREVSX0RFRkFVTFRfUFJFRklYIiwiRElWSURFUl9ERUZBVUxUUyIsIkRJVklERVJfTU9ESUZJRVIiLCJESVZJREVSX09SSUVOVEFUSU9OX01BUkdJTl9QUk9QRVJU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KFwiZGl2XCIsIE9iamVjdC5hc3NpZ24oe30sIHJlc3QsIHsgY2xhc3NOYW1lOiBjbGFzc05hbWVWYWx1ZSwgc3R5bGU6IHN0eWxlLCByb2xlOiBcInNlcGFyYXRvclwiLCBjaGlsZHJlbjogc2hvd0lubGluZVRleHQgJiYgKF9qc3goXCJzcGFuXCIsIHsgY2xhc3NOYW1lOiBjbGFzc2VzKERJVklERVJfU0xPVC5pbm5lclRleHQpLCBzdHlsZTogaW5uZXJTdHlsZSwgY2hpbGRyZW46IGNoaWxkcmVuIH0pKSB9KSkpO1xufSk7XG5EaXZpZGVyLmRpc3BsYXlOYW1lID0gRElWSURFUl9DT01QT05FTlRfTkFNRTtcbmV4cG9ydCBkZWZhdWx0IERpdmlkZXI7IixudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export declare const DIVIDER_COMPONENT_NAME = "Divider";
|
|
2
|
-
export declare const DIVIDER_DEFAULT_PREFIX = "divider";
|
|
3
|
-
export declare const DIVIDER_TYPE: {
|
|
4
|
-
readonly horizontal: "horizontal";
|
|
5
|
-
readonly vertical: "vertical";
|
|
6
|
-
};
|
|
7
|
-
export declare const DIVIDER_TYPES: readonly ["horizontal", "vertical"];
|
|
8
|
-
export declare const DIVIDER_ORIENTATION: {
|
|
9
|
-
readonly left: "left";
|
|
10
|
-
readonly center: "center";
|
|
11
|
-
readonly right: "right";
|
|
12
|
-
};
|
|
13
|
-
export declare const DIVIDER_ORIENTATIONS: readonly ["left", "center", "right"];
|
|
14
|
-
export declare const DIVIDER_VARIANT: {
|
|
15
|
-
readonly solid: "solid";
|
|
16
|
-
readonly dashed: "dashed";
|
|
17
|
-
readonly dotted: "dotted";
|
|
18
|
-
};
|
|
19
|
-
export declare const DIVIDER_VARIANTS: readonly ["solid", "dashed", "dotted"];
|
|
20
|
-
export declare const DIVIDER_DEFAULTS: {
|
|
21
|
-
readonly type: "horizontal";
|
|
22
|
-
readonly orientation: "center";
|
|
23
|
-
readonly variant: "solid";
|
|
24
|
-
};
|
|
25
|
-
export declare const DIVIDER_MODIFIER: {
|
|
26
|
-
readonly withText: "with-text";
|
|
27
|
-
readonly plain: "plain";
|
|
28
|
-
readonly noDefaultMargin: "no-default-margin";
|
|
29
|
-
};
|
|
30
|
-
export declare const DIVIDER_SLOT: {
|
|
31
|
-
readonly innerText: "inner-text";
|
|
32
|
-
};
|
|
33
|
-
export declare const DIVIDER_ORIENTATION_MARGIN_PROPERTY: Partial<Record<DividerOrientation, string>>;
|
|
34
|
-
export type DividerType = (typeof DIVIDER_TYPES)[number];
|
|
35
|
-
export type DividerOrientation = (typeof DIVIDER_ORIENTATIONS)[number];
|
|
36
|
-
export type DividerVariant = (typeof DIVIDER_VARIANTS)[number];
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
export var DIVIDER_COMPONENT_NAME = 'Divider';
|
|
3
|
-
export var DIVIDER_DEFAULT_PREFIX = 'divider';
|
|
4
|
-
// ── Type ────────────────────────────────────────────────────────────────────
|
|
5
|
-
export var DIVIDER_TYPE = {
|
|
6
|
-
horizontal: 'horizontal',
|
|
7
|
-
vertical: 'vertical'
|
|
8
|
-
};
|
|
9
|
-
export var DIVIDER_TYPES = [DIVIDER_TYPE.horizontal, DIVIDER_TYPE.vertical];
|
|
10
|
-
// ── Orientation ─────────────────────────────────────────────────────────────
|
|
11
|
-
export var DIVIDER_ORIENTATION = {
|
|
12
|
-
left: 'left',
|
|
13
|
-
center: 'center',
|
|
14
|
-
right: 'right'
|
|
15
|
-
};
|
|
16
|
-
export var DIVIDER_ORIENTATIONS = [DIVIDER_ORIENTATION.left, DIVIDER_ORIENTATION.center, DIVIDER_ORIENTATION.right];
|
|
17
|
-
// ── Variant ─────────────────────────────────────────────────────────────────
|
|
18
|
-
export var DIVIDER_VARIANT = {
|
|
19
|
-
solid: 'solid',
|
|
20
|
-
dashed: 'dashed',
|
|
21
|
-
dotted: 'dotted'
|
|
22
|
-
};
|
|
23
|
-
export var DIVIDER_VARIANTS = [DIVIDER_VARIANT.solid, DIVIDER_VARIANT.dashed, DIVIDER_VARIANT.dotted];
|
|
24
|
-
// ── Defaults ────────────────────────────────────────────────────────────────
|
|
25
|
-
export var DIVIDER_DEFAULTS = {
|
|
26
|
-
type: DIVIDER_TYPE.horizontal,
|
|
27
|
-
orientation: DIVIDER_ORIENTATION.center,
|
|
28
|
-
variant: DIVIDER_VARIANT.solid
|
|
29
|
-
};
|
|
30
|
-
// ── BEM Modifiers & Slots ───────────────────────────────────────────────────
|
|
31
|
-
export var DIVIDER_MODIFIER = {
|
|
32
|
-
withText: 'with-text',
|
|
33
|
-
plain: 'plain',
|
|
34
|
-
noDefaultMargin: 'no-default-margin'
|
|
35
|
-
};
|
|
36
|
-
export var DIVIDER_SLOT = {
|
|
37
|
-
innerText: 'inner-text'
|
|
38
|
-
};
|
|
39
|
-
// ── Orientation → margin CSS property mapping ───────────────────────────────
|
|
40
|
-
export var DIVIDER_ORIENTATION_MARGIN_PROPERTY = _defineProperty(_defineProperty({}, DIVIDER_ORIENTATION.left, 'marginInlineStart'), DIVIDER_ORIENTATION.right, 'marginInlineEnd');
|
|
41
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRGl2aWRlci9jb25zdGFudHMudHMiLCJjb21wb25lbnRzL0RpdmlkZXIvY29uc3RhbnRzLmpzIl0sIm5hbWVzIjpbIkRJVklERVJfQ09NUE9ORU5UX05BTUUiLCJESVZJREVSX0RFRkFVTFRfUFJFRklYIiwiRElWSURFUl9UWVBFIiwiaG9yaXpvbnRhbCIsInZlcnRpY2FsIiwiRElWSURFUl9UWVBFUyIsIkRJVklERVJfT1JJRU5UQVRJT04iLCJsZWZ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-
import Divider from './Divider';
|
|
2
|
-
export { Divider };
|
|
3
|
-
export default Divider;
|
|
4
|
-
export * from './interface';
|
|
5
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRGl2aWRlci9pbmRleC50cyJdLCJuYW1lcyI6WyJEaXZpZGVyIl0sIm1hcHBpbmdzIjoiQUFBQSxPQUFPQSxPQUFPLE1BQU0sV0FBVztBQUUvQixTQUFTQSxPQUFPO0FBQ2hCLGVBQWVBLE9BQU87QUFDdEIsY0FBYyxhQUFhIiwiZmlsZSI6ImNvbXBvbmVudHMvRGl2aWRlci9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import type { DividerOrientation, DividerType, DividerVariant } from './constants';
|
|
3
|
-
export type { DividerOrientation, DividerType, DividerVariant } from './constants';
|
|
4
|
-
export interface DividerProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
/** Direction type of the divider */
|
|
6
|
-
type?: DividerType;
|
|
7
|
-
/** Position of the title inside the divider */
|
|
8
|
-
orientation?: DividerOrientation;
|
|
9
|
-
/** Margin between the title and the closest border (px or percentage) */
|
|
10
|
-
orientationMargin?: string | number;
|
|
11
|
-
/** Whether the divider text is displayed in plain style (no bold/special styling) */
|
|
12
|
-
plain?: boolean;
|
|
13
|
-
/** Border style variant */
|
|
14
|
-
variant?: DividerVariant;
|
|
15
|
-
/** Custom class prefix */
|
|
16
|
-
prefixCls?: string;
|
|
17
|
-
/** Inner content rendered between the divider lines */
|
|
18
|
-
children?: ReactNode;
|
|
19
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy9EaXZpZGVyL2ludGVyZmFjZS5qcyIsIm5hbWVzIjpbXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9EaXZpZGVyL2ludGVyZmFjZS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQge307Il0sIm1hcHBpbmdzIjoiQUFBQSIsImlnbm9yZUxpc3QiOltdfQ==
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.om-component-ui-divider{border-block-start:0;border-block-end:0;border-inline-start:0;border-inline-end:0;border-color:var(--om-border-default,#d1d2d2)}.om-component-ui-divider-horizontal{display:flex;align-items:center;clear:both;width:100%;min-width:100%;margin:var(--om-spacing-300,12px) 0;border-block-start:1px solid var(--om-border-default,#d1d2d2)}.om-component-ui-divider-horizontal.om-component-ui-divider-with-text{margin:var(--om-spacing-200,8px) 0;border-block-start:0;white-space:nowrap;text-align:center}.om-component-ui-divider-horizontal.om-component-ui-divider-with-text:after,.om-component-ui-divider-horizontal.om-component-ui-divider-with-text:before{position:relative;width:50%;border-block-start:1px solid transparent;border-block-start-color:inherit;border-block-end:0;transform:translateY(50%);content:""}.om-component-ui-divider-horizontal.om-component-ui-divider-with-text-left:before{width:5%}.om-component-ui-divider-horizontal.om-component-ui-divider-with-text-left:after,.om-component-ui-divider-horizontal.om-component-ui-divider-with-text-right:before{width:95%}.om-component-ui-divider-horizontal.om-component-ui-divider-with-text-right:after{width:5%}.om-component-ui-divider-horizontal.om-component-ui-divider-no-default-margin.om-component-ui-divider-with-text-left:before{width:0}.om-component-ui-divider-horizontal.om-component-ui-divider-no-default-margin.om-component-ui-divider-with-text-left:after,.om-component-ui-divider-horizontal.om-component-ui-divider-no-default-margin.om-component-ui-divider-with-text-right:before{width:100%}.om-component-ui-divider-horizontal.om-component-ui-divider-no-default-margin.om-component-ui-divider-with-text-right:after{width:0}.om-component-ui-divider-vertical{position:relative;display:inline-block;height:.9em;margin:0 var(--om-spacing-100,4px);vertical-align:middle;border-inline-start:1px solid var(--om-border-default,#d1d2d2)}.om-component-ui-divider-inner-text{display:inline-block;padding:0 var(--om-spacing-200,8px);color:var(--om-text-default,#131313);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-font-weight)}.om-component-ui-divider-plain .om-component-ui-divider-inner-text{font-weight:400}.om-component-ui-divider-dashed{background:none;border-style:dashed;border-width:1px 0 0}.om-component-ui-divider-dashed.om-component-ui-divider-with-text{border-style:unset}.om-component-ui-divider-dashed.om-component-ui-divider-with-text:after,.om-component-ui-divider-dashed.om-component-ui-divider-with-text:before{border-style:dashed none none}.om-component-ui-divider-dashed.om-component-ui-divider-vertical{border-inline-start-style:dashed;border-width:0 0 0 1px}.om-component-ui-divider-dotted{background:none;border-style:dotted;border-width:1px 0 0}.om-component-ui-divider-dotted.om-component-ui-divider-with-text{border-style:unset}.om-component-ui-divider-dotted.om-component-ui-divider-with-text:after,.om-component-ui-divider-dotted.om-component-ui-divider-with-text:before{border-style:dotted none none}.om-component-ui-divider-dotted.om-component-ui-divider-vertical{border-inline-start-style:dotted;border-width:0 0 0 1px}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import './Divider.css';
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvRGl2aWRlci9zcmMvY29tcG9uZW50cy9EaXZpZGVyL3N0eWxlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sZ0JBQWdCIiwiZmlsZSI6ImNvbXBvbmVudHMvRGl2aWRlci9zdHlsZS9jc3MuanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './Divider.css';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import './Divider.css';
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvRGl2aWRlci9zcmMvY29tcG9uZW50cy9EaXZpZGVyL3N0eWxlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sZ0JBQWdCIiwiZmlsZSI6ImNvbXBvbmVudHMvRGl2aWRlci9zdHlsZS9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
6
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { useEventCallback } from '@1money/hooks';
|
|
12
|
-
import { forwardRef, memo, useRef } from 'react';
|
|
13
|
-
import { Icons } from '../Icons';
|
|
14
|
-
import { Portal } from '../Portal';
|
|
15
|
-
import { TypographyTitle } from '../Typography';
|
|
16
|
-
import classnames, { joinCls } from '../../utils/classnames';
|
|
17
|
-
import { useComposeRef } from '../../utils/ref';
|
|
18
|
-
import './style';
|
|
19
|
-
import { DRAWER_DEFAULTS, DRAWER_HORIZONTAL_PLACEMENTS, DRAWER_TITLE_COLOR, DRAWER_TITLE_SIZE } from './constants';
|
|
20
|
-
import { useBodyScrollLock, useDialogFocus, useDrawerTransition, useEscapeClose } from './hooks';
|
|
21
|
-
var renderControlButton = function renderControlButton(_ref) {
|
|
22
|
-
var classes = _ref.classes,
|
|
23
|
-
type = _ref.type,
|
|
24
|
-
label = _ref.label,
|
|
25
|
-
icon = _ref.icon,
|
|
26
|
-
onClick = _ref.onClick;
|
|
27
|
-
return _jsx("button", {
|
|
28
|
-
type: "button",
|
|
29
|
-
className: joinCls(classes('control'), classes("control-".concat(type))),
|
|
30
|
-
"aria-label": label,
|
|
31
|
-
onClick: onClick,
|
|
32
|
-
children: icon
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
|
-
var DrawerBase = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
36
|
-
var className = props.className,
|
|
37
|
-
style = props.style,
|
|
38
|
-
_props$prefixCls = props.prefixCls,
|
|
39
|
-
prefixCls = _props$prefixCls === void 0 ? 'drawer' : _props$prefixCls,
|
|
40
|
-
_props$open = props.open,
|
|
41
|
-
open = _props$open === void 0 ? false : _props$open,
|
|
42
|
-
_props$placement = props.placement,
|
|
43
|
-
placement = _props$placement === void 0 ? DRAWER_DEFAULTS.placement : _props$placement,
|
|
44
|
-
_props$width = props.width,
|
|
45
|
-
width = _props$width === void 0 ? DRAWER_DEFAULTS.width : _props$width,
|
|
46
|
-
_props$height = props.height,
|
|
47
|
-
height = _props$height === void 0 ? DRAWER_DEFAULTS.height : _props$height,
|
|
48
|
-
title = props.title,
|
|
49
|
-
footer = props.footer,
|
|
50
|
-
_props$maskClosable = props.maskClosable,
|
|
51
|
-
maskClosable = _props$maskClosable === void 0 ? true : _props$maskClosable,
|
|
52
|
-
_props$showCloseIcon = props.showCloseIcon,
|
|
53
|
-
showCloseIcon = _props$showCloseIcon === void 0 ? true : _props$showCloseIcon,
|
|
54
|
-
_props$showBackIcon = props.showBackIcon,
|
|
55
|
-
showBackIcon = _props$showBackIcon === void 0 ? false : _props$showBackIcon,
|
|
56
|
-
closeIcon = props.closeIcon,
|
|
57
|
-
backIcon = props.backIcon,
|
|
58
|
-
children = props.children,
|
|
59
|
-
onClose = props.onClose,
|
|
60
|
-
onBack = props.onBack,
|
|
61
|
-
rootStyle = props.rootStyle,
|
|
62
|
-
wrapperStyle = props.wrapperStyle,
|
|
63
|
-
headerStyle = props.headerStyle,
|
|
64
|
-
bodyStyle = props.bodyStyle,
|
|
65
|
-
footerStyle = props.footerStyle,
|
|
66
|
-
rest = __rest(props, ["className", "style", "prefixCls", "open", "placement", "width", "height", "title", "footer", "maskClosable", "showCloseIcon", "showBackIcon", "closeIcon", "backIcon", "children", "onClose", "onBack", "rootStyle", "wrapperStyle", "headerStyle", "bodyStyle", "footerStyle"]);
|
|
67
|
-
var classes = classnames(prefixCls);
|
|
68
|
-
var drawerRef = useRef(null);
|
|
69
|
-
var mergedRef = useComposeRef(ref, drawerRef);
|
|
70
|
-
var _useDrawerTransition = useDrawerTransition(open, DRAWER_DEFAULTS.closeTimeoutMs),
|
|
71
|
-
mounted = _useDrawerTransition.mounted,
|
|
72
|
-
isVisible = _useDrawerTransition.open;
|
|
73
|
-
var hasHeader = title != null || showCloseIcon || showBackIcon;
|
|
74
|
-
var isHorizontal = DRAWER_HORIZONTAL_PLACEMENTS.has(placement);
|
|
75
|
-
var drawerLabel = typeof title === 'string' ? title : undefined;
|
|
76
|
-
var panelStyle = Object.assign(Object.assign(_defineProperty({}, isHorizontal ? 'width' : 'height', isHorizontal ? width : height), wrapperStyle), style);
|
|
77
|
-
var handleClose = useEventCallback(function () {
|
|
78
|
-
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
79
|
-
});
|
|
80
|
-
var handleBack = useEventCallback(function () {
|
|
81
|
-
onBack === null || onBack === void 0 ? void 0 : onBack();
|
|
82
|
-
});
|
|
83
|
-
var handleOverlayClick = useEventCallback(function () {
|
|
84
|
-
if (!maskClosable) return;
|
|
85
|
-
handleClose();
|
|
86
|
-
});
|
|
87
|
-
useBodyScrollLock(mounted && open);
|
|
88
|
-
useDialogFocus(mounted && open, drawerRef);
|
|
89
|
-
useEscapeClose(mounted && open, handleClose);
|
|
90
|
-
if (!mounted) return null;
|
|
91
|
-
return _jsx(Portal, {
|
|
92
|
-
children: _jsxs("div", {
|
|
93
|
-
style: rootStyle,
|
|
94
|
-
className: joinCls(classes('root'), isVisible ? classes('root-open') : classes('root-closed')),
|
|
95
|
-
children: [_jsx("div", {
|
|
96
|
-
"aria-hidden": "true",
|
|
97
|
-
className: classes('overlay'),
|
|
98
|
-
onClick: handleOverlayClick
|
|
99
|
-
}), _jsxs("div", Object.assign({}, rest, {
|
|
100
|
-
ref: mergedRef,
|
|
101
|
-
role: "dialog",
|
|
102
|
-
"aria-modal": "true",
|
|
103
|
-
"aria-label": drawerLabel,
|
|
104
|
-
tabIndex: -1,
|
|
105
|
-
style: panelStyle,
|
|
106
|
-
className: joinCls(classes(), classes(placement), className),
|
|
107
|
-
children: [hasHeader && _jsxs("div", {
|
|
108
|
-
style: headerStyle,
|
|
109
|
-
className: classes('header'),
|
|
110
|
-
children: [_jsxs("div", {
|
|
111
|
-
className: classes('header-main'),
|
|
112
|
-
children: [showBackIcon && renderControlButton({
|
|
113
|
-
classes: classes,
|
|
114
|
-
type: 'back',
|
|
115
|
-
label: 'Go back',
|
|
116
|
-
icon: backIcon !== null && backIcon !== void 0 ? backIcon : _jsx(Icons, {
|
|
117
|
-
name: "arrowLeft",
|
|
118
|
-
size: DRAWER_DEFAULTS.controlIconSize
|
|
119
|
-
}),
|
|
120
|
-
onClick: handleBack
|
|
121
|
-
}), title != null && _jsx(TypographyTitle, {
|
|
122
|
-
className: classes('title'),
|
|
123
|
-
size: DRAWER_TITLE_SIZE,
|
|
124
|
-
strong: true,
|
|
125
|
-
color: DRAWER_TITLE_COLOR,
|
|
126
|
-
children: title
|
|
127
|
-
})]
|
|
128
|
-
}), showCloseIcon && renderControlButton({
|
|
129
|
-
classes: classes,
|
|
130
|
-
type: 'close',
|
|
131
|
-
label: 'Close drawer',
|
|
132
|
-
icon: closeIcon !== null && closeIcon !== void 0 ? closeIcon : _jsx(Icons, {
|
|
133
|
-
name: "cross",
|
|
134
|
-
size: DRAWER_DEFAULTS.controlIconSize
|
|
135
|
-
}),
|
|
136
|
-
onClick: handleClose
|
|
137
|
-
})]
|
|
138
|
-
}), _jsx("div", {
|
|
139
|
-
style: bodyStyle,
|
|
140
|
-
className: classes('body'),
|
|
141
|
-
children: children
|
|
142
|
-
}), footer != null && _jsx("div", {
|
|
143
|
-
style: footerStyle,
|
|
144
|
-
className: classes('footer'),
|
|
145
|
-
children: footer
|
|
146
|
-
})]
|
|
147
|
-
}))]
|
|
148
|
-
})
|
|
149
|
-
});
|
|
150
|
-
});
|
|
151
|
-
DrawerBase.displayName = 'Drawer';
|
|
152
|
-
export var Drawer = /*#__PURE__*/memo(DrawerBase);
|
|
153
|
-
Drawer.displayName = 'Drawer';
|
|
154
|
-
export default Drawer;
|
|
155
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvRHJhd2VyL0RyYXdlci5qcyIsImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRHJhd2VyL0RyYXdlci50c3giXSwibmFtZXMiOlsiX19yZXN0IiwicyIsImUiLCJ0IiwicCIsIk9iamVjdCIsInByb3RvdHlwZSIsImhhc093blByb3BlcnR5IiwiY2FsbCIsImluZGV4T2YiLCJnZXRPd25Qcm9wZXJ0eVN5bWJvbHMiLCJpIiwibGVuZ3RoIiwicHJvcGVydHlJc0VudW1lcmFibGUiL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ICAgICAgIGNsYXNzZXMsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdiYWNrJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGFiZWw6ICdHbyBiYWNrJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogYmFja0ljb24gIT09IG51bGwgJiYgYmFja0ljb24gIT09IHZvaWQgMCA/IGJhY2tJY29uIDogX2pzeChJY29ucywgeyBuYW1lOiBcImFycm93TGVmdFwiLCBzaXplOiBEUkFXRVJfREVGQVVMVFMuY29udHJvbEljb25TaXplIH0pLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNsaWNrOiBoYW5kbGVCYWNrLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pLCB0aXRsZSAhPSBudWxsICYmIF9qc3goVHlwb2dyYXBoeVRpdGxlLCB7IGNsYXNzTmFtZTogY2xhc3NlcygndGl0bGUnKSwgc2l6ZTogRFJBV0VSX1RJVExFX1NJWkUsIHN0cm9uZzogdHJ1ZSwgY29sb3I6IERSQVdFUl9USVRMRV9DT0xPUiwgY2hpbGRyZW46IHRpdGxlIH0pXSB9KSwgc2hvd0Nsb3NlSWNvbiAmJiByZW5kZXJDb250cm9sQnV0dG9uKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzZXMsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnY2xvc2UnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGFiZWw6ICdDbG9zZSBkcmF3ZXInLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogY2xvc2VJY29uICE9PSBudWxsICYmIGNsb3NlSWNvbiAhPT0gdm9pZCAwID8gY2xvc2VJY29uIDogX2pzeChJY29ucywgeyBuYW1lOiBcImNyb3NzXCIsIHNpemU6IERSQVdFUl9ERUZBVUxUUy5jb250cm9sSWNvblNpemUgfSksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNsaWNrOiBoYW5kbGVDbG9zZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSldIH0pKSwgX2pzeChcImRpdlwiLCB7IHN0eWxlOiBib2R5U3R5bGUsIGNsYXNzTmFtZTogY2xhc3NlcygnYm9keScpLCBjaGlsZHJlbjogY2hpbGRyZW4gfSksIGZvb3RlciAhPSBudWxsICYmIChfanN4KFwiZGl2XCIsIHsgc3R5bGU6IGZvb3RlclN0eWxlLCBjbGFzc05hbWU6IGNsYXNzZXMoJ2Zvb3RlcicpLCBjaGlsZHJlbjogZm9vdGVyIH0pKV0gfSkpXSB9KSB9KSk7XG59KTtcbkRyYXdlckJhc2UuZGlzcGxheU5hbWUgPSAnRHJhd2VyJztcbmV4cG9ydCBjb25zdCBEcmF3ZXIgPSBtZW1vKERyYXdlckJhc2UpO1xuRHJhd2VyLmRpc3BsYXlOYW1lID0gJ0RyYXdlcic7XG5leHBvcnQgZGVmYXVsdCBEcmF3ZXI7IixudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { TypographyColor, TypographyTitleSize } from "../Typography";
|
|
2
|
-
export declare const DRAWER_PLACEMENTS: readonly ["top", "right", "bottom", "left"];
|
|
3
|
-
export declare const DRAWER_HORIZONTAL_PLACEMENTS: ReadonlySet<(typeof DRAWER_PLACEMENTS)[number]>;
|
|
4
|
-
export declare const DRAWER_PHASES: {
|
|
5
|
-
readonly closed: "closed";
|
|
6
|
-
readonly opening: "opening";
|
|
7
|
-
readonly open: "open";
|
|
8
|
-
readonly closing: "closing";
|
|
9
|
-
};
|
|
10
|
-
export declare const DRAWER_DEFAULTS: {
|
|
11
|
-
readonly closeTimeoutMs: 300;
|
|
12
|
-
readonly controlIconSize: 20;
|
|
13
|
-
readonly width: 360;
|
|
14
|
-
readonly height: 360;
|
|
15
|
-
readonly placement: "right";
|
|
16
|
-
};
|
|
17
|
-
export declare const DRAWER_TITLE_SIZE: TypographyTitleSize;
|
|
18
|
-
export declare const DRAWER_TITLE_COLOR: TypographyColor;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export var DRAWER_PLACEMENTS = ['top', 'right', 'bottom', 'left'];
|
|
2
|
-
export var DRAWER_HORIZONTAL_PLACEMENTS = new Set(['left', 'right']);
|
|
3
|
-
export var DRAWER_PHASES = {
|
|
4
|
-
closed: 'closed',
|
|
5
|
-
opening: 'opening',
|
|
6
|
-
open: 'open',
|
|
7
|
-
closing: 'closing'
|
|
8
|
-
};
|
|
9
|
-
export var DRAWER_DEFAULTS = {
|
|
10
|
-
closeTimeoutMs: 300,
|
|
11
|
-
controlIconSize: 20,
|
|
12
|
-
width: 360,
|
|
13
|
-
height: 360,
|
|
14
|
-
placement: 'right'
|
|
15
|
-
};
|
|
16
|
-
// ── Typography ──
|
|
17
|
-
export var DRAWER_TITLE_SIZE = 'lg';
|
|
18
|
-
export var DRAWER_TITLE_COLOR = 'default';
|
|
19
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRHJhd2VyL2NvbnN0YW50cy50cyIsImNvbXBvbmVudHMvRHJhd2VyL2NvbnN0YW50cy5qcyJdLCJuYW1lcyI6WyJEUkFXRVJfUExBQ0VNRU5UUyIsIkRSQVdFUl9IT1JJWk9OVEFMX1BMQUNFTUVOVFMiLCJTZXQiLCJEUkFXRVJfUEhBU0VTIiwiY2xvc2VkIiwib3BlbmluZyIsIm9wZW4iLCJjbG9zaW5nIiwiRFJBV0VSX0RFRkFVTFRTIiwiY2xvc2VUaW1lb3V0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Sk7XG5leHBvcnQgY29uc3QgRFJBV0VSX1BIQVNFUyA9IHtcbiAgICBjbG9zZWQ6ICdjbG9zZWQnLFxuICAgIG9wZW5pbmc6ICdvcGVuaW5nJyxcbiAgICBvcGVuOiAnb3BlbicsXG4gICAgY2xvc2luZzogJ2Nsb3NpbmcnLFxufTtcbmV4cG9ydCBjb25zdCBEUkFXRVJfREVGQVVMVFMgPSB7XG4gICAgY2xvc2VUaW1lb3V0TXM6IDMwMCxcbiAgICBjb250cm9sSWNvblNpemU6IDIwLFxuICAgIHdpZHRoOiAzNjAsXG4gICAgaGVpZ2h0OiAzNjAsXG4gICAgcGxhY2VtZW50OiAncmlnaHQnLFxufTtcbi8vIOKUgOKUgCBUeXBvZ3JhcGh5IOKUgOKUgFxuZXhwb3J0IGNvbnN0IERSQVdFUl9USVRMRV9TSVpFID0gJ2xnJztcbmV4cG9ydCBjb25zdCBEUkFXRVJfVElUTEVfQ09MT1IgPSAnZGVmYXVsdCc7Il0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { useBodyScrollLock } from './useBodyScrollLock';
|
|
2
|
-
export { useDialogFocus } from './useDialogFocus';
|
|
3
|
-
export { useDrawerTransition } from './useDrawerTransition';
|
|
4
|
-
export { useEscapeClose } from './useEscapeClose';
|
|
5
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvRHJhd2VyL3NyYy9jb21wb25lbnRzL0RyYXdlci9ob29rcy9pbmRleC50cyJdLCJuYW1lcyI6WyJ1c2VCb2R5U2Nyb2xsTG9jayIsInVzZURpYWxvZ0ZvY3VzIiwidXNlRHJhd2VyVHJhbnNpdGlvbiIsInVzZUVzY2FwZUNsb3NlIl0sIm1hcHBpbmdzIjoiQUFBQSxTQUFTQSxpQkFBaUIsUUFBUSxxQkFBcUI7QUFDdkQsU0FBU0MsY0FBYyxRQUFRLGtCQUFrQjtBQUNqRCxTQUFTQyxtQkFBbUIsUUFBUSx1QkFBdUI7QUFDM0QsU0FBU0MsY0FBYyxRQUFRLGtCQUFrQiIsImZpbGUiOiJjb21wb25lbnRzL0RyYXdlci9ob29rcy9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useBodyScrollLock: (locked: boolean) => void;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { useEffect } from 'react';
|
|
2
|
-
var scrollLockCount = 0;
|
|
3
|
-
var setBodyOverflow = function setBodyOverflow(value) {
|
|
4
|
-
if (typeof document === 'undefined') return;
|
|
5
|
-
document.body.style.overflow = value;
|
|
6
|
-
};
|
|
7
|
-
var lockBodyScroll = function lockBodyScroll() {
|
|
8
|
-
scrollLockCount += 1;
|
|
9
|
-
setBodyOverflow('hidden');
|
|
10
|
-
};
|
|
11
|
-
var unlockBodyScroll = function unlockBodyScroll() {
|
|
12
|
-
scrollLockCount = Math.max(0, scrollLockCount - 1);
|
|
13
|
-
if (scrollLockCount !== 0) return;
|
|
14
|
-
window.requestAnimationFrame(function () {
|
|
15
|
-
if (scrollLockCount === 0) {
|
|
16
|
-
setBodyOverflow('');
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
export var useBodyScrollLock = function useBodyScrollLock(locked) {
|
|
21
|
-
useEffect(function () {
|
|
22
|
-
if (!locked) return undefined;
|
|
23
|
-
lockBodyScroll();
|
|
24
|
-
return function () {
|
|
25
|
-
unlockBodyScroll();
|
|
26
|
-
};
|
|
27
|
-
}, [locked]);
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb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QUFDQyxxQkFBcUIsQ0FBQyxZQUFLO0lBQ2hDLElBQUlaLGVBQWUsS0FBSyxDQUFDLEVBQUU7TUFDekJDLGVBQWUsQ0FBQyxFQUFFLENBQUM7SUFDckI7RUFDRixDQUFDLENBQUM7QUFDSixDQUFDO0FBRUQsT0FBTyxJQUFNWSxpQkFBaUIsR0FBRyxTQUFwQkEsaUJBQWlCQSxDQUFJQyxNQUFlLEVBQUk7RUFDbkRmLFNBQVMsQ0FBQyxZQUFLO0lBQ2IsSUFBSSxDQUFDZSxNQUFNLEVBQUUsT0FBT0MsU0FBUztJQUU3QlIsY0FBYyxDQUFBLENBQUU7SUFFaEIsT0FBTyxZQUFLO01BQ1ZDLGdCQUFnQixDQUFBLENBQUU7SUFDcEIsQ0FBQztFQUNILENBQUMsRUFBRSxDQUFDTSxNQUFNLENBQUMsQ0FBQztBQUNkLENBQUMiLCJmaWxlIjoiY29tcG9uZW50cy9EcmF3ZXIvaG9va3MvdXNlQm9keVNjcm9sbExvY2suanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { useEffect, useRef } from 'react';
|
|
2
|
-
export var useDialogFocus = function useDialogFocus(active, dialogRef) {
|
|
3
|
-
var previousActiveElementRef = useRef(null);
|
|
4
|
-
useEffect(function () {
|
|
5
|
-
if (!active || typeof document === 'undefined') return undefined;
|
|
6
|
-
previousActiveElementRef.current = document.activeElement instanceof HTMLElement ? document.activeElement : null;
|
|
7
|
-
var frame = window.requestAnimationFrame(function () {
|
|
8
|
-
var _a;
|
|
9
|
-
(_a = dialogRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
10
|
-
});
|
|
11
|
-
return function () {
|
|
12
|
-
window.cancelAnimationFrame(frame);
|
|
13
|
-
};
|
|
14
|
-
}, [active, dialogRef]);
|
|
15
|
-
useEffect(function () {
|
|
16
|
-
var _a, _b;
|
|
17
|
-
if (active) return;
|
|
18
|
-
(_b = (_a = previousActiveElementRef.current) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
19
|
-
previousActiveElementRef.current = null;
|
|
20
|
-
}, [active]);
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvRHJhd2VyL3NyYy9jb21wb25lbnRzL0RyYXdlci9ob29rcy91c2VEaWFsb2dGb2N1cy50cyIsImNvbXBvbmVudHMvRHJhd2VyL2hvb2tzL3VzZURpYWxvZ0ZvY3VzLmpzIl0sIm5hbWVzIjpbInVzZUVmZmVjdCIsInVzZVJlZiIsInVzZURpYWxvZ0ZvY3VzIiwiYWN0aXZlIiwiZGlhbG9nUmVmIiwicHJldmlvdXNBY3RpdmVFbGVtZW50UmVmIiwiZG9jdW1lbnQiLCJ1bmRlZmluZWQiLCJjdXJyZW50IiwiYWN0aXZlRWxlbWVudCIsIkhUTUxFbGVtZW50IiwiZnJhbWUiLCJ3aW5kb3ciLCJyZXF1ZXN0QW5pbWF0aW9uRnJhbWUiLCJfYSIsImZvY3VzIiwiY2FuY2VsQW5pbWF0aW9uRnJhbWUiLCJfYiIsImNhbGwiXSwibWFwcGluZ3MiOiJBQUFBLFNBQVNBLFNBQVMsRUFBRUMsTUFBTSxRQUFRLE9BQU87QUFHekMsT0FBTyxJQUFNQyxjQUFjLEdBQUcsU0FBakJBLGNBQWNBLENBQ3pCQyxNQUFlLEVBQ2ZDLFNBQTJDLEVBQ3pDO0VBQ0YsSUFBTUMsd0JBQXdCLEdBQUdKLE1BQU0sQ0FBcUIsSUFBSSxDQUFDO0VBRWpFRCxTQUFTLENBQUMsWUFBSztJQUNiLElBQUksQ0FBQ0csTUFBTSxJQUFJLE9BQU9HLFFBQVEsS0FBSyxXQUFXLEVBQUUsT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IF9iO1xuICAgICAgICBpZiAoYWN0aXZlKVxuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAoX2IgPSAoX2EgPSBwcmV2aW91c0FjdGl2ZUVsZW1lbnRSZWYuY3VycmVudCkgPT09IG51bGwgfHwgX2EgPT09IHZvaWQgMCA/IHZvaWQgMCA6IF9hLmZvY3VzKSA9PT0gbnVsbCB8fCBfYiA9PT0gdm9pZCAwID8gdm9pZCAwIDogX2IuY2FsbChfYSk7XG4gICAgICAgIHByZXZpb3VzQWN0aXZlRWxlbWVudFJlZi5jdXJyZW50ID0gbnVsbDtcbiAgICB9LCBbYWN0aXZlXSk7XG59OyJdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
2
|
-
import { useEffect, useRef, useState } from 'react';
|
|
3
|
-
import { DRAWER_PHASES } from '../constants';
|
|
4
|
-
var clearTimer = function clearTimer(timerRef) {
|
|
5
|
-
if (timerRef.current === null) return;
|
|
6
|
-
window.clearTimeout(timerRef.current);
|
|
7
|
-
timerRef.current = null;
|
|
8
|
-
};
|
|
9
|
-
var clearFrame = function clearFrame(frameRef) {
|
|
10
|
-
if (frameRef.current === null) return;
|
|
11
|
-
window.cancelAnimationFrame(frameRef.current);
|
|
12
|
-
frameRef.current = null;
|
|
13
|
-
};
|
|
14
|
-
export var useDrawerTransition = function useDrawerTransition(open, closeDelay) {
|
|
15
|
-
var _useState = useState(open ? DRAWER_PHASES.open : DRAWER_PHASES.closed),
|
|
16
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
17
|
-
phase = _useState2[0],
|
|
18
|
-
setPhase = _useState2[1];
|
|
19
|
-
var closeTimerRef = useRef(null);
|
|
20
|
-
var openFrameRef = useRef(null);
|
|
21
|
-
useEffect(function () {
|
|
22
|
-
return function () {
|
|
23
|
-
clearTimer(closeTimerRef);
|
|
24
|
-
clearFrame(openFrameRef);
|
|
25
|
-
};
|
|
26
|
-
}, []);
|
|
27
|
-
useEffect(function () {
|
|
28
|
-
if (open) {
|
|
29
|
-
clearTimer(closeTimerRef);
|
|
30
|
-
if (phase === DRAWER_PHASES.open || phase === DRAWER_PHASES.opening) return;
|
|
31
|
-
setPhase(DRAWER_PHASES.opening);
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
if (phase === DRAWER_PHASES.closed || phase === DRAWER_PHASES.closing) return;
|
|
35
|
-
clearFrame(openFrameRef);
|
|
36
|
-
setPhase(DRAWER_PHASES.closing);
|
|
37
|
-
closeTimerRef.current = window.setTimeout(function () {
|
|
38
|
-
setPhase(DRAWER_PHASES.closed);
|
|
39
|
-
closeTimerRef.current = null;
|
|
40
|
-
}, closeDelay);
|
|
41
|
-
}, [closeDelay, open, phase]);
|
|
42
|
-
useEffect(function () {
|
|
43
|
-
if (phase !== DRAWER_PHASES.opening) return undefined;
|
|
44
|
-
openFrameRef.current = window.requestAnimationFrame(function () {
|
|
45
|
-
setPhase(DRAWER_PHASES.open);
|
|
46
|
-
openFrameRef.current = null;
|
|
47
|
-
});
|
|
48
|
-
return function () {
|
|
49
|
-
clearFrame(openFrameRef);
|
|
50
|
-
};
|
|
51
|
-
}, [phase]);
|
|
52
|
-
return {
|
|
53
|
-
mounted: phase !== DRAWER_PHASES.closed,
|
|
54
|
-
open: phase === DRAWER_PHASES.open
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvRHJhd2VyL3NyYy9jb21wb25lbnRzL0RyYXdlci9ob29rcy91c2VEcmF3ZXJUcmFuc2l0aW9uLnRzIiwiY29tcG9uZW50cy9EcmF3ZXIvaG9va3MvdXNlRHJhd2VyVHJhbnNpdGlvbi5qcyJdLCJuYW1lcyI6WyJ1c2V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