@astryxdesign/core 0.7.4-canary.faa934f → 0.7.5-canary.0026f37

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 (556) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/AlertDialog/AlertDialog.d.ts +2 -2
  3. package/dist/AlertDialog/index.d.ts +4 -4
  4. package/dist/AlertDialog/useImperativeAlertDialog.d.ts +1 -1
  5. package/dist/AppShell/AppShell.d.ts +4 -4
  6. package/dist/AppShell/index.d.ts +4 -4
  7. package/dist/AspectRatio/AspectRatio.d.ts +1 -1
  8. package/dist/AspectRatio/index.d.ts +2 -2
  9. package/dist/Avatar/Avatar.d.ts +2 -2
  10. package/dist/Avatar/AvatarStatusDot.d.ts +2 -2
  11. package/dist/Avatar/index.d.ts +4 -4
  12. package/dist/AvatarGroup/AvatarGroup.d.ts +2 -2
  13. package/dist/AvatarGroup/AvatarGroupContext.d.ts +1 -1
  14. package/dist/AvatarGroup/AvatarGroupOverflow.d.ts +1 -1
  15. package/dist/AvatarGroup/index.d.ts +6 -6
  16. package/dist/Badge/Badge.d.ts +2 -2
  17. package/dist/Badge/index.d.ts +2 -2
  18. package/dist/Banner/Banner.d.ts +4 -4
  19. package/dist/Banner/index.d.ts +2 -2
  20. package/dist/Blockquote/Blockquote.d.ts +1 -1
  21. package/dist/Blockquote/index.d.ts +2 -2
  22. package/dist/BottomSheet/BottomSheet.d.ts +10 -6
  23. package/dist/BottomSheet/BottomSheet.d.ts.map +1 -1
  24. package/dist/BottomSheet/BottomSheet.js +12 -1
  25. package/dist/BottomSheet/BottomSheetPanel.d.ts +3 -3
  26. package/dist/BottomSheet/BottomSheetSwitcher.d.ts +1 -1
  27. package/dist/BottomSheet/BottomSheetSwitcherContext.d.ts +2 -2
  28. package/dist/BottomSheet/index.d.ts +4 -4
  29. package/dist/Breadcrumbs/BreadcrumbItem.d.ts +4 -4
  30. package/dist/Breadcrumbs/Breadcrumbs.d.ts +2 -2
  31. package/dist/Breadcrumbs/index.d.ts +12 -12
  32. package/dist/Button/Button.d.ts +4 -4
  33. package/dist/Button/index.d.ts +2 -2
  34. package/dist/ButtonGroup/ButtonGroup.d.ts +4 -4
  35. package/dist/ButtonGroup/index.d.ts +4 -4
  36. package/dist/Calendar/Calendar.d.ts +3 -3
  37. package/dist/Calendar/dayCellUtils.d.ts +1 -1
  38. package/dist/Calendar/getInitialFocusDate.d.ts +2 -2
  39. package/dist/Calendar/getStandaloneShortWeekdayNames.d.ts +1 -1
  40. package/dist/Calendar/hooks/index.d.ts +6 -6
  41. package/dist/Calendar/hooks/useCalendarConstraints.d.ts +2 -2
  42. package/dist/Calendar/hooks/useCalendarDays.d.ts +2 -2
  43. package/dist/Calendar/hooks/useCalendarNavigation.d.ts +2 -2
  44. package/dist/Calendar/index.d.ts +5 -5
  45. package/dist/Calendar/utils.d.ts +1 -1
  46. package/dist/Card/Card.d.ts +4 -4
  47. package/dist/Card/index.d.ts +2 -2
  48. package/dist/Carousel/Carousel.d.ts +2 -2
  49. package/dist/Carousel/index.d.ts +2 -2
  50. package/dist/Center/Center.d.ts +2 -2
  51. package/dist/Center/index.d.ts +2 -2
  52. package/dist/Chat/ChatComposer.d.ts +1 -1
  53. package/dist/Chat/ChatComposerDrawer.d.ts +1 -1
  54. package/dist/Chat/ChatComposerInput.d.ts +4 -4
  55. package/dist/Chat/ChatDictationButton.d.ts +2 -2
  56. package/dist/Chat/ChatLayout.d.ts +1 -1
  57. package/dist/Chat/ChatLayoutScrollButton.d.ts +1 -1
  58. package/dist/Chat/ChatMessage.d.ts +2 -2
  59. package/dist/Chat/ChatMessageBubble.d.ts +2 -2
  60. package/dist/Chat/ChatMessageList.d.ts +3 -3
  61. package/dist/Chat/ChatMessageMetadata.d.ts +1 -1
  62. package/dist/Chat/ChatSendButton.d.ts +1 -1
  63. package/dist/Chat/ChatSystemMessage.d.ts +1 -1
  64. package/dist/Chat/ChatTokenizedText.d.ts +2 -2
  65. package/dist/Chat/ChatToolCalls.d.ts +1 -1
  66. package/dist/Chat/index.d.ts +43 -43
  67. package/dist/Chat/useChatComposerTokens.d.ts +1 -1
  68. package/dist/Chat/useChatDictation.d.ts +1 -1
  69. package/dist/Chat/useChatPasteAsToken.d.ts +1 -1
  70. package/dist/Chat/useTriggerMenu.d.ts +2 -2
  71. package/dist/CheckboxInput/CheckboxInput.d.ts +4 -4
  72. package/dist/CheckboxInput/index.d.ts +2 -2
  73. package/dist/CheckboxList/CheckboxList.d.ts +4 -4
  74. package/dist/CheckboxList/CheckboxListItem.d.ts +2 -2
  75. package/dist/CheckboxList/index.d.ts +4 -4
  76. package/dist/Citation/Citation.d.ts +1 -1
  77. package/dist/Citation/index.d.ts +2 -2
  78. package/dist/ClickableCard/ClickableCard.d.ts +3 -3
  79. package/dist/ClickableCard/index.d.ts +2 -2
  80. package/dist/Code/Code.d.ts +1 -1
  81. package/dist/Code/index.d.ts +1 -1
  82. package/dist/CodeBlock/CodeBlock.d.ts +2 -2
  83. package/dist/CodeBlock/highlightRanges.d.ts +1 -1
  84. package/dist/CodeBlock/index.d.ts +8 -8
  85. package/dist/Collapsible/Collapsible.d.ts +2 -2
  86. package/dist/Collapsible/CollapsibleGroup.d.ts +2 -2
  87. package/dist/Collapsible/index.d.ts +7 -7
  88. package/dist/CommandPalette/CommandPalette.d.ts +2 -2
  89. package/dist/CommandPalette/CommandPalette.d.ts.map +1 -1
  90. package/dist/CommandPalette/CommandPalette.js +6 -11
  91. package/dist/CommandPalette/CommandPaletteContext.d.ts +1 -1
  92. package/dist/CommandPalette/CommandPaletteEmpty.d.ts +1 -1
  93. package/dist/CommandPalette/CommandPaletteFooter.d.ts +1 -1
  94. package/dist/CommandPalette/CommandPaletteGroup.d.ts +1 -1
  95. package/dist/CommandPalette/CommandPaletteInput.d.ts +1 -1
  96. package/dist/CommandPalette/CommandPaletteInput.d.ts.map +1 -1
  97. package/dist/CommandPalette/CommandPaletteInput.js +7 -1
  98. package/dist/CommandPalette/CommandPaletteItem.d.ts +2 -1
  99. package/dist/CommandPalette/CommandPaletteItem.d.ts.map +1 -1
  100. package/dist/CommandPalette/CommandPaletteItem.js +5 -1
  101. package/dist/CommandPalette/CommandPaletteList.d.ts +1 -1
  102. package/dist/CommandPalette/index.d.ts +16 -16
  103. package/dist/ComplexSelector/ComplexSelector.d.ts +5 -5
  104. package/dist/ComplexSelector/index.d.ts +1 -1
  105. package/dist/ContextMenu/ContextMenu.d.ts +4 -4
  106. package/dist/ContextMenu/index.d.ts +9 -9
  107. package/dist/DateInput/DateInput.d.ts +13 -11
  108. package/dist/DateInput/DateInput.d.ts.map +1 -1
  109. package/dist/DateInput/DateInput.js +5 -1
  110. package/dist/DateInput/MonthScroller.d.ts +1 -1
  111. package/dist/DateInput/NativeDateField.d.ts +1 -1
  112. package/dist/DateInput/NativeDateField.d.ts.map +1 -1
  113. package/dist/DateInput/NativeDateField.js +5 -1
  114. package/dist/DateInput/TouchDateField.d.ts +1 -1
  115. package/dist/DateInput/TouchDateField.d.ts.map +1 -1
  116. package/dist/DateInput/TouchDateField.js +5 -1
  117. package/dist/DateInput/index.d.ts +2 -2
  118. package/dist/DateInput/monthGeometry.d.ts +1 -1
  119. package/dist/DateInput/tokens.stylex.d.ts.map +1 -1
  120. package/dist/DateInput/tokens.stylex.js +3 -1
  121. package/dist/DateRangeInput/DateRangeInput.d.ts +6 -6
  122. package/dist/DateRangeInput/index.d.ts +2 -2
  123. package/dist/DateTimeInput/DateTimeInput.d.ts +6 -6
  124. package/dist/DateTimeInput/NativeDateSegment.d.ts +3 -3
  125. package/dist/DateTimeInput/NativeTimeSegment.d.ts +4 -4
  126. package/dist/DateTimeInput/TouchDateTimeField.d.ts +1 -1
  127. package/dist/DateTimeInput/index.d.ts +2 -2
  128. package/dist/Dialog/Dialog.d.ts +3 -3
  129. package/dist/Dialog/DialogHeader.d.ts +1 -1
  130. package/dist/Dialog/index.d.ts +6 -6
  131. package/dist/Dialog/useImperativeDialog.d.ts +1 -1
  132. package/dist/Divider/Divider.d.ts +2 -2
  133. package/dist/Divider/index.d.ts +2 -2
  134. package/dist/Drawer/Drawer.d.ts +3 -3
  135. package/dist/Drawer/DrawerHeader.d.ts +1 -1
  136. package/dist/Drawer/index.d.ts +4 -4
  137. package/dist/DropdownMenu/DropdownMenu.d.ts +5 -5
  138. package/dist/DropdownMenu/DropdownMenuCheckboxItem.d.ts +2 -2
  139. package/dist/DropdownMenu/DropdownMenuDivider.d.ts +1 -1
  140. package/dist/DropdownMenu/DropdownMenuGroup.d.ts +1 -1
  141. package/dist/DropdownMenu/DropdownMenuItem.d.ts +2 -2
  142. package/dist/DropdownMenu/DropdownMenuRadioGroup.d.ts +1 -1
  143. package/dist/DropdownMenu/DropdownMenuRadioItem.d.ts +2 -2
  144. package/dist/DropdownMenu/DropdownMenuSubMenu.d.ts +2 -2
  145. package/dist/DropdownMenu/MenuBottomSheetActionList.d.ts +1 -1
  146. package/dist/DropdownMenu/index.d.ts +10 -10
  147. package/dist/DropdownMenu/lazyMenuBottomSheet.d.ts +2 -2
  148. package/dist/DropdownMenu/renderDropdownItems.d.ts +1 -1
  149. package/dist/DropdownMenu/useMenuDrillIn.d.ts +1 -1
  150. package/dist/EmptyState/EmptyState.d.ts +1 -1
  151. package/dist/EmptyState/index.d.ts +2 -2
  152. package/dist/Field/Field.d.ts +5 -5
  153. package/dist/Field/FieldLabel.d.ts +2 -2
  154. package/dist/Field/PanelSearchInput.d.ts +1 -1
  155. package/dist/Field/fieldInputFamily.testing.d.ts +1 -1
  156. package/dist/Field/fieldParts.d.ts +1 -1
  157. package/dist/Field/index.d.ts +10 -10
  158. package/dist/Field/inputDisabledFocus.d.ts +14 -0
  159. package/dist/Field/inputDisabledFocus.d.ts.map +1 -0
  160. package/dist/Field/inputDisabledFocus.js +19 -0
  161. package/dist/FieldStatus/FieldStatus.d.ts +3 -3
  162. package/dist/FieldStatus/index.d.ts +2 -2
  163. package/dist/FieldStatus/useFieldStatusAnnouncement.d.ts +1 -1
  164. package/dist/FileInput/FileInput.d.ts +4 -4
  165. package/dist/FileInput/FileInput.d.ts.map +1 -1
  166. package/dist/FileInput/FileInput.js +16 -2
  167. package/dist/FileInput/index.d.ts +2 -2
  168. package/dist/FormLayout/FormLayout.d.ts +2 -2
  169. package/dist/FormLayout/index.d.ts +4 -4
  170. package/dist/Grid/Grid.d.ts +3 -3
  171. package/dist/Grid/GridSpan.d.ts +1 -1
  172. package/dist/Grid/index.d.ts +4 -4
  173. package/dist/HStack/HStack.d.ts +2 -2
  174. package/dist/HStack/index.d.ts +1 -1
  175. package/dist/Heading/Heading.d.ts +4 -4
  176. package/dist/Heading/index.d.ts +1 -1
  177. package/dist/HoverCard/HoverCard.d.ts +4 -4
  178. package/dist/HoverCard/index.d.ts +4 -4
  179. package/dist/HoverCard/useHoverCard.d.ts +2 -2
  180. package/dist/Icon/Icon.d.ts +3 -3
  181. package/dist/Icon/IconDefaultSizeContext.d.ts +1 -1
  182. package/dist/Icon/defaultIcons.d.ts +1 -1
  183. package/dist/Icon/globalIconRegistry.d.ts +1 -1
  184. package/dist/Icon/index.d.ts +5 -5
  185. package/dist/Icon/useIcon.d.ts +1 -1
  186. package/dist/IconButton/IconButton.d.ts +1 -1
  187. package/dist/IconButton/index.d.ts +2 -2
  188. package/dist/Indicator/CheckIndicator.d.ts +1 -1
  189. package/dist/Indicator/CheckboxIndicator.d.ts +1 -1
  190. package/dist/Indicator/RadioIndicator.d.ts +1 -1
  191. package/dist/Indicator/index.d.ts +8 -8
  192. package/dist/Indicator/indicatorRegistry.d.ts +2 -2
  193. package/dist/Indicator/types.d.ts +1 -1
  194. package/dist/Indicator/useIndicator.d.ts +2 -2
  195. package/dist/InputGroup/InputGroup.d.ts +2 -2
  196. package/dist/InputGroup/InputGroupText.d.ts +1 -1
  197. package/dist/InputGroup/index.d.ts +6 -6
  198. package/dist/InteractiveRoleContext/InteractiveRoleContext.d.ts +1 -1
  199. package/dist/InteractiveRoleContext/index.d.ts +1 -1
  200. package/dist/Item/Item.d.ts +1 -1
  201. package/dist/Item/ItemSwipeLayer.d.ts +2 -2
  202. package/dist/Item/index.d.ts +2 -2
  203. package/dist/Kbd/Kbd.d.ts +1 -1
  204. package/dist/Kbd/index.d.ts +2 -2
  205. package/dist/Layer/LayerProvider.d.ts +1 -1
  206. package/dist/Layer/index.d.ts +18 -18
  207. package/dist/Layer/layerInset.d.ts +1 -1
  208. package/dist/Layer/layerSlideRules.d.ts +1 -1
  209. package/dist/Layer/modalOutlet.d.ts +1 -1
  210. package/dist/Layer/modalOutlet.js +1 -1
  211. package/dist/Layer/useLayerDismissal.d.ts +1 -1
  212. package/dist/Layout/Layout.d.ts +2 -2
  213. package/dist/Layout/LayoutContent.d.ts +2 -2
  214. package/dist/Layout/LayoutFooter.d.ts +2 -2
  215. package/dist/Layout/LayoutHeader.d.ts +2 -2
  216. package/dist/Layout/LayoutPanel.d.ts +3 -3
  217. package/dist/Layout/index.d.ts +29 -29
  218. package/dist/Layout/padding.stylex.d.ts +1 -1
  219. package/dist/Lightbox/Lightbox.d.ts +1 -1
  220. package/dist/Lightbox/index.d.ts +4 -4
  221. package/dist/Lightbox/useLightbox.d.ts +1 -1
  222. package/dist/Link/Link.d.ts +3 -3
  223. package/dist/Link/LinkContext.d.ts +1 -1
  224. package/dist/Link/LinkProvider.d.ts +1 -1
  225. package/dist/Link/index.d.ts +8 -8
  226. package/dist/Link/useLinkComponent.d.ts +1 -1
  227. package/dist/List/List.d.ts +3 -3
  228. package/dist/List/ListItem.d.ts +2 -2
  229. package/dist/List/index.d.ts +4 -4
  230. package/dist/Markdown/Markdown.d.ts +4 -4
  231. package/dist/Markdown/headingProjection.d.ts +3 -3
  232. package/dist/Markdown/index.d.ts +7 -7
  233. package/dist/Markdown/parser/index.d.ts +3 -3
  234. package/dist/Markdown/parser.d.ts +3 -3
  235. package/dist/Markdown/plugin-renderer/MarkdownPluginNodeRenderer.d.ts +1 -1
  236. package/dist/Markdown/plugin-renderer/index.d.ts +2 -2
  237. package/dist/Markdown/plugins/frontmatter.d.ts +2 -2
  238. package/dist/Markdown/plugins/headingLinks.d.ts +2 -2
  239. package/dist/Markdown/plugins/index.d.ts +14 -14
  240. package/dist/Markdown/plugins/protocol.d.ts +1 -1
  241. package/dist/Markdown/plugins/semanticFence.d.ts +2 -2
  242. package/dist/Markdown/plugins/softBreaks.d.ts +1 -1
  243. package/dist/Markdown/plugins/sourceDecoration.d.ts +2 -2
  244. package/dist/Markdown/plugins/sourceLines.d.ts +1 -1
  245. package/dist/Markdown/plugins/textTransform.d.ts +2 -2
  246. package/dist/Markdown/remark.d.ts +1 -1
  247. package/dist/Markdown/utils.d.ts +4 -4
  248. package/dist/MetadataList/MetadataList.d.ts +2 -2
  249. package/dist/MetadataList/MetadataListItem.d.ts +1 -1
  250. package/dist/MetadataList/index.d.ts +5 -5
  251. package/dist/MobileNav/MobileNav.d.ts +1 -1
  252. package/dist/MobileNav/MobileNavToggle.d.ts +1 -1
  253. package/dist/MobileNav/index.d.ts +4 -4
  254. package/dist/MoreMenu/MoreMenu.d.ts +4 -4
  255. package/dist/MoreMenu/index.d.ts +1 -1
  256. package/dist/MultiSelector/MultiSelector.d.ts +7 -7
  257. package/dist/MultiSelector/hooks.d.ts +1 -1
  258. package/dist/MultiSelector/index.d.ts +3 -3
  259. package/dist/MultiSelector/types.d.ts +1 -1
  260. package/dist/NavIcon/NavIcon.d.ts +1 -1
  261. package/dist/NavIcon/index.d.ts +2 -2
  262. package/dist/NavMenu/NavHeadingMenu.d.ts +2 -2
  263. package/dist/NavMenu/NavHeadingMenuItem.d.ts +2 -2
  264. package/dist/NavMenu/index.d.ts +6 -6
  265. package/dist/NumberInput/NumberInput.d.ts +5 -5
  266. package/dist/NumberInput/index.d.ts +2 -2
  267. package/dist/NumberInput/numberInputCommit.d.ts +1 -1
  268. package/dist/NumberInput/numberParser.d.ts +1 -1
  269. package/dist/Outline/Outline.d.ts +3 -3
  270. package/dist/Outline/index.d.ts +7 -7
  271. package/dist/Outline/parseOutlineFromMarkdown.d.ts +2 -2
  272. package/dist/Outline/useOutlineFromDOM.d.ts +1 -1
  273. package/dist/Outline/useOutlineFromMarkdown.d.ts +3 -3
  274. package/dist/Outline/useScrollSpy.d.ts +1 -1
  275. package/dist/OverflowList/OverflowList.d.ts +2 -2
  276. package/dist/OverflowList/index.d.ts +2 -2
  277. package/dist/Overlay/Overlay.d.ts +2 -2
  278. package/dist/Overlay/index.d.ts +5 -5
  279. package/dist/Overlay/useOverlay.d.ts +1 -1
  280. package/dist/Pagination/Pagination.d.ts +2 -2
  281. package/dist/Pagination/index.d.ts +2 -2
  282. package/dist/Popover/Popover.d.ts +3 -3
  283. package/dist/Popover/index.d.ts +4 -4
  284. package/dist/Popover/usePopover.d.ts +2 -2
  285. package/dist/PowerSearch/PowerSearch.d.ts +5 -5
  286. package/dist/PowerSearch/PowerSearchEditPopover.d.ts +2 -2
  287. package/dist/PowerSearch/PowerSearchFilterEditor.d.ts +1 -1
  288. package/dist/PowerSearch/PowerSearchToken.d.ts +1 -1
  289. package/dist/PowerSearch/PowerSearchValueEditor.d.ts +2 -2
  290. package/dist/PowerSearch/formatFilterValue.d.ts +3 -3
  291. package/dist/PowerSearch/index.d.ts +8 -8
  292. package/dist/PowerSearch/resolveDateTimeRangePart.d.ts +1 -1
  293. package/dist/PowerSearch/resolveOperatorLabel.d.ts +2 -2
  294. package/dist/PowerSearch/types.d.ts +1 -1
  295. package/dist/PowerSearch/useInternalConfig.d.ts +1 -1
  296. package/dist/PowerSearch/usePowerSearchConfig.d.ts +1 -1
  297. package/dist/PowerSearch/usePowerSearchSource.d.ts +3 -3
  298. package/dist/PowerSearch/utils.d.ts +3 -3
  299. package/dist/ProgressBar/ProgressBar.d.ts +2 -2
  300. package/dist/ProgressBar/index.d.ts +2 -2
  301. package/dist/RadioList/RadioList.d.ts +3 -3
  302. package/dist/RadioList/RadioListItem.d.ts +2 -2
  303. package/dist/RadioList/index.d.ts +4 -4
  304. package/dist/Resizable/ResizeHandle.d.ts +2 -2
  305. package/dist/Resizable/index.d.ts +6 -6
  306. package/dist/Resizable/useResizable.d.ts +2 -2
  307. package/dist/Resizable/utils.d.ts +3 -3
  308. package/dist/ScrollableArea/ScrollableArea.d.ts +3 -3
  309. package/dist/ScrollableArea/index.d.ts +4 -4
  310. package/dist/Section/Section.d.ts +3 -3
  311. package/dist/Section/index.d.ts +2 -2
  312. package/dist/SegmentedControl/SegmentedControl.d.ts +2 -2
  313. package/dist/SegmentedControl/SegmentedControlItem.d.ts +1 -1
  314. package/dist/SegmentedControl/index.d.ts +5 -5
  315. package/dist/SelectableCard/SelectableCard.d.ts +3 -3
  316. package/dist/SelectableCard/index.d.ts +2 -2
  317. package/dist/Selector/Selector.d.ts +8 -8
  318. package/dist/Selector/SelectorOption.d.ts +1 -1
  319. package/dist/Selector/hooks.d.ts +1 -1
  320. package/dist/Selector/index.d.ts +4 -4
  321. package/dist/Selector/types.d.ts +1 -1
  322. package/dist/Selector/useSelectorPresentation.d.ts +2 -2
  323. package/dist/Selector/utils.d.ts +1 -1
  324. package/dist/SideNav/SideNav.d.ts +3 -3
  325. package/dist/SideNav/SideNavCollapseButton.d.ts +3 -3
  326. package/dist/SideNav/SideNavHeading.d.ts +2 -2
  327. package/dist/SideNav/SideNavHeading.d.ts.map +1 -1
  328. package/dist/SideNav/SideNavHeading.js +34 -0
  329. package/dist/SideNav/SideNavItem.d.ts +4 -4
  330. package/dist/SideNav/SideNavSection.d.ts +1 -1
  331. package/dist/SideNav/index.d.ts +14 -14
  332. package/dist/SizeContext/index.d.ts +1 -1
  333. package/dist/Skeleton/Skeleton.d.ts +1 -1
  334. package/dist/Skeleton/index.d.ts +2 -2
  335. package/dist/Slider/Slider.d.ts +3 -3
  336. package/dist/Slider/index.d.ts +2 -2
  337. package/dist/Spinner/Spinner.d.ts +1 -1
  338. package/dist/Spinner/index.d.ts +2 -2
  339. package/dist/Stack/Stack.d.ts +3 -3
  340. package/dist/Stack/StackItem.d.ts +2 -2
  341. package/dist/Stack/index.d.ts +6 -6
  342. package/dist/Stack/stack.stylex.d.ts +1 -1
  343. package/dist/StatusDot/StatusDot.d.ts +2 -2
  344. package/dist/StatusDot/index.d.ts +2 -2
  345. package/dist/Stepper/Step.d.ts +2 -2
  346. package/dist/Stepper/Step.d.ts.map +1 -1
  347. package/dist/Stepper/Step.js +3 -3
  348. package/dist/Stepper/Stepper.d.ts +2 -2
  349. package/dist/Stepper/index.d.ts +7 -7
  350. package/dist/Switch/Switch.d.ts +4 -4
  351. package/dist/Switch/index.d.ts +2 -2
  352. package/dist/TabList/Tab.d.ts +2 -2
  353. package/dist/TabList/TabList.d.ts +3 -3
  354. package/dist/TabList/TabMenu.d.ts +2 -2
  355. package/dist/TabList/index.d.ts +8 -8
  356. package/dist/Table/BaseTable.d.ts +1 -1
  357. package/dist/Table/Table.d.ts +1 -1
  358. package/dist/Table/TableBody.d.ts +1 -1
  359. package/dist/Table/TableCell.d.ts +3 -3
  360. package/dist/Table/TableContext.d.ts +1 -1
  361. package/dist/Table/TableFooter.d.ts +1 -1
  362. package/dist/Table/TableHeader.d.ts +1 -1
  363. package/dist/Table/TableHeaderCell.d.ts +3 -3
  364. package/dist/Table/TableRow.d.ts +2 -2
  365. package/dist/Table/TableSelectionToolbar.d.ts +2 -2
  366. package/dist/Table/columnUtils.d.ts +1 -1
  367. package/dist/Table/index.d.ts +54 -54
  368. package/dist/Table/plugins/columnResize/index.d.ts +2 -2
  369. package/dist/Table/plugins/columnResize/useTableColumnResize.d.ts +1 -1
  370. package/dist/Table/plugins/columnSettings/index.d.ts +4 -4
  371. package/dist/Table/plugins/columnSettings/useTableColumnSettings.d.ts +2 -2
  372. package/dist/Table/plugins/columnSettings/useTableColumnSettingsState.d.ts +1 -1
  373. package/dist/Table/plugins/filtering/index.d.ts +4 -4
  374. package/dist/Table/plugins/filtering/useTableFilterState.d.ts +1 -1
  375. package/dist/Table/plugins/filtering/useTableFiltering.d.ts +2 -2
  376. package/dist/Table/plugins/groupedRows/index.d.ts +2 -2
  377. package/dist/Table/plugins/groupedRows/useTableGroupedRows.d.ts +1 -1
  378. package/dist/Table/plugins/pagination/index.d.ts +3 -3
  379. package/dist/Table/plugins/pagination/useTablePagination.d.ts +1 -1
  380. package/dist/Table/plugins/rowExpansion/index.d.ts +2 -2
  381. package/dist/Table/plugins/rowExpansion/useTableRowExpansion.d.ts +1 -1
  382. package/dist/Table/plugins/rowIndex/index.d.ts +2 -2
  383. package/dist/Table/plugins/rowIndex/useTableRowIndex.d.ts +1 -1
  384. package/dist/Table/plugins/rowStatus/index.d.ts +2 -2
  385. package/dist/Table/plugins/rowStatus/useTableRowStatus.d.ts +2 -2
  386. package/dist/Table/plugins/selection/index.d.ts +4 -4
  387. package/dist/Table/plugins/selection/useTableSelection.d.ts +1 -1
  388. package/dist/Table/plugins/selection/useTableSelectionState.d.ts +1 -1
  389. package/dist/Table/plugins/sortable/index.d.ts +4 -4
  390. package/dist/Table/plugins/sortable/useTableSortable.d.ts +1 -1
  391. package/dist/Table/plugins/sortable/useTableSortableState.d.ts +1 -1
  392. package/dist/Table/plugins/stickyColumns/index.d.ts +2 -2
  393. package/dist/Table/plugins/stickyColumns/useTableStickyColumns.d.ts +1 -1
  394. package/dist/Table/plugins/tree/index.d.ts +4 -4
  395. package/dist/Table/plugins/tree/useTableTreeData.d.ts +1 -1
  396. package/dist/Table/plugins/tree/useTableTreeState.d.ts +1 -1
  397. package/dist/Table/tableContextMenu.d.ts +2 -2
  398. package/dist/Table/types.d.ts +3 -3
  399. package/dist/Table/useBaseTablePlugins.d.ts +1 -1
  400. package/dist/Table/useTableCellStyles.d.ts +2 -2
  401. package/dist/Table/utils.d.ts +2 -2
  402. package/dist/Text/Text.d.ts +3 -3
  403. package/dist/Text/index.d.ts +4 -4
  404. package/dist/TextArea/TextArea.d.ts +10 -8
  405. package/dist/TextArea/TextArea.d.ts.map +1 -1
  406. package/dist/TextArea/TextArea.js +14 -11
  407. package/dist/TextArea/index.d.ts +2 -2
  408. package/dist/TextInput/TextInput.d.ts +11 -9
  409. package/dist/TextInput/TextInput.d.ts.map +1 -1
  410. package/dist/TextInput/TextInput.js +20 -11
  411. package/dist/TextInput/index.d.ts +2 -2
  412. package/dist/Thumbnail/Thumbnail.d.ts +1 -1
  413. package/dist/Thumbnail/index.d.ts +2 -2
  414. package/dist/TimeInput/TimeInput.d.ts +6 -6
  415. package/dist/TimeInput/TouchTimeField.d.ts +1 -1
  416. package/dist/TimeInput/index.d.ts +3 -3
  417. package/dist/Timer/Timer.d.ts +2 -2
  418. package/dist/Timer/index.d.ts +2 -2
  419. package/dist/Timestamp/Timestamp.d.ts +3 -3
  420. package/dist/Timestamp/TimestampHoverCard.d.ts +1 -1
  421. package/dist/Timestamp/formatInstant.d.ts +2 -2
  422. package/dist/Timestamp/formatRelativeTime.d.ts +1 -1
  423. package/dist/Timestamp/index.d.ts +3 -3
  424. package/dist/Timestamp/tooltipEntries.d.ts +2 -2
  425. package/dist/Toast/Toast.d.ts +2 -2
  426. package/dist/Toast/ToastContext.d.ts +1 -1
  427. package/dist/Toast/ToastViewport.d.ts +2 -2
  428. package/dist/Toast/index.d.ts +6 -6
  429. package/dist/Toast/useToast.d.ts +1 -1
  430. package/dist/ToggleButton/ToggleButton.d.ts +3 -3
  431. package/dist/ToggleButton/ToggleButtonGroup.d.ts +1 -1
  432. package/dist/ToggleButton/index.d.ts +4 -4
  433. package/dist/Token/Token.d.ts +2 -2
  434. package/dist/Token/TokenLink.d.ts +1 -1
  435. package/dist/Token/index.d.ts +2 -2
  436. package/dist/Tokenizer/Tokenizer.d.ts +6 -6
  437. package/dist/Tokenizer/Tokenizer.d.ts.map +1 -1
  438. package/dist/Tokenizer/Tokenizer.js +44 -40
  439. package/dist/Tokenizer/index.d.ts +2 -2
  440. package/dist/Tokenizer/useEndLaneReserve.d.ts +3 -2
  441. package/dist/Tokenizer/useEndLaneReserve.d.ts.map +1 -1
  442. package/dist/Tokenizer/useEndLaneReserve.js +3 -2
  443. package/dist/Toolbar/Toolbar.d.ts +4 -4
  444. package/dist/Toolbar/index.d.ts +2 -2
  445. package/dist/Tooltip/Tooltip.d.ts +3 -3
  446. package/dist/Tooltip/index.d.ts +4 -4
  447. package/dist/Tooltip/useTooltip.d.ts +2 -2
  448. package/dist/TopNav/TopNav.d.ts +1 -1
  449. package/dist/TopNav/TopNavHeading.d.ts +2 -2
  450. package/dist/TopNav/TopNavItem.d.ts +3 -3
  451. package/dist/TopNav/TopNavMegaMenu.d.ts +1 -1
  452. package/dist/TopNav/TopNavMegaMenuFeaturedCard.d.ts +1 -1
  453. package/dist/TopNav/TopNavMegaMenuItem.d.ts +2 -2
  454. package/dist/TopNav/TopNavMenu.d.ts +1 -1
  455. package/dist/TopNav/index.d.ts +16 -16
  456. package/dist/TreeList/TreeList.d.ts +3 -3
  457. package/dist/TreeList/TreeListItem.d.ts +1 -1
  458. package/dist/TreeList/TreeListTypes.d.ts +1 -1
  459. package/dist/TreeList/index.d.ts +3 -3
  460. package/dist/Typeahead/BaseTypeahead.d.ts +2 -2
  461. package/dist/Typeahead/Typeahead.d.ts +6 -6
  462. package/dist/Typeahead/TypeaheadItem.d.ts +2 -2
  463. package/dist/Typeahead/createStaticSource.d.ts +1 -1
  464. package/dist/Typeahead/index.d.ts +9 -9
  465. package/dist/Typeahead/utils.d.ts +3 -3
  466. package/dist/VStack/VStack.d.ts +2 -2
  467. package/dist/VStack/index.d.ts +1 -1
  468. package/dist/VisuallyHidden/VisuallyHidden.d.ts +24 -6
  469. package/dist/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
  470. package/dist/VisuallyHidden/VisuallyHidden.js +24 -5
  471. package/dist/VisuallyHidden/index.d.ts +2 -2
  472. package/dist/astryx.css +6 -13
  473. package/dist/hooks/index.d.ts +52 -52
  474. package/dist/hooks/useAutoMediaMode.d.ts +1 -1
  475. package/dist/hooks/useInputContainer.d.ts +1 -1
  476. package/dist/hooks/useInputStatusIcon.d.ts +3 -3
  477. package/dist/hooks/useMenuPress.d.ts +1 -1
  478. package/dist/hooks/usePressFeedback.d.ts +1 -1
  479. package/dist/hooks/useScrollableArea.d.ts +1 -1
  480. package/dist/i18n/InternationalizationContext.d.ts +2 -2
  481. package/dist/i18n/InternationalizationProvider.d.ts +1 -1
  482. package/dist/i18n/index.d.ts +12 -12
  483. package/dist/i18n/resolve.d.ts +1 -1
  484. package/dist/i18n/useLocale.d.ts +1 -1
  485. package/dist/index.d.ts +111 -111
  486. package/dist/theme/Theme.d.ts +2 -2
  487. package/dist/theme/contrast.d.ts +1 -1
  488. package/dist/theme/defineTheme.d.ts +12 -12
  489. package/dist/theme/domainTokens/index.d.ts +6 -6
  490. package/dist/theme/generateThemeRules.d.ts +1 -1
  491. package/dist/theme/index.d.ts +31 -31
  492. package/dist/theme/localTokens.d.ts +1 -1
  493. package/dist/theme/mergeComponents.d.ts +1 -1
  494. package/dist/theme/onMediaTokens.d.ts +1 -1
  495. package/dist/theme/resolveThemeValues.d.ts +7 -7
  496. package/dist/theme/syntax/SyntaxTheme.d.ts +1 -1
  497. package/dist/theme/syntax/index.d.ts +7 -7
  498. package/dist/theme/syntax/presets.d.ts +1 -1
  499. package/dist/theme/themeAdaptations.d.ts +5 -5
  500. package/dist/theme/themeRegistry.d.ts +1 -1
  501. package/dist/theme/tokens.d.ts +1 -1
  502. package/dist/theme/types.d.ts +1 -1
  503. package/dist/theme/useTheme.d.ts +2 -2
  504. package/dist/utils/dateParser.d.ts +3 -3
  505. package/dist/utils/groupItems.d.ts +1 -1
  506. package/dist/utils/index.d.ts +29 -29
  507. package/dist/utils/plainDate.d.ts +3 -3
  508. package/package.json +4 -4
  509. package/src/Badge/Badge.doc.mjs +2 -1
  510. package/src/BottomSheet/BottomSheet.spec.md +1 -0
  511. package/src/BottomSheet/BottomSheet.tsx +12 -1
  512. package/src/BottomSheet/BottomSheetEdgeTint.test.tsx +25 -2
  513. package/src/BottomSheet/BottomSheetSwitcher.spec.md +7 -6
  514. package/src/BottomSheet/BottomSheetSwitcher.test.tsx +221 -1
  515. package/src/BottomSheet/__tests__/BottomSheetNativeModal.a11y.browser.spec.ts +461 -0
  516. package/src/BottomSheet/__tests__/BottomSheetToastOutlet.a11y.chromium.spec.ts +82 -0
  517. package/src/CommandPalette/CommandPalette.doc.mjs +4 -1
  518. package/src/CommandPalette/CommandPalette.test.tsx +4 -2
  519. package/src/CommandPalette/CommandPalette.tsx +6 -11
  520. package/src/CommandPalette/CommandPaletteInput.test.tsx +3 -1
  521. package/src/CommandPalette/CommandPaletteInput.tsx +10 -1
  522. package/src/CommandPalette/CommandPaletteItem.doc.mjs +17 -5
  523. package/src/CommandPalette/CommandPaletteItem.test.tsx +65 -12
  524. package/src/CommandPalette/CommandPaletteItem.tsx +6 -1
  525. package/src/CommandPalette/__tests__/CommandPaletteItemAudit.a11y.chromium.spec.ts +250 -20
  526. package/src/DateInput/DateInput.doc.mjs +23 -5
  527. package/src/DateInput/DateInput.spec.md +52 -45
  528. package/src/DateInput/DateInput.tsx +13 -7
  529. package/src/DateInput/NativeDateField.tsx +6 -2
  530. package/src/DateInput/TouchDateField.tsx +6 -2
  531. package/src/DateInput/__tests__/DateInputAudit.a11y.chromium.spec.ts +576 -0
  532. package/src/DateInput/tokens.stylex.ts +3 -1
  533. package/src/Field/inputDisabledFocus.ts +28 -0
  534. package/src/FileInput/FileInput.tsx +18 -2
  535. package/src/Icon/Icon.spec.md +40 -29
  536. package/src/Layer/modalOutlet.ts +1 -1
  537. package/src/Overlay/Overlay.spec.md +304 -0
  538. package/src/SideNav/SideNav.test.tsx +15 -6
  539. package/src/SideNav/SideNavHeading.tsx +41 -0
  540. package/src/Stepper/Step.tsx +7 -0
  541. package/src/Stepper/Stepper.test.tsx +33 -0
  542. package/src/TextArea/TextArea.doc.mjs +6 -6
  543. package/src/TextArea/TextArea.test.tsx +65 -6
  544. package/src/TextArea/TextArea.tsx +26 -14
  545. package/src/TextInput/TextInput.doc.mjs +8 -8
  546. package/src/TextInput/TextInput.test.tsx +72 -6
  547. package/src/TextInput/TextInput.tsx +32 -14
  548. package/src/Toast/ToastViewport.modalHost.test.tsx +139 -4
  549. package/src/Tokenizer/Tokenizer.test.tsx +26 -8
  550. package/src/Tokenizer/Tokenizer.tsx +65 -72
  551. package/src/Tokenizer/__tests__/TokenizerEndLane.a11y.chromium.spec.ts +471 -0
  552. package/src/Tokenizer/useEndLaneReserve.ts +3 -2
  553. package/src/VisuallyHidden/VisuallyHidden.doc.mjs +1 -1
  554. package/src/VisuallyHidden/VisuallyHidden.test.tsx +39 -0
  555. package/src/VisuallyHidden/VisuallyHidden.tsx +38 -5
  556. package/src/__tests__/BusyOwnerAnnouncement.test.tsx +217 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # @xds/core
