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