@mechane-ai/elements 0.41.0 → 0.42.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 (65) hide show
  1. package/README.md +40 -9
  2. package/bin/catalog.d.mts +17 -0
  3. package/bin/mechane-elements-catalog.mjs +60 -0
  4. package/dist/agent.js +1 -1
  5. package/dist/ai.js +23 -23
  6. package/dist/catalog.json +1896 -0
  7. package/dist/{categorical-values-DnGR_pQx.js → categorical-values-B6lGI7BH.js} +3 -3
  8. package/dist/{chart-frame-BsyI1Zc8.js → chart-frame-D0enjyj9.js} +1 -1
  9. package/dist/{chart-input-r4S3-QCT.js → chart-input-D4_Awave.js} +2 -2
  10. package/dist/{chart-navigation-D7OkLdSx.js → chart-navigation-D4-pdgpj.js} +12 -1
  11. package/dist/charts/cartesian.js +263 -243
  12. package/dist/charts/distribution.js +4 -4
  13. package/dist/charts/graph.js +4 -4
  14. package/dist/charts/hierarchy.js +4 -4
  15. package/dist/charts/matrix.js +4 -4
  16. package/dist/charts/timeline.js +3 -3
  17. package/dist/charts.js +2 -2
  18. package/dist/{code-block-C4K1sM9O.js → code-block-Cpfr7B6a.js} +1 -1
  19. package/dist/collections.js +475 -354
  20. package/dist/content/code.js +1 -1
  21. package/dist/content/diff.js +3 -3
  22. package/dist/content/link.js +1 -1
  23. package/dist/content/markdown.js +2 -2
  24. package/dist/content/tree.js +2 -2
  25. package/dist/{content-link-CBDqSvgP.js → content-link-CGeFFb9F.js} +1 -1
  26. package/dist/content.js +1 -1
  27. package/dist/feedback.js +1 -1
  28. package/dist/forms/dates.js +11 -11
  29. package/dist/{forms-I-WMHTkr.js → forms-DeU0Tiv3.js} +6 -2
  30. package/dist/forms.js +3 -3
  31. package/dist/index.js +1 -1
  32. package/dist/layout.js +275 -249
  33. package/dist/mechane-elements-catalog.mjs +4 -0
  34. package/dist/navigation.js +2 -2
  35. package/dist/packages/charts/src/chart-inspection.d.ts +1 -0
  36. package/dist/packages/charts/src/chart-navigation.d.ts +2 -0
  37. package/dist/packages/charts/src/chart-surface.d.ts +2 -0
  38. package/dist/packages/collections/src/collection-controls.d.ts +2 -1
  39. package/dist/packages/collections/src/data-table.d.ts +12 -8
  40. package/dist/packages/collections/src/index.d.ts +1 -0
  41. package/dist/packages/collections/src/table-results.d.ts +26 -0
  42. package/dist/packages/core/src/actions.d.ts +6 -0
  43. package/dist/packages/core/src/index.d.ts +1 -1
  44. package/dist/packages/forms/src/form-status.d.ts +7 -0
  45. package/dist/packages/forms/src/forms.d.ts +3 -1
  46. package/dist/packages/forms/src/index.d.ts +2 -0
  47. package/dist/packages/foundations/src/agent/index.d.ts +2 -2
  48. package/dist/packages/layout/src/page-context.d.ts +4 -0
  49. package/dist/packages/navigation/src/index.d.ts +1 -0
  50. package/dist/packages/navigation/src/route-link.d.ts +2 -0
  51. package/dist/{pierre-diff-DJ3oOfPX.js → pierre-diff-B3tD3-6z.js} +1 -1
  52. package/dist/{src-D2OHco8V.js → src-Bk7M67zy.js} +3 -3
  53. package/dist/{src-DfOAlAd2.js → src-BpvnBWrF.js} +1 -1
  54. package/dist/{src-CQQvXi7a.js → src-DBNncL7_.js} +70 -50
  55. package/dist/{src-s3tWwnN4.js → src-DcW_gMX8.js} +178 -168
  56. package/dist/{src-CNV1ewzb.js → src-gqEebHEa.js} +319 -285
  57. package/package.json +9 -2
  58. package/recipes/consequential-form.tsx +132 -0
  59. package/recipes/searchable-collection.tsx +106 -0
  60. package/recipes/sectioned-report.tsx +58 -0
  61. package/recipes/tabbed-workspace.tsx +84 -0
  62. package/skills/extend-elements/SKILL.md +28 -0
  63. package/skills/use-elements/SKILL.md +36 -0
  64. package/skills/{elements-presentation/SKILL.md → use-elements/references/reports.md} +0 -6
  65. package/skills/{elements-workspace/SKILL.md → use-elements/references/workspace.md} +0 -6
