@lime-bundles/widget 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +17 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -6
- package/dist/index.js.map +1 -1
- package/dist/lime-bundle.global.js +17 -6
- package/dist/lime-bundle.global.js.map +1 -1
- package/package.json +1 -1
|
@@ -567,10 +567,10 @@
|
|
|
567
567
|
click-to-focus doesn't leave a keyboard-style ring. The modal overlay
|
|
568
568
|
gets its own selector because the Liquid path reparents it to body,
|
|
569
569
|
outside the widget root. */
|
|
570
|
-
.using-mouse .lb-bundle-widget :focus,
|
|
571
|
-
.using-mouse .lb-bundle-widget :focus-visible,
|
|
572
|
-
.using-mouse .lb-mix-match__modal-overlay :focus,
|
|
573
|
-
.using-mouse .lb-mix-match__modal-overlay :focus-visible {
|
|
570
|
+
.using-mouse .lb-bundle-widget :focus:not([aria-checked="true"]),
|
|
571
|
+
.using-mouse .lb-bundle-widget :focus-visible:not([aria-checked="true"]),
|
|
572
|
+
.using-mouse .lb-mix-match__modal-overlay :focus:not([aria-checked="true"]),
|
|
573
|
+
.using-mouse .lb-mix-match__modal-overlay :focus-visible:not([aria-checked="true"]) {
|
|
574
574
|
outline: none;
|
|
575
575
|
outline-offset: 0;
|
|
576
576
|
box-shadow: none;
|
|
@@ -1446,10 +1446,21 @@
|
|
|
1446
1446
|
}
|
|
1447
1447
|
|
|
1448
1448
|
.lb-volume__tier:hover {
|
|
1449
|
-
border-color:
|
|
1449
|
+
border-color: var(--lb-tier-selected-border-color);
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
/* Suppress the UA default focus outline so a freshly-clicked selected
|
|
1453
|
+
tier doesn't briefly show the 1px focus ring on top of (or in place of)
|
|
1454
|
+
the custom selected-state outline below. Keyboard focus is still
|
|
1455
|
+
indicated by the :focus-visible rule. */
|
|
1456
|
+
.lb-volume__tier:focus {
|
|
1457
|
+
outline: none;
|
|
1450
1458
|
}
|
|
1451
1459
|
|
|
1452
|
-
|
|
1460
|
+
/* Keyboard focus indicator \u2014 explicitly excludes the selected tier so
|
|
1461
|
+
the selected-state outline rule below has full ownership of the
|
|
1462
|
+
outline property when both states apply at once. */
|
|
1463
|
+
.lb-volume__tier:focus-visible:not([aria-checked="true"]) {
|
|
1453
1464
|
outline: 2px solid var(--lb-primary-color);
|
|
1454
1465
|
outline-offset: 2px;
|
|
1455
1466
|
}
|