@mechane-ai/elements 0.21.0 → 0.22.1
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/ai.js +130 -114
- package/dist/{categorical-values-DG0kzYxN.js → categorical-values-B_Z-X-tI.js} +2 -2
- package/dist/{chart-frame-DxAZ0h_q.js → chart-frame-CT_mfkYD.js} +1 -1
- package/dist/{chart-input-Dru0GScv.js → chart-input-C78Vq8ON.js} +2 -2
- package/dist/charts/cartesian.js +6 -6
- package/dist/charts/distribution.js +2 -2
- package/dist/charts/graph.js +2 -2
- package/dist/charts/hierarchy.js +3 -3
- package/dist/charts/matrix.js +2 -2
- package/dist/charts/timeline.js +2 -2
- package/dist/charts.js +1 -1
- package/dist/{code-block-DlUwVaPP.js → code-block-C3wqGP_q.js} +1 -1
- package/dist/collections.js +3 -3
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +2 -2
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +8 -8
- package/dist/content/tree.js +2 -2
- package/dist/{content-link-BIMrgXbz.js → content-link-Dc-pl2ee.js} +1 -1
- package/dist/content.js +3 -3
- package/dist/elements.css +4 -10
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +1 -1
- package/dist/forms.js +1 -1
- package/dist/foundations.css +7 -0
- package/dist/index.js +1 -1
- package/dist/layout.js +1 -1
- package/dist/navigation/commands.js +1 -1
- package/dist/packages/ai/src/conversation.d.ts +2 -1
- package/dist/packages/core/src/disclosure.d.ts +4 -2
- package/dist/{pierre-tree-D3XsgEH6.js → pierre-tree-Ba80jL2Z.js} +2 -2
- package/dist/{src-D4zPPr32.js → src-CWA2Tigm.js} +1 -1
- package/dist/{src-0mocxTaR.js → src-D3AGX7uZ.js} +1 -1
- package/dist/{src-qU5Z5LRH.js → src-F1zdubkU.js} +121 -55
- package/package.json +1 -1
- package/styles.css +1 -1
package/dist/charts.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as ChartFrame, i as ChartLegend } from "./chart-frame-
|
|
1
|
+
export { r as ChartFrame, i as ChartLegend } from "./chart-frame-CT_mfkYD.js";
|
package/dist/collections.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as e, c as t, f as n, g as r, w as i } from "./src-
|
|
2
|
-
import { r as a } from "./src-
|
|
1
|
+
import { C as e, c as t, f as n, g as r, w as i } from "./src-F1zdubkU.js";
|
|
2
|
+
import { r as a } from "./src-CWA2Tigm.js";
|
|
3
3
|
import { r as o, t as s } from "./src-d7EAi61b.js";
|
|
4
|
-
import { d as c } from "./src-
|
|
4
|
+
import { d as c } from "./src-D3AGX7uZ.js";
|
|
5
5
|
import { t as l } from "./accessibility-C-aIZ1Yx.js";
|
|
6
6
|
import { l as u, t as d } from "./constants.stylex-BILvnwUk.js";
|
|
7
7
|
import { t as ee } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
package/dist/content/code.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as CodeBlock } from "../code-block-
|
|
1
|
+
export { t as CodeBlock } from "../code-block-C3wqGP_q.js";
|
package/dist/content/diff.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as e, _ as t, g as n } from "../src-
|
|
2
|
-
import { t as r } from "../code-block-
|
|
1
|
+
import { E as e, _ as t, g as n } from "../src-F1zdubkU.js";
|
|
2
|
+
import { t as r } from "../code-block-C3wqGP_q.js";
|
|
3
3
|
import { t as i } from "../viewer-styles-CpHqp5Qv.js";
|
|
4
4
|
import * as a from "@stylexjs/stylex";
|
|
5
5
|
import { useEffect as o, useState as s } from "react";
|
package/dist/content/link.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ContentLink } from "../content-link-
|
|
1
|
+
export { t as ContentLink } from "../content-link-Dc-pl2ee.js";
|
package/dist/content/markdown.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "../use-scroll-tab-index-Dxpdh4W7.js";
|
|
2
2
|
import { t } from "../visible-motion-1GcUaEi4.js";
|
|
3
|
-
import { t as n } from "../code-block-
|
|
4
|
-
import { n as r, t as i } from "../content-link-
|
|
3
|
+
import { t as n } from "../code-block-C3wqGP_q.js";
|
|
4
|
+
import { n as r, t as i } from "../content-link-Dc-pl2ee.js";
|
|
5
5
|
import { t as a } from "../viewer-styles-CpHqp5Qv.js";
|
|
6
6
|
import * as o from "@stylexjs/stylex";
|
|
7
7
|
import { Children as s, createContext as c, createElement as l, memo as u, useContext as d } from "react";
|
|
@@ -78,11 +78,10 @@ var b = /* @__PURE__ */ new Set(["href", "src"]), x = {
|
|
|
78
78
|
regular: null,
|
|
79
79
|
strong: S.strong
|
|
80
80
|
}, T = c(1), E = {
|
|
81
|
-
animation: "
|
|
82
|
-
duration:
|
|
83
|
-
stagger:
|
|
84
|
-
maxBacklogMs:
|
|
85
|
-
sep: "word"
|
|
81
|
+
animation: "fadeIn",
|
|
82
|
+
duration: 160,
|
|
83
|
+
stagger: 14,
|
|
84
|
+
maxBacklogMs: 100
|
|
86
85
|
}, D = /* @__PURE__ */ new Set(["string", "number"]);
|
|
87
86
|
function O(e) {
|
|
88
87
|
return D.has(typeof e);
|
|
@@ -225,6 +224,7 @@ var M = {
|
|
|
225
224
|
value: i,
|
|
226
225
|
children: /* @__PURE__ */ p("div", {
|
|
227
226
|
ref: c,
|
|
227
|
+
"data-streamdown-paused": n && !l ? "" : void 0,
|
|
228
228
|
children: /* @__PURE__ */ p(g, {
|
|
229
229
|
...x,
|
|
230
230
|
...o.props(S.root, C[a], w[s]),
|
|
@@ -232,7 +232,7 @@ var M = {
|
|
|
232
232
|
components: M,
|
|
233
233
|
mode: n ? "streaming" : "static",
|
|
234
234
|
isAnimating: n,
|
|
235
|
-
animated:
|
|
235
|
+
animated: n ? E : !1,
|
|
236
236
|
controls: !1,
|
|
237
237
|
linkSafety: { enabled: !1 },
|
|
238
238
|
allowedElements: N,
|
package/dist/content/tree.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as e } from "../src-
|
|
1
|
+
import { E as e } from "../src-F1zdubkU.js";
|
|
2
2
|
import { t } from "../use-scroll-tab-index-Dxpdh4W7.js";
|
|
3
3
|
import { t as n } from "../viewer-styles-CpHqp5Qv.js";
|
|
4
4
|
import * as r from "@stylexjs/stylex";
|
|
@@ -28,7 +28,7 @@ function f(u) {
|
|
|
28
28
|
let e = !0;
|
|
29
29
|
async function t() {
|
|
30
30
|
try {
|
|
31
|
-
let t = await import("../pierre-tree-
|
|
31
|
+
let t = await import("../pierre-tree-Ba80jL2Z.js");
|
|
32
32
|
e && m({
|
|
33
33
|
Component: t.PierreTree,
|
|
34
34
|
hasFailed: !1
|
package/dist/content.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as e, E as t, _ as n, g as r } from "./src-
|
|
1
|
+
import { C as e, E as t, _ as n, g as r } from "./src-F1zdubkU.js";
|
|
2
2
|
import { t as i } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
3
3
|
import { t as a } from "./viewer-styles-CpHqp5Qv.js";
|
|
4
|
-
import { t as o } from "./code-block-
|
|
5
|
-
import { t as s } from "./content-link-
|
|
4
|
+
import { t as o } from "./code-block-C3wqGP_q.js";
|
|
5
|
+
import { t as s } from "./content-link-Dc-pl2ee.js";
|
|
6
6
|
import * as c from "@stylexjs/stylex";
|
|
7
7
|
import { useCallback as l, useEffect as u, useLayoutEffect as d, useRef as f, useState as p } from "react";
|
|
8
8
|
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
package/dist/elements.css
CHANGED
|
@@ -672,6 +672,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
672
672
|
align-items: stretch;
|
|
673
673
|
}
|
|
674
674
|
|
|
675
|
+
.xamitd3 {
|
|
676
|
+
align-self: center;
|
|
677
|
+
}
|
|
678
|
+
|
|
675
679
|
.xkh2ocl {
|
|
676
680
|
align-self: stretch;
|
|
677
681
|
}
|
|
@@ -3655,13 +3659,3 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
3655
3659
|
opacity: 1;
|
|
3656
3660
|
}
|
|
3657
3661
|
}
|
|
3658
|
-
|
|
3659
|
-
@keyframes xb11x9y-B {
|
|
3660
|
-
from {
|
|
3661
|
-
opacity: .4;
|
|
3662
|
-
}
|
|
3663
|
-
|
|
3664
|
-
to {
|
|
3665
|
-
opacity: 1;
|
|
3666
|
-
}
|
|
3667
|
-
}
|
package/dist/feedback.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as AsyncRegion, c as ButtonPlaceholder, n as ContentReveal, p as EmptyState, l as FieldPlaceholder, r as LoadingScope, o as Meter, m as Notice, s as Progress, u as Skeleton, d as SkeletonText, f as Spinner, i as Toaster, a as toast } from "./src-
|
|
1
|
+
export { t as AsyncRegion, c as ButtonPlaceholder, n as ContentReveal, p as EmptyState, l as FieldPlaceholder, r as LoadingScope, o as Meter, m as Notice, s as Progress, u as Skeleton, d as SkeletonText, f as Spinner, i as Toaster, a as toast } from "./src-D3AGX7uZ.js";
|
package/dist/forms/dates.js
CHANGED
package/dist/forms.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { _ as AgentAvatarPicker, r as Checkbox, v as Combobox, c as Field, f as Fieldset, p as FilePicker, d as FormActions, l as Input, m as InputGroup, h as NumberField, i as RadioGroup, s as Select, n as SettingsRow, t as SettingsSection, g as Slider, a as Switch, u as Textarea, o as ToggleGroup } from "./src-
|
|
1
|
+
export { _ as AgentAvatarPicker, r as Checkbox, v as Combobox, c as Field, f as Fieldset, p as FilePicker, d as FormActions, l as Input, m as InputGroup, h as NumberField, i as RadioGroup, s as Select, n as SettingsRow, t as SettingsSection, g as Slider, a as Switch, u as Textarea, o as ToggleGroup } from "./src-CWA2Tigm.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@layer reset, priority1, priority2, priority3, priority4, priority5;
|
|
2
|
+
@import 'streamdown/styles.css' (prefers-reduced-motion: no-preference);
|
|
3
|
+
|
|
4
|
+
[data-streamdown-paused] [data-sd-animate],
|
|
5
|
+
[data-streamdown-paused] [data-sd-animate-marker]::marker {
|
|
6
|
+
animation-play-state: paused;
|
|
7
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { h as Accordion, v as AgentAvatar, S as Avatar, t as Badge, C as Button, g as Collapsible, l as Columns, _ as CopyValue, u as Divider, n as Heading, w as IconButton, T as IconLink, r as Identifier, i as Muted, d as Panel, a as Prose, f as Row, p as Stack, o as Status, s as Subheading, m as SurfaceLink, c as Text, E as TextButton, D as TextLink, y as agentAppearance, b as agentAvatarColors, x as agentAvatarShapes } from "./src-
|
|
1
|
+
export { h as Accordion, v as AgentAvatar, S as Avatar, t as Badge, C as Button, g as Collapsible, l as Columns, _ as CopyValue, u as Divider, n as Heading, w as IconButton, T as IconLink, r as Identifier, i as Muted, d as Panel, a as Prose, f as Row, p as Stack, o as Status, s as Subheading, m as SurfaceLink, c as Text, E as TextButton, D as TextLink, y as agentAppearance, b as agentAvatarColors, x as agentAvatarShapes } from "./src-F1zdubkU.js";
|
package/dist/layout.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, t } from "./src-d7EAi61b.js";
|
|
2
|
-
import { C as n, O as r, T as i, i as a, n as o, p as s, w as c } from "./src-
|
|
2
|
+
import { C as n, O as r, T as i, i as a, n as o, p as s, w as c } from "./src-F1zdubkU.js";
|
|
3
3
|
import { t as l } from "./style-composition-uYlczSsB.js";
|
|
4
4
|
import { t as u } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
5
5
|
import { Button as d } from "@base-ui/react/button";
|
|
@@ -20,6 +20,7 @@ export type ConversationContentProps = {
|
|
|
20
20
|
};
|
|
21
21
|
export type ConversationItemProps = {
|
|
22
22
|
readonly messageId: string;
|
|
23
|
+
readonly shouldRevealOnAppend?: boolean;
|
|
23
24
|
readonly children: ReactNode;
|
|
24
25
|
};
|
|
25
26
|
export type ConversationJumpProps = {
|
|
@@ -35,7 +36,7 @@ export type ConversationLatestButtonProps = {
|
|
|
35
36
|
declare function ConversationRoot({ children, initialPosition, shouldFollow, viewportRef, }: ConversationRootProps): ReactNode;
|
|
36
37
|
declare function ConversationViewport({ label, children, scrollRestorationId }: ConversationViewportProps): ReactNode;
|
|
37
38
|
declare function ConversationContent({ children, isStreaming }: ConversationContentProps): ReactNode;
|
|
38
|
-
declare function ConversationItem({ messageId, children }: ConversationItemProps): ReactNode;
|
|
39
|
+
declare function ConversationItem({ messageId, shouldRevealOnAppend, children }: ConversationItemProps): ReactNode;
|
|
39
40
|
declare function ConversationControls({ children }: ConversationControlsProps): ReactNode;
|
|
40
41
|
declare function ConversationJumpToLatest({ label }: ConversationJumpProps): ReactNode;
|
|
41
42
|
declare function ConversationLatestButton({ label, onActivate }: ConversationLatestButtonProps): ReactNode;
|
|
@@ -8,7 +8,9 @@ type AccordionHeaderProps = ComponentProps<typeof BaseAccordion.Header>;
|
|
|
8
8
|
type AccordionTriggerProps = ComponentProps<typeof BaseAccordion.Trigger>;
|
|
9
9
|
type AccordionPanelProps = ComponentProps<typeof BaseAccordion.Panel>;
|
|
10
10
|
type CollapsibleRootProps = Omit<BaseCollapsible.Root.Props, 'open' | 'defaultOpen' | 'onOpenChange'> & OpenStateProperties<NonNullable<BaseCollapsible.Root.Props['onOpenChange']>>;
|
|
11
|
-
type CollapsibleTriggerProps = ComponentProps<typeof BaseCollapsible.Trigger
|
|
11
|
+
type CollapsibleTriggerProps = ComponentProps<typeof BaseCollapsible.Trigger> & {
|
|
12
|
+
readonly variant?: 'default' | 'inline';
|
|
13
|
+
};
|
|
12
14
|
type CollapsiblePanelProps = ComponentProps<typeof BaseCollapsible.Panel>;
|
|
13
15
|
declare function AccordionRoot<Value = string>({ className, style, ...props }: AccordionRootProps<Value>): ReactNode;
|
|
14
16
|
declare function AccordionItem({ className, style, ...props }: AccordionItemProps): ReactNode;
|
|
@@ -16,7 +18,7 @@ declare function AccordionHeader({ className, style, ...props }: AccordionHeader
|
|
|
16
18
|
declare function AccordionTrigger({ className, style, children, ...props }: AccordionTriggerProps): ReactNode;
|
|
17
19
|
declare function AccordionPanel({ className, style, ...props }: AccordionPanelProps): ReactNode;
|
|
18
20
|
declare function CollapsibleRoot({ className, style, ...props }: CollapsibleRootProps): ReactNode;
|
|
19
|
-
declare function CollapsibleTrigger({ className, style, children, ...props }: CollapsibleTriggerProps): ReactNode;
|
|
21
|
+
declare function CollapsibleTrigger({ className, style, children, variant, ...props }: CollapsibleTriggerProps): ReactNode;
|
|
20
22
|
declare function CollapsiblePanel({ className, style, ...props }: CollapsiblePanelProps): ReactNode;
|
|
21
23
|
export declare const Accordion: {
|
|
22
24
|
Root: typeof AccordionRoot;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as e } from "./src-
|
|
2
|
-
import { l as t } from "./src-
|
|
1
|
+
import { c as e } from "./src-F1zdubkU.js";
|
|
2
|
+
import { l as t } from "./src-CWA2Tigm.js";
|
|
3
3
|
import { t as n } from "./constants.stylex-BILvnwUk.js";
|
|
4
4
|
import { r } from "./pierre-theme-CLgk9v3e.js";
|
|
5
5
|
import * as i from "@stylexjs/stylex";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as e, b as t, i as n, s as r, v as i, x as a } from "./src-
|
|
1
|
+
import { O as e, b as t, i as n, s as r, v as i, x as a } from "./src-F1zdubkU.js";
|
|
2
2
|
import { t as o } from "./style-composition-uYlczSsB.js";
|
|
3
3
|
import { mergeProps as s } from "@base-ui/react/merge-props";
|
|
4
4
|
import * as c from "@stylexjs/stylex";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as e, i as t, s as n } from "./src-
|
|
1
|
+
import { O as e, i as t, s as n } from "./src-F1zdubkU.js";
|
|
2
2
|
import { i as r, l as i } from "./tokens.stylex-DTHHFbyl.js";
|
|
3
3
|
import { t as a } from "./accessibility-C-aIZ1Yx.js";
|
|
4
4
|
import { c as o, s } from "./constants.stylex-BILvnwUk.js";
|
|
@@ -316,7 +316,7 @@ function ee({ children: e, ...t }) {
|
|
|
316
316
|
})
|
|
317
317
|
});
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function te({ tone: t = "neutral", isPending: r = !1, pendingLabel: i, children: o, className: c, style: l, xstyle: u, disabled: f = !1, ...p }) {
|
|
320
320
|
let m = s(), h = a.props(w.text, E[t], u);
|
|
321
321
|
return /* @__PURE__ */ d(n, {
|
|
322
322
|
...p,
|
|
@@ -337,10 +337,10 @@ function A({ tone: t = "neutral", isPending: r = !1, pendingLabel: i, children:
|
|
|
337
337
|
})
|
|
338
338
|
});
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function A({ xstyle: e, ...t }) {
|
|
341
341
|
return /* @__PURE__ */ d("a", { ...r(a.props(w.link, e), t) });
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function j({ children: e, xstyle: t, render: n, ref: o, ...s }) {
|
|
344
344
|
return i({
|
|
345
345
|
defaultTagName: "a",
|
|
346
346
|
render: n,
|
|
@@ -352,7 +352,7 @@ function M({ children: e, xstyle: t, render: n, ref: o, ...s }) {
|
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
354
|
// packages/core/src/avatar.tsx
|
|
355
|
-
var
|
|
355
|
+
var M = {
|
|
356
356
|
avatar: {
|
|
357
357
|
kB7OPa: "x9f619",
|
|
358
358
|
k1xSpc: "x3nfvp2",
|
|
@@ -387,16 +387,16 @@ var N = {
|
|
|
387
387
|
kZKoxP: "x1vqgdyp",
|
|
388
388
|
$$css: !0
|
|
389
389
|
}
|
|
390
|
-
},
|
|
391
|
-
sm:
|
|
392
|
-
md:
|
|
393
|
-
lg:
|
|
390
|
+
}, N = {
|
|
391
|
+
sm: M.small,
|
|
392
|
+
md: M.medium,
|
|
393
|
+
lg: M.large
|
|
394
394
|
};
|
|
395
|
-
function
|
|
395
|
+
function P({ label: e, fallback: t, src: n, size: r = "md" }) {
|
|
396
396
|
return /* @__PURE__ */ f(p.Root, {
|
|
397
397
|
role: "img",
|
|
398
398
|
"aria-label": e,
|
|
399
|
-
...a.props(
|
|
399
|
+
...a.props(M.avatar, N[r]),
|
|
400
400
|
children: [n !== void 0 && /* @__PURE__ */ d(p.Image, {
|
|
401
401
|
src: n,
|
|
402
402
|
alt: "",
|
|
@@ -1401,7 +1401,69 @@ function X({ value: i, label: s, display: u = "value", children: p, className: h
|
|
|
1401
1401
|
});
|
|
1402
1402
|
}
|
|
1403
1403
|
// packages/core/src/disclosure.tsx
|
|
1404
|
-
|
|
1404
|
+
var Z = {
|
|
1405
|
+
trigger: {
|
|
1406
|
+
k1xSpc: "x78zum5",
|
|
1407
|
+
kGNEyG: "x6s0dn4",
|
|
1408
|
+
kjj79g: "x1qughib",
|
|
1409
|
+
kOIVth: "x1hnptsi",
|
|
1410
|
+
kzqmXN: "xh8yej3",
|
|
1411
|
+
kAzted: "x17tes2r x17oiadl",
|
|
1412
|
+
kg3NbH: "xnjsko4",
|
|
1413
|
+
k8WAf4: "xn9t2bk",
|
|
1414
|
+
kMzoRj: "xc342km",
|
|
1415
|
+
kWkggS: "xjbqb8w x18vtl6o xyg3wme",
|
|
1416
|
+
kMv6JI: "xjb2p0i",
|
|
1417
|
+
kGuDYH: "x1qlqyl8",
|
|
1418
|
+
kLWn49: "x15bjb6t",
|
|
1419
|
+
k63SB2: "xk4h15q",
|
|
1420
|
+
kMwMTN: "x1heor9g",
|
|
1421
|
+
k9WMMc: "x1yc453h",
|
|
1422
|
+
kHjlTd: "xj0a0fe",
|
|
1423
|
+
kkrTdU: "x1ypdohk",
|
|
1424
|
+
kk7Lky: "xwj21n9",
|
|
1425
|
+
kXyCmE: "x1m8qfh3",
|
|
1426
|
+
kPJHz1: "x13qnu6",
|
|
1427
|
+
k7shQP: "x9v5kkp",
|
|
1428
|
+
kZs9gx: "x19rmrnh",
|
|
1429
|
+
kiEn40: "x7s97pk",
|
|
1430
|
+
$$css: !0
|
|
1431
|
+
},
|
|
1432
|
+
inline: {
|
|
1433
|
+
kzqmXN: "xeq5yr9",
|
|
1434
|
+
k8WAf4: "xt970qd",
|
|
1435
|
+
ks0D6T: "x193iq5w",
|
|
1436
|
+
kjj79g: "x1nhvcw1",
|
|
1437
|
+
kOIVth: "xunmzkg",
|
|
1438
|
+
kMwMTN: "x153jb6y",
|
|
1439
|
+
k63SB2: "xj57cvi",
|
|
1440
|
+
k4DVmp: "xy7uoan",
|
|
1441
|
+
$$css: !0
|
|
1442
|
+
},
|
|
1443
|
+
inlineIcon: {
|
|
1444
|
+
kzqmXN: "x6jxa94",
|
|
1445
|
+
kZKoxP: "x1v9usgg",
|
|
1446
|
+
k1ekBW: "x11xpdln",
|
|
1447
|
+
kIyJzY: "xtitasy xsn8rav",
|
|
1448
|
+
kAMwcw: "x1faw7qm",
|
|
1449
|
+
$$css: !0
|
|
1450
|
+
},
|
|
1451
|
+
icon: {
|
|
1452
|
+
kmuXW: "x2lah0s",
|
|
1453
|
+
kzqmXN: "xtwnzbg",
|
|
1454
|
+
kZKoxP: "x18utl2x",
|
|
1455
|
+
kMwMTN: "x153jb6y",
|
|
1456
|
+
k3aq6I: "x9tu13d x1felao3",
|
|
1457
|
+
$$css: !0
|
|
1458
|
+
}
|
|
1459
|
+
}, re = {
|
|
1460
|
+
default: null,
|
|
1461
|
+
inline: Z.inline
|
|
1462
|
+
}, ie = {
|
|
1463
|
+
default: null,
|
|
1464
|
+
inline: Z.inlineIcon
|
|
1465
|
+
};
|
|
1466
|
+
function ae({ className: t, style: n, ...r }) {
|
|
1405
1467
|
return /* @__PURE__ */ d(x.Root, {
|
|
1406
1468
|
...r,
|
|
1407
1469
|
...e({
|
|
@@ -1411,7 +1473,7 @@ function Z({ className: t, style: n, ...r }) {
|
|
|
1411
1473
|
})
|
|
1412
1474
|
});
|
|
1413
1475
|
}
|
|
1414
|
-
function
|
|
1476
|
+
function oe({ className: t, style: n, ...r }) {
|
|
1415
1477
|
return /* @__PURE__ */ d(x.Item, {
|
|
1416
1478
|
...r,
|
|
1417
1479
|
...e({
|
|
@@ -1421,7 +1483,7 @@ function re({ className: t, style: n, ...r }) {
|
|
|
1421
1483
|
})
|
|
1422
1484
|
});
|
|
1423
1485
|
}
|
|
1424
|
-
function
|
|
1486
|
+
function se({ className: t, style: n, ...r }) {
|
|
1425
1487
|
return /* @__PURE__ */ d(x.Header, {
|
|
1426
1488
|
...r,
|
|
1427
1489
|
...e({
|
|
@@ -1431,7 +1493,7 @@ function ie({ className: t, style: n, ...r }) {
|
|
|
1431
1493
|
})
|
|
1432
1494
|
});
|
|
1433
1495
|
}
|
|
1434
|
-
function
|
|
1496
|
+
function ce({ className: t, style: n, children: r, ...i }) {
|
|
1435
1497
|
return /* @__PURE__ */ f(x.Trigger, {
|
|
1436
1498
|
...i,
|
|
1437
1499
|
...e({
|
|
@@ -1445,7 +1507,7 @@ function ae({ className: t, style: n, children: r, ...i }) {
|
|
|
1445
1507
|
})]
|
|
1446
1508
|
});
|
|
1447
1509
|
}
|
|
1448
|
-
function
|
|
1510
|
+
function le({ className: t, style: n, ...r }) {
|
|
1449
1511
|
return /* @__PURE__ */ d(x.Panel, {
|
|
1450
1512
|
...r,
|
|
1451
1513
|
...e({
|
|
@@ -1455,7 +1517,7 @@ function oe({ className: t, style: n, ...r }) {
|
|
|
1455
1517
|
})
|
|
1456
1518
|
});
|
|
1457
1519
|
}
|
|
1458
|
-
function
|
|
1520
|
+
function ue({ className: t, style: n, ...r }) {
|
|
1459
1521
|
return /* @__PURE__ */ d(S.Root, {
|
|
1460
1522
|
...r,
|
|
1461
1523
|
...e({
|
|
@@ -1465,21 +1527,25 @@ function se({ className: t, style: n, ...r }) {
|
|
|
1465
1527
|
})
|
|
1466
1528
|
});
|
|
1467
1529
|
}
|
|
1468
|
-
|
|
1530
|
+
var de = {
|
|
1531
|
+
"x-default-marker": "x-default-marker",
|
|
1532
|
+
$$css: !0
|
|
1533
|
+
};
|
|
1534
|
+
function fe({ className: t, style: n, children: r, variant: i = "default", ...o }) {
|
|
1469
1535
|
return /* @__PURE__ */ f(S.Trigger, {
|
|
1470
|
-
...
|
|
1536
|
+
...o,
|
|
1471
1537
|
...e({
|
|
1472
1538
|
className: t,
|
|
1473
1539
|
style: n,
|
|
1474
|
-
styles:
|
|
1540
|
+
styles: a.props(Z.trigger, re[i], de)
|
|
1475
1541
|
}),
|
|
1476
1542
|
children: [r, /* @__PURE__ */ d(h, {
|
|
1477
1543
|
"aria-hidden": !0,
|
|
1478
|
-
|
|
1544
|
+
...a.props(Z.icon, ie[i])
|
|
1479
1545
|
})]
|
|
1480
1546
|
});
|
|
1481
1547
|
}
|
|
1482
|
-
function
|
|
1548
|
+
function pe({ className: t, style: n, ...r }) {
|
|
1483
1549
|
return /* @__PURE__ */ d(S.Panel, {
|
|
1484
1550
|
...r,
|
|
1485
1551
|
...e({
|
|
@@ -1489,17 +1555,17 @@ function le({ className: t, style: n, ...r }) {
|
|
|
1489
1555
|
})
|
|
1490
1556
|
});
|
|
1491
1557
|
}
|
|
1492
|
-
var
|
|
1493
|
-
Root:
|
|
1494
|
-
Item:
|
|
1495
|
-
Header:
|
|
1496
|
-
Trigger: ae,
|
|
1497
|
-
Panel: oe
|
|
1498
|
-
}, de = {
|
|
1499
|
-
Root: se,
|
|
1558
|
+
var me = {
|
|
1559
|
+
Root: ae,
|
|
1560
|
+
Item: oe,
|
|
1561
|
+
Header: se,
|
|
1500
1562
|
Trigger: ce,
|
|
1501
1563
|
Panel: le
|
|
1502
|
-
},
|
|
1564
|
+
}, he = {
|
|
1565
|
+
Root: ue,
|
|
1566
|
+
Trigger: fe,
|
|
1567
|
+
Panel: pe
|
|
1568
|
+
}, ge = { link: {
|
|
1503
1569
|
k1xSpc: "x1lliihq",
|
|
1504
1570
|
kB7OPa: "x9f619",
|
|
1505
1571
|
k7Eaqz: "xeuugli",
|
|
@@ -1522,31 +1588,31 @@ var ue = {
|
|
|
1522
1588
|
kiEn40: "x8fq8g9",
|
|
1523
1589
|
$$css: !0
|
|
1524
1590
|
} };
|
|
1525
|
-
function
|
|
1591
|
+
function _e({ isPadded: e = !0, ...t }) {
|
|
1526
1592
|
return /* @__PURE__ */ d("section", { ...r({
|
|
1527
1593
|
0: { className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel" },
|
|
1528
1594
|
1: { className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel x1jvlu93" }
|
|
1529
1595
|
}[!!e | 0], t) });
|
|
1530
1596
|
}
|
|
1531
|
-
function
|
|
1532
|
-
return /* @__PURE__ */ d("a", { ...r(a.props(
|
|
1597
|
+
function ve({ xstyle: e, ...t }) {
|
|
1598
|
+
return /* @__PURE__ */ d("a", { ...r(a.props(ge.link, e), t) });
|
|
1533
1599
|
}
|
|
1534
|
-
function
|
|
1600
|
+
function ye({ shouldSpaceBetween: e = !1, ...t }) {
|
|
1535
1601
|
return /* @__PURE__ */ d("div", { ...r({
|
|
1536
1602
|
0: { className: "x78zum5 x6s0dn4 x1hnptsi x1a02dak xeuugli" },
|
|
1537
1603
|
1: { className: "x78zum5 x6s0dn4 x1hnptsi x1a02dak xeuugli x1qughib" }
|
|
1538
1604
|
}[!!e | 0], t) });
|
|
1539
1605
|
}
|
|
1540
|
-
function
|
|
1606
|
+
function be({ isCompact: e = !1, ...t }) {
|
|
1541
1607
|
return /* @__PURE__ */ d("div", { ...r({
|
|
1542
1608
|
0: { className: "x78zum5 xdt5ytf x1j825kq xeuugli" },
|
|
1543
1609
|
1: { className: "x78zum5 xdt5ytf xeuugli x1hnptsi" }
|
|
1544
1610
|
}[!!e | 0], t) });
|
|
1545
1611
|
}
|
|
1546
|
-
function
|
|
1612
|
+
function xe(e) {
|
|
1547
1613
|
return /* @__PURE__ */ d("div", { ...r({ className: "xrvj5dj xhuszhj x1m6b44x xeuugli" }, e) });
|
|
1548
1614
|
}
|
|
1549
|
-
function
|
|
1615
|
+
function Se(e) {
|
|
1550
1616
|
return /* @__PURE__ */ d("hr", { ...r({ className: "xc342km x178xt8z x1y0btm7 x1ey3b81 x1ghz6dp" }, e) });
|
|
1551
1617
|
}
|
|
1552
1618
|
// packages/core/src/text.tsx
|
|
@@ -1650,54 +1716,54 @@ var Q = {
|
|
|
1650
1716
|
kMwMTN: "xr5kp14",
|
|
1651
1717
|
$$css: !0
|
|
1652
1718
|
}
|
|
1653
|
-
},
|
|
1719
|
+
}, Ce = {
|
|
1654
1720
|
body: Q.body,
|
|
1655
1721
|
caption: Q.caption,
|
|
1656
1722
|
mono: Q.mono,
|
|
1657
1723
|
prose: Q.prose
|
|
1658
|
-
},
|
|
1724
|
+
}, we = {
|
|
1659
1725
|
ink: Q.ink,
|
|
1660
1726
|
muted: Q.muted
|
|
1661
|
-
},
|
|
1727
|
+
}, Te = {
|
|
1662
1728
|
neutral: Q.neutral,
|
|
1663
1729
|
positive: Q.positive,
|
|
1664
1730
|
warning: Q.warning,
|
|
1665
1731
|
negative: Q.negative
|
|
1666
|
-
},
|
|
1732
|
+
}, Ee = {
|
|
1667
1733
|
neutral: Q.neutralIcon,
|
|
1668
1734
|
positive: Q.positiveIcon,
|
|
1669
1735
|
warning: Q.warningIcon,
|
|
1670
1736
|
negative: Q.negativeIcon
|
|
1671
|
-
},
|
|
1737
|
+
}, De = {
|
|
1672
1738
|
neutral: g,
|
|
1673
1739
|
positive: _,
|
|
1674
1740
|
warning: y,
|
|
1675
1741
|
negative: v
|
|
1676
1742
|
};
|
|
1677
|
-
function
|
|
1678
|
-
return /* @__PURE__ */ d("span", { ...r(a.props(Q.text,
|
|
1743
|
+
function $({ variant: e = "body", tone: t = "ink", xstyle: n, ...i }) {
|
|
1744
|
+
return /* @__PURE__ */ d("span", { ...r(a.props(Q.text, Ce[e], we[t], n), i) });
|
|
1679
1745
|
}
|
|
1680
|
-
function
|
|
1746
|
+
function Oe({ isCompact: e = !1, ...t }) {
|
|
1681
1747
|
return /* @__PURE__ */ d("h1", { ...r({
|
|
1682
1748
|
0: { className: "x1ghz6dp x1hz01jw xvmahel xc0f4dz xvukjed xzju6ct x1vxm5eg x1b5ytql x1wjjqco xbixft xj0a0fe" },
|
|
1683
1749
|
1: { className: "x1ghz6dp x1hz01jw xvmahel x1i2cqwi x4fansv x1b5ytql xbixft xj0a0fe" }
|
|
1684
1750
|
}[!!e | 0], t) });
|
|
1685
1751
|
}
|
|
1686
|
-
function
|
|
1752
|
+
function ke(e) {
|
|
1687
1753
|
return /* @__PURE__ */ d("h2", { ...r({ className: "x1ghz6dp x1hz01jw xvmahel x1i2cqwi x4fansv x1b5ytql xbixft xj0a0fe" }, e) });
|
|
1688
1754
|
}
|
|
1689
|
-
function
|
|
1755
|
+
function Ae(e) {
|
|
1690
1756
|
return /* @__PURE__ */ d("p", { ...r({ className: "x1ghz6dp x1hz01jw xj57cvi xvmahel xj0a0fe xtqrqnz x1778rvt x153jb6y" }, e) });
|
|
1691
1757
|
}
|
|
1692
|
-
function
|
|
1758
|
+
function je(e) {
|
|
1693
1759
|
return /* @__PURE__ */ d("span", { ...r({ className: "x1ghz6dp xj57cvi xvmahel xiard35 xy8obcc x1778rvt xj0a0fe x153jb6y" }, e) });
|
|
1694
1760
|
}
|
|
1695
|
-
function
|
|
1761
|
+
function Me(e) {
|
|
1696
1762
|
return /* @__PURE__ */ d("pre", { ...r({ className: "x1ghz6dp x1hz01jw xj57cvi xvmahel x1ewvobj x126k92a xj0a0fe x12myhf4 x1ytb0s6 xbixft" }, e) });
|
|
1697
1763
|
}
|
|
1698
|
-
function
|
|
1764
|
+
function Ne({ children: e, tone: t = "neutral", ...n }) {
|
|
1699
1765
|
return /* @__PURE__ */ f("span", {
|
|
1700
|
-
...r(a.props(Q.badge,
|
|
1766
|
+
...r(a.props(Q.badge, Te[t]), n),
|
|
1701
1767
|
children: [/* @__PURE__ */ d(g, {
|
|
1702
1768
|
size: 5,
|
|
1703
1769
|
fill: "currentColor",
|
|
@@ -1709,18 +1775,18 @@ function ke({ children: e, tone: t = "neutral", ...n }) {
|
|
|
1709
1775
|
})]
|
|
1710
1776
|
});
|
|
1711
1777
|
}
|
|
1712
|
-
function
|
|
1713
|
-
let i =
|
|
1778
|
+
function Pe({ children: e, tone: t = "neutral", ...n }) {
|
|
1779
|
+
let i = De[t];
|
|
1714
1780
|
return /* @__PURE__ */ f("span", {
|
|
1715
1781
|
...r({ className: "x3nfvp2 x6s0dn4 xbgj81g xbixft x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi x193iq5w" }, n),
|
|
1716
1782
|
children: [/* @__PURE__ */ d(i, {
|
|
1717
1783
|
size: 14,
|
|
1718
1784
|
"aria-hidden": !0,
|
|
1719
|
-
...a.props(Q.statusIcon,
|
|
1785
|
+
...a.props(Q.statusIcon, Ee[t])
|
|
1720
1786
|
}), /* @__PURE__ */ d("span", {
|
|
1721
1787
|
className: "xeuugli xj0a0fe",
|
|
1722
1788
|
children: e
|
|
1723
1789
|
})]
|
|
1724
1790
|
});
|
|
1725
1791
|
}
|
|
1726
|
-
export { k as C,
|
|
1792
|
+
export { k as C, A as D, te as E, C as O, P as S, j as T, X as _, Me as a, z as b, $ as c, _e as d, ye as f, he as g, me as h, Ae as i, xe as l, ve as m, Oe as n, Pe as o, be as p, je as r, ke as s, Ne as t, Se as u, W as v, ee as w, ne as x, U as y };
|
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import './dist/foundations.css';
|
|
2
2
|
@import './dist/elements.css';
|