@mechane-ai/elements 0.45.0 → 0.47.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 (340) hide show
  1. package/README.md +353 -50
  2. package/bin/mechane-elements-catalog.mjs +42 -4
  3. package/dist/ai.js +268 -202
  4. package/dist/catalog.json +2480 -71
  5. package/dist/categorical-values-DdfGIowV.js +107 -0
  6. package/dist/cells--Bd1fQFR.js +384 -0
  7. package/dist/chart-cursor-1mFd48Jc.js +23 -0
  8. package/dist/chart-link-AE_xuxiP.js +35 -0
  9. package/dist/chart-tones-ei3BC2AL.js +27 -0
  10. package/dist/charts/cartesian.js +1 -2792
  11. package/dist/charts/cells.js +1 -0
  12. package/dist/charts/comparison.js +1 -0
  13. package/dist/charts/distribution.js +1 -709
  14. package/dist/charts/figure.js +3404 -0
  15. package/dist/charts/graph.js +1 -641
  16. package/dist/charts/hierarchy.js +1 -112
  17. package/dist/charts/image.js +1 -0
  18. package/dist/charts/matrix.js +3 -637
  19. package/dist/charts/plot.js +15 -0
  20. package/dist/charts/relationship.js +1 -0
  21. package/dist/charts/text.js +1 -0
  22. package/dist/charts/timeline.js +1 -233
  23. package/dist/charts/transforms.js +677 -0
  24. package/dist/charts/trend.js +1 -0
  25. package/dist/charts.js +8 -3
  26. package/dist/{code-block-Cpfr7B6a.js → code-block-DioAM2bZ.js} +67 -52
  27. package/dist/collections.js +1 -1735
  28. package/dist/color-legend-CIo7DhXB.js +62 -0
  29. package/dist/content/code.js +1 -1
  30. package/dist/content/diff.js +67 -66
  31. package/dist/content/link.js +1 -1
  32. package/dist/content/markdown.js +2 -2
  33. package/dist/content/tree.js +2 -2
  34. package/dist/{content-link-CGeFFb9F.js → content-link-NWuHp5rC.js} +1 -1
  35. package/dist/content.js +1 -1
  36. package/dist/csp.js +6 -11
  37. package/dist/dates-Cww8UR_n.js +810 -0
  38. package/dist/dumbbell-plot-B2ZTgQaI.js +508 -0
  39. package/dist/embedding-map-CGM_k6lC.js +1929 -0
  40. package/dist/feedback.js +1 -1
  41. package/dist/figure-format-B8kRZMlo.js +36 -0
  42. package/dist/figure-frame-wRkIEAwe.js +270 -0
  43. package/dist/forms/dates.js +1 -750
  44. package/dist/{forms-DeU0Tiv3.js → forms-CEbwzlRR.js} +50 -41
  45. package/dist/forms.js +3 -3
  46. package/dist/heatmap-scale-Zte6Ya-g.js +20 -0
  47. package/dist/image-grid-CVA4SOy_.js +598 -0
  48. package/dist/index.js +1 -1
  49. package/dist/kits/evaluation.js +431 -0
  50. package/dist/kits/explainers.js +452 -0
  51. package/dist/kits/interpretability.js +1033 -0
  52. package/dist/kits/operations.js +239 -0
  53. package/dist/kits/training.js +335 -0
  54. package/dist/label-place-Z0fryBZb.js +42 -0
  55. package/dist/layout.js +207 -207
  56. package/dist/locate-Bcg3QcP4.js +11 -0
  57. package/dist/navigation.js +4 -3
  58. package/dist/packages/ai/src/conversation.d.ts +2 -0
  59. package/dist/packages/ai/src/prompt-input.d.ts +7 -2
  60. package/dist/packages/charts/src/cartesian/bar-chart.d.ts +40 -21
  61. package/dist/packages/charts/src/cartesian/bar-data.d.ts +15 -4
  62. package/dist/packages/charts/src/cartesian/bar-overlays.d.ts +7 -3
  63. package/dist/packages/charts/src/cartesian/breakdown-bar.d.ts +10 -8
  64. package/dist/packages/charts/src/cartesian/bridge-chart.d.ts +20 -16
  65. package/dist/packages/charts/src/cartesian/bridge-data.d.ts +5 -4
  66. package/dist/packages/charts/src/cartesian/composition-bars.d.ts +8 -4
  67. package/dist/packages/charts/src/cartesian/index.d.ts +6 -5
  68. package/dist/packages/charts/src/cartesian/reference-lines.d.ts +25 -18
  69. package/dist/packages/charts/src/cartesian/scatter-plot.d.ts +37 -26
  70. package/dist/packages/charts/src/cartesian/sparkline.d.ts +14 -2
  71. package/dist/packages/charts/src/cartesian/time-series-bands.d.ts +3 -2
  72. package/dist/packages/charts/src/cartesian/time-series-data.d.ts +12 -2
  73. package/dist/packages/charts/src/cartesian/time-series-line.d.ts +2 -2
  74. package/dist/packages/charts/src/cartesian/time-series-overlays.d.ts +6 -4
  75. package/dist/packages/charts/src/cartesian/time-series.d.ts +61 -27
  76. package/dist/packages/charts/src/cartesian/value-labels.d.ts +22 -0
  77. package/dist/packages/charts/src/categorical-values.d.ts +15 -10
  78. package/dist/packages/charts/src/cells/bar-cell.d.ts +13 -0
  79. package/dist/packages/charts/src/cells/cell-layout.d.ts +81 -0
  80. package/dist/packages/charts/src/cells/change-cell.d.ts +17 -0
  81. package/dist/packages/charts/src/cells/heat-cell.d.ts +19 -0
  82. package/dist/packages/charts/src/cells/index.d.ts +11 -0
  83. package/dist/packages/charts/src/cells/interval-cell.d.ts +16 -0
  84. package/dist/packages/charts/src/cells/spark-cell.d.ts +22 -0
  85. package/dist/packages/charts/src/chart-frame.d.ts +17 -12
  86. package/dist/packages/charts/src/chart-grid.d.ts +19 -0
  87. package/dist/packages/charts/src/chart-input.d.ts +1 -9
  88. package/dist/packages/charts/src/chart-inspection.d.ts +1 -2
  89. package/dist/packages/charts/src/chart-link.d.ts +56 -0
  90. package/dist/packages/charts/src/chart-range.d.ts +33 -0
  91. package/dist/packages/charts/src/chart-rows.d.ts +20 -0
  92. package/dist/packages/charts/src/chart-theme.d.ts +17 -0
  93. package/dist/packages/charts/src/chart.d.ts +73 -0
  94. package/dist/packages/charts/src/comparison/bullet-bar.d.ts +34 -0
  95. package/dist/packages/charts/src/comparison/comparison-plot.d.ts +54 -0
  96. package/dist/packages/charts/src/comparison/dot-plot.d.ts +41 -0
  97. package/dist/packages/charts/src/comparison/dumbbell-plot.d.ts +33 -0
  98. package/dist/packages/charts/src/comparison/index.d.ts +6 -0
  99. package/dist/packages/charts/src/distribution/box-plot.d.ts +40 -0
  100. package/dist/packages/charts/src/distribution/distribution-input.d.ts +5 -3
  101. package/dist/packages/charts/src/distribution/distribution-plot.d.ts +28 -161
  102. package/dist/packages/charts/src/distribution/ecdf.d.ts +16 -15
  103. package/dist/packages/charts/src/distribution/group-plot-input.d.ts +35 -0
  104. package/dist/packages/charts/src/distribution/group-plot-layout.d.ts +79 -0
  105. package/dist/packages/charts/src/distribution/group-plot.d.ts +73 -0
  106. package/dist/packages/charts/src/distribution/histogram.d.ts +16 -16
  107. package/dist/packages/charts/src/distribution/index.d.ts +11 -0
  108. package/dist/packages/charts/src/distribution/interval-plot.d.ts +16 -13
  109. package/dist/packages/charts/src/distribution/ranked-bars.d.ts +17 -14
  110. package/dist/packages/charts/src/distribution/ridgeline.d.ts +34 -0
  111. package/dist/packages/charts/src/distribution/strip-plot.d.ts +37 -0
  112. package/dist/packages/charts/src/distribution/violin-plot.d.ts +34 -0
  113. package/dist/packages/charts/src/figure/figure-format.d.ts +34 -0
  114. package/dist/packages/charts/src/figure/figure-frame.d.ts +47 -0
  115. package/dist/packages/charts/src/figure/figure-props.d.ts +54 -0
  116. package/dist/packages/charts/src/figure/tone-scope.d.ts +32 -0
  117. package/dist/packages/charts/src/graph/attribution-graph.d.ts +62 -0
  118. package/dist/packages/charts/src/graph/attribution-layout.d.ts +88 -0
  119. package/dist/packages/charts/src/graph/flow-diagram.d.ts +14 -15
  120. package/dist/packages/charts/src/graph/flow-layout.d.ts +4 -2
  121. package/dist/packages/charts/src/graph/graph-canvas.d.ts +33 -0
  122. package/dist/packages/charts/src/graph/index.d.ts +6 -2
  123. package/dist/packages/charts/src/graph/relation-graph.d.ts +24 -13
  124. package/dist/packages/charts/src/graph/tree-diagram.d.ts +41 -0
  125. package/dist/packages/charts/src/graph/tree-layout.d.ts +71 -0
  126. package/dist/packages/charts/src/hierarchy/area-mark.d.ts +17 -0
  127. package/dist/packages/charts/src/hierarchy/icicle.d.ts +35 -0
  128. package/dist/packages/charts/src/hierarchy/index.d.ts +2 -0
  129. package/dist/packages/charts/src/hierarchy/partition-layout.d.ts +25 -0
  130. package/dist/packages/charts/src/hierarchy/treemap-layout.d.ts +26 -0
  131. package/dist/packages/charts/src/hierarchy/treemap.d.ts +11 -9
  132. package/dist/packages/charts/src/image/attribution-legend.d.ts +13 -0
  133. package/dist/packages/charts/src/image/attribution-overlay.d.ts +50 -0
  134. package/dist/packages/charts/src/image/attribution-ramp.d.ts +16 -0
  135. package/dist/packages/charts/src/image/image-atlas.d.ts +37 -0
  136. package/dist/packages/charts/src/image/image-fill.d.ts +9 -0
  137. package/dist/packages/charts/src/image/image-grid.d.ts +26 -0
  138. package/dist/packages/charts/src/image/image-input.d.ts +27 -0
  139. package/dist/packages/charts/src/image/image-tile.d.ts +27 -0
  140. package/dist/packages/charts/src/image/index.d.ts +7 -0
  141. package/dist/packages/charts/src/index.d.ts +16 -1
  142. package/dist/packages/charts/src/matrix/attention-matrix.d.ts +41 -0
  143. package/dist/packages/charts/src/matrix/calendar-heatmap.d.ts +37 -0
  144. package/dist/packages/charts/src/matrix/color-legend.d.ts +9 -2
  145. package/dist/packages/charts/src/matrix/confusion-matrix.d.ts +36 -0
  146. package/dist/packages/charts/src/matrix/correlation-matrix.d.ts +34 -0
  147. package/dist/packages/charts/src/matrix/heatmap-scale.d.ts +8 -2
  148. package/dist/packages/charts/src/matrix/index.d.ts +14 -3
  149. package/dist/packages/charts/src/matrix/matrix-cells.d.ts +27 -3
  150. package/dist/packages/charts/src/matrix/matrix-figure.d.ts +50 -0
  151. package/dist/packages/charts/src/matrix/matrix-mark.d.ts +34 -0
  152. package/dist/packages/charts/src/matrix/matrix-presets.d.ts +20 -0
  153. package/dist/packages/charts/src/matrix/matrix-range.d.ts +45 -0
  154. package/dist/packages/charts/src/matrix/matrix-strip.d.ts +13 -14
  155. package/dist/packages/charts/src/matrix/matrix-types.d.ts +40 -0
  156. package/dist/packages/charts/src/matrix/matrix.d.ts +13 -11
  157. package/dist/packages/charts/src/matrix/token-heatmap.d.ts +16 -10
  158. package/dist/packages/charts/src/plot/contours.d.ts +45 -0
  159. package/dist/packages/charts/src/plot/index.d.ts +49 -0
  160. package/dist/packages/charts/src/plot/label-place.d.ts +35 -0
  161. package/dist/packages/charts/src/plot/locate.d.ts +18 -0
  162. package/dist/packages/charts/src/plot/path.d.ts +39 -0
  163. package/dist/packages/charts/src/plot/plot-axes.d.ts +20 -0
  164. package/dist/packages/charts/src/plot/plot-layout.d.ts +221 -0
  165. package/dist/packages/charts/src/plot/plot-marks.d.ts +124 -0
  166. package/dist/packages/charts/src/plot/plot-surface.d.ts +32 -0
  167. package/dist/packages/charts/src/plot/render/density-layer.d.ts +17 -0
  168. package/dist/packages/charts/src/plot/render/hit-index.d.ts +37 -0
  169. package/dist/packages/charts/src/plot/render/plot-viewport.d.ts +39 -0
  170. package/dist/packages/charts/src/plot/render/point-layer.d.ts +41 -0
  171. package/dist/packages/charts/src/plot/render/theme-colors.d.ts +15 -0
  172. package/dist/packages/charts/src/plot/scale.d.ts +48 -0
  173. package/dist/packages/charts/src/plot/ticks.d.ts +34 -0
  174. package/dist/packages/charts/src/plot-width.d.ts +3 -3
  175. package/dist/packages/charts/src/relationship/contour-plot.d.ts +61 -0
  176. package/dist/packages/charts/src/relationship/density-map.d.ts +45 -0
  177. package/dist/packages/charts/src/relationship/embedding-map.d.ts +75 -0
  178. package/dist/packages/charts/src/relationship/index.d.ts +11 -0
  179. package/dist/packages/charts/src/relationship/level-legend.d.ts +11 -0
  180. package/dist/packages/charts/src/relationship/measures.d.ts +85 -0
  181. package/dist/packages/charts/src/relationship/parallel-coordinates.d.ts +30 -0
  182. package/dist/packages/charts/src/relationship/range-controls.d.ts +20 -0
  183. package/dist/packages/charts/src/relationship/scatter-matrix.d.ts +20 -0
  184. package/dist/packages/charts/src/spec/chart-guide.d.ts +21 -0
  185. package/dist/packages/charts/src/spec/figure-registry.d.ts +44 -0
  186. package/dist/packages/charts/src/spec/figure-spec.d.ts +147 -0
  187. package/dist/packages/charts/src/spec/figure-text.d.ts +8 -0
  188. package/dist/packages/charts/src/spec/figure.d.ts +12 -0
  189. package/dist/packages/charts/src/spec/guide-data.d.ts +85 -0
  190. package/dist/packages/charts/src/spec/index.d.ts +10 -0
  191. package/dist/packages/charts/src/spec/validate-figure.d.ts +15 -0
  192. package/dist/packages/charts/src/text/index.d.ts +11 -0
  193. package/dist/packages/charts/src/text/token-examples.d.ts +42 -0
  194. package/dist/packages/charts/src/text/token-grid.d.ts +47 -0
  195. package/dist/packages/charts/src/text/token-links.d.ts +49 -0
  196. package/dist/packages/charts/src/text/token-predictions.d.ts +38 -0
  197. package/dist/packages/charts/src/text/token-scale.d.ts +20 -0
  198. package/dist/packages/charts/src/text/token-text.d.ts +39 -0
  199. package/dist/packages/charts/src/timeline/event-strip.d.ts +70 -0
  200. package/dist/packages/charts/src/timeline/index.d.ts +3 -1
  201. package/dist/packages/charts/src/timeline/waterfall.d.ts +29 -14
  202. package/dist/packages/charts/src/transforms/bins.d.ts +91 -0
  203. package/dist/packages/charts/src/transforms/density.d.ts +53 -0
  204. package/dist/packages/charts/src/transforms/fits.d.ts +50 -0
  205. package/dist/packages/charts/src/transforms/index.d.ts +19 -0
  206. package/dist/packages/charts/src/transforms/matrices.d.ts +49 -0
  207. package/dist/packages/charts/src/transforms/quantiles.d.ts +96 -0
  208. package/dist/packages/charts/src/transforms/ranks.d.ts +44 -0
  209. package/dist/packages/charts/src/transforms/runs.d.ts +47 -0
  210. package/dist/packages/charts/src/transforms/sampling.d.ts +75 -0
  211. package/dist/packages/charts/src/transforms/smoothing.d.ts +41 -0
  212. package/dist/packages/charts/src/transforms/values.d.ts +70 -0
  213. package/dist/packages/charts/src/trend/bump-chart.d.ts +33 -0
  214. package/dist/packages/charts/src/trend/column-figure.d.ts +38 -0
  215. package/dist/packages/charts/src/trend/column-positions.d.ts +21 -0
  216. package/dist/packages/charts/src/trend/curve-chart.d.ts +69 -0
  217. package/dist/packages/charts/src/trend/end-labels.d.ts +40 -0
  218. package/dist/packages/charts/src/trend/horizon-chart.d.ts +37 -0
  219. package/dist/packages/charts/src/trend/index.d.ts +10 -0
  220. package/dist/packages/charts/src/trend/line-locate.d.ts +21 -0
  221. package/dist/packages/charts/src/trend/runs-chart.d.ts +50 -0
  222. package/dist/packages/charts/src/trend/slope-chart.d.ts +35 -0
  223. package/dist/packages/collections/src/collection-controls.d.ts +5 -1
  224. package/dist/packages/collections/src/collection-filters.d.ts +4 -1
  225. package/dist/packages/collections/src/control-toolbar.d.ts +13 -0
  226. package/dist/packages/collections/src/data-table-layout.d.ts +78 -0
  227. package/dist/packages/collections/src/data-table-rows.d.ts +54 -0
  228. package/dist/packages/collections/src/data-table-styles.d.ts +340 -0
  229. package/dist/packages/collections/src/data-table-text.d.ts +13 -0
  230. package/dist/packages/collections/src/data-table-trigger.d.ts +23 -0
  231. package/dist/packages/collections/src/data-table.d.ts +3 -85
  232. package/dist/packages/collections/src/index.d.ts +11 -6
  233. package/dist/packages/collections/src/query-controls.d.ts +6 -2
  234. package/dist/packages/collections/src/table-results.d.ts +47 -13
  235. package/dist/packages/collections/src/timeline.d.ts +1 -0
  236. package/dist/packages/collections/src/use-collection-controls.d.ts +2 -1
  237. package/dist/packages/collections/src/use-table-window.d.ts +25 -0
  238. package/dist/packages/content/src/viewer.d.ts +8 -0
  239. package/dist/packages/core/src/disclosure.d.ts +9 -1
  240. package/dist/packages/core/src/index.d.ts +1 -0
  241. package/dist/packages/core/src/route-link.d.ts +11 -0
  242. package/dist/packages/forms/src/dates/date-inputs.d.ts +3 -1
  243. package/dist/packages/forms/src/file-picker.d.ts +15 -0
  244. package/dist/packages/forms/src/form-controls.d.ts +1 -6
  245. package/dist/packages/forms/src/forms.d.ts +4 -1
  246. package/dist/packages/forms/src/index.d.ts +4 -2
  247. package/dist/packages/forms/src/selection.d.ts +14 -0
  248. package/dist/packages/foundations/src/csp/index.d.ts +1 -1
  249. package/dist/packages/foundations/src/csp/provider.d.ts +7 -2
  250. package/dist/packages/kits/src/evaluation/evaluation-data.d.ts +31 -0
  251. package/dist/packages/kits/src/evaluation/index.d.ts +8 -0
  252. package/dist/packages/kits/src/evaluation/leaderboard-cells.d.ts +62 -0
  253. package/dist/packages/kits/src/evaluation/leaderboard.d.ts +59 -0
  254. package/dist/packages/kits/src/evaluation/model-comparison.d.ts +59 -0
  255. package/dist/packages/kits/src/evaluation/score-breakdown.d.ts +33 -0
  256. package/dist/packages/kits/src/explainers/bound-value.d.ts +29 -0
  257. package/dist/packages/kits/src/explainers/figures.d.ts +31 -0
  258. package/dist/packages/kits/src/explainers/index.d.ts +8 -0
  259. package/dist/packages/kits/src/explainers/linked-target.d.ts +22 -0
  260. package/dist/packages/kits/src/explainers/story-steps.d.ts +46 -0
  261. package/dist/packages/kits/src/explainers/term.d.ts +29 -0
  262. package/dist/packages/kits/src/interpretability/attention-head-grid.d.ts +56 -0
  263. package/dist/packages/kits/src/interpretability/attribution-workbench.d.ts +29 -0
  264. package/dist/packages/kits/src/interpretability/embedding-atlas.d.ts +41 -0
  265. package/dist/packages/kits/src/interpretability/feature-card.d.ts +33 -0
  266. package/dist/packages/kits/src/interpretability/feature-list.d.ts +51 -0
  267. package/dist/packages/kits/src/interpretability/feature-logits.d.ts +23 -0
  268. package/dist/packages/kits/src/interpretability/features.d.ts +70 -0
  269. package/dist/packages/kits/src/interpretability/index.d.ts +16 -0
  270. package/dist/packages/kits/src/interpretability/kit-styles.d.ts +118 -0
  271. package/dist/packages/kits/src/interpretability/logit-lens.d.ts +50 -0
  272. package/dist/packages/kits/src/interpretability/node-panel.d.ts +32 -0
  273. package/dist/packages/kits/src/interpretability/shared-link.d.ts +8 -0
  274. package/dist/packages/kits/src/interpretability/steering-panel.d.ts +52 -0
  275. package/dist/packages/kits/src/operations/budget-board.d.ts +49 -0
  276. package/dist/packages/kits/src/operations/incident-timeline.d.ts +30 -0
  277. package/dist/packages/kits/src/operations/index.d.ts +6 -0
  278. package/dist/packages/kits/src/operations/service-health.d.ts +66 -0
  279. package/dist/packages/kits/src/training/index.d.ts +8 -0
  280. package/dist/packages/kits/src/training/run-dashboard.d.ts +49 -0
  281. package/dist/packages/kits/src/training/run-legend.d.ts +21 -0
  282. package/dist/packages/kits/src/training/run-marker.d.ts +5 -0
  283. package/dist/packages/kits/src/training/run-state.d.ts +7 -0
  284. package/dist/packages/kits/src/training/run-table.d.ts +63 -0
  285. package/dist/packages/kits/src/training/runs-overview.d.ts +20 -0
  286. package/dist/packages/kits/src/training/runs.d.ts +34 -0
  287. package/dist/packages/navigation/src/index.d.ts +1 -1
  288. package/dist/path-BglsXpnO.js +59 -0
  289. package/dist/{pierre-diff-B3tD3-6z.js → pierre-diff-DlvjyuJn.js} +1 -1
  290. package/dist/plot-axes-DJkLW4wk.js +100 -0
  291. package/dist/plot-layout-BEuoOHbs.js +911 -0
  292. package/dist/plot-marks-A64v7aTw.js +226 -0
  293. package/dist/plot-surface-CJTIqtck.js +51 -0
  294. package/dist/{plot-width-CIqBiHcd.js → plot-width-DcqtSgzb.js} +22 -3
  295. package/dist/point-layer-C-EYETAt.js +655 -0
  296. package/dist/reference-lines-CWA8VeUR.js +82 -0
  297. package/dist/scale-C2xgZyZN.js +63 -0
  298. package/dist/slope-chart-DT22h_ym.js +1279 -0
  299. package/dist/{src-gqEebHEa.js → src-1EHkSFS-.js} +395 -274
  300. package/dist/{src-DBNncL7_.js → src-BPTDJqt0.js} +48 -68
  301. package/dist/{src-Dcs3SZ9V.js → src-CExIrXPC.js} +170 -194
  302. package/dist/src-CGc_hjxJ.js +409 -0
  303. package/dist/{src-DcW_gMX8.js → src-CpdJlDhO.js} +480 -362
  304. package/dist/src-D5NXRJZe.js +2195 -0
  305. package/dist/src-DIS0YOj0.js +44 -0
  306. package/dist/styles2.css +574 -161
  307. package/dist/time-series-IB3CB93O.js +2668 -0
  308. package/dist/token-heatmap-C00DnoNO.js +1354 -0
  309. package/dist/token-predictions-Cxx29iDr.js +1093 -0
  310. package/dist/tone-scope-DKiSw-JR.js +32 -0
  311. package/dist/tree-diagram-DsckNKaW.js +1629 -0
  312. package/dist/treemap-9_DpLCW9.js +472 -0
  313. package/dist/values-963L6n1m.js +65 -0
  314. package/dist/violin-plot-BhPHKXsN.js +1291 -0
  315. package/dist/waterfall-CGksuTy5.js +576 -0
  316. package/package.json +57 -7
  317. package/recipes/allocation-report.tsx +15 -7
  318. package/skills/extend-elements/SKILL.md +134 -0
  319. package/skills/review-elements/SKILL.md +118 -0
  320. package/skills/upgrade-elements/SKILL.md +36 -0
  321. package/skills/upgrade-elements/references/releases.md +242 -0
  322. package/skills/use-elements/SKILL.md +70 -13
  323. package/skills/use-elements/references/agent.md +57 -0
  324. package/skills/use-elements/references/charts.md +384 -0
  325. package/skills/use-elements/references/collections.md +89 -0
  326. package/skills/use-elements/references/conversations.md +47 -0
  327. package/skills/use-elements/references/figures.md +173 -0
  328. package/skills/use-elements/references/forms.md +81 -0
  329. package/skills/use-elements/references/kits.md +198 -0
  330. package/skills/use-elements/references/styling.md +70 -0
  331. package/skills/use-elements/references/workspace.md +3 -3
  332. package/dist/categorical-values-DZLGQVW1.js +0 -63
  333. package/dist/chart-frame-Ztktqs1b.js +0 -255
  334. package/dist/chart-input-BO3BqlFO.js +0 -22
  335. package/dist/chart-navigation-BAbb5PV9.js +0 -154
  336. package/dist/header-styles-COxCYFZx.js +0 -90
  337. package/dist/packages/charts/src/chart-navigation.d.ts +0 -39
  338. package/dist/packages/charts/src/chart-surface.d.ts +0 -27
  339. package/dist/packages/navigation/src/route-link.d.ts +0 -2
  340. package/dist/src-Bk7M67zy.js +0 -396
