@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
@@ -19,23 +19,23 @@
19
19
  display: inline-flex;
20
20
  align-items: center;
21
21
  justify-content: center;
22
- padding: 1px 4px;
23
- color: rgb(var(--sd-link-6));
24
- font-size: 14px;
25
- line-height: 1.5715;
22
+ padding: var(--component-link-link-padding-vertical, var(--component-link-padding-vertical, 1px)) var(--component-link-link-padding-horizontal, var(--component-link-padding-horizontal, var(--spacing-2, 4px)));
23
+ color: var(--component-link-link-color-text, var(--component-link-color-text, var(--color-link-6, var(--sd-color-link-6, rgb(var(--sd-link-6))))));
24
+ font-size: var(--component-link-link-font-size, var(--component-link-font-size, var(--font-size-body-3, 14px)));
25
+ line-height: var(--component-link-link-line-height, var(--component-link-line-height, 1.5715));
26
26
  text-decoration: none;
27
27
  background-color: transparent;
28
- border-radius: var(--sd-border-radius-small);
28
+ border-radius: var(--component-link-link-border-radius, var(--component-link-border-radius, var(--sd-border-radius-small)));
29
29
  cursor: pointer;
30
30
  transition: color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
31
31
  }
32
32
  .sd-link:hover {
33
- color: rgb(var(--sd-link-6));
34
- background-color: var(--sd-color-fill-2);
33
+ color: var(--component-link-link-color-text-hover, var(--component-link-color-text-hover, var(--component-link-link-color-text, var(--component-link-color-text, var(--color-link-6, var(--sd-color-link-6, rgb(var(--sd-link-6))))))));
34
+ background-color: var(--component-link-link-color-bg-hover, var(--component-link-color-bg-hover, var(--sd-color-fill-2)));
35
35
  }
36
36
  .sd-link:active {
37
- color: rgb(var(--sd-link-6));
38
- background-color: var(--sd-color-fill-3);
37
+ color: var(--component-link-link-color-text-active, var(--component-link-color-text-active, var(--component-link-link-color-text, var(--component-link-color-text, var(--color-link-6, var(--sd-color-link-6, rgb(var(--sd-link-6))))))));
38
+ background-color: var(--component-link-link-color-bg-active, var(--component-link-color-bg-active, var(--sd-color-fill-3)));
39
39
  transition: none;
40
40
  }
41
41
  .sd-link.sd-link-hoverless {
@@ -47,63 +47,63 @@
47
47
  background-color: unset;
48
48
  }
49
49
  .sd-link.sd-link-disabled {
50
- color: var(--sd-color-link-light-3);
50
+ color: var(--component-link-link-color-text-disabled, var(--component-link-color-text-disabled, var(--sd-color-link-light-3)));
51
51
  background: none;
52
52
  cursor: not-allowed;
53
53
  }
54
54
  .sd-link.sd-link-loading {
55
- color: var(--sd-color-link-light-3);
55
+ color: var(--component-link-link-color-text-loading, var(--component-link-color-text-loading, var(--sd-color-link-light-3)));
56
56
  background: none;
57
57
  cursor: default;
58
58
  }
59
59
  .sd-link-status-success {
60
- color: rgb(var(--sd-success-6));
60
+ color: var(--component-link-link-color-text-success, var(--component-link-color-text-success, var(--color-success-6, var(--sd-color-success-6, rgb(var(--sd-success-6))))));
61
61
  }
62
62
  .sd-link-status-success:hover {
63
- color: rgb(var(--sd-success-6));
63
+ color: var(--component-link-link-color-text-success-hover, var(--component-link-color-text-success-hover, var(--component-link-link-color-text-success, var(--component-link-color-text-success, var(--color-success-6, var(--sd-color-success-6, rgb(var(--sd-success-6))))))));
64
64
  }
65
65
  .sd-link-status-success:active {
66
- color: rgb(var(--sd-success-6));
66
+ color: var(--component-link-link-color-text-success-active, var(--component-link-color-text-success-active, var(--component-link-link-color-text-success, var(--component-link-color-text-success, var(--color-success-6, var(--sd-color-success-6, rgb(var(--sd-success-6))))))));
67
67
  }
