@volverjs/style 0.1.2 → 0.1.4

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-group.css +1 -0
  2. package/dist/components/vv-accordion.css +1 -1
  3. package/dist/components/vv-button.css +1 -1
  4. package/dist/components/vv-checkbox.css +1 -1
  5. package/dist/components/vv-dialog.css +1 -1
  6. package/dist/components/vv-input-text.css +1 -1
  7. package/dist/components/vv-radio.css +1 -1
  8. package/dist/components/vv-select.css +1 -1
  9. package/dist/components/vv-text.css +1 -1
  10. package/dist/components/vv-textarea.css +1 -1
  11. package/dist/components/vv-toast.css +1 -1
  12. package/dist/components/vv-tooltip.css +1 -1
  13. package/dist/components.css +1 -1
  14. package/dist/export.css +1 -1
  15. package/dist/props/effects.css +1 -1
  16. package/dist/props/spacing.css +1 -1
  17. package/dist/props.css +1 -1
  18. package/dist/utilities/flexbox.css +1 -1
  19. package/dist/utilities/layout.css +1 -1
  20. package/dist/utilities/sizing.css +1 -1
  21. package/dist/utilities/spacing.css +1 -1
  22. package/dist/utilities/tables.css +1 -0
  23. package/dist/utilities/transforms.css +1 -0
  24. package/dist/utilities.css +1 -1
  25. package/dist/volver.css +1 -1
  26. package/package.json +12 -6
  27. package/src/_config.scss +1 -0
  28. package/src/components/index.scss +1 -0
  29. package/src/components/vv-accordion-group.scss +13 -0
  30. package/src/export.scss +49 -0
  31. package/src/props/effects.scss +1 -0
  32. package/src/settings/_index.scss +3 -0
  33. package/src/settings/_layout.scss +12 -0
  34. package/src/settings/_spacing.scss +4 -0
  35. package/src/settings/_tables.scss +11 -0
  36. package/src/settings/_transforms.scss +50 -0
  37. package/src/settings/components/_vv-accordion-group.scss +5 -0
  38. package/src/settings/components/_vv-accordion.scss +9 -0
  39. package/src/settings/components/_vv-button.scss +15 -13
  40. package/src/settings/components/_vv-checkbox.scss +2 -2
  41. package/src/settings/components/_vv-dialog.scss +6 -6
  42. package/src/settings/components/_vv-input-text.scss +7 -7
  43. package/src/settings/components/_vv-radio.scss +2 -2
  44. package/src/settings/components/_vv-select.scss +5 -5
  45. package/src/settings/components/_vv-text.scss +1 -1
  46. package/src/settings/components/_vv-textarea.scss +4 -4
  47. package/src/settings/components/_vv-toast.scss +2 -2
  48. package/src/settings/components/_vv-tooltip.scss +2 -2
  49. package/src/utilities/index.scss +2 -0
  50. package/src/utilities/layout.scss +10 -5
  51. package/src/utilities/tables.scss +17 -0
  52. package/src/utilities/transforms.scss +113 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volverjs/style",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
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",
@@ -23,6 +23,8 @@
23
23
  "./scss/preflight": "./src/_preflight.scss",
24
24
  "./components": "./dist/components.css",
25
25
  "./scss/components": "./src/components/index.scss",
26
+ "./components/vv-accordion-group": "./dist/components/vv-accordion-group.css",
27
+ "./scss/components/vv-accordion-group": "./src/components/vv-accordion-group.scss",
26
28
  "./components/vv-accordion": "./dist/components/vv-accordion.css",
27
29
  "./scss/components/vv-accordion": "./src/components/vv-accordion.scss",
28
30
  "./components/vv-alert": "./dist/components/vv-alert.css",
@@ -135,6 +137,10 @@
135
137
  "./scss/utilities/sizing": "./src/utilities/sizing.scss",
136
138
  "./utilities/spacing": "./dist/utilities/spacing.css",
