@volverjs/style 0.1.17 → 0.1.18
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-card.css +1 -1
- package/dist/components/vv-input-text.css +1 -1
- package/dist/components/vv-nav.css +1 -1
- package/dist/components/vv-select.css +1 -1
- package/dist/components/vv-textarea.css +1 -1
- package/dist/components.css +1 -1
- package/dist/themes/dark/components.css +1 -1
- package/dist/themes/dark/volver.css +1 -1
- package/dist/volver.css +1 -1
- package/package.json +24 -24
- package/src/settings/_background.scss +12 -12
- package/src/settings/components/_vv-badge.scss +2 -2
- package/src/settings/components/_vv-card.scss +3 -3
- package/src/settings/components/_vv-nav.scss +1 -1
- package/src/settings/components/_vv-select.scss +34 -0
- package/src/themes/dark/components/_vv-select.scss +22 -0
- package/src/themes/dark/components/index.scss +1 -0
- package/src/themes/dark/settings/_index.scss +1 -0
- package/src/themes/dark/settings/components/_vv-select.scss +7 -0
package/package.json
CHANGED
|
@@ -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.18",
|
|
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": "^
|
|
40
|
-
"@vitejs/plugin-vue": "^5.2.
|
|
41
|
-
"@vueuse/core": "^
|
|
39
|
+
"@iconify/vue": "^5.0.0",
|
|
40
|
+
"@vitejs/plugin-vue": "^5.2.4",
|
|
41
|
+
"@vueuse/core": "^13.2.0",
|
|
42
42
|
"@vueuse/head": "^2.0.0",
|
|
43
|
-
"eslint-config-prettier": "^10.
|
|
44
|
-
"eslint-plugin-prettier": "^5.
|
|
45
|
-
"eslint-plugin-vue": "^
|
|
46
|
-
"glob": "^11.0.
|
|
43
|
+
"eslint-config-prettier": "^10.1.5",
|
|
44
|
+
"eslint-plugin-prettier": "^5.4.0",
|
|
45
|
+
"eslint-plugin-vue": "^10.1.0",
|
|
46
|
+
"glob": "^11.0.2",
|
|
47
47
|
"icss-utils": "^5.1.0",
|
|
48
48
|
"markdown-it-anchor": "^9.2.0",
|
|
49
|
-
"markdown-it-prism": "^
|
|
49
|
+
"markdown-it-prism": "^3.0.0",
|
|
50
50
|
"postcss": "^8.5.3",
|
|
51
51
|
"postcss-html": "^1.8.0",
|
|
52
|
-
"postcss-preset-env": "^10.1.
|
|
53
|
-
"prettier": "^3.5.
|
|
52
|
+
"postcss-preset-env": "^10.1.6",
|
|
53
|
+
"prettier": "^3.5.3",
|
|
54
54
|
"prism-themes": "^1.9.0",
|
|
55
|
-
"prismjs": "^1.
|
|
55
|
+
"prismjs": "^1.30.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.1",
|
|
60
60
|
"remark-lint": "^10.0.1",
|
|
61
|
-
"sass": "^1.
|
|
62
|
-
"stylelint": "^16.
|
|
63
|
-
"stylelint-config-recommended-scss": "^
|
|
61
|
+
"sass": "^1.89.0",
|
|
62
|
+
"stylelint": "^16.19.1",
|
|
63
|
+
"stylelint-config-recommended-scss": "^15.0.1",
|
|
64
64
|
"stylelint-config-recommended-vue": "^1.6.0",
|
|
65
|
-
"stylelint-config-standard-scss": "^
|
|
66
|
-
"unplugin-auto-import": "^19.
|
|
67
|
-
"unplugin-vue-components": "^28.
|
|
68
|
-
"vite": "^6.
|
|
65
|
+
"stylelint-config-standard-scss": "^15.0.1",
|
|
66
|
+
"unplugin-auto-import": "^19.2.0",
|
|
67
|
+
"unplugin-vue-components": "^28.5.0",
|
|
68
|
+
"vite": "^6.3.5",
|
|
69
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.
|
|
73
|
+
"vite-plugin-pages": "^0.33.0",
|
|
74
74
|
"vite-plugin-stylelint": "^6.0.0",
|
|
75
75
|
"vite-plugin-vue-layouts": "^0.11.0",
|
|
76
|
-
"vite-ssg": "^
|
|
77
|
-
"vite-ssg-sitemap": "^0.
|
|
78
|
-
"vue": "^3.5.
|
|
76
|
+
"vite-ssg": "^27.0.1",
|
|
77
|
+
"vite-ssg-sitemap": "^0.9.0",
|
|
78
|
+
"vue": "^3.5.14",
|
|
79
79
|
"vue-live": "^2.5.4",
|
|
80
|
-
"vue-router": "^4.5.
|
|
80
|
+
"vue-router": "^4.5.1"
|
|
81
81
|
},
|
|
82
82
|
"exports": {
|
|
83
83
|
".": "./dist/volver.css",
|
|
@@ -199,33 +199,33 @@ $gradient: (
|
|
|
199
199
|
17: conic-gradient(from -90deg at 50% -25%, blue, blueviolet),
|
|
200
200
|
18: #{linear-gradient(
|
|
201
201
|
0deg,
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
hsl(0deg 100% 50% / 80%),
|
|
203
|
+
hsl(0deg 100% 50% / 0%) 75%
|
|
204
204
|
),
|
|
205
205
|
linear-gradient(
|
|
206
206
|
60deg,
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
hsl(60deg 100% 50% / 80%),
|
|
208
|
+
hsl(60deg 100% 50% / 0%) 75%,
|
|
209
209
|
),
|
|
210
210
|
linear-gradient(
|
|
211
211
|
120deg,
|
|
212
|
-
|
|
213
|
-
|
|
212
|
+
hsl(120deg 100% 50% / 80%),
|
|
213
|
+
hsl(120deg 100% 50% / 0%) 75%,
|
|
214
214
|
),
|
|
215
215
|
linear-gradient(
|
|
216
216
|
180deg,
|
|
217
|
-
|
|
218
|
-
|
|
217
|
+
hsl(180deg 100% 50% / 80%),
|
|
218
|
+
hsl(180deg 100% 50% / 0%) 75%,
|
|
219
219
|
),
|
|
220
220
|
linear-gradient(
|
|
221
221
|
240deg,
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
hsl(240deg 100% 50% / 80%),
|
|
223
|
+
hsl(240deg 100% 50% / 0%) 75%,
|
|
224
224
|
),
|
|
225
225
|
linear-gradient(
|
|
226
226
|
300deg,
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
hsl(300deg 100% 50% / 80%),
|
|
228
|
+
hsl(300deg 100% 50% / 0%) 75%
|
|
229
229
|
)},
|
|
230
230
|
19: linear-gradient(to bottom right, #ffe259, #ffa751),
|
|
231
231
|
20:
|
|
@@ -68,7 +68,7 @@ $vv-badge: (
|
|
|
68
68
|
),
|
|
69
69
|
white: (
|
|
70
70
|
background-color:
|
|
71
|
-
|
|
71
|
+
hsl(
|
|
72
72
|
var(--color-white-hue) var(--color-white-saturation)
|
|
73
73
|
var(--color-white-lightness) / 80%
|
|
74
74
|
),
|
|
@@ -76,7 +76,7 @@ $vv-badge: (
|
|
|
76
76
|
),
|
|
77
77
|
black: (
|
|
78
78
|
background-color:
|
|
79
|
-
|
|
79
|
+
hsl(
|
|
80
80
|
var(--color-black-hue) var(--color-black-saturation)
|
|
81
81
|
var(--color-black-lightness) / 80%
|
|
82
82
|
),
|
|
@@ -46,7 +46,7 @@ $vv-card: (
|
|
|
46
46
|
modifier: (
|
|
47
47
|
glass: (
|
|
48
48
|
background-color:
|
|
49
|
-
|
|
49
|
+
hsl(
|
|
50
50
|
var(--color-surface-hue) var(--color-surface-saturation)
|
|
51
51
|
var(--color-surface-lightness) / 60%
|
|
52
52
|
),
|
|
@@ -54,7 +54,7 @@ $vv-card: (
|
|
|
54
54
|
element: (
|
|
55
55
|
header: (
|
|
56
56
|
background-color:
|
|
57
|
-
|
|
57
|
+
hsl(
|
|
58
58
|
var(--color-surface-hue)
|
|
59
59
|
var(--color-surface-saturation)
|
|
60
60
|
var(--color-surface-lightness) / 30%
|
|
@@ -62,7 +62,7 @@ $vv-card: (
|
|
|
62
62
|
),
|
|
63
63
|
footer: (
|
|
64
64
|
background-color:
|
|
65
|
-
|
|
65
|
+
hsl(
|
|
66
66
|
var(--color-surface-hue)
|
|
67
67
|
var(--color-surface-saturation)
|
|
68
68
|
var(--color-surface-lightness) / 30%
|
|
@@ -139,6 +139,31 @@ $vv-select: (
|
|
|
139
139
|
_alias: 'select + :where(svg, [data-icon])',
|
|
140
140
|
right: 0,
|
|
141
141
|
),
|
|
142
|
+
action: (
|
|
143
|
+
position: relative,
|
|
144
|
+
width:
|
|
145
|
+
calc(
|
|
146
|
+
var(--input-icon-width) + var(--input-spacing-left) +
|
|
147
|
+
var(--input-spacing-right)
|
|
148
|
+
),
|
|
149
|
+
height: var(--input-min-height),
|
|
150
|
+
cursor: pointer,
|
|
151
|
+
state: (
|
|
152
|
+
disabled: (
|
|
153
|
+
cursor: not-allowed,
|
|
154
|
+
opacity: var(--opacity-50),
|
|
155
|
+
),
|
|
156
|
+
focus-visible: (
|
|
157
|
+
background-color: var(--color-surface-3),
|
|
158
|
+
),
|
|
159
|
+
hover: (
|
|
160
|
+
background-color: var(--color-surface-4),
|
|
161
|
+
),
|
|
162
|
+
active: (
|
|
163
|
+
background-color: var(--color-surface-5),
|
|
164
|
+
),
|
|
165
|
+
),
|
|
166
|
+
),
|
|
142
167
|
hint: (
|
|
143
168
|
_alias: '> small',
|
|
144
169
|
_combinator: '>',
|
|
@@ -340,6 +365,7 @@ $vv-select: (
|
|
|
340
365
|
state: (
|
|
341
366
|
disabled: (
|
|
342
367
|
opacity: var(--opacity-50),
|
|
368
|
+
cursor: not-allowed,
|
|
343
369
|
element: (
|
|
344
370
|
wrapper: (
|
|
345
371
|
state: (
|
|
@@ -350,6 +376,14 @@ $vv-select: (
|
|
|
350
376
|
background-color: var(--input-background-color),
|
|
351
377
|
),
|
|
352
378
|
),
|
|
379
|
+
pseudo: (
|
|
380
|
+
before: (
|
|
381
|
+
opacity: var(--opacity-0),
|
|
382
|
+
),
|
|
383
|
+
after: (
|
|
384
|
+
opacity: var(--opacity-0),
|
|
385
|
+
),
|
|
386
|
+
),
|
|
353
387
|
),
|
|
354
388
|
),
|
|
355
389
|
),
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../context' as *;
|
|
3
|
+
|
|
4
|
+
$component-name: map.get($components-names, vv-select);
|
|
5
|
+
$component-map: $dark-vv-select;
|
|
6
|
+
|
|
7
|
+
@mixin theme-dark-vv-select {
|
|
8
|
+
@include spread-map-into-props(
|
|
9
|
+
$map: $component-map,
|
|
10
|
+
$prefix: $component-name
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:where(:host, :root, .theme):not(.theme--light) {
|
|
15
|
+
@media (prefers-color-scheme: dark) {
|
|
16
|
+
@include theme-dark-vv-select;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:where(.theme.theme--dark) {
|
|
21
|
+
@include theme-dark-vv-select;
|
|
22
|
+
}
|