@mechane-ai/elements 0.10.0 → 0.12.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 +8 -4
- package/dist/ai.js +56 -41
- package/dist/{categorical-values-DLRE4EEW.js → categorical-values-CTrHn9jH.js} +2 -2
- package/dist/{chart-frame-et6f6Vhg.js → chart-frame-38ES6kwK.js} +4 -4
- package/dist/{chart-input-CdLkFomi.js → chart-input-C9fu7f1Q.js} +2 -2
- package/dist/charts/cartesian.js +6 -6
- package/dist/charts/distribution.js +2 -2
- package/dist/charts/graph.js +3 -3
- package/dist/charts/hierarchy.js +3 -3
- package/dist/charts/matrix.js +2 -2
- package/dist/charts/timeline.js +17 -16
- package/dist/charts.js +1 -1
- package/dist/{code-block-D77maJBB.js → code-block-BjV2EFZS.js} +2 -2
- package/dist/collections.js +376 -291
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +3 -3
- 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-BpSZeTNK.js → content-link-C460m-O7.js} +1 -1
- package/dist/content.js +3 -4
- package/dist/elements.css +251 -128
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +22 -23
- package/dist/forms.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layout.js +223 -237
- package/dist/navigation/commands.js +3 -3
- package/dist/overlays.js +1 -1
- package/dist/packages/ai/src/conversation.d.ts +14 -2
- package/dist/packages/ai/src/index.d.ts +1 -1
- package/dist/packages/charts/src/timeline/waterfall.d.ts +3 -2
- package/dist/packages/collections/src/collection-controls.d.ts +1 -1
- package/dist/packages/collections/src/data-table.d.ts +5 -4
- package/dist/packages/collections/src/index.d.ts +2 -1
- package/dist/packages/collections/src/inspector.d.ts +6 -3
- package/dist/packages/core/src/actions.d.ts +5 -8
- package/dist/packages/core/src/agent-avatar-glyphs.d.ts +1 -1
- package/dist/packages/feedback/src/control-placeholders.d.ts +16 -0
- package/dist/packages/feedback/src/index.d.ts +2 -0
- package/dist/packages/forms/src/field-styles.d.ts +2 -74
- package/dist/packages/forms/src/form-actions.d.ts +11 -0
- package/dist/packages/forms/src/form-controls.d.ts +1 -1
- package/dist/packages/forms/src/forms.d.ts +3 -3
- package/dist/packages/forms/src/index.d.ts +2 -0
- package/dist/packages/forms/src/select.d.ts +2 -2
- package/dist/packages/forms/src/selection-styles.d.ts +0 -13
- package/dist/packages/foundations/src/control-styles.d.ts +101 -0
- package/dist/packages/foundations/src/style-composition.d.ts +0 -2
- package/dist/packages/foundations/src/tokens.stylex.d.ts +8 -2
- package/dist/packages/layout/src/frame.stylex.d.ts +0 -1
- package/dist/packages/layout/src/index.d.ts +2 -0
- package/dist/packages/layout/src/page-content.d.ts +5 -0
- package/dist/packages/layout/src/page-toolbar.d.ts +1 -1
- package/dist/packages/layout/src/sidebar.d.ts +3 -3
- package/dist/{pierre-diff--zsiHCCB.js → pierre-diff-sUAU-xeL.js} +1 -1
- package/dist/{pierre-theme-D9hnHv3Z.js → pierre-theme-CBAncKdH.js} +1 -1
- package/dist/{pierre-tree-BFxEuxwb.js → pierre-tree-DKN2eGlZ.js} +3 -3
- package/dist/{src-sU9b0oZW.js → src-3gzujMhN.js} +861 -319
- package/dist/{src-CBspCKfO.js → src-CI6KtN2w.js} +366 -307
- package/dist/{src-Cs0dRc4X.js → src-CVlgjAlw.js} +1 -1
- package/dist/src-DOzle5d4.js +1199 -0
- package/dist/tokens.js +38 -32
- package/package.json +1 -1
- package/packages/foundations/src/tokens.stylex.ts +61 -53
- package/dist/src-Be7NLG8c.js +0 -1242
package/dist/content/code.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as CodeBlock } from "../code-block-
|
|
1
|
+
export { t as CodeBlock } from "../code-block-BjV2EFZS.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-3gzujMhN.js";
|
|
2
|
+
import { t as r } from "../code-block-BjV2EFZS.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";
|
|
@@ -44,7 +44,7 @@ function m(n) {
|
|
|
44
44
|
let e = !0;
|
|
45
45
|
async function t() {
|
|
46
46
|
if (!A) try {
|
|
47
|
-
let t = await import("../pierre-diff
|
|
47
|
+
let t = await import("../pierre-diff-sUAU-xeL.js"), n = t.prepareDiff(x);
|
|
48
48
|
e && w({
|
|
49
49
|
source: x,
|
|
50
50
|
Component: t.PierreDiff,
|
package/dist/content/link.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ContentLink } from "../content-link-
|
|
1
|
+
export { t as ContentLink } from "../content-link-C460m-O7.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-BjV2EFZS.js";
|
|
2
|
+
import { n as t, t as n } from "../content-link-C460m-O7.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-3gzujMhN.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-DKN2eGlZ.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-3gzujMhN.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-BjV2EFZS.js";
|
|
4
|
+
import { t as o } from "./content-link-C460m-O7.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";
|
|
@@ -163,7 +163,6 @@ function O({ output: t, label: r, maxLines: a = 500, maxHeight: o = 320, isRunni
|
|
|
163
163
|
}), /* @__PURE__ */ p("div", {
|
|
164
164
|
...s.props(i.actions),
|
|
165
165
|
children: [/* @__PURE__ */ f(e, {
|
|
166
|
-
size: "sm",
|
|
167
166
|
variant: "ghost",
|
|
168
167
|
onClick: () => g(!h),
|
|
169
168
|
children: h ? "Pause following" : "Follow output"
|