137
139
  "./scss/utilities/spacing": "./src/utilities/spacing.scss",
140
+ "./utilities/tables": "./dist/utilities/tables.css",
141
+ "./scss/utilities/tables": "./src/utilities/tables.scss",
142
+ "./utilities/transforms": "./dist/utilities/transforms.css",
143
+ "./scss/utilities/transforms": "./src/utilities/transforms.scss",
138
144
  "./utilities/transitions": "./dist/utilities/transitions.css",
139
145
  "./scss/utilities/transitions": "./src/utilities/transitions.scss",
140
146
  "./utilities/typography": "./dist/utilities/typography.css",
@@ -161,14 +167,14 @@
161
167
  "@vitejs/plugin-vue": "^4.0.0",
162
168
  "@vueuse/core": "^9.10.0",
163
169
  "@vueuse/head": "^1.0.22",
164
- "eslint": "^8.31.0",
170
+ "eslint": "^8.32.0",
165
171
  "eslint-config-prettier": "^8.6.0",
166
- "eslint-plugin-vue": "^9.8.0",
167
- "glob": "^8.0.3",
172
+ "eslint-plugin-vue": "^9.9.0",
173
+ "glob": "^8.1.0",
168
174
  "icss-utils": "^5.1.0",
169
175
  "markdown-it-anchor": "^8.6.6",
170
176
  "markdown-it-prism": "^2.3.0",
171
- "postcss": "^8.4.20",
177
+ "postcss": "^8.4.21",
172
178
  "postcss-html": "^1.5.0",
173
179
  "postcss-preset-env": "^7.8.3",
174
180
  "prism-themes": "^1.9.0",
@@ -191,7 +197,7 @@
191
197
  "vite-plugin-handlebars": "^1.6.0",
192
198
  "vite-plugin-markdown": "^2.1.0",
193
199
  "vite-plugin-pages": "^0.28.0",
194
- "vite-plugin-stylelint": "^4.1.5",
200
+ "vite-plugin-stylelint": "^4.1.6",
195
201
  "vite-plugin-vue-layouts": "^0.7.0",
196
202
  "vite-ssg": "^0.22.1",
197
203
  "vite-ssg-sitemap": "^0.4.3",
package/src/_config.scss CHANGED
@@ -12,6 +12,7 @@ $components-prefix: vv !default;
12
12
 
13
13
  // components names
14
14
  $components-names: (
15
+ vv-accordion-group: $components-prefix + -accordion-group,
15
16
  vv-accordion: $components-prefix + -accordion,
16
17
  vv-alert: $components-prefix + -alert,
17
18
  vv-badge: $components-prefix + -badge,
@@ -1,3 +1,4 @@
1
+ @use 'vv-accordion-group';
1
2
  @use 'vv-accordion';
2
3
  @use 'vv-alert';
3
4
  @use 'vv-badge';
@@ -0,0 +1,13 @@
1
+ @use 'sass:map';
2
+ @use '../context' as *;
3
+
4
+ $component-name: map.get($components-names, vv-accordion-group);
5
+ $component-map: $vv-accordion-group;
6
+
7
+ @include spread-map-into-bem(
8
+ $map: $component-map,
9
+ $block: $component-name,
10
+ $props: $use-custom-props-for-components,
11
+ $zero-specificity: $zero-specificity-for-components,
12
+ $bps: $breakpoints
13
+ );
package/src/export.scss CHANGED
@@ -98,6 +98,14 @@
98
98
  #{'position__' + $index}: $index;
99
99
  }
100
100
 
101
+ // placement
102
+ @each $key, $value in $placement {
103
+ $name: meta.inspect($key);
104
+ $name: str-replace($name, '\\/', '_');
105
+
106
+ #{'placement__' + $name}: $value;
107
+ }
108
+
101
109
  // visibility
