@mechane-ai/elements 0.30.0 → 0.31.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.
Files changed (36) hide show
  1. package/dist/ai.js +35 -35
  2. package/dist/{categorical-values-Dfe3nkBV.js → categorical-values-Cfn6nwHi.js} +2 -2
  3. package/dist/{chart-frame-rL7_RAIc.js → chart-frame-C8JU2tlM.js} +9 -9
  4. package/dist/{chart-input-JIyGPusK.js → chart-input-D0hBpH1r.js} +2 -2
  5. package/dist/charts/cartesian.js +6 -6
  6. package/dist/charts/distribution.js +2 -2
  7. package/dist/charts/graph.js +2 -2
  8. package/dist/charts/hierarchy.js +3 -3
  9. package/dist/charts/matrix.js +2 -2
  10. package/dist/charts/timeline.js +3 -3
  11. package/dist/charts.js +1 -1
  12. package/dist/{code-block-BX51BVe1.js → code-block-DlzYynjv.js} +1 -1
  13. package/dist/collections.js +224 -211
  14. package/dist/content/code.js +1 -1
  15. package/dist/content/diff.js +2 -2
  16. package/dist/content/link.js +1 -1
  17. package/dist/content/markdown.js +2 -2
  18. package/dist/content/tree.js +2 -2
  19. package/dist/{content-link-5oRGjDHa.js → content-link-Dh1hon1m.js} +1 -1
  20. package/dist/content.js +1 -1
  21. package/dist/elements.css +33 -23
  22. package/dist/feedback.js +1 -1
  23. package/dist/forms/dates.js +1 -1
  24. package/dist/forms.js +1 -1
  25. package/dist/index.js +1 -1
  26. package/dist/layout.js +392 -318
  27. package/dist/navigation/commands.js +1 -1
  28. package/dist/packages/foundations/src/control-styles.d.ts +3 -0
  29. package/dist/packages/foundations/src/header-styles.d.ts +47 -0
  30. package/dist/packages/layout/src/frame.stylex.d.ts +0 -2
  31. package/dist/{pierre-tree-D2kRr4h4.js → pierre-tree-tdFSl55t.js} +2 -2
  32. package/dist/{src-BfPaaDxg.js → src-Bb2fDOeE.js} +105 -105
  33. package/dist/{src-DlNMCgVy.js → src-CVleZrPa.js} +17 -17
  34. package/dist/{src-eWcNz_oB.js → src-DvLYUTID.js} +14 -14
  35. package/dist/{src-E3Or8tkO.js → src-SE6QORrJ.js} +347 -290
  36. package/package.json +1 -1
@@ -1 +1 @@
1
- export { t as CodeBlock } from "../code-block-BX51BVe1.js";
1
+ export { t as CodeBlock } from "../code-block-DlzYynjv.js";
@@ -1,5 +1,5 @@
1
- import { D as e, _ as t, v as n } from "../src-E3Or8tkO.js";
2
- import { t as r } from "../code-block-BX51BVe1.js";
1
+ import { O as e, v as t, y as n } from "../src-SE6QORrJ.js";
2
+ import { t as r } from "../code-block-DlzYynjv.js";
3
3
  import { t as i } from "../viewer-styles-DsFYri4K.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-5oRGjDHa.js";
1
+ export { t as ContentLink } from "../content-link-Dh1hon1m.js";
@@ -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-BX51BVe1.js";
4
- import { n as r, t as i } from "../content-link-5oRGjDHa.js";
3
+ import { t as n } from "../code-block-DlzYynjv.js";
4
+ import { n as r, t as i } from "../content-link-Dh1hon1m.js";
5
5
  import { t as a } from "../viewer-styles-DsFYri4K.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";
@@ -1,4 +1,4 @@
1
- import { D as e } from "../src-E3Or8tkO.js";
1
+ import { O as e } from "../src-SE6QORrJ.js";
2
2
  import { t } from "../use-scroll-tab-index-Dxpdh4W7.js";
