@ai-matrx/records-ui 0.116.104 → 0.116.106
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 +11 -1
- package/dist/data-source.d.cts +2 -1
- package/dist/data-source.d.ts +2 -1
- package/dist/entity-doors.d.cts +2 -1
- package/dist/entity-doors.d.ts +2 -1
- package/dist/entity-ref.d.cts +2 -1
- package/dist/entity-ref.d.ts +2 -1
- package/dist/first-page.d.cts +2 -1
- package/dist/first-page.d.ts +2 -1
- package/dist/helpers.d.cts +3 -2
- package/dist/helpers.d.ts +3 -2
- package/dist/html-frame.d.cts +2 -1
- package/dist/html-frame.d.ts +2 -1
- package/dist/index.cjs +13 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -9
- package/dist/index.d.ts +14 -9
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/dist/object-actions.d.cts +1 -1
- package/dist/object-actions.d.ts +1 -1
- package/dist/{objectActions-Df9fA6DR.d.cts → objectActions-DeP_tTmc.d.cts} +2 -1
- package/dist/{objectActions-Df9fA6DR.d.ts → objectActions-DeP_tTmc.d.ts} +2 -1
- package/dist/pickers.d.cts +2 -1
- package/dist/pickers.d.ts +2 -1
- package/dist/skeleton.d.cts +2 -1
- package/dist/skeleton.d.ts +2 -1
- package/dist/table-shape.d.cts +2 -1
- package/dist/table-shape.d.ts +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.116.
|
|
3
|
+
## 0.116.106
|
|
4
4
|
|
|
5
5
|
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.
|
|
6
6
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
|
|
7
7
|
|
|
8
|
+
## 0.116.104
|
|
9
|
+
|
|
10
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
11
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
12
|
+
Diff: `git diff 50f556375f 82d533cb27 -- apps/shared/records-ui/src`
|
|
13
|
+
|
|
14
|
+
Changed shipped source files (2):
|
|
15
|
+
- `apps/shared/records-ui/src/TablePickers.tsx`
|
|
16
|
+
- `apps/shared/records-ui/src/gridColumns.tsx`
|
|
17
|
+
|
|
8
18
|
## 0.116.103
|
|
9
19
|
|
|
10
20
|
- **A field marked hidden stays off every default view (lane HIDDEN-FIELD-DEFAULT, 2026-10-23).** A field whose definition carries `config.hidden === true` (the Notion importer's "Notion ID") is now left out wherever a view has no saved choice: the grid's and merged grid's columns, the gallery tiles, board/list/calendar/timeline card fields and the org-chart/swipe card lines. One shared helper (`systemFields.ts`: `isSystemField`, `hiddenOrSystemDefault`, `hiddenToWrite`). A view's own saved `hiddenFields` / `cardHidden` (even empty) wins, the Fields and column pickers still list the field so a person can turn it on, and emptying the hidden list now writes `hiddenFields: []` (when the table has such a field) so the choice is kept. Guard: `a-field-marked-hidden-stays-off-every-default-view.test.tsx` (red before). Consumer action: none.
|
package/dist/data-source.d.cts
CHANGED
|
@@ -23,4 +23,5 @@ declare function lastChangeSentence(fieldLabel: string, entry: FieldHistoryEntry
|
|
|
23
23
|
*/
|
|
24
24
|
declare function actorBadge(actor: HistoryActor, resolve?: ResolveName | undefined): string;
|
|
25
25
|
|
|
26
|
-
export {
|
|
26
|
+
export { SOMEBODY, THE_SYSTEM, actorBadge, actorWords, lastChangeSentence, personActor, recordsDataSource, whenWords };
|
|
27
|
+
export type { ResolveName };
|
package/dist/data-source.d.ts
CHANGED
|
@@ -23,4 +23,5 @@ declare function lastChangeSentence(fieldLabel: string, entry: FieldHistoryEntry
|
|
|
23
23
|
*/
|
|
24
24
|
declare function actorBadge(actor: HistoryActor, resolve?: ResolveName | undefined): string;
|
|
25
25
|
|
|
26
|
-
export {
|
|
26
|
+
export { SOMEBODY, THE_SYSTEM, actorBadge, actorWords, lastChangeSentence, personActor, recordsDataSource, whenWords };
|
|
27
|
+
export type { ResolveName };
|
package/dist/entity-doors.d.cts
CHANGED
|
@@ -267,4 +267,5 @@ declare function isNativeNewTabClick(e: {
|
|
|
267
267
|
button?: number;
|
|
268
268
|
}): boolean;
|
|
269
269
|
|
|
270
|
-
export {
|
|
270
|
+
export { configureEntityRefs, doorTokenFromColumnName, entityRefsConfigured, hasAnyDoor, isNativeNewTabClick, resolveEntityDoors, segmentSentenceIds, tokenFromPrecedingWords };
|
|
271
|
+
export type { EntityAddress, EntityDoors, EntityRefDescriptor, EntityRefHost, EntityRefLinkProps, EntityRefPeekAsk, EntityRefPerson, EntityRefRegistry, SentenceSegment };
|
package/dist/entity-doors.d.ts
CHANGED
|
@@ -267,4 +267,5 @@ declare function isNativeNewTabClick(e: {
|
|
|
267
267
|
button?: number;
|
|
268
268
|
}): boolean;
|
|
269
269
|
|
|
270
|
-
export {
|
|
270
|
+
export { configureEntityRefs, doorTokenFromColumnName, entityRefsConfigured, hasAnyDoor, isNativeNewTabClick, resolveEntityDoors, segmentSentenceIds, tokenFromPrecedingWords };
|
|
271
|
+
export type { EntityAddress, EntityDoors, EntityRefDescriptor, EntityRefHost, EntityRefLinkProps, EntityRefPeekAsk, EntityRefPerson, EntityRefRegistry, SentenceSegment };
|
package/dist/entity-ref.d.cts
CHANGED
|
@@ -687,4 +687,5 @@ interface RecordStampsProps {
|
|
|
687
687
|
}
|
|
688
688
|
declare function RecordStamps({ createdAt, createdBy, component, updatedAt, updatedBy, deletedAt, version, formatTimestamp, resolveActor, className, }: RecordStampsProps): react.JSX.Element;
|
|
689
689
|
|
|
690
|
-
export { ENTITY_DOOR_CONTROL_CLASS,
|
|
690
|
+
export { ENTITY_DOOR_CONTROL_CLASS, EntityDoorControls, EntityRef, NEW_TAB_CONTROL_CLASS, NewTabLink, RecordStamps, TextWithDoors, configureEntityRefs, doorTokenFromColumnName, entityRefsConfigured, hasAnyDoor, isNativeNewTabClick, resolveEntityDoors, segmentSentenceIds, toastDoor, tokenFromPrecedingWords, useEntityHref };
|
|
691
|
+
export type { EntityAddress, EntityDoorControlsProps, EntityDoors, EntityHrefResult, EntityRefDescriptor, EntityRefHost, EntityRefLinkProps, EntityRefPeekAsk, EntityRefPerson, EntityRefRegistry, NewTabLinkProps, RecordStampActor, RecordStampsProps, SentenceSegment, TextWithDoorsProps, ToastDoorOptions };
|
package/dist/entity-ref.d.ts
CHANGED
|
@@ -687,4 +687,5 @@ interface RecordStampsProps {
|
|
|
687
687
|
}
|
|
688
688
|
declare function RecordStamps({ createdAt, createdBy, component, updatedAt, updatedBy, deletedAt, version, formatTimestamp, resolveActor, className, }: RecordStampsProps): react.JSX.Element;
|
|
689
689
|
|
|
690
|
-
export { ENTITY_DOOR_CONTROL_CLASS,
|
|
690
|
+
export { ENTITY_DOOR_CONTROL_CLASS, EntityDoorControls, EntityRef, NEW_TAB_CONTROL_CLASS, NewTabLink, RecordStamps, TextWithDoors, configureEntityRefs, doorTokenFromColumnName, entityRefsConfigured, hasAnyDoor, isNativeNewTabClick, resolveEntityDoors, segmentSentenceIds, toastDoor, tokenFromPrecedingWords, useEntityHref };
|
|
691
|
+
export type { EntityAddress, EntityDoorControlsProps, EntityDoors, EntityHrefResult, EntityRefDescriptor, EntityRefHost, EntityRefLinkProps, EntityRefPeekAsk, EntityRefPerson, EntityRefRegistry, NewTabLinkProps, RecordStampActor, RecordStampsProps, SentenceSegment, TextWithDoorsProps, ToastDoorOptions };
|
package/dist/first-page.d.cts
CHANGED
|
@@ -188,4 +188,5 @@ type BoundFirstPage = ReturnType<typeof bindFirstPageCodec<GridPresentation>>;
|
|
|
188
188
|
declare const firstGridPageRequest: BoundFirstPage["firstGridPageRequest"];
|
|
189
189
|
declare const askTablePageSeed: BoundFirstPage["askTablePageSeed"];
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { askTablePageSeed, firstGridPageRequest };
|
|
192
|
+
export type { GridPresentation };
|
package/dist/first-page.d.ts
CHANGED
|
@@ -188,4 +188,5 @@ type BoundFirstPage = ReturnType<typeof bindFirstPageCodec<GridPresentation>>;
|
|
|
188
188
|
declare const firstGridPageRequest: BoundFirstPage["firstGridPageRequest"];
|
|
189
189
|
declare const askTablePageSeed: BoundFirstPage["askTablePageSeed"];
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { askTablePageSeed, firstGridPageRequest };
|
|
192
|
+
export type { GridPresentation };
|
package/dist/helpers.d.cts
CHANGED
|
@@ -1741,7 +1741,7 @@ declare function laneFor(table: Table): TableLane;
|
|
|
1741
1741
|
*/
|
|
1742
1742
|
declare function bodyFieldOf(fields: readonly Field[]): Field | undefined;
|
|
1743
1743
|
|
|
1744
|
-
declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "
|
|
1744
|
+
declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "measure" | "dateField" | "startField" | "endField" | "imageField" | "mapField" | "mapLngField" | "parentField" | "answerField" | "conditionField" | "sorts" | "where" | "presentation">>>>>;
|
|
1745
1745
|
|
|
1746
1746
|
declare const viewFromRow: (row: _ai_matrx_records.SavedViewRow) => base.SavedView<GridPresentation>;
|
|
1747
1747
|
|
|
@@ -1898,4 +1898,5 @@ interface RecordActionsInput {
|
|
|
1898
1898
|
*/
|
|
1899
1899
|
declare function recordActions(input: RecordActionsInput): ObjectAction[];
|
|
1900
1900
|
|
|
1901
|
-
export {
|
|
1901
|
+
export { ADDABLE_TYPES as CUSTOM_FIELD_ADDABLE_TYPES, FIELD_SENSITIVITY_LABEL, NO_RIGHTS, PARITY_LABEL, PARITY_MADE_OF, RECORDS_SKELETON_LAYOUTS, SOMEBODY, THE_SYSTEM, UNREAD_RECORD_LABEL, VIEW_ADDRESS_KEYS, WITHHELD_RECORD_LABEL, WITHHELD_WORD, actorBadge, actorWords, announceTableArchived, bodyFieldOf, cardTitleField, codeDependsRefusal, editorKindFor, fieldName, fieldTypeLabel, getPersonTimeZone, googleCalendarUrl, gridContextSnapshot, isInterface, isKeptTable, isPage, isValueSet, isViewAddressEmpty, laneFor, lastChangeSentence, looksLikeId, personActor, personWallNow, pickableTypeOf, platformOwned, readLooks, recordActions, recordName, recordNameIn, recordsDataSource, refusalForAPerson, resolveTableStyle, rowName, rowNameIn, sameViewAddress, setPersonTimeZone, singularNoun, skeletonLayoutFor, styleFromDecorations, subscribePersonTimeZone, tableName, tablePickerEntries, tableRightsAt, viewAddressFromParams, viewAddressToParams, viewFromRow, webcalUrl, whatYouMayDo, whenWords, withheldNoticeOf, withheldSentence };
|
|
1902
|
+
export type { AgentBuildAsk, AnnounceTableArchived, EditorKind, OpenRecordsAsk, PickerTable, RecordActionHost, RecordActionSubject, RecordActionsInput, RecordsSkeletonLayout, RecordsUiHost, ResolveName, TableLane, TablePickerEntries, TablePickerEntry, TableRights, ViewAddressSort, ViewAddressState };
|
package/dist/helpers.d.ts
CHANGED
|
@@ -1741,7 +1741,7 @@ declare function laneFor(table: Table): TableLane;
|
|
|
1741
1741
|
*/
|
|
1742
1742
|
declare function bodyFieldOf(fields: readonly Field[]): Field | undefined;
|
|
1743
1743
|
|
|
1744
|
-
declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "
|
|
1744
|
+
declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "measure" | "dateField" | "startField" | "endField" | "imageField" | "mapField" | "mapLngField" | "parentField" | "answerField" | "conditionField" | "sorts" | "where" | "presentation">>>>>;
|
|
1745
1745
|
|
|
1746
1746
|
declare const viewFromRow: (row: _ai_matrx_records.SavedViewRow) => base.SavedView<GridPresentation>;
|
|
1747
1747
|
|
|
@@ -1898,4 +1898,5 @@ interface RecordActionsInput {
|
|
|
1898
1898
|
*/
|
|
1899
1899
|
declare function recordActions(input: RecordActionsInput): ObjectAction[];
|
|
1900
1900
|
|
|
1901
|
-
export {
|
|
1901
|
+
export { ADDABLE_TYPES as CUSTOM_FIELD_ADDABLE_TYPES, FIELD_SENSITIVITY_LABEL, NO_RIGHTS, PARITY_LABEL, PARITY_MADE_OF, RECORDS_SKELETON_LAYOUTS, SOMEBODY, THE_SYSTEM, UNREAD_RECORD_LABEL, VIEW_ADDRESS_KEYS, WITHHELD_RECORD_LABEL, WITHHELD_WORD, actorBadge, actorWords, announceTableArchived, bodyFieldOf, cardTitleField, codeDependsRefusal, editorKindFor, fieldName, fieldTypeLabel, getPersonTimeZone, googleCalendarUrl, gridContextSnapshot, isInterface, isKeptTable, isPage, isValueSet, isViewAddressEmpty, laneFor, lastChangeSentence, looksLikeId, personActor, personWallNow, pickableTypeOf, platformOwned, readLooks, recordActions, recordName, recordNameIn, recordsDataSource, refusalForAPerson, resolveTableStyle, rowName, rowNameIn, sameViewAddress, setPersonTimeZone, singularNoun, skeletonLayoutFor, styleFromDecorations, subscribePersonTimeZone, tableName, tablePickerEntries, tableRightsAt, viewAddressFromParams, viewAddressToParams, viewFromRow, webcalUrl, whatYouMayDo, whenWords, withheldNoticeOf, withheldSentence };
|
|
1902
|
+
export type { AgentBuildAsk, AnnounceTableArchived, EditorKind, OpenRecordsAsk, PickerTable, RecordActionHost, RecordActionSubject, RecordActionsInput, RecordsSkeletonLayout, RecordsUiHost, ResolveName, TableLane, TablePickerEntries, TablePickerEntry, TableRights, ViewAddressSort, ViewAddressState };
|
package/dist/html-frame.d.cts
CHANGED
|
@@ -72,4 +72,5 @@ interface HtmlSampleFrameProps {
|
|
|
72
72
|
*/
|
|
73
73
|
declare function HtmlSampleFrame({ html, title, className, initialHeight }: HtmlSampleFrameProps): react.JSX.Element;
|
|
74
74
|
|
|
75
|
-
export { HTML_SAMPLE_CSP, HTML_SAMPLE_SANDBOX, HtmlSampleFrame,
|
|
75
|
+
export { HTML_SAMPLE_CSP, HTML_SAMPLE_SANDBOX, HtmlSampleFrame, HtmlSampleTokensProvider, SAMPLE_TOKEN_NAMES, TokenScope, fontLink, forwardWheel, hexToHslTriplet, hostTheme, hostTokens, sampleDocument, sampleHeight, sampleStyle, tokenScopeStyle, tokenValue, useHostTheme, useSampleTokens };
|
|
76
|
+
export type { HtmlSampleFrameProps, SampleTheme, SampleTokenSet, SampleTokens };
|
package/dist/html-frame.d.ts
CHANGED
|
@@ -72,4 +72,5 @@ interface HtmlSampleFrameProps {
|
|
|
72
72
|
*/
|
|
73
73
|
declare function HtmlSampleFrame({ html, title, className, initialHeight }: HtmlSampleFrameProps): react.JSX.Element;
|
|
74
74
|
|
|
75
|
-
export { HTML_SAMPLE_CSP, HTML_SAMPLE_SANDBOX, HtmlSampleFrame,
|
|
75
|
+
export { HTML_SAMPLE_CSP, HTML_SAMPLE_SANDBOX, HtmlSampleFrame, HtmlSampleTokensProvider, SAMPLE_TOKEN_NAMES, TokenScope, fontLink, forwardWheel, hexToHslTriplet, hostTheme, hostTokens, sampleDocument, sampleHeight, sampleStyle, tokenScopeStyle, tokenValue, useHostTheme, useSampleTokens };
|
|
76
|
+
export type { HtmlSampleFrameProps, SampleTheme, SampleTokenSet, SampleTokens };
|
package/dist/index.cjs
CHANGED
|
@@ -40978,6 +40978,8 @@ function EntityTableCardBody({
|
|
|
40978
40978
|
initialRows,
|
|
40979
40979
|
headingLevel,
|
|
40980
40980
|
editable,
|
|
40981
|
+
facts,
|
|
40982
|
+
headerActions,
|
|
40981
40983
|
className
|
|
40982
40984
|
}) {
|
|
40983
40985
|
const batch = initialRows ?? import_data_table16.TABLE_CARD_DEFAULT_INITIAL_ROWS;
|
|
@@ -40994,7 +40996,13 @@ function EntityTableCardBody({
|
|
|
40994
40996
|
...railClassName ? { railClassName } : {},
|
|
40995
40997
|
...open ? { open } : {},
|
|
40996
40998
|
...edit ? { edit } : {},
|
|
40997
|
-
...
|
|
40999
|
+
...facts ? { facts } : {},
|
|
41000
|
+
...entity.newer > 0 || headerActions ? {
|
|
41001
|
+
headerActions: /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_jsx_runtime140.Fragment, { children: [
|
|
41002
|
+
entity.newer > 0 ? /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_design_system119.Button, { size: "sm", variant: "ghost", onClick: entity.refresh, children: `${entity.newer.toLocaleString()} new` }) : null,
|
|
41003
|
+
headerActions
|
|
41004
|
+
] })
|
|
41005
|
+
} : {},
|
|
40998
41006
|
...initialRows ? { initialRows } : {},
|
|
40999
41007
|
...className ? { className } : {},
|
|
41000
41008
|
children: entity.error ? /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_data_table16.MatrxTableCardEmpty, { message: `This table could not be read: ${entity.error}` }) : /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_jsx_runtime140.Fragment, { children: [
|
|
@@ -41024,6 +41032,8 @@ function ConnectedRecordsTableCard({
|
|
|
41024
41032
|
onOpenRecord,
|
|
41025
41033
|
openRowInCard,
|
|
41026
41034
|
editable,
|
|
41035
|
+
facts,
|
|
41036
|
+
headerActions,
|
|
41027
41037
|
className
|
|
41028
41038
|
}) {
|
|
41029
41039
|
const table = (0, import_react235.useTable)(source.id);
|
|
@@ -41045,6 +41055,8 @@ function ConnectedRecordsTableCard({
|
|
|
41045
41055
|
...railClassName ? { railClassName } : {},
|
|
41046
41056
|
...open ? { open } : {},
|
|
41047
41057
|
...edit ? { edit } : {},
|
|
41058
|
+
...facts ? { facts } : {},
|
|
41059
|
+
...headerActions ? { headerActions } : {},
|
|
41048
41060
|
...initialRows ? { initialRows } : {},
|
|
41049
41061
|
...className ? { className } : {},
|
|
41050
41062
|
children: table.error ? /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_data_table16.MatrxTableCardEmpty, { message: `This table could not be read: ${refusalSentence(table.error)}` }) : inCard ? /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { className: "flex flex-col gap-2", "data-records-card-detail": "", children: [
|