@sdata/web-vue 2.3.1 → 2.8.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 (119) hide show
  1. package/README.md +1 -1
  2. package/dist/sd.css +133 -187
  3. package/dist/sd.min.css +1 -1
  4. package/es/_hooks/use-responsive.d.ts +2 -2
  5. package/es/_hooks/use-theme-mode.d.ts +3 -0
  6. package/es/{calendar/hooks/use-calendar-theme.js → _hooks/use-theme-mode.js} +14 -10
  7. package/es/_utils/responsive-observe.d.ts +5 -4
  8. package/es/_utils/responsive-observe.js +2 -1
  9. package/es/alert/index.d.ts +3 -3
  10. package/es/anchor/index.d.ts +3 -3
  11. package/es/avatar/index.d.ts +20 -20
  12. package/es/border-beam/border-beam.js +5 -0
  13. package/es/border-beam/border-beam.vue.d.ts +52 -0
  14. package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +623 -0
  15. package/es/border-beam/index.d.ts +106 -0
  16. package/es/border-beam/index.js +10 -0
  17. package/es/border-beam/pulseDriver.d.ts +2 -0
  18. package/es/border-beam/pulseDriver.js +74 -0
  19. package/es/border-beam/style/css.js +2 -0
  20. package/es/border-beam/style/index.css +21 -0
  21. package/es/border-beam/style/index.d.ts +2 -0
  22. package/es/border-beam/style/index.js +2 -0
  23. package/es/border-beam/style/index.scss +12 -0
  24. package/es/border-beam/style/token.scss +12 -0
  25. package/es/border-beam/styles.d.ts +42 -0
  26. package/es/border-beam/styles.js +3545 -0
  27. package/es/border-beam/types.d.ts +27 -0
  28. package/es/button/index.d.ts +24 -24
  29. package/es/calendar/components/index.vue.d.ts +1 -1
  30. package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +3 -2
  31. package/es/calendar/index.d.ts +5 -5
  32. package/es/carousel/index.d.ts +3 -3
  33. package/es/checkbox/checkbox.d.ts +3 -3
  34. package/es/collapse/collapse-item.d.ts +5 -5
  35. package/es/collapse/index.d.ts +3 -3
  36. package/es/components.d.ts +1 -0
  37. package/es/config-provider/index.d.ts +21 -21
  38. package/es/date-picker/index.d.ts +14 -14
  39. package/es/date-picker/picker.vue.d.ts +2 -2
  40. package/es/date-picker/range-picker.vue.d.ts +2 -2
  41. package/es/descriptions/index.d.ts +24 -24
  42. package/es/drawer/index.d.ts +16 -15
  43. package/es/dropdown/index.d.ts +15 -15
  44. package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +3 -3
  45. package/es/form/index.d.ts +3 -3
  46. package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +2 -2
  47. package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +10 -10
  48. package/es/icon/icon-menu/icon-menu.js +5 -0
  49. package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +52 -0
  50. package/es/icon/icon-menu/index.js +9 -0
  51. package/es/index.css +133 -187
  52. package/es/index.d.ts +4 -2
  53. package/es/index.js +3 -2
  54. package/es/index.scss +1 -0
  55. package/es/input/index.d.ts +7 -7
  56. package/es/json-form/index.d.ts +9 -9
  57. package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +1 -1
  58. package/es/json-form/json-form.vue.d.ts +3 -3
  59. package/es/layout/content.vue.d.ts +2 -2
  60. package/es/layout/content.vue_vue_type_script_setup_true_lang.js +8 -3
  61. package/es/layout/context.d.ts +12 -9
  62. package/es/layout/context.js +11 -3
  63. package/es/layout/footer.vue.d.ts +2 -2
  64. package/es/layout/footer.vue_vue_type_script_setup_true_lang.js +8 -3
  65. package/es/layout/header.vue.d.ts +3 -30
  66. package/es/layout/header.vue_vue_type_script_setup_true_lang.js +9 -339
  67. package/es/layout/hooks/use-has-sider.d.ts +2 -0
  68. package/es/layout/hooks/use-has-sider.js +38 -0
  69. package/es/layout/index.d.ts +120 -371
  70. package/es/layout/index.js +2 -2
  71. package/es/layout/interface.d.ts +16 -46
  72. package/es/layout/layout.vue.d.ts +4 -2
  73. package/es/layout/layout.vue_vue_type_script_setup_true_lang.js +38 -14
  74. package/es/layout/sider.vue.d.ts +68 -178
  75. package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +243 -363
  76. package/es/layout/style/index.css +128 -186
  77. package/es/layout/style/index.scss +146 -234
  78. package/es/layout/style/token.scss +46 -26
  79. package/es/link/index.d.ts +6 -6
  80. package/es/list/index.d.ts +18 -18
  81. package/es/menu/base-menu.vue.d.ts +1 -1
  82. package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +14 -14
  83. package/es/menu/item.d.ts +1 -1
  84. package/es/menu/menu.d.ts +12 -12
  85. package/es/menu/menu.js +3 -3
  86. package/es/modal/index.d.ts +15 -15
  87. package/es/popconfirm/index.d.ts +12 -12
  88. package/es/popover/index.d.ts +12 -12
  89. package/es/progress/index.d.ts +6 -6
  90. package/es/qr-code/index.d.ts +3 -3
  91. package/es/radio/radio.d.ts +3 -3
  92. package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +7 -7
  93. package/es/result/index.d.ts +3 -3
  94. package/es/scrollbar/style/index.css +1 -1
  95. package/es/scrollbar/style/index.scss +4 -1
  96. package/es/sd-vue.js +3 -1
  97. package/es/select/select.d.ts +17 -17
  98. package/es/slider/index.d.ts +3 -3
  99. package/es/split/split.vue_vue_type_script_setup_true_lang.js +6 -6
  100. package/es/steps/index.d.ts +6 -6
  101. package/es/tabs/index.d.ts +6 -6
  102. package/es/tag/index.d.ts +6 -6
  103. package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +2 -2
  104. package/es/theme-provider/index.d.ts +9 -9
  105. package/es/time-picker/index.d.ts +6 -6
  106. package/es/timeline/index.d.ts +3 -3
  107. package/es/timeline/timeline.d.ts +1 -1
  108. package/es/tooltip/index.d.ts +3 -3
  109. package/es/tour/index.d.ts +3 -3
  110. package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +6 -6
  111. package/es/tree/node-switcher.vue.d.ts +1 -1
  112. package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +23 -23
  113. package/json/vetur-attributes.json +27 -153
  114. package/json/vetur-tags.json +13 -43
  115. package/json/web-types.json +43 -293
  116. package/package.json +10 -10
  117. package/es/calendar/hooks/use-calendar-theme.d.ts +0 -4
  118. package/es/layout/utils.d.ts +0 -1
  119. package/es/layout/utils.js +0 -11
