@db-ux/core-components 2.0.8 → 2.0.10-popover-d7e8b9a

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 (51) hide show
  1. package/build/components/accordion/accordion.css +4 -0
  2. package/build/components/accordion-item/accordion-item.css +30 -31
  3. package/build/components/accordion-item/accordion-item.scss +35 -39
  4. package/build/components/badge/badge.css +4 -0
  5. package/build/components/brand/brand.css +4 -0
  6. package/build/components/button/button.css +4 -0
  7. package/build/components/card/card.css +4 -0
  8. package/build/components/checkbox/checkbox.css +33 -12
  9. package/build/components/custom-select/custom-select.css +75 -134
  10. package/build/components/custom-select/custom-select.scss +0 -49
  11. package/build/components/custom-select-dropdown/custom-select-dropdown.css +4 -0
  12. package/build/components/custom-select-form-field/custom-select-form-field.css +4 -0
  13. package/build/components/custom-select-list/custom-select-list.css +4 -153
  14. package/build/components/custom-select-list/custom-select-list.scss +0 -3
  15. package/build/components/custom-select-list-item/custom-select-list-item.css +7 -21
  16. package/build/components/custom-select-list-item/custom-select-list-item.scss +5 -9
  17. package/build/components/divider/divider.css +4 -0
  18. package/build/components/drawer/drawer.css +4 -0
  19. package/build/components/header/header.css +4 -0
  20. package/build/components/icon/icon.css +4 -0
  21. package/build/components/infotext/infotext.css +4 -0
  22. package/build/components/input/input.css +75 -21
  23. package/build/components/link/link.css +4 -0
  24. package/build/components/navigation/navigation.css +4 -0
  25. package/build/components/navigation-item/navigation-item.css +4 -0
  26. package/build/components/notification/notification.css +4 -0
  27. package/build/components/popover/popover.css +83 -82
  28. package/build/components/popover/popover.scss +0 -1
  29. package/build/components/radio/radio.css +4 -0
  30. package/build/components/section/section.css +4 -0
  31. package/build/components/select/select.css +75 -21
  32. package/build/components/stack/stack-web-component.css +4 -0
  33. package/build/components/stack/stack.css +4 -0
  34. package/build/components/switch/switch.css +4 -0
  35. package/build/components/tab-item/tab-item.css +4 -0
  36. package/build/components/tab-list/tab-list.css +4 -0
  37. package/build/components/tabs/tabs.css +4 -0
  38. package/build/components/tag/tag.css +4 -0
  39. package/build/components/textarea/textarea.css +67 -19
  40. package/build/components/tooltip/tooltip.css +92 -90
  41. package/build/components/tooltip/tooltip.scss +14 -14
  42. package/build/styles/absolute.css +197 -13
  43. package/build/styles/dialog-init.css +1 -1
  44. package/build/styles/index.css +12 -12
  45. package/build/styles/internal/_form-components.scss +8 -3
  46. package/build/styles/internal/_popover-component.scss +69 -106
  47. package/build/styles/relative.css +197 -13
  48. package/build/styles/rollup.css +197 -13
  49. package/build/styles/visually-hidden.css +1 -1
  50. package/build/styles/webpack.css +197 -13
  51. package/package.json +2 -2
@@ -36,6 +36,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
36
36
 
37
37
  @layer variables {}
38
38
 
