@commenda/pathfinder 0.1.0 → 0.2.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/CHANGELOG.md +12 -0
- package/dist/components/accordion/AccordionSection.js +9 -3
- package/dist/components/address-input/AddressInput.js +1 -1
- package/dist/components/artifact-card/ArtifactCard.js +1 -1
- package/dist/components/artifact-panel/ArtifactPanel.js +81 -55
- package/dist/components/attachment/Attachment.d.ts +2 -6
- package/dist/components/attachment/Attachment.js +59 -36
- package/dist/components/attachment/AttachmentCard.d.ts +1 -1
- package/dist/components/attachment/AttachmentCard.js +56 -43
- package/dist/components/attachment/attachment-class-names.d.ts +1 -1
- package/dist/components/attachment/attachment-class-names.js +1 -1
- package/dist/components/attachment-group/AttachmentGroup.js +1 -1
- package/dist/components/avatar/avatar-helper.d.ts +1 -1
- package/dist/components/banner/Banner.js +5 -2
- package/dist/components/button/Button.js +1 -1
- package/dist/components/calendar/CalendarAgenda.js +1 -1
- package/dist/components/calendar/CalendarArtwork.js +16 -22
- package/dist/components/calendar/CalendarEventContent.js +2 -2
- package/dist/components/calendar/CalendarPopup.js +102 -82
- package/dist/components/calendar/CalendarToolbar.js +10 -10
- package/dist/components/card/Card.js +47 -41
- package/dist/components/checkbox/Checkbox.js +31 -13
- package/dist/components/choices/choice-motion.d.ts +12 -0
- package/dist/components/choices/choice-motion.js +22 -0
- package/dist/components/code-block/CodeBlock.js +3 -2
- package/dist/components/controls/control-class-names.d.ts +1 -0
- package/dist/components/controls/control-class-names.js +8 -8
- package/dist/components/controls/useHoverHighlight.d.ts +12 -0
- package/dist/components/controls/useHoverHighlight.js +51 -0
- package/dist/components/controls/useSelectionIndicator.d.ts +3 -4
- package/dist/components/controls/useSelectionIndicator.js +43 -28
- package/dist/components/data-grid/DataGrid.js +7 -7
- package/dist/components/data-grid/DataGridHeaders.js +1 -1
- package/dist/components/date-picker/DateCalendar.js +3 -3
- package/dist/components/date-picker/DatePicker.js +10 -10
- package/dist/components/date-picker/field/DateField.js +1 -1
- package/dist/components/description-list/DescriptionList.js +2 -2
- package/dist/components/dialog/ConfirmDialog.js +1 -1
- package/dist/components/dialog/Dialog.js +1 -1
- package/dist/components/distribution-bar/DistributionBar.js +45 -35
- package/dist/components/drag-handle/DragHandle.d.ts +1 -1
- package/dist/components/dropdown/Dropdown.js +27 -26
- package/dist/components/dropdown/MenuContent.js +100 -69
- package/dist/components/dropdown/dropdown-types.d.ts +1 -0
- package/dist/components/dropdown/menu-motion.d.ts +2 -0
- package/dist/components/dropdown/menu-motion.js +4 -0
- package/dist/components/feedback/FeedbackIcon.d.ts +2 -1
- package/dist/components/feedback/FeedbackIcon.js +4 -4
- package/dist/components/feedback/FeedbackSurface.d.ts +3 -3
- package/dist/components/feedback/FeedbackSurface.js +49 -21
- package/dist/components/fields/FieldAction.d.ts +1 -0
- package/dist/components/fields/FieldAction.js +2 -2
- package/dist/components/icon-button/IconButton.js +37 -37
- package/dist/components/icons/index.js +776 -776
- package/dist/components/inline-reference/InlineReference.js +1 -8
- package/dist/components/list/List.js +2 -2
- package/dist/components/list/ListGroup.js +35 -30
- package/dist/components/list/ListTask.js +1 -1
- package/dist/components/list/SettingRow.js +1 -1
- package/dist/components/markdown/Markdown.js +11 -10
- package/dist/components/markdown/MarkdownTable.d.ts +1 -1
- package/dist/components/markdown/MarkdownTable.js +71 -54
- package/dist/components/otp/OTP.js +44 -43
- package/dist/components/output-sections/OutputRow.js +2 -3
- package/dist/components/overlays/OverlayFrame.js +2 -2
- package/dist/components/overlays/overlay-class-names.d.ts +3 -3
- package/dist/components/overlays/overlay-class-names.js +1 -1
- package/dist/components/phone-input/CountryPicker.js +11 -8
- package/dist/components/popover/Popover.js +2 -2
- package/dist/components/question-card/QuestionOptions.js +3 -3
- package/dist/components/radio-group/RadioGroup.js +59 -50
- package/dist/components/search/Search.js +51 -47
- package/dist/components/segmented-control/SegmentedControl.js +7 -6
- package/dist/components/selection/ChoiceField.js +1 -1
- package/dist/components/selection/ChoiceList.js +2 -1
- package/dist/components/selection/SearchableChoice.js +129 -114
- package/dist/components/selection/SelectedTags.js +1 -1
- package/dist/components/selection/SimpleChoice.js +95 -77
- package/dist/components/selection/choice-styles.d.ts +2 -2
- package/dist/components/selection/choice-styles.js +1 -1
- package/dist/components/sheet/Sheet.js +7 -7
- package/dist/components/side-nav/SideNav.d.ts +2 -5
- package/dist/components/side-nav/SideNav.js +98 -56
- package/dist/components/side-nav/SideNavItemView.d.ts +1 -1
- package/dist/components/side-nav/SideNavItemView.js +83 -98
- package/dist/components/side-nav/index.d.ts +2 -0
- package/dist/components/side-nav/index.js +1 -1
- package/dist/components/split-button/SplitButton.js +3 -2
- package/dist/components/stepper/StepMarker.js +32 -28
- package/dist/components/stepper/Stepper.js +30 -22
- package/dist/components/suggested-prompt/SuggestedPrompt.js +1 -1
- package/dist/components/switch/Switch.d.ts +1 -1
- package/dist/components/switch/Switch.js +38 -28
- package/dist/components/table/Table.js +134 -110
- package/dist/components/table/TableColumnHeader.js +20 -2
- package/dist/components/table/TableColumnResize.js +1 -1
- package/dist/components/table/TableColumnsMenu.js +1 -0
- package/dist/components/table/TableFilterChip.js +1 -1
- package/dist/components/table/TableFilterEditor.js +6 -6
- package/dist/components/table/TableFilters.js +1 -0
- package/dist/components/table/TableOptionMenu.d.ts +1 -1
- package/dist/components/table/TableOptionMenu.js +16 -17
- package/dist/components/table/TablePagination.js +1 -0
- package/dist/components/table/TableSelectionBar.js +4 -1
- package/dist/components/table/index.js +6 -6
- package/dist/components/table/table-column-style.js +0 -1
- package/dist/components/table/table-types.d.ts +5 -0
- package/dist/components/table/useTableData.js +2 -2
- package/dist/components/tabs/Tabs.js +61 -53
- package/dist/components/tabs/tab-class-names.d.ts +1 -1
- package/dist/components/tabs/tab-class-names.js +1 -1
- package/dist/components/tabular/TableEditCell.js +3 -1
- package/dist/components/tabular/tabular-class-names.d.ts +1 -0
- package/dist/components/tabular/tabular-class-names.js +1 -0
- package/dist/components/tabular/useCellEdit.js +1 -1
- package/dist/components/tabular/useTabularPinning.js +7 -6
- package/dist/components/tag/Tag.js +1 -1
- package/dist/components/tag-input/TagInput.js +64 -53
- package/dist/components/tag-input/useTagMotion.d.ts +6 -0
- package/dist/components/tag-input/useTagMotion.js +36 -0
- package/dist/components/text-area/TextArea.js +2 -1
- package/dist/components/thread/ThreadReply.js +10 -7
- package/dist/components/tool-call/ToolCall.js +2 -2
- package/dist/components/tree/TreeItemView.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +37 -37
- package/dist/styles.css +1 -1
- package/package.json +5 -1
- package/dist/_virtual/_rolldown/runtime.js +0 -11
- package/dist/components/date-picker/date-values.d.ts +0 -23
- package/dist/components/date-picker/date-values.js +0 -52
- package/dist/components/table/TableHeaderPin.d.ts +0 -6
- package/dist/components/table/TableHeaderPin.js +0 -66
|
@@ -21,19 +21,12 @@ var o = ({ label: o, href: s, icon: c, previewConfig: l, onClick: u, className:
|
|
|
21
21
|
className: n(p, "pf:cursor-pointer pf:border-0 pf:bg-transparent pf:p-0 pf:text-start"),
|
|
22
22
|
children: m
|
|
23
23
|
});
|
|
24
|
-
return l ?
|
|
24
|
+
return l ? /* @__PURE__ */ i(e, {
|
|
25
25
|
mode: "preview",
|
|
26
26
|
trigger: h,
|
|
27
27
|
title: l.title ?? o,
|
|
28
28
|
loadingConfig: { isLoading: l.isLoading ?? !1 },
|
|
29
29
|
children: l.content
|
|
30
|
-
}) : /* @__PURE__ */ i(e, {
|
|
31
|
-
trigger: h,
|
|
32
|
-
title: l.title ?? o,
|
|
33
|
-
children: l.isLoading ? /* @__PURE__ */ i("span", {
|
|
34
|
-
role: "status",
|
|
35
|
-
children: "Loading preview…"
|
|
36
|
-
}) : l.content
|
|
37
30
|
}) : f || u ? h : /* @__PURE__ */ i("span", {
|
|
38
31
|
className: p,
|
|
39
32
|
children: m
|
|
@@ -69,7 +69,7 @@ function l({ label: l, items: u, selectedId: d, onSelectionChange: f, emptyConte
|
|
|
69
69
|
f?.(e.id), e.onAction?.();
|
|
70
70
|
};
|
|
71
71
|
return /* @__PURE__ */ c("li", {
|
|
72
|
-
className: a("pf:group pf:relative pf:min-w-0 pf:rounded-sm pf:hover:bg-soft-pearl-200", l && "pf:bg-soft-pearl-300 pf:hover:bg-soft-pearl-300"),
|
|
72
|
+
className: a("pf:group pf:relative pf:min-w-0 pf:rounded-sm pf:[@media(hover:hover)]:hover:bg-soft-pearl-200 pf:motion-safe:transition-colors pf:duration-120 pf:ease-out pf:focus-within:transition-none", l && "pf:bg-soft-pearl-300 pf:hover:bg-soft-pearl-300"),
|
|
73
73
|
children: [e.linkConfig ? /* @__PURE__ */ s(n, {
|
|
74
74
|
linkConfig: e.linkConfig,
|
|
75
75
|
"aria-label": e.title,
|
|
@@ -85,7 +85,7 @@ function l({ label: l, items: u, selectedId: d, onSelectionChange: f, emptyConte
|
|
|
85
85
|
onClick: m,
|
|
86
86
|
children: u
|
|
87
87
|
}), e.menuConfig && /* @__PURE__ */ s("span", {
|
|
88
|
-
className: "pf:absolute pf:top-sm pf:end-md pf:opacity-100 pf:[@media(hover:hover)]:opacity-0 pf:group-hover:opacity-100 pf:group-focus-within:opacity-100",
|
|
88
|
+
className: "pf:absolute pf:top-sm pf:end-md pf:opacity-100 pf:motion-safe:transition-opacity pf:duration-120 pf:ease-out pf:group-focus-within:transition-none pf:[@media(hover:hover)]:opacity-0 pf:group-hover:opacity-100 pf:group-focus-within:opacity-100",
|
|
89
89
|
children: /* @__PURE__ */ s(r, {
|
|
90
90
|
menu: e.menuConfig,
|
|
91
91
|
trigger: /* @__PURE__ */ s(t, {
|
|
@@ -6,20 +6,24 @@ import { PlusIcon as r } from "../icons/PlusIcon.js";
|
|
|
6
6
|
import i from "clsx";
|
|
7
7
|
import { useId as a, useState as o } from "react";
|
|
8
8
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
9
|
+
import { Collapsible as l } from "@base-ui/react/collapsible";
|
|
9
10
|
//#region src/components/list/ListGroup.tsx
|
|
10
|
-
function
|
|
11
|
-
let
|
|
12
|
-
return /* @__PURE__ */ c(
|
|
13
|
-
"
|
|
14
|
-
|
|
11
|
+
function u({ label: u, children: d, tone: f = "neutral", disclosureConfig: p, progressConfig: m, count: h, actionConfig: g, className: _ }) {
|
|
12
|
+
let [v, y] = o(!1), b = a(), [x, S] = o(p?.defaultValue ?? !0), C = p?.value ?? x;
|
|
13
|
+
return /* @__PURE__ */ c(l.Root, {
|
|
14
|
+
render: /* @__PURE__ */ s("section", {}),
|
|
15
|
+
open: C,
|
|
16
|
+
"data-motion": v ? "pointer" : void 0,
|
|
17
|
+
"aria-label": u,
|
|
18
|
+
className: i("pf:group/list-disclosure pf:min-w-0 pf:font-body", _),
|
|
15
19
|
children: [/* @__PURE__ */ c("div", {
|
|
16
|
-
className: i("pf:flex pf:items-center pf:gap-md pf:rounded-md pf:pe-lg",
|
|
20
|
+
className: i("pf:flex pf:items-center pf:gap-md pf:rounded-md pf:pe-lg", f === "current" ? "pf:bg-blue-100 pf:hover:bg-blue-200" : "pf:bg-soft-pearl-200 pf:hover:bg-soft-pearl-300"),
|
|
17
21
|
children: [/* @__PURE__ */ c("button", {
|
|
18
22
|
type: "button",
|
|
19
|
-
"aria-expanded":
|
|
20
|
-
"aria-controls":
|
|
21
|
-
onClick: () => {
|
|
22
|
-
y(!
|
|
23
|
+
"aria-expanded": C,
|
|
24
|
+
"aria-controls": b,
|
|
25
|
+
onClick: (e) => {
|
|
26
|
+
y(e.detail > 0), S(!C), p?.onValueChange?.(!C);
|
|
23
27
|
},
|
|
24
28
|
className: "pf:flex pf:flex-1 pf:min-w-0 pf:min-h-[36px] pf:items-center pf:flex-wrap pf:gap-sm pf:ps-lg pf:py-xs pf:border-0 pf:rounded-md pf:bg-transparent pf:text-start pf:text-label-13 pf:font-medium pf:text-soft-pearl-1000 pf:cursor-pointer pf:focus-visible:outline-2 pf:focus-visible:outline-blue-700",
|
|
25
29
|
children: [
|
|
@@ -27,46 +31,47 @@ function l({ label: l, children: u, tone: d = "neutral", disclosureConfig: f, pr
|
|
|
27
31
|
className: "pf:flex pf:size-[16px] pf:items-center pf:justify-center pf:shrink-0",
|
|
28
32
|
children: /* @__PURE__ */ s(n, {
|
|
29
33
|
size: 12,
|
|
30
|
-
className:
|
|
34
|
+
className: i("pf:transition-none pf:motion-safe:group-data-[motion=pointer]/list-disclosure:transition-transform pf:duration-180 pf:ease-[cubic-bezier(0.23,1,0.32,1)]", C ? "pf:rotate-90" : "pf:rtl:rotate-180")
|
|
31
35
|
})
|
|
32
36
|
}),
|
|
33
37
|
/* @__PURE__ */ s("span", {
|
|
34
|
-
title:
|
|
38
|
+
title: u,
|
|
35
39
|
className: "pf:min-w-0 pf:flex-1 pf:truncate",
|
|
36
|
-
children:
|
|
40
|
+
children: u
|
|
37
41
|
}),
|
|
38
|
-
|
|
42
|
+
m && /* @__PURE__ */ c("span", {
|
|
39
43
|
className: "pf:inline-flex pf:items-center pf:gap-xs pf:rounded-full pf:bg-background pf:inset-ring-[0.5px] pf:inset-ring-soft-pearl-300 pf:ps-sm pf:pe-lg pf:py-xs pf:text-label-12 pf:font-normal",
|
|
40
44
|
children: [
|
|
41
45
|
/* @__PURE__ */ s(t, {
|
|
42
|
-
label: `${
|
|
43
|
-
value:
|
|
44
|
-
max:
|
|
46
|
+
label: `${u} progress`,
|
|
47
|
+
value: m.done,
|
|
48
|
+
max: m.total,
|
|
45
49
|
"aria-hidden": "true"
|
|
46
50
|
}),
|
|
47
|
-
|
|
51
|
+
m.done,
|
|
48
52
|
" / ",
|
|
49
|
-
|
|
53
|
+
m.total
|
|
50
54
|
]
|
|
51
55
|
}),
|
|
52
|
-
|
|
56
|
+
h !== void 0 && /* @__PURE__ */ s("span", {
|
|
53
57
|
className: "pf:text-soft-pearl-800 pf:font-normal",
|
|
54
|
-
children:
|
|
58
|
+
children: h
|
|
55
59
|
})
|
|
56
60
|
]
|
|
57
|
-
}),
|
|
58
|
-
label:
|
|
61
|
+
}), g && /* @__PURE__ */ s(e, {
|
|
62
|
+
label: g.label,
|
|
59
63
|
size: "xs",
|
|
60
|
-
disabled:
|
|
61
|
-
onClick:
|
|
64
|
+
disabled: g.disabled,
|
|
65
|
+
onClick: g.onAction,
|
|
62
66
|
children: /* @__PURE__ */ s(r, { size: 16 })
|
|
63
67
|
})]
|
|
64
|
-
}), /* @__PURE__ */ s(
|
|
65
|
-
id:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
}), /* @__PURE__ */ s(l.Panel, {
|
|
69
|
+
id: b,
|
|
70
|
+
keepMounted: !0,
|
|
71
|
+
className: "pf:h-(--collapsible-panel-height) pf:overflow-hidden pf:data-starting-style:h-0 pf:data-ending-style:h-0 pf:transition-none pf:motion-safe:group-data-[motion=pointer]/list-disclosure:transition-[height] pf:duration-180 pf:ease-[cubic-bezier(0.23,1,0.32,1)]",
|
|
72
|
+
children: d
|
|
68
73
|
})]
|
|
69
74
|
});
|
|
70
75
|
}
|
|
71
76
|
//#endregion
|
|
72
|
-
export {
|
|
77
|
+
export { u as ListGroup };
|
|
@@ -6,7 +6,7 @@ import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
|
6
6
|
function i({ title: i, description: a, statusConfig: o, properties: s, onOpen: c, className: l }) {
|
|
7
7
|
let u = t("pf:m-0 pf:min-w-0 pf:wrap-anywhere pf:text-label-13 pf:font-medium", o.status === "completed" ? "pf:line-through pf:text-soft-pearl-800" : "pf:text-soft-pearl-1000");
|
|
8
8
|
return /* @__PURE__ */ r("div", {
|
|
9
|
-
className: t("pf:flex pf:items-start pf:gap-md pf:ps-lg pf:pe-md pf:py-lg pf:rounded-sm pf:min-w-0 pf:font-body pf:hover:bg-soft-pearl-200", l),
|
|
9
|
+
className: t("pf:flex pf:items-start pf:gap-md pf:ps-lg pf:pe-md pf:py-lg pf:rounded-sm pf:min-w-0 pf:font-body pf:[@media(hover:hover)]:hover:bg-soft-pearl-200 pf:motion-safe:transition-colors pf:duration-120 pf:ease-out pf:focus-within:transition-none", l),
|
|
10
10
|
children: [/* @__PURE__ */ n(e, {
|
|
11
11
|
...o,
|
|
12
12
|
size: 16
|
|
@@ -36,7 +36,7 @@ function a({ title: a, description: o, leading: s, badge: c, divided: l = !0, ac
|
|
|
36
36
|
return u ? /* @__PURE__ */ r("button", {
|
|
37
37
|
type: "button",
|
|
38
38
|
onClick: u.onAction,
|
|
39
|
-
className: t(p, "pf:cursor-pointer pf:hover:bg-soft-pearl-200 pf:focus-visible:outline-2 pf:focus-visible:outline-blue-700"),
|
|
39
|
+
className: t(p, "pf:cursor-pointer pf:[@media(hover:hover)]:hover:bg-soft-pearl-200 pf:motion-safe:transition-colors pf:duration-120 pf:ease-out pf:focus-within:transition-none pf:focus-visible:outline-2 pf:focus-visible:outline-blue-700"),
|
|
40
40
|
children: m
|
|
41
41
|
}) : /* @__PURE__ */ r("div", {
|
|
42
42
|
className: p,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Separator as e } from "../separator/Separator.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { safeHref as t } from "../inline-reference/safe-href.js";
|
|
4
|
+
import { CodeBlock as n } from "../code-block/CodeBlock.js";
|
|
5
5
|
import { InlineReference as r } from "../inline-reference/InlineReference.js";
|
|
6
6
|
import { inlineCodeClassNames as i, markdownClassNames as a } from "./markdown-class-names.js";
|
|
7
7
|
import { markdownElements as o } from "./markdown-elements.js";
|
|
@@ -15,9 +15,9 @@ var p = /* @__PURE__ */ l(function({ content: l, children: p, isStreaming: m, is
|
|
|
15
15
|
let x = m ?? h ?? !1, S = u(() => ({
|
|
16
16
|
...o,
|
|
17
17
|
p: ({ children: e }) => /* @__PURE__ */ d("p", { children: e }),
|
|
18
|
-
code: ({ children: e, className:
|
|
18
|
+
code: ({ children: e, className: t }) => /* @__PURE__ */ d(n, {
|
|
19
19
|
code: (typeof e == "string" ? e : "").replace(/\n$/, ""),
|
|
20
|
-
language: /language-(\S+)/.exec(
|
|
20
|
+
language: /language-(\S+)/.exec(t ?? "")?.[1] ?? "text",
|
|
21
21
|
showLineNumbers: v?.showLineNumbers
|
|
22
22
|
}),
|
|
23
23
|
inlineCode: ({ children: e }) => /* @__PURE__ */ d("code", {
|
|
@@ -26,14 +26,14 @@ var p = /* @__PURE__ */ l(function({ content: l, children: p, isStreaming: m, is
|
|
|
26
26
|
}),
|
|
27
27
|
table: s,
|
|
28
28
|
hr: () => /* @__PURE__ */ d(e, { className: "pf:my-xl" }),
|
|
29
|
-
a: ({ href: e, children:
|
|
30
|
-
let i =
|
|
31
|
-
if (!i) return /* @__PURE__ */ d("span", { children:
|
|
32
|
-
let a = _?.resolve(i, typeof
|
|
29
|
+
a: ({ href: e, children: n }) => {
|
|
30
|
+
let i = t(e);
|
|
31
|
+
if (!i) return /* @__PURE__ */ d("span", { children: n });
|
|
32
|
+
let a = _?.resolve(i, typeof n == "string" ? n : "");
|
|
33
33
|
return a ? /* @__PURE__ */ d(r, { ...a }) : /* @__PURE__ */ d("a", {
|
|
34
34
|
href: i,
|
|
35
35
|
rel: "noopener noreferrer",
|
|
36
|
-
children:
|
|
36
|
+
children: n
|
|
37
37
|
});
|
|
38
38
|
},
|
|
39
39
|
...g
|
|
@@ -51,12 +51,13 @@ var p = /* @__PURE__ */ l(function({ content: l, children: p, isStreaming: m, is
|
|
|
51
51
|
prefix: "pf",
|
|
52
52
|
mode: x ? "streaming" : "static",
|
|
53
53
|
isAnimating: x,
|
|
54
|
+
animated: !1,
|
|
54
55
|
parseIncompleteMarkdown: x,
|
|
55
56
|
components: S,
|
|
56
57
|
controls: !1,
|
|
57
58
|
linkSafety: { enabled: !1 },
|
|
58
59
|
skipHtml: !0,
|
|
59
|
-
urlTransform: (e) =>
|
|
60
|
+
urlTransform: (e) => t(e) ?? "",
|
|
60
61
|
children: l ?? p
|
|
61
62
|
})
|
|
62
63
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
/** MARKDOWN-TABLE-01: Figma620:31414.
|
|
2
|
+
/** MARKDOWN-TABLE-01: Figma620:31414. Shared read-only table with copy/export/fullscreen actions. */
|
|
3
3
|
export declare const MarkdownTable: ({ children }: {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,43 +4,76 @@ import { Copy06Icon as t } from "../icons/Copy06Icon.js";
|
|
|
4
4
|
import { Dropdown as n } from "../dropdown/Dropdown.js";
|
|
5
5
|
import { DotsHorizontalIcon as r } from "../icons/DotsHorizontalIcon.js";
|
|
6
6
|
import { Dialog as i } from "../dialog/Dialog.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { markdownElements as a } from "./markdown-elements.js";
|
|
8
|
+
import { Table as o } from "../table/Table.js";
|
|
9
|
+
import { Children as s, isValidElement as c, useRef as l, useState as u } from "react";
|
|
10
|
+
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
11
|
+
import { extractTableDataFromElement as p, tableDataToCSV as m, tableDataToMarkdown as h, tableDataToTSV as g } from "streamdown";
|
|
10
12
|
//#region src/components/markdown/MarkdownTable.tsx
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
function _(e) {
|
|
14
|
+
return s.toArray(e).flatMap((e) => c(e) ? e.type === "tr" || e.type === a.tr ? [s.toArray(e.props.children).flatMap((e) => c(e) ? [e.props] : [])] : _(e.props.children) : []);
|
|
15
|
+
}
|
|
16
|
+
function v(e) {
|
|
17
|
+
return s.toArray(e).map((e) => c(e) ? v(e.props.children) : typeof e == "string" || typeof e == "number" ? String(e) : "").join("");
|
|
18
|
+
}
|
|
19
|
+
var y = ({ children: a }) => {
|
|
20
|
+
let s = l(null), [c, y] = u(!1), [b, x] = u(""), S = () => {
|
|
21
|
+
let e = s.current?.querySelector("table");
|
|
22
|
+
return e ? p(e) : {
|
|
23
|
+
headers: [],
|
|
24
|
+
rows: []
|
|
25
|
+
};
|
|
26
|
+
}, C = async () => {
|
|
16
27
|
try {
|
|
17
|
-
await navigator.clipboard.writeText(
|
|
28
|
+
await navigator.clipboard.writeText(g(S())), x("Table copied");
|
|
18
29
|
} catch {
|
|
19
|
-
|
|
30
|
+
x("Could not copy table. Try again.");
|
|
20
31
|
}
|
|
21
|
-
},
|
|
22
|
-
let t = e === "csv" ?
|
|
32
|
+
}, w = (e) => {
|
|
33
|
+
let t = e === "csv" ? m(S()) : h(S()), n = URL.createObjectURL(new Blob([t], { type: e === "csv" ? "text/csv;charset=utf-8" : "text/markdown;charset=utf-8" })), r = document.createElement("a");
|
|
23
34
|
r.href = n, r.download = `table.${e === "csv" ? "csv" : "md"}`, r.click(), setTimeout(() => {
|
|
24
35
|
URL.revokeObjectURL(n);
|
|
25
36
|
}, 1e3);
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
|
|
37
|
+
}, [T = [], ...E] = _(a), D = E.map((e, t) => ({
|
|
38
|
+
id: String(t),
|
|
39
|
+
cells: e
|
|
40
|
+
})), O = T.map((e, t) => ({
|
|
41
|
+
id: String(t),
|
|
42
|
+
header: v(e.children),
|
|
43
|
+
align: e.style?.textAlign === "right" ? "end" : e.style?.textAlign === "center" ? "center" : "start",
|
|
44
|
+
cell: (e) => e.cells[t]?.children,
|
|
45
|
+
value: (e) => v(e.cells[t]?.children)
|
|
46
|
+
})), k = O.length ? /* @__PURE__ */ d(o, {
|
|
47
|
+
label: "Markdown table",
|
|
48
|
+
rows: D,
|
|
49
|
+
columns: O,
|
|
50
|
+
rowConfig: {
|
|
51
|
+
getId: (e) => e.id,
|
|
52
|
+
getLabel: (e) => v(e.cells[0]?.children)
|
|
53
|
+
},
|
|
54
|
+
controlsConfig: {
|
|
55
|
+
toolbar: !1,
|
|
56
|
+
pagination: !1
|
|
57
|
+
},
|
|
58
|
+
container: "flat"
|
|
59
|
+
}) : null;
|
|
60
|
+
return /* @__PURE__ */ f("div", {
|
|
61
|
+
className: "pf:my-lg pf:min-w-0 pf:rounded-xl pf:border-[0.5px] pf:border-solid pf:border-soft-pearl-300 pf:bg-background pf:overflow-hidden",
|
|
29
62
|
children: [
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
className: "pf:
|
|
32
|
-
children: [/* @__PURE__ */
|
|
33
|
-
size: "
|
|
63
|
+
/* @__PURE__ */ f("div", {
|
|
64
|
+
className: "pf:flex pf:items-center pf:justify-end pf:gap-xs pf:px-md pf:py-xs pf:bg-soft-pearl-100 pf:border-b-[0.5px] pf:border-soft-pearl-300",
|
|
65
|
+
children: [/* @__PURE__ */ d(e, {
|
|
66
|
+
size: "sm",
|
|
34
67
|
label: "Copy table",
|
|
35
68
|
onClick: () => {
|
|
36
|
-
|
|
69
|
+
C().catch(() => void 0);
|
|
37
70
|
},
|
|
38
|
-
children: /* @__PURE__ */
|
|
39
|
-
}), /* @__PURE__ */
|
|
40
|
-
trigger: /* @__PURE__ */
|
|
41
|
-
size: "
|
|
71
|
+
children: /* @__PURE__ */ d(t, {})
|
|
72
|
+
}), /* @__PURE__ */ d(n, {
|
|
73
|
+
trigger: /* @__PURE__ */ d(e, {
|
|
74
|
+
size: "sm",
|
|
42
75
|
label: "More table actions",
|
|
43
|
-
children: /* @__PURE__ */
|
|
76
|
+
children: /* @__PURE__ */ d(r, {})
|
|
44
77
|
}),
|
|
45
78
|
menu: { groups: [{
|
|
46
79
|
id: "table",
|
|
@@ -50,7 +83,7 @@ var p = ({ children: p }) => {
|
|
|
50
83
|
type: "action",
|
|
51
84
|
label: "View full screen",
|
|
52
85
|
onClick: () => {
|
|
53
|
-
|
|
86
|
+
y(!0);
|
|
54
87
|
}
|
|
55
88
|
},
|
|
56
89
|
{
|
|
@@ -58,7 +91,7 @@ var p = ({ children: p }) => {
|
|
|
58
91
|
type: "action",
|
|
59
92
|
label: "Download CSV",
|
|
60
93
|
onClick: () => {
|
|
61
|
-
|
|
94
|
+
w("csv");
|
|
62
95
|
}
|
|
63
96
|
},
|
|
64
97
|
{
|
|
@@ -66,48 +99,32 @@ var p = ({ children: p }) => {
|
|
|
66
99
|
type: "action",
|
|
67
100
|
label: "Download Markdown",
|
|
68
101
|
onClick: () => {
|
|
69
|
-
|
|
102
|
+
w("markdown");
|
|
70
103
|
}
|
|
71
104
|
}
|
|
72
105
|
]
|
|
73
106
|
}] }
|
|
74
107
|
})]
|
|
75
108
|
}),
|
|
76
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ d("span", {
|
|
77
110
|
role: "status",
|
|
78
111
|
className: "pf:sr-only",
|
|
79
|
-
children:
|
|
112
|
+
children: b
|
|
80
113
|
}),
|
|
81
|
-
/* @__PURE__ */
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
tabIndex: 0,
|
|
85
|
-
className: C,
|
|
86
|
-
children: /* @__PURE__ */ s("table", {
|
|
87
|
-
ref: m,
|
|
88
|
-
className: S,
|
|
89
|
-
children: p
|
|
90
|
-
})
|
|
114
|
+
/* @__PURE__ */ d("div", {
|
|
115
|
+
ref: s,
|
|
116
|
+
children: k
|
|
91
117
|
}),
|
|
92
|
-
/* @__PURE__ */
|
|
93
|
-
open:
|
|
94
|
-
onOpenChange:
|
|
118
|
+
/* @__PURE__ */ d(i, {
|
|
119
|
+
open: c,
|
|
120
|
+
onOpenChange: y,
|
|
95
121
|
title: "Table",
|
|
96
122
|
size: "xl",
|
|
97
123
|
className: "pf:w-[calc(100vw-32px)] pf:h-[calc(100dvh-32px)]",
|
|
98
|
-
children:
|
|
99
|
-
role: "region",
|
|
100
|
-
"aria-label": "Expanded Markdown table",
|
|
101
|
-
tabIndex: 0,
|
|
102
|
-
className: C,
|
|
103
|
-
children: /* @__PURE__ */ s("table", {
|
|
104
|
-
className: S,
|
|
105
|
-
children: p
|
|
106
|
-
})
|
|
107
|
-
})
|
|
124
|
+
children: k
|
|
108
125
|
})
|
|
109
126
|
]
|
|
110
127
|
});
|
|
111
128
|
};
|
|
112
129
|
//#endregion
|
|
113
|
-
export {
|
|
130
|
+
export { y as MarkdownTable };
|
|
@@ -1,65 +1,66 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import r from "
|
|
5
|
-
import
|
|
6
|
-
import { Fragment as
|
|
7
|
-
import {
|
|
2
|
+
import { ControlSpinner as e } from "../controls/ControlSpinner.js";
|
|
3
|
+
import { FieldFrame as t, fieldShellClass as n } from "../fields/FieldFrame.js";
|
|
4
|
+
import { useTextField as r } from "../fields/useTextField.js";
|
|
5
|
+
import i from "clsx";
|
|
6
|
+
import { Fragment as a, forwardRef as o } from "react";
|
|
7
|
+
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
|
+
import { OTPInput as u, REGEXP_ONLY_DIGITS as d } from "input-otp";
|
|
8
9
|
//#region src/components/otp/OTP.tsx
|
|
9
|
-
var
|
|
10
|
-
let
|
|
11
|
-
if (
|
|
12
|
-
let
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
field:
|
|
15
|
-
id:
|
|
16
|
-
supportId:
|
|
17
|
-
error:
|
|
18
|
-
className:
|
|
19
|
-
children: [/* @__PURE__ */
|
|
10
|
+
var f = o(function(o, f) {
|
|
11
|
+
let p = r(o), { length: m = 6, groupConfig: h, loadingConfig: g, onComplete: _, label: v, hideLabel: y, labelConfig: b, description: x, errorConfig: S, sourceConfig: C, disableConfig: w, value: T, defaultValue: E, onValueChange: D, className: O, onBlur: k, readOnly: A, ...j } = o, M = h?.sizes ?? (m === 6 ? [3, 3] : [m]);
|
|
12
|
+
if (M.some((e) => !Number.isInteger(e) || e < 1) || M.reduce((e, t) => e + t, 0) !== m) throw Error("OTP group sizes must be positive integers summing to length.");
|
|
13
|
+
let N = new Set(M.slice(0, -1).map((e, t) => M.slice(0, t + 1).reduce((e, t) => e + t, 0)));
|
|
14
|
+
return /* @__PURE__ */ l(t, {
|
|
15
|
+
field: o,
|
|
16
|
+
id: p.id,
|
|
17
|
+
supportId: p.supportId,
|
|
18
|
+
error: p.error,
|
|
19
|
+
className: O,
|
|
20
|
+
children: [/* @__PURE__ */ c("div", {
|
|
20
21
|
className: "pf:min-w-0 pf:overflow-x-auto pf:p-xxs",
|
|
21
|
-
children: /* @__PURE__ */
|
|
22
|
-
...
|
|
23
|
-
id:
|
|
24
|
-
value:
|
|
25
|
-
maxLength:
|
|
26
|
-
minLength:
|
|
27
|
-
pattern:
|
|
22
|
+
children: /* @__PURE__ */ c(u, {
|
|
23
|
+
...j,
|
|
24
|
+
id: p.id,
|
|
25
|
+
value: p.value,
|
|
26
|
+
maxLength: m,
|
|
27
|
+
minLength: m,
|
|
28
|
+
pattern: d,
|
|
28
29
|
inputMode: "numeric",
|
|
29
30
|
autoComplete: "one-time-code",
|
|
30
|
-
disabled:
|
|
31
|
-
readOnly:
|
|
32
|
-
"aria-busy":
|
|
33
|
-
"aria-invalid":
|
|
34
|
-
"aria-describedby":
|
|
31
|
+
disabled: w?.isDisabled,
|
|
32
|
+
readOnly: A || g?.isLoading,
|
|
33
|
+
"aria-busy": g?.isLoading,
|
|
34
|
+
"aria-invalid": p.error ? !0 : j["aria-invalid"],
|
|
35
|
+
"aria-describedby": p.describedBy,
|
|
35
36
|
ref: (e) => {
|
|
36
|
-
|
|
37
|
+
p.controlRef.current = e, typeof f == "function" ? f(e) : f && (f.current = e);
|
|
37
38
|
},
|
|
38
39
|
onBlur: (e) => {
|
|
39
|
-
|
|
40
|
+
p.blur(), k?.(e);
|
|
40
41
|
},
|
|
41
42
|
onChange: (e) => {
|
|
42
|
-
|
|
43
|
+
A || g?.isLoading || w?.isDisabled || (p.change(e), e.length === m && e !== p.value && _?.(e));
|
|
43
44
|
},
|
|
44
45
|
containerClassName: "pf:flex pf:w-fit pf:gap-sm pf:items-center",
|
|
45
|
-
render: ({ slots: e }) => /* @__PURE__ */ s
|
|
46
|
+
render: ({ slots: e }) => /* @__PURE__ */ c(s, { children: e.map((e, t) => /* @__PURE__ */ l(a, { children: [N.has(t) && /* @__PURE__ */ c("span", {
|
|
46
47
|
"aria-hidden": "true",
|
|
47
48
|
className: "pf:text-soft-pearl-800",
|
|
48
49
|
children: "–"
|
|
49
|
-
}), /* @__PURE__ */
|
|
50
|
+
}), /* @__PURE__ */ c("span", {
|
|
50
51
|
"aria-hidden": "true",
|
|
51
|
-
"data-invalid":
|
|
52
|
-
"data-disabled":
|
|
53
|
-
className:
|
|
54
|
-
children: e.char ?? (e.hasFakeCaret ? /* @__PURE__ */
|
|
55
|
-
})] },
|
|
52
|
+
"data-invalid": p.error ? "" : void 0,
|
|
53
|
+
"data-disabled": w?.isDisabled ? "" : void 0,
|
|
54
|
+
className: i(n, "pf:border-soft-pearl-500 pf:size-[36px] pf:shrink-0 pf:justify-center pf:text-label-15 pf:font-medium", e.isActive && "pf:border-blue-700 pf:shadow-[0_0_0_2px_var(--pf-color-blue-200)]"),
|
|
55
|
+
children: e.char ?? (e.hasFakeCaret && !g?.isLoading ? /* @__PURE__ */ c("span", { className: "pf:h-[16px] pf:w-px pf:bg-soft-pearl-1000 pf:motion-safe:animate-[pf-otp-caret_1s_step-end_infinite]" }) : null)
|
|
56
|
+
})] }, t)) })
|
|
56
57
|
})
|
|
57
|
-
}),
|
|
58
|
+
}), g?.isLoading && /* @__PURE__ */ l("span", {
|
|
58
59
|
role: "status",
|
|
59
|
-
className: "pf:text-copy-12 pf:text-soft-pearl-800",
|
|
60
|
-
children:
|
|
60
|
+
className: "pf:flex pf:items-center pf:gap-sm pf:text-copy-12 pf:text-soft-pearl-800",
|
|
61
|
+
children: [/* @__PURE__ */ c(e, { size: 16 }), g.label ?? "Verifying code…"]
|
|
61
62
|
})]
|
|
62
63
|
});
|
|
63
64
|
});
|
|
64
65
|
//#endregion
|
|
65
|
-
export {
|
|
66
|
+
export { f as OTP };
|
|
@@ -19,8 +19,7 @@ var c = ({ id: c, title: l, dateTime: u, leading: d, meta: f, label: p, selected
|
|
|
19
19
|
"aria-current": m || void 0,
|
|
20
20
|
disabled: h,
|
|
21
21
|
onClick: g,
|
|
22
|
-
|
|
23
|
-
className: i("pf:box-border pf:flex pf:h-full pf:w-full pf:min-w-0 pf:items-center pf:gap-md pf:rounded-sm pf:border-0 pf:bg-transparent pf:px-md pf:text-start pf:font-body pf:text-label-13 pf:text-inherit pf:cursor-pointer pf:hover:text-soft-pearl-1000 pf:disabled:cursor-not-allowed pf:disabled:opacity-50", _ && "pf:pr-[36px] pf:[@media(hover:hover)]:pr-md pf:[@media(hover:hover)]:group-hover:pr-[36px] pf:group-focus-within:pr-[36px]", v && "pf:pr-[36px]!", e),
|
|
22
|
+
className: i("pf:box-border pf:flex pf:h-full pf:w-full pf:min-w-0 pf:items-center pf:gap-md pf:rounded-sm pf:border-0 pf:bg-transparent pf:px-md pf:text-start pf:font-body pf:text-label-13 pf:text-inherit pf:cursor-pointer pf:hover:text-soft-pearl-1000 pf:disabled:cursor-not-allowed pf:disabled:opacity-50", _ && "pf:pe-[36px] pf:[@media(hover:hover)]:pe-md pf:[@media(hover:hover)]:group-hover:pr-[36px] pf:group-focus-within:pr-[36px]", v && "pf:pe-[36px]!", e),
|
|
24
23
|
children: [
|
|
25
24
|
/* @__PURE__ */ o("span", {
|
|
26
25
|
"aria-hidden": "true",
|
|
@@ -40,7 +39,7 @@ var c = ({ id: c, title: l, dateTime: u, leading: d, meta: f, label: p, selected
|
|
|
40
39
|
})
|
|
41
40
|
]
|
|
42
41
|
}), _ && /* @__PURE__ */ o("div", {
|
|
43
|
-
className: "pf:absolute pf:
|
|
42
|
+
className: "pf:absolute pf:end-xs pf:top-1/2 pf:-translate-y-1/2 pf:[@media(hover:hover)]:opacity-0 pf:group-hover:opacity-100 pf:group-focus-within:opacity-100 pf:has-[[aria-expanded=true]]:opacity-100",
|
|
44
43
|
children: /* @__PURE__ */ o(n, {
|
|
45
44
|
open: v,
|
|
46
45
|
onOpenChange: y,
|
|
@@ -19,9 +19,9 @@ function u({ heading: u, description: d, children: f, footerConfig: p, onClose:
|
|
|
19
19
|
};
|
|
20
20
|
}, []), /* @__PURE__ */ l(n, { children: [
|
|
21
21
|
/* @__PURE__ */ l("header", {
|
|
22
|
-
className: i("pf:flex pf:shrink-0 pf:items-
|
|
22
|
+
className: i("pf:flex pf:shrink-0 pf:items-center pf:gap-lg pf:border-0 pf:border-b-[0.5px] pf:border-solid", w ? "pf:border-soft-pearl-300" : "pf:border-transparent", y ? "pf:ps-xl pf:pe-md pf:pt-lg pf:pb-xs" : b ? "pf:ps-3xl pf:pe-xl pf:pt-lg pf:pb-xl" : "pf:ps-3xl pf:pe-xl pf:pt-2xl pf:pb-xl"),
|
|
23
23
|
children: [/* @__PURE__ */ l("div", {
|
|
24
|
-
className:
|
|
24
|
+
className: "pf:min-w-0 pf:flex-1",
|
|
25
25
|
children: [u, d]
|
|
26
26
|
}), !x && v?.visible !== !1 && /* @__PURE__ */ c(e, {
|
|
27
27
|
label: v?.label ?? "Close",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const overlaySurfaceClassNames = "pf:box-border pf:flex pf:flex-col pf:min-h-0 pf:min-w-0 pf:overflow-hidden pf:border-[0.5px] pf:border-solid pf:border-soft-pearl-300 pf:bg-background pf:rounded-[12px] pf:shadow-modal pf:font-body pf:text-copy-13 pf:text-soft-pearl-1000 pf:outline-none";
|
|
2
|
-
export declare const overlayBackdropClassNames = "pf:fixed pf:inset-0 pf:z-40 pf:bg-soft-pearl-1000/10 pf:transition-opacity pf:duration-
|
|
3
|
-
/** Dialog: fade
|
|
2
|
+
export declare const overlayBackdropClassNames = "pf:fixed pf:inset-0 pf:z-40 pf:bg-soft-pearl-1000/10 pf:transition-opacity pf:duration-180 pf:data-[ending-style]:duration-120 pf:ease-[cubic-bezier(0.23,1,0.32,1)] pf:motion-reduce:transition-none pf:data-[starting-style]:opacity-0 pf:data-[ending-style]:opacity-0";
|
|
3
|
+
/** Dialog: centered fade and restrained scale; exit is shorter than entry.
|
|
4
4
|
* Use one transform: Tailwind v4 scale/translate utilities do not transition via the transform property.
|
|
5
5
|
*/
|
|
6
|
-
export declare const dialogMotionClassNames = "pf:transition-[opacity,transform] pf:duration-
|
|
6
|
+
export declare const dialogMotionClassNames = "pf:transition-[opacity,transform] pf:duration-180 pf:data-[ending-style]:duration-120 pf:ease-[cubic-bezier(0.23,1,0.32,1)] pf:motion-reduce:transition-none pf:data-[starting-style]:opacity-0 pf:data-[ending-style]:opacity-0 pf:motion-safe:data-[starting-style]:[transform:scale(0.98)] pf:motion-safe:data-[ending-style]:[transform:scale(0.98)]";
|
|
7
7
|
export declare const overlayTitleClassNames = "pf:m-0 pf:text-heading-15 pf:font-semibold pf:wrap-anywhere";
|
|
8
8
|
export declare const overlayDescriptionClassNames = "pf:m-0 pf:mt-xs pf:text-copy-13 pf:text-soft-pearl-900 pf:wrap-anywhere";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
//#region src/components/overlays/overlay-class-names.ts
|
|
2
|
-
var e = "pf:box-border pf:flex pf:flex-col pf:min-h-0 pf:min-w-0 pf:overflow-hidden pf:border-[0.5px] pf:border-solid pf:border-soft-pearl-300 pf:bg-background pf:rounded-[12px] pf:shadow-modal pf:font-body pf:text-copy-13 pf:text-soft-pearl-1000 pf:outline-none", t = "pf:fixed pf:inset-0 pf:z-40 pf:bg-soft-pearl-1000/10 pf:transition-opacity pf:duration-
|
|
2
|
+
var e = "pf:box-border pf:flex pf:flex-col pf:min-h-0 pf:min-w-0 pf:overflow-hidden pf:border-[0.5px] pf:border-solid pf:border-soft-pearl-300 pf:bg-background pf:rounded-[12px] pf:shadow-modal pf:font-body pf:text-copy-13 pf:text-soft-pearl-1000 pf:outline-none", t = "pf:fixed pf:inset-0 pf:z-40 pf:bg-soft-pearl-1000/10 pf:transition-opacity pf:duration-180 pf:data-[ending-style]:duration-120 pf:ease-[cubic-bezier(0.23,1,0.32,1)] pf:motion-reduce:transition-none pf:data-[starting-style]:opacity-0 pf:data-[ending-style]:opacity-0", n = "pf:transition-[opacity,transform] pf:duration-180 pf:data-[ending-style]:duration-120 pf:ease-[cubic-bezier(0.23,1,0.32,1)] pf:motion-reduce:transition-none pf:data-[starting-style]:opacity-0 pf:data-[ending-style]:opacity-0 pf:motion-safe:data-[starting-style]:[transform:scale(0.98)] pf:motion-safe:data-[ending-style]:[transform:scale(0.98)]", r = "pf:m-0 pf:text-heading-15 pf:font-semibold pf:wrap-anywhere", i = "pf:m-0 pf:mt-xs pf:text-copy-13 pf:text-soft-pearl-900 pf:wrap-anywhere";
|
|
3
3
|
//#endregion
|
|
4
4
|
export { n as dialogMotionClassNames, t as overlayBackdropClassNames, i as overlayDescriptionClassNames, e as overlaySurfaceClassNames, r as overlayTitleClassNames };
|