@effectiveailabs/design-system 0.0.0-stage → 1.0.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 (1177) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +120 -2
  3. package/dist/components/AdaptiveGrid/AdaptiveGrid.d.ts +38 -0
  4. package/dist/components/AdaptiveGrid/AdaptiveGrid.js +15 -0
  5. package/dist/components/AdaptiveGrid/AdaptiveGrid.stylex.d.ts +104 -0
  6. package/dist/components/AdaptiveGrid/AdaptiveGrid.stylex.js +62 -0
  7. package/dist/components/Anchor/Anchor.d.ts +29 -0
  8. package/dist/components/Anchor/Anchor.js +56 -0
  9. package/dist/components/AnimatedNumber/AnimatedNumber.d.ts +16 -0
  10. package/dist/components/AnimatedNumber/AnimatedNumber.js +45 -0
  11. package/dist/components/AnimatedNumber/AnimatedNumber.stylex.d.ts +6 -0
  12. package/dist/components/AnimatedNumber/AnimatedNumber.stylex.js +7 -0
  13. package/dist/components/AnnotationPin/AnnotationOutlet.d.ts +15 -0
  14. package/dist/components/AnnotationPin/AnnotationOutlet.js +15 -0
  15. package/dist/components/AnnotationPin/AnnotationPin.d.ts +31 -0
  16. package/dist/components/AnnotationPin/AnnotationPin.js +99 -0
  17. package/dist/components/AnnotationPin/AnnotationPin.layout.d.ts +19 -0
  18. package/dist/components/AnnotationPin/AnnotationPin.layout.js +56 -0
  19. package/dist/components/AnnotationPin/AnnotationPin.stylex.d.ts +48 -0
  20. package/dist/components/AnnotationPin/AnnotationPin.stylex.js +39 -0
  21. package/dist/components/AnnotationPin/AnnotationScope.d.ts +26 -0
  22. package/dist/components/AnnotationPin/AnnotationScope.js +59 -0
  23. package/dist/components/AnnotationPin/AnnotationScope.layout.d.ts +15 -0
  24. package/dist/components/AnnotationPin/AnnotationScope.layout.js +68 -0
  25. package/dist/components/AnnotationPin/useRangeAnchor.d.ts +9 -0
  26. package/dist/components/AnnotationPin/useRangeAnchor.js +35 -0
  27. package/dist/components/App/App.d.ts +85 -0
  28. package/dist/components/App/App.js +515 -0
  29. package/dist/components/App/App.layout.d.ts +25 -0
  30. package/dist/components/App/App.layout.js +42 -0
  31. package/dist/components/App/App.stylex.d.ts +373 -0
  32. package/dist/components/App/App.stylex.js +352 -0
  33. package/dist/components/App/AppNavigationHeader.context.d.ts +9 -0
  34. package/dist/components/App/AppNavigationHeader.context.js +13 -0
  35. package/dist/components/Article/Article.d.ts +16 -0
  36. package/dist/components/Article/Article.js +14 -0
  37. package/dist/components/Article/Article.stylex.d.ts +49 -0
  38. package/dist/components/Article/Article.stylex.js +66 -0
  39. package/dist/components/Article/ArticleSection.d.ts +23 -0
  40. package/dist/components/Article/ArticleSection.js +26 -0
  41. package/dist/components/Autocomplete/Autocomplete.d.ts +13 -0
  42. package/dist/components/Autocomplete/Autocomplete.gridFocus.d.ts +9 -0
  43. package/dist/components/Autocomplete/Autocomplete.gridFocus.js +5 -0
  44. package/dist/components/Autocomplete/Autocomplete.js +68 -0
  45. package/dist/components/Avatar/Avatar.d.ts +30 -0
  46. package/dist/components/Avatar/Avatar.js +14 -0
  47. package/dist/components/Avatar/Avatar.stylex.d.ts +74 -0
  48. package/dist/components/Avatar/Avatar.stylex.js +71 -0
  49. package/dist/components/Avatar/Avatar.view.d.ts +7 -0
  50. package/dist/components/Avatar/Avatar.view.js +43 -0
  51. package/dist/components/Avatar/AvatarName.d.ts +7 -0
  52. package/dist/components/Avatar/AvatarName.js +17 -0
  53. package/dist/components/Avatar/avatarColor.d.ts +3 -0
  54. package/dist/components/Avatar/avatarColor.js +28 -0
  55. package/dist/components/Avatar/avatarInitials.d.ts +1 -0
  56. package/dist/components/Avatar/avatarInitials.js +37 -0
  57. package/dist/components/AvatarGroup/AvatarGroup.children.d.ts +11 -0
  58. package/dist/components/AvatarGroup/AvatarGroup.children.js +52 -0
  59. package/dist/components/AvatarGroup/AvatarGroup.context.d.ts +1 -0
  60. package/dist/components/AvatarGroup/AvatarGroup.context.js +2 -0
  61. package/dist/components/AvatarGroup/AvatarGroup.d.ts +16 -0
  62. package/dist/components/AvatarGroup/AvatarGroup.js +188 -0
  63. package/dist/components/AvatarGroup/AvatarGroup.stylex.d.ts +149 -0
  64. package/dist/components/AvatarGroup/AvatarGroup.stylex.js +132 -0
  65. package/dist/components/AvatarGroup/avatarGroupLayout.d.ts +14 -0
  66. package/dist/components/AvatarGroup/avatarGroupLayout.js +27 -0
  67. package/dist/components/Badge/Badge.d.ts +54 -0
  68. package/dist/components/Badge/Badge.js +149 -0
  69. package/dist/components/Badge/Badge.stylex.d.ts +278 -0
  70. package/dist/components/Badge/Badge.stylex.js +267 -0
  71. package/dist/components/BrandLogo/BrandLogo.d.ts +16 -0
  72. package/dist/components/BrandLogo/BrandLogo.js +19 -0
  73. package/dist/components/BrandLogo/BrandLogo.stylex.d.ts +23 -0
  74. package/dist/components/BrandLogo/BrandLogo.stylex.js +14 -0
  75. package/dist/components/BrandLogo/brandLogoArtwork.d.ts +10 -0
  76. package/dist/components/BrandLogo/brandLogoArtwork.js +30 -0
  77. package/dist/components/Breadcrumbs/Breadcrumbs.children.d.ts +14 -0
  78. package/dist/components/Breadcrumbs/Breadcrumbs.children.js +59 -0
  79. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +24 -0
  80. package/dist/components/Breadcrumbs/Breadcrumbs.headerContext.d.ts +20 -0
  81. package/dist/components/Breadcrumbs/Breadcrumbs.headerContext.js +14 -0
  82. package/dist/components/Breadcrumbs/Breadcrumbs.js +284 -0
  83. package/dist/components/Breadcrumbs/Breadcrumbs.layout.d.ts +10 -0
  84. package/dist/components/Breadcrumbs/Breadcrumbs.layout.js +29 -0
  85. package/dist/components/Breadcrumbs/Breadcrumbs.stylex.d.ts +200 -0
  86. package/dist/components/Breadcrumbs/Breadcrumbs.stylex.js +166 -0
  87. package/dist/components/Button/Button.appearance.d.ts +323 -0
  88. package/dist/components/Button/Button.appearance.js +57 -0
  89. package/dist/components/Button/Button.d.ts +102 -0
  90. package/dist/components/Button/Button.js +176 -0
  91. package/dist/components/Button/Button.stylex.d.ts +577 -0
  92. package/dist/components/Button/Button.stylex.js +590 -0
  93. package/dist/components/Button/ButtonProgress.d.ts +1 -0
  94. package/dist/components/Button/ButtonProgress.js +8 -0
  95. package/dist/components/Button/ButtonProgress.stylex.d.ts +22 -0
  96. package/dist/components/Button/ButtonProgress.stylex.js +14 -0
  97. package/dist/components/ButtonGroup/ButtonGroup.context.d.ts +74 -0
  98. package/dist/components/ButtonGroup/ButtonGroup.context.js +25 -0
  99. package/dist/components/ButtonGroup/ButtonGroup.d.ts +35 -0
  100. package/dist/components/ButtonGroup/ButtonGroup.js +49 -0
  101. package/dist/components/ButtonGroup/ButtonGroup.stylex.d.ts +111 -0
  102. package/dist/components/ButtonGroup/ButtonGroup.stylex.js +116 -0
  103. package/dist/components/CalculationSteps/CalculationSteps.d.ts +13 -0
  104. package/dist/components/CalculationSteps/CalculationSteps.format.d.ts +13 -0
  105. package/dist/components/CalculationSteps/CalculationSteps.format.js +44 -0
  106. package/dist/components/CalculationSteps/CalculationSteps.js +84 -0
  107. package/dist/components/CalculationSteps/CalculationSteps.stylex.d.ts +23 -0
  108. package/dist/components/CalculationSteps/CalculationSteps.stylex.js +22 -0
  109. package/dist/components/CalculationSteps/CalculationSteps.types.d.ts +131 -0
  110. package/dist/components/CalculationSteps/CalculationSteps.types.js +11 -0
  111. package/dist/components/Calendar/Calendar.d.ts +22 -0
  112. package/dist/components/Calendar/Calendar.js +119 -0
  113. package/dist/components/Calendar/Calendar.stylex.d.ts +196 -0
  114. package/dist/components/Calendar/Calendar.stylex.js +197 -0
  115. package/dist/components/Card/Card.context.d.ts +28 -0
  116. package/dist/components/Card/Card.context.js +40 -0
  117. package/dist/components/Card/Card.d.ts +39 -0
  118. package/dist/components/Card/Card.js +121 -0
  119. package/dist/components/Card/Card.stylex.d.ts +172 -0
  120. package/dist/components/Card/Card.stylex.js +185 -0
  121. package/dist/components/Chart/Chart.d.ts +24 -0
  122. package/dist/components/Chart/Chart.data.d.ts +119 -0
  123. package/dist/components/Chart/Chart.data.js +596 -0
  124. package/dist/components/Chart/Chart.describe.d.ts +46 -0
  125. package/dist/components/Chart/Chart.describe.js +359 -0
  126. package/dist/components/Chart/Chart.environment.d.ts +8 -0
  127. package/dist/components/Chart/Chart.environment.js +10 -0
  128. package/dist/components/Chart/Chart.format.d.ts +14 -0
  129. package/dist/components/Chart/Chart.format.js +108 -0
  130. package/dist/components/Chart/Chart.highcharts.d.ts +106 -0
  131. package/dist/components/Chart/Chart.highcharts.js +1001 -0
  132. package/dist/components/Chart/Chart.js +600 -0
  133. package/dist/components/Chart/Chart.load.d.ts +69 -0
  134. package/dist/components/Chart/Chart.load.js +136 -0
  135. package/dist/components/Chart/Chart.raw.d.ts +33 -0
  136. package/dist/components/Chart/Chart.raw.js +234 -0
  137. package/dist/components/Chart/Chart.rules.d.ts +31 -0
  138. package/dist/components/Chart/Chart.rules.js +72 -0
  139. package/dist/components/Chart/Chart.stylex.d.ts +260 -0
  140. package/dist/components/Chart/Chart.stylex.js +280 -0
  141. package/dist/components/Chart/Chart.types.d.ts +380 -0
  142. package/dist/components/Chart/Chart.types.js +23 -0
  143. package/dist/components/Chart/ChartDataTable.d.ts +9 -0
  144. package/dist/components/Chart/ChartDataTable.js +42 -0
  145. package/dist/components/Chart/ChartGhost.d.ts +17 -0
  146. package/dist/components/Chart/ChartGhost.js +13 -0
  147. package/dist/components/Chart/ChartHighcharts.d.ts +6 -0
  148. package/dist/components/Chart/ChartHighcharts.js +61 -0
  149. package/dist/components/Chart/ChartLegend.d.ts +23 -0
  150. package/dist/components/Chart/ChartLegend.js +111 -0
  151. package/dist/components/Chart/ChartMarks.d.ts +29 -0
  152. package/dist/components/Chart/ChartMarks.js +29 -0
  153. package/dist/components/Chart/ChartScrollbar.d.ts +13 -0
  154. package/dist/components/Chart/ChartScrollbar.js +63 -0
  155. package/dist/components/Chart/ChartTip.d.ts +5 -0
  156. package/dist/components/Chart/ChartTip.js +7 -0
  157. package/dist/components/Checkbox/Checkbox.d.ts +81 -0
  158. package/dist/components/Checkbox/Checkbox.js +52 -0
  159. package/dist/components/CodeBlock/CodeBlock.copy.d.ts +7 -0
  160. package/dist/components/CodeBlock/CodeBlock.copy.js +28 -0
  161. package/dist/components/CodeBlock/CodeBlock.copyButton.d.ts +20 -0
  162. package/dist/components/CodeBlock/CodeBlock.copyButton.js +40 -0
  163. package/dist/components/CodeBlock/CodeBlock.d.ts +88 -0
  164. package/dist/components/CodeBlock/CodeBlock.fence.d.ts +24 -0
  165. package/dist/components/CodeBlock/CodeBlock.fence.js +110 -0
  166. package/dist/components/CodeBlock/CodeBlock.js +148 -0
  167. package/dist/components/CodeBlock/CodeBlock.marks.d.ts +24 -0
  168. package/dist/components/CodeBlock/CodeBlock.marks.js +54 -0
  169. package/dist/components/CodeBlock/CodeBlock.ranges.d.ts +15 -0
  170. package/dist/components/CodeBlock/CodeBlock.ranges.js +30 -0
  171. package/dist/components/CodeBlock/CodeBlock.stylex.d.ts +221 -0
  172. package/dist/components/CodeBlock/CodeBlock.stylex.js +194 -0
  173. package/dist/components/CodeBlock/CodeBlock.tokens.d.ts +47 -0
  174. package/dist/components/CodeBlock/CodeBlock.tokens.js +103 -0
  175. package/dist/components/CodeBlock/CodeGroup.context.d.ts +5 -0
  176. package/dist/components/CodeBlock/CodeGroup.context.js +6 -0
  177. package/dist/components/CodeBlock/CodeGroup.d.ts +19 -0
  178. package/dist/components/CodeBlock/CodeGroup.js +39 -0
  179. package/dist/components/CodeBlock/CodeHighlightScope.d.ts +39 -0
  180. package/dist/components/CodeBlock/CodeHighlightScope.js +70 -0
  181. package/dist/components/CodeEntry/CodeEntry.d.ts +62 -0
  182. package/dist/components/CodeEntry/CodeEntry.js +86 -0
  183. package/dist/components/CodeField/CodeField.d.ts +32 -0
  184. package/dist/components/CodeField/CodeField.js +25 -0
  185. package/dist/components/CodeField/CodeField.stylex.d.ts +82 -0
  186. package/dist/components/CodeField/CodeField.stylex.js +88 -0
  187. package/dist/components/Collection/Collection.constants.d.ts +3 -0
  188. package/dist/components/Collection/Collection.constants.js +3 -0
  189. package/dist/components/Collection/Collection.context.d.ts +70 -0
  190. package/dist/components/Collection/Collection.context.js +39 -0
  191. package/dist/components/Collection/Collection.d.ts +119 -0
  192. package/dist/components/Collection/Collection.dnd.d.ts +19 -0
  193. package/dist/components/Collection/Collection.dnd.js +56 -0
  194. package/dist/components/Collection/Collection.dragScroll.d.ts +2 -0
  195. package/dist/components/Collection/Collection.dragScroll.js +93 -0
  196. package/dist/components/Collection/Collection.identity.d.ts +3 -0
  197. package/dist/components/Collection/Collection.identity.js +10 -0
  198. package/dist/components/Collection/Collection.js +479 -0
  199. package/dist/components/Collection/Collection.pageLoadMore.d.ts +2 -0
  200. package/dist/components/Collection/Collection.pageLoadMore.js +21 -0
  201. package/dist/components/Collection/Collection.stylex.d.ts +1033 -0
  202. package/dist/components/Collection/Collection.stylex.js +1095 -0
  203. package/dist/components/Collection/CollectionItemContent.d.ts +9 -0
  204. package/dist/components/Collection/CollectionItemContent.js +11 -0
  205. package/dist/components/Collection/CollectionVirtualizer.context.d.ts +9 -0
  206. package/dist/components/Collection/CollectionVirtualizer.context.js +2 -0
  207. package/dist/components/Collection/OutlinePreview.d.ts +12 -0
  208. package/dist/components/Collection/OutlinePreview.js +32 -0
  209. package/dist/components/CollectionViews/CollectionViews.context.d.ts +8 -0
  210. package/dist/components/CollectionViews/CollectionViews.context.js +9 -0
  211. package/dist/components/CollectionViews/CollectionViews.d.ts +42 -0
  212. package/dist/components/CollectionViews/CollectionViews.js +53 -0
  213. package/dist/components/ComboBox/ComboBox.collection.d.ts +5 -0
  214. package/dist/components/ComboBox/ComboBox.collection.js +40 -0
  215. package/dist/components/ComboBox/ComboBox.d.ts +50 -0
  216. package/dist/components/ComboBox/ComboBox.js +98 -0
  217. package/dist/components/ComboBox/ComboBox.stylex.d.ts +45 -0
  218. package/dist/components/ComboBox/ComboBox.stylex.js +34 -0
  219. package/dist/components/ContainerSize/ContainerSize.d.ts +27 -0
  220. package/dist/components/ContainerSize/ContainerSize.js +51 -0
  221. package/dist/components/ContainerSize/ContainerSize.stylex.d.ts +13 -0
  222. package/dist/components/ContainerSize/ContainerSize.stylex.js +16 -0
  223. package/dist/components/Content/Content.context.d.ts +3 -0
  224. package/dist/components/Content/Content.context.js +3 -0
  225. package/dist/components/Content/Content.d.ts +33 -0
  226. package/dist/components/Content/Content.js +36 -0
  227. package/dist/components/Content/Content.stylex.d.ts +65 -0
  228. package/dist/components/Content/Content.stylex.js +69 -0
  229. package/dist/components/Content/HeaderSlots.d.ts +9 -0
  230. package/dist/components/Content/HeaderSlots.js +22 -0
  231. package/dist/components/ContentOrientation/ContentOrientation.context.d.ts +2 -0
  232. package/dist/components/ContentOrientation/ContentOrientation.context.js +2 -0
  233. package/dist/components/ControlSize/ControlSize.context.d.ts +3 -0
  234. package/dist/components/ControlSize/ControlSize.context.js +6 -0
  235. package/dist/components/Countdown/Countdown.d.ts +16 -0
  236. package/dist/components/Countdown/Countdown.js +30 -0
  237. package/dist/components/Countdown/Countdown.stylex.d.ts +11 -0
  238. package/dist/components/Countdown/Countdown.stylex.js +10 -0
  239. package/dist/components/CoverageTower/CoverageTower.axis.d.ts +28 -0
  240. package/dist/components/CoverageTower/CoverageTower.axis.js +28 -0
  241. package/dist/components/CoverageTower/CoverageTower.block.d.ts +39 -0
  242. package/dist/components/CoverageTower/CoverageTower.block.js +112 -0
  243. package/dist/components/CoverageTower/CoverageTower.d.ts +14 -0
  244. package/dist/components/CoverageTower/CoverageTower.js +284 -0
  245. package/dist/components/CoverageTower/CoverageTower.layout.d.ts +158 -0
  246. package/dist/components/CoverageTower/CoverageTower.layout.js +243 -0
  247. package/dist/components/CoverageTower/CoverageTower.stylex.d.ts +404 -0
  248. package/dist/components/CoverageTower/CoverageTower.stylex.js +525 -0
  249. package/dist/components/CoverageTower/CoverageTower.types.d.ts +172 -0
  250. package/dist/components/CoverageTower/CoverageTower.types.js +3 -0
  251. package/dist/components/DateField/DateField.d.ts +61 -0
  252. package/dist/components/DateField/DateField.js +66 -0
  253. package/dist/components/DateRangeField/DateRangeField.d.ts +60 -0
  254. package/dist/components/DateRangeField/DateRangeField.js +68 -0
  255. package/dist/components/Dialog/Dialog.context.d.ts +6 -0
  256. package/dist/components/Dialog/Dialog.context.js +3 -0
  257. package/dist/components/Dialog/Dialog.d.ts +15 -0
  258. package/dist/components/Dialog/Dialog.js +25 -0
  259. package/dist/components/Dialog/Dialog.stylex.d.ts +23 -0
  260. package/dist/components/Dialog/Dialog.stylex.js +20 -0
  261. package/dist/components/Disclosure/Disclosure.d.ts +5 -0
  262. package/dist/components/Disclosure/Disclosure.js +119 -0
  263. package/dist/components/Disclosure/Disclosure.stylex.d.ts +161 -0
  264. package/dist/components/Disclosure/Disclosure.stylex.js +143 -0
  265. package/dist/components/Disclosure/Disclosure.types.d.ts +96 -0
  266. package/dist/components/Disclosure/Disclosure.types.js +4 -0
  267. package/dist/components/Disclosure/DisclosureGroup.context.d.ts +2 -0
  268. package/dist/components/Disclosure/DisclosureGroup.context.js +2 -0
  269. package/dist/components/Disclosure/DisclosureGroup.d.ts +5 -0
  270. package/dist/components/Disclosure/DisclosureGroup.js +10 -0
  271. package/dist/components/DismissButton/Dismiss.context.d.ts +3 -0
  272. package/dist/components/DismissButton/Dismiss.context.js +10 -0
  273. package/dist/components/DismissButton/DismissButton.d.ts +16 -0
  274. package/dist/components/DismissButton/DismissButton.js +9 -0
  275. package/dist/components/DropZone/DropZone.d.ts +10 -0
  276. package/dist/components/DropZone/DropZone.js +16 -0
  277. package/dist/components/DropZone/DropZone.stylex.d.ts +32 -0
  278. package/dist/components/DropZone/DropZone.stylex.js +27 -0
  279. package/dist/components/EditableText/EditableText.d.ts +21 -0
  280. package/dist/components/EditableText/EditableText.js +63 -0
  281. package/dist/components/EditableText/EditableText.stylex.d.ts +108 -0
  282. package/dist/components/EditableText/EditableText.stylex.js +95 -0
  283. package/dist/components/FieldRow/FieldRow.d.ts +20 -0
  284. package/dist/components/FieldRow/FieldRow.js +17 -0
  285. package/dist/components/FieldRow/FieldRow.stylex.d.ts +30 -0
  286. package/dist/components/FieldRow/FieldRow.stylex.js +52 -0
  287. package/dist/components/FileCollectionViewer/FileCollectionViewer.d.ts +74 -0
  288. package/dist/components/FileCollectionViewer/FileCollectionViewer.js +193 -0
  289. package/dist/components/FileCollectionViewer/FileCollectionViewer.stylex.d.ts +47 -0
  290. package/dist/components/FileCollectionViewer/FileCollectionViewer.stylex.js +53 -0
  291. package/dist/components/FileContent/FileContent.context.d.ts +51 -0
  292. package/dist/components/FileContent/FileContent.context.js +45 -0
  293. package/dist/components/FileContent/FileContent.d.ts +66 -0
  294. package/dist/components/FileContent/FileContent.js +80 -0
  295. package/dist/components/FileContent/FileContent.markers.d.ts +7 -0
  296. package/dist/components/FileContent/FileContent.markers.js +28 -0
  297. package/dist/components/FileContent/FileContent.stylex.d.ts +152 -0
  298. package/dist/components/FileContent/FileContent.stylex.js +155 -0
  299. package/dist/components/FileContent/FileContentViewport.d.ts +42 -0
  300. package/dist/components/FileContent/FileContentViewport.js +117 -0
  301. package/dist/components/FileContent/FileDetails.d.ts +11 -0
  302. package/dist/components/FileContent/FileDetails.js +53 -0
  303. package/dist/components/FileContent/FileOutline.previews.d.ts +70 -0
  304. package/dist/components/FileContent/FileOutline.previews.js +278 -0
  305. package/dist/components/FileContent/FileOutlineRows.d.ts +21 -0
  306. package/dist/components/FileContent/FileOutlineRows.js +166 -0
  307. package/dist/components/FileContent/FileSelectionToolbarLayer.d.ts +13 -0
  308. package/dist/components/FileContent/FileSelectionToolbarLayer.js +125 -0
  309. package/dist/components/FileContent/FileStructure.d.ts +51 -0
  310. package/dist/components/FileContent/FileStructure.js +37 -0
  311. package/dist/components/FileExplorer/FileExplorer.browser.d.ts +58 -0
  312. package/dist/components/FileExplorer/FileExplorer.browser.js +274 -0
  313. package/dist/components/FileExplorer/FileExplorer.columns.d.ts +37 -0
  314. package/dist/components/FileExplorer/FileExplorer.columns.js +144 -0
  315. package/dist/components/FileExplorer/FileExplorer.columns.stylex.d.ts +95 -0
  316. package/dist/components/FileExplorer/FileExplorer.columns.stylex.js +95 -0
  317. package/dist/components/FileExplorer/FileExplorer.d.ts +33 -0
  318. package/dist/components/FileExplorer/FileExplorer.groups.d.ts +14 -0
  319. package/dist/components/FileExplorer/FileExplorer.groups.js +129 -0
  320. package/dist/components/FileExplorer/FileExplorer.hits.d.ts +12 -0
  321. package/dist/components/FileExplorer/FileExplorer.hits.js +51 -0
  322. package/dist/components/FileExplorer/FileExplorer.js +180 -0
  323. package/dist/components/FileExplorer/FileExplorer.stylex.d.ts +141 -0
  324. package/dist/components/FileExplorer/FileExplorer.stylex.js +132 -0
  325. package/dist/components/FileField/FileField.d.ts +24 -0
  326. package/dist/components/FileField/FileField.js +37 -0
  327. package/dist/components/FileField/FileField.stylex.d.ts +17 -0
  328. package/dist/components/FileField/FileField.stylex.js +18 -0
  329. package/dist/components/FileIcon/FileIcon.d.ts +25 -0
  330. package/dist/components/FileIcon/FileIcon.js +33 -0
  331. package/dist/components/FilePicker/FilePicker.d.ts +40 -0
  332. package/dist/components/FilePicker/FilePicker.js +155 -0
  333. package/dist/components/FilePicker/MovePicker.d.ts +13 -0
  334. package/dist/components/FilePicker/MovePicker.js +19 -0
  335. package/dist/components/FileScope/FileHeader.stylex.d.ts +8 -0
  336. package/dist/components/FileScope/FileHeader.stylex.js +9 -0
  337. package/dist/components/FileScope/FileScope.actions.d.ts +45 -0
  338. package/dist/components/FileScope/FileScope.actions.js +240 -0
  339. package/dist/components/FileScope/FileScope.cache.d.ts +12 -0
  340. package/dist/components/FileScope/FileScope.cache.js +25 -0
  341. package/dist/components/FileScope/FileScope.d.ts +163 -0
  342. package/dist/components/FileScope/FileScope.drag.d.ts +27 -0
  343. package/dist/components/FileScope/FileScope.drag.js +88 -0
  344. package/dist/components/FileScope/FileScope.entryActions.d.ts +32 -0
  345. package/dist/components/FileScope/FileScope.entryActions.js +121 -0
  346. package/dist/components/FileScope/FileScope.entryActions.stylex.d.ts +9 -0
  347. package/dist/components/FileScope/FileScope.entryActions.stylex.js +24 -0
  348. package/dist/components/FileScope/FileScope.js +132 -0
  349. package/dist/components/FileScope/FileScope.match.d.ts +8 -0
  350. package/dist/components/FileScope/FileScope.match.js +76 -0
  351. package/dist/components/FileScope/FileScope.plainText.d.ts +6 -0
  352. package/dist/components/FileScope/FileScope.plainText.js +34 -0
  353. package/dist/components/FileScope/FileScope.plainText.stylex.d.ts +14 -0
  354. package/dist/components/FileScope/FileScope.plainText.stylex.js +15 -0
  355. package/dist/components/FileScope/FileScope.queue.d.ts +20 -0
  356. package/dist/components/FileScope/FileScope.queue.js +81 -0
  357. package/dist/components/FileScope/FileScope.relative.d.ts +7 -0
  358. package/dist/components/FileScope/FileScope.relative.js +32 -0
  359. package/dist/components/FileScope/FileScope.search.d.ts +33 -0
  360. package/dist/components/FileScope/FileScope.search.js +105 -0
  361. package/dist/components/FileScope/FileScope.search.stylex.d.ts +7 -0
  362. package/dist/components/FileScope/FileScope.search.stylex.js +8 -0
  363. package/dist/components/FileScope/FileScope.share.d.ts +13 -0
  364. package/dist/components/FileScope/FileScope.share.js +159 -0
  365. package/dist/components/FileScope/FileScope.share.stylex.d.ts +18 -0
  366. package/dist/components/FileScope/FileScope.share.stylex.js +21 -0
  367. package/dist/components/FileScope/FileScope.types.d.ts +586 -0
  368. package/dist/components/FileScope/FileScope.types.js +6 -0
  369. package/dist/components/FileScope/FileScope.utils.d.ts +20 -0
  370. package/dist/components/FileScope/FileScope.utils.js +157 -0
  371. package/dist/components/FileScope/FileSourceError.d.ts +17 -0
  372. package/dist/components/FileScope/FileSourceError.js +24 -0
  373. package/dist/components/FileScope/FileStore.d.ts +178 -0
  374. package/dist/components/FileScope/FileStore.js +849 -0
  375. package/dist/components/FileThumbnail/FileThumbnail.d.ts +25 -0
  376. package/dist/components/FileThumbnail/FileThumbnail.js +242 -0
  377. package/dist/components/FileThumbnail/FileThumbnail.stylex.d.ts +38 -0
  378. package/dist/components/FileThumbnail/FileThumbnail.stylex.js +44 -0
  379. package/dist/components/FileTree/FileTree.d.ts +77 -0
  380. package/dist/components/FileTree/FileTree.entries.d.ts +29 -0
  381. package/dist/components/FileTree/FileTree.entries.js +97 -0
  382. package/dist/components/FileTree/FileTree.js +800 -0
  383. package/dist/components/FileTree/FileTree.stylex.d.ts +46 -0
  384. package/dist/components/FileTree/FileTree.stylex.js +60 -0
  385. package/dist/components/FileTrigger/FileSelection.context.d.ts +2 -0
  386. package/dist/components/FileTrigger/FileSelection.context.js +2 -0
  387. package/dist/components/FileTrigger/FileSelection.d.ts +13 -0
  388. package/dist/components/FileTrigger/FileSelection.js +31 -0
  389. package/dist/components/FileTrigger/FileTrigger.d.ts +9 -0
  390. package/dist/components/FileTrigger/FileTrigger.js +22 -0
  391. package/dist/components/FileViewer/FileViewer.chrome.d.ts +66 -0
  392. package/dist/components/FileViewer/FileViewer.chrome.js +126 -0
  393. package/dist/components/FileViewer/FileViewer.compact.d.ts +90 -0
  394. package/dist/components/FileViewer/FileViewer.compact.js +124 -0
  395. package/dist/components/FileViewer/FileViewer.compact.stylex.d.ts +138 -0
  396. package/dist/components/FileViewer/FileViewer.compact.stylex.js +140 -0
  397. package/dist/components/FileViewer/FileViewer.controls.d.ts +66 -0
  398. package/dist/components/FileViewer/FileViewer.controls.js +27 -0
  399. package/dist/components/FileViewer/FileViewer.d.ts +79 -0
  400. package/dist/components/FileViewer/FileViewer.edit.d.ts +63 -0
  401. package/dist/components/FileViewer/FileViewer.edit.js +209 -0
  402. package/dist/components/FileViewer/FileViewer.embedded.d.ts +49 -0
  403. package/dist/components/FileViewer/FileViewer.embedded.js +107 -0
  404. package/dist/components/FileViewer/FileViewer.frame.d.ts +92 -0
  405. package/dist/components/FileViewer/FileViewer.frame.js +36 -0
  406. package/dist/components/FileViewer/FileViewer.goTo.d.ts +13 -0
  407. package/dist/components/FileViewer/FileViewer.goTo.js +30 -0
  408. package/dist/components/FileViewer/FileViewer.js +846 -0
  409. package/dist/components/FileViewer/FileViewer.links.d.ts +18 -0
  410. package/dist/components/FileViewer/FileViewer.links.js +10 -0
  411. package/dist/components/FileViewer/FileViewer.present.d.ts +10 -0
  412. package/dist/components/FileViewer/FileViewer.present.js +36 -0
  413. package/dist/components/FileViewer/FileViewer.selection.d.ts +15 -0
  414. package/dist/components/FileViewer/FileViewer.selection.js +26 -0
  415. package/dist/components/FileViewer/FileViewer.sidebar.d.ts +24 -0
  416. package/dist/components/FileViewer/FileViewer.sidebar.js +53 -0
  417. package/dist/components/FileViewer/FileViewer.sidebar.stylex.d.ts +87 -0
  418. package/dist/components/FileViewer/FileViewer.sidebar.stylex.js +95 -0
  419. package/dist/components/FileViewer/FileViewer.skeleton.d.ts +27 -0
  420. package/dist/components/FileViewer/FileViewer.skeleton.js +80 -0
  421. package/dist/components/FileViewer/FileViewer.skeleton.stylex.d.ts +86 -0
  422. package/dist/components/FileViewer/FileViewer.skeleton.stylex.js +70 -0
  423. package/dist/components/FileViewer/FileViewer.stylex.d.ts +309 -0
  424. package/dist/components/FileViewer/FileViewer.stylex.js +306 -0
  425. package/dist/components/FileViewer/FileViewer.view.d.ts +61 -0
  426. package/dist/components/FileViewer/FileViewer.view.js +205 -0
  427. package/dist/components/FileViewer/FileViewer.view.stylex.d.ts +105 -0
  428. package/dist/components/FileViewer/FileViewer.view.stylex.js +109 -0
  429. package/dist/components/FileViewer/FileViewerHeaderTarget.d.ts +12 -0
  430. package/dist/components/FileViewer/FileViewerHeaderTarget.js +21 -0
  431. package/dist/components/FilterForm/FilterForm.context.d.ts +3 -0
  432. package/dist/components/FilterForm/FilterForm.context.js +3 -0
  433. package/dist/components/FilterForm/FilterForm.d.ts +6 -0
  434. package/dist/components/FilterForm/FilterForm.editor.d.ts +12 -0
  435. package/dist/components/FilterForm/FilterForm.editor.js +119 -0
  436. package/dist/components/FilterForm/FilterForm.js +125 -0
  437. package/dist/components/FilterForm/FilterForm.model.d.ts +9 -0
  438. package/dist/components/FilterForm/FilterForm.model.js +84 -0
  439. package/dist/components/FilterForm/FilterForm.options.d.ts +19 -0
  440. package/dist/components/FilterForm/FilterForm.options.js +89 -0
  441. package/dist/components/FilterForm/FilterForm.stylex.d.ts +17 -0
  442. package/dist/components/FilterForm/FilterForm.stylex.js +18 -0
  443. package/dist/components/FilterForm/FilterForm.types.d.ts +70 -0
  444. package/dist/components/FilterForm/FilterForm.types.js +1 -0
  445. package/dist/components/FlowFrame/FlowFrame.d.ts +11 -0
  446. package/dist/components/FlowFrame/FlowFrame.js +26 -0
  447. package/dist/components/FlowFrame/FlowFrame.stylex.d.ts +8 -0
  448. package/dist/components/FlowFrame/FlowFrame.stylex.js +8 -0
  449. package/dist/components/FocusContinuity/FocusContinuity.d.ts +8 -0
  450. package/dist/components/FocusContinuity/FocusContinuity.js +162 -0
  451. package/dist/components/FolderIcon/FolderIcon.d.ts +31 -0
  452. package/dist/components/FolderIcon/FolderIcon.js +34 -0
  453. package/dist/components/FolderIcon/FolderIcon.stylex.d.ts +9 -0
  454. package/dist/components/FolderIcon/FolderIcon.stylex.js +11 -0
  455. package/dist/components/FolderLabel/FolderLabel.d.ts +11 -0
  456. package/dist/components/FolderLabel/FolderLabel.js +9 -0
  457. package/dist/components/FolderLabel/FolderLabel.stylex.d.ts +19 -0
  458. package/dist/components/FolderLabel/FolderLabel.stylex.js +20 -0
  459. package/dist/components/ForEach/ForEach.d.ts +30 -0
  460. package/dist/components/ForEach/ForEach.data.d.ts +17 -0
  461. package/dist/components/ForEach/ForEach.data.js +32 -0
  462. package/dist/components/ForEach/ForEach.js +26 -0
  463. package/dist/components/Form/Form.context.d.ts +2 -0
  464. package/dist/components/Form/Form.context.js +5 -0
  465. package/dist/components/Form/Form.d.ts +16 -0
  466. package/dist/components/Form/Form.js +16 -0
  467. package/dist/components/Form/Form.stylex.d.ts +11 -0
  468. package/dist/components/Form/Form.stylex.js +12 -0
  469. package/dist/components/FormField/FormField.d.ts +25 -0
  470. package/dist/components/FormField/FormField.js +27 -0
  471. package/dist/components/FormField/FormField.stylex.d.ts +986 -0
  472. package/dist/components/FormField/FormField.stylex.js +1012 -0
  473. package/dist/components/Grid/Grid.d.ts +44 -0
  474. package/dist/components/Grid/Grid.js +212 -0
  475. package/dist/components/Grid/Grid.sections.d.ts +16 -0
  476. package/dist/components/Grid/Grid.sections.js +34 -0
  477. package/dist/components/Grid/Grid.stylex.d.ts +231 -0
  478. package/dist/components/Grid/Grid.stylex.js +235 -0
  479. package/dist/components/Grid/Grid.template.d.ts +6 -0
  480. package/dist/components/Grid/Grid.template.js +6 -0
  481. package/dist/components/HStack/HStack.d.ts +21 -0
  482. package/dist/components/HStack/HStack.js +13 -0
  483. package/dist/components/HStack/HStack.stylex.d.ts +174 -0
  484. package/dist/components/HStack/HStack.stylex.js +122 -0
  485. package/dist/components/Heading/Heading.context.d.ts +6 -0
  486. package/dist/components/Heading/Heading.context.js +12 -0
  487. package/dist/components/Heading/Heading.d.ts +15 -0
  488. package/dist/components/Heading/Heading.js +70 -0
  489. package/dist/components/Icon/FilledIcon.d.ts +5 -0
  490. package/dist/components/Icon/FilledIcon.js +12 -0
  491. package/dist/components/Icon/FilledIcon.stylex.d.ts +6 -0
  492. package/dist/components/Icon/FilledIcon.stylex.js +5 -0
  493. package/dist/components/Icon/Icon.d.ts +47 -0
  494. package/dist/components/Icon/Icon.js +101 -0
  495. package/dist/components/Icon/Icon.registry.d.ts +147 -0
  496. package/dist/components/Icon/Icon.registry.js +98 -0
  497. package/dist/components/Icon/Icon.stylex.d.ts +74 -0
  498. package/dist/components/Icon/Icon.stylex.js +63 -0
  499. package/dist/components/Icon/IconSlot.d.ts +18 -0
  500. package/dist/components/Icon/IconSlot.js +84 -0
  501. package/dist/components/Icon/badgedGlyph.d.ts +14 -0
  502. package/dist/components/Icon/badgedGlyph.js +23 -0
  503. package/dist/components/Icon/custom/BrandMarks.d.ts +12 -0
  504. package/dist/components/Icon/custom/BrandMarks.js +46 -0
  505. package/dist/components/Icon/custom/FileIcons.d.ts +27 -0
  506. package/dist/components/Icon/custom/FileIcons.js +117 -0
  507. package/dist/components/Icon/custom/FolderSearchInput.d.ts +6 -0
  508. package/dist/components/Icon/custom/FolderSearchInput.js +20 -0
  509. package/dist/components/Icon/custom/HighlighterOff.d.ts +2 -0
  510. package/dist/components/Icon/custom/HighlighterOff.js +7 -0
  511. package/dist/components/Icon/custom/LinkMarks.d.ts +74 -0
  512. package/dist/components/Icon/custom/LinkMarks.js +112 -0
  513. package/dist/components/Icon/custom/MessageSquareSearch.d.ts +5 -0
  514. package/dist/components/Icon/custom/MessageSquareSearch.js +10 -0
  515. package/dist/components/Icon/custom/PageRegions.d.ts +2 -0
  516. package/dist/components/Icon/custom/PageRegions.js +12 -0
  517. package/dist/components/Icon/custom/PanelExpand.d.ts +5 -0
  518. package/dist/components/Icon/custom/PanelExpand.js +12 -0
  519. package/dist/components/Icon/custom/SquareDashedPlus.d.ts +2 -0
  520. package/dist/components/Icon/custom/SquareDashedPlus.js +6 -0
  521. package/dist/components/Icon/getFileIconName.d.ts +11 -0
  522. package/dist/components/Icon/getFileIconName.js +140 -0
  523. package/dist/components/Icon/getLinkIconName.d.ts +23 -0
  524. package/dist/components/Icon/getLinkIconName.js +142 -0
  525. package/dist/components/IconButton/IconButton.d.ts +53 -0
  526. package/dist/components/IconButton/IconButton.js +116 -0
  527. package/dist/components/IconButton/IconButton.stylex.d.ts +88 -0
  528. package/dist/components/IconButton/IconButton.stylex.js +85 -0
  529. package/dist/components/Image/Image.d.ts +20 -0
  530. package/dist/components/Image/Image.js +45 -0
  531. package/dist/components/Image/Image.stylex.d.ts +70 -0
  532. package/dist/components/Image/Image.stylex.js +71 -0
  533. package/dist/components/ImageRedactor/ImageRedactor.d.ts +26 -0
  534. package/dist/components/ImageRedactor/ImageRedactor.js +56 -0
  535. package/dist/components/ImageRedactor/ImageRedactor.stylex.d.ts +49 -0
  536. package/dist/components/ImageRedactor/ImageRedactor.stylex.js +51 -0
  537. package/dist/components/Indicator/Indicator.d.ts +23 -0
  538. package/dist/components/Indicator/Indicator.js +105 -0
  539. package/dist/components/Indicator/Indicator.stylex.d.ts +181 -0
  540. package/dist/components/Indicator/Indicator.stylex.js +176 -0
  541. package/dist/components/InlineAlert/InlineAlert.d.ts +23 -0
  542. package/dist/components/InlineAlert/InlineAlert.js +54 -0
  543. package/dist/components/InlineAlert/InlineAlert.stylex.d.ts +105 -0
  544. package/dist/components/InlineAlert/InlineAlert.stylex.js +104 -0
  545. package/dist/components/IntentScope/IntentScope.d.ts +17 -0
  546. package/dist/components/IntentScope/IntentScope.js +19 -0
  547. package/dist/components/IntentScope/intentCoordinator.d.ts +12 -0
  548. package/dist/components/IntentScope/intentCoordinator.js +64 -0
  549. package/dist/components/IntentScope/useIntent.d.ts +12 -0
  550. package/dist/components/IntentScope/useIntent.js +47 -0
  551. package/dist/components/JsonValueView/JsonBlock.d.ts +31 -0
  552. package/dist/components/JsonValueView/JsonBlock.js +25 -0
  553. package/dist/components/JsonValueView/JsonCopyButton.d.ts +20 -0
  554. package/dist/components/JsonValueView/JsonCopyButton.js +37 -0
  555. package/dist/components/JsonValueView/JsonValueControls.d.ts +17 -0
  556. package/dist/components/JsonValueView/JsonValueControls.js +16 -0
  557. package/dist/components/JsonValueView/JsonValueExpandedView.d.ts +21 -0
  558. package/dist/components/JsonValueView/JsonValueExpandedView.js +20 -0
  559. package/dist/components/JsonValueView/JsonValueView.d.ts +38 -0
  560. package/dist/components/JsonValueView/JsonValueView.frame.d.ts +12 -0
  561. package/dist/components/JsonValueView/JsonValueView.frame.js +13 -0
  562. package/dist/components/JsonValueView/JsonValueView.js +98 -0
  563. package/dist/components/JsonValueView/JsonValueView.stylex.d.ts +65 -0
  564. package/dist/components/JsonValueView/JsonValueView.stylex.js +49 -0
  565. package/dist/components/JsonValueView/JsonValueView.tokens.d.ts +22 -0
  566. package/dist/components/JsonValueView/JsonValueView.tokens.js +20 -0
  567. package/dist/components/JsonValueView/JsonValueView.value.d.ts +25 -0
  568. package/dist/components/JsonValueView/JsonValueView.value.js +107 -0
  569. package/dist/components/JsonValueView/useJsonValueViewState.d.ts +20 -0
  570. package/dist/components/JsonValueView/useJsonValueViewState.js +54 -0
  571. package/dist/components/Keyboard/Keyboard.d.ts +14 -0
  572. package/dist/components/Keyboard/Keyboard.js +72 -0
  573. package/dist/components/Keyboard/Keyboard.stylex.d.ts +63 -0
  574. package/dist/components/Keyboard/Keyboard.stylex.js +64 -0
  575. package/dist/components/LazyGrid/LazyGrid.d.ts +11 -0
  576. package/dist/components/LazyGrid/LazyGrid.js +23 -0
  577. package/dist/components/LazyHStack/LazyHStack.d.ts +18 -0
  578. package/dist/components/LazyHStack/LazyHStack.js +11 -0
  579. package/dist/components/LazyList/LazyList.d.ts +11 -0
  580. package/dist/components/LazyList/LazyList.js +10 -0
  581. package/dist/components/LazyStackRoot/LazyStackRoot.d.ts +4 -0
  582. package/dist/components/LazyStackRoot/LazyStackRoot.js +192 -0
  583. package/dist/components/LazyStackRoot/LazyStackRoot.range.d.ts +28 -0
  584. package/dist/components/LazyStackRoot/LazyStackRoot.range.js +42 -0
  585. package/dist/components/LazyStackRoot/LazyStackRoot.scroll.d.ts +7 -0
  586. package/dist/components/LazyStackRoot/LazyStackRoot.scroll.js +27 -0
  587. package/dist/components/LazyStackRoot/LazyStackRoot.sticky.d.ts +27 -0
  588. package/dist/components/LazyStackRoot/LazyStackRoot.sticky.js +64 -0
  589. package/dist/components/LazyStackRoot/LazyStackRoot.stylex.d.ts +110 -0
  590. package/dist/components/LazyStackRoot/LazyStackRoot.stylex.js +100 -0
  591. package/dist/components/LazyStackRoot/LazyStackRoot.types.d.ts +38 -0
  592. package/dist/components/LazyStackRoot/LazyStackRoot.types.js +1 -0
  593. package/dist/components/LazyTable/LazyTable.d.ts +11 -0
  594. package/dist/components/LazyTable/LazyTable.js +28 -0
  595. package/dist/components/LazyTable/LazyTable.layout.d.ts +43 -0
  596. package/dist/components/LazyTable/LazyTable.layout.js +213 -0
  597. package/dist/components/LazyTable/LazyTable.viewport.d.ts +5 -0
  598. package/dist/components/LazyTable/LazyTable.viewport.js +83 -0
  599. package/dist/components/LazyTree/LazyTree.d.ts +11 -0
  600. package/dist/components/LazyTree/LazyTree.js +10 -0
  601. package/dist/components/LazyVStack/LazyVStack.d.ts +18 -0
  602. package/dist/components/LazyVStack/LazyVStack.js +15 -0
  603. package/dist/components/Link/Link.adapter.d.ts +19 -0
  604. package/dist/components/Link/Link.adapter.js +18 -0
  605. package/dist/components/Link/Link.d.ts +52 -0
  606. package/dist/components/Link/Link.js +137 -0
  607. package/dist/components/Link/Link.stylex.d.ts +200 -0
  608. package/dist/components/Link/Link.stylex.js +206 -0
  609. package/dist/components/List/List.d.ts +16 -0
  610. package/dist/components/List/List.js +90 -0
  611. package/dist/components/List/List.stylex.d.ts +116 -0
  612. package/dist/components/List/List.stylex.js +116 -0
  613. package/dist/components/List/flattenHelpers.d.ts +19 -0
  614. package/dist/components/List/flattenHelpers.js +88 -0
  615. package/dist/components/LoadingOverlay/LoadingOverlay.d.ts +9 -0
  616. package/dist/components/LoadingOverlay/LoadingOverlay.js +16 -0
  617. package/dist/components/LoadingOverlay/LoadingOverlay.stylex.d.ts +23 -0
  618. package/dist/components/LoadingOverlay/LoadingOverlay.stylex.js +25 -0
  619. package/dist/components/LockedPreview/LockedPreview.d.ts +19 -0
  620. package/dist/components/LockedPreview/LockedPreview.js +11 -0
  621. package/dist/components/LockedPreview/LockedPreview.stylex.d.ts +26 -0
  622. package/dist/components/LockedPreview/LockedPreview.stylex.js +27 -0
  623. package/dist/components/Menu/Menu.collection.d.ts +3 -0
  624. package/dist/components/Menu/Menu.collection.js +130 -0
  625. package/dist/components/Menu/Menu.context.d.ts +7 -0
  626. package/dist/components/Menu/Menu.context.js +16 -0
  627. package/dist/components/Menu/Menu.d.ts +89 -0
  628. package/dist/components/Menu/Menu.identity.d.ts +3 -0
  629. package/dist/components/Menu/Menu.identity.js +3 -0
  630. package/dist/components/Menu/Menu.inlineRoom.d.ts +15 -0
  631. package/dist/components/Menu/Menu.inlineRoom.js +64 -0
  632. package/dist/components/Menu/Menu.js +235 -0
  633. package/dist/components/Menu/Menu.popoverTrigger.d.ts +10 -0
  634. package/dist/components/Menu/Menu.popoverTrigger.js +103 -0
  635. package/dist/components/Menu/Menu.stylex.d.ts +232 -0
  636. package/dist/components/Menu/Menu.stylex.js +265 -0
  637. package/dist/components/Menu/MenuItem.children.d.ts +5 -0
  638. package/dist/components/Menu/MenuItem.children.js +23 -0
  639. package/dist/components/Meter/Meter.d.ts +25 -0
  640. package/dist/components/Meter/Meter.js +34 -0
  641. package/dist/components/Meter/Meter.stylex.d.ts +49 -0
  642. package/dist/components/Meter/Meter.stylex.js +47 -0
  643. package/dist/components/Modal/Modal.d.ts +6 -0
  644. package/dist/components/Modal/Modal.js +14 -0
  645. package/dist/components/Modal/Modal.types.d.ts +40 -0
  646. package/dist/components/Modal/Modal.types.js +1 -0
  647. package/dist/components/Modal/Overlay.d.ts +11 -0
  648. package/dist/components/Modal/Overlay.js +63 -0
  649. package/dist/components/Modal/Overlay.stylex.d.ts +190 -0
  650. package/dist/components/Modal/Overlay.stylex.js +128 -0
  651. package/dist/components/Modal/OverlayBoundary.d.ts +5 -0
  652. package/dist/components/Modal/OverlayBoundary.js +17 -0
  653. package/dist/components/NavigationItem/NavigationItem.d.ts +64 -0
  654. package/dist/components/NavigationItem/NavigationItem.js +116 -0
  655. package/dist/components/NavigationItem/NavigationItem.navigationContext.d.ts +15 -0
  656. package/dist/components/NavigationItem/NavigationItem.navigationContext.js +20 -0
  657. package/dist/components/NavigationItem/NavigationItem.stylex.d.ts +30 -0
  658. package/dist/components/NavigationItem/NavigationItem.stylex.js +37 -0
  659. package/dist/components/NavigationRail/NavigationRail.context.d.ts +5 -0
  660. package/dist/components/NavigationRail/NavigationRail.context.js +9 -0
  661. package/dist/components/NavigationRail/NavigationRail.d.ts +12 -0
  662. package/dist/components/NavigationRail/NavigationRail.js +72 -0
  663. package/dist/components/NavigationRail/NavigationRail.stylex.d.ts +57 -0
  664. package/dist/components/NavigationRail/NavigationRail.stylex.js +58 -0
  665. package/dist/components/NavigationTree/NavigationTree.activeSections.d.ts +7 -0
  666. package/dist/components/NavigationTree/NavigationTree.activeSections.js +75 -0
  667. package/dist/components/NavigationTree/NavigationTree.d.ts +21 -0
  668. package/dist/components/NavigationTree/NavigationTree.js +273 -0
  669. package/dist/components/NavigationTree/NavigationTree.stylex.d.ts +245 -0
  670. package/dist/components/NavigationTree/NavigationTree.stylex.js +262 -0
  671. package/dist/components/NumberField/NumberField.d.ts +73 -0
  672. package/dist/components/NumberField/NumberField.js +112 -0
  673. package/dist/components/Option/Option.d.ts +18 -0
  674. package/dist/components/Option/Option.js +44 -0
  675. package/dist/components/Option/Option.stylex.d.ts +75 -0
  676. package/dist/components/Option/Option.stylex.js +74 -0
  677. package/dist/components/Page/NestedPageAuxiliary.d.ts +3 -0
  678. package/dist/components/Page/NestedPageAuxiliary.js +44 -0
  679. package/dist/components/Page/Page.d.ts +59 -0
  680. package/dist/components/Page/Page.js +265 -0
  681. package/dist/components/Page/Page.stylex.d.ts +333 -0
  682. package/dist/components/Page/Page.stylex.js +310 -0
  683. package/dist/components/Page/PageAuxiliary.context.d.ts +7 -0
  684. package/dist/components/Page/PageAuxiliary.context.js +2 -0
  685. package/dist/components/Page/PageAuxiliaryPanel.d.ts +32 -0
  686. package/dist/components/Page/PageAuxiliaryPanel.js +50 -0
  687. package/dist/components/Page/PageLabel.d.ts +26 -0
  688. package/dist/components/Page/PageLabel.js +56 -0
  689. package/dist/components/Page/PageScrollMotion.d.ts +24 -0
  690. package/dist/components/Page/PageScrollMotion.js +186 -0
  691. package/dist/components/Page/PageTitleRow.d.ts +21 -0
  692. package/dist/components/Page/PageTitleRow.js +50 -0
  693. package/dist/components/Page/PageTitleRow.stylex.d.ts +16 -0
  694. package/dist/components/Page/PageTitleRow.stylex.js +17 -0
  695. package/dist/components/Page/PageToolbar.context.d.ts +35 -0
  696. package/dist/components/Page/PageToolbar.context.js +43 -0
  697. package/dist/components/Page/PageToolbar.d.ts +13 -0
  698. package/dist/components/Page/PageToolbar.js +150 -0
  699. package/dist/components/Page/PageToolbar.motion.d.ts +5 -0
  700. package/dist/components/Page/PageToolbar.motion.js +27 -0
  701. package/dist/components/Page/PageToolbar.stylex.d.ts +41 -0
  702. package/dist/components/Page/PageToolbar.stylex.js +37 -0
  703. package/dist/components/Page/revealAuxiliary.d.ts +2 -0
  704. package/dist/components/Page/revealAuxiliary.js +56 -0
  705. package/dist/components/PageToolbar/PageToolbar.d.ts +7 -0
  706. package/dist/components/PageToolbar/PageToolbar.js +12 -0
  707. package/dist/components/Popover/OverflowPickerSearch.d.ts +7 -0
  708. package/dist/components/Popover/OverflowPickerSearch.js +10 -0
  709. package/dist/components/Popover/Popover.anchor.d.ts +12 -0
  710. package/dist/components/Popover/Popover.anchor.js +87 -0
  711. package/dist/components/Popover/Popover.context.d.ts +11 -0
  712. package/dist/components/Popover/Popover.context.js +11 -0
  713. package/dist/components/Popover/Popover.d.ts +69 -0
  714. package/dist/components/Popover/Popover.js +253 -0
  715. package/dist/components/Popover/Popover.pressTrigger.d.ts +12 -0
  716. package/dist/components/Popover/Popover.pressTrigger.js +54 -0
  717. package/dist/components/Popover/Popover.stylex.d.ts +98 -0
  718. package/dist/components/Popover/Popover.stylex.js +109 -0
  719. package/dist/components/Popover/Popover.viewport.d.ts +10 -0
  720. package/dist/components/Popover/Popover.viewport.js +61 -0
  721. package/dist/components/Popover/useHoverOpen.d.ts +24 -0
  722. package/dist/components/Popover/useHoverOpen.js +132 -0
  723. package/dist/components/Progress/Progress.d.ts +21 -0
  724. package/dist/components/Progress/Progress.js +20 -0
  725. package/dist/components/Progress/Progress.stylex.d.ts +90 -0
  726. package/dist/components/Progress/Progress.stylex.js +83 -0
  727. package/dist/components/RadioGroup/RadioGroup.children.d.ts +8 -0
  728. package/dist/components/RadioGroup/RadioGroup.children.js +64 -0
  729. package/dist/components/RadioGroup/RadioGroup.colors.d.ts +13 -0
  730. package/dist/components/RadioGroup/RadioGroup.colors.js +11 -0
  731. package/dist/components/RadioGroup/RadioGroup.d.ts +73 -0
  732. package/dist/components/RadioGroup/RadioGroup.js +85 -0
  733. package/dist/components/RadioGroup/RadioGroup.stylex.d.ts +87 -0
  734. package/dist/components/RadioGroup/RadioGroup.stylex.js +57 -0
  735. package/dist/components/ReflowContainer/ReflowContainer.d.ts +30 -0
  736. package/dist/components/ReflowContainer/ReflowContainer.js +106 -0
  737. package/dist/components/Region/Region.d.ts +50 -0
  738. package/dist/components/Region/Region.js +29 -0
  739. package/dist/components/RenderingTreatment/RenderingTreatment.context.d.ts +34 -0
  740. package/dist/components/RenderingTreatment/RenderingTreatment.context.js +49 -0
  741. package/dist/components/ResourceList/ResourceList.d.ts +7 -0
  742. package/dist/components/ResourceList/ResourceList.js +89 -0
  743. package/dist/components/ResourceList/ResourceList.model.d.ts +65 -0
  744. package/dist/components/ResourceList/ResourceList.model.js +372 -0
  745. package/dist/components/ResourceList/ResourceList.rows.d.ts +18 -0
  746. package/dist/components/ResourceList/ResourceList.rows.js +86 -0
  747. package/dist/components/ResourceList/ResourceList.stylex.d.ts +338 -0
  748. package/dist/components/ResourceList/ResourceList.stylex.js +272 -0
  749. package/dist/components/ResourceList/ResourceList.table.d.ts +22 -0
  750. package/dist/components/ResourceList/ResourceList.table.js +149 -0
  751. package/dist/components/ResourceList/ResourceList.types.d.ts +120 -0
  752. package/dist/components/ResourceList/ResourceList.types.js +18 -0
  753. package/dist/components/Reveal/Reveal.d.ts +36 -0
  754. package/dist/components/Reveal/Reveal.js +18 -0
  755. package/dist/components/Reveal/Reveal.stylex.d.ts +125 -0
  756. package/dist/components/Reveal/Reveal.stylex.js +155 -0
  757. package/dist/components/RotatingStatus/RotatingStatus.d.ts +17 -0
  758. package/dist/components/RotatingStatus/RotatingStatus.js +43 -0
  759. package/dist/components/RotatingStatus/RotatingStatus.stylex.d.ts +27 -0
  760. package/dist/components/RotatingStatus/RotatingStatus.stylex.js +28 -0
  761. package/dist/components/RouterProvider/RouterProvider.d.ts +22 -0
  762. package/dist/components/RouterProvider/RouterProvider.js +12 -0
  763. package/dist/components/RowButton/RowButton.d.ts +21 -0
  764. package/dist/components/RowButton/RowButton.js +16 -0
  765. package/dist/components/RowButton/RowButton.stylex.d.ts +71 -0
  766. package/dist/components/RowButton/RowButton.stylex.js +80 -0
  767. package/dist/components/SafeInsetArea/SafeInsetArea.context.d.ts +20 -0
  768. package/dist/components/SafeInsetArea/SafeInsetArea.context.js +229 -0
  769. package/dist/components/SafeInsetArea/SafeInsetArea.d.ts +10 -0
  770. package/dist/components/SafeInsetArea/SafeInsetArea.edges.d.ts +16 -0
  771. package/dist/components/SafeInsetArea/SafeInsetArea.edges.js +114 -0
  772. package/dist/components/SafeInsetArea/SafeInsetArea.js +30 -0
  773. package/dist/components/SafeInsetArea/SafeInsetArea.styles.d.ts +4 -0
  774. package/dist/components/SafeInsetArea/SafeInsetArea.styles.js +44 -0
  775. package/dist/components/SafeInsetArea/SafeInsetArea.stylex.d.ts +15 -0
  776. package/dist/components/SafeInsetArea/SafeInsetArea.stylex.js +15 -0
  777. package/dist/components/SafeInsetArea/SafeInsetArea.types.d.ts +71 -0
  778. package/dist/components/SafeInsetArea/SafeInsetArea.types.js +1 -0
  779. package/dist/components/ScrollArea/ScrollArea.d.ts +73 -0
  780. package/dist/components/ScrollArea/ScrollArea.js +176 -0
  781. package/dist/components/ScrollArea/ScrollArea.stylex.d.ts +222 -0
  782. package/dist/components/ScrollArea/ScrollArea.stylex.js +253 -0
  783. package/dist/components/ScrollArea/ScrollAreaEdgeEffect.d.ts +8 -0
  784. package/dist/components/ScrollArea/ScrollAreaEdgeEffect.js +13 -0
  785. package/dist/components/ScrollArea/ScrollAreaEdgeEffect.stylex.d.ts +60 -0
  786. package/dist/components/ScrollArea/ScrollAreaEdgeEffect.stylex.js +37 -0
  787. package/dist/components/ScrollArea/ScrollAreaMarker.d.ts +23 -0
  788. package/dist/components/ScrollArea/ScrollAreaMarker.js +14 -0
  789. package/dist/components/ScrollArea/ScrollAreaMarkers.d.ts +17 -0
  790. package/dist/components/ScrollArea/ScrollAreaMarkers.js +206 -0
  791. package/dist/components/ScrollArea/ScrollAreaMarkers.stylex.d.ts +166 -0
  792. package/dist/components/ScrollArea/ScrollAreaMarkers.stylex.js +194 -0
  793. package/dist/components/ScrollArea/ScrollAreaOutline.d.ts +20 -0
  794. package/dist/components/ScrollArea/ScrollAreaOutline.js +53 -0
  795. package/dist/components/ScrollArea/ScrollAreaScrollbar.d.ts +16 -0
  796. package/dist/components/ScrollArea/ScrollAreaScrollbar.js +137 -0
  797. package/dist/components/ScrollArea/navigateToScrollTarget.d.ts +5 -0
  798. package/dist/components/ScrollArea/navigateToScrollTarget.js +17 -0
  799. package/dist/components/ScrollArea/scrollbarGeometry.d.ts +6 -0
  800. package/dist/components/ScrollArea/scrollbarGeometry.js +7 -0
  801. package/dist/components/ScrollArea/useHasNoTabStops.d.ts +3 -0
  802. package/dist/components/ScrollArea/useHasNoTabStops.js +37 -0
  803. package/dist/components/ScrollArea/useHorizontalWheel.d.ts +3 -0
  804. package/dist/components/ScrollArea/useHorizontalWheel.js +40 -0
  805. package/dist/components/ScrollArea/useMarkerNavigation.d.ts +7 -0
  806. package/dist/components/ScrollArea/useMarkerNavigation.js +41 -0
  807. package/dist/components/ScrollArea/useMarkerRail.d.ts +16 -0
  808. package/dist/components/ScrollArea/useMarkerRail.js +37 -0
  809. package/dist/components/ScrollArea/useScrollArea.d.ts +22 -0
  810. package/dist/components/ScrollArea/useScrollArea.js +103 -0
  811. package/dist/components/ScrollArea/useScrollAreaMarkers.d.ts +38 -0
  812. package/dist/components/ScrollArea/useScrollAreaMarkers.js +154 -0
  813. package/dist/components/SearchField/SearchField.d.ts +29 -0
  814. package/dist/components/SearchField/SearchField.js +51 -0
  815. package/dist/components/SearchField/SearchField.stylex.d.ts +82 -0
  816. package/dist/components/SearchField/SearchField.stylex.js +60 -0
  817. package/dist/components/SecretField/SecretField.d.ts +66 -0
  818. package/dist/components/SecretField/SecretField.js +61 -0
  819. package/dist/components/Section/Section.d.ts +41 -0
  820. package/dist/components/Section/Section.data.d.ts +12 -0
  821. package/dist/components/Section/Section.data.js +16 -0
  822. package/dist/components/Section/Section.js +45 -0
  823. package/dist/components/Section/Section.stylex.d.ts +24 -0
  824. package/dist/components/Section/Section.stylex.js +26 -0
  825. package/dist/components/Select/Select.body.d.ts +14 -0
  826. package/dist/components/Select/Select.body.js +17 -0
  827. package/dist/components/Select/Select.collection.d.ts +7 -0
  828. package/dist/components/Select/Select.collection.js +67 -0
  829. package/dist/components/Select/Select.context.d.ts +1 -0
  830. package/dist/components/Select/Select.context.js +2 -0
  831. package/dist/components/Select/Select.d.ts +60 -0
  832. package/dist/components/Select/Select.js +118 -0
  833. package/dist/components/Select/Select.stylex.d.ts +131 -0
  834. package/dist/components/Select/Select.stylex.js +132 -0
  835. package/dist/components/Select/useSelectFormReset.d.ts +2 -0
  836. package/dist/components/Select/useSelectFormReset.js +25 -0
  837. package/dist/components/Separator/Separator.d.ts +26 -0
  838. package/dist/components/Separator/Separator.js +31 -0
  839. package/dist/components/Separator/Separator.stylex.d.ts +33 -0
  840. package/dist/components/Separator/Separator.stylex.js +34 -0
  841. package/dist/components/Sheet/Sheet.d.ts +24 -0
  842. package/dist/components/Sheet/Sheet.js +17 -0
  843. package/dist/components/Shortcuts/ShortcutIndicator.d.ts +5 -0
  844. package/dist/components/Shortcuts/ShortcutIndicator.js +10 -0
  845. package/dist/components/Shortcuts/Shortcuts.context.d.ts +9 -0
  846. package/dist/components/Shortcuts/Shortcuts.context.js +8 -0
  847. package/dist/components/Shortcuts/Shortcuts.d.ts +14 -0
  848. package/dist/components/Shortcuts/Shortcuts.js +50 -0
  849. package/dist/components/Shortcuts/Shortcuts.stylex.d.ts +29 -0
  850. package/dist/components/Shortcuts/Shortcuts.stylex.js +28 -0
  851. package/dist/components/Shortcuts/Shortcuts.types.d.ts +56 -0
  852. package/dist/components/Shortcuts/Shortcuts.types.js +1 -0
  853. package/dist/components/Shortcuts/ShortcutsHelp.d.ts +5 -0
  854. package/dist/components/Shortcuts/ShortcutsHelp.js +70 -0
  855. package/dist/components/Shortcuts/shortcutKeys.d.ts +6 -0
  856. package/dist/components/Shortcuts/shortcutKeys.js +61 -0
  857. package/dist/components/Shortcuts/shortcutRegistry.d.ts +36 -0
  858. package/dist/components/Shortcuts/shortcutRegistry.js +153 -0
  859. package/dist/components/Shortcuts/useShortcut.d.ts +12 -0
  860. package/dist/components/Shortcuts/useShortcut.js +127 -0
  861. package/dist/components/ShowMore/ShowMore.d.ts +18 -0
  862. package/dist/components/ShowMore/ShowMore.js +44 -0
  863. package/dist/components/ShowMore/ShowMore.lines.d.ts +23 -0
  864. package/dist/components/ShowMore/ShowMore.lines.js +49 -0
  865. package/dist/components/ShowMore/ShowMore.stylex.d.ts +24 -0
  866. package/dist/components/ShowMore/ShowMore.stylex.js +26 -0
  867. package/dist/components/Skeleton/Skeleton.d.ts +16 -0
  868. package/dist/components/Skeleton/Skeleton.js +8 -0
  869. package/dist/components/Skeleton/Skeleton.stylex.d.ts +68 -0
  870. package/dist/components/Skeleton/Skeleton.stylex.js +78 -0
  871. package/dist/components/Skeleton/useSkeleton.d.ts +87 -0
  872. package/dist/components/Skeleton/useSkeleton.js +34 -0
  873. package/dist/components/Slider/Slider.d.ts +44 -0
  874. package/dist/components/Slider/Slider.js +56 -0
  875. package/dist/components/Slider/Slider.stylex.d.ts +105 -0
  876. package/dist/components/Slider/Slider.stylex.js +70 -0
  877. package/dist/components/Slot/Slot.d.ts +17 -0
  878. package/dist/components/Slot/Slot.js +83 -0
  879. package/dist/components/Slot/Slot.resolve.d.ts +3 -0
  880. package/dist/components/Slot/Slot.resolve.js +22 -0
  881. package/dist/components/Slot/Slot.scope.d.ts +7 -0
  882. package/dist/components/Slot/Slot.scope.js +19 -0
  883. package/dist/components/Slot/Slot.types.d.ts +64 -0
  884. package/dist/components/Slot/Slot.types.js +1 -0
  885. package/dist/components/Spacer/Spacer.d.ts +5 -0
  886. package/dist/components/Spacer/Spacer.js +6 -0
  887. package/dist/components/Spacer/Spacer.stylex.d.ts +10 -0
  888. package/dist/components/Spacer/Spacer.stylex.js +10 -0
  889. package/dist/components/SplitLayout/SplitLayout.d.ts +43 -0
  890. package/dist/components/SplitLayout/SplitLayout.js +20 -0
  891. package/dist/components/SplitLayout/SplitLayout.stylex.d.ts +51 -0
  892. package/dist/components/SplitLayout/SplitLayout.stylex.js +77 -0
  893. package/dist/components/Stack/StackInsets.context.d.ts +14 -0
  894. package/dist/components/Stack/StackInsets.context.js +17 -0
  895. package/dist/components/Stack/StackPadding.stylex.d.ts +113 -0
  896. package/dist/components/Stack/StackPadding.stylex.js +154 -0
  897. package/dist/components/Stack/StackPropTypes.d.ts +30 -0
  898. package/dist/components/Stack/StackPropTypes.js +14 -0
  899. package/dist/components/StatCard/StatCard.d.ts +32 -0
  900. package/dist/components/StatCard/StatCard.js +15 -0
  901. package/dist/components/StatCard/StatCard.stylex.d.ts +101 -0
  902. package/dist/components/StatCard/StatCard.stylex.js +127 -0
  903. package/dist/components/StatCard/StatCard.vars.stylex.d.ts +22 -0
  904. package/dist/components/StatCard/StatCard.vars.stylex.js +26 -0
  905. package/dist/components/StepList/StepList.d.ts +52 -0
  906. package/dist/components/StepList/StepList.js +36 -0
  907. package/dist/components/StepList/StepList.stylex.d.ts +139 -0
  908. package/dist/components/StepList/StepList.stylex.js +134 -0
  909. package/dist/components/Stepper/Stepper.d.ts +49 -0
  910. package/dist/components/Stepper/Stepper.js +59 -0
  911. package/dist/components/Stepper/Stepper.stylex.d.ts +131 -0
  912. package/dist/components/Stepper/Stepper.stylex.js +147 -0
  913. package/dist/components/Stepper/useStepNamesFit.d.ts +12 -0
  914. package/dist/components/Stepper/useStepNamesFit.js +65 -0
  915. package/dist/components/Surface/Surface.colors.d.ts +4 -0
  916. package/dist/components/Surface/Surface.colors.js +34 -0
  917. package/dist/components/Surface/Surface.d.ts +41 -0
  918. package/dist/components/Surface/Surface.js +36 -0
  919. package/dist/components/Surface/Surface.stylex.d.ts +139 -0
  920. package/dist/components/Surface/Surface.stylex.js +121 -0
  921. package/dist/components/Switch/Switch.d.ts +50 -0
  922. package/dist/components/Switch/Switch.js +28 -0
  923. package/dist/components/TOC/TOC.activeEntry.d.ts +14 -0
  924. package/dist/components/TOC/TOC.activeEntry.js +89 -0
  925. package/dist/components/TOC/TOC.context.d.ts +33 -0
  926. package/dist/components/TOC/TOC.context.js +55 -0
  927. package/dist/components/TOC/TOC.d.ts +8 -0
  928. package/dist/components/TOC/TOC.js +49 -0
  929. package/dist/components/TOC/TOC.stylex.d.ts +60 -0
  930. package/dist/components/TOC/TOC.stylex.js +59 -0
  931. package/dist/components/Table/Table.d.ts +6 -0
  932. package/dist/components/Table/Table.data.d.ts +24 -0
  933. package/dist/components/Table/Table.data.js +224 -0
  934. package/dist/components/Table/Table.js +317 -0
  935. package/dist/components/Table/Table.layout.d.ts +33 -0
  936. package/dist/components/Table/Table.layout.js +246 -0
  937. package/dist/components/Table/Table.parts.d.ts +13 -0
  938. package/dist/components/Table/Table.parts.js +17 -0
  939. package/dist/components/Table/Table.stylex.d.ts +504 -0
  940. package/dist/components/Table/Table.stylex.js +468 -0
  941. package/dist/components/Table/Table.types.d.ts +114 -0
  942. package/dist/components/Table/Table.types.js +11 -0
  943. package/dist/components/Table/TableRowLink.d.ts +16 -0
  944. package/dist/components/Table/TableRowLink.js +39 -0
  945. package/dist/components/Tabs/NewTabAction.d.ts +7 -0
  946. package/dist/components/Tabs/NewTabAction.js +25 -0
  947. package/dist/components/Tabs/Tab.d.ts +11 -0
  948. package/dist/components/Tabs/Tab.js +10 -0
  949. package/dist/components/Tabs/TabActionButton.d.ts +14 -0
  950. package/dist/components/Tabs/TabActionButton.js +60 -0
  951. package/dist/components/Tabs/TabActions.d.ts +12 -0
  952. package/dist/components/Tabs/TabActions.js +119 -0
  953. package/dist/components/Tabs/TabOutlet.d.ts +9 -0
  954. package/dist/components/Tabs/TabOutlet.js +15 -0
  955. package/dist/components/Tabs/TabPanelTransition.d.ts +18 -0
  956. package/dist/components/Tabs/TabPanelTransition.js +20 -0
  957. package/dist/components/Tabs/Tabs.children.d.ts +16 -0
  958. package/dist/components/Tabs/Tabs.children.js +97 -0
  959. package/dist/components/Tabs/Tabs.d.ts +5 -0
  960. package/dist/components/Tabs/Tabs.js +270 -0
  961. package/dist/components/Tabs/Tabs.state.d.ts +19 -0
  962. package/dist/components/Tabs/Tabs.state.js +13 -0
  963. package/dist/components/Tabs/Tabs.stylex.d.ts +476 -0
  964. package/dist/components/Tabs/Tabs.stylex.js +376 -0
  965. package/dist/components/Tabs/Tabs.types.d.ts +99 -0
  966. package/dist/components/Tabs/Tabs.types.js +6 -0
  967. package/dist/components/Tabs/TabsPicker.d.ts +8 -0
  968. package/dist/components/Tabs/TabsPicker.js +21 -0
  969. package/dist/components/Tabs/useTabOverflow.d.ts +9 -0
  970. package/dist/components/Tabs/useTabOverflow.js +55 -0
  971. package/dist/components/Tabs/useTabReorder.d.ts +22 -0
  972. package/dist/components/Tabs/useTabReorder.js +133 -0
  973. package/dist/components/Tabs/useTabScrollRestoration.d.ts +4 -0
  974. package/dist/components/Tabs/useTabScrollRestoration.js +100 -0
  975. package/dist/components/Tabs/useTabs.d.ts +10 -0
  976. package/dist/components/Tabs/useTabs.js +43 -0
  977. package/dist/components/Tabs/useTabsPickerMotion.d.ts +6 -0
  978. package/dist/components/Tabs/useTabsPickerMotion.js +64 -0
  979. package/dist/components/TagGroup/CollapsedTagGroup.d.ts +13 -0
  980. package/dist/components/TagGroup/CollapsedTagGroup.js +205 -0
  981. package/dist/components/TagGroup/Tag.d.ts +22 -0
  982. package/dist/components/TagGroup/Tag.js +5 -0
  983. package/dist/components/TagGroup/TagCollection.d.ts +15 -0
  984. package/dist/components/TagGroup/TagCollection.js +30 -0
  985. package/dist/components/TagGroup/TagContents.d.ts +8 -0
  986. package/dist/components/TagGroup/TagContents.js +109 -0
  987. package/dist/components/TagGroup/TagGroup.children.d.ts +11 -0
  988. package/dist/components/TagGroup/TagGroup.children.js +59 -0
  989. package/dist/components/TagGroup/TagGroup.d.ts +29 -0
  990. package/dist/components/TagGroup/TagGroup.js +20 -0
  991. package/dist/components/TagGroup/TagGroup.stylex.d.ts +226 -0
  992. package/dist/components/TagGroup/TagGroup.stylex.js +162 -0
  993. package/dist/components/TagGroup/tagGroupLayout.d.ts +5 -0
  994. package/dist/components/TagGroup/tagGroupLayout.js +20 -0
  995. package/dist/components/Text/Text.d.ts +81 -0
  996. package/dist/components/Text/Text.js +124 -0
  997. package/dist/components/Text/Text.stylex.d.ts +239 -0
  998. package/dist/components/Text/Text.stylex.js +231 -0
  999. package/dist/components/Text/Text.truncation.d.ts +44 -0
  1000. package/dist/components/Text/Text.truncation.js +365 -0
  1001. package/dist/components/Text/Text.truncation.stylex.d.ts +42 -0
  1002. package/dist/components/Text/Text.truncation.stylex.js +53 -0
  1003. package/dist/components/TextArea/TextArea.d.ts +63 -0
  1004. package/dist/components/TextArea/TextArea.js +43 -0
  1005. package/dist/components/TextField/TextField.d.ts +67 -0
  1006. package/dist/components/TextField/TextField.js +46 -0
  1007. package/dist/components/TileButton/TileButton.d.ts +37 -0
  1008. package/dist/components/TileButton/TileButton.js +23 -0
  1009. package/dist/components/TileButton/TileButton.stylex.d.ts +68 -0
  1010. package/dist/components/TileButton/TileButton.stylex.js +74 -0
  1011. package/dist/components/TileButton/TileButton.vars.stylex.d.ts +10 -0
  1012. package/dist/components/TileButton/TileButton.vars.stylex.js +13 -0
  1013. package/dist/components/Time/Time.d.ts +25 -0
  1014. package/dist/components/Time/Time.format.d.ts +22 -0
  1015. package/dist/components/Time/Time.format.js +55 -0
  1016. package/dist/components/Time/Time.js +31 -0
  1017. package/dist/components/Time/Time.stylex.d.ts +14 -0
  1018. package/dist/components/Time/Time.stylex.js +15 -0
  1019. package/dist/components/TimeField/TimeField.d.ts +52 -0
  1020. package/dist/components/TimeField/TimeField.js +53 -0
  1021. package/dist/components/TimelineLanes/TimelineLanes.d.ts +71 -0
  1022. package/dist/components/TimelineLanes/TimelineLanes.js +83 -0
  1023. package/dist/components/TimelineLanes/TimelineLanes.scale.d.ts +14 -0
  1024. package/dist/components/TimelineLanes/TimelineLanes.scale.js +35 -0
  1025. package/dist/components/TimelineLanes/TimelineLanes.stylex.d.ts +280 -0
  1026. package/dist/components/TimelineLanes/TimelineLanes.stylex.js +329 -0
  1027. package/dist/components/Toast/Toast.context.d.ts +3 -0
  1028. package/dist/components/Toast/Toast.context.js +8 -0
  1029. package/dist/components/Toast/Toast.d.ts +5 -0
  1030. package/dist/components/Toast/Toast.js +63 -0
  1031. package/dist/components/Toast/Toast.stylex.d.ts +173 -0
  1032. package/dist/components/Toast/Toast.stylex.js +137 -0
  1033. package/dist/components/Toast/Toast.types.d.ts +31 -0
  1034. package/dist/components/Toast/Toast.types.js +9 -0
  1035. package/dist/components/Toast/ToastCountdown.d.ts +7 -0
  1036. package/dist/components/Toast/ToastCountdown.js +48 -0
  1037. package/dist/components/Toast/ToastView.d.ts +6 -0
  1038. package/dist/components/Toast/ToastView.js +39 -0
  1039. package/dist/components/Toast/createToastEntry.d.ts +9 -0
  1040. package/dist/components/Toast/createToastEntry.js +33 -0
  1041. package/dist/components/ToggleButton/ToggleButton.d.ts +45 -0
  1042. package/dist/components/ToggleButton/ToggleButton.js +97 -0
  1043. package/dist/components/ToggleButton/ToggleButton.stylex.d.ts +118 -0
  1044. package/dist/components/ToggleButton/ToggleButton.stylex.js +109 -0
  1045. package/dist/components/Toolbar/Toolbar.children.d.ts +19 -0
  1046. package/dist/components/Toolbar/Toolbar.children.js +83 -0
  1047. package/dist/components/Toolbar/Toolbar.d.ts +37 -0
  1048. package/dist/components/Toolbar/Toolbar.js +180 -0
  1049. package/dist/components/Toolbar/Toolbar.layout.d.ts +20 -0
  1050. package/dist/components/Toolbar/Toolbar.layout.js +104 -0
  1051. package/dist/components/Toolbar/Toolbar.menu.d.ts +27 -0
  1052. package/dist/components/Toolbar/Toolbar.menu.js +213 -0
  1053. package/dist/components/Toolbar/Toolbar.stylex.d.ts +69 -0
  1054. package/dist/components/Toolbar/Toolbar.stylex.js +48 -0
  1055. package/dist/components/Toolbar/ToolbarControl.context.d.ts +6 -0
  1056. package/dist/components/Toolbar/ToolbarControl.context.js +9 -0
  1057. package/dist/components/Toolbar/ToolbarControl.stylex.d.ts +42 -0
  1058. package/dist/components/Toolbar/ToolbarControl.stylex.js +50 -0
  1059. package/dist/components/Toolbar/ToolbarGroupLabel.d.ts +3 -0
  1060. package/dist/components/Toolbar/ToolbarGroupLabel.js +22 -0
  1061. package/dist/components/Toolbar/ToolbarMenuTrigger.d.ts +6 -0
  1062. package/dist/components/Toolbar/ToolbarMenuTrigger.js +20 -0
  1063. package/dist/components/Toolbar/ToolbarNote.d.ts +13 -0
  1064. package/dist/components/Toolbar/ToolbarNote.js +8 -0
  1065. package/dist/components/Tooltip/Tooltip.d.ts +43 -0
  1066. package/dist/components/Tooltip/Tooltip.js +139 -0
  1067. package/dist/components/Tooltip/Tooltip.stylex.d.ts +106 -0
  1068. package/dist/components/Tooltip/Tooltip.stylex.js +105 -0
  1069. package/dist/components/Tooltip/Tooltip.unavailableContext.d.ts +9 -0
  1070. package/dist/components/Tooltip/Tooltip.unavailableContext.js +12 -0
  1071. package/dist/components/TourLayer/TourLayer.d.ts +14 -0
  1072. package/dist/components/TourLayer/TourLayer.js +17 -0
  1073. package/dist/components/TourLayer/TourLayer.stylex.d.ts +10 -0
  1074. package/dist/components/TourLayer/TourLayer.stylex.js +11 -0
  1075. package/dist/components/Tree/Tree.d.ts +21 -0
  1076. package/dist/components/Tree/Tree.js +88 -0
  1077. package/dist/components/Tree/Tree.stylex.d.ts +101 -0
  1078. package/dist/components/Tree/Tree.stylex.js +103 -0
  1079. package/dist/components/Trigger/Trigger.d.ts +10 -0
  1080. package/dist/components/Trigger/Trigger.js +23 -0
  1081. package/dist/components/UnsavedChangesScope/UnsavedChangesScope.d.ts +44 -0
  1082. package/dist/components/UnsavedChangesScope/UnsavedChangesScope.js +136 -0
  1083. package/dist/components/VStack/VStack.d.ts +26 -0
  1084. package/dist/components/VStack/VStack.js +11 -0
  1085. package/dist/components/VStack/VStack.stylex.d.ts +174 -0
  1086. package/dist/components/VStack/VStack.stylex.js +124 -0
  1087. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +13 -0
  1088. package/dist/components/VisuallyHidden/VisuallyHidden.js +11 -0
  1089. package/dist/components/WelcomeDialog/WelcomeDialog.d.ts +28 -0
  1090. package/dist/components/WelcomeDialog/WelcomeDialog.js +45 -0
  1091. package/dist/components/WelcomeDialog/WelcomeDialog.stylex.d.ts +88 -0
  1092. package/dist/components/WelcomeDialog/WelcomeDialog.stylex.js +106 -0
  1093. package/dist/components/WindowSplitter/WindowSplitter.d.ts +43 -0
  1094. package/dist/components/WindowSplitter/WindowSplitter.detached.d.ts +6 -0
  1095. package/dist/components/WindowSplitter/WindowSplitter.detached.js +7 -0
  1096. package/dist/components/WindowSplitter/WindowSplitter.drawer.d.ts +70 -0
  1097. package/dist/components/WindowSplitter/WindowSplitter.drawer.js +88 -0
  1098. package/dist/components/WindowSplitter/WindowSplitter.js +613 -0
  1099. package/dist/components/WindowSplitter/WindowSplitter.peek.d.ts +33 -0
  1100. package/dist/components/WindowSplitter/WindowSplitter.peek.js +90 -0
  1101. package/dist/components/WindowSplitter/WindowSplitter.sizing.d.ts +11 -0
  1102. package/dist/components/WindowSplitter/WindowSplitter.sizing.js +50 -0
  1103. package/dist/components/WindowSplitter/WindowSplitter.stylex.d.ts +180 -0
  1104. package/dist/components/WindowSplitter/WindowSplitter.stylex.js +163 -0
  1105. package/dist/components/ZStack/ZStack.d.ts +41 -0
  1106. package/dist/components/ZStack/ZStack.js +43 -0
  1107. package/dist/components/ZStack/ZStack.stylex.d.ts +78 -0
  1108. package/dist/components/ZStack/ZStack.stylex.js +42 -0
  1109. package/dist/experimental/index.d.ts +48 -0
  1110. package/dist/experimental/index.js +45 -0
  1111. package/dist/files/index.d.ts +22 -0
  1112. package/dist/files/index.js +19 -0
  1113. package/dist/foundations/Color.context.d.ts +29 -0
  1114. package/dist/foundations/Color.context.js +58 -0
  1115. package/dist/foundations/Color.core.d.ts +70 -0
  1116. package/dist/foundations/Color.core.js +323 -0
  1117. package/dist/foundations/Color.d.ts +1 -0
  1118. package/dist/foundations/Color.js +1 -0
  1119. package/dist/foundations/Color.styles.stylex.d.ts +21 -0
  1120. package/dist/foundations/Color.styles.stylex.js +34 -0
  1121. package/dist/foundations/constants.stylex.d.ts +18 -0
  1122. package/dist/foundations/constants.stylex.js +20 -0
  1123. package/dist/foundations/textStyles.stylex.d.ts +87 -0
  1124. package/dist/foundations/textStyles.stylex.js +88 -0
  1125. package/dist/foundations/viewport.d.ts +5 -0
  1126. package/dist/foundations/viewport.js +17 -0
  1127. package/dist/index.d.ts +171 -0
  1128. package/dist/index.js +189 -0
  1129. package/dist/internal.d.ts +2 -0
  1130. package/dist/internal.js +1 -0
  1131. package/dist/theming/OverlayRegion.d.ts +15 -0
  1132. package/dist/theming/OverlayRegion.js +36 -0
  1133. package/dist/theming/ThemeRegion.d.ts +22 -0
  1134. package/dist/theming/ThemeRegion.js +28 -0
  1135. package/dist/theming/ThemeScope.context.d.ts +40 -0
  1136. package/dist/theming/ThemeScope.context.js +76 -0
  1137. package/dist/theming/ThemeScope.d.ts +35 -0
  1138. package/dist/theming/ThemeScope.js +67 -0
  1139. package/dist/theming/ThemeScope.stylex.d.ts +34 -0
  1140. package/dist/theming/ThemeScope.stylex.js +54 -0
  1141. package/dist/theming/color.d.ts +51 -0
  1142. package/dist/theming/color.js +175 -0
  1143. package/dist/theming/createTheme.d.ts +145 -0
  1144. package/dist/theming/createTheme.js +1009 -0
  1145. package/dist/theming/designTokens.d.ts +49 -0
  1146. package/dist/theming/designTokens.js +138 -0
  1147. package/dist/theming/effectiveTheme.d.ts +154 -0
  1148. package/dist/theming/effectiveTheme.js +62 -0
  1149. package/dist/theming/themeStylesheet.d.ts +20 -0
  1150. package/dist/theming/themeStylesheet.js +106 -0
  1151. package/dist/theming/tokens.d.ts +48 -0
  1152. package/dist/theming/tokens.js +314 -0
  1153. package/dist/theming/tokens.stylex.d.ts +592 -0
  1154. package/dist/theming/tokens.stylex.js +1265 -0
  1155. package/dist/utils/declarationError.d.ts +7 -0
  1156. package/dist/utils/declarationError.js +16 -0
  1157. package/dist/utils/deviceCache.d.ts +40 -0
  1158. package/dist/utils/deviceCache.js +234 -0
  1159. package/dist/utils/isSoftwareKeyboardLikely.d.ts +2 -0
  1160. package/dist/utils/isSoftwareKeyboardLikely.js +12 -0
  1161. package/dist/utils/performance.d.ts +3 -0
  1162. package/dist/utils/performance.js +5 -0
  1163. package/dist/utils/preferences.d.ts +35 -0
  1164. package/dist/utils/preferences.js +77 -0
  1165. package/dist/utils/preload.d.ts +10 -0
  1166. package/dist/utils/preload.js +12 -0
  1167. package/dist/utils/props.d.ts +5 -0
  1168. package/dist/utils/props.js +10 -0
  1169. package/dist/utils/resolveAutoFocus.d.ts +3 -0
  1170. package/dist/utils/resolveAutoFocus.js +8 -0
  1171. package/dist/utils/trackRegionActivity.d.ts +13 -0
  1172. package/dist/utils/trackRegionActivity.js +72 -0
  1173. package/dist/utils/useAutoFocus.d.ts +6 -0
  1174. package/dist/utils/useAutoFocus.js +16 -0
  1175. package/dist/utils/visuallyHidden.stylex.d.ts +15 -0
  1176. package/dist/utils/visuallyHidden.stylex.js +15 -0
  1177. package/package.json +144 -3