@@ -1,26 +1,27 @@
1
1
  import { a as e, i as t, n, r, t as i } from "./control-styles-D3q_Qyxi.js";
2
2
  import { n as a } from "./accessibility-P89UG9-r.js";
3
- import { S as o, i as s, o as c, s as l, x as u, y as d } from "./src-DcW_gMX8.js";
4
- import { r as f } from "./forms-DeU0Tiv3.js";
5
- import * as p from "@stylexjs/stylex";
6
- import { createParts as m, mergeProps as h } from "@ui-sdk/react/primitive";
7
- import { createContext as g, useContext as _, useId as v } from "react";
3
+ import { C as o, D as s, S as c, b as l, i as u, o as d, s as f } from "./src-CpdJlDhO.js";
4
+ import { r as p } from "./forms-CEbwzlRR.js";
5
+ import * as m from "@stylexjs/stylex";
6
+ import { createParts as ee, mergeProps as h } from "@ui-sdk/react/primitive";
7
+ import { createContext as g, useContext as _, useId as v, useState as te } from "react";
8
+ import { definePrimitive as ne } from "@ui-sdk/core";
8
9
  import { jsx as y, jsxs as b } from "react/jsx-runtime";
9
- import { Check as x, ChevronDown as S, X as C } from "lucide-react";
10
+ import { Check as x, ChevronDown as S, File as re, X as C } from "lucide-react";
10
11
  import * as w from "@ui-sdk/react/combobox";
