@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.
Files changed (219) hide show
  1. package/dist/sd.css +4004 -3955
  2. package/dist/sd.min.css +13 -13
  3. package/es/_components/input-label/style/index.css +47 -47
  4. package/es/_components/select-view/style/index.css +256 -256
  5. package/es/alert/style/index.css +48 -48
  6. package/es/alert/style/token.scss +257 -0
  7. package/es/anchor/style/index.css +18 -18
  8. package/es/anchor/style/token.scss +74 -0
  9. package/es/auto-complete/style/index.css +18 -18
  10. package/es/auto-complete/style/token.scss +94 -0
  11. package/es/avatar/style/index.css +31 -31
  12. package/es/avatar/style/token.scss +118 -0
  13. package/es/back-top/style/index.css +11 -11
  14. package/es/back-top/style/token.scss +60 -0
  15. package/es/badge/style/index.css +35 -35
  16. package/es/badge/style/token.scss +148 -0
  17. package/es/basic-crud-table/style/index.css +4 -4
  18. package/es/basic-crud-table/style/token.scss +20 -0
  19. package/es/bloom-menu/style/index.css +33 -34
  20. package/es/bloom-menu/style/index.scss +5 -5
  21. package/es/bloom-menu/style/token.scss +99 -0
  22. package/es/border-beam/style/token.scss +28 -0
  23. package/es/breadcrumb/style/index.css +17 -17
  24. package/es/breadcrumb/style/token.scss +97 -0
  25. package/es/button/style/index.css +379 -379
  26. package/es/button/style/index.scss +3 -3
  27. package/es/button/style/token.scss +1604 -0
  28. package/es/card/style/index.css +36 -36
  29. package/es/card/style/token.scss +162 -0
  30. package/es/carousel/style/index.css +41 -41
  31. package/es/carousel/style/token.scss +101 -0
  32. package/es/cascader/style/index.css +58 -58
  33. package/es/cascader/style/token.scss +89 -0
  34. package/es/checkbox/style/index.css +28 -28
  35. package/es/checkbox/style/token.scss +134 -0
  36. package/es/collapse/style/index.css +24 -24
  37. package/es/collapse/style/token.scss +136 -0
  38. package/es/color-picker/style/index.css +50 -50
  39. package/es/color-picker/style/token.scss +200 -0
  40. package/es/comment/style/index.css +15 -15
  41. package/es/comment/style/token.scss +83 -0
  42. package/es/config-provider/algorithms.d.ts +11 -0
  43. package/es/config-provider/algorithms.js +53 -0
  44. package/es/config-provider/global-theme.js +7 -4
  45. package/es/config-provider/theme-config.d.ts +11 -0
  46. package/es/config-provider/theme-config.js +114 -0
  47. package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +46 -11
  48. package/es/config-provider/theme.d.ts +4 -1
  49. package/es/config-provider/theme.js +6 -5
  50. package/es/config-provider/token-key.d.ts +1 -0
  51. package/es/config-provider/token-key.js +6 -0
  52. package/es/copy/style/index.css +1 -1
  53. package/es/copy/style/token.scss +9 -0
  54. package/es/cropper/style/index.css +7 -7
  55. package/es/cropper/style/token.scss +24 -0
  56. package/es/date-picker/style/index.css +73 -73
  57. package/es/date-picker/style/token.scss +229 -0
  58. package/es/descriptions/style/index.css +45 -45
  59. package/es/descriptions/style/token.scss +191 -0
  60. package/es/divider/style/index.css +11 -11
  61. package/es/divider/style/token.scss +60 -0
  62. package/es/drawer/style/index.css +13 -13
  63. package/es/drawer/style/token.scss +68 -0
  64. package/es/dropdown/style/index.css +24 -23
  65. package/es/dropdown/style/index.scss +4 -2
  66. package/es/dropdown/style/token.scss +123 -0
  67. package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +3 -3
  68. package/es/ellipsis/interface.d.ts +1 -0
  69. package/es/ellipsis/style/index.css +2 -2
  70. package/es/ellipsis/style/token.scss +5 -0
  71. package/es/empty/style/index.css +7 -7
  72. package/es/empty/style/token.scss +35 -0
  73. package/es/file-previewer/style/index.css +44 -44
  74. package/es/file-previewer/style/token.scss +198 -0
  75. package/es/form/style/index.css +113 -113
  76. package/es/form/style/token.scss +340 -0
  77. package/es/image/style/index.css +83 -83
  78. package/es/image/style/token.scss +451 -0
  79. package/es/index.css +4004 -3955
  80. package/es/index.d.ts +3 -0
  81. package/es/index.js +4 -1
  82. package/es/input/style/index.css +104 -104
  83. package/es/input/style/input.scss +2 -8
  84. package/es/input/style/size.scss +4 -4
  85. package/es/input/style/token.scss +327 -0
  86. package/es/input-mask/style/index.css +1 -1
  87. package/es/input-mask/style/token.scss +8 -0
  88. package/es/input-number/style/index.css +19 -19
  89. package/es/input-number/style/token.scss +82 -0
  90. package/es/input-tag/style/index.css +209 -209
  91. package/es/input-tag/style/token.scss +226 -0
  92. package/es/json-form/style/index.css +2 -2
  93. package/es/json-form/style/token.scss +21 -0
  94. package/es/kv-list/style/index.css +13 -13
  95. package/es/kv-list/style/token.scss +29 -0
  96. package/es/layout/style/index.css +38 -38
  97. package/es/layout/style/token.scss +100 -0
  98. package/es/link/style/index.css +28 -28
  99. package/es/link/style/token.scss +117 -0
  100. package/es/list/style/index.css +27 -27
  101. package/es/list/style/token.scss +178 -0
  102. package/es/mention/style/token.scss +22 -0
  103. package/es/menu/style/index.css +153 -120
  104. package/es/menu/style/index.scss +12 -4
  105. package/es/menu/style/token.scss +390 -0
  106. package/es/message/style/index.css +33 -33
  107. package/es/message/style/token.scss +218 -0
  108. package/es/modal/style/index.css +21 -21
  109. package/es/modal/style/token.scss +115 -0
  110. package/es/model-selector/style/index.css +1 -1
  111. package/es/notification/style/index.css +44 -44
  112. package/es/notification/style/token.scss +241 -0
  113. package/es/number-flow/style/index.css +5 -5
  114. package/es/number-flow/style/token.scss +19 -0
  115. package/es/page-header/style/index.css +25 -25
  116. package/es/page-header/style/token.scss +139 -0
  117. package/es/pagination/style/index.css +85 -85
  118. package/es/pagination/style/token.scss +303 -0
  119. package/es/panel-group/style/index.css +7 -7
  120. package/es/panel-group/style/token.scss +28 -0
  121. package/es/popconfirm/style/index.css +18 -18
  122. package/es/popconfirm/style/token.scss +83 -0
  123. package/es/popover/style/index.css +12 -12
  124. package/es/popover/style/token.scss +58 -0
  125. package/es/progress/style/index.css +55 -55
  126. package/es/progress/style/token.scss +253 -0
  127. package/es/qr-code/style/index.css +18 -21
  128. package/es/qr-code/style/index.scss +4 -6
  129. package/es/qr-code/style/token.scss +59 -0
  130. package/es/radio/style/index.css +45 -44
  131. package/es/radio/style/index.scss +1 -0
  132. package/es/radio/style/token.scss +185 -0
  133. package/es/rate/style/index.css +8 -8
  134. package/es/rate/style/token.scss +19 -0
  135. package/es/regex-vis/style/index.css +51 -51
  136. package/es/regex-vis/style/token.scss +170 -0
  137. package/es/result/style/index.css +26 -26
  138. package/es/result/style/token.scss +139 -0
  139. package/es/rich-text-editor/style/index.css +31 -31
  140. package/es/rich-text-editor/style/token.scss +120 -0
  141. package/es/scrollbar/style/index.css +14 -14
  142. package/es/scrollbar/style/token.scss +33 -0
  143. package/es/secret/style/index.css +6 -6
  144. package/es/secret/style/token.scss +30 -0
  145. package/es/select/style/index.css +27 -27
  146. package/es/select/style/token.scss +151 -0
  147. package/es/selectable-card/style/index.css +53 -51
  148. package/es/selectable-card/style/index.scss +6 -2
  149. package/es/selectable-card/style/token.scss +60 -0
  150. package/es/sender/style/index.css +54 -54
  151. package/es/sender/style/token.scss +155 -0
  152. package/es/skeleton/style/index.css +12 -12
  153. package/es/skeleton/style/token.scss +60 -0
  154. package/es/slider/style/index.css +34 -34
  155. package/es/slider/style/token.scss +144 -0
  156. package/es/spin/style/index.css +11 -11
  157. package/es/spin/style/token.scss +60 -0
  158. package/es/split/style/index.css +2 -2
  159. package/es/split/style/token.scss +18 -0
  160. package/es/statistic/style/index.css +13 -13
  161. package/es/statistic/style/token.scss +73 -0
  162. package/es/steps/style/index.css +98 -98
  163. package/es/steps/style/token.scss +464 -0
  164. package/es/style/color/css-variables.scss +382 -381
  165. package/es/style/theme/css-variables.scss +329 -135
  166. package/es/style/theme/global.scss +5 -5
  167. package/es/style/theme/index.scss +1 -1
  168. package/es/style/theme/runtime.scss +29 -0
  169. package/es/switch/style/index.css +37 -37
  170. package/es/switch/style/token.scss +135 -0
  171. package/es/table/style/index.css +127 -127
  172. package/es/table/style/token.scss +425 -0
  173. package/es/tabs/style/index.css +196 -190
  174. package/es/tabs/style/index.scss +27 -17
  175. package/es/tabs/style/token.scss +534 -0
  176. package/es/tag/index.d.ts +13 -0
  177. package/es/tag/interface.d.ts +1 -0
  178. package/es/tag/style/index.css +159 -159
  179. package/es/tag/style/token.scss +513 -0
  180. package/es/tag/tag.vue.d.ts +13 -3
  181. package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +35 -8
  182. package/es/tag-group/style/index.css +3 -3
  183. package/es/tag-group/style/token.scss +9 -0
  184. package/es/textarea/style/index.css +40 -40
  185. package/es/time-picker/style/index.css +12 -12
  186. package/es/time-picker/style/token.scss +50 -0
  187. package/es/timeline/style/index.css +22 -22
  188. package/es/timeline/style/token.scss +75 -0
  189. package/es/toolbar/style/index.css +6 -6
  190. package/es/toolbar/style/token.scss +45 -0
  191. package/es/tooltip/style/index.css +8 -8
  192. package/es/tooltip/style/token.scss +46 -0
  193. package/es/tour/style/index.css +28 -28
  194. package/es/tour/style/token.scss +65 -0
  195. package/es/transfer/style/index.css +46 -45
  196. package/es/transfer/style/index.scss +4 -1
  197. package/es/transfer/style/token.scss +199 -0
  198. package/es/tree/style/index.css +43 -36
  199. package/es/tree/style/index.scss +10 -0
  200. package/es/tree/style/token.scss +163 -0
  201. package/es/tree-select/style/index.css +9 -9
  202. package/es/tree-select/style/token.scss +21 -0
  203. package/es/trigger/style/index.css +7 -7
  204. package/es/trigger/style/token.scss +19 -0
  205. package/es/typography/style/index.css +40 -40
  206. package/es/typography/style/token.scss +220 -0
  207. package/es/upload/index.d.ts +3 -0
  208. package/es/upload/style/index.css +95 -95
  209. package/es/upload/style/token.scss +470 -0
  210. package/es/upload/upload.vue.d.ts +2 -0
  211. package/es/upload/upload.vue_vue_type_script_setup_true_lang.js +109 -16
  212. package/json/vetur-attributes.json +7 -0
  213. package/json/vetur-tags.json +4 -1
  214. package/json/web-types.json +18 -2
  215. package/package.json +7 -2
  216. package/es/style/color/palette-dark.d.ts +0 -4
  217. package/es/style/color/palette-dark.js +0 -10
  218. package/es/style/color/palette.d.ts +0 -4
  219. 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';
