@astryxdesign/core 0.7.4 → 0.7.5-canary.07605c2

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 (521) 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/index.d.ts +2 -2
  105. package/dist/DateInput/monthGeometry.d.ts +1 -1
  106. package/dist/DateRangeInput/DateRangeInput.d.ts +6 -6
  107. package/dist/DateRangeInput/index.d.ts +2 -2
  108. package/dist/DateTimeInput/DateTimeInput.d.ts +6 -6
  109. package/dist/DateTimeInput/NativeDateSegment.d.ts +3 -3
  110. package/dist/DateTimeInput/NativeTimeSegment.d.ts +4 -4
  111. package/dist/DateTimeInput/TouchDateTimeField.d.ts +1 -1
  112. package/dist/DateTimeInput/index.d.ts +2 -2
  113. package/dist/Dialog/Dialog.d.ts +3 -3
  114. package/dist/Dialog/DialogHeader.d.ts +1 -1
  115. package/dist/Dialog/index.d.ts +6 -6
  116. package/dist/Dialog/useImperativeDialog.d.ts +1 -1
  117. package/dist/Divider/Divider.d.ts +2 -2
  118. package/dist/Divider/index.d.ts +2 -2
  119. package/dist/Drawer/Drawer.d.ts +3 -3
  120. package/dist/Drawer/DrawerHeader.d.ts +1 -1
  121. package/dist/Drawer/index.d.ts +4 -4
  122. package/dist/DropdownMenu/DropdownMenu.d.ts +5 -5
  123. package/dist/DropdownMenu/DropdownMenuCheckboxItem.d.ts +2 -2
  124. package/dist/DropdownMenu/DropdownMenuDivider.d.ts +1 -1
  125. package/dist/DropdownMenu/DropdownMenuGroup.d.ts +1 -1
  126. package/dist/DropdownMenu/DropdownMenuItem.d.ts +2 -2
  127. package/dist/DropdownMenu/DropdownMenuRadioGroup.d.ts +1 -1
  128. package/dist/DropdownMenu/DropdownMenuRadioItem.d.ts +2 -2
  129. package/dist/DropdownMenu/DropdownMenuSubMenu.d.ts +2 -2
  130. package/dist/DropdownMenu/MenuBottomSheetActionList.d.ts +1 -1
  131. package/dist/DropdownMenu/index.d.ts +10 -10
  132. package/dist/DropdownMenu/lazyMenuBottomSheet.d.ts +2 -2
  133. package/dist/DropdownMenu/renderDropdownItems.d.ts +1 -1
  134. package/dist/DropdownMenu/useMenuDrillIn.d.ts +1 -1
  135. package/dist/EmptyState/EmptyState.d.ts +1 -1
  136. package/dist/EmptyState/index.d.ts +2 -2
  137. package/dist/Field/Field.d.ts +5 -5
  138. package/dist/Field/FieldLabel.d.ts +2 -2
  139. package/dist/Field/PanelSearchInput.d.ts +1 -1
  140. package/dist/Field/fieldInputFamily.testing.d.ts +1 -1
  141. package/dist/Field/fieldParts.d.ts +1 -1
  142. package/dist/Field/index.d.ts +10 -10
  143. package/dist/Field/inputDisabledFocus.d.ts +14 -0
  144. package/dist/Field/inputDisabledFocus.d.ts.map +1 -0
  145. package/dist/Field/inputDisabledFocus.js +19 -0
  146. package/dist/FieldStatus/FieldStatus.d.ts +3 -3
  147. package/dist/FieldStatus/index.d.ts +2 -2
  148. package/dist/FieldStatus/useFieldStatusAnnouncement.d.ts +1 -1
  149. package/dist/FileInput/FileInput.d.ts +4 -4
  150. package/dist/FileInput/index.d.ts +2 -2
  151. package/dist/FormLayout/FormLayout.d.ts +2 -2
  152. package/dist/FormLayout/index.d.ts +4 -4
  153. package/dist/Grid/Grid.d.ts +3 -3
  154. package/dist/Grid/GridSpan.d.ts +1 -1
  155. package/dist/Grid/index.d.ts +4 -4
  156. package/dist/HStack/HStack.d.ts +2 -2
  157. package/dist/HStack/index.d.ts +1 -1
  158. package/dist/Heading/Heading.d.ts +4 -4
  159. package/dist/Heading/index.d.ts +1 -1
  160. package/dist/HoverCard/HoverCard.d.ts +4 -4
  161. package/dist/HoverCard/index.d.ts +4 -4
  162. package/dist/HoverCard/useHoverCard.d.ts +2 -2
  163. package/dist/Icon/Icon.d.ts +3 -3
  164. package/dist/Icon/IconDefaultSizeContext.d.ts +1 -1
  165. package/dist/Icon/defaultIcons.d.ts +1 -1
  166. package/dist/Icon/globalIconRegistry.d.ts +1 -1
  167. package/dist/Icon/index.d.ts +5 -5
  168. package/dist/Icon/useIcon.d.ts +1 -1
  169. package/dist/IconButton/IconButton.d.ts +1 -1
  170. package/dist/IconButton/index.d.ts +2 -2
  171. package/dist/Indicator/CheckIndicator.d.ts +1 -1
  172. package/dist/Indicator/CheckboxIndicator.d.ts +1 -1
  173. package/dist/Indicator/RadioIndicator.d.ts +1 -1
  174. package/dist/Indicator/index.d.ts +8 -8
  175. package/dist/Indicator/indicatorRegistry.d.ts +2 -2
  176. package/dist/Indicator/types.d.ts +1 -1
  177. package/dist/Indicator/useIndicator.d.ts +2 -2
  178. package/dist/InputGroup/InputGroup.d.ts +2 -2
  179. package/dist/InputGroup/InputGroupText.d.ts +1 -1
  180. package/dist/InputGroup/index.d.ts +6 -6
  181. package/dist/InteractiveRoleContext/InteractiveRoleContext.d.ts +1 -1
  182. package/dist/InteractiveRoleContext/index.d.ts +1 -1
  183. package/dist/Item/Item.d.ts +1 -1
  184. package/dist/Item/ItemSwipeLayer.d.ts +2 -2
  185. package/dist/Item/index.d.ts +2 -2
  186. package/dist/Kbd/Kbd.d.ts +1 -1
  187. package/dist/Kbd/index.d.ts +2 -2
  188. package/dist/Layer/LayerProvider.d.ts +1 -1
  189. package/dist/Layer/index.d.ts +18 -18
  190. package/dist/Layer/layerInset.d.ts +1 -1
  191. package/dist/Layer/layerSlideRules.d.ts +1 -1
  192. package/dist/Layer/modalOutlet.d.ts +1 -1
  193. package/dist/Layer/modalOutlet.js +1 -1
  194. package/dist/Layer/useLayerDismissal.d.ts +1 -1
  195. package/dist/Layout/Layout.d.ts +2 -2
  196. package/dist/Layout/LayoutContent.d.ts +2 -2
  197. package/dist/Layout/LayoutFooter.d.ts +2 -2
  198. package/dist/Layout/LayoutHeader.d.ts +2 -2
  199. package/dist/Layout/LayoutPanel.d.ts +3 -3
  200. package/dist/Layout/index.d.ts +29 -29
  201. package/dist/Layout/padding.stylex.d.ts +1 -1
  202. package/dist/Lightbox/Lightbox.d.ts +1 -1
  203. package/dist/Lightbox/index.d.ts +4 -4
  204. package/dist/Lightbox/useLightbox.d.ts +1 -1
  205. package/dist/Link/Link.d.ts +3 -3
  206. package/dist/Link/LinkContext.d.ts +1 -1
  207. package/dist/Link/LinkProvider.d.ts +1 -1
  208. package/dist/Link/index.d.ts +8 -8
  209. package/dist/Link/useLinkComponent.d.ts +1 -1
  210. package/dist/List/List.d.ts +3 -3
  211. package/dist/List/ListItem.d.ts +2 -2
  212. package/dist/List/index.d.ts +4 -4
  213. package/dist/Markdown/Markdown.d.ts +4 -4
  214. package/dist/Markdown/headingProjection.d.ts +3 -3
  215. package/dist/Markdown/index.d.ts +7 -7
  216. package/dist/Markdown/parser/index.d.ts +3 -3
  217. package/dist/Markdown/parser.d.ts +3 -3
  218. package/dist/Markdown/plugin-renderer/MarkdownPluginNodeRenderer.d.ts +1 -1
  219. package/dist/Markdown/plugin-renderer/index.d.ts +2 -2
  220. package/dist/Markdown/plugins/frontmatter.d.ts +2 -2
  221. package/dist/Markdown/plugins/headingLinks.d.ts +2 -2
  222. package/dist/Markdown/plugins/index.d.ts +14 -14
  223. package/dist/Markdown/plugins/protocol.d.ts +1 -1
  224. package/dist/Markdown/plugins/semanticFence.d.ts +2 -2
  225. package/dist/Markdown/plugins/softBreaks.d.ts +1 -1
  226. package/dist/Markdown/plugins/sourceDecoration.d.ts +2 -2
  227. package/dist/Markdown/plugins/sourceLines.d.ts +1 -1
  228. package/dist/Markdown/plugins/textTransform.d.ts +2 -2
  229. package/dist/Markdown/remark.d.ts +1 -1
  230. package/dist/Markdown/utils.d.ts +4 -4
  231. package/dist/MetadataList/MetadataList.d.ts +2 -2
  232. package/dist/MetadataList/MetadataListItem.d.ts +1 -1
  233. package/dist/MetadataList/index.d.ts +5 -5
  234. package/dist/MobileNav/MobileNav.d.ts +1 -1
  235. package/dist/MobileNav/MobileNavToggle.d.ts +1 -1
  236. package/dist/MobileNav/index.d.ts +4 -4
  237. package/dist/MoreMenu/MoreMenu.d.ts +4 -4
  238. package/dist/MoreMenu/index.d.ts +1 -1
  239. package/dist/MultiSelector/MultiSelector.d.ts +7 -7
  240. package/dist/MultiSelector/hooks.d.ts +1 -1
  241. package/dist/MultiSelector/index.d.ts +3 -3
  242. package/dist/MultiSelector/types.d.ts +1 -1
  243. package/dist/NavIcon/NavIcon.d.ts +1 -1
  244. package/dist/NavIcon/index.d.ts +2 -2
  245. package/dist/NavMenu/NavHeadingMenu.d.ts +2 -2
  246. package/dist/NavMenu/NavHeadingMenuItem.d.ts +2 -2
  247. package/dist/NavMenu/index.d.ts +6 -6
  248. package/dist/NumberInput/NumberInput.d.ts +8 -8
  249. package/dist/NumberInput/NumberInput.d.ts.map +1 -1
  250. package/dist/NumberInput/NumberInput.js +39 -14
  251. package/dist/NumberInput/index.d.ts +2 -2
  252. package/dist/NumberInput/numberInputCommit.d.ts +1 -1
  253. package/dist/NumberInput/numberParser.d.ts +1 -1
  254. package/dist/Outline/Outline.d.ts +3 -3
  255. package/dist/Outline/index.d.ts +7 -7
  256. package/dist/Outline/parseOutlineFromMarkdown.d.ts +2 -2
  257. package/dist/Outline/useOutlineFromDOM.d.ts +1 -1
  258. package/dist/Outline/useOutlineFromMarkdown.d.ts +3 -3
  259. package/dist/Outline/useScrollSpy.d.ts +1 -1
  260. package/dist/OverflowList/OverflowList.d.ts +2 -2
  261. package/dist/OverflowList/index.d.ts +2 -2
  262. package/dist/Overlay/Overlay.d.ts +2 -2
  263. package/dist/Overlay/index.d.ts +5 -5
  264. package/dist/Overlay/useOverlay.d.ts +1 -1
  265. package/dist/Pagination/Pagination.d.ts +2 -2
  266. package/dist/Pagination/index.d.ts +2 -2
  267. package/dist/Popover/Popover.d.ts +3 -3
  268. package/dist/Popover/index.d.ts +4 -4
  269. package/dist/Popover/usePopover.d.ts +2 -2
  270. package/dist/PowerSearch/PowerSearch.d.ts +5 -5
  271. package/dist/PowerSearch/PowerSearchEditPopover.d.ts +2 -2
  272. package/dist/PowerSearch/PowerSearchFilterEditor.d.ts +1 -1
  273. package/dist/PowerSearch/PowerSearchToken.d.ts +1 -1
  274. package/dist/PowerSearch/PowerSearchValueEditor.d.ts +2 -2
  275. package/dist/PowerSearch/formatFilterValue.d.ts +3 -3
  276. package/dist/PowerSearch/index.d.ts +8 -8
  277. package/dist/PowerSearch/resolveDateTimeRangePart.d.ts +1 -1
  278. package/dist/PowerSearch/resolveOperatorLabel.d.ts +2 -2
  279. package/dist/PowerSearch/types.d.ts +1 -1
  280. package/dist/PowerSearch/useInternalConfig.d.ts +1 -1
  281. package/dist/PowerSearch/usePowerSearchConfig.d.ts +1 -1
  282. package/dist/PowerSearch/usePowerSearchSource.d.ts +3 -3
  283. package/dist/PowerSearch/utils.d.ts +3 -3
  284. package/dist/ProgressBar/ProgressBar.d.ts +2 -2
  285. package/dist/ProgressBar/index.d.ts +2 -2
  286. package/dist/RadioList/RadioList.d.ts +3 -3
  287. package/dist/RadioList/RadioListItem.d.ts +2 -2
  288. package/dist/RadioList/index.d.ts +4 -4
  289. package/dist/Resizable/ResizeHandle.d.ts +2 -2
  290. package/dist/Resizable/index.d.ts +6 -6
  291. package/dist/Resizable/useResizable.d.ts +2 -2
  292. package/dist/Resizable/utils.d.ts +3 -3
  293. package/dist/ScrollableArea/ScrollableArea.d.ts +3 -3
  294. package/dist/ScrollableArea/index.d.ts +4 -4
  295. package/dist/Section/Section.d.ts +3 -3
  296. package/dist/Section/index.d.ts +2 -2
  297. package/dist/SegmentedControl/SegmentedControl.d.ts +2 -2
  298. package/dist/SegmentedControl/SegmentedControlItem.d.ts +1 -1
  299. package/dist/SegmentedControl/index.d.ts +5 -5
  300. package/dist/SelectableCard/SelectableCard.d.ts +3 -3
  301. package/dist/SelectableCard/index.d.ts +2 -2
  302. package/dist/Selector/Selector.d.ts +8 -8
  303. package/dist/Selector/SelectorOption.d.ts +1 -1
  304. package/dist/Selector/hooks.d.ts +1 -1
  305. package/dist/Selector/index.d.ts +4 -4
  306. package/dist/Selector/types.d.ts +1 -1
  307. package/dist/Selector/useSelectorPresentation.d.ts +2 -2
  308. package/dist/Selector/utils.d.ts +1 -1
  309. package/dist/SideNav/SideNav.d.ts +3 -3
  310. package/dist/SideNav/SideNavCollapseButton.d.ts +3 -3
  311. package/dist/SideNav/SideNavHeading.d.ts +2 -2
  312. package/dist/SideNav/SideNavHeading.d.ts.map +1 -1
  313. package/dist/SideNav/SideNavHeading.js +34 -0
  314. package/dist/SideNav/SideNavItem.d.ts +4 -4
  315. package/dist/SideNav/SideNavSection.d.ts +1 -1
  316. package/dist/SideNav/index.d.ts +14 -14
  317. package/dist/SizeContext/index.d.ts +1 -1
  318. package/dist/Skeleton/Skeleton.d.ts +1 -1
  319. package/dist/Skeleton/index.d.ts +2 -2
  320. package/dist/Slider/Slider.d.ts +3 -3
  321. package/dist/Slider/index.d.ts +2 -2
  322. package/dist/Spinner/Spinner.d.ts +1 -1
  323. package/dist/Spinner/index.d.ts +2 -2
  324. package/dist/Stack/Stack.d.ts +3 -3
  325. package/dist/Stack/StackItem.d.ts +2 -2
  326. package/dist/Stack/index.d.ts +6 -6
  327. package/dist/Stack/stack.stylex.d.ts +1 -1
  328. package/dist/StatusDot/StatusDot.d.ts +2 -2
  329. package/dist/StatusDot/index.d.ts +2 -2
  330. package/dist/Stepper/Step.d.ts +2 -2
  331. package/dist/Stepper/Step.d.ts.map +1 -1
  332. package/dist/Stepper/Step.js +3 -3
  333. package/dist/Stepper/Stepper.d.ts +2 -2
  334. package/dist/Stepper/index.d.ts +7 -7
  335. package/dist/Switch/Switch.d.ts +4 -4
  336. package/dist/Switch/index.d.ts +2 -2
  337. package/dist/TabList/Tab.d.ts +2 -2
  338. package/dist/TabList/TabList.d.ts +3 -3
  339. package/dist/TabList/TabMenu.d.ts +2 -2
  340. package/dist/TabList/index.d.ts +8 -8
  341. package/dist/Table/BaseTable.d.ts +1 -1
  342. package/dist/Table/Table.d.ts +1 -1
  343. package/dist/Table/TableBody.d.ts +1 -1
  344. package/dist/Table/TableCell.d.ts +3 -3
  345. package/dist/Table/TableContext.d.ts +1 -1
  346. package/dist/Table/TableFooter.d.ts +1 -1
  347. package/dist/Table/TableHeader.d.ts +1 -1
  348. package/dist/Table/TableHeaderCell.d.ts +3 -3
  349. package/dist/Table/TableRow.d.ts +2 -2
  350. package/dist/Table/TableSelectionToolbar.d.ts +2 -2
  351. package/dist/Table/columnUtils.d.ts +1 -1
  352. package/dist/Table/index.d.ts +54 -54
  353. package/dist/Table/plugins/columnResize/index.d.ts +2 -2
  354. package/dist/Table/plugins/columnResize/useTableColumnResize.d.ts +1 -1
  355. package/dist/Table/plugins/columnSettings/index.d.ts +4 -4
  356. package/dist/Table/plugins/columnSettings/useTableColumnSettings.d.ts +2 -2
  357. package/dist/Table/plugins/columnSettings/useTableColumnSettingsState.d.ts +1 -1
  358. package/dist/Table/plugins/filtering/index.d.ts +4 -4
  359. package/dist/Table/plugins/filtering/useTableFilterState.d.ts +1 -1
  360. package/dist/Table/plugins/filtering/useTableFiltering.d.ts +2 -2
  361. package/dist/Table/plugins/groupedRows/index.d.ts +2 -2
  362. package/dist/Table/plugins/groupedRows/useTableGroupedRows.d.ts +1 -1
  363. package/dist/Table/plugins/pagination/index.d.ts +3 -3
  364. package/dist/Table/plugins/pagination/useTablePagination.d.ts +1 -1
  365. package/dist/Table/plugins/rowExpansion/index.d.ts +2 -2
  366. package/dist/Table/plugins/rowExpansion/useTableRowExpansion.d.ts +1 -1
  367. package/dist/Table/plugins/rowIndex/index.d.ts +2 -2
  368. package/dist/Table/plugins/rowIndex/useTableRowIndex.d.ts +1 -1
  369. package/dist/Table/plugins/rowStatus/index.d.ts +2 -2
  370. package/dist/Table/plugins/rowStatus/useTableRowStatus.d.ts +2 -2
  371. package/dist/Table/plugins/selection/index.d.ts +4 -4
  372. package/dist/Table/plugins/selection/useTableSelection.d.ts +1 -1
  373. package/dist/Table/plugins/selection/useTableSelectionState.d.ts +1 -1
  374. package/dist/Table/plugins/sortable/index.d.ts +4 -4
  375. package/dist/Table/plugins/sortable/useTableSortable.d.ts +1 -1
  376. package/dist/Table/plugins/sortable/useTableSortableState.d.ts +1 -1
  377. package/dist/Table/plugins/stickyColumns/index.d.ts +2 -2
  378. package/dist/Table/plugins/stickyColumns/useTableStickyColumns.d.ts +1 -1
  379. package/dist/Table/plugins/tree/index.d.ts +4 -4
  380. package/dist/Table/plugins/tree/useTableTreeData.d.ts +1 -1
  381. package/dist/Table/plugins/tree/useTableTreeState.d.ts +1 -1
  382. package/dist/Table/tableContextMenu.d.ts +2 -2
  383. package/dist/Table/types.d.ts +3 -3
  384. package/dist/Table/useBaseTablePlugins.d.ts +1 -1
  385. package/dist/Table/useTableCellStyles.d.ts +2 -2
  386. package/dist/Table/utils.d.ts +2 -2
  387. package/dist/Text/Text.d.ts +3 -3
  388. package/dist/Text/index.d.ts +4 -4
  389. package/dist/TextArea/TextArea.d.ts +10 -8
  390. package/dist/TextArea/TextArea.d.ts.map +1 -1
  391. package/dist/TextArea/TextArea.js +14 -11
  392. package/dist/TextArea/index.d.ts +2 -2
  393. package/dist/TextInput/TextInput.d.ts +11 -9
  394. package/dist/TextInput/TextInput.d.ts.map +1 -1
  395. package/dist/TextInput/TextInput.js +20 -11
  396. package/dist/TextInput/index.d.ts +2 -2
  397. package/dist/Thumbnail/Thumbnail.d.ts +1 -1
  398. package/dist/Thumbnail/index.d.ts +2 -2
  399. package/dist/TimeInput/TimeInput.d.ts +6 -6
  400. package/dist/TimeInput/TouchTimeField.d.ts +1 -1
  401. package/dist/TimeInput/index.d.ts +3 -3
  402. package/dist/Timer/Timer.d.ts +2 -2
  403. package/dist/Timer/index.d.ts +2 -2
  404. package/dist/Timestamp/Timestamp.d.ts +3 -3
  405. package/dist/Timestamp/TimestampHoverCard.d.ts +1 -1
  406. package/dist/Timestamp/formatInstant.d.ts +2 -2
  407. package/dist/Timestamp/formatRelativeTime.d.ts +1 -1
  408. package/dist/Timestamp/index.d.ts +3 -3
  409. package/dist/Timestamp/tooltipEntries.d.ts +2 -2
  410. package/dist/Toast/Toast.d.ts +2 -2
  411. package/dist/Toast/ToastContext.d.ts +1 -1
  412. package/dist/Toast/ToastViewport.d.ts +2 -2
  413. package/dist/Toast/index.d.ts +6 -6
  414. package/dist/Toast/useToast.d.ts +1 -1
  415. package/dist/ToggleButton/ToggleButton.d.ts +3 -3
  416. package/dist/ToggleButton/ToggleButtonGroup.d.ts +1 -1
  417. package/dist/ToggleButton/index.d.ts +4 -4
  418. package/dist/Token/Token.d.ts +2 -2
  419. package/dist/Token/TokenLink.d.ts +1 -1
  420. package/dist/Token/index.d.ts +2 -2
  421. package/dist/Tokenizer/Tokenizer.d.ts +6 -6
  422. package/dist/Tokenizer/Tokenizer.d.ts.map +1 -1
  423. package/dist/Tokenizer/Tokenizer.js +44 -40
  424. package/dist/Tokenizer/index.d.ts +2 -2
  425. package/dist/Tokenizer/useEndLaneReserve.d.ts +3 -2
  426. package/dist/Tokenizer/useEndLaneReserve.d.ts.map +1 -1
  427. package/dist/Tokenizer/useEndLaneReserve.js +3 -2
  428. package/dist/Toolbar/Toolbar.d.ts +4 -4
  429. package/dist/Toolbar/index.d.ts +2 -2
  430. package/dist/Tooltip/Tooltip.d.ts +3 -3
  431. package/dist/Tooltip/index.d.ts +4 -4
  432. package/dist/Tooltip/useTooltip.d.ts +2 -2
  433. package/dist/TopNav/TopNav.d.ts +1 -1
  434. package/dist/TopNav/TopNavHeading.d.ts +2 -2
  435. package/dist/TopNav/TopNavItem.d.ts +3 -3
  436. package/dist/TopNav/TopNavMegaMenu.d.ts +1 -1
  437. package/dist/TopNav/TopNavMegaMenuFeaturedCard.d.ts +1 -1
  438. package/dist/TopNav/TopNavMegaMenuItem.d.ts +2 -2
  439. package/dist/TopNav/TopNavMenu.d.ts +1 -1
  440. package/dist/TopNav/index.d.ts +16 -16
  441. package/dist/TreeList/TreeList.d.ts +3 -3
  442. package/dist/TreeList/TreeListItem.d.ts +1 -1
  443. package/dist/TreeList/TreeListTypes.d.ts +1 -1
  444. package/dist/TreeList/index.d.ts +3 -3
  445. package/dist/Typeahead/BaseTypeahead.d.ts +2 -2
  446. package/dist/Typeahead/Typeahead.d.ts +6 -6
  447. package/dist/Typeahead/TypeaheadItem.d.ts +2 -2
  448. package/dist/Typeahead/createStaticSource.d.ts +1 -1
  449. package/dist/Typeahead/index.d.ts +9 -9
  450. package/dist/Typeahead/utils.d.ts +3 -3
  451. package/dist/VStack/VStack.d.ts +2 -2
  452. package/dist/VStack/index.d.ts +1 -1
  453. package/dist/VisuallyHidden/VisuallyHidden.d.ts +24 -6
  454. package/dist/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
  455. package/dist/VisuallyHidden/VisuallyHidden.js +24 -5
  456. package/dist/VisuallyHidden/index.d.ts +2 -2
  457. package/dist/astryx.css +6 -13
  458. package/dist/hooks/index.d.ts +52 -52
  459. package/dist/hooks/useAutoMediaMode.d.ts +1 -1
  460. package/dist/hooks/useInputContainer.d.ts +1 -1
  461. package/dist/hooks/useInputStatusIcon.d.ts +3 -3
  462. package/dist/hooks/useMenuPress.d.ts +1 -1
  463. package/dist/hooks/usePressFeedback.d.ts +1 -1
  464. package/dist/hooks/useScrollableArea.d.ts +1 -1
  465. package/dist/i18n/InternationalizationContext.d.ts +2 -2
  466. package/dist/i18n/InternationalizationProvider.d.ts +1 -1
  467. package/dist/i18n/index.d.ts +12 -12
  468. package/dist/i18n/resolve.d.ts +1 -1
  469. package/dist/i18n/useLocale.d.ts +1 -1
  470. package/dist/index.d.ts +111 -111
  471. package/dist/theme/Theme.d.ts +2 -2
  472. package/dist/theme/contrast.d.ts +1 -1
  473. package/dist/theme/defineTheme.d.ts +12 -12
  474. package/dist/theme/domainTokens/index.d.ts +6 -6
  475. package/dist/theme/generateThemeRules.d.ts +1 -1
  476. package/dist/theme/index.d.ts +31 -31
  477. package/dist/theme/localTokens.d.ts +1 -1
  478. package/dist/theme/mergeComponents.d.ts +1 -1
  479. package/dist/theme/onMediaTokens.d.ts +1 -1
  480. package/dist/theme/resolveThemeValues.d.ts +7 -7
  481. package/dist/theme/syntax/SyntaxTheme.d.ts +1 -1
  482. package/dist/theme/syntax/index.d.ts +7 -7
  483. package/dist/theme/syntax/presets.d.ts +1 -1
  484. package/dist/theme/themeAdaptations.d.ts +5 -5
  485. package/dist/theme/themeRegistry.d.ts +1 -1
  486. package/dist/theme/tokens.d.ts +1 -1
  487. package/dist/theme/types.d.ts +1 -1
  488. package/dist/theme/useTheme.d.ts +2 -2
  489. package/dist/utils/dateParser.d.ts +3 -3
  490. package/dist/utils/groupItems.d.ts +1 -1
  491. package/dist/utils/index.d.ts +29 -29
  492. package/dist/utils/plainDate.d.ts +3 -3
  493. package/package.json +5 -5
  494. package/src/Badge/Badge.doc.mjs +2 -1
  495. package/src/BottomSheet/BottomSheet.tsx +12 -1
  496. package/src/BottomSheet/__tests__/BottomSheetToastOutlet.a11y.chromium.spec.ts +82 -0
  497. package/src/Field/inputDisabledFocus.ts +28 -0
  498. package/src/Icon/Icon.spec.md +40 -29
  499. package/src/Layer/modalOutlet.ts +1 -1
  500. package/src/NumberInput/NumberInput.doc.mjs +6 -6
  501. package/src/NumberInput/NumberInput.test.tsx +126 -14
  502. package/src/NumberInput/NumberInput.tsx +62 -16
  503. package/src/Pagination/Pagination.test.tsx +2 -2
  504. package/src/SideNav/SideNav.test.tsx +15 -6
  505. package/src/SideNav/SideNavHeading.tsx +41 -0
  506. package/src/Stepper/Step.tsx +7 -0
  507. package/src/Stepper/Stepper.test.tsx +33 -0
  508. package/src/TextArea/TextArea.doc.mjs +6 -6
  509. package/src/TextArea/TextArea.test.tsx +65 -6
  510. package/src/TextArea/TextArea.tsx +26 -14
  511. package/src/TextInput/TextInput.doc.mjs +8 -8
  512. package/src/TextInput/TextInput.test.tsx +72 -6
  513. package/src/TextInput/TextInput.tsx +32 -14
  514. package/src/Toast/ToastViewport.modalHost.test.tsx +139 -4
  515. package/src/Tokenizer/Tokenizer.test.tsx +26 -8
  516. package/src/Tokenizer/Tokenizer.tsx +65 -72
  517. package/src/Tokenizer/__tests__/TokenizerEndLane.a11y.chromium.spec.ts +471 -0
  518. package/src/Tokenizer/useEndLaneReserve.ts +3 -2
  519. package/src/VisuallyHidden/VisuallyHidden.doc.mjs +1 -1
  520. package/src/VisuallyHidden/VisuallyHidden.test.tsx +39 -0
  521. package/src/VisuallyHidden/VisuallyHidden.tsx +38 -5
