@astryxdesign/core 0.7.17-canary.g5a3fd39 → 0.7.17-canary.g5c48123

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 (900) hide show
  1. package/README.md +26 -9
  2. package/dist/AlertDialog/AlertDialog.d.ts +1 -1
  3. package/dist/AlertDialog/AlertDialog.d.ts.map +1 -1
  4. package/dist/AlertDialog/AlertDialog.js +6 -8
  5. package/dist/AppShell/AppShell.d.ts +7 -3
  6. package/dist/AppShell/AppShell.d.ts.map +1 -1
  7. package/dist/AppShell/AppShell.js +74 -36
  8. package/dist/AppShell/unreadWidthPoint.d.ts +29 -0
  9. package/dist/AppShell/unreadWidthPoint.d.ts.map +1 -0
  10. package/dist/AppShell/unreadWidthPoint.js +134 -0
  11. package/dist/AvatarGroup/AvatarGroupOverflow.d.ts +1 -1
  12. package/dist/AvatarGroup/AvatarGroupOverflow.d.ts.map +1 -1
  13. package/dist/AvatarGroup/AvatarGroupOverflow.js +5 -1
  14. package/dist/Badge/Badge.d.ts.map +1 -1
  15. package/dist/Badge/Badge.js +2 -2
  16. package/dist/Banner/Banner.d.ts +6 -4
  17. package/dist/Banner/Banner.d.ts.map +1 -1
  18. package/dist/Banner/Banner.js +32 -29
  19. package/dist/BottomSheet/BottomSheetPanel.d.ts.map +1 -1
  20. package/dist/BottomSheet/BottomSheetPanel.js +11 -7
  21. package/dist/Breadcrumbs/BreadcrumbItem.d.ts.map +1 -1
  22. package/dist/Breadcrumbs/BreadcrumbItem.js +12 -1
  23. package/dist/Button/Button.d.ts.map +1 -1
  24. package/dist/Button/Button.js +45 -7
  25. package/dist/Calendar/Calendar.js +8 -2
  26. package/dist/Calendar/styles.d.ts +10 -6
  27. package/dist/Calendar/styles.d.ts.map +1 -1
  28. package/dist/Calendar/styles.js +7 -3
  29. package/dist/Card/Card.d.ts.map +1 -1
  30. package/dist/Card/Card.js +23 -4
  31. package/dist/Chat/ChatComposer.d.ts +1 -1
  32. package/dist/Chat/ChatComposer.d.ts.map +1 -1
  33. package/dist/Chat/ChatComposer.js +4 -4
  34. package/dist/Chat/ChatComposerDrawer.d.ts.map +1 -1
  35. package/dist/Chat/ChatComposerDrawer.js +8 -4
  36. package/dist/Chat/ChatDictationButton.d.ts.map +1 -1
  37. package/dist/Chat/ChatDictationButton.js +7 -0
  38. package/dist/Chat/ChatPastedTextToken.d.ts.map +1 -1
  39. package/dist/Chat/ChatPastedTextToken.js +3 -9
  40. package/dist/Chat/ChatSendButton.d.ts.map +1 -1
  41. package/dist/Chat/ChatSendButton.js +3 -0
  42. package/dist/Chat/ChatSystemMessage.d.ts.map +1 -1
  43. package/dist/Chat/ChatSystemMessage.js +1 -0
  44. package/dist/Chat/ChatToolCalls.d.ts.map +1 -1
  45. package/dist/Chat/ChatToolCalls.js +8 -0
  46. package/dist/Chat/pastedTextLabel.d.ts +4 -0
  47. package/dist/Chat/pastedTextLabel.d.ts.map +1 -0
  48. package/dist/Chat/pastedTextLabel.js +21 -0
  49. package/dist/Chat/useChatPasteAsToken.d.ts.map +1 -1
  50. package/dist/Chat/useChatPasteAsToken.js +8 -8
  51. package/dist/Chat/useTriggerMenu.d.ts.map +1 -1
  52. package/dist/Chat/useTriggerMenu.js +3 -3
  53. package/dist/CheckboxInput/CheckboxInput.d.ts +2 -1
  54. package/dist/CheckboxInput/CheckboxInput.d.ts.map +1 -1
  55. package/dist/CheckboxInput/CheckboxInput.js +69 -18
  56. package/dist/Citation/Citation.d.ts.map +1 -1
  57. package/dist/Citation/Citation.js +8 -1
  58. package/dist/Code/Code.d.ts.map +1 -1
  59. package/dist/Code/Code.js +5 -1
  60. package/dist/CodeBlock/CodeBlock.d.ts.map +1 -1
  61. package/dist/CodeBlock/CodeBlock.js +39 -12
  62. package/dist/CodeBlock/highlightRanges.d.ts.map +1 -1
  63. package/dist/CodeBlock/highlightRanges.js +6 -5
  64. package/dist/Collapsible/Collapsible.d.ts.map +1 -1
  65. package/dist/Collapsible/Collapsible.js +2 -0
  66. package/dist/CommandPalette/CommandPaletteItem.d.ts.map +1 -1
  67. package/dist/CommandPalette/CommandPaletteItem.js +1 -0
  68. package/dist/ComplexSelector/ComplexSelector.d.ts.map +1 -1
  69. package/dist/ComplexSelector/ComplexSelector.js +8 -1
  70. package/dist/ContextMenu/ContextMenu.d.ts.map +1 -1
  71. package/dist/ContextMenu/ContextMenu.js +19 -2
  72. package/dist/DateInput/MonthScroller.d.ts.map +1 -1
  73. package/dist/DateInput/MonthScroller.js +1 -0
  74. package/dist/DateInput/PickerWheel.d.ts.map +1 -1
  75. package/dist/DateInput/PickerWheel.js +3 -2
  76. package/dist/DateInput/TouchDateField.d.ts.map +1 -1
  77. package/dist/DateInput/TouchDateField.js +2 -1
  78. package/dist/DateInput/Wheel.d.ts.map +1 -1
  79. package/dist/DateInput/Wheel.js +8 -8
  80. package/dist/DateInput/usePointerDragScroll.d.ts.map +1 -1
  81. package/dist/DateInput/usePointerDragScroll.js +5 -2
  82. package/dist/DateRangeInput/DateRangeInput.d.ts.map +1 -1
  83. package/dist/DateRangeInput/DateRangeInput.js +7 -0
  84. package/dist/DateTimeInput/TouchDateTimeField.d.ts.map +1 -1
  85. package/dist/DateTimeInput/TouchDateTimeField.js +2 -1
  86. package/dist/DateTimeInput/nativePickerSegmentStyles.d.ts +2 -2
  87. package/dist/Dialog/Dialog.d.ts.map +1 -1
  88. package/dist/Dialog/Dialog.js +38 -4
  89. package/dist/Dialog/DialogHeader.d.ts.map +1 -1
  90. package/dist/Dialog/DialogHeader.js +23 -8
  91. package/dist/Drawer/DrawerHeader.d.ts.map +1 -1
  92. package/dist/Drawer/DrawerHeader.js +23 -8
  93. package/dist/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  94. package/dist/DropdownMenu/DropdownMenu.js +15 -4
  95. package/dist/DropdownMenu/DropdownMenuCheckboxItem.d.ts.map +1 -1
  96. package/dist/DropdownMenu/DropdownMenuCheckboxItem.js +3 -3
  97. package/dist/DropdownMenu/DropdownMenuItem.d.ts.map +1 -1
  98. package/dist/DropdownMenu/DropdownMenuItem.js +3 -2
  99. package/dist/DropdownMenu/DropdownMenuRadioItem.d.ts.map +1 -1
  100. package/dist/DropdownMenu/DropdownMenuRadioItem.js +3 -3
  101. package/dist/DropdownMenu/DropdownMenuSubMenu.d.ts.map +1 -1
  102. package/dist/DropdownMenu/DropdownMenuSubMenu.js +19 -2
  103. package/dist/DropdownMenu/lazyMenuBottomSheet.d.ts +6 -3
  104. package/dist/DropdownMenu/lazyMenuBottomSheet.d.ts.map +1 -1
  105. package/dist/DropdownMenu/lazyMenuBottomSheet.js +31 -7
  106. package/dist/DropdownMenu/menuRowCorners.stylex.d.ts +24 -0
  107. package/dist/DropdownMenu/menuRowCorners.stylex.d.ts.map +1 -0
  108. package/dist/DropdownMenu/menuRowCorners.stylex.js +29 -0
  109. package/dist/EmptyState/EmptyState.d.ts.map +1 -1
  110. package/dist/EmptyState/EmptyState.js +2 -2
  111. package/dist/Field/FieldLabel.d.ts.map +1 -1
  112. package/dist/Field/FieldLabel.js +2 -2
  113. package/dist/Field/inputStyles.stylex.d.ts +31 -4
  114. package/dist/Field/inputStyles.stylex.d.ts.map +1 -1
  115. package/dist/Field/inputStyles.stylex.js +30 -5
  116. package/dist/Grid/Grid.d.ts +2 -1
  117. package/dist/Grid/Grid.d.ts.map +1 -1
  118. package/dist/Grid/Grid.js +5 -2
  119. package/dist/Heading/Heading.d.ts +1 -1
  120. package/dist/Heading/Heading.d.ts.map +1 -1
  121. package/dist/Heading/Heading.js +15 -1
  122. package/dist/Icon/Icon.d.ts +1 -1
  123. package/dist/Icon/Icon.d.ts.map +1 -1
  124. package/dist/Icon/Icon.js +32 -2
  125. package/dist/Indicator/CheckboxIndicator.d.ts.map +1 -1
  126. package/dist/Indicator/CheckboxIndicator.js +12 -6
  127. package/dist/Indicator/RadioIndicator.d.ts.map +1 -1
  128. package/dist/Indicator/RadioIndicator.js +18 -4
  129. package/dist/Indicator/indicatorRegistry.d.ts +3 -26
  130. package/dist/Indicator/indicatorRegistry.d.ts.map +1 -1
  131. package/dist/Indicator/indicatorRegistry.js +2 -11
  132. package/dist/Indicator/themeIndicators.d.ts +15 -0
  133. package/dist/Indicator/themeIndicators.d.ts.map +1 -0
  134. package/dist/Indicator/themeIndicators.js +21 -0
  135. package/dist/Indicator/types.d.ts +14 -0
  136. package/dist/Indicator/types.d.ts.map +1 -1
  137. package/dist/Indicator/useThemeIndicator.d.ts +3 -0
  138. package/dist/Indicator/useThemeIndicator.d.ts.map +1 -0
  139. package/dist/Indicator/useThemeIndicator.js +19 -0
  140. package/dist/Item/Item.d.ts +6 -2
  141. package/dist/Item/Item.d.ts.map +1 -1
  142. package/dist/Item/Item.js +30 -2
  143. package/dist/Kbd/Kbd.d.ts.map +1 -1
  144. package/dist/Kbd/Kbd.js +9 -2
  145. package/dist/Layer/gestureCounter.d.ts +6 -0
  146. package/dist/Layer/gestureCounter.d.ts.map +1 -1
  147. package/dist/Layer/gestureCounter.js +29 -6
  148. package/dist/Layer/layerExitCopy.d.ts.map +1 -1
  149. package/dist/Layer/layerExitCopy.js +1 -1
  150. package/dist/Layer/layerSlideRules.d.ts +23 -15
  151. package/dist/Layer/layerSlideRules.d.ts.map +1 -1
  152. package/dist/Layer/layerSlideRules.js +54 -54
  153. package/dist/Layer/outsidePress.d.ts +8 -1
  154. package/dist/Layer/outsidePress.d.ts.map +1 -1
  155. package/dist/Layer/outsidePress.js +3 -1
  156. package/dist/Layer/useLayer.d.ts +41 -29
  157. package/dist/Layer/useLayer.d.ts.map +1 -1
  158. package/dist/Layer/useLayer.js +216 -135
  159. package/dist/Layer/useLayerKeyboardClearance.d.ts +5 -5
  160. package/dist/Layer/useLayerKeyboardClearance.d.ts.map +1 -1
  161. package/dist/Layer/useLayerKeyboardClearance.js +5 -5
  162. package/dist/Layout/LayoutContainerContext.d.ts +4 -0
  163. package/dist/Layout/LayoutContainerContext.d.ts.map +1 -0
  164. package/dist/Layout/LayoutContainerContext.js +20 -0
  165. package/dist/Layout/LayoutContainerScope.d.ts +15 -0
  166. package/dist/Layout/LayoutContainerScope.d.ts.map +1 -0
  167. package/dist/Layout/LayoutContainerScope.js +23 -0
  168. package/dist/Layout/LayoutContent.d.ts +2 -1
  169. package/dist/Layout/LayoutContent.d.ts.map +1 -1
  170. package/dist/Layout/LayoutContent.js +7 -2
  171. package/dist/Layout/LayoutFooter.d.ts.map +1 -1
  172. package/dist/Layout/LayoutFooter.js +5 -1
  173. package/dist/Layout/LayoutHeader.d.ts.map +1 -1
  174. package/dist/Layout/LayoutHeader.js +5 -1
  175. package/dist/Layout/containerCorners.stylex.d.ts +15 -7
  176. package/dist/Layout/containerCorners.stylex.d.ts.map +1 -1
  177. package/dist/Layout/containerCorners.stylex.js +16 -7
  178. package/dist/Lightbox/Lightbox.d.ts.map +1 -1
  179. package/dist/Lightbox/Lightbox.js +324 -6
  180. package/dist/Link/Link.d.ts.map +1 -1
  181. package/dist/Link/Link.js +1 -1
  182. package/dist/List/List.d.ts.map +1 -1
  183. package/dist/List/List.js +14 -6
  184. package/dist/List/ListContext.d.ts +38 -1
  185. package/dist/List/ListContext.d.ts.map +1 -1
  186. package/dist/List/ListContext.js +50 -2
  187. package/dist/List/ListItem.js +2 -2
  188. package/dist/Markdown/Markdown.d.ts.map +1 -1
  189. package/dist/Markdown/Markdown.js +85 -96
  190. package/dist/Markdown/plugins/protocol.js +3 -3
  191. package/dist/MetadataList/MetadataListItem.d.ts.map +1 -1
  192. package/dist/MetadataList/MetadataListItem.js +11 -3
  193. package/dist/MobileNav/MobileNav.d.ts +1 -1
  194. package/dist/MobileNav/MobileNav.d.ts.map +1 -1
  195. package/dist/MobileNav/MobileNav.js +6 -3
  196. package/dist/MultiSelector/MultiSelector.d.ts.map +1 -1
  197. package/dist/MultiSelector/MultiSelector.js +33 -9
  198. package/dist/NavMenu/NavHeadingMenuItem.d.ts.map +1 -1
  199. package/dist/NavMenu/NavHeadingMenuItem.js +1 -0
  200. package/dist/NumberInput/NumberInput.d.ts.map +1 -1
  201. package/dist/NumberInput/NumberInput.js +8 -2
  202. package/dist/Outline/Outline.d.ts +7 -3
  203. package/dist/Outline/Outline.d.ts.map +1 -1
  204. package/dist/Outline/Outline.js +11 -3
  205. package/dist/Outline/useScrollSpy.d.ts +1 -1
  206. package/dist/Outline/useScrollSpy.d.ts.map +1 -1
  207. package/dist/Outline/useScrollSpy.js +6 -2
  208. package/dist/OverflowList/OverflowList.d.ts.map +1 -1
  209. package/dist/OverflowList/OverflowList.js +51 -25
  210. package/dist/Pagination/Pagination.d.ts.map +1 -1
  211. package/dist/Pagination/Pagination.js +33 -13
  212. package/dist/Popover/popoverAnchor.d.ts +11 -0
  213. package/dist/Popover/popoverAnchor.d.ts.map +1 -0
  214. package/dist/Popover/popoverAnchor.js +33 -0
  215. package/dist/Popover/usePopover.d.ts +18 -1
  216. package/dist/Popover/usePopover.d.ts.map +1 -1
  217. package/dist/Popover/usePopover.js +70 -7
  218. package/dist/PowerSearch/PowerSearch.d.ts +1 -0
  219. package/dist/PowerSearch/PowerSearch.d.ts.map +1 -1
  220. package/dist/PowerSearch/PowerSearch.js +46 -9
  221. package/dist/PowerSearch/PowerSearchEditPopover.d.ts.map +1 -1
  222. package/dist/PowerSearch/PowerSearchEditPopover.js +1 -1
  223. package/dist/PowerSearch/PowerSearchFilterEditor.d.ts.map +1 -1
  224. package/dist/PowerSearch/PowerSearchFilterEditor.js +7 -1
  225. package/dist/PowerSearch/PowerSearchToken.d.ts.map +1 -1
  226. package/dist/PowerSearch/PowerSearchToken.js +7 -0
  227. package/dist/PowerSearch/PowerSearchValueEditor.d.ts +2 -4
  228. package/dist/PowerSearch/PowerSearchValueEditor.d.ts.map +1 -1
  229. package/dist/PowerSearch/PowerSearchValueEditor.js +6 -13
  230. package/dist/ProgressBar/ProgressBar.d.ts +5 -4
  231. package/dist/ProgressBar/ProgressBar.d.ts.map +1 -1
  232. package/dist/ProgressBar/ProgressBar.js +26 -26
  233. package/dist/RadioList/RadioList.d.ts.map +1 -1
  234. package/dist/RadioList/RadioList.js +51 -0
  235. package/dist/RadioList/RadioListItem.d.ts.map +1 -1
  236. package/dist/RadioList/RadioListItem.js +1 -1
  237. package/dist/Resizable/ResizeHandle.d.ts +1 -1
  238. package/dist/Resizable/ResizeHandle.d.ts.map +1 -1
  239. package/dist/Resizable/ResizeHandle.js +1 -1
  240. package/dist/Resizable/resizableModel.d.ts +45 -3
  241. package/dist/Resizable/resizableModel.d.ts.map +1 -1
  242. package/dist/Resizable/resizableModel.js +91 -3
  243. package/dist/Resizable/useResizable.d.ts +1 -33
  244. package/dist/Resizable/useResizable.d.ts.map +1 -1
  245. package/dist/Resizable/useResizable.js +8 -72
  246. package/dist/SegmentedControl/SegmentedControlItem.d.ts.map +1 -1
  247. package/dist/SegmentedControl/SegmentedControlItem.js +1 -0
  248. package/dist/SegmentedControl/useSegmentedTouchTracking.d.ts +27 -5
  249. package/dist/SegmentedControl/useSegmentedTouchTracking.d.ts.map +1 -1
  250. package/dist/SegmentedControl/useSegmentedTouchTracking.js +70 -8
  251. package/dist/Selector/Selector.d.ts.map +1 -1
  252. package/dist/Selector/Selector.js +34 -14
  253. package/dist/Selector/hooks.d.ts +5 -0
  254. package/dist/Selector/hooks.d.ts.map +1 -1
  255. package/dist/Selector/hooks.js +72 -16
  256. package/dist/Selector/useSelectorPresentation.d.ts.map +1 -1
  257. package/dist/Selector/useSelectorPresentation.js +44 -9
  258. package/dist/SideNav/SideNavHeading.d.ts.map +1 -1
  259. package/dist/SideNav/SideNavHeading.js +5 -1
  260. package/dist/Slider/Slider.d.ts.map +1 -1
  261. package/dist/Slider/Slider.js +2 -2
  262. package/dist/Spinner/Spinner.d.ts.map +1 -1
  263. package/dist/Spinner/Spinner.js +47 -33
  264. package/dist/Stepper/Step.d.ts.map +1 -1
  265. package/dist/Stepper/Step.js +21 -12
  266. package/dist/Swipe/useSwipeAction.js +3 -3
  267. package/dist/Switch/Switch.d.ts.map +1 -1
  268. package/dist/Switch/Switch.js +64 -46
  269. package/dist/Switch/useSwitchTouch.d.ts +22 -1
  270. package/dist/Switch/useSwitchTouch.d.ts.map +1 -1
  271. package/dist/Switch/useSwitchTouch.js +54 -3
  272. package/dist/TabList/Tab.d.ts.map +1 -1
  273. package/dist/TabList/Tab.js +3 -3
  274. package/dist/Table/BaseTable.d.ts.map +1 -1
  275. package/dist/Table/BaseTable.js +37 -18
  276. package/dist/Table/Table.d.ts +4 -3
  277. package/dist/Table/Table.d.ts.map +1 -1
  278. package/dist/Table/Table.js +32 -14
  279. package/dist/Table/TableBody.d.ts.map +1 -1
  280. package/dist/Table/TableBody.js +5 -1
  281. package/dist/Table/TableCell.d.ts.map +1 -1
  282. package/dist/Table/TableCell.js +6 -0
  283. package/dist/Table/TableHeaderCell.d.ts +1 -1
  284. package/dist/Table/TableHeaderCell.d.ts.map +1 -1
  285. package/dist/Table/TableHeaderCell.js +42 -9
  286. package/dist/Table/TableRow.d.ts.map +1 -1
  287. package/dist/Table/TableRow.js +9 -1
  288. package/dist/Table/TableRowPlacementContext.d.ts +18 -0
  289. package/dist/Table/TableRowPlacementContext.d.ts.map +1 -0
  290. package/dist/Table/TableRowPlacementContext.js +41 -0
  291. package/dist/Table/TableSelectionToolbar.d.ts.map +1 -1
  292. package/dist/Table/TableSelectionToolbar.js +7 -0
  293. package/dist/Table/columnUtils.d.ts +5 -0
  294. package/dist/Table/columnUtils.d.ts.map +1 -1
  295. package/dist/Table/columnUtils.js +9 -1
  296. package/dist/Table/plugins/rowIndex/useTableRowIndex.d.ts.map +1 -1
  297. package/dist/Table/plugins/rowIndex/useTableRowIndex.js +2 -2
  298. package/dist/Table/plugins/sortable/useTableSortable.d.ts.map +1 -1
  299. package/dist/Table/plugins/sortable/useTableSortable.js +8 -3
  300. package/dist/Table/plugins/sortable/useTableSortableState.d.ts.map +1 -1
  301. package/dist/Table/plugins/sortable/useTableSortableState.js +10 -6
  302. package/dist/Table/plugins/stickyColumns/useTableStickyColumns.d.ts.map +1 -1
  303. package/dist/Table/plugins/stickyColumns/useTableStickyColumns.js +5 -1
  304. package/dist/Table/plugins/tree/useTableTreeData.d.ts.map +1 -1
  305. package/dist/Table/plugins/tree/useTableTreeData.js +76 -15
  306. package/dist/Table/table.stylex.d.ts +31 -5
  307. package/dist/Table/table.stylex.d.ts.map +1 -1
  308. package/dist/Table/table.stylex.js +33 -5
  309. package/dist/Table/types.d.ts +3 -1
  310. package/dist/Table/types.d.ts.map +1 -1
  311. package/dist/Text/TruncationTooltip.d.ts +35 -1
  312. package/dist/Text/TruncationTooltip.d.ts.map +1 -1
  313. package/dist/Text/TruncationTooltip.js +115 -0
  314. package/dist/Text/text.stylex.d.ts +2 -2
  315. package/dist/Text/useTruncation.d.ts.map +1 -1
  316. package/dist/Text/useTruncation.js +23 -4
  317. package/dist/TextArea/TextArea.d.ts.map +1 -1
  318. package/dist/TextArea/TextArea.js +15 -1
  319. package/dist/TextInput/TextInput.d.ts +9 -3
  320. package/dist/TextInput/TextInput.d.ts.map +1 -1
  321. package/dist/TextInput/TextInput.js +19 -18
  322. package/dist/Thumbnail/Thumbnail.d.ts.map +1 -1
  323. package/dist/Thumbnail/Thumbnail.js +13 -4
  324. package/dist/Timer/Timer.d.ts.map +1 -1
  325. package/dist/Timer/Timer.js +10 -7
  326. package/dist/Timestamp/Timestamp.d.ts.map +1 -1
  327. package/dist/Timestamp/Timestamp.js +55 -4
  328. package/dist/Toast/Toast.d.ts +1 -6
  329. package/dist/Toast/Toast.d.ts.map +1 -1
  330. package/dist/Toast/Toast.js +77 -44
  331. package/dist/Toast/ToastViewport.d.ts.map +1 -1
  332. package/dist/Toast/ToastViewport.js +48 -21
  333. package/dist/Toast/types.d.ts +8 -0
  334. package/dist/Toast/types.d.ts.map +1 -1
  335. package/dist/Toast/useToast.d.ts.map +1 -1
  336. package/dist/Toast/useToast.js +14 -7
  337. package/dist/ToggleButton/ToggleButton.d.ts.map +1 -1
  338. package/dist/ToggleButton/ToggleButton.js +14 -9
  339. package/dist/ToggleButton/ToggleButtonGroup.d.ts.map +1 -1
  340. package/dist/ToggleButton/ToggleButtonGroup.js +3 -0
  341. package/dist/Token/Token.d.ts +1 -1
  342. package/dist/Token/Token.d.ts.map +1 -1
  343. package/dist/Token/Token.js +6 -2
  344. package/dist/Tokenizer/Tokenizer.d.ts.map +1 -1
  345. package/dist/Tokenizer/Tokenizer.js +63 -51
  346. package/dist/Toolbar/Toolbar.d.ts.map +1 -1
  347. package/dist/Toolbar/Toolbar.js +33 -5
  348. package/dist/Tooltip/Tooltip.d.ts +12 -1
  349. package/dist/Tooltip/Tooltip.d.ts.map +1 -1
  350. package/dist/Tooltip/Tooltip.js +31 -1
  351. package/dist/Tooltip/useTooltip.d.ts.map +1 -1
  352. package/dist/Tooltip/useTooltip.js +20 -1
  353. package/dist/TopNav/TopNav.d.ts.map +1 -1
  354. package/dist/TopNav/TopNav.js +24 -8
  355. package/dist/TopNav/TopNavContext.d.ts +13 -0
  356. package/dist/TopNav/TopNavContext.d.ts.map +1 -1
  357. package/dist/TopNav/TopNavContext.js +27 -1
  358. package/dist/TopNav/TopNavHeading.d.ts.map +1 -1
  359. package/dist/TopNav/TopNavHeading.js +12 -6
  360. package/dist/TopNav/TopNavMegaMenu.d.ts.map +1 -1
  361. package/dist/TopNav/TopNavMegaMenu.js +25 -17
  362. package/dist/TopNav/TopNavMegaMenuFeaturedCard.d.ts.map +1 -1
  363. package/dist/TopNav/TopNavMegaMenuFeaturedCard.js +13 -2
  364. package/dist/TopNav/TopNavMegaMenuItem.d.ts +9 -1
  365. package/dist/TopNav/TopNavMegaMenuItem.d.ts.map +1 -1
  366. package/dist/TopNav/TopNavMegaMenuItem.js +14 -2
  367. package/dist/TopNav/TopNavMenu.d.ts +8 -0
  368. package/dist/TopNav/TopNavMenu.d.ts.map +1 -1
  369. package/dist/TopNav/TopNavMenu.js +20 -5
  370. package/dist/TopNav/TopNavRenderContext.d.ts +13 -0
  371. package/dist/TopNav/TopNavRenderContext.d.ts.map +1 -1
  372. package/dist/TopNav/TopNavRenderContext.js +24 -9
  373. package/dist/TreeList/TreeList.d.ts.map +1 -1
  374. package/dist/TreeList/TreeList.js +7 -1
  375. package/dist/TreeList/TreeListItem.d.ts.map +1 -1
  376. package/dist/TreeList/TreeListItem.js +20 -2
  377. package/dist/Typeahead/BaseTypeahead.d.ts.map +1 -1
  378. package/dist/Typeahead/BaseTypeahead.js +2 -1
  379. package/dist/Typeahead/Typeahead.d.ts.map +1 -1
  380. package/dist/Typeahead/Typeahead.js +24 -9
  381. package/dist/Typeahead/TypeaheadItem.d.ts.map +1 -1
  382. package/dist/Typeahead/TypeaheadItem.js +7 -0
  383. package/dist/astryx.css +212 -50
  384. package/dist/gestures/GestureHost.d.ts +7 -0
  385. package/dist/gestures/GestureHost.d.ts.map +1 -1
  386. package/dist/gestures/GestureHost.js +37 -0
  387. package/dist/hooks/anchoredHint.d.ts.map +1 -1
  388. package/dist/hooks/anchoredHint.js +0 -1
  389. package/dist/hooks/computeOverflow.d.ts.map +1 -1
  390. package/dist/hooks/computeOverflow.js +7 -0
  391. package/dist/hooks/scrollEdgeFade.d.ts +34 -0
  392. package/dist/hooks/scrollEdgeFade.d.ts.map +1 -0
  393. package/dist/hooks/scrollEdgeFade.js +173 -0
  394. package/dist/hooks/statusButtonPress.d.ts +15 -0
  395. package/dist/hooks/statusButtonPress.d.ts.map +1 -0
  396. package/dist/hooks/statusButtonPress.js +19 -0
  397. package/dist/hooks/useGroupPressTracking.d.ts +1 -1
  398. package/dist/hooks/useGroupPressTracking.js +1 -1
  399. package/dist/hooks/useOverflow.d.ts +25 -2
  400. package/dist/hooks/useOverflow.d.ts.map +1 -1
  401. package/dist/hooks/useOverflow.js +137 -8
  402. package/dist/hooks/useResolvedRequired.d.ts +27 -0
  403. package/dist/hooks/useResolvedRequired.d.ts.map +1 -1
  404. package/dist/hooks/useResolvedRequired.js +30 -1
  405. package/dist/hooks/useTreeFocus.d.ts.map +1 -1
  406. package/dist/hooks/useTreeFocus.js +4 -2
  407. package/dist/hooks/useTypeahead.d.ts.map +1 -1
  408. package/dist/hooks/useTypeahead.js +8 -8
  409. package/dist/i18n/InternationalizationContext.d.ts +13 -6
  410. package/dist/i18n/InternationalizationContext.d.ts.map +1 -1
  411. package/dist/i18n/InternationalizationContext.js +11 -6
  412. package/dist/i18n/InternationalizationProvider.d.ts.map +1 -1
  413. package/dist/i18n/InternationalizationProvider.js +7 -0
  414. package/dist/i18n/defaultTranslator.d.ts +17 -0
  415. package/dist/i18n/defaultTranslator.d.ts.map +1 -0
  416. package/dist/i18n/defaultTranslator.js +18 -0
  417. package/dist/i18n/firstStrongDirection.d.ts +3 -2
  418. package/dist/i18n/firstStrongDirection.d.ts.map +1 -1
  419. package/dist/i18n/firstStrongDirection.js +50 -12
  420. package/dist/i18n/generated-english/Chat/ChatPastedTextToken.generated.d.ts.map +1 -1
  421. package/dist/i18n/generated-english/Chat/ChatPastedTextToken.generated.js +1 -2
  422. package/dist/i18n/generated-english/Chat/pastedTextLabel.generated.d.ts +8 -0
  423. package/dist/i18n/generated-english/Chat/pastedTextLabel.generated.d.ts.map +1 -0
  424. package/dist/i18n/generated-english/Chat/pastedTextLabel.generated.js +12 -0
  425. package/dist/i18n/generated-english/Chat/useTriggerMenu.generated.d.ts.map +1 -1
  426. package/dist/i18n/generated-english/Chat/useTriggerMenu.generated.js +1 -0
  427. package/dist/i18n/generated-english/CodeBlock/CodeBlock.generated.d.ts.map +1 -1
  428. package/dist/i18n/generated-english/CodeBlock/CodeBlock.generated.js +2 -1
  429. package/dist/i18n/generated-english/MultiSelector/MultiSelector.generated.d.ts.map +1 -1
  430. package/dist/i18n/generated-english/MultiSelector/MultiSelector.generated.js +1 -0
  431. package/dist/i18n/generated-english/Slider/Slider.generated.d.ts.map +1 -1
  432. package/dist/i18n/generated-english/Slider/Slider.generated.js +2 -1
  433. package/dist/i18n/generated-english/TextArea/TextArea.generated.d.ts.map +1 -1
  434. package/dist/i18n/generated-english/TextArea/TextArea.generated.js +1 -0
  435. package/dist/i18n/generated-english/TextInput/TextInput.generated.d.ts.map +1 -1
  436. package/dist/i18n/generated-english/TextInput/TextInput.generated.js +1 -0
  437. package/dist/i18n/generated-english/Timestamp/Timestamp.generated.d.ts.map +1 -1
  438. package/dist/i18n/generated-english/Timestamp/Timestamp.generated.js +2 -1
  439. package/dist/i18n/generated-english/Tokenizer/Tokenizer.generated.d.ts.map +1 -1
  440. package/dist/i18n/generated-english/Tokenizer/Tokenizer.generated.js +1 -0
  441. package/dist/i18n/generated-locales/en.generated.d.ts.map +1 -1
  442. package/dist/i18n/generated-locales/en.generated.js +8 -0
  443. package/dist/i18n/generated-locales/pseudo.generated.d.ts.map +1 -1
  444. package/dist/i18n/generated-locales/pseudo.generated.js +8 -0
  445. package/dist/i18n/publicContext.d.ts.map +1 -1
  446. package/dist/i18n/publicContext.js +4 -2
  447. package/dist/i18n/translatingContext.d.ts +2 -0
  448. package/dist/i18n/translatingContext.d.ts.map +1 -0
  449. package/dist/i18n/translatingContext.js +25 -0
  450. package/dist/i18n/useComponentTranslator.d.ts.map +1 -1
  451. package/dist/i18n/useComponentTranslator.js +3 -2
  452. package/dist/i18n/useListFormatter.d.ts.map +1 -1
  453. package/dist/i18n/useListFormatter.js +3 -2
  454. package/dist/i18n/useTranslator.d.ts.map +1 -1
  455. package/dist/i18n/useTranslator.js +3 -2
  456. package/dist/internal/touch.d.ts +2 -0
  457. package/dist/internal/touch.d.ts.map +1 -1
  458. package/dist/internal/touch.js +5 -1
  459. package/dist/keyboard/keyboardHeight.d.ts +34 -3
  460. package/dist/keyboard/keyboardHeight.d.ts.map +1 -1
  461. package/dist/keyboard/keyboardHeight.js +101 -24
  462. package/dist/keyboard/keyboardTarget.d.ts +19 -16
  463. package/dist/keyboard/keyboardTarget.d.ts.map +1 -1
  464. package/dist/keyboard/keyboardTarget.js +529 -72
  465. package/dist/keyboard/useMobileKeyboard.d.ts.map +1 -1
  466. package/dist/keyboard/useMobileKeyboard.js +1 -8
  467. package/dist/palette/color.d.ts +23 -0
  468. package/dist/palette/color.d.ts.map +1 -0
  469. package/dist/palette/color.js +126 -0
  470. package/dist/palette/generator.d.ts +69 -0
  471. package/dist/palette/generator.d.ts.map +1 -0
  472. package/dist/palette/generator.js +778 -0
  473. package/dist/palette/index.d.ts +12 -0
  474. package/dist/palette/index.d.ts.map +1 -0
  475. package/dist/palette/index.js +13 -0
  476. package/dist/palette/mapping.d.ts +319 -0
  477. package/dist/palette/mapping.d.ts.map +1 -0
  478. package/dist/palette/mapping.js +1312 -0
  479. package/dist/palette/themePalette.d.ts +20 -0
  480. package/dist/palette/themePalette.d.ts.map +1 -0
  481. package/dist/palette/themePalette.js +145 -0
  482. package/dist/palette/types.d.ts +178 -0
  483. package/dist/palette/types.d.ts.map +1 -0
  484. package/dist/palette/types.js +1 -0
  485. package/dist/privateAttributes/mediaDarkPage.d.ts +5 -0
  486. package/dist/privateAttributes/mediaDarkPage.d.ts.map +1 -0
  487. package/dist/privateAttributes/mediaDarkPage.js +27 -0
  488. package/dist/privateAttributes/pressGroupItem.stylex.d.ts +2 -1
  489. package/dist/privateAttributes/pressGroupItem.stylex.d.ts.map +1 -1
  490. package/dist/privateAttributes/pressGroupItem.stylex.js +2 -1
  491. package/dist/privateAttributes/scheme.d.ts +10 -0
  492. package/dist/privateAttributes/scheme.d.ts.map +1 -0
  493. package/dist/privateAttributes/scheme.js +34 -0
  494. package/dist/privateAttributes/travelling.stylex.d.ts.map +1 -1
  495. package/dist/privateAttributes/travelling.stylex.js +2 -2
  496. package/dist/theme/MediaDarkPage.d.ts +18 -0
  497. package/dist/theme/MediaDarkPage.d.ts.map +1 -0
  498. package/dist/theme/MediaDarkPage.js +35 -0
  499. package/dist/theme/MediaTheme.d.ts.map +1 -1
  500. package/dist/theme/MediaTheme.js +9 -1
  501. package/dist/theme/Theme.d.ts +4 -1
  502. package/dist/theme/Theme.d.ts.map +1 -1
  503. package/dist/theme/Theme.js +109 -29
  504. package/dist/theme/defineTheme.d.ts +31 -6
  505. package/dist/theme/defineTheme.d.ts.map +1 -1
  506. package/dist/theme/defineTheme.js +65 -29
  507. package/dist/theme/derivedVarRegistry.d.ts +19 -0
  508. package/dist/theme/derivedVarRegistry.d.ts.map +1 -1
  509. package/dist/theme/derivedVarRegistry.js +49 -4
  510. package/dist/theme/expandRadiusScale.d.ts +1 -2
  511. package/dist/theme/expandRadiusScale.d.ts.map +1 -1
  512. package/dist/theme/expandRadiusScale.js +1 -5
  513. package/dist/theme/generateThemeRules.d.ts +10 -3
  514. package/dist/theme/generateThemeRules.d.ts.map +1 -1
  515. package/dist/theme/generateThemeRules.js +310 -207
  516. package/dist/theme/index.d.ts +2 -1
  517. package/dist/theme/index.d.ts.map +1 -1
  518. package/dist/theme/index.js +2 -1
  519. package/dist/theme/invertedSurfaceSide.d.ts +17 -0
  520. package/dist/theme/invertedSurfaceSide.d.ts.map +1 -0
  521. package/dist/theme/invertedSurfaceSide.js +47 -0
  522. package/dist/theme/resolveThemeValues.d.ts +5 -2
  523. package/dist/theme/resolveThemeValues.d.ts.map +1 -1
  524. package/dist/theme/resolveThemeValues.js +7 -1
  525. package/dist/theme/statusRoleDefaults.d.ts +43 -0
  526. package/dist/theme/statusRoleDefaults.d.ts.map +1 -0
  527. package/dist/theme/statusRoleDefaults.js +196 -0
  528. package/dist/theme/statusRoleDerivation.d.ts +4 -0
  529. package/dist/theme/statusRoleDerivation.d.ts.map +1 -1
  530. package/dist/theme/statusRoleDerivation.js +3 -1
  531. package/dist/theme/syntax/SyntaxTheme.d.ts.map +1 -1
  532. package/dist/theme/syntax/SyntaxTheme.js +9 -3
  533. package/dist/theme/themeAdaptations.d.ts +24 -1
  534. package/dist/theme/themeAdaptations.d.ts.map +1 -1
  535. package/dist/theme/themeAdaptations.js +48 -5
  536. package/dist/theme/tokenDefaults.d.ts +3 -0
  537. package/dist/theme/tokenDefaults.d.ts.map +1 -0
  538. package/dist/theme/tokenDefaults.js +30 -0
  539. package/dist/theme/tokenValues.d.ts +26 -0
  540. package/dist/theme/tokenValues.d.ts.map +1 -0
  541. package/dist/theme/tokenValues.js +180 -0
  542. package/dist/theme/tokens.d.ts +3 -2
  543. package/dist/theme/tokens.d.ts.map +1 -1
  544. package/dist/theme/tokens.js +7 -161
  545. package/dist/theme/tokens.stylex.d.ts +4 -4
  546. package/dist/theme/tokens.stylex.d.ts.map +1 -1
  547. package/dist/theme/tokens.stylex.js +7 -5
  548. package/dist/theme/types.d.ts +2 -1
  549. package/dist/theme/types.d.ts.map +1 -1
  550. package/dist/theme/useTheme.d.ts +46 -3
  551. package/dist/theme/useTheme.d.ts.map +1 -1
  552. package/dist/theme/useTheme.js +244 -20
  553. package/dist/utils/devWarning.d.ts +17 -0
  554. package/dist/utils/devWarning.d.ts.map +1 -1
  555. package/dist/utils/devWarning.js +20 -0
  556. package/dist/utils/focusOutline.stylex.d.ts.map +1 -1
  557. package/dist/utils/focusOutline.stylex.js +7 -4
  558. package/dist/utils/hitArea.d.ts +28 -0
  559. package/dist/utils/hitArea.d.ts.map +1 -1
  560. package/dist/utils/hitArea.js +52 -18
  561. package/dist/utils/inputStream.d.ts +27 -0
  562. package/dist/utils/inputStream.d.ts.map +1 -1
  563. package/dist/utils/inputStream.js +72 -5
  564. package/dist/utils/timeFormat.d.ts +14 -4
  565. package/dist/utils/timeFormat.d.ts.map +1 -1
  566. package/dist/utils/timeFormat.js +42 -4
  567. package/dist/utils/touchPresentation.d.ts +2 -2
  568. package/dist/utils/touchPresentation.d.ts.map +1 -1
  569. package/dist/utils/touchPresentation.js +10 -7
  570. package/dist/utils/touchPresentation.stylex.d.ts +4 -3
  571. package/dist/utils/touchPresentation.stylex.d.ts.map +1 -1
  572. package/dist/utils/touchPresentation.stylex.js +3 -3
  573. package/dist/utils/touchQueries.d.ts +3 -2
  574. package/dist/utils/touchQueries.d.ts.map +1 -1
  575. package/dist/utils/touchQueries.js +3 -2
  576. package/dist/utils/typeaheadMatch.d.ts +13 -0
  577. package/dist/utils/typeaheadMatch.d.ts.map +1 -1
  578. package/dist/utils/typeaheadMatch.js +15 -1
  579. package/locales/en.json +32 -0
  580. package/locales/pseudo.json +24 -0
  581. package/package.json +9 -4
  582. package/scripts/agent-doc-state.mjs +71 -4
  583. package/src/AlertDialog/AlertDialog.doc.mjs +5 -1
  584. package/src/AlertDialog/AlertDialog.tsx +34 -7
  585. package/src/AppShell/AppShell.doc.mjs +22 -0
  586. package/src/AppShell/AppShell.tsx +112 -65
  587. package/src/AppShell/unreadWidthPoint.ts +162 -0
  588. package/src/AvatarGroup/AvatarGroupOverflow.tsx +6 -1
  589. package/src/Badge/Badge.tsx +5 -2
  590. package/src/Banner/Banner.doc.mjs +15 -0
  591. package/src/Banner/Banner.tsx +56 -45
  592. package/src/BottomSheet/BottomSheet.doc.mjs +5 -2
  593. package/src/BottomSheet/BottomSheetPanel.tsx +15 -7
  594. package/src/Breadcrumbs/BreadcrumbItem.tsx +14 -1
  595. package/src/Button/Button.doc.mjs +9 -3
  596. package/src/Button/Button.tsx +65 -11
  597. package/src/Calendar/Calendar.doc.mjs +16 -0
  598. package/src/Calendar/Calendar.tsx +32 -20
  599. package/src/Calendar/styles.ts +12 -3
  600. package/src/Card/Card.doc.mjs +2 -2
  601. package/src/Card/Card.tsx +22 -3
  602. package/src/Chat/Chat.doc.mjs +1 -1
  603. package/src/Chat/ChatComposer.doc.mjs +3 -3
  604. package/src/Chat/ChatComposer.tsx +11 -5
  605. package/src/Chat/ChatComposerDrawer.tsx +11 -7
  606. package/src/Chat/ChatDictationButton.tsx +12 -0
  607. package/src/Chat/ChatMessageBubble.tsx +2 -2
  608. package/src/Chat/ChatPastedTextToken.tsx +3 -9
  609. package/src/Chat/ChatSendButton.tsx +5 -0
  610. package/src/Chat/ChatSystemMessage.tsx +1 -0
  611. package/src/Chat/ChatToolCalls.tsx +16 -0
  612. package/src/Chat/pastedTextLabel.ts +23 -0
  613. package/src/Chat/useChatPasteAsToken.ts +9 -8
  614. package/src/Chat/useTriggerMenu.tsx +4 -1
  615. package/src/CheckboxInput/CheckboxInput.doc.mjs +20 -0
  616. package/src/CheckboxInput/CheckboxInput.tsx +83 -26
  617. package/src/CheckboxList/CheckboxList.doc.mjs +15 -0
  618. package/src/CheckboxList/CheckboxListItem.doc.mjs +3 -3
  619. package/src/Citation/Citation.tsx +16 -1
  620. package/src/Code/Code.tsx +3 -0
  621. package/src/CodeBlock/CodeBlock.doc.mjs +7 -0
  622. package/src/CodeBlock/CodeBlock.tsx +60 -13
  623. package/src/CodeBlock/highlightRanges.ts +7 -5
  624. package/src/Collapsible/Collapsible.tsx +2 -0
  625. package/src/CommandPalette/CommandPaletteItem.tsx +1 -0
  626. package/src/ComplexSelector/ComplexSelector.doc.mjs +30 -2
  627. package/src/ComplexSelector/ComplexSelector.tsx +19 -1
  628. package/src/ContextMenu/ContextMenu.doc.mjs +5 -1
  629. package/src/ContextMenu/ContextMenu.tsx +26 -2
  630. package/src/ContextMenu/ContextMenuItem.doc.mjs +55 -5
  631. package/src/DateInput/MonthScroller.tsx +1 -0
  632. package/src/DateInput/PickerWheel.tsx +1 -0
  633. package/src/DateInput/TouchDateField.tsx +2 -0
  634. package/src/DateInput/Wheel.tsx +1 -0
  635. package/src/DateInput/usePointerDragScroll.ts +6 -2
  636. package/src/DateRangeInput/DateRangeInput.tsx +16 -0
  637. package/src/DateTimeInput/TouchDateTimeField.tsx +2 -0
  638. package/src/Dialog/Dialog.doc.mjs +1 -1
  639. package/src/Dialog/Dialog.tsx +45 -3
  640. package/src/Dialog/DialogHeader.tsx +32 -8
  641. package/src/Drawer/DrawerHeader.tsx +31 -6
  642. package/src/DropdownMenu/DropdownMenu.doc.mjs +5 -1
  643. package/src/DropdownMenu/DropdownMenu.tsx +18 -5
  644. package/src/DropdownMenu/DropdownMenuCheckboxItem.doc.mjs +4 -4
  645. package/src/DropdownMenu/DropdownMenuCheckboxItem.tsx +3 -2
  646. package/src/DropdownMenu/DropdownMenuItem.doc.mjs +5 -5
  647. package/src/DropdownMenu/DropdownMenuItem.tsx +3 -1
  648. package/src/DropdownMenu/DropdownMenuRadioItem.doc.mjs +4 -4
  649. package/src/DropdownMenu/DropdownMenuRadioItem.tsx +3 -2
  650. package/src/DropdownMenu/DropdownMenuSubMenu.doc.mjs +3 -3
  651. package/src/DropdownMenu/DropdownMenuSubMenu.tsx +23 -1
  652. package/src/DropdownMenu/lazyMenuBottomSheet.ts +37 -9
  653. package/src/DropdownMenu/menuRowCorners.stylex.ts +40 -0
  654. package/src/EmptyState/EmptyState.tsx +2 -0
  655. package/src/Field/Field.doc.mjs +1 -1
  656. package/src/Field/FieldLabel.doc.mjs +3 -3
  657. package/src/Field/FieldLabel.tsx +9 -2
  658. package/src/Field/inputStyles.stylex.ts +52 -1
  659. package/src/Grid/Grid.doc.mjs +6 -3
  660. package/src/Grid/Grid.tsx +5 -2
  661. package/src/Heading/Heading.tsx +24 -1
  662. package/src/Icon/Icon.doc.mjs +1 -1
  663. package/src/Icon/Icon.tsx +40 -2
  664. package/src/Indicator/CheckboxIndicator.tsx +11 -6
  665. package/src/Indicator/Indicator.doc.mjs +1 -1
  666. package/src/Indicator/RadioIndicator.tsx +31 -4
  667. package/src/Indicator/indicatorRegistry.ts +7 -23
  668. package/src/Indicator/themeIndicators.ts +29 -0
  669. package/src/Indicator/types.ts +14 -0
  670. package/src/Indicator/useThemeIndicator.ts +24 -0
  671. package/src/Item/Item.doc.mjs +3 -3
  672. package/src/Item/Item.tsx +48 -7
  673. package/src/Kbd/Kbd.doc.mjs +6 -2
  674. package/src/Kbd/Kbd.tsx +16 -1
  675. package/src/Layer/gestureCounter.ts +30 -6
  676. package/src/Layer/layerExitCopy.ts +0 -1
  677. package/src/Layer/layerSlideRules.ts +62 -74
  678. package/src/Layer/outsidePress.ts +10 -0
  679. package/src/Layer/useLayer.doc.mjs +2 -2
  680. package/src/Layer/useLayer.tsx +316 -149
  681. package/src/Layer/useLayerKeyboardClearance.ts +9 -12
  682. package/src/Layout/Layout.doc.mjs +3 -3
  683. package/src/Layout/LayoutContainerContext.ts +27 -0
  684. package/src/Layout/LayoutContainerScope.tsx +32 -0
  685. package/src/Layout/LayoutContent.tsx +5 -2
  686. package/src/Layout/LayoutFooter.tsx +3 -1
  687. package/src/Layout/LayoutHeader.tsx +3 -1
  688. package/src/Layout/containerCorners.stylex.ts +44 -7
  689. package/src/Lightbox/Lightbox.tsx +460 -8
  690. package/src/Link/Link.doc.mjs +18 -0
  691. package/src/Link/Link.tsx +3 -1
  692. package/src/List/List.tsx +14 -2
  693. package/src/List/ListContext.tsx +60 -1
  694. package/src/List/ListItem.doc.mjs +11 -9
  695. package/src/List/ListItem.tsx +4 -4
  696. package/src/Markdown/Markdown.tsx +189 -190
  697. package/src/Markdown/plugins/protocol.ts +3 -3
  698. package/src/MetadataList/MetadataListItem.tsx +18 -3
  699. package/src/MobileNav/MobileNav.doc.mjs +134 -52
  700. package/src/MobileNav/MobileNav.tsx +13 -9
  701. package/src/MultiSelector/MultiSelector.doc.mjs +2 -2
  702. package/src/MultiSelector/MultiSelector.tsx +51 -8
  703. package/src/NavMenu/NavHeadingMenuItem.tsx +1 -0
  704. package/src/NavMenu/NavMenu.doc.mjs +105 -2
  705. package/src/NumberInput/NumberInput.doc.mjs +12 -10
  706. package/src/NumberInput/NumberInput.tsx +19 -11
  707. package/src/Outline/Outline.doc.mjs +26 -8
  708. package/src/Outline/Outline.tsx +35 -5
  709. package/src/Outline/useScrollSpy.ts +8 -3
  710. package/src/OverflowList/OverflowList.doc.mjs +15 -0
  711. package/src/OverflowList/OverflowList.tsx +62 -26
  712. package/src/Pagination/Pagination.doc.mjs +12 -0
  713. package/src/Pagination/Pagination.tsx +40 -6
  714. package/src/Popover/popoverAnchor.ts +47 -0
  715. package/src/Popover/usePopover.doc.mjs +8 -0
  716. package/src/Popover/usePopover.tsx +99 -5
  717. package/src/PowerSearch/PowerSearch.doc.mjs +8 -8
  718. package/src/PowerSearch/PowerSearch.tsx +65 -12
  719. package/src/PowerSearch/PowerSearchEditPopover.tsx +1 -0
  720. package/src/PowerSearch/PowerSearchFilterEditor.tsx +12 -0
  721. package/src/PowerSearch/PowerSearchToken.tsx +12 -0
  722. package/src/PowerSearch/PowerSearchValueEditor.tsx +14 -19
  723. package/src/ProgressBar/ProgressBar.doc.mjs +2 -2
  724. package/src/ProgressBar/ProgressBar.tsx +44 -30
  725. package/src/RadioList/RadioList.tsx +63 -0
  726. package/src/RadioList/RadioListItem.tsx +4 -1
  727. package/src/Resizable/ResizeHandle.tsx +2 -3
  728. package/src/Resizable/resizableModel.ts +105 -3
  729. package/src/Resizable/useResizable.ts +14 -75
  730. package/src/SegmentedControl/SegmentedControlItem.tsx +1 -0
  731. package/src/SegmentedControl/useSegmentedTouchTracking.ts +76 -12
  732. package/src/Selector/Selector.doc.mjs +34 -7
  733. package/src/Selector/Selector.tsx +55 -25
  734. package/src/Selector/SelectorOption.doc.mjs +5 -5
  735. package/src/Selector/hooks.ts +92 -17
  736. package/src/Selector/useSelectorPresentation.ts +71 -9
  737. package/src/SideNav/SideNavHeading.tsx +5 -1
  738. package/src/SideNav/SideNavItem.doc.mjs +10 -10
  739. package/src/Slider/Slider.tsx +4 -1
  740. package/src/Spinner/Spinner.tsx +56 -41
  741. package/src/Stepper/Step.tsx +18 -3
  742. package/src/Stepper/Stepper.doc.mjs +14 -2
  743. package/src/Swipe/useSwipeAction.ts +3 -3
  744. package/src/Switch/Switch.doc.mjs +61 -5
  745. package/src/Switch/Switch.tsx +72 -35
  746. package/src/Switch/useSwitchTouch.ts +68 -3
  747. package/src/TabList/Tab.tsx +6 -0
  748. package/src/Table/BaseTable.tsx +73 -35
  749. package/src/Table/Table.doc.mjs +108 -4
  750. package/src/Table/Table.tsx +42 -17
  751. package/src/Table/TableBody.tsx +10 -1
  752. package/src/Table/TableCell.tsx +6 -0
  753. package/src/Table/TableHeaderCell.tsx +52 -7
  754. package/src/Table/TableRow.tsx +8 -1
  755. package/src/Table/TableRowPlacementContext.ts +58 -0
  756. package/src/Table/TableSelectionToolbar.tsx +12 -0
  757. package/src/Table/columnUtils.ts +9 -1
  758. package/src/Table/plugins/columnSettings/useTableColumnSettingsState.doc.mjs +1 -1
  759. package/src/Table/plugins/rowIndex/useTableRowIndex.tsx +1 -0
  760. package/src/Table/plugins/sortable/useTableSortable.tsx +15 -2
  761. package/src/Table/plugins/sortable/useTableSortableState.doc.mjs +1 -1
  762. package/src/Table/plugins/sortable/useTableSortableState.tsx +15 -8
  763. package/src/Table/plugins/stickyColumns/useTableStickyColumns.tsx +8 -0
  764. package/src/Table/plugins/tree/useTableTreeData.tsx +90 -14
  765. package/src/Table/table.stylex.ts +44 -5
  766. package/src/Table/types.ts +3 -1
  767. package/src/Table/useTableColumnResize.doc.mjs +3 -3
  768. package/src/Table/useTableColumnSettings.doc.mjs +3 -3
  769. package/src/Table/useTableFilterState.doc.mjs +6 -3
  770. package/src/Table/useTableFiltering.doc.mjs +71 -4
  771. package/src/Table/useTableInfiniteScroll.doc.mjs +2 -2
  772. package/src/Table/useTablePagination.doc.mjs +24 -3
  773. package/src/Table/useTableSelection.doc.mjs +30 -6
  774. package/src/Table/useTableSelectionState.doc.mjs +30 -2
  775. package/src/Table/useTableSortable.doc.mjs +74 -17
  776. package/src/Table/useTableStickyColumns.doc.mjs +3 -3
  777. package/src/Table/useTableTreeData.doc.mjs +2 -2
  778. package/src/Text/Heading.doc.mjs +2 -2
  779. package/src/Text/Text.doc.mjs +1 -1
  780. package/src/Text/TruncationTooltip.tsx +168 -1
  781. package/src/Text/useTruncation.ts +20 -4
  782. package/src/TextArea/TextArea.doc.mjs +5 -5
  783. package/src/TextArea/TextArea.tsx +20 -1
  784. package/src/TextInput/TextInput.doc.mjs +5 -5
  785. package/src/TextInput/TextInput.tsx +23 -18
  786. package/src/Thumbnail/Thumbnail.tsx +2 -1
  787. package/src/Timer/Timer.tsx +21 -6
  788. package/src/Timestamp/Timestamp.tsx +67 -4
  789. package/src/Toast/Toast.doc.mjs +15 -5
  790. package/src/Toast/Toast.tsx +83 -62
  791. package/src/Toast/ToastViewport.tsx +62 -23
  792. package/src/Toast/types.ts +8 -0
  793. package/src/Toast/useToast.doc.mjs +80 -15
  794. package/src/Toast/useToast.tsx +18 -7
  795. package/src/ToggleButton/ToggleButton.doc.mjs +1 -1
  796. package/src/ToggleButton/ToggleButton.tsx +25 -2
  797. package/src/ToggleButton/ToggleButtonGroup.tsx +6 -0
  798. package/src/Token/Token.tsx +5 -1
  799. package/src/Tokenizer/Tokenizer.doc.mjs +14 -2
  800. package/src/Tokenizer/Tokenizer.tsx +82 -61
  801. package/src/Toolbar/Toolbar.tsx +55 -4
  802. package/src/Tooltip/Tooltip.tsx +34 -0
  803. package/src/Tooltip/useTooltip.tsx +26 -0
  804. package/src/TopNav/TopNav.doc.mjs +1 -1
  805. package/src/TopNav/TopNav.tsx +13 -3
  806. package/src/TopNav/TopNavContext.ts +31 -1
  807. package/src/TopNav/TopNavHeading.tsx +12 -6
  808. package/src/TopNav/TopNavMegaMenu.tsx +27 -18
  809. package/src/TopNav/TopNavMegaMenuFeaturedCard.tsx +14 -2
  810. package/src/TopNav/TopNavMegaMenuItem.doc.mjs +26 -5
  811. package/src/TopNav/TopNavMegaMenuItem.tsx +26 -2
  812. package/src/TopNav/TopNavMenu.doc.mjs +19 -8
  813. package/src/TopNav/TopNavMenu.tsx +34 -2
  814. package/src/TopNav/TopNavRenderContext.ts +30 -9
  815. package/src/TreeList/TreeList.tsx +12 -0
  816. package/src/TreeList/TreeListItem.tsx +26 -5
  817. package/src/Typeahead/BaseTypeahead.doc.mjs +6 -0
  818. package/src/Typeahead/BaseTypeahead.tsx +2 -0
  819. package/src/Typeahead/Typeahead.doc.mjs +15 -2
  820. package/src/Typeahead/Typeahead.tsx +37 -13
  821. package/src/Typeahead/TypeaheadItem.tsx +12 -0
  822. package/src/gestures/GestureHost.ts +34 -0
  823. package/src/gestures/README.md +9 -6
  824. package/src/hooks/anchoredHint.tsx +1 -2
  825. package/src/hooks/computeOverflow.ts +10 -0
  826. package/src/hooks/scrollEdgeFade.ts +129 -0
  827. package/src/hooks/statusButtonPress.ts +26 -0
  828. package/src/hooks/useGroupPressTracking.ts +1 -1
  829. package/src/hooks/useOverflow.ts +227 -13
  830. package/src/hooks/useResolvedRequired.ts +50 -1
  831. package/src/hooks/useTreeFocus.ts +8 -4
  832. package/src/hooks/useTypeahead.ts +12 -10
  833. package/src/i18n/InternationalizationContext.ts +16 -7
  834. package/src/i18n/InternationalizationProvider.doc.mjs +1 -1
  835. package/src/i18n/InternationalizationProvider.tsx +12 -0
  836. package/src/i18n/defaultTranslator.ts +25 -0
  837. package/src/i18n/firstStrongDirection.ts +54 -13
  838. package/src/i18n/generated-english/Chat/ChatPastedTextToken.generated.ts +1 -2
  839. package/src/i18n/generated-english/Chat/pastedTextLabel.generated.ts +13 -0
  840. package/src/i18n/generated-english/Chat/useTriggerMenu.generated.ts +1 -0
  841. package/src/i18n/generated-english/CodeBlock/CodeBlock.generated.ts +2 -1
  842. package/src/i18n/generated-english/MultiSelector/MultiSelector.generated.ts +1 -0
  843. package/src/i18n/generated-english/Slider/Slider.generated.ts +2 -1
  844. package/src/i18n/generated-english/TextArea/TextArea.generated.ts +1 -0
  845. package/src/i18n/generated-english/TextInput/TextInput.generated.ts +1 -0
  846. package/src/i18n/generated-english/Timestamp/Timestamp.generated.ts +2 -1
  847. package/src/i18n/generated-english/Tokenizer/Tokenizer.generated.ts +1 -0
  848. package/src/i18n/generated-locales/en.generated.ts +9 -0
  849. package/src/i18n/generated-locales/pseudo.generated.ts +9 -0
  850. package/src/i18n/publicContext.ts +4 -2
  851. package/src/i18n/translatingContext.ts +28 -0
  852. package/src/i18n/useComponentTranslator.ts +3 -2
  853. package/src/i18n/useListFormatter.ts +3 -2
  854. package/src/i18n/useTranslator.ts +3 -2
  855. package/src/internal/touch.ts +7 -0
  856. package/src/keyboard/README.md +58 -16
  857. package/src/keyboard/keyboardHeight.ts +138 -26
  858. package/src/keyboard/keyboardTarget.ts +667 -71
  859. package/src/keyboard/useMobileKeyboard.ts +1 -7
  860. package/src/palette/color.ts +205 -0
  861. package/src/palette/generator.ts +1134 -0
  862. package/src/palette/index.ts +35 -0
  863. package/src/palette/mapping.ts +1630 -0
  864. package/src/palette/themePalette.ts +175 -0
  865. package/src/palette/types.ts +194 -0
  866. package/src/privateAttributes/mediaDarkPage.ts +27 -0
  867. package/src/privateAttributes/pressGroupItem.stylex.ts +2 -1
  868. package/src/privateAttributes/scheme.ts +37 -0
  869. package/src/privateAttributes/travelling.stylex.ts +6 -4
  870. package/src/reset.css +1 -1
  871. package/src/theme/MediaDarkPage.tsx +41 -0
  872. package/src/theme/MediaTheme.tsx +8 -1
  873. package/src/theme/Theme.doc.mjs +4 -4
  874. package/src/theme/Theme.tsx +155 -34
  875. package/src/theme/defineTheme.ts +103 -40
  876. package/src/theme/derivedVarRegistry.ts +61 -4
  877. package/src/theme/expandRadiusScale.ts +1 -5
  878. package/src/theme/generateThemeRules.ts +398 -342
  879. package/src/theme/index.ts +2 -4
  880. package/src/theme/invertedSurfaceSide.ts +65 -0
  881. package/src/theme/resolveThemeValues.ts +8 -2
  882. package/src/theme/statusRoleDefaults.ts +330 -0
  883. package/src/theme/statusRoleDerivation.ts +2 -1
  884. package/src/theme/syntax/SyntaxTheme.tsx +14 -3
  885. package/src/theme/themeAdaptations.ts +53 -5
  886. package/src/theme/tokenDefaults.ts +44 -0
  887. package/src/theme/tokenValues.ts +193 -0
  888. package/src/theme/tokens.stylex.ts +7 -5
  889. package/src/theme/tokens.ts +14 -176
  890. package/src/theme/types.ts +2 -1
  891. package/src/theme/useTheme.ts +294 -21
  892. package/src/utils/devWarning.ts +24 -0
  893. package/src/utils/focusOutline.stylex.ts +7 -4
  894. package/src/utils/hitArea.ts +70 -33
  895. package/src/utils/inputStream.ts +81 -5
  896. package/src/utils/timeFormat.ts +54 -4
  897. package/src/utils/touchPresentation.stylex.ts +7 -6
  898. package/src/utils/touchPresentation.ts +10 -7
  899. package/src/utils/touchQueries.ts +3 -2
  900. package/src/utils/typeaheadMatch.ts +20 -1
