@mechane-ai/elements 0.65.0 → 0.67.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 (106) hide show
  1. package/README.md +21 -10
  2. package/dist/ai.js +285 -203
  3. package/dist/{article-BrUa4Wz1.js → article-anMy8fA5.js} +6 -6
  4. package/dist/article.js +1 -1
  5. package/dist/catalog.json +81 -34
  6. package/dist/{categorical-values-AXJkMt-Y.js → categorical-values-Bh7ZkEQn.js} +1 -1
  7. package/dist/charts/cartesian.js +1 -1
  8. package/dist/charts/comparison.js +1 -1
  9. package/dist/charts/distribution.js +1 -1
  10. package/dist/charts/figure.js +12 -12
  11. package/dist/charts/graph.js +1 -1
  12. package/dist/charts/hierarchy.js +1 -1
  13. package/dist/charts/image.js +1 -1
  14. package/dist/charts/matrix.js +1 -1
  15. package/dist/charts/plot.js +3 -3
  16. package/dist/charts/relationship.js +1 -1
  17. package/dist/charts/text.js +1 -1
  18. package/dist/charts/timeline.js +2 -2
  19. package/dist/charts/trend.js +1 -1
  20. package/dist/charts.js +2 -2
  21. package/dist/{code-block-BDRmjlES.js → code-block-DbW_t9U4.js} +1 -1
  22. package/dist/collections.js +1 -1
  23. package/dist/{commands-rzsDElrG.js → commands-C7Zrp-tG.js} +2 -2
  24. package/dist/content/code.js +1 -1
  25. package/dist/content/diff.js +3 -3
  26. package/dist/content/link.js +1 -1
  27. package/dist/content/markdown.js +1 -1
  28. package/dist/content/tree.js +2 -2
  29. package/dist/{content-link-DRaNf1mD.js → content-link-BN4NPp0u.js} +1 -1
  30. package/dist/content.js +1 -1
  31. package/dist/{dates-wu-gKO2C.js → dates-OTq-xU33.js} +2 -2
  32. package/dist/{dumbbell-plot-VFajQtEW.js → dumbbell-plot-BQDGe0sQ.js} +3 -3
  33. package/dist/{embedding-map-BqDEmy88.js → embedding-map-DmmknG7A.js} +6 -6
  34. package/dist/feedback.js +1 -1
  35. package/dist/{figure-frame-Dd-pOeZN.js → figure-frame-DlyNTDzh.js} +22 -21
  36. package/dist/forms/dates.js +1 -1
  37. package/dist/{forms-Bjx7JQ30.js → forms-iAOjGRTO.js} +1 -1
  38. package/dist/forms.js +2 -2
  39. package/dist/{image-grid-Dpyqxgwy.js → image-grid-CxEAQvTf.js} +3 -3
  40. package/dist/index.js +1 -1
  41. package/dist/kits/evaluation.js +13 -13
  42. package/dist/kits/interpretability.js +47 -43
  43. package/dist/kits/operations.js +80 -79
  44. package/dist/kits/research.js +364 -499
  45. package/dist/kits/training.js +108 -107
  46. package/dist/layout.js +1 -1
  47. package/dist/lesson.js +3 -3
  48. package/dist/{markdown--nfaDoR1.js → markdown-Diffqqm7.js} +2 -2
  49. package/dist/mdx.js +6 -6
  50. package/dist/navigation/commands.js +1 -1
  51. package/dist/{navigation-Cp3p0gss.js → navigation-CTnYtVD8.js} +1 -1
  52. package/dist/navigation.js +3 -3
  53. package/dist/packages/ai/src/index.d.ts +2 -0
  54. package/dist/packages/ai/src/message-reactions.d.ts +51 -0
  55. package/dist/packages/ai/src/message.d.ts +3 -1
  56. package/dist/packages/collections/src/card-columns-model.d.ts +50 -0
  57. package/dist/packages/collections/src/card-columns.d.ts +30 -0
  58. package/dist/packages/collections/src/collection-page.d.ts +43 -0
  59. package/dist/packages/collections/src/column-card.d.ts +15 -0
  60. package/dist/packages/collections/src/data-table-layout.d.ts +2 -0
  61. package/dist/packages/collections/src/data-table-rows.d.ts +4 -3
  62. package/dist/packages/collections/src/data-table.d.ts +2 -2
  63. package/dist/packages/collections/src/index.d.ts +5 -0
  64. package/dist/packages/collections/src/table-query.d.ts +9 -1
  65. package/dist/packages/feedback/src/feedback.d.ts +0 -4
  66. package/dist/packages/feedback/src/index.d.ts +1 -1
  67. package/dist/packages/kits/src/research/index.d.ts +0 -2
  68. package/dist/{param-CwT1RvUS.js → param-CKr8EYxF.js} +1 -1
  69. package/dist/{pierre-diff-DuvK3kLF.js → pierre-diff-DXVIwW7o.js} +1 -1
  70. package/dist/{plot-layout-CvkeUuG6.js → plot-layout-CVzSbcU7.js} +24 -23
  71. package/dist/{plot-surface-yy37R4vs.js → plot-surface-CBhI1alw.js} +1 -1
  72. package/dist/{reference-lines-AMeDkYlo.js → reference-lines-C970JwWZ.js} +1 -1
  73. package/dist/{scene-BRhI8XSy.js → scene-C3dCxckI.js} +6 -6
  74. package/dist/scene.js +1 -1
  75. package/dist/{slope-chart-BMOCaa8R.js → slope-chart-DekEJxsy.js} +4 -4
  76. package/dist/{src-9n2M1V_y.js → src-BCAelv4f.js} +3 -3
  77. package/dist/{src-BgmAkau8.js → src-Bkov5TTa.js} +171 -164
  78. package/dist/{src-Bns-5joF.js → src-BsqbWDxS.js} +4 -4
  79. package/dist/{src-BdyO4PgQ.js → src-CIyuaSCi.js} +101 -107
  80. package/dist/{src-Tu6d_Pm8.js → src-Dc1t1ugL.js} +958 -585
  81. package/dist/{src-C5SH3jjU.js → src-DceyVyL0.js} +2 -2
  82. package/dist/{src-C_E29-DX.js → src-Dlh99sPD.js} +1 -1
  83. package/dist/styles2.css +21 -1
  84. package/dist/{time-series-CTNVqoUQ.js → time-series-BSNnijxf.js} +8 -8
  85. package/dist/{timeline-DrsDtEIW.js → timeline-CnxfYSIg.js} +4 -4
  86. package/dist/{token-heatmap-DddArdH8.js → token-heatmap-CJaXo56P.js} +3 -3
  87. package/dist/{token-predictions-CBykmPID.js → token-predictions-Bi7aKPnh.js} +3 -3
  88. package/dist/{transport-r1QgELf8.js → transport-CXj0DV6o.js} +4 -4
  89. package/dist/{tree-diagram-BIJFK4pl.js → tree-diagram-BxOZsjr1.js} +4 -4
  90. package/dist/{treemap-DgmEw_mr.js → treemap-B2yOAetT.js} +4 -4
  91. package/dist/{use-tween-BWf44Jy4.js → use-tween-C1TWJwce.js} +1 -1
  92. package/dist/{violin-plot-BYJnv6sG.js → violin-plot-W2L_2JRo.js} +3 -3
  93. package/dist/{waterfall-BNseqMas.js → waterfall-Bt73N2Ng.js} +4 -4
  94. package/package.json +1 -1
  95. package/recipes/searchable-collection.tsx +74 -76
  96. package/skills/extend-elements/SKILL.md +2 -1
  97. package/skills/review-elements/SKILL.md +11 -7
  98. package/skills/upgrade-elements/SKILL.md +3 -1
  99. package/skills/upgrade-elements/references/releases.md +20 -0
  100. package/skills/use-elements/SKILL.md +8 -6
  101. package/skills/use-elements/references/collections.md +59 -12
  102. package/skills/use-elements/references/conversations.md +32 -0
  103. package/skills/use-elements/references/editorial-restraint.md +17 -29
  104. package/skills/use-elements/references/figures.md +6 -2
  105. package/skills/use-elements/references/workspace.md +5 -5
  106. package/dist/packages/kits/src/research/collection-page.d.ts +0 -71