68
68
  .sd-link-status-success.sd-link-disabled {
69
- color: var(--sd-color-success-light-3);
69
+ color: var(--component-link-link-color-text-success-disabled, var(--component-link-color-text-success-disabled, var(--sd-color-success-light-3)));
70
70
  }
71
71
  .sd-link-status-success.sd-link-loading {
72
- color: var(--sd-color-success-light-3);
72
+ color: var(--component-link-link-color-text-success-loading, var(--component-link-color-text-success-loading, var(--sd-color-success-light-3)));
73
73
  }
74
74
  .sd-link-status-danger {
75
- color: rgb(var(--sd-danger-6));
75
+ color: var(--component-link-link-color-text-error, var(--component-link-color-text-error, var(--color-danger-6, var(--sd-color-danger-6, rgb(var(--sd-danger-6))))));
76
76
  }
77
77
  .sd-link-status-danger:hover {
78
- color: rgb(var(--sd-danger-6));
78
+ color: var(--component-link-link-color-text-error-hover, var(--component-link-color-text-error-hover, var(--component-link-link-color-text-error, var(--component-link-color-text-error, var(--color-danger-6, var(--sd-color-danger-6, rgb(var(--sd-danger-6))))))));
79
79
  }
80
80
  .sd-link-status-danger:active {
81
- color: rgb(var(--sd-danger-6));
81
+ color: var(--component-link-link-color-text-error-active, var(--component-link-color-text-error-active, var(--component-link-link-color-text-error, var(--component-link-color-text-error, var(--color-danger-6, var(--sd-color-danger-6, rgb(var(--sd-danger-6))))))));
82
82
  }
83
83
  .sd-link-status-danger.sd-link-disabled {
84
- color: var(--sd-color-danger-light-3);
84
+ color: var(--component-link-link-color-text-error-disabled, var(--component-link-color-text-error-disabled, var(--sd-color-danger-light-3)));
85
85
  }
86
86
  .sd-link-status-danger.sd-link-loading {
87
- color: var(--sd-color-danger-light-3);
87
+ color: var(--component-link-link-color-text-error-loading, var(--component-link-color-text-error-loading, var(--sd-color-danger-light-3)));
88
88
  }
89
89
  .sd-link-status-warning {
90
- color: rgb(var(--sd-warning-6));
90
+ color: var(--component-link-link-color-text-warning, var(--component-link-color-text-warning, var(--color-warning-6, var(--sd-color-warning-6, rgb(var(--sd-warning-6))))));
91
91
  }
92
92
  .sd-link-status-warning:hover {
93
- color: rgb(var(--sd-warning-6));
93
+ color: var(--component-link-link-color-text-warning-hover, var(--component-link-color-text-warning-hover, var(--component-link-link-color-text-warning, var(--component-link-color-text-warning, var(--color-warning-6, var(--sd-color-warning-6, rgb(var(--sd-warning-6))))))));
94
94
  }
95
95
  .sd-link-status-warning:active {
96
- color: rgb(var(--sd-warning-6));
96
+ color: var(--component-link-link-color-text-warning-active, var(--component-link-color-text-warning-active, var(--component-link-link-color-text-warning, var(--component-link-color-text-warning, var(--color-warning-6, var(--sd-color-warning-6, rgb(var(--sd-warning-6))))))));
97
97
  }
98
98
  .sd-link-status-warning.sd-link-disabled {
99
- color: var(--sd-color-warning-light-2);
99
+ color: var(--component-link-link-color-text-warning-disabled, var(--component-link-color-text-warning-disabled, var(--sd-color-warning-light-2)));
100
100
  }
101
101
  .sd-link-status-warning.sd-link-loading {
102
- color: var(--sd-color-warning-light-2);
102
+ color: var(--component-link-link-color-text-warning-loading, var(--component-link-color-text-warning-loading, var(--sd-color-warning-light-2)));
103
103
  }
