@partrunner-ai/ui 2.4.3 → 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 +5 -2
- 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.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { forwardRef, isValidElement, Children, cloneElement, createContext, useEffect, useId, useState, useRef, useCallback, useLayoutEffect, useContext, useMemo, Fragment as Fragment$1 } from 'react';
|
|
3
|
-
import { X, Upload, FileText, Loader2, ChevronDown, Search, Check, ChevronsLeft, ChevronLeft, ChevronRight, ChevronsRight, Copy, TrendingUp, TrendingDown, CalendarDays, BellRing, BellOff, Bell, Bot, CornerUpLeft, SmilePlus, Pencil, Trash2, Paperclip, SendHorizontal } from 'lucide-react';
|
|
3
|
+
import { X, Upload, FileText, Loader2, ChevronDown, Search, Check, ChevronsLeft, ChevronLeft, ChevronRight, ChevronsRight, Copy, TrendingUp, TrendingDown, XCircle, AlertTriangle, CheckCircle2, Info, CalendarDays, BellRing, BellOff, Bell, Bot, CornerUpLeft, SmilePlus, Pencil, Trash2, Paperclip, SendHorizontal } from 'lucide-react';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import { createPortal } from 'react-dom';
|
|
6
6
|
|
|
@@ -4169,26 +4169,44 @@ var TableRow = forwardRef(function TableRow2({
|
|
|
4169
4169
|
}
|
|
4170
4170
|
);
|
|
4171
4171
|
});
|
|
4172
|
-
var
|
|
4172
|
+
var CELL_ALIGN = {
|
|
4173
|
+
start: "pr-table__cell--start",
|
|
4174
|
+
left: "pr-table__cell--start",
|
|
4175
|
+
center: "pr-table__cell--center",
|
|
4176
|
+
end: "pr-table__cell--end",
|
|
4177
|
+
right: "pr-table__cell--end"
|
|
4178
|
+
};
|
|
4179
|
+
function alignClass({ align, numeric }) {
|
|
4180
|
+
if (numeric) return CELL_ALIGN.end;
|
|
4181
|
+
if (align === void 0 || align === "justify" || align === "char") return null;
|
|
4182
|
+
return CELL_ALIGN[align];
|
|
4183
|
+
}
|
|
4184
|
+
function nativeAlign({ align, numeric }) {
|
|
4185
|
+
if (numeric) return void 0;
|
|
4186
|
+
return align === "justify" || align === "char" ? align : void 0;
|
|
4187
|
+
}
|
|
4188
|
+
var TableHead = forwardRef(function TableHead2({ className, scope = "col", align, numeric, ...props }, ref) {
|
|
4173
4189
|
return /* @__PURE__ */ jsx(
|
|
4174
4190
|
"th",
|
|
4175
4191
|
{
|
|
4176
4192
|
...props,
|
|
4177
4193
|
ref,
|
|
4178
4194
|
scope,
|
|
4195
|
+
align: nativeAlign({ align, numeric }),
|
|
4179
4196
|
"data-slot": "table-head",
|
|
4180
|
-
className: classes("pr-table__th", className)
|
|
4197
|
+
className: classes("pr-table__th", alignClass({ align, numeric }), className)
|
|
4181
4198
|
}
|
|
4182
4199
|
);
|
|
4183
4200
|
});
|
|
4184
|
-
var TableCell = forwardRef(function TableCell2({ className, ...props }, ref) {
|
|
4201
|
+
var TableCell = forwardRef(function TableCell2({ className, align, numeric, ...props }, ref) {
|
|
4185
4202
|
return /* @__PURE__ */ jsx(
|
|
4186
4203
|
"td",
|
|
4187
4204
|
{
|
|
4188
4205
|
...props,
|
|
4189
4206
|
ref,
|
|
4207
|
+
align: nativeAlign({ align, numeric }),
|
|
4190
4208
|
"data-slot": "table-cell",
|
|
4191
|
-
className: classes("pr-table__td", className)
|
|
4209
|
+
className: classes("pr-table__td", alignClass({ align, numeric }), className)
|
|
4192
4210
|
}
|
|
4193
4211
|
);
|
|
4194
4212
|
});
|
|
@@ -4268,7 +4286,7 @@ function DataTable({
|
|
|
4268
4286
|
scope: "col",
|
|
4269
4287
|
className: [
|
|
4270
4288
|
"pr-table__th",
|
|
4271
|
-
ALIGN[col.align ?? "start"],
|
|
4289
|
+
ALIGN[col.numeric ? "end" : col.align ?? "start"],
|
|
4272
4290
|
col.hideOnMobile ? "pr-table__cell--desktop" : null,
|
|
4273
4291
|
col.headerClassName
|
|
4274
4292
|
].filter(Boolean).join(" "),
|
|
@@ -4304,7 +4322,7 @@ function DataTable({
|
|
|
4304
4322
|
{
|
|
4305
4323
|
className: [
|
|
4306
4324
|
"pr-table__td",
|
|
4307
|
-
ALIGN[col.align ?? "start"],
|
|
4325
|
+
ALIGN[col.numeric ? "end" : col.align ?? "start"],
|
|
4308
4326
|
col.hideOnMobile ? "pr-table__cell--desktop" : null,
|
|
4309
4327
|
col.className
|
|
4310
4328
|
].filter(Boolean).join(" "),
|
|
@@ -7258,7 +7276,341 @@ async function prepareCommentFile(file) {
|
|
|
7258
7276
|
height: canvas.height
|
|
7259
7277
|
};
|
|
7260
7278
|
}
|
|
7279
|
+
var TONE_ICON = {
|
|
7280
|
+
neutral: Info,
|
|
7281
|
+
info: Info,
|
|
7282
|
+
success: CheckCircle2,
|
|
7283
|
+
warning: AlertTriangle,
|
|
7284
|
+
danger: XCircle
|
|
7285
|
+
};
|
|
7286
|
+
var Notice = forwardRef(function Notice2({
|
|
7287
|
+
tone = "info",
|
|
7288
|
+
title,
|
|
7289
|
+
children,
|
|
7290
|
+
icon,
|
|
7291
|
+
actions,
|
|
7292
|
+
onDismiss,
|
|
7293
|
+
dismissLabel = "Cerrar aviso",
|
|
7294
|
+
size = "md",
|
|
7295
|
+
role,
|
|
7296
|
+
className,
|
|
7297
|
+
...rest
|
|
7298
|
+
}, ref) {
|
|
7299
|
+
const ToneIcon = TONE_ICON[tone];
|
|
7300
|
+
const iconNode = icon === false ? null : icon ?? /* @__PURE__ */ jsx(ToneIcon, { size: size === "sm" ? 16 : 18, "aria-hidden": true });
|
|
7301
|
+
return /* @__PURE__ */ jsxs(
|
|
7302
|
+
"div",
|
|
7303
|
+
{
|
|
7304
|
+
ref,
|
|
7305
|
+
...rest,
|
|
7306
|
+
role: role ?? (tone === "danger" ? "alert" : "status"),
|
|
7307
|
+
"data-slot": "notice",
|
|
7308
|
+
className: ["pr-notice", `pr-notice--${tone}`, `pr-notice--${size}`, className].filter(Boolean).join(" "),
|
|
7309
|
+
children: [
|
|
7310
|
+
iconNode != null ? /* @__PURE__ */ jsx("span", { className: "pr-notice__icon", children: iconNode }) : null,
|
|
7311
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-notice__body", children: [
|
|
7312
|
+
title != null && title !== false ? /* @__PURE__ */ jsx("p", { className: "pr-notice__title", children: title }) : null,
|
|
7313
|
+
children != null && children !== false ? /* @__PURE__ */ jsx("div", { className: "pr-notice__text", children }) : null
|
|
7314
|
+
] }),
|
|
7315
|
+
actions != null ? /* @__PURE__ */ jsx("div", { className: "pr-notice__actions", children: actions }) : null,
|
|
7316
|
+
onDismiss ? /* @__PURE__ */ jsx(
|
|
7317
|
+
IconButton,
|
|
7318
|
+
{
|
|
7319
|
+
className: "pr-notice__dismiss",
|
|
7320
|
+
label: dismissLabel,
|
|
7321
|
+
icon: /* @__PURE__ */ jsx(X, { size: 16, "aria-hidden": true }),
|
|
7322
|
+
variant: "ghost",
|
|
7323
|
+
size: "sm",
|
|
7324
|
+
compact: true,
|
|
7325
|
+
onClick: onDismiss
|
|
7326
|
+
}
|
|
7327
|
+
) : null
|
|
7328
|
+
]
|
|
7329
|
+
}
|
|
7330
|
+
);
|
|
7331
|
+
});
|
|
7332
|
+
var DetailList = forwardRef(function DetailList2({ columns = 2, layout = "stacked", density = "comfortable", className, ...rest }, ref) {
|
|
7333
|
+
return /* @__PURE__ */ jsx(
|
|
7334
|
+
"dl",
|
|
7335
|
+
{
|
|
7336
|
+
ref,
|
|
7337
|
+
...rest,
|
|
7338
|
+
"data-slot": "detail-list",
|
|
7339
|
+
className: [
|
|
7340
|
+
"pr-detail-list",
|
|
7341
|
+
`pr-detail-list--${layout}`,
|
|
7342
|
+
`pr-detail-list--cols-${columns}`,
|
|
7343
|
+
density === "compact" ? "pr-detail-list--compact" : null,
|
|
7344
|
+
className
|
|
7345
|
+
].filter(Boolean).join(" ")
|
|
7346
|
+
}
|
|
7347
|
+
);
|
|
7348
|
+
});
|
|
7349
|
+
var DetailItem = forwardRef(function DetailItem2({ label, children, span = 1, numeric = false, emptyText = "\u2014", className, ...rest }, ref) {
|
|
7350
|
+
const empty = children == null || children === "" || children === false;
|
|
7351
|
+
return /* @__PURE__ */ jsxs(
|
|
7352
|
+
"div",
|
|
7353
|
+
{
|
|
7354
|
+
ref,
|
|
7355
|
+
...rest,
|
|
7356
|
+
"data-slot": "detail-item",
|
|
7357
|
+
className: [
|
|
7358
|
+
"pr-detail-item",
|
|
7359
|
+
span !== 1 ? `pr-detail-item--span-${span}` : null,
|
|
7360
|
+
numeric ? "pr-detail-item--numeric" : null,
|
|
7361
|
+
className
|
|
7362
|
+
].filter(Boolean).join(" "),
|
|
7363
|
+
children: [
|
|
7364
|
+
/* @__PURE__ */ jsx("dt", { className: "pr-detail-item__label", children: label }),
|
|
7365
|
+
/* @__PURE__ */ jsx("dd", { className: ["pr-detail-item__value", empty ? "pr-detail-item__value--empty" : null].filter(Boolean).join(" "), children: empty ? emptyText : children })
|
|
7366
|
+
]
|
|
7367
|
+
}
|
|
7368
|
+
);
|
|
7369
|
+
});
|
|
7370
|
+
var ItemList = forwardRef(function ItemList2({ density = "comfortable", divided = true, className, ...rest }, ref) {
|
|
7371
|
+
return /* @__PURE__ */ jsx(
|
|
7372
|
+
"ul",
|
|
7373
|
+
{
|
|
7374
|
+
ref,
|
|
7375
|
+
...rest,
|
|
7376
|
+
"data-slot": "item-list",
|
|
7377
|
+
className: [
|
|
7378
|
+
"pr-item-list",
|
|
7379
|
+
density === "compact" ? "pr-item-list--compact" : null,
|
|
7380
|
+
divided ? "pr-item-list--divided" : null,
|
|
7381
|
+
className
|
|
7382
|
+
].filter(Boolean).join(" ")
|
|
7383
|
+
}
|
|
7384
|
+
);
|
|
7385
|
+
});
|
|
7386
|
+
var DefaultLink2 = ({ href, children, ...props }) => /* @__PURE__ */ jsx("a", { href, ...props, children });
|
|
7387
|
+
var ItemRow = forwardRef(function ItemRow2({
|
|
7388
|
+
title,
|
|
7389
|
+
description,
|
|
7390
|
+
descriptionLines = 1,
|
|
7391
|
+
meta,
|
|
7392
|
+
leading,
|
|
7393
|
+
trailing,
|
|
7394
|
+
tone,
|
|
7395
|
+
footer,
|
|
7396
|
+
selected = false,
|
|
7397
|
+
unread = false,
|
|
7398
|
+
unreadLabel = "No le\xEDdo",
|
|
7399
|
+
disabled = false,
|
|
7400
|
+
href,
|
|
7401
|
+
onClick,
|
|
7402
|
+
LinkComponent = DefaultLink2,
|
|
7403
|
+
className,
|
|
7404
|
+
...rest
|
|
7405
|
+
}, ref) {
|
|
7406
|
+
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7407
|
+
leading != null ? /* @__PURE__ */ jsxs("span", { className: "pr-item-row__leading", children: [
|
|
7408
|
+
leading,
|
|
7409
|
+
unread ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__dot pr-item-row__dot--overlay", "aria-hidden": true }) : null
|
|
7410
|
+
] }) : null,
|
|
7411
|
+
/* @__PURE__ */ jsxs("span", { className: "pr-item-row__body", children: [
|
|
7412
|
+
/* @__PURE__ */ jsxs("span", { className: "pr-item-row__top", children: [
|
|
7413
|
+
unread && leading == null ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__dot", "aria-hidden": true }) : null,
|
|
7414
|
+
/* @__PURE__ */ jsxs("span", { className: "pr-item-row__title", children: [
|
|
7415
|
+
unread ? /* @__PURE__ */ jsxs("span", { className: "pr-visually-hidden", children: [
|
|
7416
|
+
unreadLabel,
|
|
7417
|
+
", "
|
|
7418
|
+
] }) : null,
|
|
7419
|
+
title
|
|
7420
|
+
] }),
|
|
7421
|
+
meta != null ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__meta", children: meta }) : null
|
|
7422
|
+
] }),
|
|
7423
|
+
description != null ? /* @__PURE__ */ jsx(
|
|
7424
|
+
"span",
|
|
7425
|
+
{
|
|
7426
|
+
className: [
|
|
7427
|
+
"pr-item-row__description",
|
|
7428
|
+
descriptionLines === 2 ? "pr-item-row__description--2" : null
|
|
7429
|
+
].filter(Boolean).join(" "),
|
|
7430
|
+
children: description
|
|
7431
|
+
}
|
|
7432
|
+
) : null,
|
|
7433
|
+
footer != null ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__footer", children: footer }) : null
|
|
7434
|
+
] }),
|
|
7435
|
+
trailing != null ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__trailing", children: trailing }) : null
|
|
7436
|
+
] });
|
|
7437
|
+
const mainClass = "pr-item-row__main";
|
|
7438
|
+
const current = selected ? "true" : void 0;
|
|
7439
|
+
let control;
|
|
7440
|
+
if (href != null && !disabled) {
|
|
7441
|
+
control = /* @__PURE__ */ jsx(
|
|
7442
|
+
LinkComponent,
|
|
7443
|
+
{
|
|
7444
|
+
href,
|
|
7445
|
+
className: mainClass,
|
|
7446
|
+
"aria-current": current,
|
|
7447
|
+
"data-slot": "item-row-main",
|
|
7448
|
+
...onClick ? { onClick } : {},
|
|
7449
|
+
children: content
|
|
7450
|
+
}
|
|
7451
|
+
);
|
|
7452
|
+
} else if (href != null) {
|
|
7453
|
+
control = /* @__PURE__ */ jsx("a", { className: mainClass, "aria-disabled": "true", "aria-current": current, "data-slot": "item-row-main", children: content });
|
|
7454
|
+
} else {
|
|
7455
|
+
control = /* @__PURE__ */ jsx(
|
|
7456
|
+
"button",
|
|
7457
|
+
{
|
|
7458
|
+
type: "button",
|
|
7459
|
+
className: mainClass,
|
|
7460
|
+
"aria-current": current,
|
|
7461
|
+
disabled,
|
|
7462
|
+
onClick,
|
|
7463
|
+
"data-slot": "item-row-main",
|
|
7464
|
+
children: content
|
|
7465
|
+
}
|
|
7466
|
+
);
|
|
7467
|
+
}
|
|
7468
|
+
return /* @__PURE__ */ jsx(
|
|
7469
|
+
"li",
|
|
7470
|
+
{
|
|
7471
|
+
ref,
|
|
7472
|
+
...rest,
|
|
7473
|
+
"data-slot": "item-row",
|
|
7474
|
+
"data-selected": selected ? "" : void 0,
|
|
7475
|
+
"data-tone": tone,
|
|
7476
|
+
"data-unread": unread ? "" : void 0,
|
|
7477
|
+
"data-disabled": disabled ? "" : void 0,
|
|
7478
|
+
className: ["pr-item-row", className].filter(Boolean).join(" "),
|
|
7479
|
+
children: control
|
|
7480
|
+
}
|
|
7481
|
+
);
|
|
7482
|
+
});
|
|
7483
|
+
var SplitView = forwardRef(function SplitView2({
|
|
7484
|
+
list,
|
|
7485
|
+
listHeader,
|
|
7486
|
+
detail,
|
|
7487
|
+
listWidth = "md",
|
|
7488
|
+
detailOpen = false,
|
|
7489
|
+
onBack,
|
|
7490
|
+
backLabel = "Volver a la lista",
|
|
7491
|
+
listLabel = "Lista",
|
|
7492
|
+
detailLabel = "Detalle",
|
|
7493
|
+
height = "fill",
|
|
7494
|
+
className,
|
|
7495
|
+
...rest
|
|
7496
|
+
}, ref) {
|
|
7497
|
+
return /* @__PURE__ */ jsxs(
|
|
7498
|
+
"div",
|
|
7499
|
+
{
|
|
7500
|
+
ref,
|
|
7501
|
+
...rest,
|
|
7502
|
+
"data-slot": "split-view",
|
|
7503
|
+
"data-detail-open": detailOpen ? "" : void 0,
|
|
7504
|
+
className: [
|
|
7505
|
+
"pr-split-view",
|
|
7506
|
+
`pr-split-view--list-${listWidth}`,
|
|
7507
|
+
`pr-split-view--${height}`,
|
|
7508
|
+
className
|
|
7509
|
+
].filter(Boolean).join(" "),
|
|
7510
|
+
children: [
|
|
7511
|
+
/* @__PURE__ */ jsxs("section", { "aria-label": listLabel, className: "pr-split-view__list", children: [
|
|
7512
|
+
listHeader != null ? /* @__PURE__ */ jsx("div", { className: "pr-split-view__list-header", children: listHeader }) : null,
|
|
7513
|
+
/* @__PURE__ */ jsx("div", { className: "pr-split-view__list-scroll", children: list })
|
|
7514
|
+
] }),
|
|
7515
|
+
/* @__PURE__ */ jsxs("section", { "aria-label": detailLabel, className: "pr-split-view__detail", children: [
|
|
7516
|
+
onBack ? /* @__PURE__ */ jsx("div", { className: "pr-split-view__back", children: /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "sm", icon: ChevronLeft, onClick: onBack, children: backLabel }) }) : null,
|
|
7517
|
+
/* @__PURE__ */ jsx("div", { className: "pr-split-view__detail-scroll", children: detail })
|
|
7518
|
+
] })
|
|
7519
|
+
]
|
|
7520
|
+
}
|
|
7521
|
+
);
|
|
7522
|
+
});
|
|
7523
|
+
var Stack = forwardRef(function Stack2({
|
|
7524
|
+
direction = "column",
|
|
7525
|
+
gap = "lg",
|
|
7526
|
+
align,
|
|
7527
|
+
justify,
|
|
7528
|
+
wrap = false,
|
|
7529
|
+
asChild = false,
|
|
7530
|
+
className,
|
|
7531
|
+
...rest
|
|
7532
|
+
}, ref) {
|
|
7533
|
+
const classes2 = [
|
|
7534
|
+
"pr-stack",
|
|
7535
|
+
direction === "row" ? "pr-stack--row" : null,
|
|
7536
|
+
`pr-stack--gap-${gap}`,
|
|
7537
|
+
align ? `pr-stack--align-${align}` : null,
|
|
7538
|
+
justify ? `pr-stack--justify-${justify}` : null,
|
|
7539
|
+
wrap ? "pr-stack--wrap" : null,
|
|
7540
|
+
className
|
|
7541
|
+
].filter(Boolean).join(" ");
|
|
7542
|
+
const Comp = asChild ? Slot : "div";
|
|
7543
|
+
return /* @__PURE__ */ jsx(Comp, { ref, "data-slot": "stack", className: classes2, ...rest });
|
|
7544
|
+
});
|
|
7545
|
+
var Disclosure = forwardRef(function Disclosure2({
|
|
7546
|
+
title,
|
|
7547
|
+
description,
|
|
7548
|
+
trailing,
|
|
7549
|
+
defaultOpen = false,
|
|
7550
|
+
open: openProp,
|
|
7551
|
+
onOpenChange,
|
|
7552
|
+
variant = "plain",
|
|
7553
|
+
headingLevel = 3,
|
|
7554
|
+
className,
|
|
7555
|
+
children,
|
|
7556
|
+
...rest
|
|
7557
|
+
}, ref) {
|
|
7558
|
+
const [innerOpen, setInnerOpen] = useState(defaultOpen);
|
|
7559
|
+
const controlled = openProp !== void 0;
|
|
7560
|
+
const open = controlled ? openProp : innerOpen;
|
|
7561
|
+
const baseId = useId();
|
|
7562
|
+
const buttonId = `${baseId}-trigger`;
|
|
7563
|
+
const panelId = `${baseId}-panel`;
|
|
7564
|
+
const Heading = `h${headingLevel}`;
|
|
7565
|
+
function toggle() {
|
|
7566
|
+
const next = !open;
|
|
7567
|
+
if (!controlled) setInnerOpen(next);
|
|
7568
|
+
onOpenChange?.(next);
|
|
7569
|
+
}
|
|
7570
|
+
return /* @__PURE__ */ jsxs(
|
|
7571
|
+
"div",
|
|
7572
|
+
{
|
|
7573
|
+
ref,
|
|
7574
|
+
...rest,
|
|
7575
|
+
"data-slot": "disclosure",
|
|
7576
|
+
"data-state": open ? "open" : "closed",
|
|
7577
|
+
className: ["pr-disclosure", `pr-disclosure--${variant}`, className].filter(Boolean).join(" "),
|
|
7578
|
+
children: [
|
|
7579
|
+
/* @__PURE__ */ jsx(Heading, { className: "pr-disclosure__heading", children: /* @__PURE__ */ jsxs(
|
|
7580
|
+
"button",
|
|
7581
|
+
{
|
|
7582
|
+
type: "button",
|
|
7583
|
+
id: buttonId,
|
|
7584
|
+
className: "pr-disclosure__trigger",
|
|
7585
|
+
"aria-expanded": open,
|
|
7586
|
+
"aria-controls": panelId,
|
|
7587
|
+
onClick: toggle,
|
|
7588
|
+
children: [
|
|
7589
|
+
/* @__PURE__ */ jsx(ChevronRight, { size: 18, "aria-hidden": true, className: "pr-disclosure__chevron" }),
|
|
7590
|
+
/* @__PURE__ */ jsxs("span", { className: "pr-disclosure__text", children: [
|
|
7591
|
+
/* @__PURE__ */ jsx("span", { className: "pr-disclosure__title", children: title }),
|
|
7592
|
+
description != null ? /* @__PURE__ */ jsx("span", { className: "pr-disclosure__description", children: description }) : null
|
|
7593
|
+
] }),
|
|
7594
|
+
trailing != null ? /* @__PURE__ */ jsx("span", { className: "pr-disclosure__trailing", children: trailing }) : null
|
|
7595
|
+
]
|
|
7596
|
+
}
|
|
7597
|
+
) }),
|
|
7598
|
+
/* @__PURE__ */ jsx(
|
|
7599
|
+
"div",
|
|
7600
|
+
{
|
|
7601
|
+
id: panelId,
|
|
7602
|
+
role: "region",
|
|
7603
|
+
"aria-labelledby": buttonId,
|
|
7604
|
+
hidden: !open,
|
|
7605
|
+
className: "pr-disclosure__panel",
|
|
7606
|
+
children
|
|
7607
|
+
}
|
|
7608
|
+
)
|
|
7609
|
+
]
|
|
7610
|
+
}
|
|
7611
|
+
);
|
|
7612
|
+
});
|
|
7261
7613
|
|
|
7262
|
-
export { AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, AmbientBackground, Avatar, Badge, Button, Calendar, Card, CardContent, CardDescription, CardHeader, CardTitle, Checkbox, CheckboxGroup, Combobox, CommentThread, ConfirmDialog, CopyField, DataTable, DatePicker, DateRangeFilter, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogLayer, DialogRoot, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EMPTY_DATE_RANGE, EmptyState, FileDropzone, FilterChip, FilterChipRow, FormField, IconButton, IconTile, Input, Label, MultiSelect, NavigationTabs, OtpInput, Page, PageHeader, PageSkeleton, Pagination, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, ProgressBar, ProgressDots, ProgressRing, RadioGroup, RichSelect, RichSelectContent, RichSelectEmpty, RichSelectGroup, RichSelectItem, RichSelectLabel, RichSelectSearch, RichSelectSeparator, RichSelectTrigger, RichSelectValue, SearchField, SectionHeading, SegmentedControl, Select, Separator, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetRoot, SheetTitle, SheetTrigger, Skeleton, Slot, Spinner, StatTile, StatTileGrid, StatusDot, Stepper, Switch, TINT_TONES, Table2 as Table, TableBody, TableCaption, TableCell, TableFooter, TableFrame, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toolbar, ToolbarGroup, ToolbarSpacer, Tooltip, ValidationSummary, activeMentionQuery, avatarInitials, commentDraftFromBody, commentPlainText, formatCalendarDate, formatDateRange, isCalendarDate, isSameDateRange, isValidDateRange, menuStyle, mergeCommentMessages, parseCalendarDate, parseCommentBody, prepareCommentFile, registerDialogLayerPortal, resolveActiveNavigationHref, serializeCalendarDate, serializeCommentDraft, toneFromString, useAnchoredMenu };
|
|
7614
|
+
export { AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, AmbientBackground, Avatar, Badge, Button, Calendar, Card, CardContent, CardDescription, CardHeader, CardTitle, Checkbox, CheckboxGroup, Combobox, CommentThread, ConfirmDialog, CopyField, DataTable, DatePicker, DateRangeFilter, DetailItem, DetailList, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogLayer, DialogRoot, DialogTitle, DialogTrigger, Disclosure, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EMPTY_DATE_RANGE, EmptyState, FileDropzone, FilterChip, FilterChipRow, FormField, IconButton, IconTile, Input, ItemList, ItemRow, Label, MultiSelect, NavigationTabs, Notice, OtpInput, Page, PageHeader, PageSkeleton, Pagination, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, ProgressBar, ProgressDots, ProgressRing, RadioGroup, RichSelect, RichSelectContent, RichSelectEmpty, RichSelectGroup, RichSelectItem, RichSelectLabel, RichSelectSearch, RichSelectSeparator, RichSelectTrigger, RichSelectValue, SearchField, SectionHeading, SegmentedControl, Select, Separator, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetRoot, SheetTitle, SheetTrigger, Skeleton, Slot, Spinner, SplitView, Stack, StatTile, StatTileGrid, StatusDot, Stepper, Switch, TINT_TONES, Table2 as Table, TableBody, TableCaption, TableCell, TableFooter, TableFrame, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toolbar, ToolbarGroup, ToolbarSpacer, Tooltip, ValidationSummary, activeMentionQuery, avatarInitials, commentDraftFromBody, commentPlainText, formatCalendarDate, formatDateRange, isCalendarDate, isSameDateRange, isValidDateRange, menuStyle, mergeCommentMessages, parseCalendarDate, parseCommentBody, prepareCommentFile, registerDialogLayerPortal, resolveActiveNavigationHref, serializeCalendarDate, serializeCommentDraft, toneFromString, useAnchoredMenu };
|
|
7263
7615
|
//# sourceMappingURL=index.js.map
|
|
7264
7616
|
//# sourceMappingURL=index.js.map
|