@volverjs/style 0.1.22 → 0.1.24-beta.1
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 +30 -0
- package/dist/base.css +1 -1
- package/dist/components/vv-accordion.css +1 -1
- package/dist/components/vv-alert.css +1 -1
- package/dist/components/vv-badge.css +1 -1
- package/dist/components/vv-button.css +1 -1
- package/dist/components/vv-card.css +1 -1
- package/dist/components/vv-checkbox.css +1 -1
- package/dist/components/vv-dropdown-action.css +1 -1
- package/dist/components/vv-dropdown-option.css +1 -1
- package/dist/components/vv-dropdown.css +1 -1
- package/dist/components/vv-input-file.css +1 -1
- package/dist/components/vv-input-text.css +1 -1
- package/dist/components/vv-nav.css +1 -1
- package/dist/components/vv-radio.css +1 -1
- package/dist/components/vv-select.css +1 -1
- package/dist/components/vv-text.css +1 -1
- package/dist/components/vv-tooltip.css +1 -1
- package/dist/components.css +1 -1
- package/dist/export.css +1 -1
- package/dist/props/breakpoints.css +1 -1
- package/dist/props/colors.css +1 -1
- package/dist/props/effects.css +1 -1
- package/dist/props/spacing.css +1 -1
- package/dist/props/transitions.css +1 -1
- package/dist/props/typography.css +1 -1
- package/dist/props.css +1 -1
- package/dist/reset.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/borders.css +1 -1
- package/dist/utilities/colors.css +1 -1
- package/dist/utilities/effects.css +1 -1
- package/dist/utilities/flexbox.css +1 -1
- package/dist/utilities/grid.css +1 -1
- package/dist/utilities/layout.css +1 -1
- package/dist/utilities/sizing.css +1 -1
- package/dist/utilities/typography.css +1 -1
- package/dist/utilities.css +1 -1
- package/dist/volver.css +1 -1
- package/package.json +22 -22
- package/src/_config.scss +12 -0
- package/src/_layers.scss +4 -0
- package/src/_preflight.scss +2 -0
- package/src/components/vv-accordion-group.scss +3 -0
- package/src/components/vv-accordion.scss +3 -0
- package/src/components/vv-alert-group.scss +3 -0
- package/src/components/vv-alert.scss +3 -0
- package/src/components/vv-avatar-group.scss +3 -0
- package/src/components/vv-avatar.scss +3 -0
- package/src/components/vv-badge.scss +3 -0
- package/src/components/vv-breadcrumb.scss +3 -0
- package/src/components/vv-button-group.scss +3 -0
- package/src/components/vv-button.scss +3 -0
- package/src/components/vv-card.scss +3 -0
- package/src/components/vv-checkbox-group.scss +3 -0
- package/src/components/vv-checkbox.scss +3 -0
- package/src/components/vv-dialog.scss +3 -0
- package/src/components/vv-dropdown-action.scss +3 -0
- package/src/components/vv-dropdown-optgroup.scss +3 -0
- package/src/components/vv-dropdown-option.scss +3 -0
- package/src/components/vv-dropdown.scss +3 -0
- package/src/components/vv-input-file.scss +3 -0
- package/src/components/vv-input-text.scss +3 -0
- package/src/components/vv-nav.scss +3 -0
- package/src/components/vv-progress.scss +3 -0
- package/src/components/vv-radio-group.scss +3 -0
- package/src/components/vv-radio.scss +3 -0
- package/src/components/vv-select.scss +3 -0
- package/src/components/vv-skeleton.scss +3 -0
- package/src/components/vv-tab.scss +3 -0
- package/src/components/vv-table.scss +3 -0
- package/src/components/vv-text.scss +3 -0
- package/src/components/vv-textarea.scss +3 -0
- package/src/components/vv-tooltip.scss +5 -7
- package/src/export.scss +0 -1
- package/src/props/background.scss +5 -3
- package/src/props/borders.scss +5 -3
- package/src/props/breakpoints.scss +11 -9
- package/src/props/colors.scss +4 -2
- package/src/props/effects.scss +5 -3
- package/src/props/filters.scss +6 -4
- package/src/props/input.scss +4 -2
- package/src/props/layout.scss +5 -3
- package/src/props/sizing.scss +5 -3
- package/src/props/spacing.scss +16 -16
- package/src/props/transitions.scss +150 -118
- package/src/props/typography.scss +24 -24
- package/src/reset.scss +4 -3
- package/src/settings/_colors.scss +80 -50
- package/src/settings/_effects.scss +7 -7
- package/src/settings/components/_vv-accordion.scss +2 -1
- package/src/settings/components/_vv-badge.scss +2 -10
- package/src/settings/components/_vv-button.scss +1 -1
- package/src/settings/components/_vv-card.scss +3 -17
- package/src/settings/components/_vv-nav.scss +1 -6
- package/src/settings/components/_vv-text.scss +1 -0
- package/src/themes/dark/components/_vv-alert.scss +14 -10
- package/src/themes/dark/components/_vv-avatar.scss +14 -10
- package/src/themes/dark/components/_vv-badge.scss +14 -10
- package/src/themes/dark/components/_vv-button.scss +14 -10
- package/src/themes/dark/components/_vv-dropdown-action.scss +14 -10
- package/src/themes/dark/components/_vv-dropdown-option.scss +14 -10
- package/src/themes/dark/components/_vv-nav.scss +14 -10
- package/src/themes/dark/components/_vv-select.scss +14 -10
- package/src/themes/dark/props/_background.scss +3 -0
- package/src/themes/dark/props/_colors.scss +3 -0
- package/src/themes/dark/props/_input.scss +3 -0
- package/src/themes/dark/settings/_colors.scss +42 -28
- package/src/themes/dark/settings/components/_vv-alert.scss +23 -0
- package/src/themes/dark/settings/components/_vv-avatar.scss +3 -0
- package/src/themes/dark/settings/components/_vv-button.scss +0 -1
- package/src/tools/_breakpoints.scss +20 -4
- package/src/tools/_functions.scss +157 -0
- package/src/tools/_mixins.scss +5 -1216
- package/src/tools/mixin-modules/_attrs.scss +178 -0
- package/src/tools/mixin-modules/_bem.scss +751 -0
- package/src/tools/mixin-modules/_helpers.scss +23 -0
- package/src/tools/mixin-modules/_index.scss +25 -0
- package/src/tools/mixin-modules/_layers.scss +42 -0
- package/src/tools/mixin-modules/_props.scss +41 -0
- package/src/tools/mixin-modules/_theme.scss +354 -0
- package/src/tools/mixin-modules/_utilities.scss +121 -0
- package/src/utilities/backgrounds.scss +3 -0
- package/src/utilities/borders.scss +3 -0
- package/src/utilities/colors.scss +3 -0
- package/src/utilities/effects.scss +3 -0
- package/src/utilities/filters.scss +3 -0
- package/src/utilities/flexbox.scss +3 -0
- package/src/utilities/grid.scss +3 -0
- package/src/utilities/interactivity.scss +3 -0
- package/src/utilities/layout.scss +3 -0
- package/src/utilities/sizing.scss +3 -0
- package/src/utilities/spacing.scss +3 -0
- package/src/utilities/tables.scss +3 -0
- package/src/utilities/transforms.scss +11 -6
- package/src/utilities/transitions.scss +3 -0
- package/src/utilities/typography.scss +3 -0
- package/src/volver.scss +2 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '../context' as *;
|
|
3
3
|
|
|
4
|
+
@include layer(utilities, $use-css-layers, $layer-prefix) {
|
|
4
5
|
// cursor
|
|
5
6
|
@include spread-map-into-utilities(
|
|
6
7
|
$map: $cursor,
|
|
@@ -24,3 +25,5 @@
|
|
|
24
25
|
$attribute: user-select,
|
|
25
26
|
$zero-specificity: $zero-specificity-for-utilities
|
|
26
27
|
);
|
|
28
|
+
|
|
29
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use 'sass:meta';
|
|
3
3
|
@use '../context' as *;
|
|
4
4
|
|
|
5
|
+
@include layer(utilities, $use-css-layers, $layer-prefix) {
|
|
5
6
|
// aspect
|
|
6
7
|
@include spread-map-into-utilities(
|
|
7
8
|
$map: $aspect-ratio,
|
|
@@ -204,3 +205,5 @@
|
|
|
204
205
|
$prop: z,
|
|
205
206
|
$zero-specificity: $zero-specificity-for-utilities
|
|
206
207
|
);
|
|
208
|
+
|
|
209
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '../context' as *;
|
|
3
3
|
|
|
4
|
+
@include layer(utilities, $use-css-layers, $layer-prefix) {
|
|
4
5
|
// width / height / max-width / max-height / min-width / min-height
|
|
5
6
|
@each $class,
|
|
6
7
|
$attribute
|
|
@@ -84,3 +85,5 @@
|
|
|
84
85
|
$bps: $breakpoints,
|
|
85
86
|
$zero-specificity: $zero-specificity-for-utilities
|
|
86
87
|
);
|
|
88
|
+
|
|
89
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use 'sass:meta';
|
|
3
3
|
@use '../context' as *;
|
|
4
4
|
|
|
5
|
+
@include layer(utilities, $use-css-layers, $layer-prefix) {
|
|
5
6
|
@each $prefix, $prop in (m: margin, p: padding, n: margin) {
|
|
6
7
|
@each $size, $value in map.merge($spacing, $spacing-dynamic) {
|
|
7
8
|
$var: var(--spacing-#{$size});
|
|
@@ -116,3 +117,5 @@
|
|
|
116
117
|
@extend %m#{$direction-prefix}-auto;
|
|
117
118
|
}
|
|
118
119
|
}
|
|
120
|
+
|
|
121
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use '../context' as *;
|
|
2
2
|
|
|
3
|
+
@include layer(utilities, $use-css-layers, $layer-prefix) {
|
|
3
4
|
// border-collapse
|
|
4
5
|
@include spread-map-into-utilities(
|
|
5
6
|
$map: $border-collapse,
|
|
@@ -15,3 +16,5 @@
|
|
|
15
16
|
$attribute: table-layout,
|
|
16
17
|
$zero-specificity: $zero-specificity-for-utilities
|
|
17
18
|
);
|
|
19
|
+
|
|
20
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use '../context' as *;
|
|
2
2
|
|
|
3
|
+
@include layer(utilities, $use-css-layers, $layer-prefix) {
|
|
3
4
|
// scale
|
|
4
5
|
@each $size, $value in $scale {
|
|
5
6
|
%scale-#{$size} {
|
|
@@ -54,12 +55,14 @@
|
|
|
54
55
|
|
|
55
56
|
// translate
|
|
56
57
|
@each $size, $value in $translate {
|
|
58
|
+
$escaped-size: str-replace(#{$size}, '/', '\/');
|
|
59
|
+
|
|
57
60
|
%translate-#{$size} {
|
|
58
61
|
translate: #{$value} #{$value};
|
|
59
62
|
}
|
|
60
63
|
|
|
61
64
|
@include wrap-with-where(
|
|
62
|
-
$selector: '.translate-#{$size}',
|
|
65
|
+
$selector: '.translate-#{$escaped-size}',
|
|
63
66
|
$enabled: $zero-specificity-for-utilities
|
|
64
67
|
) {
|
|
65
68
|
@extend %translate-#{$size};
|
|
@@ -70,7 +73,7 @@
|
|
|
70
73
|
}
|
|
71
74
|
|
|
72
75
|
@include wrap-with-where(
|
|
73
|
-
$selector: '.translate-x-#{$size}',
|
|
76
|
+
$selector: '.translate-x-#{$escaped-size}',
|
|
74
77
|
$enabled: $zero-specificity-for-utilities
|
|
75
78
|
) {
|
|
76
79
|
@extend %translate-x-#{$size};
|
|
@@ -81,7 +84,7 @@
|
|
|
81
84
|
}
|
|
82
85
|
|
|
83
86
|
@include wrap-with-where(
|
|
84
|
-
$selector: '.translate-y-#{$size}',
|
|
87
|
+
$selector: '.translate-y-#{$escaped-size}',
|
|
85
88
|
$enabled: $zero-specificity-for-utilities
|
|
86
89
|
) {
|
|
87
90
|
@extend %translate-y-#{$size};
|
|
@@ -92,7 +95,7 @@
|
|
|
92
95
|
}
|
|
93
96
|
|
|
94
97
|
@include wrap-with-where(
|
|
95
|
-
$selector: '.-translate-#{$size}',
|
|
98
|
+
$selector: '.-translate-#{$escaped-size}',
|
|
96
99
|
$enabled: $zero-specificity-for-utilities
|
|
97
100
|
) {
|
|
98
101
|
@extend %-translate-#{$size};
|
|
@@ -103,7 +106,7 @@
|
|
|
103
106
|
}
|
|
104
107
|
|
|
105
108
|
@include wrap-with-where(
|
|
106
|
-
$selector: '.-translate-x-#{$size}',
|
|
109
|
+
$selector: '.-translate-x-#{$escaped-size}',
|
|
107
110
|
$enabled: $zero-specificity-for-utilities
|
|
108
111
|
) {
|
|
109
112
|
@extend %-translate-x-#{$size};
|
|
@@ -114,9 +117,11 @@
|
|
|
114
117
|
}
|
|
115
118
|
|
|
116
119
|
@include wrap-with-where(
|
|
117
|
-
$selector: '.-translate-y-#{$size}',
|
|
120
|
+
$selector: '.-translate-y-#{$escaped-size}',
|
|
118
121
|
$enabled: $zero-specificity-for-utilities
|
|
119
122
|
) {
|
|
120
123
|
@extend %-translate-y-#{$size};
|
|
121
124
|
}
|
|
122
125
|
}
|
|
126
|
+
|
|
127
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '../context' as *;
|
|
3
3
|
|
|
4
|
+
@include layer(utilities, $use-css-layers, $layer-prefix) {
|
|
4
5
|
// font-family
|
|
5
6
|
@include spread-map-into-utilities(
|
|
6
7
|
$map: $font-family,
|
|
@@ -263,3 +264,5 @@
|
|
|
263
264
|
$attribute: white-space,
|
|
264
265
|
$zero-specificity: $zero-specificity-for-utilities
|
|
265
266
|
);
|
|
267
|
+
|
|
268
|
+
}
|
package/src/volver.scss
CHANGED