@@ -137,3 +138,329 @@ $input-feedback-icon-color_success: global.$color-success-6;
137
138
  $input-feedback-icon-color_error: global.$color-danger-6;
138
139
  $input-feedback-icon-color_warning: global.$color-warning-6;
139
140
  $input-feedback-icon-color_validating: global.$color-primary-6;
141
+
142
+ // @generated runtime tokens — pnpm theme:generate
143
+ $input-color-bg: theme-runtime.token('input', 'input-color-bg', $input-color-bg);
144
+ $input-color-bg_hover: theme-runtime.token('input', 'input-color-bg-hover', $input-color-bg_hover);
145
+ $input-color-bg_focus: theme-runtime.token('input', 'input-color-bg-focus', $input-color-bg_focus);
146
+ $input-color-bg_disabled: theme-runtime.token(
147
+ 'input',
148
+ 'input-color-bg-disabled',
149
+ $input-color-bg_disabled
150
+ );
151
+ $input-color-addon-bg: theme-runtime.token('input', 'input-color-addon-bg', $input-color-bg);
152
+ $input-color-addon-border: theme-runtime.token(
153
+ 'input',
154
+ 'input-color-addon-border',
155
+ $input-color-addon-border
156
+ );
157
+ $input-border-addon-separator-width: theme-runtime.token(
158
+ 'input',
159
+ 'input-border-addon-separator-width',
160
+ $input-border-addon-separator-width,
161
+ 'border-1'
162
+ );
163
+ $input-color-border_focus: theme-runtime.token(
164
+ 'input',
165
+ 'input-color-border-focus',
166
+ $input-color-border_focus,
167
+ 'color-primary-6'
168
+ );
169
+ $input-color-shadow_focus: theme-runtime.token(
170
+ 'input',
171
+ 'input-color-shadow-focus',
172
+ $input-color-shadow_focus
173
+ );
174
+ $input-size-shadow_focus: theme-runtime.token(
175
+ 'input',
176
+ 'input-size-shadow-focus',
177
+ $input-size-shadow_focus,
178
+ 'shadow-distance-none'
179
+ );
180
+ $input-color-addon-border_default: theme-runtime.token(
181
+ 'input',
182
+ 'input-color-addon-border-default',
183
+ $input-color-addon-border_default,
184
+ 'color-transparent'
185
+ );
186
+ $input-color-text: theme-runtime.token('input', 'input-color-text', $input-color-text);
187
+ $input-color-placeholder-text: theme-runtime.token(
188
+ 'input',
189
+ 'input-color-placeholder-text',
190
+ $input-color-placeholder-text
191
+ );
192
+ $input-color-text_disabled: theme-runtime.token(
193
+ 'input',
194
+ 'input-color-text-disabled',
195
+ $input-color-text_disabled
196
+ );
197
+ $textarea-color-tip-text: theme-runtime.token(
198
+ 'input',
199
+ 'textarea-color-tip-text',
200
+ $textarea-color-tip-text
201
+ );
202
+ $input-color-bg_error: theme-runtime.token('input', 'input-color-bg-error', $input-color-bg_error);
203
+ $input-color-bg_error_hover: theme-runtime.token(
204
+ 'input',
205
+ 'input-color-bg-error-hover',
206
+ $input-color-bg_error_hover
207
+ );
208
+ $input-color-bg_error_focus: theme-runtime.token(
209
+ 'input',
210
+ 'input-color-bg-error-focus',
211
+ $input-color-bg_focus
212
+ );
213
+ $input-color-border_error_focus: theme-runtime.token(
214
+ 'input',
215
+ 'input-color-border-error-focus',
216
+ $input-color-border_error_focus,
217
+ 'color-danger-6'
218
+ );
219
+ $input-color-shadow_error_focus: theme-runtime.token(
220
+ 'input',
221
+ 'input-color-shadow-error-focus',
222
+ $input-color-shadow_error_focus
223
+ );
224
+ $input-size-shadow_error_focus: theme-runtime.token(
225
+ 'input',
226
+ 'input-size-shadow-error-focus',
227
+ $input-size-shadow_error_focus,
228
+ 'shadow-distance-none'
229
+ );
230
+ $input-border-radius: theme-runtime.token('input', 'input-border-radius', $input-border-radius);
231
+ $input-color-border: theme-runtime.token(
232
+ 'input',
233
+ 'input-color-border',
234
+ $input-color-border,
235
+ 'color-transparent'
236
+ );
237
+ $input-color-border_disabled: theme-runtime.token(
238
+ 'input',
239
+ 'input-color-border-disabled',
240
+ $input-color-border_disabled,
241
+ 'color-transparent'
242
+ );
243
+ $input-color-border_hover: theme-runtime.token(
244
+ 'input',
245
+ 'input-color-border-hover',
246
+ $input-color-border_hover,
247
+ 'color-transparent'
248
+ );
249
+ $input-color-border_error: theme-runtime.token(
250
+ 'input',
251
+ 'input-color-border-error',
252
+ $input-color-border_error,
253
+ 'color-transparent'
254
+ );
255
+ $input-color-border_error_hover: theme-runtime.token(
256
+ 'input',
257
+ 'input-color-border-error-hover',
258
+ $input-color-border_error_hover,
259
+ 'color-transparent'
260
+ );
261
+ $input-size-default-font-size: theme-runtime.token(
262
+ 'input',
263
+ 'input-size-default-font-size',
264
+ $input-size-default-font-size,
265
+ 'font-size-body-3'
266
+ );
267
+ $input-size-small-font-size: theme-runtime.token(
268
+ 'input',
269
+ 'input-size-small-font-size',
270
+ $input-size-small-font-size,
271
+ 'font-size-body-3'
272
+ );
273
+ $input-size-large-font-size: theme-runtime.token(
274
+ 'input',
275
+ 'input-size-large-font-size',
276
+ $input-size-large-font-size,
277
+ 'font-size-body-3'
278
+ );
279
+ $input-size-mini-font-size: theme-runtime.token(
280
+ 'input',
281
+ 'input-size-mini-font-size',
282
+ $input-size-mini-font-size,
283
+ 'font-size-body-1'
284
+ );
285
+ $input-font-tip-size: theme-runtime.token(
286
+ 'input',
287
+ 'input-font-tip-size',
288
+ $input-font-tip-size,
289
+ 'font-size-body-1'
290
+ );
291
+ $input-size-mini-icon-suffix-size: theme-runtime.token(
292
+ 'input',
293
+ 'input-size-mini-icon-suffix-size',
294
+ $input-size-mini-icon-suffix-size,
295
+ 'size-3'
296
+ );
297
+ $input-size-small-icon-suffix-size: theme-runtime.token(
298
+ 'input',
299
+ 'input-size-small-icon-suffix-size',
300
+ $input-size-small-icon-suffix-size
301
+ );
302
+ $input-size-default-icon-suffix-size: theme-runtime.token(
303
+ 'input',
304
+ 'input-size-default-icon-suffix-size',
305
+ $input-size-default-icon-suffix-size
306
+ );
307
+ $input-size-large-icon-suffix-size: theme-runtime.token(
308
+ 'input',
309
+ 'input-size-large-icon-suffix-size',
310
+ $input-size-large-icon-suffix-size
311
+ );
312
+ $input-size-mini-icon-addon-size: theme-runtime.token(
313
+ 'input',
314
+ 'input-size-mini-icon-addon-size',
315
+ $input-size-mini-icon-addon-size,
316
+ 'size-3'
317
+ );
318
+ $input-size-small-icon-addon-size: theme-runtime.token(
319
+ 'input',
320
+ 'input-size-small-icon-addon-size',
321
+ $input-size-small-icon-addon-size
322
+ );
323
+ $input-size-default-icon-addon-size: theme-runtime.token(
324
+ 'input',
325
+ 'input-size-default-icon-addon-size',
326
+ $input-size-default-icon-addon-size
327
+ );
328
+ $input-size-large-icon-addon-size: theme-runtime.token(
329
+ 'input',
330
+ 'input-size-large-icon-addon-size',
331
+ $input-size-large-icon-addon-size
332
+ );
333
+ $input-size-icon-clear: theme-runtime.token(
334
+ 'input',
335
+ 'input-size-icon-clear',
336
+ $input-size-icon-clear,
337
+ 'size-3'
338
+ );
339
+ $input-color-suffix-text: theme-runtime.token(
340
+ 'input',
341
+ 'input-color-suffix-text',
342
+ $input-color-suffix-text
343
+ );
344
+ $input-color-tip-text: theme-runtime.token('input', 'input-color-tip-text', $input-color-tip-text);
345
+ $input-color-icon-clear: theme-runtime.token(
346
+ 'input',
347
+ 'input-color-icon-clear',
348
+ $input-color-icon-clear
349
+ );
350
+ $input-color-icon-clear-bg_hover: theme-runtime.token(
351
+ 'input',
352
+ 'input-color-icon-clear-bg-hover',
353
+ $input-color-icon-clear-bg_hover
354
+ );
355
+ $search-color-icon: theme-runtime.token('input', 'search-color-icon', $search-color-icon);
356
+ $search-size-icon: theme-runtime.token('input', 'search-size-icon', $search-size-icon);
357
+ $input-margin-left-clear-btn: theme-runtime.token(
358
+ 'input',
359
+ 'input-margin-left-clear-btn',
360
+ $input-margin-left-clear-btn,
361
+ 'spacing-6'
362
+ );
363
+ $input-spacing-clear-icon-right: theme-runtime.token(
364
+ 'input',
365
+ 'input-spacing-clear-icon-right',
366
+ $input-spacing-clear-icon-right,
367
+ 'spacing-4'
368
+ );
369
+ $input-padding-word-limit-left: theme-runtime.token(
370
+ 'input',
371
+ 'input-padding-word-limit-left',
372
+ $input-padding-word-limit-left,
373
+ 'spacing-4'
374
+ );
375
+ $textarea-font-size: theme-runtime.token(
376
+ 'input',
377
+ 'textarea-font-size',
378
+ $textarea-font-size,
379
+ 'font-size-body-3'
380
+ );
381
+ $textarea-font-tip-size: theme-runtime.token(
382
+ 'input',
383
+ 'textarea-font-tip-size',
384
+ $textarea-font-tip-size,
385
+ 'font-size-body-1'
386
+ );
387
+ $textarea-layout-tip-bottom: theme-runtime.token(
388
+ 'input',
389
+ 'textarea-layout-tip-bottom',
390
+ $textarea-layout-tip-bottom,
391
+ 'spacing-3'
392
+ );
393
+ $textarea-size-min-height: theme-runtime.token(
394
+ 'input',
395
+ 'textarea-size-min-height',
396
+ $textarea-size-min-height,
397
+ 'size-default'
398
+ );
399
+ $textarea-size-icon-clear: theme-runtime.token(
400
+ 'input',
401
+ 'textarea-size-icon-clear',
402
+ $textarea-size-icon-clear,
403
+ 'font-size-body-1'
404
+ );
405
+ $textarea-layout-top-icon-clear: theme-runtime.token(
406
+ 'input',
407
+ 'textarea-layout-top-icon-clear',
408
+ $textarea-layout-top-icon-clear,
409
+ 'spacing-5'
410
+ );
411
+ $password-color-eye-icon: theme-runtime.token(
412
+ 'input',
413
+ 'password-color-eye-icon',
414
+ $password-color-eye-icon
415
+ );
416
+ $password-size-eye-icon: theme-runtime.token(
417
+ 'input',
418
+ 'password-size-eye-icon',
419
+ $password-size-eye-icon,
420
+ 'size-3'
421
+ );
422
+ $input-group-border-radius_compact: theme-runtime.token(
423
+ 'input',
424
+ 'input-group-border-radius-compact',
425
+ $input-group-border-radius_compact
426
+ );
427
+ $input-group-border-separator-width: theme-runtime.token(
428
+ 'input',
429
+ 'input-group-border-separator-width',
430
+ $input-group-border-separator-width,
431
+ 'border-1'
432
+ );
433
+ $input-group-color-separator-border: theme-runtime.token(
434
+ 'input',
435
+ 'input-group-color-separator-border',
436
+ $input-group-color-separator-border
437
+ );
438
+ $input-size-medium-font-size: theme-runtime.token(
439
+ 'input',
440
+ 'input-size-medium-font-size',
441
+ $input-size-default-font-size
442
+ );
443
+ $input-feedback-icon-color_success: theme-runtime.token(
444
+ 'input',
445
+ 'input-feedback-icon-color-success',
446
+ $input-feedback-icon-color_success,
447
+ 'color-success-6'
448
+ );
449
+ $input-feedback-icon-color_error: theme-runtime.token(
450
+ 'input',
451
+ 'input-feedback-icon-color-error',
452
+ $input-feedback-icon-color_error,
453
+ 'color-danger-6'
454
+ );
455
+ $input-feedback-icon-color_warning: theme-runtime.token(
456
+ 'input',
457
+ 'input-feedback-icon-color-warning',
458
+ $input-feedback-icon-color_warning,
459
+ 'color-warning-6'
460
+ );
461
+ $input-feedback-icon-color_validating: theme-runtime.token(
462
+ 'input',
463
+ 'input-feedback-icon-color-validating',
464
+ $input-feedback-icon-color_validating,
465
+ 'color-primary-6'
466
+ );
@@ -16,5 +16,5 @@
16
16
  /******** radius *******/
