@volverjs/style 0.1.24-beta.2 → 0.1.24-beta.3

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.
Files changed (71) hide show
  1. package/dist/base.css +1 -1
  2. package/dist/components/vv-accordion-group.css +1 -1
  3. package/dist/components/vv-accordion.css +1 -1
  4. package/dist/components/vv-alert-group.css +1 -1
  5. package/dist/components/vv-alert.css +1 -1
  6. package/dist/components/vv-avatar-group.css +1 -1
  7. package/dist/components/vv-avatar.css +1 -1
  8. package/dist/components/vv-badge.css +1 -1
  9. package/dist/components/vv-breadcrumb.css +1 -1
  10. package/dist/components/vv-button-group.css +1 -1
  11. package/dist/components/vv-button.css +1 -1
  12. package/dist/components/vv-card.css +1 -1
  13. package/dist/components/vv-checkbox-group.css +1 -1
  14. package/dist/components/vv-checkbox.css +1 -1
  15. package/dist/components/vv-dialog.css +1 -1
  16. package/dist/components/vv-dropdown-action.css +1 -1
  17. package/dist/components/vv-dropdown-optgroup.css +1 -1
  18. package/dist/components/vv-dropdown-option.css +1 -1
  19. package/dist/components/vv-dropdown.css +1 -1
  20. package/dist/components/vv-input-file.css +1 -1
  21. package/dist/components/vv-input-text.css +1 -1
  22. package/dist/components/vv-nav.css +1 -1
  23. package/dist/components/vv-progress.css +1 -1
  24. package/dist/components/vv-radio-group.css +1 -1
  25. package/dist/components/vv-radio.css +1 -1
  26. package/dist/components/vv-select.css +1 -1
  27. package/dist/components/vv-skeleton.css +1 -1
  28. package/dist/components/vv-tab.css +1 -1
  29. package/dist/components/vv-table.css +1 -1
  30. package/dist/components/vv-text.css +1 -1
  31. package/dist/components/vv-textarea.css +1 -1
  32. package/dist/components/vv-tooltip.css +1 -1
  33. package/dist/components.css +1 -1
  34. package/dist/export.css +1 -1
  35. package/dist/props/background.css +1 -1
  36. package/dist/props/borders.css +1 -1
  37. package/dist/props/breakpoints.css +1 -1
  38. package/dist/props/colors.css +1 -1
  39. package/dist/props/effects.css +1 -1
  40. package/dist/props/filters.css +1 -1
  41. package/dist/props/input.css +1 -1
  42. package/dist/props/layout.css +1 -1
  43. package/dist/props/media.css +1 -0
  44. package/dist/props/sizing.css +1 -1
  45. package/dist/props/spacing.css +1 -1
  46. package/dist/props/transitions.css +1 -1
  47. package/dist/props/typography.css +1 -1
  48. package/dist/props.css +1 -1
  49. package/dist/reset.css +1 -1
  50. package/dist/themes/dark/components.css +1 -1
  51. package/dist/themes/dark/props.css +1 -1
  52. package/dist/themes/dark/volver.css +1 -1
  53. package/dist/utilities/backgrounds.css +1 -1
  54. package/dist/utilities/borders.css +1 -1
  55. package/dist/utilities/colors.css +1 -1
  56. package/dist/utilities/effects.css +1 -1
  57. package/dist/utilities/filters.css +1 -1
  58. package/dist/utilities/flexbox.css +1 -1
  59. package/dist/utilities/grid.css +1 -1
  60. package/dist/utilities/interactivity.css +1 -1
  61. package/dist/utilities/layout.css +1 -1
  62. package/dist/utilities/sizing.css +1 -1
  63. package/dist/utilities/spacing.css +1 -1
  64. package/dist/utilities/transforms.css +1 -1
  65. package/dist/utilities/typography.css +1 -1
  66. package/dist/utilities.css +1 -1
  67. package/dist/volver.css +1 -1
  68. package/package.json +24 -24
  69. package/src/components/vv-radio.scss +13 -14
  70. package/src/settings/components/_vv-accordion.scss +2 -2
  71. package/src/tools/mixin-modules/_theme.scss +54 -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.24-beta.2",
27
+ "version": "0.1.24-beta.3",
28
28
  "engines": {
29
29
  "node": ">= 20.x"
30
30
  },
@@ -37,22 +37,22 @@
37
37
  ],