@@ -0,0 +1,74 @@
1
+ import type { ButtonGroupOrientation, ButtonGroupVariant } from './ButtonGroup.tsx';
2
+ import type { ButtonTone, ButtonVariant } from '../Button/Button.tsx';
3
+ export type InternalButtonTone = ButtonTone | 'success' | 'warning';
4
+ export declare const ButtonGroupOrientationContext: import("react").Context<ButtonGroupOrientation | null>;
5
+ /** Whether a horizontal group fills its container, its controls sharing the width. */
6
+ export declare const ButtonGroupFillContext: import("react").Context<boolean>;
7
+ export declare const ButtonGroupAppearanceContext: import("react").Context<{
8
+ tone: InternalButtonTone | undefined;
9
+ variant: ButtonGroupVariant | undefined;
10
+ }>;
11
+ export declare function useButtonGroupAppearance<Variant extends ButtonVariant>(tone: ButtonTone | undefined, variant: Variant | undefined): {
12
+ tone: "danger" | "success" | "warning" | "secondary" | "accent" | "neutral" | import("../../index.ts").Color | "brand" | undefined;
13
+ variant: ButtonGroupVariant | Variant | undefined;
14
+ };
15
+ export declare function useButtonGroupStyles(variant: ButtonVariant): (false | Readonly<{
16
+ readonly borderRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderRadius", 0>;
17
+ readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "relative">;
18
+ readonly '[data-selected]': import("@stylexjs/stylex").StyleXClassNameFor<"[data-selected]", {
19
+ readonly zIndex: 1;
20
+ }>;
21
+ readonly '[data-focus-visible]': import("@stylexjs/stylex").StyleXClassNameFor<"[data-focus-visible]", {
22
+ readonly zIndex: 2;
23
+ }>;
24
+ }> | Readonly<{
25
+ readonly flex: import("@stylexjs/stylex").StyleXClassNameFor<"flex", "1 1 0">;
26
+ readonly minInlineSize: import("@stylexjs/stylex").StyleXClassNameFor<"minInlineSize", 0>;
27
+ }> | Readonly<{
28
+ readonly inlineSize: import("@stylexjs/stylex").StyleXClassNameFor<"inlineSize", "100%">;
29
+ readonly justifyContent: import("@stylexjs/stylex").StyleXClassNameFor<"justifyContent", "flex-start">;
30
+ readonly ':first-child': import("@stylexjs/stylex").StyleXClassNameFor<":first-child", {
31
+ readonly borderStartStartRadius: `var(--eds-button-group-radius, ${string})`;
32
+ readonly borderStartEndRadius: `var(--eds-button-group-radius, ${string})`;
33
+ }>;
34
+ readonly ':last-child': import("@stylexjs/stylex").StyleXClassNameFor<":last-child", {
35
+ readonly borderEndStartRadius: `var(--eds-button-group-radius, ${string})`;
36
+ readonly borderEndEndRadius: `var(--eds-button-group-radius, ${string})`;
37
+ }>;
38
+ readonly ':not(:first-child)': import("@stylexjs/stylex").StyleXClassNameFor<":not(:first-child)", {
39
+ readonly marginBlockStart: -1;
40
+ readonly marginInlineStart: 0;
41
+ }>;
42
+ readonly '[data-eds-button-variant="plain"]': import("@stylexjs/stylex").StyleXClassNameFor<"[data-eds-button-variant=\"plain\"]", {
43
+ readonly borderColor: "var(--eds-button-group-plain-divider, transparent)";
44
+ }>;
45
+ }> | Readonly<{
46
+ readonly ':first-child': import("@stylexjs/stylex").StyleXClassNameFor<":first-child", {
47
+ readonly borderStartStartRadius: `var(--eds-button-group-radius, ${string})`;
48
+ readonly borderEndStartRadius: `var(--eds-button-group-radius, ${string})`;
49
+ }>;
50
+ readonly ':last-child': import("@stylexjs/stylex").StyleXClassNameFor<":last-child", {
51
+ readonly borderStartEndRadius: `var(--eds-button-group-radius, ${string})`;
52
+ readonly borderEndEndRadius: `var(--eds-button-group-radius, ${string})`;
53
+ }>;
54
+ readonly ':not(:first-child)': import("@stylexjs/stylex").StyleXClassNameFor<":not(:first-child)", {
55
+ readonly marginInlineStart: -1;
56
+ }>;
57
+ readonly '[data-eds-button-variant="plain"]': import("@stylexjs/stylex").StyleXClassNameFor<"[data-eds-button-variant=\"plain\"]", {
58
+ readonly borderColor: "var(--eds-button-group-plain-divider, transparent)";
59
+ }>;
60
+ }> | Readonly<{
61
+ readonly '[data-selected]:not(:first-child)': import("@stylexjs/stylex").StyleXClassNameFor<"[data-selected]:not(:first-child)", {
62
+ readonly borderBlockStartColor: "color-mix(in oklab, currentColor 15%, transparent)";
63
+ }>;
64
+ readonly ':not(:first-child)': import("@stylexjs/stylex").StyleXClassNameFor<":not(:first-child)", {
65
+ readonly borderBlockStartColor: "color-mix(in oklab, currentColor 15%, transparent)";
66
+ }>;
67
+ }> | Readonly<{
68
+ readonly '[data-selected]:not(:first-child)': import("@stylexjs/stylex").StyleXClassNameFor<"[data-selected]:not(:first-child)", {
69
+ readonly borderInlineStartColor: "color-mix(in oklab, currentColor 15%, transparent)";
70
+ }>;
71
+ readonly ':not(:first-child)': import("@stylexjs/stylex").StyleXClassNameFor<":not(:first-child)", {
72
+ readonly borderInlineStartColor: "color-mix(in oklab, currentColor 15%, transparent)";
73
+ }>;
74
+ }>)[] | null;
@@ -0,0 +1,25 @@
1
+ import { createContext, useContext } from 'react';
2
+ import { styles } from "./ButtonGroup.stylex.js";
3
+ export const ButtonGroupOrientationContext = createContext(null);
4
+ /** Whether a horizontal group fills its container, its controls sharing the width. */
5
+ export const ButtonGroupFillContext = createContext(false);
6
+ export const ButtonGroupAppearanceContext = createContext({ tone: undefined, variant: undefined });
7
+ export function useButtonGroupAppearance(tone, variant) {
8
+ const inherited = useContext(ButtonGroupAppearanceContext);
9
+ return { tone: tone ?? inherited.tone, variant: variant ?? inherited.variant };
10
+ }
11
+ export function useButtonGroupStyles(variant) {
12
+ const orientation = useContext(ButtonGroupOrientationContext);
13
+ const isFill = useContext(ButtonGroupFillContext);
14
+ return orientation === null
15
+ ? null
16
+ : [
17
+ styles.button,
18
+ isFill && styles.fillButton,
19
+ orientation === 'vertical' ? styles.verticalButton : styles.horizontalButton,
20
+ variant === 'filled' &&
21
+ (orientation === 'vertical'
22
+ ? styles.verticalFilledDivider
23
+ : styles.horizontalFilledDivider),
24
+ ];
25
+ }
@@ -0,0 +1,35 @@
1
+ import { type ReactNode } from 'react';
2
+ import type { ButtonTone, ButtonVariant } from '../Button/Button.tsx';
3
+ import { type ControlSize } from '../ControlSize/ControlSize.context.ts';
4
+ export type ButtonGroupOrientation = 'horizontal' | 'vertical';
5
+ export type ButtonGroupVariant = Exclude<ButtonVariant, 'link' | 'card'>;
6
+ export type ButtonGroupProps = {
7
+ /** Accessible label when visible context does not label the group. */
8
+ readonly 'aria-label'?: string;
9
+ /** Id of visible text that labels the group. */
10
+ readonly 'aria-labelledby'?: string;
11
+ /** Related button controls. */
12
+ readonly children?: ReactNode;
13
+ /** Keep the first action visible and present remaining actions in a dropdown. */
14
+ readonly collapse?: 'after-first';
15
+ /**
16
+ * Fill the available inline width, as `Button`'s `isFullWidth` does, the controls sharing it
17
+ * equally, such as a segmented control across a panel or sheet. Defaults to the controls' own
18
+ * width.
19
+ */
20
+ readonly isFullWidth?: boolean;
21
+ /** Disable the group state for components that read React Aria group context. */
22
+ readonly isDisabled?: boolean;
23
+ /** Button arrangement axis. */
24
+ readonly orientation?: ButtonGroupOrientation;
25
+ /** Inherited control size. Defaults to the surrounding size, or medium. */
26
+ readonly size?: ControlSize;
27
+ /** Default button tone. Explicit child tones take precedence. */
28
+ readonly tone?: ButtonTone;
29
+ /** Default button variant. Explicit child variants take precedence. */
30
+ readonly variant?: ButtonGroupVariant;
31
+ };
32
+ export declare function ButtonGroup({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, children, collapse, isFullWidth, isDisabled, orientation, size: sizeProp, tone, variant, }: ButtonGroupProps): import("react/jsx-runtime").JSX.Element;
33
+ export declare namespace ButtonGroup {
34
+ var displayName: string;
35
+ }
@@ -0,0 +1,49 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import * as stylex from '@stylexjs/stylex';
3
+ import { Children, useState } from 'react';
4
+ import { IconButton } from "../IconButton/IconButton.js";
5
+ import { Menu } from "../Menu/Menu.js";
6
+ import { canOverflowControl, getToolbarRepresentations } from "../Toolbar/Toolbar.menu.js";
7
+ import { ContentOrientationContext } from "../ContentOrientation/ContentOrientation.context.js";
8
+ import { Group as AriaGroup } from 'react-aria-components/Group';
9
+ import { omitUndefinedProps } from "../../utils/props.js";
10
+ import { styles } from "./ButtonGroup.stylex.js";
11
+ import { ButtonGroupOrientationContext, ButtonGroupAppearanceContext, useButtonGroupAppearance, ButtonGroupFillContext, } from "./ButtonGroup.context.js";
12
+ import { ControlSizeContext, useControlSize, } from "../ControlSize/ControlSize.context.js";
13
+ export function ButtonGroup({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, children, collapse, isFullWidth = false, isDisabled, orientation = 'horizontal', size: sizeProp, tone, variant, }) {
14
+ const size = useControlSize(sizeProp);
15
+ const appearance = useButtonGroupAppearance(tone, variant);
16
+ const groupProps = omitUndefinedProps({
17
+ 'aria-label': ariaLabel,
18
+ 'aria-labelledby': ariaLabelledBy,
19
+ isDisabled,
20
+ });
21
+ return (_jsx(AriaGroup, { ...groupProps, "data-orientation": orientation, ...stylex.props(styles.root, orientation === 'vertical' && styles.vertical, isFullWidth && styles.fullWidth), children: _jsx(ButtonGroupFillContext, { value: isFullWidth && orientation === 'horizontal', children: _jsx(ControlSizeContext, { value: size, children: _jsx(ButtonGroupOrientationContext, { value: orientation, children: _jsx(ButtonGroupAppearanceContext, { value: appearance, children: _jsx(ContentOrientationContext, { value: orientation, children: collapse === 'after-first' ? (_jsx(CollapsedActions, { label: ariaLabel, labelledBy: ariaLabelledBy, ...omitUndefinedProps({ isDisabled }), children: children })) : (children) }) }) }) }) }) }));
22
+ }
23
+ ButtonGroup.displayName = 'ButtonGroup';
24
+ function CollapsedActions({ children, label, labelledBy, isDisabled, }) {
25
+ const appearance = useButtonGroupAppearance(undefined, undefined);
26
+ const actions = Children.toArray(children);
27
+ const [values, setValues] = useState(new Map());
28
+ if (actions.length < 2)
29
+ return children;
30
+ const remaining = actions.slice(1);
31
+ if (!remaining.every(canOverflowControl)) {
32
+ throw new Error('ButtonGroup collapse requires actions supported by Menu.');
33
+ }
34
+ const state = {
35
+ // Destructive intent survives collapse; decorative group colors do not.
36
+ ...(appearance.tone === 'danger' ? { tone: appearance.tone } : {}),
37
+ isHidden: false,
38
+ onHideOpenMenu: () => { },
39
+ values,
40
+ change: (id, selected, onChange) => {
41
+ setValues((previous) => new Map(previous).set(id, selected));
42
+ onChange?.(selected);
43
+ },
44
+ };
45
+ return (_jsxs(_Fragment, { children: [actions[0], _jsxs(Menu.Trigger, { children: [_jsx(IconButton, { icon: "ChevronDown", label: label ? `More ${label}` : 'More actions', ...omitUndefinedProps({ isDisabled }) }), _jsx(Menu, { ...omitUndefinedProps({
46
+ 'aria-label': label ?? (labelledBy ? undefined : 'Actions'),
47
+ 'aria-labelledby': labelledBy,
48
+ }), children: remaining.map((action, index) => getToolbarRepresentations(action, `collapsed/${index}`, state, () => { }).menu) })] })] }));
49
+ }
@@ -0,0 +1,111 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ export declare const styles: Readonly<{
3
+ readonly root: Readonly<{
4
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
5
+ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
6
+ readonly blockSize: stylex.StyleXClassNameFor<"blockSize", "fit-content">;
7
+ readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
8
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
9
+ readonly gap: stylex.StyleXClassNameFor<"gap", 0>;
10
+ readonly inlineSize: stylex.StyleXClassNameFor<"inlineSize", "fit-content">;
11
+ readonly maxInlineSize: stylex.StyleXClassNameFor<"maxInlineSize", "100%">;
12
+ readonly minInlineSize: stylex.StyleXClassNameFor<"minInlineSize", 0>;
13
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", `var(--eds-button-group-radius, ${string})`>;
14
+ readonly '--eds-button-group-plain-divider': stylex.StyleXClassNameFor<"--eds-button-group-plain-divider", "transparent">;
15
+ readonly ':has(> [data-eds-radio-segment])': stylex.StyleXClassNameFor<":has(> [data-eds-radio-segment])", {
16
+ readonly backgroundColor: string;
17
+ readonly minInlineSize: "max-content";
18
+ readonly padding: 2;
19
+ readonly gap: 2;
20
+ }>;
21
+ readonly ':not(:has(> [data-eds-radio-segment])):hover:not([data-disabled]):not([aria-disabled="true"])': stylex.StyleXClassNameFor<":not(:has(> [data-eds-radio-segment])):hover:not([data-disabled]):not([aria-disabled=\"true\"])", {
22
+ readonly '--eds-button-group-plain-divider': "color-mix(in oklab, currentColor 10%, transparent)";
23
+ }>;
24
+ readonly ':not(:has(> [data-eds-radio-segment])):has(> [data-eds-button-variant="plain"]:is(:hover, [data-hovered]):not([disabled]):not([aria-disabled="true"]):not([data-pending]))': stylex.StyleXClassNameFor<":not(:has(> [data-eds-radio-segment])):has(> [data-eds-button-variant=\"plain\"]:is(:hover, [data-hovered]):not([disabled]):not([aria-disabled=\"true\"]):not([data-pending]))", {
25
+ readonly backgroundColor: `color-mix(in oklab, ${string} 35%, transparent)`;
26
+ readonly '--eds-button-group-plain-divider': "color-mix(in oklab, currentColor 10%, transparent)";
27
+ }>;
28
+ }>;
29
+ readonly vertical: Readonly<{
30
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "stretch">;
31
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
32
+ }>;
33
+ readonly fullWidth: Readonly<{
34
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
35
+ readonly alignSelf: stylex.StyleXClassNameFor<"alignSelf", "stretch">;
36
+ readonly inlineSize: stylex.StyleXClassNameFor<"inlineSize", "100%">;
37
+ }>;
38
+ readonly fillButton: Readonly<{
39
+ readonly flex: stylex.StyleXClassNameFor<"flex", "1 1 0">;
40
+ readonly minInlineSize: stylex.StyleXClassNameFor<"minInlineSize", 0>;
41
+ }>;
42
+ readonly button: Readonly<{
43
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 0>;
44
+ readonly position: stylex.StyleXClassNameFor<"position", "relative">;
45
+ readonly '[data-selected]': stylex.StyleXClassNameFor<"[data-selected]", {
46
+ readonly zIndex: 1;
47
+ }>;
48
+ readonly '[data-focus-visible]': stylex.StyleXClassNameFor<"[data-focus-visible]", {
49
+ readonly zIndex: 2;
50
+ }>;
51
+ }>;
52
+ readonly horizontalButton: Readonly<{
53
+ readonly ':first-child': stylex.StyleXClassNameFor<":first-child", {
54
+ readonly borderStartStartRadius: `var(--eds-button-group-radius, ${string})`;
55
+ readonly borderEndStartRadius: `var(--eds-button-group-radius, ${string})`;
56
+ }>;
57
+ readonly ':last-child': stylex.StyleXClassNameFor<":last-child", {
58
+ readonly borderStartEndRadius: `var(--eds-button-group-radius, ${string})`;
59
+ readonly borderEndEndRadius: `var(--eds-button-group-radius, ${string})`;
60
+ }>;
61
+ readonly ':not(:first-child)': stylex.StyleXClassNameFor<":not(:first-child)", {
62
+ readonly marginInlineStart: -1;
63
+ }>;
64
+ readonly '[data-eds-button-variant="plain"]': stylex.StyleXClassNameFor<"[data-eds-button-variant=\"plain\"]", {
65
+ readonly borderColor: "var(--eds-button-group-plain-divider, transparent)";
66
+ }>;
67
+ }>;
68
+ readonly verticalButton: Readonly<{
69
+ readonly inlineSize: stylex.StyleXClassNameFor<"inlineSize", "100%">;
70
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "flex-start">;
71
+ readonly ':first-child': stylex.StyleXClassNameFor<":first-child", {
72
+ readonly borderStartStartRadius: `var(--eds-button-group-radius, ${string})`;
73
+ readonly borderStartEndRadius: `var(--eds-button-group-radius, ${string})`;
74
+ }>;
75
+ readonly ':last-child': stylex.StyleXClassNameFor<":last-child", {
76
+ readonly borderEndStartRadius: `var(--eds-button-group-radius, ${string})`;
77
+ readonly borderEndEndRadius: `var(--eds-button-group-radius, ${string})`;
78
+ }>;
79
+ readonly ':not(:first-child)': stylex.StyleXClassNameFor<":not(:first-child)", {
80
+ readonly marginBlockStart: -1;
81
+ readonly marginInlineStart: 0;
82
+ }>;
83
+ readonly '[data-eds-button-variant="plain"]': stylex.StyleXClassNameFor<"[data-eds-button-variant=\"plain\"]", {
84
+ readonly borderColor: "var(--eds-button-group-plain-divider, transparent)";
85
+ }>;
86
+ }>;
87
+ readonly horizontalFilledDivider: Readonly<{
88
+ readonly '[data-selected]:not(:first-child)': stylex.StyleXClassNameFor<"[data-selected]:not(:first-child)", {
89
+ readonly borderInlineStartColor: "color-mix(in oklab, currentColor 15%, transparent)";
90
+ }>;
91
+ readonly ':not(:first-child)': stylex.StyleXClassNameFor<":not(:first-child)", {
92
+ readonly borderInlineStartColor: "color-mix(in oklab, currentColor 15%, transparent)";
93
+ }>;
94
+ }>;
95
+ readonly verticalFilledDivider: Readonly<{
96
+ readonly '[data-selected]:not(:first-child)': stylex.StyleXClassNameFor<"[data-selected]:not(:first-child)", {
97
+ readonly borderBlockStartColor: "color-mix(in oklab, currentColor 15%, transparent)";
98
+ }>;
99
+ readonly ':not(:first-child)': stylex.StyleXClassNameFor<":not(:first-child)", {
100
+ readonly borderBlockStartColor: "color-mix(in oklab, currentColor 15%, transparent)";
101
+ }>;
102
+ }>;
103
+ readonly framed: Readonly<{
104
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
105
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
106
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", `var(--eds-button-group-radius, ${string})`>;
107
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
108
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 1>;
109
+ readonly padding: stylex.StyleXClassNameFor<"padding", string>;
110
+ }>;
111
+ }>;
@@ -0,0 +1,116 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ import { tokenVars } from "../../theming/tokens.stylex.js";
3
+ export const styles = stylex.create({
4
+ root: {
5
+ alignItems: 'center',
6
+ boxSizing: 'border-box',
7
+ // Its own height, so a row never stretches it; it still follows the row's alignment.
8
+ blockSize: 'fit-content',
9
+ display: 'inline-flex',
10
+ flexShrink: 0,
11
+ gap: 0,
12
+ inlineSize: 'fit-content',
13
+ maxInlineSize: '100%',
14
+ minInlineSize: 0,
15
+ borderRadius: `var(--eds-button-group-radius, ${tokenVars.radiusControl})`,
16
+ '--eds-button-group-plain-divider': 'transparent',
17
+ ':has(> [data-eds-radio-segment])': {
18
+ backgroundColor: tokenVars.trackFill,
19
+ minInlineSize: 'max-content',
20
+ padding: 2,
21
+ gap: 2,
22
+ },
23
+ // Radio segments sit apart on a track, so they never show the plain divider.
24
+ ':not(:has(> [data-eds-radio-segment])):hover:not([data-disabled]):not([aria-disabled="true"])': {
25
+ '--eds-button-group-plain-divider': 'color-mix(in oklab, currentColor 10%, transparent)',
26
+ },
27
+ ':not(:has(> [data-eds-radio-segment])):has(> [data-eds-button-variant="plain"]:is(:hover, [data-hovered]):not([disabled]):not([aria-disabled="true"]):not([data-pending]))': {
28
+ backgroundColor: `color-mix(in oklab, ${tokenVars.hoverFill} 35%, transparent)`,
29
+ '--eds-button-group-plain-divider': 'color-mix(in oklab, currentColor 10%, transparent)',
30
+ },
31
+ },
32
+ vertical: {
33
+ alignItems: 'stretch',
34
+ flexDirection: 'column',
35
+ },
36
+ fullWidth: {
37
+ display: 'flex',
38
+ alignSelf: 'stretch',
39
+ inlineSize: '100%',
40
+ },
41
+ // Equal shares of a full-width group, whatever each label's length.
42
+ fillButton: {
43
+ flex: '1 1 0',
44
+ minInlineSize: 0,
45
+ },
46
+ button: {
47
+ borderRadius: 0,
48
+ position: 'relative',
49
+ '[data-selected]': {
50
+ zIndex: 1,
51
+ },
52
+ '[data-focus-visible]': {
53
+ zIndex: 2,
54
+ },
55
+ },
56
+ horizontalButton: {
57
+ ':first-child': {
58
+ borderStartStartRadius: `var(--eds-button-group-radius, ${tokenVars.radiusControl})`,
59
+ borderEndStartRadius: `var(--eds-button-group-radius, ${tokenVars.radiusControl})`,
60
+ },
61
+ ':last-child': {
62
+ borderStartEndRadius: `var(--eds-button-group-radius, ${tokenVars.radiusControl})`,
63
+ borderEndEndRadius: `var(--eds-button-group-radius, ${tokenVars.radiusControl})`,
64
+ },
65
+ ':not(:first-child)': {
66
+ marginInlineStart: -1,
67
+ },
68
+ // Every edge, so a hovered plain group shows its outline as well as its dividers.
69
+ '[data-eds-button-variant="plain"]': {
70
+ borderColor: 'var(--eds-button-group-plain-divider, transparent)',
71
+ },
72
+ },
73
+ verticalButton: {
74
+ inlineSize: '100%',
75
+ justifyContent: 'flex-start',
76
+ ':first-child': {
77
+ borderStartStartRadius: `var(--eds-button-group-radius, ${tokenVars.radiusControl})`,
78
+ borderStartEndRadius: `var(--eds-button-group-radius, ${tokenVars.radiusControl})`,
79
+ },
80
+ ':last-child': {
81
+ borderEndStartRadius: `var(--eds-button-group-radius, ${tokenVars.radiusControl})`,
82
+ borderEndEndRadius: `var(--eds-button-group-radius, ${tokenVars.radiusControl})`,
83
+ },
84
+ ':not(:first-child)': {
85
+ marginBlockStart: -1,
86
+ marginInlineStart: 0,
87
+ },
88
+ '[data-eds-button-variant="plain"]': {
89
+ borderColor: 'var(--eds-button-group-plain-divider, transparent)',
90
+ },
91
+ },
92
+ horizontalFilledDivider: {
93
+ '[data-selected]:not(:first-child)': {
94
+ borderInlineStartColor: 'color-mix(in oklab, currentColor 15%, transparent)',
95
+ },
96
+ ':not(:first-child)': {
97
+ borderInlineStartColor: 'color-mix(in oklab, currentColor 15%, transparent)',
98
+ },
99
+ },
100
+ verticalFilledDivider: {
101
+ '[data-selected]:not(:first-child)': {
102
+ borderBlockStartColor: 'color-mix(in oklab, currentColor 15%, transparent)',
103
+ },
104
+ ':not(:first-child)': {
105
+ borderBlockStartColor: 'color-mix(in oklab, currentColor 15%, transparent)',
106
+ },
107
+ },
108
+ framed: {
109
+ backgroundColor: tokenVars.sunken,
110
+ borderColor: tokenVars.sunkenStrong,
111
+ borderRadius: `var(--eds-button-group-radius, ${tokenVars.radiusControl})`,
112
+ borderStyle: 'solid',
113
+ borderWidth: 1,
114
+ padding: tokenVars.spaceHalf,
115
+ },
116
+ });
@@ -0,0 +1,13 @@
1
+ import type { CalculationStepsProps } from './CalculationSteps.types.ts';
2
+ export { calculationStepsCopy } from './CalculationSteps.format.ts';
3
+ export { calculationFormats, calculationNoticeTones, calculationOperations, calculationStepKinds, type CalculationFigure, type CalculationFormat, type CalculationFormula, type CalculationNotice, type CalculationNoticeTone, type CalculationOperation, type CalculationOverride, type CalculationSection, type CalculationStep, type CalculationStepKind, type CalculationStepsCopy, type CalculationStepsProps, type CalculationSummary, type CalculationTotal, } from './CalculationSteps.types.ts';
4
+ /**
5
+ * How a figure was reached, section by section: each section a table of steps with what was
6
+ * calculated, how, and what it came to, closed by the section's total. A `summary` shows every
7
+ * section's total at a glance above them. It shows the figures it is given and never calculates
8
+ * one.
9
+ */
10
+ export declare function CalculationSteps({ sections, summary, currency, defaultExpandedKeys, expandedKeys, onExpandedChange, copy, }: CalculationStepsProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare namespace CalculationSteps {
12
+ var displayName: string;
13
+ }
@@ -0,0 +1,13 @@
1
+ import type { CalculationFigure, CalculationFormula, CalculationStepsCopy } from './CalculationSteps.types.ts';
2
+ export declare const calculationStepsCopy: CalculationStepsCopy;
3
+ export type CalculationFormatter = {
4
+ /** One figure, such as `$1,200.00`, `0.25` or `15%`. */
5
+ readonly figure: (figure: CalculationFigure) => string;
6
+ /** A formula as one line of text, such as `$1,200.00 × 0.25`. */
7
+ readonly formula: (formula: CalculationFormula) => string;
8
+ };
9
+ /**
10
+ * Writes figures and formulas the same way everywhere in a calculation: money always with two
11
+ * decimals so a column of amounts lines up, counts and factors as entered up to six decimals.
12
+ */
13
+ export declare function createCalculationFormatter(locale: string, currency: string, copy: CalculationStepsCopy): CalculationFormatter;
@@ -0,0 +1,44 @@
1
+ export const calculationStepsCopy = {
2
+ step: 'Step',
3
+ calculation: 'Calculation',
4
+ amount: 'Amount',
5
+ notAvailable: 'Not available',
6
+ replaces: 'Replaces',
7
+ maximum: (operands, count) => `${count > 2 ? 'Greatest' : 'Greater'} of ${operands}`,
8
+ minimum: (operands, count) => `${count > 2 ? 'Least' : 'Lesser'} of ${operands}`,
9
+ };
10
+ /** The sign written between the operands of each operation that has one. */
11
+ const signs = {
12
+ add: '+',
13
+ subtract: '−',
14
+ multiply: '×',
15
+ divide: '÷',
16
+ };
17
+ /**
18
+ * Writes figures and formulas the same way everywhere in a calculation: money always with two
19
+ * decimals so a column of amounts lines up, counts and factors as entered up to six decimals.
20
+ */
21
+ export function createCalculationFormatter(locale, currency, copy) {
22
+ const formats = {
23
+ currency: new Intl.NumberFormat(locale, {
24
+ style: 'currency',
25
+ currency,
26
+ minimumFractionDigits: 2,
27
+ maximumFractionDigits: 2,
28
+ }),
29
+ number: new Intl.NumberFormat(locale, { maximumFractionDigits: 6 }),
30
+ percent: new Intl.NumberFormat(locale, { style: 'percent', maximumFractionDigits: 4 }),
31
+ };
32
+ const list = new Intl.ListFormat(locale, { style: 'long', type: 'conjunction' });
33
+ const figure = (value) => formats[value.format].format(value.value);
34
+ const operand = (value) => 'operation' in value ? `(${formula(value)})` : figure(value);
35
+ const formula = (value) => {
36
+ const operands = value.operands.map(operand);
37
+ const sign = signs[value.operation];
38
+ if (sign !== undefined)
39
+ return operands.join(` ${sign} `);
40
+ const write = value.operation === 'maximum' ? copy.maximum : copy.minimum;
41
+ return write(list.format(operands), operands.length);
42
+ };
43
+ return { figure, formula };
44
+ }
@@ -0,0 +1,84 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as stylex from '@stylexjs/stylex';
3
+ import { useMemo } from 'react';
4
+ import { useLocale } from 'react-aria-components';
5
+ import { visuallyHiddenStyles } from "../../utils/visuallyHidden.stylex.js";
6
+ import { Badge } from "../Badge/Badge.js";
7
+ import { ContainerSize } from "../ContainerSize/ContainerSize.js";
8
+ import { Content, Footer, Header } from "../Content/Content.js";
9
+ import { Disclosure } from "../Disclosure/Disclosure.js";
10
+ import { DisclosureGroup } from "../Disclosure/DisclosureGroup.js";
11
+ import { Heading } from "../Heading/Heading.js";
12
+ import { HStack } from "../HStack/HStack.js";
13
+ import { InlineAlert } from "../InlineAlert/InlineAlert.js";
14
+ import { Separator } from "../Separator/Separator.js";
15
+ import { Surface } from "../Surface/Surface.js";
16
+ import { Cell, Column, Row } from "../Table/Table.parts.js";
17
+ import { Table } from "../Table/Table.js";
18
+ import { Text } from "../Text/Text.js";
19
+ import { VStack } from "../VStack/VStack.js";
20
+ import { calculationStepsCopy, createCalculationFormatter, } from "./CalculationSteps.format.js";
21
+ import { styles } from "./CalculationSteps.stylex.js";
22
+ export { calculationStepsCopy } from "./CalculationSteps.format.js";
23
+ export { calculationFormats, calculationNoticeTones, calculationOperations, calculationStepKinds, } from "./CalculationSteps.types.js";
24
+ /** Below this width the calculation moves under its step, leaving two columns. */
25
+ const WIDE_FROM = 520;
26
+ /**
27
+ * How a figure was reached, section by section: each section a table of steps with what was
28
+ * calculated, how, and what it came to, closed by the section's total. A `summary` shows every
29
+ * section's total at a glance above them. It shows the figures it is given and never calculates
30
+ * one.
31
+ */
32
+ export function CalculationSteps({ sections, summary, currency = 'USD', defaultExpandedKeys, expandedKeys, onExpandedChange, copy = calculationStepsCopy, }) {
33
+ const { locale } = useLocale();
34
+ const format = useMemo(() => createCalculationFormatter(locale, currency, copy), [locale, currency, copy]);
35
+ const steps = (
36
+ // Separated by lines, framed by whatever holds them, as a panel does.
37
+ _jsx(DisclosureGroup, { variant: "divided", expansion: "multiple", ...(expandedKeys === undefined
38
+ ? { defaultExpandedKeys: defaultExpandedKeys ?? sections.map((section) => section.id) }
39
+ : { expandedKeys }), ...(onExpandedChange === undefined ? {} : { onExpandedChange }), children: sections.map((section) => (_jsx(Disclosure, { id: section.id, label: section.color === undefined ? (section.label) : (_jsxs(HStack, { gap: "small", align: "center", children: [_jsx(Dot, { color: section.color }), section.label] })), size: "small", inset: "none", ...(section.total === undefined
40
+ ? {}
41
+ : {
42
+ // Padded like the amount column's cells, so the total sits over the amounts.
43
+ summary: (_jsx(HStack, { paddingInlineEnd: "medium", children: section.total.amount === null ? (_jsx(Text, { tone: "secondary", children: copy.notAvailable })) : (_jsx(Text, { children: _jsx("span", { ...stylex.props(styles.figures), children: format.figure(section.total.amount) }) })) })),
44
+ }), ...(section.description === undefined
45
+ ? {}
46
+ : {
47
+ details: (_jsx(Text, { variant: "footnote", tone: "secondary", children: section.description })),
48
+ }), children: _jsxs(VStack, { gap: "medium", children: [section.notice === undefined ? null : (_jsxs(InlineAlert, { tone: section.notice.tone, children: [_jsx(Heading, { children: section.notice.title }), section.notice.details === undefined ||
49
+ section.notice.details.length === 0 ? null : (_jsx(Content, { children: _jsx(VStack, { gap: "half", children: section.notice.details.map((detail, index) => (_jsx(Text, { children: detail }, index))) }) }))] })), section.steps.length === 0 ? null : (_jsx(ContainerSize, { sizes: { wide: WIDE_FROM }, children: (size) => sectionTable(section, { format, copy, isCompact: size === 'compact' }) }))] }) }, section.id))) }));
50
+ if (summary === undefined)
51
+ return steps;
52
+ return (_jsxs(VStack, { gap: "large", children: [_jsx(Summary, { sections: sections, summary: summary, writing: { format, copy } }), steps] }));
53
+ }
54
+ CalculationSteps.displayName = 'CalculationSteps';
55
+ /** A legend's dot: the color the section's subject takes where it is drawn. */
56
+ function Dot({ color }) {
57
+ return (_jsx("span", { "aria-hidden": true, ...stylex.props(styles.dot, styles.dotColor(color.toCSS({ usage: 'background', variant: 'solid' }))) }));
58
+ }
59
+ /** Every section's total in a row, then the summary's total set apart at its end. */
60
+ function Summary({ sections, summary, writing, }) {
61
+ const figure = (amount, isTotal) => amount === null || amount === undefined ? (_jsx(Text, { variant: isTotal ? 'title3' : 'headline', tone: "secondary", children: writing.copy.notAvailable })) : (_jsx(Text, { variant: isTotal ? 'title3' : 'headline', children: _jsx("span", { ...stylex.props(styles.figures), children: writing.format.figure(amount) }) }));
62
+ return (_jsx(Surface, { variant: "grouped", shape: "rounded", padding: "large", children: _jsxs(HStack, { gap: "large", align: "end", justify: "spaceBetween", wrap: true, children: [_jsx(HStack, { gap: "xLarge", align: "end", wrap: true, children: sections.map((section) => (_jsxs(VStack, { gap: "none", children: [_jsxs(HStack, { gap: "small", align: "center", children: [section.color === undefined ? null : _jsx(Dot, { color: section.color }), _jsx(Text, { variant: "caption", tone: "secondary", children: section.label })] }), figure(section.total?.amount, false)] }, section.id))) }), summary.total === undefined ? null : (_jsxs(HStack, { gap: "large", align: "stretch", children: [_jsx(Separator, { orientation: "vertical" }), _jsxs(VStack, { gap: "none", children: [_jsx(Text, { variant: "caption", tone: "secondary", children: summary.total.label }), figure(summary.total.amount, true)] })] }))] }) }));
63
+ }
64
+ // Table reads Row declarations directly, so rows come from plain functions, not components.
65
+ function sectionTable(section, writing) {
66
+ const { copy, isCompact } = writing;
67
+ return (_jsxs(Table, { "aria-label": section.label, sticky: "none", rowAlign: "start", children: [_jsxs(Header, { children: [_jsx(Column, { id: "step", isRowHeader: true, minWidth: 140, ...(isCompact ? {} : { width: '5fr' }), children: copy.step }), isCompact ? null : (_jsx(Column, { id: "calculation", minWidth: 180, width: "6fr", children: copy.calculation })), _jsx(Column, { id: "amount", align: "end", minWidth: 120, width: isCompact ? 132 : '3fr', children: copy.amount })] }), section.steps.map((step) => stepRow(step, section.id, writing)), section.total === undefined ? null : (_jsx(Footer, { children: stepRow(section.total, section.id, writing, true) }))] }));
68
+ }
69
+ function stepRow(step, parentId, writing, isTotal = false) {
70
+ const { format, copy, isCompact } = writing;
71
+ // Ids need only be unique among the steps beside them: the row's id carries its path.
72
+ const id = `${parentId}/${step.id}`;
73
+ const isStrong = isTotal || ('kind' in step && step.kind === 'subtotal');
74
+ const nested = 'steps' in step ? (step.steps ?? []) : [];
75
+ const formula = step.formula === undefined ? null : format.formula(step.formula);
76
+ const calculation = formula === null ? null : (_jsx(Text, { variant: "footnote", tone: "secondary", children: _jsx("span", { ...stylex.props(styles.figures), children: formula }) }));
77
+ return (
78
+ // A total keeps the id Table gives footer rows.
79
+ _jsxs(Row, { ...(isTotal ? {} : { id }), textValue: step.label, children: [_jsx(Cell, { children: _jsxs(VStack, { gap: "none", children: [_jsxs(HStack, { gap: "small", wrap: true, children: [_jsx("span", { ...stylex.props(isStrong && styles.strong), children: step.label }), step.override === undefined ? null : (_jsx(Badge, { size: "small", tone: "warning", variant: "subtle", children: step.override.reason }))] }), step.description === undefined ? null : (_jsx(Text, { variant: "footnote", tone: "secondary", children: step.description })), isCompact ? calculation : null] }) }), isCompact ? null : _jsx(Cell, { children: calculation }), _jsx(Cell, { children: _jsx(Amount, { step: step, format: format, copy: copy, isStrong: isStrong }) }), nested.map((child) => stepRow(child, id, writing))] }, id));
80
+ }
81
+ /** A step's amount, with the amount it replaced under it when something took its place. */
82
+ function Amount({ step, format, copy, isStrong = false, }) {
83
+ return (_jsxs(VStack, { gap: "none", align: "end", children: [step.amount === null ? (_jsx(Text, { tone: "secondary", children: copy.notAvailable })) : (_jsx("span", { ...stylex.props(styles.figures, isStrong && styles.strong), children: format.figure(step.amount) })), step.override === undefined ? null : (_jsxs(Text, { variant: "footnote", tone: "secondary", children: [_jsxs("span", { ...stylex.props(visuallyHiddenStyles.hidden), children: [copy.replaces, " "] }), _jsx("span", { ...stylex.props(styles.replaced), children: format.figure(step.override.replaced) })] }))] }));
84
+ }
@@ -0,0 +1,23 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ export declare const styles: Readonly<{
3
+ readonly figures: Readonly<{
4
+ readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
5
+ }>;
6
+ readonly strong: Readonly<{
7
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
8
+ }>;
9
+ readonly dot: Readonly<{
10
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
11
+ readonly inlineSize: stylex.StyleXClassNameFor<"inlineSize", 8>;
12
+ readonly blockSize: stylex.StyleXClassNameFor<"blockSize", 8>;
13
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", "50%">;
14
+ }>;
15
+ readonly dotColor: (color: string) => readonly [Readonly<{
16
+ backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
17
+ }>, stylex.InlineStyles];
18
+ readonly replaced: Readonly<{
19
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
20
+ readonly textDecorationLine: stylex.StyleXClassNameFor<"textDecorationLine", "line-through">;
21
+ readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
22
+ }>;
23
+ }>;
@@ -0,0 +1,22 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ import { tokenVars } from "../../theming/tokens.stylex.js";
3
+ export const styles = stylex.create({
4
+ // Figures inside running text keep one width per digit, as the amount column does.
5
+ figures: { fontVariantNumeric: 'tabular-nums' },
6
+ // A subtotal and the section total read apart from the steps around them.
7
+ strong: { fontWeight: tokenVars.fontWeightHeading },
8
+ // A legend's dot: the color the section's subject takes where it is drawn.
9
+ dot: {
10
+ flexShrink: 0,
11
+ inlineSize: 8,
12
+ blockSize: 8,
13
+ borderRadius: '50%',
14
+ },
15
+ dotColor: (color) => ({ backgroundColor: color }),
16
+ // The amount another one took the place of: still readable, plainly not the one that applies.
17
+ replaced: {
18
+ color: tokenVars.textSecondary,
19
+ textDecorationLine: 'line-through',
20
+ fontVariantNumeric: 'tabular-nums',
21
+ },
22
+ });