@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
  // PanelGroup / Panel / PanelSeparator 样式 token。
2
3
  @use '@style/theme/index.scss' as global;
3
4
  @use 'sass:string';
@@ -14,3 +15,30 @@ $panel-separator-hit-size: 14px;
14
15
  // 聚焦环
15
16
  $panel-separator-focus-ring: 0 0 0 3px
16
17
  var(string.unquote('#{global.$sd-cssvars-prefix}-color-primary-light-2'));
18
+
19
+ // @generated runtime tokens — pnpm theme:generate
20
+ $panel-separator-trigger-size: theme-runtime.token(
21
+ 'panel-group',
22
+ 'panel-separator-trigger-size',
23
+ $panel-separator-trigger-size
24
+ );
25
+ $panel-separator-color-background: theme-runtime.token(
26
+ 'panel-group',
27
+ 'panel-separator-color-background',
28
+ $panel-separator-color-background
29
+ );
30
+ $panel-separator-color-icon: theme-runtime.token(
31
+ 'panel-group',
32
+ 'panel-separator-color-icon',
33
+ $panel-separator-color-icon
34
+ );
35
+ $panel-separator-hit-size: theme-runtime.token(
36
+ 'panel-group',
37
+ 'panel-separator-hit-size',
38
+ $panel-separator-hit-size
39
+ );
40
+ $panel-separator-focus-ring: theme-runtime.token(
41
+ 'panel-group',
42
+ 'panel-separator-focus-ring',
43
+ $panel-separator-focus-ring
44
+ );
@@ -17,41 +17,41 @@
17
17
  /********* icon hover *********/
18
18
  .sd-popconfirm-popup-content {
19
19
  box-sizing: border-box;
20
- padding: 16px 16px;
21
- color: var(--sd-color-text-2);
22
- font-size: 14px;
20
+ padding: var(--component-popconfirm-popconfirm-padding-vertical, var(--component-popconfirm-padding-vertical, var(--spacing-7, 16px))) var(--component-popconfirm-popconfirm-padding-horizontal, var(--component-popconfirm-padding-horizontal, var(--spacing-7, 16px)));
21
+ color: var(--component-popover-popup-color-content-text, var(--component-popover-color-content-text, var(--sd-color-text-2)));
22
+ font-size: var(--component-popover-popup-font-size, var(--component-popover-font-size, var(--font-size-body-3, 14px)));
23
23
  line-height: 1.5715;
24
- background-color: var(--sd-color-bg-popup);
25
- border: 1px solid var(--sd-color-neutral-3);
26
- border-radius: var(--sd-border-radius-medium);
27
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
24
+ background-color: var(--component-popconfirm-popconfirm-color-content-bg, var(--component-popconfirm-color-content-bg, var(--sd-color-bg-popup)));
25
+ border: 1px solid var(--component-popconfirm-popconfirm-color-border, var(--component-popconfirm-color-border, var(--sd-color-neutral-3)));
26
+ border-radius: var(--component-popconfirm-popconfirm-border-radius, var(--component-popconfirm-border-radius, var(--sd-border-radius-medium)));
27
+ box-shadow: var(--component-popconfirm-popconfirm-shadow, var(--component-popconfirm-shadow, 0 2px 6px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08)));
28
28
  }
29
29
  .sd-popconfirm-popup-content .sd-popconfirm-body {
30
30
  position: relative;
31
31
  display: flex;
32
32
  align-items: flex-start;
33
- margin-bottom: 16px;
34
- color: var(--sd-color-text-1);
33
+ margin-bottom: var(--component-popconfirm-popconfirm-margin-title-bottom, var(--component-popconfirm-margin-title-bottom, var(--spacing-7, 16px)));
34
+ color: var(--component-popconfirm-popconfirm-color-title-text, var(--component-popconfirm-color-title-text, var(--sd-color-text-1)));
35
35
  font-size: 14px;
36
36
  }
37
37
  .sd-popconfirm-popup-content .sd-popconfirm-body .sd-popconfirm-icon {
38
38
  display: inline-flex;
39
39
  align-items: center;
40
40
  height: 22.001px;
41
- margin-right: 8px;
42
- font-size: 18px;
41
+ margin-right: var(--component-popconfirm-popconfirm-margin-icon-right, var(--component-popconfirm-margin-icon-right, var(--spacing-4, 8px)));
42
+ font-size: var(--component-popconfirm-popconfirm-size-title-icon, var(--component-popconfirm-size-title-icon, 18px));
43
43
  }
