@mechane-ai/elements 0.22.1 → 0.24.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 -6
- package/dist/ai.js +4 -4
- package/dist/{categorical-values-B_Z-X-tI.js → categorical-values-CPRt9uzI.js} +2 -2
- package/dist/{chart-frame-CT_mfkYD.js → chart-frame-CNr8M_b2.js} +2 -2
- package/dist/{chart-input-C78Vq8ON.js → chart-input-DDAjzy-O.js} +2 -2
- package/dist/charts/cartesian.js +765 -586
- 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-C3wqGP_q.js → code-block-DENC5fD_.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-Dc-pl2ee.js → content-link-CGIua9If.js} +1 -1
- package/dist/content.js +3 -3
- package/dist/elements.css +38 -8
- 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 +298 -233
- package/dist/navigation/commands.js +1 -1
- package/dist/packages/charts/src/cartesian/bar-chart.d.ts +3 -1
- package/dist/packages/charts/src/cartesian/composition-bars.d.ts +2 -1
- package/dist/packages/charts/src/cartesian/time-series.d.ts +3 -1
- package/dist/packages/charts/src/chart-data.d.ts +5 -0
- package/dist/packages/charts/src/chart-frame.d.ts +1 -1
- package/dist/packages/charts/src/chart-inspection.d.ts +24 -0
- package/dist/packages/charts/src/index.d.ts +1 -0
- package/dist/packages/core/src/avatar.d.ts +3 -1
- package/dist/packages/layout/src/app-shell.d.ts +2 -1
- package/dist/packages/layout/src/index.d.ts +2 -0
- package/dist/packages/layout/src/navigation-rail-menu.d.ts +7 -0
- package/dist/packages/layout/src/navigation-rail.d.ts +1 -1
- package/dist/{pierre-tree-Ba80jL2Z.js → pierre-tree-C3nKYyoN.js} +2 -2
- package/dist/{src-CWA2Tigm.js → src-CQOgWIzP.js} +1 -1
- package/dist/{src-D3AGX7uZ.js → src-DHYcohZP.js} +1 -1
- package/dist/{src-F1zdubkU.js → src-DLReNPV9.js} +70 -62
- package/package.json +1 -1
|
@@ -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-CNr8M_b2.js";
|
|
2
|
+
import { n as a, r as o, t as s } from "../chart-input-DDAjzy-O.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,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../use-scroll-tab-index-Dxpdh4W7.js";
|
|
2
|
-
import { a as t, n, r, s as i, t as a } from "../chart-frame-
|
|
3
|
-
import { n as o, t as s } from "../chart-input-
|
|
2
|
+
import { a as t, n, r, s as i, t as a } from "../chart-frame-CNr8M_b2.js";
|
|
3
|
+
import { n as o, t as s } from "../chart-input-DDAjzy-O.js";
|
|
4
4
|
import * as c from "@stylexjs/stylex";
|
|
5
5
|
import { useId as l } from "react";
|
|
6
6
|
import { Fragment as u, jsx as d, jsxs as f } 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-CPRt9uzI.js";
|
|
2
|
+
import { o as r, r as i, s as a } from "../chart-frame-CNr8M_b2.js";
|
|
3
|
+
import { t as o } from "../chart-input-DDAjzy-O.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-DDAjzy-O.js";
|
|
3
|
+
import { a as i, n as a, r as o, s, t as c } from "../chart-frame-CNr8M_b2.js";
|
|
4
4
|
import { t as l } from "../use-scroll-tab-index-Dxpdh4W7.js";
|
|
5
5
|
import * as u from "@stylexjs/stylex";
|
|
6
6
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
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-DLReNPV9.js";
|
|
2
|
+
import { n as t, t as n } from "../chart-input-DDAjzy-O.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, s as chartToneColors } from "./chart-frame-CNr8M_b2.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-DLReNPV9.js";
|
|
2
|
+
import { r as a } from "./src-CQOgWIzP.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-DHYcohZP.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-DENC5fD_.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-DLReNPV9.js";
|
|
2
|
+
import { t as r } from "../code-block-DENC5fD_.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-CGIua9If.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-DENC5fD_.js";
|
|
4
|
+
import { n as r, t as i } from "../content-link-CGIua9If.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";
|
package/dist/content/tree.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as e } from "../src-
|
|
1
|
+
import { E as e } from "../src-DLReNPV9.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-C3nKYyoN.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-DLReNPV9.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-DENC5fD_.js";
|
|
5
|
+
import { t as s } from "./content-link-CGIua9If.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
|
@@ -356,10 +356,6 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
356
356
|
flex: 12ch;
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
.x1iv9x3n {
|
|
360
|
-
flex: 200px;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
359
|
.xk30mkq {
|
|
364
360
|
flex: 240px;
|
|
365
361
|
}
|
|
@@ -1286,6 +1282,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
1286
1282
|
grid-template-columns: minmax(110px, 1fr) minmax(120px, 2fr) minmax(110px, 1fr);
|
|
1287
1283
|
}
|
|
1288
1284
|
|
|
1285
|
+
.xnby9oq {
|
|
1286
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
1289
|
.x10yxpwy {
|
|
1290
1290
|
grid-template-columns: repeat(auto-fill,minmax(var(--x14tmdi9),1fr));
|
|
1291
1291
|
}
|
|
@@ -1402,6 +1402,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
1402
1402
|
object-fit: cover;
|
|
1403
1403
|
}
|
|
1404
1404
|
|
|
1405
|
+
.xuzhngd {
|
|
1406
|
+
opacity: .3;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1405
1409
|
.x1hc1fzr {
|
|
1406
1410
|
opacity: 1;
|
|
1407
1411
|
}
|
|
@@ -2246,6 +2250,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2246
2250
|
bottom: var(--x1qq5i99);
|
|
2247
2251
|
}
|
|
2248
2252
|
|
|
2253
|
+
.xqtp20y {
|
|
2254
|
+
height: 0;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2249
2257
|
.x5yr21d {
|
|
2250
2258
|
height: 100%;
|
|
2251
2259
|
}
|
|
@@ -2558,10 +2566,6 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2558
2566
|
min-height: 35px;
|
|
2559
2567
|
}
|
|
2560
2568
|
|
|
2561
|
-
.x1rtsecp {
|
|
2562
|
-
min-height: calc(var(--xdvbmuj) * 2);
|
|
2563
|
-
}
|
|
2564
|
-
|
|
2565
2569
|
.x1avwmir {
|
|
2566
2570
|
min-height: var(--x10l6e8v);
|
|
2567
2571
|
}
|
|
@@ -2650,6 +2654,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2650
2654
|
overscroll-behavior-y: contain;
|
|
2651
2655
|
}
|
|
2652
2656
|
|
|
2657
|
+
.x1a148e8 {
|
|
2658
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2653
2661
|
.x1wpizpg {
|
|
2654
2662
|
padding-bottom: var(--x1drqizm);
|
|
2655
2663
|
}
|
|
@@ -2770,6 +2778,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2770
2778
|
width: 20px;
|
|
2771
2779
|
}
|
|
2772
2780
|
|
|
2781
|
+
.x1uncgzr {
|
|
2782
|
+
width: 224px;
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2773
2785
|
.xvy4d1p {
|
|
2774
2786
|
width: 24px;
|
|
2775
2787
|
}
|
|
@@ -3012,6 +3024,24 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
3012
3024
|
}
|
|
3013
3025
|
}
|
|
3014
3026
|
|
|
3027
|
+
@media (width <= 639px) {
|
|
3028
|
+
.xannxpe.xannxpe {
|
|
3029
|
+
display: block;
|
|
3030
|
+
}
|
|
3031
|
+
|
|
3032
|
+
.x1xnx9c1.x1xnx9c1 {
|
|
3033
|
+
display: grid;
|
|
3034
|
+
}
|
|
3035
|
+
|
|
3036
|
+
.xfodcyb.xfodcyb {
|
|
3037
|
+
display: inline;
|
|
3038
|
+
}
|
|
3039
|
+
|
|
3040
|
+
.x1boff50.x1boff50 {
|
|
3041
|
+
display: none;
|
|
3042
|
+
}
|
|
3043
|
+
}
|
|
3044
|
+
|
|
3015
3045
|
@media (width <= 600px) {
|
|
3016
3046
|
.xqxxu6g.xqxxu6g {
|
|
3017
3047
|
display: none;
|
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-DHYcohZP.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-CQOgWIzP.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-DLReNPV9.js";
|