@volverjs/style 0.1.2-beta.25 → 0.1.2-beta.27

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 (58) hide show
  1. package/dist/components/vv-accordion.css +1 -1
  2. package/dist/components/vv-button.css +1 -1
  3. package/dist/components/vv-dialog.css +1 -1
  4. package/dist/components/vv-input-checkbox.css +1 -1
  5. package/dist/components/vv-input-radio.css +1 -1
  6. package/dist/components/vv-input-text.css +1 -1
  7. package/dist/components/vv-nav.css +1 -1
  8. package/dist/components/vv-select.css +1 -1
  9. package/dist/components/vv-skeleton.css +1 -0
  10. package/dist/components/vv-textarea.css +1 -1
  11. package/dist/components/vv-tooltip.css +1 -1
  12. package/dist/components.css +1 -1
  13. package/dist/export.css +1 -1
  14. package/dist/props/filters.css +1 -1
  15. package/dist/props/transitions.css +1 -0
  16. package/dist/props.css +1 -1
  17. package/dist/utilities/borders.css +1 -1
  18. package/dist/utilities/filters.css +1 -1
  19. package/dist/utilities/interactivity.css +1 -0
  20. package/dist/utilities/transitions.css +1 -1
  21. package/dist/utilities/typography.css +1 -1
  22. package/dist/utilities.css +1 -1
  23. package/dist/volver.css +1 -1
  24. package/package.json +24 -22
  25. package/src/_config.scss +1 -0
  26. package/src/_preflight.scss +33 -5
  27. package/src/components/index.scss +1 -0
  28. package/src/components/vv-button.scss +0 -4
  29. package/src/components/vv-skeleton.scss +14 -0
  30. package/src/export.scss +21 -2
  31. package/src/props/filters.scss +1 -0
  32. package/src/props/index.scss +3 -3
  33. package/src/props/{animation.scss → transitions.scss} +41 -1
  34. package/src/settings/_filters.scss +9 -0
  35. package/src/settings/_index.scss +8 -7
  36. package/src/settings/_interactivity.scss +39 -0
  37. package/src/settings/_transitions.scss +4 -1
  38. package/src/settings/components/_vv-accordion.scss +2 -2
  39. package/src/settings/components/_vv-button.scss +1 -1
  40. package/src/settings/components/_vv-dialog.scss +63 -87
  41. package/src/settings/components/_vv-input-checkbox.scss +2 -2
  42. package/src/settings/components/_vv-input-radio.scss +1 -1
  43. package/src/settings/components/_vv-input-text.scss +8 -11
  44. package/src/settings/components/_vv-nav.scss +1 -1
  45. package/src/settings/components/_vv-select.scss +9 -9
  46. package/src/settings/components/_vv-skeleton.scss +22 -0
  47. package/src/settings/components/_vv-textarea.scss +7 -7
  48. package/src/settings/components/_vv-tooltip.scss +1 -1
  49. package/src/tools/_mixins.scss +95 -0
  50. package/src/utilities/borders.scss +5 -0
  51. package/src/utilities/filters.scss +8 -0
  52. package/src/utilities/index.scss +2 -2
  53. package/src/utilities/{animation.scss → interactivity.scss} +5 -4
  54. package/src/utilities/transitions.scss +18 -1
  55. package/src/utilities/typography.scss +1 -0
  56. package/dist/props/animation.css +0 -1
  57. package/dist/utilities/animation.css +0 -1
  58. package/src/settings/_animation.scss +0 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volverjs/style",
3
- "version": "0.1.2-beta.25",
3
+ "version": "0.1.2-beta.27",
4
4
  "description": "@volverjs/style is a lightweight responsive CSS utility library to accompany @volverjs/ui and static webpages as well.",
5
5
  "main": "dist/style.css",
6
6
  "style": "dist/style.css",
@@ -59,6 +59,8 @@
59
59
  "./scss/components/vv-progress": "./src/components/vv-progress.scss",
60
60
  "./components/vv-select": "./dist/components/vv-select.css",
