@db-ux/core-foundations 2.4.4 → 3.0.0

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 (88) hide show
  1. package/README.md +1 -1
  2. package/build/styles/_screen-sizes.scss +6 -6
  3. package/build/styles/_variables.scss +20 -0
  4. package/build/styles/absolute.css +277 -79
  5. package/build/styles/colors/_default-color-mappings.scss +170 -34
  6. package/build/styles/colors/_placeholder.scss +10 -4
  7. package/build/styles/colors/_variables.scss +10 -4
  8. package/build/styles/colors/classes/all.css +170 -68
  9. package/build/styles/colors/classes/blue.css +10 -4
  10. package/build/styles/colors/classes/brand.css +10 -4
  11. package/build/styles/colors/classes/burgundy.css +10 -4
  12. package/build/styles/colors/classes/critical.css +10 -4
  13. package/build/styles/colors/classes/cyan.css +10 -4
  14. package/build/styles/colors/classes/green.css +10 -4
  15. package/build/styles/colors/classes/informational.css +10 -4
  16. package/build/styles/colors/classes/light-green.css +10 -4
  17. package/build/styles/colors/classes/neutral.css +10 -4
  18. package/build/styles/colors/classes/orange.css +10 -4
  19. package/build/styles/colors/classes/pink.css +10 -4
  20. package/build/styles/colors/classes/red.css +10 -4
  21. package/build/styles/colors/classes/successful.css +10 -4
  22. package/build/styles/colors/classes/turquoise.css +10 -4
  23. package/build/styles/colors/classes/violet.css +10 -4
  24. package/build/styles/colors/classes/warning.css +10 -4
  25. package/build/styles/colors/classes/yellow.css +10 -4
  26. package/build/styles/colors/speaking-colors/additional/_blue.speaking-colors.scss +10 -4
  27. package/build/styles/colors/speaking-colors/additional/_burgundy.speaking-colors.scss +10 -4
  28. package/build/styles/colors/speaking-colors/additional/_cyan.speaking-colors.scss +10 -4
  29. package/build/styles/colors/speaking-colors/additional/_green.speaking-colors.scss +10 -4
  30. package/build/styles/colors/speaking-colors/additional/_light-green.speaking-colors.scss +10 -4
  31. package/build/styles/colors/speaking-colors/additional/_orange.speaking-colors.scss +10 -4
  32. package/build/styles/colors/speaking-colors/additional/_pink.speaking-colors.scss +10 -4
  33. package/build/styles/colors/speaking-colors/additional/_red.speaking-colors.scss +10 -4
  34. package/build/styles/colors/speaking-colors/additional/_turquoise.speaking-colors.scss +10 -4
  35. package/build/styles/colors/speaking-colors/additional/_violet.speaking-colors.scss +10 -4
  36. package/build/styles/colors/speaking-colors/additional/_yellow.speaking-colors.scss +10 -4
  37. package/build/styles/colors/speaking-colors/semantic/_brand.speaking-colors.scss +10 -4
  38. package/build/styles/colors/speaking-colors/semantic/_critical.speaking-colors.scss +10 -4
  39. package/build/styles/colors/speaking-colors/semantic/_informational.speaking-colors.scss +10 -4
  40. package/build/styles/colors/speaking-colors/semantic/_neutral.speaking-colors.scss +10 -4
  41. package/build/styles/colors/speaking-colors/semantic/_successful.speaking-colors.scss +10 -4
  42. package/build/styles/colors/speaking-colors/semantic/_warning.speaking-colors.scss +10 -4
  43. package/build/styles/defaults/_default-container-properties.scss +62 -0
  44. package/build/styles/defaults/_default-container-variables.scss +11 -0
  45. package/build/styles/defaults/default-code.css +9 -5
  46. package/build/styles/defaults/default-code.scss +1 -1
  47. package/build/styles/defaults/default-icons.css +1 -1
  48. package/build/styles/defaults/default-icons.scss +11 -11
  49. package/build/styles/defaults/default-required.css +1 -1
  50. package/build/styles/defaults/default-root.css +9 -5
  51. package/build/styles/defaults/default-theme.css +9 -5
  52. package/build/styles/defaults/default-theme.scss +1 -0
  53. package/build/styles/density/classes/all.css +20 -18
  54. package/build/styles/density/classes/expressive.css +8 -6
  55. package/build/styles/density/classes/functional.css +8 -6
  56. package/build/styles/density/classes/regular.css +8 -6
  57. package/build/styles/fonts/classes/all.css +2 -0
  58. package/build/styles/fonts/classes/body/2xl.css +2 -0
  59. package/build/styles/fonts/classes/body/2xs.css +2 -0
  60. package/build/styles/fonts/classes/body/3xl.css +2 -0
  61. package/build/styles/fonts/classes/body/3xs.css +2 -0
  62. package/build/styles/fonts/classes/body/all.css +2 -0
  63. package/build/styles/fonts/classes/body/lg.css +2 -0
  64. package/build/styles/fonts/classes/body/md.css +2 -0
  65. package/build/styles/fonts/classes/body/sm.css +2 -0
  66. package/build/styles/fonts/classes/body/xl.css +2 -0
  67. package/build/styles/fonts/classes/body/xs.css +2 -0
  68. package/build/styles/fonts/classes/headline/2xl.css +2 -0
  69. package/build/styles/fonts/classes/headline/2xs.css +2 -0
  70. package/build/styles/fonts/classes/headline/3xl.css +2 -0
  71. package/build/styles/fonts/classes/headline/3xs.css +2 -0
  72. package/build/styles/fonts/classes/headline/all.css +2 -0
  73. package/build/styles/fonts/classes/headline/lg.css +2 -0
  74. package/build/styles/fonts/classes/headline/md.css +2 -0
  75. package/build/styles/fonts/classes/headline/sm.css +2 -0
  76. package/build/styles/fonts/classes/headline/xl.css +2 -0
  77. package/build/styles/fonts/classes/headline/xs.css +2 -0
  78. package/build/styles/helpers/classes/all.css +2 -0
  79. package/build/styles/helpers/classes/divider.css +2 -0
  80. package/build/styles/helpers/classes/focus.css +2 -0
  81. package/build/styles/icons/_icon-helpers.scss +10 -4
  82. package/build/styles/index.css +223 -79
  83. package/build/styles/relative.css +277 -79
  84. package/build/styles/rollup.css +277 -79
  85. package/build/styles/webpack.css +277 -79
  86. package/build/tailwind/tailwind-tokens.json +10 -4
  87. package/build/tailwind/theme/colors.css +10 -4
  88. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  @use "../colors/placeholder";
