@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
@@ -28,28 +28,28 @@
28
28
  z-index: -1;
29
29
  display: block;
30
30
  box-sizing: border-box;
31
- width: 8px;
32
- height: 8px;
33
- background-color: var(--sd-color-bg-5);
31
+ width: var(--component-trigger-trigger-size-arrow-width, var(--component-trigger-size-arrow-width, var(--size-2, 8px)));
32
+ height: var(--component-trigger-trigger-size-arrow-width, var(--component-trigger-size-arrow-width, var(--size-2, 8px)));
33
+ background-color: var(--component-trigger-trigger-color-arrow-bg, var(--component-trigger-color-arrow-bg, var(--sd-color-bg-5)));
34
34
  content: "";
35
35
  }
36
36
  .sd-trigger-popup[trigger-placement=top] .sd-trigger-arrow, .sd-trigger-popup[trigger-placement=tl] .sd-trigger-arrow, .sd-trigger-popup[trigger-placement=tr] .sd-trigger-arrow {
37
37
  border-top: none;
38
38
  border-left: none;
39
- border-bottom-right-radius: var(--sd-border-radius-small);
39
+ border-bottom-right-radius: var(--component-trigger-trigger-border-arrow-radius, var(--component-trigger-border-arrow-radius, var(--sd-border-radius-small)));
40
40
  }
41
41
  .sd-trigger-popup[trigger-placement=bottom] .sd-trigger-arrow, .sd-trigger-popup[trigger-placement=bl] .sd-trigger-arrow, .sd-trigger-popup[trigger-placement=br] .sd-trigger-arrow {
42
42
  border-right: none;
43
43
  border-bottom: none;
44
- border-top-left-radius: var(--sd-border-radius-small);
44
+ border-top-left-radius: var(--component-trigger-trigger-border-arrow-radius, var(--component-trigger-border-arrow-radius, var(--sd-border-radius-small)));
45
45
  }
46
46
  .sd-trigger-popup[trigger-placement=left] .sd-trigger-arrow, .sd-trigger-popup[trigger-placement=lt] .sd-trigger-arrow, .sd-trigger-popup[trigger-placement=lb] .sd-trigger-arrow {
47
47
  border-bottom: none;
48
48
  border-left: none;
49
- border-top-right-radius: var(--sd-border-radius-small);
49
+ border-top-right-radius: var(--component-trigger-trigger-border-arrow-radius, var(--component-trigger-border-arrow-radius, var(--sd-border-radius-small)));
50
50
  }
51
51
  .sd-trigger-popup[trigger-placement=right] .sd-trigger-arrow, .sd-trigger-popup[trigger-placement=rt] .sd-trigger-arrow, .sd-trigger-popup[trigger-placement=rb] .sd-trigger-arrow {
52
52
  border-top: none;
53
53
  border-right: none;
54
- border-bottom-left-radius: var(--sd-border-radius-small);
54
+ border-bottom-left-radius: var(--component-trigger-trigger-border-arrow-radius, var(--component-trigger-border-arrow-radius, var(--sd-border-radius-small)));
55
55
  }
