@mechane-ai/elements 0.65.0 → 0.68.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 (129) hide show
  1. package/README.md +21 -10
  2. package/dist/ai.js +288 -205
  3. package/dist/{article-BrUa4Wz1.js → article-Ni152e-v.js} +107 -92
  4. package/dist/article.js +1 -1
  5. package/dist/catalog.json +151 -34
  6. package/dist/{categorical-values-AXJkMt-Y.js → categorical-values-6Iz03F1i.js} +1 -1
  7. package/dist/{cells-X8SVrZBc.js → cells-BRI8LpMU.js} +1 -1
  8. package/dist/charts/cartesian.js +1 -1
  9. package/dist/charts/cells.js +1 -1
  10. package/dist/charts/comparison.js +1 -1
  11. package/dist/charts/distribution.js +1 -1
  12. package/dist/charts/figure.js +12 -12
  13. package/dist/charts/graph.js +1 -1
  14. package/dist/charts/hierarchy.js +1 -1
  15. package/dist/charts/image.js +1 -1
  16. package/dist/charts/matrix.js +2 -2
  17. package/dist/charts/plot.js +16 -15
  18. package/dist/charts/relationship.js +1 -1
  19. package/dist/charts/text.js +1 -1
  20. package/dist/charts/timeline.js +2 -2
  21. package/dist/charts/trend.js +1 -1
  22. package/dist/charts.js +3 -3
  23. package/dist/{code-block-BDRmjlES.js → code-block-DbW_t9U4.js} +1 -1
  24. package/dist/collections.js +1 -1
  25. package/dist/{color-legend-CIo7DhXB.js → color-legend-4As8881l.js} +1 -1
  26. package/dist/{commands-rzsDElrG.js → commands-C7Zrp-tG.js} +2 -2
  27. package/dist/content/code.js +1 -1
  28. package/dist/content/diff.js +3 -3
  29. package/dist/content/link.js +1 -1
  30. package/dist/content/markdown.js +1 -1
  31. package/dist/content/tree.js +2 -2
  32. package/dist/{content-link-DRaNf1mD.js → content-link-BN4NPp0u.js} +1 -1
  33. package/dist/content.js +1 -1
  34. package/dist/{dates-wu-gKO2C.js → dates-OTq-xU33.js} +2 -2
  35. package/dist/{dumbbell-plot-VFajQtEW.js → dumbbell-plot-jaQvOctJ.js} +4 -4
  36. package/dist/{embedding-map-BqDEmy88.js → embedding-map-DnZL1kvY.js} +8 -8
  37. package/dist/feedback.js +1 -1
  38. package/dist/figure-format-BVb7yFCA.js +46 -0
  39. package/dist/{figure-frame-Dd-pOeZN.js → figure-frame-96zFqsWz.js} +22 -21
  40. package/dist/forms/dates.js +1 -1
  41. package/dist/{forms-Bjx7JQ30.js → forms-iAOjGRTO.js} +1 -1
  42. package/dist/forms.js +2 -2
  43. package/dist/{image-grid-Dpyqxgwy.js → image-grid-B6fdmE9c.js} +4 -4
  44. package/dist/index.js +1 -1
  45. package/dist/kits/evaluation.js +15 -15
  46. package/dist/kits/interpretability.js +49 -45
  47. package/dist/kits/operations.js +81 -80
  48. package/dist/kits/research.js +776 -499
  49. package/dist/kits/training.js +108 -107
  50. package/dist/layout.js +1 -1
  51. package/dist/lesson.js +3 -3
  52. package/dist/markdown-JeuBeMDZ.js +293 -0
  53. package/dist/mdx.js +6 -6
  54. package/dist/navigation/commands.js +1 -1
  55. package/dist/{navigation-Cp3p0gss.js → navigation-CTnYtVD8.js} +1 -1
  56. package/dist/navigation.js +3 -3
  57. package/dist/packages/ai/src/index.d.ts +2 -0
  58. package/dist/packages/ai/src/message-reactions.d.ts +51 -0
  59. package/dist/packages/ai/src/message.d.ts +3 -1
  60. package/dist/packages/charts/src/plot/index.d.ts +2 -0
  61. package/dist/packages/charts/src/plot/plot-layout.d.ts +2 -2
  62. package/dist/packages/charts/src/plot/spatial-layer.d.ts +32 -0
  63. package/dist/packages/charts/src/plot/ticks.d.ts +2 -2
  64. package/dist/packages/collections/src/card-columns-model.d.ts +50 -0
  65. package/dist/packages/collections/src/card-columns.d.ts +30 -0
  66. package/dist/packages/collections/src/collection-page.d.ts +43 -0
  67. package/dist/packages/collections/src/column-card.d.ts +15 -0
  68. package/dist/packages/collections/src/data-table-layout.d.ts +2 -0
  69. package/dist/packages/collections/src/data-table-rows.d.ts +4 -3
  70. package/dist/packages/collections/src/data-table.d.ts +2 -2
  71. package/dist/packages/collections/src/index.d.ts +5 -0
  72. package/dist/packages/collections/src/table-query.d.ts +9 -1
  73. package/dist/packages/feedback/src/feedback.d.ts +0 -4
  74. package/dist/packages/feedback/src/index.d.ts +1 -1
  75. package/dist/packages/foundations/src/visible-motion.d.ts +1 -1
  76. package/dist/packages/kits/src/research/index.d.ts +7 -2
  77. package/dist/packages/kits/src/research/motion-clip.d.ts +41 -0
  78. package/dist/packages/kits/src/research/motion-error.d.ts +8 -0
  79. package/dist/packages/kits/src/research/motion-figure.d.ts +9 -0
  80. package/dist/packages/kits/src/research/motion-frame.d.ts +22 -0
  81. package/dist/packages/kits/src/research/motion-scene.d.ts +22 -0
  82. package/dist/packages/teaching/src/article/uncover.d.ts +2 -0
  83. package/dist/{param-CwT1RvUS.js → param-Dk92C-K1.js} +2 -2
  84. package/dist/{pierre-diff-DuvK3kLF.js → pierre-diff-DXVIwW7o.js} +1 -1
  85. package/dist/plot-CpTwLIYN.js +101 -0
  86. package/dist/{plot-layout-CvkeUuG6.js → plot-layout-1MG72ZWn.js} +175 -124
  87. package/dist/{plot-surface-yy37R4vs.js → plot-surface-8-FZI94y.js} +1 -1
  88. package/dist/{reference-lines-AMeDkYlo.js → reference-lines-C18o1yEY.js} +1 -1
  89. package/dist/{scene-BRhI8XSy.js → scene-B8dppj5V.js} +7 -7
  90. package/dist/scene.js +1 -1
  91. package/dist/{slope-chart-BMOCaa8R.js → slope-chart-CELflRJd.js} +5 -5
  92. package/dist/{src-9n2M1V_y.js → src-BCAelv4f.js} +3 -3
  93. package/dist/{src-BgmAkau8.js → src-Bkov5TTa.js} +171 -164
  94. package/dist/{src-Bns-5joF.js → src-BsqbWDxS.js} +4 -4
  95. package/dist/{src-BdyO4PgQ.js → src-CIyuaSCi.js} +101 -107
  96. package/dist/{src-Tu6d_Pm8.js → src-Dc1t1ugL.js} +958 -585
  97. package/dist/{src-C5SH3jjU.js → src-DceyVyL0.js} +2 -2
  98. package/dist/{src-C_E29-DX.js → src-Dlh99sPD.js} +1 -1
  99. package/dist/styles2.css +33 -1
  100. package/dist/{time-series-CTNVqoUQ.js → time-series-DtAtGoT_.js} +9 -9
  101. package/dist/{timeline-DrsDtEIW.js → timeline-CzianQir.js} +5 -5
  102. package/dist/{token-heatmap-DddArdH8.js → token-heatmap-m6oaMwkK.js} +274 -289
  103. package/dist/{token-predictions-CBykmPID.js → token-predictions-CpGVjOIs.js} +4 -4
  104. package/dist/{transport-r1QgELf8.js → transport-DQ1yzsQl.js} +5 -5
  105. package/dist/{tree-diagram-BIJFK4pl.js → tree-diagram-D9ekymCQ.js} +5 -5
  106. package/dist/{treemap-DgmEw_mr.js → treemap-DT8q65LQ.js} +5 -5
  107. package/dist/{use-tween-BWf44Jy4.js → use-tween-DbXVZBR8.js} +1 -1
  108. package/dist/{violin-plot-BYJnv6sG.js → violin-plot-83HSjnQM.js} +4 -4
  109. package/dist/visible-motion-D6NwjGNz.js +24 -0
  110. package/dist/{waterfall-BNseqMas.js → waterfall-DmApvdrY.js} +5 -5
  111. package/package.json +1 -1
  112. package/recipes/recorded-motion.tsx +14 -0
  113. package/recipes/searchable-collection.tsx +74 -76
  114. package/skills/extend-elements/SKILL.md +2 -1
  115. package/skills/review-elements/SKILL.md +15 -7
  116. package/skills/review-explainer/SKILL.md +4 -0
  117. package/skills/upgrade-elements/SKILL.md +3 -1
  118. package/skills/upgrade-elements/references/releases.md +20 -0
  119. package/skills/use-elements/SKILL.md +10 -6
  120. package/skills/use-elements/references/collections.md +59 -12
  121. package/skills/use-elements/references/conversations.md +32 -0
  122. package/skills/use-elements/references/editorial-restraint.md +17 -29
  123. package/skills/use-elements/references/figures.md +6 -2
  124. package/skills/use-elements/references/kits.md +23 -0
  125. package/skills/use-elements/references/workspace.md +5 -5
  126. package/skills/write-explainer/SKILL.md +5 -0
  127. package/dist/figure-format-B8kRZMlo.js +0 -36
  128. package/dist/markdown--nfaDoR1.js +0 -313
  129. package/dist/packages/kits/src/research/collection-page.d.ts +0 -71
