@type-dom/ui 0.3.0 → 0.3.1

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 (135) hide show
  1. package/README.md +134 -134
  2. package/dist/package.json +11 -3
  3. package/dist/src/components/data/td-progress/td-progress.class.js +5 -5
  4. package/dist/src/components/feedback/td-tooltip/td-tooltip.const.d.ts.map +1 -1
  5. package/dist/src/hooks/use-deprecated/index.js +2 -2
  6. package/dist/src/hooks/use-id/index.js +4 -4
  7. package/dist/src/hooks/use-z-index/index.js +1 -1
  8. package/dist/src/theme-chalk/affix.scss +7 -7
  9. package/dist/src/theme-chalk/alert.scss +115 -115
  10. package/dist/src/theme-chalk/anchor-link.scss +41 -41
  11. package/dist/src/theme-chalk/anchor.scss +88 -88
  12. package/dist/src/theme-chalk/aside.scss +8 -8
  13. package/dist/src/theme-chalk/autocomplete.scss +89 -89
  14. package/dist/src/theme-chalk/avatar.scss +55 -55
  15. package/dist/src/theme-chalk/backtop.scss +29 -29
  16. package/dist/src/theme-chalk/badge.scss +58 -58
  17. package/dist/src/theme-chalk/base.scss +3 -3
  18. package/dist/src/theme-chalk/breadcrumb.scss +62 -62
  19. package/dist/src/theme-chalk/button-group.scss +80 -80
  20. package/dist/src/theme-chalk/button.scss +304 -304
  21. package/dist/src/theme-chalk/calendar.scss +80 -80
  22. package/dist/src/theme-chalk/card.scss +45 -45
  23. package/dist/src/theme-chalk/carousel-item.scss +58 -58
  24. package/dist/src/theme-chalk/carousel.scss +188 -188
  25. package/dist/src/theme-chalk/cascader-panel.scss +138 -138
  26. package/dist/src/theme-chalk/cascader.scss +247 -247
  27. package/dist/src/theme-chalk/check-tag.scss +60 -60
  28. package/dist/src/theme-chalk/checkbox-button.scss +140 -140
  29. package/dist/src/theme-chalk/checkbox-group.scss +7 -7
  30. package/dist/src/theme-chalk/checkbox.scss +298 -298
  31. package/dist/src/theme-chalk/col.scss +48 -48
  32. package/dist/src/theme-chalk/collapse.scss +70 -70
  33. package/dist/src/theme-chalk/color/index.scss +20 -20
  34. package/dist/src/theme-chalk/color-picker.scss +393 -393
  35. package/dist/src/theme-chalk/common/popup.scss +47 -47
  36. package/dist/src/theme-chalk/common/transition.scss +122 -122
  37. package/dist/src/theme-chalk/common/var.scss +1655 -1655
  38. package/dist/src/theme-chalk/container.scss +14 -14
  39. package/dist/src/theme-chalk/dark/css-vars.scss +39 -39
  40. package/dist/src/theme-chalk/dark/var.scss +222 -222
  41. package/dist/src/theme-chalk/date-picker/date-picker.scss +110 -110
  42. package/dist/src/theme-chalk/date-picker/date-range-picker.scss +113 -113
  43. package/dist/src/theme-chalk/date-picker/date-table.scss +158 -158
  44. package/dist/src/theme-chalk/date-picker/month-table.scss +112 -112
  45. package/dist/src/theme-chalk/date-picker/picker-panel.scss +131 -131
  46. package/dist/src/theme-chalk/date-picker/picker.scss +212 -212
  47. package/dist/src/theme-chalk/date-picker/time-picker.scss +90 -90
  48. package/dist/src/theme-chalk/date-picker/time-range-picker.scss +33 -33
  49. package/dist/src/theme-chalk/date-picker/time-spinner.scss +111 -111
  50. package/dist/src/theme-chalk/date-picker/year-table.scss +108 -108
  51. package/dist/src/theme-chalk/date-picker.scss +9 -9
  52. package/dist/src/theme-chalk/descriptions-item.scss +73 -73
  53. package/dist/src/theme-chalk/descriptions.scss +152 -152
  54. package/dist/src/theme-chalk/dialog.scss +192 -192
  55. package/dist/src/theme-chalk/display.scss +12 -12
  56. package/dist/src/theme-chalk/divider.scss +48 -48
  57. package/dist/src/theme-chalk/drawer.scss +155 -155
  58. package/dist/src/theme-chalk/dropdown.scss +208 -208
  59. package/dist/src/theme-chalk/empty.scss +49 -49
  60. package/dist/src/theme-chalk/footer.scss +12 -12
  61. package/dist/src/theme-chalk/form.scss +244 -244
  62. package/dist/src/theme-chalk/header.scss +12 -12
  63. package/dist/src/theme-chalk/icon.scss +45 -45
  64. package/dist/src/theme-chalk/image-viewer.scss +155 -155
  65. package/dist/src/theme-chalk/image.scss +49 -49
  66. package/dist/src/theme-chalk/index.scss +111 -111
  67. package/dist/src/theme-chalk/input-number.scss +186 -186
  68. package/dist/src/theme-chalk/input-tag.scss +220 -220
  69. package/dist/src/theme-chalk/input.scss +474 -474
  70. package/dist/src/theme-chalk/link.scss +90 -90
  71. package/dist/src/theme-chalk/loading.scss +104 -104
  72. package/dist/src/theme-chalk/main.scss +14 -14
  73. package/dist/src/theme-chalk/mention.scss +92 -92
  74. package/dist/src/theme-chalk/menu.scss +339 -339
  75. package/dist/src/theme-chalk/message-box.scss +213 -213
  76. package/dist/src/theme-chalk/message.scss +98 -98
  77. package/dist/src/theme-chalk/mixins/_button.scss +165 -165
  78. package/dist/src/theme-chalk/mixins/_col.scss +33 -33
  79. package/dist/src/theme-chalk/mixins/_var.scss +67 -67
  80. package/dist/src/theme-chalk/mixins/config.scss +5 -5
  81. package/dist/src/theme-chalk/mixins/function.scss +88 -88
  82. package/dist/src/theme-chalk/mixins/mixins.scss +240 -240
  83. package/dist/src/theme-chalk/mixins/utils.scss +39 -39
  84. package/dist/src/theme-chalk/notification.scss +107 -107
  85. package/dist/src/theme-chalk/option-group.scss +33 -33
  86. package/dist/src/theme-chalk/option.scss +71 -71
  87. package/dist/src/theme-chalk/overlay.scss +17 -17
  88. package/dist/src/theme-chalk/page-header.scss +60 -60
  89. package/dist/src/theme-chalk/pagination.scss +238 -238
  90. package/dist/src/theme-chalk/popconfirm.scss +16 -16
  91. package/dist/src/theme-chalk/popover.scss +61 -61
  92. package/dist/src/theme-chalk/popper.scss +106 -106
  93. package/dist/src/theme-chalk/progress.scss +179 -179
  94. package/dist/src/theme-chalk/radio-button.scss +169 -169
  95. package/dist/src/theme-chalk/radio-group.scss +9 -9
  96. package/dist/src/theme-chalk/radio.scss +215 -215
  97. package/dist/src/theme-chalk/rate.scss +108 -108
  98. package/dist/src/theme-chalk/reset.scss +98 -98
  99. package/dist/src/theme-chalk/result.scss +57 -57
  100. package/dist/src/theme-chalk/row.scss +35 -35
  101. package/dist/src/theme-chalk/scrollbar.scss +97 -97
  102. package/dist/src/theme-chalk/segmented.scss +183 -183
  103. package/dist/src/theme-chalk/select-dropdown-v2.scss +1 -1
  104. package/dist/src/theme-chalk/select-dropdown.scss +57 -57
  105. package/dist/src/theme-chalk/select-v2.scss +4 -4
  106. package/dist/src/theme-chalk/select.scss +264 -264
  107. package/dist/src/theme-chalk/skeleton-item.scss +83 -83
  108. package/dist/src/theme-chalk/skeleton.scss +44 -44
  109. package/dist/src/theme-chalk/slider.scss +212 -212
  110. package/dist/src/theme-chalk/space.scss +20 -20
  111. package/dist/src/theme-chalk/spinner.scss +43 -43
  112. package/dist/src/theme-chalk/statistic.scss +35 -35
  113. package/dist/src/theme-chalk/step.scss +316 -316
  114. package/dist/src/theme-chalk/steps.scss +21 -21
  115. package/dist/src/theme-chalk/switch.scss +300 -300
  116. package/dist/src/theme-chalk/table-column.scss +98 -98
  117. package/dist/src/theme-chalk/table-v2.scss +236 -236
  118. package/dist/src/theme-chalk/table.scss +694 -694
  119. package/dist/src/theme-chalk/tabs.scss +660 -660
  120. package/dist/src/theme-chalk/tag.scss +181 -181
  121. package/dist/src/theme-chalk/text.scss +51 -51
  122. package/dist/src/theme-chalk/time-picker.scss +5 -5
  123. package/dist/src/theme-chalk/time-select.scss +37 -37
  124. package/dist/src/theme-chalk/timeline-item.scss +84 -84
  125. package/dist/src/theme-chalk/timeline.scss +46 -46
  126. package/dist/src/theme-chalk/tooltip-v2.scss +95 -95
  127. package/dist/src/theme-chalk/tour.scss +187 -187
  128. package/dist/src/theme-chalk/transfer.scss +203 -203
  129. package/dist/src/theme-chalk/tree-select.scss +41 -41
  130. package/dist/src/theme-chalk/tree.scss +134 -134
  131. package/dist/src/theme-chalk/upload.scss +654 -654
  132. package/dist/src/theme-chalk/var.scss +87 -87
  133. package/dist/src/theme-chalk/virtual-list.scss +40 -40
  134. package/package.json +42 -34
  135. package/dist/README.md +0 -134