104
104
  .sd-link-icon {
105
- margin-right: 6px;
106
- font-size: 12px;
105
+ margin-right: var(--component-link-link-margin-icon-right, var(--component-link-margin-icon-right, var(--spacing-3, 6px)));
106
+ font-size: var(--component-link-link-size-icon, var(--component-link-size-icon, var(--size-3, 12px)));
107
107
  vertical-align: middle;
108
108
  }
109
109
  .sd-link-content {
@@ -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';
@@ -75,3 +76,119 @@ $link-padding-vertical: 1px;
75
76
  $link-size-icon: global.$size-3;
76
77
 
77
78
  $link-border-radius: global.$radius-small;
79
+
80
+ // @generated runtime tokens — pnpm theme:generate
81
+ $link-font-size: theme-runtime.token('link', 'link-font-size', $link-font-size, 'font-size-body-3');
82
+ $link-color-bg_hover: theme-runtime.token('link', 'link-color-bg-hover', $link-color-bg_hover);
83
+ $link-color-bg_active: theme-runtime.token('link', 'link-color-bg-active', $link-color-bg_active);
84
+ $link-padding-horizontal: theme-runtime.token(
85
+ 'link',
86
+ 'link-padding-horizontal',
87
+ $link-padding-horizontal,
88
+ 'spacing-2'
89
+ );
90
+ $link-line-height: theme-runtime.token('link', 'link-line-height', $line-height-base);
91
+ $link-color-text: theme-runtime.token('link', 'link-color-text', $link-color-text, 'color-link-6');
92
+ $link-color-text_hover: theme-runtime.token('link', 'link-color-text-hover', $link-color-text);
93
+ $link-color-text_active: theme-runtime.token('link', 'link-color-text-active', $link-color-text);
94
+ $link-color-text_disabled: theme-runtime.token(
95
+ 'link',
96
+ 'link-color-text-disabled',
97
+ $link-color-text_disabled
98
+ );
99
+ $link-color-text_loading: theme-runtime.token(
100
+ 'link',
101
+ 'link-color-text-loading',
102
+ $link-color-text_loading
103
+ );
104
+ $link-color-text_success: theme-runtime.token(
105
+ 'link',
106
+ 'link-color-text-success',
107
+ $link-color-text_success,
108
+ 'color-success-6'
109
+ );
110
+ $link-color-text_success_hover: theme-runtime.token(
111
+ 'link',
112
+ 'link-color-text-success-hover',
113
+ $link-color-text_success
114
+ );
115
+ $link-color-text_success_active: theme-runtime.token(
116
+ 'link',
117
+ 'link-color-text-success-active',
118
+ $link-color-text_success
119
+ );
120
+ $link-color-text_success_disabled: theme-runtime.token(
121
+ 'link',
122
+ 'link-color-text-success-disabled',
123
+ $link-color-text_success_disabled
124
+ );
125
+ $link-color-text_success_loading: theme-runtime.token(
126
+ 'link',
127
+ 'link-color-text-success-loading',
128
+ $link-color-text_success_loading
129
+ );
130
+ $link-color-text_error: theme-runtime.token(
131
+ 'link',
132
+ 'link-color-text-error',
133
+ $link-color-text_error,
134
+ 'color-danger-6'
135
+ );
136
+ $link-color-text_error_active: theme-runtime.token(
137
+ 'link',
138
+ 'link-color-text-error-active',
139
+ $link-color-text_error
140
+ );
141
+ $link-color-text_error_hover: theme-runtime.token(
142
+ 'link',
143
+ 'link-color-text-error-hover',
144
+ $link-color-text_error
145
+ );
146
+ $link-color-text_error_disabled: theme-runtime.token(
147
+ 'link',
148
+ 'link-color-text-error-disabled',
149
+ $link-color-text_error_disabled
150
+ );
151
+ $link-color-text_error_loading: theme-runtime.token(
152
+ 'link',
153
+ 'link-color-text-error-loading',
154
+ $link-color-text_error_loading
155
+ );
156
+ $link-color-text_warning: theme-runtime.token(
157
+ 'link',
158
+ 'link-color-text-warning',
159
+ $link-color-text_warning,
160
+ 'color-warning-6'
161
+ );
162
+ $link-color-text_warning_hover: theme-runtime.token(
163
+ 'link',
164
+ 'link-color-text-warning-hover',
165
+ $link-color-text_warning
166
+ );
167
+ $link-color-text_warning_active: theme-runtime.token(
168
+ 'link',
169
+ 'link-color-text-warning-active',
170
+ $link-color-text_warning
171
+ );
172
+ $link-color-text_warning_disabled: theme-runtime.token(
173
+ 'link',
174
+ 'link-color-text-warning-disabled',
175
+ $link-color-text_warning_disabled
176
+ );
177
+ $link-color-text_warning_loading: theme-runtime.token(
178
+ 'link',
179
+ 'link-color-text-warning-loading',
180
+ $link-color-text_warning_loading
181
+ );
182
+ $link-margin-icon-right: theme-runtime.token(
183
+ 'link',
184
+ 'link-margin-icon-right',
185
+ $link-margin-icon-right,
186
+ 'spacing-3'
187
+ );
188
+ $link-padding-vertical: theme-runtime.token(
189
+ 'link',
190
+ 'link-padding-vertical',
191
+ $link-padding-vertical
192
+ );
193
+ $link-size-icon: theme-runtime.token('link', 'link-size-icon', $link-size-icon, 'size-3');
194
+ $link-border-radius: theme-runtime.token('link', 'link-border-radius', $link-border-radius);
@@ -24,10 +24,10 @@
24
24
  box-sizing: border-box;
25
25
  width: 100%;
26
26
  overflow-y: auto;
27
- color: var(--sd-color-text-1);
28
- font-size: 14px;
29
- line-height: 1.5715;
30
- border-radius: var(--sd-border-radius-medium);
27
+ color: var(--component-list-list-color-text, var(--component-list-color-text, var(--sd-color-text-1)));
28
+ font-size: var(--component-list-list-font-size, var(--component-list-font-size, var(--font-size-body-3, 14px)));
29
+ line-height: var(--component-list-list-line-height, var(--component-list-line-height, 1.5715));
30
+ border-radius: var(--component-list-list-border-radius, var(--component-list-border-radius, var(--sd-border-radius-medium)));
31
31
  }