@@ -3,284 +3,196 @@
3
3
  @use '@components/layout/style/token.scss' as *;
4
4
 
5
5
  $layout-prefix-cls: string.unquote('#{theme.$prefix}-layout');
6
+ $sider-prefix-cls: string.unquote('#{theme.$prefix}-layout-sider');
7
+ $text-color: var(string.unquote('#{theme.$sd-cssvars-prefix}-color-text-1'));
6
8
 
7
9
  .#{$layout-prefix-cls} {
8
10
  display: flex;
9
- flex: 1;
11
+ flex: auto;
10
12
  flex-direction: column;
11
- margin: 0;
12
- padding: 0;
13
13
 
14
- &-sider {
15
- position: relative;
16
- flex: none; // flex: 0 0 auto; 当右侧文字过长的时候不会被压缩。
17
- width: auto;
18
- max-width: 100%;
19
- margin: 0;
20
- padding: 0;
21
- overflow: hidden;
22
- background: $layout-sider-background;
23
- transition:
24
- width theme.$transition-duration-2 theme.$transition-timing-function-standard,
25
- height theme.$transition-duration-2 theme.$transition-timing-function-standard,
26
- transform theme.$transition-duration-2 theme.$transition-timing-function-standard;
27
-
28
- &-image,
29
- &-prepend,
30
- &-append {
31
- flex: none;
32
- }
33
-
34
- &-children {
35
- flex: 1;
36
- height: 100%;
37
- overflow: auto;
38
- }
39
-
40
- &-mask {
41
- position: fixed;
42
- inset: 0;
43
- background: $layout-sider-mask-color;
44
- }
14
+ /* fix firefox can't set height smaller than content on flex item */
15
+ min-height: 0;
16
+ background: $layout-body-bg;
45
17
 
46
- &-collapsed &-children {
47
- /* width */
48
- &::-webkit-scrollbar {
49
- width: 0;
50
- }
51
- }
18
+ &,
19
+ & * {
20
+ box-sizing: border-box;
21
+ }
52
22
 
53
- &-has-trigger {
54
- display: flex;
55
- flex-direction: column;
56
- box-sizing: border-box;
57
- padding-bottom: $layout-trigger-height;
58
- }
23
+ &#{&}-has-sider {
24
+ flex-direction: row;
59
25
 
60
- &-rail {
61
- width: $layout-rail-width;
26
+ > .#{$layout-prefix-cls},
27
+ > .#{$layout-prefix-cls}-content {
28
+ width: 0;
62
29
  }
30
+ }
63
31
 