38
38
  "devDependencies": {
39
39
  "@iconify/vue": "^5.0.0",
40
- "@nabla/vite-plugin-eslint": "^2.0.6",
41
- "@types/node": "^25.0.3",
42
- "@vitejs/plugin-vue": "^6.0.3",
43
- "@vueuse/core": "^14.1.0",
40
+ "@nabla/vite-plugin-eslint": "^3.0.0",
41
+ "@types/node": "^25.5.0",
42
+ "@vitejs/plugin-vue": "^6.0.5",
43
+ "@vueuse/core": "^14.2.1",
44
44
  "@vueuse/head": "^2.0.0",
45
45
  "eslint-config-prettier": "^10.1.8",
46
- "eslint-plugin-prettier": "^5.5.4",
47
- "eslint-plugin-vue": "^10.6.2",
48
- "glob": "^13.0.0",
46
+ "eslint-plugin-prettier": "^5.5.5",
47
+ "eslint-plugin-vue": "^10.8.0",
48
+ "glob": "^13.0.6",
49
49
  "icss-utils": "^5.1.0",
50
50
  "markdown-it-anchor": "^9.2.0",
51
51
  "markdown-it-prism": "^3.0.1",
52
- "postcss": "^8.5.6",
53
- "postcss-html": "^1.8.0",
54
- "postcss-preset-env": "^10.6.0",
55
- "prettier": "^3.7.4",
52
+ "postcss": "^8.5.8",
53
+ "postcss-html": "^1.8.1",
54
+ "postcss-preset-env": "^11.2.0",
55
+ "prettier": "^3.8.1",
56
56
  "prism-themes": "^1.9.0",
57
57
  "prismjs": "^1.30.0",
58
58
  "reduce-css-calc": "^2.1.8",
@@ -60,25 +60,25 @@
60
60
  "remark-frontmatter": "^5.0.0",
61
61
  "remark-gfm": "^4.0.1",
62
62
  "remark-lint": "^10.0.1",
63
- "sass-embedded": "^1.97.1",
64
- "stylelint": "^16.26.1",
65
- "stylelint-config-recommended-scss": "^16.0.2",
63
+ "sass-embedded": "^1.98.0",
64
+ "stylelint": "^17.4.0",
65
+ "stylelint-config-recommended-scss": "^17.0.0",
66
66
  "stylelint-config-recommended-vue": "^1.6.1",
67
- "stylelint-config-standard-scss": "^16.0.0",
68
- "unplugin-auto-import": "^20.3.0",
69
- "unplugin-vue-components": "^30.0.0",
70
- "vite": "^7.3.0",
67
+ "stylelint-config-standard-scss": "^17.0.0",
68
+ "unplugin-auto-import": "^21.0.0",
69
+ "unplugin-vue-components": "^31.0.0",
70
+ "vite": "^8.0.0",
71
71
  "vite-plugin-css-export": "^3.0.3",
72
72
  "vite-plugin-handlebars": "^2.0.0",
73
73
  "vite-plugin-markdown": "^2.2.0",
74
- "vite-plugin-pages": "^0.33.2",
75
- "vite-plugin-stylelint": "^6.0.2",
74
+ "vite-plugin-pages": "^0.33.3",
75
+ "vite-plugin-stylelint": "^6.0.4",
76
76
  "vite-plugin-vue-layouts": "^0.11.0",
77
- "vite-ssg": "^28.2.2",
77
+ "vite-ssg": "^28.3.0",
78
78
  "vite-ssg-sitemap": "^0.10.0",
79
- "vue": "^3.5.26",
79
+ "vue": "^3.5.30",
80
80
  "vue-live": "^2.5.4",
81
- "vue-router": "^4.6.4"
81
+ "vue-router": "5.0.2"
82
82
  },