32
32
  .sd-list-wrapper {
33
33
  overflow: hidden;
@@ -41,46 +41,46 @@
41
41
  overflow: hidden;
42
42
  }
43
43
  .sd-list-small .sd-list-content-wrapper .sd-list-header {
44
- padding: 8px 20px;
44
+ padding: var(--component-list-list-size-small-padding-vertical-header, var(--component-list-size-small-padding-vertical-header, var(--spacing-4, 8px))) var(--component-list-list-size-small-padding-horizontal-header, var(--component-list-size-small-padding-horizontal-header, var(--spacing-8, 20px)));
45
45
  }
46
46
  .sd-list-small .sd-list-content-wrapper .sd-list-footer,
47
47
  .sd-list-small .sd-list-content-wrapper .sd-list-content > .sd-list-item,
48
48
  .sd-list-small .sd-list-content-wrapper .sd-list-content .sd-list-col > .sd-list-item,
49
49
  .sd-list-small .sd-list-content-wrapper .sd-list-content.sd-list-virtual .sd-list-item {
50
- padding: 9px 20px;
50
+ padding: var(--component-list-list-size-small-padding-vertical-item, var(--component-list-size-small-padding-vertical-item, 9px)) var(--component-list-list-size-small-padding-horizontal-item, var(--component-list-size-small-padding-horizontal-item, var(--spacing-8, 20px)));
51
51
  }
52
52
  .sd-list-medium .sd-list-content-wrapper .sd-list-header {
53
- padding: 12px 20px;
53
+ padding: var(--component-list-list-size-medium-padding-vertical-header, var(--component-list-size-medium-padding-vertical-header, var(--component-list-list-size-default-padding-vertical-header, var(--component-list-size-default-padding-vertical-header, var(--spacing-6, 12px))))) var(--component-list-list-size-medium-padding-horizontal-header, var(--component-list-size-medium-padding-horizontal-header, var(--component-list-list-size-default-padding-horizontal-header, var(--component-list-size-default-padding-horizontal-header, var(--spacing-8, 20px)))));
54
54
  }
