@volverjs/style 0.1.12-beta.19 → 0.1.12-beta.20

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 (44) hide show
  1. package/dist/components/vv-accordion-group.css +1 -1
  2. package/dist/components/vv-accordion.css +1 -1
  3. package/dist/components/vv-alert-group.css +1 -1
  4. package/dist/components/vv-alert.css +1 -1
  5. package/dist/components/vv-avatar-group.css +1 -1
  6. package/dist/components/vv-avatar.css +1 -1
  7. package/dist/components/vv-badge.css +1 -1
  8. package/dist/components/vv-breadcrumb.css +1 -1
  9. package/dist/components/vv-button-group.css +1 -1
  10. package/dist/components/vv-button.css +1 -1
  11. package/dist/components/vv-card.css +1 -1
  12. package/dist/components/vv-checkbox-group.css +1 -1
  13. package/dist/components/vv-checkbox.css +1 -1
  14. package/dist/components/vv-dialog.css +1 -1
  15. package/dist/components/vv-dropdown-action.css +1 -1
  16. package/dist/components/vv-dropdown-optgroup.css +1 -1
  17. package/dist/components/vv-dropdown-option.css +1 -1
  18. package/dist/components/vv-dropdown.css +1 -1
  19. package/dist/components/vv-input-file.css +1 -1
  20. package/dist/components/vv-input-text.css +1 -1
  21. package/dist/components/vv-nav.css +1 -1
  22. package/dist/components/vv-progress.css +1 -1
  23. package/dist/components/vv-radio-group.css +1 -1
  24. package/dist/components/vv-radio.css +1 -1
  25. package/dist/components/vv-select.css +1 -1
  26. package/dist/components/vv-skeleton.css +1 -1
  27. package/dist/components/vv-tab.css +1 -1
  28. package/dist/components/vv-table.css +1 -1
  29. package/dist/components/vv-text.css +1 -1
  30. package/dist/components/vv-textarea.css +1 -1
  31. package/dist/components/vv-tooltip.css +1 -1
  32. package/dist/components.css +1 -1
  33. package/dist/export.css +1 -1
  34. package/dist/utilities/interactivity.css +1 -1
  35. package/dist/utilities/typography.css +1 -1
  36. package/dist/utilities.css +1 -1
  37. package/dist/volver.css +1 -1
  38. package/package.json +15 -15
  39. package/src/_preflight.scss +18 -1
  40. package/src/export.scss +6 -6
  41. package/src/settings/_interactivity.scss +14 -0
  42. package/src/settings/_typography.scss +9 -1
  43. package/src/tools/_mixins.scss +11 -3
  44. package/src/utilities/interactivity.scss +13 -18
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.19",
27
+ "version": "0.1.12-beta.20",
28
28
  "engines": {
29
29
  "node": ">= 12.x"
30
30
  },
@@ -37,19 +37,19 @@
37
37
  ],
38
38
  "devDependencies": {
39
39
  "@iconify/vue": "^4.1.2",
40
- "@vitejs/plugin-vue": "^5.0.5",
41
- "@vueuse/core": "^10.11.0",
40
+ "@vitejs/plugin-vue": "^5.1.3",
41
+ "@vueuse/core": "^11.0.3",
42
42
  "@vueuse/head": "^2.0.0",
43
43
  "eslint-config-prettier": "^9.1.0",
44
44
  "eslint-plugin-vue": "^9.27.0",
45
45
  "glob": "^11.0.0",
46
46
  "icss-utils": "^5.1.0",
47
- "markdown-it-anchor": "^9.0.1",
47
+ "markdown-it-anchor": "^9.1.0",
48
48
  "markdown-it-prism": "^2.3.0",
49
- "postcss": "^8.4.39",
49
+ "postcss": "^8.4.41",
50
50
  "postcss-html": "^1.7.0",
51
- "postcss-preset-env": "^9.6.0",
52
- "prettier": "^3.3.2",
51
+ "postcss-preset-env": "^10.0.2",
52
+ "prettier": "^3.3.3",
53
53
  "prism-themes": "^1.9.0",
54
54
  "prismjs": "^1.29.0",
55
55
  "reduce-css-calc": "^2.1.8",
@@ -57,14 +57,14 @@
57
57
  "remark-frontmatter": "^5.0.0",
58
58
  "remark-gfm": "^4.0.0",
59
59
  "remark-lint": "^10.0.0",
60
- "sass": "^1.77.7",
61
- "stylelint": "^16.6.1",
60
+ "sass": "^1.77.8",
61
+ "stylelint": "^16.9.0",
62
62
  "stylelint-config-recommended-scss": "^14.1.0",
63
63
  "stylelint-config-recommended-vue": "^1.5.0",
64
64
  "stylelint-config-standard-scss": "^13.1.0",
65
- "unplugin-auto-import": "^0.17.6",
66
- "unplugin-vue-components": "^0.27.2",
67
- "vite": "^5.3.3",
65
+ "unplugin-auto-import": "^0.18.2",
66
+ "unplugin-vue-components": "^0.27.4",
67
+ "vite": "^5.4.2",
68
68
  "vite-plugin-css-export": "^3.0.0",
69
69
  "vite-plugin-eslint": "^1.8.1",
70
70
  "vite-plugin-handlebars": "^2.0.0",
@@ -73,10 +73,10 @@
73
73
  "vite-plugin-stylelint": "^5.3.1",
74
74
  "vite-plugin-vue-layouts": "^0.11.0",
75
75
  "vite-ssg": "^0.23.8",
76
- "vite-ssg-sitemap": "^0.7.1",
77
- "vue": "^3.4.31",
76
+ "vite-ssg-sitemap": "^0.8.1",
77
+ "vue": "^3.4.38",
78
78
  "vue-live": "^2.5.4",
79
- "vue-router": "^4.4.0"
79
+ "vue-router": "^4.4.3"
80
80
  },
