@gobolt/genesis 0.3.11 → 0.3.12
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/dist/bundle.css +41 -41
- package/dist/components/Table/index.d.ts +3 -0
- package/dist/components/Tabs/styles.d.ts +1 -3
- package/dist/components/index.d.ts +7 -7
- package/dist/index.cjs +3 -6
- package/dist/index.js +4 -7
- package/dist/node_modules/@ant-design/cssinjs/es/Cache.cjs +2 -3
- package/dist/node_modules/@ant-design/cssinjs/es/Cache.js +2 -3
- package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.cjs +2 -2
- package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.js +2 -2
- package/dist/node_modules/@ant-design/cssinjs/es/extractStyle.cjs +2 -1
- package/dist/node_modules/@ant-design/cssinjs/es/extractStyle.js +5 -4
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.cjs +1 -2
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.js +1 -2
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.cjs +5 -4
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +5 -4
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.cjs +3 -3
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +3 -3
- package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.cjs +2 -2
- package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.js +2 -2
- package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.cjs +2 -2
- package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.js +2 -2
- package/dist/node_modules/@ant-design/cssinjs/es/util/index.cjs +2 -1
- package/dist/node_modules/@ant-design/cssinjs/es/util/index.js +3 -2
- package/dist/node_modules/@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.cjs +2 -2
- package/dist/node_modules/@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.js +2 -2
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/CSSCalculator.cjs +2 -2
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/CSSCalculator.js +2 -2
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/NumCalculator.cjs +2 -2
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/NumCalculator.js +2 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.cjs +275 -62
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +275 -62
- package/dist/node_modules/@fontsource/inter/300.css.cjs +1 -0
- package/dist/node_modules/@fontsource/inter/300.css.js +1 -0
- package/dist/node_modules/@fontsource/inter/400.css.cjs +1 -0
- package/dist/node_modules/@fontsource/inter/400.css.js +1 -0
- package/dist/node_modules/@fontsource/inter/500.css.cjs +1 -0
- package/dist/node_modules/@fontsource/inter/500.css.js +1 -0
- package/dist/node_modules/@fontsource/inter/600.css.cjs +1 -0
- package/dist/node_modules/@fontsource/inter/600.css.js +1 -0
- package/dist/node_modules/@fontsource/inter/700.css.cjs +1 -0
- package/dist/node_modules/@fontsource/inter/700.css.js +1 -0
- package/dist/node_modules/@fontsource/roboto-mono/400.css.cjs +1 -0
- package/dist/node_modules/@fontsource/roboto-mono/400.css.js +1 -0
- package/dist/node_modules/@rc-component/async-validator/es/index.cjs +2 -2
- package/dist/node_modules/@rc-component/async-validator/es/index.js +2 -2
- package/dist/node_modules/@rc-component/async-validator/es/rule/url.cjs +2 -2
- package/dist/node_modules/@rc-component/async-validator/es/rule/url.js +2 -2
- package/dist/node_modules/@rc-component/async-validator/es/util.cjs +2 -2
- package/dist/node_modules/@rc-component/async-validator/es/util.js +2 -2
- package/dist/node_modules/@rc-component/color-picker/es/color.cjs +2 -2
- package/dist/node_modules/@rc-component/color-picker/es/color.js +2 -2
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.cjs +1 -2
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +1 -2
- package/dist/node_modules/@rc-component/trigger/es/index.cjs +1 -3
- package/dist/node_modules/@rc-component/trigger/es/index.js +1 -3
- package/dist/node_modules/antd/es/_util/ActionButton.cjs +4 -4
- package/dist/node_modules/antd/es/_util/ActionButton.js +4 -4
- package/dist/node_modules/antd/es/_util/colors.cjs +2 -1
- package/dist/node_modules/antd/es/_util/colors.js +2 -1
- package/dist/node_modules/antd/es/_util/extendsObject.cjs +13 -11
- package/dist/node_modules/antd/es/_util/extendsObject.js +13 -11
- package/dist/node_modules/antd/es/_util/motion.cjs +16 -13
- package/dist/node_modules/antd/es/_util/motion.js +16 -13
- package/dist/node_modules/antd/es/_util/placements.cjs +4 -4
- package/dist/node_modules/antd/es/_util/placements.js +4 -4
- package/dist/node_modules/antd/es/_util/responsiveObserver.cjs +20 -18
- package/dist/node_modules/antd/es/_util/responsiveObserver.js +20 -18
- package/dist/node_modules/antd/es/_util/scrollTo.cjs +2 -1
- package/dist/node_modules/antd/es/_util/scrollTo.js +2 -1
- package/dist/node_modules/antd/es/_util/toList.cjs +4 -5
- package/dist/node_modules/antd/es/_util/toList.js +4 -5
- package/dist/node_modules/antd/es/_util/warning.cjs +6 -8
- package/dist/node_modules/antd/es/_util/warning.js +2 -3
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.cjs +13 -10
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +14 -11
- package/dist/node_modules/antd/es/_util/wave/style.cjs +1 -1
- package/dist/node_modules/antd/es/_util/wave/style.js +1 -1
- package/dist/node_modules/antd/es/_util/wave/util.cjs +1 -1
- package/dist/node_modules/antd/es/_util/wave/util.js +1 -1
- package/dist/node_modules/antd/es/avatar/Avatar.cjs +28 -22
- package/dist/node_modules/antd/es/avatar/Avatar.js +28 -22
- package/dist/node_modules/antd/es/avatar/AvatarGroup.cjs +3 -2
- package/dist/node_modules/antd/es/avatar/AvatarGroup.js +3 -2
- package/dist/node_modules/antd/es/avatar/style/index.cjs +7 -14
- package/dist/node_modules/antd/es/avatar/style/index.js +7 -14
- package/dist/node_modules/antd/es/breadcrumb/BreadcrumbSeparator.cjs +4 -3
- package/dist/node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js +4 -3
- package/dist/node_modules/antd/es/button/DefaultLoadingIcon.cjs +5 -4
- package/dist/node_modules/antd/es/button/DefaultLoadingIcon.js +5 -4
- package/dist/node_modules/antd/es/button/button.cjs +9 -20
- package/dist/node_modules/antd/es/button/button.js +10 -21
- package/dist/node_modules/antd/es/button/style/index.cjs +8 -15
- package/dist/node_modules/antd/es/button/style/index.js +8 -15
- package/dist/node_modules/antd/es/button/style/token.cjs +0 -1
- package/dist/node_modules/antd/es/button/style/token.js +0 -1
- package/dist/node_modules/antd/es/card/Card.cjs +2 -1
- package/dist/node_modules/antd/es/card/Card.js +2 -1
- package/dist/node_modules/antd/es/card/style/index.cjs +1 -1
- package/dist/node_modules/antd/es/card/style/index.js +1 -1
- package/dist/node_modules/antd/es/checkbox/Checkbox.cjs +3 -3
- package/dist/node_modules/antd/es/checkbox/Checkbox.js +3 -3
- package/dist/node_modules/antd/es/checkbox/Group.cjs +4 -4
- package/dist/node_modules/antd/es/checkbox/Group.js +4 -4
- package/dist/node_modules/antd/es/checkbox/style/index.cjs +27 -26
- package/dist/node_modules/antd/es/checkbox/style/index.js +27 -26
- package/dist/node_modules/antd/es/color-picker/color.cjs +12 -9
- package/dist/node_modules/antd/es/color-picker/color.js +12 -9
- package/dist/node_modules/antd/es/config-provider/DisabledContext.cjs +5 -4
- package/dist/node_modules/antd/es/config-provider/DisabledContext.js +5 -4
- package/dist/node_modules/antd/es/config-provider/MotionWrapper.cjs +3 -10
- package/dist/node_modules/antd/es/config-provider/MotionWrapper.js +3 -10
- package/dist/node_modules/antd/es/config-provider/PropWarning.cjs +4 -3
- package/dist/node_modules/antd/es/config-provider/PropWarning.js +4 -3
- package/dist/node_modules/antd/es/config-provider/SizeContext.cjs +5 -4
- package/dist/node_modules/antd/es/config-provider/SizeContext.js +5 -4
- package/dist/node_modules/antd/es/config-provider/UnstableContext.cjs +2 -2
- package/dist/node_modules/antd/es/config-provider/UnstableContext.js +2 -2
- package/dist/node_modules/antd/es/config-provider/hooks/useSize.cjs +1 -1
- package/dist/node_modules/antd/es/config-provider/hooks/useSize.js +1 -1
- package/dist/node_modules/antd/es/config-provider/index.cjs +2 -3
- package/dist/node_modules/antd/es/config-provider/index.js +2 -3
- package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.cjs +9 -23
- package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js +9 -23
- package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.cjs +10 -22
- package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js +10 -22
- package/dist/node_modules/antd/es/date-picker/style/index.cjs +16 -18
- package/dist/node_modules/antd/es/date-picker/style/index.js +16 -18
- package/dist/node_modules/antd/es/date-picker/style/panel.cjs +40 -30
- package/dist/node_modules/antd/es/date-picker/style/panel.js +40 -30
- package/dist/node_modules/antd/es/dropdown/dropdown-button.cjs +4 -10
- package/dist/node_modules/antd/es/dropdown/dropdown-button.js +4 -10
- package/dist/node_modules/antd/es/dropdown/dropdown.cjs +23 -25
- package/dist/node_modules/antd/es/dropdown/dropdown.js +23 -25
- package/dist/node_modules/antd/es/dropdown/style/index.cjs +1 -1
- package/dist/node_modules/antd/es/dropdown/style/index.js +1 -1
- package/dist/node_modules/antd/es/empty/index.cjs +9 -11
- package/dist/node_modules/antd/es/empty/index.js +9 -11
- package/dist/node_modules/antd/es/empty/style/index.cjs +1 -1
- package/dist/node_modules/antd/es/empty/style/index.js +1 -1
- package/dist/node_modules/antd/es/form/ErrorList.cjs +16 -13
- package/dist/node_modules/antd/es/form/ErrorList.js +16 -13
- package/dist/node_modules/antd/es/form/Form.cjs +3 -4
- package/dist/node_modules/antd/es/form/Form.js +1 -2
- package/dist/node_modules/antd/es/form/FormItem/ItemHolder.cjs +7 -9
- package/dist/node_modules/antd/es/form/FormItem/ItemHolder.js +7 -9
- package/dist/node_modules/antd/es/form/FormItem/StatusProvider.cjs +13 -16
- package/dist/node_modules/antd/es/form/FormItem/StatusProvider.js +13 -16
- package/dist/node_modules/antd/es/form/FormItem/index.cjs +12 -8
- package/dist/node_modules/antd/es/form/FormItem/index.js +12 -8
- package/dist/node_modules/antd/es/form/FormItemLabel.cjs +26 -22
- package/dist/node_modules/antd/es/form/FormItemLabel.js +26 -22
- package/dist/node_modules/antd/es/form/context.cjs +7 -6
- package/dist/node_modules/antd/es/form/context.js +7 -6
- package/dist/node_modules/antd/es/form/hooks/useForm.cjs +3 -4
- package/dist/node_modules/antd/es/form/hooks/useForm.js +3 -3
- package/dist/node_modules/antd/es/form/hooks/useFormWarning.cjs +4 -3
- package/dist/node_modules/antd/es/form/hooks/useFormWarning.js +4 -3
- package/dist/node_modules/antd/es/form/hooks/useVariants.cjs +2 -1
- package/dist/node_modules/antd/es/form/hooks/useVariants.js +2 -1
- package/dist/node_modules/antd/es/form/index.cjs +1 -1
- package/dist/node_modules/antd/es/form/style/fallbackCmp.cjs +5 -4
- package/dist/node_modules/antd/es/form/style/fallbackCmp.js +5 -4
- package/dist/node_modules/antd/es/form/style/index.cjs +92 -62
- package/dist/node_modules/antd/es/form/style/index.js +92 -62
- package/dist/node_modules/antd/es/grid/hooks/useBreakpoint.cjs +3 -1
- package/dist/node_modules/antd/es/grid/hooks/useBreakpoint.js +3 -1
- package/dist/node_modules/antd/es/input/Input.cjs +3 -3
- package/dist/node_modules/antd/es/input/Input.js +3 -3
- package/dist/node_modules/antd/es/input/OTP/OTPInput.cjs +13 -31
- package/dist/node_modules/antd/es/input/OTP/OTPInput.js +8 -26
- package/dist/node_modules/antd/es/input/OTP/index.cjs +1 -2
- package/dist/node_modules/antd/es/input/OTP/index.js +1 -2
- package/dist/node_modules/antd/es/input/Password.cjs +2 -3
- package/dist/node_modules/antd/es/input/Password.js +2 -3
- package/dist/node_modules/antd/es/input/Search.cjs +14 -18
- package/dist/node_modules/antd/es/input/Search.js +14 -18
- package/dist/node_modules/antd/es/input/TextArea.cjs +6 -42
- package/dist/node_modules/antd/es/input/TextArea.js +6 -42
- package/dist/node_modules/antd/es/input/style/index.cjs +20 -7
- package/dist/node_modules/antd/es/input/style/index.js +20 -7
- package/dist/node_modules/antd/es/input/style/otp.cjs +1 -23
- package/dist/node_modules/antd/es/input/style/otp.js +1 -23
- package/dist/node_modules/antd/es/input/style/textarea.cjs +5 -27
- package/dist/node_modules/antd/es/input/style/textarea.js +5 -27
- package/dist/node_modules/antd/es/input/style/variants.cjs +29 -25
- package/dist/node_modules/antd/es/input/style/variants.js +29 -25
- package/dist/node_modules/antd/es/layout/Sider.cjs +21 -9
- package/dist/node_modules/antd/es/layout/Sider.js +21 -9
- package/dist/node_modules/antd/es/layout/style/index.cjs +1 -1
- package/dist/node_modules/antd/es/layout/style/index.js +1 -1
- package/dist/node_modules/antd/es/layout/style/sider.cjs +1 -1
- package/dist/node_modules/antd/es/layout/style/sider.js +1 -1
- package/dist/node_modules/antd/es/locale/en_US.cjs +1 -2
- package/dist/node_modules/antd/es/locale/en_US.js +1 -2
- package/dist/node_modules/antd/es/menu/MenuItem.cjs +1 -1
- package/dist/node_modules/antd/es/menu/MenuItem.js +1 -1
- package/dist/node_modules/antd/es/menu/SubMenu.cjs +1 -1
- package/dist/node_modules/antd/es/menu/SubMenu.js +1 -1
- package/dist/node_modules/antd/es/menu/menu.cjs +2 -2
- package/dist/node_modules/antd/es/menu/menu.js +2 -2
- package/dist/node_modules/antd/es/menu/style/index.cjs +3 -1
- package/dist/node_modules/antd/es/menu/style/index.js +3 -1
- package/dist/node_modules/antd/es/menu/style/rtl.cjs +24 -21
- package/dist/node_modules/antd/es/menu/style/rtl.js +24 -21
- package/dist/node_modules/antd/es/menu/style/theme.cjs +1 -1
- package/dist/node_modules/antd/es/menu/style/theme.js +1 -1
- package/dist/node_modules/antd/es/pagination/style/bordered.cjs +1 -1
- package/dist/node_modules/antd/es/pagination/style/bordered.js +1 -1
- package/dist/node_modules/antd/es/pagination/style/index.cjs +11 -2
- package/dist/node_modules/antd/es/pagination/style/index.js +11 -2
- package/dist/node_modules/antd/es/popover/PurePanel.cjs +6 -5
- package/dist/node_modules/antd/es/popover/PurePanel.js +6 -5
- package/dist/node_modules/antd/es/popover/index.cjs +2 -2
- package/dist/node_modules/antd/es/popover/index.js +2 -3
- package/dist/node_modules/antd/es/progress/Line.cjs +7 -4
- package/dist/node_modules/antd/es/progress/Line.js +7 -4
- package/dist/node_modules/antd/es/progress/utils.cjs +16 -13
- package/dist/node_modules/antd/es/progress/utils.js +16 -13
- package/dist/node_modules/antd/es/radio/group.cjs +4 -10
- package/dist/node_modules/antd/es/radio/group.js +2 -8
- package/dist/node_modules/antd/es/radio/style/index.cjs +2 -2
- package/dist/node_modules/antd/es/radio/style/index.js +2 -2
- package/dist/node_modules/antd/es/result/index.cjs +24 -21
- package/dist/node_modules/antd/es/result/index.js +24 -21
- package/dist/node_modules/antd/es/result/noFound.cjs +139 -117
- package/dist/node_modules/antd/es/result/noFound.js +139 -117
- package/dist/node_modules/antd/es/result/serverError.cjs +154 -131
- package/dist/node_modules/antd/es/result/serverError.js +154 -131
- package/dist/node_modules/antd/es/result/unauthorized.cjs +125 -113
- package/dist/node_modules/antd/es/result/unauthorized.js +125 -113
- package/dist/node_modules/antd/es/segmented/style/index.cjs +2 -2
- package/dist/node_modules/antd/es/segmented/style/index.js +2 -2
- package/dist/node_modules/antd/es/select/index.cjs +15 -42
- package/dist/node_modules/antd/es/select/index.js +15 -42
- package/dist/node_modules/antd/es/select/style/index.cjs +11 -17
- package/dist/node_modules/antd/es/select/style/index.js +11 -17
- package/dist/node_modules/antd/es/select/style/multiple.cjs +1 -2
- package/dist/node_modules/antd/es/select/style/multiple.js +1 -2
- package/dist/node_modules/antd/es/select/useIcons.cjs +20 -18
- package/dist/node_modules/antd/es/select/useIcons.js +20 -18
- package/dist/node_modules/antd/es/skeleton/Title.cjs +17 -14
- package/dist/node_modules/antd/es/skeleton/Title.js +17 -14
- package/dist/node_modules/antd/es/skeleton/style/index.cjs +1 -1
- package/dist/node_modules/antd/es/skeleton/style/index.js +1 -1
- package/dist/node_modules/antd/es/space/Item.cjs +8 -7
- package/dist/node_modules/antd/es/space/Item.js +8 -7
- package/dist/node_modules/antd/es/spin/Indicator/Progress.cjs +6 -4
- package/dist/node_modules/antd/es/spin/Indicator/Progress.js +6 -4
- package/dist/node_modules/antd/es/spin/Indicator/index.cjs +1 -2
- package/dist/node_modules/antd/es/spin/Indicator/index.js +1 -2
- package/dist/node_modules/antd/es/spin/style/index.cjs +1 -1
- package/dist/node_modules/antd/es/spin/style/index.js +1 -1
- package/dist/node_modules/antd/es/style/compact-item-vertical.cjs +3 -6
- package/dist/node_modules/antd/es/style/compact-item-vertical.js +3 -6
- package/dist/node_modules/antd/es/style/compact-item.cjs +8 -10
- package/dist/node_modules/antd/es/style/compact-item.js +8 -10
- package/dist/node_modules/antd/es/style/index.cjs +16 -13
- package/dist/node_modules/antd/es/style/index.js +16 -13
- package/dist/node_modules/antd/es/style/motion/motion.cjs +2 -1
- package/dist/node_modules/antd/es/style/motion/motion.js +2 -1
- package/dist/node_modules/antd/es/switch/index.cjs +3 -3
- package/dist/node_modules/antd/es/switch/index.js +3 -3
- package/dist/node_modules/antd/es/table/InternalTable.cjs +2 -1
- package/dist/node_modules/antd/es/table/InternalTable.js +2 -1
- package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.cjs +64 -51
- package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js +66 -53
- package/dist/node_modules/antd/es/table/hooks/useFilter/index.cjs +30 -20
- package/dist/node_modules/antd/es/table/hooks/useFilter/index.js +30 -20
- package/dist/node_modules/antd/es/table/hooks/usePagination.js +2 -2
- package/dist/node_modules/antd/es/table/hooks/useSelection.cjs +34 -29
- package/dist/node_modules/antd/es/table/hooks/useSelection.js +34 -29
- package/dist/node_modules/antd/es/table/hooks/useSorter.cjs +44 -26
- package/dist/node_modules/antd/es/table/hooks/useSorter.js +44 -26
- package/dist/node_modules/antd/es/table/style/filter.cjs +2 -2
- package/dist/node_modules/antd/es/table/style/filter.js +2 -2
- package/dist/node_modules/antd/es/table/style/index.cjs +1 -3
- package/dist/node_modules/antd/es/table/style/index.js +1 -3
- package/dist/node_modules/antd/es/table/style/sticky.cjs +1 -1
- package/dist/node_modules/antd/es/table/style/sticky.js +1 -1
- package/dist/node_modules/antd/es/tabs/hooks/useAnimateConfig.cjs +5 -4
- package/dist/node_modules/antd/es/tabs/hooks/useAnimateConfig.js +5 -4
- package/dist/node_modules/antd/es/tabs/hooks/useLegacyItems.cjs +1 -8
- package/dist/node_modules/antd/es/tabs/hooks/useLegacyItems.js +1 -8
- package/dist/node_modules/antd/es/tabs/index.cjs +10 -20
- package/dist/node_modules/antd/es/tabs/index.js +10 -20
- package/dist/node_modules/antd/es/tabs/style/index.cjs +14 -42
- package/dist/node_modules/antd/es/tabs/style/index.js +14 -42
- package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.cjs +5 -4
- package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.js +5 -4
- package/dist/node_modules/antd/es/theme/useToken.cjs +13 -1
- package/dist/node_modules/antd/es/theme/useToken.js +13 -1
- package/dist/node_modules/antd/es/theme/util/useResetIconStyle.cjs +1 -1
- package/dist/node_modules/antd/es/theme/util/useResetIconStyle.js +1 -1
- package/dist/node_modules/antd/es/tooltip/index.cjs +5 -6
- package/dist/node_modules/antd/es/tooltip/index.js +5 -6
- package/dist/node_modules/antd/es/tooltip/style/index.cjs +17 -13
- package/dist/node_modules/antd/es/tooltip/style/index.js +17 -13
- package/dist/node_modules/antd/es/tooltip/util.cjs +0 -5
- package/dist/node_modules/antd/es/tooltip/util.js +0 -5
- package/dist/node_modules/antd/es/tree/DirectoryTree.cjs +5 -4
- package/dist/node_modules/antd/es/tree/DirectoryTree.js +5 -4
- package/dist/node_modules/antd/es/tree/style/directory.cjs +48 -50
- package/dist/node_modules/antd/es/tree/style/directory.js +48 -50
- package/dist/node_modules/antd/es/tree/style/index.cjs +13 -12
- package/dist/node_modules/antd/es/tree/style/index.js +13 -12
- package/dist/node_modules/antd/es/tree/utils/dictUtil.cjs +8 -7
- package/dist/node_modules/antd/es/tree/utils/dictUtil.js +8 -7
- package/dist/node_modules/antd/es/tree/utils/iconUtil.cjs +2 -3
- package/dist/node_modules/antd/es/tree/utils/iconUtil.js +2 -3
- package/dist/node_modules/antd/es/typography/Base/CopyBtn.cjs +13 -13
- package/dist/node_modules/antd/es/typography/Base/CopyBtn.js +13 -13
- package/dist/node_modules/antd/es/typography/Base/Ellipsis.cjs +5 -4
- package/dist/node_modules/antd/es/typography/Base/Ellipsis.js +5 -4
- package/dist/node_modules/antd/es/typography/Base/EllipsisTooltip.cjs +7 -6
- package/dist/node_modules/antd/es/typography/Base/EllipsisTooltip.js +7 -6
- package/dist/node_modules/antd/es/typography/Base/index.cjs +16 -16
- package/dist/node_modules/antd/es/typography/Base/index.js +16 -16
- package/dist/node_modules/antd/es/typography/Editable.cjs +16 -13
- package/dist/node_modules/antd/es/typography/Editable.js +16 -13
- package/dist/node_modules/antd/es/typography/hooks/useCopyClick.cjs +5 -4
- package/dist/node_modules/antd/es/typography/hooks/useCopyClick.js +5 -4
- package/dist/node_modules/antd/es/typography/style/index.cjs +6 -6
- package/dist/node_modules/antd/es/typography/style/index.js +6 -6
- package/dist/node_modules/antd/es/typography/style/mixins.cjs +2 -2
- package/dist/node_modules/antd/es/typography/style/mixins.js +2 -2
- package/dist/node_modules/antd/es/version/version.cjs +1 -1
- package/dist/node_modules/antd/es/version/version.js +1 -1
- package/dist/node_modules/d3-ease/src/elastic.cjs +2 -2
- package/dist/node_modules/d3-ease/src/elastic.js +2 -2
- package/dist/node_modules/d3-interpolate/src/rgb.cjs +2 -2
- package/dist/node_modules/d3-interpolate/src/rgb.js +2 -2
- package/dist/node_modules/d3-shape/src/curve/cardinal.cjs +2 -2
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +2 -2
- package/dist/node_modules/dayjs/dayjs.min.cjs +13 -13
- package/dist/node_modules/dayjs/dayjs.min.js +13 -13
- package/dist/node_modules/dayjs/plugin/advancedFormat.cjs +5 -5
- package/dist/node_modules/dayjs/plugin/advancedFormat.js +5 -5
- package/dist/node_modules/dayjs/plugin/customParseFormat.cjs +15 -15
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +15 -15
- package/dist/node_modules/dayjs/plugin/localeData.cjs +11 -11
- package/dist/node_modules/dayjs/plugin/localeData.js +11 -11
- package/dist/node_modules/dayjs/plugin/weekOfYear.cjs +3 -3
- package/dist/node_modules/dayjs/plugin/weekOfYear.js +3 -3
- package/dist/node_modules/dayjs/plugin/weekYear.cjs +3 -3
- package/dist/node_modules/dayjs/plugin/weekYear.js +3 -3
- package/dist/node_modules/dayjs/plugin/weekday.cjs +3 -3
- package/dist/node_modules/dayjs/plugin/weekday.js +3 -3
- package/dist/node_modules/engine.io-client/build/esm/transports/polling-xhr.cjs +2 -2
- package/dist/node_modules/engine.io-client/build/esm/transports/polling-xhr.js +2 -2
- package/dist/node_modules/rc-field-form/es/Field.cjs +2 -2
- package/dist/node_modules/rc-field-form/es/Field.js +2 -2
- package/dist/node_modules/rc-field-form/es/utils/NameMap.cjs +2 -2
- package/dist/node_modules/rc-field-form/es/utils/NameMap.js +2 -2
- package/dist/node_modules/rc-field-form/es/utils/validateUtil.cjs +2 -2
- package/dist/node_modules/rc-field-form/es/utils/validateUtil.js +2 -2
- package/dist/node_modules/rc-input/es/Input.cjs +1 -2
- package/dist/node_modules/rc-input/es/Input.js +1 -2
- package/dist/node_modules/rc-menu/es/MenuItem.cjs +2 -2
- package/dist/node_modules/rc-menu/es/MenuItem.js +2 -2
- package/dist/node_modules/rc-motion/es/CSSMotionList.cjs +2 -2
- package/dist/node_modules/rc-motion/es/CSSMotionList.js +2 -2
- package/dist/node_modules/rc-motion/es/DomWrapper.cjs +2 -2
- package/dist/node_modules/rc-motion/es/DomWrapper.js +2 -2
- package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.cjs +2 -2
- package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.js +2 -2
- package/dist/node_modules/rc-motion/es/hooks/useNextFrame.cjs +2 -2
- package/dist/node_modules/rc-motion/es/hooks/useNextFrame.js +2 -2
- package/dist/node_modules/rc-motion/es/hooks/useStepQueue.cjs +2 -2
- package/dist/node_modules/rc-motion/es/hooks/useStepQueue.js +2 -2
- package/dist/node_modules/rc-picker/es/PickerInput/Selector/MaskFormat.cjs +2 -2
- package/dist/node_modules/rc-picker/es/PickerInput/Selector/MaskFormat.js +2 -2
- package/dist/node_modules/rc-progress/es/hooks/useId.cjs +2 -2
- package/dist/node_modules/rc-progress/es/hooks/useId.js +2 -2
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.cjs +2 -2
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +2 -2
- package/dist/node_modules/rc-select/es/OptionList.cjs +1 -1
- package/dist/node_modules/rc-select/es/OptionList.js +1 -1
- package/dist/node_modules/rc-select/es/Selector/Input.cjs +47 -8
- package/dist/node_modules/rc-select/es/Selector/Input.js +47 -8
- package/dist/node_modules/rc-select/es/hooks/useCache.cjs +2 -2
- package/dist/node_modules/rc-select/es/hooks/useCache.js +2 -2
- package/dist/node_modules/rc-select/es/hooks/useFilterOptions.cjs +2 -2
- package/dist/node_modules/rc-select/es/hooks/useFilterOptions.js +2 -2
- package/dist/node_modules/rc-table/es/Body/BodyRow.cjs +8 -22
- package/dist/node_modules/rc-table/es/Body/BodyRow.js +8 -22
- package/dist/node_modules/rc-table/es/Body/ExpandedRow.cjs +3 -3
- package/dist/node_modules/rc-table/es/Body/ExpandedRow.js +3 -3
- package/dist/node_modules/rc-table/es/Body/MeasureCell.cjs +1 -2
- package/dist/node_modules/rc-table/es/Body/MeasureCell.js +1 -2
- package/dist/node_modules/rc-table/es/Body/MeasureRow.cjs +5 -10
- package/dist/node_modules/rc-table/es/Body/MeasureRow.js +5 -10
- package/dist/node_modules/rc-table/es/Body/index.cjs +6 -24
- package/dist/node_modules/rc-table/es/Body/index.js +6 -24
- package/dist/node_modules/rc-table/es/FixedHolder/index.cjs +4 -3
- package/dist/node_modules/rc-table/es/FixedHolder/index.js +4 -3
- package/dist/node_modules/rc-table/es/Table.cjs +15 -17
- package/dist/node_modules/rc-table/es/Table.js +16 -18
- package/dist/node_modules/rc-table/es/hooks/useColumns/index.cjs +4 -10
- package/dist/node_modules/rc-table/es/hooks/useColumns/index.js +4 -10
- package/dist/node_modules/rc-table/es/hooks/useFlattenRecords.cjs +3 -5
- package/dist/node_modules/rc-table/es/hooks/useFlattenRecords.js +3 -5
- package/dist/node_modules/rc-table/es/hooks/useFrame.js +1 -1
- package/dist/node_modules/rc-tabs/es/TabNavList/index.cjs +21 -30
- package/dist/node_modules/rc-tabs/es/TabNavList/index.js +22 -31
- package/dist/node_modules/rc-tabs/es/hooks/useIndicator.cjs +2 -9
- package/dist/node_modules/rc-tabs/es/hooks/useIndicator.js +2 -9
- package/dist/node_modules/rc-tabs/es/hooks/useVisibleRange.cjs +1 -1
- package/dist/node_modules/rc-tabs/es/hooks/useVisibleRange.js +1 -1
- package/dist/node_modules/rc-textarea/es/ResizableTextArea.cjs +13 -1
- package/dist/node_modules/rc-textarea/es/ResizableTextArea.js +13 -1
- package/dist/node_modules/rc-tree/es/Tree.cjs +2 -2
- package/dist/node_modules/rc-tree/es/Tree.js +2 -2
- package/dist/node_modules/rc-util/es/Dom/isVisible.cjs +2 -2
- package/dist/node_modules/rc-util/es/Dom/isVisible.js +2 -2
- package/dist/node_modules/rc-util/es/isMobile.cjs +2 -2
- package/dist/node_modules/rc-util/es/isMobile.js +2 -2
- package/dist/node_modules/rc-virtual-list/es/List.cjs +2 -3
- package/dist/node_modules/rc-virtual-list/es/List.js +2 -3
- package/dist/node_modules/rc-virtual-list/es/ScrollBar.cjs +23 -21
- package/dist/node_modules/rc-virtual-list/es/ScrollBar.js +23 -21
- package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.cjs +2 -2
- package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.js +2 -2
- package/dist/node_modules/rc-virtual-list/es/hooks/useScrollDrag.cjs +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useScrollDrag.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.cjs +6 -6
- package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.js +6 -6
- package/dist/node_modules/react-icons/hi/index.cjs +0 -16
- package/dist/node_modules/react-icons/hi/index.js +0 -16
- package/dist/node_modules/react-toastify/dist/ReactToastify.css.cjs +1 -0
- package/dist/node_modules/react-toastify/dist/ReactToastify.css.js +1 -0
- package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.cjs +26 -26
- package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +26 -26
- package/dist/node_modules/unified/lib/callable-instance.cjs +2 -2
- package/dist/node_modules/unified/lib/callable-instance.js +2 -2
- package/dist/node_modules/unist-util-is/lib/index.cjs +2 -2
- package/dist/node_modules/unist-util-is/lib/index.js +2 -2
- package/dist/node_modules/vfile-message/lib/index.cjs +5 -5
- package/dist/node_modules/vfile-message/lib/index.js +5 -5
- package/dist/providers/ToastProvider.cjs +1 -1
- package/dist/providers/ToastProvider.js +1 -1
- package/dist/styles/global-styles.cjs +6 -6
- package/dist/styles/global-styles.js +6 -6
- package/dist/utils/icon-util.cjs +0 -19
- package/dist/utils/icon-util.js +1 -20
- package/package.json +1 -2
- package/dist/components/Button/IconButton.cjs +0 -29
- package/dist/components/Button/IconButton.js +0 -30
- package/dist/components/Button/icon-button-styles.cjs +0 -76
- package/dist/components/Button/icon-button-styles.js +0 -77
- package/dist/components/Table/TableControls/PrimaryTableControlsRow.cjs +0 -162
- package/dist/components/Table/TableControls/PrimaryTableControlsRow.js +0 -163
- package/dist/components/Table/TableControls/SecondaryTableControlsRow.cjs +0 -80
- package/dist/components/Table/TableControls/SecondaryTableControlsRow.js +0 -81
- package/dist/components/Table/TableControls/TableControls.cjs +0 -38
- package/dist/components/Table/TableControls/TableControls.js +0 -39
- package/dist/components/Table/TableWithControls/TableWithControls.cjs +0 -41
- package/dist/components/Table/TableWithControls/TableWithControls.js +0 -42
- package/dist/node_modules/@babel/runtime/helpers/esm/OverloadYield.cjs +0 -5
- package/dist/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/regenerator.cjs +0 -78
- package/dist/node_modules/@babel/runtime/helpers/esm/regenerator.js +0 -79
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.cjs +0 -9
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.cjs +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.cjs +0 -33
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -34
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.cjs +0 -23
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +0 -24
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.cjs +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +0 -11
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorValues.cjs +0 -19
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +0 -20
- package/dist/node_modules/antd/es/_util/convertToTooltipProps.cjs +0 -14
- package/dist/node_modules/antd/es/_util/convertToTooltipProps.js +0 -15
- package/dist/node_modules/antd/es/_util/hooks/useMergeSemantic/index.cjs +0 -80
- package/dist/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js +0 -61
- package/dist/node_modules/antd/es/_util/mediaQueryUtil.cjs +0 -17
- package/dist/node_modules/antd/es/_util/mediaQueryUtil.js +0 -18
- package/dist/node_modules/antd/es/color-picker/util.cjs +0 -12
- package/dist/node_modules/antd/es/color-picker/util.js +0 -13
- package/dist/node_modules/antd/es/date-picker/hooks/useMergedPickerSemantic.cjs +0 -50
- package/dist/node_modules/antd/es/date-picker/hooks/useMergedPickerSemantic.js +0 -32
- package/dist/node_modules/antd/es/select/usePopupRender.cjs +0 -14
- package/dist/node_modules/antd/es/select/usePopupRender.js +0 -15
- package/dist/node_modules/rc-util/es/composeProps.cjs +0 -20
- package/dist/node_modules/rc-util/es/composeProps.js +0 -21
- package/dist/node_modules/react-icons/fi/index.cjs +0 -7
- package/dist/node_modules/react-icons/fi/index.js +0 -8
- package/dist/node_modules/react-icons/hi2/index.cjs +0 -7
- package/dist/node_modules/react-icons/hi2/index.js +0 -8
- package/dist/node_modules/react-icons/lu/index.cjs +0 -7
- package/dist/node_modules/react-icons/lu/index.js +0 -8
- package/dist/node_modules/react-icons/tb/index.cjs +0 -7
- package/dist/node_modules/react-icons/tb/index.js +0 -8
|
@@ -27,7 +27,7 @@ const genSharedButtonStyle = (token) => {
|
|
|
27
27
|
opacityLoading,
|
|
28
28
|
motionDurationSlow,
|
|
29
29
|
motionEaseInOut,
|
|
30
|
-
|
|
30
|
+
marginXS,
|
|
31
31
|
calc
|
|
32
32
|
} = token;
|
|
33
33
|
return {
|
|
@@ -35,7 +35,7 @@ const genSharedButtonStyle = (token) => {
|
|
|
35
35
|
outline: "none",
|
|
36
36
|
position: "relative",
|
|
37
37
|
display: "inline-flex",
|
|
38
|
-
gap:
|
|
38
|
+
gap: token.marginXS,
|
|
39
39
|
alignItems: "center",
|
|
40
40
|
justifyContent: "center",
|
|
41
41
|
fontWeight,
|
|
@@ -87,7 +87,7 @@ const genSharedButtonStyle = (token) => {
|
|
|
87
87
|
[`&:not(${componentCls}-icon-end)`]: {
|
|
88
88
|
[`${componentCls}-loading-icon-motion`]: {
|
|
89
89
|
"&-appear-start, &-enter-start": {
|
|
90
|
-
marginInlineEnd: calc(
|
|
90
|
+
marginInlineEnd: calc(marginXS).mul(-1).equal()
|
|
91
91
|
},
|
|
92
92
|
"&-appear-active, &-enter-active": {
|
|
93
93
|
marginInlineEnd: 0
|
|
@@ -96,7 +96,7 @@ const genSharedButtonStyle = (token) => {
|
|
|
96
96
|
marginInlineEnd: 0
|
|
97
97
|
},
|
|
98
98
|
"&-leave-active": {
|
|
99
|
-
marginInlineEnd: calc(
|
|
99
|
+
marginInlineEnd: calc(marginXS).mul(-1).equal()
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
},
|
|
@@ -104,7 +104,7 @@ const genSharedButtonStyle = (token) => {
|
|
|
104
104
|
flexDirection: "row-reverse",
|
|
105
105
|
[`${componentCls}-loading-icon-motion`]: {
|
|
106
106
|
"&-appear-start, &-enter-start": {
|
|
107
|
-
marginInlineStart: calc(
|
|
107
|
+
marginInlineStart: calc(marginXS).mul(-1).equal()
|
|
108
108
|
},
|
|
109
109
|
"&-appear-active, &-enter-active": {
|
|
110
110
|
marginInlineStart: 0
|
|
@@ -113,7 +113,7 @@ const genSharedButtonStyle = (token) => {
|
|
|
113
113
|
marginInlineStart: 0
|
|
114
114
|
},
|
|
115
115
|
"&-leave-active": {
|
|
116
|
-
marginInlineStart: calc(
|
|
116
|
+
marginInlineStart: calc(marginXS).mul(-1).equal()
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -233,10 +233,8 @@ const genPresetColorStyle = (token) => {
|
|
|
233
233
|
borderColor: activeColor,
|
|
234
234
|
background: token.colorBgContainer
|
|
235
235
|
})), genDashedButtonStyle(token)), genFilledButtonStyle(token, lightColor, {
|
|
236
|
-
color: darkColor,
|
|
237
236
|
background: lightHoverColor
|
|
238
237
|
}, {
|
|
239
|
-
color: darkColor,
|
|
240
238
|
background: lightBorderColor
|
|
241
239
|
})), genTextLinkButtonStyle(token, darkColor, "link", {
|
|
242
240
|
color: hoverColor
|
|
@@ -262,10 +260,8 @@ const genDefaultButtonStyle = (token) => Object.assign(Object.assign(Object.assi
|
|
|
262
260
|
color: token.solidTextColor,
|
|
263
261
|
background: token.colorBgSolidActive
|
|
264
262
|
})), genDashedButtonStyle(token)), genFilledButtonStyle(token, token.colorFillTertiary, {
|
|
265
|
-
color: token.defaultColor,
|
|
266
263
|
background: token.colorFillSecondary
|
|
267
264
|
}, {
|
|
268
|
-
color: token.defaultColor,
|
|
269
265
|
background: token.colorFill
|
|
270
266
|
})), genGhostButtonStyle(token.componentCls, token.ghostBg, token.defaultGhostColor, token.defaultGhostBorderColor, token.colorTextDisabled, token.colorBorder)), genTextLinkButtonStyle(token, token.textTextColor, "link", {
|
|
271
267
|
color: token.colorLinkHover,
|
|
@@ -285,10 +281,8 @@ const genPrimaryButtonStyle = (token) => Object.assign(Object.assign(Object.assi
|
|
|
285
281
|
borderColor: token.colorPrimaryActive,
|
|
286
282
|
background: token.colorBgContainer
|
|
287
283
|
})), genDashedButtonStyle(token)), genFilledButtonStyle(token, token.colorPrimaryBg, {
|
|
288
|
-
color: token.colorPrimary,
|
|
289
284
|
background: token.colorPrimaryBgHover
|
|
290
285
|
}, {
|
|
291
|
-
color: token.colorPrimary,
|
|
292
286
|
background: token.colorPrimaryBorder
|
|
293
287
|
})), genTextLinkButtonStyle(token, token.colorPrimaryText, "text", {
|
|
294
288
|
color: token.colorPrimaryTextHover,
|
|
@@ -322,10 +316,8 @@ const genDangerousStyle = (token) => Object.assign(Object.assign(Object.assign(O
|
|
|
322
316
|
color: token.colorErrorActive,
|
|
323
317
|
borderColor: token.colorErrorActive
|
|
324
318
|
})), genDashedButtonStyle(token)), genFilledButtonStyle(token, token.colorErrorBg, {
|
|
325
|
-
color: token.colorError,
|
|
326
319
|
background: token.colorErrorBgFilledHover
|
|
327
320
|
}, {
|
|
328
|
-
color: token.colorError,
|
|
329
321
|
background: token.colorErrorBgActive
|
|
330
322
|
})), genTextLinkButtonStyle(token, token.colorError, "text", {
|
|
331
323
|
color: token.colorErrorHover,
|
|
@@ -392,7 +384,8 @@ const genCompatibleButtonStyle = (token) => Object.assign(Object.assign(Object.a
|
|
|
392
384
|
}, {
|
|
393
385
|
color: token.colorLinkActive
|
|
394
386
|
}));
|
|
395
|
-
const genButtonStyle = (token
|
|
387
|
+
const genButtonStyle = function(token) {
|
|
388
|
+
let prefixCls = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
396
389
|
const {
|
|
397
390
|
componentCls,
|
|
398
391
|
controlHeight,
|
|
@@ -46,7 +46,6 @@ const prepareComponentToken = (token) => {
|
|
|
46
46
|
}), {});
|
|
47
47
|
return Object.assign(Object.assign({}, shadowColorTokens), {
|
|
48
48
|
fontWeight: 400,
|
|
49
|
-
iconGap: token.marginXS,
|
|
50
49
|
defaultShadow: `0 ${token.controlOutlineWidth}px 0 ${token.controlTmpOutline}`,
|
|
51
50
|
primaryShadow: `0 ${token.controlOutlineWidth}px 0 ${token.controlOutline}`,
|
|
52
51
|
dangerShadow: `0 ${token.controlOutlineWidth}px 0 ${token.colorErrorOutline}`,
|
|
@@ -45,7 +45,6 @@ const prepareComponentToken = (token) => {
|
|
|
45
45
|
}), {});
|
|
46
46
|
return Object.assign(Object.assign({}, shadowColorTokens), {
|
|
47
47
|
fontWeight: 400,
|
|
48
|
-
iconGap: token.marginXS,
|
|
49
48
|
defaultShadow: `0 ${token.controlOutlineWidth}px 0 ${token.controlTmpOutline}`,
|
|
50
49
|
primaryShadow: `0 ${token.controlOutlineWidth}px 0 ${token.controlOutline}`,
|
|
51
50
|
dangerShadow: `0 ${token.controlOutlineWidth}px 0 ${token.colorErrorOutline}`,
|
|
@@ -92,7 +92,8 @@ const Card = /* @__PURE__ */ React__namespace.forwardRef((props, ref) => {
|
|
|
92
92
|
const [variant] = useVariants("card", customVariant, bordered);
|
|
93
93
|
if (process.env.NODE_ENV !== "production") {
|
|
94
94
|
const warning$1 = warning.devUseWarning("Card");
|
|
95
|
-
[["headStyle", "styles.header"], ["bodyStyle", "styles.body"], ["bordered", "variant"]].forEach((
|
|
95
|
+
[["headStyle", "styles.header"], ["bodyStyle", "styles.body"], ["bordered", "variant"]].forEach((_ref) => {
|
|
96
|
+
let [deprecatedName, newName] = _ref;
|
|
96
97
|
warning$1.deprecated(!(deprecatedName in props), deprecatedName, newName);
|
|
97
98
|
});
|
|
98
99
|
}
|
|
@@ -72,7 +72,8 @@ const Card = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
|
72
72
|
const [variant] = useVariant("card", customVariant, bordered);
|
|
73
73
|
if (process.env.NODE_ENV !== "production") {
|
|
74
74
|
const warning = devUseWarning("Card");
|
|
75
|
-
[["headStyle", "styles.header"], ["bodyStyle", "styles.body"], ["bordered", "variant"]].forEach((
|
|
75
|
+
[["headStyle", "styles.header"], ["bodyStyle", "styles.body"], ["bordered", "variant"]].forEach((_ref) => {
|
|
76
|
+
let [deprecatedName, newName] = _ref;
|
|
76
77
|
warning.deprecated(!(deprecatedName in props), deprecatedName, newName);
|
|
77
78
|
});
|
|
78
79
|
}
|
|
@@ -133,7 +133,7 @@ const genCardActionsStyle = (token) => {
|
|
|
133
133
|
[`a:not(${componentCls}-btn), > ${iconCls}`]: {
|
|
134
134
|
display: "inline-block",
|
|
135
135
|
width: "100%",
|
|
136
|
-
color: token.
|
|
136
|
+
color: token.colorTextDescription,
|
|
137
137
|
lineHeight: index.unit(token.fontHeight),
|
|
138
138
|
transition: `color ${token.motionDurationMid}`,
|
|
139
139
|
"&:hover": {
|
|
@@ -131,7 +131,7 @@ const genCardActionsStyle = (token) => {
|
|
|
131
131
|
[`a:not(${componentCls}-btn), > ${iconCls}`]: {
|
|
132
132
|
display: "inline-block",
|
|
133
133
|
width: "100%",
|
|
134
|
-
color: token.
|
|
134
|
+
color: token.colorTextDescription,
|
|
135
135
|
lineHeight: unit(token.fontHeight),
|
|
136
136
|
transition: `color ${token.motionDurationMid}`,
|
|
137
137
|
"&:hover": {
|
|
@@ -98,9 +98,9 @@ const InternalCheckbox = (props, ref$1) => {
|
|
|
98
98
|
const [wrapCSSVar, hashId, cssVarCls] = index.default(prefixCls, rootCls);
|
|
99
99
|
const checkboxProps = Object.assign({}, restProps);
|
|
100
100
|
if (checkboxGroup && !skipGroup) {
|
|
101
|
-
checkboxProps.onChange = (
|
|
101
|
+
checkboxProps.onChange = function() {
|
|
102
102
|
if (restProps.onChange) {
|
|
103
|
-
restProps.onChange.apply(restProps,
|
|
103
|
+
restProps.onChange.apply(restProps, arguments);
|
|
104
104
|
}
|
|
105
105
|
if (checkboxGroup.toggleOption) {
|
|
106
106
|
checkboxGroup.toggleOption({
|
|
@@ -137,7 +137,7 @@ const InternalCheckbox = (props, ref$1) => {
|
|
|
137
137
|
className: checkboxClass,
|
|
138
138
|
disabled: mergedDisabled,
|
|
139
139
|
ref: mergedRef
|
|
140
|
-
})), children !== void 0 &&
|
|
140
|
+
})), children !== void 0 && /* @__PURE__ */ React__namespace.createElement("span", {
|
|
141
141
|
className: `${prefixCls}-label`
|
|
142
142
|
}, children))));
|
|
143
143
|
};
|
|
@@ -78,9 +78,9 @@ const InternalCheckbox = (props, ref) => {
|
|
|
78
78
|
const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls, rootCls);
|
|
79
79
|
const checkboxProps = Object.assign({}, restProps);
|
|
80
80
|
if (checkboxGroup && !skipGroup) {
|
|
81
|
-
checkboxProps.onChange = (
|
|
81
|
+
checkboxProps.onChange = function() {
|
|
82
82
|
if (restProps.onChange) {
|
|
83
|
-
restProps.onChange.apply(restProps,
|
|
83
|
+
restProps.onChange.apply(restProps, arguments);
|
|
84
84
|
}
|
|
85
85
|
if (checkboxGroup.toggleOption) {
|
|
86
86
|
checkboxGroup.toggleOption({
|
|
@@ -117,7 +117,7 @@ const InternalCheckbox = (props, ref) => {
|
|
|
117
117
|
className: checkboxClass,
|
|
118
118
|
disabled: mergedDisabled,
|
|
119
119
|
ref: mergedRef
|
|
120
|
-
})), children !== void 0 &&
|
|
120
|
+
})), children !== void 0 && /* @__PURE__ */ React.createElement("span", {
|
|
121
121
|
className: `${prefixCls}-label`
|
|
122
122
|
}, children))));
|
|
123
123
|
};
|
|
@@ -103,13 +103,13 @@ const CheckboxGroup = /* @__PURE__ */ React__namespace.forwardRef((props, ref) =
|
|
|
103
103
|
value: option.value,
|
|
104
104
|
checked: value.includes(option.value),
|
|
105
105
|
onChange: option.onChange,
|
|
106
|
-
className:
|
|
106
|
+
className: `${groupPrefixCls}-item`,
|
|
107
107
|
style: option.style,
|
|
108
108
|
title: option.title,
|
|
109
109
|
id: option.id,
|
|
110
110
|
required: option.required
|
|
111
111
|
}, option.label)) : children;
|
|
112
|
-
const
|
|
112
|
+
const context$1 = {
|
|
113
113
|
toggleOption,
|
|
114
114
|
value,
|
|
115
115
|
disabled: restProps.disabled,
|
|
@@ -117,7 +117,7 @@ const CheckboxGroup = /* @__PURE__ */ React__namespace.forwardRef((props, ref) =
|
|
|
117
117
|
// https://github.com/ant-design/ant-design/issues/16376
|
|
118
118
|
registerValue,
|
|
119
119
|
cancelValue
|
|
120
|
-
}
|
|
120
|
+
};
|
|
121
121
|
const classString = index$1(groupPrefixCls, {
|
|
122
122
|
[`${groupPrefixCls}-rtl`]: direction === "rtl"
|
|
123
123
|
}, className, rootClassName, cssVarCls, rootCls, hashId);
|
|
@@ -127,7 +127,7 @@ const CheckboxGroup = /* @__PURE__ */ React__namespace.forwardRef((props, ref) =
|
|
|
127
127
|
}, domProps, {
|
|
128
128
|
ref
|
|
129
129
|
}), /* @__PURE__ */ React__namespace.createElement(GroupContext.Provider, {
|
|
130
|
-
value:
|
|
130
|
+
value: context$1
|
|
131
131
|
}, childrenNode)));
|
|
132
132
|
});
|
|
133
133
|
exports.GroupContext = GroupContext;
|
|
@@ -82,13 +82,13 @@ const CheckboxGroup = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
|
82
82
|
value: option.value,
|
|
83
83
|
checked: value.includes(option.value),
|
|
84
84
|
onChange: option.onChange,
|
|
85
|
-
className:
|
|
85
|
+
className: `${groupPrefixCls}-item`,
|
|
86
86
|
style: option.style,
|
|
87
87
|
title: option.title,
|
|
88
88
|
id: option.id,
|
|
89
89
|
required: option.required
|
|
90
90
|
}, option.label)) : children;
|
|
91
|
-
const
|
|
91
|
+
const context = {
|
|
92
92
|
toggleOption,
|
|
93
93
|
value,
|
|
94
94
|
disabled: restProps.disabled,
|
|
@@ -96,7 +96,7 @@ const CheckboxGroup = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
|
96
96
|
// https://github.com/ant-design/ant-design/issues/16376
|
|
97
97
|
registerValue,
|
|
98
98
|
cancelValue
|
|
99
|
-
}
|
|
99
|
+
};
|
|
100
100
|
const classString = classNames(groupPrefixCls, {
|
|
101
101
|
[`${groupPrefixCls}-rtl`]: direction === "rtl"
|
|
102
102
|
}, className, rootClassName, cssVarCls, rootCls, hashId);
|
|
@@ -106,7 +106,7 @@ const CheckboxGroup = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
|
106
106
|
}, domProps, {
|
|
107
107
|
ref
|
|
108
108
|
}), /* @__PURE__ */ React.createElement(GroupContext.Provider, {
|
|
109
|
-
value:
|
|
109
|
+
value: context
|
|
110
110
|
}, childrenNode)));
|
|
111
111
|
});
|
|
112
112
|
export {
|
|
@@ -82,7 +82,7 @@ const genCheckboxStyle = (token) => {
|
|
|
82
82
|
cursor: "pointer",
|
|
83
83
|
opacity: 0,
|
|
84
84
|
margin: 0,
|
|
85
|
-
[`&:focus-visible + ${checkboxCls}-inner`]: index.genFocusOutline(token)
|
|
85
|
+
[`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, index.genFocusOutline(token))
|
|
86
86
|
},
|
|
87
87
|
// Wrapper > Checkbox > inner
|
|
88
88
|
[`${checkboxCls}-inner`]: {
|
|
@@ -169,28 +169,26 @@ const genCheckboxStyle = (token) => {
|
|
|
169
169
|
{
|
|
170
170
|
[checkboxCls]: {
|
|
171
171
|
"&-indeterminate": {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
"
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
content: '""'
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
// https://github.com/ant-design/ant-design/issues/50074
|
|
190
|
-
[`&:hover ${checkboxCls}-inner`]: {
|
|
191
|
-
backgroundColor: `${token.colorBgContainer}`,
|
|
192
|
-
borderColor: `${token.colorPrimary}`
|
|
172
|
+
// Wrapper > Checkbox > inner
|
|
173
|
+
[`${checkboxCls}-inner`]: {
|
|
174
|
+
backgroundColor: `${token.colorBgContainer} !important`,
|
|
175
|
+
borderColor: `${token.colorBorder} !important`,
|
|
176
|
+
"&:after": {
|
|
177
|
+
top: "50%",
|
|
178
|
+
insetInlineStart: "50%",
|
|
179
|
+
width: token.calc(token.fontSizeLG).div(2).equal(),
|
|
180
|
+
height: token.calc(token.fontSizeLG).div(2).equal(),
|
|
181
|
+
backgroundColor: token.colorPrimary,
|
|
182
|
+
border: 0,
|
|
183
|
+
transform: "translate(-50%, -50%) scale(1)",
|
|
184
|
+
opacity: 1,
|
|
185
|
+
content: '""'
|
|
193
186
|
}
|
|
187
|
+
},
|
|
188
|
+
// https://github.com/ant-design/ant-design/issues/50074
|
|
189
|
+
[`&:hover ${checkboxCls}-inner`]: {
|
|
190
|
+
backgroundColor: `${token.colorBgContainer} !important`,
|
|
191
|
+
borderColor: `${token.colorPrimary} !important`
|
|
194
192
|
}
|
|
195
193
|
}
|
|
196
194
|
}
|
|
@@ -236,11 +234,14 @@ function getStyle(prefixCls, token) {
|
|
|
236
234
|
checkboxCls: `.${prefixCls}`,
|
|
237
235
|
checkboxSize: token.controlInteractiveSize
|
|
238
236
|
});
|
|
239
|
-
return genCheckboxStyle(checkboxToken);
|
|
237
|
+
return [genCheckboxStyle(checkboxToken)];
|
|
240
238
|
}
|
|
241
|
-
var useStyle = genStyleUtils.genStyleHooks("Checkbox", (token, {
|
|
242
|
-
|
|
243
|
-
|
|
239
|
+
var useStyle = genStyleUtils.genStyleHooks("Checkbox", (token, _ref) => {
|
|
240
|
+
let {
|
|
241
|
+
prefixCls
|
|
242
|
+
} = _ref;
|
|
243
|
+
return [getStyle(prefixCls, token)];
|
|
244
|
+
});
|
|
244
245
|
exports.default = useStyle;
|
|
245
246
|
exports.genCheckboxStyle = genCheckboxStyle;
|
|
246
247
|
exports.getStyle = getStyle;
|
|
@@ -80,7 +80,7 @@ const genCheckboxStyle = (token) => {
|
|
|
80
80
|
cursor: "pointer",
|
|
81
81
|
opacity: 0,
|
|
82
82
|
margin: 0,
|
|
83
|
-
[`&:focus-visible + ${checkboxCls}-inner`]: genFocusOutline(token)
|
|
83
|
+
[`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, genFocusOutline(token))
|
|
84
84
|
},
|
|
85
85
|
// Wrapper > Checkbox > inner
|
|
86
86
|
[`${checkboxCls}-inner`]: {
|
|
@@ -167,28 +167,26 @@ const genCheckboxStyle = (token) => {
|
|
|
167
167
|
{
|
|
168
168
|
[checkboxCls]: {
|
|
169
169
|
"&-indeterminate": {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
"
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
content: '""'
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
// https://github.com/ant-design/ant-design/issues/50074
|
|
188
|
-
[`&:hover ${checkboxCls}-inner`]: {
|
|
189
|
-
backgroundColor: `${token.colorBgContainer}`,
|
|
190
|
-
borderColor: `${token.colorPrimary}`
|
|
170
|
+
// Wrapper > Checkbox > inner
|
|
171
|
+
[`${checkboxCls}-inner`]: {
|
|
172
|
+
backgroundColor: `${token.colorBgContainer} !important`,
|
|
173
|
+
borderColor: `${token.colorBorder} !important`,
|
|
174
|
+
"&:after": {
|
|
175
|
+
top: "50%",
|
|
176
|
+
insetInlineStart: "50%",
|
|
177
|
+
width: token.calc(token.fontSizeLG).div(2).equal(),
|
|
178
|
+
height: token.calc(token.fontSizeLG).div(2).equal(),
|
|
179
|
+
backgroundColor: token.colorPrimary,
|
|
180
|
+
border: 0,
|
|
181
|
+
transform: "translate(-50%, -50%) scale(1)",
|
|
182
|
+
opacity: 1,
|
|
183
|
+
content: '""'
|
|
191
184
|
}
|
|
185
|
+
},
|
|
186
|
+
// https://github.com/ant-design/ant-design/issues/50074
|
|
187
|
+
[`&:hover ${checkboxCls}-inner`]: {
|
|
188
|
+
backgroundColor: `${token.colorBgContainer} !important`,
|
|
189
|
+
borderColor: `${token.colorPrimary} !important`
|
|
192
190
|
}
|
|
193
191
|
}
|
|
194
192
|
}
|
|
@@ -234,11 +232,14 @@ function getStyle(prefixCls, token) {
|
|
|
234
232
|
checkboxCls: `.${prefixCls}`,
|
|
235
233
|
checkboxSize: token.controlInteractiveSize
|
|
236
234
|
});
|
|
237
|
-
return genCheckboxStyle(checkboxToken);
|
|
235
|
+
return [genCheckboxStyle(checkboxToken)];
|
|
238
236
|
}
|
|
239
|
-
var useStyle = genStyleHooks("Checkbox", (token, {
|
|
240
|
-
|
|
241
|
-
|
|
237
|
+
var useStyle = genStyleHooks("Checkbox", (token, _ref) => {
|
|
238
|
+
let {
|
|
239
|
+
prefixCls
|
|
240
|
+
} = _ref;
|
|
241
|
+
return [getStyle(prefixCls, token)];
|
|
242
|
+
});
|
|
242
243
|
export {
|
|
243
244
|
useStyle as default,
|
|
244
245
|
genCheckboxStyle,
|
|
@@ -7,7 +7,7 @@ require("../../../../_virtual/index.cjs");
|
|
|
7
7
|
require("react");
|
|
8
8
|
const toHexFormat = (value, alpha) => (value === null || value === void 0 ? void 0 : value.replace(/[^\w/]/g, "").slice(0, alpha ? 8 : 6)) || "";
|
|
9
9
|
const getHex = (value, alpha) => value ? toHexFormat(value, alpha) : "";
|
|
10
|
-
let AggregationColor = /* @__PURE__ */
|
|
10
|
+
let AggregationColor = /* @__PURE__ */ function() {
|
|
11
11
|
function AggregationColor2(color$1) {
|
|
12
12
|
classCallCheck(this, AggregationColor2);
|
|
13
13
|
var _a;
|
|
@@ -23,13 +23,16 @@ let AggregationColor = /* @__PURE__ */ (function() {
|
|
|
23
23
|
}
|
|
24
24
|
const isArray = Array.isArray(color$1);
|
|
25
25
|
if (isArray && color$1.length) {
|
|
26
|
-
this.colors = color$1.map(({
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
this.colors = color$1.map((_ref) => {
|
|
27
|
+
let {
|
|
28
|
+
color: c,
|
|
29
|
+
percent
|
|
30
|
+
} = _ref;
|
|
31
|
+
return {
|
|
32
|
+
color: new AggregationColor2(c),
|
|
33
|
+
percent
|
|
34
|
+
};
|
|
35
|
+
});
|
|
33
36
|
this.metaColor = new color.Color(this.colors[0].color.metaColor);
|
|
34
37
|
} else {
|
|
35
38
|
this.metaColor = new color.Color(isArray ? "" : color$1);
|
|
@@ -109,7 +112,7 @@ let AggregationColor = /* @__PURE__ */ (function() {
|
|
|
109
112
|
});
|
|
110
113
|
}
|
|
111
114
|
}]);
|
|
112
|
-
}
|
|
115
|
+
}();
|
|
113
116
|
exports.AggregationColor = AggregationColor;
|
|
114
117
|
exports.getHex = getHex;
|
|
115
118
|
exports.toHexFormat = toHexFormat;
|
|
@@ -6,7 +6,7 @@ import "../../../../_virtual/index.js";
|
|
|
6
6
|
import "react";
|
|
7
7
|
const toHexFormat = (value, alpha) => (value === null || value === void 0 ? void 0 : value.replace(/[^\w/]/g, "").slice(0, alpha ? 8 : 6)) || "";
|
|
8
8
|
const getHex = (value, alpha) => value ? toHexFormat(value, alpha) : "";
|
|
9
|
-
let AggregationColor = /* @__PURE__ */
|
|
9
|
+
let AggregationColor = /* @__PURE__ */ function() {
|
|
10
10
|
function AggregationColor2(color) {
|
|
11
11
|
_classCallCheck(this, AggregationColor2);
|
|
12
12
|
var _a;
|
|
@@ -22,13 +22,16 @@ let AggregationColor = /* @__PURE__ */ (function() {
|
|
|
22
22
|
}
|
|
23
23
|
const isArray = Array.isArray(color);
|
|
24
24
|
if (isArray && color.length) {
|
|
25
|
-
this.colors = color.map(({
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
this.colors = color.map((_ref) => {
|
|
26
|
+
let {
|
|
27
|
+
color: c,
|
|
28
|
+
percent
|
|
29
|
+
} = _ref;
|
|
30
|
+
return {
|
|
31
|
+
color: new AggregationColor2(c),
|
|
32
|
+
percent
|
|
33
|
+
};
|
|
34
|
+
});
|
|
32
35
|
this.metaColor = new Color(this.colors[0].color.metaColor);
|
|
33
36
|
} else {
|
|
34
37
|
this.metaColor = new Color(isArray ? "" : color);
|
|
@@ -108,7 +111,7 @@ let AggregationColor = /* @__PURE__ */ (function() {
|
|
|
108
111
|
});
|
|
109
112
|
}
|
|
110
113
|
}]);
|
|
111
|
-
}
|
|
114
|
+
}();
|
|
112
115
|
export {
|
|
113
116
|
AggregationColor,
|
|
114
117
|
getHex,
|
|
@@ -21,10 +21,11 @@ function _interopNamespaceDefault(e) {
|
|
|
21
21
|
}
|
|
22
22
|
var React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
23
23
|
const DisabledContext = /* @__PURE__ */ React__namespace.createContext(false);
|
|
24
|
-
const DisabledContextProvider = ({
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
const DisabledContextProvider = (_ref) => {
|
|
25
|
+
let {
|
|
26
|
+
children,
|
|
27
|
+
disabled
|
|
28
|
+
} = _ref;
|
|
28
29
|
const originDisabled = React__namespace.useContext(DisabledContext);
|
|
29
30
|
return /* @__PURE__ */ React__namespace.createElement(DisabledContext.Provider, {
|
|
30
31
|
value: disabled !== null && disabled !== void 0 ? disabled : originDisabled
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
const DisabledContext = /* @__PURE__ */ React.createContext(false);
|
|
3
|
-
const DisabledContextProvider = ({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const DisabledContextProvider = (_ref) => {
|
|
4
|
+
let {
|
|
5
|
+
children,
|
|
6
|
+
disabled
|
|
7
|
+
} = _ref;
|
|
7
8
|
const originDisabled = React.useContext(DisabledContext);
|
|
8
9
|
return /* @__PURE__ */ React.createElement(DisabledContext.Provider, {
|
|
9
10
|
value: disabled !== null && disabled !== void 0 ? disabled : originDisabled
|
|
@@ -37,12 +37,7 @@ function _interopNamespaceDefault(e) {
|
|
|
37
37
|
return Object.freeze(n);
|
|
38
38
|
}
|
|
39
39
|
var React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
40
|
-
const MotionCacheContext = /* @__PURE__ */ React__namespace.createContext(true);
|
|
41
|
-
if (process.env.NODE_ENV !== "production") {
|
|
42
|
-
MotionCacheContext.displayName = "MotionCacheContext";
|
|
43
|
-
}
|
|
44
40
|
function MotionWrapper(props) {
|
|
45
|
-
const parentMotion = React__namespace.useContext(MotionCacheContext);
|
|
46
41
|
const {
|
|
47
42
|
children
|
|
48
43
|
} = props;
|
|
@@ -51,13 +46,11 @@ function MotionWrapper(props) {
|
|
|
51
46
|
motion
|
|
52
47
|
} = token;
|
|
53
48
|
const needWrapMotionProviderRef = React__namespace.useRef(false);
|
|
54
|
-
needWrapMotionProviderRef.current
|
|
49
|
+
needWrapMotionProviderRef.current = needWrapMotionProviderRef.current || motion === false;
|
|
55
50
|
if (needWrapMotionProviderRef.current) {
|
|
56
|
-
return /* @__PURE__ */ React__namespace.createElement(
|
|
57
|
-
value: motion
|
|
58
|
-
}, /* @__PURE__ */ React__namespace.createElement(context.default, {
|
|
51
|
+
return /* @__PURE__ */ React__namespace.createElement(context.default, {
|
|
59
52
|
motion
|
|
60
|
-
}, children)
|
|
53
|
+
}, children);
|
|
61
54
|
}
|
|
62
55
|
return children;
|
|
63
56
|
}
|
|
@@ -17,12 +17,7 @@ import "../../../rc-util/es/ref.js";
|
|
|
17
17
|
import "../../../@ant-design/cssinjs-utils/es/util/statistic.js";
|
|
18
18
|
import "../../../@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.js";
|
|
19
19
|
import useToken from "../theme/useToken.js";
|
|
20
|
-
const MotionCacheContext = /* @__PURE__ */ React.createContext(true);
|
|
21
|
-
if (process.env.NODE_ENV !== "production") {
|
|
22
|
-
MotionCacheContext.displayName = "MotionCacheContext";
|
|
23
|
-
}
|
|
24
20
|
function MotionWrapper(props) {
|
|
25
|
-
const parentMotion = React.useContext(MotionCacheContext);
|
|
26
21
|
const {
|
|
27
22
|
children
|
|
28
23
|
} = props;
|
|
@@ -31,13 +26,11 @@ function MotionWrapper(props) {
|
|
|
31
26
|
motion
|
|
32
27
|
} = token;
|
|
33
28
|
const needWrapMotionProviderRef = React.useRef(false);
|
|
34
|
-
needWrapMotionProviderRef.current
|
|
29
|
+
needWrapMotionProviderRef.current = needWrapMotionProviderRef.current || motion === false;
|
|
35
30
|
if (needWrapMotionProviderRef.current) {
|
|
36
|
-
return /* @__PURE__ */ React.createElement(
|
|
37
|
-
value: motion
|
|
38
|
-
}, /* @__PURE__ */ React.createElement(MotionProvider, {
|
|
31
|
+
return /* @__PURE__ */ React.createElement(MotionProvider, {
|
|
39
32
|
motion
|
|
40
|
-
}, children)
|
|
33
|
+
}, children);
|
|
41
34
|
}
|
|
42
35
|
return children;
|
|
43
36
|
}
|
|
@@ -20,9 +20,10 @@ function _interopNamespaceDefault(e) {
|
|
|
20
20
|
return Object.freeze(n);
|
|
21
21
|
}
|
|
22
22
|
var React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
23
|
-
const PropWarning = /* @__PURE__ */ React__namespace.memo(({
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const PropWarning = /* @__PURE__ */ React__namespace.memo((_ref) => {
|
|
24
|
+
let {
|
|
25
|
+
dropdownMatchSelectWidth
|
|
26
|
+
} = _ref;
|
|
26
27
|
const warning$1 = warning.devUseWarning("ConfigProvider");
|
|
27
28
|
warning$1.deprecated(dropdownMatchSelectWidth === void 0, "dropdownMatchSelectWidth", "popupMatchSelectWidth");
|
|
28
29
|
return null;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { devUseWarning } from "../_util/warning.js";
|
|
3
|
-
const PropWarning = /* @__PURE__ */ React.memo(({
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
const PropWarning = /* @__PURE__ */ React.memo((_ref) => {
|
|
4
|
+
let {
|
|
5
|
+
dropdownMatchSelectWidth
|
|
6
|
+
} = _ref;
|
|
6
7
|
const warning = devUseWarning("ConfigProvider");
|
|
7
8
|
warning.deprecated(dropdownMatchSelectWidth === void 0, "dropdownMatchSelectWidth", "popupMatchSelectWidth");
|
|
8
9
|
return null;
|
|
@@ -21,10 +21,11 @@ function _interopNamespaceDefault(e) {
|
|
|
21
21
|
}
|
|
22
22
|
var React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
23
23
|
const SizeContext = /* @__PURE__ */ React__namespace.createContext(void 0);
|
|
24
|
-
const SizeContextProvider = ({
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
const SizeContextProvider = (_ref) => {
|
|
25
|
+
let {
|
|
26
|
+
children,
|
|
27
|
+
size
|
|
28
|
+
} = _ref;
|
|
28
29
|
const originSize = React__namespace.useContext(SizeContext);
|
|
29
30
|
return /* @__PURE__ */ React__namespace.createElement(SizeContext.Provider, {
|
|
30
31
|
value: size || originSize
|