@ai-matrx/records-ui 0.116.12 → 0.116.14
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 +31 -1
- package/dist/{chunk-HL7ZIVVJ.js → chunk-NE72B4OK.js} +163 -139
- package/dist/{chunk-HL7ZIVVJ.js.map → chunk-NE72B4OK.js.map} +1 -1
- package/dist/index.cjs +2569 -2441
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +125 -20
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +212 -188
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
### Unreleased
|
|
4
4
|
|
|
5
|
+
- **A ring of many slices is visible again; a share never wraps.** Past 24 slices a donut's gap is half of each slice's share (`donutGap`, exported) and its slices draw no outline — before, a fixed 1° gap plus recharts' white 1px outline left a 200-group ring blank around its number. The legend's share column no longer wraps "23.5 %" onto two lines in a narrow card. Guard: `src/a-donut-says-the-hosts-total-and-colours.test.tsx`. Consumer action: none.
|
|
6
|
+
- **`ChartBlock` says a host's total, its option colours, and no legend (CHART-CONVERGENCE, 2026-10-17).** Three new optional props, so Spaces draws its database chart (donut included) with ChartBlock and its own donut is deleted: `centerTotal` (the number a `centerValue` donut draws in its middle — the total over every record, or an average / min / max over every record; `null` draws "–"; absent = the drawn groups added up, as before), `groupColors` (a colour per group keyed by its stored value as text, `""` for no value — a choice column's option colours; bars, columns and donut slices and legend rows; single-group, uncompared blocks only) and `legend` (`false` hides the donut legend and the value list under bars / a line; default `true`). New export `colorOfGroup`. Guard: `src/a-donut-says-the-hosts-total-and-colours.test.tsx` (red without the props). Additive. Consumer action: none.
|
|
5
7
|
- **Who else is looking at this table (AIRTABLE-PARITY row 183).** New optional host port `presence` on `RecordsUiHost` (`RecordsPresencePort`, bound with `createRecordsPresencePort` from `@ai-matrx/records/realtime`). `TablePage` draws `TablePresence` in its one toolbar row: avatars of the other people (+N past four), and each person's selected cell outlined in their colour; this person's selected cell is told to the others. Exports `TablePresence`, `useTablePresence`, `presenceOutlineCss` and the port types. Unbound: nothing drawn. Guard: `src/a-table-shows-who-else-is-looking.test.tsx`. Additive. Consumer action: bind `presence` to see colleagues.
|
|
6
8
|
- **The light entries ship no package root** (records-ui front door, 2026-10-17). 0.116.1's `/helpers` imported `DECLARABLE_FIELD_KINDS` / `newerKindOf` from the `@ai-matrx/records` root (~360 KB, and `undefined` under any host test that mocks the root), and `/skeleton` took `cn` / `Skeleton` from the design-system root. They now read `@ai-matrx/records/field-kinds`, `@ai-matrx/records/views` (`isRuleFilter`), `@ai-matrx/design-system/cn` and `/skeleton`. Guard: `scripts/check-light-entries.mjs`, run by `build` — fails when `/helpers`, `/data-source`, `/skeleton`, `/table-shape` or `/first-page` (or a chunk they reach) imports either root; red on 0.116.1's dist. Needs `@ai-matrx/records` with `isRuleFilter` on `/views` and `@ai-matrx/design-system` with `/skeleton`. Consumer action: none.
|
|
7
9
|
- **`/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.
|
|
@@ -12,11 +14,39 @@
|
|
|
12
14
|
- Tests: `vitest.setup.ts` gives jsdom a no-op `performance.mark` / `measure`.
|
|
13
15
|
- **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`.
|
|
14
16
|
|
|
15
|
-
## 0.116.
|
|
17
|
+
## 0.116.14
|
|
16
18
|
|
|
17
19
|
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.
|
|
18
20
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
|
|
19
21
|
|
|
22
|
+
## 0.116.13
|
|
23
|
+
|
|
24
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
25
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
26
|
+
Diff: `git diff ac7b396045 803a1d7fd1 -- apps/shared/records-ui/src`
|
|
27
|
+
|
|
28
|
+
Changed shipped source files (2):
|
|
29
|
+
- `apps/shared/records-ui/src/AddRowSettings.tsx`
|
|
30
|
+
- `apps/shared/records-ui/src/ChartBlock.tsx`
|
|
31
|
+
|
|
32
|
+
## 0.116.12
|
|
33
|
+
|
|
34
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
35
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
36
|
+
Diff: `git diff 986ae7cf9f ac7b396045 -- apps/shared/records-ui/src`
|
|
37
|
+
|
|
38
|
+
Changed shipped source files (1):
|
|
39
|
+
- `apps/shared/records-ui/src/ChartBlock.tsx`
|
|
40
|
+
|
|
41
|
+
## 0.116.11
|
|
42
|
+
|
|
43
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
44
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
45
|
+
Diff: `git diff 29df753701 986ae7cf9f -- apps/shared/records-ui/src`
|
|
46
|
+
|
|
47
|
+
Changed shipped source files (1):
|
|
48
|
+
- `apps/shared/records-ui/src/CalendarView.tsx`
|
|
49
|
+
|
|
20
50
|
## 0.116.10
|
|
21
51
|
|
|
22
52
|
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|