81
81
  "exports": {
82
82
  ".": "./dist/volver.css",
@@ -55,10 +55,26 @@
55
55
  @extend %list-disc !optional;
56
56
  }
57
57
 
58
- &:where(ol) {
58
+ &:where(ol, ol[type='1']) {
59
59
  @extend %list-decimal !optional;
60
60
  }
61
61
 
62
+ &:where(ol[type='a']) {
63
+ @extend %list-lower-latin !optional;
64
+ }
65
+
66
+ &:where(ol[type='A']) {
67
+ @extend %list-upper-latin !optional;
68
+ }
69
+
70
+ &:where(ol[type='i']) {
71
+ @extend %list-lower-roman !optional;
72
+ }
73
+
74
+ &:where(ol[type='I']) {
75
+ @extend %list-upper-roman !optional;
76
+ }
77
+
62
78
  &:where(li > p) {
63
79
  @extend %inline !optional;
64
80
  }
@@ -90,6 +106,7 @@
90
106
  &:where(abbr) {
91
107
  @extend %underline !optional;
92
108
  @extend %decoration-dotted !optional;
109
+ @extend %cursor-help !optional;
93
110
  }
94
111
 
95
112
  &:where(code) {
package/src/export.scss CHANGED
@@ -15,9 +15,9 @@
15
15
  @each $subKey, $subValue in $value {
16
16
  @if meta.type-of($value) not 'map' {
17
17
  @if not
18
- str-index($subKey, 'hue') and not
19
- str-index($subKey, 'saturation') and not
20
- str-index($subKey, 'lightness')
18
+ string.index($subKey, 'hue') and not
19
+ string.index($subKey, 'saturation') and not
20
+ string.index($subKey, 'lightness')
21
21
  {
22
22
  @if '' + $key == $subKey {
23
23
  #{'colors__' + $key}: $subValue;
@@ -39,9 +39,9 @@
39
39
  @each $subKey, $subValue in $value {
40
40
  @if meta.type-of($value) not 'map' {
41
41
  @if not
42
- str-index($subKey, 'hue') and not
43
- str-index($subKey, 'saturation') and not
44
- str-index($subKey, 'lightness')
42
+ string.index($subKey, 'hue') and not
43
+ string.index($subKey, 'saturation') and not
44
+ string.index($subKey, 'lightness')
45
45
  {
46
46
  @if '' + $key == $subKey {
47
47
  #{'dark-colors__' + $key}: $subValue;
@@ -37,3 +37,17 @@ $cursor: (
37
37
  zoom-in: zoom-in,
38
38
  zoom-out: zoom-out,
39
39
  ) !default;
40
+
41
+ // pointer events
42
+ $pointer-events: (
43
+ none: none,
44
+ auto: auto,
45
+ ) !default;
46
+
47
+ // user select
48
+ $user-select: (
49
+ none: none,
50
+ text: text,
51
+ all: all,
52
+ auto: auto,
53
+ ) !default;
@@ -114,7 +114,15 @@ $font-variant-numeric: (
114
114
  ) !default;
115
115
 
116
116
  // list-style-type
117
- $list-style-type: (none, disc, decimal) !default;
117
+ $list-style-type: (
118
+ none,
119
+ disc,
120
+ decimal,
121
+ lower-latin,
122
+ upper-latin,
123
+ lower-roman,
124
+ upper-roman
125
+ ) !default;
118
126
 
119
127
  // list-style-position
120
128
  $list-style-position: (inside, outside) !default;
@@ -978,9 +978,15 @@
978
978
  $prop-to-replace-with: #{$prop-to-replace-with}-#{$key};
979
979
 
980
980
  @if map.get($original, $key) {
981
- #{$prop-to-replace}: var(#{$prop-to-replace-with});
981
+ & {
982
+ #{$prop-to-replace}: var(
983
+ #{$prop-to-replace-with}
984
+ );
985
+ }
982
986
  } @else {
983
- #{$key}: var(#{$prop-to-replace-with});
987
+ & {
988
+ #{$key}: var(#{$prop-to-replace-with});
989
+ }
984
990
  }
985
991
  } @else {
986
992
  @if string.slice(meta.inspect($key), 1, 1) == '[' {
@@ -991,7 +997,9 @@
991
997
  );
992
998
  }
993
999
 
994
- #{$key}: $value;
1000
+ & {
1001
+ #{$key}: $value;
1002
+ }
995
1003
  }
996
1004
  }
997
1005
  }
@@ -10,22 +10,17 @@
10
10
  );
11
11
 
12
12
  // pointer events
13
- %pointer-events-none {
14
- pointer-events: none;
15
- }
16
- @include wrap-with-where(
17
- $selector: '.pointer-events-none',
18
- $enabled: $zero-specificity-for-utilities
19
- ) {
20
- @extend %pointer-events-none;
21
- }
13
+ @include spread-map-into-utilities(
14
+ $map: $pointer-events,
15
+ $class: pointer-events,
16
+ $attribute: pointer-events,
17
+ $zero-specificity: $zero-specificity-for-utilities
18
+ );
22
19
 
23
- %pointer-events-auto {
24
- pointer-events: auto;
25
- }
26
- @include wrap-with-where(
27
- $selector: '.pointer-events-auto',
28
- $enabled: $zero-specificity-for-utilities
29
- ) {
30
- @extend %pointer-events-auto;
31
- }
20
+ // user select
21
+ @include spread-map-into-utilities(
22
+ $map: $user-select,
23
+ $class: user-select,
24
+ $attribute: user-select,
25
+ $zero-specificity: $zero-specificity-for-utilities
26
+ );