2
2
 
3
3
  @forward "default-properties";
4
+ @forward "default-container-properties";
4
5
 
5
6
  @property --db-font-family-sans {
6
7
  syntax: "*";
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -160,7 +162,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
160
162
  /* stylelint-disable-next-line media-query-no-invalid */
161
163
  /* stylelint-disable-next-line at-rule-empty-line-before */
162
164
  }
163
- @media screen and (width <= 45em) {
165
+ @media screen and (width <= 48em) {
164
166
  .db-density-expressive,
165
167
  [data-density=expressive] {
166
168
  --db-spacing-responsive-3xs: var(--db-spacing-responsive-expressive-mobile-3xs);
@@ -174,7 +176,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
174
176
  --db-spacing-responsive-3xl: var(--db-spacing-responsive-expressive-mobile-3xl);
175
177
  }
176
178
  }
177
- @media screen and (45em < width <= 64em) {
179
+ @media screen and (48em < width <= 64em) {
178
180
  .db-density-expressive,
179
181
  [data-density=expressive] {
180
182
  --db-spacing-responsive-3xs: var(--db-spacing-responsive-expressive-tablet-3xs);
@@ -236,7 +238,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
236
238
  /* stylelint-disable-next-line media-query-no-invalid */
237
239
  /* stylelint-disable-next-line at-rule-empty-line-before */
238
240
  }
239
- @media screen and (width <= 45em) {
241
+ @media screen and (width <= 48em) {
240
242
  .db-density-regular,
241
243
  [data-density=regular] {
242
244
  --db-spacing-responsive-3xs: var(--db-spacing-responsive-regular-mobile-3xs);
@@ -250,7 +252,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
250
252
  --db-spacing-responsive-3xl: var(--db-spacing-responsive-regular-mobile-3xl);
251
253
  }
252
254
  }
253
- @media screen and (45em < width <= 64em) {
255
+ @media screen and (48em < width <= 64em) {
254
256
  .db-density-regular,
255
257
  [data-density=regular] {
256
258
  --db-spacing-responsive-3xs: var(--db-spacing-responsive-regular-tablet-3xs);
@@ -312,7 +314,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
312
314
  /* stylelint-disable-next-line media-query-no-invalid */
313
315
  /* stylelint-disable-next-line at-rule-empty-line-before */
314
316
  }
315
- @media screen and (width <= 45em) {
317
+ @media screen and (width <= 48em) {
316
318
  .db-density-functional,
317
319
  [data-density=functional] {
318
320
  --db-spacing-responsive-3xs: var(--db-spacing-responsive-functional-mobile-3xs);
@@ -326,7 +328,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
326
328
  --db-spacing-responsive-3xl: var(--db-spacing-responsive-functional-mobile-3xl);
327
329
  }
328
330
  }
329
- @media screen and (45em < width <= 64em) {
331
+ @media screen and (48em < width <= 64em) {
330
332
  .db-density-functional,
331
333
  [data-density=functional] {
332
334
  --db-spacing-responsive-3xs: var(--db-spacing-responsive-functional-tablet-3xs);
@@ -370,7 +372,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
370
372
  /* stylelint-disable-next-line media-query-no-invalid */
371
373
  /* stylelint-disable-next-line at-rule-empty-line-before */
372
374
  }
373
- @media screen and (width <= 45em) {
375
+ @media screen and (width <= 48em) {
374
376
  .db-density-expressive,
375
377
  [data-density=expressive] {
376
378
  --db-type-headline-3xs: var(--db-typography-expressive-mobile-headline-3xs);
@@ -402,7 +404,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
402
404
  --db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-expressive-mobile-headline-3xl);
403
405
  }
404
406
  }
405
- @media screen and (45em < width <= 64em) {
407
+ @media screen and (48em < width <= 64em) {
406
408
  .db-density-expressive,
407
409
  [data-density=expressive] {
408
410
  --db-type-headline-3xs: var(--db-typography-expressive-tablet-headline-3xs);
@@ -482,7 +484,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
482
484
  /* stylelint-disable-next-line media-query-no-invalid */
483
485
  /* stylelint-disable-next-line at-rule-empty-line-before */
484
486
  }
485
- @media screen and (width <= 45em) {
487
+ @media screen and (width <= 48em) {
486
488
  .db-density-expressive,
487
489
  [data-density=expressive] {
488
490
  --db-type-body-3xs: var(--db-typography-expressive-mobile-body-3xs);
@@ -514,7 +516,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
514
516
  --db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-expressive-mobile-body-3xl);
515
517
  }
516
518
  }
517
- @media screen and (45em < width <= 64em) {
519
+ @media screen and (48em < width <= 64em) {
518
520
  .db-density-expressive,
519
521
  [data-density=expressive] {
520
522
  --db-type-body-3xs: var(--db-typography-expressive-tablet-body-3xs);
@@ -594,7 +596,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
594
596
  /* stylelint-disable-next-line media-query-no-invalid */
595
597
  /* stylelint-disable-next-line at-rule-empty-line-before */
596
598
  }
597
- @media screen and (width <= 45em) {
599
+ @media screen and (width <= 48em) {
598
600
  .db-density-regular,
599
601
  [data-density=regular] {
600
602
  --db-type-headline-3xs: var(--db-typography-regular-mobile-headline-3xs);
@@ -626,7 +628,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
626
628
  --db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-regular-mobile-headline-3xl);
627
629
  }
628
630
  }
629
- @media screen and (45em < width <= 64em) {
631
+ @media screen and (48em < width <= 64em) {
630
632
  .db-density-regular,
631
633
  [data-density=regular] {
632
634
  --db-type-headline-3xs: var(--db-typography-regular-tablet-headline-3xs);
@@ -706,7 +708,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
706
708
  /* stylelint-disable-next-line media-query-no-invalid */
707
709
  /* stylelint-disable-next-line at-rule-empty-line-before */
708
710
  }
709
- @media screen and (width <= 45em) {
711
+ @media screen and (width <= 48em) {
710
712
  .db-density-regular,
711
713
  [data-density=regular] {
712
714
  --db-type-body-3xs: var(--db-typography-regular-mobile-body-3xs);
@@ -738,7 +740,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
738
740
  --db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-regular-mobile-body-3xl);
739
741
  }
740
742
  }
741
- @media screen and (45em < width <= 64em) {
743
+ @media screen and (48em < width <= 64em) {
742
744
  .db-density-regular,
743
745
  [data-density=regular] {
744
746
  --db-type-body-3xs: var(--db-typography-regular-tablet-body-3xs);
@@ -818,7 +820,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
818
820
  /* stylelint-disable-next-line media-query-no-invalid */
819
821
  /* stylelint-disable-next-line at-rule-empty-line-before */
820
822
  }
821
- @media screen and (width <= 45em) {
823
+ @media screen and (width <= 48em) {
822
824
  .db-density-functional,
823
825
  [data-density=functional] {
824
826
  --db-type-headline-3xs: var(--db-typography-functional-mobile-headline-3xs);
@@ -850,7 +852,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
850
852
  --db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-functional-mobile-headline-3xl);
851
853
  }
852
854
  }
853
- @media screen and (45em < width <= 64em) {
855
+ @media screen and (48em < width <= 64em) {
854
856
  .db-density-functional,
855
857
  [data-density=functional] {
856
858
  --db-type-headline-3xs: var(--db-typography-functional-tablet-headline-3xs);
@@ -930,7 +932,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
930
932
  /* stylelint-disable-next-line media-query-no-invalid */
931
933
  /* stylelint-disable-next-line at-rule-empty-line-before */
932
934
  }
933
- @media screen and (width <= 45em) {
935
+ @media screen and (width <= 48em) {
934
936
  .db-density-functional,
935
937
  [data-density=functional] {
936
938
  --db-type-body-3xs: var(--db-typography-functional-mobile-body-3xs);
@@ -962,7 +964,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
962
964
  --db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-functional-mobile-body-3xl);
963
965
  }
964
966
  }
965
- @media screen and (45em < width <= 64em) {
967
+ @media screen and (48em < width <= 64em) {
966
968
  .db-density-functional,
967
969
  [data-density=functional] {
968
970
  --db-type-body-3xs: var(--db-typography-functional-tablet-body-3xs);
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -154,7 +156,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
154
156
  /* stylelint-disable-next-line media-query-no-invalid */
155
157
  /* stylelint-disable-next-line at-rule-empty-line-before */
156
158
  }
157
- @media screen and (width <= 45em) {
159
+ @media screen and (width <= 48em) {
158
160
  .db-density-expressive,
159
161
  [data-density=expressive] {
160
162
  --db-spacing-responsive-3xs: var(--db-spacing-responsive-expressive-mobile-3xs);
@@ -168,7 +170,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
168
170
  --db-spacing-responsive-3xl: var(--db-spacing-responsive-expressive-mobile-3xl);
169
171
  }
170
172
  }
171
- @media screen and (45em < width <= 64em) {
173
+ @media screen and (48em < width <= 64em) {
172
174
  .db-density-expressive,
173
175
  [data-density=expressive] {
174
176
  --db-spacing-responsive-3xs: var(--db-spacing-responsive-expressive-tablet-3xs);
@@ -216,7 +218,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
216
218
  /* stylelint-disable-next-line media-query-no-invalid */
217
219
  /* stylelint-disable-next-line at-rule-empty-line-before */
218
220
  }
219
- @media screen and (width <= 45em) {
221
+ @media screen and (width <= 48em) {
220
222
  .db-density-expressive,
221
223
  [data-density=expressive] {
222
224
  --db-type-headline-3xs: var(--db-typography-expressive-mobile-headline-3xs);
@@ -248,7 +250,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
248
250
  --db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-expressive-mobile-headline-3xl);
249
251
  }
250
252
  }
251
- @media screen and (45em < width <= 64em) {
253
+ @media screen and (48em < width <= 64em) {
252
254
  .db-density-expressive,
253
255
  [data-density=expressive] {
254
256
  --db-type-headline-3xs: var(--db-typography-expressive-tablet-headline-3xs);
@@ -328,7 +330,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
328
330
  /* stylelint-disable-next-line media-query-no-invalid */
329
331
  /* stylelint-disable-next-line at-rule-empty-line-before */
330
332
  }
331
- @media screen and (width <= 45em) {
333
+ @media screen and (width <= 48em) {
332
334
  .db-density-expressive,
333
335
  [data-density=expressive] {
334
336
  --db-type-body-3xs: var(--db-typography-expressive-mobile-body-3xs);
@@ -360,7 +362,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
360
362
  --db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-expressive-mobile-body-3xl);
361
363
  }
362
364
  }
363
- @media screen and (45em < width <= 64em) {
365
+ @media screen and (48em < width <= 64em) {
364
366
  .db-density-expressive,
365
367
  [data-density=expressive] {
366
368
  --db-type-body-3xs: var(--db-typography-expressive-tablet-body-3xs);
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -158,7 +160,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
158
160
  /* stylelint-disable-next-line media-query-no-invalid */
159
161
  /* stylelint-disable-next-line at-rule-empty-line-before */
160
162
  }
161
- @media screen and (width <= 45em) {
163
+ @media screen and (width <= 48em) {
162
164
  .db-density-functional,
163
165
  [data-density=functional] {
164
166
  --db-spacing-responsive-3xs: var(--db-spacing-responsive-functional-mobile-3xs);
@@ -172,7 +174,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
172
174
  --db-spacing-responsive-3xl: var(--db-spacing-responsive-functional-mobile-3xl);
173
175
  }
174
176
  }
175
- @media screen and (45em < width <= 64em) {
177
+ @media screen and (48em < width <= 64em) {
176
178
  .db-density-functional,
177
179
  [data-density=functional] {
178
180
  --db-spacing-responsive-3xs: var(--db-spacing-responsive-functional-tablet-3xs);
@@ -224,7 +226,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
224
226
  /* stylelint-disable-next-line media-query-no-invalid */
225
227
  /* stylelint-disable-next-line at-rule-empty-line-before */
226
228
  }
227
- @media screen and (width <= 45em) {
229
+ @media screen and (width <= 48em) {
228
230
  .db-density-functional,
229
231
  [data-density=functional] {
230
232
  --db-type-headline-3xs: var(--db-typography-functional-mobile-headline-3xs);
@@ -256,7 +258,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
256
258
  --db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-functional-mobile-headline-3xl);
257
259
  }
258
260
  }
259
- @media screen and (45em < width <= 64em) {
261
+ @media screen and (48em < width <= 64em) {
260
262
  .db-density-functional,
261
263
  [data-density=functional] {
262
264
  --db-type-headline-3xs: var(--db-typography-functional-tablet-headline-3xs);
@@ -336,7 +338,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
336
338
  /* stylelint-disable-next-line media-query-no-invalid */
337
339
  /* stylelint-disable-next-line at-rule-empty-line-before */
338
340
  }
339
- @media screen and (width <= 45em) {
341
+ @media screen and (width <= 48em) {
340
342
  .db-density-functional,
341
343
  [data-density=functional] {
342
344
  --db-type-body-3xs: var(--db-typography-functional-mobile-body-3xs);
@@ -368,7 +370,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
368
370
  --db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-functional-mobile-body-3xl);
369
371
  }
370
372
  }
371
- @media screen and (45em < width <= 64em) {
373
+ @media screen and (48em < width <= 64em) {
372
374
  .db-density-functional,
373
375
  [data-density=functional] {
374
376
  --db-type-body-3xs: var(--db-typography-functional-tablet-body-3xs);
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -156,7 +158,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
156
158
  /* stylelint-disable-next-line media-query-no-invalid */
157
159
  /* stylelint-disable-next-line at-rule-empty-line-before */
158
160
  }
159
- @media screen and (width <= 45em) {
161
+ @media screen and (width <= 48em) {
160
162
  .db-density-regular,
161
163
  [data-density=regular] {
162
164
  --db-spacing-responsive-3xs: var(--db-spacing-responsive-regular-mobile-3xs);
@@ -170,7 +172,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
170
172
  --db-spacing-responsive-3xl: var(--db-spacing-responsive-regular-mobile-3xl);
171
173
  }
172
174
  }
173
- @media screen and (45em < width <= 64em) {
175
+ @media screen and (48em < width <= 64em) {
174
176
  .db-density-regular,
175
177
  [data-density=regular] {
176
178
  --db-spacing-responsive-3xs: var(--db-spacing-responsive-regular-tablet-3xs);
@@ -220,7 +222,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
220
222
  /* stylelint-disable-next-line media-query-no-invalid */
221
223
  /* stylelint-disable-next-line at-rule-empty-line-before */
222
224
  }
223
- @media screen and (width <= 45em) {
225
+ @media screen and (width <= 48em) {
224
226
  .db-density-regular,
225
227
  [data-density=regular] {
226
228
  --db-type-headline-3xs: var(--db-typography-regular-mobile-headline-3xs);
@@ -252,7 +254,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
252
254
  --db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-regular-mobile-headline-3xl);
253
255
  }
254
256
  }
255
- @media screen and (45em < width <= 64em) {
257
+ @media screen and (48em < width <= 64em) {
256
258
  .db-density-regular,
257
259
  [data-density=regular] {
258
260
  --db-type-headline-3xs: var(--db-typography-regular-tablet-headline-3xs);
@@ -332,7 +334,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
332
334
  /* stylelint-disable-next-line media-query-no-invalid */
333
335
  /* stylelint-disable-next-line at-rule-empty-line-before */
334
336
  }
335
- @media screen and (width <= 45em) {
337
+ @media screen and (width <= 48em) {
336
338
  .db-density-regular,
337
339
  [data-density=regular] {
338
340
  --db-type-body-3xs: var(--db-typography-regular-mobile-body-3xs);
@@ -364,7 +366,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
364
366
  --db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-regular-mobile-body-3xl);
365
367
  }
366
368
  }
367
- @media screen and (45em < width <= 64em) {
369
+ @media screen and (48em < width <= 64em) {
368
370
  .db-density-regular,
369
371
  [data-density=regular] {
370
372
  --db-type-body-3xs: var(--db-typography-regular-tablet-body-3xs);
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -6,6 +6,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
6
6
  /* Border */
7
7
  /* Opacity */
8
8
  /* Transitions */
9
+ /* Screen sizes */
10
+ /* Container sizes */
9
11
  /* Variants for adaptive components like input, select, notification, ... */
10
12
  @layer variables {}
11
13
 
@@ -9,7 +9,7 @@ $default-icon-size-rem: #{helpers.px-to-rem($default-icon-size)};
9
9
  $default-icon-variants: "default", "filled";
10
10
 
11
11
  $default-icon-content: var(--db-icon, attr(data-icon));
12
- $default-icon-content-after: var(--db-icon-after, attr(data-icon-after));
12
+ $default-icon-content-after: var(--db-icon-trailing, attr(data-icon-trailing));
13
13
 
14
14
  $default-icon-margin-end: var(
15
15
  --db-icon-margin-end,
@@ -57,7 +57,13 @@ $default-icon-font-size: var(--db-icon-font-size, #{$default-icon-size-rem});
57
57
 
58
58
  // Icon SCSS mixin
59
59
  @mixin set-icon($icon: "", $position: "before") {
60
- &:not([data-hide-icon-#{$position}="true"]) {
60
+ $pos: "leading";
61
+
62
+ @if ($position == "after") {
63
+ $pos: "trailing";
64
+ }
65
+
66
+ &:not([data-show-icon-#{$pos}="false"]) {
61
67
  &::#{$position} {
62
68
  @if $icon != "" {
63
69
  @extend %icon;
@@ -69,7 +75,7 @@ $default-icon-font-size: var(--db-icon-font-size, #{$default-icon-size-rem});
69
75
  }
70
76
 
71
77
  @if $position == "after" {
72
- --db-icon-after: "#{$icon}";
78
+ --db-icon-trailing: "#{$icon}";
73
79
 
74
80
  margin-inline-start: $default-icon-margin-start;
75
81
 
@@ -145,7 +151,7 @@ $default-icon-font-size: var(--db-icon-font-size, #{$default-icon-size-rem});
145
151
  /* stylelint-disable-next-line declaration-property-value-no-unknown */
146
152
  speak: never; // Hiding icon from screenreaders
147
153
  text-transform: none;
148
- vertical-align: middle;
154
+ vertical-align: var(--db-icon-vertical-align, middle);
149
155
  block-size: $default-icon-font-size;
150
156
  inline-size: $default-icon-font-size;
151
157