@volverjs/style 0.1.12-beta.15 → 0.1.12-beta.17

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 (37) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/dist/base.css +1 -1
  4. package/dist/components/vv-accordion-group.css +1 -1
  5. package/dist/components/vv-accordion.css +1 -1
  6. package/dist/components/vv-alert-group.css +1 -1
  7. package/dist/components/vv-alert.css +1 -1
  8. package/dist/components/vv-avatar.css +1 -1
  9. package/dist/components/vv-breadcrumb.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-option.css +1 -1
  16. package/dist/components/vv-dropdown.css +1 -1
  17. package/dist/components/vv-input-file.css +1 -1
  18. package/dist/components/vv-input-text.css +1 -1
  19. package/dist/components/vv-nav.css +1 -1
  20. package/dist/components/vv-radio-group.css +1 -1
  21. package/dist/components/vv-radio.css +1 -1
  22. package/dist/components/vv-select.css +1 -1
  23. package/dist/components/vv-table.css +1 -1
  24. package/dist/components/vv-textarea.css +1 -1
  25. package/dist/components/vv-tooltip.css +1 -1
  26. package/dist/components.css +1 -1
  27. package/dist/props/transitions.css +1 -1
  28. package/dist/props.css +1 -1
  29. package/dist/volver.css +1 -1
  30. package/package.json +26 -27
  31. package/src/components/vv-tooltip.scss +1 -1
  32. package/src/settings/components/_vv-avatar.scss +7 -7
  33. package/src/settings/components/_vv-button.scss +1 -0
  34. package/src/settings/components/_vv-input-file.scss +5 -0
  35. package/src/settings/components/_vv-textarea.scss +1 -0
  36. package/src/tools/_mixins.scss +20 -1
  37. package/src/utilities/typography.scss +11 -0
package/package.json CHANGED
@@ -24,11 +24,10 @@
24
24
  "bugs": {
25
25
  "url": "https://github.com/volverjs/style/issues"
26
26
  },
27
- "version": "0.1.12-beta.15",
27
+ "version": "0.1.12-beta.17",
28
28
  "engines": {
29
29
  "node": ">= 12.x"
30
30
  },
31
- "packageManager": "pnpm@7.8.0",
32
31
  "type": "module",
33
32
  "main": "dist/volver.css",
34
33
  "style": "dist/volver.css",
@@ -37,47 +36,47 @@
37
36
  "dist/*"
38
37
  ],
39
38
  "devDependencies": {
40
- "@iconify/vue": "^4.1.1",
41
- "@vitejs/plugin-vue": "^5.0.0",
42
- "@vueuse/core": "^10.7.1",
39
+ "@iconify/vue": "^4.1.2",
40
+ "@vitejs/plugin-vue": "^5.0.5",
41
+ "@vueuse/core": "^10.11.0",
43
42
  "@vueuse/head": "^2.0.0",
44
- "eslint": "^8.56.0",
45
43
  "eslint-config-prettier": "^9.1.0",
46
- "eslint-plugin-vue": "^9.19.2",
47
- "glob": "^10.3.10",
44
+ "eslint-plugin-vue": "^9.26.0",
45
+ "glob": "^10.4.2",
48
46
  "icss-utils": "^5.1.0",
49
- "markdown-it-anchor": "^8.6.7",
47
+ "markdown-it-anchor": "^9.0.1",
50
48
  "markdown-it-prism": "^2.3.0",
51
- "postcss": "^8.4.32",
52
- "postcss-html": "^1.5.0",
53
- "postcss-preset-env": "^9.3.0",
49
+ "postcss": "^8.4.39",
50
+ "postcss-html": "^1.7.0",
51
+ "postcss-preset-env": "^9.5.15",
52
+ "prettier": "^3.3.2",
54
53
  "prism-themes": "^1.9.0",
55
54
  "prismjs": "^1.29.0",
56
55
  "reduce-css-calc": "^2.1.8",
57
56
  "remark": "^15.0.1",
58
57
  "remark-frontmatter": "^5.0.0",
59
58
  "remark-gfm": "^4.0.0",
60
- "remark-lint": "^9.1.2",
61
- "sass": "^1.69.6",
62
- "stylelint": "^16.1.0",
59
+ "remark-lint": "^10.0.0",
60
+ "sass": "^1.77.6",
61
+ "stylelint": "^16.6.1",
63
62
  "stylelint-config-recommended-scss": "^14.0.0",
64
63
  "stylelint-config-recommended-vue": "^1.5.0",
65
- "stylelint-config-standard-scss": "^12.0.0",
66
- "unplugin-auto-import": "^0.17.3",
67
- "unplugin-vue-components": "^0.26.0",
68
- "vite": "^5.0.10",
69
- "vite-plugin-css-export": "^2.0.0",
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.2",
68
+ "vite-plugin-css-export": "^3.0.0",
70
69
  "vite-plugin-eslint": "^1.8.1",
71
- "vite-plugin-handlebars": "^1.6.0",
72
- "vite-plugin-markdown": "^2.1.0",
73
- "vite-plugin-pages": "^0.32.0",
70
+ "vite-plugin-handlebars": "^2.0.0",
71
+ "vite-plugin-markdown": "^2.2.0",
72
+ "vite-plugin-pages": "^0.32.3",
74
73
  "vite-plugin-stylelint": "^5.3.1",
75
74
  "vite-plugin-vue-layouts": "^0.11.0",
76
- "vite-ssg": "^0.23.6",
77
- "vite-ssg-sitemap": "^0.6.1",
78
- "vue": "^3.4.0",
75
+ "vite-ssg": "^0.23.7",
76
+ "vite-ssg-sitemap": "^0.7.1",
77
+ "vue": "^3.4.31",
79
78
  "vue-live": "^2.5.4",
80
- "vue-router": "^4.2.5"
79
+ "vue-router": "^4.4.0"
81
80
  },
