@domphy/ui 0.22.0 → 0.22.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +17 -18
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @domphy/ui Changelog
2
2
 
3
+ ## 0.22.1
4
+
5
+ - Republish of 0.22.0 with no code change: the 0.22.0 tarball was published with raw `workspace:` dependency specifiers (published with `npm publish` instead of `pnpm publish`), so it could not be installed outside this monorepo. 0.22.0 is deprecated on npm.
6
+
3
7
  ## 0.22.0
4
8
 
5
9
  - fix(overlays): a floating panel opened outside a `<dialog>` no longer mounts inside it. Panels opened *within* a dialog portal into the dialog's own overlay container (top-layer sharing), which used the same `id="domphy-floating"` as the app-level one, so the root's descendant lookup matched the dialog's copy first: after one in-dialog dropdown, every later popover/tooltip/select in the app was mounted inside a closed, `display:none` dialog — `aria-expanded="true"` with a 0x0, unfocusable panel. The container is now marked with a `data-domphy-floating` **attribute** (a document can legitimately hold several, so a fixed `id` was duplicate-id invalid HTML) and the root lookup is `:scope > [data-domphy-floating]`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domphy/ui",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "98 UI patches for the Domphy runtime — buttons, dialogs, forms, overlays, motion",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -18,15 +18,6 @@
18
18
  }
19
19
  }
20
20
  },
21
- "scripts": {
22
- "build": "tsup",
23
- "dev": "tsup --watch",
24
- "pack": "tsup && npm pack",
25
- "prepublishOnly": "node ../../scripts/guard-pnpm-publish.mjs && npm run build",
26
- "test": "vitest run",
27
- "test:watch": "vitest",
28
- "typecheck": "tsc -p tsconfig.json --noEmit"
29
- },
30
21
  "keywords": [
31
22
  "domphy",
32
23
  "ui",
@@ -46,20 +37,20 @@
46
37
  "directory": "packages/ui"
47
38
  },
48
39
  "devDependencies": {
49
- "@domphy/core": "workspace:*",
50
- "@domphy/theme": "workspace:*",
51
40
  "axe-core": "^4.12.1",
52
41
  "jsdom": "^29.1.1",
53
42
  "tsup": "^8.5.1",
54
43
  "typescript": "^5.9.3",
55
- "vitest": "^4.0.18"
44
+ "vitest": "^4.0.18",
45
+ "@domphy/theme": "0.23.1",
46
+ "@domphy/core": "0.22.0"
56
47
  },
57
48
  "peerDependencies": {
58
- "@domphy/core": "workspace:^",
59
- "@domphy/theme": "^0.23.0"
49
+ "@domphy/theme": "^0.23.0",
50
+ "@domphy/core": "^0.22.0"
60
51
  },
61
52
  "dependencies": {
62
- "@domphy/floating": "workspace:^"
53
+ "@domphy/floating": "^0.18.5"
63
54
  },
64
55
  "files": [
65
56
  "dist",
@@ -67,5 +58,13 @@
67
58
  "CHANGELOG.md"
68
59
  ],
69
60
  "unpkg": "dist/core-theme-ui.global.js",
70
- "jsdelivr": "dist/core-theme-ui.global.js"
71
- }
61
+ "jsdelivr": "dist/core-theme-ui.global.js",
62
+ "scripts": {
63
+ "build": "tsup",
64
+ "dev": "tsup --watch",
65
+ "pack": "tsup && npm pack",
66
+ "test": "vitest run",
67
+ "test:watch": "vitest",
68
+ "typecheck": "tsc -p tsconfig.json --noEmit"
69
+ }
70
+ }