@ai-matrx/sharing 0.1.10 → 0.1.12
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/CHANGELOG.md +8 -0
- package/dist/react.cjs +274 -293
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +17 -1
- package/dist/react.d.ts +17 -1
- package/dist/react.js +175 -194
- package/dist/react.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.12
|
|
4
|
+
|
|
5
|
+
- **`/react` no longer pulls the whole Vault** (build-cost lane, 2026-10-22). The share sheet's secure-link gate imported `createSupabaseIdentity`, `IdentityGate`, `useConfirmed` and `wasCancelled` from the `@ai-matrx/vault` root, so every host that mounts the share sheet (the web app does, in its root providers) compiled every Vault screen and `@zip.js/zip.js`. It now imports them from `@ai-matrx/vault/identity`. Needs `@ai-matrx/vault` with the `/identity` entry (published in the same release train, lower DAG level). Consumer action: none.
|
|
6
|
+
|
|
7
|
+
## 0.1.11
|
|
8
|
+
|
|
9
|
+
- **One manual-copy dialog: `useShare` asks the host (2026-10-22, summon adoption X11).** A refused clipboard no longer opens a `ClipboardFallbackDialog` that `useShare` mounted itself; it calls the share sheet's new `manualCopy` port (`configureShareSheetUi({ manualCopy })`, also exported as `manualCopy` from the sheet host), whose default is kit `openClipboardFallback`, i.e. the host's ONE manual-copy dialog (the web app's summon overlay through its kit bridge, `<ClipboardFallbackHost />` anywhere else). `copy`/`share` still resolve `"manual"` and never flip `copied`. `UseShareResult.fallbackDialog` is now always `null` and `@deprecated`; `ShareLinkPanel` no longer renders it. Sharing's bundle no longer imports `ClipboardFallbackDialog`. Test: `src/react/__tests__/manual-copy-goes-through-the-host.test.tsx` (port, kit default, no-own-dialog scan; red on the old `useShare`). **Consumer action:** remove `{fallbackDialog}` from JSX when convenient (it renders nothing now; removal of the field comes later). A host must have a manual-copy host registered (the web app's `ClipboardFallbackBridge`, or `<ClipboardFallbackHost />`), or pass `manualCopy`. matrx-frontend: `features/sharing/hooks/__tests__/useShare.test.tsx` and `scripts/__tests__/clipboard-success-gating.behavior.test.ts` ("useShare copy fallback") assert the old hand-mounted dialog and must be updated (builder-X11.md).
|
|
10
|
+
|
|
3
11
|
## 0.1.10
|
|
4
12
|
|
|
5
13
|
- **The access screens' stand-ins announce themselves (2026-10-22, round 3).** Every default of `configureAccessUi` the host did not replace (`Link`, `router`, `searchParam`, `confirm`, `Textarea`, `renderUserIdentity`, `renderEntityRef`, `renderErrorMenu`, and the quiet app features `entityRegistry`, `recordUnavailableCapture`, `settingRequestActions`, `resourceActionRequests`, `presentOrganizationRefusal`, `overlays`' close) now says so: one console notice per field naming `configureAccessUi({ <field> })`, the field in `data-access-ui-ports` on `<html>`, and `data-access-ui-host="unconfigured"` + `data-access-ui-port` on what the default draws (the same pattern as the share sheet). New test seam `resetAccessUiStandInNotices`. Guard: `src/access/react/env.stand-ins.test.tsx`. **Consumer action:** none; a host that sees a notice supplies the named field.
|