@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 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-CyJd2qSZ.js";
2
- import { t as l } from "./content-link-CEx2s1MU.js";
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-C9GQP3px.js";
5
- import { c as m, u as h } from "./src-BkXlN6aZ.js";
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-Dm8UNfYD.js";
2
- import { n } from "./chart-input-ceiMZYI-.js";
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,4 +1,4 @@
1
- import { g as e } from "./src-CyJd2qSZ.js";
1
+ import { g as e } from "./src-BXh4g2VY.js";
2
2
  import { n as t, r as n } from "./tokens.stylex-DTHHFbyl.js";
3
3
  import * as r from "@stylexjs/stylex";
4
4
  import { useId as i } from "react";
@@ -1,5 +1,5 @@
1
- import { m as e } from "./src-C9GQP3px.js";
2
- import { r as t } from "./chart-frame-Dm8UNfYD.js";
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) {
@@ -1,10 +1,10 @@
1
- import { u as e } from "../src-C9GQP3px.js";
2
- import { i as t, n, r, t as i } from "../categorical-values-BnWfIPlv.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-Dm8UNfYD.js";
4
- import { n as f, r as p, t as m } from "../chart-input-ceiMZYI-.js";
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-CyJd2qSZ.js";
7
- import { g as _ } from "../src-BkXlN6aZ.js";
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-Dm8UNfYD.js";
2
- import { n as a, r as o, t as s } from "../chart-input-ceiMZYI-.js";
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";
@@ -1,5 +1,5 @@
1
- import { a as e, n as t, r as n, s as r, t as i } from "../chart-frame-Dm8UNfYD.js";
2
- import { n as a, t as o } from "../chart-input-ceiMZYI-.js";
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";
@@ -1,6 +1,6 @@
1
- import { i as e, r as t, t as n } from "../categorical-values-BnWfIPlv.js";
2
- import { o as r, r as i, s as a } from "../chart-frame-Dm8UNfYD.js";
3
- import { t as o } from "../chart-input-ceiMZYI-.js";
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";
@@ -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-ceiMZYI-.js";
3
- import { a as i, n as a, r as o, s, t as c } from "../chart-frame-Dm8UNfYD.js";
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
@@ -1,5 +1,5 @@
1
- import { c as e } from "../src-CyJd2qSZ.js";
2
- import { n as t, t as n } from "../chart-input-ceiMZYI-.js";
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-Dm8UNfYD.js";
1
+ export { r as ChartFrame, i as ChartLegend } from "./chart-frame-Bf1l_7-R.js";
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./src-CyJd2qSZ.js";
1
+ import { _ as e } from "./src-BXh4g2VY.js";
2
2
  import { r as t } from "./tokens.stylex-DTHHFbyl.js";
3
3
  import { t as n } from "./viewer-styles-CpHqp5Qv.js";
4
4
  import { t as r } from "./pierre-theme-BUeJim8s.js";
@@ -1,7 +1,7 @@
1
- import { C as e, c as t, f as n, g as r, w as i } from "./src-CyJd2qSZ.js";
2
- import { r as a } from "./src-BkXlN6aZ.js";
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-C9GQP3px.js";
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";
@@ -1 +1 @@
1
- export { t as CodeBlock } from "../code-block-D07N6mYS.js";
1
+ export { t as CodeBlock } from "../code-block-DB42-a0M.js";
@@ -1,5 +1,5 @@
1
- import { E as e, _ as t, g as n } from "../src-CyJd2qSZ.js";
2
- import { t as r } from "../code-block-D07N6mYS.js";
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";
@@ -1 +1 @@
1
- export { t as ContentLink } from "../content-link-CEx2s1MU.js";
1
+ export { t as ContentLink } from "../content-link-rdxJ94P8.js";
@@ -1,5 +1,5 @@
1
- import { t as e } from "../code-block-D07N6mYS.js";
2
- import { n as t, t as n } from "../content-link-CEx2s1MU.js";
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";
@@ -1,4 +1,4 @@
1
- import { E as e } from "../src-CyJd2qSZ.js";
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-CBBDlJ_Y.js");
30
+ let t = await import("../pierre-tree-BaIVTNmG.js");
31
31
  e && f({
32
32
  Component: t.PierreTree,
33
33
  hasFailed: !1
@@ -1,4 +1,4 @@
1
- import { D as e } from "./src-CyJd2qSZ.js";
1
+ import { D as e } from "./src-BXh4g2VY.js";
2
2
  import "@stylexjs/stylex";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
4
  // packages/content/src/content-link.tsx
package/dist/content.js CHANGED
@@ -1,7 +1,7 @@
1
- import { C as e, E as t, _ as n, g as r } from "./src-CyJd2qSZ.js";
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-D07N6mYS.js";
4
- import { t as o } from "./content-link-CEx2s1MU.js";
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-C9GQP3px.js";
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";
@@ -1,4 +1,4 @@
1
- import { C as e, E as t } from "../src-CyJd2qSZ.js";
1
+ import { C as e, E as t } from "../src-BXh4g2VY.js";
2
2
  import { r as n } from "../src-d7EAi61b.js";
3
3
  import "@stylexjs/stylex";
4
4
  import { useState as r } from "react";
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-BkXlN6aZ.js";
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-CyJd2qSZ.js";
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-CyJd2qSZ.js";
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,4 +1,4 @@
1
- import { l as e } from "../src-BkXlN6aZ.js";
1
+ import { l as e } from "../src-R0kgHFPZ.js";
2
2
  import { s as t } from "../src-d7EAi61b.js";
3
3
  import { n } from "../navigation-D2_sGy3C.js";
4
4
  import "@stylexjs/stylex";
@@ -1,5 +1,5 @@
1
- import { c as e } from "./src-CyJd2qSZ.js";
2
- import { l as t } from "./src-BkXlN6aZ.js";
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-CyJd2qSZ.js";
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
- return r === void 0 ? t : /* @__PURE__ */ f("span", {
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": n,
268
+ "aria-hidden": i,
268
269
  ...{
269
- 0: { className: "x15r89dc xeuugli" },
270
- 1: { className: "x15r89dc xeuugli xlshs6z" }
271
- }[!!n | 0],
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-CyJd2qSZ.js";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mechane-ai/elements",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "Elements by Mechane — React components for applications, AI interfaces, and analytical graphics",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {