@ai-matrx/records-ui 0.116.20 → 0.116.22

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.
@@ -1678,7 +1678,7 @@ declare function laneFor(table: Table): TableLane;
1678
1678
  */
1679
1679
  declare function bodyFieldOf(fields: readonly Field[]): Field | undefined;
1680
1680
 
1681
- 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>, "presentation" | "layout" | "measure" | "where" | "groupField" | "mapField" | "sorts" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField">>>>>;
1681
+ 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>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "sorts">>>>>;
1682
1682
 
1683
1683
  declare const viewFromRow: (row: _ai_matrx_records.SavedViewRow) => base.SavedView<GridPresentation>;
1684
1684
 
package/dist/helpers.d.ts CHANGED
@@ -1678,7 +1678,7 @@ declare function laneFor(table: Table): TableLane;
1678
1678
  */
1679
1679
  declare function bodyFieldOf(fields: readonly Field[]): Field | undefined;
1680
1680
 
1681
- 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>, "presentation" | "layout" | "measure" | "where" | "groupField" | "mapField" | "sorts" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField">>>>>;
1681
+ 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>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "sorts">>>>>;
1682
1682
 
1683
1683
  declare const viewFromRow: (row: _ai_matrx_records.SavedViewRow) => base.SavedView<GridPresentation>;
1684
1684
 
package/dist/index.cjs CHANGED
@@ -10534,6 +10534,7 @@ function tokensFromRows(rows, fields, titleField) {
10534
10534
  light[`text-${name}`] = dark[`text-${name}`] = `${style.size}px`;
10535
10535
  light[`weight-${name}`] = dark[`weight-${name}`] = String(style.weight);
10536
10536
  if (style.lineHeight) light[`leading-${name}`] = dark[`leading-${name}`] = `${style.lineHeight}px`;
10537
+ light[`tracking-${name}`] = dark[`tracking-${name}`] = `${style.letterSpacing ?? 0}em`;
10537
10538
  const first = style.font.split(",")[0].replace(/["']/g, "").trim();
10538
10539
  if (first && !fonts.includes(first)) fonts.push(first);
10539
10540
  }