@mechane-ai/elements 0.7.1 → 0.9.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/README.md +73 -36
- package/dist/ai.js +231 -170
- package/dist/assets/stylex.css +464 -166
- package/dist/{categorical-values-75J0TUkR.js → categorical-values-DYRiw5Qd.js} +2 -2
- package/dist/{chart-frame--DOsZKwP.js → chart-frame-RL1hCWBC.js} +2 -1
- package/dist/{chart-input-C-g586YE.js → chart-input-Bm3ot1yD.js} +2 -2
- package/dist/charts/cartesian.js +6 -5
- 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 +1 -1
- package/dist/charts.js +1 -1
- package/dist/{code-block-D0Jmsj7w.js → code-block-B30xQKqg.js} +1 -1
- package/dist/collections.js +369 -244
- 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 +4 -4
- package/dist/content/tree.js +2 -2
- package/dist/{content-link-HLYu0cmz.js → content-link-BrPrpBof.js} +1 -1
- package/dist/content.js +35 -35
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +7 -7
- package/dist/forms.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layout.js +144 -91
- package/dist/navigation/commands.js +1 -1
- package/dist/packages/ai/src/conversation.d.ts +2 -1
- package/dist/packages/ai/src/index.d.ts +4 -0
- package/dist/packages/ai/src/message-action.d.ts +10 -0
- package/dist/packages/ai/src/message-boundary.d.ts +6 -0
- package/dist/packages/ai/src/message.d.ts +2 -1
- package/dist/packages/charts/src/chart-theme.d.ts +1 -0
- package/dist/packages/collections/src/data-table.d.ts +9 -1
- package/dist/packages/collections/src/index.d.ts +4 -2
- package/dist/packages/collections/src/metrics.d.ts +5 -2
- package/dist/packages/collections/src/timeline.d.ts +26 -0
- package/dist/packages/core/src/actions.d.ts +7 -0
- package/dist/packages/core/src/agent-avatar-glyphs.d.ts +5 -0
- package/dist/packages/core/src/agent-avatar.d.ts +17 -0
- package/dist/packages/core/src/copy-value.d.ts +2 -1
- package/dist/packages/core/src/index.d.ts +5 -1
- package/dist/packages/forms/src/agent-avatar-picker.d.ts +8 -0
- package/dist/packages/forms/src/field-styles.d.ts +19 -0
- package/dist/packages/forms/src/forms.d.ts +2 -1
- package/dist/packages/forms/src/index.d.ts +2 -0
- package/dist/packages/foundations/src/tokens.stylex.d.ts +52 -0
- package/dist/packages/layout/src/app-shell.d.ts +2 -1
- package/dist/packages/layout/src/index.d.ts +2 -1
- package/dist/packages/layout/src/page-toolbar.d.ts +3 -1
- package/dist/packages/layout/src/sidebar.d.ts +4 -0
- package/dist/packages/layout/src/view-stack.d.ts +13 -0
- package/dist/packages/layout/src/workbench.d.ts +5 -2
- package/dist/{pierre-tree-DVybsnm4.js → pierre-tree-CRk09rx7.js} +2 -2
- package/dist/{src-DjTM64tN.js → src-Cc0Sadzr.js} +378 -295
- package/dist/{src-B_DCatpY.js → src-DuuAmS-c.js} +1 -1
- package/dist/src-elMBQ2Dh.js +1087 -0
- package/dist/theme.js +1 -1
- package/dist/tokens.js +61 -10
- package/package.json +1 -1
- package/packages/foundations/src/tokens.stylex.ts +54 -0
- package/dist/src-BkCsvZGi.js +0 -675
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, o as t } from "./chart-frame
|
|
2
|
-
import { n } from "./chart-input-
|
|
1
|
+
import { n as e, o as t } from "./chart-frame-RL1hCWBC.js";
|
|
2
|
+
import { n } from "./chart-input-Bm3ot1yD.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 { h as e } from "./src-
|
|
1
|
+
import { h as e } from "./src-elMBQ2Dh.js";
|
|
2
2
|
import { chartColors as t, colors as n } from "./tokens.js";
|
|
3
3
|
import * as r from "@stylexjs/stylex";
|
|
4
4
|
import { useId as i } from "react";
|
|
@@ -58,6 +58,7 @@ var s = {
|
|
|
58
58
|
$$css: !0
|
|
59
59
|
},
|
|
60
60
|
focus: {
|
|
61
|
+
k3XXqK: "x1t137rt",
|
|
61
62
|
kZs9gx: "x19rmrnh",
|
|
62
63
|
k7shQP: "x9v5kkp",
|
|
63
64
|
kPJHz1: "x13qnu6",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as e } from "./src-
|
|
2
|
-
import { r as t } from "./chart-frame
|
|
1
|
+
import { d as e } from "./src-DuuAmS-c.js";
|
|
2
|
+
import { r as t } from "./chart-frame-RL1hCWBC.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,9 +1,9 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../categorical-values-
|
|
2
|
-
import { a as i, i as a, n as o, o as s, r as c, t as l } from "../chart-frame
|
|
3
|
-
import { n as u, r as d, t as f } from "../chart-input-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../categorical-values-DYRiw5Qd.js";
|
|
2
|
+
import { a as i, i as a, n as o, o as s, r as c, t as l } from "../chart-frame-RL1hCWBC.js";
|
|
3
|
+
import { n as u, r as d, t as f } from "../chart-input-Bm3ot1yD.js";
|
|
4
4
|
import { t as p } from "../plot-width--OgdohB5.js";
|
|
5
|
-
import {
|
|
6
|
-
import { h } from "../src-
|
|
5
|
+
import { T as m } from "../src-elMBQ2Dh.js";
|
|
6
|
+
import { h } from "../src-Cc0Sadzr.js";
|
|
7
7
|
import { colors as g } from "../tokens.js";
|
|
8
8
|
import * as _ from "@stylexjs/stylex";
|
|
9
9
|
import { useEffect as v, useId as y, useMemo as b, useRef as x, useState as S } from "react";
|
|
@@ -777,6 +777,7 @@ function Z({ title: e, summary: t, unit: n, series: r, valueDomain: i }) {
|
|
|
777
777
|
// packages/charts/src/cartesian/time-series.tsx
|
|
778
778
|
var le = { plot: {
|
|
779
779
|
k7Eaqz: "xeuugli",
|
|
780
|
+
k3XXqK: "x1t137rt",
|
|
780
781
|
kInvED: "x1hl8ikr",
|
|
781
782
|
kZs9gx: "x19rmrnh",
|
|
782
783
|
k7shQP: "x9v5kkp",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "../chart-frame
|
|
2
|
-
import { n as i, r as a, t as o } from "../chart-input-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "../chart-frame-RL1hCWBC.js";
|
|
2
|
+
import { n as i, r as a, t as o } from "../chart-input-Bm3ot1yD.js";
|
|
3
3
|
import { t as s } from "../plot-width--OgdohB5.js";
|
|
4
4
|
import * as c from "@stylexjs/stylex";
|
|
5
5
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
package/dist/charts/graph.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as e, r as t, t as n } from "../chart-frame
|
|
2
|
-
import { n as r, t as i } from "../chart-input-
|
|
1
|
+
import { o as e, r as t, t as n } from "../chart-frame-RL1hCWBC.js";
|
|
2
|
+
import { n as r, t as i } from "../chart-input-Bm3ot1yD.js";
|
|
3
3
|
import * as a from "@stylexjs/stylex";
|
|
4
4
|
import { useId as o } from "react";
|
|
5
5
|
import { Fragment as s, jsx as c, jsxs as l } 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 { a as r, o as i, r 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-DYRiw5Qd.js";
|
|
2
|
+
import { a as r, o as i, r as a } from "../chart-frame-RL1hCWBC.js";
|
|
3
|
+
import { t as o } from "../chart-input-Bm3ot1yD.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 { colors as e } from "../tokens.js";
|
|
2
|
-
import { n as t, r as n, t as r } from "../chart-input-
|
|
3
|
-
import { n as i, o as a, r as o, t as s } from "../chart-frame
|
|
2
|
+
import { n as t, r as n, t as r } from "../chart-input-Bm3ot1yD.js";
|
|
3
|
+
import { n as i, o as a, r as o, t as s } from "../chart-frame-RL1hCWBC.js";
|
|
4
4
|
import * as c from "@stylexjs/stylex";
|
|
5
5
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
6
6
|
// packages/charts/src/matrix/heatmap-scale.ts
|
package/dist/charts/timeline.js
CHANGED
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-RL1hCWBC.js";
|