package/dist/catalog.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@mechane-ai/elements",
3
- "version": "0.65.0",
3
+ "version": "0.68.0",
4
4
  "recipes": [
5
5
  {
6
6
  "slug": "allocation-report",
@@ -77,18 +77,27 @@
77
77
  "import { spacing } from '@mechane-ai/elements/tokens';"
78
78
  ]
79
79
  },
80
+ {
81
+ "slug": "recorded-motion",
82
+ "title": "Recorded Motion",
83
+ "description": "Scrub a recorded simulation or jump to a named observation. Decode bounded JSON once per clip, handle invalid input at the read boundary, and key this recipe by immutable clip ID. A linked essay or application can lift the integer tick into its own state.",
84
+ "path": "recipes/recorded-motion.tsx",
85
+ "story": "recipes-recorded-motion--example",
86
+ "imports": [
87
+ "import { MotionFigure, parseMotionClip } from '@mechane-ai/elements/kits/research';"
88
+ ]
89
+ },
80
90
  {
81
91
  "slug": "searchable-collection",
82
92
  "title": "Searchable Collection",
83
- "description": "Build a searchable, filterable server-paged table with record links. Keep query state in the route and retain the previous page during refresh. The server authorizes, filters and sorts the collection before paging.",
93
+ "description": "Build a board feed, list, or server-paged collection with search and filters in its title and links to records. The route owns query state. The server authorizes, filters and sorts before paging.",
84
94
  "path": "recipes/searchable-collection.tsx",
85
95
  "story": "recipes-searchable-collection--example",
86
96
  "imports": [
87
97
  "import { Button } from '@mechane-ai/elements';",
88
- "import { DataTable, DataTablePlaceholder } from '@mechane-ai/elements/collections';",
89
- "import type { DataTableColumn, DataTableSort } from '@mechane-ai/elements/collections';",
90
- "import { AsyncRegion, Notice } from '@mechane-ai/elements/feedback';",
91
- "import { PageLayout } from '@mechane-ai/elements/layout';"
98
+ "import { CollectionPage } from '@mechane-ai/elements/collections';",
99
+ "import type { CollectionRead, DataTableColumn, DataTableSort } from '@mechane-ai/elements/collections';",
100
+ "import { EmptyState } from '@mechane-ai/elements/feedback';"
92
101
  ]
93
102
  },
94
103
  {
@@ -645,10 +654,6 @@
645
654
  "kind": "value",
646
655
  "declaration": "dist/packages/feedback/src/feedback.d.ts"
647
656
  },
648
- "Notice": {
649
- "kind": "value",
650
- "declaration": "dist/packages/feedback/src/feedback.d.ts"
651
- },
652
657
  "ButtonPlaceholderProps": {
653
658
  "kind": "type",
654
659
  "declaration": "dist/packages/feedback/src/control-placeholders.d.ts"
@@ -1029,6 +1034,26 @@
1029
1034
  }
1030
1035
  },
