@assure-one/design-system 1.18.0 → 1.20.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/dist/index.d.ts +151 -5
- package/dist/index.js +226 -57
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5885,13 +5885,15 @@ var productLogoAssets = {
|
|
|
5885
5885
|
Pro: { src: "/brand/assure-pro.svg", width: 384, height: 90 },
|
|
5886
5886
|
Audit: { src: "/brand/assure-audit.svg", width: 441, height: 90 },
|
|
5887
5887
|
Books: { src: "/brand/assure-books.svg", width: 470, height: 90 },
|
|
5888
|
-
Tax: { src: "/brand/assure-tax.svg", width: 374, height: 90 }
|
|
5888
|
+
Tax: { src: "/brand/assure-tax.svg", width: 374, height: 90 },
|
|
5889
|
+
Teams: { src: "/brand/mycpe-teams.svg", width: 221, height: 49 }
|
|
5889
5890
|
};
|
|
5890
5891
|
var productMarkAssets = {
|
|
5891
5892
|
Pro: { src: "/brand/assure-pro-mark.svg", width: 55, height: 48 },
|
|
5892
5893
|
Audit: { src: "/brand/assure-audit-mark.svg", width: 55, height: 48 },
|
|
5893
5894
|
Books: { src: "/brand/assure-books-mark.svg", width: 55, height: 48 },
|
|
5894
|
-
Tax: { src: "/brand/assure-tax-mark.svg", width: 55, height: 48 }
|
|
5895
|
+
Tax: { src: "/brand/assure-tax-mark.svg", width: 55, height: 48 },
|
|
5896
|
+
Teams: { src: "/brand/mycpe-teams-mark.svg", width: 26, height: 31 }
|
|
5895
5897
|
};
|
|
5896
5898
|
var productGlyphs = {
|
|
5897
5899
|
Pro: AssureProBrandIcon,
|
|
@@ -5899,6 +5901,9 @@ var productGlyphs = {
|
|
|
5899
5901
|
Books: AssureBooksBrandIcon,
|
|
5900
5902
|
Tax: AssureTaxBrandIcon
|
|
5901
5903
|
};
|
|
5904
|
+
var standaloneBrands = {
|
|
5905
|
+
Teams: "myCPE Teams"
|
|
5906
|
+
};
|
|
5902
5907
|
function Logo({
|
|
5903
5908
|
size = "md",
|
|
5904
5909
|
href = "/",
|
|
@@ -5910,7 +5915,9 @@ function Logo({
|
|
|
5910
5915
|
inverted = false
|
|
5911
5916
|
}) {
|
|
5912
5917
|
const s = sizeStyles[size];
|
|
5913
|
-
const
|
|
5918
|
+
const standaloneLabel = productName ? standaloneBrands[productName] : void 0;
|
|
5919
|
+
const isStandalone = Boolean(standaloneLabel);
|
|
5920
|
+
const ariaLabel = standaloneLabel ?? (productName ? `Assure ${productName}` : "Assure");
|
|
5914
5921
|
const asset = productName ? productLogoAssets[productName] : void 0;
|
|
5915
5922
|
const markAsset = productName ? productMarkAssets[productName] : void 0;
|
|
5916
5923
|
const Glyph = productName ? productGlyphs[productName] : void 0;
|
|
@@ -5950,7 +5957,7 @@ function Logo({
|
|
|
5950
5957
|
children: "A"
|
|
5951
5958
|
}
|
|
5952
5959
|
) }),
|
|
5953
|
-
showText && /* @__PURE__ */
|
|
5960
|
+
showText && /* @__PURE__ */ jsx(
|
|
5954
5961
|
"span",
|
|
5955
5962
|
{
|
|
5956
5963
|
className: cn(
|
|
@@ -5960,13 +5967,13 @@ function Logo({
|
|
|
5960
5967
|
asset && "sr-only",
|
|
5961
5968
|
textClassName
|
|
5962
5969
|
),
|
|
5963
|
-
children: [
|
|
5970
|
+
children: isStandalone ? /* @__PURE__ */ jsx("span", { children: standaloneLabel }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5964
5971
|
/* @__PURE__ */ jsx("span", { children: "Assure" }),
|
|
5965
5972
|
productName && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5966
5973
|
" ",
|
|
5967
5974
|
/* @__PURE__ */ jsx("span", { className: cn("font-medium", inverted ? "text-[#d8cfff]" : "text-pro-fg"), children: productName })
|
|
5968
5975
|
] })
|
|
5969
|
-
]
|
|
5976
|
+
] })
|
|
5970
5977
|
}
|
|
5971
5978
|
)
|
|
5972
5979
|
] });
|
|
@@ -11454,6 +11461,61 @@ var QuestionnairePanel = forwardRef(
|
|
|
11454
11461
|
}
|
|
11455
11462
|
);
|
|
11456
11463
|
QuestionnairePanel.displayName = "QuestionnairePanel";
|
|
11464
|
+
var Grid = forwardRef(function Grid2({
|
|
11465
|
+
columns,
|
|
11466
|
+
rows,
|
|
11467
|
+
value,
|
|
11468
|
+
onChange,
|
|
11469
|
+
ariaLabel,
|
|
11470
|
+
rowHeaderLabel,
|
|
11471
|
+
currencySymbol = "$",
|
|
11472
|
+
minWidth = 560,
|
|
11473
|
+
disabled = false,
|
|
11474
|
+
className,
|
|
11475
|
+
...props
|
|
11476
|
+
}, ref) {
|
|
11477
|
+
const updateCell = (rowKey, colKey, nextValue) => {
|
|
11478
|
+
onChange({
|
|
11479
|
+
...value,
|
|
11480
|
+
[rowKey]: { ...value[rowKey] ?? {}, [colKey]: nextValue }
|
|
11481
|
+
});
|
|
11482
|
+
};
|
|
11483
|
+
return /* @__PURE__ */ jsx("div", { ref, className: cn("overflow-x-auto", className), ...props, children: /* @__PURE__ */ jsxs(
|
|
11484
|
+
"div",
|
|
11485
|
+
{
|
|
11486
|
+
role: "table",
|
|
11487
|
+
"aria-label": ariaLabel,
|
|
11488
|
+
className: "grid gap-2",
|
|
11489
|
+
style: {
|
|
11490
|
+
minWidth: `${minWidth}px`,
|
|
11491
|
+
gridTemplateColumns: `minmax(120px,max-content) ${columns.map((column) => `minmax(0, ${column.width ?? 1}fr)`).join(" ")}`
|
|
11492
|
+
},
|
|
11493
|
+
children: [
|
|
11494
|
+
rowHeaderLabel ? /* @__PURE__ */ jsx("span", { className: "text-fg-3 flex items-end px-1 text-[12px] font-semibold", children: rowHeaderLabel }) : /* @__PURE__ */ jsx("span", { "aria-hidden": "true" }),
|
|
11495
|
+
columns.map((column) => /* @__PURE__ */ jsx("span", { className: "text-fg-3 flex items-end px-1 text-[12px] font-semibold", children: column.label }, column.key)),
|
|
11496
|
+
rows.map((row) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
11497
|
+
/* @__PURE__ */ jsx("span", { className: "text-fg flex items-center text-[13px] font-semibold", children: row.label }),
|
|
11498
|
+
columns.map((column) => /* @__PURE__ */ jsx(
|
|
11499
|
+
Input,
|
|
11500
|
+
{
|
|
11501
|
+
type: column.inputType === "date" ? "date" : "text",
|
|
11502
|
+
value: value[row.key]?.[column.key] ?? "",
|
|
11503
|
+
onChange: (event) => updateCell(row.key, column.key, event.target.value),
|
|
11504
|
+
placeholder: column.placeholder,
|
|
11505
|
+
"aria-label": [ariaLabel, row.label, column.label].filter(Boolean).join(" "),
|
|
11506
|
+
disabled,
|
|
11507
|
+
className: "h-11 rounded-[12px] text-[14px]",
|
|
11508
|
+
inputMode: column.inputType === "number" || column.inputType === "currency" ? "decimal" : void 0,
|
|
11509
|
+
prefixIcon: column.inputType === "currency" ? /* @__PURE__ */ jsx("span", { className: "text-xs font-semibold", children: currencySymbol }) : void 0
|
|
11510
|
+
},
|
|
11511
|
+
column.key
|
|
11512
|
+
))
|
|
11513
|
+
] }, row.key))
|
|
11514
|
+
]
|
|
11515
|
+
}
|
|
11516
|
+
) });
|
|
11517
|
+
});
|
|
11518
|
+
Grid.displayName = "Grid";
|
|
11457
11519
|
var defaultOptions = [
|
|
11458
11520
|
{ value: "yes", label: "Yes" },
|
|
11459
11521
|
{ value: "no", label: "No" },
|
|
@@ -11497,6 +11559,7 @@ var Questions = forwardRef(function Questions2({
|
|
|
11497
11559
|
onLabeledChange,
|
|
11498
11560
|
onTableRowsChange,
|
|
11499
11561
|
onFilesSelected,
|
|
11562
|
+
onFileRemove,
|
|
11500
11563
|
className,
|
|
11501
11564
|
...props
|
|
11502
11565
|
}, ref) {
|
|
@@ -11514,12 +11577,6 @@ var Questions = forwardRef(function Questions2({
|
|
|
11514
11577
|
const updateName = (key, nextValue) => {
|
|
11515
11578
|
onNameChange?.({ ...nameValue, [key]: nextValue });
|
|
11516
11579
|
};
|
|
11517
|
-
const updateCell = (rowKey, colKey, nextValue) => {
|
|
11518
|
-
onLabeledChange?.({
|
|
11519
|
-
...labeledValue,
|
|
11520
|
-
[rowKey]: { ...labeledValue[rowKey] ?? {}, [colKey]: nextValue }
|
|
11521
|
-
});
|
|
11522
|
-
};
|
|
11523
11580
|
const updateRow = (rowIndex, key, nextValue) => {
|
|
11524
11581
|
onTableRowsChange?.(
|
|
11525
11582
|
tableRows.map((row, index2) => index2 === rowIndex ? { ...row, [key]: nextValue } : row)
|
|
@@ -11845,44 +11902,22 @@ var Questions = forwardRef(function Questions2({
|
|
|
11845
11902
|
}
|
|
11846
11903
|
)
|
|
11847
11904
|
] }),
|
|
11848
|
-
type === "labeled-table" && /* @__PURE__ */ jsx(
|
|
11849
|
-
|
|
11905
|
+
type === "labeled-table" && /* @__PURE__ */ jsx(
|
|
11906
|
+
Grid,
|
|
11850
11907
|
{
|
|
11851
|
-
|
|
11852
|
-
|
|
11853
|
-
|
|
11854
|
-
|
|
11855
|
-
|
|
11856
|
-
|
|
11857
|
-
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
|
|
11862
|
-
className: "text-fg-3 flex items-end px-1 text-[12px] font-semibold",
|
|
11863
|
-
children: column.title
|
|
11864
|
-
},
|
|
11865
|
-
column.key
|
|
11866
|
-
)),
|
|
11867
|
-
labeledRows.map((row) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
11868
|
-
/* @__PURE__ */ jsx("span", { className: "text-fg flex items-center text-[13px] font-semibold", children: row.title }),
|
|
11869
|
-
labeledColumns.map((column) => /* @__PURE__ */ jsx(
|
|
11870
|
-
Input,
|
|
11871
|
-
{
|
|
11872
|
-
type: column.inputType === "date" ? "date" : "text",
|
|
11873
|
-
value: labeledValue[row.key]?.[column.key] ?? "",
|
|
11874
|
-
onChange: (event) => updateCell(row.key, column.key, event.target.value),
|
|
11875
|
-
"aria-label": `${title} ${row.title} ${column.title}`,
|
|
11876
|
-
className: "h-11 rounded-[12px] text-[14px]",
|
|
11877
|
-
inputMode: column.inputType === "number" || column.inputType === "currency" ? "decimal" : void 0,
|
|
11878
|
-
prefixIcon: column.inputType === "currency" ? /* @__PURE__ */ jsx("span", { className: "text-xs font-semibold", children: currencySymbol }) : void 0
|
|
11879
|
-
},
|
|
11880
|
-
column.key
|
|
11881
|
-
))
|
|
11882
|
-
] }, row.key))
|
|
11883
|
-
]
|
|
11908
|
+
ariaLabel: title,
|
|
11909
|
+
currencySymbol,
|
|
11910
|
+
columns: labeledColumns.map((column) => ({
|
|
11911
|
+
key: column.key,
|
|
11912
|
+
label: column.title,
|
|
11913
|
+
inputType: column.inputType,
|
|
11914
|
+
width: column.width
|
|
11915
|
+
})),
|
|
11916
|
+
rows: labeledRows.map((row) => ({ key: row.key, label: row.title })),
|
|
11917
|
+
value: labeledValue,
|
|
11918
|
+
onChange: (next) => onLabeledChange?.(next)
|
|
11884
11919
|
}
|
|
11885
|
-
)
|
|
11920
|
+
),
|
|
11886
11921
|
type === "file-upload" && /* @__PURE__ */ jsxs("div", { className: "grid gap-3", children: [
|
|
11887
11922
|
/* @__PURE__ */ jsx(
|
|
11888
11923
|
FileUpload,
|
|
@@ -11893,12 +11928,24 @@ var Questions = forwardRef(function Questions2({
|
|
|
11893
11928
|
onFilesSelected
|
|
11894
11929
|
}
|
|
11895
11930
|
),
|
|
11896
|
-
files.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid gap-2", children: files.map((file) => /* @__PURE__ */ jsx(
|
|
11931
|
+
files.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid gap-2", children: files.map((file, fileIndex) => /* @__PURE__ */ jsx(
|
|
11897
11932
|
FileChip,
|
|
11898
11933
|
{
|
|
11899
11934
|
name: file.name,
|
|
11900
11935
|
meta: file.size ? formatBytes2(file.size) : void 0,
|
|
11901
|
-
kind: file.kind ?? "doc"
|
|
11936
|
+
kind: file.kind ?? "doc",
|
|
11937
|
+
action: onFileRemove ? /* @__PURE__ */ jsx(
|
|
11938
|
+
Button,
|
|
11939
|
+
{
|
|
11940
|
+
type: "button",
|
|
11941
|
+
variant: "ghost",
|
|
11942
|
+
size: "icon-sm",
|
|
11943
|
+
onClick: () => onFileRemove(file, fileIndex),
|
|
11944
|
+
"aria-label": `Remove ${file.name}`,
|
|
11945
|
+
className: "hover:text-danger-fg",
|
|
11946
|
+
children: /* @__PURE__ */ jsx(TrashIcon, { size: 14, "aria-hidden": "true" })
|
|
11947
|
+
}
|
|
11948
|
+
) : void 0
|
|
11902
11949
|
},
|
|
11903
11950
|
`${file.name}-${file.size ?? "unknown"}`
|
|
11904
11951
|
)) })
|
|
@@ -12138,6 +12185,115 @@ function NumberStepper({
|
|
|
12138
12185
|
}
|
|
12139
12186
|
);
|
|
12140
12187
|
}
|
|
12188
|
+
var DocumentRequestUpload = forwardRef(
|
|
12189
|
+
function DocumentRequestUpload2({
|
|
12190
|
+
label,
|
|
12191
|
+
description,
|
|
12192
|
+
required = false,
|
|
12193
|
+
help,
|
|
12194
|
+
files = [],
|
|
12195
|
+
onFilesSelected,
|
|
12196
|
+
onRemoveFile,
|
|
12197
|
+
accept,
|
|
12198
|
+
maxSize,
|
|
12199
|
+
multiple = true,
|
|
12200
|
+
disabled = false,
|
|
12201
|
+
disabledHint = "This request is locked \u2014 no more uploads.",
|
|
12202
|
+
chrome = "card",
|
|
12203
|
+
className,
|
|
12204
|
+
...props
|
|
12205
|
+
}, ref) {
|
|
12206
|
+
const isPlain = chrome === "plain";
|
|
12207
|
+
return /* @__PURE__ */ jsxs(
|
|
12208
|
+
"section",
|
|
12209
|
+
{
|
|
12210
|
+
ref,
|
|
12211
|
+
className: cn(
|
|
12212
|
+
"font-body",
|
|
12213
|
+
isPlain ? "bg-transparent" : "border-rule bg-surface shadow-card rounded-[18px] border p-5",
|
|
12214
|
+
className
|
|
12215
|
+
),
|
|
12216
|
+
...props,
|
|
12217
|
+
children: [
|
|
12218
|
+
/* @__PURE__ */ jsx("div", { className: "mb-4 flex items-start gap-3", children: /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
12219
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
12220
|
+
/* @__PURE__ */ jsx("h3", { className: "text-fg text-[14px] leading-5 font-bold", children: label }),
|
|
12221
|
+
help && /* @__PURE__ */ jsx(HelpTip2, { title: help.title ?? label, body: help.body }),
|
|
12222
|
+
required && /* @__PURE__ */ jsx("span", { className: "bg-brand-bg text-brand rounded-full px-2 py-0.5 text-[11px] font-bold", children: "Required" }),
|
|
12223
|
+
files.length > 0 && /* @__PURE__ */ jsxs("span", { className: "text-fg-3 text-[12px] font-semibold tabular-nums", children: [
|
|
12224
|
+
files.length,
|
|
12225
|
+
" ",
|
|
12226
|
+
files.length === 1 ? "file" : "files"
|
|
12227
|
+
] })
|
|
12228
|
+
] }),
|
|
12229
|
+
description && /* @__PURE__ */ jsx("p", { className: "text-fg-3 mt-1 text-[13px] leading-5", children: description })
|
|
12230
|
+
] }) }),
|
|
12231
|
+
/* @__PURE__ */ jsxs("div", { className: "grid gap-3", children: [
|
|
12232
|
+
disabled ? /* @__PURE__ */ jsxs("div", { className: "border-rule bg-surface-2 text-fg-3 flex items-center gap-2 rounded-[var(--radius-input)] border border-dashed px-3 py-3 text-[13px]", children: [
|
|
12233
|
+
/* @__PURE__ */ jsx(LockIcon, { size: 15, className: "shrink-0", "aria-hidden": "true" }),
|
|
12234
|
+
disabledHint
|
|
12235
|
+
] }) : /* @__PURE__ */ jsx(
|
|
12236
|
+
FileUpload,
|
|
12237
|
+
{
|
|
12238
|
+
accept,
|
|
12239
|
+
maxSize,
|
|
12240
|
+
multiple,
|
|
12241
|
+
onFilesSelected
|
|
12242
|
+
}
|
|
12243
|
+
),
|
|
12244
|
+
files.length > 0 && /* @__PURE__ */ jsx("ul", { className: "grid gap-2", children: files.map((file, fileIndex) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
12245
|
+
FileChip,
|
|
12246
|
+
{
|
|
12247
|
+
name: file.name,
|
|
12248
|
+
meta: file.meta ?? (file.size != null ? formatBytes3(file.size) : void 0),
|
|
12249
|
+
kind: file.kind ?? "doc",
|
|
12250
|
+
action: onRemoveFile && !disabled ? /* @__PURE__ */ jsx(
|
|
12251
|
+
Button,
|
|
12252
|
+
{
|
|
12253
|
+
type: "button",
|
|
12254
|
+
variant: "ghost",
|
|
12255
|
+
size: "icon-sm",
|
|
12256
|
+
onClick: () => onRemoveFile(file, fileIndex),
|
|
12257
|
+
"aria-label": `Remove ${file.name}`,
|
|
12258
|
+
className: "hover:text-danger-fg",
|
|
12259
|
+
children: /* @__PURE__ */ jsx(TrashIcon, { size: 14, "aria-hidden": "true" })
|
|
12260
|
+
}
|
|
12261
|
+
) : void 0
|
|
12262
|
+
}
|
|
12263
|
+
) }, file.id ?? `${file.name}-${file.size ?? "unknown"}`)) })
|
|
12264
|
+
] })
|
|
12265
|
+
]
|
|
12266
|
+
}
|
|
12267
|
+
);
|
|
12268
|
+
}
|
|
12269
|
+
);
|
|
12270
|
+
DocumentRequestUpload.displayName = "DocumentRequestUpload";
|
|
12271
|
+
function formatBytes3(bytes) {
|
|
12272
|
+
if (bytes < 1024) return `${bytes} B`;
|
|
12273
|
+
if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(1)} KB`;
|
|
12274
|
+
return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
|
|
12275
|
+
}
|
|
12276
|
+
function HelpTip2({ title, body }) {
|
|
12277
|
+
return /* @__PURE__ */ jsxs(Tooltip, { children: [
|
|
12278
|
+
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx("span", { className: "text-brand inline-flex shrink-0 cursor-help", children: /* @__PURE__ */ jsx(HelpCircleIcon, { size: 14, "aria-hidden": "true" }) }) }),
|
|
12279
|
+
/* @__PURE__ */ jsxs(
|
|
12280
|
+
TooltipContent,
|
|
12281
|
+
{
|
|
12282
|
+
side: "top",
|
|
12283
|
+
align: "center",
|
|
12284
|
+
sideOffset: 12,
|
|
12285
|
+
className: cn(
|
|
12286
|
+
"border-rule bg-surface shadow-pop relative max-w-[352px] rounded-[7px] p-5 text-left",
|
|
12287
|
+
"after:border-rule after:bg-surface after:absolute after:top-full after:left-1/2 after:size-4 after:-translate-x-1/2 after:-translate-y-1/2 after:rotate-45 after:border-r after:border-b after:content-['']"
|
|
12288
|
+
),
|
|
12289
|
+
children: [
|
|
12290
|
+
/* @__PURE__ */ jsx("div", { className: "text-fg text-[15px] leading-5 font-bold", children: title }),
|
|
12291
|
+
/* @__PURE__ */ jsx("p", { className: "text-fg-2 mt-3 text-[14px] leading-6", children: body })
|
|
12292
|
+
]
|
|
12293
|
+
}
|
|
12294
|
+
)
|
|
12295
|
+
] });
|
|
12296
|
+
}
|
|
12141
12297
|
function AiSpark({ size = 16, className }) {
|
|
12142
12298
|
const id = useId();
|
|
12143
12299
|
return /* @__PURE__ */ jsxs(
|
|
@@ -14139,7 +14295,14 @@ var SidebarBrandSwitcher = React38.forwardRef(
|
|
|
14139
14295
|
},
|
|
14140
14296
|
p.id
|
|
14141
14297
|
)),
|
|
14142
|
-
extras?.map((extra) => /* @__PURE__ */ jsx(
|
|
14298
|
+
extras?.map((extra) => /* @__PURE__ */ jsx(
|
|
14299
|
+
SidebarBrandSwitcherExtraRow,
|
|
14300
|
+
{
|
|
14301
|
+
extra,
|
|
14302
|
+
rowClassName
|
|
14303
|
+
},
|
|
14304
|
+
extra.id
|
|
14305
|
+
))
|
|
14143
14306
|
]
|
|
14144
14307
|
}
|
|
14145
14308
|
)
|
|
@@ -14246,20 +14409,26 @@ function SidebarBrandSwitcherOtherRow({
|
|
|
14246
14409
|
}
|
|
14247
14410
|
);
|
|
14248
14411
|
}
|
|
14249
|
-
function SidebarBrandSwitcherExtraRow({
|
|
14250
|
-
|
|
14412
|
+
function SidebarBrandSwitcherExtraRow({
|
|
14413
|
+
extra,
|
|
14414
|
+
rowClassName
|
|
14415
|
+
}) {
|
|
14416
|
+
return /* @__PURE__ */ jsx(
|
|
14251
14417
|
DropdownMenuItem,
|
|
14252
14418
|
{
|
|
14253
14419
|
onSelect: () => extra.onSelect(),
|
|
14254
14420
|
"data-item": extra.dataAttr ?? extra.id,
|
|
14255
|
-
className: "flex items-center gap-2.5 rounded-md px-2 py-1.5",
|
|
14256
|
-
children: [
|
|
14421
|
+
className: cn("flex items-center gap-2.5 rounded-md px-2 py-1.5", rowClassName),
|
|
14422
|
+
children: extra.identity ? /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
|
|
14423
|
+
extra.identity,
|
|
14424
|
+
extra.tagline && /* @__PURE__ */ jsx("span", { className: "text-fg-3 text-[11px] leading-tight", children: extra.tagline })
|
|
14425
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14257
14426
|
extra.glyph,
|
|
14258
14427
|
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
14259
14428
|
/* @__PURE__ */ jsx("span", { className: "text-fg text-[13px] font-medium", children: extra.name }),
|
|
14260
14429
|
extra.tagline && /* @__PURE__ */ jsx("span", { className: "text-fg-3 text-[11px]", children: extra.tagline })
|
|
14261
14430
|
] })
|
|
14262
|
-
]
|
|
14431
|
+
] })
|
|
14263
14432
|
}
|
|
14264
14433
|
);
|
|
14265
14434
|
}
|
|
@@ -17722,6 +17891,6 @@ var BrandScope = forwardRef(function BrandScope2({ product, children, ...props }
|
|
|
17722
17891
|
});
|
|
17723
17892
|
BrandScope.displayName = "BrandScope";
|
|
17724
17893
|
|
|
17725
|
-
export { AIReceiptPanel, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityEventItem, ActivityItem, ActivityList, AgreementPaneHeading, AgreementViewer, AiDraftCard, Alert, AlertCircleIcon, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlertTriangleIcon, AlertTriangleSolidIcon, AppHeader, AppHeaderActions, AppHeaderBreadcrumb, AppHeaderSearch, AppHeaderTitle, AreaChart, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowRightSmallIcon, ArrowUpIcon, AspectRatio, Assignee, AssureAuditBrandIcon, AssureBooksBrandIcon, AssureProBrandIcon, AssureTaxBrandIcon, AtSignIcon, AttachmentChip, AttentionItem, Avatar, BRAND_PRODUCTS, Badge, BarChartIcon, BellIcon, Blockquote, BoldIcon, BottomNav, BrandScope, BrandScopeProvider, Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, BriefcaseIcon, Building2Icon, BuildingIcon, BulkActionBar, BulkActionBarAction, BulkActionBarSeparator, Button, COUNTRY_CODES, Calendar, CalendarIcon, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CategoryDivider, CategoryTag, ChannelTabs, ChatBubbleIcon, CheckCircle2Icon, CheckCircleSolidIcon, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleDotIcon, CircleIcon, ClientRailGroupHeader, ClientRailItem, ClientSelect, ClipboardCheckIcon, ClockIcon, CloseIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, ComingSoon, CommandIcon, CommandPalette, ConfirmActionButton, Content16 as Content, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, CopyIcon, CornerDownLeftIcon, CountryFlag, CountrySelect, CreditCardIcon, DATE_DISPLAY_PLACEHOLDER, DangerAction, Dash, DashGrid, DataItem, DataTable, DataTableBody, DataTableCell, DataTableCellDue, DataTableCellId, DataTableCellMono, DataTableCellName, DataTableCheckbox, DataTableHead, DataTableHeader, DataTablePagination, DataTableResultsCount, DataTableRow, DataTableSearch, DataTableSpacer, DataTableToolbar, DataTableView, DatePicker, DateRangePicker, DetailGrid, DetailMain, DetailSpine, DetailSpineHeader, DetailSpineSection, DetailSpineStats, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DismissibleChip, DocumentDetailActions, DocumentDetailBody, DocumentDetailHeader, DocumentDetailMetaRow, DocumentDetailPanel, DocumentDetailRequester, DocumentDetailTitle, DocumentFileCard, DocumentFileRow, DocumentIcon, DocumentList, DocumentListSection, DocumentRequestCard, DocumentRequestDetail, DocumentRequestField, DocumentRow, DocumentSourceFilter, DocumentSourceTag, DocumentsWorkspaceLayout, DollarSignIcon, DonutChart, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmailMessageCard, EmptyState, EngagementCard, EngagementTimeline, EngagementTimelineStep, ExtractIcon, EyeIcon, EyeOffIcon, Eyebrow, FileChip, FileIcon, FileReturnIcon, FileTextIcon, FileTypeBadge, FileUpload, FilterChip, FilterIcon, FlagIcon, FolderClosedIcon, FolderOpenIcon, FolderPlusIcon, FolderTree, FolderUpIcon, FormError, FormSection, FormSuccess, GlobeIcon, GoogleBrandIcon, HelpCircleIcon, HistoryIcon, HomeIcon, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, IconAction, IconTile, InboxIcon, InfoCircleSolidIcon, InfoIcon, Input, IntentBadge, ItalicIcon, Kanban, KanbanCard, KanbanColumn, KanbanIcon, KbdHint, KeyIcon, KeyboardShortcutsDialog, KpiCard, Label4 as Label, LandmarkIcon, LayoutDashboardIcon, LayoutGridIcon, LayoutListIcon, LightningIcon, Link2Icon, LinkAction, LinkButton, LinkIcon, ListChecksIcon, ListIcon, ListOrderedIcon, LoaderIcon, LoadingRows, LockIcon, LockKeyholeIcon, LockOpenIcon, LogOutIcon, Logo, MailIcon, Main, MapPinIcon, MasterDetailLayout, MenuIcon, MessageBubble, MessageBubbleAction, MessageBubbleTombstone, MessageCircleIcon, MessageCircleWarningIcon, MessageComposer, MetadataGrid, MicrosoftBrandIcon, MinusIcon, MissingDocumentsPanel, MoneyCell, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoveIcon, MultiFilterPill, MultiSelectField, MutedSpec, NewMenu, NotificationFilter, NotificationItem, NotificationList, NotificationPanel, NotificationPanelFooter, NotificationPanelHeader, Numeric, OTPInput, PageHeader, PageHeaderSep, PageHeaderSpec, Pagination, PaletteIcon, PanelLeftCloseIcon, PanelLeftIcon, PaperclipIcon, PauseIcon, PdfPreview, PenSignIcon, PenToolIcon, PencilIcon, PhoneCountryInput, PhoneIcon, PhoneInput, PlayIcon, PlusIcon, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PrimaryAction, PriorityIcon, ProgressBar, ProgressRing, ProposalAddOn, ProposalBillingTerms, ProposalConsentGate, ProposalCustomPage, ProposalNote, ProposalPackageCard, ProposalPaymentCapture, ProposalPricingSummary, ProposalServiceRow, ProposalSignatureBlock, ProposalSignerList, QuestionnairePanel, Questions, RadioGroup3 as RadioGroup, RadioGroupItem, RankedBars, ReceiptIcon, ReplyIcon, ResponsiveDialog, RotateCcwIcon, RouteTransition, SERVICE_TONES, SaveIcon, ScrollArea, ScrollBar, SearchIcon, SearchInput, SearchSelect, SecondaryAction, Section, SectionHead, SectionHeader, SegmentedProgress, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableKpiCard, SendIcon, Separator4 as Separator, SettingsIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Shell, ShieldIcon, SideDrawer, Sidebar, SidebarBrand, SidebarBrandSwitcher, SidebarBrandSwitcherTile, SidebarBrandText, SidebarFooter, SidebarLink, SidebarLinkAction, SidebarLinkBadge, SidebarLinkGroup, SidebarLinkLabel, SidebarPinButton, SidebarProvider, SidebarSection, SidebarTrigger, SidebarUser, SignatureEditor, Skeleton, SkeletonCircle, SkeletonText, SlashIcon, Slider, SmartphoneIcon, SparkleIcon, SparklesIcon, Spinner, SpreadsheetPreview, StackedBarChart, StagePill, StarIcon, StarRating, Stat, StatusDot, StatusIcon, StatusPill, Stepper, StickyActionBar, StopIcon, StrikethroughIcon, SubmitButton, SuggestionPills, SuiteProgress, SunIcon, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableIcon, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagIcon, TagsCell, TeamIcon, TeamMemberSelect, Textarea, TimeLogger, TimeLoggerActions, TimeLoggerBillable, TimeLoggerContextRow, TimeLoggerEntry, TimeLoggerEntryList, TimeLoggerField, TimeLoggerFooter, TimeLoggerHeader, TimeLoggerNotes, TimeLoggerTimer, ToastProvider, ToggleGroup, ToggleGroupItem, Toolbar, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, Trash2Icon, TrashIcon, TrendingDownIcon, TrendingUpIcon, UnderlineIcon, UploadIcon, UserCircleIcon, UserIcon, UsersIcon, VisuallyHidden, WorkflowIcon, XCircleSolidIcon, XIcon, YEAR_DISPLAY_PLACEHOLDER, ZoomInIcon, ZoomOutIcon, alertVariants, applyMask, applyYearMask, attachmentChipVariants, badgeVariants, brandLabel, brandScope, buttonVariants, cardVariants, cn, colors, dateToIso, displayToIso, fileTypeBadgeVariants, fileTypeFromName, filterChipVariants, formatClock, formatCurrency, formatDuration, getFlagEmoji, iconTileVariants, inputVariants, isoToDate, isoToDisplay, isoToYear, labelVariants, parseDuration, parsePhoneForEditing, progressBarVariants, progressRingVariants, radii, reference, searchInputVariants, serviceToneLabel, serviceToneStyle, shadows, sidebarLinkBadgeVariants, spacing, spinnerVariants, starRatingVariants, statusDotVariants, suiteProgressFillVariants, surfaces, systemTokens, textareaVariants, typography, useBrandScope, useSidebarPeekLock, useSidebarState, useStopwatch, useToast, yearToIso };
|
|
17894
|
+
export { AIReceiptPanel, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityEventItem, ActivityItem, ActivityList, AgreementPaneHeading, AgreementViewer, AiDraftCard, Alert, AlertCircleIcon, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlertTriangleIcon, AlertTriangleSolidIcon, AppHeader, AppHeaderActions, AppHeaderBreadcrumb, AppHeaderSearch, AppHeaderTitle, AreaChart, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowRightSmallIcon, ArrowUpIcon, AspectRatio, Assignee, AssureAuditBrandIcon, AssureBooksBrandIcon, AssureProBrandIcon, AssureTaxBrandIcon, AtSignIcon, AttachmentChip, AttentionItem, Avatar, BRAND_PRODUCTS, Badge, BarChartIcon, BellIcon, Blockquote, BoldIcon, BottomNav, BrandScope, BrandScopeProvider, Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, BriefcaseIcon, Building2Icon, BuildingIcon, BulkActionBar, BulkActionBarAction, BulkActionBarSeparator, Button, COUNTRY_CODES, Calendar, CalendarIcon, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CategoryDivider, CategoryTag, ChannelTabs, ChatBubbleIcon, CheckCircle2Icon, CheckCircleSolidIcon, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleDotIcon, CircleIcon, ClientRailGroupHeader, ClientRailItem, ClientSelect, ClipboardCheckIcon, ClockIcon, CloseIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, ComingSoon, CommandIcon, CommandPalette, ConfirmActionButton, Content16 as Content, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, CopyIcon, CornerDownLeftIcon, CountryFlag, CountrySelect, CreditCardIcon, DATE_DISPLAY_PLACEHOLDER, DangerAction, Dash, DashGrid, DataItem, DataTable, DataTableBody, DataTableCell, DataTableCellDue, DataTableCellId, DataTableCellMono, DataTableCellName, DataTableCheckbox, DataTableHead, DataTableHeader, DataTablePagination, DataTableResultsCount, DataTableRow, DataTableSearch, DataTableSpacer, DataTableToolbar, DataTableView, DatePicker, DateRangePicker, DetailGrid, DetailMain, DetailSpine, DetailSpineHeader, DetailSpineSection, DetailSpineStats, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DismissibleChip, DocumentDetailActions, DocumentDetailBody, DocumentDetailHeader, DocumentDetailMetaRow, DocumentDetailPanel, DocumentDetailRequester, DocumentDetailTitle, DocumentFileCard, DocumentFileRow, DocumentIcon, DocumentList, DocumentListSection, DocumentRequestCard, DocumentRequestDetail, DocumentRequestField, DocumentRequestUpload, DocumentRow, DocumentSourceFilter, DocumentSourceTag, DocumentsWorkspaceLayout, DollarSignIcon, DonutChart, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmailMessageCard, EmptyState, EngagementCard, EngagementTimeline, EngagementTimelineStep, ExtractIcon, EyeIcon, EyeOffIcon, Eyebrow, FileChip, FileIcon, FileReturnIcon, FileTextIcon, FileTypeBadge, FileUpload, FilterChip, FilterIcon, FlagIcon, FolderClosedIcon, FolderOpenIcon, FolderPlusIcon, FolderTree, FolderUpIcon, FormError, FormSection, FormSuccess, GlobeIcon, GoogleBrandIcon, Grid, HelpCircleIcon, HistoryIcon, HomeIcon, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, IconAction, IconTile, InboxIcon, InfoCircleSolidIcon, InfoIcon, Input, IntentBadge, ItalicIcon, Kanban, KanbanCard, KanbanColumn, KanbanIcon, KbdHint, KeyIcon, KeyboardShortcutsDialog, KpiCard, Label4 as Label, LandmarkIcon, LayoutDashboardIcon, LayoutGridIcon, LayoutListIcon, LightningIcon, Link2Icon, LinkAction, LinkButton, LinkIcon, ListChecksIcon, ListIcon, ListOrderedIcon, LoaderIcon, LoadingRows, LockIcon, LockKeyholeIcon, LockOpenIcon, LogOutIcon, Logo, MailIcon, Main, MapPinIcon, MasterDetailLayout, MenuIcon, MessageBubble, MessageBubbleAction, MessageBubbleTombstone, MessageCircleIcon, MessageCircleWarningIcon, MessageComposer, MetadataGrid, MicrosoftBrandIcon, MinusIcon, MissingDocumentsPanel, MoneyCell, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoveIcon, MultiFilterPill, MultiSelectField, MutedSpec, NewMenu, NotificationFilter, NotificationItem, NotificationList, NotificationPanel, NotificationPanelFooter, NotificationPanelHeader, Numeric, OTPInput, PageHeader, PageHeaderSep, PageHeaderSpec, Pagination, PaletteIcon, PanelLeftCloseIcon, PanelLeftIcon, PaperclipIcon, PauseIcon, PdfPreview, PenSignIcon, PenToolIcon, PencilIcon, PhoneCountryInput, PhoneIcon, PhoneInput, PlayIcon, PlusIcon, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PrimaryAction, PriorityIcon, ProgressBar, ProgressRing, ProposalAddOn, ProposalBillingTerms, ProposalConsentGate, ProposalCustomPage, ProposalNote, ProposalPackageCard, ProposalPaymentCapture, ProposalPricingSummary, ProposalServiceRow, ProposalSignatureBlock, ProposalSignerList, QuestionnairePanel, Questions, RadioGroup3 as RadioGroup, RadioGroupItem, RankedBars, ReceiptIcon, ReplyIcon, ResponsiveDialog, RotateCcwIcon, RouteTransition, SERVICE_TONES, SaveIcon, ScrollArea, ScrollBar, SearchIcon, SearchInput, SearchSelect, SecondaryAction, Section, SectionHead, SectionHeader, SegmentedProgress, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableKpiCard, SendIcon, Separator4 as Separator, SettingsIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Shell, ShieldIcon, SideDrawer, Sidebar, SidebarBrand, SidebarBrandSwitcher, SidebarBrandSwitcherTile, SidebarBrandText, SidebarFooter, SidebarLink, SidebarLinkAction, SidebarLinkBadge, SidebarLinkGroup, SidebarLinkLabel, SidebarPinButton, SidebarProvider, SidebarSection, SidebarTrigger, SidebarUser, SignatureEditor, Skeleton, SkeletonCircle, SkeletonText, SlashIcon, Slider, SmartphoneIcon, SparkleIcon, SparklesIcon, Spinner, SpreadsheetPreview, StackedBarChart, StagePill, StarIcon, StarRating, Stat, StatusDot, StatusIcon, StatusPill, Stepper, StickyActionBar, StopIcon, StrikethroughIcon, SubmitButton, SuggestionPills, SuiteProgress, SunIcon, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableIcon, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagIcon, TagsCell, TeamIcon, TeamMemberSelect, Textarea, TimeLogger, TimeLoggerActions, TimeLoggerBillable, TimeLoggerContextRow, TimeLoggerEntry, TimeLoggerEntryList, TimeLoggerField, TimeLoggerFooter, TimeLoggerHeader, TimeLoggerNotes, TimeLoggerTimer, ToastProvider, ToggleGroup, ToggleGroupItem, Toolbar, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, Trash2Icon, TrashIcon, TrendingDownIcon, TrendingUpIcon, UnderlineIcon, UploadIcon, UserCircleIcon, UserIcon, UsersIcon, VisuallyHidden, WorkflowIcon, XCircleSolidIcon, XIcon, YEAR_DISPLAY_PLACEHOLDER, ZoomInIcon, ZoomOutIcon, alertVariants, applyMask, applyYearMask, attachmentChipVariants, badgeVariants, brandLabel, brandScope, buttonVariants, cardVariants, cn, colors, dateToIso, displayToIso, fileTypeBadgeVariants, fileTypeFromName, filterChipVariants, formatClock, formatCurrency, formatDuration, getFlagEmoji, iconTileVariants, inputVariants, isoToDate, isoToDisplay, isoToYear, labelVariants, parseDuration, parsePhoneForEditing, progressBarVariants, progressRingVariants, radii, reference, searchInputVariants, serviceToneLabel, serviceToneStyle, shadows, sidebarLinkBadgeVariants, spacing, spinnerVariants, starRatingVariants, statusDotVariants, suiteProgressFillVariants, surfaces, systemTokens, textareaVariants, typography, useBrandScope, useSidebarPeekLock, useSidebarState, useStopwatch, useToast, yearToIso };
|
|
17726
17895
|
//# sourceMappingURL=index.js.map
|
|
17727
17896
|
//# sourceMappingURL=index.js.map
|