@ai-matrx/records-ui 0.115.108 → 0.116.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/CHANGELOG.md +28 -1
- package/dist/SaveToTable-3VDK4U5M.js +20 -0
- package/dist/{chunk-W3EU7H4V.js → chunk-42VA6SWA.js} +93 -512
- package/dist/chunk-42VA6SWA.js.map +1 -0
- package/dist/chunk-B5S5F5NH.js +445 -0
- package/dist/chunk-B5S5F5NH.js.map +1 -0
- package/dist/chunk-IUUZVQZD.js +95 -0
- package/dist/chunk-IUUZVQZD.js.map +1 -0
- package/dist/{chunk-6NSGVKYL.js → chunk-NJYJEAQC.js} +1 -91
- package/dist/chunk-NJYJEAQC.js.map +1 -0
- package/dist/{chunk-VGNQBI2J.js → chunk-QRZ4RW2T.js} +56 -31
- package/dist/chunk-QRZ4RW2T.js.map +1 -0
- package/dist/chunk-SPPATZSR.js +288 -0
- package/dist/chunk-SPPATZSR.js.map +1 -0
- package/dist/{chunk-W5SOKJ5P.js → chunk-TNIC2SGW.js} +5 -3
- package/dist/{chunk-W5SOKJ5P.js.map → chunk-TNIC2SGW.js.map} +1 -1
- package/dist/{chunk-4U2JCICC.js → chunk-VCAOXQ5K.js} +2 -283
- package/dist/chunk-VCAOXQ5K.js.map +1 -0
- package/dist/chunk-Z6WTP467.js +245 -0
- package/dist/chunk-Z6WTP467.js.map +1 -0
- package/dist/first-page.cjs.map +1 -1
- package/dist/first-page.js.map +1 -1
- package/dist/helpers.cjs +813 -8
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +478 -4
- package/dist/helpers.d.ts +478 -4
- package/dist/helpers.js +755 -10
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +4610 -3878
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +357 -175
- package/dist/index.d.ts +357 -175
- package/dist/index.js +5891 -5405
- package/dist/index.js.map +1 -1
- package/dist/object-actions.js +3 -2
- package/dist/pickers.cjs +111 -72
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +6 -3
- package/dist/skeleton.cjs +261 -0
- package/dist/skeleton.cjs.map +1 -0
- package/dist/skeleton.d.cts +50 -0
- package/dist/skeleton.d.ts +50 -0
- package/dist/skeleton.js +26 -0
- package/dist/skeleton.js.map +1 -0
- package/package.json +16 -5
- package/dist/SaveToTable-V3R7QVKV.js +0 -18
- package/dist/chunk-4U2JCICC.js.map +0 -1
- package/dist/chunk-6NSGVKYL.js.map +0 -1
- package/dist/chunk-VGNQBI2J.js.map +0 -1
- package/dist/chunk-W3EU7H4V.js.map +0 -1
- /package/dist/{SaveToTable-V3R7QVKV.js.map → SaveToTable-3VDK4U5M.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,15 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
### Unreleased
|
|
4
4
|
|
|
5
|
+
- **`/helpers` carries every name a host calls outside a screen (records-ui front door, 2026-10-16).** New on `@ai-matrx/records-ui/helpers`: `whatYouMayDo`, `isPage`, `isInterface`, `laneFor`, `platformOwned`, `TableLane`, `bodyFieldOf`, `readLooks`, `viewFromRow`, `VIEW_ADDRESS_KEYS`, `isViewAddressEmpty`, `sameViewAddress`, `viewAddressFromParams`, `viewAddressToParams`, `ViewAddressState`, `ViewAddressSort`, `googleCalendarUrl`, `webcalUrl`, `FIELD_SENSITIVITY_LABEL`, `CUSTOM_FIELD_ADDABLE_TYPES`, `refusalForAPerson`, `codeDependsRefusal`, `announceTableArchived`, `skeletonLayoutFor`, `RECORDS_SKELETON_LAYOUTS`, `RecordsSkeletonLayout`, `endingsFromDocument`, `hiddenFromLink`, `themeFromDocument`, `welcomeFromDocument` (the store's `/forms` readers), `gridContextSnapshot`, `recordActions` and its types. To keep the entry light, the pure parts moved into their own modules (`skeletonLayout.ts`, `viewAddressParams.ts`, `tableLanes.ts`, `bodyField.ts`, `codeDependsRefusal.ts`, `standardFieldChoices.ts`) and `views.ts`, `viewLook.ts`, `viewKeys.ts` lost a `"use client"` they never needed (no React in them). Not moved, because they reach screens or React: `cardWords`, `scalarText` (`values.tsx`), `saveTableDescription` (`@ai-matrx/records/react`), and every hook and provider (`useRecordRights`, `useRecordsUi`, `useRecordLabels`, `useRecordActionHost`, `RecordsUiProvider`, `RecordLabelProvider`) — they read contexts only the screens provide. The root still exports every name it exported. Guard: `helpers-entry-is-light.test.tsx` (green). Consumer action: new names on /helpers — a host file that imports one of them from the root can take it from `/helpers` instead.
|
|
6
|
+
- **New subpath `@ai-matrx/records-ui/skeleton`:** `RecordsSkeleton`, `TablePageSkeleton`, `useRememberedPageRows`, `useRememberedLayout`, `skeletonLayoutFor` and the skeleton constants, without the root. It is in the split client group, so it shares its one copy of `RecordsSkeleton.tsx` with the root (593 B entry over ~46 KB of shared chunks; React and the design system's data table only). Guard: `skeleton-entry-is-light.test.ts`. Consumer action: a host that loads the root lazily paints `/skeleton` while the root is out.
|
|
7
|
+
- **Map and Org chart layouts (lane AT-VIEWS).** Two new `ViewSwitcher` layouts, so a saved Map or Org chart keeps its view, filter, share link and interface-page place like every layout. `MapLayout` pins an address or latitude/longitude column (addresses are looked up once through the new optional host port `geocodeAddress` and saved on the record into Latitude/Longitude columns); the picture is the host's `mapCanvas` port (`MapCanvasProps`, with the exported `clusterPins` for dense pins) — this package adds no map library, and without a canvas the located records are listed. `OrgChartLayout` draws a self-link column as a tree (collapse/expand, pan, pinch and button zoom, Fit; loops, missing and multiple bosses and several roots are said above the chart). New exports: `MapLayout`, `OrgChartLayout`, `buildOrgForest`, `layoutOrg`, `clusterPins`, `placeRows`, `MapCanvasProps` and friends. Consumer action: bind `mapCanvas` and `geocodeAddress` on `RecordsUiHost` to get the map picture and address lookup.
|
|
8
|
+
- **The client entries ship each module once (0.116.0, build only).** `index`, `table-shape`, `object-actions` and `pickers` are now built as one split ESM group: a module two of them reach lives in one shared `chunk-*.js` instead of a copy per entry, and `SaveToTable` (the root's `import()`) is its own lazy chunk. Before: client ESM 3,374,887 B in 4 files, `dist/index.js` 2,710,479 B as one module, `dist/pickers.js` 623,095 B re-inlining 89 of the same source files. After: 2,698,094 B in 12 files, largest `index.js` 1,849,502 B, `pickers.js` 912 B. Every client file carries `"use client"`; `first-page`, `helpers` and `data-source` are unchanged (no banner, shaken). CJS stays unsplit. Every export path and every exported name is identical (scripted, ESM and CJS). Guard: `scripts/check-client-modules-ship-once.mjs`, run by `build`, fails when one source file sits in more than one client file (red on the old build: 90 modules). Consumer action: none — same exports.
|
|
5
9
|
- **`/helpers` no longer reaches `@ai-matrx/records/core`.** The field-type words, colour resolver, rights and table builders now read `@ai-matrx/records/field-kinds` (needs `@ai-matrx/records` with that subpath), so importing a helper no longer puts the ~600 KB store client on the host's first paint. Guard: `helpers-entry-is-light.test.tsx` fails if `/helpers` reaches `/core` or the records root. Consumer action: none.
|
|
6
10
|
- Tests: `vitest.setup.ts` gives jsdom a no-op `performance.mark` / `measure`.
|
|
7
11
|
- **New subpath `@ai-matrx/records-ui/data-source`:** `recordsDataSource`, `personActor` and the who-changed words (`whenWords`, `actorWords`, `actorBadge`, `lastChangeSentence`, `SOMEBODY`, `THE_SYSTEM`) alone. `/helpers` also carries the field-type words, the colour resolver and the table builders, which read `@ai-matrx/records/core`; this entry reaches `@ai-matrx/kit` only, and shares the one data-source cache with `/helpers` and the root. Additive. Consumer action: a shell-reachable service that only binds its supabase client or says when imports from `/data-source`.
|
|
8
12
|
|
|
9
|
-
## 0.
|
|
13
|
+
## 0.116.1
|
|
10
14
|
|
|
11
15
|
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
12
16
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
|
|
13
17
|
|
|
18
|
+
## 0.116.0
|
|
19
|
+
|
|
20
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
21
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
22
|
+
Diff: `git diff a58de4849b c3b04e4b53 -- apps/shared/records-ui/src`
|
|
23
|
+
|
|
24
|
+
Changed shipped source files (10):
|
|
25
|
+
- `apps/shared/records-ui/src/MapLayout.tsx`
|
|
26
|
+
- `apps/shared/records-ui/src/OrgChartLayout.tsx`
|
|
27
|
+
- `apps/shared/records-ui/src/PageCanvas.tsx`
|
|
28
|
+
- `apps/shared/records-ui/src/RecordsSkeleton.tsx`
|
|
29
|
+
- `apps/shared/records-ui/src/ViewSwitcher.tsx`
|
|
30
|
+
- `apps/shared/records-ui/src/host.tsx`
|
|
31
|
+
- `apps/shared/records-ui/src/index.ts`
|
|
32
|
+
- `apps/shared/records-ui/src/mapPins.ts`
|
|
33
|
+
- `apps/shared/records-ui/src/orgTree.ts`
|
|
34
|
+
- `apps/shared/records-ui/src/pages.ts`
|
|
35
|
+
|
|
36
|
+
## 0.115.108
|
|
37
|
+
|
|
38
|
+
Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff a54ebfacf8 a58de4849b -- apps/shared/records-ui/src`
|
|
39
|
+
has no shipped-source changes outside tests, fixtures and docs). No consumer action required.
|
|
40
|
+
|
|
14
41
|
## 0.115.107
|
|
15
42
|
|
|
16
43
|
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
import {
|
|
4
|
+
SAVE_TO_TABLE_TYPES,
|
|
5
|
+
SaveToTable,
|
|
6
|
+
shapesOfSource
|
|
7
|
+
} from "./chunk-QRZ4RW2T.js";
|
|
8
|
+
import "./chunk-TNIC2SGW.js";
|
|
9
|
+
import "./chunk-VCAOXQ5K.js";
|
|
10
|
+
import "./chunk-TIZHA6VK.js";
|
|
11
|
+
import "./chunk-IUUZVQZD.js";
|
|
12
|
+
import "./chunk-SPPATZSR.js";
|
|
13
|
+
import "./chunk-NJYJEAQC.js";
|
|
14
|
+
import "./chunk-HKYEHBQT.js";
|
|
15
|
+
export {
|
|
16
|
+
SAVE_TO_TABLE_TYPES,
|
|
17
|
+
SaveToTable,
|
|
18
|
+
shapesOfSource
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=SaveToTable-3VDK4U5M.js.map
|