shelving 1.285.4 → 1.285.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shelving",
3
- "version": "1.285.4",
3
+ "version": "1.285.5",
4
4
  "author": "Dave Houlbrooke <dave@shax.com>",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  "main": "./index.js",
10
10
  "module": "./index.js",
11
11
  "devDependencies": {
12
- "@biomejs/biome": "^2.5.13",
12
+ "@biomejs/biome": "^2.5.14",
13
13
  "@heroicons/react": "^2.2.0",
14
14
  "@types/bun": "^1.4.2",
15
15
  "@types/react": "^19.3.0",
@@ -37,14 +37,20 @@
37
37
  }
38
38
 
39
39
  .link {
40
- /* Box */
40
+ /* Box — `inline-size` and `border` also reset the `<button>` an `onClick` item renders. */
41
41
  display: block;
42
+ inline-size: 100%;
42
43
  padding: var(--menu-padding, var(--space-xxsmall));
44
+ border: none;
43
45
  border-radius: var(--menu-radius, var(--radius-xxsmall));
44
46
 
45
- /* Style */
47
+ /* Style — `background`, `font`, `text-align` and `cursor` reset the native button look. */
48
+ background: none;
46
49
  color: inherit;
50
+ font: inherit;
51
+ text-align: start;
47
52
  text-decoration: none;
53
+ cursor: pointer;
48
54
  transition: all 120ms ease-in-out;
49
55
  outline: var(--menu-focus-border, var(--stroke-focus) solid var(--color-focus));
50
56
  outline-offset: calc(0px - var(--stroke-normal));