@sdata/web-vue 1.10.0 → 1.11.1
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/dist/sd.css +148 -952
- package/dist/sd.min.css +1 -1
- package/es/_components/input-label/style/input-label.scss +11 -51
- package/es/_components/select-view/select-view.d.ts +1 -1
- package/es/_components/select-view/style/index.css +0 -84
- package/es/_components/virtual-list/interface.d.ts +10 -1
- package/es/{table/hooks/use-table-virtual-size.d.ts → _components/virtual-list/use-virtual-size.d.ts} +4 -2
- package/es/{table/hooks/use-table-virtual-size.js → _components/virtual-list/use-virtual-size.js} +17 -20
- package/es/_components/virtual-list/virtual-list.js +64 -2
- package/es/_components/virtual-list/virtual-list.vue.d.ts +208 -0
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_lang.js +277 -5
- package/es/_utils/clipboard.js +2 -1
- package/es/auto-complete/auto-complete.d.ts +1 -1
- package/es/auto-complete/index.d.ts +24 -15
- package/es/auto-complete/style/index.css +0 -16
- package/es/auto-complete/style/index.scss +11 -26
- package/es/badge/style/index.scss +11 -41
- package/es/button/style/index.css +35 -445
- package/es/button/style/index.scss +57 -332
- package/es/card/style/index.scss +18 -52
- package/es/carousel/index.d.ts +1 -0
- package/es/cascader/cascader-panel.vue.d.ts +1 -1
- package/es/cascader/cascader.vue.d.ts +3 -3
- package/es/cascader/index.d.ts +10 -10
- package/es/cascader/interface.d.ts +5 -0
- package/es/color-picker/style/index.scss +17 -99
- package/es/config-provider/config-provider.vue.d.ts +1 -1
- package/es/config-provider/index.d.ts +4 -3
- package/es/date-picker/index.d.ts +21 -14
- package/es/date-picker/panels/date/index.vue.d.ts +1 -1
- package/es/date-picker/panels/week/index.vue.d.ts +7 -7
- package/es/date-picker/picker.vue.d.ts +1 -1
- package/es/date-picker/range-picker.vue.d.ts +1 -1
- package/es/descriptions/descriptions.d.ts +1 -1
- package/es/descriptions/index.d.ts +4 -4
- package/es/descriptions/style/index.scss +18 -63
- package/es/form/style/index.css +12 -176
- package/es/form/style/status.scss +36 -73
- package/es/index.css +148 -952
- package/es/index.d.ts +21 -20
- package/es/input/style/input.scss +14 -66
- package/es/input-number/index.d.ts +5 -0
- package/es/input-tag/style/index.css +0 -84
- package/es/input-tag/style/input-tag.scss +16 -170
- package/es/list/style/index.scss +12 -42
- package/es/menu/index.d.ts +8 -0
- package/es/menu/style/index.css +0 -178
- package/es/menu/style/index.scss +36 -139
- package/es/pagination/index.d.ts +3 -3
- package/es/pagination/interface.d.ts +2 -1
- package/es/pagination/page-options.js +1 -1
- package/es/pagination/page-options.vue.d.ts +72 -71
- package/es/pagination/page-options.vue_vue_type_script_lang.js +6 -0
- package/es/pagination/pagination.d.ts +3 -3
- package/es/pagination/style/index.css +0 -12
- package/es/pagination/style/index.scss +19 -76
- package/es/radio/index.d.ts +3 -0
- package/es/result/style/index.css +0 -16
- package/es/result/style/index.scss +12 -34
- package/es/select/index.d.ts +9 -9
- package/es/select/interface.d.ts +2 -1
- package/es/select/select.d.ts +3 -3
- package/es/slider/index.d.ts +6 -3
- package/es/slider/slider.vue.d.ts +1 -1
- package/es/steps/index.d.ts +2 -0
- package/es/switch/index.d.ts +3 -0
- package/es/table/context.d.ts +1 -1
- package/es/table/hooks/use-column-resize.d.ts +2 -3
- package/es/table/hooks/use-column-resize.js +48 -21
- package/es/table/hooks/use-drag.d.ts +4 -2
- package/es/table/hooks/use-drag.js +16 -2
- package/es/table/index.d.ts +22 -34
- package/es/table/interface.d.ts +21 -2
- package/es/table/style/index.css +97 -21
- package/es/table/style/index.scss +137 -125
- package/es/table/table-operation-td.d.ts +2 -2
- package/es/table/table-operation-td.js +4 -5
- package/es/table/table-operation-th.js +4 -4
- package/es/table/table-tbody.js +1 -1
- package/es/table/table-td.js +5 -6
- package/es/table/table-th.js +25 -24
- package/es/table/table-thead.js +1 -1
- package/es/table/table-tr.js +1 -1
- package/es/table/table.d.ts +12 -16
- package/es/table/table.js +399 -190
- package/es/tabs/index.d.ts +1 -0
- package/es/tabs/style/index.scss +53 -135
- package/es/tag/index.d.ts +3 -3
- package/es/tag/style/index.css +0 -84
- package/es/tag/style/index.scss +19 -146
- package/es/tag/tag.vue.d.ts +1 -1
- package/es/theme-provider/index.d.ts +9 -9
- package/es/time-picker/index.d.ts +1 -0
- package/es/timeline/index.d.ts +1 -0
- package/es/transfer/index.d.ts +1 -0
- package/es/transfer/interface.d.ts +1 -1
- package/es/tree/hooks/use-tree-data.d.ts +17 -29
- package/es/tree/index.d.ts +6 -1
- package/es/tree/interface.d.ts +2 -0
- package/es/tree/tree.js +1 -1
- package/es/tree/tree.vue.d.ts +3561 -13
- package/es/tree/tree.vue_vue_type_script_lang.js +21 -9
- package/es/tree-select/hooks/use-selected-state.js +3 -1
- package/es/tree-select/index.d.ts +3 -0
- package/es/tree-select/tree-select.vue.d.ts +1367 -3
- package/json/vetur-attributes.json +1 -6
- package/json/vetur-tags.json +0 -1
- package/json/web-types.json +7 -11
- package/package.json +1 -1
- package/es/style/theme/legacy-less-var.scss +0 -15
- package/es/table/table-col-group.js +0 -21
- package/es/table/table-col-group.vue_vue_type_script_lang.js +0 -32
- package/es/table/table-legacy-virtual-list.js +0 -47
- package/es/table/table-legacy-virtual-list.vue.d.ts +0 -156
- package/es/table/table-legacy-virtual-list.vue_vue_type_script_lang.js +0 -148
- package/es/table/table-virtual-list-item.d.ts +0 -22
- package/es/table/table-virtual-list-item.js +0 -37
package/es/tabs/index.d.ts
CHANGED
|
@@ -342,5 +342,6 @@ declare const Tabs: {
|
|
|
342
342
|
};
|
|
343
343
|
export type TabsInstance = InstanceType<typeof _Tabs>;
|
|
344
344
|
export type TabPaneInstance = InstanceType<typeof _TabPane>;
|
|
345
|
+
export type { ScrollPosition, TabTriggerEvent, TabsPosition, TabsType } from './interface';
|
|
345
346
|
export { _TabPane as TabPane };
|
|
346
347
|
export default Tabs;
|
package/es/tabs/style/index.scss
CHANGED
|
@@ -5,134 +5,52 @@
|
|
|
5
5
|
@use 'sass:math';
|
|
6
6
|
@use 'sass:string';
|
|
7
7
|
@use 'sass:map';
|
|
8
|
-
@use '@style/theme/legacy-less-var.scss' as legacyLessVar;
|
|
9
8
|
@use 'sass:meta';
|
|
10
9
|
@use '@style/mixins/index.scss' as *;
|
|
10
|
+
@use '@components/tabs/style/token.scss' as token;
|
|
11
11
|
@use '@components/tabs/style/token.scss' as *;
|
|
12
12
|
|
|
13
13
|
$sizes: mini, small, large;
|
|
14
14
|
|
|
15
|
-
$
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'prefix': theme.$prefix,
|
|
19
|
-
'sd-cssvars-prefix': global.$sd-cssvars-prefix,
|
|
20
|
-
'sd-theme-tag': global.$sd-theme-tag,
|
|
21
|
-
'sizes': $sizes,
|
|
22
|
-
'tabs-capsule-border-header-radius': $tabs-capsule-border-header-radius,
|
|
23
|
-
'tabs-capsule-color-header-bg': $tabs-capsule-color-header-bg,
|
|
24
|
-
'tabs-capsule-color-separator-bg': $tabs-capsule-color-separator-bg,
|
|
25
|
-
'tabs-capsule-color-title-bg': $tabs-capsule-color-title-bg,
|
|
26
|
-
'tabs-capsule-color-title-bg_active': $tabs-capsule-color-title-bg_active,
|
|
27
|
-
'tabs-capsule-color-title-bg_hover': $tabs-capsule-color-title-bg_hover,
|
|
28
|
-
'tabs-capsule-margin-title-horizontal': $tabs-capsule-margin-title-horizontal,
|
|
29
|
-
'tabs-capsule-padding-header-horizontal': $tabs-capsule-padding-header-horizontal,
|
|
30
|
-
'tabs-capsule-padding-header-vertical': $tabs-capsule-padding-header-vertical,
|
|
31
|
-
'tabs-capsule-padding-title-horizontal': $tabs-capsule-padding-title-horizontal,
|
|
32
|
-
'tabs-capsule-size-separator-height': $tabs-capsule-size-separator-height,
|
|
33
|
-
'tabs-capsule-size-separator-width': $tabs-capsule-size-separator-width,
|
|
34
|
-
'tabs-card-border-content-width': $tabs-card-border-content-width,
|
|
35
|
-
'tabs-card-border-radius': $tabs-card-border-radius,
|
|
36
|
-
'tabs-card-border-width': $tabs-card-border-width,
|
|
37
|
-
'tabs-card-color-close-icon-bg_hover': $tabs-card-color-close-icon-bg_hover,
|
|
38
|
-
'tabs-card-color-title-bg': $tabs-card-color-title-bg,
|
|
39
|
-
'tabs-card-color-title-bg_active': $tabs-card-color-title-bg_active,
|
|
40
|
-
'tabs-card-color-title-bg_disabled': $tabs-card-color-title-bg_disabled,
|
|
41
|
-
'tabs-card-color-title-bg_hover': $tabs-card-color-title-bg_hover,
|
|
42
|
-
'tabs-card-color-title-border': $tabs-card-color-title-border,
|
|
43
|
-
'tabs-card-gutter-color-title-bg': $tabs-card-gutter-color-title-bg,
|
|
44
|
-
'tabs-card-gutter-color-title-bg_active': $tabs-card-gutter-color-title-bg_active,
|
|
45
|
-
'tabs-card-gutter-color-title-bg_disabled': $tabs-card-gutter-color-title-bg_disabled,
|
|
46
|
-
'tabs-card-gutter-color-title-bg_hover': $tabs-card-gutter-color-title-bg_hover,
|
|
47
|
-
'tabs-card-gutter-spacing-horizontal': $tabs-card-gutter-spacing-horizontal,
|
|
48
|
-
'tabs-card-padding-title-horizontal': $tabs-card-padding-title-horizontal,
|
|
49
|
-
'tabs-card-padding-title-right_editable': $tabs-card-padding-title-right_editable,
|
|
50
|
-
'tabs-color-icon': $tabs-color-icon,
|
|
51
|
-
'tabs-color-icon_disabled': $tabs-color-icon_disabled,
|
|
52
|
-
'tabs-color-title-text': $tabs-color-title-text,
|
|
53
|
-
'tabs-color-title-text_active': $tabs-color-title-text_active,
|
|
54
|
-
'tabs-color-title-text_disabled': $tabs-color-title-text_disabled,
|
|
55
|
-
'tabs-color-title-text_disabled_active': $tabs-color-title-text_disabled_active,
|
|
56
|
-
'tabs-color-title-text_hover': $tabs-color-title-text_hover,
|
|
57
|
-
'tabs-content-padding': $tabs-content-padding,
|
|
58
|
-
'tabs-line-border-radius': $tabs-line-border-radius,
|
|
59
|
-
'tabs-line-color-header-border': $tabs-line-color-header-border,
|
|
60
|
-
'tabs-line-color-ink-bg': $tabs-line-color-ink-bg,
|
|
61
|
-
'tabs-line-color-ink-bg_disabled': $tabs-line-color-ink-bg_disabled,
|
|
62
|
-
'tabs-line-color-title-bg': $tabs-line-color-title-bg,
|
|
63
|
-
'tabs-line-color-title-bg_active': $tabs-line-color-title-bg_active,
|
|
64
|
-
'tabs-line-color-title-bg_hover': $tabs-line-color-title-bg_hover,
|
|
65
|
-
'tabs-line-font-title-text-weight_active': $tabs-line-font-title-text-weight_active,
|
|
66
|
-
'tabs-line-font-title-text-weight_hover': $tabs-line-font-title-text-weight_hover,
|
|
67
|
-
'tabs-line-margin-title-horizontal': $tabs-line-margin-title-horizontal,
|
|
68
|
-
'tabs-line-margin-title-horizontal_first': $tabs-line-margin-title-horizontal_first,
|
|
69
|
-
'tabs-line-padding-title-horizontal_vertical': $tabs-line-padding-title-horizontal_vertical,
|
|
70
|
-
'tabs-line-size-header-border': $tabs-line-size-header-border,
|
|
71
|
-
'tabs-line-size-ink-stroke': $tabs-line-size-ink-stroke,
|
|
72
|
-
'tabs-margin-add-icon-left': $tabs-margin-add-icon-left,
|
|
73
|
-
'tabs-margin-close-icon-left': $tabs-margin-close-icon-left,
|
|
74
|
-
'tabs-padding-header-wrapper-horizontal': $tabs-padding-header-wrapper-horizontal,
|
|
75
|
-
'tabs-padding-title-text-horizontal': $tabs-padding-title-text-horizontal,
|
|
76
|
-
'tabs-padding-title-text-vertical': $tabs-padding-title-text-vertical,
|
|
77
|
-
'tabs-rounded-color-title-bg': $tabs-rounded-color-title-bg,
|
|
78
|
-
'tabs-rounded-color-title-bg_active': $tabs-rounded-color-title-bg_active,
|
|
79
|
-
'tabs-rounded-color-title-bg_disabled': $tabs-rounded-color-title-bg_disabled,
|
|
80
|
-
'tabs-rounded-color-title-bg_hover': $tabs-rounded-color-title-bg_hover,
|
|
81
|
-
'tabs-rounded-margin-title-horizontal': $tabs-rounded-margin-title-horizontal,
|
|
82
|
-
'tabs-rounded-padding-title-horizontal': $tabs-rounded-padding-title-horizontal,
|
|
83
|
-
'tabs-size-default-font-size': $tabs-size-default-font-size,
|
|
84
|
-
'tabs-size-default-font-size_capsule': $tabs-size-default-font-size_capsule,
|
|
85
|
-
'tabs-size-default-font-size_card': $tabs-size-default-font-size_card,
|
|
86
|
-
'tabs-size-default-font-size_rounded': $tabs-size-default-font-size_rounded,
|
|
87
|
-
'tabs-size-default-font-size_text': $tabs-size-default-font-size_text,
|
|
88
|
-
'tabs-size-default-header-height': $tabs-size-default-header-height,
|
|
89
|
-
'tabs-size-default-header-height_capsule': $tabs-size-default-header-height_capsule,
|
|
90
|
-
'tabs-size-default-header-height_line': $tabs-size-default-header-height_line,
|
|
91
|
-
'tabs-size-default-header-height_rounded': $tabs-size-default-header-height_rounded,
|
|
92
|
-
'tabs-size-default-header-height_text': $tabs-size-default-header-height_text,
|
|
93
|
-
'tabs-size-icon': $tabs-size-icon,
|
|
94
|
-
'tabs-size-icon-bg': $tabs-size-icon-bg,
|
|
15
|
+
$token-vars: (
|
|
16
|
+
'tabs-size-mini-font-size': $tabs-size-mini-font-size,
|
|
17
|
+
'tabs-size-small-font-size': $tabs-size-small-font-size,
|
|
95
18
|
'tabs-size-large-font-size': $tabs-size-large-font-size,
|
|
96
|
-
'tabs-size-
|
|
19
|
+
'tabs-size-mini-font-size_card': $tabs-size-mini-font-size_card,
|
|
20
|
+
'tabs-size-small-font-size_card': $tabs-size-small-font-size_card,
|
|
97
21
|
'tabs-size-large-font-size_card': $tabs-size-large-font-size_card,
|
|
98
|
-
'tabs-size-large-font-size_rounded': $tabs-size-large-font-size_rounded,
|
|
99
|
-
'tabs-size-large-header-height': $tabs-size-large-header-height,
|
|
100
|
-
'tabs-size-large-header-height_capsule': $tabs-size-large-header-height_capsule,
|
|
101
|
-
'tabs-size-large-header-height_line': $tabs-size-large-header-height_line,
|
|
102
|
-
'tabs-size-large-header-height_rounded': $tabs-size-large-header-height_rounded,
|
|
103
|
-
'tabs-size-mini-font-size': $tabs-size-mini-font-size,
|
|
104
22
|
'tabs-size-mini-font-size_capsule': $tabs-size-mini-font-size_capsule,
|
|
105
|
-
'tabs-size-mini-font-size_card': $tabs-size-mini-font-size_card,
|
|
106
|
-
'tabs-size-mini-font-size_rounded': $tabs-size-mini-font-size_rounded,
|
|
107
|
-
'tabs-size-mini-header-height': $tabs-size-mini-header-height,
|
|
108
|
-
'tabs-size-mini-header-height_capsule': $tabs-size-mini-header-height_capsule,
|
|
109
|
-
'tabs-size-mini-header-height_line': $tabs-size-mini-header-height_line,
|
|
110
|
-
'tabs-size-mini-header-height_rounded': $tabs-size-mini-header-height_rounded,
|
|
111
|
-
'tabs-size-small-font-size': $tabs-size-small-font-size,
|
|
112
23
|
'tabs-size-small-font-size_capsule': $tabs-size-small-font-size_capsule,
|
|
113
|
-
'tabs-size-
|
|
24
|
+
'tabs-size-large-font-size_capsule': $tabs-size-large-font-size_capsule,
|
|
25
|
+
'tabs-size-mini-font-size_rounded': $tabs-size-mini-font-size_rounded,
|
|
114
26
|
'tabs-size-small-font-size_rounded': $tabs-size-small-font-size_rounded,
|
|
27
|
+
'tabs-size-large-font-size_rounded': $tabs-size-large-font-size_rounded,
|
|
28
|
+
'tabs-size-mini-header-height': $tabs-size-mini-header-height,
|
|
115
29
|
'tabs-size-small-header-height': $tabs-size-small-header-height,
|
|
116
|
-
'tabs-size-
|
|
30
|
+
'tabs-size-large-header-height': $tabs-size-large-header-height,
|
|
31
|
+
'tabs-size-mini-header-height_line': $tabs-size-mini-header-height_line,
|
|
117
32
|
'tabs-size-small-header-height_line': $tabs-size-small-header-height_line,
|
|
33
|
+
'tabs-size-large-header-height_line': $tabs-size-large-header-height_line,
|
|
34
|
+
'tabs-size-mini-header-height_capsule': $tabs-size-mini-header-height_capsule,
|
|
35
|
+
'tabs-size-small-header-height_capsule': $tabs-size-small-header-height_capsule,
|
|
36
|
+
'tabs-size-large-header-height_capsule': $tabs-size-large-header-height_capsule,
|
|
37
|
+
'tabs-size-mini-header-height_rounded': $tabs-size-mini-header-height_rounded,
|
|
118
38
|
'tabs-size-small-header-height_rounded': $tabs-size-small-header-height_rounded,
|
|
119
|
-
'tabs-
|
|
120
|
-
'tabs-text-color-separator-bg': $tabs-text-color-separator-bg,
|
|
121
|
-
'tabs-text-color-title-bg': $tabs-text-color-title-bg,
|
|
122
|
-
'tabs-text-color-title-bg_active': $tabs-text-color-title-bg_active,
|
|
123
|
-
'tabs-text-color-title-bg_disabled': $tabs-text-color-title-bg_disabled,
|
|
124
|
-
'tabs-text-color-title-bg_disabled_active': $tabs-text-color-title-bg_disabled_active,
|
|
125
|
-
'tabs-text-color-title-bg_hover': $tabs-text-color-title-bg_hover,
|
|
126
|
-
'tabs-text-margin-title-horizontal': $tabs-text-margin-title-horizontal,
|
|
127
|
-
'tabs-text-size-separator-height': $tabs-text-size-separator-height,
|
|
128
|
-
'tabs-text-size-separator-width': $tabs-text-size-separator-width,
|
|
129
|
-
'transition-duration-2': theme.$transition-duration-2,
|
|
130
|
-
'transition-timing-function-linear': theme.$transition-timing-function-linear,
|
|
131
|
-
'transition-timing-function-standard': theme.$transition-timing-function-standard,
|
|
39
|
+
'tabs-size-large-header-height_rounded': $tabs-size-large-header-height_rounded,
|
|
132
40
|
);
|
|
133
41
|
|
|
134
|
-
@function
|
|
135
|
-
|
|
42
|
+
@function token-var($name, $fallback: null) {
|
|
43
|
+
$value: map.get($token-vars, $name);
|
|
44
|
+
|
|
45
|
+
@if $value == null {
|
|
46
|
+
$value: map.get(meta.module-variables('token'), $name);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@if $value == null {
|
|
50
|
+
@return $fallback;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@return $value;
|
|
136
54
|
}
|
|
137
55
|
|
|
138
56
|
$tabs-prefix-cls: string.unquote('#{theme.$prefix}-tabs');
|
|
@@ -734,25 +652,25 @@ $tabs-prefix-cls: string.unquote('#{theme.$prefix}-tabs');
|
|
|
734
652
|
$height: string.unquote('tabs-size-#{$size}-header-height_line');
|
|
735
653
|
$font-size: string.unquote('tabs-size-#{$size}-font-size');
|
|
736
654
|
$padding: get-title-padding(
|
|
737
|
-
|
|
738
|
-
|
|
655
|
+
token-var($height),
|
|
656
|
+
token-var($font-size),
|
|
739
657
|
$tabs-padding-title-text-vertical
|
|
740
658
|
);
|
|
741
659
|
|
|
742
660
|
.#{$tabs-prefix-cls}-nav-extra {
|
|
743
|
-
font-size:
|
|
744
|
-
line-height:
|
|
661
|
+
font-size: token-var($font-size);
|
|
662
|
+
line-height: token-var($height);
|
|
745
663
|
}
|
|
746
664
|
|
|
747
665
|
.#{$tabs-prefix-cls}-tab {
|
|
748
666
|
padding-top: $padding;
|
|
749
667
|
padding-bottom: $padding;
|
|
750
|
-
font-size:
|
|
668
|
+
font-size: token-var($font-size);
|
|
751
669
|
}
|
|
752
670
|
|
|
753
671
|
.#{$tabs-prefix-cls}-nav-extra {
|
|
754
|
-
font-size:
|
|
755
|
-
line-height:
|
|
672
|
+
font-size: token-var($font-size);
|
|
673
|
+
line-height: token-var($height);
|
|
756
674
|
}
|
|
757
675
|
}
|
|
758
676
|
|
|
@@ -761,24 +679,24 @@ $tabs-prefix-cls: string.unquote('#{theme.$prefix}-tabs');
|
|
|
761
679
|
$card-font-size: string.unquote('tabs-size-#{$size}-font-size_card');
|
|
762
680
|
$card-height: string.unquote('tabs-size-#{$size}-header-height');
|
|
763
681
|
$padding: get-title-padding(
|
|
764
|
-
|
|
765
|
-
|
|
682
|
+
token-var($card-height) - $tabs-card-border-width * 2,
|
|
683
|
+
token-var($card-font-size),
|
|
766
684
|
$tabs-padding-title-text-vertical
|
|
767
685
|
);
|
|
768
686
|
|
|
769
687
|
.#{$tabs-prefix-cls}-tab {
|
|
770
688
|
padding-top: $padding;
|
|
771
689
|
padding-bottom: $padding;
|
|
772
|
-
font-size:
|
|
690
|
+
font-size: token-var($card-font-size);
|
|
773
691
|
}
|
|
774
692
|
|
|
775
693
|
.#{$tabs-prefix-cls}-nav-extra {
|
|
776
|
-
font-size:
|
|
777
|
-
line-height:
|
|
694
|
+
font-size: token-var($card-font-size);
|
|
695
|
+
line-height: token-var($card-height);
|
|
778
696
|
}
|
|
779
697
|
|
|
780
698
|
.#{$tabs-prefix-cls}-nav-add-btn {
|
|
781
|
-
height:
|
|
699
|
+
height: token-var($card-height);
|
|
782
700
|
}
|
|
783
701
|
}
|
|
784
702
|
|
|
@@ -787,13 +705,13 @@ $tabs-prefix-cls: string.unquote('#{theme.$prefix}-tabs');
|
|
|
787
705
|
$capsule-height: string.unquote('tabs-size-#{$size}-header-height_capsule');
|
|
788
706
|
|
|
789
707
|
.#{$tabs-prefix-cls}-tab {
|
|
790
|
-
font-size:
|
|
791
|
-
line-height:
|
|
708
|
+
font-size: token-var($capsule-font-size);
|
|
709
|
+
line-height: token-var($capsule-height) - $tabs-capsule-padding-header-vertical * 2;
|
|
792
710
|
}
|
|
793
711
|
|
|
794
712
|
.#{$tabs-prefix-cls}-nav-extra {
|
|
795
|
-
font-size:
|
|
796
|
-
line-height:
|
|
713
|
+
font-size: token-var($capsule-font-size);
|
|
714
|
+
line-height: token-var($capsule-height);
|
|
797
715
|
}
|
|
798
716
|
}
|
|
799
717
|
|
|
@@ -803,19 +721,19 @@ $tabs-prefix-cls: string.unquote('#{theme.$prefix}-tabs');
|
|
|
803
721
|
|
|
804
722
|
.#{$tabs-prefix-cls}-tab {
|
|
805
723
|
padding-top: get-title-padding(
|
|
806
|
-
|
|
807
|
-
|
|
724
|
+
token-var($rounded-height),
|
|
725
|
+
token-var($rounded-font-size),
|
|
808
726
|
0
|
|
809
727
|
);
|
|
810
728
|
padding-bottom: (
|
|
811
|
-
get-title-padding(
|
|
729
|
+
get-title-padding(token-var($rounded-height), token-var($rounded-font-size), 0)
|
|
812
730
|
);
|
|
813
|
-
font-size:
|
|
731
|
+
font-size: token-var($rounded-font-size);
|
|
814
732
|
}
|
|
815
733
|
|
|
816
734
|
.#{$tabs-prefix-cls}-nav-extra {
|
|
817
|
-
font-size:
|
|
818
|
-
line-height:
|
|
735
|
+
font-size: token-var($rounded-font-size);
|
|
736
|
+
line-height: token-var($rounded-height);
|
|
819
737
|
}
|
|
820
738
|
}
|
|
821
739
|
}
|
package/es/tag/index.d.ts
CHANGED
|
@@ -70,11 +70,11 @@ declare const Tag: {
|
|
|
70
70
|
visible: boolean;
|
|
71
71
|
defaultVisible: boolean;
|
|
72
72
|
closable: boolean;
|
|
73
|
+
nowrap: boolean;
|
|
73
74
|
bordered: boolean;
|
|
74
75
|
checkable: boolean;
|
|
75
76
|
checked: boolean;
|
|
76
77
|
defaultChecked: boolean;
|
|
77
|
-
nowrap: boolean;
|
|
78
78
|
}, true, {}, {}, {
|
|
79
79
|
IconHover: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
80
80
|
prefix: {
|
|
@@ -418,11 +418,11 @@ declare const Tag: {
|
|
|
418
418
|
visible: boolean;
|
|
419
419
|
defaultVisible: boolean;
|
|
420
420
|
closable: boolean;
|
|
421
|
+
nowrap: boolean;
|
|
421
422
|
bordered: boolean;
|
|
422
423
|
checkable: boolean;
|
|
423
424
|
checked: boolean;
|
|
424
425
|
defaultChecked: boolean;
|
|
425
|
-
nowrap: boolean;
|
|
426
426
|
}>;
|
|
427
427
|
__isFragment?: never;
|
|
428
428
|
__isTeleport?: never;
|
|
@@ -495,11 +495,11 @@ declare const Tag: {
|
|
|
495
495
|
visible: boolean;
|
|
496
496
|
defaultVisible: boolean;
|
|
497
497
|
closable: boolean;
|
|
498
|
+
nowrap: boolean;
|
|
498
499
|
bordered: boolean;
|
|
499
500
|
checkable: boolean;
|
|
500
501
|
checked: boolean;
|
|
501
502
|
defaultChecked: boolean;
|
|
502
|
-
nowrap: boolean;
|
|
503
503
|
}, {}, string, {}, {
|
|
504
504
|
IconHover: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
505
505
|
prefix: {
|
package/es/tag/style/index.css
CHANGED
|
@@ -94,13 +94,6 @@
|
|
|
94
94
|
background-color: rgb(var(--red-1));
|
|
95
95
|
border: 1px solid transparent;
|
|
96
96
|
}
|
|
97
|
-
.sd-tag .sd-tag.sd-tag-checked.sd-tag-red .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
98
|
-
background-color: rgb(var(--red-2));
|
|
99
|
-
}
|
|
100
|
-
.sd-tag .sd-tag-checkable.sd-tag-checked.sd-tag-red:hover {
|
|
101
|
-
background-color: rgb(var(--red-2));
|
|
102
|
-
border-color: transparent;
|
|
103
|
-
}
|
|
104
97
|
.sd-tag .sd-tag-checked.sd-tag-red.sd-tag-bordered,
|
|
105
98
|
.sd-tag .sd-tag-checked.sd-tag-red.sd-tag-bordered:hover {
|
|
106
99
|
border-color: rgb(var(--red-6));
|
|
@@ -113,13 +106,6 @@
|
|
|
113
106
|
background-color: rgb(var(--orangered-1));
|
|
114
107
|
border: 1px solid transparent;
|
|
115
108
|
}
|
|
116
|
-
.sd-tag .sd-tag.sd-tag-checked.sd-tag-orangered .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
117
|
-
background-color: rgb(var(--orangered-2));
|
|
118
|
-
}
|
|
119
|
-
.sd-tag .sd-tag-checkable.sd-tag-checked.sd-tag-orangered:hover {
|
|
120
|
-
background-color: rgb(var(--orangered-2));
|
|
121
|
-
border-color: transparent;
|
|
122
|
-
}
|
|
123
109
|
.sd-tag .sd-tag-checked.sd-tag-orangered.sd-tag-bordered,
|
|
124
110
|
.sd-tag .sd-tag-checked.sd-tag-orangered.sd-tag-bordered:hover {
|
|
125
111
|
border-color: rgb(var(--orangered-6));
|
|
@@ -132,13 +118,6 @@
|
|
|
132
118
|
background-color: rgb(var(--orange-1));
|
|
133
119
|
border: 1px solid transparent;
|
|
134
120
|
}
|
|
135
|
-
.sd-tag .sd-tag.sd-tag-checked.sd-tag-orange .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
136
|
-
background-color: rgb(var(--orange-2));
|
|
137
|
-
}
|
|
138
|
-
.sd-tag .sd-tag-checkable.sd-tag-checked.sd-tag-orange:hover {
|
|
139
|
-
background-color: rgb(var(--orange-2));
|
|
140
|
-
border-color: transparent;
|
|
141
|
-
}
|
|
142
121
|
.sd-tag .sd-tag-checked.sd-tag-orange.sd-tag-bordered,
|
|
143
122
|
.sd-tag .sd-tag-checked.sd-tag-orange.sd-tag-bordered:hover {
|
|
144
123
|
border-color: rgb(var(--orange-6));
|
|
@@ -151,13 +130,6 @@
|
|
|
151
130
|
background-color: rgb(var(--gold-1));
|
|
152
131
|
border: 1px solid transparent;
|
|
153
132
|
}
|
|
154
|
-
.sd-tag .sd-tag.sd-tag-checked.sd-tag-gold .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
155
|
-
background-color: rgb(var(--gold-2));
|
|
156
|
-
}
|
|
157
|
-
.sd-tag .sd-tag-checkable.sd-tag-checked.sd-tag-gold:hover {
|
|
158
|
-
background-color: rgb(var(--gold-3));
|
|
159
|
-
border-color: transparent;
|
|
160
|
-
}
|
|
161
133
|
.sd-tag .sd-tag-checked.sd-tag-gold.sd-tag-bordered,
|
|
162
134
|
.sd-tag .sd-tag-checked.sd-tag-gold.sd-tag-bordered:hover {
|
|
163
135
|
border-color: rgb(var(--gold-6));
|
|
@@ -170,13 +142,6 @@
|
|
|
170
142
|
background-color: rgb(var(--lime-1));
|
|
171
143
|
border: 1px solid transparent;
|
|
172
144
|
}
|
|
173
|
-
.sd-tag .sd-tag.sd-tag-checked.sd-tag-lime .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
174
|
-
background-color: rgb(var(--lime-2));
|
|
175
|
-
}
|
|
176
|
-
.sd-tag .sd-tag-checkable.sd-tag-checked.sd-tag-lime:hover {
|
|
177
|
-
background-color: rgb(var(--lime-2));
|
|
178
|
-
border-color: transparent;
|
|
179
|
-
}
|
|
180
145
|
.sd-tag .sd-tag-checked.sd-tag-lime.sd-tag-bordered,
|
|
181
146
|
.sd-tag .sd-tag-checked.sd-tag-lime.sd-tag-bordered:hover {
|
|
182
147
|
border-color: rgb(var(--lime-6));
|
|
@@ -189,13 +154,6 @@
|
|
|
189
154
|
background-color: rgb(var(--green-1));
|
|
190
155
|
border: 1px solid transparent;
|
|
191
156
|
}
|
|
192
|
-
.sd-tag .sd-tag.sd-tag-checked.sd-tag-green .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
193
|
-
background-color: rgb(var(--green-2));
|
|
194
|
-
}
|
|
195
|
-
.sd-tag .sd-tag-checkable.sd-tag-checked.sd-tag-green:hover {
|
|
196
|
-
background-color: rgb(var(--green-2));
|
|
197
|
-
border-color: transparent;
|
|
198
|
-
}
|
|
199
157
|
.sd-tag .sd-tag-checked.sd-tag-green.sd-tag-bordered,
|
|
200
158
|
.sd-tag .sd-tag-checked.sd-tag-green.sd-tag-bordered:hover {
|
|
201
159
|
border-color: rgb(var(--green-6));
|
|
@@ -208,13 +166,6 @@
|
|
|
208
166
|
background-color: rgb(var(--cyan-1));
|
|
209
167
|
border: 1px solid transparent;
|
|
210
168
|
}
|
|
211
|
-
.sd-tag .sd-tag.sd-tag-checked.sd-tag-cyan .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
212
|
-
background-color: rgb(var(--cyan-2));
|
|
213
|
-
}
|
|
214
|
-
.sd-tag .sd-tag-checkable.sd-tag-checked.sd-tag-cyan:hover {
|
|
215
|
-
background-color: rgb(var(--cyan-2));
|
|
216
|
-
border-color: transparent;
|
|
217
|
-
}
|
|
218
169
|
.sd-tag .sd-tag-checked.sd-tag-cyan.sd-tag-bordered,
|
|
219
170
|
.sd-tag .sd-tag-checked.sd-tag-cyan.sd-tag-bordered:hover {
|
|
220
171
|
border-color: rgb(var(--cyan-6));
|
|
@@ -227,13 +178,6 @@
|
|
|
227
178
|
background-color: rgb(var(--blue-1));
|
|
228
179
|
border: 1px solid transparent;
|
|
229
180
|
}
|
|
230
|
-
.sd-tag .sd-tag.sd-tag-checked.sd-tag-blue .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
231
|
-
background-color: rgb(var(--blue-2));
|
|
232
|
-
}
|
|
233
|
-
.sd-tag .sd-tag-checkable.sd-tag-checked.sd-tag-blue:hover {
|
|
234
|
-
background-color: rgb(var(--blue-2));
|
|
235
|
-
border-color: transparent;
|
|
236
|
-
}
|
|
237
181
|
.sd-tag .sd-tag-checked.sd-tag-blue.sd-tag-bordered,
|
|
238
182
|
.sd-tag .sd-tag-checked.sd-tag-blue.sd-tag-bordered:hover {
|
|
239
183
|
border-color: rgb(var(--blue-6));
|
|
@@ -246,13 +190,6 @@
|
|
|
246
190
|
background-color: rgb(var(--sdblue-1));
|
|
247
191
|
border: 1px solid transparent;
|
|
248
192
|
}
|
|
249
|
-
.sd-tag .sd-tag.sd-tag-checked.sd-tag-sdblue .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
250
|
-
background-color: rgb(var(--sdblue-2));
|
|
251
|
-
}
|
|
252
|
-
.sd-tag .sd-tag-checkable.sd-tag-checked.sd-tag-sdblue:hover {
|
|
253
|
-
background-color: rgb(var(--sdblue-2));
|
|
254
|
-
border-color: transparent;
|
|
255
|
-
}
|
|
256
193
|
.sd-tag .sd-tag-checked.sd-tag-sdblue.sd-tag-bordered,
|
|
257
194
|
.sd-tag .sd-tag-checked.sd-tag-sdblue.sd-tag-bordered:hover {
|
|
258
195
|
border-color: rgb(var(--sdblue-6));
|
|
@@ -265,13 +202,6 @@
|
|
|
265
202
|
background-color: rgb(var(--purple-1));
|
|
266
203
|
border: 1px solid transparent;
|
|
267
204
|
}
|
|
268
|
-
.sd-tag .sd-tag.sd-tag-checked.sd-tag-purple .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
269
|
-
background-color: rgb(var(--purple-2));
|
|
270
|
-
}
|
|
271
|
-
.sd-tag .sd-tag-checkable.sd-tag-checked.sd-tag-purple:hover {
|
|
272
|
-
background-color: rgb(var(--purple-2));
|
|
273
|
-
border-color: transparent;
|
|
274
|
-
}
|
|
275
205
|
.sd-tag .sd-tag-checked.sd-tag-purple.sd-tag-bordered,
|
|
276
206
|
.sd-tag .sd-tag-checked.sd-tag-purple.sd-tag-bordered:hover {
|
|
277
207
|
border-color: rgb(var(--purple-6));
|
|
@@ -284,13 +214,6 @@
|
|
|
284
214
|
background-color: rgb(var(--pinkpurple-1));
|
|
285
215
|
border: 1px solid transparent;
|
|
286
216
|
}
|
|
287
|
-
.sd-tag .sd-tag.sd-tag-checked.sd-tag-pinkpurple .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
288
|
-
background-color: rgb(var(--pinkpurple-2));
|
|
289
|
-
}
|
|
290
|
-
.sd-tag .sd-tag-checkable.sd-tag-checked.sd-tag-pinkpurple:hover {
|
|
291
|
-
background-color: rgb(var(--pinkpurple-2));
|
|
292
|
-
border-color: transparent;
|
|
293
|
-
}
|
|
294
217
|
.sd-tag .sd-tag-checked.sd-tag-pinkpurple.sd-tag-bordered,
|
|
295
218
|
.sd-tag .sd-tag-checked.sd-tag-pinkpurple.sd-tag-bordered:hover {
|
|
296
219
|
border-color: rgb(var(--pinkpurple-6));
|
|
@@ -303,13 +226,6 @@
|
|
|
303
226
|
background-color: rgb(var(--magenta-1));
|
|
304
227
|
border: 1px solid transparent;
|
|
305
228
|
}
|
|
306
|
-
.sd-tag .sd-tag.sd-tag-checked.sd-tag-magenta .sd-icon-hover.sd-tag-icon-hover:hover::before {
|
|
307
|
-
background-color: rgb(var(--magenta-2));
|
|
308
|
-
}
|
|
309
|
-
.sd-tag .sd-tag-checkable.sd-tag-checked.sd-tag-magenta:hover {
|
|
310
|
-
background-color: rgb(var(--magenta-2));
|
|
311
|
-
border-color: transparent;
|
|
312
|
-
}
|
|
313
229
|
.sd-tag .sd-tag-checked.sd-tag-magenta.sd-tag-bordered,
|
|
314
230
|
.sd-tag .sd-tag-checked.sd-tag-magenta.sd-tag-bordered:hover {
|
|
315
231
|
border-color: rgb(var(--magenta-6));
|