61
61
  "./scss/components/vv-select": "./src/components/vv-select.scss",
62
+ "./components/vv-skeleton": "./dist/components/vv-skeleton.css",
63
+ "./scss/components/vv-skeleton": "./src/components/vv-skeleton.scss",
62
64
  "./components/vv-tab": "./dist/components/vv-tab.css",
63
65
  "./scss/components/vv-tab": "./src/components/vv-tab.scss",
64
66
  "./components/vv-table": "./dist/components/vv-table.css",
@@ -73,8 +75,6 @@
73
75
  "./scss/components/vv-tooltip": "./src/components/vv-tooltip.scss",
74
76
  "./export": "./dist/export.css",
75
77
  "./scss/export": "./src/export.scss",
76
- "./props/animation": "./dist/props/animation.css",
77
- "./scss/props/animation": "./src/props/animation.scss",
78
78
  "./props/background": "./dist/props/background.css",
79
79
  "./scss/props/background": "./src/props/background.scss",
80
80
  "./props/borders": "./dist/props/borders.css",
@@ -97,6 +97,8 @@
97
97
  "./scss/props/sizing": "./src/props/sizing.scss",
98
98
  "./props/spacing": "./dist/props/spacing.css",
99
99
  "./scss/props/spacing": "./src/props/spacing.scss",
100
+ "./props/transitions": "./dist/props/transitions.css",
101
+ "./scss/props/transitions": "./src/props/transitions.scss",
100
102
  "./props/typography": "./dist/props/typography.css",
101
103
  "./scss/props/typography": "./src/props/typography.scss",
102
104
  "./reset": "./dist/reset.css",
@@ -107,8 +109,6 @@
107
109
  "./scss/themes/dark/props": "./src/themes/dark/props/index.scss",
108
110
  "./themes/dark": "./dist/themes/dark/volver.css",
109
111
  "./scss/themes/dark": "./src/themes/dark/volver.scss",
110
- "./utilities/animation": "./dist/utilities/animation.css",
111
- "./scss/utilities/animation": "./src/utilities/animation.scss",
112
112
  "./utilities/backgrounds": "./dist/utilities/backgrounds.css",
113
113
  "./scss/utilities/backgrounds": "./src/utilities/backgrounds.scss",
114
114
  "./utilities/borders": "./dist/utilities/borders.css",
@@ -125,6 +125,8 @@
125
125
  "./scss/utilities/grid": "./src/utilities/grid.scss",
126
126
  "./utilities": "./dist/utilities.css",
127
127
  "./scss/utilities": "./src/utilities/index.scss",
128
+ "./utilities/interactivity": "./dist/utilities/interactivity.css",
129
+ "./scss/utilities/interactivity": "./src/utilities/interactivity.scss",
128
130
  "./utilities/layout": "./dist/utilities/layout.css",
129
131
  "./scss/utilities/layout": "./src/utilities/layout.scss",
130
132
  "./utilities/sizing": "./dist/utilities/sizing.css",
@@ -153,42 +155,42 @@
153
155
  },
154
156
  "homepage": "https://github.com/volverjs/style#readme",
