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

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 (106) hide show
  1. package/README.md +16 -15
  2. package/dist/components/vv-badge.css +1 -1
  3. package/dist/components/vv-input-checkbox-group.css +1 -1
  4. package/dist/components/vv-input-checkbox.css +1 -1
  5. package/dist/components/vv-input-radio-group.css +1 -1
  6. package/dist/components/vv-input-radio.css +1 -1
  7. package/dist/components/vv-input-text.css +1 -1
  8. package/dist/components/vv-select.css +1 -1
  9. package/dist/components/vv-textarea.css +1 -1
  10. package/dist/components.css +1 -1
  11. package/dist/export.css +1 -1
  12. package/dist/props/input.css +1 -1
  13. package/dist/props.css +1 -1
  14. package/dist/themes/dark/components.css +1 -1
  15. package/dist/themes/dark/volver.css +1 -1
  16. package/dist/utilities/effects.css +1 -1
  17. package/dist/utilities/sizing.css +1 -1
  18. package/dist/utilities/transitions.css +1 -0
  19. package/dist/utilities.css +1 -1
  20. package/dist/volver.css +1 -1
  21. package/package.json +4 -2
  22. package/src/_context.scss +3 -3
  23. package/src/_preflight.scss +1 -0
  24. package/src/components/index.scss +24 -24
  25. package/src/components/vv-accordion.scss +3 -2
  26. package/src/components/vv-alert.scss +3 -2
  27. package/src/components/vv-avatar.scss +3 -2
  28. package/src/components/vv-badge.scss +3 -2
  29. package/src/components/vv-breadcrumb.scss +3 -2
  30. package/src/components/vv-button-group.scss +3 -2
  31. package/src/components/vv-button.scss +3 -2
  32. package/src/components/vv-card.scss +3 -2
  33. package/src/components/vv-dialog.scss +3 -2
  34. package/src/components/vv-dropdown.scss +3 -2
  35. package/src/components/vv-input-checkbox-group.scss +3 -2
  36. package/src/components/vv-input-checkbox.scss +3 -2
  37. package/src/components/vv-input-radio-group.scss +3 -2
  38. package/src/components/vv-input-radio.scss +3 -2
  39. package/src/components/vv-input-text.scss +3 -2
  40. package/src/components/vv-nav.scss +3 -2
  41. package/src/components/vv-progress.scss +3 -2
  42. package/src/components/vv-select.scss +3 -2
  43. package/src/components/vv-tab.scss +3 -2
  44. package/src/components/vv-table.scss +3 -2
  45. package/src/components/vv-text.scss +3 -2
  46. package/src/components/vv-textarea.scss +3 -2
  47. package/src/components/vv-toast.scss +3 -2
  48. package/src/components/vv-tooltip.scss +3 -2
  49. package/src/export.scss +41 -4
  50. package/src/props/animation.scss +1 -1
  51. package/src/props/background.scss +1 -1
  52. package/src/props/borders.scss +1 -1
  53. package/src/props/colors.scss +1 -1
  54. package/src/props/effects.scss +1 -1
  55. package/src/props/filters.scss +1 -1
  56. package/src/props/index.scss +12 -12
  57. package/src/props/input.scss +1 -1
  58. package/src/props/layout.scss +1 -1
  59. package/src/props/media.scss +1 -1
  60. package/src/props/sizing.scss +1 -1
  61. package/src/props/spacing.scss +2 -2
  62. package/src/props/typography.scss +2 -2
  63. package/src/settings/_background.scss +3 -0
  64. package/src/settings/_breakpoints.scss +2 -0
  65. package/src/settings/_colors.scss +1 -0
  66. package/src/settings/_effects.scss +47 -2
  67. package/src/settings/_index.scss +39 -38
  68. package/src/settings/_input.scss +1 -0
  69. package/src/settings/_transitions.scss +41 -0
  70. package/src/settings/components/_vv-input-checkbox-group.scss +1 -0
  71. package/src/settings/components/_vv-input-checkbox.scss +1 -0
  72. package/src/settings/components/_vv-input-radio-group.scss +2 -0
  73. package/src/settings/components/_vv-input-radio.scss +1 -0
  74. package/src/settings/components/_vv-input-text.scss +1 -0
  75. package/src/settings/components/_vv-select.scss +1 -0
  76. package/src/settings/components/_vv-textarea.scss +1 -0
  77. package/src/themes/dark/_context.scss +4 -4
  78. package/src/themes/dark/components/_vv-button.scss +1 -1
  79. package/src/themes/dark/components/index.scss +1 -2
  80. package/src/themes/dark/props/_background.scss +1 -1
  81. package/src/themes/dark/props/_colors.scss +1 -1
  82. package/src/themes/dark/props/index.scss +2 -2
  83. package/src/themes/dark/settings/_background.scss +3 -0
  84. package/src/themes/dark/settings/_colors.scss +2 -0
  85. package/src/themes/dark/settings/_index.scss +3 -4
  86. package/src/themes/dark/volver.scss +2 -2
  87. package/src/tools/_breakpoints.scss +7 -7
  88. package/src/tools/_index.scss +3 -3
  89. package/src/tools/_mixins.scss +41 -18
  90. package/src/utilities/animation.scss +3 -2
  91. package/src/utilities/backgrounds.scss +15 -8
  92. package/src/utilities/borders.scss +17 -9
  93. package/src/utilities/colors.scss +9 -5
  94. package/src/utilities/effects.scss +23 -5
  95. package/src/utilities/filters.scss +7 -4
  96. package/src/utilities/flexbox.scss +15 -8
  97. package/src/utilities/grid.scss +17 -9
  98. package/src/utilities/index.scss +13 -12
  99. package/src/utilities/layout.scss +26 -14
  100. package/src/utilities/sizing.scss +15 -8
  101. package/src/utilities/spacing.scss +1 -1
  102. package/src/utilities/transitions.scss +30 -0
  103. package/src/utilities/typography.scss +33 -17
  104. package/src/volver.scss +4 -4
  105. package/src/themes/dark/components/_vv-input-checkbox.scss +0 -22
  106. package/src/themes/dark/settings/components/_vv-input-checkbox.scss +0 -26
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @import '../context';
2
+ @use '../context' as *;
3
3
 
