@swiftcrab/crab 0.0.3 → 0.0.5
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/README.md +1 -143
- package/package.json +7 -4
- package/es/_util/ActionButton.d.ts +0 -19
- package/es/_util/ActionButton.js +0 -47
- package/es/_util/ContextIsolator.d.ts +0 -3
- package/es/_util/ContextIsolator.js +0 -40
- package/es/_util/PurePanel.d.ts +0 -9
- package/es/_util/PurePanel.js +0 -40
- package/es/_util/aria-data-attrs.d.ts +0 -4
- package/es/_util/aria-data-attrs.js +0 -0
- package/es/_util/capitalize.d.ts +0 -1
- package/es/_util/capitalize.js +0 -1
- package/es/_util/colors.d.ts +0 -13
- package/es/_util/colors.js +0 -1
- package/es/_util/easings.d.ts +0 -1
- package/es/_util/easings.js +0 -1
- package/es/_util/extendsObject.d.ts +0 -3
- package/es/_util/extendsObject.js +0 -1
- package/es/_util/gapSize.d.ts +0 -3
- package/es/_util/gapSize.js +0 -1
- package/es/_util/getAllowClear.d.ts +0 -4
- package/es/_util/getAllowClear.js +0 -1
- package/es/_util/getRenderPropValue.d.ts +0 -3
- package/es/_util/getRenderPropValue.js +0 -1
- package/es/_util/getScroll.d.ts +0 -3
- package/es/_util/getScroll.js +0 -1
- package/es/_util/hooks/useClosable.d.ts +0 -31
- package/es/_util/hooks/useClosable.js +0 -1
- package/es/_util/hooks/useForceUpdate.d.ts +0 -2
- package/es/_util/hooks/useForceUpdate.js +0 -1
- package/es/_util/hooks/useMultipleSelect.d.ts +0 -6
- package/es/_util/hooks/useMultipleSelect.js +0 -1
- package/es/_util/hooks/usePatchElement.d.ts +0 -5
- package/es/_util/hooks/usePatchElement.js +0 -1
- package/es/_util/hooks/useProxyImperativeHandle.d.ts +0 -4
- package/es/_util/hooks/useProxyImperativeHandle.js +0 -1
- package/es/_util/hooks/useSyncState.d.ts +0 -3
- package/es/_util/hooks/useSyncState.js +0 -1
- package/es/_util/hooks/useUniqueMemo.d.ts +0 -6
- package/es/_util/hooks/useUniqueMemo.js +0 -1
- package/es/_util/hooks/useZIndex.d.ts +0 -8
- package/es/_util/hooks/useZIndex.js +0 -35
- package/es/_util/isNumeric.d.ts +0 -2
- package/es/_util/isNumeric.js +0 -1
- package/es/_util/isPrimitive.d.ts +0 -2
- package/es/_util/isPrimitive.js +0 -1
- package/es/_util/motion.d.ts +0 -7
- package/es/_util/motion.js +0 -40
- package/es/_util/placements.d.ts +0 -21
- package/es/_util/placements.js +0 -1
- package/es/_util/reactNode.d.ts +0 -7
- package/es/_util/reactNode.js +0 -1
- package/es/_util/responsiveObserver.d.ts +0 -22
- package/es/_util/responsiveObserver.js +0 -35
- package/es/_util/scrollTo.d.ts +0 -10
- package/es/_util/scrollTo.js +0 -1
- package/es/_util/statusUtils.d.ts +0 -6
- package/es/_util/statusUtils.js +0 -1
- package/es/_util/styleChecker.d.ts +0 -3
- package/es/_util/styleChecker.js +0 -1
- package/es/_util/throttleByAnimationFrame.d.ts +0 -5
- package/es/_util/throttleByAnimationFrame.js +0 -1
- package/es/_util/toList.d.ts +0 -1
- package/es/_util/toList.js +0 -1
- package/es/_util/transKeys.d.ts +0 -3
- package/es/_util/transKeys.js +0 -1
- package/es/_util/type.d.ts +0 -54
- package/es/_util/type.js +0 -0
- package/es/_util/warning.d.ts +0 -31
- package/es/_util/warning.js +0 -1
- package/es/_util/wave/WaveEffect.d.ts +0 -10
- package/es/_util/wave/WaveEffect.js +0 -40
- package/es/_util/wave/index.d.ts +0 -9
- package/es/_util/wave/index.js +0 -40
- package/es/_util/wave/interface.d.ts +0 -11
- package/es/_util/wave/interface.js +0 -40
- package/es/_util/wave/style.d.ts +0 -7
- package/es/_util/wave/style.js +0 -35
- package/es/_util/wave/useWave.d.ts +0 -4
- package/es/_util/wave/useWave.js +0 -40
- package/es/_util/wave/util.d.ts +0 -2
- package/es/_util/wave/util.js +0 -1
- package/es/_util/zindexContext.d.ts +0 -3
- package/es/_util/zindexContext.js +0 -1
- package/es/affix/index.d.ts +0 -22
- package/es/affix/index.js +0 -40
- package/es/affix/style/index.d.ts +0 -11
- package/es/affix/style/index.js +0 -35
- package/es/affix/utils.d.ts +0 -4
- package/es/affix/utils.js +0 -1
- package/es/alert/Alert.d.ts +0 -42
- package/es/alert/Alert.js +0 -42
- package/es/alert/ErrorBoundary.d.ts +0 -24
- package/es/alert/ErrorBoundary.js +0 -42
- package/es/alert/index.d.ts +0 -8
- package/es/alert/index.js +0 -42
- package/es/alert/style/index.d.ts +0 -26
- package/es/alert/style/index.js +0 -37
- package/es/anchor/Anchor.d.ts +0 -59
- package/es/anchor/Anchor.js +0 -40
- package/es/anchor/AnchorLink.d.ts +0 -14
- package/es/anchor/AnchorLink.js +0 -40
- package/es/anchor/context.d.ts +0 -4
- package/es/anchor/context.js +0 -1
- package/es/anchor/index.d.ts +0 -10
- package/es/anchor/index.js +0 -40
- package/es/anchor/style/index.d.ts +0 -16
- package/es/anchor/style/index.js +0 -35
- package/es/app/context.d.ts +0 -16
- package/es/app/context.js +0 -1
- package/es/app/index.d.ts +0 -16
- package/es/app/index.js +0 -76
- package/es/app/style/index.d.ts +0 -6
- package/es/app/style/index.js +0 -35
- package/es/auto-complete/index.d.ts +0 -28
- package/es/auto-complete/index.js +0 -78
- package/es/avatar/AvatarContext.d.ts +0 -9
- package/es/avatar/AvatarContext.js +0 -1
- package/es/avatar/avatar.d.ts +0 -26
- package/es/avatar/avatar.js +0 -40
- package/es/avatar/group.d.ts +0 -27
- package/es/avatar/group.js +0 -49
- package/es/avatar/index.d.ts +0 -10
- package/es/avatar/index.js +0 -49
- package/es/avatar/style/index.d.ts +0 -51
- package/es/avatar/style/index.js +0 -35
- package/es/badge/Ribbon.d.ts +0 -16
- package/es/badge/Ribbon.js +0 -40
- package/es/badge/ScrollNumber.d.ts +0 -18
- package/es/badge/ScrollNumber.js +0 -40
- package/es/badge/SingleNumber.d.ts +0 -14
- package/es/badge/SingleNumber.js +0 -1
- package/es/badge/index.d.ts +0 -41
- package/es/badge/index.js +0 -40
- package/es/badge/style/index.d.ts +0 -104
- package/es/badge/style/index.js +0 -35
- package/es/badge/style/ribbon.d.ts +0 -2
- package/es/badge/style/ribbon.js +0 -35
- package/es/breadcrumb/Breadcrumb.d.ts +0 -58
- package/es/breadcrumb/Breadcrumb.js +0 -87
- package/es/breadcrumb/BreadcrumbItem.d.ts +0 -31
- package/es/breadcrumb/BreadcrumbItem.js +0 -83
- package/es/breadcrumb/BreadcrumbSeparator.d.ts +0 -4
- package/es/breadcrumb/BreadcrumbSeparator.js +0 -40
- package/es/breadcrumb/index.d.ts +0 -4
- package/es/breadcrumb/index.js +0 -87
- package/es/breadcrumb/style/index.d.ts +0 -41
- package/es/breadcrumb/style/index.js +0 -38
- package/es/breadcrumb/useItemRender.d.ts +0 -8
- package/es/breadcrumb/useItemRender.js +0 -1
- package/es/breadcrumb/useItems.d.ts +0 -6
- package/es/breadcrumb/useItems.js +0 -1
- package/es/button/IconWrapper.d.ts +0 -9
- package/es/button/IconWrapper.js +0 -1
- package/es/button/LoadingIcon.d.ts +0 -11
- package/es/button/LoadingIcon.js +0 -1
- package/es/button/button-group.d.ts +0 -12
- package/es/button/button-group.js +0 -40
- package/es/button/button.d.ts +0 -44
- package/es/button/button.js +0 -47
- package/es/button/buttonHelpers.d.ts +0 -18
- package/es/button/buttonHelpers.js +0 -1
- package/es/button/index.d.ts +0 -6
- package/es/button/index.js +0 -47
- package/es/button/style/compact.d.ts +0 -2
- package/es/button/style/compact.js +0 -47
- package/es/button/style/group.d.ts +0 -4
- package/es/button/style/group.js +0 -1
- package/es/button/style/index.d.ts +0 -4
- package/es/button/style/index.js +0 -47
- package/es/button/style/token.d.ts +0 -233
- package/es/button/style/token.js +0 -47
- package/es/calendar/Header.d.ts +0 -17
- package/es/calendar/Header.js +0 -79
- package/es/calendar/generateCalendar.d.ts +0 -44
- package/es/calendar/generateCalendar.js +0 -118
- package/es/calendar/index.d.ts +0 -10
- package/es/calendar/index.js +0 -118
- package/es/calendar/locale/ar_EG.d.ts +0 -2
- package/es/calendar/locale/ar_EG.js +0 -1
- package/es/calendar/locale/az_AZ.d.ts +0 -2
- package/es/calendar/locale/az_AZ.js +0 -1
- package/es/calendar/locale/bg_BG.d.ts +0 -2
- package/es/calendar/locale/bg_BG.js +0 -1
- package/es/calendar/locale/bn_BD.d.ts +0 -2
- package/es/calendar/locale/bn_BD.js +0 -1
- package/es/calendar/locale/by_BY.d.ts +0 -2
- package/es/calendar/locale/by_BY.js +0 -1
- package/es/calendar/locale/ca_ES.d.ts +0 -2
- package/es/calendar/locale/ca_ES.js +0 -1
- package/es/calendar/locale/cs_CZ.d.ts +0 -2
- package/es/calendar/locale/cs_CZ.js +0 -1
- package/es/calendar/locale/da_DK.d.ts +0 -2
- package/es/calendar/locale/da_DK.js +0 -1
- package/es/calendar/locale/de_DE.d.ts +0 -2
- package/es/calendar/locale/de_DE.js +0 -1
- package/es/calendar/locale/el_GR.d.ts +0 -2
- package/es/calendar/locale/el_GR.js +0 -1
- package/es/calendar/locale/en_GB.d.ts +0 -2
- package/es/calendar/locale/en_GB.js +0 -1
- package/es/calendar/locale/en_US.d.ts +0 -2
- package/es/calendar/locale/en_US.js +0 -1
- package/es/calendar/locale/es_ES.d.ts +0 -2
- package/es/calendar/locale/es_ES.js +0 -1
- package/es/calendar/locale/et_EE.d.ts +0 -2
- package/es/calendar/locale/et_EE.js +0 -1
- package/es/calendar/locale/eu_ES.d.ts +0 -2
- package/es/calendar/locale/eu_ES.js +0 -1
- package/es/calendar/locale/fa_IR.d.ts +0 -2
- package/es/calendar/locale/fa_IR.js +0 -1
- package/es/calendar/locale/fi_FI.d.ts +0 -2
- package/es/calendar/locale/fi_FI.js +0 -1
- package/es/calendar/locale/fr_BE.d.ts +0 -2
- package/es/calendar/locale/fr_BE.js +0 -1
- package/es/calendar/locale/fr_CA.d.ts +0 -2
- package/es/calendar/locale/fr_CA.js +0 -1
- package/es/calendar/locale/fr_FR.d.ts +0 -2
- package/es/calendar/locale/fr_FR.js +0 -1
- package/es/calendar/locale/ga_IE.d.ts +0 -2
- package/es/calendar/locale/ga_IE.js +0 -1
- package/es/calendar/locale/gl_ES.d.ts +0 -2
- package/es/calendar/locale/gl_ES.js +0 -1
- package/es/calendar/locale/he_IL.d.ts +0 -2
- package/es/calendar/locale/he_IL.js +0 -1
- package/es/calendar/locale/hi_IN.d.ts +0 -2
- package/es/calendar/locale/hi_IN.js +0 -1
- package/es/calendar/locale/hr_HR.d.ts +0 -2
- package/es/calendar/locale/hr_HR.js +0 -1
- package/es/calendar/locale/hu_HU.d.ts +0 -2
- package/es/calendar/locale/hu_HU.js +0 -1
- package/es/calendar/locale/id_ID.d.ts +0 -2
- package/es/calendar/locale/id_ID.js +0 -1
- package/es/calendar/locale/is_IS.d.ts +0 -2
- package/es/calendar/locale/is_IS.js +0 -1
- package/es/calendar/locale/it_IT.d.ts +0 -2
- package/es/calendar/locale/it_IT.js +0 -1
- package/es/calendar/locale/ja_JP.d.ts +0 -2
- package/es/calendar/locale/ja_JP.js +0 -1
- package/es/calendar/locale/ka_GE.d.ts +0 -2
- package/es/calendar/locale/ka_GE.js +0 -1
- package/es/calendar/locale/kk_KZ.d.ts +0 -2
- package/es/calendar/locale/kk_KZ.js +0 -1
- package/es/calendar/locale/km_KH.d.ts +0 -2
- package/es/calendar/locale/km_KH.js +0 -1
- package/es/calendar/locale/kmr_IQ.d.ts +0 -2
- package/es/calendar/locale/kmr_IQ.js +0 -1
- package/es/calendar/locale/kn_IN.d.ts +0 -2
- package/es/calendar/locale/kn_IN.js +0 -1
- package/es/calendar/locale/ko_KR.d.ts +0 -2
- package/es/calendar/locale/ko_KR.js +0 -1
- package/es/calendar/locale/lt_LT.d.ts +0 -2
- package/es/calendar/locale/lt_LT.js +0 -1
- package/es/calendar/locale/lv_LV.d.ts +0 -2
- package/es/calendar/locale/lv_LV.js +0 -1
- package/es/calendar/locale/mk_MK.d.ts +0 -2
- package/es/calendar/locale/mk_MK.js +0 -1
- package/es/calendar/locale/ml_IN.d.ts +0 -2
- package/es/calendar/locale/ml_IN.js +0 -1
- package/es/calendar/locale/mn_MN.d.ts +0 -2
- package/es/calendar/locale/mn_MN.js +0 -1
- package/es/calendar/locale/ms_MY.d.ts +0 -2
- package/es/calendar/locale/ms_MY.js +0 -1
- package/es/calendar/locale/my_MM.d.ts +0 -2
- package/es/calendar/locale/my_MM.js +0 -1
- package/es/calendar/locale/nb_NO.d.ts +0 -2
- package/es/calendar/locale/nb_NO.js +0 -1
- package/es/calendar/locale/nl_BE.d.ts +0 -2
- package/es/calendar/locale/nl_BE.js +0 -1
- package/es/calendar/locale/nl_NL.d.ts +0 -2
- package/es/calendar/locale/nl_NL.js +0 -1
- package/es/calendar/locale/pl_PL.d.ts +0 -2
- package/es/calendar/locale/pl_PL.js +0 -1
- package/es/calendar/locale/pt_BR.d.ts +0 -2
- package/es/calendar/locale/pt_BR.js +0 -1
- package/es/calendar/locale/pt_PT.d.ts +0 -2
- package/es/calendar/locale/pt_PT.js +0 -1
- package/es/calendar/locale/ro_RO.d.ts +0 -2
- package/es/calendar/locale/ro_RO.js +0 -1
- package/es/calendar/locale/ru_RU.d.ts +0 -2
- package/es/calendar/locale/ru_RU.js +0 -1
- package/es/calendar/locale/si_LK.d.ts +0 -2
- package/es/calendar/locale/si_LK.js +0 -1
- package/es/calendar/locale/sk_SK.d.ts +0 -2
- package/es/calendar/locale/sk_SK.js +0 -1
- package/es/calendar/locale/sl_SI.d.ts +0 -2
- package/es/calendar/locale/sl_SI.js +0 -1
- package/es/calendar/locale/sr_RS.d.ts +0 -2
- package/es/calendar/locale/sr_RS.js +0 -1
- package/es/calendar/locale/sv_SE.d.ts +0 -2
- package/es/calendar/locale/sv_SE.js +0 -1
- package/es/calendar/locale/ta_IN.d.ts +0 -2
- package/es/calendar/locale/ta_IN.js +0 -1
- package/es/calendar/locale/th_TH.d.ts +0 -2
- package/es/calendar/locale/th_TH.js +0 -1
- package/es/calendar/locale/tk_TK.d.ts +0 -2
- package/es/calendar/locale/tk_TK.js +0 -1
- package/es/calendar/locale/tr_TR.d.ts +0 -2
- package/es/calendar/locale/tr_TR.js +0 -1
- package/es/calendar/locale/uk_UA.d.ts +0 -2
- package/es/calendar/locale/uk_UA.js +0 -1
- package/es/calendar/locale/ur_PK.d.ts +0 -2
- package/es/calendar/locale/ur_PK.js +0 -1
- package/es/calendar/locale/uz_UZ.d.ts +0 -2
- package/es/calendar/locale/uz_UZ.js +0 -1
- package/es/calendar/locale/vi_VN.d.ts +0 -2
- package/es/calendar/locale/vi_VN.js +0 -1
- package/es/calendar/locale/zh_CN.d.ts +0 -2
- package/es/calendar/locale/zh_CN.js +0 -1
- package/es/calendar/locale/zh_TW.d.ts +0 -2
- package/es/calendar/locale/zh_TW.js +0 -1
- package/es/calendar/style/index.d.ts +0 -61
- package/es/calendar/style/index.js +0 -86
- package/es/card/Card.d.ts +0 -56
- package/es/card/Card.js +0 -67
- package/es/card/Grid.d.ts +0 -9
- package/es/card/Grid.js +0 -40
- package/es/card/Meta.d.ts +0 -11
- package/es/card/Meta.js +0 -40
- package/es/card/index.d.ts +0 -13
- package/es/card/index.js +0 -67
- package/es/card/style/index.d.ts +0 -51
- package/es/card/style/index.js +0 -44
- package/es/carousel/index.d.ts +0 -27
- package/es/carousel/index.js +0 -40
- package/es/carousel/style/index.d.ts +0 -43
- package/es/carousel/style/index.js +0 -35
- package/es/cascader/Panel.d.ts +0 -12
- package/es/cascader/Panel.js +0 -49
- package/es/cascader/hooks/useBase.d.ts +0 -8
- package/es/cascader/hooks/useBase.js +0 -40
- package/es/cascader/hooks/useCheckable.d.ts +0 -2
- package/es/cascader/hooks/useCheckable.js +0 -1
- package/es/cascader/hooks/useColumnIcons.d.ts +0 -3
- package/es/cascader/hooks/useColumnIcons.js +0 -1
- package/es/cascader/index.d.ts +0 -55
- package/es/cascader/index.js +0 -87
- package/es/cascader/style/columns.d.ts +0 -4
- package/es/cascader/style/columns.js +0 -44
- package/es/cascader/style/index.d.ts +0 -51
- package/es/cascader/style/index.js +0 -44
- package/es/cascader/style/panel.d.ts +0 -2
- package/es/cascader/style/panel.js +0 -44
- package/es/checkbox/Checkbox.d.ts +0 -43
- package/es/checkbox/Checkbox.js +0 -46
- package/es/checkbox/Group.d.ts +0 -32
- package/es/checkbox/Group.js +0 -46
- package/es/checkbox/GroupContext.d.ts +0 -12
- package/es/checkbox/GroupContext.js +0 -1
- package/es/checkbox/index.d.ts +0 -11
- package/es/checkbox/index.js +0 -46
- package/es/checkbox/style/index.d.ts +0 -23
- package/es/checkbox/style/index.js +0 -41
- package/es/checkbox/useBubbleLock.d.ts +0 -7
- package/es/checkbox/useBubbleLock.js +0 -1
- package/es/col/index.d.ts +0 -4
- package/es/col/index.js +0 -40
- package/es/col/style/index.d.ts +0 -2
- package/es/col/style/index.js +0 -1
- package/es/collapse/Collapse.d.ts +0 -45
- package/es/collapse/Collapse.js +0 -47
- package/es/collapse/CollapsePanel.d.ts +0 -19
- package/es/collapse/CollapsePanel.js +0 -40
- package/es/collapse/index.d.ts +0 -4
- package/es/collapse/index.js +0 -47
- package/es/collapse/style/index.d.ts +0 -46
- package/es/collapse/style/index.js +0 -42
- package/es/color-picker/ColorPicker.d.ts +0 -8
- package/es/color-picker/ColorPicker.js +0 -130
- package/es/color-picker/ColorPickerPanel.d.ts +0 -9
- package/es/color-picker/ColorPickerPanel.js +0 -130
- package/es/color-picker/color.d.ts +0 -34
- package/es/color-picker/color.js +0 -1
- package/es/color-picker/components/ColorAlphaInput.d.ts +0 -9
- package/es/color-picker/components/ColorAlphaInput.js +0 -70
- package/es/color-picker/components/ColorClear.d.ts +0 -9
- package/es/color-picker/components/ColorClear.js +0 -1
- package/es/color-picker/components/ColorHexInput.d.ts +0 -9
- package/es/color-picker/components/ColorHexInput.js +0 -65
- package/es/color-picker/components/ColorHsbInput.d.ts +0 -9
- package/es/color-picker/components/ColorHsbInput.js +0 -70
- package/es/color-picker/components/ColorInput.d.ts +0 -14
- package/es/color-picker/components/ColorInput.js +0 -115
- package/es/color-picker/components/ColorPresets.d.ts +0 -12
- package/es/color-picker/components/ColorPresets.js +0 -47
- package/es/color-picker/components/ColorRgbInput.d.ts +0 -9
- package/es/color-picker/components/ColorRgbInput.js +0 -70
- package/es/color-picker/components/ColorSlider.d.ts +0 -20
- package/es/color-picker/components/ColorSlider.js +0 -61
- package/es/color-picker/components/ColorSteppers.d.ts +0 -15
- package/es/color-picker/components/ColorSteppers.js +0 -70
- package/es/color-picker/components/ColorTrigger.d.ts +0 -20
- package/es/color-picker/components/ColorTrigger.js +0 -1
- package/es/color-picker/components/PanelPicker/GradientColorBar.d.ts +0 -8
- package/es/color-picker/components/PanelPicker/GradientColorBar.js +0 -61
- package/es/color-picker/components/PanelPicker/index.d.ts +0 -3
- package/es/color-picker/components/PanelPicker/index.js +0 -130
- package/es/color-picker/components/PanelPresets.d.ts +0 -3
- package/es/color-picker/components/PanelPresets.js +0 -47
- package/es/color-picker/context.d.ts +0 -38
- package/es/color-picker/context.js +0 -1
- package/es/color-picker/hooks/useModeColor.d.ts +0 -17
- package/es/color-picker/hooks/useModeColor.js +0 -1
- package/es/color-picker/index.d.ts +0 -4
- package/es/color-picker/index.js +0 -130
- package/es/color-picker/interface.d.ts +0 -73
- package/es/color-picker/interface.js +0 -1
- package/es/color-picker/style/color-block.d.ts +0 -8
- package/es/color-picker/style/color-block.js +0 -1
- package/es/color-picker/style/index.d.ts +0 -62
- package/es/color-picker/style/index.js +0 -35
- package/es/color-picker/style/input.d.ts +0 -5
- package/es/color-picker/style/input.js +0 -1
- package/es/color-picker/style/picker.d.ts +0 -5
- package/es/color-picker/style/picker.js +0 -1
- package/es/color-picker/style/presets.d.ts +0 -5
- package/es/color-picker/style/presets.js +0 -1
- package/es/color-picker/style/slider.d.ts +0 -5
- package/es/color-picker/style/slider.js +0 -1
- package/es/color-picker/util.d.ts +0 -15
- package/es/color-picker/util.js +0 -1
- package/es/config-provider/DisabledContext.d.ts +0 -8
- package/es/config-provider/DisabledContext.js +0 -1
- package/es/config-provider/MotionWrapper.d.ts +0 -5
- package/es/config-provider/MotionWrapper.js +0 -35
- package/es/config-provider/PropWarning.d.ts +0 -6
- package/es/config-provider/PropWarning.js +0 -1
- package/es/config-provider/SizeContext.d.ts +0 -9
- package/es/config-provider/SizeContext.js +0 -1
- package/es/config-provider/UnstableContext.d.ts +0 -10
- package/es/config-provider/UnstableContext.js +0 -1
- package/es/config-provider/context.d.ts +0 -248
- package/es/config-provider/context.js +0 -1
- package/es/config-provider/cssVariables.d.ts +0 -3
- package/es/config-provider/cssVariables.js +0 -6
- package/es/config-provider/defaultRenderEmpty.d.ts +0 -8
- package/es/config-provider/defaultRenderEmpty.js +0 -41
- package/es/config-provider/hooks/useCSSVarCls.d.ts +0 -7
- package/es/config-provider/hooks/useCSSVarCls.js +0 -35
- package/es/config-provider/hooks/useConfig.d.ts +0 -5
- package/es/config-provider/hooks/useConfig.js +0 -1
- package/es/config-provider/hooks/useSize.d.ts +0 -3
- package/es/config-provider/hooks/useSize.js +0 -1
- package/es/config-provider/hooks/useTheme.d.ts +0 -4
- package/es/config-provider/hooks/useTheme.js +0 -35
- package/es/config-provider/hooks/useThemeKey.d.ts +0 -3
- package/es/config-provider/hooks/useThemeKey.js +0 -1
- package/es/config-provider/index.d.ts +0 -139
- package/es/config-provider/index.js +0 -40
- package/es/config-provider/style/index.d.ts +0 -1
- package/es/config-provider/style/index.js +0 -35
- package/es/copy/index.d.ts +0 -13
- package/es/copy/index.js +0 -1
- package/es/date-picker/PickerButton.d.ts +0 -4
- package/es/date-picker/PickerButton.js +0 -47
- package/es/date-picker/generatePicker/constant.d.ts +0 -5
- package/es/date-picker/generatePicker/constant.js +0 -1
- package/es/date-picker/generatePicker/generateRangePicker.d.ts +0 -17
- package/es/date-picker/generatePicker/generateRangePicker.js +0 -98
- package/es/date-picker/generatePicker/generateSinglePicker.d.ts +0 -25
- package/es/date-picker/generatePicker/generateSinglePicker.js +0 -98
- package/es/date-picker/generatePicker/index.d.ts +0 -36
- package/es/date-picker/generatePicker/index.js +0 -98
- package/es/date-picker/generatePicker/interface.d.ts +0 -72
- package/es/date-picker/generatePicker/interface.js +0 -0
- package/es/date-picker/generatePicker/useComponents.d.ts +0 -13
- package/es/date-picker/generatePicker/useComponents.js +0 -47
- package/es/date-picker/index.d.ts +0 -48
- package/es/date-picker/index.js +0 -98
- package/es/date-picker/locale/ar_EG.d.ts +0 -3
- package/es/date-picker/locale/ar_EG.js +0 -1
- package/es/date-picker/locale/az_AZ.d.ts +0 -3
- package/es/date-picker/locale/az_AZ.js +0 -1
- package/es/date-picker/locale/bg_BG.d.ts +0 -3
- package/es/date-picker/locale/bg_BG.js +0 -1
- package/es/date-picker/locale/bn_BD.d.ts +0 -3
- package/es/date-picker/locale/bn_BD.js +0 -1
- package/es/date-picker/locale/by_BY.d.ts +0 -3
- package/es/date-picker/locale/by_BY.js +0 -1
- package/es/date-picker/locale/ca_ES.d.ts +0 -3
- package/es/date-picker/locale/ca_ES.js +0 -1
- package/es/date-picker/locale/cs_CZ.d.ts +0 -3
- package/es/date-picker/locale/cs_CZ.js +0 -1
- package/es/date-picker/locale/da_DK.d.ts +0 -3
- package/es/date-picker/locale/da_DK.js +0 -1
- package/es/date-picker/locale/de_DE.d.ts +0 -3
- package/es/date-picker/locale/de_DE.js +0 -1
- package/es/date-picker/locale/el_GR.d.ts +0 -3
- package/es/date-picker/locale/el_GR.js +0 -1
- package/es/date-picker/locale/en_GB.d.ts +0 -3
- package/es/date-picker/locale/en_GB.js +0 -1
- package/es/date-picker/locale/en_US.d.ts +0 -3
- package/es/date-picker/locale/en_US.js +0 -1
- package/es/date-picker/locale/es_ES.d.ts +0 -3
- package/es/date-picker/locale/es_ES.js +0 -1
- package/es/date-picker/locale/et_EE.d.ts +0 -3
- package/es/date-picker/locale/et_EE.js +0 -1
- package/es/date-picker/locale/eu_ES.d.ts +0 -3
- package/es/date-picker/locale/eu_ES.js +0 -1
- package/es/date-picker/locale/fa_IR.d.ts +0 -3
- package/es/date-picker/locale/fa_IR.js +0 -1
- package/es/date-picker/locale/fi_FI.d.ts +0 -3
- package/es/date-picker/locale/fi_FI.js +0 -1
- package/es/date-picker/locale/fr_BE.d.ts +0 -3
- package/es/date-picker/locale/fr_BE.js +0 -1
- package/es/date-picker/locale/fr_CA.d.ts +0 -3
- package/es/date-picker/locale/fr_CA.js +0 -1
- package/es/date-picker/locale/fr_FR.d.ts +0 -3
- package/es/date-picker/locale/fr_FR.js +0 -1
- package/es/date-picker/locale/ga_IE.d.ts +0 -3
- package/es/date-picker/locale/ga_IE.js +0 -1
- package/es/date-picker/locale/gl_ES.d.ts +0 -3
- package/es/date-picker/locale/gl_ES.js +0 -1
- package/es/date-picker/locale/he_IL.d.ts +0 -3
- package/es/date-picker/locale/he_IL.js +0 -1
- package/es/date-picker/locale/hi_IN.d.ts +0 -3
- package/es/date-picker/locale/hi_IN.js +0 -1
- package/es/date-picker/locale/hr_HR.d.ts +0 -3
- package/es/date-picker/locale/hr_HR.js +0 -1
- package/es/date-picker/locale/hu_HU.d.ts +0 -3
- package/es/date-picker/locale/hu_HU.js +0 -1
- package/es/date-picker/locale/id_ID.d.ts +0 -3
- package/es/date-picker/locale/id_ID.js +0 -1
- package/es/date-picker/locale/is_IS.d.ts +0 -3
- package/es/date-picker/locale/is_IS.js +0 -1
- package/es/date-picker/locale/it_IT.d.ts +0 -3
- package/es/date-picker/locale/it_IT.js +0 -1
- package/es/date-picker/locale/ja_JP.d.ts +0 -3
- package/es/date-picker/locale/ja_JP.js +0 -1
- package/es/date-picker/locale/ka_GE.d.ts +0 -3
- package/es/date-picker/locale/ka_GE.js +0 -1
- package/es/date-picker/locale/kk_KZ.d.ts +0 -3
- package/es/date-picker/locale/kk_KZ.js +0 -1
- package/es/date-picker/locale/km_KH.d.ts +0 -3
- package/es/date-picker/locale/km_KH.js +0 -1
- package/es/date-picker/locale/kmr_IQ.d.ts +0 -3
- package/es/date-picker/locale/kmr_IQ.js +0 -1
- package/es/date-picker/locale/kn_IN.d.ts +0 -3
- package/es/date-picker/locale/kn_IN.js +0 -1
- package/es/date-picker/locale/ko_KR.d.ts +0 -3
- package/es/date-picker/locale/ko_KR.js +0 -1
- package/es/date-picker/locale/lt_LT.d.ts +0 -3
- package/es/date-picker/locale/lt_LT.js +0 -1
- package/es/date-picker/locale/lv_LV.d.ts +0 -3
- package/es/date-picker/locale/lv_LV.js +0 -1
- package/es/date-picker/locale/mk_MK.d.ts +0 -3
- package/es/date-picker/locale/mk_MK.js +0 -1
- package/es/date-picker/locale/ml_IN.d.ts +0 -3
- package/es/date-picker/locale/ml_IN.js +0 -1
- package/es/date-picker/locale/mn_MN.d.ts +0 -3
- package/es/date-picker/locale/mn_MN.js +0 -1
- package/es/date-picker/locale/ms_MY.d.ts +0 -3
- package/es/date-picker/locale/ms_MY.js +0 -1
- package/es/date-picker/locale/my_MM.d.ts +0 -3
- package/es/date-picker/locale/my_MM.js +0 -1
- package/es/date-picker/locale/nb_NO.d.ts +0 -3
- package/es/date-picker/locale/nb_NO.js +0 -1
- package/es/date-picker/locale/nl_BE.d.ts +0 -3
- package/es/date-picker/locale/nl_BE.js +0 -1
- package/es/date-picker/locale/nl_NL.d.ts +0 -3
- package/es/date-picker/locale/nl_NL.js +0 -1
- package/es/date-picker/locale/pl_PL.d.ts +0 -3
- package/es/date-picker/locale/pl_PL.js +0 -1
- package/es/date-picker/locale/pt_BR.d.ts +0 -3
- package/es/date-picker/locale/pt_BR.js +0 -1
- package/es/date-picker/locale/pt_PT.d.ts +0 -3
- package/es/date-picker/locale/pt_PT.js +0 -1
- package/es/date-picker/locale/ro_RO.d.ts +0 -3
- package/es/date-picker/locale/ro_RO.js +0 -1
- package/es/date-picker/locale/ru_RU.d.ts +0 -4
- package/es/date-picker/locale/ru_RU.js +0 -1
- package/es/date-picker/locale/si_LK.d.ts +0 -3
- package/es/date-picker/locale/si_LK.js +0 -1
- package/es/date-picker/locale/sk_SK.d.ts +0 -3
- package/es/date-picker/locale/sk_SK.js +0 -1
- package/es/date-picker/locale/sl_SI.d.ts +0 -3
- package/es/date-picker/locale/sl_SI.js +0 -1
- package/es/date-picker/locale/sr_RS.d.ts +0 -3
- package/es/date-picker/locale/sr_RS.js +0 -1
- package/es/date-picker/locale/sv_SE.d.ts +0 -3
- package/es/date-picker/locale/sv_SE.js +0 -1
- package/es/date-picker/locale/ta_IN.d.ts +0 -3
- package/es/date-picker/locale/ta_IN.js +0 -1
- package/es/date-picker/locale/th_TH.d.ts +0 -3
- package/es/date-picker/locale/th_TH.js +0 -1
- package/es/date-picker/locale/tk_TK.d.ts +0 -3
- package/es/date-picker/locale/tk_TK.js +0 -1
- package/es/date-picker/locale/tr_TR.d.ts +0 -3
- package/es/date-picker/locale/tr_TR.js +0 -1
- package/es/date-picker/locale/uk_UA.d.ts +0 -3
- package/es/date-picker/locale/uk_UA.js +0 -1
- package/es/date-picker/locale/ur_PK.d.ts +0 -3
- package/es/date-picker/locale/ur_PK.js +0 -1
- package/es/date-picker/locale/uz_UZ.d.ts +0 -3
- package/es/date-picker/locale/uz_UZ.js +0 -1
- package/es/date-picker/locale/vi_VN.d.ts +0 -3
- package/es/date-picker/locale/vi_VN.js +0 -1
- package/es/date-picker/locale/zh_CN.d.ts +0 -3
- package/es/date-picker/locale/zh_CN.js +0 -1
- package/es/date-picker/locale/zh_TW.d.ts +0 -3
- package/es/date-picker/locale/zh_TW.js +0 -1
- package/es/date-picker/style/index.d.ts +0 -7
- package/es/date-picker/style/index.js +0 -86
- package/es/date-picker/style/multiple.d.ts +0 -4
- package/es/date-picker/style/multiple.js +0 -35
- package/es/date-picker/style/panel.d.ts +0 -6
- package/es/date-picker/style/panel.js +0 -12
- package/es/date-picker/style/token.d.ts +0 -103
- package/es/date-picker/style/token.js +0 -35
- package/es/date-picker/style/variants.d.ts +0 -4
- package/es/date-picker/style/variants.js +0 -35
- package/es/date-picker/util.d.ts +0 -8
- package/es/date-picker/util.js +0 -1
- package/es/descriptions/Cell.d.ts +0 -17
- package/es/descriptions/Cell.js +0 -1
- package/es/descriptions/DescriptionsContext.d.ts +0 -7
- package/es/descriptions/DescriptionsContext.js +0 -1
- package/es/descriptions/Item.d.ts +0 -13
- package/es/descriptions/Item.js +0 -1
- package/es/descriptions/Row.d.ts +0 -13
- package/es/descriptions/Row.js +0 -1
- package/es/descriptions/constant.d.ts +0 -3
- package/es/descriptions/constant.js +0 -1
- package/es/descriptions/hooks/useItems.d.ts +0 -4
- package/es/descriptions/hooks/useItems.js +0 -35
- package/es/descriptions/hooks/useRow.d.ts +0 -3
- package/es/descriptions/hooks/useRow.js +0 -1
- package/es/descriptions/index.d.ts +0 -42
- package/es/descriptions/index.js +0 -40
- package/es/descriptions/style/index.d.ts +0 -52
- package/es/descriptions/style/index.js +0 -35
- package/es/divider/index.d.ts +0 -20
- package/es/divider/index.js +0 -40
- package/es/divider/style/index.d.ts +0 -23
- package/es/divider/style/index.js +0 -35
- package/es/drag/SortableBoard.d.ts +0 -4
- package/es/drag/SortableBoard.js +0 -1
- package/es/drag/SortableBoardProvider.d.ts +0 -14
- package/es/drag/SortableBoardProvider.js +0 -1
- package/es/drag/SortableList.d.ts +0 -8
- package/es/drag/SortableList.js +0 -1
- package/es/drag/SortableZone.d.ts +0 -7
- package/es/drag/SortableZone.js +0 -1
- package/es/drag/SortableZoneShared.d.ts +0 -36
- package/es/drag/SortableZoneShared.js +0 -1
- package/es/drag/index.d.ts +0 -12
- package/es/drag/index.js +0 -1
- package/es/drag/type.d.ts +0 -362
- package/es/drag/type.js +0 -0
- package/es/drawer/DrawerPanel.d.ts +0 -49
- package/es/drawer/DrawerPanel.js +0 -54
- package/es/drawer/index.d.ts +0 -34
- package/es/drawer/index.js +0 -54
- package/es/drawer/style/index.d.ts +0 -23
- package/es/drawer/style/index.js +0 -35
- package/es/drawer/style/motion.d.ts +0 -4
- package/es/drawer/style/motion.js +0 -1
- package/es/dropdown/dropdown-button.d.ts +0 -21
- package/es/dropdown/dropdown-button.js +0 -88
- package/es/dropdown/dropdown.d.ts +0 -50
- package/es/dropdown/dropdown.js +0 -83
- package/es/dropdown/index.d.ts +0 -8
- package/es/dropdown/index.js +0 -88
- package/es/dropdown/style/index.d.ts +0 -40
- package/es/dropdown/style/index.js +0 -64
- package/es/dropdown/style/status.d.ts +0 -4
- package/es/dropdown/style/status.js +0 -1
- package/es/empty/empty.d.ts +0 -3
- package/es/empty/empty.js +0 -36
- package/es/empty/index.d.ts +0 -21
- package/es/empty/index.js +0 -41
- package/es/empty/simple.d.ts +0 -3
- package/es/empty/simple.js +0 -36
- package/es/empty/style/index.d.ts +0 -5
- package/es/empty/style/index.js +0 -35
- package/es/flex/index.d.ts +0 -4
- package/es/flex/index.js +0 -40
- package/es/flex/interface.d.ts +0 -15
- package/es/flex/interface.js +0 -0
- package/es/flex/style/index.d.ts +0 -30
- package/es/flex/style/index.js +0 -35
- package/es/flex/utils.d.ts +0 -6
- package/es/flex/utils.js +0 -1
- package/es/form/ErrorList.d.ts +0 -13
- package/es/form/ErrorList.js +0 -50
- package/es/form/Form.d.ts +0 -43
- package/es/form/Form.js +0 -50
- package/es/form/FormItem/ItemHolder.d.ts +0 -18
- package/es/form/FormItem/ItemHolder.js +0 -59
- package/es/form/FormItem/StatusProvider.d.ts +0 -16
- package/es/form/FormItem/StatusProvider.js +0 -1
- package/es/form/FormItem/index.d.ts +0 -46
- package/es/form/FormItem/index.js +0 -59
- package/es/form/FormItemInput.d.ts +0 -22
- package/es/form/FormItemInput.js +0 -50
- package/es/form/FormItemLabel.d.ts +0 -22
- package/es/form/FormItemLabel.js +0 -49
- package/es/form/FormList.d.ts +0 -25
- package/es/form/FormList.js +0 -40
- package/es/form/context.d.ts +0 -52
- package/es/form/context.js +0 -1
- package/es/form/hooks/useChildren.d.ts +0 -2
- package/es/form/hooks/useChildren.js +0 -1
- package/es/form/hooks/useDebounce.d.ts +0 -1
- package/es/form/hooks/useDebounce.js +0 -1
- package/es/form/hooks/useForm.d.ts +0 -8
- package/es/form/hooks/useForm.js +0 -1
- package/es/form/hooks/useFormInstance.d.ts +0 -2
- package/es/form/hooks/useFormInstance.js +0 -1
- package/es/form/hooks/useFormItemStatus.d.ts +0 -9
- package/es/form/hooks/useFormItemStatus.js +0 -1
- package/es/form/hooks/useFormWarning.d.ts +0 -2
- package/es/form/hooks/useFormWarning.js +0 -1
- package/es/form/hooks/useFrameState.d.ts +0 -3
- package/es/form/hooks/useFrameState.js +0 -1
- package/es/form/hooks/useItemRef.d.ts +0 -3
- package/es/form/hooks/useItemRef.js +0 -1
- package/es/form/hooks/useVariants.d.ts +0 -7
- package/es/form/hooks/useVariants.js +0 -40
- package/es/form/index.d.ts +0 -26
- package/es/form/index.js +0 -59
- package/es/form/interface.d.ts +0 -3
- package/es/form/interface.js +0 -0
- package/es/form/style/explain.d.ts +0 -4
- package/es/form/style/explain.js +0 -3
- package/es/form/style/fallbackCmp.d.ts +0 -6
- package/es/form/style/fallbackCmp.js +0 -45
- package/es/form/style/index.d.ts +0 -74
- package/es/form/style/index.js +0 -45
- package/es/form/util.d.ts +0 -9
- package/es/form/util.js +0 -1
- package/es/form/validateMessagesContext.d.ts +0 -3
- package/es/form/validateMessagesContext.js +0 -1
- package/es/form-area/ValidateTooltip.d.ts +0 -12
- package/es/form-area/ValidateTooltip.js +0 -353
- package/es/form-area/index.d.ts +0 -4
- package/es/form-area/index.js +0 -353
- package/es/form-area/renderItemMap.d.ts +0 -45
- package/es/form-area/renderItemMap.js +0 -353
- package/es/form-area/type.d.ts +0 -160
- package/es/form-area/type.js +0 -0
- package/es/grid/RowContext.d.ts +0 -6
- package/es/grid/RowContext.js +0 -1
- package/es/grid/col.d.ts +0 -29
- package/es/grid/col.js +0 -40
- package/es/grid/hooks/useBreakpoint.d.ts +0 -3
- package/es/grid/hooks/useBreakpoint.js +0 -35
- package/es/grid/index.d.ts +0 -10
- package/es/grid/index.js +0 -40
- package/es/grid/row.d.ts +0 -20
- package/es/grid/row.js +0 -40
- package/es/grid/style/index.d.ts +0 -7
- package/es/grid/style/index.js +0 -35
- package/es/hooks/index.d.ts +0 -5
- package/es/hooks/index.js +0 -353
- package/es/hooks/useDrawer.d.ts +0 -10
- package/es/hooks/useDrawer.js +0 -1
- package/es/hooks/useForm.d.ts +0 -36
- package/es/hooks/useForm.js +0 -353
- package/es/hooks/useModal.d.ts +0 -10
- package/es/hooks/useModal.js +0 -1
- package/es/hooks/useParsedHash.d.ts +0 -7
- package/es/hooks/useParsedHash.js +0 -1
- package/es/hooks/useUrlState.d.ts +0 -9
- package/es/hooks/useUrlState.js +0 -1
- package/es/icon/index.d.ts +0 -2
- package/es/icon/index.js +0 -1
- package/es/image/PreviewGroup.d.ts +0 -15
- package/es/image/PreviewGroup.js +0 -54
- package/es/image/index.d.ts +0 -9
- package/es/image/index.js +0 -54
- package/es/image/style/index.d.ts +0 -59
- package/es/image/style/index.js +0 -49
- package/es/index.d.ts +0 -151
- package/es/index.js +0 -356
- package/es/input/Group.d.ts +0 -15
- package/es/input/Group.js +0 -58
- package/es/input/Input.d.ts +0 -25
- package/es/input/Input.js +0 -58
- package/es/input/OTP/OTPInput.d.ts +0 -11
- package/es/input/OTP/OTPInput.js +0 -58
- package/es/input/OTP/index.d.ts +0 -29
- package/es/input/OTP/index.js +0 -58
- package/es/input/Password.d.ts +0 -14
- package/es/input/Password.js +0 -58
- package/es/input/Search.d.ts +0 -12
- package/es/input/Search.js +0 -65
- package/es/input/TextArea.d.ts +0 -25
- package/es/input/TextArea.js +0 -58
- package/es/input/hooks/useRemovePasswordTimeout.d.ts +0 -2
- package/es/input/hooks/useRemovePasswordTimeout.js +0 -1
- package/es/input/index.d.ts +0 -20
- package/es/input/index.js +0 -65
- package/es/input/style/index.d.ts +0 -17
- package/es/input/style/index.js +0 -53
- package/es/input/style/otp.d.ts +0 -2
- package/es/input/style/otp.js +0 -35
- package/es/input/style/token.d.ts +0 -97
- package/es/input/style/token.js +0 -35
- package/es/input/style/variants.d.ts +0 -15
- package/es/input/style/variants.js +0 -35
- package/es/input/utils.d.ts +0 -8
- package/es/input/utils.js +0 -1
- package/es/input-number/index.d.ts +0 -34
- package/es/input-number/index.js +0 -70
- package/es/input-number/style/index.d.ts +0 -18
- package/es/input-number/style/index.js +0 -65
- package/es/input-number/style/token.d.ts +0 -52
- package/es/input-number/style/token.js +0 -35
- package/es/layout/Sider.d.ts +0 -28
- package/es/layout/Sider.js +0 -40
- package/es/layout/context.d.ts +0 -8
- package/es/layout/context.js +0 -1
- package/es/layout/hooks/useHasSider.d.ts +0 -2
- package/es/layout/hooks/useHasSider.js +0 -40
- package/es/layout/index.d.ts +0 -15
- package/es/layout/index.js +0 -40
- package/es/layout/layout.d.ts +0 -18
- package/es/layout/layout.js +0 -40
- package/es/layout/style/index.d.ts +0 -96
- package/es/layout/style/index.js +0 -35
- package/es/layout/style/sider.d.ts +0 -2
- package/es/layout/style/sider.js +0 -35
- package/es/list/Item.d.ts +0 -35
- package/es/list/Item.js +0 -40
- package/es/list/context.d.ts +0 -8
- package/es/list/context.js +0 -1
- package/es/list/index.d.ts +0 -56
- package/es/list/index.js +0 -111
- package/es/list/style/index.d.ts +0 -62
- package/es/list/style/index.js +0 -35
- package/es/locale/ar_EG.d.ts +0 -3
- package/es/locale/ar_EG.js +0 -1
- package/es/locale/az_AZ.d.ts +0 -3
- package/es/locale/az_AZ.js +0 -1
- package/es/locale/bg_BG.d.ts +0 -3
- package/es/locale/bg_BG.js +0 -1
- package/es/locale/bn_BD.d.ts +0 -3
- package/es/locale/bn_BD.js +0 -1
- package/es/locale/by_BY.d.ts +0 -3
- package/es/locale/by_BY.js +0 -1
- package/es/locale/ca_ES.d.ts +0 -3
- package/es/locale/ca_ES.js +0 -1
- package/es/locale/context.d.ts +0 -6
- package/es/locale/context.js +0 -1
- package/es/locale/cs_CZ.d.ts +0 -3
- package/es/locale/cs_CZ.js +0 -1
- package/es/locale/da_DK.d.ts +0 -3
- package/es/locale/da_DK.js +0 -1
- package/es/locale/de_DE.d.ts +0 -3
- package/es/locale/de_DE.js +0 -1
- package/es/locale/el_GR.d.ts +0 -3
- package/es/locale/el_GR.js +0 -1
- package/es/locale/en_GB.d.ts +0 -3
- package/es/locale/en_GB.js +0 -1
- package/es/locale/en_US.d.ts +0 -3
- package/es/locale/en_US.js +0 -1
- package/es/locale/es_ES.d.ts +0 -3
- package/es/locale/es_ES.js +0 -1
- package/es/locale/et_EE.d.ts +0 -3
- package/es/locale/et_EE.js +0 -1
- package/es/locale/eu_ES.d.ts +0 -3
- package/es/locale/eu_ES.js +0 -1
- package/es/locale/fa_IR.d.ts +0 -3
- package/es/locale/fa_IR.js +0 -1
- package/es/locale/fi_FI.d.ts +0 -3
- package/es/locale/fi_FI.js +0 -1
- package/es/locale/fr_BE.d.ts +0 -3
- package/es/locale/fr_BE.js +0 -1
- package/es/locale/fr_CA.d.ts +0 -3
- package/es/locale/fr_CA.js +0 -1
- package/es/locale/fr_FR.d.ts +0 -3
- package/es/locale/fr_FR.js +0 -1
- package/es/locale/ga_IE.d.ts +0 -3
- package/es/locale/ga_IE.js +0 -1
- package/es/locale/gl_ES.d.ts +0 -3
- package/es/locale/gl_ES.js +0 -1
- package/es/locale/he_IL.d.ts +0 -3
- package/es/locale/he_IL.js +0 -1
- package/es/locale/hi_IN.d.ts +0 -3
- package/es/locale/hi_IN.js +0 -1
- package/es/locale/hr_HR.d.ts +0 -3
- package/es/locale/hr_HR.js +0 -1
- package/es/locale/hu_HU.d.ts +0 -3
- package/es/locale/hu_HU.js +0 -1
- package/es/locale/hy_AM.d.ts +0 -3
- package/es/locale/hy_AM.js +0 -2
- package/es/locale/id_ID.d.ts +0 -3
- package/es/locale/id_ID.js +0 -1
- package/es/locale/index.d.ts +0 -61
- package/es/locale/index.js +0 -1
- package/es/locale/is_IS.d.ts +0 -3
- package/es/locale/is_IS.js +0 -1
- package/es/locale/it_IT.d.ts +0 -3
- package/es/locale/it_IT.js +0 -1
- package/es/locale/ja_JP.d.ts +0 -3
- package/es/locale/ja_JP.js +0 -1
- package/es/locale/ka_GE.d.ts +0 -3
- package/es/locale/ka_GE.js +0 -1
- package/es/locale/kk_KZ.d.ts +0 -3
- package/es/locale/kk_KZ.js +0 -1
- package/es/locale/km_KH.d.ts +0 -3
- package/es/locale/km_KH.js +0 -1
- package/es/locale/kmr_IQ.d.ts +0 -3
- package/es/locale/kmr_IQ.js +0 -1
- package/es/locale/kn_IN.d.ts +0 -3
- package/es/locale/kn_IN.js +0 -1
- package/es/locale/ko_KR.d.ts +0 -3
- package/es/locale/ko_KR.js +0 -1
- package/es/locale/ku_IQ.d.ts +0 -3
- package/es/locale/ku_IQ.js +0 -1
- package/es/locale/lt_LT.d.ts +0 -3
- package/es/locale/lt_LT.js +0 -1
- package/es/locale/lv_LV.d.ts +0 -3
- package/es/locale/lv_LV.js +0 -1
- package/es/locale/mk_MK.d.ts +0 -3
- package/es/locale/mk_MK.js +0 -1
- package/es/locale/ml_IN.d.ts +0 -3
- package/es/locale/ml_IN.js +0 -1
- package/es/locale/mn_MN.d.ts +0 -3
- package/es/locale/mn_MN.js +0 -1
- package/es/locale/ms_MY.d.ts +0 -3
- package/es/locale/ms_MY.js +0 -1
- package/es/locale/my_MM.d.ts +0 -3
- package/es/locale/my_MM.js +0 -1
- package/es/locale/nb_NO.d.ts +0 -3
- package/es/locale/nb_NO.js +0 -1
- package/es/locale/ne_NP.d.ts +0 -3
- package/es/locale/ne_NP.js +0 -1
- package/es/locale/nl_BE.d.ts +0 -3
- package/es/locale/nl_BE.js +0 -1
- package/es/locale/nl_NL.d.ts +0 -3
- package/es/locale/nl_NL.js +0 -1
- package/es/locale/pl_PL.d.ts +0 -3
- package/es/locale/pl_PL.js +0 -1
- package/es/locale/pt_BR.d.ts +0 -3
- package/es/locale/pt_BR.js +0 -1
- package/es/locale/pt_PT.d.ts +0 -3
- package/es/locale/pt_PT.js +0 -1
- package/es/locale/ro_RO.d.ts +0 -3
- package/es/locale/ro_RO.js +0 -1
- package/es/locale/ru_RU.d.ts +0 -3
- package/es/locale/ru_RU.js +0 -1
- package/es/locale/si_LK.d.ts +0 -3
- package/es/locale/si_LK.js +0 -1
- package/es/locale/sk_SK.d.ts +0 -3
- package/es/locale/sk_SK.js +0 -1
- package/es/locale/sl_SI.d.ts +0 -3
- package/es/locale/sl_SI.js +0 -1
- package/es/locale/sr_RS.d.ts +0 -3
- package/es/locale/sr_RS.js +0 -1
- package/es/locale/sv_SE.d.ts +0 -3
- package/es/locale/sv_SE.js +0 -1
- package/es/locale/ta_IN.d.ts +0 -3
- package/es/locale/ta_IN.js +0 -1
- package/es/locale/th_TH.d.ts +0 -3
- package/es/locale/th_TH.js +0 -1
- package/es/locale/tk_TK.d.ts +0 -3
- package/es/locale/tk_TK.js +0 -1
- package/es/locale/tr_TR.d.ts +0 -3
- package/es/locale/tr_TR.js +0 -1
- package/es/locale/uk_UA.d.ts +0 -3
- package/es/locale/uk_UA.js +0 -1
- package/es/locale/ur_PK.d.ts +0 -3
- package/es/locale/ur_PK.js +0 -1
- package/es/locale/useLocale.d.ts +0 -4
- package/es/locale/useLocale.js +0 -1
- package/es/locale/uz_UZ.d.ts +0 -3
- package/es/locale/uz_UZ.js +0 -1
- package/es/locale/vi_VN.d.ts +0 -3
- package/es/locale/vi_VN.js +0 -1
- package/es/locale/zh_CN.d.ts +0 -3
- package/es/locale/zh_CN.js +0 -1
- package/es/locale/zh_HK.d.ts +0 -3
- package/es/locale/zh_HK.js +0 -1
- package/es/locale/zh_TW.d.ts +0 -3
- package/es/locale/zh_TW.js +0 -1
- package/es/mentions/index.d.ts +0 -45
- package/es/mentions/index.js +0 -58
- package/es/mentions/style/index.d.ts +0 -22
- package/es/mentions/style/index.js +0 -53
- package/es/menu/MenuContext.d.ts +0 -11
- package/es/menu/MenuContext.js +0 -1
- package/es/menu/MenuDivider.d.ts +0 -9
- package/es/menu/MenuDivider.js +0 -40
- package/es/menu/MenuItem.d.ts +0 -13
- package/es/menu/MenuItem.js +0 -49
- package/es/menu/OverrideContext.d.ts +0 -13
- package/es/menu/OverrideContext.js +0 -40
- package/es/menu/SubMenu.d.ts +0 -13
- package/es/menu/SubMenu.js +0 -35
- package/es/menu/index.d.ts +0 -32
- package/es/menu/index.js +0 -66
- package/es/menu/interface.d.ts +0 -20
- package/es/menu/interface.js +0 -0
- package/es/menu/menu.d.ts +0 -19
- package/es/menu/menu.js +0 -66
- package/es/menu/style/horizontal.d.ts +0 -4
- package/es/menu/style/horizontal.js +0 -3
- package/es/menu/style/index.d.ts +0 -354
- package/es/menu/style/index.js +0 -61
- package/es/menu/style/rtl.d.ts +0 -5
- package/es/menu/style/rtl.js +0 -2
- package/es/menu/style/theme.d.ts +0 -4
- package/es/menu/style/theme.js +0 -1
- package/es/menu/style/vertical.d.ts +0 -4
- package/es/menu/style/vertical.js +0 -9
- package/es/message/PurePanel.d.ts +0 -23
- package/es/message/PurePanel.js +0 -47
- package/es/message/index.d.ts +0 -23
- package/es/message/index.js +0 -47
- package/es/message/interface.d.ts +0 -66
- package/es/message/interface.js +0 -0
- package/es/message/style/index.d.ts +0 -23
- package/es/message/style/index.js +0 -42
- package/es/message/useMessage.d.ts +0 -8
- package/es/message/useMessage.js +0 -47
- package/es/message/util.d.ts +0 -4
- package/es/message/util.js +0 -1
- package/es/modal/ConfirmDialog.d.ts +0 -32
- package/es/modal/ConfirmDialog.js +0 -69
- package/es/modal/Modal.d.ts +0 -4
- package/es/modal/Modal.js +0 -68
- package/es/modal/PurePanel.d.ts +0 -9
- package/es/modal/PurePanel.js +0 -69
- package/es/modal/components/ConfirmCancelBtn.d.ts +0 -10
- package/es/modal/components/ConfirmCancelBtn.js +0 -47
- package/es/modal/components/ConfirmOkBtn.d.ts +0 -9
- package/es/modal/components/ConfirmOkBtn.js +0 -47
- package/es/modal/components/NormalCancelBtn.d.ts +0 -8
- package/es/modal/components/NormalCancelBtn.js +0 -47
- package/es/modal/components/NormalOkBtn.d.ts +0 -8
- package/es/modal/components/NormalOkBtn.js +0 -47
- package/es/modal/confirm.d.ts +0 -20
- package/es/modal/confirm.js +0 -69
- package/es/modal/context.d.ts +0 -8
- package/es/modal/context.js +0 -1
- package/es/modal/destroyFns.d.ts +0 -2
- package/es/modal/destroyFns.js +0 -1
- package/es/modal/index.d.ts +0 -15
- package/es/modal/index.js +0 -69
- package/es/modal/interface.d.ts +0 -123
- package/es/modal/interface.js +0 -0
- package/es/modal/locale.d.ts +0 -7
- package/es/modal/locale.js +0 -1
- package/es/modal/shared.d.ts +0 -9
- package/es/modal/shared.js +0 -47
- package/es/modal/style/confirm.d.ts +0 -2
- package/es/modal/style/confirm.js +0 -50
- package/es/modal/style/index.d.ts +0 -110
- package/es/modal/style/index.js +0 -49
- package/es/modal/useModal/HookModal.d.ts +0 -17
- package/es/modal/useModal/HookModal.js +0 -69
- package/es/modal/useModal/index.d.ts +0 -8
- package/es/modal/useModal/index.js +0 -69
- package/es/notification/PurePanel.d.ts +0 -27
- package/es/notification/PurePanel.js +0 -40
- package/es/notification/index.d.ts +0 -22
- package/es/notification/index.js +0 -40
- package/es/notification/interface.d.ts +0 -68
- package/es/notification/interface.js +0 -1
- package/es/notification/style/index.d.ts +0 -89
- package/es/notification/style/index.js +0 -35
- package/es/notification/style/placement.d.ts +0 -5
- package/es/notification/style/placement.js +0 -1
- package/es/notification/style/pure-panel.d.ts +0 -2
- package/es/notification/style/pure-panel.js +0 -35
- package/es/notification/style/stack.d.ts +0 -4
- package/es/notification/style/stack.js +0 -1
- package/es/notification/useNotification.d.ts +0 -8
- package/es/notification/useNotification.js +0 -40
- package/es/notification/util.d.ts +0 -5
- package/es/notification/util.js +0 -1
- package/es/pagination/Pagination.d.ts +0 -25
- package/es/pagination/Pagination.js +0 -111
- package/es/pagination/index.d.ts +0 -3
- package/es/pagination/index.js +0 -111
- package/es/pagination/style/bordered.d.ts +0 -2
- package/es/pagination/style/bordered.js +0 -68
- package/es/pagination/style/index.d.ts +0 -99
- package/es/pagination/style/index.js +0 -68
- package/es/pagination/useShowSizeChanger.d.ts +0 -3
- package/es/pagination/useShowSizeChanger.js +0 -1
- package/es/popconfirm/PurePanel.d.ts +0 -20
- package/es/popconfirm/PurePanel.js +0 -56
- package/es/popconfirm/index.d.ts +0 -30
- package/es/popconfirm/index.js +0 -56
- package/es/popconfirm/style/index.d.ts +0 -17
- package/es/popconfirm/style/index.js +0 -35
- package/es/popover/PurePanel.d.ts +0 -17
- package/es/popover/PurePanel.js +0 -49
- package/es/popover/index.d.ts +0 -15
- package/es/popover/index.js +0 -49
- package/es/popover/style/index.d.ts +0 -46
- package/es/popover/style/index.js +0 -44
- package/es/progress/Circle.d.ts +0 -10
- package/es/progress/Circle.js +0 -49
- package/es/progress/Line.d.ts +0 -36
- package/es/progress/Line.js +0 -35
- package/es/progress/Steps.d.ts +0 -9
- package/es/progress/Steps.js +0 -1
- package/es/progress/index.d.ts +0 -3
- package/es/progress/index.js +0 -49
- package/es/progress/progress.d.ts +0 -58
- package/es/progress/progress.js +0 -49
- package/es/progress/style/index.d.ts +0 -38
- package/es/progress/style/index.js +0 -35
- package/es/progress/utils.d.ts +0 -10
- package/es/progress/utils.js +0 -1
- package/es/qr-code/QrcodeStatus.d.ts +0 -11
- package/es/qr-code/QrcodeStatus.js +0 -47
- package/es/qr-code/index.d.ts +0 -4
- package/es/qr-code/index.js +0 -47
- package/es/qr-code/interface.d.ts +0 -29
- package/es/qr-code/interface.js +0 -0
- package/es/qr-code/style/index.d.ts +0 -6
- package/es/qr-code/style/index.js +0 -35
- package/es/qrcode/index.d.ts +0 -2
- package/es/qrcode/index.js +0 -47
- package/es/qrcode/interface.d.ts +0 -1
- package/es/qrcode/interface.js +0 -0
- package/es/qrcode/style/index.d.ts +0 -1
- package/es/qrcode/style/index.js +0 -35
- package/es/radio/context.d.ts +0 -7
- package/es/radio/context.js +0 -1
- package/es/radio/group.d.ts +0 -4
- package/es/radio/group.js +0 -41
- package/es/radio/index.d.ts +0 -11
- package/es/radio/index.js +0 -41
- package/es/radio/interface.d.ts +0 -43
- package/es/radio/interface.js +0 -0
- package/es/radio/radio.d.ts +0 -4
- package/es/radio/radio.js +0 -41
- package/es/radio/radioButton.d.ts +0 -6
- package/es/radio/radioButton.js +0 -41
- package/es/radio/style/index.d.ts +0 -76
- package/es/radio/style/index.js +0 -36
- package/es/rate/index.d.ts +0 -8
- package/es/rate/index.js +0 -49
- package/es/rate/style/index.d.ts +0 -27
- package/es/rate/style/index.js +0 -35
- package/es/result/index.d.ts +0 -33
- package/es/result/index.js +0 -40
- package/es/result/noFound.d.ts +0 -3
- package/es/result/noFound.js +0 -1
- package/es/result/serverError.d.ts +0 -3
- package/es/result/serverError.js +0 -1
- package/es/result/style/index.d.ts +0 -27
- package/es/result/style/index.js +0 -35
- package/es/result/unauthorized.d.ts +0 -3
- package/es/result/unauthorized.js +0 -1
- package/es/row/index.d.ts +0 -4
- package/es/row/index.js +0 -40
- package/es/row/style/index.d.ts +0 -2
- package/es/row/style/index.js +0 -1
- package/es/search-area/index.d.ts +0 -5
- package/es/search-area/index.js +0 -353
- package/es/search-area/style/index.d.ts +0 -2
- package/es/search-area/style/index.js +0 -1
- package/es/segmented/index.d.ts +0 -26
- package/es/segmented/index.js +0 -40
- package/es/segmented/style/index.d.ts +0 -46
- package/es/segmented/style/index.js +0 -35
- package/es/select/index.d.ts +0 -57
- package/es/select/index.js +0 -78
- package/es/select/mergedBuiltinPlacements.d.ts +0 -4
- package/es/select/mergedBuiltinPlacements.js +0 -1
- package/es/select/style/dropdown.d.ts +0 -4
- package/es/select/style/dropdown.js +0 -24
- package/es/select/style/index.d.ts +0 -4
- package/es/select/style/index.js +0 -73
- package/es/select/style/multiple.d.ts +0 -32
- package/es/select/style/multiple.js +0 -40
- package/es/select/style/single.d.ts +0 -3
- package/es/select/style/single.js +0 -45
- package/es/select/style/token.d.ts +0 -138
- package/es/select/style/token.js +0 -1
- package/es/select/style/variants.d.ts +0 -4
- package/es/select/style/variants.js +0 -1
- package/es/select/useIcons.d.ts +0 -26
- package/es/select/useIcons.js +0 -1
- package/es/select/useShowArrow.d.ts +0 -8
- package/es/select/useShowArrow.js +0 -1
- package/es/skeleton/Avatar.d.ts +0 -7
- package/es/skeleton/Avatar.js +0 -47
- package/es/skeleton/Button.d.ts +0 -8
- package/es/skeleton/Button.js +0 -47
- package/es/skeleton/Element.d.ts +0 -12
- package/es/skeleton/Element.js +0 -1
- package/es/skeleton/Image.d.ts +0 -6
- package/es/skeleton/Image.js +0 -48
- package/es/skeleton/Input.d.ts +0 -8
- package/es/skeleton/Input.js +0 -47
- package/es/skeleton/Node.d.ts +0 -8
- package/es/skeleton/Node.js +0 -47
- package/es/skeleton/Paragraph.d.ts +0 -11
- package/es/skeleton/Paragraph.js +0 -1
- package/es/skeleton/Skeleton.d.ts +0 -32
- package/es/skeleton/Skeleton.js +0 -48
- package/es/skeleton/Title.d.ts +0 -9
- package/es/skeleton/Title.js +0 -1
- package/es/skeleton/index.d.ts +0 -3
- package/es/skeleton/index.js +0 -48
- package/es/skeleton/style/index.d.ts +0 -40
- package/es/skeleton/style/index.js +0 -42
- package/es/slider/Context.d.ts +0 -9
- package/es/slider/Context.js +0 -1
- package/es/slider/SliderTooltip.d.ts +0 -8
- package/es/slider/SliderTooltip.js +0 -49
- package/es/slider/index.d.ts +0 -97
- package/es/slider/index.js +0 -61
- package/es/slider/style/index.d.ts +0 -97
- package/es/slider/style/index.js +0 -47
- package/es/slider/useRafLock.d.ts +0 -1
- package/es/slider/useRafLock.js +0 -1
- package/es/space/Compact.d.ts +0 -25
- package/es/space/Compact.js +0 -40
- package/es/space/Item.d.ts +0 -10
- package/es/space/Item.js +0 -1
- package/es/space/context.d.ts +0 -6
- package/es/space/context.js +0 -1
- package/es/space/index.d.ts +0 -28
- package/es/space/index.js +0 -40
- package/es/space/style/compact.d.ts +0 -8
- package/es/space/style/compact.js +0 -1
- package/es/space/style/index.d.ts +0 -7
- package/es/space/style/index.js +0 -35
- package/es/spin/Indicator/Looper.d.ts +0 -6
- package/es/spin/Indicator/Looper.js +0 -1
- package/es/spin/Indicator/Progress.d.ts +0 -7
- package/es/spin/Indicator/Progress.js +0 -1
- package/es/spin/Indicator/index.d.ts +0 -7
- package/es/spin/Indicator/index.js +0 -1
- package/es/spin/index.d.ts +0 -36
- package/es/spin/index.js +0 -40
- package/es/spin/style/index.d.ts +0 -26
- package/es/spin/style/index.js +0 -35
- package/es/spin/usePercent.d.ts +0 -1
- package/es/spin/usePercent.js +0 -1
- package/es/splitter/Panel.d.ts +0 -7
- package/es/splitter/Panel.js +0 -1
- package/es/splitter/SplitBar.d.ts +0 -19
- package/es/splitter/SplitBar.js +0 -1
- package/es/splitter/Splitter.d.ts +0 -4
- package/es/splitter/Splitter.js +0 -40
- package/es/splitter/hooks/useItems.d.ts +0 -12
- package/es/splitter/hooks/useItems.js +0 -1
- package/es/splitter/hooks/useResizable.d.ts +0 -7
- package/es/splitter/hooks/useResizable.js +0 -1
- package/es/splitter/hooks/useResize.d.ts +0 -6
- package/es/splitter/hooks/useResize.js +0 -1
- package/es/splitter/hooks/useSizes.d.ts +0 -8
- package/es/splitter/hooks/useSizes.js +0 -1
- package/es/splitter/index.d.ts +0 -8
- package/es/splitter/index.js +0 -40
- package/es/splitter/interface.d.ts +0 -64
- package/es/splitter/interface.js +0 -0
- package/es/splitter/style/index.d.ts +0 -27
- package/es/splitter/style/index.js +0 -35
- package/es/statistic/Countdown.d.ts +0 -10
- package/es/statistic/Countdown.js +0 -48
- package/es/statistic/Number.d.ts +0 -8
- package/es/statistic/Number.js +0 -1
- package/es/statistic/Statistic.d.ts +0 -21
- package/es/statistic/Statistic.js +0 -48
- package/es/statistic/index.d.ts +0 -11
- package/es/statistic/index.js +0 -48
- package/es/statistic/interface.d.ts +0 -0
- package/es/statistic/interface.js +0 -0
- package/es/statistic/style/index.d.ts +0 -16
- package/es/statistic/style/index.js +0 -35
- package/es/statistic/utils.d.ts +0 -15
- package/es/statistic/utils.js +0 -1
- package/es/steps/index.d.ts +0 -39
- package/es/steps/index.js +0 -49
- package/es/steps/style/custom-icon.d.ts +0 -5
- package/es/steps/style/custom-icon.js +0 -1
- package/es/steps/style/horizontal.d.ts +0 -5
- package/es/steps/style/horizontal.js +0 -1
- package/es/steps/style/index.d.ts +0 -102
- package/es/steps/style/index.js +0 -35
- package/es/steps/style/inline.d.ts +0 -5
- package/es/steps/style/inline.js +0 -1
- package/es/steps/style/label-placement.d.ts +0 -5
- package/es/steps/style/label-placement.js +0 -1
- package/es/steps/style/nav.d.ts +0 -5
- package/es/steps/style/nav.js +0 -1
- package/es/steps/style/progress-dot.d.ts +0 -5
- package/es/steps/style/progress-dot.js +0 -1
- package/es/steps/style/progress.d.ts +0 -5
- package/es/steps/style/progress.js +0 -1
- package/es/steps/style/rtl.d.ts +0 -5
- package/es/steps/style/rtl.js +0 -1
- package/es/steps/style/small.d.ts +0 -5
- package/es/steps/style/small.js +0 -1
- package/es/steps/style/vertical.d.ts +0 -5
- package/es/steps/style/vertical.js +0 -1
- package/es/steps/useLegacyItems.d.ts +0 -3
- package/es/steps/useLegacyItems.js +0 -1
- package/es/style/compact-item-vertical.d.ts +0 -3
- package/es/style/compact-item-vertical.js +0 -1
- package/es/style/compact-item.d.ts +0 -17
- package/es/style/compact-item.js +0 -1
- package/es/style/index.d.ts +0 -12
- package/es/style/index.js +0 -1
- package/es/style/motion/collapse.d.ts +0 -3
- package/es/style/motion/collapse.js +0 -3
- package/es/style/motion/fade.d.ts +0 -6
- package/es/style/motion/fade.js +0 -10
- package/es/style/motion/index.d.ts +0 -6
- package/es/style/motion/index.js +0 -21
- package/es/style/motion/motion.d.ts +0 -2
- package/es/style/motion/motion.js +0 -7
- package/es/style/motion/move.d.ts +0 -14
- package/es/style/motion/move.js +0 -10
- package/es/style/motion/slide.d.ts +0 -14
- package/es/style/motion/slide.js +0 -10
- package/es/style/motion/zoom.d.ts +0 -18
- package/es/style/motion/zoom.js +0 -10
- package/es/style/placementArrow.d.ts +0 -19
- package/es/style/placementArrow.js +0 -1
- package/es/style/roundedArrow.d.ts +0 -7
- package/es/style/roundedArrow.js +0 -1
- package/es/switch/index.d.ts +0 -37
- package/es/switch/index.js +0 -40
- package/es/switch/style/index.d.ts +0 -71
- package/es/switch/style/index.js +0 -35
- package/es/table/Column.d.ts +0 -8
- package/es/table/Column.js +0 -1
- package/es/table/ColumnGroup.d.ts +0 -10
- package/es/table/ColumnGroup.js +0 -1
- package/es/table/ExpandIcon.d.ts +0 -12
- package/es/table/ExpandIcon.js +0 -1
- package/es/table/InternalTable.d.ts +0 -32
- package/es/table/InternalTable.js +0 -216
- package/es/table/RcTable/VirtualTable.d.ts +0 -5
- package/es/table/RcTable/VirtualTable.js +0 -1
- package/es/table/RcTable/index.d.ts +0 -5
- package/es/table/RcTable/index.js +0 -1
- package/es/table/Table.d.ts +0 -17
- package/es/table/Table.js +0 -216
- package/es/table/hooks/useContainerWidth.d.ts +0 -1
- package/es/table/hooks/useContainerWidth.js +0 -1
- package/es/table/hooks/useFilter/FilterDropdown.d.ts +0 -31
- package/es/table/hooks/useFilter/FilterDropdown.js +0 -113
- package/es/table/hooks/useFilter/FilterSearch.d.ts +0 -12
- package/es/table/hooks/useFilter/FilterSearch.js +0 -65
- package/es/table/hooks/useFilter/FilterWrapper.d.ts +0 -8
- package/es/table/hooks/useFilter/FilterWrapper.js +0 -1
- package/es/table/hooks/useFilter/index.d.ts +0 -22
- package/es/table/hooks/useFilter/index.js +0 -113
- package/es/table/hooks/useLazyKVMap.d.ts +0 -4
- package/es/table/hooks/useLazyKVMap.js +0 -1
- package/es/table/hooks/usePagination.d.ts +0 -5
- package/es/table/hooks/usePagination.js +0 -1
- package/es/table/hooks/useSelection.d.ts +0 -20
- package/es/table/hooks/useSelection.js +0 -95
- package/es/table/hooks/useSorter.d.ts +0 -19
- package/es/table/hooks/useSorter.js +0 -49
- package/es/table/hooks/useTitleColumns.d.ts +0 -4
- package/es/table/hooks/useTitleColumns.js +0 -1
- package/es/table/index.d.ts +0 -7
- package/es/table/index.js +0 -216
- package/es/table/interface.d.ts +0 -194
- package/es/table/interface.js +0 -1
- package/es/table/style/bordered.d.ts +0 -5
- package/es/table/style/bordered.js +0 -10
- package/es/table/style/ellipsis.d.ts +0 -5
- package/es/table/style/ellipsis.js +0 -4
- package/es/table/style/empty.d.ts +0 -5
- package/es/table/style/empty.js +0 -1
- package/es/table/style/expand.d.ts +0 -5
- package/es/table/style/expand.js +0 -1
- package/es/table/style/filter.d.ts +0 -4
- package/es/table/style/filter.js +0 -1
- package/es/table/style/fixed.d.ts +0 -5
- package/es/table/style/fixed.js +0 -21
- package/es/table/style/index.d.ts +0 -202
- package/es/table/style/index.js +0 -97
- package/es/table/style/pagination.d.ts +0 -5
- package/es/table/style/pagination.js +0 -1
- package/es/table/style/radius.d.ts +0 -5
- package/es/table/style/radius.js +0 -1
- package/es/table/style/rtl.d.ts +0 -5
- package/es/table/style/rtl.js +0 -1
- package/es/table/style/selection.d.ts +0 -5
- package/es/table/style/selection.js +0 -5
- package/es/table/style/size.d.ts +0 -5
- package/es/table/style/size.js +0 -10
- package/es/table/style/sorter.d.ts +0 -5
- package/es/table/style/sorter.js +0 -4
- package/es/table/style/sticky.d.ts +0 -5
- package/es/table/style/sticky.js +0 -1
- package/es/table/style/summary.d.ts +0 -5
- package/es/table/style/summary.js +0 -1
- package/es/table/style/virtual.d.ts +0 -5
- package/es/table/style/virtual.js +0 -4
- package/es/table/util.d.ts +0 -13
- package/es/table/util.js +0 -1
- package/es/tabs/TabPane.d.ts +0 -5
- package/es/tabs/TabPane.js +0 -1
- package/es/tabs/hooks/useAnimateConfig.d.ts +0 -3
- package/es/tabs/hooks/useAnimateConfig.js +0 -40
- package/es/tabs/hooks/useLegacyItems.d.ts +0 -4
- package/es/tabs/hooks/useLegacyItems.js +0 -1
- package/es/tabs/index.d.ts +0 -29
- package/es/tabs/index.js +0 -51
- package/es/tabs/style/index.d.ts +0 -136
- package/es/tabs/style/index.js +0 -46
- package/es/tabs/style/motion.d.ts +0 -4
- package/es/tabs/style/motion.js +0 -10
- package/es/tag/CheckableTag.d.ts +0 -17
- package/es/tag/CheckableTag.js +0 -40
- package/es/tag/index.d.ts +0 -27
- package/es/tag/index.js +0 -40
- package/es/tag/style/index.d.ts +0 -25
- package/es/tag/style/index.js +0 -35
- package/es/tag/style/presetCmp.d.ts +0 -2
- package/es/tag/style/presetCmp.js +0 -35
- package/es/tag/style/statusCmp.d.ts +0 -2
- package/es/tag/style/statusCmp.js +0 -35
- package/es/theme/context.d.ts +0 -31
- package/es/theme/context.js +0 -3
- package/es/theme/getDesignToken.d.ts +0 -4
- package/es/theme/getDesignToken.js +0 -35
- package/es/theme/index.d.ts +0 -35
- package/es/theme/index.js +0 -35
- package/es/theme/interface/alias.d.ts +0 -545
- package/es/theme/interface/alias.js +0 -0
- package/es/theme/interface/components.d.ts +0 -131
- package/es/theme/interface/components.js +0 -0
- package/es/theme/interface/cssinjs-utils.d.ts +0 -10
- package/es/theme/interface/cssinjs-utils.js +0 -0
- package/es/theme/interface/index.d.ts +0 -15
- package/es/theme/interface/index.js +0 -1
- package/es/theme/interface/maps/colors.d.ts +0 -530
- package/es/theme/interface/maps/colors.js +0 -0
- package/es/theme/interface/maps/font.d.ts +0 -117
- package/es/theme/interface/maps/font.js +0 -0
- package/es/theme/interface/maps/index.d.ts +0 -29
- package/es/theme/interface/maps/index.js +0 -0
- package/es/theme/interface/maps/size.d.ts +0 -69
- package/es/theme/interface/maps/size.js +0 -0
- package/es/theme/interface/maps/style.d.ts +0 -42
- package/es/theme/interface/maps/style.js +0 -0
- package/es/theme/interface/presetColors.d.ts +0 -11
- package/es/theme/interface/presetColors.js +0 -1
- package/es/theme/interface/seeds.d.ts +0 -225
- package/es/theme/interface/seeds.js +0 -0
- package/es/theme/internal.d.ts +0 -13
- package/es/theme/internal.js +0 -35
- package/es/theme/themes/ColorMap.d.ts +0 -15
- package/es/theme/themes/ColorMap.js +0 -0
- package/es/theme/themes/compact/genCompactSizeMapToken.d.ts +0 -2
- package/es/theme/themes/compact/genCompactSizeMapToken.js +0 -1
- package/es/theme/themes/compact/index.d.ts +0 -4
- package/es/theme/themes/compact/index.js +0 -1
- package/es/theme/themes/dark/colorAlgorithm.d.ts +0 -2
- package/es/theme/themes/dark/colorAlgorithm.js +0 -1
- package/es/theme/themes/dark/colors.d.ts +0 -3
- package/es/theme/themes/dark/colors.js +0 -1
- package/es/theme/themes/dark/index.d.ts +0 -4
- package/es/theme/themes/dark/index.js +0 -1
- package/es/theme/themes/default/colorAlgorithm.d.ts +0 -2
- package/es/theme/themes/default/colorAlgorithm.js +0 -1
- package/es/theme/themes/default/colors.d.ts +0 -3
- package/es/theme/themes/default/colors.js +0 -1
- package/es/theme/themes/default/index.d.ts +0 -2
- package/es/theme/themes/default/index.js +0 -1
- package/es/theme/themes/seed.d.ts +0 -4
- package/es/theme/themes/seed.js +0 -3
- package/es/theme/themes/shared/genColorMapToken.d.ts +0 -8
- package/es/theme/themes/shared/genColorMapToken.js +0 -1
- package/es/theme/themes/shared/genCommonMapToken.d.ts +0 -2
- package/es/theme/themes/shared/genCommonMapToken.js +0 -1
- package/es/theme/themes/shared/genControlHeight.d.ts +0 -3
- package/es/theme/themes/shared/genControlHeight.js +0 -1
- package/es/theme/themes/shared/genFontMapToken.d.ts +0 -3
- package/es/theme/themes/shared/genFontMapToken.js +0 -1
- package/es/theme/themes/shared/genFontSizes.d.ts +0 -5
- package/es/theme/themes/shared/genFontSizes.js +0 -1
- package/es/theme/themes/shared/genRadius.d.ts +0 -3
- package/es/theme/themes/shared/genRadius.js +0 -1
- package/es/theme/themes/shared/genSizeMapToken.d.ts +0 -2
- package/es/theme/themes/shared/genSizeMapToken.js +0 -1
- package/es/theme/useToken.d.ts +0 -19
- package/es/theme/useToken.js +0 -35
- package/es/theme/util/alias.d.ts +0 -12
- package/es/theme/util/alias.js +0 -35
- package/es/theme/util/genPresetColor.d.ts +0 -15
- package/es/theme/util/genPresetColor.js +0 -1
- package/es/theme/util/genStyleUtils.d.ts +0 -26
- package/es/theme/util/genStyleUtils.js +0 -35
- package/es/theme/util/getAlphaColor.d.ts +0 -2
- package/es/theme/util/getAlphaColor.js +0 -1
- package/es/theme/util/useResetIconStyle.d.ts +0 -3
- package/es/theme/util/useResetIconStyle.js +0 -35
- package/es/time-picker/index.d.ts +0 -30
- package/es/time-picker/index.js +0 -98
- package/es/time-picker/locale/ar_EG.d.ts +0 -3
- package/es/time-picker/locale/ar_EG.js +0 -1
- package/es/time-picker/locale/az_AZ.d.ts +0 -3
- package/es/time-picker/locale/az_AZ.js +0 -1
- package/es/time-picker/locale/bg_BG.d.ts +0 -3
- package/es/time-picker/locale/bg_BG.js +0 -1
- package/es/time-picker/locale/bn_BD.d.ts +0 -3
- package/es/time-picker/locale/bn_BD.js +0 -1
- package/es/time-picker/locale/by_BY.d.ts +0 -3
- package/es/time-picker/locale/by_BY.js +0 -1
- package/es/time-picker/locale/ca_ES.d.ts +0 -3
- package/es/time-picker/locale/ca_ES.js +0 -1
- package/es/time-picker/locale/cs_CZ.d.ts +0 -3
- package/es/time-picker/locale/cs_CZ.js +0 -1
- package/es/time-picker/locale/da_DK.d.ts +0 -3
- package/es/time-picker/locale/da_DK.js +0 -1
- package/es/time-picker/locale/de_DE.d.ts +0 -3
- package/es/time-picker/locale/de_DE.js +0 -1
- package/es/time-picker/locale/el_GR.d.ts +0 -3
- package/es/time-picker/locale/el_GR.js +0 -1
- package/es/time-picker/locale/en_GB.d.ts +0 -3
- package/es/time-picker/locale/en_GB.js +0 -1
- package/es/time-picker/locale/en_US.d.ts +0 -3
- package/es/time-picker/locale/en_US.js +0 -1
- package/es/time-picker/locale/es_ES.d.ts +0 -3
- package/es/time-picker/locale/es_ES.js +0 -1
- package/es/time-picker/locale/et_EE.d.ts +0 -3
- package/es/time-picker/locale/et_EE.js +0 -1
- package/es/time-picker/locale/eu_ES.d.ts +0 -3
- package/es/time-picker/locale/eu_ES.js +0 -1
- package/es/time-picker/locale/fa_IR.d.ts +0 -3
- package/es/time-picker/locale/fa_IR.js +0 -1
- package/es/time-picker/locale/fi_FI.d.ts +0 -3
- package/es/time-picker/locale/fi_FI.js +0 -1
- package/es/time-picker/locale/fr_BE.d.ts +0 -3
- package/es/time-picker/locale/fr_BE.js +0 -1
- package/es/time-picker/locale/fr_CA.d.ts +0 -3
- package/es/time-picker/locale/fr_CA.js +0 -1
- package/es/time-picker/locale/fr_FR.d.ts +0 -3
- package/es/time-picker/locale/fr_FR.js +0 -1
- package/es/time-picker/locale/ga_IE.d.ts +0 -3
- package/es/time-picker/locale/ga_IE.js +0 -1
- package/es/time-picker/locale/gl_ES.d.ts +0 -3
- package/es/time-picker/locale/gl_ES.js +0 -1
- package/es/time-picker/locale/he_IL.d.ts +0 -3
- package/es/time-picker/locale/he_IL.js +0 -1
- package/es/time-picker/locale/hi_IN.d.ts +0 -3
- package/es/time-picker/locale/hi_IN.js +0 -1
- package/es/time-picker/locale/hr_HR.d.ts +0 -3
- package/es/time-picker/locale/hr_HR.js +0 -1
- package/es/time-picker/locale/hu_HU.d.ts +0 -3
- package/es/time-picker/locale/hu_HU.js +0 -1
- package/es/time-picker/locale/id_ID.d.ts +0 -3
- package/es/time-picker/locale/id_ID.js +0 -1
- package/es/time-picker/locale/is_IS.d.ts +0 -3
- package/es/time-picker/locale/is_IS.js +0 -1
- package/es/time-picker/locale/it_IT.d.ts +0 -3
- package/es/time-picker/locale/it_IT.js +0 -1
- package/es/time-picker/locale/ja_JP.d.ts +0 -3
- package/es/time-picker/locale/ja_JP.js +0 -1
- package/es/time-picker/locale/ka_GE.d.ts +0 -3
- package/es/time-picker/locale/ka_GE.js +0 -1
- package/es/time-picker/locale/kk_KZ.d.ts +0 -3
- package/es/time-picker/locale/kk_KZ.js +0 -1
- package/es/time-picker/locale/km_KH.d.ts +0 -3
- package/es/time-picker/locale/km_KH.js +0 -1
- package/es/time-picker/locale/kmr_IQ.d.ts +0 -3
- package/es/time-picker/locale/kmr_IQ.js +0 -1
- package/es/time-picker/locale/kn_IN.d.ts +0 -3
- package/es/time-picker/locale/kn_IN.js +0 -1
- package/es/time-picker/locale/ko_KR.d.ts +0 -3
- package/es/time-picker/locale/ko_KR.js +0 -1
- package/es/time-picker/locale/lt_LT.d.ts +0 -3
- package/es/time-picker/locale/lt_LT.js +0 -1
- package/es/time-picker/locale/lv_LV.d.ts +0 -3
- package/es/time-picker/locale/lv_LV.js +0 -1
- package/es/time-picker/locale/mk_MK.d.ts +0 -3
- package/es/time-picker/locale/mk_MK.js +0 -1
- package/es/time-picker/locale/ml_IN.d.ts +0 -3
- package/es/time-picker/locale/ml_IN.js +0 -1
- package/es/time-picker/locale/mn_MN.d.ts +0 -3
- package/es/time-picker/locale/mn_MN.js +0 -1
- package/es/time-picker/locale/ms_MY.d.ts +0 -3
- package/es/time-picker/locale/ms_MY.js +0 -1
- package/es/time-picker/locale/my_MM.d.ts +0 -3
- package/es/time-picker/locale/my_MM.js +0 -1
- package/es/time-picker/locale/nb_NO.d.ts +0 -3
- package/es/time-picker/locale/nb_NO.js +0 -1
- package/es/time-picker/locale/nl_BE.d.ts +0 -3
- package/es/time-picker/locale/nl_BE.js +0 -1
- package/es/time-picker/locale/nl_NL.d.ts +0 -3
- package/es/time-picker/locale/nl_NL.js +0 -1
- package/es/time-picker/locale/pl_PL.d.ts +0 -3
- package/es/time-picker/locale/pl_PL.js +0 -1
- package/es/time-picker/locale/pt_BR.d.ts +0 -3
- package/es/time-picker/locale/pt_BR.js +0 -1
- package/es/time-picker/locale/pt_PT.d.ts +0 -3
- package/es/time-picker/locale/pt_PT.js +0 -1
- package/es/time-picker/locale/ro_RO.d.ts +0 -3
- package/es/time-picker/locale/ro_RO.js +0 -1
- package/es/time-picker/locale/ru_RU.d.ts +0 -4
- package/es/time-picker/locale/ru_RU.js +0 -1
- package/es/time-picker/locale/si_LK.d.ts +0 -3
- package/es/time-picker/locale/si_LK.js +0 -1
- package/es/time-picker/locale/sk_SK.d.ts +0 -3
- package/es/time-picker/locale/sk_SK.js +0 -1
- package/es/time-picker/locale/sl_SI.d.ts +0 -3
- package/es/time-picker/locale/sl_SI.js +0 -1
- package/es/time-picker/locale/sr_RS.d.ts +0 -3
- package/es/time-picker/locale/sr_RS.js +0 -1
- package/es/time-picker/locale/sv_SE.d.ts +0 -3
- package/es/time-picker/locale/sv_SE.js +0 -1
- package/es/time-picker/locale/ta_IN.d.ts +0 -3
- package/es/time-picker/locale/ta_IN.js +0 -1
- package/es/time-picker/locale/th_TH.d.ts +0 -3
- package/es/time-picker/locale/th_TH.js +0 -1
- package/es/time-picker/locale/tk_TK.d.ts +0 -3
- package/es/time-picker/locale/tk_TK.js +0 -1
- package/es/time-picker/locale/tr_TR.d.ts +0 -3
- package/es/time-picker/locale/tr_TR.js +0 -1
- package/es/time-picker/locale/uk_UA.d.ts +0 -3
- package/es/time-picker/locale/uk_UA.js +0 -1
- package/es/time-picker/locale/ur_PK.d.ts +0 -3
- package/es/time-picker/locale/ur_PK.js +0 -1
- package/es/time-picker/locale/uz_UZ.d.ts +0 -3
- package/es/time-picker/locale/uz_UZ.js +0 -1
- package/es/time-picker/locale/vi_VN.d.ts +0 -3
- package/es/time-picker/locale/vi_VN.js +0 -1
- package/es/time-picker/locale/zh_CN.d.ts +0 -3
- package/es/time-picker/locale/zh_CN.js +0 -1
- package/es/time-picker/locale/zh_TW.d.ts +0 -3
- package/es/time-picker/locale/zh_TW.js +0 -1
- package/es/timeline/Timeline.d.ts +0 -20
- package/es/timeline/Timeline.js +0 -48
- package/es/timeline/TimelineItem.d.ts +0 -20
- package/es/timeline/TimelineItem.js +0 -40
- package/es/timeline/TimelineItemList.d.ts +0 -7
- package/es/timeline/TimelineItemList.js +0 -40
- package/es/timeline/index.d.ts +0 -4
- package/es/timeline/index.js +0 -48
- package/es/timeline/style/index.d.ts +0 -31
- package/es/timeline/style/index.js +0 -43
- package/es/timeline/useItems.d.ts +0 -4
- package/es/timeline/useItems.js +0 -1
- package/es/tooltip/PurePanel.d.ts +0 -7
- package/es/tooltip/PurePanel.js +0 -49
- package/es/tooltip/index.d.ts +0 -80
- package/es/tooltip/index.js +0 -49
- package/es/tooltip/style/index.d.ts +0 -13
- package/es/tooltip/style/index.js +0 -44
- package/es/tooltip/util.d.ts +0 -6
- package/es/tooltip/util.js +0 -1
- package/es/tour/PurePanel.d.ts +0 -6
- package/es/tour/PurePanel.js +0 -56
- package/es/tour/index.d.ts +0 -7
- package/es/tour/index.js +0 -56
- package/es/tour/interface.d.ts +0 -31
- package/es/tour/interface.js +0 -0
- package/es/tour/panelRender.d.ts +0 -12
- package/es/tour/panelRender.js +0 -47
- package/es/tour/style/index.d.ts +0 -28
- package/es/tour/style/index.js +0 -35
- package/es/transfer/ListBody.d.ts +0 -17
- package/es/transfer/ListBody.js +0 -117
- package/es/transfer/ListItem.d.ts +0 -15
- package/es/transfer/ListItem.js +0 -46
- package/es/transfer/hooks/useData.d.ts +0 -5
- package/es/transfer/hooks/useData.js +0 -1
- package/es/transfer/hooks/useSelection.d.ts +0 -9
- package/es/transfer/hooks/useSelection.js +0 -1
- package/es/transfer/index.d.ts +0 -91
- package/es/transfer/index.js +0 -153
- package/es/transfer/interface.d.ts +0 -7
- package/es/transfer/interface.js +0 -0
- package/es/transfer/list.d.ts +0 -48
- package/es/transfer/list.js +0 -153
- package/es/transfer/operation.d.ts +0 -17
- package/es/transfer/operation.js +0 -47
- package/es/transfer/search.d.ts +0 -11
- package/es/transfer/search.js +0 -65
- package/es/transfer/style/index.d.ts +0 -36
- package/es/transfer/style/index.js +0 -35
- package/es/tree/DirectoryTree.d.ts +0 -16
- package/es/tree/DirectoryTree.js +0 -48
- package/es/tree/Tree.d.ts +0 -136
- package/es/tree/Tree.js +0 -48
- package/es/tree/index.d.ts +0 -16
- package/es/tree/index.js +0 -48
- package/es/tree/style/directory.d.ts +0 -3
- package/es/tree/style/directory.js +0 -1
- package/es/tree/style/index.d.ts +0 -57
- package/es/tree/style/index.js +0 -43
- package/es/tree/utils/dictUtil.d.ts +0 -13
- package/es/tree/utils/dictUtil.js +0 -1
- package/es/tree/utils/dropIndicator.d.ts +0 -11
- package/es/tree/utils/dropIndicator.js +0 -1
- package/es/tree/utils/iconUtil.d.ts +0 -13
- package/es/tree/utils/iconUtil.js +0 -1
- package/es/tree-select/index.d.ts +0 -61
- package/es/tree-select/index.js +0 -86
- package/es/tree-select/style/index.d.ts +0 -6
- package/es/tree-select/style/index.js +0 -43
- package/es/type/index.d.ts +0 -1
- package/es/type/index.js +0 -356
- package/es/typography/Base/CopyBtn.d.ts +0 -13
- package/es/typography/Base/CopyBtn.js +0 -49
- package/es/typography/Base/Ellipsis.d.ts +0 -18
- package/es/typography/Base/Ellipsis.js +0 -1
- package/es/typography/Base/EllipsisTooltip.d.ts +0 -10
- package/es/typography/Base/EllipsisTooltip.js +0 -49
- package/es/typography/Base/index.d.ts +0 -59
- package/es/typography/Base/index.js +0 -83
- package/es/typography/Base/util.d.ts +0 -10
- package/es/typography/Base/util.js +0 -1
- package/es/typography/Editable.d.ts +0 -20
- package/es/typography/Editable.js +0 -74
- package/es/typography/Link.d.ts +0 -7
- package/es/typography/Link.js +0 -83
- package/es/typography/Paragraph.d.ts +0 -6
- package/es/typography/Paragraph.js +0 -83
- package/es/typography/Text.d.ts +0 -7
- package/es/typography/Text.js +0 -83
- package/es/typography/Title.d.ts +0 -8
- package/es/typography/Title.js +0 -83
- package/es/typography/Typography.d.ts +0 -19
- package/es/typography/Typography.js +0 -56
- package/es/typography/hooks/useCopyClick.d.ts +0 -11
- package/es/typography/hooks/useCopyClick.js +0 -1
- package/es/typography/hooks/useMergedConfig.d.ts +0 -1
- package/es/typography/hooks/useMergedConfig.js +0 -1
- package/es/typography/hooks/usePrevious.d.ts +0 -2
- package/es/typography/hooks/usePrevious.js +0 -1
- package/es/typography/hooks/useTooltipProps.d.ts +0 -61
- package/es/typography/hooks/useTooltipProps.js +0 -1
- package/es/typography/index.d.ts +0 -13
- package/es/typography/index.js +0 -83
- package/es/typography/style/index.d.ts +0 -18
- package/es/typography/style/index.js +0 -51
- package/es/typography/style/mixins.d.ts +0 -9
- package/es/typography/style/mixins.js +0 -6
- package/es/upload/Dragger.d.ts +0 -10
- package/es/upload/Dragger.js +0 -80
- package/es/upload/Upload.d.ts +0 -23
- package/es/upload/Upload.js +0 -80
- package/es/upload/UploadList/ListItem.d.ts +0 -28
- package/es/upload/UploadList/ListItem.js +0 -49
- package/es/upload/UploadList/index.d.ts +0 -8
- package/es/upload/UploadList/index.js +0 -57
- package/es/upload/index.d.ts +0 -13
- package/es/upload/index.js +0 -80
- package/es/upload/interface.d.ts +0 -138
- package/es/upload/interface.js +0 -0
- package/es/upload/style/dragger.d.ts +0 -4
- package/es/upload/style/dragger.js +0 -7
- package/es/upload/style/index.d.ts +0 -16
- package/es/upload/style/index.js +0 -66
- package/es/upload/style/list.d.ts +0 -4
- package/es/upload/style/list.js +0 -4
- package/es/upload/style/motion.d.ts +0 -4
- package/es/upload/style/motion.js +0 -10
- package/es/upload/style/picture.d.ts +0 -5
- package/es/upload/style/picture.js +0 -12
- package/es/upload/style/rtl.d.ts +0 -4
- package/es/upload/style/rtl.js +0 -1
- package/es/upload/utils.d.ts +0 -8
- package/es/upload/utils.js +0 -2
- package/es/utils/common.d.ts +0 -32
- package/es/utils/common.js +0 -4
- package/es/utils/index.d.ts +0 -2
- package/es/utils/index.js +0 -4
- package/es/utils/moneyFormat.d.ts +0 -38
- package/es/utils/moneyFormat.js +0 -1
- package/es/version/index.d.ts +0 -2
- package/es/version/index.js +0 -1
- package/es/watermark/context.d.ts +0 -8
- package/es/watermark/context.js +0 -1
- package/es/watermark/index.d.ts +0 -26
- package/es/watermark/index.js +0 -35
- package/es/watermark/useClips.d.ts +0 -7
- package/es/watermark/useClips.js +0 -1
- package/es/watermark/useRafDebounce.d.ts +0 -4
- package/es/watermark/useRafDebounce.js +0 -1
- package/es/watermark/useWatermark.d.ts +0 -13
- package/es/watermark/useWatermark.js +0 -1
- package/es/watermark/utils.d.ts +0 -7
- package/es/watermark/utils.js +0 -1
- package/umd/index.min.js +0 -629
package/es/radio/interface.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
import type { AbstractCheckboxProps } from '../checkbox/Checkbox';
|
|
3
|
-
import type { AbstractCheckboxGroupProps } from '../checkbox/Group';
|
|
4
|
-
import type { SizeType } from '../config-provider/SizeContext';
|
|
5
|
-
export type { CheckboxRef as RadioRef } from 'rc-checkbox';
|
|
6
|
-
export type RadioGroupButtonStyle = 'outline' | 'solid';
|
|
7
|
-
export type RadioGroupOptionType = 'default' | 'button';
|
|
8
|
-
export interface RadioGroupProps extends AbstractCheckboxGroupProps {
|
|
9
|
-
defaultValue?: any;
|
|
10
|
-
value?: any;
|
|
11
|
-
onChange?: (e: RadioChangeEvent) => void;
|
|
12
|
-
size?: SizeType;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
|
|
15
|
-
onMouseLeave?: React.MouseEventHandler<HTMLDivElement>;
|
|
16
|
-
name?: string;
|
|
17
|
-
children?: React.ReactNode;
|
|
18
|
-
id?: string;
|
|
19
|
-
optionType?: RadioGroupOptionType;
|
|
20
|
-
buttonStyle?: RadioGroupButtonStyle;
|
|
21
|
-
onFocus?: React.FocusEventHandler<HTMLDivElement>;
|
|
22
|
-
onBlur?: React.FocusEventHandler<HTMLDivElement>;
|
|
23
|
-
block?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface RadioGroupContextProps {
|
|
26
|
-
onChange: (e: RadioChangeEvent) => void;
|
|
27
|
-
value: any;
|
|
28
|
-
disabled?: boolean;
|
|
29
|
-
name?: string;
|
|
30
|
-
block?: boolean;
|
|
31
|
-
}
|
|
32
|
-
export interface RadioProps extends AbstractCheckboxProps<RadioChangeEvent> {
|
|
33
|
-
}
|
|
34
|
-
export interface RadioChangeEventTarget extends RadioProps {
|
|
35
|
-
checked: boolean;
|
|
36
|
-
}
|
|
37
|
-
export interface RadioChangeEvent {
|
|
38
|
-
target: RadioChangeEventTarget;
|
|
39
|
-
stopPropagation: () => void;
|
|
40
|
-
preventDefault: () => void;
|
|
41
|
-
nativeEvent: MouseEvent;
|
|
42
|
-
}
|
|
43
|
-
export type RadioOptionTypeContextProps = RadioGroupOptionType;
|
package/es/radio/interface.js
DELETED
|
File without changes
|
package/es/radio/radio.d.ts
DELETED
package/es/radio/radio.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import*as C from'react';import C__default,{createContext,useContext,useRef}from'react';import ct from'classnames';import Wn from'rc-checkbox';import {composeRef,supportRef,getNodeRef}from'rc-util/lib/ref';import'rc-util/lib/warning';import Tn from'rc-util/lib/Dom/isVisible';import {createTheme,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import _r from'@ant-design/icons/lib/components/Context';import jr from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-pagination/lib/locale/en_US';import ar from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import Pr from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import Xr from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import fn,{Provider}from'rc-motion';import yn from'rc-util/lib/hooks/useEvent';import Yo from'rc-util/lib/raf';import'react-dom';import {unmount,render}from'rc-util/lib/React/render';import'rc-field-form';import'rc-util/lib/omit';function so(){}var rr=so,co=C.createContext({}),ge=()=>{let e=()=>{};return e.deprecated=so,e},ie=rr;var po=createContext(void 0);({lang:{...ar}});var I="${label} is not a valid ${type}",cr={Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Form:{defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:I,method:I,array:I,object:I,number:I,date:I,boolean:I,integer:I,float:I,regexp:I,email:I,url:I,hex:I},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}}},X=cr;({...X.Modal});var ye=[],fo=()=>ye.reduce((e,o)=>({...e,...o}),X.Modal);function go(e){if(e){let o={...e};return ye.push(o),fo(),()=>{ye=ye.filter(t=>t!==o),fo();}}({...X.Modal});}var dr=createContext(void 0),ae=dr;var Co="internalMark",mr=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;C.useEffect(()=>go(o?.Modal),[o]);let r=C.useMemo(()=>({...o,exist:true}),[o]);return C.createElement(ae.Provider,{value:r},t)},yo=mr;var We={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},fr={...We,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
2
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
3
|
-
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},B=fr;function ze(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:l,colorInfo:i,colorPrimary:s,colorBgBase:p,colorTextBase:a}=e,c=o(s),d=o(n),m=o(r),g=o(l),u=o(i),w=t(p,a),b=e.colorLink||e.colorInfo,y=o(b),x=new TinyColor(g[1]).mix(new TinyColor(g[3]),50).toHexString();return {...w,colorPrimaryBg:c[1],colorPrimaryBgHover:c[2],colorPrimaryBorder:c[3],colorPrimaryBorderHover:c[4],colorPrimaryHover:c[5],colorPrimary:c[6],colorPrimaryActive:c[7],colorPrimaryTextHover:c[8],colorPrimaryText:c[9],colorPrimaryTextActive:c[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgFilledHover:x,colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:u[1],colorInfoBgHover:u[2],colorInfoBorder:u[3],colorInfoBorderHover:u[4],colorInfoHover:u[4],colorInfo:u[6],colorInfoActive:u[7],colorInfoTextHover:u[8],colorInfoText:u[9],colorInfoTextActive:u[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var gr=e=>{let o=e,t=e,n=e,r=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?t=4:e<8&&e>=7?t=5:e<14&&e>=8?t=6:e<16&&e>=14?t=7:e>=16&&(t=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:t,borderRadiusLG:o,borderRadiusOuter:r}},xo=gr;function Ae(e){let{motionUnit:o,motionBase:t,borderRadius:n,lineWidth:r}=e;return {motionDurationFast:`${(t+o).toFixed(1)}s`,motionDurationMid:`${(t+o*2).toFixed(1)}s`,motionDurationSlow:`${(t+o*3).toFixed(1)}s`,lineWidthBold:r+1,...xo(n)}}var ur=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},bo=ur;function So(e){return (e+8)/e}function Fe(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,l=e*Math.E**(r/5),i=n>1?Math.floor(l):Math.ceil(l);return Math.floor(i/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:So(t)}))}var Cr=e=>{let o=Fe(e),t=o.map(c=>c.size),n=o.map(c=>c.lineHeight),r=t[1],l=t[0],i=t[2],s=n[1],p=n[0],a=n[2];return {fontSizeSM:l,fontSize:r,fontSizeLG:i,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:s,lineHeightLG:a,lineHeightSM:p,fontHeight:Math.round(s*r),fontHeightLG:Math.round(a*i),fontHeightSM:Math.round(p*l),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},ho=Cr;function He(e){let{sizeUnit:o,sizeStep:t}=e;return {sizeXXL:o*(t+8),sizeXL:o*(t+4),sizeLG:o*(t+2),sizeMD:o*(t+1),sizeMS:o*t,size:o*t,sizeSM:o*(t-1),sizeXS:o*(t-2),sizeXXS:o*(t-3)}}var $=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),J=(e,o)=>new TinyColor(e).darken(o).toHexString();var Po=e=>{let o=generate(e);return {1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},ko=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:$(n,.88),colorTextSecondary:$(n,.65),colorTextTertiary:$(n,.45),colorTextQuaternary:$(n,.25),colorFill:$(n,.15),colorFillSecondary:$(n,.06),colorFillTertiary:$(n,.04),colorFillQuaternary:$(n,.02),colorBgSolid:$(n,1),colorBgSolidHover:$(n,.75),colorBgSolidActive:$(n,.95),colorBgLayout:J(t,4),colorBgContainer:J(t,0),colorBgElevated:J(t,0),colorBgSpotlight:$(n,.85),colorBgBlur:"transparent",colorBorder:J(t,15),colorBorderSecondary:J(t,6)}};function Oe(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(We).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,l,i)=>(r[`${t}-${i+1}`]=n[i],r[`${t}${i+1}`]=n[i],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...ze(e,{generateColorPalettes:Po,generateNeutralColorPalettes:ko}),...ho(e.fontSize),...He(e),...bo(e),...Ae(e)}}var xe=createTheme(Oe),le={token:B,override:{override:B},hashed:true},se=C__default.createContext(le);var Z="ant",ce="anticon";var hr=(e,o)=>o||(e?`${Z}-${e}`:Z),E=C.createContext({getPrefixCls:hr,iconPrefixCls:ce}),{Consumer:Tr}=E;var vr=`-ant-${Date.now()}-${Math.random()}`;function Rr(e,o){let t={},n=(i,s)=>{let p=i.clone();return p=s?.(p)||p,p.toRgbString()},r=(i,s)=>{let p=new TinyColor(i),a=generate(p.toRgbString());t[`${s}-color`]=n(p),t[`${s}-color-disabled`]=a[1],t[`${s}-color-hover`]=a[4],t[`${s}-color-active`]=a[6],t[`${s}-color-outline`]=p.clone().setAlpha(.2).toRgbString(),t[`${s}-color-deprecated-bg`]=a[0],t[`${s}-color-deprecated-border`]=a[2];};if(o.primaryColor){r(o.primaryColor,"primary");let i=new TinyColor(o.primaryColor),s=generate(i.toRgbString());s.forEach((a,c)=>{t[`primary-${c+1}`]=a;}),t["primary-color-deprecated-l-35"]=n(i,a=>a.lighten(35)),t["primary-color-deprecated-l-20"]=n(i,a=>a.lighten(20)),t["primary-color-deprecated-t-20"]=n(i,a=>a.tint(20)),t["primary-color-deprecated-t-50"]=n(i,a=>a.tint(50)),t["primary-color-deprecated-f-12"]=n(i,a=>a.setAlpha(a.getAlpha()*.12));let p=new TinyColor(s[0]);t["primary-color-active-deprecated-f-30"]=n(p,a=>a.setAlpha(a.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(p,a=>a.darken(2));}return o.successColor&&r(o.successColor,"success"),o.warningColor&&r(o.warningColor,"warning"),o.errorColor&&r(o.errorColor,"error"),o.infoColor&&r(o.infoColor,"info"),`
|
|
4
|
-
:root {
|
|
5
|
-
${Object.keys(t).map(i=>`--${e}-${i}: ${t[i]};`).join(`
|
|
6
|
-
`)}
|
|
7
|
-
}
|
|
8
|
-
`.trim()}function Mo(e,o){let t=Rr(e,o);Pr()?updateCSS(t,`${vr}-dynamic-theme`):ie();}var Ge=C.createContext(false),wo=({children:e,disabled:o})=>{let t=C.useContext(Ge);return C.createElement(Ge.Provider,{value:o??t},e)},be=Ge;var je=C.createContext(void 0),Lo=({children:e,size:o})=>{let t=C.useContext(je);return C.createElement(je.Provider,{value:o||t},e)},pe=je;function Mr(){let e=useContext(be),o=useContext(pe);return {componentDisabled:e,componentSize:o}}var Io=Mr;var Wo={version:"0.0.2"};var Do=Wo.version;function Xe(e){return e>=0&&e<=255}function Lr(e,o){let{r:t,g:n,b:r,a:l}=new TinyColor(e).toRgb();if(l<1)return e;let{r:i,g:s,b:p}=new TinyColor(o).toRgb();for(let a=.01;a<=1;a+=.01){let c=Math.round((t-i*(1-a))/a),d=Math.round((n-s*(1-a))/a),m=Math.round((r-p*(1-a))/a);if(Xe(c)&&Xe(d)&&Xe(m))return new TinyColor({r:c,g:d,b:m,a:Math.round(a*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var de=Lr;function he(e){let{override:o,...t}=e,n={...o};Object.keys(B).forEach(m=>{delete n[m];});let r={...t,...n},l=480,i=576,s=768,p=992,a=1200,c=1600;return r.motion===false&&(r.motionDurationFast="0s",r.motionDurationMid="0s",r.motionDurationSlow="0s"),{...r,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:de(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:de(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:de(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidthFocus:r.lineWidth*3,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:de(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:`
|
|
9
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
10
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
11
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
12
|
-
`,boxShadowSecondary:`
|
|
13
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
14
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
15
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
16
|
-
`,boxShadowTertiary:`
|
|
17
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
18
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
19
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
20
|
-
`,screenXS:l,screenXSMin:l,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:p-1,screenLG:p,screenLGMin:p,screenLGMax:a-1,screenXL:a,screenXLMin:a,screenXLMax:c-1,screenXXL:c,screenXXLMin:c,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
21
|
-
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
22
|
-
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
23
|
-
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
24
|
-
`,boxShadowDrawerRight:`
|
|
25
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
26
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
27
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
28
|
-
`,boxShadowDrawerLeft:`
|
|
29
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
30
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
31
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
32
|
-
`,boxShadowDrawerUp:`
|
|
33
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
34
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
35
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
36
|
-
`,boxShadowDrawerDown:`
|
|
37
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
38
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
39
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
40
|
-
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var _e={lineHeight:true,lineHeightSM:true,lineHeightLG:true,lineHeightHeading1:true,lineHeightHeading2:true,lineHeightHeading3:true,lineHeightHeading4:true,lineHeightHeading5:true,opacityLoading:true,fontWeightStrong:true,zIndexPopupBase:true,zIndexBase:true,opacityImage:true},$r={size:true,sizeSM:true,sizeLG:true,sizeMD:true,sizeXS:true,sizeXXS:true,sizeMS:true,sizeXL:true,sizeXXL:true,sizeUnit:true,sizeStep:true,motionBase:true,motionUnit:true},Wr={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},zo=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...l}=o,i={...n,override:r};return i=he(i),l&&Object.entries(l).forEach(([s,p])=>{let{theme:a,...c}=p,d=c;a&&(d=zo({...i,...c},{override:c},a)),i[s]=d;}),i};function D(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=C__default.useContext(se),l=`${Do}-${o||""}`,i=t||xe,[s,p,a]=useCacheToken(i,[B,e],{salt:l,override:n,getComputedToken:zo,formatToken:he,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:_e,ignore:$r,preserve:Wr}});return [i,a,o?p:"",s,r]}var Te=(e,o=false)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:o?"inherit":e.fontFamily}),zr=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var Ao=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Fo=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,l=t?`.${t}`:r,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return n!==false&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[l]:{...s,...i,[r]:i}}},qe=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"});var Pe=e=>({[`.${e}`]:{...zr(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:Ke,genComponentStyleHook:Qe,genSubStyleComponent:Fr}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(E);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=D();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(E);return e??{}},getResetStyles:(e,o)=>[{"&":Ao(e)},Pe(o?.prefix.iconPrefixCls??ce)],getCommonStyle:Fo,getCompUnitless:(()=>_e)});var Nr=(e,o)=>{let[t,n]=D();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[Pe(e)])},ke=Nr;var Or={...C},{useId:Bo}=Or,Vr=()=>"",Gr=typeof Bo>"u"?Vr:Bo,Oo=Gr;function Ye(e,o,t){ge();let r=e||{},l=r.inherit===false||!o?{...le,hashed:o?.hashed??le.hashed,cssVar:o?.cssVar}:o,i=Oo();return jr(()=>{if(!e)return o;let s={...l.components};Object.keys(e.components||{}).forEach(c=>{s[c]={...s[c],...e.components[c]};});let p=`css-var-${i.replace(/:/g,"")}`,a=(r.cssVar??l.cssVar)&&{prefix:t?.prefixCls,...typeof l.cssVar=="object"?l.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||p};return {...l,...r,token:{...l.token,...r.token},components:s,cssVar:a}},[r,l],(s,p)=>s.some((a,c)=>{let d=p[c];return !Xr(a,d,true)}))}function Je(e){let{children:o}=e,[,t]=D(),{motion:n}=t,r=C.useRef(false);return r.current=r.current||n===false,r.current?C.createElement(Provider,{motion:n},o):o}C.memo(({dropdownMatchSelectWidth:e})=>(ge().deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));var Go=()=>null;var Qr=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Xo;function en(){return Xo||Z}function on(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var tn=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(Xo=o),n&&(on(n)?(Mo(en(),n)):n);};var rn=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:l,form:i,locale:s,componentSize:p,direction:a,space:c,splitter:d,virtual:m,dropdownMatchSelectWidth:g,popupMatchSelectWidth:u,popupOverflow:w,legacyLocale:b,parentContext:y,iconPrefixCls:x,theme:v,componentDisabled:T,segmented:W,statistic:R,spin:j,calendar:k,carousel:f,cascader:z,collapse:H,typography:V,checkbox:G,descriptions:A,divider:L,drawer:Me,skeleton:pt,steps:dt,image:mt,layout:ft,list:gt,mentions:ut,modal:Ct,progress:yt,result:xt,slider:bt,breadcrumb:St,menu:ht,pagination:Tt,input:Pt,textArea:kt,empty:vt,badge:Rt,radio:Mt,rate:wt,switch:Lt,transfer:Et,avatar:It,message:$t,tag:Wt,table:Dt,card:zt,tabs:At,timeline:Ft,timePicker:Ht,upload:Nt,notification:Bt,tree:Ot,colorPicker:Vt,datePicker:Gt,rangePicker:jt,flex:Xt,wave:Ut,dropdown:_t,warning:qt,tour:Kt,variant:Qt,inputNumber:Yt,treeSelect:Jt}=e,no=C.useCallback((S,F)=>{let{prefixCls:K}=e;if(F)return F;let Q=K||y.getPrefixCls("");return S?`${Q}-${S}`:Q},[y.getPrefixCls,e.prefixCls]),re=x||y.iconPrefixCls||ce,ne=t||y.csp;ke(re,ne);let we=Ye(v,y.theme,{prefixCls:no("")}),Le={csp:ne,autoInsertSpaceInButton:n,alert:r,anchor:l,locale:s||b,direction:a,space:c,splitter:d,virtual:m,popupMatchSelectWidth:u??g,popupOverflow:w,getPrefixCls:no,iconPrefixCls:re,theme:we,segmented:W,statistic:R,spin:j,calendar:k,carousel:f,cascader:z,collapse:H,typography:V,checkbox:G,descriptions:A,divider:L,drawer:Me,skeleton:pt,steps:dt,image:mt,input:Pt,textArea:kt,layout:ft,list:gt,mentions:ut,modal:Ct,progress:yt,result:xt,slider:bt,breadcrumb:St,menu:ht,pagination:Tt,empty:vt,badge:Rt,radio:Mt,rate:wt,switch:Lt,transfer:Et,avatar:It,message:$t,tag:Wt,table:Dt,card:zt,tabs:At,timeline:Ft,timePicker:Ht,upload:Nt,notification:Bt,tree:Ot,colorPicker:Vt,datePicker:Gt,rangePicker:jt,flex:Xt,wave:Ut,dropdown:_t,warning:qt,tour:Kt,variant:Qt,inputNumber:Yt,treeSelect:Jt},_={...y};Object.keys(Le).forEach(S=>{Le[S]!==void 0&&(_[S]=Le[S]);}),Qr.forEach(S=>{let F=e[S];F&&(_[S]=F);}),typeof n<"u"&&(_.button={autoInsertSpace:n,..._.button});let q=jr(()=>_,_,(S,F)=>{let K=Object.keys(S),Q=Object.keys(F);return K.length!==Q.length||K.some(fe=>S[fe]!==F[fe])}),Zt=C.useMemo(()=>({prefixCls:re,csp:ne}),[re,ne]),P=C.createElement(C.Fragment,null,C.createElement(Go,{dropdownMatchSelectWidth:g}),o),io=C.useMemo(()=>merge(X.Form?.defaultValidateMessages||{},q.locale?.Form?.defaultValidateMessages||{},q.form?.validateMessages||{},i?.validateMessages||{}),[q,i?.validateMessages]);Object.keys(io).length>0&&(P=C.createElement(po.Provider,{value:io},P)),s&&(P=C.createElement(yo,{locale:s,_ANT_MARK__:Co},P)),(P=C.createElement(_r.Provider,{value:Zt},P)),p&&(P=C.createElement(Lo,{size:p},P)),P=C.createElement(Je,null,P);let er=C.useMemo(()=>{let{algorithm:S,token:F,components:K,cssVar:Q,...fe}=we||{},ao=S&&(!Array.isArray(S)||S.length>0)?createTheme(S):xe,Ee={};Object.entries(K||{}).forEach(([or,tr])=>{let N={...tr};"algorithm"in N&&(N.algorithm===true?N.theme=ao:(Array.isArray(N.algorithm)||typeof N.algorithm=="function")&&(N.theme=createTheme(N.algorithm)),delete N.algorithm),Ee[or]=N;});let lo={...B,...F};return {...fe,theme:ao,token:lo,components:Ee,override:{override:lo,...Ee},cssVar:Q}},[we]);return v&&(P=C.createElement(se.Provider,{value:er},P)),q.warning&&(P=C.createElement(co.Provider,{value:q.warning},P)),T!==void 0&&(P=C.createElement(wo,{disabled:T},P)),C.createElement(E.Provider,{value:q},P)},me=e=>{let o=C.useContext(E),t=C.useContext(ae);return C.createElement(rn,{parentContext:o,legacyLocale:t,...e})};me.ConfigContext=E;me.SizeContext=pe;me.config=tn;me.useConfig=Io;Object.defineProperty(me,"SizeContext",{get:()=>(pe)});var nn=(e,o,t)=>C__default.isValidElement(e)?C__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function _o(e,o){return nn(e,e,o)}var an=e=>{let{componentCls:o,colorPrimary:t}=e;return {[o]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${t})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},qo=Qe("Wave",e=>[an(e)]);var te=`${Z}-wave-target`;var pn=(e,o)=>(render(e,o),()=>unmount(o)),dn=pn;function Ko(){return dn}function Ze(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function Qo(e){let{borderTopColor:o,borderColor:t,backgroundColor:n}=getComputedStyle(e);return Ze(o)?o:Ze(t)?t:Ze(n)?n:null}function eo(e){return Number.isNaN(e)?0:e}var un=e=>{let{className:o,target:t,component:n,registerUnmount:r}=e,l=C.useRef(null),i=C.useRef(null);C.useEffect(()=>{i.current=r();},[]);let[s,p]=C.useState(null),[a,c]=C.useState([]),[d,m]=C.useState(0),[g,u]=C.useState(0),[w,b]=C.useState(0),[y,x]=C.useState(0),[v,T]=C.useState(false),W={left:d,top:g,width:w,height:y,borderRadius:a.map(k=>`${k}px`).join(" ")};s&&(W["--wave-color"]=s);function R(){let k=getComputedStyle(t);p(Qo(t));let f=k.position==="static",{borderLeftWidth:z,borderTopWidth:H}=k;m(f?t.offsetLeft:eo(-parseFloat(z))),u(f?t.offsetTop:eo(-parseFloat(H))),b(t.offsetWidth),x(t.offsetHeight);let{borderTopLeftRadius:V,borderTopRightRadius:G,borderBottomLeftRadius:A,borderBottomRightRadius:L}=k;c([V,G,L,A].map(Me=>eo(parseFloat(Me))));}if(C.useEffect(()=>{if(t){let k=Yo(()=>{R(),T(true);}),f;return typeof ResizeObserver<"u"&&(f=new ResizeObserver(R),f.observe(t)),()=>{Yo.cancel(k),f?.disconnect();}}},[]),!v)return null;let j=(n==="Checkbox"||n==="Radio")&&t?.classList.contains(te);return C.createElement(fn,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(k,f)=>{if(f.deadline||f.propertyName==="opacity"){let z=l.current?.parentElement;i.current?.().then(()=>{z?.remove();});}return false}},({className:k},f)=>C.createElement("div",{ref:composeRef(l,f),className:ct(o,k,{"wave-quick":j}),style:W}))},Cn=(e,o)=>{let{component:t}=o;if(t==="Checkbox"&&!e.querySelector("input")?.checked)return;let n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e?.insertBefore(n,e?.firstChild);let r=Ko(),l=null;function i(){return l}l=r(C.createElement(un,{...o,target:e,registerUnmount:i}),n);},Jo=Cn;var xn=(e,o,t)=>{let{wave:n}=C.useContext(E),[,r,l]=D(),i=yn(a=>{let c=e.current;if(n?.disabled||!c)return;let d=c.querySelector(`.${te}`)||c,{showEffect:m}=n||{};(m||Jo)(d,{className:o,token:r,component:t,event:a,hashId:l});}),s=C.useRef(null);return a=>{Yo.cancel(s.current),s.current=Yo(()=>{i(a);});}},et=xn;var Rn=e=>{let{children:o,disabled:t,component:n}=e,{getPrefixCls:r}=useContext(E),l=useRef(null),i=r("wave"),[,s]=qo(i),p=et(l,ct(i,s),n);if(C__default.useEffect(()=>{let c=l.current;if(!c||c.nodeType!==1||t)return;let d=m=>{!Tn(m.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||p(m);};return c.addEventListener("click",d,true),()=>{c.removeEventListener("click",d,true);}},[t]),!C__default.isValidElement(o))return o??null;let a=supportRef(o)?composeRef(getNodeRef(o),l):l;return _o(o,{ref:a})},tt=Rn;function oo(e){let o=C__default.useRef(null),t=()=>{Yo.cancel(o.current),o.current=null;};return [()=>{t(),o.current=Yo(()=>{o.current=null;});},l=>{o.current&&(l.stopPropagation(),t()),e?.(l);}]}var wn=e=>{let[,,,,o]=D();return o?`${e}-css-var`:""},nt=wn;C.createContext({labelAlign:"right",vertical:false,itemRef:(()=>{})});C.createContext(null);C.createContext({prefixCls:""});var it=C.createContext({});C.createContext(void 0);var at=C.createContext(null);at.Provider;var lt=at,ro=C.createContext(null);ro.Provider;var Ln=e=>{let{componentCls:o,antCls:t}=e,n=`${o}-group`;return {[n]:{...Te(e),display:"inline-block",fontSize:0,[`&${n}-rtl`]:{direction:"rtl"},[`&${n}-block`]:{display:"flex"},[`${t}-badge ${t}-badge-count`]:{zIndex:1},[`> ${t}-badge:not(:first-child) > ${t}-button-wrapper`]:{borderInlineStart:"none"}}}},En=e=>{let{componentCls:o,wrapperMarginInlineEnd:t,colorPrimary:n,radioSize:r,motionDurationSlow:l,motionDurationMid:i,motionEaseInOutCirc:s,colorBgContainer:p,colorBorder:a,lineWidth:c,colorBgContainerDisabled:d,colorTextDisabled:m,paddingXS:g,dotColorDisabled:u,lineType:w,radioColor:b,radioBgColor:y,calc:x}=e,v=`${o}-inner`,W=x(r).sub(x(4).mul(2)),R=x(1).mul(r).equal({unit:true});return {[`${o}-wrapper`]:{...Te(e),display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:t,cursor:"pointer",[`&${o}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${o}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${unit(c)} ${w} ${n}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[o]:{...Te(e),position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"},[`${o}-wrapper:hover &,
|
|
41
|
-
&:hover ${v}`]:{borderColor:n},[`${o}-input:focus-visible + ${v}`]:{...qe(e)},[`${o}:hover::after, ${o}-wrapper:hover &::after`]:{visibility:"visible"},[`${o}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:R,height:R,marginBlockStart:x(1).mul(r).div(-2).equal({unit:true}),marginInlineStart:x(1).mul(r).div(-2).equal({unit:true}),backgroundColor:b,borderBlockStart:0,borderInlineStart:0,borderRadius:R,transform:"scale(0)",opacity:0,transition:`all ${l} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:R,height:R,backgroundColor:p,borderColor:a,borderStyle:"solid",borderWidth:c,borderRadius:"50%",transition:`all ${i}`},[`${o}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${o}-checked`]:{[v]:{borderColor:n,backgroundColor:y,"&::after":{transform:`scale(${e.calc(e.dotSize).div(r).equal()})`,opacity:1,transition:`all ${l} ${s}`}}},[`${o}-disabled`]:{cursor:"not-allowed",[v]:{backgroundColor:d,borderColor:a,cursor:"not-allowed","&::after":{backgroundColor:u}},[`${o}-input`]:{cursor:"not-allowed"},[`${o}-disabled + span`]:{color:m,cursor:"not-allowed"},[`&${o}-checked`]:{[v]:{"&::after":{transform:`scale(${x(W).div(r).equal()})`}}}},[`span${o} + *`]:{paddingInlineStart:g,paddingInlineEnd:g}}}},In=e=>{let{buttonColor:o,controlHeight:t,componentCls:n,lineWidth:r,lineType:l,colorBorder:i,motionDurationSlow:s,motionDurationMid:p,buttonPaddingInline:a,fontSize:c,buttonBg:d,fontSizeLG:m,controlHeightLG:g,controlHeightSM:u,paddingXS:w,borderRadius:b,borderRadiusSM:y,borderRadiusLG:x,buttonCheckedBg:v,buttonSolidCheckedColor:T,colorTextDisabled:W,colorBgContainerDisabled:R,buttonCheckedBgDisabled:j,buttonCheckedColorDisabled:k,colorPrimary:f,colorPrimaryHover:z,colorPrimaryActive:H,buttonSolidCheckedBg:V,buttonSolidCheckedHoverBg:G,buttonSolidCheckedActiveBg:A,calc:L}=e;return {[`${n}-button-wrapper`]:{position:"relative",display:"inline-block",height:t,margin:0,paddingInline:a,paddingBlock:0,color:o,fontSize:c,lineHeight:unit(L(t).sub(L(r).mul(2)).equal()),background:d,border:`${unit(r)} ${l} ${i}`,borderBlockStartWidth:L(r).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:r,cursor:"pointer",transition:[`color ${p}`,`background ${p}`,`box-shadow ${p}`].join(","),a:{color:o},[`> ${n}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:L(r).mul(-1).equal(),insetInlineStart:L(r).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:r,paddingInline:0,backgroundColor:i,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${unit(r)} ${l} ${i}`,borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b},"&:first-child:last-child":{borderRadius:b},[`${n}-group-large &`]:{height:g,fontSize:m,lineHeight:unit(L(g).sub(L(r).mul(2)).equal()),"&:first-child":{borderStartStartRadius:x,borderEndStartRadius:x},"&:last-child":{borderStartEndRadius:x,borderEndEndRadius:x}},[`${n}-group-small &`]:{height:u,paddingInline:L(w).sub(r).equal(),paddingBlock:0,lineHeight:unit(L(u).sub(L(r).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:f},"&:has(:focus-visible)":{...qe(e)},[`${n}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${n}-button-wrapper-disabled)`]:{zIndex:1,color:f,background:v,borderColor:f,"&::before":{backgroundColor:f},"&:first-child":{borderColor:f},"&:hover":{color:z,borderColor:z,"&::before":{backgroundColor:z}},"&:active":{color:H,borderColor:H,"&::before":{backgroundColor:H}}},[`${n}-group-solid &-checked:not(${n}-button-wrapper-disabled)`]:{color:T,background:V,borderColor:V,"&:hover":{color:T,background:G,borderColor:G},"&:active":{color:T,background:A,borderColor:A}},"&-disabled":{color:W,backgroundColor:R,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:W,backgroundColor:R,borderColor:i}},[`&-disabled${n}-button-wrapper-checked`]:{color:k,backgroundColor:j,borderColor:i,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},$n=e=>{let{wireframe:o,padding:t,marginXS:n,lineWidth:r,fontSizeLG:l,colorText:i,colorBgContainer:s,colorTextDisabled:p,controlItemBgActiveDisabled:a,colorTextLightSolid:c,colorPrimary:d,colorPrimaryHover:m,colorPrimaryActive:g,colorWhite:u}=e,w=4,b=l,y=o?b-w*2:b-(w+r)*2;return {radioSize:b,dotSize:y,dotColorDisabled:p,buttonSolidCheckedColor:c,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:m,buttonSolidCheckedActiveBg:g,buttonBg:s,buttonCheckedBg:s,buttonColor:i,buttonCheckedBgDisabled:a,buttonCheckedColorDisabled:p,buttonPaddingInline:t-r,wrapperMarginInlineEnd:n,radioColor:o?d:u,radioBgColor:o?s:d}},st=Ke("Radio",e=>{let{controlOutline:o,controlOutlineWidth:t}=e,n=`0 0 0 ${unit(t)} ${o}`,l=mergeToken(e,{radioFocusShadow:n,radioButtonFocusShadow:n});return [Ln(l),En(l),In(l)]},$n,{unitless:{radioSize:true,dotSize:true}});var zn=(e,o)=>{let t=C.useContext(lt),n=C.useContext(ro),{getPrefixCls:r,direction:l,radio:i}=C.useContext(E),s=C.useRef(null),p=composeRef(o,s),{isFormItemInput:a}=C.useContext(it),c=A=>{e.onChange?.(A),t?.onChange?.(A);},{prefixCls:d,className:m,rootClassName:g,children:u,style:w,title:b,...y}=e,x=r("radio",d),v=(t?.optionType||n)==="button",T=v?`${x}-button`:x,W=nt(x),[R,j,k]=st(x,W),f={...y},z=C.useContext(be);t&&(f.name=t.name,f.onChange=c,f.checked=e.value===t.value,f.disabled=f.disabled??t.disabled),f.disabled=f.disabled??z;let H=ct(`${T}-wrapper`,{[`${T}-wrapper-checked`]:f.checked,[`${T}-wrapper-disabled`]:f.disabled,[`${T}-wrapper-rtl`]:l==="rtl",[`${T}-wrapper-in-form-item`]:a,[`${T}-wrapper-block`]:!!t?.block},i?.className,m,g,j,k,W),[V,G]=oo(f.onClick);return R(C.createElement(tt,{component:"Radio",disabled:f.disabled},C.createElement("label",{className:H,style:{...i?.style,...w},onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:b,onClick:V},C.createElement(Wn,{...f,className:ct(f.className,{[te]:!v}),type:"radio",prefixCls:T,ref:p,onClick:G}),u!==void 0?C.createElement("span",null,u):null)))},An=C.forwardRef(zn),Js=An;export{Js as default};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { AbstractCheckboxProps } from '../checkbox/Checkbox';
|
|
3
|
-
import type { RadioChangeEvent, RadioRef } from './interface';
|
|
4
|
-
export type RadioButtonProps = AbstractCheckboxProps<RadioChangeEvent>;
|
|
5
|
-
declare const _default: React.ForwardRefExoticComponent<RadioButtonProps & React.RefAttributes<RadioRef>>;
|
|
6
|
-
export default _default;
|
package/es/radio/radioButton.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import*as C from'react';import C__default,{createContext,useContext,useRef}from'react';import {createTheme,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import Qr from'@ant-design/icons/lib/components/Context';import _r from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-util/lib/warning';import'rc-pagination/lib/locale/en_US';import cr from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import Rr from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import qr from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import Cn,{Provider}from'rc-motion';import dt from'classnames';import An from'rc-checkbox';import {composeRef,supportRef,getNodeRef}from'rc-util/lib/ref';import vn from'rc-util/lib/Dom/isVisible';import Sn from'rc-util/lib/hooks/useEvent';import ot from'rc-util/lib/raf';import'react-dom';import {unmount,render}from'rc-util/lib/React/render';import'rc-field-form';import'rc-util/lib/omit';function co(){}var ar=co,po=C.createContext({}),ue=()=>{let e=()=>{};return e.deprecated=co,e},ae=ar;var mo=createContext(void 0);({lang:{...cr}});var I="${label} is not a valid ${type}",mr={Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Form:{defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:I,method:I,array:I,object:I,number:I,date:I,boolean:I,integer:I,float:I,regexp:I,email:I,url:I,hex:I},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}}},X=mr;({...X.Modal});var xe=[],go=()=>xe.reduce((e,o)=>({...e,...o}),X.Modal);function uo(e){if(e){let o={...e};return xe.push(o),go(),()=>{xe=xe.filter(t=>t!==o),go();}}({...X.Modal});}var gr=createContext(void 0),le=gr;var yo="internalMark",ur=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;C.useEffect(()=>uo(o?.Modal),[o]);let r=C.useMemo(()=>({...o,exist:true}),[o]);return C.createElement(le.Provider,{value:r},t)},xo=ur;var De={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Cr={...De,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
2
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
3
|
-
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},B=Cr;function Ae(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:l,colorInfo:i,colorPrimary:s,colorBgBase:p,colorTextBase:a}=e,c=o(s),d=o(n),m=o(r),g=o(l),u=o(i),L=t(p,a),b=e.colorLink||e.colorInfo,y=o(b),x=new TinyColor(g[1]).mix(new TinyColor(g[3]),50).toHexString();return {...L,colorPrimaryBg:c[1],colorPrimaryBgHover:c[2],colorPrimaryBorder:c[3],colorPrimaryBorderHover:c[4],colorPrimaryHover:c[5],colorPrimary:c[6],colorPrimaryActive:c[7],colorPrimaryTextHover:c[8],colorPrimaryText:c[9],colorPrimaryTextActive:c[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgFilledHover:x,colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:u[1],colorInfoBgHover:u[2],colorInfoBorder:u[3],colorInfoBorderHover:u[4],colorInfoHover:u[4],colorInfo:u[6],colorInfoActive:u[7],colorInfoTextHover:u[8],colorInfoText:u[9],colorInfoTextActive:u[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var yr=e=>{let o=e,t=e,n=e,r=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?t=4:e<8&&e>=7?t=5:e<14&&e>=8?t=6:e<16&&e>=14?t=7:e>=16&&(t=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:t,borderRadiusLG:o,borderRadiusOuter:r}},bo=yr;function Fe(e){let{motionUnit:o,motionBase:t,borderRadius:n,lineWidth:r}=e;return {motionDurationFast:`${(t+o).toFixed(1)}s`,motionDurationMid:`${(t+o*2).toFixed(1)}s`,motionDurationSlow:`${(t+o*3).toFixed(1)}s`,lineWidthBold:r+1,...bo(n)}}var xr=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},So=xr;function ho(e){return (e+8)/e}function He(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,l=e*Math.E**(r/5),i=n>1?Math.floor(l):Math.ceil(l);return Math.floor(i/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:ho(t)}))}var br=e=>{let o=He(e),t=o.map(c=>c.size),n=o.map(c=>c.lineHeight),r=t[1],l=t[0],i=t[2],s=n[1],p=n[0],a=n[2];return {fontSizeSM:l,fontSize:r,fontSizeLG:i,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:s,lineHeightLG:a,lineHeightSM:p,fontHeight:Math.round(s*r),fontHeightLG:Math.round(a*i),fontHeightSM:Math.round(p*l),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Po=br;function Ne(e){let{sizeUnit:o,sizeStep:t}=e;return {sizeXXL:o*(t+8),sizeXL:o*(t+4),sizeLG:o*(t+2),sizeMD:o*(t+1),sizeMS:o*t,size:o*t,sizeSM:o*(t-1),sizeXS:o*(t-2),sizeXXS:o*(t-3)}}var $=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),Z=(e,o)=>new TinyColor(e).darken(o).toHexString();var ko=e=>{let o=generate(e);return {1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},vo=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:$(n,.88),colorTextSecondary:$(n,.65),colorTextTertiary:$(n,.45),colorTextQuaternary:$(n,.25),colorFill:$(n,.15),colorFillSecondary:$(n,.06),colorFillTertiary:$(n,.04),colorFillQuaternary:$(n,.02),colorBgSolid:$(n,1),colorBgSolidHover:$(n,.75),colorBgSolidActive:$(n,.95),colorBgLayout:Z(t,4),colorBgContainer:Z(t,0),colorBgElevated:Z(t,0),colorBgSpotlight:$(n,.85),colorBgBlur:"transparent",colorBorder:Z(t,15),colorBorderSecondary:Z(t,6)}};function Ve(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(De).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,l,i)=>(r[`${t}-${i+1}`]=n[i],r[`${t}${i+1}`]=n[i],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...Ae(e,{generateColorPalettes:ko,generateNeutralColorPalettes:vo}),...Po(e.fontSize),...Ne(e),...So(e),...Fe(e)}}var be=createTheme(Ve),se={token:B,override:{override:B},hashed:true},ce=C__default.createContext(se);var ee="ant",pe="anticon";var kr=(e,o)=>o||(e?`${ee}-${e}`:ee),v=C.createContext({getPrefixCls:kr,iconPrefixCls:pe}),{Consumer:vr}=v;var wr=`-ant-${Date.now()}-${Math.random()}`;function Lr(e,o){let t={},n=(i,s)=>{let p=i.clone();return p=s?.(p)||p,p.toRgbString()},r=(i,s)=>{let p=new TinyColor(i),a=generate(p.toRgbString());t[`${s}-color`]=n(p),t[`${s}-color-disabled`]=a[1],t[`${s}-color-hover`]=a[4],t[`${s}-color-active`]=a[6],t[`${s}-color-outline`]=p.clone().setAlpha(.2).toRgbString(),t[`${s}-color-deprecated-bg`]=a[0],t[`${s}-color-deprecated-border`]=a[2];};if(o.primaryColor){r(o.primaryColor,"primary");let i=new TinyColor(o.primaryColor),s=generate(i.toRgbString());s.forEach((a,c)=>{t[`primary-${c+1}`]=a;}),t["primary-color-deprecated-l-35"]=n(i,a=>a.lighten(35)),t["primary-color-deprecated-l-20"]=n(i,a=>a.lighten(20)),t["primary-color-deprecated-t-20"]=n(i,a=>a.tint(20)),t["primary-color-deprecated-t-50"]=n(i,a=>a.tint(50)),t["primary-color-deprecated-f-12"]=n(i,a=>a.setAlpha(a.getAlpha()*.12));let p=new TinyColor(s[0]);t["primary-color-active-deprecated-f-30"]=n(p,a=>a.setAlpha(a.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(p,a=>a.darken(2));}return o.successColor&&r(o.successColor,"success"),o.warningColor&&r(o.warningColor,"warning"),o.errorColor&&r(o.errorColor,"error"),o.infoColor&&r(o.infoColor,"info"),`
|
|
4
|
-
:root {
|
|
5
|
-
${Object.keys(t).map(i=>`--${e}-${i}: ${t[i]};`).join(`
|
|
6
|
-
`)}
|
|
7
|
-
}
|
|
8
|
-
`.trim()}function wo(e,o){let t=Lr(e,o);Rr()?updateCSS(t,`${wr}-dynamic-theme`):ae();}var je=C.createContext(false),Lo=({children:e,disabled:o})=>{let t=C.useContext(je);return C.createElement(je.Provider,{value:o??t},e)},Se=je;var Xe=C.createContext(void 0),Eo=({children:e,size:o})=>{let t=C.useContext(Xe);return C.createElement(Xe.Provider,{value:o||t},e)},de=Xe;function Er(){let e=useContext(Se),o=useContext(de);return {componentDisabled:e,componentSize:o}}var $o=Er;var Do={version:"0.0.2"};var zo=Do.version;function Ue(e){return e>=0&&e<=255}function $r(e,o){let{r:t,g:n,b:r,a:l}=new TinyColor(e).toRgb();if(l<1)return e;let{r:i,g:s,b:p}=new TinyColor(o).toRgb();for(let a=.01;a<=1;a+=.01){let c=Math.round((t-i*(1-a))/a),d=Math.round((n-s*(1-a))/a),m=Math.round((r-p*(1-a))/a);if(Ue(c)&&Ue(d)&&Ue(m))return new TinyColor({r:c,g:d,b:m,a:Math.round(a*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var me=$r;function Pe(e){let{override:o,...t}=e,n={...o};Object.keys(B).forEach(m=>{delete n[m];});let r={...t,...n},l=480,i=576,s=768,p=992,a=1200,c=1600;return r.motion===false&&(r.motionDurationFast="0s",r.motionDurationMid="0s",r.motionDurationSlow="0s"),{...r,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:me(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:me(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:me(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidthFocus:r.lineWidth*3,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:me(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:`
|
|
9
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
10
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
11
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
12
|
-
`,boxShadowSecondary:`
|
|
13
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
14
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
15
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
16
|
-
`,boxShadowTertiary:`
|
|
17
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
18
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
19
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
20
|
-
`,screenXS:l,screenXSMin:l,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:p-1,screenLG:p,screenLGMin:p,screenLGMax:a-1,screenXL:a,screenXLMin:a,screenXLMax:c-1,screenXXL:c,screenXXLMin:c,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
21
|
-
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
22
|
-
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
23
|
-
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
24
|
-
`,boxShadowDrawerRight:`
|
|
25
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
26
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
27
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
28
|
-
`,boxShadowDrawerLeft:`
|
|
29
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
30
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
31
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
32
|
-
`,boxShadowDrawerUp:`
|
|
33
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
34
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
35
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
36
|
-
`,boxShadowDrawerDown:`
|
|
37
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
38
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
39
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
40
|
-
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var qe={lineHeight:true,lineHeightSM:true,lineHeightLG:true,lineHeightHeading1:true,lineHeightHeading2:true,lineHeightHeading3:true,lineHeightHeading4:true,lineHeightHeading5:true,opacityLoading:true,fontWeightStrong:true,zIndexPopupBase:true,zIndexBase:true,opacityImage:true},zr={size:true,sizeSM:true,sizeLG:true,sizeMD:true,sizeXS:true,sizeXXS:true,sizeMS:true,sizeXL:true,sizeXXL:true,sizeUnit:true,sizeStep:true,motionBase:true,motionUnit:true},Ar={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},Ao=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...l}=o,i={...n,override:r};return i=Pe(i),l&&Object.entries(l).forEach(([s,p])=>{let{theme:a,...c}=p,d=c;a&&(d=Ao({...i,...c},{override:c},a)),i[s]=d;}),i};function D(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=C__default.useContext(ce),l=`${zo}-${o||""}`,i=t||be,[s,p,a]=useCacheToken(i,[B,e],{salt:l,override:n,getComputedToken:Ao,formatToken:Pe,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:qe,ignore:zr,preserve:Ar}});return [i,a,o?p:"",s,r]}var Te=(e,o=false)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:o?"inherit":e.fontFamily}),Hr=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var Fo=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Ho=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,l=t?`.${t}`:r,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return n!==false&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[l]:{...s,...i,[r]:i}}},Ke=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"});var ke=e=>({[`.${e}`]:{...Hr(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:Qe,genComponentStyleHook:Ye,genSubStyleComponent:Br}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(v);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=D();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(v);return e??{}},getResetStyles:(e,o)=>[{"&":Fo(e)},ke(o?.prefix.iconPrefixCls??pe)],getCommonStyle:Ho,getCompUnitless:(()=>qe)});var Vr=(e,o)=>{let[t,n]=D();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[ke(e)])},ve=Vr;var jr={...C},{useId:Oo}=jr,Xr=()=>"",Ur=typeof Oo>"u"?Xr:Oo,Vo=Ur;function Je(e,o,t){ue();let r=e||{},l=r.inherit===false||!o?{...se,hashed:o?.hashed??se.hashed,cssVar:o?.cssVar}:o,i=Vo();return _r(()=>{if(!e)return o;let s={...l.components};Object.keys(e.components||{}).forEach(c=>{s[c]={...s[c],...e.components[c]};});let p=`css-var-${i.replace(/:/g,"")}`,a=(r.cssVar??l.cssVar)&&{prefix:t?.prefixCls,...typeof l.cssVar=="object"?l.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||p};return {...l,...r,token:{...l.token,...r.token},components:s,cssVar:a}},[r,l],(s,p)=>s.some((a,c)=>{let d=p[c];return !qr(a,d,true)}))}function Ze(e){let{children:o}=e,[,t]=D(),{motion:n}=t,r=C.useRef(false);return r.current=r.current||n===false,r.current?C.createElement(Provider,{motion:n},o):o}C.memo(({dropdownMatchSelectWidth:e})=>(ue().deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));var jo=()=>null;var Zr=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Uo;function rn(){return Uo||ee}function nn(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var an=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(Uo=o),n&&(nn(n)?(wo(rn(),n)):n);};var ln=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:l,form:i,locale:s,componentSize:p,direction:a,space:c,splitter:d,virtual:m,dropdownMatchSelectWidth:g,popupMatchSelectWidth:u,popupOverflow:L,legacyLocale:b,parentContext:y,iconPrefixCls:x,theme:R,componentDisabled:P,segmented:W,statistic:M,spin:j,calendar:k,carousel:f,cascader:z,collapse:H,typography:V,checkbox:G,descriptions:A,divider:E,drawer:we,skeleton:ft,steps:gt,image:ut,layout:Ct,list:yt,mentions:xt,modal:bt,progress:St,result:ht,slider:Pt,breadcrumb:Tt,menu:kt,pagination:vt,input:Rt,textArea:Mt,empty:wt,badge:Lt,radio:Et,rate:It,switch:$t,transfer:Wt,avatar:Dt,message:zt,tag:At,table:Ft,card:Ht,tabs:Nt,timeline:Bt,timePicker:Ot,upload:Vt,notification:Gt,tree:jt,colorPicker:Xt,datePicker:Ut,rangePicker:_t,flex:qt,wave:Kt,dropdown:Qt,warning:Yt,tour:Jt,variant:Zt,inputNumber:er,treeSelect:or}=e,io=C.useCallback((S,F)=>{let{prefixCls:Q}=e;if(F)return F;let Y=Q||y.getPrefixCls("");return S?`${Y}-${S}`:Y},[y.getPrefixCls,e.prefixCls]),ne=x||y.iconPrefixCls||pe,ie=t||y.csp;ve(ne,ie);let Le=Je(R,y.theme,{prefixCls:io("")}),Ee={csp:ie,autoInsertSpaceInButton:n,alert:r,anchor:l,locale:s||b,direction:a,space:c,splitter:d,virtual:m,popupMatchSelectWidth:u??g,popupOverflow:L,getPrefixCls:io,iconPrefixCls:ne,theme:Le,segmented:W,statistic:M,spin:j,calendar:k,carousel:f,cascader:z,collapse:H,typography:V,checkbox:G,descriptions:A,divider:E,drawer:we,skeleton:ft,steps:gt,image:ut,input:Rt,textArea:Mt,layout:Ct,list:yt,mentions:xt,modal:bt,progress:St,result:ht,slider:Pt,breadcrumb:Tt,menu:kt,pagination:vt,empty:wt,badge:Lt,radio:Et,rate:It,switch:$t,transfer:Wt,avatar:Dt,message:zt,tag:At,table:Ft,card:Ht,tabs:Nt,timeline:Bt,timePicker:Ot,upload:Vt,notification:Gt,tree:jt,colorPicker:Xt,datePicker:Ut,rangePicker:_t,flex:qt,wave:Kt,dropdown:Qt,warning:Yt,tour:Jt,variant:Zt,inputNumber:er,treeSelect:or},q={...y};Object.keys(Ee).forEach(S=>{Ee[S]!==void 0&&(q[S]=Ee[S]);}),Zr.forEach(S=>{let F=e[S];F&&(q[S]=F);}),typeof n<"u"&&(q.button={autoInsertSpace:n,...q.button});let K=_r(()=>q,q,(S,F)=>{let Q=Object.keys(S),Y=Object.keys(F);return Q.length!==Y.length||Q.some(ge=>S[ge]!==F[ge])}),tr=C.useMemo(()=>({prefixCls:ne,csp:ie}),[ne,ie]),T=C.createElement(C.Fragment,null,C.createElement(jo,{dropdownMatchSelectWidth:g}),o),ao=C.useMemo(()=>merge(X.Form?.defaultValidateMessages||{},K.locale?.Form?.defaultValidateMessages||{},K.form?.validateMessages||{},i?.validateMessages||{}),[K,i?.validateMessages]);Object.keys(ao).length>0&&(T=C.createElement(mo.Provider,{value:ao},T)),s&&(T=C.createElement(xo,{locale:s,_ANT_MARK__:yo},T)),(T=C.createElement(Qr.Provider,{value:tr},T)),p&&(T=C.createElement(Eo,{size:p},T)),T=C.createElement(Ze,null,T);let rr=C.useMemo(()=>{let{algorithm:S,token:F,components:Q,cssVar:Y,...ge}=Le||{},lo=S&&(!Array.isArray(S)||S.length>0)?createTheme(S):be,Ie={};Object.entries(Q||{}).forEach(([nr,ir])=>{let N={...ir};"algorithm"in N&&(N.algorithm===true?N.theme=lo:(Array.isArray(N.algorithm)||typeof N.algorithm=="function")&&(N.theme=createTheme(N.algorithm)),delete N.algorithm),Ie[nr]=N;});let so={...B,...F};return {...ge,theme:lo,token:so,components:Ie,override:{override:so,...Ie},cssVar:Y}},[Le]);return R&&(T=C.createElement(ce.Provider,{value:rr},T)),K.warning&&(T=C.createElement(po.Provider,{value:K.warning},T)),P!==void 0&&(T=C.createElement(Lo,{disabled:P},T)),C.createElement(v.Provider,{value:K},T)},fe=e=>{let o=C.useContext(v),t=C.useContext(le);return C.createElement(ln,{parentContext:o,legacyLocale:t,...e})};fe.ConfigContext=v;fe.SizeContext=de;fe.config=an;fe.useConfig=$o;Object.defineProperty(fe,"SizeContext",{get:()=>(de)});var _o=C.createContext(null);_o.Provider;var qo=_o,oo=C.createContext(null),Ko=oo.Provider;var sn=(e,o,t)=>C__default.isValidElement(e)?C__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function Yo(e,o){return sn(e,e,o)}var cn=e=>{let{componentCls:o,colorPrimary:t}=e;return {[o]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${t})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},Jo=Ye("Wave",e=>[cn(e)]);var re=`${ee}-wave-target`;var fn=(e,o)=>(render(e,o),()=>unmount(o)),gn=fn;function Zo(){return gn}function to(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function et(e){let{borderTopColor:o,borderColor:t,backgroundColor:n}=getComputedStyle(e);return to(o)?o:to(t)?t:to(n)?n:null}function ro(e){return Number.isNaN(e)?0:e}var xn=e=>{let{className:o,target:t,component:n,registerUnmount:r}=e,l=C.useRef(null),i=C.useRef(null);C.useEffect(()=>{i.current=r();},[]);let[s,p]=C.useState(null),[a,c]=C.useState([]),[d,m]=C.useState(0),[g,u]=C.useState(0),[L,b]=C.useState(0),[y,x]=C.useState(0),[R,P]=C.useState(false),W={left:d,top:g,width:L,height:y,borderRadius:a.map(k=>`${k}px`).join(" ")};s&&(W["--wave-color"]=s);function M(){let k=getComputedStyle(t);p(et(t));let f=k.position==="static",{borderLeftWidth:z,borderTopWidth:H}=k;m(f?t.offsetLeft:ro(-parseFloat(z))),u(f?t.offsetTop:ro(-parseFloat(H))),b(t.offsetWidth),x(t.offsetHeight);let{borderTopLeftRadius:V,borderTopRightRadius:G,borderBottomLeftRadius:A,borderBottomRightRadius:E}=k;c([V,G,E,A].map(we=>ro(parseFloat(we))));}if(C.useEffect(()=>{if(t){let k=ot(()=>{M(),P(true);}),f;return typeof ResizeObserver<"u"&&(f=new ResizeObserver(M),f.observe(t)),()=>{ot.cancel(k),f?.disconnect();}}},[]),!R)return null;let j=(n==="Checkbox"||n==="Radio")&&t?.classList.contains(re);return C.createElement(Cn,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(k,f)=>{if(f.deadline||f.propertyName==="opacity"){let z=l.current?.parentElement;i.current?.().then(()=>{z?.remove();});}return false}},({className:k},f)=>C.createElement("div",{ref:composeRef(l,f),className:dt(o,k,{"wave-quick":j}),style:W}))},bn=(e,o)=>{let{component:t}=o;if(t==="Checkbox"&&!e.querySelector("input")?.checked)return;let n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e?.insertBefore(n,e?.firstChild);let r=Zo(),l=null;function i(){return l}l=r(C.createElement(xn,{...o,target:e,registerUnmount:i}),n);},tt=bn;var hn=(e,o,t)=>{let{wave:n}=C.useContext(v),[,r,l]=D(),i=Sn(a=>{let c=e.current;if(n?.disabled||!c)return;let d=c.querySelector(`.${re}`)||c,{showEffect:m}=n||{};(m||tt)(d,{className:o,token:r,component:t,event:a,hashId:l});}),s=C.useRef(null);return a=>{ot.cancel(s.current),s.current=ot(()=>{i(a);});}},nt=hn;var Ln=e=>{let{children:o,disabled:t,component:n}=e,{getPrefixCls:r}=useContext(v),l=useRef(null),i=r("wave"),[,s]=Jo(i),p=nt(l,dt(i,s),n);if(C__default.useEffect(()=>{let c=l.current;if(!c||c.nodeType!==1||t)return;let d=m=>{!vn(m.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||p(m);};return c.addEventListener("click",d,true),()=>{c.removeEventListener("click",d,true);}},[t]),!C__default.isValidElement(o))return o??null;let a=supportRef(o)?composeRef(getNodeRef(o),l):l;return Yo(o,{ref:a})},at=Ln;function no(e){let o=C__default.useRef(null),t=()=>{ot.cancel(o.current),o.current=null;};return [()=>{t(),o.current=ot(()=>{o.current=null;});},l=>{o.current&&(l.stopPropagation(),t()),e?.(l);}]}var In=e=>{let[,,,,o]=D();return o?`${e}-css-var`:""},st=In;C.createContext({labelAlign:"right",vertical:false,itemRef:(()=>{})});C.createContext(null);C.createContext({prefixCls:""});var ct=C.createContext({});C.createContext(void 0);var $n=e=>{let{componentCls:o,antCls:t}=e,n=`${o}-group`;return {[n]:{...Te(e),display:"inline-block",fontSize:0,[`&${n}-rtl`]:{direction:"rtl"},[`&${n}-block`]:{display:"flex"},[`${t}-badge ${t}-badge-count`]:{zIndex:1},[`> ${t}-badge:not(:first-child) > ${t}-button-wrapper`]:{borderInlineStart:"none"}}}},Wn=e=>{let{componentCls:o,wrapperMarginInlineEnd:t,colorPrimary:n,radioSize:r,motionDurationSlow:l,motionDurationMid:i,motionEaseInOutCirc:s,colorBgContainer:p,colorBorder:a,lineWidth:c,colorBgContainerDisabled:d,colorTextDisabled:m,paddingXS:g,dotColorDisabled:u,lineType:L,radioColor:b,radioBgColor:y,calc:x}=e,R=`${o}-inner`,W=x(r).sub(x(4).mul(2)),M=x(1).mul(r).equal({unit:true});return {[`${o}-wrapper`]:{...Te(e),display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:t,cursor:"pointer",[`&${o}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${o}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${unit(c)} ${L} ${n}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[o]:{...Te(e),position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"},[`${o}-wrapper:hover &,
|
|
41
|
-
&:hover ${R}`]:{borderColor:n},[`${o}-input:focus-visible + ${R}`]:{...Ke(e)},[`${o}:hover::after, ${o}-wrapper:hover &::after`]:{visibility:"visible"},[`${o}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:M,height:M,marginBlockStart:x(1).mul(r).div(-2).equal({unit:true}),marginInlineStart:x(1).mul(r).div(-2).equal({unit:true}),backgroundColor:b,borderBlockStart:0,borderInlineStart:0,borderRadius:M,transform:"scale(0)",opacity:0,transition:`all ${l} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:M,height:M,backgroundColor:p,borderColor:a,borderStyle:"solid",borderWidth:c,borderRadius:"50%",transition:`all ${i}`},[`${o}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${o}-checked`]:{[R]:{borderColor:n,backgroundColor:y,"&::after":{transform:`scale(${e.calc(e.dotSize).div(r).equal()})`,opacity:1,transition:`all ${l} ${s}`}}},[`${o}-disabled`]:{cursor:"not-allowed",[R]:{backgroundColor:d,borderColor:a,cursor:"not-allowed","&::after":{backgroundColor:u}},[`${o}-input`]:{cursor:"not-allowed"},[`${o}-disabled + span`]:{color:m,cursor:"not-allowed"},[`&${o}-checked`]:{[R]:{"&::after":{transform:`scale(${x(W).div(r).equal()})`}}}},[`span${o} + *`]:{paddingInlineStart:g,paddingInlineEnd:g}}}},Dn=e=>{let{buttonColor:o,controlHeight:t,componentCls:n,lineWidth:r,lineType:l,colorBorder:i,motionDurationSlow:s,motionDurationMid:p,buttonPaddingInline:a,fontSize:c,buttonBg:d,fontSizeLG:m,controlHeightLG:g,controlHeightSM:u,paddingXS:L,borderRadius:b,borderRadiusSM:y,borderRadiusLG:x,buttonCheckedBg:R,buttonSolidCheckedColor:P,colorTextDisabled:W,colorBgContainerDisabled:M,buttonCheckedBgDisabled:j,buttonCheckedColorDisabled:k,colorPrimary:f,colorPrimaryHover:z,colorPrimaryActive:H,buttonSolidCheckedBg:V,buttonSolidCheckedHoverBg:G,buttonSolidCheckedActiveBg:A,calc:E}=e;return {[`${n}-button-wrapper`]:{position:"relative",display:"inline-block",height:t,margin:0,paddingInline:a,paddingBlock:0,color:o,fontSize:c,lineHeight:unit(E(t).sub(E(r).mul(2)).equal()),background:d,border:`${unit(r)} ${l} ${i}`,borderBlockStartWidth:E(r).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:r,cursor:"pointer",transition:[`color ${p}`,`background ${p}`,`box-shadow ${p}`].join(","),a:{color:o},[`> ${n}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:E(r).mul(-1).equal(),insetInlineStart:E(r).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:r,paddingInline:0,backgroundColor:i,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${unit(r)} ${l} ${i}`,borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b},"&:first-child:last-child":{borderRadius:b},[`${n}-group-large &`]:{height:g,fontSize:m,lineHeight:unit(E(g).sub(E(r).mul(2)).equal()),"&:first-child":{borderStartStartRadius:x,borderEndStartRadius:x},"&:last-child":{borderStartEndRadius:x,borderEndEndRadius:x}},[`${n}-group-small &`]:{height:u,paddingInline:E(L).sub(r).equal(),paddingBlock:0,lineHeight:unit(E(u).sub(E(r).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:f},"&:has(:focus-visible)":{...Ke(e)},[`${n}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${n}-button-wrapper-disabled)`]:{zIndex:1,color:f,background:R,borderColor:f,"&::before":{backgroundColor:f},"&:first-child":{borderColor:f},"&:hover":{color:z,borderColor:z,"&::before":{backgroundColor:z}},"&:active":{color:H,borderColor:H,"&::before":{backgroundColor:H}}},[`${n}-group-solid &-checked:not(${n}-button-wrapper-disabled)`]:{color:P,background:V,borderColor:V,"&:hover":{color:P,background:G,borderColor:G},"&:active":{color:P,background:A,borderColor:A}},"&-disabled":{color:W,backgroundColor:M,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:W,backgroundColor:M,borderColor:i}},[`&-disabled${n}-button-wrapper-checked`]:{color:k,backgroundColor:j,borderColor:i,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},zn=e=>{let{wireframe:o,padding:t,marginXS:n,lineWidth:r,fontSizeLG:l,colorText:i,colorBgContainer:s,colorTextDisabled:p,controlItemBgActiveDisabled:a,colorTextLightSolid:c,colorPrimary:d,colorPrimaryHover:m,colorPrimaryActive:g,colorWhite:u}=e,L=4,b=l,y=o?b-L*2:b-(L+r)*2;return {radioSize:b,dotSize:y,dotColorDisabled:p,buttonSolidCheckedColor:c,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:m,buttonSolidCheckedActiveBg:g,buttonBg:s,buttonCheckedBg:s,buttonColor:i,buttonCheckedBgDisabled:a,buttonCheckedColorDisabled:p,buttonPaddingInline:t-r,wrapperMarginInlineEnd:n,radioColor:o?d:u,radioBgColor:o?s:d}},pt=Qe("Radio",e=>{let{controlOutline:o,controlOutlineWidth:t}=e,n=`0 0 0 ${unit(t)} ${o}`,l=mergeToken(e,{radioFocusShadow:n,radioButtonFocusShadow:n});return [$n(l),Wn(l),Dn(l)]},zn,{unitless:{radioSize:true,dotSize:true}});var Hn=(e,o)=>{let t=C.useContext(qo),n=C.useContext(oo),{getPrefixCls:r,direction:l,radio:i}=C.useContext(v),s=C.useRef(null),p=composeRef(o,s),{isFormItemInput:a}=C.useContext(ct),c=A=>{e.onChange?.(A),t?.onChange?.(A);},{prefixCls:d,className:m,rootClassName:g,children:u,style:L,title:b,...y}=e,x=r("radio",d),R=(t?.optionType||n)==="button",P=R?`${x}-button`:x,W=st(x),[M,j,k]=pt(x,W),f={...y},z=C.useContext(Se);t&&(f.name=t.name,f.onChange=c,f.checked=e.value===t.value,f.disabled=f.disabled??t.disabled),f.disabled=f.disabled??z;let H=dt(`${P}-wrapper`,{[`${P}-wrapper-checked`]:f.checked,[`${P}-wrapper-disabled`]:f.disabled,[`${P}-wrapper-rtl`]:l==="rtl",[`${P}-wrapper-in-form-item`]:a,[`${P}-wrapper-block`]:!!t?.block},i?.className,m,g,j,k,W),[V,G]=no(f.onClick);return M(C.createElement(at,{component:"Radio",disabled:f.disabled},C.createElement("label",{className:H,style:{...i?.style,...L},onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:b,onClick:V},C.createElement(An,{...f,className:dt(f.className,{[re]:!R}),type:"radio",prefixCls:P,ref:p,onClick:G}),u!==void 0?C.createElement("span",null,u):null)))},Nn=C.forwardRef(Hn),mt=Nn;var Bn=(e,o)=>{let{getPrefixCls:t}=C.useContext(v),{prefixCls:n,...r}=e,l=t("radio",n);return C.createElement(Ko,{value:"button"},C.createElement(mt,{prefixCls:l,...r,type:"radio",ref:o}))},ic=C.forwardRef(Bn);export{ic as default};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { GetDefaultToken } from '../../theme/internal';
|
|
2
|
-
export interface ComponentToken {
|
|
3
|
-
/**
|
|
4
|
-
* @desc 单选框大小
|
|
5
|
-
* @descEN Radio size
|
|
6
|
-
*/
|
|
7
|
-
radioSize: number;
|
|
8
|
-
/**
|
|
9
|
-
* @desc 单选框圆点大小
|
|
10
|
-
* @descEN Size of Radio dot
|
|
11
|
-
*/
|
|
12
|
-
dotSize: number;
|
|
13
|
-
/**
|
|
14
|
-
* @desc 单选框圆点禁用颜色
|
|
15
|
-
* @descEN Color of disabled Radio dot
|
|
16
|
-
*/
|
|
17
|
-
dotColorDisabled: string;
|
|
18
|
-
/**
|
|
19
|
-
* @desc 单选框按钮背景色
|
|
20
|
-
* @descEN Background color of Radio button
|
|
21
|
-
*/
|
|
22
|
-
buttonBg: string;
|
|
23
|
-
/**
|
|
24
|
-
* @desc 单选框按钮选中背景色
|
|
25
|
-
* @descEN Background color of checked Radio button
|
|
26
|
-
*/
|
|
27
|
-
buttonCheckedBg: string;
|
|
28
|
-
/**
|
|
29
|
-
* @desc 单选框按钮文本颜色
|
|
30
|
-
* @descEN Color of Radio button text
|
|
31
|
-
*/
|
|
32
|
-
buttonColor: string;
|
|
33
|
-
/**
|
|
34
|
-
* @desc 单选框按钮横向内间距
|
|
35
|
-
* @descEN Horizontal padding of Radio button
|
|
36
|
-
*/
|
|
37
|
-
buttonPaddingInline: number;
|
|
38
|
-
/**
|
|
39
|
-
* @desc 单选框按钮选中并禁用时的背景色
|
|
40
|
-
* @descEN Background color of checked and disabled Radio button
|
|
41
|
-
*/
|
|
42
|
-
buttonCheckedBgDisabled: string;
|
|
43
|
-
/**
|
|
44
|
-
* @desc 单选框按钮选中并禁用时的文本颜色
|
|
45
|
-
* @descEN Color of checked and disabled Radio button text
|
|
46
|
-
*/
|
|
47
|
-
buttonCheckedColorDisabled: string;
|
|
48
|
-
/**
|
|
49
|
-
* @desc 单选框实色按钮选中时的文本颜色
|
|
50
|
-
* @descEN Color of checked solid Radio button text
|
|
51
|
-
*/
|
|
52
|
-
buttonSolidCheckedColor: string;
|
|
53
|
-
/**
|
|
54
|
-
* @desc 单选框实色按钮选中时的背景色
|
|
55
|
-
* @descEN Background color of checked solid Radio button text
|
|
56
|
-
*/
|
|
57
|
-
buttonSolidCheckedBg: string;
|
|
58
|
-
/**
|
|
59
|
-
* @desc 单选框实色按钮选中时的悬浮态背景色
|
|
60
|
-
* @descEN Background color of checked solid Radio button text when hover
|
|
61
|
-
*/
|
|
62
|
-
buttonSolidCheckedHoverBg: string;
|
|
63
|
-
/**
|
|
64
|
-
* @desc 单选框实色按钮选中时的激活态背景色
|
|
65
|
-
* @descEN Background color of checked solid Radio button text when active
|
|
66
|
-
*/
|
|
67
|
-
buttonSolidCheckedActiveBg: string;
|
|
68
|
-
/**
|
|
69
|
-
* @desc 单选框右间距
|
|
70
|
-
* @descEN Margin right of Radio button
|
|
71
|
-
*/
|
|
72
|
-
wrapperMarginInlineEnd: number;
|
|
73
|
-
}
|
|
74
|
-
export declare const prepareComponentToken: GetDefaultToken<'Radio'>;
|
|
75
|
-
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
|
|
76
|
-
export default _default;
|
package/es/radio/style/index.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import {createTheme,unit,useCacheToken}from'@ant-design/cssinjs';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import*as Ae from'react';import Ae__default,{useContext}from'react';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';var I=(e,r=false)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:r?"inherit":e.fontFamily}),ve=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var te=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),ne=(e,r,t,n)=>{let o=`[class^="${r}"], [class*=" ${r}"]`,l=t?`.${t}`:o,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},c={};return n!==false&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[l]:{...c,...i,[o]:i}}},F=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"});var E=e=>({[`.${e}`]:{...ve(),[`.${e} .${e}-icon`]:{display:"block"}}});function le(e){return (e+8)/e}function G(e){let r=new Array(10).fill(null).map((t,n)=>{let o=n-1,l=e*Math.E**(o/5),i=n>1?Math.floor(l):Math.ceil(l);return Math.floor(i/2)*2});return r[1]=e,r.map(t=>({size:t,lineHeight:le(t)}))}var ae={version:"0.0.2"};var se=ae.version;var O={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},we={...O,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
2
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
3
|
-
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},h=we;function j(e,{generateColorPalettes:r,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:o,colorError:l,colorInfo:i,colorPrimary:c,colorBgBase:d,colorTextBase:s}=e,a=r(c),p=r(n),g=r(o),m=r(l),f=r(i),k=t(d,s),u=e.colorLink||e.colorInfo,b=r(u),C=new TinyColor(m[1]).mix(new TinyColor(m[3]),50).toHexString();return {...k,colorPrimaryBg:a[1],colorPrimaryBgHover:a[2],colorPrimaryBorder:a[3],colorPrimaryBorderHover:a[4],colorPrimaryHover:a[5],colorPrimary:a[6],colorPrimaryActive:a[7],colorPrimaryTextHover:a[8],colorPrimaryText:a[9],colorPrimaryTextActive:a[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:C,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:f[1],colorInfoBgHover:f[2],colorInfoBorder:f[3],colorInfoBorderHover:f[4],colorInfoHover:f[4],colorInfo:f[6],colorInfoActive:f[7],colorInfoTextHover:f[8],colorInfoText:f[9],colorInfoTextActive:f[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var ze=e=>{let r=e,t=e,n=e,o=e;return e<6&&e>=5?r=e+1:e<16&&e>=6?r=e+2:e>=16&&(r=16),e<7&&e>=5?t=4:e<8&&e>=7?t=5:e<14&&e>=8?t=6:e<16&&e>=14?t=7:e>=16&&(t=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:t,borderRadiusLG:r,borderRadiusOuter:o}},ce=ze;function W(e){let{motionUnit:r,motionBase:t,borderRadius:n,lineWidth:o}=e;return {motionDurationFast:`${(t+r).toFixed(1)}s`,motionDurationMid:`${(t+r*2).toFixed(1)}s`,motionDurationSlow:`${(t+r*3).toFixed(1)}s`,lineWidthBold:o+1,...ce(n)}}var He=e=>{let{controlHeight:r}=e;return {controlHeightSM:r*.75,controlHeightXS:r*.5,controlHeightLG:r*1.25}},pe=He;var Be=e=>{let r=G(e),t=r.map(a=>a.size),n=r.map(a=>a.lineHeight),o=t[1],l=t[0],i=t[2],c=n[1],d=n[0],s=n[2];return {fontSizeSM:l,fontSize:o,fontSizeLG:i,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:c,lineHeightLG:s,lineHeightSM:d,fontHeight:Math.round(c*o),fontHeightLG:Math.round(s*i),fontHeightSM:Math.round(d*l),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},de=Be;function N(e){let{sizeUnit:r,sizeStep:t}=e;return {sizeXXL:r*(t+8),sizeXL:r*(t+4),sizeLG:r*(t+2),sizeMD:r*(t+1),sizeMS:r*t,size:r*t,sizeSM:r*(t-1),sizeXS:r*(t-2),sizeXXS:r*(t-3)}}var S=(e,r)=>new TinyColor(e).setAlpha(r).toRgbString(),v=(e,r)=>new TinyColor(e).darken(r).toHexString();var me=e=>{let r=generate(e);return {1:r[0],2:r[1],3:r[2],4:r[3],5:r[4],6:r[5],7:r[6],8:r[4],9:r[5],10:r[6]}},fe=(e,r)=>{let t=e||"#fff",n=r||"#000";return {colorBgBase:t,colorTextBase:n,colorText:S(n,.88),colorTextSecondary:S(n,.65),colorTextTertiary:S(n,.45),colorTextQuaternary:S(n,.25),colorFill:S(n,.15),colorFillSecondary:S(n,.06),colorFillTertiary:S(n,.04),colorFillQuaternary:S(n,.02),colorBgSolid:S(n,1),colorBgSolidHover:S(n,.75),colorBgSolidActive:S(n,.95),colorBgLayout:v(t,4),colorBgContainer:v(t,0),colorBgElevated:v(t,0),colorBgSpotlight:S(n,.85),colorBgBlur:"transparent",colorBorder:v(t,15),colorBorderSecondary:v(t,6)}};function V(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let r=Object.keys(O).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((o,l,i)=>(o[`${t}-${i+1}`]=n[i],o[`${t}${i+1}`]=n[i],o),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...r,...j(e,{generateColorPalettes:me,generateNeutralColorPalettes:fe}),...de(e.fontSize),...N(e),...pe(e),...W(e)}}var ue=createTheme(V),Ce={token:h,override:{override:h},hashed:true},Q=Ae__default.createContext(Ce);function _(e){return e>=0&&e<=255}function Le(e,r){let{r:t,g:n,b:o,a:l}=new TinyColor(e).toRgb();if(l<1)return e;let{r:i,g:c,b:d}=new TinyColor(r).toRgb();for(let s=.01;s<=1;s+=.01){let a=Math.round((t-i*(1-s))/s),p=Math.round((n-c*(1-s))/s),g=Math.round((o-d*(1-s))/s);if(_(a)&&_(p)&&_(g))return new TinyColor({r:a,g:p,b:g,a:Math.round(s*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:o,a:1}).toRgbString()}var w=Le;function A(e){let{override:r,...t}=e,n={...r};Object.keys(h).forEach(g=>{delete n[g];});let o={...t,...n},l=480,i=576,c=768,d=992,s=1200,a=1600;return o.motion===false&&(o.motionDurationFast="0s",o.motionDurationMid="0s",o.motionDurationSlow="0s"),{...o,colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:w(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:w(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:w(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*3,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:w(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|
|
4
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
5
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
6
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
7
|
-
`,boxShadowSecondary:`
|
|
8
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
9
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
10
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
11
|
-
`,boxShadowTertiary:`
|
|
12
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
13
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
14
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
15
|
-
`,screenXS:l,screenXSMin:l,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:d-1,screenLG:d,screenLGMin:d,screenLGMax:s-1,screenXL:s,screenXLMin:s,screenXLMax:a-1,screenXXL:a,screenXXLMin:a,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
16
|
-
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
17
|
-
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
18
|
-
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
19
|
-
`,boxShadowDrawerRight:`
|
|
20
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
21
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
22
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
23
|
-
`,boxShadowDrawerLeft:`
|
|
24
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
25
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
26
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
27
|
-
`,boxShadowDrawerUp:`
|
|
28
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
29
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
30
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
31
|
-
`,boxShadowDrawerDown:`
|
|
32
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
33
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
34
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
35
|
-
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var J={lineHeight:true,lineHeightSM:true,lineHeightLG:true,lineHeightHeading1:true,lineHeightHeading2:true,lineHeightHeading3:true,lineHeightHeading4:true,lineHeightHeading5:true,opacityLoading:true,fontWeightStrong:true,zIndexPopupBase:true,zIndexBase:true,opacityImage:true},Ee={size:true,sizeSM:true,sizeLG:true,sizeMD:true,sizeXS:true,sizeXXS:true,sizeMS:true,sizeXL:true,sizeXXL:true,sizeUnit:true,sizeStep:true,motionBase:true,motionUnit:true},Ge={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},Se=(e,r,t)=>{let n=t.getDerivativeToken(e),{override:o,...l}=r,i={...n,override:o};return i=A(i),l&&Object.entries(l).forEach(([c,d])=>{let{theme:s,...a}=d,p=a;s&&(p=Se({...i,...a},{override:a},s)),i[c]=p;}),i};function z(){let{token:e,hashed:r,theme:t,override:n,cssVar:o}=Ae__default.useContext(Q),l=`${se}-${r||""}`,i=t||ue,[c,d,s]=useCacheToken(i,[h,e],{salt:l,override:n,getComputedToken:Se,formatToken:A,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:J,ignore:Ee,preserve:Ge}});return [i,s,r?d:"",c,o]}var be="ant",Y="anticon";var Oe=(e,r)=>r||(e?`${be}-${e}`:be),R=Ae.createContext({getPrefixCls:Oe,iconPrefixCls:Y}),{Consumer:qo}=R;var{genStyleHooks:Z,genComponentStyleHook:je,genSubStyleComponent:We}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:r}=useContext(R);return {rootPrefixCls:e(),iconPrefixCls:r}},useToken:()=>{let[e,r,t,n,o]=z();return {theme:e,realToken:r,hashId:t,token:n,cssVar:o}},useCSP:()=>{let{csp:e}=useContext(R);return e??{}},getResetStyles:(e,r)=>[{"&":te(e)},E(r?.prefix.iconPrefixCls??Y)],getCommonStyle:ne,getCompUnitless:(()=>J)});var Ne=e=>{let{componentCls:r,antCls:t}=e,n=`${r}-group`;return {[n]:{...I(e),display:"inline-block",fontSize:0,[`&${n}-rtl`]:{direction:"rtl"},[`&${n}-block`]:{display:"flex"},[`${t}-badge ${t}-badge-count`]:{zIndex:1},[`> ${t}-badge:not(:first-child) > ${t}-button-wrapper`]:{borderInlineStart:"none"}}}},Ue=e=>{let{componentCls:r,wrapperMarginInlineEnd:t,colorPrimary:n,radioSize:o,motionDurationSlow:l,motionDurationMid:i,motionEaseInOutCirc:c,colorBgContainer:d,colorBorder:s,lineWidth:a,colorBgContainerDisabled:p,colorTextDisabled:g,paddingXS:m,dotColorDisabled:f,lineType:k,radioColor:u,radioBgColor:b,calc:C}=e,T=`${r}-inner`,B=C(o).sub(C(4).mul(2)),x=C(1).mul(o).equal({unit:true});return {[`${r}-wrapper`]:{...I(e),display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:t,cursor:"pointer",[`&${r}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${r}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${unit(a)} ${k} ${n}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[r]:{...I(e),position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"},[`${r}-wrapper:hover &,
|
|
36
|
-
&:hover ${T}`]:{borderColor:n},[`${r}-input:focus-visible + ${T}`]:{...F(e)},[`${r}:hover::after, ${r}-wrapper:hover &::after`]:{visibility:"visible"},[`${r}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:x,height:x,marginBlockStart:C(1).mul(o).div(-2).equal({unit:true}),marginInlineStart:C(1).mul(o).div(-2).equal({unit:true}),backgroundColor:u,borderBlockStart:0,borderInlineStart:0,borderRadius:x,transform:"scale(0)",opacity:0,transition:`all ${l} ${c}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:x,height:x,backgroundColor:d,borderColor:s,borderStyle:"solid",borderWidth:a,borderRadius:"50%",transition:`all ${i}`},[`${r}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${r}-checked`]:{[T]:{borderColor:n,backgroundColor:b,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${l} ${c}`}}},[`${r}-disabled`]:{cursor:"not-allowed",[T]:{backgroundColor:p,borderColor:s,cursor:"not-allowed","&::after":{backgroundColor:f}},[`${r}-input`]:{cursor:"not-allowed"},[`${r}-disabled + span`]:{color:g,cursor:"not-allowed"},[`&${r}-checked`]:{[T]:{"&::after":{transform:`scale(${C(B).div(o).equal()})`}}}},[`span${r} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}}}},qe=e=>{let{buttonColor:r,controlHeight:t,componentCls:n,lineWidth:o,lineType:l,colorBorder:i,motionDurationSlow:c,motionDurationMid:d,buttonPaddingInline:s,fontSize:a,buttonBg:p,fontSizeLG:g,controlHeightLG:m,controlHeightSM:f,paddingXS:k,borderRadius:u,borderRadiusSM:b,borderRadiusLG:C,buttonCheckedBg:T,buttonSolidCheckedColor:H,colorTextDisabled:B,colorBgContainerDisabled:x,buttonCheckedBgDisabled:Te,buttonCheckedColorDisabled:he,colorPrimary:M,colorPrimaryHover:L,colorPrimaryActive:$,buttonSolidCheckedBg:ee,buttonSolidCheckedHoverBg:oe,buttonSolidCheckedActiveBg:re,calc:y}=e;return {[`${n}-button-wrapper`]:{position:"relative",display:"inline-block",height:t,margin:0,paddingInline:s,paddingBlock:0,color:r,fontSize:a,lineHeight:unit(y(t).sub(y(o).mul(2)).equal()),background:p,border:`${unit(o)} ${l} ${i}`,borderBlockStartWidth:y(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${d}`,`background ${d}`,`box-shadow ${d}`].join(","),a:{color:r},[`> ${n}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:y(o).mul(-1).equal(),insetInlineStart:y(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:i,transition:`background-color ${c}`,content:'""'}},"&:first-child":{borderInlineStart:`${unit(o)} ${l} ${i}`,borderStartStartRadius:u,borderEndStartRadius:u},"&:last-child":{borderStartEndRadius:u,borderEndEndRadius:u},"&:first-child:last-child":{borderRadius:u},[`${n}-group-large &`]:{height:m,fontSize:g,lineHeight:unit(y(m).sub(y(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:C,borderEndStartRadius:C},"&:last-child":{borderStartEndRadius:C,borderEndEndRadius:C}},[`${n}-group-small &`]:{height:f,paddingInline:y(k).sub(o).equal(),paddingBlock:0,lineHeight:unit(y(f).sub(y(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},"&:hover":{position:"relative",color:M},"&:has(:focus-visible)":{...F(e)},[`${n}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${n}-button-wrapper-disabled)`]:{zIndex:1,color:M,background:T,borderColor:M,"&::before":{backgroundColor:M},"&:first-child":{borderColor:M},"&:hover":{color:L,borderColor:L,"&::before":{backgroundColor:L}},"&:active":{color:$,borderColor:$,"&::before":{backgroundColor:$}}},[`${n}-group-solid &-checked:not(${n}-button-wrapper-disabled)`]:{color:H,background:ee,borderColor:ee,"&:hover":{color:H,background:oe,borderColor:oe},"&:active":{color:H,background:re,borderColor:re}},"&-disabled":{color:B,backgroundColor:x,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:B,backgroundColor:x,borderColor:i}},[`&-disabled${n}-button-wrapper-checked`]:{color:he,backgroundColor:Te,borderColor:i,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},Ve=e=>{let{wireframe:r,padding:t,marginXS:n,lineWidth:o,fontSizeLG:l,colorText:i,colorBgContainer:c,colorTextDisabled:d,controlItemBgActiveDisabled:s,colorTextLightSolid:a,colorPrimary:p,colorPrimaryHover:g,colorPrimaryActive:m,colorWhite:f}=e,k=4,u=l,b=r?u-k*2:u-(k+o)*2;return {radioSize:u,dotSize:b,dotColorDisabled:d,buttonSolidCheckedColor:a,buttonSolidCheckedBg:p,buttonSolidCheckedHoverBg:g,buttonSolidCheckedActiveBg:m,buttonBg:c,buttonCheckedBg:c,buttonColor:i,buttonCheckedBgDisabled:s,buttonCheckedColorDisabled:d,buttonPaddingInline:t-o,wrapperMarginInlineEnd:n,radioColor:r?p:f,radioBgColor:r?c:p}},Mr=Z("Radio",e=>{let{controlOutline:r,controlOutlineWidth:t}=e,n=`0 0 0 ${unit(t)} ${r}`,l=mergeToken(e,{radioFocusShadow:n,radioButtonFocusShadow:n});return [Ne(l),Ue(l),qe(l)]},Ve,{unitless:{radioSize:true,dotSize:true}});export{Mr as default,Ve as prepareComponentToken};
|
package/es/rate/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { RateRef, RateProps as RcRateProps } from 'rc-rate/lib/Rate';
|
|
3
|
-
export interface RateProps extends RcRateProps {
|
|
4
|
-
rootClassName?: string;
|
|
5
|
-
tooltips?: Array<string>;
|
|
6
|
-
}
|
|
7
|
-
declare const Rate: React.ForwardRefExoticComponent<RateProps & React.RefAttributes<RateRef>>;
|
|
8
|
-
export default Rate;
|