55
55
  .sd-list-medium .sd-list-content-wrapper .sd-list-footer,
56
56
  .sd-list-medium .sd-list-content-wrapper .sd-list-content > .sd-list-item,
57
57
  .sd-list-medium .sd-list-content-wrapper .sd-list-content .sd-list-col > .sd-list-item,
58
58
  .sd-list-medium .sd-list-content-wrapper .sd-list-content.sd-list-virtual .sd-list-item {
59
- padding: 13px 20px;
59
+ padding: var(--component-list-list-size-medium-padding-vertical-item, var(--component-list-size-medium-padding-vertical-item, var(--component-list-list-size-default-padding-vertical-item, var(--component-list-size-default-padding-vertical-item, 13px)))) var(--component-list-list-size-medium-padding-horizontal-item, var(--component-list-size-medium-padding-horizontal-item, var(--component-list-list-size-default-padding-horizontal-item, var(--component-list-size-default-padding-horizontal-item, var(--spacing-8, 20px)))));
60
60
  }
61
61
  .sd-list-large .sd-list-content-wrapper .sd-list-header {
62
- padding: 16px 20px;
62
+ padding: var(--component-list-list-size-large-padding-vertical-header, var(--component-list-size-large-padding-vertical-header, var(--spacing-7, 16px))) var(--component-list-list-size-large-padding-horizontal-header, var(--component-list-size-large-padding-horizontal-header, var(--spacing-8, 20px)));
63
63
  }
64
64
  .sd-list-large .sd-list-content-wrapper .sd-list-footer,
65
65
  .sd-list-large .sd-list-content-wrapper .sd-list-content > .sd-list-item,
66
66
  .sd-list-large .sd-list-content-wrapper .sd-list-content .sd-list-col > .sd-list-item,
67
67
  .sd-list-large .sd-list-content-wrapper .sd-list-content.sd-list-virtual .sd-list-item {
68
- padding: 17px 20px;
68
+ padding: var(--component-list-list-size-large-padding-vertical-item, var(--component-list-size-large-padding-vertical-item, 17px)) var(--component-list-list-size-large-padding-horizontal-item, var(--component-list-size-large-padding-horizontal-item, var(--spacing-8, 20px)));
69
69
  }
70
70
  .sd-list-bordered {
71
- border: 1px solid var(--sd-color-neutral-3);
71
+ border: var(--component-list-list-border-width, var(--component-list-border-width, 1px)) solid var(--component-list-list-border-color, var(--component-list-border-color, var(--sd-color-neutral-3)));
72
72
  }
73
73
  .sd-list-split .sd-list-header, .sd-list-split .sd-list-item:not(:last-child) {
74
- border-bottom: 1px solid var(--sd-color-neutral-3);
74
+ border-bottom: var(--component-list-list-border-width, var(--component-list-border-width, 1px)) solid var(--component-list-list-border-color, var(--component-list-border-color, var(--sd-color-neutral-3)));
75
75
  }
76
76
  .sd-list-split .sd-list-footer {
77
- border-top: 1px solid var(--sd-color-neutral-3);
77
+ border-top: var(--component-list-list-border-width, var(--component-list-border-width, 1px)) solid var(--component-list-list-border-color, var(--component-list-border-color, var(--sd-color-neutral-3)));
78
78
  }
79
79
  .sd-list-header {
80
- color: var(--sd-color-text-1);
81
- font-weight: 500;
82
- font-size: 16px;
83
- line-height: 1.5;
80
+ color: var(--component-list-list-color-text-header, var(--component-list-color-text-header, var(--sd-color-text-1)));
81
+ font-weight: var(--component-list-list-font-weight-header, var(--component-list-font-weight-header, var(--font-weight-500, 500)));
82
+ font-size: var(--component-list-list-font-size-header, var(--component-list-font-size-header, var(--font-size-title-1, 16px)));
83
+ line-height: var(--component-list-list-line-height-header, var(--component-list-line-height-header, 1.5));
84
84
  }
85
85
  .sd-list-item {
86
86
  display: flex;
@@ -94,32 +94,32 @@
94
94
  overflow: hidden;
95
95
  }