4
4
  :where(:host, :root, .theme) {
5
5
  // static
@@ -11,7 +11,7 @@
11
11
  @each $name, $sizes in $spacing-dynamic {
12
12
  @each $breakpoint, $size in $sizes {
13
13
  @if map-has-key($breakpoints, $breakpoint) {
14
- @include media-breakpoint-up($breakpoint) {
14
+ @include media-breakpoint-up($breakpoint, $breakpoints) {
15
15
  $var: $size;
16
16
 
17
17
  // if is a static spacing
@@ -1,4 +1,4 @@
1
- @import '../context';
1
+ @use '../context' as *;
2
2
 
3
3
  :where(:host, :root, .theme) {
4
4
  // font-family
@@ -22,7 +22,7 @@
22
22
  @each $name, $sizes in $font-size-dynamic {
23
23
  @each $breakpoint, $size in $sizes {
24
24
  @if map-has-key($breakpoints, $breakpoint) {
25
- @include media-breakpoint-up($breakpoint) {
25
+ @include media-breakpoint-up($breakpoint, $breakpoints) {
26
26
  $var: $size;
27
27
 
28
28
  // if is a static font-size
@@ -1,3 +1,6 @@
1
+ @use 'colors' as *;
2
+ @use '../tools/functions' as *;
3
+
1
4
  // background-attachment
2
5
  $background-attachment: (fixed, local, scroll) !default;
3
6
 
@@ -1,3 +1,5 @@
1
+ @use '../tools/mixins' as *;
2
+
1
3
  $breakpoints: (
2
4
  xxs: 0,
3
5
  xs: 360px,
@@ -1,5 +1,6 @@
1
1
  @use 'sass:color';
2
2
  @use 'sass:map';
3
+ @use '../tools/functions' as *;
3
4
 
4
5
  // color variables
5
6
  $color-scheme: light !default;
@@ -17,8 +17,33 @@ $box-shadow: (
17
17
  none: '0 0 #0000',
18
18
  ) !default;
19
19
 
20
- // blend-mode
21
- $blend-mode: (
20
+ // opacity
21
+ $opacity: (
22
+ 0: 0,
23
+ 5: 0.05,
24
+ 10: 0.1,
25
+ 15: 0.15,
26
+ 20: 0.2,
27
+ 25: 0.25,
28
+ 30: 0.3,
29
+ 35: 0.35,
30
+ 40: 0.4,
31
+ 45: 0.45,
32
+ 50: 0.5,
33
+ 55: 0.55,
34
+ 60: 0.6,
35
+ 65: 0.65,
36
+ 70: 0.7,
37
+ 75: 0.75,
38
+ 80: 0.8,
39
+ 85: 0.85,
40
+ 90: 0.9,
41
+ 95: 0.95,
42
+ 100: 1,
43
+ ) !default;
44
+
45
+ // mix blend-mode
46
+ $mix-blend-mode: (
22
47
  normal,
23
48
  multiply,
24
49
  screen,
@@ -37,3 +62,23 @@ $blend-mode: (
37
62
  luminosity,
38
63
  plus-lighter
39
64
  ) !default;
65
+
66
+ // background blend-mode
67
+ $background-blend-mode: (
68
+ normal,
69
+ multiply,
70
+ screen,
71
+ overlay,
72
+ darken,
73
+ lighten,
74
+ color-dodge,
75
+ color-burn,
76
+ hard-light,
77
+ soft-light,
78
+ difference,
79
+ exclusion,
80
+ hue,
81
+ saturation,
82
+ color,
83
+ luminosity
84
+ ) !default;
@@ -1,41 +1,42 @@
1
1
  // utilities and custom props
2
- @import 'animation';
3
- @import 'borders';
4
- @import 'breakpoints';
5
- @import 'colors';
6
- @import 'layout';
7
- @import 'filters';
8
- @import 'flexbox';
9
- @import 'grid';
10
- @import 'sizing';
11
- @import 'spacing';
12
- @import 'typography';
13
- @import 'background';
14
- @import 'effects';
15
- @import 'input';
2
+ @forward 'animation';
3
+ @forward 'borders';
4
+ @forward 'breakpoints';
5
+ @forward 'colors';
6
+ @forward 'layout';
7
+ @forward 'filters';
8
+ @forward 'flexbox';
9
+ @forward 'grid';
10
+ @forward 'sizing';
11
+ @forward 'spacing';
12
+ @forward 'typography';
13
+ @forward 'background';
14
+ @forward 'effects';
15
+ @forward 'input';
16
+ @forward 'transitions';
16
17
 
17
18
  // components
18
- @import 'components/vv-accordion';
19
- @import 'components/vv-alert';
20
- @import 'components/vv-badge';
21
- @import 'components/vv-breadcrumb';
22
- @import 'components/vv-button';
23
- @import 'components/vv-button-group';
24
- @import 'components/vv-card';
25
- @import 'components/vv-dialog';
26
- @import 'components/vv-dropdown';
27
- @import 'components/vv-input-checkbox-group';
28
- @import 'components/vv-input-checkbox';
29
- @import 'components/vv-input-radio-group';
30
- @import 'components/vv-input-radio';
31
- @import 'components/vv-avatar';
32
- @import 'components/vv-input-text';
33
- @import 'components/vv-nav';
34
- @import 'components/vv-progress';
35
- @import 'components/vv-select';
36
- @import 'components/vv-tab';
37
- @import 'components/vv-table';
38
- @import 'components/vv-text';
39
- @import 'components/vv-textarea';
40
- @import 'components/vv-toast';
41
- @import 'components/vv-tooltip';
19
+ @forward 'components/vv-accordion';
20
+ @forward 'components/vv-alert';
21
+ @forward 'components/vv-badge';
22
+ @forward 'components/vv-breadcrumb';
23
+ @forward 'components/vv-button';
24
+ @forward 'components/vv-button-group';
25
+ @forward 'components/vv-card';
26
+ @forward 'components/vv-dialog';
27
+ @forward 'components/vv-dropdown';
28
+ @forward 'components/vv-input-checkbox-group';
29
+ @forward 'components/vv-input-checkbox';
30
+ @forward 'components/vv-input-radio-group';
31
+ @forward 'components/vv-input-radio';
32
+ @forward 'components/vv-avatar';
33
+ @forward 'components/vv-input-text';
34
+ @forward 'components/vv-nav';
35
+ @forward 'components/vv-progress';
36
+ @forward 'components/vv-select';
37
+ @forward 'components/vv-tab';
38
+ @forward 'components/vv-table';
39
+ @forward 'components/vv-text';
40
+ @forward 'components/vv-textarea';
41
+ @forward 'components/vv-toast';
42
+ @forward 'components/vv-tooltip';
@@ -12,6 +12,7 @@ $input: (
12
12
  line-height: var(--leading-normal),
13
13
  font-size: var(--text-16),
14
14
  min-height: var(--spacing-50),
15
+ min-width: 0,
15
16
  label: (
16
17
  color: var(--color-word-3),
17
18
  display: block,
@@ -0,0 +1,41 @@
1
+ // transition property
2
+ $transition-property: (
3
+ none: none,
4
+ all: all,
5
+ transition:
6
+ 'color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
7
+ colors:
8
+ 'color, background-color, border-color, text-decoration-color, fill, stroke',
9
+ opacity: opacity,
10
+ shadow: box-shadow,
11
+ transform: transform,
12
+ ) !default;
13
+
14
+ // transition duration and transition delay
15
+ $transition-duration-delay: (
16
+ 75: 75ms,
17
+ 100: 100ms,
18
+ 150: 150ms,
19
+ 200: 200ms,
20
+ 300: 300ms,
21
+ 500: 500ms,
22
+ 700: 700ms,
23
+ 1000: 1000ms,
24
+ ) !default;
25
+
26
+ // transition timing function
27
+ $transition-timing-function: (
28
+ linear: linear,
29
+ in: cubic-bezier(0.4, 0, 1, 1),
30
+ out: cubic-bezier(0, 0, 0.2, 1),
31
+ in-out: cubic-bezier(0.4, 0, 0.2, 1),
32
+ ) !default;
33
+
34
+ // animation
35
+ $animation: (
36
+ none: none,
37
+ spin: spin 1s linear infinite,
38
+ ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite,
39
+ pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite,
40
+ bounce: bounce 1s infinite,
41
+ ) !default;
@@ -2,6 +2,7 @@ $vv-input-checkbox-group: (
2
2
  display: var(--input-display),
3
3
  flex: var(--input-flex),
4
4
  flex-direction: var(--input-flex-direction),
5
+ min-width: var(--input-min-width),
5
6
  element: (
6
7
  legend: (
7
8
  _alias: '> legend',
@@ -8,6 +8,7 @@ $vv-input-checkbox: (
8
8
  color: var(--input-color),
9
9
  font-size: var(--input-font-size),
10
10
  line-height: var(--input-line-height),
11
+ min-width: var(--input-min-width),
11
12
  state: (
12
13
  disabled: (
13
14
  opacity: 0.3,
@@ -1 +1,3 @@
1
+ @use 'vv-input-checkbox-group' as *;
2
+
1
3
  $vv-input-radio-group: $vv-input-checkbox-group !default;
@@ -8,6 +8,7 @@ $vv-input-radio: (
8
8
  color: var(--input-color),
9
9
  font-size: var(--input-font-size),
10
10
  line-height: var(--input-line-height),
11
+ min-width: var(--input-min-width),
11
12
  state: (
12
13
  disabled: (
13
14
  opacity: 0.3,
@@ -5,6 +5,7 @@ $vv-input-text: (
5
5
  margin-bottom: var(--input-gap),
6
6
  font-size: var(--input-font-size),
7
7
  line-height: var(--input-line-height),
8
+ min-width: var(--input-min-width),
8
9
  element: (
9
10
  label: (
10
11
  _alias: '> label',
@@ -6,6 +6,7 @@ $vv-select: (
6
6
  font-size: var(--input-font-size),
7
7
  line-height: var(--input-line-height),
8
8
  user-select: none,
9
+ min-width: var(--input-min-width),
9
10
  element: (
10
11
  label: (
11
12
  _alias: '> label',
@@ -5,6 +5,7 @@ $vv-textarea: (
5
5
  margin-bottom: var(--input-gap),
6
6
  font-size: var(--input-font-size),
7
7
  line-height: var(--input-line-height),
8
+ min-width: var(--input-min-width),
8
9
  element: (
9
10
  label: (
10
11
  _alias: '> label',
@@ -1,11 +1,11 @@
1
1
  // configuration
2
- @import '../../config';
2
+ @forward '../../config';
3
3
 
4
4
  // tools (mixins, functions, recipes)
5
- @import '../../tools';
5
+ @forward '../../tools';
6
6
 
7
7
  // main settings
8
- @import '../../settings';
8
+ @forward '../../settings';
9
9
 
10
10
  // theme settings
11
- @import 'settings';
11
+ @forward 'settings';
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @import '../context';
2
+ @use '../context' as *;
3
3
 
4
4
  $component-name: map.get($components-names, vv-button);
5
5
  $component-map: $dark-vv-button;
@@ -1,2 +1 @@
1
- @import 'vv-button';
2
- @import 'vv-input-checkbox';
1
+ @use 'vv-button';
@@ -1,4 +1,4 @@
1
- @import '../context';
1
+ @use '../context' as *;
2
2
 
3
3
  @mixin theme-dark-bg {
4
4
  @include spread-map-into-props($dark-background-image, 'bg');
@@ -1,4 +1,4 @@
1
- @import '../context';
1
+ @use '../context' as *;
2
2
 
3
3
  @mixin theme-dark-colors {
4
4
  @include spread-map-into-props($dark-colors, 'color');
@@ -1,2 +1,2 @@
1
- @import 'background';
2
- @import 'colors';
1
+ @use 'background';
2
+ @use 'colors';
@@ -1,3 +1,6 @@
1
+ @use 'colors' as *;
2
+ @use '../../../tools/functions' as *;
3
+
1
4
  // background-image
2
5
  $dark-background-image: (
3
6
  none: none,
@@ -1,5 +1,7 @@
1
1
  @use 'sass:color';
2
2
  @use 'sass:map';
3
+ @use '../../../tools/functions' as *;
4
+ @use '../../../settings/colors' as *;
3
5
 
4
6
  $dark-color-scheme: dark !default;
5
7
  $dark-color-brand: #1976d2 !default;
@@ -1,5 +1,4 @@
1
- @import 'colors';
2
- @import 'background';
1
+ @forward 'colors';
2
+ @forward 'background';
3
3
 
4
- @import 'components/vv-button';
5
- @import 'components/vv-input-checkbox';
4
+ @forward 'components/vv-button';
@@ -1,5 +1,5 @@
1
1
  // props
2
- @import 'props';
2
+ @use 'props';
3
3
 
4
4
  // components
5
- @import 'components';
5
+ @use 'components';
@@ -28,7 +28,7 @@
28
28
  // Minimum breakpoint width. Null for the smallest (first) breakpoint.
29
29
  // >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
30
30
  // 576px
31
- @function breakpoint-min($name, $bps: $breakpoints) {
31
+ @function breakpoint-min($name, $bps) {
32
32
  $min: map.get($bps, $name);
33
33
  @return if($min != 0, $min, null);
34
34
  }
@@ -41,7 +41,7 @@
41
41
  // See https://bugs.webkit.org/show_bug.cgi?id=178261
42
42
  // >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
43
43
  // 767.98px
44
- @function breakpoint-max($name, $bps: $breakpoints) {
44
+ @function breakpoint-max($name, $bps) {
45
45
  $next: breakpoint-next($name, $bps);
46
46
  @return if($next, breakpoint-min($next, $bps) - 0.02, null);
47
47
  }
@@ -52,13 +52,13 @@
52
52
  // "" (Returns a blank string)
53
53
  // >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
54
54
  // "-sm"
55
- @function breakpoint-infix($name, $bps: $breakpoints) {
55
+ @function breakpoint-infix($name, $bps) {
56
56
  @return if(breakpoint-min($name, $bps) == null, '', '-#{$name}');
57
57
  }
58
58
 
59
59
  // Media of at least the minimum breakpoint width. No query for the smallest breakpoint.
60
60
  // Makes the @content apply to the given breakpoint and wider.
61
- @mixin media-breakpoint-up($name, $bps: $breakpoints) {
61
+ @mixin media-breakpoint-up($name, $bps) {
62
62
  $min: breakpoint-min($name, $bps);
63
63
  @if $min {
64
64
  @media (min-width: $min) {
@@ -71,7 +71,7 @@
71
71
 
72
72
  // Media of at most the maximum breakpoint width. No query for the largest breakpoint.
73
73
  // Makes the @content apply to the given breakpoint and narrower.
74
- @mixin media-breakpoint-down($name, $bps: $breakpoints) {
74
+ @mixin media-breakpoint-down($name, $bps) {
75
75
  $max: breakpoint-max($name, $bps);
76
76
  @if $max {
77
77
  @media (max-width: $max) {
@@ -84,7 +84,7 @@
84
84
 
85
85
  // Media that spans multiple breakpoint widths.
86
86
  // Makes the @content apply between the min and max breakpoints
87
- @mixin media-breakpoint-between($lower, $upper, $bps: $breakpoints) {
87
+ @mixin media-breakpoint-between($lower, $upper, $bps) {
88
88
  $min: breakpoint-min($lower, $bps);
89
89
  $max: breakpoint-max($upper, $bps);
90
90
 
@@ -106,7 +106,7 @@
106
106
  // Media between the breakpoint's minimum and maximum widths.
107
107
  // No minimum for the smallest breakpoint, and no maximum for the largest one.
108
108
  // Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.
109
- @mixin media-breakpoint-only($name, $bps: $breakpoints) {
109
+ @mixin media-breakpoint-only($name, $bps) {
110
110
  $min: breakpoint-min($name, $bps);
111
111
  $max: breakpoint-max($name, $bps);
112
112
 
@@ -1,3 +1,3 @@
1
- @import 'functions';
2
- @import 'mixins';
3
- @import 'breakpoints';
1
+ @forward 'functions';
2
+ @forward 'mixins';
3
+ @forward 'breakpoints';
@@ -3,6 +3,8 @@
3
3
  @use 'sass:string';
4
4
  @use 'sass:meta';
5
5
  @use 'sass:selector';
6
+ @use 'functions' as *;
7
+ @use 'breakpoints' as *;
6
8
 
7
9
  // Check ascending order
8
10
  // Used to ensure the breakpoints are ordered ascending.
@@ -77,7 +79,7 @@
77
79
  xxs: 0,
78
80
  ),
79
81
  $prefix: '',
80
- $zero-specificity: $zero-specificity-for-utilities
82
+ $zero-specificity: false
81
83
  ) {
82
84
  @if (type-of($map) == 'map' or type-of($map) == 'list') and $attribute != ''
83
85
  {
@@ -91,12 +93,14 @@
91
93
  }
92
94
  @if type-of($value) == 'map' and $deep {
93
95
  @include spread-map-into-utilities(
94
- $value,
95
- $class,
96
- $attribute,
97
- $prop,
98
- $key,
99
- $prefix
96
+ $map: $value,
97
+ $class: $class,
98
+ $attribute: $attribute,
99
+ $prop: $prop,
100
+ $name: $key,
101
+ $bps: $bps,
102
+ $prefix: $prefix,
103
+ $zero-specificity: $zero-specificity
100
104
  );
101
105
  } @else {
102
106
  $default: null;
@@ -134,7 +138,7 @@
134
138
  }
135
139
 
136
140
  %#{$prefix}#{$class-name} {
137
- @include media-breakpoint-up($breakpoint) {
141
+ @include media-breakpoint-up($breakpoint, $bps) {
138
142
  @if type-of($attribute) != 'list' {
139
143
  $attribute: ($attribute);
140
144
  }
@@ -170,7 +174,10 @@
170
174
  $key: 'modifier',
171
175
  $block: null,
172
176
  $props: true,
173
- $zero-specificity: true
177
+ $zero-specificity: true,
178
+ $bps: (
179
+ xxs: 0,
180
+ )
174
181
  ) {
175
182
  @if not $block {
176
183
  $block: &;
@@ -255,7 +262,10 @@
255
262
  $block: null,
256
263
  $modifier: null,
257
264
  $props: true,
258
- $zero-specificity: true
265
+ $zero-specificity: true,
266
+ $bps: (
267
+ xxs: 0,
268
+ )
259
269
  ) {
260
270
  @if not $block {
261
271
  $block: &;
@@ -360,7 +370,10 @@
360
370
  $modifier: '',
361
371
  $alias: null,
362
372
  $props: true,
363
- $zero-specificity: true
373
+ $zero-specificity: true,
374
+ $bps: (
375
+ xxs: 0,
376
+ )
364
377
  ) {
365
378
  @if not $original {
366
379
  $original: $map;
@@ -593,7 +606,9 @@
593
606
  $key: 'breakpoint',
594
607
  $block: null,
595
608
  $props: true,
596
- $bps: $breakpoints,
609
+ $bps: (
610
+ xxs: 0,
611
+ ),
597
612
  $zero-specificity: true
598
613
  ) {
599
614
  @if not $block {
@@ -660,7 +675,10 @@
660
675
  $postfix: '',
661
676
  $deep: false,
662
677
  $ignore: (),
663
- $props: true
678
+ $props: true,
679
+ $bps: (
680
+ xxs: 0,
681
+ )
664
682
  ) {
665
683
  @if type-of($map) == 'map' and $prefix != '' {
666
684
  @each $key, $value in $map {
@@ -838,7 +856,8 @@
838
856
  $custom-elements: false,
839
857
  $custom-modifiers: false,
840
858
  $custom-states: false,
841
- $custom-breakpoints: false
859
+ $custom-breakpoints: false,
860
+ $bps: (xxs: 0)
842
861
  ) {
843
862
  @if type-of($map) == 'map' and $block != '' {
844
863
  $selector: '.' + $block;
@@ -888,7 +907,8 @@
888
907
  $key: $elements-key,
889
908
  $block: $selector,
890
909
  $props: $props,
891
- $zero-specificity: $zero-specificity
910
+ $zero-specificity: $zero-specificity,
911
+ $bps: $bps
892
912
  );
893
913
  }
894
914
  }
@@ -902,7 +922,8 @@
902
922
  $key: $states-key,
903
923
  $block: $selector,
904
924
  $props: $props,
905
- $zero-specificity: $zero-specificity
925
+ $zero-specificity: $zero-specificity,
926
+ $bps: $bps
906
927
  );
907
928
  }
908
929
  }
@@ -916,7 +937,8 @@
916
937
  $key: $modifiers-key,
917
938
  $block: $selector,
918
939
  $props: $props,
919
- $zero-specificity: $zero-specificity
940
+ $zero-specificity: $zero-specificity,
941
+ $bps: $bps
920
942
  );
921
943
  }
922
944
  }
@@ -930,7 +952,8 @@
930
952
  $key: $breakpoints-key,
931
953
  $block: $selector,
932
954
  $props: $props,
933
- $zero-specificity: $zero-specificity
955
+ $zero-specificity: $zero-specificity,
956
+ $bps: $bps
934
957
  );
935
958
  }
936
959
  }
@@ -1,8 +1,9 @@
1
- @import '../context';
1
+ @use '../context' as *;
2
2
 
3
3
  // animate
4
4
  @include spread-map-into-utilities(
5
5
  $map: $animate,
6
6
  $class: 'animate',
7
- $attribute: 'animation'
7
+ $attribute: 'animation',
8
+ $zero-specificity: $zero-specificity-for-utilities
8
9
  );