@astryxdesign/core 0.7.4 → 0.7.5-canary.04434e7

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 (546) hide show
  1. package/dist/AlertDialog/AlertDialog.d.ts +2 -2
  2. package/dist/AlertDialog/index.d.ts +4 -4
  3. package/dist/AlertDialog/useImperativeAlertDialog.d.ts +1 -1
  4. package/dist/AppShell/AppShell.d.ts +4 -4
  5. package/dist/AppShell/index.d.ts +4 -4
  6. package/dist/AspectRatio/AspectRatio.d.ts +1 -1
  7. package/dist/AspectRatio/index.d.ts +2 -2
  8. package/dist/Avatar/Avatar.d.ts +2 -2
  9. package/dist/Avatar/AvatarStatusDot.d.ts +2 -2
  10. package/dist/Avatar/index.d.ts +4 -4
  11. package/dist/AvatarGroup/AvatarGroup.d.ts +2 -2
  12. package/dist/AvatarGroup/AvatarGroupContext.d.ts +1 -1
  13. package/dist/AvatarGroup/AvatarGroupOverflow.d.ts +1 -1
  14. package/dist/AvatarGroup/index.d.ts +6 -6
  15. package/dist/Badge/Badge.d.ts +2 -2
  16. package/dist/Badge/index.d.ts +2 -2
  17. package/dist/Banner/Banner.d.ts +4 -4
  18. package/dist/Banner/index.d.ts +2 -2
  19. package/dist/Blockquote/Blockquote.d.ts +1 -1
  20. package/dist/Blockquote/index.d.ts +2 -2
  21. package/dist/BottomSheet/BottomSheet.d.ts +10 -6
  22. package/dist/BottomSheet/BottomSheet.d.ts.map +1 -1
  23. package/dist/BottomSheet/BottomSheet.js +12 -1
  24. package/dist/BottomSheet/BottomSheetPanel.d.ts +3 -3
  25. package/dist/BottomSheet/BottomSheetSwitcher.d.ts +1 -1
  26. package/dist/BottomSheet/BottomSheetSwitcherContext.d.ts +2 -2
  27. package/dist/BottomSheet/index.d.ts +4 -4
  28. package/dist/Breadcrumbs/BreadcrumbItem.d.ts +4 -4
  29. package/dist/Breadcrumbs/Breadcrumbs.d.ts +2 -2
  30. package/dist/Breadcrumbs/index.d.ts +12 -12
  31. package/dist/Button/Button.d.ts +4 -4
  32. package/dist/Button/index.d.ts +2 -2
  33. package/dist/ButtonGroup/ButtonGroup.d.ts +4 -4
  34. package/dist/ButtonGroup/index.d.ts +4 -4
  35. package/dist/Calendar/Calendar.d.ts +3 -3
  36. package/dist/Calendar/dayCellUtils.d.ts +1 -1
  37. package/dist/Calendar/getInitialFocusDate.d.ts +2 -2
  38. package/dist/Calendar/getStandaloneShortWeekdayNames.d.ts +1 -1
  39. package/dist/Calendar/hooks/index.d.ts +6 -6
  40. package/dist/Calendar/hooks/useCalendarConstraints.d.ts +2 -2
  41. package/dist/Calendar/hooks/useCalendarDays.d.ts +2 -2
  42. package/dist/Calendar/hooks/useCalendarNavigation.d.ts +2 -2
  43. package/dist/Calendar/index.d.ts +5 -5
  44. package/dist/Calendar/utils.d.ts +1 -1
  45. package/dist/Card/Card.d.ts +4 -4
  46. package/dist/Card/index.d.ts +2 -2
  47. package/dist/Carousel/Carousel.d.ts +2 -2
  48. package/dist/Carousel/index.d.ts +2 -2
  49. package/dist/Center/Center.d.ts +2 -2
  50. package/dist/Center/index.d.ts +2 -2
  51. package/dist/Chat/ChatComposer.d.ts +1 -1
  52. package/dist/Chat/ChatComposerDrawer.d.ts +1 -1
  53. package/dist/Chat/ChatComposerInput.d.ts +4 -4
  54. package/dist/Chat/ChatDictationButton.d.ts +2 -2
  55. package/dist/Chat/ChatLayout.d.ts +1 -1
  56. package/dist/Chat/ChatLayoutScrollButton.d.ts +1 -1
  57. package/dist/Chat/ChatMessage.d.ts +2 -2
  58. package/dist/Chat/ChatMessageBubble.d.ts +2 -2
  59. package/dist/Chat/ChatMessageList.d.ts +3 -3
  60. package/dist/Chat/ChatMessageMetadata.d.ts +1 -1
  61. package/dist/Chat/ChatSendButton.d.ts +1 -1
  62. package/dist/Chat/ChatSystemMessage.d.ts +1 -1
  63. package/dist/Chat/ChatTokenizedText.d.ts +2 -2
  64. package/dist/Chat/ChatToolCalls.d.ts +1 -1
  65. package/dist/Chat/index.d.ts +43 -43
  66. package/dist/Chat/useChatComposerTokens.d.ts +1 -1
  67. package/dist/Chat/useChatDictation.d.ts +1 -1
  68. package/dist/Chat/useChatPasteAsToken.d.ts +1 -1
  69. package/dist/Chat/useTriggerMenu.d.ts +2 -2
  70. package/dist/CheckboxInput/CheckboxInput.d.ts +4 -4
  71. package/dist/CheckboxInput/index.d.ts +2 -2
  72. package/dist/CheckboxList/CheckboxList.d.ts +4 -4
  73. package/dist/CheckboxList/CheckboxListItem.d.ts +2 -2
  74. package/dist/CheckboxList/index.d.ts +4 -4
  75. package/dist/Citation/Citation.d.ts +1 -1
  76. package/dist/Citation/index.d.ts +2 -2
  77. package/dist/ClickableCard/ClickableCard.d.ts +3 -3
  78. package/dist/ClickableCard/index.d.ts +2 -2
  79. package/dist/Code/Code.d.ts +1 -1
  80. package/dist/Code/index.d.ts +1 -1
  81. package/dist/CodeBlock/CodeBlock.d.ts +2 -2
  82. package/dist/CodeBlock/highlightRanges.d.ts +1 -1
  83. package/dist/CodeBlock/index.d.ts +8 -8
  84. package/dist/Collapsible/Collapsible.d.ts +2 -2
  85. package/dist/Collapsible/CollapsibleGroup.d.ts +2 -2
  86. package/dist/Collapsible/index.d.ts +7 -7
  87. package/dist/CommandPalette/CommandPalette.d.ts +2 -2
  88. package/dist/CommandPalette/CommandPaletteContext.d.ts +1 -1
  89. package/dist/CommandPalette/CommandPaletteEmpty.d.ts +1 -1
  90. package/dist/CommandPalette/CommandPaletteFooter.d.ts +1 -1
  91. package/dist/CommandPalette/CommandPaletteGroup.d.ts +1 -1
  92. package/dist/CommandPalette/CommandPaletteInput.d.ts +1 -1
  93. package/dist/CommandPalette/CommandPaletteItem.d.ts +1 -1
  94. package/dist/CommandPalette/CommandPaletteList.d.ts +1 -1
  95. package/dist/CommandPalette/index.d.ts +16 -16
  96. package/dist/ComplexSelector/ComplexSelector.d.ts +5 -5
  97. package/dist/ComplexSelector/index.d.ts +1 -1
  98. package/dist/ContextMenu/ContextMenu.d.ts +4 -4
  99. package/dist/ContextMenu/index.d.ts +9 -9
  100. package/dist/DateInput/DateInput.d.ts +7 -7
  101. package/dist/DateInput/MonthScroller.d.ts +1 -1
  102. package/dist/DateInput/NativeDateField.d.ts +1 -1
  103. package/dist/DateInput/TouchDateField.d.ts +1 -1
  104. package/dist/DateInput/Wheel.d.ts.map +1 -1
  105. package/dist/DateInput/Wheel.js +1 -1
  106. package/dist/DateInput/index.d.ts +2 -2
  107. package/dist/DateInput/monthGeometry.d.ts +1 -1
  108. package/dist/DateRangeInput/DateRangeInput.d.ts +6 -6
  109. package/dist/DateRangeInput/index.d.ts +2 -2
  110. package/dist/DateTimeInput/DateTimeInput.d.ts +6 -6
  111. package/dist/DateTimeInput/NativeDateSegment.d.ts +3 -3
  112. package/dist/DateTimeInput/NativeTimeSegment.d.ts +4 -4
  113. package/dist/DateTimeInput/TouchDateTimeField.d.ts +1 -1
  114. package/dist/DateTimeInput/index.d.ts +2 -2
  115. package/dist/Dialog/Dialog.d.ts +3 -3
  116. package/dist/Dialog/DialogHeader.d.ts +1 -1
  117. package/dist/Dialog/index.d.ts +6 -6
  118. package/dist/Dialog/useImperativeDialog.d.ts +1 -1
  119. package/dist/Divider/Divider.d.ts +2 -2
  120. package/dist/Divider/index.d.ts +2 -2
  121. package/dist/Drawer/Drawer.d.ts +3 -3
  122. package/dist/Drawer/DrawerHeader.d.ts +1 -1
  123. package/dist/Drawer/index.d.ts +4 -4
  124. package/dist/DropdownMenu/DropdownMenu.d.ts +5 -5
  125. package/dist/DropdownMenu/DropdownMenuCheckboxItem.d.ts +2 -2
  126. package/dist/DropdownMenu/DropdownMenuDivider.d.ts +1 -1
  127. package/dist/DropdownMenu/DropdownMenuGroup.d.ts +1 -1
  128. package/dist/DropdownMenu/DropdownMenuItem.d.ts +2 -2
  129. package/dist/DropdownMenu/DropdownMenuRadioGroup.d.ts +1 -1
  130. package/dist/DropdownMenu/DropdownMenuRadioItem.d.ts +12 -7
  131. package/dist/DropdownMenu/DropdownMenuRadioItem.d.ts.map +1 -1
  132. package/dist/DropdownMenu/DropdownMenuRadioItem.js +13 -5
  133. package/dist/DropdownMenu/DropdownMenuSubMenu.d.ts +2 -2
  134. package/dist/DropdownMenu/MenuBottomSheetActionList.d.ts +1 -1
  135. package/dist/DropdownMenu/index.d.ts +10 -10
  136. package/dist/DropdownMenu/lazyMenuBottomSheet.d.ts +2 -2
  137. package/dist/DropdownMenu/renderDropdownItems.d.ts +1 -1
  138. package/dist/DropdownMenu/useMenuDrillIn.d.ts +1 -1
  139. package/dist/EmptyState/EmptyState.d.ts +1 -1
  140. package/dist/EmptyState/index.d.ts +2 -2
  141. package/dist/Field/Field.d.ts +5 -5
  142. package/dist/Field/FieldLabel.d.ts +2 -2
  143. package/dist/Field/PanelSearchInput.d.ts +1 -1
  144. package/dist/Field/fieldInputFamily.testing.d.ts +1 -1
  145. package/dist/Field/fieldParts.d.ts +1 -1
  146. package/dist/Field/index.d.ts +10 -10
  147. package/dist/Field/inputDisabledFocus.d.ts +14 -0
  148. package/dist/Field/inputDisabledFocus.d.ts.map +1 -0
  149. package/dist/Field/inputDisabledFocus.js +19 -0
  150. package/dist/FieldStatus/FieldStatus.d.ts +3 -3
  151. package/dist/FieldStatus/index.d.ts +2 -2
  152. package/dist/FieldStatus/useFieldStatusAnnouncement.d.ts +1 -1
  153. package/dist/FileInput/FileInput.d.ts +4 -4
  154. package/dist/FileInput/index.d.ts +2 -2
  155. package/dist/FormLayout/FormLayout.d.ts +2 -2
  156. package/dist/FormLayout/index.d.ts +4 -4
  157. package/dist/Grid/Grid.d.ts +3 -3
  158. package/dist/Grid/GridSpan.d.ts +1 -1
  159. package/dist/Grid/index.d.ts +4 -4
  160. package/dist/HStack/HStack.d.ts +2 -2
  161. package/dist/HStack/index.d.ts +1 -1
  162. package/dist/Heading/Heading.d.ts +4 -4
  163. package/dist/Heading/index.d.ts +1 -1
  164. package/dist/HoverCard/HoverCard.d.ts +4 -4
  165. package/dist/HoverCard/index.d.ts +4 -4
  166. package/dist/HoverCard/useHoverCard.d.ts +2 -2
  167. package/dist/Icon/Icon.d.ts +3 -3
  168. package/dist/Icon/IconDefaultSizeContext.d.ts +1 -1
  169. package/dist/Icon/defaultIcons.d.ts +1 -1
  170. package/dist/Icon/globalIconRegistry.d.ts +1 -1
  171. package/dist/Icon/index.d.ts +5 -5
  172. package/dist/Icon/useIcon.d.ts +1 -1
  173. package/dist/IconButton/IconButton.d.ts +1 -1
  174. package/dist/IconButton/index.d.ts +2 -2
  175. package/dist/Indicator/CheckIndicator.d.ts +1 -1
  176. package/dist/Indicator/CheckboxIndicator.d.ts +1 -1
  177. package/dist/Indicator/RadioIndicator.d.ts +1 -1
  178. package/dist/Indicator/index.d.ts +8 -8
  179. package/dist/Indicator/indicatorRegistry.d.ts +2 -2
  180. package/dist/Indicator/types.d.ts +1 -1
  181. package/dist/Indicator/useIndicator.d.ts +2 -2
  182. package/dist/InputGroup/InputGroup.d.ts +2 -2
  183. package/dist/InputGroup/InputGroupText.d.ts +1 -1
  184. package/dist/InputGroup/index.d.ts +6 -6
  185. package/dist/InteractiveRoleContext/InteractiveRoleContext.d.ts +1 -1
  186. package/dist/InteractiveRoleContext/index.d.ts +1 -1
  187. package/dist/Item/Item.d.ts +1 -1
  188. package/dist/Item/ItemSwipeLayer.d.ts +2 -2
  189. package/dist/Item/index.d.ts +2 -2
  190. package/dist/Kbd/Kbd.d.ts +1 -1
  191. package/dist/Kbd/index.d.ts +2 -2
  192. package/dist/Layer/LayerProvider.d.ts +1 -1
  193. package/dist/Layer/index.d.ts +18 -18
  194. package/dist/Layer/layerInset.d.ts +1 -1
  195. package/dist/Layer/layerSlideRules.d.ts +1 -1
  196. package/dist/Layer/modalOutlet.d.ts +1 -1
  197. package/dist/Layer/modalOutlet.js +1 -1
  198. package/dist/Layer/useLayerDismissal.d.ts +1 -1
  199. package/dist/Layer/useTouchTrigger.d.ts +14 -1
  200. package/dist/Layer/useTouchTrigger.d.ts.map +1 -1
  201. package/dist/Layer/useTouchTrigger.js +72 -17
  202. package/dist/Layout/Layout.d.ts +2 -2
  203. package/dist/Layout/LayoutContent.d.ts +2 -2
  204. package/dist/Layout/LayoutFooter.d.ts +2 -2
  205. package/dist/Layout/LayoutHeader.d.ts +2 -2
  206. package/dist/Layout/LayoutPanel.d.ts +3 -3
  207. package/dist/Layout/index.d.ts +29 -29
  208. package/dist/Layout/padding.stylex.d.ts +1 -1
  209. package/dist/Lightbox/Lightbox.d.ts +1 -1
  210. package/dist/Lightbox/index.d.ts +4 -4
  211. package/dist/Lightbox/useLightbox.d.ts +1 -1
  212. package/dist/Link/Link.d.ts +3 -3
  213. package/dist/Link/LinkContext.d.ts +1 -1
  214. package/dist/Link/LinkProvider.d.ts +1 -1
  215. package/dist/Link/index.d.ts +8 -8
  216. package/dist/Link/useLinkComponent.d.ts +1 -1
  217. package/dist/List/List.d.ts +3 -3
  218. package/dist/List/ListItem.d.ts +2 -2
  219. package/dist/List/index.d.ts +4 -4
  220. package/dist/Markdown/Markdown.d.ts +4 -4
  221. package/dist/Markdown/headingProjection.d.ts +3 -3
  222. package/dist/Markdown/index.d.ts +7 -7
  223. package/dist/Markdown/parser/index.d.ts +3 -3
  224. package/dist/Markdown/parser.d.ts +3 -3
  225. package/dist/Markdown/plugin-renderer/MarkdownPluginNodeRenderer.d.ts +1 -1
  226. package/dist/Markdown/plugin-renderer/index.d.ts +2 -2
  227. package/dist/Markdown/plugins/frontmatter.d.ts +2 -2
  228. package/dist/Markdown/plugins/headingLinks.d.ts +2 -2
  229. package/dist/Markdown/plugins/index.d.ts +14 -14
  230. package/dist/Markdown/plugins/protocol.d.ts +1 -1
  231. package/dist/Markdown/plugins/semanticFence.d.ts +2 -2
  232. package/dist/Markdown/plugins/softBreaks.d.ts +1 -1
  233. package/dist/Markdown/plugins/sourceDecoration.d.ts +2 -2
  234. package/dist/Markdown/plugins/sourceLines.d.ts +1 -1
  235. package/dist/Markdown/plugins/textTransform.d.ts +2 -2
  236. package/dist/Markdown/remark.d.ts +1 -1
  237. package/dist/Markdown/utils.d.ts +4 -4
  238. package/dist/MetadataList/MetadataList.d.ts +2 -2
  239. package/dist/MetadataList/MetadataListItem.d.ts +1 -1
  240. package/dist/MetadataList/index.d.ts +5 -5
  241. package/dist/MobileNav/MobileNav.d.ts +1 -1
  242. package/dist/MobileNav/MobileNavToggle.d.ts +1 -1
  243. package/dist/MobileNav/index.d.ts +4 -4
  244. package/dist/MoreMenu/MoreMenu.d.ts +4 -4
  245. package/dist/MoreMenu/index.d.ts +1 -1
  246. package/dist/MultiSelector/MultiSelector.d.ts +7 -7
  247. package/dist/MultiSelector/hooks.d.ts +1 -1
  248. package/dist/MultiSelector/index.d.ts +3 -3
  249. package/dist/MultiSelector/types.d.ts +1 -1
  250. package/dist/NavIcon/NavIcon.d.ts +1 -1
  251. package/dist/NavIcon/index.d.ts +2 -2
  252. package/dist/NavMenu/NavHeadingMenu.d.ts +2 -2
  253. package/dist/NavMenu/NavHeadingMenuItem.d.ts +2 -2
  254. package/dist/NavMenu/index.d.ts +6 -6
  255. package/dist/NumberInput/NumberInput.d.ts +8 -8
  256. package/dist/NumberInput/NumberInput.d.ts.map +1 -1
  257. package/dist/NumberInput/NumberInput.js +46 -20
  258. package/dist/NumberInput/index.d.ts +2 -2
  259. package/dist/NumberInput/numberInputCommit.d.ts +1 -1
  260. package/dist/NumberInput/numberParser.d.ts +1 -1
  261. package/dist/Outline/Outline.d.ts +3 -3
  262. package/dist/Outline/index.d.ts +7 -7
  263. package/dist/Outline/parseOutlineFromMarkdown.d.ts +2 -2
  264. package/dist/Outline/useOutlineFromDOM.d.ts +1 -1
  265. package/dist/Outline/useOutlineFromMarkdown.d.ts +3 -3
  266. package/dist/Outline/useScrollSpy.d.ts +1 -1
  267. package/dist/OverflowList/OverflowList.d.ts +2 -2
  268. package/dist/OverflowList/index.d.ts +2 -2
  269. package/dist/Overlay/Overlay.d.ts +2 -2
  270. package/dist/Overlay/index.d.ts +5 -5
  271. package/dist/Overlay/useOverlay.d.ts +1 -1
  272. package/dist/Pagination/Pagination.d.ts +2 -2
  273. package/dist/Pagination/index.d.ts +2 -2
  274. package/dist/Popover/Popover.d.ts +3 -3
  275. package/dist/Popover/index.d.ts +4 -4
  276. package/dist/Popover/usePopover.d.ts +2 -2
  277. package/dist/PowerSearch/PowerSearch.d.ts +5 -5
  278. package/dist/PowerSearch/PowerSearchEditPopover.d.ts +2 -2
  279. package/dist/PowerSearch/PowerSearchFilterEditor.d.ts +1 -1
  280. package/dist/PowerSearch/PowerSearchToken.d.ts +1 -1
  281. package/dist/PowerSearch/PowerSearchValueEditor.d.ts +2 -2
  282. package/dist/PowerSearch/formatFilterValue.d.ts +3 -3
  283. package/dist/PowerSearch/index.d.ts +8 -8
  284. package/dist/PowerSearch/resolveDateTimeRangePart.d.ts +1 -1
  285. package/dist/PowerSearch/resolveOperatorLabel.d.ts +2 -2
  286. package/dist/PowerSearch/types.d.ts +1 -1
  287. package/dist/PowerSearch/useInternalConfig.d.ts +1 -1
  288. package/dist/PowerSearch/usePowerSearchConfig.d.ts +1 -1
  289. package/dist/PowerSearch/usePowerSearchSource.d.ts +3 -3
  290. package/dist/PowerSearch/utils.d.ts +3 -3
  291. package/dist/ProgressBar/ProgressBar.d.ts +2 -2
  292. package/dist/ProgressBar/index.d.ts +2 -2
  293. package/dist/RadioList/RadioList.d.ts +3 -3
  294. package/dist/RadioList/RadioListItem.d.ts +2 -2
  295. package/dist/RadioList/index.d.ts +4 -4
  296. package/dist/Resizable/ResizeHandle.d.ts +2 -2
  297. package/dist/Resizable/index.d.ts +6 -6
  298. package/dist/Resizable/useResizable.d.ts +2 -2
  299. package/dist/Resizable/utils.d.ts +3 -3
  300. package/dist/ScrollableArea/ScrollableArea.d.ts +3 -3
  301. package/dist/ScrollableArea/index.d.ts +4 -4
  302. package/dist/Section/Section.d.ts +3 -3
  303. package/dist/Section/index.d.ts +2 -2
  304. package/dist/SegmentedControl/SegmentedControl.d.ts +2 -2
  305. package/dist/SegmentedControl/SegmentedControlItem.d.ts +1 -1
  306. package/dist/SegmentedControl/index.d.ts +5 -5
  307. package/dist/SelectableCard/SelectableCard.d.ts +3 -3
  308. package/dist/SelectableCard/index.d.ts +2 -2
  309. package/dist/Selector/Selector.d.ts +8 -8
  310. package/dist/Selector/SelectorOption.d.ts +1 -1
  311. package/dist/Selector/hooks.d.ts +1 -1
  312. package/dist/Selector/index.d.ts +4 -4
  313. package/dist/Selector/types.d.ts +1 -1
  314. package/dist/Selector/useSelectorPresentation.d.ts +2 -2
  315. package/dist/Selector/utils.d.ts +1 -1
  316. package/dist/SideNav/SideNav.d.ts +3 -3
  317. package/dist/SideNav/SideNavCollapseButton.d.ts +3 -3
  318. package/dist/SideNav/SideNavHeading.d.ts +2 -2
  319. package/dist/SideNav/SideNavHeading.d.ts.map +1 -1
  320. package/dist/SideNav/SideNavHeading.js +34 -0
  321. package/dist/SideNav/SideNavItem.d.ts +4 -4
  322. package/dist/SideNav/SideNavSection.d.ts +1 -1
  323. package/dist/SideNav/index.d.ts +14 -14
  324. package/dist/SizeContext/index.d.ts +1 -1
  325. package/dist/Skeleton/Skeleton.d.ts +1 -1
  326. package/dist/Skeleton/Skeleton.d.ts.map +1 -1
  327. package/dist/Skeleton/Skeleton.js +12 -3
  328. package/dist/Skeleton/index.d.ts +2 -2
  329. package/dist/Slider/Slider.d.ts +3 -3
  330. package/dist/Slider/index.d.ts +2 -2
  331. package/dist/Spinner/Spinner.d.ts +1 -1
  332. package/dist/Spinner/index.d.ts +2 -2
  333. package/dist/Stack/Stack.d.ts +3 -3
  334. package/dist/Stack/StackItem.d.ts +2 -2
  335. package/dist/Stack/index.d.ts +6 -6
  336. package/dist/Stack/stack.stylex.d.ts +1 -1
  337. package/dist/StatusDot/StatusDot.d.ts +2 -2
  338. package/dist/StatusDot/index.d.ts +2 -2
  339. package/dist/Stepper/Step.d.ts +2 -2
  340. package/dist/Stepper/Step.d.ts.map +1 -1
  341. package/dist/Stepper/Step.js +3 -3
  342. package/dist/Stepper/Stepper.d.ts +2 -2
  343. package/dist/Stepper/index.d.ts +7 -7
  344. package/dist/Switch/Switch.d.ts +4 -4
  345. package/dist/Switch/index.d.ts +2 -2
  346. package/dist/TabList/Tab.d.ts +2 -2
  347. package/dist/TabList/TabList.d.ts +3 -3
  348. package/dist/TabList/TabMenu.d.ts +2 -2
  349. package/dist/TabList/index.d.ts +8 -8
  350. package/dist/Table/BaseTable.d.ts +1 -1
  351. package/dist/Table/Table.d.ts +1 -1
  352. package/dist/Table/TableBody.d.ts +1 -1
  353. package/dist/Table/TableCell.d.ts +3 -3
  354. package/dist/Table/TableContext.d.ts +1 -1
  355. package/dist/Table/TableFooter.d.ts +1 -1
  356. package/dist/Table/TableHeader.d.ts +1 -1
  357. package/dist/Table/TableHeaderCell.d.ts +3 -3
  358. package/dist/Table/TableRow.d.ts +2 -2
  359. package/dist/Table/TableSelectionToolbar.d.ts +2 -2
  360. package/dist/Table/columnUtils.d.ts +1 -1
  361. package/dist/Table/index.d.ts +54 -54
  362. package/dist/Table/plugins/columnResize/index.d.ts +2 -2
  363. package/dist/Table/plugins/columnResize/useTableColumnResize.d.ts +1 -1
  364. package/dist/Table/plugins/columnSettings/index.d.ts +4 -4
  365. package/dist/Table/plugins/columnSettings/useTableColumnSettings.d.ts +2 -2
  366. package/dist/Table/plugins/columnSettings/useTableColumnSettingsState.d.ts +1 -1
  367. package/dist/Table/plugins/filtering/index.d.ts +4 -4
  368. package/dist/Table/plugins/filtering/useTableFilterState.d.ts +1 -1
  369. package/dist/Table/plugins/filtering/useTableFiltering.d.ts +2 -2
  370. package/dist/Table/plugins/groupedRows/index.d.ts +2 -2
  371. package/dist/Table/plugins/groupedRows/useTableGroupedRows.d.ts +1 -1
  372. package/dist/Table/plugins/pagination/index.d.ts +3 -3
  373. package/dist/Table/plugins/pagination/useTablePagination.d.ts +1 -1
  374. package/dist/Table/plugins/rowExpansion/index.d.ts +2 -2
  375. package/dist/Table/plugins/rowExpansion/useTableRowExpansion.d.ts +1 -1
  376. package/dist/Table/plugins/rowIndex/index.d.ts +2 -2
  377. package/dist/Table/plugins/rowIndex/useTableRowIndex.d.ts +1 -1
  378. package/dist/Table/plugins/rowStatus/index.d.ts +2 -2
  379. package/dist/Table/plugins/rowStatus/useTableRowStatus.d.ts +2 -2
  380. package/dist/Table/plugins/selection/index.d.ts +4 -4
  381. package/dist/Table/plugins/selection/useTableSelection.d.ts +1 -1
  382. package/dist/Table/plugins/selection/useTableSelectionState.d.ts +1 -1
  383. package/dist/Table/plugins/sortable/index.d.ts +4 -4
  384. package/dist/Table/plugins/sortable/useTableSortable.d.ts +1 -1
  385. package/dist/Table/plugins/sortable/useTableSortableState.d.ts +1 -1
  386. package/dist/Table/plugins/stickyColumns/index.d.ts +2 -2
  387. package/dist/Table/plugins/stickyColumns/useTableStickyColumns.d.ts +1 -1
  388. package/dist/Table/plugins/tree/index.d.ts +4 -4
  389. package/dist/Table/plugins/tree/useTableTreeData.d.ts +1 -1
  390. package/dist/Table/plugins/tree/useTableTreeState.d.ts +1 -1
  391. package/dist/Table/tableContextMenu.d.ts +2 -2
  392. package/dist/Table/types.d.ts +3 -3
  393. package/dist/Table/useBaseTablePlugins.d.ts +1 -1
  394. package/dist/Table/useTableCellStyles.d.ts +2 -2
  395. package/dist/Table/utils.d.ts +2 -2
  396. package/dist/Text/Text.d.ts +3 -3
  397. package/dist/Text/index.d.ts +4 -4
  398. package/dist/TextArea/TextArea.d.ts +10 -8
  399. package/dist/TextArea/TextArea.d.ts.map +1 -1
  400. package/dist/TextArea/TextArea.js +14 -11
  401. package/dist/TextArea/index.d.ts +2 -2
  402. package/dist/TextInput/TextInput.d.ts +11 -9
  403. package/dist/TextInput/TextInput.d.ts.map +1 -1
  404. package/dist/TextInput/TextInput.js +27 -17
  405. package/dist/TextInput/index.d.ts +2 -2
  406. package/dist/Thumbnail/Thumbnail.d.ts +1 -1
  407. package/dist/Thumbnail/index.d.ts +2 -2
  408. package/dist/TimeInput/TimeInput.d.ts +6 -6
  409. package/dist/TimeInput/TouchTimeField.d.ts +1 -1
  410. package/dist/TimeInput/index.d.ts +3 -3
  411. package/dist/Timer/Timer.d.ts +2 -2
  412. package/dist/Timer/index.d.ts +2 -2
  413. package/dist/Timestamp/Timestamp.d.ts +3 -3
  414. package/dist/Timestamp/TimestampHoverCard.d.ts +1 -1
  415. package/dist/Timestamp/formatInstant.d.ts +2 -2
  416. package/dist/Timestamp/formatRelativeTime.d.ts +1 -1
  417. package/dist/Timestamp/index.d.ts +3 -3
  418. package/dist/Timestamp/tooltipEntries.d.ts +2 -2
  419. package/dist/Toast/Toast.d.ts +2 -2
  420. package/dist/Toast/ToastContext.d.ts +1 -1
  421. package/dist/Toast/ToastViewport.d.ts +2 -2
  422. package/dist/Toast/index.d.ts +6 -6
  423. package/dist/Toast/useToast.d.ts +1 -1
  424. package/dist/ToggleButton/ToggleButton.d.ts +3 -3
  425. package/dist/ToggleButton/ToggleButtonGroup.d.ts +1 -1
  426. package/dist/ToggleButton/index.d.ts +4 -4
  427. package/dist/Token/Token.d.ts +2 -2
  428. package/dist/Token/TokenLink.d.ts +1 -1
  429. package/dist/Token/index.d.ts +2 -2
  430. package/dist/Tokenizer/Tokenizer.d.ts +6 -6
  431. package/dist/Tokenizer/Tokenizer.d.ts.map +1 -1
  432. package/dist/Tokenizer/Tokenizer.js +44 -40
  433. package/dist/Tokenizer/index.d.ts +2 -2
  434. package/dist/Tokenizer/useEndLaneReserve.d.ts +3 -2
  435. package/dist/Tokenizer/useEndLaneReserve.d.ts.map +1 -1
  436. package/dist/Tokenizer/useEndLaneReserve.js +3 -2
  437. package/dist/Toolbar/Toolbar.d.ts +4 -4
  438. package/dist/Toolbar/index.d.ts +2 -2
  439. package/dist/Tooltip/Tooltip.d.ts +3 -3
  440. package/dist/Tooltip/index.d.ts +4 -4
  441. package/dist/Tooltip/useTooltip.d.ts +2 -2
  442. package/dist/TopNav/TopNav.d.ts +1 -1
  443. package/dist/TopNav/TopNavHeading.d.ts +2 -2
  444. package/dist/TopNav/TopNavItem.d.ts +3 -3
  445. package/dist/TopNav/TopNavMegaMenu.d.ts +1 -1
  446. package/dist/TopNav/TopNavMegaMenuFeaturedCard.d.ts +1 -1
  447. package/dist/TopNav/TopNavMegaMenuItem.d.ts +2 -2
  448. package/dist/TopNav/TopNavMenu.d.ts +1 -1
  449. package/dist/TopNav/index.d.ts +16 -16
  450. package/dist/TreeList/TreeList.d.ts +3 -3
  451. package/dist/TreeList/TreeListItem.d.ts +1 -1
  452. package/dist/TreeList/TreeListTypes.d.ts +1 -1
  453. package/dist/TreeList/index.d.ts +3 -3
  454. package/dist/Typeahead/BaseTypeahead.d.ts +2 -2
  455. package/dist/Typeahead/Typeahead.d.ts +6 -6
  456. package/dist/Typeahead/TypeaheadItem.d.ts +2 -2
  457. package/dist/Typeahead/createStaticSource.d.ts +1 -1
  458. package/dist/Typeahead/index.d.ts +9 -9
  459. package/dist/Typeahead/utils.d.ts +3 -3
  460. package/dist/VStack/VStack.d.ts +2 -2
  461. package/dist/VStack/index.d.ts +1 -1
  462. package/dist/VisuallyHidden/VisuallyHidden.d.ts +24 -6
  463. package/dist/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
  464. package/dist/VisuallyHidden/VisuallyHidden.js +24 -5
  465. package/dist/VisuallyHidden/index.d.ts +2 -2
  466. package/dist/astryx.css +8 -16
  467. package/dist/hooks/index.d.ts +52 -52
  468. package/dist/hooks/useAutoMediaMode.d.ts +1 -1
  469. package/dist/hooks/useInputContainer.d.ts +1 -1
  470. package/dist/hooks/useInputStatusIcon.d.ts +3 -3
  471. package/dist/hooks/useMenuPress.d.ts +1 -1
  472. package/dist/hooks/usePressFeedback.d.ts +1 -1
  473. package/dist/hooks/useScrollableArea.d.ts +1 -1
  474. package/dist/i18n/InternationalizationContext.d.ts +2 -2
  475. package/dist/i18n/InternationalizationProvider.d.ts +1 -1
  476. package/dist/i18n/index.d.ts +12 -12
  477. package/dist/i18n/resolve.d.ts +1 -1
  478. package/dist/i18n/useLocale.d.ts +1 -1
  479. package/dist/index.d.ts +111 -111
  480. package/dist/theme/Theme.d.ts +2 -2
  481. package/dist/theme/contrast.d.ts +1 -1
  482. package/dist/theme/defineTheme.d.ts +12 -12
  483. package/dist/theme/domainTokens/index.d.ts +6 -6
  484. package/dist/theme/generateThemeRules.d.ts +1 -1
  485. package/dist/theme/index.d.ts +31 -31
  486. package/dist/theme/localTokens.d.ts +1 -1
  487. package/dist/theme/mergeComponents.d.ts +1 -1
  488. package/dist/theme/onMediaTokens.d.ts +1 -1
  489. package/dist/theme/resolveThemeValues.d.ts +7 -7
  490. package/dist/theme/syntax/SyntaxTheme.d.ts +1 -1
  491. package/dist/theme/syntax/index.d.ts +7 -7
  492. package/dist/theme/syntax/presets.d.ts +1 -1
  493. package/dist/theme/themeAdaptations.d.ts +5 -5
  494. package/dist/theme/themeRegistry.d.ts +1 -1
  495. package/dist/theme/tokens.d.ts +1 -1
  496. package/dist/theme/types.d.ts +1 -1
  497. package/dist/theme/useTheme.d.ts +2 -2
  498. package/dist/utils/dateParser.d.ts +3 -3
  499. package/dist/utils/groupItems.d.ts +1 -1
  500. package/dist/utils/index.d.ts +29 -29
  501. package/dist/utils/plainDate.d.ts +3 -3
  502. package/package.json +5 -5
  503. package/src/Badge/Badge.doc.mjs +2 -1
  504. package/src/BottomSheet/BottomSheet.tsx +12 -1
  505. package/src/BottomSheet/__tests__/BottomSheetToastOutlet.a11y.chromium.spec.ts +82 -0
  506. package/src/DateInput/DateInputTouch.test.tsx +9 -0
  507. package/src/DateInput/Wheel.tsx +4 -1
  508. package/src/DateInput/__tests__/WheelPinchZoom.a11y.chromium.spec.ts +158 -0
  509. package/src/DropdownMenu/DropdownMenuRadioItem.doc.mjs +5 -2
  510. package/src/DropdownMenu/DropdownMenuRadioItem.spec.md +226 -0
  511. package/src/DropdownMenu/DropdownMenuRadioItem.tsx +32 -16
  512. package/src/DropdownMenu/DropdownMenuSelectable.test.tsx +158 -0
  513. package/src/DropdownMenu/__tests__/DropdownMenuRadioItemAudit.a11y.chromium.spec.ts +539 -0
  514. package/src/Field/inputDisabledFocus.ts +28 -0
  515. package/src/HoverCard/HoverCard.test.tsx +93 -3
  516. package/src/Icon/Icon.spec.md +40 -29
  517. package/src/Layer/__tests__/TouchTrigger.a11y.chromium.spec.ts +199 -0
  518. package/src/Layer/modalOutlet.ts +1 -1
  519. package/src/Layer/useTouchTrigger.ts +95 -41
  520. package/src/NumberInput/NumberInput.doc.mjs +6 -6
  521. package/src/NumberInput/NumberInput.test.tsx +144 -14
  522. package/src/NumberInput/NumberInput.tsx +68 -21
  523. package/src/Pagination/Pagination.test.tsx +2 -2
  524. package/src/SideNav/SideNav.test.tsx +15 -6
  525. package/src/SideNav/SideNavHeading.tsx +41 -0
  526. package/src/Skeleton/Skeleton.test.tsx +108 -1
  527. package/src/Skeleton/Skeleton.tsx +30 -2
  528. package/src/Stepper/Step.tsx +7 -0
  529. package/src/Stepper/Stepper.test.tsx +33 -0
  530. package/src/TextArea/TextArea.doc.mjs +6 -6
  531. package/src/TextArea/TextArea.test.tsx +65 -6
  532. package/src/TextArea/TextArea.tsx +26 -14
  533. package/src/TextInput/TextInput.doc.mjs +8 -8
  534. package/src/TextInput/TextInput.test.tsx +83 -10
  535. package/src/TextInput/TextInput.tsx +38 -19
  536. package/src/Toast/ToastViewport.modalHost.test.tsx +139 -4
  537. package/src/Tokenizer/Tokenizer.test.tsx +26 -8
  538. package/src/Tokenizer/Tokenizer.tsx +65 -72
  539. package/src/Tokenizer/__tests__/TokenizerEndLane.a11y.chromium.spec.ts +471 -0
  540. package/src/Tokenizer/useEndLaneReserve.ts +3 -2
  541. package/src/Tooltip/Tooltip.test.tsx +148 -3
  542. package/src/Tooltip/__tests__/Tooltip.a11y.states.ts +2 -2
  543. package/src/VisuallyHidden/VisuallyHidden.doc.mjs +1 -1
  544. package/src/VisuallyHidden/VisuallyHidden.test.tsx +39 -0
  545. package/src/VisuallyHidden/VisuallyHidden.tsx +38 -5
  546. package/src/theme/tokens.test.ts +60 -0
