@astryxdesign/core 0.0.15 → 0.1.0-canary.0b5b49f

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 (333) 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/ChatMessage.js +2 -2
  27. package/dist/Chat/ChatMessageBubble.js +2 -2
  28. package/dist/Chat/ChatMessageList.js +2 -2
  29. package/dist/Chat/ChatMessageMetadata.js +2 -2
  30. package/dist/Chat/ChatSendButton.js +2 -2
  31. package/dist/Chat/ChatSystemMessage.js +3 -3
  32. package/dist/Chat/ChatTokenizedText.js +3 -3
  33. package/dist/Chat/ChatToolCalls.js +3 -3
  34. package/dist/Chat/useTriggerMenu.js +2 -2
  35. package/dist/CheckboxInput/CheckboxInput.js +3 -3
  36. package/dist/CheckboxList/CheckboxList.js +2 -2
  37. package/dist/Citation/Citation.js +3 -3
  38. package/dist/ClickableCard/ClickableCard.js +2 -2
  39. package/dist/Code/Code.js +2 -2
  40. package/dist/CodeBlock/CodeBlock.js +2 -2
  41. package/dist/Collapsible/Collapsible.js +2 -2
  42. package/dist/CommandPalette/CommandPaletteFooter.js +2 -2
  43. package/dist/CommandPalette/CommandPaletteGroup.js +2 -2
  44. package/dist/CommandPalette/CommandPaletteInput.js +2 -2
  45. package/dist/CommandPalette/CommandPaletteItem.js +2 -2
  46. package/dist/CommandPalette/CommandPaletteList.js +2 -2
  47. package/dist/ContextMenu/ContextMenu.js +2 -2
  48. package/dist/DateInput/DateInput.js +2 -2
  49. package/dist/DateRangeInput/DateRangeInput.js +2 -2
  50. package/dist/DateTimeInput/DateTimeInput.js +2 -2
  51. package/dist/Dialog/Dialog.js +3 -3
  52. package/dist/Divider/Divider.js +2 -2
  53. package/dist/DropdownMenu/DropdownMenu.js +2 -2
  54. package/dist/DropdownMenu/DropdownMenuItem.js +2 -2
  55. package/dist/EmptyState/EmptyState.js +2 -2
  56. package/dist/Field/Field.js +3 -3
  57. package/dist/Field/FieldLabel.js +2 -2
  58. package/dist/FieldStatus/FieldStatus.js +2 -2
  59. package/dist/FileInput/FileInput.js +2 -2
  60. package/dist/FormLayout/FormLayout.js +2 -2
  61. package/dist/Grid/Grid.js +3 -3
  62. package/dist/Grid/GridSpan.js +2 -2
  63. package/dist/Heading/Heading.js +2 -2
  64. package/dist/HoverCard/useHoverCard.js +2 -2
  65. package/dist/Icon/Icon.js +3 -3
  66. package/dist/InputGroup/InputGroup.js +2 -2
  67. package/dist/InputGroup/InputGroupText.js +2 -2
  68. package/dist/Item/Item.js +2 -2
  69. package/dist/Kbd/Kbd.js +2 -2
  70. package/dist/Layer/useLayer.d.ts +2 -2
  71. package/dist/Layout/Layout.js +2 -2
  72. package/dist/Layout/LayoutContent.js +2 -2
  73. package/dist/Layout/LayoutFooter.js +2 -2
  74. package/dist/Layout/LayoutHeader.js +2 -2
  75. package/dist/Layout/LayoutPanel.js +2 -2
  76. package/dist/Lightbox/Lightbox.js +2 -2
  77. package/dist/Link/Link.js +3 -3
  78. package/dist/List/List.js +2 -2
  79. package/dist/List/ListItem.js +2 -2
  80. package/dist/Markdown/Markdown.js +3 -3
  81. package/dist/MetadataList/MetadataList.js +2 -2
  82. package/dist/MetadataList/MetadataListItem.js +3 -3
  83. package/dist/MobileNav/MobileNav.js +2 -2
  84. package/dist/MultiSelector/MultiSelector.js +2 -2
  85. package/dist/NavIcon/NavIcon.js +2 -2
  86. package/dist/NavMenu/NavHeadingMenu.js +2 -2
  87. package/dist/NavMenu/NavHeadingMenuItem.js +2 -2
  88. package/dist/NumberInput/NumberInput.js +2 -2
  89. package/dist/Outline/Outline.js +4 -4
  90. package/dist/OverflowList/OverflowList.js +2 -2
  91. package/dist/Overlay/Overlay.js +2 -2
  92. package/dist/Overlay/OverlayScrim.js +2 -2
  93. package/dist/Pagination/Pagination.js +3 -3
  94. package/dist/Popover/Popover.js +4 -4
  95. package/dist/PowerSearch/PowerSearch.js +2 -2
  96. package/dist/ProgressBar/ProgressBar.js +5 -5
  97. package/dist/RadioList/RadioList.js +2 -2
  98. package/dist/RadioList/RadioListItem.js +4 -4
  99. package/dist/Resizable/ResizeHandle.js +4 -4
  100. package/dist/Section/Section.js +2 -2
  101. package/dist/SegmentedControl/SegmentedControl.js +2 -2
  102. package/dist/SegmentedControl/SegmentedControlItem.js +2 -2
  103. package/dist/SelectableCard/SelectableCard.js +2 -2
  104. package/dist/Selector/Selector.js +2 -2
  105. package/dist/Selector/SelectorOption.js +2 -2
  106. package/dist/SideNav/SideNav.js +3 -3
  107. package/dist/SideNav/SideNavHeading.js +9 -9
  108. package/dist/SideNav/SideNavItem.js +3 -3
  109. package/dist/SideNav/SideNavSection.js +2 -2
  110. package/dist/Skeleton/Skeleton.js +2 -2
  111. package/dist/Slider/Slider.js +4 -4
  112. package/dist/Spinner/Spinner.js +3 -3
  113. package/dist/Stack/Stack.js +2 -2
  114. package/dist/Stack/StackItem.js +2 -2
  115. package/dist/StatusDot/StatusDot.js +2 -2
  116. package/dist/Switch/Switch.js +4 -4
  117. package/dist/TabList/Tab.js +3 -3
  118. package/dist/TabList/TabList.js +2 -2
  119. package/dist/TabList/TabMenu.js +5 -5
  120. package/dist/Table/BaseTable.js +2 -2
  121. package/dist/Table/Table.js +3 -3
  122. package/dist/Table/TableBody.js +2 -2
  123. package/dist/Table/TableCell.js +3 -3
  124. package/dist/Table/TableFooter.js +2 -2
  125. package/dist/Table/TableHeader.js +2 -2
  126. package/dist/Table/TableHeaderCell.js +3 -3
  127. package/dist/Table/TableRow.js +3 -3
  128. package/dist/Text/Text.js +2 -2
  129. package/dist/TextArea/TextArea.js +2 -2
  130. package/dist/TextInput/TextInput.js +2 -2
  131. package/dist/Thumbnail/Thumbnail.js +2 -2
  132. package/dist/TimeInput/TimeInput.js +2 -2
  133. package/dist/Timestamp/Timestamp.js +2 -2
  134. package/dist/Toast/Toast.js +2 -2
  135. package/dist/ToggleButton/ToggleButton.js +2 -2
  136. package/dist/ToggleButton/ToggleButtonGroup.js +2 -2
  137. package/dist/Token/Token.js +4 -4
  138. package/dist/Tokenizer/Tokenizer.js +3 -3
  139. package/dist/Toolbar/Toolbar.js +2 -2
  140. package/dist/Tooltip/useTooltip.js +2 -2
  141. package/dist/TopNav/TopNav.js +3 -3
  142. package/dist/TopNav/TopNavHeading.js +7 -7
  143. package/dist/TopNav/TopNavItem.js +3 -3
  144. package/dist/TopNav/TopNavMegaMenu.js +3 -3
  145. package/dist/TopNav/TopNavMegaMenuFeaturedCard.js +2 -2
  146. package/dist/TopNav/TopNavMegaMenuItem.js +3 -3
  147. package/dist/TopNav/TopNavMenu.js +2 -2
  148. package/dist/TreeList/TreeList.js +2 -2
  149. package/dist/TreeList/TreeListItem.js +2 -2
  150. package/dist/Typeahead/BaseTypeahead.js +2 -2
  151. package/dist/Typeahead/Typeahead.js +2 -2
  152. package/dist/Typeahead/TypeaheadItem.js +2 -2
  153. package/dist/docs-types.d.ts +3 -3
  154. package/dist/docs-types.d.ts.map +1 -1
  155. package/dist/naming.d.ts +1 -1
  156. package/dist/naming.js +1 -1
  157. package/dist/theme/Theme.js +1 -1
  158. package/dist/theme/defineTheme.d.ts +2 -2
  159. package/dist/theme/index.d.ts +1 -1
  160. package/dist/theme/index.js +1 -1
  161. package/dist/theme/syntax/defineSyntaxTheme.js +1 -1
  162. package/dist/utils/mergeProps.d.ts +3 -3
  163. package/dist/utils/mergeProps.js +4 -4
  164. package/dist/utils/parseStyleKey.d.ts +2 -2
  165. package/dist/utils/parseStyleKey.js +2 -2
  166. package/dist/utils/{xdsThemeProps.d.ts → themeProps.d.ts} +4 -4
  167. package/dist/utils/themeProps.d.ts.map +1 -0
  168. package/dist/utils/{xdsThemeProps.js → themeProps.js} +5 -5
  169. package/package.json +1 -1
  170. package/src/AlertDialog/AlertDialog.tsx +2 -2
  171. package/src/AppShell/AppShell.tsx +5 -5
  172. package/src/AspectRatio/AspectRatio.tsx +2 -2
  173. package/src/Avatar/Avatar.tsx +2 -2
  174. package/src/Avatar/AvatarStatusDot.tsx +2 -2
  175. package/src/AvatarGroup/AvatarGroup.tsx +2 -2
  176. package/src/AvatarGroup/AvatarGroupOverflow.tsx +3 -3
  177. package/src/Badge/Badge.tsx +2 -2
  178. package/src/Banner/Banner.tsx +6 -6
  179. package/src/Blockquote/Blockquote.tsx +2 -2
  180. package/src/Breadcrumbs/BreadcrumbItem.tsx +3 -3
  181. package/src/Breadcrumbs/Breadcrumbs.tsx +2 -2
  182. package/src/Button/Button.tsx +2 -2
  183. package/src/ButtonGroup/ButtonGroup.tsx +2 -2
  184. package/src/Calendar/Calendar.tsx +3 -3
  185. package/src/Card/Card.tsx +2 -2
  186. package/src/Carousel/Carousel.tsx +2 -2
  187. package/src/Center/Center.tsx +2 -2
  188. package/src/Chat/ChatComposer.tsx +2 -2
  189. package/src/Chat/ChatComposerDrawer.tsx +2 -2
  190. package/src/Chat/ChatComposerInput.tsx +2 -2
  191. package/src/Chat/ChatLayout.tsx +2 -2
  192. package/src/Chat/ChatMessage.tsx +2 -2
  193. package/src/Chat/ChatMessageBubble.tsx +2 -2
  194. package/src/Chat/ChatMessageList.tsx +2 -2
  195. package/src/Chat/ChatMessageMetadata.tsx +2 -2
  196. package/src/Chat/ChatSendButton.tsx +2 -2
  197. package/src/Chat/ChatSystemMessage.tsx +3 -3
  198. package/src/Chat/ChatTokenizedText.tsx +3 -3
  199. package/src/Chat/ChatToolCalls.tsx +3 -3
  200. package/src/Chat/useTriggerMenu.tsx +2 -2
  201. package/src/CheckboxInput/CheckboxInput.tsx +3 -3
  202. package/src/CheckboxList/CheckboxList.tsx +2 -2
  203. package/src/Citation/Citation.tsx +3 -3
  204. package/src/ClickableCard/ClickableCard.tsx +2 -2
  205. package/src/Code/Code.tsx +2 -2
  206. package/src/CodeBlock/CodeBlock.tsx +2 -2
  207. package/src/Collapsible/Collapsible.tsx +2 -2
  208. package/src/CommandPalette/CommandPaletteFooter.tsx +2 -2
  209. package/src/CommandPalette/CommandPaletteGroup.tsx +2 -2
  210. package/src/CommandPalette/CommandPaletteInput.tsx +2 -2
  211. package/src/CommandPalette/CommandPaletteItem.tsx +2 -2
  212. package/src/CommandPalette/CommandPaletteList.tsx +2 -2
  213. package/src/ContextMenu/ContextMenu.tsx +2 -2
  214. package/src/DateInput/DateInput.tsx +2 -2
  215. package/src/DateRangeInput/DateRangeInput.tsx +2 -2
  216. package/src/DateTimeInput/DateTimeInput.tsx +2 -2
  217. package/src/Dialog/Dialog.tsx +3 -3
  218. package/src/Divider/Divider.tsx +2 -2
  219. package/src/DropdownMenu/DropdownMenu.tsx +2 -2
  220. package/src/DropdownMenu/DropdownMenuItem.tsx +2 -2
  221. package/src/EmptyState/EmptyState.tsx +2 -2
  222. package/src/Field/Field.tsx +3 -3
  223. package/src/Field/FieldLabel.tsx +2 -2
  224. package/src/FieldStatus/FieldStatus.tsx +2 -2
  225. package/src/FileInput/FileInput.tsx +2 -2
  226. package/src/FormLayout/FormLayout.tsx +2 -2
  227. package/src/Grid/Grid.tsx +3 -3
  228. package/src/Grid/GridSpan.tsx +2 -2
  229. package/src/Heading/Heading.tsx +2 -2
  230. package/src/HoverCard/useHoverCard.tsx +2 -2
  231. package/src/Icon/Icon.tsx +3 -3
  232. package/src/InputGroup/InputGroup.tsx +2 -2
  233. package/src/InputGroup/InputGroupText.tsx +2 -2
  234. package/src/Item/Item.tsx +2 -2
  235. package/src/Kbd/Kbd.tsx +2 -2
  236. package/src/Layer/useLayer.tsx +2 -2
  237. package/src/Layout/Layout.tsx +2 -2
  238. package/src/Layout/LayoutContent.tsx +2 -2
  239. package/src/Layout/LayoutFooter.tsx +2 -2
  240. package/src/Layout/LayoutHeader.tsx +2 -2
  241. package/src/Layout/LayoutPanel.tsx +2 -2
  242. package/src/Lightbox/Lightbox.tsx +2 -2
  243. package/src/Link/Link.tsx +3 -3
  244. package/src/List/List.tsx +2 -2
  245. package/src/List/ListItem.tsx +2 -2
  246. package/src/Markdown/Markdown.tsx +3 -3
  247. package/src/MetadataList/MetadataList.tsx +2 -2
  248. package/src/MetadataList/MetadataListItem.tsx +3 -3
  249. package/src/MobileNav/MobileNav.tsx +2 -2
  250. package/src/MoreMenu/MoreMenu.doc.mjs +0 -13
  251. package/src/MultiSelector/MultiSelector.tsx +2 -2
  252. package/src/NavIcon/NavIcon.tsx +2 -2
  253. package/src/NavMenu/NavHeadingMenu.tsx +2 -2
  254. package/src/NavMenu/NavHeadingMenuItem.tsx +2 -2
  255. package/src/NumberInput/NumberInput.tsx +2 -2
  256. package/src/Outline/Outline.tsx +4 -4
  257. package/src/OverflowList/OverflowList.tsx +2 -2
  258. package/src/Overlay/Overlay.tsx +2 -2
  259. package/src/Overlay/OverlayScrim.tsx +2 -2
  260. package/src/Pagination/Pagination.tsx +3 -3
  261. package/src/Popover/Popover.tsx +4 -4
  262. package/src/PowerSearch/PowerSearch.tsx +2 -2
  263. package/src/ProgressBar/ProgressBar.tsx +5 -5
  264. package/src/RadioList/RadioList.tsx +2 -2
  265. package/src/RadioList/RadioListItem.tsx +4 -4
  266. package/src/Resizable/ResizeHandle.tsx +4 -4
  267. package/src/Section/Section.tsx +2 -2
  268. package/src/SegmentedControl/SegmentedControl.tsx +2 -2
  269. package/src/SegmentedControl/SegmentedControlItem.tsx +2 -2
  270. package/src/SelectableCard/SelectableCard.tsx +2 -2
  271. package/src/Selector/Selector.tsx +2 -2
  272. package/src/Selector/SelectorOption.tsx +2 -2
  273. package/src/SideNav/SideNav.tsx +3 -3
  274. package/src/SideNav/SideNavHeading.tsx +9 -9
  275. package/src/SideNav/SideNavItem.tsx +3 -3
  276. package/src/SideNav/SideNavSection.tsx +2 -2
  277. package/src/Skeleton/Skeleton.tsx +2 -2
  278. package/src/Slider/Slider.tsx +4 -4
  279. package/src/Spinner/Spinner.tsx +3 -3
  280. package/src/Stack/Stack.tsx +2 -2
  281. package/src/Stack/StackItem.tsx +2 -2
  282. package/src/StatusDot/StatusDot.tsx +2 -2
  283. package/src/Switch/Switch.tsx +4 -4
  284. package/src/TabList/Tab.tsx +3 -3
  285. package/src/TabList/TabList.tsx +2 -2
  286. package/src/TabList/TabMenu.tsx +5 -5
  287. package/src/Table/BaseTable.tsx +2 -2
  288. package/src/Table/Table.tsx +3 -3
  289. package/src/Table/TableBody.tsx +2 -2
  290. package/src/Table/TableCell.tsx +3 -3
  291. package/src/Table/TableFooter.tsx +2 -2
  292. package/src/Table/TableHeader.tsx +2 -2
  293. package/src/Table/TableHeaderCell.tsx +3 -3
  294. package/src/Table/TableRow.tsx +3 -3
  295. package/src/Text/Text.tsx +2 -2
  296. package/src/TextArea/TextArea.tsx +2 -2
  297. package/src/TextInput/TextInput.tsx +2 -2
  298. package/src/Thumbnail/Thumbnail.tsx +2 -2
  299. package/src/TimeInput/TimeInput.tsx +2 -2
  300. package/src/Timestamp/Timestamp.tsx +2 -2
  301. package/src/Toast/Toast.tsx +2 -2
  302. package/src/ToggleButton/ToggleButton.tsx +2 -2
  303. package/src/ToggleButton/ToggleButtonGroup.tsx +2 -2
  304. package/src/Token/Token.tsx +4 -4
  305. package/src/Tokenizer/Tokenizer.tsx +3 -3
  306. package/src/Toolbar/Toolbar.doc.mjs +8 -7
  307. package/src/Toolbar/Toolbar.tsx +2 -2
  308. package/src/Tooltip/useTooltip.tsx +2 -2
  309. package/src/TopNav/TopNav.tsx +3 -3
  310. package/src/TopNav/TopNavHeading.tsx +7 -7
  311. package/src/TopNav/TopNavItem.tsx +3 -3
  312. package/src/TopNav/TopNavMegaMenu.tsx +3 -3
  313. package/src/TopNav/TopNavMegaMenuFeaturedCard.tsx +2 -2
  314. package/src/TopNav/TopNavMegaMenuItem.tsx +3 -3
  315. package/src/TopNav/TopNavMenu.tsx +2 -2
  316. package/src/TreeList/TreeList.tsx +2 -2
  317. package/src/TreeList/TreeListItem.tsx +2 -2
  318. package/src/Typeahead/BaseTypeahead.tsx +2 -2
  319. package/src/Typeahead/Typeahead.tsx +2 -2
  320. package/src/Typeahead/TypeaheadItem.tsx +2 -2
  321. package/src/docs-types.ts +3 -3
  322. package/src/naming.ts +1 -1
  323. package/src/reset.css +1 -1
  324. package/src/tailwind-theme.css +1 -1
  325. package/src/theme/Theme.tsx +1 -1
  326. package/src/theme/defineTheme.ts +2 -2
  327. package/src/theme/index.ts +1 -1
  328. package/src/theme/syntax/defineSyntaxTheme.ts +1 -1
  329. package/src/utils/mergeProps.ts +4 -4
  330. package/src/utils/parseStyleKey.ts +2 -2
  331. package/src/utils/{xdsThemeProps.test.ts → themeProps.test.ts} +12 -12
  332. package/src/utils/{xdsThemeProps.ts → themeProps.ts} +5 -5
  333. package/dist/utils/xdsThemeProps.d.ts.map +0 -1
