@julingbase/jly-arco-design 0.0.1 → 0.0.3
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 +2 -113
- package/dist/arco-vue-icon.js.map +1 -1
- package/dist/arco-vue-icon.min.js.map +1 -1
- package/dist/arco-vue.js +36 -7
- package/dist/arco-vue.js.map +1 -1
- package/dist/arco-vue.min.js +472 -469
- 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 +3 -3
- 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 +1 -1
- package/es/cascader/cascader.d.ts +5 -5
- package/es/cascader/index.d.ts +15 -15
- 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 +7 -7
- package/es/date-picker/picker.d.ts +5 -5
- package/es/date-picker/range-picker.d.ts +7 -7
- 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/descriptions.d.ts +1 -1
- package/es/descriptions/index.d.ts +3 -3
- 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 +21 -3
- package/es/dropdown/dropdown-panel.js +18 -4
- package/es/dropdown/dropdown.d.ts +21 -3
- package/es/dropdown/dropdown.js +18 -3
- package/es/dropdown/index.d.ts +57 -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 +8 -8
- package/es/input/input-password.d.ts +2 -2
- package/es/input/input.d.ts +2 -2
- 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 +21 -21
- package/es/input-tag/input-tag.d.ts +7 -7
- 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/style/index.less +183 -183
- package/es/list/style/token.less +55 -55
- package/es/mention/index.d.ts +9 -9
- package/es/mention/mention.d.ts +3 -3
- package/es/mention/style/index.less +21 -21
- package/es/mention/style/token.less +6 -6
- package/es/menu/style/index.less +622 -622
- package/es/menu/style/token.less +117 -117
- 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 +16 -16
- 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 +8 -8
- package/es/radio/radio-group.d.ts +2 -2
- 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 +16 -16
- package/es/select/option.d.ts +5 -5
- package/es/select/select.d.ts +4 -4
- 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/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 +3 -3
- package/es/switch/style/index.less +332 -332
- package/es/switch/style/token.less +62 -62
- package/es/switch/switch.d.ts +1 -1
- 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 +13 -13
- 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/style/index.less +171 -171
- package/es/tag/style/token.less +171 -171
- 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 +15 -15
- 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 +7 -7
- 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 +16 -16
- package/es/transfer/style/index.less +294 -294
- package/es/transfer/style/token.less +48 -48
- package/es/transfer/transfer-view.d.ts +5 -5
- package/es/transfer/transfer.d.ts +7 -7
- 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 +5 -5
- 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 +2 -2
- package/es/trigger/style/index.less +57 -57
- package/es/trigger/style/token.less +5 -5
- package/es/typography/edit-content.d.ts +24 -24
- 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 +1627 -1619
- package/json/vetur-tags.json +724 -722
- package/json/web-types.json +3903 -3887
- 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 +18 -3
- 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/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
- package/README.zh-CN.md +0 -110
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
@import '../../style/theme/index.less';
|
|
2
|
-
|
|
3
|
-
@alert-border-width: @border-1;
|
|
4
|
-
@alert-min-height: @size-10;
|
|
5
|
-
@alert-border-radius: @radius-small;
|
|
6
|
-
@alert-line-height: 1.5715;
|
|
7
|
-
@alert-title-line-height: 1.5;
|
|
8
|
-
@alert-title-margin-bottom: @spacing-2;
|
|
9
|
-
@alert-margin-icon-right: @spacing-4;
|
|
10
|
-
|
|
11
|
-
@alert-padding-horizontal: @spacing-7 - @alert-border-width;
|
|
12
|
-
@alert-padding-vertical: 9px - @alert-border-width;
|
|
13
|
-
@alert-padding-horizontal_with_title: @spacing-7 - @alert-border-width;
|
|
14
|
-
@alert-padding-vertical_with_title: @spacing-7 - @alert-border-width;
|
|
15
|
-
|
|
16
|
-
@alert-font-weight-title: @font-weight-500;
|
|
17
|
-
@alert-font-size-text-title: @font-size-title-1;
|
|
18
|
-
@alert-font-size-text-content: @font-size-body-3;
|
|
19
|
-
@alert-font-size-icon: 16px;
|
|
20
|
-
@alert-font-size-icon_with_title: 18px;
|
|
21
|
-
@alert-font-size-close-icon: 12px;
|
|
22
|
-
|
|
23
|
-
/*****************************************************
|
|
24
|
-
* type: info / warning / error /success
|
|
25
|
-
*****************************************************/
|
|
26
|
-
@alert-normal-color-bg: var(~'@{arco-cssvars-prefix}-color-neutral-2');
|
|
27
|
-
@alert-normal-color-border: @color-transparent;
|
|
28
|
-
@alert-normal-color-icon: var(~'@{arco-cssvars-prefix}-color-neutral-4');
|
|
29
|
-
@alert-normal-color-text-title: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
30
|
-
@alert-normal-color-text-content: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
31
|
-
@alert-normal-color-text-content_title: var(
|
|
32
|
-
~'@{arco-cssvars-prefix}-color-text-2'
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
@alert-info-color-bg: var(~'@{arco-cssvars-prefix}-color-primary-light-1');
|
|
36
|
-
@alert-info-color-border: @color-transparent;
|
|
37
|
-
@alert-info-color-icon: @color-primary-6;
|
|
38
|
-
@alert-info-color-text-title: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
39
|
-
@alert-info-color-text-content: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
40
|
-
@alert-info-color-text-content_title: var(
|
|
41
|
-
~'@{arco-cssvars-prefix}-color-text-2'
|
|
42
|
-
);
|
|
43
|
-
|
|
44
|
-
@alert-warning-color-bg: var(~'@{arco-cssvars-prefix}-color-warning-light-1');
|
|
45
|
-
@alert-warning-color-border: @color-transparent;
|
|
46
|
-
@alert-warning-color-icon: @color-warning-6;
|
|
47
|
-
@alert-warning-color-text-title: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
48
|
-
@alert-warning-color-text-content: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
49
|
-
@alert-warning-color-text-content_title: var(
|
|
50
|
-
~'@{arco-cssvars-prefix}-color-text-2'
|
|
51
|
-
);
|
|
52
|
-
|
|
53
|
-
@alert-error-color-bg: var(~'@{arco-cssvars-prefix}-color-danger-light-1');
|
|
54
|
-
@alert-error-color-border: @color-transparent;
|
|
55
|
-
@alert-error-color-icon: @color-danger-6;
|
|
56
|
-
@alert-error-color-text-title: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
57
|
-
@alert-error-color-text-content: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
58
|
-
@alert-error-color-text-content_title: var(
|
|
59
|
-
~'@{arco-cssvars-prefix}-color-text-2'
|
|
60
|
-
);
|
|
61
|
-
|
|
62
|
-
@alert-success-color-bg: var(~'@{arco-cssvars-prefix}-color-success-light-1');
|
|
63
|
-
@alert-success-color-border: @color-transparent;
|
|
64
|
-
@alert-success-color-icon: @color-success-6;
|
|
65
|
-
@alert-success-color-text-title: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
66
|
-
@alert-success-color-text-content: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
67
|
-
@alert-success-color-text-content_title: var(
|
|
68
|
-
~'@{arco-cssvars-prefix}-color-text-2'
|
|
69
|
-
);
|
|
70
|
-
|
|
71
|
-
// 关闭图标
|
|
72
|
-
@alert-color-close-icon: var(~'@{arco-cssvars-prefix}-color-text-2');
|
|
73
|
-
@alert-color-close-icon_hover: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
74
|
-
@alert-margin-close-icon-left: @spacing-4;
|
|
75
|
-
@alert-margin-action-left: @spacing-4;
|
|
76
|
-
@alert-margin-action-right: @spacing-4;
|
|
1
|
+
@import '../../style/theme/index.less';
|
|
2
|
+
|
|
3
|
+
@alert-border-width: @border-1;
|
|
4
|
+
@alert-min-height: @size-10;
|
|
5
|
+
@alert-border-radius: @radius-small;
|
|
6
|
+
@alert-line-height: 1.5715;
|
|
7
|
+
@alert-title-line-height: 1.5;
|
|
8
|
+
@alert-title-margin-bottom: @spacing-2;
|
|
9
|
+
@alert-margin-icon-right: @spacing-4;
|
|
10
|
+
|
|
11
|
+
@alert-padding-horizontal: @spacing-7 - @alert-border-width;
|
|
12
|
+
@alert-padding-vertical: 9px - @alert-border-width;
|
|
13
|
+
@alert-padding-horizontal_with_title: @spacing-7 - @alert-border-width;
|
|
14
|
+
@alert-padding-vertical_with_title: @spacing-7 - @alert-border-width;
|
|
15
|
+
|
|
16
|
+
@alert-font-weight-title: @font-weight-500;
|
|
17
|
+
@alert-font-size-text-title: @font-size-title-1;
|
|
18
|
+
@alert-font-size-text-content: @font-size-body-3;
|
|
19
|
+
@alert-font-size-icon: 16px;
|
|
20
|
+
@alert-font-size-icon_with_title: 18px;
|
|
21
|
+
@alert-font-size-close-icon: 12px;
|
|
22
|
+
|
|
23
|
+
/*****************************************************
|
|
24
|
+
* type: info / warning / error /success
|
|
25
|
+
*****************************************************/
|
|
26
|
+
@alert-normal-color-bg: var(~'@{arco-cssvars-prefix}-color-neutral-2');
|
|
27
|
+
@alert-normal-color-border: @color-transparent;
|
|
28
|
+
@alert-normal-color-icon: var(~'@{arco-cssvars-prefix}-color-neutral-4');
|
|
29
|
+
@alert-normal-color-text-title: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
30
|
+
@alert-normal-color-text-content: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
31
|
+
@alert-normal-color-text-content_title: var(
|
|
32
|
+
~'@{arco-cssvars-prefix}-color-text-2'
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
@alert-info-color-bg: var(~'@{arco-cssvars-prefix}-color-primary-light-1');
|
|
36
|
+
@alert-info-color-border: @color-transparent;
|
|
37
|
+
@alert-info-color-icon: @color-primary-6;
|
|
38
|
+
@alert-info-color-text-title: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
39
|
+
@alert-info-color-text-content: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
40
|
+
@alert-info-color-text-content_title: var(
|
|
41
|
+
~'@{arco-cssvars-prefix}-color-text-2'
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
@alert-warning-color-bg: var(~'@{arco-cssvars-prefix}-color-warning-light-1');
|
|
45
|
+
@alert-warning-color-border: @color-transparent;
|
|
46
|
+
@alert-warning-color-icon: @color-warning-6;
|
|
47
|
+
@alert-warning-color-text-title: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
48
|
+
@alert-warning-color-text-content: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
49
|
+
@alert-warning-color-text-content_title: var(
|
|
50
|
+
~'@{arco-cssvars-prefix}-color-text-2'
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
@alert-error-color-bg: var(~'@{arco-cssvars-prefix}-color-danger-light-1');
|
|
54
|
+
@alert-error-color-border: @color-transparent;
|
|
55
|
+
@alert-error-color-icon: @color-danger-6;
|
|
56
|
+
@alert-error-color-text-title: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
57
|
+
@alert-error-color-text-content: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
58
|
+
@alert-error-color-text-content_title: var(
|
|
59
|
+
~'@{arco-cssvars-prefix}-color-text-2'
|
|
60
|
+
);
|
|
61
|
+
|
|
62
|
+
@alert-success-color-bg: var(~'@{arco-cssvars-prefix}-color-success-light-1');
|
|
63
|
+
@alert-success-color-border: @color-transparent;
|
|
64
|
+
@alert-success-color-icon: @color-success-6;
|
|
65
|
+
@alert-success-color-text-title: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
66
|
+
@alert-success-color-text-content: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
67
|
+
@alert-success-color-text-content_title: var(
|
|
68
|
+
~'@{arco-cssvars-prefix}-color-text-2'
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
// 关闭图标
|
|
72
|
+
@alert-color-close-icon: var(~'@{arco-cssvars-prefix}-color-text-2');
|
|
73
|
+
@alert-color-close-icon_hover: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
74
|
+
@alert-margin-close-icon-left: @spacing-4;
|
|
75
|
+
@alert-margin-action-left: @spacing-4;
|
|
76
|
+
@alert-margin-action-right: @spacing-4;
|
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
@import './token.less';
|
|
2
|
-
|
|
3
|
-
@anchor-prefix-cls: ~'@{prefix}-anchor';
|
|
4
|
-
|
|
5
|
-
.@{anchor-prefix-cls} {
|
|
6
|
-
position: relative;
|
|
7
|
-
width: @anchor-width;
|
|
8
|
-
overflow: auto;
|
|
9
|
-
|
|
10
|
-
&-line {
|
|
11
|
-
&-slider {
|
|
12
|
-
position: absolute;
|
|
13
|
-
top: 0;
|
|
14
|
-
left: 0;
|
|
15
|
-
z-index: 1;
|
|
16
|
-
width: @anchor-line-width;
|
|
17
|
-
height: @anchor-line-slider-height;
|
|
18
|
-
margin-top: ((@anchor-font-size-title * @line-height-base) / 2 + @anchor-title-padding-vertical - @anchor-line-slider-height / 2);
|
|
19
|
-
background-color: @anchor-color-bg-line_active;
|
|
20
|
-
transition: top @transition-duration-2
|
|
21
|
-
@transition-timing-function-standard;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-list {
|
|
26
|
-
position: relative;
|
|
27
|
-
margin-top: 0;
|
|
28
|
-
margin-bottom: 0;
|
|
29
|
-
margin-left: @anchor-line-margin-right - @anchor-title-padding-horizontal;
|
|
30
|
-
padding-left: 0;
|
|
31
|
-
list-style: none;
|
|
32
|
-
|
|
33
|
-
&::before {
|
|
34
|
-
position: absolute;
|
|
35
|
-
left: -(@anchor-line-margin-right - @anchor-title-padding-horizontal);
|
|
36
|
-
width: @anchor-line-width;
|
|
37
|
-
height: 100%;
|
|
38
|
-
background-color: @anchor-color-bg-line;
|
|
39
|
-
content: '';
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&-sublist {
|
|
44
|
-
margin-top: 0;
|
|
45
|
-
margin-bottom: 0;
|
|
46
|
-
padding-left: 0;
|
|
47
|
-
list-style: none;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&-link-item {
|
|
51
|
-
margin-bottom: @anchor-title-margin-bottom;
|
|
52
|
-
|
|
53
|
-
.@{anchor-prefix-cls}-link {
|
|
54
|
-
display: block;
|
|
55
|
-
margin-bottom: @anchor-title-margin-bottom;
|
|
56
|
-
padding: @anchor-title-padding-vertical @anchor-title-padding-horizontal;
|
|
57
|
-
overflow: hidden;
|
|
58
|
-
color: @anchor-color-title;
|
|
59
|
-
font-size: @anchor-font-size-title;
|
|
60
|
-
line-height: @line-height-base;
|
|
61
|
-
white-space: nowrap;
|
|
62
|
-
text-decoration: none;
|
|
63
|
-
text-overflow: ellipsis;
|
|
64
|
-
border-radius: @anchor-border-radius-title-hover;
|
|
65
|
-
cursor: pointer;
|
|
66
|
-
|
|
67
|
-
&:hover {
|
|
68
|
-
color: @anchor-color-title_hover;
|
|
69
|
-
font-weight: @anchor-font-weight-title_hover;
|
|
70
|
-
background-color: @anchor-color-bg-title_hover;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&-link-active > &-link {
|
|
76
|
-
color: @anchor-color-title_active;
|
|
77
|
-
font-weight: @anchor-font-weight-title_active;
|
|
78
|
-
transition: all @transition-duration-1 @transition-timing-function-linear;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&-link-item &-link-item {
|
|
82
|
-
margin-left: @anchor-item-inner-margin-left;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// line-less
|
|
86
|
-
&-line-less &-list {
|
|
87
|
-
margin-left: 0;
|
|
88
|
-
|
|
89
|
-
&::before {
|
|
90
|
-
display: none;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&-line-less &-link-active > &-link {
|
|
95
|
-
color: @anchor-lineless-color-title_active;
|
|
96
|
-
font-weight: @anchor-lineless-font-weight-title_active;
|
|
97
|
-
background-color: @anchor-lineless-bg-title_active;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
1
|
+
@import './token.less';
|
|
2
|
+
|
|
3
|
+
@anchor-prefix-cls: ~'@{prefix}-anchor';
|
|
4
|
+
|
|
5
|
+
.@{anchor-prefix-cls} {
|
|
6
|
+
position: relative;
|
|
7
|
+
width: @anchor-width;
|
|
8
|
+
overflow: auto;
|
|
9
|
+
|
|
10
|
+
&-line {
|
|
11
|
+
&-slider {
|
|
12
|
+
position: absolute;
|
|
13
|
+
top: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
z-index: 1;
|
|
16
|
+
width: @anchor-line-width;
|
|
17
|
+
height: @anchor-line-slider-height;
|
|
18
|
+
margin-top: ((@anchor-font-size-title * @line-height-base) / 2 + @anchor-title-padding-vertical - @anchor-line-slider-height / 2);
|
|
19
|
+
background-color: @anchor-color-bg-line_active;
|
|
20
|
+
transition: top @transition-duration-2
|
|
21
|
+
@transition-timing-function-standard;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&-list {
|
|
26
|
+
position: relative;
|
|
27
|
+
margin-top: 0;
|
|
28
|
+
margin-bottom: 0;
|
|
29
|
+
margin-left: @anchor-line-margin-right - @anchor-title-padding-horizontal;
|
|
30
|
+
padding-left: 0;
|
|
31
|
+
list-style: none;
|
|
32
|
+
|
|
33
|
+
&::before {
|
|
34
|
+
position: absolute;
|
|
35
|
+
left: -(@anchor-line-margin-right - @anchor-title-padding-horizontal);
|
|
36
|
+
width: @anchor-line-width;
|
|
37
|
+
height: 100%;
|
|
38
|
+
background-color: @anchor-color-bg-line;
|
|
39
|
+
content: '';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&-sublist {
|
|
44
|
+
margin-top: 0;
|
|
45
|
+
margin-bottom: 0;
|
|
46
|
+
padding-left: 0;
|
|
47
|
+
list-style: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&-link-item {
|
|
51
|
+
margin-bottom: @anchor-title-margin-bottom;
|
|
52
|
+
|
|
53
|
+
.@{anchor-prefix-cls}-link {
|
|
54
|
+
display: block;
|
|
55
|
+
margin-bottom: @anchor-title-margin-bottom;
|
|
56
|
+
padding: @anchor-title-padding-vertical @anchor-title-padding-horizontal;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
color: @anchor-color-title;
|
|
59
|
+
font-size: @anchor-font-size-title;
|
|
60
|
+
line-height: @line-height-base;
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
text-decoration: none;
|
|
63
|
+
text-overflow: ellipsis;
|
|
64
|
+
border-radius: @anchor-border-radius-title-hover;
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
|
|
67
|
+
&:hover {
|
|
68
|
+
color: @anchor-color-title_hover;
|
|
69
|
+
font-weight: @anchor-font-weight-title_hover;
|
|
70
|
+
background-color: @anchor-color-bg-title_hover;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&-link-active > &-link {
|
|
76
|
+
color: @anchor-color-title_active;
|
|
77
|
+
font-weight: @anchor-font-weight-title_active;
|
|
78
|
+
transition: all @transition-duration-1 @transition-timing-function-linear;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&-link-item &-link-item {
|
|
82
|
+
margin-left: @anchor-item-inner-margin-left;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// line-less
|
|
86
|
+
&-line-less &-list {
|
|
87
|
+
margin-left: 0;
|
|
88
|
+
|
|
89
|
+
&::before {
|
|
90
|
+
display: none;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&-line-less &-link-active > &-link {
|
|
95
|
+
color: @anchor-lineless-color-title_active;
|
|
96
|
+
font-weight: @anchor-lineless-font-weight-title_active;
|
|
97
|
+
background-color: @anchor-lineless-bg-title_active;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
@import '../../style/theme/index.less';
|
|
2
|
-
|
|
3
|
-
// Line
|
|
4
|
-
@anchor-width: 150px;
|
|
5
|
-
@anchor-line-width: 2px;
|
|
6
|
-
@anchor-line-slider-height: 12px;
|
|
7
|
-
@anchor-line-margin-right: 12px;
|
|
8
|
-
@anchor-color-bg-line: var(~'@{arco-cssvars-prefix}-color-fill-3');
|
|
9
|
-
@anchor-color-bg-line_active: @color-primary-6;
|
|
10
|
-
|
|
11
|
-
@anchor-border-radius-title-hover: @radius-small;
|
|
12
|
-
|
|
13
|
-
@anchor-item-inner-margin-left: @spacing-7;
|
|
14
|
-
|
|
15
|
-
@anchor-title-padding-horizontal: @spacing-4;
|
|
16
|
-
@anchor-title-padding-vertical: @spacing-2;
|
|
17
|
-
@anchor-title-margin-bottom: @spacing-1;
|
|
18
|
-
|
|
19
|
-
@anchor-color-title: var(~'@{arco-cssvars-prefix}-color-text-2');
|
|
20
|
-
@anchor-color-title_hover: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
21
|
-
@anchor-color-title_active: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
22
|
-
@anchor-font-weight-title_hover: @font-weight-500;
|
|
23
|
-
@anchor-font-weight-title_active: @font-weight-500;
|
|
24
|
-
@anchor-color-bg-title_hover: var(~'@{arco-cssvars-prefix}-color-fill-2');
|
|
25
|
-
@anchor-font-size-title: 14px;
|
|
26
|
-
|
|
27
|
-
// Lineless
|
|
28
|
-
@anchor-lineless-color-title_active: @color-primary-6;
|
|
29
|
-
@anchor-lineless-bg-title_active: var(~'@{arco-cssvars-prefix}-color-fill-2');
|
|
30
|
-
@anchor-lineless-font-weight-title_active: @font-weight-500;
|
|
1
|
+
@import '../../style/theme/index.less';
|
|
2
|
+
|
|
3
|
+
// Line
|
|
4
|
+
@anchor-width: 150px;
|
|
5
|
+
@anchor-line-width: 2px;
|
|
6
|
+
@anchor-line-slider-height: 12px;
|
|
7
|
+
@anchor-line-margin-right: 12px;
|
|
8
|
+
@anchor-color-bg-line: var(~'@{arco-cssvars-prefix}-color-fill-3');
|
|
9
|
+
@anchor-color-bg-line_active: @color-primary-6;
|
|
10
|
+
|
|
11
|
+
@anchor-border-radius-title-hover: @radius-small;
|
|
12
|
+
|
|
13
|
+
@anchor-item-inner-margin-left: @spacing-7;
|
|
14
|
+
|
|
15
|
+
@anchor-title-padding-horizontal: @spacing-4;
|
|
16
|
+
@anchor-title-padding-vertical: @spacing-2;
|
|
17
|
+
@anchor-title-margin-bottom: @spacing-1;
|
|
18
|
+
|
|
19
|
+
@anchor-color-title: var(~'@{arco-cssvars-prefix}-color-text-2');
|
|
20
|
+
@anchor-color-title_hover: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
21
|
+
@anchor-color-title_active: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
22
|
+
@anchor-font-weight-title_hover: @font-weight-500;
|
|
23
|
+
@anchor-font-weight-title_active: @font-weight-500;
|
|
24
|
+
@anchor-color-bg-title_hover: var(~'@{arco-cssvars-prefix}-color-fill-2');
|
|
25
|
+
@anchor-font-size-title: 14px;
|
|
26
|
+
|
|
27
|
+
// Lineless
|
|
28
|
+
@anchor-lineless-color-title_active: @color-primary-6;
|
|
29
|
+
@anchor-lineless-bg-title_active: var(~'@{arco-cssvars-prefix}-color-fill-2');
|
|
30
|
+
@anchor-lineless-font-weight-title_active: @font-weight-500;
|
|
@@ -95,8 +95,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
95
95
|
}>> & Readonly<{
|
|
96
96
|
onClear?: ((ev: Event) => any) | undefined;
|
|
97
97
|
onSelect?: ((value: string) => any) | undefined;
|
|
98
|
-
onChange?: ((value: string) => any) | undefined;
|
|
99
98
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
99
|
+
onChange?: ((value: string) => any) | undefined;
|
|
100
100
|
onSearch?: ((value: string) => any) | undefined;
|
|
101
101
|
onDropdownScroll?: ((ev: Event) => any) | undefined;
|
|
102
102
|
onDropdownReachBottom?: ((ev: Event) => any) | undefined;
|
|
@@ -104,9 +104,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
104
104
|
disabled: boolean;
|
|
105
105
|
strict: boolean;
|
|
106
106
|
data: (string | number | SelectOptionData | SelectOptionGroup)[];
|
|
107
|
-
allowClear: boolean;
|
|
108
|
-
defaultValue: string;
|
|
109
107
|
modelValue: string;
|
|
108
|
+
defaultValue: string;
|
|
109
|
+
allowClear: boolean;
|
|
110
110
|
filterOption: FilterOption;
|
|
111
111
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
112
112
|
export default _default;
|
|
@@ -43,8 +43,8 @@ declare const AutoComplete: {
|
|
|
43
43
|
}>> & Readonly<{
|
|
44
44
|
onClear?: ((ev: Event) => any) | undefined;
|
|
45
45
|
onSelect?: ((value: string) => any) | undefined;
|
|
46
|
-
onChange?: ((value: string) => any) | undefined;
|
|
47
46
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
47
|
+
onChange?: ((value: string) => any) | undefined;
|
|
48
48
|
onSearch?: ((value: string) => any) | undefined;
|
|
49
49
|
onDropdownScroll?: ((ev: Event) => any) | undefined;
|
|
50
50
|
onDropdownReachBottom?: ((ev: Event) => any) | undefined;
|
|
@@ -66,9 +66,9 @@ declare const AutoComplete: {
|
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
strict: boolean;
|
|
68
68
|
data: (string | number | import("..").SelectOptionData | import("..").SelectOptionGroup)[];
|
|
69
|
-
allowClear: boolean;
|
|
70
|
-
defaultValue: string;
|
|
71
69
|
modelValue: string;
|
|
70
|
+
defaultValue: string;
|
|
71
|
+
allowClear: boolean;
|
|
72
72
|
filterOption: import("..").FilterOption;
|
|
73
73
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
74
74
|
P: {};
|
|
@@ -118,8 +118,8 @@ declare const AutoComplete: {
|
|
|
118
118
|
}>> & Readonly<{
|
|
119
119
|
onClear?: ((ev: Event) => any) | undefined;
|
|
120
120
|
onSelect?: ((value: string) => any) | undefined;
|
|
121
|
-
onChange?: ((value: string) => any) | undefined;
|
|
122
121
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
122
|
+
onChange?: ((value: string) => any) | undefined;
|
|
123
123
|
onSearch?: ((value: string) => any) | undefined;
|
|
124
124
|
onDropdownScroll?: ((ev: Event) => any) | undefined;
|
|
125
125
|
onDropdownReachBottom?: ((ev: Event) => any) | undefined;
|
|
@@ -133,9 +133,9 @@ declare const AutoComplete: {
|
|
|
133
133
|
disabled: boolean;
|
|
134
134
|
strict: boolean;
|
|
135
135
|
data: (string | number | import("..").SelectOptionData | import("..").SelectOptionGroup)[];
|
|
136
|
-
allowClear: boolean;
|
|
137
|
-
defaultValue: string;
|
|
138
136
|
modelValue: string;
|
|
137
|
+
defaultValue: string;
|
|
138
|
+
allowClear: boolean;
|
|
139
139
|
filterOption: import("..").FilterOption;
|
|
140
140
|
}>;
|
|
141
141
|
__isFragment?: undefined;
|
|
@@ -182,8 +182,8 @@ declare const AutoComplete: {
|
|
|
182
182
|
}>> & Readonly<{
|
|
183
183
|
onClear?: ((ev: Event) => any) | undefined;
|
|
184
184
|
onSelect?: ((value: string) => any) | undefined;
|
|
185
|
-
onChange?: ((value: string) => any) | undefined;
|
|
186
185
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
186
|
+
onChange?: ((value: string) => any) | undefined;
|
|
187
187
|
onSearch?: ((value: string) => any) | undefined;
|
|
188
188
|
onDropdownScroll?: ((ev: Event) => any) | undefined;
|
|
189
189
|
onDropdownReachBottom?: ((ev: Event) => any) | undefined;
|
|
@@ -205,9 +205,9 @@ declare const AutoComplete: {
|
|
|
205
205
|
disabled: boolean;
|
|
206
206
|
strict: boolean;
|
|
207
207
|
data: (string | number | import("..").SelectOptionData | import("..").SelectOptionGroup)[];
|
|
208
|
-
allowClear: boolean;
|
|
209
|
-
defaultValue: string;
|
|
210
208
|
modelValue: string;
|
|
209
|
+
defaultValue: string;
|
|
210
|
+
allowClear: boolean;
|
|
211
211
|
filterOption: import("..").FilterOption;
|
|
212
212
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
213
213
|
install: (app: App, options?: ArcoOptions | undefined) => void;
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
@import './token.less';
|
|
2
|
-
|
|
3
|
-
@auto-complete-prefix-cls: ~'@{prefix}-autocomplete';
|
|
4
|
-
@select-prefix-cls: ~'@{prefix}-select';
|
|
5
|
-
|
|
6
|
-
.@{auto-complete-prefix-cls} {
|
|
7
|
-
&-popup .@{select-prefix-cls}-popup {
|
|
8
|
-
background-color: var(~'@{arco-cssvars-prefix}-color-bg-popup');
|
|
9
|
-
border: 1px solid @auto-complete-popup-color-border;
|
|
10
|
-
border-radius: @auto-complete-popup-border-radius;
|
|
11
|
-
box-shadow: @auto-complete-popup-box-shadow;
|
|
12
|
-
|
|
13
|
-
.@{select-prefix-cls}-popup-inner {
|
|
14
|
-
max-height: @auto-complete-popup-max-height;
|
|
15
|
-
padding: @auto-complete-popup-padding-vertical 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.@{select-prefix-cls}-option {
|
|
19
|
-
height: @auto-complete-option-height;
|
|
20
|
-
padding: 0 @auto-complete-option-padding-horizontal;
|
|
21
|
-
font-size: @auto-complete-popup-font-size;
|
|
22
|
-
line-height: $height;
|
|
23
|
-
|
|
24
|
-
.option-color(@status) {
|
|
25
|
-
@class-suffix: if(@status = default, ~'', ~'-@{status}');
|
|
26
|
-
|
|
27
|
-
&@{class-suffix} {
|
|
28
|
-
color: ~'@{auto-complete-option-color-text_@{status}}';
|
|
29
|
-
background-color: ~'@{auto-complete-option-color-bg_@{status}}';
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.option-color(default);
|
|
34
|
-
.option-color(selected);
|
|
35
|
-
.option-color(hover);
|
|
36
|
-
// disabled 优先级最高,放在最后
|
|
37
|
-
.option-color(disabled);
|
|
38
|
-
|
|
39
|
-
&-selected {
|
|
40
|
-
font-weight: @auto-complete-option-font-weight_selected;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
1
|
+
@import './token.less';
|
|
2
|
+
|
|
3
|
+
@auto-complete-prefix-cls: ~'@{prefix}-autocomplete';
|
|
4
|
+
@select-prefix-cls: ~'@{prefix}-select';
|
|
5
|
+
|
|
6
|
+
.@{auto-complete-prefix-cls} {
|
|
7
|
+
&-popup .@{select-prefix-cls}-popup {
|
|
8
|
+
background-color: var(~'@{arco-cssvars-prefix}-color-bg-popup');
|
|
9
|
+
border: 1px solid @auto-complete-popup-color-border;
|
|
10
|
+
border-radius: @auto-complete-popup-border-radius;
|
|
11
|
+
box-shadow: @auto-complete-popup-box-shadow;
|
|
12
|
+
|
|
13
|
+
.@{select-prefix-cls}-popup-inner {
|
|
14
|
+
max-height: @auto-complete-popup-max-height;
|
|
15
|
+
padding: @auto-complete-popup-padding-vertical 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.@{select-prefix-cls}-option {
|
|
19
|
+
height: @auto-complete-option-height;
|
|
20
|
+
padding: 0 @auto-complete-option-padding-horizontal;
|
|
21
|
+
font-size: @auto-complete-popup-font-size;
|
|
22
|
+
line-height: $height;
|
|
23
|
+
|
|
24
|
+
.option-color(@status) {
|
|
25
|
+
@class-suffix: if(@status = default, ~'', ~'-@{status}');
|
|
26
|
+
|
|
27
|
+
&@{class-suffix} {
|
|
28
|
+
color: ~'@{auto-complete-option-color-text_@{status}}';
|
|
29
|
+
background-color: ~'@{auto-complete-option-color-bg_@{status}}';
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.option-color(default);
|
|
34
|
+
.option-color(selected);
|
|
35
|
+
.option-color(hover);
|
|
36
|
+
// disabled 优先级最高,放在最后
|
|
37
|
+
.option-color(disabled);
|
|
38
|
+
|
|
39
|
+
&-selected {
|
|
40
|
+
font-weight: @auto-complete-option-font-weight_selected;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
@import '../../style/theme/index.less';
|
|
2
|
-
|
|
3
|
-
/**********************************************
|
|
4
|
-
* Popup Box
|
|
5
|
-
**********************************************/
|
|
6
|
-
@auto-complete-popup-max-height: @size-50;
|
|
7
|
-
@auto-complete-popup-border-radius: @radius-medium;
|
|
8
|
-
@auto-complete-popup-padding-vertical: @spacing-2;
|
|
9
|
-
@auto-complete-popup-font-size: @font-size-body-3;
|
|
10
|
-
@auto-complete-popup-color-border: var(~'@{arco-cssvars-prefix}-color-fill-3');
|
|
11
|
-
@auto-complete-popup-box-shadow: @shadow2-down;
|
|
12
|
-
|
|
13
|
-
/**********************************************
|
|
14
|
-
* Popup Options
|
|
15
|
-
* status: default / disabled / selected / hover
|
|
16
|
-
**********************************************/
|
|
17
|
-
@auto-complete-option-height: @size-9;
|
|
18
|
-
@auto-complete-option-font-weight_selected: @font-weight-500;
|
|
19
|
-
@auto-complete-option-padding-horizontal: @spacing-6;
|
|
20
|
-
|
|
21
|
-
@auto-complete-option-color-bg_default: var(~'@{arco-cssvars-prefix}-color-bg-popup');
|
|
22
|
-
@auto-complete-option-color-bg_hover: var(~'@{arco-cssvars-prefix}-color-fill-2');
|
|
23
|
-
@auto-complete-option-color-bg_selected: var(~'@{arco-cssvars-prefix}-color-bg-popup');
|
|
24
|
-
@auto-complete-option-color-bg_disabled: var(~'@{arco-cssvars-prefix}-color-bg-popup');
|
|
25
|
-
|
|
26
|
-
@auto-complete-option-color-text_default: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
27
|
-
@auto-complete-option-color-text_hover: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
28
|
-
@auto-complete-option-color-text_selected: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
29
|
-
@auto-complete-option-color-text_disabled: var(~'@{arco-cssvars-prefix}-color-text-4');
|
|
1
|
+
@import '../../style/theme/index.less';
|
|
2
|
+
|
|
3
|
+
/**********************************************
|
|
4
|
+
* Popup Box
|
|
5
|
+
**********************************************/
|
|
6
|
+
@auto-complete-popup-max-height: @size-50;
|
|
7
|
+
@auto-complete-popup-border-radius: @radius-medium;
|
|
8
|
+
@auto-complete-popup-padding-vertical: @spacing-2;
|
|
9
|
+
@auto-complete-popup-font-size: @font-size-body-3;
|
|
10
|
+
@auto-complete-popup-color-border: var(~'@{arco-cssvars-prefix}-color-fill-3');
|
|
11
|
+
@auto-complete-popup-box-shadow: @shadow2-down;
|
|
12
|
+
|
|
13
|
+
/**********************************************
|
|
14
|
+
* Popup Options
|
|
15
|
+
* status: default / disabled / selected / hover
|
|
16
|
+
**********************************************/
|
|
17
|
+
@auto-complete-option-height: @size-9;
|
|
18
|
+
@auto-complete-option-font-weight_selected: @font-weight-500;
|
|
19
|
+
@auto-complete-option-padding-horizontal: @spacing-6;
|
|
20
|
+
|
|
21
|
+
@auto-complete-option-color-bg_default: var(~'@{arco-cssvars-prefix}-color-bg-popup');
|
|
22
|
+
@auto-complete-option-color-bg_hover: var(~'@{arco-cssvars-prefix}-color-fill-2');
|
|
23
|
+
@auto-complete-option-color-bg_selected: var(~'@{arco-cssvars-prefix}-color-bg-popup');
|
|
24
|
+
@auto-complete-option-color-bg_disabled: var(~'@{arco-cssvars-prefix}-color-bg-popup');
|
|
25
|
+
|
|
26
|
+
@auto-complete-option-color-text_default: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
27
|
+
@auto-complete-option-color-text_hover: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
28
|
+
@auto-complete-option-color-text_selected: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
29
|
+
@auto-complete-option-color-text_disabled: var(~'@{arco-cssvars-prefix}-color-text-4');
|