64
- &-trigger {
65
- position: absolute;
66
- right: 0;
67
- bottom: 0;
68
- left: 0;
69
- z-index: 1;
70
- display: flex;
71
- align-items: center;
72
- justify-content: center;
73
- box-sizing: border-box;
74
- width: 100%;
75
- height: $layout-trigger-height;
76
- color: var(string.unquote('#{theme.$sd-cssvars-prefix}-color-white'));
77
- background: $layout-trigger-dark-color;
78
- cursor: pointer;
79
- transition: width theme.$transition-duration-2 theme.$transition-timing-function-standard;
80
-
81
- &-light {
82
- color: $layout-font-color;
83
- background: $layout-sider-background-light;
84
- border-top: 1px solid $layout-trigger-light-color-border;
85
- }
86
- }
32
+ .#{$layout-prefix-cls}-header,
33
+ &.#{$layout-prefix-cls}-footer {
34
+ flex: 0 0 auto;
35
+ }
87
36
 
88
- &-floating {
89
- box-shadow: none;
90
- }
37
+ // RTL
38
+ &-rtl {
39
+ direction: rtl;
40
+ }
41
+ }
91
42
 
92
- &-sticky {
93
- z-index: 1;
94
- }
43
+ // ==================== Header ====================
44
+ .#{$layout-prefix-cls}-header {
45
+ height: $layout-header-height;
46
+ padding: $layout-header-padding;
47
+ color: $layout-header-color;
48
+ line-height: $layout-header-height;
49
+ background: $layout-header-bg;
50
+ }
95
51
 
96
- &-temporary {
97
- position: fixed;
98
- box-shadow: $layout-sider-shadow;
52
+ // ==================== Footer ====================
53
+ .#{$layout-prefix-cls}-footer {
54
+ padding: $layout-footer-padding;
55
+ color: $text-color;
56
+ font-size: $layout-font-size;
57
+ background: $layout-footer-bg;
58
+ }
99
59
 
100
- &.#{$layout-prefix-cls}-sider-left {
101
- top: 0;
102
- bottom: 0;
103
- left: 0;
104
- transform: translateX(-100%);
105
- }
60
+ // =================== Content ===================
61
+ .#{$layout-prefix-cls}-content {
62
+ flex: auto;
106
63
 