39
+ @layer variables {}
40
+
41
+ @layer variables {}
42
+
39
43
  @keyframes show-right-to-left {
40
44
  from {
41
45
  transform: translateX(110%);
@@ -36,6 +36,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
36
36
 
37
37
  @layer variables {}
38
38
 
39
+ @layer variables {}
40
+
41
+ @layer variables {}
42
+
39
43
  /**
40
44
  * @mixin screen-min-max
41
45
  * @param $data an object like (min:"sm", max:"lg") or (min: "sm")
@@ -36,6 +36,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
36
36
 
37
37
  @layer variables {}
38
38
 
39
+ @layer variables {}
40
+
41
+ @layer variables {}
42
+
39
43
  .db-icon {
40
44
  font-size: 0 !important;
41
45
  /* stylelint-disable-next-line at-rule-empty-line-before */
@@ -36,6 +36,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
36
36
 
37
37
  @layer variables {}
38
38
 
39
+ @layer variables {}
40
+
41
+ @layer variables {}
42
+
39
43
  /**
40
44
  Generates 3 types of placeholders, e.g:
41
45
  - %db-component-variables-md
@@ -178,11 +178,17 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
178
178
  }
179
179
  }
180
180
 
181
- .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(.db-infotext[data-semantic=successful]), .db-input:has(input[data-custom-validity=valid]):has(.db-infotext[data-semantic=successful]), .db-input[data-custom-validity=valid]:has(.db-infotext[data-semantic=successful]) {
181
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
182
+ > db-infotext > .db-infotext[data-semantic=successful]), .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
183
+ > db-infotext > .db-infotext[data-semantic=successful]), .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
184
+ > db-infotext > .db-infotext[data-semantic=successful]) {
182
185
  /* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
183
186
  }
184
187
  @layer variables {
185
- .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(.db-infotext[data-semantic=successful]), .db-input:has(input[data-custom-validity=valid]):has(.db-infotext[data-semantic=successful]), .db-input[data-custom-validity=valid]:has(.db-infotext[data-semantic=successful]) {
188
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
189
+ > db-infotext > .db-infotext[data-semantic=successful]), .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
190
+ > db-infotext > .db-infotext[data-semantic=successful]), .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
191
+ > db-infotext > .db-infotext[data-semantic=successful]) {
186
192
  --db-adaptive-bg-basic-level-1-default: var(
187
193
  --db-successful-bg-basic-level-1-default
188
194
  );
@@ -349,6 +355,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
349
355
 
350
356
  @layer variables {}
351
357
 
358
+ @layer variables {}
359
+
360
+ @layer variables {}
361
+
352
362
  .db-input:has(input[type=search]):not([data-hide-icon-before=true])::before, .db-input:has(input[type=search]):not([data-hide-icon-after=true])::after, .db-input:has(input[type=date]):not([data-hide-icon-after=true])::after, .db-input:has(input[type=week]):not([data-hide-icon-after=true])::after, .db-input:has(input[type=datetime-local]):not([data-hide-icon-after=true])::after, .db-input:has(input[type=month]):not([data-hide-icon-after=true])::after, .db-input:has(input[type=time]):not([data-hide-icon-after=true])::after, .db-input:not([data-hide-icon-after=true]):has(datalist)::after {
353
363
  color: var(--db-icon-color, inherit);
354
364
  display: inline-block;
@@ -530,10 +540,12 @@ input[type=radio]:checked) > label {
530
540
  }
531
541
  }
532
542
 
533
- .db-input .db-infotext {
543
+ .db-input > db-infotext > .db-infotext,
544
+ .db-input > .db-infotext {
534
545
  margin-block-start: var(--db-spacing-fixed-2xs);
535
546
  }
536
- .db-input .db-infotext:is([data-semantic=successful], [data-semantic=critical]) {
547
+ .db-input > db-infotext > .db-infotext:is([data-semantic=successful], [data-semantic=critical]),
548
+ .db-input > .db-infotext:is([data-semantic=successful], [data-semantic=critical]) {
537
549
  display: none;
538
550
  }
539
551
 
@@ -631,39 +643,75 @@ input[type=radio]:checked) [id$=-placeholder] {
631
643
  content: "*"/"";
632
644
  }
633
645
  }
634
- .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(.db-infotext[data-semantic=successful]) {
646
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
647
+ > db-infotext > .db-infotext[data-semantic=successful]) {
635
648
  /* stylelint-disable-next-line at-rule-empty-line-before */
636
649
  }
637
- .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(.db-infotext[data-semantic=successful]) input,
638
- .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(.db-infotext[data-semantic=successful]) [id$=-placeholder] {
650
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
651
+ > db-infotext > .db-infotext[data-semantic=successful]) input,
652
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
653
+ > db-infotext > .db-infotext[data-semantic=successful]) [id$=-placeholder] {
639
654
  color: var(--db-successful-on-bg-basic-emphasis-100-default);
640
655
  caret-color: var(--db-successful-on-bg-basic-emphasis-100-default);
641
656
  }
