@charcuterie/ui 4.31.0 → 4.31.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.
package/docs/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @charcuterie/ui 4.31.0
1
+ # @charcuterie/ui 4.31.1
2
2
 
3
3
  These docs describe the API shipped with this package version.
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@charcuterie/ui",
3
- "version": "4.31.0",
3
+ "version": "4.31.1",
4
4
  "description": "The Charcuterie components. Tokens for look, @charcuterie/logic for state, ARIA that agents can actually drive.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -59,7 +59,7 @@
59
59
  "src"
60
60
  ],
61
61
  "dependencies": {
62
- "@charcuterie/logic": "2.13.0",
62
+ "@charcuterie/logic": "2.14.0",
63
63
  "@charcuterie/tokens": "1.11.0",
64
64
  "@floating-ui/react": "^0.27.20",
65
65
  "@tanstack/react-virtual": "^3.13.12",
@@ -26,7 +26,10 @@ const packagesDirectory = resolve(packageDirectory, "..")
26
26
 
27
27
  type PackageManifest = {
28
28
  dependencies?: Record<string, string>
29
- exports?: Record<string, string | { source?: string }>
29
+ exports?: Record<
30
+ string,
31
+ string | null | { source?: string }
32
+ >
30
33
  peerDependencies?: Record<string, string>
31
34
  }
32
35
 
@@ -740,6 +743,14 @@ const ENTRY_POINT_RUNTIMES: Record<
740
743
  "@tanstack/charts/tooltip",
741
744
  "react",
742
745
  ],
746
+ // The agent bridge's engine. It reaches nothing, like the core,
747
+ // and no other entry reaches it: `isolation.test.ts` in `logic`
748
+ // walks every other entry and proves that.
749
+ "./agent": [],
750
+ // The React seam: the provider, the scopes, and the registry, and
751
+ // `react` alone. It does not reach the engine; `isolation.test.ts`
752
+ // in `logic` proves that, and that `./preact` reaches no React.
753
+ "./agent/react": ["react"],
743
754
  "./browser": [],
744
755
  "./core": [],
745
756
  "./jotai": ["jotai"],
@@ -916,7 +927,10 @@ test.each(Object.keys(ENTRY_POINT_RUNTIMES))(
916
927
  const entryPoints = Object.entries(
917
928
  manifest.exports ?? {},
918
929
  ).flatMap(([name, target]) =>
919
- typeof target === "object" && target.source
930
+ // `null` excludes a subpath; a string target is a file pattern.
931
+ target !== null &&
932
+ typeof target === "object" &&
933
+ target.source
920
934
  ? [[name, target.source] as const]
921
935
  : [],
922
936
  )