102
110
  @each $key, $value in $visibility {
103
111
  #{'visibility__' + $key}: $value;
@@ -449,6 +457,20 @@
449
457
 
450
458
  // #endregion
451
459
 
460
+ // ============================================================== */
461
+ // #region TABLES
462
+ // border-collapse
463
+ @each $key, $value in $border-collapse {
464
+ #{'border-collapse__' + $key}: $value;
465
+ }
466
+
467
+ // table-layout
468
+ @each $key, $value in $table-layout {
469
+ #{'table-layout__' + $key}: $value;
470
+ }
471
+
472
+ // #endregion
473
+
452
474
  // ============================================================== */
453
475
  // #region TRANSITIONS & ANIMATIONS
454
476
  // transition property
@@ -470,4 +492,31 @@
470
492
  }
471
493
 
472
494
  // #endregion
495
+
496
+ // ============================================================== */
497
+ // #region TRANSFORMS
498
+ // scale
499
+ @each $key, $value in $scale {
500
+ #{'scale__' + $key}: $value;
501
+ }
502
+
503
+ // rotate
504
+ @each $key, $value in $rotate {
505
+ #{'rotate__' + $key}: $value;
506
+ }
507
+
508
+ // translate
509
+ @each $key, $value in $translate {
510
+ $name: meta.inspect($key);
511
+ $name: str-replace($name, '\\/', '/');
512
+
513
+ #{'translate__' + $name}: $value;
514
+ }
515
+
516
+ // transform-origin
517
+ @each $key, $value in $transform-origin {
518
+ #{'transform-origin__' + $key}: $value;
519
+ }
520
+
521
+ // #endregion
473
522
  }
@@ -2,4 +2,5 @@
2
2
 
3
3
  :where(:host, :root, .theme) {
4
4
  @include spread-map-into-props($box-shadow, $prefix: shadow);
5
+ @include spread-map-into-props($opacity, $prefix: opacity);
5
6
  }
@@ -12,10 +12,13 @@
12
12
  @forward 'layout';
13
13
  @forward 'sizing';
14
14
  @forward 'spacing';
15
+ @forward 'tables';
16
+ @forward 'transforms';
15
17
  @forward 'transitions';
16
18
  @forward 'typography';
17
19
 
18
20
  // components
21
+ @forward 'components/vv-accordion-group';
19
22
  @forward 'components/vv-accordion';
20
23
  @forward 'components/vv-alert';
21
24
  @forward 'components/vv-badge';