@@ -8,7 +8,8 @@
8
8
  * (role="menuitemradio"). The row owns the role and aria-checked; there is no
9
9
  * nested native <input> (per the WAI-ARIA menuitemradio pattern). Selection
10
10
  * state + onChange come from DropdownMenuRadioGroupContext. Keyboard nav +
11
- * Enter/Space activation come from the parent DropdownMenu.
11
+ * Enter/Space activation come from the parent DropdownMenu. Caller onClick and
12
+ * onPointerMove run after the row's own selection and hover focus.
12
13
  *
13
14
  * The round radio visual is the shared radio indicator, decorative
14
15
  * (aria-hidden) — the row owns the checked state, and menu radios pick up the
@@ -17,8 +18,8 @@
17
18
  * the inline-end of the row on coarse-pointer (touch) devices via CSS `order`.
18
19
  */
19
20
  import { type ReactNode } from 'react';
20
- import { type IconType } from '../Icon';
21
- import type { BaseProps } from '../BaseProps';
21
+ import { type IconType } from '../Icon/index.js';
22
+ import type { BaseProps } from '../BaseProps.js';
22
23
  export interface DropdownMenuRadioItemProps extends Omit<BaseProps, 'role' | 'aria-checked' | 'tabIndex'> {
23
24
  /**
24
25
  * The value this item represents within its group. The group's `value`
@@ -39,9 +40,9 @@ export interface DropdownMenuRadioItemProps extends Omit<BaseProps, 'role' | 'ar
39
40
  */
40
41
  icon?: ReactNode | IconType;
41
42
  /**
42
- * Whether this individual radio item is disabled. Disabled items stay
43
- * focusable (via `aria-disabled`) so they remain discoverable by keyboard
44
- * and assistive technology, but selection is blocked.
43
+ * Whether this individual radio item is disabled. Disabled items expose
44
+ * `aria-disabled`, block selection, and are currently skipped by
45
+ * DropdownMenu arrow-key navigation.
45
46
  * @default false
46
47
  */
47
48
  isDisabled?: boolean;
@@ -56,6 +57,10 @@ export interface DropdownMenuRadioItemProps extends Omit<BaseProps, 'role' | 'ar
56
57
  /**
57
58
  * A single option in a DropdownMenuRadioGroup (role="menuitemradio").
58
59
  *
60
+ * Consumer click and pointer-move handlers compose after the row's own
61
+ * selection and hover-focus behavior; disabled activation stops before the
62
+ * consumer click handler.
63
+ *
59
64
  * @example
60
65
  * ```
61
66
  * <DropdownMenuRadioGroup value={sort} onChange={setSort} label="Sort by">
@@ -64,7 +69,7 @@ export interface DropdownMenuRadioItemProps extends Omit<BaseProps, 'role' | 'ar
64
69
  * </DropdownMenuRadioGroup>
65
70
  * ```
66
71
  */
67
- export declare function DropdownMenuRadioItem({ value, label, description, icon, isDisabled, endContent, xstyle, className, style, ...rest }: DropdownMenuRadioItemProps): import("react").JSX.Element;
72
+ export declare function DropdownMenuRadioItem({ value, label, description, icon, isDisabled, endContent, xstyle, className, style, onClick, onPointerMove, ...rest }: DropdownMenuRadioItemProps): import("react").JSX.Element;
68
73
  export declare namespace DropdownMenuRadioItem {
69
74
  var displayName: string;
70
75
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenuRadioItem.d.ts","sourceRoot":"","sources":["../../src/DropdownMenu/DropdownMenuRadioItem.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAiC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAErE,OAAO,EAAiB,KAAK,QAAQ,EAAC,MAAM,SAAS,CAAC;AAOtD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AA4C5C,MAAM,WAAW,0BAA2B,SAAQ,IAAI,CACtD,SAAS,EACT,MAAM,GAAG,cAAc,GAAG,UAAU,CACrC;IACC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,mFAAmF;IACnF,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;CAC9B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,KAAK,EACL,WAAW,EACX,IAAI,EACJ,UAAkB,EAClB,UAAU,EACV,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,0BAA0B,+BAmE5B;yBA9Ee,qBAAqB"}
1
+ {"version":3,"file":"DropdownMenuRadioItem.d.ts","sourceRoot":"","sources":["../../src/DropdownMenu/DropdownMenuRadioItem.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAiB,KAAK,QAAQ,EAAC,MAAM,SAAS,CAAC;AAOtD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AA4C5C,MAAM,WAAW,0BAA2B,SAAQ,IAAI,CACtD,SAAS,EACT,MAAM,GAAG,cAAc,GAAG,UAAU,CACrC;IACC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,mFAAmF;IACnF,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;CAC9B;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,KAAK,EACL,WAAW,EACX,IAAI,EACJ,UAAkB,EAClB,UAAU,EACV,MAAM,EACN,SAAS,EACT,KAAK,EACL,OAAO,EACP,aAAa,EACb,GAAG,IAAI,EACR,EAAE,0BAA0B,+BAuE5B;yBApFe,qBAAqB"}
@@ -12,7 +12,8 @@
12
12
  * (role="menuitemradio"). The row owns the role and aria-checked; there is no
13
13
  * nested native <input> (per the WAI-ARIA menuitemradio pattern). Selection
14
14
  * state + onChange come from DropdownMenuRadioGroupContext. Keyboard nav +
15
- * Enter/Space activation come from the parent DropdownMenu.
15
+ * Enter/Space activation come from the parent DropdownMenu. Caller onClick and
16
+ * onPointerMove run after the row's own selection and hover focus.
16
17
  *
17
18
  * The round radio visual is the shared radio indicator, decorative
18
19
  * (aria-hidden) — the row owns the checked state, and menu radios pick up the
@@ -29,7 +30,7 @@ import { useDropdownMenuContext } from "./DropdownMenuContext.js";
29
30
  import { focusMenuItemOnHover } from "./menuItemHover.js";
30
31
  import "../theme/tokens.stylex.js";
31
32
  import { colorVars, spacingVars } from "../theme/tokens.stylex.js";
32
- import { mergeProps, themeProps } from "../utils/index.js";
33
+ import { composeEventHandlers, mergeProps, themeProps } from "../utils/index.js";
33
34
  import { useDropdownMenuRadioGroupContext } from "./DropdownMenuContext.js";
34
35
  import { jsx as _jsx } from "react/jsx-runtime";
35
36
  const styles = {
@@ -61,6 +62,10 @@ const styles = {
61
62
  /**
62
63
  * A single option in a DropdownMenuRadioGroup (role="menuitemradio").
63
64
  *
65
+ * Consumer click and pointer-move handlers compose after the row's own
66
+ * selection and hover-focus behavior; disabled activation stops before the
67
+ * consumer click handler.
68
+ *
64
69
  * @example
65
70
  * ```
66
71
  * <DropdownMenuRadioGroup value={sort} onChange={setSort} label="Sort by">
@@ -79,6 +84,8 @@ export function DropdownMenuRadioItem({
79
84
  xstyle,
80
85
  className,
81
86
  style,
87
+ onClick,
88
+ onPointerMove,
82
89
  ...rest
83
90
  }) {
84
91
  const menuCtx = useDropdownMenuContext();
@@ -90,7 +97,7 @@ export function DropdownMenuRadioItem({
90
97
  const controlSize = menuSize === 'sm' ? 'sm' : 'md';
91
98
  const isChecked = groupCtx.value === value;
92
99
  const RadioControl = useIndicator('radio');
93
- const handleClick = useCallback(() => {
100
+ const handleClick = useCallback(event => {
94
101
  if (isDisabled) {
95
102
  return;
96
103
  }
@@ -98,14 +105,15 @@ export function DropdownMenuRadioItem({
98
105
  if (groupCtx.hasCloseOnSelect) {
99
106
  menuCtx?.closeMenu();
100
107
  }
101
- }, [isDisabled, groupCtx, value, menuCtx]);
108
+ onClick?.(event);
109
+ }, [isDisabled, groupCtx, value, menuCtx, onClick]);
102
110
  const handlePointerMove = useCallback(e => focusMenuItemOnHover(e, isDisabled), [isDisabled]);
103
111
  return /*#__PURE__*/_jsx(Item, {
104
112
  ...rest,
105
113
  role: "menuitemradio",
106
114
  "aria-checked": isChecked,
107
115
  tabIndex: isDisabled ? undefined : -1,
108
- onPointerMove: handlePointerMove,
116
+ onPointerMove: composeEventHandlers(handlePointerMove, onPointerMove),
109
117
  marker:
110
118
  /*#__PURE__*/
111
119
  // No wrapper — see DropdownMenuCheckboxItem: the target belongs on the
@@ -47,8 +47,8 @@
47
47
  * - /packages/cli/assets/templates/blocks/components/DropdownMenu/ (showcase blocks)
48
48
  */
49
49
  import React, { type ReactNode } from 'react';
50
- import { type IconType } from '../Icon';
51
- import type { BaseProps } from '../BaseProps';
50
+ import { type IconType } from '../Icon/index.js';
51
+ import type { BaseProps } from '../BaseProps.js';
52
52
  export type DropdownMenuSubMenuPresentation = 'flyout' | 'drill-in' | 'adaptive';
53
53
  interface DropdownMenuSubMenuBaseProps extends Omit<BaseProps, 'role' | 'tabIndex'> {
54
54
  /** Icon to display before the label on the trigger row. */
@@ -5,7 +5,7 @@
5
5
  * @position Shared implementation for menu bottom-sheet presentations
6
6
  */
7
7
  import React from 'react';
8
- import type { DropdownMenuItemData, DropdownMenuOption } from './DropdownMenu';
8
+ import type { DropdownMenuItemData, DropdownMenuOption } from './DropdownMenu.js';
9
9
  export declare function MenuBottomSheetActionList({ items, onSelect, onOpenSubmenu, }: {
10
10
  items: DropdownMenuOption[];
11
11
  onSelect: (item: DropdownMenuItemData, event: React.MouseEvent) => void;
@@ -12,14 +12,14 @@
12
12
  * DropdownMenuContext + useListFocus path, so a new item type (e.g. a submenu)
13
13
  * only shows up in their public API once it's aliased there too.
14
14
  */
15
- export { DropdownMenu, type DropdownMenuProps, type DropdownMenuPresentation, type DropdownMenuButtonProps, type DropdownMenuTriggerProps, type DropdownMenuItemData, type DropdownMenuDividerData, type DropdownMenuSection, type DropdownMenuOption, } from './DropdownMenu';
16
- export type { AdaptivePresentation as MenuPresentation } from '../hooks/useAdaptivePresentation';
17
- export { DropdownMenuItem, type DropdownMenuItemProps } from './DropdownMenuItem';
18
- export { DropdownMenuDivider, type DropdownMenuDividerProps, } from './DropdownMenuDivider';
19
- export { DropdownMenuGroup, type DropdownMenuGroupProps, } from './DropdownMenuGroup';
20
- export { DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, } from './DropdownMenuCheckboxItem';
21
- export { DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, } from './DropdownMenuRadioGroup';
22
- export { DropdownMenuRadioItem, type DropdownMenuRadioItemProps, } from './DropdownMenuRadioItem';
23
- export { DropdownMenuSubMenu, type DropdownMenuSubMenuProps, type DropdownMenuSubMenuPresentation, } from './DropdownMenuSubMenu';
24
- export { DropdownMenuContext, useDropdownMenuContext, type DropdownMenuContextValue, type DropdownMenuSize, } from './DropdownMenuContext';
15
+ export { DropdownMenu, type DropdownMenuProps, type DropdownMenuPresentation, type DropdownMenuButtonProps, type DropdownMenuTriggerProps, type DropdownMenuItemData, type DropdownMenuDividerData, type DropdownMenuSection, type DropdownMenuOption, } from './DropdownMenu.js';
16
+ export type { AdaptivePresentation as MenuPresentation } from '../hooks/useAdaptivePresentation.js';
17
+ export { DropdownMenuItem, type DropdownMenuItemProps } from './DropdownMenuItem.js';
18
+ export { DropdownMenuDivider, type DropdownMenuDividerProps, } from './DropdownMenuDivider.js';
19
+ export { DropdownMenuGroup, type DropdownMenuGroupProps, } from './DropdownMenuGroup.js';
20
+ export { DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, } from './DropdownMenuCheckboxItem.js';
21
+ export { DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, } from './DropdownMenuRadioGroup.js';
22
+ export { DropdownMenuRadioItem, type DropdownMenuRadioItemProps, } from './DropdownMenuRadioItem.js';
23
+ export { DropdownMenuSubMenu, type DropdownMenuSubMenuProps, type DropdownMenuSubMenuPresentation, } from './DropdownMenuSubMenu.js';
24
+ export { DropdownMenuContext, useDropdownMenuContext, type DropdownMenuContextValue, type DropdownMenuSize, } from './DropdownMenuContext.js';
25
25
  //# sourceMappingURL=index.d.ts.map
@@ -17,8 +17,8 @@
17
17
  * visible markup, so it first renders right after hydration.
18
18
  */
19
19
  import { type ComponentProps, type ReactElement } from 'react';
20
- import type { MenuBottomSheet as EagerMenuBottomSheet } from './MenuBottomSheet';
21
- import type { MenuBottomSheetActionList as EagerMenuBottomSheetActionList } from './MenuBottomSheetActionList';
20
+ import type { MenuBottomSheet as EagerMenuBottomSheet } from './MenuBottomSheet.js';
21
+ import type { MenuBottomSheetActionList as EagerMenuBottomSheetActionList } from './MenuBottomSheetActionList.js';
22
22
  export declare function MenuBottomSheet(props: ComponentProps<typeof EagerMenuBottomSheet>): ReactElement | null;
23
23
  export declare function MenuBottomSheetActionList(props: ComponentProps<typeof EagerMenuBottomSheetActionList>): ReactElement | null;
24
24
  //# sourceMappingURL=lazyMenuBottomSheet.d.ts.map
@@ -4,7 +4,7 @@
4
4
  * @position Utility; used by DropdownMenu to unify data-driven and compound paths
5
5
  */
6
6
  import type { ReactNode } from 'react';
7
- import type { DropdownMenuOption } from './DropdownMenu';
7
+ import type { DropdownMenuOption } from './DropdownMenu.js';
8
8
  /**
9
9
  * Converts data-driven items into DropdownMenuItem components,
10
10
  * so both modes share the same rendering and keyboard navigation path.
@@ -16,7 +16,7 @@
16
16
  * when it opens, so a menu never changes shape under a pointer.
17
17
  */
18
18
  import { type ReactNode } from 'react';
19
- import type { DropdownMenuDrillIn } from './DropdownMenuContext';
19
+ import type { DropdownMenuDrillIn } from './DropdownMenuContext.js';
20
20
  export interface UseMenuDrillInReturn {
21
21
  /** The context value for `DropdownMenuContext.drillIn`. */
22
22
  drillIn: DropdownMenuDrillIn;
@@ -12,7 +12,7 @@
12
12
  * - /packages/cli/assets/templates/blocks/components/EmptyState/ (showcase blocks)
13
13
  */
14
14
  import { type ReactNode } from 'react';
15
- import type { BaseProps } from '../BaseProps';
15
+ import type { BaseProps } from '../BaseProps.js';
16
16
  export interface EmptyStateProps extends BaseProps<HTMLDivElement> {
17
17
  /** Ref forwarded to the root element */
18
18
  ref?: React.Ref<HTMLDivElement>;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @file EmptyState component barrel export
3
3
  */
4
- export { EmptyState } from './EmptyState';
5
- export type { EmptyStateProps } from './EmptyState';
4
+ export { EmptyState } from './EmptyState.js';
5
+ export type { EmptyStateProps } from './EmptyState.js';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -12,11 +12,11 @@
12
12
  * - /packages/cli/assets/templates/blocks/components/Field/ (showcase blocks)
13
13
  */
14
14
  import { type ReactNode } from 'react';
15
- import type { BaseProps } from '../BaseProps';
16
- import type { SizeValue } from '../utils/types';
17
- import type { FieldStatusVariant } from '../FieldStatus/FieldStatus';
18
- import type { IconType } from '../Icon';
19
- export type { SizeValue } from '../utils/types';
15
+ import type { BaseProps } from '../BaseProps.js';
16
+ import type { SizeValue } from '../utils/types.js';
17
+ import type { FieldStatusVariant } from '../FieldStatus/FieldStatus.js';
18
+ import type { IconType } from '../Icon/index.js';
19
+ export type { SizeValue } from '../utils/types.js';
20
20
  export type FieldStatusType = 'warning' | 'error' | 'success';
21
21
  export interface FieldStatusInput {
22
22
  /**
@@ -12,8 +12,8 @@
12
12
  * - /packages/core/locales/en.json (@astryx.field.required / @astryx.field.optional)
13
13
  */
14
14
  import { type ReactNode } from 'react';
15
- import type { BaseProps } from '../BaseProps';
16
- import { type IconType } from '../Icon';
15
+ import type { BaseProps } from '../BaseProps.js';
16
+ import { type IconType } from '../Icon/index.js';
17
17
  export interface FieldLabelProps extends BaseProps<HTMLLabelElement> {
18
18
  /** Ref forwarded to the root element */
19
19
  ref?: React.Ref<HTMLLabelElement>;
@@ -35,7 +35,7 @@
35
35
  * that use it, not public API.
36
36
  */
37
37
  import { type Ref } from 'react';
38
- import type { BaseProps } from '../BaseProps';
38
+ import type { BaseProps } from '../BaseProps.js';
39
39
  export interface PanelSearchInputProps extends Omit<BaseProps<HTMLInputElement>, 'onChange'> {
40
40
  /** Ref forwarded to the input element (for focus management). */
41
41
  ref?: Ref<HTMLInputElement>;
@@ -6,7 +6,7 @@
6
6
  * component's test calls it, and fieldInputFamily.test.ts verifies the call
7
7
  * exists for every component that renders Field
8
8
  */
9
- import type { FieldInputForbiddenStyleProp, FieldPartStyleProps } from './fieldParts';
9
+ import type { FieldInputForbiddenStyleProp, FieldPartStyleProps } from './fieldParts.js';
10
10
  type AcceptsRootStyling<P> = [
11
11
  Extract<keyof P, FieldInputForbiddenStyleProp>
12
12
  ] extends [never] ? false : true;
@@ -14,7 +14,7 @@
14
14
  */
15
15
  import { type CSSProperties } from 'react';
16
16
  import type { StyleXStyles } from '@stylexjs/stylex';
17
- import type { BaseProps } from '../BaseProps';
17
+ import type { BaseProps } from '../BaseProps.js';
18
18
  /** Root styling props a Field-composed input does not accept. */
19
19
  export type FieldInputForbiddenStyleProp = 'xstyle' | 'className' | 'style';
20
20
  /** Styling for the Field box (label, control, and status together). */
@@ -6,14 +6,14 @@
6
6
  *
7
7
  * SYNC: When modified, update this header and /packages/core/src/Field/Field.doc.mjs
8
8
  */
9
- export { Field } from './Field';
10
- export type { FieldProps, FieldStatusInput, FieldStatusType } from './Field';
11
- export { FieldLabel } from './FieldLabel';
12
- export type { FieldLabelProps } from './FieldLabel';
13
- export { FieldStatus } from '../FieldStatus';
14
- export type { FieldStatusProps, FieldStatusVariant, FieldStatusVariantMap, } from '../FieldStatus';
15
- export type { InputStatus, InputStatusType, InputSize } from './types';
16
- export type { FieldInputBaseProps, FieldContainerStyleProps, FieldControlStyleProps, FieldPartStyleProps, } from './fieldParts';
17
- export { inputWrapperStyles, inputStatusBorderStyles, inputStatusHoverShadowStyles, inputStatusFocusWithinStyles, inputStatusFocusStyles, } from './inputStyles.stylex';
18
- export { InputClearButton } from './InputClearButton';
9
+ export { Field } from './Field.js';
10
+ export type { FieldProps, FieldStatusInput, FieldStatusType } from './Field.js';
11
+ export { FieldLabel } from './FieldLabel.js';
12
+ export type { FieldLabelProps } from './FieldLabel.js';
13
+ export { FieldStatus } from '../FieldStatus/index.js';
14
+ export type { FieldStatusProps, FieldStatusVariant, FieldStatusVariantMap, } from '../FieldStatus/index.js';
15
+ export type { InputStatus, InputStatusType, InputSize } from './types.js';
16
+ export type { FieldInputBaseProps, FieldContainerStyleProps, FieldControlStyleProps, FieldPartStyleProps, } from './fieldParts.js';
17
+ export { inputWrapperStyles, inputStatusBorderStyles, inputStatusHoverShadowStyles, inputStatusFocusWithinStyles, inputStatusFocusStyles, } from './inputStyles.stylex.js';
18
+ export { InputClearButton } from './InputClearButton.js';
19
19
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @file inputDisabledFocus.ts
3
+ * @input Uses StyleX and theme tokens
4
+ * @output inputDisabledFocusStyles (internal; not re-exported from Field/index.ts)
5
+ * @position Field wrapper style shared by TextInput and TextArea
6
+ */
7
+ import * as stylex from '@stylexjs/stylex';
8
+ export declare const inputDisabledFocusStyles: Readonly<{
9
+ readonly ring: Readonly<{
10
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "light-dark(#0064E0, #2694FE)" | "light-dark(#CCD3DB, #494D53)">;
11
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "none" | `inset 0px 0px 0px 2px ${stylex.StyleXVar<"light-dark(#0082FB33, #0082FB3F)">}`>;
12
+ }>;
13
+ }>;
14
+ //# sourceMappingURL=inputDisabledFocus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inputDisabledFocus.d.ts","sourceRoot":"","sources":["../../src/Field/inputDisabledFocus.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAG3C,eAAO,MAAM,wBAAwB;;;;;EAenC,CAAC"}
@@ -0,0 +1,19 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /**
4
+ * @file inputDisabledFocus.ts
5
+ * @input Uses StyleX and theme tokens
6
+ * @output inputDisabledFocusStyles (internal; not re-exported from Field/index.ts)
7
+ * @position Field wrapper style shared by TextInput and TextArea
8
+ */
9
+
10
+ import * as stylex from '@stylexjs/stylex';
11
+ import "../theme/tokens.stylex.js";
12
+ import { colorVars } from "../theme/tokens.stylex.js";
13
+ export const inputDisabledFocusStyles = {
14
+ ring: {
15
+ kVAM5u: "xvy26l8 x16it14f",
16
+ kGVxlE: "x1gnnqk1 xwmge8v",
17
+ $$css: true
18
+ }
19
+ };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import type { BaseProps } from '../BaseProps';
3
- import type { InputStatusType } from '../Field/types';
4
- import type { FieldStatusVariantMap } from './index';
2
+ import type { BaseProps } from '../BaseProps.js';
3
+ import type { InputStatusType } from '../Field/types.js';
4
+ import type { FieldStatusVariantMap } from './index.js';
5
5
  /**
6
6
  * FieldStatus variant type. Extensible via module augmentation of FieldStatusVariantMap.
7
7
  */
@@ -22,6 +22,6 @@ export interface FieldStatusVariantMap {
22
22
  detached: true;
23
23
  tooltip: true;
24
24
  }
25
- export { FieldStatus } from './FieldStatus';
26
- export type { FieldStatusProps, FieldStatusVariant } from './FieldStatus';
25
+ export { FieldStatus } from './FieldStatus.js';
26
+ export type { FieldStatusProps, FieldStatusVariant } from './FieldStatus.js';
27
27
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { InputStatusType } from '../Field/types';
1
+ import type { InputStatusType } from '../Field/types.js';
2
2
  /**
3
3
  * Speaks a field status message through the persistent live regions:
4
4
  * errors assertively, warnings and successes politely. It speaks when a
@@ -1,7 +1,7 @@
1
- import { type InputStatus, type FieldStatusVariant } from '../Field';
2
- export type { InputStatus as FileInputStatus, InputStatusType as FileInputStatusType, } from '../Field';
3
- import { type FieldInputBaseProps } from '../Field/fieldParts';
4
- import type { SizeValue } from '../utils/types';
1
+ import { type InputStatus, type FieldStatusVariant } from '../Field/index.js';
2
+ export type { InputStatus as FileInputStatus, InputStatusType as FileInputStatusType, } from '../Field/index.js';
3
+ import { type FieldInputBaseProps } from '../Field/fieldParts.js';
4
+ import type { SizeValue } from '../utils/types.js';
5
5
  export interface FileInputProps extends Omit<FieldInputBaseProps, 'onChange' | 'defaultValue' | 'value'> {
6
6
  ref?: React.Ref<HTMLInputElement>;
7
7
  /**
@@ -6,6 +6,6 @@
6
6
  *
7
7
  * SYNC: When modified, update this header and /packages/core/src/FileInput/FileInput.doc.mjs
8
8
  */
9
- export { FileInput } from './FileInput';
10
- export type { FileInputProps, FileInputStatus, FileInputStatusType, } from './FileInput';
9
+ export { FileInput } from './FileInput.js';
10
+ export type { FileInputProps, FileInputStatus, FileInputStatusType, } from './FileInput.js';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -14,8 +14,8 @@
14
14
  * - /packages/cli/assets/templates/blocks/components/FormLayout/ (showcase blocks)
15
15
  */
16
16
  import { type ReactNode } from 'react';
17
- import type { BaseProps } from '../BaseProps';
18
- import { type FormLayoutDirection, type FormOptionality } from './FormLayoutContext';
17
+ import type { BaseProps } from '../BaseProps.js';
18
+ import { type FormLayoutDirection, type FormOptionality } from './FormLayoutContext.js';
19
19
  export interface FormLayoutProps extends BaseProps<HTMLDivElement> {
20
20
  /** Ref forwarded to the root element */
21
21
  ref?: React.Ref<HTMLDivElement>;
@@ -6,8 +6,8 @@
6
6
  *
7
7
  * SYNC: When modified, update these files to stay in sync:
8
8
  */
9
- export { FormLayout } from './FormLayout';
10
- export type { FormLayoutProps } from './FormLayout';
11
- export type { FormLayoutDirection, FormOptionality } from './FormLayoutContext';
12
- export { FormLayoutContext } from './FormLayoutContext';
9
+ export { FormLayout } from './FormLayout.js';
10
+ export type { FormLayoutProps } from './FormLayout.js';
11
+ export type { FormLayoutDirection, FormOptionality } from './FormLayoutContext.js';
12
+ export { FormLayoutContext } from './FormLayoutContext.js';
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -11,9 +11,9 @@
11
11
  * - /packages/cli/assets/templates/blocks/components/Grid/ (showcase blocks)
12
12
  */
13
13
  import type { ReactNode } from 'react';
14
- import type { BaseProps } from '../BaseProps';
15
- import type { SpacingStep } from '../utils/types';
16
- import type { SizeValue } from '../utils/types';
14
+ import type { BaseProps } from '../BaseProps.js';
15
+ import type { SpacingStep } from '../utils/types.js';
16
+ import type { SizeValue } from '../utils/types.js';
17
17
  /**
18
18
  * Grid alignment options for align-items and justify-items.
19
19
  */
@@ -11,7 +11,7 @@
11
11
  * - /packages/cli/assets/templates/blocks/components/Grid/ (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 GridSpanProps extends BaseProps<HTMLDivElement> {
16
16
  /** Ref forwarded to the root element */
17
17
  ref?: React.Ref<HTMLDivElement>;
@@ -6,8 +6,8 @@
6
6
  *
7
7
  * SYNC: When modified, update /packages/core/src/Grid/Grid.doc.mjs
8
8
  */
9
- export { Grid } from './Grid';
10
- export type { GridProps, GridColumns, GridAlignment } from './Grid';
11
- export { GridSpan } from './GridSpan';
12
- export type { GridSpanProps } from './GridSpan';
9
+ export { Grid } from './Grid.js';
10
+ export type { GridProps, GridColumns, GridAlignment } from './Grid.js';
11
+ export { GridSpan } from './GridSpan.js';
12
+ export type { GridSpanProps } from './GridSpan.js';
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -9,8 +9,8 @@
9
9
  * - /packages/core/src/HStack/HStack.test.tsx
10
10
  * - /packages/cli/assets/templates/blocks/components/HStack/ (showcase blocks)
11
11
  */
12
- import { type StackProps } from '../Stack/Stack';
13
- import type { StackCrossAlignment, StackMainAlignment } from '../Stack/stack.stylex';
12
+ import { type StackProps } from '../Stack/Stack.js';
13
+ import type { StackCrossAlignment, StackMainAlignment } from '../Stack/stack.stylex.js';
14
14
  export interface HStackProps extends Omit<StackProps, 'direction' | 'hAlign' | 'vAlign'> {
15
15
  /** Ref forwarded to the root element */
16
16
  ref?: React.Ref<HTMLElement>;
@@ -4,5 +4,5 @@
4
4
  * @output Exports HStack and its props type
5
5
  * @position Entry point for @astryxdesign/core/HStack subpath export
6
6
  */
7
- export { HStack, type HStackProps } from './HStack';
7
+ export { HStack, type HStackProps } from './HStack.js';
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -13,10 +13,10 @@
13
13
  * - /packages/cli/assets/templates/blocks/components/Text/ (showcase blocks)
14
14
  */
15
15
  import { type ReactNode } from 'react';
16
- import type { TextColor, TextDisplay, TextJustify, WordBreak, TextWrap, TextWeight } from '../theme/types';
17
- import type { LayerPlacement } from '../Layer';
18
- import type { BaseProps } from '../BaseProps';
19
- import type { HeadingTypeMap } from './index';
16
+ import type { TextColor, TextDisplay, TextJustify, WordBreak, TextWrap, TextWeight } from '../theme/types.js';
17
+ import type { LayerPlacement } from '../Layer/index.js';
18
+ import type { BaseProps } from '../BaseProps.js';
19
+ import type { HeadingTypeMap } from './index.js';
20
20
  /**
21
21
  * Heading level (1-6). Determines both visual styling and semantic HTML element.
22
22
  */
@@ -22,5 +22,5 @@ export interface HeadingTypeMap {
22
22
  'display-2': true;
23
23
  'display-3': true;
24
24
  }
25
- export { Heading, type HeadingProps, type HeadingLevel, type HeadingType, } from './Heading';
25
+ export { Heading, type HeadingProps, type HeadingLevel, type HeadingType, } from './Heading.js';
26
26
  //# sourceMappingURL=index.d.ts.map
@@ -11,10 +11,10 @@
11
11
  * - /packages/cli/assets/templates/blocks/components/HoverCard/ (showcase blocks)
12
12
  */
13
13
  import { type ReactElement, type ReactNode } from 'react';
14
- import { type HoverCardFocusTrigger, type HoverCardTouchTrigger } from './useHoverCard';
15
- import type { LayerAlignment, LayerPlacement } from '../Layer/useLayer';
16
- import type { BaseProps } from '../BaseProps';
17
- export type { HoverCardFocusTrigger, HoverCardTouchTrigger, } from './useHoverCard';
14
+ import { type HoverCardFocusTrigger, type HoverCardTouchTrigger } from './useHoverCard.js';
15
+ import type { LayerAlignment, LayerPlacement } from '../Layer/useLayer.js';
16
+ import type { BaseProps } from '../BaseProps.js';
17
+ export type { HoverCardFocusTrigger, HoverCardTouchTrigger, } from './useHoverCard.js';
18
18
  export interface HoverCardProps extends Pick<BaseProps, 'xstyle' | 'className' | 'style'> {
19
19
  /**
20
20
  * The trigger element(s). Children refs are preserved.
@@ -6,8 +6,8 @@
6
6
  *
7
7
  * SYNC: When adding new HoverCard files, update exports here
8
8
  */
9
- export { useHoverCard } from './useHoverCard';
10
- export type { HoverCardFocusTrigger, HoverCardTouchTrigger, HoverCardOptions, HoverCardReturn, } from './useHoverCard';
11
- export { HoverCard } from './HoverCard';
12
- export type { HoverCardProps } from './HoverCard';
9
+ export { useHoverCard } from './useHoverCard.js';
10
+ export type { HoverCardFocusTrigger, HoverCardTouchTrigger, HoverCardOptions, HoverCardReturn, } from './useHoverCard.js';
11
+ export { HoverCard } from './HoverCard.js';
12
+ export type { HoverCardProps } from './HoverCard.js';
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -8,8 +8,8 @@
8
8
  * - /packages/core/src/HoverCard/index.ts
9
9
  */
10
10
  import { type ReactNode, type RefCallback } from 'react';
11
- import { type ContextRenderProps, type LayerAlignment, type LayerPlacement } from '../Layer/useLayer';
12
- import { type LayerTouchTrigger } from '../Layer/useTouchTrigger';
11
+ import { type ContextRenderProps, type LayerAlignment, type LayerPlacement } from '../Layer/useLayer.js';
12
+ import { type LayerTouchTrigger } from '../Layer/useTouchTrigger.js';
13
13
  /**
14
14
  * Focus trigger behavior for hover cards
15
15
  */
@@ -20,9 +20,9 @@
20
20
  import React, { type ComponentType, type SVGProps } from 'react';
21
21
  import * as stylex from '@stylexjs/stylex';
22
22
  import type { StyleXStyles } from '@stylexjs/stylex';
23
- import type { IconName, NamespacedIconName } from './globalIconRegistry';
24
- import { type IconSize } from './IconSize.stylex';
25
- export type { IconSize } from './IconSize.stylex';
23
+ import type { IconName, NamespacedIconName } from './globalIconRegistry.js';
24
+ import { type IconSize } from './IconSize.stylex.js';
25
+ export type { IconSize } from './IconSize.stylex.js';
26
26
  declare const colorStyles: Readonly<{
27
27
  readonly primary: Readonly<{
28
28
  readonly color: stylex.StyleXClassNameFor<"color", "light-dark(#0A1317, #DFE2E5)">;
@@ -1,4 +1,4 @@
1
- import type { IconSize } from './IconSize.stylex';
1
+ import type { IconSize } from './IconSize.stylex.js';
2
2
  export declare const IconDefaultSizeProvider: import("react").Provider<"xsm" | "sm" | "lg" | "md" | null>;
3
3
  export declare function useIconSize(size: IconSize | undefined): IconSize;
4
4
  //# sourceMappingURL=IconDefaultSizeContext.d.ts.map
@@ -21,6 +21,6 @@
21
21
  * - /packages/core/src/Icon/Icon.doc.mjs (fallback icon documentation)
22
22
  */
23
23
  import type { ReactNode } from 'react';
24
- import type { IconName, NamespacedIconName } from './globalIconRegistry';
24
+ import type { IconName, NamespacedIconName } from './globalIconRegistry.js';
25
25
  export declare const defaultIcons: Record<IconName, ReactNode> & Partial<Record<NamespacedIconName, ReactNode>>;
26
26
  //# sourceMappingURL=defaultIcons.d.ts.map
@@ -8,7 +8,7 @@
8
8
  * Components resolve semantic icons through getIcon() or the client useIcon() hook.
9
9
  */
10
10
  import type { ReactNode } from 'react';
11
- import type { DefinedTheme } from '../theme/defineTheme';
11
+ import type { DefinedTheme } from '../theme/defineTheme.js';
12
12
  /**
13
13
  * Semantic icon names used internally by Astryx components.
14
14
  *