@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';
@@ -131,3 +132,243 @@ $notification-error-color-text-content: var(
131
132
  $notification-error-color-border: var(
132
133
  string.unquote('#{global.$sd-cssvars-prefix}-color-neutral-3')
133
134
  );
135
+
136
+ // @generated runtime tokens — pnpm theme:generate
137
+ $notification-wrapper-margin-top: theme-runtime.token(
138
+ 'notification',
139
+ 'notification-wrapper-margin-top',
140
+ $notification-wrapper-margin-top,
141
+ 'spacing-8'
142
+ );
143
+ $notification-wrapper-margin-bottom: theme-runtime.token(
144
+ 'notification',
145
+ 'notification-wrapper-margin-bottom',
146
+ $notification-wrapper-margin-bottom,
147
+ 'spacing-8'
148
+ );
149
+ $notification-wrapper-margin-left: theme-runtime.token(
150
+ 'notification',
151
+ 'notification-wrapper-margin-left',
152
+ $notification-wrapper-margin-left,
153
+ 'spacing-8'
154
+ );
155
+ $notification-wrapper-margin-right: theme-runtime.token(
156
+ 'notification',
157
+ 'notification-wrapper-margin-right',
158
+ $notification-wrapper-margin-right,
159
+ 'spacing-8'
160
+ );
161
+ $notification-border-radius: theme-runtime.token(
162
+ 'notification',
163
+ 'notification-border-radius',
164
+ $notification-border-radius
165
+ );
166
+ $notification-margin-bottom: theme-runtime.token(
167
+ 'notification',
168
+ 'notification-margin-bottom',
169
+ $notification-margin-bottom,
170
+ 'spacing-8'
171
+ );
172
+ $notification-padding-top: theme-runtime.token(
173
+ 'notification',
174
+ 'notification-padding-top',
175
+ $notification-padding-top,
176
+ 'spacing-8'
177
+ );
178
+ $notification-padding-bottom: theme-runtime.token(
179
+ 'notification',
180
+ 'notification-padding-bottom',
181
+ $notification-padding-bottom,
182
+ 'spacing-8'
183
+ );
184
+ $notification-font-size-icon: theme-runtime.token(
185
+ 'notification',
186
+ 'notification-font-size-icon',
187
+ $notification-font-size-icon
188
+ );
189
+ $notification-font-size-title: theme-runtime.token(
190
+ 'notification',
191
+ 'notification-font-size-title',
192
+ $notification-font-size-title,
193
+ 'font-size-title-1'
194
+ );
195
+ $notification-font-size-content: theme-runtime.token(
196
+ 'notification',
197
+ 'notification-font-size-content',
198
+ $notification-font-size-content,
199
+ 'font-size-body-3'
200
+ );
201
+ $notification-icon-margin-right: theme-runtime.token(
202
+ 'notification',
203
+ 'notification-icon-margin-right',
204
+ $notification-icon-margin-right,
205
+ 'spacing-7'
206
+ );
207
+ $notification-title-margin-bottom: theme-runtime.token(
208
+ 'notification',
209
+ 'notification-title-margin-bottom',
210
+ $notification-title-margin-bottom,
211
+ 'spacing-2'
212
+ );
213
+ $notification-btn-wrapper-margin-top: theme-runtime.token(
214
+ 'notification',
215
+ 'notification-btn-wrapper-margin-top',
216
+ $notification-btn-wrapper-margin-top,
217
+ 'spacing-7'
218
+ );
219
+ $notification-border-width: theme-runtime.token(
220
+ 'notification',
221
+ 'notification-border-width',
222
+ $notification-border-width
223
+ );
224
+ $notification-border-style: theme-runtime.token(
225
+ 'notification',
226
+ 'notification-border-style',
227
+ $notification-border-style
228
+ );
229
+ $notification-color-close-icon: theme-runtime.token(
230
+ 'notification',
231
+ 'notification-color-close-icon',
232
+ $notification-color-close-icon
233
+ );
234
+ $notification-close-icon-top: theme-runtime.token(
235
+ 'notification',
236
+ 'notification-close-icon-top',
237
+ $notification-close-icon-top,
238
+ 'spacing-6'
239
+ );
240
+ $notification-close-icon-right: theme-runtime.token(
241
+ 'notification',
242
+ 'notification-close-icon-right',
243
+ $notification-close-icon-right,
244
+ 'spacing-6'
245
+ );
246
+ $notification-normal-color-bg: theme-runtime.token(
247
+ 'notification',
248
+ 'notification-normal-color-bg',
249
+ $notification-normal-color-bg
250
+ );
251
+ $notification-normal-color-icon: theme-runtime.token(
252
+ 'notification',
253
+ 'notification-normal-color-icon',
254
+ $notification-normal-color-icon
255
+ );
256
+ $notification-normal-color-text-title: theme-runtime.token(
257
+ 'notification',
258
+ 'notification-normal-color-text-title',
259
+ $notification-normal-color-text-title
260
+ );
261
+ $notification-normal-color-text-content: theme-runtime.token(
262
+ 'notification',
263
+ 'notification-normal-color-text-content',
264
+ $notification-normal-color-text-content
265
+ );
266
+ $notification-normal-color-border: theme-runtime.token(
267
+ 'notification',
268
+ 'notification-normal-color-border',
269
+ $notification-normal-color-border
270
+ );
271
+ $notification-info-color-bg: theme-runtime.token(
272
+ 'notification',
273
+ 'notification-info-color-bg',
274
+ $notification-info-color-bg
275
+ );
276
+ $notification-info-color-icon: theme-runtime.token(
277
+ 'notification',
278
+ 'notification-info-color-icon',
279
+ $notification-info-color-icon,
280
+ 'color-primary-6'
281
+ );
282
+ $notification-info-color-text-title: theme-runtime.token(
283
+ 'notification',
284
+ 'notification-info-color-text-title',
285
+ $notification-info-color-text-title
286
+ );
287
+ $notification-info-color-text-content: theme-runtime.token(
288
+ 'notification',
289
+ 'notification-info-color-text-content',
290
+ $notification-info-color-text-content
291
+ );
292
+ $notification-info-color-border: theme-runtime.token(
293
+ 'notification',
294
+ 'notification-info-color-border',
295
+ $notification-info-color-border
296
+ );
297
+ $notification-success-color-bg: theme-runtime.token(
298
+ 'notification',
299
+ 'notification-success-color-bg',
300
+ $notification-success-color-bg
301
+ );
302
+ $notification-success-color-icon: theme-runtime.token(
303
+ 'notification',
304
+ 'notification-success-color-icon',
305
+ $notification-success-color-icon,
306
+ 'color-success-6'
307
+ );
308
+ $notification-success-color-text-title: theme-runtime.token(
309
+ 'notification',
310
+ 'notification-success-color-text-title',
311
+ $notification-success-color-text-title
312
+ );
313
+ $notification-success-color-text-content: theme-runtime.token(
314
+ 'notification',
315
+ 'notification-success-color-text-content',
316
+ $notification-success-color-text-content
317
+ );
318
+ $notification-success-color-border: theme-runtime.token(
319
+ 'notification',
320
+ 'notification-success-color-border',
321
+ $notification-success-color-border
322
+ );
323
+ $notification-warning-color-bg: theme-runtime.token(
324
+ 'notification',
325
+ 'notification-warning-color-bg',
326
+ $notification-warning-color-bg
327
+ );
328
+ $notification-warning-color-icon: theme-runtime.token(
329
+ 'notification',
330
+ 'notification-warning-color-icon',
331
+ $notification-warning-color-icon,
332
+ 'color-warning-6'
333
+ );
334
+ $notification-warning-color-text-title: theme-runtime.token(
335
+ 'notification',
336
+ 'notification-warning-color-text-title',
337
+ $notification-warning-color-text-title
338
+ );
339
+ $notification-warning-color-text-content: theme-runtime.token(
340
+ 'notification',
341
+ 'notification-warning-color-text-content',
342
+ $notification-warning-color-text-content
343
+ );
344
+ $notification-warning-color-border: theme-runtime.token(
345
+ 'notification',
346
+ 'notification-warning-color-border',
347
+ $notification-warning-color-border
348
+ );
349
+ $notification-error-color-bg: theme-runtime.token(
350
+ 'notification',
351
+ 'notification-error-color-bg',
352
+ $notification-error-color-bg
353
+ );
354
+ $notification-error-color-icon: theme-runtime.token(
355
+ 'notification',
356
+ 'notification-error-color-icon',
357
+ $notification-error-color-icon,
358
+ 'color-danger-6'
359
+ );
360
+ $notification-error-color-text-title: theme-runtime.token(
361
+ 'notification',
362
+ 'notification-error-color-text-title',
363
+ $notification-error-color-text-title
364
+ );
365
+ $notification-error-color-text-content: theme-runtime.token(
366
+ 'notification',
367
+ 'notification-error-color-text-content',
368
+ $notification-error-color-text-content
369
+ );
370
+ $notification-error-color-border: theme-runtime.token(
371
+ 'notification',
372
+ 'notification-error-color-border',
373
+ $notification-error-color-border
374
+ );
@@ -27,8 +27,8 @@
27
27
  display: inline-block;
28
28
  }
