@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.
- package/CHANGELOG.md +11 -1
- package/dist/{chunk-KBNU55HU.js → chunk-KKOLRE2M.js} +2 -1
- package/dist/chunk-KKOLRE2M.js.map +1 -0
- package/dist/helpers.d.cts +1 -1
- package/dist/helpers.d.ts +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/pickers.js +1 -1
- package/package.json +6 -6
- package/dist/chunk-KBNU55HU.js.map +0 -1
package/dist/helpers.d.cts
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>, "
|
|
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>, "
|
|
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
|
}
|