@primer/react 0.0.0-20260915185318 → 0.0.0-20261105032827

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 (249) hide show
  1. package/CHANGELOG.md +124 -4
  2. package/dist/ActionBar/ActionBar.js +502 -169
  3. package/dist/ActionBar/index.d.ts +2 -2
  4. package/dist/ActionList/{ActionList-1ff5220c.css → ActionList-64885d7a.css} +2 -2
  5. package/dist/ActionList/ActionList-64885d7a.css.map +1 -0
  6. package/dist/ActionList/ActionList.module.css.js +1 -1
  7. package/dist/ActionList/Description.js +3 -3
  8. package/dist/ActionList/Divider.js +1 -1
  9. package/dist/ActionList/Group.js +16 -17
  10. package/dist/ActionList/GroupHeadingTrailingAction.js +1 -10
  11. package/dist/ActionList/Heading.js +1 -1
  12. package/dist/ActionList/Item.js +123 -122
  13. package/dist/ActionList/LinkItem.js +4 -4
  14. package/dist/ActionList/List.js +2 -2
  15. package/dist/ActionList/Selection.js +6 -6
  16. package/dist/ActionList/TrailingAction.js +3 -3
  17. package/dist/ActionList/Visuals.js +9 -9
  18. package/dist/ActionList/index.d.ts +5 -18
  19. package/dist/ActionList/shared.d.ts +1 -1
  20. package/dist/ActionMenu/ActionMenu.js +20 -19
  21. package/dist/AnchoredOverlay/AnchoredOverlay.js +4 -4
  22. package/dist/Autocomplete/Autocomplete.js +3 -3
  23. package/dist/Autocomplete/AutocompleteInput.js +1 -1
  24. package/dist/Autocomplete/AutocompleteMenu.js +111 -106
  25. package/dist/Autocomplete/AutocompleteOverlay.js +2 -2
  26. package/dist/Avatar/Avatar.js +1 -1
  27. package/dist/AvatarStack/{AvatarStack-e6a99916.css → AvatarStack-937ec7c1.css} +2 -2
  28. package/dist/AvatarStack/{AvatarStack-e6a99916.css.map → AvatarStack-937ec7c1.css.map} +1 -1
  29. package/dist/AvatarStack/AvatarStack.js +3 -3
  30. package/dist/AvatarStack/AvatarStack.module.css.js +1 -1
  31. package/dist/Banner/Banner.js +24 -26
  32. package/dist/BaseStyles.js +1 -1
  33. package/dist/Blankslate/Blankslate.js +10 -11
  34. package/dist/BranchName/BranchName.d.ts +1 -1
  35. package/dist/BranchName/BranchName.js +1 -1
  36. package/dist/Breadcrumbs/Breadcrumbs.d.ts +2 -2
  37. package/dist/Breadcrumbs/Breadcrumbs.js +20 -29
  38. package/dist/Button/Button.js +1 -1
  39. package/dist/Button/ButtonBase-c8dab214.css +2 -0
  40. package/dist/Button/ButtonBase-c8dab214.css.map +1 -0
  41. package/dist/Button/ButtonBase.js +14 -10
  42. package/dist/Button/ButtonBase.module.css.js +1 -1
  43. package/dist/Button/IconButton.js +6 -7
  44. package/dist/Button/LinkButton.js +1 -1
  45. package/dist/Button/types.d.ts +2 -2
  46. package/dist/ButtonGroup/ButtonGroup.js +2 -3
  47. package/dist/Card/Card.js +17 -18
  48. package/dist/Card/index.d.ts +1 -1
  49. package/dist/Checkbox/Checkbox.js +145 -41
  50. package/dist/CheckboxGroup/CheckboxGroup.js +2 -2
  51. package/dist/CircleBadge/CircleBadge.js +2 -2
  52. package/dist/ConfirmationDialog/ConfirmationDialog.js +1 -5
  53. package/dist/CounterLabel/CounterLabel.js +80 -18
  54. package/dist/DataTable/DataTable.d.ts +76 -22
  55. package/dist/DataTable/DataTable.js +239 -73
  56. package/dist/DataTable/ErrorDialog.js +1 -1
  57. package/dist/DataTable/Pagination.js +23 -23
  58. package/dist/DataTable/Table-7f0e985b.css +2 -0
  59. package/dist/DataTable/Table-7f0e985b.css.map +1 -0
  60. package/dist/DataTable/Table.d.ts +77 -1
  61. package/dist/DataTable/Table.js +269 -55
  62. package/dist/DataTable/Table.module.css.js +8 -5
  63. package/dist/DataTable/TableBulkActions-aca5618a.css +2 -0
  64. package/dist/DataTable/TableBulkActions-aca5618a.css.map +1 -0
  65. package/dist/DataTable/TableBulkActions.d.ts +15 -0
  66. package/dist/DataTable/TableBulkActions.js +217 -0
  67. package/dist/DataTable/TableBulkActions.module.css.js +12 -0
  68. package/dist/DataTable/TableGroup.d.ts +25 -1
  69. package/dist/DataTable/TableGroup.js +197 -117
  70. package/dist/DataTable/index.d.ts +8 -4
  71. package/dist/DataTable/index.js +6 -2
  72. package/dist/DataTable/row.d.ts +26 -2
  73. package/dist/DataTable/useTable.js +354 -90
  74. package/dist/DataTable/utils.d.ts +4 -2
  75. package/dist/Details/Details.js +4 -6
  76. package/dist/Dialog/Dialog.js +20 -23
  77. package/dist/FeatureFlags/DefaultFeatureFlags.js +3 -1
  78. package/dist/FeatureFlags/FeatureFlagScope.js +1 -0
  79. package/dist/FeatureFlags/FeatureFlags.js +1 -1
  80. package/dist/FilteredActionList/FilteredActionList.js +27 -22
  81. package/dist/FilteredActionList/FilteredActionListInput.d.ts +5 -1
  82. package/dist/FilteredActionList/FilteredActionListInput.js +61 -40
  83. package/dist/FilteredActionList/FilteredActionListLoaders.js +10 -11
  84. package/dist/FilteredActionList/constants.js +2 -0
  85. package/dist/FilteredActionList/useAnnouncements.js +160 -71
  86. package/dist/Flash/Flash.js +1 -4
  87. package/dist/FormControl/FormControl.js +58 -83
  88. package/dist/FormControl/FormControlCaption.js +1 -1
  89. package/dist/FormControl/FormControlLabel.js +2 -3
  90. package/dist/FormControl/FormControlLeadingVisual.js +1 -1
  91. package/dist/FormControl/_FormControlContext.js +1 -2
  92. package/dist/FormControl/_FormControlContextProvider.js +5 -0
  93. package/dist/FormControl/_FormControlValidation.js +1 -1
  94. package/dist/Header/Header.js +3 -3
  95. package/dist/Heading/Heading.js +1 -1
  96. package/dist/Hidden/Hidden.js +1 -1
  97. package/dist/InlineMessage/InlineMessage.js +12 -13
  98. package/dist/KeybindingHint/KeybindingHint.js +3 -3
  99. package/dist/KeybindingHint/components/Chord.js +3 -3
  100. package/dist/KeybindingHint/components/Key.js +3 -3
  101. package/dist/KeybindingHint/components/Sequence.js +1 -1
  102. package/dist/KeybindingHint/platform.js +0 -8
  103. package/dist/Label/Label.js +1 -1
  104. package/dist/LabelGroup/LabelGroup.js +18 -18
  105. package/dist/Link/Link.d.ts +1 -1
  106. package/dist/Link/Link.js +1 -1
  107. package/dist/NavList/NavList.d.ts +1 -1
  108. package/dist/NavList/NavList.js +27 -28
  109. package/dist/Octicon/Octicon.js +1 -4
  110. package/dist/Overlay/Overlay.d.ts +2 -0
  111. package/dist/Overlay/Overlay.js +300 -63
  112. package/dist/PageHeader/PageHeader.js +21 -21
  113. package/dist/PageLayout/DragHandle.js +1 -1
  114. package/dist/PageLayout/PageLayout.js +26 -26
  115. package/dist/PageLayout/usePaneWidth.js +2 -7
  116. package/dist/Pagehead/Pagehead.js +1 -1
  117. package/dist/Pagination/Pagination.js +9 -10
  118. package/dist/Popover/Popover.js +6 -8
  119. package/dist/ProgressBar/ProgressBar-ac90a742.css +2 -0
  120. package/dist/ProgressBar/ProgressBar-ac90a742.css.map +1 -0
  121. package/dist/ProgressBar/ProgressBar.js +4 -5
  122. package/dist/ProgressBar/ProgressBar.module.css.js +1 -1
  123. package/dist/Radio/Radio.js +1 -1
  124. package/dist/RadioGroup/RadioGroup.js +2 -2
  125. package/dist/RelativeTime/RelativeTime.js +1 -1
  126. package/dist/ScrollableRegion/ScrollableRegion.js +1 -1
  127. package/dist/SegmentedControl/SegmentedControl-99b8e34e.css +2 -0
  128. package/dist/SegmentedControl/SegmentedControl-99b8e34e.css.map +1 -0
  129. package/dist/SegmentedControl/SegmentedControl.js +13 -13
  130. package/dist/SegmentedControl/SegmentedControl.module.css.js +1 -1
  131. package/dist/SegmentedControl/SegmentedControlAction.js +6 -6
  132. package/dist/SegmentedControl/SegmentedControlButton.js +9 -10
  133. package/dist/SegmentedControl/SegmentedControlDivider.js +1 -1
  134. package/dist/SegmentedControl/SegmentedControlIconButton.js +5 -5
  135. package/dist/Select/Select.js +11 -11
  136. package/dist/SelectPanel/SelectPanel.d.ts +1 -1
  137. package/dist/SelectPanel/SelectPanel.js +117 -68
  138. package/dist/SelectPanel/SelectPanelMessage.js +5 -5
  139. package/dist/SideNav.js +2 -2
  140. package/dist/Skeleton/SkeletonBox-8a6ec314.css +2 -0
  141. package/dist/Skeleton/SkeletonBox-8a6ec314.css.map +1 -0
  142. package/dist/Skeleton/SkeletonBox.js +1 -1
  143. package/dist/Skeleton/SkeletonBox.module.css.js +1 -1
  144. package/dist/SkeletonAvatar/SkeletonAvatar.js +1 -1
  145. package/dist/SkeletonText/SkeletonText.js +3 -3
  146. package/dist/Spinner/Spinner.js +6 -7
  147. package/dist/SplitPageLayout/SplitPageLayout.js +6 -6
  148. package/dist/Stack/Stack.js +2 -2
  149. package/dist/StateLabel/StateLabel.js +2 -2
  150. package/dist/SubNav/SubNav.js +5 -5
  151. package/dist/TabNav/TabNav.js +4 -10
  152. package/dist/Text/Text.d.ts +1 -1
  153. package/dist/Text/Text.js +1 -1
  154. package/dist/TextInput/TextInput.js +246 -91
  155. package/dist/TextInputWithTokens/TextInputWithTokens.js +12 -15
  156. package/dist/Textarea/Textarea.d.ts +2 -2
  157. package/dist/Textarea/Textarea.js +7 -7
  158. package/dist/ThemeProvider.js +1 -2
  159. package/dist/Timeline/Timeline.js +11 -14
  160. package/dist/ToggleSwitch/ToggleSwitch.js +20 -21
  161. package/dist/Token/IssueLabelToken.js +3 -3
  162. package/dist/Token/Token.js +7 -7
  163. package/dist/Token/TokenBase.js +1 -1
  164. package/dist/Token/_RemoveTokenButton.js +115 -21
  165. package/dist/Token/_TokenTextContainer.js +1 -1
  166. package/dist/Tooltip/Tooltip.js +98 -20
  167. package/dist/TooltipV2/Tooltip.js +304 -137
  168. package/dist/TopicTag/TopicTag.js +2 -3
  169. package/dist/TopicTag/TopicTagGroup.js +1 -1
  170. package/dist/TreeView/TreeView.js +52 -59
  171. package/dist/TreeView/useRovingTabIndex.js +1 -0
  172. package/dist/TreeView/useTypeahead.js +4 -3
  173. package/dist/Truncate/Truncate.d.ts +9 -4
  174. package/dist/Truncate/Truncate.js +92 -16
  175. package/dist/Truncate/index.d.ts +2 -2
  176. package/dist/UnderlineNav/UnderlineNav.js +18 -18
  177. package/dist/UnderlineNav/UnderlineNavItem.js +53 -47
  178. package/dist/VisuallyHidden/VisuallyHidden.js +1 -1
  179. package/dist/_VisuallyHidden.js +1 -1
  180. package/dist/deprecated/ActionList/Divider.js +1 -1
  181. package/dist/deprecated/ActionList/Group.js +2 -5
  182. package/dist/deprecated/ActionList/Header.js +2 -5
  183. package/dist/deprecated/ActionList/Item.js +18 -21
  184. package/dist/deprecated/ActionList/List.js +5 -14
  185. package/dist/deprecated/ActionMenu.js +4 -6
  186. package/dist/deprecated/DialogV1/Dialog.js +5 -5
  187. package/dist/deprecated/FilteredSearch/FilteredSearch.js +1 -1
  188. package/dist/deprecated/UnderlineNav/UnderlineNav.js +4 -4
  189. package/dist/experimental/IssueLabel/IssueLabel.js +4 -4
  190. package/dist/experimental/SelectPanel2/SelectPanel.d.ts +1 -1
  191. package/dist/experimental/SelectPanel2/SelectPanel.js +42 -49
  192. package/dist/experimental/Tabs/Tabs.js +1 -1
  193. package/dist/experimental/UnderlinePanels/UnderlinePanels.js +417 -124
  194. package/dist/experimental/index.d.ts +5 -4
  195. package/dist/experimental/index.js +1 -1
  196. package/dist/hooks/useControllableState.js +70 -19
  197. package/dist/hooks/useMergedRefs.js +0 -12
  198. package/dist/hooks/useOnOutsideClick.js +48 -21
  199. package/dist/hooks/useOpenAndCloseFocus.d.ts +3 -1
  200. package/dist/hooks/useOpenAndCloseFocus.js +28 -16
  201. package/dist/hooks/useOverlay.d.ts +3 -1
  202. package/dist/hooks/useOverlay.js +24 -22
  203. package/dist/hooks/useResponsiveValue.js +0 -5
  204. package/dist/hooks/useSafeTimeout.js +54 -19
  205. package/dist/hooks/useSlots.js +0 -48
  206. package/dist/index.d.ts +3 -3
  207. package/dist/index.js +2 -2
  208. package/dist/internal/components/ButtonReset.js +1 -1
  209. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js +9 -9
  210. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js +1 -1
  211. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js +4 -4
  212. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js +1 -1
  213. package/dist/internal/components/ConditionalWrapper.js +2 -2
  214. package/dist/internal/components/InputLabel.js +4 -5
  215. package/dist/internal/components/InputValidation.js +4 -4
  216. package/dist/internal/components/OverflowObserverProvider.js +1 -1
  217. package/dist/internal/components/TextInputInnerAction.js +7 -8
  218. package/dist/internal/components/TextInputInnerVisualSlot.js +5 -5
  219. package/dist/internal/components/TextInputWrapper.d.ts +3 -0
  220. package/dist/internal/components/TextInputWrapper.js +2 -2
  221. package/dist/internal/components/ThemeProviderBase.js +3 -3
  222. package/dist/internal/components/UnderlineTabbedInterface.js +11 -11
  223. package/dist/internal/components/UnstyledTextInput.js +1 -1
  224. package/dist/internal/components/ValidationAnimationContainer.js +2 -2
  225. package/dist/internal/hooks/useDevOnlyEffect.js +3 -8
  226. package/dist/internal/hooks/useOverflowObserver.js +1 -2
  227. package/dist/internal/hooks/useThemeProvider.js +3 -3
  228. package/dist/live-region/Announce.js +1 -1
  229. package/dist/live-region/AriaAlert.js +1 -1
  230. package/dist/live-region/AriaStatus.js +1 -1
  231. package/dist/next/ThemeProvider.js +1 -1
  232. package/dist/utils/descendant-registry.d.ts +1 -1
  233. package/dist/utils/descendant-registry.js +94 -82
  234. package/dist/utils/modern-polymorphic.d.ts +2 -1
  235. package/dist/utils/modern-polymorphic.js +0 -10
  236. package/generated/components.json +286 -28
  237. package/generated/hooks.json +13 -1
  238. package/package.json +16 -17
  239. package/dist/ActionList/ActionList-1ff5220c.css.map +0 -1
  240. package/dist/Button/ButtonBase-b44e29d1.css +0 -2
  241. package/dist/Button/ButtonBase-b44e29d1.css.map +0 -1
  242. package/dist/DataTable/Table-50e68700.css +0 -2
  243. package/dist/DataTable/Table-50e68700.css.map +0 -1
  244. package/dist/ProgressBar/ProgressBar-e403d83d.css +0 -2
  245. package/dist/ProgressBar/ProgressBar-e403d83d.css.map +0 -1
  246. package/dist/SegmentedControl/SegmentedControl-e68d4197.css +0 -2
  247. package/dist/SegmentedControl/SegmentedControl-e68d4197.css.map +0 -1
  248. package/dist/Skeleton/SkeletonBox-e078be7c.css +0 -2
  249. package/dist/Skeleton/SkeletonBox-e078be7c.css.map +0 -1