29
29
  .sd-number-flow-content {
30
- margin: -0.25em -0.2em;
31
- padding: 0.25em 0.2em;
30
+ margin: calc(-1 * var(--component-number-flow-number-flow-mask-height, var(--component-number-flow-mask-height, 0.25em))) calc(-1 * var(--component-number-flow-number-flow-mask-width, var(--component-number-flow-mask-width, 0.2em)));
31
+ padding: var(--component-number-flow-number-flow-mask-height, var(--component-number-flow-mask-height, 0.25em)) var(--component-number-flow-number-flow-mask-width, var(--component-number-flow-mask-width, 0.2em));
32
32
  overflow: hidden;
33
33
  }
34
34
  .sd-number-flow-part {
@@ -66,15 +66,15 @@
66
66
  will-change: transform;
67
67
  }
68
68
  .sd-number-flow-custom-prefix {
69
- margin-right: 4px;
69
+ margin-right: var(--component-number-flow-number-flow-gap, var(--component-number-flow-gap, var(--spacing-2, 4px)));
70
70
  }
71
71
  .sd-number-flow-custom-suffix {
72
- margin-left: 4px;
72
+ margin-left: var(--component-number-flow-number-flow-gap, var(--component-number-flow-gap, var(--spacing-2, 4px)));
73
73
  }
