@ai-matrx/records-ui 0.101.9 → 0.101.10
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 +8 -0
- package/dist/index.cjs +25 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +25 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33196,9 +33196,9 @@ function ActionInbox({
|
|
|
33196
33196
|
onKeyDown,
|
|
33197
33197
|
"aria-label": "Inbox",
|
|
33198
33198
|
children: [
|
|
33199
|
-
/* @__PURE__ */ jsxs98("div", { className: "flex items-center gap-2", children: [
|
|
33199
|
+
/* @__PURE__ */ jsxs98("div", { className: "flex flex-wrap items-center gap-x-2 gap-y-1", children: [
|
|
33200
33200
|
/* @__PURE__ */ jsx107("h3", { className: "sr-only", children: "Inbox" }),
|
|
33201
|
-
/* @__PURE__ */ jsx107("div", { role: "tablist", "aria-label": "Inbox views", className: "flex items-center gap-0.5", children: INBOX_VIEWS.map((v) => {
|
|
33201
|
+
/* @__PURE__ */ jsx107("div", { role: "tablist", "aria-label": "Inbox views", className: "flex shrink-0 items-center gap-0.5", children: INBOX_VIEWS.map((v) => {
|
|
33202
33202
|
const n = counts === null ? v === view ? shown3.length : null : v === "inbox" ? counts.waiting : v === "snoozed" ? counts.snoozed : counts.cleared;
|
|
33203
33203
|
return /* @__PURE__ */ jsxs98(
|
|
33204
33204
|
"button",
|
|
@@ -33213,7 +33213,7 @@ function ActionInbox({
|
|
|
33213
33213
|
setSnoozing(null);
|
|
33214
33214
|
},
|
|
33215
33215
|
className: cn57(
|
|
33216
|
-
"flex items-baseline gap-1 rounded px-1.5 py-0.5 text-xs",
|
|
33216
|
+
"flex items-baseline gap-1 whitespace-nowrap rounded px-1.5 py-0.5 text-xs",
|
|
33217
33217
|
view === v ? "bg-accent font-medium text-foreground" : "text-muted-foreground"
|
|
33218
33218
|
),
|
|
33219
33219
|
children: [
|
|
@@ -33230,7 +33230,7 @@ function ActionInbox({
|
|
|
33230
33230
|
{
|
|
33231
33231
|
role: "group",
|
|
33232
33232
|
"aria-label": "Group by",
|
|
33233
|
-
className: "ml-auto flex items-center rounded-md border border-border p-0.5 lg:ml-0",
|
|
33233
|
+
className: "ml-auto flex shrink-0 items-center rounded-md border border-border p-0.5 lg:ml-0",
|
|
33234
33234
|
children: INBOX_GROUPINGS.map((g) => /* @__PURE__ */ jsx107(
|
|
33235
33235
|
"button",
|
|
33236
33236
|
{
|
|
@@ -33238,7 +33238,7 @@ function ActionInbox({
|
|
|
33238
33238
|
"aria-pressed": groupBy === g,
|
|
33239
33239
|
onClick: () => setGroupBy(g),
|
|
33240
33240
|
className: cn57(
|
|
33241
|
-
"rounded px-1.5 py-0.5 text-[11px]",
|
|
33241
|
+
"whitespace-nowrap rounded px-1.5 py-0.5 text-[11px]",
|
|
33242
33242
|
groupBy === g ? "bg-accent font-medium text-foreground" : "text-muted-foreground"
|
|
33243
33243
|
),
|
|
33244
33244
|
children: GROUPING_WORD[g]
|
|
@@ -33247,8 +33247,26 @@ function ActionInbox({
|
|
|
33247
33247
|
))
|
|
33248
33248
|
}
|
|
33249
33249
|
),
|
|
33250
|
-
view === "inbox" ? /* @__PURE__ */ jsx107(
|
|
33251
|
-
|
|
33250
|
+
view === "inbox" ? /* @__PURE__ */ jsx107(
|
|
33251
|
+
Button72,
|
|
33252
|
+
{
|
|
33253
|
+
size: "sm",
|
|
33254
|
+
variant: "ghost",
|
|
33255
|
+
className: "h-7 shrink-0 whitespace-nowrap px-2 text-xs",
|
|
33256
|
+
onClick: () => setShowDecided((s) => !s),
|
|
33257
|
+
children: showDecided ? "Hide decided" : "Show decided"
|
|
33258
|
+
}
|
|
33259
|
+
) : null,
|
|
33260
|
+
/* @__PURE__ */ jsx107(
|
|
33261
|
+
Button72,
|
|
33262
|
+
{
|
|
33263
|
+
size: "sm",
|
|
33264
|
+
variant: "ghost",
|
|
33265
|
+
className: "h-7 shrink-0 whitespace-nowrap px-2 text-xs",
|
|
33266
|
+
onClick: () => void load(),
|
|
33267
|
+
children: "Refresh"
|
|
33268
|
+
}
|
|
33269
|
+
)
|
|
33252
33270
|
] }),
|
|
33253
33271
|
error ? /* @__PURE__ */ jsx107(RefusalNotice, { error }) : null,
|
|
33254
33272
|
selected.size > 0 ? /* @__PURE__ */ jsxs98(
|