draft-components 1.2.1 → 1.2.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.
@@ -602,6 +602,7 @@
602
602
  content: "";
603
603
  position: absolute;
604
604
  inset: -3px;
605
+ pointer-events: none;
605
606
  border-radius: calc(3px + var(--dc-button-radius));
606
607
  box-shadow: 0 0 0 3px var(--dc-button-focus-ring-color);
607
608
  }
@@ -1692,8 +1693,8 @@
1692
1693
  .dc-switch__input:focus + .dc-switch__track::after {
1693
1694
  content: "";
1694
1695
  position: absolute;
1695
- z-index: -1;
1696
1696
  inset: -3px;
1697
+ pointer-events: none;
1697
1698
  border-radius: calc(3px + var(--dc-switch-radius));
1698
1699
  box-shadow: 0 0 0 3px var(--dc-switch-focus-ring-color);
1699
1700
  }
@@ -1770,8 +1771,8 @@
1770
1771
  .dc-checkbox__input:focus + .dc-checkbox__check::after {
1771
1772
  content: "";
1772
1773
  position: absolute;
1773
- z-index: -1;
1774
1774
  inset: -3px;
1775
+ pointer-events: none;
1775
1776
  border-radius: calc(3px + var(--dc-checkbox-radius));
1776
1777
  box-shadow: 0 0 0 3px var(--dc-checkbox-focus-ring-color);
1777
1778
  }
@@ -1844,8 +1845,8 @@
1844
1845
  .dc-radio__input:focus + .dc-radio__check::after {
1845
1846
  content: "";
1846
1847
  position: absolute;
1847
- z-index: -1;
1848
1848
  inset: -3px;
1849
+ pointer-events: none;
1849
1850
  border-radius: 50%;
1850
1851
  box-shadow: 0 0 0 3px var(--dc-radio-color-focus-ring);
1851
1852
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "draft-components",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "The React based UI components library.",
5
5
  "type": "module",
6
6
  "exports": {