@ai-matrx/records-ui 0.115.96 → 0.115.97
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 +10 -1
- package/dist/index.cjs +7 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
-
## 0.115.
|
|
3
|
+
## 0.115.97
|
|
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.115.96
|
|
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 92a4bf3391 3702c2122e -- apps/shared/records-ui/src`
|
|
13
|
+
|
|
14
|
+
Changed shipped source files (1):
|
|
15
|
+
- `apps/shared/records-ui/src/buttonCell.tsx`
|
|
16
|
+
|
|
8
17
|
## 0.115.94
|
|
9
18
|
|
|
10
19
|
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
package/dist/index.cjs
CHANGED
|
@@ -51297,6 +51297,7 @@ var import_react293 = require("react");
|
|
|
51297
51297
|
var import_react294 = require("@ai-matrx/records/react");
|
|
51298
51298
|
var import_core25 = require("@ai-matrx/records/core");
|
|
51299
51299
|
var import_download3 = require("@ai-matrx/kit/download");
|
|
51300
|
+
var import_format14 = require("@ai-matrx/kit/format");
|
|
51300
51301
|
var import_design_system145 = require("@ai-matrx/design-system");
|
|
51301
51302
|
var import_forms4 = require("@ai-matrx/records/forms");
|
|
51302
51303
|
|
|
@@ -51871,7 +51872,7 @@ function NumberBlockView({ block, viewerUserId, extra }) {
|
|
|
51871
51872
|
const read = useElementRows(block, viewerUserId, extra, false);
|
|
51872
51873
|
if (read.error) return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(RefusalLine, { error: read.error });
|
|
51873
51874
|
if (read.waiting || read.total === null) return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(import_design_system145.Skeleton, { className: "h-12 w-24" });
|
|
51874
|
-
return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("p", { className: "text-3xl font-semibold tabular-nums", "data-records-page-number": block.id, children: read.total
|
|
51875
|
+
return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("p", { className: "text-3xl font-semibold tabular-nums", "data-records-page-number": block.id, children: (0, import_format14.formatCount)(read.total) });
|
|
51875
51876
|
}
|
|
51876
51877
|
function LayoutBlockView({ block, viewerUserId, extra }) {
|
|
51877
51878
|
const door = useInterfaceDoor();
|
|
@@ -54731,7 +54732,7 @@ function TableReferenceDialog({
|
|
|
54731
54732
|
}
|
|
54732
54733
|
|
|
54733
54734
|
// src/TableDuplicate.tsx
|
|
54734
|
-
var
|
|
54735
|
+
var import_format15 = require("@ai-matrx/kit/format");
|
|
54735
54736
|
var import_react318 = require("react");
|
|
54736
54737
|
var import_react319 = require("@ai-matrx/records/react");
|
|
54737
54738
|
var import_design_system159 = require("@ai-matrx/design-system");
|
|
@@ -54740,7 +54741,7 @@ function copyNameFor(name) {
|
|
|
54740
54741
|
return `${name.trim() || "Table"} (copy)`;
|
|
54741
54742
|
}
|
|
54742
54743
|
function duplicateProgressWords(p) {
|
|
54743
|
-
if (p.records && p.records.total > 0) return `Copying records \xB7 ${(0,
|
|
54744
|
+
if (p.records && p.records.total > 0) return `Copying records \xB7 ${(0, import_format15.formatCount)(p.records.done)} of ${(0, import_format15.formatCount)(p.records.total)}`;
|
|
54744
54745
|
if (p.views.total > 0 && p.step === "views") return `Copying views \xB7 ${p.views.done} of ${p.views.total}`;
|
|
54745
54746
|
return "Copying columns\u2026";
|
|
54746
54747
|
}
|
|
@@ -54797,7 +54798,7 @@ function TableDuplicateDialog({ tableId, name, organizationId, open, onOpenChang
|
|
|
54797
54798
|
" columns, ",
|
|
54798
54799
|
phase.copy.copied.views,
|
|
54799
54800
|
" views",
|
|
54800
|
-
phase.copy.copied.withRecords ? `, ${(0,
|
|
54801
|
+
phase.copy.copied.withRecords ? `, ${(0, import_format15.formatCount)(phase.copy.copied.records)} records` : "",
|
|
54801
54802
|
"."
|
|
54802
54803
|
] }),
|
|
54803
54804
|
phase.copy.notCopied.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)("p", { className: "text-xs text-muted-foreground", children: [
|
|
@@ -56767,7 +56768,7 @@ function usePublicReadOnly(client, organizationId, tableId, table, rights) {
|
|
|
56767
56768
|
}
|
|
56768
56769
|
|
|
56769
56770
|
// src/entityViews.tsx
|
|
56770
|
-
var
|
|
56771
|
+
var import_format16 = require("@ai-matrx/kit/format");
|
|
56771
56772
|
var import_design_system163 = require("@ai-matrx/design-system");
|
|
56772
56773
|
var import_data_table25 = require("@ai-matrx/design-system/data-table");
|
|
56773
56774
|
var import_react325 = require("react");
|
|
@@ -56960,7 +56961,7 @@ function EntityTablePageBody({
|
|
|
56960
56961
|
return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("div", { className: (0, import_design_system164.cn)("flex min-w-0 flex-col gap-2", className), "data-records-entity-page": source.token, children: [
|
|
56961
56962
|
presentation === "page" || boardable || entity.creatable ? /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
56962
56963
|
presentation === "page" ? /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("h2", { className: "truncate text-base font-semibold", children: entity.label ?? (entity.loading ? "Loading\u2026" : "Table") }) : null,
|
|
56963
|
-
presentation === "page" ? /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("span", { className: "text-xs tabular-nums text-muted-foreground", children: entity.loading || entity.total === null ? "" : (0,
|
|
56964
|
+
presentation === "page" ? /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("span", { className: "text-xs tabular-nums text-muted-foreground", children: entity.loading || entity.total === null ? "" : (0, import_format16.formatCount)(entity.total) }) : null,
|
|
56964
56965
|
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("span", { className: "ml-auto flex items-center gap-1", children: [
|
|
56965
56966
|
boardable ? /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(import_jsx_runtime182.Fragment, { children: [
|
|
56966
56967
|
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(import_design_system164.Button, { size: "sm", variant: layout === "grid" ? "secondary" : "ghost", "aria-pressed": layout === "grid", onClick: () => choose("grid"), children: "Table" }),
|