@wwtdev/bsds-css 1.6.5 → 1.7.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.
@@ -1,23 +1,20 @@
1
- /* Positioning the parent */
2
- .bs-dropdown {
1
+ /* Parent */
2
+ .bs-dropdown-parent {
3
3
  display: inline-block;
4
4
  position: relative;
5
5
  }
6
6
 
7
- /* Option list */
8
- .bs-dropdown :where(ul) {
7
+ /* Content */
8
+ .bs-dropdown {
9
9
  background-color: var(--bs-white);
10
10
  border-radius: 4px;
11
11
  bottom: auto;
12
12
  box-shadow: var(--bs-shadow-contentMedium);
13
13
  line-height: 1.5rem;
14
- list-style: none;
15
14
  margin: 0;
16
15
  max-height: 0;
17
- max-width: 16.875rem;
18
16
  opacity: 0;
19
17
  overflow-y: auto;
20
- padding: 0;
21
18
  position: absolute;
22
19
  top: calc(100% + 0.5rem);
23
20
  transition-duration: 75ms;
@@ -26,164 +23,42 @@
26
23
  z-index: 999;
27
24
  }
28
25
 
29
- /* (not) data-variant="fit" */
30
- .bs-dropdown:not([data-variant="fit"]) :where(ul) {
31
- width: 16.875rem;
32
- }
33
-
34
- /* data-shown */
35
- .bs-dropdown:where([data-shown]) :where(ul) {
36
- max-height: 20rem;
37
- opacity: 1;
38
- padding-top: 0.75rem;
39
- }
40
-
41
- /* data-position="top" */
42
- .bs-dropdown:where([data-position="top"]) :where(ul) {
43
- bottom: calc(100% + 0.5rem);
44
- top: auto;
45
- }
46
-
47
- /* data-justify="center" */
48
- .bs-dropdown:where([data-justify="center"]) :where(ul) {
49
- left: 50%;
50
- transform: translateX(-50%);
51
- }
52
-
53
- /* Option list item */
54
- .bs-dropdown :where(ul li) {
55
- align-items: center;
56
- border-bottom: 2px solid transparent;
57
- border-left: 4px solid transparent;
58
- border-radius: 3px;
59
- border-right: 2px solid transparent;
60
- border-top: 2px solid transparent;
61
- color: var(--bs-ink-base);
62
- column-gap: 0.5rem;
63
- cursor: pointer;
64
- display: grid;
65
- margin-bottom: 0.5rem;
66
- padding-bottom: 0.25rem;
67
- padding-left: 0.5rem;
68
- padding-right: 0.75rem;
69
- padding-top: 0.25rem;
70
- row-gap: 0.125rem;
71
- }
72
-
73
- /* data-variant="search" (search input) */
74
- .bs-dropdown :where(ul li[data-variant~="search"]) {
75
- border-left: none;
76
- cursor: default;
77
- display: block;
78
- }
79
-
80
- /* data-variant="break" (list item) */
81
- .bs-dropdown :where(ul li[data-variant~="break"]) {
82
- border-left: none;
83
- cursor: default;
84
- display: block;
85
- padding: 0;
86
- }
87
-
88
- /* data-variant="break" (actual line break) */
89
- .bs-dropdown :where(ul li[data-variant~="break"] hr) {
90
- background: var(--bs-navy-200);
91
- }
92
-
93
- /* data-variant="2-col" */
94
- .bs-dropdown :where(ul li[data-variant~="2-col"]) {
95
- grid-template-columns: min-content 1fr;
96
- }
97
-
98
- /* data-variant="description" */
99
- /* Description will be the 2nd child in a 1-column item */
100
- .bs-dropdown :where(ul li:not([data-variant~="2-col"])[data-variant~="description"] :nth-child(2)) {
101
- color: var(--bs-ink-light);
102
- font-size: var(--bs-text-xs);
103
- height: 1.125rem;
104
- line-height: 1.125rem;
105
- }
106
-
107
- /* data-variant="2-col description" */
108
- /* Description will be the 3rd child in a 2-column item */
109
- .bs-dropdown :where(ul li[data-variant~="2-col"][data-variant~="description"] :nth-child(3)) {
110
- color: var(--bs-ink-light);
111
- font-size: var(--bs-text-xs);
112
- grid-column-start: 2;
113
- height: 1.125rem;
114
- line-height: 1.125rem;
115
- }
116
-
117
- /* List item hover or data-selected */
118
- .bs-dropdown :where(ul li:hover),
119
- .bs-dropdown :where(ul li[data-selected]) {
120
- background-color: var(--bs-bg-subtle);
121
- border-left: 4px solid var(--bs-blue-400);
122
- color: var(--bs-blue-400);
123
- outline: none;
26
+ /* Sizing */
27
+ .bs-dropdown:where([data-width="sm"]) {
28
+ width: 10rem;
124
29
  }
125
30
 
126
- /* data-variant="search" or data-variant="break" hover */
127
- .bs-dropdown :where(ul li[data-variant~="search"]:hover),
128
- .bs-dropdown :where(ul li[data-variant~="break"]:hover) {
129
- background-color: transparent;
130
- border-left: none;
131
- color: var(--bs-ink-base);
31
+ .bs-dropdown:where([data-width="md"]),
32
+ .bs-dropdown:where(:not([data-width])) {
33
+ width: 20rem;
132
34
  }
133
35
 
134
- /* data-variant="negative" hover, data-selected, and both */
135
- .bs-dropdown :where(ul li[data-variant~="negative"]:hover),
136
- .bs-dropdown :where(ul li[data-variant~="negative"][data-selected]),
137
- .bs-dropdown :where(ul li[data-variant~="negative"][data-selected]:hover) {
138
- /* 25% alpha version of --bs-red-400 */
139
- background-color: rgba(248, 169, 170, 0.25);
140
- border-left: 4px solid var(--bs-red-500);
141
- color: var(--bs-red-500);
36
+ .bs-dropdown:where([data-width="lg"]) {
37
+ width: 40rem;
142
38
  }
143
39
 
144
- /* data-variant="description" or data-variant="2-col description" hover or data-selected */
145
- .bs-dropdown :where(ul li:not([data-variant~="2-col"])[data-variant~="description"]:hover :nth-child(2)),
146
- .bs-dropdown :where(ul li[data-variant~="2-col"][data-variant~="description"]:hover :nth-child(3)),
147
- .bs-dropdown :where(ul li:not([data-variant~="2-col"])[data-variant~="description"][data-selected] :nth-child(2)),
148
- .bs-dropdown :where(ul li[data-variant~="2-col"][data-variant~="description"][data-selected] :nth-child(3)) {
149
- color: var(--bs-blue-400);
40
+ .bs-dropdown:where([data-width="content"]) {
41
+ width: auto;
150
42
  }
151
43
 
152
- /* data-variant="negative description" or data-variant="2-col negative description" hover or data-selected */
153
- .bs-dropdown :where(ul li[data-variant~="negative"]:not([data-variant~="2-col"])[data-variant~="description"]:hover :nth-child(2)),
154
- .bs-dropdown :where(ul li[data-variant~="negative"][data-variant~="2-col"][data-variant~="description"]:hover :nth-child(3)),
155
- .bs-dropdown :where(ul li[data-variant~="negative"]:not([data-variant~="2-col"])[data-variant~="description"][data-selected] :nth-child(2)),
156
- .bs-dropdown :where(ul li[data-variant~="negative"][data-variant~="2-col"][data-variant~="description"][data-selected] :nth-child(3)) {
157
- color: var(--bs-red-500);
44
+ .bs-dropdown-parent:where([data-width="toggle"]) :where(.bs-dropdown) {
45
+ width: 100%;
158
46
  }
159
47
 
160
- /* List option mouse click focus (do not show) */
161
- .bs-dropdown :where(ul li:focus:not(:focus-visible)){
162
- outline: none;
163
- }
164
-
165
- /* data-variant="negative" list option mouse click focus (do not show) */
166
- li[data-variant~="negative"]:focus:not(:focus-visible) {
167
- outline: none;
168
- }
169
-
170
- /* List option keyboard navigation focus */
171
- .bs-dropdown :where(ul li:focus-visible) {
172
- --focus-border-color: var(--bs-blue-400);
173
- border: 2px solid var(--focus-border-color);
174
- outline: none;
175
- padding-left: 0.625rem;
48
+ /* data-shown */
49
+ .bs-dropdown:where([data-shown]) {
50
+ max-height: 20rem;
51
+ opacity: 1;
176
52
  }
177
53
 
178
- /* Navigation focus on a selected element should preserve 4px left border */
179
- .bs-dropdown :where(ul li[data-selected]:focus-visible) {
180
- border-left: 4px solid var(--focus-border-color);
181
- padding-left: 0.5rem;
54
+ /* data-top */
55
+ .bs-dropdown:where([data-top]) {
56
+ bottom: calc(100% + 0.5rem);
57
+ top: auto;
182
58
  }
183
59
 
184
- /* data-variant="negative" list option keyboard navigation focus */
185
- .bs-dropdown :where(ul li[data-variant~="negative"]:focus-visible) {
186
- --focus-border-color: var(--bs-red-200);
60
+ /* data-justify="center" */
61
+ .bs-dropdown-parent:where([data-center]) :where(.bs-dropdown) {
62
+ left: 50%;
63
+ transform: translateX(-50%);
187
64
  }
188
-
189
-
@@ -62,50 +62,52 @@
62
62
  }
63
63
 
64
64
  .bs-toast:where([data-dismissed]) {
65
- animation-duration: 200ms;
65
+ animation-duration: 200ms;
66
66
  animation-fill-mode: forwards;
67
67
  animation-name: slideDown;
68
68
  animation-timing-function: ease;
69
69
  }
70
70
 
71
- .bs-toast :where(.bs-toast-header) {
71
+ .bs-toast-header {
72
72
  align-items: center;
73
73
  color: var(--bs-ink-base);
74
74
  display: flex;
75
75
  gap: 0.5rem;
76
- padding-left: 1rem;
77
- padding-right: 1rem;
78
- padding-top: 1rem;
76
+ padding: 1rem;
79
77
  }
80
78
 
81
- .bs-toast :where(.bs-toast-header .bs-toast-header-icon) {
79
+ .bs-toast-header :where(.bs-toast-header-icon) {
82
80
  color: var(--bs-blue-400);
83
81
  }
84
82
 
85
- .bs-toast :where(h5) {
83
+ .bs-toast-header :where(h5) {
86
84
  font-weight: 400;
87
85
  }
88
86
 
89
- .bs-toast :where(.bs-toast-content) {
87
+ .bs-toast-body {
90
88
  border-bottom: 1px solid var(--bs-border);
91
89
  color: var(--bs-ink-light);
92
90
  padding-bottom: 1rem;
93
91
  padding-left: 1rem;
94
92
  padding-right: 1rem;
95
- padding-top: 0.25rem;
96
93
  }
97
94
 
98
- .bs-toast :where(.bs-toast-actions) {
95
+ .bs-toast-actions {
99
96
  /* Mobile - Buttons will be stacked */
100
97
  display: flex;
101
- flex-direction: column-reverse;
98
+ flex-direction: row;
102
99
  gap: 1rem;
100
+ justify-content: flex-end;
103
101
  padding-bottom: 0.5rem;
104
102
  padding-left: 1rem;
105
103
  padding-right: 1rem;
106
104
  padding-top: 0.5rem;
107
105
  }
108
106
 
107
+ .bs-toast-actions:where([data-stacked]) {
108
+ flex-direction: column-reverse;
109
+ }
110
+
109
111
  /* Warning Toast Styles */
110
112
  .bs-toast:where([data-variant^='warning']) {
111
113
  border-top: 4px solid var(--bs-orange-warning);
@@ -162,7 +164,7 @@
162
164
  }
163
165
 
164
166
  .bs-toast:where([data-dismissed]) {
165
- animation-duration: 200ms;
167
+ animation-duration: 200ms;
166
168
  animation-fill-mode: forwards;
167
169
  animation-name: slideRight;
168
170
  animation-timing-function: ease;
@@ -179,7 +181,7 @@
179
181
  transform: translateX(calc(100% + 1.5rem));
180
182
  }
181
183
  }
182
-
184
+
183
185
  @keyframes slideLeft {
184
186
  0% {
185
187
  opacity: 0;
@@ -191,10 +193,7 @@
191
193
  }
192
194
  }
193
195
 
194
- .bs-toast :where(.bs-toast-actions) {
195
- /* Non-mobile - Buttons will be side-by-side */
196
+ .bs-toast-actions:where([data-stacked]) {
196
197
  flex-direction: row;
197
- justify-content: flex-end;
198
198
  }
199
-
200
199
  }
package/dist/wwt-bsds.css CHANGED
@@ -1161,25 +1161,22 @@ a.bs-circle-button {
1161
1161
  .bs-circle-button:where(:disabled, [aria-disabled]:not([aria-disabled="false"])) :where(.bs-circle-button-icon) {
1162
1162
  background-color: var(--bs-gray-200);
1163
1163
  }
1164
- /* Positioning the parent */
1165
- .bs-dropdown {
1164
+ /* Parent */
1165
+ .bs-dropdown-parent {
1166
1166
  display: inline-block;
1167
1167
  position: relative;
1168
1168
  }
1169
- /* Option list */
1170
- .bs-dropdown :where(ul) {
1169
+ /* Content */
1170
+ .bs-dropdown {
1171
1171
  background-color: var(--bs-white);
1172
1172
  border-radius: 4px;
1173
1173
  bottom: auto;
1174
1174
  box-shadow: var(--bs-shadow-contentMedium);
1175
1175
  line-height: 1.5rem;
1176
- list-style: none;
1177
1176
  margin: 0;
1178
1177
  max-height: 0;
1179
- max-width: 16.875rem;
1180
1178
  opacity: 0;
1181
1179
  overflow-y: auto;
1182
- padding: 0;
1183
1180
  position: absolute;
1184
1181
  top: calc(100% + 0.5rem);
1185
1182
  transition-duration: 75ms;
@@ -1187,28 +1184,48 @@ a.bs-circle-button {
1187
1184
  transition-timing-function: ease-in-out;
1188
1185
  z-index: 999;
1189
1186
  }
1190
- /* (not) data-variant="fit" */
1191
- .bs-dropdown:not([data-variant="fit"]) :where(ul) {
1192
- width: 16.875rem;
1187
+ /* Sizing */
1188
+ .bs-dropdown:where([data-width="sm"]) {
1189
+ width: 10rem;
1190
+ }
1191
+ .bs-dropdown:where([data-width="md"]),
1192
+ .bs-dropdown:where(:not([data-width])) {
1193
+ width: 20rem;
1194
+ }
1195
+ .bs-dropdown:where([data-width="lg"]) {
1196
+ width: 40rem;
1197
+ }
1198
+ .bs-dropdown:where([data-width="content"]) {
1199
+ width: auto;
1200
+ }
1201
+ .bs-dropdown-parent:where([data-width="toggle"]) :where(.bs-dropdown) {
1202
+ width: 100%;
1193
1203
  }
1194
1204
  /* data-shown */
1195
- .bs-dropdown:where([data-shown]) :where(ul) {
1205
+ .bs-dropdown:where([data-shown]) {
1196
1206
  max-height: 20rem;
1197
1207
  opacity: 1;
1198
- padding-top: 0.75rem;
1199
1208
  }
1200
- /* data-position="top" */
1201
- .bs-dropdown:where([data-position="top"]) :where(ul) {
1209
+ /* data-top */
1210
+ .bs-dropdown:where([data-top]) {
1202
1211
  bottom: calc(100% + 0.5rem);
1203
1212
  top: auto;
1204
1213
  }
1205
1214
  /* data-justify="center" */
1206
- .bs-dropdown:where([data-justify="center"]) :where(ul) {
1215
+ .bs-dropdown-parent:where([data-center]) :where(.bs-dropdown) {
1207
1216
  left: 50%;
1208
1217
  transform: translateX(-50%);
1209
1218
  }
1219
+ /* Option list */
1220
+ .bs-dropdown-options {
1221
+ list-style: none;
1222
+ padding: 0;
1223
+ }
1224
+ .bs-dropdown-options :where(li:first-child) {
1225
+ margin-top: 0.5rem;
1226
+ }
1210
1227
  /* Option list item */
1211
- .bs-dropdown :where(ul li) {
1228
+ .bs-dropdown-options :where(li) {
1212
1229
  align-items: center;
1213
1230
  border-bottom: 2px solid transparent;
1214
1231
  border-left: 4px solid transparent;
@@ -1227,104 +1244,78 @@ a.bs-circle-button {
1227
1244
  padding-top: 0.25rem;
1228
1245
  row-gap: 0.125rem;
1229
1246
  }
1230
- /* data-variant="search" (search input) */
1231
- .bs-dropdown :where(ul li[data-variant~="search"]) {
1232
- border-left: none;
1233
- cursor: default;
1234
- display: block;
1235
- }
1236
- /* data-variant="break" (list item) */
1237
- .bs-dropdown :where(ul li[data-variant~="break"]) {
1238
- border-left: none;
1239
- cursor: default;
1240
- display: block;
1241
- padding: 0;
1242
- }
1243
- /* data-variant="break" (actual line break) */
1244
- .bs-dropdown :where(ul li[data-variant~="break"] hr) {
1245
- background: var(--bs-navy-200);
1246
- }
1247
- /* data-variant="2-col" */
1248
- .bs-dropdown :where(ul li[data-variant~="2-col"]) {
1247
+ /* Variant: 2-col */
1248
+ .bs-dropdown-options :where(li[data-variant~="2-col"]) {
1249
1249
  grid-template-columns: min-content 1fr;
1250
1250
  }
1251
- /* data-variant="description" */
1252
- /* Description will be the 2nd child in a 1-column item */
1253
- .bs-dropdown :where(ul li:not([data-variant~="2-col"])[data-variant~="description"] :nth-child(2)) {
1251
+ /* Variant: description */
1252
+ .bs-dropdown-options :where(li:not([data-variant~="2-col"])[data-variant~="description"] :nth-child(2)) {
1254
1253
  color: var(--bs-ink-light);
1255
1254
  font-size: var(--bs-text-xs);
1256
1255
  height: 1.125rem;
1257
1256
  line-height: 1.125rem;
1258
1257
  }
1259
- /* data-variant="2-col description" */
1260
- /* Description will be the 3rd child in a 2-column item */
1261
- .bs-dropdown :where(ul li[data-variant~="2-col"][data-variant~="description"] :nth-child(3)) {
1258
+ /* Variant: 2-col description */
1259
+ .bs-dropdown-options :where(li[data-variant~="2-col"][data-variant~="description"] :nth-child(3)) {
1262
1260
  color: var(--bs-ink-light);
1263
1261
  font-size: var(--bs-text-xs);
1264
1262
  grid-column-start: 2;
1265
1263
  height: 1.125rem;
1266
1264
  line-height: 1.125rem;
1267
1265
  }
1268
- /* List item hover or data-selected */
1269
- .bs-dropdown :where(ul li:hover),
1270
- .bs-dropdown :where(ul li[data-selected]) {
1266
+ /* Hover or data-selected */
1267
+ .bs-dropdown-options :where(li:hover),
1268
+ .bs-dropdown-options :where(li[data-selected]) {
1271
1269
  background-color: var(--bs-bg-subtle);
1272
1270
  border-left: 4px solid var(--bs-blue-400);
1273
1271
  color: var(--bs-blue-400);
1274
1272
  outline: none;
1275
1273
  }
1276
- /* data-variant="search" or data-variant="break" hover */
1277
- .bs-dropdown :where(ul li[data-variant~="search"]:hover),
1278
- .bs-dropdown :where(ul li[data-variant~="break"]:hover) {
1279
- background-color: transparent;
1280
- border-left: none;
1281
- color: var(--bs-ink-base);
1282
- }
1283
- /* data-variant="negative" hover, data-selected, and both */
1284
- .bs-dropdown :where(ul li[data-variant~="negative"]:hover),
1285
- .bs-dropdown :where(ul li[data-variant~="negative"][data-selected]),
1286
- .bs-dropdown :where(ul li[data-variant~="negative"][data-selected]:hover) {
1274
+ /* Variant: negative */
1275
+ .bs-dropdown-options :where(li[data-variant~="negative"]:hover),
1276
+ .bs-dropdown-options :where(li[data-variant~="negative"][data-selected]),
1277
+ .bs-dropdown-options :where(li[data-variant~="negative"][data-selected]:hover) {
1287
1278
  /* 25% alpha version of --bs-red-400 */
1288
1279
  background-color: rgba(248, 169, 170, 0.25);
1289
1280
  border-left: 4px solid var(--bs-red-500);
1290
1281
  color: var(--bs-red-500);
1291
1282
  }
1292
- /* data-variant="description" or data-variant="2-col description" hover or data-selected */
1293
- .bs-dropdown :where(ul li:not([data-variant~="2-col"])[data-variant~="description"]:hover :nth-child(2)),
1294
- .bs-dropdown :where(ul li[data-variant~="2-col"][data-variant~="description"]:hover :nth-child(3)),
1295
- .bs-dropdown :where(ul li:not([data-variant~="2-col"])[data-variant~="description"][data-selected] :nth-child(2)),
1296
- .bs-dropdown :where(ul li[data-variant~="2-col"][data-variant~="description"][data-selected] :nth-child(3)) {
1283
+ /* Hover or data-selected for 2-col/description variants */
1284
+ .bs-dropdown-options :where(li:not([data-variant~="2-col"])[data-variant~="description"]:hover :nth-child(2)),
1285
+ .bs-dropdown-options :where(li[data-variant~="2-col"][data-variant~="description"]:hover :nth-child(3)),
1286
+ .bs-dropdown-options :where(li:not([data-variant~="2-col"])[data-variant~="description"][data-selected] :nth-child(2)),
1287
+ .bs-dropdown-options :where(li[data-variant~="2-col"][data-variant~="description"][data-selected] :nth-child(3)) {
1297
1288
  color: var(--bs-blue-400);
1298
1289
  }
1299
- /* data-variant="negative description" or data-variant="2-col negative description" hover or data-selected */
1300
- .bs-dropdown :where(ul li[data-variant~="negative"]:not([data-variant~="2-col"])[data-variant~="description"]:hover :nth-child(2)),
1301
- .bs-dropdown :where(ul li[data-variant~="negative"][data-variant~="2-col"][data-variant~="description"]:hover :nth-child(3)),
1302
- .bs-dropdown :where(ul li[data-variant~="negative"]:not([data-variant~="2-col"])[data-variant~="description"][data-selected] :nth-child(2)),
1303
- .bs-dropdown :where(ul li[data-variant~="negative"][data-variant~="2-col"][data-variant~="description"][data-selected] :nth-child(3)) {
1290
+ /* Hover or data-selected for negative + 2-col/description variants */
1291
+ .bs-dropdown-options :where(li[data-variant~="negative"]:not([data-variant~="2-col"])[data-variant~="description"]:hover :nth-child(2)),
1292
+ .bs-dropdown-options :where(li[data-variant~="negative"][data-variant~="2-col"][data-variant~="description"]:hover :nth-child(3)),
1293
+ .bs-dropdown-options :where(li[data-variant~="negative"]:not([data-variant~="2-col"])[data-variant~="description"][data-selected] :nth-child(2)),
1294
+ .bs-dropdown-options :where(li[data-variant~="negative"][data-variant~="2-col"][data-variant~="description"][data-selected] :nth-child(3)) {
1304
1295
  color: var(--bs-red-500);
1305
1296
  }
1306
1297
  /* List option mouse click focus (do not show) */
1307
- .bs-dropdown :where(ul li:focus:not(:focus-visible)){
1298
+ .bs-dropdown-options :where(li:focus:not(:focus-visible)){
1308
1299
  outline: none;
1309
1300
  }
1310
1301
  /* data-variant="negative" list option mouse click focus (do not show) */
1311
- li[data-variant~="negative"]:focus:not(:focus-visible) {
1302
+ .bs-dropdown-options :where(li[data-variant~="negative"]:focus:not(:focus-visible)) {
1312
1303
  outline: none;
1313
1304
  }
1314
1305
  /* List option keyboard navigation focus */
1315
- .bs-dropdown :where(ul li:focus-visible) {
1306
+ .bs-dropdown-options :where(li:focus-visible) {
1316
1307
  --focus-border-color: var(--bs-blue-400);
1317
1308
  border: 2px solid var(--focus-border-color);
1318
1309
  outline: none;
1319
1310
  padding-left: 0.625rem;
1320
1311
  }
1321
1312
  /* Navigation focus on a selected element should preserve 4px left border */
1322
- .bs-dropdown :where(ul li[data-selected]:focus-visible) {
1313
+ .bs-dropdown-options :where(li[data-selected]:focus-visible) {
1323
1314
  border-left: 4px solid var(--focus-border-color);
1324
1315
  padding-left: 0.5rem;
1325
1316
  }
1326
1317
  /* data-variant="negative" list option keyboard navigation focus */
1327
- .bs-dropdown :where(ul li[data-variant~="negative"]:focus-visible) {
1318
+ .bs-dropdown-options :where(li[data-variant~="negative"]:focus-visible) {
1328
1319
  --focus-border-color: var(--bs-red-200);
1329
1320
  }
1330
1321
  :where(label, legend) {
@@ -2373,44 +2364,45 @@ table:where([data-sticky^="left"]) :is(td:first-child, th:first-child) {
2373
2364
  animation-timing-function: ease;
2374
2365
  }
2375
2366
  .bs-toast:where([data-dismissed]) {
2376
- animation-duration: 200ms;
2367
+ animation-duration: 200ms;
2377
2368
  animation-fill-mode: forwards;
2378
2369
  animation-name: slideDown;
2379
2370
  animation-timing-function: ease;
2380
2371
  }
2381
- .bs-toast :where(.bs-toast-header) {
2372
+ .bs-toast-header {
2382
2373
  align-items: center;
2383
2374
  color: var(--bs-ink-base);
2384
2375
  display: flex;
2385
2376
  gap: 0.5rem;
2386
- padding-left: 1rem;
2387
- padding-right: 1rem;
2388
- padding-top: 1rem;
2377
+ padding: 1rem;
2389
2378
  }
2390
- .bs-toast :where(.bs-toast-header .bs-toast-header-icon) {
2379
+ .bs-toast-header :where(.bs-toast-header-icon) {
2391
2380
  color: var(--bs-blue-400);
2392
2381
  }
2393
- .bs-toast :where(h5) {
2382
+ .bs-toast-header :where(h5) {
2394
2383
  font-weight: 400;
2395
2384
  }
2396
- .bs-toast :where(.bs-toast-content) {
2385
+ .bs-toast-body {
2397
2386
  border-bottom: 1px solid var(--bs-border);
2398
2387
  color: var(--bs-ink-light);
2399
2388
  padding-bottom: 1rem;
2400
2389
  padding-left: 1rem;
2401
2390
  padding-right: 1rem;
2402
- padding-top: 0.25rem;
2403
2391
  }
2404
- .bs-toast :where(.bs-toast-actions) {
2392
+ .bs-toast-actions {
2405
2393
  /* Mobile - Buttons will be stacked */
2406
2394
  display: flex;
2407
- flex-direction: column-reverse;
2395
+ flex-direction: row;
2408
2396
  gap: 1rem;
2397
+ justify-content: flex-end;
2409
2398
  padding-bottom: 0.5rem;
2410
2399
  padding-left: 1rem;
2411
2400
  padding-right: 1rem;
2412
2401
  padding-top: 0.5rem;
2413
2402
  }
2403
+ .bs-toast-actions:where([data-stacked]) {
2404
+ flex-direction: column-reverse;
2405
+ }
2414
2406
  /* Warning Toast Styles */
2415
2407
  .bs-toast:where([data-variant^='warning']) {
2416
2408
  border-top: 4px solid var(--bs-orange-warning);
@@ -2459,7 +2451,7 @@ table:where([data-sticky^="left"]) :is(td:first-child, th:first-child) {
2459
2451
  }
2460
2452
 
2461
2453
  .bs-toast:where([data-dismissed]) {
2462
- animation-duration: 200ms;
2454
+ animation-duration: 200ms;
2463
2455
  animation-fill-mode: forwards;
2464
2456
  animation-name: slideRight;
2465
2457
  animation-timing-function: ease;
@@ -2476,7 +2468,7 @@ table:where([data-sticky^="left"]) :is(td:first-child, th:first-child) {
2476
2468
  transform: translateX(calc(100% + 1.5rem));
2477
2469
  }
2478
2470
  }
2479
-
2471
+
2480
2472
  @keyframes slideLeft {
2481
2473
  0% {
2482
2474
  opacity: 0;
@@ -2488,12 +2480,9 @@ table:where([data-sticky^="left"]) :is(td:first-child, th:first-child) {
2488
2480
  }
2489
2481
  }
2490
2482
 
2491
- .bs-toast :where(.bs-toast-actions) {
2492
- /* Non-mobile - Buttons will be side-by-side */
2483
+ .bs-toast-actions:where([data-stacked]) {
2493
2484
  flex-direction: row;
2494
- justify-content: flex-end;
2495
2485
  }
2496
-
2497
2486
  }
2498
2487
  /* Container for holding all toasts that will be visible */
2499
2488
  .bs-toaster {