@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
@@ -141,7 +141,7 @@ const Panel = ({ title, description, variant: propsVariant, selectionVariant = "
141
141
  let maxHeightValue = heightMap[maxHeight];
142
142
  if (currentVariant === "bottom-sheet") maxHeightValue = "calc(100vh - 64px)";
143
143
  else if (currentVariant === "full-screen") maxHeightValue = "100vh";
144
- return /*#__PURE__*/ jsxs(Fragment$1, { children: [Anchor, /*#__PURE__*/ jsx(BaseOverlay, {
144
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [Anchor, /* @__PURE__ */ jsx(BaseOverlay, {
145
145
  as: "dialog",
146
146
  ref: dialogRef,
147
147
  "aria-labelledby": `${panelId}--title`,
@@ -162,7 +162,7 @@ const Panel = ({ title, description, variant: propsVariant, selectionVariant = "
162
162
  onClick: (event) => {
163
163
  if (event.target === event.currentTarget) onClickOutside();
164
164
  },
165
- children: internalOpen && /*#__PURE__*/ jsx(Fragment$1, { children: /*#__PURE__*/ jsx(SelectPanelContext.Provider, {
165
+ children: internalOpen && /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx(SelectPanelContext.Provider, {
166
166
  value: {
167
167
  panelId,
168
168
  title,
@@ -174,15 +174,15 @@ const Panel = ({ title, description, variant: propsVariant, selectionVariant = "
174
174
  selectionVariant,
175
175
  moveFocusToList
176
176
  },
177
- children: /*#__PURE__*/ jsxs("form", {
177
+ children: /* @__PURE__ */ jsxs("form", {
178
178
  method: "dialog",
179
179
  onSubmit: onInternalSubmit,
180
180
  className: SelectPanel_module_css_default.Form,
181
181
  children: [
182
- (_slots$header = slots.header) !== null && _slots$header !== void 0 ? _slots$header : /*#__PURE__*/ jsx(SelectPanelHeader, {}),
183
- /*#__PURE__*/ jsx("div", {
182
+ (_slots$header = slots.header) !== null && _slots$header !== void 0 ? _slots$header : /* @__PURE__ */ jsx(SelectPanelHeader, {}),
183
+ /* @__PURE__ */ jsx("div", {
184
184
  className: SelectPanel_module_css_default.Container,
185
- children: /*#__PURE__*/ jsx(ActionListContainerContext.Provider, {
185
+ children: /* @__PURE__ */ jsx(ActionListContainerContext.Provider, {
186
186
  value: {
187
187
  container: "SelectPanel",
188
188
  listRole: "listbox",
@@ -208,12 +208,12 @@ const SelectPanelButton = /*#__PURE__*/ React.forwardRef((props, anchorRef) => {
208
208
  const label = document.querySelector(`[for='${inputProps.id}']`);
209
209
  if (label !== null && label !== void 0 && label.textContent) setLabelText(label.textContent);
210
210
  }, [inputProps.id]);
211
- if (labelText) return /*#__PURE__*/ jsx(ButtonComponent, {
211
+ if (labelText) return /* @__PURE__ */ jsx(ButtonComponent, {
212
212
  ref: anchorRef,
213
213
  "aria-label": `${anchorRef.current.textContent}, ${labelText}`,
214
214
  ...inputProps
215
215
  });
216
- else return /*#__PURE__*/ jsx(ButtonComponent, {
216
+ else return /* @__PURE__ */ jsx(ButtonComponent, {
217
217
  ref: anchorRef,
218
218
  ...props
219
219
  });
@@ -222,44 +222,44 @@ SelectPanelButton.__SLOT__ = Symbol("SelectPanel.Button");
222
222
  const SelectPanelHeader = ({ children, onBack, className, ...props }) => {
223
223
  const [slots, childrenWithoutSlots] = useSlots(children, { searchInput: SelectPanelSearchInput });
224
224
  const { title, description, panelId, onCancel, onClearSelection } = React.useContext(SelectPanelContext);
225
- return /*#__PURE__*/ jsxs("div", {
225
+ return /* @__PURE__ */ jsxs("div", {
226
226
  className: clsx(SelectPanel_module_css_default.Header, className),
227
227
  ...props,
228
228
  children: [
229
- /*#__PURE__*/ jsxs("div", {
229
+ /* @__PURE__ */ jsxs("div", {
230
230
  className: SelectPanel_module_css_default.HeaderContent,
231
231
  "data-description": description ? true : void 0,
232
232
  "data-search-input": slots.searchInput ? true : void 0,
233
- children: [/*#__PURE__*/ jsxs("div", {
233
+ children: [/* @__PURE__ */ jsxs("div", {
234
234
  className: SelectPanel_module_css_default.FlexBox,
235
- children: [onBack ? /*#__PURE__*/ jsx(IconButton, {
235
+ children: [onBack ? /* @__PURE__ */ jsx(IconButton, {
236
236
  type: "button",
237
237
  variant: "invisible",
238
238
  icon: ArrowLeftIcon,
239
239
  "aria-label": "Back",
240
240
  onClick: () => onBack()
241
- }) : null, /*#__PURE__*/ jsxs("div", {
241
+ }) : null, /* @__PURE__ */ jsxs("div", {
242
242
  className: SelectPanel_module_css_default.TitleWrapper,
243
243
  "data-description": description ? true : void 0,
244
244
  "data-on-back": onBack ? true : void 0,
245
- children: [/*#__PURE__*/ jsx(Heading, {
245
+ children: [/* @__PURE__ */ jsx(Heading, {
246
246
  as: "h1",
247
247
  id: `${panelId}--title`,
248
248
  className: SelectPanel_module_css_default.Title,
249
249
  children: title
250
- }), description ? /*#__PURE__*/ jsx("span", {
250
+ }), description ? /* @__PURE__ */ jsx("span", {
251
251
  id: `${panelId}--description`,
252
252
  className: SelectPanel_module_css_default.Description,
253
253
  children: description
254
254
  }) : null]
255
255
  })]
256
- }), /*#__PURE__*/ jsxs("div", { children: [onClearSelection ? /*#__PURE__*/ jsx(IconButton, {
256
+ }), /* @__PURE__ */ jsxs("div", { children: [onClearSelection ? /* @__PURE__ */ jsx(IconButton, {
257
257
  type: "button",
258
258
  variant: "invisible",
259
259
  icon: FilterRemoveIcon,
260
260
  "aria-label": "Clear selection",
261
261
  onClick: onClearSelection
262
- }) : null, /*#__PURE__*/ jsx(IconButton, {
262
+ }) : null, /* @__PURE__ */ jsx(IconButton, {
263
263
  type: "button",
264
264
  variant: "invisible",
265
265
  icon: XIcon,
@@ -272,7 +272,6 @@ const SelectPanelHeader = ({ children, onBack, className, ...props }) => {
272
272
  ]
273
273
  });
274
274
  };
275
- SelectPanelHeader.displayName = "SelectPanelHeader";
276
275
  SelectPanelHeader.__SLOT__ = Symbol("SelectPanel.Header");
277
276
  const SelectPanelSearchInput = ({ onChange: propsOnChange, onKeyDown: propsOnKeyDown, className, ...props }) => {
278
277
  const inputRef = /*#__PURE__*/ React.createRef();
@@ -288,12 +287,12 @@ const SelectPanelSearchInput = ({ onChange: propsOnChange, onKeyDown: propsOnKey
288
287
  }
289
288
  if (typeof propsOnKeyDown === "function") propsOnKeyDown(event);
290
289
  };
291
- return /*#__PURE__*/ jsx(TextInput_default, {
290
+ return /* @__PURE__ */ jsx(TextInput_default, {
292
291
  ref: inputRef,
293
292
  block: true,
294
293
  leadingVisual: SearchIcon,
295
294
  placeholder: "Search",
296
- trailingAction: /*#__PURE__*/ jsx(TextInput_default.Action, {
295
+ trailingAction: /* @__PURE__ */ jsx(TextInput_default.Action, {
297
296
  icon: XCircleFillIcon,
298
297
  "aria-label": "Clear",
299
298
  tooltipDirection: "w",
@@ -312,7 +311,6 @@ const SelectPanelSearchInput = ({ onChange: propsOnChange, onKeyDown: propsOnKey
312
311
  ...props
313
312
  });
314
313
  };
315
- SelectPanelSearchInput.displayName = "SelectPanelSearchInput";
316
314
  SelectPanelSearchInput.__SLOT__ = Symbol("SelectPanel.SearchInput");
317
315
  const FooterContext = /*#__PURE__*/ React.createContext(false);
318
316
  const SelectPanelFooter = ({ ...props }) => {
@@ -320,23 +318,23 @@ const SelectPanelFooter = ({ ...props }) => {
320
318
  const hidePrimaryActions = selectionVariant === "instant";
321
319
  const buttonSize = useResponsiveValue(responsiveButtonSizes, "small");
322
320
  if (hidePrimaryActions && !props.children) return null;
323
- return /*#__PURE__*/ jsx(FooterContext.Provider, {
321
+ return /* @__PURE__ */ jsx(FooterContext.Provider, {
324
322
  value: true,
325
- children: /*#__PURE__*/ jsxs("div", {
323
+ children: /* @__PURE__ */ jsxs("div", {
326
324
  className: SelectPanel_module_css_default.Footer,
327
325
  "data-hide-primary-actions": hidePrimaryActions || void 0,
328
- children: [/*#__PURE__*/ jsx("div", {
326
+ children: [/* @__PURE__ */ jsx("div", {
329
327
  className: SelectPanel_module_css_default.FooterContent,
330
328
  "data-hide-primary-actions": hidePrimaryActions || void 0,
331
329
  children: props.children
332
- }), hidePrimaryActions ? null : /*#__PURE__*/ jsxs("div", {
330
+ }), hidePrimaryActions ? null : /* @__PURE__ */ jsxs("div", {
333
331
  className: SelectPanel_module_css_default.FooterActions,
334
- children: [/*#__PURE__*/ jsx(ButtonComponent, {
332
+ children: [/* @__PURE__ */ jsx(ButtonComponent, {
335
333
  type: "button",
336
334
  size: buttonSize,
337
335
  onClick: () => onCancel(),
338
336
  children: "Cancel"
339
- }), /*#__PURE__*/ jsx(ButtonComponent, {
337
+ }), /* @__PURE__ */ jsx(ButtonComponent, {
340
338
  type: "submit",
341
339
  size: buttonSize,
342
340
  variant: "primary",
@@ -346,21 +344,19 @@ const SelectPanelFooter = ({ ...props }) => {
346
344
  })
347
345
  });
348
346
  };
349
- SelectPanelFooter.displayName = "SelectPanelFooter";
350
347
  SelectPanelFooter.__SLOT__ = Symbol("SelectPanel.Footer");
351
348
  const SecondaryButton = (props) => {
352
349
  const size = useResponsiveValue(responsiveButtonSizes, "small");
353
- return /*#__PURE__*/ jsx(ButtonComponent, {
350
+ return /* @__PURE__ */ jsx(ButtonComponent, {
354
351
  type: "button",
355
352
  size,
356
353
  block: true,
357
354
  ...props
358
355
  });
359
356
  };
360
- SecondaryButton.displayName = "SecondaryButton";
361
357
  const SecondaryLink = ({ className, ...props }) => {
362
358
  const size = useResponsiveValue(responsiveButtonSizes, "small");
363
- return /*#__PURE__*/ jsx(ButtonComponent, {
359
+ return /* @__PURE__ */ jsx(ButtonComponent, {
364
360
  as: Link,
365
361
  size,
366
362
  variant: "invisible",
@@ -370,68 +366,65 @@ const SecondaryLink = ({ className, ...props }) => {
370
366
  children: props.children
371
367
  });
372
368
  };
373
- SecondaryLink.displayName = "SecondaryLink";
374
369
  const SecondaryCheckbox = ({ id, children, className, ...props }) => {
375
370
  const checkboxId = useId$1(id);
376
371
  const { selectionVariant } = React.useContext(SelectPanelContext);
377
372
  selectionVariant === "instant" && invariant(false, "Sorry! SelectPanel.SecondaryAction with variant=\"checkbox\" is not allowed inside selectionVariant=\"instant\"");
378
- return /*#__PURE__*/ jsxs("div", {
373
+ return /* @__PURE__ */ jsxs("div", {
379
374
  className: SelectPanel_module_css_default.SecondaryCheckbox,
380
- children: [/*#__PURE__*/ jsx(Checkbox, {
375
+ children: [/* @__PURE__ */ jsx(Checkbox, {
381
376
  id: checkboxId,
382
377
  className: clsx(SelectPanel_module_css_default.Checkbox, className),
383
378
  ...props
384
- }), /*#__PURE__*/ jsx(InputLabel, {
379
+ }), /* @__PURE__ */ jsx(InputLabel, {
385
380
  htmlFor: checkboxId,
386
381
  className: SelectPanel_module_css_default.SmallText,
387
382
  children
388
383
  })]
389
384
  });
390
385
  };
391
- SecondaryCheckbox.displayName = "SecondaryCheckbox";
392
386
  const SelectPanelSecondaryAction = ({ variant, ...props }) => {
393
387
  !React.useContext(FooterContext) && invariant(false, "SelectPanel.SecondaryAction is only allowed inside SelectPanel.Footer");
394
- if (variant === "button") return /*#__PURE__*/ jsx(SecondaryButton, { ...props });
395
- else if (variant === "link") return /*#__PURE__*/ jsx(SecondaryLink, { ...props });
396
- else if (variant === "checkbox") return /*#__PURE__*/ jsx(SecondaryCheckbox, { ...props });
388
+ if (variant === "button") return /* @__PURE__ */ jsx(SecondaryButton, { ...props });
389
+ else if (variant === "link") return /* @__PURE__ */ jsx(SecondaryLink, { ...props });
390
+ else if (variant === "checkbox") return /* @__PURE__ */ jsx(SecondaryCheckbox, { ...props });
397
391
  };
398
392
  const SelectPanelLoading = ({ children = "Fetching items..." }) => {
399
- return /*#__PURE__*/ jsxs(AriaStatus, {
393
+ return /* @__PURE__ */ jsxs(AriaStatus, {
400
394
  announceOnShow: true,
401
395
  className: SelectPanel_module_css_default.SelectPanelLoading,
402
- children: [/*#__PURE__*/ jsx(Spinner, {
396
+ children: [/* @__PURE__ */ jsx(Spinner, {
403
397
  size: "medium",
404
398
  srText: null
405
- }), /*#__PURE__*/ jsx("span", {
399
+ }), /* @__PURE__ */ jsx("span", {
406
400
  className: SelectPanel_module_css_default.LoadingText,
407
401
  children
408
402
  })]
409
403
  });
410
404
  };
411
- SelectPanelLoading.displayName = "SelectPanelLoading";
412
405
  const SelectPanelMessage = ({ variant = "warning", size = variant === "empty" ? "full" : "inline", title, children }) => {
413
406
  const MessageWrapper = variant === "empty" ? "div" : AriaStatus;
414
- if (size === "full") return /*#__PURE__*/ jsxs(MessageWrapper, {
407
+ if (size === "full") return /* @__PURE__ */ jsxs(MessageWrapper, {
415
408
  className: SelectPanel_module_css_default.MessageFull,
416
409
  children: [
417
- variant !== "empty" ? /*#__PURE__*/ jsx(Octicon, {
410
+ variant !== "empty" ? /* @__PURE__ */ jsx(Octicon, {
418
411
  icon: AlertIcon,
419
412
  className: clsx(SelectPanel_module_css_default.Octicon, variant === "error" ? SelectPanel_module_css_default.Error : void 0, variant === "warning" ? SelectPanel_module_css_default.Warning : void 0)
420
413
  }) : null,
421
- /*#__PURE__*/ jsx("span", {
414
+ /* @__PURE__ */ jsx("span", {
422
415
  className: SelectPanel_module_css_default.MessageTitle,
423
416
  children: title
424
417
  }),
425
- /*#__PURE__*/ jsx("span", {
418
+ /* @__PURE__ */ jsx("span", {
426
419
  className: SelectPanel_module_css_default.MessageContent,
427
420
  children
428
421
  })
429
422
  ]
430
423
  });
431
- else return /*#__PURE__*/ jsxs(MessageWrapper, {
424
+ else return /* @__PURE__ */ jsxs(MessageWrapper, {
432
425
  className: SelectPanel_module_css_default.MessageInline,
433
426
  "data-variant": variant,
434
- children: [/*#__PURE__*/ jsx(AlertIcon, { size: 16 }), /*#__PURE__*/ jsx("div", { children })]
427
+ children: [/* @__PURE__ */ jsx(AlertIcon, { size: 16 }), /* @__PURE__ */ jsx("div", { children })]
435
428
  });
436
429
  };
437
430
  const SelectPanel = Object.assign(Panel, {
@@ -77,7 +77,7 @@ function Tabs(props) {
77
77
  useIsomorphicLayoutEffect(t3, t4);
78
78
  let t5;
79
79
  if ($[12] !== children || $[13] !== contextValue) {
80
- t5 = /*#__PURE__*/ jsx(TabsContext.Provider, {
80
+ t5 = /* @__PURE__ */ jsx(TabsContext.Provider, {
81
81
  value: contextValue,
82
82
  children
83
83
  });
@@ -128,19 +128,19 @@ const UnderlinePanels = ({ "aria-label": ariaLabel, "aria-labelledby": ariaLabel
128
128
  const providedValue = controlledValue !== null && controlledValue !== void 0 ? controlledValue : defaultValue;
129
129
  warning(providedValue !== void 0 && tabValues.length > 0 && !tabValues.includes(providedValue), `UnderlinePanels: the selected value "${providedValue}" does not match any tab, so the first tab is selected instead. Provide a \`value\`/\`defaultValue\` that matches a \`UnderlinePanels.Tab\` \`value\`.`);
130
130
  }
131
- return /*#__PURE__*/ jsx(UnderlinePanelsContext.Provider, {
131
+ return /* @__PURE__ */ jsx(UnderlinePanelsContext.Provider, {
132
132
  value: contextValue,
133
- children: /*#__PURE__*/ jsxs(Tabs, {
133
+ children: /* @__PURE__ */ jsxs(Tabs, {
134
134
  id: parentId,
135
135
  value: effectiveValue,
136
136
  activationMode,
137
137
  onValueChange: ({ value }) => handleValueChange(value),
138
- children: [/*#__PURE__*/ jsx(UnderlineWrapper, {
138
+ children: [/* @__PURE__ */ jsx(UnderlineWrapper, {
139
139
  ref: wrapperRef,
140
140
  "data-icons-visible": iconsVisible,
141
141
  className: clsx(className, UnderlinePanels_module_css_default.StyledUnderlineWrapper),
142
142
  ...props,
143
- children: /*#__PURE__*/ jsx(UnderlineItemList, {
143
+ children: /* @__PURE__ */ jsx(UnderlineItemList, {
144
144
  ref: listRef,
145
145
  role: tabListProps.role,
146
146
  "aria-label": tabListProps["aria-label"],
@@ -153,12 +153,11 @@ const UnderlinePanels = ({ "aria-label": ariaLabel, "aria-labelledby": ariaLabel
153
153
  })
154
154
  });
155
155
  };
156
- UnderlinePanels.displayName = "UnderlinePanels";
157
156
  const TabImpl = ({ onSelect, value, ...itemProps }) => {
158
157
  const { loadingCounters } = useContext(UnderlinePanelsContext);
159
158
  const { tabProps } = useTab({ value: value !== null && value !== void 0 ? value : "" });
160
159
  const { onKeyDown: tabOnKeyDown, onMouseDown: tabOnMouseDown, onFocus: tabOnFocus, ...restTabProps } = tabProps;
161
- return /*#__PURE__*/ jsx(UnderlineItem, {
160
+ return /* @__PURE__ */ jsx(UnderlineItem, {
162
161
  as: "button",
163
162
  ...itemProps,
164
163
  ...restTabProps,
@@ -175,19 +174,17 @@ const TabImpl = ({ onSelect, value, ...itemProps }) => {
175
174
  loadingCounters
176
175
  });
177
176
  };
178
- TabImpl.displayName = "TabImpl";
179
177
  TabImpl.displayName = "UnderlinePanels.Tab";
180
178
  const Tab = /*#__PURE__*/ React.memo(TabImpl);
181
179
  Tab.displayName = "UnderlinePanels.Tab";
182
180
  const PanelImpl = ({ children, value, ...panelRest }) => {
183
181
  const { tabPanelProps } = useTabPanel({ value: value !== null && value !== void 0 ? value : "" });
184
- return /*#__PURE__*/ jsx("div", {
182
+ return /* @__PURE__ */ jsx("div", {
185
183
  ...panelRest,
186
184
  ...tabPanelProps,
187
185
  children
188
186
  });
189
187
  };
190
- PanelImpl.displayName = "PanelImpl";
191
188
  PanelImpl.displayName = "UnderlinePanels.Panel";
192
189
  const Panel = PanelImpl;
193
190
  Panel.displayName = "UnderlinePanels.Panel";
@@ -3,10 +3,10 @@ import { Announce } from "../live-region/Announce.js";
3
3
  import { AriaAlert } from "../live-region/AriaAlert.js";
4
4
  import { AriaStatus } from "../live-region/AriaStatus.js";
5
5
  import { useSlots } from "../hooks/useSlots.js";
6
- import { ButtonBase } from "../Button/ButtonBase.js";
7
6
  import { DefaultFeatureFlags } from "../FeatureFlags/DefaultFeatureFlags.js";
8
7
  import { FeatureFlags } from "../FeatureFlags/FeatureFlags.js";
9
8
  import { useFeatureFlag } from "../FeatureFlags/useFeatureFlag.js";
9
+ import { ButtonBase } from "../Button/ButtonBase.js";
10
10
  import { KeybindingHint } from "../KeybindingHint/KeybindingHint.js";
11
11
  import { getAccessibleKeybindingHintString } from "../KeybindingHint/utils.js";
12
12
  import { Tooltip } from "../TooltipV2/Tooltip.js";
@@ -64,18 +64,6 @@ function useMergedRefs(refA, refB) {
64
64
  } else t0 = $[2];
65
65
  return t0;
66
66
  }
67
- /**
68
- * React 19 supports callback refs that can return a cleanup function. If a cleanup function is returned, the
69
- * cleanup is called on unmount **instead** of setting the ref to null.
70
- */
71
- /**
72
- * Supporting React 18 and 19 while alleviating the need for any hacks or casts in consumers:
73
- * - `ForwardedRef` from the React 18 `forwardRef` HOC
74
- * - `React19RefCallback` for callback refs that can return a cleanup function (this is included in `Ref` in React 19
75
- * but not in 18)
76
- * - `Ref` for standard refs from `useRef` or passed in as React 19 prop
77
- * - `undefined` to allow for easy use of optional `ref` props in React 19
78
- */
79
67
  function setRef(ref, value) {
80
68
  if (typeof ref === "function") return ref(value);
81
69
  else if (ref) ref.current = value;
@@ -6,11 +6,6 @@ const viewportRanges = {
6
6
  wide: "(min-width: 1400px)"
7
7
  };
8
8
  /**
9
- * Flattens all possible value types into single union type
10
- * For example, if `T` is `'none' | 'line' | Responsive<'none' | 'line' | 'filled'>`,
11
- * `FlattenResponsiveValue<T>` will be `'none' | 'line' | 'filled'`
12
- */
13
- /**
14
9
  * Checks if the value is a responsive value.
15
10
  * In other words, is it an object with viewport range keys?
16
11
  */
@@ -2,54 +2,6 @@ import { warning } from "../utils/warning.js";
2
2
  import { isSlot } from "../utils/is-slot.js";
3
3
  import React from "react";
4
4
  //#region src/hooks/useSlots.ts
5
- /**
6
- * useSlots - Extract slot components from children for SSR-compatible slot APIs.
7
- *
8
- * Given a list of children and a config mapping slot names to component types,
9
- * separates children into two groups: matched slots and the rest.
10
- *
11
- * Config: { leadingVisual: LeadingVisual, description: Description }
12
- *
13
- * Children: Matching: Output:
14
- * +----------------+ slots = {
15
- * | LeadingVisual | -> matches slot 0 --> leadingVisual: <LeadingVisual />
16
- * | "Project name" | -> no match --> description: <Description />
17
- * | Description | -> matches slot 1 --> }
18
- * | TrailingVisual | -> no match --> rest = ["Project name", <TrailingVisual />]
19
- * +----------------+
20
- *
21
- * Performance-sensitive: called per item in lists (e.g. 100-item ActionList
22
- * calls this 101 times per render).
23
- *
24
- * Once all slots are filled, remaining children skip matching entirely in
25
- * production (single integer comparison). In dev, we still scan for duplicates
26
- * to emit a warning.
27
- *
28
- * Flow per child:
29
- *
30
- * child ──> isValidElement? ──no──> rest[]
31
- * |
32
- * yes
33
- * |
34
- * v
35
- * all slots filled? ──yes──> rest[] (prod)
36
- * | |
37
- * no [dev: check for
38
- * | duplicate warning]
39
- * v
40
- * match against unfilled slots
41
- * |
42
- * found match? ──no──> rest[]
43
- * |
44
- * yes
45
- * |
46
- * v
47
- * slots[key] = child, slotsFound++
48
- *
49
- * Slot config supports two matcher styles:
50
- * 1. Component reference: { visual: LeadingVisual }
51
- * 2. Component + test fn: { block: [Description, props => props.variant === 'block'] }
52
- */
53
5
  /** Check if a child element matches a slot config entry, either by direct type comparison or slot symbol. */
54
6
  function childMatchesSlot(child, slotValue) {
55
7
  if (Array.isArray(slotValue)) {
@@ -30,7 +30,7 @@ const Button = (t0) => {
30
30
  } else t1 = $[5];
31
31
  let t2;
32
32
  if ($[6] !== children || $[7] !== rest || $[8] !== t1) {
33
- t2 = /*#__PURE__*/ jsx("button", {
33
+ t2 = /* @__PURE__ */ jsx("button", {
34
34
  className: t1,
35
35
  type: "button",
36
36
  ...rest,
@@ -75,16 +75,16 @@ const CheckboxOrRadioGroup = (t0) => {
75
75
  } else t8 = $[13];
76
76
  let t9;
77
77
  if ($[14] !== isLegendVisible || $[15] !== labelChild || $[16] !== required || $[17] !== requiredMessageId || $[18] !== slots.caption || $[19] !== slots.label || $[20] !== slots.validation) {
78
- t9 = labelChild ? /*#__PURE__*/ jsxs("legend", {
78
+ t9 = labelChild ? /* @__PURE__ */ jsxs("legend", {
79
79
  className: CheckboxOrRadioGroup_module_css_default.GroupLegend,
80
80
  "data-legend-visible": isLegendVisible ? "" : void 0,
81
81
  children: [
82
82
  slots.label,
83
- required && /*#__PURE__*/ jsx(VisuallyHidden, { children: ", required" }),
83
+ required && /* @__PURE__ */ jsx(VisuallyHidden, { children: ", required" }),
84
84
  slots.caption,
85
- /*#__PURE__*/ React.isValidElement(slots.validation) && slots.validation.props.children && /*#__PURE__*/ jsx(VisuallyHidden, { children: slots.validation.props.children })
85
+ /*#__PURE__*/ React.isValidElement(slots.validation) && slots.validation.props.children && /* @__PURE__ */ jsx(VisuallyHidden, { children: slots.validation.props.children })
86
86
  ]
87
- }) : /*#__PURE__*/ jsxs(Fragment$1, { children: [slots.caption, required && requiredMessageId && /*#__PURE__*/ jsx(VisuallyHidden, {
87
+ }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [slots.caption, required && requiredMessageId && /* @__PURE__ */ jsx(VisuallyHidden, {
88
88
  id: requiredMessageId,
89
89
  children: "Required"
90
90
  })] });
@@ -124,7 +124,7 @@ const CheckboxOrRadioGroup = (t0) => {
124
124
  } else t11 = $[29];
125
125
  let t12;
126
126
  if ($[30] !== t10 || $[31] !== t11) {
127
- t12 = /*#__PURE__*/ jsx("div", {
127
+ t12 = /* @__PURE__ */ jsx("div", {
128
128
  className: CheckboxOrRadioGroup_module_css_default.Body,
129
129
  ...t10,
130
130
  children: t11
@@ -135,7 +135,7 @@ const CheckboxOrRadioGroup = (t0) => {
135
135
  } else t12 = $[32];
136
136
  let t13;
137
137
  if ($[33] !== Component || $[34] !== dataComponentProp || $[35] !== t12 || $[36] !== t6 || $[37] !== t7 || $[38] !== t8 || $[39] !== t9) {
138
- t13 = /*#__PURE__*/ jsxs(Component, {
138
+ t13 = /* @__PURE__ */ jsxs(Component, {
139
139
  "data-component": dataComponentProp,
140
140
  className: t6,
141
141
  "data-validation": t7,
@@ -153,7 +153,7 @@ const CheckboxOrRadioGroup = (t0) => {
153
153
  } else t13 = $[40];
154
154
  let t14;
155
155
  if ($[41] !== labelChild || $[42] !== slots.validation || $[43] !== validationChild) {
156
- t14 = validationChild && /*#__PURE__*/ jsx(ValidationAnimationContainer, {
156
+ t14 = validationChild && /* @__PURE__ */ jsx(ValidationAnimationContainer, {
157
157
  "aria-hidden": Boolean(labelChild),
158
158
  show: true,
159
159
  children: slots.validation
@@ -165,14 +165,14 @@ const CheckboxOrRadioGroup = (t0) => {
165
165
  } else t14 = $[44];
166
166
  let t15;
167
167
  if ($[45] !== t13 || $[46] !== t14) {
168
- t15 = /*#__PURE__*/ jsxs("div", { children: [t13, t14] });
168
+ t15 = /* @__PURE__ */ jsxs("div", { children: [t13, t14] });
169
169
  $[45] = t13;
170
170
  $[46] = t14;
171
171
  $[47] = t15;
172
172
  } else t15 = $[47];
173
173
  let t16;
174
174
  if ($[48] !== t15 || $[49] !== t5) {
175
- t16 = /*#__PURE__*/ jsx(CheckboxOrRadioGroupContext.Provider, {
175
+ t16 = /* @__PURE__ */ jsx(CheckboxOrRadioGroupContext.Provider, {
176
176
  value: t5,
177
177
  children: t15
178
178
  });
@@ -19,7 +19,7 @@ const CheckboxOrRadioGroupCaption = (t0) => {
19
19
  const t2 = parentName ? `${parentName}.Caption` : void 0;
20
20
  let t3;
21
21
  if ($[2] !== captionId || $[3] !== children || $[4] !== t1 || $[5] !== t2) {
22
- t3 = /*#__PURE__*/ jsx(Text_default, {
22
+ t3 = /* @__PURE__ */ jsx(Text_default, {
23
23
  className: t1,
24
24
  id: captionId,
25
25
  "data-component": t2,
@@ -24,13 +24,13 @@ const CheckboxOrRadioGroupLabel = (t0) => {
24
24
  const t6 = parentName ? `${parentName}.Label` : void 0;
25
25
  let t7;
26
26
  if ($[2] !== children || $[3] !== required) {
27
- t7 = required ? /*#__PURE__*/ jsxs(Stack, {
27
+ t7 = required ? /* @__PURE__ */ jsxs(Stack, {
28
28
  direction: "horizontal",
29
29
  gap: "none",
30
- children: [/*#__PURE__*/ jsx("div", {
30
+ children: [/* @__PURE__ */ jsx("div", {
31
31
  className: CheckboxOrRadioGroup_module_css_default.GroupLabelChildren,
32
32
  children
33
- }), /*#__PURE__*/ jsx("span", { children: "*" })]
33
+ }), /* @__PURE__ */ jsx("span", { children: "*" })]
34
34
  }) : children;
35
35
  $[2] = children;
36
36
  $[3] = required;
@@ -38,7 +38,7 @@ const CheckboxOrRadioGroupLabel = (t0) => {
38
38
  } else t7 = $[4];
39
39
  let t8;
40
40
  if ($[5] !== t2 || $[6] !== t3 || $[7] !== t4 || $[8] !== t5 || $[9] !== t6 || $[10] !== t7) {
41
- t8 = /*#__PURE__*/ jsx(VisuallyHidden, {
41
+ t8 = /* @__PURE__ */ jsx(VisuallyHidden, {
42
42
  className: t2,
43
43
  isVisible: t3,
44
44
  title: t4,
@@ -12,7 +12,7 @@ const CheckboxOrRadioGroupValidation = (t0) => {
12
12
  const t2 = parentName ? `${parentName}.Validation` : void 0;
13
13
  let t3;
14
14
  if ($[0] !== children || $[1] !== t2 || $[2] !== validationMessageId || $[3] !== variant) {
15
- t3 = /*#__PURE__*/ jsx(InputValidation, {
15
+ t3 = /* @__PURE__ */ jsx(InputValidation, {
16
16
  validationStatus: variant,
17
17
  id: validationMessageId,
18
18
  "data-component": t2,
@@ -20,7 +20,7 @@ const ConditionalWrapper = (props) => {
20
20
  if (condition) {
21
21
  let t0;
22
22
  if ($[4] !== children || $[5] !== rest) {
23
- t0 = /*#__PURE__*/ jsx("div", {
23
+ t0 = /* @__PURE__ */ jsx("div", {
24
24
  ...rest,
25
25
  children
26
26
  });
@@ -32,7 +32,7 @@ const ConditionalWrapper = (props) => {
32
32
  } else {
33
33
  let t0;
34
34
  if ($[7] !== children) {
35
- t0 = /*#__PURE__*/ jsx(Fragment, { children });
35
+ t0 = /* @__PURE__ */ jsx(Fragment, { children });
36
36
  $[7] = children;
37
37
  $[8] = t0;
38
38
  } else t0 = $[8];
@@ -55,9 +55,9 @@ function InputLabel(t0) {
55
55
  let t5;
56
56
  if ($[14] !== children || $[15] !== required || $[16] !== requiredIndicator || $[17] !== requiredText) {
57
57
  var _requiredText;
58
- t5 = required || requiredText ? /*#__PURE__*/ jsxs("span", {
58
+ t5 = required || requiredText ? /* @__PURE__ */ jsxs("span", {
59
59
  className: InputLabel_module_css_default.RequiredText,
60
- children: [/*#__PURE__*/ jsx("span", { children }), /*#__PURE__*/ jsx("span", {
60
+ children: [/* @__PURE__ */ jsx("span", { children }), /* @__PURE__ */ jsx("span", {
61
61
  "aria-hidden": requiredIndicator ? void 0 : true,
62
62
  children: (_requiredText = requiredText) !== null && _requiredText !== void 0 ? _requiredText : "*"
63
63
  })]
@@ -70,7 +70,7 @@ function InputLabel(t0) {
70
70
  } else t5 = $[18];
71
71
  let t6;
72
72
  if ($[19] !== Component || $[20] !== htmlFor || $[21] !== id || $[22] !== props || $[23] !== t2 || $[24] !== t3 || $[25] !== t4 || $[26] !== t5) {
73
- t6 = /*#__PURE__*/ jsx(Component, {
73
+ t6 = /* @__PURE__ */ jsx(Component, {
74
74
  "data-control-disabled": t2,
75
75
  "data-visually-hidden": t3,
76
76
  htmlFor,
@@ -46,11 +46,11 @@ const InputValidation = (t0) => {
46
46
  } else t1 = $[9];
47
47
  let t2;
48
48
  if ($[10] !== IconComponent) {
49
- t2 = IconComponent ? /*#__PURE__*/ jsx("span", {
49
+ t2 = IconComponent ? /* @__PURE__ */ jsx("span", {
50
50
  "aria-hidden": "true",
51
51
  className: InputValidation_module_css_default.ValidationIcon,
52
52
  style: { "--inputValidation-iconSize": 16 },
53
- children: /*#__PURE__*/ jsx(IconComponent, {
53
+ children: /* @__PURE__ */ jsx(IconComponent, {
54
54
  size: 12,
55
55
  fill: "currentColor"
56
56
  })
@@ -65,7 +65,7 @@ const InputValidation = (t0) => {
65
65
  } else t3 = $[12];
66
66
  let t4;
67
67
  if ($[13] !== children || $[14] !== id) {
68
- t4 = /*#__PURE__*/ jsx("span", {
68
+ t4 = /* @__PURE__ */ jsx("span", {
69
69
  id,
70
70
  className: InputValidation_module_css_default.ValidationText,
71
71
  style: t3,
@@ -77,7 +77,7 @@ const InputValidation = (t0) => {
77
77
  } else t4 = $[15];
78
78
  let t5;
79
79
  if ($[16] !== dataComponent || $[17] !== rest || $[18] !== style || $[19] !== t1 || $[20] !== t2 || $[21] !== t4 || $[22] !== validationStatus) {
80
- t5 = /*#__PURE__*/ jsxs(Text_default, {
80
+ t5 = /* @__PURE__ */ jsxs(Text_default, {
81
81
  ...rest,
82
82
  className: t1,
83
83
  "data-validation-status": validationStatus,
@@ -132,7 +132,7 @@ function OverflowObserverProvider(t0) {
132
132
  useEffect(t7, t8);
133
133
  let t9;
134
134
  if ($[12] !== children || $[13] !== observe) {
135
- t9 = /*#__PURE__*/ jsx(OverflowObserverContext.Provider, {
135
+ t9 = /* @__PURE__ */ jsx(OverflowObserverContext.Provider, {
136
136
  value: observe,
137
137
  children
138
138
  });