@volverjs/style 0.1.2-beta.23 → 0.1.2-beta.25

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 (47) hide show
  1. package/README.md +1 -1
  2. package/dist/components/vv-badge.css +1 -1
  3. package/dist/components/vv-button.css +1 -1
  4. package/dist/components/vv-input-text.css +1 -1
  5. package/dist/components/vv-nav.css +1 -1
  6. package/dist/components/vv-table.css +1 -1
  7. package/dist/components/vv-toast.css +1 -1
  8. package/dist/components.css +1 -1
  9. package/dist/utilities/effects.css +1 -1
  10. package/dist/utilities/layout.css +1 -1
  11. package/dist/utilities/transitions.css +1 -1
  12. package/dist/utilities/typography.css +1 -1
  13. package/dist/utilities.css +1 -1
  14. package/dist/volver.css +1 -1
  15. package/package.json +12 -12
  16. package/src/_config.scss +2 -2
  17. package/src/components/vv-accordion.scss +1 -1
  18. package/src/components/vv-alert.scss +1 -1
  19. package/src/components/vv-avatar.scss +1 -1
  20. package/src/components/vv-badge.scss +1 -1
  21. package/src/components/vv-breadcrumb.scss +1 -1
  22. package/src/components/vv-button-group.scss +9 -9
  23. package/src/components/vv-button.scss +2 -2
  24. package/src/components/vv-card.scss +1 -1
  25. package/src/components/vv-dialog.scss +1 -1
  26. package/src/components/vv-dropdown.scss +1 -1
  27. package/src/components/vv-input-checkbox-group.scss +1 -1
  28. package/src/components/vv-input-checkbox.scss +3 -3
  29. package/src/components/vv-input-radio-group.scss +1 -1
  30. package/src/components/vv-input-radio.scss +2 -2
  31. package/src/components/vv-input-text.scss +4 -4
  32. package/src/components/vv-nav.scss +1 -1
  33. package/src/components/vv-progress.scss +1 -1
  34. package/src/components/vv-select.scss +4 -4
  35. package/src/components/vv-tab.scss +1 -1
  36. package/src/components/vv-table.scss +1 -1
  37. package/src/components/vv-text.scss +1 -1
  38. package/src/components/vv-textarea.scss +4 -4
  39. package/src/components/vv-toast.scss +1 -1
  40. package/src/components/vv-tooltip.scss +3 -3
  41. package/src/settings/components/_vv-badge.scss +10 -3
  42. package/src/settings/components/_vv-button.scss +8 -6
  43. package/src/settings/components/_vv-input-text.scss +12 -1
  44. package/src/settings/components/_vv-nav.scss +0 -1
  45. package/src/settings/components/_vv-table.scss +6 -0
  46. package/src/settings/components/_vv-toast.scss +0 -1
  47. package/src/tools/_mixins.scss +9 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volverjs/style",
3
- "version": "0.1.2-beta.23",
3
+ "version": "0.1.2-beta.25",
4
4
  "description": "@volverjs/style is a lightweight responsive CSS utility library to accompany @volverjs/ui and static webpages as well.",
5
5
  "main": "dist/style.css",
6
6
  "style": "dist/style.css",