package/README.md CHANGED
@@ -2,14 +2,26 @@
2
2
 
3
3
  Core UI components, theme system, and utilities for the Astryx design system. For project setup, see [Quick Start](#quick-start) below.
4
4
 
5
- > **Building with an AI agent?** Add the CLI, then run `init`:
5
+ > **Setup is install, then `init`.** Add the CLI at Core's version and run `init` once, before you write UI:
6
6
  >
7
7
  > ```bash
8
- > npm install -D @astryxdesign/cli # or: pnpm add -D / yarn add -D / bun add -d
9
- > npx @astryxdesign/cli init # the CLI you just installed
8
+ > npm install -D -E @astryxdesign/cli@<core version> # or: pnpm add -D -E / yarn add -D -E / bun add -d --exact
9
+ > npx @astryxdesign/cli init # asks no questions
10
10
  > ```
11
11
  >
12
- > `init` writes the Astryx component index into your `AGENTS.md`/`CLAUDE.md` so your agent discovers components, templates, and design tokens instead of guessing. Need a single command without installing? The same scoped command works: `npx @astryxdesign/cli <cmd>`. Always use the scoped name: the unscoped `astryx` resolves to an unrelated npm package until `@astryxdesign/cli` is a dependency. See [XDS CLI](#xds-cli).
12
+ > Use the version of `@astryxdesign/core` you have. Keep `-E` when `package.json` pins Core exactly, as the starters do; leave it out when Core has a `^` or `~` range.
13
+ >
14
+ > `init` prints the getting-started steps (styles, theme) and saves the Astryx guide to your `AGENTS.md`/`CLAUDE.md`: components, templates, and design tokens, so any agent working in the project builds with Astryx instead of guessing. Read it before you write UI. Always use the scoped name: the unscoped `astryx` resolves to an unrelated npm package until `@astryxdesign/cli` is a dependency. See [Astryx CLI](#astryx-cli).
15
+
16
+ > **Building with an AI agent?** Ask the Astryx CLI before you write code. These commands work with or without the install above:
17
+ >
18
+ > ```bash
19
+ > npx @astryxdesign/cli build "<what you are building>" # the template, blocks and components to start from
20
+ > npx @astryxdesign/cli component <Name> # one component's props, variants and examples
21
+ > npx @astryxdesign/cli doctor --built . # checks the setup and the code you wrote
22
+ > ```
23
+ >
24
+ > The `.doc.mjs` files in this package are only part of what the CLI knows: it also has page templates, blocks and checks that no source file shows.
13
25
 
14
26
  ## Component Docs
15
27
 
@@ -31,7 +43,7 @@ panel slots into common page patterns (dashboards, settings, forms, detail pages
31
43
  Wrap them in your own app chrome (`AppShell`, `TopNav`, `SideNav`) to add
32
44
  global navigation.
33
45
 
34
- Requires `@astryxdesign/cli` (`npm install -D @astryxdesign/cli`):
46
+ Requires `@astryxdesign/cli` at Core's version: `npm install -D -E @astryxdesign/cli@<core version>` (leave out `-E` when Core has a `^` or `~` range).
35
47
 
36
48
  ```bash
37
49
  astryx template --list # browse all page and block templates
@@ -77,27 +89,30 @@ astryx gap-report # report a missing capability
77
89
 
78
90
  Astryx requires **React 19** or later (`react` and `react-dom` >= 19.0.0 are peer dependencies).
79
91
 
80
- Install Astryx and a theme:
92
+ Install Astryx, a theme, and the CLI, then run `init` once:
81
93
 
82
94
  ```bash
83
95
  npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex
96
+ npm install -D @astryxdesign/cli
97
+ npx @astryxdesign/cli init # prints the getting-started steps; saves the Astryx guide to AGENTS.md
84
98
  ```
85
99
 
86
- Then pick your setup below based on your framework and styling approach.
100
+ Then pick your setup below based on your framework and styling approach. The setup you pick wires the theme, so it replaces the theme step `init` prints.
87
101
 
88
102
  ### Next.js (simplest)
89
103
 
90
- The fastest way to get started. No build plugins, no PostCSS, no Babel config — Astryx ships pre-built CSS and JS, so you import three stylesheets (order matters) and wrap your app in a theme provider.
104
+ The fastest way to get started. No build plugins, no PostCSS, no Babel config — Astryx ships pre-built CSS and JS, so you import four stylesheets (order matters) and wrap your app in a theme provider.
91
105
 
92
106
  **`src/app/globals.css`**
93
107
 
94
108
  ```css
109
+ @import '@astryxdesign/theme-neutral/fonts.css';
95
110
  @import '@astryxdesign/core/reset.css';
96
111
  @import '@astryxdesign/core/astryx.css';
97
112
  @import '@astryxdesign/theme-neutral/theme.css';
98
113
  ```
99
114
 
100
- The import order maps to the layer cascade: `reset.css` (`@layer reset`) → `astryx.css` component styles (`@layer astryx-base`) → `theme.css` token overrides (`@layer astryx-theme`).
115
+ The import order maps to the layer cascade: `reset.css` (`@layer reset`) → `astryx.css` component styles (`@layer astryx-base`) → `theme.css` token overrides (`@layer astryx-theme`). `fonts.css` loads the theme's fonts: `@font-face` rules for font files the theme package ships, so the page requests nothing outside your app. Without it the page falls back to the system font stack.
101
116
 
102
117
  **`src/app/providers.tsx`**
103
118
 
@@ -146,6 +161,7 @@ This `globals.css` is the whole file for a new app. For an app that already uses
146
161
  ```css
147
162
  @layer reset, theme, base, astryx-base, astryx-theme, components, utilities;
148
163
 
164
+ @import '@astryxdesign/theme-neutral/fonts.css';
149
165
  @import 'tailwindcss/theme.css' layer(theme);
150
166
  @import 'tailwindcss/preflight.css' layer(base);
151
167
  @import '@astryxdesign/core/reset.css';
@@ -239,6 +255,7 @@ npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex
239
255
  **`src/app/globals.css`**
240
256
 
241
257
  ```css
258
+ @import '@astryxdesign/theme-neutral/fonts.css';
242
259
  @import '@astryxdesign/core/reset.css';
243
260
  @import '@astryxdesign/core/astryx.css';
244
261
  @import '@astryxdesign/theme-neutral/theme.css';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @file AlertDialog.tsx
3
- * @input Uses React, StyleX, Dialog, Layout, Heading, Text, Button, the
3
+ * @input Uses React, StyleX, Dialog, Layout, Text's type styles, Button, the
4
4
  * action-group tracking (hooks/useActionGroupTracking), the press-group
5
5
  * context (hooks/pressGroupContext), the group pointers
6
6
  * (hooks/useGroupPressTracking) and the touch motion (useAlertMotion)
@@ -1 +1 @@
1
- {"version":3,"file":"AlertDialog.d.ts","sourceRoot":"","sources":["../../src/AlertDialog/AlertDialog.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAmC,MAAM,OAAO,CAAC;AAUxD,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CA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Dialog, Layout, Heading, Text, Button, the
7
+ * @input Uses React, StyleX, Dialog, Layout, Text's type styles, Button, the
8
8
  * action-group tracking (hooks/useActionGroupTracking), the press-group
9
9
  * context (hooks/pressGroupContext), the group pointers
10
10
  * (hooks/useGroupPressTracking) and the touch motion (useAlertMotion)
@@ -27,8 +27,7 @@ import { Layout } from "../Layout/Layout.js";
27
27
  import { LayoutContent } from "../Layout/LayoutContent.js";
28
28
  import { LayoutFooter } from "../Layout/LayoutFooter.js";
29
29
  import { Stack } from "../Stack/Stack.js";
30
- import { Heading } from "../Heading/Heading.js";
31
- import { Text } from "../Text/Text.js";
30
+ import { colorStyles, defaultWeightByTypeStyles, displayStyles, sizeByLevelStyles, sizeByTypeStyles } from "../Text/text.stylex.js";
32
31
  import { Button } from "../Button/Button.js";
33
32
  import { mergeProps } from "../utils/mergeProps.js";
34
33
  import { themeProps } from "../utils/themeProps.js";
@@ -206,14 +205,13 @@ export function AlertDialog({
206
205
  "data-testid": testId,
207
206
  children: /*#__PURE__*/_jsx(Layout, {
208
207
  content: /*#__PURE__*/_jsxs(LayoutContent, {
209
- children: [/*#__PURE__*/_jsx(Heading, {
210
- level: 2,
208
+ children: [/*#__PURE__*/_jsx("h2", {
211
209
  id: titleId,
210
+ ...mergeProps(themeProps('alert-dialog-title'), stylex.props(colorStyles.primary, sizeByLevelStyles[2], displayStyles.block)),
212
211
  children: title
213
- }), /*#__PURE__*/_jsx(Text, {
214
- type: "body",
215
- color: "secondary",
212
+ }), /*#__PURE__*/_jsx("span", {
216
213
  id: descriptionId,
214
+ ...mergeProps(themeProps('alert-dialog-description'), stylex.props(colorStyles.secondary, sizeByTypeStyles.body, defaultWeightByTypeStyles.body, displayStyles.inline)),
217
215
  children: description
218
216
  })]
219
217
  }),
@@ -72,9 +72,13 @@ export interface MobileNavConfig {
72
72
  breakpoint?: AppShellBreakpoint;
73
73
  /**
74
74
  * SSR hint: whether the initial render should assume mobile layout.
75
- * Seeds the breakpoint state so the server-rendered HTML matches
76
- * the client on mobile devices, avoiding a layout flash. Ignored when
77
- * `breakpoint` is `none`, which is always non-mobile.
75
+ * Seeds the breakpoint state so the server-rendered HTML is the phone
76
+ * layout, menu toggle included. Without it, when the theme keeps the
77
+ * standard width points, the server-rendered wide layout still paints
78
+ * without its inline side nav, and with only the top nav's heading and end
79
+ * content, below the breakpoint, and the toggle arrives when the page's
80
+ * script runs. Ignored when `breakpoint` is
81
+ * `none`, which is always non-mobile.
78
82
  *
79
83
  * Derive from the User-Agent header or a device-detection cookie
80
84
  * in a server component, then pass down.
@@ -1 +1 @@
1
- {"version":3,"file":"AppShell.d.ts","sourceRoot":"","sources":["../../src/AppShell/AppShell.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EASL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AA0Cf,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAW5C,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AA6ChD;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG,MAAM,CAAC;AAE9D;;;;;;;GAOG;AAEH;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,kBAAkB,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAEzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;;;;;OAM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AAG,SAAS,CAAC;IAEhD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAwQD,wBAAgB,QAAQ,CAAC,EACvB,OAAoB,EACpB,MAAM,EACN,QAAQ,EACR,cAAc,EACd,aAAa,EAAE,UAAU,EACzB,MAAe,EACf,SAAS,EACT,OAAO,EACP,MAAM,EACN,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,EACH,GAAG,IAAI,EACR,EAAE,aAAa,qBAo1Bf;yBAn2Be,QAAQ"}
@@ -29,6 +29,7 @@ import { LayoutHeader } from "../Layout/LayoutHeader.js";
29
29
  import { LayoutPanel } from "../Layout/LayoutPanel.js";
30
30
  import { LayoutContent } from "../Layout/LayoutContent.js";
31
31
  import { LayoutAreaContext } from "../Layout/LayoutAreaContext.js";
32
+ import { LayoutContainerContext } from "../Layout/LayoutContainerContext.js";
32
33
  import { LayoutDividerContext } from "../Layout/LayoutDividerContext.js";
33
34
  import { DEFAULT_LAYOUT_SLOTS, LayoutSlotsContext } from "../Layout/LayoutSlotsContext.js";
34
35
  import { layoutReset } from "../Layout/layoutReset.js";
@@ -38,18 +39,20 @@ import { SideNavRenderContext } from "../SideNav/SideNavRenderContext.js";
38
39
  import { SideNavShellContext } from "../SideNav/railMotion.js";
39
40
  import { useAnimatedLayout } from "../hooks/useAnimatedLayout.js";
40
41
  import { holdLayoutSwap, landLayoutGlide, layoutMotionFor, layoutStartFor, playLayoutFrames, playLayoutSwap, reportLayoutChange } from "../motion/animatedLayout.js";
41
- import { TopNavRenderContext } from "../TopNav/TopNavRenderContext.js";
42
+ import { TopNavRenderContext, TopNavUnreadRegionContext } from "../TopNav/TopNavRenderContext.js";
42
43
  import { TopNavMobileContentContext } from "../TopNav/TopNavMobileContentContext.js";
43
44
  import { AppShellMobileContext } from "./AppShellMobileContext.js";
45
+ import { UNREAD_STYLES, unreadWidthPoint } from "./unreadWidthPoint.js";
44
46
  import { AppShellNestingContext, useAppShellMainId } from "./useAppShellMainId.js";
45
47
  import { mergeProps, isRenderable } from "../utils/index.js";
46
48
  import { focusOutlineProps, focusOutlineStyles } from "../utils/focusOutline.stylex.js";
49
+ import { useIsHydrating } from "../hooks/useIsHydrating.js";
47
50
  import { useMediaQuery } from "../hooks/useMediaQuery.js";
48
51
  import { matchesMediaQuery } from "../utils/coarsePointer.js";
49
52
  import { observeResize } from "../utils/sharedResizeObserver.js";
50
53
  import { themeProps } from "../utils/themeProps.js";
51
54
  import { useThemeDefinition } from "../theme/useTheme.js";
52
- import { DEFAULT_WIDTH_BREAKPOINTS } from "../theme/themeAdaptations.js";
55
+ import { DEFAULT_WIDTH_BREAKPOINTS, widthBelowFeature } from "../theme/themeAdaptations.js";
53
56
  import { useMergedRefs } from "../hooks/useMergedRefs.js";
54
57
  import { attachScrollKeyboardDelegation } from "../hooks/scrollKeyboardDelegation.js";
55
58
  import { observeMainOverflow } from "./observeMainOverflow.js";
@@ -170,6 +173,7 @@ const styles = {
170
173
  kybGjl: "x1hl2dhg",
171
174
  k63SB2: "x2mo6ok",
172
175
  kGuDYH: "xjm74w1",
176
+ kLWn49: "xw6l6zx",
173
177
  $$css: true
174
178
  },
175
179
  mainFocusTarget: {
@@ -184,6 +188,14 @@ const styles = {
184
188
  kInvED: "x1wfwxd8 x1nw7mhf",
185
189
  $$css: true
186
190
  },
191
+ elevatedBackdrop: {
192
+ kVAEAm: "x10l6tqk",
193
+ kpwlN0: "x10a8y8t",
194
+ kWkggS: "x10xzikg",
195
+ krdFHd: "x183tx6i",
196
+ kfzvcC: "x47corl",
197
+ $$css: true
198
+ },
187
199
  contentBgSurface: {
188
200
  kWkggS: "x10xzikg",
189
201
  $$css: true
@@ -318,14 +330,19 @@ export function AppShell({
318
330
  // Mobile nav open state (controlled + uncontrolled)
319
331
  // =========================================================================
320
332
  const activeWidthBreakpoints = activeTheme?.__adaptations?.widthBreakpoints;
321
- const breakpointQuery = sideNavBreakpoint === 'none' ? '(width < 0px)' : `(width < ${activeWidthBreakpoints?.[sideNavBreakpoint] ?? DEFAULT_WIDTH_BREAKPOINTS[sideNavBreakpoint]}px)`;
333
+ const breakpointWidth = sideNavBreakpoint === 'none' ? null : activeWidthBreakpoints?.[sideNavBreakpoint] ?? DEFAULT_WIDTH_BREAKPOINTS[sideNavBreakpoint];
334
+ const breakpointQuery = widthBelowFeature(breakpointWidth ?? 0);
335
+ const isMobileOnServer = breakpointWidth != null && mobileNavConfig?.defaultIsMobile === true;
336
+ const isBelowBreakpointNow = useMediaQuery(breakpointQuery, isMobileOnServer);
337
+ const hasReadWindow = !useIsHydrating();
322
338
  // The client's first answer can differ from the server's. That correction
323
339
  // is an urgent update, and it changes the mobile context above the page.
324
340
  // React answers an urgent update above content it has not hydrated by
325
341
  // rendering that content again in place of its server HTML. A deferred
326
342
  // value takes the client's answer in a transition, which waits for that
327
343
  // content to hydrate.
328
- const isBelowBreakpoint = useDeferredValue(useMediaQuery(breakpointQuery, sideNavBreakpoint === 'none' ? false : mobileNavConfig?.defaultIsMobile));
344
+ const layoutWidth = useDeferredValue(!hasReadWindow ? 'unread' : isBelowBreakpointNow ? 'mobile' : 'wide');
345
+ const isBelowBreakpoint = layoutWidth === 'unread' ? isMobileOnServer : layoutWidth === 'mobile';
329
346
  const [uncontrolledMobileOpen, setUncontrolledMobileOpen] = useState(false);
330
347
  const isMobileNavOpen = mobileNavConfig?.isOpen ?? uncontrolledMobileOpen;
331
348
 
@@ -492,6 +509,12 @@ export function AppShell({
492
509
  // Determine if sideNav should show as overlay (mobile) or inline
493
510
  // =========================================================================
494
511
  const showSideNavInline = hasSideNav && !isBelowBreakpoint;
512
+ // Until the shell reads the window, a phone can be showing the server's wide
513
+ // layout. CSS then hides the inline side nav and flattens the elevated
514
+ // corner below the breakpoint. A theme that moves the point has no compiled
515
+ // rule, so its shell keeps the server's layout until it reads the window.
516
+ const unreadPoint = unreadWidthPoint(layoutWidth === 'unread', sideNavBreakpoint, breakpointWidth);
517
+ const unreadStyles = showSideNavInline && unreadPoint != null ? UNREAD_STYLES[unreadPoint] : undefined;
495
518
 
496
519
  // Mobile nav rendering modes:
497
520
  // 1. ReactNode shorthand — user provided <MobileNav> directly
@@ -540,13 +563,27 @@ export function AppShell({
540
563
  value: "drawer-content",
541
564
  children: sideNav
542
565
  }) : null;
543
- const topNavContent = hasTopNav ? isBelowBreakpoint && !mobileNavDisabled && mobileNavReactNode == null ? /*#__PURE__*/_jsx(TopNavMobileContentContext, {
566
+ const topNavTakesMobileBar = !mobileNavDisabled && mobileNavReactNode == null;
567
+ // Until the shell reads the window, the server's full bar can be showing on
568
+ // a phone. The full bar then hides its start and center content below the
569
+ // breakpoint, as the mobile bar does. The toggle arrives when the shell
570
+ // reads the window. A theme that moves the point has no compiled rule, so
571
+ // its bar keeps the server's layout until then.
572
+ const unreadTopNavRegion = !isBelowBreakpoint && topNavTakesMobileBar && unreadPoint != null ? UNREAD_STYLES[unreadPoint].topNavRegion : null;
573
+ const topNavContent = hasTopNav ? isBelowBreakpoint && topNavTakesMobileBar ? /*#__PURE__*/_jsx(TopNavMobileContentContext, {
544
574
  value: mobileContentValue,
545
575
  children: /*#__PURE__*/_jsx(TopNavRenderContext, {
546
576
  value: "mobile-bar",
547
577
  children: topNav
548
578
  })
549
- }) : topNav : null;
579
+ }) :
580
+ /*#__PURE__*/
581
+ // Always present on this branch, so reading the window keeps the bar
582
+ // mounted.
583
+ _jsx(TopNavUnreadRegionContext, {
584
+ value: unreadTopNavRegion,
585
+ children: topNav
586
+ }) : null;
550
587
  const headerInner = hasTopNav || hasBanner ? /*#__PURE__*/_jsxs(LayoutHeader, {
551
588
  padding: 0,
552
589
  hasDivider: navHasDividers && hasTopNav,
@@ -722,7 +759,7 @@ export function AppShell({
722
759
  ...themeProps('app-shell-sidenav', {
723
760
  variant
724
761
  }),
725
- xstyle: [navAreaStyle, isAuto && stickyBgStyle, isAuto && styles.panelAutoFill],
762
+ xstyle: [navAreaStyle, isAuto && stickyBgStyle, isAuto && styles.panelAutoFill, unreadStyles?.sideNav],
726
763
  children: /*#__PURE__*/_jsx(SideNavShellContext, {
727
764
  value: sideNavShell,
728
765
  children: sideNav
@@ -856,9 +893,7 @@ export function AppShell({
856
893
  }[!!shouldElevateWithCorner << 0],
857
894
  children: [shouldElevateWithCorner && /*#__PURE__*/_jsx("div", {
858
895
  ref: backdropRef,
859
- ...{
860
- className: "x10l6tqk x10a8y8t x10xzikg x183tx6i x47corl"
861
- }
896
+ ...stylex.props(styles.elevatedBackdrop, unreadStyles?.corner)
862
897
  }), mainInner]
863
898
  });
864
899
 
@@ -920,35 +955,38 @@ export function AppShell({
920
955
  value: null,
921
956
  children: /*#__PURE__*/_jsx(LayoutSlotsContext, {
922
957
  value: DEFAULT_LAYOUT_SLOTS,
923
- children: /*#__PURE__*/_jsxs(LayoutDividerContext, {
958
+ children: /*#__PURE__*/_jsx(LayoutDividerContext, {
924
959
  value: null,
925
- children: [/*#__PURE__*/_jsx("a", {
926
- href: `#${mainContentId}`,
927
- onClick: handleSkipLinkClick,
928
- ...focusOutlineProps.focusVisible(styles.skipLink),
929
- "data-testid": "skip-to-content",
930
- children: t('@astryx.appShell.skipToContent')
931
- }), /*#__PURE__*/_jsx(Layout, {
932
- height: height,
933
- padding: 0,
934
- header: /*#__PURE__*/_jsxs(_Fragment, {
935
- children: [headerContent, autoMobileTopBar]
936
- }),
937
- start: sideNavContent,
938
- content: mainContent
939
- }), shouldRenderMobileNavReactNode && mobileNavReactNode, shouldRenderConfigContent && mobileNavConfigContent, isBelowBreakpoint && !mobileNavDisabled && mobileNavReactNode == null && !mobileNavConfigContent && /*#__PURE__*/_jsxs(ActivityWrapper, {
940
- mode: isMobileNavActivityVisible ? 'visible' : 'hidden',
941
- children: [hasSideNav && !hasTopNav && /*#__PURE__*/_jsx(SideNavRenderContext, {
942
- value: "drawer",
943
- children: sideNav
944
- }), hasTopNav && /*#__PURE__*/_jsx(TopNavMobileContentContext, {
945
- value: drawerMobileContentValue,
946
- children: /*#__PURE__*/_jsx(TopNavRenderContext, {
960
+ children: /*#__PURE__*/_jsxs(LayoutContainerContext, {
961
+ value: null,
962
+ children: [/*#__PURE__*/_jsx("a", {
963
+ href: `#${mainContentId}`,
964
+ onClick: handleSkipLinkClick,
965
+ ...focusOutlineProps.focusVisible(styles.skipLink),
966
+ "data-testid": "skip-to-content",
967
+ children: t('@astryx.appShell.skipToContent')
968
+ }), /*#__PURE__*/_jsx(Layout, {
969
+ height: height,
970
+ padding: 0,
971
+ header: /*#__PURE__*/_jsxs(_Fragment, {
972
+ children: [headerContent, autoMobileTopBar]
973
+ }),
974
+ start: sideNavContent,
975
+ content: mainContent
976
+ }), shouldRenderMobileNavReactNode && mobileNavReactNode, shouldRenderConfigContent && mobileNavConfigContent, isBelowBreakpoint && !mobileNavDisabled && mobileNavReactNode == null && !mobileNavConfigContent && /*#__PURE__*/_jsxs(ActivityWrapper, {
977
+ mode: isMobileNavActivityVisible ? 'visible' : 'hidden',
978
+ children: [hasSideNav && !hasTopNav && /*#__PURE__*/_jsx(SideNavRenderContext, {
947
979
  value: "drawer",
948
- children: topNav
949
- })
980
+ children: sideNav
981
+ }), hasTopNav && /*#__PURE__*/_jsx(TopNavMobileContentContext, {
982
+ value: drawerMobileContentValue,
983
+ children: /*#__PURE__*/_jsx(TopNavRenderContext, {
984
+ value: "drawer",
985
+ children: topNav
986
+ })
987
+ })]
950
988
  })]
951
- })]
989
+ })
952
990
  })
953
991
  })
