@db-ux/core-foundations 2.0.0-0-custom-select-16b8cce → 2.0.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/build/ide/db.ide.css +10 -10
- package/build/styles/_screen-sizes.scss +62 -6
- package/build/styles/_variables.scss +9 -9
- package/build/styles/absolute.css +9015 -593
- package/build/styles/absolute.scss +1 -1
- package/build/styles/colors/_default-color-icons.scss +11 -0
- package/build/styles/colors/_default-color-mappings.scss +2944 -0
- package/build/styles/colors/_placeholder.scss +160 -153
- package/build/styles/colors/_variables.scss +20 -19
- package/build/styles/colors/classes/all.css +2205 -2115
- package/build/styles/colors/classes/blue.css +175 -141
- package/build/styles/colors/classes/brand.css +175 -141
- package/build/styles/colors/classes/critical.css +175 -141
- package/build/styles/colors/classes/cyan.css +175 -141
- package/build/styles/colors/classes/green.css +175 -141
- package/build/styles/colors/classes/informational.css +175 -141
- package/build/styles/colors/classes/neutral.css +175 -141
- package/build/styles/colors/classes/orange.css +175 -141
- package/build/styles/colors/classes/pink.css +175 -141
- package/build/styles/colors/classes/red.css +175 -141
- package/build/styles/colors/classes/successful.css +175 -141
- package/build/styles/colors/classes/turquoise.css +175 -141
- package/build/styles/colors/classes/violet.css +175 -141
- package/build/styles/colors/classes/warning.css +175 -141
- package/build/styles/colors/classes/yellow.css +175 -141
- package/build/styles/colors/speaking-colors/additional/_blue.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/additional/_cyan.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/additional/_green.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/additional/_orange.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/additional/_pink.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/additional/_red.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/additional/_turquoise.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/additional/_violet.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/additional/_yellow.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/semantic/_brand.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/semantic/_critical.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/semantic/_informational.speaking-colors.scss +15 -0
- package/build/styles/colors/speaking-colors/semantic/_neutral.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/semantic/_successful.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/semantic/_warning.speaking-colors.scss +9 -0
- package/build/styles/colors/speaking-colors/vibrant.js +43 -0
- package/build/styles/defaults/_default-properties.scss +6770 -0
- package/build/styles/defaults/default-code.css +93 -93
- package/build/styles/defaults/default-code.scss +6 -4
- package/build/styles/defaults/default-elevation.css +1 -1
- package/build/styles/defaults/default-fonts.css +7 -7
- package/build/styles/defaults/default-fonts.scss +15 -18
- package/build/styles/defaults/default-icons.css +1 -1
- package/build/styles/defaults/default-required.css +1 -1
- package/build/styles/defaults/default-required.scss +33 -13
- package/build/styles/defaults/default-root.css +93 -93
- package/build/styles/defaults/default-theme.css +93 -93
- package/build/styles/defaults/default-theme.scss +9 -854
- package/build/styles/density/_scaling-placeholder.scss +57 -38
- package/build/styles/density/_typography-placeholder.scss +66 -42
- package/build/styles/density/classes/all.css +944 -951
- package/build/styles/density/classes/expressive.css +396 -327
- package/build/styles/density/classes/functional.css +396 -327
- package/build/styles/density/classes/regular.css +396 -327
- package/build/styles/fonts/_font-sizes.scss +18 -12
- package/build/styles/fonts/classes/all.css +236 -90
- package/build/styles/fonts/classes/body/2xl.css +100 -5
- package/build/styles/fonts/classes/body/2xs.css +100 -5
- package/build/styles/fonts/classes/body/3xl.css +100 -5
- package/build/styles/fonts/classes/body/3xs.css +100 -5
- package/build/styles/fonts/classes/body/all.css +164 -45
- package/build/styles/fonts/classes/body/lg.css +100 -5
- package/build/styles/fonts/classes/body/md.css +100 -5
- package/build/styles/fonts/classes/body/sm.css +100 -5
- package/build/styles/fonts/classes/body/xl.css +100 -5
- package/build/styles/fonts/classes/body/xs.css +100 -5
- package/build/styles/fonts/classes/headline/2xl.css +100 -5
- package/build/styles/fonts/classes/headline/2xs.css +100 -5
- package/build/styles/fonts/classes/headline/3xl.css +100 -5
- package/build/styles/fonts/classes/headline/3xs.css +100 -5
- package/build/styles/fonts/classes/headline/all.css +164 -45
- package/build/styles/fonts/classes/headline/lg.css +100 -5
- package/build/styles/fonts/classes/headline/md.css +100 -5
- package/build/styles/fonts/classes/headline/sm.css +100 -5
- package/build/styles/fonts/classes/headline/xl.css +100 -5
- package/build/styles/fonts/classes/headline/xs.css +100 -5
- package/build/styles/helpers/_divider.scss +5 -5
- package/build/styles/helpers/_focus.scss +3 -3
- package/build/styles/helpers/_index.scss +1 -0
- package/build/styles/helpers/_layer.scss +1 -0
- package/build/styles/helpers/classes/all.css +49 -19
- package/build/styles/helpers/classes/divider.css +46 -16
- package/build/styles/helpers/classes/focus.css +33 -3
- package/build/styles/icons/absolute.css +1 -1
- package/build/styles/icons/relative.css +1 -1
- package/build/styles/icons/rollup.css +1 -1
- package/build/styles/icons/webpack.css +1 -1
- package/build/styles/index.css +3570 -517
- package/build/styles/relative.css +7819 -5560
- package/build/styles/rollup.css +9015 -593
- package/build/styles/rollup.scss +1 -1
- package/build/styles/webpack.css +9015 -593
- package/build/styles/webpack.scss +1 -1
- package/build/tailwind/tailwind-tokens.json +10 -10
- package/build/tailwind/theme/index.css +10 -10
- package/package.json +4 -4
- package/build/styles/colors/_default-color-scheme.scss +0 -2961
- package/build/styles/colors/_default-palette.scss +0 -2523
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "variables";
|
|
2
2
|
@use "../screen-sizes";
|
|
3
|
+
@use "../helpers";
|
|
3
4
|
|
|
4
5
|
@function get-variable($key, $density, $size, $device: "") {
|
|
5
6
|
@return var(--db-#{$key}-#{$density}-#{$device}#{$size});
|
|
@@ -7,51 +8,69 @@
|
|
|
7
8
|
|
|
8
9
|
@each $density in variables.$densities {
|
|
9
10
|
%db-scaling-#{$density} {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
)};
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@each $fix in variables.$sizings {
|
|
19
|
-
--db-spacing-fixed-#{$fix}: #{get-variable(
|
|
20
|
-
"spacing-fixed",
|
|
21
|
-
$density,
|
|
22
|
-
$fix
|
|
23
|
-
)};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@each $res in variables.$sizings {
|
|
27
|
-
--db-spacing-responsive-#{$res}: #{get-variable(
|
|
28
|
-
"spacing-responsive",
|
|
29
|
-
$density,
|
|
30
|
-
$res,
|
|
31
|
-
"mobile-"
|
|
32
|
-
)};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@include screen-sizes.screen() {
|
|
36
|
-
@each $res in variables.$sizings {
|
|
37
|
-
--db-spacing-responsive-#{$res}: #{get-variable(
|
|
38
|
-
"spacing-responsive",
|
|
11
|
+
/* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
|
|
12
|
+
@layer #{helpers.$layer-variables} {
|
|
13
|
+
@each $sizing in variables.$sizings {
|
|
14
|
+
--db-sizing-#{$sizing}: #{get-variable(
|
|
15
|
+
"sizing",
|
|
39
16
|
$density,
|
|
40
|
-
$
|
|
41
|
-
"tablet-"
|
|
17
|
+
$sizing
|
|
42
18
|
)};
|
|
43
19
|
}
|
|
44
|
-
}
|
|
45
20
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"spacing-responsive",
|
|
21
|
+
@each $fix in variables.$sizings {
|
|
22
|
+
--db-spacing-fixed-#{$fix}: #{get-variable(
|
|
23
|
+
"spacing-fixed",
|
|
50
24
|
$density,
|
|
51
|
-
$
|
|
52
|
-
"desktop-"
|
|
25
|
+
$fix
|
|
53
26
|
)};
|
|
54
27
|
}
|
|
28
|
+
|
|
29
|
+
@include screen-sizes.screen-min-max(
|
|
30
|
+
(
|
|
31
|
+
max: "sm"
|
|
32
|
+
)
|
|
33
|
+
) {
|
|
34
|
+
@each $res in variables.$sizings {
|
|
35
|
+
--db-spacing-responsive-#{$res}: #{get-variable(
|
|
36
|
+
"spacing-responsive",
|
|
37
|
+
$density,
|
|
38
|
+
$res,
|
|
39
|
+
"mobile-"
|
|
40
|
+
)};
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include screen-sizes.screen-min-max(
|
|
45
|
+
(
|
|
46
|
+
min: "sm",
|
|
47
|
+
max: "md"
|
|
48
|
+
)
|
|
49
|
+
) {
|
|
50
|
+
@each $res in variables.$sizings {
|
|
51
|
+
--db-spacing-responsive-#{$res}: #{get-variable(
|
|
52
|
+
"spacing-responsive",
|
|
53
|
+
$density,
|
|
54
|
+
$res,
|
|
55
|
+
"tablet-"
|
|
56
|
+
)};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@include screen-sizes.screen-min-max(
|
|
61
|
+
(
|
|
62
|
+
min: "md"
|
|
63
|
+
)
|
|
64
|
+
) {
|
|
65
|
+
@each $res in variables.$sizings {
|
|
66
|
+
--db-spacing-responsive-#{$res}: #{get-variable(
|
|
67
|
+
"spacing-responsive",
|
|
68
|
+
$density,
|
|
69
|
+
$res,
|
|
70
|
+
"desktop-"
|
|
71
|
+
)};
|
|
72
|
+
}
|
|
73
|
+
}
|
|
55
74
|
}
|
|
56
75
|
}
|
|
57
76
|
}
|
|
@@ -1,35 +1,23 @@
|
|
|
1
1
|
@use "sass:string";
|
|
2
2
|
@use "variables";
|
|
3
3
|
@use "../screen-sizes";
|
|
4
|
+
@use "../helpers";
|
|
4
5
|
|
|
5
|
-
@function get-typography(
|
|
6
|
-
$density,
|
|
7
|
-
$device,
|
|
8
|
-
$size,
|
|
9
|
-
$type,
|
|
10
|
-
$attribute: "font-size"
|
|
11
|
-
) {
|
|
6
|
+
@function get-typography($density, $device, $size, $type) {
|
|
12
7
|
@return var(
|
|
13
8
|
string.unquote(
|
|
14
|
-
"--db-typography-#{$density}-#{$device}-#{$type}-#{$size}
|
|
9
|
+
"--db-typography-#{$density}-#{$device}-#{$type}-#{$size}"
|
|
15
10
|
)
|
|
16
11
|
);
|
|
17
12
|
}
|
|
18
13
|
|
|
19
14
|
@mixin get-font($density, $device, $size, $type: "body") {
|
|
20
|
-
--db-type-#{$type}
|
|
15
|
+
--db-type-#{$type}-#{$size}: #{get-typography(
|
|
21
16
|
$density,
|
|
22
17
|
$device,
|
|
23
18
|
$size,
|
|
24
19
|
$type
|
|
25
20
|
)};
|
|
26
|
-
--db-type-#{$type}-line-height-#{$size}: #{get-typography(
|
|
27
|
-
$density,
|
|
28
|
-
$device,
|
|
29
|
-
$size,
|
|
30
|
-
$type,
|
|
31
|
-
"line-height"
|
|
32
|
-
)};
|
|
33
21
|
}
|
|
34
22
|
|
|
35
23
|
@mixin get-icons($density, $device, $size, $type: "body") {
|
|
@@ -43,43 +31,79 @@
|
|
|
43
31
|
|
|
44
32
|
@each $density in variables.$densities {
|
|
45
33
|
%db-typography-headline-#{$density} {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
@include
|
|
49
|
-
|
|
34
|
+
/* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
|
|
35
|
+
@layer #{helpers.$layer-variables} {
|
|
36
|
+
@include screen-sizes.screen-min-max(
|
|
37
|
+
(
|
|
38
|
+
max: "sm"
|
|
39
|
+
)
|
|
40
|
+
) {
|
|
41
|
+
@each $size in variables.$sizings {
|
|
42
|
+
@include get-font($density, "mobile", $size, "headline");
|
|
43
|
+
@include get-icons($density, "mobile", $size, "headline");
|
|
44
|
+
}
|
|
45
|
+
}
|
|
50
46
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
@include screen-sizes.screen-min-max(
|
|
48
|
+
(
|
|
49
|
+
min: "sm",
|
|
50
|
+
max: "md"
|
|
51
|
+
)
|
|
52
|
+
) {
|
|
53
|
+
@each $size in variables.$sizings {
|
|
54
|
+
@include get-font($density, "tablet", $size, "headline");
|
|
55
|
+
@include get-icons($density, "tablet", $size, "headline");
|
|
56
|
+
}
|
|
55
57
|
}
|
|
56
|
-
}
|
|
57
58
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
@include screen-sizes.screen-min-max(
|
|
60
|
+
(
|
|
61
|
+
min: "md"
|
|
62
|
+
)
|
|
63
|
+
) {
|
|
64
|
+
@each $size in variables.$sizings {
|
|
65
|
+
@include get-font($density, "desktop", $size, "headline");
|
|
66
|
+
@include get-icons($density, "desktop", $size, "headline");
|
|
67
|
+
}
|
|
62
68
|
}
|
|
63
69
|
}
|
|
64
70
|
}
|
|
65
71
|
|
|
66
72
|
%db-typography-body-#{$density} {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
@include
|
|
70
|
-
|
|
73
|
+
/* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
|
|
74
|
+
@layer #{helpers.$layer-variables} {
|
|
75
|
+
@include screen-sizes.screen-min-max(
|
|
76
|
+
(
|
|
77
|
+
max: "sm"
|
|
78
|
+
)
|
|
79
|
+
) {
|
|
80
|
+
@each $size in variables.$sizings {
|
|
81
|
+
@include get-font($density, "mobile", $size);
|
|
82
|
+
@include get-icons($density, "mobile", $size);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
71
85
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
86
|
+
@include screen-sizes.screen-min-max(
|
|
87
|
+
(
|
|
88
|
+
min: "sm",
|
|
89
|
+
max: "md"
|
|
90
|
+
)
|
|
91
|
+
) {
|
|
92
|
+
@each $size in variables.$sizings {
|
|
93
|
+
@include get-font($density, "tablet", $size);
|
|
94
|
+
@include get-icons($density, "tablet", $size);
|
|
95
|
+
}
|
|
76
96
|
}
|
|
77
|
-
}
|
|
78
97
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
98
|
+
@include screen-sizes.screen-min-max(
|
|
99
|
+
(
|
|
100
|
+
min: "md"
|
|
101
|
+
)
|
|
102
|
+
) {
|
|
103
|
+
@each $size in variables.$sizings {
|
|
104
|
+
@include get-font($density, "desktop", $size);
|
|
105
|
+
@include get-icons($density, "desktop", $size);
|
|
106
|
+
}
|
|
83
107
|
}
|
|
84
108
|
}
|
|
85
109
|
}
|