@volverjs/style 0.1.12-beta.3 → 0.1.12-beta.4
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/README.md +2 -2
- package/dist/base.css +1 -1
- package/dist/components/vv-accordion.css +1 -1
- package/dist/components/vv-alert.css +1 -1
- package/dist/components/vv-dropdown.css +1 -1
- package/dist/components/vv-text.css +1 -1
- package/dist/components.css +1 -1
- package/dist/export.css +1 -1
- package/dist/props/input.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 +8 -8
- package/src/settings/_input.scss +1 -1
- package/src/settings/_layout.scss +1 -0
- package/src/settings/components/_vv-accordion.scss +4 -5
- package/src/settings/components/_vv-alert.scss +1 -2
- package/src/settings/components/_vv-dropdown.scss +83 -0
- package/src/settings/components/_vv-text.scss +1 -0
- package/src/tools/_mixins.scss +18 -1
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.12-beta.
|
|
27
|
+
"version": "0.1.12-beta.4",
|
|
28
28
|
"engines": {
|
|
29
29
|
"node": ">= 12.x"
|
|
30
30
|
},
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
42
42
|
"@vueuse/core": "^10.1.2",
|
|
43
43
|
"@vueuse/head": "^1.1.26",
|
|
44
|
-
"eslint": "^8.
|
|
44
|
+
"eslint": "^8.42.0",
|
|
45
45
|
"eslint-config-prettier": "^8.8.0",
|
|
46
46
|
"eslint-plugin-vue": "^9.14.1",
|
|
47
|
-
"glob": "^10.2.
|
|
47
|
+
"glob": "^10.2.7",
|
|
48
48
|
"icss-utils": "^5.1.0",
|
|
49
49
|
"markdown-it-anchor": "^8.6.7",
|
|
50
50
|
"markdown-it-prism": "^2.3.0",
|
|
51
51
|
"postcss": "^8.4.24",
|
|
52
52
|
"postcss-html": "^1.5.0",
|
|
53
|
-
"postcss-preset-env": "^8.4.
|
|
53
|
+
"postcss-preset-env": "^8.4.2",
|
|
54
54
|
"prism-themes": "^1.9.0",
|
|
55
55
|
"prismjs": "^1.29.0",
|
|
56
56
|
"remark": "^14.0.3",
|
|
@@ -58,25 +58,25 @@
|
|
|
58
58
|
"remark-gfm": "^3.0.1",
|
|
59
59
|
"remark-lint": "^9.1.2",
|
|
60
60
|
"sass": "^1.62.1",
|
|
61
|
-
"stylelint": "^15.
|
|
61
|
+
"stylelint": "^15.7.0",
|
|
62
62
|
"stylelint-config-prettier": "^9.0.5",
|
|
63
63
|
"stylelint-config-recommended-scss": "^12.0.0",
|
|
64
64
|
"stylelint-config-recommended-vue": "^1.4.0",
|
|
65
65
|
"stylelint-config-standard-scss": "^9.0.0",
|
|
66
66
|
"unplugin-auto-import": "^0.16.4",
|
|
67
|
-
"unplugin-vue-components": "^0.25.
|
|
67
|
+
"unplugin-vue-components": "^0.25.1",
|
|
68
68
|
"vite": "^4.3.9",
|
|
69
69
|
"vite-plugin-css-export": "^2.0.0",
|
|
70
70
|
"vite-plugin-eslint": "^1.8.1",
|
|
71
71
|
"vite-plugin-handlebars": "^1.6.0",
|
|
72
72
|
"vite-plugin-markdown": "^2.1.0",
|
|
73
|
-
"vite-plugin-pages": "^0.
|
|
73
|
+
"vite-plugin-pages": "^0.31.0",
|
|
74
74
|
"vite-plugin-stylelint": "^4.3.0",
|
|
75
75
|
"vite-plugin-vue-layouts": "^0.8.0",
|
|
76
76
|
"vite-ssg": "^0.22.2",
|
|
77
77
|
"vite-ssg-sitemap": "^0.5.1",
|
|
78
78
|
"vue": "^3.3.4",
|
|
79
|
-
"vue-live": "^2.5.
|
|
79
|
+
"vue-live": "^2.5.4",
|
|
80
80
|
"vue-router": "^4.2.2"
|
|
81
81
|
},
|
|
82
82
|
"exports": {
|
package/src/settings/_input.scss
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
$vv-accordion: (
|
|
2
2
|
--accordion-marker-size:
|
|
3
3
|
calc(var(--spacing-sm) + var(--leading-normal) * 1em),
|
|
4
|
-
--accordion-padding-top: var(--spacing-
|
|
5
|
-
--accordion-padding-right: var(--spacing-
|
|
6
|
-
--accordion-padding-bottom: var(--spacing-
|
|
7
|
-
--accordion-padding-left: var(--spacing-
|
|
4
|
+
--accordion-padding-top: var(--spacing-14),
|
|
5
|
+
--accordion-padding-right: var(--spacing-14),
|
|
6
|
+
--accordion-padding-bottom: var(--spacing-14),
|
|
7
|
+
--accordion-padding-left: var(--spacing-14),
|
|
8
8
|
overflow: hidden,
|
|
9
9
|
state: (
|
|
10
10
|
open: (
|
|
@@ -46,7 +46,6 @@ $vv-accordion: (
|
|
|
46
46
|
color: var(--color-word-2),
|
|
47
47
|
will-change: background-color,
|
|
48
48
|
transition: var(--transition-colors),
|
|
49
|
-
font-size: var(--text-sm),
|
|
50
49
|
border-radius: var(--rounded-lg),
|
|
51
50
|
-webkit-tap-highlight-color: transparent,
|
|
52
51
|
outline: none,
|
|
@@ -12,7 +12,6 @@ $vv-alert: (
|
|
|
12
12
|
gap: var(--spacing-sm),
|
|
13
13
|
min-width: 0,
|
|
14
14
|
overflow: hidden,
|
|
15
|
-
font-size: var(--text-sm),
|
|
16
15
|
padding: var(--spacing-sm),
|
|
17
16
|
element: (
|
|
18
17
|
header: (
|
|
@@ -174,7 +173,7 @@ $vv-alert: (
|
|
|
174
173
|
),
|
|
175
174
|
content: (
|
|
176
175
|
padding: var(--spacing-sm),
|
|
177
|
-
font-size: var(--text-
|
|
176
|
+
font-size: var(--text-14),
|
|
178
177
|
),
|
|
179
178
|
footer: (
|
|
180
179
|
padding: 0 var(--spacing-sm) var(--spacing-sm)
|
|
@@ -13,6 +13,21 @@ $vv-dropdown: (
|
|
|
13
13
|
[border-radius]: var(--dropdown-border-radius),
|
|
14
14
|
background-color: var(--color-surface-1),
|
|
15
15
|
overflow: auto,
|
|
16
|
+
pseudo: (
|
|
17
|
+
-webkit-scrollbar: (
|
|
18
|
+
width: var(--spacing-2),
|
|
19
|
+
height: var(--spacing-2),
|
|
20
|
+
),
|
|
21
|
+
-webkit-scrollbar-thumb: (
|
|
22
|
+
background-color: var(--color-brand-lighten-4),
|
|
23
|
+
border: var(--spacing-0) solid transparent,
|
|
24
|
+
background-clip: content-box,
|
|
25
|
+
),
|
|
26
|
+
-webkit-scrollbar-track: (
|
|
27
|
+
background-color: transparent,
|
|
28
|
+
padding: 0,
|
|
29
|
+
),
|
|
30
|
+
),
|
|
16
31
|
),
|
|
17
32
|
item: (
|
|
18
33
|
_alias: 'li',
|
|
@@ -161,6 +176,14 @@ $vv-dropdown: (
|
|
|
161
176
|
down-xs: (
|
|
162
177
|
z-index: var(--z-modal),
|
|
163
178
|
margin-bottom: auto,
|
|
179
|
+
[border-radius]: var(--dropdown-border-radius),
|
|
180
|
+
),
|
|
181
|
+
),
|
|
182
|
+
),
|
|
183
|
+
search: (
|
|
184
|
+
breakpoint: (
|
|
185
|
+
down-xs: (
|
|
186
|
+
[border-radius]: var(--dropdown-border-radius),
|
|
164
187
|
),
|
|
165
188
|
),
|
|
166
189
|
),
|
|
@@ -175,6 +198,9 @@ $vv-dropdown: (
|
|
|
175
198
|
list: (
|
|
176
199
|
transition: var(--transition-transform),
|
|
177
200
|
),
|
|
201
|
+
search: (
|
|
202
|
+
transition: var(--transition-transform),
|
|
203
|
+
),
|
|
178
204
|
),
|
|
179
205
|
),
|
|
180
206
|
enter-from: (
|
|
@@ -183,6 +209,9 @@ $vv-dropdown: (
|
|
|
183
209
|
list: (
|
|
184
210
|
translate: 0 100%,
|
|
185
211
|
),
|
|
212
|
+
search: (
|
|
213
|
+
translate: 0 -100%,
|
|
214
|
+
),
|
|
186
215
|
),
|
|
187
216
|
),
|
|
188
217
|
leave-to: (
|
|
@@ -191,6 +220,60 @@ $vv-dropdown: (
|
|
|
191
220
|
list: (
|
|
192
221
|
translate: 0 100%,
|
|
193
222
|
),
|
|
223
|
+
search: (
|
|
224
|
+
translate: 0 -100%,
|
|
225
|
+
),
|
|
226
|
+
),
|
|
227
|
+
),
|
|
228
|
+
),
|
|
229
|
+
mobile-fade-block: (
|
|
230
|
+
active: (
|
|
231
|
+
transition: var(--transition-opacity),
|
|
232
|
+
element: (
|
|
233
|
+
list: (
|
|
234
|
+
transition: var(--transition-transform),
|
|
235
|
+
),
|
|
236
|
+
search: (
|
|
237
|
+
transition: var(--transition-transform),
|
|
238
|
+
),
|
|
239
|
+
),
|
|
240
|
+
),
|
|
241
|
+
enter-from: (
|
|
242
|
+
opacity: var(--opacity-0),
|
|
243
|
+
element: (
|
|
244
|
+
list: (
|
|
245
|
+
breakpoint: (
|
|
246
|
+
down-xs: (
|
|
247
|
+
translate: 0 100%,
|
|
248
|
+
),
|
|
249
|
+
),
|
|
250
|
+
),
|
|
251
|
+
search: (
|
|
252
|
+
breakpoint: (
|
|
253
|
+
down-xs: (
|
|
254
|
+
translate: 0 -100%,
|
|
255
|
+
),
|
|
256
|
+
),
|
|
257
|
+
),
|
|
258
|
+
),
|
|
259
|
+
),
|
|
260
|
+
leave-to: (
|
|
261
|
+
opacity: var(--opacity-0),
|
|
262
|
+
element: (
|
|
263
|
+
list: (
|
|
264
|
+
breakpoint: (
|
|
265
|
+
down-xs: (
|
|
266
|
+
translate: 0 100%,
|
|
267
|
+
),
|
|
268
|
+
),
|
|
269
|
+
),
|
|
270
|
+
search: (
|
|
271
|
+
breakpoint: (
|
|
272
|
+
down-xs: (
|
|
273
|
+
translate: 0 -100%,
|
|
274
|
+
),
|
|
275
|
+
),
|
|
276
|
+
),
|
|
194
277
|
),
|
|
195
278
|
),
|
|
196
279
|
),
|
package/src/tools/_mixins.scss
CHANGED
|
@@ -851,7 +851,9 @@
|
|
|
851
851
|
-moz-progress-value,
|
|
852
852
|
-moz-inner-element,
|
|
853
853
|
-webkit-details-marker,
|
|
854
|
-
-webkit-scrollbar
|
|
854
|
+
-webkit-scrollbar,
|
|
855
|
+
-webkit-scrollbar-track,
|
|
856
|
+
-webkit-scrollbar-thumb
|
|
855
857
|
),
|
|
856
858
|
$pseudo-element
|
|
857
859
|
)
|
|
@@ -1178,6 +1180,21 @@
|
|
|
1178
1180
|
$bps: $bps
|
|
1179
1181
|
);
|
|
1180
1182
|
}
|
|
1183
|
+
|
|
1184
|
+
// map breakpoints
|
|
1185
|
+
@if map.get($value, 'breakpoint') {
|
|
1186
|
+
@include spread-map-into-breakpoints(
|
|
1187
|
+
$original: $map,
|
|
1188
|
+
$map: $value,
|
|
1189
|
+
$prefix: #{$prefix}-#{$key}-#{$transition}-#{$state},
|
|
1190
|
+
$key: 'breakpoint',
|
|
1191
|
+
$block: $block,
|
|
1192
|
+
$modifier: $selector,
|
|
1193
|
+
$props: $props,
|
|
1194
|
+
$zero-specificity: $zero-specificity,
|
|
1195
|
+
$bps: $bps
|
|
1196
|
+
);
|
|
1197
|
+
}
|
|
1181
1198
|
}
|
|
1182
1199
|
}
|
|
1183
1200
|
}
|