@@ -6,8 +6,8 @@
6
6
  *
7
7
  * SYNC: When modified, update this header and /packages/core/src/Table/Table.doc.mjs
8
8
  */
9
- import type { IconName } from '../Icon';
10
- import type { TableRowStatusColor } from './plugins/rowStatus/useTableRowStatus';
9
+ import type { IconName } from '../Icon/index.js';
10
+ import type { TableRowStatusColor } from './plugins/rowStatus/useTableRowStatus.js';
11
11
  /** Stable custom row-status marker contract. */
12
12
  export interface TableRowStatus {
13
13
  color: TableRowStatusColor | (string & {});
@@ -21,56 +21,56 @@ export interface TableSemanticRowStatus {
21
21
  icon?: never;
22
22
  label: string;
23
23
  }
24
- export { Table } from './Table';
25
- export { TableRow } from './TableRow';
26
- export { TableCell } from './TableCell';
27
- export { TableHeaderCell } from './TableHeaderCell';
28
- export { TableHeader } from './TableHeader';
29
- export { TableBody } from './TableBody';
30
- export { TableFooter } from './TableFooter';
31
- export { TableContext } from './TableContext';
32
- export { TableSelectionToolbar } from './TableSelectionToolbar';
33
- export { useTableSelection } from './plugins/selection';
34
- export { useTableSelectionState } from './plugins/selection';
35
- export { useTableSortable } from './plugins/sortable';
36
- export { useTableSortableState } from './plugins/sortable';
37
- export { useTablePagination, paginateData } from './plugins/pagination';
38
- export { useTableColumnSettings } from './plugins/columnSettings';
39
- export { useTableColumnSettingsState } from './plugins/columnSettings';
40
- export { useTableColumnResize } from './plugins/columnResize';
41
- export { useTableStickyColumns } from './plugins/stickyColumns';
42
- export { useTableGroupedRows } from './plugins/groupedRows';
43
- export { useTableRowIndex } from './plugins/rowIndex';
44
- export { useTableRowStatus } from './plugins/rowStatus';
45
- export { useTableRowExpansion } from './plugins/rowExpansion';
46
- export { useTableTreeData, useTableTreeState } from './plugins/tree';
47
- export { resolveContextActions } from './tableContextMenu';
48
- export { useTableFiltering, useTableFilterState, toSearchFilters, } from './plugins/filtering';
49
- export { useBaseTablePlugins } from './useBaseTablePlugins';
50
- export { proportional, pixel, generateColumns, resolveColumnWidths, DEFAULT_MIN_COLUMN_WIDTH, } from './columnUtils';
51
- export type { TableColumn, TableColumnAlign, TableVerticalAlign, ColumnWidth, ProportionalWidth, PixelWidth, TablePlugin, TableContextAction, TableContextActions, TableRenderProps, HeaderRowRenderProps, HeaderCellRenderProps, BodyRowRenderProps, BodyCellRenderProps, ScrollWrapperRenderProps, BaseTableProps, } from './types';
52
- export type { TableProps, TableDensity, TableDividers, TableTextOverflow, } from './Table';
53
- export type { TableRowProps } from './TableRow';
54
- export type { TableCellProps } from './TableCell';
55
- export type { TableHeaderCellProps } from './TableHeaderCell';
56
- export type { TableHeaderProps } from './TableHeader';
57
- export type { TableBodyProps } from './TableBody';
58
- export type { TableFooterProps } from './TableFooter';
59
- export type { TableContextValue } from './TableContext';
60
- export type { TableSelectionToolbarProps } from './TableSelectionToolbar';
61
- export type { UseTableSelectionConfig } from './plugins/selection';
62
- export type { TableSelectionState, UseTableSelectionStateConfig, UseTableSelectionStateResult, } from './plugins/selection';
63
- export type { UseTableSortableConfig, UseTableSortableStateConfig, UseTableSortableStateResult, TableSortComparator, TableSortDirection, TableSortEntry, TableSortState, } from './plugins/sortable';
64
- export type { TableSortableColumnConfig } from './types';
65
- export type { UseTablePaginationConfig } from './plugins/pagination';
66
- export type { UseTableColumnSettingsConfig, ColumnSettingsOption, } from './plugins/columnSettings';
67
- export type { UseTableColumnSettingsStateConfig, UseTableColumnSettingsStateReturn, } from './plugins/columnSettings';
68
- export type { UseTableColumnResizeConfig } from './plugins/columnResize';
69
- export type { UseTableStickyColumnsConfig } from './plugins/stickyColumns';
70
- export type { UseTableRowExpansionConfig } from './plugins/rowExpansion';
71
- export type { UseTableRowIndexConfig } from './plugins/rowIndex';
72
- export type { UseTableGroupedRowsConfig, UseTableGroupedRowsResult, } from './plugins/groupedRows';
73
- export type { UseTableRowStatusConfig } from './plugins/rowStatus';
74
- export type { TableTreeRowMeta, UseTableTreeDataConfig, UseTableTreeStateConfig, UseTableTreeStateResult, } from './plugins/tree';
75
- export type { UseTableFilteringConfig, TableFilterState, TableFilterVariant, TableFilterValue, TableFilterFieldRef, } from './plugins/filtering';
24
+ export { Table } from './Table.js';
25
+ export { TableRow } from './TableRow.js';
26
+ export { TableCell } from './TableCell.js';
27
+ export { TableHeaderCell } from './TableHeaderCell.js';
28
+ export { TableHeader } from './TableHeader.js';
29
+ export { TableBody } from './TableBody.js';
30
+ export { TableFooter } from './TableFooter.js';
31
+ export { TableContext } from './TableContext.js';
32
+ export { TableSelectionToolbar } from './TableSelectionToolbar.js';
33
+ export { useTableSelection } from './plugins/selection/index.js';
34
+ export { useTableSelectionState } from './plugins/selection/index.js';
35
+ export { useTableSortable } from './plugins/sortable/index.js';
36
+ export { useTableSortableState } from './plugins/sortable/index.js';
37
+ export { useTablePagination, paginateData } from './plugins/pagination/index.js';
38
+ export { useTableColumnSettings } from './plugins/columnSettings/index.js';
39
+ export { useTableColumnSettingsState } from './plugins/columnSettings/index.js';
40
+ export { useTableColumnResize } from './plugins/columnResize/index.js';
41
+ export { useTableStickyColumns } from './plugins/stickyColumns/index.js';
42
+ export { useTableGroupedRows } from './plugins/groupedRows/index.js';
43
+ export { useTableRowIndex } from './plugins/rowIndex/index.js';
44
+ export { useTableRowStatus } from './plugins/rowStatus/index.js';
45
+ export { useTableRowExpansion } from './plugins/rowExpansion/index.js';
46
+ export { useTableTreeData, useTableTreeState } from './plugins/tree/index.js';
47
+ export { resolveContextActions } from './tableContextMenu.js';
48
+ export { useTableFiltering, useTableFilterState, toSearchFilters, } from './plugins/filtering/index.js';
49
+ export { useBaseTablePlugins } from './useBaseTablePlugins.js';
50
+ export { proportional, pixel, generateColumns, resolveColumnWidths, DEFAULT_MIN_COLUMN_WIDTH, } from './columnUtils.js';
51
+ export type { TableColumn, TableColumnAlign, TableVerticalAlign, ColumnWidth, ProportionalWidth, PixelWidth, TablePlugin, TableContextAction, TableContextActions, TableRenderProps, HeaderRowRenderProps, HeaderCellRenderProps, BodyRowRenderProps, BodyCellRenderProps, ScrollWrapperRenderProps, BaseTableProps, } from './types.js';
52
+ export type { TableProps, TableDensity, TableDividers, TableTextOverflow, } from './Table.js';
53
+ export type { TableRowProps } from './TableRow.js';
54
+ export type { TableCellProps } from './TableCell.js';
55
+ export type { TableHeaderCellProps } from './TableHeaderCell.js';
56
+ export type { TableHeaderProps } from './TableHeader.js';
57
+ export type { TableBodyProps } from './TableBody.js';
58
+ export type { TableFooterProps } from './TableFooter.js';
59
+ export type { TableContextValue } from './TableContext.js';
60
+ export type { TableSelectionToolbarProps } from './TableSelectionToolbar.js';
61
+ export type { UseTableSelectionConfig } from './plugins/selection/index.js';
62
+ export type { TableSelectionState, UseTableSelectionStateConfig, UseTableSelectionStateResult, } from './plugins/selection/index.js';
63
+ export type { UseTableSortableConfig, UseTableSortableStateConfig, UseTableSortableStateResult, TableSortComparator, TableSortDirection, TableSortEntry, TableSortState, } from './plugins/sortable/index.js';
64
+ export type { TableSortableColumnConfig } from './types.js';
65
+ export type { UseTablePaginationConfig } from './plugins/pagination/index.js';
66
+ export type { UseTableColumnSettingsConfig, ColumnSettingsOption, } from './plugins/columnSettings/index.js';
67
+ export type { UseTableColumnSettingsStateConfig, UseTableColumnSettingsStateReturn, } from './plugins/columnSettings/index.js';
68
+ export type { UseTableColumnResizeConfig } from './plugins/columnResize/index.js';
69
+ export type { UseTableStickyColumnsConfig } from './plugins/stickyColumns/index.js';
70
+ export type { UseTableRowExpansionConfig } from './plugins/rowExpansion/index.js';
71
+ export type { UseTableRowIndexConfig } from './plugins/rowIndex/index.js';
72
+ export type { UseTableGroupedRowsConfig, UseTableGroupedRowsResult, } from './plugins/groupedRows/index.js';
73
+ export type { UseTableRowStatusConfig } from './plugins/rowStatus/index.js';
74
+ export type { TableTreeRowMeta, UseTableTreeDataConfig, UseTableTreeStateConfig, UseTableTreeStateResult, } from './plugins/tree/index.js';
75
+ export type { UseTableFilteringConfig, TableFilterState, TableFilterVariant, TableFilterValue, TableFilterFieldRef, } from './plugins/filtering/index.js';
76
76
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export { useTableColumnResize } from './useTableColumnResize';
2
- export type { UseTableColumnResizeConfig } from './useTableColumnResize';
1
+ export { useTableColumnResize } from './useTableColumnResize.js';
2
+ export type { UseTableColumnResizeConfig } from './useTableColumnResize.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { TablePlugin, TableColumn } from '../../types';
1
+ import type { TablePlugin, TableColumn } from '../../types.js';
2
2
  export interface UseTableColumnResizeConfig {
3
3
  /**
4
4
  * Column width overrides from resize operations.
@@ -1,5 +1,5 @@
1
- export { useTableColumnSettings } from './useTableColumnSettings';
2
- export type { UseTableColumnSettingsConfig, ColumnSettingsOption, } from './useTableColumnSettings';
3
- export { useTableColumnSettingsState } from './useTableColumnSettingsState';
4
- export type { UseTableColumnSettingsStateConfig, UseTableColumnSettingsStateReturn, } from './useTableColumnSettingsState';
1
+ export { useTableColumnSettings } from './useTableColumnSettings.js';
2
+ export type { UseTableColumnSettingsConfig, ColumnSettingsOption, } from './useTableColumnSettings.js';
3
+ export { useTableColumnSettingsState } from './useTableColumnSettingsState.js';
4
+ export type { UseTableColumnSettingsStateConfig, UseTableColumnSettingsStateReturn, } from './useTableColumnSettingsState.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { TablePlugin } from '../../types';
2
- import type { UseTableColumnSettingsStateConfig } from './useTableColumnSettingsState';
1
+ import type { TablePlugin } from '../../types.js';
2
+ import type { UseTableColumnSettingsStateConfig } from './useTableColumnSettingsState.js';
3
3
  /**
4
4
  * Definition of a column for the column settings UI.
5
5
  * Separate from TableColumn because the settings UI needs metadata
@@ -1,4 +1,4 @@
1
- import type { ColumnSettingsOption } from './useTableColumnSettings';
1
+ import type { ColumnSettingsOption } from './useTableColumnSettings.js';
2
2
  /**
3
3
  * Configuration for useTableColumnSettingsState.
4
4
  *
@@ -1,5 +1,5 @@
1
- export { useTableFiltering, toSearchFilters } from './useTableFiltering';
2
- export { useTableFilterState } from './useTableFilterState';
3
- export type { UseTableFilterStateResult } from './useTableFilterState';
4
- export type { UseTableFilteringConfig, TableFilterState, TableFilterVariant, TableFilterValue, TableFilterFieldRef, } from './useTableFiltering';
1
+ export { useTableFiltering, toSearchFilters } from './useTableFiltering.js';
2
+ export { useTableFilterState } from './useTableFilterState.js';
3
+ export type { UseTableFilterStateResult } from './useTableFilterState.js';
4
+ export type { UseTableFilteringConfig, TableFilterState, TableFilterVariant, TableFilterValue, TableFilterFieldRef, } from './useTableFiltering.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { TableFilterState, TableFilterValue } from './useTableFiltering';
1
+ import type { TableFilterState, TableFilterValue } from './useTableFiltering.js';
2
2
  export interface UseTableFilterStateResult {
3
3
  /** Current filter state — pass to useTableFiltering. */
4
4
  filters: TableFilterState;
@@ -1,5 +1,5 @@
1
- import type { TablePlugin } from '../../types';
2
- import type { PowerSearchConfig, PowerSearchFilter } from '../../../PowerSearch/types';
1
+ import type { TablePlugin } from '../../types.js';
2
+ import type { PowerSearchConfig, PowerSearchFilter } from '../../../PowerSearch/types.js';
3
3
  /** Union of all filter value types (text=string, number=number, enum/list=string[]) */
4
4
  export type TableFilterValue = string | number | string[];
5
5
  /**
@@ -1,3 +1,3 @@
1
- export { useTableGroupedRows } from './useTableGroupedRows';
2
- export type { UseTableGroupedRowsConfig, UseTableGroupedRowsResult, } from './useTableGroupedRows';
1
+ export { useTableGroupedRows } from './useTableGroupedRows.js';
2
+ export type { UseTableGroupedRowsConfig, UseTableGroupedRowsResult, } from './useTableGroupedRows.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -8,7 +8,7 @@
8
8
  * - /packages/core/src/Table/index.ts (exports)
9
9
  */
10
10
  import { type ReactNode } from 'react';
11
- import type { TablePlugin } from '../../types';
11
+ import type { TablePlugin } from '../../types.js';
12
12
  /** Configuration for {@link useTableGroupedRows}. */
13
13
  export interface UseTableGroupedRowsConfig<T extends Record<string, unknown>> {
14
14
  /** The flat data to group. */
@@ -1,4 +1,4 @@
1
- export { useTablePagination } from './useTablePagination';
2
- export type { UseTablePaginationConfig } from './useTablePagination';
3
- export { paginateData } from './paginateData';
1
+ export { useTablePagination } from './useTablePagination.js';
2
+ export type { UseTablePaginationConfig } from './useTablePagination.js';
3
+ export { paginateData } from './paginateData.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { TablePlugin } from '../../types';
1
+ import type { TablePlugin } from '../../types.js';
2
2
  /**
3
3
  * Configuration for useTablePagination.
4
4
  *
@@ -1,3 +1,3 @@
1
- export { useTableRowExpansion } from './useTableRowExpansion';
2
- export type { UseTableRowExpansionConfig } from './useTableRowExpansion';
1
+ export { useTableRowExpansion } from './useTableRowExpansion.js';
2
+ export type { UseTableRowExpansionConfig } from './useTableRowExpansion.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -14,7 +14,7 @@
14
14
  * - /packages/core/src/Table/useTableRowExpansion.doc.mjs
15
15
  */
16
16
  import { type ReactNode } from 'react';
17
- import type { TablePlugin } from '../../types';
17
+ import type { TablePlugin } from '../../types.js';
18
18
  /**
19
19
  * Configuration for useTableRowExpansion (detail-panel mode).
20
20
  *
@@ -1,3 +1,3 @@
1
- export { useTableRowIndex } from './useTableRowIndex';
2
- export type { UseTableRowIndexConfig } from './useTableRowIndex';
1
+ export { useTableRowIndex } from './useTableRowIndex.js';
2
+ export type { UseTableRowIndexConfig } from './useTableRowIndex.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -8,7 +8,7 @@
8
8
  * - /packages/core/src/Table/index.ts (exports)
9
9
  */
10
10
  import { type ReactNode } from 'react';
11
- import type { TablePlugin } from '../../types';
11
+ import type { TablePlugin } from '../../types.js';
12
12
  /**
13
13
  * Configuration for {@link useTableRowIndex}.
14
14
  *
@@ -1,3 +1,3 @@
1
- export { useTableRowStatus } from './useTableRowStatus';
2
- export type { UseTableRowStatusConfig } from './useTableRowStatus';
1
+ export { useTableRowStatus } from './useTableRowStatus.js';
2
+ export type { UseTableRowStatusConfig } from './useTableRowStatus.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { TableRowStatus, TableSemanticRowStatus } from '../../index';
2
- import type { TablePlugin } from '../../types';
1
+ import type { TableRowStatus, TableSemanticRowStatus } from '../../index.js';
2
+ import type { TablePlugin } from '../../types.js';
3
3
  /**
4
4
  * Named colors supported by the custom row-status marker. These resolve to the
5
5
  * design system's icon color tokens; raw CSS colors remain an escape hatch.
@@ -1,5 +1,5 @@
1
- export { useTableSelection } from './useTableSelection';
2
- export type { UseTableSelectionConfig } from './useTableSelection';
3
- export { useTableSelectionState } from './useTableSelectionState';
4
- export type { TableSelectionState, UseTableSelectionStateConfig, UseTableSelectionStateResult, } from './useTableSelectionState';
1
+ export { useTableSelection } from './useTableSelection.js';
2
+ export type { UseTableSelectionConfig } from './useTableSelection.js';
3
+ export { useTableSelectionState } from './useTableSelectionState.js';
4
+ export type { TableSelectionState, UseTableSelectionStateConfig, UseTableSelectionStateResult, } from './useTableSelectionState.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { TablePlugin } from '../../types';
1
+ import type { TablePlugin } from '../../types.js';
2
2
  export interface UseTableSelectionConfig<T extends Record<string, unknown>> {
3
3
  /** Is this item currently selected? */
4
4
  getIsItemSelected: (item: T) => boolean;
@@ -1,4 +1,4 @@
1
- import type { UseTableSelectionConfig } from './useTableSelection';
1
+ import type { UseTableSelectionConfig } from './useTableSelection.js';
2
2
  export interface UseTableSelectionStateConfig<T extends Record<string, unknown>> {
3
3
  /**
4
4
  * The data array currently rendered in the table.
@@ -1,5 +1,5 @@
1
- export { useTableSortable } from './useTableSortable';
2
- export type { UseTableSortableConfig, TableSortDirection, TableSortEntry, TableSortState, } from './useTableSortable';
3
- export { useTableSortableState } from './useTableSortableState';
4
- export type { UseTableSortableStateConfig, UseTableSortableStateResult, TableSortComparator, } from './useTableSortableState';
1
+ export { useTableSortable } from './useTableSortable.js';
2
+ export type { UseTableSortableConfig, TableSortDirection, TableSortEntry, TableSortState, } from './useTableSortable.js';
3
+ export { useTableSortableState } from './useTableSortableState.js';
4
+ export type { UseTableSortableStateConfig, UseTableSortableStateResult, TableSortComparator, } from './useTableSortableState.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { TablePlugin } from '../../types';
1
+ import type { TablePlugin } from '../../types.js';
2
2
  /**
3
3
  * Sort direction for a single column.
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { TableSortState, UseTableSortableConfig } from './useTableSortable';
1
+ import type { TableSortState, UseTableSortableConfig } from './useTableSortable.js';
2
2
  /**
3
3
  * Custom comparator for a single sort key.
4
4
  * Receives two row values and returns a standard comparison number.
@@ -1,3 +1,3 @@
1
- export { useTableStickyColumns } from './useTableStickyColumns';
2
- export type { UseTableStickyColumnsConfig } from './useTableStickyColumns';
1
+ export { useTableStickyColumns } from './useTableStickyColumns.js';
2
+ export type { UseTableStickyColumnsConfig } from './useTableStickyColumns.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { TablePlugin } from '../../types';
1
+ import type { TablePlugin } from '../../types.js';
2
2
  /**
3
3
  * Config for {@link useTableStickyColumns}. Provide at least one of
4
4
  * `startKeys` / `endKeys` to pin columns.
@@ -1,5 +1,5 @@
1
- export { useTableTreeData } from './useTableTreeData';
2
- export type { TableTreeRowMeta, UseTableTreeDataConfig, } from './useTableTreeData';
3
- export { useTableTreeState } from './useTableTreeState';
4
- export type { UseTableTreeStateConfig, UseTableTreeStateResult, } from './useTableTreeState';
1
+ export { useTableTreeData } from './useTableTreeData.js';
2
+ export type { TableTreeRowMeta, UseTableTreeDataConfig, } from './useTableTreeData.js';
3
+ export { useTableTreeState } from './useTableTreeState.js';
4
+ export type { UseTableTreeStateConfig, UseTableTreeStateResult, } from './useTableTreeState.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { TablePlugin } from '../../types';
1
+ import type { TablePlugin } from '../../types.js';
2
2
  /** Structural position of one visible row within the tree. */
3
3
  export interface TableTreeRowMeta {
4
4
  /** The row's id (from `idKey`). */
@@ -1,4 +1,4 @@
1
- import type { UseTableTreeDataConfig } from './useTableTreeData';
1
+ import type { UseTableTreeDataConfig } from './useTableTreeData.js';
2
2
  export interface UseTableTreeStateConfig<T extends Record<string, unknown>> {
3
3
  /** Nested data: rows may carry child rows under `childrenKey`. */
4
4
  data: T[];
@@ -9,8 +9,8 @@
9
9
  * - /packages/core/src/Table/types.ts (TableContextAction)
10
10
  */
11
11
  import { type ReactNode } from 'react';
12
- import type { StyleXStyles } from '../theme/types';
13
- import type { TableContextAction, TableContextActions } from './types';
12
+ import type { StyleXStyles } from '../theme/types.js';
13
+ import type { TableContextAction, TableContextActions } from './types.js';
14
14
  /**
15
15
  * Resolve a `contextMenuActions` value (array or getter) to a plain array.
16
16
  * Use this when composing actions from a prior plugin's render props so you
@@ -10,9 +10,9 @@
10
10
  */
11
11
  import type React from 'react';
12
12
  import type { ComponentType, HTMLAttributes, Ref, TdHTMLAttributes, ThHTMLAttributes, ReactNode } from 'react';
13
- import type { StyleXStyles } from '../theme/types';
14
- import type { BaseProps } from '../BaseProps';
15
- import type { TableFilterFieldRef } from './plugins/filtering/useTableFiltering';
13
+ import type { StyleXStyles } from '../theme/types.js';
14
+ import type { BaseProps } from '../BaseProps.js';
15
+ import type { TableFilterFieldRef } from './plugins/filtering/useTableFiltering.js';
16
16
  /**
17
17
  * A proportional (fr-like) column width.
18
18
  * Use the `proportional()` helper to create.
@@ -1,4 +1,4 @@
1
- import type { TablePlugin } from './types';
1
+ import type { TablePlugin } from './types.js';
2
2
  /**
3
3
  * Converts a named plugin record (`Record<string, TablePlugin>`) to a stable
4
4
  * memoized array for `BaseTable`. Compares plugin values by identity so
@@ -1,5 +1,5 @@
1
- import type { StyleXStyles } from '../theme/types';
2
- import { type TableContextValue } from './TableContext';
1
+ import type { StyleXStyles } from '../theme/types.js';
2
+ import { type TableContextValue } from './TableContext.js';
3
3
  /**
4
4
  * Build the divider styles array for a cell based on context.
5
5
  * Shared between body cells and header cells — both apply row/column
@@ -3,6 +3,6 @@
3
3
  * @output Server-safe re-exports of pure Table utility functions
4
4
  * @position Subpath entry point: `@astryxdesign/core/Table/utils`
5
5
  */
6
- export { proportional, pixel, capitalize, generateColumns, resolveColumnWidths, DEFAULT_MIN_COLUMN_WIDTH, } from './columnUtils';
7
- export type { ColumnWidth, ProportionalWidth, PixelWidth, TableColumn, } from './types';
6
+ export { proportional, pixel, capitalize, generateColumns, resolveColumnWidths, DEFAULT_MIN_COLUMN_WIDTH, } from './columnUtils.js';
7
+ export type { ColumnWidth, ProportionalWidth, PixelWidth, TableColumn, } from './types.js';
8
8
  //# sourceMappingURL=utils.d.ts.map
@@ -12,9 +12,9 @@
12
12
  * - /packages/cli/assets/templates/blocks/components/Text/ (showcase blocks)
13
13
  */
14
14
  import { type ReactNode } from 'react';
15
- import type { TextType, TextSize, TextColor, BuiltinTextColor, TextWeight, TextDisplay, TextJustify, WordBreak, TextWrap } from '../theme/types';
16
- import type { LayerPlacement } from '../Layer';
17
- import type { BaseProps } from '../BaseProps';
15
+ import type { TextType, TextSize, TextColor, BuiltinTextColor, TextWeight, TextDisplay, TextJustify, WordBreak, TextWrap } from '../theme/types.js';
16
+ import type { LayerPlacement } from '../Layer/index.js';
17
+ import type { BaseProps } from '../BaseProps.js';
18
18
  export type { TextType, TextSize };
19
19
  export interface TextProps extends Omit<BaseProps, 'children'> {
20
20
  /** Ref forwarded to the root element */
@@ -32,8 +32,8 @@ export interface TextColorMap {
32
32
  accent: true;
33
33
  inherit: true;
34
34
  }
35
- export { Text, type TextProps, type TextType, type TextSize } from './Text';
36
- export { Heading, type HeadingProps, type HeadingLevel, type HeadingType, type HeadingTypeMap, } from '../Heading';
37
- export type { TextColor, TextWeight, TextDisplay, TextJustify, WordBreak, TextWrap, TextXStyleAllowed, ProseElement, } from '../theme/types';
38
- export { useTruncation, type UseTruncationOptions, type UseTruncationReturn, } from './useTruncation';
35
+ export { Text, type TextProps, type TextType, type TextSize } from './Text.js';
36
+ export { Heading, type HeadingProps, type HeadingLevel, type HeadingType, type HeadingTypeMap, } from '../Heading/index.js';
37
+ export type { TextColor, TextWeight, TextDisplay, TextJustify, WordBreak, TextWrap, TextXStyleAllowed, ProseElement, } from '../theme/types.js';
38
+ export { useTruncation, type UseTruncationOptions, type UseTruncationReturn, } from './useTruncation.js';
39
39
  //# sourceMappingURL=index.d.ts.map
@@ -12,10 +12,10 @@
12
12
  * - /packages/cli/assets/templates/blocks/components/TextArea/ (showcase blocks)
13
13
  */
14
14
  import { type ChangeEvent, type ClipboardEvent, type FocusEvent, type ReactNode } from 'react';
15
- import { type FieldStatusVariant } from '../Field';
16
- import { type IconType } from '../Icon';
17
- import { type FieldInputBaseProps } from '../Field/fieldParts';
18
- import type { SizeValue } from '../utils/types';
15
+ import { type FieldStatusVariant } from '../Field/index.js';
16
+ import { type IconType } from '../Icon/index.js';
17
+ import { type FieldInputBaseProps } from '../Field/fieldParts.js';
18
+ import type { SizeValue } from '../utils/types.js';
19
19
  export type TextAreaStatusType = 'warning' | 'error' | 'success';
20
20
  export type TextAreaSize = 'sm' | 'md' | 'lg';
21
21
  export interface TextAreaStatus {
@@ -76,7 +76,9 @@ export interface TextAreaProps extends Omit<FieldInputBaseProps, 'onChange' | 'd
76
76
  */
77
77
  rows?: number;
78
78
  /**
79
- * Whether the textarea is disabled.
79
+ * Whether the textarea is disabled. A disabled textarea is dimmed, cannot be
80
+ * edited, and is left out of form submission, but it stays in the tab order
81
+ * (`aria-disabled`, not the native attribute).
80
82
  * @default false
81
83
  */
82
84
  isDisabled?: boolean;
@@ -84,7 +86,7 @@ export interface TextAreaProps extends Omit<FieldInputBaseProps, 'onChange' | 'd
84
86
  * Whether the textarea is read-only.
85
87
  * The value is shown at full opacity and still submits with the form, but
86
88
  * cannot be edited. Unlike `isDisabled`, a read-only textarea is not dimmed
87
- * and stays in the tab order — use it for a value the user should see and
89
+ * and keeps its form value — use it for a value the user should see and
88
90
  * send but not change. `isDisabled` takes precedence when both are set.
89
91
  * @default false
90
92
  */
@@ -96,8 +98,8 @@ export interface TextAreaProps extends Omit<FieldInputBaseProps, 'onChange' | 'd
96
98
  * discoverable by keyboard and assistive technology. The field cannot be
97
99
  * edited (it becomes read-only) while disabled.
98
100
  *
99
- * Use this instead of wrapping a disabled textarea in `Tooltip` — disabled
100
- * controls don't emit the pointer events an external tooltip needs.
101
+ * Use this instead of wrapping a disabled textarea in `Tooltip`, so the
102
+ * reason is attached to the field itself.
101
103
  *
102
104
  * @example
103
105
  * ```
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../src/TextArea/TextArea.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAOL,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAQf,OAAO,EAML,KAAK,kBAAkB,EACxB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAuB,KAAK,QAAQ,EAAC,MAAM,SAAS,CAAC;AAK5D,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAoI9C,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,OAAO,GAAG,SA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;OAQG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;IACvD;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;IACtD;;;;;OAKG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,CAAC,cAAc,CAAC,CAAC;CAClF;AAED;;;;;;;;GAQG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,aAAqB,EACrB,WAAW,EACX,UAAkB,EAClB,UAAkB,EAClB,QAAQ,EACR,YAAY,EACZ,SAAiB,EACjB,KAAK,EACL,WAAW,EACX,IAAQ,EACR,UAAkB,EAClB,UAAkB,EAClB,eAAe,EACf,MAAM,EACN,aAA0B,EAC1B,YAAY,EACZ,SAAS,EACT,aAAoB,EACpB,OAAO,EACP,SAAS,EACT,YAAoB,EACpB,IAAI,EAAE,QAAQ,EACd,QAAQ,EACR,OAAO,EACP,MAAM,EACN,KAAK,EACL,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,GAAG,EACH,EAAE,EAAE,MAAM,EACV,kBAAkB,EAAE,mBAAmB,EACvC,GAAG,SAAS,EACb,EAAE,aAAa,+BA8Rf;yBApUe,QAAQ"}
@@ -25,6 +25,7 @@ import { Spinner } from "../Spinner/index.js";
25
25
  import { useTooltip } from "../Tooltip/index.js";
26
26
  import { mergeProps } from "../utils/index.js";
27
27
  import { useFieldInputStyling } from "../Field/fieldParts.js";
28
+ import { inputDisabledFocusStyles } from "../Field/inputDisabledFocus.js";
28
29
  import { useInputContainer } from "../hooks/useInputContainer.js";
29
30
  import { useInputStatusIcon } from "../hooks/useInputStatusIcon.js";
30
31
  import { useAnnounce } from "../hooks/useAnnounce.js";
@@ -178,12 +179,14 @@ export function TextArea({
178
179
  // (spec:AST-086 FR8).
179
180
  useBusyAnnouncement(isBusy, t('@astryx.spinner.loading'), containerRef);
180
181
 
181
- // Disabled-reason tooltip. Disabled controls swallow pointer events, so the
182
- // tooltip listeners attach to the textarea container (which already exists)
182
+ // Disabled-reason tooltip. The tooltip listeners attach to the textarea container (which already exists)
183
183
  // and the textarea stays perceivable via aria-disabled instead of the native
184
184
  // disabled attribute. The field is made read-only so it can't be typed into,
185
185
  // and value mutation is blocked by the isDisabled guard in handleChange.
186
186
  const showsDisabledMessage = isDisabled && !!disabledMessage;
187
+ // A disabled field keeps its tab stop but, like a natively disabled one,
188
+ // runs no caller event handler other than focus and blur (`spec:AST-085` FR2).
189
+ const fieldProps = isDisabled ? Object.fromEntries(Object.entries(rest).filter(([key]) => !/^on[A-Z]/.test(key) || /^on(Focus|Blur)/.test(key))) : rest;
187
190
  const disabledMessageTooltip = useTooltip({
188
191
  placement: 'above',
189
192
  // The container div is not naturally focusable; focusin bubbles up from
@@ -297,7 +300,7 @@ export function TextArea({
297
300
  status: status?.type ?? null,
298
301
  disabled: isDisabled ? 'disabled' : null,
299
302
  readonly: isReadOnly ? 'readonly' : null
300
- }), stylex.props(inputWrapperStyles.base, styles.wrapper, isDisabled && inputWrapperStyles.disabled, status && inputStatusBorderStyles[status.type], status && !isDisabled && inputStatusHoverShadowStyles[status.type], status && inputStatusFocusWithinStyles[status.type], controlXstyle), controlClassName, controlStyle),
303
+ }), stylex.props(inputWrapperStyles.base, styles.wrapper, isDisabled && inputWrapperStyles.disabled, isDisabled && inputDisabledFocusStyles.ring, status && inputStatusBorderStyles[status.type], status && !isDisabled && inputStatusHoverShadowStyles[status.type], status && inputStatusFocusWithinStyles[status.type], controlXstyle), controlClassName, controlStyle),
301
304
  children: [startIcon && /*#__PURE__*/_jsx("span", {
302
305
  ...{
303
306
  className: "x10l6tqk xctzyg x1kiyvbf x47corl x78zum5"
@@ -307,24 +310,24 @@ export function TextArea({
307
310
  color: 'secondary'
308
311
  })
309
312
  }), /*#__PURE__*/_jsx("textarea", {
310
- ...rest,
313
+ ...fieldProps,
311
314
  ref: useMergedRefs(ref, textareaRef),
312
315
  id: id,
313
316
  name: isDisabled ? undefined : htmlName,
314
317
  value: optimisticValue,
315
318
  onChange: handleChange,
316
- onPaste: onPaste,
319
+ onPaste: isDisabled ? undefined : onPaste,
317
320
  onFocus: onFocus,
318
321
  onBlur: onBlur,
319
322
  placeholder: placeholder,
320
323
  rows: rows
321
- // With a disabledMessage the textarea keeps focusability via
322
- // aria-disabled so the reason is focus-discoverable; readOnly + the
323
- // handleChange guard keep the value from changing.
324
+ // A disabled textarea keeps its place in the tab order
325
+ // (spec:AST-085): aria-disabled instead of the native attribute,
326
+ // with readOnly + the handleChange guard keeping the value from
327
+ // changing.
324
328
  ,
325
- disabled: isDisabled && !showsDisabledMessage,
326
- "aria-disabled": showsDisabledMessage ? 'true' : undefined,
327
- readOnly: isReadOnly || showsDisabledMessage || undefined,
329
+ "aria-disabled": isDisabled ? 'true' : undefined,
330
+ readOnly: isReadOnly || isDisabled || undefined,
328
331
  spellCheck: hasSpellCheck,
329
332
  autoFocus: hasAutoFocus,
330
333
  "data-autofocus": hasAutoFocus || undefined,
@@ -6,6 +6,6 @@
6
6
  *
7
7
  * SYNC: When modified, update this header and /packages/core/src/TextArea/TextArea.doc.mjs
8
8
  */
9
- export { TextArea } from './TextArea';
10
- export type { TextAreaProps, TextAreaStatus, TextAreaStatusType, TextAreaSize, } from './TextArea';
9
+ export { TextArea } from './TextArea.js';
10
+ export type { TextAreaProps, TextAreaStatus, TextAreaStatusType, TextAreaSize, } from './TextArea.js';
11
11
  //# sourceMappingURL=index.d.ts.map