@volverjs/style 0.1.15 → 0.1.17
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/vv-nav.css +1 -1
- package/dist/components/vv-select.css +1 -1
- package/dist/components.css +1 -1
- package/dist/volver.css +1 -1
- package/package.json +31 -29
- 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/settings/components/_vv-nav.scss +5 -0
- package/src/settings/components/_vv-select.scss +29 -29
- package/src/themes/dark/settings/_index.scss +0 -1
- package/src/utilities/borders.scss +0 -2
- 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.17",
|
|
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.7.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.2",
|
|
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.3",
|
|
51
|
+
"postcss-html": "^1.8.0",
|
|
52
|
+
"postcss-preset-env": "^10.1.5",
|
|
53
|
+
"prettier": "^3.5.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
|
-
"remark-gfm": "^4.0.
|
|
60
|
-
"remark-lint": "^10.0.
|
|
61
|
-
"sass": "^1.
|
|
62
|
-
"stylelint": "^16.
|
|
59
|
+
"remark-gfm": "^4.0.1",
|
|
60
|
+
"remark-lint": "^10.0.1",
|
|
61
|
+
"sass": "^1.85.1",
|
|
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": "^
|
|
67
|
-
"unplugin-vue-components": "^
|
|
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.1.0",
|
|
67
|
+
"unplugin-vue-components": "^28.4.0",
|
|
68
|
+
"vite": "^6.2.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.5",
|
|
74
|
+
"vite-plugin-stylelint": "^6.0.0",
|
|
75
75
|
"vite-plugin-vue-layouts": "^0.11.0",
|
|
76
|
-
"vite-ssg": "^
|
|
76
|
+
"vite-ssg": "^25.2.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),
|
|
@@ -153,6 +153,35 @@ $vv-select: (
|
|
|
153
153
|
),
|
|
154
154
|
),
|
|
155
155
|
modifier: (
|
|
156
|
+
readonly: (
|
|
157
|
+
opacity: var(--opacity-100),
|
|
158
|
+
cursor: text,
|
|
159
|
+
user-select: text,
|
|
160
|
+
element: (
|
|
161
|
+
wrapper: (
|
|
162
|
+
pseudo: (
|
|
163
|
+
before: (
|
|
164
|
+
opacity: var(--opacity-0),
|
|
165
|
+
),
|
|
166
|
+
after: (
|
|
167
|
+
opacity: var(--opacity-0),
|
|
168
|
+
),
|
|
169
|
+
),
|
|
170
|
+
state: (
|
|
171
|
+
hover: (
|
|
172
|
+
background-color: var(--input-background-color),
|
|
173
|
+
),
|
|
174
|
+
focus-within: (
|
|
175
|
+
background-color: var(--input-background-color),
|
|
176
|
+
),
|
|
177
|
+
),
|
|
178
|
+
),
|
|
179
|
+
input: (
|
|
180
|
+
background-image: none,
|
|
181
|
+
cursor: 'text',
|
|
182
|
+
),
|
|
183
|
+
),
|
|
184
|
+
),
|
|
156
185
|
dirty: (
|
|
157
186
|
element: (
|
|
158
187
|
input: (
|
|
@@ -307,35 +336,6 @@ $vv-select: (
|
|
|
307
336
|
),
|
|
308
337
|
),
|
|
309
338
|
),
|
|
310
|
-
readonly: (
|
|
311
|
-
opacity: var(--opacity-100),
|
|
312
|
-
cursor: text,
|
|
313
|
-
user-select: text,
|
|
314
|
-
element: (
|
|
315
|
-
wrapper: (
|
|
316
|
-
pseudo: (
|
|
317
|
-
before: (
|
|
318
|
-
opacity: var(--opacity-0),
|
|
319
|
-
),
|
|
320
|
-
after: (
|
|
321
|
-
opacity: var(--opacity-0),
|
|
322
|
-
),
|
|
323
|
-
),
|
|
324
|
-
state: (
|
|
325
|
-
hover: (
|
|
326
|
-
background-color: var(--input-background-color),
|
|
327
|
-
),
|
|
328
|
-
focus-within: (
|
|
329
|
-
background-color: var(--input-background-color),
|
|
330
|
-
),
|
|
331
|
-
),
|
|
332
|
-
),
|
|
333
|
-
input: (
|
|
334
|
-
background-image: none,
|
|
335
|
-
cursor: 'text',
|
|
336
|
-
),
|
|
337
|
-
),
|
|
338
|
-
),
|
|
339
339
|
),
|
|
340
340
|
state: (
|
|
341
341
|
disabled: (
|
|
@@ -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,
|