74
74
 
75
75
  .sd-number-flow-group {
76
76
  display: inline-flex;
77
- gap: 4px;
77
+ gap: var(--component-number-flow-number-flow-gap, var(--component-number-flow-gap, var(--spacing-2, 4px)));
78
78
  align-items: baseline;
79
79
  }
80
80
 
@@ -1,5 +1,24 @@
1
+ @use '@style/theme/runtime.scss' as theme-runtime;
1
2
  @use '@style/theme/index.scss' as global;
2
3
 
3
4
  $number-flow-gap: global.$spacing-2;
4
5
  $number-flow-mask-height: 0.25em;
5
6
  $number-flow-mask-width: 0.2em;
7
+
8
+ // @generated runtime tokens — pnpm theme:generate
9
+ $number-flow-gap: theme-runtime.token(
10
+ 'number-flow',
11
+ 'number-flow-gap',
12
+ $number-flow-gap,
13
+ 'spacing-2'
14
+ );
15
+ $number-flow-mask-height: theme-runtime.token(
16
+ 'number-flow',
17
+ 'number-flow-mask-height',
18
+ $number-flow-mask-height
19
+ );
20
+ $number-flow-mask-width: theme-runtime.token(
21
+ 'number-flow',
22
+ 'number-flow-mask-width',
23
+ $number-flow-mask-width
24
+ );
@@ -16,20 +16,20 @@
16
16
  /******** radius *******/
17
17
  /********* icon hover *********/
18
18
  .sd-page-header {
19
- padding: 16px 0;
19
+ padding: var(--component-page-header-page-header-padding-vertical, var(--component-page-header-padding-vertical, var(--spacing-7, 16px))) 0;
20
20
  }
21
21
  .sd-page-header-breadcrumb + .sd-page-header-header {
22
- margin-top: 4px;
22
+ margin-top: var(--component-page-header-page-header-margin-breadcrumb-bottom, var(--component-page-header-margin-breadcrumb-bottom, var(--spacing-2, 4px)));
23
23
  }
