@volverjs/style 0.1.14 → 0.1.16
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/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/components/vv-card.css +1 -1
- package/dist/components.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 +30 -28
- package/src/components/vv-input-file.scss +5 -0
- package/src/components/vv-input-text.scss +5 -0
- package/src/components/vv-select.scss +5 -0
- package/src/components/vv-textarea.scss +5 -0
- package/src/props/transitions.scss +1 -0
- package/src/settings/components/_vv-card.scss +2 -5
- package/src/themes/dark/settings/_index.scss +0 -1
- package/src/utilities/borders.scss +0 -2
- package/src/utilities/sizing.scss +5 -4
- package/src/utilities/transitions.scss +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volverjs/style",
|
|
3
3
|
"description": "@volverjs/style is a lightweight responsive CSS utility library to accompany @volverjs/ui-* and static webpages as well.",
|
|
4
|
-
"author": "
|
|
4
|
+
"author": "8 wave",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"css",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"bugs": {
|
|
25
25
|
"url": "https://github.com/volverjs/style/issues"
|
|
26
26
|
},
|
|
27
|
-
"version": "0.1.
|
|
27
|
+
"version": "0.1.16",
|
|
28
28
|
"engines": {
|
|
29
29
|
"node": ">= 12.x"
|
|
30
30
|
},
|
|
@@ -36,48 +36,48 @@
|
|
|
36
36
|
"dist/*"
|
|
37
37
|
],
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@iconify/vue": "^4.
|
|
40
|
-
"@vitejs/plugin-vue": "^5.1
|
|
41
|
-
"@vueuse/core": "^
|
|
39
|
+
"@iconify/vue": "^4.3.0",
|
|
40
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
41
|
+
"@vueuse/core": "^12.5.0",
|
|
42
42
|
"@vueuse/head": "^2.0.0",
|
|
43
|
-
"eslint-config-prettier": "^
|
|
44
|
-
"eslint-plugin-prettier": "^5.2.
|
|
45
|
-
"eslint-plugin-vue": "^9.
|
|
46
|
-
"glob": "^11.0.
|
|
43
|
+
"eslint-config-prettier": "^10.0.1",
|
|
44
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
45
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
46
|
+
"glob": "^11.0.1",
|
|
47
47
|
"icss-utils": "^5.1.0",
|
|
48
48
|
"markdown-it-anchor": "^9.2.0",
|
|
49
49
|
"markdown-it-prism": "^2.3.0",
|
|
50
|
-
"postcss": "^8.
|
|
51
|
-
"postcss-html": "^1.
|
|
52
|
-
"postcss-preset-env": "^10.
|
|
53
|
-
"prettier": "^3.
|
|
50
|
+
"postcss": "^8.5.1",
|
|
51
|
+
"postcss-html": "^1.8.0",
|
|
52
|
+
"postcss-preset-env": "^10.1.3",
|
|
53
|
+
"prettier": "^3.4.2",
|
|
54
54
|
"prism-themes": "^1.9.0",
|
|
55
55
|
"prismjs": "^1.29.0",
|
|
56
56
|
"reduce-css-calc": "^2.1.8",
|
|
57
57
|
"remark": "^15.0.1",
|
|
58
58
|
"remark-frontmatter": "^5.0.0",
|
|
59
59
|
"remark-gfm": "^4.0.0",
|
|
60
|
-
"remark-lint": "^10.0.
|
|
61
|
-
"sass": "^1.
|
|
62
|
-
"stylelint": "^16.
|
|
60
|
+
"remark-lint": "^10.0.1",
|
|
61
|
+
"sass": "^1.84.0",
|
|
62
|
+
"stylelint": "^16.14.1",
|
|
63
63
|
"stylelint-config-recommended-scss": "^14.1.0",
|
|
64
|
-
"stylelint-config-recommended-vue": "^1.
|
|
65
|
-
"stylelint-config-standard-scss": "^
|
|
66
|
-
"unplugin-auto-import": "^0.
|
|
67
|
-
"unplugin-vue-components": "^0.
|
|
68
|
-
"vite": "^
|
|
69
|
-
"vite-plugin-css-export": "^3.0.
|
|
64
|
+
"stylelint-config-recommended-vue": "^1.6.0",
|
|
65
|
+
"stylelint-config-standard-scss": "^14.0.0",
|
|
66
|
+
"unplugin-auto-import": "^19.0.0",
|
|
67
|
+
"unplugin-vue-components": "^28.0.0",
|
|
68
|
+
"vite": "^6.1.0",
|
|
69
|
+
"vite-plugin-css-export": "^3.0.2",
|
|
70
70
|
"vite-plugin-eslint": "^1.8.1",
|
|
71
71
|
"vite-plugin-handlebars": "^2.0.0",
|
|
72
72
|
"vite-plugin-markdown": "^2.2.0",
|
|
73
|
-
"vite-plugin-pages": "^0.32.
|
|
74
|
-
"vite-plugin-stylelint": "^
|
|
73
|
+
"vite-plugin-pages": "^0.32.4",
|
|
74
|
+
"vite-plugin-stylelint": "^6.0.0",
|
|
75
75
|
"vite-plugin-vue-layouts": "^0.11.0",
|
|
76
|
-
"vite-ssg": "^0.
|
|
76
|
+
"vite-ssg": "^25.0.0",
|
|
77
77
|
"vite-ssg-sitemap": "^0.8.1",
|
|
78
|
-
"vue": "^3.5.
|
|
78
|
+
"vue": "^3.5.13",
|
|
79
79
|
"vue-live": "^2.5.4",
|
|
80
|
-
"vue-router": "^4.
|
|
80
|
+
"vue-router": "^4.5.0"
|
|
81
81
|
},
|
|
82
82
|
"exports": {
|
|
83
83
|
".": "./dist/volver.css",
|
|
@@ -234,6 +234,8 @@
|
|
|
234
234
|
"styleguide": "vite-ssg build",
|
|
235
235
|
"preview": "vite preview",
|
|
236
236
|
"lint": "eslint .",
|
|
237
|
-
"lint:fix": "eslint . --fix"
|
|
237
|
+
"lint:fix": "eslint . --fix",
|
|
238
|
+
"stylelint": "stylelint \"src/**/*.scss\"",
|
|
239
|
+
"stylelint:fix": "stylelint --fix \"src/**/*.scss\""
|
|
238
240
|
}
|
|
239
241
|
}
|
|
@@ -17,6 +17,7 @@ $component-selector: '.#{$component-name}';
|
|
|
17
17
|
// disabled and readonly
|
|
18
18
|
@each $state in ('disabled', 'readonly') {
|
|
19
19
|
$selector: '#{$component-selector}:has(input[#{$state}])';
|
|
20
|
+
|
|
20
21
|
@include wrap-with-where(
|
|
21
22
|
$selector: $selector,
|
|
22
23
|
$enabled: $zero-specificity-for-components
|
|
@@ -33,6 +34,7 @@ $component-selector: '.#{$component-name}';
|
|
|
33
34
|
'#{$selector} #{$component-selector}__#{$element}'
|
|
34
35
|
);
|
|
35
36
|
$alias: map.get($component-map, 'element', $element, '_alias');
|
|
37
|
+
|
|
36
38
|
@if $alias {
|
|
37
39
|
$element-selector: list.append(
|
|
38
40
|
$element-selector,
|
|
@@ -52,6 +54,7 @@ $component-selector: '.#{$component-name}';
|
|
|
52
54
|
@each $elementState, $elementMap in map.get($map, 'state') {
|
|
53
55
|
@if $elementState {
|
|
54
56
|
$element-selector-state: ();
|
|
57
|
+
|
|
55
58
|
@each $item in $element-selector {
|
|
56
59
|
$element-selector-state: list.append(
|
|
57
60
|
$element-selector-state,
|
|
@@ -73,12 +76,14 @@ $component-selector: '.#{$component-name}';
|
|
|
73
76
|
@each $pseudo, $pseudoMap in map.get($map, 'pseudo') {
|
|
74
77
|
@if $pseudo {
|
|
75
78
|
$element-selector-pseudo: ();
|
|
79
|
+
|
|
76
80
|
@each $item in $element-selector {
|
|
77
81
|
$element-selector-pseudo: list.append(
|
|
78
82
|
$element-selector-pseudo,
|
|
79
83
|
('#{$item}::#{$pseudo}')
|
|
80
84
|
);
|
|
81
85
|
}
|
|
86
|
+
|
|
82
87
|
@include wrap-with-where(
|
|
83
88
|
$selector: $element-selector-pseudo,
|
|
84
89
|
$enabled: $zero-specificity-for-components
|
|
@@ -17,6 +17,7 @@ $component-selector: '.#{$component-name}';
|
|
|
17
17
|
// disabled and readonly
|
|
18
18
|
@each $state in ('disabled', 'readonly') {
|
|
19
19
|
$selector: '#{$component-selector}:has(input[#{$state}])';
|
|
20
|
+
|
|
20
21
|
@include wrap-with-where(
|
|
21
22
|
$selector: $selector,
|
|
22
23
|
$enabled: $zero-specificity-for-components
|
|
@@ -33,6 +34,7 @@ $component-selector: '.#{$component-name}';
|
|
|
33
34
|
'#{$selector} #{$component-selector}__#{$element}'
|
|
34
35
|
);
|
|
35
36
|
$alias: map.get($component-map, 'element', $element, '_alias');
|
|
37
|
+
|
|
36
38
|
@if $alias {
|
|
37
39
|
$element-selector: list.append(
|
|
38
40
|
$element-selector,
|
|
@@ -52,6 +54,7 @@ $component-selector: '.#{$component-name}';
|
|
|
52
54
|
@each $elementState, $elementMap in map.get($map, 'state') {
|
|
53
55
|
@if $elementState {
|
|
54
56
|
$element-selector-state: ();
|
|
57
|
+
|
|
55
58
|
@each $item in $element-selector {
|
|
56
59
|
$element-selector-state: list.append(
|
|
57
60
|
$element-selector-state,
|
|
@@ -73,12 +76,14 @@ $component-selector: '.#{$component-name}';
|
|
|
73
76
|
@each $pseudo, $pseudoMap in map.get($map, 'pseudo') {
|
|
74
77
|
@if $pseudo {
|
|
75
78
|
$element-selector-pseudo: ();
|
|
79
|
+
|
|
76
80
|
@each $item in $element-selector {
|
|
77
81
|
$element-selector-pseudo: list.append(
|
|
78
82
|
$element-selector-pseudo,
|
|
79
83
|
('#{$item}::#{$pseudo}')
|
|
80
84
|
);
|
|
81
85
|
}
|
|
86
|
+
|
|
82
87
|
@include wrap-with-where(
|
|
83
88
|
$selector: $element-selector-pseudo,
|
|
84
89
|
$enabled: $zero-specificity-for-components
|
|
@@ -17,6 +17,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
17
17
|
// disabled
|
|
18
18
|
@each $state in ('disabled') {
|
|
19
19
|
$selector: '#{$component-selector}:has(select[#{$state}])';
|
|
20
|
+
|
|
20
21
|
@include wrap-with-where(
|
|
21
22
|
$selector: $selector,
|
|
22
23
|
$enabled: $zero-specificity-for-components
|
|
@@ -33,6 +34,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
33
34
|
'#{$selector} #{$component-selector}__#{$element}'
|
|
34
35
|
);
|
|
35
36
|
$alias: map.get($component-map, 'element', $element, '_alias');
|
|
37
|
+
|
|
36
38
|
@if $alias {
|
|
37
39
|
$element-selector: list.append(
|
|
38
40
|
$element-selector,
|
|
@@ -52,6 +54,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
52
54
|
@each $elementState, $elementMap in map.get($map, 'state') {
|
|
53
55
|
@if $elementState {
|
|
54
56
|
$element-selector-state: ();
|
|
57
|
+
|
|
55
58
|
@each $item in $element-selector {
|
|
56
59
|
$element-selector-state: list.append(
|
|
57
60
|
$element-selector-state,
|
|
@@ -73,12 +76,14 @@ $component-selector: '.#{ $component-name}';
|
|
|
73
76
|
@each $pseudo, $pseudoMap in map.get($map, 'pseudo') {
|
|
74
77
|
@if $pseudo {
|
|
75
78
|
$element-selector-pseudo: ();
|
|
79
|
+
|
|
76
80
|
@each $item in $element-selector {
|
|
77
81
|
$element-selector-pseudo: list.append(
|
|
78
82
|
$element-selector-pseudo,
|
|
79
83
|
('#{$item}::#{$pseudo}')
|
|
80
84
|
);
|
|
81
85
|
}
|
|
86
|
+
|
|
82
87
|
@include wrap-with-where(
|
|
83
88
|
$selector: $element-selector-pseudo,
|
|
84
89
|
$enabled: $zero-specificity-for-components
|
|
@@ -17,6 +17,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
17
17
|
// disabled and readonly
|
|
18
18
|
@each $state in ('disabled', 'readonly') {
|
|
19
19
|
$selector: '#{$component-selector}:has(textarea[#{$state}])';
|
|
20
|
+
|
|
20
21
|
@include wrap-with-where(
|
|
21
22
|
$selector: $selector,
|
|
22
23
|
$enabled: $zero-specificity-for-components
|
|
@@ -33,6 +34,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
33
34
|
'#{$selector} #{$component-selector}__#{$element}'
|
|
34
35
|
);
|
|
35
36
|
$alias: map.get($component-map, 'element', $element, '_alias');
|
|
37
|
+
|
|
36
38
|
@if $alias {
|
|
37
39
|
$element-selector: list.append(
|
|
38
40
|
$element-selector,
|
|
@@ -52,6 +54,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
52
54
|
@each $elementState, $elementMap in map.get($map, 'state') {
|
|
53
55
|
@if $elementState {
|
|
54
56
|
$element-selector-state: ();
|
|
57
|
+
|
|
55
58
|
@each $item in $element-selector {
|
|
56
59
|
$element-selector-state: list.append(
|
|
57
60
|
$element-selector-state,
|
|
@@ -73,12 +76,14 @@ $component-selector: '.#{ $component-name}';
|
|
|
73
76
|
@each $pseudo, $pseudoMap in map.get($map, 'pseudo') {
|
|
74
77
|
@if $pseudo {
|
|
75
78
|
$element-selector-pseudo: ();
|
|
79
|
+
|
|
76
80
|
@each $item in $element-selector {
|
|
77
81
|
$element-selector-pseudo: list.append(
|
|
78
82
|
$element-selector-pseudo,
|
|
79
83
|
('#{$item}::#{$pseudo}')
|
|
80
84
|
);
|
|
81
85
|
}
|
|
86
|
+
|
|
82
87
|
@include wrap-with-where(
|
|
83
88
|
$selector: $element-selector-pseudo,
|
|
84
89
|
$enabled: $zero-specificity-for-components
|
|
@@ -4,11 +4,8 @@ $vv-card: (
|
|
|
4
4
|
flex-direction: column,
|
|
5
5
|
overflow: hidden,
|
|
6
6
|
border-color: var(--color-surface-4),
|
|
7
|
-
border-
|
|
8
|
-
border-
|
|
9
|
-
border-bottom-width: var(--border),
|
|
10
|
-
border-left-width: var(--border),
|
|
11
|
-
border-style: none,
|
|
7
|
+
border-width: var(--border),
|
|
8
|
+
border-style: solid,
|
|
12
9
|
border-radius: var(--rounded-lg),
|
|
13
10
|
margin: var(--spacing-0),
|
|
14
11
|
background-color: var(--color-surface),
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
$bps: $breakpoints,
|
|
45
45
|
$zero-specificity: $zero-specificity-for-utilities
|
|
46
46
|
);
|
|
47
|
-
|
|
48
47
|
@include spread-map-into-utilities(
|
|
49
48
|
$map: $border-width,
|
|
50
49
|
$class: border-x,
|
|
@@ -56,7 +55,6 @@
|
|
|
56
55
|
$prop: border,
|
|
57
56
|
$zero-specificity: $zero-specificity-for-utilities
|
|
58
57
|
);
|
|
59
|
-
|
|
60
58
|
@include spread-map-into-utilities(
|
|
61
59
|
$map: $border-width,
|
|
62
60
|
$class: border-y,
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
$prop: w,
|
|
32
32
|
$zero-specificity: $zero-specificity-for-utilities
|
|
33
33
|
);
|
|
34
|
-
|
|
35
34
|
@include spread-map-into-utilities(
|
|
36
35
|
$map: $height,
|
|
37
36
|
$class: h,
|
|
@@ -40,18 +39,18 @@
|
|
|
40
39
|
$prop: h,
|
|
41
40
|
$zero-specificity: $zero-specificity-for-utilities
|
|
42
41
|
);
|
|
43
|
-
|
|
44
42
|
@include spread-map-into-utilities(
|
|
45
43
|
$map: $max-width,
|
|
46
44
|
$class: max-w,
|
|
47
45
|
$attribute: max-width,
|
|
46
|
+
$bps: $breakpoints,
|
|
48
47
|
$zero-specificity: $zero-specificity-for-utilities
|
|
49
48
|
);
|
|
50
|
-
|
|
51
49
|
@include spread-map-into-utilities(
|
|
52
50
|
$map: $max-height,
|
|
53
51
|
$class: max-h,
|
|
54
52
|
$attribute: max-height,
|
|
53
|
+
$bps: $breakpoints,
|
|
55
54
|
$zero-specificity: $zero-specificity-for-utilities
|
|
56
55
|
);
|
|
57
56
|
|
|
@@ -60,6 +59,7 @@
|
|
|
60
59
|
%max-w-screen-#{$breakpoint} {
|
|
61
60
|
max-width: $breakpoint-value;
|
|
62
61
|
}
|
|
62
|
+
|
|
63
63
|
@include wrap-with-where(
|
|
64
64
|
$selector: '.max-w-screen-#{$breakpoint}',
|
|
65
65
|
$enabled: $zero-specificity-for-utilities
|
|
@@ -74,12 +74,13 @@
|
|
|
74
74
|
$map: $min-width,
|
|
75
75
|
$class: min-w,
|
|
76
76
|
$attribute: min-width,
|
|
77
|
+
$bps: $breakpoints,
|
|
77
78
|
$zero-specificity: $zero-specificity-for-utilities
|
|
78
79
|
);
|
|
79
|
-
|
|
80
80
|
@include spread-map-into-utilities(
|
|
81
81
|
$map: $min-height,
|
|
82
82
|
$class: min-h,
|
|
83
83
|
$attribute: min-height,
|
|
84
|
+
$bps: $breakpoints,
|
|
84
85
|
$zero-specificity: $zero-specificity-for-utilities
|
|
85
86
|
);
|