@volverjs/style 0.1.12-beta.9 → 0.1.13

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 (82) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/dist/base.css +1 -1
  4. package/dist/components/vv-accordion-group.css +1 -1
  5. package/dist/components/vv-accordion.css +1 -1
  6. package/dist/components/vv-alert-group.css +1 -1
  7. package/dist/components/vv-alert.css +1 -1
  8. package/dist/components/vv-avatar.css +1 -1
  9. package/dist/components/vv-badge.css +1 -1
  10. package/dist/components/vv-breadcrumb.css +1 -1
  11. package/dist/components/vv-button-group.css +1 -1
  12. package/dist/components/vv-button.css +1 -1
  13. package/dist/components/vv-card.css +1 -1
  14. package/dist/components/vv-checkbox-group.css +1 -1
  15. package/dist/components/vv-checkbox.css +1 -1
  16. package/dist/components/vv-dialog.css +1 -1
  17. package/dist/components/vv-input-file.css +1 -1
  18. package/dist/components/vv-input-text.css +1 -1
  19. package/dist/components/vv-nav.css +1 -1
  20. package/dist/components/vv-radio-group.css +1 -1
  21. package/dist/components/vv-radio.css +1 -1
  22. package/dist/components/vv-select.css +1 -1
  23. package/dist/components/vv-textarea.css +1 -1
  24. package/dist/components/vv-tooltip.css +1 -1
  25. package/dist/components.css +1 -1
  26. package/dist/export.css +1 -1
  27. package/dist/props/background.css +1 -1
  28. package/dist/props/spacing.css +1 -1
  29. package/dist/props/transitions.css +1 -1
  30. package/dist/props/typography.css +1 -1
  31. package/dist/props.css +1 -1
  32. package/dist/themes/dark/props.css +1 -1
  33. package/dist/themes/dark/volver.css +1 -1
  34. package/dist/utilities/backgrounds.css +1 -1
  35. package/dist/utilities/effects.css +1 -1
  36. package/dist/utilities/interactivity.css +1 -1
  37. package/dist/utilities/sizing.css +1 -1
  38. package/dist/utilities/transforms.css +1 -1
  39. package/dist/utilities/typography.css +1 -1
  40. package/dist/utilities.css +1 -1
  41. package/dist/volver.css +1 -1
  42. package/package.json +34 -33
  43. package/src/_preflight.scss +21 -2
  44. package/src/components/vv-button-group.scss +6 -6
  45. package/src/components/vv-tooltip.scss +1 -1
  46. package/src/export.scss +16 -14
  47. package/src/props/breakpoints.scss +5 -4
  48. package/src/props/spacing.scss +2 -2
  49. package/src/props/typography.scss +3 -2
  50. package/src/settings/_colors.scss +11 -11
  51. package/src/settings/_effects.scss +3 -3
  52. package/src/settings/_interactivity.scss +14 -0
  53. package/src/settings/_typography.scss +9 -1
  54. package/src/settings/components/_vv-accordion-group.scss +2 -2
  55. package/src/settings/components/_vv-accordion.scss +2 -0
  56. package/src/settings/components/_vv-alert-group.scss +5 -2
  57. package/src/settings/components/_vv-alert.scss +1 -1
  58. package/src/settings/components/_vv-avatar-group.scss +1 -0
  59. package/src/settings/components/_vv-avatar.scss +12 -8
  60. package/src/settings/components/_vv-badge.scss +2 -0
  61. package/src/settings/components/_vv-breadcrumb.scss +1 -0
  62. package/src/settings/components/_vv-button.scss +1 -0
  63. package/src/settings/components/_vv-card.scss +2 -0
  64. package/src/settings/components/_vv-checkbox-group.scss +2 -0
  65. package/src/settings/components/_vv-checkbox.scss +6 -0
  66. package/src/settings/components/_vv-dialog.scss +1 -0
  67. package/src/settings/components/_vv-input-file.scss +32 -3
  68. package/src/settings/components/_vv-input-text.scss +4 -1
  69. package/src/settings/components/_vv-radio.scss +1 -0
  70. package/src/settings/components/_vv-select.scss +4 -1
  71. package/src/settings/components/_vv-textarea.scss +5 -1
  72. package/src/themes/dark/settings/_colors.scss +8 -8
  73. package/src/tools/_breakpoints.scss +64 -11
  74. package/src/tools/_functions.scss +100 -26
  75. package/src/tools/_mixins.scss +57 -21
  76. package/src/utilities/flexbox.scss +6 -1
  77. package/src/utilities/interactivity.scss +17 -1
  78. package/src/utilities/layout.scss +9 -3
  79. package/src/utilities/sizing.scss +10 -2
  80. package/src/utilities/spacing.scss +10 -1
  81. package/src/utilities/transforms.scss +2 -2
  82. package/src/utilities/typography.scss +11 -0