17
17
  /********* icon hover *********/
18
18
  .sd-input-mask .sd-input {
19
- font-variant-numeric: tabular-nums;
19
+ font-variant-numeric: var(--component-input-mask-input-mask-font-variant-numeric, var(--component-input-mask-font-variant-numeric, tabular-nums));
20
20
  }
@@ -1,5 +1,13 @@
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';
4
5
 
5
6
  $input-mask-font-variant-numeric: tabular-nums;
7
+
8
+ // @generated runtime tokens — pnpm theme:generate
9
+ $input-mask-font-variant-numeric: theme-runtime.token(
10
+ 'input-mask',
11
+ 'input-mask-font-variant-numeric',
12
+ $input-mask-font-variant-numeric
13
+ );
@@ -24,7 +24,7 @@
24
24
  position: relative;
25
25
  box-sizing: border-box;
26
26
  width: 100%;
27
- border-radius: var(--sd-border-radius-small);
27
+ border-radius: var(--component-input-number-input-number-border-radius, var(--component-input-number-border-radius, var(--sd-border-radius-small)));
28
28
  }
29
29
  .sd-input-number-step-button {
30
30
  display: flex;
@@ -32,28 +32,28 @@
32
32
  justify-content: center;
33
33
  box-sizing: border-box;
34
34
  padding: 0;
35
- color: var(--sd-color-text-2);
36
- background-color: var(--sd-color-fill-2);
35
+ color: var(--component-input-number-input-number-step-button-color, var(--component-input-number-step-button-color, var(--sd-color-text-2)));
36
+ background-color: var(--component-input-number-input-number-step-button-color-bg-default, var(--component-input-number-step-button-color-bg-default, var(--sd-color-fill-2)));
37
37
  cursor: pointer;
38
38
  user-select: none;
39
39
  transition: color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), border-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), opacity 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
