@primer/react 0.0.0-20260831205533 → 0.0.0-20260911162708

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 (211) hide show
  1. package/CHANGELOG.md +27 -3
  2. package/dist/ActionBar/ActionBar.js +2 -2
  3. package/dist/ActionList/Description.js +3 -3
  4. package/dist/ActionList/Divider.js +2 -2
  5. package/dist/ActionList/Group.js +4 -4
  6. package/dist/ActionList/GroupHeadingTrailingAction.js +2 -2
  7. package/dist/ActionList/Heading.js +3 -3
  8. package/dist/ActionList/Item.js +4 -4
  9. package/dist/ActionList/List.js +3 -3
  10. package/dist/ActionList/Selection.js +2 -2
  11. package/dist/ActionList/TrailingAction.js +3 -3
  12. package/dist/ActionList/Visuals.js +3 -3
  13. package/dist/ActionMenu/ActionMenu.js +2 -2
  14. package/dist/AnchoredOverlay/AnchoredOverlay.js +3 -3
  15. package/dist/Autocomplete/Autocomplete.js +2 -2
  16. package/dist/Autocomplete/AutocompleteInput.js +1 -1
  17. package/dist/Autocomplete/AutocompleteMenu.js +3 -3
  18. package/dist/Autocomplete/AutocompleteOverlay.js +3 -3
  19. package/dist/Avatar/Avatar.js +3 -3
  20. package/dist/AvatarStack/AvatarStack.js +3 -3
  21. package/dist/Banner/Banner.js +3 -3
  22. package/dist/BaseStyles.js +2 -2
  23. package/dist/Blankslate/Blankslate.js +3 -3
  24. package/dist/BranchName/BranchName.js +2 -2
  25. package/dist/Breadcrumbs/Breadcrumbs.js +3 -3
  26. package/dist/Button/Button.js +2 -2
  27. package/dist/Button/ButtonBase.js +4 -4
  28. package/dist/Button/IconButton.js +3 -3
  29. package/dist/Button/LinkButton.js +2 -2
  30. package/dist/ButtonGroup/ButtonGroup.js +3 -3
  31. package/dist/Card/Card.js +3 -3
  32. package/dist/Checkbox/Checkbox.js +2 -2
  33. package/dist/CheckboxGroup/CheckboxGroup.js +2 -2
  34. package/dist/CircleBadge/CircleBadge.js +2 -2
  35. package/dist/ConfirmationDialog/ConfirmationDialog.js +2 -2
  36. package/dist/CounterLabel/CounterLabel.js +3 -3
  37. package/dist/DataTable/DataTable.js +1 -1
  38. package/dist/DataTable/ErrorDialog.js +1 -1
  39. package/dist/DataTable/Pagination.js +5 -5
  40. package/dist/DataTable/Table-50e68700.css +2 -0
  41. package/dist/DataTable/Table-50e68700.css.map +1 -0
  42. package/dist/DataTable/Table.d.ts +1 -0
  43. package/dist/DataTable/Table.js +74 -44
  44. package/dist/DataTable/Table.module.css.js +7 -2
  45. package/dist/DataTable/TableGroup.d.ts +41 -0
  46. package/dist/DataTable/TableGroup.js +155 -0
  47. package/dist/DataTable/TableGroupContext.js +5 -0
  48. package/dist/DataTable/index.d.ts +3 -1
  49. package/dist/DataTable/index.js +2 -0
  50. package/dist/DataTable/useTable.js +1 -1
  51. package/dist/Details/Details.js +3 -3
  52. package/dist/Dialog/Dialog.js +3 -3
  53. package/dist/FeatureFlags/DefaultFeatureFlags.js +1 -2
  54. package/dist/FeatureFlags/FeatureFlags.js +2 -2
  55. package/dist/FeatureFlags/useFeatureFlag.js +1 -1
  56. package/dist/FilteredActionList/FilteredActionList.js +2 -2
  57. package/dist/FilteredActionList/FilteredActionListInput.js +2 -2
  58. package/dist/FilteredActionList/FilteredActionListLoaders.js +1 -1
  59. package/dist/Flash/Flash.js +3 -3
  60. package/dist/FormControl/FormControl.js +4 -4
  61. package/dist/FormControl/FormControlCaption.js +2 -2
  62. package/dist/FormControl/FormControlLabel.js +1 -1
  63. package/dist/FormControl/FormControlLeadingVisual.js +1 -1
  64. package/dist/FormControl/_FormControlContext.js +1 -1
  65. package/dist/FormControl/_FormControlValidation.js +1 -1
  66. package/dist/Header/Header.js +3 -3
  67. package/dist/Heading/Heading.js +3 -3
  68. package/dist/Hidden/Hidden.js +2 -2
  69. package/dist/InlineMessage/InlineMessage.js +2 -2
  70. package/dist/KeybindingHint/KeybindingHint.js +3 -3
  71. package/dist/KeybindingHint/components/Chord.js +4 -4
  72. package/dist/KeybindingHint/components/Key.js +1 -1
  73. package/dist/KeybindingHint/components/Sequence.js +3 -3
  74. package/dist/Label/Label.js +3 -3
  75. package/dist/LabelGroup/LabelGroup.js +2 -2
  76. package/dist/Link/Link.js +3 -3
  77. package/dist/NavList/NavList.js +6 -6
  78. package/dist/Octicon/Octicon.js +2 -2
  79. package/dist/Overlay/Overlay.js +2 -2
  80. package/dist/PageHeader/PageHeader.js +4 -4
  81. package/dist/PageLayout/DragHandle.js +2 -2
  82. package/dist/PageLayout/PageLayout.js +3 -3
  83. package/dist/PageLayout/usePaneWidth.js +1 -1
  84. package/dist/Pagehead/Pagehead.js +2 -2
  85. package/dist/Pagination/Pagination.js +4 -4
  86. package/dist/Popover/Popover.js +3 -3
  87. package/dist/Portal/Portal.js +1 -1
  88. package/dist/ProgressBar/ProgressBar.js +3 -3
  89. package/dist/Radio/Radio.js +3 -3
  90. package/dist/RadioGroup/RadioGroup.js +1 -1
  91. package/dist/RelativeTime/RelativeTime.js +1 -1
  92. package/dist/ScrollableRegion/ScrollableRegion.js +3 -3
  93. package/dist/SegmentedControl/SegmentedControl-e68d4197.css +2 -0
  94. package/dist/SegmentedControl/SegmentedControl-e68d4197.css.map +1 -0
  95. package/dist/SegmentedControl/SegmentedControl.d.ts +5 -1
  96. package/dist/SegmentedControl/SegmentedControl.js +204 -167
  97. package/dist/SegmentedControl/SegmentedControl.module.css.js +8 -4
  98. package/dist/SegmentedControl/SegmentedControlAction.d.ts +12 -0
  99. package/dist/SegmentedControl/SegmentedControlAction.js +111 -0
  100. package/dist/SegmentedControl/SegmentedControlActionContext.js +5 -0
  101. package/dist/SegmentedControl/SegmentedControlButton.js +2 -2
  102. package/dist/SegmentedControl/SegmentedControlDivider.d.ts +9 -0
  103. package/dist/SegmentedControl/SegmentedControlDivider.js +24 -0
  104. package/dist/SegmentedControl/SegmentedControlIconButton.js +2 -2
  105. package/dist/SegmentedControl/index.d.ts +3 -1
  106. package/dist/Select/Select.js +3 -3
  107. package/dist/SelectPanel/SelectPanel.js +3 -3
  108. package/dist/SelectPanel/SelectPanelMessage.js +2 -2
  109. package/dist/SideNav.js +2 -2
  110. package/dist/Skeleton/SkeletonBox.js +3 -3
  111. package/dist/SkeletonAvatar/SkeletonAvatar.js +2 -2
  112. package/dist/SkeletonText/SkeletonText.js +2 -2
  113. package/dist/Spinner/Spinner.js +3 -3
  114. package/dist/SplitPageLayout/SplitPageLayout.js +1 -1
  115. package/dist/Stack/Stack.js +3 -3
  116. package/dist/StateLabel/StateLabel.js +3 -3
  117. package/dist/SubNav/SubNav.js +3 -3
  118. package/dist/TabNav/TabNav.js +3 -3
  119. package/dist/Text/Text.js +2 -2
  120. package/dist/TextInput/TextInput.js +5 -5
  121. package/dist/TextInputWithTokens/TextInputWithTokens.js +3 -3
  122. package/dist/Textarea/Textarea.js +4 -4
  123. package/dist/ThemeProvider.js +2 -2
  124. package/dist/Timeline/Timeline.js +3 -3
  125. package/dist/ToggleSwitch/ToggleSwitch.js +4 -4
  126. package/dist/Token/IssueLabelToken.js +3 -3
  127. package/dist/Token/Token.js +3 -3
  128. package/dist/Token/TokenBase.js +3 -3
  129. package/dist/Token/_RemoveTokenButton.js +1 -1
  130. package/dist/Token/_TokenTextContainer.js +2 -2
  131. package/dist/Tooltip/Tooltip.js +2 -2
  132. package/dist/TooltipV2/Tooltip.js +16 -9
  133. package/dist/TopicTag/TopicTag.js +2 -2
  134. package/dist/TopicTag/TopicTagGroup.js +2 -2
  135. package/dist/TreeView/TreeView.js +9 -9
  136. package/dist/TreeView/useRovingTabIndex.js +1 -1
  137. package/dist/TreeView/useTreeItemCache.js +1 -1
  138. package/dist/TreeView/useTypeahead.js +1 -1
  139. package/dist/Truncate/Truncate.js +2 -2
  140. package/dist/UnderlineNav/UnderlineNav.js +3 -3
  141. package/dist/UnderlineNav/UnderlineNavItem.js +2 -2
  142. package/dist/VisuallyHidden/VisuallyHidden.js +2 -2
  143. package/dist/_VisuallyHidden.js +2 -2
  144. package/dist/deprecated/ActionList/Divider.js +1 -1
  145. package/dist/deprecated/ActionList/Group.js +1 -1
  146. package/dist/deprecated/ActionList/Header.js +2 -2
  147. package/dist/deprecated/ActionList/Item.js +4 -4
  148. package/dist/deprecated/ActionList/List.js +3 -3
  149. package/dist/deprecated/ActionMenu.js +2 -2
  150. package/dist/deprecated/DialogV1/Dialog.js +4 -4
  151. package/dist/deprecated/FilteredSearch/FilteredSearch.js +2 -2
  152. package/dist/deprecated/UnderlineNav/UnderlineNav.js +3 -3
  153. package/dist/experimental/IssueLabel/IssueLabel.js +2 -2
  154. package/dist/experimental/SelectPanel2/SelectPanel.js +5 -5
  155. package/dist/experimental/Tabs/Tabs.js +23 -26
  156. package/dist/experimental/Tabs/useTab.js +1 -1
  157. package/dist/experimental/Tabs/useTabList.js +17 -21
  158. package/dist/experimental/Tabs/useTabPanel.js +1 -1
  159. package/dist/experimental/UnderlinePanels/UnderlinePanels.js +10 -15
  160. package/dist/experimental/index.d.ts +5 -4
  161. package/dist/experimental/index.js +1 -1
  162. package/dist/hooks/useDetails.js +1 -1
  163. package/dist/hooks/useDialog.js +1 -1
  164. package/dist/hooks/useMedia.js +1 -1
  165. package/dist/hooks/useMenuInitialFocus.js +1 -1
  166. package/dist/hooks/useMenuKeyboardNavigation.js +1 -1
  167. package/dist/hooks/useMergedRefs.js +1 -1
  168. package/dist/hooks/useMnemonics.js +1 -1
  169. package/dist/hooks/useOpenAndCloseFocus.js +1 -1
  170. package/dist/hooks/useOverflow.js +5 -5
  171. package/dist/hooks/useOverlay.js +1 -1
  172. package/dist/hooks/useProvidedStateOrCreate.js +1 -1
  173. package/dist/hooks/useRefObjectAsForwardedRef.js +1 -1
  174. package/dist/hooks/useRenderForcingRef.js +1 -1
  175. package/dist/hooks/useScrollFlash.js +1 -1
  176. package/dist/hooks/useSyncedState.js +1 -1
  177. package/dist/index.d.ts +5 -1
  178. package/dist/index.js +3 -1
  179. package/dist/internal/components/ButtonReset.js +2 -2
  180. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js +4 -4
  181. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js +3 -3
  182. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js +3 -3
  183. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js +2 -2
  184. package/dist/internal/components/ConditionalWrapper.js +1 -1
  185. package/dist/internal/components/InputLabel.js +2 -2
  186. package/dist/internal/components/InputValidation.js +2 -2
  187. package/dist/internal/components/OverflowObserverProvider.js +2 -2
  188. package/dist/internal/components/TextInputInnerAction.js +4 -4
  189. package/dist/internal/components/TextInputInnerVisualSlot.js +2 -2
  190. package/dist/internal/components/TextInputWrapper.js +3 -3
  191. package/dist/internal/components/ThemeProviderBase.js +1 -1
  192. package/dist/internal/components/UnderlineTabbedInterface.js +3 -3
  193. package/dist/internal/components/UnstyledTextInput.js +3 -3
  194. package/dist/internal/components/ValidationAnimationContainer.js +2 -2
  195. package/dist/internal/hooks/useEffectCallback.js +1 -1
  196. package/dist/internal/hooks/useEffectOnce.js +1 -1
  197. package/dist/internal/hooks/useOverflowObserver.js +1 -1
  198. package/dist/internal/hooks/useThemeProvider.js +1 -1
  199. package/dist/live-region/Announce.js +2 -2
  200. package/dist/live-region/AriaAlert.d.ts +1 -1
  201. package/dist/live-region/AriaAlert.js +1 -1
  202. package/dist/live-region/AriaStatus.js +1 -1
  203. package/dist/next/ThemeProvider.js +1 -1
  204. package/dist/utils/descendant-registry.js +2 -2
  205. package/dist/utils/react-compiler-runtime.js +32 -0
  206. package/generated/components.json +175 -8
  207. package/package.json +8 -8
  208. package/dist/DataTable/Table-7f5cb3e4.css +0 -2
  209. package/dist/DataTable/Table-7f5cb3e4.css.map +0 -1
  210. package/dist/SegmentedControl/SegmentedControl-4ef72733.css +0 -2
  211. package/dist/SegmentedControl/SegmentedControl-4ef72733.css.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,14 +1,38 @@