3
3
  import { t as n } from "../viewer-styles-DsFYri4K.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-D2kRr4h4.js");
31
+ let t = await import("../pierre-tree-tdFSl55t.js");
32
32
  e && m({
33
33
  Component: t.PierreTree,
34
34
  hasFailed: !1
@@ -1,4 +1,4 @@
1
- import { O as e } from "./src-E3Or8tkO.js";
1
+ import { k as e } from "./src-SE6QORrJ.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 +1 @@
1
- export { o as JsonViewer, a as LogViewer, r as MediaViewer, i as MediaViewerPlaceholder, n as StackTrace, t as Trace } from "./src-DlNMCgVy.js";
1
+ export { o as JsonViewer, a as LogViewer, r as MediaViewer, i as MediaViewerPlaceholder, n as StackTrace, t as Trace } from "./src-CVleZrPa.js";
package/dist/elements.css CHANGED
@@ -138,11 +138,9 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
138
138
 
139
139
  :root, .xb205vt {
140
140
  --xyyn5jb: 240px;
141
- --x10l6e8v: 34px;
142
141
  --xx48xrz: 8px;
143
- --x1owne4c: 7px;
142
+ --x1owne4c: 8px;
144
143
  --xmfa1iy: 40px;
145
- --x1ma1b3z: 14px;
146
144
  --x7ukacq: 84.0%;
147
145
  --x11mzuvh: 980px;
148
146
  --x13hs181: 44px;
@@ -496,8 +494,8 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
496
494
  padding-block: 0;
497
495
  }
498
496
 
499
- .xmpbh3m {
500
- padding-block: calc((var(--x1m0ogk9) - var(--x14tmdi9) - 1px) / 2);
497
+ .x1yrrsrt {
498
+ padding-block: calc((var(--x1m0ogk9) - var(--x14tmdi9)) / 2);
501
499
  }
502
500
 
503
501
  .x9w77qv {
@@ -548,10 +546,6 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
548
546
  padding-inline: var(--x1iwxfi2);
549
547
  }
550
548
 
551
- .x11sw1hy {
552
- padding-inline: var(--x1ma1b3z);
553
- }
554
-
555
549
  .xksvo5r {
556
550
  padding-inline: var(--x1owne4c);
557
551
  }
@@ -2358,10 +2352,6 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
2358
2352
  height: var(--x-height);
2359
2353
  }
2360
2354
 
2361
- .x15rya3k {
2362
- height: var(--x10l6e8v);
2363
- }
2364
-
2365
2355
  .x1f9pz31 {
2366
2356
  height: var(--x14tmdi9);
2367
2357
  }
@@ -2578,10 +2568,6 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
2578
2568
  min-height: 35px;
2579
2569
  }
2580
2570
 
2581
- .x1avwmir {
2582
- min-height: var(--x10l6e8v);
2583
- }
2584
-
2585
2571
  .x17tes2r {
2586
2572
  min-height: var(--x14tmdi9);
2587
2573
  }
@@ -2714,6 +2700,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
2714
2700
  padding-top: var(--x1iwxfi2);
2715
2701
  }
2716
2702
 
2703
+ .xmblgzg {
2704
+ padding-top: var(--x1qq5i99);
2705
+ }
2706
+
2717
2707
  .x1lk341d {
2718
2708
  padding-top: var(--xjighox);
2719
2709
  }
@@ -2981,8 +2971,8 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
2981
2971
 