642
- .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(.db-infotext[data-semantic=successful]) .db-infotext {
657
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
658
+ > db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext,
659
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
660
+ > db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext {
643
661
  /* stylelint-disable-next-line at-rule-empty-line-before */
644
662
  }
645
- .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(.db-infotext[data-semantic=successful]) .db-infotext[data-semantic=successful] {
663
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
664
+ > db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext[data-semantic=successful],
665
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
666
+ > db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext[data-semantic=successful] {
646
667
  display: flex;
647
668
  }
648
- .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(.db-infotext[data-semantic=successful]) .db-infotext:not([data-semantic]) {
669
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
670
+ > db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext:not([data-semantic]),
671
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
672
+ > db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext:not([data-semantic]) {
649
673
  display: none;
650
674
  }
651
- .db-input:has(input[data-custom-validity=valid]):has(.db-infotext[data-semantic=successful]), .db-input[data-custom-validity=valid]:has(.db-infotext[data-semantic=successful]) {
675
+ .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
676
+ > db-infotext > .db-infotext[data-semantic=successful]), .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
677
+ > db-infotext > .db-infotext[data-semantic=successful]) {
652
678
  /* stylelint-disable-next-line at-rule-empty-line-before */
653
679
  }
654
- .db-input:has(input[data-custom-validity=valid]):has(.db-infotext[data-semantic=successful]) input,
655
- .db-input:has(input[data-custom-validity=valid]):has(.db-infotext[data-semantic=successful]) [id$=-placeholder], .db-input[data-custom-validity=valid]:has(.db-infotext[data-semantic=successful]) input,
656
- .db-input[data-custom-validity=valid]:has(.db-infotext[data-semantic=successful]) [id$=-placeholder] {
680
+ .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
681
+ > db-infotext > .db-infotext[data-semantic=successful]) input,
682
+ .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
683
+ > db-infotext > .db-infotext[data-semantic=successful]) [id$=-placeholder], .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
684
+ > db-infotext > .db-infotext[data-semantic=successful]) input,
685
+ .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
686
+ > db-infotext > .db-infotext[data-semantic=successful]) [id$=-placeholder] {
657
687
  color: var(--db-successful-on-bg-basic-emphasis-100-default);
658
688
  caret-color: var(--db-successful-on-bg-basic-emphasis-100-default);
659
689
  }
660
- .db-input:has(input[data-custom-validity=valid]):has(.db-infotext[data-semantic=successful]) .db-infotext, .db-input[data-custom-validity=valid]:has(.db-infotext[data-semantic=successful]) .db-infotext {
690
+ .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
691
+ > db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext,
692
+ .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
693
+ > db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext, .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
694
+ > db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext,
695
+ .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
696
+ > db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext {
661
697
  /* stylelint-disable-next-line at-rule-empty-line-before */
662
698
  }
663
- .db-input:has(input[data-custom-validity=valid]):has(.db-infotext[data-semantic=successful]) .db-infotext[data-semantic=successful], .db-input[data-custom-validity=valid]:has(.db-infotext[data-semantic=successful]) .db-infotext[data-semantic=successful] {
699
+ .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
700
+ > db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext[data-semantic=successful],
701
+ .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
702
+ > db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext[data-semantic=successful], .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
703
+ > db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext[data-semantic=successful],
704
+ .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
705
+ > db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext[data-semantic=successful] {
664
706
  display: flex;
665
707
  }
666
- .db-input:has(input[data-custom-validity=valid]):has(.db-infotext[data-semantic=successful]) .db-infotext:not([data-semantic]), .db-input[data-custom-validity=valid]:has(.db-infotext[data-semantic=successful]) .db-infotext:not([data-semantic]) {
708
+ .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
709
+ > db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext:not([data-semantic]),
710
+ .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
711
+ > db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext:not([data-semantic]), .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
712
+ > db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext:not([data-semantic]),
713
+ .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
714
+ > db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext:not([data-semantic]) {
667
715
  display: none;
668
716
  }
669
717
  .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) {
@@ -674,10 +722,12 @@ input[type=radio]:checked) [id$=-placeholder] {
674
722
  color: var(--db-critical-on-bg-basic-emphasis-100-default);
675
723
  caret-color: var(--db-critical-on-bg-basic-emphasis-100-default);
676
724
  }
677
- .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) .db-infotext[data-semantic=critical] {
725
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) > db-infotext > .db-infotext[data-semantic=critical],
726
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) > .db-infotext[data-semantic=critical] {
678
727
  display: flex;
679
728
  }
680
- .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) .db-infotext:not([data-semantic]) {
729
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) > db-infotext > .db-infotext:not([data-semantic]),
730
+ .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) > .db-infotext:not([data-semantic]) {
681
731
  display: none;
682
732
  }
683
733
  .db-input:has(input[data-custom-validity=invalid]), .db-input[data-custom-validity=invalid] {
@@ -689,10 +739,14 @@ input[type=radio]:checked) [id$=-placeholder] {
689
739
  color: var(--db-critical-on-bg-basic-emphasis-100-default);
690
740
  caret-color: var(--db-critical-on-bg-basic-emphasis-100-default);
691
741
  }