83
83
  "exports": {
84
84
  ".": "./dist/volver.css",
@@ -6,19 +6,18 @@ $component-name: map.get($components-names, vv-radio);
6
6
  $component-map: $vv-radio;
7
7
  $component-selector: '.#{ $component-name}';
8
8
 
9
- @include spread-map-into-bem(
10
- $map: $component-map,
11
- $block: $component-name,
12
- $use-custom-props: $use-custom-props-for-components,
13
- $zero-specificity: $zero-specificity-for-components,
14
- $bps: $breakpoints
15
- );
16
-
17
- @include wrap-with-where(
18
- $selector: '#{$component-selector}:has(> input[type="radio"]:disabled)',
19
- $enabled: $zero-specificity-for-components
20
- ) {
21
- @extend %#{$component-name}--disabled !optional;
22
- }
9
+ @include spread-map-into-bem(
10
+ $map: $component-map,
11
+ $block: $component-name,
12
+ $use-custom-props: $use-custom-props-for-components,
13
+ $zero-specificity: $zero-specificity-for-components,
14
+ $bps: $breakpoints
15
+ );
23
16
 
17
+ @include wrap-with-where(
18
+ $selector: '#{$component-selector}:has(> input[type="radio"]:disabled)',
19
+ $enabled: $zero-specificity-for-components
20
+ ) {
21
+ @extend %#{$component-name}--disabled !optional;
22
+ }
24
23
  }
@@ -13,7 +13,7 @@ $vv-accordion: (
13
13
  background-color: var(--color-surface-2),
14
14
  pseudo: (
15
15
  before: (
16
- rotate: 0,
16
+ rotate: 0deg,
17
17
  ),
18
18
  ),
19
19
  ),
@@ -105,7 +105,7 @@ $vv-accordion: (
105
105
  before: (
106
106
  left: auto,
107
107
  [right]: var(--accordion-padding-right),
108
- rotate: 0,
108
+ rotate: 0deg,
109
109
  ),
110
110
  ),
111
111
  ),
@@ -346,6 +346,60 @@
346
346
  $ignore: (modifier, element, state, breakpoint)
347
347
  );
348
348
  }
349
+ } @else if $state-name == 'selected' {
350
+ @include wrap-with-where($selector: '#{$base}[aria-selected="true"]', $enabled: $zero-specificity) {
351
+ @include spread-map-into-attrs(
352
+ $map: $state-value,
353
+ $prefix: $prefix,
354
+ $use-custom-props: false,
355
+ $ignore: (modifier, element, state, breakpoint)
356
+ );
357
+ }
358
+ } @else if $state-name == 'pressed' {
359
+ @include wrap-with-where($selector: '#{$base}[aria-pressed="true"]', $enabled: $zero-specificity) {
360
+ @include spread-map-into-attrs(
361
+ $map: $state-value,
362
+ $prefix: $prefix,
363
+ $use-custom-props: false,
364
+ $ignore: (modifier, element, state, breakpoint)
365
+ );
366
+ }
367
+ } @else if $state-name == 'checked-within' {
368
+ @include wrap-with-where($selector: '#{$base}:has(input:checked)', $enabled: $zero-specificity) {
369
+ @include spread-map-into-attrs(
370
+ $map: $state-value,
371
+ $prefix: $prefix,
372
+ $use-custom-props: false,
373
+ $ignore: (modifier, element, state, breakpoint)
374
+ );
375
+ }
376
+ } @else if $state-name == 'open' {
377
+ @include wrap-with-where($selector: '#{$base}[open]', $enabled: $zero-specificity) {
378
+ @include spread-map-into-attrs(
379
+ $map: $state-value,
380
+ $prefix: $prefix,
381
+ $use-custom-props: false,
382
+ $ignore: (modifier, element, state, breakpoint)
383
+ );
384
+ }
385
+ } @else if $state-name == 'close' {
386
+ @include wrap-with-where($selector: '#{$base}:not([open])', $enabled: $zero-specificity) {
387
+ @include spread-map-into-attrs(
388
+ $map: $state-value,
389
+ $prefix: $prefix,
390
+ $use-custom-props: false,
391
+ $ignore: (modifier, element, state, breakpoint)
392
+ );
393
+ }
394
+ } @else if $state-name == 'dirty' {
395
+ @include wrap-with-where($selector: '#{$base}:not(:has(*:placeholder-shown))', $enabled: $zero-specificity) {
396
+ @include spread-map-into-attrs(
397
+ $map: $state-value,
398
+ $prefix: $prefix,
399
+ $use-custom-props: false,
400
+ $ignore: (modifier, element, state, breakpoint)
401
+ );
402
+ }
349
403
  } @else if $state-name != 'current' {
350
404
  @include wrap-with-where($selector: '#{$base}:not([disabled]):#{$state-name}', $enabled: $zero-specificity) {
351
405
  @include spread-map-into-attrs(