@primer/react 38.40.2-rc.fdfbe71e5 → 38.41.0-rc.61d283273

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 (178) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/dist/ActionBar/ActionBar.js +30 -33
  3. package/dist/ActionList/{ActionList-1ff5220c.css → ActionList-64885d7a.css} +2 -2
  4. package/dist/ActionList/ActionList-64885d7a.css.map +1 -0
  5. package/dist/ActionList/ActionList.module.css.js +1 -1
  6. package/dist/ActionList/Description.js +2 -2
  7. package/dist/ActionList/Divider.js +1 -1
  8. package/dist/ActionList/Group.js +12 -12
  9. package/dist/ActionList/GroupHeadingTrailingAction.js +1 -10
  10. package/dist/ActionList/Heading.js +1 -1
  11. package/dist/ActionList/Item.js +19 -19
  12. package/dist/ActionList/LinkItem.js +4 -4
  13. package/dist/ActionList/List.js +2 -2
  14. package/dist/ActionList/Selection.js +6 -6
  15. package/dist/ActionList/TrailingAction.js +3 -3
  16. package/dist/ActionList/Visuals.js +9 -9
  17. package/dist/ActionList/index.d.ts +1 -1
  18. package/dist/ActionList/shared.d.ts +1 -1
  19. package/dist/ActionMenu/ActionMenu.js +8 -11
  20. package/dist/AnchoredOverlay/AnchoredOverlay.js +4 -4
  21. package/dist/Autocomplete/Autocomplete.js +3 -3
  22. package/dist/Autocomplete/AutocompleteInput.js +1 -1
  23. package/dist/Autocomplete/AutocompleteMenu.js +111 -106
  24. package/dist/Autocomplete/AutocompleteOverlay.js +2 -2
  25. package/dist/Avatar/Avatar.js +1 -1
  26. package/dist/AvatarStack/AvatarStack.js +3 -3
  27. package/dist/Banner/Banner.js +21 -21
  28. package/dist/BaseStyles.js +1 -1
  29. package/dist/Blankslate/Blankslate.js +10 -11
  30. package/dist/BranchName/BranchName.js +1 -1
  31. package/dist/Breadcrumbs/Breadcrumbs.js +20 -29
  32. package/dist/Button/Button.js +1 -1
  33. package/dist/Button/ButtonBase-c8dab214.css +2 -0
  34. package/dist/Button/ButtonBase-c8dab214.css.map +1 -0
  35. package/dist/Button/ButtonBase.js +12 -9
  36. package/dist/Button/ButtonBase.module.css.js +1 -1
  37. package/dist/Button/IconButton.js +3 -3
  38. package/dist/Button/LinkButton.js +1 -1
  39. package/dist/ButtonGroup/ButtonGroup.js +2 -3
  40. package/dist/Card/Card.js +16 -16
  41. package/dist/Checkbox/Checkbox.js +1 -1
  42. package/dist/CheckboxGroup/CheckboxGroup.js +2 -2
  43. package/dist/CircleBadge/CircleBadge.js +2 -2
  44. package/dist/ConfirmationDialog/ConfirmationDialog.js +1 -5
  45. package/dist/CounterLabel/CounterLabel.js +2 -2
  46. package/dist/DataTable/DataTable.js +7 -8
  47. package/dist/DataTable/ErrorDialog.js +1 -1
  48. package/dist/DataTable/Pagination.js +23 -23
  49. package/dist/DataTable/Table.js +25 -27
  50. package/dist/DataTable/TableGroup.js +10 -10
  51. package/dist/Details/Details.js +2 -2
  52. package/dist/Dialog/Dialog.js +20 -23
  53. package/dist/FeatureFlags/DefaultFeatureFlags.js +2 -1
  54. package/dist/FeatureFlags/FeatureFlags.js +1 -1
  55. package/dist/FilteredActionList/FilteredActionList.js +18 -19
  56. package/dist/FilteredActionList/FilteredActionListInput.js +2 -2
  57. package/dist/FilteredActionList/FilteredActionListLoaders.js +10 -11
  58. package/dist/Flash/Flash.js +1 -4
  59. package/dist/FormControl/FormControl.js +8 -8
  60. package/dist/FormControl/FormControlCaption.js +1 -1
  61. package/dist/FormControl/FormControlLabel.js +1 -1
  62. package/dist/FormControl/FormControlLeadingVisual.js +1 -1
  63. package/dist/FormControl/_FormControlValidation.js +1 -1
  64. package/dist/Header/Header.js +3 -3
  65. package/dist/Heading/Heading.js +1 -1
  66. package/dist/Hidden/Hidden.js +1 -1
  67. package/dist/InlineMessage/InlineMessage.js +11 -11
  68. package/dist/KeybindingHint/KeybindingHint.js +3 -3
  69. package/dist/KeybindingHint/components/Chord.js +3 -3
  70. package/dist/KeybindingHint/components/Key.js +3 -3
  71. package/dist/KeybindingHint/components/Sequence.js +1 -1
  72. package/dist/KeybindingHint/platform.js +0 -8
  73. package/dist/Label/Label.js +1 -1
  74. package/dist/LabelGroup/LabelGroup.js +18 -18
  75. package/dist/Link/Link.js +1 -1
  76. package/dist/NavList/NavList.js +24 -24
  77. package/dist/Octicon/Octicon.js +1 -4
  78. package/dist/Overlay/Overlay.js +3 -3
  79. package/dist/PageHeader/PageHeader.js +21 -21
  80. package/dist/PageLayout/DragHandle.js +1 -1
  81. package/dist/PageLayout/PageLayout.js +26 -26
  82. package/dist/PageLayout/usePaneWidth.js +0 -5
  83. package/dist/Pagehead/Pagehead.js +1 -1
  84. package/dist/Pagination/Pagination.js +9 -10
  85. package/dist/Popover/Popover.js +3 -3
  86. package/dist/ProgressBar/ProgressBar.js +3 -3
  87. package/dist/Radio/Radio.js +1 -1
  88. package/dist/RadioGroup/RadioGroup.js +2 -2
  89. package/dist/RelativeTime/RelativeTime.js +1 -1
  90. package/dist/ScrollableRegion/ScrollableRegion.js +1 -1
  91. package/dist/SegmentedControl/SegmentedControl.js +13 -13
  92. package/dist/SegmentedControl/SegmentedControlAction.js +6 -6
  93. package/dist/SegmentedControl/SegmentedControlButton.js +8 -8
  94. package/dist/SegmentedControl/SegmentedControlDivider.js +1 -1
  95. package/dist/SegmentedControl/SegmentedControlIconButton.js +5 -5
  96. package/dist/Select/Select.js +9 -9
  97. package/dist/SelectPanel/SelectPanel.js +24 -27
  98. package/dist/SelectPanel/SelectPanelMessage.js +5 -5
  99. package/dist/SideNav.js +2 -2
  100. package/dist/Skeleton/SkeletonBox.js +1 -1
  101. package/dist/SkeletonAvatar/SkeletonAvatar.js +1 -1
  102. package/dist/SkeletonText/SkeletonText.js +3 -3
  103. package/dist/Spinner/Spinner.js +5 -5
  104. package/dist/SplitPageLayout/SplitPageLayout.js +6 -6
  105. package/dist/Stack/Stack.js +2 -2
  106. package/dist/StateLabel/StateLabel.js +2 -2
  107. package/dist/SubNav/SubNav.js +5 -5
  108. package/dist/TabNav/TabNav.js +4 -10
  109. package/dist/Text/Text.js +1 -1
  110. package/dist/TextInput/TextInput.js +13 -13
  111. package/dist/TextInputWithTokens/TextInputWithTokens.js +12 -15
  112. package/dist/Textarea/Textarea.js +7 -7
  113. package/dist/ThemeProvider.js +1 -2
  114. package/dist/Timeline/Timeline.js +11 -14
  115. package/dist/ToggleSwitch/ToggleSwitch.js +18 -18
  116. package/dist/Token/IssueLabelToken.js +3 -3
  117. package/dist/Token/Token.js +7 -7
  118. package/dist/Token/TokenBase.js +1 -1
  119. package/dist/Token/_RemoveTokenButton.js +4 -5
  120. package/dist/Token/_TokenTextContainer.js +1 -1
  121. package/dist/Tooltip/Tooltip.js +2 -5
  122. package/dist/TooltipV2/Tooltip.js +7 -7
  123. package/dist/TopicTag/TopicTag.js +1 -1
  124. package/dist/TopicTag/TopicTagGroup.js +1 -1
  125. package/dist/TreeView/TreeView.js +52 -59
  126. package/dist/TreeView/useRovingTabIndex.js +1 -0
  127. package/dist/TreeView/useTypeahead.js +3 -3
  128. package/dist/Truncate/Truncate.js +1 -2
  129. package/dist/UnderlineNav/UnderlineNav.js +18 -18
  130. package/dist/UnderlineNav/UnderlineNavItem.js +2 -2
  131. package/dist/VisuallyHidden/VisuallyHidden.js +1 -1
  132. package/dist/_VisuallyHidden.js +1 -1
  133. package/dist/deprecated/ActionList/Divider.js +1 -1
  134. package/dist/deprecated/ActionList/Group.js +2 -5
  135. package/dist/deprecated/ActionList/Header.js +2 -5
  136. package/dist/deprecated/ActionList/Item.js +17 -20
  137. package/dist/deprecated/ActionList/List.js +4 -13
  138. package/dist/deprecated/ActionMenu.js +4 -6
  139. package/dist/deprecated/DialogV1/Dialog.js +5 -5
  140. package/dist/deprecated/FilteredSearch/FilteredSearch.js +1 -1
  141. package/dist/deprecated/UnderlineNav/UnderlineNav.js +4 -4
  142. package/dist/experimental/IssueLabel/IssueLabel.js +4 -4
  143. package/dist/experimental/SelectPanel2/SelectPanel.js +42 -49
  144. package/dist/experimental/Tabs/Tabs.js +1 -1
  145. package/dist/experimental/UnderlinePanels/UnderlinePanels.js +6 -9
  146. package/dist/experimental/index.js +1 -1
  147. package/dist/hooks/useMergedRefs.js +0 -12
  148. package/dist/hooks/useResponsiveValue.js +0 -5
  149. package/dist/hooks/useSlots.js +0 -48
  150. package/dist/internal/components/ButtonReset.js +1 -1
  151. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js +9 -9
  152. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js +1 -1
  153. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js +4 -4
  154. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js +1 -1
  155. package/dist/internal/components/ConditionalWrapper.js +2 -2
  156. package/dist/internal/components/InputLabel.js +3 -3
  157. package/dist/internal/components/InputValidation.js +4 -4
  158. package/dist/internal/components/OverflowObserverProvider.js +1 -1
  159. package/dist/internal/components/TextInputInnerAction.js +6 -6
  160. package/dist/internal/components/TextInputInnerVisualSlot.js +5 -5
  161. package/dist/internal/components/TextInputWrapper.js +2 -2
  162. package/dist/internal/components/ThemeProviderBase.js +3 -3
  163. package/dist/internal/components/UnderlineTabbedInterface.js +11 -11
  164. package/dist/internal/components/UnstyledTextInput.js +1 -1
  165. package/dist/internal/components/ValidationAnimationContainer.js +2 -2
  166. package/dist/internal/hooks/useOverflowObserver.js +1 -2
  167. package/dist/live-region/Announce.js +1 -1
  168. package/dist/live-region/AriaAlert.js +1 -1
  169. package/dist/live-region/AriaStatus.js +1 -1
  170. package/dist/next/ThemeProvider.js +1 -1
  171. package/dist/utils/descendant-registry.js +1 -7
  172. package/dist/utils/modern-polymorphic.js +0 -10
  173. package/generated/components.json +13 -3
  174. package/generated/hooks.json +1 -1
  175. package/package.json +3 -3
  176. package/dist/ActionList/ActionList-1ff5220c.css.map +0 -1
  177. package/dist/Button/ButtonBase-014fae23.css +0 -2
  178. package/dist/Button/ButtonBase-014fae23.css.map +0 -1