24
24
  .sd-page-header-wrapper {
25
- padding-right: 20px;
26
- padding-left: 24px;
25
+ padding-right: var(--component-page-header-page-header-padding-right, var(--component-page-header-padding-right, var(--spacing-8, 20px)));
26
+ padding-left: var(--component-page-header-page-header-padding-left, var(--component-page-header-padding-left, var(--spacing-9, 24px)));
27
27
  }
28
28
  .sd-page-header-header {
29
29
  display: flex;
30
30
  align-items: center;
31
31
  justify-content: space-between;
32
- line-height: 28px;
32
+ line-height: var(--component-page-header-page-header-line-height, var(--component-page-header-line-height, var(--size-7, 28px)));
33
33
  }
34
34
  .sd-page-header-header-left {
35
35
  display: flex;
@@ -53,11 +53,11 @@
53
53
  height: 30px;
54
54
  }
55
55
  .sd-page-header .sd-icon-hover.sd-page-header-icon-hover:hover::before {
56
- background-color: var(--sd-color-fill-2);
56
+ background-color: var(--component-page-header-page-header-color-back-icon-bg-hover, var(--component-page-header-color-back-icon-bg-hover, var(--sd-color-fill-2)));
57
57
  }
58
58
  .sd-page-header-back-btn {
59
- margin-right: 12px;
60
- color: var(--sd-color-text-2);
59
+ margin-right: var(--component-page-header-page-header-margin-back-icon-right, var(--component-page-header-margin-back-icon-right, var(--spacing-6, 12px)));
60
+ color: var(--component-page-header-page-header-color-back-icon, var(--component-page-header-color-back-icon, var(--sd-color-text-2)));
61
61
  font-size: 14px;
62
62
  }
63
63
  .sd-page-header-back-btn-icon {
@@ -67,39 +67,39 @@
67
67
  overflow: hidden;
68
68
  white-space: nowrap;
69
69
  text-overflow: ellipsis;
70
- color: var(--sd-color-text-1);
71
- font-weight: 600;
72
- font-size: 20px;
70
+ color: var(--component-page-header-page-header-color-title-text, var(--component-page-header-color-title-text, var(--sd-color-text-1)));
71
+ font-weight: var(--component-page-header-page-header-weight-title-text, var(--component-page-header-weight-title-text, 600));
72
+ font-size: var(--component-page-header-page-header-size-title-text, var(--component-page-header-size-title-text, var(--font-size-title-2, 20px)));
73
73
  }
74
74
  .sd-page-header-divider {
75
- width: 1px;
76
- height: 16px;
77
- margin-right: 12px;
78
- margin-left: 12px;
79
- background-color: var(--sd-color-fill-3);
75
+ width: var(--component-page-header-page-header-size-divider-width, var(--component-page-header-size-divider-width, 1px));
76
+ height: var(--component-page-header-page-header-size-divider-height, var(--component-page-header-size-divider-height, var(--size-4, 16px)));
77
+ margin-right: var(--component-page-header-page-header-margin-divider-right, var(--component-page-header-margin-divider-right, var(--spacing-6, 12px)));
78
+ margin-left: var(--component-page-header-page-header-margin-divider-left, var(--component-page-header-margin-divider-left, var(--spacing-6, 12px)));
79
+ background-color: var(--component-page-header-page-header-color-divider-bg, var(--component-page-header-color-divider-bg, var(--sd-color-fill-3)));
80
80
  }
81
81
  .sd-page-header-subtitle {
82
82
  overflow: hidden;
83
83
  white-space: nowrap;
84
84
  text-overflow: ellipsis;
85
- color: var(--sd-color-text-3);
86
- font-size: 14px;
85
+ color: var(--component-page-header-page-header-color-sub-title-text, var(--component-page-header-color-sub-title-text, var(--sd-color-text-3)));
86
+ font-size: var(--component-page-header-page-header-size-sub-title-text, var(--component-page-header-size-sub-title-text, var(--font-size-body-3, 14px)));
87
87
  }