1031
1036
  "@mechane-ai/elements/collections": {
1037
+ "CollectionPageProps": {
1038
+ "kind": "type",
1039
+ "declaration": "dist/packages/collections/src/collection-page.d.ts"
1040
+ },
1041
+ "CollectionRead": {
1042
+ "kind": "type",
1043
+ "declaration": "dist/packages/collections/src/collection-page.d.ts"
1044
+ },
1045
+ "CollectionSectionProps": {
1046
+ "kind": "type",
1047
+ "declaration": "dist/packages/collections/src/collection-page.d.ts"
1048
+ },
1049
+ "CollectionPage": {
1050
+ "kind": "value",
1051
+ "declaration": "dist/packages/collections/src/collection-page.d.ts"
1052
+ },
1053
+ "CollectionSection": {
1054
+ "kind": "value",
1055
+ "declaration": "dist/packages/collections/src/collection-page.d.ts"
1056
+ },
1032
1057
  "CollectionToolbarProps": {
1033
1058
  "kind": "type",
1034
1059
  "declaration": "dist/packages/collections/src/collection-controls.d.ts"
@@ -1125,6 +1150,34 @@
1125
1150
  "kind": "value",
1126
1151
  "declaration": "dist/packages/collections/src/data-table.d.ts"
1127
1152
  },
1153
+ "CardColumn": {
1154
+ "kind": "type",
1155
+ "declaration": "dist/packages/collections/src/card-columns-model.d.ts"
1156
+ },
1157
+ "CardColumnsLabels": {
1158
+ "kind": "type",
1159
+ "declaration": "dist/packages/collections/src/card-columns-model.d.ts"
1160
+ },
1161
+ "CardColumnsStatus": {
1162
+ "kind": "type",
1163
+ "declaration": "dist/packages/collections/src/card-columns-model.d.ts"
1164
+ },
1165
+ "CardMoveDetails": {
1166
+ "kind": "type",
1167
+ "declaration": "dist/packages/collections/src/card-columns-model.d.ts"
1168
+ },
1169
+ "CardSummary": {
1170
+ "kind": "type",
1171
+ "declaration": "dist/packages/collections/src/card-columns-model.d.ts"
1172
+ },
1173
+ "CardColumnsProps": {
1174
+ "kind": "type",
1175
+ "declaration": "dist/packages/collections/src/card-columns.d.ts"
1176
+ },
1177
+ "CardColumns": {
1178
+ "kind": "value",
1179
+ "declaration": "dist/packages/collections/src/card-columns.d.ts"
1180
+ },
1128
1181
  "CollectionEndProps": {
1129
1182
  "kind": "type",
1130
1183
  "declaration": "dist/packages/collections/src/collection-scroll.d.ts"
@@ -1587,6 +1640,34 @@
1587
1640
  "kind": "value",
1588
1641
  "declaration": "dist/packages/ai/src/message.d.ts"
1589
1642
  },
1643
+ "MessageReaction": {
1644
+ "kind": "type",
1645
+ "declaration": "dist/packages/ai/src/message-reactions.d.ts"
1646
+ },
1647
+ "MessageReactionsLabels": {
1648
+ "kind": "type",
1649
+ "declaration": "dist/packages/ai/src/message-reactions.d.ts"
1650
+ },
1651
+ "MessageReactionsProps": {
1652
+ "kind": "type",
1653
+ "declaration": "dist/packages/ai/src/message-reactions.d.ts"
1654
+ },
1655
+ "ReactionChoice": {
1656
+ "kind": "type",
1657
+ "declaration": "dist/packages/ai/src/message-reactions.d.ts"
1658
+ },
1659
+ "ReactionNameDetails": {
1660
+ "kind": "type",
1661
+ "declaration": "dist/packages/ai/src/message-reactions.d.ts"
1662
+ },
1663
+ "ReactionToggleDetails": {
1664
+ "kind": "type",
1665
+ "declaration": "dist/packages/ai/src/message-reactions.d.ts"
1666
+ },
1667
+ "MessageReactions": {
1668
+ "kind": "value",
1669
+ "declaration": "dist/packages/ai/src/message-reactions.d.ts"
1670
+ },
1590
1671
  "MessageActionProps": {
1591
1672
  "kind": "type",
1592
1673
  "declaration": "dist/packages/ai/src/message-action.d.ts"
@@ -3968,6 +4049,14 @@
3968
4049
  "timeTicks": {
3969
4050
  "kind": "value",
3970
4051
  "declaration": "dist/packages/charts/src/plot/ticks.d.ts"
4052
+ },
4053
+ "SpatialLayer": {
4054
+ "kind": "value",
4055
+ "declaration": "dist/packages/charts/src/plot/spatial-layer.d.ts"
4056
+ },
4057
+ "SpatialLayerProps": {
4058
+ "kind": "type",
4059
+ "declaration": "dist/packages/charts/src/plot/spatial-layer.d.ts"
3971
4060
  }
3972
4061
  },
3973
4062
  "@mechane-ai/elements/charts/figure": {
@@ -5797,30 +5886,6 @@
5797
5886
  }
5798
5887
  },