82
81
  "exports": {
83
82
  ".": "./dist/volver.css",
@@ -14,7 +14,7 @@ $component-selector: '.#{ $component-name}';
14
14
  );
15
15
 
16
16
  @include wrap-with-where(
17
- $selector: '*:has(#{$component-selector})',
17
+ $selector: '*:has(> #{$component-selector})',
18
18
  $enabled: $zero-specificity-for-components
19
19
  ) {
20
20
  position: relative;
@@ -65,7 +65,7 @@ $vv-avatar: (
65
65
  ),
66
66
  ),
67
67
  bordered: (
68
- border-color: var(--color-brand-darken-3),
68
+ border-color: var(--color-brand-lighten-3),
69
69
  border-width: var(--border),
70
70
  border-style: solid,
71
71
  ),
@@ -84,24 +84,24 @@ $vv-avatar: (
84
84
  ),
85
85
  surface: (
86
86
  background-color: var(--color-surface-2),
87
- border-color: var(--color-surface-3),
87
+ border-color: var(--color-surface-5),
88
88
  color: var(--color-word-2),
89
89
  ),
90
90
  danger: (
91
91
  background-color: var(--color-danger),
92
- border-color: var(--color-danger-darken-3),
92
+ border-color: var(--color-danger-lighten-3),
93
93
  ),
94
94
  success: (
95
95
  background-color: var(--color-success),
96
- border-color: var(--color-success-darken-3),
96
+ border-color: var(--color-success-lighten-3),
97
97
  ),
98
98
  warning: (
99
99
  background-color: var(--color-warning-darken-5),
100
- border-color: var(--color-warning-darken-3),
100
+ border-color: var(--color-warning-darken-2),
101
101
  ),
102
102
  info: (
103
103
  background-color: var(--color-info-darken-5),
104
- border-color: var(--color-info-darken-3),
104
+ border-color: var(--color-info-darken-2),
105
105
  ),
