@volverjs/style 0.1.2-beta.8 → 0.1.2
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/LICENSE +1 -1
- package/README.md +53 -46
- package/dist/components/vv-accordion.css +1 -1
- package/dist/components/vv-alert.css +1 -0
- package/dist/components/vv-avatar.css +1 -0
- package/dist/components/vv-badge.css +1 -1
- package/dist/components/vv-breadcrumb.css +1 -1
- package/dist/components/vv-button-group.css +1 -1
- package/dist/components/vv-button.css +1 -1
- package/dist/components/vv-card.css +1 -1
- package/dist/components/vv-checkbox-group.css +1 -0
- package/dist/components/vv-checkbox.css +1 -0
- package/dist/components/vv-dialog.css +1 -1
- package/dist/components/vv-dropdown.css +1 -1
- package/dist/components/vv-input-text.css +1 -1
- package/dist/components/vv-nav.css +1 -1
- package/dist/components/vv-progress.css +1 -1
- package/dist/components/vv-radio-group.css +1 -0
- package/dist/components/vv-radio.css +1 -0
- package/dist/components/vv-select.css +1 -1
- package/dist/components/vv-skeleton.css +1 -0
- package/dist/components/vv-tab.css +1 -0
- package/dist/components/vv-table.css +1 -1
- package/dist/components/vv-text.css +1 -1
- package/dist/components/vv-textarea.css +1 -1
- package/dist/components/vv-toast.css +1 -0
- package/dist/components/vv-tooltip.css +1 -0
- package/dist/components.css +1 -1
- package/dist/export.css +1 -1
- package/dist/props/background.css +1 -1
- package/dist/props/breakpoints.css +1 -0
- package/dist/props/colors.css +1 -1
- package/dist/props/filters.css +1 -1
- package/dist/props/input.css +1 -1
- package/dist/props/layout.css +1 -1
- package/dist/props/spacing.css +1 -1
- package/dist/props/transitions.css +1 -0
- package/dist/props.css +1 -1
- package/dist/themes/dark/components.css +1 -1
- package/dist/themes/dark/props.css +1 -1
- package/dist/themes/dark/volver.css +1 -1
- package/dist/utilities/backgrounds.css +1 -1
- package/dist/utilities/borders.css +1 -1
- package/dist/utilities/colors.css +1 -1
- package/dist/utilities/effects.css +1 -1
- package/dist/utilities/filters.css +1 -1
- package/dist/utilities/flexbox.css +1 -1
- package/dist/utilities/interactivity.css +1 -0
- package/dist/utilities/layout.css +1 -1
- package/dist/utilities/sizing.css +1 -1
- package/dist/utilities/spacing.css +1 -1
- package/dist/utilities/transitions.css +1 -0
- package/dist/utilities/typography.css +1 -1
- package/dist/utilities.css +1 -1
- package/dist/volver.css +1 -1
- package/package.json +57 -37
- package/src/_config.scss +17 -11
- package/src/_context.scss +3 -3
- package/src/_preflight.scss +308 -247
- package/src/components/index.scss +25 -19
- package/src/components/vv-accordion.scss +3 -2
- package/src/components/vv-alert.scss +13 -0
- package/src/components/vv-avatar.scss +13 -0
- package/src/components/vv-badge.scss +3 -2
- package/src/components/vv-breadcrumb.scss +3 -2
- package/src/components/vv-button-group.scss +11 -10
- package/src/components/vv-button.scss +5 -8
- package/src/components/vv-card.scss +3 -2
- package/src/components/vv-checkbox-group.scss +13 -0
- package/src/components/{vv-input-checkbox.scss → vv-checkbox.scss} +7 -6
- package/src/components/vv-dialog.scss +3 -2
- package/src/components/vv-dropdown.scss +3 -2
- package/src/components/vv-input-text.scss +6 -5
- package/src/components/vv-nav.scss +3 -2
- package/src/components/vv-progress.scss +3 -2
- package/src/components/vv-radio-group.scss +13 -0
- package/src/components/{vv-input-radio.scss → vv-radio.scss} +6 -5
- package/src/components/vv-select.scss +6 -5
- package/src/components/vv-skeleton.scss +14 -0
- package/src/components/vv-tab.scss +13 -0
- package/src/components/vv-table.scss +3 -2
- package/src/components/vv-text.scss +3 -2
- package/src/components/vv-textarea.scss +6 -5
- package/src/components/vv-toast.scss +13 -0
- package/src/components/vv-tooltip.scss +33 -0
- package/src/export.scss +89 -27
- package/src/props/background.scss +1 -1
- package/src/props/borders.scss +1 -1
- package/src/props/breakpoints.scss +15 -0
- package/src/props/colors.scss +1 -1
- package/src/props/effects.scss +1 -1
- package/src/props/filters.scss +2 -1
- package/src/props/index.scss +13 -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/{animation.scss → transitions.scss} +53 -2
- package/src/props/typography.scss +2 -2
- package/src/settings/_background.scss +6 -1
- package/src/settings/_breakpoints.scss +2 -0
- package/src/settings/_colors.scss +23 -4
- package/src/settings/_effects.scss +47 -2
- package/src/settings/_filters.scss +9 -0
- package/src/settings/_index.scss +40 -33
- package/src/settings/_input.scss +8 -6
- package/src/settings/_interactivity.scss +39 -0
- package/src/settings/_layout.scss +18 -10
- package/src/settings/_spacing.scss +1 -0
- package/src/settings/_transitions.scss +44 -0
- package/src/settings/components/_vv-accordion.scss +40 -34
- package/src/settings/components/_vv-alert.scss +161 -0
- package/src/settings/components/_vv-avatar.scss +55 -0
- package/src/settings/components/_vv-badge.scss +43 -11
- package/src/settings/components/_vv-breadcrumb.scss +23 -15
- package/src/settings/components/_vv-button-group.scss +4 -0
- package/src/settings/components/_vv-button.scss +30 -25
- package/src/settings/components/_vv-card.scss +2 -2
- package/src/settings/components/{_vv-input-checkbox-group.scss → _vv-checkbox-group.scss} +2 -1
- package/src/settings/components/{_vv-input-checkbox.scss → _vv-checkbox.scss} +46 -11
- package/src/settings/components/_vv-dialog.scss +71 -89
- package/src/settings/components/_vv-input-text.scss +83 -37
- package/src/settings/components/_vv-nav.scss +98 -13
- package/src/settings/components/_vv-progress.scss +1 -1
- package/src/settings/components/_vv-radio-group.scss +3 -0
- package/src/settings/components/{_vv-input-radio.scss → _vv-radio.scss} +33 -4
- package/src/settings/components/_vv-select.scss +34 -43
- package/src/settings/components/_vv-skeleton.scss +22 -0
- package/src/settings/components/_vv-tab.scss +16 -0
- package/src/settings/components/_vv-table.scss +8 -1
- package/src/settings/components/_vv-text.scss +20 -0
- package/src/settings/components/_vv-textarea.scss +49 -24
- package/src/settings/components/_vv-toast.scss +259 -0
- package/src/settings/components/_vv-tooltip.scss +74 -0
- package/src/themes/dark/_context.scss +7 -4
- package/src/themes/dark/components/_vv-button.scss +2 -4
- 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/_input.scss +15 -0
- package/src/themes/dark/props/index.scss +3 -2
- package/src/themes/dark/settings/_background.scss +5 -0
- package/src/themes/dark/settings/_colors.scss +22 -2
- package/src/themes/dark/settings/_index.scss +4 -4
- package/src/themes/dark/settings/_input.scss +8 -0
- package/src/themes/dark/settings/components/_vv-button.scss +9 -9
- package/src/themes/dark/volver.scss +2 -2
- package/src/tools/_breakpoints.scss +7 -7
- package/src/tools/_functions.scss +95 -37
- package/src/tools/_index.scss +3 -3
- package/src/tools/_mixins.scss +166 -35
- package/src/utilities/backgrounds.scss +15 -8
- package/src/utilities/borders.scss +22 -9
- package/src/utilities/colors.scss +9 -5
- package/src/utilities/effects.scss +23 -5
- package/src/utilities/filters.scss +15 -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/interactivity.scss +10 -0
- package/src/utilities/layout.scss +35 -23
- package/src/utilities/sizing.scss +23 -26
- package/src/utilities/spacing.scss +1 -1
- package/src/utilities/transitions.scss +47 -0
- package/src/utilities/typography.scss +34 -17
- package/src/volver.scss +4 -4
- package/dist/components/vv-input-checkbox-group.css +0 -1
- package/dist/components/vv-input-checkbox.css +0 -1
- package/dist/components/vv-input-radio-group.css +0 -1
- package/dist/components/vv-input-radio.css +0 -1
- package/dist/props/animation.css +0 -1
- package/dist/utilities/animation.css +0 -1
- package/src/components/vv-input-checkbox-group.scss +0 -12
- package/src/components/vv-input-radio-group.scss +0 -12
- package/src/settings/_animation.scss +0 -9
- package/src/settings/components/_vv-input-radio-group.scss +0 -1
- package/src/themes/dark/components/_vv-input-checkbox.scss +0 -24
- package/src/themes/dark/settings/components/_vv-input-checkbox.scss +0 -26
- package/src/utilities/animation.scss +0 -8
|
@@ -1,19 +1,25 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
16
|
-
@
|
|
17
|
-
@
|
|
18
|
-
@
|
|
19
|
-
@
|
|
1
|
+
@use 'vv-accordion';
|
|
2
|
+
@use 'vv-alert';
|
|
3
|
+
@use 'vv-badge';
|
|
4
|
+
@use 'vv-breadcrumb';
|
|
5
|
+
@use 'vv-button';
|
|
6
|
+
@use 'vv-button-group';
|
|
7
|
+
@use 'vv-card';
|
|
8
|
+
@use 'vv-dialog';
|
|
9
|
+
@use 'vv-dropdown';
|
|
10
|
+
@use 'vv-checkbox-group';
|
|
11
|
+
@use 'vv-checkbox';
|
|
12
|
+
@use 'vv-radio-group';
|
|
13
|
+
@use 'vv-radio';
|
|
14
|
+
@use 'vv-avatar';
|
|
15
|
+
@use 'vv-input-text';
|
|
16
|
+
@use 'vv-nav';
|
|
17
|
+
@use 'vv-progress';
|
|
18
|
+
@use 'vv-select';
|
|
19
|
+
@use 'vv-skeleton';
|
|
20
|
+
@use 'vv-tab';
|
|
21
|
+
@use 'vv-table';
|
|
22
|
+
@use 'vv-text';
|
|
23
|
+
@use 'vv-textarea';
|
|
24
|
+
@use 'vv-tooltip';
|
|
25
|
+
@use 'vv-toast';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-accordion);
|
|
5
5
|
$component-map: $vv-accordion;
|
|
@@ -8,5 +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-
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
12
13
|
);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../context' as *;
|
|
3
|
+
|
|
4
|
+
$component-name: map.get($components-names, vv-alert);
|
|
5
|
+
$component-map: $vv-alert;
|
|
6
|
+
|
|
7
|
+
@include spread-map-into-bem(
|
|
8
|
+
$map: $component-map,
|
|
9
|
+
$block: $component-name,
|
|
10
|
+
$props: $use-custom-props-for-components,
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
13
|
+
);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../context' as *;
|
|
3
|
+
|
|
4
|
+
$component-name: map.get($components-names, vv-avatar);
|
|
5
|
+
$component-map: $vv-avatar;
|
|
6
|
+
|
|
7
|
+
@include spread-map-into-bem(
|
|
8
|
+
$map: $component-map,
|
|
9
|
+
$block: $component-name,
|
|
10
|
+
$props: $use-custom-props-for-components,
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
13
|
+
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-badge);
|
|
5
5
|
$component-map: $vv-badge;
|
|
@@ -8,5 +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-
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
12
13
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-breadcrumb);
|
|
5
5
|
$component-map: $vv-breadcrumb;
|
|
@@ -8,5 +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-
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
12
13
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-button-group);
|
|
5
5
|
$component-map: $vv-button-group;
|
|
@@ -11,7 +11,8 @@ $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-
|
|
14
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
15
|
+
$bps: $breakpoints
|
|
15
16
|
);
|
|
16
17
|
|
|
17
18
|
// if has block modifier
|
|
@@ -22,7 +23,7 @@ $button-component-selector: '.' + $button-component-name;
|
|
|
22
23
|
@include wrap-with-where(
|
|
23
24
|
$selector:
|
|
24
25
|
'&.active, &#{$button-component-selector}--active, &:active',
|
|
25
|
-
$enabled: $zero-specificity-for-
|
|
26
|
+
$enabled: $zero-specificity-for-components
|
|
26
27
|
) {
|
|
27
28
|
z-index: 1;
|
|
28
29
|
}
|
|
@@ -31,7 +32,7 @@ $button-component-selector: '.' + $button-component-name;
|
|
|
31
32
|
|
|
32
33
|
@include wrap-with-where(
|
|
33
34
|
$selector: $button-component-selector,
|
|
34
|
-
$enabled: $zero-specificity-for-
|
|
35
|
+
$enabled: $zero-specificity-for-components
|
|
35
36
|
) {
|
|
36
37
|
flex: 1;
|
|
37
38
|
}
|
|
@@ -48,7 +49,7 @@ $button-component-selector: '.' + $button-component-name;
|
|
|
48
49
|
// clear top border-radius for first child
|
|
49
50
|
@include wrap-with-where(
|
|
50
51
|
$selector: '&:not(:first-child)',
|
|
51
|
-
$enabled: $zero-specificity-for-
|
|
52
|
+
$enabled: $zero-specificity-for-components
|
|
52
53
|
) {
|
|
53
54
|
border-top-right-radius: 0;
|
|
54
55
|
border-top-left-radius: 0;
|
|
@@ -57,7 +58,7 @@ $button-component-selector: '.' + $button-component-name;
|
|
|
57
58
|
// clear bottom border-radius for last child
|
|
58
59
|
@include wrap-with-where(
|
|
59
60
|
$selector: '&:not(:last-child)',
|
|
60
|
-
$enabled: $zero-specificity-for-
|
|
61
|
+
$enabled: $zero-specificity-for-components
|
|
61
62
|
) {
|
|
62
63
|
border-bottom-right-radius: 0;
|
|
63
64
|
border-bottom-left-radius: 0;
|
|
@@ -67,7 +68,7 @@ $button-component-selector: '.' + $button-component-name;
|
|
|
67
68
|
@if map.get($vv-button, '--button-border-width') {
|
|
68
69
|
@include wrap-with-where(
|
|
69
70
|
$selector: '&:not(:last-child, :last-child)',
|
|
70
|
-
$enabled: $zero-specificity-for-
|
|
71
|
+
$enabled: $zero-specificity-for-components
|
|
71
72
|
) {
|
|
72
73
|
margin-block: calc(var(--button-border-width) * -1);
|
|
73
74
|
}
|
|
@@ -81,7 +82,7 @@ $button-component-selector: '.' + $button-component-name;
|
|
|
81
82
|
// clear left border-radius for first child
|
|
82
83
|
@include wrap-with-where(
|
|
83
84
|
$selector: '&:not(:first-child)',
|
|
84
|
-
$enabled: $zero-specificity-for-
|
|
85
|
+
$enabled: $zero-specificity-for-components
|
|
85
86
|
) {
|
|
86
87
|
border-top-left-radius: 0;
|
|
87
88
|
border-bottom-left-radius: 0;
|
|
@@ -90,7 +91,7 @@ $button-component-selector: '.' + $button-component-name;
|
|
|
90
91
|
// clear right border-radius for first child
|
|
91
92
|
@include wrap-with-where(
|
|
92
93
|
$selector: '&:not(:last-child)',
|
|
93
|
-
$enabled: $zero-specificity-for-
|
|
94
|
+
$enabled: $zero-specificity-for-components
|
|
94
95
|
) {
|
|
95
96
|
border-top-right-radius: 0;
|
|
96
97
|
border-bottom-right-radius: 0;
|
|
@@ -100,7 +101,7 @@ $button-component-selector: '.' + $button-component-name;
|
|
|
100
101
|
@if map.get($vv-button, '--button-border-width') {
|
|
101
102
|
@include wrap-with-where(
|
|
102
103
|
$selector: '&:not(:last-child, :last-child)',
|
|
103
|
-
$enabled: $zero-specificity-for-
|
|
104
|
+
$enabled: $zero-specificity-for-components
|
|
104
105
|
) {
|
|
105
106
|
margin-inline: calc(var(--button-border-width) * -1);
|
|
106
107
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-button);
|
|
5
5
|
$component-map: $vv-button;
|
|
@@ -9,8 +9,9 @@ $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-
|
|
13
|
-
$custom-block: true
|
|
12
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
13
|
+
$custom-block: true,
|
|
14
|
+
$bps: $breakpoints
|
|
14
15
|
) {
|
|
15
16
|
// custom block
|
|
16
17
|
%#{$component-name} {
|
|
@@ -29,15 +30,11 @@ $component-selector: '.#{ $component-name}';
|
|
|
29
30
|
$prefix: $component-name,
|
|
30
31
|
$props: $use-custom-props-for-components
|
|
31
32
|
);
|
|
32
|
-
|
|
33
|
-
@media (prefers-reduced-motion: reduce) {
|
|
34
|
-
transition: none;
|
|
35
|
-
}
|
|
36
33
|
}
|
|
37
34
|
|
|
38
35
|
@include wrap-with-where(
|
|
39
36
|
$selector: $component-selector,
|
|
40
|
-
$enabled: $zero-specificity-for-
|
|
37
|
+
$enabled: $zero-specificity-for-components
|
|
41
38
|
) {
|
|
42
39
|
&:where(a[href], button, input[type='button'], input[type='submit'], input[type='reset']),
|
|
43
40
|
&::file-selector-button {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-card);
|
|
5
5
|
$component-map: $vv-card;
|
|
@@ -8,5 +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-
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
12
13
|
);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../context' as *;
|
|
3
|
+
|
|
4
|
+
$component-name: map.get($components-names, vv-checkbox-group);
|
|
5
|
+
$component-map: $vv-checkbox-group;
|
|
6
|
+
|
|
7
|
+
@include spread-map-into-bem(
|
|
8
|
+
$map: $component-map,
|
|
9
|
+
$block: $component-name,
|
|
10
|
+
$props: $use-custom-props-for-components,
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
13
|
+
);
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
|
-
$component-name: map.get($components-names, vv-
|
|
5
|
-
$component-map: $vv-
|
|
4
|
+
$component-name: map.get($components-names, vv-checkbox);
|
|
5
|
+
$component-map: $vv-checkbox;
|
|
6
6
|
$component-selector: '.#{ $component-name}';
|
|
7
7
|
|
|
8
8
|
@include spread-map-into-bem(
|
|
9
9
|
$map: $component-map,
|
|
10
10
|
$block: $component-name,
|
|
11
11
|
$props: $use-custom-props-for-components,
|
|
12
|
-
$zero-specificity: $zero-specificity-for-
|
|
12
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
13
|
+
$bps: $breakpoints
|
|
13
14
|
);
|
|
14
15
|
|
|
15
16
|
@include wrap-with-where(
|
|
16
17
|
$selector: '#{$component-selector}:has(> input[type="checkbox"]:disabled)',
|
|
17
|
-
$enabled: $zero-specificity-for-
|
|
18
|
+
$enabled: $zero-specificity-for-components
|
|
18
19
|
) {
|
|
19
20
|
@extend %#{$component-name}--disabled !optional;
|
|
20
21
|
}
|
|
@@ -22,7 +23,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
22
23
|
@include wrap-with-where(
|
|
23
24
|
$selector:
|
|
24
25
|
'#{$component-selector}:has(> input[type="checkbox"]:indeterminate)',
|
|
25
|
-
$enabled: $zero-specificity-for-
|
|
26
|
+
$enabled: $zero-specificity-for-components
|
|
26
27
|
) {
|
|
27
28
|
@extend %#{$component-name}--indeterminate !optional;
|
|
28
29
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-dialog);
|
|
5
5
|
$component-map: $vv-dialog;
|
|
@@ -8,5 +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-
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
12
13
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-dropdown);
|
|
5
5
|
$component-map: $vv-dropdown;
|
|
@@ -8,5 +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-
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
12
13
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-input-text);
|
|
5
5
|
$component-map: $vv-input-text;
|
|
@@ -9,14 +9,15 @@ $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-
|
|
12
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
13
|
+
$bps: $breakpoints
|
|
13
14
|
);
|
|
14
15
|
|
|
15
16
|
// disabled and readonly
|
|
16
17
|
@each $state in ('disabled', 'readonly') {
|
|
17
18
|
@include wrap-with-where(
|
|
18
19
|
$selector: '#{$component-selector}:has(input:#{$state})',
|
|
19
|
-
$enabled: $zero-specificity-for-
|
|
20
|
+
$enabled: $zero-specificity-for-components
|
|
20
21
|
) {
|
|
21
22
|
@extend %#{$component-name}--#{$state} !optional;
|
|
22
23
|
}
|
|
@@ -28,7 +29,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
28
29
|
@include wrap-with-where(
|
|
29
30
|
$selector:
|
|
30
31
|
'#{$component-selector}:has(input:#{$state}) #{$component-selector}__#{$element}',
|
|
31
|
-
$enabled: $zero-specificity-for-
|
|
32
|
+
$enabled: $zero-specificity-for-components
|
|
32
33
|
) {
|
|
33
34
|
@extend %#{$component-name}-state-#{$state}__#{$element}
|
|
34
35
|
!optional;
|
|
@@ -38,7 +39,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
38
39
|
@include wrap-with-where(
|
|
39
40
|
$selector:
|
|
40
41
|
'#{$component-selector}:has(input:#{$state}) #{$component-selector}__#{$element}:#{$elementState}',
|
|
41
|
-
$enabled: $zero-specificity-for-
|
|
42
|
+
$enabled: $zero-specificity-for-components
|
|
42
43
|
) {
|
|
43
44
|
@extend %#{$component-name}-state-#{$state}-element-#{$element}--#{$elementState}
|
|
44
45
|
!optional;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-nav);
|
|
5
5
|
$component-map: $vv-nav;
|
|
@@ -8,5 +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-
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
12
13
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-progress);
|
|
5
5
|
$component-map: $vv-progress;
|
|
@@ -8,5 +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-
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
12
13
|
);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../context' as *;
|
|
3
|
+
|
|
4
|
+
$component-name: map.get($components-names, vv-radio-group);
|
|
5
|
+
$component-map: $vv-radio-group;
|
|
6
|
+
|
|
7
|
+
@include spread-map-into-bem(
|
|
8
|
+
$map: $component-map,
|
|
9
|
+
$block: $component-name,
|
|
10
|
+
$props: $use-custom-props-for-components,
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
13
|
+
);
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
|
-
$component-name: map.get($components-names, vv-
|
|
5
|
-
$component-map: $vv-
|
|
4
|
+
$component-name: map.get($components-names, vv-radio);
|
|
5
|
+
$component-map: $vv-radio;
|
|
6
6
|
$component-selector: '.#{ $component-name}';
|
|
7
7
|
|
|
8
8
|
@include spread-map-into-bem(
|
|
9
9
|
$map: $component-map,
|
|
10
10
|
$block: $component-name,
|
|
11
11
|
$props: $use-custom-props-for-components,
|
|
12
|
-
$zero-specificity: $zero-specificity-for-
|
|
12
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
13
|
+
$bps: $breakpoints
|
|
13
14
|
);
|
|
14
15
|
|
|
15
16
|
@include wrap-with-where(
|
|
16
17
|
$selector: '#{$component-selector}:has(> input[type="radio"]:disabled)',
|
|
17
|
-
$enabled: $zero-specificity-for-
|
|
18
|
+
$enabled: $zero-specificity-for-components
|
|
18
19
|
) {
|
|
19
20
|
@extend %#{$component-name}--disabled !optional;
|
|
20
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-select);
|
|
5
5
|
$component-map: $vv-select;
|
|
@@ -9,14 +9,15 @@ $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-
|
|
12
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
13
|
+
$bps: $breakpoints
|
|
13
14
|
);
|
|
14
15
|
|
|
15
16
|
// disabled
|
|
16
17
|
@each $state in ('disabled') {
|
|
17
18
|
@include wrap-with-where(
|
|
18
19
|
$selector: '#{$component-selector}:has(select:#{$state})',
|
|
19
|
-
$enabled: $zero-specificity-for-
|
|
20
|
+
$enabled: $zero-specificity-for-components
|
|
20
21
|
) {
|
|
21
22
|
@extend %#{$component-name}--#{$state} !optional;
|
|
22
23
|
}
|
|
@@ -28,7 +29,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
28
29
|
@include wrap-with-where(
|
|
29
30
|
$selector:
|
|
30
31
|
'#{$component-selector}:has(select:#{$state}) #{$component-selector}__#{$element}',
|
|
31
|
-
$enabled: $zero-specificity-for-
|
|
32
|
+
$enabled: $zero-specificity-for-components
|
|
32
33
|
) {
|
|
33
34
|
@extend %#{$component-name}-state-#{$state}__#{$element}
|
|
34
35
|
!optional;
|
|
@@ -38,7 +39,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
38
39
|
@include wrap-with-where(
|
|
39
40
|
$selector:
|
|
40
41
|
'#{$component-selector}:has(select:#{$state}) #{$component-selector}__#{$element}:#{$elementState}',
|
|
41
|
-
$enabled: $zero-specificity-for-
|
|
42
|
+
$enabled: $zero-specificity-for-components
|
|
42
43
|
) {
|
|
43
44
|
@extend %#{$component-name}-state-#{$state}-element-#{$element}--#{$elementState}
|
|
44
45
|
!optional;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../context' as *;
|
|
3
|
+
|
|
4
|
+
$component-name: map.get($components-names, vv-skeleton);
|
|
5
|
+
$component-map: $vv-skeleton;
|
|
6
|
+
$component-selector: '.#{ $component-name}';
|
|
7
|
+
|
|
8
|
+
@include spread-map-into-bem(
|
|
9
|
+
$map: $component-map,
|
|
10
|
+
$block: $component-name,
|
|
11
|
+
$props: $use-custom-props-for-components,
|
|
12
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
13
|
+
$bps: $breakpoints
|
|
14
|
+
);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../context' as *;
|
|
3
|
+
|
|
4
|
+
$component-name: map.get($components-names, vv-tab);
|
|
5
|
+
$component-map: $vv-tab;
|
|
6
|
+
|
|
7
|
+
@include spread-map-into-bem(
|
|
8
|
+
$map: $component-map,
|
|
9
|
+
$block: $component-name,
|
|
10
|
+
$props: $use-custom-props-for-components,
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
13
|
+
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-table);
|
|
5
5
|
$component-map: $vv-table;
|
|
@@ -8,5 +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-
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
12
13
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-text);
|
|
5
5
|
$component-map: $vv-text;
|
|
@@ -8,5 +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-
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
12
13
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
2
|
+
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
$component-name: map.get($components-names, vv-textarea);
|
|
5
5
|
$component-map: $vv-textarea;
|
|
@@ -9,14 +9,15 @@ $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-
|
|
12
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
13
|
+
$bps: $breakpoints
|
|
13
14
|
);
|
|
14
15
|
|
|
15
16
|
// disabled and readonly
|
|
16
17
|
@each $state in ('disabled', 'readonly') {
|
|
17
18
|
@include wrap-with-where(
|
|
18
19
|
$selector: '#{$component-selector}:has(textarea:#{$state})',
|
|
19
|
-
$enabled: $zero-specificity-for-
|
|
20
|
+
$enabled: $zero-specificity-for-components
|
|
20
21
|
) {
|
|
21
22
|
@extend %#{$component-name}--#{$state} !optional;
|
|
22
23
|
}
|
|
@@ -28,7 +29,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
28
29
|
@include wrap-with-where(
|
|
29
30
|
$selector:
|
|
30
31
|
'#{$component-selector}:has(textarea:#{$state}) #{$component-selector}__#{$element}',
|
|
31
|
-
$enabled: $zero-specificity-for-
|
|
32
|
+
$enabled: $zero-specificity-for-components
|
|
32
33
|
) {
|
|
33
34
|
@extend %#{$component-name}-state-#{$state}__#{$element}
|
|
34
35
|
!optional;
|
|
@@ -38,7 +39,7 @@ $component-selector: '.#{ $component-name}';
|
|
|
38
39
|
@include wrap-with-where(
|
|
39
40
|
$selector:
|
|
40
41
|
'#{$component-selector}:has(textarea:#{$state}) #{$component-selector}__#{$element}:#{$elementState}',
|
|
41
|
-
$enabled: $zero-specificity-for-
|
|
42
|
+
$enabled: $zero-specificity-for-components
|
|
42
43
|
) {
|
|
43
44
|
@extend %#{$component-name}-state-#{$state}-element-#{$element}--#{$elementState}
|
|
44
45
|
!optional;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../context' as *;
|
|
3
|
+
|
|
4
|
+
$component-name: map.get($components-names, vv-toast);
|
|
5
|
+
$component-map: $vv-toast;
|
|
6
|
+
|
|
7
|
+
@include spread-map-into-bem(
|
|
8
|
+
$map: $component-map,
|
|
9
|
+
$block: $component-name,
|
|
10
|
+
$props: $use-custom-props-for-components,
|
|
11
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
12
|
+
$bps: $breakpoints
|
|
13
|
+
);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../context' as *;
|
|
3
|
+
|
|
4
|
+
$component-name: map.get($components-names, vv-tooltip);
|
|
5
|
+
$component-map: $vv-tooltip;
|
|
6
|
+
$component-selector: '.#{ $component-name}';
|
|
7
|
+
|
|
8
|
+
@include spread-map-into-bem(
|
|
9
|
+
$map: $component-map,
|
|
10
|
+
$block: $component-name,
|
|
11
|
+
$props: $use-custom-props-for-components,
|
|
12
|
+
$zero-specificity: $zero-specificity-for-components,
|
|
13
|
+
$bps: $breakpoints
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
@include wrap-with-where(
|
|
17
|
+
$selector: '*:has(#{$component-selector})',
|
|
18
|
+
$enabled: $zero-specificity-for-components
|
|
19
|
+
) {
|
|
20
|
+
position: relative;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@include wrap-with-where(
|
|
24
|
+
$selector: '*:has(> #{$component-selector})',
|
|
25
|
+
$enabled: $zero-specificity-for-components
|
|
26
|
+
) {
|
|
27
|
+
&:hover,
|
|
28
|
+
&:focus-visible,
|
|
29
|
+
&.hover,
|
|
30
|
+
&.focus-visible {
|
|
31
|
+
@extend %vv-tooltip--visible !optional;
|
|
32
|
+
}
|
|
33
|
+
}
|