692
- .db-input:has(input[data-custom-validity=invalid]) .db-infotext[data-semantic=critical], .db-input[data-custom-validity=invalid] .db-infotext[data-semantic=critical] {
742
+ .db-input:has(input[data-custom-validity=invalid]) > db-infotext > .db-infotext[data-semantic=critical],
743
+ .db-input:has(input[data-custom-validity=invalid]) > .db-infotext[data-semantic=critical], .db-input[data-custom-validity=invalid] > db-infotext > .db-infotext[data-semantic=critical],
744
+ .db-input[data-custom-validity=invalid] > .db-infotext[data-semantic=critical] {
693
745
  display: flex;
694
746
  }
695
- .db-input:has(input[data-custom-validity=invalid]) .db-infotext:not([data-semantic]), .db-input[data-custom-validity=invalid] .db-infotext:not([data-semantic]) {
747
+ .db-input:has(input[data-custom-validity=invalid]) > db-infotext > .db-infotext:not([data-semantic]),
748
+ .db-input:has(input[data-custom-validity=invalid]) > .db-infotext:not([data-semantic]), .db-input[data-custom-validity=invalid] > db-infotext > .db-infotext:not([data-semantic]),
749
+ .db-input[data-custom-validity=invalid] > .db-infotext:not([data-semantic]) {
696
750
  display: none;
697
751
  }
698
752
  .db-input input::placeholder,
@@ -36,6 +36,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
36
36
 
37
37
  @layer variables {}
38
38
 
39
+ @layer variables {}
40
+
41
+ @layer variables {}
42
+
39
43
  /**
40
44
  Generates 3 types of placeholders, e.g:
41
45
  - %db-component-variables-md
@@ -55,6 +55,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
55
55
 
56
56
  @layer variables {}
57
57
 
58
+ @layer variables {}
59
+
60
+ @layer variables {}
61
+
58
62
  /**
59
63
  * @mixin screen-min-max
60
64
  * @param $data an object like (min:"sm", max:"lg") or (min: "sm")
@@ -36,6 +36,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
36
36
 
37
37
  @layer variables {}
38
38
 
39
+ @layer variables {}
40
+
41
+ @layer variables {}
42
+
39
43
  /**
40
44
  Generates 3 types of placeholders, e.g:
41
45
  - %db-component-variables-md
@@ -771,6 +771,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
771
771
 
772
772
  @layer variables {}
773
773
 
774
+ @layer variables {}
775
+
776
+ @layer variables {}
777
+
774
778
  /**
775
779
  Generates 3 types of placeholders, e.g:
776
780
  - %db-component-variables-md
@@ -36,6 +36,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
36
36
 
37
37
  @layer variables {}
38
38
 
39
+ @layer variables {}
40
+
41
+ @layer variables {}
42
+
39
43
  @keyframes show-right-to-left {
40
44
  from {
41
45
  transform: translateX(110%);
@@ -128,15 +132,11 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
128
132
  border-radius: var(--default-card-border-radius, var(--db-border-radius-sm));
129
133
  }
130
134
 
131
- .db-popover > article:not([data-placement]), .db-popover > article[data-placement=bottom]:not([data-outside-vy]), .db-popover > article[data-placement=top]:not([data-outside-vy]), .db-popover > article:is([data-outside-vy=bottom], [data-outside-vy=top]):not([data-outside-vx],
132
- [data-placement$=end],
133
- [data-placement$=start]) {
135
+ .db-popover > article:not([data-placement], [data-corrected-placement]), .db-popover > article[data-placement=bottom]:not([data-corrected-placement]), .db-popover > article[data-placement=top]:not([data-corrected-placement]), .db-popover > article[data-corrected-placement=bottom], .db-popover > article[data-corrected-placement=top] {
134
136
  --db-popover-center-x: -50%;
135
137
  inset-inline-start: 50%;
136
138
  }
137
- .db-popover > article[data-placement=left]:not([data-outside-vx]), .db-popover > article[data-placement=right]:not([data-outside-vx]), .db-popover > article[data-outside-vx=left]:not([data-placement$=end],
138
- [data-placement$=start]), .db-popover > article[data-outside-vx=right]:not([data-placement$=end],
139
- [data-placement$=start]) {
139
+ .db-popover > article[data-corrected-placement=left], .db-popover > article[data-corrected-placement=right], .db-popover > article[data-placement=left]:not([data-corrected-placement]), .db-popover > article[data-placement=right]:not([data-corrected-placement]) {
140
140
  --db-popover-center-y: -50%;
141
141
  inset-block-start: 50%;
142
142
  }
@@ -148,135 +148,135 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
148
148
  content: "";
149
149
  position: absolute;
150
150
  }
151
- .db-popover > article[data-gap=true] {
152
- --db-popover-gap: 1;
153
- --db-popover-distance: var(--db-spacing-fixed-md);
154
- }
155
- .db-popover > article:is(.db-tooltip) {
156
- --db-popover-distance: var(--db-spacing-fixed-sm);
157
- }
158
- .db-popover > article[data-placement^=bottom]:not([data-outside-vy])[data-placement$=end], .db-popover > article[data-placement^=top]:not([data-outside-vy])[data-placement$=end], .db-popover > article[data-outside-vy=bottom]:not([data-outside-vx])[data-placement$=end], .db-popover > article[data-outside-vy=top]:not([data-outside-vx])[data-placement$=end] {
159
- inset-inline-end: 0;
160
- }
161
- .db-popover > article[data-placement^=bottom]:not([data-outside-vy])[data-placement$=start], .db-popover > article[data-placement^=top]:not([data-outside-vy])[data-placement$=start], .db-popover > article[data-outside-vy=bottom]:not([data-outside-vx])[data-placement$=start], .db-popover > article[data-outside-vy=top]:not([data-outside-vx])[data-placement$=start] {
162
- inset-inline-start: 0;
163
- }
164
- .db-popover > article[data-placement^=left]:not([data-outside-vx])[data-placement$=end], .db-popover > article[data-placement^=right]:not([data-outside-vx])[data-placement$=end], .db-popover > article[data-outside-vx=left][data-placement$=end], .db-popover > article[data-outside-vx=right][data-placement$=end] {
165
- inset-block-end: 0;
166
- }
167
- .db-popover > article[data-placement^=left]:not([data-outside-vx])[data-placement$=start], .db-popover > article[data-placement^=right]:not([data-outside-vx])[data-placement$=start], .db-popover > article[data-outside-vx=left][data-placement$=start], .db-popover > article[data-outside-vx=right][data-placement$=start] {
168
- inset-block-start: 0;
169
- }
170
- .db-popover > article:not([data-placement], [data-outside-vy]), .db-popover > article[data-placement^=bottom]:not([data-outside-vy]), .db-popover > article[data-outside-vy=top]:not([data-outside-vx]) {
171
- inset-block-start: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
172
- }
173
- .db-popover > article:not([data-placement], [data-outside-vy])::before, .db-popover > article[data-placement^=bottom]:not([data-outside-vy])::before, .db-popover > article[data-outside-vy=top]:not([data-outside-vx])::before {
174
- inset-inline-start: 0;
175
- inline-size: 100%;
151
+ .db-popover > article:not([data-placement], [data-corrected-placement])::before, .db-popover > article[data-placement^=bottom]:not([data-corrected-placement])::before, .db-popover > article[data-corrected-placement^=bottom]::before {
152
+ inset-block-end: 100%;
153
+ inset-inline: 0;
176
154
  block-size: var(--db-popover-distance);
177
- inset-block-start: calc(-1 * var(--db-popover-distance));
178
155
  }
179
- .db-popover > article[data-placement^=top]:not([data-outside-vy]), .db-popover > article[data-outside-vy=bottom]:not([data-outside-vx]) {
180
- inset-block-end: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
181
- }
182
- .db-popover > article[data-placement^=top]:not([data-outside-vy])::before, .db-popover > article[data-outside-vy=bottom]:not([data-outside-vx])::before {
183
- inset-inline-end: 0;
184
- inline-size: 100%;
156
+ .db-popover > article[data-placement^=top]:not([data-corrected-placement])::before, .db-popover > article[data-corrected-placement^=top]::before {
157
+ inset-block-start: 100%;
158
+ inset-inline: 0;
185
159
  block-size: var(--db-popover-distance);
186
- inset-block-end: calc(-1 * var(--db-popover-distance));
187
160
  }
188
- .db-popover > article[data-placement^=left]:not([data-outside-vx]), .db-popover > article[data-outside-vx=right] {
189
- inset-inline-end: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
161
+ .db-popover > article[data-placement^=right]:not([data-corrected-placement])::before, .db-popover > article[data-corrected-placement^=right]::before {
162
+ inset-inline-end: 100%;
163
+ inset-block: 0;
164
+ inline-size: var(--db-popover-distance);
190
165
  }
191
- .db-popover > article[data-placement^=left]:not([data-outside-vx])::before, .db-popover > article[data-outside-vx=right]::before {
192
- inset-block-end: 0;
193
- block-size: 100%;
166
+ .db-popover > article[data-placement^=left]:not([data-corrected-placement])::before, .db-popover > article[data-corrected-placement^=left]::before {
167
+ inset-inline-start: 100%;
168
+ inset-block: 0;
194
169
  inline-size: var(--db-popover-distance);
195
- inset-inline-end: calc(-1 * var(--db-popover-distance));
196
170
  }
197
- .db-popover > article[data-placement^=right]:not([data-outside-vx]), .db-popover > article[data-outside-vx=left] {
198
- inset-inline-start: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
171
+ .db-popover > article[data-gap=true] {
172
+ --db-popover-gap: 1;
173
+ --db-popover-distance: var(--db-spacing-fixed-md);
199
174
  }
200
- .db-popover > article[data-placement^=right]:not([data-outside-vx])::before, .db-popover > article[data-outside-vx=left]::before {
201
- inset-block-start: 0;
202
- block-size: 100%;
203
- inline-size: var(--db-popover-distance);
204
- inset-inline-start: calc(-1 * var(--db-popover-distance));
175
+ .db-popover > article:is(.db-tooltip) {
176
+ --db-popover-distance: var(--db-spacing-fixed-sm);
205
177
  }
206
178
 
207
179
  .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-open=false]), .db-popover > article[data-open=true] {
208
- display: revert;
180
+ visibility: var(--db-show-popover-visibility, visible);
209
181
  }
210
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-outside-vy]):not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-outside-vy]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-outside-vy]):not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-outside-vy]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vy=top]:not([data-outside-vx]):not([data-open=false]), .db-popover > article[data-outside-vy=top][data-open=true]:not([data-outside-vx]) {
182
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement]):not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement]):not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom]:not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-open=true] {
211
183
  --db-popover-translate-y: -25%;
212
184
  }
213
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-outside-vy]):not([data-animation]):not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-outside-vy]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-outside-vy])[data-animation=false]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-outside-vy])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-outside-vy]):not([data-animation]):not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-outside-vy]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-outside-vy])[data-animation=false]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-outside-vy])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vy=top]:not([data-outside-vx]):not([data-animation]):not([data-open=false]), .db-popover > article[data-outside-vy=top][data-open=true]:not([data-outside-vx]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vy=top]:not([data-outside-vx])[data-animation=false]:not([data-open=false]), .db-popover > article[data-outside-vy=top][data-open=true]:not([data-outside-vx])[data-animation=false] {
185
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement]):not([data-animation]):not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement])[data-animation=false]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement]):not([data-animation]):not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement])[data-animation=false]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom]:not([data-animation]):not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-open=true]:not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom][data-animation=false]:not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-animation=false][data-open=true] {
214
186
  opacity: 1;
215
187
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
216
188
  }
217
189
  @media screen and (prefers-reduced-motion: no-preference) {
218
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-outside-vy])[data-animation=true]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-outside-vy])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-outside-vy])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-outside-vy])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vy=top]:not([data-outside-vx])[data-animation=true]:not([data-open=false]), .db-popover > article[data-outside-vy=top][data-open=true]:not([data-outside-vx])[data-animation=true] {
190
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom][data-animation=true]:not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-animation=true][data-open=true] {
219
191
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
192
+ /* stylelint-disable-next-line media-query-no-invalid */
193
+ /* stylelint-disable-next-line at-rule-empty-line-before */
220
194
  }
221
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-outside-vy])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-outside-vy])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-outside-vy])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-outside-vy])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vy=top]:not([data-outside-vx])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-outside-vy=top][data-open=true]:not([data-outside-vx])[data-animation=true][data-delay=slow] {
195
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom][data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-animation=true][data-delay=slow][data-open=true] {
222
196
  animation-delay: var(--db-transition-duration-extra-slow);
223
197
  }
