@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,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.resolveDefaultVariantLabelPlacement = exports.normalizeRadioAlignment = exports.getRadioOrientationFromAlignment = exports.getRadioAlignmentFromOrientation = exports.RADIO_VARIANT_DEFAULT = exports.RADIO_VARIANT_CELL = exports.RADIO_VARIANTS = exports.RADIO_TAG_SIZE = exports.RADIO_SIZE_SMALL = exports.RADIO_SIZE_MEDIUM = exports.RADIO_SIZE_LARGE = exports.RADIO_SIZES = exports.RADIO_PREFIX_CLS = exports.RADIO_ORIENTATION_VERTICAL = exports.RADIO_ORIENTATION_HORIZONTAL = exports.RADIO_ORIENTATIONS = exports.RADIO_LAYOUT_VERTICAL = exports.RADIO_LAYOUT_HORIZONTAL = exports.RADIO_LAYOUTS = exports.RADIO_LABEL_PLACEMENT_RIGHT = exports.RADIO_LABEL_PLACEMENT_LEFT = exports.RADIO_LABEL_PLACEMENTS = exports.RADIO_INPUT_TYPE = exports.RADIO_GROUP_PREFIX_CLS = exports.RADIO_DEFAULT_VARIANT = exports.RADIO_DEFAULT_SIZE = exports.RADIO_DEFAULT_ORIENTATION = exports.RADIO_DEFAULT_LAYOUT = exports.RADIO_DEFAULT_LABEL_PLACEMENT = exports.RADIO_DEFAULT_ALIGNMENT = exports.RADIO_CELL_INDICATOR_ICON_COLOR = exports.RADIO_CELL_ICON_SIZE_MAP = exports.RADIO_CELL_ICON_COLOR = exports.RADIO_CELL_CHECK_ICON = exports.RADIO_ALIGNMENT_LEFT = exports.RADIO_ALIGNMENT_CENTER = exports.RADIO_ALIGNMENTS = void 0;
|
|
7
|
-
var RADIO_PREFIX_CLS = exports.RADIO_PREFIX_CLS = 'radio';
|
|
8
|
-
var RADIO_GROUP_PREFIX_CLS = exports.RADIO_GROUP_PREFIX_CLS = 'radio-group';
|
|
9
|
-
var RADIO_VARIANT_DEFAULT = exports.RADIO_VARIANT_DEFAULT = 'default';
|
|
10
|
-
var RADIO_VARIANT_CELL = exports.RADIO_VARIANT_CELL = 'cell';
|
|
11
|
-
var RADIO_VARIANTS = exports.RADIO_VARIANTS = [RADIO_VARIANT_DEFAULT, RADIO_VARIANT_CELL];
|
|
12
|
-
var RADIO_SIZE_LARGE = exports.RADIO_SIZE_LARGE = 'large';
|
|
13
|
-
var RADIO_SIZE_MEDIUM = exports.RADIO_SIZE_MEDIUM = 'medium';
|
|
14
|
-
var RADIO_SIZE_SMALL = exports.RADIO_SIZE_SMALL = 'small';
|
|
15
|
-
var RADIO_SIZES = exports.RADIO_SIZES = [RADIO_SIZE_LARGE, RADIO_SIZE_MEDIUM, RADIO_SIZE_SMALL];
|
|
16
|
-
var RADIO_ORIENTATION_HORIZONTAL = exports.RADIO_ORIENTATION_HORIZONTAL = 'horizontal';
|
|
17
|
-
var RADIO_ORIENTATION_VERTICAL = exports.RADIO_ORIENTATION_VERTICAL = 'vertical';
|
|
18
|
-
var RADIO_ORIENTATIONS = exports.RADIO_ORIENTATIONS = [RADIO_ORIENTATION_HORIZONTAL, RADIO_ORIENTATION_VERTICAL];
|
|
19
|
-
var RADIO_ALIGNMENT_LEFT = exports.RADIO_ALIGNMENT_LEFT = 'left';
|
|
20
|
-
var RADIO_ALIGNMENT_CENTER = exports.RADIO_ALIGNMENT_CENTER = 'center';
|
|
21
|
-
var RADIO_ALIGNMENTS = exports.RADIO_ALIGNMENTS = [RADIO_ALIGNMENT_LEFT, RADIO_ALIGNMENT_CENTER];
|
|
22
|
-
var RADIO_LABEL_PLACEMENT_LEFT = exports.RADIO_LABEL_PLACEMENT_LEFT = 'left';
|
|
23
|
-
var RADIO_LABEL_PLACEMENT_RIGHT = exports.RADIO_LABEL_PLACEMENT_RIGHT = 'right';
|
|
24
|
-
var RADIO_LABEL_PLACEMENTS = exports.RADIO_LABEL_PLACEMENTS = [RADIO_LABEL_PLACEMENT_LEFT, RADIO_LABEL_PLACEMENT_RIGHT];
|
|
25
|
-
var RADIO_DEFAULT_LABEL_PLACEMENT = exports.RADIO_DEFAULT_LABEL_PLACEMENT = RADIO_LABEL_PLACEMENT_LEFT;
|
|
26
|
-
var RADIO_LAYOUT_VERTICAL = exports.RADIO_LAYOUT_VERTICAL = 'vertical';
|
|
27
|
-
var RADIO_LAYOUT_HORIZONTAL = exports.RADIO_LAYOUT_HORIZONTAL = 'horizontal';
|
|
28
|
-
var RADIO_LAYOUTS = exports.RADIO_LAYOUTS = [RADIO_LAYOUT_VERTICAL, RADIO_LAYOUT_HORIZONTAL];
|
|
29
|
-
var RADIO_DEFAULT_VARIANT = exports.RADIO_DEFAULT_VARIANT = RADIO_VARIANT_DEFAULT;
|
|
30
|
-
var RADIO_DEFAULT_SIZE = exports.RADIO_DEFAULT_SIZE = RADIO_SIZE_LARGE;
|
|
31
|
-
var RADIO_DEFAULT_ORIENTATION = exports.RADIO_DEFAULT_ORIENTATION = RADIO_ORIENTATION_HORIZONTAL;
|
|
32
|
-
var RADIO_DEFAULT_ALIGNMENT = exports.RADIO_DEFAULT_ALIGNMENT = RADIO_ALIGNMENT_LEFT;
|
|
33
|
-
var RADIO_DEFAULT_LAYOUT = exports.RADIO_DEFAULT_LAYOUT = RADIO_LAYOUT_HORIZONTAL;
|
|
34
|
-
var RADIO_INPUT_TYPE = exports.RADIO_INPUT_TYPE = 'radio';
|
|
35
|
-
var RADIO_CELL_CHECK_ICON = exports.RADIO_CELL_CHECK_ICON = 'check';
|
|
36
|
-
var RADIO_TAG_SIZE = exports.RADIO_TAG_SIZE = 'small';
|
|
37
|
-
var RADIO_CELL_ICON_SIZE_MAP = exports.RADIO_CELL_ICON_SIZE_MAP = {
|
|
38
|
-
horizontal: {
|
|
39
|
-
large: 16,
|
|
40
|
-
medium: 16,
|
|
41
|
-
small: 12
|
|
42
|
-
},
|
|
43
|
-
vertical: {
|
|
44
|
-
large: 24,
|
|
45
|
-
medium: 20,
|
|
46
|
-
small: 16
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
var getRadioAlignmentFromOrientation = exports.getRadioAlignmentFromOrientation = function getRadioAlignmentFromOrientation(orientation) {
|
|
50
|
-
return orientation === RADIO_ORIENTATION_VERTICAL ? RADIO_ALIGNMENT_CENTER : RADIO_ALIGNMENT_LEFT;
|
|
51
|
-
};
|
|
52
|
-
var getRadioOrientationFromAlignment = exports.getRadioOrientationFromAlignment = function getRadioOrientationFromAlignment(alignment) {
|
|
53
|
-
return alignment === RADIO_ALIGNMENT_CENTER ? RADIO_ORIENTATION_VERTICAL : RADIO_ORIENTATION_HORIZONTAL;
|
|
54
|
-
};
|
|
55
|
-
var normalizeRadioAlignment = exports.normalizeRadioAlignment = function normalizeRadioAlignment(alignment) {
|
|
56
|
-
return alignment === RADIO_ALIGNMENT_CENTER ? RADIO_ALIGNMENT_CENTER : RADIO_ALIGNMENT_LEFT;
|
|
57
|
-
};
|
|
58
|
-
var resolveDefaultVariantLabelPlacement = exports.resolveDefaultVariantLabelPlacement = function resolveDefaultVariantLabelPlacement(labelPlacement) {
|
|
59
|
-
return labelPlacement === RADIO_LABEL_PLACEMENT_RIGHT ? RADIO_LABEL_PLACEMENT_RIGHT : RADIO_LABEL_PLACEMENT_LEFT;
|
|
60
|
-
};
|
|
61
|
-
var RADIO_CELL_INDICATOR_ICON_COLOR = exports.RADIO_CELL_INDICATOR_ICON_COLOR = 'var(--om-radio-cell-indicator-icon)';
|
|
62
|
-
var RADIO_CELL_ICON_COLOR = exports.RADIO_CELL_ICON_COLOR = 'var(--om-radio-cell-icon)';
|
|
63
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvUmFkaW8vY29uc3RhbnRzLnRzIiwiY29tcG9uZW50cy9SYWRpby9jb25zdGFudHMuanMiXSwibmFtZXMiOlsiUkFESU9fUFJFRklYX0NMUyIsImV4cG9ydHMiLCJSQURJT19HUk9VUF9QUkVGSVhfQ0xTIiwiUkFESU9fVkFSSUFOVF9ERUZBVUxUIiwiUkFESU9fVkFSSUFOVF9DRUxMIiwiUkFESU9fVkFSSUFOVFMiLCJSQURJT19TSVpFX0xBUkdFIiwiUkFESU9fU0laRV9NRURJVU0iLCJSQURJT19TSVpFX1NNQUxMIiwiUkFESU9fU0laRVMiLCJSQURJT19PUklFTlRBVElPTl9IT1JJWk9OVEFMIiwiUkFESU9fT1JJRU5UQVRJT05fVkVSVElDQUwiLCJSQURJT19PUklFTlRBVElPTlMiLCJSQURJT19BTElHTk1FTlRfTEVGVCIsIlJBRElPX0FMSUdOT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
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
var _exportNames = {
|
|
8
|
-
Radio: true,
|
|
9
|
-
RadioGroup: true
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "Radio", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function get() {
|
|
14
|
-
return _Radio.Radio;
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "RadioGroup", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function get() {
|
|
20
|
-
return _RadioGroup.RadioGroup;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
exports["default"] = void 0;
|
|
24
|
-
var _Radio = _interopRequireWildcard(require("./Radio"));
|
|
25
|
-
var _RadioGroup = require("./RadioGroup");
|
|
26
|
-
var _interface = require("./interface");
|
|
27
|
-
Object.keys(_interface).forEach(function (key) {
|
|
28
|
-
if (key === "default" || key === "__esModule") return;
|
|
29
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
30
|
-
if (key in exports && exports[key] === _interface[key]) return;
|
|
31
|
-
Object.defineProperty(exports, key, {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function get() {
|
|
34
|
-
return _interface[key];
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
39
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
40
|
-
var _default = exports["default"] = _Radio["default"];
|
|
41
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvUmFkaW8vaW5kZXgudHMiXSwibmFtZXMiOlsiX1JhZGlvIiwiX2ludGVyb3BSZXF1aXJlV2lsZGNhcmQiLCJyZXF1aXJlIiwiX1JhZGlvR3JvdXAiLCJfaW50ZXJmYWNlIiwiT2JqZWN0Iiwia2V5cyIsImZvckVhY2giLCJrZXkiLCJwcm90b3R5cGUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJfZXhwb3J0TmFtZXMiLCJleHBvcnRzIiwiZGVmaW5lUHJvcGVydHkiLCJlbnVtZXJhYmxlIiwiZ2V0IiwiX2dldFJlcXVpcmVXaWxkY2FyZENhY2hlIiwiZSIsIldlYWtNYXAiLCJyIiwidCIsIl9fZXNNb2R1bGUiLCJfdHlwZW9mIiwiaGFzIiwibiIsIl9fcHJvdG9fXyIsImEiLCJnZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IiLCJ1IiwiaSIsInNldCIsIl9kZWZhdWx0IiwiUmFkaW8iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsSUFBQUEsTUFBQSxHQUFBQyx1QkFBQSxDQUFBQyxPQUFBO0FBR0EsSUFBQUMsV0FBQSxHQUFBRCxPQUFBO0FBSUEsSUFBQUUsVUFBQSxHQUFBRixPQUFBO0FBQUFHLE1BQUEsQ0FBQUMsSUFBQSxDQUFBRixVQUFBLEVBQUFHLE9BQUEsV0FBQUMsR0FBQTtFQUFBLElBQUFBLEdBQUEsa0JBQUFBLEdBQUE7RUFBQSxJQUFBSCxNQUFBLENBQUFJLFNBQUE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EsQ0FBQU8sQ0FBQSxFQUFBVyxDQUFBLFNBQUFDLENBQUEsR0FBQUgsQ0FBQSxHQUFBdEIsTUFBQSxDQUFBdUIsd0JBQUEsQ0FBQVYsQ0FBQSxFQUFBVyxDQUFBLFVBQUFDLENBQUEsS0FBQUEsQ0FBQSxDQUFBZCxHQUFBLElBQUFjLENBQUEsQ0FBQUMsR0FBQSxJQUFBMUIsTUFBQSxDQUFBUyxjQUFBLENBQUFXLENBQUEsRUFBQUksQ0FBQSxFQUFBQyxDQUFBLElBQUFMLENBQUEsQ0FBQUksQ0FBQSxJQUFBWCxDQUFBLENBQUFXLENBQUEsWUFBQUosQ0FBQSxjQUFBUCxDQUFBLEVBQUFHLENBQUEsSUFBQUEsQ0FBQSxDQUFBVSxHQUFBLENBQUFiLENBQUEsRUFBQU8sQ0FBQSxHQUFBQSxDQUFBO0FBQUEsSUFBQU8sUUFBQSxHQUFBbkIsT0FBQSxjQUZib0IsaUJBQUsiLCJmaWxlIjoiY29tcG9uZW50cy9SYWRpby9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, InputHTMLAttributes, ReactNode, RefObject } from 'react';
|
|
2
|
-
import type { IconName } from "../Icons";
|
|
3
|
-
export type RadioValueType = string | number;
|
|
4
|
-
export type RadioVariant = 'default' | 'cell';
|
|
5
|
-
export type RadioSize = 'large' | 'medium' | 'small';
|
|
6
|
-
export type RadioOrientation = 'horizontal' | 'vertical';
|
|
7
|
-
export type RadioAlignment = 'left' | 'center';
|
|
8
|
-
export type RadioLabelPlacement = 'left' | 'right';
|
|
9
|
-
export type RadioGroupDirection = 'vertical' | 'horizontal';
|
|
10
|
-
export interface RadioChangeTarget {
|
|
11
|
-
checked: boolean;
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
id?: string;
|
|
14
|
-
name?: string;
|
|
15
|
-
type: 'radio';
|
|
16
|
-
value?: RadioValueType;
|
|
17
|
-
}
|
|
18
|
-
export interface RadioChangeEvent {
|
|
19
|
-
nativeEvent: Event;
|
|
20
|
-
preventDefault: () => void;
|
|
21
|
-
stopPropagation: () => void;
|
|
22
|
-
target: RadioChangeTarget;
|
|
23
|
-
}
|
|
24
|
-
type NativeRadioInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'children' | 'checked' | 'className' | 'defaultChecked' | 'onChange' | 'size' | 'style' | 'type' | 'value'>;
|
|
25
|
-
export interface RadioProps extends NativeRadioInputProps {
|
|
26
|
-
ref?: RefObject<HTMLLabelElement | null>;
|
|
27
|
-
className?: string;
|
|
28
|
-
prefixCls?: string;
|
|
29
|
-
style?: CSSProperties;
|
|
30
|
-
/** Value that identifies this radio within a RadioGroup */
|
|
31
|
-
value?: RadioValueType;
|
|
32
|
-
/** Whether the radio is checked (controlled, standalone usage) */
|
|
33
|
-
checked?: boolean;
|
|
34
|
-
/** Default checked state (uncontrolled, standalone usage) */
|
|
35
|
-
defaultChecked?: boolean;
|
|
36
|
-
/** Label text displayed next to the radio */
|
|
37
|
-
label?: ReactNode;
|
|
38
|
-
/** Description text displayed below the label */
|
|
39
|
-
description?: ReactNode;
|
|
40
|
-
/** Visual variant of the radio */
|
|
41
|
-
variant?: RadioVariant;
|
|
42
|
-
/** Visual size used by the cell variant */
|
|
43
|
-
size?: RadioSize;
|
|
44
|
-
/** Alignment used by the cell variant (`left` for horizontal, `center` for vertical). */
|
|
45
|
-
alignment?: RadioAlignment;
|
|
46
|
-
/** Placement of the label relative to the radio dot for the default variant. */
|
|
47
|
-
labelPlacement?: RadioLabelPlacement;
|
|
48
|
-
/** Optional icon rendered by the cell variant */
|
|
49
|
-
icon?: IconName | ReactNode;
|
|
50
|
-
/** Optional tag label rendered by the cell variant */
|
|
51
|
-
tag?: string;
|
|
52
|
-
/** Callback when checked state changes */
|
|
53
|
-
onChange?: (event: RadioChangeEvent) => void;
|
|
54
|
-
}
|
|
55
|
-
export interface RadioOptionItem {
|
|
56
|
-
/** Value that identifies this option */
|
|
57
|
-
value: RadioValueType;
|
|
58
|
-
/** HTML id attribute for the underlying radio input */
|
|
59
|
-
id?: string;
|
|
60
|
-
/** Label text displayed next to the radio */
|
|
61
|
-
label?: ReactNode;
|
|
62
|
-
/** Description text displayed below the label */
|
|
63
|
-
description?: ReactNode;
|
|
64
|
-
/** Visual variant of the radio */
|
|
65
|
-
variant?: RadioVariant;
|
|
66
|
-
/** Visual size used by the cell variant */
|
|
67
|
-
size?: RadioSize;
|
|
68
|
-
/** Alignment used by the cell variant (`left` for horizontal, `center` for vertical). */
|
|
69
|
-
alignment?: RadioAlignment;
|
|
70
|
-
/** Placement of the label relative to the radio dot for the default variant. */
|
|
71
|
-
labelPlacement?: RadioLabelPlacement;
|
|
72
|
-
/** Optional icon rendered by the cell variant */
|
|
73
|
-
icon?: IconName | ReactNode;
|
|
74
|
-
/** Optional tag label rendered by the cell variant */
|
|
75
|
-
tag?: string;
|
|
76
|
-
/** Whether this specific option is disabled */
|
|
77
|
-
disabled?: boolean;
|
|
78
|
-
/** Whether this specific option is required */
|
|
79
|
-
required?: boolean;
|
|
80
|
-
/** Title attribute for the underlying radio input */
|
|
81
|
-
title?: string;
|
|
82
|
-
}
|
|
83
|
-
export interface RadioGroupProps {
|
|
84
|
-
ref?: RefObject<HTMLDivElement | null>;
|
|
85
|
-
prefixCls?: string;
|
|
86
|
-
className?: string;
|
|
87
|
-
/** Currently selected value (controlled) */
|
|
88
|
-
value?: RadioValueType;
|
|
89
|
-
/** Default selected value (uncontrolled) */
|
|
90
|
-
defaultValue?: RadioValueType;
|
|
91
|
-
/** HTML id attribute for the root radiogroup container */
|
|
92
|
-
id?: string;
|
|
93
|
-
/** HTML name attribute for native radio grouping */
|
|
94
|
-
name?: string;
|
|
95
|
-
/** Disables all radios in the group */
|
|
96
|
-
disabled?: boolean;
|
|
97
|
-
/** @deprecated Use `direction` to control the group direction. */
|
|
98
|
-
layout?: RadioGroupDirection;
|
|
99
|
-
/** Direction of the group */
|
|
100
|
-
direction?: RadioGroupDirection;
|
|
101
|
-
/** Visual variant inherited by child radios */
|
|
102
|
-
variant?: RadioVariant;
|
|
103
|
-
/** Visual size inherited by child radios */
|
|
104
|
-
size?: RadioSize;
|
|
105
|
-
/** Alignment inherited by cell-variant child radios. */
|
|
106
|
-
alignment?: RadioAlignment;
|
|
107
|
-
/** Label placement inherited by default-variant child radios. */
|
|
108
|
-
labelPlacement?: RadioLabelPlacement;
|
|
109
|
-
/** Gap between radio items — accepts spacing token key or CSS value */
|
|
110
|
-
gap?: number | string;
|
|
111
|
-
/** Title attribute for the root radiogroup container */
|
|
112
|
-
title?: string;
|
|
113
|
-
'aria-label'?: string;
|
|
114
|
-
'aria-labelledby'?: string;
|
|
115
|
-
/** Quick-render mode: array of radio options */
|
|
116
|
-
options?: RadioOptionItem[];
|
|
117
|
-
/** Custom Radio children (takes precedence over options) */
|
|
118
|
-
children?: ReactNode;
|
|
119
|
-
/** Callback when the selected value changes */
|
|
120
|
-
onChange?: (event: RadioChangeEvent) => void;
|
|
121
|
-
}
|
|
122
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy9SYWRpby9pbnRlcmZhY2UuanMiLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMiLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvUmFkaW8vaW50ZXJmYWNlLmpzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7fTsiXSwibWFwcGluZ3MiOiIiLCJpZ25vcmVMaXN0IjpbXX0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.om-component-ui-radio{display:inline-flex;gap:var(--om-spacing-300,12px);align-items:flex-start;cursor:pointer}.om-component-ui-radio-box-wrapper{position:relative;display:flex;flex-shrink:0;align-items:center;justify-content:center;height:calc(var(--om-body-lg-font-size) * 1.375)}.om-component-ui-radio-input{position:absolute;inset:0;margin:0;cursor:inherit;opacity:0}.om-component-ui-radio-box{position:relative;display:flex;align-items:center;justify-content:center;width:var(--om-spacing-400,16px);height:var(--om-spacing-400,16px);overflow:hidden;background-color:var(--om-bg-default,#fff);border:1px solid var(--om-border-default-secondary,#9fa3a3);border-radius:var(--om-radius-full,9999px);transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}.om-component-ui-radio-box:after{position:absolute;width:var(--om-spacing-200,8px);height:var(--om-spacing-200,8px);background-color:var(--om-icon-on-brand,#dde6f4);border-radius:var(--om-radius-full,9999px);transform:scale(0);opacity:0;transition:transform .2s ease,opacity .2s ease;content:""}.om-component-ui-radio-input:checked+.om-component-ui-radio-box{background-color:var(--om-bg-brand,#073387);border-color:var(--om-bg-brand,#073387)}.om-component-ui-radio-input:checked+.om-component-ui-radio-box:after{transform:scale(1);opacity:1}.om-component-ui-radio-input:focus-visible+.om-component-ui-radio-box{border-color:var(--om-border-brand,#073387);box-shadow:0 0 0 1px var(--om-border-brand,#073387)}.om-component-ui-radio-content{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.om-component-ui-radio-label{font-size:var(--om-body-lg-font-size);font-family:var(--om-body-lg-font-family);line-height:var(--om-body-lg-line-height);letter-spacing:var(--om-body-lg-letter-spacing);font-weight:var(--om-body-lg-strong-font-weight);color:var(--om-text-default,#131313)}.om-component-ui-radio-description{font-size:var(--om-body-md-font-size);font-family:var(--om-body-md-font-family);line-height:var(--om-body-md-line-height);letter-spacing:var(--om-body-md-letter-spacing);font-weight:var(--om-body-md-strong-font-weight);color:var(--om-text-default-tertiary,#646465)}.om-component-ui-radio-tag{display:inline-flex;margin-top:var(--om-spacing-100,4px)}.om-component-ui-radio-cell{position:relative;display:block;width:100%;min-width:0}.om-component-ui-radio-cell-input{position:absolute;inset:0;z-index:1;margin:0;cursor:inherit;opacity:0}.om-component-ui-radio-cell-panel{--om-radio-cell-icon:var(--om-icon-default,#131313);--om-radio-cell-indicator-icon:var(--om-icon-on-brand,#dde6f4);position:relative;display:flex;gap:var(--om-spacing-300,12px);align-items:center;box-sizing:border-box;width:100%;min-width:0;height:100%;background-color:var(--om-bg-default,#fff);border:1px solid var(--om-border-default,#d1d2d2);border-radius:var(--om-radius-300,12px);transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}.om-component-ui-radio-cell-icon,.om-component-ui-radio-cell-indicator,.om-component-ui-radio-cell-radio{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center}.om-component-ui-radio-cell-indicator{width:var(--om-spacing-800,32px);height:var(--om-spacing-800,32px);color:var(--om-radio-cell-icon);background-color:var(--om-bg-neutral-tertiary,#f0f0f0);border-radius:var(--om-radius-full,9999px);transition:background-color .2s ease,color .2s ease}.om-component-ui-radio-cell-indicator-compact{width:var(--om-spacing-600,24px);height:var(--om-spacing-600,24px)}.om-component-ui-radio-cell-icon{color:var(--om-radio-cell-icon)}.om-component-ui-radio-cell-radio{width:var(--om-spacing-400,16px);height:var(--om-spacing-400,16px);background-color:var(--om-bg-default,#fff);border:1px solid var(--om-border-default-secondary,#9fa3a3);border-radius:var(--om-radius-full,9999px);transition:background-color .2s ease,border-color .2s ease}.om-component-ui-radio-cell-radio-dot{width:var(--om-spacing-100,4px);height:var(--om-spacing-100,4px);background-color:var(--om-icon-on-brand,#dde6f4);border-radius:var(--om-radius-full,9999px);transform:scale(0);opacity:0;transition:transform .2s ease,opacity .2s ease}.om-component-ui-radio-cell .om-component-ui-radio-content{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.om-component-ui-radio-cell .om-component-ui-radio-label{font-size:var(--om-body-lg-font-size);font-family:var(--om-body-lg-font-family);line-height:var(--om-body-lg-line-height);letter-spacing:var(--om-body-lg-letter-spacing);font-weight:var(--om-body-lg-strong-font-weight)}.om-component-ui-radio-cell .om-component-ui-radio-description{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-radio-cell-horizontal.om-component-ui-radio-cell-large .om-component-ui-radio-cell-panel{padding:var(--om-spacing-400,16px)}.om-component-ui-radio-cell-horizontal.om-component-ui-radio-cell-medium .om-component-ui-radio-cell-panel,.om-component-ui-radio-cell-horizontal.om-component-ui-radio-cell-small .om-component-ui-radio-cell-panel{padding:var(--om-spacing-300,12px) var(--om-spacing-400,16px)}.om-component-ui-radio-cell-horizontal.om-component-ui-radio-cell-medium .om-component-ui-radio-label{font-size:var(--om-body-lg-font-size);font-family:var(--om-body-lg-font-family);line-height:var(--om-body-lg-line-height);letter-spacing:var(--om-body-lg-letter-spacing);font-weight:var(--om-body-lg-font-weight)}.om-component-ui-radio-cell-horizontal.om-component-ui-radio-cell-small .om-component-ui-radio-content{justify-content:center}.om-component-ui-radio-cell-horizontal.om-component-ui-radio-cell-small .om-component-ui-radio-label{font-size:var(--om-body-lg-font-size);font-family:var(--om-body-lg-font-family);line-height:var(--om-body-lg-line-height);letter-spacing:var(--om-body-lg-letter-spacing);font-weight:var(--om-body-lg-strong-font-weight)}.om-component-ui-radio-cell-horizontal.om-component-ui-radio-cell-small .om-component-ui-radio-description{font-size:var(--om-body-md-font-size);font-family:var(--om-body-md-font-family);line-height:var(--om-body-md-line-height);letter-spacing:var(--om-body-md-letter-spacing);font-weight:var(--om-body-md-strong-font-weight)}.om-component-ui-radio-cell-vertical .om-component-ui-radio-cell-panel{flex-direction:column;justify-content:center}.om-component-ui-radio-cell-vertical .om-component-ui-radio-content{align-items:center;text-align:center}.om-component-ui-radio-cell-vertical .om-component-ui-radio-description,.om-component-ui-radio-cell-vertical .om-component-ui-radio-label{text-align:center}.om-component-ui-radio-cell-vertical.om-component-ui-radio-cell-large .om-component-ui-radio-cell-panel{padding:var(--om-spacing-600,24px) var(--om-spacing-400,16px)}.om-component-ui-radio-cell-vertical.om-component-ui-radio-cell-medium .om-component-ui-radio-cell-panel,.om-component-ui-radio-cell-vertical.om-component-ui-radio-cell-small .om-component-ui-radio-cell-panel{padding:var(--om-spacing-400,16px)}.om-component-ui-radio-cell-vertical.om-component-ui-radio-cell-medium .om-component-ui-radio-label,.om-component-ui-radio-cell-vertical.om-component-ui-radio-cell-small .om-component-ui-radio-label{font-size:var(--om-body-lg-font-size);font-family:var(--om-body-lg-font-family);line-height:var(--om-body-lg-line-height);letter-spacing:var(--om-body-lg-letter-spacing);font-weight:var(--om-body-lg-font-weight)}.om-component-ui-radio-cell-input:checked+.om-component-ui-radio-cell-panel{background-color:var(--om-bg-default-secondary,#f8f8f8);border-color:var(--om-border-brand,#073387)}.om-component-ui-radio-cell-input:checked+.om-component-ui-radio-cell-panel .om-component-ui-radio-cell-indicator{background-color:var(--om-bg-brand,#073387)}.om-component-ui-radio-cell-input:checked+.om-component-ui-radio-cell-panel .om-component-ui-radio-cell-radio{background-color:var(--om-bg-brand,#073387);border-color:var(--om-border-brand,#073387)}.om-component-ui-radio-cell-input:checked+.om-component-ui-radio-cell-panel .om-component-ui-radio-cell-radio-dot{transform:scale(1);opacity:1}.om-component-ui-radio-cell-vertical .om-component-ui-radio-cell-input:checked+.om-component-ui-radio-cell-panel{border-width:1px}.om-component-ui-radio-cell-input:focus-visible+.om-component-ui-radio-cell-panel{border-color:var(--om-border-brand,#073387);box-shadow:0 0 0 1px var(--om-border-brand,#073387)}.om-component-ui-radio:not(.om-component-ui-radio-disabled):hover .om-component-ui-radio-box{border-color:var(--om-border-default-tertiary,#404042)}.om-component-ui-radio:not(.om-component-ui-radio-disabled):hover .om-component-ui-radio-input:checked+.om-component-ui-radio-box{background-color:var(--om-bg-brand-hover,#052561);border-color:var(--om-bg-brand-hover,#052561)}.om-component-ui-radio:not(.om-component-ui-radio-disabled):hover .om-component-ui-radio-cell-panel{border-color:var(--om-border-default-tertiary,#404042)}.om-component-ui-radio:not(.om-component-ui-radio-disabled):hover .om-component-ui-radio-cell-input:checked+.om-component-ui-radio-cell-panel{border-color:var(--om-border-brand,#073387)}.om-component-ui-radio-disabled{cursor:not-allowed}.om-component-ui-radio-disabled .om-component-ui-radio-box,.om-component-ui-radio-disabled .om-component-ui-radio-input:checked+.om-component-ui-radio-box{background-color:var(--om-bg-disabled,#f0f0f0);border-color:var(--om-border-disabled,#e3e4e4)}.om-component-ui-radio-disabled .om-component-ui-radio-input:checked+.om-component-ui-radio-box:after{background-color:var(--om-icon-on-disabled,#bbbdc1)}.om-component-ui-radio-disabled .om-component-ui-radio-description,.om-component-ui-radio-disabled .om-component-ui-radio-label{color:var(--om-text-disabled,#bbbdc1)}.om-component-ui-radio-disabled .om-component-ui-radio-cell-panel{background-color:var(--om-bg-disabled,#f0f0f0);border-color:var(--om-border-disabled,#e3e4e4)}.om-component-ui-radio-disabled .om-component-ui-radio-cell-indicator{color:var(--om-icon-on-disabled,#bbbdc1);background-color:var(--om-bg-disabled,#f0f0f0)}.om-component-ui-radio-disabled .om-component-ui-radio-cell-icon{color:var(--om-icon-disabled,#d1d2d2)}.om-component-ui-radio-disabled .om-component-ui-radio-cell-radio{background-color:var(--om-bg-disabled,#f0f0f0);border-color:var(--om-border-disabled,#e3e4e4)}.om-component-ui-radio-disabled .om-component-ui-radio-cell-radio-dot{background-color:var(--om-icon-on-disabled,#bbbdc1)}.om-component-ui-radio-disabled .om-component-ui-radio-tag{opacity:.6}.om-component-ui-radio-right .om-component-ui-radio-box-wrapper{order:1}.om-component-ui-radio-right .om-component-ui-radio-content{order:0}.om-component-ui-radio-right .om-component-ui-radio-cell-icon,.om-component-ui-radio-right .om-component-ui-radio-cell-indicator,.om-component-ui-radio-right .om-component-ui-radio-cell-radio{order:1}.om-component-ui-radio-right .om-component-ui-radio-cell .om-component-ui-radio-content{order:0}.om-component-ui-radio-group{display:flex}.om-component-ui-radio-group-vertical{flex-direction:column;gap:var(--om-spacing-300,12px)}.om-component-ui-radio-group-horizontal{flex-flow:row wrap;gap:var(--om-spacing-600,24px)}.om-component-ui-radio-group-cell.om-component-ui-radio-group-vertical{gap:var(--om-spacing-300,12px)}.om-component-ui-radio-group-cell.om-component-ui-radio-group-vertical>.om-component-ui-radio{width:100%}.om-component-ui-radio-group-cell.om-component-ui-radio-group-horizontal{gap:var(--om-spacing-300,12px);align-items:stretch}.om-component-ui-radio-group-cell.om-component-ui-radio-group-horizontal>.om-component-ui-radio{flex:1 1 0;min-width:0}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("../../Tag/style/css");
|
|
4
|
-
require("./Radio.css");
|
|
5
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvUmFkaW8vc3JjL2NvbXBvbmVudHMvUmFkaW8vc3R5bGUvaW5kZXgudHMiXSwibmFtZXMiOlsicmVxdWlyZSJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBQTtBQUNBQSxPQUFBIiwiZmlsZSI6ImNvbXBvbmVudHMvUmFkaW8vc3R5bGUvY3NzLmpzIiwic291cmNlc0NvbnRlbnQiOltudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("../../Tag/style");
|
|
4
|
-
require("./Radio.css");
|
|
5
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvUmFkaW8vc3JjL2NvbXBvbmVudHMvUmFkaW8vc3R5bGUvaW5kZXgudHMiXSwibmFtZXMiOlsicmVxdWlyZSJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBQTtBQUNBQSxPQUFBIiwiZmlsZSI6ImNvbXBvbmVudHMvUmFkaW8vc3R5bGUvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { SizeInfo } from './interface';
|
|
3
|
-
type OnCollectionResize = (size: SizeInfo, element: HTMLElement, data: any) => void;
|
|
4
|
-
export declare const CollectionContext: React.Context<OnCollectionResize | null>;
|
|
5
|
-
export interface ResizeInfo {
|
|
6
|
-
size: SizeInfo;
|
|
7
|
-
data: any;
|
|
8
|
-
element: HTMLElement;
|
|
9
|
-
}
|
|
10
|
-
export interface CollectionProps {
|
|
11
|
-
/** Trigger when some children ResizeObserver changed. Collect by frame render level */
|
|
12
|
-
onBatchResize?: (resizeInfo: ResizeInfo[]) => void;
|
|
13
|
-
children?: React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Collect all the resize event from children ResizeObserver
|
|
17
|
-
*/
|
|
18
|
-
export declare function Collection({ children, onBatchResize }: CollectionProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export {};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.Collection = Collection;
|
|
8
|
-
exports.CollectionContext = void 0;
|
|
9
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
13
|
-
var CollectionContext = exports.CollectionContext = /*#__PURE__*/React.createContext(null);
|
|
14
|
-
/**
|
|
15
|
-
* Collect all the resize event from children ResizeObserver
|
|
16
|
-
*/
|
|
17
|
-
function Collection(_ref) {
|
|
18
|
-
var children = _ref.children,
|
|
19
|
-
onBatchResize = _ref.onBatchResize;
|
|
20
|
-
var resizeIdRef = React.useRef(0);
|
|
21
|
-
var resizeInfosRef = React.useRef([]);
|
|
22
|
-
var onCollectionResize = React.useContext(CollectionContext);
|
|
23
|
-
var onBatchResizeRef = React.useRef(onBatchResize);
|
|
24
|
-
onBatchResizeRef.current = onBatchResize;
|
|
25
|
-
var onCollectionResizeRef = React.useRef(onCollectionResize);
|
|
26
|
-
onCollectionResizeRef.current = onCollectionResize;
|
|
27
|
-
var onResize = React.useCallback(function (size, element, data) {
|
|
28
|
-
var _a;
|
|
29
|
-
resizeIdRef.current += 1;
|
|
30
|
-
var currentId = resizeIdRef.current;
|
|
31
|
-
resizeInfosRef.current.push({
|
|
32
|
-
size: size,
|
|
33
|
-
element: element,
|
|
34
|
-
data: data
|
|
35
|
-
});
|
|
36
|
-
Promise.resolve().then(function () {
|
|
37
|
-
var _a;
|
|
38
|
-
if (currentId === resizeIdRef.current) {
|
|
39
|
-
(_a = onBatchResizeRef.current) === null || _a === void 0 ? void 0 : _a.call(onBatchResizeRef, resizeInfosRef.current);
|
|
40
|
-
resizeInfosRef.current = [];
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
// Continue bubbling if parent exist
|
|
44
|
-
(_a = onCollectionResizeRef.current) === null || _a === void 0 ? void 0 : _a.call(onCollectionResizeRef, size, element, data);
|
|
45
|
-
}, []);
|
|
46
|
-
return (0, _jsxRuntime.jsx)(CollectionContext.Provider, {
|
|
47
|
-
value: onResize,
|
|
48
|
-
children: children
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvUmVzaXplT2JzZXJ2ZXIvQ29sbGVjdGlvbi5qcyIsImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvUmVzaXplT2JzZXJ2ZXIvQ29sbGVjdGlvbi50c3giXSwibmFtZXMiOlsiX2pzeFJ1bnRpbWUiLCJyZXF1aXJlIiwiUmVhY3QiLCJfaW50ZXJvcFJlcXVpcmVXaWxkY2FyZCIsIl9nZXRSZXF1aXJlV2lsZGNhcmRDYWNoZSIsImUiLCJXZWFrTWFwIiwiciIsInQiLCJfX2VzTW9kdWxlIiwiX3R5cGVvZiIsImhhcyIsImdldCIsIm4iLCJfX3Byb3RvX18iLCJhIiwiT2JqZWN0IiwiZGVmaW5lUHJvcGVydHkiLCJnZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IiLCJ1IiwiaGFzT3duUHJvcGVydHkiLCJjYWxsIiwiaSIsInNldCIsIkNvbGxlY3Rpb25Db250ZXh0IiwiZXhwb3J0cyIsImNyZWF0ZUNvbnRleHQiLCJDb2xsZWN0aW9uIiwiX3JlZiIsImNoaWxkcmVuIiwib25CYXRjaFJlc2l6ZSIsInJlc2l6ZUlkUmVmIiwidXNlUmVmIiwicmVzaXplSW5mb3NSZWYiLCJvbkNvbGxlY3Rpb25SZXNpemUiLCJ1c2VDb250ZX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AgIH1cbiAgICAgICAgfSk7XG4gICAgICAgIC8vIENvbnRpbnVlIGJ1YmJsaW5nIGlmIHBhcmVudCBleGlzdFxuICAgICAgICAoX2EgPSBvbkNvbGxlY3Rpb25SZXNpemVSZWYuY3VycmVudCkgPT09IG51bGwgfHwgX2EgPT09IHZvaWQgMCA/IHZvaWQgMCA6IF9hLmNhbGwob25Db2xsZWN0aW9uUmVzaXplUmVmLCBzaXplLCBlbGVtZW50LCBkYXRhKTtcbiAgICB9LCBbXSk7XG4gICAgcmV0dXJuIF9qc3goQ29sbGVjdGlvbkNvbnRleHQuUHJvdmlkZXIsIHsgdmFsdWU6IG9uUmVzaXplLCBjaGlsZHJlbjogY2hpbGRyZW4gfSk7XG59IixudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { ResizeObserverProps } from './interface';
|
|
3
|
-
import { Collection } from './Collection';
|
|
4
|
-
declare const RefResizeObserver: React.ForwardRefExoticComponent<React.PropsWithoutRef<ResizeObserverProps> & React.RefAttributes<any>> & {
|
|
5
|
-
Collection: typeof Collection;
|
|
6
|
-
};
|
|
7
|
-
export default RefResizeObserver;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var React = _react;
|
|
11
|
-
var _reactUtil = require("./utils/reactUtil");
|
|
12
|
-
var _SingleObserver = _interopRequireDefault(require("./SingleObserver"));
|
|
13
|
-
var _Collection = require("./Collection");
|
|
14
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
16
|
-
var INTERNAL_PREFIX_KEY = 'om-component-ui-observer-key';
|
|
17
|
-
function ResizeObserver(props, ref) {
|
|
18
|
-
var _a;
|
|
19
|
-
var children = props.children;
|
|
20
|
-
var childNodes = typeof children === 'function' ? [children] : (0, _reactUtil.toArray)(children);
|
|
21
|
-
// eslint-disable-next-line no-undef
|
|
22
|
-
if (typeof process !== 'undefined' && ((_a = process.env) === null || _a === void 0 ? void 0 : _a.NODE_ENV) !== 'production') {
|
|
23
|
-
if (childNodes.length > 1) {
|
|
24
|
-
console.warn('[ResizeObserver] Find more than one child node with `children`. Please use ResizeObserver.Collection instead.');
|
|
25
|
-
} else if (childNodes.length === 0) {
|
|
26
|
-
console.warn('[ResizeObserver] `children` is empty. Nothing is in observe.');
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
return childNodes.map(function (child, index) {
|
|
30
|
-
var key = (child === null || child === void 0 ? void 0 : child.key) || "".concat(INTERNAL_PREFIX_KEY, "-").concat(index);
|
|
31
|
-
return /*#__PURE__*/(0, _react.createElement)(_SingleObserver["default"], Object.assign({}, props, {
|
|
32
|
-
key: key,
|
|
33
|
-
ref: index === 0 ? ref : undefined
|
|
34
|
-
}), child);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
var RefResizeObserver = /*#__PURE__*/React.forwardRef(ResizeObserver);
|
|
38
|
-
RefResizeObserver.displayName = 'ResizeObserver';
|
|
39
|
-
RefResizeObserver.Collection = _Collection.Collection;
|
|
40
|
-
var _default = exports["default"] = RefResizeObserver;
|
|
41
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvUmVzaXplT2JzZXJ2ZXIvUmVzaXplT2JzZXJ2ZXIuanMiLCJjb21wb25lbnRzL3NyYy9jb21wb25lbnRzL1Jlc2l6ZU9ic2VydmVyL1Jlc2l6ZU9ic2VydmVyLnRzeCJdLCJuYW1lcyI6WyJfcmVhY3QiLCJfaW50ZXJvcFJlcXVpcmVXaWxkY2FyZCIsInJlcXVpcmUiLCJSZWFjdCIsIl9yZWFjdFV0aWwiLCJfU2luZ2xlT2JzZXJ2ZXIiLCJfaW50ZXJvcFJlcXVpcmVEZWZhdWx0IiwiX0NvbGxlY3Rpb24iLCJfZ2V0UmVxdWlyZVdpbGRjYXJkQ2FjaGUiLCJlIiwiV2Vha01hcCIsInIiLCJ0IiwiX19lc01vZHVsZSIsIl90eXBlb2YiLCJoYXMiLCJnZXQiLCJuIiwiX19wcm90b19fIiwiYSIsIk9iamVjdCIsImRlZmluZVByb3BlcnR5IiwiZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yIiwidSIsImhhc093blByb3BlcnR5IiwiY2FsbCIsImkiLCJzZXQiLCJJTlRFUk5BTF9QUkVGSVhfS0VZIiwiUmVzaXplT2JzZXJ2ZXIiLCJwcm9wcyIsInJlZiIsIl9hIiwiY2hpbGRyZW4iLCJjaGlsZE5vZGVzIiwidG9BcnJheSIsInByb2Nlc3MiLCJlbnYiLCJOT0RFX0VOViIsImxlbmd0aCIsImNvbnNvbGUiLCJ3YXJuIiwibWFwIiwiY2hpbGQiLCJpbmRleCIsImtleSIsImNvbmNhdCIsIl9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F0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { ResizeObserverProps } from '../interface';
|
|
3
|
-
export interface SingleObserverProps extends ResizeObserverProps {
|
|
4
|
-
children: React.ReactElement | ((ref: React.RefObject<Element>) => React.ReactElement);
|
|
5
|
-
}
|
|
6
|
-
declare const RefSingleObserver: React.ForwardRefExoticComponent<SingleObserverProps & React.RefAttributes<HTMLElement>>;
|
|
7
|
-
export default RefSingleObserver;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
var React = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _Collection = require("../Collection");
|
|
11
|
-
var _useResizeObserver = _interopRequireDefault(require("../useResizeObserver"));
|
|
12
|
-
var _reactUtil = require("../utils/reactUtil");
|
|
13
|
-
var _ref = require("../../../utils/ref");
|
|
14
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
16
|
-
function SingleObserver(props, ref) {
|
|
17
|
-
var children = props.children,
|
|
18
|
-
disabled = props.disabled,
|
|
19
|
-
onResize = props.onResize,
|
|
20
|
-
data = props.data;
|
|
21
|
-
var elementRef = React.useRef(null);
|
|
22
|
-
var onCollectionResize = React.useContext(_Collection.CollectionContext);
|
|
23
|
-
// =========================== Children ===========================
|
|
24
|
-
var isRenderProps = typeof children === 'function';
|
|
25
|
-
var mergedChildren = isRenderProps ? children(elementRef) : children;
|
|
26
|
-
// ============================= Ref ==============================
|
|
27
|
-
var canRef = !isRenderProps && /*#__PURE__*/React.isValidElement(mergedChildren) && (0, _reactUtil.supportRef)(mergedChildren);
|
|
28
|
-
var originRef = canRef ? (0, _reactUtil.getNodeRef)(mergedChildren) : null;
|
|
29
|
-
var mergedRef = (0, _ref.useComposeRef)(originRef, elementRef);
|
|
30
|
-
var getDomElement = React.useCallback(function () {
|
|
31
|
-
return (0, _reactUtil.getDOM)(elementRef.current);
|
|
32
|
-
}, []);
|
|
33
|
-
React.useImperativeHandle(ref, function () {
|
|
34
|
-
return getDomElement();
|
|
35
|
-
});
|
|
36
|
-
// =========================== Observe ============================
|
|
37
|
-
(0, _useResizeObserver["default"])(!disabled, getDomElement, onResize, function (sizeInfo, target) {
|
|
38
|
-
onCollectionResize === null || onCollectionResize === void 0 ? void 0 : onCollectionResize(sizeInfo, target, data);
|
|
39
|
-
});
|
|
40
|
-
// ============================ Render ============================
|
|
41
|
-
return canRef ? /*#__PURE__*/React.cloneElement(mergedChildren, {
|
|
42
|
-
ref: mergedRef
|
|
43
|
-
}) : mergedChildren;
|
|
44
|
-
}
|
|
45
|
-
var RefSingleObserver = /*#__PURE__*/React.forwardRef(SingleObserver);
|
|
46
|
-
RefSingleObserver.displayName = 'SingleObserver';
|
|
47
|
-
var _default = exports["default"] = RefSingleObserver;
|
|
48
|
-
//# sourceMappingURL=data:application/json;charset=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iAgICAgICAgb25Db2xsZWN0aW9uUmVzaXplID09PSBudWxsIHx8IG9uQ29sbGVjdGlvblJlc2l6ZSA9PT0gdm9pZCAwID8gdm9pZCAwIDogb25Db2xsZWN0aW9uUmVzaXplKHNpemVJbmZvLCB0YXJnZXQsIGRhdGEpO1xuICAgIH0pO1xuICAgIC8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT0gUmVuZGVyID09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbiAgICByZXR1cm4gY2FuUmVmXG4gICAgICAgID8gUmVhY3QuY2xvbmVFbGVtZW50KG1lcmdlZENoaWxkcmVuLCB7XG4gICAgICAgICAgICByZWY6IG1lcmdlZFJlZixcbiAgICAgICAgfSlcbiAgICAgICAgOiBtZXJnZWRDaGlsZHJlbjtcbn1cbmNvbnN0IFJlZlNpbmdsZU9ic2VydmVyID0gUmVhY3QuZm9yd2FyZFJlZihTaW5nbGVPYnNlcnZlcik7XG5SZWZTaW5nbGVPYnNlcnZlci5kaXNwbGF5TmFtZSA9ICdTaW5nbGVPYnNlcnZlcic7XG5leHBvcnQgZGVmYXVsdCBSZWZTaW5nbGVPYnNlcnZlcjsiXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import ResizeObserver from './ResizeObserver';
|
|
2
|
-
export { default as ResizeObserver } from './ResizeObserver';
|
|
3
|
-
export default ResizeObserver;
|
|
4
|
-
export { default as useResizeObserver } from './useResizeObserver';
|
|
5
|
-
export { Collection } from './Collection';
|
|
6
|
-
export type { SizeInfo, OnResize, ResizeObserverProps } from './interface';
|
|
7
|
-
export type { ResizeInfo, CollectionProps } from './Collection';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
Object.defineProperty(exports, "Collection", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function get() {
|
|
10
|
-
return _Collection.Collection;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "ResizeObserver", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function get() {
|
|
16
|
-
return _ResizeObserver["default"];
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
exports["default"] = void 0;
|
|
20
|
-
Object.defineProperty(exports, "useResizeObserver", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function get() {
|
|
23
|
-
return _useResizeObserver["default"];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
var _ResizeObserver = _interopRequireDefault(require("./ResizeObserver"));
|
|
27
|
-
var _useResizeObserver = _interopRequireDefault(require("./useResizeObserver"));
|
|
28
|
-
var _Collection = require("./Collection");
|
|
29
|
-
var _default = exports["default"] = _ResizeObserver["default"];
|
|
30
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvUmVzaXplT2JzZXJ2ZXIvaW5kZXgudHMiXSwibmFtZXMiOlsiX1Jlc2l6ZU9ic2VydmVyIiwiX2ludGVyb3BSZXF1aXJlRGVmYXVsdCIsInJlcXVpcmUiLCJfdXNlUmVzaXplT2JzZXJ2ZXIiLCJfQ29sbGVjdGlvbiIsIl9kZWZhdWx0IiwiZXhwb3J0cyIsIlJlc2l6ZU9ic2VydmVyIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsSUFBQUEsZUFBQSxHQUFBQyxzQkFBQSxDQUFBQyxPQUFBO0FBTUEsSUFBQUMsa0JBQUEsR0FBQUYsc0JBQUEsQ0FBQUMsT0FBQTtBQUNBLElBQUFFLFdBQUEsR0FBQUYsT0FBQTtBQUEwQyxJQUFBRyxRQUFBLEdBQUFDLE9BQUEsY0FIM0JDLDBCQUFjIiwiZmlsZSI6ImNvbXBvbmVudHMvUmVzaXplT2JzZXJ2ZXIvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
export interface SizeInfo {
|
|
3
|
-
width: number;
|
|
4
|
-
height: number;
|
|
5
|
-
offsetWidth: number;
|
|
6
|
-
offsetHeight: number;
|
|
7
|
-
}
|
|
8
|
-
export type OnResize = (size: SizeInfo, element: HTMLElement) => void;
|
|
9
|
-
export interface ResizeObserverProps {
|
|
10
|
-
/** Pass to ResizeObserver.Collection with additional data */
|
|
11
|
-
data?: any;
|
|
12
|
-
children: React.ReactNode | ((ref: React.RefObject<any>) => React.ReactElement);
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
/** Trigger if element resized. Will always trigger when first time render. */
|
|
15
|
-
onResize?: OnResize;
|
|
16
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy9SZXNpemVPYnNlcnZlci9pbnRlcmZhY2UuanMiLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMiLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvUmVzaXplT2JzZXJ2ZXIvaW50ZXJmYWNlLmpzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7fTsiXSwibWFwcGluZ3MiOiIiLCJpZ25vcmVMaXN0IjpbXX0=
|