96
96
  .sd-list-item-main .sd-list-item-action:not(:first-child) {
97
- margin-top: 4px;
97
+ margin-top: var(--component-list-list-action-margin-top, var(--component-list-action-margin-top, var(--spacing-2, 4px)));
98
98
  }
99
99
  .sd-list-item-meta {
100
100
  display: flex;
101
101
  align-items: center;
102
- padding: 4px 0;
102
+ padding: var(--component-list-list-meta-padding-vertical, var(--component-list-meta-padding-vertical, var(--spacing-2, 4px))) var(--component-list-list-meta-padding-horizontal, var(--component-list-meta-padding-horizontal, var(--spacing-none, 0)));
103
103
  }
104
104
  .sd-list-item-meta-avatar {
105
105
  display: flex;
106
106
  }
107
107
  .sd-list-item-meta-avatar:not(:last-child) {
108
- margin-right: 16px;
108
+ margin-right: var(--component-list-list-meta-margin-right-avatar, var(--component-list-meta-margin-right-avatar, var(--spacing-7, 16px)));
109
109
  }
110
110
  .sd-list-item-meta-title {
111
- color: var(--sd-color-text-1);
112
- font-weight: 500;
111
+ color: var(--component-list-list-meta-color-title, var(--component-list-meta-color-title, var(--sd-color-text-1)));
112
+ font-weight: var(--component-list-list-meta-font-weight-title, var(--component-list-meta-font-weight-title, var(--font-weight-500, 500)));
113
113
  }
114
114
  .sd-list-item-meta-title:not(:last-child) {
115
- margin-bottom: 2px;
115
+ margin-bottom: var(--component-list-list-meta-margin-bottom-title, var(--component-list-meta-margin-bottom-title, var(--spacing-1, 2px)));
116
116
  }
117
117
  .sd-list-item-meta-content {
118
118
  flex-grow: 1;
119
119
  overflow: hidden;
120
120
  }
121
121
  .sd-list-item-meta-description {
122
- color: var(--sd-color-text-2);
122
+ color: var(--component-list-list-mete-color-description, var(--component-list-mete-color-description, var(--sd-color-text-2)));
123
123
  }
124
124
  .sd-list-item-action {
125
125
  display: flex;
@@ -134,14 +134,14 @@
134
134
  cursor: pointer;
135
135
  }
136
136
  .sd-list-item-action > li:not(:last-child) {
137
- margin-right: 20px;
137
+ margin-right: var(--component-list-list-action-gap, var(--component-list-action-gap, var(--spacing-8, 20px)));
138
138
  }
139
139
  .sd-list-hover .sd-list-item:hover {
140
- background-color: var(--sd-color-fill-1);
140
+ background-color: var(--component-list-list-color-bg-item-hover, var(--component-list-color-bg-item-hover, var(--sd-color-fill-1)));
141
141
  }
142
142
  .sd-list-pagination {
143
143
  float: right;
144
- margin-top: 24px;
144
+ margin-top: var(--component-list-list-pagination-margin-top, var(--component-list-pagination-margin-top, var(--spacing-9, 24px)));
145
145
  }