11
- import { Radio as T, RadioGroup as E, RadioIndicator as D } from "@ui-sdk/react/radio";
12
- import { mergeProps as ee } from "@base-ui/react/merge-props";
13
- import { Field as te, FieldControl as ne, FieldLabel as re, FieldLegend as ie, FieldSet as ae, useFieldControl as oe } from "@ui-sdk/react/field";
14
- import { InputGroup as se } from "@ui-sdk/react/input";
15
- import { NumberInput as ce, NumberInputControl as le, NumberInputDecrement as ue, NumberInputGroup as de, NumberInputIncrement as fe } from "@ui-sdk/react/number-input";
16
- import { Slider as O, SliderControl as k, SliderIndicator as A, SliderThumb as j, SliderTrack as M, SliderValue as N } from "@ui-sdk/react/slider";
17
- import { definePrimitive as P } from "@ui-sdk/core";
18
- import * as F from "@ui-sdk/react/select";
19
- import { Checkbox as I, CheckboxIndicator as L } from "@ui-sdk/react/checkbox";
20
- import { Switch as R, SwitchThumb as z } from "@ui-sdk/react/switch";
21
- import { Toggle as B, ToggleGroup as V } from "@ui-sdk/react/toggle";
12
+ import { Radio as T, RadioGroup as E, RadioIndicator as ie } from "@ui-sdk/react/radio";
13
+ import { Field as ae, FieldLabel as oe, FieldLegend as se, FieldSet as ce, useFieldControl as le } from "@ui-sdk/react/field";
14
+ import { InputGroup as ue } from "@ui-sdk/react/input";
15
+ import { NumberInput as de, NumberInputControl as fe, NumberInputDecrement as pe, NumberInputGroup as me, NumberInputIncrement as he } from "@ui-sdk/react/number-input";
16
+ import { Slider as D, SliderControl as O, SliderIndicator as k, SliderThumb as A, SliderTrack as j, SliderValue as M } from "@ui-sdk/react/slider";
17
+ import { FileInput as N, FileInputDropzone as P, FileInputItem as F, FileInputItemRemove as I, FileInputList as L, FileInputTrigger as R } from "@ui-sdk/react/file-input";
18
+ import * as z from "@ui-sdk/react/select";
19
+ import { Checkbox as ge, CheckboxIndicator as _e } from "@ui-sdk/react/checkbox";
20
+ import { SegmentedControl as ve, SegmentedControlIndicator as ye, SegmentedControlItem as be } from "@ui-sdk/react/segmented-control";
21
+ import { Switch as xe, SwitchThumb as Se } from "@ui-sdk/react/switch";
22
+ import { Toggle as Ce, ToggleGroup as we } from "@ui-sdk/react/toggle";
22
23
  // packages/forms/src/selection-styles.ts