@@ -1,316 +1,316 @@
1
- @use 'mixins/mixins' as *;
2
- @use 'common/var' as *;
3
-
4
- @include b(step) {
5
- position: relative;
6
- flex-shrink: 1;
7
-
8
- @include pseudo(last-of-type) {
9
- @include e(line) {
10
- display: none;
11
- }
12
-
13
- // 只有未设置 space 的情况下才自适应宽度
14
- @include when(flex) {
15
- flex-basis: auto !important;
16
- flex-shrink: 0;
17
- flex-grow: 0;
18
- }
19
-
20
- @include e((main, description)) {
21
- padding-right: 0;
22
- }
23
- }
24
-
25
- @include e(head) {
26
- position: relative;
27
- width: 100%;
28
-
29
- @include when(process) {
30
- color: getCssVar('text-color', 'primary');
31
- border-color: getCssVar('text-color', 'primary');
32
- }
33
-
34
- @include when(wait) {
35
- color: getCssVar('text-color', 'placeholder');
36
- border-color: getCssVar('text-color', 'placeholder');
37
- }
38
-
39
- @include when(success) {
40
- color: getCssVar('color-success');
41
- border-color: getCssVar('color-success');
42
- }
43
-
44
- @include when(error) {
45
- color: getCssVar('color-danger');
46
- border-color: getCssVar('color-danger');
47
- }
48
-
49
- @include when(finish) {
50
- color: getCssVar('color-primary');
51
- border-color: getCssVar('color-primary');
52
- }
53
- }
54
-
55
- @include e(icon) {
56
- position: relative;
57
- z-index: 1;
58
- display: inline-flex;
59
- justify-content: center;
60
- align-items: center;
61
- width: 24px;
62
- height: 24px;
63
- font-size: 14px;
64
- box-sizing: border-box;
65
- background: getCssVar('bg-color');
66
- transition: 0.15s ease-out;
67
-
68
- @include when(text) {
69
- border-radius: 50%;
70
- border: 2px solid;
71
- border-color: currentColor;
72
- }
73
-
74
- @include when(icon) {
75
- width: 40px;
76
- }
77
- }
78
-
79
- @include e(icon-inner) {
80
- display: inline-block;
81
- user-select: none;
82
- text-align: center;
83
- font-weight: bold;
84
- line-height: 1;
85
- color: inherit;
86
-
87
- &[class*='#{$namespace}-icon']:not(.is-status) {
88
- font-size: 25px;
89
- font-weight: normal;
90
- }
91
-
92
- // 组件自身表示状态的图标
93
- @include when(status) {
94
- transform: translateY(1px);
95
- }
96
- }
97
-
98
- @include e(line) {
99
- position: absolute;
100
- border-color: currentColor;
101
- background-color: getCssVar('text-color', 'placeholder');
102
- }
103
-
104
- @include e(line-inner) {
105
- display: block;
106
- border-width: 1px;
107
- border-style: solid;
108
- border-color: currentColor;
109
- transition: 0.15s ease-out;
110
- box-sizing: border-box;
111
- width: 0;
112
- height: 0;
113
- }
114
-
115
- @include e(main) {
116
- white-space: normal;
117
- text-align: left;
118
- }
119
-
120
- @include e(title) {
121
- font-size: 16px;
122
- line-height: 38px;
123
-
124
- @include when(process) {
125
- font-weight: bold;
126
- color: getCssVar('text-color', 'primary');
127
- }
128
-
129
- @include when(wait) {
130
- color: getCssVar('text-color', 'placeholder');
131
- }
132
-
133
- @include when(success) {
134
- color: getCssVar('color-success');
135
- }
136
-
137
- @include when(error) {
138
- color: getCssVar('color-danger');
139
- }
140
-
141
- @include when(finish) {
142
- color: getCssVar('color-primary');
143
- }
144
- }
145
-
146
- @include e(description) {
147
- padding-right: 10%;
148
- margin-top: -5px;
149
- font-size: 12px;
150
- line-height: 20px;
151
- font-weight: normal;
152
-
153
- @include when(process) {
154
- color: getCssVar('text-color', 'primary');
155
- }
156
-
157
- @include when(wait) {
158
- color: getCssVar('text-color', 'placeholder');
159
- }
160
-
161
- @include when(success) {
162
- color: getCssVar('color-success');
163
- }
164
-
165
- @include when(error) {
166
- color: getCssVar('color-danger');
167
- }
168
-
169
- @include when(finish) {
170
- color: getCssVar('color-primary');
171
- }
172
- }
173
-
174
- @include when(horizontal) {
175
- display: inline-block;
176
-
177
- @include e(line) {
178
- height: 2px;
179
- top: 11px;
180
- left: 0;
181
- right: 0;
182
- }
183
- }
184
-
185
- @include when(vertical) {
186
- display: flex;
187
-
188
- @include e(head) {
189
- flex-grow: 0;
190
- width: 24px;
191
- }
192
-
193
- @include e(main) {
194
- padding-left: 10px;
195
- flex-grow: 1;
196
- }
197
-
198
- @include e(title) {
199
- line-height: 24px;
200
- padding-bottom: 8px;
201
- }
202
-
203
- @include e(line) {
204
- width: 2px;
205
- top: 0;
206
- bottom: 0;
207
- left: 11px;
208
- }
209
-
210
- @include e(icon) {
211
- @include when(icon) {
212
- width: 24px;
213
- }
214
- }
215
- }
216
-
217
- @include when(center) {
218
- @include e(head) {
219
- text-align: center;
220
- }
221
-
222
- @include e(main) {
223
- text-align: center;
224
- }
225
-
226
- @include e(description) {
227
- padding-left: 20%;
228
- padding-right: 20%;
229
- }
230
-
231
- @include e(line) {
232
- left: 50%;
233
- right: -50%;
234
- }
235
- }
236
-
237
- @include when(simple) {
238
- display: flex;
239
- align-items: center;
240
-
241
- @include e(head) {
242
- width: auto;
243
- font-size: 0;
244
- padding-right: 10px;
245
- }
246
-
247
- @include e(icon) {
248
- background: transparent;
249
- width: 16px;
250
- height: 16px;
251
- font-size: 12px;
252
- }
253
-
254
- @include e(icon-inner) {
255
- &[class*='#{$namespace}-icon']:not(.is-status) {
256
- font-size: 18px;
257
- }
258
-
259
- &.is-status {
260
- transform: scale(0.8) translateY(1px);
261
- }
262
- }
263
-
264
- @include e(main) {
265
- position: relative;
266
- display: flex;
267
- align-items: stretch;
268
- flex-grow: 1;
269
- }
270
-
271
- @include e(title) {
272
- font-size: 16px;
273
- line-height: 20px;
274
- }
275
-
276
- @include pseudo('not(:last-of-type)') {
277
- @include e(title) {
278
- max-width: 50%;
279
- overflow-wrap: break-word;
280
- }
281
- }
282
-
283
- @include e(arrow) {
284
- flex-grow: 1;
285
- display: flex;
286
- align-items: center;
287
- justify-content: center;
288
-
289
- &::before,
290
- &::after {
291
- content: '';
292
- display: inline-block;
293
- position: absolute;
294
- height: 15px;
295
- width: 1px;
296
- background: getCssVar('text-color', 'placeholder');
297
- }
298
-
299
- &::before {
300
- transform: rotate(-45deg) translateY(-4px);
301
- transform-origin: 0 0;
302
- }
303
-
304
- &::after {
305
- transform: rotate(45deg) translateY(4px);
306
- transform-origin: 100% 100%;
307
- }
308
- }
309
-
310
- @include pseudo(last-of-type) {
311
- @include e(arrow) {
312
- display: none;
313
- }
314
- }
315
- }
316
- }
1
+ @use 'mixins/mixins' as *;
2
+ @use 'common/var' as *;
3
+
4
+ @include b(step) {
5
+ position: relative;
6
+ flex-shrink: 1;
7
+
8
+ @include pseudo(last-of-type) {
9
+ @include e(line) {
10
+ display: none;
11
+ }
12
+
13
+ // 只有未设置 space 的情况下才自适应宽度
14
+ @include when(flex) {
15
+ flex-basis: auto !important;
16
+ flex-shrink: 0;
17
+ flex-grow: 0;
18
+ }
19
+
20
+ @include e((main, description)) {
21
+ padding-right: 0;
22
+ }
23
+ }
24
+
25
+ @include e(head) {
26
+ position: relative;
27
+ width: 100%;
28
+
29
+ @include when(process) {
30
+ color: getCssVar('text-color', 'primary');
31
+ border-color: getCssVar('text-color', 'primary');
32
+ }
33
+
34
+ @include when(wait) {
35
+ color: getCssVar('text-color', 'placeholder');
36
+ border-color: getCssVar('text-color', 'placeholder');
37
+ }
38
+
39
+ @include when(success) {
40
+ color: getCssVar('color-success');
41
+ border-color: getCssVar('color-success');
42
+ }
43
+
44
+ @include when(error) {
45
+ color: getCssVar('color-danger');
46
+ border-color: getCssVar('color-danger');
47
+ }
48
+
49
+ @include when(finish) {
50
+ color: getCssVar('color-primary');
51
+ border-color: getCssVar('color-primary');
52
+ }
53
+ }
54
+
55
+ @include e(icon) {
56
+ position: relative;
57
+ z-index: 1;
58
+ display: inline-flex;
59
+ justify-content: center;
60
+ align-items: center;
61
+ width: 24px;
62
+ height: 24px;
63
+ font-size: 14px;
64
+ box-sizing: border-box;
65
+ background: getCssVar('bg-color');
66
+ transition: 0.15s ease-out;
67
+
68
+ @include when(text) {
69
+ border-radius: 50%;
70
+ border: 2px solid;
71
+ border-color: currentColor;
72
+ }
73
+
74
+ @include when(icon) {
75
+ width: 40px;
76
+ }
77
+ }
78
+
79
+ @include e(icon-inner) {
80
+ display: inline-block;
81
+ user-select: none;
82
+ text-align: center;
83
+ font-weight: bold;
84
+ line-height: 1;
85
+ color: inherit;
86
+
87
+ &[class*='#{$namespace}-icon']:not(.is-status) {
88
+ font-size: 25px;
89
+ font-weight: normal;
90
+ }
91
+
92
+ // 组件自身表示状态的图标
93
+ @include when(status) {
94
+ transform: translateY(1px);
95
+ }
96
+ }
97
+
98
+ @include e(line) {
99
+ position: absolute;
100
+ border-color: currentColor;
101
+ background-color: getCssVar('text-color', 'placeholder');
102
+ }
103
+
104
+ @include e(line-inner) {
105
+ display: block;
106
+ border-width: 1px;
107
+ border-style: solid;
108
+ border-color: currentColor;
109
+ transition: 0.15s ease-out;
110
+ box-sizing: border-box;
111
+ width: 0;
112
+ height: 0;
113
+ }
114
+
115
+ @include e(main) {
116
+ white-space: normal;
117
+ text-align: left;
118
+ }
119
+
120
+ @include e(title) {
121
+ font-size: 16px;
122
+ line-height: 38px;
123
+
124
+ @include when(process) {
125
+ font-weight: bold;
126
+ color: getCssVar('text-color', 'primary');
127
+ }
128
+
129
+ @include when(wait) {
130
+ color: getCssVar('text-color', 'placeholder');
131
+ }
132
+
133
+ @include when(success) {
134
+ color: getCssVar('color-success');
135
+ }
136
+
137
+ @include when(error) {
138
+ color: getCssVar('color-danger');
139
+ }
140
+
141
+ @include when(finish) {
142
+ color: getCssVar('color-primary');
143
+ }
144
+ }
145
+
146
+ @include e(description) {
147
+ padding-right: 10%;
148
+ margin-top: -5px;
149
+ font-size: 12px;
150
+ line-height: 20px;
151
+ font-weight: normal;
152
+
153
+ @include when(process) {
154
+ color: getCssVar('text-color', 'primary');
155
+ }
156
+
157
+ @include when(wait) {
158
+ color: getCssVar('text-color', 'placeholder');
159
+ }
160
+
161
+ @include when(success) {
162
+ color: getCssVar('color-success');
163
+ }
164
+
165
+ @include when(error) {
166
+ color: getCssVar('color-danger');
167
+ }
168
+
169
+ @include when(finish) {
170
+ color: getCssVar('color-primary');
171
+ }
172
+ }
173
+
174
+ @include when(horizontal) {
175
+ display: inline-block;
176
+
177
+ @include e(line) {
178
+ height: 2px;
179
+ top: 11px;
180
+ left: 0;
181
+ right: 0;
182
+ }
183
+ }
184
+
185
+ @include when(vertical) {
186
+ display: flex;
187
+
188
+ @include e(head) {
189
+ flex-grow: 0;
190
+ width: 24px;
191
+ }
192
+
193
+ @include e(main) {
194
+ padding-left: 10px;
195
+ flex-grow: 1;
196
+ }
197
+
198
+ @include e(title) {
199
+ line-height: 24px;
200
+ padding-bottom: 8px;
201
+ }
202
+
203
+ @include e(line) {
204
+ width: 2px;
205
+ top: 0;
206
+ bottom: 0;
207
+ left: 11px;
208
+ }
209
+
210
+ @include e(icon) {
211
+ @include when(icon) {
212
+ width: 24px;
213
+ }
214
+ }
215
+ }
216
+
217
+ @include when(center) {
218
+ @include e(head) {
219
+ text-align: center;
220
+ }
221
+
222
+ @include e(main) {
223
+ text-align: center;
224
+ }
225
+
226
+ @include e(description) {
227
+ padding-left: 20%;
228
+ padding-right: 20%;
229
+ }
230
+
231
+ @include e(line) {
232
+ left: 50%;
233
+ right: -50%;
234
+ }
235
+ }
236
+
237
+ @include when(simple) {
238
+ display: flex;
239
+ align-items: center;
240
+
241
+ @include e(head) {
242
+ width: auto;
243
+ font-size: 0;
244
+ padding-right: 10px;
245
+ }
246
+
247
+ @include e(icon) {
248
+ background: transparent;
249
+ width: 16px;
250
+ height: 16px;
251
+ font-size: 12px;
252
+ }
253
+
254
+ @include e(icon-inner) {
255
+ &[class*='#{$namespace}-icon']:not(.is-status) {
256
+ font-size: 18px;
257
+ }
258
+
259
+ &.is-status {
260
+ transform: scale(0.8) translateY(1px);
261
+ }
262
+ }
263
+
264
+ @include e(main) {
265
+ position: relative;
266
+ display: flex;
267
+ align-items: stretch;
268
+ flex-grow: 1;
269
+ }
270
+
271
+ @include e(title) {
272
+ font-size: 16px;
273
+ line-height: 20px;
274
+ }
275
+
276
+ @include pseudo('not(:last-of-type)') {
277
+ @include e(title) {
278
+ max-width: 50%;
279
+ overflow-wrap: break-word;
280
+ }
281
+ }
282
+
283
+ @include e(arrow) {
284
+ flex-grow: 1;
285
+ display: flex;
286
+ align-items: center;
287
+ justify-content: center;
288
+
289
+ &::before,
290
+ &::after {
291
+ content: '';
292
+ display: inline-block;
293
+ position: absolute;
294
+ height: 15px;
295
+ width: 1px;
296
+ background: getCssVar('text-color', 'placeholder');
297
+ }
298
+
299
+ &::before {
300
+ transform: rotate(-45deg) translateY(-4px);
301
+ transform-origin: 0 0;
302
+ }
303
+
304
+ &::after {
305
+ transform: rotate(45deg) translateY(4px);
306
+ transform-origin: 100% 100%;
307
+ }
308
+ }
309
+
310
+ @include pseudo(last-of-type) {
311
+ @include e(arrow) {
312
+ display: none;
313
+ }
314
+ }
315
+ }
316
+ }
@@ -1,21 +1,21 @@
1
- @use 'mixins/mixins' as *;
2
- @use 'common/var' as *;
3
-
4
- @include b(steps) {
5
- display: flex;
6
-
7
- @include m(simple) {
8
- padding: 13px 8%;
9
- border-radius: 4px;
10
- background: getCssVar('fill-color', 'light');
11
- }
12
-
13
- @include m(horizontal) {
14
- white-space: nowrap;
15
- }
16
-
17
- @include m(vertical) {
18
- height: 100%;
19
- flex-flow: column;
20
- }
21
- }
1
+ @use 'mixins/mixins' as *;
2
+ @use 'common/var' as *;
3
+
4
+ @include b(steps) {
5
+ display: flex;
6
+
7
+ @include m(simple) {
8
+ padding: 13px 8%;
9
+ border-radius: 4px;
10
+ background: getCssVar('fill-color', 'light');
11
+ }
12
+
13
+ @include m(horizontal) {
14
+ white-space: nowrap;
15
+ }
16
+
17
+ @include m(vertical) {
18
+ height: 100%;
19
+ flex-flow: column;
20
+ }
21
+ }