40
40
  }
41
41
  .sd-input-number-step-button:hover {
42
- background-color: var(--sd-color-fill-3);
43
- border-color: var(--sd-color-fill-3);
42
+ background-color: var(--component-input-number-input-number-step-button-color-bg-default-hover, var(--component-input-number-step-button-color-bg-default-hover, var(--sd-color-fill-3)));
43
+ border-color: var(--component-input-number-input-number-step-button-color-bg-default-hover, var(--component-input-number-step-button-color-bg-default-hover, var(--sd-color-fill-3)));
44
44
  }
45
45
  .sd-input-number-step-button:active {
46
- background-color: var(--sd-color-fill-4);
47
- border-color: var(--sd-color-fill-4);
46
+ background-color: var(--component-input-number-input-number-step-button-color-bg-default-active, var(--component-input-number-step-button-color-bg-default-active, var(--sd-color-fill-4)));
47
+ border-color: var(--component-input-number-input-number-step-button-color-bg-default-active, var(--component-input-number-step-button-color-bg-default-active, var(--sd-color-fill-4)));
48
48
  }
49
49
  .sd-input-number-step-button:disabled {
50
- color: var(--sd-color-text-4);
51
- background-color: var(--sd-color-fill-2);
50
+ color: var(--component-input-number-input-number-step-button-color-disabled, var(--component-input-number-step-button-color-disabled, var(--sd-color-text-4)));
51
+ background-color: var(--component-input-number-input-number-step-button-color-bg-disabled, var(--component-input-number-step-button-color-bg-disabled, var(--sd-color-fill-2)));
52
52
  cursor: not-allowed;
53
53
  }