@@ -18,7 +18,7 @@ import * as stylex from '@stylexjs/stylex';
18
18
  import "../theme/tokens.stylex.js";
19
19
  import { colorVars, sizeVars } from "../theme/tokens.stylex.js";
20
20
  import { mergeProps } from "../utils/index.js";
21
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
21
+ import { themeProps } from "../utils/themeProps.js";
22
22
 
23
23
  /**
24
24
  * NavIcon styles
@@ -67,7 +67,7 @@ export function NavIcon({
67
67
  }) {
68
68
  return /*#__PURE__*/_jsx("span", {
69
69
  ref: ref,
70
- ...mergeProps(xdsThemeProps('navicon'), stylex.props(styles.base, xstyle), className, style),
70
+ ...mergeProps(themeProps('navicon'), stylex.props(styles.base, xstyle), className, style),
71
71
  ...props,
72
72
  children: icon
73
73
  });
@@ -17,7 +17,7 @@ import "../theme/tokens.stylex.js";
17
17
  import { spacingVars } from "../theme/tokens.stylex.js";
18
18
  import { mergeProps, mergeRefs } from "../utils/index.js";
19
19
  import { useListFocus } from "../hooks/useListFocus.js";
20
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
20
+ import { themeProps } from "../utils/themeProps.js";
21
21
  import { NavHeadingMenuContext, useNavHeadingCloseContext } from "./NavMenuContext.js";
