tntd 2.7.30 → 2.7.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/ellipsis/index.js +2 -0
- package/es/ellipsis/index.js.map +1 -1
- package/lib/ellipsis/index.d.ts.map +1 -1
- package/lib/ellipsis/index.js +2 -0
- package/lib/ellipsis/index.js.map +1 -1
- package/package.json +1 -1
- package/themes/common/index.less +3 -3
- package/es/affix/style/index.less +0 -6
- package/es/alert/style/index.less +0 -188
- package/es/anchor/style/index.less +0 -82
- package/es/auto-complete/style/index.less +0 -92
- package/es/avatar/style/index.less +0 -59
- package/es/back-top/style/index.less +0 -42
- package/es/back-top/style/responsive.less +0 -11
- package/es/badge/style/index.less +0 -190
- package/es/breadcrumb/style/index.less +0 -51
- package/es/button/style/index.less +0 -224
- package/es/button/style/mixin.less +0 -357
- package/es/calendar/style/index.less +0 -278
- package/es/card/style/index.less +0 -263
- package/es/card/style/size.less +0 -25
- package/es/carousel/style/index.less +0 -238
- package/es/cascader/style/index.less +0 -227
- package/es/checkbox/style/index.less +0 -4
- package/es/checkbox/style/mixin.less +0 -220
- package/es/collapse/style/index.less +0 -134
- package/es/comment/style/index.less +0 -93
- package/es/config-provider/style/index.less +0 -2
- package/es/date-picker/style/Calendar.less +0 -402
- package/es/date-picker/style/DecadePanel.less +0 -81
- package/es/date-picker/style/MonthPanel.less +0 -86
- package/es/date-picker/style/MonthPicker.less +0 -11
- package/es/date-picker/style/Picker.less +0 -113
- package/es/date-picker/style/RangePicker.less +0 -248
- package/es/date-picker/style/TimePicker.less +0 -151
- package/es/date-picker/style/WeekPicker.less +0 -21
- package/es/date-picker/style/YearPanel.less +0 -85
- package/es/date-picker/style/index.less +0 -17
- package/es/descriptions/style/index.less +0 -144
- package/es/divider/style/index.less +0 -109
- package/es/drawer/style/drawer.less +0 -230
- package/es/drawer/style/index.less +0 -3
- package/es/dropdown/style/index.less +0 -282
- package/es/empty/style/index.less +0 -52
- package/es/form/style/index.less +0 -653
- package/es/form/style/mixin.less +0 -126
- package/es/grid-v4/style/index.less +0 -124
- package/es/grid-v4/style/mixin.less +0 -57
- package/es/grid-v4/style/rtl.less +0 -69
- package/es/handle/handle.js +0 -138
- package/es/handle/handle.js.map +0 -1
- package/es/icon/style/index.less +0 -4
- package/es/input/style/index.less +0 -57
- package/es/input/style/mixin.less +0 -449
- package/es/input/style/search-input.less +0 -34
- package/es/input-number/style/index.less +0 -179
- package/es/layout/style/index.less +0 -124
- package/es/layout/style/light.less +0 -15
- package/es/list/style/bordered.less +0 -41
- package/es/list/style/index.less +0 -234
- package/es/list/style/responsive.less +0 -40
- package/es/locale-provider/style/index.less +0 -2
- package/es/mention/index.js +0 -4
- package/es/mention/index.js.map +0 -1
- package/es/mentions/style/index.less +0 -164
- package/es/menu/style/dark.less +0 -139
- package/es/menu/style/index.less +0 -515
- package/es/message/style/index.less +0 -75
- package/es/modal/style/confirm.less +0 -78
- package/es/modal/style/index.less +0 -4
- package/es/modal/style/modal.less +0 -165
- package/es/notification/style/index.less +0 -199
- package/es/page-header/style/index.less +0 -119
- package/es/pagination/style/index.less +0 -400
- package/es/popover/style/index.less +0 -205
- package/es/progress/style/index.less +0 -182
- package/es/radio/style/index.less +0 -327
- package/es/rate/style/index.less +0 -85
- package/es/result/style/index.less +0 -71
- package/es/select/style/index.less +0 -604
- package/es/skeleton/style/index.less +0 -130
- package/es/slider/style/index.less +0 -197
- package/es/spin/style/index.less +0 -214
- package/es/statistic/style/index.less +0 -40
- package/es/steps/style/compatibility.less +0 -50
- package/es/steps/style/custom-icon.less +0 -31
- package/es/steps/style/label-placement.less +0 -38
- package/es/steps/style/progress-dot.less +0 -80
- package/es/steps/style/vertical.less +0 -74
- package/es/style/color/bezierEasing.less +0 -110
- package/es/style/color/colorPalette.less +0 -75
- package/es/style/color/colors.less +0 -149
- package/es/style/color/tinyColor.less +0 -1184
- package/es/style/core/base.less +0 -510
- package/es/style/core/iconfont.less +0 -19
- package/es/style/core/index.less +0 -4
- package/es/style/core/motion/fade.less +0 -31
- package/es/style/core/motion/move.less +0 -120
- package/es/style/core/motion/other.less +0 -40
- package/es/style/core/motion/slide.less +0 -120
- package/es/style/core/motion/swing.less +0 -34
- package/es/style/core/motion/zoom.less +0 -162
- package/es/style/core/motion.less +0 -20
- package/es/style/index.less +0 -2
- package/es/style/mixins/clearfix.less +0 -13
- package/es/style/mixins/compatibility.less +0 -22
- package/es/style/mixins/iconfont.less +0 -43
- package/es/style/mixins/index.less +0 -10
- package/es/style/mixins/motion.less +0 -35
- package/es/style/mixins/operation-unit.less +0 -18
- package/es/style/mixins/reset.less +0 -13
- package/es/style/mixins/size.less +0 -10
- package/es/style/mixins/typography.less +0 -49
- package/es/style/themes/default.less +0 -699
- package/es/style/themes/index.less +0 -1
- package/es/style/v2-compatible-reset.less +0 -51
- package/es/switch/style/index.less +0 -178
- package/es/table/style/index.less +0 -800
- package/es/table/style/size.less +0 -179
- package/es/tabs/style/card-style.less +0 -186
- package/es/tabs/style/index.less +0 -436
- package/es/tag/style/index.less +0 -106
- package/es/time-picker/style/index.less +0 -246
- package/es/timeline/style/index.less +0 -167
- package/es/tntd-form/TntdForm/components/Item.js +0 -55
- package/es/tntd-form/TntdForm/components/Item.js.map +0 -1
- package/es/tntd-form/TntdForm/components/ItemComp.js +0 -186
- package/es/tntd-form/TntdForm/components/ItemComp.js.map +0 -1
- package/es/tntd-form/TntdForm/components/List.js +0 -102
- package/es/tntd-form/TntdForm/components/List.js.map +0 -1
- package/es/tntd-form/TntdForm/index.js +0 -55
- package/es/tntd-form/TntdForm/index.js.map +0 -1
- package/es/tntd-form/TntdForm/interface.js +0 -1
- package/es/tntd-form/TntdForm/interface.js.map +0 -1
- package/es/tntd-form/TntdForm/store.js +0 -2
- package/es/tntd-form/TntdForm/store.js.map +0 -1
- package/es/tntd-form/TntdForm/utils.js +0 -219
- package/es/tntd-form/TntdForm/utils.js.map +0 -1
- package/es/tntd-form/_util/motion.js +0 -47
- package/es/tntd-form/_util/motion.js.map +0 -1
- package/es/tntd-form/_util/reactNode.js +0 -16
- package/es/tntd-form/_util/reactNode.js.map +0 -1
- package/es/tntd-form/_util/scrollTo.js +0 -35
- package/es/tntd-form/_util/scrollTo.js.map +0 -1
- package/es/tntd-form/_util/type.js +0 -3
- package/es/tntd-form/_util/type.js.map +0 -1
- package/es/tntd-form/_util/warning.js +0 -5
- package/es/tntd-form/_util/warning.js.map +0 -1
- package/es/tntd-form/_util/wave.js +0 -168
- package/es/tntd-form/_util/wave.js.map +0 -1
- package/es/tntd-form/tntd-form.stories.js +0 -836
- package/es/tntd-form/tntd-form.stories.js.map +0 -1
- package/es/tntd-select/_util/DisabledContext.js +0 -12
- package/es/tntd-select/_util/DisabledContext.js.map +0 -1
- package/es/tntd-select/_util/FormItemInputContext.js +0 -2
- package/es/tntd-select/_util/FormItemInputContext.js.map +0 -1
- package/es/tntd-select/_util/PurePanel.js +0 -66
- package/es/tntd-select/_util/PurePanel.js.map +0 -1
- package/es/tntd-select/_util/SizeContext.js +0 -2
- package/es/tntd-select/_util/SizeContext.js.map +0 -1
- package/es/tntd-select/_util/context.js +0 -12
- package/es/tntd-select/_util/context.js.map +0 -1
- package/es/tntd-select/_util/defaultRenderEmpty.js +0 -31
- package/es/tntd-select/_util/defaultRenderEmpty.js.map +0 -1
- package/es/tntd-select/_util/getIcons.js +0 -74
- package/es/tntd-select/_util/getIcons.js.map +0 -1
- package/es/tntd-select/_util/interface.js +0 -4
- package/es/tntd-select/_util/interface.js.map +0 -1
- package/es/tntd-select/_util/motion.js +0 -47
- package/es/tntd-select/_util/motion.js.map +0 -1
- package/es/tntd-select/_util/type.js +0 -3
- package/es/tntd-select/_util/type.js.map +0 -1
- package/es/tntd-select/_util/useCompactItemContext.js +0 -26
- package/es/tntd-select/_util/useCompactItemContext.js.map +0 -1
- package/es/tntd-select/_util/warning.js +0 -14
- package/es/tntd-select/_util/warning.js.map +0 -1
- package/es/tntd-select/rc-select/BaseSelect.js +0 -524
- package/es/tntd-select/rc-select/BaseSelect.js.map +0 -1
- package/es/tntd-select/rc-select/OptGroup.js +0 -4
- package/es/tntd-select/rc-select/OptGroup.js.map +0 -1
- package/es/tntd-select/rc-select/Option.js +0 -4
- package/es/tntd-select/rc-select/Option.js.map +0 -1
- package/es/tntd-select/rc-select/OptionList.js +0 -346
- package/es/tntd-select/rc-select/OptionList.js.map +0 -1
- package/es/tntd-select/rc-select/Select.js +0 -440
- package/es/tntd-select/rc-select/Select.js.map +0 -1
- package/es/tntd-select/rc-select/SelectContext.js +0 -3
- package/es/tntd-select/rc-select/SelectContext.js.map +0 -1
- package/es/tntd-select/rc-select/SelectTrigger.js +0 -130
- package/es/tntd-select/rc-select/SelectTrigger.js.map +0 -1
- package/es/tntd-select/rc-select/Selector/Input.js +0 -103
- package/es/tntd-select/rc-select/Selector/Input.js.map +0 -1
- package/es/tntd-select/rc-select/Selector/MultipleSelector.js +0 -171
- package/es/tntd-select/rc-select/Selector/MultipleSelector.js.map +0 -1
- package/es/tntd-select/rc-select/Selector/SingleSelector.js +0 -98
- package/es/tntd-select/rc-select/Selector/SingleSelector.js.map +0 -1
- package/es/tntd-select/rc-select/Selector/index.js +0 -158
- package/es/tntd-select/rc-select/Selector/index.js.map +0 -1
- package/es/tntd-select/rc-select/TransBtn.js +0 -36
- package/es/tntd-select/rc-select/TransBtn.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useAllowClear.js +0 -24
- package/es/tntd-select/rc-select/hooks/useAllowClear.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useBaseProps.js +0 -9
- package/es/tntd-select/rc-select/hooks/useBaseProps.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useCache.js +0 -38
- package/es/tntd-select/rc-select/hooks/useCache.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useDelayReset.js +0 -23
- package/es/tntd-select/rc-select/hooks/useDelayReset.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useFilterOptions.js +0 -55
- package/es/tntd-select/rc-select/hooks/useFilterOptions.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useId.js +0 -26
- package/es/tntd-select/rc-select/hooks/useId.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useLayoutEffect.js +0 -16
- package/es/tntd-select/rc-select/hooks/useLayoutEffect.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useLock.js +0 -25
- package/es/tntd-select/rc-select/hooks/useLock.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useOptions.js +0 -43
- package/es/tntd-select/rc-select/hooks/useOptions.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useRefFunc.js +0 -13
- package/es/tntd-select/rc-select/hooks/useRefFunc.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useSelectTriggerControl.js +0 -28
- package/es/tntd-select/rc-select/hooks/useSelectTriggerControl.js.map +0 -1
- package/es/tntd-select/rc-select/index.js +0 -7
- package/es/tntd-select/rc-select/index.js.map +0 -1
- package/es/tntd-select/rc-select/interface.js +0 -1
- package/es/tntd-select/rc-select/interface.js.map +0 -1
- package/es/tntd-select/rc-select/utils/commonUtil.js +0 -30
- package/es/tntd-select/rc-select/utils/commonUtil.js.map +0 -1
- package/es/tntd-select/rc-select/utils/keyUtil.js +0 -9
- package/es/tntd-select/rc-select/utils/keyUtil.js.map +0 -1
- package/es/tntd-select/rc-select/utils/legacyUtil.js +0 -55
- package/es/tntd-select/rc-select/utils/legacyUtil.js.map +0 -1
- package/es/tntd-select/rc-select/utils/platformUtil.js +0 -4
- package/es/tntd-select/rc-select/utils/platformUtil.js.map +0 -1
- package/es/tntd-select/rc-select/utils/valueUtil.js +0 -112
- package/es/tntd-select/rc-select/utils/valueUtil.js.map +0 -1
- package/es/tntd-select/rc-select/utils/warningPropsUtil.js +0 -112
- package/es/tntd-select/rc-select/utils/warningPropsUtil.js.map +0 -1
- package/es/tooltip/style/index.less +0 -187
- package/es/transfer/style/customize.less +0 -62
- package/es/transfer/style/index.less +0 -191
- package/es/tree/style/directory.less +0 -95
- package/es/tree/style/index.less +0 -280
- package/es/tree/style/mixin.less +0 -29
- package/es/tree-select/style/index.less +0 -191
- package/es/typography/style/index.less +0 -204
- package/es/upload/style/index.less +0 -542
- package/lib/affix/style/index.less +0 -6
- package/lib/alert/style/index.less +0 -188
- package/lib/anchor/style/index.less +0 -82
- package/lib/auto-complete/style/index.less +0 -92
- package/lib/avatar/style/index.less +0 -59
- package/lib/back-top/style/index.less +0 -42
- package/lib/back-top/style/responsive.less +0 -11
- package/lib/badge/style/index.less +0 -190
- package/lib/breadcrumb/style/index.less +0 -51
- package/lib/button/style/index.less +0 -224
- package/lib/button/style/mixin.less +0 -357
- package/lib/calendar/style/index.less +0 -278
- package/lib/card/style/index.less +0 -263
- package/lib/card/style/size.less +0 -25
- package/lib/carousel/style/index.less +0 -238
- package/lib/cascader/style/index.less +0 -227
- package/lib/checkbox/style/index.less +0 -4
- package/lib/checkbox/style/mixin.less +0 -220
- package/lib/collapse/style/index.less +0 -134
- package/lib/comment/style/index.less +0 -93
- package/lib/config-provider/style/index.less +0 -2
- package/lib/date-picker/style/Calendar.less +0 -402
- package/lib/date-picker/style/DecadePanel.less +0 -81
- package/lib/date-picker/style/MonthPanel.less +0 -86
- package/lib/date-picker/style/MonthPicker.less +0 -11
- package/lib/date-picker/style/Picker.less +0 -113
- package/lib/date-picker/style/RangePicker.less +0 -248
- package/lib/date-picker/style/TimePicker.less +0 -151
- package/lib/date-picker/style/WeekPicker.less +0 -21
- package/lib/date-picker/style/YearPanel.less +0 -85
- package/lib/date-picker/style/index.less +0 -17
- package/lib/descriptions/style/index.less +0 -144
- package/lib/divider/style/index.less +0 -109
- package/lib/drawer/style/drawer.less +0 -230
- package/lib/drawer/style/index.less +0 -3
- package/lib/dropdown/style/index.less +0 -282
- package/lib/empty/style/index.less +0 -52
- package/lib/form/style/index.less +0 -653
- package/lib/form/style/mixin.less +0 -126
- package/lib/grid-v4/style/index.less +0 -124
- package/lib/grid-v4/style/mixin.less +0 -57
- package/lib/grid-v4/style/rtl.less +0 -69
- package/lib/handle/handle.d.ts +0 -3
- package/lib/handle/handle.d.ts.map +0 -1
- package/lib/handle/handle.js +0 -181
- package/lib/handle/handle.js.map +0 -1
- package/lib/icon/style/index.less +0 -4
- package/lib/input/style/index.less +0 -57
- package/lib/input/style/mixin.less +0 -449
- package/lib/input/style/search-input.less +0 -34
- package/lib/input-number/style/index.less +0 -179
- package/lib/layout/style/index.less +0 -124
- package/lib/layout/style/light.less +0 -15
- package/lib/list/style/bordered.less +0 -41
- package/lib/list/style/index.less +0 -234
- package/lib/list/style/responsive.less +0 -40
- package/lib/locale-provider/style/index.less +0 -2
- package/lib/mention/index.js +0 -25
- package/lib/mentions/style/index.less +0 -164
- package/lib/menu/style/dark.less +0 -139
- package/lib/menu/style/index.less +0 -515
- package/lib/message/style/index.less +0 -75
- package/lib/modal/style/confirm.less +0 -78
- package/lib/modal/style/index.less +0 -4
- package/lib/modal/style/modal.less +0 -165
- package/lib/notification/style/index.less +0 -199
- package/lib/page-header/style/index.less +0 -119
- package/lib/pagination/style/index.less +0 -400
- package/lib/popover/style/index.less +0 -205
- package/lib/progress/style/index.less +0 -182
- package/lib/radio/style/index.less +0 -327
- package/lib/rate/style/index.less +0 -85
- package/lib/result/style/index.less +0 -71
- package/lib/select/style/index.less +0 -604
- package/lib/skeleton/style/index.less +0 -130
- package/lib/slider/style/index.less +0 -197
- package/lib/spin/style/index.less +0 -214
- package/lib/statistic/style/index.less +0 -40
- package/lib/steps/style/compatibility.less +0 -50
- package/lib/steps/style/custom-icon.less +0 -31
- package/lib/steps/style/label-placement.less +0 -38
- package/lib/steps/style/progress-dot.less +0 -80
- package/lib/steps/style/vertical.less +0 -74
- package/lib/style/color/bezierEasing.less +0 -110
- package/lib/style/color/colorPalette.less +0 -75
- package/lib/style/color/colors.less +0 -149
- package/lib/style/color/tinyColor.less +0 -1184
- package/lib/style/core/base.less +0 -510
- package/lib/style/core/iconfont.less +0 -19
- package/lib/style/core/index.less +0 -4
- package/lib/style/core/motion/fade.less +0 -31
- package/lib/style/core/motion/move.less +0 -120
- package/lib/style/core/motion/other.less +0 -40
- package/lib/style/core/motion/slide.less +0 -120
- package/lib/style/core/motion/swing.less +0 -34
- package/lib/style/core/motion/zoom.less +0 -162
- package/lib/style/core/motion.less +0 -20
- package/lib/style/index.less +0 -2
- package/lib/style/mixins/clearfix.less +0 -13
- package/lib/style/mixins/compatibility.less +0 -22
- package/lib/style/mixins/iconfont.less +0 -43
- package/lib/style/mixins/index.less +0 -10
- package/lib/style/mixins/motion.less +0 -35
- package/lib/style/mixins/operation-unit.less +0 -18
- package/lib/style/mixins/reset.less +0 -13
- package/lib/style/mixins/size.less +0 -10
- package/lib/style/mixins/typography.less +0 -49
- package/lib/style/themes/default.less +0 -699
- package/lib/style/themes/index.less +0 -1
- package/lib/style/v2-compatible-reset.less +0 -51
- package/lib/switch/style/index.less +0 -178
- package/lib/table/style/index.less +0 -800
- package/lib/table/style/size.less +0 -179
- package/lib/tabs/style/card-style.less +0 -186
- package/lib/tabs/style/index.less +0 -436
- package/lib/tag/style/index.less +0 -106
- package/lib/time-picker/style/index.less +0 -246
- package/lib/timeline/style/index.less +0 -167
- package/lib/tntd-form/TntdForm/components/Item.js +0 -65
- package/lib/tntd-form/TntdForm/components/ItemComp.js +0 -215
- package/lib/tntd-form/TntdForm/components/List.js +0 -123
- package/lib/tntd-form/TntdForm/index.js +0 -72
- package/lib/tntd-form/TntdForm/interface.js +0 -5
- package/lib/tntd-form/TntdForm/store.js +0 -10
- package/lib/tntd-form/TntdForm/utils.js +0 -239
- package/lib/tntd-form/_util/motion.d.ts +0 -9
- package/lib/tntd-form/_util/motion.d.ts.map +0 -1
- package/lib/tntd-form/_util/motion.js +0 -59
- package/lib/tntd-form/_util/motion.js.map +0 -1
- package/lib/tntd-form/_util/reactNode.d.ts +0 -9
- package/lib/tntd-form/_util/reactNode.d.ts.map +0 -1
- package/lib/tntd-form/_util/reactNode.js +0 -27
- package/lib/tntd-form/_util/reactNode.js.map +0 -1
- package/lib/tntd-form/_util/scrollTo.d.ts +0 -1
- package/lib/tntd-form/_util/scrollTo.d.ts.map +0 -1
- package/lib/tntd-form/_util/scrollTo.js +0 -35
- package/lib/tntd-form/_util/scrollTo.js.map +0 -1
- package/lib/tntd-form/_util/type.d.ts +0 -4
- package/lib/tntd-form/_util/type.d.ts.map +0 -1
- package/lib/tntd-form/_util/type.js +0 -21
- package/lib/tntd-form/_util/type.js.map +0 -1
- package/lib/tntd-form/_util/warning.d.ts +0 -5
- package/lib/tntd-form/_util/warning.d.ts.map +0 -1
- package/lib/tntd-form/_util/warning.js +0 -20
- package/lib/tntd-form/_util/warning.js.map +0 -1
- package/lib/tntd-form/_util/wave.d.ts +0 -1
- package/lib/tntd-form/_util/wave.d.ts.map +0 -1
- package/lib/tntd-form/_util/wave.js +0 -168
- package/lib/tntd-form/_util/wave.js.map +0 -1
- package/lib/tntd-form/tntd-form.stories.d.ts +0 -33
- package/lib/tntd-form/tntd-form.stories.d.ts.map +0 -1
- package/lib/tntd-form/tntd-form.stories.js +0 -943
- package/lib/tntd-form/tntd-form.stories.js.map +0 -1
- package/lib/tntd-select/_util/DisabledContext.d.ts +0 -10
- package/lib/tntd-select/_util/DisabledContext.d.ts.map +0 -1
- package/lib/tntd-select/_util/DisabledContext.js +0 -22
- package/lib/tntd-select/_util/DisabledContext.js.map +0 -1
- package/lib/tntd-select/_util/FormItemInputContext.d.ts +0 -4
- package/lib/tntd-select/_util/FormItemInputContext.d.ts.map +0 -1
- package/lib/tntd-select/_util/FormItemInputContext.js +0 -12
- package/lib/tntd-select/_util/FormItemInputContext.js.map +0 -1
- package/lib/tntd-select/_util/PurePanel.d.ts +0 -9
- package/lib/tntd-select/_util/PurePanel.d.ts.map +0 -1
- package/lib/tntd-select/_util/PurePanel.js +0 -90
- package/lib/tntd-select/_util/PurePanel.js.map +0 -1
- package/lib/tntd-select/_util/SizeContext.d.ts +0 -4
- package/lib/tntd-select/_util/SizeContext.d.ts.map +0 -1
- package/lib/tntd-select/_util/SizeContext.js +0 -12
- package/lib/tntd-select/_util/SizeContext.js.map +0 -1
- package/lib/tntd-select/_util/context.d.ts +0 -42
- package/lib/tntd-select/_util/context.d.ts.map +0 -1
- package/lib/tntd-select/_util/context.js +0 -22
- package/lib/tntd-select/_util/context.js.map +0 -1
- package/lib/tntd-select/_util/defaultRenderEmpty.d.ts +0 -5
- package/lib/tntd-select/_util/defaultRenderEmpty.d.ts.map +0 -1
- package/lib/tntd-select/_util/defaultRenderEmpty.js +0 -44
- package/lib/tntd-select/_util/defaultRenderEmpty.js.map +0 -1
- package/lib/tntd-select/_util/getIcons.d.ts +0 -25
- package/lib/tntd-select/_util/getIcons.d.ts.map +0 -1
- package/lib/tntd-select/_util/getIcons.js +0 -84
- package/lib/tntd-select/_util/getIcons.js.map +0 -1
- package/lib/tntd-select/_util/interface.d.ts +0 -25
- package/lib/tntd-select/_util/interface.d.ts.map +0 -1
- package/lib/tntd-select/_util/interface.js +0 -16
- package/lib/tntd-select/_util/interface.js.map +0 -1
- package/lib/tntd-select/_util/motion.d.ts +0 -9
- package/lib/tntd-select/_util/motion.d.ts.map +0 -1
- package/lib/tntd-select/_util/motion.js +0 -59
- package/lib/tntd-select/_util/motion.js.map +0 -1
- package/lib/tntd-select/_util/type.d.ts +0 -10
- package/lib/tntd-select/_util/type.d.ts.map +0 -1
- package/lib/tntd-select/_util/type.js +0 -21
- package/lib/tntd-select/_util/type.js.map +0 -1
- package/lib/tntd-select/_util/useCompactItemContext.d.ts +0 -9
- package/lib/tntd-select/_util/useCompactItemContext.d.ts.map +0 -1
- package/lib/tntd-select/_util/useCompactItemContext.js +0 -35
- package/lib/tntd-select/_util/useCompactItemContext.js.map +0 -1
- package/lib/tntd-select/_util/warning.d.ts +0 -4
- package/lib/tntd-select/_util/warning.d.ts.map +0 -1
- package/lib/tntd-select/_util/warning.js +0 -24
- package/lib/tntd-select/_util/warning.js.map +0 -1
- package/lib/tntd-select/rc-select/BaseSelect.d.ts +0 -114
- package/lib/tntd-select/rc-select/BaseSelect.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/BaseSelect.js +0 -566
- package/lib/tntd-select/rc-select/BaseSelect.js.map +0 -1
- package/lib/tntd-select/rc-select/OptGroup.d.ts +0 -13
- package/lib/tntd-select/rc-select/OptGroup.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/OptGroup.js +0 -13
- package/lib/tntd-select/rc-select/OptGroup.js.map +0 -1
- package/lib/tntd-select/rc-select/Option.d.ts +0 -15
- package/lib/tntd-select/rc-select/Option.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/Option.js +0 -13
- package/lib/tntd-select/rc-select/Option.js.map +0 -1
- package/lib/tntd-select/rc-select/OptionList.d.ts +0 -11
- package/lib/tntd-select/rc-select/OptionList.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/OptionList.js +0 -372
- package/lib/tntd-select/rc-select/OptionList.js.map +0 -1
- package/lib/tntd-select/rc-select/Select.d.ts +0 -115
- package/lib/tntd-select/rc-select/Select.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/Select.js +0 -509
- package/lib/tntd-select/rc-select/Select.js.map +0 -1
- package/lib/tntd-select/rc-select/SelectContext.d.ts +0 -23
- package/lib/tntd-select/rc-select/SelectContext.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/SelectContext.js +0 -13
- package/lib/tntd-select/rc-select/SelectContext.js.map +0 -1
- package/lib/tntd-select/rc-select/SelectTrigger.d.ts +0 -31
- package/lib/tntd-select/rc-select/SelectTrigger.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/SelectTrigger.js +0 -149
- package/lib/tntd-select/rc-select/SelectTrigger.js.map +0 -1
- package/lib/tntd-select/rc-select/Selector/Input.d.ts +0 -27
- package/lib/tntd-select/rc-select/Selector/Input.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/Selector/Input.js +0 -110
- package/lib/tntd-select/rc-select/Selector/Input.js.map +0 -1
- package/lib/tntd-select/rc-select/Selector/MultipleSelector.d.ts +0 -17
- package/lib/tntd-select/rc-select/Selector/MultipleSelector.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/Selector/MultipleSelector.js +0 -193
- package/lib/tntd-select/rc-select/Selector/MultipleSelector.js.map +0 -1
- package/lib/tntd-select/rc-select/Selector/SingleSelector.d.ts +0 -9
- package/lib/tntd-select/rc-select/Selector/SingleSelector.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/Selector/SingleSelector.js +0 -116
- package/lib/tntd-select/rc-select/Selector/SingleSelector.js.map +0 -1
- package/lib/tntd-select/rc-select/Selector/index.d.ts +0 -83
- package/lib/tntd-select/rc-select/Selector/index.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/Selector/index.js +0 -159
- package/lib/tntd-select/rc-select/Selector/index.js.map +0 -1
- package/lib/tntd-select/rc-select/TransBtn.d.ts +0 -13
- package/lib/tntd-select/rc-select/TransBtn.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/TransBtn.js +0 -48
- package/lib/tntd-select/rc-select/TransBtn.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useAllowClear.d.ts +0 -9
- package/lib/tntd-select/rc-select/hooks/useAllowClear.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useAllowClear.js +0 -35
- package/lib/tntd-select/rc-select/hooks/useAllowClear.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useBaseProps.d.ts +0 -14
- package/lib/tntd-select/rc-select/hooks/useBaseProps.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useBaseProps.js +0 -21
- package/lib/tntd-select/rc-select/hooks/useBaseProps.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useCache.d.ts +0 -8
- package/lib/tntd-select/rc-select/hooks/useCache.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useCache.js +0 -49
- package/lib/tntd-select/rc-select/hooks/useCache.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useDelayReset.d.ts +0 -6
- package/lib/tntd-select/rc-select/hooks/useDelayReset.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useDelayReset.js +0 -44
- package/lib/tntd-select/rc-select/hooks/useDelayReset.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useFilterOptions.d.ts +0 -4
- package/lib/tntd-select/rc-select/hooks/useFilterOptions.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useFilterOptions.js +0 -72
- package/lib/tntd-select/rc-select/hooks/useFilterOptions.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useId.d.ts +0 -6
- package/lib/tntd-select/rc-select/hooks/useId.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useId.js +0 -48
- package/lib/tntd-select/rc-select/hooks/useId.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useLayoutEffect.d.ts +0 -6
- package/lib/tntd-select/rc-select/hooks/useLayoutEffect.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useLayoutEffect.js +0 -26
- package/lib/tntd-select/rc-select/hooks/useLayoutEffect.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useLock.d.ts +0 -8
- package/lib/tntd-select/rc-select/hooks/useLock.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useLock.js +0 -39
- package/lib/tntd-select/rc-select/hooks/useLock.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useOptions.d.ts +0 -12
- package/lib/tntd-select/rc-select/hooks/useOptions.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useOptions.js +0 -53
- package/lib/tntd-select/rc-select/hooks/useOptions.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useRefFunc.d.ts +0 -6
- package/lib/tntd-select/rc-select/hooks/useRefFunc.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useRefFunc.js +0 -22
- package/lib/tntd-select/rc-select/hooks/useRefFunc.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useSelectTriggerControl.d.ts +0 -2
- package/lib/tntd-select/rc-select/hooks/useSelectTriggerControl.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useSelectTriggerControl.js +0 -43
- package/lib/tntd-select/rc-select/hooks/useSelectTriggerControl.js.map +0 -1
- package/lib/tntd-select/rc-select/index.d.ts +0 -11
- package/lib/tntd-select/rc-select/index.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/index.js +0 -38
- package/lib/tntd-select/rc-select/index.js.map +0 -1
- package/lib/tntd-select/rc-select/interface.d.ts +0 -23
- package/lib/tntd-select/rc-select/interface.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/interface.js +0 -5
- package/lib/tntd-select/rc-select/interface.js.map +0 -1
- package/lib/tntd-select/rc-select/utils/commonUtil.d.ts +0 -10
- package/lib/tntd-select/rc-select/utils/commonUtil.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/utils/commonUtil.js +0 -43
- package/lib/tntd-select/rc-select/utils/commonUtil.js.map +0 -1
- package/lib/tntd-select/rc-select/utils/keyUtil.d.ts +0 -3
- package/lib/tntd-select/rc-select/utils/keyUtil.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/utils/keyUtil.js +0 -16
- package/lib/tntd-select/rc-select/utils/keyUtil.js.map +0 -1
- package/lib/tntd-select/rc-select/utils/legacyUtil.d.ts +0 -4
- package/lib/tntd-select/rc-select/utils/legacyUtil.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/utils/legacyUtil.js +0 -60
- package/lib/tntd-select/rc-select/utils/legacyUtil.js.map +0 -1
- package/lib/tntd-select/rc-select/utils/platformUtil.d.ts +0 -2
- package/lib/tntd-select/rc-select/utils/platformUtil.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/utils/platformUtil.js +0 -10
- package/lib/tntd-select/rc-select/utils/platformUtil.js.map +0 -1
- package/lib/tntd-select/rc-select/utils/valueUtil.d.ts +0 -24
- package/lib/tntd-select/rc-select/utils/valueUtil.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/utils/valueUtil.js +0 -132
- package/lib/tntd-select/rc-select/utils/valueUtil.js.map +0 -1
- package/lib/tntd-select/rc-select/utils/warningPropsUtil.d.ts +0 -5
- package/lib/tntd-select/rc-select/utils/warningPropsUtil.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/utils/warningPropsUtil.js +0 -127
- package/lib/tntd-select/rc-select/utils/warningPropsUtil.js.map +0 -1
- package/lib/tooltip/style/index.less +0 -187
- package/lib/transfer/style/customize.less +0 -62
- package/lib/transfer/style/index.less +0 -191
- package/lib/tree/style/directory.less +0 -95
- package/lib/tree/style/index.less +0 -280
- package/lib/tree/style/mixin.less +0 -29
- package/lib/tree-select/style/index.less +0 -191
- package/lib/typography/style/index.less +0 -204
- package/lib/upload/style/index.less +0 -542
package/es/form/style/index.less
DELETED
|
@@ -1,653 +0,0 @@
|
|
|
1
|
-
@import '../../style/themes/index';
|
|
2
|
-
@import '../../style/mixins/index';
|
|
3
|
-
@import '../../input/style/mixin';
|
|
4
|
-
@import '../../button/style/mixin';
|
|
5
|
-
@import '../../grid/style/mixin';
|
|
6
|
-
@import './mixin';
|
|
7
|
-
|
|
8
|
-
@form-prefix-cls: ~'@{ant-prefix}-form';
|
|
9
|
-
@form-component-height: @input-height-base;
|
|
10
|
-
@form-component-max-height: @input-height-lg;
|
|
11
|
-
@form-feedback-icon-size: @font-size-base;
|
|
12
|
-
@form-help-margin-top: (@form-component-height - @form-component-max-height) / 2 + 2px;
|
|
13
|
-
@form-explain-font-size: @font-size-base;
|
|
14
|
-
// Extends additional 1px to fix precision issue.
|
|
15
|
-
// https://github.com/ant-design/ant-design/issues/12803
|
|
16
|
-
// https://github.com/ant-design/ant-design/issues/8220
|
|
17
|
-
@form-explain-precision: 1px;
|
|
18
|
-
@form-explain-height: floor(@form-explain-font-size * @line-height-base);
|
|
19
|
-
|
|
20
|
-
.@{form-prefix-cls} {
|
|
21
|
-
.reset-component;
|
|
22
|
-
.reset-form;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.@{form-prefix-cls}-item-required::before {
|
|
26
|
-
display: inline-block;
|
|
27
|
-
margin-right: 4px;
|
|
28
|
-
color: @label-required-color;
|
|
29
|
-
font-size: @font-size-base;
|
|
30
|
-
font-family: SimSun, sans-serif;
|
|
31
|
-
line-height: 1;
|
|
32
|
-
content: '*';
|
|
33
|
-
.@{form-prefix-cls}-hide-required-mark & {
|
|
34
|
-
display: none;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.@{form-prefix-cls}-item-label > label {
|
|
39
|
-
color: @label-color;
|
|
40
|
-
|
|
41
|
-
&::after {
|
|
42
|
-
& when (@form-item-trailing-colon=true) {
|
|
43
|
-
content: ':';
|
|
44
|
-
}
|
|
45
|
-
& when not (@form-item-trailing-colon=true) {
|
|
46
|
-
content: ' ';
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
position: relative;
|
|
50
|
-
top: -0.5px;
|
|
51
|
-
margin: 0 @form-item-label-colon-margin-right 0 @form-item-label-colon-margin-left;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&.@{form-prefix-cls}-item-no-colon::after {
|
|
55
|
-
content: ' ';
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Form items
|
|
60
|
-
// You should wrap labels and controls in .@{form-prefix-cls}-item for optimum spacing
|
|
61
|
-
.@{form-prefix-cls}-item {
|
|
62
|
-
label {
|
|
63
|
-
position: relative;
|
|
64
|
-
|
|
65
|
-
> .@{iconfont-css-prefix} {
|
|
66
|
-
font-size: @font-size-base;
|
|
67
|
-
vertical-align: top;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.reset-component;
|
|
72
|
-
|
|
73
|
-
margin-bottom: @form-item-margin-bottom;
|
|
74
|
-
vertical-align: top;
|
|
75
|
-
|
|
76
|
-
&-control {
|
|
77
|
-
position: relative;
|
|
78
|
-
line-height: @form-component-max-height;
|
|
79
|
-
.clearfix;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&-children {
|
|
83
|
-
position: relative;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&-with-help {
|
|
87
|
-
margin-bottom: max(0, @form-item-margin-bottom - @form-explain-height - @form-help-margin-top);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&-label {
|
|
91
|
-
display: inline-block;
|
|
92
|
-
overflow: hidden;
|
|
93
|
-
line-height: calc(@form-component-max-height - 0.0001px);
|
|
94
|
-
white-space: nowrap;
|
|
95
|
-
text-align: right;
|
|
96
|
-
vertical-align: middle;
|
|
97
|
-
|
|
98
|
-
&-left {
|
|
99
|
-
text-align: left;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.@{ant-prefix}-switch {
|
|
104
|
-
margin: 2px 0 4px;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.@{form-prefix-cls}-explain,
|
|
109
|
-
.@{form-prefix-cls}-extra {
|
|
110
|
-
clear: both;
|
|
111
|
-
min-height: calc(@form-explain-height + @form-explain-precision);
|
|
112
|
-
margin-top: @form-help-margin-top;
|
|
113
|
-
color: @text-color-secondary;
|
|
114
|
-
font-size: @form-explain-font-size;
|
|
115
|
-
line-height: @line-height-base;
|
|
116
|
-
transition: color 0.3s @ease-out; // sync input color transition
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.@{form-prefix-cls}-explain {
|
|
120
|
-
margin-bottom: -@form-explain-precision;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.@{form-prefix-cls}-extra {
|
|
124
|
-
padding-top: 4px;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.@{form-prefix-cls}-text {
|
|
128
|
-
display: inline-block;
|
|
129
|
-
padding-right: 8px;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.@{form-prefix-cls}-split {
|
|
133
|
-
display: block;
|
|
134
|
-
text-align: center;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
form {
|
|
138
|
-
.has-feedback {
|
|
139
|
-
.@{ant-prefix}-input {
|
|
140
|
-
padding-right: calc(@input-padding-horizontal-base + @input-affix-width);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// https://github.com/ant-design/ant-design/issues/19884
|
|
144
|
-
.@{ant-prefix}-input-affix-wrapper {
|
|
145
|
-
.@{ant-prefix}-input-suffix {
|
|
146
|
-
padding-right: 18px;
|
|
147
|
-
}
|
|
148
|
-
.@{ant-prefix}-input {
|
|
149
|
-
padding-right: calc(@input-padding-horizontal-base + @input-affix-width * 2);
|
|
150
|
-
}
|
|
151
|
-
&.@{ant-prefix}-input-affix-wrapper-input-with-clear-btn {
|
|
152
|
-
.@{ant-prefix}-input {
|
|
153
|
-
padding-right: calc(@input-padding-horizontal-base + @input-affix-width * 3);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// Fix overlapping between feedback icon and <Select>'s arrow.
|
|
159
|
-
// https://github.com/ant-design/ant-design/issues/4431
|
|
160
|
-
> .@{ant-prefix}-select .@{ant-prefix}-select-arrow,
|
|
161
|
-
> .@{ant-prefix}-select .@{ant-prefix}-select-selection__clear,
|
|
162
|
-
:not(.@{ant-prefix}-input-group-addon) > .@{ant-prefix}-select .@{ant-prefix}-select-arrow,
|
|
163
|
-
:not(.@{ant-prefix}-input-group-addon)
|
|
164
|
-
> .@{ant-prefix}-select
|
|
165
|
-
.@{ant-prefix}-select-selection__clear {
|
|
166
|
-
right: calc((@form-component-height / 2) + @form-feedback-icon-size - 2px);
|
|
167
|
-
}
|
|
168
|
-
> .@{ant-prefix}-select .@{ant-prefix}-select-selection-selected-value,
|
|
169
|
-
:not(.@{ant-prefix}-input-group-addon)
|
|
170
|
-
> .@{ant-prefix}-select
|
|
171
|
-
.@{ant-prefix}-select-selection-selected-value {
|
|
172
|
-
padding-right: 42px;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.@{ant-prefix}-cascader-picker {
|
|
176
|
-
&-arrow {
|
|
177
|
-
margin-right: calc((@form-component-height / 2) + @form-feedback-icon-size - 13px);
|
|
178
|
-
}
|
|
179
|
-
&-clear {
|
|
180
|
-
right: calc((@form-component-height / 2) + @form-feedback-icon-size - 2px);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
// Fix issue: https://github.com/ant-design/ant-design/issues/7854
|
|
185
|
-
.@{ant-prefix}-input-search:not(.@{ant-prefix}-input-search-enter-button) {
|
|
186
|
-
.@{ant-prefix}-input-suffix {
|
|
187
|
-
right: calc((@form-component-height / 2) + @form-feedback-icon-size - 2px);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
// Fix issue: https://github.com/ant-design/ant-design/issues/4783
|
|
192
|
-
.@{ant-prefix}-calendar-picker,
|
|
193
|
-
.@{ant-prefix}-time-picker {
|
|
194
|
-
&-icon,
|
|
195
|
-
&-clear {
|
|
196
|
-
right: calc((@form-component-height / 2) + @form-feedback-icon-size - 2px);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.@{ant-prefix}-mentions,
|
|
202
|
-
textarea.@{ant-prefix}-input {
|
|
203
|
-
height: auto;
|
|
204
|
-
margin-bottom: 4px;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
// input[type=file]
|
|
208
|
-
.@{ant-prefix}-upload {
|
|
209
|
-
background: transparent;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
input[type='radio'],
|
|
213
|
-
input[type='checkbox'] {
|
|
214
|
-
width: 14px;
|
|
215
|
-
height: 14px;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
// Radios and checkboxes on same line
|
|
219
|
-
.@{ant-prefix}-radio-inline,
|
|
220
|
-
.@{ant-prefix}-checkbox-inline {
|
|
221
|
-
display: inline-block;
|
|
222
|
-
margin-left: 8px;
|
|
223
|
-
font-weight: normal;
|
|
224
|
-
vertical-align: middle;
|
|
225
|
-
cursor: pointer;
|
|
226
|
-
|
|
227
|
-
&:first-child {
|
|
228
|
-
margin-left: 0;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.@{ant-prefix}-checkbox-vertical,
|
|
233
|
-
.@{ant-prefix}-radio-vertical {
|
|
234
|
-
display: block;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.@{ant-prefix}-checkbox-vertical + .@{ant-prefix}-checkbox-vertical,
|
|
238
|
-
.@{ant-prefix}-radio-vertical + .@{ant-prefix}-radio-vertical {
|
|
239
|
-
margin-left: 0;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.@{ant-prefix}-input-number {
|
|
243
|
-
+ .@{form-prefix-cls}-text {
|
|
244
|
-
margin-left: 8px;
|
|
245
|
-
}
|
|
246
|
-
&-handler-wrap {
|
|
247
|
-
z-index: 2; // https://github.com/ant-design/ant-design/issues/6289
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.@{ant-prefix}-select,
|
|
252
|
-
.@{ant-prefix}-cascader-picker {
|
|
253
|
-
width: 100%;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
// Don't impact select inside input group
|
|
257
|
-
.@{ant-prefix}-input-group .@{ant-prefix}-select,
|
|
258
|
-
.@{ant-prefix}-input-group .@{ant-prefix}-cascader-picker {
|
|
259
|
-
width: auto;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
// fix input with addon position. https://github.com/ant-design/ant-design/issues/8243
|
|
263
|
-
:not(.@{ant-prefix}-input-group-wrapper) > .@{ant-prefix}-input-group,
|
|
264
|
-
.@{ant-prefix}-input-group-wrapper {
|
|
265
|
-
display: inline-block;
|
|
266
|
-
vertical-align: middle;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
// https://github.com/ant-design/ant-design/issues/20616
|
|
270
|
-
&:not(.@{form-prefix-cls}-vertical) {
|
|
271
|
-
:not(.@{ant-prefix}-input-group-wrapper) > .@{ant-prefix}-input-group,
|
|
272
|
-
.@{ant-prefix}-input-group-wrapper {
|
|
273
|
-
position: relative;
|
|
274
|
-
top: -1px;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
// Form layout
|
|
280
|
-
//== Vertical Form
|
|
281
|
-
.make-vertical-layout-label() {
|
|
282
|
-
display: block;
|
|
283
|
-
margin: @form-vertical-label-margin;
|
|
284
|
-
padding: @form-vertical-label-padding;
|
|
285
|
-
line-height: @line-height-base;
|
|
286
|
-
white-space: initial;
|
|
287
|
-
text-align: left;
|
|
288
|
-
|
|
289
|
-
label::after {
|
|
290
|
-
display: none;
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.make-vertical-layout() {
|
|
295
|
-
.@{form-prefix-cls}-item-label,
|
|
296
|
-
.@{form-prefix-cls}-item-control-wrapper {
|
|
297
|
-
display: block;
|
|
298
|
-
width: 100%;
|
|
299
|
-
}
|
|
300
|
-
.@{form-prefix-cls}-item-label {
|
|
301
|
-
.make-vertical-layout-label();
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.@{form-prefix-cls}-vertical .@{form-prefix-cls}-item-label,
|
|
306
|
-
// when labelCol is 24, it is a vertical form
|
|
307
|
-
.@{ant-prefix}-col-24.@{form-prefix-cls}-item-label,
|
|
308
|
-
.@{ant-prefix}-col-xl-24.@{form-prefix-cls}-item-label {
|
|
309
|
-
.make-vertical-layout-label();
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
.@{form-prefix-cls}-vertical {
|
|
313
|
-
.@{form-prefix-cls}-item {
|
|
314
|
-
padding-bottom: 8px;
|
|
315
|
-
}
|
|
316
|
-
.@{form-prefix-cls}-item-control {
|
|
317
|
-
line-height: @line-height-base;
|
|
318
|
-
}
|
|
319
|
-
.@{form-prefix-cls}-explain {
|
|
320
|
-
margin-top: 2px;
|
|
321
|
-
margin-bottom: calc(-4px - @form-explain-precision);
|
|
322
|
-
}
|
|
323
|
-
.@{form-prefix-cls}-extra {
|
|
324
|
-
margin-top: 2px;
|
|
325
|
-
margin-bottom: -4px;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
@media (max-width: @screen-xs-max) {
|
|
330
|
-
.make-vertical-layout();
|
|
331
|
-
.@{ant-prefix}-col-xs-24.@{form-prefix-cls}-item-label {
|
|
332
|
-
.make-vertical-layout-label();
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
@media (max-width: @screen-sm-max) {
|
|
337
|
-
.@{ant-prefix}-col-sm-24.@{form-prefix-cls}-item-label {
|
|
338
|
-
.make-vertical-layout-label();
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
@media (max-width: @screen-md-max) {
|
|
343
|
-
.@{ant-prefix}-col-md-24.@{form-prefix-cls}-item-label {
|
|
344
|
-
.make-vertical-layout-label();
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
@media (max-width: @screen-lg-max) {
|
|
349
|
-
.@{ant-prefix}-col-lg-24.@{form-prefix-cls}-item-label {
|
|
350
|
-
.make-vertical-layout-label();
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
@media (max-width: @screen-xl-max) {
|
|
355
|
-
.@{ant-prefix}-col-xl-24.@{form-prefix-cls}-item-label {
|
|
356
|
-
.make-vertical-layout-label();
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
//== Inline Form
|
|
361
|
-
.@{form-prefix-cls}-inline {
|
|
362
|
-
.@{form-prefix-cls}-item {
|
|
363
|
-
display: inline-block;
|
|
364
|
-
margin-right: 16px;
|
|
365
|
-
margin-bottom: 0;
|
|
366
|
-
|
|
367
|
-
&-with-help {
|
|
368
|
-
margin-bottom: @form-item-margin-bottom;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
> .@{form-prefix-cls}-item-control-wrapper,
|
|
372
|
-
> .@{form-prefix-cls}-item-label {
|
|
373
|
-
display: inline-block;
|
|
374
|
-
vertical-align: top;
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.@{form-prefix-cls}-text {
|
|
379
|
-
display: inline-block;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.has-feedback {
|
|
383
|
-
display: inline-block;
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
// Validation state
|
|
388
|
-
.has-success,
|
|
389
|
-
.has-warning,
|
|
390
|
-
.has-error,
|
|
391
|
-
.is-validating {
|
|
392
|
-
&.has-feedback .@{form-prefix-cls}-item-children-icon {
|
|
393
|
-
position: absolute;
|
|
394
|
-
top: 50%;
|
|
395
|
-
right: 0;
|
|
396
|
-
z-index: 1;
|
|
397
|
-
width: @form-component-height;
|
|
398
|
-
height: 20px;
|
|
399
|
-
margin-top: -10px;
|
|
400
|
-
font-size: @form-feedback-icon-size;
|
|
401
|
-
line-height: 20px;
|
|
402
|
-
text-align: center;
|
|
403
|
-
visibility: visible;
|
|
404
|
-
animation: zoomIn 0.3s @ease-out-back;
|
|
405
|
-
pointer-events: none;
|
|
406
|
-
|
|
407
|
-
& svg {
|
|
408
|
-
position: absolute;
|
|
409
|
-
top: 0;
|
|
410
|
-
right: 0;
|
|
411
|
-
bottom: 0;
|
|
412
|
-
left: 0;
|
|
413
|
-
margin: auto;
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
.has-success {
|
|
419
|
-
&.has-feedback .@{form-prefix-cls}-item-children-icon {
|
|
420
|
-
color: @success-color;
|
|
421
|
-
animation-name: diffZoomIn1 !important;
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.has-warning {
|
|
426
|
-
.form-control-validation(@warning-color; @warning-color; @form-warning-input-bg;);
|
|
427
|
-
|
|
428
|
-
&.has-feedback .@{form-prefix-cls}-item-children-icon {
|
|
429
|
-
color: @warning-color;
|
|
430
|
-
animation-name: diffZoomIn3 !important;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
//select
|
|
434
|
-
.@{ant-prefix}-select {
|
|
435
|
-
&-selection {
|
|
436
|
-
border-color: @warning-color;
|
|
437
|
-
&:hover {
|
|
438
|
-
border-color: @warning-color;
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
&-open .@{ant-prefix}-select-selection,
|
|
442
|
-
&-focused .@{ant-prefix}-select-selection {
|
|
443
|
-
.active(@warning-color);
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
// arrow and icon
|
|
448
|
-
.@{ant-prefix}-calendar-picker-icon::after,
|
|
449
|
-
.@{ant-prefix}-time-picker-icon::after,
|
|
450
|
-
.@{ant-prefix}-picker-icon::after,
|
|
451
|
-
.@{ant-prefix}-select-arrow,
|
|
452
|
-
.@{ant-prefix}-cascader-picker-arrow {
|
|
453
|
-
color: @warning-color;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
//input-number, timepicker
|
|
457
|
-
.@{ant-prefix}-input-number,
|
|
458
|
-
.@{ant-prefix}-time-picker-input {
|
|
459
|
-
border-color: @warning-color;
|
|
460
|
-
&-focused,
|
|
461
|
-
&:focus {
|
|
462
|
-
.active(@warning-color);
|
|
463
|
-
}
|
|
464
|
-
&:not([disabled]):hover {
|
|
465
|
-
border-color: @warning-color;
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
.@{ant-prefix}-cascader-picker {
|
|
470
|
-
&:focus .@{ant-prefix}-cascader-input {
|
|
471
|
-
.active(@warning-color);
|
|
472
|
-
}
|
|
473
|
-
&:hover .@{ant-prefix}-cascader-input {
|
|
474
|
-
border-color: @warning-color;
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
.has-error {
|
|
480
|
-
.form-control-validation(@error-color; @error-color; @form-error-input-bg;);
|
|
481
|
-
|
|
482
|
-
&.has-feedback .@{form-prefix-cls}-item-children-icon {
|
|
483
|
-
color: @error-color;
|
|
484
|
-
animation-name: diffZoomIn2 !important;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
//select
|
|
488
|
-
.@{ant-prefix}-select {
|
|
489
|
-
&-selection {
|
|
490
|
-
border-color: @error-color;
|
|
491
|
-
&:hover {
|
|
492
|
-
border-color: @error-color;
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
&-open .@{ant-prefix}-select-selection,
|
|
496
|
-
&-focused .@{ant-prefix}-select-selection {
|
|
497
|
-
.active(@error-color);
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
.@{ant-prefix}-select.@{ant-prefix}-select-auto-complete {
|
|
502
|
-
.@{ant-prefix}-input:focus {
|
|
503
|
-
border-color: @error-color;
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
.@{ant-prefix}-input-group-addon .@{ant-prefix}-select {
|
|
508
|
-
&-selection {
|
|
509
|
-
border-color: transparent;
|
|
510
|
-
box-shadow: none;
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
// arrow and icon
|
|
515
|
-
.@{ant-prefix}-calendar-picker-icon::after,
|
|
516
|
-
.@{ant-prefix}-time-picker-icon::after,
|
|
517
|
-
.@{ant-prefix}-picker-icon::after,
|
|
518
|
-
.@{ant-prefix}-select-arrow,
|
|
519
|
-
.@{ant-prefix}-cascader-picker-arrow {
|
|
520
|
-
color: @error-color;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
//input-number, timepicker
|
|
524
|
-
.@{ant-prefix}-input-number,
|
|
525
|
-
.@{ant-prefix}-time-picker-input {
|
|
526
|
-
border-color: @error-color;
|
|
527
|
-
&-focused,
|
|
528
|
-
&:focus {
|
|
529
|
-
.active(@error-color);
|
|
530
|
-
}
|
|
531
|
-
&:not([disabled]):hover {
|
|
532
|
-
border-color: @error-color;
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
.@{ant-prefix}-mention-wrapper {
|
|
536
|
-
.@{ant-prefix}-mention-editor {
|
|
537
|
-
&,
|
|
538
|
-
&:not([disabled]):hover {
|
|
539
|
-
border-color: @error-color;
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
&.@{ant-prefix}-mention-active:not([disabled]) .@{ant-prefix}-mention-editor,
|
|
543
|
-
.@{ant-prefix}-mention-editor:not([disabled]):focus {
|
|
544
|
-
.active(@error-color);
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
.@{ant-prefix}-cascader-picker {
|
|
549
|
-
&:focus .@{ant-prefix}-cascader-input {
|
|
550
|
-
.active(@error-color);
|
|
551
|
-
}
|
|
552
|
-
&:hover .@{ant-prefix}-cascader-input {
|
|
553
|
-
border-color: @error-color;
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
// transfer
|
|
558
|
-
.@{ant-prefix}-transfer {
|
|
559
|
-
&-list {
|
|
560
|
-
border-color: @error-color;
|
|
561
|
-
|
|
562
|
-
&-search:not([disabled]) {
|
|
563
|
-
border-color: @input-border-color;
|
|
564
|
-
|
|
565
|
-
&:hover {
|
|
566
|
-
.hover();
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
&:focus {
|
|
570
|
-
.active();
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
.is-validating {
|
|
578
|
-
&.has-feedback .@{form-prefix-cls}-item-children-icon {
|
|
579
|
-
display: inline-block;
|
|
580
|
-
color: @primary-color;
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
.@{ant-prefix}-advanced-search-form {
|
|
585
|
-
.@{form-prefix-cls}-item {
|
|
586
|
-
margin-bottom: @form-item-margin-bottom;
|
|
587
|
-
|
|
588
|
-
&-with-help {
|
|
589
|
-
margin-bottom: calc(@form-item-margin-bottom - @form-explain-height - @form-help-margin-top);
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
.show-help-motion(@className, @keyframeName, @duration: @animation-duration-slow) {
|
|
595
|
-
.make-motion(@className, @keyframeName, @duration);
|
|
596
|
-
.@{className}-enter,
|
|
597
|
-
.@{className}-appear {
|
|
598
|
-
opacity: 0;
|
|
599
|
-
animation-timing-function: @ease-in-out;
|
|
600
|
-
}
|
|
601
|
-
.@{className}-leave {
|
|
602
|
-
animation-timing-function: @ease-in-out;
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
.show-help-motion(show-help, antShowHelp, 0.3s);
|
|
607
|
-
|
|
608
|
-
@keyframes antShowHelpIn {
|
|
609
|
-
0% {
|
|
610
|
-
transform: translateY(-5px);
|
|
611
|
-
opacity: 0;
|
|
612
|
-
}
|
|
613
|
-
100% {
|
|
614
|
-
transform: translateY(0);
|
|
615
|
-
opacity: 1;
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
@keyframes antShowHelpOut {
|
|
620
|
-
to {
|
|
621
|
-
transform: translateY(-5px);
|
|
622
|
-
opacity: 0;
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
// need there different zoom animation
|
|
627
|
-
// otherwise won't trigger anim
|
|
628
|
-
@keyframes diffZoomIn1 {
|
|
629
|
-
0% {
|
|
630
|
-
transform: scale(0);
|
|
631
|
-
}
|
|
632
|
-
100% {
|
|
633
|
-
transform: scale(1);
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
@keyframes diffZoomIn2 {
|
|
638
|
-
0% {
|
|
639
|
-
transform: scale(0);
|
|
640
|
-
}
|
|
641
|
-
100% {
|
|
642
|
-
transform: scale(1);
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
@keyframes diffZoomIn3 {
|
|
647
|
-
0% {
|
|
648
|
-
transform: scale(0);
|
|
649
|
-
}
|
|
650
|
-
100% {
|
|
651
|
-
transform: scale(1);
|
|
652
|
-
}
|
|
653
|
-
}
|