88
88
  .sd-page-header-content {
89
- padding: 20px 32px;
90
- border-top: 1px solid var(--sd-color-neutral-3);
89
+ padding: var(--component-page-header-page-header-padding-content-vertical, var(--component-page-header-padding-content-vertical, var(--spacing-8, 20px))) var(--component-page-header-page-header-padding-content-horizontal, var(--component-page-header-padding-content-horizontal, var(--spacing-10, 32px)));
90
+ border-top: var(--component-page-header-page-header-border-header-width, var(--component-page-header-border-header-width, var(--border-1, 1px))) var(--component-page-header-page-header-border-header-style, var(--component-page-header-border-header-style, var(--border-solid, solid))) var(--component-page-header-page-header-color-header-border, var(--component-page-header-color-header-border, var(--sd-color-neutral-3)));
91
91
  }
92
92
  .sd-page-header-footer {
93
- padding: 16px 20px 0 24px;
93
+ padding: var(--component-page-header-page-header-padding-vertical, var(--component-page-header-padding-vertical, var(--spacing-7, 16px))) var(--component-page-header-page-header-padding-right, var(--component-page-header-padding-right, var(--spacing-8, 20px))) 0 var(--component-page-header-page-header-padding-left, var(--component-page-header-padding-left, var(--spacing-9, 24px)));
94
94
  }
95
95
  .sd-page-header-with-breadcrumb {
96
- padding: 12px 0;
96
+ padding: var(--component-page-header-page-header-padding-vertical-breadcrumb, var(--component-page-header-padding-vertical-breadcrumb, var(--spacing-6, 12px))) 0;
97
97
  }
98
98
  .sd-page-header-with-breadcrumb .sd-page-header-footer {
99
- padding-top: 12px;
99
+ padding-top: var(--component-page-header-page-header-padding-vertical-breadcrumb, var(--component-page-header-padding-vertical-breadcrumb, var(--spacing-6, 12px)));
100
100
  }
101
101
  .sd-page-header-with-content .sd-page-header-wrapper {
102
- padding-bottom: 12px;
102
+ padding-bottom: var(--component-page-header-page-header-padding-vertical-breadcrumb, var(--component-page-header-padding-vertical-breadcrumb, var(--spacing-6, 12px)));
103
103
  }
104
104
  .sd-page-header-with-footer {
105
105
  padding-bottom: 0;
@@ -108,5 +108,5 @@
108
108
  flex-wrap: wrap;
109
109
  }
110
110
  .sd-page-header-wrapper .sd-page-header-header .sd-page-header-head-extra {
111
- margin-top: 4px;
111
+ margin-top: var(--component-page-header-page-header-margin-breadcrumb-bottom, var(--component-page-header-margin-breadcrumb-bottom, var(--spacing-2, 4px)));
112
112
  }
@@ -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';
@@ -61,3 +62,141 @@ $page-header-padding-content-vertical: global.$spacing-8;
61
62
  $page-header-padding-content-horizontal: global.$spacing-10;
62
63
 
63
64
  $page-header-margin-breadcrumb-bottom: global.$spacing-2;
