@adamjanicki/ui 1.1.2 → 1.1.3

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 (2) hide show
  1. package/package.json +1 -1
  2. package/style.css +6 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adamjanicki/ui",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Basic UI components and hooks for React in TypeScript",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
package/style.css CHANGED
@@ -103,8 +103,12 @@
103
103
  --ajui-link-color: #009ef3;
104
104
  }
105
105
 
106
- a:not([disabled]):is(:focus-visible),
107
- button:not([disabled]):is(:focus-visible) {
106
+ a:focus:not(:focus-visible) {
107
+ outline: none;
108
+ }
109
+
110
+ a:not([disabled]):focus-visible,
111
+ button:not([disabled]):focus-visible {
108
112
  outline: 3px solid var(--ajui-link-color);
109
113
  outline-offset: 0;
110
114
  }