44
44
  .sd-popconfirm-popup-content .sd-popconfirm-body .sd-popconfirm-icon .sd-icon-exclamation-circle-fill {
45
- color: rgb(var(--sd-warning-6));
45
+ color: var(--component-popconfirm-popconfirm-color-title-icon, var(--component-popconfirm-color-title-icon, var(--color-warning-6, var(--sd-color-warning-6, rgb(var(--sd-warning-6))))));
46
46
  }
47
47
  .sd-popconfirm-popup-content .sd-popconfirm-body .sd-popconfirm-icon .sd-icon-check-circle-fill {
48
- color: rgb(var(--sd-success-6));
48
+ color: var(--component-popconfirm-popconfirm-color-title-icon-success, var(--component-popconfirm-color-title-icon-success, var(--color-success-6, var(--sd-color-success-6, rgb(var(--sd-success-6))))));
49
49
  }
50
50
  .sd-popconfirm-popup-content .sd-popconfirm-body .sd-popconfirm-icon .sd-icon-info-circle-fill {
51
- color: rgb(var(--sd-primary-6));
51
+ color: var(--component-popconfirm-popconfirm-color-title-icon-info, var(--component-popconfirm-color-title-icon-info, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
52
52
  }
53
53
  .sd-popconfirm-popup-content .sd-popconfirm-body .sd-popconfirm-icon .sd-icon-close-circle-fill {
54
- color: rgb(var(--sd-danger-6));
54
+ color: var(--component-popconfirm-popconfirm-color-title-icon-danger, var(--component-popconfirm-color-title-icon-danger, var(--color-danger-6, var(--sd-color-danger-6, rgb(var(--sd-danger-6))))));
55
55
  }
56
56
  .sd-popconfirm-popup-content .sd-popconfirm-body .sd-popconfirm-content {
57
57
  text-align: left;
@@ -61,10 +61,10 @@
61
61
  text-align: right;
62
62
  }
63
63
  .sd-popconfirm-popup-content .sd-popconfirm-footer > button {
64
- margin-left: 8px;
64
+ margin-left: var(--component-popconfirm-popconfirm-margin-button-left, var(--component-popconfirm-margin-button-left, var(--spacing-4, 8px)));
65
65
  }
66
66
  .sd-popconfirm-popup-arrow {
67
67
  z-index: 1;
68
- background-color: var(--sd-color-bg-popup);
69
- border: 1px solid var(--sd-color-neutral-3);
68
+ background-color: var(--component-popover-popup-color-content-bg, var(--component-popover-color-content-bg, var(--sd-color-bg-popup)));
69
+ border: 1px solid var(--component-popconfirm-popconfirm-color-border, var(--component-popconfirm-color-border, var(--sd-color-neutral-3)));
70
70
  }
@@ -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';
@@ -24,3 +25,85 @@ $popconfirm-color-title-icon: global.$color-warning-6;
24
25
  $popconfirm-color-title-icon_danger: global.$color-danger-6;
25
26
  $popconfirm-color-title-icon_success: global.$color-success-6;
26
27
  $popconfirm-color-title-icon_info: global.$color-primary-6;
28
+
29
+ // @generated runtime tokens — pnpm theme:generate
30
+ $popconfirm-padding-horizontal: theme-runtime.token(
31
+ 'popconfirm',
32
+ 'popconfirm-padding-horizontal',
33
+ $popconfirm-padding-horizontal,
34
+ 'spacing-7'
35
+ );
36
+ $popconfirm-padding-vertical: theme-runtime.token(
37
+ 'popconfirm',
38
+ 'popconfirm-padding-vertical',
39
+ $popconfirm-padding-vertical,
40
+ 'spacing-7'
41
+ );
42
+ $popconfirm-margin-title-bottom: theme-runtime.token(
43
+ 'popconfirm',
44
+ 'popconfirm-margin-title-bottom',
45
+ $popconfirm-margin-title-bottom,
46
+ 'spacing-7'
47
+ );
48
+ $popconfirm-size-title-icon: theme-runtime.token(
49
+ 'popconfirm',
50
+ 'popconfirm-size-title-icon',
51
+ $popconfirm-size-title-icon
52
+ );
53
+ $popconfirm-margin-icon-right: theme-runtime.token(
54
+ 'popconfirm',
55
+ 'popconfirm-margin-icon-right',
56
+ $popconfirm-margin-icon-right,
57
+ 'spacing-4'
58
+ );
59
+ $popconfirm-margin-button-left: theme-runtime.token(
60
+ 'popconfirm',
61
+ 'popconfirm-margin-button-left',
62
+ $popconfirm-margin-button-left,
63
+ 'spacing-4'
64
+ );
65
+ $popconfirm-color-title-text: theme-runtime.token(
66
+ 'popconfirm',
67
+ 'popconfirm-color-title-text',
68
+ $popconfirm-color-title-text
69
+ );
70
+ $popconfirm-color-content-bg: theme-runtime.token(
71
+ 'popconfirm',
72
+ 'popconfirm-color-content-bg',
73
+ $popconfirm-color-content-bg
74
+ );
75
+ $popconfirm-color-border: theme-runtime.token(
76
+ 'popconfirm',
77
+ 'popconfirm-color-border',
78
+ $popconfirm-color-border
79
+ );
80
+ $popconfirm-border-radius: theme-runtime.token(
81
+ 'popconfirm',
82
+ 'popconfirm-border-radius',
83
+ $popconfirm-border-radius
84
+ );
85
+ $popconfirm-shadow: theme-runtime.token('popconfirm', 'popconfirm-shadow', $popconfirm-shadow);
86
+ $popconfirm-color-title-icon: theme-runtime.token(
87
+ 'popconfirm',
88
+ 'popconfirm-color-title-icon',
89
+ $popconfirm-color-title-icon,
90
+ 'color-warning-6'
91
+ );
92
+ $popconfirm-color-title-icon_danger: theme-runtime.token(
93
+ 'popconfirm',
94
+ 'popconfirm-color-title-icon-danger',
95
+ $popconfirm-color-title-icon_danger,
96
+ 'color-danger-6'
97
+ );
98
+ $popconfirm-color-title-icon_success: theme-runtime.token(
99
+ 'popconfirm',
100
+ 'popconfirm-color-title-icon-success',
101
+ $popconfirm-color-title-icon_success,
102
+ 'color-success-6'
103
+ );
104
+ $popconfirm-color-title-icon_info: theme-runtime.token(
105
+ 'popconfirm',
106
+ 'popconfirm-color-title-icon-info',
107
+ $popconfirm-color-title-icon_info,
108
+ 'color-primary-6'
109
+ );
@@ -17,28 +17,28 @@
17
17
  /********* icon hover *********/
18
18
  .sd-popover-popup-content {
19
19
  box-sizing: border-box;
20
- padding: 12px 16px;
21
- color: var(--sd-color-text-2);
22
- font-size: 14px;
20
+ padding: var(--component-popover-popup-padding-vertical, var(--component-popover-padding-vertical, var(--spacing-6, 12px))) var(--component-popover-popup-padding-horizontal, var(--component-popover-padding-horizontal, var(--spacing-7, 16px)));
21
+ color: var(--component-popover-popup-color-content-text, var(--component-popover-color-content-text, var(--sd-color-text-2)));
22
+ font-size: var(--component-popover-popup-font-size, var(--component-popover-font-size, var(--font-size-body-3, 14px)));
23
23
  line-height: 1.5715;
24
- background-color: var(--sd-color-bg-popup);
25
- border: 1px solid var(--sd-color-neutral-3);
26
- border-radius: var(--sd-border-radius-medium);
27
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
24
+ background-color: var(--component-popover-popup-color-content-bg, var(--component-popover-color-content-bg, var(--sd-color-bg-popup)));
25
+ border: 1px solid var(--component-popover-popup-color-border, var(--component-popover-color-border, var(--sd-color-neutral-3)));
26
+ border-radius: var(--component-popover-popup-border-radius, var(--component-popover-border-radius, var(--component-popover-popup-border-radius, var(--component-popover-border-radius, var(--sd-border-radius-medium)))));
27
+ box-shadow: var(--component-popover-popup-shadow, var(--component-popover-shadow, 0 2px 6px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08)));
28
28
  }
29
29
  .sd-popover-title {
30
- color: var(--sd-color-text-1);
30
+ color: var(--component-popover-popup-color-title-text, var(--component-popover-color-title-text, var(--sd-color-text-1)));
31
31
  font-weight: 500;
32
- font-size: 16px;
32
+ font-size: var(--component-popover-popup-font-title-size, var(--component-popover-font-title-size, var(--font-size-title-1, 16px)));
33
33
  }
34
34
  .sd-popover-content {
35
35
  text-align: left;
36
36
  overflow-wrap: break-word;
37
37
  }
38
38
  .sd-popover-title + .sd-popover-content {
39
- margin-top: 4px;
39
+ margin-top: var(--component-popover-popup-margin-content-top, var(--component-popover-margin-content-top, var(--spacing-2, 4px)));
40
40
  }
41
41
  .sd-popover-popup-arrow {
42
- background-color: var(--sd-color-bg-popup);
43
- border: 1px solid var(--sd-color-neutral-3);
42
+ background-color: var(--component-popover-popup-color-content-bg, var(--component-popover-color-content-bg, var(--sd-color-bg-popup)));
43
+ border: 1px solid var(--component-popover-popup-color-border, var(--component-popover-color-border, var(--sd-color-neutral-3)));
44
44
  }
@@ -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';
@@ -31,3 +32,60 @@ $popup-color-border: var(string.unquote('#{global.$sd-cssvars-prefix}-color-neut
31
32
  $popup-font-size: global.$font-size-body-3;
32
33
 
33
34
  $popup-border-radius: global.$radius-medium;
35
+
36
+ // @generated runtime tokens — pnpm theme:generate
37
+ $popup-color-content-text: theme-runtime.token(
38
+ 'popover',
39
+ 'popup-color-content-text',
40
+ $popup-color-content-text
41
+ );
42
+ $popup-border-radius: theme-runtime.token('popover', 'popup-border-radius', $popup-border-radius);
43
+ $popup-color-content-bg: theme-runtime.token(
44
+ 'popover',
45
+ 'popup-color-content-bg',
46
+ $popup-color-content-bg
47
+ );
48
+ $popup-shadow: theme-runtime.token('popover', 'popup-shadow', $popup-shadow);
49
+ $popup-padding-content-top: theme-runtime.token(
50
+ 'popover',
51
+ 'popup-padding-content-top',
52
+ $popup-padding-content-top,
53
+ 'spacing-2'
54
+ );
55
+ $popup-padding-horizontal: theme-runtime.token(
56
+ 'popover',
57
+ 'popup-padding-horizontal',
58
+ $popup-padding-horizontal,
59
+ 'spacing-7'
60
+ );
61
+ $popup-padding-vertical: theme-runtime.token(
62
+ 'popover',
63
+ 'popup-padding-vertical',
64
+ $popup-padding-vertical,
65
+ 'spacing-6'
66
+ );
67
+ $popup-color-title-text: theme-runtime.token(
68
+ 'popover',
69
+ 'popup-color-title-text',
70
+ $popup-color-title-text
71
+ );
72
+ $popup-font-title-size: theme-runtime.token(
73
+ 'popover',
74
+ 'popup-font-title-size',
75
+ $popup-font-title-size,
76
+ 'font-size-title-1'
77
+ );
78
+ $popup-margin-content-top: theme-runtime.token(
79
+ 'popover',
80
+ 'popup-margin-content-top',
81
+ $popup-margin-content-top,
82
+ 'spacing-2'
83
+ );
84
+ $popup-color-border: theme-runtime.token('popover', 'popup-color-border', $popup-color-border);
85
+ $popup-font-size: theme-runtime.token(
86
+ 'popover',
87
+ 'popup-font-size',
88
+ $popup-font-size,
89
+ 'font-size-body-3'
90
+ );
91
+ $popup-border-radius: theme-runtime.token('popover', 'popup-border-radius', $popup-border-radius);
@@ -17,7 +17,7 @@
17
17
  /********* icon hover *********/
18
18
  .sd-progress {
19
19
  position: relative;
20
- font-size: 12px;
20
+ font-size: var(--component-progress-progress-line-size-default-font-size, var(--component-progress-line-size-default-font-size, 12px));
21
21
  line-height: 1;
22
22
  }
23
23
  .sd-progress-type-line, .sd-progress-type-steps {
@@ -38,30 +38,30 @@
38
38
  .sd-progress-line-text, .sd-progress-steps-text {
39
39
  flex-grow: 1;
40
40
  flex-shrink: 0;
41
- min-width: 32px;
42
- margin-left: 16px;
43
- color: var(--sd-color-text-2);
44
- font-size: 12px;
41
+ min-width: var(--component-progress-progress-line-size-text-width, var(--component-progress-line-size-text-width, 32px));
42
+ margin-left: var(--component-progress-progress-line-margin-text-left, var(--component-progress-line-margin-text-left, 16px));
43
+ color: var(--component-progress-progress-line-color-text, var(--component-progress-line-color-text, var(--sd-color-text-2)));
44
+ font-size: var(--component-progress-progress-line-size-default-font-size, var(--component-progress-line-size-default-font-size, 12px));
45
45
  white-space: nowrap;
46
46
  text-align: right;
47
47
  }
48
48
  .sd-progress-line-text .sd-icon, .sd-progress-steps-text .sd-icon {
49
- margin-left: 4px;
50
- font-size: 12px;
49
+ margin-left: var(--component-progress-progress-line-margin-icon-left, var(--component-progress-line-margin-icon-left, 4px));
50
+ font-size: var(--component-progress-progress-line-size-default-icon-size, var(--component-progress-line-size-default-icon-size, 12px));
51
51
  }
52
52
  .sd-progress-line {
53
53
  position: relative;
54
54
  display: inline-block;
55
55
  width: 100%;
56
56
  overflow: hidden;
57
- background-color: var(--sd-color-fill-3);
57
+ background-color: var(--component-progress-progress-line-color-line-bg, var(--component-progress-line-color-line-bg, var(--sd-color-fill-3)));
58
58
  border-radius: 100px;
59
59
  }
60
60
  .sd-progress-line-bar {
61
61
  position: relative;
62
62
  max-width: 100%;
63
63
  height: 100%;
64
- background-color: rgb(var(--sd-primary-6));
64
+ background-color: var(--component-progress-progress-line-color-inner-bg, var(--component-progress-line-color-inner-bg, rgb(var(--sd-primary-6))));
65
65
  border-radius: 100px;
66
66
  transition: width 0.6s cubic-bezier(0.34, 0.69, 0.1, 1), background 0.3s cubic-bezier(0.34, 0.69, 0.1, 1);
67
67
  }
@@ -71,7 +71,7 @@
71
71
  left: 0;
72
72
  max-width: 100%;
73
73
  height: 100%;
74
- background-color: var(--sd-color-primary-light-3);
74
+ background-color: var(--component-progress-progress-line-color-buffer-bg, var(--component-progress-line-color-buffer-bg, var(--sd-color-primary-light-3)));
75
75
  border-radius: 0 100px 100px 0;
76
76
  transition: width 0.6s cubic-bezier(0.34, 0.69, 0.1, 1), background-color 0.6s cubic-bezier(0.34, 0.69, 0.1, 1);
77
77
  }
@@ -88,18 +88,18 @@
88
88
  content: "";
89
89
  }
90
90
  .sd-progress-line-text .sd-icon {
91
- color: var(--sd-color-text-2);
91
+ color: var(--component-progress-progress-line-color-icon-normal, var(--component-progress-line-color-icon-normal, var(--sd-color-text-2)));
92
92
  }
93
93
  .sd-progress-type-steps.sd-progress-size-small {
94
94
  width: auto;
95
95
  }
96
96
  .sd-progress-type-steps.sd-progress-size-small .sd-progress-steps-item {
97
97
  flex: unset;
98
- width: 2px;
99
- border-radius: 2px;
98
+ width: var(--component-progress-progress-steps-size-small-steps-item-width, var(--component-progress-steps-size-small-steps-item-width, 2px));
99
+ border-radius: var(--component-progress-progress-steps-size-small-steps-item-width, var(--component-progress-steps-size-small-steps-item-width, 2px));
100
100
  }
101
101
  .sd-progress-type-steps.sd-progress-size-small .sd-progress-steps-item:not(:last-of-type) {
102
- margin-right: 3px;
102
+ margin-right: var(--component-progress-progress-steps-margin-steps-item-right-small, var(--component-progress-steps-margin-steps-item-right-small, 3px));
103
103
  }
104
104
  .sd-progress-steps {
105
105
  display: flex;
@@ -107,20 +107,20 @@
107
107
  }
108
108
  .sd-progress-steps-text {
109
109
  min-width: unset;
110
- margin-left: 8px;
110
+ margin-left: var(--component-progress-progress-steps-margin-text-left, var(--component-progress-steps-margin-text-left, 8px));
111
111
  }
112
112
  .sd-progress-steps-text .sd-icon {
113
- color: var(--sd-color-text-2);
113
+ color: var(--component-progress-progress-line-color-icon-normal, var(--component-progress-line-color-icon-normal, var(--sd-color-text-2)));
114
114
  }
115
115
  .sd-progress-steps-item {
116
116
  position: relative;
117
117
  display: inline-block;
118
118
  flex: 1;
119
119
  height: 100%;
120
- background-color: var(--sd-color-fill-3);
120
+ background-color: var(--component-progress-progress-steps-color-item-bg, var(--component-progress-steps-color-item-bg, var(--sd-color-fill-3)));
121
121
  }
122
122
  .sd-progress-steps-item:not(:last-of-type) {
123
- margin-right: 3px;
123
+ margin-right: var(--component-progress-progress-steps-margin-steps-item-right, var(--component-progress-steps-margin-steps-item-right, 3px));
124
124
  }
125
125
  .sd-progress-steps-item:last-of-type {
126
126
  border-top-right-radius: 100px;
@@ -131,51 +131,51 @@
131
131
  border-bottom-left-radius: 100px;
132
132
  }
133
133
  .sd-progress-steps-item-active {
134
- background-color: rgb(var(--sd-primary-6));
134
+ background-color: var(--component-progress-progress-steps-color-item-bg-normal, var(--component-progress-steps-color-item-bg-normal, rgb(var(--sd-primary-6))));
135
135
  }
136
136
  .sd-progress-status-warning .sd-progress-line-bar {
137
- background-color: rgb(var(--sd-warning-6));
137
+ background-color: var(--component-progress-progress-line-color-inner-bg-warning, var(--component-progress-line-color-inner-bg-warning, rgb(var(--sd-warning-6))));
138
138
  }
139
139
  .sd-progress-status-warning .sd-progress-steps-item-active {
140
- background-color: rgb(var(--sd-warning-6));
140
+ background-color: var(--component-progress-progress-steps-color-item-bg-warning, var(--component-progress-steps-color-item-bg-warning, rgb(var(--sd-warning-6))));
141
141
  }
142
142
  .sd-progress-status-warning .sd-progress-line-text .sd-icon,
143
143
  .sd-progress-status-warning .sd-progress-steps-text .sd-icon {
144
- color: rgb(var(--sd-warning-6));
144
+ color: var(--component-progress-progress-line-color-icon-warning, var(--component-progress-line-color-icon-warning, rgb(var(--sd-warning-6))));
145
145
  }
146
146
  .sd-progress-status-success .sd-progress-line-bar {
147
- background-color: rgb(var(--sd-success-6));
147
+ background-color: var(--component-progress-progress-line-color-inner-bg-success, var(--component-progress-line-color-inner-bg-success, rgb(var(--sd-success-6))));
148
148
  }
149
149
  .sd-progress-status-success .sd-progress-steps-item-active {
150
- background-color: rgb(var(--sd-success-6));
150
+ background-color: var(--component-progress-progress-steps-color-item-bg-success, var(--component-progress-steps-color-item-bg-success, rgb(var(--sd-success-6))));
151
151
  }
152
152
  .sd-progress-status-success .sd-progress-line-text .sd-icon,
153
153
  .sd-progress-status-success .sd-progress-steps-text .sd-icon {
154
- color: rgb(var(--sd-success-6));
154
+ color: var(--component-progress-progress-line-color-icon-success, var(--component-progress-line-color-icon-success, rgb(var(--sd-success-6))));
155
155
  }
156
156
  .sd-progress-status-danger .sd-progress-line-bar {
157
- background-color: rgb(var(--sd-danger-6));
157
+ background-color: var(--component-progress-progress-line-color-inner-bg-error, var(--component-progress-line-color-inner-bg-error, rgb(var(--sd-danger-6))));
158
158
  }
159
159
  .sd-progress-status-danger .sd-progress-steps-item-active {
160
- background-color: rgb(var(--sd-danger-6));
160
+ background-color: var(--component-progress-progress-steps-color-item-bg-error, var(--component-progress-steps-color-item-bg-error, rgb(var(--sd-danger-6))));
161
161
  }
162
162
  .sd-progress-status-danger .sd-progress-line-text .sd-icon,
163
163
  .sd-progress-status-danger .sd-progress-steps-text .sd-icon {
164
- color: rgb(var(--sd-danger-6));
164
+ color: var(--component-progress-progress-line-color-icon-error, var(--component-progress-line-color-icon-error, rgb(var(--sd-danger-6))));
165
165
  }
166
166
  .sd-progress-size-small .sd-progress-line-text {
167
- margin-left: 16px;
168
- font-size: 12px;
167
+ margin-left: var(--component-progress-progress-line-size-small-margin-text-left, var(--component-progress-line-size-small-margin-text-left, 16px));
168
+ font-size: var(--component-progress-progress-line-size-small-font-size, var(--component-progress-line-size-small-font-size, 12px));
169
169
  }
170
170
  .sd-progress-size-small .sd-progress-line-text .sd-icon {
171
- font-size: 12px;
171
+ font-size: var(--component-progress-progress-line-size-small-icon-size, var(--component-progress-line-size-small-icon-size, 12px));
172
172
  }
173
173
  .sd-progress-size-large .sd-progress-line-text {
174
- margin-left: 16px;
175
- font-size: 16px;
174
+ margin-left: var(--component-progress-progress-line-size-large-margin-text-left, var(--component-progress-line-size-large-margin-text-left, 16px));
175
+ font-size: var(--component-progress-progress-line-size-large-font-size, var(--component-progress-line-size-large-font-size, 16px));
176
176
  }
177
177
  .sd-progress-size-large .sd-progress-line-text .sd-icon {
178
- font-size: 14px;
178
+ font-size: var(--component-progress-progress-line-size-large-icon-size, var(--component-progress-line-size-large-icon-size, 14px));
179
179
  }
180
180
 
181
181
  .sd-progress-type-circle {
@@ -195,35 +195,35 @@
195
195
  position: absolute;
196
196
  top: 50%;
197
197
  left: 50%;
198
- color: var(--sd-color-text-3);
199
- font-size: 14px;
198
+ color: var(--component-progress-progress-circle-color-text, var(--component-progress-circle-color-text, var(--sd-color-text-3)));
199
+ font-size: var(--component-progress-progress-circle-size-default-font-size, var(--component-progress-circle-size-default-font-size, 14px));
200
200
  transform: translate(-50%, -50%);
201
201
  }
202
202
  .sd-progress-circle-text .sd-icon {
203
- color: var(--sd-color-text-2);
204
- font-size: 16px;
203
+ color: var(--component-progress-progress-line-color-icon-normal, var(--component-progress-line-color-icon-normal, var(--sd-color-text-2)));
204
+ font-size: var(--component-progress-progress-circle-size-default-icon-size, var(--component-progress-circle-size-default-icon-size, 16px));
205
205
  }
206
206
  .sd-progress-circle-bg {
207
- stroke: var(--sd-color-fill-3);
207
+ stroke: var(--component-progress-progress-circle-color-mask-stroke, var(--component-progress-circle-color-mask-stroke, var(--sd-color-fill-3)));
208
208
  }
209
209
  .sd-progress-circle-bar {
210
210
  transition: stroke-dashoffset 0.6s cubic-bezier(0.34, 0.69, 0.1, 1) 0s, stroke 0.6s cubic-bezier(0.34, 0.69, 0.1, 1);
211
- stroke: rgb(var(--sd-primary-6));
211
+ stroke: var(--component-progress-progress-circle-color-path-stroke, var(--component-progress-circle-color-path-stroke, rgb(var(--sd-primary-6))));
212
212
  }
213
213
  .sd-progress-size-mini .sd-progress-circle-bg {
214
- stroke: var(--sd-color-primary-light-3);
214
+ stroke: var(--component-progress-progress-circle-size-mini-color-mask-stroke, var(--component-progress-circle-size-mini-color-mask-stroke, var(--sd-color-primary-light-3)));
215
215
  }
216
216
  .sd-progress-size-mini .sd-progress-circle-bar {
217
- stroke: rgb(var(--sd-primary-6));
217
+ stroke: var(--component-progress-progress-circle-color-path-stroke, var(--component-progress-circle-color-path-stroke, rgb(var(--sd-primary-6))));
218
218
  }
219
219
  .sd-progress-size-mini.sd-progress-status-warning .sd-progress-circle-bg {
220
- stroke: var(--sd-color-warning-light-3);
220
+ stroke: var(--component-progress-progress-circle-size-mini-color-mask-stroke-warning, var(--component-progress-circle-size-mini-color-mask-stroke-warning, var(--sd-color-warning-light-3)));
221
221
  }
222
222
  .sd-progress-size-mini.sd-progress-status-danger .sd-progress-circle-bg {
223
- stroke: var(--sd-color-danger-light-3);
223
+ stroke: var(--component-progress-progress-circle-size-mini-color-mask-stroke-error, var(--component-progress-circle-size-mini-color-mask-stroke-error, var(--sd-color-danger-light-3)));
224
224
  }
225
225
  .sd-progress-size-mini.sd-progress-status-success .sd-progress-circle-bg {
226
- stroke: var(--sd-color-success-light-3);
226
+ stroke: var(--component-progress-progress-circle-size-mini-color-mask-stroke-success, var(--component-progress-circle-size-mini-color-mask-stroke-success, var(--sd-color-success-light-3)));
227
227
  }
228
228
  .sd-progress-size-mini .sd-progress-circle-wrapper .sd-icon-check {
229
229
  position: absolute;
@@ -238,34 +238,34 @@
238
238
  transform: unset;
239
239
  }
240
240
  .sd-progress-size-small .sd-progress-circle-text {
241
- font-size: 13px;
241
+ font-size: var(--component-progress-progress-circle-size-small-font-size, var(--component-progress-circle-size-small-font-size, 13px));
242
242
  }
243
243
  .sd-progress-size-small .sd-progress-circle-text .sd-icon {
244
- font-size: 14px;
244
+ font-size: var(--component-progress-progress-circle-size-small-icon-size, var(--component-progress-circle-size-small-icon-size, 14px));
245
245
  }
246
246
  .sd-progress-size-large .sd-progress-circle-text {
247
- font-size: 16px;
247
+ font-size: var(--component-progress-progress-circle-size-large-font-size, var(--component-progress-circle-size-large-font-size, 16px));
248
248
  }
249
249
  .sd-progress-size-large .sd-progress-circle-text .sd-icon {
250
- font-size: 16px;
250
+ font-size: var(--component-progress-progress-circle-size-large-icon-size, var(--component-progress-circle-size-large-icon-size, 16px));
251
251
  }
252
252
  .sd-progress-status-warning .sd-progress-circle-bar {
253
- stroke: rgb(var(--sd-warning-6));
253
+ stroke: var(--component-progress-progress-circle-color-path-stroke-warning, var(--component-progress-circle-color-path-stroke-warning, rgb(var(--sd-warning-6))));
254
254
  }
255
255
  .sd-progress-status-warning .sd-icon {
256
- color: rgb(var(--sd-warning-6));
256
+ color: var(--component-progress-progress-circle-color-icon-warning, var(--component-progress-circle-color-icon-warning, rgb(var(--sd-warning-6))));
257
257
  }
258
258
  .sd-progress-status-success .sd-progress-circle-bar {
259
- stroke: rgb(var(--sd-success-6));
259
+ stroke: var(--component-progress-progress-circle-color-path-stroke-success, var(--component-progress-circle-color-path-stroke-success, rgb(var(--sd-success-6))));
260
260
  }
261
261
  .sd-progress-status-success .sd-icon {
262
- color: rgb(var(--sd-success-6));
262
+ color: var(--component-progress-progress-circle-color-icon-success, var(--component-progress-circle-color-icon-success, rgb(var(--sd-success-6))));
263
263
  }
264
264
  .sd-progress-status-danger .sd-progress-circle-bar {
265
- stroke: rgb(var(--sd-danger-6));
265
+ stroke: var(--component-progress-progress-circle-color-path-stroke-error, var(--component-progress-circle-color-path-stroke-error, rgb(var(--sd-danger-6))));
266
266
  }
267
267
  .sd-progress-status-danger .sd-icon {
268
- color: rgb(var(--sd-danger-6));
268
+ color: var(--component-progress-progress-circle-color-icon-error, var(--component-progress-circle-color-icon-error, rgb(var(--sd-danger-6))));
269
269
  }
270
270
 
271
271
  @keyframes sd-progress-loading {