224
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-outside-vy])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-outside-vy])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-outside-vy])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-outside-vy])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vy=top]:not([data-outside-vx])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-outside-vy=top][data-open=true]:not([data-outside-vx])[data-animation=true][data-delay=fast] {
225
- animation-delay: calc(var(--db-transition-duration-medium));
198
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom][data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-animation=true][data-delay=fast][data-open=true] {
199
+ animation-delay: var(--db-transition-duration-medium);
200
+ }
201
+ }
202
+ @media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
203
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-delay]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement])[data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom][data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-animation=true][data-open=true]:not([data-delay]) {
204
+ animation-delay: var(--db-transition-duration-medium);
226
205
  }
227
206
  }
228
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-outside-vy]):not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-outside-vy]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vy=bottom]:not([data-outside-vx]):not([data-open=false]), .db-popover > article[data-outside-vy=bottom][data-open=true]:not([data-outside-vx]) {
207
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement]):not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top]:not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-open=true] {
229
208
  --db-popover-translate-y: 25%;
230
209
  }
231
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-outside-vy]):not([data-animation]):not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-outside-vy]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-outside-vy])[data-animation=false]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-outside-vy])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vy=bottom]:not([data-outside-vx]):not([data-animation]):not([data-open=false]), .db-popover > article[data-outside-vy=bottom][data-open=true]:not([data-outside-vx]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vy=bottom]:not([data-outside-vx])[data-animation=false]:not([data-open=false]), .db-popover > article[data-outside-vy=bottom][data-open=true]:not([data-outside-vx])[data-animation=false] {
210
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement]):not([data-animation]):not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement])[data-animation=false]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top]:not([data-animation]):not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-open=true]:not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top][data-animation=false]:not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-animation=false][data-open=true] {
232
211
  opacity: 1;
233
212
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
234
213
  }
