@sdata/web-vue 4.7.1 → 5.0.0
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 +4004 -3955
- package/dist/sd.min.css +13 -13
- package/es/_components/input-label/style/index.css +47 -47
- package/es/_components/select-view/style/index.css +256 -256
- package/es/alert/style/index.css +48 -48
- package/es/alert/style/token.scss +257 -0
- package/es/anchor/style/index.css +18 -18
- package/es/anchor/style/token.scss +74 -0
- package/es/auto-complete/style/index.css +18 -18
- package/es/auto-complete/style/token.scss +94 -0
- package/es/avatar/style/index.css +31 -31
- package/es/avatar/style/token.scss +118 -0
- package/es/back-top/style/index.css +11 -11
- package/es/back-top/style/token.scss +60 -0
- package/es/badge/style/index.css +35 -35
- package/es/badge/style/token.scss +148 -0
- package/es/basic-crud-table/style/index.css +4 -4
- package/es/basic-crud-table/style/token.scss +20 -0
- package/es/bloom-menu/style/index.css +33 -34
- package/es/bloom-menu/style/index.scss +5 -5
- package/es/bloom-menu/style/token.scss +99 -0
- package/es/border-beam/style/token.scss +28 -0
- package/es/breadcrumb/style/index.css +17 -17
- package/es/breadcrumb/style/token.scss +97 -0
- package/es/button/style/index.css +379 -379
- package/es/button/style/index.scss +3 -3
- package/es/button/style/token.scss +1604 -0
- package/es/card/style/index.css +36 -36
- package/es/card/style/token.scss +162 -0
- package/es/carousel/style/index.css +41 -41
- package/es/carousel/style/token.scss +101 -0
- package/es/cascader/style/index.css +58 -58
- package/es/cascader/style/token.scss +89 -0
- package/es/checkbox/style/index.css +28 -28
- package/es/checkbox/style/token.scss +134 -0
- package/es/collapse/style/index.css +24 -24
- package/es/collapse/style/token.scss +136 -0
- package/es/color-picker/style/index.css +50 -50
- package/es/color-picker/style/token.scss +200 -0
- package/es/comment/style/index.css +15 -15
- package/es/comment/style/token.scss +83 -0
- package/es/config-provider/algorithms.d.ts +11 -0
- package/es/config-provider/algorithms.js +53 -0
- package/es/config-provider/global-theme.js +7 -4
- package/es/config-provider/theme-config.d.ts +11 -0
- package/es/config-provider/theme-config.js +114 -0
- package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +46 -11
- package/es/config-provider/theme.d.ts +4 -1
- package/es/config-provider/theme.js +6 -5
- package/es/config-provider/token-key.d.ts +1 -0
- package/es/config-provider/token-key.js +6 -0
- package/es/copy/style/index.css +1 -1
- package/es/copy/style/token.scss +9 -0
- package/es/cropper/style/index.css +7 -7
- package/es/cropper/style/token.scss +24 -0
- package/es/date-picker/style/index.css +73 -73
- package/es/date-picker/style/token.scss +229 -0
- package/es/descriptions/style/index.css +45 -45
- package/es/descriptions/style/token.scss +191 -0
- package/es/divider/style/index.css +11 -11
- package/es/divider/style/token.scss +60 -0
- package/es/drawer/style/index.css +13 -13
- package/es/drawer/style/token.scss +68 -0
- package/es/dropdown/style/index.css +24 -23
- package/es/dropdown/style/index.scss +4 -2
- package/es/dropdown/style/token.scss +123 -0
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/ellipsis/interface.d.ts +1 -0
- package/es/ellipsis/style/index.css +2 -2
- package/es/ellipsis/style/token.scss +5 -0
- package/es/empty/style/index.css +7 -7
- package/es/empty/style/token.scss +35 -0
- package/es/file-previewer/style/index.css +44 -44
- package/es/file-previewer/style/token.scss +198 -0
- package/es/form/style/index.css +113 -113
- package/es/form/style/token.scss +340 -0
- package/es/image/style/index.css +83 -83
- package/es/image/style/token.scss +451 -0
- package/es/index.css +4004 -3955
- package/es/index.d.ts +3 -0
- package/es/index.js +4 -1
- package/es/input/style/index.css +104 -104
- package/es/input/style/input.scss +2 -8
- package/es/input/style/size.scss +4 -4
- package/es/input/style/token.scss +327 -0
- package/es/input-mask/style/index.css +1 -1
- package/es/input-mask/style/token.scss +8 -0
- package/es/input-number/style/index.css +19 -19
- package/es/input-number/style/token.scss +82 -0
- package/es/input-tag/style/index.css +209 -209
- package/es/input-tag/style/token.scss +226 -0
- package/es/json-form/style/index.css +2 -2
- package/es/json-form/style/token.scss +21 -0
- package/es/kv-list/style/index.css +13 -13
- package/es/kv-list/style/token.scss +29 -0
- package/es/layout/style/index.css +38 -38
- package/es/layout/style/token.scss +100 -0
- package/es/link/style/index.css +28 -28
- package/es/link/style/token.scss +117 -0
- package/es/list/style/index.css +27 -27
- package/es/list/style/token.scss +178 -0
- package/es/mention/style/token.scss +22 -0
- package/es/menu/style/index.css +153 -120
- package/es/menu/style/index.scss +12 -4
- package/es/menu/style/token.scss +390 -0
- package/es/message/style/index.css +33 -33
- package/es/message/style/token.scss +218 -0
- package/es/modal/style/index.css +21 -21
- package/es/modal/style/token.scss +115 -0
- package/es/model-selector/style/index.css +1 -1
- package/es/notification/style/index.css +44 -44
- package/es/notification/style/token.scss +241 -0
- package/es/number-flow/style/index.css +5 -5
- package/es/number-flow/style/token.scss +19 -0
- package/es/page-header/style/index.css +25 -25
- package/es/page-header/style/token.scss +139 -0
- package/es/pagination/style/index.css +85 -85
- package/es/pagination/style/token.scss +303 -0
- package/es/panel-group/style/index.css +7 -7
- package/es/panel-group/style/token.scss +28 -0
- package/es/popconfirm/style/index.css +18 -18
- package/es/popconfirm/style/token.scss +83 -0
- package/es/popover/style/index.css +12 -12
- package/es/popover/style/token.scss +58 -0
- package/es/progress/style/index.css +55 -55
- package/es/progress/style/token.scss +253 -0
- package/es/qr-code/style/index.css +18 -21
- package/es/qr-code/style/index.scss +4 -6
- package/es/qr-code/style/token.scss +59 -0
- package/es/radio/style/index.css +45 -44
- package/es/radio/style/index.scss +1 -0
- package/es/radio/style/token.scss +185 -0
- package/es/rate/style/index.css +8 -8
- package/es/rate/style/token.scss +19 -0
- package/es/regex-vis/style/index.css +51 -51
- package/es/regex-vis/style/token.scss +170 -0
- package/es/result/style/index.css +26 -26
- package/es/result/style/token.scss +139 -0
- package/es/rich-text-editor/style/index.css +31 -31
- package/es/rich-text-editor/style/token.scss +120 -0
- package/es/scrollbar/style/index.css +14 -14
- package/es/scrollbar/style/token.scss +33 -0
- package/es/secret/style/index.css +6 -6
- package/es/secret/style/token.scss +30 -0
- package/es/select/style/index.css +27 -27
- package/es/select/style/token.scss +151 -0
- package/es/selectable-card/style/index.css +53 -51
- package/es/selectable-card/style/index.scss +6 -2
- package/es/selectable-card/style/token.scss +60 -0
- package/es/sender/style/index.css +54 -54
- package/es/sender/style/token.scss +155 -0
- package/es/skeleton/style/index.css +12 -12
- package/es/skeleton/style/token.scss +60 -0
- package/es/slider/style/index.css +34 -34
- package/es/slider/style/token.scss +144 -0
- package/es/spin/style/index.css +11 -11
- package/es/spin/style/token.scss +60 -0
- package/es/split/style/index.css +2 -2
- package/es/split/style/token.scss +18 -0
- package/es/statistic/style/index.css +13 -13
- package/es/statistic/style/token.scss +73 -0
- package/es/steps/style/index.css +98 -98
- package/es/steps/style/token.scss +464 -0
- package/es/style/color/css-variables.scss +382 -381
- package/es/style/theme/css-variables.scss +329 -135
- package/es/style/theme/global.scss +5 -5
- package/es/style/theme/index.scss +1 -1
- package/es/style/theme/runtime.scss +29 -0
- package/es/switch/style/index.css +37 -37
- package/es/switch/style/token.scss +135 -0
- package/es/table/style/index.css +127 -127
- package/es/table/style/token.scss +425 -0
- package/es/tabs/style/index.css +196 -190
- package/es/tabs/style/index.scss +27 -17
- package/es/tabs/style/token.scss +534 -0
- package/es/tag/index.d.ts +13 -0
- package/es/tag/interface.d.ts +1 -0
- package/es/tag/style/index.css +159 -159
- package/es/tag/style/token.scss +513 -0
- package/es/tag/tag.vue.d.ts +13 -3
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +35 -8
- package/es/tag-group/style/index.css +3 -3
- package/es/tag-group/style/token.scss +9 -0
- package/es/textarea/style/index.css +40 -40
- package/es/time-picker/style/index.css +12 -12
- package/es/time-picker/style/token.scss +50 -0
- package/es/timeline/style/index.css +22 -22
- package/es/timeline/style/token.scss +75 -0
- package/es/toolbar/style/index.css +6 -6
- package/es/toolbar/style/token.scss +45 -0
- package/es/tooltip/style/index.css +8 -8
- package/es/tooltip/style/token.scss +46 -0
- package/es/tour/style/index.css +28 -28
- package/es/tour/style/token.scss +65 -0
- package/es/transfer/style/index.css +46 -45
- package/es/transfer/style/index.scss +4 -1
- package/es/transfer/style/token.scss +199 -0
- package/es/tree/style/index.css +43 -36
- package/es/tree/style/index.scss +10 -0
- package/es/tree/style/token.scss +163 -0
- package/es/tree-select/style/index.css +9 -9
- package/es/tree-select/style/token.scss +21 -0
- package/es/trigger/style/index.css +7 -7
- package/es/trigger/style/token.scss +19 -0
- package/es/typography/style/index.css +40 -40
- package/es/typography/style/token.scss +220 -0
- package/es/upload/index.d.ts +3 -0
- package/es/upload/style/index.css +95 -95
- package/es/upload/style/token.scss +470 -0
- package/es/upload/upload.vue.d.ts +2 -0
- package/es/upload/upload.vue_vue_type_script_setup_true_lang.js +109 -16
- package/json/vetur-attributes.json +7 -0
- package/json/vetur-tags.json +4 -1
- package/json/web-types.json +18 -2
- package/package.json +7 -2
- package/es/style/color/palette-dark.d.ts +0 -4
- package/es/style/color/palette-dark.js +0 -10
- package/es/style/color/palette.d.ts +0 -4
- package/es/style/color/palette.js +0 -10
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@style/theme/runtime.scss' as theme-runtime;
|
|
1
2
|
@use '@style/theme/index.scss' as global;
|
|
2
3
|
|
|
3
4
|
@forward '@style/theme/index.scss';
|
|
@@ -89,3 +90,201 @@ $transfer-pagination-gap-separator: global.$spacing-4;
|
|
|
89
90
|
$transfer-operation-padding-horizontal: global.$spacing-8;
|
|
90
91
|
|
|
91
92
|
$transfer-operation-gap-buttons: global.$spacing-6;
|
|
93
|
+
|
|
94
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
95
|
+
$transfer-width: theme-runtime.token('transfer', 'transfer-width', $transfer-width);
|
|
96
|
+
$transfer-height: theme-runtime.token('transfer', 'transfer-height', $transfer-height);
|
|
97
|
+
$transfer-height-title: theme-runtime.token(
|
|
98
|
+
'transfer',
|
|
99
|
+
'transfer-height-title',
|
|
100
|
+
$transfer-height-title,
|
|
101
|
+
'size-10'
|
|
102
|
+
);
|
|
103
|
+
$transfer-height-footer: theme-runtime.token(
|
|
104
|
+
'transfer',
|
|
105
|
+
'transfer-height-footer',
|
|
106
|
+
$transfer-height-footer,
|
|
107
|
+
'size-10'
|
|
108
|
+
);
|
|
109
|
+
$transfer-padding-horizontal-footer: theme-runtime.token(
|
|
110
|
+
'transfer',
|
|
111
|
+
'transfer-padding-horizontal-footer',
|
|
112
|
+
$transfer-padding-horizontal-footer,
|
|
113
|
+
'spacing-4'
|
|
114
|
+
);
|
|
115
|
+
$transfer-border-color: theme-runtime.token(
|
|
116
|
+
'transfer',
|
|
117
|
+
'transfer-border-color',
|
|
118
|
+
$transfer-border-color
|
|
119
|
+
);
|
|
120
|
+
$transfer-border-width: theme-runtime.token(
|
|
121
|
+
'transfer',
|
|
122
|
+
'transfer-border-width',
|
|
123
|
+
$transfer-border-width,
|
|
124
|
+
'border-1'
|
|
125
|
+
);
|
|
126
|
+
$transfer-border-radius: theme-runtime.token(
|
|
127
|
+
'transfer',
|
|
128
|
+
'transfer-border-radius',
|
|
129
|
+
$transfer-border-radius
|
|
130
|
+
);
|
|
131
|
+
$transfer-font-size-header: theme-runtime.token(
|
|
132
|
+
'transfer',
|
|
133
|
+
'transfer-font-size-header',
|
|
134
|
+
$transfer-font-size-header,
|
|
135
|
+
'font-size-body-3'
|
|
136
|
+
);
|
|
137
|
+
$transfer-font-size-header-unit: theme-runtime.token(
|
|
138
|
+
'transfer',
|
|
139
|
+
'transfer-font-size-header-unit',
|
|
140
|
+
$transfer-font-size-header-unit,
|
|
141
|
+
'font-size-body-1'
|
|
142
|
+
);
|
|
143
|
+
$transfer-font-size-icon: theme-runtime.token(
|
|
144
|
+
'transfer',
|
|
145
|
+
'transfer-font-size-icon',
|
|
146
|
+
$transfer-font-size-icon,
|
|
147
|
+
'font-size-body-1'
|
|
148
|
+
);
|
|
149
|
+
$transfer-font-weight-header: theme-runtime.token(
|
|
150
|
+
'transfer',
|
|
151
|
+
'transfer-font-weight-header',
|
|
152
|
+
$transfer-font-weight-header,
|
|
153
|
+
'font-weight-500'
|
|
154
|
+
);
|
|
155
|
+
$transfer-color-text-header: theme-runtime.token(
|
|
156
|
+
'transfer',
|
|
157
|
+
'transfer-color-text-header',
|
|
158
|
+
$transfer-color-text-header
|
|
159
|
+
);
|
|
160
|
+
$transfer-color-text-header-unit: theme-runtime.token(
|
|
161
|
+
'transfer',
|
|
162
|
+
'transfer-color-text-header-unit',
|
|
163
|
+
$transfer-color-text-header-unit
|
|
164
|
+
);
|
|
165
|
+
$transfer-color-icon: theme-runtime.token('transfer', 'transfer-color-icon', $transfer-color-icon);
|
|
166
|
+
$transfer-color-bg-icon: theme-runtime.token(
|
|
167
|
+
'transfer',
|
|
168
|
+
'transfer-color-bg-icon',
|
|
169
|
+
$transfer-color-bg-icon
|
|
170
|
+
);
|
|
171
|
+
$transfer-color-bg-header: theme-runtime.token(
|
|
172
|
+
'transfer',
|
|
173
|
+
'transfer-color-bg-header',
|
|
174
|
+
$transfer-color-bg-header
|
|
175
|
+
);
|
|
176
|
+
$transfer-search-padding-left: theme-runtime.token(
|
|
177
|
+
'transfer',
|
|
178
|
+
'transfer-search-padding-left',
|
|
179
|
+
$transfer-search-padding-left
|
|
180
|
+
);
|
|
181
|
+
$transfer-search-padding-right: theme-runtime.token(
|
|
182
|
+
'transfer',
|
|
183
|
+
'transfer-search-padding-right',
|
|
184
|
+
$transfer-search-padding-right
|
|
185
|
+
);
|
|
186
|
+
$transfer-search-padding-top: theme-runtime.token(
|
|
187
|
+
'transfer',
|
|
188
|
+
'transfer-search-padding-top',
|
|
189
|
+
$transfer-search-padding-top
|
|
190
|
+
);
|
|
191
|
+
$transfer-search-padding-bottom: theme-runtime.token(
|
|
192
|
+
'transfer',
|
|
193
|
+
'transfer-search-padding-bottom',
|
|
194
|
+
$transfer-search-padding-bottom
|
|
195
|
+
);
|
|
196
|
+
$transfer-item-color-bg_default: theme-runtime.token(
|
|
197
|
+
'transfer',
|
|
198
|
+
'transfer-item-color-bg-default',
|
|
199
|
+
$transfer-item-color-bg_default,
|
|
200
|
+
'color-transparent'
|
|
201
|
+
);
|
|
202
|
+
$transfer-item-color-bg_hover: theme-runtime.token(
|
|
203
|
+
'transfer',
|
|
204
|
+
'transfer-item-color-bg-hover',
|
|
205
|
+
$transfer-item-color-bg_hover
|
|
206
|
+
);
|
|
207
|
+
$transfer-item-color-bg_disabled: theme-runtime.token(
|
|
208
|
+
'transfer',
|
|
209
|
+
'transfer-item-color-bg-disabled',
|
|
210
|
+
$transfer-item-color-bg_disabled,
|
|
211
|
+
'color-transparent'
|
|
212
|
+
);
|
|
213
|
+
$transfer-item-color_default: theme-runtime.token(
|
|
214
|
+
'transfer',
|
|
215
|
+
'transfer-item-color-default',
|
|
216
|
+
$transfer-item-color_default
|
|
217
|
+
);
|
|
218
|
+
$transfer-item-color_hover: theme-runtime.token(
|
|
219
|
+
'transfer',
|
|
220
|
+
'transfer-item-color-hover',
|
|
221
|
+
$transfer-item-color_hover
|
|
222
|
+
);
|
|
223
|
+
$transfer-item-color_disabled: theme-runtime.token(
|
|
224
|
+
'transfer',
|
|
225
|
+
'transfer-item-color-disabled',
|
|
226
|
+
$transfer-item-color_disabled
|
|
227
|
+
);
|
|
228
|
+
$transfer-item-height: theme-runtime.token(
|
|
229
|
+
'transfer',
|
|
230
|
+
'transfer-item-height',
|
|
231
|
+
$transfer-item-height,
|
|
232
|
+
'size-9'
|
|
233
|
+
);
|
|
234
|
+
$transfer-item-padding-horizontal: theme-runtime.token(
|
|
235
|
+
'transfer',
|
|
236
|
+
'transfer-item-padding-horizontal',
|
|
237
|
+
$transfer-item-padding-horizontal,
|
|
238
|
+
'spacing-5'
|
|
239
|
+
);
|
|
240
|
+
$transfer-item-font-size: theme-runtime.token(
|
|
241
|
+
'transfer',
|
|
242
|
+
'transfer-item-font-size',
|
|
243
|
+
$transfer-item-font-size,
|
|
244
|
+
'font-size-body-3'
|
|
245
|
+
);
|
|
246
|
+
$transfer-item-draggable-color-bg-gap: theme-runtime.token(
|
|
247
|
+
'transfer',
|
|
248
|
+
'transfer-item-draggable-color-bg-gap',
|
|
249
|
+
$transfer-item-draggable-color-bg-gap,
|
|
250
|
+
'color-primary-6'
|
|
251
|
+
);
|
|
252
|
+
$transfer-item-draggable-color-bg_dragging: theme-runtime.token(
|
|
253
|
+
'transfer',
|
|
254
|
+
'transfer-item-draggable-color-bg-dragging',
|
|
255
|
+
$transfer-item-draggable-color-bg_dragging
|
|
256
|
+
);
|
|
257
|
+
$transfer-item-draggable-color_dragging: theme-runtime.token(
|
|
258
|
+
'transfer',
|
|
259
|
+
'transfer-item-draggable-color-dragging',
|
|
260
|
+
$transfer-item-draggable-color_dragging
|
|
261
|
+
);
|
|
262
|
+
$transfer-item-draggable-color_blink: theme-runtime.token(
|
|
263
|
+
'transfer',
|
|
264
|
+
'transfer-item-draggable-color-blink',
|
|
265
|
+
$transfer-item-draggable-color_blink
|
|
266
|
+
);
|
|
267
|
+
$transfer-pagination-width-input: theme-runtime.token(
|
|
268
|
+
'transfer',
|
|
269
|
+
'transfer-pagination-width-input',
|
|
270
|
+
$transfer-pagination-width-input,
|
|
271
|
+
'size-6'
|
|
272
|
+
);
|
|
273
|
+
$transfer-pagination-gap-separator: theme-runtime.token(
|
|
274
|
+
'transfer',
|
|
275
|
+
'transfer-pagination-gap-separator',
|
|
276
|
+
$transfer-pagination-gap-separator,
|
|
277
|
+
'spacing-4'
|
|
278
|
+
);
|
|
279
|
+
$transfer-operation-padding-horizontal: theme-runtime.token(
|
|
280
|
+
'transfer',
|
|
281
|
+
'transfer-operation-padding-horizontal',
|
|
282
|
+
$transfer-operation-padding-horizontal,
|
|
283
|
+
'spacing-8'
|
|
284
|
+
);
|
|
285
|
+
$transfer-operation-gap-buttons: theme-runtime.token(
|
|
286
|
+
'transfer',
|
|
287
|
+
'transfer-operation-gap-buttons',
|
|
288
|
+
$transfer-operation-gap-buttons,
|
|
289
|
+
'spacing-6'
|
|
290
|
+
);
|
package/es/tree/style/index.css
CHANGED
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
align-items: center;
|
|
29
29
|
width: 12px;
|
|
30
30
|
height: 32px;
|
|
31
|
-
margin-right: 10px;
|
|
32
|
-
color: var(--sd-color-text-2);
|
|
31
|
+
margin-right: var(--component-tree-tree-margin-switcher-icon-right, var(--component-tree-margin-switcher-icon-right, var(--spacing-5, 10px)));
|
|
32
|
+
color: var(--component-tree-tree-color-switcher-icon, var(--component-tree-color-switcher-icon, var(--sd-color-text-2)));
|
|
33
33
|
font-size: 12px;
|
|
34
34
|
cursor: pointer;
|
|
35
35
|
user-select: none;
|
|
@@ -47,27 +47,27 @@
|
|
|
47
47
|
transform: rotate(0);
|
|
48
48
|
}
|
|
49
49
|
.sd-tree-node-drag-icon {
|
|
50
|
-
margin-left: 120px;
|
|
51
|
-
color: rgb(var(--sd-primary-6));
|
|
50
|
+
margin-left: var(--component-tree-tree-spacing-drag-icon-text, var(--component-tree-spacing-drag-icon-text, var(--spacing-22, 120px)));
|
|
51
|
+
color: var(--component-tree-tree-color-drag-icon, var(--component-tree-color-drag-icon, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
52
52
|
opacity: 0;
|
|
53
53
|
}
|
|
54
54
|
.sd-tree-node-custom-icon {
|
|
55
|
-
margin-right: 10px;
|
|
55
|
+
margin-right: var(--component-tree-tree-margin-custom-icon-right, var(--component-tree-margin-custom-icon-right, var(--spacing-5, 10px)));
|
|
56
56
|
font-size: inherit;
|
|
57
57
|
line-height: 1;
|
|
58
58
|
cursor: pointer;
|
|
59
59
|
user-select: none;
|
|
60
60
|
}
|
|
61
61
|
.sd-tree-node .sd-icon-loading {
|
|
62
|
-
color: rgb(var(--sd-primary-6));
|
|
62
|
+
color: var(--component-tree-tree-color-loading-icon, var(--component-tree-color-loading-icon, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
63
63
|
}
|
|
64
64
|
.sd-tree-node-minus-icon, .sd-tree-node-plus-icon {
|
|
65
65
|
position: relative;
|
|
66
66
|
display: block;
|
|
67
67
|
width: 14px;
|
|
68
68
|
height: 14px;
|
|
69
|
-
background: var(--sd-color-fill-2);
|
|
70
|
-
border-radius: var(--sd-border-radius-small);
|
|
69
|
+
background: var(--component-tree-tree-showline-color-plus-icon-bg, var(--component-tree-showline-color-plus-icon-bg, var(--sd-color-fill-2)));
|
|
70
|
+
border-radius: var(--component-tree-tree-showline-border-plus-icon-radius, var(--component-tree-showline-border-plus-icon-radius, var(--sd-border-radius-small)));
|
|
71
71
|
cursor: pointer;
|
|
72
72
|
}
|
|
73
73
|
.sd-tree-node-minus-icon::after, .sd-tree-node-plus-icon::after {
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
height: 2px;
|
|
80
80
|
margin-top: -1px;
|
|
81
81
|
margin-left: -3px;
|
|
82
|
-
color: var(--sd-color-text-2);
|
|
83
|
-
background-color: var(--sd-color-text-2);
|
|
82
|
+
color: var(--component-tree-tree-color-switcher-icon, var(--component-tree-color-switcher-icon, var(--sd-color-text-2)));
|
|
83
|
+
background-color: var(--component-tree-tree-color-switcher-icon, var(--component-tree-color-switcher-icon, var(--sd-color-text-2)));
|
|
84
84
|
border-radius: 0.5px;
|
|
85
85
|
content: "";
|
|
86
86
|
}
|
|
@@ -93,18 +93,18 @@
|
|
|
93
93
|
height: 6px;
|
|
94
94
|
margin-top: -3px;
|
|
95
95
|
margin-left: -1px;
|
|
96
|
-
color: var(--sd-color-text-2);
|
|
97
|
-
background-color: var(--sd-color-text-2);
|
|
96
|
+
color: var(--component-tree-tree-color-switcher-icon, var(--component-tree-color-switcher-icon, var(--sd-color-text-2)));
|
|
97
|
+
background-color: var(--component-tree-tree-color-switcher-icon, var(--component-tree-color-switcher-icon, var(--sd-color-text-2)));
|
|
98
98
|
border-radius: 0.5px;
|
|
99
99
|
content: "";
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/******* tree ***********/
|
|
103
103
|
.sd-tree {
|
|
104
|
-
color: var(--sd-color-text-1);
|
|
104
|
+
color: var(--component-tree-tree-color-title-text, var(--component-tree-color-title-text, var(--sd-color-text-1)));
|
|
105
105
|
}
|
|
106
106
|
.sd-tree .sd-checkbox {
|
|
107
|
-
margin-right: 10px;
|
|
107
|
+
margin-right: var(--component-tree-tree-margin-checkbox-right, var(--component-tree-margin-checkbox-right, var(--spacing-5, 10px)));
|
|
108
108
|
padding-left: 0;
|
|
109
109
|
line-height: 32px;
|
|
110
110
|
}
|
|
@@ -114,23 +114,30 @@
|
|
|
114
114
|
flex-wrap: nowrap;
|
|
115
115
|
align-items: center;
|
|
116
116
|
padding-left: 2px;
|
|
117
|
-
color: var(--sd-color-text-1);
|
|
117
|
+
color: var(--component-tree-tree-color-title-text, var(--component-tree-color-title-text, var(--sd-color-text-1)));
|
|
118
118
|
line-height: 1.5715;
|
|
119
119
|
cursor: pointer;
|
|
120
120
|
}
|
|
121
121
|
.sd-tree-node-selected .sd-tree-node-title, .sd-tree-node-selected .sd-tree-node-title:hover {
|
|
122
|
-
color: rgb(var(--sd-primary-6));
|
|
122
|
+
color: var(--component-tree-tree-color-title-text-active, var(--component-tree-color-title-text-active, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
123
123
|
transition: color 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
124
124
|
}
|
|
125
|
+
.sd-tree-node:not(.sd-tree-node-disabled):focus-visible {
|
|
126
|
+
outline: none;
|
|
127
|
+
}
|
|
128
|
+
.sd-tree-node:not(.sd-tree-node-disabled):focus-visible .sd-tree-node-title {
|
|
129
|
+
color: var(--component-tree-tree-color-title-text-hover, var(--component-tree-color-title-text-hover, var(--sd-color-text-1)));
|
|
130
|
+
background-color: var(--component-tree-tree-color-title-bg-hover, var(--component-tree-color-title-bg-hover, var(--sd-color-fill-2)));
|
|
131
|
+
}
|
|
125
132
|
.sd-tree-node-disabled-selectable .sd-tree-node-title,
|
|
126
133
|
.sd-tree-node-disabled-selectable .sd-tree-node-title:hover, .sd-tree-node-disabled .sd-tree-node-title,
|
|
127
134
|
.sd-tree-node-disabled .sd-tree-node-title:hover {
|
|
128
|
-
color: var(--sd-color-text-4);
|
|
135
|
+
color: var(--component-tree-tree-color-title-text-disabled, var(--component-tree-color-title-text-disabled, var(--sd-color-text-4)));
|
|
129
136
|
background: none;
|
|
130
137
|
cursor: not-allowed;
|
|
131
138
|
}
|
|
132
139
|
.sd-tree-node-disabled.sd-tree-node-selected .sd-tree-node-title {
|
|
133
|
-
color: var(--sd-color-primary-light-3);
|
|
140
|
+
color: var(--component-tree-tree-color-title-text-active-disabled, var(--component-tree-color-title-text-active-disabled, var(--sd-color-primary-light-3)));
|
|
134
141
|
}
|
|
135
142
|
.sd-tree-node-title-block {
|
|
136
143
|
flex: 1;
|
|
@@ -138,7 +145,7 @@
|
|
|
138
145
|
}
|
|
139
146
|
.sd-tree-node-title-block .sd-tree-node-drag-icon {
|
|
140
147
|
position: absolute;
|
|
141
|
-
right: 12px;
|
|
148
|
+
right: var(--component-tree-tree-spacing-drag-icon-right, var(--component-tree-spacing-drag-icon-right, var(--spacing-6, 12px)));
|
|
142
149
|
}
|
|
143
150
|
.sd-tree-node-title-block .sd-tree-node-title-text {
|
|
144
151
|
display: block;
|
|
@@ -172,7 +179,7 @@
|
|
|
172
179
|
display: inline-block;
|
|
173
180
|
width: 12px;
|
|
174
181
|
height: 100%;
|
|
175
|
-
margin-right: 10px;
|
|
182
|
+
margin-right: var(--component-tree-tree-margin-switcher-icon-right, var(--component-tree-margin-switcher-icon-right, var(--spacing-5, 10px)));
|
|
176
183
|
vertical-align: top;
|
|
177
184
|
}
|
|
178
185
|
.sd-tree-node-draggable {
|
|
@@ -182,16 +189,16 @@
|
|
|
182
189
|
position: relative;
|
|
183
190
|
display: flex;
|
|
184
191
|
align-items: center;
|
|
185
|
-
margin-left: -4px;
|
|
192
|
+
margin-left: -var(--component-tree-tree-padding-title-horizontal, var(--component-tree-padding-title-horizontal, var(--spacing-2, 4px)));
|
|
186
193
|
padding: 5px 0;
|
|
187
|
-
padding-right: 4px;
|
|
188
|
-
padding-left: 4px;
|
|
194
|
+
padding-right: var(--component-tree-tree-padding-title-horizontal, var(--component-tree-padding-title-horizontal, var(--spacing-2, 4px)));
|
|
195
|
+
padding-left: var(--component-tree-tree-padding-title-horizontal, var(--component-tree-padding-title-horizontal, var(--spacing-2, 4px)));
|
|
189
196
|
font-size: 14px;
|
|
190
|
-
border-radius: var(--sd-border-radius-small);
|
|
197
|
+
border-radius: var(--component-tree-tree-node-border-radius, var(--component-tree-node-border-radius, var(--sd-border-radius-small)));
|
|
191
198
|
}
|
|
192
199
|
.sd-tree-node-title:hover {
|
|
193
|
-
color: var(--sd-color-text-1);
|
|
194
|
-
background-color: var(--sd-color-fill-2);
|
|
200
|
+
color: var(--component-tree-tree-color-title-text-hover, var(--component-tree-color-title-text-hover, var(--sd-color-text-1)));
|
|
201
|
+
background-color: var(--component-tree-tree-color-title-bg-hover, var(--component-tree-color-title-bg-hover, var(--sd-color-fill-2)));
|
|
195
202
|
}
|
|
196
203
|
.sd-tree-node-title:hover .sd-tree-node-drag-icon {
|
|
197
204
|
opacity: 1;
|
|
@@ -209,18 +216,18 @@
|
|
|
209
216
|
.sd-tree-node-title-gap-bottom::before {
|
|
210
217
|
top: unset;
|
|
211
218
|
bottom: -2px;
|
|
212
|
-
background-color: rgb(var(--sd-primary-6));
|
|
219
|
+
background-color: var(--component-tree-tree-draggable-color-gap-bg, var(--component-tree-draggable-color-gap-bg, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
213
220
|
}
|
|
214
221
|
.sd-tree-node-title-gap-top::before {
|
|
215
|
-
background-color: rgb(var(--sd-primary-6));
|
|
222
|
+
background-color: var(--component-tree-tree-draggable-color-gap-bg, var(--component-tree-draggable-color-gap-bg, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
216
223
|
}
|
|
217
224
|
.sd-tree-node-title-highlight {
|
|
218
|
-
color: var(--sd-color-text-1);
|
|
219
|
-
background-color: var(--sd-color-primary-light-1);
|
|
225
|
+
color: var(--component-tree-tree-color-title-text-highlight, var(--component-tree-color-title-text-highlight, var(--sd-color-text-1)));
|
|
226
|
+
background-color: var(--component-tree-tree-color-title-bg-highlight, var(--component-tree-color-title-bg-highlight, var(--sd-color-primary-light-1)));
|
|
220
227
|
}
|
|
221
228
|
.sd-tree-node-title-dragging, .sd-tree-node-title-dragging:hover {
|
|
222
|
-
color: var(--sd-color-text-4);
|
|
223
|
-
background-color: var(--sd-color-fill-1);
|
|
229
|
+
color: var(--component-tree-tree-color-title-text-dragging, var(--component-tree-color-title-text-dragging, var(--sd-color-text-4)));
|
|
230
|
+
background-color: var(--component-tree-tree-color-title-bg-dragging, var(--component-tree-color-title-bg-dragging, var(--sd-color-fill-1)));
|
|
224
231
|
}
|
|
225
232
|
.sd-tree-show-line {
|
|
226
233
|
padding-left: 1px;
|
|
@@ -239,8 +246,8 @@
|
|
|
239
246
|
position: absolute;
|
|
240
247
|
left: 50%;
|
|
241
248
|
box-sizing: border-box;
|
|
242
|
-
width: 1px;
|
|
243
|
-
border-left: 1px solid var(--sd-color-neutral-3);
|
|
249
|
+
width: var(--component-tree-tree-showline-size-line-width, var(--component-tree-showline-size-line-width, var(--border-1, 1px)));
|
|
250
|
+
border-left: var(--component-tree-tree-showline-size-line-width, var(--component-tree-showline-size-line-width, var(--border-1, 1px))) var(--component-tree-tree-showline-style-line, var(--component-tree-showline-style-line, var(--border-solid, solid))) var(--component-tree-tree-showline-color-line-bg, var(--component-tree-showline-color-line-bg, var(--sd-color-neutral-3)));
|
|
244
251
|
transform: translateX(-50%);
|
|
245
252
|
content: "";
|
|
246
253
|
top: -5px;
|
|
@@ -250,8 +257,8 @@
|
|
|
250
257
|
position: absolute;
|
|
251
258
|
right: -7px;
|
|
252
259
|
box-sizing: border-box;
|
|
253
|
-
width: 1px;
|
|
254
|
-
border-left: 1px solid var(--sd-color-neutral-3);
|
|
260
|
+
width: var(--component-tree-tree-showline-size-line-width, var(--component-tree-showline-size-line-width, var(--border-1, 1px)));
|
|
261
|
+
border-left: var(--component-tree-tree-showline-size-line-width, var(--component-tree-showline-size-line-width, var(--border-1, 1px))) var(--component-tree-tree-showline-style-line, var(--component-tree-showline-style-line, var(--border-solid, solid))) var(--component-tree-tree-showline-color-line-bg, var(--component-tree-showline-color-line-bg, var(--sd-color-neutral-3)));
|
|
255
262
|
transform: translateX(50%);
|
|
256
263
|
content: "";
|
|
257
264
|
top: 27px;
|
package/es/tree/style/index.scss
CHANGED
|
@@ -160,6 +160,16 @@ $tree-node-prefix-cls: string.unquote('#{theme.$prefix}-tree-node');
|
|
|
160
160
|
transition: color theme.$transition-duration-2 theme.$transition-timing-function-standard;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
// 键盘焦点(roving tabindex + 程序化聚焦后属于 focus-visible)与 hover 保持同一视觉
|
|
164
|
+
&:not(&-disabled):focus-visible {
|
|
165
|
+
outline: none;
|
|
166
|
+
|
|
167
|
+
.#{$tree-node-prefix-cls}-title {
|
|
168
|
+
color: $tree-color-title-text_hover;
|
|
169
|
+
background-color: $tree-color-title-bg_hover;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
163
173
|
&-disabled-selectable,
|
|
164
174
|
&-disabled {
|
|
165
175
|
.#{$tree-node-prefix-cls}-title,
|
package/es/tree/style/token.scss
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@style/theme/runtime.scss' as theme-runtime;
|
|
1
2
|
@use '@style/theme/index.scss' as global;
|
|
2
3
|
|
|
3
4
|
@forward '@style/theme/index.scss';
|
|
@@ -97,3 +98,165 @@ $tree-size-small-line-height: global.$size-small;
|
|
|
97
98
|
$tree-size-default-line-height: global.$size-default;
|
|
98
99
|
|
|
99
100
|
$tree-size-large-line-height: global.$size-large;
|
|
101
|
+
|
|
102
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
103
|
+
$tree-color-title-text: theme-runtime.token(
|
|
104
|
+
'tree',
|
|
105
|
+
'tree-color-title-text',
|
|
106
|
+
$tree-color-title-text
|
|
107
|
+
);
|
|
108
|
+
$tree-color-title-text_hover: theme-runtime.token(
|
|
109
|
+
'tree',
|
|
110
|
+
'tree-color-title-text-hover',
|
|
111
|
+
$tree-color-title-text_hover
|
|
112
|
+
);
|
|
113
|
+
$tree-color-title-text_active: theme-runtime.token(
|
|
114
|
+
'tree',
|
|
115
|
+
'tree-color-title-text-active',
|
|
116
|
+
$tree-color-title-text_active,
|
|
117
|
+
'color-primary-6'
|
|
118
|
+
);
|
|
119
|
+
$tree-color-title-text_disabled: theme-runtime.token(
|
|
120
|
+
'tree',
|
|
121
|
+
'tree-color-title-text-disabled',
|
|
122
|
+
$tree-color-title-text_disabled
|
|
123
|
+
);
|
|
124
|
+
$tree-color-title-text_active_disabled: theme-runtime.token(
|
|
125
|
+
'tree',
|
|
126
|
+
'tree-color-title-text-active-disabled',
|
|
127
|
+
$tree-color-title-text_active_disabled
|
|
128
|
+
);
|
|
129
|
+
$tree-color-title-bg_hover: theme-runtime.token(
|
|
130
|
+
'tree',
|
|
131
|
+
'tree-color-title-bg-hover',
|
|
132
|
+
$tree-color-title-bg_hover
|
|
133
|
+
);
|
|
134
|
+
$tree-color-title-bg_highlight: theme-runtime.token(
|
|
135
|
+
'tree',
|
|
136
|
+
'tree-color-title-bg-highlight',
|
|
137
|
+
$tree-color-title-bg_highlight
|
|
138
|
+
);
|
|
139
|
+
$tree-color-title-text_highlight: theme-runtime.token(
|
|
140
|
+
'tree',
|
|
141
|
+
'tree-color-title-text-highlight',
|
|
142
|
+
$tree-color-title-text_highlight
|
|
143
|
+
);
|
|
144
|
+
$tree-color-title-bg_dragging: theme-runtime.token(
|
|
145
|
+
'tree',
|
|
146
|
+
'tree-color-title-bg-dragging',
|
|
147
|
+
$tree-color-title-bg_dragging
|
|
148
|
+
);
|
|
149
|
+
$tree-color-title-text_dragging: theme-runtime.token(
|
|
150
|
+
'tree',
|
|
151
|
+
'tree-color-title-text-dragging',
|
|
152
|
+
$tree-color-title-text_dragging
|
|
153
|
+
);
|
|
154
|
+
$tree-color-loading-icon: theme-runtime.token(
|
|
155
|
+
'tree',
|
|
156
|
+
'tree-color-loading-icon',
|
|
157
|
+
$tree-color-loading-icon,
|
|
158
|
+
'color-primary-6'
|
|
159
|
+
);
|
|
160
|
+
$tree-color-switcher-icon: theme-runtime.token(
|
|
161
|
+
'tree',
|
|
162
|
+
'tree-color-switcher-icon',
|
|
163
|
+
$tree-color-switcher-icon
|
|
164
|
+
);
|
|
165
|
+
$tree-color-drag-icon: theme-runtime.token(
|
|
166
|
+
'tree',
|
|
167
|
+
'tree-color-drag-icon',
|
|
168
|
+
$tree-color-drag-icon,
|
|
169
|
+
'color-primary-6'
|
|
170
|
+
);
|
|
171
|
+
$tree-node-border-radius: theme-runtime.token(
|
|
172
|
+
'tree',
|
|
173
|
+
'tree-node-border-radius',
|
|
174
|
+
$tree-node-border-radius
|
|
175
|
+
);
|
|
176
|
+
$tree-margin-checkbox-right: theme-runtime.token(
|
|
177
|
+
'tree',
|
|
178
|
+
'tree-margin-checkbox-right',
|
|
179
|
+
$tree-margin-checkbox-right,
|
|
180
|
+
'spacing-5'
|
|
181
|
+
);
|
|
182
|
+
$tree-margin-switcher-icon-right: theme-runtime.token(
|
|
183
|
+
'tree',
|
|
184
|
+
'tree-margin-switcher-icon-right',
|
|
185
|
+
$tree-margin-switcher-icon-right,
|
|
186
|
+
'spacing-5'
|
|
187
|
+
);
|
|
188
|
+
$tree-margin-custom-icon-right: theme-runtime.token(
|
|
189
|
+
'tree',
|
|
190
|
+
'tree-margin-custom-icon-right',
|
|
191
|
+
$tree-margin-custom-icon-right,
|
|
192
|
+
'spacing-5'
|
|
193
|
+
);
|
|
194
|
+
$tree-padding-title-horizontal: theme-runtime.token(
|
|
195
|
+
'tree',
|
|
196
|
+
'tree-padding-title-horizontal',
|
|
197
|
+
$tree-padding-title-horizontal,
|
|
198
|
+
'spacing-2'
|
|
199
|
+
);
|
|
200
|
+
$tree-spacing-drag-icon-right: theme-runtime.token(
|
|
201
|
+
'tree',
|
|
202
|
+
'tree-spacing-drag-icon-right',
|
|
203
|
+
$tree-spacing-drag-icon-right,
|
|
204
|
+
'spacing-6'
|
|
205
|
+
);
|
|
206
|
+
$tree-spacing-drag-icon-text: theme-runtime.token(
|
|
207
|
+
'tree',
|
|
208
|
+
'tree-spacing-drag-icon-text',
|
|
209
|
+
$tree-spacing-drag-icon-text,
|
|
210
|
+
'spacing-22'
|
|
211
|
+
);
|
|
212
|
+
$tree-draggable-color-gap-bg: theme-runtime.token(
|
|
213
|
+
'tree',
|
|
214
|
+
'tree-draggable-color-gap-bg',
|
|
215
|
+
$tree-draggable-color-gap-bg,
|
|
216
|
+
'color-primary-6'
|
|
217
|
+
);
|
|
218
|
+
$tree-showline-color-line-bg: theme-runtime.token(
|
|
219
|
+
'tree',
|
|
220
|
+
'tree-showline-color-line-bg',
|
|
221
|
+
$tree-showline-color-line-bg
|
|
222
|
+
);
|
|
223
|
+
$tree-showline-color-plus-icon-bg: theme-runtime.token(
|
|
224
|
+
'tree',
|
|
225
|
+
'tree-showline-color-plus-icon-bg',
|
|
226
|
+
$tree-showline-color-plus-icon-bg
|
|
227
|
+
);
|
|
228
|
+
$tree-showline-size-line-width: theme-runtime.token(
|
|
229
|
+
'tree',
|
|
230
|
+
'tree-showline-size-line-width',
|
|
231
|
+
$tree-showline-size-line-width,
|
|
232
|
+
'border-1'
|
|
233
|
+
);
|
|
234
|
+
$tree-showline-style-line: theme-runtime.token(
|
|
235
|
+
'tree',
|
|
236
|
+
'tree-showline-style-line',
|
|
237
|
+
$tree-showline-style-line,
|
|
238
|
+
'border-solid'
|
|
239
|
+
);
|
|
240
|
+
$tree-showline-border-plus-icon-radius: theme-runtime.token(
|
|
241
|
+
'tree',
|
|
242
|
+
'tree-showline-border-plus-icon-radius',
|
|
243
|
+
$tree-showline-border-plus-icon-radius
|
|
244
|
+
);
|
|
245
|
+
$tree-size-mini-icon-size: theme-runtime.token(
|
|
246
|
+
'tree',
|
|
247
|
+
'tree-size-mini-icon-size',
|
|
248
|
+
$tree-size-mini-icon-size,
|
|
249
|
+
'size-3'
|
|
250
|
+
);
|
|
251
|
+
$tree-size-small-icon-size: theme-runtime.token(
|
|
252
|
+
'tree',
|
|
253
|
+
'tree-size-small-icon-size',
|
|
254
|
+
$tree-size-small-icon-size,
|
|
255
|
+
'size-3'
|
|
256
|
+
);
|
|
257
|
+
$tree-size-large-icon-size: theme-runtime.token(
|
|
258
|
+
'tree',
|
|
259
|
+
'tree-size-large-icon-size',
|
|
260
|
+
$tree-size-large-icon-size,
|
|
261
|
+
'size-3'
|
|
262
|
+
);
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
**********************************************/
|
|
25
25
|
.sd-tree-select-popup {
|
|
26
26
|
box-sizing: border-box;
|
|
27
|
-
padding: 4px 0;
|
|
27
|
+
padding: var(--component-tree-select-tree-select-padding-popup-vertical, var(--component-tree-select-padding-popup-vertical, var(--spacing-2, 4px))) 0;
|
|
28
28
|
background-color: var(--sd-color-bg-popup);
|
|
29
|
-
border: 1px solid var(--sd-color-fill-3);
|
|
30
|
-
border-radius: var(--sd-border-radius-medium);
|
|
31
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
|
|
29
|
+
border: 1px solid var(--component-select-select-popup-color-border, var(--component-select-popup-color-border, var(--sd-color-fill-3)));
|
|
30
|
+
border-radius: var(--component-select-select-popup-border-radius, var(--component-select-popup-border-radius, var(--sd-border-radius-medium)));
|
|
31
|
+
box-shadow: var(--component-select-select-popup-box-shadow, var(--component-select-popup-box-shadow, 0 2px 6px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08)));
|
|
32
32
|
}
|
|
33
33
|
.sd-tree-select-popup .sd-tree-select-tree-wrapper {
|
|
34
34
|
height: 100%;
|
|
35
|
-
max-height: 200px;
|
|
36
|
-
padding-right: 4px;
|
|
37
|
-
padding-left: 10px;
|
|
35
|
+
max-height: var(--component-select-select-popup-max-height, var(--component-select-popup-max-height, var(--size-50, 200px)));
|
|
36
|
+
padding-right: var(--component-tree-select-tree-select-padding-popup-right, var(--component-tree-select-padding-popup-right, var(--spacing-2, 4px)));
|
|
37
|
+
padding-left: var(--component-tree-select-tree-select-padding-popup-left, var(--component-tree-select-padding-popup-left, var(--spacing-5, 10px)));
|
|
38
38
|
overflow: auto;
|
|
39
39
|
}
|
|
40
40
|
.sd-tree-select-popup .sd-tree-select-tree-wrapper.sd-tree-select-tree-wrapper-virtual {
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
padding-top: 0;
|
|
53
53
|
}
|
|
54
54
|
.sd-tree-select-header {
|
|
55
|
-
border-bottom: 1px solid var(--sd-color-fill-3);
|
|
55
|
+
border-bottom: 1px solid var(--component-select-select-popup-color-border, var(--component-select-popup-color-border, var(--sd-color-fill-3)));
|
|
56
56
|
}
|
|
57
57
|
.sd-tree-select-has-footer {
|
|
58
58
|
padding-bottom: 0;
|
|
59
59
|
}
|
|
60
60
|
.sd-tree-select-footer {
|
|
61
|
-
border-top: 1px solid var(--sd-color-fill-3);
|
|
61
|
+
border-top: 1px solid var(--component-select-select-popup-color-border, var(--component-select-popup-color-border, var(--sd-color-fill-3)));
|
|
62
62
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@style/theme/runtime.scss' as theme-runtime;
|
|
1
2
|
@use '@style/theme/index.scss' as global;
|
|
2
3
|
|
|
3
4
|
@forward '@style/theme/index.scss';
|
|
@@ -14,3 +15,23 @@ $tree-select-padding-popup-left: global.$spacing-5;
|
|
|
14
15
|
$tree-select-padding-popup-right: global.$spacing-2;
|
|
15
16
|
|
|
16
17
|
$tree-select-padding-popup-vertical: global.$spacing-2;
|
|
18
|
+
|
|
19
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
20
|
+
$tree-select-padding-popup-left: theme-runtime.token(
|
|
21
|
+
'tree-select',
|
|
22
|
+
'tree-select-padding-popup-left',
|
|
23
|
+
$tree-select-padding-popup-left,
|
|
24
|
+
'spacing-5'
|
|
25
|
+
);
|
|
26
|
+
$tree-select-padding-popup-right: theme-runtime.token(
|
|
27
|
+
'tree-select',
|
|
28
|
+
'tree-select-padding-popup-right',
|
|
29
|
+
$tree-select-padding-popup-right,
|
|
30
|
+
'spacing-2'
|
|
31
|
+
);
|
|
32
|
+
$tree-select-padding-popup-vertical: theme-runtime.token(
|
|
33
|
+
'tree-select',
|
|
34
|
+
'tree-select-padding-popup-vertical',
|
|
35
|
+
$tree-select-padding-popup-vertical,
|
|
36
|
+
'spacing-2'
|
|
37
|
+
);
|