@ai-matrx/records-ui 0.116.49 → 0.116.51
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 +17 -1
- package/dist/{SaveToTable-G7Y4H7SB.js → SaveToTable-EM2JT3OS.js} +3 -3
- package/dist/{chunk-P4P4IFM4.js → chunk-7LELV7UI.js} +7 -3
- package/dist/chunk-7LELV7UI.js.map +1 -0
- package/dist/{chunk-KDD2FZZR.js → chunk-BZ6PLCAR.js} +2 -2
- package/dist/{chunk-6TDTSMLU.js → chunk-HA7RICYJ.js} +11 -7
- package/dist/chunk-HA7RICYJ.js.map +1 -0
- package/dist/{chunk-FMJ2ULGP.js → chunk-O5K6Y3N3.js} +1 -1
- package/dist/chunk-O5K6Y3N3.js.map +1 -0
- package/dist/helpers.cjs +5 -1
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.js +5 -1
- package/dist/helpers.js.map +1 -1
- package/dist/html-frame.cjs.map +1 -1
- package/dist/html-frame.js +1 -1
- package/dist/index.cjs +13 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/pickers.cjs +13 -5
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +3 -3
- package/package.json +2 -2
- package/dist/chunk-6TDTSMLU.js.map +0 -1
- package/dist/chunk-FMJ2ULGP.js.map +0 -1
- package/dist/chunk-P4P4IFM4.js.map +0 -1
- /package/dist/{SaveToTable-G7Y4H7SB.js.map → SaveToTable-EM2JT3OS.js.map} +0 -0
- /package/dist/{chunk-KDD2FZZR.js.map → chunk-BZ6PLCAR.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -182,7 +182,7 @@ import {
|
|
|
182
182
|
withoutAddition,
|
|
183
183
|
withoutLeadingBlank,
|
|
184
184
|
workedOutErrorFor
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-HA7RICYJ.js";
|
|
186
186
|
import {
|
|
187
187
|
CHART_PLOT_PX,
|
|
188
188
|
EMBEDDED_ROW_PX,
|
|
@@ -234,7 +234,7 @@ import {
|
|
|
234
234
|
HtmlSampleTokensProvider,
|
|
235
235
|
SAMPLE_TOKEN_NAMES,
|
|
236
236
|
sampleDocument
|
|
237
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-O5K6Y3N3.js";
|
|
238
238
|
import {
|
|
239
239
|
ArchiveItemMenu,
|
|
240
240
|
ArchivedBuiltOn,
|
|
@@ -293,7 +293,7 @@ import {
|
|
|
293
293
|
visibilityLaneFor,
|
|
294
294
|
whyNotAskable,
|
|
295
295
|
writeOnTheWinningVersion_exports
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-BZ6PLCAR.js";
|
|
297
297
|
import {
|
|
298
298
|
ACTION_CHECKING_ACCESS_REASON,
|
|
299
299
|
ACTION_NOT_HERE_REASON,
|
|
@@ -402,7 +402,7 @@ import {
|
|
|
402
402
|
useRowRights,
|
|
403
403
|
useTableRights,
|
|
404
404
|
withoutInternalCodes
|
|
405
|
-
} from "./chunk-
|
|
405
|
+
} from "./chunk-7LELV7UI.js";
|
|
406
406
|
import {
|
|
407
407
|
FEWEST_KEY_VALUE_PAIRS,
|
|
408
408
|
FEWEST_LIST_ITEMS,
|
package/dist/pickers.cjs
CHANGED
|
@@ -276,7 +276,11 @@ var init_plainWords = __esm({
|
|
|
276
276
|
// read alike. "Try a smaller page" was written for the page read and was printed to a person adding
|
|
277
277
|
// one row to a three-row table (clone walk, 2026-10-03; the clock was a lock another lane's
|
|
278
278
|
// rehearsal held, not the row). A door whose page can shrink says so in its own hint, which wins here.
|
|
279
|
-
|
|
279
|
+
// ONE SENTENCE, NOT TWO (lane TIMEOUT-ONE-SENTENCE, 2026-10-19): the shared timed-out sentence ("That took too long.
|
|
280
|
+
// Nothing was lost; try again.") already says what happened and what to do, so the table adds NO second remedy
|
|
281
|
+
// ("Nothing was changed" was also wrong on a read). Empty = the notice prints no remedy line and the one-line
|
|
282
|
+
// form is the sentence alone. A door's own hint still wins.
|
|
283
|
+
timed_out: "",
|
|
280
284
|
internal: "Nothing you did caused this. Try again, and tell us if it keeps happening."
|
|
281
285
|
};
|
|
282
286
|
ENGINEER_TEXT = [
|
|
@@ -596,7 +600,7 @@ function RefusalNotice({
|
|
|
596
600
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_design_system4.AlertTitle, { className: "text-xs font-medium", children: plain.storeSaid ? plain.sentence : plain.title }),
|
|
597
601
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_design_system4.AlertDescription, { className: "space-y-1 text-xs", children: [
|
|
598
602
|
plain.storeSaid || plain.sentence.replace(/\.$/, "") === plain.title ? null : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { children: plain.sentence }),
|
|
599
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: "opacity-80", children: plain.remedy }),
|
|
603
|
+
plain.remedy === "" ? null : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: "opacity-80", children: plain.remedy }),
|
|
600
604
|
actions,
|
|
601
605
|
doors
|
|
602
606
|
] })
|
|
@@ -6982,7 +6986,7 @@ function MeasureMini({ px, kind }) {
|
|
|
6982
6986
|
] });
|
|
6983
6987
|
}
|
|
6984
6988
|
if (kind === "border") {
|
|
6985
|
-
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { "aria-hidden": true, "data-records-measure-mini": "border", className: "inline-block h-5 w-5 shrink-0 rounded-sm bg-card", style: { boxShadow: `inset 0 0 0 ${Math.max(0.5, Math.min(px, 6))}px var(--foreground)` } });
|
|
6989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { "aria-hidden": true, "data-records-measure-mini": "border", className: "inline-block h-5 w-5 shrink-0 rounded-sm bg-card", style: { boxShadow: `inset 0 0 0 ${Math.max(0.5, Math.min(px, 6))}px hsl(var(--foreground))` } });
|
|
6986
6990
|
}
|
|
6987
6991
|
if (kind === "radius") {
|
|
6988
6992
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
@@ -7032,7 +7036,7 @@ function MeasurePreview({ value, format }) {
|
|
|
7032
7036
|
const px = pixels(n, unitOf(format));
|
|
7033
7037
|
if (px === null) return null;
|
|
7034
7038
|
const clamped = Math.max(0, Math.min(px, 160));
|
|
7035
|
-
const dotted = "flex h-24 w-full items-center justify-center rounded-lg border border-border bg-muted bg-[radial-gradient(var(--border)_1px,transparent_1px)] [background-size:12px_12px]";
|
|
7039
|
+
const dotted = "flex h-24 w-full items-center justify-center rounded-lg border border-border bg-muted bg-[radial-gradient(hsl(var(--border))_1px,transparent_1px)] [background-size:12px_12px]";
|
|
7036
7040
|
if (kind === "spacing") {
|
|
7037
7041
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("span", { className: dotted, "data-records-measure-preview": "spacing", children: [
|
|
7038
7042
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "h-14 w-11 rounded-md border border-border bg-card" }),
|
|
@@ -7556,6 +7560,7 @@ function htmlSampleChecks(value, _format) {
|
|
|
7556
7560
|
message: "fixed colors, not the theme's",
|
|
7557
7561
|
fix: {
|
|
7558
7562
|
label: "Use tokens",
|
|
7563
|
+
// bare-hsl-ok: prose naming the frame's variables, not a colour
|
|
7559
7564
|
ask: "Rewrite this HTML sample so every color is one of the design system's CSS variables (var(--background), var(--foreground), var(--primary), var(--border)\u2026), keeping the markup and the look the same, so it follows light and dark."
|
|
7560
7565
|
}
|
|
7561
7566
|
});
|
|
@@ -7569,7 +7574,10 @@ var HTML_SAMPLE_LOOK = {
|
|
|
7569
7574
|
Editor: HtmlSampleEditor,
|
|
7570
7575
|
Preview: HtmlSampleView,
|
|
7571
7576
|
checks: htmlSampleChecks,
|
|
7572
|
-
starter: () =>
|
|
7577
|
+
starter: () => (
|
|
7578
|
+
// bare-hsl-ok: sample HTML for the frame, whose :root holds full colours
|
|
7579
|
+
'<style>.b{font:inherit;padding:6px 12px;border-radius:var(--radius);border:1px solid transparent;background:var(--primary);color:var(--primary-foreground)}</style>\n<button class="b">Button</button>'
|
|
7580
|
+
)
|
|
7573
7581
|
};
|
|
7574
7582
|
|
|
7575
7583
|
// src/looks/jsonLook.tsx
|