@volverjs/style 0.1.9-beta.6 → 0.1.9-beta.7
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-dropdown-optgroup.css +1 -1
- package/dist/components/vv-radio.css +1 -1
- package/dist/components/vv-table.css +1 -1
- package/dist/components.css +1 -1
- package/dist/volver.css +1 -1
- package/package.json +12 -12
- package/src/settings/components/_vv-dropdown-optgroup.scss +0 -1
- package/src/settings/components/_vv-radio.scss +5 -3
- package/src/settings/components/_vv-table.scss +5 -0
- package/src/tools/_mixins.scss +27 -13
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.9-beta.
|
|
27
|
+
"version": "0.1.9-beta.7",
|
|
28
28
|
"engines": {
|
|
29
29
|
"node": ">= 12.x"
|
|
30
30
|
},
|
|
@@ -37,33 +37,33 @@
|
|
|
37
37
|
"dist/*"
|
|
38
38
|
],
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@iconify/vue": "^4.1.
|
|
40
|
+
"@iconify/vue": "^4.1.1",
|
|
41
41
|
"@vitejs/plugin-vue": "^4.1.0",
|
|
42
42
|
"@vueuse/core": "^9.13.0",
|
|
43
43
|
"@vueuse/head": "^1.1.23",
|
|
44
|
-
"eslint": "^8.
|
|
44
|
+
"eslint": "^8.38.0",
|
|
45
45
|
"eslint-config-prettier": "^8.8.0",
|
|
46
|
-
"eslint-plugin-vue": "^9.
|
|
47
|
-
"glob": "^
|
|
46
|
+
"eslint-plugin-vue": "^9.10.0",
|
|
47
|
+
"glob": "^10.0.0",
|
|
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.21",
|
|
52
52
|
"postcss-html": "^1.5.0",
|
|
53
|
-
"postcss-preset-env": "^8.
|
|
53
|
+
"postcss-preset-env": "^8.3.1",
|
|
54
54
|
"prism-themes": "^1.9.0",
|
|
55
55
|
"prismjs": "1.29.0",
|
|
56
56
|
"remark": "^14.0.2",
|
|
57
57
|
"remark-frontmatter": "^4.0.1",
|
|
58
58
|
"remark-gfm": "^3.0.1",
|
|
59
59
|
"remark-lint": "^9.1.1",
|
|
60
|
-
"sass": "^1.
|
|
61
|
-
"stylelint": "^15.
|
|
60
|
+
"sass": "^1.62.0",
|
|
61
|
+
"stylelint": "^15.4.0",
|
|
62
62
|
"stylelint-config-prettier": "^9.0.5",
|
|
63
|
-
"stylelint-config-recommended-scss": "^
|
|
63
|
+
"stylelint-config-recommended-scss": "^10.0.0",
|
|
64
64
|
"stylelint-config-recommended-vue": "^1.4.0",
|
|
65
|
-
"stylelint-config-standard-scss": "^
|
|
66
|
-
"unplugin-auto-import": "^0.15.
|
|
65
|
+
"stylelint-config-standard-scss": "^8.0.0",
|
|
66
|
+
"unplugin-auto-import": "^0.15.2",
|
|
67
67
|
"unplugin-vue-components": "^0.24.1",
|
|
68
68
|
"vite": "^4.2.1",
|
|
69
69
|
"vite-plugin-css-export": "^2.0.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"vite-plugin-pages": "^0.29.0",
|
|
74
74
|
"vite-plugin-stylelint": "^4.3.0",
|
|
75
75
|
"vite-plugin-vue-layouts": "^0.8.0",
|
|
76
|
-
"vite-ssg": "^0.22.
|
|
76
|
+
"vite-ssg": "^0.22.2",
|
|
77
77
|
"vite-ssg-sitemap": "^0.4.3",
|
|
78
78
|
"vue": "^3.2.47",
|
|
79
79
|
"vue-live": "2.4.10",
|
|
@@ -39,12 +39,14 @@ $vv-radio: (
|
|
|
39
39
|
element: (
|
|
40
40
|
input: (
|
|
41
41
|
_alias: "> input[type='radio']",
|
|
42
|
-
border: var(--spacing-2)
|
|
42
|
+
border-width: var(--spacing-2),
|
|
43
|
+
border-style: solid,
|
|
44
|
+
border-color: var(--input-color),
|
|
43
45
|
min-width: var(--spacing-20),
|
|
44
46
|
height: var(--spacing-20),
|
|
45
47
|
border-radius: 50%,
|
|
46
48
|
margin: 0 var(--input-label-gap) 0 0,
|
|
47
|
-
background: transparent,
|
|
49
|
+
background-color: transparent,
|
|
48
50
|
cursor: pointer,
|
|
49
51
|
position: relative,
|
|
50
52
|
pseudo: (
|
|
@@ -52,7 +54,7 @@ $vv-radio: (
|
|
|
52
54
|
position: absolute,
|
|
53
55
|
width: 70%,
|
|
54
56
|
height: 70%,
|
|
55
|
-
background: var(--input-color),
|
|
57
|
+
background-color: var(--input-color),
|
|
56
58
|
inset: 50% 50%,
|
|
57
59
|
border-radius: 50%,
|
|
58
60
|
transform: translate(-50%, -50%) scale(0),
|
package/src/tools/_mixins.scss
CHANGED
|
@@ -230,7 +230,8 @@
|
|
|
230
230
|
$block: $block,
|
|
231
231
|
$modifier: $modifier + $selector,
|
|
232
232
|
$props: $props,
|
|
233
|
-
$zero-specificity: $zero-specificity
|
|
233
|
+
$zero-specificity: $zero-specificity,
|
|
234
|
+
$bps: $bps
|
|
234
235
|
);
|
|
235
236
|
}
|
|
236
237
|
|
|
@@ -244,7 +245,8 @@
|
|
|
244
245
|
$block: $block,
|
|
245
246
|
$modifier: $modifier + $selector,
|
|
246
247
|
$props: $props,
|
|
247
|
-
$zero-specificity: $zero-specificity
|
|
248
|
+
$zero-specificity: $zero-specificity,
|
|
249
|
+
$bps: $bps
|
|
248
250
|
);
|
|
249
251
|
}
|
|
250
252
|
|
|
@@ -254,9 +256,11 @@
|
|
|
254
256
|
$map: $value,
|
|
255
257
|
$prefix: #{$prefix}-#{$key}-#{$item},
|
|
256
258
|
$key: 'breakpoint',
|
|
257
|
-
$block: $
|
|
259
|
+
$block: $block,
|
|
260
|
+
$modifier: $modifier + $selector,
|
|
258
261
|
$props: $props,
|
|
259
|
-
$zero-specificity: $zero-specificity
|
|
262
|
+
$zero-specificity: $zero-specificity,
|
|
263
|
+
$bps: $bps
|
|
260
264
|
);
|
|
261
265
|
}
|
|
262
266
|
|
|
@@ -366,7 +370,8 @@
|
|
|
366
370
|
$block: $selector,
|
|
367
371
|
$alias: $alias,
|
|
368
372
|
$props: $props,
|
|
369
|
-
$zero-specificity: $zero-specificity
|
|
373
|
+
$zero-specificity: $zero-specificity,
|
|
374
|
+
$bps: $bps
|
|
370
375
|
);
|
|
371
376
|
}
|
|
372
377
|
|
|
@@ -378,7 +383,8 @@
|
|
|
378
383
|
$key: 'breakpoint',
|
|
379
384
|
$block: list-to-string(($selector, $alias)),
|
|
380
385
|
$props: $props,
|
|
381
|
-
$zero-specificity: $zero-specificity
|
|
386
|
+
$zero-specificity: $zero-specificity,
|
|
387
|
+
$bps: $bps
|
|
382
388
|
);
|
|
383
389
|
}
|
|
384
390
|
}
|
|
@@ -630,7 +636,8 @@
|
|
|
630
636
|
$block: $block,
|
|
631
637
|
$modifier: $selector,
|
|
632
638
|
$props: $props,
|
|
633
|
-
$zero-specificity: $zero-specificity
|
|
639
|
+
$zero-specificity: $zero-specificity,
|
|
640
|
+
$bps: $bps
|
|
634
641
|
);
|
|
635
642
|
}
|
|
636
643
|
}
|
|
@@ -640,16 +647,21 @@
|
|
|
640
647
|
|
|
641
648
|
// Transform a map into a list of breakpoints
|
|
642
649
|
@mixin spread-map-into-breakpoints(
|
|
650
|
+
$original: null,
|
|
643
651
|
$map: (),
|
|
644
652
|
$prefix: '',
|
|
645
653
|
$key: 'breakpoint',
|
|
646
654
|
$block: null,
|
|
655
|
+
$modifier: '',
|
|
647
656
|
$props: true,
|
|
657
|
+
$zero-specificity: true,
|
|
648
658
|
$bps: (
|
|
649
659
|
xxs: 0,
|
|
650
|
-
)
|
|
651
|
-
$zero-specificity: true
|
|
660
|
+
)
|
|
652
661
|
) {
|
|
662
|
+
@if not $original {
|
|
663
|
+
$original: $map;
|
|
664
|
+
}
|
|
653
665
|
@if not $block {
|
|
654
666
|
$block: &;
|
|
655
667
|
}
|
|
@@ -657,12 +669,12 @@
|
|
|
657
669
|
@each $breakpoint, $value in map.get($map, $key) {
|
|
658
670
|
@if map.has-key($bps, $breakpoint) {
|
|
659
671
|
@include wrap-with-where(
|
|
660
|
-
$selector: $block,
|
|
672
|
+
$selector: '#{$modifier}#{$block}',
|
|
661
673
|
$enabled: $zero-specificity
|
|
662
674
|
) {
|
|
663
675
|
@include media-breakpoint-up($breakpoint, $bps) {
|
|
664
676
|
@include spread-map-into-attrs(
|
|
665
|
-
$original: $
|
|
677
|
+
$original: $original,
|
|
666
678
|
$map: $value,
|
|
667
679
|
$prefix: $prefix,
|
|
668
680
|
$variant: #{$key}-#{$breakpoint},
|
|
@@ -1071,7 +1083,8 @@
|
|
|
1071
1083
|
$ignore: (
|
|
1072
1084
|
'element',
|
|
1073
1085
|
),
|
|
1074
|
-
$props: $props
|
|
1086
|
+
$props: $props,
|
|
1087
|
+
$bps: $bps
|
|
1075
1088
|
);
|
|
1076
1089
|
}
|
|
1077
1090
|
|
|
@@ -1085,7 +1098,8 @@
|
|
|
1085
1098
|
$block: $block,
|
|
1086
1099
|
$modifier: $selector,
|
|
1087
1100
|
$props: $props,
|
|
1088
|
-
$zero-specificity: $zero-specificity
|
|
1101
|
+
$zero-specificity: $zero-specificity,
|
|
1102
|
+
$bps: $bps
|
|
1089
1103
|
);
|
|
1090
1104
|
}
|
|
1091
1105
|
}
|