146
146
  .sd-list-pagination::after {
147
147
  display: block;
@@ -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';
@@ -59,3 +60,180 @@ $list-size-medium-padding-vertical-header: $list-size-default-padding-vertical-h
59
60
  $list-size-medium-padding-horizontal-header: $list-size-default-padding-horizontal-header;
60
61
  $list-size-medium-padding-vertical-item: $list-size-default-padding-vertical-item;
61
62
  $list-size-medium-padding-horizontal-item: $list-size-default-padding-horizontal-item;
63
+
64
+ // @generated runtime tokens — pnpm theme:generate
65
+ $list-border-width: theme-runtime.token('list', 'list-border-width', $list-border-width);
66
+ $list-border-color: theme-runtime.token('list', 'list-border-color', $list-border-color);
67
+ $list-border-radius: theme-runtime.token('list', 'list-border-radius', $list-border-radius);
68
+ $list-color-text: theme-runtime.token('list', 'list-color-text', $list-color-text);
69
+ $list-font-size: theme-runtime.token('list', 'list-font-size', $list-font-size, 'font-size-body-3');
70
+ $list-line-height: theme-runtime.token('list', 'list-line-height', $line-height-base);
71
+ $list-color-text-header: theme-runtime.token(
72
+ 'list',
73
+ 'list-color-text-header',
74
+ $list-color-text-header
75
+ );
76
+ $list-color-bg-item-hover: theme-runtime.token(
77
+ 'list',
78
+ 'list-color-bg-item-hover',
79
+ $list-color-bg-item-hover
80
+ );
81
+ $list-font-size-header: theme-runtime.token(
82
+ 'list',
83
+ 'list-font-size-header',
84
+ $list-font-size-header,
85
+ 'font-size-title-1'
86
+ );
87
+ $list-font-weight-header: theme-runtime.token(
88
+ 'list',
89
+ 'list-font-weight-header',
90
+ $list-font-weight-header,
91
+ 'font-weight-500'
92
+ );
93
+ $list-line-height-header: theme-runtime.token(
94
+ 'list',
95
+ 'list-line-height-header',
96
+ $list-line-height-header
97
+ );
98
+ $list-size-small-padding-vertical-header: theme-runtime.token(
99
+ 'list',
100
+ 'list-size-small-padding-vertical-header',
101
+ $list-size-small-padding-vertical-header,
102
+ 'spacing-4'
103
+ );
104
+ $list-size-small-padding-horizontal-header: theme-runtime.token(
105
+ 'list',
106
+ 'list-size-small-padding-horizontal-header',
107
+ $list-size-small-padding-horizontal-header,
108
+ 'spacing-8'
109
+ );
110
+ $list-size-small-padding-vertical-item: theme-runtime.token(
111
+ 'list',
112
+ 'list-size-small-padding-vertical-item',
113
+ $list-size-small-padding-vertical-item
114
+ );
115
+ $list-size-small-padding-horizontal-item: theme-runtime.token(
116
+ 'list',
117
+ 'list-size-small-padding-horizontal-item',
118
+ $list-size-small-padding-horizontal-item,
119
+ 'spacing-8'
120
+ );
121
+ $list-size-default-padding-vertical-header: theme-runtime.token(
122
+ 'list',
123
+ 'list-size-default-padding-vertical-header',
124
+ $list-size-default-padding-vertical-header,
125
+ 'spacing-6'
126
+ );
127
+ $list-size-default-padding-horizontal-header: theme-runtime.token(
128
+ 'list',
129
+ 'list-size-default-padding-horizontal-header',
130
+ $list-size-default-padding-horizontal-header,
131
+ 'spacing-8'
132
+ );
133
+ $list-size-default-padding-vertical-item: theme-runtime.token(
134
+ 'list',
135
+ 'list-size-default-padding-vertical-item',
136
+ $list-size-default-padding-vertical-item
137
+ );
138
+ $list-size-default-padding-horizontal-item: theme-runtime.token(
139
+ 'list',
140
+ 'list-size-default-padding-horizontal-item',
141
+ $list-size-default-padding-horizontal-item,
142
+ 'spacing-8'
143
+ );
144
+ $list-size-large-padding-vertical-header: theme-runtime.token(
145
+ 'list',
146
+ 'list-size-large-padding-vertical-header',
147
+ $list-size-large-padding-vertical-header,
148
+ 'spacing-7'
149
+ );
150
+ $list-size-large-padding-horizontal-header: theme-runtime.token(
151
+ 'list',
152
+ 'list-size-large-padding-horizontal-header',
153
+ $list-size-large-padding-horizontal-header,
154
+ 'spacing-8'
155
+ );
156
+ $list-size-large-padding-vertical-item: theme-runtime.token(
157
+ 'list',
158
+ 'list-size-large-padding-vertical-item',
159
+ $list-size-large-padding-vertical-item
160
+ );
161
+ $list-size-large-padding-horizontal-item: theme-runtime.token(
162
+ 'list',
163
+ 'list-size-large-padding-horizontal-item',
164
+ $list-size-large-padding-horizontal-item,
165
+ 'spacing-8'
166
+ );
167
+ $list-meta-font-weight-title: theme-runtime.token(
168
+ 'list',
169
+ 'list-meta-font-weight-title',
170
+ $list-meta-font-weight-title,
171
+ 'font-weight-500'
172
+ );
173
+ $list-meta-color-title: theme-runtime.token(
174
+ 'list',
175
+ 'list-meta-color-title',
176
+ $list-meta-color-title
177
+ );
178
+ $list-mete-color-description: theme-runtime.token(
179
+ 'list',
180
+ 'list-mete-color-description',
181
+ $list-mete-color-description
182
+ );
183
+ $list-meta-margin-right-avatar: theme-runtime.token(
184
+ 'list',
185
+ 'list-meta-margin-right-avatar',
186
+ $list-meta-margin-right-avatar,
187
+ 'spacing-7'
188
+ );
189
+ $list-meta-margin-bottom-title: theme-runtime.token(
190
+ 'list',
191
+ 'list-meta-margin-bottom-title',
192
+ $list-meta-margin-bottom-title,
193
+ 'spacing-1'
194
+ );
195
+ $list-meta-padding-horizontal: theme-runtime.token(
196
+ 'list',
197
+ 'list-meta-padding-horizontal',
198
+ $list-meta-padding-horizontal,
199
+ 'spacing-none'
200
+ );
201
+ $list-meta-padding-vertical: theme-runtime.token(
202
+ 'list',
203
+ 'list-meta-padding-vertical',
204
+ $list-meta-padding-vertical,
205
+ 'spacing-2'
206
+ );
207
+ $list-action-gap: theme-runtime.token('list', 'list-action-gap', $list-action-gap, 'spacing-8');
208
+ $list-action-margin-top: theme-runtime.token(
209
+ 'list',
210
+ 'list-action-margin-top',
211
+ $list-action-margin-top,
212
+ 'spacing-2'
213
+ );
214
+ $list-pagination-margin-top: theme-runtime.token(
215
+ 'list',
216
+ 'list-pagination-margin-top',
217
+ $list-pagination-margin-top,
218
+ 'spacing-9'
219
+ );
220
+ $list-size-medium-padding-vertical-header: theme-runtime.token(
221
+ 'list',
222
+ 'list-size-medium-padding-vertical-header',
223
+ $list-size-default-padding-vertical-header
224
+ );
225
+ $list-size-medium-padding-horizontal-header: theme-runtime.token(
226
+ 'list',
227
+ 'list-size-medium-padding-horizontal-header',
228
+ $list-size-default-padding-horizontal-header
229
+ );
230
+ $list-size-medium-padding-vertical-item: theme-runtime.token(
231
+ 'list',
232
+ 'list-size-medium-padding-vertical-item',
233
+ $list-size-default-padding-vertical-item
234
+ );
235
+ $list-size-medium-padding-horizontal-item: theme-runtime.token(
236
+ 'list',
237
+ 'list-size-medium-padding-horizontal-item',
238
+ $list-size-default-padding-horizontal-item
239
+ );
@@ -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';
@@ -12,3 +13,24 @@ $mentions-padding-vertical: global.$spacing-2;
12
13
  $mentions-font-size: global.$font-size-body-3;
13
14
 
14
15
  $mentions-line-height: $line-height-base;
16
+
17
+ // @generated runtime tokens — pnpm theme:generate
18
+ $mentions-padding-horizontal: theme-runtime.token(
19
+ 'mention',
20
+ 'mentions-padding-horizontal',
21
+ $mentions-padding-horizontal,
22
+ 'spacing-6'
23
+ );
24
+ $mentions-padding-vertical: theme-runtime.token(
25
+ 'mention',
26
+ 'mentions-padding-vertical',
27
+ $mentions-padding-vertical,
28
+ 'spacing-2'
29
+ );
30
+ $mentions-font-size: theme-runtime.token(
31
+ 'mention',
32
+ 'mentions-font-size',
33
+ $mentions-font-size,
34
+ 'font-size-body-3'
35
+ );
36
+ $mentions-line-height: theme-runtime.token('mention', 'mentions-line-height', $line-height-base);