@@ -1,7 +1,7 @@
1
- import { c as e } from "../src-DfOAlAd2.js";
2
- import { a as t, n, t as r } from "../chart-navigation-D7OkLdSx.js";
3
- import { i, n as a, t as o } from "../chart-frame-BsyI1Zc8.js";
4
- import { n as s, r as c, t as l } from "../chart-input-r4S3-QCT.js";
1
+ import { c as e } from "../src-BpvnBWrF.js";
2
+ import { a as t, n, t as r } from "../chart-navigation-D4-pdgpj.js";
3
+ import { i, n as a, t as o } from "../chart-frame-D0enjyj9.js";
4
+ import { n as s, r as c, t as l } from "../chart-input-D4_Awave.js";
5
5
  import { n as u, t as d } from "../plot-width-BQQS-mw9.js";
6
6
  import * as f from "@stylexjs/stylex";
7
7
  import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
- import { c as e } from "../src-DfOAlAd2.js";
2
- import { a as t, n, t as r } from "../chart-navigation-D7OkLdSx.js";
3
- import { i, n as a } from "../chart-frame-BsyI1Zc8.js";
4
- import { n as o, t as s } from "../chart-input-r4S3-QCT.js";
1
+ import { c as e } from "../src-BpvnBWrF.js";
2
+ import { a as t, n, t as r } from "../chart-navigation-D4-pdgpj.js";
3
+ import { i, n as a } from "../chart-frame-D0enjyj9.js";
4
+ import { n as o, t as s } from "../chart-input-D4_Awave.js";
5
5
  import * as c from "@stylexjs/stylex";
6
6
  import { Button as l } from "@ui-sdk/react/button";
7
7
  import { useId as u } from "react";
@@ -1,7 +1,7 @@
1
- import { c as e } from "../src-DfOAlAd2.js";
2
- import { i as t, r as n, t as r } from "../categorical-values-DnGR_pQx.js";
3
- import { n as i } from "../chart-frame-BsyI1Zc8.js";
4
- import { t as a } from "../chart-input-r4S3-QCT.js";
1
+ import { c as e } from "../src-BpvnBWrF.js";
2
+ import { i as t, r as n, t as r } from "../categorical-values-B6lGI7BH.js";
3
+ import { n as i } from "../chart-frame-D0enjyj9.js";
4
+ import { t as a } from "../chart-input-D4_Awave.js";
5
5
  import { n as o, t as s } from "../plot-width-BQQS-mw9.js";
6
6
  import * as c from "@stylexjs/stylex";
7
7
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
- import { c as e } from "../src-DfOAlAd2.js";
1
+ import { c as e } from "../src-BpvnBWrF.js";
2
2
  import { r as t } from "../tokens.stylex-dF5CACEJ.js";
3
- import { n, r, t as i } from "../chart-input-r4S3-QCT.js";
4
- import { a, i as o, n as s, t as c } from "../chart-navigation-D7OkLdSx.js";
5
- import { i as l, n as u } from "../chart-frame-BsyI1Zc8.js";
3
+ import { n, r, t as i } from "../chart-input-D4_Awave.js";
4
+ import { a, i as o, n as s, t as c } from "../chart-navigation-D4-pdgpj.js";
5
+ import { i as l, n as u } from "../chart-frame-D0enjyj9.js";
6
6
  import * as d from "@stylexjs/stylex";
7
7
  import { Button as f } from "@ui-sdk/react/button";
8
8
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
- import { c as e } from "../src-s3tWwnN4.js";
2
- import { n as t } from "../chart-frame-BsyI1Zc8.js";
3
- import { n, t as r } from "../chart-input-r4S3-QCT.js";
1
+ import { c as e } from "../src-DcW_gMX8.js";
2
+ import { n as t } from "../chart-frame-D0enjyj9.js";
3
+ import { n, t as r } from "../chart-input-D4_Awave.js";
4
4
  import * as i from "@stylexjs/stylex";
5
5
  import { Button as a } from "@ui-sdk/react/button";
6
6
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
package/dist/charts.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as e, n as t, r as n } from "./chart-frame-BsyI1Zc8.js";
2
- import { c as r } from "./src-DfOAlAd2.js";
1
+ import { a as e, n as t, r as n } from "./chart-frame-D0enjyj9.js";
2
+ import { c as r } from "./src-BpvnBWrF.js";
3
3
  export { t as ChartFrame, n as ChartLegend, e as ChartSeriesMarker, r as chartToneColors };
@@ -1,4 +1,4 @@
1
- import { v as e } from "./src-s3tWwnN4.js";
1
+ import { v as e } from "./src-DcW_gMX8.js";
2
2
  import { d as t, f as n, i as r, r as i, u as a } from "./tokens.stylex-dF5CACEJ.js";
3
3
  import { t as o } from "./use-scroll-tab-index-Dxpdh4W7.js";
4
4
  import { t as s } from "./viewer-styles-DsFYri4K.js";