@@ -94,6 +94,18 @@ $overflow: (
94
94
  // position
95
95
  $position: (static, fixed, absolute, relative, sticky) !default;
96
96
 
97
+ // placement
98
+ $placement: (
99
+ 1\/2: 50%,
100
+ 1\/3: 33.3333%,
101
+ 2\/3: 66.6667%,
102
+ 1\/4: 25%,
103
+ 2\/4: 50%,
104
+ 3\/4: 75%,
105
+ full: 100%,
106
+ auto: auto
107
+ ) !default;
108
+
97
109
  // visibility
98
110
  $visibility: (
99
111
  visible: visible,
@@ -4,9 +4,13 @@ $spacing: (
4
4
  px: 1px,
5
5
  1: 0.0625rem,
6
6
  2: 0.125rem,
7
+ 3: 0.1875rem,
7
8
  4: 0.25rem,
9
+ 5: 0.3125rem,
8
10
  6: 0.375rem,
11
+ 7: 0.4375rem,
9
12
  8: 0.5rem,
13
+ 9: 0.5625rem,
10
14
  10: 0.625rem,
11
15
  12: 0.75rem,
12
16
  14: 0.875rem,
@@ -0,0 +1,11 @@
1
+ // border-collapse
2
+ $border-collapse: (
3
+ collapse: collapse,
4
+ separate: separate,
5
+ ) !default;
6
+
7
+ // table-layout
8
+ $table-layout: (
9
+ auto: auto,
10
+ fixed: fixed,
11
+ ) !default;
@@ -0,0 +1,50 @@
1
+ // scale
2
+ $scale: (
3
+ 0: 0,
4
+ 50: 0.5,
5
+ 75: 0.75,
6
+ 90: 0.9,
7
+ 95: 0.95,
8
+ 100: 1,
9
+ 105: 1.05,
10
+ 110: 1.1,
11
+ 125: 1.25,
12
+ 150: 1.5,
13
+ ) !default;
14
+
15
+ // rotate
16
+ $rotate: (
17
+ 0: rotate(0deg),
18
+ 1: rotate(1deg),
19
+ 2: rotate(2deg),
20
+ 3: rotate(3deg),
21
+ 6: rotate(6deg),
22
+ 12: rotate(12deg),
23
+ 45: rotate(45deg),
24
+ 90: rotate(90deg),
25
+ 180: rotate(180deg),
26
+ ) !default;
27
+
28
+ // translate
29
+ $translate: (
30
+ 1\/2: 50%,
31
+ 1\/3: 33.3333%,
32
+ 2\/3: 66.6667%,
33
+ 1\/4: 25%,
34
+ 2\/4: 50%,
35
+ 3\/4: 75%,
36
+ full: 100%
37
+ ) !default;
38
+
39
+ // transform-origin
40
+ $transform-origin: (
41
+ center: center,
42
+ top: top,
43
+ top-right: top right,
44
+ top-left: top left,
45
+ bottom: bottom,
46
+ bottom-right: bottom right,
47
+ bottom-left: bottom left,
48
+ right: right,
49
+ left: left,
50
+ ) !default;
@@ -0,0 +1,5 @@
1
+ $vv-accordion-group: (
2
+ display: flex,
3
+ flex-direction: column,
4
+ gap: var(--spacing-sm),
5
+ ) !default;
@@ -19,6 +19,15 @@ $vv-accordion: (
19
19
  ),
20
20
  ),
21
21
  ),
22
+ disabled: (
23
+ element: (
24
+ summary: (
25
+ cursor: not-allowed,
26
+ pointer-events: none,
27
+ opacity: var(--opacity-50),
28
+ ),
29
+ ),
30
+ ),
22
31
  ),