2982
2972
  @layer priority6 {
2983
2973
  @media (pointer: coarse) {
2984
- .xc06uyd.xc06uyd {
2985
- padding-block: calc((var(--x1m0ogk9) - var(--x6uufy4) - 1px) / 2);
2974
+ .x1c526fk.x1c526fk {
2975
+ padding-block: calc((var(--x1m0ogk9) - var(--x6uufy4)) / 2);
2986
2976
  }
2987
2977
 
2988
2978
  .x1r6zayv.x1r6zayv {
@@ -2997,8 +2987,8 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
2997
2987
  }
2998
2988
 
2999
2989
  @media (width <= 800px) {
3000
- .xn5eaz9.xn5eaz9 {
3001
- padding-inline: var(--x1ma1b3z);
2990
+ .x7qzpmf.x7qzpmf {
2991
+ padding-inline: var(--xnv5ly4);
3002
2992
  }
3003
2993
  }
3004
2994
 
@@ -3274,6 +3264,14 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
3274
3264
  }
3275
3265
  }
3276
3266
 
3267
+ .xd54j2p:after {
3268
+ inset-block: 0;
3269
+ }
3270
+
3271
+ .xb7ltuz:after {
3272
+ inset-inline: 0;
3273
+ }
3274
+
3277
3275
  .x1ccaobo:after {
3278
3276
  inset-inline: var(--x1drqizm);
3279
3277
  }
@@ -3368,7 +3366,7 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
3368
3366
  background-color: var(--x7wqmh8);
3369
3367
  }
3370
3368
 
3371
- .x1mi36wk:before {
3369
+ .x1mi36wk:before, .xtccgxd:after {
3372
3370
  background-color: var(--xe11pje);
3373
3371
  }
3374
3372
 
@@ -3412,6 +3410,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
3412
3410
  font-weight: var(--x15yhtsr);
3413
3411
  }
3414
3412
 
3413
+ .x1unh1gc:after {
3414
+ inset-inline-end: 0;
3415
+ }
3416
+
3415
3417
  .x1682cnc:before {
3416
3418
  inset-inline-start: 0;
3417
3419
  }
@@ -3518,6 +3520,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
3518
3520
  height: 16px;
3519
3521
  }
3520
3522
 
3523
+ .xcock1l:after {
3524
+ height: 1px;
3525
+ }
3526
+
3521
3527
  .xdq3lnv:before {
3522
3528
  height: 20px;
3523
3529
  }
@@ -3542,6 +3548,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
3542
3548
  min-height: calc(var(--x14tmdi9) - 2px);
3543
3549
  }
3544
3550
 
3551
+ .x1m1drc7:after {
3552
+ top: 0;
3553
+ }
3554
+
3545
3555
  .x1gi6gvw:before {
3546
3556
  top: 24px;
3547
3557
  }
@@ -3554,7 +3564,7 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
3554
3564
  width: 16px;
3555
3565
  }
3556
3566
 
3557
- .x1vgi0k:before {
3567
+ .x1vgi0k:before, .xv6d0c5:after {
3558
3568
  width: 1px;
3559
3569
  }
3560
3570
 
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-eWcNz_oB.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-DvLYUTID.js";
@@ -1,4 +1,4 @@
1
- import { D as e, w as t } from "../src-E3Or8tkO.js";
1
+ import { O as e, T as t } from "../src-SE6QORrJ.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-BfPaaDxg.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-Bb2fDOeE.js";
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { g as Accordion, y as AgentAvatar, C as Avatar, t as Badge, w as Button, _ as Collapsible, u as Columns, v as CopyValue, d as Divider, n as Heading, T as IconButton, E as IconLink, r as Identifier, i as Muted, f as Panel, a as Prose, p as Row, l as SectionHeading, m as Stack, o as Status, s as Subheading, h as SurfaceLink, c as Text, D as TextButton, O as TextLink, b as agentAppearance, x as agentAvatarColors, S as agentAvatarShapes } from "./src-E3Or8tkO.js";
1
+ export { _ as Accordion, b as AgentAvatar, w as Avatar, t as Badge, T as Button, v as Collapsible, d as Columns, y as CopyValue, f as Divider, n as Heading, E as IconButton, D as IconLink, r as Identifier, i as Muted, p as Panel, a as Prose, m as Row, l as SectionHeading, h as Stack, o as Status, s as Subheading, g as SurfaceLink, c as Text, O as TextButton, k as TextLink, x as agentAppearance, S as agentAvatarColors, C as agentAvatarShapes } from "./src-SE6QORrJ.js";