@@ -155,11 +155,11 @@
155
155
  "devDependencies": {
156
156
  "@iconify/vue": "^4.0.0",
157
157
  "@vitejs/plugin-vue": "^3.2.0",
158
- "@vueuse/core": "^9.5.0",
159
- "@vueuse/head": "^1.0.10",
160
- "eslint": "^8.27.0",
158
+ "@vueuse/core": "^9.6.0",
159
+ "@vueuse/head": "^1.0.18",
160
+ "eslint": "^8.28.0",
161
161
  "eslint-config-prettier": "^8.5.0",
162
- "eslint-plugin-vue": "^9.7.0",
162
+ "eslint-plugin-vue": "^9.8.0",
163
163
  "glob": "^8.0.3",
164
164
  "icss-utils": "^5.1.0",
165
165
  "markdown-it-anchor": "^8.6.5",
@@ -175,20 +175,20 @@
175
175
  "stylelint-config-recommended-scss": "^8.0.0",
176
176
  "stylelint-config-recommended-vue": "^1.4.0",
177
177
  "stylelint-config-standard-scss": "^6.1.0",
178
- "unplugin-auto-import": "^0.11.4",
179
- "unplugin-vue-components": "^0.22.9",
180
- "vite": "^3.2.3",
181
- "vite-plugin-css-export": "^1.1.0",
178
+ "unplugin-auto-import": "^0.11.5",
179
+ "unplugin-vue-components": "^0.22.11",
180
+ "vite": "^3.2.4",
181
+ "vite-plugin-css-export": "^1.2.0",
182
182
  "vite-plugin-eslint": "^1.8.1",
183
183
  "vite-plugin-handlebars": "^1.6.0",
184
184
  "vite-plugin-markdown": "^2.1.0",
185
185
  "vite-plugin-pages": "^0.27.1",
186
- "vite-plugin-stylelint": "^3.0.8",
186
+ "vite-plugin-stylelint": "^3.0.9",
187
187
  "vite-plugin-vue-layouts": "^0.7.0",
188
- "vite-ssg": "^0.21.2",
188
+ "vite-ssg": "^0.22.0",
189
189
  "vite-ssg-sitemap": "^0.4.3",
190
190
  "vue": "^3.2.45",
191
- "vue-live": "^2.1.0",
191
+ "vue-live": "2.1.0",
192
192
  "vue-router": "^4.1.6"
193
193
  },
194
194
  "scripts": {
package/src/_config.scss CHANGED
@@ -1,8 +1,8 @@
1
1
  // use custom props for components
2
2
  $use-custom-props-for-components: true !default;
3
3
 
4
- // enable zero specificity for compoenents
5
- $zero-specificity-for-compoenents: true !default;
4
+ // enable zero specificity for components
5
+ $zero-specificity-for-components: true !default;
6
6
 
7
7
  // enable zero specificity for utilities
8
8
  $zero-specificity-for-utilities: true !default;
@@ -8,6 +8,6 @@ $component-map: $vv-accordion;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -8,6 +8,6 @@ $component-map: $vv-alert;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -8,6 +8,6 @@ $component-map: $vv-avatar;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -8,6 +8,6 @@ $component-map: $vv-badge;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -8,6 +8,6 @@ $component-map: $vv-breadcrumb;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -11,7 +11,7 @@ $button-component-selector: '.' + $button-component-name;
11
11
  $map: $component-map,
12
12
  $block: $component-name,
13
13
  $props: $use-custom-props-for-components,
14
- $zero-specificity: $zero-specificity-for-compoenents,
14
+ $zero-specificity: $zero-specificity-for-components,
15
15
  $bps: $breakpoints
16
16
  );
17
17
 
@@ -23,7 +23,7 @@ $button-component-selector: '.' + $button-component-name;
23
23
  @include wrap-with-where(
24
24
  $selector:
25
25
  '&.active, &#{$button-component-selector}--active, &:active',
26
- $enabled: $zero-specificity-for-compoenents
26
+ $enabled: $zero-specificity-for-components
27
27
  ) {
28
28
  z-index: 1;
29
29
  }
@@ -32,7 +32,7 @@ $button-component-selector: '.' + $button-component-name;
32
32
 
33
33
  @include wrap-with-where(
34
34
  $selector: $button-component-selector,
35
- $enabled: $zero-specificity-for-compoenents
35
+ $enabled: $zero-specificity-for-components
36
36
  ) {
37
37
  flex: 1;
38
38
  }
@@ -49,7 +49,7 @@ $button-component-selector: '.' + $button-component-name;
49
49
  // clear top border-radius for first child
