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

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 (52) 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/transitions.css +1 -0
  15. package/dist/props.css +1 -1
  16. package/dist/utilities/borders.css +1 -1
  17. package/dist/utilities/interactivity.css +1 -0
  18. package/dist/utilities/transitions.css +1 -1
  19. package/dist/utilities/typography.css +1 -1
  20. package/dist/utilities.css +1 -1
  21. package/dist/volver.css +1 -1
  22. package/package.json +22 -20
  23. package/src/_config.scss +1 -0
  24. package/src/components/index.scss +1 -0
  25. package/src/components/vv-button.scss +0 -4
  26. package/src/components/vv-skeleton.scss +14 -0
  27. package/src/export.scss +2 -2
  28. package/src/props/index.scss +3 -3
  29. package/src/props/{animation.scss → transitions.scss} +41 -1
  30. package/src/settings/_index.scss +8 -7
  31. package/src/settings/_interactivity.scss +39 -0
  32. package/src/settings/_transitions.scss +4 -1
  33. package/src/settings/components/_vv-accordion.scss +2 -2
  34. package/src/settings/components/_vv-button.scss +1 -1
  35. package/src/settings/components/_vv-dialog.scss +63 -87
  36. package/src/settings/components/_vv-input-checkbox.scss +2 -2
  37. package/src/settings/components/_vv-input-radio.scss +1 -1
  38. package/src/settings/components/_vv-input-text.scss +8 -11
  39. package/src/settings/components/_vv-nav.scss +1 -1
  40. package/src/settings/components/_vv-select.scss +9 -9
  41. package/src/settings/components/_vv-skeleton.scss +21 -0
  42. package/src/settings/components/_vv-textarea.scss +7 -7
  43. package/src/settings/components/_vv-tooltip.scss +1 -1
  44. package/src/tools/_mixins.scss +95 -0
  45. package/src/utilities/borders.scss +5 -0
  46. package/src/utilities/index.scss +2 -2
  47. package/src/utilities/{animation.scss → interactivity.scss} +5 -4
  48. package/src/utilities/transitions.scss +17 -1
  49. package/src/utilities/typography.scss +1 -0
  50. package/dist/props/animation.css +0 -1
  51. package/dist/utilities/animation.css +0 -1
  52. 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.26",
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
+ "@iconify/vue": "^4.0.2",
159
+ "@vitejs/plugin-vue": "^4.0.0",
158
160
  "@vueuse/core": "^9.6.0",
159
- "@vueuse/head": "^1.0.18",
160
- "eslint": "^8.28.0",
161
+ "@vueuse/head": "^1.0.22",
162
+ "eslint": "^8.29.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
167
  "markdown-it-anchor": "^8.6.5",
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.56.2",
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.1",
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,
@@ -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
  }
@@ -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
+ }
@@ -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
  ),
@@ -57,7 +57,7 @@ $vv-input-checkbox: (
57
57
  background-color: var(--color-word-5),
58
58
  position: relative,
59
59
  will-change: background-color,
60
- transition: background-color 0.3s ease-in-out,
60
+ transition: var(--transition-colors),
61
61
  pseudo: (
62
62
  after: (
63
63
  width: var(--spacing-20),
@@ -67,7 +67,7 @@ $vv-input-checkbox: (
67
67
  inset: var(--spacing-2) 0 0 var(--spacing-2),
68
68
  background: var(--color-white),
69
69
  will-change: transform,
70
- transition: transform 0.3s ease-in-out,
70
+ transition: var(--transition-transform),
71
71
  ),
72
72
  ),
73
73
  state: (
@@ -41,7 +41,7 @@ $vv-input-radio: (
41
41
  border-radius: 50%,
42
42
  transform: translate(-50%, -50%) scale(0),
43
43
  will-change: transform,
44
- transition: transform 0.3s ease-in-out,
44
+ transition: var(--transition-transform),
45
45
  ),
46
46
  ),
47
47
  state: (
@@ -26,7 +26,7 @@ $vv-input-text: (
26
26
  overflow: hidden,
27
27
  background-color: var(--input-background-color),
28
28
  will-change: background-color,
29
- transition: background-color 0.3s ease-in-out,
29
+ transition: var(--transition-colors),
30
30
  pseudo: (
31
31
  before: (
32
32
  position: absolute,
@@ -42,7 +42,7 @@ $vv-input-text: (
42
42
  transform: scaleX(0),
43
43
  transform-origin: left,
44
44
  will-change: transform,
45
- transition: transform 0.3s ease-in-out,
45
+ transition: var(--transition-transform),
46
46
  ),
47
47
  ),
48
48
  state: (
@@ -80,10 +80,7 @@ $vv-input-text: (
80
80
  opacity: 0,
81
81
  ),
82
82
  search-cancel-button: (
83
- position: absolute,
84
- padding: var(--spacing-sm),
85
- top: 0,
86
- right: 0,
83
+ -webkit-appearance: none,
87
84
  opacity: 0,
88
85
  ),
89
86
  color-swatch: (
@@ -271,7 +268,7 @@ $vv-input-text: (
271
268
  margin: 0,
272
269
  will-change: 'transform',
273
270
  transform-origin: left,
274
- transition: all 0.3s ease-in-out,
271
+ transition: var(--transition-all),
275
272
  ),
276
273
  input: (
277
274
  pseudo: (
@@ -285,11 +282,11 @@ $vv-input-text: (
285
282
  focus-within: (
286
283
  element: (
287
284
  label: (
288
- transform: translateY(-1.2ch),
285
+ transform: translateY(-0.8em),
289
286
  font-size: var(--text-12),
290
287
  ),
291
288
  input: (
292
- transform: translateY(0.85ch),
289
+ transform: translateY(0.55em),
293
290
  pseudo: (
294
291
  placeholder: (
295
292
  opacity: 1,
@@ -301,11 +298,11 @@ $vv-input-text: (
301
298
  dirty: (
302
299
  element: (
303
300
  label: (
304
- transform: translateY(-1.2ch),
301
+ transform: translateY(-0.8em),
305
302
  font-size: var(--text-12),
306
303
  ),
307
304
  input: (
308
- transform: translateY(0.85ch),
305
+ transform: translateY(0.55em),
309
306
  pseudo: (
310
307
  placeholder: (
311
308
  opacity: 1,
@@ -22,7 +22,7 @@ $vv-nav: (
22
22
  display: flex,
23
23
  align-items: center,
24
24
  will-change: background-color color,
25
- transition: all 0.3s ease-in-out,
25
+ transition: var(--transition-all),
26
26
  color: var(--color-word-3),
27
27
  [padding]: var(--nav-item-padding),
28
28
  state: (