5799
5888
  "@mechane-ai/elements/kits/research": {
5800
- "CollectionPageProps": {
5801
- "kind": "type",
5802
- "declaration": "dist/packages/kits/src/research/collection-page.d.ts"
5803
- },
5804
- "CollectionScope": {
5805
- "kind": "type",
5806
- "declaration": "dist/packages/kits/src/research/collection-page.d.ts"
5807
- },
5808
- "CollectionSectionProps": {
5809
- "kind": "type",
5810
- "declaration": "dist/packages/kits/src/research/collection-page.d.ts"
5811
- },
5812
- "CollectionStatus": {
5813
- "kind": "type",
5814
- "declaration": "dist/packages/kits/src/research/collection-page.d.ts"
5815
- },
5816
- "CollectionPage": {
5817
- "kind": "value",
5818
- "declaration": "dist/packages/kits/src/research/collection-page.d.ts"
5819
- },
5820
- "CollectionSection": {
5821
- "kind": "value",
5822
- "declaration": "dist/packages/kits/src/research/collection-page.d.ts"
5823
- },
5824
5889
  "FindingCardLabels": {
5825
5890
  "kind": "type",
5826
5891
  "declaration": "dist/packages/kits/src/research/finding-card.d.ts"
@@ -5932,6 +5997,58 @@
5932
5997
  "WorkHeartbeat": {
5933
5998
  "kind": "value",
5934
5999
  "declaration": "dist/packages/kits/src/research/work-heartbeat.d.ts"
6000
+ },
6001
+ "MotionClip": {
6002
+ "kind": "type",
6003
+ "declaration": "dist/packages/kits/src/research/motion-clip.d.ts"
6004
+ },
6005
+ "MotionArm": {
6006
+ "kind": "type",
6007
+ "declaration": "dist/packages/kits/src/research/motion-clip.d.ts"
6008
+ },
6009
+ "MotionMoment": {
6010
+ "kind": "type",
6011
+ "declaration": "dist/packages/kits/src/research/motion-clip.d.ts"
6012
+ },
6013
+ "MotionPoint": {
6014
+ "kind": "type",
6015
+ "declaration": "dist/packages/kits/src/research/motion-clip.d.ts"
6016
+ },
6017
+ "MotionBounds": {
6018
+ "kind": "type",
6019
+ "declaration": "dist/packages/kits/src/research/motion-clip.d.ts"
6020
+ },
6021
+ "MotionTrack": {
6022
+ "kind": "type",
6023
+ "declaration": "dist/packages/kits/src/research/motion-clip.d.ts"
6024
+ },
6025
+ "parseMotionClip": {
6026
+ "kind": "value",
6027
+ "declaration": "dist/packages/kits/src/research/motion-clip.d.ts"
6028
+ },
6029
+ "motionSceneAt": {
6030
+ "kind": "value",
6031
+ "declaration": "dist/packages/kits/src/research/motion-frame.d.ts"
6032
+ },
6033
+ "MotionLabels": {
6034
+ "kind": "type",
6035
+ "declaration": "dist/packages/kits/src/research/motion-scene.d.ts"
6036
+ },
6037
+ "MotionSceneProps": {
6038
+ "kind": "type",
6039
+ "declaration": "dist/packages/kits/src/research/motion-scene.d.ts"
6040
+ },
6041
+ "MotionScene": {
6042
+ "kind": "value",
6043
+ "declaration": "dist/packages/kits/src/research/motion-scene.d.ts"
6044
+ },
6045
+ "MotionFigureProps": {
6046
+ "kind": "type",
6047
+ "declaration": "dist/packages/kits/src/research/motion-figure.d.ts"
6048
+ },
6049
+ "MotionFigure": {
6050
+ "kind": "value",
6051
+ "declaration": "dist/packages/kits/src/research/motion-figure.d.ts"
5935
6052
  }
5936
6053
  },
5937
6054
  "@mechane-ai/elements/theme": {
@@ -1,5 +1,5 @@
1
1
  import { n as e, t } from "./chart-tones-ei3BC2AL.js";
2
- import { A as n, D as r, M as i, O as a, j as o } from "./plot-layout-CvkeUuG6.js";
2
+ import { A as n, D as r, M as i, O as a, j as o } from "./plot-layout-1MG72ZWn.js";
3
3
  import { t as s } from "./accessibility-P89UG9-r.js";
4
4
  import * as c from "@stylexjs/stylex";
5
5
  import { useId as l } from "react";
@@ -1,4 +1,4 @@
1
- import { r as e } from "./figure-format-B8kRZMlo.js";
1
+ import { r as e } from "./figure-format-BVb7yFCA.js";
2
2
  import { a as t, f as n, l as r, r as i, s as a } from "./plot-marks-DgCtcd3L.js";
3
3
  import { i as o, r as s } from "./scale-C2xgZyZN.js";
4
4
  import { a as c } from "./tone-scope-DKiSw-JR.js";
@@ -1 +1 @@
1
- export { t as AreaChart, p as BarChart, m as BarChartPlaceholder, f as BreakdownBar, d as BridgeChart, n as LineChart, l as ScatterPlot, r as SmallMultiples, i as SmallMultiplesPlaceholder, s as Sparkline, a as TimeSeriesChartPlaceholder, u as scatterLimits, o as timeSeriesBandLimits, c as timeSeriesLimits } from "../time-series-CTNVqoUQ.js";
1
+ export { t as AreaChart, p as BarChart, m as BarChartPlaceholder, f as BreakdownBar, d as BridgeChart, n as LineChart, l as ScatterPlot, r as SmallMultiples, i as SmallMultiplesPlaceholder, s as Sparkline, a as TimeSeriesChartPlaceholder, u as scatterLimits, o as timeSeriesBandLimits, c as timeSeriesLimits } from "../time-series-DtAtGoT_.js";
@@ -1 +1 @@
1
- export { o as BarCell, a as ChangeCell, i as HeatCell, r as IntervalCell, t as SparkCell, n as sparkCellLimits } from "../cells-X8SVrZBc.js";
1
+ export { o as BarCell, a as ChangeCell, i as HeatCell, r as IntervalCell, t as SparkCell, n as sparkCellLimits } from "../cells-BRI8LpMU.js";
@@ -1 +1 @@
1
- export { a as BulletBar, r as DotPlot, t as DumbbellPlot, o as bulletLimits, i as dotPlotLimits, n as dumbbellLimits } from "../dumbbell-plot-VFajQtEW.js";
1
+ export { a as BulletBar, r as DotPlot, t as DumbbellPlot, o as bulletLimits, i as dotPlotLimits, n as dumbbellLimits } from "../dumbbell-plot-jaQvOctJ.js";
@@ -1 +1 @@
1
- export { s as BoxPlot, f as ECDF, d as Histogram, u as IntervalPlot, l as RankedBars, a as Ridgeline, r as StripPlot, t as ViolinPlot, c as boxLimits, p as distributionLimits, o as ridgelineLimits, i as stripLimits, n as violinLimits } from "../violin-plot-BYJnv6sG.js";
1
+ export { s as BoxPlot, f as ECDF, d as Histogram, u as IntervalPlot, l as RankedBars, a as Ridgeline, r as StripPlot, t as ViolinPlot, c as boxLimits, p as distributionLimits, o as ridgelineLimits, i as stripLimits, n as violinLimits } from "../violin-plot-83HSjnQM.js";
@@ -1,16 +1,16 @@
1
- import { d as e, f as t, l as n, n as r, p as i, r as a, s as o, t as s } from "../time-series-CTNVqoUQ.js";
2
- import { a as c, r as l, t as u } from "../dumbbell-plot-VFajQtEW.js";
3
- import { a as d, d as f, f as p, l as ee, r as te, s as ne, t as re, u as ie } from "../violin-plot-BYJnv6sG.js";
4
- import { a as ae, r as oe, s as se, t as ce } from "../tree-diagram-BIJFK4pl.js";
5
- import { n as le, t as ue } from "../treemap-DgmEw_mr.js";
6
- import { a as de, r as fe, t as pe } from "../image-grid-Dpyqxgwy.js";
7
- import { c as me, i as he, o as m, r as ge, t as _e, u as ve } from "../token-heatmap-DddArdH8.js";
8
- import { a as ye, l as be, r as xe, s as Se, t as Ce } from "../embedding-map-BqDEmy88.js";
9
- import { a as we, c as Te, r as h, t as Ee } from "../token-predictions-CBykmPID.js";
10
- import { n as De, t as Oe } from "../waterfall-BNseqMas.js";
11
- import { a as ke, l as Ae, r as je, s as Me, t as Ne } from "../slope-chart-BMOCaa8R.js";
1
+ import { d as e, f as t, l as n, n as r, p as i, r as a, s as o, t as s } from "../time-series-DtAtGoT_.js";
2
+ import { a as c, r as l, t as u } from "../dumbbell-plot-jaQvOctJ.js";
3
+ import { a as d, d as f, f as p, l as ee, r as te, s as ne, t as re, u as ie } from "../violin-plot-83HSjnQM.js";
4
+ import { a as ae, r as oe, s as se, t as ce } from "../tree-diagram-D9ekymCQ.js";
5
+ import { n as le, t as ue } from "../treemap-DT8q65LQ.js";
6
+ import { a as de, r as fe, t as pe } from "../image-grid-B6fdmE9c.js";
7
+ import { c as me, i as he, o as m, r as ge, t as _e, u as ve } from "../token-heatmap-m6oaMwkK.js";
8
+ import { a as ye, l as be, r as xe, s as Se, t as Ce } from "../embedding-map-DnZL1kvY.js";
9
+ import { a as we, c as Te, r as h, t as Ee } from "../token-predictions-CpGVjOIs.js";
10
+ import { n as De, t as Oe } from "../waterfall-DmApvdrY.js";
11
+ import { a as ke, l as Ae, r as je, s as Me, t as Ne } from "../slope-chart-CELflRJd.js";
12
12
  import { m as g } from "../values-963L6n1m.js";
13
- import { a as _, r as v } from "../figure-frame-Dd-pOeZN.js";
13
+ import { a as _, r as v } from "../figure-frame-96zFqsWz.js";
14
14
  import { createElement as y } from "react";
15
15
  import { jsx as b } from "react/jsx-runtime";
16
16
  import { formatNumber as Pe } from "@ui-sdk/core/number";
@@ -1 +1 @@
1
- export { r as AttributionGraph, s as FlowDiagram, a as RelationGraph, t as TreeDiagram, i as attributionLimits, c as flowLimits, o as relationGraphLimits, n as treeLimits } from "../tree-diagram-BIJFK4pl.js";
1
+ export { r as AttributionGraph, s as FlowDiagram, a as RelationGraph, t as TreeDiagram, i as attributionLimits, c as flowLimits, o as relationGraphLimits, n as treeLimits } from "../tree-diagram-D9ekymCQ.js";
@@ -1 +1 @@
1
- export { n as Icicle, t as Treemap, r as icicleLimits } from "../treemap-DgmEw_mr.js";
1
+ export { n as Icicle, t as Treemap, r as icicleLimits } from "../treemap-DT8q65LQ.js";
@@ -1 +1 @@
1
- export { a as AttributionOverlay, r as ImageAtlas, t as ImageGrid, o as attributionOverlayLimits, i as imageAtlasLimits, n as imageGridLimits } from "../image-grid-Dpyqxgwy.js";
1
+ export { a as AttributionOverlay, r as ImageAtlas, t as ImageGrid, o as attributionOverlayLimits, i as imageAtlasLimits, n as imageGridLimits } from "../image-grid-B6fdmE9c.js";
@@ -1,4 +1,4 @@
1
- import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "../token-heatmap-DddArdH8.js";
2
- import { t as p } from "../color-legend-CIo7DhXB.js";
1
+ import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "../token-heatmap-m6oaMwkK.js";
2
+ import { t as p } from "../color-legend-4As8881l.js";
3
3
  import { t as m } from "../heatmap-scale-Zte6Ya-g.js";
4
4
  export { f as AttentionMatrix, t as CalendarHeatmap, p as ColorLegend, s as ConfusionMatrix, i as CorrelationMatrix, l as Matrix, d as TokenHeatmap, n as attentionMatrixLimits, a as calendarHeatmapLimits, u as confusionMatrixLimits, e as correlationMatrixLimits, m as heatmapColor, c as matrixCellId, r as matrixLimits, o as tokenHeatmapLimits };
@@ -1,15 +1,16 @@
1
- import { a as e, i as t, l as n, n as r, o as i, r as a, t as o } from "../figure-frame-Dd-pOeZN.js";
2
- import { t as s } from "../chart-cursor-1mFd48Jc.js";
3
- import { A as c, D as l, E as u, M as d, O as f, S as p, _ as m, a as h, d as g, f as _, g as v, h as y, i as b, j as x, l as S, m as C, n as w, o as T, p as E, r as D, s as O, t as k, u as A, v as j, y as M } from "../plot-layout-CvkeUuG6.js";
4
- import { n as N } from "../plot-width-D3hTycYX.js";
5
- import { a as P, n as F, r as I } from "../tone-scope-DKiSw-JR.js";
6
- import { a as L } from "../figure-format-B8kRZMlo.js";
7
- import { a as R, c as z, d as B, i as V, l as H, n as U, o as W, r as G, s as K, t as q, u as J } from "../point-layer-C-EYETAt.js";
8
- import { n as Y, t as X } from "../label-place-Z0fryBZb.js";
9
- import { t as Z } from "../locate-Bcg3QcP4.js";
10
- import { i as Q, n as $, r as ee, t as te } from "../path-BglsXpnO.js";
11
- import { t as ne } from "../plot-axes-D5S9BnBa.js";
12
- import { a as re, c as ie, d as ae, f as oe, i as se, l as ce, n as le, o as ue, p as de, r as fe, s as pe, t as me, u as he } from "../plot-marks-DgCtcd3L.js";
13
- import { n as ge, r as _e, t as ve } from "../plot-surface-yy37R4vs.js";
14
- import { a as ye, i as be, n as xe, o as Se, r as Ce, t as we } from "../scale-C2xgZyZN.js";
15
- export { me as AreaMark, le as BandMark, fe as BarMark, u as Chart, s as ChartCursor, n as ChartData, i as ChartInspection, l as ChartMark, f as ChartPlot, p as ChartReadout, se as ConnectorMark, z as DensityLayer, re as DotMark, o as FigureEmpty, r as FigureFrame, a as FigureInvalid, t as FigureLoading, ue as GuideMark, pe as IntervalMark, ie as LabelMark, ce as LineMark, he as LinkMark, ne as PlotAxes, ve as PlotClip, ge as PlotSurface, U as PlotViewportRoot, G as PlotViewportSurface, q as PointLayer, ae as RingMark, oe as RuleMark, de as SymbolMark, V as WHOLE_VIEW, te as areaPath, F as assignTones, I as automaticTone, k as axisTicks, w as axisTitle, we as bandScale, D as bandTicks, b as categoryPlot, N as chartStyles, xe as columnExtent, Ce as continuousScale, H as contourSegments, W as countInside, e as coverageText, h as fitDomain, X as freeLabelSpot, d as hasUniqueIds, K as hitIndex, c as inspectedLabel, be as isFiniteDomain, $ as isolatedPoints, Y as labelBox, ee as linePath, y as linearTicks, Q as linkPath, Z as locateNearest, v as logTicks, T as numericPlot, ye as outsideDomain, O as plotBox, x as plotLabel, S as plotMargins, J as sampleGrid, Se as scaleDomainError, m as scaleTicks, B as segmentsPath, j as symlogTicks, A as tickTexts, g as ticksMinimum, _ as timeAxisTicks, E as timePlot, M as timeTicks, _e as usePlotSize, P as useTones, C as valueGutter, R as visibleDomains, L as zoneOffset };
1
+ import { A as e, D as t, E as n, M as r, O as i, S as a, _ as o, a as s, d as c, f as l, g as u, h as d, i as f, j as p, l as m, m as h, n as g, o as _, p as v, r as y, s as b, t as x, u as S, v as C, y as w } from "../plot-layout-1MG72ZWn.js";
2
+ import { a as T, n as E, r as D } from "../tone-scope-DKiSw-JR.js";
3
+ import { a as O } from "../figure-format-BVb7yFCA.js";
4
+ import { a as k, i as A, n as j, o as M, r as N, t as P } from "../scale-C2xgZyZN.js";
5
+ import { t as F } from "../chart-cursor-1mFd48Jc.js";
6
+ import { a as I, i as L, l as R, n as z, o as B, r as V, t as H } from "../figure-frame-96zFqsWz.js";
7
+ import { n as U } from "../plot-width-D3hTycYX.js";
8
+ import { t as W } from "../plot-axes-D5S9BnBa.js";
9
+ import { a as G, c as K, d as q, f as J, i as Y, l as X, n as Z, o as Q, p as $, r as ee, s as te, t as ne, u as re } from "../plot-marks-DgCtcd3L.js";
10
+ import { n as ie, r as ae, t as oe } from "../plot-surface-8-FZI94y.js";
11
+ import { n as se, t as ce } from "../label-place-Z0fryBZb.js";
12
+ import { i as le, n as ue, r as de, t as fe } from "../path-BglsXpnO.js";
13
+ import { t as pe } from "../locate-Bcg3QcP4.js";
14
+ import { a as me, c as he, d as ge, i as _e, l as ve, n as ye, o as be, r as xe, s as Se, t as Ce, u as we } from "../point-layer-C-EYETAt.js";
15
+ import { t as Te } from "../plot-CpTwLIYN.js";
16
+ export { ne as AreaMark, Z as BandMark, ee as BarMark, n as Chart, F as ChartCursor, R as ChartData, B as ChartInspection, t as ChartMark, i as ChartPlot, a as ChartReadout, Y as ConnectorMark, he as DensityLayer, G as DotMark, H as FigureEmpty, z as FigureFrame, V as FigureInvalid, L as FigureLoading, Q as GuideMark, te as IntervalMark, K as LabelMark, X as LineMark, re as LinkMark, W as PlotAxes, oe as PlotClip, ie as PlotSurface, ye as PlotViewportRoot, xe as PlotViewportSurface, Ce as PointLayer, q as RingMark, J as RuleMark, Te as SpatialLayer, $ as SymbolMark, _e as WHOLE_VIEW, fe as areaPath, E as assignTones, D as automaticTone, x as axisTicks, g as axisTitle, P as bandScale, y as bandTicks, f as categoryPlot, U as chartStyles, j as columnExtent, N as continuousScale, ve as contourSegments, be as countInside, I as coverageText, s as fitDomain, ce as freeLabelSpot, r as hasUniqueIds, Se as hitIndex, e as inspectedLabel, A as isFiniteDomain, ue as isolatedPoints, se as labelBox, de as linePath, d as linearTicks, le as linkPath, pe as locateNearest, u as logTicks, _ as numericPlot, k as outsideDomain, b as plotBox, p as plotLabel, m as plotMargins, we as sampleGrid, M as scaleDomainError, o as scaleTicks, ge as segmentsPath, C as symlogTicks, S as tickTexts, c as ticksMinimum, l as timeAxisTicks, v as timePlot, w as timeTicks, ae as usePlotSize, T as useTones, h as valueGutter, me as visibleDomains, O as zoneOffset };
@@ -1 +1 @@
1
- export { l as ContourPlot, r as DensityMap, t as EmbeddingMap, s as ParallelCoordinates, a as ScatterMatrix, u as contourLimits, i as densityLimits, n as embeddingLimits, c as parallelLimits, o as scatterMatrixLimits } from "../embedding-map-BqDEmy88.js";
1
+ export { l as ContourPlot, r as DensityMap, t as EmbeddingMap, s as ParallelCoordinates, a as ScatterMatrix, u as contourLimits, i as densityLimits, n as embeddingLimits, c as parallelLimits, o as scatterMatrixLimits } from "../embedding-map-DnZL1kvY.js";
@@ -1 +1 @@
1
- export { c as TokenExamples, a as TokenGrid, r as TokenLinks, t as TokenPredictions, u as TokenScaleLegend, d as TokenText, f as quoteToken, l as tokenExampleLimits, o as tokenGridCellId, s as tokenGridLimits, i as tokenLinkLimits, n as tokenPredictionLimits } from "../token-predictions-CBykmPID.js";
1
+ export { c as TokenExamples, a as TokenGrid, r as TokenLinks, t as TokenPredictions, u as TokenScaleLegend, d as TokenText, f as quoteToken, l as tokenExampleLimits, o as tokenGridCellId, s as tokenGridLimits, i as tokenLinkLimits, n as tokenPredictionLimits } from "../token-predictions-CpGVjOIs.js";
@@ -1,3 +1,3 @@
1
- import { i as e, n as t, r as n, t as r } from "../waterfall-BNseqMas.js";
2
- import { n as i, t as a } from "../timeline-DrsDtEIW.js";
1
+ import { i as e, n as t, r as n, t as r } from "../waterfall-DmApvdrY.js";
2
+ import { n as i, t as a } from "../timeline-CzianQir.js";
3
3
  export { t as EventStrip, a as TraceTimeline, r as Waterfall, n as eventStripGutter, e as eventStripLimits, i as traceTimelineLimits };
@@ -1 +1 @@
1
- export { l as BumpChart, s as CurveChart, a as HorizonChart, r as RunsChart, t as SlopeChart, u as bumpLimits, c as curveLimits, o as horizonLimits, i as runsLimits, n as slopeLimits } from "../slope-chart-BMOCaa8R.js";
1
+ export { l as BumpChart, s as CurveChart, a as HorizonChart, r as RunsChart, t as SlopeChart, u as bumpLimits, c as curveLimits, o as horizonLimits, i as runsLimits, n as slopeLimits } from "../slope-chart-CELflRJd.js";
package/dist/charts.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { n as e, t } from "./chart-tones-ei3BC2AL.js";
2
- import { C as n, T as r, b as i, c as a, w as o, x as s } from "./plot-layout-CvkeUuG6.js";
3
- import { r as c } from "./categorical-values-AXJkMt-Y.js";
2
+ import { C as n, T as r, b as i, c as a, w as o, x as s } from "./plot-layout-1MG72ZWn.js";
3
+ import { r as c } from "./categorical-values-6Iz03F1i.js";
4
4
  import { i as l, n as u, t as d } from "./chart-link-AE_xuxiP.js";
5
5
  import { i as f, t as p } from "./tone-scope-DKiSw-JR.js";
6
6
  import { t as m } from "./src-DIS0YOj0.js";
7
- import { i as h, n as g, r as _, t as v } from "./figure-format-B8kRZMlo.js";
7
+ import { i as h, n as g, r as _, t as v } from "./figure-format-BVb7yFCA.js";
8
8
  export { n as CaptionScope, i as ChartFrame, m as ChartGrid, s as ChartLegend, d as ChartLink, r as ChartSeriesMarker, v as MISSING_VALUE_TEXT, p as ToneScope, c as categoricalLimits, t as chartToneColors, e as chartToneOutlines, g as formatTime, _ as formatValue, a as plotHeights, h as tickFormat, u as useChartLinkControl, o as useIsCaptioned, l as useLinkedInspection, f as useScopedTone };
@@ -1,4 +1,4 @@
1
- import { b as e } from "./src-BgmAkau8.js";
1
+ import { b as e } from "./src-Bkov5TTa.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";
@@ -1 +1 @@
1
- export { c as CollectionEnd, p as CollectionFilters, v as CollectionPagination, l as CollectionScroll, y as CollectionToolbar, u as DataTable, d as DataTablePlaceholder, g as DataTableText, _ as DataTableTextPlaceholder, o as Details, b as DisplayOptions, x as FilterChips, s as Inspector, a as ListFooter, r as Metric, i as MetricGrid, m as TableQueryFrame, t as Timeline, n as Timestamp, f as useCollectionControls, h as useLocalTableQuery } from "./src-Tu6d_Pm8.js";
1
+ export { u as CardColumns, c as CollectionEnd, v as CollectionFilters, p as CollectionPage, x as CollectionPagination, l as CollectionScroll, m as CollectionSection, S as CollectionToolbar, h as DataTable, g as DataTablePlaceholder, d as DataTableText, f as DataTableTextPlaceholder, o as Details, C as DisplayOptions, w as FilterChips, s as Inspector, a as ListFooter, r as Metric, i as MetricGrid, y as TableQueryFrame, t as Timeline, n as Timestamp, _ as useCollectionControls, b as useLocalTableQuery } from "./src-Dc1t1ugL.js";
@@ -1,4 +1,4 @@
1
- import { r as e } from "./figure-format-B8kRZMlo.js";
1
+ import { r as e } from "./figure-format-BVb7yFCA.js";
2
2
  import { n as t, t as n } from "./heatmap-scale-Zte6Ya-g.js";
3
3
  import * as r from "@stylexjs/stylex";
4
4
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
- import { F as e } from "./src-BgmAkau8.js";
1
+ import { F as e } from "./src-Bkov5TTa.js";
2
2
  import { s as t } from "./src-na2DdkKI.js";
3
- import { n } from "./navigation-Cp3p0gss.js";
3
+ import { n } from "./navigation-CTnYtVD8.js";
4
4
  import * as r from "@stylexjs/stylex";
5
5
  import { useEffect as i, useEffectEvent as a } from "react";
6
6
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
@@ -1 +1 @@
1
- export { t as CodeBlock } from "../code-block-BDRmjlES.js";
1
+ export { t as CodeBlock } from "../code-block-DbW_t9U4.js";
@@ -1,5 +1,5 @@
1
- import { A as e, b as t, v as n } from "../src-BgmAkau8.js";
2
- import { i as r, t as i } from "../code-block-BDRmjlES.js";
1
+ import { A as e, b as t, v as n } from "../src-Bkov5TTa.js";
2
+ import { i as r, t as i } from "../code-block-DbW_t9U4.js";
3
3
  import { t as a } from "../viewer-styles-DsFYri4K.js";
4
4
  import * as o from "@stylexjs/stylex";
5
5
  import { useEffect as s, useState as c } from "react";
@@ -44,7 +44,7 @@ function h(n) {
44
44
  let e = !0;
45
45
  async function t() {
46
46
  if (!j) try {
47
- let t = await import("../pierre-diff-DuvK3kLF.js"), n = t.prepareDiff(S);
47
+ let t = await import("../pierre-diff-DXVIwW7o.js"), n = t.prepareDiff(S);
48
48
  e && T({
49
49
  source: S,
50
50
  Component: t.PierreDiff,
@@ -1 +1 @@
1
- export { t as ContentLink } from "../content-link-DRaNf1mD.js";
1
+ export { t as ContentLink } from "../content-link-BN4NPp0u.js";
@@ -1 +1 @@
1
- export { n as Markdown, t as MarkdownPreview } from "../markdown--nfaDoR1.js";
1
+ export { n as Markdown, t as MarkdownPreview } from "../markdown-JeuBeMDZ.js";
@@ -1,5 +1,5 @@
1
- import { c as e } from "../src-BgmAkau8.js";
2
- import { n as t } from "../forms-Bjx7JQ30.js";
1
+ import { c as e } from "../src-Bkov5TTa.js";
2
+ import { n as t } from "../forms-iAOjGRTO.js";
3
3
  import { t as n } from "../constants.stylex-CqhVl0uU.js";
4
4
  import { u as r } from "../tokens.stylex-dF5CACEJ.js";
5
5
  import { t as i } from "../viewer-styles-DsFYri4K.js";
@@ -1,4 +1,4 @@
1
- import { j as e } from "./src-BgmAkau8.js";
1
+ import { j as e } from "./src-Bkov5TTa.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 { p as JsonViewer, f as LogViewer, u as MediaViewer, d as MediaViewerPlaceholder, l as PlaybackBar, c as StackTrace, i as TextMatch, r as TimelineScrubber, n as Trace, t as ViewportFrame, a as fuzzyScore, o as matchRanges, s as matchSegments } from "./src-Bns-5joF.js";
1
+ export { p as JsonViewer, f as LogViewer, u as MediaViewer, d as MediaViewerPlaceholder, l as PlaybackBar, c as StackTrace, i as TextMatch, r as TimelineScrubber, n as Trace, t as ViewportFrame, a as fuzzyScore, o as matchRanges, s as matchSegments } from "./src-BsqbWDxS.js";
@@ -1,5 +1,5 @@
1
- import { A as e, E as t, F as n, O as r } from "./src-BgmAkau8.js";
2
- import { n as i, t as a } from "./forms-Bjx7JQ30.js";
1
+ import { A as e, E as t, F as n, O as r } from "./src-Bkov5TTa.js";
2
+ import { n as i, t as a } from "./forms-iAOjGRTO.js";
3
3
  import { r as o } from "./src-na2DdkKI.js";
4
4
  import { t as s } from "./accessibility-P89UG9-r.js";
5
5
  import * as c from "@stylexjs/stylex";
@@ -1,14 +1,14 @@
1
1
  import { r as e } from "./tokens.stylex-dF5CACEJ.js";
2
- import { A as t, E as n, M as r, S as i, a, c as o, i as s, j as c, n as l, x as u } from "./plot-layout-CvkeUuG6.js";
2
+ import { A as t, E as n, M as r, S as i, a, c as o, i as s, j as c, n as l, x as u } from "./plot-layout-1MG72ZWn.js";
3
3
  import { i as d, r as f } from "./chart-link-AE_xuxiP.js";
4
4
  import { a as p } from "./tone-scope-DKiSw-JR.js";
5
- import { r as m } from "./figure-format-B8kRZMlo.js";
5
+ import { r as m } from "./figure-format-BVb7yFCA.js";
6
6
  import { a as h, o as g } from "./scale-C2xgZyZN.js";
7
- import { i as _, l as v, n as y, r as b, t as x } from "./figure-frame-Dd-pOeZN.js";
7
+ import { i as _, l as v, n as y, r as b, t as x } from "./figure-frame-96zFqsWz.js";
8
8
  import { n as S } from "./plot-width-D3hTycYX.js";
9
9
  import { t as C } from "./plot-axes-D5S9BnBa.js";
10
10
  import { a as w, f as T, r as E, s as D } from "./plot-marks-DgCtcd3L.js";
11
- import { n as O, r as k, t as A } from "./plot-surface-yy37R4vs.js";
11
+ import { n as O, r as k, t as A } from "./plot-surface-8-FZI94y.js";
12
12
  import { t as ee } from "./locate-Bcg3QcP4.js";
13
13
  import * as j from "@stylexjs/stylex";
14
14
  import { useId as M } from "react";
@@ -1,20 +1,20 @@
1
1
  import { r as e } from "./tokens.stylex-dF5CACEJ.js";
2
- import { A as t } from "./src-BgmAkau8.js";
3
- import { b as n, v as r } from "./src-C5SH3jjU.js";
4
- import { t as i } from "./forms-Bjx7JQ30.js";
2
+ import { A as t } from "./src-Bkov5TTa.js";
3
+ import { b as n, v as r } from "./src-DceyVyL0.js";
4
+ import { t as i } from "./forms-iAOjGRTO.js";
5
5
  import { t as a } from "./chart-tones-ei3BC2AL.js";
6
- import { A as o, D as s, E as c, M as l, S as u, a as d, c as f, j as ee, l as p, n as te, o as m, s as h, t as g, x as ne } from "./plot-layout-CvkeUuG6.js";
6
+ import { A as o, D as s, E as c, M as l, S as u, a as d, c as f, j as ee, l as p, n as te, o as m, s as h, t as g, x as ne } from "./plot-layout-1MG72ZWn.js";
7
7
  import { i as _ } from "./chart-link-AE_xuxiP.js";
8
8
  import { a as v } from "./tone-scope-DKiSw-JR.js";
9
- import { r as y } from "./figure-format-B8kRZMlo.js";
9
+ import { r as y } from "./figure-format-BVb7yFCA.js";
10
10
  import { a as b, n as x, o as S, r as re } from "./scale-C2xgZyZN.js";
11
- import { i as ie, l as ae, n as oe, r as se, t as ce } from "./figure-frame-Dd-pOeZN.js";
11
+ import { i as ie, l as ae, n as oe, r as se, t as ce } from "./figure-frame-96zFqsWz.js";
12
12
  import { n as C } from "./plot-width-D3hTycYX.js";
13
13
  import { t as le } from "./plot-axes-D5S9BnBa.js";
14
14
  import { a as w, c as ue, l as T } from "./plot-marks-DgCtcd3L.js";
15
- import { n as de, r as fe, t as pe } from "./plot-surface-yy37R4vs.js";
15
+ import { n as de, r as fe, t as pe } from "./plot-surface-8-FZI94y.js";
16
16
  import { n as E, r as D } from "./path-BglsXpnO.js";
17
- import { t as O } from "./color-legend-CIo7DhXB.js";
17
+ import { t as O } from "./color-legend-4As8881l.js";
18
18
  import { a as k, c as A, d as j, i as M, l as me, n as N, o as P, r as he, s as F, t as I, u as L } from "./point-layer-C-EYETAt.js";
19
19
  import * as R from "@stylexjs/stylex";
20
20
  import { useEffect as z, useId as ge, useMemo as B, useRef as _e, useState as V } from "react";
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-BdyO4PgQ.js";
1
+ export { t as AsyncRegion, c as ButtonPlaceholder, n as ContentReveal, p as EmptyState, l as FieldPlaceholder, r as LoadingScope, o as Meter, s as Progress, u as Skeleton, d as SkeletonText, f as Spinner, i as Toaster, a as toast } from "./src-CIyuaSCi.js";
@@ -0,0 +1,46 @@
1
+ import { formatNumber as e } from "@ui-sdk/core/number";
2
+ // packages/charts/src/figure/figure-format.ts
3
+ var t = "Unavailable";
4
+ function n({ value: n, locale: r, format: i }) {
5
+ return n === null || !Number.isFinite(n) ? t : e(n, r, i);
6
+ }
7
+ function r(e) {
8
+ return typeof e == "function" ? e : {
9
+ notation: "compact",
10
+ ...e
11
+ };
12
+ }
13
+ var i = 64;
14
+ function a() {
15
+ let e = /* @__PURE__ */ new Map();
16
+ return function(t, n) {
17
+ let r = JSON.stringify([t, n]), a = e.get(r);
18
+ if (a !== void 0) return a;
19
+ let o = new Intl.DateTimeFormat(t, n);
20
+ return e.size >= i && e.clear(), e.set(r, o), o;
21
+ };
22
+ }
23
+ var o = a();
24
+ function s({ timestamp: e, locale: t, format: n }) {
25
+ return typeof n == "function" ? n(e) : o(t, n).format(e);
26
+ }
27
+ var c = {
28
+ hourCycle: "h23",
29
+ year: "numeric",
30
+ month: "numeric",
31
+ day: "numeric",
32
+ hour: "numeric",
33
+ minute: "numeric",
34
+ second: "numeric"
35
+ }, l = 1e3;
36
+ function u(e, t) {
37
+ let n = o("en-US", {
38
+ ...c,
39
+ timeZone: t
40
+ }).formatToParts(e);
41
+ function r(e) {
42
+ return Number(n.find((t) => t.type === e)?.value);
43
+ }
44
+ return Date.UTC(r("year"), r("month") - 1, r("day"), r("hour"), r("minute"), r("second")) - Math.floor(e / l) * l;
45
+ }
46
+ export { u as a, r as i, s as n, n as r, t };