54
54
  .sd-input-number-step-button:disabled:hover, .sd-input-number-step-button:disabled:active {
55
- background-color: var(--sd-color-fill-2);
56
- border-color: var(--sd-color-neutral-3);
55
+ background-color: var(--component-input-number-input-number-step-button-color-bg-disabled-hover, var(--component-input-number-step-button-color-bg-disabled-hover, var(--sd-color-fill-2)));
56
+ border-color: var(--component-input-number-input-number-step-button-color-border, var(--component-input-number-step-button-color-border, var(--sd-color-neutral-3)));
57
57
  }
58
58
  .sd-input-number .sd-input-wrapper {
59
59
  position: relative;
@@ -68,7 +68,7 @@
68
68
  bottom: 4px;
69
69
  width: 18px;
70
70
  overflow: hidden;
71
- border-radius: 1px;
71
+ border-radius: var(--component-input-number-input-number-step-layer-border-radius, var(--component-input-number-step-layer-border-radius, 1px));
72
72
  opacity: 0;
73
73
  transition: color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), border-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), opacity 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
74
74
  }
@@ -77,7 +77,7 @@
77
77
  height: 50%;
78
78
  font-size: 10px;
79
79
  border: none;
80
- border-color: var(--sd-color-neutral-3);
80
+ border-color: var(--component-input-number-input-number-step-button-color-border, var(--component-input-number-step-button-color-border, var(--sd-color-neutral-3)));
81
81
  }