23
- var H = {
24
+ var B = {
24
25
  trigger: {
25
26
  k1xSpc: "x3nfvp2",
26
27
  kGNEyG: "x6s0dn4",
@@ -122,7 +123,7 @@ var H = {
122
123
  kHjlTd: "xj0a0fe",
123
124
  $$css: !0
124
125
  }
125
- }, U = g("standard"), W = {
126
+ }, V = g("standard"), H = {
126
127
  inputGroup: {
127
128
  kOIVth: "xunmzkg",
128
129
  $$css: !0
@@ -174,81 +175,81 @@ var H = {
174
175
  $$css: !0
175
176
  }
176
177
  };
177
- function pe(e) {
178
- return /* @__PURE__ */ y(U, {
178
+ function Te(e) {
179
+ return /* @__PURE__ */ y(V, {
179
180
  value: e.density ?? "standard",
180
181
  children: (e.multiple, /* @__PURE__ */ y(w.Combobox, { ...e }))
181
182
  });
182
183
  }
183
- function me({ xstyle: e, ...n }) {
184
- let i = _(U);
185
- return /* @__PURE__ */ y("div", { ...h(p.props(r.group, t[i], W.inputGroup, e), n) });
184
+ function Ee({ xstyle: e, ...n }) {
185
+ let i = _(V);
186
+ return /* @__PURE__ */ y("div", { ...h(m.props(r.group, t[i], H.inputGroup, e), n) });
186
187
  }
187
- function he({ className: e, style: t, ...n }) {
188
+ function De({ className: e, style: t, ...n }) {
188
189
  return /* @__PURE__ */ y(w.ComboboxLabel, {
189
190
  ...n,
190
191
  ...a({
191
192
  className: e,
192
193
  style: t,
193
- styles: p.props(r.label)
194
+ styles: m.props(r.label)
194
195
  })
195
196
  });
196
197
  }
197
- function ge({ className: t, style: i, ...o }) {
198
- let s = _(U);
198
+ function Oe({ className: t, style: i, ...o }) {
199
+ let s = _(V);
199
200
  return /* @__PURE__ */ y(w.ComboboxInput, {
200
201
  ...o,
201
202
  ...a({
202
203
  className: t,
203
204
  style: i,
204
- styles: p.props(r.base, r.field, r.singleLineField, r.textFieldState, n[s], e[s], r.embedded, W.input)
205
+ styles: m.props(r.base, r.field, r.singleLineField, r.textFieldState, n[s], e[s], r.embedded, H.input)
205
206
  })
206
207
  });
207
208
  }
208
- function _e({ children: e = /* @__PURE__ */ y(S, {
209
+ function ke({ children: e = /* @__PURE__ */ y(S, {
209
210
  size: 16,
210
211
  "aria-hidden": "true"
211
212
  }), "aria-label": t = "Show options", className: n, style: r, ...o }) {
212
- let s = _(U);
213
+ let s = _(V);
213
214
  return /* @__PURE__ */ y(w.ComboboxTrigger, {
214
215
  ...o,
215
216
  "aria-label": t,
216
217
  ...a({
217
218
  className: n,
218
219
  style: r,
219
- styles: p.props(i[s], W.action)
220
+ styles: m.props(i[s], H.action)
220
221
  }),
221
222
  children: e
222
223
  });
223
224
  }
224
- function ve({ children: e = /* @__PURE__ */ y(C, {
225
+ function Ae({ children: e = /* @__PURE__ */ y(C, {
225
226
  size: 16,
226
227
  "aria-hidden": "true"
227
228
  }), "aria-label": t = "Clear selection", className: n, style: r, ...o }) {
228
- let s = _(U);
229
+ let s = _(V);
229
230
  return /* @__PURE__ */ y(w.ComboboxClear, {
230
231
  ...o,
231
232
  "aria-label": t,
232
233
  ...a({
233
234
  className: n,
234
235
  style: r,
235
- styles: p.props(i[s], W.action)
236
+ styles: m.props(i[s], H.action)
236
237
  }),
237
238
  children: e
238
239
  });
239
240
  }
240
- function ye({ className: e, style: t, xstyle: n, sideOffset: r = 4, ...i }) {
241
+ function je({ className: e, style: t, xstyle: n, sideOffset: r = 4, ...i }) {
241
242
  return /* @__PURE__ */ y(w.ComboboxContent, {
242
243
  ...i,
243
244
  sideOffset: r,
244
245
  ...a({
245
246
  className: e,
246
247
  style: t,
247
- styles: p.props(H.popup, H.positioner, n)
248
+ styles: m.props(B.popup, B.positioner, n)
248
249
  })
249
250
  });
250
251
  }
251
- function be({ className: e, style: t, ...n }) {
252
+ function Me({ className: e, style: t, ...n }) {
252
253
  return /* @__PURE__ */ y(w.ComboboxList, {
253
254
  ...n,
254
255
  ...a({
@@ -258,17 +259,17 @@ function be({ className: e, style: t, ...n }) {
258
259
  })
259
260
  });
260
261
  }
261
- function xe({ className: e, style: t, ...n }) {
262
+ function Ne({ className: e, style: t, ...n }) {
262
263
  return /* @__PURE__ */ y(w.ComboboxItem, {
263
264
  ...n,
264
265
  ...a({
265
266
  className: e,
266
267
  style: t,
267
- styles: p.props(H.option)
268
+ styles: m.props(B.option)
268
269
  })
269
270
  });
270
271
  }
271
- function Se({ children: e = /* @__PURE__ */ y(x, {
272
+ function Pe({ children: e = /* @__PURE__ */ y(x, {
272
273
  size: 16,
273
274
  "aria-hidden": "true"
274
275
  }), className: t, style: n, ...r }) {
@@ -277,12 +278,12 @@ function Se({ children: e = /* @__PURE__ */ y(x, {
277
278
  ...a({
278
279
  className: t,
279
280
  style: n,
280
- styles: p.props(H.icon)
281
+ styles: m.props(B.icon)
281
282
  }),
282
283
  children: e
283
284
  });
284
285
  }
285
- function Ce({ className: e, style: t, ...n }) {
286
+ function Fe({ className: e, style: t, ...n }) {
286
287
  return /* @__PURE__ */ y(w.ComboboxEmpty, {
287
288
  ...n,
288
289
  ...a({
@@ -292,7 +293,7 @@ function Ce({ className: e, style: t, ...n }) {
292
293
  })
293
294
  });
294
295
  }
295
- function we({ className: e, style: t, ...n }) {
296
+ function Ie({ className: e, style: t, ...n }) {
296
297
  return /* @__PURE__ */ y(w.ComboboxStatus, {
297
298
  ...n,
298
299
  ...a({
@@ -302,7 +303,7 @@ function we({ className: e, style: t, ...n }) {
302
303
  })
303
304
  });
304
305
  }
305
- function Te({ className: e, style: t, ...n }) {
306
+ function Le({ className: e, style: t, ...n }) {
306
307
  return /* @__PURE__ */ y(w.ComboboxGroupLabel, {
307
308
  ...n,
308
309
  ...a({
@@ -312,7 +313,7 @@ function Te({ className: e, style: t, ...n }) {
312
313
  })
313
314
  });
314
315
  }
315
- function Ee({ className: e, style: t, ...n }) {
316
+ function Re({ className: e, style: t, ...n }) {
316
317
  return /* @__PURE__ */ y(w.ComboboxChips, {
317
318
  ...n,
318
319
  ...a({
@@ -322,61 +323,61 @@ function Ee({ className: e, style: t, ...n }) {
322
323
  })
323
324
  });
324
325
  }
325
- function De({ className: e, style: n, ...i }) {
326
- let o = _(U);
326
+ function ze({ className: e, style: n, ...i }) {
327
+ let o = _(V);
327
328
  return /* @__PURE__ */ y(w.ComboboxChip, {
328
329
  ...i,
329
330
  ...a({
330
331
  className: e,
331
332
  style: n,
332
- styles: p.props(r.group, t[o], W.chip)
333
+ styles: m.props(r.group, t[o], H.chip)
333
334
  })
334
335
  });
335
336
  }
336
- function Oe({ children: e = /* @__PURE__ */ y(C, {
337
+ function Be({ children: e = /* @__PURE__ */ y(C, {
337
338
  size: 16,
338
339
  "aria-hidden": "true"
339
340
  }), className: t, style: n, ...r }) {
340
- let o = _(U);
341
+ let o = _(V);
341
342
  return /* @__PURE__ */ y(w.ComboboxChipRemove, {
342
343
  ...r,
343
344
  ...a({
344
345
  className: t,
345
346
  style: n,
346
- styles: p.props(i[o], W.action)
347
+ styles: m.props(i[o], H.action)
347
348
  }),
348
349
  children: e
349
350
  });
350
351
  }
351
- var ke = {
352
- Root: pe,
353
- Label: he,
354
- InputGroup: me,
355
- Input: ge,
356
- Trigger: _e,
357
- Clear: ve,
358
- Popup: ye,
359
- List: be,
360
- Item: xe,
361
- ItemIndicator: Se,
362
- Empty: Ce,
363
- Status: we,
352
+ var Ve = {
353
+ Root: Te,
354
+ Label: De,
355
+ InputGroup: Ee,
356
+ Input: Oe,
357
+ Trigger: ke,
358
+ Clear: Ae,
359
+ Popup: je,
360
+ List: Me,
361
+ Item: Ne,
362
+ ItemIndicator: Pe,
363
+ Empty: Fe,
364
+ Status: Ie,
364
365
  Group: w.ComboboxGroup,
365
- GroupLabel: Te,
366
- Chips: Ee,
367
- Chip: De,
368
- ChipRemove: Oe,
366
+ GroupLabel: Le,
367
+ Chips: Re,
368
+ Chip: ze,
369
+ ChipRemove: Be,
369
370
  Value: w.ComboboxValue
370
371
  };
371
372
  // packages/forms/src/agent-avatar-picker.tsx
372
- function Ae({ value: e, onValueChange: t, disabled: n = !1 }) {
373
+ function He({ value: e, onValueChange: t, disabled: n = !1 }) {
373
374
  let r = v(), i = v();
374
375
  return /* @__PURE__ */ b("div", {
375
376
  className: "x78zum5 xdt5ytf xaml1ju x1hz01jw xj57cvi xeuugli x193iq5w x16m5f1z",
376
377
  children: [
377
378
  /* @__PURE__ */ b("div", {
378
379
  className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
379
- children: [/* @__PURE__ */ y(d, {
380
+ children: [/* @__PURE__ */ y(l, {
380
381
  seed: "preview",
381
382
  appearance: e,
382
383
  size: "lg"
@@ -413,7 +414,7 @@ function Ae({ value: e, onValueChange: t, disabled: n = !1 }) {
413
414
  "aria-label": t,
414
415
  title: t,
415
416
  className: "x3nfvp2 x6s0dn4 xl56j7k x9f619 x16opp91 x1gjsuxi x17tes2r x17oiadl x1s01oa9 xmkeg23 x1y0btm7 x9r1u3d xy32g2j xjbqb8w x1ypdohk x1bn55bi xgm7wsc x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x7s97pk x1m8qfh3 xwj21n9",
416
- children: /* @__PURE__ */ y(d, {
417
+ children: /* @__PURE__ */ y(l, {
417
418
  seed: t,
418
419
  appearance: {
419
420
  ...e,
@@ -441,12 +442,12 @@ function Ae({ value: e, onValueChange: t, disabled: n = !1 }) {
441
442
  },
442
443
  disabled: n,
443
444
  className: "xrvj5dj x10yxpwy x15eknm3 xunmzkg",
444
- children: u.map((t) => /* @__PURE__ */ y(T, {
445
+ children: c.map((t) => /* @__PURE__ */ y(T, {
445
446
  value: t,
446
447
  "aria-label": t,
447
448
  title: t,
448
449
  className: "x3nfvp2 x6s0dn4 xl56j7k x9f619 x16opp91 x1gjsuxi x17tes2r x17oiadl x1s01oa9 xmkeg23 x1y0btm7 x9r1u3d xy32g2j xjbqb8w x1ypdohk x1bn55bi xgm7wsc x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x7s97pk x1m8qfh3 xwj21n9",
449
- children: /* @__PURE__ */ y(d, {
450
+ children: /* @__PURE__ */ y(l, {
450
451
  seed: t,
451
452
  appearance: {
452
453
  ...e,
@@ -461,7 +462,7 @@ function Ae({ value: e, onValueChange: t, disabled: n = !1 }) {
461
462
  });
462
463
  }
463
464
  // packages/forms/src/form-controls.tsx
464
- var G = g("standard"), K = g("standard"), q = {
465
+ var U = g("standard"), W = g("standard"), G = {
465
466
  fieldset: {
466
467
  k1xSpc: "x78zum5",
467
468
  kXwgrk: "xdt5ytf",
@@ -527,61 +528,26 @@ var G = g("standard"), K = g("standard"), q = {
527
528
  kMwMTN: "xbixft",
528
529
  kk7Lky: "xwj21n9",
529
530
  $$css: !0
530
- },
531
- file: {
532
- k8WAf4: "xt970qd",
533
- kg3NbH: "xnjsko4",
534
- kLWn49: "xasj1m4 x1fj8ryy",
535
- kihK3i: "x1k5xxp6",
536
- kzuhEi: "x1svwz4r",
537
- kov1hC: "xrc8akj",
538
- kSflKP: "x1rcvzx2 xhjjd6e",
539
- kws8Wn: "xoo4nqz",
540
- kp0OWX: "xt3cggl",
541
- kagsqe: "x1aypxx0",
542
- kgq3TX: "x1i3c8xy",
543
- kyhJmN: "x19tzrcj",
544
- k958Fn: "x1wc3fni",
545
- kZa55i: "xtqkasz",
546
- knelA6: "x2hdjra",
547
- k1g6Oj: "xns5ekw xnws22w",
548
- kWNeyc: "xjmbuqf",
549
- kq66xQ: "x1k4m713",
550
- kFMQdI: "x9qipvy",
551
- ka6B6R: "x1hr67oa",
552
- kedk6p: "xysgshy",
553
- $$css: !0
554
531
  }
555
- }, je = {
532
+ }, Ue = {
556
533
  standard: { $$css: !0 },
557
534
  compact: {
558
535
  kg3NbH: "xbsbsya",
559
536
  $$css: !0
560
537
  }
561
- }, J = {
562
- standard: { $$css: !0 },
563
- compact: {
564
- kLWn49: "x1p8ddxc x1fj8ryy",
565
- kov1hC: "xmrrhut",
566
- kSflKP: "x11rbrfk xhjjd6e",
567
- $$css: !0
568
- }
569
- }, Me = {
570
- standard: J.standard,
571
- compact: J.compact
572
538
  };
573
- function Ne({ className: e, style: t, xstyle: n, ...r }) {
574
- return /* @__PURE__ */ y(ae, {
539
+ function We({ className: e, style: t, xstyle: n, ...r }) {
540
+ return /* @__PURE__ */ y(ce, {
575
541
  ...r,
576
542
  ...a({
577
543
  className: e,
578
544
  style: t,
579
- styles: p.props(q.fieldset, n)
545
+ styles: m.props(G.fieldset, n)
580
546
  })
581
547
  });
582
548
  }
583
- function Pe({ className: e, style: t, ...n }) {
584
- return /* @__PURE__ */ y(ie, {
549
+ function Ge({ className: e, style: t, ...n }) {
550
+ return /* @__PURE__ */ y(se, {
585
551
  ...n,
586
552
  ...a({
587
553
  className: e,
@@ -590,108 +556,108 @@ function Pe({ className: e, style: t, ...n }) {
590
556
  })
591
557
  });
592
558
  }
593
- function Fe({ density: e = "standard", className: n, style: i, xstyle: o, ...s }) {
594
- return /* @__PURE__ */ y(G, {
559
+ function Ke({ density: e = "standard", className: n, style: i, xstyle: o, ...s }) {
560
+ return /* @__PURE__ */ y(U, {
595
561
  value: e,
596
- children: /* @__PURE__ */ y(se, {
562
+ children: /* @__PURE__ */ y(ue, {
597
563
  ...s,
598
564
  ...a({
599
565
  className: n,
600
566
  style: i,
601
- styles: p.props(r.group, t[e], o)
567
+ styles: m.props(r.group, t[e], o)
602
568
  })
603
569
  })
604
570
  });
605
571
  }
606
- function Ie(e) {
607
- let t = _(G);
608
- return /* @__PURE__ */ y("span", { ...ee(p.props(q.addon, je[t]), e) });
572
+ function qe(e) {
573
+ let t = _(U);
574
+ return /* @__PURE__ */ y("span", { ...h(m.props(G.addon, Ue[t]), e) });
609
575
  }
610
- function Le(e) {
611
- let t = _(G);
612
- return /* @__PURE__ */ y(f, {
576
+ function Je(e) {
577
+ let t = _(U);
578
+ return /* @__PURE__ */ y(p, {
613
579
  ...e,
614
580
  density: t,
615
581
  isEmbedded: !0
616
582
  });
617
583
  }
618
- function Re({ density: e = "standard", className: t, style: n, xstyle: i, ...o }) {
619
- return /* @__PURE__ */ y(K, {
584
+ function Ye({ density: e = "standard", className: t, style: n, xstyle: i, ...o }) {
585
+ return /* @__PURE__ */ y(W, {
620
586
  value: e,
621
- children: /* @__PURE__ */ y(ce, {
587
+ children: /* @__PURE__ */ y(de, {
622
588
  ...o,
623
589
  ...a({
624
590
  className: t,
625
591
  style: n,
626
- styles: p.props(r.fieldRoot, i)
592
+ styles: m.props(r.fieldRoot, i)
627
593
  })
628
594
  })
629
595
  });
630
596
  }
631
- function ze({ className: e, style: n, ...i }) {
632
- let o = _(K);
633
- return /* @__PURE__ */ y(de, {
597
+ function Xe({ className: e, style: n, ...i }) {
598
+ let o = _(W);
599
+ return /* @__PURE__ */ y(me, {
634
600
  ...i,
635
601
  ...a({
636
602
  className: e,
637
603
  style: n,
638
- styles: p.props(r.group, t[o])
604
+ styles: m.props(r.group, t[o])
639
605
  })
640
606
  });
641
607
  }
642
- function Be({ className: t, style: i, ...o }) {
643
- let s = _(K);
644
- return /* @__PURE__ */ y(le, {
608
+ function Ze({ className: t, style: i, ...o }) {
609
+ let s = _(W);
610
+ return /* @__PURE__ */ y(fe, {
645
611
  ...o,
646
612
  ...a({
647
613
  className: t,
648
614
  style: i,
649
- styles: p.props(r.base, r.field, r.singleLineField, r.textFieldState, n[s], e[s], r.embedded, q.numberInput)
615
+ styles: m.props(r.base, r.field, r.singleLineField, r.textFieldState, n[s], e[s], r.embedded, G.numberInput)
650
616
  })
651
617
  });
652
618
  }
653
- function Ve({ children: e = "+", "aria-label": t = "Increase", className: n, style: r, ...o }) {
654
- let s = _(K);
655
- return /* @__PURE__ */ y(fe, {
619
+ function Qe({ children: e = "+", "aria-label": t = "Increase", className: n, style: r, ...o }) {
620
+ let s = _(W);
621
+ return /* @__PURE__ */ y(he, {
656
622
  ...o,
657
623
  "aria-label": t,
658
624
  ...a({
659
625
  className: n,
660
626
  style: r,
661
- styles: p.props(i[s], q.stepper)
627
+ styles: m.props(i[s], G.stepper)
662
628
  }),
663
629
  children: e
664
630
  });
665
631
  }
666
- function He({ children: e = "−", "aria-label": t = "Decrease", className: n, style: r, ...o }) {
667
- let s = _(K);
668
- return /* @__PURE__ */ y(ue, {
632
+ function $e({ children: e = "−", "aria-label": t = "Decrease", className: n, style: r, ...o }) {
633
+ let s = _(W);
634
+ return /* @__PURE__ */ y(pe, {
669
635
  ...o,
670
636
  "aria-label": t,
671
637
  ...a({
672
638
  className: n,
673
639
  style: r,
674
- styles: p.props(i[s], q.stepper)
640
+ styles: m.props(i[s], G.stepper)
675
641
  }),
676
642
  children: e
677
643
  });
678
644
  }
679
- function Ue({ className: e, style: t, xstyle: n, ...r }) {
680
- let i = oe(), o = /* @__PURE__ */ y(O, {
645
+ function et({ className: e, style: t, xstyle: n, ...r }) {
646
+ let i = le(), o = /* @__PURE__ */ y(D, {
681
647
  ...r,
682
648
  ...a({
683
649
  className: e,
684
650
  style: t,
685
- styles: p.props(q.slider, n)
651
+ styles: m.props(G.slider, n)
686
652
  })
687
653
  });
688
- return i === null ? /* @__PURE__ */ y(te, {
654
+ return i === null ? /* @__PURE__ */ y(ae, {
689
655
  className: "xjp7ctv",
690
656
  children: o
691
657
  }) : o;
692
658
  }
693
- function We({ className: e, style: t, ...n }) {
694
- return /* @__PURE__ */ y(k, {
659
+ function tt({ className: e, style: t, ...n }) {
660
+ return /* @__PURE__ */ y(O, {
695
661
  ...n,
696
662
  ...a({
697
663
  className: e,
@@ -700,8 +666,8 @@ function We({ className: e, style: t, ...n }) {
700
666
  })
701
667
  });
702
668
  }
703
- function Ge({ className: e, style: t, ...n }) {
704
- return /* @__PURE__ */ y(M, {
669
+ function nt({ className: e, style: t, ...n }) {
670
+ return /* @__PURE__ */ y(j, {
705
671
  ...n,
706
672
  ...a({
707
673
  className: e,
@@ -710,8 +676,8 @@ function Ge({ className: e, style: t, ...n }) {
710
676
  })
711
677
  });
712
678
  }
713
- function Ke({ className: e, style: t, ...n }) {
714
- return /* @__PURE__ */ y(A, {
679
+ function rt({ className: e, style: t, ...n }) {
680
+ return /* @__PURE__ */ y(k, {
715
681
  ...n,
716
682
  ...a({
717
683
  className: e,
@@ -720,8 +686,8 @@ function Ke({ className: e, style: t, ...n }) {
720
686
  })
721
687
  });
722
688
  }
723
- function qe({ className: e, style: t, ...n }) {
724
- return /* @__PURE__ */ y(j, {
689
+ function it({ className: e, style: t, ...n }) {
690
+ return /* @__PURE__ */ y(A, {
725
691
  ...n,
726
692
  ...a({
727
693
  className: e,
@@ -730,18 +696,18 @@ function qe({ className: e, style: t, ...n }) {
730
696
  })
731
697
  });
732
698
  }
733
- function Je({ className: e, style: t, ...n }) {
734
- return /* @__PURE__ */ y(re, {
699
+ function at({ className: e, style: t, ...n }) {
700
+ return /* @__PURE__ */ y(oe, {
735
701
  ...n,
736
702
  ...a({
737
703
  className: e,
738
704
  style: t,
739
- styles: p.props(r.label)
705
+ styles: m.props(r.label)
740
706
  })
741
707
  });
742
708
  }
743
- function Ye({ className: e, style: t, ...n }) {
744
- return /* @__PURE__ */ y(N, {
709
+ function ot({ className: e, style: t, ...n }) {
710
+ return /* @__PURE__ */ y(M, {
745
711
  ...n,
746
712
  ...a({
747
713
  className: e,
@@ -750,39 +716,161 @@ function Ye({ className: e, style: t, ...n }) {
750
716
  })
751
717
  });
752
718
  }
753
- function Xe({ density: t = "standard", className: i, style: o, xstyle: s, ...c }) {
754
- return /* @__PURE__ */ y(ne, {
755
- ...c,
756
- type: "file",
757
- ...a({
758
- className: i,
759
- style: o,
760
- styles: p.props(r.base, r.field, r.singleLineField, r.textFieldState, n[t], e[t], q.file, Me[t], s)
761
- })
719
+ var st = {
720
+ Root: We,
721
+ Legend: Ge
722
+ }, ct = {
723
+ Root: Ke,
724
+ Addon: qe,
725
+ Input: Je
726
+ }, lt = {
727
+ Root: Ye,
728
+ Group: Xe,
729
+ Input: Ze,
730
+ Increment: Qe,
731
+ Decrement: $e
732
+ }, ut = {
733
+ Root: et,
734
+ Label: at,
735
+ Value: ot,
736
+ Control: tt,
737
+ Track: nt,
738
+ Indicator: rt,
739
+ Thumb: it
740
+ }, K = {
741
+ root: {
742
+ k1xSpc: "x78zum5",
743
+ kXwgrk: "xdt5ytf",
744
+ kOIVth: "x1hnptsi",
745
+ k7Eaqz: "xeuugli",
746
+ $$css: !0
747
+ },
748
+ dropzone: {
749
+ k1xSpc: "x78zum5",
750
+ kGNEyG: "x1qjc9v5",
751
+ k8WAf4: "xt970qd",
752
+ kg3NbH: "xnjsko4",
753
+ kVQacm: "xb3r6kr",
754
+ k1RO1p: "x3d0qbt",
755
+ kD6Saa: "xcx2lv2",
756
+ kO07LJ: "x1ugjnuv",
757
+ krA4I7: "x1u8w8hx",
758
+ kXImzq: "x14xc8xn",
759
+ kpj6Ty: "x1nvizq4",
760
+ kfQpEX: "xjy7s37",
761
+ $$css: !0
762
+ },
763
+ trigger: {
764
+ kmuXW: "x2lah0s",
765
+ k8WAf4: "xt970qd",
766
+ kMzoRj: "xc342km",
767
+ ke9TFa: "x1lun4ml",
768
+ ksu8eU: "x1y0btm7",
769
+ kVAM5u: "x1ey3b81",
770
+ kWkggS: "x1r7kqkb x1aoer5t xzro3xz",
771
+ kMwMTN: "xbixft x19mxcj1",
772
+ kMv6JI: "x1hz01jw",
773
+ k63SB2: "xj57cvi",
774
+ kGuDYH: "xtqrqnz xwqnu5x",
775
+ kkrTdU: "x1ypdohk x1s07b3s",
776
+ k3XXqK: "x1t137rt",
777
+ $$css: !0
778
+ }
779
+ }, dt = {
780
+ standard: {
781
+ kg3NbH: "x1atzlso",
782
+ $$css: !0
783
+ },
784
+ compact: {
785
+ kg3NbH: "xbsbsya",
786
+ $$css: !0
787
+ }
788
+ }, q = 1024, J = [
789
+ "bytes",
790
+ "KiB",
791
+ "MiB",
792
+ "GiB"
793
+ ];
794
+ function ft(e) {
795
+ let t = Math.min(J.length - 1, Math.floor(Math.log(Math.max(e, 1)) / Math.log(q))), n = e / q ** t;
796
+ return t === 0 ? e === 1 ? "1 byte" : `${e} bytes` : `${n.toFixed(1)} ${J[t]}`;
797
+ }
798
+ var pt = {
799
+ "file-type": "is not an accepted type",
800
+ "file-too-large": "is too large",
801
+ "file-too-small": "is too small",
802
+ "too-many-files": "is more than this field takes"
803
+ };
804
+ function mt({ density: t = "standard", xstyle: i, multiple: a = !1, onValueChange: o, onReject: c, ...l }) {
805
+ let [u, d] = te([]);
806
+ return /* @__PURE__ */ b(N, {
807
+ ...l,
808
+ multiple: a,
809
+ onValueChange: (e, t) => {
810
+ d(t.rejected), o?.(e, t);
811
+ },
812
+ onReject: (e, t) => {
813
+ d(e), c?.(e, t);
814
+ },
815
+ ...m.props(K.root, i),
816
+ children: [
817
+ /* @__PURE__ */ b(P, {
818
+ ...m.props(r.base, r.field, r.singleLineField, n[t], e[t], K.dropzone),
819
+ children: [/* @__PURE__ */ y(R, {
820
+ ...m.props(K.trigger, dt[t]),
821
+ children: a ? "Choose files" : "Choose a file"
822
+ }), /* @__PURE__ */ y("span", {
823
+ className: "xamitd3 xeuugli x5g2kb4 x153jb6y xb3r6kr xlyipyv xuxw1ft",
824
+ children: a ? "or drop files here" : "or drop a file here"
825
+ })]
826
+ }),
827
+ /* @__PURE__ */ y(L, {
828
+ className: "x78zum5 xdt5ytf xunmzkg xeuugli xjl7jj",
829
+ children: /* @__PURE__ */ y(F, { render: (e, { file: t }) => /* @__PURE__ */ b("div", {
830
+ ...e,
831
+ className: "x78zum5 x6s0dn4 x1hnptsi xeuugli xyibt8p xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 x1hz01jw xtqrqnz x1778rvt x1t137rt x13qnu6 x9v5kkp x19rmrnh x13iak60",
832
+ children: [
833
+ /* @__PURE__ */ y(re, {
834
+ size: 16,
835
+ "aria-hidden": !0,
836
+ className: "x2lah0s x153jb6y"
837
+ }),
838
+ /* @__PURE__ */ y("span", {
839
+ className: "x12lumcd xeuugli xb3r6kr xlyipyv xuxw1ft",
840
+ children: t.name
841
+ }),
842
+ " ",
843
+ /* @__PURE__ */ y("span", {
844
+ className: "x2lah0s x153jb6y xy8obcc xss6m8b",
845
+ children: ft(t.size)
846
+ }),
847
+ /* @__PURE__ */ y(I, {
848
+ render: /* @__PURE__ */ y(s, {
849
+ "aria-label": `Remove ${t.name}`,
850
+ density: "compact"
851
+ }),
852
+ children: /* @__PURE__ */ y(C, {
853
+ size: 14,
854
+ "aria-hidden": !0
855
+ })
856
+ })
857
+ ]
858
+ }) })
859
+ }),
860
+ u.length > 0 && /* @__PURE__ */ y("ul", {
861
+ className: "x1ghz6dp x1717udv xe8uvvx xr5kp14 x1hz01jw xy8obcc xas2l8k xj0a0fe",
862
+ children: u.map(({ file: e, reasons: t }) => /* @__PURE__ */ b("li", { children: [
863
+ e.name,
864
+ " ",
865
+ t.map((e) => pt[e] ?? e).join(" and "),
866
+ "."
867
+ ] }, `${e.name}-${e.size}`))
868
+ })
869
+ ]
762
870
  });
763
871
  }
764
- var Ze = {
765
- Root: Ne,
766
- Legend: Pe
767
- }, Qe = {
768
- Root: Fe,
769
- Addon: Ie,
770
- Input: Le
771
- }, $e = {
772
- Root: Re,
773
- Group: ze,
774
- Input: Be,
775
- Increment: Ve,
776
- Decrement: He
777
- }, et = {
778
- Root: Ue,
779
- Label: Je,
780
- Value: Ye,
781
- Control: We,
782
- Track: Ge,
783
- Indicator: Ke,
784
- Thumb: qe
785
- }, Y = {
872
+ // packages/forms/src/form-actions.tsx
873
+ var Y = {
786
874
  root: {
787
875
  k1xSpc: "x78zum5",
788
876
  kwnvtZ: "x1a02dak",
@@ -798,7 +886,7 @@ var Ze = {
798
886
  kLZC3w: "xhjagg4",
799
887
  $$css: !0
800
888
  }
801
- }, tt = {
889
+ }, ht = {
802
890
  start: {
803
891
  kjj79g: "x1nhvcw1",
804
892
  $$css: !0
@@ -808,9 +896,9 @@ var Ze = {
808
896
  $$css: !0
809
897
  }
810
898
  };
811
- function nt({ children: e, align: t = "end", hasSeparator: n = !1, xstyle: r }) {
899
+ function gt({ children: e, align: t = "end", hasSeparator: n = !1, xstyle: r }) {
812
900
  return /* @__PURE__ */ y("div", {
813
- ...p.props(Y.root, tt[t], n && Y.separated, r),
901
+ ...m.props(Y.root, ht[t], n && Y.separated, r),
814
902
  children: e
815
903
  });
816
904
  }
@@ -821,7 +909,7 @@ function X({ status: e, message: t }) {
821
909
  message: t
822
910
  };
823
911
  }
824
- var rt = P({
912
+ var _t = ne({
825
913
  name: "form-status",
826
914
  options: {
827
915
  status: "string",
@@ -833,108 +921,108 @@ var rt = P({
833
921
  api: () => ({}),
834
922
  slots: (e) => ({ root: e({}) }),
835
923
  agent: { actions: [] }
836
- }), it = m(rt, { root: "span" }), at = {
924
+ }), vt = ee(_t, { root: "span" }), yt = {
837
925
  pending: "warning",
838
926
  error: "negative",
839
927
  success: "positive"
840
928
  };
841
- function ot({ status: e, message: t }) {
842
- return /* @__PURE__ */ y(it.Root, {
929
+ function bt({ status: e, message: t }) {
930
+ return /* @__PURE__ */ y(vt.Root, {
843
931
  status: e,
844
932
  message: t,
845
933
  role: e === "error" ? "alert" : "status",
846
- render: /* @__PURE__ */ y(c, { tone: at[e] }),
934
+ render: /* @__PURE__ */ y(d, { tone: yt[e] }),
847
935
  children: t
848
936
  });
849
937
  }
850
938
  // packages/forms/src/select.tsx
851
- var st = {
852
- outline: H.outlined,
853
- ghost: H.ghost
939
+ var xt = {
940
+ outline: B.outlined,
941
+ ghost: B.ghost
854
942
  };
855
- function ct(e) {
856
- return e.multiple, /* @__PURE__ */ y(F.Select, { ...e });
943
+ function St(e) {
944
+ return e.multiple, /* @__PURE__ */ y(z.Select, { ...e });
857
945
  }
858
- function lt({ variant: e = "outline", density: t = "standard", className: o, style: s, xstyle: c, ...l }) {
859
- return /* @__PURE__ */ y(F.SelectTrigger, {
946
+ function Ct({ variant: e = "outline", density: t = "standard", className: o, style: s, xstyle: c, ...l }) {
947
+ return /* @__PURE__ */ y(z.SelectTrigger, {
860
948
  ...l,
861
949
  ...a({
862
950
  className: o,
863
951
  style: s,
864
- styles: p.props(r.base, H.trigger, st[e], n[t], i[t], c)
952
+ styles: m.props(r.base, B.trigger, xt[e], n[t], i[t], c)
865
953
  })
866
954
  });
867
955
  }
868
- function ut({ className: e, style: t, xstyle: n, ...r }) {
869
- return /* @__PURE__ */ y(F.SelectValue, {
956
+ function wt({ className: e, style: t, xstyle: n, ...r }) {
957
+ return /* @__PURE__ */ y(z.SelectValue, {
870
958
  ...r,
871
959
  ...a({
872
960
  className: e,
873
961
  style: t,
874
- styles: p.props(H.value, n)
962
+ styles: m.props(B.value, n)
875
963
  })
876
964
  });
877
965
  }
878
- function dt(e) {
966
+ function Tt(e) {
879
967
  return /* @__PURE__ */ y("span", {
880
968
  "aria-hidden": !0,
881
- ...h(p.props(H.icon), e)
969
+ ...h(m.props(B.icon), e)
882
970
  });
883
971
  }
884
- function ft({ xstyle: e, className: t, style: n, sideOffset: r = 4, ...i }) {
885
- return /* @__PURE__ */ y(F.SelectContent, {
972
+ function Et({ xstyle: e, className: t, style: n, sideOffset: r = 4, ...i }) {
973
+ return /* @__PURE__ */ y(z.SelectContent, {
886
974
  ...i,
887
975
  sideOffset: r,
888
976
  ...a({
889
977
  className: t,
890
978
  style: n,
891
- styles: p.props(H.popup, H.positioner, e)
979
+ styles: m.props(B.popup, B.positioner, e)
892
980
  })
893
981
  });
894
982
  }
895
- function pt({ className: e, style: t, ...n }) {
896
- return /* @__PURE__ */ y(F.SelectItem, {
983
+ function Dt({ className: e, style: t, ...n }) {
984
+ return /* @__PURE__ */ y(z.SelectItem, {
897
985
  ...n,
898
986
  ...a({
899
987
  className: e,
900
988
  style: t,
901
- styles: p.props(H.option)
989
+ styles: m.props(B.option)
902
990
  })
903
991
  });
904
992
  }
905
- function mt({ className: e, style: t, ...n }) {
906
- return /* @__PURE__ */ y(F.SelectItemText, {
993
+ function Ot({ className: e, style: t, ...n }) {
994
+ return /* @__PURE__ */ y(z.SelectItemText, {
907
995
  ...n,
908
996
  ...a({
909
997
  className: e,
910
998
  style: t,
911
- styles: p.props(H.optionText)
999
+ styles: m.props(B.optionText)
912
1000
  })
913
1001
  });
914
1002
  }
915
- function ht({ className: e, style: t, ...n }) {
916
- return /* @__PURE__ */ y(F.SelectItemIndicator, {
1003
+ function kt({ className: e, style: t, ...n }) {
1004
+ return /* @__PURE__ */ y(z.SelectItemIndicator, {
917
1005
  ...n,
918
1006
  ...a({
919
1007
  className: e,
920
1008
  style: t,
921
- styles: p.props(H.icon)
1009
+ styles: m.props(B.icon)
922
1010
  })
923
1011
  });
924
1012
  }
925
1013
  var Z = {
926
- Root: ct,
927
- Trigger: lt,
928
- Value: ut,
929
- Icon: dt,
930
- Popup: ft,
931
- List: F.SelectList,
932
- Item: pt,
933
- ItemText: mt,
934
- ItemIndicator: ht
1014
+ Root: St,
1015
+ Trigger: Ct,
1016
+ Value: wt,
1017
+ Icon: Tt,
1018
+ Popup: Et,
1019
+ List: z.SelectList,
1020
+ Item: Dt,
1021
+ ItemText: Ot,
1022
+ ItemIndicator: kt
935
1023
  };
936
1024
  // packages/forms/src/select-control.tsx
937
- function gt({ label: e, items: t, placeholder: n, align: r = "start", value: i, readOnly: a, onValueChange: o, disabled: s, id: c, name: l, form: u, required: d, autoComplete: f, ...p }) {
1025
+ function At({ label: e, items: t, placeholder: n, align: r = "start", value: i, readOnly: a, onValueChange: o, disabled: s, id: c, name: l, form: u, required: d, autoComplete: f, ...p }) {
938
1026
  let m = a === !0 ? {
939
1027
  value: i,
940
1028
  readOnly: !0
@@ -1066,6 +1154,7 @@ var Q = {
1066
1154
  k1xSpc: "x3nfvp2",
1067
1155
  kGNEyG: "x6s0dn4",
1068
1156
  kwnvtZ: "x1a02dak",
1157
+ kzqmXN: "xeq5yr9",
1069
1158
  k7Eaqz: "xeuugli",
1070
1159
  ks0D6T: "x193iq5w",
1071
1160
  kB7OPa: "x9f619",
@@ -1080,11 +1169,16 @@ var Q = {
1080
1169
  kCfx3h: "x16yzcw2",
1081
1170
  kaFHyV: "x1it17vb",
1082
1171
  $$css: !0
1172
+ },
1173
+ segments: {
1174
+ kVAEAm: "x1n2onr6",
1175
+ kHBbk8: "xc8icb0",
1176
+ $$css: !0
1083
1177
  }
1084
1178
  };
1085
- function _t({ className: e, style: t, xstyle: n, indeterminate: r = !1, checked: i, defaultChecked: o, onCheckedChange: s, ...c }) {
1179
+ function jt({ className: e, style: t, xstyle: n, indeterminate: r = !1, checked: i, defaultChecked: o, onCheckedChange: s, ...c }) {
1086
1180
  let l = r ? "indeterminate" : i;
1087
- return /* @__PURE__ */ y(I, {
1181
+ return /* @__PURE__ */ y(ge, {
1088
1182
  ...c,
1089
1183
  ...l !== void 0 && { checked: l },
1090
1184
  ...l === void 0 && o !== void 0 && { defaultChecked: o },
@@ -1092,12 +1186,12 @@ function _t({ className: e, style: t, xstyle: n, indeterminate: r = !1, checked:
1092
1186
  ...a({
1093
1187
  className: e,
1094
1188
  style: t,
1095
- styles: p.props(Q.choice, n)
1189
+ styles: m.props(Q.choice, n)
1096
1190
  })
1097
1191
  });
1098
1192
  }
1099
- function vt({ children: e, className: t, style: n, ...r }) {
1100
- return /* @__PURE__ */ y(L, {
1193
+ function Mt({ children: e, className: t, style: n, ...r }) {
1194
+ return /* @__PURE__ */ y(_e, {
1101
1195
  ...r,
1102
1196
  ...a({
1103
1197
  className: t,
@@ -1110,7 +1204,7 @@ function vt({ children: e, className: t, style: n, ...r }) {
1110
1204
  children: e
1111
1205
  });
1112
1206
  }
1113
- function yt({ className: e, style: t, xstyle: n, onValueChange: r, ...i }) {
1207
+ function Nt({ className: e, style: t, xstyle: n, onValueChange: r, ...i }) {
1114
1208
  return /* @__PURE__ */ y(E, {
1115
1209
  ...i,
1116
1210
  onValueChange: (e, t) => {
@@ -1119,7 +1213,7 @@ function yt({ className: e, style: t, xstyle: n, onValueChange: r, ...i }) {
1119
1213
  ...a({
1120
1214
  className: e,
1121
1215
  style: t,
1122
- styles: p.props(Q.group, n)
1216
+ styles: m.props(Q.group, n)
1123
1217
  })
1124
1218
  });
1125
1219
  }
@@ -1129,12 +1223,12 @@ function $({ className: e, style: t, xstyle: n, ...r }) {
1129
1223
  ...a({
1130
1224
  className: e,
1131
1225
  style: t,
1132
- styles: p.props(Q.choice, Q.radio, n)
1226
+ styles: m.props(Q.choice, Q.radio, n)
1133
1227
  })
1134
1228
  });
1135
1229
  }
1136
- function bt({ className: e, style: t, ...n }) {
1137
- return /* @__PURE__ */ y(D, {
1230
+ function Pt({ className: e, style: t, ...n }) {
1231
+ return /* @__PURE__ */ y(ie, {
1138
1232
  ...n,
1139
1233
  ...a({
1140
1234
  className: e,
@@ -1143,18 +1237,18 @@ function bt({ className: e, style: t, ...n }) {
1143
1237
  })
1144
1238
  });
1145
1239
  }
1146
- function xt({ className: e, style: t, xstyle: n, ...r }) {
1147
- return /* @__PURE__ */ y(R, {
1240
+ function Ft({ className: e, style: t, xstyle: n, ...r }) {
1241
+ return /* @__PURE__ */ y(xe, {
1148
1242
  ...r,
1149
1243
  ...a({
1150
1244
  className: e,
1151
1245
  style: t,
1152
- styles: p.props(Q.switch, n)
1246
+ styles: m.props(Q.switch, n)
1153
1247
  })
1154
1248
  });
1155
1249
  }
1156
- function St({ className: e, style: t, ...n }) {
1157
- return /* @__PURE__ */ y(z, {
1250
+ function It({ className: e, style: t, ...n }) {
1251
+ return /* @__PURE__ */ y(Se, {
1158
1252
  ...n,
1159
1253
  ...a({
1160
1254
  className: e,
@@ -1163,20 +1257,20 @@ function St({ className: e, style: t, ...n }) {
1163
1257
  })
1164
1258
  });
1165
1259
  }
1166
- function Ct({ className: e, style: t, xstyle: n, value: r, defaultValue: i, ...o }) {
1167
- return /* @__PURE__ */ y(V, {
1260
+ function Lt({ className: e, style: t, xstyle: n, value: r, defaultValue: i, ...o }) {
1261
+ return /* @__PURE__ */ y(we, {
1168
1262
  ...o,
1169
1263
  ...r !== void 0 && { value: [...r] },
1170
1264
  ...i !== void 0 && { defaultValue: [...i] },
1171
1265
  ...a({
1172
1266
  className: e,
1173
1267
  style: t,
1174
- styles: p.props(Q.toggles, n)
1268
+ styles: m.props(Q.toggles, n)
1175
1269
  })
1176
1270
  });
1177
1271
  }
1178
- function wt({ className: e, style: t, ...n }) {
1179
- return /* @__PURE__ */ y(B, {
1272
+ function Rt({ className: e, style: t, ...n }) {
1273
+ return /* @__PURE__ */ y(Ce, {
1180
1274
  ...n,
1181
1275
  ...a({
1182
1276
  className: e,
@@ -1185,22 +1279,49 @@ function wt({ className: e, style: t, ...n }) {
1185
1279
  })
1186
1280
  });
1187
1281
  }
1188
- var Tt = {
1189
- Root: _t,
1190
- Indicator: vt
1191
- }, Et = {
1192
- Root: yt,
1282
+ function zt({ className: e, style: t, xstyle: n, children: r, onValueChange: i, ...o }) {
1283
+ return /* @__PURE__ */ b(ve, {
1284
+ ...o,
1285
+ onValueChange: (e, t) => {
1286
+ e !== null && i?.(e, t);
1287
+ },
1288
+ ...a({
1289
+ className: e,
1290
+ style: t,
1291
+ styles: m.props(Q.toggles, Q.segments, n)
1292
+ }),
1293
+ children: [/* @__PURE__ */ y(ye, { className: "x10l6tqk x8knxv4 x13vifvy xu96u03 x1u1fgkt xg7szsh x1eza64o x1ok0vyi x1r7kqkb x47corl x11xpdln x1faw7qm xtitasy xsn8rav x17ba671" }), r]
1294
+ });
1295
+ }
1296
+ function Bt({ className: e, style: t, ...n }) {
1297
+ return /* @__PURE__ */ y(be, {
1298
+ ...n,
1299
+ ...a({
1300
+ className: e,
1301
+ style: t,
1302
+ styles: { className: "x3nfvp2 x6s0dn4 xl56j7k xunmzkg x16opp91 x1gjsuxi x17tes2r x17oiadl x193iq5w xt970qd x1atzlso xc342km x1ok0vyi x1hz01jw xj57cvi xtqrqnz x1778rvt xj0a0fe x153jb6y xjbqb8w x1ypdohk xhtu79c x1lf1diw x17lu4q8 x1480za7 xwj21n9 x5ezrf1 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1xrsc44" }
1303
+ })
1304
+ });
1305
+ }
1306
+ var Vt = {
1307
+ Root: jt,
1308
+ Indicator: Mt
1309
+ }, Ht = {
1310
+ Root: Nt,
1193
1311
  Item: $,
1194
- Indicator: bt
1195
- }, Dt = {
1196
- Root: xt,
1197
- Thumb: St
1198
- }, Ot = {
1199
- Root: Ct,
1200
- Item: wt
1312
+ Indicator: Pt
1313
+ }, Ut = {
1314
+ Root: Ft,
1315
+ Thumb: It
1316
+ }, Wt = {
1317
+ Root: Lt,
1318
+ Item: Rt
1319
+ }, Gt = {
1320
+ Root: zt,
1321
+ Item: Bt
1201
1322
  };
1202
1323
  // packages/forms/src/settings-row.tsx
1203
- function kt({ label: e, description: t, controlId: n, isPlaceholder: r = !1, children: i }) {
1324
+ function Kt({ label: e, description: t, controlId: n, isPlaceholder: r = !1, children: i }) {
1204
1325
  let a = v(), o = `${n ?? a}-description`;
1205
1326
  return /* @__PURE__ */ b("div", {
1206
1327
  role: "group",
@@ -1227,18 +1348,18 @@ function kt({ label: e, description: t, controlId: n, isPlaceholder: r = !1, chi
1227
1348
  });
1228
1349
  }
1229
1350
  // packages/forms/src/settings-section.tsx
1230
- function At({ title: e, description: t, children: n }) {
1351
+ function qt({ title: e, description: t, children: n }) {
1231
1352
  let r = v();
1232
1353
  return /* @__PURE__ */ b("section", {
1233
1354
  "aria-labelledby": r,
1234
1355
  className: "xrvj5dj x1mkdm3x x1n8ia3y xeuugli",
1235
1356
  children: [/* @__PURE__ */ b("header", {
1236
1357
  className: "xrvj5dj xunmzkg xeuugli",
1237
- children: [/* @__PURE__ */ y(l, {
1358
+ children: [/* @__PURE__ */ y(f, {
1238
1359
  id: r,
1239
1360
  children: e
1240
- }), t !== void 0 && /* @__PURE__ */ y(s, { children: t })]
1361
+ }), t !== void 0 && /* @__PURE__ */ y(u, { children: t })]
1241
1362
  }), /* @__PURE__ */ y("div", { children: n })]
1242
1363
  });
1243
1364
  }
1244
- export { ke as _, Dt as a, Z as c, Ze as d, Xe as f, Ae as g, et as h, Et as i, ot as l, $e as m, kt as n, Ot as o, Qe as p, Tt as r, gt as s, At as t, nt as u };
1365
+ export { He as _, Gt as a, At as c, gt as d, mt as f, ut as g, lt as h, Ht as i, Z as l, ct as m, Kt as n, Ut as o, st as p, Vt as r, Wt as s, qt as t, bt as u, Ve as v };