22
22
  import { jsx as _jsx } from "react/jsx-runtime";
23
23
  const styles = {
@@ -98,7 +98,7 @@ export function NavHeadingMenu({
98
98
  role: "menu",
99
99
  onKeyDown: handleKeyDown,
100
100
  "data-testid": testId,
101
- ...mergeProps(xdsThemeProps('nav-heading-menu', {
101
+ ...mergeProps(themeProps('nav-heading-menu', {
102
102
  size
103
103
  }), stylex.props(styles.root, sizeStyles[size], xstyle), className, inlineStyle),
104
104
  children: children
@@ -20,7 +20,7 @@ import { colorVars, spacingVars, typographyVars, typeScaleVars, radiusVars } fro
20
20
  import { mergeProps } from "../utils/index.js";
21
21
  import { useNavHeadingMenuContext } from "./NavMenuContext.js";
22
22
  import { useLinkComponent } from "../Link/useLinkComponent.js";
23
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
23
+ import { themeProps } from "../utils/themeProps.js";
24
24
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
25
25
  const styles = {
26
26
  root: {
@@ -110,7 +110,7 @@ export function NavHeadingMenuItem({
110
110
  href: href,
111
111
  onClick: handleClick,
112
112
  "data-testid": testId,
113
- ...mergeProps(xdsThemeProps('nav-heading-menu-item', {
113
+ ...mergeProps(themeProps('nav-heading-menu-item', {
114
114
  size
115
115
  }), stylex.props(styles.root, sizeStyles[size], isDisabled && styles.disabled, xstyle), className, style),
116
116
  children: [icon && renderIconSlot(icon, {
@@ -49,7 +49,7 @@ import { groupStyles } from "../InputGroup/groupStyles.js";
49
49
  // Re-export shared types for convenience
50
50
 
51
51
  import { mergeProps, mergeRefs } from "../utils/index.js";
52
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
52
+ import { themeProps } from "../utils/themeProps.js";
53
53
 
54
54
  /**
55
55
  * Without `hasClear`, onChange only receives valid numbers.
@@ -258,7 +258,7 @@ export function NumberInput({
258
258
  ref: containerRef,
259
259
  onClick: handleWrapperClick,
260
260
  onMouseUp: handleWrapperMouseUp,
261
- ...mergeProps(xdsThemeProps('number-input', {
261
+ ...mergeProps(themeProps('number-input', {
262
262
  size,
263
263
  status: status?.type ?? null
264
264
  }), stylex.props(inputWrapperStyles.base, styles.wrapper, sizeStyles[size], isDisabled && inputWrapperStyles.disabled, status && inputStatusBorderStyles[status.type], status && inputStatusHoverShadowStyles[status.type], status && inputStatusFocusWithinStyles[status.type], inputGroup && groupStyles.inGroup, xstyle), className, style),
@@ -26,7 +26,7 @@ import { colorVars, durationVars, easeVars, radiusVars, spacingVars, typeScaleVa
26
26
  import { useLinkComponent } from "../Link/useLinkComponent.js";
27
27
  import { mergeProps, mergeRefs } from "../utils/index.js";
28
28
  import { useScrollSpy } from "./useScrollSpy.js";
29
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
29
+ import { themeProps } from "../utils/themeProps.js";
30
30
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
31
31
  // =============================================================================
32
32
  // Styles
@@ -186,7 +186,7 @@ export function Outline({
186
186
  ref: mergeRefs(rootRef, ref),
187
187
  "aria-label": label,
188
188
  "data-testid": testId,
189
- ...mergeProps(xdsThemeProps('outline', {
189
+ ...mergeProps(themeProps('outline', {
190
190
  density
191
191
  }), stylex.props(styles.root, xstyle), className, style),
192
192
  children: [/*#__PURE__*/_jsx("ul", {
@@ -205,7 +205,7 @@ export function Outline({
205
205
  href: `#${item.id}`,
206
206
  "aria-current": isActive ? 'true' : undefined,
207
207
  onClick: handleClick(item.id),
208
- ...mergeProps(xdsThemeProps('outline-item', {
208
+ ...mergeProps(themeProps('outline-item', {
209
209
  active: isActive ? 'active' : null,
210
210
  level: item.level
211
211
  }), stylex.props(styles.link, densityStyles[density], getIndentStyle(item.level), isActive && styles.activeLink, isActive && styles.activeAnchor)),
@@ -229,7 +229,7 @@ export function Outline({
229
229
  }
230
230
  })
231
231
  }), /*#__PURE__*/_jsx("span", {
232
- ...mergeProps(xdsThemeProps('outline-indicator'), {
232
+ ...mergeProps(themeProps('outline-indicator'), {
233
233
  className: "x10l6tqk x1o0tod xfo62xy xowkcby xjspbzw x47corl x1vjfegm x1tsffl5 x1ltwjim x1qjb5ga x1xuz8iz xkvfbh3 xlr8y92"
234
234
  }),
235
235
  "aria-hidden": "true"
@@ -22,7 +22,7 @@ import { mergeProps, mergeRefs } from "../utils/index.js";
22
22
  import { useOverflow } from "../hooks/useOverflow.js";
23
23
  import "../theme/tokens.stylex.js";
24
24
  import { spacingVars } from "../theme/tokens.stylex.js";
25
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
25
+ import { themeProps } from "../utils/themeProps.js";
26
26
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
27
27
  const styles = {
28
28
  container: {
@@ -192,7 +192,7 @@ export function OverflowList({
192
192
  })]
193
193
  }), /*#__PURE__*/_jsxs("div", {
194
194
  ref: mergeRefs(ref, containerRef),
195
- ...mergeProps(xdsThemeProps('overflow-list'), stylex.props(styles.container, gapStyles[gap], observeParent && hasOverflow && styles.fillParent, xstyle), className, style),
195
+ ...mergeProps(themeProps('overflow-list'), stylex.props(styles.container, gapStyles[gap], observeParent && hasOverflow && styles.fillParent, xstyle), className, style),
196
196
  ...props,
197
197
  children: [collapseFrom === 'start' && hasOverflow && overflowRenderer?.(overflowItems), visibleItems.map(({
198
198
  child
@@ -19,7 +19,7 @@ import { mergeProps, mergeRefs } from "../utils/index.js";
19
19
  import { useOverlay } from "./useOverlay.js";
20
20
  import { useIsomorphicLayoutEffect } from "../hooks/useIsomorphicLayoutEffect.js";
21
21
  import { overlayScope, overlayContainerStyles } from "./overlay.markers.stylex.js";
22
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
22
+ import { themeProps } from "../utils/themeProps.js";
23
23
  import { jsxs as _jsxs } from "react/jsx-runtime";
24
24
  /**
25
25
  * Overlay — renders content on top of media with a scrim background
@@ -81,7 +81,7 @@ export function Overlay({
81
81
  }, []);
82
82
  return /*#__PURE__*/_jsxs("div", {
83
83
  ref: mergeRefs(ref, overlay.containerRef),
84
- ...mergeProps(xdsThemeProps('overlay'), stylex.props(overlayScope, overlayContainerStyles.root, xstyle), className, style),
84
+ ...mergeProps(themeProps('overlay'), stylex.props(overlayScope, overlayContainerStyles.root, xstyle), className, style),
85
85
  onClick: overlay.containerProps.onClick,
86
86
  onMouseUp: overlay.containerProps.onMouseUp,
87
87
  children: [children, overlay.element]
@@ -18,7 +18,7 @@ import { MediaTheme } from "../theme/MediaTheme.js";
18
18
  import { mergeProps } from "../utils/index.js";
19
19
  import "./overlay.markers.stylex.js";
20
20
  import { overlayScope } from "./overlay.markers.stylex.js";
21
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
21
+ import { themeProps } from "../utils/themeProps.js";
22
22
 
23
23
  // =============================================================================
24
24
  // Types (re-exported from index.ts for consumers)
@@ -220,7 +220,7 @@ export function OverlayScrim({
220
220
  }) : children;
221
221
  const visibility = isControlled ? getControlledVisibility(isOpen, position) : getShowOnVisibility(showOn, position);
222
222
  return /*#__PURE__*/_jsx("div", {
223
- ...mergeProps(xdsThemeProps('overlay-scrim', {
223
+ ...mergeProps(themeProps('overlay-scrim', {
224
224
  position
225
225
  }), stylex.props(styles.base, positionMap[position], alignMap[align], scrim === 'dark' && styles.scrimDark, scrim === 'light' && styles.scrimLight, visibility.base, visibility.bottom, visibility.top)),
226
226
  inert: isControlled && !isOpen ? true : undefined,
@@ -27,7 +27,7 @@ import { Icon } from "../Icon/index.js";
27
27
  import { Selector } from "../Selector/index.js";
28
28
  import { Text } from "../Text/index.js";
29
29
  import { mergeProps } from "../utils/index.js";
30
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
30
+ import { themeProps } from "../utils/themeProps.js";
31
31
 
32
32
  // =============================================================================
33
33
  // Types
@@ -319,7 +319,7 @@ export function Pagination({
319
319
  "aria-current": i + 1 === page ? 'page' : undefined,
320
320
  onClick: () => handlePageChange(i + 1),
321
321
  disabled: isDisabled,
322
- ...mergeProps(xdsThemeProps('pagination-dot', {
322
+ ...mergeProps(themeProps('pagination-dot', {
323
323
  active: i + 1 === page ? 'active' : null,
324
324
  size
325
325
  }), {
@@ -360,7 +360,7 @@ export function Pagination({
360
360
  ref: ref,
361
361
  "aria-label": label,
362
362
  "data-testid": testId,
363
- ...mergeProps(xdsThemeProps('pagination', {
363
+ ...mergeProps(themeProps('pagination', {
364
364
  variant,
365
365
  size
366
366
  }), stylex.props(styles.root, xstyle), className, style),
@@ -25,7 +25,7 @@ import { layerAnimations } from "../Layer/layerAnimations.stylex.js";
25
25
  import "../theme/tokens.stylex.js";
26
26
  import { spacingVars } from "../theme/tokens.stylex.js";
27
27
  import { InteractiveRoleContext } from "../InteractiveRoleContext/InteractiveRoleContext.js";
28
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
28
+ import { themeProps } from "../utils/themeProps.js";
29
29
 
30
30
  // =============================================================================
31
31
  // Helpers
@@ -296,7 +296,7 @@ export function Popover({
296
296
  return /*#__PURE__*/_jsx(_Fragment, {
297
297
  children: popover.render(/*#__PURE__*/_jsx("div", {
298
298
  "data-testid": testId,
299
- ...mergeProps(xdsThemeProps('popover'), stylex.props(styles.contentPadding, xstyle), className, style),
299
+ ...mergeProps(themeProps('popover'), stylex.props(styles.contentPadding, xstyle), className, style),
300
300
  children: content
301
301
  }), {
302
302
  placement,
@@ -319,7 +319,7 @@ export function Popover({
319
319
  return /*#__PURE__*/_jsxs(_Fragment, {
320
320
  children: [children(triggerProps), popover.render(/*#__PURE__*/_jsx("div", {
321
321
  "data-testid": testId,
322
- ...mergeProps(xdsThemeProps('popover'), stylex.props(styles.contentPadding, xstyle), className, style),
322
+ ...mergeProps(themeProps('popover'), stylex.props(styles.contentPadding, xstyle), className, style),
323
323
  children: content
324
324
  }), {
325
325
  placement,
@@ -342,7 +342,7 @@ export function Popover({
342
342
  })
343
343
  }), popover.render(/*#__PURE__*/_jsx("div", {
344
344
  "data-testid": testId,
345
- ...mergeProps(xdsThemeProps('popover'), stylex.props(styles.contentPadding, xstyle), className, style),
345
+ ...mergeProps(themeProps('popover'), stylex.props(styles.contentPadding, xstyle), className, style),
346
346
  children: content
347
347
  }), {
348
348
  placement,
@@ -30,7 +30,7 @@ import { useInternalConfig } from "./useInternalConfig.js";
30
30
  import { usePowerSearchSource } from "./usePowerSearchSource.js";
31
31
  import { formatFilterValue } from "./formatFilterValue.js";
32
32
  import { PowerSearchEditPopover } from "./PowerSearchEditPopover.js";
33
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
33
+ import { themeProps } from "../utils/themeProps.js";
34
34
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
35
35
  // =============================================================================
36
36
  // Icon mapping for typeahead entries
@@ -724,7 +724,7 @@ export function PowerSearch({
724
724
  return /*#__PURE__*/_jsxs(_Fragment, {
725
725
  children: [/*#__PURE__*/_jsx("div", {
726
726
  ref: mergeRefs(ref, popover.triggerRef),
727
- ...xdsThemeProps('power-search'),
727
+ ...themeProps('power-search'),
728
728
  children: /*#__PURE__*/_jsx(Tokenizer, {
729
729
  handleRef: tokenizerRef,
730
730
  label: label,
@@ -20,7 +20,7 @@ import * as stylex from '@stylexjs/stylex';
20
20
  import "../theme/tokens.stylex.js";
21
21
  import { colorVars, spacingVars, radiusVars, fontWeightVars, durationVars, easeVars, typeScaleVars } from "../theme/tokens.stylex.js";
22
22
  import { mergeProps } from "../utils/index.js";
23
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
23
+ import { themeProps } from "../utils/themeProps.js";
24
24
 
25
25
  /**
26
26
  * Extensible variant map for ProgressBar.
@@ -157,7 +157,7 @@ export function ProgressBar({
157
157
  const fillVariant = isDisabled ? 'disabled' : variant;
158
158
  return /*#__PURE__*/_jsxs("div", {
159
159
  ref: ref,
160
- ...mergeProps(xdsThemeProps('progressbar', {
160
+ ...mergeProps(themeProps('progressbar', {
161
161
  variant
162
162
  }), stylex.props(styles.container, xstyle), className, style),
163
163
  "data-testid": dataTestId,
@@ -207,15 +207,15 @@ export function ProgressBar({
207
207
  "aria-valuemax": isIndeterminate ? undefined : max,
208
208
  "aria-labelledby": labelId,
209
209
  "aria-valuetext": isIndeterminate ? undefined : valueText,
210
- ...mergeProps(xdsThemeProps('progressbar-track'), {
210
+ ...mergeProps(themeProps('progressbar-track'), {
211
211
  className: "xh8yej3 xdk7pt xwmxj5m xjspbzw xb3r6kr"
212
212
  }),
213
213
  children: isIndeterminate ? /*#__PURE__*/_jsx("div", {
214
- ...mergeProps(xdsThemeProps('progressbar-fill', {
214
+ ...mergeProps(themeProps('progressbar-fill', {
215
215
  variant: fillVariant
216
216
  }), stylex.props(styles.indeterminateFill, variantStyles[fillVariant]))
217
217
  }) : /*#__PURE__*/_jsx("div", {
218
- ...mergeProps(xdsThemeProps('progressbar-fill', {
218
+ ...mergeProps(themeProps('progressbar-fill', {
219
219
  variant: fillVariant
220
220
  }), stylex.props(styles.fill, variantStyles[fillVariant])),
221
221
  style: {
@@ -21,7 +21,7 @@ import "../theme/tokens.stylex.js";
21
21
  import { spacingVars } from "../theme/tokens.stylex.js";
22
22
  import { Field } from "../Field/Field.js";
23
23
  import { mergeProps } from "../utils/index.js";
24
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
24
+ import { themeProps } from "../utils/themeProps.js";
25
25
 
26
26
  /**
27
27
  * Size of the radio controls, matching CheckboxInput sizes.
@@ -106,7 +106,7 @@ export function RadioList({
106
106
  "aria-describedby": [description ? descriptionID : null, status?.message ? statusMessageID : null].filter(Boolean).join(' ') || undefined,
107
107
  "aria-invalid": status?.type === 'error' ? true : undefined,
108
108
  "aria-required": isRequired || undefined,
109
- ...mergeProps(xdsThemeProps('radio-list', {
109
+ ...mergeProps(themeProps('radio-list', {
110
110
  orientation,
111
111
  size
112
112
  }), {
@@ -26,7 +26,7 @@ import { mergeProps } from "../utils/index.js";
26
26
  import "./radio.markers.stylex.js";
27
27
  import { radioScope } from "./radio.markers.stylex.js";
28
28
  import { Item } from "../Item/index.js";
29
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
29
+ import { themeProps } from "../utils/themeProps.js";
30
30
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
31
31
  const styles = {
32
32
  container: {
@@ -194,13 +194,13 @@ export function RadioListItem({
194
194
  ...stylex.props(styles.input, wrapperSizeStyles[size], isDisabled && styles.inputDisabled)
195
195
  }), /*#__PURE__*/_jsx("div", {
196
196
  "aria-hidden": "true",
197
- ...mergeProps(xdsThemeProps('radio', {
197
+ ...mergeProps(themeProps('radio', {
198
198
  size,
199
199
  checked: isChecked ? 'checked' : null,
200
200
  disabled: isDisabled ? 'disabled' : null
201
201
  }), stylex.props(styles.radio, radioSizeStyles[size], isChecked ? styles.radioChecked : styles.radioUnchecked, isDisabled && styles.radioDisabled, isDisabled && !isChecked && styles.radioDisabledUnchecked)),
202
202
  children: isChecked && /*#__PURE__*/_jsx("div", {
203
- ...mergeProps(xdsThemeProps('radio-dot', {
203
+ ...mergeProps(themeProps('radio-dot', {
204
204
  size
205
205
  }), stylex.props(styles.innerDot, dotSizeStyles[size]))
206
206
  })
@@ -212,7 +212,7 @@ export function RadioListItem({
212
212
  return /*#__PURE__*/_jsx("div", {
213
213
  ref: ref,
214
214
  "data-testid": dataTestId,
215
- ...mergeProps(xdsThemeProps('radio-list-item'), stylex.props(styles.container, !isDisabled && radioScope)),
215
+ ...mergeProps(themeProps('radio-list-item'), stylex.props(styles.container, !isDisabled && radioScope)),
216
216
  children: /*#__PURE__*/_jsx(Item, {
217
217
  startContent: mediaContent,
218
218
  label: /*#__PURE__*/_jsx("label", {
@@ -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
  import { useCallback, useEffect, useRef, useState } from 'react';
@@ -23,7 +23,7 @@ import * as stylex from '@stylexjs/stylex';
23
23
  import "../theme/tokens.stylex.js";
24
24
  import { colorVars, durationVars, easeVars, radiusVars, spacingVars } from "../theme/tokens.stylex.js";
25
25
  import { mergeProps, mergeRefs } from "../utils/index.js";
26
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
26
+ import { themeProps } from "../utils/themeProps.js";
27
27
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
28
28
  const KEYBOARD_STEP = 10;
29
29
  const KEYBOARD_LARGE_STEP = 50;
@@ -403,7 +403,7 @@ export function ResizeHandle({
403
403
  onFocus: () => setIsFocused(true),
404
404
  onBlur: () => setIsFocused(false),
405
405
  "data-resizing": isDragging || undefined,
406
- ...mergeProps(xdsThemeProps('resize-handle'), stylex.props(styles.handle, isOverlay && styles.overlay, isOverlay && (isHorizontal ? styles.overlayHorizontal : styles.overlayVertical), !isOverlay && (isHorizontal ? styles.horizontal : styles.vertical), !isOverlay && !hasDivider && (isHorizontal ? styles.noDividerHorizontal : styles.noDividerVertical), !isOverlay && hasDivider && isInteracting && !isDragging && styles.handleHover, !isOverlay && hasDivider && isDragging && styles.handleActive, isDisabled && styles.disabled, xstyle), className),
406
+ ...mergeProps(themeProps('resize-handle'), stylex.props(styles.handle, isOverlay && styles.overlay, isOverlay && (isHorizontal ? styles.overlayHorizontal : styles.overlayVertical), !isOverlay && (isHorizontal ? styles.horizontal : styles.vertical), !isOverlay && !hasDivider && (isHorizontal ? styles.noDividerHorizontal : styles.noDividerVertical), !isOverlay && hasDivider && isInteracting && !isDragging && styles.handleHover, !isOverlay && hasDivider && isDragging && styles.handleActive, isDisabled && styles.disabled, xstyle), className),
407
407
  ...props,
408
408
  children: [/*#__PURE__*/_jsx("div", {
409
409
  ...stylex.props(styles.hitArea, isHorizontal ? styles.hitAreaHorizontal : styles.hitAreaVertical, isHorizontal ? dynamicStyles.hitAreaBiasX(hitAreaBias(effectiveSide)) : dynamicStyles.hitAreaBiasY(hitAreaBias(effectiveSide)), isDisabled && styles.disabled),
@@ -416,7 +416,7 @@ export function ResizeHandle({
416
416
  },
417
417
  onKeyDown: handleKeyDown
418
418
  }), children ?? /*#__PURE__*/_jsx("div", {
419
- ...mergeProps(xdsThemeProps('resize-handle-pill'), stylex.props(styles.pill, isHorizontal ? styles.pillHorizontal : styles.pillVertical, effectiveSide !== 'center' && (isHorizontal ? dynamicStyles.pillOffsetX(effectiveSide === 'start' ? -1 : 1) : dynamicStyles.pillOffsetY(effectiveSide === 'start' ? -1 : 1)), isAlwaysVisible ? styles.pillVisible : styles.pillHidden, isInteracting && !isDragging && styles.pillHover, isDragging && styles.pillActive))
419
+ ...mergeProps(themeProps('resize-handle-pill'), stylex.props(styles.pill, isHorizontal ? styles.pillHorizontal : styles.pillVertical, effectiveSide !== 'center' && (isHorizontal ? dynamicStyles.pillOffsetX(effectiveSide === 'start' ? -1 : 1) : dynamicStyles.pillOffsetY(effectiveSide === 'start' ? -1 : 1)), isAlwaysVisible ? styles.pillVisible : styles.pillHidden, isInteracting && !isDragging && styles.pillHover, isDragging && styles.pillActive))
420
420
  })]
421
421
  });
422
422
  }
@@ -20,7 +20,7 @@ import { colorVars } from "../theme/tokens.stylex.js";
20
20
  import { container } from "../Layout/container.stylex.js";
21
21
  import { paddingStyles, paddingBlockStyles, containerPaddingInlineVarStyles, containerPaddingBlockStartVarStyles, containerPaddingBlockEndVarStyles, sectionPaddingPropagationStyles, spacingStepToToken } from "../Layout/padding.stylex.js";
22
22
  import { mergeProps } from "../utils/index.js";
23
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
23
+ import { themeProps } from "../utils/themeProps.js";
24
24
 
25
25
  /**
26
26
  * Extensible variant map for Section.
@@ -166,7 +166,7 @@ export function Section({
166
166
  } : style || outerStylex.style,
167
167
  ...props,
168
168
  children: /*#__PURE__*/_jsx("div", {
169
- ...mergeProps(xdsThemeProps('section', {
169
+ ...mergeProps(themeProps('section', {
170
170
  variant
171
171
  }), stylex.props(nestedStyles.inner, ...container(useThemeDefault ? {
172
172
  useThemeDefault: 'section'
@@ -21,7 +21,7 @@ import { colorVars, spacingVars, radiusVars } from "../theme/tokens.stylex.js";
21
21
  import { SegmentedControlContext } from "./SegmentedControlContext.js";
22
22
  import { mergeProps, mergeRefs } from "../utils/index.js";
23
23
  import { useSize } from "../SizeContext/SizeContext.js";
24
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
24
+ import { themeProps } from "../utils/themeProps.js";
25
25
  import { jsx as _jsx } from "react/jsx-runtime";
26
26
  // =============================================================================
27
27
  // Styles
@@ -147,7 +147,7 @@ export function SegmentedControl({
147
147
  "aria-label": label,
148
148
  "aria-disabled": isDisabled || undefined,
149
149
  onKeyDown: handleKeyDown,
150
- ...mergeProps(xdsThemeProps('segmented-control', {
150
+ ...mergeProps(themeProps('segmented-control', {
151
151
  size
152
152
  }), stylex.props(styles.container, sizeStyles[size], layout === 'fill' && styles.fill, isDisabled && styles.disabled, xstyle), className, style),
153
153
  children: children
@@ -20,7 +20,7 @@ import "../theme/tokens.stylex.js";
20
20
  import { colorVars, spacingVars, sizeVars, durationVars, easeVars, fontWeightVars, shadowVars, typeScaleVars } from "../theme/tokens.stylex.js";
21
21
  import { useSegmentedControlContext } from "./SegmentedControlContext.js";
22
22
  import { mergeProps } from "../utils/index.js";
23
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
23
+ import { themeProps } from "../utils/themeProps.js";
24
24
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
25
25
  // =============================================================================
26
26
  // Styles
@@ -160,7 +160,7 @@ export function SegmentedControlItem({
160
160
  "data-value": value,
161
161
  tabIndex: isSelected ? 0 : -1,
162
162
  onClick: handleClick,
163
- ...mergeProps(xdsThemeProps('segmented-control-item', {
163
+ ...mergeProps(themeProps('segmented-control-item', {
164
164
  size,
165
165
  selected: isSelected ? 'selected' : null,
166
166
  disabled: isItemDisabled ? 'disabled' : null
@@ -32,7 +32,7 @@ import { colorVars, durationVars, easeVars } from "../theme/tokens.stylex.js";
32
32
  import { mergeProps, mergeRefs } from "../utils/index.js";
33
33
  import { Card } from "../Card/Card.js";
34
34
  import { useClickableContainer } from "../hooks/useClickableContainer.js";
35
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
35
+ import { themeProps } from "../utils/themeProps.js";
36
36
 
37
37
  // =============================================================================
38
38
  // Styles — selection + interaction; Card handles the rest
@@ -244,7 +244,7 @@ export function SelectableCard({
244
244
  maxWidth: maxWidth,
245
245
  padding: padding,
246
246
  variant: variant,
247
- ...mergeProps(xdsThemeProps('selectable-card', {
247
+ ...mergeProps(themeProps('selectable-card', {
248
248
  variant,
249
249
  selected: isSelected ? 'true' : 'false'
250
250
  }), {
@@ -28,7 +28,7 @@ import { useCombobox, useSelectedItemOffset } from "./hooks.js";
28
28
  import { SelectorOption } from "./SelectorOption.js";
29
29
  import { mergeProps } from "../utils/index.js";
30
30
  import { useSize } from "../SizeContext/SizeContext.js";
31
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
31
+ import { themeProps } from "../utils/themeProps.js";
32
32
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
33
33
  const styles = {
34
34
  triggerContainer: {
@@ -461,7 +461,7 @@ export function Selector(props) {
461
461
  },
462
462
  onClick: onTriggerClick,
463
463
  "data-testid": testId,
464
- ...mergeProps(xdsThemeProps('selector', {
464
+ ...mergeProps(themeProps('selector', {
465
465
  size,
466
466
  status: status?.type ?? null
467
467
  }), stylex.props(inputWrapperStyles.base, styles.triggerContainer, sizeStyles[size], isDisabled && inputWrapperStyles.disabled, !selectedItem && styles.triggerPlaceholder, status && inputStatusBorderStyles[status.type], status && inputStatusHoverShadowStyles[status.type], xstyle), className, style),
@@ -12,7 +12,7 @@ import * as stylex from '@stylexjs/stylex';
12
12
  import { renderIconSlot } from "../Icon/index.js";
13
13
  import { Item } from "../Item/index.js";
14
14
  import { mergeProps } from "../utils/index.js";
15
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
15
+ import { themeProps } from "../utils/themeProps.js";
16
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
17
  const embeddedStyles = {
18
18
  root: {
@@ -63,7 +63,7 @@ export function SelectorOption({
63
63
  description: description,
64
64
  endContent: endContent,
65
65
  xstyle: [embeddedStyles.root, xstyle],
66
- ...mergeProps(xdsThemeProps('selector-option'), {
66
+ ...mergeProps(themeProps('selector-option'), {
67
67
  className,
68
68
  style
69
69
  })
@@ -31,7 +31,7 @@ import { useSideNavRenderMode } from "./SideNavRenderContext.js";
31
31
  import { MobileNav } from "../MobileNav/MobileNav.js";
32
32
  import { useResizable } from "../Resizable/useResizable.js";
33
33
  import { ResizeHandle } from "../Resizable/ResizeHandle.js";
34
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
34
+ import { themeProps } from "../utils/themeProps.js";
35
35
 
36
36
  // =============================================================================
37
37
  // Constants
@@ -195,7 +195,7 @@ export function SideNav({
195
195
  if (renderMode === 'topbar') {
196
196
  return /*#__PURE__*/_jsxs("div", {
197
197
  "data-testid": testId,
198
- ...mergeProps(xdsThemeProps('side-nav', {
198
+ ...mergeProps(themeProps('side-nav', {
199
199
  mode: 'topbar'
200
200
  }), stylex.props(styles.topbar, xstyle), className, style),
201
201
  children: [header, /*#__PURE__*/_jsx("div", {
@@ -265,7 +265,7 @@ export function SideNav({
265
265
  role: "navigation",
266
266
  "aria-label": "Side navigation",
267
267
  "data-testid": testId,
268
- ...mergeProps(xdsThemeProps('side-nav'), stylex.props(styles.root, collapsed && styles.rootCollapsed, xstyle), className, resizableNavStyle),
268
+ ...mergeProps(themeProps('side-nav'), stylex.props(styles.root, collapsed && styles.rootCollapsed, xstyle), className, resizableNavStyle),
269
269
  ...props,
270
270
  children: [hasStickyTop && /*#__PURE__*/_jsxs("div", {
271
271
  ...{
@@ -35,7 +35,7 @@ import { useLinkComponent } from "../Link/useLinkComponent.js";
35
35
  import { mergeProps, mergeRefs } from "../utils/index.js";
36
36
  import { useMenuHover } from "../hooks/useMenuHover.js";
37
37
  import { NavHeadingCloseContext } from "../NavMenu/NavMenuContext.js";
38
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
38
+ import { themeProps } from "../utils/themeProps.js";
39
39
 
40
40
  // =============================================================================
41
41
  // Styles
@@ -190,7 +190,7 @@ export function SideNavHeading({
190
190
  href: headingHref,
191
191
  "aria-label": heading,
192
192
  "data-testid": testId,
193
- ...mergeProps(xdsThemeProps('side-nav-heading'), stylex.props(navItemStyles.item, styles.rootCollapsed, xstyle), className, style),
193
+ ...mergeProps(themeProps('side-nav-heading'), stylex.props(navItemStyles.item, styles.rootCollapsed, xstyle), className, style),
194
194
  children: collapsedIcon
195
195
  });
196
196
  } else if (menu) {
@@ -202,7 +202,7 @@ export function SideNavHeading({
202
202
  "data-testid": testId,
203
203
  ...popover.triggerProps,
204
204
  ...triggerProps,
205
- ...mergeProps(xdsThemeProps('side-nav-heading'), stylex.props(navItemStyles.item, styles.rootCollapsed, styles.menuTrigger, xstyle), className, style),
205
+ ...mergeProps(themeProps('side-nav-heading'), stylex.props(navItemStyles.item, styles.rootCollapsed, styles.menuTrigger, xstyle), className, style),
206
206
  children: collapsedIcon
207
207
  }), popover.render(/*#__PURE__*/_jsxs("div", {
208
208
  ref: menuRef,
@@ -272,7 +272,7 @@ export function SideNavHeading({
272
272
  collapsedElement = /*#__PURE__*/_jsx("div", {
273
273
  ref: collapsedSetRef,
274
274
  "data-testid": testId,
275
- ...mergeProps(xdsThemeProps('side-nav-heading'), stylex.props(styles.root, styles.rootCollapsed, xstyle), className, style),
275
+ ...mergeProps(themeProps('side-nav-heading'), stylex.props(styles.root, styles.rootCollapsed, xstyle), className, style),
276
276
  ...props,
277
277
  children: collapsedIcon
278
278
  });
@@ -376,7 +376,7 @@ export function SideNavHeading({
376
376
  ref: ref,
377
377
  href: headingHref,
378
378
  "data-testid": testId,
379
- ...mergeProps(xdsThemeProps('side-nav-heading'), stylex.props(styles.root, styles.menuTrigger, xstyle), className, style),
379
+ ...mergeProps(themeProps('side-nav-heading'), stylex.props(styles.root, styles.menuTrigger, xstyle), className, style),
380
380
  ...props,
381
381
  children: [icon && /*#__PURE__*/_jsx("span", {
382
382
  ...{
@@ -394,7 +394,7 @@ export function SideNavHeading({
394
394
  ref: setRef,
395
395
  "data-testid": testId,
396
396
  ...triggerProps,
397
- ...mergeProps(xdsThemeProps('side-nav-heading'), stylex.props(styles.root, styles.menuTrigger, xstyle), className, style),
397
+ ...mergeProps(themeProps('side-nav-heading'), stylex.props(styles.root, styles.menuTrigger, xstyle), className, style),
398
398
  children: [icon && /*#__PURE__*/_jsx("span", {
399
399
  ...{
400
400
  className: "x2lah0s x78zum5 x6s0dn4 xl56j7k"
@@ -438,7 +438,7 @@ export function SideNavHeading({
438
438
  ref: setRef,
439
439
  "data-testid": testId,
440
440
  ...triggerProps,
441
- ...mergeProps(xdsThemeProps('side-nav-heading'), stylex.props(styles.root, xstyle), className, style),
441
+ ...mergeProps(themeProps('side-nav-heading'), stylex.props(styles.root, xstyle), className, style),
442
442
  children: [icon && (headingHref ? /*#__PURE__*/_jsx(LinkComponent, {
443
443
  href: headingHref,
444
444
  ...{
@@ -484,7 +484,7 @@ export function SideNavHeading({
484
484
  return /*#__PURE__*/_jsxs("div", {
485
485
  ref: ref,
486
486
  "data-testid": testId,
487
- ...mergeProps(xdsThemeProps('side-nav-heading'), stylex.props(styles.root, xstyle), className, style),
487
+ ...mergeProps(themeProps('side-nav-heading'), stylex.props(styles.root, xstyle), className, style),
488
488
  ...props,
489
489
  children: [icon && (headingHref ? /*#__PURE__*/_jsx(LinkComponent, {
490
490
  href: headingHref,
@@ -545,7 +545,7 @@ export function SideNavHeading({
545
545
  return /*#__PURE__*/_jsxs("div", {
546
546
  ref: ref,
547
547
  "data-testid": testId,
548
- ...mergeProps(xdsThemeProps('side-nav-heading'), stylex.props(styles.root, xstyle), className, style),
548
+ ...mergeProps(themeProps('side-nav-heading'), stylex.props(styles.root, xstyle), className, style),
549
549
  ...props,
550
550
  children: [icon && /*#__PURE__*/_jsx("span", {
551
551
  ...{
@@ -31,7 +31,7 @@ import { useSideNavCollapse, SideNavCollapseContext } from "./SideNavCollapseCon
31
31
  import { getIcon } from "../Icon/globalIconRegistry.js";
32
32
  import { useSideNavRenderMode } from "./SideNavRenderContext.js";
33
33
  import { useAppShellMobile } from "../AppShell/AppShellMobileContext.js";
34
- import { xdsThemeProps } from "../utils/xdsThemeProps.js";
34
+ import { themeProps } from "../utils/themeProps.js";
35
35
 
36
36
  // =============================================================================
37
37
  // Styles
@@ -254,7 +254,7 @@ export function SideNavItem({
254
254
  });
255
255
 
256
256
  // Shared collapsed item styles — used by trigger, link, and button
257
- const collapsedItemStyles = mergeProps(xdsThemeProps('side-nav-item', {
257
+ const collapsedItemStyles = mergeProps(themeProps('side-nav-item', {
258
258
  size,
259
259
  selected: isSelected ? 'selected' : null
260
260
  }), stylex.props(navItemStyles.item, navItemStyles[size], styles.itemCollapsed, size === 'sm' && styles.itemCollapsedSm, size === 'lg' && styles.itemCollapsedLg, isSelected && navItemStyles.selected, isDisabled && navItemStyles.disabled));
@@ -354,7 +354,7 @@ export function SideNavItem({
354
354
  children: getIcon('chevronDown')
355
355
  })]
356
356
  });
357
- const navItemStyleProps = mergeProps(xdsThemeProps('side-nav-item', {
357
+ const navItemStyleProps = mergeProps(themeProps('side-nav-item', {
358
358
  size,
359
359
  selected: isSelected ? 'selected' : null
360
360
  }), stylex.props(navItemStyles.item, navItemStyles[size], isSelected && navItemStyles.selected, isDisabled && navItemStyles.disabled));