50
50
  @include wrap-with-where(
51
51
  $selector: '&:not(:first-child)',
52
- $enabled: $zero-specificity-for-compoenents
52
+ $enabled: $zero-specificity-for-components
53
53
  ) {
54
54
  border-top-right-radius: 0;
55
55
  border-top-left-radius: 0;
@@ -58,7 +58,7 @@ $button-component-selector: '.' + $button-component-name;
58
58
  // clear bottom border-radius for last child
59
59
  @include wrap-with-where(
60
60
  $selector: '&:not(:last-child)',
61
- $enabled: $zero-specificity-for-compoenents
61
+ $enabled: $zero-specificity-for-components
62
62
  ) {
63
63
  border-bottom-right-radius: 0;
64
64
  border-bottom-left-radius: 0;
@@ -68,7 +68,7 @@ $button-component-selector: '.' + $button-component-name;
68
68
  @if map.get($vv-button, '--button-border-width') {
69
69
  @include wrap-with-where(
70
70
  $selector: '&:not(:last-child, :last-child)',
71
- $enabled: $zero-specificity-for-compoenents
71
+ $enabled: $zero-specificity-for-components
72
72
  ) {
73
73
  margin-block: calc(var(--button-border-width) * -1);
74
74
  }
@@ -82,7 +82,7 @@ $button-component-selector: '.' + $button-component-name;
82
82
  // clear left border-radius for first child
83
83
  @include wrap-with-where(
84
84
  $selector: '&:not(:first-child)',
85
- $enabled: $zero-specificity-for-compoenents
85
+ $enabled: $zero-specificity-for-components
86
86
  ) {
87
87
  border-top-left-radius: 0;
88
88
  border-bottom-left-radius: 0;
@@ -91,7 +91,7 @@ $button-component-selector: '.' + $button-component-name;
91
91
  // clear right border-radius for first child
92
92
  @include wrap-with-where(
93
93
  $selector: '&:not(:last-child)',
94
- $enabled: $zero-specificity-for-compoenents
94
+ $enabled: $zero-specificity-for-components
95
95
  ) {
96
96
  border-top-right-radius: 0;
97
97
  border-bottom-right-radius: 0;
@@ -101,7 +101,7 @@ $button-component-selector: '.' + $button-component-name;
101
101
  @if map.get($vv-button, '--button-border-width') {
102
102
  @include wrap-with-where(
103
103
  $selector: '&:not(:last-child, :last-child)',
104
- $enabled: $zero-specificity-for-compoenents
104
+ $enabled: $zero-specificity-for-components
105
105
  ) {
106
106
  margin-inline: calc(var(--button-border-width) * -1);
107
107
  }
@@ -9,7 +9,7 @@ $component-selector: '.#{ $component-name}';
9
9
  $map: $component-map,
10
10
  $block: $component-name,
11
11
  $props: $use-custom-props-for-components,
12
- $zero-specificity: $zero-specificity-for-compoenents,
12
+ $zero-specificity: $zero-specificity-for-components,
13
13
  $custom-block: true,
14
14
  $bps: $breakpoints
15
15
  ) {
@@ -38,7 +38,7 @@ $component-selector: '.#{ $component-name}';
38
38
 
39
39
  @include wrap-with-where(
40
40
  $selector: $component-selector,
41
- $enabled: $zero-specificity-for-compoenents
41
+ $enabled: $zero-specificity-for-components
42
42
  ) {
43
43
  &:where(a[href], button, input[type='button'], input[type='submit'], input[type='reset']),
44
44
  &::file-selector-button {
@@ -8,6 +8,6 @@ $component-map: $vv-card;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -8,6 +8,6 @@ $component-map: $vv-dialog;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -8,6 +8,6 @@ $component-map: $vv-dropdown;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -8,6 +8,6 @@ $component-map: $vv-input-checkbox-group;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -9,13 +9,13 @@ $component-selector: '.#{ $component-name}';
9
9
  $map: $component-map,
10
10
  $block: $component-name,
11
11
  $props: $use-custom-props-for-components,
12
- $zero-specificity: $zero-specificity-for-compoenents,
12
+ $zero-specificity: $zero-specificity-for-components,
13
13
  $bps: $breakpoints
14
14
  );
15
15
 
16
16
  @include wrap-with-where(
17
17
  $selector: '#{$component-selector}:has(> input[type="checkbox"]:disabled)',
18
- $enabled: $zero-specificity-for-compoenents
18
+ $enabled: $zero-specificity-for-components
19
19
  ) {
20
20
  @extend %#{$component-name}--disabled !optional;
21
21
  }
@@ -23,7 +23,7 @@ $component-selector: '.#{ $component-name}';
23
23
  @include wrap-with-where(
24
24
  $selector:
25
25
  '#{$component-selector}:has(> input[type="checkbox"]:indeterminate)',
26
- $enabled: $zero-specificity-for-compoenents
26
+ $enabled: $zero-specificity-for-components
27
27
  ) {
28
28
  @extend %#{$component-name}--indeterminate !optional;
29
29
  }
@@ -8,6 +8,6 @@ $component-map: $vv-input-radio-group;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -9,13 +9,13 @@ $component-selector: '.#{ $component-name}';
9
9
  $map: $component-map,
10
10
  $block: $component-name,
11
11
  $props: $use-custom-props-for-components,
12
- $zero-specificity: $zero-specificity-for-compoenents,
12
+ $zero-specificity: $zero-specificity-for-components,
13
13
  $bps: $breakpoints
14
14
  );
15
15
 
16
16
  @include wrap-with-where(
17
17
  $selector: '#{$component-selector}:has(> input[type="radio"]:disabled)',
18
- $enabled: $zero-specificity-for-compoenents
18
+ $enabled: $zero-specificity-for-components
19
19
  ) {
20
20
  @extend %#{$component-name}--disabled !optional;
21
21
  }
@@ -9,7 +9,7 @@ $component-selector: '.#{ $component-name}';
9
9
  $map: $component-map,
10
10
  $block: $component-name,
11
11
  $props: $use-custom-props-for-components,
12
- $zero-specificity: $zero-specificity-for-compoenents,
12
+ $zero-specificity: $zero-specificity-for-components,
13
13
  $bps: $breakpoints
14
14
  );
15
15
 
@@ -17,7 +17,7 @@ $component-selector: '.#{ $component-name}';
17
17
  @each $state in ('disabled', 'readonly') {
18
18
  @include wrap-with-where(
19
19
  $selector: '#{$component-selector}:has(input:#{$state})',
20
- $enabled: $zero-specificity-for-compoenents
20
+ $enabled: $zero-specificity-for-components
21
21
  ) {
22
22
  @extend %#{$component-name}--#{$state} !optional;
23
23
  }
@@ -29,7 +29,7 @@ $component-selector: '.#{ $component-name}';
29
29
  @include wrap-with-where(
30
30
  $selector:
31
31
  '#{$component-selector}:has(input:#{$state}) #{$component-selector}__#{$element}',
32
- $enabled: $zero-specificity-for-compoenents
32
+ $enabled: $zero-specificity-for-components
33
33
  ) {
34
34
  @extend %#{$component-name}-state-#{$state}__#{$element}
35
35
  !optional;
@@ -39,7 +39,7 @@ $component-selector: '.#{ $component-name}';
39
39
  @include wrap-with-where(
40
40
  $selector:
41
41
  '#{$component-selector}:has(input:#{$state}) #{$component-selector}__#{$element}:#{$elementState}',
42
- $enabled: $zero-specificity-for-compoenents
42
+ $enabled: $zero-specificity-for-components
43
43
  ) {
44
44
  @extend %#{$component-name}-state-#{$state}-element-#{$element}--#{$elementState}
45
45
  !optional;
@@ -8,6 +8,6 @@ $component-map: $vv-nav;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -8,6 +8,6 @@ $component-map: $vv-progress;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -9,7 +9,7 @@ $component-selector: '.#{ $component-name}';
9
9
  $map: $component-map,
10
10
  $block: $component-name,
11
11
  $props: $use-custom-props-for-components,
12
- $zero-specificity: $zero-specificity-for-compoenents,
12
+ $zero-specificity: $zero-specificity-for-components,
13
13
  $bps: $breakpoints
14
14
  );
15
15
 
@@ -17,7 +17,7 @@ $component-selector: '.#{ $component-name}';
17
17
  @each $state in ('disabled') {
18
18
  @include wrap-with-where(
19
19
  $selector: '#{$component-selector}:has(select:#{$state})',
20
- $enabled: $zero-specificity-for-compoenents
20
+ $enabled: $zero-specificity-for-components
21
21
  ) {
22
22
  @extend %#{$component-name}--#{$state} !optional;
23
23
  }
@@ -29,7 +29,7 @@ $component-selector: '.#{ $component-name}';
29
29
  @include wrap-with-where(
30
30
  $selector:
31
31
  '#{$component-selector}:has(select:#{$state}) #{$component-selector}__#{$element}',
32
- $enabled: $zero-specificity-for-compoenents
32
+ $enabled: $zero-specificity-for-components
33
33
  ) {
34
34
  @extend %#{$component-name}-state-#{$state}__#{$element}
35
35
  !optional;
@@ -39,7 +39,7 @@ $component-selector: '.#{ $component-name}';
39
39
  @include wrap-with-where(
40
40
  $selector:
41
41
  '#{$component-selector}:has(select:#{$state}) #{$component-selector}__#{$element}:#{$elementState}',
42
- $enabled: $zero-specificity-for-compoenents
42
+ $enabled: $zero-specificity-for-components
43
43
  ) {
44
44
  @extend %#{$component-name}-state-#{$state}-element-#{$element}--#{$elementState}
45
45
  !optional;
@@ -8,6 +8,6 @@ $component-map: $vv-tab;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -8,6 +8,6 @@ $component-map: $vv-table;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -8,6 +8,6 @@ $component-map: $vv-text;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -9,7 +9,7 @@ $component-selector: '.#{ $component-name}';
9
9
  $map: $component-map,
10
10
  $block: $component-name,
11
11
  $props: $use-custom-props-for-components,
12
- $zero-specificity: $zero-specificity-for-compoenents,
12
+ $zero-specificity: $zero-specificity-for-components,
13
13
  $bps: $breakpoints
14
14
  );
15
15
 
@@ -17,7 +17,7 @@ $component-selector: '.#{ $component-name}';
17
17
  @each $state in ('disabled', 'readonly') {
18
18
  @include wrap-with-where(
19
19
  $selector: '#{$component-selector}:has(textarea:#{$state})',
20
- $enabled: $zero-specificity-for-compoenents
20
+ $enabled: $zero-specificity-for-components
21
21
  ) {
22
22
  @extend %#{$component-name}--#{$state} !optional;
23
23
  }
@@ -29,7 +29,7 @@ $component-selector: '.#{ $component-name}';
29
29
  @include wrap-with-where(
30
30
  $selector:
31
31
  '#{$component-selector}:has(textarea:#{$state}) #{$component-selector}__#{$element}',
32
- $enabled: $zero-specificity-for-compoenents
32
+ $enabled: $zero-specificity-for-components
33
33
  ) {
34
34
  @extend %#{$component-name}-state-#{$state}__#{$element}
35
35
  !optional;
@@ -39,7 +39,7 @@ $component-selector: '.#{ $component-name}';
39
39
  @include wrap-with-where(
40
40
  $selector:
41
41
  '#{$component-selector}:has(textarea:#{$state}) #{$component-selector}__#{$element}:#{$elementState}',
42
- $enabled: $zero-specificity-for-compoenents
42
+ $enabled: $zero-specificity-for-components
43
43
  ) {
44
44
  @extend %#{$component-name}-state-#{$state}-element-#{$element}--#{$elementState}
45
45
  !optional;
@@ -8,6 +8,6 @@ $component-map: $vv-toast;
8
8
  $map: $component-map,
9
9
  $block: $component-name,
10
10
  $props: $use-custom-props-for-components,
11
- $zero-specificity: $zero-specificity-for-compoenents,
11
+ $zero-specificity: $zero-specificity-for-components,
12
12
  $bps: $breakpoints
13
13
  );
@@ -9,20 +9,20 @@ $component-selector: '.#{ $component-name}';
9
9
  $map: $component-map,
10
10
  $block: $component-name,
11
11
  $props: $use-custom-props-for-components,
12
- $zero-specificity: $zero-specificity-for-compoenents,
12
+ $zero-specificity: $zero-specificity-for-components,
13
13
  $bps: $breakpoints
14
14
  );
15
15
 
16
16
  @include wrap-with-where(
17
17
  $selector: '*:has(#{$component-selector})',
18
- $enabled: $zero-specificity-for-compoenents
18
+ $enabled: $zero-specificity-for-components
19
19
  ) {
20
20
  position: relative;
21
21
  }
22
22
 
23
23
  @include wrap-with-where(
24
24
  $selector: '*:has(> #{$component-selector})',
25
- $enabled: $zero-specificity-for-compoenents
25
+ $enabled: $zero-specificity-for-components
26
26
  ) {
27
27
  &:hover,
28
28
  &:focus-visible,
@@ -10,7 +10,6 @@ $vv-badge: (
10
10
  [border-color]: var(--badge-background-color),
11
11
  border-style: solid,
12
12
  border-radius: 0.5em,
13
- line-height: 2em,
14
13
  min-height: 2em,
15
14
  min-width: 2em,
16
15
  padding: 0 0.5em,
@@ -50,11 +49,19 @@ $vv-badge: (
50
49
  [color]: var(--badge-background-color),
51
50
  ),
52
51
  white: (
53
- --badge-background-color: alpha-color('white', 80%),
52
+ --badge-background-color:
53
+ hsla(
54
+ var(--color-white-hue) var(--color-white-saturation)
55
+ var(--color-white-lightness) / 80%
56
+ ),
54
57
  --badge-color: var(--color-black),
55
58
  ),
56
59
  black: (
57
- --badge-background-color: alpha-color('black', 80%),
60
+ --badge-background-color:
61
+ hsla(
62
+ var(--color-black-hue) var(--color-black-saturation)
63
+ var(--color-black-lightness) / 80%
64
+ ),
58
65
  --badge-color: var(--color-white),
59
66
  ),
60
67
  danger: (
@@ -1,16 +1,17 @@
1
1
  $vv-button: (
2
2
  --button-border-width: var(--border-2),
3
+ --button-line-height: var(--leading-normal),
4
+ [border-width]: var(--button-border-width),
5
+ [line-height]: var(--button-line-height),
3
6
  position: relative,
4
7
  background: var(--color-brand),
5
8
  border-radius: 0.5ch,
6
- [border-width]: var(--button-border-width),
7
9
  border-style: solid,
8
10
  border-color: var(--color-brand),
9
11
  color: var(--color-white),
10
12
  font-family: var(--font-sans),
11
13
  font-weight: var(--font-semibold),
12
14
  gap: 1ch,
13
- line-height: var(--leading-normal),
14
15
  padding-block: 0.75ch,
15
16
  padding-inline: 1.75ch,
16
17
  text-shadow: 0 1px 0 var(--color-gray-darken-5),
@@ -51,6 +52,7 @@ $vv-button: (
51
52
  flex-shrink: 0,
52
53
  stroke-linecap: round,
53
54
  stroke-linejoin: round,
55
+ [min-height]: calc(var(--button-line-height) * 1em),
54
56
  ),
55
57
  label: (
56
58
  white-space: nowrap,
@@ -99,7 +101,7 @@ $vv-button: (
99
101
  background: var(--color-gray-lighten-3),
100
102
  ),
101
103
  selected: (
102
- background: var(--color-gray-lighten-3),
104
+ background: var(--color-gray-lighten-4),
103
105
  ),
104
106
  ),
105
107
  ),
@@ -216,14 +218,14 @@ $vv-button: (
216
218
  ),
217
219
  action: (
218
220
  --button-border-width: var(--border),
219
- font-size: 0.875em,
221
+ --button-line-height: var(--leading-snug),
222
+ font-size: var(--text-14),
220
223
  background: var(--color-surface-1),
221
224
  color: var(--color-word-1),
222
225
  border-color: var(--color-word-5),
223
226
  font-weight: var(--font-normal),
224
227
  padding-inline: 0.75ch,
225
228
  padding-block: 0.5ch,
226
- line-height: var(--leading-snug),
227
229
  text-shadow: none,
228
230
  state: (
229
231
  focus-visible: (
@@ -251,6 +253,7 @@ $vv-button: (
251
253
  ),
252
254
  action-quiet: (
253
255
  --button-border-width: var(--border),
256
+ --button-line-height: var(--leading-snug),
254
257
  font-size: var(--text-14),
255
258
  background: transparent,
256
259
  color: var(--color-word-1),
@@ -258,7 +261,6 @@ $vv-button: (
258
261
  font-weight: var(--font-normal),
259
262
  padding-inline: 0.75ch,
260
263
  padding-block: 0.5ch,
261
- line-height: var(--leading-snug),
262
264
  text-shadow: none,
263
265
  state: (
264
266
  focus-visible: (
@@ -67,6 +67,7 @@ $vv-input-text: (
67
67
  [padding]: var(--input-padding-top) var(--input-padding-right)
68
68
  var(--input-padding-bottom) var(--input-padding-left),
69
69
  min-height: var(--input-min-height),
70
+ min-width: 0,
70
71
  pseudo: (
71
72
  placeholder: (
72
73
  color: var(--input-placeholder-color),
@@ -79,7 +80,11 @@ $vv-input-text: (
79
80
  opacity: 0,
80
81
  ),
81
82
  search-cancel-button: (
82
- display: none,
83
+ position: absolute,
84
+ padding: var(--spacing-sm),
85
+ top: 0,
86
+ right: 0,
87
+ opacity: 0,
83
88
  ),
84
89
  color-swatch: (
85
90
  height: var(--spacing-20),
@@ -91,6 +96,12 @@ $vv-input-text: (
91
96
  inner-spin-button: (
92
97
  display: none,
93
98
  ),
99
+ datetime-edit-fields-wrapper: (
100
+ padding: 0,
101
+ ),
102
+ datetime-edit-day-field: (
103
+ padding: 0,
104
+ ),
94
105
  ),
95
106
  state: (
96
107
  disabled: (
@@ -13,7 +13,6 @@ $vv-nav: (
13
13
  _alias: 'li',
14
14
  ),
15
15
  heading-label: (
16
- _alias: '[aria-hidden="true"]',
17
16
  display: block,
18
17
  font-weight: var(--font-semibold),
19
18
  [padding]: var(--nav-item-padding),
@@ -4,6 +4,10 @@ $vv-table: (
4
4
  border-collapse: collapse,
5
5
  border-color: var(--color-surface-5),
6
6
  element: (
7
+ caption: (
8
+ _alias: 'caption',
9
+ caption-side: bottom,
10
+ ),
7
11
  tr: (
8
12
  _alias: 'tr',
9
13
  border-width: 0 0 1px 0,
@@ -24,12 +28,14 @@ $vv-table: (
24
28
  font-weight: semibold,
25
29
  font-size: var(--text-sm),
26
30
  color: var(--color-word-2),
31
+ vertical-align: middle,
27
32
  [padding]: var(--table-cell-padding),
28
33
  ),
29
34
  td: (
30
35
  _alias: 'td',
31
36
  border-style: solid,
32
37
  font-size: var(--text-xs),
38
+ vertical-align: middle,
33
39
  [padding]: var(--table-cell-padding),
34
40
  ),
35
41
  ),
@@ -93,7 +93,6 @@ $vv-toast: (
93
93
  [animation]: pie-masks var(--toast-pie-animation-duration)
94
94
  steps(1, end) reverse,
95
95
  z-index: 1,
96
- opactiy: 1,
97
96
  ),
98
97
  ),
99
98
  modifier: (