82
82
  .sd-input-number-mode-embed .sd-input-suffix {
83
83
  justify-content: flex-end;
@@ -100,29 +100,29 @@
100
100
  pointer-events: none;
101
101
  }
102
102
  .sd-input-number-mode-embed.sd-input-wrapper:not(.sd-input-focus) .sd-input-number-step-button:not(.sd-input-number-step-button-disabled):hover {
103
- background-color: var(--sd-color-fill-4);
103
+ background-color: var(--component-input-number-input-number-step-button-color-bg-default-active, var(--component-input-number-step-button-color-bg-default-active, var(--sd-color-fill-4)));
104
104
  }
105
105
  .sd-input-number-mode-button .sd-input-prepend, .sd-input-number-mode-button .sd-input-append {
106
106
  padding: 0;
107
107
  border: none;
108
108
  }
109
109
  .sd-input-number-mode-button .sd-input-prepend .sd-input-number-step-button {
110
- border-right: 1px solid transparent;
110
+ border-right: var(--component-input-input-border-addon-separator-width, var(--component-input-border-addon-separator-width, var(--border-1, 1px))) solid transparent;
111
111
  border-top-right-radius: 0;
112
112
  border-bottom-right-radius: 0;
113
113
  }
114
114
  .sd-input-number-mode-button .sd-input-prepend .sd-input-number-step-button:not(.sd-input-number-mode-button .sd-input-prepend .sd-input-number-step-button:active) {
115
- border-right-color: var(--sd-color-neutral-3);
115
+ border-right-color: var(--component-input-number-input-number-step-button-color-border, var(--component-input-number-step-button-color-border, var(--sd-color-neutral-3)));
116
116
  }
