@volverjs/style 0.1.12-beta.17 → 0.1.12-beta.19
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/base.css +1 -1
- package/dist/components/vv-accordion-group.css +1 -1
- package/dist/components/vv-alert-group.css +1 -1
- package/dist/components/vv-alert.css +1 -1
- package/dist/components/vv-breadcrumb.css +1 -1
- package/dist/components/vv-button.css +1 -1
- package/dist/components/vv-checkbox-group.css +1 -1
- package/dist/components/vv-checkbox.css +1 -1
- package/dist/components/vv-dropdown-option.css +1 -1
- package/dist/components/vv-dropdown.css +1 -1
- package/dist/components/vv-input-file.css +1 -1
- package/dist/components/vv-input-text.css +1 -1
- package/dist/components/vv-nav.css +1 -1
- package/dist/components/vv-radio-group.css +1 -1
- package/dist/components/vv-select.css +1 -1
- package/dist/components/vv-table.css +1 -1
- package/dist/components/vv-textarea.css +1 -1
- package/dist/components.css +1 -1
- package/dist/props/spacing.css +1 -1
- package/dist/props/typography.css +1 -1
- package/dist/props.css +1 -1
- package/dist/volver.css +1 -1
- package/package.json +8 -8
- package/src/export.scss +8 -8
- package/src/props/breakpoints.scss +5 -4
- package/src/props/spacing.scss +2 -2
- package/src/props/typography.scss +3 -2
- package/src/settings/components/_vv-accordion-group.scss +2 -2
- package/src/settings/components/_vv-accordion.scss +2 -0
- package/src/settings/components/_vv-alert-group.scss +5 -2
- package/src/settings/components/_vv-avatar-group.scss +1 -0
- package/src/settings/components/_vv-avatar.scss +3 -0
- package/src/settings/components/_vv-badge.scss +1 -0
- package/src/settings/components/_vv-breadcrumb.scss +1 -0
- package/src/settings/components/_vv-card.scss +2 -0
- package/src/settings/components/_vv-checkbox-group.scss +2 -0
- package/src/settings/components/_vv-checkbox.scss +1 -0
- package/src/settings/components/_vv-dialog.scss +1 -0
- package/src/settings/components/_vv-input-file.scss +1 -0
- package/src/settings/components/_vv-input-text.scss +2 -0
- package/src/settings/components/_vv-radio.scss +1 -0
- package/src/settings/components/_vv-select.scss +2 -0
- package/src/settings/components/_vv-textarea.scss +2 -0
- package/src/tools/_breakpoints.scss +13 -4
- package/src/tools/_mixins.scss +39 -22
- package/src/utilities/flexbox.scss +6 -1
- package/src/utilities/layout.scss +3 -2
- package/src/utilities/spacing.scss +10 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
+
@use 'sass:meta';
|
|
2
3
|
@use '../context' as *;
|
|
3
4
|
|
|
4
5
|
// aspect
|
|
@@ -135,11 +136,11 @@
|
|
|
135
136
|
{
|
|
136
137
|
$var: $value;
|
|
137
138
|
|
|
138
|
-
@if not map
|
|
139
|
+
@if not map.has-key($placement, $size) {
|
|
139
140
|
// check if value is not a map (spacing-dynamic)
|
|
140
141
|
$var: var(--spacing-#{$size});
|
|
141
142
|
|
|
142
|
-
@if type-of($value) != 'map' {
|
|
143
|
+
@if meta.type-of($value) != 'map' {
|
|
143
144
|
$var: var(--spacing-#{$size}, #{$value});
|
|
144
145
|
}
|
|
145
146
|
}
|
|
@@ -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
|