107
- &.#{$layout-prefix-cls}-sider-right {
108
- top: 0;
109
- right: 0;
110
- bottom: 0;
111
- transform: translateX(100%);
112
- }
64
+ // fix firefox can't set height smaller than content on flex item
65
+ min-height: 0;
66
+ color: $text-color;
67
+ }
113
68
 
114
- &.#{$layout-prefix-cls}-sider-top {
115
- top: 0;
116
- right: 0;
117
- left: 0;
118
- width: 100%;
119
- transform: translateY(-100%);
120
- }
69
+ // =================== Sider ===================
70
+ .#{$sider-prefix-cls} {
71
+ position: relative;
72
+ display: flex;
73
+ flex-direction: column;
121
74
 
122
- &.#{$layout-prefix-cls}-sider-bottom {
123
- right: 0;
124
- bottom: 0;
125
- left: 0;
126
- width: 100%;
127
- transform: translateY(100%);
128
- }
75
+ // fix firefox can't set width smaller than content on flex item
76
+ min-width: 0;
77
+ background: $layout-sider-bg;
78
+ // 与 Menu 的展开/收起过渡保持一致(同时长 + standard 缓动),避免同步收缩时出现割裂感
79
+ transition:
80
+ all $layout-motion-duration-mid theme.$transition-timing-function-standard,
81
+ background 0s;
129
82
 
130
- &.#{$layout-prefix-cls}-sider-active {
131
- transform: translate(0, 0);
132
- }
133
- }
83
+ &-has-trigger {
84
+ padding-bottom: $layout-sider-trigger-height;
134
85
  }
135
86
 
