@volverjs/style 0.1.2-beta.30 → 0.1.2-beta.31
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/components/vv-badge.css +1 -1
- package/dist/components/vv-button.css +1 -1
- package/dist/components/vv-textarea.css +1 -1
- package/dist/components.css +1 -1
- package/dist/export.css +1 -1
- package/dist/props/layout.css +1 -1
- package/dist/props.css +1 -1
- package/dist/utilities/layout.css +1 -1
- package/dist/utilities.css +1 -1
- package/dist/volver.css +1 -1
- package/package.json +1 -1
- package/src/export.scss +11 -6
- package/src/props/layout.scss +5 -0
- package/src/settings/_layout.scss +18 -10
- package/src/settings/components/_vv-badge.scss +1 -0
- package/src/settings/components/_vv-button.scss +0 -1
- package/src/settings/components/_vv-textarea.scss +1 -1
- package/src/utilities/layout.scss +9 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volverjs/style",
|
|
3
|
-
"version": "0.1.2-beta.
|
|
3
|
+
"version": "0.1.2-beta.31",
|
|
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",
|
package/src/export.scss
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
} @else {
|
|
30
|
+
} @else if $key != 'scheme' {
|
|
31
31
|
#{'colors__' + $key}: $value;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
// breakpoints
|
|
48
|
-
@each $key, $value in $breakpoints {
|
|
48
|
+
@each $key, $value in map.remove($breakpoints, 'xxs') {
|
|
49
49
|
#{'breakpoints__' + $key}: $value;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -89,6 +89,11 @@
|
|
|
89
89
|
#{'object-position__' + $key}: $value;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
// overflow
|
|
93
|
+
@each $key, $value in $overflow {
|
|
94
|
+
#{'overflow__' + $key}: $value;
|
|
95
|
+
}
|
|
96
|
+
|
|
92
97
|
// position
|
|
93
98
|
@each $index in $position {
|
|
94
99
|
#{'position__' + $index}: $index;
|
|
@@ -221,7 +226,7 @@
|
|
|
221
226
|
$name: meta.inspect($key);
|
|
222
227
|
$name: str-replace($name, '\\/', '_');
|
|
223
228
|
|
|
224
|
-
#{'
|
|
229
|
+
#{'width__' + $name}: $value;
|
|
225
230
|
}
|
|
226
231
|
|
|
227
232
|
// height spacer
|
|
@@ -229,17 +234,17 @@
|
|
|
229
234
|
$name: meta.inspect($key);
|
|
230
235
|
$name: str-replace($name, '\\/', '_');
|
|
231
236
|
|
|
232
|
-
#{'
|
|
237
|
+
#{'height__' + $name}: $value;
|
|
233
238
|
}
|
|
234
239
|
|
|
235
240
|
// border radius
|
|
236
241
|
@each $key, $value in $border-radius {
|
|
237
|
-
#{'border-
|
|
242
|
+
#{'border-radius__' + $key}: $value;
|
|
238
243
|
}
|
|
239
244
|
|
|
240
245
|
// border width
|
|
241
246
|
@each $key, $value in $border-width {
|
|
242
|
-
#{'border-
|
|
247
|
+
#{'border-width__' + $key}: $value;
|
|
243
248
|
}
|
|
244
249
|
|
|
245
250
|
// #endregion
|
package/src/props/layout.scss
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
1
2
|
@use '../context' as *;
|
|
2
3
|
|
|
3
4
|
:where(:host, :root, .theme) {
|
|
4
5
|
@include spread-map-into-props($map: $aspect-ratio, $prefix: aspect);
|
|
5
6
|
@include spread-map-into-props($map: $z-index, $prefix: z);
|
|
7
|
+
@include spread-map-into-props(
|
|
8
|
+
$map: map.remove($breakpoints, 'xxs'),
|
|
9
|
+
$prefix: breakpoint
|
|
10
|
+
);
|
|
6
11
|
}
|
|
@@ -83,6 +83,14 @@ $object-position: (
|
|
|
83
83
|
top: top,
|
|
84
84
|
) !default;
|
|
85
85
|
|
|
86
|
+
// overflow
|
|
87
|
+
$overflow: (
|
|
88
|
+
visible: visible,
|
|
89
|
+
hidden: hidden,
|
|
90
|
+
scroll: scroll,
|
|
91
|
+
auto: auto,
|
|
92
|
+
) !default;
|
|
93
|
+
|
|
86
94
|
// position
|
|
87
95
|
$position: (static, fixed, absolute, relative, sticky) !default;
|
|
88
96
|
|
|
@@ -95,15 +103,15 @@ $visibility: (
|
|
|
95
103
|
// z-index
|
|
96
104
|
$z-index: (
|
|
97
105
|
dropdown: 1000,
|
|
98
|
-
sticky:
|
|
99
|
-
fixed:
|
|
100
|
-
modal-backdrop:
|
|
101
|
-
modal:
|
|
102
|
-
confirm-backdrop:
|
|
103
|
-
confirm:
|
|
104
|
-
popover:
|
|
105
|
-
tooltip:
|
|
106
|
-
toast:
|
|
107
|
-
notification-alert:
|
|
106
|
+
sticky: 1010,
|
|
107
|
+
fixed: 1020,
|
|
108
|
+
modal-backdrop: 1030,
|
|
109
|
+
modal: 1040,
|
|
110
|
+
confirm-backdrop: 1050,
|
|
111
|
+
confirm: 1060,
|
|
112
|
+
popover: 1070,
|
|
113
|
+
tooltip: 1080,
|
|
114
|
+
toast: 1090,
|
|
115
|
+
notification-alert: 1100,
|
|
108
116
|
auto: 'auto',
|
|
109
117
|
) !default;
|
|
@@ -72,7 +72,7 @@ $vv-textarea: (
|
|
|
72
72
|
display: block,
|
|
73
73
|
flex: 1,
|
|
74
74
|
color: var(--input-color),
|
|
75
|
-
[
|
|
75
|
+
[padding]: var(--input-spacing-top) var(--input-spacing-right)
|
|
76
76
|
var(--input-spacing-bottom) var(--input-spacing-left),
|
|
77
77
|
overflow: auto,
|
|
78
78
|
pseudo: (
|
|
@@ -94,28 +94,28 @@
|
|
|
94
94
|
);
|
|
95
95
|
|
|
96
96
|
// overflow
|
|
97
|
-
@each $
|
|
98
|
-
%overflow-#{$
|
|
99
|
-
overflow: #{$
|
|
97
|
+
@each $key, $value in $overflow {
|
|
98
|
+
%overflow-#{$key} {
|
|
99
|
+
overflow: #{$value};
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
@include wrap-with-where(
|
|
103
|
-
$selector: '.overflow-#{$
|
|
103
|
+
$selector: '.overflow-#{$key}',
|
|
104
104
|
$enabled: $zero-specificity-for-utilities
|
|
105
105
|
) {
|
|
106
|
-
@extend %overflow-#{$
|
|
106
|
+
@extend %overflow-#{$key};
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
@each $prefix in (x, y) {
|
|
110
|
-
%overflow-#{$prefix}-#{$
|
|
111
|
-
overflow-#{$prefix}: #{$
|
|
110
|
+
%overflow-#{$prefix}-#{$key} {
|
|
111
|
+
overflow-#{$prefix}: #{$value};
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
@include wrap-with-where(
|
|
115
|
-
$selector: '.overflow-#{$prefix}-#{$
|
|
115
|
+
$selector: '.overflow-#{$prefix}-#{$key}',
|
|
116
116
|
$enabled: $zero-specificity-for-utilities
|
|
117
117
|
) {
|
|
118
|
-
@extend %overflow-#{$prefix}-#{$
|
|
118
|
+
@extend %overflow-#{$prefix}-#{$key};
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
}
|