@@ -517,19 +517,19 @@ var B = {
517
517
  kaIpWk: "x16rqkct",
518
518
  $$css: !0
519
519
  }
520
- }, V = {
520
+ }, de = {
521
521
  sm: B.small,
522
522
  md: B.medium,
523
523
  lg: B.large
524
- }, H = {
524
+ }, V = {
525
525
  rounded: B.rounded,
526
526
  circle: B.circle
527
527
  };
528
- function U({ label: e, fallback: t, src: r, size: i = "md", shape: a = "rounded" }) {
528
+ function H({ label: e, fallback: t, src: r, size: i = "md", shape: a = "rounded" }) {
529
529
  return /* @__PURE__ */ h(g, {
530
530
  role: "img",
531
531
  "aria-label": e,
532
- ...n.props(B.avatar, V[i], H[a]),
532
+ ...n.props(B.avatar, de[i], V[a]),
533
533
  children: [r !== void 0 && /* @__PURE__ */ m(v, {
534
534
  src: r,
535
535
  alt: "",
@@ -541,8 +541,8 @@ function U({ label: e, fallback: t, src: r, size: i = "md", shape: a = "rounded"
541
541
  });
542
542
  }
543
543
  // packages/core/src/agent-avatar-glyphs.tsx
544
- var W = Object.freeze(/* @__PURE__ */ "spark.facet.orbit.loop.clover.petal.wheel.compass.grid.steps.chevron.wave.ripple.arch.bridge.peak.zigzag.helix.kite.cube.prism.frame.brackets.diamond.hexagon.signal.crest.bolt.link.split.aster.portal".split(".")), de = Object.freeze([
545
- ...W,
544
+ var U = Object.freeze(/* @__PURE__ */ "spark.facet.orbit.loop.clover.petal.wheel.compass.grid.steps.chevron.wave.ripple.arch.bridge.peak.zigzag.helix.kite.cube.prism.frame.brackets.diamond.hexagon.signal.crest.bolt.link.split.aster.portal".split(".")), fe = Object.freeze([
545
+ ...U,
546
546
  "rosette",
547
547
  "blossom",
548
548
  "pinwheel",
@@ -560,14 +560,14 @@ var W = Object.freeze(/* @__PURE__ */ "spark.facet.orbit.loop.clover.petal.wheel
560
560
  "tessera",
561
561
  "triad"
562
562
  ]);
563
- function G(e, t) {
563
+ function W(e, t) {
564
564
  return e.map((e) => /* @__PURE__ */ m("g", {
565
565
  transform: `rotate(${e} 12 12)`,
566
566
  children: t
567
567
  }, e));
568
568
  }
569
- var fe = {
570
- spark: G([
569
+ var pe = {
570
+ spark: W([
571
571
  0,
572
572
  45,
573
573
  90,
@@ -577,14 +577,14 @@ var fe = {
577
577
  270,
578
578
  315
579
579
  ], /* @__PURE__ */ m("path", { d: "m12 2 5.4 7-5.4 6.2-3.4-6.2Z" })),
580
- facet: G([
580
+ facet: W([
581
581
  0,
582
582
  72,
583
583
  144,
584
584
  216,
585
585
  288
586
586
  ], /* @__PURE__ */ m("path", { d: "m12 2 6 7-6 5-4-5Z" })),
587
- orbit: /* @__PURE__ */ h(p, { children: [G([
587
+ orbit: /* @__PURE__ */ h(p, { children: [W([
588
588
  0,
589
589
  60,
590
590
  120
@@ -600,12 +600,12 @@ var fe = {
600
600
  r: "2.8",
601
601
  fillOpacity: ".75"
602
602
  })] }),
603
- loop: G([
603
+ loop: W([
604
604
  0,
605
605
  120,
606
606
  240
607
607
  ], /* @__PURE__ */ m("path", { d: "M12 12C3 14 1 8 5 4c4-4 10-1 10 4 0 3-2 5-5 6 3-3 2-6 0-7-3-1-5 2-2 4Z" })),
608
- clover: G([
608
+ clover: W([
609
609
  0,
610
610
  90,
611
611
  180,
@@ -615,14 +615,14 @@ var fe = {
615
615
  cy: "7.4",
616
616
  r: "5.3"
617
617
  })),
618
- petal: G([
618
+ petal: W([
619
619
  0,
620
620
  72,
621
621
  144,
622
622
  216,
623
623
  288
624
624
  ], /* @__PURE__ */ m("path", { d: "M12 2c5 1 6 6 0 10-6-4-5-9 0-10Z" })),
625
- wheel: /* @__PURE__ */ h(p, { children: [G([
625
+ wheel: /* @__PURE__ */ h(p, { children: [W([
626
626
  0,
627
627
  45,
628
628
  90,
@@ -642,7 +642,7 @@ var fe = {
642
642
  r: "3.2",
643
643
  fillOpacity: ".65"
644
644
  })] }),
645
- compass: G([
645
+ compass: W([
646
646
  0,
647
647
  45,
648
648
  90,
@@ -653,7 +653,7 @@ var fe = {
653
653
  315
654
654
  ], /* @__PURE__ */ m("path", { d: "m12 1.5 3 7-3 3.5-3-3.5Z" })),
655
655
  grid: /* @__PURE__ */ h(p, { children: [
656
- G([
656
+ W([
657
657
  0,
658
658
  90,
659
659
  180,
@@ -663,7 +663,7 @@ var fe = {
663
663
  cy: "6.8",
664
664
  r: "3.5"
665
665
  })),
666
- G([
666
+ W([
667
667
  0,
668
668
  90,
669
669
  180,
@@ -683,13 +683,13 @@ var fe = {
683
683
  transform: "rotate(45 12 12)"
684
684
  })
685
685
  ] }),
686
- steps: G([
686
+ steps: W([
687
687
  0,
688
688
  90,
689
689
  180,
690
690
  270
691
691
  ], /* @__PURE__ */ m("path", { d: "M4 3h9v5H9v5H4Z" })),
692
- chevron: G([
692
+ chevron: W([
693
693
  0,
694
694
  90,
695
695
  180,
@@ -769,7 +769,7 @@ var fe = {
769
769
  fillOpacity: ".45"
770
770
  })
771
771
  ] }),
772
- peak: G([
772
+ peak: W([
773
773
  0,
774
774
  120,
775
775
  240
@@ -777,7 +777,7 @@ var fe = {
777
777
  d: "M12 2 17 12H7Z",
778
778
  fillOpacity: ".6"
779
779
  })),
780
- zigzag: G([
780
+ zigzag: W([
781
781
  0,
782
782
  90,
783
783
  180,
@@ -805,7 +805,7 @@ var fe = {
805
805
  fillOpacity: ".25"
806
806
  })
807
807
  ] }),
808
- kite: G([
808
+ kite: W([
809
809
  0,
810
810
  90,
811
811
  180,
@@ -847,7 +847,7 @@ var fe = {
847
847
  fillOpacity: ".45"
848
848
  })
849
849
  ] }),
850
- frame: G([
850
+ frame: W([
851
851
  0,
852
852
  90,
853
853
  180,
@@ -859,13 +859,13 @@ var fe = {
859
859
  height: "11",
860
860
  rx: "3.6"
861
861
  })),
862
- brackets: G([
862
+ brackets: W([
863
863
  0,
864
864
  90,
865
865
  180,
866
866
  270
867
867
  ], /* @__PURE__ */ m("path", { d: "M3 4a1 1 0 0 1 1-1h8v4H7v5H3Z" })),
868
- diamond: /* @__PURE__ */ h(p, { children: [G([
868
+ diamond: /* @__PURE__ */ h(p, { children: [W([
869
869
  0,
870
870
  90,
871
871
  180,
@@ -883,7 +883,7 @@ var fe = {
883
883
  r: "3",
884
884
  fillOpacity: ".5"
885
885
  })] }),
886
- hexagon: G([
886
+ hexagon: W([
887
887
  0,
888
888
  60,
889
889
  120,
@@ -927,7 +927,7 @@ var fe = {
927
927
  fill: "none"
928
928
  })
929
929
  ] }),
930
- crest: G([
930
+ crest: W([
931
931
  0,
932
932
  120,
933
933
  240
@@ -935,7 +935,7 @@ var fe = {
935
935
  d: "M6 3h12v5c0 4-3.5 7.2-6 9-2.5-1.8-6-5-6-9Z",
936
936
  fillOpacity: ".55"
937
937
  })),
938
- bolt: G([
938
+ bolt: W([
939
939
  0,
940
940
  120,
941
941
  240
@@ -943,12 +943,12 @@ var fe = {
943
943
  d: "m10 2 9 8-7 1 1 6-9-8 7-1Z",
944
944
  fillOpacity: ".6"
945
945
  })),
946
- link: G([0, 90], /* @__PURE__ */ m("path", {
946
+ link: W([0, 90], /* @__PURE__ */ m("path", {
947
947
  d: "M12 2c5 0 7 4 7 10s-2 10-7 10-7-4-7-10S7 2 12 2Zm0 4c-2 0-3 2-3 6s1 6 3 6 3-2 3-6-1-6-3-6Z",
948
948
  fillRule: "evenodd",
949
949
  fillOpacity: ".6"
950
950
  })),
951
- split: G([
951
+ split: W([
952
952
  0,
953
953
  90,
954
954
  180,
@@ -957,7 +957,7 @@ var fe = {
957
957
  d: "M12 2a10 10 0 0 1 10 10H9a3 3 0 0 1 3-3Z",
958
958
  fillOpacity: ".6"
959
959
  })),
960
- aster: G([
960
+ aster: W([
961
961
  0,
962
962
  60,
963
963
  120
@@ -974,7 +974,7 @@ var fe = {
974
974
  cy: "12",
975
975
  r: "9.3",
976
976
  fillOpacity: ".4"
977
- }), G([
977
+ }), W([
978
978
  0,
979
979
  90,
980
980
  180,
@@ -985,7 +985,7 @@ var fe = {
985
985
  r: "4.8",
986
986
  fillOpacity: ".35"
987
987
  }))] }),
988
- rosette: G([
988
+ rosette: W([
989
989
  0,
990
990
  60,
991
991
  120,
@@ -993,7 +993,7 @@ var fe = {
993
993
  240,
994
994
  300
995
995
  ], /* @__PURE__ */ m("path", { d: "M12 1.8c1.2 5 7 5.8 5.5 10.2-1.1 3.3-5.5 3-5.5 0-4.2-.8-5.1-4.2 0-10.2Z" })),
996
- blossom: /* @__PURE__ */ h(p, { children: [G([
996
+ blossom: /* @__PURE__ */ h(p, { children: [W([
997
997
  0,
998
998
  72,
999
999
  144,
@@ -1009,19 +1009,19 @@ var fe = {
1009
1009
  r: "3.8",
1010
1010
  fillOpacity: ".4"
1011
1011
  })] }),
1012
- pinwheel: G([
1012
+ pinwheel: W([
1013
1013
  0,
1014
1014
  72,
1015
1015
  144,
1016
1016
  216,
1017
1017
  288
1018
1018
  ], /* @__PURE__ */ m("path", { d: "M12 12C5 15 1 8 6 3c5-2 8 1 8 5-2-2-5-1-5 1s1 3 3 3Z" })),
1019
- lantern: /* @__PURE__ */ h(p, { children: [G([
1019
+ lantern: /* @__PURE__ */ h(p, { children: [W([
1020
1020
  0,
1021
1021
  90,
1022
1022
  180,
1023
1023
  270
1024
- ], /* @__PURE__ */ m("path", { d: "m12 1.5 4 6-4 5-4-5Z" })), G([
1024
+ ], /* @__PURE__ */ m("path", { d: "m12 1.5 4 6-4 5-4-5Z" })), W([
1025
1025
  45,
1026
1026
  135,
1027
1027
  225,
@@ -1054,13 +1054,13 @@ var fe = {
1054
1054
  fillOpacity: ".45"
1055
1055
  }, e))] }),
1056
1056
  mosaic: /* @__PURE__ */ h(p, { children: [
1057
- G([
1057
+ W([
1058
1058
  0,
1059
1059
  90,
1060
1060
  180,
1061
1061
  270
1062
1062
  ], /* @__PURE__ */ m("path", { d: "m12 1.5 4.5 4.5-4.5 4.5L7.5 6Z" })),
1063
- G([
1063
+ W([
1064
1064
  0,
1065
1065
  90,
1066
1066
  180,
@@ -1071,7 +1071,7 @@ var fe = {
1071
1071
  })),
1072
1072
  /* @__PURE__ */ m("path", { d: "m12 8 4 4-4 4-4-4Z" })
1073
1073
  ] }),
1074
- dahlia: G([
1074
+ dahlia: W([
1075
1075
  0,
1076
1076
  30,
1077
1077
  60,
@@ -1112,7 +1112,7 @@ var fe = {
1112
1112
  cy: "12",
1113
1113
  r: "9.5",
1114
1114
  fillOpacity: ".25"
1115
- }), G([
1115
+ }), W([
1116
1116
  0,
1117
1117
  60,
1118
1118
  120,
@@ -1163,7 +1163,7 @@ var fe = {
1163
1163
  fillOpacity: ".6"
1164
1164
  })
1165
1165
  ] }),
1166
- gyre: G([
1166
+ gyre: W([
1167
1167
  0,
1168
1168
  90,
1169
1169
  180,
@@ -1176,7 +1176,7 @@ var fe = {
1176
1176
  d: "m2 5 10 7 10-7v14l-10-7-10 7Z",
1177
1177
  fillOpacity: ".55"
1178
1178
  })] }),
1179
- tessera: G([
1179
+ tessera: W([
1180
1180
  0,
1181
1181
  60,
1182
1182
  120,
@@ -1184,7 +1184,7 @@ var fe = {
1184
1184
  240,
1185
1185
  300
1186
1186
  ], /* @__PURE__ */ m("path", { d: "m12 2 8.6 5-3 5.2L9 7.2Z" })),
1187
- triad: G([
1187
+ triad: W([
1188
1188
  0,
1189
1189
  120,
1190
1190
  240
@@ -1192,7 +1192,7 @@ var fe = {
1192
1192
  d: "M12 2C4 5 3 12 12 17c9-5 8-12 0-15Z",
1193
1193
  fillOpacity: ".6"
1194
1194
  }))
1195
- }, K = Object.freeze([
1195
+ }, G = Object.freeze([
1196
1196
  "ember",
1197
1197
  "coral",
1198
1198
  "rose",
@@ -1217,7 +1217,7 @@ var fe = {
1217
1217
  "ochre",
1218
1218
  "amber",
1219
1219
  "copper"
1220
- ]), pe = K, q = {
1220
+ ]), me = G, K = {
1221
1221
  root: {
1222
1222
  k1xSpc: "x3nfvp2",
1223
1223
  kmuXW: "x2lah0s",
@@ -1341,46 +1341,46 @@ var fe = {
1341
1341
  kMwMTN: "x1b59cz5",
1342
1342
  $$css: !0
1343
1343
  }
1344
- }, me = {
1345
- xs: q.xs,
1346
- sm: q.sm,
1347
- md: q.md,
1348
- lg: q.lg
1349
1344
  }, he = {
1350
- ember: q.ember,
1351
- coral: q.coral,
1352
- rose: q.rose,
1353
- berry: q.berry,
1354
- plum: q.plum,
1355
- orchid: q.orchid,
1356
- violet: q.violet,
1357
- indigo: q.indigo,
1358
- iris: q.iris,
1359
- cobalt: q.cobalt,
1360
- blue: q.blue,
1361
- sky: q.sky,
1362
- cyan: q.cyan,
1363
- lagoon: q.lagoon,
1364
- teal: q.teal,
1365
- jade: q.jade,
1366
- mint: q.mint,
1367
- forest: q.forest,
1368
- leaf: q.leaf,
1369
- moss: q.moss,
1370
- olive: q.olive,
1371
- ochre: q.ochre,
1372
- amber: q.amber,
1373
- copper: q.copper
1345
+ xs: K.xs,
1346
+ sm: K.sm,
1347
+ md: K.md,
1348
+ lg: K.lg
1349
+ }, ge = {
1350
+ ember: K.ember,
1351
+ coral: K.coral,
1352
+ rose: K.rose,
1353
+ berry: K.berry,
1354
+ plum: K.plum,
1355
+ orchid: K.orchid,
1356
+ violet: K.violet,
1357
+ indigo: K.indigo,
1358
+ iris: K.iris,
1359
+ cobalt: K.cobalt,
1360
+ blue: K.blue,
1361
+ sky: K.sky,
1362
+ cyan: K.cyan,
1363
+ lagoon: K.lagoon,
1364
+ teal: K.teal,
1365
+ jade: K.jade,
1366
+ mint: K.mint,
1367
+ forest: K.forest,
1368
+ leaf: K.leaf,
1369
+ moss: K.moss,
1370
+ olive: K.olive,
1371
+ ochre: K.ochre,
1372
+ amber: K.amber,
1373
+ copper: K.copper
1374
1374
  };
1375
- function J(e) {
1375
+ function q(e) {
1376
1376
  let t = Array.from(e).reduce((e, t) => (e * 31 + (t.codePointAt(0) ?? 0)) % 2147483647, 0);
1377
1377
  return {
1378
- shape: W[t % W.length] ?? "spark",
1379
- color: K[Math.floor(t / W.length) % K.length] ?? "ember"
1378
+ shape: U[t % U.length] ?? "spark",
1379
+ color: G[Math.floor(t / U.length) % G.length] ?? "ember"
1380
1380
  };
1381
1381
  }
1382
- function ge({ seed: e, appearance: t, size: r = "sm", label: i }) {
1383
- let a = t ?? J(e), o = l();
1382
+ function _e({ seed: e, appearance: t, size: r = "sm", label: i }) {
1383
+ let a = t ?? q(e), o = l();
1384
1384
  return /* @__PURE__ */ h("svg", {
1385
1385
  viewBox: "0 0 24 24",
1386
1386
  fill: `url(#${o})`,
@@ -1392,7 +1392,7 @@ function ge({ seed: e, appearance: t, size: r = "sm", label: i }) {
1392
1392
  role: i === void 0 ? void 0 : "img",
1393
1393
  "aria-label": i,
1394
1394
  "aria-hidden": i === void 0 || void 0,
1395
- ...n.props(q.root, me[r], he[a.color]),
1395
+ ...n.props(K.root, he[r], ge[a.color]),
1396
1396
  children: [/* @__PURE__ */ m("defs", { children: /* @__PURE__ */ h("linearGradient", {
1397
1397
  id: o,
1398
1398
  x1: "0",
@@ -1416,11 +1416,11 @@ function ge({ seed: e, appearance: t, size: r = "sm", label: i }) {
1416
1416
  stopOpacity: ".8"
1417
1417
  })
1418
1418
  ]
1419
- }) }), fe[a.shape]]
1419
+ }) }), pe[a.shape]]
1420
1420
  });
1421
1421
  }
1422
1422
  // packages/core/src/copy-value.tsx
1423
- var Y = {
1423
+ var J = {
1424
1424
  value: {
1425
1425
  kJuA4N: "x15r89dc",
1426
1426
  k7Eaqz: "xeuugli",
@@ -1434,18 +1434,18 @@ var Y = {
1434
1434
  k33iCy: "xlshs6z",
1435
1435
  $$css: !0
1436
1436
  }
1437
- }, _e = 1600, ve = /* @__PURE__ */ new Set(["copied", "failed"]), ye = {
1438
- idle: Y.visible,
1439
- pending: Y.visible,
1440
- copied: Y.hidden,
1441
- failed: Y.visible
1442
- }, be = {
1443
- idle: Y.hidden,
1444
- pending: Y.hidden,
1445
- copied: Y.visible,
1446
- failed: Y.hidden
1437
+ }, ve = 1600, ye = /* @__PURE__ */ new Set(["copied", "failed"]), be = {
1438
+ idle: J.visible,
1439
+ pending: J.visible,
1440
+ copied: J.hidden,
1441
+ failed: J.visible
1442
+ }, xe = {
1443
+ idle: J.hidden,
1444
+ pending: J.hidden,
1445
+ copied: J.visible,
1446
+ failed: J.hidden
1447
1447
  };
1448
- function xe({ value: i, label: a, display: o = "value", children: s, className: f, style: p, disabled: g = !1, onClick: _, render: v, ...b }) {
1448
+ function Se({ value: i, label: a, display: o = "value", children: s, className: f, style: p, disabled: g = !1, onClick: _, render: v, ...b }) {
1449
1449
  let [x, S] = d({
1450
1450
  value: i,
1451
1451
  status: "idle"
@@ -1453,13 +1453,13 @@ function xe({ value: i, label: a, display: o = "value", children: s, className:
1453
1453
  c(() => () => {
1454
1454
  C.current += 1;
1455
1455
  }, [i]), c(() => {
1456
- if (!ve.has(x.status)) return;
1456
+ if (!ye.has(x.status)) return;
1457
1457
  let e = globalThis.setTimeout(() => {
1458
1458
  S((e) => e === x ? {
1459
1459
  value: i,
1460
1460
  status: "idle"
1461
1461
  } : e);
1462
- }, _e);
1462
+ }, ve);
1463
1463
  return () => globalThis.clearTimeout(e);
1464
1464
  }, [x, i]);
1465
1465
  async function D() {
@@ -1513,11 +1513,11 @@ function xe({ value: i, label: a, display: o = "value", children: s, className:
1513
1513
  className: "xwz0xwf xeuugli",
1514
1514
  children: [/* @__PURE__ */ m("span", {
1515
1515
  "aria-hidden": E === "copied",
1516
- ...n.props(Y.value, ye[E]),
1516
+ ...n.props(J.value, be[E]),
1517
1517
  children: s ?? (typeof i == "string" ? i : a)
1518
1518
  }), /* @__PURE__ */ m("span", {
1519
1519
  "aria-hidden": E !== "copied",
1520
- ...n.props(Y.value, be[E]),
1520
+ ...n.props(J.value, xe[E]),
1521
1521
  children: "Copied"
1522
1522
  })]
1523
1523
  }),
@@ -1540,22 +1540,22 @@ function xe({ value: i, label: a, display: o = "value", children: s, className:
1540
1540
  });
1541
1541
  }
1542
1542
  // packages/core/src/filter-chips.tsx
1543
- var Se = {
1543
+ var Ce = {
1544
1544
  k1xSpc: "x1rg5ohu",
1545
1545
  kzqmXN: "x1v4s8kt",
1546
1546
  kZKoxP: "xols6we",
1547
1547
  kaIpWk: "xbvija",
1548
1548
  kmuXW: "x2lah0s",
1549
1549
  $$css: !0
1550
- }, Ce = { swatch: (e) => [
1551
- Se,
1550
+ }, we = { swatch: (e) => [
1551
+ Ce,
1552
1552
  {
1553
1553
  kWkggS: e == null ? e : "xl8spv7",
1554
1554
  $$css: !0
1555
1555
  },
1556
1556
  { "--x-backgroundColor": e ?? void 0 }
1557
1557
  ] };
1558
- function we({ label: e, options: t, value: r, onValueChange: i, allLabel: a }) {
1558
+ function Te({ label: e, options: t, value: r, onValueChange: i, allLabel: a }) {
1559
1559
  return /* @__PURE__ */ h("div", {
1560
1560
  role: "group",
1561
1561
  "aria-label": e,
@@ -1582,7 +1582,7 @@ function we({ label: e, options: t, value: r, onValueChange: i, allLabel: a }) {
1582
1582
  children: [
1583
1583
  e.color !== void 0 && /* @__PURE__ */ m("span", {
1584
1584
  "aria-hidden": !0,
1585
- ...n.props(Ce.swatch(e.color))
1585
+ ...n.props(we.swatch(e.color))
1586
1586
  }),
1587
1587
  /* @__PURE__ */ m("span", { children: e.label }),
1588
1588
  e.count !== void 0 && /* @__PURE__ */ m("span", {
@@ -1595,7 +1595,7 @@ function we({ label: e, options: t, value: r, onValueChange: i, allLabel: a }) {
1595
1595
  });
1596
1596
  }
1597
1597
  // packages/core/src/disclosure.tsx
1598
- var X = {
1598
+ var Y = {
1599
1599
  trigger: {
1600
1600
  k1xSpc: "x78zum5",
1601
1601
  kGNEyG: "x6s0dn4",
@@ -1650,14 +1650,14 @@ var X = {
1650
1650
  k3aq6I: "x9tu13d x1yphl2d",
1651
1651
  $$css: !0
1652
1652
  }
1653
- }, Te = {
1654
- default: null,
1655
- inline: X.inline
1656
1653
  }, Ee = {
1657
1654
  default: null,
1658
- inline: X.inlineIcon
1655
+ inline: Y.inline
1656
+ }, De = {
1657
+ default: null,
1658
+ inline: Y.inlineIcon
1659
1659
  };
1660
- function De({ className: t, style: n, ...r }) {
1660
+ function Oe({ className: t, style: n, ...r }) {
1661
1661
  return /* @__PURE__ */ m(T.Accordion, {
1662
1662
  ...r,
1663
1663
  ...e({
@@ -1667,7 +1667,7 @@ function De({ className: t, style: n, ...r }) {
1667
1667
  })
1668
1668
  });
1669
1669
  }
1670
- function Oe({ className: t, style: n, ...r }) {
1670
+ function ke({ className: t, style: n, ...r }) {
1671
1671
  return /* @__PURE__ */ m(T.AccordionItem, {
1672
1672
  ...r,
1673
1673
  ...e({
@@ -1677,7 +1677,7 @@ function Oe({ className: t, style: n, ...r }) {
1677
1677
  })
1678
1678
  });
1679
1679
  }
1680
- function ke({ className: t, style: n, ...r }) {
1680
+ function Ae({ className: t, style: n, ...r }) {
1681
1681
  return /* @__PURE__ */ m(T.AccordionHeader, {
1682
1682
  ...r,
1683
1683
  ...e({
@@ -1687,7 +1687,7 @@ function ke({ className: t, style: n, ...r }) {
1687
1687
  })
1688
1688
  });
1689
1689
  }
1690
- function Ae({ className: t, style: n, children: r, ...i }) {
1690
+ function je({ className: t, style: n, children: r, ...i }) {
1691
1691
  return /* @__PURE__ */ h(T.AccordionTrigger, {
1692
1692
  ...i,
1693
1693
  ...e({
@@ -1701,7 +1701,7 @@ function Ae({ className: t, style: n, children: r, ...i }) {
1701
1701
  })]
1702
1702
  });
1703
1703
  }
1704
- function je({ className: t, style: n, ...r }) {
1704
+ function Me({ className: t, style: n, ...r }) {
1705
1705
  return /* @__PURE__ */ m(T.AccordionPanel, {
1706
1706
  ...r,
1707
1707
  ...e({
@@ -1711,7 +1711,7 @@ function je({ className: t, style: n, ...r }) {
1711
1711
  })
1712
1712
  });
1713
1713
  }
1714
- function Me({ className: t, style: n, ...r }) {
1714
+ function Ne({ className: t, style: n, ...r }) {
1715
1715
  return /* @__PURE__ */ m(E.Collapsible, {
1716
1716
  ...r,
1717
1717
  ...e({
@@ -1721,25 +1721,25 @@ function Me({ className: t, style: n, ...r }) {
1721
1721
  })
1722
1722
  });
1723
1723
  }
1724
- var Ne = {
1724
+ var Pe = {
1725
1725
  "x-default-marker": "x-default-marker",
1726
1726
  $$css: !0
1727
1727
  };
1728
- function Pe({ className: t, style: r, children: i, variant: a = "default", ...o }) {
1728
+ function Fe({ className: t, style: r, children: i, variant: a = "default", ...o }) {
1729
1729
  return /* @__PURE__ */ h(E.CollapsibleTrigger, {
1730
1730
  ...o,
1731
1731
  ...e({
1732
1732
  className: t,
1733
1733
  style: r,
1734
- styles: n.props(X.trigger, Te[a], Ne)
1734
+ styles: n.props(Y.trigger, Ee[a], Pe)
1735
1735
  }),
1736
1736
  children: [i, /* @__PURE__ */ m(b, {
1737
1737
  "aria-hidden": !0,
1738
- ...n.props(X.icon, Ee[a])
1738
+ ...n.props(Y.icon, De[a])
1739
1739
  })]
1740
1740
  });
1741
1741
  }
1742
- function Fe({ className: t, style: n, ...r }) {
1742
+ function Ie({ className: t, style: n, ...r }) {
1743
1743
  return /* @__PURE__ */ m(E.CollapsiblePanel, {
1744
1744
  ...r,
1745
1745
  ...e({
@@ -1749,17 +1749,17 @@ function Fe({ className: t, style: n, ...r }) {
1749
1749
  })
1750
1750
  });
1751
1751
  }
1752
- var Ie = {
1753
- Root: De,
1754
- Item: Oe,
1755
- Header: ke,
1756
- Trigger: Ae,
1757
- Panel: je
1758
- }, Le = {
1759
- Root: Me,
1760
- Trigger: Pe,
1761
- Panel: Fe
1762
- }, Re = { link: {
1752
+ var Le = {
1753
+ Root: Oe,
1754
+ Item: ke,
1755
+ Header: Ae,
1756
+ Trigger: je,
1757
+ Panel: Me
1758
+ }, Re = {
1759
+ Root: Ne,
1760
+ Trigger: Fe,
1761
+ Panel: Ie
1762
+ }, ze = { link: {
1763
1763
  k1xSpc: "x1lliihq",
1764
1764
  kB7OPa: "x9f619",
1765
1765
  k7Eaqz: "xeuugli",
@@ -1782,7 +1782,7 @@ var Ie = {
1782
1782
  kiEn40: "x8fq8g9",
1783
1783
  $$css: !0
1784
1784
  } };
1785
- function ze({ title: e, index: t, meta: n }) {
1785
+ function Be({ title: e, index: t, meta: n }) {
1786
1786
  return /* @__PURE__ */ h("header", {
1787
1787
  className: "x78zum5 x6s0dn4 x1qughib x1hnptsi xu97haq x1m92p3w x1hmw7ec xso031l x1q0q8m5 x1qndepd x1r7kqkb",
1788
1788
  children: [/* @__PURE__ */ h("div", {
@@ -1800,12 +1800,12 @@ function ze({ title: e, index: t, meta: n }) {
1800
1800
  })]
1801
1801
  });
1802
1802
  }
1803
- function Be({ isPadded: e = !0, title: t, index: n, meta: r, footer: i, isFlush: o = !1, children: s, ...c }) {
1803
+ function Ve({ isPadded: e = !0, title: t, index: n, meta: r, footer: i, isFlush: o = !1, children: s, ...c }) {
1804
1804
  let l = t !== void 0 || n !== void 0 || r !== void 0, u = l || i !== void 0, d = e && !o;
1805
1805
  return u ? /* @__PURE__ */ h("section", {
1806
1806
  ...a({ className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel" }, c),
1807
1807
  children: [
1808
- l && /* @__PURE__ */ m(ze, {
1808
+ l && /* @__PURE__ */ m(Be, {
1809
1809
  title: t,
1810
1810
  index: n,
1811
1811
  meta: r
@@ -1830,29 +1830,29 @@ function Be({ isPadded: e = !0, title: t, index: n, meta: r, footer: i, isFlush:
1830
1830
  children: s
1831
1831
  });
1832
1832
  }
1833
- function Ve({ xstyle: e, ...t }) {
1834
- return /* @__PURE__ */ m(N, { ...a(n.props(Re.link, e), t) });
1833
+ function He({ xstyle: e, ...t }) {
1834
+ return /* @__PURE__ */ m(N, { ...a(n.props(ze.link, e), t) });
1835
1835
  }
1836
- function He({ shouldSpaceBetween: e = !1, ...t }) {
1836
+ function Ue({ shouldSpaceBetween: e = !1, ...t }) {
1837
1837
  return /* @__PURE__ */ m("div", { ...a({
1838
1838
  0: { className: "x78zum5 x6s0dn4 x1hnptsi x1a02dak xeuugli" },
1839
1839
  1: { className: "x78zum5 x6s0dn4 x1hnptsi x1a02dak xeuugli x1qughib" }
1840
1840
  }[!!e | 0], t) });
1841
1841
  }
1842
- function Ue({ isCompact: e = !1, ...t }) {
1842
+ function We({ isCompact: e = !1, ...t }) {
1843
1843
  return /* @__PURE__ */ m("div", { ...a({
1844
1844
  0: { className: "x78zum5 xdt5ytf x1j825kq xeuugli" },
1845
1845
  1: { className: "x78zum5 xdt5ytf xeuugli x1hnptsi" }
1846
1846
  }[!!e | 0], t) });
1847
1847
  }
1848
- function We(e) {
1848
+ function Ge(e) {
1849
1849
  return /* @__PURE__ */ m("div", { ...a({ className: "xrvj5dj xhuszhj x1m6b44x xeuugli" }, e) });
1850
1850
  }
1851
- function Ge(e) {
1851
+ function Ke(e) {
1852
1852
  return /* @__PURE__ */ m("hr", { ...a({ className: "xc342km x178xt8z x1y0btm7 x1ey3b81 x1ghz6dp" }, e) });
1853
1853
  }
1854
1854
  // packages/foundations/src/header-styles.ts
1855
- var Z = {
1855
+ var X = {
1856
1856
  row: {
1857
1857
  kB7OPa: "x9f619",
1858
1858
  kVAEAm: "x1n2onr6",
@@ -1938,31 +1938,38 @@ var Z = {
1938
1938
  kloYau: "x2q1x1w",
1939
1939
  $$css: !0
1940
1940
  }
1941
- }, Ke = { root: {
1942
- kOIVth: "x1n8ia3y",
1943
- kWkggS: "x1r7kqkb",
1944
- kMwMTN: "xbixft",
1945
- kMv6JI: "x1hz01jw",
1946
- kGuDYH: "xtqrqnz",
1947
- kLWn49: "x1778rvt",
1948
- $$css: !0
1949
- } };
1941
+ }, Z = {
1942
+ title: {
1943
+ kUk6DE: "x1cqoux5",
1944
+ k7Eaqz: "x16wq478",
1945
+ $$css: !0
1946
+ },
1947
+ root: {
1948
+ kOIVth: "x1n8ia3y",
1949
+ kWkggS: "x1r7kqkb",
1950
+ kMwMTN: "xbixft",
1951
+ kMv6JI: "x1hz01jw",
1952
+ kGuDYH: "xtqrqnz",
1953
+ kLWn49: "x1778rvt",
1954
+ $$css: !0
1955
+ }
1956
+ };
1950
1957
  function qe({ title: e, id: t, meta: r, actions: i }) {
1951
1958
  let a = s.toArray(r).length > 0, o = s.toArray(i).length > 0, c = a || o, l = a && /* @__PURE__ */ m("div", {
1952
- ...n.props(Z.meta),
1959
+ ...n.props(X.meta),
1953
1960
  children: r
1954
1961
  }), u = o && /* @__PURE__ */ m("div", {
1955
- ...n.props(Z.actions),
1962
+ ...n.props(X.actions),
1956
1963
  children: i
1957
1964
  });
1958
1965
  return /* @__PURE__ */ h("div", {
1959
- ...n.props(Z.row, Z.blockEnd, Ke.root),
1966
+ ...n.props(X.row, X.blockEnd, Z.root),
1960
1967
  children: [/* @__PURE__ */ m("h2", {
1961
1968
  id: t,
1962
- ...n.props(Z.title),
1969
+ ...n.props(X.title, Z.title),
1963
1970
  children: e
1964
1971
  }), c && /* @__PURE__ */ h("div", {
1965
- ...n.props(Z.trailing),
1972
+ ...n.props(X.trailing),
1966
1973
  children: [l, u]
1967
1974
  })]
1968
1975
  });
@@ -2073,27 +2080,27 @@ var Q = {
2073
2080
  caption: Q.caption,
2074
2081
  mono: Q.mono,
2075
2082
  prose: Q.prose
2076
- }, $ = {
2083
+ }, Ye = {
2077
2084
  ink: Q.ink,
2078
2085
  muted: Q.muted
2079
- }, Ye = {
2086
+ }, Xe = {
2080
2087
  neutral: Q.neutral,
2081
2088
  positive: Q.positive,
2082
2089
  warning: Q.warning,
2083
2090
  negative: Q.negative
2084
- }, Xe = {
2091
+ }, Ze = {
2085
2092
  neutral: Q.neutralIcon,
2086
2093
  positive: Q.positiveIcon,
2087
2094
  warning: Q.warningIcon,
2088
2095
  negative: Q.negativeIcon
2089
- }, Ze = {
2096
+ }, $ = {
2090
2097
  neutral: x,
2091
2098
  positive: S,
2092
2099
  warning: w,
2093
2100
  negative: C
2094
2101
  };
2095
2102
  function Qe({ variant: e = "body", tone: t = "ink", xstyle: r, ...i }) {
2096
- return /* @__PURE__ */ m("span", { ...a(n.props(Q.text, Je[e], $[t], r), i) });
2103
+ return /* @__PURE__ */ m("span", { ...a(n.props(Q.text, Je[e], Ye[t], r), i) });
2097
2104
  }
2098
2105
  function $e({ isCompact: e = !1, ...t }) {
2099
2106
  return /* @__PURE__ */ m("h1", { ...a({
@@ -2115,7 +2122,7 @@ function rt(e) {
2115
2122
  }
2116
2123
  function it({ children: e, tone: t = "neutral", ...r }) {
2117
2124
  return /* @__PURE__ */ h("span", {
2118
- ...a(n.props(Q.badge, Ye[t]), r),
2125
+ ...a(n.props(Q.badge, Xe[t]), r),
2119
2126
  children: [/* @__PURE__ */ m(x, {
2120
2127
  size: 5,
2121
2128
  fill: "currentColor",
@@ -2128,17 +2135,17 @@ function it({ children: e, tone: t = "neutral", ...r }) {
2128
2135
  });
2129
2136
  }
2130
2137
  function at({ children: e, tone: t = "neutral", ...r }) {
2131
- let i = Ze[t];
2138
+ let i = $[t];
2132
2139
  return /* @__PURE__ */ h("span", {
2133
2140
  ...a({ className: "x3nfvp2 x6s0dn4 xbgj81g xbixft x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi x193iq5w" }, r),
2134
2141
  children: [/* @__PURE__ */ m(i, {
2135
2142
  size: 14,
2136
2143
  "aria-hidden": !0,
2137
- ...n.props(Q.statusIcon, Xe[t])
2144
+ ...n.props(Q.statusIcon, Ze[t])
2138
2145
  }), /* @__PURE__ */ m("span", {
2139
2146
  className: "xeuugli xj0a0fe",
2140
2147
  children: e
2141
2148
  })]
2142
2149
  });
2143
2150
  }
2144
- export { se as A, pe as C, ue as D, z as E, D as F, ne as I, te as L, N as M, A as N, oe as O, k as P, J as S, U as T, Ie as _, rt as a, xe as b, Qe as c, We as d, Ge as f, Ve as g, Ue as h, tt as i, ce as j, le as k, qe as l, He as m, $e as n, at as o, Be as p, nt as r, et as s, it as t, Z as u, Le as v, de as w, ge as x, we as y };
2151
+ export { se as A, me as C, ue as D, z as E, D as F, ne as I, te as L, N as M, A as N, oe as O, k as P, q as S, H as T, Le as _, rt as a, Se as b, Qe as c, Ge as d, Ke as f, He as g, We as h, tt as i, ce as j, le as k, qe as l, Ue as m, $e as n, at as o, Ve as p, nt as r, et as s, it as t, X as u, Re as v, fe as w, _e as x, Te as y };