155
157
  "devDependencies": {
156
- "@iconify/vue": "^4.0.0",
157
- "@vitejs/plugin-vue": "^3.2.0",
158
- "@vueuse/core": "^9.6.0",
159
- "@vueuse/head": "^1.0.18",
160
- "eslint": "^8.28.0",
158
+ "@iconify/vue": "^4.0.2",
159
+ "@vitejs/plugin-vue": "^4.0.0",
160
+ "@vueuse/core": "^9.8.2",
161
+ "@vueuse/head": "^1.0.22",
162
+ "eslint": "^8.30.0",
161
163
  "eslint-config-prettier": "^8.5.0",
162
164
  "eslint-plugin-vue": "^9.8.0",
163
165
  "glob": "^8.0.3",
164
166
  "icss-utils": "^5.1.0",
165
- "markdown-it-anchor": "^8.6.5",
167
+ "markdown-it-anchor": "^8.6.6",
166
168
  "markdown-it-prism": "^2.3.0",
167
- "postcss": "^8.4.19",
169
+ "postcss": "^8.4.20",
168
170
  "postcss-html": "^1.5.0",
169
171
  "postcss-preset-env": "^7.8.3",
170
172
  "prism-themes": "^1.9.0",
171
173
  "prismjs": "1.29.0",
172
- "sass": "^1.56.1",
173
- "stylelint": "^14.15.0",
174
+ "sass": "^1.57.1",
175
+ "stylelint": "^14.16.0",
174
176
  "stylelint-config-prettier": "^9.0.4",
175
177
  "stylelint-config-recommended-scss": "^8.0.0",
176
178
  "stylelint-config-recommended-vue": "^1.4.0",
177
179
  "stylelint-config-standard-scss": "^6.1.0",
178
- "unplugin-auto-import": "^0.11.5",
179
- "unplugin-vue-components": "^0.22.11",
180
- "vite": "^3.2.4",
181
- "vite-plugin-css-export": "^1.2.0",
180
+ "unplugin-auto-import": "^0.12.1",
181
+ "unplugin-vue-components": "^0.22.12",
182
+ "vite": "^4.0.3",
183
+ "vite-plugin-css-export": "^1.2.1",
182
184
  "vite-plugin-eslint": "^1.8.1",
183
185
  "vite-plugin-handlebars": "^1.6.0",
184
186
  "vite-plugin-markdown": "^2.1.0",
185
- "vite-plugin-pages": "^0.27.1",
186
- "vite-plugin-stylelint": "^3.0.9",
187
+ "vite-plugin-pages": "^0.28.0",
188
+ "vite-plugin-stylelint": "^4.1.3",
187
189
  "vite-plugin-vue-layouts": "^0.7.0",
188
- "vite-ssg": "^0.22.0",
190
+ "vite-ssg": "^0.22.1",
189
191
  "vite-ssg-sitemap": "^0.4.3",
190
192
  "vue": "^3.2.45",
191
- "vue-live": "2.1.0",
193
+ "vue-live": "2.3.2",
192
194
  "vue-router": "^4.1.6"
193
195
  },