@@ -1,4 +1,5 @@
1
1
  @use 'sass:map';
2
+ @use 'sass:meta';
2
3
  @use '../context' as *;
3
4
 
4
5
  @each $prefix, $prop in (m: margin, p: padding, n: margin) {
@@ -6,7 +7,7 @@
6
7
  $var: var(--spacing-#{$size});
7
8
 
8
9
  // check if value is not a map (spacing-dynamic)
9
- @if type-of($value) != 'map' {
10
+ @if meta.type-of($value) != 'map' {
10
11
  $var: var(--spacing-#{$size}, #{$value});
11
12
  }
12
13
 
@@ -19,6 +20,7 @@
19
20
  %#{$prefix}#{$size} {
20
21
  #{$prop}: #{$var};
21
22
  }
23
+
22
24
  @include wrap-with-where(
23
25
  $selector: '.#{$prefix}-#{$size}',
24
26
  $enabled: $zero-specificity-for-utilities
@@ -30,6 +32,7 @@
30
32
  %#{$prefix}x-#{$size} {
31
33
  #{$prop}-inline: #{$var};
32
34
  }
35
+
33
36
  @include wrap-with-where(
34
37
  $selector: '.#{$prefix}x-#{$size}',
35
38
  $enabled: $zero-specificity-for-utilities
@@ -41,6 +44,7 @@
41
44
  %#{$prefix}y-#{$size} {
42
45
  #{$prop}-block: #{$var};
43
46
  }
47
+
44
48
  @include wrap-with-where(
45
49
  $selector: '.#{$prefix}y-#{$size}',
46
50
  $enabled: $zero-specificity-for-utilities
@@ -55,6 +59,7 @@
55
59
  %#{$prefix}#{$direction-prefix}-#{$size} {
56
60
  #{$prop}-#{$direction}: #{$var};
57
61
  }
62
+
58
63
  @include wrap-with-where(
59
64
  $selector: '.#{$prefix}#{$direction-prefix}-#{$size}',
60
65
  $enabled: $zero-specificity-for-utilities
@@ -69,6 +74,7 @@
69
74
  %m-auto {
70
75
  margin: auto;
71
76
  }
77
+
72
78
  @include wrap-with-where(
73
79
  $selector: '.m-auto',
74
80
  $enabled: $zero-specificity-for-utilities
@@ -79,6 +85,7 @@
79
85
  %mx-auto {
80
86
  margin-inline: auto;
81
87
  }
88
+
82
89
  @include wrap-with-where(
83
90
  $selector: '.mx-auto',
84
91
  $enabled: $zero-specificity-for-utilities
@@ -89,6 +96,7 @@
89
96
  %my-auto {
90
97
  margin-block: auto;
91
98
  }
99
+
92
100
  @include wrap-with-where(
93
101
  $selector: '.my-auto',
94
102
  $enabled: $zero-specificity-for-utilities
@@ -100,6 +108,7 @@
100
108
  %m#{$direction-prefix}-auto {
101
109
  margin-#{$direction}: auto;
102
110
  }
111
+
103
112
  @include wrap-with-where(
104
113
  $selector: '.m#{$direction-prefix}-auto',
105
114
  $enabled: $zero-specificity-for-utilities
@@ -62,7 +62,7 @@
62
62
  }
63
63
 
64
64
  %translate-x-#{$size} {
65
- translate: #{$value};
65
+ translate: #{$value} 0;
66
66
  }
67
67
  @include wrap-with-where(
68
68
  $selector: '.translate-x-#{$size}',
@@ -92,7 +92,7 @@
92
92
  }
93
93
 
94
94
  %-translate-x-#{$size} {
95
- translate: -#{$value};
95
+ translate: -#{$value} 0;
96
96
  }
97
97
  @include wrap-with-where(
98
98
  $selector: '.-translate-x-#{$size}',
@@ -34,6 +34,7 @@
34
34
  %italic {
35
35
  font-style: italic;
36
36
  }
37
+
37
38
  @include wrap-with-where(
38
39
  $selector: '.italic',
39
40
  $enabled: $zero-specificity-for-utilities
@@ -44,6 +45,7 @@
44
45
  %non-italic {
45
46
  font-style: normal;
46
47
  }
48
+
47
49
  @include wrap-with-where(
48
50
  $selector: '.non-italic',
49
51
  $enabled: $zero-specificity-for-utilities
@@ -56,6 +58,7 @@
56
58
  -webkit-font-smoothing: antialiased;
57
59
  -moz-osx-font-smoothing: grayscale;
58
60
  }
61
+
59
62
  @include wrap-with-where(
60
63
  $selector: '.antialiased',
61
64
  $enabled: $zero-specificity-for-utilities
@@ -67,6 +70,7 @@
67
70
  -webkit-font-smoothing: auto;
68
71
  -moz-osx-font-smoothing: auto;
69
72
  }
73
+
70
74
  @include wrap-with-where(
71
75
  $selector: '.subpixel-antialiased',
72
76
  $enabled: $zero-specificity-for-utilities
@@ -168,6 +172,7 @@
168
172
  text-overflow: ellipsis;
169
173
  white-space: nowrap;
170
174
  }
175
+
171
176
  @include wrap-with-where(
172
177
  $selector: '.truncate',
173
178
  $enabled: $zero-specificity-for-utilities
@@ -178,6 +183,7 @@
178
183
  %text-ellipsis {
179
184
  text-overflow: ellipsis;
180
185
  }
186
+
181
187
  @include wrap-with-where(
182
188
  $selector: '.text-ellipsis',
183
189
  $enabled: $zero-specificity-for-utilities
@@ -188,6 +194,7 @@
188
194
  %text-clip {
189
195
  text-overflow: clip;
190
196
  }
197
+
191
198
  @include wrap-with-where(
192
199
  $selector: '.text-clip',
193
200
  $enabled: $zero-specificity-for-utilities
@@ -198,6 +205,7 @@
198
205
  %text-balance {
199
206
  text-wrap: balance;
200
207
  }
208
+
201
209
  @include wrap-with-where(
202
210
  $selector: '.text-balance',
203
211
  $enabled: $zero-specificity-for-utilities
@@ -210,6 +218,7 @@
210
218
  overflow-wrap: normal;
211
219
  word-break: normal;
212
220
  }
221
+
213
222
  @include wrap-with-where(
214
223
  $selector: '.break-normal',
215
224
  $enabled: $zero-specificity-for-utilities
@@ -220,6 +229,7 @@
220
229
  %break-words {
221
230
  overflow-wrap: break-word;
222
231
  }
232
+
223
233
  @include wrap-with-where(
224
234
  $selector: '.break-words',
225
235
  $enabled: $zero-specificity-for-utilities
@@ -230,6 +240,7 @@
230
240
  %break-all {
231
241
  word-break: break-all;
232
242
  }
243
+
233
244
  @include wrap-with-where(
234
245
  $selector: '.break-all',
235
246
  $enabled: $zero-specificity-for-utilities