@ai-matrx/records-ui 0.116.80 → 0.116.81

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 CHANGED
@@ -1,29 +1,10 @@
1
1
  # Changelog — @ai-matrx/records-ui
2
2
 
3
- ## 0.116.80
3
+ ## 0.116.81
4
4
 
5
- - **References to other records live here: `@ai-matrx/records-ui/entity-ref` and `/entity-doors` (lane RU, 2026-10-22).** `EntityRef`, `EntityDoorControls`, `TextWithDoors`, `toastDoor`, `NewTabLink`, `useEntityHref` and `RecordStamps` moved in from matrx-frontend `components/official/{entity-ref,record-stamps}`. Everything the app knows arrives through ONE host bound once with `configureEntityRefs({ registry, adminHref, hasPeek, openPeek, useAddress, Link, ErrorMenu, Person })` (a `globalThis` slot: references are drawn far outside `<RecordsUiProvider>`). Unbound, a reference draws its name with no door, carries `data-entity-ref-host="unconfigured"` and warns once. `/entity-doors` is the light, banner-free half (`isUuidValue`, `doorTokenFromColumnName` — renamed from `tokenFromColumnName`, which collided with design-system's looser helper —, `hasAnyDoor`, `resolveEntityDoors`, `segmentSentenceIds`, `tokenFromPrecedingWords`, `configureEntityRefs`). Guard: `src/entity-ref/entity-ref.test.tsx`. Consumer action: call `configureEntityRefs` once before the first render.
6
-
7
- ## 0.116.79
8
-
9
- SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
10
- so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
11
- Diff: `git diff 4596851481 023ace36d2 -- apps/shared/records-ui/src`
5
+ - **The grid's hover peek opens below its row, not beside it (live walk, 2026-10-22).** A row spans the whole grid, so the side placement had no room and the card landed partly off the screen's edge; it now opens below (above near the bottom) and slides sideways to stay on screen. Guard: `a-hovered-grid-row-shows-the-one-peek.test.tsx`. Consumer action: none.
12
6
 
13
- Changed shipped source files (17):
14
- - `apps/shared/records-ui/src/FieldEditor.tsx`
15
- - `apps/shared/records-ui/src/Grid.tsx`
16
- - `apps/shared/records-ui/src/Peek.tsx`
17
- - `apps/shared/records-ui/src/RecordForm.tsx`
18
- - `apps/shared/records-ui/src/RecordTypes.tsx`
19
- - `apps/shared/records-ui/src/TableAsk.tsx`
20
- - `apps/shared/records-ui/src/TableDetails.tsx`
21
- - `apps/shared/records-ui/src/TablePage.tsx`
22
- - `apps/shared/records-ui/src/TableSettings.tsx`
23
- - `apps/shared/records-ui/src/TimelineView.tsx`
24
- - `apps/shared/records-ui/src/ViewSwitcher.tsx`
25
- - `apps/shared/records-ui/src/gridColumns.tsx`
26
- - ...and 5 more
7
+ - **References to other records live here: `@ai-matrx/records-ui/entity-ref` and `/entity-doors` (lane RU, 2026-10-22).** `EntityRef`, `EntityDoorControls`, `TextWithDoors`, `toastDoor`, `NewTabLink`, `useEntityHref` and `RecordStamps` moved in from matrx-frontend `components/official/{entity-ref,record-stamps}`. Everything the app knows arrives through ONE host bound once with `configureEntityRefs({ registry, adminHref, hasPeek, openPeek, useAddress, Link, ErrorMenu, Person })` (a `globalThis` slot: references are drawn far outside `<RecordsUiProvider>`). Unbound, a reference draws its name with no door, carries `data-entity-ref-host="unconfigured"` and warns once. `/entity-doors` is the light, banner-free half (`isUuidValue`, `doorTokenFromColumnName` — renamed from `tokenFromColumnName`, which collided with design-system's looser helper —, `hasAnyDoor`, `resolveEntityDoors`, `segmentSentenceIds`, `tokenFromPrecedingWords`, `configureEntityRefs`). Guard: `src/entity-ref/entity-ref.test.tsx`. Consumer action: call `configureEntityRefs` once before the first render.
27
8
 
28
9
  ## 0.116.78
29
10
 
package/dist/index.cjs CHANGED
@@ -32587,9 +32587,10 @@ function peekRecordOfRow(row, ctx) {
32587
32587
  copyData: document2
32588
32588
  };
32589
32589
  }
32590
+ var ROW_PEEK_SIDE = "bottom";
32590
32591
  function RowPeek({ row, ctx, children }) {
32591
32592
  const record = (0, import_react169.useMemo)(() => peekRecordOfRow(row, ctx), [row, ctx]);
32592
- return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_design_system91.PeekHoverCard, { trigger: children, label: record.title, side: "right", align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_design_system91.Peek, { record }) });
32593
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_design_system91.PeekHoverCard, { trigger: children, label: record.title, side: ROW_PEEK_SIDE, align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_design_system91.Peek, { record }) });
32593
32594
  }
32594
32595
 
32595
32596
  // src/Grid.tsx