194
196
  "scripts": {
package/src/_config.scss CHANGED
@@ -30,6 +30,7 @@ $components-names: (
30
30
  vv-nav: $components-prefix + -nav,
31
31
  vv-progress: $components-prefix + -progress,
32
32
  vv-select: $components-prefix + -select,
33
+ vv-skeleton: $components-prefix + -skeleton,
33
34
  vv-tab: $components-prefix + -tab,
34
35
  vv-table: $components-prefix + -table,
35
36
  vv-text: $components-prefix + -text,
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
2
  @use 'context' as *;
3
3
 
4
- :where(:host, :root, [class*='theme']) {
4
+ :where(:host, :root, .theme) {
5
5
  accent-color: var(--color-brand);
6
6
  background: var(--color-surface);
7
7
  caret-color: var(--color-brand);
@@ -169,7 +169,12 @@
169
169
  }
170
170
 
171
171
  // buttons
172
- &:where(button, input[type='button'], input[type='submit'], input[type='reset']) {
172
+ &:where(
173
+ button,
174
+ input[type='button'],
175
+ input[type='submit'],
176
+ input[type='reset']
177
+ ) {
173
178
  @extend %vv-button !optional;
174
179
 
175
180
  &:where([type='button']) {
@@ -205,7 +210,12 @@
205
210
  }
206
211
 
207
212
  &
208
- + :where(button, input[type='button'], input[type='submit'], input[type='reset']) {
213
+ + :where(
214
+ button,
215
+ input[type='button'],
216
+ input[type='submit'],
217
+ input[type='reset']
218
+ ) {
209
219
  @extend %ml-sm !optional;
210
220
  }
211
221
  }
@@ -365,11 +375,29 @@
365
375
  }
366
376
 
367
377
  // input text
368
- &:where(label:has(+ input:not([type='radio'], [type='checkbox'], [type='button'], [type='submit'], [type='reset']))) {
378
+ &:where(
379
+ label:has(
380
+ + input:not(
381
+ [type='radio'],
382
+ [type='checkbox'],
383
+ [type='button'],
384
+ [type='submit'],
385
+ [type='reset']
386
+ )
387
+ )
388
+ ) {
369
389
  @extend %vv-input-text__label !optional;
370
390
  }
371
391
 
372
- &:where(input:not([type='radio'], [type='checkbox'], [type='button'], [type='submit'], [type='reset'])) {
392
+ &:where(
393
+ input:not(
394
+ [type='radio'],
395
+ [type='checkbox'],
396
+ [type='button'],
397
+ [type='submit'],
398
+ [type='reset']
399
+ )
400
+ ) {
373
401
  @extend %w-full !optional;
374
402
  @extend %vv-input-text !optional;
375
403
  @extend %vv-input-text__wrapper !optional;
@@ -16,6 +16,7 @@
16
16
  @use 'vv-nav';
17
17
  @use 'vv-progress';
18
18
  @use 'vv-select';
19
+ @use 'vv-skeleton';
19
20
  @use 'vv-tab';
20
21
  @use 'vv-table';
21
22
  @use 'vv-text';
@@ -30,10 +30,6 @@ $component-selector: '.#{ $component-name}';
30
30
  $prefix: $component-name,
31
31
  $props: $use-custom-props-for-components
32
32
  );
33
-
34
- @media (prefers-reduced-motion: reduce) {
35
- transition: none;
36
- }
37
33
  }
38
34
 
39
35
  @include wrap-with-where(
@@ -0,0 +1,14 @@
1
+ @use 'sass:map';
2
+ @use '../context' as *;
3
+
4
+ $component-name: map.get($components-names, vv-skeleton);
5
+ $component-map: $vv-skeleton;
6
+ $component-selector: '.#{ $component-name}';
7
+
8
+ @include spread-map-into-bem(
9
+ $map: $component-map,
10
+ $block: $component-name,
11
+ $props: $use-custom-props-for-components,
12
+ $zero-specificity: $zero-specificity-for-components,
13
+ $bps: $breakpoints
14
+ );
package/src/export.scss CHANGED
@@ -219,7 +219,7 @@
219
219
  // width spacer
220
220
  @each $key, $value in $width {
221
221
  $name: meta.inspect($key);
222
- $name: str-replace($name, '\\/', '/');
222
+ $name: str-replace($name, '\\/', '_');
223
223
 
224
224
  #{'width-spacer__' + $name}: $value;
225
225
  }
@@ -227,7 +227,7 @@
227
227
  // height spacer
228
228
  @each $key, $value in $height {
229
229
  $name: meta.inspect($key);
230
- $name: str-replace($name, '\\/', '/');
230
+ $name: str-replace($name, '\\/', '_');
231
231
 
232
232
  #{'height-spacer__' + $name}: $value;
233
233
  }
@@ -424,6 +424,25 @@
424
424
 
425
425
  // #endregion
426
426
 
427
+ // ============================================================== */
428
+ // #region FILTERS
429
+ // blur
430
+ @each $key, $value in $blur {
431
+ #{'blur__' + $key}: $value;
432
+ }
433
+
434
+ // brightness
435
+ @each $key, $value in $brightness {
436
+ #{'brightness__' + $key}: $value;
437
+ }
438
+
439
+ // saturation
440
+ @each $key, $value in $saturation {
441
+ #{'saturation__' + $key}: $value;
442
+ }
443
+
444
+ // #endregion
445
+
427
446
  // ============================================================== */
428
447
  // #region TRANSITIONS & ANIMATIONS
429
448
  // transition property
@@ -3,4 +3,5 @@
3
3
  :where(:host, :root, .theme) {
4
4
  @include spread-map-into-props($blur, $prefix: blur);
5
5
  @include spread-map-into-props($brightness, $prefix: brightness);
6
+ @include spread-map-into-props($saturation, $prefix: saturate);
6
7
  }
@@ -1,12 +1,12 @@
1
- @use 'animation';
2
1
  @use 'background';
3
2
  @use 'borders';
4
3
  @use 'colors';
5
4
  @use 'effects';
6
5
  @use 'filters';
6
+ @use 'input';
7
7
  @use 'layout';
8
8
  @use 'media';
9
+ @use 'sizing';
9
10
  @use 'spacing';
11
+ @use 'transitions';
10
12
  @use 'typography';
11
- @use 'sizing';
12
- @use 'input';
@@ -1,11 +1,45 @@
1
1
  @use '../context' as *;
2
2
 
3
3
  :where(:host, :root, .theme) {
4
+ // animation
4
5
  @media (prefers-reduced-motion: no-preference) {
5
- @include spread-map-into-props($animate, $prefix: animate);
6
+ // transition-property
7
+ @include spread-map-into-props(
8
+ $transition-property,
9
+ $prefix: transition-property
10
+ );
11
+
12
+ // duration
13
+ @include spread-map-into-props(
14
+ $transition-duration-delay,
15
+ $prefix: duration
16
+ );
17
+
18
+ // ease
19
+ @include spread-map-into-props(
20
+ $transition-timing-function,
21
+ $prefix: ease
22
+ );
23
+
24
+ // animation
25
+ @include spread-map-into-props($animation, animation);
26
+
27
+ // transition
28
+ @each $property, $value in $transition-property {
29
+ @if $property != 'none' {
30
+ --transition-#{$property}: var(
31
+ --transition-property-#{$property}
32
+ )
33
+ var(--duration-300)
34
+ var(--ease-in-out);
35
+ } @else {
36
+ --transition-#{$property}: none;
37
+ }
38
+ }
6
39
  }
7
40
  }
8
41
 
42
+ // keyframes
9
43
  @keyframes indeterminate {
10
44
  0% {
11
45
  transform: scaleX(0);
@@ -89,3 +123,9 @@
89
123
  opacity: 0;
90
124
  }
91
125
  }
126
+
127
+ @keyframes shine {
128
+ to {
129
+ background-position-x: -200%;
130
+ }
131
+ }
@@ -24,3 +24,12 @@ $brightness: (
24
24
  150: brightness(1.5),
25
25
  200: brightness(2),
26
26
  ) !default;
27
+
28
+ // saturation
29
+ $saturation: (
30
+ 0: saturate(0),
31
+ 50: saturate(0.5),
32
+ 100: saturate(1),
33
+ 150: saturate(1.5),
34
+ 200: saturate(2),
35
+ ) !default;
@@ -1,19 +1,19 @@
1
1
  // utilities and custom props
2
- @forward 'animation';
2
+ @forward 'colors';
3
+ @forward 'background';
3
4
  @forward 'borders';
4
5
  @forward 'breakpoints';
5
- @forward 'colors';
6
- @forward 'layout';
6
+ @forward 'effects';
7
7
  @forward 'filters';
8
8
  @forward 'flexbox';
9
9
  @forward 'grid';
10
+ @forward 'input';
11
+ @forward 'interactivity';
12
+ @forward 'layout';
10
13
  @forward 'sizing';
11
14
  @forward 'spacing';
12
- @forward 'typography';
13
- @forward 'background';
14
- @forward 'effects';
15
- @forward 'input';
16
15
  @forward 'transitions';
16
+ @forward 'typography';
17
17
 
18
18
  // components
19
19
  @forward 'components/vv-accordion';
@@ -34,6 +34,7 @@
34
34
  @forward 'components/vv-nav';
35
35
  @forward 'components/vv-progress';
36
36
  @forward 'components/vv-select';
37
+ @forward 'components/vv-skeleton';
37
38
  @forward 'components/vv-tab';
38
39
  @forward 'components/vv-table';
39
40
  @forward 'components/vv-text';
@@ -0,0 +1,39 @@
1
+ // cursor
2
+ $cursor: (
3
+ auto: auto,
4
+ default: default,
5
+ pointer: pointer,
6
+ wait: wait,
7
+ text: text,
8
+ move: move,
9
+ help: help,
10
+ not-allowed: not-allowed,
11
+ none: none,
12
+ context-menu: context-menu,
13
+ progress: progress,
14
+ cell: cell,
15
+ crosshair: crosshair,
16
+ vertical-text: vertical-text,
17
+ alias: alias,
18
+ copy: copy,
19
+ no-drop: no-drop,
20
+ grab: grab,
21
+ grabbing: grabbing,
22
+ all-scroll: all-scroll,
23
+ col-resize: col-resize,
24
+ row-resize: row-resize,
25
+ n-resize: n-resize,
26
+ e-resize: e-resize,
27
+ s-resize: s-resize,
28
+ w-resize: w-resize,
29
+ ne-resize: ne-resize,
30
+ nw-resize: nw-resize,
31
+ se-resize: se-resize,
32
+ sw-resize: sw-resize,
33
+ ew-resize: ew-resize,
34
+ ns-resize: ns-resize,
35
+ nesw-resize: nesw-resize,
36
+ nwse-resize: nwse-resize,
37
+ zoom-in: zoom-in,
38
+ zoom-out: zoom-out,
39
+ ) !default;
@@ -34,8 +34,11 @@ $transition-timing-function: (
34
34
  // animation
35
35
  $animation: (
36
36
  none: none,
37
- spin: spin 1s linear infinite,
37
+ indeterminate: indeterminate 2s infinite,
38
+ progress-indeterminate: progress-indeterminate 1.5s linear infinite,
39
+ spin: spin 1s infinite,
38
40
  ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite,
39
41
  pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite,
40
42
  bounce: bounce 1s infinite,
43
+ shine: shine 1.5s infinite,
41
44
  ) !default;
@@ -35,7 +35,7 @@ $vv-accordion: (
35
35
  line-height: var(--leading-normal),
36
36
  color: var(--color-word-2),
37
37
  will-change: background-color,
38
- transition: background-color 0.3s ease-in-out,
38
+ transition: var(--transition-colors),
39
39
  font-size: var(--text-sm),
40
40
  border-radius: var(--rounded-lg),
41
41
  -webkit-tap-highlight-color: transparent,
@@ -52,7 +52,7 @@ $vv-accordion: (
52
52
  background-size: 1em,
53
53
  background-repeat: no-repeat,
54
54
  will-change: transform,
55
- transition: transform 0.3s ease-in-out,
55
+ transition: var(--transition-transform),
56
56
  transform: rotate(-90deg),
57
57
  ),
58
58
  marker: (
@@ -15,7 +15,7 @@ $vv-button: (
15
15
  padding-block: 0.75ch,
16
16
  padding-inline: 1.75ch,
17
17
  text-shadow: 0 1px 0 var(--color-gray-darken-5),
18
- transition: all 0.3s ease-in-out,
18
+ transition: var(--transition-all),
19
19
  will-change: all,
20
20
  min-width: 0,
21
21
  state: (
@@ -69,119 +69,95 @@ $vv-dialog: (
69
69
  border-top: var(--border) solid var(--color-surface-4),
70
70
  ),
71
71
  ),
72
- modifier: (
73
- small: (
74
- element: (
75
- wrapper: (
76
- width: clamp(10vw, 25rem, 90vw),
77
- ),
78
- ),
79
- ),
80
- fullscreen: (
81
- padding: 0,
82
- element: (
83
- wrapper: (
84
- border-radius: var(--rounded-0),
85
- max-width: auto,
86
- max-height: auto,
87
- width: 100%,
88
- height: 100%,
89
- ),
90
- ),
91
- ),
92
- fade-block-enter-active: (
93
- transition: opacity 0.3s ease-in-out,
94
- element: (
95
- wrapper: (
96
- transition: transform 0.3s ease-in-out,
97
- ),
98
- ),
99
- ),
100
- fade-block-leave-active: (
101
- transition: opacity 0.3s ease-in-out,
102
- element: (
103
- wrapper: (
104
- transition: transform 0.3s ease-in-out,
105
- ),
106
- ),
107
- ),
108
- fade-block-enter-from: (
109
- opacity: 0,
110
- element: (
111
- wrapper: (
112
- transform: translateY(100%),
72
+ transition: (
73
+ fade-block: (
74
+ active: (
75
+ transition: var(--transition-opacity),
76
+ element: (
77
+ wrapper: (
78
+ transition: var(--transition-transform),
79
+ ),
113
80
  ),
114
81
  ),
115
- ),
116
- fade-block-leave-to: (
117
- opacity: 0,
118
- element: (
119
- wrapper: (
120
- transform: translateY(-100%),
82
+ enter-from: (
83
+ opacity: 0,
84
+ element: (
85
+ wrapper: (
86
+ transform: translateY(100%),
87
+ ),
121
88
  ),
122
89
  ),
123
- ),
124
- fade-inline-enter-active: (
125
- transition: opacity 0.3s ease-in-out,
126
- element: (
127
- wrapper: (
128
- transition: transform 0.3s ease-in-out,
90
+ leave-to: (
91
+ opacity: 0,
92
+ element: (
93
+ wrapper: (
94
+ transform: translateY(-100%),
95
+ ),
129
96
  ),
130
97
  ),
131
98
  ),
132
- fade-inline-leave-active: (
133
- transition: opacity 0.3s ease-in-out,
134
- element: (
135
- wrapper: (
136
- transition: transform 0.3s ease-in-out,
99
+ fade-inline: (
100
+ active: (
101
+ transition: var(--transition-opacity),
102
+ element: (
103
+ wrapper: (
104
+ transition: var(--transition-transform),
105
+ ),
137
106
  ),
138
107
  ),
139
- ),
140
- fade-inline-enter-from: (
141
- opacity: 0,
142
- element: (
143
- wrapper: (
144
- transform: translateX(-100%),
108
+ enter-from: (
109
+ opacity: 0,
110
+ element: (
111
+ wrapper: (
112
+ transform: translateX(-100%),
113
+ ),
145
114
  ),
146
115
  ),
147
- ),
148
- fade-inline-leave-to: (
149
- opacity: 0,
150
- element: (
151
- wrapper: (
152
- transform: translateX(100%),
116
+ leave-to: (
117
+ opacity: 0,
118
+ element: (
119
+ wrapper: (
120
+ transform: translateX(100%),
121
+ ),
153
122
  ),
154
123
  ),
155
124
  ),
156
- scale-enter-active: (
157
- transition: opacity 0.3s ease-in-out,
158
- element: (
159
- wrapper: (
160
- transition: transform 0.3s ease-in-out,
125
+ scale: (
126
+ active: (
127
+ transition: var(--transition-opacity),
128
+ element: (
129
+ wrapper: (
130
+ transition: var(--transition-transform),
131
+ ),
161
132
  ),
162
133
  ),
163
- ),
164
- scale-leave-active: (
165
- transition: opacity 0.3s ease-in-out,
166
- element: (
167
- wrapper: (
168
- transition: transform 0.3s ease-in-out,
134
+ inert: (
135
+ opacity: 0,
136
+ element: (
137
+ wrapper: (
138
+ transform: scale(0%),
139
+ ),
169
140
  ),
170
141
  ),
171
142
  ),
172
- scale-enter-from: (
173
- opacity: 0,
143
+ ),
144
+ modifier: (
145
+ small: (
174
146
  element: (
175
147
  wrapper: (
176
- transform: scale(0%),
148
+ width: clamp(10vw, 25rem, 90vw),
177
149
  ),
178
150
  ),
179
151
  ),
180
- scale-leave-to: (
181
- opacity: 0,
152
+ fullscreen: (
153
+ padding: 0,
182
154
  element: (
183
155
  wrapper: (
184
- transform: scale(0%),
156
+ border-radius: var(--rounded-0),
157
+ max-width: auto,
158
+ max-height: auto,
159
+ width: 100%,
160
+ height: 100%,
185
161
  ),
186
162
  ),
187
163
  ),