@fle-ui/next 2.0.0-alpha.9 → 3.0.0-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/components.min.js +1 -0
- package/es/_util/PurePanel.d.ts +6 -0
- package/es/_util/PurePanel.js +89 -0
- package/es/_util/capitalize.d.ts +1 -0
- package/es/_util/capitalize.js +8 -0
- package/es/_util/motion.d.ts +2 -2
- package/es/_util/motion.js +18 -14
- package/es/_util/statusUtils.d.ts +1 -1
- package/es/_util/statusUtils.js +1 -1
- package/es/_util/throttleByAnimationFrame.d.ts +4 -6
- package/es/_util/throttleByAnimationFrame.js +3 -29
- package/es/_util/warning.js +1 -1
- package/es/_util/wave/index.d.ts +33 -0
- package/es/_util/wave/index.js +275 -0
- package/es/_util/wave/style.d.ts +3 -0
- package/es/_util/wave/style.js +77 -0
- package/es/affix/index.d.ts +7 -2
- package/es/affix/index.js +54 -64
- package/es/affix/style/index.d.ts +2 -2
- package/es/affix/style/index.js +18 -2
- package/es/alert/index.d.ts +3 -3
- package/es/alert/index.js +23 -27
- package/es/alert/style/index.d.ts +13 -2
- package/es/alert/style/index.js +157 -2
- package/es/anchor/Anchor.js +20 -10
- package/es/anchor/AnchorLink.js +2 -2
- package/es/anchor/index.d.ts +5 -5
- package/es/anchor/style/index.d.ts +4 -3
- package/es/anchor/style/index.js +86 -3
- package/es/auto-complete/index.d.ts +4 -5
- package/es/auto-complete/index.js +15 -6
- package/es/avatar/avatar.js +18 -11
- package/es/avatar/group.js +18 -9
- package/es/avatar/index.d.ts +2 -2
- package/es/avatar/style/index.d.ts +4 -3
- package/es/avatar/style/index.js +115 -4
- package/es/back-top/index.d.ts +0 -1
- package/es/back-top/index.js +55 -64
- package/es/back-top/style/index.d.ts +6 -2
- package/es/back-top/style/index.js +77 -2
- package/es/badge/Ribbon.js +15 -7
- package/es/badge/ScrollNumber.js +2 -2
- package/es/badge/SingleNumber.js +4 -4
- package/es/badge/index.d.ts +3 -3
- package/es/badge/index.js +24 -15
- package/es/badge/style/index.d.ts +2 -2
- package/es/badge/style/index.js +324 -2
- package/es/breadcrumb/Breadcrumb.d.ts +3 -3
- package/es/breadcrumb/Breadcrumb.js +13 -6
- package/es/breadcrumb/BreadcrumbItem.d.ts +3 -3
- package/es/breadcrumb/BreadcrumbItem.js +4 -4
- package/es/breadcrumb/BreadcrumbSeparator.d.ts +3 -4
- package/es/breadcrumb/BreadcrumbSeparator.js +1 -1
- package/es/breadcrumb/index.d.ts +2 -2
- package/es/breadcrumb/style/index.d.ts +2 -4
- package/es/breadcrumb/style/index.js +77 -4
- package/es/button/LoadingIcon.js +3 -3
- package/es/button/button-group.js +9 -2
- package/es/button/button.d.ts +2 -2
- package/es/button/button.js +25 -17
- package/es/button/index.d.ts +3 -3
- package/es/button/style/group.d.ts +4 -0
- package/es/button/style/group.js +53 -0
- package/es/button/style/index.d.ts +10 -2
- package/es/button/style/index.js +331 -2
- package/es/calendar/Header.js +5 -5
- package/es/calendar/generateCalendar.d.ts +1 -1
- package/es/calendar/generateCalendar.js +18 -12
- package/es/calendar/index.d.ts +4 -4
- package/es/calendar/index.js +2 -2
- package/es/calendar/style/index.d.ts +21 -5
- package/es/calendar/style/index.js +147 -6
- package/es/card/Card.js +21 -13
- package/es/card/Grid.js +1 -1
- package/es/card/Meta.js +5 -5
- package/es/card/index.d.ts +3 -3
- package/es/card/style/index.d.ts +4 -4
- package/es/card/style/index.js +289 -4
- package/es/carousel/index.js +12 -4
- package/es/carousel/style/index.d.ts +7 -2
- package/es/carousel/style/index.js +263 -2
- package/es/cascader/index.d.ts +4 -4
- package/es/cascader/index.js +32 -10
- package/es/cascader/style/index.d.ts +7 -4
- package/es/cascader/style/index.js +109 -4
- package/es/checkbox/Checkbox.js +25 -19
- package/es/checkbox/Group.js +12 -5
- package/es/checkbox/index.d.ts +4 -4
- package/es/checkbox/style/index.d.ts +11 -2
- package/es/checkbox/style/index.js +174 -2
- package/es/col/index.d.ts +2 -2
- package/es/col/style/index.d.ts +2 -2
- package/es/col/style/index.js +3 -3
- package/es/collapse/Collapse.d.ts +3 -3
- package/es/collapse/Collapse.js +17 -8
- package/es/collapse/CollapsePanel.js +1 -1
- package/es/collapse/index.d.ts +2 -2
- package/es/collapse/style/index.d.ts +13 -2
- package/es/collapse/style/index.js +155 -2
- package/es/config-provider/context.d.ts +13 -1
- package/es/config-provider/context.js +7 -5
- package/es/config-provider/cssVariables.js +12 -12
- package/es/config-provider/defaultRenderEmpty.js +1 -1
- package/es/config-provider/hooks/useTheme.d.ts +2 -0
- package/es/config-provider/hooks/useTheme.js +31 -0
- package/es/config-provider/index.d.ts +8 -6
- package/es/config-provider/index.js +60 -36
- package/es/config-provider/style/index.d.ts +2 -1
- package/es/config-provider/style/index.js +24 -1
- package/es/date-picker/generatePicker/generateRangePicker.js +25 -13
- package/es/date-picker/generatePicker/generateSinglePicker.d.ts +6 -30
- package/es/date-picker/generatePicker/generateSinglePicker.js +23 -12
- package/es/date-picker/generatePicker/index.d.ts +6 -8
- package/es/date-picker/generatePicker/index.js +1 -3
- package/es/date-picker/index.d.ts +22 -19
- package/es/date-picker/index.js +8 -2
- package/es/date-picker/style/index.d.ts +34 -3
- package/es/date-picker/style/index.js +889 -3
- package/es/descriptions/Cell.js +5 -5
- package/es/descriptions/Row.js +8 -8
- package/es/descriptions/index.d.ts +1 -1
- package/es/descriptions/index.js +15 -8
- package/es/descriptions/style/index.d.ts +2 -2
- package/es/descriptions/style/index.js +155 -2
- package/es/divider/index.js +13 -5
- package/es/divider/style/index.d.ts +6 -2
- package/es/divider/style/index.js +126 -2
- package/es/drawer/DrawerPanel.d.ts +18 -0
- package/es/drawer/DrawerPanel.js +64 -0
- package/es/drawer/index.d.ts +14 -22
- package/es/drawer/index.js +70 -80
- package/es/drawer/style/index.d.ts +10 -2
- package/es/drawer/style/index.js +168 -3
- package/es/drawer/style/motion.d.ts +4 -0
- package/es/drawer/style/motion.js +108 -0
- package/es/dropdown/dropdown-button.d.ts +2 -3
- package/es/dropdown/dropdown-button.js +17 -11
- package/es/dropdown/dropdown.d.ts +5 -3
- package/es/dropdown/dropdown.js +51 -21
- package/es/dropdown/style/button.d.ts +4 -0
- package/es/dropdown/style/button.js +21 -0
- package/es/dropdown/style/index.d.ts +14 -5
- package/es/dropdown/style/index.js +267 -5
- package/es/dropdown/style/status.d.ts +4 -0
- package/es/dropdown/style/status.js +18 -0
- package/es/empty/empty.js +13 -18
- package/es/empty/index.d.ts +3 -3
- package/es/empty/index.js +17 -9
- package/es/empty/simple.js +27 -9
- package/es/empty/style/index.d.ts +5 -2
- package/es/empty/style/index.js +55 -2
- package/es/float-button/BackTop.d.ts +4 -0
- package/es/float-button/BackTop.js +126 -0
- package/es/float-button/FloatButton.d.ts +4 -0
- package/es/float-button/FloatButton.js +92 -0
- package/es/float-button/FloatButtonContent.d.ts +4 -0
- package/es/float-button/FloatButtonContent.js +26 -0
- package/es/float-button/FloatButtonGroup.d.ts +4 -0
- package/es/float-button/FloatButtonGroup.js +104 -0
- package/es/float-button/PurePanel.d.ts +12 -0
- package/es/float-button/PurePanel.js +62 -0
- package/es/float-button/context.d.ts +5 -0
- package/es/float-button/context.js +5 -0
- package/es/float-button/index.d.ts +2 -0
- package/es/float-button/index.js +8 -0
- package/es/float-button/interface.d.ts +49 -0
- package/es/float-button/interface.js +1 -0
- package/es/float-button/style/index.d.ts +6 -0
- package/es/float-button/style/index.js +255 -0
- package/es/form/ErrorList.js +19 -13
- package/es/form/Form.d.ts +2 -2
- package/es/form/Form.js +12 -5
- package/es/form/FormItem/ItemHolder.js +5 -5
- package/es/form/FormItem/index.d.ts +3 -3
- package/es/form/FormItem/index.js +17 -7
- package/es/form/FormItemInput.js +7 -7
- package/es/form/FormItemLabel.js +6 -6
- package/es/form/hooks/useFormItemStatus.js +4 -2
- package/es/form/index.d.ts +9 -9
- package/es/form/style/explain.d.ts +4 -0
- package/es/form/style/explain.js +38 -0
- package/es/form/style/index.d.ts +7 -4
- package/es/form/style/index.js +317 -4
- package/es/form/util.js +2 -2
- package/es/grid/col.js +14 -6
- package/es/grid/index.d.ts +2 -2
- package/es/grid/row.js +10 -3
- package/es/grid/style/index.d.ts +2 -2
- package/es/grid/style/index.js +141 -2
- package/es/image/PreviewGroup.js +17 -6
- package/es/image/index.d.ts +1 -1
- package/es/image/index.js +21 -8
- package/es/image/style/index.d.ts +21 -2
- package/es/image/style/index.js +229 -2
- package/es/index.d.ts +6 -6
- package/es/index.js +3 -4
- package/es/input/ClearableLabeledInput.d.ts +1 -0
- package/es/input/ClearableLabeledInput.js +5 -4
- package/es/input/Group.js +12 -3
- package/es/input/Input.js +17 -8
- package/es/input/Password.js +2 -2
- package/es/input/Search.js +2 -2
- package/es/input/TextArea.js +15 -8
- package/es/input/index.d.ts +7 -7
- package/es/input/style/index.d.ts +29 -3
- package/es/input/style/index.js +609 -4
- package/es/input-number/index.d.ts +5 -3
- package/es/input-number/index.js +37 -16
- package/es/input-number/style/index.d.ts +9 -2
- package/es/input-number/style/index.js +258 -2
- package/es/layout/Sider.js +8 -8
- package/es/layout/index.d.ts +5 -5
- package/es/layout/layout.js +9 -3
- package/es/layout/style/index.d.ts +16 -2
- package/es/layout/style/index.js +171 -2
- package/es/layout/style/light.d.ts +5 -0
- package/es/layout/style/light.js +23 -0
- package/es/list/Item.js +11 -11
- package/es/list/index.d.ts +2 -2
- package/es/list/index.js +23 -14
- package/es/list/style/index.d.ts +5 -6
- package/es/list/style/index.js +226 -6
- package/es/locale/en_US.d.ts +3 -2
- package/es/locale/en_US.js +137 -2
- package/es/locale/ku_IQ.js +1 -1
- package/es/locale/zh_CN.js +5 -0
- package/es/locale/zh_HK.js +5 -0
- package/es/locale/zh_TW.js +5 -0
- package/es/locale-provider/LocaleReceiver.js +1 -1
- package/es/locale-provider/index.d.ts +2 -0
- package/es/mentions/index.d.ts +5 -2
- package/es/mentions/index.js +25 -14
- package/es/mentions/style/index.d.ts +7 -3
- package/es/mentions/style/index.js +169 -3
- package/es/menu/MenuContext.d.ts +3 -1
- package/es/menu/MenuDivider.js +1 -1
- package/es/menu/MenuItem.js +5 -5
- package/es/menu/OverrideContext.d.ts +1 -1
- package/es/menu/SubMenu.js +12 -8
- package/es/menu/hooks/useItems.js +1 -1
- package/es/menu/index.d.ts +19 -22
- package/es/menu/index.js +17 -181
- package/es/menu/menu.d.ts +19 -0
- package/es/menu/menu.js +155 -0
- package/es/menu/style/horizontal.d.ts +4 -0
- package/es/menu/style/horizontal.js +38 -0
- package/es/menu/style/index.d.ts +41 -3
- package/es/menu/style/index.js +334 -4
- package/es/menu/style/rtl.d.ts +4 -0
- package/es/menu/style/rtl.js +22 -0
- package/es/menu/style/theme.d.ts +4 -0
- package/es/menu/style/theme.js +147 -0
- package/es/menu/style/vertical.d.ts +4 -0
- package/es/menu/style/vertical.js +131 -0
- package/es/message/PurePanel.d.ts +22 -0
- package/es/message/PurePanel.js +73 -0
- package/es/message/index.d.ts +20 -59
- package/es/message/index.js +264 -199
- package/es/message/interface.d.ts +37 -0
- package/es/message/interface.js +1 -0
- package/es/message/style/index.d.ts +7 -2
- package/es/message/style/index.js +121 -2
- package/es/message/useMessage.d.ts +8 -0
- package/es/message/useMessage.js +233 -0
- package/es/message/util.d.ts +4 -0
- package/es/message/util.js +26 -0
- package/es/modal/ConfirmDialog.d.ts +12 -3
- package/es/modal/ConfirmDialog.js +89 -42
- package/es/modal/Modal.d.ts +4 -10
- package/es/modal/Modal.js +32 -41
- package/es/modal/PurePanel.d.ts +13 -0
- package/es/modal/PurePanel.js +109 -0
- package/es/modal/confirm.js +8 -26
- package/es/modal/index.d.ts +4 -1
- package/es/modal/index.js +2 -0
- package/es/modal/locale.js +1 -1
- package/es/modal/style/index.d.ts +32 -3
- package/es/modal/style/index.js +295 -4
- package/es/modal/useModal/HookModal.js +1 -1
- package/es/modal/useModal/index.js +1 -1
- package/es/notification/PurePanel.d.ts +25 -0
- package/es/notification/PurePanel.js +120 -0
- package/es/notification/index.d.ts +17 -54
- package/es/notification/index.js +216 -313
- package/es/notification/interface.d.ts +51 -0
- package/es/notification/interface.js +1 -0
- package/es/notification/style/index.d.ts +19 -2
- package/es/notification/style/index.js +192 -2
- package/es/notification/style/placement.d.ts +5 -0
- package/es/notification/style/placement.js +60 -0
- package/es/notification/useNotification.d.ts +8 -0
- package/es/notification/useNotification.js +168 -0
- package/es/notification/util.d.ts +5 -0
- package/es/notification/util.js +64 -0
- package/es/pagination/Pagination.d.ts +2 -2
- package/es/pagination/Pagination.js +21 -13
- package/es/pagination/Select.d.ts +4 -4
- package/es/pagination/index.d.ts +1 -1
- package/es/pagination/style/index.d.ts +2 -3
- package/es/pagination/style/index.js +443 -4
- package/es/popconfirm/PurePanel.d.ts +6 -0
- package/es/popconfirm/PurePanel.js +54 -9
- package/es/popconfirm/index.d.ts +4 -6
- package/es/popconfirm/index.js +22 -14
- package/es/popconfirm/style/index.d.ts +8 -4
- package/es/popconfirm/style/index.js +51 -5
- package/es/popover/PurePanel.d.ts +8 -0
- package/es/popover/PurePanel.js +67 -0
- package/es/popover/index.d.ts +4 -1
- package/es/popover/index.js +22 -6
- package/es/popover/style/index.d.ts +12 -2
- package/es/popover/style/index.js +126 -3
- package/es/progress/Circle.d.ts +1 -1
- package/es/progress/Circle.js +28 -41
- package/es/progress/Line.d.ts +1 -3
- package/es/progress/Line.js +13 -14
- package/es/progress/Steps.js +2 -2
- package/es/progress/index.d.ts +1 -1
- package/es/progress/progress.js +29 -27
- package/es/progress/style/index.d.ts +4 -2
- package/es/progress/style/index.js +180 -2
- package/es/progress/utils.d.ts +6 -8
- package/es/progress/utils.js +19 -1
- package/es/radio/group.js +12 -5
- package/es/radio/index.d.ts +2 -2
- package/es/radio/interface.d.ts +2 -1
- package/es/radio/radio.js +22 -16
- package/es/radio/style/index.d.ts +4 -2
- package/es/radio/style/index.js +412 -2
- package/es/rate/index.js +13 -3
- package/es/rate/style/index.d.ts +3 -3
- package/es/rate/style/index.js +92 -3
- package/es/result/index.d.ts +4 -4
- package/es/result/index.js +20 -12
- package/es/result/style/index.d.ts +6 -2
- package/es/result/style/index.js +106 -2
- package/es/row/index.d.ts +2 -2
- package/es/row/style/index.d.ts +2 -2
- package/es/row/style/index.js +3 -3
- package/es/segmented/index.d.ts +1 -1
- package/es/segmented/index.js +13 -5
- package/es/segmented/style/index.d.ts +4 -2
- package/es/segmented/style/index.js +140 -2
- package/es/select/index.d.ts +7 -8
- package/es/select/index.js +29 -12
- package/es/select/style/dropdown.d.ts +4 -0
- package/es/select/style/dropdown.js +95 -0
- package/es/select/style/index.d.ts +10 -3
- package/es/select/style/index.js +208 -3
- package/es/select/style/multiple.d.ts +3 -0
- package/es/select/style/multiple.js +170 -0
- package/es/select/style/single.d.ts +3 -0
- package/es/select/style/single.js +110 -0
- package/es/select/utils/iconUtil.js +1 -1
- package/es/skeleton/Avatar.js +12 -4
- package/es/skeleton/Button.js +12 -4
- package/es/skeleton/Element.js +3 -3
- package/es/skeleton/Image.js +14 -6
- package/es/skeleton/Input.js +12 -4
- package/es/skeleton/Node.js +12 -4
- package/es/skeleton/Skeleton.d.ts +3 -4
- package/es/skeleton/Skeleton.js +15 -8
- package/es/skeleton/index.d.ts +1 -1
- package/es/skeleton/style/index.d.ts +6 -2
- package/es/skeleton/style/index.js +269 -2
- package/es/slider/index.d.ts +13 -24
- package/es/slider/index.js +48 -29
- package/es/slider/style/index.d.ts +11 -3
- package/es/slider/style/index.js +206 -3
- package/es/space/Compact.js +13 -5
- package/es/space/Item.js +1 -1
- package/es/space/index.d.ts +2 -2
- package/es/space/index.js +12 -5
- package/es/space/style/compact.d.ts +8 -0
- package/es/space/style/compact.js +18 -0
- package/es/space/style/index.d.ts +5 -2
- package/es/space/style/index.js +40 -2
- package/es/spin/index.d.ts +1 -0
- package/es/spin/index.js +21 -13
- package/es/spin/style/index.d.ts +5 -2
- package/es/spin/style/index.js +175 -2
- package/es/statistic/Countdown.d.ts +1 -1
- package/es/statistic/Number.js +5 -6
- package/es/statistic/Statistic.d.ts +3 -3
- package/es/statistic/Statistic.js +17 -9
- package/es/statistic/index.d.ts +2 -2
- package/es/statistic/style/index.d.ts +2 -3
- package/es/statistic/style/index.js +49 -3
- package/es/statistic/utils.js +3 -4
- package/es/steps/index.d.ts +4 -4
- package/es/steps/index.js +28 -10
- package/es/steps/style/custom-icon.d.ts +5 -0
- package/es/steps/style/custom-icon.js +26 -0
- package/es/steps/style/index.d.ts +53 -3
- package/es/steps/style/index.js +264 -4
- package/es/steps/style/inline.d.ts +5 -0
- package/es/steps/style/inline.js +93 -0
- package/es/steps/style/label-placement.d.ts +5 -0
- package/es/steps/style/label-placement.js +46 -0
- package/es/steps/style/nav.d.ts +5 -0
- package/es/steps/style/nav.js +104 -0
- package/es/steps/style/progress-dot.d.ts +5 -0
- package/es/steps/style/progress-dot.js +99 -0
- package/es/steps/style/progress.d.ts +5 -0
- package/es/steps/style/progress.js +33 -0
- package/es/steps/style/rtl.d.ts +5 -0
- package/es/steps/style/rtl.js +26 -0
- package/es/steps/style/small.d.ts +5 -0
- package/es/steps/style/small.js +53 -0
- package/es/steps/style/vertical.d.ts +5 -0
- package/es/steps/style/vertical.js +55 -0
- package/es/style/compact-item-vertical.d.ts +3 -0
- package/es/style/compact-item-vertical.js +41 -0
- package/es/style/compact-item.d.ts +10 -0
- package/es/style/compact-item.js +47 -0
- package/es/style/index.d.ts +12 -2
- package/es/style/index.js +123 -2
- package/es/style/motion/collapse.d.ts +4 -0
- package/es/style/motion/collapse.js +17 -0
- package/es/style/motion/fade.d.ts +7 -0
- package/es/style/motion/fade.js +33 -0
- package/es/style/motion/index.d.ts +6 -0
- package/es/style/motion/index.js +6 -0
- package/es/style/motion/motion.d.ts +2 -0
- package/es/style/motion/motion.js +36 -0
- package/es/style/motion/move.d.ts +15 -0
- package/es/style/motion/move.js +132 -0
- package/es/style/motion/slide.d.ts +15 -0
- package/es/style/motion/slide.js +132 -0
- package/es/style/motion/zoom.d.ts +19 -0
- package/es/style/motion/zoom.js +178 -0
- package/es/style/operationUnit.d.ts +3 -0
- package/es/style/operationUnit.js +18 -0
- package/es/style/placementArrow.d.ts +19 -0
- package/es/style/placementArrow.js +145 -0
- package/es/style/reset.css +253 -0
- package/es/style/roundedArrow.d.ts +2 -0
- package/es/style/roundedArrow.js +52 -0
- package/es/switch/index.d.ts +1 -2
- package/es/switch/index.js +14 -6
- package/es/switch/style/index.d.ts +2 -2
- package/es/switch/style/index.js +203 -2
- package/es/table/ExpandIcon.js +2 -2
- package/es/table/Table.d.ts +5 -6
- package/es/table/Table.js +21 -17
- package/es/table/hooks/useFilter/FilterDropdown.js +39 -34
- package/es/table/hooks/useFilter/FilterSearch.js +2 -2
- package/es/table/hooks/useFilter/index.js +16 -4
- package/es/table/hooks/useSelection.js +4 -4
- package/es/table/hooks/useSorter.js +9 -9
- package/es/table/index.d.ts +4 -4
- package/es/table/interface.d.ts +5 -11
- package/es/table/style/bordered.d.ts +5 -0
- package/es/table/style/bordered.js +67 -0
- package/es/table/style/ellipsis.d.ts +5 -0
- package/es/table/style/ellipsis.js +24 -0
- package/es/table/style/empty.d.ts +5 -0
- package/es/table/style/empty.js +14 -0
- package/es/table/style/expand.d.ts +5 -0
- package/es/table/style/expand.js +109 -0
- package/es/table/style/filter.d.ts +4 -0
- package/es/table/style/filter.js +122 -0
- package/es/table/style/fixed.d.ts +5 -0
- package/es/table/style/fixed.js +82 -0
- package/es/table/style/index.d.ts +48 -12
- package/es/table/style/index.js +213 -15
- package/es/table/style/pagination.d.ts +5 -0
- package/es/table/style/pagination.js +29 -0
- package/es/table/style/radius.d.ts +5 -0
- package/es/table/style/radius.js +40 -0
- package/es/table/style/rtl.d.ts +5 -0
- package/es/table/style/rtl.js +29 -0
- package/es/table/style/selection.d.ts +5 -0
- package/es/table/style/selection.js +49 -0
- package/es/table/style/size.d.ts +5 -0
- package/es/table/style/size.js +29 -0
- package/es/table/style/sorter.d.ts +5 -0
- package/es/table/style/sorter.js +72 -0
- package/es/table/style/sticky.d.ts +5 -0
- package/es/table/style/sticky.js +47 -0
- package/es/table/style/summary.d.ts +5 -0
- package/es/table/style/summary.js +24 -0
- package/es/table/util.js +1 -1
- package/es/tabs/index.d.ts +3 -3
- package/es/tabs/index.js +15 -5
- package/es/tabs/style/index.d.ts +20 -2
- package/es/tabs/style/index.js +602 -2
- package/es/tabs/style/motion.d.ts +4 -0
- package/es/tabs/style/motion.js +34 -0
- package/es/tag/CheckableTag.js +12 -4
- package/es/tag/index.d.ts +1 -1
- package/es/tag/index.js +17 -14
- package/es/tag/style/index.d.ts +4 -2
- package/es/tag/style/index.js +127 -2
- package/es/theme/index.d.ts +21 -0
- package/es/theme/index.js +37 -0
- package/es/theme/interface/alias.d.ts +133 -0
- package/es/theme/interface/alias.js +1 -0
- package/es/theme/interface/components.d.ts +110 -0
- package/es/theme/interface/components.js +1 -0
- package/es/theme/interface/index.d.ts +13 -0
- package/es/theme/interface/index.js +1 -0
- package/es/theme/interface/maps/colors.d.ts +342 -0
- package/es/theme/interface/maps/colors.js +1 -0
- package/es/theme/interface/maps/index.d.ts +15 -0
- package/es/theme/interface/maps/index.js +3 -0
- package/es/theme/interface/maps/size.d.ts +49 -0
- package/es/theme/interface/maps/size.js +1 -0
- package/es/theme/interface/maps/style.d.ts +33 -0
- package/es/theme/interface/maps/style.js +1 -0
- package/es/theme/interface/presetColors.d.ts +8 -0
- package/es/theme/interface/presetColors.js +1 -0
- package/es/theme/interface/seeds.d.ts +139 -0
- package/es/theme/interface/seeds.js +1 -0
- package/es/theme/internal.d.ts +23 -0
- package/es/theme/internal.js +47 -0
- package/es/theme/themes/ColorMap.d.ts +15 -0
- package/es/theme/themes/ColorMap.js +1 -0
- package/es/theme/themes/compact/genCompactSizeMapToken.d.ts +2 -0
- package/es/theme/themes/compact/genCompactSizeMapToken.js +16 -0
- package/es/theme/themes/compact/index.d.ts +4 -0
- package/es/theme/themes/compact/index.js +28 -0
- package/es/theme/themes/dark/colorAlgorithm.d.ts +2 -0
- package/es/theme/themes/dark/colorAlgorithm.js +8 -0
- package/es/theme/themes/dark/colors.d.ts +3 -0
- package/es/theme/themes/dark/colors.js +44 -0
- package/es/theme/themes/dark/index.d.ts +4 -0
- package/es/theme/themes/dark/index.js +28 -0
- package/es/theme/themes/default/colorAlgorithm.d.ts +2 -0
- package/es/theme/themes/default/colorAlgorithm.js +8 -0
- package/es/theme/themes/default/colors.d.ts +3 -0
- package/es/theme/themes/default/colors.js +42 -0
- package/es/theme/themes/default/index.d.ts +2 -0
- package/es/theme/themes/default/index.js +24 -0
- package/es/theme/themes/seed.d.ts +4 -0
- package/es/theme/themes/seed.js +61 -0
- package/es/theme/themes/shared/genColorMapToken.d.ts +8 -0
- package/es/theme/themes/shared/genColorMapToken.js +73 -0
- package/es/theme/themes/shared/genCommonMapToken.d.ts +2 -0
- package/es/theme/themes/shared/genCommonMapToken.js +26 -0
- package/es/theme/themes/shared/genControlHeight.d.ts +3 -0
- package/es/theme/themes/shared/genControlHeight.js +10 -0
- package/es/theme/themes/shared/genFontSizes.d.ts +4 -0
- package/es/theme/themes/shared/genFontSizes.js +18 -0
- package/es/theme/themes/shared/genRadius.d.ts +3 -0
- package/es/theme/themes/shared/genRadius.js +51 -0
- package/es/theme/themes/shared/genSizeMapToken.d.ts +2 -0
- package/es/theme/themes/shared/genSizeMapToken.js +16 -0
- package/es/theme/util/alias.d.ts +12 -0
- package/es/theme/util/alias.js +169 -0
- package/es/theme/util/genComponentStyleHook.d.ts +25 -0
- package/es/theme/util/genComponentStyleHook.js +65 -0
- package/es/theme/util/getAlphaColor.d.ts +2 -0
- package/es/theme/util/getAlphaColor.js +46 -0
- package/es/theme/util/statistic.d.ts +18 -0
- package/es/theme/util/statistic.js +80 -0
- package/es/time-picker/index.d.ts +6 -14
- package/es/time-picker/index.js +10 -11
- package/es/timeline/Timeline.d.ts +3 -3
- package/es/timeline/Timeline.js +22 -13
- package/es/timeline/TimelineItem.js +5 -5
- package/es/timeline/index.d.ts +2 -2
- package/es/timeline/style/index.d.ts +4 -2
- package/es/timeline/style/index.js +145 -2
- package/es/tooltip/PurePanel.d.ts +5 -0
- package/es/tooltip/PurePanel.js +43 -0
- package/es/tooltip/index.d.ts +14 -23
- package/es/tooltip/index.js +48 -42
- package/es/tooltip/style/index.d.ts +7 -2
- package/es/tooltip/style/index.js +117 -2
- package/es/tooltip/util.d.ts +6 -0
- package/es/tooltip/util.js +23 -0
- package/es/tour/PurePanel.d.ts +6 -0
- package/es/tour/PurePanel.js +57 -0
- package/es/tour/index.d.ts +7 -0
- package/es/tour/index.js +66 -0
- package/es/tour/interface.d.ts +28 -0
- package/es/tour/interface.js +1 -0
- package/es/tour/panelRender.d.ts +4 -0
- package/es/tour/panelRender.js +116 -0
- package/es/tour/style/index.d.ts +4 -0
- package/es/tour/style/index.js +170 -0
- package/es/transfer/ListBody.js +2 -2
- package/es/transfer/ListItem.js +5 -5
- package/es/transfer/index.d.ts +3 -3
- package/es/transfer/index.js +23 -6
- package/es/transfer/list.js +13 -13
- package/es/transfer/style/index.d.ts +7 -8
- package/es/transfer/style/index.js +271 -9
- package/es/tree/DirectoryTree.js +1 -1
- package/es/tree/Tree.js +17 -9
- package/es/tree/index.d.ts +4 -4
- package/es/tree/style/index.d.ts +13 -2
- package/es/tree/style/index.js +329 -2
- package/es/tree/utils/dropIndicator.js +1 -1
- package/es/tree/utils/iconUtil.js +7 -7
- package/es/tree-select/index.d.ts +7 -8
- package/es/tree-select/index.js +33 -10
- package/es/tree-select/style/index.d.ts +1 -4
- package/es/tree-select/style/index.js +44 -5
- package/es/typography/Base/index.js +4 -4
- package/es/typography/Editable.d.ts +1 -1
- package/es/typography/Editable.js +12 -5
- package/es/typography/Title.js +1 -1
- package/es/typography/Typography.js +17 -10
- package/es/typography/style/index.d.ts +9 -4
- package/es/typography/style/index.js +59 -4
- package/es/typography/style/mixins.d.ts +9 -0
- package/es/typography/style/mixins.js +205 -0
- package/es/upload/Upload.js +26 -18
- package/es/upload/UploadList/ListItem.js +17 -35
- package/es/upload/UploadList/index.js +16 -13
- package/es/upload/index.d.ts +5 -5
- package/es/upload/interface.d.ts +1 -0
- package/es/upload/style/dragger.d.ts +4 -0
- package/es/upload/style/dragger.js +49 -0
- package/es/upload/style/index.d.ts +10 -5
- package/es/upload/style/index.js +43 -6
- package/es/upload/style/list.d.ts +4 -0
- package/es/upload/style/list.js +89 -0
- package/es/upload/style/motion.d.ts +4 -0
- package/es/upload/style/motion.js +38 -0
- package/es/upload/style/picture.d.ts +5 -0
- package/es/upload/style/picture.js +159 -0
- package/es/upload/style/rtl.d.ts +4 -0
- package/es/upload/style/rtl.js +10 -0
- package/es/upload/utils.js +1 -1
- package/es/version/token-meta.json +1 -0
- package/es/version/token.json +1 -0
- package/es/version/version.d.ts +1 -1
- package/es/version/version.js +1 -1
- package/lib/_util/PurePanel.d.ts +6 -0
- package/lib/_util/PurePanel.js +105 -0
- package/lib/_util/capitalize.d.ts +1 -0
- package/lib/_util/capitalize.js +15 -0
- package/lib/_util/motion.d.ts +2 -2
- package/lib/_util/motion.js +18 -14
- package/lib/_util/statusUtils.d.ts +1 -1
- package/lib/_util/statusUtils.js +1 -1
- package/lib/_util/throttleByAnimationFrame.d.ts +4 -6
- package/lib/_util/throttleByAnimationFrame.js +3 -31
- package/lib/_util/warning.js +1 -1
- package/lib/_util/wave/index.d.ts +33 -0
- package/lib/_util/wave/index.js +301 -0
- package/lib/_util/wave/style.d.ts +3 -0
- package/lib/_util/wave/style.js +92 -0
- package/lib/affix/index.d.ts +7 -2
- package/lib/affix/index.js +57 -64
- package/lib/affix/style/index.d.ts +2 -2
- package/lib/affix/style/index.js +28 -2
- package/lib/alert/index.d.ts +3 -3
- package/lib/alert/index.js +22 -30
- package/lib/alert/style/index.d.ts +13 -2
- package/lib/alert/style/index.js +180 -2
- package/lib/anchor/Anchor.js +21 -10
- package/lib/anchor/AnchorLink.js +2 -2
- package/lib/anchor/index.d.ts +5 -5
- package/lib/anchor/style/index.d.ts +4 -3
- package/lib/anchor/style/index.js +98 -3
- package/lib/auto-complete/index.d.ts +4 -5
- package/lib/auto-complete/index.js +16 -6
- package/lib/avatar/avatar.js +19 -11
- package/lib/avatar/group.js +20 -9
- package/lib/avatar/index.d.ts +2 -2
- package/lib/avatar/style/index.d.ts +4 -3
- package/lib/avatar/style/index.js +126 -3
- package/lib/back-top/index.d.ts +0 -1
- package/lib/back-top/index.js +57 -65
- package/lib/back-top/style/index.d.ts +6 -2
- package/lib/back-top/style/index.js +89 -2
- package/lib/badge/Ribbon.js +17 -7
- package/lib/badge/ScrollNumber.js +2 -2
- package/lib/badge/SingleNumber.js +4 -4
- package/lib/badge/index.d.ts +3 -3
- package/lib/badge/index.js +26 -15
- package/lib/badge/style/index.d.ts +2 -2
- package/lib/badge/style/index.js +340 -2
- package/lib/breadcrumb/Breadcrumb.d.ts +3 -3
- package/lib/breadcrumb/Breadcrumb.js +15 -6
- package/lib/breadcrumb/BreadcrumbItem.d.ts +3 -3
- package/lib/breadcrumb/BreadcrumbItem.js +4 -4
- package/lib/breadcrumb/BreadcrumbSeparator.d.ts +3 -4
- package/lib/breadcrumb/BreadcrumbSeparator.js +1 -1
- package/lib/breadcrumb/index.d.ts +2 -2
- package/lib/breadcrumb/style/index.d.ts +2 -4
- package/lib/breadcrumb/style/index.js +87 -4
- package/lib/button/LoadingIcon.js +3 -3
- package/lib/button/button-group.js +11 -2
- package/lib/button/button.d.ts +2 -2
- package/lib/button/button.js +24 -16
- package/lib/button/index.d.ts +3 -3
- package/lib/button/style/group.d.ts +4 -0
- package/lib/button/style/group.js +63 -0
- package/lib/button/style/index.d.ts +10 -2
- package/lib/button/style/index.js +346 -2
- package/lib/calendar/Header.js +5 -5
- package/lib/calendar/generateCalendar.d.ts +1 -1
- package/lib/calendar/generateCalendar.js +19 -13
- package/lib/calendar/index.d.ts +4 -4
- package/lib/calendar/index.js +2 -2
- package/lib/calendar/style/index.d.ts +21 -5
- package/lib/calendar/style/index.js +162 -5
- package/lib/card/Card.js +23 -13
- package/lib/card/Grid.js +1 -1
- package/lib/card/Meta.js +5 -5
- package/lib/card/index.d.ts +3 -3
- package/lib/card/style/index.d.ts +4 -4
- package/lib/card/style/index.js +300 -4
- package/lib/carousel/index.js +14 -4
- package/lib/carousel/style/index.d.ts +7 -2
- package/lib/carousel/style/index.js +274 -2
- package/lib/cascader/index.d.ts +4 -4
- package/lib/cascader/index.js +36 -10
- package/lib/cascader/style/index.d.ts +7 -4
- package/lib/cascader/style/index.js +122 -4
- package/lib/checkbox/Checkbox.js +28 -19
- package/lib/checkbox/Group.js +13 -5
- package/lib/checkbox/index.d.ts +4 -4
- package/lib/checkbox/style/index.d.ts +11 -2
- package/lib/checkbox/style/index.js +192 -2
- package/lib/col/index.d.ts +2 -2
- package/lib/col/style/index.d.ts +2 -2
- package/lib/col/style/index.js +8 -2
- package/lib/collapse/Collapse.d.ts +3 -3
- package/lib/collapse/Collapse.js +18 -7
- package/lib/collapse/CollapsePanel.js +1 -1
- package/lib/collapse/index.d.ts +2 -2
- package/lib/collapse/style/index.d.ts +13 -2
- package/lib/collapse/style/index.js +170 -2
- package/lib/config-provider/context.d.ts +13 -1
- package/lib/config-provider/context.js +10 -6
- package/lib/config-provider/cssVariables.js +12 -12
- package/lib/config-provider/defaultRenderEmpty.js +1 -1
- package/lib/config-provider/hooks/useTheme.d.ts +2 -0
- package/lib/config-provider/hooks/useTheme.js +43 -0
- package/lib/config-provider/index.d.ts +8 -6
- package/lib/config-provider/index.js +70 -40
- package/lib/config-provider/style/index.d.ts +2 -1
- package/lib/config-provider/style/index.js +36 -1
- package/lib/date-picker/generatePicker/generateRangePicker.js +27 -13
- package/lib/date-picker/generatePicker/generateSinglePicker.d.ts +6 -30
- package/lib/date-picker/generatePicker/generateSinglePicker.js +25 -12
- package/lib/date-picker/generatePicker/index.d.ts +6 -8
- package/lib/date-picker/generatePicker/index.js +1 -4
- package/lib/date-picker/index.d.ts +22 -19
- package/lib/date-picker/index.js +9 -2
- package/lib/date-picker/style/index.d.ts +34 -3
- package/lib/date-picker/style/index.js +909 -3
- package/lib/descriptions/Cell.js +5 -5
- package/lib/descriptions/Row.js +8 -8
- package/lib/descriptions/index.d.ts +1 -1
- package/lib/descriptions/index.js +16 -8
- package/lib/descriptions/style/index.d.ts +2 -2
- package/lib/descriptions/style/index.js +166 -2
- package/lib/divider/index.js +15 -5
- package/lib/divider/style/index.d.ts +6 -2
- package/lib/divider/style/index.js +138 -2
- package/lib/drawer/DrawerPanel.d.ts +18 -0
- package/lib/drawer/DrawerPanel.js +80 -0
- package/lib/drawer/index.d.ts +14 -22
- package/lib/drawer/index.js +71 -81
- package/lib/drawer/style/index.d.ts +10 -2
- package/lib/drawer/style/index.js +179 -2
- package/lib/drawer/style/motion.d.ts +4 -0
- package/lib/drawer/style/motion.js +118 -0
- package/lib/dropdown/dropdown-button.d.ts +2 -3
- package/lib/dropdown/dropdown-button.js +18 -11
- package/lib/dropdown/dropdown.d.ts +5 -3
- package/lib/dropdown/dropdown.js +53 -21
- package/lib/dropdown/style/button.d.ts +4 -0
- package/lib/dropdown/style/button.js +31 -0
- package/lib/dropdown/style/index.d.ts +14 -5
- package/lib/dropdown/style/index.js +281 -5
- package/lib/dropdown/style/status.d.ts +4 -0
- package/lib/dropdown/style/status.js +28 -0
- package/lib/empty/empty.js +13 -19
- package/lib/empty/index.d.ts +3 -3
- package/lib/empty/index.js +19 -9
- package/lib/empty/simple.js +30 -9
- package/lib/empty/style/index.d.ts +5 -2
- package/lib/empty/style/index.js +65 -2
- package/lib/float-button/BackTop.d.ts +4 -0
- package/lib/float-button/BackTop.js +149 -0
- package/lib/float-button/FloatButton.d.ts +4 -0
- package/lib/float-button/FloatButton.js +116 -0
- package/lib/float-button/FloatButtonContent.d.ts +4 -0
- package/lib/float-button/FloatButtonContent.js +43 -0
- package/lib/float-button/FloatButtonGroup.d.ts +4 -0
- package/lib/float-button/FloatButtonGroup.js +129 -0
- package/lib/float-button/PurePanel.d.ts +12 -0
- package/lib/float-button/PurePanel.js +80 -0
- package/lib/float-button/context.d.ts +5 -0
- package/lib/float-button/context.js +17 -0
- package/lib/float-button/index.d.ts +2 -0
- package/lib/float-button/index.js +22 -0
- package/lib/float-button/interface.d.ts +49 -0
- package/lib/float-button/interface.js +5 -0
- package/lib/float-button/style/index.d.ts +6 -0
- package/lib/float-button/style/index.js +272 -0
- package/lib/form/ErrorList.js +20 -14
- package/lib/form/Form.d.ts +2 -2
- package/lib/form/Form.js +14 -6
- package/lib/form/FormItem/ItemHolder.js +5 -5
- package/lib/form/FormItem/index.d.ts +3 -3
- package/lib/form/FormItem/index.js +19 -7
- package/lib/form/FormItemInput.js +7 -7
- package/lib/form/FormItemLabel.js +7 -7
- package/lib/form/hooks/useFormItemStatus.js +4 -2
- package/lib/form/index.d.ts +9 -9
- package/lib/form/style/explain.d.ts +4 -0
- package/lib/form/style/explain.js +48 -0
- package/lib/form/style/index.d.ts +7 -4
- package/lib/form/style/index.js +329 -4
- package/lib/form/util.js +2 -2
- package/lib/grid/col.js +16 -6
- package/lib/grid/index.d.ts +2 -2
- package/lib/grid/row.js +11 -3
- package/lib/grid/style/index.d.ts +2 -2
- package/lib/grid/style/index.js +152 -2
- package/lib/image/PreviewGroup.js +17 -5
- package/lib/image/index.d.ts +1 -1
- package/lib/image/index.js +22 -7
- package/lib/image/style/index.d.ts +21 -2
- package/lib/image/style/index.js +258 -2
- package/lib/index.d.ts +6 -6
- package/lib/index.js +25 -35
- package/lib/input/ClearableLabeledInput.d.ts +1 -0
- package/lib/input/ClearableLabeledInput.js +5 -4
- package/lib/input/Group.js +14 -3
- package/lib/input/Input.js +17 -7
- package/lib/input/Password.js +2 -2
- package/lib/input/Search.js +2 -2
- package/lib/input/TextArea.js +16 -8
- package/lib/input/index.d.ts +7 -7
- package/lib/input/style/index.d.ts +29 -3
- package/lib/input/style/index.js +645 -3
- package/lib/input-number/index.d.ts +5 -3
- package/lib/input-number/index.js +38 -16
- package/lib/input-number/style/index.d.ts +9 -2
- package/lib/input-number/style/index.js +271 -2
- package/lib/layout/Sider.js +8 -8
- package/lib/layout/index.d.ts +5 -5
- package/lib/layout/layout.js +10 -3
- package/lib/layout/style/index.d.ts +16 -2
- package/lib/layout/style/index.js +182 -2
- package/lib/layout/style/light.d.ts +5 -0
- package/lib/layout/style/light.js +33 -0
- package/lib/list/Item.js +11 -11
- package/lib/list/index.d.ts +2 -2
- package/lib/list/index.js +20 -12
- package/lib/list/style/index.d.ts +5 -6
- package/lib/list/style/index.js +234 -6
- package/lib/locale/en_US.d.ts +3 -2
- package/lib/locale/en_US.js +141 -2
- package/lib/locale/ku_IQ.js +1 -1
- package/lib/locale/zh_CN.js +5 -0
- package/lib/locale/zh_HK.js +5 -0
- package/lib/locale/zh_TW.js +5 -0
- package/lib/locale-provider/LocaleReceiver.js +4 -4
- package/lib/locale-provider/index.d.ts +2 -0
- package/lib/mentions/index.d.ts +5 -2
- package/lib/mentions/index.js +24 -13
- package/lib/mentions/style/index.d.ts +7 -3
- package/lib/mentions/style/index.js +181 -3
- package/lib/menu/MenuContext.d.ts +3 -1
- package/lib/menu/MenuDivider.js +1 -1
- package/lib/menu/MenuItem.js +5 -5
- package/lib/menu/OverrideContext.d.ts +1 -1
- package/lib/menu/SubMenu.js +12 -8
- package/lib/menu/hooks/useItems.js +1 -1
- package/lib/menu/index.d.ts +19 -22
- package/lib/menu/index.js +16 -191
- package/lib/menu/menu.d.ts +19 -0
- package/lib/menu/menu.js +181 -0
- package/lib/menu/style/horizontal.d.ts +4 -0
- package/lib/menu/style/horizontal.js +48 -0
- package/lib/menu/style/index.d.ts +41 -3
- package/lib/menu/style/index.js +351 -3
- package/lib/menu/style/rtl.d.ts +4 -0
- package/lib/menu/style/rtl.js +32 -0
- package/lib/menu/style/theme.d.ts +4 -0
- package/lib/menu/style/theme.js +159 -0
- package/lib/menu/style/vertical.d.ts +4 -0
- package/lib/menu/style/vertical.js +143 -0
- package/lib/message/PurePanel.d.ts +22 -0
- package/lib/message/PurePanel.js +100 -0
- package/lib/message/index.d.ts +20 -59
- package/lib/message/index.js +272 -219
- package/lib/message/interface.d.ts +37 -0
- package/lib/message/interface.js +5 -0
- package/lib/message/style/index.d.ts +7 -2
- package/lib/message/style/index.js +133 -2
- package/lib/message/useMessage.d.ts +8 -0
- package/lib/message/useMessage.js +257 -0
- package/lib/message/util.d.ts +4 -0
- package/lib/message/util.js +35 -0
- package/lib/modal/ConfirmDialog.d.ts +12 -3
- package/lib/modal/ConfirmDialog.js +96 -41
- package/lib/modal/Modal.d.ts +4 -10
- package/lib/modal/Modal.js +34 -45
- package/lib/modal/PurePanel.d.ts +13 -0
- package/lib/modal/PurePanel.js +136 -0
- package/lib/modal/confirm.js +8 -30
- package/lib/modal/index.d.ts +4 -1
- package/lib/modal/index.js +3 -0
- package/lib/modal/locale.js +3 -3
- package/lib/modal/style/index.d.ts +32 -3
- package/lib/modal/style/index.js +309 -3
- package/lib/modal/useModal/HookModal.js +2 -2
- package/lib/modal/useModal/index.js +1 -1
- package/lib/notification/PurePanel.d.ts +25 -0
- package/lib/notification/PurePanel.js +152 -0
- package/lib/notification/index.d.ts +17 -54
- package/lib/notification/index.js +214 -318
- package/lib/notification/interface.d.ts +51 -0
- package/lib/notification/interface.js +5 -0
- package/lib/notification/style/index.d.ts +19 -2
- package/lib/notification/style/index.js +205 -2
- package/lib/notification/style/placement.d.ts +5 -0
- package/lib/notification/style/placement.js +71 -0
- package/lib/notification/useNotification.d.ts +8 -0
- package/lib/notification/useNotification.js +191 -0
- package/lib/notification/util.d.ts +5 -0
- package/lib/notification/util.js +73 -0
- package/lib/pagination/Pagination.d.ts +2 -2
- package/lib/pagination/Pagination.js +23 -13
- package/lib/pagination/Select.d.ts +4 -4
- package/lib/pagination/index.d.ts +1 -1
- package/lib/pagination/style/index.d.ts +2 -3
- package/lib/pagination/style/index.js +455 -3
- package/lib/popconfirm/PurePanel.d.ts +6 -0
- package/lib/popconfirm/PurePanel.js +61 -10
- package/lib/popconfirm/index.d.ts +4 -6
- package/lib/popconfirm/index.js +23 -14
- package/lib/popconfirm/style/index.d.ts +8 -4
- package/lib/popconfirm/style/index.js +60 -4
- package/lib/popover/PurePanel.d.ts +8 -0
- package/lib/popover/PurePanel.js +91 -0
- package/lib/popover/index.d.ts +4 -1
- package/lib/popover/index.js +25 -6
- package/lib/popover/style/index.d.ts +12 -2
- package/lib/popover/style/index.js +139 -2
- package/lib/progress/Circle.d.ts +1 -1
- package/lib/progress/Circle.js +31 -43
- package/lib/progress/Line.d.ts +1 -3
- package/lib/progress/Line.js +13 -14
- package/lib/progress/Steps.js +2 -2
- package/lib/progress/index.d.ts +1 -1
- package/lib/progress/progress.js +31 -27
- package/lib/progress/style/index.d.ts +4 -2
- package/lib/progress/style/index.js +193 -2
- package/lib/progress/utils.d.ts +6 -8
- package/lib/progress/utils.js +27 -1
- package/lib/radio/group.js +13 -5
- package/lib/radio/index.d.ts +2 -2
- package/lib/radio/interface.d.ts +2 -1
- package/lib/radio/radio.js +25 -16
- package/lib/radio/style/index.d.ts +4 -2
- package/lib/radio/style/index.js +425 -2
- package/lib/rate/index.js +16 -3
- package/lib/rate/style/index.d.ts +3 -3
- package/lib/rate/style/index.js +103 -3
- package/lib/result/index.d.ts +4 -4
- package/lib/result/index.js +22 -12
- package/lib/result/style/index.d.ts +6 -2
- package/lib/result/style/index.js +116 -2
- package/lib/row/index.d.ts +2 -2
- package/lib/row/style/index.d.ts +2 -2
- package/lib/row/style/index.js +8 -2
- package/lib/segmented/index.d.ts +1 -1
- package/lib/segmented/index.js +15 -5
- package/lib/segmented/style/index.d.ts +4 -2
- package/lib/segmented/style/index.js +151 -2
- package/lib/select/index.d.ts +7 -8
- package/lib/select/index.js +31 -11
- package/lib/select/style/dropdown.d.ts +4 -0
- package/lib/select/style/dropdown.js +108 -0
- package/lib/select/style/index.d.ts +10 -3
- package/lib/select/style/index.js +224 -3
- package/lib/select/style/multiple.d.ts +3 -0
- package/lib/select/style/multiple.js +184 -0
- package/lib/select/style/single.d.ts +3 -0
- package/lib/select/style/single.js +122 -0
- package/lib/select/utils/iconUtil.js +1 -1
- package/lib/skeleton/Avatar.js +14 -4
- package/lib/skeleton/Button.js +14 -4
- package/lib/skeleton/Element.js +3 -3
- package/lib/skeleton/Image.js +16 -6
- package/lib/skeleton/Input.js +14 -4
- package/lib/skeleton/Node.js +14 -4
- package/lib/skeleton/Skeleton.d.ts +3 -4
- package/lib/skeleton/Skeleton.js +17 -8
- package/lib/skeleton/index.d.ts +1 -1
- package/lib/skeleton/style/index.d.ts +6 -2
- package/lib/skeleton/style/index.js +281 -2
- package/lib/slider/index.d.ts +13 -24
- package/lib/slider/index.js +48 -29
- package/lib/slider/style/index.d.ts +11 -3
- package/lib/slider/style/index.js +219 -3
- package/lib/space/Compact.js +15 -5
- package/lib/space/Item.js +1 -1
- package/lib/space/index.d.ts +2 -2
- package/lib/space/index.js +13 -5
- package/lib/space/style/compact.d.ts +8 -0
- package/lib/space/style/compact.js +28 -0
- package/lib/space/style/index.d.ts +5 -2
- package/lib/space/style/index.js +50 -2
- package/lib/spin/index.d.ts +1 -0
- package/lib/spin/index.js +23 -13
- package/lib/spin/style/index.d.ts +5 -2
- package/lib/spin/style/index.js +188 -2
- package/lib/statistic/Countdown.d.ts +1 -1
- package/lib/statistic/Number.js +5 -9
- package/lib/statistic/Statistic.d.ts +3 -3
- package/lib/statistic/Statistic.js +19 -9
- package/lib/statistic/index.d.ts +2 -2
- package/lib/statistic/style/index.d.ts +2 -3
- package/lib/statistic/style/index.js +60 -3
- package/lib/statistic/utils.js +3 -5
- package/lib/steps/index.d.ts +4 -4
- package/lib/steps/index.js +31 -10
- package/lib/steps/style/custom-icon.d.ts +5 -0
- package/lib/steps/style/custom-icon.js +36 -0
- package/lib/steps/style/index.d.ts +53 -3
- package/lib/steps/style/index.js +285 -3
- package/lib/steps/style/inline.d.ts +5 -0
- package/lib/steps/style/inline.js +102 -0
- package/lib/steps/style/label-placement.d.ts +5 -0
- package/lib/steps/style/label-placement.js +56 -0
- package/lib/steps/style/nav.d.ts +5 -0
- package/lib/steps/style/nav.js +116 -0
- package/lib/steps/style/progress-dot.d.ts +5 -0
- package/lib/steps/style/progress-dot.js +109 -0
- package/lib/steps/style/progress.d.ts +5 -0
- package/lib/steps/style/progress.js +43 -0
- package/lib/steps/style/rtl.d.ts +5 -0
- package/lib/steps/style/rtl.js +36 -0
- package/lib/steps/style/small.d.ts +5 -0
- package/lib/steps/style/small.js +63 -0
- package/lib/steps/style/vertical.d.ts +5 -0
- package/lib/steps/style/vertical.js +65 -0
- package/lib/style/compact-item-vertical.d.ts +3 -0
- package/lib/style/compact-item-vertical.js +51 -0
- package/lib/style/compact-item.d.ts +10 -0
- package/lib/style/compact-item.js +58 -0
- package/lib/style/index.d.ts +12 -2
- package/lib/style/index.js +172 -2
- package/lib/style/motion/collapse.d.ts +4 -0
- package/lib/style/motion/collapse.js +27 -0
- package/lib/style/motion/fade.d.ts +7 -0
- package/lib/style/motion/fade.js +50 -0
- package/lib/style/motion/index.d.ts +6 -0
- package/lib/style/motion/index.js +227 -0
- package/lib/style/motion/motion.d.ts +2 -0
- package/lib/style/motion/motion.js +48 -0
- package/lib/style/motion/move.d.ts +15 -0
- package/lib/style/motion/move.js +155 -0
- package/lib/style/motion/slide.d.ts +15 -0
- package/lib/style/motion/slide.js +155 -0
- package/lib/style/motion/zoom.d.ts +19 -0
- package/lib/style/motion/zoom.js +205 -0
- package/lib/style/operationUnit.d.ts +3 -0
- package/lib/style/operationUnit.js +26 -0
- package/lib/style/placementArrow.d.ts +19 -0
- package/lib/style/placementArrow.js +161 -0
- package/lib/style/reset.css +253 -0
- package/lib/style/roundedArrow.d.ts +2 -0
- package/lib/style/roundedArrow.js +61 -0
- package/lib/switch/index.d.ts +1 -2
- package/lib/switch/index.js +16 -6
- package/lib/switch/style/index.d.ts +2 -2
- package/lib/switch/style/index.js +215 -2
- package/lib/table/ExpandIcon.js +2 -2
- package/lib/table/Table.d.ts +5 -6
- package/lib/table/Table.js +23 -18
- package/lib/table/hooks/useFilter/FilterDropdown.js +40 -34
- package/lib/table/hooks/useFilter/FilterSearch.js +2 -2
- package/lib/table/hooks/useFilter/index.js +16 -4
- package/lib/table/hooks/useSelection.js +4 -4
- package/lib/table/hooks/useSorter.js +9 -9
- package/lib/table/index.d.ts +4 -4
- package/lib/table/interface.d.ts +5 -11
- package/lib/table/style/bordered.d.ts +5 -0
- package/lib/table/style/bordered.js +78 -0
- package/lib/table/style/ellipsis.d.ts +5 -0
- package/lib/table/style/ellipsis.js +36 -0
- package/lib/table/style/empty.d.ts +5 -0
- package/lib/table/style/empty.js +25 -0
- package/lib/table/style/expand.d.ts +5 -0
- package/lib/table/style/expand.js +121 -0
- package/lib/table/style/filter.d.ts +4 -0
- package/lib/table/style/filter.js +134 -0
- package/lib/table/style/fixed.d.ts +5 -0
- package/lib/table/style/fixed.js +92 -0
- package/lib/table/style/index.d.ts +48 -12
- package/lib/table/style/index.js +229 -12
- package/lib/table/style/pagination.d.ts +5 -0
- package/lib/table/style/pagination.js +39 -0
- package/lib/table/style/radius.d.ts +5 -0
- package/lib/table/style/radius.js +50 -0
- package/lib/table/style/rtl.d.ts +5 -0
- package/lib/table/style/rtl.js +39 -0
- package/lib/table/style/selection.d.ts +5 -0
- package/lib/table/style/selection.js +59 -0
- package/lib/table/style/size.d.ts +5 -0
- package/lib/table/style/size.js +40 -0
- package/lib/table/style/sorter.d.ts +5 -0
- package/lib/table/style/sorter.js +82 -0
- package/lib/table/style/sticky.d.ts +5 -0
- package/lib/table/style/sticky.js +57 -0
- package/lib/table/style/summary.d.ts +5 -0
- package/lib/table/style/summary.js +34 -0
- package/lib/table/util.js +1 -1
- package/lib/tabs/index.d.ts +3 -3
- package/lib/tabs/index.js +17 -5
- package/lib/tabs/style/index.d.ts +20 -2
- package/lib/tabs/style/index.js +614 -2
- package/lib/tabs/style/motion.d.ts +4 -0
- package/lib/tabs/style/motion.js +45 -0
- package/lib/tag/CheckableTag.js +14 -4
- package/lib/tag/index.d.ts +1 -1
- package/lib/tag/index.js +18 -15
- package/lib/tag/style/index.d.ts +4 -2
- package/lib/tag/style/index.js +139 -2
- package/lib/theme/index.d.ts +21 -0
- package/lib/theme/index.js +52 -0
- package/lib/theme/interface/alias.d.ts +133 -0
- package/lib/theme/interface/alias.js +5 -0
- package/lib/theme/interface/components.d.ts +110 -0
- package/lib/theme/interface/components.js +5 -0
- package/lib/theme/interface/index.d.ts +13 -0
- package/lib/theme/interface/index.js +13 -0
- package/lib/theme/interface/maps/colors.d.ts +342 -0
- package/lib/theme/interface/maps/colors.js +5 -0
- package/lib/theme/interface/maps/index.d.ts +15 -0
- package/lib/theme/interface/maps/index.js +44 -0
- package/lib/theme/interface/maps/size.d.ts +49 -0
- package/lib/theme/interface/maps/size.js +5 -0
- package/lib/theme/interface/maps/style.d.ts +33 -0
- package/lib/theme/interface/maps/style.js +5 -0
- package/lib/theme/interface/presetColors.d.ts +8 -0
- package/lib/theme/interface/presetColors.js +8 -0
- package/lib/theme/interface/seeds.d.ts +139 -0
- package/lib/theme/interface/seeds.js +5 -0
- package/lib/theme/internal.d.ts +23 -0
- package/lib/theme/internal.js +108 -0
- package/lib/theme/themes/ColorMap.d.ts +15 -0
- package/lib/theme/themes/ColorMap.js +5 -0
- package/lib/theme/themes/compact/genCompactSizeMapToken.d.ts +2 -0
- package/lib/theme/themes/compact/genCompactSizeMapToken.js +23 -0
- package/lib/theme/themes/compact/index.d.ts +4 -0
- package/lib/theme/themes/compact/index.js +42 -0
- package/lib/theme/themes/dark/colorAlgorithm.d.ts +2 -0
- package/lib/theme/themes/dark/colorAlgorithm.js +21 -0
- package/lib/theme/themes/dark/colors.d.ts +3 -0
- package/lib/theme/themes/dark/colors.js +58 -0
- package/lib/theme/themes/dark/index.d.ts +4 -0
- package/lib/theme/themes/dark/index.js +43 -0
- package/lib/theme/themes/default/colorAlgorithm.d.ts +2 -0
- package/lib/theme/themes/default/colorAlgorithm.js +21 -0
- package/lib/theme/themes/default/colors.d.ts +3 -0
- package/lib/theme/themes/default/colors.js +56 -0
- package/lib/theme/themes/default/index.d.ts +2 -0
- package/lib/theme/themes/default/index.js +41 -0
- package/lib/theme/themes/seed.d.ts +4 -0
- package/lib/theme/themes/seed.js +71 -0
- package/lib/theme/themes/shared/genColorMapToken.d.ts +8 -0
- package/lib/theme/themes/shared/genColorMapToken.js +84 -0
- package/lib/theme/themes/shared/genCommonMapToken.d.ts +2 -0
- package/lib/theme/themes/shared/genCommonMapToken.js +38 -0
- package/lib/theme/themes/shared/genControlHeight.d.ts +3 -0
- package/lib/theme/themes/shared/genControlHeight.js +18 -0
- package/lib/theme/themes/shared/genFontSizes.d.ts +4 -0
- package/lib/theme/themes/shared/genFontSizes.js +24 -0
- package/lib/theme/themes/shared/genRadius.d.ts +3 -0
- package/lib/theme/themes/shared/genRadius.js +59 -0
- package/lib/theme/themes/shared/genSizeMapToken.d.ts +2 -0
- package/lib/theme/themes/shared/genSizeMapToken.js +23 -0
- package/lib/theme/util/alias.d.ts +12 -0
- package/lib/theme/util/alias.js +177 -0
- package/lib/theme/util/genComponentStyleHook.d.ts +25 -0
- package/lib/theme/util/genComponentStyleHook.js +79 -0
- package/lib/theme/util/getAlphaColor.d.ts +2 -0
- package/lib/theme/util/getAlphaColor.js +54 -0
- package/lib/theme/util/statistic.d.ts +18 -0
- package/lib/theme/util/statistic.js +97 -0
- package/lib/time-picker/index.d.ts +6 -14
- package/lib/time-picker/index.js +11 -11
- package/lib/timeline/Timeline.d.ts +3 -3
- package/lib/timeline/Timeline.js +22 -12
- package/lib/timeline/TimelineItem.js +5 -5
- package/lib/timeline/index.d.ts +2 -2
- package/lib/timeline/style/index.d.ts +4 -2
- package/lib/timeline/style/index.js +156 -2
- package/lib/tooltip/PurePanel.d.ts +5 -0
- package/lib/tooltip/PurePanel.js +60 -0
- package/lib/tooltip/index.d.ts +14 -23
- package/lib/tooltip/index.js +49 -43
- package/lib/tooltip/style/index.d.ts +7 -2
- package/lib/tooltip/style/index.js +132 -2
- package/lib/tooltip/util.d.ts +6 -0
- package/lib/tooltip/util.js +36 -0
- package/lib/tour/PurePanel.d.ts +6 -0
- package/lib/tour/PurePanel.js +75 -0
- package/lib/tour/index.d.ts +7 -0
- package/lib/tour/index.js +86 -0
- package/lib/tour/interface.d.ts +28 -0
- package/lib/tour/interface.js +5 -0
- package/lib/tour/panelRender.d.ts +4 -0
- package/lib/tour/panelRender.js +132 -0
- package/lib/tour/style/index.d.ts +4 -0
- package/lib/tour/style/index.js +189 -0
- package/lib/transfer/ListBody.js +2 -2
- package/lib/transfer/ListItem.js +6 -6
- package/lib/transfer/index.d.ts +3 -3
- package/lib/transfer/index.js +26 -7
- package/lib/transfer/list.js +13 -13
- package/lib/transfer/style/index.d.ts +7 -8
- package/lib/transfer/style/index.js +276 -8
- package/lib/tree/DirectoryTree.js +1 -1
- package/lib/tree/Tree.js +19 -8
- package/lib/tree/index.d.ts +4 -4
- package/lib/tree/style/index.d.ts +13 -2
- package/lib/tree/style/index.js +353 -2
- package/lib/tree/utils/dropIndicator.js +1 -1
- package/lib/tree/utils/iconUtil.js +7 -7
- package/lib/tree-select/index.d.ts +7 -8
- package/lib/tree-select/index.js +37 -10
- package/lib/tree-select/style/index.d.ts +1 -4
- package/lib/tree-select/style/index.js +53 -4
- package/lib/typography/Base/index.js +4 -4
- package/lib/typography/Editable.d.ts +1 -1
- package/lib/typography/Editable.js +13 -5
- package/lib/typography/Title.js +1 -1
- package/lib/typography/Typography.js +19 -10
- package/lib/typography/style/index.d.ts +9 -4
- package/lib/typography/style/index.js +70 -4
- package/lib/typography/style/mixins.d.ts +9 -0
- package/lib/typography/style/mixins.js +236 -0
- package/lib/upload/Upload.js +28 -19
- package/lib/upload/UploadList/ListItem.js +17 -35
- package/lib/upload/UploadList/index.js +14 -12
- package/lib/upload/index.d.ts +5 -5
- package/lib/upload/interface.d.ts +1 -0
- package/lib/upload/style/dragger.d.ts +4 -0
- package/lib/upload/style/dragger.js +59 -0
- package/lib/upload/style/index.d.ts +10 -5
- package/lib/upload/style/index.js +58 -5
- package/lib/upload/style/list.d.ts +4 -0
- package/lib/upload/style/list.js +101 -0
- package/lib/upload/style/motion.d.ts +4 -0
- package/lib/upload/style/motion.js +50 -0
- package/lib/upload/style/picture.d.ts +5 -0
- package/lib/upload/style/picture.js +173 -0
- package/lib/upload/style/rtl.d.ts +4 -0
- package/lib/upload/style/rtl.js +21 -0
- package/lib/upload/utils.js +1 -1
- package/lib/version/token-meta.json +1 -0
- package/lib/version/token.json +1 -0
- package/lib/version/version.d.ts +1 -1
- package/lib/version/version.js +1 -1
- package/package.json +27 -49
- package/dist/fui.min.css +0 -2
- package/dist/fui.min.js +0 -1
- package/es/_util/wave.d.ts +0 -32
- package/es/_util/wave.js +0 -247
- package/es/affix/style/css.js +0 -2
- package/es/affix/style/index-pure.less +0 -6
- package/es/affix/style/index.css +0 -8
- package/es/affix/style/index.less +0 -3
- package/es/alert/style/css.js +0 -2
- package/es/alert/style/index-pure.less +0 -155
- package/es/alert/style/index.css +0 -156
- package/es/alert/style/index.less +0 -3
- package/es/alert/style/rtl.less +0 -40
- package/es/anchor/style/css.js +0 -4
- package/es/anchor/style/index-pure.less +0 -86
- package/es/anchor/style/index.css +0 -100
- package/es/anchor/style/index.less +0 -3
- package/es/anchor/style/rtl.less +0 -35
- package/es/auto-complete/style/css.js +0 -4
- package/es/auto-complete/style/index-pure.less +0 -16
- package/es/auto-complete/style/index.css +0 -18
- package/es/auto-complete/style/index.d.ts +0 -3
- package/es/auto-complete/style/index.js +0 -4
- package/es/auto-complete/style/index.less +0 -3
- package/es/avatar/style/css.js +0 -5
- package/es/avatar/style/group.less +0 -17
- package/es/avatar/style/index-pure.less +0 -70
- package/es/avatar/style/index.css +0 -108
- package/es/avatar/style/index.less +0 -3
- package/es/avatar/style/rtl.less +0 -15
- package/es/back-top/style/css.js +0 -2
- package/es/back-top/style/index-pure.less +0 -49
- package/es/back-top/style/index.css +0 -66
- package/es/back-top/style/index.less +0 -3
- package/es/back-top/style/responsive.less +0 -21
- package/es/badge/style/css.js +0 -2
- package/es/badge/style/index-pure.less +0 -281
- package/es/badge/style/index.css +0 -460
- package/es/badge/style/index.less +0 -3
- package/es/badge/style/ribbon.less +0 -81
- package/es/badge/style/rtl.less +0 -100
- package/es/breadcrumb/style/css.js +0 -5
- package/es/breadcrumb/style/index-pure.less +0 -64
- package/es/breadcrumb/style/index.css +0 -77
- package/es/breadcrumb/style/index.less +0 -3
- package/es/breadcrumb/style/rtl.less +0 -29
- package/es/button/style/css.js +0 -2
- package/es/button/style/index-pure.less +0 -293
- package/es/button/style/index.css +0 -1987
- package/es/button/style/index.less +0 -3
- package/es/button/style/mixin.less +0 -589
- package/es/button/style/rtl.less +0 -90
- package/es/button/style/space-compact.less +0 -88
- package/es/calendar/style/css.js +0 -7
- package/es/calendar/style/index-pure.less +0 -196
- package/es/calendar/style/index.css +0 -175
- package/es/calendar/style/index.less +0 -3
- package/es/calendar/style/rtl.less +0 -46
- package/es/card/style/css.js +0 -5
- package/es/card/style/index-pure.less +0 -276
- package/es/card/style/index.css +0 -275
- package/es/card/style/index.less +0 -3
- package/es/card/style/size.less +0 -20
- package/es/carousel/style/css.js +0 -2
- package/es/carousel/style/index-pure.less +0 -304
- package/es/carousel/style/index.css +0 -286
- package/es/carousel/style/index.less +0 -3
- package/es/carousel/style/rtl.less +0 -54
- package/es/cascader/style/css.js +0 -5
- package/es/cascader/style/index-pure.less +0 -108
- package/es/cascader/style/index.css +0 -332
- package/es/cascader/style/index.less +0 -3
- package/es/cascader/style/rtl.less +0 -19
- package/es/checkbox/style/css.js +0 -2
- package/es/checkbox/style/index-pure.less +0 -6
- package/es/checkbox/style/index.css +0 -225
- package/es/checkbox/style/index.less +0 -3
- package/es/checkbox/style/mixin.less +0 -241
- package/es/checkbox/style/rtl.less +0 -28
- package/es/col/style/css.js +0 -4
- package/es/collapse/style/css.js +0 -2
- package/es/collapse/style/index-pure.less +0 -174
- package/es/collapse/style/index.css +0 -174
- package/es/collapse/style/index.less +0 -3
- package/es/collapse/style/rtl.less +0 -68
- package/es/comment/index.d.ts +0 -23
- package/es/comment/index.js +0 -77
- package/es/comment/style/css.js +0 -2
- package/es/comment/style/index-pure.less +0 -105
- package/es/comment/style/index.css +0 -112
- package/es/comment/style/index.d.ts +0 -2
- package/es/comment/style/index.js +0 -2
- package/es/comment/style/index.less +0 -3
- package/es/comment/style/rtl.less +0 -51
- package/es/config-provider/style/css.js +0 -1
- package/es/config-provider/style/index-pure.less +0 -2
- package/es/config-provider/style/index.css +0 -4
- package/es/config-provider/style/index.less +0 -3
- package/es/date-picker/PickerTag.d.ts +0 -3
- package/es/date-picker/PickerTag.js +0 -8
- package/es/date-picker/style/css.js +0 -4
- package/es/date-picker/style/index-pure.less +0 -366
- package/es/date-picker/style/index.css +0 -1099
- package/es/date-picker/style/index.less +0 -3
- package/es/date-picker/style/panel.less +0 -677
- package/es/date-picker/style/rtl.less +0 -246
- package/es/date-picker/style/status.less +0 -38
- package/es/descriptions/style/css.js +0 -2
- package/es/descriptions/style/index-pure.less +0 -179
- package/es/descriptions/style/index.css +0 -139
- package/es/descriptions/style/index.less +0 -3
- package/es/descriptions/style/rtl.less +0 -33
- package/es/divider/style/css.js +0 -2
- package/es/divider/style/index-pure.less +0 -137
- package/es/divider/style/index.css +0 -126
- package/es/divider/style/index.less +0 -3
- package/es/divider/style/rtl.less +0 -38
- package/es/drawer/style/css.js +0 -3
- package/es/drawer/style/drawer.less +0 -160
- package/es/drawer/style/index-pure.less +0 -7
- package/es/drawer/style/index.css +0 -265
- package/es/drawer/style/index.less +0 -3
- package/es/drawer/style/motion.less +0 -146
- package/es/drawer/style/rtl.less +0 -16
- package/es/dropdown/style/css.js +0 -6
- package/es/dropdown/style/index-pure.less +0 -389
- package/es/dropdown/style/index.css +0 -400
- package/es/dropdown/style/index.less +0 -3
- package/es/dropdown/style/rtl.less +0 -90
- package/es/dropdown/style/status.less +0 -14
- package/es/empty/style/css.js +0 -2
- package/es/empty/style/index-pure.less +0 -151
- package/es/empty/style/index.css +0 -72
- package/es/empty/style/index.less +0 -3
- package/es/empty/style/rtl.less +0 -10
- package/es/form/style/components.less +0 -16
- package/es/form/style/css.js +0 -5
- package/es/form/style/horizontal.less +0 -22
- package/es/form/style/index-pure.less +0 -332
- package/es/form/style/index.css +0 -572
- package/es/form/style/index.less +0 -3
- package/es/form/style/inline.less +0 -38
- package/es/form/style/mixin.less +0 -78
- package/es/form/style/rtl.less +0 -204
- package/es/form/style/status.less +0 -42
- package/es/form/style/vertical.less +0 -93
- package/es/grid/style/css.js +0 -2
- package/es/grid/style/index-pure.less +0 -124
- package/es/grid/style/index.css +0 -5185
- package/es/grid/style/index.less +0 -3
- package/es/grid/style/mixin.less +0 -56
- package/es/grid/style/rtl.less +0 -69
- package/es/icon/style/css.js +0 -2
- package/es/icon/style/index-pure.less +0 -4
- package/es/icon/style/index.css +0 -4
- package/es/icon/style/index.d.ts +0 -2
- package/es/icon/style/index.js +0 -2
- package/es/icon/style/index.less +0 -3
- package/es/image/style/css.js +0 -2
- package/es/image/style/index-pure.less +0 -203
- package/es/image/style/index.css +0 -232
- package/es/image/style/index.less +0 -3
- package/es/input/style/IE11.less +0 -20
- package/es/input/style/affix.less +0 -78
- package/es/input/style/allow-clear.less +0 -43
- package/es/input/style/css.js +0 -5
- package/es/input/style/index-pure.less +0 -88
- package/es/input/style/index.css +0 -929
- package/es/input/style/index.less +0 -3
- package/es/input/style/mixin.less +0 -470
- package/es/input/style/rtl.less +0 -210
- package/es/input/style/search-input.less +0 -117
- package/es/input/style/status.less +0 -42
- package/es/input-number/style/affix.less +0 -83
- package/es/input-number/style/css.js +0 -2
- package/es/input-number/style/index-pure.less +0 -243
- package/es/input-number/style/index.css +0 -915
- package/es/input-number/style/index.less +0 -3
- package/es/input-number/style/rtl.less +0 -71
- package/es/input-number/style/status.less +0 -29
- package/es/layout/style/css.js +0 -2
- package/es/layout/style/index-pure.less +0 -145
- package/es/layout/style/index.css +0 -128
- package/es/layout/style/index.less +0 -3
- package/es/layout/style/light.less +0 -11
- package/es/layout/style/rtl.less +0 -10
- package/es/list/style/bordered.less +0 -44
- package/es/list/style/css.js +0 -7
- package/es/list/style/customize.less +0 -13
- package/es/list/style/index-pure.less +0 -249
- package/es/list/style/index.css +0 -317
- package/es/list/style/index.less +0 -3
- package/es/list/style/responsive.less +0 -43
- package/es/list/style/rtl.less +0 -139
- package/es/locale/default.d.ts +0 -3
- package/es/locale/default.js +0 -132
- package/es/locale-provider/default.d.ts +0 -2
- package/es/locale-provider/default.js +0 -2
- package/es/locale-provider/style/css.js +0 -1
- package/es/locale-provider/style/index-pure.less +0 -2
- package/es/locale-provider/style/index.css +0 -4
- package/es/locale-provider/style/index.d.ts +0 -1
- package/es/locale-provider/style/index.js +0 -1
- package/es/locale-provider/style/index.less +0 -3
- package/es/mentions/style/css.js +0 -4
- package/es/mentions/style/index-pure.less +0 -179
- package/es/mentions/style/index.css +0 -322
- package/es/mentions/style/index.less +0 -3
- package/es/mentions/style/rtl.less +0 -10
- package/es/mentions/style/status.less +0 -16
- package/es/menu/style/css.js +0 -5
- package/es/menu/style/dark.less +0 -177
- package/es/menu/style/index-pure.less +0 -700
- package/es/menu/style/index.css +0 -919
- package/es/menu/style/index.less +0 -3
- package/es/menu/style/light.less +0 -12
- package/es/menu/style/rtl.less +0 -165
- package/es/menu/style/status.less +0 -49
- package/es/message/hooks/useMessage.d.ts +0 -7
- package/es/message/hooks/useMessage.js +0 -84
- package/es/message/style/css.js +0 -2
- package/es/message/style/index-pure.less +0 -74
- package/es/message/style/index.css +0 -78
- package/es/message/style/index.less +0 -3
- package/es/message/style/rtl.less +0 -17
- package/es/modal/style/confirm.less +0 -79
- package/es/modal/style/css.js +0 -5
- package/es/modal/style/index-pure.less +0 -7
- package/es/modal/style/index.css +0 -255
- package/es/modal/style/index.less +0 -3
- package/es/modal/style/modal.less +0 -136
- package/es/modal/style/rtl.less +0 -74
- package/es/notification/hooks/useNotification.d.ts +0 -7
- package/es/notification/hooks/useNotification.js +0 -55
- package/es/notification/style/css.js +0 -2
- package/es/notification/style/index-pure.less +0 -207
- package/es/notification/style/index.css +0 -246
- package/es/notification/style/index.less +0 -3
- package/es/notification/style/placement.less +0 -68
- package/es/notification/style/rtl.less +0 -53
- package/es/page-header/index.d.ts +0 -24
- package/es/page-header/index.js +0 -165
- package/es/page-header/style/css.js +0 -5
- package/es/page-header/style/index-pure.less +0 -122
- package/es/page-header/style/index.css +0 -151
- package/es/page-header/style/index.d.ts +0 -4
- package/es/page-header/style/index.js +0 -5
- package/es/page-header/style/index.less +0 -3
- package/es/page-header/style/rtl.less +0 -77
- package/es/pagination/style/css.js +0 -5
- package/es/pagination/style/index-pure.less +0 -472
- package/es/pagination/style/index.css +0 -553
- package/es/pagination/style/index.less +0 -3
- package/es/pagination/style/rtl.less +0 -55
- package/es/popconfirm/style/css.js +0 -6
- package/es/popconfirm/style/index-pure.less +0 -8
- package/es/popconfirm/style/index.css +0 -7
- package/es/popconfirm/style/index.less +0 -3
- package/es/popover/style/css.js +0 -3
- package/es/popover/style/index-pure.less +0 -261
- package/es/popover/style/index.css +0 -329
- package/es/popover/style/index.less +0 -3
- package/es/popover/style/rtl.less +0 -39
- package/es/progress/style/css.js +0 -2
- package/es/progress/style/index-pure.less +0 -210
- package/es/progress/style/index.css +0 -190
- package/es/progress/style/index.less +0 -3
- package/es/progress/style/rtl.less +0 -37
- package/es/radio/style/css.js +0 -2
- package/es/radio/style/index-pure.less +0 -371
- package/es/radio/style/index.css +0 -349
- package/es/radio/style/index.less +0 -3
- package/es/radio/style/rtl.less +0 -61
- package/es/rate/style/css.js +0 -4
- package/es/rate/style/index-pure.less +0 -91
- package/es/rate/style/index.css +0 -94
- package/es/rate/style/index.less +0 -3
- package/es/rate/style/rtl.less +0 -21
- package/es/result/style/css.js +0 -2
- package/es/result/style/index-pure.less +0 -75
- package/es/result/style/index.css +0 -68
- package/es/result/style/index.less +0 -3
- package/es/result/style/rtl.less +0 -25
- package/es/row/style/css.js +0 -4
- package/es/segmented/style/css.js +0 -2
- package/es/segmented/style/index-pure.less +0 -122
- package/es/segmented/style/index.css +0 -132
- package/es/segmented/style/index.less +0 -3
- package/es/segmented/style/mixins.less +0 -24
- package/es/segmented/style/rtl.less +0 -15
- package/es/select/style/css.js +0 -4
- package/es/select/style/index-pure.less +0 -333
- package/es/select/style/index.css +0 -740
- package/es/select/style/index.less +0 -3
- package/es/select/style/multiple.less +0 -222
- package/es/select/style/rtl.less +0 -168
- package/es/select/style/single.less +0 -172
- package/es/select/style/status.less +0 -49
- package/es/skeleton/style/css.js +0 -2
- package/es/skeleton/style/index-pure.less +0 -290
- package/es/skeleton/style/index.css +0 -282
- package/es/skeleton/style/index.less +0 -3
- package/es/skeleton/style/rtl.less +0 -48
- package/es/slider/style/css.js +0 -4
- package/es/slider/style/index-pure.less +0 -215
- package/es/slider/style/index.css +0 -202
- package/es/slider/style/index.less +0 -3
- package/es/slider/style/rtl.less +0 -49
- package/es/space/style/compact.less +0 -17
- package/es/space/style/css.js +0 -2
- package/es/space/style/index-pure.less +0 -40
- package/es/space/style/index.css +0 -41
- package/es/space/style/index.less +0 -3
- package/es/space/style/rtl.less +0 -14
- package/es/spin/style/css.js +0 -2
- package/es/spin/style/index-pure.less +0 -218
- package/es/spin/style/index.css +0 -198
- package/es/spin/style/index.less +0 -3
- package/es/spin/style/rtl.less +0 -20
- package/es/statistic/style/css.js +0 -4
- package/es/statistic/style/index-pure.less +0 -44
- package/es/statistic/style/index.css +0 -53
- package/es/statistic/style/index.less +0 -3
- package/es/statistic/style/rtl.less +0 -21
- package/es/steps/style/css.js +0 -5
- package/es/steps/style/custom-icon.less +0 -32
- package/es/steps/style/index-pure.less +0 -255
- package/es/steps/style/index.css +0 -754
- package/es/steps/style/index.less +0 -3
- package/es/steps/style/label-placement.less +0 -45
- package/es/steps/style/nav.less +0 -134
- package/es/steps/style/progress-dot.less +0 -113
- package/es/steps/style/progress.less +0 -36
- package/es/steps/style/rtl.less +0 -271
- package/es/steps/style/small.less +0 -48
- package/es/steps/style/vertical.less +0 -73
- package/es/style/color/bezierEasing.less +0 -110
- package/es/style/color/colorPalette.less +0 -85
- package/es/style/color/colors.less +0 -162
- package/es/style/color/tinyColor.less +0 -1184
- package/es/style/compact.less +0 -4
- package/es/style/core/base.less +0 -10
- package/es/style/core/global.less +0 -491
- package/es/style/core/iconfont.less +0 -22
- package/es/style/core/index.less +0 -5
- package/es/style/core/motion/fade.less +0 -34
- package/es/style/core/motion/move.less +0 -129
- package/es/style/core/motion/other.less +0 -51
- package/es/style/core/motion/slide.less +0 -129
- package/es/style/core/motion/zoom.less +0 -179
- package/es/style/core/motion.less +0 -22
- package/es/style/dark.less +0 -4
- package/es/style/default.less +0 -4
- package/es/style/index.less +0 -3
- package/es/style/mixins/box.less +0 -7
- package/es/style/mixins/clearfix.less +0 -16
- package/es/style/mixins/compact-item-vertical.less +0 -41
- package/es/style/mixins/compact-item.less +0 -133
- package/es/style/mixins/compatibility.less +0 -13
- package/es/style/mixins/customize.less +0 -181
- package/es/style/mixins/iconfont.less +0 -28
- package/es/style/mixins/index.less +0 -16
- package/es/style/mixins/modal-mask.less +0 -30
- package/es/style/mixins/motion.less +0 -33
- package/es/style/mixins/operation-unit.less +0 -15
- package/es/style/mixins/reset.less +0 -11
- package/es/style/mixins/rounded-arrow.less +0 -44
- package/es/style/mixins/size.less +0 -10
- package/es/style/mixins/typography.less +0 -58
- package/es/style/theme.less +0 -34
- package/es/style/themes/compact.less +0 -295
- package/es/style/themes/dark.less +0 -457
- package/es/style/themes/default.less +0 -1084
- package/es/style/themes/index.less +0 -7
- package/es/style/themes/variable.less +0 -1139
- package/es/style/variable.less +0 -4
- package/es/switch/style/css.js +0 -2
- package/es/switch/style/index-pure.less +0 -154
- package/es/switch/style/index.css +0 -153
- package/es/switch/style/index.less +0 -3
- package/es/switch/style/rtl.less +0 -52
- package/es/table/style/bordered.less +0 -136
- package/es/table/style/css.js +0 -15
- package/es/table/style/index-pure.less +0 -763
- package/es/table/style/index.css +0 -845
- package/es/table/style/index.less +0 -3
- package/es/table/style/radius.less +0 -49
- package/es/table/style/rtl.less +0 -168
- package/es/table/style/size.less +0 -51
- package/es/tabs/style/card.less +0 -98
- package/es/tabs/style/css.js +0 -2
- package/es/tabs/style/dropdown.less +0 -82
- package/es/tabs/style/index-pure.less +0 -253
- package/es/tabs/style/index.css +0 -630
- package/es/tabs/style/index.less +0 -3
- package/es/tabs/style/position.less +0 -198
- package/es/tabs/style/rtl.less +0 -86
- package/es/tabs/style/size.less +0 -42
- package/es/tag/style/css.js +0 -2
- package/es/tag/style/index-pure.less +0 -129
- package/es/tag/style/index.css +0 -247
- package/es/tag/style/index.less +0 -3
- package/es/tag/style/rtl.less +0 -28
- package/es/time-picker/style/css.js +0 -4
- package/es/time-picker/style/index-pure.less +0 -3
- package/es/time-picker/style/index.css +0 -4
- package/es/time-picker/style/index.d.ts +0 -3
- package/es/time-picker/style/index.js +0 -4
- package/es/time-picker/style/index.less +0 -3
- package/es/timeline/style/css.js +0 -2
- package/es/timeline/style/index-pure.less +0 -185
- package/es/timeline/style/index.css +0 -236
- package/es/timeline/style/index.less +0 -3
- package/es/timeline/style/rtl.less +0 -135
- package/es/tooltip/style/css.js +0 -2
- package/es/tooltip/style/index-pure.less +0 -224
- package/es/tooltip/style/index.css +0 -274
- package/es/tooltip/style/index.less +0 -3
- package/es/tooltip/style/rtl.less +0 -14
- package/es/transfer/style/css.js +0 -9
- package/es/transfer/style/customize.less +0 -52
- package/es/transfer/style/index-pure.less +0 -222
- package/es/transfer/style/index.css +0 -281
- package/es/transfer/style/index.less +0 -3
- package/es/transfer/style/rtl.less +0 -71
- package/es/transfer/style/status.less +0 -31
- package/es/tree/style/css.js +0 -2
- package/es/tree/style/directory.less +0 -72
- package/es/tree/style/index-pure.less +0 -16
- package/es/tree/style/index.css +0 -532
- package/es/tree/style/index.less +0 -3
- package/es/tree/style/mixin.less +0 -337
- package/es/tree/style/rtl.less +0 -72
- package/es/tree-select/style/css.js +0 -6
- package/es/tree-select/style/index-pure.less +0 -57
- package/es/tree-select/style/index.css +0 -481
- package/es/tree-select/style/index.less +0 -3
- package/es/typography/style/css.js +0 -5
- package/es/typography/style/index-pure.less +0 -314
- package/es/typography/style/index.css +0 -369
- package/es/typography/style/index.less +0 -3
- package/es/typography/style/rtl.less +0 -54
- package/es/upload/style/css.js +0 -7
- package/es/upload/style/index-pure.less +0 -565
- package/es/upload/style/index.css +0 -588
- package/es/upload/style/index.less +0 -3
- package/es/upload/style/rtl.less +0 -165
- package/es/version/style/css.js +0 -2
- package/es/version/style/index.d.ts +0 -1
- package/es/version/style/index.js +0 -2
- package/es/version/token.d.ts +0 -319
- package/es/version/token.js +0 -318
- package/lib/_util/wave.d.ts +0 -32
- package/lib/_util/wave.js +0 -270
- package/lib/affix/style/css.js +0 -5
- package/lib/affix/style/index-pure.less +0 -6
- package/lib/affix/style/index.css +0 -8
- package/lib/affix/style/index.less +0 -3
- package/lib/alert/style/css.js +0 -5
- package/lib/alert/style/index-pure.less +0 -155
- package/lib/alert/style/index.css +0 -156
- package/lib/alert/style/index.less +0 -3
- package/lib/alert/style/rtl.less +0 -40
- package/lib/anchor/style/css.js +0 -7
- package/lib/anchor/style/index-pure.less +0 -86
- package/lib/anchor/style/index.css +0 -100
- package/lib/anchor/style/index.less +0 -3
- package/lib/anchor/style/rtl.less +0 -35
- package/lib/auto-complete/style/css.js +0 -7
- package/lib/auto-complete/style/index-pure.less +0 -16
- package/lib/auto-complete/style/index.css +0 -18
- package/lib/auto-complete/style/index.d.ts +0 -3
- package/lib/auto-complete/style/index.js +0 -7
- package/lib/auto-complete/style/index.less +0 -3
- package/lib/avatar/style/css.js +0 -7
- package/lib/avatar/style/group.less +0 -17
- package/lib/avatar/style/index-pure.less +0 -70
- package/lib/avatar/style/index.css +0 -108
- package/lib/avatar/style/index.less +0 -3
- package/lib/avatar/style/rtl.less +0 -15
- package/lib/back-top/style/css.js +0 -5
- package/lib/back-top/style/index-pure.less +0 -49
- package/lib/back-top/style/index.css +0 -66
- package/lib/back-top/style/index.less +0 -3
- package/lib/back-top/style/responsive.less +0 -21
- package/lib/badge/style/css.js +0 -5
- package/lib/badge/style/index-pure.less +0 -281
- package/lib/badge/style/index.css +0 -460
- package/lib/badge/style/index.less +0 -3
- package/lib/badge/style/ribbon.less +0 -81
- package/lib/badge/style/rtl.less +0 -100
- package/lib/breadcrumb/style/css.js +0 -9
- package/lib/breadcrumb/style/index-pure.less +0 -64
- package/lib/breadcrumb/style/index.css +0 -77
- package/lib/breadcrumb/style/index.less +0 -3
- package/lib/breadcrumb/style/rtl.less +0 -29
- package/lib/button/style/css.js +0 -5
- package/lib/button/style/index-pure.less +0 -293
- package/lib/button/style/index.css +0 -1987
- package/lib/button/style/index.less +0 -3
- package/lib/button/style/mixin.less +0 -589
- package/lib/button/style/rtl.less +0 -90
- package/lib/button/style/space-compact.less +0 -88
- package/lib/calendar/style/css.js +0 -11
- package/lib/calendar/style/index-pure.less +0 -196
- package/lib/calendar/style/index.css +0 -175
- package/lib/calendar/style/index.less +0 -3
- package/lib/calendar/style/rtl.less +0 -46
- package/lib/card/style/css.js +0 -9
- package/lib/card/style/index-pure.less +0 -276
- package/lib/card/style/index.css +0 -275
- package/lib/card/style/index.less +0 -3
- package/lib/card/style/size.less +0 -20
- package/lib/carousel/style/css.js +0 -5
- package/lib/carousel/style/index-pure.less +0 -304
- package/lib/carousel/style/index.css +0 -286
- package/lib/carousel/style/index.less +0 -3
- package/lib/carousel/style/rtl.less +0 -54
- package/lib/cascader/style/css.js +0 -9
- package/lib/cascader/style/index-pure.less +0 -108
- package/lib/cascader/style/index.css +0 -332
- package/lib/cascader/style/index.less +0 -3
- package/lib/cascader/style/rtl.less +0 -19
- package/lib/checkbox/style/css.js +0 -5
- package/lib/checkbox/style/index-pure.less +0 -6
- package/lib/checkbox/style/index.css +0 -225
- package/lib/checkbox/style/index.less +0 -3
- package/lib/checkbox/style/mixin.less +0 -241
- package/lib/checkbox/style/rtl.less +0 -28
- package/lib/col/style/css.js +0 -5
- package/lib/collapse/style/css.js +0 -5
- package/lib/collapse/style/index-pure.less +0 -174
- package/lib/collapse/style/index.css +0 -174
- package/lib/collapse/style/index.less +0 -3
- package/lib/collapse/style/rtl.less +0 -68
- package/lib/comment/index.d.ts +0 -23
- package/lib/comment/index.js +0 -92
- package/lib/comment/style/css.js +0 -5
- package/lib/comment/style/index-pure.less +0 -105
- package/lib/comment/style/index.css +0 -112
- package/lib/comment/style/index.d.ts +0 -2
- package/lib/comment/style/index.js +0 -5
- package/lib/comment/style/index.less +0 -3
- package/lib/comment/style/rtl.less +0 -51
- package/lib/config-provider/style/css.js +0 -3
- package/lib/config-provider/style/index-pure.less +0 -2
- package/lib/config-provider/style/index.css +0 -4
- package/lib/config-provider/style/index.less +0 -3
- package/lib/date-picker/PickerTag.d.ts +0 -3
- package/lib/date-picker/PickerTag.js +0 -22
- package/lib/date-picker/style/css.js +0 -7
- package/lib/date-picker/style/index-pure.less +0 -366
- package/lib/date-picker/style/index.css +0 -1099
- package/lib/date-picker/style/index.less +0 -3
- package/lib/date-picker/style/panel.less +0 -677
- package/lib/date-picker/style/rtl.less +0 -246
- package/lib/date-picker/style/status.less +0 -38
- package/lib/descriptions/style/css.js +0 -5
- package/lib/descriptions/style/index-pure.less +0 -179
- package/lib/descriptions/style/index.css +0 -139
- package/lib/descriptions/style/index.less +0 -3
- package/lib/descriptions/style/rtl.less +0 -33
- package/lib/divider/style/css.js +0 -5
- package/lib/divider/style/index-pure.less +0 -137
- package/lib/divider/style/index.css +0 -126
- package/lib/divider/style/index.less +0 -3
- package/lib/divider/style/rtl.less +0 -38
- package/lib/drawer/style/css.js +0 -5
- package/lib/drawer/style/drawer.less +0 -160
- package/lib/drawer/style/index-pure.less +0 -7
- package/lib/drawer/style/index.css +0 -265
- package/lib/drawer/style/index.less +0 -3
- package/lib/drawer/style/motion.less +0 -146
- package/lib/drawer/style/rtl.less +0 -16
- package/lib/dropdown/style/css.js +0 -11
- package/lib/dropdown/style/index-pure.less +0 -389
- package/lib/dropdown/style/index.css +0 -400
- package/lib/dropdown/style/index.less +0 -3
- package/lib/dropdown/style/rtl.less +0 -90
- package/lib/dropdown/style/status.less +0 -14
- package/lib/empty/style/css.js +0 -5
- package/lib/empty/style/index-pure.less +0 -151
- package/lib/empty/style/index.css +0 -72
- package/lib/empty/style/index.less +0 -3
- package/lib/empty/style/rtl.less +0 -10
- package/lib/form/style/components.less +0 -16
- package/lib/form/style/css.js +0 -9
- package/lib/form/style/horizontal.less +0 -22
- package/lib/form/style/index-pure.less +0 -332
- package/lib/form/style/index.css +0 -572
- package/lib/form/style/index.less +0 -3
- package/lib/form/style/inline.less +0 -38
- package/lib/form/style/mixin.less +0 -78
- package/lib/form/style/rtl.less +0 -204
- package/lib/form/style/status.less +0 -42
- package/lib/form/style/vertical.less +0 -93
- package/lib/grid/style/css.js +0 -5
- package/lib/grid/style/index-pure.less +0 -124
- package/lib/grid/style/index.css +0 -5185
- package/lib/grid/style/index.less +0 -3
- package/lib/grid/style/mixin.less +0 -56
- package/lib/grid/style/rtl.less +0 -69
- package/lib/icon/style/css.js +0 -5
- package/lib/icon/style/index-pure.less +0 -4
- package/lib/icon/style/index.css +0 -4
- package/lib/icon/style/index.d.ts +0 -2
- package/lib/icon/style/index.js +0 -5
- package/lib/icon/style/index.less +0 -3
- package/lib/image/style/css.js +0 -5
- package/lib/image/style/index-pure.less +0 -203
- package/lib/image/style/index.css +0 -232
- package/lib/image/style/index.less +0 -3
- package/lib/input/style/IE11.less +0 -20
- package/lib/input/style/affix.less +0 -78
- package/lib/input/style/allow-clear.less +0 -43
- package/lib/input/style/css.js +0 -7
- package/lib/input/style/index-pure.less +0 -88
- package/lib/input/style/index.css +0 -929
- package/lib/input/style/index.less +0 -3
- package/lib/input/style/mixin.less +0 -470
- package/lib/input/style/rtl.less +0 -210
- package/lib/input/style/search-input.less +0 -117
- package/lib/input/style/status.less +0 -42
- package/lib/input-number/style/affix.less +0 -83
- package/lib/input-number/style/css.js +0 -5
- package/lib/input-number/style/index-pure.less +0 -243
- package/lib/input-number/style/index.css +0 -915
- package/lib/input-number/style/index.less +0 -3
- package/lib/input-number/style/rtl.less +0 -71
- package/lib/input-number/style/status.less +0 -29
- package/lib/layout/style/css.js +0 -5
- package/lib/layout/style/index-pure.less +0 -145
- package/lib/layout/style/index.css +0 -128
- package/lib/layout/style/index.less +0 -3
- package/lib/layout/style/light.less +0 -11
- package/lib/layout/style/rtl.less +0 -10
- package/lib/list/style/bordered.less +0 -44
- package/lib/list/style/css.js +0 -13
- package/lib/list/style/customize.less +0 -13
- package/lib/list/style/index-pure.less +0 -249
- package/lib/list/style/index.css +0 -317
- package/lib/list/style/index.less +0 -3
- package/lib/list/style/responsive.less +0 -43
- package/lib/list/style/rtl.less +0 -139
- package/lib/locale/default.d.ts +0 -3
- package/lib/locale/default.js +0 -147
- package/lib/locale-provider/default.d.ts +0 -2
- package/lib/locale-provider/default.js +0 -13
- package/lib/locale-provider/style/css.js +0 -3
- package/lib/locale-provider/style/index-pure.less +0 -2
- package/lib/locale-provider/style/index.css +0 -4
- package/lib/locale-provider/style/index.d.ts +0 -1
- package/lib/locale-provider/style/index.js +0 -3
- package/lib/locale-provider/style/index.less +0 -3
- package/lib/mentions/style/css.js +0 -7
- package/lib/mentions/style/index-pure.less +0 -179
- package/lib/mentions/style/index.css +0 -322
- package/lib/mentions/style/index.less +0 -3
- package/lib/mentions/style/rtl.less +0 -10
- package/lib/mentions/style/status.less +0 -16
- package/lib/menu/style/css.js +0 -7
- package/lib/menu/style/dark.less +0 -177
- package/lib/menu/style/index-pure.less +0 -700
- package/lib/menu/style/index.css +0 -919
- package/lib/menu/style/index.less +0 -3
- package/lib/menu/style/light.less +0 -12
- package/lib/menu/style/rtl.less +0 -165
- package/lib/menu/style/status.less +0 -49
- package/lib/message/hooks/useMessage.d.ts +0 -7
- package/lib/message/hooks/useMessage.js +0 -103
- package/lib/message/style/css.js +0 -5
- package/lib/message/style/index-pure.less +0 -74
- package/lib/message/style/index.css +0 -78
- package/lib/message/style/index.less +0 -3
- package/lib/message/style/rtl.less +0 -17
- package/lib/modal/style/confirm.less +0 -79
- package/lib/modal/style/css.js +0 -7
- package/lib/modal/style/index-pure.less +0 -7
- package/lib/modal/style/index.css +0 -255
- package/lib/modal/style/index.less +0 -3
- package/lib/modal/style/modal.less +0 -136
- package/lib/modal/style/rtl.less +0 -74
- package/lib/notification/hooks/useNotification.d.ts +0 -7
- package/lib/notification/hooks/useNotification.js +0 -71
- package/lib/notification/style/css.js +0 -5
- package/lib/notification/style/index-pure.less +0 -207
- package/lib/notification/style/index.css +0 -246
- package/lib/notification/style/index.less +0 -3
- package/lib/notification/style/placement.less +0 -68
- package/lib/notification/style/rtl.less +0 -53
- package/lib/page-header/index.d.ts +0 -24
- package/lib/page-header/index.js +0 -191
- package/lib/page-header/style/css.js +0 -9
- package/lib/page-header/style/index-pure.less +0 -122
- package/lib/page-header/style/index.css +0 -151
- package/lib/page-header/style/index.d.ts +0 -4
- package/lib/page-header/style/index.js +0 -9
- package/lib/page-header/style/index.less +0 -3
- package/lib/page-header/style/rtl.less +0 -77
- package/lib/pagination/style/css.js +0 -7
- package/lib/pagination/style/index-pure.less +0 -472
- package/lib/pagination/style/index.css +0 -553
- package/lib/pagination/style/index.less +0 -3
- package/lib/pagination/style/rtl.less +0 -55
- package/lib/popconfirm/style/css.js +0 -9
- package/lib/popconfirm/style/index-pure.less +0 -8
- package/lib/popconfirm/style/index.css +0 -7
- package/lib/popconfirm/style/index.less +0 -3
- package/lib/popover/style/css.js +0 -5
- package/lib/popover/style/index-pure.less +0 -261
- package/lib/popover/style/index.css +0 -329
- package/lib/popover/style/index.less +0 -3
- package/lib/popover/style/rtl.less +0 -39
- package/lib/progress/style/css.js +0 -5
- package/lib/progress/style/index-pure.less +0 -210
- package/lib/progress/style/index.css +0 -190
- package/lib/progress/style/index.less +0 -3
- package/lib/progress/style/rtl.less +0 -37
- package/lib/radio/style/css.js +0 -5
- package/lib/radio/style/index-pure.less +0 -371
- package/lib/radio/style/index.css +0 -349
- package/lib/radio/style/index.less +0 -3
- package/lib/radio/style/rtl.less +0 -61
- package/lib/rate/style/css.js +0 -7
- package/lib/rate/style/index-pure.less +0 -91
- package/lib/rate/style/index.css +0 -94
- package/lib/rate/style/index.less +0 -3
- package/lib/rate/style/rtl.less +0 -21
- package/lib/result/style/css.js +0 -5
- package/lib/result/style/index-pure.less +0 -75
- package/lib/result/style/index.css +0 -68
- package/lib/result/style/index.less +0 -3
- package/lib/result/style/rtl.less +0 -25
- package/lib/row/style/css.js +0 -5
- package/lib/segmented/style/css.js +0 -5
- package/lib/segmented/style/index-pure.less +0 -122
- package/lib/segmented/style/index.css +0 -132
- package/lib/segmented/style/index.less +0 -3
- package/lib/segmented/style/mixins.less +0 -24
- package/lib/segmented/style/rtl.less +0 -15
- package/lib/select/style/css.js +0 -7
- package/lib/select/style/index-pure.less +0 -333
- package/lib/select/style/index.css +0 -740
- package/lib/select/style/index.less +0 -3
- package/lib/select/style/multiple.less +0 -222
- package/lib/select/style/rtl.less +0 -168
- package/lib/select/style/single.less +0 -172
- package/lib/select/style/status.less +0 -49
- package/lib/skeleton/style/css.js +0 -5
- package/lib/skeleton/style/index-pure.less +0 -290
- package/lib/skeleton/style/index.css +0 -282
- package/lib/skeleton/style/index.less +0 -3
- package/lib/skeleton/style/rtl.less +0 -48
- package/lib/slider/style/css.js +0 -7
- package/lib/slider/style/index-pure.less +0 -215
- package/lib/slider/style/index.css +0 -202
- package/lib/slider/style/index.less +0 -3
- package/lib/slider/style/rtl.less +0 -49
- package/lib/space/style/compact.less +0 -17
- package/lib/space/style/css.js +0 -5
- package/lib/space/style/index-pure.less +0 -40
- package/lib/space/style/index.css +0 -41
- package/lib/space/style/index.less +0 -3
- package/lib/space/style/rtl.less +0 -14
- package/lib/spin/style/css.js +0 -5
- package/lib/spin/style/index-pure.less +0 -218
- package/lib/spin/style/index.css +0 -198
- package/lib/spin/style/index.less +0 -3
- package/lib/spin/style/rtl.less +0 -20
- package/lib/statistic/style/css.js +0 -7
- package/lib/statistic/style/index-pure.less +0 -44
- package/lib/statistic/style/index.css +0 -53
- package/lib/statistic/style/index.less +0 -3
- package/lib/statistic/style/rtl.less +0 -21
- package/lib/steps/style/css.js +0 -7
- package/lib/steps/style/custom-icon.less +0 -32
- package/lib/steps/style/index-pure.less +0 -255
- package/lib/steps/style/index.css +0 -754
- package/lib/steps/style/index.less +0 -3
- package/lib/steps/style/label-placement.less +0 -45
- package/lib/steps/style/nav.less +0 -134
- package/lib/steps/style/progress-dot.less +0 -113
- package/lib/steps/style/progress.less +0 -36
- package/lib/steps/style/rtl.less +0 -271
- package/lib/steps/style/small.less +0 -48
- package/lib/steps/style/vertical.less +0 -73
- package/lib/style/color/bezierEasing.less +0 -110
- package/lib/style/color/colorPalette.less +0 -85
- package/lib/style/color/colors.less +0 -162
- package/lib/style/color/tinyColor.less +0 -1184
- package/lib/style/compact.less +0 -4
- package/lib/style/core/base.less +0 -10
- package/lib/style/core/global.less +0 -491
- package/lib/style/core/iconfont.less +0 -22
- package/lib/style/core/index.less +0 -5
- package/lib/style/core/motion/fade.less +0 -34
- package/lib/style/core/motion/move.less +0 -129
- package/lib/style/core/motion/other.less +0 -51
- package/lib/style/core/motion/slide.less +0 -129
- package/lib/style/core/motion/zoom.less +0 -179
- package/lib/style/core/motion.less +0 -22
- package/lib/style/dark.less +0 -4
- package/lib/style/default.less +0 -4
- package/lib/style/index.less +0 -3
- package/lib/style/mixins/box.less +0 -7
- package/lib/style/mixins/clearfix.less +0 -16
- package/lib/style/mixins/compact-item-vertical.less +0 -41
- package/lib/style/mixins/compact-item.less +0 -133
- package/lib/style/mixins/compatibility.less +0 -13
- package/lib/style/mixins/customize.less +0 -181
- package/lib/style/mixins/iconfont.less +0 -28
- package/lib/style/mixins/index.less +0 -16
- package/lib/style/mixins/modal-mask.less +0 -30
- package/lib/style/mixins/motion.less +0 -33
- package/lib/style/mixins/operation-unit.less +0 -15
- package/lib/style/mixins/reset.less +0 -11
- package/lib/style/mixins/rounded-arrow.less +0 -44
- package/lib/style/mixins/size.less +0 -10
- package/lib/style/mixins/typography.less +0 -58
- package/lib/style/theme.less +0 -34
- package/lib/style/themes/compact.less +0 -295
- package/lib/style/themes/dark.less +0 -457
- package/lib/style/themes/default.less +0 -1084
- package/lib/style/themes/index.less +0 -7
- package/lib/style/themes/variable.less +0 -1139
- package/lib/style/variable.less +0 -4
- package/lib/switch/style/css.js +0 -5
- package/lib/switch/style/index-pure.less +0 -154
- package/lib/switch/style/index.css +0 -153
- package/lib/switch/style/index.less +0 -3
- package/lib/switch/style/rtl.less +0 -52
- package/lib/table/style/bordered.less +0 -136
- package/lib/table/style/css.js +0 -25
- package/lib/table/style/index-pure.less +0 -763
- package/lib/table/style/index.css +0 -845
- package/lib/table/style/index.less +0 -3
- package/lib/table/style/radius.less +0 -49
- package/lib/table/style/rtl.less +0 -168
- package/lib/table/style/size.less +0 -51
- package/lib/tabs/style/card.less +0 -98
- package/lib/tabs/style/css.js +0 -5
- package/lib/tabs/style/dropdown.less +0 -82
- package/lib/tabs/style/index-pure.less +0 -253
- package/lib/tabs/style/index.css +0 -630
- package/lib/tabs/style/index.less +0 -3
- package/lib/tabs/style/position.less +0 -198
- package/lib/tabs/style/rtl.less +0 -86
- package/lib/tabs/style/size.less +0 -42
- package/lib/tag/style/css.js +0 -5
- package/lib/tag/style/index-pure.less +0 -129
- package/lib/tag/style/index.css +0 -247
- package/lib/tag/style/index.less +0 -3
- package/lib/tag/style/rtl.less +0 -28
- package/lib/time-picker/style/css.js +0 -7
- package/lib/time-picker/style/index-pure.less +0 -3
- package/lib/time-picker/style/index.css +0 -4
- package/lib/time-picker/style/index.d.ts +0 -3
- package/lib/time-picker/style/index.js +0 -7
- package/lib/time-picker/style/index.less +0 -3
- package/lib/timeline/style/css.js +0 -5
- package/lib/timeline/style/index-pure.less +0 -185
- package/lib/timeline/style/index.css +0 -236
- package/lib/timeline/style/index.less +0 -3
- package/lib/timeline/style/rtl.less +0 -135
- package/lib/tooltip/style/css.js +0 -5
- package/lib/tooltip/style/index-pure.less +0 -224
- package/lib/tooltip/style/index.css +0 -274
- package/lib/tooltip/style/index.less +0 -3
- package/lib/tooltip/style/rtl.less +0 -14
- package/lib/transfer/style/css.js +0 -17
- package/lib/transfer/style/customize.less +0 -52
- package/lib/transfer/style/index-pure.less +0 -222
- package/lib/transfer/style/index.css +0 -281
- package/lib/transfer/style/index.less +0 -3
- package/lib/transfer/style/rtl.less +0 -71
- package/lib/transfer/style/status.less +0 -31
- package/lib/tree/style/css.js +0 -5
- package/lib/tree/style/directory.less +0 -72
- package/lib/tree/style/index-pure.less +0 -16
- package/lib/tree/style/index.css +0 -532
- package/lib/tree/style/index.less +0 -3
- package/lib/tree/style/mixin.less +0 -337
- package/lib/tree/style/rtl.less +0 -72
- package/lib/tree-select/style/css.js +0 -9
- package/lib/tree-select/style/index-pure.less +0 -57
- package/lib/tree-select/style/index.css +0 -481
- package/lib/tree-select/style/index.less +0 -3
- package/lib/typography/style/css.js +0 -9
- package/lib/typography/style/index-pure.less +0 -314
- package/lib/typography/style/index.css +0 -369
- package/lib/typography/style/index.less +0 -3
- package/lib/typography/style/rtl.less +0 -54
- package/lib/upload/style/css.js +0 -11
- package/lib/upload/style/index-pure.less +0 -565
- package/lib/upload/style/index.css +0 -588
- package/lib/upload/style/index.less +0 -3
- package/lib/upload/style/rtl.less +0 -165
- package/lib/version/style/css.js +0 -3
- package/lib/version/style/index.d.ts +0 -1
- package/lib/version/style/index.js +0 -3
- package/lib/version/token.d.ts +0 -319
- package/lib/version/token.js +0 -325
@@ -1,4 +1,890 @@
|
|
1
|
-
import "
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
3
|
+
import { TinyColor } from '@ctrl/tinycolor';
|
4
|
+
import { genActiveStyle, genBasicInputStyle, genHoverStyle, initInputToken } from "../../input/style";
|
5
|
+
import { initSlideMotion, initMoveMotion, slideDownIn, slideDownOut, slideUpIn, slideUpOut } from "../../style/motion";
|
6
|
+
import { genComponentStyleHook, mergeToken } from "../../theme/internal";
|
7
|
+
import { resetComponent, roundedArrow, textEllipsis } from "../../style";
|
8
|
+
import { genCompactItemStyle } from "../../style/compact-item";
|
2
9
|
|
3
|
-
|
4
|
-
|
10
|
+
var genPikerPadding = function genPikerPadding(token, inputHeight, fontSize, paddingHorizontal) {
|
11
|
+
var lineHeight = token.lineHeight;
|
12
|
+
var fontHeight = Math.floor(fontSize * lineHeight) + 2;
|
13
|
+
var paddingTop = Math.max((inputHeight - fontHeight) / 2, 0);
|
14
|
+
var paddingBottom = Math.max(inputHeight - fontHeight - paddingTop, 0);
|
15
|
+
return {
|
16
|
+
padding: paddingTop + "px " + paddingHorizontal + "px " + paddingBottom + "px"
|
17
|
+
};
|
18
|
+
};
|
19
|
+
|
20
|
+
var genPickerCellInnerStyle = function genPickerCellInnerStyle(token) {
|
21
|
+
var _disabled, _ref;
|
22
|
+
|
23
|
+
var componentCls = token.componentCls,
|
24
|
+
pickerCellInnerCls = token.pickerCellInnerCls,
|
25
|
+
pickerPanelCellHeight = token.pickerPanelCellHeight,
|
26
|
+
motionDurationSlow = token.motionDurationSlow,
|
27
|
+
borderRadiusSM = token.borderRadiusSM,
|
28
|
+
motionDurationMid = token.motionDurationMid,
|
29
|
+
controlItemBgHover = token.controlItemBgHover,
|
30
|
+
lineWidth = token.lineWidth,
|
31
|
+
lineType = token.lineType,
|
32
|
+
colorPrimary = token.colorPrimary,
|
33
|
+
controlItemBgActive = token.controlItemBgActive,
|
34
|
+
colorTextLightSolid = token.colorTextLightSolid,
|
35
|
+
controlHeightSM = token.controlHeightSM,
|
36
|
+
pickerDateHoverRangeBorderColor = token.pickerDateHoverRangeBorderColor,
|
37
|
+
pickerCellBorderGap = token.pickerCellBorderGap,
|
38
|
+
pickerBasicCellHoverWithRangeColor = token.pickerBasicCellHoverWithRangeColor,
|
39
|
+
pickerPanelCellWidth = token.pickerPanelCellWidth,
|
40
|
+
colorTextDisabled = token.colorTextDisabled,
|
41
|
+
colorBgContainerDisabled = token.colorBgContainerDisabled;
|
42
|
+
return _ref = {
|
43
|
+
'&::before': {
|
44
|
+
position: 'absolute',
|
45
|
+
top: '50%',
|
46
|
+
insetInlineStart: 0,
|
47
|
+
insetInlineEnd: 0,
|
48
|
+
zIndex: 1,
|
49
|
+
height: pickerPanelCellHeight,
|
50
|
+
transform: 'translateY(-50%)',
|
51
|
+
transition: "all " + motionDurationSlow,
|
52
|
+
content: '""'
|
53
|
+
}
|
54
|
+
}, _defineProperty(_ref, pickerCellInnerCls, {
|
55
|
+
position: 'relative',
|
56
|
+
zIndex: 2,
|
57
|
+
display: 'inline-block',
|
58
|
+
minWidth: pickerPanelCellHeight,
|
59
|
+
height: pickerPanelCellHeight,
|
60
|
+
lineHeight: pickerPanelCellHeight + "px",
|
61
|
+
borderRadius: borderRadiusSM,
|
62
|
+
transition: "background " + motionDurationMid + ", border " + motionDurationMid
|
63
|
+
}), _defineProperty(_ref, "&:hover:not(&-in-view),\n &:hover:not(&-selected):not(&-range-start):not(&-range-end):not(&-range-hover-start):not(&-range-hover-end)", _defineProperty({}, pickerCellInnerCls, {
|
64
|
+
background: controlItemBgHover
|
65
|
+
})), _defineProperty(_ref, "&-in-view:is(&-today) " + pickerCellInnerCls, {
|
66
|
+
'&::before': {
|
67
|
+
position: 'absolute',
|
68
|
+
top: 0,
|
69
|
+
insetInlineEnd: 0,
|
70
|
+
bottom: 0,
|
71
|
+
insetInlineStart: 0,
|
72
|
+
zIndex: 1,
|
73
|
+
border: lineWidth + "px " + lineType + " " + colorPrimary,
|
74
|
+
borderRadius: borderRadiusSM,
|
75
|
+
content: '""'
|
76
|
+
}
|
77
|
+
}), _defineProperty(_ref, '&-in-view:is(&-in-range)', {
|
78
|
+
position: 'relative',
|
79
|
+
'&::before': {
|
80
|
+
background: controlItemBgActive
|
81
|
+
}
|
82
|
+
}), _defineProperty(_ref, "&-in-view:is(&-selected) " + pickerCellInnerCls + ",\n &-in-view:is(&-range-start) " + pickerCellInnerCls + ",\n &-in-view:is(&-range-end) " + pickerCellInnerCls, {
|
83
|
+
color: colorTextLightSolid,
|
84
|
+
background: colorPrimary
|
85
|
+
}), _defineProperty(_ref, "&-in-view:is(&-range-start):not(&-range-start-single),\n &-in-view:is(&-range-end):not(&-range-end-single)", {
|
86
|
+
'&::before': {
|
87
|
+
background: controlItemBgActive
|
88
|
+
}
|
89
|
+
}), _defineProperty(_ref, '&-in-view:is(&-range-start)::before', {
|
90
|
+
insetInlineStart: '50%'
|
91
|
+
}), _defineProperty(_ref, '&-in-view:is(&-range-end)::before', {
|
92
|
+
insetInlineEnd: '50%'
|
93
|
+
}), _defineProperty(_ref, "&-in-view:is(&-range-hover-start):not(&-in-range):not(&-range-start):not(&-range-end),\n &-in-view:is(&-range-hover-end):not(&-in-range):not(&-range-start):not(&-range-end),\n &-in-view:is(&-range-hover-start):is(&-range-start-single),\n &-in-view:is(&-range-hover-start):is(&-range-start):is(&-range-end):is(&-range-end-near-hover),\n &-in-view:is(&-range-hover-end):is(&-range-start):is(&-range-end):is(&-range-start-near-hover),\n &-in-view:is(&-range-hover-end):is(&-range-end-single),\n &-in-view:is(&-range-hover):not(&-in-range)", {
|
94
|
+
'&::after': {
|
95
|
+
position: 'absolute',
|
96
|
+
top: '50%',
|
97
|
+
zIndex: 0,
|
98
|
+
height: controlHeightSM,
|
99
|
+
borderTop: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
|
100
|
+
borderBottom: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
|
101
|
+
transform: 'translateY(-50%)',
|
102
|
+
transition: "all " + motionDurationSlow,
|
103
|
+
content: '""'
|
104
|
+
}
|
105
|
+
}), _defineProperty(_ref, "&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after", {
|
106
|
+
insetInlineEnd: 0,
|
107
|
+
insetInlineStart: pickerCellBorderGap
|
108
|
+
}), _defineProperty(_ref, "&-in-view:is(&-in-range):is(&-range-hover)::before,\n &-in-view:is(&-range-start):is(&-range-hover)::before,\n &-in-view:is(&-range-end):is(&-range-hover)::before,\n &-in-view:is(&-range-start):not(&-range-start-single):is(&-range-hover-start)::before,\n &-in-view:is(&-range-end):not(&-range-end-single):is(&-range-hover-end)::before,\n " + componentCls + "-panel\n > :not(" + componentCls + "-date-panel)\n &-in-view:is(&-in-range):is(&-range-hover-start)::before,\n " + componentCls + "-panel\n > :not(" + componentCls + "-date-panel)\n &-in-view:is(&-in-range):is(&-range-hover-end)::before", {
|
109
|
+
background: pickerBasicCellHoverWithRangeColor
|
110
|
+
}), _defineProperty(_ref, "&-in-view:is(&-range-start):not(&-range-start-single):not(&-range-end) " + pickerCellInnerCls, {
|
111
|
+
borderStartStartRadius: borderRadiusSM,
|
112
|
+
borderEndStartRadius: borderRadiusSM,
|
113
|
+
borderStartEndRadius: 0,
|
114
|
+
borderEndEndRadius: 0
|
115
|
+
}), _defineProperty(_ref, "&-in-view:is(&-range-end):not(&-range-end-single):not(&-range-start) " + pickerCellInnerCls, {
|
116
|
+
borderStartStartRadius: 0,
|
117
|
+
borderEndStartRadius: 0,
|
118
|
+
borderStartEndRadius: borderRadiusSM,
|
119
|
+
borderEndEndRadius: borderRadiusSM
|
120
|
+
}), _defineProperty(_ref, '&-range-hover:is(&-range-end)::after', {
|
121
|
+
insetInlineStart: '50%'
|
122
|
+
}), _defineProperty(_ref, "tr > &-in-view:is(&-range-hover):first-child::after,\n tr > &-in-view:is(&-range-hover-end):first-child::after,\n &-in-view:is(&-start):is(&-range-hover-edge-start):is(&-range-hover-edge-start-near-range)::after,\n &-in-view:is(&-range-hover-edge-start):not(&-range-hover-edge-start-near-range)::after,\n &-in-view:is(&-range-hover-start)::after", {
|
123
|
+
insetInlineStart: (pickerPanelCellWidth - pickerPanelCellHeight) / 2,
|
124
|
+
borderInlineStart: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
|
125
|
+
borderStartStartRadius: lineWidth,
|
126
|
+
borderEndStartRadius: lineWidth
|
127
|
+
}), _defineProperty(_ref, "tr > &-in-view:is(&-range-hover):last-child::after,\n tr > &-in-view:is(&-range-hover-start):last-child::after,\n &-in-view:is(&-end):is(&-range-hover-edge-end):is(&-range-hover-edge-end-near-range)::after,\n &-in-view:is(&-range-hover-edge-end):not(&-range-hover-edge-end-near-range)::after,\n &-in-view:is(&-range-hover-end)::after", {
|
128
|
+
insetInlineEnd: (pickerPanelCellWidth - pickerPanelCellHeight) / 2,
|
129
|
+
borderInlineEnd: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
|
130
|
+
borderStartEndRadius: lineWidth,
|
131
|
+
borderEndEndRadius: lineWidth
|
132
|
+
}), _defineProperty(_ref, '&-disabled', (_disabled = {
|
133
|
+
color: colorTextDisabled,
|
134
|
+
pointerEvents: 'none'
|
135
|
+
}, _defineProperty(_disabled, pickerCellInnerCls, {
|
136
|
+
background: 'transparent'
|
137
|
+
}), _defineProperty(_disabled, '&::before', {
|
138
|
+
background: colorBgContainerDisabled
|
139
|
+
}), _disabled)), _defineProperty(_ref, "&-disabled:is(&-today) " + pickerCellInnerCls + "::before", {
|
140
|
+
borderColor: colorTextDisabled
|
141
|
+
}), _ref;
|
142
|
+
};
|
143
|
+
|
144
|
+
export var genPanelStyle = function genPanelStyle(token) {
|
145
|
+
var _rtl, _decadePanel, _decadePanel2, _yearPanel, _selectedTd, _weekPanel, _datePanel, _datetimePanel, _ref5, _timePanel, _componentCls;
|
146
|
+
|
147
|
+
var componentCls = token.componentCls,
|
148
|
+
pickerCellInnerCls = token.pickerCellInnerCls,
|
149
|
+
pickerYearMonthCellWidth = token.pickerYearMonthCellWidth,
|
150
|
+
pickerControlIconSize = token.pickerControlIconSize,
|
151
|
+
pickerPanelCellWidth = token.pickerPanelCellWidth,
|
152
|
+
paddingSM = token.paddingSM,
|
153
|
+
paddingXS = token.paddingXS,
|
154
|
+
paddingXXS = token.paddingXXS,
|
155
|
+
colorBgContainer = token.colorBgContainer,
|
156
|
+
lineWidth = token.lineWidth,
|
157
|
+
lineType = token.lineType,
|
158
|
+
borderRadiusLG = token.borderRadiusLG,
|
159
|
+
colorPrimary = token.colorPrimary,
|
160
|
+
colorTextHeading = token.colorTextHeading,
|
161
|
+
colorSplit = token.colorSplit,
|
162
|
+
pickerControlIconBorderWidth = token.pickerControlIconBorderWidth,
|
163
|
+
colorIcon = token.colorIcon,
|
164
|
+
pickerTextHeight = token.pickerTextHeight,
|
165
|
+
motionDurationMid = token.motionDurationMid,
|
166
|
+
colorIconHover = token.colorIconHover,
|
167
|
+
fontWeightStrong = token.fontWeightStrong,
|
168
|
+
pickerPanelCellHeight = token.pickerPanelCellHeight,
|
169
|
+
pickerCellPaddingVertical = token.pickerCellPaddingVertical,
|
170
|
+
colorTextDisabled = token.colorTextDisabled,
|
171
|
+
colorText = token.colorText,
|
172
|
+
fontSize = token.fontSize,
|
173
|
+
pickerBasicCellHoverWithRangeColor = token.pickerBasicCellHoverWithRangeColor,
|
174
|
+
motionDurationSlow = token.motionDurationSlow,
|
175
|
+
pickerPanelWithoutTimeCellHeight = token.pickerPanelWithoutTimeCellHeight,
|
176
|
+
pickerQuarterPanelContentHeight = token.pickerQuarterPanelContentHeight,
|
177
|
+
colorLink = token.colorLink,
|
178
|
+
colorLinkActive = token.colorLinkActive,
|
179
|
+
colorLinkHover = token.colorLinkHover,
|
180
|
+
pickerDateHoverRangeBorderColor = token.pickerDateHoverRangeBorderColor,
|
181
|
+
borderRadiusSM = token.borderRadiusSM,
|
182
|
+
colorTextLightSolid = token.colorTextLightSolid,
|
183
|
+
borderRadius = token.borderRadius,
|
184
|
+
controlItemBgHover = token.controlItemBgHover,
|
185
|
+
pickerTimePanelColumnHeight = token.pickerTimePanelColumnHeight,
|
186
|
+
pickerTimePanelColumnWidth = token.pickerTimePanelColumnWidth,
|
187
|
+
pickerTimePanelCellHeight = token.pickerTimePanelCellHeight,
|
188
|
+
controlItemBgActive = token.controlItemBgActive,
|
189
|
+
marginXXS = token.marginXXS;
|
190
|
+
var pickerPanelWidth = pickerPanelCellWidth * 7 + paddingSM * 2 + 4;
|
191
|
+
var hoverCellFixedDistance = (pickerPanelWidth - paddingXS * 2) / 3 - pickerYearMonthCellWidth / 2;
|
192
|
+
return _defineProperty({}, componentCls, (_componentCls = {
|
193
|
+
'&-panel': {
|
194
|
+
display: 'inline-flex',
|
195
|
+
flexDirection: 'column',
|
196
|
+
textAlign: 'center',
|
197
|
+
background: colorBgContainer,
|
198
|
+
border: lineWidth + "px " + lineType + " " + colorSplit,
|
199
|
+
borderRadius: borderRadiusLG,
|
200
|
+
outline: 'none',
|
201
|
+
'&-focused': {
|
202
|
+
borderColor: colorPrimary
|
203
|
+
},
|
204
|
+
'&-rtl': (_rtl = {
|
205
|
+
direction: 'rtl'
|
206
|
+
}, _defineProperty(_rtl, componentCls + "-prev-icon,\n " + componentCls + "-super-prev-icon", {
|
207
|
+
transform: 'rotate(135deg)'
|
208
|
+
}), _defineProperty(_rtl, componentCls + "-next-icon,\n " + componentCls + "-super-next-icon", {
|
209
|
+
transform: 'rotate(-45deg)'
|
210
|
+
}), _rtl)
|
211
|
+
}
|
212
|
+
}, _defineProperty(_componentCls, "&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel", {
|
213
|
+
display: 'flex',
|
214
|
+
flexDirection: 'column',
|
215
|
+
width: pickerPanelWidth
|
216
|
+
}), _defineProperty(_componentCls, '&-header', {
|
217
|
+
display: 'flex',
|
218
|
+
padding: "0 " + paddingXS + "px",
|
219
|
+
color: colorTextHeading,
|
220
|
+
borderBottom: lineWidth + "px " + lineType + " " + colorSplit,
|
221
|
+
'> *': {
|
222
|
+
flex: 'none'
|
223
|
+
},
|
224
|
+
button: {
|
225
|
+
padding: 0,
|
226
|
+
color: colorIcon,
|
227
|
+
lineHeight: pickerTextHeight + "px",
|
228
|
+
background: 'transparent',
|
229
|
+
border: 0,
|
230
|
+
cursor: 'pointer',
|
231
|
+
transition: "color " + motionDurationMid
|
232
|
+
},
|
233
|
+
'> button': {
|
234
|
+
minWidth: '1.6em',
|
235
|
+
fontSize: fontSize,
|
236
|
+
'&:hover': {
|
237
|
+
color: colorIconHover
|
238
|
+
}
|
239
|
+
},
|
240
|
+
'&-view': {
|
241
|
+
flex: 'auto',
|
242
|
+
fontWeight: fontWeightStrong,
|
243
|
+
lineHeight: pickerTextHeight + "px",
|
244
|
+
button: {
|
245
|
+
color: 'inherit',
|
246
|
+
fontWeight: 'inherit',
|
247
|
+
verticalAlign: 'top',
|
248
|
+
'&:not(:first-child)': {
|
249
|
+
marginInlineStart: paddingXS
|
250
|
+
},
|
251
|
+
'&:hover': {
|
252
|
+
color: colorPrimary
|
253
|
+
}
|
254
|
+
}
|
255
|
+
}
|
256
|
+
}), _defineProperty(_componentCls, "&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon", {
|
257
|
+
position: 'relative',
|
258
|
+
display: 'inline-block',
|
259
|
+
width: pickerControlIconSize,
|
260
|
+
height: pickerControlIconSize,
|
261
|
+
'&::before': {
|
262
|
+
position: 'absolute',
|
263
|
+
top: 0,
|
264
|
+
insetInlineStart: 0,
|
265
|
+
display: 'inline-block',
|
266
|
+
width: pickerControlIconSize,
|
267
|
+
height: pickerControlIconSize,
|
268
|
+
border: "0 solid currentcolor",
|
269
|
+
borderBlockStartWidth: pickerControlIconBorderWidth,
|
270
|
+
borderBlockEndWidth: 0,
|
271
|
+
borderInlineStartWidth: pickerControlIconBorderWidth,
|
272
|
+
borderInlineEndWidth: 0,
|
273
|
+
content: '""'
|
274
|
+
}
|
275
|
+
}), _defineProperty(_componentCls, "&-super-prev-icon,\n &-super-next-icon", {
|
276
|
+
'&::after': {
|
277
|
+
position: 'absolute',
|
278
|
+
top: Math.ceil(pickerControlIconSize / 2),
|
279
|
+
insetInlineStart: Math.ceil(pickerControlIconSize / 2),
|
280
|
+
display: 'inline-block',
|
281
|
+
width: pickerControlIconSize,
|
282
|
+
height: pickerControlIconSize,
|
283
|
+
border: '0 solid currentcolor',
|
284
|
+
borderBlockStartWidth: pickerControlIconBorderWidth,
|
285
|
+
borderBlockEndWidth: 0,
|
286
|
+
borderInlineStartWidth: pickerControlIconBorderWidth,
|
287
|
+
borderInlineEndWidth: 0,
|
288
|
+
content: '""'
|
289
|
+
}
|
290
|
+
}), _defineProperty(_componentCls, "&-prev-icon,\n &-super-prev-icon", {
|
291
|
+
transform: 'rotate(-45deg)'
|
292
|
+
}), _defineProperty(_componentCls, "&-next-icon,\n &-super-next-icon", {
|
293
|
+
transform: 'rotate(135deg)'
|
294
|
+
}), _defineProperty(_componentCls, '&-content', {
|
295
|
+
width: '100%',
|
296
|
+
tableLayout: 'fixed',
|
297
|
+
borderCollapse: 'collapse',
|
298
|
+
'th, td': {
|
299
|
+
position: 'relative',
|
300
|
+
minWidth: pickerPanelCellHeight,
|
301
|
+
fontWeight: 'normal'
|
302
|
+
},
|
303
|
+
th: {
|
304
|
+
height: pickerPanelCellHeight + pickerCellPaddingVertical * 2,
|
305
|
+
color: colorText,
|
306
|
+
verticalAlign: 'middle'
|
307
|
+
}
|
308
|
+
}), _defineProperty(_componentCls, '&-cell', _extends({
|
309
|
+
padding: pickerCellPaddingVertical + "px 0",
|
310
|
+
color: colorTextDisabled,
|
311
|
+
cursor: 'pointer',
|
312
|
+
// In view
|
313
|
+
'&-in-view': {
|
314
|
+
color: colorText
|
315
|
+
}
|
316
|
+
}, genPickerCellInnerStyle(token))), _defineProperty(_componentCls, "&-date-panel " + componentCls + "-cell-in-view" + componentCls + "-cell-in-range" + componentCls + "-cell-range-hover-start " + pickerCellInnerCls + ",\n &-date-panel " + componentCls + "-cell-in-view" + componentCls + "-cell-in-range" + componentCls + "-cell-range-hover-end " + pickerCellInnerCls, {
|
317
|
+
'&::after': {
|
318
|
+
position: 'absolute',
|
319
|
+
top: 0,
|
320
|
+
bottom: 0,
|
321
|
+
zIndex: -1,
|
322
|
+
background: pickerBasicCellHoverWithRangeColor,
|
323
|
+
transition: "all " + motionDurationSlow,
|
324
|
+
content: '""'
|
325
|
+
}
|
326
|
+
}), _defineProperty(_componentCls, "&-date-panel\n " + componentCls + "-cell-in-view" + componentCls + "-cell-in-range" + componentCls + "-cell-range-hover-start\n " + pickerCellInnerCls + "::after", {
|
327
|
+
insetInlineEnd: (pickerPanelCellWidth - pickerPanelCellHeight) / 2,
|
328
|
+
insetInlineStart: 0
|
329
|
+
}), _defineProperty(_componentCls, "&-date-panel " + componentCls + "-cell-in-view" + componentCls + "-cell-in-range" + componentCls + "-cell-range-hover-end " + pickerCellInnerCls + "::after", {
|
330
|
+
insetInlineEnd: 0,
|
331
|
+
insetInlineStart: (pickerPanelCellWidth - pickerPanelCellHeight) / 2
|
332
|
+
}), _defineProperty(_componentCls, '&-range-hover:is(&-range-start)::after', {
|
333
|
+
insetInlineEnd: '50%'
|
334
|
+
}), _defineProperty(_componentCls, "&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel", (_decadePanel = {}, _defineProperty(_decadePanel, componentCls + "-content", {
|
335
|
+
height: pickerPanelWithoutTimeCellHeight * 4
|
336
|
+
}), _defineProperty(_decadePanel, pickerCellInnerCls, {
|
337
|
+
padding: "0 " + paddingXS + "px"
|
338
|
+
}), _decadePanel)), _defineProperty(_componentCls, '&-quarter-panel', _defineProperty({}, componentCls + "-content", {
|
339
|
+
height: pickerQuarterPanelContentHeight
|
340
|
+
})), _defineProperty(_componentCls, "&-panel " + componentCls + "-footer", {
|
341
|
+
borderTop: lineWidth + "px " + lineType + " " + colorSplit
|
342
|
+
}), _defineProperty(_componentCls, '&-footer', {
|
343
|
+
width: 'min-content',
|
344
|
+
minWidth: '100%',
|
345
|
+
lineHeight: pickerTextHeight - 2 * lineWidth + "px",
|
346
|
+
textAlign: 'center',
|
347
|
+
'&-extra': {
|
348
|
+
padding: "0 " + paddingSM,
|
349
|
+
lineHeight: pickerTextHeight - 2 * lineWidth + "px",
|
350
|
+
textAlign: 'start',
|
351
|
+
'&:not(:last-child)': {
|
352
|
+
borderBottom: lineWidth + "px " + lineType + " " + colorSplit
|
353
|
+
}
|
354
|
+
}
|
355
|
+
}), _defineProperty(_componentCls, '&-now', {
|
356
|
+
textAlign: 'start'
|
357
|
+
}), _defineProperty(_componentCls, '&-today-btn', {
|
358
|
+
color: colorLink,
|
359
|
+
'&:hover': {
|
360
|
+
color: colorLinkHover
|
361
|
+
},
|
362
|
+
'&:active': {
|
363
|
+
color: colorLinkActive
|
364
|
+
},
|
365
|
+
'&:is(&-disabled)': {
|
366
|
+
color: colorTextDisabled,
|
367
|
+
cursor: 'not-allowed'
|
368
|
+
}
|
369
|
+
}), _defineProperty(_componentCls, '&-decade-panel', (_decadePanel2 = {}, _defineProperty(_decadePanel2, pickerCellInnerCls, {
|
370
|
+
padding: "0 " + paddingXS / 2 + "px"
|
371
|
+
}), _defineProperty(_decadePanel2, componentCls + "-cell::before", {
|
372
|
+
display: 'none'
|
373
|
+
}), _decadePanel2)), _defineProperty(_componentCls, "&-year-panel,\n &-quarter-panel,\n &-month-panel", (_yearPanel = {}, _defineProperty(_yearPanel, componentCls + "-body", {
|
374
|
+
padding: "0 " + paddingXS + "px"
|
375
|
+
}), _defineProperty(_yearPanel, pickerCellInnerCls, {
|
376
|
+
width: pickerYearMonthCellWidth
|
377
|
+
}), _defineProperty(_yearPanel, componentCls + "-cell-range-hover-start::after", _defineProperty({
|
378
|
+
insetInlineStart: hoverCellFixedDistance,
|
379
|
+
borderInlineStart: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
|
380
|
+
borderStartStartRadius: borderRadiusSM,
|
381
|
+
borderBottomStartRadius: borderRadiusSM,
|
382
|
+
borderStartEndRadius: 0,
|
383
|
+
borderBottomEndRadius: 0
|
384
|
+
}, componentCls + "-panel-rtl &", {
|
385
|
+
insetInlineEnd: hoverCellFixedDistance,
|
386
|
+
borderInlineEnd: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
|
387
|
+
borderStartStartRadius: 0,
|
388
|
+
borderBottomStartRadius: 0,
|
389
|
+
borderStartEndRadius: borderRadiusSM,
|
390
|
+
borderBottomEndRadius: borderRadiusSM
|
391
|
+
})), _defineProperty(_yearPanel, componentCls + "-cell-range-hover-end::after", _defineProperty({
|
392
|
+
insetInlineEnd: hoverCellFixedDistance,
|
393
|
+
borderInlineEnd: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
|
394
|
+
borderStartStartRadius: 0,
|
395
|
+
borderBottomStartRadius: 0,
|
396
|
+
borderStartEndRadius: borderRadius,
|
397
|
+
borderBottomEndRadius: borderRadius
|
398
|
+
}, componentCls + "-panel-rtl &", {
|
399
|
+
insetInlineStart: hoverCellFixedDistance,
|
400
|
+
borderInlineStart: lineWidth + "px dashed " + pickerDateHoverRangeBorderColor,
|
401
|
+
borderStartStartRadius: borderRadius,
|
402
|
+
borderBottomStartRadius: borderRadius,
|
403
|
+
borderStartEndRadius: 0,
|
404
|
+
borderBottomEndRadius: 0
|
405
|
+
})), _yearPanel)), _defineProperty(_componentCls, '&-week-panel', (_weekPanel = {}, _defineProperty(_weekPanel, componentCls + "-body", {
|
406
|
+
padding: paddingXS + "px " + paddingSM + "px"
|
407
|
+
}), _defineProperty(_weekPanel, componentCls + "-cell", _defineProperty({}, "&:hover " + pickerCellInnerCls + ",\n &-selected " + pickerCellInnerCls + ",\n " + pickerCellInnerCls, {
|
408
|
+
background: 'transparent !important'
|
409
|
+
})), _defineProperty(_weekPanel, '&-row', _defineProperty({
|
410
|
+
td: {
|
411
|
+
transition: "background " + motionDurationMid,
|
412
|
+
'&:first-child': {
|
413
|
+
borderStartStartRadius: borderRadiusSM,
|
414
|
+
borderEndStartRadius: borderRadiusSM
|
415
|
+
},
|
416
|
+
'&:last-child': {
|
417
|
+
borderStartEndRadius: borderRadiusSM,
|
418
|
+
borderEndEndRadius: borderRadiusSM
|
419
|
+
}
|
420
|
+
},
|
421
|
+
'&:hover td': {
|
422
|
+
background: controlItemBgHover
|
423
|
+
}
|
424
|
+
}, "&-selected td,\n &-selected:hover td", (_selectedTd = {
|
425
|
+
background: colorPrimary
|
426
|
+
}, _defineProperty(_selectedTd, "&" + componentCls + "-cell-week", {
|
427
|
+
color: new TinyColor(colorTextLightSolid).setAlpha(0.5).toHexString()
|
428
|
+
}), _defineProperty(_selectedTd, "&" + componentCls + "-cell-today " + pickerCellInnerCls + "::before", {
|
429
|
+
borderColor: colorTextLightSolid
|
430
|
+
}), _defineProperty(_selectedTd, pickerCellInnerCls, {
|
431
|
+
color: colorTextLightSolid
|
432
|
+
}), _selectedTd))), _weekPanel)), _defineProperty(_componentCls, '&-date-panel', (_datePanel = {}, _defineProperty(_datePanel, componentCls + "-body", {
|
433
|
+
padding: paddingXS + "px " + paddingSM + "px"
|
434
|
+
}), _defineProperty(_datePanel, componentCls + "-content", {
|
435
|
+
width: pickerPanelCellWidth * 7,
|
436
|
+
th: {
|
437
|
+
width: pickerPanelCellWidth
|
438
|
+
}
|
439
|
+
}), _datePanel)), _defineProperty(_componentCls, '&-datetime-panel', (_datetimePanel = {
|
440
|
+
display: 'flex'
|
441
|
+
}, _defineProperty(_datetimePanel, componentCls + "-time-panel", {
|
442
|
+
borderInlineStart: lineWidth + "px " + lineType + " " + colorSplit
|
443
|
+
}), _defineProperty(_datetimePanel, componentCls + "-date-panel,\n " + componentCls + "-time-panel", {
|
444
|
+
transition: "opacity " + motionDurationSlow
|
445
|
+
}), _defineProperty(_datetimePanel, '&-active', _defineProperty({}, componentCls + "-date-panel,\n " + componentCls + "-time-panel", {
|
446
|
+
opacity: 0.3,
|
447
|
+
'&-active': {
|
448
|
+
opacity: 1
|
449
|
+
}
|
450
|
+
})), _datetimePanel)), _defineProperty(_componentCls, '&-time-panel', (_timePanel = {
|
451
|
+
width: 'auto',
|
452
|
+
minWidth: 'auto',
|
453
|
+
direction: 'ltr'
|
454
|
+
}, _defineProperty(_timePanel, componentCls + "-content", {
|
455
|
+
display: 'flex',
|
456
|
+
flex: 'auto',
|
457
|
+
height: pickerTimePanelColumnHeight
|
458
|
+
}), _defineProperty(_timePanel, '&-column', {
|
459
|
+
flex: '1 0 auto',
|
460
|
+
width: pickerTimePanelColumnWidth,
|
461
|
+
margin: paddingXXS + "px 0",
|
462
|
+
padding: 0,
|
463
|
+
overflowY: 'hidden',
|
464
|
+
textAlign: 'start',
|
465
|
+
listStyle: 'none',
|
466
|
+
transition: "background " + motionDurationMid,
|
467
|
+
overflowX: 'hidden',
|
468
|
+
'&::after': {
|
469
|
+
display: 'block',
|
470
|
+
height: pickerTimePanelColumnHeight - pickerTimePanelCellHeight,
|
471
|
+
content: '""'
|
472
|
+
},
|
473
|
+
'&:not(:first-child)': {
|
474
|
+
borderInlineStart: lineWidth + "px " + lineType + " " + colorSplit
|
475
|
+
},
|
476
|
+
'&-active': {
|
477
|
+
background: new TinyColor(controlItemBgActive).setAlpha(0.2).toHexString()
|
478
|
+
},
|
479
|
+
'&:hover': {
|
480
|
+
overflowY: 'auto'
|
481
|
+
},
|
482
|
+
'> li': _defineProperty({
|
483
|
+
margin: 0,
|
484
|
+
padding: 0
|
485
|
+
}, "&" + componentCls + "-time-panel-cell", (_ref5 = {
|
486
|
+
marginInline: marginXXS
|
487
|
+
}, _defineProperty(_ref5, componentCls + "-time-panel-cell-inner", {
|
488
|
+
display: 'block',
|
489
|
+
width: pickerTimePanelColumnWidth - 2 * marginXXS,
|
490
|
+
height: pickerTimePanelCellHeight,
|
491
|
+
margin: 0,
|
492
|
+
paddingBlock: 0,
|
493
|
+
paddingInlineEnd: 0,
|
494
|
+
paddingInlineStart: (pickerTimePanelColumnWidth - pickerTimePanelCellHeight) / 2,
|
495
|
+
color: colorText,
|
496
|
+
lineHeight: pickerTimePanelCellHeight + "px",
|
497
|
+
borderRadius: borderRadiusSM,
|
498
|
+
cursor: 'pointer',
|
499
|
+
transition: "background " + motionDurationMid,
|
500
|
+
'&:hover': {
|
501
|
+
background: controlItemBgHover
|
502
|
+
}
|
503
|
+
}), _defineProperty(_ref5, '&-selected', _defineProperty({}, componentCls + "-time-panel-cell-inner", {
|
504
|
+
background: controlItemBgActive
|
505
|
+
})), _defineProperty(_ref5, '&-disabled', _defineProperty({}, componentCls + "-time-panel-cell-inner", {
|
506
|
+
color: colorTextDisabled,
|
507
|
+
background: 'transparent',
|
508
|
+
cursor: 'not-allowed'
|
509
|
+
})), _ref5))
|
510
|
+
}), _timePanel)), _defineProperty(_componentCls, "&-datetime-panel " + componentCls + "-time-panel-column:after", {
|
511
|
+
height: pickerTimePanelColumnHeight - pickerTimePanelCellHeight + paddingXXS * 2
|
512
|
+
}), _componentCls));
|
513
|
+
};
|
514
|
+
|
515
|
+
var genPickerStatusStyle = function genPickerStatusStyle(token) {
|
516
|
+
var componentCls = token.componentCls,
|
517
|
+
colorBgContainer = token.colorBgContainer,
|
518
|
+
colorError = token.colorError,
|
519
|
+
colorErrorOutline = token.colorErrorOutline,
|
520
|
+
colorWarning = token.colorWarning,
|
521
|
+
colorWarningOutline = token.colorWarningOutline;
|
522
|
+
return _defineProperty({}, componentCls, {
|
523
|
+
'&-status-error&': _defineProperty({
|
524
|
+
'&, &:not([disabled]):hover': {
|
525
|
+
backgroundColor: colorBgContainer,
|
526
|
+
borderColor: colorError
|
527
|
+
},
|
528
|
+
'&-focused, &:focus': _extends({}, genActiveStyle(mergeToken(token, {
|
529
|
+
inputBorderActiveColor: colorError,
|
530
|
+
inputBorderHoverColor: colorError,
|
531
|
+
controlOutline: colorErrorOutline
|
532
|
+
})))
|
533
|
+
}, componentCls + "-active-bar", {
|
534
|
+
background: colorError
|
535
|
+
}),
|
536
|
+
'&-status-warning&': _defineProperty({
|
537
|
+
'&, &:not([disabled]):hover': {
|
538
|
+
backgroundColor: colorBgContainer,
|
539
|
+
borderColor: colorWarning
|
540
|
+
},
|
541
|
+
'&-focused, &:focus': _extends({}, genActiveStyle(mergeToken(token, {
|
542
|
+
inputBorderActiveColor: colorWarning,
|
543
|
+
inputBorderHoverColor: colorWarning,
|
544
|
+
controlOutline: colorWarningOutline
|
545
|
+
})))
|
546
|
+
}, componentCls + "-active-bar", {
|
547
|
+
background: colorWarning
|
548
|
+
})
|
549
|
+
});
|
550
|
+
};
|
551
|
+
|
552
|
+
var genPickerStyle = function genPickerStyle(token) {
|
553
|
+
var _ref9, _ref11, _range, _ref12, _ref13, _ref14, _ref15, _extends3, _rtl2, _extends4;
|
554
|
+
|
555
|
+
var componentCls = token.componentCls,
|
556
|
+
antCls = token.antCls,
|
557
|
+
boxShadowPopoverArrow = token.boxShadowPopoverArrow,
|
558
|
+
controlHeight = token.controlHeight,
|
559
|
+
fontSize = token.fontSize,
|
560
|
+
inputPaddingHorizontal = token.inputPaddingHorizontal,
|
561
|
+
colorBgContainer = token.colorBgContainer,
|
562
|
+
lineWidth = token.lineWidth,
|
563
|
+
lineType = token.lineType,
|
564
|
+
colorBorder = token.colorBorder,
|
565
|
+
borderRadius = token.borderRadius,
|
566
|
+
motionDurationMid = token.motionDurationMid,
|
567
|
+
colorBgContainerDisabled = token.colorBgContainerDisabled,
|
568
|
+
colorTextDisabled = token.colorTextDisabled,
|
569
|
+
colorTextPlaceholder = token.colorTextPlaceholder,
|
570
|
+
controlHeightLG = token.controlHeightLG,
|
571
|
+
fontSizeLG = token.fontSizeLG,
|
572
|
+
controlHeightSM = token.controlHeightSM,
|
573
|
+
inputPaddingHorizontalSM = token.inputPaddingHorizontalSM,
|
574
|
+
paddingXS = token.paddingXS,
|
575
|
+
marginXS = token.marginXS,
|
576
|
+
colorTextDescription = token.colorTextDescription,
|
577
|
+
lineWidthBold = token.lineWidthBold,
|
578
|
+
lineHeight = token.lineHeight,
|
579
|
+
colorPrimary = token.colorPrimary,
|
580
|
+
motionDurationSlow = token.motionDurationSlow,
|
581
|
+
zIndexPopup = token.zIndexPopup,
|
582
|
+
paddingXXS = token.paddingXXS,
|
583
|
+
paddingSM = token.paddingSM,
|
584
|
+
pickerTextHeight = token.pickerTextHeight,
|
585
|
+
controlItemBgActive = token.controlItemBgActive,
|
586
|
+
colorPrimaryBorder = token.colorPrimaryBorder,
|
587
|
+
sizePopupArrow = token.sizePopupArrow,
|
588
|
+
borderRadiusXS = token.borderRadiusXS,
|
589
|
+
borderRadiusOuter = token.borderRadiusOuter,
|
590
|
+
colorBgElevated = token.colorBgElevated,
|
591
|
+
borderRadiusLG = token.borderRadiusLG,
|
592
|
+
boxShadowSecondary = token.boxShadowSecondary,
|
593
|
+
borderRadiusSM = token.borderRadiusSM,
|
594
|
+
colorSplit = token.colorSplit,
|
595
|
+
controlItemBgHover = token.controlItemBgHover,
|
596
|
+
presetsWidth = token.presetsWidth,
|
597
|
+
presetsMaxWidth = token.presetsMaxWidth;
|
598
|
+
return [_defineProperty({}, componentCls, _extends(_extends(_extends(_extends(_extends({}, resetComponent(token)), genPikerPadding(token, controlHeight, fontSize, inputPaddingHorizontal)), {
|
599
|
+
position: 'relative',
|
600
|
+
display: 'inline-flex',
|
601
|
+
alignItems: 'center',
|
602
|
+
background: colorBgContainer,
|
603
|
+
border: lineWidth + "px " + lineType + " " + colorBorder,
|
604
|
+
borderRadius: borderRadius,
|
605
|
+
transition: "border " + motionDurationMid + ", box-shadow " + motionDurationMid
|
606
|
+
}), genCompactItemStyle(token, componentCls, '', componentCls + "-focused")), (_extends4 = {
|
607
|
+
'&:hover, &-focused': _extends({}, genHoverStyle(token)),
|
608
|
+
'&-focused': _extends({}, genActiveStyle(token)),
|
609
|
+
'&&-disabled': _defineProperty({
|
610
|
+
background: colorBgContainerDisabled,
|
611
|
+
borderColor: colorBorder,
|
612
|
+
cursor: 'not-allowed'
|
613
|
+
}, componentCls + "-suffix", {
|
614
|
+
color: colorTextDisabled
|
615
|
+
}),
|
616
|
+
'&&-borderless': {
|
617
|
+
backgroundColor: 'transparent !important',
|
618
|
+
borderColor: 'transparent !important',
|
619
|
+
boxShadow: 'none !important'
|
620
|
+
}
|
621
|
+
}, _defineProperty(_extends4, componentCls + "-input", {
|
622
|
+
position: 'relative',
|
623
|
+
display: 'inline-flex',
|
624
|
+
alignItems: 'center',
|
625
|
+
width: '100%',
|
626
|
+
'> input': _extends(_extends({}, genBasicInputStyle(token)), {
|
627
|
+
flex: 'auto',
|
628
|
+
// Fix Firefox flex not correct:
|
629
|
+
// https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553
|
630
|
+
minWidth: 1,
|
631
|
+
height: 'auto',
|
632
|
+
padding: 0,
|
633
|
+
background: 'transparent',
|
634
|
+
border: 0,
|
635
|
+
'&:focus': {
|
636
|
+
boxShadow: 'none'
|
637
|
+
},
|
638
|
+
'&[disabled]': {
|
639
|
+
background: 'transparent'
|
640
|
+
}
|
641
|
+
}),
|
642
|
+
'&:hover': _defineProperty({}, componentCls + "-clear", {
|
643
|
+
opacity: 1
|
644
|
+
}),
|
645
|
+
'&-placeholder': {
|
646
|
+
'> input': {
|
647
|
+
color: colorTextPlaceholder
|
648
|
+
}
|
649
|
+
}
|
650
|
+
}), _defineProperty(_extends4, '&-large', _extends(_extends({}, genPikerPadding(token, controlHeightLG, fontSizeLG, inputPaddingHorizontal)), _defineProperty({}, componentCls + "-input > input", {
|
651
|
+
fontSize: fontSizeLG
|
652
|
+
}))), _defineProperty(_extends4, '&-small', _extends({}, genPikerPadding(token, controlHeightSM, fontSize, inputPaddingHorizontalSM))), _defineProperty(_extends4, componentCls + "-suffix", {
|
653
|
+
display: 'flex',
|
654
|
+
flex: 'none',
|
655
|
+
alignSelf: 'center',
|
656
|
+
marginInlineStart: paddingXS / 2,
|
657
|
+
color: colorTextDisabled,
|
658
|
+
lineHeight: 1,
|
659
|
+
pointerEvents: 'none',
|
660
|
+
'> *': {
|
661
|
+
verticalAlign: 'top',
|
662
|
+
'&:not(:last-child)': {
|
663
|
+
marginInlineEnd: marginXS
|
664
|
+
}
|
665
|
+
}
|
666
|
+
}), _defineProperty(_extends4, componentCls + "-clear", {
|
667
|
+
position: 'absolute',
|
668
|
+
top: '50%',
|
669
|
+
insetInlineEnd: 0,
|
670
|
+
color: colorTextDisabled,
|
671
|
+
lineHeight: 1,
|
672
|
+
background: colorBgContainer,
|
673
|
+
transform: 'translateY(-50%)',
|
674
|
+
cursor: 'pointer',
|
675
|
+
opacity: 0,
|
676
|
+
transition: "opacity " + motionDurationMid + ", color " + motionDurationMid,
|
677
|
+
'> *': {
|
678
|
+
verticalAlign: 'top'
|
679
|
+
},
|
680
|
+
'&:hover': {
|
681
|
+
color: colorTextDescription
|
682
|
+
}
|
683
|
+
}), _defineProperty(_extends4, componentCls + "-separator", (_ref9 = {
|
684
|
+
position: 'relative',
|
685
|
+
display: 'inline-block',
|
686
|
+
width: '1em',
|
687
|
+
height: fontSizeLG,
|
688
|
+
color: colorTextDisabled,
|
689
|
+
fontSize: fontSizeLG,
|
690
|
+
verticalAlign: 'top',
|
691
|
+
cursor: 'default'
|
692
|
+
}, _defineProperty(_ref9, componentCls + "-focused &", {
|
693
|
+
color: colorTextDescription
|
694
|
+
}), _defineProperty(_ref9, componentCls + "-range-separator &", _defineProperty({}, componentCls + "-disabled &", {
|
695
|
+
cursor: 'not-allowed'
|
696
|
+
})), _ref9)), _defineProperty(_extends4, '&-range', (_range = {
|
697
|
+
position: 'relative',
|
698
|
+
display: 'inline-flex'
|
699
|
+
}, _defineProperty(_range, componentCls + "-clear", {
|
700
|
+
insetInlineEnd: inputPaddingHorizontal
|
701
|
+
}), _defineProperty(_range, '&:hover', _defineProperty({}, componentCls + "-clear", {
|
702
|
+
opacity: 1
|
703
|
+
})), _defineProperty(_range, componentCls + "-active-bar", {
|
704
|
+
bottom: -lineWidth,
|
705
|
+
height: lineWidthBold,
|
706
|
+
marginInlineStart: inputPaddingHorizontal,
|
707
|
+
background: colorPrimary,
|
708
|
+
opacity: 0,
|
709
|
+
transition: "all " + motionDurationSlow + " ease-out",
|
710
|
+
pointerEvents: 'none'
|
711
|
+
}), _defineProperty(_range, "&" + componentCls + "-focused", _defineProperty({}, componentCls + "-active-bar", {
|
712
|
+
opacity: 1
|
713
|
+
})), _defineProperty(_range, componentCls + "-range-separator", {
|
714
|
+
alignItems: 'center',
|
715
|
+
padding: "0 " + paddingXS + "px",
|
716
|
+
lineHeight: 1
|
717
|
+
}), _defineProperty(_range, "&" + componentCls + "-small", (_ref11 = {}, _defineProperty(_ref11, componentCls + "-clear", {
|
718
|
+
insetInlineEnd: inputPaddingHorizontalSM
|
719
|
+
}), _defineProperty(_ref11, componentCls + "-active-bar", {
|
720
|
+
marginInlineStart: inputPaddingHorizontalSM
|
721
|
+
}), _ref11)), _range)), _defineProperty(_extends4, '&-dropdown', _extends(_extends(_extends({}, resetComponent(token)), genPanelStyle(token)), (_extends3 = {
|
722
|
+
position: 'absolute',
|
723
|
+
// Fix incorrect position of picker popup
|
724
|
+
// https://github.com/ant-design/ant-design/issues/35590
|
725
|
+
top: -9999,
|
726
|
+
left: {
|
727
|
+
_skip_check_: true,
|
728
|
+
value: -9999
|
729
|
+
},
|
730
|
+
zIndex: zIndexPopup,
|
731
|
+
'&&-hidden': {
|
732
|
+
display: 'none'
|
733
|
+
},
|
734
|
+
'&&-placement-bottomLeft': _defineProperty({}, componentCls + "-range-arrow", {
|
735
|
+
top: 0,
|
736
|
+
display: 'block',
|
737
|
+
transform: 'translateY(-100%)'
|
738
|
+
}),
|
739
|
+
'&&-placement-topLeft': _defineProperty({}, componentCls + "-range-arrow", {
|
740
|
+
bottom: 0,
|
741
|
+
display: 'block',
|
742
|
+
transform: 'translateY(100%) rotate(180deg)'
|
743
|
+
})
|
744
|
+
}, _defineProperty(_extends3, "&" + antCls + "-slide-up-enter" + antCls + "-slide-up-enter-active&-placement-topLeft,\n &" + antCls + "-slide-up-enter" + antCls + "-slide-up-enter-active&-placement-topRight,\n &" + antCls + "-slide-up-appear" + antCls + "-slide-up-appear-active&-placement-topLeft,\n &" + antCls + "-slide-up-appear" + antCls + "-slide-up-appear-active&-placement-topRight", {
|
745
|
+
animationName: slideDownIn
|
746
|
+
}), _defineProperty(_extends3, "&" + antCls + "-slide-up-enter" + antCls + "-slide-up-enter-active&-placement-bottomLeft,\n &" + antCls + "-slide-up-enter" + antCls + "-slide-up-enter-active&-placement-bottomRight,\n &" + antCls + "-slide-up-appear" + antCls + "-slide-up-appear-active&-placement-bottomLeft,\n &" + antCls + "-slide-up-appear" + antCls + "-slide-up-appear-active&-placement-bottomRight", {
|
747
|
+
animationName: slideUpIn
|
748
|
+
}), _defineProperty(_extends3, "&" + antCls + "-slide-up-leave" + antCls + "-slide-up-leave-active&-placement-topLeft,\n &" + antCls + "-slide-up-leave" + antCls + "-slide-up-leave-active&-placement-topRight", {
|
749
|
+
animationName: slideDownOut
|
750
|
+
}), _defineProperty(_extends3, "&" + antCls + "-slide-up-leave" + antCls + "-slide-up-leave-active&-placement-bottomLeft,\n &" + antCls + "-slide-up-leave" + antCls + "-slide-up-leave-active&-placement-bottomRight", {
|
751
|
+
animationName: slideUpOut
|
752
|
+
}), _defineProperty(_extends3, componentCls + "-panel > " + componentCls + "-time-panel", {
|
753
|
+
paddingTop: paddingXXS
|
754
|
+
}), _defineProperty(_extends3, componentCls + "-ranges", (_ref12 = {
|
755
|
+
marginBottom: 0,
|
756
|
+
padding: paddingXXS + "px " + paddingSM + "px",
|
757
|
+
overflow: 'hidden',
|
758
|
+
lineHeight: pickerTextHeight - 2 * lineWidth - paddingXS / 2 + "px",
|
759
|
+
textAlign: 'start',
|
760
|
+
listStyle: 'none',
|
761
|
+
display: 'flex',
|
762
|
+
justifyContent: 'space-between',
|
763
|
+
'> li': {
|
764
|
+
display: 'inline-block'
|
765
|
+
}
|
766
|
+
}, _defineProperty(_ref12, componentCls + "-preset > " + antCls + "-tag-blue", {
|
767
|
+
color: colorPrimary,
|
768
|
+
background: controlItemBgActive,
|
769
|
+
borderColor: colorPrimaryBorder,
|
770
|
+
cursor: 'pointer'
|
771
|
+
}), _defineProperty(_ref12, componentCls + "-ok", {
|
772
|
+
marginInlineStart: 'auto'
|
773
|
+
}), _ref12)), _defineProperty(_extends3, componentCls + "-range-wrapper", {
|
774
|
+
display: 'flex',
|
775
|
+
position: 'relative'
|
776
|
+
}), _defineProperty(_extends3, componentCls + "-range-arrow", _extends({
|
777
|
+
position: 'absolute',
|
778
|
+
zIndex: 1,
|
779
|
+
display: 'none',
|
780
|
+
marginInlineStart: inputPaddingHorizontal * 1.5,
|
781
|
+
transition: "left " + motionDurationSlow + " ease-out"
|
782
|
+
}, roundedArrow(sizePopupArrow, borderRadiusXS, borderRadiusOuter, colorBgElevated, boxShadowPopoverArrow))), _defineProperty(_extends3, componentCls + "-panel-container", (_ref15 = {
|
783
|
+
overflow: 'hidden',
|
784
|
+
verticalAlign: 'top',
|
785
|
+
background: colorBgElevated,
|
786
|
+
borderRadius: borderRadiusLG,
|
787
|
+
boxShadow: boxShadowSecondary,
|
788
|
+
transition: "margin " + motionDurationSlow
|
789
|
+
}, _defineProperty(_ref15, componentCls + "-panel-layout", {
|
790
|
+
display: 'flex',
|
791
|
+
flexWrap: 'nowrap',
|
792
|
+
alignItems: 'stretch'
|
793
|
+
}), _defineProperty(_ref15, componentCls + "-presets", {
|
794
|
+
display: 'flex',
|
795
|
+
flexDirection: 'column',
|
796
|
+
minWidth: presetsWidth,
|
797
|
+
maxWidth: presetsMaxWidth,
|
798
|
+
ul: {
|
799
|
+
height: 0,
|
800
|
+
flex: 'auto',
|
801
|
+
listStyle: 'none',
|
802
|
+
overflow: 'auto',
|
803
|
+
margin: 0,
|
804
|
+
padding: paddingXS,
|
805
|
+
borderInlineEnd: lineWidth + "px " + lineType + " " + colorSplit,
|
806
|
+
li: _extends(_extends({}, textEllipsis), {
|
807
|
+
borderRadius: borderRadiusSM,
|
808
|
+
paddingInline: paddingXS,
|
809
|
+
paddingBlock: (controlHeightSM - Math.round(fontSize * lineHeight)) / 2,
|
810
|
+
cursor: 'pointer',
|
811
|
+
transition: "all " + motionDurationSlow,
|
812
|
+
'+ li': {
|
813
|
+
marginTop: marginXS
|
814
|
+
},
|
815
|
+
'&:hover': {
|
816
|
+
background: controlItemBgHover
|
817
|
+
}
|
818
|
+
})
|
819
|
+
}
|
820
|
+
}), _defineProperty(_ref15, componentCls + "-panels", (_ref13 = {
|
821
|
+
display: 'inline-flex',
|
822
|
+
flexWrap: 'nowrap',
|
823
|
+
direction: 'ltr'
|
824
|
+
}, _defineProperty(_ref13, componentCls + "-panel", {
|
825
|
+
borderWidth: "0 0 " + lineWidth + "px"
|
826
|
+
}), _defineProperty(_ref13, '&:last-child', _defineProperty({}, componentCls + "-panel", {
|
827
|
+
borderWidth: 0
|
828
|
+
})), _ref13)), _defineProperty(_ref15, componentCls + "-panel", (_ref14 = {
|
829
|
+
verticalAlign: 'top',
|
830
|
+
background: 'transparent',
|
831
|
+
borderRadius: 0,
|
832
|
+
borderWidth: 0
|
833
|
+
}, _defineProperty(_ref14, componentCls + "-content,\n table", {
|
834
|
+
textAlign: 'center'
|
835
|
+
}), _defineProperty(_ref14, '&-focused', {
|
836
|
+
borderColor: colorBorder
|
837
|
+
}), _ref14)), _ref15)), _extends3))), _defineProperty(_extends4, '&-dropdown-range', {
|
838
|
+
padding: sizePopupArrow * 2 / 3 + "px 0",
|
839
|
+
'&-hidden': {
|
840
|
+
display: 'none'
|
841
|
+
}
|
842
|
+
}), _defineProperty(_extends4, '&-rtl', (_rtl2 = {
|
843
|
+
direction: 'rtl'
|
844
|
+
}, _defineProperty(_rtl2, componentCls + "-separator", {
|
845
|
+
transform: 'rotate(180deg)'
|
846
|
+
}), _defineProperty(_rtl2, componentCls + "-footer", {
|
847
|
+
'&-extra': {
|
848
|
+
direction: 'rtl'
|
849
|
+
}
|
850
|
+
}), _rtl2)), _extends4))), // Follow code may reuse in other components
|
851
|
+
initSlideMotion(token, 'slide-up'), initSlideMotion(token, 'slide-down'), initMoveMotion(token, 'move-up'), initMoveMotion(token, 'move-down')];
|
852
|
+
};
|
853
|
+
|
854
|
+
export var initPickerPanelToken = function initPickerPanelToken(token) {
|
855
|
+
var pickerTimePanelCellHeight = 28;
|
856
|
+
var componentCls = token.componentCls,
|
857
|
+
controlHeightLG = token.controlHeightLG,
|
858
|
+
controlHeightSM = token.controlHeightSM,
|
859
|
+
colorPrimary = token.colorPrimary,
|
860
|
+
paddingXXS = token.paddingXXS;
|
861
|
+
return {
|
862
|
+
pickerCellInnerCls: componentCls + "-cell-inner",
|
863
|
+
pickerTextHeight: controlHeightLG,
|
864
|
+
pickerPanelCellWidth: controlHeightSM * 1.5,
|
865
|
+
pickerPanelCellHeight: controlHeightSM,
|
866
|
+
pickerDateHoverRangeBorderColor: new TinyColor(colorPrimary).lighten(20).toHexString(),
|
867
|
+
pickerBasicCellHoverWithRangeColor: new TinyColor(colorPrimary).lighten(35).toHexString(),
|
868
|
+
pickerPanelWithoutTimeCellHeight: controlHeightLG * 1.65,
|
869
|
+
pickerYearMonthCellWidth: controlHeightLG * 1.5,
|
870
|
+
pickerTimePanelColumnHeight: pickerTimePanelCellHeight * 8,
|
871
|
+
pickerTimePanelColumnWidth: controlHeightLG * 1.4,
|
872
|
+
pickerTimePanelCellHeight: pickerTimePanelCellHeight,
|
873
|
+
pickerQuarterPanelContentHeight: controlHeightLG * 1.4,
|
874
|
+
pickerCellPaddingVertical: paddingXXS,
|
875
|
+
pickerCellBorderGap: 2,
|
876
|
+
pickerControlIconSize: 7,
|
877
|
+
pickerControlIconBorderWidth: 1.5
|
878
|
+
};
|
879
|
+
}; // ============================== Export ==============================
|
880
|
+
|
881
|
+
export default genComponentStyleHook('DatePicker', function (token) {
|
882
|
+
var pickerToken = mergeToken(initInputToken(token), initPickerPanelToken(token));
|
883
|
+
return [genPickerStyle(pickerToken), genPickerStatusStyle(pickerToken)];
|
884
|
+
}, function (token) {
|
885
|
+
return {
|
886
|
+
presetsWidth: 120,
|
887
|
+
presetsMaxWidth: 200,
|
888
|
+
zIndexPopup: token.zIndexPopupBase + 50
|
889
|
+
};
|
890
|
+
});
|