@@ -64,7 +64,7 @@ const TextInput = /*#__PURE__*/ React.forwardRef(({ icon: IconComponent, leading
64
64
  const characterCountId = useId();
65
65
  const characterCountStaticMessageId = useId();
66
66
  const isValid = isOverLimit ? "error" : validationStatus;
67
- return /*#__PURE__*/ jsxs(Fragment$1, { children: [/*#__PURE__*/ jsxs(TextInputWrapper, {
67
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs(TextInputWrapper, {
68
68
  block,
69
69
  className: wrapperClasses,
70
70
  validationStatus: isValid,
@@ -83,18 +83,18 @@ const TextInput = /*#__PURE__*/ React.forwardRef(({ icon: IconComponent, leading
83
83
  onClick: focusInput,
84
84
  "aria-busy": Boolean(loading),
85
85
  children: [
86
- IconComponent && /*#__PURE__*/ jsx(IconComponent, {
86
+ IconComponent && /* @__PURE__ */ jsx(IconComponent, {
87
87
  className: "TextInput-icon",
88
88
  "data-component": "TextInput.Icon"
89
89
  }),
90
- /*#__PURE__*/ jsx(TextInputInnerVisualSlot, {
90
+ /* @__PURE__ */ jsx(TextInputInnerVisualSlot, {
91
91
  visualPosition: "leading",
92
92
  showLoadingIndicator: showLeadingLoadingIndicator,
93
93
  hasLoadingIndicator: typeof loading === "boolean",
94
94
  id: leadingVisualId,
95
- children: typeof LeadingVisual !== "string" && isValidElementType(LeadingVisual) ? /*#__PURE__*/ jsx(LeadingVisual, {}) : LeadingVisual
95
+ children: typeof LeadingVisual !== "string" && isValidElementType(LeadingVisual) ? /* @__PURE__ */ jsx(LeadingVisual, {}) : LeadingVisual
96
96
  }),
97
- /*#__PURE__*/ jsx(UnstyledTextInput, {
97
+ /* @__PURE__ */ jsx(UnstyledTextInput, {
98
98
  ref: appliedRef,
99
99
  disabled,
100
100
  onFocus: handleInputFocus,
@@ -109,28 +109,28 @@ const TextInput = /*#__PURE__*/ React.forwardRef(({ icon: IconComponent, leading
109
109
  "aria-describedby": characterLimit ? [characterCountStaticMessageId, inputDescribedBy].filter(Boolean).join(" ") || void 0 : inputDescribedBy,
110
110
  "data-component": dataComponent !== null && dataComponent !== void 0 ? dataComponent : "input"
111
111
  }),
112
- loading && /*#__PURE__*/ jsx(VisuallyHidden, {
112
+ loading && /* @__PURE__ */ jsx(VisuallyHidden, {
113
113
  id: loadingId,
114
114
  children: loaderText
115
115
  }),
116
- /*#__PURE__*/ jsx(TextInputInnerVisualSlot, {
116
+ /* @__PURE__ */ jsx(TextInputInnerVisualSlot, {
117
117
  visualPosition: "trailing",
118
118
  showLoadingIndicator: showTrailingLoadingIndicator,
119
119
  hasLoadingIndicator: typeof loading === "boolean",
120
120
  id: trailingVisualId,
121
121
  "data-testid": "text-input-trailing-visual",
122
- children: typeof TrailingVisual !== "string" && isValidElementType(TrailingVisual) ? /*#__PURE__*/ jsx(TrailingVisual, {}) : TrailingVisual
122
+ children: typeof TrailingVisual !== "string" && isValidElementType(TrailingVisual) ? /* @__PURE__ */ jsx(TrailingVisual, {}) : TrailingVisual
123
123
  }),
124
124
  trailingAction
125
125
  ]
126
- }), characterLimit && /*#__PURE__*/ jsxs(Fragment$1, { children: [
127
- /*#__PURE__*/ jsx(AriaStatus, {
126
+ }), characterLimit && /* @__PURE__ */ jsxs(Fragment$1, { children: [
127
+ /* @__PURE__ */ jsx(AriaStatus, {
128
128
  announceOnShow: false,
129
129
  delayMs: 500,
130
130
  className: _VisuallyHidden_module_css_default.InternalVisuallyHidden,
131
131
  children: counter === null || counter === void 0 ? void 0 : counter.message
132
132
  }),
133
- /*#__PURE__*/ jsxs(VisuallyHidden, {
133
+ /* @__PURE__ */ jsxs(VisuallyHidden, {
134
134
  id: characterCountStaticMessageId,
135
135
  children: [
136
136
  "You can enter up to ",
@@ -139,13 +139,13 @@ const TextInput = /*#__PURE__*/ React.forwardRef(({ icon: IconComponent, leading
139
139
  characterLimit === 1 ? "character" : "characters"
140
140
  ]
141
141
  }),
142
- /*#__PURE__*/ jsxs(Text_default, {
142
+ /* @__PURE__ */ jsxs(Text_default, {
143
143
  "aria-hidden": "true",
144
144
  id: characterCountId,
145
145
  size: "small",
146
146
  className: clsx(TextInput_module_css_default.CharacterCounter, isOverLimit && TextInput_module_css_default["CharacterCounter--error"]),
147
147
  "data-component": "TextInput.CharacterCounter",
148
- children: [isOverLimit && /*#__PURE__*/ jsx(AlertFillIcon, { size: 16 }), counter === null || counter === void 0 ? void 0 : counter.message]
148
+ children: [isOverLimit && /* @__PURE__ */ jsx(AlertFillIcon, { size: 16 }), counter === null || counter === void 0 ? void 0 : counter.message]
149
149
  })
150
150
  ] })] });
151
151
  });
@@ -16,9 +16,6 @@ import { isFocusable } from "@primer/behaviors/utils";
16
16
  import { FocusKeys } from "@primer/behaviors";
17
17
  import { isValidElementType } from "react-is";
18
18
  //#region src/TextInputWithTokens/TextInputWithTokens.tsx
19
- /**
20
- * @deprecated
21
- */
22
19
  const overflowCountClassMap = {
23
20
  small: TextInputWithTokens_module_css_default.OverflowCountSmall,
24
21
  medium: TextInputWithTokens_module_css_default.OverflowCountMedium,
@@ -334,7 +331,7 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
334
331
  } else t26 = $[70];
335
332
  let t27;
336
333
  if ($[71] !== IconComponent || $[72] !== LeadingVisual) {
337
- t27 = IconComponent && !LeadingVisual && /*#__PURE__*/ jsx(IconComponent, {
334
+ t27 = IconComponent && !LeadingVisual && /* @__PURE__ */ jsx(IconComponent, {
338
335
  className: "TextInput-icon",
339
336
  "data-component": "TextInputWithTokens.Icon"
340
337
  });
@@ -345,13 +342,13 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
345
342
  const t28 = typeof loading === "boolean";
346
343
  let t29;
347
344
  if ($[74] !== LeadingVisual) {
348
- t29 = typeof LeadingVisual !== "string" && isValidElementType(LeadingVisual) ? /*#__PURE__*/ jsx(LeadingVisual, {}) : LeadingVisual;
345
+ t29 = typeof LeadingVisual !== "string" && isValidElementType(LeadingVisual) ? /* @__PURE__ */ jsx(LeadingVisual, {}) : LeadingVisual;
349
346
  $[74] = LeadingVisual;
350
347
  $[75] = t29;
351
348
  } else t29 = $[75];
352
349
  let t30;
353
350
  if ($[76] !== showLeadingLoadingIndicator || $[77] !== t28 || $[78] !== t29) {
354
- t30 = /*#__PURE__*/ jsx(TextInputInnerVisualSlot, {
351
+ t30 = /* @__PURE__ */ jsx(TextInputInnerVisualSlot, {
355
352
  hasLoadingIndicator: t28,
356
353
  visualPosition: "leading",
357
354
  showLoadingIndicator: showLeadingLoadingIndicator,
@@ -368,7 +365,7 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
368
365
  const t33 = ariaDescribedBy || void 0;
369
366
  let t34;
370
367
  if ($[80] !== disabled || $[81] !== handleInputBlur || $[82] !== handleInputFocus || $[83] !== handleInputKeyDown || $[84] !== inputPropsRest || $[85] !== mergedRef || $[86] !== role || $[87] !== t32 || $[88] !== t33) {
371
- t34 = /*#__PURE__*/ jsx(UnstyledTextInput, {
368
+ t34 = /* @__PURE__ */ jsx(UnstyledTextInput, {
372
369
  ref: mergedRef,
373
370
  disabled,
374
371
  onFocus: handleInputFocus,
@@ -395,7 +392,7 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
395
392
  } else t34 = $[89];
396
393
  let t35;
397
394
  if ($[90] !== selectedValuesDescription || $[91] !== selectedValuesDescriptionId || $[92] !== shouldExposeSelectedValuesDescription) {
398
- t35 = shouldExposeSelectedValuesDescription ? /*#__PURE__*/ jsx(VisuallyHidden, {
395
+ t35 = shouldExposeSelectedValuesDescription ? /* @__PURE__ */ jsx(VisuallyHidden, {
399
396
  id: selectedValuesDescriptionId,
400
397
  children: selectedValuesDescription
401
398
  }) : null;
@@ -406,7 +403,7 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
406
403
  } else t35 = $[93];
407
404
  let t36;
408
405
  if ($[94] !== t34 || $[95] !== t35) {
409
- t36 = /*#__PURE__*/ jsxs("div", {
406
+ t36 = /* @__PURE__ */ jsxs("div", {
410
407
  className: TextInputWithTokens_module_css_default.InputWrapper,
411
408
  children: [t34, t35]
412
409
  });
@@ -420,7 +417,7 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
420
417
  if ($[107] !== TokenComponent || $[108] !== disabled || $[109] !== handleTokenBlur || $[110] !== handleTokenFocus || $[111] !== handleTokenRemove || $[112] !== hideTokenRemoveButtons || $[113] !== selectedTokenIndex || $[114] !== size) {
421
418
  t38 = (t39, i) => {
422
419
  const { id, ...tokenRest } = t39;
423
- return /*#__PURE__*/ jsx(TokenComponent, {
420
+ return /* @__PURE__ */ jsx(TokenComponent, {
424
421
  disabled,
425
422
  onFocus: handleTokenFocus(i),
426
423
  onBlur: handleTokenBlur,
@@ -461,7 +458,7 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
461
458
  } else t37 = $[106];
462
459
  let t38;
463
460
  if ($[116] !== size || $[117] !== tokens.length || $[118] !== tokensAreTruncated || $[119] !== visibleTokens.length) {
464
- t38 = tokensAreTruncated && tokens.length - visibleTokens.length ? /*#__PURE__*/ jsxs(Text_default, {
461
+ t38 = tokensAreTruncated && tokens.length - visibleTokens.length ? /* @__PURE__ */ jsxs(Text_default, {
465
462
  className: overflowCountClassMap[size],
466
463
  "data-component": "TextInputWithTokens.OverflowCount",
467
464
  children: ["+", tokens.length - visibleTokens.length]
@@ -474,7 +471,7 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
474
471
  } else t38 = $[120];
475
472
  let t39;
476
473
  if ($[121] !== preventTokenWrapping || $[122] !== t31 || $[123] !== t36 || $[124] !== t37 || $[125] !== t38) {
477
- t39 = /*#__PURE__*/ jsxs("div", {
474
+ t39 = /* @__PURE__ */ jsxs("div", {
478
475
  ref: t31,
479
476
  className: TextInputWithTokens_module_css_default.Container,
480
477
  "data-prevent-token-wrapping": preventTokenWrapping,
@@ -494,13 +491,13 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
494
491
  const t40 = typeof loading === "boolean";
495
492
  let t41;
496
493
  if ($[127] !== TrailingVisual) {
497
- t41 = typeof TrailingVisual !== "string" && isValidElementType(TrailingVisual) ? /*#__PURE__*/ jsx(TrailingVisual, {}) : TrailingVisual;
494
+ t41 = typeof TrailingVisual !== "string" && isValidElementType(TrailingVisual) ? /* @__PURE__ */ jsx(TrailingVisual, {}) : TrailingVisual;
498
495
  $[127] = TrailingVisual;
499
496
  $[128] = t41;
500
497
  } else t41 = $[128];
501
498
  let t42;
502
499
  if ($[129] !== showTrailingLoadingIndicator || $[130] !== t40 || $[131] !== t41) {
503
- t42 = /*#__PURE__*/ jsx(TextInputInnerVisualSlot, {
500
+ t42 = /* @__PURE__ */ jsx(TextInputInnerVisualSlot, {
504
501
  hasLoadingIndicator: t40,
505
502
  visualPosition: "trailing",
506
503
  showLoadingIndicator: showTrailingLoadingIndicator,
@@ -514,7 +511,7 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
514
511
  } else t42 = $[132];
515
512
  let t43;
516
513
  if ($[133] !== block || $[134] !== contrast || $[135] !== disabled || $[136] !== maxWidthProp || $[137] !== minWidthProp || $[138] !== t21 || $[139] !== t22 || $[140] !== t23 || $[141] !== t24 || $[142] !== t25 || $[143] !== t26 || $[144] !== t27 || $[145] !== t30 || $[146] !== t39 || $[147] !== t42 || $[148] !== validationStatus || $[149] !== variantProp || $[150] !== widthProp) {
517
- t43 = /*#__PURE__*/ jsxs(TextInputWrapper, {
514
+ t43 = /* @__PURE__ */ jsxs(TextInputWrapper, {
518
515
  block,
519
516
  contrast,
520
517
  disabled,
@@ -133,7 +133,7 @@ const Textarea = /*#__PURE__*/ React.forwardRef((t0, ref) => {
133
133
  } else t10 = $[56];
134
134
  let t11;
135
135
  if ($[57] !== cols || $[58] !== defaultValue || $[59] !== disabled || $[60] !== handleTextareaChange || $[61] !== ref || $[62] !== required || $[63] !== resize || $[64] !== rest || $[65] !== rows || $[66] !== t10 || $[67] !== t7 || $[68] !== t8 || $[69] !== t9 || $[70] !== value) {
136
- t11 = /*#__PURE__*/ jsx("textarea", {
136
+ t11 = /* @__PURE__ */ jsx("textarea", {
137
137
  value,
138
138
  defaultValue,
139
139
  "data-component": "Textarea",
@@ -169,7 +169,7 @@ const Textarea = /*#__PURE__*/ React.forwardRef((t0, ref) => {
169
169
  } else t11 = $[71];
170
170
  let t12;
171
171
  if ($[72] !== block || $[73] !== className || $[74] !== contrast || $[75] !== disabled || $[76] !== isValid || $[77] !== t11) {
172
- t12 = /*#__PURE__*/ jsx(TextInputBaseWrapper, {
172
+ t12 = /* @__PURE__ */ jsx(TextInputBaseWrapper, {
173
173
  validationStatus: isValid,
174
174
  disabled,
175
175
  block,
@@ -185,14 +185,14 @@ const Textarea = /*#__PURE__*/ React.forwardRef((t0, ref) => {
185
185
  $[77] = t11;
186
186
  $[78] = t12;
187
187
  } else t12 = $[78];
188
- t5 = /*#__PURE__*/ jsxs(Fragment$1, { children: [t12, characterLimit && /*#__PURE__*/ jsxs(Fragment$1, { children: [
189
- /*#__PURE__*/ jsx(AriaStatus, {
188
+ t5 = /* @__PURE__ */ jsxs(Fragment$1, { children: [t12, characterLimit && /* @__PURE__ */ jsxs(Fragment$1, { children: [
189
+ /* @__PURE__ */ jsx(AriaStatus, {
190
190
  announceOnShow: false,
191
191
  delayMs: 500,
192
192
  className: _VisuallyHidden_module_css_default.InternalVisuallyHidden,
193
193
  children: counter === null || counter === void 0 ? void 0 : counter.message
194
194
  }),
195
- /*#__PURE__*/ jsxs(VisuallyHidden, {
195
+ /* @__PURE__ */ jsxs(VisuallyHidden, {
196
196
  id: characterCountStaticMessageId,
197
197
  children: [
198
198
  "You can enter up to ",
@@ -201,12 +201,12 @@ const Textarea = /*#__PURE__*/ React.forwardRef((t0, ref) => {
201
201
  characterLimit === 1 ? "character" : "characters"
202
202
  ]
203
203
  }),
204
- /*#__PURE__*/ jsxs(Text_default, {
204
+ /* @__PURE__ */ jsxs(Text_default, {
205
205
  "aria-hidden": "true",
206
206
  id: characterCountId,
207
207
  size: "small",
208
208
  className: clsx(TextArea_module_css_default.CharacterCounter, isOverLimit && TextArea_module_css_default["CharacterCounter--error"]),
209
- children: [isOverLimit && /*#__PURE__*/ jsx(AlertFillIcon, { size: 16 }), counter === null || counter === void 0 ? void 0 : counter.message]
209
+ children: [isOverLimit && /* @__PURE__ */ jsx(AlertFillIcon, { size: 16 }), counter === null || counter === void 0 ? void 0 : counter.message]
210
210
  })
211
211
  ] })] });
212
212
  $[21] = autoSize;
@@ -2,7 +2,6 @@ import theme from "./theme.js";
2
2
  import { c } from "./utils/react-compiler-runtime.js";
3
3
  import { ThemeProviderBase } from "./internal/components/ThemeProviderBase.js";
4
4
  import { useThemeProvider } from "./internal/hooks/useThemeProvider.js";
5
- import "react";
6
5
  import { jsx } from "react/jsx-runtime";
7
6
  import deepmerge from "deepmerge";
8
7
  //#region src/ThemeProvider.tsx
@@ -48,7 +47,7 @@ const ThemeProvider = (t0) => {
48
47
  const contextValue = t2;
49
48
  let t3;
50
49
  if ($[10] !== children || $[11] !== contextValue || $[12] !== props.contextOnly) {
51
- t3 = /*#__PURE__*/ jsx(ThemeProviderBase, {
50
+ t3 = /* @__PURE__ */ jsx(ThemeProviderBase, {
52
51
  contextOnly: props.contextOnly,
53
52
  value: contextValue,
54
53
  children
@@ -43,7 +43,7 @@ const Timeline = /*#__PURE__*/ React.forwardRef((t0, forwardRef) => {
43
43
  const t3 = forwardRef;
44
44
  let t4;
45
45
  if ($[8] !== props || $[9] !== resolvedClipSidebar || $[10] !== t2 || $[11] !== t3) {
46
- t4 = /*#__PURE__*/ jsx("ol", {
46
+ t4 = /* @__PURE__ */ jsx("ol", {
47
47
  ...props,
48
48
  role: "list",
49
49
  className: t2,
@@ -68,7 +68,7 @@ const Timeline = /*#__PURE__*/ React.forwardRef((t0, forwardRef) => {
68
68
  const t4 = forwardRef;
69
69
  let t5;
70
70
  if ($[15] !== resolvedClipSidebar || $[16] !== t2 || $[17] !== t3 || $[18] !== t4) {
71
- t5 = /*#__PURE__*/ jsx("div", {
71
+ t5 = /* @__PURE__ */ jsx("div", {
72
72
  ...t2,
73
73
  className: t3,
74
74
  ref: t4,
@@ -83,9 +83,6 @@ const Timeline = /*#__PURE__*/ React.forwardRef((t0, forwardRef) => {
83
83
  return t5;
84
84
  });
85
85
  Timeline.displayName = "Timeline";
86
- /**
87
- * @deprecated Use the `TimelineItemProps` type instead
88
- */
89
86
  const TimelineItem = /*#__PURE__*/ React.forwardRef((t0, forwardRef) => {
90
87
  const $ = c(18);
91
88
  let className;
@@ -113,7 +110,7 @@ const TimelineItem = /*#__PURE__*/ React.forwardRef((t0, forwardRef) => {
113
110
  const t3 = condensed ? "" : void 0;
114
111
  let t4;
115
112
  if ($[6] !== props || $[7] !== t1 || $[8] !== t2 || $[9] !== t3) {
116
- t4 = /*#__PURE__*/ jsx("li", {
113
+ t4 = /* @__PURE__ */ jsx("li", {
117
114
  ...props,
118
115
  className: t1,
119
116
  ref: t2,
@@ -138,7 +135,7 @@ const TimelineItem = /*#__PURE__*/ React.forwardRef((t0, forwardRef) => {
138
135
  const t4 = condensed ? "" : void 0;
139
136
  let t5;
140
137
  if ($[13] !== t1 || $[14] !== t2 || $[15] !== t3 || $[16] !== t4) {
141
- t5 = /*#__PURE__*/ jsx("div", {
138
+ t5 = /* @__PURE__ */ jsx("div", {
142
139
  ...t1,
143
140
  className: t2,
144
141
  ref: t3,
@@ -177,9 +174,9 @@ const TimelineBadge = (t0) => {
177
174
  } else t1 = $[5];
178
175
  let t2;
179
176
  if ($[6] !== props || $[7] !== t1 || $[8] !== variant) {
180
- t2 = /*#__PURE__*/ jsx("div", {
177
+ t2 = /* @__PURE__ */ jsx("div", {
181
178
  className: Timeline_module_css_default.TimelineBadgeWrapper,
182
- children: /*#__PURE__*/ jsx("div", {
179
+ children: /* @__PURE__ */ jsx("div", {
183
180
  ...props,
184
181
  className: t1,
185
182
  "data-variant": variant
@@ -214,7 +211,7 @@ const TimelineBody = /*#__PURE__*/ React.forwardRef((t0, forwardRef) => {
214
211
  } else t1 = $[4];
215
212
  let t2;
216
213
  if ($[5] !== forwardRef || $[6] !== props || $[7] !== t1) {
217
- t2 = /*#__PURE__*/ jsx("div", {
214
+ t2 = /* @__PURE__ */ jsx("div", {
218
215
  ...props,
219
216
  className: t1,
220
217
  ref: forwardRef
@@ -250,7 +247,7 @@ const TimelineBreak = /*#__PURE__*/ React.forwardRef((t0, forwardRef) => {
250
247
  const t2 = forwardRef;
251
248
  let t3;
252
249
  if ($[5] !== props || $[6] !== t1 || $[7] !== t2) {
253
- t3 = /*#__PURE__*/ jsx("li", {
250
+ t3 = /* @__PURE__ */ jsx("li", {
254
251
  ...props,
255
252
  className: t1,
256
253
  ref: t2,
@@ -273,7 +270,7 @@ const TimelineBreak = /*#__PURE__*/ React.forwardRef((t0, forwardRef) => {
273
270
  const t3 = forwardRef;
274
271
  let t4;
275
272
  if ($[11] !== t1 || $[12] !== t2 || $[13] !== t3) {
276
- t4 = /*#__PURE__*/ jsx("div", {
273
+ t4 = /* @__PURE__ */ jsx("div", {
277
274
  ...t1,
278
275
  className: t2,
279
276
  ref: t3
@@ -307,7 +304,7 @@ const TimelineActions = /*#__PURE__*/ React.forwardRef((t0, forwardRef) => {
307
304
  } else t1 = $[4];
308
305
  let t2;
309
306
  if ($[5] !== forwardRef || $[6] !== props || $[7] !== t1) {
310
- t2 = /*#__PURE__*/ jsx("div", {
307
+ t2 = /* @__PURE__ */ jsx("div", {
311
308
  ...props,
312
309
  className: t1,
313
310
  ref: forwardRef
@@ -341,7 +338,7 @@ const TimelineAvatar = /*#__PURE__*/ React.forwardRef((t0, forwardRef) => {
341
338
  } else t1 = $[4];
342
339
  let t2;
343
340
  if ($[5] !== forwardRef || $[6] !== props || $[7] !== t1) {
344
- t2 = /*#__PURE__*/ jsx("div", {
341
+ t2 = /* @__PURE__ */ jsx("div", {
345
342
  ...props,
346
343
  className: t1,
347
344
  ref: forwardRef
@@ -17,7 +17,7 @@ const CircleIcon = (t0) => {
17
17
  const t2 = size === "small" ? "12" : "16";
18
18
  let t3;
19
19
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
20
- t3 = /*#__PURE__*/ jsx("path", {
20
+ t3 = /* @__PURE__ */ jsx("path", {
21
21
  fillRule: "evenodd",
22
22
  d: "M8 12.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12Z"
23
23
  });
@@ -25,7 +25,7 @@ const CircleIcon = (t0) => {
25
25
  } else t3 = $[0];
26
26
  let t4;
27
27
  if ($[1] !== t1 || $[2] !== t2) {
28
- t4 = /*#__PURE__*/ jsx("svg", {
28
+ t4 = /* @__PURE__ */ jsx("svg", {
29
29
  "aria-hidden": "true",
30
30
  width: t1,
31
31
  height: t2,
@@ -47,7 +47,7 @@ const LineIcon = (t0) => {
47
47
  const t2 = size === "small" ? "12" : "16";
48
48
  let t3;
49
49
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
50
- t3 = /*#__PURE__*/ jsx("path", {
50
+ t3 = /* @__PURE__ */ jsx("path", {
51
51
  fillRule: "evenodd",
52
52
  d: "M8 2a.75.75 0 0 1 .75.75v11.5a.75.75 0 0 1-1.5 0V2.75A.75.75 0 0 1 8 2Z"
53
53
  });
@@ -55,7 +55,7 @@ const LineIcon = (t0) => {
55
55
  } else t3 = $[0];
56
56
  let t4;
57
57
  if ($[1] !== t1 || $[2] !== t2) {
58
- t4 = /*#__PURE__*/ jsx("svg", {
58
+ t4 = /* @__PURE__ */ jsx("svg", {
59
59
  "aria-hidden": "true",
60
60
  width: t1,
61
61
  height: t2,
@@ -197,7 +197,7 @@ const ToggleSwitch = /*#__PURE__*/ React.forwardRef(function ToggleSwitch(props,
197
197
  const t9 = isLoadingLabelVisible && loadingLabel;
198
198
  let t10;
199
199
  if ($[34] !== loadingLabelId || $[35] !== t9) {
200
- t10 = /*#__PURE__*/ jsx(VisuallyHidden, { children: /*#__PURE__*/ jsx(AriaStatus, {
200
+ t10 = /* @__PURE__ */ jsx(VisuallyHidden, { children: /* @__PURE__ */ jsx(AriaStatus, {
201
201
  announceOnShow: true,
202
202
  id: loadingLabelId,
203
203
  children: t9
@@ -208,10 +208,10 @@ const ToggleSwitch = /*#__PURE__*/ React.forwardRef(function ToggleSwitch(props,
208
208
  } else t10 = $[36];
209
209
  let t11;
210
210
  if ($[37] !== loading || $[38] !== statusLabelPosition) {
211
- t11 = loading ? /*#__PURE__*/ jsx("div", {
211
+ t11 = loading ? /* @__PURE__ */ jsx("div", {
212
212
  className: ToggleSwitch_module_css_default.LoadingSpinner,
213
213
  "data-status-label-position": statusLabelPosition,
214
- children: /*#__PURE__*/ jsx(Spinner, {
214
+ children: /* @__PURE__ */ jsx(Spinner, {
215
215
  size: "small",
216
216
  srText: null
217
217
  })
@@ -225,7 +225,7 @@ const ToggleSwitch = /*#__PURE__*/ React.forwardRef(function ToggleSwitch(props,
225
225
  const t14 = (_buttonLabelOn = buttonLabelOn) !== null && _buttonLabelOn !== void 0 ? _buttonLabelOn : "On";
226
226
  let t15;
227
227
  if ($[40] !== t13 || $[41] !== t14) {
228
- t15 = /*#__PURE__*/ jsx("span", {
228
+ t15 = /* @__PURE__ */ jsx("span", {
229
229
  className: ToggleSwitch_module_css_default.StatusTextItem,
230
230
  "data-hidden": t13,
231
231
  children: t14
@@ -237,7 +237,7 @@ const ToggleSwitch = /*#__PURE__*/ React.forwardRef(function ToggleSwitch(props,
237
237
  const t16 = (_buttonLabelOff = buttonLabelOff) !== null && _buttonLabelOff !== void 0 ? _buttonLabelOff : "Off";
238
238
  let t17;
239
239
  if ($[43] !== isOn || $[44] !== t16) {
240
- t17 = /*#__PURE__*/ jsx("span", {
240
+ t17 = /* @__PURE__ */ jsx("span", {
241
241
  className: ToggleSwitch_module_css_default.StatusTextItem,
242
242
  "data-hidden": isOn,
243
243
  children: t16
@@ -248,7 +248,7 @@ const ToggleSwitch = /*#__PURE__*/ React.forwardRef(function ToggleSwitch(props,
248
248
  } else t17 = $[45];
249
249
  let t18;
250
250
  if ($[46] !== handleToggleClick || $[47] !== size || $[48] !== t12 || $[49] !== t15 || $[50] !== t17) {
251
- t18 = /*#__PURE__*/ jsxs("span", {
251
+ t18 = /* @__PURE__ */ jsxs("span", {
252
252
  className: ToggleSwitch_module_css_default.StatusText,
253
253
  "data-size": size,
254
254
  "data-disabled": t12,
@@ -269,13 +269,13 @@ const ToggleSwitch = /*#__PURE__*/ React.forwardRef(function ToggleSwitch(props,
269
269
  const t22 = !acceptsInteraction;
270
270
  let t23;
271
271
  if ($[52] !== size) {
272
- t23 = /*#__PURE__*/ jsx(LineIcon, { size });
272
+ t23 = /* @__PURE__ */ jsx(LineIcon, { size });
273
273
  $[52] = size;
274
274
  $[53] = t23;
275
275
  } else t23 = $[53];
276
276
  let t24;
277
277
  if ($[54] !== isOn || $[55] !== t22 || $[56] !== t23) {
278
- t24 = /*#__PURE__*/ jsx("div", {
278
+ t24 = /* @__PURE__ */ jsx("div", {
279
279
  className: `${ToggleSwitch_module_css_default.IconContainer} ${ToggleSwitch_module_css_default.LineIconContainer}`,
280
280
  "data-checked": isOn,
281
281
  "data-disabled": t22,
@@ -289,13 +289,13 @@ const ToggleSwitch = /*#__PURE__*/ React.forwardRef(function ToggleSwitch(props,
289
289
  const t25 = !acceptsInteraction;
290
290
  let t26;
291
291
  if ($[58] !== size) {
292
- t26 = /*#__PURE__*/ jsx(CircleIcon, { size });
292
+ t26 = /* @__PURE__ */ jsx(CircleIcon, { size });
293
293
  $[58] = size;
294
294
  $[59] = t26;
295
295
  } else t26 = $[59];
296
296
  let t27;
297
297
  if ($[60] !== isOn || $[61] !== t25 || $[62] !== t26) {
298
- t27 = /*#__PURE__*/ jsx("div", {
298
+ t27 = /* @__PURE__ */ jsx("div", {
299
299
  className: `${ToggleSwitch_module_css_default.IconContainer} ${ToggleSwitch_module_css_default.CircleIconContainer}`,
300
300
  "data-checked": isOn,
301
301
  "data-disabled": t25,
@@ -308,7 +308,7 @@ const ToggleSwitch = /*#__PURE__*/ React.forwardRef(function ToggleSwitch(props,
308
308
  } else t27 = $[63];
309
309
  let t28;
310
310
  if ($[64] !== t24 || $[65] !== t27) {
311
- t28 = /*#__PURE__*/ jsxs("div", {
311
+ t28 = /* @__PURE__ */ jsxs("div", {
312
312
  className: ToggleSwitch_module_css_default.SwitchButtonContent,
313
313
  "aria-hidden": "true",
314
314
  children: [t24, t27]
@@ -320,7 +320,7 @@ const ToggleSwitch = /*#__PURE__*/ React.forwardRef(function ToggleSwitch(props,
320
320
  const t29 = !acceptsInteraction;
321
321
  let t30;
322
322
  if ($[67] !== isOn || $[68] !== t29) {
323
- t30 = /*#__PURE__*/ jsx("div", {
323
+ t30 = /* @__PURE__ */ jsx("div", {
324
324
  className: ToggleSwitch_module_css_default.ToggleKnob,
325
325
  "data-checked": isOn,
326
326
  "data-disabled": t29,
@@ -332,7 +332,7 @@ const ToggleSwitch = /*#__PURE__*/ React.forwardRef(function ToggleSwitch(props,
332
332
  } else t30 = $[69];
333
333
  let t31;
334
334
  if ($[70] !== ariaLabelledby || $[71] !== buttonType || $[72] !== handleToggleClick || $[73] !== isOn || $[74] !== ref || $[75] !== size || $[76] !== t19 || $[77] !== t20 || $[78] !== t21 || $[79] !== t28 || $[80] !== t30) {
335
- t31 = /*#__PURE__*/ jsxs("button", {
335
+ t31 = /* @__PURE__ */ jsxs("button", {
336
336
  ref,
337
337
  type: buttonType,
338
338
  className: ToggleSwitch_module_css_default.SwitchButton,
@@ -361,7 +361,7 @@ const ToggleSwitch = /*#__PURE__*/ React.forwardRef(function ToggleSwitch(props,
361
361
  } else t31 = $[81];
362
362
  let t32;
363
363
  if ($[82] !== rest || $[83] !== statusLabelPosition || $[84] !== t10 || $[85] !== t11 || $[86] !== t18 || $[87] !== t31 || $[88] !== t8) {
364
- t32 = /*#__PURE__*/ jsxs("div", {
364
+ t32 = /* @__PURE__ */ jsxs("div", {
365
365
  className: t8,
366
366
  "data-status-label-position": statusLabelPosition,
367
367
  ...rest,
@@ -194,7 +194,7 @@ const IssueLabelToken = /*#__PURE__*/ forwardRef((props, forwardedRef) => {
194
194
  } else t21 = $[56];
195
195
  let t22;
196
196
  if ($[57] !== t21 || $[58] !== text) {
197
- t22 = /*#__PURE__*/ jsx(TokenTextContainer, {
197
+ t22 = /* @__PURE__ */ jsx(TokenTextContainer, {
198
198
  ...t21,
199
199
  children: text
200
200
  });
@@ -204,7 +204,7 @@ const IssueLabelToken = /*#__PURE__*/ forwardRef((props, forwardedRef) => {
204
204
  } else t22 = $[59];
205
205
  let t23;
206
206
  if ($[60] !== hasMultipleActionTargets || $[61] !== hideRemoveButton || $[62] !== onRemove || $[63] !== onRemoveClick || $[64] !== props || $[65] !== size) {
207
- t23 = !hideRemoveButton && onRemove ? /*#__PURE__*/ jsx(RemoveTokenButton, {
207
+ t23 = !hideRemoveButton && onRemove ? /* @__PURE__ */ jsx(RemoveTokenButton, {
208
208
  borderOffset: 1,
209
209
  onClick: onRemoveClick,
210
210
  size,
@@ -223,7 +223,7 @@ const IssueLabelToken = /*#__PURE__*/ forwardRef((props, forwardedRef) => {
223
223
  } else t23 = $[66];
224
224
  let t24;
225
225
  if ($[67] !== customProperties || $[68] !== forwardedRef || $[69] !== isSelected || $[70] !== onRemove || $[71] !== rest || $[72] !== size || $[73] !== t17 || $[74] !== t18 || $[75] !== t19 || $[76] !== t20 || $[77] !== t22 || $[78] !== t23 || $[79] !== text) {
226
- t24 = /*#__PURE__*/ jsxs(TokenBase, {
226
+ t24 = /* @__PURE__ */ jsxs(TokenBase, {
227
227
  onRemove,
228
228
  id: t17,
229
229
  isSelected,
@@ -28,7 +28,7 @@ const LeadingVisualContainer = (t0) => {
28
28
  } else t2 = $[3];
29
29
  let t3;
30
30
  if ($[4] !== children || $[5] !== t2) {
31
- t3 = /*#__PURE__*/ jsx("div", {
31
+ t3 = /* @__PURE__ */ jsx("div", {
32
32
  className: t2,
33
33
  children
34
34
  });
@@ -146,9 +146,9 @@ const Token = /*#__PURE__*/ forwardRef((props, forwardedRef) => {
146
146
  } else t8 = $[31];
147
147
  let t9;
148
148
  if ($[32] !== LeadingVisual || $[33] !== size) {
149
- t9 = LeadingVisual && size !== "small" ? /*#__PURE__*/ jsx(LeadingVisualContainer, {
149
+ t9 = LeadingVisual && size !== "small" ? /* @__PURE__ */ jsx(LeadingVisualContainer, {
150
150
  size,
151
- children: /*#__PURE__*/ jsx(LeadingVisual, {})
151
+ children: /* @__PURE__ */ jsx(LeadingVisual, {})
152
152
  }) : null;
153
153
  $[32] = LeadingVisual;
154
154
  $[33] = size;
@@ -163,13 +163,13 @@ const Token = /*#__PURE__*/ forwardRef((props, forwardedRef) => {
163
163
  } else t10 = $[37];
164
164
  let t11;
165
165
  if ($[38] !== onRemove) {
166
- t11 = onRemove && /*#__PURE__*/ jsx(VisuallyHidden, { children: " (press backspace or delete to remove)" });
166
+ t11 = onRemove && /* @__PURE__ */ jsx(VisuallyHidden, { children: " (press backspace or delete to remove)" });
167
167
  $[38] = onRemove;
168
168
  $[39] = t11;
169
169
  } else t11 = $[39];
170
170
  let t12;
171
171
  if ($[40] !== t10 || $[41] !== t11 || $[42] !== text) {
172
- t12 = /*#__PURE__*/ jsxs(TokenTextContainer, {
172
+ t12 = /* @__PURE__ */ jsxs(TokenTextContainer, {
173
173
  ...t10,
174
174
  children: [text, t11]
175
175
  });
@@ -180,7 +180,7 @@ const Token = /*#__PURE__*/ forwardRef((props, forwardedRef) => {
180
180
  } else t12 = $[43];
181
181
  let t13;
182
182
  if ($[44] !== hasMultipleActionTargets || $[45] !== hideRemoveButton || $[46] !== onRemove || $[47] !== onRemoveClick || $[48] !== props || $[49] !== size) {
183
- t13 = !hideRemoveButton && onRemove ? /*#__PURE__*/ jsx(RemoveTokenButton, {
183
+ t13 = !hideRemoveButton && onRemove ? /* @__PURE__ */ jsx(RemoveTokenButton, {
184
184
  borderOffset: tokenBorderWidthPx,
185
185
  onClick: onRemoveClick,
186
186
  size,
@@ -197,7 +197,7 @@ const Token = /*#__PURE__*/ forwardRef((props, forwardedRef) => {
197
197
  } else t13 = $[50];
198
198
  let t14;
199
199
  if ($[51] !== forwardedRef || $[52] !== onRemove || $[53] !== props.isSelected || $[54] !== rest || $[55] !== size || $[56] !== t12 || $[57] !== t13 || $[58] !== t4 || $[59] !== t5 || $[60] !== t6 || $[61] !== t7 || $[62] !== t8 || $[63] !== t9 || $[64] !== text) {
200
- t14 = /*#__PURE__*/ jsxs(TokenBase, {
200
+ t14 = /* @__PURE__ */ jsxs(TokenBase, {
201
201
  onRemove,
202
202
  id: t4,
203
203
  className: t5,
@@ -74,7 +74,7 @@ const TokenBase = /*#__PURE__*/ React.forwardRef((t0, forwardedRef) => {
74
74
  const t6 = forwardedRef;
75
75
  let t7;
76
76
  if ($[16] !== T0 || $[17] !== size || $[18] !== t1 || $[19] !== t2 || $[20] !== t3 || $[21] !== t4 || $[22] !== t5 || $[23] !== t6) {
77
- t7 = /*#__PURE__*/ jsx(T0, {
77
+ t7 = /* @__PURE__ */ jsx(T0, {
78
78
  onKeyDown: t1,
79
79
  className: t2,
80
80
  "data-cursor-is-interactive": t3,
@@ -5,16 +5,16 @@ import { clsx } from "clsx";
5
5
  import { XIcon } from "@primer/octicons-react";
6
6
  //#region src/Token/_RemoveTokenButton.tsx
7
7
  const RemoveTokenButton = ({ "aria-label": ariaLabel, isParentInteractive, size = defaultTokenSize, className, borderOffset = 0, as: _as, children: _children, ...rest }) => {
8
- if (isParentInteractive) return /*#__PURE__*/ jsx("span", {
8
+ if (isParentInteractive) return /* @__PURE__ */ jsx("span", {
9
9
  ...rest,
10
10
  tabIndex: -1,
11
11
  "aria-label": ariaLabel,
12
12
  "data-size": size,
13
13
  className: clsx(_RemoveTokenButton_module_css_default.TokenButton, className),
14
14
  style: { transform: `translate(${borderOffset}px, -${borderOffset}px)` },
15
- children: /*#__PURE__*/ jsx(XIcon, { size: size === "small" || size === "medium" ? 12 : 16 })
15
+ children: /* @__PURE__ */ jsx(XIcon, { size: size === "small" || size === "medium" ? 12 : 16 })
16
16
  });
17
- return /*#__PURE__*/ jsx("button", {
17
+ return /* @__PURE__ */ jsx("button", {
18
18
  ...rest,
19
19
  "aria-label": "Remove token",
20
20
  "data-size": size,
@@ -22,9 +22,8 @@ const RemoveTokenButton = ({ "aria-label": ariaLabel, isParentInteractive, size
22
22
  style: { transform: `translate(${borderOffset}px, -${borderOffset}px)` },
23
23
  ref: rest.ref,
24
24
  type: "button",
25
- children: /*#__PURE__*/ jsx(XIcon, { size: size === "small" || size === "medium" ? 12 : 16 })
25
+ children: /* @__PURE__ */ jsx(XIcon, { size: size === "small" || size === "medium" ? 12 : 16 })
26
26
  });
27
27
  };
28
- RemoveTokenButton.displayName = "RemoveTokenButton";
29
28
  //#endregion
30
29
  export { RemoveTokenButton as default };
@@ -38,7 +38,7 @@ const TokenTextContainer = (t0) => {
38
38
  const t4 = Component === "button" ? props : Component === "a" ? props : props;
39
39
  let t5;
40
40
  if ($[8] !== Component || $[9] !== children || $[10] !== t3 || $[11] !== t4) {
41
- t5 = /*#__PURE__*/ jsx(Component, {
41
+ t5 = /* @__PURE__ */ jsx(Component, {
42
42
  className: t2,
43
43
  id: t3,
44
44
  ...t4,