23
32
  element: (
24
33
  summary: (
@@ -5,15 +5,15 @@ $vv-button: (
5
5
  [line-height]: var(--button-line-height),
6
6
  position: relative,
7
7
  background: var(--color-brand),
8
- border-radius: 0.5ch,
8
+ border-radius: var(--rounded),
9
9
  border-style: solid,
10
10
  border-color: var(--color-brand),
11
11
  color: var(--color-white),
12
12
  font-family: var(--font-sans),
13
13
  font-weight: var(--font-semibold),
14
14
  gap: 1ch,
15
- padding-block: 0.75ch,
16
- padding-inline: 1.75ch,
15
+ padding-block: var(--spacing-7),
16
+ padding-inline: var(--spacing-16),
17
17
  text-shadow: 0 1px 0 var(--color-gray-darken-5),
18
18
  transition: var(--transition-all),
19
19
  will-change: all,
@@ -37,7 +37,7 @@ $vv-button: (
37
37
  border-color: var(--color-brand-darken-2),
38
38
  ),
39
39
  disabled: (
40
- opacity: 0.5,
40
+ opacity: var(--opacity-50),
41
41
  cursor: not-allowed,
42
42
  ),
43
43
  ),
@@ -61,6 +61,13 @@ $vv-button: (
61
61
  ),
62
62
  ),
63
63
  modifier: (
64
+ icon-only: (
65
+ element: (
66
+ icon: (
67
+ margin-inline: calc(var(--spacing-9) * -1),
68
+ ),
69
+ ),
70
+ ),
64
71
  primary: (
65
72
  background: var(--color-gray-darken-3),
66
73
  border-color: var(--color-gray-darken-3),
@@ -223,8 +230,8 @@ $vv-button: (
223
230
  color: var(--color-word-1),
224
231
  border-color: var(--color-word-5),
225
232
  font-weight: var(--font-normal),
226
- padding-inline: 0.75ch,
227
- padding-block: 0.5ch,
233
+ padding-inline: var(--spacing-6),
234
+ padding-block: var(--spacing-4),
228
235
  text-shadow: none,
229
236
  state: (
230
237
  focus-visible: (
@@ -258,8 +265,8 @@ $vv-button: (
258
265
  color: var(--color-word-1),
259
266
  border-color: transparent,
260
267
  font-weight: var(--font-normal),
261
- padding-inline: 0.75ch,
262
- padding-block: 0.5ch,
268
+ padding-inline: var(--spacing-6),
269
+ padding-block: var(--spacing-4),
263
270
  text-shadow: none,
264
271
  state: (
265
272
  focus-visible: (
@@ -290,11 +297,6 @@ $vv-button: (
290
297
  ),
291
298
  rounded: (
292
299
  border-radius: var(--rounded-full),
293
- element: (
294
- icon: (
295
- margin: 0 -1ch,
296
- ),
297
- ),
298
300
  ),
299
301
  block: (
300
302
  display: block,
@@ -11,7 +11,7 @@ $vv-checkbox: (
11
11
  min-width: var(--input-min-width),
12
12
  state: (
13
13
  disabled: (
14
- opacity: 0.3,
14
+ opacity: var(--opacity-30),
15
15
  cursor: not-allowed,
16
16
  ),
17
17
  ),
@@ -55,7 +55,7 @@ $vv-checkbox: (
55
55
  ),
56
56
  modifier: (
57
57
  readonly: (
58
- opacity: 1,
58
+ opacity: var(--opacity-100),
59
59
  cursor: default,
60
60
  pointer-events: none,
61
61
  ),
@@ -13,7 +13,7 @@ $vv-dialog: (
13
13
  border: 0,
14
14
  background-color: var(--color-backdrop),
15
15
  backdrop-filter: var(--blur-sm),
16
- opacity: 1,
16
+ opacity: var(--opacity-100),
17
17
  state: (
18
18
  close: (
19
19
  display: none,
@@ -80,7 +80,7 @@ $vv-dialog: (
80
80
  ),
81
81
  ),
82
82
  enter-from: (
83
- opacity: 0,
83
+ opacity: var(--opacity-0),
84
84
  element: (
85
85
  wrapper: (
86
86
  transform: translateY(100%),
@@ -88,7 +88,7 @@ $vv-dialog: (
88
88
  ),
89
89
  ),
90
90
  leave-to: (
91
- opacity: 0,
91
+ opacity: var(--opacity-0),
92
92
  element: (
93
93
  wrapper: (
94
94
  transform: translateY(-100%),
@@ -106,7 +106,7 @@ $vv-dialog: (
106
106
  ),
107
107
  ),
108
108
  enter-from: (
109
- opacity: 0,
109
+ opacity: var(--opacity-0),
110
110
  element: (
111
111
  wrapper: (
112
112
  transform: translateX(-100%),
@@ -114,7 +114,7 @@ $vv-dialog: (
114
114
  ),
115
115
  ),
116
116
  leave-to: (
117
- opacity: 0,
117
+ opacity: var(--opacity-0),
118
118
  element: (
119
119
  wrapper: (
120
120
  transform: translateX(100%),
@@ -132,7 +132,7 @@ $vv-dialog: (
132
132
  ),
133
133
  ),
134
134
  inert: (
135
- opacity: 0,
135
+ opacity: var(--opacity-0),
136
136
  element: (
137
137
  wrapper: (
138
138
  transform: scale(0%),
@@ -79,11 +79,11 @@ $vv-input-text: (
79
79
  padding: var(--spacing-sm),
80
80
  top: 0,
81
81
  right: 0,
82
- opacity: 0,
82
+ opacity: var(--opacity-0),
83
83
  ),
84
84
  search-cancel-button: (
85
85
  -webkit-appearance: none,
86
- opacity: 0,
86
+ opacity: var(--opacity-0),
87
87
  ),
88
88
  color-swatch-wrapper: (
89
89
  padding: 1px,
@@ -299,7 +299,7 @@ $vv-input-text: (
299
299
  placeholder: (
300
300
  will-change: 'opacity',
301
301
  transition: var(--transition-opacity),
302
- opacity: 0,
302
+ opacity: var(--opacity-0),
303
303
  ),
304
304
  ),
305
305
  ),
@@ -315,7 +315,7 @@ $vv-input-text: (
315
315
  transform: translateY(0.55em),
316
316
  pseudo: (
317
317
  placeholder: (
318
- opacity: 1,
318
+ opacity: var(--opacity-100),
319
319
  ),
320
320
  ),
321
321
  ),
@@ -331,7 +331,7 @@ $vv-input-text: (
331
331
  transform: translateY(0.55em),
332
332
  pseudo: (
333
333
  placeholder: (
334
- opacity: 1,
334
+ opacity: var(--opacity-100),
335
335
  ),
336
336
  ),
337
337
  ),
@@ -342,7 +342,7 @@ $vv-input-text: (
342
342
  ),
343
343
  state: (
344
344
  disabled: (
345
- opacity: 0.5,
345
+ opacity: var(--opacity-50),
346
346
  element: (
347
347
  wrapper: (
348
348
  state: (
@@ -358,7 +358,7 @@ $vv-input-text: (
358
358
  wrapper: (
359
359
  pseudo: (
360
360
  after: (
361
- opacity: 0,
361
+ opacity: var(--opacity-0),
362
362
  ),
363
363
  ),
364
364
  state: (
@@ -11,13 +11,13 @@ $vv-radio: (
11
11
  min-width: var(--input-min-width),
12
12
  state: (
13
13
  disabled: (
14
- opacity: 0.3,
14
+ opacity: var(--opacity-30),
15
15
  cursor: not-allowed,
16
16
  ),
17
17
  ),
18
18
  modifier: (
19
19
  readonly: (
20
- opacity: 1,
20
+ opacity: var(--opacity-100),
21
21
  cursor: default,
22
22
  pointer-events: none,
23
23
  ),
@@ -214,7 +214,7 @@ $vv-select: (
214
214
  input: (
215
215
  pseudo: (
216
216
  placeholder: (
217
- opacity: 0,
217
+ opacity: var(--opacity-0),
218
218
  ),
219
219
  ),
220
220
  ),
@@ -233,7 +233,7 @@ $vv-select: (
233
233
  calc(var(--input-spacing-bottom) - 0.55em),
234
234
  pseudo: (
235
235
  placeholder: (
236
- opacity: 1,
236
+ opacity: var(--opacity-100),
237
237
  ),
238
238
  ),
239
239
  ),
@@ -242,13 +242,13 @@ $vv-select: (
242
242
  ),
243
243
  ),
244
244
  readonly: (
245
- opacity: 1,
245
+ opacity: var(--opacity-100),
246
246
  user-select: text,
247
247
  element: (
248
248
  wrapper: (
249
249
  pseudo: (
250
250
  after: (
251
- opacity: 0,
251
+ opacity: var(--opacity-0),
252
252
  ),
253
253
  ),
254
254
  state: (
@@ -266,7 +266,7 @@ $vv-select: (
266
266
  ),
267
267
  state: (
268
268
  disabled: (
269
- opacity: 0.5,
269
+ opacity: var(--opacity-50),
270
270
  element: (
271
271
  wrapper: (
272
272
  state: (
@@ -27,7 +27,7 @@ $vv-text: (
27
27
  color: var(--color-brand-darken-3),
28
28
  ),
29
29
  disabled: (
30
- opacity: 0.5,
30
+ opacity: var(--opacity-50),
31
31
  cursor: not-allowed,
32
32
  ),
33
33
  ),
@@ -226,7 +226,7 @@ $vv-textarea: (
226
226
  placeholder: (
227
227
  will-change: 'opacity',
228
228
  transition: var(--transition-opacity),
229
- opacity: 0,
229
+ opacity: var(--opacity-0),
230
230
  ),
231
231
  ),
232
232
  ),
@@ -242,7 +242,7 @@ $vv-textarea: (
242
242
  transform: translateY(0.55em),
243
243
  pseudo: (
244
244
  placeholder: (
245
- opacity: 1,
245
+ opacity: var(--opacity-100),
246
246
  ),
247
247
  ),
248
248
  ),
@@ -258,7 +258,7 @@ $vv-textarea: (
258
258
  transform: translateY(0.55em),
259
259
  pseudo: (
260
260
  placeholder: (
261
- opacity: 1,
261
+ opacity: var(--opacity-100),
262
262
  ),
263
263
  ),
264
264
  ),
@@ -269,7 +269,7 @@ $vv-textarea: (
269
269
  ),
270
270
  state: (
271
271
  disabled: (
272
- opacity: 0.5,
272
+ opacity: var(--opacity-50),
273
273
  element: (
274
274
  wrapper: (
275
275
  state: (
@@ -54,7 +54,7 @@ $vv-toast: (
54
54
  border: 1px solid var(--color-white),
55
55
  border-radius: 50%,
56
56
  overflow: hidden,
57
- opacity: 0.8,
57
+ opacity: var(--opacity-80),
58
58
  cursor: pointer,
59
59
  pseudo: (
60
60
  before: (
@@ -78,7 +78,7 @@ $vv-toast: (
78
78
  border-radius: 100% 0 0 100% / 50% 0 0 50%,
79
79
  [animation]: pie-masks var(--toast-pie-animation-duration)
80
80
  steps(1, end),
81
- opacity: 0,
81
+ opacity: var(--opacity-0),
82
82
  ),
83
83
  ),
84
84
  ),
@@ -1,5 +1,5 @@
1
1
  $vv-tooltip: (
2
- opacity: 0,
2
+ opacity: var(--opacity-0),
3
3
  display: block,
4
4
  position: absolute,
5
5
  inset-inline: 100% auto,
@@ -33,7 +33,7 @@ $vv-tooltip: (
33
33
  ),
34
34
  modifier: (
35
35
  visible: (
36
- opacity: 1,
36
+ opacity: var(--opacity-100),
37
37
  ),
38
38
  top: (
39
39
  inset-inline: 50% 0,
@@ -9,5 +9,7 @@
9
9
  @forward 'layout';
10
10
  @forward 'sizing';
11
11
  @forward 'spacing';
12
+ @forward 'tables';
12
13
  @forward 'transitions';
13
14
  @forward 'typography';
15
+ @forward 'transforms';
@@ -137,11 +137,16 @@
137
137
  );
138
138
 
139
139
  // top / right / bottom / left
140
- @each $size, $value in map.merge($spacing, $spacing-dynamic) {
141
- // check if value is not a map (spacing-dynamic)
142
- $var: var(--spacing-#{$size});
143
- @if type-of($value) != 'map' {
144
- $var: var(--spacing-#{$size}, #{$value});
140
+ @each $size,
141
+ $value in map.merge($placement, map.merge($spacing, $spacing-dynamic))
142
+ {
143
+ $var: $value;
144
+ @if not map-has-key($placement, $size) {
145
+ // check if value is not a map (spacing-dynamic)
146
+ $var: var(--spacing-#{$size});
147
+ @if type-of($value) != 'map' {
148
+ $var: var(--spacing-#{$size}, #{$value});
149
+ }
145
150
  }
146
151
 
147
152
  // all