@ai-matrx/records-ui 0.92.0 → 0.92.2
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 +12 -0
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1957,6 +1957,7 @@ function TypedTextControl({ field: field2, value, onChange, disabled, id }) {
|
|
|
1957
1957
|
value: value.text,
|
|
1958
1958
|
disabled,
|
|
1959
1959
|
autoComplete: "off",
|
|
1960
|
+
"aria-label": fieldName(field2),
|
|
1960
1961
|
"aria-invalid": judged !== null && "refusal" in judged ? true : void 0,
|
|
1961
1962
|
onChange: (e) => onChange({ typedDraft: true, text: e.target.value, judged: judgeTyped(field2, e.target.value, needsChoices ? choices : void 0) })
|
|
1962
1963
|
}
|
|
@@ -16812,7 +16813,7 @@ function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews,
|
|
|
16812
16813
|
);
|
|
16813
16814
|
}
|
|
16814
16815
|
if (error) return /* @__PURE__ */ jsx58(RefusalNotice, { error, className, actions: /* @__PURE__ */ jsx58(Button40, { size: "sm", variant: "ghost", onClick: () => void load(), children: "Try again" }) });
|
|
16815
|
-
if (views === null) return /* @__PURE__ */ jsx58(Skeleton10, { className: cn35("h-
|
|
16816
|
+
if (views === null) return /* @__PURE__ */ jsx58(Skeleton10, { className: cn35("h-8 w-28 shrink-0", className) });
|
|
16816
16817
|
const current = views.find((v) => v.id === active) ?? null;
|
|
16817
16818
|
return /* @__PURE__ */ jsxs52(Popover5, { open, onOpenChange: setOpen, children: [
|
|
16818
16819
|
/* @__PURE__ */ jsx58(PopoverTrigger5, { asChild: true, children: /* @__PURE__ */ jsxs52(
|
|
@@ -16820,7 +16821,7 @@ function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews,
|
|
|
16820
16821
|
{
|
|
16821
16822
|
size: "sm",
|
|
16822
16823
|
variant: "subtle",
|
|
16823
|
-
className: cn35("h-
|
|
16824
|
+
className: cn35("h-8 max-w-[14rem] shrink-0 gap-1 px-2 text-xs", className),
|
|
16824
16825
|
"aria-label": `View: ${current?.name ?? "none yet"}. Change view`,
|
|
16825
16826
|
"data-view-picker": "",
|
|
16826
16827
|
children: [
|