@octanejs/radix 0.1.40 → 0.1.42

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.
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Dominic Gannaway
3
+ Copyright (c) 2022 WorkOS
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/UPSTREAM.md ADDED
@@ -0,0 +1,69 @@
1
+ # Radix React upstream ledger
2
+
3
+ `@octanejs/radix` targets the unified `radix-ui@1.6.4` package from
4
+ `https://github.com/radix-ui/primitives.git`.
5
+
6
+ ## Immutable pin
7
+
8
+ - Package: `radix-ui@1.6.4`
9
+ - Release commit: `eb8b851619a655e278c819b959be0d3924b0ada8` (`New release (1.6.4)`)
10
+ - npm archive SHA-256: `034b075b204bcd82bc7d52c82954e5204e7aa5493d34f3b534bc0440c785e571`
11
+ - npm lock integrity: `sha512-Kpgb9sx08toOydBK42//0N3MqIPlqjHcY39CYuGG8+7DrF6+NTfAnc3o+f1kvoKzG6cI56ri7Z45XEBQqG1QqQ==`
12
+ - Supported range: exactly `1.6.4`
13
+ - License: MIT
14
+ - React oracle: workspace-pinned React and React DOM
15
+
16
+ The release has no unified-package git tag or npm `gitHead`. The immutable commit above is the
17
+ repository release commit whose package versions and unified manifest are `1.6.4`.
18
+
19
+ ## Source and test boundary
20
+
21
+ The unified package has 55 direct workspace dependencies. Following those dependencies through the
22
+ pinned monorepo produces 61 packages, 207 source files, and 38 canonical runtime test files. The
23
+ byte-exact package directories and root MIT license are vendored under `upstream/`; all 452 files
24
+ verify offline against the upstream git blob shas recorded in `audit/upstream.lock.json`, and the
25
+ pinned license is republished at the package root as `LICENSE.upstream`. The executable checker rejects file,
26
+ package-graph, source, test inventory, or root-export crosswalk drift.
27
+
28
+ The 38 canonical tests are preserved as provenance. Pristine React execution and a case-by-case
29
+ adapted Octane lane for that suite remain open follow-up work; until those lanes land the binding
30
+ stays `recorded-unverified`. Vendoring alone is not behavioral evidence.
31
+
32
+ ## Root export crosswalk
33
+
34
+ `packages/radix/audit/export-crosswalk.json` (enforced by
35
+ `packages/radix/scripts/check-upstream-ledger.mjs`) maps every unified `radix-ui` root export to its
36
+ Octane binding, disposition, and evidence. Notable root-surface differences:
37
+
38
+ | Upstream export | Octane mapping | Disposition |
39
+ | --- | --- | --- |
40
+ | `unstable_OneTimePasswordField` | `OneTimePasswordField` | ported-renamed |
41
+ | `unstable_PasswordToggleField` | `PasswordToggleField` | ported-renamed |
42
+ | `Slot` (namespace) | `Slot`, `Slottable` (named) | adapted (descriptor API) |
43
+
44
+ Octane also exposes composition substrates that are not unified root exports (`Arrow`, `Menu`,
45
+ `Popper`, `Primitive`, `Presence`, `RovingFocus`, and several utilities). Those are listed under
46
+ `octaneAdditional` in the crosswalk so they cannot silently expand the claimed root surface.
47
+
48
+ ## Executable evidence
49
+
50
+ - Differential lane: all 16 collected same-fixture scenarios against `@octanejs/radix` and the
51
+ pinned real `radix-ui` package (byte-identical DOM).
52
+ - Type lanes: repo-authored pristine `tsc` and adapted `tsrx-tsc` root-export smokes (not a
53
+ one-for-one upstream type suite).
54
+ - Ordinary audit contracts: authenticate the vendored boundary and keep the Slot descriptor /
55
+ ref-as-prop adaptations explicit. Those contracts are repo-authored ledger evidence, not an
56
+ adapted upstream runtime suite.
57
+
58
+ The other local tests are Octane framework contracts. They cover additional component behavior but
59
+ are not counted as React parity. The differential suite is bounded jsdom evidence, not exhaustive
60
+ coverage of portals, focus management, pointer geometry, observers, SSR, hydration, or all 38
61
+ canonical upstream suites.
62
+
63
+ ## Intentional adaptations and open coverage
64
+
65
+ - `Slot` and `asChild` consume Octane element descriptors rather than React children-position JSX.
66
+ - React `forwardRef` wrappers become Octane ref-as-prop components.
67
+ - SSR and hydration coverage for overlay and portal components remains open.
68
+ - Canonical upstream runtime suite: pristine React execution where feasible, plus adapted Octane
69
+ cases recorded with concrete incompatibilities — still open.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/radix",
3
- "version": "0.1.40",
3
+ "version": "0.1.42",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -33,7 +33,9 @@
33
33
  "files": [
34
34
  "src",
35
35
  "dist/cjs",
36
- "README.md"
36
+ "LICENSE.upstream",
37
+ "README.md",
38
+ "UPSTREAM.md"
37
39
  ],
38
40
  "exports": {
39
41
  ".": {
@@ -45,10 +47,10 @@
45
47
  },
46
48
  "dependencies": {
47
49
  "aria-hidden": "^1.2.6",
48
- "@octanejs/floating-ui": "0.1.40"
50
+ "@octanejs/floating-ui": "0.1.42"
49
51
  },
50
52
  "peerDependencies": {
51
- "octane": "0.1.41"
53
+ "octane": "0.1.43"
52
54
  },
53
55
  "devDependencies": {
54
56
  "@tsrx/react": "^0.2.58",
@@ -57,7 +59,7 @@
57
59
  "react": "^19.2.7",
58
60
  "react-dom": "^19.2.7",
59
61
  "vitest": "^4.1.10",
60
- "octane": "0.1.41"
62
+ "octane": "0.1.43"
61
63
  },
62
64
  "scripts": {
63
65
  "build:cjs": "node ../../scripts/build-package-commonjs.mjs",