235
214
  @media screen and (prefers-reduced-motion: no-preference) {
236
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-outside-vy])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-outside-vy])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vy=bottom]:not([data-outside-vx])[data-animation=true]:not([data-open=false]), .db-popover > article[data-outside-vy=bottom][data-open=true]:not([data-outside-vx])[data-animation=true] {
215
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top][data-animation=true]:not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-animation=true][data-open=true] {
237
216
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
217
+ /* stylelint-disable-next-line media-query-no-invalid */
218
+ /* stylelint-disable-next-line at-rule-empty-line-before */
238
219
  }
239
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-outside-vy])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-outside-vy])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vy=bottom]:not([data-outside-vx])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-outside-vy=bottom][data-open=true]:not([data-outside-vx])[data-animation=true][data-delay=slow] {
220
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top][data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-animation=true][data-delay=slow][data-open=true] {
240
221
  animation-delay: var(--db-transition-duration-extra-slow);
241
222
  }
242
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-outside-vy])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-outside-vy])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vy=bottom]:not([data-outside-vx])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-outside-vy=bottom][data-open=true]:not([data-outside-vx])[data-animation=true][data-delay=fast] {
243
- animation-delay: calc(var(--db-transition-duration-medium));
223
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top][data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-animation=true][data-delay=fast][data-open=true] {
224
+ animation-delay: var(--db-transition-duration-medium);
225
+ }
226
+ }
227
+ @media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
228
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement])[data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top][data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-animation=true][data-open=true]:not([data-delay]) {
229
+ animation-delay: var(--db-transition-duration-medium);
244
230
  }