@@ -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';
@@ -11,3 +12,21 @@ $trigger-color-arrow-bg: var(string.unquote('#{global.$sd-cssvars-prefix}-color-
11
12
  $trigger-size-arrow-width: global.$size-2;
12
13
 
13
14
  $trigger-border-arrow-radius: global.$radius-small;
15
+
16
+ // @generated runtime tokens — pnpm theme:generate
17
+ $trigger-color-arrow-bg: theme-runtime.token(
18
+ 'trigger',
19
+ 'trigger-color-arrow-bg',
20
+ $trigger-color-arrow-bg
21
+ );
22
+ $trigger-size-arrow-width: theme-runtime.token(
23
+ 'trigger',
24
+ 'trigger-size-arrow-width',
25
+ $trigger-size-arrow-width,
26
+ 'size-2'
27
+ );
28
+ $trigger-border-arrow-radius: theme-runtime.token(
29
+ 'trigger',
30
+ 'trigger-border-arrow-radius',
31
+ $trigger-border-arrow-radius
32
+ );
@@ -21,8 +21,8 @@
21
21
  /******** 高级配置项 *******/
22
22
  /******** 高级配置项 end *******/
23
23
  .sd-typography {
24
- color: var(--sd-color-text-1);
25
- line-height: 1.5715;
24
+ color: var(--component-typography-typography-color-text, var(--component-typography-color-text, var(--sd-color-text-1)));
25
+ line-height: var(--component-typography-typography-paragraph-line-height, var(--component-typography-paragraph-line-height, 1.5715));
26
26
  white-space: normal;
27
27
  overflow-wrap: anywhere;
28
28
  }
@@ -32,32 +32,32 @@
32
32
  .sd-typography h4.sd-typography,
33
33
  .sd-typography h5.sd-typography,
34
34
  .sd-typography h6.sd-typography {
35
- margin-top: 1em;
36
- margin-bottom: 0.5em;
37
- font-weight: 500;
35
+ margin-top: var(--component-typography-typography-heading-margin-top, var(--component-typography-heading-margin-top, 1em));
36
+ margin-bottom: var(--component-typography-typography-heading-margin-bottom, var(--component-typography-heading-margin-bottom, 0.5em));
37
+ font-weight: var(--component-typography-typography-heading-font-weight, var(--component-typography-heading-font-weight, var(--font-weight-500, 500)));
38
38
  }
39
39
  .sd-typography h1.sd-typography {
40
- font-size: 36px;
40
+ font-size: var(--component-typography-typography-font-size-h-1, var(--component-typography-font-size-h-1, 36px));
41
41
  line-height: 1.23;
42
42
  }
43
43
  .sd-typography h2.sd-typography {
44
- font-size: 32px;
44
+ font-size: var(--component-typography-typography-font-size-h-2, var(--component-typography-font-size-h-2, 32px));
45
45
  line-height: 1.25;
46
46
  }
47
47
  .sd-typography h3.sd-typography {
48
- font-size: 28px;
48
+ font-size: var(--component-typography-typography-font-size-h-3, var(--component-typography-font-size-h-3, 28px));
49
49
  line-height: 1.29;
50
50
  }
51
51
  .sd-typography h4.sd-typography {
52
- font-size: 24px;
52
+ font-size: var(--component-typography-typography-font-size-h-4, var(--component-typography-font-size-h-4, 24px));
53
53
  line-height: 1.33;
54
54
  }
55
55
  .sd-typography h5.sd-typography {
56
- font-size: 20px;
56
+ font-size: var(--component-typography-typography-font-size-h-5, var(--component-typography-font-size-h-5, 20px));
57
57
  line-height: 1.4;
58
58
  }
59
59
  .sd-typography h6.sd-typography {
60
- font-size: 16px;
60
+ font-size: var(--component-typography-typography-font-size-h-6, var(--component-typography-font-size-h-6, 16px));
61
61
  line-height: 1.5;
62
62
  }
63
63
  .sd-typography div.sd-typography,
@@ -66,26 +66,26 @@
66
66
  margin-bottom: 1em;
67
67
  }
68
68
  .sd-typography-primary {
69
- color: rgb(var(--sd-primary-6));
69
+ color: var(--component-typography-typography-text-color-text-primary, var(--component-typography-text-color-text-primary, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
70
70
  }
71
71
  .sd-typography-secondary {
72
- color: var(--sd-color-text-2);
72
+ color: var(--component-typography-typography-text-color-text-secondary, var(--component-typography-text-color-text-secondary, var(--sd-color-text-2)));
73
73
  }
74
74
  .sd-typography-success {
75
- color: rgb(var(--sd-success-6));
75
+ color: var(--component-typography-typography-text-color-text-success, var(--component-typography-text-color-text-success, var(--color-success-6, var(--sd-color-success-6, rgb(var(--sd-success-6))))));
76
76
  }
77
77
  .sd-typography-warning {
78
- color: rgb(var(--sd-warning-6));
78
+ color: var(--component-typography-typography-text-color-text-warning, var(--component-typography-text-color-text-warning, var(--color-warning-6, var(--sd-color-warning-6, rgb(var(--sd-warning-6))))));
79
79
  }
80
80
  .sd-typography-danger {
81
- color: rgb(var(--sd-danger-6));
81
+ color: var(--component-typography-typography-text-color-text-error, var(--component-typography-text-color-text-error, var(--color-danger-6, var(--sd-color-danger-6, rgb(var(--sd-danger-6))))));
82
82
  }
83
83
  .sd-typography-disabled {
84
- color: var(--sd-color-text-4);
84
+ color: var(--component-typography-typography-text-color-text-disabled, var(--component-typography-text-color-text-disabled, var(--sd-color-text-4)));
85
85
  cursor: not-allowed;
86
86
  }
87
87
  .sd-typography mark {
88
- background-color: rgb(var(--sd-yellow-4));
88
+ background-color: var(--component-typography-typography-text-color-bg-mark, var(--component-typography-text-color-bg-mark, rgb(var(--sd-yellow-4))));
89
89
  }
90
90
  .sd-typography u {
91
91
  text-decoration: underline;
@@ -94,23 +94,23 @@
94
94
  text-decoration: line-through;
95
95
  }
96
96
  .sd-typography b {
97
- font-weight: 500;
97
+ font-weight: var(--component-typography-typography-text-font-weight-bold, var(--component-typography-text-font-weight-bold, var(--font-weight-500, 500)));
98
98
  }
99
99
  .sd-typography code {
100
- margin: 0 2px;
101
- padding: 2px 8px;
102
- color: var(--sd-color-text-2);
100
+ margin: 0 var(--component-typography-typography-text-margin-code-horizontal, var(--component-typography-text-margin-code-horizontal, 2px));
101
+ padding: var(--component-typography-typography-text-padding-code-vertical, var(--component-typography-text-padding-code-vertical, 2px)) var(--component-typography-typography-text-padding-code-horizontal, var(--component-typography-text-padding-code-horizontal, 8px));
102
+ color: var(--component-typography-typography-text-color-code, var(--component-typography-text-color-code, var(--sd-color-text-2)));
103
103
  font-size: 85%;
104
- background-color: var(--sd-color-neutral-2);
105
- border: 1px solid var(--sd-color-neutral-3);
104
+ background-color: var(--component-typography-typography-text-color-code-bg, var(--component-typography-text-color-code-bg, var(--sd-color-neutral-2)));
105
+ border: 1px solid var(--component-typography-typography-text-color-code-border, var(--component-typography-text-color-code-border, var(--sd-color-neutral-3)));
106
106
  border-radius: 2px;
107
107
  }
108
108
  .sd-typography blockquote {
109
109
  margin: 0;
110
110
  margin-bottom: 1em;
111
111
  padding-left: 8px;
112
- background-color: var(--sd-color-bg-2);
113
- border-left: 2px solid var(--sd-color-neutral-6);
112
+ background-color: var(--component-typography-typography-color-blockquote-bg, var(--component-typography-color-blockquote-bg, var(--sd-color-bg-2)));
113
+ border-left: var(--component-typography-typography-color-blockquote-border-width, var(--component-typography-color-blockquote-border-width, 2px)) solid var(--component-typography-typography-color-blockquote-border-left, var(--component-typography-color-blockquote-border-left, var(--sd-color-neutral-6)));
114
114
  }
115
115
  .sd-typography ol, .sd-typography ul {
116
116
  margin: 0;
@@ -123,46 +123,46 @@
123
123
  list-style: circle;
124
124
  }
125
125
  .sd-typography-spacing-close {
126
- line-height: 1.3;
126
+ line-height: var(--component-typography-typography-paragraph-line-height-close, var(--component-typography-paragraph-line-height-close, 1.3));
127
127
  }
128
128
  .sd-typography-operation-copy, .sd-typography-operation-copied {
129
- margin-left: 2px;
129
+ margin-left: var(--component-typography-typography-operation-margin-left, var(--component-typography-operation-margin-left, var(--spacing-1, 2px)));
130
130
  padding: 2px;
131
131
  }
132
132
  .sd-typography-operation-copy {
133
- color: var(--sd-color-text-2);
134
- background-color: transparent;
133
+ color: var(--component-typography-typography-color-icon-copy, var(--component-typography-color-icon-copy, var(--sd-color-text-2)));
134
+ background-color: var(--component-typography-typography-color-bg-icon-copy, var(--component-typography-color-bg-icon-copy, var(--color-transparent, var(--sd-color-transparent, transparent))));
135
135
  border-radius: 2px;
136
136
  cursor: pointer;
137
137
  transition: background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
138
138
  }
139
139
  .sd-typography-operation-copy:hover {
140
- color: var(--sd-color-text-2);
141
- background-color: var(--sd-color-fill-2);
140
+ color: var(--component-typography-typography-color-icon-copy-hover, var(--component-typography-color-icon-copy-hover, var(--sd-color-text-2)));
141
+ background-color: var(--component-typography-typography-color-bg-icon-copy-hover, var(--component-typography-color-bg-icon-copy-hover, var(--sd-color-fill-2)));
142
142
  }
143
143
  .sd-typography-operation-copied {
144
- color: rgb(var(--sd-success-6));
144
+ color: var(--component-typography-typography-color-icon-copy-copied, var(--component-typography-color-icon-copy-copied, var(--color-success-6, var(--sd-color-success-6, rgb(var(--sd-success-6))))));
145
145
  }
146
146
  .sd-typography-operation-edit {
147
- margin-left: 2px;
147
+ margin-left: var(--component-typography-typography-operation-margin-left, var(--component-typography-operation-margin-left, var(--spacing-1, 2px)));
148
148
  padding: 2px;
149
- color: var(--sd-color-text-2);
150
- background-color: transparent;
149
+ color: var(--component-typography-typography-color-icon-edit, var(--component-typography-color-icon-edit, var(--sd-color-text-2)));
150
+ background-color: var(--component-typography-typography-color-bg-icon-edit, var(--component-typography-color-bg-icon-edit, var(--color-transparent, var(--sd-color-transparent, transparent))));
151
151
  border-radius: 2px;
152
152
  cursor: pointer;
153
153
  transition: background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
154
154
  }
155
155
  .sd-typography-operation-edit:hover {
156
- color: var(--sd-color-text-2);
157
- background-color: var(--sd-color-fill-2);
156
+ color: var(--component-typography-typography-color-icon-edit-hover, var(--component-typography-color-icon-edit-hover, var(--sd-color-text-2)));
157
+ background-color: var(--component-typography-typography-color-bg-icon-edit-hover, var(--component-typography-color-bg-icon-edit-hover, var(--sd-color-fill-2)));
158
158
  }
159
159
  .sd-typography-operation-expand {
160
160
  margin: 0 4px;
161
- color: rgb(var(--sd-primary-6));
161
+ color: var(--component-typography-typography-color-expand-text, var(--component-typography-color-expand-text, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
162
162
  cursor: pointer;
163
163
  }
164
164
  .sd-typography-operation-expand:hover {
165
- color: rgb(var(--sd-primary-5));
165
+ color: var(--component-typography-typography-color-expand-text-hover, var(--component-typography-color-expand-text-hover, var(--color-primary-5, var(--sd-color-primary-5, rgb(var(--sd-primary-5))))));
166
166
  }
167
167
  .sd-typography-edit-content {
168
168
  position: relative;
@@ -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';
@@ -71,3 +72,222 @@ $typography-color-blockquote-bg: var(string.unquote('#{global.$sd-cssvars-prefix
71
72
 
72
73
  $typography-heading-margin-top: 1em;
73
74
  $typography-heading-margin-bottom: 0.5em;
75
+
76
+ // @generated runtime tokens — pnpm theme:generate
77
+ $typography-font-size-h1: theme-runtime.token(
78
+ 'typography',
79
+ 'typography-font-size-h-1',
80
+ $typography-font-size-h1
81
+ );
82
+ $typography-font-size-h2: theme-runtime.token(
83
+ 'typography',
84
+ 'typography-font-size-h-2',
85
+ $typography-font-size-h2
86
+ );
87
+ $typography-font-size-h3: theme-runtime.token(
88
+ 'typography',
89
+ 'typography-font-size-h-3',
90
+ $typography-font-size-h3
91
+ );
92
+ $typography-font-size-h4: theme-runtime.token(
93
+ 'typography',
94
+ 'typography-font-size-h-4',
95
+ $typography-font-size-h4
96
+ );
97
+ $typography-font-size-h5: theme-runtime.token(
98
+ 'typography',
99
+ 'typography-font-size-h-5',
100
+ $typography-font-size-h5
101
+ );
102
+ $typography-font-size-h6: theme-runtime.token(
103
+ 'typography',
104
+ 'typography-font-size-h-6',
105
+ $typography-font-size-h6
106
+ );
107
+ $typography-heading-font-weight: theme-runtime.token(
108
+ 'typography',
109
+ 'typography-heading-font-weight',
110
+ $typography-heading-font-weight,
111
+ 'font-weight-500'
112
+ );
113
+ $typography-color-text: theme-runtime.token(
114
+ 'typography',
115
+ 'typography-color-text',
116
+ $typography-color-text
117
+ );
118
+ $typography-text-color-text-primary: theme-runtime.token(
119
+ 'typography',
120
+ 'typography-text-color-text-primary',
121
+ $typography-text-color-text-primary,
122
+ 'color-primary-6'
123
+ );
124
+ $typography-text-color-text-secondary: theme-runtime.token(
125
+ 'typography',
126
+ 'typography-text-color-text-secondary',
127
+ $typography-text-color-text-secondary
128
+ );
129
+ $typography-text-color-text-success: theme-runtime.token(
130
+ 'typography',
131
+ 'typography-text-color-text-success',
132
+ $typography-text-color-text-success,
133
+ 'color-success-6'
134
+ );
135
+ $typography-text-color-text-warning: theme-runtime.token(
136
+ 'typography',
137
+ 'typography-text-color-text-warning',
138
+ $typography-text-color-text-warning,
139
+ 'color-warning-6'
140
+ );
141
+ $typography-text-color-text-error: theme-runtime.token(
142
+ 'typography',
143
+ 'typography-text-color-text-error',
144
+ $typography-text-color-text-error,
145
+ 'color-danger-6'
146
+ );
147
+ $typography-text-color-text_disabled: theme-runtime.token(
148
+ 'typography',
149
+ 'typography-text-color-text-disabled',
150
+ $typography-text-color-text_disabled
151
+ );
152
+ $typography-text-color-bg-mark: theme-runtime.token(
153
+ 'typography',
154
+ 'typography-text-color-bg-mark',
155
+ $typography-text-color-bg-mark
156
+ );
157
+ $typography-text-font-weight-bold: theme-runtime.token(
158
+ 'typography',
159
+ 'typography-text-font-weight-bold',
160
+ $typography-text-font-weight-bold,
161
+ 'font-weight-500'
162
+ );
163
+ $typography-text-color-code: theme-runtime.token(
164
+ 'typography',
165
+ 'typography-text-color-code',
166
+ $typography-text-color-code
167
+ );
168
+ $typography-text-color-code-border: theme-runtime.token(
169
+ 'typography',
170
+ 'typography-text-color-code-border',
171
+ $typography-text-color-code-border
172
+ );
173
+ $typography-text-color-code-bg: theme-runtime.token(
174
+ 'typography',
175
+ 'typography-text-color-code-bg',
176
+ $typography-text-color-code-bg
177
+ );
178
+ $typography-text-padding-code-vertical: theme-runtime.token(
179
+ 'typography',
180
+ 'typography-text-padding-code-vertical',
181
+ $typography-text-padding-code-vertical
182
+ );
183
+ $typography-text-padding-code-horizontal: theme-runtime.token(
184
+ 'typography',
185
+ 'typography-text-padding-code-horizontal',
186
+ $typography-text-padding-code-horizontal
187
+ );
188
+ $typography-text-margin-code-horizontal: theme-runtime.token(
189
+ 'typography',
190
+ 'typography-text-margin-code-horizontal',
191
+ $typography-text-margin-code-horizontal
192
+ );
193
+ $typography-paragraph-line-height: theme-runtime.token(
194
+ 'typography',
195
+ 'typography-paragraph-line-height',
196
+ $line-height-base
197
+ );
198
+ $typography-paragraph-line-height-close: theme-runtime.token(
199
+ 'typography',
200
+ 'typography-paragraph-line-height-close',
201
+ $typography-paragraph-line-height-close
202
+ );
203
+ $typography-operation-margin-left: theme-runtime.token(
204
+ 'typography',
205
+ 'typography-operation-margin-left',
206
+ $typography-operation-margin-left,
207
+ 'spacing-1'
208
+ );
209
+ $typography-color-icon-copy: theme-runtime.token(
210
+ 'typography',
211
+ 'typography-color-icon-copy',
212
+ $typography-color-icon-copy
213
+ );
214
+ $typography-color-bg-icon-copy: theme-runtime.token(
215
+ 'typography',
216
+ 'typography-color-bg-icon-copy',
217
+ $typography-color-bg-icon-copy,
218
+ 'color-transparent'
219
+ );
220
+ $typography-color-icon-copy_hover: theme-runtime.token(
221
+ 'typography',
222
+ 'typography-color-icon-copy-hover',
223
+ $typography-color-icon-copy_hover
224
+ );
225
+ $typography-color-bg-icon-copy_hover: theme-runtime.token(
226
+ 'typography',
227
+ 'typography-color-bg-icon-copy-hover',
228
+ $typography-color-bg-icon-copy_hover
229
+ );
230
+ $typography-color-icon-copy_copied: theme-runtime.token(
231
+ 'typography',
232
+ 'typography-color-icon-copy-copied',
233
+ $typography-color-icon-copy_copied,
234
+ 'color-success-6'
235
+ );
236
+ $typography-color-icon-edit: theme-runtime.token(
237
+ 'typography',
238
+ 'typography-color-icon-edit',
239
+ $typography-color-icon-edit
240
+ );
241
+ $typography-color-bg-icon-edit: theme-runtime.token(
242
+ 'typography',
243
+ 'typography-color-bg-icon-edit',
244
+ $typography-color-bg-icon-edit,
245
+ 'color-transparent'
246
+ );
247
+ $typography-color-icon-edit_hover: theme-runtime.token(
248
+ 'typography',
249
+ 'typography-color-icon-edit-hover',
250
+ $typography-color-icon-edit_hover
251
+ );
252
+ $typography-color-bg-icon-edit_hover: theme-runtime.token(
253
+ 'typography',
254
+ 'typography-color-bg-icon-edit-hover',
255
+ $typography-color-bg-icon-edit_hover
256
+ );
257
+ $typography-color-expand-text: theme-runtime.token(
258
+ 'typography',
259
+ 'typography-color-expand-text',
260
+ $typography-color-expand-text,
261
+ 'color-primary-6'
262
+ );
263
+ $typography-color-expand-text_hover: theme-runtime.token(
264
+ 'typography',
265
+ 'typography-color-expand-text-hover',
266
+ $typography-color-expand-text_hover,
267
+ 'color-primary-5'
268
+ );
269
+ $typography-color-blockquote-border-width: theme-runtime.token(
270
+ 'typography',
271
+ 'typography-color-blockquote-border-width',
272
+ $typography-color-blockquote-border-width
273
+ );
274
+ $typography-color-blockquote-border-left: theme-runtime.token(
275
+ 'typography',
276
+ 'typography-color-blockquote-border-left',
277
+ $typography-color-blockquote-border-left
278
+ );
279
+ $typography-color-blockquote-bg: theme-runtime.token(
280
+ 'typography',
281
+ 'typography-color-blockquote-bg',
282
+ $typography-color-blockquote-bg
283
+ );
284
+ $typography-heading-margin-top: theme-runtime.token(
285
+ 'typography',
286
+ 'typography-heading-margin-top',
287
+ $typography-heading-margin-top
288
+ );
289
+ $typography-heading-margin-bottom: theme-runtime.token(
290
+ 'typography',
291
+ 'typography-heading-margin-bottom',
292
+ $typography-heading-margin-bottom
293
+ );
@@ -38,6 +38,7 @@ declare const Upload: {
38
38
  default: boolean;
39
39
  };
40
40
  customRequest: import("vue").PropType<(option: import("./interfaces").RequestOption) => import("./interfaces").UploadRequest>;
41
+ lockKey: import("vue").PropType<string | ((fileItem: import("./interfaces").FileItem) => string | undefined)>;
41
42
  limit: {
42
43
  type: NumberConstructor;
43
44
  default: number;
@@ -185,6 +186,7 @@ declare const Upload: {
185
186
  default: boolean;
186
187
  };
187
188
  customRequest: import("vue").PropType<(option: import("./interfaces").RequestOption) => import("./interfaces").UploadRequest>;
189
+ lockKey: import("vue").PropType<string | ((fileItem: import("./interfaces").FileItem) => string | undefined)>;
188
190
  limit: {
189
191
  type: NumberConstructor;
190
192
  default: number;
@@ -321,6 +323,7 @@ declare const Upload: {
321
323
  default: boolean;
322
324
  };
323
325
  customRequest: import("vue").PropType<(option: import("./interfaces").RequestOption) => import("./interfaces").UploadRequest>;
326
+ lockKey: import("vue").PropType<string | ((fileItem: import("./interfaces").FileItem) => string | undefined)>;
324
327
  limit: {
325
328
  type: NumberConstructor;
326
329
  default: number;