954
992
  })
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @file unreadWidthPoint.ts
3
+ * @input The shell's layout state, its side nav breakpoint and the width the
4
+ * theme gives that breakpoint
5
+ * @output unreadWidthPoint (the standard width point below which a shell that
6
+ * has not read the window hides its phone-only regions) and UNREAD_STYLES
7
+ * (the compiled rule for each standard point: the inline side nav, the
8
+ * elevated corner and the top nav's start and center regions)
9
+ * @position Private to AppShell: its layout before it reads the window, and
10
+ * the only module that writes the standard width points as media keys.
11
+ * AppShell computes the point once and hands TopNav its region rule through
12
+ * TopNavUnreadRegionContext.
13
+ */
14
+ import * as stylex from '@stylexjs/stylex';
15
+ import { type WidthBreakpointName } from '../theme/themeAdaptations.js';
16
+ /**
17
+ * The standard width point below which a shell that has not read the window
18
+ * shows its phone layout through CSS, or null. StyleX compiles media queries
19
+ * ahead of time, so only the standard points have a rule: a theme that moves
20
+ * the point keeps the server's layout until the shell reads the window.
21
+ */
22
+ export declare function unreadWidthPoint(isUnread: boolean, breakpoint: WidthBreakpointName | 'none', breakpointWidth: number | null): WidthBreakpointName | null;
23
+ /** The rules for each standard width point. */
24
+ export declare const UNREAD_STYLES: Readonly<Record<WidthBreakpointName, {
25
+ sideNav: stylex.StyleXStyles;
26
+ corner: stylex.StyleXStyles;
27
+ topNavRegion: stylex.StyleXStyles;
28
+ }>>;
29
+ //# sourceMappingURL=unreadWidthPoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unreadWidthPoint.d.ts","sourceRoot":"","sources":["../../src/AppShell/unreadWidthPoint.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,2BAA2B,CAAC;AAEnC;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,OAAO,EACjB,UAAU,EAAE,mBAAmB,GAAG,MAAM,EACxC,eAAe,EAAE,MAAM,GAAG,IAAI,GAC7B,mBAAmB,GAAG,IAAI,CAM5B;AAsFD,+CAA+C;AAC/C,eAAO,MAAM,aAAa,EAAE,QAAQ,CAClC,MAAM,CACJ,mBAAmB,EACnB;IACE,OAAO,EAAE,MAAM,CAAC,YAAY,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC,YAAY,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC,YAAY,CAAC;CACnC,CACF,CA2BF,CAAC"}
@@ -0,0 +1,134 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /**
4
+ * @file unreadWidthPoint.ts
5
+ * @input The shell's layout state, its side nav breakpoint and the width the
6
+ * theme gives that breakpoint
7
+ * @output unreadWidthPoint (the standard width point below which a shell that
8
+ * has not read the window hides its phone-only regions) and UNREAD_STYLES
9
+ * (the compiled rule for each standard point: the inline side nav, the
10
+ * elevated corner and the top nav's start and center regions)
11
+ * @position Private to AppShell: its layout before it reads the window, and
12
+ * the only module that writes the standard width points as media keys.
13
+ * AppShell computes the point once and hands TopNav its region rule through
14
+ * TopNavUnreadRegionContext.
15
+ */
16
+
17
+ import * as stylex from '@stylexjs/stylex';
18
+ import "../theme/tokens.stylex.js";
19
+ import { radiusVars } from "../theme/tokens.stylex.js";
20
+ import { DEFAULT_WIDTH_BREAKPOINTS } from "../theme/themeAdaptations.js";
21
+
22
+ /**
23
+ * The standard width point below which a shell that has not read the window
24
+ * shows its phone layout through CSS, or null. StyleX compiles media queries
25
+ * ahead of time, so only the standard points have a rule: a theme that moves
26
+ * the point keeps the server's layout until the shell reads the window.
27
+ */
28
+ export function unreadWidthPoint(isUnread, breakpoint, breakpointWidth) {
29
+ return isUnread && breakpoint !== 'none' && breakpointWidth === DEFAULT_WIDTH_BREAKPOINTS[breakpoint] ? breakpoint : null;
30
+ }
31
+
32
+ // One rule per standard width point (`DEFAULT_WIDTH_BREAKPOINTS`). The
33
+ // queries use `not all and (min-width)`: StyleX lowers `(width < N)` to
34
+ // `(max-width: N - 0.01)`, which Chromium rounds up to N, so the rule would
35
+ // also apply at the point itself. Below the point, the inline side nav does
36
+ // not paint, the elevated backdrop loses its corner, and the top nav's start
37
+ // and center regions do not paint, as in the phone layout.
38
+ const sideNavStyles = {
39
+ sm: {
40
+ k1xSpc: "x1d592f6",
41
+ $$css: true
42
+ },
43
+ md: {
44
+ k1xSpc: "xgs58o8",
45
+ $$css: true
46
+ },
47
+ lg: {
48
+ k1xSpc: "xjzer9l",
49
+ $$css: true
50
+ },
51
+ xl: {
52
+ k1xSpc: "x1bwilkz",
53
+ $$css: true
54
+ },
55
+ "2xl": {
56
+ k1xSpc: "x1q9a9pi",
57
+ $$css: true
58
+ }
59
+ };
60
+ const cornerStyles = {
61
+ sm: {
62
+ krdFHd: "x183tx6i xctd0pb",
63
+ $$css: true
64
+ },
65
+ md: {
66
+ krdFHd: "x183tx6i xc4oep8",
67
+ $$css: true
68
+ },
69
+ lg: {
70
+ krdFHd: "x183tx6i x16174yq",
71
+ $$css: true
72
+ },
73
+ xl: {
74
+ krdFHd: "x183tx6i x5asj52",
75
+ $$css: true
76
+ },
77
+ "2xl": {
78
+ krdFHd: "x183tx6i xnnrhfx",
79
+ $$css: true
80
+ }
81
+ };
82
+ // The regions are flex rows: a StyleX value replaces the whole property, so
83
+ // the rule keeps `flex` above the point.
84
+ const topNavRegionStyles = {
85
+ sm: {
86
+ k1xSpc: "x78zum5 x1d592f6",
87
+ $$css: true
88
+ },
89
+ md: {
90
+ k1xSpc: "x78zum5 xgs58o8",
91
+ $$css: true
92
+ },
93
+ lg: {
94
+ k1xSpc: "x78zum5 xjzer9l",
95
+ $$css: true
96
+ },
97
+ xl: {
98
+ k1xSpc: "x78zum5 x1bwilkz",
99
+ $$css: true
100
+ },
101
+ "2xl": {
102
+ k1xSpc: "x78zum5 x1q9a9pi",
103
+ $$css: true
104
+ }
105
+ };
106
+
107
+ /** The rules for each standard width point. */
108
+ export const UNREAD_STYLES = {
109
+ sm: {
110
+ sideNav: sideNavStyles.sm,
111
+ corner: cornerStyles.sm,
112
+ topNavRegion: topNavRegionStyles.sm
113
+ },
114
+ md: {
115
+ sideNav: sideNavStyles.md,
116
+ corner: cornerStyles.md,
117
+ topNavRegion: topNavRegionStyles.md
118
+ },
119
+ lg: {
120
+ sideNav: sideNavStyles.lg,
121
+ corner: cornerStyles.lg,
122
+ topNavRegion: topNavRegionStyles.lg
123
+ },
124
+ xl: {
125
+ sideNav: sideNavStyles.xl,
126
+ corner: cornerStyles.xl,
127
+ topNavRegion: topNavRegionStyles.xl
128
+ },
129
+ '2xl': {
130
+ sideNav: sideNavStyles['2xl'],
131
+ corner: cornerStyles['2xl'],
132
+ topNavRegion: topNavRegionStyles['2xl']
133
+ }
134
+ };
@@ -42,7 +42,7 @@ export interface AvatarGroupOverflowProps extends Omit<BaseProps<HTMLElement>, '
42
42
  * </AvatarGroup>
43
43
  * ```
44
44
  */
45
- export declare function AvatarGroupOverflow({ ref, count, onClick, children, xstyle, className, style, ...rest }: AvatarGroupOverflowProps): ReactNode;
45
+ export declare function AvatarGroupOverflow({ ref, count, onClick, children, xstyle, className, style, 'aria-label': ariaLabel, ...rest }: AvatarGroupOverflowProps): ReactNode;
46
46
  export declare namespace AvatarGroupOverflow {
47
47
  var displayName: string;
48
48
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarGroupOverflow.d.ts","sourceRoot":"","sources":["../../src/AvatarGroup/AvatarGroupOverflow.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,EAAC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAa5C,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAgB5C,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CACpD,SAAS,CAAC,WAAW,CAAC,EACtB,SAAS,CACV;IACC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA8ED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,KAAK,EACL,OAAO,EACP,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,wBAAwB,GAAG,SAAS,CAuEtC;yBAhFe,mBAAmB"}
1
+ {"version":3,"file":"AvatarGroupOverflow.d.ts","sourceRoot":"","sources":["../../src/AvatarGroup/AvatarGroupOverflow.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,EAAC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAa5C,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAgB5C,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CACpD,SAAS,CAAC,WAAW,CAAC,EACtB,SAAS,CACV;IACC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA+ED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,KAAK,EACL,OAAO,EACP,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,GAAG,IAAI,EACR,EAAE,wBAAwB,GAAG,SAAS,CA0EtC;yBApFe,mBAAmB"}
@@ -68,6 +68,7 @@ const _temp = {
68
68
  };
69
69
  const _temp2 = {
70
70
  kGuDYH: "xdmh292",
71
+ kLWn49: "x1ltkj2j",
71
72
  "$$css": true
72
73
  };
73
74
  const _temp3 = {
@@ -109,6 +110,7 @@ export function AvatarGroupOverflow({
109
110
  xstyle,
110
111
  className,
111
112
  style,
113
+ 'aria-label': ariaLabel,
112
114
  ...rest
113
115
  }) {
114
116
  const pressable = usePressFeedback();
@@ -123,7 +125,9 @@ export function AvatarGroupOverflow({
123
125
  // `total - visibleCount`, which goes negative whenever the list is shorter
124
126
  // than the slice. Clamping keeps that from rendering "+-3".
125
127
  const safeCount = Math.max(0, count);
126
- const label = t('@astryx.avatarGroup.overflow', {
128
+ // A caller's non-empty aria-label names the indicator; the count is the
129
+ // fallback. A caller's aria-labelledby wins over both in the browser.
130
+ const label = ariaLabel || t('@astryx.avatarGroup.overflow', {
127
131
  count: safeCount
128
132
  });
129
133
  const content = children ?? `+${safeCount}`;
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../src/Badge/Badge.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAa5C,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AA8J7C;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,eAAe,CAAC;AAEjD,MAAM,WAAW,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IAC5D,wCAAwC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IACjC;;;OAGG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,KAAK,CAAC,EACpB,OAAmB,EACnB,KAAK,EACL,IAAI,EACJ,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,EACH,GAAG,KAAK,EACT,EAAE,UAAU,+BA+CZ;yBAxDe,KAAK"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../src/Badge/Badge.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAa5C,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAiK7C;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,eAAe,CAAC;AAEjD,MAAM,WAAW,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IAC5D,wCAAwC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IACjC;;;OAGG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,KAAK,CAAC,EACpB,OAAmB,EACnB,KAAK,EACL,IAAI,EACJ,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,EACH,GAAG,KAAK,EACT,EAAE,UAAU,+BA+CZ;yBAxDe,KAAK"}
@@ -57,8 +57,8 @@ const styles = {
57
57
  */
58
58
  const variants = {
59
59
  neutral: {
60
- kWkggS: "x17x4s8c",
61
- kMwMTN: "x1tgivj0",
60
+ kWkggS: "xxqga8b",
61
+ kMwMTN: "xzfxgs9",
62
62
  $$css: true
63
63
  },
64
64
  info: {
@@ -11,10 +11,12 @@
11
11
  * - End area restores the ordinary text context for consumer `endContent`; built-in controls opt back into the status foreground
12
12
  * - Content area (themeProps 'banner-content'): card background for additional content (children)
13
13
  * - Status icon (themeProps 'banner-icon'): the target rides on the default
14
- * <Icon> itself — the element that paints — so 'status:X' overrides reach
15
- * the glyph (#4166); for a custom `icon` node it stays on the layout wrapper
16
- * - Description (themeProps 'banner-description'): the supporting line owns its
17
- * own colour and type, and the space between it and the title
14
+ * <Icon> itself, a direct header item, so 'status:X' overrides reach the
15
+ * glyph and hiding it leaves no gap; a custom `icon` node gets a wrapper
16
+ * that carries the target
17
+ * - Message (themeProps 'banner-message'): the title and description column
18
+ * - Title (themeProps 'banner-title') and description (themeProps
19
+ * 'banner-description'): each line owns its own colour and type
18
20
  * - The end area carries no target: it is a layout row (flex, wrap, edge
19
21
  * compensation) rather than a painted surface, and a theme that wants the
20
22
  * header to grow around its buttons sets `padding-block` on 'banner'
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../src/Banner/Banner.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,OAAO,EAA0B,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAgB5C,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,+BAA+B,CAAC;AAErE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAG9C,OAAO,KAAK,EAAC,eAAe,EAAE,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAajE;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,eAAe,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,kBAAkB,CAAC;AAEvD,MAAM,WAAW,WAAY,SAAQ,SAAS,CAAC,cAAc,CAAC;IAC5D,wCAAwC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC;;OAEG;IACH,MAAM,EAAE,YAAY,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;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