245
231
  }
246
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-outside-vx]):not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-outside-vx]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vx=left]:not([data-open=false]), .db-popover > article[data-outside-vx=left][data-open=true] {
232
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement]):not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right]:not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-open=true] {
247
233
  --db-popover-translate-x: -25%;
248
234
  }
249
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-outside-vx]):not([data-animation]):not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-outside-vx]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-outside-vx])[data-animation=false]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-outside-vx])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vx=left]:not([data-animation]):not([data-open=false]), .db-popover > article[data-outside-vx=left][data-open=true]:not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vx=left][data-animation=false]:not([data-open=false]), .db-popover > article[data-outside-vx=left][data-animation=false][data-open=true] {
235
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement]):not([data-animation]):not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement])[data-animation=false]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right]:not([data-animation]):not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-open=true]:not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right][data-animation=false]:not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-animation=false][data-open=true] {
250
236
  opacity: 1;
251
237
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
252
238
  }
253
239
  @media screen and (prefers-reduced-motion: no-preference) {
254
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-outside-vx])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-outside-vx])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vx=left][data-animation=true]:not([data-open=false]), .db-popover > article[data-outside-vx=left][data-animation=true][data-open=true] {
240
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right][data-animation=true]:not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-animation=true][data-open=true] {
255
241
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
242
+ /* stylelint-disable-next-line media-query-no-invalid */
243
+ /* stylelint-disable-next-line at-rule-empty-line-before */
256
244
  }
257
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-outside-vx])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-outside-vx])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vx=left][data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-outside-vx=left][data-animation=true][data-delay=slow][data-open=true] {
245
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right][data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-animation=true][data-delay=slow][data-open=true] {
258
246
  animation-delay: var(--db-transition-duration-extra-slow);
259
247
  }
