@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.
Files changed (66) hide show
  1. package/README.md +8 -4
  2. package/dist/ai.js +56 -41
  3. package/dist/{categorical-values-DLRE4EEW.js → categorical-values-CTrHn9jH.js} +2 -2
  4. package/dist/{chart-frame-et6f6Vhg.js → chart-frame-38ES6kwK.js} +4 -4
  5. package/dist/{chart-input-CdLkFomi.js → chart-input-C9fu7f1Q.js} +2 -2
  6. package/dist/charts/cartesian.js +6 -6
  7. package/dist/charts/distribution.js +2 -2
  8. package/dist/charts/graph.js +3 -3
  9. package/dist/charts/hierarchy.js +3 -3
  10. package/dist/charts/matrix.js +2 -2
  11. package/dist/charts/timeline.js +17 -16
  12. package/dist/charts.js +1 -1
  13. package/dist/{code-block-D77maJBB.js → code-block-BjV2EFZS.js} +2 -2
  14. package/dist/collections.js +376 -291
  15. package/dist/content/code.js +1 -1
  16. package/dist/content/diff.js +3 -3
  17. package/dist/content/link.js +1 -1
  18. package/dist/content/markdown.js +2 -2
  19. package/dist/content/tree.js +2 -2
  20. package/dist/{content-link-BpSZeTNK.js → content-link-C460m-O7.js} +1 -1
  21. package/dist/content.js +3 -4
  22. package/dist/elements.css +251 -128
  23. package/dist/feedback.js +1 -1
  24. package/dist/forms/dates.js +22 -23
  25. package/dist/forms.js +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/layout.js +223 -237
  28. package/dist/navigation/commands.js +3 -3
  29. package/dist/overlays.js +1 -1
  30. package/dist/packages/ai/src/conversation.d.ts +14 -2
  31. package/dist/packages/ai/src/index.d.ts +1 -1
  32. package/dist/packages/charts/src/timeline/waterfall.d.ts +3 -2
  33. package/dist/packages/collections/src/collection-controls.d.ts +1 -1
  34. package/dist/packages/collections/src/data-table.d.ts +5 -4
  35. package/dist/packages/collections/src/index.d.ts +2 -1
  36. package/dist/packages/collections/src/inspector.d.ts +6 -3
  37. package/dist/packages/core/src/actions.d.ts +5 -8
  38. package/dist/packages/core/src/agent-avatar-glyphs.d.ts +1 -1
  39. package/dist/packages/feedback/src/control-placeholders.d.ts +16 -0
  40. package/dist/packages/feedback/src/index.d.ts +2 -0
  41. package/dist/packages/forms/src/field-styles.d.ts +2 -74
  42. package/dist/packages/forms/src/form-actions.d.ts +11 -0
  43. package/dist/packages/forms/src/form-controls.d.ts +1 -1
  44. package/dist/packages/forms/src/forms.d.ts +3 -3
  45. package/dist/packages/forms/src/index.d.ts +2 -0
  46. package/dist/packages/forms/src/select.d.ts +2 -2
  47. package/dist/packages/forms/src/selection-styles.d.ts +0 -13
  48. package/dist/packages/foundations/src/control-styles.d.ts +101 -0
  49. package/dist/packages/foundations/src/style-composition.d.ts +0 -2
  50. package/dist/packages/foundations/src/tokens.stylex.d.ts +8 -2
  51. package/dist/packages/layout/src/frame.stylex.d.ts +0 -1
  52. package/dist/packages/layout/src/index.d.ts +2 -0
  53. package/dist/packages/layout/src/page-content.d.ts +5 -0
  54. package/dist/packages/layout/src/page-toolbar.d.ts +1 -1
  55. package/dist/packages/layout/src/sidebar.d.ts +3 -3
  56. package/dist/{pierre-diff--zsiHCCB.js → pierre-diff-sUAU-xeL.js} +1 -1
  57. package/dist/{pierre-theme-D9hnHv3Z.js → pierre-theme-CBAncKdH.js} +1 -1
  58. package/dist/{pierre-tree-BFxEuxwb.js → pierre-tree-DKN2eGlZ.js} +3 -3
  59. package/dist/{src-sU9b0oZW.js → src-3gzujMhN.js} +861 -319
  60. package/dist/{src-CBspCKfO.js → src-CI6KtN2w.js} +366 -307
  61. package/dist/{src-Cs0dRc4X.js → src-CVlgjAlw.js} +1 -1
  62. package/dist/src-DOzle5d4.js +1199 -0
  63. package/dist/tokens.js +38 -32
  64. package/package.json +1 -1
  65. package/packages/foundations/src/tokens.stylex.ts +61 -53
  66. package/dist/src-Be7NLG8c.js +0 -1242
@@ -1 +1 @@
1
- export { t as CodeBlock } from "../code-block-D77maJBB.js";
1
+ export { t as CodeBlock } from "../code-block-BjV2EFZS.js";
@@ -1,5 +1,5 @@
1
- import { E as e, _ as t, g as n } from "../src-sU9b0oZW.js";
2
- import { t as r } from "../code-block-D77maJBB.js";
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--zsiHCCB.js"), n = t.prepareDiff(x);
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,
@@ -1 +1 @@
1
- export { t as ContentLink } from "../content-link-BpSZeTNK.js";
1
+ export { t as ContentLink } from "../content-link-C460m-O7.js";
@@ -1,5 +1,5 @@
1
- import { t as e } from "../code-block-D77maJBB.js";
2
- import { n as t, t as n } from "../content-link-BpSZeTNK.js";
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";
@@ -1,4 +1,4 @@
1
- import { E as e } from "../src-sU9b0oZW.js";
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-BFxEuxwb.js");
30
+ let t = await import("../pierre-tree-DKN2eGlZ.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-sU9b0oZW.js";
1
+ import { D as e } from "./src-3gzujMhN.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-sU9b0oZW.js";
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-D77maJBB.js";
4
- import { t as o } from "./content-link-BpSZeTNK.js";
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"