106
106
  accent: (
107
107
  background-color: var(--color-accent),
@@ -109,7 +109,7 @@ $vv-avatar: (
109
109
  ),
110
110
  gray: (
111
111
  background-color: var(--color-gray-darken-1),
112
- border-color: var(--color-gray-darken-3),
112
+ border-color: var(--color-gray-lighten-2),
113
113
  ),
114
114
  ring: (
115
115
  color: var(--color-brand-darken-3),
@@ -18,6 +18,7 @@ $vv-button: (
18
18
  transition: var(--transition-all),
19
19
  will-change: all,
20
20
  min-width: 0,
21
+ pointer-events: auto,
21
22
  state: (
22
23
  focus-visible: (
23
24
  outline-offset: var(--spacing-4),
@@ -444,6 +444,11 @@ $vv-input-file: (
444
444
  preview: (
445
445
  border-radius: var(--rounded-full),
446
446
  ),
447
+ drop-area-action: (
448
+ position: relative,
449
+ top: auto,
450
+ right: auto,
451
+ ),
447
452
  ),
448
453
  ),
449
454
  ),
@@ -82,6 +82,7 @@ $vv-textarea: (
82
82
  var(--input-spacing-bottom) var(--input-spacing-left),
83
83
  overflow: auto,
84
84
  text-overflow: var(--input-text-overflow),
85
+ min-height: var(--input-min-height),
85
86
  pseudo: (
86
87
  placeholder: (
87
88
  color: var(--input-placeholder-color),
@@ -11,6 +11,7 @@
11
11
  @mixin assert-ascending($map, $map-name) {
12
12
  $prev-key: null;
13
13
  $prev-num: null;
14
+
14
15
  @each $key, $num in $map {
15
16
  @if not $prev-num or unit($num) == '%' {
16
17
  // Do nothing
@@ -30,6 +31,7 @@
30
31
  @mixin assert-starts-at-zero($map, $map-name: '$grid-breakpoints') {
31
32
  $values: map.values($map);
32
33
  $first-value: list.nth($values, 1);
34
+
33
35
  @if $first-value != 0 {
34
36
  @warn "First breakpoint in #{$map-name} must start at 0, but starts at #{$first-value}.";
35
37
  }
@@ -39,6 +41,7 @@
39
41
  @mixin spread-map-into-props($map: (), $prefix: '', $old-key: '', $deep: true) {
40
42
  @each $key, $value in $map {
41
43
  $name: meta.inspect($key);
44
+
42
45
  @if $name == meta.inspect($old-key) {
43
46
  $name: $prefix;
44
47
  } @else if $prefix != '' and meta.inspect($prefix) != meta.inspect($key)
@@ -87,10 +90,12 @@
87
90
  @if $breakpoint-value > 0 {
88
91
  $prefix: $breakpoint + '\\:';
89
92
  }
93
+
90
94
  @each $key, $value in $map {
91
95
  @if $name != '' and meta.inspect($key) != meta.inspect($name) {
92
96
  $key: #{$name}-#{meta.inspect($key)};
93
97
  }
98
+
94
99
  @if type-of($value) == 'map' and $deep {
95
100
  @include spread-map-into-utilities(
96
101
  $map: $value,
@@ -146,6 +151,7 @@
146
151
  @if type-of($attribute) != 'list' {
147
152
  $attribute: ($attribute);
148
153
  }
154
+
149
155
  @each $attr in $attribute {
150
156
  @if $default {
151
157
  @if $var != '' {
@@ -159,6 +165,7 @@
159
165
  }
160
166
  }
161
167
  }
168
+
162
169
  @include wrap-with-where(
163
170
  $selector: '.' + $prefix + $class-name,
164
171
  $enabled: $zero-specificity
@@ -188,9 +195,11 @@
188
195
  @if not $original {
189
196
  $original: $map;
190
197
  }
198
+
191
199
  @if not $block {
192
200
  $block: &;
193
201
  }
202
+
194
203
  @if type-of(map.get($map, $key)) == 'map' {
195
204
  @each $item, $value in map.get($map, $key) {
196
205
  $selector: $block + '--' + $item;
@@ -306,10 +315,11 @@
306
315
 
307
316
  @if $modifier {
308
317
  $selectors: ();
318
+
309
319
  @each $item in selector.parse($modifier) {
310
320
  $selectors: list.join(
311
321
  $selectors,
312
- selector.nest($item, $selector)
322
+ selector.nest('#{$item} > ', $selector)
313
323
  );
314
324
  }
315
325
 
@@ -326,6 +336,7 @@
326
336
  @if $alias {
327
337
  @if $modifier {
328
338
  $aliases: ();
339
+
329
340
  @each $item in selector.parse($modifier) {
330
341
  $aliases: list.join(
331
342
  $aliases,
@@ -685,9 +696,11 @@
685
696
  @if not $original {
686
697
  $original: $map;
687
698
  }
699
+
688
700
  @if not $block {
689
701
  $block: &;
690
702
  }
703
+
691
704
  @if type-of(map.get($map, $key)) == 'map' {
692
705
  @each $breakpoint, $value in map.get($map, $key) {
693
706
  @if string.index($breakpoint, '-') {
@@ -712,6 +725,7 @@
712
725
  }
713
726
  }
714
727
  }
728
+
715
729
  @if $operator == 'down' {
716
730
  @include wrap-with-where(
717
731
  $selector: '#{$modifier}#{$block}',
@@ -729,6 +743,7 @@
729
743
  }
730
744
  }
731
745
  }
746
+
732
747
  @if map.has-key($bps, $operator) {
733
748
  @include wrap-with-where(
734
749
  $selector: '#{$modifier}#{$block}',
@@ -831,6 +846,7 @@
831
846
  @if $postfix != '' {
832
847
  $key: #{$postfix}-#{$key};
833
848
  }
849
+
834
850
  @if $key == 'pseudo' {
835
851
  @each $pseudo-element, $pseudo-map in $value {
836
852
  @if type-of($pseudo-map) == 'map' {
@@ -971,6 +987,7 @@
971
987
  @if type-of($selector) == 'map' or type-of($selector) == 'list' {
972
988
  $selector: #{$selector};
973
989
  }
990
+
974
991
  @if $enabled {
975
992
  $selector: ':where(#{unquote($selector)})';
976
993
  }
@@ -1028,6 +1045,7 @@
1028
1045
  // content
1029
1046
  @content;
1030
1047
  }
1048
+
1031
1049
  @include wrap-with-where(
1032
1050
  $selector: $selector,
1033
1051
  $enabled: $zero-specificity
@@ -1131,6 +1149,7 @@
1131
1149
  @if not $block {
1132
1150
  $block: &;
1133
1151
  }
1152
+
1134
1153
  @if type-of(map.get($map, $key)) == 'map' {
1135
1154
  @each $transition, $states in map.get($map, $key) {
1136
1155
  @each $state, $value in $states {
@@ -34,6 +34,7 @@
34
34
  %italic {
35
35
  font-style: italic;
36
36
  }
37
+
37
38
  @include wrap-with-where(
38
39
  $selector: '.italic',
39
40
  $enabled: $zero-specificity-for-utilities
@@ -44,6 +45,7 @@
44
45
  %non-italic {
45
46
  font-style: normal;
46
47
  }
48
+
47
49
  @include wrap-with-where(
48
50
  $selector: '.non-italic',
49
51
  $enabled: $zero-specificity-for-utilities
@@ -56,6 +58,7 @@
56
58
  -webkit-font-smoothing: antialiased;
57
59
  -moz-osx-font-smoothing: grayscale;
58
60
  }
61
+
59
62
  @include wrap-with-where(
60
63
  $selector: '.antialiased',
61
64
  $enabled: $zero-specificity-for-utilities
@@ -67,6 +70,7 @@
67
70
  -webkit-font-smoothing: auto;
68
71
  -moz-osx-font-smoothing: auto;
69
72
  }
73
+
70
74
  @include wrap-with-where(
71
75
  $selector: '.subpixel-antialiased',
72
76
  $enabled: $zero-specificity-for-utilities
@@ -168,6 +172,7 @@
168
172
  text-overflow: ellipsis;
169
173
  white-space: nowrap;
170
174
  }
175
+
171
176
  @include wrap-with-where(
172
177
  $selector: '.truncate',
173
178
  $enabled: $zero-specificity-for-utilities
@@ -178,6 +183,7 @@
178
183
  %text-ellipsis {
179
184
  text-overflow: ellipsis;
180
185
  }
186
+
181
187
  @include wrap-with-where(
182
188
  $selector: '.text-ellipsis',
183
189
  $enabled: $zero-specificity-for-utilities
@@ -188,6 +194,7 @@
188
194
  %text-clip {
189
195
  text-overflow: clip;
190
196
  }
197
+
191
198
  @include wrap-with-where(
192
199
  $selector: '.text-clip',
193
200
  $enabled: $zero-specificity-for-utilities
@@ -198,6 +205,7 @@
198
205
  %text-balance {
199
206
  text-wrap: balance;
200
207
  }
208
+
201
209
  @include wrap-with-where(
202
210
  $selector: '.text-balance',
203
211
  $enabled: $zero-specificity-for-utilities
@@ -210,6 +218,7 @@
210
218
  overflow-wrap: normal;
211
219
  word-break: normal;
212
220
  }
221
+
213
222
  @include wrap-with-where(
214
223
  $selector: '.break-normal',
215
224
  $enabled: $zero-specificity-for-utilities
@@ -220,6 +229,7 @@
220
229
  %break-words {
221
230
  overflow-wrap: break-word;
222
231
  }
232
+
223
233
  @include wrap-with-where(
224
234
  $selector: '.break-words',
225
235
  $enabled: $zero-specificity-for-utilities
@@ -230,6 +240,7 @@
230
240
  %break-all {
231
241
  word-break: break-all;
232
242
  }
243
+
233
244
  @include wrap-with-where(
234
245
  $selector: '.break-all',
235
246
  $enabled: $zero-specificity-for-utilities