@volverjs/style 0.1.2-beta.21 → 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.
- package/README.md +16 -15
- package/dist/components/vv-badge.css +1 -1
- package/dist/components/vv-input-checkbox-group.css +1 -1
- package/dist/components/vv-input-checkbox.css +1 -1
- package/dist/components/vv-input-radio-group.css +1 -1
- package/dist/components/vv-input-radio.css +1 -1
- package/dist/components/vv-input-text.css +1 -1
- package/dist/components/vv-select.css +1 -1
- package/dist/components/vv-textarea.css +1 -1
- package/dist/components.css +1 -1
- package/dist/export.css +1 -1
- package/dist/props/input.css +1 -1
- package/dist/props.css +1 -1
- package/dist/themes/dark/components.css +1 -1
- package/dist/themes/dark/volver.css +1 -1
- package/dist/utilities/effects.css +1 -1
- package/dist/utilities/sizing.css +1 -1
- package/dist/utilities/transitions.css +1 -0
- package/dist/utilities.css +1 -1
- package/dist/volver.css +1 -1
- package/package.json +9 -7
- package/src/_context.scss +3 -3
- package/src/_preflight.scss +1 -0
- package/src/components/index.scss +24 -24
- package/src/components/vv-accordion.scss +3 -2
- package/src/components/vv-alert.scss +3 -2
- package/src/components/vv-avatar.scss +3 -2
- package/src/components/vv-badge.scss +3 -2
- package/src/components/vv-breadcrumb.scss +3 -2
- package/src/components/vv-button-group.scss +3 -2
- package/src/components/vv-button.scss +3 -2
- package/src/components/vv-card.scss +3 -2
- package/src/components/vv-dialog.scss +3 -2
- package/src/components/vv-dropdown.scss +3 -2
- package/src/components/vv-input-checkbox-group.scss +3 -2
- package/src/components/vv-input-checkbox.scss +3 -2
- package/src/components/vv-input-radio-group.scss +3 -2
- package/src/components/vv-input-radio.scss +3 -2
- package/src/components/vv-input-text.scss +3 -2
- package/src/components/vv-nav.scss +3 -2
- package/src/components/vv-progress.scss +3 -2
- package/src/components/vv-select.scss +3 -2
- package/src/components/vv-tab.scss +3 -2
- package/src/components/vv-table.scss +3 -2
- package/src/components/vv-text.scss +3 -2
- package/src/components/vv-textarea.scss +3 -2
- package/src/components/vv-toast.scss +3 -2
- package/src/components/vv-tooltip.scss +3 -2
- package/src/export.scss +41 -4
- package/src/props/animation.scss +1 -1
- package/src/props/background.scss +1 -1
- package/src/props/borders.scss +1 -1
- package/src/props/colors.scss +1 -1
- package/src/props/effects.scss +1 -1
- package/src/props/filters.scss +1 -1
- package/src/props/index.scss +12 -12
- package/src/props/input.scss +1 -1
- package/src/props/layout.scss +1 -1
- package/src/props/media.scss +1 -1
- package/src/props/sizing.scss +1 -1
- package/src/props/spacing.scss +2 -2
- package/src/props/typography.scss +2 -2
- package/src/settings/_background.scss +3 -0
- package/src/settings/_breakpoints.scss +2 -0
- package/src/settings/_colors.scss +1 -0
- package/src/settings/_effects.scss +47 -2
- package/src/settings/_index.scss +39 -38
- package/src/settings/_input.scss +1 -0
- package/src/settings/_transitions.scss +41 -0
- package/src/settings/components/_vv-input-checkbox-group.scss +1 -0
- package/src/settings/components/_vv-input-checkbox.scss +1 -0
- package/src/settings/components/_vv-input-radio-group.scss +2 -0
- package/src/settings/components/_vv-input-radio.scss +1 -0
- package/src/settings/components/_vv-input-text.scss +1 -0
- package/src/settings/components/_vv-select.scss +1 -0
- package/src/settings/components/_vv-textarea.scss +1 -0
- package/src/themes/dark/_context.scss +4 -4
- package/src/themes/dark/components/_vv-button.scss +1 -1
- package/src/themes/dark/components/index.scss +1 -2
- package/src/themes/dark/props/_background.scss +1 -1
- package/src/themes/dark/props/_colors.scss +1 -1
- package/src/themes/dark/props/index.scss +2 -2
- package/src/themes/dark/settings/_background.scss +3 -0
- package/src/themes/dark/settings/_colors.scss +2 -0
- package/src/themes/dark/settings/_index.scss +3 -4
- package/src/themes/dark/volver.scss +2 -2
- package/src/tools/_breakpoints.scss +7 -7
- package/src/tools/_index.scss +3 -3
- package/src/tools/_mixins.scss +41 -18
- package/src/utilities/animation.scss +3 -2
- package/src/utilities/backgrounds.scss +15 -8
- package/src/utilities/borders.scss +17 -9
- package/src/utilities/colors.scss +9 -5
- package/src/utilities/effects.scss +23 -5
- package/src/utilities/filters.scss +7 -4
- package/src/utilities/flexbox.scss +15 -8
- package/src/utilities/grid.scss +17 -9
- package/src/utilities/index.scss +13 -12
- package/src/utilities/layout.scss +26 -14
- package/src/utilities/sizing.scss +15 -8
- package/src/utilities/spacing.scss +1 -1
- package/src/utilities/transitions.scss +30 -0
- package/src/utilities/typography.scss +33 -17
- package/src/volver.scss +4 -4
- package/src/themes/dark/components/_vv-input-checkbox.scss +0 -22
- package/src/themes/dark/settings/components/_vv-input-checkbox.scss +0 -26
package/src/props/layout.scss
CHANGED
package/src/props/media.scss
CHANGED
package/src/props/sizing.scss
CHANGED
package/src/props/spacing.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
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
|
-
@
|
|
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
|
|
@@ -17,8 +17,33 @@ $box-shadow: (
|
|
|
17
17
|
none: '0 0 #0000',
|
|
18
18
|
) !default;
|
|
19
19
|
|
|
20
|
-
//
|
|
21
|
-
$
|
|
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;
|
package/src/settings/_index.scss
CHANGED
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
// utilities and custom props
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
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
|
-
@
|
|
19
|
-
@
|
|
20
|
-
@
|
|
21
|
-
@
|
|
22
|
-
@
|
|
23
|
-
@
|
|
24
|
-
@
|
|
25
|
-
@
|
|
26
|
-
@
|
|
27
|
-
@
|
|
28
|
-
@
|
|
29
|
-
@
|
|
30
|
-
@
|
|
31
|
-
@
|
|
32
|
-
@
|
|
33
|
-
@
|
|
34
|
-
@
|
|
35
|
-
@
|
|
36
|
-
@
|
|
37
|
-
@
|
|
38
|
-
@
|
|
39
|
-
@
|
|
40
|
-
@
|
|
41
|
-
@
|
|
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';
|
package/src/settings/_input.scss
CHANGED
|
@@ -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;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// configuration
|
|
2
|
-
@
|
|
2
|
+
@forward '../../config';
|
|
3
3
|
|
|
4
4
|
// tools (mixins, functions, recipes)
|
|
5
|
-
@
|
|
5
|
+
@forward '../../tools';
|
|
6
6
|
|
|
7
7
|
// main settings
|
|
8
|
-
@
|
|
8
|
+
@forward '../../settings';
|
|
9
9
|
|
|
10
10
|
// theme settings
|
|
11
|
-
@
|
|
11
|
+
@forward 'settings';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
@
|
|
2
|
-
@import 'vv-input-checkbox';
|
|
1
|
+
@use 'vv-button';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
1
|
+
@use 'background';
|
|
2
|
+
@use 'colors';
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
109
|
+
@mixin media-breakpoint-only($name, $bps) {
|
|
110
110
|
$min: breakpoint-min($name, $bps);
|
|
111
111
|
$max: breakpoint-max($name, $bps);
|
|
112
112
|
|
package/src/tools/_index.scss
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
1
|
+
@forward 'functions';
|
|
2
|
+
@forward 'mixins';
|
|
3
|
+
@forward 'breakpoints';
|
package/src/tools/_mixins.scss
CHANGED
|
@@ -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:
|
|
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
|
-
$
|
|
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:
|
|
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
|
}
|