@db-ux/core-components 3.1.0 → 3.1.2

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.
@@ -62,17 +62,17 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
62
62
 
63
63
  @layer variables {}
64
64
 
65
- .db-custom-select-list-item:not([data-disable-focus=true]):has(> label > input:focus-within) {
65
+ .db-custom-select-list-item:not([data-disable-focus=true]):has(> label > input:focus-visible) {
66
66
  outline: var(--db-border-width-2xs) solid var(--db-focus-outline-color, var(--db-informational-on-bg-basic-emphasis-70-default));
67
67
  outline-offset: var(--db-border-width-xs);
68
68
  box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
69
69
  }
70
70
  @media screen and (prefers-reduced-motion: no-preference) {
71
- .db-custom-select-list-item:not([data-disable-focus=true]):has(> label > input:focus-within) {
71
+ .db-custom-select-list-item:not([data-disable-focus=true]):has(> label > input:focus-visible) {
72
72
  transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
73
73
  }
74
74
  }
75
- .db-custom-select-list-item:not([data-disable-focus=true]):not([type=radio], [role=switch]):has(> label > input:focus-within) {
75
+ .db-custom-select-list-item:not([data-disable-focus=true]):not([type=radio], [role=switch]):has(> label > input:focus-visible) {
76
76
  border-radius: var(--db-border-radius-xs);
77
77
  }
78
78
 
@@ -34,7 +34,7 @@ db-custom-select-list-item:not(:last-of-type) {
34
34
  }
35
35
  }
36
36
 
37
- &:has(> label > input:focus-within) {
37
+ &:has(> label > input:focus-visible) {
38
38
  @extend %focus-placeholder;
39
39
  }
40
40
 
@@ -52,9 +52,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
52
52
  .db-divider[data-margin=large] {
53
53
  margin: var(--db-spacing-fixed-lg) 0;
54
54
  }
55
- .db-divider[data-margin=none] {
56
- margin: 0;
57
- }
58
55
  .db-divider:not([data-variant=vertical]) {
59
56
  block-size: var(--db-border-width-3xs);
60
57
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
@@ -113,9 +110,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
113
110
  .db-divider[data-variant=vertical][data-margin=large] {
114
111
  margin: 0 var(--db-spacing-fixed-lg);
115
112
  }
116
- .db-divider[data-variant=vertical][data-margin=none] {
117
- margin: 0;
118
- }
119
113
  .db-divider[data-variant=vertical][data-width=full] {
120
114
  block-size: 100%;
121
115
  }
@@ -14,10 +14,6 @@
14
14
  margin: variables.$db-spacing-fixed-lg 0;
15
15
  }
16
16
 
17
- &[data-margin="none"] {
18
- margin: 0;
19
- }
20
-
21
17
  &:not([data-variant="vertical"]) {
22
18
  block-size: variables.$db-border-width-3xs;
23
19
 
@@ -45,10 +41,6 @@
45
41
  margin: 0 variables.$db-spacing-fixed-lg;
46
42
  }
47
43
 
48
- &[data-margin="none"] {
49
- margin: 0;
50
- }
51
-
52
44
  &[data-width="full"] {
53
45
  block-size: 100%;
54
46
  }