136
- &-sider-light {
137
- background: $layout-sider-background-light;
138
- box-shadow: 0 2px 5px 0 rgb(0 0 0 / 8%);
87
+ &-right {
88
+ order: 1;
139
89
  }
140
90
 
91
+ // Fixed region outside the scroll area (e.g. brand / logo).
141
92
  &-header {
142
- position: relative;
143
- flex: 0 0 auto;
144
- box-sizing: border-box;
145
- margin: 0;
146
- overflow: hidden;
147
- color: $layout-header-color;
148
- background: $layout-header-background;
149
- border-bottom: 1px solid $layout-header-border-color;
150
- transition:
151
- height theme.$transition-duration-2 theme.$transition-timing-function-standard,
152
- transform theme.$transition-duration-2 theme.$transition-timing-function-standard,
153
- box-shadow theme.$transition-duration-2 theme.$transition-timing-function-standard;
154
-
155
- &-wrapper {
156
- width: 100%;
157
- }
158
-
159
- &-bar,
160
- &-extension,
161
- &-prepend,
162
- &-append,
163
- &-content {
164
- display: flex;
165
- align-items: center;
166
- }
167
-
168
- &-bar {
169
- position: relative;
170
- z-index: 1;
171
- gap: $layout-header-gap;
172
- min-height: var(--sd-layout-header-content-height, 64px);
173
- padding: 0 $layout-header-padding-inline;
174
- }
93
+ flex: none;
94
+ }
175
95
 
176
- &-prepend,
177
- &-append {
178
- flex: none;
179
- gap: calc($layout-header-gap / 2);
180
- }
96
+ // Scroll region fills the remaining height. `min-height: 0` lets it shrink
97
+ // below its content so the inner scrollbar can scroll.
98
+ &-children {
99
+ flex: 1;
100
+ min-height: 0;
101
+ }
181
102
 
182
- &-title {
183
- position: relative;
184
- z-index: 1;
185
- flex: none;
186
- max-width: min(40%, 480px);
187
- overflow: hidden;
188
- color: inherit;
189
- font-weight: $layout-header-title-font-weight;
190
- font-size: $layout-header-title-font-size;
191
- white-space: nowrap;
192
- text-overflow: ellipsis;
193
- }
103
+ &-children-scroll {
104
+ overflow: hidden auto;
105
+ }
194
106
 
195
- &-content {
196
- position: relative;
197
- z-index: 1;
198
- flex: 1;
199
- gap: calc($layout-header-gap / 2);
200
- min-width: 0;
201
- }
107
+ &-zero-width &-children {
108
+ overflow: hidden;
109
+ }
202
110
 
203
- &-extension {
204
- position: relative;
205
- z-index: 1;
206
- gap: calc($layout-header-gap / 2);
207
- min-height: var(--sd-layout-header-extension-height, 48px);
208
- padding: 0 $layout-header-padding-inline;
209
- border-top: 1px solid $layout-header-border-color;
210
- }
111
+ &-trigger {
112
+ position: absolute;
113
+ bottom: 0;
114
+ z-index: 1;
115
+ height: $layout-sider-trigger-height;
116
+ color: $layout-sider-trigger-color;
117
+ line-height: $layout-sider-trigger-height;
118
+ text-align: center;
119
+ cursor: pointer;
120
+ transition: all $layout-motion-duration-mid theme.$transition-timing-function-standard;
121
+ }
211
122
 
212
- &-image {
123
+ &-zero-width-trigger {
124
+ position: absolute;
125
+ top: $layout-header-height;
126
+ z-index: 1;
127
+ display: flex;
128
+ align-items: center;
129
+ justify-content: center;
130
+ width: $layout-sider-zero-trigger-width;
131
+ height: $layout-sider-zero-trigger-height;
132
+ color: $layout-sider-trigger-color;
133
+ font-size: $layout-sider-zero-trigger-font-size;
134
+ background: $layout-sider-bg;
135
+ border-radius: 0 $layout-radius-lg $layout-radius-lg 0;
136
+ cursor: pointer;
137
+ transition: background-color $layout-motion-duration-slow ease;
138
+ inset-inline-end: -$layout-sider-zero-trigger-width;
139
+
140
+ &::after {
213
141
  position: absolute;
214
142
  inset: 0;
215
- overflow: hidden;
216
-
217
- &::after {
218
- position: absolute;
219
- inset: 0;
220
- background: $layout-header-image-overlay;
221
- content: '';
222
- }
143
+ background: transparent;
144
+ transition: all $layout-motion-duration-slow;
145
+ content: '';
223
146
  }
224
147
 
225
- &-image-inner,
226
- &-image :is(img, picture, video) {
227
- width: 100%;
228
- height: 100%;
229
- object-fit: cover;
230
- opacity: var(--sd-layout-header-image-opacity, 1);
231
- transition: opacity theme.$transition-duration-2 theme.$transition-timing-function-standard;
148
+ &:hover::after {
149
+ background: rgb(255 255 255 / 20%);
232
150
  }
233
151
 
234
- &-flat {
235
- box-shadow: none;
236
- }
237
-
238
- &:not(&-flat) {
239
- box-shadow: $layout-header-shadow;
240
- }
241
-
242
- &-floating {
243
- box-shadow: $layout-header-floating-shadow;
244
- }
245
-
246
- &-hidden {
247
- pointer-events: none;
248
- }
249
-
250
- &-collapsed &-extension {
251
- display: none;
152
+ &-right {
153
+ inset-inline-start: -$layout-sider-zero-trigger-width;
154
+ border-radius: $layout-radius-lg 0 0 $layout-radius-lg;
252
155
  }
156
+ }
253
157
 
254
- &-with-image {
255
- color: $layout-font-color-dark;
256
- border-bottom-color: transparent;
257
- }
158
+ // Light
159
+ &-light {
160
+ background: $layout-light-sider-bg;
258
161
 
259
- &-with-image &-extension {
260
- border-top-color: rgb(255 255 255 / 16%);
162
+ .#{$sider-prefix-cls}-trigger {
163
+ color: $layout-light-trigger-color;
164
+ background: $layout-light-trigger-bg;
261
165
  }
262
166
 
263
- &-bottom {
264
- border-top: 1px solid $layout-header-border-color;
265
- border-bottom: 0;
167
+ .#{$sider-prefix-cls}-zero-width-trigger {
168
+ color: $layout-light-trigger-color;
169
+ background: $layout-light-trigger-bg;
170
+ border: 1px solid $layout-body-bg;
171
+ border-inline-start: 0;
266
172
  }
267
173
  }
268
174
 
269
- &-content {
270
- flex: 1;
271
- }
272
-
273
- &-footer {
175
+ // Temporary: aside 退化为触发器宿主,菜单内容交给 Drawer 渲染。
176
+ &-temporary {
274
177
  flex: 0 0 auto;
275
- margin: 0;
178
+ width: auto;
179
+ background: transparent;
276
180
  }
277
- }
278
181
 
279
- .#{$layout-prefix-cls}-has-sider {
280
- flex-direction: row;
281
-
282
- > .#{$layout-prefix-cls},
283
- > .#{$layout-prefix-cls}-content {
284
- overflow-x: hidden;
182
+ &-temporary-trigger {
183
+ display: inline-flex;
184
+ align-items: center;
185
+ justify-content: center;
186
+ width: $layout-sider-zero-trigger-width;
187
+ height: $layout-sider-zero-trigger-width;
188
+ color: $text-color;
189
+ font-size: $layout-sider-zero-trigger-font-size;
190
+ border-radius: $layout-radius-lg;
191
+ cursor: pointer;
192
+ transition: background-color $layout-motion-duration-mid ease;
193
+
194
+ &:hover {
195
+ background: var(string.unquote('#{theme.$sd-cssvars-prefix}-color-fill-2'));
196
+ }
285
197
  }
286
198
  }
@@ -6,29 +6,49 @@
6
6
  @use 'sass:string';
7
7
  @use '@style/theme/index.scss' as *;
8
8
 
9
- $layout-trigger-height: 48px;
10
- $layout-rail-width: 56px;
11
- $layout-sider-mask-color: rgb(0 0 0 / 45%);
12
- $layout-sider-shadow: 0 12px 32px rgb(0 0 0 / 18%);
13
- $layout-header-background: var(string.unquote('#{global.$sd-cssvars-prefix}-color-bg-2'));
14
- $layout-header-color: var(string.unquote('#{global.$sd-cssvars-prefix}-color-text-1'));
15
- $layout-header-border-color: var(string.unquote('#{global.$sd-cssvars-prefix}-color-border-2'));
16
- $layout-header-shadow: 0 8px 24px rgb(0 0 0 / 12%);
17
- $layout-header-floating-shadow: 0 16px 32px rgb(0 0 0 / 14%);
18
- $layout-header-padding-inline: 20px;
19
- $layout-header-gap: 16px;
20
- $layout-header-title-font-size: 18px;
21
- $layout-header-title-font-weight: 600;
22
- $layout-header-image-overlay: linear-gradient(180deg, rgb(0 0 0 / 18%), rgb(0 0 0 / 36%));
23
-
24
- // Layout Theme Dark(Default)
25
- $layout-sider-background: var(string.unquote('#{global.$sd-cssvars-prefix}-color-menu-dark-bg'));
26
- $layout-font-color-dark: var(string.unquote('#{global.$sd-cssvars-prefix}-color-white'));
27
- $layout-font-color: var(string.unquote('#{global.$sd-cssvars-prefix}-color-text-1'));
28
- $layout-trigger-dark-color: rgb(255 255 255 / 20%);
29
-
30
- // Layout Theme Light
31
- $layout-sider-background-light: var(
32
- string.unquote('#{global.$sd-cssvars-prefix}-color-menu-light-bg')
33
- );
34
- $layout-trigger-light-color-border: var(string.unquote('#{global.$sd-cssvars-prefix}-color-bg-5'));
9
+ /*****************************************************
10
+ * Layout 整体背景(容器主体与页脚共用)
11
+ *****************************************************/
12
+ $layout-body-bg: var(string.unquote('#{$sd-cssvars-prefix}-color-fill-1'));
13
+ $layout-footer-bg: var(string.unquote('#{$sd-cssvars-prefix}-color-fill-1'));
14
+
15
+ /*****************************************************
16
+ * Header
17
+ *****************************************************/
18
+ $layout-header-bg: #001529;
19
+ $layout-header-height: global.$size-16; // 64px
20
+ $layout-header-padding-horizontal: 50px;
21
+ $layout-header-padding: 0 $layout-header-padding-horizontal;
22
+ $layout-header-color: var(string.unquote('#{$sd-cssvars-prefix}-color-text-1'));
23
+
24
+ /*****************************************************
25
+ * Footer
26
+ *****************************************************/
27
+ $layout-footer-padding: 24px $layout-header-padding-horizontal;
28
+
29
+ /*****************************************************
30
+ * Sider
31
+ * 深色背景与 Menu 深色背景保持一致,避免内嵌菜单出现接缝
32
+ *****************************************************/
33
+ $layout-sider-bg: var(string.unquote('#{$sd-cssvars-prefix}-color-menu-dark-bg'));
34
+ $layout-sider-trigger-height: global.$size-11; // 44px
35
+ $layout-sider-trigger-bg: var(string.unquote('#{$sd-cssvars-prefix}-color-menu-dark-hover'));
36
+ $layout-sider-trigger-color: var(string.unquote('#{$sd-cssvars-prefix}-color-white'));
37
+ $layout-sider-zero-trigger-width: global.$size-10; // 40px
38
+ $layout-sider-zero-trigger-height: global.$size-10; // 40px
39
+ $layout-sider-zero-trigger-font-size: 18px;
40
+
41
+ /*****************************************************
42
+ * Sider light 主题
43
+ *****************************************************/
44
+ $layout-light-sider-bg: var(string.unquote('#{$sd-cssvars-prefix}-color-bg-1'));
45
+ $layout-light-trigger-bg: var(string.unquote('#{$sd-cssvars-prefix}-color-bg-1'));
46
+ $layout-light-trigger-color: var(string.unquote('#{$sd-cssvars-prefix}-color-text-1'));
47
+
48
+ /*****************************************************
49
+ * 公共
50
+ *****************************************************/
51
+ $layout-radius-lg: global.$border-radius-large;
52
+ $layout-motion-duration-mid: global.$transition-duration-2;
53
+ $layout-motion-duration-slow: global.$transition-duration-3;
54
+ $layout-font-size: global.$font-size-body;
@@ -14,8 +14,8 @@ declare const Link: {
14
14
  loading: boolean;
15
15
  ellipsisLineClamp: number | string;
16
16
  ellipsisExpandTrigger: "click";
17
- ellipsisTooltip: boolean | import("..").EllipsisTooltipProps;
18
- status: import("..").Status;
17
+ ellipsisTooltip: boolean | import("../index.ts").EllipsisTooltipProps;
18
+ status: import("../index.ts").Status;
19
19
  iconTooltip: string;
20
20
  }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
21
21
  P: {};
@@ -33,8 +33,8 @@ declare const Link: {
33
33
  loading: boolean;
34
34
  ellipsisLineClamp: number | string;
35
35
  ellipsisExpandTrigger: "click";
36
- ellipsisTooltip: boolean | import("..").EllipsisTooltipProps;
37
- status: import("..").Status;
36
+ ellipsisTooltip: boolean | import("../index.ts").EllipsisTooltipProps;
37
+ status: import("../index.ts").Status;
38
38
  iconTooltip: string;
39
39
  }>;
40
40
  __isFragment?: never;
@@ -51,8 +51,8 @@ declare const Link: {
51
51
  loading: boolean;
52
52
  ellipsisLineClamp: number | string;
53
53
  ellipsisExpandTrigger: "click";
54
- ellipsisTooltip: boolean | import("..").EllipsisTooltipProps;
55
- status: import("..").Status;
54
+ ellipsisTooltip: boolean | import("../index.ts").EllipsisTooltipProps;
55
+ status: import("../index.ts").Status;
56
56
  iconTooltip: string;
57
57
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
58
58
  $slots: {