1
1
  # @primer/react
2
2
 
3
- ## 0.0.0-20260831205533
3
+ ## 0.0.0-20260911162708
4
+
5
+ ### Minor Changes
6
+
7
+ - [#8372](https://github.com/primer/react/pull/8372) [`23185b7`](https://github.com/primer/react/commit/23185b7a6d457d8d8a2161d804bb36da5e62e301) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - DataTable: Add `Table.Group` for rendering accessible groups of table rows.
4
8
 
5
9
  ### Patch Changes
6
10
 
7
- - [#8343](https://github.com/primer/react/pull/8343) [`7034e1f`](https://github.com/primer/react/commit/7034e1fbb754883b29a05fdf75eea8704359e7bb) Thanks [@llastflowers](https://github.com/llastflowers)! - Don't focus Autocomplete menu items while menu is closed: fix SR announcement bug and menu item skipping bug
11
+ - [#8234](https://github.com/primer/react/pull/8234) [`fd1a26a`](https://github.com/primer/react/commit/fd1a26ad9af3fcde69dddb8eb1b161465e94e3ca) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Bundle the React Compiler memo helper (`c`) into `@primer/react` instead of importing it from an external `react-compiler-runtime` module. This prevents a runtime crash (`TypeError: (0, t.c) is not a function`) that could occur when a consumer's bundle resolved a skewed or stale `react-compiler-runtime` across independently-cached chunks.
8
12
 
9
13
  - Fake entry to force publishing
10
14
 
11
- - [#8330](https://github.com/primer/react/pull/8330) [`768385c`](https://github.com/primer/react/commit/768385c167d405c891f3a50b43f2cb2fd04cc67f) Thanks [@mattcosta7](https://github.com/mattcosta7)! - RelativeTime: Prevent hydration errors when the server and client use different time zones
15
+ - [#8370](https://github.com/primer/react/pull/8370) [`56ebdc4`](https://github.com/primer/react/commit/56ebdc49f8f6c862288ee653a4cdc7a70afe829c) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - ScrollableRegion: Remove focusability when content no longer overflows
16
+
17
+ - [#8371](https://github.com/primer/react/pull/8371) [`dc8387f`](https://github.com/primer/react/commit/dc8387f4fa07cf00887cb2412d358fb7eb54be63) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - DataTable: Keep sortable column names concise and convey the next sort action as an accessible description
18
+
19
+ - [#8352](https://github.com/primer/react/pull/8352) [`4dc92ec`](https://github.com/primer/react/commit/4dc92ecc5014f4c5f7675ec64d11cd0e0d5aa83e) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - Tabs and UnderlinePanels: Make the controlled selection and manual activation APIs available without a feature flag. Re-selecting the active tab no longer fires the value change callback.
20
+
21
+ - [#8411](https://github.com/primer/react/pull/8411) [`6ed5f6e`](https://github.com/primer/react/commit/6ed5f6e3be015e30b4bdf0eca9f68aca22cb7528) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Tooltip: Prevent React Fragment triggers from crashing and provide a clear development warning
22
+
23
+ ## 38.38.0
24
+
25
+ ### Minor Changes
26
+
27
+ - [#8300](https://github.com/primer/react/pull/8300) [`3a32d6f`](https://github.com/primer/react/commit/3a32d6ff015b11dd2ac9bf299f8f558bb1e46ef5) Thanks [@joshblack](https://github.com/joshblack)! - Promote AriaStatus and AriaAlert from experimental to stable
28
+
29
+ - [#8325](https://github.com/primer/react/pull/8325) [`4266cab`](https://github.com/primer/react/commit/4266cab4cb9e744f70cc13a8904c3b29a6499284) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - SegmentedControl: Add a subtle visual variant with group dividers and an optional trailing action child.
30
+
31
+ ### Patch Changes
32
+
33
+ - [#8343](https://github.com/primer/react/pull/8343) [`7034e1f`](https://github.com/primer/react/commit/7034e1fbb754883b29a05fdf75eea8704359e7bb) Thanks [@llastflowers](https://github.com/llastflowers)! - Don't focus Autocomplete menu items while menu is closed: fix SR announcement bug and menu item skipping bug
34
+
35
+ - [#8330](https://github.com/primer/react/pull/8330) [`f7329dc`](https://github.com/primer/react/commit/f7329dc8224166fad2698ae7d6c518dc97d89754) Thanks [@mattcosta7](https://github.com/mattcosta7)! - RelativeTime: Prevent hydration errors when the server and client use different time zones
12
36
 
13
37
  - [#8339](https://github.com/primer/react/pull/8339) [`1f5b99e`](https://github.com/primer/react/commit/1f5b99edc63e3989eb470d258c4d7b8703540f6b) Thanks [@ShiyunXu](https://github.com/ShiyunXu)! - Pin `box-sizing` with `!important` on the underline tabbed interface wrapper in wrap mode so external overrides can no longer offset its height budget and incorrectly trigger the overflow "more" menu
14
38
 
@@ -8,9 +8,9 @@ import { useIsClipped } from "../internal/hooks/useOverflowObserver.js";
8
8
  import { OverflowObserverProvider } from "../internal/components/OverflowObserverProvider.js";
9
9
  import { createDescendantRegistry } from "../utils/descendant-registry.js";
10
10
  import ActionBar_module_css_default from "./ActionBar.module.css.js";
11
- import { clsx } from "clsx";
12
- import { jsx, jsxs } from "react/jsx-runtime";
13
11
  import React, { forwardRef, useCallback, useContext, useMemo, useRef, useState } from "react";
12
+ import { jsx, jsxs } from "react/jsx-runtime";
13
+ import { clsx } from "clsx";
14
14
  import { KebabHorizontalIcon } from "@primer/octicons-react";
15
15
  //#region src/ActionBar/ActionBar.tsx
16
16
  const ActionBarContext = /*#__PURE__*/ React.createContext({ size: "medium" });
@@ -1,10 +1,10 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { ItemContext } from "./shared.js";
2
3
  import ActionList_module_css_default from "./ActionList.module.css.js";
3
4
  import Truncate from "../Truncate/Truncate.js";
4
- import { c } from "react-compiler-runtime";
5
- import { clsx } from "clsx";
6
- import { jsx } from "react/jsx-runtime";
7
5
  import React from "react";
6
+ import { jsx } from "react/jsx-runtime";
7
+ import { clsx } from "clsx";
8
8
  //#region src/ActionList/Description.tsx
9
9
  const Description = (t0) => {
10
10
  const $ = c(26);
@@ -1,7 +1,7 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import ActionList_module_css_default from "./ActionList.module.css.js";
2
- import { c } from "react-compiler-runtime";
3
- import { clsx } from "clsx";
4
3
  import { jsx } from "react/jsx-runtime";
4
+ import { clsx } from "clsx";
5
5
  //#region src/ActionList/Divider.tsx
6
6
  /**
7
7
  * Visually separates `Items` or `Groups` in an `ActionList`.
@@ -1,3 +1,4 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useId as useId$1 } from "../hooks/useId.js";
2
3
  import { useSlots } from "../hooks/useSlots.js";
3
4
  import { useFeatureFlag } from "../FeatureFlags/useFeatureFlag.js";
@@ -7,10 +8,9 @@ import ActionList_module_css_default from "./ActionList.module.css.js";
7
8
  import Group_module_css_default from "./Group.module.css.js";
8
9
  import { GroupHeadingTrailingAction } from "./GroupHeadingTrailingAction.js";
9
10
  import { GroupContext } from "./GroupContext.js";
10
- import { c } from "react-compiler-runtime";
11
- import { clsx } from "clsx";
12
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
11
  import React from "react";
12
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
13
+ import { clsx } from "clsx";
14
14
  //#region src/ActionList/Group.tsx
15
15
  const GROUP_HEADING_TRAILING_ACTION_FEATURE_FLAG = "primer_react_action_list_group_heading_trailing_action";
16
16
  const Heading = (t0) => {
@@ -255,7 +255,7 @@ const GroupHeadingImpl = (t0) => {
255
255
  let t4;
256
256
  if ($[10] !== _internalBackwardCompatibleTitle || $[11] !== as || $[12] !== auxiliaryText || $[13] !== className || $[14] !== groupHeadingId || $[15] !== headingChildren || $[16] !== headingWrapElement || $[17] !== listRole || $[18] !== props || $[19] !== trailingAction || $[20] !== variant) {
257
257
  var _internalBackwardComp, _internalBackwardComp2;
258
- t4 = /*#__PURE__*/ jsx(Fragment, { children: listRole && listRole !== "list" ? /*#__PURE__*/ jsxs(HeadingWrap, {
258
+ t4 = /*#__PURE__*/ jsx(Fragment$1, { children: listRole && listRole !== "list" ? /*#__PURE__*/ jsxs(HeadingWrap, {
259
259
  role: "presentation",
260
260
  className: Group_module_css_default.GroupHeadingWrap,
261
261
  "aria-hidden": "true",
@@ -1,7 +1,7 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { IconButton } from "../Button/IconButton.js";
2
- import { c } from "react-compiler-runtime";
3
- import { jsx } from "react/jsx-runtime";
4
3
  import { forwardRef } from "react";
4
+ import { jsx } from "react/jsx-runtime";
5
5
  //#region src/ActionList/GroupHeadingTrailingAction.tsx
6
6
  /**
7
7
  * Props for `ActionList.GroupHeading.TrailingAction`.
@@ -1,3 +1,4 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useMergedRefs } from "../hooks/useMergedRefs.js";
2
3
  import { invariant } from "../utils/invariant.js";
3
4
  import _VisuallyHidden_module_css_default from "../_VisuallyHidden.module.css.js";
@@ -5,10 +6,9 @@ import { ActionListContainerContext } from "./ActionListContainerContext.js";
5
6
  import Heading$1 from "../Heading/Heading.js";
6
7
  import { ListContext } from "./shared.js";
7
8
  import Heading_module_css_default from "./Heading.module.css.js";
8
- import { c } from "react-compiler-runtime";
9
- import { clsx } from "clsx";
10
- import { jsx } from "react/jsx-runtime";
11
9
  import React, { forwardRef } from "react";
10
+ import { jsx } from "react/jsx-runtime";
11
+ import { clsx } from "clsx";
12
12
  //#region src/ActionList/Heading.tsx
13
13
  const Heading = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
14
14
  var _props$id;
@@ -1,3 +1,4 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useId as useId$1 } from "../hooks/useId.js";
2
3
  import { useSlots } from "../hooks/useSlots.js";
3
4
  import { ConditionalWrapper } from "../internal/components/ConditionalWrapper.js";
@@ -14,10 +15,9 @@ import { Description } from "./Description.js";
14
15
  import { LeadingVisual, TrailingVisual, VisualOrIndicator } from "./Visuals.js";
15
16
  import { Selection } from "./Selection.js";
16
17
  import { TrailingAction } from "./TrailingAction.js";
17
- import { c } from "react-compiler-runtime";
18
- import { clsx } from "clsx";
19
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
20
18
  import React from "react";
19
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
20
+ import { clsx } from "clsx";
21
21
  //#region src/ActionList/Item.tsx
22
22
  /**
23
23
  * Wraps button-semantic items with Tooltip, disabled when not truncated
@@ -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, { children });
52
+ t1 = /*#__PURE__*/ jsx(Fragment$1, { children });
53
53
  $[0] = children;
54
54
  $[1] = t1;
55
55
  } else t1 = $[1];
@@ -1,3 +1,4 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useMergedRefs } from "../hooks/useMergedRefs.js";
2
3
  import { useProvidedRefOrCreate } from "../hooks/useProvidedRefOrCreate.js";
3
4
  import useIsomorphicLayoutEffect from "../utils/useIsomorphicLayoutEffect.js";
@@ -10,10 +11,9 @@ import { ActionListContainerContext } from "./ActionListContainerContext.js";
10
11
  import { ListContext } from "./shared.js";
11
12
  import { Heading } from "./Heading.js";
12
13
  import ActionList_module_css_default from "./ActionList.module.css.js";
13
- import { c } from "react-compiler-runtime";
14
- import { clsx } from "clsx";
15
- import { jsx, jsxs } from "react/jsx-runtime";
16
14
  import React, { useRef } from "react";
15
+ import { jsx, jsxs } from "react/jsx-runtime";
16
+ import { clsx } from "clsx";
17
17
  //#region src/ActionList/List.tsx
18
18
  const UnwrappedList = (props, forwardedRef) => {
19
19
  var _slots$heading$props$;
@@ -1,12 +1,12 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { warning } from "../utils/warning.js";
2
3
  import Radio from "../Radio/Radio.js";
3
4
  import { ListContext } from "./shared.js";
4
5
  import ActionList_module_css_default from "./ActionList.module.css.js";
5
6
  import { GroupContext } from "./GroupContext.js";
6
7
  import { VisualContainer } from "./Visuals.js";
7
- import { c } from "react-compiler-runtime";
8
- import { jsx } from "react/jsx-runtime";
9
8
  import React from "react";
9
+ import { jsx } from "react/jsx-runtime";
10
10
  import { CheckIcon } from "@primer/octicons-react";
11
11
  //#region src/ActionList/Selection.tsx
12
12
  const Selection = (t0) => {
@@ -1,10 +1,10 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { IconButton } from "../Button/IconButton.js";
2
3
  import { ButtonComponent } from "../Button/Button.js";
3
4
  import ActionList_module_css_default from "./ActionList.module.css.js";
4
- import { c } from "react-compiler-runtime";
5
- import { clsx } from "clsx";
6
- import { jsx } from "react/jsx-runtime";
7
5
  import { forwardRef } from "react";
6
+ import { jsx } from "react/jsx-runtime";
7
+ import { clsx } from "clsx";
8
8
  //#region src/ActionList/TrailingAction.tsx
9
9
  const TrailingAction = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
10
10
  const $ = c(25);
@@ -1,11 +1,11 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import Spinner from "../Spinner/Spinner.js";
2
3
  import { Tooltip } from "../TooltipV2/Tooltip.js";
3
4
  import { ItemContext } from "./shared.js";
4
5
  import ActionList_module_css_default from "./ActionList.module.css.js";
5
- import { c } from "react-compiler-runtime";
6
- import { clsx } from "clsx";
7
- import { jsx } from "react/jsx-runtime";
8
6
  import React from "react";
7
+ import { jsx } from "react/jsx-runtime";
8
+ import { clsx } from "clsx";
9
9
  import { AlertIcon } from "@primer/octicons-react";
10
10
  //#region src/ActionList/Visuals.tsx
11
11
  const VisualContainer = (t0) => {
@@ -11,9 +11,9 @@ import { ActionListContainerContext } from "../ActionList/ActionListContainerCon
11
11
  import { Divider } from "../ActionList/Divider.js";
12
12
  import { AnchoredOverlay } from "../AnchoredOverlay/AnchoredOverlay.js";
13
13
  import ActionMenu_module_css_default from "./ActionMenu.module.css.js";
14
- import { clsx } from "clsx";
15
- import { jsx } from "react/jsx-runtime";
16
14
  import React, { useCallback, useContext, useEffect, useMemo, useState } from "react";
15
+ import { jsx } from "react/jsx-runtime";
16
+ import { clsx } from "clsx";
17
17
  import { ChevronRightIcon, TriangleDownIcon } from "@primer/octicons-react";
18
18
  //#region src/ActionMenu/ActionMenu.tsx
19
19
  const MenuContext = /*#__PURE__*/ React.createContext({
@@ -11,9 +11,9 @@ import { useFocusZone } from "../hooks/useFocusZone.js";
11
11
  import Overlay from "../Overlay/Overlay.js";
12
12
  import AnchoredOverlay_module_css_default from "./AnchoredOverlay.module.css.js";
13
13
  import { widthMap } from "../Overlay/constants.js";
14
- import { clsx } from "clsx";
15
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
16
14
  import { useCallback, useEffect, useState } from "react";
15
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
16
+ import { clsx } from "clsx";
17
17
  import { XIcon } from "@primer/octicons-react";
18
18
  //#region src/AnchoredOverlay/AnchoredOverlay.tsx
19
19
  const defaultVariant = {
@@ -164,7 +164,7 @@ const AnchoredOverlay = ({ renderAnchor, anchorRef: externalAnchorRef, anchorId:
164
164
  const XButtonAriaLabelledBy = closeButtonProps["aria-labelledby"];
165
165
  const XButtonAriaLabel = closeButtonProps["aria-label"];
166
166
  const { className: overlayClassName, _PrivateDisablePortal, ...restOverlayProps } = overlayProps || {};
167
- return /*#__PURE__*/ jsxs(Fragment, { children: [renderAnchor && renderAnchor({
167
+ return /*#__PURE__*/ jsxs(Fragment$1, { children: [renderAnchor && renderAnchor({
168
168
  ref: anchorRef,
169
169
  id: anchorId,
170
170
  "aria-haspopup": "true",
@@ -1,11 +1,11 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useId as useId$1 } from "../hooks/useId.js";
2
3
  import { AutocompleteContext, AutocompleteDeferredInputContext, AutocompleteInputContext } from "./AutocompleteContext.js";
3
4
  import AutocompleteInput from "./AutocompleteInput.js";
4
5
  import AutocompleteMenu from "./AutocompleteMenu.js";
5
6
  import AutocompleteOverlay from "./AutocompleteOverlay.js";
6
- import { c } from "react-compiler-runtime";
7
- import { jsx } from "react/jsx-runtime";
8
7
  import { useDeferredValue, useReducer, useRef } from "react";
8
+ import { jsx } from "react/jsx-runtime";
9
9
  //#region src/Autocomplete/Autocomplete.tsx
10
10
  const initialState = {
11
11
  inputValue: "",
@@ -2,8 +2,8 @@ import { useMergedRefs } from "../hooks/useMergedRefs.js";
2
2
  import useSafeTimeout from "../hooks/useSafeTimeout.js";
3
3
  import { AutocompleteContext, AutocompleteInputContext } from "./AutocompleteContext.js";
4
4
  import TextInput_default from "../TextInput/TextInput.js";
5
- import { jsx } from "react/jsx-runtime";
6
5
  import React, { useCallback, useContext, useEffect, useState } from "react";
6
+ import { jsx } from "react/jsx-runtime";
7
7
  //#region src/Autocomplete/AutocompleteInput.tsx
8
8
  const ARROW_KEYS_NAV = /* @__PURE__ */ new Set(["ArrowUp", "ArrowDown"]);
9
9
  const AutocompleteInput = /*#__PURE__*/ React.forwardRef(({ as: Component = TextInput_default, onFocus, onBlur, onChange, onKeyDown, onKeyDownCapture, onKeyUp, onKeyPress, value, openOnFocus = false, ...props }, forwardedRef) => {
@@ -1,3 +1,4 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useId as useId$1 } from "../hooks/useId.js";
2
3
  import Spinner from "../Spinner/Spinner.js";
3
4
  import VisuallyHidden from "../_VisuallyHidden.js";
@@ -5,11 +6,10 @@ import { useFocusZone } from "../hooks/useFocusZone.js";
5
6
  import { ActionList } from "../ActionList/index.js";
6
7
  import { AutocompleteContext, AutocompleteDeferredInputContext } from "./AutocompleteContext.js";
7
8
  import AutocompleteMenu_module_css_default from "./AutocompleteMenu.module.css.js";
8
- import { c } from "react-compiler-runtime";
9
- import { jsx, jsxs } from "react/jsx-runtime";
10
9
  import React, { useContext, useEffect, useRef, useState } from "react";
11
- import { scrollIntoView } from "@primer/behaviors";
12
10
  import { announce } from "@primer/live-region-element";
11
+ import { jsx, jsxs } from "react/jsx-runtime";
12
+ import { scrollIntoView } from "@primer/behaviors";
13
13
  import { isElement } from "react-is";
14
14
  import { PlusIcon } from "@primer/octicons-react";
15
15
  import { debounce } from "@github/mini-throttle";
@@ -1,13 +1,13 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useMergedRefs } from "../hooks/useMergedRefs.js";
2
3
  import { useAnchoredPosition } from "../hooks/useAnchoredPosition.js";
3
4
  import VisuallyHidden from "../_VisuallyHidden.js";
4
5
  import Overlay from "../Overlay/Overlay.js";
5
6
  import { AutocompleteContext } from "./AutocompleteContext.js";
6
7
  import AutocompleteOverlay_module_css_default from "./AutocompleteOverlay.module.css.js";
7
- import { c } from "react-compiler-runtime";
8
- import { clsx } from "clsx";
9
- import { jsx } from "react/jsx-runtime";
10
8
  import { useContext, useEffect, useRef } from "react";
9
+ import { jsx } from "react/jsx-runtime";
10
+ import { clsx } from "clsx";
11
11
  //#region src/Autocomplete/AutocompleteOverlay.tsx
12
12
  function AutocompleteOverlay(t0) {
13
13
  const $ = c(29);
@@ -1,9 +1,9 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { isResponsiveValue } from "../hooks/useResponsiveValue.js";
2
3
  import Avatar_module_css_default from "./Avatar.module.css.js";
3
- import { c } from "react-compiler-runtime";
4
- import { clsx } from "clsx";
5
- import { jsx } from "react/jsx-runtime";
6
4
  import React from "react";
5
+ import { jsx } from "react/jsx-runtime";
6
+ import { clsx } from "clsx";
7
7
  const Avatar = /*#__PURE__*/ React.forwardRef(function Avatar(t0, ref) {
8
8
  const $ = c(29);
9
9
  let className;
@@ -1,10 +1,10 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { isResponsiveValue } from "../hooks/useResponsiveValue.js";
2
3
  import AvatarStack_module_css_default from "./AvatarStack.module.css.js";
3
4
  import { hasInteractiveNodes } from "../internal/utils/hasInteractiveNodes.js";
4
- import { c } from "react-compiler-runtime";
5
- import { clsx } from "clsx";
6
- import { jsx, jsxs } from "react/jsx-runtime";
7
5
  import React, { useEffect, useRef, useState } from "react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ import { clsx } from "clsx";
8
8
  //#region src/AvatarStack/AvatarStack.tsx
9
9
  const transformChildren = (children, shape) => {
10
10
  return React.Children.map(children, (child) => {
@@ -1,3 +1,4 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useMergedRefs } from "../hooks/useMergedRefs.js";
2
3
  import { VisuallyHidden } from "../VisuallyHidden/VisuallyHidden.js";
3
4
  import { useId as useId$1 } from "../hooks/useId.js";
@@ -5,10 +6,9 @@ import { IconButton } from "../Button/IconButton.js";
5
6
  import { ButtonComponent } from "../Button/Button.js";
6
7
  import { useDevOnlyEffect } from "../internal/hooks/useDevOnlyEffect.js";
7
8
  import Banner_module_css_default from "./Banner.module.css.js";
8
- import { c } from "react-compiler-runtime";
9
- import { clsx } from "clsx";
10
- import { jsx, jsxs } from "react/jsx-runtime";
11
9
  import React, { forwardRef } from "react";
10
+ import { jsx, jsxs } from "react/jsx-runtime";
11
+ import { clsx } from "clsx";
12
12
  import { AlertIcon, CheckCircleIcon, InfoIcon, StopIcon, XIcon } from "@primer/octicons-react";
13
13
  //#region src/Banner/Banner.tsx
14
14
  const BannerContext = /*#__PURE__*/ React.createContext(void 0);
@@ -1,8 +1,8 @@
1
+ import { c } from "./utils/react-compiler-runtime.js";
1
2
  import BaseStyles_module_css_default from "./BaseStyles.module.css.js";
2
- import { c } from "react-compiler-runtime";
3
+ import { jsx } from "react/jsx-runtime";
3
4
  import { clsx } from "clsx";
4
5
  import "focus-visible";
5
- import { jsx } from "react/jsx-runtime";
6
6
  //#region src/BaseStyles.tsx
7
7
  function BaseStyles(t0) {
8
8
  const $ = c(20);
@@ -1,11 +1,11 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { ButtonComponent } from "../Button/Button.js";
2
3
  import Link from "../Link/Link.js";
3
4
  import { Provider, useBlankslate } from "./BlankslateContext.js";
4
5
  import Blankslate_module_css_default from "./Blankslate.module.css.js";
5
- import { c } from "react-compiler-runtime";
6
- import { clsx } from "clsx";
7
- import { jsx } from "react/jsx-runtime";
8
6
  import "react";
7
+ import { jsx } from "react/jsx-runtime";
8
+ import { clsx } from "clsx";
9
9
  //#region src/Blankslate/Blankslate.tsx
10
10
  function Blankslate(t0) {
11
11
  const $ = c(25);
@@ -1,8 +1,8 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { fixedForwardRef } from "../utils/modern-polymorphic.js";
2
3
  import BranchName_module_css_default from "./BranchName.module.css.js";
3
- import { c } from "react-compiler-runtime";
4
- import { clsx } from "clsx";
5
4
  import { jsx } from "react/jsx-runtime";
5
+ import { clsx } from "clsx";
6
6
  //#region src/BranchName/BranchName.tsx
7
7
  function BranchName(props, ref) {
8
8
  const $ = c(13);
@@ -1,3 +1,4 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useOnOutsideClick } from "../hooks/useOnOutsideClick.js";
2
3
  import { useOnEscapePress } from "../hooks/useOnEscapePress.js";
3
4
  import useIsomorphicLayoutEffect from "../utils/useIsomorphicLayoutEffect.js";
@@ -7,10 +8,9 @@ import { IconButton } from "../Button/IconButton.js";
7
8
  import { ActionList } from "../ActionList/index.js";
8
9
  import Breadcrumbs_module_css_default from "./Breadcrumbs.module.css.js";
9
10
  import Details from "../Details/Details.js";
10
- import { c } from "react-compiler-runtime";
11
- import { clsx } from "clsx";
12
- import { jsx, jsxs } from "react/jsx-runtime";
13
11
  import React, { useRef, useState } from "react";
12
+ import { jsx, jsxs } from "react/jsx-runtime";
13
+ import { clsx } from "clsx";
14
14
  import { KebabHorizontalIcon } from "@primer/octicons-react";
15
15
  //#region src/Breadcrumbs/Breadcrumbs.tsx
16
16
  const BreadcrumbsList = (t0) => {
@@ -1,7 +1,7 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { ButtonBase } from "./ButtonBase.js";
2
- import { c } from "react-compiler-runtime";
3
- import { jsx } from "react/jsx-runtime";
4
3
  import { forwardRef } from "react";
4
+ import { jsx } from "react/jsx-runtime";
5
5
  //#region src/Button/Button.tsx
6
6
  const ButtonComponent = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
7
7
  const $ = c(7);
@@ -1,14 +1,14 @@
1
+ import { AriaStatus } from "../live-region/AriaStatus.js";
1
2
  import { useMergedRefs } from "../hooks/useMergedRefs.js";
2
3
  import { VisuallyHidden } from "../VisuallyHidden/VisuallyHidden.js";
3
4
  import { useId as useId$1 } from "../hooks/useId.js";
4
5
  import Spinner from "../Spinner/Spinner.js";
5
6
  import CounterLabel from "../CounterLabel/CounterLabel.js";
6
7
  import { ConditionalWrapper } from "../internal/components/ConditionalWrapper.js";
7
- import { AriaStatus } from "../live-region/AriaStatus.js";
8
8
  import ButtonBase_module_css_default from "./ButtonBase.module.css.js";
9
- import { clsx } from "clsx";
10
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
9
  import React, { forwardRef } from "react";
10
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
11
+ import { clsx } from "clsx";
12
12
  import { isElement } from "react-is";
13
13
  //#region src/Button/ButtonBase.tsx
14
14
  const renderModuleVisual = (Visual, loading, visualName, counterLabel) => /*#__PURE__*/ jsx("span", {
@@ -53,7 +53,7 @@ const ButtonBase = /*#__PURE__*/ forwardRef(({ children, as: Component = "button
53
53
  "aria-labelledby": loading ? [`${uuid}-label`, ariaLabelledBy].filter((labelID) => Boolean(labelID)).join(" ") : ariaLabelledBy,
54
54
  id,
55
55
  onClick: loading ? void 0 : onClick,
56
- children: Icon ? loading ? /*#__PURE__*/ jsx(Spinner, { size: "small" }) : isElement(Icon) ? Icon : /*#__PURE__*/ jsx(Icon, {}) : /*#__PURE__*/ jsxs(Fragment, { children: [/*#__PURE__*/ jsxs("span", {
56
+ children: Icon ? loading ? /*#__PURE__*/ jsx(Spinner, { size: "small" }) : isElement(Icon) ? Icon : /*#__PURE__*/ jsx(Icon, {}) : /*#__PURE__*/ jsxs(Fragment$1, { children: [/*#__PURE__*/ jsxs("span", {
57
57
  "data-component": "buttonContent",
58
58
  "data-align": alignContent,
59
59
  className: ButtonBase_module_css_default.ButtonContent,
@@ -1,12 +1,12 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import ButtonBase_module_css_default from "./ButtonBase.module.css.js";
2
3
  import { ButtonBase } from "./ButtonBase.js";
3
4
  import { TooltipContext } from "../TooltipV2/TooltipContext.js";
4
5
  import { Tooltip } from "../TooltipV2/Tooltip.js";
5
6
  import { TooltipContext as TooltipContext$1 } from "../Tooltip/TooltipContext.js";
6
- import { c } from "react-compiler-runtime";
7
- import { clsx } from "clsx";
8
- import { jsx } from "react/jsx-runtime";
9
7
  import React, { forwardRef } from "react";
8
+ import { jsx } from "react/jsx-runtime";
9
+ import { clsx } from "clsx";
10
10
  //#region src/Button/IconButton.tsx
11
11
  const IconButton = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
12
12
  const $ = c(36);
@@ -1,7 +1,7 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { ButtonBase } from "./ButtonBase.js";
2
- import { c } from "react-compiler-runtime";
3
- import { jsx } from "react/jsx-runtime";
4
3
  import { forwardRef } from "react";
4
+ import { jsx } from "react/jsx-runtime";
5
5
  //#region src/Button/LinkButton.tsx
6
6
  const LinkButton = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
7
7
  const $ = c(9);
@@ -1,12 +1,12 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useMergedRefs } from "../hooks/useMergedRefs.js";
2
3
  import { useProvidedRefOrCreate } from "../hooks/useProvidedRefOrCreate.js";
3
4
  import { useFeatureFlag } from "../FeatureFlags/useFeatureFlag.js";
4
5
  import { FocusKeys, useFocusZone } from "../hooks/useFocusZone.js";
5
6
  import ButtonGroup_module_css_default from "./ButtonGroup.module.css.js";
6
- import { c } from "react-compiler-runtime";
7
- import { clsx } from "clsx";
8
- import { jsx } from "react/jsx-runtime";
9
7
  import React, { useRef } from "react";
8
+ import { jsx } from "react/jsx-runtime";
9
+ import { clsx } from "clsx";
10
10
  //#region src/ButtonGroup/ButtonGroup.tsx
11
11
  const ButtonGroup = /*#__PURE__*/ React.forwardRef(function ButtonGroup(t0, forwardRef) {
12
12
  const $ = c(20);
package/dist/Card/Card.js CHANGED
@@ -1,10 +1,10 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useId as useId$1 } from "../hooks/useId.js";
2
3
  import { fixedForwardRef } from "../utils/modern-polymorphic.js";
3
4
  import Card_module_css_default from "./Card.module.css.js";
4
- import { c } from "react-compiler-runtime";
5
- import { clsx } from "clsx";
6
- import { jsx, jsxs } from "react/jsx-runtime";
7
5
  import React, { createContext, forwardRef, useContext } from "react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ import { clsx } from "clsx";
8
8
  //#region src/Card/Card.tsx
9
9
  const CardContext = /*#__PURE__*/ createContext({});
10
10
  function CardComponent(props, ref) {
@@ -5,9 +5,9 @@ import { useFeatureFlag } from "../FeatureFlags/useFeatureFlag.js";
5
5
  import shared_module_css_default from "./shared.module.css.js";
6
6
  import { CheckboxGroupContext } from "../CheckboxGroup/CheckboxGroupContext.js";
7
7
  import Checkbox_module_css_default from "./Checkbox.module.css.js";
8
- import { clsx } from "clsx";
9
- import { jsx } from "react/jsx-runtime";
10
8
  import React, { useContext, useEffect, useRef } from "react";
9
+ import { jsx } from "react/jsx-runtime";
10
+ import { clsx } from "clsx";
11
11
  //#region src/Checkbox/Checkbox.tsx
12
12
  /**
13
13
  * An accessible, native checkbox component
@@ -1,3 +1,4 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useRenderForcingRef } from "../hooks/useRenderForcingRef.js";
2
3
  import { isSlot } from "../utils/is-slot.js";
3
4
  import CheckboxOrRadioGroupCaption from "../internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js";
@@ -7,9 +8,8 @@ import CheckboxOrRadioGroup_default from "../internal/components/CheckboxOrRadio
7
8
  import { CheckboxGroupContext } from "./CheckboxGroupContext.js";
8
9
  import Checkbox from "../Checkbox/Checkbox.js";
9
10
  import FormControl_default from "../FormControl/FormControl.js";
10
- import { c } from "react-compiler-runtime";
11
- import { jsx } from "react/jsx-runtime";
12
11
  import React from "react";
12
+ import { jsx } from "react/jsx-runtime";
13
13
  //#region src/CheckboxGroup/CheckboxGroup.tsx
14
14
  const CheckboxGroup = (t0) => {
15
15
  const $ = c(24);
@@ -1,9 +1,9 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import Octicon from "../Octicon/Octicon.js";
2
3
  import isNumeric from "../utils/isNumeric.js";
3
4
  import CircleBadge_module_css_default from "./CircleBadge.module.css.js";
4
- import { c } from "react-compiler-runtime";
5
- import { clsx } from "clsx";
6
5
  import { jsx } from "react/jsx-runtime";
6
+ import { clsx } from "clsx";
7
7
  //#region src/CircleBadge/CircleBadge.tsx
8
8
  const variantSizes = {
9
9
  small: 56,
@@ -1,7 +1,7 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { Dialog } from "../Dialog/Dialog.js";
2
- import { c } from "react-compiler-runtime";
3
- import { jsx } from "react/jsx-runtime";
4
3
  import "react";
4
+ import { jsx } from "react/jsx-runtime";
5
5
  //#region src/ConfirmationDialog/ConfirmationDialog.tsx
6
6
  /**
7
7
  * Props to customize the ConfirmationDialog.
@@ -1,8 +1,8 @@
1
1
  import { VisuallyHidden } from "../VisuallyHidden/VisuallyHidden.js";
2
2
  import CounterLabel_module_css_default from "./CounterLabel.module.css.js";
3
- import { clsx } from "clsx";
4
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
3
  import { forwardRef } from "react";
4
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
5
+ import { clsx } from "clsx";
6
6
  //#region src/CounterLabel/CounterLabel.tsx
7
7
  const CounterLabel = /*#__PURE__*/ forwardRef(({ variant, scheme, className, children, ["data-component"]: dataComponent, ...rest }, forwardedRef) => {
8
8
  const label = /*#__PURE__*/ jsxs(VisuallyHidden, { children: [
@@ -17,7 +17,7 @@ const CounterLabel = /*#__PURE__*/ forwardRef(({ variant, scheme, className, chi
17
17
  ["data-variant"]: inferredVariant,
18
18
  ...rest
19
19
  };
20
- return /*#__PURE__*/ jsxs(Fragment, { children: [/*#__PURE__*/ jsx("span", {
20
+ return /*#__PURE__*/ jsxs(Fragment$1, { children: [/*#__PURE__*/ jsx("span", {
21
21
  ...counterProps,
22
22
  "data-component": dataComponent !== null && dataComponent !== void 0 ? dataComponent : "CounterLabel",
23
23
  className: clsx(className, CounterLabel_module_css_default.CounterLabel),
@@ -1,6 +1,6 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useTable } from "./useTable.js";
2
3
  import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, TableSortHeader } from "./Table.js";
3
- import { c } from "react-compiler-runtime";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/DataTable/DataTable.tsx
6
6
  function defaultGetRowId(row) {