@octanejs/base-ui 0.1.39 → 0.1.41

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) 2019 Material-UI SAS
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,66 @@
1
+ # Base UI upstream ledger
2
+
3
+ `@octanejs/base-ui` targets `@base-ui/react@1.6.0` from
4
+ `https://github.com/mui/base-ui.git`.
5
+
6
+ | Package | Version | Tag | Commit | npm SHA-256 |
7
+ | --- | --- | --- | --- | --- |
8
+ | `@base-ui/react` | `1.6.0` | `v1.6.0` | `b34551d644f2e58ebf8fc1050d949f6654ceca6c` | `583e60023a77fed45caf8a2f980813e8a75e2f2a97f59c30380d2234cc3e0423` |
9
+
10
+ The lockfile integrity is
11
+ `sha512-/jzjTWJYXhRFO45Bev9lc3cHbmjzCMpUqbMZ2AgKy/z25mY9B6shGSNcXcjQar9n5doM0KYW1W8fcFv2jZBuMw==`.
12
+ The annotated tag is unsigned and peels to the commit above. The supported range is this exact
13
+ release; upgrades require a new crosswalk.
14
+
15
+ ## Source and test boundary
16
+
17
+ - Canonical package root: `packages/react`
18
+ - Public surface: the non-internal component/utility subpaths in `packages/react/package.json`
19
+ - Runtime/type tests: `packages/react/src/**/*.{test,spec}.{ts,tsx}`
20
+ - Shared test/support root: `packages/react/test`
21
+ - License: MIT; pinned root `LICENSE` SHA-256
22
+ `07fc1b39d69d14bc7d40482a628f47226258eb01265db68ae684944b916beb2a`
23
+ - React oracle: the workspace-pinned React and React DOM versions used by `@base-ui/react`
24
+
25
+ The byte-exact React-facing source, runtime/type suites, shared support files, package metadata,
26
+ and MIT license are vendored under `upstream/`. All 1,129 vendored files verify offline against
27
+ the upstream git blob shas recorded in `audit/upstream.lock.json`, and the pinned license is
28
+ republished at the package root as `LICENSE.upstream`. To restore or extend the vendored
29
+ tree, fetch the pinned files with
30
+ `pnpm react-port:materialize run --package-dir packages/base-ui` (or re-vendor from an
31
+ immutable checkout of tag `v1.6.0` and re-run the lock).
32
+
33
+ `audit/upstream-crosswalk.json` records all 43 public component/utility subpaths and 348
34
+ runtime, type, and support artifacts. It classifies 35 subpaths as
35
+ `surface-present-unverified` and eight as explicit gaps: Autocomplete, Combobox, Drawer,
36
+ Navigation Menu, OTP Field, Scroll Area, Select, and Toolbar. Surface presence is not a
37
+ behavioral parity claim.
38
+
39
+ The canonical package has 273 runtime test files, 35 type-test files, and 40 support
40
+ artifacts. Ten upstream Accordion, Collapsible, and Tabs files have selected cases adapted locally; the
41
+ remaining suite is vendored but not adapted in full, so the binding remains
42
+ `recorded-unverified`. The published npm package contains no canonical test files; that
43
+ registry boundary is not evidence that the repository suite is absent.
44
+
45
+ ## Executable evidence
46
+
47
+ The differential lane runs all 98 authored same-fixture scenarios against both Octane and the
48
+ pinned `@base-ui/react` package and verifies their exact inventory. A separate adapted lane runs
49
+ the 49 currently collected Accordion, Collapsible, and Tabs cases (selected transcriptions from
50
+ the pin, not the full 273-file upstream runtime suite) and verifies that inventory. Focused lanes
51
+ bind representative cases to structured divergences. Local crosswalk/gap contract tests run in the
52
+ ordinary `base-ui` Vitest project and are not react-parity evidence. Pristine upstream runtime,
53
+ pristine type, and one-for-one adapted type lanes are still required before this binding can leave
54
+ `recorded-unverified`.
55
+
56
+ ## Intentional divergences and known gaps
57
+
58
+ - Host handlers use native DOM events rather than React's synthetic event layer.
59
+ - React `forwardRef` wrappers become ref-as-prop; class values use Octane composition rules.
60
+ - Base UI's internal standalone `useHover` combiner is not republished because no ported Base
61
+ UI component consumes it.
62
+ - The shared default Tooltip delay-group refs match the pinned upstream behavior.
63
+ - `NumberField.ScrubArea` and press-and-hold stepping remain gaps; steppers handle single
64
+ presses only.
65
+
66
+ Structured divergence records and their executing cases live in `audit/react-parity.json`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/base-ui",
3
- "version": "0.1.39",
3
+ "version": "0.1.41",
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
  ".": {
@@ -53,10 +55,10 @@
53
55
  "@floating-ui/utils": "^0.2.12",
54
56
  "aria-hidden": "^1.2.6",
55
57
  "tabbable": "^6.5.0",
56
- "@octanejs/floating-ui": "0.1.40"
58
+ "@octanejs/floating-ui": "0.1.42"
57
59
  },
58
60
  "peerDependencies": {
59
- "octane": "0.1.41"
61
+ "octane": "0.1.43"
60
62
  },
61
63
  "devDependencies": {
62
64
  "@base-ui/react": "^1.6.0",
@@ -65,7 +67,7 @@
65
67
  "react": "^19.2.7",
66
68
  "react-dom": "^19.2.7",
67
69
  "vitest": "^4.1.10",
68
- "octane": "0.1.41"
70
+ "octane": "0.1.43"
69
71
  },
70
72
  "scripts": {
71
73
  "build:cjs": "node ../../scripts/build-package-commonjs.mjs",