@mechane-ai/elements 0.14.0 → 0.14.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 +4 -4
- package/dist/{categorical-values-BnWfIPlv.js → categorical-values-l5YTG9G3.js} +2 -2
- package/dist/{chart-frame-Dm8UNfYD.js → chart-frame-Bf1l_7-R.js} +1 -1
- package/dist/{chart-input-ceiMZYI-.js → chart-input-fBuRm0Lc.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-D07N6mYS.js → code-block-DB42-a0M.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 +2 -2
- package/dist/content/tree.js +2 -2
- package/dist/{content-link-CEx2s1MU.js → content-link-rdxJ94P8.js} +1 -1
- package/dist/content.js +3 -3
- package/dist/elements.css +8 -0
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +1 -1
- package/dist/forms.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layout.js +1 -1
- package/dist/navigation/commands.js +1 -1
- package/dist/{pierre-tree-CBBDlJ_Y.js → pierre-tree-BaIVTNmG.js} +2 -2
- package/dist/{src-C9GQP3px.js → src-BVsyKLQ8.js} +1 -1
- package/dist/{src-CyJd2qSZ.js → src-BXh4g2VY.js} +9 -8
- package/dist/{src-BkXlN6aZ.js → src-R0kgHFPZ.js} +1 -1
- package/package.json +1 -1
package/dist/ai.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as e, E as t, O as n, T as r, f as i, g as a, p as o, t as s, w as c } from "./src-
|
|
2
|
-
import { t as l } from "./content-link-
|
|
1
|
+
import { C as e, E as t, O as n, T as r, f as i, g as a, p as o, t as s, w as c } from "./src-BXh4g2VY.js";
|
|
2
|
+
import { t as l } from "./content-link-rdxJ94P8.js";
|
|
3
3
|
import { r as u, t as d } from "./src-d7EAi61b.js";
|
|
4
|
-
import { c as f, d as p } from "./src-
|
|
5
|
-
import { c as m, u as h } from "./src-
|
|
4
|
+
import { c as f, d as p } from "./src-BVsyKLQ8.js";
|
|
5
|
+
import { c as m, u as h } from "./src-R0kgHFPZ.js";
|
|
6
6
|
import { t as g } from "./accessibility-C-aIZ1Yx.js";
|
|
7
7
|
import * as _ from "@stylexjs/stylex";
|
|
8
8
|
import { createContext as v, useContext as y, useId as b, useRef as x } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, s as t } from "./chart-frame-
|
|
2
|
-
import { n } from "./chart-input-
|
|
1
|
+
import { n as e, s as t } from "./chart-frame-Bf1l_7-R.js";
|
|
2
|
+
import { n } from "./chart-input-fBuRm0Lc.js";
|
|
3
3
|
import * as r from "@stylexjs/stylex";
|
|
4
4
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
5
|
// packages/charts/src/categorical-values.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as e } from "./src-
|
|
2
|
-
import { r as t } from "./chart-frame-
|
|
1
|
+
import { m as e } from "./src-BVsyKLQ8.js";
|
|
2
|
+
import { r as t } from "./chart-frame-Bf1l_7-R.js";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
// packages/charts/src/chart-input.tsx
|
|
5
5
|
function r(e) {
|
package/dist/charts/cartesian.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as e } from "../src-
|
|
2
|
-
import { i as t, n, r, t as i } from "../categorical-values-
|
|
3
|
-
import { a, i as o, n as s, o as c, r as l, s as u, t as d } from "../chart-frame-
|
|
4
|
-
import { n as f, r as p, t as m } from "../chart-input-
|
|
1
|
+
import { u as e } from "../src-BVsyKLQ8.js";
|
|
2
|
+
import { i as t, n, r, t as i } from "../categorical-values-l5YTG9G3.js";
|
|
3
|
+
import { a, i as o, n as s, o as c, r as l, s as u, t as d } from "../chart-frame-Bf1l_7-R.js";
|
|
4
|
+
import { n as f, r as p, t as m } from "../chart-input-fBuRm0Lc.js";
|
|
5
5
|
import { t as h } from "../plot-width--OgdohB5.js";
|
|
6
|
-
import { E as g } from "../src-
|
|
7
|
-
import { g as _ } from "../src-
|
|
6
|
+
import { E as g } from "../src-BXh4g2VY.js";
|
|
7
|
+
import { g as _ } from "../src-R0kgHFPZ.js";
|
|
8
8
|
import { r as v } from "../tokens.stylex-DTHHFbyl.js";
|
|
9
9
|
import * as y from "@stylexjs/stylex";
|
|
10
10
|
import { useEffect as b, useId as x, useMemo as S, useRef as C, useState as w } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t, r as n, s as r, t as i } from "../chart-frame-
|
|
2
|
-
import { n as a, r as o, t as s } from "../chart-input-
|
|
1
|
+
import { a as e, n as t, r as n, s as r, t as i } from "../chart-frame-Bf1l_7-R.js";
|
|
2
|
+
import { n as a, r as o, t as s } from "../chart-input-fBuRm0Lc.js";
|
|
3
3
|
import { t as c } from "../plot-width--OgdohB5.js";
|
|
4
4
|
import * as l from "@stylexjs/stylex";
|
|
5
5
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
package/dist/charts/graph.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t, r as n, s as r, t as i } from "../chart-frame-
|
|
2
|
-
import { n as a, t as o } from "../chart-input-
|
|
1
|
+
import { a as e, n as t, r as n, s as r, t as i } from "../chart-frame-Bf1l_7-R.js";
|
|
2
|
+
import { n as a, t as o } from "../chart-input-fBuRm0Lc.js";
|
|
3
3
|
import * as s from "@stylexjs/stylex";
|
|
4
4
|
import { useId as c } from "react";
|
|
5
5
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
package/dist/charts/hierarchy.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as e, r as t, t as n } from "../categorical-values-
|
|
2
|
-
import { o as r, r as i, s as a } from "../chart-frame-
|
|
3
|
-
import { t as o } from "../chart-input-
|
|
1
|
+
import { i as e, r as t, t as n } from "../categorical-values-l5YTG9G3.js";
|
|
2
|
+
import { o as r, r as i, s as a } from "../chart-frame-Bf1l_7-R.js";
|
|
3
|
+
import { t as o } from "../chart-input-fBuRm0Lc.js";
|
|
4
4
|
import { t as s } from "../plot-width--OgdohB5.js";
|
|
5
5
|
import * as c from "@stylexjs/stylex";
|
|
6
6
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
package/dist/charts/matrix.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "../tokens.stylex-DTHHFbyl.js";
|
|
2
|
-
import { n as t, r as n, t as r } from "../chart-input-
|
|
3
|
-
import { a as i, n as a, r as o, s, t as c } from "../chart-frame-
|
|
2
|
+
import { n as t, r as n, t as r } from "../chart-input-fBuRm0Lc.js";
|
|
3
|
+
import { a as i, n as a, r as o, s, t as c } from "../chart-frame-Bf1l_7-R.js";
|
|
4
4
|
import * as l from "@stylexjs/stylex";
|
|
5
5
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
6
6
|
// packages/charts/src/matrix/heatmap-scale.ts
|
package/dist/charts/timeline.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as e } from "../src-
|
|
2
|
-
import { n as t, t as n } from "../chart-input-
|
|
1
|
+
import { c as e } from "../src-BXh4g2VY.js";
|
|
2
|
+
import { n as t, t as n } from "../chart-input-fBuRm0Lc.js";
|
|
3
3
|
import * as r from "@stylexjs/stylex";
|
|
4
4
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
5
|
import { scaleLinear as o } from "@visx/scale";
|
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-Bf1l_7-R.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-BXh4g2VY.js";
|
|
2
|
+
import { r as a } from "./src-R0kgHFPZ.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-BVsyKLQ8.js";
|
|
5
5
|
import { t as l } from "./accessibility-C-aIZ1Yx.js";
|
|
6
6
|
import { l as u, t as d } from "./constants.stylex-bbdiv1fD.js";
|
|
7
7
|
import { mergeProps as f } from "@base-ui/react/merge-props";
|
package/dist/content/code.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as CodeBlock } from "../code-block-
|
|
1
|
+
export { t as CodeBlock } from "../code-block-DB42-a0M.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-BXh4g2VY.js";
|
|
2
|
+
import { t as r } from "../code-block-DB42-a0M.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-rdxJ94P8.js";
|
package/dist/content/markdown.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../code-block-
|
|
2
|
-
import { n as t, t as n } from "../content-link-
|
|
1
|
+
import { t as e } from "../code-block-DB42-a0M.js";
|
|
2
|
+
import { n as t, t as n } from "../content-link-rdxJ94P8.js";
|
|
3
3
|
import { t as r } from "../viewer-styles-CpHqp5Qv.js";
|
|
4
4
|
import * as i from "@stylexjs/stylex";
|
|
5
5
|
import { Children as a, createElement as o } from "react";
|
package/dist/content/tree.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as e } from "../src-
|
|
1
|
+
import { E as e } from "../src-BXh4g2VY.js";
|
|
2
2
|
import { t } from "../viewer-styles-CpHqp5Qv.js";
|
|
3
3
|
import * as n from "@stylexjs/stylex";
|
|
4
4
|
import { useEffect as r, useState as i } from "react";
|
|
@@ -27,7 +27,7 @@ function d(l) {
|
|
|
27
27
|
let e = !0;
|
|
28
28
|
async function t() {
|
|
29
29
|
try {
|
|
30
|
-
let t = await import("../pierre-tree-
|
|
30
|
+
let t = await import("../pierre-tree-BaIVTNmG.js");
|
|
31
31
|
e && f({
|
|
32
32
|
Component: t.PierreTree,
|
|
33
33
|
hasFailed: !1
|
package/dist/content.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-BXh4g2VY.js";
|
|
2
2
|
import { t as i } from "./viewer-styles-CpHqp5Qv.js";
|
|
3
|
-
import { t as a } from "./code-block-
|
|
4
|
-
import { t as o } from "./content-link-
|
|
3
|
+
import { t as a } from "./code-block-DB42-a0M.js";
|
|
4
|
+
import { t as o } from "./content-link-rdxJ94P8.js";
|
|
5
5
|
import * as s from "@stylexjs/stylex";
|
|
6
6
|
import { useCallback as c, useEffect as l, useRef as u, useState as d } from "react";
|
|
7
7
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
package/dist/elements.css
CHANGED
|
@@ -1157,6 +1157,14 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
1157
1157
|
font-weight: var(--x1nq3oar);
|
|
1158
1158
|
}
|
|
1159
1159
|
|
|
1160
|
+
.xt9c220 {
|
|
1161
|
+
grid-auto-columns: auto;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.x1mt1orb {
|
|
1165
|
+
grid-auto-flow: column;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1160
1168
|
.x1qpdrs7 {
|
|
1161
1169
|
grid-template-columns: 16px minmax(0, 1fr);
|
|
1162
1170
|
}
|
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-BVsyKLQ8.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-R0kgHFPZ.js";
|
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-BXh4g2VY.js";
|
package/dist/layout.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e } from "./src-d7EAi61b.js";
|
|
2
|
-
import { C as t, i as n, n as r, w as i } from "./src-
|
|
2
|
+
import { C as t, i as n, n as r, w as i } from "./src-BXh4g2VY.js";
|
|
3
3
|
import { t as a } from "./style-composition-uYlczSsB.js";
|
|
4
4
|
import { Button as o } from "@base-ui/react/button";
|
|
5
5
|
import { mergeProps as s } from "@base-ui/react/merge-props";
|
|
@@ -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-BXh4g2VY.js";
|
|
2
|
+
import { l as t } from "./src-R0kgHFPZ.js";
|
|
3
3
|
import { t as n } from "./constants.stylex-bbdiv1fD.js";
|
|
4
4
|
import { r } from "./pierre-theme-BUeJim8s.js";
|
|
5
5
|
import * as i 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-BXh4g2VY.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-bbdiv1fD.js";
|
|
@@ -260,21 +260,22 @@ var C = {
|
|
|
260
260
|
danger: w.dangerText
|
|
261
261
|
};
|
|
262
262
|
function D({ id: e, children: t, isPending: n = !1, pendingLabel: r }) {
|
|
263
|
-
|
|
263
|
+
let i = n && r !== void 0;
|
|
264
|
+
return /* @__PURE__ */ f("span", {
|
|
264
265
|
id: e,
|
|
265
266
|
className: "xwz0xwf xeuugli x193iq5w",
|
|
266
267
|
children: [/* @__PURE__ */ d("span", {
|
|
267
|
-
"aria-hidden":
|
|
268
|
+
"aria-hidden": i,
|
|
268
269
|
...{
|
|
269
|
-
0: { className: "x15r89dc xeuugli" },
|
|
270
|
-
1: { className: "x15r89dc xeuugli xlshs6z" }
|
|
271
|
-
}[!!
|
|
270
|
+
0: { className: "x15r89dc xrvj5dj x1mt1orb xt9c220 x6s0dn4 xl56j7k xbgj81g xeuugli" },
|
|
271
|
+
1: { className: "x15r89dc xrvj5dj x1mt1orb xt9c220 x6s0dn4 xl56j7k xbgj81g xeuugli xlshs6z" }
|
|
272
|
+
}[!!i | 0],
|
|
272
273
|
children: t
|
|
273
|
-
}), /* @__PURE__ */ d("span", {
|
|
274
|
+
}), r !== void 0 && /* @__PURE__ */ d("span", {
|
|
274
275
|
"aria-hidden": !n,
|
|
275
276
|
...{
|
|
276
|
-
0: { className: "x15r89dc xeuugli" },
|
|
277
|
-
1: { className: "x15r89dc xeuugli xlshs6z" }
|
|
277
|
+
0: { className: "x15r89dc xrvj5dj x1mt1orb xt9c220 x6s0dn4 xl56j7k xbgj81g xeuugli" },
|
|
278
|
+
1: { className: "x15r89dc xrvj5dj x1mt1orb xt9c220 x6s0dn4 xl56j7k xbgj81g xeuugli xlshs6z" }
|
|
278
279
|
}[!n | 0],
|
|
279
280
|
children: r
|
|
280
281
|
})]
|
|
@@ -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-BXh4g2VY.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";
|
package/package.json
CHANGED