@astryxdesign/core 0.0.15 → 0.1.0-canary.08d4cf4

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 (384) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/README.md +8 -10
  3. package/dist/AlertDialog/AlertDialog.js +2 -2
  4. package/dist/AppShell/AppShell.js +5 -5
  5. package/dist/AspectRatio/AspectRatio.js +2 -2
  6. package/dist/Avatar/Avatar.js +2 -2
  7. package/dist/Avatar/AvatarStatusDot.js +2 -2
  8. package/dist/AvatarGroup/AvatarGroup.js +2 -2
  9. package/dist/AvatarGroup/AvatarGroupOverflow.js +3 -3
  10. package/dist/Badge/Badge.js +2 -2
  11. package/dist/Banner/Banner.d.ts +2 -2
  12. package/dist/Banner/Banner.js +6 -6
  13. package/dist/Blockquote/Blockquote.js +2 -2
  14. package/dist/Breadcrumbs/BreadcrumbItem.js +3 -3
  15. package/dist/Breadcrumbs/Breadcrumbs.js +2 -2
  16. package/dist/Button/Button.js +2 -2
  17. package/dist/ButtonGroup/ButtonGroup.js +2 -2
  18. package/dist/Calendar/Calendar.js +3 -3
  19. package/dist/Card/Card.js +2 -2
  20. package/dist/Carousel/Carousel.js +2 -2
  21. package/dist/Center/Center.js +2 -2
  22. package/dist/Chat/ChatComposer.js +2 -2
  23. package/dist/Chat/ChatComposerDrawer.js +2 -2
  24. package/dist/Chat/ChatComposerInput.js +2 -2
  25. package/dist/Chat/ChatLayout.js +2 -2
  26. package/dist/Chat/ChatLayoutScrollButton.d.ts.map +1 -1
  27. package/dist/Chat/ChatLayoutScrollButton.js +5 -1
  28. package/dist/Chat/ChatMessage.js +2 -2
  29. package/dist/Chat/ChatMessageBubble.js +2 -2
  30. package/dist/Chat/ChatMessageList.js +2 -2
  31. package/dist/Chat/ChatMessageMetadata.js +2 -2
  32. package/dist/Chat/ChatSendButton.js +2 -2
  33. package/dist/Chat/ChatSystemMessage.js +3 -3
  34. package/dist/Chat/ChatTokenizedText.js +3 -3
  35. package/dist/Chat/ChatToolCalls.js +3 -3
  36. package/dist/Chat/useTriggerMenu.js +2 -2
  37. package/dist/CheckboxInput/CheckboxInput.js +3 -3
  38. package/dist/CheckboxList/CheckboxList.js +2 -2
  39. package/dist/Citation/Citation.js +3 -3
  40. package/dist/ClickableCard/ClickableCard.js +2 -2
  41. package/dist/Code/Code.js +2 -2
  42. package/dist/CodeBlock/CodeBlock.js +2 -2
  43. package/dist/Collapsible/Collapsible.js +2 -2
  44. package/dist/CommandPalette/CommandPaletteFooter.js +2 -2
  45. package/dist/CommandPalette/CommandPaletteGroup.js +2 -2
  46. package/dist/CommandPalette/CommandPaletteInput.js +2 -2
  47. package/dist/CommandPalette/CommandPaletteItem.js +2 -2
  48. package/dist/CommandPalette/CommandPaletteList.js +2 -2
  49. package/dist/ContextMenu/ContextMenu.js +4 -4
  50. package/dist/DateInput/DateInput.js +2 -2
  51. package/dist/DateRangeInput/DateRangeInput.js +2 -2
  52. package/dist/DateTimeInput/DateTimeInput.js +2 -2
  53. package/dist/Dialog/Dialog.js +3 -3
  54. package/dist/Divider/Divider.js +2 -2
  55. package/dist/DropdownMenu/DropdownMenu.js +4 -4
  56. package/dist/DropdownMenu/DropdownMenuItem.js +2 -2
  57. package/dist/DropdownMenu/{renderXDSDropdownItems.d.ts → renderDropdownItems.d.ts} +3 -3
  58. package/dist/DropdownMenu/renderDropdownItems.d.ts.map +1 -0
  59. package/dist/DropdownMenu/{renderXDSDropdownItems.js → renderDropdownItems.js} +2 -2
  60. package/dist/EmptyState/EmptyState.js +2 -2
  61. package/dist/Field/Field.js +3 -3
  62. package/dist/Field/FieldLabel.js +2 -2
  63. package/dist/FieldStatus/FieldStatus.js +2 -2
  64. package/dist/FileInput/FileInput.js +2 -2
  65. package/dist/FormLayout/FormLayout.js +2 -2
  66. package/dist/Grid/Grid.js +3 -3
  67. package/dist/Grid/GridSpan.js +2 -2
  68. package/dist/Heading/Heading.js +2 -2
  69. package/dist/HoverCard/useHoverCard.js +2 -2
  70. package/dist/Icon/Icon.js +3 -3
  71. package/dist/InputGroup/InputGroup.js +2 -2
  72. package/dist/InputGroup/InputGroupText.js +2 -2
  73. package/dist/Item/Item.js +2 -2
  74. package/dist/Kbd/Kbd.js +2 -2
  75. package/dist/Layer/useLayer.d.ts +2 -2
  76. package/dist/Layout/Layout.js +2 -2
  77. package/dist/Layout/LayoutContent.js +2 -2
  78. package/dist/Layout/LayoutFooter.js +2 -2
  79. package/dist/Layout/LayoutHeader.js +2 -2
  80. package/dist/Layout/LayoutPanel.js +2 -2
  81. package/dist/Lightbox/Lightbox.js +2 -2
  82. package/dist/Link/Link.js +3 -3
  83. package/dist/List/List.js +2 -2
  84. package/dist/List/ListItem.js +2 -2
  85. package/dist/Markdown/Markdown.js +3 -3
  86. package/dist/MetadataList/MetadataList.js +2 -2
  87. package/dist/MetadataList/MetadataListItem.js +3 -3
  88. package/dist/MobileNav/MobileNav.js +2 -2
  89. package/dist/MultiSelector/MultiSelector.js +2 -2
  90. package/dist/NavIcon/NavIcon.js +2 -2
  91. package/dist/NavMenu/NavHeadingMenu.js +2 -2
  92. package/dist/NavMenu/NavHeadingMenuItem.js +2 -2
  93. package/dist/NumberInput/NumberInput.js +2 -2
  94. package/dist/Outline/Outline.d.ts +3 -2
  95. package/dist/Outline/Outline.d.ts.map +1 -1
  96. package/dist/Outline/Outline.js +27 -8
  97. package/dist/Outline/useScrollSpy.d.ts +14 -1
  98. package/dist/Outline/useScrollSpy.d.ts.map +1 -1
  99. package/dist/Outline/useScrollSpy.js +161 -50
  100. package/dist/OverflowList/OverflowList.js +2 -2
  101. package/dist/Overlay/Overlay.js +2 -2
  102. package/dist/Overlay/OverlayScrim.js +2 -2
  103. package/dist/Pagination/Pagination.js +3 -3
  104. package/dist/Popover/Popover.js +4 -4
  105. package/dist/PowerSearch/PowerSearch.js +2 -2
  106. package/dist/ProgressBar/ProgressBar.js +5 -5
  107. package/dist/RadioList/RadioList.js +2 -2
  108. package/dist/RadioList/RadioListItem.js +4 -4
  109. package/dist/Resizable/ResizeHandle.js +4 -4
  110. package/dist/Resizable/useResizable.d.ts.map +1 -1
  111. package/dist/Resizable/useResizable.js +1 -5
  112. package/dist/Section/Section.js +2 -2
  113. package/dist/SegmentedControl/SegmentedControl.js +2 -2
  114. package/dist/SegmentedControl/SegmentedControlItem.js +2 -2
  115. package/dist/SelectableCard/SelectableCard.js +2 -2
  116. package/dist/Selector/Selector.d.ts.map +1 -1
  117. package/dist/Selector/Selector.js +3 -3
  118. package/dist/Selector/SelectorOption.js +2 -2
  119. package/dist/SideNav/SideNav.js +3 -3
  120. package/dist/SideNav/SideNavHeading.js +9 -9
  121. package/dist/SideNav/SideNavItem.js +3 -3
  122. package/dist/SideNav/SideNavSection.js +2 -2
  123. package/dist/Skeleton/Skeleton.js +2 -2
  124. package/dist/Slider/Slider.js +4 -4
  125. package/dist/Spinner/Spinner.js +3 -3
  126. package/dist/Stack/Stack.js +2 -2
  127. package/dist/Stack/StackItem.js +2 -2
  128. package/dist/StatusDot/StatusDot.js +2 -2
  129. package/dist/Switch/Switch.js +4 -4
  130. package/dist/TabList/Tab.js +3 -3
  131. package/dist/TabList/TabList.js +2 -2
  132. package/dist/TabList/TabMenu.js +5 -5
  133. package/dist/Table/BaseTable.js +2 -2
  134. package/dist/Table/Table.js +3 -3
  135. package/dist/Table/TableBody.js +2 -2
  136. package/dist/Table/TableCell.js +3 -3
  137. package/dist/Table/TableFooter.js +2 -2
  138. package/dist/Table/TableHeader.js +2 -2
  139. package/dist/Table/TableHeaderCell.js +3 -3
  140. package/dist/Table/TableRow.js +3 -3
  141. package/dist/Text/Text.js +2 -2
  142. package/dist/TextArea/TextArea.js +2 -2
  143. package/dist/TextInput/TextInput.js +2 -2
  144. package/dist/Thumbnail/Thumbnail.js +2 -2
  145. package/dist/TimeInput/TimeInput.js +2 -2
  146. package/dist/Timestamp/Timestamp.js +2 -2
  147. package/dist/Toast/Toast.js +2 -2
  148. package/dist/ToggleButton/ToggleButton.d.ts +10 -3
  149. package/dist/ToggleButton/ToggleButton.d.ts.map +1 -1
  150. package/dist/ToggleButton/ToggleButton.js +66 -20
  151. package/dist/ToggleButton/ToggleButtonGroup.js +2 -2
  152. package/dist/Token/Token.js +4 -4
  153. package/dist/Tokenizer/Tokenizer.js +3 -3
  154. package/dist/Toolbar/Toolbar.js +2 -2
  155. package/dist/Tooltip/useTooltip.js +2 -2
  156. package/dist/TopNav/TopNav.js +3 -3
  157. package/dist/TopNav/TopNavHeading.js +7 -7
  158. package/dist/TopNav/TopNavItem.js +3 -3
  159. package/dist/TopNav/TopNavMegaMenu.js +3 -3
  160. package/dist/TopNav/TopNavMegaMenuFeaturedCard.js +2 -2
  161. package/dist/TopNav/TopNavMegaMenuItem.js +3 -3
  162. package/dist/TopNav/TopNavMenu.js +2 -2
  163. package/dist/TreeList/TreeList.js +2 -2
  164. package/dist/TreeList/TreeListItem.js +2 -2
  165. package/dist/Typeahead/BaseTypeahead.js +2 -2
  166. package/dist/Typeahead/Typeahead.js +2 -2
  167. package/dist/Typeahead/TypeaheadItem.js +2 -2
  168. package/dist/docs-types.d.ts +3 -3
  169. package/dist/docs-types.d.ts.map +1 -1
  170. package/dist/naming.d.ts +1 -1
  171. package/dist/naming.js +1 -1
  172. package/dist/theme/Theme.js +1 -1
  173. package/dist/theme/defineTheme.d.ts +3 -3
  174. package/dist/theme/defineTheme.d.ts.map +1 -1
  175. package/dist/theme/defineTheme.js +1 -1
  176. package/dist/theme/index.d.ts +2 -2
  177. package/dist/theme/index.d.ts.map +1 -1
  178. package/dist/theme/index.js +2 -2
  179. package/dist/theme/syntax/defineSyntaxTheme.js +1 -1
  180. package/dist/theme/tokens.d.ts +1 -1
  181. package/dist/theme/tokens.js +4 -4
  182. package/dist/theme/useTheme.d.ts +2 -2
  183. package/dist/utils/dateParser.d.ts.map +1 -1
  184. package/dist/utils/dateParser.js +15 -2
  185. package/dist/utils/mergeProps.d.ts +3 -3
  186. package/dist/utils/mergeProps.js +4 -4
  187. package/dist/utils/parseStyleKey.d.ts +2 -2
  188. package/dist/utils/parseStyleKey.js +2 -2
  189. package/dist/utils/{xdsThemeProps.d.ts → themeProps.d.ts} +4 -4
  190. package/dist/utils/themeProps.d.ts.map +1 -0
  191. package/dist/utils/{xdsThemeProps.js → themeProps.js} +5 -5
  192. package/package.json +2 -2
  193. package/src/AlertDialog/AlertDialog.tsx +2 -2
  194. package/src/AppShell/AppShell.tsx +5 -5
  195. package/src/AspectRatio/AspectRatio.tsx +2 -2
  196. package/src/Avatar/Avatar.tsx +2 -2
  197. package/src/Avatar/AvatarStatusDot.tsx +2 -2
  198. package/src/AvatarGroup/AvatarGroup.tsx +2 -2
  199. package/src/AvatarGroup/AvatarGroupOverflow.tsx +3 -3
  200. package/src/Badge/Badge.tsx +2 -2
  201. package/src/Banner/Banner.tsx +6 -6
  202. package/src/Blockquote/Blockquote.tsx +2 -2
  203. package/src/Breadcrumbs/BreadcrumbItem.tsx +3 -3
  204. package/src/Breadcrumbs/Breadcrumbs.tsx +2 -2
  205. package/src/Button/Button.tsx +2 -2
  206. package/src/ButtonGroup/ButtonGroup.tsx +2 -2
  207. package/src/Calendar/Calendar.tsx +3 -3
  208. package/src/Card/Card.tsx +2 -2
  209. package/src/Carousel/Carousel.tsx +2 -2
  210. package/src/Center/Center.tsx +2 -2
  211. package/src/Chat/ChatComposer.tsx +2 -2
  212. package/src/Chat/ChatComposerDrawer.tsx +2 -2
  213. package/src/Chat/ChatComposerInput.tsx +2 -2
  214. package/src/Chat/ChatLayout.tsx +2 -2
  215. package/src/Chat/ChatLayoutScrollButton.tsx +7 -1
  216. package/src/Chat/ChatMessage.tsx +2 -2
  217. package/src/Chat/ChatMessageBubble.tsx +2 -2
  218. package/src/Chat/ChatMessageList.tsx +2 -2
  219. package/src/Chat/ChatMessageMetadata.tsx +2 -2
  220. package/src/Chat/ChatSendButton.tsx +2 -2
  221. package/src/Chat/ChatSystemMessage.tsx +3 -3
  222. package/src/Chat/ChatTokenizedText.tsx +3 -3
  223. package/src/Chat/ChatToolCalls.tsx +3 -3
  224. package/src/Chat/useTriggerMenu.tsx +2 -2
  225. package/src/CheckboxInput/CheckboxInput.tsx +3 -3
  226. package/src/CheckboxList/CheckboxList.tsx +2 -2
  227. package/src/Citation/Citation.tsx +3 -3
  228. package/src/ClickableCard/ClickableCard.tsx +2 -2
  229. package/src/Code/Code.tsx +2 -2
  230. package/src/CodeBlock/CodeBlock.tsx +2 -2
  231. package/src/Collapsible/Collapsible.tsx +2 -2
  232. package/src/Collapsible/useCollapsible.doc.mjs +2 -2
  233. package/src/CommandPalette/CommandPaletteFooter.tsx +2 -2
  234. package/src/CommandPalette/CommandPaletteGroup.tsx +2 -2
  235. package/src/CommandPalette/CommandPaletteInput.tsx +2 -2
  236. package/src/CommandPalette/CommandPaletteItem.tsx +2 -2
  237. package/src/CommandPalette/CommandPaletteList.tsx +2 -2
  238. package/src/ContextMenu/ContextMenu.tsx +4 -4
  239. package/src/DateInput/DateInput.test.tsx +68 -20
  240. package/src/DateInput/DateInput.tsx +2 -2
  241. package/src/DateRangeInput/DateRangeInput.tsx +2 -2
  242. package/src/DateTimeInput/DateTimeInput.tsx +2 -2
  243. package/src/Dialog/Dialog.tsx +3 -3
  244. package/src/Divider/Divider.doc.mjs +1 -1
  245. package/src/Divider/Divider.tsx +2 -2
  246. package/src/DropdownMenu/DropdownMenu.tsx +4 -4
  247. package/src/DropdownMenu/DropdownMenuItem.tsx +2 -2
  248. package/src/DropdownMenu/{renderXDSDropdownItems.tsx → renderDropdownItems.tsx} +2 -2
  249. package/src/EmptyState/EmptyState.tsx +2 -2
  250. package/src/Field/Field.tsx +3 -3
  251. package/src/Field/FieldLabel.tsx +2 -2
  252. package/src/FieldStatus/FieldStatus.tsx +2 -2
  253. package/src/FileInput/FileInput.tsx +2 -2
  254. package/src/FormLayout/FormLayout.doc.mjs +3 -3
  255. package/src/FormLayout/FormLayout.tsx +2 -2
  256. package/src/Grid/Grid.tsx +3 -3
  257. package/src/Grid/GridSpan.tsx +2 -2
  258. package/src/Heading/Heading.tsx +2 -2
  259. package/src/HoverCard/useHoverCard.tsx +2 -2
  260. package/src/Icon/Icon.doc.mjs +4 -4
  261. package/src/Icon/Icon.tsx +3 -3
  262. package/src/InputGroup/InputGroup.tsx +2 -2
  263. package/src/InputGroup/InputGroupText.tsx +2 -2
  264. package/src/Item/Item.doc.mjs +2 -2
  265. package/src/Item/Item.tsx +2 -2
  266. package/src/Kbd/Kbd.tsx +2 -2
  267. package/src/Layer/useLayer.tsx +2 -2
  268. package/src/Layout/Layout.tsx +2 -2
  269. package/src/Layout/LayoutContent.tsx +2 -2
  270. package/src/Layout/LayoutFooter.tsx +2 -2
  271. package/src/Layout/LayoutHeader.tsx +2 -2
  272. package/src/Layout/LayoutPanel.tsx +2 -2
  273. package/src/Lightbox/Lightbox.tsx +2 -2
  274. package/src/Link/Link.doc.mjs +3 -3
  275. package/src/Link/Link.tsx +3 -3
  276. package/src/Link/LinkProvider.doc.mjs +3 -3
  277. package/src/List/List.tsx +2 -2
  278. package/src/List/ListItem.tsx +2 -2
  279. package/src/Markdown/Markdown.doc.mjs +4 -4
  280. package/src/Markdown/Markdown.tsx +3 -3
  281. package/src/MetadataList/MetadataList.tsx +2 -2
  282. package/src/MetadataList/MetadataListItem.tsx +3 -3
  283. package/src/MobileNav/MobileNav.tsx +2 -2
  284. package/src/MoreMenu/MoreMenu.doc.mjs +0 -13
  285. package/src/MultiSelector/MultiSelector.tsx +2 -2
  286. package/src/NavIcon/NavIcon.tsx +2 -2
  287. package/src/NavMenu/NavHeadingMenu.tsx +2 -2
  288. package/src/NavMenu/NavHeadingMenuItem.tsx +2 -2
  289. package/src/NumberInput/NumberInput.tsx +2 -2
  290. package/src/Outline/Outline.doc.mjs +1 -1
  291. package/src/Outline/Outline.test.tsx +76 -38
  292. package/src/Outline/Outline.tsx +27 -8
  293. package/src/Outline/useScrollSpy.ts +196 -63
  294. package/src/OverflowList/OverflowList.tsx +2 -2
  295. package/src/Overlay/Overlay.tsx +2 -2
  296. package/src/Overlay/OverlayScrim.tsx +2 -2
  297. package/src/Pagination/Pagination.tsx +3 -3
  298. package/src/Popover/Popover.tsx +4 -4
  299. package/src/PowerSearch/PowerSearch.tsx +2 -2
  300. package/src/ProgressBar/ProgressBar.tsx +5 -5
  301. package/src/RadioList/RadioList.tsx +2 -2
  302. package/src/RadioList/RadioListItem.tsx +4 -4
  303. package/src/Resizable/Resizable.doc.mjs +2 -2
  304. package/src/Resizable/ResizeHandle.tsx +4 -4
  305. package/src/Resizable/useResizable.ts +1 -7
  306. package/src/Section/Section.tsx +2 -2
  307. package/src/SegmentedControl/SegmentedControl.tsx +2 -2
  308. package/src/SegmentedControl/SegmentedControlItem.tsx +2 -2
  309. package/src/SelectableCard/SelectableCard.tsx +2 -2
  310. package/src/Selector/Selector.tsx +7 -8
  311. package/src/Selector/SelectorOption.tsx +2 -2
  312. package/src/SideNav/SideNav.tsx +3 -3
  313. package/src/SideNav/SideNavHeading.tsx +9 -9
  314. package/src/SideNav/SideNavItem.tsx +3 -3
  315. package/src/SideNav/SideNavSection.tsx +2 -2
  316. package/src/Skeleton/Skeleton.tsx +2 -2
  317. package/src/Slider/Slider.tsx +4 -4
  318. package/src/Spinner/Spinner.tsx +3 -3
  319. package/src/Stack/Stack.tsx +2 -2
  320. package/src/Stack/StackItem.tsx +2 -2
  321. package/src/StatusDot/StatusDot.tsx +2 -2
  322. package/src/Switch/Switch.tsx +4 -4
  323. package/src/TabList/Tab.tsx +3 -3
  324. package/src/TabList/TabList.tsx +2 -2
  325. package/src/TabList/TabMenu.tsx +5 -5
  326. package/src/Table/BaseTable.tsx +2 -2
  327. package/src/Table/Table.doc.mjs +3 -3
  328. package/src/Table/Table.tsx +3 -3
  329. package/src/Table/TableBody.tsx +2 -2
  330. package/src/Table/TableCell.tsx +3 -3
  331. package/src/Table/TableFooter.tsx +2 -2
  332. package/src/Table/TableHeader.tsx +2 -2
  333. package/src/Table/TableHeaderCell.tsx +3 -3
  334. package/src/Table/TableRow.tsx +3 -3
  335. package/src/Text/Text.tsx +2 -2
  336. package/src/TextArea/TextArea.tsx +2 -2
  337. package/src/TextInput/TextInput.tsx +2 -2
  338. package/src/Thumbnail/Thumbnail.tsx +2 -2
  339. package/src/TimeInput/TimeInput.tsx +2 -2
  340. package/src/Timestamp/Timestamp.tsx +2 -2
  341. package/src/Toast/Toast.tsx +2 -2
  342. package/src/ToggleButton/ToggleButton.doc.mjs +2 -2
  343. package/src/ToggleButton/ToggleButton.test.tsx +148 -6
  344. package/src/ToggleButton/ToggleButton.tsx +85 -22
  345. package/src/ToggleButton/ToggleButtonGroup.tsx +2 -2
  346. package/src/Token/Token.tsx +4 -4
  347. package/src/Tokenizer/Tokenizer.tsx +3 -3
  348. package/src/Toolbar/Toolbar.doc.mjs +8 -7
  349. package/src/Toolbar/Toolbar.tsx +2 -2
  350. package/src/Tooltip/useTooltip.tsx +2 -2
  351. package/src/TopNav/TopNav.tsx +3 -3
  352. package/src/TopNav/TopNavHeading.tsx +7 -7
  353. package/src/TopNav/TopNavItem.tsx +3 -3
  354. package/src/TopNav/TopNavMegaMenu.tsx +3 -3
  355. package/src/TopNav/TopNavMegaMenuFeaturedCard.tsx +2 -2
  356. package/src/TopNav/TopNavMegaMenuItem.tsx +3 -3
  357. package/src/TopNav/TopNavMenu.tsx +2 -2
  358. package/src/TreeList/TreeList.tsx +2 -2
  359. package/src/TreeList/TreeListItem.tsx +2 -2
  360. package/src/Typeahead/BaseTypeahead.tsx +2 -2
  361. package/src/Typeahead/Typeahead.tsx +2 -2
  362. package/src/Typeahead/TypeaheadItem.tsx +2 -2
  363. package/src/docs-types.ts +3 -3
  364. package/src/hooks/useEntryAnimation.doc.mjs +3 -3
  365. package/src/hooks/useMediaQuery.doc.mjs +2 -2
  366. package/src/hooks/useStreamingText.doc.mjs +3 -3
  367. package/src/naming.ts +1 -1
  368. package/src/reset.css +1 -1
  369. package/src/tailwind-theme.css +1 -1
  370. package/src/theme/Theme.doc.mjs +2 -2
  371. package/src/theme/Theme.tsx +1 -1
  372. package/src/theme/defineTheme.ts +3 -3
  373. package/src/theme/index.ts +2 -2
  374. package/src/theme/syntax/defineSyntaxTheme.ts +1 -1
  375. package/src/theme/tokens.ts +4 -4
  376. package/src/theme/useTheme.ts +2 -2
  377. package/src/utils/dateParser.test.ts +26 -0
  378. package/src/utils/dateParser.ts +16 -2
  379. package/src/utils/mergeProps.ts +4 -4
  380. package/src/utils/parseStyleKey.ts +2 -2
  381. package/src/utils/{xdsThemeProps.test.ts → themeProps.test.ts} +12 -12
  382. package/src/utils/{xdsThemeProps.ts → themeProps.ts} +5 -5
  383. package/dist/DropdownMenu/renderXDSDropdownItems.d.ts.map +0 -1
  384. package/dist/utils/xdsThemeProps.d.ts.map +0 -1
