@volverjs/style 0.1.2-beta.20 → 0.1.2-beta.21
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-accordion.css +1 -1
- package/dist/components/vv-alert.css +1 -1
- package/dist/components/vv-avatar.css +1 -1
- package/dist/components/vv-breadcrumb.css +1 -1
- package/dist/components/vv-button-group.css +1 -1
- package/dist/components/vv-input-checkbox-group.css +1 -1
- package/dist/components/vv-input-radio-group.css +1 -1
- package/dist/components/vv-input-text.css +1 -1
- package/dist/components/vv-select.css +1 -1
- package/dist/components.css +1 -1
- package/dist/props/input.css +1 -1
- package/dist/props.css +1 -1
- package/dist/utilities/sizing.css +1 -1
- package/dist/utilities.css +1 -1
- package/dist/volver.css +1 -1
- package/package.json +1 -1
- package/src/settings/_input.scss +1 -0
- package/src/settings/components/_vv-accordion.scss +1 -0
- package/src/settings/components/_vv-alert.scss +3 -3
- package/src/settings/components/_vv-avatar.scss +7 -0
- package/src/settings/components/_vv-breadcrumb.scss +23 -15
- package/src/settings/components/_vv-button-group.scss +4 -0
- package/src/settings/components/_vv-input-checkbox-group.scss +0 -1
- package/src/settings/components/_vv-input-text.scss +4 -9
- package/src/settings/components/_vv-select.scss +8 -0
- package/src/utilities/sizing.scss +9 -19
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.21",
|
|
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/settings/_input.scss
CHANGED
|
@@ -3,7 +3,7 @@ $vv-alert: (
|
|
|
3
3
|
min-width: 0,
|
|
4
4
|
overflow: hidden,
|
|
5
5
|
align-items: center,
|
|
6
|
-
padding: var(--spacing-md),
|
|
6
|
+
padding: var(--spacing-sm) var(--spacing-md),
|
|
7
7
|
background-color: var(--color-surface-2),
|
|
8
8
|
border-color: var(--color-gray-lighten-4),
|
|
9
9
|
border-width: var(--border),
|
|
@@ -32,12 +32,12 @@ $vv-alert: (
|
|
|
32
32
|
title: (
|
|
33
33
|
display: flex,
|
|
34
34
|
margin-right: 1ch,
|
|
35
|
-
line-height: var(--leading-
|
|
35
|
+
line-height: var(--leading-normal),
|
|
36
36
|
font-weight: var(--font-bold),
|
|
37
37
|
color: var(--color-word),
|
|
38
38
|
),
|
|
39
39
|
content: (
|
|
40
|
-
line-height: var(--leading-
|
|
40
|
+
line-height: var(--leading-normal),
|
|
41
41
|
color: var(--color-word-1),
|
|
42
42
|
text-overflow: ellipsis,
|
|
43
43
|
white-space: nowrap,
|
|
@@ -1,29 +1,37 @@
|
|
|
1
1
|
$vv-breadcrumb: (
|
|
2
|
+
position: relative,
|
|
3
|
+
pseudo: (
|
|
4
|
+
after: (
|
|
5
|
+
position: absolute,
|
|
6
|
+
top: 0,
|
|
7
|
+
bottom: 0,
|
|
8
|
+
right: 0,
|
|
9
|
+
display: block,
|
|
10
|
+
width: var(--spacing-sm),
|
|
11
|
+
background:
|
|
12
|
+
linear-gradient(45deg, transparent, var(--color-surface)),
|
|
13
|
+
),
|
|
14
|
+
),
|
|
2
15
|
element: (
|
|
3
16
|
list: (
|
|
4
17
|
_alias: '> ol',
|
|
5
18
|
position: relative,
|
|
19
|
+
overflow: auto hidden,
|
|
20
|
+
overscroll-behavior-x: contain,
|
|
21
|
+
scroll-behavior: smooth,
|
|
22
|
+
scroll-snap-type: x mandatory,
|
|
23
|
+
scrollbar-width: none,
|
|
6
24
|
display: flex,
|
|
7
25
|
flex-wrap: no-wrap,
|
|
8
26
|
list-style: none,
|
|
9
|
-
overflow: auto,
|
|
10
27
|
padding: 0,
|
|
11
28
|
background: var(--color-surface),
|
|
29
|
+
white-space: nowrap,
|
|
12
30
|
pseudo: (
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
right: 0,
|
|
18
|
-
display: block,
|
|
19
|
-
width: var(--spacing-sm),
|
|
20
|
-
background:
|
|
21
|
-
linear-gradient(
|
|
22
|
-
45deg,
|
|
23
|
-
transparent,
|
|
24
|
-
var(--color-surface)
|
|
25
|
-
),
|
|
26
|
-
),
|
|
31
|
+
-webkit-scrollbar: (
|
|
32
|
+
width: 0,
|
|
33
|
+
height: 0,
|
|
34
|
+
),
|
|
27
35
|
),
|
|
28
36
|
),
|
|
29
37
|
item: (
|
|
@@ -65,7 +65,7 @@ $vv-input-text: (
|
|
|
65
65
|
color: var(--input-color),
|
|
66
66
|
[padding]: var(--input-padding-top) var(--input-padding-right)
|
|
67
67
|
var(--input-padding-bottom) var(--input-padding-left),
|
|
68
|
-
min-height: var(--
|
|
68
|
+
min-height: var(--input-min-height),
|
|
69
69
|
pseudo: (
|
|
70
70
|
placeholder: (
|
|
71
71
|
color: var(--input-placeholder-color),
|
|
@@ -80,15 +80,7 @@ $vv-input-text: (
|
|
|
80
80
|
search-cancel-button: (
|
|
81
81
|
display: none,
|
|
82
82
|
),
|
|
83
|
-
color-swatch-wrapper: (
|
|
84
|
-
display: block,
|
|
85
|
-
border: none,
|
|
86
|
-
height: 100%,
|
|
87
|
-
padding: 0,
|
|
88
|
-
),
|
|
89
83
|
color-swatch: (
|
|
90
|
-
display: block,
|
|
91
|
-
border: none,
|
|
92
84
|
height: var(--spacing-20),
|
|
93
85
|
border-radius: var(--spacing-4),
|
|
94
86
|
),
|
|
@@ -256,6 +248,9 @@ $vv-input-text: (
|
|
|
256
248
|
label: (
|
|
257
249
|
position: absolute,
|
|
258
250
|
z-index: 1,
|
|
251
|
+
display: flex,
|
|
252
|
+
align-items: center,
|
|
253
|
+
min-height: var(--input-min-height),
|
|
259
254
|
pointer-events: none,
|
|
260
255
|
font-size: inherit,
|
|
261
256
|
[padding-top]: var(--input-padding-top),
|
|
@@ -2,26 +2,16 @@
|
|
|
2
2
|
@import '../context';
|
|
3
3
|
|
|
4
4
|
// width / height / max-width / max-height
|
|
5
|
-
@each $
|
|
6
|
-
$
|
|
5
|
+
@each $class,
|
|
6
|
+
$attribute in(w: width, h: height, max-w: max-width, max-h: max-height)
|
|
7
7
|
{
|
|
8
|
-
@
|
|
9
|
-
|
|
10
|
-
$
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
%#{$dimension}-#{$size} {
|
|
16
|
-
#{$attr}: #{$var};
|
|
17
|
-
}
|
|
18
|
-
@include wrap-with-where(
|
|
19
|
-
$selector: '.#{$dimension}-#{$size}',
|
|
20
|
-
$enabled: $zero-specificity-for-utilities
|
|
21
|
-
) {
|
|
22
|
-
@extend %#{$dimension}-#{$size};
|
|
23
|
-
}
|
|
24
|
-
}
|
|
8
|
+
@include spread-map-into-utilities(
|
|
9
|
+
$map: map.merge($spacing, $spacing-dynamic),
|
|
10
|
+
$class: $class,
|
|
11
|
+
$attribute: $attribute,
|
|
12
|
+
$bps: $breakpoints,
|
|
13
|
+
$prop: spacing
|
|
14
|
+
);
|
|
25
15
|
}
|
|
26
16
|
|
|
27
17
|
@include spread-map-into-utilities(
|