2
2
 
3
+ # 0.7.4
4
+
5
+ #### New Features
6
+
7
+ - `BottomSheetSwitcher` presents each step in its own native `<dialog>`. Every child `BottomSheet` owns a dialog exactly like a standalone sheet; the switcher presents the selected sheet's dialog (`showModal()` with a scrim, `show()` without), keeps the previous sheet's dialog open and inert beneath the entering one through the handoff, and closes it once its panel has faded. One backdrop paints at a time: the retained dialog keeps the scrim until it closes, then the new dialog takes it over without a fade, so the page is never dimmed twice and the previous panel is never dimmed. Focus containment is the browser's own modal-dialog containment (as for `Dialog`) instead of a script trap; the page scroll lock (the shared body lock, held once by the switcher for the whole modal flow, through a handoff and until after the exit), Escape and platform-close routing, `purpose` dismissal rules, and focus return to the opener are unchanged. Going back to a sheet whose dialog is still fading closes and re-presents that dialog so the interactive sheet is the topmost layer again. (#7720)
8
+ Public props, defaults, and exports are unchanged. Two observable details move with the structure: The switcher's `ref` resolves to the dialog hosting the flow — the active sheet's dialog, which changes on a handoff; the exiting sheet's through its exit; and, while the flow is closed, the dialog that hosted it last (or the first mounted sheet's) — instead of one persistent element; it is never `null` while a sheet is mounted, from the first commit on, and a callback ref's returned cleanup runs on each detach. `onCancel` and the forwarded dialog props apply to each sheet's dialog (a `role` given to the switcher included, except on a `required` step, which is an `alertdialog` as before), except `id` and `data-testid`, which render once, on the dialog the `ref` resolves to, from the first commit's synchronous re-render on; server markup of a flow that mounts closed carries them on no element (the shared dialog carried them). A non-modal flow orders its sheet dialogs inside a switcher-owned isolated wrapper that carries the one overlay value the shared dialog carried before.
9
+
10
+ #### Fixes
11
+
12
+ - `TextInput`, `TextArea`, `Selector` and `MultiSelector` announce "Loading" once, politely, through the shared announcement channel when they become busy, and the Spinner they show while busy is hidden from assistive technology. Before, the Spinner mounted as its own `role="status"` region already holding its name, which screen readers often skip, and it competed with the control's own `aria-busy` as a second owner of the same feedback. A rerender or StrictMode replay does not repeat the announcement; settling and becoming busy again announces again. Tests that found the busy Spinner with `getByRole('status', {name: 'Loading'})` should check the control's `aria-busy` instead. (#7920)
13
+ - Carousel: when the focused edge scroll button runs out (the carousel reached that edge), focus now moves to the scroll area without scrolling it, instead of to the opposite scroll button. No API changes. (#7926)
14
+ - `CheckboxInput` announces its busy start ("Loading") once, politely, through the shared announcement channel. The Spinner it shows in place of the check mark while busy sits inside the decorative, hidden indicator, so before this nothing told screen-reader users that the checkbox had become busy beyond its `aria-busy`. Inside an open modal dialog the announcement goes to a status region in the dialog. (#7948)
15
+ - `CommandPaletteItem` now reflects its highlighted, selected, and disabled states on the `command-palette-item` theme target as `data-highlighted="highlighted"`, `data-selected="selected"`, and `data-disabled="disabled"`. A theme can now style the active keyboard result, the chosen value, or an unavailable command, for example `.astryx-command-palette-item[data-selected]`. States derived from CommandPalette are reflected too. Rendering, semantics, and props are unchanged. (#7967)
16
+ - `CommandPalette` announces each busy start ("Loading"), including its load on opening or clearing the query, once from a status region inside its dialog, and its search Spinner is hidden from assistive technology. Before, the Spinner mounted as its own `role="status"` region already named "Loading", and the palette's own "Loading" went to the page-level announcement channel, which an open native modal hides from assistive technology. Result-count announcements are unchanged. Tests that found the Spinner with `getByRole('status')` should query the Spinner element instead. (#7956)
17
+ - A busy `DateInput` (`isLoading`, or a pending `changeAction`) no longer looks disabled. On the popover, native, and bottom-sheet surfaces the field keeps its ordinary paint and shows its Spinner while new commits are blocked; only `isDisabled` dims the field. The busy field still takes no hover ring and keeps its keyboard focus ring. Props, semantics, and announcements are unchanged. (#7968)
18
+ - `DateInput` (popover, native and bottom-sheet presentations) and `DateRangeInput` announce their busy start ("Loading") once, politely, through the shared announcement channel, and the Spinner they show while busy is hidden from assistive technology. Before, that Spinner mounted as its own `role="status"` region already named "Loading", which screen readers often skip, and it was a second owner beside the field's `aria-busy`. Inside an open modal dialog the announcement goes to a status region in the dialog. Tests that found the busy Spinner with `getByRole('status', {name: 'Loading'})` should check the field's `aria-busy` instead. (#7939)
19
+ - `DateTimeInput` and `TimeInput` (popover, native and bottom-sheet presentations) announce their busy start ("Loading") once, politely, through the shared announcement channel, and the Spinner they show while busy is hidden from assistive technology. Before, that Spinner mounted as its own `role="status"` region already named "Loading", which screen readers often skip, and it was a second owner beside the field's `aria-busy`. A change made inside the open bottom sheet under a pending `changeAction` is announced from inside the sheet. Tests that found the busy Spinner with `getByRole('status', {name: 'Loading'})` should check the field's `aria-busy` instead. (#7942)
20
+ - `FileInput` announces its busy start ("Loading") once, politely, through the shared announcement channel, and the Spinner it shows while busy is hidden from assistive technology. Before, that Spinner mounted as its own `role="status"` region already named "Loading", which screen readers often skip. A file pick keeps its single "file selected" announcement, because it is one user action, even when it starts a busy period (`changeAction`, or `isLoading` set from `onChange`). Other busy starts, such as `isLoading` on its own or a clear under `changeAction`, announce "Loading". Inside an open modal dialog the announcement goes to a status region in the dialog. Tests that found the busy Spinner with `getByRole('status', {name: 'Loading'})` should check the field's `aria-busy` instead. (#7954)
21
+ - Selector, DropdownMenu and ContextMenu: clicking an option inside a shadow root (open, closed or nested) selects it. The menus used to read the document's view of the click, which names the shadow host, so the click closed the menu without selecting anything. (#7914)
22
+ - `DropdownMenuSubMenu` (with `hasSpinner`), an uploading `Thumbnail`, and `ChatMessageList` while it loads older messages announce their busy start ("Loading") once, politely, through the shared announcement channel. The Spinner each one shows is hidden from assistive technology. Before, that Spinner mounted as its own `role="status"` region already named "Loading", which screen readers often skip; in `ChatMessageList` it was also a second live role inside the log. Tests that found these Spinners with `getByRole('status', {name: 'Loading'})` should query the Spinner element or the owner's busy state instead. (#7950)
23
+ - ChatComposerInput: the trigger menu's loading row no longer mounts as a `role="status"` region already holding its text, which screen readers could skip. The loading text is announced once per pending search through the shared polite channel instead, and a search that returns its results before the loading row is painted, such as `createStaticSource` or a cached result, announces nothing; the visible row and its `loadingText` are unchanged. (#7900)
24
+ Fixes #7859.
25
+ - useTypeahead clears its pending buffer reset when its component unmounts or an `<Activity>` boundary hides it, so a menu, list or selector removed within 750 ms of a typed character leaves no timer running behind it, and a hidden one comes back with an empty buffer (#7938)
26
+ - `ComplexSelector`, `Typeahead`, `Tokenizer` and a directly used `BaseTypeahead` announce their busy start ("Loading") once, politely, through the shared announcement channel, and the Spinner they show while busy or while a search is in flight is no longer a live region: ComplexSelector's is hidden from assistive technology, and the search Spinner of Typeahead, Tokenizer and BaseTypeahead stays named as an image ("Loading") so the search's busy feedback keeps its name. Before, that Spinner mounted as its own `role="status"` region already named "Loading", which screen readers often skip, and it was a second owner beside the control's `aria-busy`. Inside an open modal dialog the announcement goes to a status region in the dialog. Tests that found the busy Spinner with `getByRole('status', {name: 'Loading'})` should check the control's `aria-busy`, or find the search Spinner with `getByRole('img', {name: 'Loading'})`. (#7930)
27
+
28
+ #### Documentation
29
+
30
+ - `BottomSheetSwitcher` anatomy names its host part `Sheet dialogs` — one native dialog per child sheet, the one hosting the active sheet carrying the flow's ref, id, modality, and dismissal — instead of `Shared dialog`. (#7720)
31
+
32
+ #### Contributors
33
+
34
+ Thanks to everyone who contributed to this release:
35
+
36
+ - @cixzhang
37
+ - @HelloOjasMutreja
38
+ - @imdreamrunner
39
+ - @vjeux
40
+
41
+ ---
42
+
3
43
  # 0.7.3
4
44
 
5
45
  #### New Features
@@ -12,8 +12,8 @@
12
12
  * - /packages/cli/assets/templates/blocks/components/AlertDialog/ (showcase blocks)
13
13
  */
14
14
  import React from 'react';
15
- import { type ButtonVariant } from '../Button';
16
- import type { BaseProps } from '../BaseProps';
15
+ import { type ButtonVariant } from '../Button/index.js';
16
+ import type { BaseProps } from '../BaseProps.js';
17
17
  export interface AlertDialogProps extends BaseProps<HTMLDialogElement> {
18
18
  ref?: React.Ref<HTMLDialogElement>;
19
19
  /**
@@ -1,5 +1,5 @@
1
- export { AlertDialog } from './AlertDialog';
2
- export type { AlertDialogProps } from './AlertDialog';
3
- export { useImperativeAlertDialog } from './useImperativeAlertDialog';
4
- export type { ImperativeAlertDialogReturn } from './useImperativeAlertDialog';
1
+ export { AlertDialog } from './AlertDialog.js';
2
+ export type { AlertDialogProps } from './AlertDialog.js';
3
+ export { useImperativeAlertDialog } from './useImperativeAlertDialog.js';
4
+ export type { ImperativeAlertDialogReturn } from './useImperativeAlertDialog.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -10,7 +10,7 @@
10
10
  * - /apps/storybook/stories/AlertDialog.stories.tsx
11
11
  */
12
12
  import { type ReactNode } from 'react';
13
- import { type AlertDialogProps } from './AlertDialog';
13
+ import { type AlertDialogProps } from './AlertDialog.js';
14
14
  type AlertDialogOptions = Omit<AlertDialogProps, 'isOpen' | 'onOpenChange'>;
15
15
  export interface ImperativeAlertDialogReturn {
16
16
  /** Show the alert dialog. */
@@ -15,10 +15,10 @@ import React from 'react';
15
15
  * - /packages/cli/assets/templates/blocks/components/AppShell/ (showcase blocks)
16
16
  */
17
17
  import { type ReactNode } from 'react';
18
- import type { SpacingStep } from '../utils/types';
19
- import type { BaseProps } from '../BaseProps';
20
- import { type WidthBreakpointName } from '../theme/themeAdaptations';
21
- import type { AppShellVariantMap } from './index';
18
+ import type { SpacingStep } from '../utils/types.js';
19
+ import type { BaseProps } from '../BaseProps.js';
20
+ import { type WidthBreakpointName } from '../theme/themeAdaptations.js';
21
+ import type { AppShellVariantMap } from './index.js';
22
22
  /**
23
23
  * SideNav breakpoint options. Named points resolve through the nearest Theme;
24
24
  * without an active theme they use Astryx's default width-breakpoint map.
@@ -25,8 +25,8 @@ export interface AppShellVariantMap {
25
25
  section: true;
26
26
  elevated: true;
27
27
  }
28
- export { AppShell } from './AppShell';
29
- export type { AppShellProps, AppShellBreakpoint, AppShellVariant, MobileNavConfig, } from './AppShell';
30
- export { useAppShellMobile, AppShellMobileContext, } from './AppShellMobileContext';
31
- export type { AppShellMobileContextValue } from './AppShellMobileContext';
28
+ export { AppShell } from './AppShell.js';
29
+ export type { AppShellProps, AppShellBreakpoint, AppShellVariant, MobileNavConfig, } from './AppShell.js';
30
+ export { useAppShellMobile, AppShellMobileContext, } from './AppShellMobileContext.js';
31
+ export type { AppShellMobileContextValue } from './AppShellMobileContext.js';
32
32
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@
11
11
  * - /packages/cli/assets/templates/blocks/components/AspectRatio/ (showcase blocks)
12
12
  */
13
13
  import type { ReactNode } from 'react';
14
- import type { BaseProps } from '../BaseProps';
14
+ import type { BaseProps } from '../BaseProps.js';
15
15
  /**
16
16
  * The shape of the aspect ratio container.
17
17
  * - `rectangle`: standard rectangular container (default).
@@ -6,6 +6,6 @@
6
6
  *
7
7
  * SYNC: When modified, update /packages/core/src/AspectRatio/AspectRatio.doc.mjs
8
8
  */
9
- export { AspectRatio } from './AspectRatio';
10
- export type { AspectRatioProps, AspectRatioShape, AspectRatioFit, } from './AspectRatio';
9
+ export { AspectRatio } from './AspectRatio.js';
10
+ export type { AspectRatioProps, AspectRatioShape, AspectRatioFit, } from './AspectRatio.js';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -15,9 +15,9 @@
15
15
  * Last synced props: alt, fallbackSrc, name, size, src, status, href, as, target, rel, onClick
16
16
  */
17
17
  import { type ReactNode } from 'react';
18
- import type { BaseProps } from '../BaseProps';
18
+ import type { BaseProps } from '../BaseProps.js';
19
19
  import * as stylex from '@stylexjs/stylex';
20
- import type { LinkComponentType } from '../Link/types';
20
+ import type { LinkComponentType } from '../Link/types.js';
21
21
  /**
22
22
  * Named size options.
23
23
  *
@@ -12,8 +12,8 @@
12
12
  * - /packages/cli/assets/templates/blocks/components/Avatar/ (showcase blocks)
13
13
  */
14
14
  import React, { type ReactNode } from 'react';
15
- import type { BaseProps } from '../BaseProps';
16
- import type { AvatarStatusDotVariantMap } from './index';
15
+ import type { BaseProps } from '../BaseProps.js';
16
+ import type { AvatarStatusDotVariantMap } from './index.js';
17
17
  /**
18
18
  * AvatarStatusDot variant type. Extensible via module augmentation of AvatarStatusDotVariantMap.
19
19
  */
@@ -31,8 +31,8 @@ export interface AvatarStatusDotVariantMap {
31
31
  neutral: true;
32
32
  error: true;
33
33
  }
34
- export { Avatar, resolveSize } from './Avatar';
35
- export type { AvatarProps, AvatarSize, AvatarShape } from './Avatar';
36
- export { AvatarStatusDot } from './AvatarStatusDot';
37
- export type { AvatarStatusDotProps, AvatarStatusDotVariant, } from './AvatarStatusDot';
34
+ export { Avatar, resolveSize } from './Avatar.js';
35
+ export type { AvatarProps, AvatarSize, AvatarShape } from './Avatar.js';
36
+ export { AvatarStatusDot } from './AvatarStatusDot.js';
37
+ export type { AvatarStatusDotProps, AvatarStatusDotVariant, } from './AvatarStatusDot.js';
38
38
  //# sourceMappingURL=index.d.ts.map
@@ -22,8 +22,8 @@
22
22
  * - /packages/cli/assets/templates/blocks/components/AvatarGroup/ (showcase blocks)
23
23
  */
24
24
  import { type ReactNode } from 'react';
25
- import type { BaseProps } from '../BaseProps';
26
- import { type AvatarShape, type AvatarSize } from '../Avatar';
25
+ import type { BaseProps } from '../BaseProps.js';
26
+ import { type AvatarShape, type AvatarSize } from '../Avatar/index.js';
27
27
  export interface AvatarGroupProps extends BaseProps<HTMLDivElement> {
28
28
  /** Ref forwarded to the root element. */
29
29
  ref?: React.Ref<HTMLDivElement>;
@@ -1,4 +1,4 @@
1
- import type { AvatarShape, AvatarSize } from '../Avatar';
1
+ import type { AvatarShape, AvatarSize } from '../Avatar/index.js';
2
2
  export interface AvatarGroupContextValue {
3
3
  size: AvatarSize;
4
4
  shape: AvatarShape;
@@ -11,7 +11,7 @@
11
11
  * - /packages/cli/assets/templates/blocks/components/AvatarGroup/ (showcase blocks)
12
12
  */
13
13
  import React, { type ReactNode } from 'react';
14
- import type { BaseProps } from '../BaseProps';
14
+ import type { BaseProps } from '../BaseProps.js';
15
15
  export interface AvatarGroupOverflowProps extends Omit<BaseProps<HTMLElement>, 'onClick'> {
16
16
  ref?: React.Ref<HTMLElement>;
17
17
  /**
@@ -6,10 +6,10 @@
6
6
  *
7
7
  * SYNC: When modified, update this header and /packages/core/src/AvatarGroup/AvatarGroup.doc.mjs
8
8
  */
9
- export { AvatarGroup } from './AvatarGroup';
10
- export type { AvatarGroupProps } from './AvatarGroup';
11
- export { AvatarGroupOverflow } from './AvatarGroupOverflow';
12
- export type { AvatarGroupOverflowProps } from './AvatarGroupOverflow';
13
- export { useAvatarGroup } from './AvatarGroupContext';
14
- export type { AvatarGroupContextValue } from './AvatarGroupContext';
9
+ export { AvatarGroup } from './AvatarGroup.js';
10
+ export type { AvatarGroupProps } from './AvatarGroup.js';
11
+ export { AvatarGroupOverflow } from './AvatarGroupOverflow.js';
12
+ export type { AvatarGroupOverflowProps } from './AvatarGroupOverflow.js';
13
+ export { useAvatarGroup } from './AvatarGroupContext.js';
14
+ export type { AvatarGroupContextValue } from './AvatarGroupContext.js';
15
15
  //# sourceMappingURL=index.d.ts.map
@@ -12,8 +12,8 @@
12
12
  * - /packages/cli/assets/templates/blocks/components/Badge/ (showcase blocks)
13
13
  */
14
14
  import type { ReactNode } from 'react';
15
- import type { BaseProps } from '../BaseProps';
16
- import type { BadgeVariantMap } from './index';
15
+ import type { BaseProps } from '../BaseProps.js';
16
+ import type { BadgeVariantMap } from './index.js';
17
17
  /**
18
18
  * Badge variant type derived from BadgeVariantMap.
19
19
  * Extensible via module augmentation of BadgeVariantMap.
@@ -35,6 +35,6 @@ export interface BadgeVariantMap {
35
35
  teal: true;
36
36
  yellow: true;
37
37
  }
38
- export { Badge } from './Badge';
39
- export type { BadgeProps, BadgeVariant } from './Badge';
38
+ export { Badge } from './Badge.js';
39
+ export type { BadgeProps, BadgeVariant } from './Badge.js';
40
40
  //# sourceMappingURL=index.d.ts.map
@@ -46,10 +46,10 @@
46
46
  * - /packages/cli/assets/templates/blocks/components/Banner/ (showcase blocks)
47
47
  */
48
48
  import { type ReactNode } from 'react';
49
- import type { BaseProps } from '../BaseProps';
50
- import type { CollapsibleConfig } from '../Collapsible/useCollapsible';
51
- import type { Elevation } from '../utils/types';
52
- import type { BannerStatusMap, BannerContainerMap } from './index';
49
+ import type { BaseProps } from '../BaseProps.js';
50
+ import type { CollapsibleConfig } from '../Collapsible/useCollapsible.js';
51
+ import type { Elevation } from '../utils/types.js';
52
+ import type { BannerStatusMap, BannerContainerMap } from './index.js';
53
53
  /**
54
54
  * Status type controlling the banner's icon and color.
55
55
  * Extensible via module augmentation of BannerStatusMap.
@@ -46,6 +46,6 @@ export interface BannerStatusMap {
46
46
  error: true;
47
47
  success: true;
48
48
  }
49
- export { Banner } from './Banner';
50
- export type { BannerProps, BannerStatus, BannerContainer } from './Banner';
49
+ export { Banner } from './Banner.js';
50
+ export type { BannerProps, BannerStatus, BannerContainer } from './Banner.js';
51
51
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@
11
11
  * - /packages/cli/assets/templates/blocks/components/Blockquote/ (showcase blocks)
12
12
  */
13
13
  import type { ReactNode } from 'react';
14
- import type { BaseProps } from '../BaseProps';
14
+ import type { BaseProps } from '../BaseProps.js';
15
15
  export interface BlockquoteProps extends BaseProps<HTMLQuoteElement> {
16
16
  /** Ref forwarded to the root <blockquote> element */
17
17
  ref?: React.Ref<HTMLQuoteElement>;
@@ -6,6 +6,6 @@
6
6
  *
7
7
  * SYNC: When modified, update /packages/core/src/Blockquote/Blockquote.doc.mjs
8
8
  */
9
- export { Blockquote } from './Blockquote';
10
- export type { BlockquoteProps } from './Blockquote';
9
+ export { Blockquote } from './Blockquote.js';
10
+ export type { BlockquoteProps } from './Blockquote.js';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @file BottomSheet.tsx
3
- * @input Uses React, StyleX, core hooks, shared layer dismissal, the shared interaction modality, named BottomSheetPanel, BottomSheetSwitcherContext
3
+ * @input Uses React, StyleX, core hooks, shared layer dismissal, the modal outlet registry, the shared interaction modality, named BottomSheetPanel, BottomSheetSwitcherContext
4
4
  * @output Exports BottomSheet component and BottomSheetProps
5
5
  * @position Public BottomSheet router plus private standalone/switcher hosts
6
6
  *
@@ -23,6 +23,9 @@
23
23
  * in a switcher, handing one scrim between two dialogs and keeping focus in
24
24
  * the active sheet when a retained dialog closes.
25
25
  *
26
+ * While a standalone modal sheet is open, its dialog is the outlet that
27
+ * app-global surfaces (toasts) render into (Layer/modalOutlet.ts).
28
+ *
26
29
  * SYNC: When modified, update these files to stay in sync:
27
30
  * - /packages/core/src/BottomSheet/BottomSheetPanel.tsx
28
31
  * - /packages/core/src/BottomSheet/BottomSheetEdgeTint.tsx
@@ -32,15 +35,16 @@
32
35
  * - /packages/core/src/BottomSheet/BottomSheetSwitcher.test.tsx
33
36
  * - /packages/core/src/Layer/layerDismissalFamilies.test.tsx
34
37
  * - /packages/core/src/Layer/layerDismissalInvariants.test.tsx
38
+ * - /packages/core/src/Toast/ToastViewport.modalHost.test.tsx
35
39
  * - /apps/storybook/stories/BottomSheet.stories.tsx
36
40
  * - /packages/cli/assets/templates/blocks/components/BottomSheet/BottomSheetShowcase.tsx
37
41
  */
38
42
  import { type RefObject, type ReactNode } from 'react';
39
- import type { BaseProps } from '../BaseProps';
40
- import type { DialogPurpose } from '../Dialog';
41
- import type { SpacingStep } from '../utils/types';
42
- export type { BottomSheetHeight, BottomSheetSnapPoint } from './BottomSheetPanel';
43
- import type { BottomSheetHeight, BottomSheetSnapPoint } from './BottomSheetPanel';
43
+ import type { BaseProps } from '../BaseProps.js';
44
+ import type { DialogPurpose } from '../Dialog/index.js';
45
+ import type { SpacingStep } from '../utils/types.js';
46
+ export type { BottomSheetHeight, BottomSheetSnapPoint } from './BottomSheetPanel.js';
47
+ import type { BottomSheetHeight, BottomSheetSnapPoint } from './BottomSheetPanel.js';
44
48
  interface BottomSheetSharedProps extends BaseProps<HTMLDivElement> {
45
49
  /** Ref forwarded to the visual sheet panel <div>. */
46
50
  ref?: React.Ref<HTMLDivElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../src/BottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,OAAO,EAOL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAoBhD,YAAY,EAAC,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AAChF,OAAO,KAAK,EAAC,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AA2FhF,UAAU,sBAAuB,SAAQ,SAAS,CAAC,cAAc,CAAC;IAChE,qDAAqD;IACrD,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAEhC,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IAEd,0EAA0E;IAC1E,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB,wGAAwG;IACxG,MAAM,CAAC,EAAE,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC;IAE7C;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;IAEjD;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,UAAU,0BAA2B,SAAQ,sBAAsB;IACjE,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC9C,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB;AAED,UAAU,wBAAyB,SAAQ,sBAAsB;IAC/D,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,MAAM,MAAM,gBAAgB,GAC1B,0BAA0B,GAAG,wBAAwB,CAAC;AAikBxD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BA6BlD;yBA7Be,WAAW"}
1
+ {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../src/BottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,OAAO,EAOL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAqBhD,YAAY,EAAC,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AAChF,OAAO,KAAK,EAAC,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AA2FhF,UAAU,sBAAuB,SAAQ,SAAS,CAAC,cAAc,CAAC;IAChE,qDAAqD;IACrD,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAEhC,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IAEd,0EAA0E;IAC1E,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB,wGAAwG;IACxG,MAAM,CAAC,EAAE,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC;IAE7C;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;IAEjD;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,UAAU,0BAA2B,SAAQ,sBAAsB;IACjE,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC9C,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB;AAED,UAAU,wBAAyB,SAAQ,sBAAsB;IAC/D,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,MAAM,MAAM,gBAAgB,GAC1B,0BAA0B,GAAG,wBAAwB,CAAC;AAukBxD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BA6BlD;yBA7Be,WAAW"}
@@ -4,7 +4,7 @@
4
4
 
5
5
  /**
6
6
  * @file BottomSheet.tsx
7
- * @input Uses React, StyleX, core hooks, shared layer dismissal, the shared interaction modality, named BottomSheetPanel, BottomSheetSwitcherContext
7
+ * @input Uses React, StyleX, core hooks, shared layer dismissal, the modal outlet registry, the shared interaction modality, named BottomSheetPanel, BottomSheetSwitcherContext
8
8
  * @output Exports BottomSheet component and BottomSheetProps
9
9
  * @position Public BottomSheet router plus private standalone/switcher hosts
10
10
  *
@@ -27,6 +27,9 @@
27
27
  * in a switcher, handing one scrim between two dialogs and keeping focus in
28
28
  * the active sheet when a retained dialog closes.
29
29
  *
30
+ * While a standalone modal sheet is open, its dialog is the outlet that
31
+ * app-global surfaces (toasts) render into (Layer/modalOutlet.ts).
32
+ *
30
33
  * SYNC: When modified, update these files to stay in sync:
31
34
  * - /packages/core/src/BottomSheet/BottomSheetPanel.tsx
32
35
  * - /packages/core/src/BottomSheet/BottomSheetEdgeTint.tsx
@@ -36,6 +39,7 @@
36
39
  * - /packages/core/src/BottomSheet/BottomSheetSwitcher.test.tsx
37
40
  * - /packages/core/src/Layer/layerDismissalFamilies.test.tsx
38
41
  * - /packages/core/src/Layer/layerDismissalInvariants.test.tsx
42
+ * - /packages/core/src/Toast/ToastViewport.modalHost.test.tsx
39
43
  * - /apps/storybook/stories/BottomSheet.stories.tsx
40
44
  * - /packages/cli/assets/templates/blocks/components/BottomSheet/BottomSheetShowcase.tsx
41
45
  */
@@ -46,6 +50,7 @@ import { colorVars, durationVars, easeVars } from "../theme/tokens.stylex.js";
46
50
  import { useDevWarning, useScrollLock } from "../hooks/index.js";
47
51
  import { mergeProps } from "../utils/index.js";
48
52
  import { LayerDepthProvider } from "../Layer/LayerDepthContext.js";
53
+ import { useModalOutlet } from "../Layer/modalOutlet.js";
49
54
  import { useLayerDismissal } from "../Layer/useLayerDismissal.js";
50
55
  import { focusForLastInput } from "../utils/focusReturn.js";
51
56
  import { useInteractionModalityTracking } from "../utils/interactionModality.js";
@@ -253,6 +258,12 @@ function StandaloneBottomSheet({
253
258
  focusPanel(panelRef.current, hasScrim);
254
259
  }
255
260
  }, [hasScrim, isOpen]);
261
+
262
+ // Host app-global surfaces (toasts) inside this sheet while it is an open
263
+ // modal, so they stay visible and operable above it. A closing sheet stays
264
+ // modal through its exit animation, but inert and hidden, so it hands them
265
+ // back as soon as it starts closing.
266
+ useModalOutlet(dialogRef, isOpen && hasScrim);
256
267
  useEffect(() => {
257
268
  if (!isOpen && isPresented && hasScrim) {
258
269
  handleScrimOpacity(0);
@@ -19,9 +19,9 @@
19
19
  * - /packages/core/src/Layout/container.stylex.ts (bottom-sheet padding chain)
20
20
  */
21
21
  import { type ReactNode } from 'react';
22
- import type { BaseProps } from '../BaseProps';
23
- import type { SpacingStep } from '../utils/types';
24
- import { type BottomSheetSnapPoint } from './snapOffsets';
22
+ import type { BaseProps } from '../BaseProps.js';
23
+ import type { SpacingStep } from '../utils/types.js';
24
+ import { type BottomSheetSnapPoint } from './snapOffsets.js';
25
25
  declare const HEIGHT_BUDGETS: {
26
26
  readonly hug: "92dvh";
27
27
  readonly capped: "62dvh";
@@ -50,7 +50,7 @@
50
50
  * - /packages/cli/assets/templates/blocks/components/BottomSheet/BottomSheetSwitcherShowcase.tsx
51
51
  */
52
52
  import { type ReactNode, type SyntheticEvent } from 'react';
53
- import type { BaseProps } from '../BaseProps';
53
+ import type { BaseProps } from '../BaseProps.js';
54
54
  export interface BottomSheetSwitcherProps extends BaseProps<HTMLDialogElement> {
55
55
  /**
56
56
  * Ref resolved to the native dialog hosting the flow: the active sheet's
@@ -10,8 +10,8 @@
10
10
  * down to those sheet hosts.
11
11
  */
12
12
  import type { KeyboardEvent as ReactKeyboardEvent, MouseEvent as ReactMouseEvent, SyntheticEvent } from 'react';
13
- import type { BaseProps } from '../BaseProps';
14
- import type { DialogPurpose } from '../Dialog';
13
+ import type { BaseProps } from '../BaseProps.js';
14
+ import type { DialogPurpose } from '../Dialog/index.js';
15
15
  export type BottomSheetSwitcherPhase = 'entering' | 'active' | 'covered' | 'aligning' | 'fading' | 'exiting' | 'hidden';
16
16
  export interface BottomSheetSwitcherTransitionEvent {
17
17
  sheetId: string;
@@ -4,8 +4,8 @@
4
4
  * @output Re-exports the BottomSheet public API
5
5
  * @position Component entry point; re-exported by /packages/core/src/index.ts
6
6
  */
7
- export { BottomSheet } from './BottomSheet';
8
- export type { BottomSheetHeight, BottomSheetProps, BottomSheetSnapPoint, } from './BottomSheet';
9
- export { BottomSheetSwitcher } from './BottomSheetSwitcher';
10
- export type { BottomSheetSwitcherProps } from './BottomSheetSwitcher';
7
+ export { BottomSheet } from './BottomSheet.js';
8
+ export type { BottomSheetHeight, BottomSheetProps, BottomSheetSnapPoint, } from './BottomSheet.js';
9
+ export { BottomSheetSwitcher } from './BottomSheetSwitcher.js';
10
+ export type { BottomSheetSwitcherProps } from './BottomSheetSwitcher.js';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -19,10 +19,10 @@
19
19
  * - /packages/cli/assets/templates/blocks/components/Breadcrumbs/ (showcase blocks)
20
20
  */
21
21
  import React, { type ReactNode, type MouseEvent } from 'react';
22
- import type { LinkComponentType } from '../Link/types';
23
- import type { BaseProps } from '../BaseProps';
24
- import { type DropdownMenuSize } from '../DropdownMenu/DropdownMenuContext';
25
- import type { DropdownMenuOption } from '../DropdownMenu/DropdownMenu';
22
+ import type { LinkComponentType } from '../Link/types.js';
23
+ import type { BaseProps } from '../BaseProps.js';
24
+ import { type DropdownMenuSize } from '../DropdownMenu/DropdownMenuContext.js';
25
+ import type { DropdownMenuOption } from '../DropdownMenu/DropdownMenu.js';
26
26
  export interface BreadcrumbItemProps extends Omit<BaseProps<HTMLLIElement>, 'onClick'> {
27
27
  ref?: React.Ref<HTMLLIElement>;
28
28
  /**
@@ -12,8 +12,8 @@
12
12
  * - /packages/cli/assets/templates/blocks/components/Breadcrumbs/ (showcase blocks)
13
13
  */
14
14
  import { type ReactNode } from 'react';
15
- import type { BaseProps } from '../BaseProps';
16
- import type { BreadcrumbsVariantMap } from './index';
15
+ import type { BaseProps } from '../BaseProps.js';
16
+ import type { BreadcrumbsVariantMap } from './index.js';
17
17
  /**
18
18
  * Visual variant for the breadcrumb trail.
19
19
  * - `'default'`: Standard text styling
@@ -18,16 +18,16 @@ export interface BreadcrumbsVariantMap {
18
18
  default: true;
19
19
  supporting: true;
20
20
  }
21
- export { Breadcrumbs } from './Breadcrumbs';
22
- export type { BreadcrumbsProps, BreadcrumbsVariant } from './Breadcrumbs';
23
- export { BreadcrumbItem } from './BreadcrumbItem';
24
- export type { BreadcrumbItemProps } from './BreadcrumbItem';
25
- export { DropdownMenuItem as BreadcrumbMenuItem, type DropdownMenuItemProps as BreadcrumbMenuItemProps, } from '../DropdownMenu/DropdownMenuItem';
26
- export { DropdownMenuDivider as BreadcrumbMenuDivider, type DropdownMenuDividerProps as BreadcrumbMenuDividerProps, } from '../DropdownMenu/DropdownMenuDivider';
27
- export { DropdownMenuGroup as BreadcrumbMenuGroup, type DropdownMenuGroupProps as BreadcrumbMenuGroupProps, } from '../DropdownMenu/DropdownMenuGroup';
28
- export { DropdownMenuCheckboxItem as BreadcrumbMenuCheckboxItem, type DropdownMenuCheckboxItemProps as BreadcrumbMenuCheckboxItemProps, } from '../DropdownMenu/DropdownMenuCheckboxItem';
29
- export { DropdownMenuRadioGroup as BreadcrumbMenuRadioGroup, type DropdownMenuRadioGroupProps as BreadcrumbMenuRadioGroupProps, } from '../DropdownMenu/DropdownMenuRadioGroup';
30
- export { DropdownMenuRadioItem as BreadcrumbMenuRadioItem, type DropdownMenuRadioItemProps as BreadcrumbMenuRadioItemProps, } from '../DropdownMenu/DropdownMenuRadioItem';
31
- export { DropdownMenuSubMenu as BreadcrumbMenuSubMenu, type DropdownMenuSubMenuProps as BreadcrumbMenuSubMenuProps, } from '../DropdownMenu/DropdownMenuSubMenu';
32
- export type { DropdownMenuOption as BreadcrumbMenuOption, DropdownMenuItemData as BreadcrumbMenuItemData, DropdownMenuDividerData as BreadcrumbMenuDividerData, DropdownMenuSection as BreadcrumbMenuSection, } from '../DropdownMenu/DropdownMenu';
21
+ export { Breadcrumbs } from './Breadcrumbs.js';
22
+ export type { BreadcrumbsProps, BreadcrumbsVariant } from './Breadcrumbs.js';
23
+ export { BreadcrumbItem } from './BreadcrumbItem.js';
24
+ export type { BreadcrumbItemProps } from './BreadcrumbItem.js';
25
+ export { DropdownMenuItem as BreadcrumbMenuItem, type DropdownMenuItemProps as BreadcrumbMenuItemProps, } from '../DropdownMenu/DropdownMenuItem.js';
26
+ export { DropdownMenuDivider as BreadcrumbMenuDivider, type DropdownMenuDividerProps as BreadcrumbMenuDividerProps, } from '../DropdownMenu/DropdownMenuDivider.js';
27
+ export { DropdownMenuGroup as BreadcrumbMenuGroup, type DropdownMenuGroupProps as BreadcrumbMenuGroupProps, } from '../DropdownMenu/DropdownMenuGroup.js';
28
+ export { DropdownMenuCheckboxItem as BreadcrumbMenuCheckboxItem, type DropdownMenuCheckboxItemProps as BreadcrumbMenuCheckboxItemProps, } from '../DropdownMenu/DropdownMenuCheckboxItem.js';
29
+ export { DropdownMenuRadioGroup as BreadcrumbMenuRadioGroup, type DropdownMenuRadioGroupProps as BreadcrumbMenuRadioGroupProps, } from '../DropdownMenu/DropdownMenuRadioGroup.js';
30
+ export { DropdownMenuRadioItem as BreadcrumbMenuRadioItem, type DropdownMenuRadioItemProps as BreadcrumbMenuRadioItemProps, } from '../DropdownMenu/DropdownMenuRadioItem.js';
31
+ export { DropdownMenuSubMenu as BreadcrumbMenuSubMenu, type DropdownMenuSubMenuProps as BreadcrumbMenuSubMenuProps, } from '../DropdownMenu/DropdownMenuSubMenu.js';
32
+ export type { DropdownMenuOption as BreadcrumbMenuOption, DropdownMenuItemData as BreadcrumbMenuItemData, DropdownMenuDividerData as BreadcrumbMenuDividerData, DropdownMenuSection as BreadcrumbMenuSection, } from '../DropdownMenu/DropdownMenu.js';
33
33
  //# sourceMappingURL=index.d.ts.map
@@ -14,11 +14,11 @@
14
14
  * Last synced props: label, variant, size, isDisabled, isLoading, isInterruptible, clickAction, icon, isIconOnly, width, children, tooltip, endContent, href, as, target, rel
15
15
  */
16
16
  import { type ReactNode } from 'react';
17
- import type { BaseProps } from '../BaseProps';
18
- import type { Elevation, SizeValue } from '../utils/types';
17
+ import type { BaseProps } from '../BaseProps.js';
18
+ import type { Elevation, SizeValue } from '../utils/types.js';
19
19
  import * as stylex from '@stylexjs/stylex';
20
- import type { LinkComponentType } from '../Link/types';
21
- import type { ButtonVariantMap } from './index';
20
+ import type { LinkComponentType } from '../Link/types.js';
21
+ import type { ButtonVariantMap } from './index.js';
22
22
  declare const sizeStyles: Readonly<{
23
23
  readonly sm: Readonly<{
24
24
  readonly height: stylex.StyleXClassNameFor<"height", "28px">;
@@ -25,6 +25,6 @@ export interface ButtonVariantMap {
25
25
  ghost: true;
26
26
  destructive: true;
27
27
  }
28
- export { Button } from './Button';
29
- export type { ButtonProps, ButtonVariant, ButtonSize } from './Button';
28
+ export { Button } from './Button.js';
29
+ export type { ButtonProps, ButtonVariant, ButtonSize } from './Button.js';
30
30
  //# sourceMappingURL=index.d.ts.map
@@ -17,10 +17,10 @@
17
17
  * - /packages/cli/assets/templates/blocks/components/ButtonGroup/ (showcase blocks)
18
18
  */
19
19
  import { type ReactNode } from 'react';
20
- import type { ButtonSize } from '../Button';
21
- import type { Elevation } from '../utils/types';
22
- import type { BaseProps } from '../BaseProps';
23
- import type { ButtonGroupOrientation } from './ButtonGroupContext';
20
+ import type { ButtonSize } from '../Button/index.js';
21
+ import type { Elevation } from '../utils/types.js';
22
+ import type { BaseProps } from '../BaseProps.js';
23
+ import type { ButtonGroupOrientation } from './ButtonGroupContext.js';
24
24
  export interface ButtonGroupProps extends BaseProps<HTMLDivElement> {
25
25
  /** Ref forwarded to the root element. */
26
26
  ref?: React.Ref<HTMLDivElement>;
@@ -4,8 +4,8 @@
4
4
  * @output Exports ButtonGroup, context hook, and types
5
5
  * @position Component entry point; re-exported by /packages/core/src/index.ts
6
6
  */
7
- export { ButtonGroup } from './ButtonGroup';
8
- export type { ButtonGroupProps } from './ButtonGroup';
9
- export { useButtonGroup } from './ButtonGroupContext';
10
- export type { ButtonGroupOrientation, ButtonGroupContextValue, } from './ButtonGroupContext';
7
+ export { ButtonGroup } from './ButtonGroup.js';
8
+ export type { ButtonGroupProps } from './ButtonGroup.js';
9
+ export { useButtonGroup } from './ButtonGroupContext.js';
10
+ export type { ButtonGroupOrientation, ButtonGroupContextValue, } from './ButtonGroupContext.js';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
- import type { BaseProps } from '../BaseProps';
2
- export type { ISODateString, DayOfWeek, DayOfWeekName, DateRange, } from '../utils/dateTypes';
3
- import type { ISODateString, DayOfWeek, DayOfWeekName, DateRange } from '../utils/dateTypes';
1
+ import type { BaseProps } from '../BaseProps.js';
2
+ export type { ISODateString, DayOfWeek, DayOfWeekName, DateRange, } from '../utils/dateTypes.js';
3
+ import type { ISODateString, DayOfWeek, DayOfWeekName, DateRange } from '../utils/dateTypes.js';
4
4
  /** Imperative handle for Calendar handleRef */
5
5
  export interface CalendarHandle {
6
6
  /** Navigate the calendar to show the month containing the given date */
@@ -1,4 +1,4 @@
1
- import type { PlainDate } from '../utils/plainDate';
1
+ import type { PlainDate } from '../utils/plainDate.js';
2
2
  export interface DayCellState {
3
3
  effectivelyDisabled: boolean;
4
4
  isToday: boolean;
@@ -8,8 +8,8 @@
8
8
  * - /packages/core/src/Calendar/getInitialFocusDate.test.ts
9
9
  * - /packages/core/src/Calendar/Calendar.tsx (the only caller)
10
10
  */
11
- import type { ISODateString, DateRange } from '../utils/dateTypes';
12
- import { type PlainDate } from '../utils/plainDate';
11
+ import type { ISODateString, DateRange } from '../utils/dateTypes.js';
12
+ import { type PlainDate } from '../utils/plainDate.js';
13
13
  export interface InitialFocusDateOptions {
14
14
  /** Controlled visible month, if the consumer supplied one. */
15
15
  focusDate?: ISODateString;
@@ -4,7 +4,7 @@
4
4
  * @output Private locale resolver for Calendar weekday headers
5
5
  * @position Calendar-internal pure utility; not exported from the package
6
6
  */
7
- import { type StandaloneShortWeekdayNames } from './standaloneShortWeekdayNames.generated';
7
+ import { type StandaloneShortWeekdayNames } from './standaloneShortWeekdayNames.generated.js';
8
8
  /**
9
9
  * Resolve generated weekday reference data as exact locale -> language -> English.
10
10
  * Unicode extensions are ignored through Intl.Locale.baseName. Invalid tags and