@@ -30,7 +30,7 @@ const ConditionalTooltip = /*#__PURE__*/ React.forwardRef(function ConditionalTo
30
30
  const t1 = text || "";
31
31
  let t2;
32
32
  if ($[0] !== children || $[1] !== forwardedRef || $[2] !== t1) {
33
- t2 = /*#__PURE__*/ jsx(Tooltip, {
33
+ t2 = /* @__PURE__ */ jsx(Tooltip, {
34
34
  ref: forwardedRef,
35
35
  text: t1,
36
36
  direction: "e",
@@ -49,7 +49,7 @@ const SubItem = (t0) => {
49
49
  const { children } = t0;
50
50
  let t1;
51
51
  if ($[0] !== children) {
52
- t1 = /*#__PURE__*/ jsx(Fragment$1, { children });
52
+ t1 = /* @__PURE__ */ jsx(Fragment$1, { children });
53
53
  $[0] = children;
54
54
  $[1] = t1;
55
55
  } else t1 = $[1];
@@ -75,7 +75,7 @@ const ButtonItemContainer = /*#__PURE__*/ React.forwardRef((t0, forwardedRef) =>
75
75
  const t1 = forwardedRef;
76
76
  let t2;
77
77
  if ($[4] !== children || $[5] !== props || $[6] !== style || $[7] !== t1) {
78
- t2 = /*#__PURE__*/ jsx("button", {
78
+ t2 = /* @__PURE__ */ jsx("button", {
79
79
  type: "button",
80
80
  ref: t1,
81
81
  style,
@@ -106,7 +106,7 @@ const DivItemContainer = /*#__PURE__*/ React.forwardRef((t0, forwardedRef) => {
106
106
  const t1 = forwardedRef;
107
107
  let t2;
108
108
  if ($[3] !== children || $[4] !== props || $[5] !== t1) {
109
- t2 = /*#__PURE__*/ jsx("div", {
109
+ t2 = /* @__PURE__ */ jsx("div", {
110
110
  ref: t1,
111
111
  ...props,
112
112
  children
@@ -138,7 +138,7 @@ const listRoleTypes = [
138
138
  "tree"
139
139
  ];
140
140
  const UnwrappedItem = (t0, forwardedRef) => {
141
- var _slots$trailingVisual, _slots$description$pr, _slots$description, _slots$trailingAction, _PrivateTooltipText2;
141
+ var _slots$trailingVisual, _slots$description$pr, _slots$description, _slots$trailingAction;
142
142
  const $ = c(162);
143
143
  let _PrivateItemWrapper;
144
144
  let _PrivateTooltipText;
@@ -220,7 +220,7 @@ const UnwrappedItem = (t0, forwardedRef) => {
220
220
  const { container, afterSelect, selectionAttribute, defaultTrailingVisual } = React.useContext(ActionListContainerContext);
221
221
  let t7;
222
222
  if ($[17] !== defaultTrailingVisual) {
223
- t7 = defaultTrailingVisual ? /*#__PURE__*/ jsx(TrailingVisual, { children: defaultTrailingVisual }) : null;
223
+ t7 = defaultTrailingVisual ? /* @__PURE__ */ jsx(TrailingVisual, { children: defaultTrailingVisual }) : null;
224
224
  $[17] = defaultTrailingVisual;
225
225
  $[18] = t7;
226
226
  } else t7 = $[18];
@@ -470,34 +470,35 @@ const UnwrappedItem = (t0, forwardedRef) => {
470
470
  $[91] = className;
471
471
  $[92] = t35;
472
472
  } else t35 = $[92];
473
- const t36 = (_PrivateTooltipText2 = _PrivateTooltipText) !== null && _PrivateTooltipText2 !== void 0 ? _PrivateTooltipText2 : truncatedText;
474
- let t37;
473
+ const t36 = _PrivateTooltipText !== null && _PrivateTooltipText !== void 0 ? _PrivateTooltipText : truncatedText;
474
+ const t37 = listSemantics ? null : forwardedRef;
475
475
  let t38;
476
+ let t39;
476
477
  if ($[93] === Symbol.for("react.memo_cache_sentinel")) {
477
- t37 = {};
478
- t38 = /*#__PURE__*/ jsx("span", { className: ActionList_module_css_default.Spacer });
479
- $[93] = t37;
480
- $[94] = t38;
478
+ t38 = {};
479
+ t39 = /* @__PURE__ */ jsx("span", { className: ActionList_module_css_default.Spacer });
480
+ $[93] = t38;
481
+ $[94] = t39;
481
482
  } else {
482
- t37 = $[93];
483
- t38 = $[94];
483
+ t38 = $[93];
484
+ t39 = $[94];
484
485
  }
485
- let t39;
486
+ let t40;
486
487
  if ($[95] !== selected) {
487
- t39 = /*#__PURE__*/ jsx(Selection, {
488
+ t40 = /* @__PURE__ */ jsx(Selection, {
488
489
  selected,
489
490
  className: ActionList_module_css_default.LeadingAction
490
491
  });
491
492
  $[95] = selected;
492
- $[96] = t39;
493
- } else t39 = $[96];
494
- const t40 = showInactiveIndicator ? inactiveText : void 0;
495
- const t41 = Boolean(slots.leadingVisual);
496
- let t42;
497
- if ($[97] !== labelId || $[98] !== loading || $[99] !== slots.leadingVisual || $[100] !== t40 || $[101] !== t41) {
498
- t42 = /*#__PURE__*/ jsx(VisualOrIndicator, {
499
- inactiveText: t40,
500
- itemHasLeadingVisual: t41,
493
+ $[96] = t40;
494
+ } else t40 = $[96];
495
+ const t41 = showInactiveIndicator ? inactiveText : void 0;
496
+ const t42 = Boolean(slots.leadingVisual);
497
+ let t43;
498
+ if ($[97] !== labelId || $[98] !== loading || $[99] !== slots.leadingVisual || $[100] !== t41 || $[101] !== t42) {
499
+ t43 = /* @__PURE__ */ jsx(VisualOrIndicator, {
500
+ inactiveText: t41,
501
+ itemHasLeadingVisual: t42,
501
502
  labelId,
502
503
  loading,
503
504
  position: "leading",
@@ -506,52 +507,52 @@ const UnwrappedItem = (t0, forwardedRef) => {
506
507
  $[97] = labelId;
507
508
  $[98] = loading;
508
509
  $[99] = slots.leadingVisual;
509
- $[100] = t40;
510
- $[101] = t41;
511
- $[102] = t42;
512
- } else t42 = $[102];
513
- const t43 = !!slots.description;
514
- let t44;
510
+ $[100] = t41;
511
+ $[101] = t42;
512
+ $[102] = t43;
513
+ } else t43 = $[102];
514
+ const t44 = !!slots.description;
515
+ let t45;
515
516
  if ($[103] !== inactive || $[104] !== loading) {
516
- t44 = loading === true && !inactive && /*#__PURE__*/ jsx(VisuallyHidden, { children: "Loading" });
517
+ t45 = loading === true && !inactive && /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading" });
517
518
  $[103] = inactive;
518
519
  $[104] = loading;
519
- $[105] = t44;
520
- } else t44 = $[105];
521
- let t45;
522
- if ($[106] !== childrenWithoutSlots || $[107] !== labelId || $[108] !== t44) {
523
- t45 = /*#__PURE__*/ jsxs("span", {
520
+ $[105] = t45;
521
+ } else t45 = $[105];
522
+ let t46;
523
+ if ($[106] !== childrenWithoutSlots || $[107] !== labelId || $[108] !== t45) {
524
+ t46 = /* @__PURE__ */ jsxs("span", {
524
525
  id: labelId,
525
526
  className: ActionList_module_css_default.ItemLabel,
526
527
  "data-component": "ActionList.Item.Label",
527
- children: [childrenWithoutSlots, t44]
528
+ children: [childrenWithoutSlots, t45]
528
529
  });
529
530
  $[106] = childrenWithoutSlots;
530
531
  $[107] = labelId;
531
- $[108] = t44;
532
- $[109] = t45;
533
- } else t45 = $[109];
534
- let t46;
535
- if ($[110] !== descriptionVariant || $[111] !== slots.description || $[112] !== t43 || $[113] !== t45) {
536
- t46 = /*#__PURE__*/ jsxs(ConditionalWrapper, {
537
- if: t43,
532
+ $[108] = t45;
533
+ $[109] = t46;
534
+ } else t46 = $[109];
535
+ let t47;
536
+ if ($[110] !== descriptionVariant || $[111] !== slots.description || $[112] !== t44 || $[113] !== t46) {
537
+ t47 = /* @__PURE__ */ jsxs(ConditionalWrapper, {
538
+ if: t44,
538
539
  className: ActionList_module_css_default.ItemDescriptionWrap,
539
540
  "data-description-variant": descriptionVariant,
540
- children: [t45, slots.description]
541
+ children: [t46, slots.description]
541
542
  });
542
543
  $[110] = descriptionVariant;
543
544
  $[111] = slots.description;
544
- $[112] = t43;
545
- $[113] = t45;
546
- $[114] = t46;
547
- } else t46 = $[114];
548
- const t47 = showInactiveIndicator ? inactiveText : void 0;
549
- const t48 = Boolean(slots.leadingVisual);
550
- let t49;
551
- if ($[115] !== labelId || $[116] !== loading || $[117] !== t47 || $[118] !== t48 || $[119] !== trailingVisual) {
552
- t49 = /*#__PURE__*/ jsx(VisualOrIndicator, {
553
- inactiveText: t47,
554
- itemHasLeadingVisual: t48,
545
+ $[112] = t44;
546
+ $[113] = t46;
547
+ $[114] = t47;
548
+ } else t47 = $[114];
549
+ const t48 = showInactiveIndicator ? inactiveText : void 0;
550
+ const t49 = Boolean(slots.leadingVisual);
551
+ let t50;
552
+ if ($[115] !== labelId || $[116] !== loading || $[117] !== t48 || $[118] !== t49 || $[119] !== trailingVisual) {
553
+ t50 = /* @__PURE__ */ jsx(VisualOrIndicator, {
554
+ inactiveText: t48,
555
+ itemHasLeadingVisual: t49,
555
556
  labelId,
556
557
  loading,
557
558
  position: "trailing",
@@ -559,14 +560,14 @@ const UnwrappedItem = (t0, forwardedRef) => {
559
560
  });
560
561
  $[115] = labelId;
561
562
  $[116] = loading;
562
- $[117] = t47;
563
- $[118] = t48;
563
+ $[117] = t48;
564
+ $[118] = t49;
564
565
  $[119] = trailingVisual;
565
- $[120] = t49;
566
- } else t49 = $[120];
567
- let t50;
566
+ $[120] = t50;
567
+ } else t50 = $[120];
568
+ let t51;
568
569
  if ($[121] !== inactiveText || $[122] !== inactiveWarningId || $[123] !== showInactiveIndicator) {
569
- t50 = !showInactiveIndicator && inactiveText ? /*#__PURE__*/ jsx("span", {
570
+ t51 = !showInactiveIndicator && inactiveText ? /* @__PURE__ */ jsx("span", {
570
571
  className: ActionList_module_css_default.InactiveWarning,
571
572
  id: inactiveWarningId,
572
573
  children: inactiveText
@@ -574,74 +575,74 @@ const UnwrappedItem = (t0, forwardedRef) => {
574
575
  $[121] = inactiveText;
575
576
  $[122] = inactiveWarningId;
576
577
  $[123] = showInactiveIndicator;
577
- $[124] = t50;
578
- } else t50 = $[124];
579
- let t51;
580
- if ($[125] !== t46 || $[126] !== t49 || $[127] !== t50) {
581
- t51 = /*#__PURE__*/ jsxs("span", {
578
+ $[124] = t51;
579
+ } else t51 = $[124];
580
+ let t52;
581
+ if ($[125] !== t47 || $[126] !== t50 || $[127] !== t51) {
582
+ t52 = /* @__PURE__ */ jsxs("span", {
582
583
  className: ActionList_module_css_default.ActionListSubContent,
583
584
  "data-component": "ActionList.Item--DividerContainer",
584
585
  children: [
585
- t46,
586
- t49,
587
- t50
586
+ t47,
587
+ t50,
588
+ t51
588
589
  ]
589
590
  });
590
- $[125] = t46;
591
- $[126] = t49;
592
- $[127] = t50;
593
- $[128] = t51;
594
- } else t51 = $[128];
595
- let t52;
596
- if ($[129] !== t39 || $[130] !== t42 || $[131] !== t51) {
597
- t52 = /*#__PURE__*/ jsxs(TooltipContext.Provider, {
598
- value: t37,
591
+ $[125] = t47;
592
+ $[126] = t50;
593
+ $[127] = t51;
594
+ $[128] = t52;
595
+ } else t52 = $[128];
596
+ let t53;
597
+ if ($[129] !== t40 || $[130] !== t43 || $[131] !== t52) {
598
+ t53 = /* @__PURE__ */ jsxs(TooltipContext.Provider, {
599
+ value: t38,
599
600
  children: [
600
- t38,
601
601
  t39,
602
- t42,
603
- t51
602
+ t40,
603
+ t43,
604
+ t52
604
605
  ]
605
606
  });
606
- $[129] = t39;
607
- $[130] = t42;
608
- $[131] = t51;
609
- $[132] = t52;
610
- } else t52 = $[132];
611
- let t53;
612
- if ($[133] !== ItemWrapper || $[134] !== forwardedRef || $[135] !== size || $[136] !== t52 || $[137] !== wrapperProps) {
613
- t53 = /*#__PURE__*/ jsx(ItemWrapper, {
607
+ $[129] = t40;
608
+ $[130] = t43;
609
+ $[131] = t52;
610
+ $[132] = t53;
611
+ } else t53 = $[132];
612
+ let t54;
613
+ if ($[133] !== ItemWrapper || $[134] !== size || $[135] !== t37 || $[136] !== t53 || $[137] !== wrapperProps) {
614
+ t54 = /* @__PURE__ */ jsx(ItemWrapper, {
614
615
  ...wrapperProps,
615
616
  className: ActionList_module_css_default.ActionListContent,
616
617
  "data-size": size,
617
- ref: forwardedRef,
618
- children: t52
618
+ ref: t37,
619
+ children: t53
619
620
  });
620
621
  $[133] = ItemWrapper;
621
- $[134] = forwardedRef;
622
- $[135] = size;
623
- $[136] = t52;
622
+ $[134] = size;
623
+ $[135] = t37;
624
+ $[136] = t53;
624
625
  $[137] = wrapperProps;
625
- $[138] = t53;
626
- } else t53 = $[138];
627
- let t54;
628
- if ($[139] !== buttonSemantics || $[140] !== forwardedRef || $[141] !== t36 || $[142] !== t53) {
629
- t54 = /*#__PURE__*/ jsx(ConditionalTooltip, {
626
+ $[138] = t54;
627
+ } else t54 = $[138];
628
+ let t55;
629
+ if ($[139] !== buttonSemantics || $[140] !== forwardedRef || $[141] !== t36 || $[142] !== t54) {
630
+ t55 = /* @__PURE__ */ jsx(ConditionalTooltip, {
630
631
  ref: forwardedRef,
631
632
  text: t36,
632
633
  enabled: buttonSemantics,
633
- children: t53
634
+ children: t54
634
635
  });
635
636
  $[139] = buttonSemantics;
636
637
  $[140] = forwardedRef;
637
638
  $[141] = t36;
638
- $[142] = t53;
639
- $[143] = t54;
640
- } else t54 = $[143];
641
- const t55 = !inactive && !loading && !menuContext && Boolean(slots.trailingAction) && slots.trailingAction;
642
- let t56;
643
- if ($[144] !== containerProps || $[145] !== slots.subItem || $[146] !== t26 || $[147] !== t27 || $[148] !== t28 || $[149] !== t29 || $[150] !== t30 || $[151] !== t31 || $[152] !== t32 || $[153] !== t33 || $[154] !== t34 || $[155] !== t35 || $[156] !== t54 || $[157] !== t55) {
644
- t56 = /*#__PURE__*/ jsxs("li", {
639
+ $[142] = t54;
640
+ $[143] = t55;
641
+ } else t55 = $[143];
642
+ const t56 = !inactive && !loading && !menuContext && Boolean(slots.trailingAction) && slots.trailingAction;
643
+ let t57;
644
+ if ($[144] !== containerProps || $[145] !== slots.subItem || $[146] !== t26 || $[147] !== t27 || $[148] !== t28 || $[149] !== t29 || $[150] !== t30 || $[151] !== t31 || $[152] !== t32 || $[153] !== t33 || $[154] !== t34 || $[155] !== t35 || $[156] !== t55 || $[157] !== t56) {
645
+ t57 = /* @__PURE__ */ jsxs("li", {
645
646
  ...containerProps,
646
647
  ref: t26,
647
648
  "data-component": "ActionList.Item",
@@ -655,8 +656,8 @@ const UnwrappedItem = (t0, forwardedRef) => {
655
656
  "data-trailing-action-loading": t34,
656
657
  className: t35,
657
658
  children: [
658
- t54,
659
659
  t55,
660
+ t56,
660
661
  slots.subItem
661
662
  ]
662
663
  });
@@ -672,21 +673,21 @@ const UnwrappedItem = (t0, forwardedRef) => {
672
673
  $[153] = t33;
673
674
  $[154] = t34;
674
675
  $[155] = t35;
675
- $[156] = t54;
676
- $[157] = t55;
677
- $[158] = t56;
678
- } else t56 = $[158];
679
- let t57;
680
- if ($[159] !== itemContextValue || $[160] !== t56) {
681
- t57 = /*#__PURE__*/ jsx(ItemContext.Provider, {
676
+ $[156] = t55;
677
+ $[157] = t56;
678
+ $[158] = t57;
679
+ } else t57 = $[158];
680
+ let t58;
681
+ if ($[159] !== itemContextValue || $[160] !== t57) {
682
+ t58 = /* @__PURE__ */ jsx(ItemContext.Provider, {
682
683
  value: itemContextValue,
683
- children: t56
684
+ children: t57
684
685
  });
685
686
  $[159] = itemContextValue;
686
- $[160] = t56;
687
- $[161] = t57;
688
- } else t57 = $[161];
689
- return t57;
687
+ $[160] = t57;
688
+ $[161] = t58;
689
+ } else t58 = $[161];
690
+ return t58;
690
691
  };
691
692
  const Item = Object.assign(fixedForwardRef(UnwrappedItem), {
692
693
  displayName: "ActionList.Item",
@@ -5,7 +5,7 @@ import Link from "../Link/Link.js";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region src/ActionList/LinkItem.tsx
7
7
  const LinkItemComponent = fixedForwardRef(({ active, inactiveText, variant, size, as: Component, className, _PrivateTooltipText, ...props }, forwardedRef) => {
8
- return /*#__PURE__*/ jsx(Item, {
8
+ return /* @__PURE__ */ jsx(Item, {
9
9
  className,
10
10
  active,
11
11
  inactiveText,
@@ -17,11 +17,11 @@ const LinkItemComponent = fixedForwardRef(({ active, inactiveText, variant, size
17
17
  onClick && onClick(event);
18
18
  props.onClick && props.onClick(event);
19
19
  };
20
- if (inactiveText) return /*#__PURE__*/ jsx("span", {
20
+ if (inactiveText) return /* @__PURE__ */ jsx("span", {
21
21
  ...rest,
22
22
  children
23
23
  });
24
- const link = /*#__PURE__*/ jsx(Link, {
24
+ const link = /* @__PURE__ */ jsx(Link, {
25
25
  as: Component,
26
26
  ...rest,
27
27
  ...props,
@@ -29,7 +29,7 @@ const LinkItemComponent = fixedForwardRef(({ active, inactiveText, variant, size
29
29
  ref: _PrivateTooltipText ? void 0 : forwardedRef,
30
30
  children
31
31
  });
32
- return _PrivateTooltipText ? /*#__PURE__*/ jsx(Tooltip, {
32
+ return _PrivateTooltipText ? /* @__PURE__ */ jsx(Tooltip, {
33
33
  ref: forwardedRef,
34
34
  text: _PrivateTooltipText,
35
35
  direction: "e",
@@ -144,7 +144,7 @@ const UnwrappedList = (props, forwardedRef) => {
144
144
  const t14 = itemGapEnabled ? "" : void 0;
145
145
  let t15;
146
146
  if ($[26] !== Component || $[27] !== appliedRef || $[28] !== ariaLabelledBy || $[29] !== childrenWithoutSlots || $[30] !== listRole || $[31] !== restProps || $[32] !== showDividers || $[33] !== t13 || $[34] !== t14 || $[35] !== variant) {
147
- t15 = /*#__PURE__*/ jsx(Component, {
147
+ t15 = /* @__PURE__ */ jsx(Component, {
148
148
  className: t13,
149
149
  role: listRole,
150
150
  "aria-labelledby": ariaLabelledBy,
@@ -170,7 +170,7 @@ const UnwrappedList = (props, forwardedRef) => {
170
170
  } else t15 = $[36];
171
171
  let t16;
172
172
  if ($[37] !== listContextValue || $[38] !== slots.heading || $[39] !== t15) {
173
- t16 = /*#__PURE__*/ jsxs(ListContext.Provider, {
173
+ t16 = /* @__PURE__ */ jsxs(ListContext.Provider, {
174
174
  value: listContextValue,
175
175
  children: [t12, t15]
176
176
  });
@@ -24,7 +24,7 @@ const Selection = (t0) => {
24
24
  if (selectionVariant === "radio") {
25
25
  let t1;
26
26
  if ($[0] !== selected) {
27
- t1 = /*#__PURE__*/ jsx(Radio, {
27
+ t1 = /* @__PURE__ */ jsx(Radio, {
28
28
  value: "unused",
29
29
  checked: selected,
30
30
  "aria-hidden": true,
@@ -35,7 +35,7 @@ const Selection = (t0) => {
35
35
  } else t1 = $[1];
36
36
  let t2;
37
37
  if ($[2] !== className || $[3] !== t1) {
38
- t2 = /*#__PURE__*/ jsx(VisualContainer, {
38
+ t2 = /* @__PURE__ */ jsx(VisualContainer, {
39
39
  className,
40
40
  "data-component": "ActionList.Selection",
41
41
  children: t1
@@ -49,12 +49,12 @@ const Selection = (t0) => {
49
49
  if (selectionVariant === "single" || listRole === "menu") {
50
50
  let t1;
51
51
  if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
52
- t1 = /*#__PURE__*/ jsx(CheckIcon, { className: ActionList_module_css_default.SingleSelectCheckmark });
52
+ t1 = /* @__PURE__ */ jsx(CheckIcon, { className: ActionList_module_css_default.SingleSelectCheckmark });
53
53
  $[5] = t1;
54
54
  } else t1 = $[5];
55
55
  let t2;
56
56
  if ($[6] !== className) {
57
- t2 = /*#__PURE__*/ jsx(VisualContainer, {
57
+ t2 = /* @__PURE__ */ jsx(VisualContainer, {
58
58
  className,
59
59
  "data-component": "ActionList.Selection",
60
60
  children: t1
@@ -66,12 +66,12 @@ const Selection = (t0) => {
66
66
  }
67
67
  let t1;
68
68
  if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
69
- t1 = /*#__PURE__*/ jsx("div", { className: ActionList_module_css_default.MultiSelectCheckbox });
69
+ t1 = /* @__PURE__ */ jsx("div", { className: ActionList_module_css_default.MultiSelectCheckbox });
70
70
  $[8] = t1;
71
71
  } else t1 = $[8];
72
72
  let t2;
73
73
  if ($[9] !== className) {
74
- t2 = /*#__PURE__*/ jsx(VisualContainer, {
74
+ t2 = /* @__PURE__ */ jsx(VisualContainer, {
75
75
  className,
76
76
  "data-component": "ActionList.Selection",
77
77
  children: t1
@@ -51,7 +51,7 @@ const TrailingAction = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
51
51
  } else t4 = $[11];
52
52
  let t5;
53
53
  if ($[12] !== as || $[13] !== forwardedRef || $[14] !== href || $[15] !== icon || $[16] !== label || $[17] !== loading || $[18] !== props || $[19] !== tooltipDirection) {
54
- t5 = icon ? /*#__PURE__*/ jsx(IconButton, {
54
+ t5 = icon ? /* @__PURE__ */ jsx(IconButton, {
55
55
  as,
56
56
  "aria-label": label,
57
57
  icon,
@@ -63,7 +63,7 @@ const TrailingAction = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
63
63
  ref: forwardedRef,
64
64
  className: ActionList_module_css_default.TrailingActionButton,
65
65
  ...props
66
- }) : /*#__PURE__*/ jsx(ButtonComponent, {
66
+ }) : /* @__PURE__ */ jsx(ButtonComponent, {
67
67
  variant: "invisible",
68
68
  as,
69
69
  href,
@@ -87,7 +87,7 @@ const TrailingAction = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
87
87
  } else t5 = $[20];
88
88
  let t6;
89
89
  if ($[21] !== style || $[22] !== t4 || $[23] !== t5) {
90
- t6 = /*#__PURE__*/ jsx("span", {
90
+ t6 = /* @__PURE__ */ jsx("span", {
91
91
  className: t4,
92
92
  "data-component": "ActionList.TrailingAction",
93
93
  style,
@@ -29,7 +29,7 @@ const VisualContainer = (t0) => {
29
29
  } else t1 = $[4];
30
30
  let t2;
31
31
  if ($[5] !== props || $[6] !== t1) {
32
- t2 = /*#__PURE__*/ jsx("span", {
32
+ t2 = /* @__PURE__ */ jsx("span", {
33
33
  className: t1,
34
34
  ...props
35
35
  });
@@ -60,7 +60,7 @@ const LeadingVisual = (t0) => {
60
60
  } else t1 = $[4];
61
61
  let t2;
62
62
  if ($[5] !== props || $[6] !== t1) {
63
- t2 = /*#__PURE__*/ jsx(VisualContainer, {
63
+ t2 = /* @__PURE__ */ jsx(VisualContainer, {
64
64
  className: t1,
65
65
  "data-component": "ActionList.LeadingVisual",
66
66
  ...props,
@@ -94,7 +94,7 @@ const TrailingVisual = (t0) => {
94
94
  } else t1 = $[4];
95
95
  let t2;
96
96
  if ($[5] !== props || $[6] !== t1 || $[7] !== trailingVisualId) {
97
- t2 = /*#__PURE__*/ jsx(VisualContainer, {
97
+ t2 = /* @__PURE__ */ jsx(VisualContainer, {
98
98
  className: t1,
99
99
  "data-component": "ActionList.TrailingVisual",
100
100
  id: trailingVisualId,
@@ -116,22 +116,22 @@ const VisualOrIndicator = (t0) => {
116
116
  if (itemHasLeadingVisual && position === "trailing" || !itemHasLeadingVisual && position === "leading") return children;
117
117
  let t1;
118
118
  if ($[0] !== VisualComponent || $[1] !== className || $[2] !== inactiveText || $[3] !== labelId || $[4] !== position) {
119
- t1 = inactiveText ? /*#__PURE__*/ jsx("span", {
119
+ t1 = inactiveText ? /* @__PURE__ */ jsx("span", {
120
120
  className: ActionList_module_css_default.InactiveButtonWrap,
121
121
  "data-position": position,
122
- children: /*#__PURE__*/ jsx(Tooltip, {
122
+ children: /* @__PURE__ */ jsx(Tooltip, {
123
123
  text: inactiveText,
124
124
  type: "description",
125
- children: /*#__PURE__*/ jsx("button", {
125
+ children: /* @__PURE__ */ jsx("button", {
126
126
  type: "button",
127
127
  className: ActionList_module_css_default.InactiveButtonReset,
128
128
  "aria-labelledby": labelId,
129
- children: /*#__PURE__*/ jsx(VisualComponent, { children: /*#__PURE__*/ jsx(AlertIcon, {}) })
129
+ children: /* @__PURE__ */ jsx(VisualComponent, { children: /* @__PURE__ */ jsx(AlertIcon, {}) })
130
130
  })
131
131
  })
132
- }) : /*#__PURE__*/ jsx(VisualComponent, {
132
+ }) : /* @__PURE__ */ jsx(VisualComponent, {
133
133
  className,
134
- children: /*#__PURE__*/ jsx(Spinner, { size: "small" })
134
+ children: /* @__PURE__ */ jsx(Spinner, { size: "small" })
135
135
  });
136
136
  $[0] = VisualComponent;
137
137
  $[1] = className;
@@ -7,15 +7,15 @@ import { ActionListGroupHeadingTrailingActionProps } from "./GroupHeadingTrailin
7
7
  import { ActionListItemProps, ActionListProps } from "./shared.js";
8
8
  import { ActionListHeadingProps } from "./Heading.js";
9
9
  import { ActionListGroupHeadingProps, ActionListGroupProps } from "./Group.js";
10
+ import { ActionListLinkItemProps } from "./LinkItem.js";
10
11
  import { ActionListDividerProps } from "./Divider.js";
11
12
  import { ActionListDescriptionProps } from "./Description.js";
12
13
  import { ActionListLeadingVisualProps, ActionListTrailingVisualProps, VisualProps } from "./Visuals.js";
13
- import { ActionListLinkItemProps } from "./LinkItem.js";
14
14
  //#region src/ActionList/index.d.ts
15
15
  /**
16
16
  * Collection of list-related components.
17
17
  */
18
- declare const ActionList: (<As extends React.ElementType = "ul">(props: DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "ul" : As> & {
18
+ declare const ActionList: (<As extends React.ElementType = "ul">(props: DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "ul" : As>, "as"> & Omit<import("react").PropsWithChildren<{
19
19
  variant?: "inset" | "horizontal-inset" | "full";
20
20
  selectionVariant?: "single" | "radio" | "multiple";
21
21
  showDividers?: boolean;
@@ -23,9 +23,7 @@ declare const ActionList: (<As extends React.ElementType = "ul">(props: Distribu
23
23
  disableFocusZone?: boolean;
24
24
  className?: string;
25
25
  disableItemGap?: boolean;
26
- } & {
27
- children?: import("react").ReactNode | undefined;
28
- }, "as"> & {
26
+ }>, "as"> & {
29
27
  as?: As | undefined;
30
28
  } & import("react").RefAttributes<unknown>) => React.ReactNode) & {
31
29
  /** Context for the `ActionList` container. */ContainerContext: import("react").Context<{
@@ -45,7 +43,7 @@ declare const ActionList: (<As extends React.ElementType = "ul">(props: Distribu
45
43
  selected?: boolean;
46
44
  active?: boolean;
47
45
  variant?: "default" | "danger";
48
- size?: "medium" | "large";
46
+ size?: "small" | "medium" | "large";
49
47
  disabled?: boolean;
50
48
  role?: AriaRole;
51
49
  id?: string;
@@ -89,18 +87,7 @@ declare const ActionList: (<As extends React.ElementType = "ul">(props: Distribu
89
87
  displayName: string;
90
88
  __SLOT__: symbol;
91
89
  }; /** A `Item` that renders a full-size anchor inside ListItem */
92
- LinkItem: WithSlotMarker<(<As extends React.ElementType = "a">(props: DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "a" : As> & Pick<ActionListItemProps, "active" | "children" | "inactiveText" | "size" | "variant"> & {
93
- download?: string;
94
- href?: string;
95
- hrefLang?: string;
96
- media?: string;
97
- ping?: string;
98
- rel?: string;
99
- target?: string;
100
- type?: string;
101
- referrerPolicy?: React.AnchorHTMLAttributes<HTMLAnchorElement>["referrerPolicy"];
102
- className?: string;
103
- }, "as"> & {
90
+ LinkItem: WithSlotMarker<(<As extends React.ElementType = "a">(props: DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "a" : As>, "as"> & Omit<ActionListLinkItemProps, "as"> & {
104
91
  as?: As | undefined;
105
92
  } & {
106
93
  _PrivateTooltipText?: string;
@@ -29,7 +29,7 @@ type ActionListItemProps<As extends React.ElementType = 'li'> = ExcludeSelectEve
29
29
  * - `"danger"` - A destructive action `Item`.
30
30
  */
31
31
  variant?: 'default' | 'danger';
32
- size?: 'medium' | 'large';
32
+ size?: 'small' | 'medium' | 'large';
33
33
  /**
34
34
  * Items that are disabled can not be clicked, selected, or navigated through.
35
35
  */