117
117
  .sd-input-number-mode-button .sd-input-append .sd-input-number-step-button {
118
- border-left: 1px solid transparent;
118
+ border-left: var(--component-input-input-border-addon-separator-width, var(--component-input-border-addon-separator-width, var(--border-1, 1px))) solid transparent;
119
119
  border-top-left-radius: 0;
120
120
  border-bottom-left-radius: 0;
121
121
  }
122
122
  .sd-input-number-mode-button .sd-input-append .sd-input-number-step-button:not(.sd-input-number-mode-button .sd-input-append .sd-input-number-step-button:active) {
123
- border-left-color: var(--sd-color-neutral-3);
123
+ border-left-color: var(--component-input-number-input-number-step-button-color-border, var(--component-input-number-step-button-color-border, var(--sd-color-neutral-3)));
124
124
  }
125
125
  .sd-input-number-readonly .sd-input-number-step-button {
126
- color: var(--sd-color-text-4);
126
+ color: var(--component-input-number-input-number-step-button-color-disabled, var(--component-input-number-step-button-color-disabled, var(--sd-color-text-4)));
127
127
  pointer-events: none;
128
128
  }
@@ -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';
@@ -51,3 +52,84 @@ $input-number-step-button-color-bg_disabled_hover: var(
51
52
  $input-number-step-button-color-bg_disabled_active: var(
52
53
  string.unquote('#{global.$sd-cssvars-prefix}-color-fill-2')
53
54
  );
55
+
56
+ // @generated runtime tokens — pnpm theme:generate
57
+ $input-number-border-radius: theme-runtime.token(
58
+ 'input-number',
59
+ 'input-number-border-radius',
60
+ $input-number-border-radius
61
+ );
62
+ $input-number-step-layer-border-radius: theme-runtime.token(
63
+ 'input-number',
64
+ 'input-number-step-layer-border-radius',
65
+ $input-number-step-layer-border-radius
66
+ );
67
+ $input-number-size-mini-step-button-width: theme-runtime.token(
68
+ 'input-number',
69
+ 'input-number-size-mini-step-button-width',
70
+ $input-number-size-mini-step-button-width,
71
+ 'size-mini'
72
+ );
73
+ $input-number-size-small-step-button-width: theme-runtime.token(
74
+ 'input-number',
75
+ 'input-number-size-small-step-button-width',
76
+ $input-number-size-small-step-button-width,
77
+ 'size-small'
78
+ );
79
+ $input-number-size-default-step-button-width: theme-runtime.token(
80
+ 'input-number',
81
+ 'input-number-size-default-step-button-width',
82
+ $input-number-size-default-step-button-width,
83
+ 'size-default'
84
+ );
85
+ $input-number-size-large-step-button-width: theme-runtime.token(
86
+ 'input-number',
87
+ 'input-number-size-large-step-button-width',
88
+ $input-number-size-large-step-button-width,
89
+ 'size-large'
90
+ );
91
+ $input-number-step-button-color: theme-runtime.token(
92
+ 'input-number',
93
+ 'input-number-step-button-color',
94
+ $input-number-step-button-color
95
+ );
96
+ $input-number-step-button-color_disabled: theme-runtime.token(
97
+ 'input-number',
98
+ 'input-number-step-button-color-disabled',
99
+ $input-number-step-button-color_disabled
100
+ );
101
+ $input-number-step-button-color-border: theme-runtime.token(
102
+ 'input-number',
103
+ 'input-number-step-button-color-border',
104
+ $input-number-step-button-color-border
105
+ );
106
+ $input-number-step-button-color-bg_default: theme-runtime.token(
107
+ 'input-number',
108
+ 'input-number-step-button-color-bg-default',
109
+ $input-number-step-button-color-bg_default
110
+ );
111
+ $input-number-step-button-color-bg_default_hover: theme-runtime.token(
112
+ 'input-number',
113
+ 'input-number-step-button-color-bg-default-hover',
114
+ $input-number-step-button-color-bg_default_hover
115
+ );
116
+ $input-number-step-button-color-bg_default_active: theme-runtime.token(
117
+ 'input-number',
118
+ 'input-number-step-button-color-bg-default-active',
119
+ $input-number-step-button-color-bg_default_active
120
+ );
121
+ $input-number-step-button-color-bg_disabled: theme-runtime.token(
122
+ 'input-number',
123
+ 'input-number-step-button-color-bg-disabled',
124
+ $input-number-step-button-color-bg_disabled
125
+ );
126
+ $input-number-step-button-color-bg_disabled_hover: theme-runtime.token(
127
+ 'input-number',
128
+ 'input-number-step-button-color-bg-disabled-hover',
129
+ $input-number-step-button-color-bg_disabled_hover
130
+ );
131
+ $input-number-step-button-color-bg_disabled_active: theme-runtime.token(
132
+ 'input-number',
133
+ 'input-number-step-button-color-bg-disabled-active',
134
+ $input-number-step-button-color-bg_disabled_active
135
+ );