65
+
66
+ // @generated runtime tokens — pnpm theme:generate
67
+ $page-header-padding-left: theme-runtime.token(
68
+ 'page-header',
69
+ 'page-header-padding-left',
70
+ $page-header-padding-left,
71
+ 'spacing-9'
72
+ );
73
+ $page-header-padding-right: theme-runtime.token(
74
+ 'page-header',
75
+ 'page-header-padding-right',
76
+ $page-header-padding-right,
77
+ 'spacing-8'
78
+ );
79
+ $page-header-padding-vertical: theme-runtime.token(
80
+ 'page-header',
81
+ 'page-header-padding-vertical',
82
+ $page-header-padding-vertical,
83
+ 'spacing-7'
84
+ );
85
+ $page-header-padding-vertical_breadcrumb: theme-runtime.token(
86
+ 'page-header',
87
+ 'page-header-padding-vertical-breadcrumb',
88
+ $page-header-padding-vertical_breadcrumb,
89
+ 'spacing-6'
90
+ );
91
+ $page-header-color-back-icon: theme-runtime.token(
92
+ 'page-header',
93
+ 'page-header-color-back-icon',
94
+ $page-header-color-back-icon
95
+ );
96
+ $page-header-margin-back-icon-right: theme-runtime.token(
97
+ 'page-header',
98
+ 'page-header-margin-back-icon-right',
99
+ $page-header-margin-back-icon-right,
100
+ 'spacing-6'
101
+ );
102
+ $page-header-line-height: theme-runtime.token(
103
+ 'page-header',
104
+ 'page-header-line-height',
105
+ $page-header-line-height,
106
+ 'size-7'
107
+ );
108
+ $page-header-color-title-text: theme-runtime.token(
109
+ 'page-header',
110
+ 'page-header-color-title-text',
111
+ $page-header-color-title-text
112
+ );
113
+ $page-header-weight-title-text: theme-runtime.token(
114
+ 'page-header',
115
+ 'page-header-weight-title-text',
116
+ $page-header-weight-title-text
117
+ );
118
+ $page-header-color-back-icon-bg_hover: theme-runtime.token(
119
+ 'page-header',
120
+ 'page-header-color-back-icon-bg-hover',
121
+ $page-header-color-back-icon-bg_hover
122
+ );
123
+ $page-header-size-title-text: theme-runtime.token(
124
+ 'page-header',
125
+ 'page-header-size-title-text',
126
+ $page-header-size-title-text,
127
+ 'font-size-title-2'
128
+ );
129
+ $page-header-color-divider-bg: theme-runtime.token(
130
+ 'page-header',
131
+ 'page-header-color-divider-bg',
132
+ $page-header-color-divider-bg
133
+ );
134
+ $page-header-size-divider-height: theme-runtime.token(
135
+ 'page-header',
136
+ 'page-header-size-divider-height',
137
+ $page-header-size-divider-height,
138
+ 'size-4'
139
+ );
140
+ $page-header-size-divider-width: theme-runtime.token(
141
+ 'page-header',
142
+ 'page-header-size-divider-width',
143
+ $page-header-size-divider-width
144
+ );
145
+ $page-header-margin-divider-left: theme-runtime.token(
146
+ 'page-header',
147
+ 'page-header-margin-divider-left',
148
+ $page-header-margin-divider-left,
149
+ 'spacing-6'
150
+ );
151
+ $page-header-margin-divider-right: theme-runtime.token(
152
+ 'page-header',
153
+ 'page-header-margin-divider-right',
154
+ $page-header-margin-divider-right,
155
+ 'spacing-6'
156
+ );
157
+ $page-header-color-sub-title-text: theme-runtime.token(
158
+ 'page-header',
159
+ 'page-header-color-sub-title-text',
160
+ $page-header-color-sub-title-text
161
+ );
162
+ $page-header-size-sub-title-text: theme-runtime.token(
163
+ 'page-header',
164
+ 'page-header-size-sub-title-text',
165
+ $page-header-size-sub-title-text,
166
+ 'font-size-body-3'
167
+ );
168
+ $page-header-color-header-border: theme-runtime.token(
169
+ 'page-header',
170
+ 'page-header-color-header-border',
171
+ $page-header-color-header-border
172
+ );
173
+ $page-header-border-header-width: theme-runtime.token(
174
+ 'page-header',
175
+ 'page-header-border-header-width',
176
+ $page-header-border-header-width,
177
+ 'border-1'
178
+ );
179
+ $page-header-border-header-style: theme-runtime.token(
180
+ 'page-header',
181
+ 'page-header-border-header-style',
182
+ $page-header-border-header-style,
183
+ 'border-solid'
184
+ );
185
+ $page-header-padding-content-vertical: theme-runtime.token(
186
+ 'page-header',
187
+ 'page-header-padding-content-vertical',
188
+ $page-header-padding-content-vertical,
189
+ 'spacing-8'
190
+ );
191
+ $page-header-padding-content-horizontal: theme-runtime.token(
192
+ 'page-header',
193
+ 'page-header-padding-content-horizontal',
194
+ $page-header-padding-content-horizontal,
195
+ 'spacing-10'
196
+ );
197
+ $page-header-margin-breadcrumb-bottom: theme-runtime.token(
198
+ 'page-header',
199
+ 'page-header-margin-breadcrumb-bottom',
200
+ $page-header-margin-breadcrumb-bottom,
201
+ 'spacing-2'
202
+ );