@ai-matrx/records-ui 0.116.49 → 0.116.50
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/{chunk-6TDTSMLU.js → chunk-4DIA5TP6.js} +9 -5
- package/dist/chunk-4DIA5TP6.js.map +1 -0
- package/dist/{chunk-FMJ2ULGP.js → chunk-O5K6Y3N3.js} +1 -1
- package/dist/chunk-O5K6Y3N3.js.map +1 -0
- package/dist/html-frame.cjs.map +1 -1
- package/dist/html-frame.js +1 -1
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/pickers.cjs +7 -3
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +2 -2
- package/package.json +4 -4
- package/dist/chunk-6TDTSMLU.js.map +0 -1
- package/dist/chunk-FMJ2ULGP.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -35,11 +35,27 @@
|
|
|
35
35
|
- Tests: `vitest.setup.ts` gives jsdom a no-op `performance.mark` / `measure`.
|
|
36
36
|
- **New subpath `@ai-matrx/records-ui/data-source`:** `recordsDataSource`, `personActor` and the who-changed words (`whenWords`, `actorWords`, `actorBadge`, `lastChangeSentence`, `SOMEBODY`, `THE_SYSTEM`) alone. `/helpers` also carries the field-type words, the colour resolver and the table builders, which read `@ai-matrx/records/core`; this entry reaches `@ai-matrx/kit` only, and shares the one data-source cache with `/helpers` and the root. Additive. Consumer action: a shell-reachable service that only binds its supabase client or says when imports from `/data-source`.
|
|
37
37
|
|
|
38
|
-
## 0.116.
|
|
38
|
+
## 0.116.50
|
|
39
39
|
|
|
40
40
|
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.
|
|
41
41
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
|
|
42
42
|
|
|
43
|
+
## 0.116.49
|
|
44
|
+
|
|
45
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
46
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
47
|
+
Diff: `git diff ff560b1be4 05488c8d62 -- apps/shared/records-ui/src`
|
|
48
|
+
|
|
49
|
+
Changed shipped source files (8):
|
|
50
|
+
- `apps/shared/records-ui/src/Grid.tsx`
|
|
51
|
+
- `apps/shared/records-ui/src/PageCanvas.tsx`
|
|
52
|
+
- `apps/shared/records-ui/src/RecordFollow.tsx`
|
|
53
|
+
- `apps/shared/records-ui/src/RecordPanel.tsx`
|
|
54
|
+
- `apps/shared/records-ui/src/TemplatePreview.tsx`
|
|
55
|
+
- `apps/shared/records-ui/src/gridBulk.tsx`
|
|
56
|
+
- `apps/shared/records-ui/src/host.tsx`
|
|
57
|
+
- `apps/shared/records-ui/src/index.ts`
|
|
58
|
+
|
|
43
59
|
## 0.116.48
|
|
44
60
|
|
|
45
61
|
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
HtmlSampleFrame,
|
|
11
11
|
HtmlSampleTokensProvider
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-O5K6Y3N3.js";
|
|
13
13
|
import {
|
|
14
14
|
ABSENCE_WORD_LABEL,
|
|
15
15
|
CONTEXT_POLICY_LABEL,
|
|
@@ -679,7 +679,7 @@ function MeasureMini({ px, kind }) {
|
|
|
679
679
|
] });
|
|
680
680
|
}
|
|
681
681
|
if (kind === "border") {
|
|
682
|
-
return /* @__PURE__ */ jsx2("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)` } });
|
|
682
|
+
return /* @__PURE__ */ jsx2("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))` } });
|
|
683
683
|
}
|
|
684
684
|
if (kind === "radius") {
|
|
685
685
|
return /* @__PURE__ */ jsx2(
|
|
@@ -729,7 +729,7 @@ function MeasurePreview({ value, format }) {
|
|
|
729
729
|
const px = pixels(n, unitOf(format));
|
|
730
730
|
if (px === null) return null;
|
|
731
731
|
const clamped = Math.max(0, Math.min(px, 160));
|
|
732
|
-
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]";
|
|
732
|
+
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]";
|
|
733
733
|
if (kind === "spacing") {
|
|
734
734
|
return /* @__PURE__ */ jsxs2("span", { className: dotted, "data-records-measure-preview": "spacing", children: [
|
|
735
735
|
/* @__PURE__ */ jsx2("span", { className: "h-14 w-11 rounded-md border border-border bg-card" }),
|
|
@@ -1089,6 +1089,7 @@ function htmlSampleChecks(value, _format) {
|
|
|
1089
1089
|
message: "fixed colors, not the theme's",
|
|
1090
1090
|
fix: {
|
|
1091
1091
|
label: "Use tokens",
|
|
1092
|
+
// bare-hsl-ok: prose naming the frame's variables, not a colour
|
|
1092
1093
|
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."
|
|
1093
1094
|
}
|
|
1094
1095
|
});
|
|
@@ -1102,7 +1103,10 @@ var HTML_SAMPLE_LOOK = {
|
|
|
1102
1103
|
Editor: HtmlSampleEditor,
|
|
1103
1104
|
Preview: HtmlSampleView,
|
|
1104
1105
|
checks: htmlSampleChecks,
|
|
1105
|
-
starter: () =>
|
|
1106
|
+
starter: () => (
|
|
1107
|
+
// bare-hsl-ok: sample HTML for the frame, whose :root holds full colours
|
|
1108
|
+
'<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>'
|
|
1109
|
+
)
|
|
1106
1110
|
};
|
|
1107
1111
|
|
|
1108
1112
|
// src/looks/jsonLook.tsx
|
|
@@ -12328,4 +12332,4 @@ export {
|
|
|
12328
12332
|
RecordNameText,
|
|
12329
12333
|
HeldChangeDecision
|
|
12330
12334
|
};
|
|
12331
|
-
//# sourceMappingURL=chunk-
|
|
12335
|
+
//# sourceMappingURL=chunk-4DIA5TP6.js.map
|