tntd 2.8.0-beta.2 → 3.0.0-beta
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/affix/index.js +1 -1
- package/es/affix/index.js.map +1 -1
- package/es/affix/style/index.js +2 -0
- package/es/affix/style/index.js.map +1 -0
- package/es/affix/style/index.less +6 -0
- package/es/alert/alert.js +70 -0
- package/es/alert/alert.js.map +1 -0
- package/es/alert/alert.less +128 -0
- package/es/alert/index.js +2 -2
- package/es/alert/index.js.map +1 -1
- package/es/alert/style/index.js +2 -0
- package/es/alert/style/index.js.map +1 -0
- package/es/alert/style/index.less +189 -0
- package/es/anchor/index.js +1 -1
- package/es/anchor/index.js.map +1 -1
- package/es/anchor/style/index.js +4 -0
- package/es/anchor/style/index.js.map +1 -0
- package/es/anchor/style/index.less +82 -0
- package/es/auto-complete/index.js +1 -1
- package/es/auto-complete/index.js.map +1 -1
- package/es/auto-complete/style/index.js +5 -0
- package/es/auto-complete/style/index.js.map +1 -0
- package/es/auto-complete/style/index.less +92 -0
- package/es/avatar/index.js +1 -1
- package/es/avatar/index.js.map +1 -1
- package/es/avatar/style/index.js +2 -0
- package/es/avatar/style/index.js.map +1 -0
- package/es/avatar/style/index.less +59 -0
- package/es/back-top/index.js +1 -1
- package/es/back-top/index.js.map +1 -1
- package/es/back-top/style/index.js +2 -0
- package/es/back-top/style/index.js.map +1 -0
- package/es/back-top/style/index.less +42 -0
- package/es/back-top/style/responsive.less +11 -0
- package/es/badge/index.js +1 -1
- package/es/badge/index.js.map +1 -1
- package/es/badge/style/index.js +2 -0
- package/es/badge/style/index.js.map +1 -0
- package/es/badge/style/index.less +190 -0
- package/es/breadcrumb/index.js +1 -1
- package/es/breadcrumb/index.js.map +1 -1
- package/es/breadcrumb/style/index.js +4 -0
- package/es/breadcrumb/style/index.js.map +1 -0
- package/es/breadcrumb/style/index.less +51 -0
- package/es/button/button.js +30 -3
- package/es/button/button.js.map +1 -1
- package/es/button/button.less +72 -0
- package/es/button/index.js +2 -1
- package/es/button/index.js.map +1 -1
- package/es/button/style/index.js +2 -0
- package/es/button/style/index.js.map +1 -0
- package/es/button/style/index.less +224 -0
- package/es/button/style/mixin.less +357 -0
- package/es/calendar/index.js +1 -1
- package/es/calendar/index.js.map +1 -1
- package/es/calendar/style/index.js +5 -0
- package/es/calendar/style/index.js.map +1 -0
- package/es/calendar/style/index.less +278 -0
- package/es/card/index.js +1 -1
- package/es/card/index.js.map +1 -1
- package/es/card/style/index.js +6 -0
- package/es/card/style/index.js.map +1 -0
- package/es/card/style/index.less +263 -0
- package/es/card/style/size.less +25 -0
- package/es/carousel/index.js +1 -1
- package/es/carousel/index.js.map +1 -1
- package/es/carousel/style/index.js +2 -0
- package/es/carousel/style/index.js.map +1 -0
- package/es/carousel/style/index.less +238 -0
- package/es/cascader/index.js +1 -1
- package/es/cascader/index.js.map +1 -1
- package/es/cascader/style/index.js +5 -0
- package/es/cascader/style/index.js.map +1 -0
- package/es/cascader/style/index.less +227 -0
- package/es/checkbox/check.png +0 -0
- package/es/checkbox/checkbox.js +48 -0
- package/es/checkbox/checkbox.js.map +1 -0
- package/es/checkbox/checkbox.less +69 -0
- package/es/checkbox/index.js +4 -8
- package/es/checkbox/index.js.map +1 -1
- package/es/checkbox/style/index.js +2 -0
- package/es/checkbox/style/index.js.map +1 -0
- package/es/checkbox/style/index.less +4 -0
- package/es/checkbox/style/mixin.less +220 -0
- package/es/col/index.js +1 -1
- package/es/col/index.js.map +1 -1
- package/es/col/style/index.js +4 -0
- package/es/col/style/index.js.map +1 -0
- package/es/collapse/index.js +1 -1
- package/es/collapse/index.js.map +1 -1
- package/es/collapse/style/index.js +2 -0
- package/es/collapse/style/index.js.map +1 -0
- package/es/collapse/style/index.less +134 -0
- package/es/color-picker/ColorPicker.js +4 -2
- package/es/color-picker/ColorPicker.js.map +1 -1
- package/es/color-picker/index.less +25 -8
- package/es/comment/index.js +1 -1
- package/es/comment/index.js.map +1 -1
- package/es/comment/style/index.js +2 -0
- package/es/comment/style/index.js.map +1 -0
- package/es/comment/style/index.less +93 -0
- package/es/config-provider/index.js +1 -1
- package/es/config-provider/index.js.map +1 -1
- package/es/config-provider/style/index.js +1 -0
- package/es/config-provider/style/index.js.map +1 -0
- package/es/config-provider/style/index.less +2 -0
- package/es/date-picker/DatePicker.js +101 -0
- package/es/date-picker/DatePicker.js.map +1 -0
- package/es/date-picker/index.js +7 -13
- package/es/date-picker/index.js.map +1 -1
- package/es/date-picker/index.less +294 -0
- package/es/date-picker/style/Calendar.less +402 -0
- package/es/date-picker/style/DecadePanel.less +81 -0
- package/es/date-picker/style/MonthPanel.less +86 -0
- package/es/date-picker/style/MonthPicker.less +11 -0
- package/es/date-picker/style/Picker.less +113 -0
- package/es/date-picker/style/RangePicker.less +248 -0
- package/es/date-picker/style/TimePicker.less +151 -0
- package/es/date-picker/style/WeekPicker.less +21 -0
- package/es/date-picker/style/YearPanel.less +85 -0
- package/es/date-picker/style/index.js +7 -0
- package/es/date-picker/style/index.js.map +1 -0
- package/es/date-picker/style/index.less +17 -0
- package/es/descriptions/descriptions.js +82 -25
- package/es/descriptions/descriptions.js.map +1 -1
- package/es/descriptions/descriptions.less +107 -22
- package/es/descriptions/index.js +3 -3
- package/es/descriptions/index.js.map +1 -1
- package/es/descriptions/style/index.js +2 -0
- package/es/descriptions/style/index.js.map +1 -0
- package/es/descriptions/style/index.less +144 -0
- package/es/divider/index.js +1 -1
- package/es/divider/index.js.map +1 -1
- package/es/divider/style/index.js +2 -0
- package/es/divider/style/index.js.map +1 -0
- package/es/divider/style/index.less +109 -0
- package/es/drawer/drawer.js +98 -13
- package/es/drawer/drawer.js.map +1 -1
- package/es/drawer/index.js +2 -2
- package/es/drawer/index.js.map +1 -1
- package/es/drawer/index.less +154 -0
- package/es/drawer/style/drawer.less +245 -0
- package/es/drawer/style/index.js +4 -0
- package/es/drawer/style/index.js.map +1 -0
- package/es/drawer/style/index.less +3 -0
- package/es/dropdown/index.js +1 -1
- package/es/dropdown/index.js.map +1 -1
- package/es/dropdown/style/index.js +4 -0
- package/es/dropdown/style/index.js.map +1 -0
- package/es/dropdown/style/index.less +282 -0
- package/es/empty/index.js +1 -1
- package/es/empty/index.js.map +1 -1
- package/es/empty/style/index.js +2 -0
- package/es/empty/style/index.js.map +1 -0
- package/es/empty/style/index.less +52 -0
- package/es/form/form.js +3 -0
- package/es/form/form.js.map +1 -1
- package/es/form/form.less +36 -0
- package/es/form/index.js +1 -1
- package/es/form/index.js.map +1 -1
- package/es/form/style/index.js +4 -0
- package/es/form/style/index.js.map +1 -0
- package/es/form/style/index.less +653 -0
- package/es/form/style/mixin.less +126 -0
- package/es/grid/index.js +3 -13
- package/es/grid/index.js.map +1 -1
- package/es/grid/style/index.js +1 -1
- package/es/grid/style/index.js.map +1 -1
- package/es/grid/style/index.less +24 -26
- package/es/grid/style/mixin.less +63 -19
- package/es/grid-v4/RowContext.js.map +1 -0
- package/es/grid-v4/col.js.map +1 -0
- package/es/grid-v4/hooks/useBreakpoint.js.map +1 -0
- package/es/grid-v4/index.js +14 -0
- package/es/grid-v4/index.js.map +1 -0
- package/{lib/grid → es/grid-v4}/row.js.map +1 -1
- package/es/grid-v4/style/index.js +2 -0
- package/es/grid-v4/style/index.js.map +1 -0
- package/es/grid-v4/style/index.less +124 -0
- package/es/grid-v4/style/mixin.less +57 -0
- package/es/icon/index.js +2 -0
- package/es/icon/index.js.map +1 -1
- package/es/icon/style/index.js +2 -0
- package/es/icon/style/index.js.map +1 -0
- package/es/icon/style/index.less +4 -0
- package/es/icon/style/style.less +4 -0
- package/es/icon-old/index.js +4 -0
- package/es/icon-old/index.js.map +1 -0
- package/es/icon-old/style/index.js +2 -0
- package/es/icon-old/style/index.js.map +1 -0
- package/es/icon-old/style/index.less +4 -0
- package/es/index.js +3 -2
- package/es/index.js.map +1 -1
- package/es/input/index.js +2 -2
- package/es/input/index.js.map +1 -1
- package/es/input/input.js +21 -30
- package/es/input/input.js.map +1 -1
- package/es/input/input.less +123 -20
- package/es/input/style/index.js +4 -0
- package/es/input/style/index.js.map +1 -0
- package/es/input/style/index.less +57 -0
- package/es/input/style/mixin.less +449 -0
- package/es/input/style/search-input.less +34 -0
- package/es/input-number/index.js +5 -6
- package/es/input-number/index.js.map +1 -1
- package/es/input-number/inputNumber.js +29 -0
- package/es/input-number/inputNumber.js.map +1 -0
- package/es/input-number/inputNumber.less +12 -0
- package/es/input-number/style/index.js +2 -0
- package/es/input-number/style/index.js.map +1 -0
- package/es/input-number/style/index.less +179 -0
- package/es/layout/index.js +1 -1
- package/es/layout/index.js.map +1 -1
- package/es/layout/style/index.js +2 -0
- package/es/layout/style/index.js.map +1 -0
- package/es/layout/style/index.less +124 -0
- package/es/layout/style/light.less +15 -0
- package/es/list/index.js +1 -1
- package/es/list/index.js.map +1 -1
- package/es/list/style/bordered.less +41 -0
- package/es/list/style/index.js +7 -0
- package/es/list/style/index.js.map +1 -0
- package/es/list/style/index.less +234 -0
- package/es/list/style/responsive.less +40 -0
- package/es/locale/en_US.js +12 -1
- package/es/locale/en_US.js.map +1 -1
- package/es/locale/zh_CN.js +12 -1
- package/es/locale/zh_CN.js.map +1 -1
- package/es/locale-provider/index.js +1 -1
- package/es/locale-provider/index.js.map +1 -1
- package/es/locale-provider/style/index.js +1 -0
- package/es/locale-provider/style/index.js.map +1 -0
- package/es/locale-provider/style/index.less +2 -0
- package/es/mentions/index.js +1 -1
- package/es/mentions/index.js.map +1 -1
- package/es/mentions/style/index.js +4 -0
- package/es/mentions/style/index.js.map +1 -0
- package/es/mentions/style/index.less +164 -0
- package/es/menu/index.js +1 -1
- package/es/menu/index.js.map +1 -1
- package/es/menu/style/dark.less +139 -0
- package/es/menu/style/index.js +5 -0
- package/es/menu/style/index.js.map +1 -0
- package/es/menu/style/index.less +515 -0
- package/es/message/index.js +1 -1
- package/es/message/index.js.map +1 -1
- package/es/message/message.less +2 -1
- package/es/message/style/index.js +2 -0
- package/es/message/style/index.js.map +1 -0
- package/es/message/style/index.less +75 -0
- package/es/modal/index.js +3 -4
- package/es/modal/index.js.map +1 -1
- package/es/modal/index.less +36 -0
- package/es/modal/modal.js +141 -12
- package/es/modal/modal.js.map +1 -1
- package/es/modal/style/confirm.less +96 -0
- package/es/modal/style/index.js +5 -0
- package/es/modal/style/index.js.map +1 -0
- package/es/modal/style/index.less +4 -0
- package/es/modal/style/modal.less +165 -0
- package/es/notification/assets/index.js +2 -0
- package/es/notification/assets/index.js.map +1 -0
- package/es/notification/assets/svg-error-tip.js +145 -0
- package/es/notification/assets/svg-error-tip.js.map +1 -0
- package/es/notification/assets/svg-success-tip.js +162 -0
- package/es/notification/assets/svg-success-tip.js.map +1 -0
- package/es/notification/index.js +2 -2
- package/es/notification/index.js.map +1 -1
- package/es/notification/notification.js +80 -0
- package/es/notification/notification.js.map +1 -0
- package/es/notification/notification.less +59 -0
- package/es/notification/style/index.js +2 -0
- package/es/notification/style/index.js.map +1 -0
- package/es/notification/style/index.less +201 -0
- package/es/page/index.js +0 -1
- package/es/page-header/index.js +1 -1
- package/es/page-header/index.js.map +1 -1
- package/es/page-header/style/index.js +4 -0
- package/es/page-header/style/index.js.map +1 -0
- package/es/page-header/style/index.less +119 -0
- package/es/pagination/index.js +1 -1
- package/es/pagination/index.js.map +1 -1
- package/es/pagination/style/index.js +4 -0
- package/es/pagination/style/index.js.map +1 -0
- package/es/pagination/style/index.less +400 -0
- package/es/popconfirm/index.js +3 -3
- package/es/popconfirm/index.js.map +1 -1
- package/es/popconfirm/index.less +26 -0
- package/es/popconfirm/popconfirm.js +40 -0
- package/es/popconfirm/popconfirm.js.map +1 -0
- package/es/popconfirm/style/index.js +6 -0
- package/es/popconfirm/style/index.js.map +1 -0
- package/es/popover/index.js +3 -3
- package/es/popover/index.js.map +1 -1
- package/es/popover/index.less +51 -0
- package/es/popover/popover.js +33 -0
- package/es/popover/popover.js.map +1 -0
- package/es/popover/style/index.js +5 -0
- package/es/popover/style/index.js.map +1 -0
- package/es/popover/style/index.less +205 -0
- package/es/preview-text/index.js.map +1 -1
- package/es/progress/index.js +3 -3
- package/es/progress/index.js.map +1 -1
- package/es/progress/progress.js +132 -0
- package/es/progress/progress.js.map +1 -0
- package/es/progress/progress.less +82 -0
- package/es/progress/style/index.js +2 -0
- package/es/progress/style/index.js.map +1 -0
- package/es/progress/style/index.less +182 -0
- package/es/query-form/Field/Composition/FieldPopover.js +284 -0
- package/es/query-form/Field/Composition/FieldPopover.js.map +1 -0
- package/es/query-form/Field/Composition/FieldPopover.less +35 -0
- package/es/query-form/Field/Composition/Select.js +108 -0
- package/es/query-form/Field/Composition/Select.js.map +1 -0
- package/es/query-form/Field/Composition/index.js +282 -0
- package/es/query-form/Field/Composition/index.js.map +1 -0
- package/es/query-form/Field/Composition/index.less +106 -0
- package/es/query-form/Field/Composition/utils.js +19 -0
- package/es/query-form/Field/Composition/utils.js.map +1 -0
- package/es/query-form/index.js +109 -125
- package/es/query-form/index.js.map +1 -1
- package/es/query-form/index.less +12 -9
- package/es/query-list-scene/index.less +4 -4
- package/es/radio/index.js +4 -6
- package/es/radio/index.js.map +1 -1
- package/es/radio/radio.js +57 -0
- package/es/radio/radio.js.map +1 -0
- package/es/radio/radio.less +43 -0
- package/es/radio/style/index.js +2 -0
- package/es/radio/style/index.js.map +1 -0
- package/es/radio/style/index.less +327 -0
- package/es/rate/index.js +1 -1
- package/es/rate/index.js.map +1 -1
- package/es/rate/style/index.js +4 -0
- package/es/rate/style/index.js.map +1 -0
- package/es/rate/style/index.less +85 -0
- package/es/result/index.js +1 -1
- package/es/result/index.js.map +1 -1
- package/es/result/style/index.js +2 -0
- package/es/result/style/index.js.map +1 -0
- package/es/result/style/index.less +71 -0
- package/es/row/index.js +1 -1
- package/es/row/index.js.map +1 -1
- package/es/row/style/index.js +4 -0
- package/es/row/style/index.js.map +1 -0
- package/es/segmented/index.less +126 -112
- package/es/select/index.js +2 -2
- package/es/select/index.js.map +1 -1
- package/es/select/select.js +5 -6
- package/es/select/select.js.map +1 -1
- package/es/select/select.less +83 -9
- package/es/select/style/index.js +4 -0
- package/es/select/style/index.js.map +1 -0
- package/es/select/style/index.less +604 -0
- package/es/skeleton/index.js +1 -1
- package/es/skeleton/index.js.map +1 -1
- package/es/skeleton/style/index.js +2 -0
- package/es/skeleton/style/index.js.map +1 -0
- package/es/skeleton/style/index.less +130 -0
- package/es/slider/index.js +1 -1
- package/es/slider/index.js.map +1 -1
- package/es/slider/style/index.js +4 -0
- package/es/slider/style/index.js.map +1 -0
- package/es/slider/style/index.less +197 -0
- package/es/spin/index.js +1 -1
- package/es/spin/index.js.map +1 -1
- package/es/spin/style/index.js +2 -0
- package/es/spin/style/index.js.map +1 -0
- package/es/spin/style/index.less +214 -0
- package/es/statistic/index.js +1 -1
- package/es/statistic/index.js.map +1 -1
- package/es/statistic/style/index.js +2 -0
- package/es/statistic/style/index.js.map +1 -0
- package/es/statistic/style/index.less +40 -0
- package/es/steps/assets/background_left.svg +12 -0
- package/es/steps/assets/background_right.svg +12 -0
- package/es/steps/assets/horizontal_line.svg +3 -0
- package/es/steps/assets/vertical_line.svg +3 -0
- package/es/steps/index.js +10 -2
- package/es/steps/index.js.map +1 -1
- package/es/steps/stepStyle/icon.less +51 -0
- package/es/steps/stepStyle/index.less +177 -0
- package/es/steps/stepStyle/nav.less +73 -0
- package/es/steps/stepStyle/progress-dot.less +10 -0
- package/es/steps/stepStyle/variables.less +8 -0
- package/es/steps/stepStyle/vertical.less +41 -0
- package/es/steps/steps.js +53 -27
- package/es/steps/steps.js.map +1 -1
- package/es/steps/style/compatibility.less +50 -0
- package/es/steps/style/custom-icon.less +31 -0
- package/es/steps/style/index.js +10 -0
- package/es/steps/style/index.js.map +1 -0
- package/es/steps/style/index.less +241 -6
- package/es/steps/style/label-placement.less +38 -0
- package/es/steps/style/nav.less +96 -247
- package/es/steps/style/progress-dot.less +80 -0
- package/es/steps/style/small.less +43 -3
- package/es/steps/style/vertical.less +74 -0
- package/es/style/color/bezierEasing.less +110 -0
- package/es/style/color/colorPalette.less +75 -0
- package/es/style/color/colors.less +149 -0
- package/es/style/color/tinyColor.less +1184 -0
- package/es/style/core/base.less +510 -0
- package/es/style/core/iconfont.less +19 -0
- package/es/style/core/index.less +4 -0
- package/es/style/core/motion/fade.less +31 -0
- package/es/style/core/motion/move.less +120 -0
- package/es/style/core/motion/other.less +40 -0
- package/es/style/core/motion/slide.less +120 -0
- package/es/style/core/motion/swing.less +34 -0
- package/es/style/core/motion/zoom.less +162 -0
- package/es/style/core/motion.less +20 -0
- package/es/style/index.js +1 -0
- package/es/style/index.js.map +1 -0
- package/es/style/index.less +2 -0
- package/es/style/mixins/clearfix.less +13 -0
- package/es/style/mixins/compatibility.less +22 -0
- package/es/style/mixins/iconfont.less +43 -0
- package/es/style/mixins/index.less +10 -0
- package/es/style/mixins/motion.less +35 -0
- package/es/style/mixins/operation-unit.less +18 -0
- package/es/style/mixins/reset.less +13 -0
- package/es/style/mixins/size.less +10 -0
- package/es/style/mixins/typography.less +49 -0
- package/es/style/themes/default.less +700 -0
- package/es/style/themes/index.less +1 -0
- package/es/style/v2-compatible-reset.js +1 -0
- package/es/style/v2-compatible-reset.js.map +1 -0
- package/es/style/v2-compatible-reset.less +51 -0
- package/es/switch/index.less +46 -0
- package/es/switch/style/index.js +3 -0
- package/es/switch/style/index.js.map +1 -0
- package/es/switch/style/index.less +178 -0
- package/es/switch/switch.js +41 -3
- package/es/switch/switch.js.map +1 -1
- package/es/table/index.js +1 -1
- package/es/table/index.js.map +1 -1
- package/es/table/style/index.js +10 -0
- package/es/table/style/index.js.map +1 -0
- package/es/table/style/index.less +844 -0
- package/es/table/style/size.less +179 -0
- package/es/table/table.js +37 -7
- package/es/table/table.js.map +1 -1
- package/es/table/table.less +33 -5
- package/es/tabs/index.js +2 -1
- package/es/tabs/index.js.map +1 -1
- package/es/tabs/style/card-style.less +186 -0
- package/es/tabs/style/index.js +2 -0
- package/es/tabs/style/index.js.map +1 -0
- package/es/tabs/style/index.less +437 -0
- package/es/tabs/tabs.js +22 -4
- package/es/tabs/tabs.js.map +1 -1
- package/es/tabs/tabs.less +114 -0
- package/es/tag/color.less +43 -0
- package/es/tag/index.js +12 -3
- package/es/tag/index.js.map +1 -1
- package/es/tag/style/index.js +2 -0
- package/es/tag/style/index.js.map +1 -0
- package/es/tag/style/index.less +106 -0
- package/es/tag/tag.js +171 -0
- package/es/tag/tag.js.map +1 -0
- package/es/tag/tag.less +192 -0
- package/es/time-picker/TimePicker.js +36 -0
- package/es/time-picker/TimePicker.js.map +1 -0
- package/es/time-picker/index.js +3 -3
- package/es/time-picker/index.js.map +1 -1
- package/es/time-picker/index.less +38 -0
- package/es/time-picker/style/index.js +2 -0
- package/es/time-picker/style/index.js.map +1 -0
- package/es/time-picker/style/index.less +246 -0
- package/es/timeline/index.js +1 -1
- package/es/timeline/index.js.map +1 -1
- package/es/timeline/style/index.js +2 -0
- package/es/timeline/style/index.js.map +1 -0
- package/es/timeline/style/index.less +167 -0
- package/es/tntd-action/Action.js +66 -0
- package/es/tntd-action/Action.js.map +1 -0
- package/es/tntd-action/index.js +65 -0
- package/es/tntd-action/index.js.map +1 -0
- package/es/tntd-action/index.less +36 -0
- package/es/tntd-cascader/AntdCascader/index.less +28 -27
- package/es/tntd-cascader/rc-cascader/OptionList/index.js +0 -1
- package/es/tntd-cascader/rc-cascader/OptionList/useActive.js +0 -1
- package/es/tntd-form/Form.js.map +1 -1
- package/es/tntd-form/FormItem/ItemHolder.js +1 -1
- package/es/tntd-form/FormItem/ItemHolder.js.map +1 -1
- package/es/tntd-form/FormItemInput.js +1 -1
- package/es/tntd-form/FormItemInput.js.map +1 -1
- package/es/tntd-form/FormItemLabel.js +1 -1
- package/es/tntd-form/FormItemLabel.js.map +1 -1
- package/es/tntd-form/context.js.map +1 -1
- package/es/tntd-form/style/index.js +1 -1
- package/es/tntd-form/style/index.js.map +1 -1
- package/es/tntd-form/style/index.less +1 -1
- package/es/tntd-form/style/rtl.less +3 -3
- package/es/tntd-layout/index.js +0 -1
- package/es/tntd-rc-select/style/index.less +844 -740
- package/es/tntd-select/index.js +0 -1
- package/es/tooltip/index.js +3 -3
- package/es/tooltip/index.js.map +1 -1
- package/es/tooltip/index.less +24 -0
- package/es/tooltip/style/index.js +3 -0
- package/es/tooltip/style/index.js.map +1 -0
- package/es/tooltip/style/index.less +187 -0
- package/es/tooltip/tooltip.js +32 -0
- package/es/tooltip/tooltip.js.map +1 -0
- package/es/transfer/index.js +1 -1
- package/es/transfer/index.js.map +1 -1
- package/es/transfer/style/customize.less +62 -0
- package/es/transfer/style/index.js +7 -0
- package/es/transfer/style/index.js.map +1 -0
- package/es/transfer/style/index.less +191 -0
- package/es/tree/index.js +1 -1
- package/es/tree/index.js.map +1 -1
- package/es/tree/style/directory.less +95 -0
- package/es/tree/style/index.js +2 -0
- package/es/tree/style/index.js.map +1 -0
- package/es/tree/style/index.less +280 -0
- package/es/tree/style/mixin.less +29 -0
- package/es/tree-select/index.js +1 -1
- package/es/tree-select/index.js.map +1 -1
- package/es/tree-select/style/index.js +6 -0
- package/es/tree-select/style/index.js.map +1 -0
- package/es/tree-select/style/index.less +191 -0
- package/es/typography/index.js +1 -1
- package/es/typography/index.js.map +1 -1
- package/es/typography/style/index.js +5 -0
- package/es/typography/style/index.js.map +1 -0
- package/es/typography/style/index.less +204 -0
- package/es/upload/index.js +1 -1
- package/es/upload/index.js.map +1 -1
- package/es/upload/style/index.js +5 -0
- package/es/upload/style/index.js.map +1 -0
- package/es/upload/style/index.less +542 -0
- package/es/utils/lang.js +8 -2
- package/es/utils/lang.js.map +1 -1
- package/es/version/index.js +1 -1
- package/es/version/index.js.map +1 -1
- package/es/version/style/index.js +2 -0
- package/es/version/style/index.js.map +1 -0
- package/lib/_util/context.js +3 -6
- package/lib/_util/defaultRenderEmpty.d.ts +2 -2
- package/lib/_util/defaultRenderEmpty.d.ts.map +1 -1
- package/lib/_util/defaultRenderEmpty.js +4 -5
- package/lib/_util/hooks/useFlexGapSupport.js +7 -8
- package/lib/_util/hooks/useForceUpdate.js +5 -5
- package/lib/_util/motion.js +3 -6
- package/lib/_util/reactNode.js +4 -5
- package/lib/_util/responsiveObserve.js +6 -9
- package/lib/_util/styleChecker.js +3 -5
- package/lib/_util/type.js +3 -5
- package/lib/_util/warning.js +5 -6
- package/lib/actions/index.js +1 -2
- package/lib/affix/index.d.ts +1 -1
- package/lib/affix/index.d.ts.map +1 -1
- package/lib/affix/index.js +5 -6
- package/lib/affix/index.js.map +1 -1
- package/lib/affix/style/index.d.ts +3 -0
- package/lib/affix/style/index.d.ts.map +1 -0
- package/lib/affix/style/index.js +4 -0
- package/lib/affix/style/index.js.map +1 -0
- package/lib/affix/style/index.less +6 -0
- package/lib/alert/alert.d.ts +12 -0
- package/lib/alert/alert.d.ts.map +1 -0
- package/lib/alert/alert.js +92 -0
- package/lib/alert/alert.js.map +1 -0
- package/lib/alert/alert.less +128 -0
- package/lib/alert/index.d.ts +2 -2
- package/lib/alert/index.d.ts.map +1 -1
- package/lib/alert/index.js +8 -10
- package/lib/alert/index.js.map +1 -1
- package/lib/alert/style/index.d.ts +3 -0
- package/lib/alert/style/index.d.ts.map +1 -0
- package/lib/alert/style/index.js +4 -0
- package/lib/alert/style/index.js.map +1 -0
- package/lib/alert/style/index.less +189 -0
- package/lib/anchor/index.d.ts +1 -1
- package/lib/anchor/index.d.ts.map +1 -1
- package/lib/anchor/index.js +5 -6
- package/lib/anchor/index.js.map +1 -1
- package/lib/anchor/style/index.d.ts +4 -0
- package/lib/anchor/style/index.d.ts.map +1 -0
- package/lib/anchor/style/index.js +5 -0
- package/lib/anchor/style/index.js.map +1 -0
- package/lib/anchor/style/index.less +82 -0
- package/lib/array-input/icon.d.ts +3 -2
- package/lib/array-input/icon.d.ts.map +1 -1
- package/lib/array-input/icon.js +3 -5
- package/lib/array-input/index.d.ts +2 -1
- package/lib/array-input/index.d.ts.map +1 -1
- package/lib/array-input/index.js +8 -10
- package/lib/auth-context/index.js +2 -3
- package/lib/auto-complete/index.d.ts +1 -1
- package/lib/auto-complete/index.d.ts.map +1 -1
- package/lib/auto-complete/index.js +5 -6
- package/lib/auto-complete/index.js.map +1 -1
- package/lib/auto-complete/style/index.d.ts +5 -0
- package/lib/auto-complete/style/index.d.ts.map +1 -0
- package/lib/auto-complete/style/index.js +6 -0
- package/lib/auto-complete/style/index.js.map +1 -0
- package/lib/auto-complete/style/index.less +92 -0
- package/lib/avatar/index.d.ts +1 -1
- package/lib/avatar/index.d.ts.map +1 -1
- package/lib/avatar/index.js +5 -6
- package/lib/avatar/index.js.map +1 -1
- package/lib/avatar/style/index.d.ts +3 -0
- package/lib/avatar/style/index.d.ts.map +1 -0
- package/lib/avatar/style/index.js +4 -0
- package/lib/avatar/style/index.js.map +1 -0
- package/lib/avatar/style/index.less +59 -0
- package/lib/back-top/index.d.ts +1 -1
- package/lib/back-top/index.d.ts.map +1 -1
- package/lib/back-top/index.js +5 -6
- package/lib/back-top/index.js.map +1 -1
- package/lib/back-top/style/index.d.ts +3 -0
- package/lib/back-top/style/index.d.ts.map +1 -0
- package/lib/back-top/style/index.js +4 -0
- package/lib/back-top/style/index.js.map +1 -0
- package/lib/back-top/style/index.less +42 -0
- package/lib/back-top/style/responsive.less +11 -0
- package/lib/badge/index.d.ts +1 -1
- package/lib/badge/index.d.ts.map +1 -1
- package/lib/badge/index.js +5 -6
- package/lib/badge/index.js.map +1 -1
- package/lib/badge/style/index.d.ts +3 -0
- package/lib/badge/style/index.d.ts.map +1 -0
- package/lib/badge/style/index.js +4 -0
- package/lib/badge/style/index.js.map +1 -0
- package/lib/badge/style/index.less +190 -0
- package/lib/breadcrumb/index.d.ts +1 -1
- package/lib/breadcrumb/index.d.ts.map +1 -1
- package/lib/breadcrumb/index.js +5 -6
- package/lib/breadcrumb/index.js.map +1 -1
- package/lib/breadcrumb/style/index.d.ts +5 -0
- package/lib/breadcrumb/style/index.d.ts.map +1 -0
- package/lib/breadcrumb/style/index.js +6 -0
- package/lib/breadcrumb/style/index.js.map +1 -0
- package/lib/breadcrumb/style/index.less +51 -0
- package/lib/button/button.d.ts +9 -4
- package/lib/button/button.d.ts.map +1 -1
- package/lib/button/button.js +33 -12
- package/lib/button/button.js.map +1 -1
- package/lib/button/button.less +72 -0
- package/lib/button/index.d.ts +2 -1
- package/lib/button/index.d.ts.map +1 -1
- package/lib/button/index.js +7 -7
- package/lib/button/index.js.map +1 -1
- package/lib/button/style/index.d.ts +3 -0
- package/lib/button/style/index.d.ts.map +1 -0
- package/lib/button/style/index.js +4 -0
- package/lib/button/style/index.js.map +1 -0
- package/lib/button/style/index.less +224 -0
- package/lib/button/style/mixin.less +357 -0
- package/lib/calendar/index.d.ts +1 -1
- package/lib/calendar/index.d.ts.map +1 -1
- package/lib/calendar/index.js +5 -6
- package/lib/calendar/index.js.map +1 -1
- package/lib/calendar/style/index.d.ts +5 -0
- package/lib/calendar/style/index.d.ts.map +1 -0
- package/lib/calendar/style/index.js +6 -0
- package/lib/calendar/style/index.js.map +1 -0
- package/lib/calendar/style/index.less +278 -0
- package/lib/card/card.js +5 -8
- package/lib/card/index.d.ts +1 -1
- package/lib/card/index.d.ts.map +1 -1
- package/lib/card/index.js +2 -3
- package/lib/card/index.js.map +1 -1
- package/lib/card/style/index.d.ts +6 -0
- package/lib/card/style/index.d.ts.map +1 -0
- package/lib/card/style/index.js +7 -0
- package/lib/card/style/index.js.map +1 -0
- package/lib/card/style/index.less +263 -0
- package/lib/card/style/size.less +25 -0
- package/lib/carousel/index.d.ts +1 -1
- package/lib/carousel/index.d.ts.map +1 -1
- package/lib/carousel/index.js +5 -6
- package/lib/carousel/index.js.map +1 -1
- package/lib/carousel/style/index.d.ts +3 -0
- package/lib/carousel/style/index.d.ts.map +1 -0
- package/lib/carousel/style/index.js +4 -0
- package/lib/carousel/style/index.js.map +1 -0
- package/lib/carousel/style/index.less +238 -0
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cascader/index.d.ts.map +1 -1
- package/lib/cascader/index.js +6 -8
- package/lib/cascader/index.js.map +1 -1
- package/lib/cascader/style/index.d.ts +5 -0
- package/lib/cascader/style/index.d.ts.map +1 -0
- package/lib/cascader/style/index.js +6 -0
- package/lib/cascader/style/index.js.map +1 -0
- package/lib/cascader/style/index.less +227 -0
- package/lib/check-card/group.js +9 -14
- package/lib/check-card/index.js +10 -14
- package/lib/checkbox/check.png +0 -0
- package/lib/checkbox/checkbox.d.ts +16 -0
- package/lib/checkbox/checkbox.d.ts.map +1 -0
- package/lib/checkbox/checkbox.js +65 -0
- package/lib/checkbox/checkbox.js.map +1 -0
- package/lib/checkbox/checkbox.less +69 -0
- package/lib/checkbox/index.d.ts +4 -4
- package/lib/checkbox/index.d.ts.map +1 -1
- package/lib/checkbox/index.js +7 -23
- package/lib/checkbox/index.js.map +1 -1
- package/lib/checkbox/style/index.d.ts +3 -0
- package/lib/checkbox/style/index.d.ts.map +1 -0
- package/lib/checkbox/style/index.js +4 -0
- package/lib/checkbox/style/index.js.map +1 -0
- package/lib/checkbox/style/index.less +4 -0
- package/lib/checkbox/style/mixin.less +220 -0
- package/lib/col/index.d.ts +1 -1
- package/lib/col/index.d.ts.map +1 -1
- package/lib/col/index.js +5 -6
- package/lib/col/index.js.map +1 -1
- package/lib/col/style/index.d.ts +3 -0
- package/lib/col/style/index.d.ts.map +1 -0
- package/lib/col/style/index.js +4 -0
- package/lib/col/style/index.js.map +1 -0
- package/lib/collapse/index.d.ts +1 -1
- package/lib/collapse/index.d.ts.map +1 -1
- package/lib/collapse/index.js +5 -6
- package/lib/collapse/index.js.map +1 -1
- package/lib/collapse/style/index.d.ts +3 -0
- package/lib/collapse/style/index.d.ts.map +1 -0
- package/lib/collapse/style/index.js +4 -0
- package/lib/collapse/style/index.js.map +1 -0
- package/lib/collapse/style/index.less +134 -0
- package/lib/color-picker/ColorPicker.d.ts +4 -2
- package/lib/color-picker/ColorPicker.d.ts.map +1 -1
- package/lib/color-picker/ColorPicker.js +11 -13
- package/lib/color-picker/ColorPicker.js.map +1 -1
- package/lib/color-picker/index.d.ts +2 -1
- package/lib/color-picker/index.d.ts.map +1 -1
- package/lib/color-picker/index.less +25 -8
- package/lib/columns/index.d.ts +3 -2
- package/lib/columns/index.d.ts.map +1 -1
- package/lib/columns/index.js +3 -7
- package/lib/comment/index.d.ts +1 -1
- package/lib/comment/index.d.ts.map +1 -1
- package/lib/comment/index.js +5 -6
- package/lib/comment/index.js.map +1 -1
- package/lib/comment/style/index.d.ts +3 -0
- package/lib/comment/style/index.d.ts.map +1 -0
- package/lib/comment/style/index.js +4 -0
- package/lib/comment/style/index.js.map +1 -0
- package/lib/comment/style/index.less +93 -0
- package/lib/config-provider/DisabledContext.js +5 -7
- package/lib/config-provider/SizeContext.js +5 -7
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/index.d.ts.map +1 -1
- package/lib/config-provider/index.js +5 -6
- package/lib/config-provider/index.js.map +1 -1
- package/lib/config-provider/style/index.d.ts +2 -0
- package/lib/config-provider/style/index.d.ts.map +1 -0
- package/lib/config-provider/style/index.js +3 -0
- package/lib/config-provider/style/index.js.map +1 -0
- package/lib/config-provider/style/index.less +2 -0
- package/lib/connect/index.js +5 -11
- package/lib/date-picker/DatePicker.d.ts +21 -0
- package/lib/date-picker/DatePicker.d.ts.map +1 -0
- package/lib/date-picker/DatePicker.js +128 -0
- package/lib/date-picker/DatePicker.js.map +1 -0
- package/lib/date-picker/index.d.ts +3 -7
- package/lib/date-picker/index.d.ts.map +1 -1
- package/lib/date-picker/index.js +8 -41
- package/lib/date-picker/index.js.map +1 -1
- package/lib/date-picker/index.less +294 -0
- package/lib/date-picker/style/Calendar.less +402 -0
- package/lib/date-picker/style/DecadePanel.less +81 -0
- package/lib/date-picker/style/MonthPanel.less +86 -0
- package/lib/date-picker/style/MonthPicker.less +11 -0
- package/lib/date-picker/style/Picker.less +113 -0
- package/lib/date-picker/style/RangePicker.less +248 -0
- package/lib/date-picker/style/TimePicker.less +151 -0
- package/lib/date-picker/style/WeekPicker.less +21 -0
- package/lib/date-picker/style/YearPanel.less +85 -0
- package/lib/date-picker/style/index.d.ts +6 -0
- package/lib/date-picker/style/index.d.ts.map +1 -0
- package/lib/date-picker/style/index.js +7 -0
- package/lib/date-picker/style/index.js.map +1 -0
- package/lib/date-picker/style/index.less +17 -0
- package/lib/descriptions/descriptions.d.ts +17 -6
- package/lib/descriptions/descriptions.d.ts.map +1 -1
- package/lib/descriptions/descriptions.js +87 -34
- package/lib/descriptions/descriptions.js.map +1 -1
- package/lib/descriptions/descriptions.less +107 -22
- package/lib/descriptions/index.d.ts +2 -2
- package/lib/descriptions/index.d.ts.map +1 -1
- package/lib/descriptions/index.js +8 -9
- package/lib/descriptions/index.js.map +1 -1
- package/lib/descriptions/style/index.d.ts +3 -0
- package/lib/descriptions/style/index.d.ts.map +1 -0
- package/lib/descriptions/style/index.js +4 -0
- package/lib/descriptions/style/index.js.map +1 -0
- package/lib/descriptions/style/index.less +144 -0
- package/lib/development-login/LoginModal.d.ts +2 -1
- package/lib/development-login/LoginModal.d.ts.map +1 -1
- package/lib/development-login/LoginModal.js +9 -10
- package/lib/development-login/index.d.ts +2 -1
- package/lib/development-login/index.d.ts.map +1 -1
- package/lib/development-login/index.js +9 -8
- package/lib/divider/index.d.ts +1 -1
- package/lib/divider/index.d.ts.map +1 -1
- package/lib/divider/index.js +5 -6
- package/lib/divider/index.js.map +1 -1
- package/lib/divider/style/index.d.ts +3 -0
- package/lib/divider/style/index.d.ts.map +1 -0
- package/lib/divider/style/index.js +4 -0
- package/lib/divider/style/index.js.map +1 -0
- package/lib/divider/style/index.less +109 -0
- package/lib/drawer/drawer.d.ts +22 -2
- package/lib/drawer/drawer.d.ts.map +1 -1
- package/lib/drawer/drawer.js +110 -22
- package/lib/drawer/drawer.js.map +1 -1
- package/lib/drawer/index.d.ts +2 -2
- package/lib/drawer/index.d.ts.map +1 -1
- package/lib/drawer/index.js +7 -8
- package/lib/drawer/index.js.map +1 -1
- package/lib/drawer/index.less +154 -0
- package/lib/drawer/style/drawer.less +245 -0
- package/lib/drawer/style/index.d.ts +4 -0
- package/lib/drawer/style/index.d.ts.map +1 -0
- package/lib/drawer/style/index.js +5 -0
- package/lib/drawer/style/index.js.map +1 -0
- package/lib/drawer/style/index.less +3 -0
- package/lib/dropdown/index.d.ts +1 -1
- package/lib/dropdown/index.d.ts.map +1 -1
- package/lib/dropdown/index.js +5 -6
- package/lib/dropdown/index.js.map +1 -1
- package/lib/dropdown/style/index.d.ts +4 -0
- package/lib/dropdown/style/index.d.ts.map +1 -0
- package/lib/dropdown/style/index.js +5 -0
- package/lib/dropdown/style/index.js.map +1 -0
- package/lib/dropdown/style/index.less +282 -0
- package/lib/ellipsis/Svg/CopySVG.d.ts +2 -1
- package/lib/ellipsis/Svg/CopySVG.d.ts.map +1 -1
- package/lib/ellipsis/Svg/CopySVG.js +2 -3
- package/lib/ellipsis/Svg/TickSVG.d.ts +2 -1
- package/lib/ellipsis/Svg/TickSVG.d.ts.map +1 -1
- package/lib/ellipsis/Svg/TickSVG.js +2 -3
- package/lib/ellipsis/index.d.ts +2 -1
- package/lib/ellipsis/index.d.ts.map +1 -1
- package/lib/ellipsis/index.js +12 -9
- package/lib/empty/empty.d.ts +2 -2
- package/lib/empty/empty.d.ts.map +1 -1
- package/lib/empty/empty.js +8 -12
- package/lib/empty/empty.stories.js +2 -4
- package/lib/empty/index.d.ts +1 -1
- package/lib/empty/index.d.ts.map +1 -1
- package/lib/empty/index.js +2 -3
- package/lib/empty/index.js.map +1 -1
- package/lib/empty/style/index.d.ts +3 -0
- package/lib/empty/style/index.d.ts.map +1 -0
- package/lib/empty/style/index.js +4 -0
- package/lib/empty/style/index.js.map +1 -0
- package/lib/empty/style/index.less +52 -0
- package/lib/exception/exception.js +1 -2
- package/lib/exception/index.js +1 -2
- package/lib/form/form.d.ts +1 -0
- package/lib/form/form.d.ts.map +1 -1
- package/lib/form/form.js +11 -10
- package/lib/form/form.js.map +1 -1
- package/lib/form/form.less +36 -0
- package/lib/form/index.d.ts +1 -1
- package/lib/form/index.d.ts.map +1 -1
- package/lib/form/index.js +2 -3
- package/lib/form/index.js.map +1 -1
- package/lib/form/style/index.d.ts +4 -0
- package/lib/form/style/index.d.ts.map +1 -0
- package/lib/form/style/index.js +5 -0
- package/lib/form/style/index.js.map +1 -0
- package/lib/form/style/index.less +653 -0
- package/lib/form/style/mixin.less +126 -0
- package/lib/grid/index.d.ts +3 -10
- package/lib/grid/index.d.ts.map +1 -1
- package/lib/grid/index.js +17 -24
- package/lib/grid/index.js.map +1 -1
- package/lib/grid/style/index.d.ts +1 -0
- package/lib/grid/style/index.d.ts.map +1 -1
- package/lib/grid/style/index.js +1 -0
- package/lib/grid/style/index.js.map +1 -1
- package/lib/grid/style/index.less +24 -26
- package/lib/grid/style/mixin.less +63 -19
- package/lib/grid-v4/RowContext.d.ts.map +1 -0
- package/lib/{grid → grid-v4}/RowContext.js +1 -2
- package/lib/grid-v4/RowContext.js.map +1 -0
- package/lib/grid-v4/col.d.ts.map +1 -0
- package/lib/{grid → grid-v4}/col.js +9 -14
- package/lib/grid-v4/col.js.map +1 -0
- package/lib/grid-v4/hooks/useBreakpoint.d.ts.map +1 -0
- package/lib/{grid → grid-v4}/hooks/useBreakpoint.js +1 -2
- package/lib/grid-v4/hooks/useBreakpoint.js.map +1 -0
- package/lib/grid-v4/index.d.ts +12 -0
- package/lib/grid-v4/index.d.ts.map +1 -0
- package/lib/grid-v4/index.js +30 -0
- package/lib/grid-v4/index.js.map +1 -0
- package/lib/grid-v4/row.d.ts.map +1 -0
- package/lib/{grid → grid-v4}/row.js +10 -14
- package/lib/grid-v4/row.js.map +1 -0
- package/lib/grid-v4/style/index.d.ts +2 -0
- package/lib/grid-v4/style/index.d.ts.map +1 -0
- package/lib/grid-v4/style/index.js +3 -0
- package/lib/grid-v4/style/index.js.map +1 -0
- package/lib/grid-v4/style/index.less +124 -0
- package/lib/grid-v4/style/mixin.less +57 -0
- package/lib/handle/index.d.ts +2 -1
- package/lib/handle/index.d.ts.map +1 -1
- package/lib/handle/index.js +6 -9
- package/lib/icon/IconFont.js +4 -6
- package/lib/icon/components/Icon.js +16 -22
- package/lib/icon/components/utils.js +7 -9
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.d.ts.map +1 -1
- package/lib/icon/index.js +10 -13
- package/lib/icon/index.js.map +1 -1
- package/lib/icon/style/index.d.ts +3 -0
- package/lib/icon/style/index.d.ts.map +1 -0
- package/lib/icon/style/index.js +4 -0
- package/lib/icon/style/index.js.map +1 -0
- package/lib/icon/style/index.less +4 -0
- package/lib/icon/style/style.less +4 -0
- package/lib/icon/utils.js +1 -2
- package/lib/icon-list/index.js +1 -2
- package/lib/icon-old/index.d.ts +5 -0
- package/lib/icon-old/index.d.ts.map +1 -0
- package/lib/icon-old/index.js +24 -0
- package/lib/icon-old/index.js.map +1 -0
- package/lib/icon-old/style/index.d.ts +3 -0
- package/lib/icon-old/style/index.d.ts.map +1 -0
- package/lib/icon-old/style/index.js +4 -0
- package/lib/icon-old/style/index.js.map +1 -0
- package/lib/icon-old/style/index.less +4 -0
- package/lib/img/Contain.d.ts +2 -1
- package/lib/img/Contain.d.ts.map +1 -1
- package/lib/img/Contain.js +3 -6
- package/lib/img/Cover.d.ts +2 -1
- package/lib/img/Cover.d.ts.map +1 -1
- package/lib/img/Cover.js +8 -11
- package/lib/img/index.d.ts +2 -1
- package/lib/img/index.d.ts.map +1 -1
- package/lib/img/index.js +8 -11
- package/lib/index.d.ts +3 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -3
- package/lib/index.js.map +1 -1
- package/lib/input/index.d.ts +2 -2
- package/lib/input/index.d.ts.map +1 -1
- package/lib/input/index.js +7 -8
- package/lib/input/index.js.map +1 -1
- package/lib/input/input.d.ts +5 -5
- package/lib/input/input.d.ts.map +1 -1
- package/lib/input/input.js +19 -32
- package/lib/input/input.js.map +1 -1
- package/lib/input/input.less +123 -20
- package/lib/input/style/index.d.ts +4 -0
- package/lib/input/style/index.d.ts.map +1 -0
- package/lib/input/style/index.js +5 -0
- package/lib/input/style/index.js.map +1 -0
- package/lib/input/style/index.less +57 -0
- package/lib/input/style/mixin.less +449 -0
- package/lib/input/style/search-input.less +34 -0
- package/lib/input-number/index.d.ts +5 -9
- package/lib/input-number/index.d.ts.map +1 -1
- package/lib/input-number/index.js +7 -10
- package/lib/input-number/index.js.map +1 -1
- package/lib/input-number/inputNumber.d.ts +10 -0
- package/lib/input-number/inputNumber.d.ts.map +1 -0
- package/lib/input-number/inputNumber.js +48 -0
- package/lib/input-number/inputNumber.js.map +1 -0
- package/lib/input-number/inputNumber.less +12 -0
- package/lib/input-number/style/index.d.ts +3 -0
- package/lib/input-number/style/index.d.ts.map +1 -0
- package/lib/input-number/style/index.js +4 -0
- package/lib/input-number/style/index.js.map +1 -0
- package/lib/input-number/style/index.less +179 -0
- package/lib/label/index.d.ts +2 -2
- package/lib/label/index.d.ts.map +1 -1
- package/lib/label/index.js +10 -17
- package/lib/layout/index.d.ts +1 -1
- package/lib/layout/index.d.ts.map +1 -1
- package/lib/layout/index.js +5 -6
- package/lib/layout/index.js.map +1 -1
- package/lib/layout/style/index.d.ts +3 -0
- package/lib/layout/style/index.d.ts.map +1 -0
- package/lib/layout/style/index.js +4 -0
- package/lib/layout/style/index.js.map +1 -0
- package/lib/layout/style/index.less +124 -0
- package/lib/layout/style/light.less +15 -0
- package/lib/list/index.d.ts +1 -1
- package/lib/list/index.d.ts.map +1 -1
- package/lib/list/index.js +5 -6
- package/lib/list/index.js.map +1 -1
- package/lib/list/style/bordered.less +41 -0
- package/lib/list/style/index.d.ts +7 -0
- package/lib/list/style/index.d.ts.map +1 -0
- package/lib/list/style/index.js +8 -0
- package/lib/list/style/index.js.map +1 -0
- package/lib/list/style/index.less +234 -0
- package/lib/list/style/responsive.less +40 -0
- package/lib/loading-button/index.d.ts +2 -1
- package/lib/loading-button/index.d.ts.map +1 -1
- package/lib/loading-button/index.js +8 -11
- package/lib/locale/default.d.ts +11 -0
- package/lib/locale/default.d.ts.map +1 -1
- package/lib/locale/default.js +1 -2
- package/lib/locale/en_US.d.ts +11 -0
- package/lib/locale/en_US.d.ts.map +1 -1
- package/lib/locale/en_US.js +13 -3
- package/lib/locale/en_US.js.map +1 -1
- package/lib/locale/zh_CN.d.ts +11 -0
- package/lib/locale/zh_CN.d.ts.map +1 -1
- package/lib/locale/zh_CN.js +13 -3
- package/lib/locale/zh_CN.js.map +1 -1
- package/lib/locale-provider/index.d.ts +1 -1
- package/lib/locale-provider/index.d.ts.map +1 -1
- package/lib/locale-provider/index.js +5 -6
- package/lib/locale-provider/index.js.map +1 -1
- package/lib/locale-provider/style/index.d.ts +2 -0
- package/lib/locale-provider/style/index.d.ts.map +1 -0
- package/lib/locale-provider/style/index.js +3 -0
- package/lib/locale-provider/style/index.js.map +1 -0
- package/lib/locale-provider/style/index.less +2 -0
- package/lib/mentions/index.d.ts +1 -1
- package/lib/mentions/index.d.ts.map +1 -1
- package/lib/mentions/index.js +5 -6
- package/lib/mentions/index.js.map +1 -1
- package/lib/mentions/style/index.d.ts +4 -0
- package/lib/mentions/style/index.d.ts.map +1 -0
- package/lib/mentions/style/index.js +5 -0
- package/lib/mentions/style/index.js.map +1 -0
- package/lib/mentions/style/index.less +164 -0
- package/lib/menu/index.d.ts +1 -1
- package/lib/menu/index.d.ts.map +1 -1
- package/lib/menu/index.js +5 -6
- package/lib/menu/index.js.map +1 -1
- package/lib/menu/style/dark.less +139 -0
- package/lib/menu/style/index.d.ts +4 -0
- package/lib/menu/style/index.d.ts.map +1 -0
- package/lib/menu/style/index.js +5 -0
- package/lib/menu/style/index.js.map +1 -0
- package/lib/menu/style/index.less +515 -0
- package/lib/message/index.d.ts +1 -1
- package/lib/message/index.d.ts.map +1 -1
- package/lib/message/index.js +5 -6
- package/lib/message/index.js.map +1 -1
- package/lib/message/message.less +2 -1
- package/lib/message/style/index.d.ts +3 -0
- package/lib/message/style/index.d.ts.map +1 -0
- package/lib/message/style/index.js +4 -0
- package/lib/message/style/index.js.map +1 -0
- package/lib/message/style/index.less +75 -0
- package/lib/modal/index.d.ts +1 -2
- package/lib/modal/index.d.ts.map +1 -1
- package/lib/modal/index.js +4 -6
- package/lib/modal/index.js.map +1 -1
- package/lib/modal/index.less +36 -0
- package/lib/modal/modal.d.ts +1 -1
- package/lib/modal/modal.d.ts.map +1 -1
- package/lib/modal/modal.js +133 -19
- package/lib/modal/modal.js.map +1 -1
- package/lib/modal/style/confirm.less +96 -0
- package/lib/modal/style/index.d.ts +5 -0
- package/lib/modal/style/index.d.ts.map +1 -0
- package/lib/modal/style/index.js +6 -0
- package/lib/modal/style/index.js.map +1 -0
- package/lib/modal/style/index.less +4 -0
- package/lib/modal/style/modal.less +165 -0
- package/lib/notification/assets/index.d.ts +3 -0
- package/lib/notification/assets/index.d.ts.map +1 -0
- package/lib/notification/assets/index.js +20 -0
- package/lib/notification/assets/index.js.map +1 -0
- package/lib/notification/assets/svg-error-tip.d.ts +4 -0
- package/lib/notification/assets/svg-error-tip.d.ts.map +1 -0
- package/lib/notification/assets/svg-error-tip.js +154 -0
- package/lib/notification/assets/svg-error-tip.js.map +1 -0
- package/lib/notification/assets/svg-success-tip.d.ts +4 -0
- package/lib/notification/assets/svg-success-tip.d.ts.map +1 -0
- package/lib/notification/assets/svg-success-tip.js +171 -0
- package/lib/notification/assets/svg-success-tip.js.map +1 -0
- package/lib/notification/index.d.ts +2 -2
- package/lib/notification/index.d.ts.map +1 -1
- package/lib/notification/index.js +8 -10
- package/lib/notification/index.js.map +1 -1
- package/lib/notification/notification.d.ts +9 -0
- package/lib/notification/notification.d.ts.map +1 -0
- package/lib/notification/notification.js +105 -0
- package/lib/notification/notification.js.map +1 -0
- package/lib/notification/notification.less +59 -0
- package/lib/notification/style/index.d.ts +3 -0
- package/lib/notification/style/index.d.ts.map +1 -0
- package/lib/notification/style/index.js +4 -0
- package/lib/notification/style/index.js.map +1 -0
- package/lib/notification/style/index.less +201 -0
- package/lib/page/Box.d.ts +2 -1
- package/lib/page/Box.d.ts.map +1 -1
- package/lib/page/Box.js +2 -5
- package/lib/page/index.d.ts +2 -1
- package/lib/page/index.d.ts.map +1 -1
- package/lib/page/index.js +7 -12
- package/lib/page/utils.js +4 -7
- package/lib/page-header/index.d.ts +1 -1
- package/lib/page-header/index.d.ts.map +1 -1
- package/lib/page-header/index.js +5 -6
- package/lib/page-header/index.js.map +1 -1
- package/lib/page-header/style/index.d.ts +4 -0
- package/lib/page-header/style/index.d.ts.map +1 -0
- package/lib/page-header/style/index.js +5 -0
- package/lib/page-header/style/index.js.map +1 -0
- package/lib/page-header/style/index.less +119 -0
- package/lib/pagination/index.d.ts +1 -1
- package/lib/pagination/index.d.ts.map +1 -1
- package/lib/pagination/index.js +5 -6
- package/lib/pagination/index.js.map +1 -1
- package/lib/pagination/style/index.d.ts +4 -0
- package/lib/pagination/style/index.d.ts.map +1 -0
- package/lib/pagination/style/index.js +5 -0
- package/lib/pagination/style/index.js.map +1 -0
- package/lib/pagination/style/index.less +400 -0
- package/lib/popconfirm/index.d.ts +3 -3
- package/lib/popconfirm/index.d.ts.map +1 -1
- package/lib/popconfirm/index.js +6 -7
- package/lib/popconfirm/index.js.map +1 -1
- package/lib/popconfirm/index.less +26 -0
- package/lib/popconfirm/popconfirm.d.ts +6 -0
- package/lib/popconfirm/popconfirm.d.ts.map +1 -0
- package/lib/popconfirm/popconfirm.js +58 -0
- package/lib/popconfirm/popconfirm.js.map +1 -0
- package/lib/popconfirm/style/index.d.ts +5 -0
- package/lib/popconfirm/style/index.d.ts.map +1 -0
- package/lib/popconfirm/style/index.js +6 -0
- package/lib/popconfirm/style/index.js.map +1 -0
- package/lib/popover/index.d.ts +3 -3
- package/lib/popover/index.d.ts.map +1 -1
- package/lib/popover/index.js +6 -7
- package/lib/popover/index.js.map +1 -1
- package/lib/popover/index.less +51 -0
- package/lib/popover/popover.d.ts +13 -0
- package/lib/popover/popover.d.ts.map +1 -0
- package/lib/popover/popover.js +53 -0
- package/lib/popover/popover.js.map +1 -0
- package/lib/popover/style/index.d.ts +4 -0
- package/lib/popover/style/index.d.ts.map +1 -0
- package/lib/popover/style/index.js +5 -0
- package/lib/popover/style/index.js.map +1 -0
- package/lib/popover/style/index.less +205 -0
- package/lib/prev-locale.js +6 -11
- package/lib/preview-text/index.d.ts +1 -1
- package/lib/preview-text/index.d.ts.map +1 -1
- package/lib/preview-text/index.js +5 -7
- package/lib/preview-text/index.js.map +1 -1
- package/lib/progress/index.d.ts +3 -3
- package/lib/progress/index.d.ts.map +1 -1
- package/lib/progress/index.js +6 -7
- package/lib/progress/index.js.map +1 -1
- package/lib/progress/progress.d.ts +12 -0
- package/lib/progress/progress.d.ts.map +1 -0
- package/lib/progress/progress.js +148 -0
- package/lib/progress/progress.js.map +1 -0
- package/lib/progress/progress.less +82 -0
- package/lib/progress/style/index.d.ts +3 -0
- package/lib/progress/style/index.d.ts.map +1 -0
- package/lib/progress/style/index.js +4 -0
- package/lib/progress/style/index.js.map +1 -0
- package/lib/progress/style/index.less +182 -0
- package/lib/query-form/Field/Checkbox.d.ts +2 -1
- package/lib/query-form/Field/Checkbox.d.ts.map +1 -1
- package/lib/query-form/Field/Checkbox.js +3 -6
- package/lib/query-form/Field/Composition/FieldPopover.d.ts +17 -0
- package/lib/query-form/Field/Composition/FieldPopover.d.ts.map +1 -0
- package/lib/query-form/Field/Composition/FieldPopover.js +319 -0
- package/lib/query-form/Field/Composition/FieldPopover.js.map +1 -0
- package/lib/query-form/Field/Composition/FieldPopover.less +35 -0
- package/lib/query-form/Field/Composition/Select.d.ts +4 -0
- package/lib/query-form/Field/Composition/Select.d.ts.map +1 -0
- package/lib/query-form/Field/Composition/Select.js +132 -0
- package/lib/query-form/Field/Composition/Select.js.map +1 -0
- package/lib/query-form/Field/Composition/index.d.ts +14 -0
- package/lib/query-form/Field/Composition/index.d.ts.map +1 -0
- package/lib/query-form/Field/Composition/index.js +337 -0
- package/lib/query-form/Field/Composition/index.js.map +1 -0
- package/lib/query-form/Field/Composition/index.less +106 -0
- package/lib/query-form/Field/Composition/utils.d.ts +6 -0
- package/lib/query-form/Field/Composition/utils.d.ts.map +1 -0
- package/lib/query-form/Field/Composition/utils.js +27 -0
- package/lib/query-form/Field/Composition/utils.js.map +1 -0
- package/lib/query-form/Field/Select.d.ts +2 -1
- package/lib/query-form/Field/Select.d.ts.map +1 -1
- package/lib/query-form/Field/Select.js +10 -13
- package/lib/query-form/Field/SelectInput.d.ts +2 -1
- package/lib/query-form/Field/SelectInput.d.ts.map +1 -1
- package/lib/query-form/Field/SelectInput.js +10 -13
- package/lib/query-form/Field/fieldsMap.js +4 -7
- package/lib/query-form/Field/index.d.ts +1 -1
- package/lib/query-form/Field/index.d.ts.map +1 -1
- package/lib/query-form/Field/index.js +19 -24
- package/lib/query-form/createActions.js +2 -3
- package/lib/query-form/index.d.ts +5 -8
- package/lib/query-form/index.d.ts.map +1 -1
- package/lib/query-form/index.js +156 -171
- package/lib/query-form/index.js.map +1 -1
- package/lib/query-form/index.less +12 -9
- package/lib/query-list-scene/List.d.ts +1 -1
- package/lib/query-list-scene/List.d.ts.map +1 -1
- package/lib/query-list-scene/List.js +24 -29
- package/lib/query-list-scene/QueryForm.d.ts +1 -1
- package/lib/query-list-scene/QueryForm.d.ts.map +1 -1
- package/lib/query-list-scene/QueryForm.js +17 -22
- package/lib/query-list-scene/QueryListScene.d.ts +1 -1
- package/lib/query-list-scene/QueryListScene.d.ts.map +1 -1
- package/lib/query-list-scene/QueryListScene.js +14 -18
- package/lib/query-list-scene/Title.d.ts +2 -1
- package/lib/query-list-scene/Title.d.ts.map +1 -1
- package/lib/query-list-scene/Title.js +2 -3
- package/lib/query-list-scene/Toolbar.d.ts +2 -1
- package/lib/query-list-scene/Toolbar.d.ts.map +1 -1
- package/lib/query-list-scene/Toolbar.js +6 -9
- package/lib/query-list-scene/createActions.js +2 -3
- package/lib/query-list-scene/index.js +4 -8
- package/lib/query-list-scene/index.less +4 -4
- package/lib/radio/index.d.ts +4 -3
- package/lib/radio/index.d.ts.map +1 -1
- package/lib/radio/index.js +7 -11
- package/lib/radio/index.js.map +1 -1
- package/lib/radio/radio.d.ts +17 -0
- package/lib/radio/radio.d.ts.map +1 -0
- package/lib/radio/radio.js +75 -0
- package/lib/radio/radio.js.map +1 -0
- package/lib/radio/radio.less +43 -0
- package/lib/radio/style/index.d.ts +3 -0
- package/lib/radio/style/index.d.ts.map +1 -0
- package/lib/radio/style/index.js +4 -0
- package/lib/radio/style/index.js.map +1 -0
- package/lib/radio/style/index.less +327 -0
- package/lib/rate/index.d.ts +1 -1
- package/lib/rate/index.d.ts.map +1 -1
- package/lib/rate/index.js +5 -6
- package/lib/rate/index.js.map +1 -1
- package/lib/rate/style/index.d.ts +4 -0
- package/lib/rate/style/index.d.ts.map +1 -0
- package/lib/rate/style/index.js +5 -0
- package/lib/rate/style/index.js.map +1 -0
- package/lib/rate/style/index.less +85 -0
- package/lib/render-empty/index.js +1 -2
- package/lib/render-empty/render-empty.js +2 -3
- package/lib/result/index.d.ts +1 -1
- package/lib/result/index.d.ts.map +1 -1
- package/lib/result/index.js +5 -6
- package/lib/result/index.js.map +1 -1
- package/lib/result/style/index.d.ts +3 -0
- package/lib/result/style/index.d.ts.map +1 -0
- package/lib/result/style/index.js +4 -0
- package/lib/result/style/index.js.map +1 -0
- package/lib/result/style/index.less +71 -0
- package/lib/row/index.d.ts +1 -1
- package/lib/row/index.d.ts.map +1 -1
- package/lib/row/index.js +5 -6
- package/lib/row/index.js.map +1 -1
- package/lib/row/style/index.d.ts +3 -0
- package/lib/row/style/index.d.ts.map +1 -0
- package/lib/row/style/index.js +4 -0
- package/lib/row/style/index.js.map +1 -0
- package/lib/segmented/index.d.ts +1 -1
- package/lib/segmented/index.d.ts.map +1 -1
- package/lib/segmented/index.js +8 -12
- package/lib/segmented/index.less +126 -112
- package/lib/select/index.d.ts +2 -2
- package/lib/select/index.d.ts.map +1 -1
- package/lib/select/index.js +7 -8
- package/lib/select/index.js.map +1 -1
- package/lib/select/select.d.ts +1 -1
- package/lib/select/select.d.ts.map +1 -1
- package/lib/select/select.js +11 -16
- package/lib/select/select.js.map +1 -1
- package/lib/select/select.less +83 -9
- package/lib/select/style/index.d.ts +4 -0
- package/lib/select/style/index.d.ts.map +1 -0
- package/lib/select/style/index.js +5 -0
- package/lib/select/style/index.js.map +1 -0
- package/lib/select/style/index.less +604 -0
- package/lib/skeleton/index.d.ts +1 -1
- package/lib/skeleton/index.d.ts.map +1 -1
- package/lib/skeleton/index.js +5 -6
- package/lib/skeleton/index.js.map +1 -1
- package/lib/skeleton/style/index.d.ts +3 -0
- package/lib/skeleton/style/index.d.ts.map +1 -0
- package/lib/skeleton/style/index.js +4 -0
- package/lib/skeleton/style/index.js.map +1 -0
- package/lib/skeleton/style/index.less +130 -0
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.d.ts.map +1 -1
- package/lib/slider/index.js +5 -6
- package/lib/slider/index.js.map +1 -1
- package/lib/slider/style/index.d.ts +4 -0
- package/lib/slider/style/index.d.ts.map +1 -0
- package/lib/slider/style/index.js +5 -0
- package/lib/slider/style/index.js.map +1 -0
- package/lib/slider/style/index.less +197 -0
- package/lib/spin/index.d.ts +1 -1
- package/lib/spin/index.d.ts.map +1 -1
- package/lib/spin/index.js +5 -6
- package/lib/spin/index.js.map +1 -1
- package/lib/spin/style/index.d.ts +3 -0
- package/lib/spin/style/index.d.ts.map +1 -0
- package/lib/spin/style/index.js +4 -0
- package/lib/spin/style/index.js.map +1 -0
- package/lib/spin/style/index.less +214 -0
- package/lib/statistic/index.d.ts +1 -1
- package/lib/statistic/index.d.ts.map +1 -1
- package/lib/statistic/index.js +5 -6
- package/lib/statistic/index.js.map +1 -1
- package/lib/statistic/style/index.d.ts +3 -0
- package/lib/statistic/style/index.d.ts.map +1 -0
- package/lib/statistic/style/index.js +4 -0
- package/lib/statistic/style/index.js.map +1 -0
- package/lib/statistic/style/index.less +40 -0
- package/lib/steps/assets/background_left.svg +12 -0
- package/lib/steps/assets/background_right.svg +12 -0
- package/lib/steps/assets/horizontal_line.svg +3 -0
- package/lib/steps/assets/vertical_line.svg +3 -0
- package/lib/steps/index.d.ts +2 -2
- package/lib/steps/index.d.ts.map +1 -1
- package/lib/steps/index.js +11 -4
- package/lib/steps/index.js.map +1 -1
- package/lib/steps/stepStyle/icon.less +51 -0
- package/lib/steps/stepStyle/index.less +177 -0
- package/lib/steps/stepStyle/nav.less +73 -0
- package/lib/steps/stepStyle/progress-dot.less +10 -0
- package/lib/steps/stepStyle/variables.less +8 -0
- package/lib/steps/stepStyle/vertical.less +41 -0
- package/lib/steps/steps.d.ts +10 -2
- package/lib/steps/steps.d.ts.map +1 -1
- package/lib/steps/steps.js +56 -31
- package/lib/steps/steps.js.map +1 -1
- package/lib/steps/style/compatibility.less +50 -0
- package/lib/steps/style/custom-icon.less +31 -0
- package/lib/steps/style/index.d.ts +3 -0
- package/lib/steps/style/index.d.ts.map +1 -0
- package/lib/steps/style/index.js +4 -0
- package/lib/steps/style/index.js.map +1 -0
- package/lib/steps/style/index.less +241 -6
- package/lib/steps/style/label-placement.less +38 -0
- package/lib/steps/style/nav.less +96 -247
- package/lib/steps/style/progress-dot.less +80 -0
- package/lib/steps/style/small.less +43 -3
- package/lib/steps/style/vertical.less +74 -0
- package/lib/style/color/bezierEasing.less +110 -0
- package/lib/style/color/colorPalette.less +75 -0
- package/lib/style/color/colors.less +149 -0
- package/lib/style/color/tinyColor.less +1184 -0
- package/lib/style/core/base.less +510 -0
- package/lib/style/core/iconfont.less +19 -0
- package/lib/style/core/index.less +4 -0
- package/lib/style/core/motion/fade.less +31 -0
- package/lib/style/core/motion/move.less +120 -0
- package/lib/style/core/motion/other.less +40 -0
- package/lib/style/core/motion/slide.less +120 -0
- package/lib/style/core/motion/swing.less +34 -0
- package/lib/style/core/motion/zoom.less +162 -0
- package/lib/style/core/motion.less +20 -0
- package/lib/style/index.d.ts +2 -0
- package/lib/style/index.d.ts.map +1 -0
- package/lib/style/index.js +3 -0
- package/lib/style/index.js.map +1 -0
- package/lib/style/index.less +2 -0
- package/lib/style/mixins/clearfix.less +13 -0
- package/lib/style/mixins/compatibility.less +22 -0
- package/lib/style/mixins/iconfont.less +43 -0
- package/lib/style/mixins/index.less +10 -0
- package/lib/style/mixins/motion.less +35 -0
- package/lib/style/mixins/operation-unit.less +18 -0
- package/lib/style/mixins/reset.less +13 -0
- package/lib/style/mixins/size.less +10 -0
- package/lib/style/mixins/typography.less +49 -0
- package/lib/style/themes/default.less +700 -0
- package/lib/style/themes/index.less +1 -0
- package/lib/style/v2-compatible-reset.d.ts +2 -0
- package/lib/style/v2-compatible-reset.d.ts.map +1 -0
- package/lib/style/v2-compatible-reset.js +3 -0
- package/lib/style/v2-compatible-reset.js.map +1 -0
- package/lib/style/v2-compatible-reset.less +51 -0
- package/lib/svg-components/illustration-403.d.ts +1 -1
- package/lib/svg-components/illustration-403.js +4 -5
- package/lib/svg-components/illustration-404.d.ts +1 -1
- package/lib/svg-components/illustration-404.js +4 -5
- package/lib/svg-components/illustration-500.d.ts +1 -1
- package/lib/svg-components/illustration-500.js +4 -5
- package/lib/svg-components/illustration-empty.d.ts +1 -1
- package/lib/svg-components/illustration-empty.js +4 -5
- package/lib/svg-components/illustration-failure.d.ts +1 -1
- package/lib/svg-components/illustration-failure.js +4 -5
- package/lib/svg-components/illustration-no-access.d.ts +1 -1
- package/lib/svg-components/illustration-no-access.js +4 -5
- package/lib/svg-components/illustration-no-chart.d.ts +1 -1
- package/lib/svg-components/illustration-no-chart.js +4 -5
- package/lib/svg-components/illustration-no-result.d.ts +1 -1
- package/lib/svg-components/illustration-no-result.js +4 -5
- package/lib/svg-components/illustration-offline.d.ts +1 -1
- package/lib/svg-components/illustration-offline.js +4 -5
- package/lib/svg-components/illustration-success.d.ts +1 -1
- package/lib/svg-components/illustration-success.js +4 -5
- package/lib/switch/index.js +4 -5
- package/lib/switch/index.less +46 -0
- package/lib/switch/style/index.d.ts +4 -0
- package/lib/switch/style/index.d.ts.map +1 -0
- package/lib/switch/style/index.js +5 -0
- package/lib/switch/style/index.js.map +1 -0
- package/lib/switch/style/index.less +178 -0
- package/lib/switch/switch.d.ts +9 -1
- package/lib/switch/switch.d.ts.map +1 -1
- package/lib/switch/switch.js +45 -12
- package/lib/switch/switch.js.map +1 -1
- package/lib/table/assets/image-loading-background.d.ts +1 -1
- package/lib/table/assets/image-loading-background.js +4 -5
- package/lib/table/assets/image-loading.d.ts +1 -1
- package/lib/table/assets/image-loading.js +4 -5
- package/lib/table/constants.js +1 -2
- package/lib/table/context.js +1 -2
- package/lib/table/hooks/use-column-setting.js +4 -5
- package/lib/table/index.d.ts +1 -1
- package/lib/table/index.d.ts.map +1 -1
- package/lib/table/index.js +2 -3
- package/lib/table/index.js.map +1 -1
- package/lib/table/style/index.d.ts +9 -0
- package/lib/table/style/index.d.ts.map +1 -0
- package/lib/table/style/index.js +10 -0
- package/lib/table/style/index.js.map +1 -0
- package/lib/table/style/index.less +844 -0
- package/lib/table/style/size.less +179 -0
- package/lib/table/table.d.ts +3 -2
- package/lib/table/table.d.ts.map +1 -1
- package/lib/table/table.js +44 -18
- package/lib/table/table.js.map +1 -1
- package/lib/table/table.less +33 -5
- package/lib/table/table.stories.js +5 -10
- package/lib/table/total-shower.d.ts +2 -2
- package/lib/table/total-shower.d.ts.map +1 -1
- package/lib/table/total-shower.js +2 -3
- package/lib/tabs/index.d.ts +2 -1
- package/lib/tabs/index.d.ts.map +1 -1
- package/lib/tabs/index.js +7 -7
- package/lib/tabs/index.js.map +1 -1
- package/lib/tabs/style/card-style.less +186 -0
- package/lib/tabs/style/index.d.ts +3 -0
- package/lib/tabs/style/index.d.ts.map +1 -0
- package/lib/tabs/style/index.js +4 -0
- package/lib/tabs/style/index.js.map +1 -0
- package/lib/tabs/style/index.less +437 -0
- package/lib/tabs/tabs.d.ts +3 -2
- package/lib/tabs/tabs.d.ts.map +1 -1
- package/lib/tabs/tabs.js +28 -10
- package/lib/tabs/tabs.js.map +1 -1
- package/lib/tabs/tabs.less +114 -0
- package/lib/tag/color.less +43 -0
- package/lib/tag/index.d.ts +4 -3
- package/lib/tag/index.d.ts.map +1 -1
- package/lib/tag/index.js +15 -10
- package/lib/tag/index.js.map +1 -1
- package/lib/tag/style/index.d.ts +3 -0
- package/lib/tag/style/index.d.ts.map +1 -0
- package/lib/tag/style/index.js +4 -0
- package/lib/tag/style/index.js.map +1 -0
- package/lib/tag/style/index.less +106 -0
- package/lib/tag/tag.d.ts +41 -0
- package/lib/tag/tag.d.ts.map +1 -0
- package/lib/tag/tag.js +183 -0
- package/lib/tag/tag.js.map +1 -0
- package/lib/tag/tag.less +192 -0
- package/lib/time-picker/TimePicker.d.ts +9 -0
- package/lib/time-picker/TimePicker.d.ts.map +1 -0
- package/lib/time-picker/TimePicker.js +55 -0
- package/lib/time-picker/TimePicker.js.map +1 -0
- package/lib/time-picker/index.d.ts +8 -7
- package/lib/time-picker/index.d.ts.map +1 -1
- package/lib/time-picker/index.js +5 -19
- package/lib/time-picker/index.js.map +1 -1
- package/lib/time-picker/index.less +38 -0
- package/lib/time-picker/style/index.d.ts +3 -0
- package/lib/time-picker/style/index.d.ts.map +1 -0
- package/lib/time-picker/style/index.js +4 -0
- package/lib/time-picker/style/index.js.map +1 -0
- package/lib/time-picker/style/index.less +246 -0
- package/lib/timeline/index.d.ts +1 -1
- package/lib/timeline/index.d.ts.map +1 -1
- package/lib/timeline/index.js +5 -6
- package/lib/timeline/index.js.map +1 -1
- package/lib/timeline/style/index.d.ts +3 -0
- package/lib/timeline/style/index.d.ts.map +1 -0
- package/lib/timeline/style/index.js +4 -0
- package/lib/timeline/style/index.js.map +1 -0
- package/lib/timeline/style/index.less +167 -0
- package/lib/title/index.d.ts +1 -1
- package/lib/title/index.js +3 -6
- package/lib/tntd-action/Action.d.ts +6 -0
- package/lib/tntd-action/Action.d.ts.map +1 -0
- package/lib/tntd-action/Action.js +86 -0
- package/lib/tntd-action/Action.js.map +1 -0
- package/lib/tntd-action/index.d.ts +6 -0
- package/lib/tntd-action/index.d.ts.map +1 -0
- package/lib/tntd-action/index.js +83 -0
- package/lib/tntd-action/index.js.map +1 -0
- package/lib/tntd-action/index.less +36 -0
- package/lib/tntd-cascader/AntdCascader/component/DisabledContext.js +5 -7
- package/lib/tntd-cascader/AntdCascader/component/FormItemInputContext.js +4 -5
- package/lib/tntd-cascader/AntdCascader/component/SizeContext.js +4 -5
- package/lib/tntd-cascader/AntdCascader/component/context.js +3 -6
- package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.d.ts +2 -2
- package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.d.ts.map +1 -1
- package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +4 -5
- package/lib/tntd-cascader/AntdCascader/component/getIcons.d.ts +2 -2
- package/lib/tntd-cascader/AntdCascader/component/getIcons.js +3 -3
- package/lib/tntd-cascader/AntdCascader/component/useCompactItemContext.js +9 -12
- package/lib/tntd-cascader/AntdCascader/config/utils.d.ts +1 -1
- package/lib/tntd-cascader/AntdCascader/config/utils.js +8 -12
- package/lib/tntd-cascader/AntdCascader/config/warning.js +4 -5
- package/lib/tntd-cascader/AntdCascader/index.js +13 -16
- package/lib/tntd-cascader/AntdCascader/index.less +28 -27
- package/lib/tntd-cascader/AntdCascader/interface.js +1 -2
- package/lib/tntd-cascader/rc-cascader/Cascader.js +7 -10
- package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.d.ts +1 -1
- package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.d.ts.map +1 -1
- package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.js +6 -7
- package/lib/tntd-cascader/rc-cascader/OptionList/Column.d.ts +1 -1
- package/lib/tntd-cascader/rc-cascader/OptionList/Column.d.ts.map +1 -1
- package/lib/tntd-cascader/rc-cascader/OptionList/Column.js +8 -10
- package/lib/tntd-cascader/rc-cascader/OptionList/index.js +14 -17
- package/lib/tntd-cascader/rc-cascader/OptionList/useActive.js +8 -10
- package/lib/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +11 -13
- package/lib/tntd-cascader/rc-cascader/context.js +4 -5
- package/lib/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +6 -7
- package/lib/tntd-cascader/rc-cascader/hooks/useEntities.js +5 -6
- package/lib/tntd-cascader/rc-cascader/hooks/useMissingValues.js +5 -6
- package/lib/tntd-cascader/rc-cascader/hooks/useRefFunc.js +3 -3
- package/lib/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +3 -3
- package/lib/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +10 -13
- package/lib/tntd-cascader/rc-cascader/index.js +1 -2
- package/lib/tntd-cascader/rc-cascader/utils/commonUtil.js +3 -6
- package/lib/tntd-cascader/rc-cascader/utils/treeUtil.js +2 -2
- package/lib/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +1 -2
- package/lib/tntd-form/ErrorList.d.ts +1 -1
- package/lib/tntd-form/ErrorList.d.ts.map +1 -1
- package/lib/tntd-form/ErrorList.js +6 -6
- package/lib/tntd-form/Form.d.ts +1 -1
- package/lib/tntd-form/Form.d.ts.map +1 -1
- package/lib/tntd-form/Form.js +15 -18
- package/lib/tntd-form/Form.js.map +1 -1
- package/lib/tntd-form/FormItem/ItemHolder.d.ts +1 -1
- package/lib/tntd-form/FormItem/ItemHolder.d.ts.map +1 -1
- package/lib/tntd-form/FormItem/ItemHolder.js +11 -14
- package/lib/tntd-form/FormItem/ItemHolder.js.map +1 -1
- package/lib/tntd-form/FormItem/index.js +14 -14
- package/lib/tntd-form/FormItemInput.d.ts +1 -1
- package/lib/tntd-form/FormItemInput.d.ts.map +1 -1
- package/lib/tntd-form/FormItemInput.js +5 -6
- package/lib/tntd-form/FormItemInput.js.map +1 -1
- package/lib/tntd-form/FormItemLabel.d.ts +1 -1
- package/lib/tntd-form/FormItemLabel.d.ts.map +1 -1
- package/lib/tntd-form/FormItemLabel.js +9 -13
- package/lib/tntd-form/FormItemLabel.js.map +1 -1
- package/lib/tntd-form/FormList.js +5 -8
- package/lib/tntd-form/context.d.ts +1 -1
- package/lib/tntd-form/context.d.ts.map +1 -1
- package/lib/tntd-form/context.js +14 -19
- package/lib/tntd-form/context.js.map +1 -1
- package/lib/tntd-form/hooks/useDebounce.js +5 -5
- package/lib/tntd-form/hooks/useForm.js +5 -5
- package/lib/tntd-form/hooks/useFormItemStatus.js +1 -2
- package/lib/tntd-form/hooks/useFrameState.js +10 -9
- package/lib/tntd-form/hooks/useItemRef.js +3 -3
- package/lib/tntd-form/index.js +4 -5
- package/lib/tntd-form/style/index.d.ts +1 -1
- package/lib/tntd-form/style/index.d.ts.map +1 -1
- package/lib/tntd-form/style/index.js +1 -1
- package/lib/tntd-form/style/index.js.map +1 -1
- package/lib/tntd-form/style/index.less +1 -1
- package/lib/tntd-form/style/rtl.less +3 -3
- package/lib/tntd-form/validateMessagesContext.js +1 -2
- package/lib/tntd-icon/index.d.ts +2 -1
- package/lib/tntd-icon/index.d.ts.map +1 -1
- package/lib/tntd-icon/index.js +3 -6
- package/lib/tntd-layout/ActionsContext.js +1 -2
- package/lib/tntd-layout/AppList.js +7 -8
- package/lib/tntd-layout/Application.d.ts +2 -1
- package/lib/tntd-layout/Application.d.ts.map +1 -1
- package/lib/tntd-layout/Application.js +7 -8
- package/lib/tntd-layout/Avatar.d.ts +2 -1
- package/lib/tntd-layout/Avatar.d.ts.map +1 -1
- package/lib/tntd-layout/Avatar.js +5 -6
- package/lib/tntd-layout/CompatibleLanguage.d.ts +2 -1
- package/lib/tntd-layout/CompatibleLanguage.d.ts.map +1 -1
- package/lib/tntd-layout/CompatibleLanguage.js +7 -8
- package/lib/tntd-layout/EnterpriseLayout/Avatar.d.ts +2 -1
- package/lib/tntd-layout/EnterpriseLayout/Avatar.d.ts.map +1 -1
- package/lib/tntd-layout/EnterpriseLayout/Avatar.js +5 -6
- package/lib/tntd-layout/EnterpriseLayout/Language.js +7 -8
- package/lib/tntd-layout/EnterpriseLayout/Theme.d.ts +2 -1
- package/lib/tntd-layout/EnterpriseLayout/Theme.d.ts.map +1 -1
- package/lib/tntd-layout/EnterpriseLayout/Theme.js +7 -8
- package/lib/tntd-layout/EnterpriseLayout/index.js +2 -3
- package/lib/tntd-layout/GlobalNavigation/NavigationPopup.d.ts +2 -1
- package/lib/tntd-layout/GlobalNavigation/NavigationPopup.d.ts.map +1 -1
- package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js +7 -8
- package/lib/tntd-layout/GlobalNavigation/index.js +7 -8
- package/lib/tntd-layout/Header.js +9 -6
- package/lib/tntd-layout/HeaderActions.js +18 -21
- package/lib/tntd-layout/HeaderNavs.js +8 -12
- package/lib/tntd-layout/HeaderTabs.js +10 -14
- package/lib/tntd-layout/Iconfont.d.ts +2 -1
- package/lib/tntd-layout/Iconfont.d.ts.map +1 -1
- package/lib/tntd-layout/Iconfont.js +2 -3
- package/lib/tntd-layout/Language.js +7 -8
- package/lib/tntd-layout/Layout.js +7 -8
- package/lib/tntd-layout/Logo.js +9 -6
- package/lib/tntd-layout/OrgAppList.js +7 -8
- package/lib/tntd-layout/SideMenu.js +8 -11
- package/lib/tntd-layout/Theme.d.ts +2 -1
- package/lib/tntd-layout/Theme.d.ts.map +1 -1
- package/lib/tntd-layout/Theme.js +7 -8
- package/lib/tntd-layout/createActions.js +2 -3
- package/lib/tntd-layout/images/index.js +4 -7
- package/lib/tntd-layout/index.d.ts +3 -2
- package/lib/tntd-layout/index.d.ts.map +1 -1
- package/lib/tntd-layout/index.js +6 -11
- package/lib/tntd-layout/paaslayout/CompactSideMenu.d.ts +2 -1
- package/lib/tntd-layout/paaslayout/CompactSideMenu.d.ts.map +1 -1
- package/lib/tntd-layout/paaslayout/CompactSideMenu.js +7 -8
- package/lib/tntd-layout/paaslayout/Header.d.ts +2 -1
- package/lib/tntd-layout/paaslayout/Header.d.ts.map +1 -1
- package/lib/tntd-layout/paaslayout/Header.js +9 -6
- package/lib/tntd-layout/paaslayout/Logo.d.ts +2 -1
- package/lib/tntd-layout/paaslayout/Logo.d.ts.map +1 -1
- package/lib/tntd-layout/paaslayout/Logo.js +6 -3
- package/lib/tntd-layout/paaslayout/SideMenu.d.ts +2 -1
- package/lib/tntd-layout/paaslayout/SideMenu.d.ts.map +1 -1
- package/lib/tntd-layout/paaslayout/SideMenu.js +7 -8
- package/lib/tntd-layout/paaslayout/index.js +7 -8
- package/lib/tntd-layout/storage.js +14 -27
- package/lib/tntd-modal/index.d.ts +2 -1
- package/lib/tntd-modal/index.d.ts.map +1 -1
- package/lib/tntd-modal/index.js +11 -15
- package/lib/tntd-rc-select/_util/DisabledContext.js +5 -7
- package/lib/tntd-rc-select/_util/FormItemInputContext.js +4 -5
- package/lib/tntd-rc-select/_util/PurePanel.d.ts +2 -2
- package/lib/tntd-rc-select/_util/PurePanel.d.ts.map +1 -1
- package/lib/tntd-rc-select/_util/PurePanel.js +5 -5
- package/lib/tntd-rc-select/_util/SizeContext.js +4 -5
- package/lib/tntd-rc-select/_util/context.js +3 -6
- package/lib/tntd-rc-select/_util/defaultRenderEmpty.d.ts +2 -2
- package/lib/tntd-rc-select/_util/defaultRenderEmpty.d.ts.map +1 -1
- package/lib/tntd-rc-select/_util/defaultRenderEmpty.js +4 -5
- package/lib/tntd-rc-select/_util/getIcons.d.ts +2 -2
- package/lib/tntd-rc-select/_util/getIcons.js +3 -3
- package/lib/tntd-rc-select/_util/interface.js +1 -2
- package/lib/tntd-rc-select/_util/motion.js +3 -6
- package/lib/tntd-rc-select/_util/type.js +3 -5
- package/lib/tntd-rc-select/_util/useCompactItemContext.js +9 -12
- package/lib/tntd-rc-select/_util/warning.js +4 -5
- package/lib/tntd-rc-select/index.js +11 -14
- package/lib/tntd-rc-select/style/index.less +844 -740
- package/lib/tntd-select/DropDownWrap.js +16 -19
- package/lib/tntd-select/index.d.ts +1 -1
- package/lib/tntd-select/index.d.ts.map +1 -1
- package/lib/tntd-select/index.js +44 -47
- package/lib/tooltip/index.d.ts +3 -3
- package/lib/tooltip/index.d.ts.map +1 -1
- package/lib/tooltip/index.js +6 -7
- package/lib/tooltip/index.js.map +1 -1
- package/lib/tooltip/index.less +24 -0
- package/lib/tooltip/style/index.d.ts +4 -0
- package/lib/tooltip/style/index.d.ts.map +1 -0
- package/lib/tooltip/style/index.js +5 -0
- package/lib/tooltip/style/index.js.map +1 -0
- package/lib/tooltip/style/index.less +187 -0
- package/lib/tooltip/tooltip.d.ts +8 -0
- package/lib/tooltip/tooltip.d.ts.map +1 -0
- package/lib/tooltip/tooltip.js +51 -0
- package/lib/tooltip/tooltip.js.map +1 -0
- package/lib/transfer/index.d.ts +1 -1
- package/lib/transfer/index.d.ts.map +1 -1
- package/lib/transfer/index.js +5 -6
- package/lib/transfer/index.js.map +1 -1
- package/lib/transfer/style/customize.less +62 -0
- package/lib/transfer/style/index.d.ts +7 -0
- package/lib/transfer/style/index.d.ts.map +1 -0
- package/lib/transfer/style/index.js +8 -0
- package/lib/transfer/style/index.js.map +1 -0
- package/lib/transfer/style/index.less +191 -0
- package/lib/tree/index.d.ts +1 -1
- package/lib/tree/index.d.ts.map +1 -1
- package/lib/tree/index.js +5 -6
- package/lib/tree/index.js.map +1 -1
- package/lib/tree/style/directory.less +95 -0
- package/lib/tree/style/index.d.ts +3 -0
- package/lib/tree/style/index.d.ts.map +1 -0
- package/lib/tree/style/index.js +4 -0
- package/lib/tree/style/index.js.map +1 -0
- package/lib/tree/style/index.less +280 -0
- package/lib/tree/style/mixin.less +29 -0
- package/lib/tree-select/index.d.ts +1 -1
- package/lib/tree-select/index.d.ts.map +1 -1
- package/lib/tree-select/index.js +6 -8
- package/lib/tree-select/index.js.map +1 -1
- package/lib/tree-select/style/index.d.ts +5 -0
- package/lib/tree-select/style/index.d.ts.map +1 -0
- package/lib/tree-select/style/index.js +6 -0
- package/lib/tree-select/style/index.js.map +1 -0
- package/lib/tree-select/style/index.less +191 -0
- package/lib/typography/index.d.ts +1 -1
- package/lib/typography/index.d.ts.map +1 -1
- package/lib/typography/index.js +5 -6
- package/lib/typography/index.js.map +1 -1
- package/lib/typography/style/index.d.ts +5 -0
- package/lib/typography/style/index.d.ts.map +1 -0
- package/lib/typography/style/index.js +6 -0
- package/lib/typography/style/index.js.map +1 -0
- package/lib/typography/style/index.less +204 -0
- package/lib/upload/index.d.ts +1 -1
- package/lib/upload/index.d.ts.map +1 -1
- package/lib/upload/index.js +5 -6
- package/lib/upload/index.js.map +1 -1
- package/lib/upload/style/index.d.ts +5 -0
- package/lib/upload/style/index.d.ts.map +1 -0
- package/lib/upload/style/index.js +6 -0
- package/lib/upload/style/index.js.map +1 -0
- package/lib/upload/style/index.less +542 -0
- package/lib/utils/checkAuth.js +2 -4
- package/lib/utils/findMenuInfoByPath.js +2 -4
- package/lib/utils/index.js +10 -18
- package/lib/utils/lang.d.ts.map +1 -1
- package/lib/utils/lang.js +14 -13
- package/lib/utils/lang.js.map +1 -1
- package/lib/version/index.d.ts +1 -1
- package/lib/version/index.d.ts.map +1 -1
- package/lib/version/index.js +5 -6
- package/lib/version/index.js.map +1 -1
- package/lib/version/style/index.d.ts +2 -0
- package/lib/version/style/index.d.ts.map +1 -0
- package/lib/version/style/index.js +3 -0
- package/lib/version/style/index.js.map +1 -0
- package/lib/water-mark/index.js +7 -9
- package/package.json +3 -2
- package/themes/common/css2.x.css +154 -0
- package/themes/common/css3.x.css +154 -0
- package/themes/common/index.less +30 -26
- package/themes/default/colors.less +13 -5
- package/themes/default/colorsVar.less +160 -0
- package/themes/default/lessToCssVar.less +127 -0
- package/themes/default/lessVars2.x.less +34 -0
- package/themes/default/lessVars3.x.less +36 -0
- package/themes/default/variables.less +91 -59
- package/themes/default/variablesVar.less +673 -0
- package/themes/utils/colorPalette.less +11 -0
- package/es/checkbox/checkbox-group.js +0 -5
- package/es/checkbox/checkbox-group.js.map +0 -1
- package/es/drawer/drawer.less +0 -20
- package/es/grid/RowContext.js.map +0 -1
- package/es/grid/col.js.map +0 -1
- package/es/grid/hooks/useBreakpoint.js.map +0 -1
- package/es/grid/row.js.map +0 -1
- package/es/modal/modal.less +0 -37
- package/es/radio/radio-group.js +0 -5
- package/es/radio/radio-group.js.map +0 -1
- package/lib/checkbox/checkbox-group.d.ts +0 -8
- package/lib/checkbox/checkbox-group.d.ts.map +0 -1
- package/lib/checkbox/checkbox-group.js +0 -13
- package/lib/checkbox/checkbox-group.js.map +0 -1
- package/lib/drawer/drawer.less +0 -20
- package/lib/grid/RowContext.d.ts.map +0 -1
- package/lib/grid/RowContext.js.map +0 -1
- package/lib/grid/col.d.ts.map +0 -1
- package/lib/grid/col.js.map +0 -1
- package/lib/grid/hooks/useBreakpoint.d.ts.map +0 -1
- package/lib/grid/hooks/useBreakpoint.js.map +0 -1
- package/lib/grid/row.d.ts.map +0 -1
- package/lib/modal/modal.less +0 -37
- package/lib/radio/radio-group.d.ts +0 -8
- package/lib/radio/radio-group.d.ts.map +0 -1
- package/lib/radio/radio-group.js +0 -13
- package/lib/radio/radio-group.js.map +0 -1
- /package/es/{grid → grid-v4}/RowContext.js +0 -0
- /package/es/{grid → grid-v4}/col.js +0 -0
- /package/es/{grid → grid-v4}/hooks/useBreakpoint.js +0 -0
- /package/es/{grid → grid-v4}/row.js +0 -0
- /package/es/{grid → grid-v4}/style/rtl.less +0 -0
- /package/lib/{grid → grid-v4}/RowContext.d.ts +0 -0
- /package/lib/{grid → grid-v4}/col.d.ts +0 -0
- /package/lib/{grid → grid-v4}/hooks/useBreakpoint.d.ts +0 -0
- /package/lib/{grid → grid-v4}/row.d.ts +0 -0
- /package/lib/{grid → grid-v4}/style/rtl.less +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// @import '../../style/mixins/index';
|
|
2
|
+
@tnt-prefix: tnt;
|
|
3
|
+
|
|
4
|
+
@row-prefix-cls: ~'@{tnt-prefix}-row';
|
|
5
|
+
@col-prefix-cls: ~'@{tnt-prefix}-col';
|
|
6
|
+
|
|
7
|
+
// mixins for grid system
|
|
8
|
+
// ------------------------
|
|
9
|
+
|
|
10
|
+
.loop-grid-columns(@index, @class) when (@index > 0) {
|
|
11
|
+
.@{col-prefix-cls}@{class}-@{index} {
|
|
12
|
+
display: block;
|
|
13
|
+
flex: 0 0 percentage((@index / @grid-columns));
|
|
14
|
+
max-width: percentage((@index / @grid-columns));
|
|
15
|
+
}
|
|
16
|
+
.@{col-prefix-cls}@{class}-push-@{index} {
|
|
17
|
+
left: percentage((@index / @grid-columns));
|
|
18
|
+
}
|
|
19
|
+
.@{col-prefix-cls}@{class}-pull-@{index} {
|
|
20
|
+
right: percentage((@index / @grid-columns));
|
|
21
|
+
}
|
|
22
|
+
.@{col-prefix-cls}@{class}-offset-@{index} {
|
|
23
|
+
margin-left: percentage((@index / @grid-columns));
|
|
24
|
+
}
|
|
25
|
+
.@{col-prefix-cls}@{class}-order-@{index} {
|
|
26
|
+
order: @index;
|
|
27
|
+
}
|
|
28
|
+
.loop-grid-columns((@index - 1), @class);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.loop-grid-columns(@index, @class) when (@index = 0) {
|
|
32
|
+
.@{col-prefix-cls}@{class}-@{index} {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
.@{col-prefix-cls}-push-@{index} {
|
|
36
|
+
left: auto;
|
|
37
|
+
}
|
|
38
|
+
.@{col-prefix-cls}-pull-@{index} {
|
|
39
|
+
right: auto;
|
|
40
|
+
}
|
|
41
|
+
.@{col-prefix-cls}@{class}-push-@{index} {
|
|
42
|
+
left: auto;
|
|
43
|
+
}
|
|
44
|
+
.@{col-prefix-cls}@{class}-pull-@{index} {
|
|
45
|
+
right: auto;
|
|
46
|
+
}
|
|
47
|
+
.@{col-prefix-cls}@{class}-offset-@{index} {
|
|
48
|
+
margin-left: 0;
|
|
49
|
+
}
|
|
50
|
+
.@{col-prefix-cls}@{class}-order-@{index} {
|
|
51
|
+
order: 0;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.make-grid(@class: ~'') {
|
|
56
|
+
.loop-grid-columns(@grid-columns, @class);
|
|
57
|
+
}
|
package/es/icon/index.js
CHANGED
|
@@ -16,6 +16,7 @@ import { svgBaseProps, withThemeSuffix, removeTypeTheme, getThemeFromTypeName, a
|
|
|
16
16
|
import warning from '../_util/warning';
|
|
17
17
|
import LocaleReceiver from 'antd/es/locale-provider/LocaleReceiver';
|
|
18
18
|
import { getTwoToneColor, setTwoToneColor } from './twoTonePrimaryColor';
|
|
19
|
+
import './style/style.less';
|
|
19
20
|
// Initial setting
|
|
20
21
|
ReactIcon.add(...Object.keys(allIcons).map(key => allIcons[key]));
|
|
21
22
|
setTwoToneColor('#1890ff');
|
|
@@ -51,6 +52,7 @@ const Icon = props => {
|
|
|
51
52
|
restProps = __rest(props, ["className", "type", "component", "viewBox", "spin", "rotate", "tabIndex", "onClick", "children", "theme", "twoToneColor"]);
|
|
52
53
|
warning(Boolean(type || Component || children), 'Icon', 'Should have `type` prop or `component` prop or `children`.');
|
|
53
54
|
const classString = classNames({
|
|
55
|
+
[`tntd-anticon`]: true,
|
|
54
56
|
[`anticon`]: true,
|
|
55
57
|
[`anticon-${type}`]: Boolean(type)
|
|
56
58
|
}, className);
|
package/es/icon/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/icon/index.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,8BAA8B;AAC9B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAA;AAChD,OAAO,SAAS,MAAM,cAAc,CAAA;AACpC,OAAO,oBAAoB,MAAM,YAAY,CAAA;AAC7C,OAAO,EACL,YAAY,EACZ,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,KAAK,GACN,MAAM,SAAS,CAAA;AAChB,OAAO,OAAO,MAAM,kBAAkB,CAAA;AACtC,OAAO,cAAc,MAAM,wCAAwC,CAAA;AACnE,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MA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AiC,CAAC,IAAI,KAAK,IAAI,EAAE,IACrE,SAAS,IACb,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,WAAW,KAErB,eAAe,EAAE,CAChB,CACL,CACc,CAClB,CAAA;AACH,CAAC,CAAA;AAED,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;AAChD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;AACtC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;AAEtC,eAAe,IAAI,CAAA","sourcesContent":["/* eslint-disable camelcase */\nimport * as React from 'react'\nimport classNames from 'classnames'\nimport * as allIcons from '@tntd/icons/lib/dist'\nimport ReactIcon from './components'\nimport createFromIconfontCN from './IconFont'\nimport {\n svgBaseProps,\n withThemeSuffix,\n removeTypeTheme,\n getThemeFromTypeName,\n alias,\n} from './utils'\nimport warning from '../_util/warning'\nimport LocaleReceiver from 'antd/es/locale-provider/LocaleReceiver'\nimport { getTwoToneColor, setTwoToneColor } from './twoTonePrimaryColor'\nimport './style/style.less'\n// Initial setting\nReactIcon.add(...Object.keys(allIcons).map((key) => (allIcons as any)[key]))\nsetTwoToneColor('#1890ff')\nlet defaultTheme: ThemeType = 'outlined'\nlet dangerousTheme: ThemeType | undefined\n\nfunction unstable_ChangeThemeOfIconsDangerously(theme?: ThemeType) {\n warning(\n false,\n 'Icon',\n `You are using the unstable method 'Icon.unstable_ChangeThemeOfAllIconsDangerously', ` +\n `make sure that all the icons with theme '${theme}' display correctly.`\n )\n dangerousTheme = theme\n}\n\nfunction unstable_ChangeDefaultThemeOfIcons(theme: ThemeType) {\n warning(\n false,\n 'Icon',\n `You are using the unstable method 'Icon.unstable_ChangeDefaultThemeOfIcons', ` +\n `make sure that all the icons with theme '${theme}' display correctly.`\n )\n defaultTheme = theme\n}\n\nexport interface TransferLocale {\n icon: string\n}\n\nexport interface CustomIconComponentProps {\n width: string | number\n height: string | number\n fill: string\n viewBox?: string\n className?: string\n style?: React.CSSProperties\n spin?: boolean\n rotate?: number\n ['aria-hidden']?: React.AriaAttributes['aria-hidden']\n}\n\nexport type ThemeType = 'filled' | 'outlined' | 'twoTone'\n\nexport interface IconProps {\n tabIndex?: number\n type?: string\n className?: string\n theme?: ThemeType\n title?: string\n onKeyUp?: React.KeyboardEventHandler<HTMLElement>\n onClick?: React.MouseEventHandler<HTMLElement>\n component?: React.ComponentType<CustomIconComponentProps | React.SVGProps<SVGSVGElement>>\n twoToneColor?: string\n viewBox?: string\n spin?: boolean\n rotate?: number\n style?: React.CSSProperties\n prefixCls?: string\n role?: string\n}\n\nexport interface IconComponent<P> extends React.SFC<P> {\n createFromIconfontCN: typeof createFromIconfontCN\n getTwoToneColor: typeof getTwoToneColor\n setTwoToneColor: typeof setTwoToneColor\n unstable_ChangeThemeOfIconsDangerously?: typeof unstable_ChangeThemeOfIconsDangerously\n unstable_ChangeDefaultThemeOfIcons?: typeof unstable_ChangeDefaultThemeOfIcons\n}\n\nconst Icon: IconComponent<IconProps> = (props) => {\n const {\n // affect outter <i>...</i>\n className,\n\n // affect inner <svg>...</svg>\n type,\n component: Component,\n viewBox,\n spin,\n rotate,\n\n tabIndex,\n onClick,\n\n // children\n children,\n\n // other\n theme, // default to outlined\n twoToneColor,\n\n ...restProps\n } = props\n\n warning(\n Boolean(type || Component || children),\n 'Icon',\n 'Should have `type` prop or `component` prop or `children`.'\n )\n\n const classString = classNames(\n {\n [`tntd-anticon`]: true,\n [`anticon`]: true,\n [`anticon-${type}`]: Boolean(type),\n },\n className\n )\n\n const svgClassString = classNames({\n [`anticon-spin`]: !!spin || type === 'loading',\n })\n\n const svgStyle = rotate\n ? {\n msTransform: `rotate(${rotate}deg)`,\n transform: `rotate(${rotate}deg)`,\n }\n : undefined\n\n const innerSvgProps: CustomIconComponentProps = {\n ...svgBaseProps,\n className: svgClassString,\n style: svgStyle,\n viewBox,\n }\n\n if (!viewBox) {\n delete innerSvgProps.viewBox\n }\n\n const renderInnerNode = () => {\n // component > children > type\n if (Component) {\n return <Component {...innerSvgProps}>{children}</Component>\n }\n\n if (children) {\n warning(\n Boolean(viewBox) ||\n (React.Children.count(children) === 1 &&\n React.isValidElement(children) &&\n React.Children.only(children).type === 'use'),\n 'Icon',\n 'Make sure that you provide correct `viewBox`' +\n ' prop (default `0 0 1024 1024`) to the icon.'\n )\n return (\n <svg {...innerSvgProps} viewBox={viewBox}>\n {children}\n </svg>\n )\n }\n\n if (typeof type === 'string') {\n let computedType = type\n if (theme) {\n const themeInName = getThemeFromTypeName(type)\n warning(\n !themeInName || theme === themeInName,\n 'Icon',\n `The icon name '${type}' already specify a theme '${themeInName}',` +\n ` the 'theme' prop '${theme}' will be ignored.`\n )\n }\n computedType = withThemeSuffix(\n removeTypeTheme(alias(computedType)),\n dangerousTheme || theme || defaultTheme\n )\n\n return (\n <ReactIcon\n className={svgClassString}\n type={computedType}\n primaryColor={twoToneColor}\n style={svgStyle}\n />\n )\n }\n }\n\n let iconTabIndex = tabIndex\n if (iconTabIndex === undefined && onClick) {\n iconTabIndex = -1\n }\n\n return (\n <LocaleReceiver componentName=\"Icon\">\n {(locale) => (\n <i\n aria-label={type && `${(locale as Record<'icon', object>).icon}: ${type}`}\n {...restProps}\n tabIndex={iconTabIndex}\n onClick={onClick}\n className={classString}\n >\n {renderInnerNode()}\n </i>\n )}\n </LocaleReceiver>\n )\n}\n\nIcon.createFromIconfontCN = createFromIconfontCN\nIcon.getTwoToneColor = getTwoToneColor\nIcon.setTwoToneColor = setTwoToneColor\n\nexport default Icon\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/icon/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/icon-old/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,cAAc,CAAA;AAE/B,OAAO,SAAS,CAAA;AAEhB,cAAc,cAAc,CAAA;AAE5B,eAAe,IAAI,CAAA","sourcesContent":["import Icon from 'antd/es/icon'\n\nimport './style'\n\nexport * from 'antd/es/icon'\n\nexport default Icon\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/icon-old/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
|
package/es/index.js
CHANGED
|
@@ -95,7 +95,8 @@ export { default as Exception } from './exception';
|
|
|
95
95
|
export { default as TntdCascader } from './tntd-cascader';
|
|
96
96
|
export { default as TntdSecondPage } from './tntd-second-page';
|
|
97
97
|
export { default as TntdForm } from './tntd-form';
|
|
98
|
-
export {
|
|
99
|
-
export {
|
|
98
|
+
export { default as TntdAction } from './tntd-action';
|
|
99
|
+
export { Col as TntdCol } from './grid-v4';
|
|
100
|
+
export { Row as TntdRow } from './grid-v4';
|
|
100
101
|
export { default as Label } from './label';
|
|
101
102
|
import './index.less';
|
package/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,YAAY,C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AW,CAAA;AAC1C,OAAO,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAE1C,OAAO,cAAc,CAAA","sourcesContent":["export { default as Affix } from './affix'\nexport { default as Alert } from './alert'\nexport { default as Anchor } from './anchor'\nexport { default as AutoComplete } from './auto-complete'\nexport { default as Avatar } from './avatar'\nexport { default as BackTop } from './back-top'\nexport { default as Badge } from './badge'\nexport { default as Breadcrumb } from './breadcrumb'\nexport { default as Button } from './button'\nexport { default as Calendar } from './calendar'\nexport { default as Card } from './card'\nexport { default as Carousel } from './carousel'\nexport { default as Cascader } from './cascader'\nexport { default as Checkbox } from './checkbox'\nexport { default as Col } from './col'\nexport { default as Collapse } from './collapse'\nexport { default as ColorPicker } from './color-picker'\nexport { default as Comment } from './comment'\nexport { default as ConfigProvider } from './config-provider'\nexport { default as DatePicker } from './date-picker'\nexport { default as Descriptions } from './descriptions'\nexport { default as Divider } from './divider'\nexport { default as Drawer } from './drawer'\nexport { default as Dropdown } from './dropdown'\nexport { default as Empty } from './empty'\nexport { default as Form } from './form'\nexport { default as Icon } from './icon'\nexport { default as Input } from './input'\nexport { default as InputNumber } from './input-number'\nexport { default as Layout } from './layout'\nexport { default as List } from './list'\nexport { default as LocaleProvider } from './locale-provider'\nexport { default as Mentions } from './mentions'\nexport { default as Menu } from './menu'\nexport { default as message } from './message'\nexport { default as Modal } from './modal'\nexport { default as notification } from './notification'\nexport { default as PageHeader } from './page-header'\nexport { default as Pagination } from './pagination'\nexport { default as Popconfirm } from './popconfirm'\nexport { default as Popover } from './popover'\nexport { default as Progress } from './progress'\nexport { default as Radio } from './radio'\nexport { default as Rate } from './rate'\nexport { default as Result } from './result'\nexport { default as Row } from './row'\nexport { default as Select } from './select'\nexport { default as Skeleton } from './skeleton'\nexport { default as Slider } from './slider'\nexport { default as Spin } from './spin'\nexport { default as Statistic } from './statistic'\nexport { default as Steps } from './steps'\nexport { default as Switch } from './switch'\nexport { default as Table } from './table'\nexport { default as Tabs } from './tabs'\nexport { default as Tag } from './tag'\nexport { default as TimePicker } from './time-picker'\nexport { default as Timeline } from './timeline'\nexport { default as Tooltip } from './tooltip'\nexport { default as Transfer } from './transfer'\nexport { default as Tree } from './tree'\nexport { default as TreeSelect } from './tree-select'\nexport { default as Typography } from './typography'\nexport { default as Upload } from './upload'\nexport { default as version } from './version'\nexport { default as renderEmpty } from './render-empty'\n\n/**\n * 新增\n */\nexport { default as Watermark } from './water-mark'\nexport { default as Segmented } from './segmented'\nexport { default as CheckCard } from './check-card'\n\n/**\n * 业务组件\n */\nexport { default as TntdLayout } from './tntd-layout'\nexport { default as AuthContext } from './auth-context'\nexport { default as QueryForm } from './query-form'\nexport { default as QueryListScene } from './query-list-scene'\nexport { default as TntdIcon } from './tntd-icon'\nexport { default as iconList } from './icon-list'\nexport { default as TntdModal } from './tntd-modal'\nexport { default as Columns } from './columns'\nexport { default as DevelopmentLogin } from './development-login'\nexport { default as LoadingButton } from './loading-button'\nexport { default as Handle } from './handle'\nexport { default as Page } from './page'\nexport { default as TntdSelect } from './tntd-select'\nexport { default as TntdRcSelect } from './tntd-rc-select'\nexport { default as Img } from './img'\nexport { default as Title } from './title'\nexport { default as Ellipsis } from './ellipsis'\nexport { default as ArrayInput } from './array-input'\nexport { default as Exception } from './exception'\nexport { default as TntdCascader } from './tntd-cascader'\nexport { default as TntdSecondPage } from './tntd-second-page'\nexport { default as TntdForm } from './tntd-form'\nexport { default as TntdAction } from './tntd-action'\nexport { Col as TntdCol } from './grid-v4'\nexport { Row as TntdRow } from './grid-v4'\nexport { default as Label } from './label'\n\nimport './index.less'\n"]}
|
package/es/input/index.js
CHANGED
package/es/input/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,SAAS,CAAA;AAChB,OAAO,cAAc,CAAA;AAErB,cAAc,SAAS,CAAA;AAEvB,eAAe,KAAK,CAAA","sourcesContent":["import { Input } from './input'\nimport './style'\nimport './input.less'\n\nexport * from './input'\n\nexport default Input\n"]}
|
package/es/input/input.js
CHANGED
|
@@ -13,19 +13,18 @@ import { connectReadonlyComponent } from '../connect';
|
|
|
13
13
|
import { capitalizeFirstLetter } from '../utils';
|
|
14
14
|
import React, { forwardRef } from 'react';
|
|
15
15
|
import PreviewText from '../preview-text';
|
|
16
|
+
const tntPrefixCls = 'tnt-input';
|
|
16
17
|
const Group = forwardRef((_a, ref) => {
|
|
17
18
|
var {
|
|
18
19
|
className,
|
|
19
20
|
borderStyle
|
|
20
21
|
} = _a,
|
|
21
22
|
props = __rest(_a, ["className", "borderStyle"]);
|
|
22
|
-
return React.createElement(ConfigConsumer, null, ({
|
|
23
|
-
getPrefixCls
|
|
24
|
-
}) => {
|
|
25
|
-
const prefixCls = getPrefixCls('input');
|
|
23
|
+
return React.createElement(ConfigConsumer, null, () => {
|
|
26
24
|
return React.createElement(AntdInput.Group, Object.assign({}, props, {
|
|
27
|
-
className: classNames(className, {
|
|
28
|
-
[`${
|
|
25
|
+
className: classNames(className, tntPrefixCls, {
|
|
26
|
+
[`${tntPrefixCls}-outline`]: borderStyle === 'outline',
|
|
27
|
+
[`${tntPrefixCls}-fill`]: borderStyle === 'fill'
|
|
29
28
|
}),
|
|
30
29
|
// @ts-ignore
|
|
31
30
|
ref: ref
|
|
@@ -39,14 +38,12 @@ const Search = forwardRef((_a, ref) => {
|
|
|
39
38
|
readonly
|
|
40
39
|
} = _a,
|
|
41
40
|
props = __rest(_a, ["className", "borderStyle", "readonly"]);
|
|
42
|
-
return readonly ? React.createElement(PreviewText.Input, Object.assign({}, props)) : React.createElement(ConfigConsumer, null, ({
|
|
43
|
-
getPrefixCls
|
|
44
|
-
}) => {
|
|
45
|
-
const prefixCls = getPrefixCls('input');
|
|
41
|
+
return readonly ? React.createElement(PreviewText.Input, Object.assign({}, props)) : React.createElement(ConfigConsumer, null, () => {
|
|
46
42
|
return React.createElement(AntdInput.Search, Object.assign({}, props, {
|
|
47
43
|
placeholder: capitalizeFirstLetter(props === null || props === void 0 ? void 0 : props.placeholder, props === null || props === void 0 ? void 0 : props.capitalize),
|
|
48
|
-
className: classNames(className, {
|
|
49
|
-
[`${
|
|
44
|
+
className: classNames(className, tntPrefixCls, {
|
|
45
|
+
[`${tntPrefixCls}-outline`]: borderStyle === 'outline',
|
|
46
|
+
[`${tntPrefixCls}-fill`]: borderStyle === 'fill'
|
|
50
47
|
}),
|
|
51
48
|
ref: ref
|
|
52
49
|
}));
|
|
@@ -61,14 +58,12 @@ const TextArea = forwardRef((_a, ref) => {
|
|
|
61
58
|
props = __rest(_a, ["className", "borderStyle", "readonly"]);
|
|
62
59
|
return readonly ?
|
|
63
60
|
// @ts-ignore
|
|
64
|
-
React.createElement(PreviewText.Input, Object.assign({}, props)) : React.createElement(ConfigConsumer, null, ({
|
|
65
|
-
getPrefixCls
|
|
66
|
-
}) => {
|
|
67
|
-
const prefixCls = getPrefixCls('input');
|
|
61
|
+
React.createElement(PreviewText.Input, Object.assign({}, props)) : React.createElement(ConfigConsumer, null, () => {
|
|
68
62
|
return React.createElement(AntdInput.TextArea, Object.assign({}, props, {
|
|
69
63
|
placeholder: capitalizeFirstLetter(props === null || props === void 0 ? void 0 : props.placeholder, props === null || props === void 0 ? void 0 : props.capitalize),
|
|
70
|
-
className: classNames(className, {
|
|
71
|
-
[`${
|
|
64
|
+
className: classNames(className, tntPrefixCls, {
|
|
65
|
+
[`${tntPrefixCls}-outline`]: borderStyle === 'outline',
|
|
66
|
+
[`${tntPrefixCls}-fill`]: borderStyle === 'fill'
|
|
72
67
|
}),
|
|
73
68
|
ref: ref
|
|
74
69
|
}));
|
|
@@ -81,15 +76,13 @@ const Password = forwardRef((_a, ref) => {
|
|
|
81
76
|
readonly
|
|
82
77
|
} = _a,
|
|
83
78
|
props = __rest(_a, ["className", "borderStyle", "readonly"]);
|
|
84
|
-
return readonly ? React.createElement(PreviewText.Input, Object.assign({}, props)) : React.createElement(ConfigConsumer, null, ({
|
|
85
|
-
getPrefixCls
|
|
86
|
-
}) => {
|
|
87
|
-
const prefixCls = getPrefixCls('input');
|
|
79
|
+
return readonly ? React.createElement(PreviewText.Input, Object.assign({}, props)) : React.createElement(ConfigConsumer, null, () => {
|
|
88
80
|
return React.createElement(AntdInput.Password, Object.assign({}, props, {
|
|
89
81
|
placeholder: capitalizeFirstLetter(props === null || props === void 0 ? void 0 : props.placeholder, props === null || props === void 0 ? void 0 : props.capitalize),
|
|
90
82
|
ref: ref,
|
|
91
|
-
className: classNames(className, {
|
|
92
|
-
[`${
|
|
83
|
+
className: classNames(className, tntPrefixCls, {
|
|
84
|
+
[`${tntPrefixCls}-outline`]: borderStyle === 'outline',
|
|
85
|
+
[`${tntPrefixCls}-fill`]: borderStyle === 'fill'
|
|
93
86
|
})
|
|
94
87
|
}));
|
|
95
88
|
});
|
|
@@ -100,15 +93,13 @@ export const InternalInput = forwardRef((_a, ref) => {
|
|
|
100
93
|
borderStyle
|
|
101
94
|
} = _a,
|
|
102
95
|
props = __rest(_a, ["className", "borderStyle"]);
|
|
103
|
-
return React.createElement(ConfigConsumer, null, ({
|
|
104
|
-
getPrefixCls
|
|
105
|
-
}) => {
|
|
106
|
-
const prefixCls = getPrefixCls('input');
|
|
96
|
+
return React.createElement(ConfigConsumer, null, () => {
|
|
107
97
|
return React.createElement(AntdInput, Object.assign({}, props, {
|
|
108
98
|
placeholder: capitalizeFirstLetter(props === null || props === void 0 ? void 0 : props.placeholder, props === null || props === void 0 ? void 0 : props.capitalize),
|
|
109
99
|
ref: ref,
|
|
110
|
-
className: classNames(className, {
|
|
111
|
-
[`${
|
|
100
|
+
className: classNames(className, tntPrefixCls, {
|
|
101
|
+
[`${tntPrefixCls}-outline`]: borderStyle === 'outline',
|
|
102
|
+
[`${tntPrefixCls}-fill`]: borderStyle === 'fill'
|
|
112
103
|
})
|
|
113
104
|
}));
|
|
114
105
|
});
|
package/es/input/input.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../src/input/input.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAYxD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,WAAW,MAAM,iBAAiB,CAAA;AA+BzC,MAAM,KAAK,GAAG,UAAU,CACtB,CAAC,EAAoC,EAAE,GAAG,EAAE,EAAE;QAA7C,EAAE,SAAS,EAAE,WAAW,OAAY,EAAP,KAAK,cAAlC,4BAAoC,CAAF;IAAY,OAAA,CAC7C,oBAAC,cAAc,QACZ,
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../src/input/input.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAYxD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,WAAW,MA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KAAK,CAAC,KAAK,GAAG,KAAK,CAAA;AACnB,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAA;AACzB,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAA;AACzB,KAAK,CAAC,MAAM,GAAG,MAAM,CAAA","sourcesContent":["import { ConfigConsumer } from 'antd/es/config-provider'\nimport type {\n GroupProps as AntdGroupProps,\n InputProps as AntdInputProps,\n TextAreaProps as AntdTextAreaProps,\n PasswordProps as AntdPasswordProps,\n SearchProps as AntdSearchProps,\n} from 'antd/es/input'\nimport type { default as AntdPassword } from 'antd/es/input/Password'\nimport type { default as AntdTextArea } from 'antd/es/input/TextArea'\nimport type { default as AntdGroup } from 'antd/es/input/Group'\nimport type { default as AntdSearch } from 'antd/es/input/Search'\nimport { default as AntdInput } from 'antd/es/input'\nimport classNames from 'classnames'\nimport { connectReadonlyComponent } from '../connect'\nimport { capitalizeFirstLetter } from '../utils'\nimport React, { forwardRef } from 'react'\nimport PreviewText from '../preview-text'\n\nexport interface InputProps extends AntdInputProps {\n // 线框风格\n borderStyle?: 'outline' | 'fill'\n readonly?: boolean\n}\n\nexport interface GroupProps extends AntdGroupProps {\n // 线框风格\n borderStyle?: 'outline' | 'fill'\n}\n\nexport interface TextAreaProps extends AntdTextAreaProps {\n // 线框风格\n borderStyle?: 'outline' | 'fill'\n readonly?: boolean\n}\n\nexport interface PasswordProps extends AntdPasswordProps {\n // 线框风格\n borderStyle?: 'outline' | 'fill'\n readonly?: boolean\n}\n\nexport interface SearchProps extends AntdSearchProps {\n // 线框风格\n borderStyle?: 'outline' | 'fill'\n readonly?: boolean\n}\n\nconst tntPrefixCls = 'tnt-input'\n\nconst Group = forwardRef<typeof AntdGroup, GroupProps>(\n ({ className, borderStyle, ...props }, ref) => (\n <ConfigConsumer>\n {() => {\n return (\n <AntdInput.Group\n {...props}\n className={classNames(className, tntPrefixCls, {\n [`${tntPrefixCls}-outline`]: borderStyle === 'outline',\n [`${tntPrefixCls}-fill`]: borderStyle === 'fill',\n })}\n // @ts-ignore\n ref={ref}\n />\n )\n }}\n </ConfigConsumer>\n )\n)\n\nconst Search = forwardRef<AntdSearch, SearchProps & { capitalize?: boolean }>(\n ({ className, borderStyle, readonly, ...props }, ref) =>\n readonly ? (\n <PreviewText.Input {...props} />\n ) : (\n <ConfigConsumer>\n {() => {\n return (\n <AntdInput.Search\n {...props}\n placeholder={capitalizeFirstLetter(props?.placeholder, props?.capitalize)}\n className={classNames(className, tntPrefixCls, {\n [`${tntPrefixCls}-outline`]: borderStyle === 'outline',\n [`${tntPrefixCls}-fill`]: borderStyle === 'fill',\n })}\n ref={ref}\n />\n )\n }}\n </ConfigConsumer>\n )\n)\n\nconst TextArea = forwardRef<AntdTextArea, TextAreaProps & { capitalize?: boolean }>(\n ({ className, borderStyle, readonly, ...props }, ref) =>\n readonly ? (\n // @ts-ignore\n <PreviewText.Input {...props} />\n ) : (\n <ConfigConsumer>\n {() => {\n return (\n <AntdInput.TextArea\n {...props}\n placeholder={capitalizeFirstLetter(props?.placeholder, props?.capitalize)}\n className={classNames(className, tntPrefixCls, {\n [`${tntPrefixCls}-outline`]: borderStyle === 'outline',\n [`${tntPrefixCls}-fill`]: borderStyle === 'fill',\n })}\n ref={ref}\n />\n )\n }}\n </ConfigConsumer>\n )\n)\n\nconst Password = forwardRef<AntdPassword, PasswordProps & { capitalize?: boolean }>(\n ({ className, borderStyle, readonly, ...props }, ref) =>\n readonly ? (\n <PreviewText.Input {...props} />\n ) : (\n <ConfigConsumer>\n {() => {\n return (\n <AntdInput.Password\n {...props}\n placeholder={capitalizeFirstLetter(props?.placeholder, props?.capitalize)}\n ref={ref}\n className={classNames(className, tntPrefixCls, {\n [`${tntPrefixCls}-outline`]: borderStyle === 'outline',\n [`${tntPrefixCls}-fill`]: borderStyle === 'fill',\n })}\n />\n )\n }}\n </ConfigConsumer>\n )\n)\n\ninterface InputComponent\n extends React.ForwardRefExoticComponent<InputProps & React.RefAttributes<AntdInput>> {\n Group: typeof Group\n TextArea: typeof TextArea\n Password: typeof Password\n Search: typeof Search\n}\n\nexport const InternalInput = forwardRef<AntdInput, InputProps & { capitalize?: boolean }>(\n ({ className, borderStyle, ...props }, ref) => {\n return (\n <ConfigConsumer>\n {() => {\n return (\n <AntdInput\n {...props}\n placeholder={capitalizeFirstLetter(props?.placeholder, props?.capitalize)}\n ref={ref}\n className={classNames(className, tntPrefixCls, {\n [`${tntPrefixCls}-outline`]: borderStyle === 'outline',\n [`${tntPrefixCls}-fill`]: borderStyle === 'fill',\n })}\n />\n )\n }}\n </ConfigConsumer>\n )\n }\n) as InputComponent\n\nexport const Input = connectReadonlyComponent(InternalInput, PreviewText.Input) as InputComponent\n\nInput.displayName = 'Input'\n\nInput.Group = Group\nInput.TextArea = TextArea\nInput.Password = Password\nInput.Search = Search\n"]}
|
package/es/input/input.less
CHANGED
|
@@ -1,39 +1,142 @@
|
|
|
1
|
+
@import './style/mixin.less';
|
|
2
|
+
|
|
1
3
|
@input-prefix-cls: ~'@{ant-prefix}-input';
|
|
2
4
|
|
|
3
|
-
.input
|
|
5
|
+
.tnt-input,
|
|
6
|
+
.@{input-prefix-cls} {
|
|
7
|
+
&-outline {
|
|
8
|
+
.input-reset-border;
|
|
9
|
+
|
|
10
|
+
.@{input-prefix-cls} {
|
|
11
|
+
.input-reset-border;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.@{input-prefix-cls}-group-wrapper {
|
|
15
|
+
.@{input-prefix-cls}-group-addon {
|
|
16
|
+
.input-reset-border;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&-fill {
|
|
22
|
+
&:not(:has(.@{input-prefix-cls})) {
|
|
23
|
+
.input-fill;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.@{input-prefix-cls} {
|
|
27
|
+
.input-fill;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.@{input-prefix-cls}-group-wrapper {
|
|
31
|
+
.@{input-prefix-cls}-group-addon {
|
|
32
|
+
.input-fill;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:has(input:placeholder-shown) {
|
|
38
|
+
&:hover {
|
|
39
|
+
.@{input-prefix-cls}-prefix,
|
|
40
|
+
.@{input-prefix-cls}-suffix {
|
|
41
|
+
color: @input-color;
|
|
42
|
+
|
|
43
|
+
& > .anticon {
|
|
44
|
+
color: @input-color;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.@{input-prefix-cls}-prefix,
|
|
50
|
+
.@{input-prefix-cls}-suffix {
|
|
51
|
+
color: @input-placeholder-color;
|
|
52
|
+
|
|
53
|
+
& > .anticon {
|
|
54
|
+
color: @input-placeholder-color;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:has(.@{input-prefix-cls}-disabled) {
|
|
60
|
+
.@{input-prefix-cls}-prefix,
|
|
61
|
+
.@{input-prefix-cls}-suffix {
|
|
62
|
+
color: @text-color-tertiary !important;
|
|
63
|
+
|
|
64
|
+
& > .anticon {
|
|
65
|
+
color: @text-color-tertiary !important;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.@{input-prefix-cls}-textarea-clear-icon {
|
|
71
|
+
color: @bg-color-spotilight-tint-50;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.@{input-prefix-cls} {
|
|
76
|
+
&-prefix,
|
|
77
|
+
&-suffix {
|
|
78
|
+
& > .anticon {
|
|
79
|
+
color: @input-color;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.@{input-prefix-cls}-clear-icon {
|
|
83
|
+
color: @bg-color-spotilight-tint-50;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&-affix-wrapper {
|
|
88
|
+
.@{input-prefix-cls}:not(:last-child) {
|
|
89
|
+
padding-right: 36px;
|
|
90
|
+
}
|
|
91
|
+
.@{input-prefix-cls}:not(:first-child) {
|
|
92
|
+
padding-left: 36px;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.input-reset-border {
|
|
4
98
|
border-top: none;
|
|
5
99
|
border-left: none;
|
|
6
100
|
border-right: none;
|
|
7
101
|
border-radius: 0;
|
|
8
102
|
|
|
9
103
|
&:focus {
|
|
10
|
-
box-shadow: none;
|
|
104
|
+
box-shadow: none !important;
|
|
11
105
|
}
|
|
12
106
|
}
|
|
13
107
|
|
|
14
|
-
|
|
15
|
-
|
|
108
|
+
.input-fill {
|
|
109
|
+
border-color: @fill-color-quaternary;
|
|
110
|
+
background-color: @fill-color-quaternary;
|
|
111
|
+
.tnt-input-behavior(@fill-color-tertiary);
|
|
112
|
+
}
|
|
16
113
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
.
|
|
114
|
+
.tnt-input-behavior(@border-color) {
|
|
115
|
+
&:hover {
|
|
116
|
+
.hover();
|
|
20
117
|
}
|
|
21
118
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
.input-reset-border();
|
|
25
|
-
}
|
|
119
|
+
&:focus {
|
|
120
|
+
.active();
|
|
26
121
|
}
|
|
27
122
|
|
|
28
|
-
&.@{input-prefix-cls}-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
.input-reset-border();
|
|
32
|
-
}
|
|
123
|
+
&.@{input-prefix-cls}-disabled {
|
|
124
|
+
.disabled(@border-color);
|
|
125
|
+
}
|
|
33
126
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
127
|
+
&[disabled] {
|
|
128
|
+
.disabled(@border-color);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.disabled(@border-color) {
|
|
133
|
+
color: @disabled-color;
|
|
134
|
+
border-color: @border-color;
|
|
135
|
+
background-color: @input-disabled-bg;
|
|
136
|
+
cursor: not-allowed;
|
|
137
|
+
opacity: 1;
|
|
138
|
+
|
|
139
|
+
&:hover {
|
|
140
|
+
.hover(@border-color);
|
|
38
141
|
}
|
|
39
142
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/input/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,oBAAoB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../button/style'\n"]}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
@import '../../style/themes/index';
|
|
2
|
+
@import '../../style/mixins/index';
|
|
3
|
+
@import './mixin';
|
|
4
|
+
|
|
5
|
+
// Input styles
|
|
6
|
+
.@{ant-prefix}-input {
|
|
7
|
+
.reset-component;
|
|
8
|
+
.input;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//== Style for input-group: input with label, with button or dropdown...
|
|
12
|
+
.@{ant-prefix}-input-group {
|
|
13
|
+
.reset-component;
|
|
14
|
+
.input-group(~'@{ant-prefix}-input');
|
|
15
|
+
&-wrapper {
|
|
16
|
+
display: inline-block;
|
|
17
|
+
width: 100%;
|
|
18
|
+
text-align: start;
|
|
19
|
+
vertical-align: top; // https://github.com/ant-design/ant-design/issues/6403
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Input with affix: prefix or suffix
|
|
24
|
+
.@{ant-prefix}-input-affix-wrapper {
|
|
25
|
+
.reset-component;
|
|
26
|
+
.input-affix-wrapper(~'@{ant-prefix}-input');
|
|
27
|
+
|
|
28
|
+
// https://github.com/ant-design/ant-design/issues/6144
|
|
29
|
+
.@{ant-prefix}-input {
|
|
30
|
+
min-height: 100%; // use min-height, assume that no smaller height to override
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.@{ant-prefix}-input-password-icon {
|
|
35
|
+
color: @text-color-secondary;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
transition: all 0.3s;
|
|
38
|
+
|
|
39
|
+
&:hover {
|
|
40
|
+
color: #333;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.@{ant-prefix}-input-clear-icon {
|
|
45
|
+
.clear-icon;
|
|
46
|
+
vertical-align: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.@{ant-prefix}-input-textarea-clear-icon {
|
|
50
|
+
.clear-icon;
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: 0;
|
|
53
|
+
right: 0;
|
|
54
|
+
margin: 8px 8px 0 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@import './search-input';
|