260
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-outside-vx])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-outside-vx])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vx=left][data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-outside-vx=left][data-animation=true][data-delay=fast][data-open=true] {
261
- animation-delay: calc(var(--db-transition-duration-medium));
248
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right][data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-animation=true][data-delay=fast][data-open=true] {
249
+ animation-delay: var(--db-transition-duration-medium);
250
+ }
251
+ }
252
+ @media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
253
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement])[data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right][data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-animation=true][data-open=true]:not([data-delay]) {
254
+ animation-delay: var(--db-transition-duration-medium);
262
255
  }
263
256
  }
264
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-outside-vx]):not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-outside-vx]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vx=right]:not([data-open=false]), .db-popover > article[data-outside-vx=right][data-open=true] {
257
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement]):not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left]:not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-open=true] {
265
258
  --db-popover-translate-x: 25%;
266
259
  }
267
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-outside-vx]):not([data-animation]):not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-outside-vx]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-outside-vx])[data-animation=false]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-outside-vx])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vx=right]:not([data-animation]):not([data-open=false]), .db-popover > article[data-outside-vx=right][data-open=true]:not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vx=right][data-animation=false]:not([data-open=false]), .db-popover > article[data-outside-vx=right][data-animation=false][data-open=true] {
260
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement]):not([data-animation]):not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement])[data-animation=false]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left]:not([data-animation]):not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-open=true]:not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left][data-animation=false]:not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-animation=false][data-open=true] {
268
261
  opacity: 1;
269
262
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
270
263
  }
271
264
  @media screen and (prefers-reduced-motion: no-preference) {
272
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-outside-vx])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-outside-vx])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vx=right][data-animation=true]:not([data-open=false]), .db-popover > article[data-outside-vx=right][data-animation=true][data-open=true] {
265
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left][data-animation=true]:not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-animation=true][data-open=true] {
273
266
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
267
+ /* stylelint-disable-next-line media-query-no-invalid */
268
+ /* stylelint-disable-next-line at-rule-empty-line-before */
274
269
  }
275
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-outside-vx])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-outside-vx])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vx=right][data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-outside-vx=right][data-animation=true][data-delay=slow][data-open=true] {
270
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left][data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-animation=true][data-delay=slow][data-open=true] {
276
271
  animation-delay: var(--db-transition-duration-extra-slow);
277
272
  }
278
- .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-outside-vx])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-outside-vx])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-outside-vx=right][data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-outside-vx=right][data-animation=true][data-delay=fast][data-open=true] {
279
- animation-delay: calc(var(--db-transition-duration-medium));
273
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left][data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-animation=true][data-delay=fast][data-open=true] {
274
+ animation-delay: var(--db-transition-duration-medium);
275
+ }
276
+ }
277
+ @media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
278
+ .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement])[data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left][data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-animation=true][data-open=true]:not([data-delay]) {
279
+ animation-delay: var(--db-transition-duration-medium);
280
280
  }
281
281
  }
282
282
 
@@ -284,21 +284,22 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
284
284
  position: absolute;
285
285
  background-color: var(--db-adaptive-bg-basic-level-1-default);
286
286
  box-shadow: var(--db-elevation-md);
287
- display: none;
287
+ visibility: hidden;
288
288
  z-index: 1337;
289
- white-space: nowrap;
289
+ white-space: normal;
290
+ max-inline-size: calc(100vw - 2 * var(--db-spacing-fixed-md));
291
+ block-size: fit-content;
292
+ inline-size: fit-content;
290
293
  }
291
294
  .db-popover > article[data-width=fixed] {
292
295
  inline-size: max-content;
293
- max-inline-size: var(--db-sizing-3xl);
294
- white-space: normal;
296
+ max-inline-size: min(var(--db-sizing-3xl), calc(100vw - 2 * var(--db-spacing-fixed-md)));
295
297
  text-align: initial;
296
298
  }
297
299
 
298
300
  .db-popover {
299
301
  position: relative;
300
302
  display: flex;
301
- inline-size: fit-content;
302
303
  }
303
304
  .db-popover > article {
304
305
  /* stylelint-disable-next-line at-rule-empty-line-before */
@@ -5,7 +5,6 @@
5
5
  .db-popover {
6
6
  position: relative;
7
7
  display: flex;
8
- inline-size: fit-content;
9
8
 
10
9
  &:is([data-e2e-hover="true"], :hover, :focus-within) {
11
10
  > article:not([data-open="false"]) {