@partrunner-ai/ui 2.4.4 → 2.5.0
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/DESIGN.md +444 -0
- package/README.md +19 -26
- package/dist/index.cjs +366 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +228 -4
- package/dist/index.d.ts +228 -4
- package/dist/index.js +360 -8
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
- package/recipes/form.md +296 -0
- package/recipes/inbox.md +460 -0
- package/recipes/list-page.md +290 -0
- package/recipes/record-page.md +198 -0
- package/recipes/states.md +78 -0
- package/recipes/work-queue.md +220 -0
- package/styles/light.css +475 -2
- package/styles/theme.css +475 -2
- package/styles/ui.css +475 -2
package/dist/index.cjs
CHANGED
|
@@ -4171,26 +4171,44 @@ var TableRow = react.forwardRef(function TableRow2({
|
|
|
4171
4171
|
}
|
|
4172
4172
|
);
|
|
4173
4173
|
});
|
|
4174
|
-
var
|
|
4174
|
+
var CELL_ALIGN = {
|
|
4175
|
+
start: "pr-table__cell--start",
|
|
4176
|
+
left: "pr-table__cell--start",
|
|
4177
|
+
center: "pr-table__cell--center",
|
|
4178
|
+
end: "pr-table__cell--end",
|
|
4179
|
+
right: "pr-table__cell--end"
|
|
4180
|
+
};
|
|
4181
|
+
function alignClass({ align, numeric }) {
|
|
4182
|
+
if (numeric) return CELL_ALIGN.end;
|
|
4183
|
+
if (align === void 0 || align === "justify" || align === "char") return null;
|
|
4184
|
+
return CELL_ALIGN[align];
|
|
4185
|
+
}
|
|
4186
|
+
function nativeAlign({ align, numeric }) {
|
|
4187
|
+
if (numeric) return void 0;
|
|
4188
|
+
return align === "justify" || align === "char" ? align : void 0;
|
|
4189
|
+
}
|
|
4190
|
+
var TableHead = react.forwardRef(function TableHead2({ className, scope = "col", align, numeric, ...props }, ref) {
|
|
4175
4191
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4176
4192
|
"th",
|
|
4177
4193
|
{
|
|
4178
4194
|
...props,
|
|
4179
4195
|
ref,
|
|
4180
4196
|
scope,
|
|
4197
|
+
align: nativeAlign({ align, numeric }),
|
|
4181
4198
|
"data-slot": "table-head",
|
|
4182
|
-
className: classes("pr-table__th", className)
|
|
4199
|
+
className: classes("pr-table__th", alignClass({ align, numeric }), className)
|
|
4183
4200
|
}
|
|
4184
4201
|
);
|
|
4185
4202
|
});
|
|
4186
|
-
var TableCell = react.forwardRef(function TableCell2({ className, ...props }, ref) {
|
|
4203
|
+
var TableCell = react.forwardRef(function TableCell2({ className, align, numeric, ...props }, ref) {
|
|
4187
4204
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4188
4205
|
"td",
|
|
4189
4206
|
{
|
|
4190
4207
|
...props,
|
|
4191
4208
|
ref,
|
|
4209
|
+
align: nativeAlign({ align, numeric }),
|
|
4192
4210
|
"data-slot": "table-cell",
|
|
4193
|
-
className: classes("pr-table__td", className)
|
|
4211
|
+
className: classes("pr-table__td", alignClass({ align, numeric }), className)
|
|
4194
4212
|
}
|
|
4195
4213
|
);
|
|
4196
4214
|
});
|
|
@@ -4270,7 +4288,7 @@ function DataTable({
|
|
|
4270
4288
|
scope: "col",
|
|
4271
4289
|
className: [
|
|
4272
4290
|
"pr-table__th",
|
|
4273
|
-
ALIGN[col.align ?? "start"],
|
|
4291
|
+
ALIGN[col.numeric ? "end" : col.align ?? "start"],
|
|
4274
4292
|
col.hideOnMobile ? "pr-table__cell--desktop" : null,
|
|
4275
4293
|
col.headerClassName
|
|
4276
4294
|
].filter(Boolean).join(" "),
|
|
@@ -4306,7 +4324,7 @@ function DataTable({
|
|
|
4306
4324
|
{
|
|
4307
4325
|
className: [
|
|
4308
4326
|
"pr-table__td",
|
|
4309
|
-
ALIGN[col.align ?? "start"],
|
|
4327
|
+
ALIGN[col.numeric ? "end" : col.align ?? "start"],
|
|
4310
4328
|
col.hideOnMobile ? "pr-table__cell--desktop" : null,
|
|
4311
4329
|
col.className
|
|
4312
4330
|
].filter(Boolean).join(" "),
|
|
@@ -7260,6 +7278,340 @@ async function prepareCommentFile(file) {
|
|
|
7260
7278
|
height: canvas.height
|
|
7261
7279
|
};
|
|
7262
7280
|
}
|
|
7281
|
+
var TONE_ICON = {
|
|
7282
|
+
neutral: lucideReact.Info,
|
|
7283
|
+
info: lucideReact.Info,
|
|
7284
|
+
success: lucideReact.CheckCircle2,
|
|
7285
|
+
warning: lucideReact.AlertTriangle,
|
|
7286
|
+
danger: lucideReact.XCircle
|
|
7287
|
+
};
|
|
7288
|
+
var Notice = react.forwardRef(function Notice2({
|
|
7289
|
+
tone = "info",
|
|
7290
|
+
title,
|
|
7291
|
+
children,
|
|
7292
|
+
icon,
|
|
7293
|
+
actions,
|
|
7294
|
+
onDismiss,
|
|
7295
|
+
dismissLabel = "Cerrar aviso",
|
|
7296
|
+
size = "md",
|
|
7297
|
+
role,
|
|
7298
|
+
className,
|
|
7299
|
+
...rest
|
|
7300
|
+
}, ref) {
|
|
7301
|
+
const ToneIcon = TONE_ICON[tone];
|
|
7302
|
+
const iconNode = icon === false ? null : icon ?? /* @__PURE__ */ jsxRuntime.jsx(ToneIcon, { size: size === "sm" ? 16 : 18, "aria-hidden": true });
|
|
7303
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7304
|
+
"div",
|
|
7305
|
+
{
|
|
7306
|
+
ref,
|
|
7307
|
+
...rest,
|
|
7308
|
+
role: role ?? (tone === "danger" ? "alert" : "status"),
|
|
7309
|
+
"data-slot": "notice",
|
|
7310
|
+
className: ["pr-notice", `pr-notice--${tone}`, `pr-notice--${size}`, className].filter(Boolean).join(" "),
|
|
7311
|
+
children: [
|
|
7312
|
+
iconNode != null ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pr-notice__icon", children: iconNode }) : null,
|
|
7313
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "pr-notice__body", children: [
|
|
7314
|
+
title != null && title !== false ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "pr-notice__title", children: title }) : null,
|
|
7315
|
+
children != null && children !== false ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pr-notice__text", children }) : null
|
|
7316
|
+
] }),
|
|
7317
|
+
actions != null ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pr-notice__actions", children: actions }) : null,
|
|
7318
|
+
onDismiss ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
7319
|
+
IconButton,
|
|
7320
|
+
{
|
|
7321
|
+
className: "pr-notice__dismiss",
|
|
7322
|
+
label: dismissLabel,
|
|
7323
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { size: 16, "aria-hidden": true }),
|
|
7324
|
+
variant: "ghost",
|
|
7325
|
+
size: "sm",
|
|
7326
|
+
compact: true,
|
|
7327
|
+
onClick: onDismiss
|
|
7328
|
+
}
|
|
7329
|
+
) : null
|
|
7330
|
+
]
|
|
7331
|
+
}
|
|
7332
|
+
);
|
|
7333
|
+
});
|
|
7334
|
+
var DetailList = react.forwardRef(function DetailList2({ columns = 2, layout = "stacked", density = "comfortable", className, ...rest }, ref) {
|
|
7335
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7336
|
+
"dl",
|
|
7337
|
+
{
|
|
7338
|
+
ref,
|
|
7339
|
+
...rest,
|
|
7340
|
+
"data-slot": "detail-list",
|
|
7341
|
+
className: [
|
|
7342
|
+
"pr-detail-list",
|
|
7343
|
+
`pr-detail-list--${layout}`,
|
|
7344
|
+
`pr-detail-list--cols-${columns}`,
|
|
7345
|
+
density === "compact" ? "pr-detail-list--compact" : null,
|
|
7346
|
+
className
|
|
7347
|
+
].filter(Boolean).join(" ")
|
|
7348
|
+
}
|
|
7349
|
+
);
|
|
7350
|
+
});
|
|
7351
|
+
var DetailItem = react.forwardRef(function DetailItem2({ label, children, span = 1, numeric = false, emptyText = "\u2014", className, ...rest }, ref) {
|
|
7352
|
+
const empty = children == null || children === "" || children === false;
|
|
7353
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7354
|
+
"div",
|
|
7355
|
+
{
|
|
7356
|
+
ref,
|
|
7357
|
+
...rest,
|
|
7358
|
+
"data-slot": "detail-item",
|
|
7359
|
+
className: [
|
|
7360
|
+
"pr-detail-item",
|
|
7361
|
+
span !== 1 ? `pr-detail-item--span-${span}` : null,
|
|
7362
|
+
numeric ? "pr-detail-item--numeric" : null,
|
|
7363
|
+
className
|
|
7364
|
+
].filter(Boolean).join(" "),
|
|
7365
|
+
children: [
|
|
7366
|
+
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "pr-detail-item__label", children: label }),
|
|
7367
|
+
/* @__PURE__ */ jsxRuntime.jsx("dd", { className: ["pr-detail-item__value", empty ? "pr-detail-item__value--empty" : null].filter(Boolean).join(" "), children: empty ? emptyText : children })
|
|
7368
|
+
]
|
|
7369
|
+
}
|
|
7370
|
+
);
|
|
7371
|
+
});
|
|
7372
|
+
var ItemList = react.forwardRef(function ItemList2({ density = "comfortable", divided = true, className, ...rest }, ref) {
|
|
7373
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7374
|
+
"ul",
|
|
7375
|
+
{
|
|
7376
|
+
ref,
|
|
7377
|
+
...rest,
|
|
7378
|
+
"data-slot": "item-list",
|
|
7379
|
+
className: [
|
|
7380
|
+
"pr-item-list",
|
|
7381
|
+
density === "compact" ? "pr-item-list--compact" : null,
|
|
7382
|
+
divided ? "pr-item-list--divided" : null,
|
|
7383
|
+
className
|
|
7384
|
+
].filter(Boolean).join(" ")
|
|
7385
|
+
}
|
|
7386
|
+
);
|
|
7387
|
+
});
|
|
7388
|
+
var DefaultLink2 = ({ href, children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("a", { href, ...props, children });
|
|
7389
|
+
var ItemRow = react.forwardRef(function ItemRow2({
|
|
7390
|
+
title,
|
|
7391
|
+
description,
|
|
7392
|
+
descriptionLines = 1,
|
|
7393
|
+
meta,
|
|
7394
|
+
leading,
|
|
7395
|
+
trailing,
|
|
7396
|
+
tone,
|
|
7397
|
+
footer,
|
|
7398
|
+
selected = false,
|
|
7399
|
+
unread = false,
|
|
7400
|
+
unreadLabel = "No le\xEDdo",
|
|
7401
|
+
disabled = false,
|
|
7402
|
+
href,
|
|
7403
|
+
onClick,
|
|
7404
|
+
LinkComponent = DefaultLink2,
|
|
7405
|
+
className,
|
|
7406
|
+
...rest
|
|
7407
|
+
}, ref) {
|
|
7408
|
+
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7409
|
+
leading != null ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "pr-item-row__leading", children: [
|
|
7410
|
+
leading,
|
|
7411
|
+
unread ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pr-item-row__dot pr-item-row__dot--overlay", "aria-hidden": true }) : null
|
|
7412
|
+
] }) : null,
|
|
7413
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "pr-item-row__body", children: [
|
|
7414
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "pr-item-row__top", children: [
|
|
7415
|
+
unread && leading == null ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pr-item-row__dot", "aria-hidden": true }) : null,
|
|
7416
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "pr-item-row__title", children: [
|
|
7417
|
+
unread ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "pr-visually-hidden", children: [
|
|
7418
|
+
unreadLabel,
|
|
7419
|
+
", "
|
|
7420
|
+
] }) : null,
|
|
7421
|
+
title
|
|
7422
|
+
] }),
|
|
7423
|
+
meta != null ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pr-item-row__meta", children: meta }) : null
|
|
7424
|
+
] }),
|
|
7425
|
+
description != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
7426
|
+
"span",
|
|
7427
|
+
{
|
|
7428
|
+
className: [
|
|
7429
|
+
"pr-item-row__description",
|
|
7430
|
+
descriptionLines === 2 ? "pr-item-row__description--2" : null
|
|
7431
|
+
].filter(Boolean).join(" "),
|
|
7432
|
+
children: description
|
|
7433
|
+
}
|
|
7434
|
+
) : null,
|
|
7435
|
+
footer != null ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pr-item-row__footer", children: footer }) : null
|
|
7436
|
+
] }),
|
|
7437
|
+
trailing != null ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pr-item-row__trailing", children: trailing }) : null
|
|
7438
|
+
] });
|
|
7439
|
+
const mainClass = "pr-item-row__main";
|
|
7440
|
+
const current = selected ? "true" : void 0;
|
|
7441
|
+
let control;
|
|
7442
|
+
if (href != null && !disabled) {
|
|
7443
|
+
control = /* @__PURE__ */ jsxRuntime.jsx(
|
|
7444
|
+
LinkComponent,
|
|
7445
|
+
{
|
|
7446
|
+
href,
|
|
7447
|
+
className: mainClass,
|
|
7448
|
+
"aria-current": current,
|
|
7449
|
+
"data-slot": "item-row-main",
|
|
7450
|
+
...onClick ? { onClick } : {},
|
|
7451
|
+
children: content
|
|
7452
|
+
}
|
|
7453
|
+
);
|
|
7454
|
+
} else if (href != null) {
|
|
7455
|
+
control = /* @__PURE__ */ jsxRuntime.jsx("a", { className: mainClass, "aria-disabled": "true", "aria-current": current, "data-slot": "item-row-main", children: content });
|
|
7456
|
+
} else {
|
|
7457
|
+
control = /* @__PURE__ */ jsxRuntime.jsx(
|
|
7458
|
+
"button",
|
|
7459
|
+
{
|
|
7460
|
+
type: "button",
|
|
7461
|
+
className: mainClass,
|
|
7462
|
+
"aria-current": current,
|
|
7463
|
+
disabled,
|
|
7464
|
+
onClick,
|
|
7465
|
+
"data-slot": "item-row-main",
|
|
7466
|
+
children: content
|
|
7467
|
+
}
|
|
7468
|
+
);
|
|
7469
|
+
}
|
|
7470
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7471
|
+
"li",
|
|
7472
|
+
{
|
|
7473
|
+
ref,
|
|
7474
|
+
...rest,
|
|
7475
|
+
"data-slot": "item-row",
|
|
7476
|
+
"data-selected": selected ? "" : void 0,
|
|
7477
|
+
"data-tone": tone,
|
|
7478
|
+
"data-unread": unread ? "" : void 0,
|
|
7479
|
+
"data-disabled": disabled ? "" : void 0,
|
|
7480
|
+
className: ["pr-item-row", className].filter(Boolean).join(" "),
|
|
7481
|
+
children: control
|
|
7482
|
+
}
|
|
7483
|
+
);
|
|
7484
|
+
});
|
|
7485
|
+
var SplitView = react.forwardRef(function SplitView2({
|
|
7486
|
+
list,
|
|
7487
|
+
listHeader,
|
|
7488
|
+
detail,
|
|
7489
|
+
listWidth = "md",
|
|
7490
|
+
detailOpen = false,
|
|
7491
|
+
onBack,
|
|
7492
|
+
backLabel = "Volver a la lista",
|
|
7493
|
+
listLabel = "Lista",
|
|
7494
|
+
detailLabel = "Detalle",
|
|
7495
|
+
height = "fill",
|
|
7496
|
+
className,
|
|
7497
|
+
...rest
|
|
7498
|
+
}, ref) {
|
|
7499
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7500
|
+
"div",
|
|
7501
|
+
{
|
|
7502
|
+
ref,
|
|
7503
|
+
...rest,
|
|
7504
|
+
"data-slot": "split-view",
|
|
7505
|
+
"data-detail-open": detailOpen ? "" : void 0,
|
|
7506
|
+
className: [
|
|
7507
|
+
"pr-split-view",
|
|
7508
|
+
`pr-split-view--list-${listWidth}`,
|
|
7509
|
+
`pr-split-view--${height}`,
|
|
7510
|
+
className
|
|
7511
|
+
].filter(Boolean).join(" "),
|
|
7512
|
+
children: [
|
|
7513
|
+
/* @__PURE__ */ jsxRuntime.jsxs("section", { "aria-label": listLabel, className: "pr-split-view__list", children: [
|
|
7514
|
+
listHeader != null ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pr-split-view__list-header", children: listHeader }) : null,
|
|
7515
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pr-split-view__list-scroll", children: list })
|
|
7516
|
+
] }),
|
|
7517
|
+
/* @__PURE__ */ jsxRuntime.jsxs("section", { "aria-label": detailLabel, className: "pr-split-view__detail", children: [
|
|
7518
|
+
onBack ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pr-split-view__back", children: /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", size: "sm", icon: lucideReact.ChevronLeft, onClick: onBack, children: backLabel }) }) : null,
|
|
7519
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pr-split-view__detail-scroll", children: detail })
|
|
7520
|
+
] })
|
|
7521
|
+
]
|
|
7522
|
+
}
|
|
7523
|
+
);
|
|
7524
|
+
});
|
|
7525
|
+
var Stack = react.forwardRef(function Stack2({
|
|
7526
|
+
direction = "column",
|
|
7527
|
+
gap = "lg",
|
|
7528
|
+
align,
|
|
7529
|
+
justify,
|
|
7530
|
+
wrap = false,
|
|
7531
|
+
asChild = false,
|
|
7532
|
+
className,
|
|
7533
|
+
...rest
|
|
7534
|
+
}, ref) {
|
|
7535
|
+
const classes2 = [
|
|
7536
|
+
"pr-stack",
|
|
7537
|
+
direction === "row" ? "pr-stack--row" : null,
|
|
7538
|
+
`pr-stack--gap-${gap}`,
|
|
7539
|
+
align ? `pr-stack--align-${align}` : null,
|
|
7540
|
+
justify ? `pr-stack--justify-${justify}` : null,
|
|
7541
|
+
wrap ? "pr-stack--wrap" : null,
|
|
7542
|
+
className
|
|
7543
|
+
].filter(Boolean).join(" ");
|
|
7544
|
+
const Comp = asChild ? Slot : "div";
|
|
7545
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Comp, { ref, "data-slot": "stack", className: classes2, ...rest });
|
|
7546
|
+
});
|
|
7547
|
+
var Disclosure = react.forwardRef(function Disclosure2({
|
|
7548
|
+
title,
|
|
7549
|
+
description,
|
|
7550
|
+
trailing,
|
|
7551
|
+
defaultOpen = false,
|
|
7552
|
+
open: openProp,
|
|
7553
|
+
onOpenChange,
|
|
7554
|
+
variant = "plain",
|
|
7555
|
+
headingLevel = 3,
|
|
7556
|
+
className,
|
|
7557
|
+
children,
|
|
7558
|
+
...rest
|
|
7559
|
+
}, ref) {
|
|
7560
|
+
const [innerOpen, setInnerOpen] = react.useState(defaultOpen);
|
|
7561
|
+
const controlled = openProp !== void 0;
|
|
7562
|
+
const open = controlled ? openProp : innerOpen;
|
|
7563
|
+
const baseId = react.useId();
|
|
7564
|
+
const buttonId = `${baseId}-trigger`;
|
|
7565
|
+
const panelId = `${baseId}-panel`;
|
|
7566
|
+
const Heading = `h${headingLevel}`;
|
|
7567
|
+
function toggle() {
|
|
7568
|
+
const next = !open;
|
|
7569
|
+
if (!controlled) setInnerOpen(next);
|
|
7570
|
+
onOpenChange?.(next);
|
|
7571
|
+
}
|
|
7572
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7573
|
+
"div",
|
|
7574
|
+
{
|
|
7575
|
+
ref,
|
|
7576
|
+
...rest,
|
|
7577
|
+
"data-slot": "disclosure",
|
|
7578
|
+
"data-state": open ? "open" : "closed",
|
|
7579
|
+
className: ["pr-disclosure", `pr-disclosure--${variant}`, className].filter(Boolean).join(" "),
|
|
7580
|
+
children: [
|
|
7581
|
+
/* @__PURE__ */ jsxRuntime.jsx(Heading, { className: "pr-disclosure__heading", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7582
|
+
"button",
|
|
7583
|
+
{
|
|
7584
|
+
type: "button",
|
|
7585
|
+
id: buttonId,
|
|
7586
|
+
className: "pr-disclosure__trigger",
|
|
7587
|
+
"aria-expanded": open,
|
|
7588
|
+
"aria-controls": panelId,
|
|
7589
|
+
onClick: toggle,
|
|
7590
|
+
children: [
|
|
7591
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { size: 18, "aria-hidden": true, className: "pr-disclosure__chevron" }),
|
|
7592
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "pr-disclosure__text", children: [
|
|
7593
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "pr-disclosure__title", children: title }),
|
|
7594
|
+
description != null ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pr-disclosure__description", children: description }) : null
|
|
7595
|
+
] }),
|
|
7596
|
+
trailing != null ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pr-disclosure__trailing", children: trailing }) : null
|
|
7597
|
+
]
|
|
7598
|
+
}
|
|
7599
|
+
) }),
|
|
7600
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7601
|
+
"div",
|
|
7602
|
+
{
|
|
7603
|
+
id: panelId,
|
|
7604
|
+
role: "region",
|
|
7605
|
+
"aria-labelledby": buttonId,
|
|
7606
|
+
hidden: !open,
|
|
7607
|
+
className: "pr-disclosure__panel",
|
|
7608
|
+
children
|
|
7609
|
+
}
|
|
7610
|
+
)
|
|
7611
|
+
]
|
|
7612
|
+
}
|
|
7613
|
+
);
|
|
7614
|
+
});
|
|
7263
7615
|
|
|
7264
7616
|
exports.AlertDialogAction = AlertDialogAction;
|
|
7265
7617
|
exports.AlertDialogCancel = AlertDialogCancel;
|
|
@@ -7290,6 +7642,8 @@ exports.CopyField = CopyField;
|
|
|
7290
7642
|
exports.DataTable = DataTable;
|
|
7291
7643
|
exports.DatePicker = DatePicker;
|
|
7292
7644
|
exports.DateRangeFilter = DateRangeFilter;
|
|
7645
|
+
exports.DetailItem = DetailItem;
|
|
7646
|
+
exports.DetailList = DetailList;
|
|
7293
7647
|
exports.Dialog = Dialog;
|
|
7294
7648
|
exports.DialogClose = DialogClose;
|
|
7295
7649
|
exports.DialogContent = DialogContent;
|
|
@@ -7300,6 +7654,7 @@ exports.DialogLayer = DialogLayer;
|
|
|
7300
7654
|
exports.DialogRoot = DialogRoot;
|
|
7301
7655
|
exports.DialogTitle = DialogTitle;
|
|
7302
7656
|
exports.DialogTrigger = DialogTrigger;
|
|
7657
|
+
exports.Disclosure = Disclosure;
|
|
7303
7658
|
exports.DropdownMenu = DropdownMenu;
|
|
7304
7659
|
exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
|
|
7305
7660
|
exports.DropdownMenuContent = DropdownMenuContent;
|
|
@@ -7319,9 +7674,12 @@ exports.FormField = FormField;
|
|
|
7319
7674
|
exports.IconButton = IconButton;
|
|
7320
7675
|
exports.IconTile = IconTile;
|
|
7321
7676
|
exports.Input = Input;
|
|
7677
|
+
exports.ItemList = ItemList;
|
|
7678
|
+
exports.ItemRow = ItemRow;
|
|
7322
7679
|
exports.Label = Label;
|
|
7323
7680
|
exports.MultiSelect = MultiSelect;
|
|
7324
7681
|
exports.NavigationTabs = NavigationTabs;
|
|
7682
|
+
exports.Notice = Notice;
|
|
7325
7683
|
exports.OtpInput = OtpInput;
|
|
7326
7684
|
exports.Page = Page;
|
|
7327
7685
|
exports.PageHeader = PageHeader;
|
|
@@ -7363,6 +7721,8 @@ exports.SheetTrigger = SheetTrigger;
|
|
|
7363
7721
|
exports.Skeleton = Skeleton;
|
|
7364
7722
|
exports.Slot = Slot;
|
|
7365
7723
|
exports.Spinner = Spinner;
|
|
7724
|
+
exports.SplitView = SplitView;
|
|
7725
|
+
exports.Stack = Stack;
|
|
7366
7726
|
exports.StatTile = StatTile;
|
|
7367
7727
|
exports.StatTileGrid = StatTileGrid;
|
|
7368
7728
|
exports.StatusDot = StatusDot;
|