@fastkit/vui 1.3.2 → 1.4.0-next.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.
- package/dist/after-effects/display-flow.scss +31 -25
- package/dist/after-effects/spacing.scss +39 -15
- package/dist/vui.css +1089 -1099
- package/dist/vui.d.mts +7926 -0
- package/dist/vui.mjs +3792 -4776
- package/dist/vui.mjs.map +1 -1
- package/package.json +30 -30
- package/src/components/loading.ts +1 -1
- package/src/styles/core/functions.scss +9 -5
- package/dist/vui.d.ts +0 -7869
|
@@ -233,35 +233,41 @@ $props-map: (
|
|
|
233
233
|
);
|
|
234
234
|
|
|
235
235
|
@mixin grid-spacing($breakpoint-suffix: '', $direction: 'all') {
|
|
236
|
-
$props:
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
236
|
+
$props: ('top', 'left');
|
|
237
|
+
|
|
238
|
+
@if $direction == 'x' {
|
|
239
|
+
$props: ('left');
|
|
240
|
+
} @else if $direction == 'y' {
|
|
241
|
+
$props: ('top');
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
$suffix: '';
|
|
245
|
+
|
|
246
|
+
@if $direction != 'all' {
|
|
247
|
+
$suffix: '-' + $direction;
|
|
248
|
+
}
|
|
242
249
|
|
|
243
250
|
@for $i from 1 through 10 {
|
|
244
|
-
$base-value:
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
251
|
+
$base-value: var(--root-spacing);
|
|
252
|
+
|
|
253
|
+
@if $i > 1 {
|
|
254
|
+
$base-value: calc(var(--root-spacing) * #{$i});
|
|
255
|
+
}
|
|
256
|
+
|
|
249
257
|
$half-value: calc(var(--root-spacing) * #{$i + 0.5});
|
|
250
|
-
$negative-base-value:
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
calc(var(--root-spacing) * -#{$i})
|
|
254
|
-
|
|
258
|
+
$negative-base-value: calc(var(--root-spacing) * -1);
|
|
259
|
+
|
|
260
|
+
@if $i > 1 {
|
|
261
|
+
$negative-base-value: calc(var(--root-spacing) * -#{$i});
|
|
262
|
+
}
|
|
263
|
+
|
|
255
264
|
$negative-half-value: calc(var(--root-spacing) * -#{$i + 0.5});
|
|
256
|
-
$container-width:
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
calc(100% + (var(--root-spacing) * #{$i}))
|
|
263
|
-
)
|
|
264
|
-
);
|
|
265
|
+
$container-width: calc(100% + var(--root-spacing));
|
|
266
|
+
|
|
267
|
+
@if $i > 1 {
|
|
268
|
+
$container-width: calc(100% + (var(--root-spacing) * #{$i}));
|
|
269
|
+
}
|
|
270
|
+
|
|
265
271
|
$container-width-half: calc(100% + (var(--root-spacing) * #{$i + 0.5}));
|
|
266
272
|
|
|
267
273
|
.grid-spacing#{$suffix}-#{$i}#{$breakpoint-suffix} {
|
|
@@ -87,7 +87,11 @@ $sides-map: (
|
|
|
87
87
|
@if $has-auto {
|
|
88
88
|
#{$base-selector}-auto#{$breakpoint-suffix} {
|
|
89
89
|
@each $sides-prop in $sides-props {
|
|
90
|
-
$prop-suffix:
|
|
90
|
+
$prop-suffix: '';
|
|
91
|
+
|
|
92
|
+
@if $sides-prop != 'all' {
|
|
93
|
+
$prop-suffix: '-' + $sides-prop;
|
|
94
|
+
}
|
|
91
95
|
|
|
92
96
|
#{$prop-name}#{$prop-suffix}: auto;
|
|
93
97
|
}
|
|
@@ -95,16 +99,23 @@ $sides-map: (
|
|
|
95
99
|
}
|
|
96
100
|
|
|
97
101
|
@for $i from 0 through 10 {
|
|
98
|
-
$base-value:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
$base-value: 0;
|
|
103
|
+
|
|
104
|
+
@if $i == 1 {
|
|
105
|
+
$base-value: var(--root-spacing);
|
|
106
|
+
} @else if $i > 1 {
|
|
107
|
+
$base-value: calc(var(--root-spacing) * #{$i});
|
|
108
|
+
}
|
|
109
|
+
|
|
103
110
|
$half-value: calc(var(--root-spacing) * #{$i + 0.5});
|
|
104
111
|
|
|
105
112
|
#{$base-selector}-#{$i}#{$breakpoint-suffix} {
|
|
106
113
|
@each $sides-prop in $sides-props {
|
|
107
|
-
$prop-suffix:
|
|
114
|
+
$prop-suffix: '';
|
|
115
|
+
|
|
116
|
+
@if $sides-prop != 'all' {
|
|
117
|
+
$prop-suffix: '-' + $sides-prop;
|
|
118
|
+
}
|
|
108
119
|
|
|
109
120
|
#{$prop-name}#{$prop-suffix}: $base-value;
|
|
110
121
|
}
|
|
@@ -112,7 +123,11 @@ $sides-map: (
|
|
|
112
123
|
|
|
113
124
|
#{$base-selector}-#{$i}h#{$breakpoint-suffix} {
|
|
114
125
|
@each $sides-prop in $sides-props {
|
|
115
|
-
$prop-suffix:
|
|
126
|
+
$prop-suffix: '';
|
|
127
|
+
|
|
128
|
+
@if $sides-prop != 'all' {
|
|
129
|
+
$prop-suffix: '-' + $sides-prop;
|
|
130
|
+
}
|
|
116
131
|
|
|
117
132
|
#{$prop-name}#{$prop-suffix}: $half-value;
|
|
118
133
|
}
|
|
@@ -121,16 +136,21 @@ $sides-map: (
|
|
|
121
136
|
|
|
122
137
|
@if $has-negative {
|
|
123
138
|
@for $i from 1 through 10 {
|
|
124
|
-
$base-value:
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
calc(var(--root-spacing) * -#{$i})
|
|
128
|
-
|
|
139
|
+
$base-value: calc(var(--root-spacing) * -1);
|
|
140
|
+
|
|
141
|
+
@if $i > 1 {
|
|
142
|
+
$base-value: calc(var(--root-spacing) * -#{$i});
|
|
143
|
+
}
|
|
144
|
+
|
|
129
145
|
$half-value: calc(var(--root-spacing) * -#{$i + 0.5});
|
|
130
146
|
|
|
131
147
|
#{$base-selector}-n#{$i}#{$breakpoint-suffix} {
|
|
132
148
|
@each $sides-prop in $sides-props {
|
|
133
|
-
$prop-suffix:
|
|
149
|
+
$prop-suffix: '';
|
|
150
|
+
|
|
151
|
+
@if $sides-prop != 'all' {
|
|
152
|
+
$prop-suffix: '-' + $sides-prop;
|
|
153
|
+
}
|
|
134
154
|
|
|
135
155
|
#{$prop-name}#{$prop-suffix}: $base-value;
|
|
136
156
|
}
|
|
@@ -138,7 +158,11 @@ $sides-map: (
|
|
|
138
158
|
|
|
139
159
|
#{$base-selector}-n#{$i}h#{$breakpoint-suffix} {
|
|
140
160
|
@each $sides-prop in $sides-props {
|
|
141
|
-
$prop-suffix:
|
|
161
|
+
$prop-suffix: '';
|
|
162
|
+
|
|
163
|
+
@if $sides-prop != 'all' {
|
|
164
|
+
$prop-suffix: '-' + $sides-prop;
|
|
165
|
+
}
|
|
142
166
|
|
|
143
167
|
#{$prop-name}#{$prop-suffix}: $half-value;
|
|
144
168
|
}
|