@julingbase/jly-arco-design 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -8
- package/dist/arco-vue-icon.js.map +1 -1
- package/dist/arco-vue-icon.min.js.map +1 -1
- package/dist/arco-vue.js +46 -8
- package/dist/arco-vue.js.map +1 -1
- package/dist/arco-vue.min.js +606 -600
- package/dist/arco-vue.min.js.map +1 -1
- package/es/_components/auto-tooltip/style/index.less +10 -10
- package/es/_components/input-label/input-label.d.ts +2 -2
- package/es/_components/input-label/style/index.less +7 -7
- package/es/_components/input-label/style/input-label.less +70 -70
- package/es/_components/picker/input-range.d.ts +4 -4
- package/es/_components/picker/input.d.ts +2 -2
- package/es/_components/picker/style/index.less +191 -191
- package/es/_components/picker/style/token.less +58 -58
- package/es/_components/select-view/select-view.d.ts +1 -1
- package/es/_components/select-view/style/index.less +58 -58
- package/es/_components/select-view/style/token.less +4 -4
- package/es/affix/style/index.less +8 -8
- package/es/alert/style/index.less +198 -198
- package/es/alert/style/token.less +76 -76
- package/es/anchor/style/index.less +99 -99
- package/es/anchor/style/token.less +30 -30
- package/es/auto-complete/auto-complete.d.ts +3 -3
- package/es/auto-complete/index.d.ts +9 -9
- package/es/auto-complete/style/index.less +44 -44
- package/es/auto-complete/style/token.less +29 -29
- package/es/avatar/style/index.less +155 -155
- package/es/avatar/style/token.less +29 -29
- package/es/back-top/style/index.less +33 -33
- package/es/back-top/style/token.less +12 -12
- package/es/badge/style/index.less +178 -178
- package/es/badge/style/token.less +30 -30
- package/es/breadcrumb/style/index.less +76 -76
- package/es/breadcrumb/style/token.less +24 -24
- package/es/button/style/index.less +304 -304
- package/es/button/style/token.less +459 -459
- package/es/calendar/calendar.d.ts +1 -1
- package/es/calendar/index.d.ts +3 -3
- package/es/calendar/style/index.less +479 -479
- package/es/calendar/style/token.less +62 -62
- package/es/card/style/index.less +219 -219
- package/es/card/style/token.less +40 -40
- package/es/carousel/style/index.less +405 -405
- package/es/carousel/style/slide.less +175 -175
- package/es/carousel/style/token.less +33 -33
- package/es/cascader/cascader-panel.d.ts +3 -3
- package/es/cascader/cascader.d.ts +6 -6
- package/es/cascader/index.d.ts +20 -20
- package/es/cascader/style/index.less +234 -234
- package/es/cascader/style/token.less +24 -24
- package/es/checkbox/checkbox-group.d.ts +2 -2
- package/es/checkbox/checkbox.d.ts +1 -1
- package/es/checkbox/index.d.ts +5 -5
- package/es/checkbox/style/index.less +182 -182
- package/es/checkbox/style/token.less +37 -37
- package/es/collapse/style/index.less +180 -180
- package/es/collapse/style/token.less +34 -34
- package/es/color-picker/color-picker.d.ts +1 -1
- package/es/color-picker/index.d.ts +3 -3
- package/es/color-picker/style/index.less +309 -309
- package/es/color-picker/style/token.less +70 -70
- package/es/comment/style/index.less +66 -66
- package/es/comment/style/token.less +17 -17
- package/es/date-picker/index.d.ts +8 -8
- package/es/date-picker/picker.d.ts +6 -6
- package/es/date-picker/range-picker.d.ts +8 -8
- package/es/date-picker/style/date.less +128 -128
- package/es/date-picker/style/index.less +309 -309
- package/es/date-picker/style/month.less +26 -26
- package/es/date-picker/style/quarter.less +8 -8
- package/es/date-picker/style/range.less +9 -9
- package/es/date-picker/style/shortcuts.less +25 -25
- package/es/date-picker/style/token.less +76 -76
- package/es/date-picker/style/week.less +68 -68
- package/es/date-picker/style/year.less +8 -8
- package/es/descriptions/style/index.less +159 -159
- package/es/descriptions/style/token.less +45 -45
- package/es/divider/style/index.less +56 -56
- package/es/divider/style/token.less +15 -15
- package/es/drawer/style/index.less +230 -230
- package/es/drawer/style/token.less +16 -16
- package/es/dropdown/context.d.ts +2 -1
- package/es/dropdown/dropdown-button.d.ts +12 -3
- package/es/dropdown/dropdown-panel.js +18 -4
- package/es/dropdown/dropdown.d.ts +12 -3
- package/es/dropdown/dropdown.js +12 -2
- package/es/dropdown/index.d.ts +33 -9
- package/es/dropdown/style/index.less +106 -106
- package/es/dropdown/style/token.less +40 -40
- package/es/empty/style/index.less +26 -26
- package/es/empty/style/token.less +10 -10
- package/es/form/form-item.d.ts +3 -3
- package/es/form/index.d.ts +3 -3
- package/es/form/style/index.less +257 -257
- package/es/form/style/status.less +152 -152
- package/es/form/style/token.less +81 -81
- package/es/grid/style/col.less +95 -95
- package/es/grid/style/grid.less +5 -5
- package/es/grid/style/index.less +3 -3
- package/es/grid/style/row.less +44 -44
- package/es/image/style/image.less +158 -158
- package/es/image/style/index.less +5 -5
- package/es/image/style/preview.less +227 -227
- package/es/image/style/token.less +123 -123
- package/es/image/style/trigger.less +14 -14
- package/es/input/index.d.ts +12 -12
- package/es/input/input-password.d.ts +3 -3
- package/es/input/input.d.ts +3 -3
- package/es/input/style/group.less +63 -63
- package/es/input/style/index.less +121 -121
- package/es/input/style/input.less +185 -185
- package/es/input/style/password.less +11 -11
- package/es/input/style/search.less +18 -18
- package/es/input/style/size.less +149 -149
- package/es/input/style/textarea.less +37 -37
- package/es/input/style/token.less +131 -131
- package/es/input-number/index.d.ts +3 -3
- package/es/input-number/input-number.d.ts +1 -1
- package/es/input-number/style/index.less +160 -160
- package/es/input-number/style/token.less +19 -19
- package/es/input-tag/index.d.ts +18 -18
- package/es/input-tag/input-tag.d.ts +6 -6
- package/es/input-tag/style/index.less +40 -40
- package/es/input-tag/style/input-tag.less +129 -129
- package/es/input-tag/style/token.less +83 -83
- package/es/layout/style/index.less +104 -104
- package/es/layout/style/token.less +13 -13
- package/es/link/style/index.less +120 -120
- package/es/link/style/token.less +48 -48
- package/es/list/index.d.ts +3 -3
- package/es/list/list.d.ts +1 -1
- package/es/list/style/index.less +183 -183
- package/es/list/style/token.less +55 -55
- package/es/mention/index.d.ts +6 -6
- package/es/mention/mention.d.ts +2 -2
- package/es/mention/style/index.less +21 -21
- package/es/mention/style/token.less +6 -6
- package/es/menu/item.d.ts +1 -1
- package/es/menu/style/index.less +622 -622
- package/es/menu/style/token.less +117 -117
- package/es/menu/sub-menu-pop.d.ts +1 -1
- package/es/message/style/index.less +191 -191
- package/es/message/style/token.less +52 -52
- package/es/modal/style/index.less +283 -283
- package/es/modal/style/token.less +30 -30
- package/es/notification/style/index.less +249 -249
- package/es/notification/style/token.less +58 -58
- package/es/overflow-list/style/index.less +19 -19
- package/es/page-header/style/index.less +127 -127
- package/es/page-header/style/token.less +30 -30
- package/es/pagination/page-jumper.d.ts +3 -3
- package/es/pagination/page-options.d.ts +28 -28
- package/es/pagination/style/index.less +300 -300
- package/es/pagination/style/token.less +91 -91
- package/es/popconfirm/style/index.less +70 -70
- package/es/popconfirm/style/token.less +20 -20
- package/es/popover/style/index.less +38 -38
- package/es/popover/style/token.less +15 -15
- package/es/progress/style/index.less +378 -378
- package/es/progress/style/token.less +60 -60
- package/es/radio/index.d.ts +9 -9
- package/es/radio/radio-group.d.ts +3 -3
- package/es/radio/radio.d.ts +2 -2
- package/es/radio/style/index.less +266 -266
- package/es/radio/style/token.less +55 -55
- package/es/rate/index.d.ts +9 -9
- package/es/rate/rate.d.ts +3 -3
- package/es/rate/style/index.less +87 -87
- package/es/rate/style/token.less +13 -13
- package/es/resize-box/style/index.less +60 -60
- package/es/resize-box/style/token.less +6 -6
- package/es/result/style/index.less +94 -94
- package/es/result/style/token.less +32 -32
- package/es/scrollbar/style/index.less +137 -137
- package/es/scrollbar/style/token.less +12 -12
- package/es/select/index.d.ts +28 -28
- package/es/select/option.d.ts +5 -5
- package/es/select/select-dropdown.d.ts +1 -1
- package/es/select/select.d.ts +8 -8
- package/es/select/style/index.less +132 -132
- package/es/select/style/token.less +43 -43
- package/es/skeleton/style/index.less +66 -66
- package/es/skeleton/style/token.less +15 -15
- package/es/slider/index.d.ts +12 -12
- package/es/slider/slider-input.d.ts +3 -3
- package/es/slider/slider.d.ts +5 -5
- package/es/slider/style/index.less +282 -282
- package/es/slider/style/token.less +50 -50
- package/es/space/style/index.less +50 -50
- package/es/spin/style/dot-loading.less +64 -64
- package/es/spin/style/index.less +56 -56
- package/es/spin/style/token.less +17 -17
- package/es/split/index.d.ts +3 -3
- package/es/split/split.d.ts +1 -1
- package/es/split/style/index.less +53 -53
- package/es/split/style/token.less +7 -7
- package/es/statistic/style/index.less +47 -47
- package/es/statistic/style/token.less +15 -15
- package/es/steps/style/arrow.less +212 -212
- package/es/steps/style/circle.less +265 -265
- package/es/steps/style/dot.less +210 -210
- package/es/steps/style/index.less +74 -74
- package/es/steps/style/navigation.less +60 -60
- package/es/steps/style/token.less +144 -144
- package/es/style/animation/fade.less +57 -57
- package/es/style/animation/index.less +3 -3
- package/es/style/animation/slide.less +158 -158
- package/es/style/animation/zoom.less +217 -217
- package/es/style/color/colors.less +427 -427
- package/es/style/color/css-variables.less +389 -389
- package/es/style/color/get-rgb-str.js +17 -17
- package/es/style/color/palette-dark.js +10 -10
- package/es/style/color/palette.js +10 -10
- package/es/style/icon.less +86 -86
- package/es/style/index.less +11 -11
- package/es/style/mixins/icon-hover.less +14 -14
- package/es/style/mixins/index.less +13 -13
- package/es/style/normalize.less +353 -353
- package/es/style/theme/component.less +21 -21
- package/es/style/theme/css-variables.less +146 -146
- package/es/style/theme/global.less +416 -416
- package/es/style/theme/index.less +42 -42
- package/es/switch/index.d.ts +6 -6
- package/es/switch/style/index.less +332 -332
- package/es/switch/style/token.less +62 -62
- package/es/switch/switch.d.ts +2 -2
- package/es/table/index.d.ts +15 -0
- package/es/table/style/filters-popup.less +51 -51
- package/es/table/style/index.less +868 -868
- package/es/table/style/token.less +134 -134
- package/es/table/table-operation-td.d.ts +14 -14
- package/es/table/table.d.ts +9 -0
- package/es/table/table.js +16 -2
- package/es/tabs/style/index.less +730 -730
- package/es/tabs/style/rtl.less +104 -104
- package/es/tabs/style/token.less +146 -146
- package/es/tabs/style/vertical.less +156 -156
- package/es/tag/index.d.ts +3 -3
- package/es/tag/style/index.less +171 -171
- package/es/tag/style/token.less +171 -171
- package/es/tag/tag.d.ts +1 -1
- package/es/textarea/index.d.ts +6 -6
- package/es/textarea/style/index.less +64 -64
- package/es/textarea/textarea.d.ts +2 -2
- package/es/time-picker/index.d.ts +18 -18
- package/es/time-picker/style/index.less +94 -94
- package/es/time-picker/style/token.less +17 -17
- package/es/time-picker/time-picker.d.ts +8 -8
- package/es/timeline/style/horizontal.less +87 -87
- package/es/timeline/style/index.less +272 -272
- package/es/timeline/style/token.less +25 -25
- package/es/tooltip/style/index.less +24 -24
- package/es/tooltip/style/token.less +14 -14
- package/es/transfer/index.d.ts +22 -22
- package/es/transfer/style/index.less +294 -294
- package/es/transfer/style/token.less +48 -48
- package/es/transfer/transfer-view.d.ts +8 -8
- package/es/transfer/transfer.d.ts +10 -10
- package/es/tree/base-node.d.ts +5 -5
- package/es/tree/style/index.less +396 -396
- package/es/tree/style/token.less +51 -51
- package/es/tree/transition-node-list.d.ts +5 -5
- package/es/tree-select/index.d.ts +8 -8
- package/es/tree-select/style/index.less +49 -49
- package/es/tree-select/style/token.less +7 -7
- package/es/tree-select/tree-select.d.ts +3 -3
- package/es/trigger/style/index.less +57 -57
- package/es/trigger/style/token.less +5 -5
- package/es/typography/edit-content.d.ts +36 -36
- package/es/typography/style/index.less +207 -207
- package/es/typography/style/token.less +55 -55
- package/es/upload/index.d.ts +3 -3
- package/es/upload/style/index.less +515 -515
- package/es/upload/style/token.less +97 -97
- package/es/upload/upload.d.ts +1 -1
- package/es/verification-code/index.d.ts +6 -6
- package/es/verification-code/style/index.less +32 -32
- package/es/verification-code/style/token.less +1 -1
- package/es/verification-code/verification-code.d.ts +2 -2
- package/json/vetur-attributes.json +1646 -1642
- package/json/vetur-tags.json +527 -526
- package/json/web-types.json +3543 -3535
- package/lib/_components/auto-tooltip/style/index.less +10 -10
- package/lib/_components/input-label/style/index.less +7 -7
- package/lib/_components/input-label/style/input-label.less +70 -70
- package/lib/_components/picker/style/index.less +191 -191
- package/lib/_components/picker/style/token.less +58 -58
- package/lib/_components/select-view/style/index.less +58 -58
- package/lib/_components/select-view/style/token.less +4 -4
- package/lib/affix/style/index.less +8 -8
- package/lib/alert/style/index.less +198 -198
- package/lib/alert/style/token.less +76 -76
- package/lib/anchor/style/index.less +99 -99
- package/lib/anchor/style/token.less +30 -30
- package/lib/auto-complete/style/index.less +44 -44
- package/lib/auto-complete/style/token.less +29 -29
- package/lib/avatar/style/index.less +155 -155
- package/lib/avatar/style/token.less +29 -29
- package/lib/back-top/style/index.less +33 -33
- package/lib/back-top/style/token.less +12 -12
- package/lib/badge/style/index.less +178 -178
- package/lib/badge/style/token.less +30 -30
- package/lib/breadcrumb/style/index.less +76 -76
- package/lib/breadcrumb/style/token.less +24 -24
- package/lib/button/style/index.less +304 -304
- package/lib/button/style/token.less +459 -459
- package/lib/calendar/style/index.less +479 -479
- package/lib/calendar/style/token.less +62 -62
- package/lib/card/style/index.less +219 -219
- package/lib/card/style/token.less +40 -40
- package/lib/carousel/style/index.less +405 -405
- package/lib/carousel/style/slide.less +175 -175
- package/lib/carousel/style/token.less +33 -33
- package/lib/cascader/style/index.less +234 -234
- package/lib/cascader/style/token.less +24 -24
- package/lib/checkbox/style/index.less +182 -182
- package/lib/checkbox/style/token.less +37 -37
- package/lib/collapse/style/index.less +180 -180
- package/lib/collapse/style/token.less +34 -34
- package/lib/color-picker/style/index.less +309 -309
- package/lib/color-picker/style/token.less +70 -70
- package/lib/comment/style/index.less +66 -66
- package/lib/comment/style/token.less +17 -17
- package/lib/date-picker/style/date.less +128 -128
- package/lib/date-picker/style/index.less +309 -309
- package/lib/date-picker/style/month.less +26 -26
- package/lib/date-picker/style/quarter.less +8 -8
- package/lib/date-picker/style/range.less +9 -9
- package/lib/date-picker/style/shortcuts.less +25 -25
- package/lib/date-picker/style/token.less +76 -76
- package/lib/date-picker/style/week.less +68 -68
- package/lib/date-picker/style/year.less +8 -8
- package/lib/descriptions/style/index.less +159 -159
- package/lib/descriptions/style/token.less +45 -45
- package/lib/divider/style/index.less +56 -56
- package/lib/divider/style/token.less +15 -15
- package/lib/drawer/style/index.less +230 -230
- package/lib/drawer/style/token.less +16 -16
- package/lib/dropdown/dropdown-panel.js +18 -4
- package/lib/dropdown/dropdown.js +12 -2
- package/lib/dropdown/style/index.less +106 -106
- package/lib/dropdown/style/token.less +40 -40
- package/lib/empty/style/index.less +26 -26
- package/lib/empty/style/token.less +10 -10
- package/lib/form/style/index.less +257 -257
- package/lib/form/style/status.less +152 -152
- package/lib/form/style/token.less +81 -81
- package/lib/grid/style/col.less +95 -95
- package/lib/grid/style/grid.less +5 -5
- package/lib/grid/style/index.less +3 -3
- package/lib/grid/style/row.less +44 -44
- package/lib/image/style/image.less +158 -158
- package/lib/image/style/index.less +5 -5
- package/lib/image/style/preview.less +227 -227
- package/lib/image/style/token.less +123 -123
- package/lib/image/style/trigger.less +14 -14
- package/lib/input/style/group.less +63 -63
- package/lib/input/style/index.less +121 -121
- package/lib/input/style/input.less +185 -185
- package/lib/input/style/password.less +11 -11
- package/lib/input/style/search.less +18 -18
- package/lib/input/style/size.less +149 -149
- package/lib/input/style/textarea.less +37 -37
- package/lib/input/style/token.less +131 -131
- package/lib/input-number/style/index.less +160 -160
- package/lib/input-number/style/token.less +19 -19
- package/lib/input-tag/style/index.less +40 -40
- package/lib/input-tag/style/input-tag.less +129 -129
- package/lib/input-tag/style/token.less +83 -83
- package/lib/layout/style/index.less +104 -104
- package/lib/layout/style/token.less +13 -13
- package/lib/link/style/index.less +120 -120
- package/lib/link/style/token.less +48 -48
- package/lib/list/style/index.less +183 -183
- package/lib/list/style/token.less +55 -55
- package/lib/mention/style/index.less +21 -21
- package/lib/mention/style/token.less +6 -6
- package/lib/menu/style/index.less +622 -622
- package/lib/menu/style/token.less +117 -117
- package/lib/message/style/index.less +191 -191
- package/lib/message/style/token.less +52 -52
- package/lib/modal/style/index.less +283 -283
- package/lib/modal/style/token.less +30 -30
- package/lib/notification/style/index.less +249 -249
- package/lib/notification/style/token.less +58 -58
- package/lib/overflow-list/style/index.less +19 -19
- package/lib/page-header/style/index.less +127 -127
- package/lib/page-header/style/token.less +30 -30
- package/lib/pagination/style/index.less +300 -300
- package/lib/pagination/style/token.less +91 -91
- package/lib/popconfirm/style/index.less +70 -70
- package/lib/popconfirm/style/token.less +20 -20
- package/lib/popover/style/index.less +38 -38
- package/lib/popover/style/token.less +15 -15
- package/lib/progress/style/index.less +378 -378
- package/lib/progress/style/token.less +60 -60
- package/lib/radio/style/index.less +266 -266
- package/lib/radio/style/token.less +55 -55
- package/lib/rate/style/index.less +87 -87
- package/lib/rate/style/token.less +13 -13
- package/lib/resize-box/style/index.less +60 -60
- package/lib/resize-box/style/token.less +6 -6
- package/lib/result/style/index.less +94 -94
- package/lib/result/style/token.less +32 -32
- package/lib/scrollbar/style/index.less +137 -137
- package/lib/scrollbar/style/token.less +12 -12
- package/lib/select/style/index.less +132 -132
- package/lib/select/style/token.less +43 -43
- package/lib/skeleton/style/index.less +66 -66
- package/lib/skeleton/style/token.less +15 -15
- package/lib/slider/style/index.less +282 -282
- package/lib/slider/style/token.less +50 -50
- package/lib/space/style/index.less +50 -50
- package/lib/spin/style/dot-loading.less +64 -64
- package/lib/spin/style/index.less +56 -56
- package/lib/spin/style/token.less +17 -17
- package/lib/split/style/index.less +53 -53
- package/lib/split/style/token.less +7 -7
- package/lib/statistic/style/index.less +47 -47
- package/lib/statistic/style/token.less +15 -15
- package/lib/steps/style/arrow.less +212 -212
- package/lib/steps/style/circle.less +265 -265
- package/lib/steps/style/dot.less +210 -210
- package/lib/steps/style/index.less +74 -74
- package/lib/steps/style/navigation.less +60 -60
- package/lib/steps/style/token.less +144 -144
- package/lib/style/animation/fade.less +57 -57
- package/lib/style/animation/index.less +3 -3
- package/lib/style/animation/slide.less +158 -158
- package/lib/style/animation/zoom.less +217 -217
- package/lib/style/color/colors.less +427 -427
- package/lib/style/color/css-variables.less +389 -389
- package/lib/style/color/get-rgb-str.js +17 -17
- package/lib/style/color/palette-dark.js +10 -10
- package/lib/style/color/palette.js +10 -10
- package/lib/style/icon.less +86 -86
- package/lib/style/index.less +11 -11
- package/lib/style/mixins/icon-hover.less +14 -14
- package/lib/style/mixins/index.less +13 -13
- package/lib/style/normalize.less +353 -353
- package/lib/style/theme/component.less +21 -21
- package/lib/style/theme/css-variables.less +146 -146
- package/lib/style/theme/global.less +416 -416
- package/lib/style/theme/index.less +42 -42
- package/lib/switch/style/index.less +332 -332
- package/lib/switch/style/token.less +62 -62
- package/lib/table/style/filters-popup.less +51 -51
- package/lib/table/style/index.less +868 -868
- package/lib/table/style/token.less +134 -134
- package/lib/table/table.js +16 -2
- package/lib/tabs/style/index.less +730 -730
- package/lib/tabs/style/rtl.less +104 -104
- package/lib/tabs/style/token.less +146 -146
- package/lib/tabs/style/vertical.less +156 -156
- package/lib/tag/style/index.less +171 -171
- package/lib/tag/style/token.less +171 -171
- package/lib/textarea/style/index.less +64 -64
- package/lib/time-picker/style/index.less +94 -94
- package/lib/time-picker/style/token.less +17 -17
- package/lib/timeline/style/horizontal.less +87 -87
- package/lib/timeline/style/index.less +272 -272
- package/lib/timeline/style/token.less +25 -25
- package/lib/tooltip/style/index.less +24 -24
- package/lib/tooltip/style/token.less +14 -14
- package/lib/transfer/style/index.less +294 -294
- package/lib/transfer/style/token.less +48 -48
- package/lib/tree/style/index.less +396 -396
- package/lib/tree/style/token.less +51 -51
- package/lib/tree-select/style/index.less +49 -49
- package/lib/tree-select/style/token.less +7 -7
- package/lib/trigger/style/index.less +57 -57
- package/lib/trigger/style/token.less +5 -5
- package/lib/typography/style/index.less +207 -207
- package/lib/typography/style/token.less +55 -55
- package/lib/upload/style/index.less +515 -515
- package/lib/upload/style/token.less +97 -97
- package/lib/verification-code/style/index.less +32 -32
- package/lib/verification-code/style/token.less +1 -1
- package/package.json +2 -2
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
@image-radius: @radius-small;
|
|
2
|
-
// title
|
|
3
|
-
@image-font-size-title: @font-size-title-1;
|
|
4
|
-
@image-font-weight-title: @font-weight-500;
|
|
5
|
-
// description
|
|
6
|
-
@image-font-size-description: @font-size-body-3;
|
|
7
|
-
@image-color-title_footer_outer-text: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
8
|
-
@image-color-title_footer_inner-text: var(~'@{arco-cssvars-prefix}-color-white');
|
|
9
|
-
@image-color-description_footer_inner-text: var(~'@{arco-cssvars-prefix}-color-white');
|
|
10
|
-
@image-color-description_footer_outer-text: var(~'@{arco-cssvars-prefix}-color-neutral-6');
|
|
11
|
-
// actions
|
|
12
|
-
@image-spacing-actions-left: @spacing-6;
|
|
13
|
-
// actions item
|
|
14
|
-
@image-font-size-actions-item: 14px;
|
|
15
|
-
@image-padding-actions-item-vertical: @spacing-none;
|
|
16
|
-
@image-padding-actions-item-horizontal: @spacing-none;
|
|
17
|
-
@image-spacing-actions-item-left: @spacing-6;
|
|
18
|
-
@image-radius-actions-item: @radius-small;
|
|
19
|
-
@image-color-actions-item_footer_inner_hover-bg: rgba(0, 0, 0, 0.5);
|
|
20
|
-
@image-color-actions-item_footer_outer_hover-bg: var(~'@{arco-cssvars-prefix}-color-neutral-2');
|
|
21
|
-
@image-color-actions-item_trigger-text: var(~'@{arco-cssvars-prefix}-color-neutral-8');
|
|
22
|
-
@image-color-actions-item_trigger_hover-bg: var(~'@{arco-cssvars-prefix}-color-neutral-2');
|
|
23
|
-
@image-spacing-actions-trigger-item-vertical: 5px;
|
|
24
|
-
@image-spacing-actions-trigger-item-horizontal: 4px;
|
|
25
|
-
// footer
|
|
26
|
-
@image-color-footer_inner-bg: linear-gradient(
|
|
27
|
-
360deg,
|
|
28
|
-
rgba(0, 0, 0, 0.3) 0%,
|
|
29
|
-
rgba(0, 0, 0, 0) 100%
|
|
30
|
-
);
|
|
31
|
-
@image-color-footer_inner-text: var(~'@{arco-cssvars-prefix}-color-white');
|
|
32
|
-
@image-padding-footer_inner_vertical: 9px;
|
|
33
|
-
@image-padding-footer_inner_horizontal: 16px;
|
|
34
|
-
|
|
35
|
-
@image-spacing-footer_inner_simple-vertical: @spacing-6;
|
|
36
|
-
@image-spacing-footer_inner_simple-horizontal: @spacing-7;
|
|
37
|
-
@image-color-footer_outer-text: var(~'@{arco-cssvars-prefix}-color-neutral-8');
|
|
38
|
-
@image-spacing-footer-top: @spacing-2;
|
|
39
|
-
// error
|
|
40
|
-
@image-color-error-bg: var(~'@{arco-cssvars-prefix}-color-neutral-1');
|
|
41
|
-
@image-color-error-text: var(~'@{arco-cssvars-prefix}-color-neutral-4');
|
|
42
|
-
@image-font-size-error-icon: 60px;
|
|
43
|
-
@image-font-size-error-text: @font-size-body-1;
|
|
44
|
-
@image-line-height-error-text: 1.6667;
|
|
45
|
-
@image-size-error-min-height: 100px;
|
|
46
|
-
@image-spacing-error-padding: @spacing-7;
|
|
47
|
-
// loader
|
|
48
|
-
@image-color-loader-bg: var(~'@{arco-cssvars-prefix}-color-neutral-1');
|
|
49
|
-
@image-size-loader-min-height: 100px;
|
|
50
|
-
// loader spin
|
|
51
|
-
@image-font-size-loader-spin: 32px;
|
|
52
|
-
@image-color-loader-spin-text: @color-primary-6;
|
|
53
|
-
@image-color-loader-spin-text-text: var(~'@{arco-cssvars-prefix}-color-neutral-6');
|
|
54
|
-
@image-font-size-loader-spin-text: @font-size-title-1;
|
|
55
|
-
|
|
56
|
-
// preview mask
|
|
57
|
-
@image-preview-color-mask-bg: var(~'@{arco-cssvars-prefix}-color-mask-bg');
|
|
58
|
-
// preview scale value
|
|
59
|
-
@image-preview-size-scale-value-height: 32px;
|
|
60
|
-
@image-preview-spacing-scale-value-vertical: 7px;
|
|
61
|
-
@image-preview-spacing-scale-value-horizontal: 10px;
|
|
62
|
-
@image-preview-font-size-scale-value: @font-size-body-1;
|
|
63
|
-
@image-preview-color-scale-value-text: var(~'@{arco-cssvars-prefix}-color-white');
|
|
64
|
-
@image-preview-color-scale-value-bg: rgba(255, 255, 255, 0.08);
|
|
65
|
-
// preview toolbar
|
|
66
|
-
@image-preview-color-toolbar-bg: var(~'@{arco-cssvars-prefix}-color-bg-2');
|
|
67
|
-
@image-preview-radius-toolbar: @radius-medium;
|
|
68
|
-
@image-preview-spacing-toolbar-vertical: @spacing-2;
|
|
69
|
-
@image-preview-spacing-toolbar-horizontal: @spacing-7;
|
|
70
|
-
@image-preview-spacing-toolbar-horizontal_simple: @spacing-2;
|
|
71
|
-
@image-preview-spacing-toolbar-vertical_simple: @spacing-2;
|
|
72
|
-
|
|
73
|
-
@image-preview-position-toolbar-bottom: 46px;
|
|
74
|
-
// preview toolbar action
|
|
75
|
-
@image-preview-font-size-action: 14px;
|
|
76
|
-
@image-preview-color-action-text: var(~'@{arco-cssvars-prefix}-color-neutral-8');
|
|
77
|
-
@image-preview-radius-action: @radius-small;
|
|
78
|
-
@image-preview-color-action-bg: @color-transparent;
|
|
79
|
-
@image-preview-color-action_hover-bg: var(~'@{arco-cssvars-prefix}-color-neutral-2');
|
|
80
|
-
@image-preview-color-action_hover-text: @color-primary-6;
|
|
81
|
-
@image-preview-color-action_disabled-bg: transparent;
|
|
82
|
-
@image-preview-color-action_disabled-text: var(~'@{arco-cssvars-prefix}-color-text-4');
|
|
83
|
-
@image-preview-font-size-action-name: @font-size-body-1;
|
|
84
|
-
@image-preview-spacing-action-name-right: @spacing-6;
|
|
85
|
-
@image-preview-padding-action-content: 13px;
|
|
86
|
-
@image-preview-margin-action-right: @spacing-none;
|
|
87
|
-
// preview trigger
|
|
88
|
-
@image-preview-spacing-trigger-padding-vertical: @spacing-6;
|
|
89
|
-
@image-preview-spacing-trigger-padding-horizontal: @spacing-7;
|
|
90
|
-
@image-preview-margin-action-bottom: @spacing-none;
|
|
91
|
-
|
|
92
|
-
// preview loading
|
|
93
|
-
@image-preview-color-loading-text: @color-primary-6;
|
|
94
|
-
@image-preview-color-loading-bg: #232324;
|
|
95
|
-
@image-preview-font-size-loading: 18px;
|
|
96
|
-
@image-preview-spacing-loading-padding: @spacing-5;
|
|
97
|
-
@image-preview-size-loading-width: 48px;
|
|
98
|
-
@image-preview-size-loading-height: 48px;
|
|
99
|
-
@image-preview-radius-loading: @radius-medium;
|
|
100
|
-
// preview close-btn
|
|
101
|
-
@image-preview-size-close-btn-width: 32px;
|
|
102
|
-
@image-preview-size-close-icon: 14px;
|
|
103
|
-
@image-preview-color-close-btn-bg: rgba(0, 0, 0, 0.5);
|
|
104
|
-
@image-preview-color-close-btn-text: var(~'@{arco-cssvars-prefix}-color-white');
|
|
105
|
-
@image-preview-position-close-btn-right: 36px;
|
|
106
|
-
@image-preview-position-close-btn-top: 36px;
|
|
107
|
-
// preview arrow
|
|
108
|
-
@image-preview-arrow-position: @spacing-8;
|
|
109
|
-
@image-preview-arrow-size: @size-8;
|
|
110
|
-
@image-preview-arrow-font-size: @size-4;
|
|
111
|
-
@image-preview-arrow-color-icon: var(~'@{arco-cssvars-prefix}-color-white');
|
|
112
|
-
@image-preview-arrow-color-icon_disabled: rgba(255, 355, 255, 0.3);
|
|
113
|
-
@image-preview-arrow-color-bg: rgba(255, 355, 255, 0.3);
|
|
114
|
-
@image-preview-arrow-color-bg_hover: rgba(255, 355, 255, 0.5);
|
|
115
|
-
@image-preview-arrow-color-bg_disabled: rgba(255, 355, 255, 0.2);
|
|
116
|
-
|
|
117
|
-
// image trigger
|
|
118
|
-
@image-trigger-spacing-padding-vertical: 6px;
|
|
119
|
-
@image-trigger-spacing-padding-horizontal: 4px;
|
|
120
|
-
@image-trigger-color-bg: var(~'@{arco-cssvars-prefix}-color-bg-5');
|
|
121
|
-
@image-trigger-color-border: var(~'@{arco-cssvars-prefix}-color-neutral-3');
|
|
122
|
-
@image-trigger-size-border: 1px;
|
|
123
|
-
@image-trigger-radius: 4px;
|
|
1
|
+
@image-radius: @radius-small;
|
|
2
|
+
// title
|
|
3
|
+
@image-font-size-title: @font-size-title-1;
|
|
4
|
+
@image-font-weight-title: @font-weight-500;
|
|
5
|
+
// description
|
|
6
|
+
@image-font-size-description: @font-size-body-3;
|
|
7
|
+
@image-color-title_footer_outer-text: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
8
|
+
@image-color-title_footer_inner-text: var(~'@{arco-cssvars-prefix}-color-white');
|
|
9
|
+
@image-color-description_footer_inner-text: var(~'@{arco-cssvars-prefix}-color-white');
|
|
10
|
+
@image-color-description_footer_outer-text: var(~'@{arco-cssvars-prefix}-color-neutral-6');
|
|
11
|
+
// actions
|
|
12
|
+
@image-spacing-actions-left: @spacing-6;
|
|
13
|
+
// actions item
|
|
14
|
+
@image-font-size-actions-item: 14px;
|
|
15
|
+
@image-padding-actions-item-vertical: @spacing-none;
|
|
16
|
+
@image-padding-actions-item-horizontal: @spacing-none;
|
|
17
|
+
@image-spacing-actions-item-left: @spacing-6;
|
|
18
|
+
@image-radius-actions-item: @radius-small;
|
|
19
|
+
@image-color-actions-item_footer_inner_hover-bg: rgba(0, 0, 0, 0.5);
|
|
20
|
+
@image-color-actions-item_footer_outer_hover-bg: var(~'@{arco-cssvars-prefix}-color-neutral-2');
|
|
21
|
+
@image-color-actions-item_trigger-text: var(~'@{arco-cssvars-prefix}-color-neutral-8');
|
|
22
|
+
@image-color-actions-item_trigger_hover-bg: var(~'@{arco-cssvars-prefix}-color-neutral-2');
|
|
23
|
+
@image-spacing-actions-trigger-item-vertical: 5px;
|
|
24
|
+
@image-spacing-actions-trigger-item-horizontal: 4px;
|
|
25
|
+
// footer
|
|
26
|
+
@image-color-footer_inner-bg: linear-gradient(
|
|
27
|
+
360deg,
|
|
28
|
+
rgba(0, 0, 0, 0.3) 0%,
|
|
29
|
+
rgba(0, 0, 0, 0) 100%
|
|
30
|
+
);
|
|
31
|
+
@image-color-footer_inner-text: var(~'@{arco-cssvars-prefix}-color-white');
|
|
32
|
+
@image-padding-footer_inner_vertical: 9px;
|
|
33
|
+
@image-padding-footer_inner_horizontal: 16px;
|
|
34
|
+
|
|
35
|
+
@image-spacing-footer_inner_simple-vertical: @spacing-6;
|
|
36
|
+
@image-spacing-footer_inner_simple-horizontal: @spacing-7;
|
|
37
|
+
@image-color-footer_outer-text: var(~'@{arco-cssvars-prefix}-color-neutral-8');
|
|
38
|
+
@image-spacing-footer-top: @spacing-2;
|
|
39
|
+
// error
|
|
40
|
+
@image-color-error-bg: var(~'@{arco-cssvars-prefix}-color-neutral-1');
|
|
41
|
+
@image-color-error-text: var(~'@{arco-cssvars-prefix}-color-neutral-4');
|
|
42
|
+
@image-font-size-error-icon: 60px;
|
|
43
|
+
@image-font-size-error-text: @font-size-body-1;
|
|
44
|
+
@image-line-height-error-text: 1.6667;
|
|
45
|
+
@image-size-error-min-height: 100px;
|
|
46
|
+
@image-spacing-error-padding: @spacing-7;
|
|
47
|
+
// loader
|
|
48
|
+
@image-color-loader-bg: var(~'@{arco-cssvars-prefix}-color-neutral-1');
|
|
49
|
+
@image-size-loader-min-height: 100px;
|
|
50
|
+
// loader spin
|
|
51
|
+
@image-font-size-loader-spin: 32px;
|
|
52
|
+
@image-color-loader-spin-text: @color-primary-6;
|
|
53
|
+
@image-color-loader-spin-text-text: var(~'@{arco-cssvars-prefix}-color-neutral-6');
|
|
54
|
+
@image-font-size-loader-spin-text: @font-size-title-1;
|
|
55
|
+
|
|
56
|
+
// preview mask
|
|
57
|
+
@image-preview-color-mask-bg: var(~'@{arco-cssvars-prefix}-color-mask-bg');
|
|
58
|
+
// preview scale value
|
|
59
|
+
@image-preview-size-scale-value-height: 32px;
|
|
60
|
+
@image-preview-spacing-scale-value-vertical: 7px;
|
|
61
|
+
@image-preview-spacing-scale-value-horizontal: 10px;
|
|
62
|
+
@image-preview-font-size-scale-value: @font-size-body-1;
|
|
63
|
+
@image-preview-color-scale-value-text: var(~'@{arco-cssvars-prefix}-color-white');
|
|
64
|
+
@image-preview-color-scale-value-bg: rgba(255, 255, 255, 0.08);
|
|
65
|
+
// preview toolbar
|
|
66
|
+
@image-preview-color-toolbar-bg: var(~'@{arco-cssvars-prefix}-color-bg-2');
|
|
67
|
+
@image-preview-radius-toolbar: @radius-medium;
|
|
68
|
+
@image-preview-spacing-toolbar-vertical: @spacing-2;
|
|
69
|
+
@image-preview-spacing-toolbar-horizontal: @spacing-7;
|
|
70
|
+
@image-preview-spacing-toolbar-horizontal_simple: @spacing-2;
|
|
71
|
+
@image-preview-spacing-toolbar-vertical_simple: @spacing-2;
|
|
72
|
+
|
|
73
|
+
@image-preview-position-toolbar-bottom: 46px;
|
|
74
|
+
// preview toolbar action
|
|
75
|
+
@image-preview-font-size-action: 14px;
|
|
76
|
+
@image-preview-color-action-text: var(~'@{arco-cssvars-prefix}-color-neutral-8');
|
|
77
|
+
@image-preview-radius-action: @radius-small;
|
|
78
|
+
@image-preview-color-action-bg: @color-transparent;
|
|
79
|
+
@image-preview-color-action_hover-bg: var(~'@{arco-cssvars-prefix}-color-neutral-2');
|
|
80
|
+
@image-preview-color-action_hover-text: @color-primary-6;
|
|
81
|
+
@image-preview-color-action_disabled-bg: transparent;
|
|
82
|
+
@image-preview-color-action_disabled-text: var(~'@{arco-cssvars-prefix}-color-text-4');
|
|
83
|
+
@image-preview-font-size-action-name: @font-size-body-1;
|
|
84
|
+
@image-preview-spacing-action-name-right: @spacing-6;
|
|
85
|
+
@image-preview-padding-action-content: 13px;
|
|
86
|
+
@image-preview-margin-action-right: @spacing-none;
|
|
87
|
+
// preview trigger
|
|
88
|
+
@image-preview-spacing-trigger-padding-vertical: @spacing-6;
|
|
89
|
+
@image-preview-spacing-trigger-padding-horizontal: @spacing-7;
|
|
90
|
+
@image-preview-margin-action-bottom: @spacing-none;
|
|
91
|
+
|
|
92
|
+
// preview loading
|
|
93
|
+
@image-preview-color-loading-text: @color-primary-6;
|
|
94
|
+
@image-preview-color-loading-bg: #232324;
|
|
95
|
+
@image-preview-font-size-loading: 18px;
|
|
96
|
+
@image-preview-spacing-loading-padding: @spacing-5;
|
|
97
|
+
@image-preview-size-loading-width: 48px;
|
|
98
|
+
@image-preview-size-loading-height: 48px;
|
|
99
|
+
@image-preview-radius-loading: @radius-medium;
|
|
100
|
+
// preview close-btn
|
|
101
|
+
@image-preview-size-close-btn-width: 32px;
|
|
102
|
+
@image-preview-size-close-icon: 14px;
|
|
103
|
+
@image-preview-color-close-btn-bg: rgba(0, 0, 0, 0.5);
|
|
104
|
+
@image-preview-color-close-btn-text: var(~'@{arco-cssvars-prefix}-color-white');
|
|
105
|
+
@image-preview-position-close-btn-right: 36px;
|
|
106
|
+
@image-preview-position-close-btn-top: 36px;
|
|
107
|
+
// preview arrow
|
|
108
|
+
@image-preview-arrow-position: @spacing-8;
|
|
109
|
+
@image-preview-arrow-size: @size-8;
|
|
110
|
+
@image-preview-arrow-font-size: @size-4;
|
|
111
|
+
@image-preview-arrow-color-icon: var(~'@{arco-cssvars-prefix}-color-white');
|
|
112
|
+
@image-preview-arrow-color-icon_disabled: rgba(255, 355, 255, 0.3);
|
|
113
|
+
@image-preview-arrow-color-bg: rgba(255, 355, 255, 0.3);
|
|
114
|
+
@image-preview-arrow-color-bg_hover: rgba(255, 355, 255, 0.5);
|
|
115
|
+
@image-preview-arrow-color-bg_disabled: rgba(255, 355, 255, 0.2);
|
|
116
|
+
|
|
117
|
+
// image trigger
|
|
118
|
+
@image-trigger-spacing-padding-vertical: 6px;
|
|
119
|
+
@image-trigger-spacing-padding-horizontal: 4px;
|
|
120
|
+
@image-trigger-color-bg: var(~'@{arco-cssvars-prefix}-color-bg-5');
|
|
121
|
+
@image-trigger-color-border: var(~'@{arco-cssvars-prefix}-color-neutral-3');
|
|
122
|
+
@image-trigger-size-border: 1px;
|
|
123
|
+
@image-trigger-radius: 4px;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
@image-trigger-prefix-cls: ~'@{prefix}-image-trigger';
|
|
2
|
-
|
|
3
|
-
.@{image-trigger-prefix-cls} {
|
|
4
|
-
padding: @image-trigger-spacing-padding-vertical
|
|
5
|
-
@image-trigger-spacing-padding-horizontal;
|
|
6
|
-
background: @image-trigger-color-bg;
|
|
7
|
-
border: @image-trigger-size-border solid @image-trigger-color-border;
|
|
8
|
-
border-radius: @image-trigger-radius;
|
|
9
|
-
|
|
10
|
-
.@{prefix}-trigger-arrow {
|
|
11
|
-
background-color: @image-trigger-color-bg;
|
|
12
|
-
border: @image-trigger-size-border solid @image-trigger-color-border;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
@image-trigger-prefix-cls: ~'@{prefix}-image-trigger';
|
|
2
|
+
|
|
3
|
+
.@{image-trigger-prefix-cls} {
|
|
4
|
+
padding: @image-trigger-spacing-padding-vertical
|
|
5
|
+
@image-trigger-spacing-padding-horizontal;
|
|
6
|
+
background: @image-trigger-color-bg;
|
|
7
|
+
border: @image-trigger-size-border solid @image-trigger-color-border;
|
|
8
|
+
border-radius: @image-trigger-radius;
|
|
9
|
+
|
|
10
|
+
.@{prefix}-trigger-arrow {
|
|
11
|
+
background-color: @image-trigger-color-bg;
|
|
12
|
+
border: @image-trigger-size-border solid @image-trigger-color-border;
|
|
13
|
+
}
|
|
14
|
+
}
|
package/es/input/index.d.ts
CHANGED
|
@@ -61,9 +61,9 @@ declare const Input: {
|
|
|
61
61
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
62
62
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
|
63
63
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
|
64
|
+
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
64
65
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
65
66
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
66
|
-
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
67
67
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
|
68
68
|
}>, {
|
|
69
69
|
inputRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
@@ -81,11 +81,11 @@ declare const Input: {
|
|
|
81
81
|
blur: (ev: FocusEvent) => true;
|
|
82
82
|
}, import("vue").PublicProps, {
|
|
83
83
|
disabled: boolean;
|
|
84
|
+
type: "text" | "password";
|
|
84
85
|
error: boolean;
|
|
85
|
-
defaultValue: string;
|
|
86
86
|
readonly: boolean;
|
|
87
|
-
type: "text" | "password";
|
|
88
87
|
allowClear: boolean;
|
|
88
|
+
defaultValue: string;
|
|
89
89
|
maxLength: number | {
|
|
90
90
|
length: number;
|
|
91
91
|
errorOnly?: boolean | undefined;
|
|
@@ -154,9 +154,9 @@ declare const Input: {
|
|
|
154
154
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
155
155
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
|
156
156
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
|
157
|
+
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
157
158
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
158
159
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
159
|
-
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
160
160
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
|
161
161
|
}>, {
|
|
162
162
|
inputRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
@@ -166,11 +166,11 @@ declare const Input: {
|
|
|
166
166
|
blur(): void;
|
|
167
167
|
}, {
|
|
168
168
|
disabled: boolean;
|
|
169
|
+
type: "text" | "password";
|
|
169
170
|
error: boolean;
|
|
170
|
-
defaultValue: string;
|
|
171
171
|
readonly: boolean;
|
|
172
|
-
type: "text" | "password";
|
|
173
172
|
allowClear: boolean;
|
|
173
|
+
defaultValue: string;
|
|
174
174
|
maxLength: number | {
|
|
175
175
|
length: number;
|
|
176
176
|
errorOnly?: boolean | undefined;
|
|
@@ -236,9 +236,9 @@ declare const Input: {
|
|
|
236
236
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
237
237
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
|
238
238
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
|
239
|
+
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
239
240
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
240
241
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
241
|
-
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
242
242
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
|
243
243
|
}>, {
|
|
244
244
|
inputRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
@@ -256,11 +256,11 @@ declare const Input: {
|
|
|
256
256
|
blur: (ev: FocusEvent) => true;
|
|
257
257
|
}, string, {
|
|
258
258
|
disabled: boolean;
|
|
259
|
+
type: "text" | "password";
|
|
259
260
|
error: boolean;
|
|
260
|
-
defaultValue: string;
|
|
261
261
|
readonly: boolean;
|
|
262
|
-
type: "text" | "password";
|
|
263
262
|
allowClear: boolean;
|
|
263
|
+
defaultValue: string;
|
|
264
264
|
maxLength: number | {
|
|
265
265
|
length: number;
|
|
266
266
|
errorOnly?: boolean | undefined;
|
|
@@ -521,17 +521,17 @@ declare const Input: {
|
|
|
521
521
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
522
522
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
|
523
523
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
|
524
|
+
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
524
525
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
525
526
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
526
|
-
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
527
527
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
|
528
528
|
}>, {
|
|
529
529
|
disabled: boolean;
|
|
530
|
+
type: "text" | "password";
|
|
530
531
|
error: boolean;
|
|
531
|
-
defaultValue: string;
|
|
532
532
|
readonly: boolean;
|
|
533
|
-
type: "text" | "password";
|
|
534
533
|
allowClear: boolean;
|
|
534
|
+
defaultValue: string;
|
|
535
535
|
maxLength: number | {
|
|
536
536
|
length: number;
|
|
537
537
|
errorOnly?: boolean | undefined;
|
|
@@ -193,17 +193,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
193
193
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
194
194
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
|
195
195
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
|
196
|
+
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
196
197
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
197
198
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
198
|
-
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
199
199
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
|
200
200
|
}>, {
|
|
201
201
|
disabled: boolean;
|
|
202
|
+
type: "text" | "password";
|
|
202
203
|
error: boolean;
|
|
203
|
-
defaultValue: string;
|
|
204
204
|
readonly: boolean;
|
|
205
|
-
type: "text" | "password";
|
|
206
205
|
allowClear: boolean;
|
|
206
|
+
defaultValue: string;
|
|
207
207
|
maxLength: number | {
|
|
208
208
|
length: number;
|
|
209
209
|
errorOnly?: boolean | undefined;
|
package/es/input/input.d.ts
CHANGED
|
@@ -121,17 +121,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
121
121
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
122
122
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
|
123
123
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
|
124
|
+
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
124
125
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
125
126
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
126
|
-
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
127
127
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
|
128
128
|
}>, {
|
|
129
129
|
disabled: boolean;
|
|
130
|
+
type: "text" | "password";
|
|
130
131
|
error: boolean;
|
|
131
|
-
defaultValue: string;
|
|
132
132
|
readonly: boolean;
|
|
133
|
-
type: "text" | "password";
|
|
134
133
|
allowClear: boolean;
|
|
134
|
+
defaultValue: string;
|
|
135
135
|
maxLength: number | {
|
|
136
136
|
length: number;
|
|
137
137
|
errorOnly?: boolean | undefined;
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
@import './token.less';
|
|
2
|
-
|
|
3
|
-
.@{input-prefix-cls}-group {
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
|
|
7
|
-
> * {
|
|
8
|
-
border-radius: 0;
|
|
9
|
-
|
|
10
|
-
&.@{input-prefix-cls}-outer > :last-child,
|
|
11
|
-
&.@{input-prefix-cls}-outer > :first-child {
|
|
12
|
-
border-radius: 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&:not(:last-child) {
|
|
16
|
-
position: relative;
|
|
17
|
-
box-sizing: border-box;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&:first-child,
|
|
21
|
-
&:first-child .@{input-prefix-cls}-group > *:first-child {
|
|
22
|
-
border-top-left-radius: @input-group-border-radius_compact;
|
|
23
|
-
border-bottom-left-radius: @input-group-border-radius_compact;
|
|
24
|
-
|
|
25
|
-
.@{prefix}-select-view {
|
|
26
|
-
border-top-left-radius: @input-group-border-radius_compact;
|
|
27
|
-
border-bottom-left-radius: @input-group-border-radius_compact;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&:last-child,
|
|
32
|
-
&:last-child .@{input-prefix-cls}-outer > *:last-child {
|
|
33
|
-
border-top-right-radius: @input-group-border-radius_compact;
|
|
34
|
-
border-bottom-right-radius: @input-group-border-radius_compact;
|
|
35
|
-
|
|
36
|
-
.@{prefix}-select-view {
|
|
37
|
-
border-top-right-radius: @input-group-border-radius_compact;
|
|
38
|
-
border-bottom-right-radius: @input-group-border-radius_compact;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// 针对input边框颜色处理
|
|
44
|
-
> .@{input-prefix-cls}-wrapper:not(:last-child),
|
|
45
|
-
> .@{input-prefix-cls}-outer:not(:last-child),
|
|
46
|
-
> .@{prefix}-input-tag:not(:last-child),
|
|
47
|
-
> .@{prefix}-select-view:not(:last-child) {
|
|
48
|
-
margin-right: -@input-group-border-separator-width;
|
|
49
|
-
border-right: @input-group-border-separator-width solid
|
|
50
|
-
@input-group-color-separator-border;
|
|
51
|
-
|
|
52
|
-
&:focus-within {
|
|
53
|
-
border-right-color: @input-color-border_focus;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// 针对Error状态的input边框颜色处理
|
|
58
|
-
> .@{input-prefix-cls}-wrapper.@{input-prefix-cls}-error:not(:last-child) {
|
|
59
|
-
&:focus-within {
|
|
60
|
-
border-right-color: @input-color-border_error_focus;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
1
|
+
@import './token.less';
|
|
2
|
+
|
|
3
|
+
.@{input-prefix-cls}-group {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
|
|
7
|
+
> * {
|
|
8
|
+
border-radius: 0;
|
|
9
|
+
|
|
10
|
+
&.@{input-prefix-cls}-outer > :last-child,
|
|
11
|
+
&.@{input-prefix-cls}-outer > :first-child {
|
|
12
|
+
border-radius: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&:not(:last-child) {
|
|
16
|
+
position: relative;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:first-child,
|
|
21
|
+
&:first-child .@{input-prefix-cls}-group > *:first-child {
|
|
22
|
+
border-top-left-radius: @input-group-border-radius_compact;
|
|
23
|
+
border-bottom-left-radius: @input-group-border-radius_compact;
|
|
24
|
+
|
|
25
|
+
.@{prefix}-select-view {
|
|
26
|
+
border-top-left-radius: @input-group-border-radius_compact;
|
|
27
|
+
border-bottom-left-radius: @input-group-border-radius_compact;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:last-child,
|
|
32
|
+
&:last-child .@{input-prefix-cls}-outer > *:last-child {
|
|
33
|
+
border-top-right-radius: @input-group-border-radius_compact;
|
|
34
|
+
border-bottom-right-radius: @input-group-border-radius_compact;
|
|
35
|
+
|
|
36
|
+
.@{prefix}-select-view {
|
|
37
|
+
border-top-right-radius: @input-group-border-radius_compact;
|
|
38
|
+
border-bottom-right-radius: @input-group-border-radius_compact;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// 针对input边框颜色处理
|
|
44
|
+
> .@{input-prefix-cls}-wrapper:not(:last-child),
|
|
45
|
+
> .@{input-prefix-cls}-outer:not(:last-child),
|
|
46
|
+
> .@{prefix}-input-tag:not(:last-child),
|
|
47
|
+
> .@{prefix}-select-view:not(:last-child) {
|
|
48
|
+
margin-right: -@input-group-border-separator-width;
|
|
49
|
+
border-right: @input-group-border-separator-width solid
|
|
50
|
+
@input-group-color-separator-border;
|
|
51
|
+
|
|
52
|
+
&:focus-within {
|
|
53
|
+
border-right-color: @input-color-border_focus;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// 针对Error状态的input边框颜色处理
|
|
58
|
+
> .@{input-prefix-cls}-wrapper.@{input-prefix-cls}-error:not(:last-child) {
|
|
59
|
+
&:focus-within {
|
|
60
|
+
border-right-color: @input-color-border_error_focus;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|