@@ -32,7 +32,7 @@ import type {LayerAlignment, LayerPlacement} from '../Layer/useLayer';
32
32
  import {layerAnimations} from '../Layer/layerAnimations.stylex';
33
33
  import {spacingVars} from '../theme/tokens.stylex';
34
34
  import {InteractiveRoleContext} from '../InteractiveRoleContext/InteractiveRoleContext';
35
- import {xdsThemeProps} from '../utils/xdsThemeProps';
35
+ import {themeProps} from '../utils/themeProps';
36
36
 
37
37
  // =============================================================================
38
38
  // Helpers
@@ -472,7 +472,7 @@ export function Popover({
472
472
  <div
473
473
  data-testid={testId}
474
474
  {...mergeProps(
475
- xdsThemeProps('popover'),
475
+ themeProps('popover'),
476
476
  stylex.props(styles.contentPadding, xstyle),
477
477
  className,
478
478
  style,
@@ -508,7 +508,7 @@ export function Popover({
508
508
  <div
509
509
  data-testid={testId}
510
510
  {...mergeProps(
511
- xdsThemeProps('popover'),
511
+ themeProps('popover'),
512
512
  stylex.props(styles.contentPadding, xstyle),
513
513
  className,
514
514
  style,
@@ -537,7 +537,7 @@ export function Popover({
537
537
  <div
538
538
  data-testid={testId}
539
539
  {...mergeProps(
540
- xdsThemeProps('popover'),
540
+ themeProps('popover'),
541
541
  stylex.props(styles.contentPadding, xstyle),
542
542
  className,
543
543
  style,
@@ -50,7 +50,7 @@ import {useInternalConfig} from './useInternalConfig';
50
50
  import {usePowerSearchSource} from './usePowerSearchSource';
51
51
  import {formatFilterValue} from './formatFilterValue';
52
52
  import {PowerSearchEditPopover} from './PowerSearchEditPopover';
53
- import {xdsThemeProps} from '../utils/xdsThemeProps';
53
+ import {themeProps} from '../utils/themeProps';
54
54
  import type {
55
55
  PowerSearchConfig,
56
56
  PowerSearchFilter,
@@ -966,7 +966,7 @@ export function PowerSearch({
966
966
  <>
967
967
  <div
968
968
  ref={mergeRefs(ref, popover.triggerRef as React.Ref<HTMLDivElement>)}
969
- {...xdsThemeProps('power-search')}>
969
+ {...themeProps('power-search')}>
970
970
  <Tokenizer
971
971
  handleRef={tokenizerRef}
972
972
  label={label}
@@ -30,7 +30,7 @@ import {
30
30
  } from '../theme/tokens.stylex';
31
31
  import {mergeProps} from '../utils';
32
32
  import type {BaseProps} from '../BaseProps';
33
- import {xdsThemeProps} from '../utils/xdsThemeProps';
33
+ import {themeProps} from '../utils/themeProps';
34
34
 
35
35
  /**
36
36
  * Extensible variant map for ProgressBar.
@@ -283,7 +283,7 @@ export function ProgressBar({
283
283
  <div
284
284
  ref={ref}
285
285
  {...mergeProps(
286
- xdsThemeProps('progressbar', {variant}),
286
+ themeProps('progressbar', {variant}),
287
287
  stylex.props(styles.container, xstyle),
288
288
  className,
289
289
  style,
@@ -327,13 +327,13 @@ export function ProgressBar({
327
327
  aria-labelledby={labelId}
328
328
  aria-valuetext={isIndeterminate ? undefined : valueText}
329
329
  {...mergeProps(
330
- xdsThemeProps('progressbar-track'),
330
+ themeProps('progressbar-track'),
331
331
  stylex.props(styles.track),
332
332
  )}>
333
333
  {isIndeterminate ? (
334
334
  <div
335
335
  {...mergeProps(
336
- xdsThemeProps('progressbar-fill', {variant: fillVariant}),
336
+ themeProps('progressbar-fill', {variant: fillVariant}),
337
337
  stylex.props(
338
338
  styles.indeterminateFill,
339
339
  variantStyles[fillVariant],
@@ -343,7 +343,7 @@ export function ProgressBar({
343
343
  ) : (
344
344
  <div
345
345
  {...mergeProps(
346
- xdsThemeProps('progressbar-fill', {variant: fillVariant}),
346
+ themeProps('progressbar-fill', {variant: fillVariant}),
347
347
  stylex.props(styles.fill, variantStyles[fillVariant]),
348
348
  )}
349
349
  style={{width: `${percentage}%`}}
@@ -24,7 +24,7 @@ import type {InputStatus} from '../Field/types';
24
24
  import {mergeProps} from '../utils';
25
25
  import type {BaseProps} from '../BaseProps';
26
26
  import type {SizeValue} from '../utils/types';
27
- import {xdsThemeProps} from '../utils/xdsThemeProps';
27
+ import {themeProps} from '../utils/themeProps';
28
28
 
29
29
  /**
30
30
  * Size of the radio controls, matching CheckboxInput sizes.
@@ -224,7 +224,7 @@ export function RadioList({
224
224
  aria-invalid={status?.type === 'error' ? true : undefined}
225
225
  aria-required={isRequired || undefined}
226
226
  {...mergeProps(
227
- xdsThemeProps('radio-list', {orientation, size}),
227
+ themeProps('radio-list', {orientation, size}),
228
228
  stylex.props(
229
229
  styles.radiogroup,
230
230
  orientation === 'vertical' ? styles.vertical : styles.horizontal,
@@ -32,7 +32,7 @@ import {RadioListContext} from './RadioList';
32
32
  import {mergeProps} from '../utils';
33
33
  import {radioScope} from './radio.markers.stylex';
34
34
  import {Item} from '../Item';
35
- import {xdsThemeProps} from '../utils/xdsThemeProps';
35
+ import {themeProps} from '../utils/themeProps';
36
36
 
37
37
  const styles = stylex.create({
38
38
  container: {
@@ -259,7 +259,7 @@ export function RadioListItem({
259
259
  <div
260
260
  aria-hidden="true"
261
261
  {...mergeProps(
262
- xdsThemeProps('radio', {
262
+ themeProps('radio', {
263
263
  size,
264
264
  checked: isChecked ? 'checked' : null,
265
265
  disabled: isDisabled ? 'disabled' : null,
@@ -275,7 +275,7 @@ export function RadioListItem({
275
275
  {isChecked && (
276
276
  <div
277
277
  {...mergeProps(
278
- xdsThemeProps('radio-dot', {size}),
278
+ themeProps('radio-dot', {size}),
279
279
  stylex.props(styles.innerDot, dotSizeStyles[size]),
280
280
  )}
281
281
  />
@@ -299,7 +299,7 @@ export function RadioListItem({
299
299
  ref={ref}
300
300
  data-testid={dataTestId}
301
301
  {...mergeProps(
302
- xdsThemeProps('radio-list-item'),
302
+ themeProps('radio-list-item'),
303
303
  stylex.props(styles.container, !isDisabled && radioScope),
304
304
  )}>
305
305
  <Item
@@ -27,7 +27,7 @@ export const docs = {
27
27
  {
28
28
  guidance: true,
29
29
  description:
30
- 'Use useResizable() with existing XDS layout components. ' +
30
+ 'Use useResizable() with existing Astryx layout components. ' +
31
31
  'Pass the returned props to the resizable prop on LayoutPanel or SideNav.',
32
32
  },
33
33
  {
@@ -195,7 +195,7 @@ export const docsDense = {
195
195
  description:
196
196
  'Hook-based resizable panel system. useResizable() manages size state; ResizeHandle provides interactive pill-grip separator. Pass resize props to existing layout components via their resizable prop.',
197
197
  bestPractices: [
198
- {guidance: true, description: 'Use useResizable() w/ existing XDS layout components. Pass returned props to resizable prop on LayoutPanel or SideNav.'},
198
+ {guidance: true, description: 'Use useResizable() w/ existing Astryx layout components. Pass returned props to resizable prop on LayoutPanel or SideNav.'},
199
199
  {guidance: true, description: 'Provide accessible label on each ResizeHandle when multiple handles exist (e.g. "Resize sidebar", "Resize terminal").'},
200
200
  {guidance: false, description: 'Wrap panels in extra container components for resize. Hook-first architecture avoids extra DOM; use it directly on existing components.'},
201
201
  ],
@@ -15,7 +15,7 @@
15
15
  * flips when the panel collapses to 0px so it stays accessible.
16
16
  *
17
17
  * Pill placement uses a single stylex dynamic style that accepts a direction
18
- * multiplier (-1 or 1). The pill element has its own xdsThemeProps
18
+ * multiplier (-1 or 1). The pill element has its own themeProps
19
19
  * ('resize-handle-pill') so themes can target size/shape directly.
20
20
  */
21
21
 
@@ -32,7 +32,7 @@ import {
32
32
  } from '../theme/tokens.stylex';
33
33
  import {mergeProps, mergeRefs} from '../utils';
34
34
  import type {ResizableProps} from './useResizable';
35
- import {xdsThemeProps} from '../utils/xdsThemeProps';
35
+ import {themeProps} from '../utils/themeProps';
36
36
 
37
37
  const KEYBOARD_STEP = 10;
38
38
  const KEYBOARD_LARGE_STEP = 50;
@@ -487,7 +487,7 @@ export function ResizeHandle({
487
487
  onBlur={() => setIsFocused(false)}
488
488
  data-resizing={isDragging || undefined}
489
489
  {...mergeProps(
490
- xdsThemeProps('resize-handle'),
490
+ themeProps('resize-handle'),
491
491
  stylex.props(
492
492
  styles.handle,
493
493
  isOverlay && styles.overlay,
@@ -534,7 +534,7 @@ export function ResizeHandle({
534
534
  {children ?? (
535
535
  <div
536
536
  {...mergeProps(
537
- xdsThemeProps('resize-handle-pill'),
537
+ themeProps('resize-handle-pill'),
538
538
  stylex.props(
539
539
  styles.pill,
540
540
  isHorizontal ? styles.pillHorizontal : styles.pillVertical,
@@ -107,10 +107,6 @@ export interface ResizableProps {
107
107
  const DEFAULT_MIN = 50;
108
108
  const DEFAULT_COLLAPSED_SIZE = 40;
109
109
  const STORAGE_PREFIX = 'astryx-resizable:';
110
- // Legacy key prefix read during the compat window so persisted panel sizes
111
- // survive the xds -> astryx rename. Read-only fallback; we always write the
112
- // new prefix. Removed at final cutover.
113
- const LEGACY_STORAGE_PREFIX = 'xds-resizable:';
114
110
 
115
111
  // =============================================================================
116
112
  // Helpers
@@ -147,9 +143,7 @@ function loadPersistedSize(key: string): number | null {
147
143
  return null;
148
144
  }
149
145
  try {
150
- const raw =
151
- localStorage.getItem(STORAGE_PREFIX + key) ??
152
- localStorage.getItem(LEGACY_STORAGE_PREFIX + key);
146
+ const raw = localStorage.getItem(STORAGE_PREFIX + key);
153
147
  if (raw != null) {
154
148
  const parsed = JSON.parse(raw);
155
149
  if (typeof parsed === 'number') {
@@ -32,7 +32,7 @@ import {
32
32
  } from '../Layout/padding.stylex';
33
33
  import type {SizeValue, SpacingStep} from '../utils/types';
34
34
  import {mergeProps} from '../utils';
35
- import {xdsThemeProps} from '../utils/xdsThemeProps';
35
+ import {themeProps} from '../utils/themeProps';
36
36
 
37
37
  /**
38
38
  * Extensible variant map for Section.
@@ -268,7 +268,7 @@ export function Section({
268
268
  {...props}>
269
269
  <div
270
270
  {...mergeProps(
271
- xdsThemeProps('section', {variant}),
271
+ themeProps('section', {variant}),
272
272
  stylex.props(
273
273
  nestedStyles.inner,
274
274
  ...container(
@@ -26,7 +26,7 @@ import type {
26
26
  import {mergeProps, mergeRefs} from '../utils';
27
27
  import {useSize} from '../SizeContext/SizeContext';
28
28
  import type {BaseProps} from '../BaseProps';
29
- import {xdsThemeProps} from '../utils/xdsThemeProps';
29
+ import {themeProps} from '../utils/themeProps';
30
30
 
31
31
  export interface SegmentedControlProps extends Omit<
32
32
  BaseProps<HTMLDivElement>,
@@ -206,7 +206,7 @@ export function SegmentedControl({
206
206
  aria-disabled={isDisabled || undefined}
207
207
  onKeyDown={handleKeyDown}
208
208
  {...mergeProps(
209
- xdsThemeProps('segmented-control', {size}),
209
+ themeProps('segmented-control', {size}),
210
210
  stylex.props(
211
211
  styles.container,
212
212
  sizeStyles[size],
@@ -31,7 +31,7 @@ import {useSegmentedControlContext} from './SegmentedControlContext';
31
31
  import type {SegmentedControlSize} from './SegmentedControlContext';
32
32
  import {mergeProps} from '../utils';
33
33
  import type {BaseProps} from '../BaseProps';
34
- import {xdsThemeProps} from '../utils/xdsThemeProps';
34
+ import {themeProps} from '../utils/themeProps';
35
35
 
36
36
  export interface SegmentedControlItemProps extends BaseProps<HTMLButtonElement> {
37
37
  ref?: React.Ref<HTMLButtonElement>;
@@ -198,7 +198,7 @@ export function SegmentedControlItem({
198
198
  tabIndex={isSelected ? 0 : -1}
199
199
  onClick={handleClick}
200
200
  {...mergeProps(
201
- xdsThemeProps('segmented-control-item', {
201
+ themeProps('segmented-control-item', {
202
202
  size,
203
203
  selected: isSelected ? 'selected' : null,
204
204
  disabled: isItemDisabled ? 'disabled' : null,
@@ -42,7 +42,7 @@ import {Card} from '../Card/Card';
42
42
  import type {CardVariant} from '../Card/Card';
43
43
  import {useClickableContainer} from '../hooks/useClickableContainer';
44
44
  import type {BaseProps} from '../BaseProps';
45
- import {xdsThemeProps} from '../utils/xdsThemeProps';
45
+ import {themeProps} from '../utils/themeProps';
46
46
 
47
47
  // =============================================================================
48
48
  // Styles — selection + interaction; Card handles the rest
@@ -329,7 +329,7 @@ export function SelectableCard({
329
329
  padding={padding}
330
330
  variant={variant}
331
331
  {...mergeProps(
332
- xdsThemeProps('selectable-card', {
332
+ themeProps('selectable-card', {
333
333
  variant,
334
334
  selected: isSelected ? 'true' : 'false',
335
335
  }),
@@ -65,7 +65,7 @@ import {mergeProps} from '../utils';
65
65
  import {useSize} from '../SizeContext/SizeContext';
66
66
  import type {BaseProps} from '../BaseProps';
67
67
  import type {SizeValue} from '../utils/types';
68
- import {xdsThemeProps} from '../utils/xdsThemeProps';
68
+ import {themeProps} from '../utils/themeProps';
69
69
 
70
70
  const styles = stylex.create({
71
71
  // Trigger container — the enhanced click target wrapping the combobox button and clear button as siblings
@@ -107,12 +107,11 @@ const styles = stylex.create({
107
107
  lineHeight: 'inherit',
108
108
  color: 'inherit',
109
109
  cursor: 'pointer',
110
- outline: {
111
- default: 'none',
112
- ':focus-visible': `${borderVars['--border-width']} solid ${colorVars['--color-accent']}`,
113
- },
114
- outlineOffset: '0',
115
- borderRadius: radiusVars['--radius-element'],
110
+ // The wrapper (inputWrapperStyles.base) renders the focus ring via
111
+ // :focus-within when this button is focused, matching TextInput/NumberInput.
112
+ // The button must not draw its own :focus-visible outline or the two stack
113
+ // into a doubled ring over the trigger.
114
+ outline: 'none',
116
115
  },
117
116
  triggerPlaceholder: {
118
117
  color: colorVars['--color-text-secondary'],
@@ -873,7 +872,7 @@ export function Selector<T extends SelectorOptionType>(
873
872
  onClick={onTriggerClick}
874
873
  data-testid={testId}
875
874
  {...mergeProps(
876
- xdsThemeProps('selector', {size, status: status?.type ?? null}),
875
+ themeProps('selector', {size, status: status?.type ?? null}),
877
876
  stylex.props(
878
877
  inputWrapperStyles.base,
879
878
  styles.triggerContainer,
@@ -14,7 +14,7 @@ import type {StyleXStyles} from '@stylexjs/stylex';
14
14
  import {renderIconSlot, type IconType} from '../Icon';
15
15
  import {Item} from '../Item';
16
16
  import {mergeProps} from '../utils';
17
- import {xdsThemeProps} from '../utils/xdsThemeProps';
17
+ import {themeProps} from '../utils/themeProps';
18
18
 
19
19
  const embeddedStyles = stylex.create({
20
20
  root: {
@@ -111,7 +111,7 @@ export function SelectorOption({
111
111
  description={description}
112
112
  endContent={endContent}
113
113
  xstyle={[embeddedStyles.root, xstyle]}
114
- {...mergeProps(xdsThemeProps('selector-option'), {className, style})}
114
+ {...mergeProps(themeProps('selector-option'), {className, style})}
115
115
  />
116
116
  );
117
117
  }
@@ -44,7 +44,7 @@ import {MobileNav} from '../MobileNav/MobileNav';
44
44
  import {useResizable} from '../Resizable/useResizable';
45
45
  import type {ResizableConfig} from '../Resizable/useResizable';
46
46
  import {ResizeHandle} from '../Resizable/ResizeHandle';
47
- import {xdsThemeProps} from '../utils/xdsThemeProps';
47
+ import {themeProps} from '../utils/themeProps';
48
48
 
49
49
  // =============================================================================
50
50
  // Constants
@@ -427,7 +427,7 @@ export function SideNav({
427
427
  <div
428
428
  data-testid={testId}
429
429
  {...mergeProps(
430
- xdsThemeProps('side-nav', {mode: 'topbar'}),
430
+ themeProps('side-nav', {mode: 'topbar'}),
431
431
  stylex.props(styles.topbar, xstyle),
432
432
  className,
433
433
  style,
@@ -503,7 +503,7 @@ export function SideNav({
503
503
  aria-label="Side navigation"
504
504
  data-testid={testId}
505
505
  {...mergeProps(
506
- xdsThemeProps('side-nav'),
506
+ themeProps('side-nav'),
507
507
  stylex.props(styles.root, collapsed && styles.rootCollapsed, xstyle),
508
508
  className,
509
509
  resizableNavStyle,
@@ -43,7 +43,7 @@ import {mergeProps, mergeRefs} from '../utils';
43
43
  import type {BaseProps} from '../BaseProps';
44
44
  import {useMenuHover} from '../hooks/useMenuHover';
45
45
  import {NavHeadingCloseContext} from '../NavMenu/NavMenuContext';
46
- import {xdsThemeProps} from '../utils/xdsThemeProps';
46
+ import {themeProps} from '../utils/themeProps';
47
47
 
48
48
  // =============================================================================
49
49
  // Styles
@@ -392,7 +392,7 @@ export function SideNavHeading({
392
392
  aria-label={heading}
393
393
  data-testid={testId}
394
394
  {...mergeProps(
395
- xdsThemeProps('side-nav-heading'),
395
+ themeProps('side-nav-heading'),
396
396
  stylex.props(navItemStyles.item, styles.rootCollapsed, xstyle),
397
397
  className,
398
398
  style,
@@ -411,7 +411,7 @@ export function SideNavHeading({
411
411
  {...popover.triggerProps}
412
412
  {...triggerProps}
413
413
  {...mergeProps(
414
- xdsThemeProps('side-nav-heading'),
414
+ themeProps('side-nav-heading'),
415
415
  stylex.props(
416
416
  navItemStyles.item,
417
417
  styles.rootCollapsed,
@@ -473,7 +473,7 @@ export function SideNavHeading({
473
473
  ref={collapsedSetRef}
474
474
  data-testid={testId}
475
475
  {...mergeProps(
476
- xdsThemeProps('side-nav-heading'),
476
+ themeProps('side-nav-heading'),
477
477
  stylex.props(styles.root, styles.rootCollapsed, xstyle),
478
478
  className,
479
479
  style,
@@ -571,7 +571,7 @@ export function SideNavHeading({
571
571
  href={headingHref}
572
572
  data-testid={testId}
573
573
  {...mergeProps(
574
- xdsThemeProps('side-nav-heading'),
574
+ themeProps('side-nav-heading'),
575
575
  stylex.props(styles.root, styles.menuTrigger, xstyle),
576
576
  className,
577
577
  style,
@@ -594,7 +594,7 @@ export function SideNavHeading({
594
594
  data-testid={testId}
595
595
  {...triggerProps}
596
596
  {...mergeProps(
597
- xdsThemeProps('side-nav-heading'),
597
+ themeProps('side-nav-heading'),
598
598
  stylex.props(styles.root, styles.menuTrigger, xstyle),
599
599
  className,
600
600
  style,
@@ -645,7 +645,7 @@ export function SideNavHeading({
645
645
  data-testid={testId}
646
646
  {...triggerProps}
647
647
  {...mergeProps(
648
- xdsThemeProps('side-nav-heading'),
648
+ themeProps('side-nav-heading'),
649
649
  stylex.props(styles.root, xstyle),
650
650
  className,
651
651
  style,
@@ -701,7 +701,7 @@ export function SideNavHeading({
701
701
  ref={ref}
702
702
  data-testid={testId}
703
703
  {...mergeProps(
704
- xdsThemeProps('side-nav-heading'),
704
+ themeProps('side-nav-heading'),
705
705
  stylex.props(styles.root, xstyle),
706
706
  className,
707
707
  style,
@@ -758,7 +758,7 @@ export function SideNavHeading({
758
758
  ref={ref}
759
759
  data-testid={testId}
760
760
  {...mergeProps(
761
- xdsThemeProps('side-nav-heading'),
761
+ themeProps('side-nav-heading'),
762
762
  stylex.props(styles.root, xstyle),
763
763
  className,
764
764
  style,
@@ -53,7 +53,7 @@ import {
53
53
  import {getIcon} from '../Icon/globalIconRegistry';
54
54
  import {useSideNavRenderMode} from './SideNavRenderContext';
55
55
  import {useAppShellMobile} from '../AppShell/AppShellMobileContext';
56
- import {xdsThemeProps} from '../utils/xdsThemeProps';
56
+ import {themeProps} from '../utils/themeProps';
57
57
 
58
58
  // =============================================================================
59
59
  // Styles
@@ -482,7 +482,7 @@ export function SideNavItem({
482
482
 
483
483
  // Shared collapsed item styles — used by trigger, link, and button
484
484
  const collapsedItemStyles = mergeProps(
485
- xdsThemeProps('side-nav-item', {
485
+ themeProps('side-nav-item', {
486
486
  size,
487
487
  selected: isSelected ? 'selected' : null,
488
488
  }),
@@ -583,7 +583,7 @@ export function SideNavItem({
583
583
  );
584
584
 
585
585
  const navItemStyleProps = mergeProps(
586
- xdsThemeProps('side-nav-item', {
586
+ themeProps('side-nav-item', {
587
587
  size,
588
588
  selected: isSelected ? 'selected' : null,
589
589
  }),
@@ -29,7 +29,7 @@ import {
29
29
  import {mergeProps} from '../utils';
30
30
  import type {BaseProps} from '../BaseProps';
31
31
  import {useSideNavCollapse} from './SideNavCollapseContext';
32
- import {xdsThemeProps} from '../utils/xdsThemeProps';
32
+ import {themeProps} from '../utils/themeProps';
33
33
  // =============================================================================
34
34
  // Styles
35
35
  // =============================================================================
@@ -187,7 +187,7 @@ export function SideNavSection({
187
187
  aria-labelledby={titleId}
188
188
  data-testid={testId}
189
189
  {...mergeProps(
190
- xdsThemeProps('side-nav-section'),
190
+ themeProps('side-nav-section'),
191
191
  stylex.props(styles.root, xstyle),
192
192
  className,
193
193
  style,
@@ -19,7 +19,7 @@ import type {BaseProps} from '../BaseProps';
19
19
  import * as stylex from '@stylexjs/stylex';
20
20
  import {colorVars, radiusVars, durationVars} from '../theme/tokens.stylex';
21
21
  import {mergeProps} from '../utils';
22
- import {xdsThemeProps} from '../utils/xdsThemeProps';
22
+ import {themeProps} from '../utils/themeProps';
23
23
 
24
24
  // =============================================================================
25
25
  // Animation Timing Constants
@@ -182,7 +182,7 @@ export function Skeleton({
182
182
  ref={ref}
183
183
  data-testid={testId}
184
184
  {...mergeProps(
185
- xdsThemeProps('skeleton'),
185
+ themeProps('skeleton'),
186
186
  stylex.props(
187
187
  styles.root,
188
188
  styles.animate,
@@ -41,7 +41,7 @@ import type {InputStatus} from '../Field/types';
41
41
  import {mergeProps, mergeRefs} from '../utils';
42
42
  import type {BaseProps} from '../BaseProps';
43
43
  import type {SizeValue} from '../utils/types';
44
- import {xdsThemeProps} from '../utils/xdsThemeProps';
44
+ import {themeProps} from '../utils/themeProps';
45
45
 
46
46
  // =============================================================================
47
47
  // Types
@@ -661,7 +661,7 @@ export function Slider({ref, ...props}: SliderProps) {
661
661
  aria-describedby={ariaDescribedBy}
662
662
  onKeyDown={e => handleKeyDown(thumbIndex, e)}
663
663
  {...mergeProps(
664
- xdsThemeProps('slider-thumb', {
664
+ themeProps('slider-thumb', {
665
665
  orientation,
666
666
  disabled: isDisabled ? 'disabled' : null,
667
667
  }),
@@ -751,7 +751,7 @@ export function Slider({ref, ...props}: SliderProps) {
751
751
  style={style}>
752
752
  <div
753
753
  {...mergeProps(
754
- xdsThemeProps('slider', {
754
+ themeProps('slider', {
755
755
  orientation,
756
756
  disabled: isDisabled ? 'disabled' : null,
757
757
  }),
@@ -775,7 +775,7 @@ export function Slider({ref, ...props}: SliderProps) {
775
775
  <div
776
776
  aria-hidden="true"
777
777
  {...mergeProps(
778
- xdsThemeProps('slider-track', {orientation}),
778
+ themeProps('slider-track', {orientation}),
779
779
  stylex.props(
780
780
  styles.track,
781
781
  isHorizontal ? styles.trackHorizontal : styles.trackVertical,
@@ -23,7 +23,7 @@ import {useTheme} from '../theme/useTheme';
23
23
  import type {BaseProps} from '../BaseProps';
24
24
  import {Text} from '../Text/Text';
25
25
  import {mergeProps} from '../utils';
26
- import {xdsThemeProps} from '../utils/xdsThemeProps';
26
+ import {themeProps} from '../utils/themeProps';
27
27
 
28
28
  // =============================================================================
29
29
  // Constants
@@ -261,7 +261,7 @@ export function Spinner({
261
261
  data-testid={hasLabel ? undefined : testId}
262
262
  {...(hasLabel ? {} : restProps)}
263
263
  {...mergeProps(
264
- hasLabel ? '' : xdsThemeProps('spinner', {size, shade}),
264
+ hasLabel ? '' : themeProps('spinner', {size, shade}),
265
265
  stylex.props(styles.spinner, !hasLabel && xstyle),
266
266
  hasLabel ? undefined : className,
267
267
  {...(hasLabel ? {} : style), width: frameSize, height: frameSize},
@@ -280,7 +280,7 @@ export function Spinner({
280
280
  data-testid={testId}
281
281
  {...restProps}
282
282
  {...mergeProps(
283
- xdsThemeProps('spinner', {size, shade}),
283
+ themeProps('spinner', {size, shade}),
284
284
  stylex.props(styles.wrapper, xstyle),
285
285
  className,
286
286
  style,
@@ -26,7 +26,7 @@ import {
26
26
  } from './stack.stylex';
27
27
  import type {SizeValue} from '../utils/types';
28
28
  import {mergeProps} from '../utils';
29
- import {xdsThemeProps} from '../utils/xdsThemeProps';
29
+ import {themeProps} from '../utils/themeProps';
30
30
 
31
31
  /**
32
32
  * Alignment values accepted by Stack.
@@ -233,7 +233,7 @@ export function Stack({
233
233
  {
234
234
  ref: ref as Ref<Element>,
235
235
  ...mergeProps(
236
- xdsThemeProps('stack', {direction, gap, wrap}),
236
+ themeProps('stack', {direction, gap, wrap}),
237
237
  stylexProps,
238
238
  className,
239
239
  {...style, ...sizingStyle},
@@ -21,7 +21,7 @@ import {
21
21
  type StackItemSize,
22
22
  } from './stackItem.stylex';
23
23
  import {mergeProps} from '../utils';
24
- import {xdsThemeProps} from '../utils/xdsThemeProps';
24
+ import {themeProps} from '../utils/themeProps';
25
25
 
26
26
  export interface StackItemProps extends BaseProps<HTMLElement> {
27
27
  /** Ref forwarded to the root element */
@@ -110,7 +110,7 @@ export function StackItem({
110
110
  {
111
111
  ref: ref as Ref<Element>,
112
112
  ...mergeProps(
113
- xdsThemeProps('stack-item', {size}),
113
+ themeProps('stack-item', {size}),
114
114
  stylexProps,
115
115
  className,
116
116
  style,
@@ -21,7 +21,7 @@ import {colorVars} from '../theme/tokens.stylex';
21
21
  import type {BaseProps} from '../BaseProps';
22
22
  import {Tooltip} from '../Tooltip/Tooltip';
23
23
  import {mergeProps} from '../utils';
24
- import {xdsThemeProps} from '../utils/xdsThemeProps';
24
+ import {themeProps} from '../utils/themeProps';
25
25
 
26
26
  /**
27
27
  * Pulse animation keyframes
@@ -160,7 +160,7 @@ export function StatusDot({
160
160
  role="img"
161
161
  aria-label={label}
162
162
  {...mergeProps(
163
- xdsThemeProps('statusdot', {variant}),
163
+ themeProps('statusdot', {variant}),
164
164
  stylex.props(
165
165
  styles.base,
166
166
  variants[variant],