@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
@@ -0,0 +1,5 @@
1
+ import { createContext } from "react";
2
+ //#region src/SegmentedControl/SegmentedControlActionContext.ts
3
+ const SegmentedControlActionContext = /*#__PURE__*/ createContext("inline");
4
+ //#endregion
5
+ export { SegmentedControlActionContext };
@@ -1,8 +1,8 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import CounterLabel from "../CounterLabel/CounterLabel.js";
2
3
  import SegmentedControl_module_css_default from "./SegmentedControl.module.css.js";
3
- import { c } from "react-compiler-runtime";
4
- import { clsx } from "clsx";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
+ import { clsx } from "clsx";
6
6
  import { isElement } from "react-is";
7
7
  //#region src/SegmentedControl/SegmentedControlButton.tsx
8
8
  const SegmentedControlButton = (t0) => {
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+
3
+ //#region src/SegmentedControl/SegmentedControlDivider.d.ts
4
+ type SegmentedControlDividerProps = {
5
+ className?: string;
6
+ style?: React.CSSProperties;
7
+ };
8
+ //#endregion
9
+ export { SegmentedControlDividerProps };
@@ -0,0 +1,24 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
2
+ import { jsx } from "react/jsx-runtime";
3
+ //#region src/SegmentedControl/SegmentedControlDivider.tsx
4
+ const SegmentedControlDivider = (t0) => {
5
+ const $ = c(3);
6
+ const { className, style } = t0;
7
+ let t1;
8
+ if ($[0] !== className || $[1] !== style) {
9
+ t1 = /*#__PURE__*/ jsx("li", {
10
+ "aria-hidden": "true",
11
+ className,
12
+ "data-component": "SegmentedControl.Divider",
13
+ style
14
+ });
15
+ $[0] = className;
16
+ $[1] = style;
17
+ $[2] = t1;
18
+ } else t1 = $[2];
19
+ return t1;
20
+ };
21
+ SegmentedControlDivider.displayName = "SegmentedControl.Divider";
22
+ SegmentedControlDivider.__SLOT__ = Symbol("SegmentedControl.Divider");
23
+ //#endregion
24
+ export { SegmentedControlDivider as default };
@@ -1,8 +1,8 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { Tooltip } from "../TooltipV2/Tooltip.js";
2
3
  import SegmentedControl_module_css_default from "./SegmentedControl.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
  import { isElement } from "react-is";
7
7
  //#region src/SegmentedControl/SegmentedControlIconButton.tsx
8
8
  const SegmentedControlIconButton = (t0) => {
@@ -1,4 +1,6 @@
1
+ import { SegmentedControlDividerProps } from "./SegmentedControlDivider.js";
2
+ import { SegmentedControlActionProps } from "./SegmentedControlAction.js";
1
3
  import { SegmentedControlButtonProps } from "./SegmentedControlButton.js";
2
4
  import { SegmentedControlIconButtonProps } from "./SegmentedControlIconButton.js";
3
5
  import { SegmentedControl, SegmentedControlProps } from "./SegmentedControl.js";
4
- export { SegmentedControl, type SegmentedControlButtonProps, type SegmentedControlIconButtonProps, SegmentedControlProps };
6
+ export { SegmentedControl, type SegmentedControlActionProps, type SegmentedControlButtonProps, type SegmentedControlDividerProps, type SegmentedControlIconButtonProps, SegmentedControlProps };
@@ -1,9 +1,9 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { TextInputWrapper } from "../internal/components/TextInputWrapper.js";
2
3
  import Select_module_css_default from "./Select.module.css.js";
3
- import { c } from "react-compiler-runtime";
4
- import { clsx } from "clsx";
5
- import { jsx, jsxs } from "react/jsx-runtime";
6
4
  import React from "react";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { clsx } from "clsx";
7
7
  //#region src/Select/Select.tsx
8
8
  const ArrowIndicatorSVG = (t0) => {
9
9
  const $ = c(3);
@@ -16,10 +16,10 @@ import { FilteredActionListLoadingTypes } from "../FilteredActionList/constants.
16
16
  import { FilteredActionList } from "../FilteredActionList/index.js";
17
17
  import SelectPanel_module_css_default from "./SelectPanel.module.css.js";
18
18
  import { SelectPanelMessage } from "./SelectPanelMessage.js";
19
- import { clsx } from "clsx";
20
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
21
19
  import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
22
20
  import { announce, announceFromElement } from "@primer/live-region-element";
21
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
22
+ import { clsx } from "clsx";
23
23
  import { SearchIcon, TriangleDownIcon, XIcon } from "@primer/octicons-react";
24
24
  import { debounce } from "@github/mini-throttle";
25
25
  //#region src/SelectPanel/SelectPanel.tsx
@@ -460,7 +460,7 @@ function Panel({ open, onOpenChange, renderAnchor = defaultRenderAnchor, anchorR
460
460
  availablePanelHeight,
461
461
  preventBubbling
462
462
  ]);
463
- return /*#__PURE__*/ jsxs(Fragment, { children: [/*#__PURE__*/ jsx(AnchoredOverlay, {
463
+ return /*#__PURE__*/ jsxs(Fragment$1, { children: [/*#__PURE__*/ jsx(AnchoredOverlay, {
464
464
  renderAnchor: renderMenuAnchor,
465
465
  anchorRef,
466
466
  align,
@@ -1,9 +1,9 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import Text_default from "../Text/Text.js";
2
3
  import Octicon from "../Octicon/Octicon.js";
3
4
  import SelectPanel_module_css_default from "./SelectPanel.module.css.js";
4
- import { c } from "react-compiler-runtime";
5
- import { clsx } from "clsx";
6
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { clsx } from "clsx";
7
7
  import { AlertIcon } from "@primer/octicons-react";
8
8
  //#region src/SelectPanel/SelectPanelMessage.tsx
9
9
  const SelectPanelMessage = (t0) => {
package/dist/SideNav.js CHANGED
@@ -1,8 +1,8 @@
1
+ import { c } from "./utils/react-compiler-runtime.js";
1
2
  import Link from "./Link/Link.js";
2
3
  import SideNav_module_css_default from "./SideNav.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/SideNav.tsx
7
7
  function SideNav(t0) {
8
8
  const $ = c(10);
@@ -1,8 +1,8 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import SkeletonBox_module_css_default from "./SkeletonBox.module.css.js";
2
- import { c } from "react-compiler-runtime";
3
- import { clsx } from "clsx";
4
- import { jsx } from "react/jsx-runtime";
5
3
  import React, { useEffect, useState } from "react";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { clsx } from "clsx";
6
6
  //#region src/Skeleton/SkeletonBox.tsx
7
7
  const SkeletonBox = /*#__PURE__*/ React.forwardRef(function SkeletonBox(t0, ref) {
8
8
  const $ = c(25);
@@ -1,9 +1,9 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { isResponsiveValue } from "../hooks/useResponsiveValue.js";
2
3
  import { SkeletonBox } from "../Skeleton/SkeletonBox.js";
3
4
  import SkeletonAvatar_module_css_default from "./SkeletonAvatar.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/SkeletonAvatar/SkeletonAvatar.tsx
8
8
  function SkeletonAvatar(t0) {
9
9
  const $ = c(26);
@@ -1,8 +1,8 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { SkeletonBox } from "../Skeleton/SkeletonBox.js";
2
3
  import SkeletonText_module_css_default from "./SkeletonText.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/SkeletonText/SkeletonText.tsx
7
7
  function SkeletonText(t0) {
8
8
  const $ = c(32);
@@ -1,11 +1,11 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { VisuallyHidden } from "../VisuallyHidden/VisuallyHidden.js";
2
3
  import { useId as useId$1 } from "../hooks/useId.js";
3
4
  import Spinner_module_css_default from "./Spinner.module.css.js";
4
5
  import { useMedia } from "../hooks/useMedia.js";
5
- import { c } from "react-compiler-runtime";
6
- import { clsx } from "clsx";
7
- import { jsx, jsxs } from "react/jsx-runtime";
8
6
  import { useEffect, useState } from "react";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ import { clsx } from "clsx";
9
9
  //#region src/Spinner/Spinner.tsx
10
10
  const ANIMATION_DURATION_MS = 1e3;
11
11
  const sizeMap = {
@@ -1,5 +1,5 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { PageLayout } from "../PageLayout/PageLayout.js";
2
- import { c } from "react-compiler-runtime";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/SplitPageLayout/SplitPageLayout.tsx
5
5
  const Root = (props) => {
@@ -1,9 +1,9 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { getResponsiveAttributes } from "../internal/utils/getResponsiveAttributes.js";
2
3
  import Stack_module_css_default from "./Stack.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 { forwardRef } from "react";
5
+ import { jsx } from "react/jsx-runtime";
6
+ import { clsx } from "clsx";
7
7
  //#region src/Stack/Stack.tsx
8
8
  const Stack = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
9
9
  const $ = c(45);
@@ -1,9 +1,9 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import Octicon from "../Octicon/Octicon.js";
2
3
  import StateLabel_module_css_default from "./StateLabel.module.css.js";
3
- import { c } from "react-compiler-runtime";
4
- import { clsx } from "clsx";
5
- import { jsx, jsxs } from "react/jsx-runtime";
6
4
  import { forwardRef } from "react";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { clsx } from "clsx";
7
7
  import { AlertIcon, ArchiveIcon, GitMergeIcon, GitMergeQueueIcon, GitPullRequestClosedIcon, GitPullRequestDraftIcon, GitPullRequestIcon, IssueClosedIcon, IssueDraftIcon, IssueOpenedIcon, ShieldCheckIcon, ShieldIcon, ShieldSlashIcon, ShieldXIcon, SkipIcon } from "@primer/octicons-react";
8
8
  //#region src/StateLabel/StateLabel.tsx
9
9
  const octiconMap = {
@@ -1,8 +1,8 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import SubNav_module_css_default from "./SubNav.module.css.js";
2
- import { c } from "react-compiler-runtime";
3
- import { clsx } from "clsx";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
3
  import React from "react";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ import { clsx } from "clsx";
6
6
  //#region src/SubNav/SubNav.tsx
7
7
  const SubNav = /*#__PURE__*/ React.forwardRef(function SubNav(t0, forwardRef) {
8
8
  const $ = c(20);
@@ -1,9 +1,9 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { FocusKeys, useFocusZone } from "../hooks/useFocusZone.js";
2
3
  import TabNav_module_css_default from "./TabNav.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, { useRef, useState } from "react";
5
+ import { jsx } from "react/jsx-runtime";
6
+ import { clsx } from "clsx";
7
7
  //#region src/TabNav/TabNav.tsx
8
8
  /**
9
9
  * @deprecated
package/dist/Text/Text.js CHANGED
@@ -1,8 +1,8 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import Text_module_css_default from "./Text.module.css.js";
2
3
  import { fixedForwardRef } from "../utils/modern-polymorphic.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/Text/Text.tsx
7
7
  function Text(props, ref) {
8
8
  const $ = c(17);
@@ -1,6 +1,6 @@
1
+ import { AriaStatus } from "../live-region/AriaStatus.js";
1
2
  import { useMergedRefs } from "../hooks/useMergedRefs.js";
2
3
  import { useProvidedRefOrCreate } from "../hooks/useProvidedRefOrCreate.js";
3
- import { AriaStatus } from "../live-region/AriaStatus.js";
4
4
  import { useFeatureFlag } from "../FeatureFlags/useFeatureFlag.js";
5
5
  import Text_default from "../Text/Text.js";
6
6
  import _VisuallyHidden_module_css_default from "../_VisuallyHidden.module.css.js";
@@ -11,9 +11,9 @@ import { TextInputWrapper } from "../internal/components/TextInputWrapper.js";
11
11
  import TextInputAction from "../internal/components/TextInputInnerAction.js";
12
12
  import UnstyledTextInput from "../internal/components/UnstyledTextInput.js";
13
13
  import { getCharacterCountState } from "../utils/character-counter.js";
14
- import { clsx } from "clsx";
15
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
16
14
  import React, { useCallback, useId, useRef, useState } from "react";
15
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
16
+ import { clsx } from "clsx";
17
17
  import { isValidElementType } from "react-is";
18
18
  import { AlertFillIcon } from "@primer/octicons-react";
19
19
  //#region src/TextInput/TextInput.tsx
@@ -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, { 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,
@@ -123,7 +123,7 @@ const TextInput = /*#__PURE__*/ React.forwardRef(({ icon: IconComponent, leading
123
123
  }),
124
124
  trailingAction
125
125
  ]
126
- }), characterLimit && /*#__PURE__*/ jsxs(Fragment, { children: [
126
+ }), characterLimit && /*#__PURE__*/ jsxs(Fragment$1, { children: [
127
127
  /*#__PURE__*/ jsx(AriaStatus, {
128
128
  announceOnShow: false,
129
129
  delayMs: 500,
@@ -1,3 +1,4 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useMergedRefs } from "../hooks/useMergedRefs.js";
2
3
  import { useId as useId$1 } from "../hooks/useId.js";
3
4
  import Text_default from "../Text/Text.js";
@@ -8,10 +9,9 @@ import { TextInputWrapper } from "../internal/components/TextInputWrapper.js";
8
9
  import UnstyledTextInput from "../internal/components/UnstyledTextInput.js";
9
10
  import Token from "../Token/Token.js";
10
11
  import TextInputWithTokens_module_css_default from "./TextInputWithTokens.module.css.js";
11
- import { c } from "react-compiler-runtime";
12
- import { clsx } from "clsx";
13
- import { jsx, jsxs } from "react/jsx-runtime";
14
12
  import React, { useRef, useState } from "react";
13
+ import { jsx, jsxs } from "react/jsx-runtime";
14
+ import { clsx } from "clsx";
15
15
  import { isFocusable } from "@primer/behaviors/utils";
16
16
  import { FocusKeys } from "@primer/behaviors";
17
17
  import { isValidElementType } from "react-is";
@@ -1,3 +1,4 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { AriaStatus } from "../live-region/AriaStatus.js";
2
3
  import Text_default from "../Text/Text.js";
3
4
  import _VisuallyHidden_module_css_default from "../_VisuallyHidden.module.css.js";
@@ -5,10 +6,9 @@ import VisuallyHidden from "../_VisuallyHidden.js";
5
6
  import { TextInputBaseWrapper } from "../internal/components/TextInputWrapper.js";
6
7
  import { getCharacterCountState } from "../utils/character-counter.js";
7
8
  import TextArea_module_css_default from "./TextArea.module.css.js";
8
- import { c } from "react-compiler-runtime";
9
- import { clsx } from "clsx";
10
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
9
  import React, { useId, useState } from "react";
10
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
11
+ import { clsx } from "clsx";
12
12
  import { AlertFillIcon } from "@primer/octicons-react";
13
13
  const DEFAULT_TEXTAREA_RESIZE = "both";
14
14
  /**
@@ -185,7 +185,7 @@ 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, { children: [t12, characterLimit && /*#__PURE__*/ jsxs(Fragment, { children: [
188
+ t5 = /*#__PURE__*/ jsxs(Fragment$1, { children: [t12, characterLimit && /*#__PURE__*/ jsxs(Fragment$1, { children: [
189
189
  /*#__PURE__*/ jsx(AriaStatus, {
190
190
  announceOnShow: false,
191
191
  delayMs: 500,
@@ -1,9 +1,9 @@
1
1
  import theme from "./theme.js";
2
+ import { c } from "./utils/react-compiler-runtime.js";
2
3
  import { ThemeProviderBase } from "./internal/components/ThemeProviderBase.js";
3
4
  import { useThemeProvider } from "./internal/hooks/useThemeProvider.js";
4
- import { c } from "react-compiler-runtime";
5
- import { jsx } from "react/jsx-runtime";
6
5
  import "react";
6
+ import { jsx } from "react/jsx-runtime";
7
7
  import deepmerge from "deepmerge";
8
8
  //#region src/ThemeProvider.tsx
9
9
  /**
@@ -1,9 +1,9 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { useFeatureFlag } from "../FeatureFlags/useFeatureFlag.js";
2
3
  import Timeline_module_css_default from "./Timeline.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
  //#region src/Timeline/Timeline.tsx
8
8
  function resolveClipSidebar(clipSidebar) {
9
9
  if (clipSidebar === true || clipSidebar === "both") return "both";
@@ -1,14 +1,14 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
2
+ import { AriaStatus } from "../live-region/AriaStatus.js";
1
3
  import { useProvidedStateOrCreate } from "../hooks/useProvidedStateOrCreate.js";
2
4
  import { useId as useId$1 } from "../hooks/useId.js";
3
5
  import Spinner from "../Spinner/Spinner.js";
4
- import { AriaStatus } from "../live-region/AriaStatus.js";
5
6
  import VisuallyHidden from "../_VisuallyHidden.js";
6
7
  import useSafeTimeout from "../hooks/useSafeTimeout.js";
7
8
  import ToggleSwitch_module_css_default from "./ToggleSwitch.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, { useEffect } from "react";
10
+ import { jsx, jsxs } from "react/jsx-runtime";
11
+ import { clsx } from "clsx";
12
12
  //#region src/ToggleSwitch/ToggleSwitch.tsx
13
13
  const CircleIcon = (t0) => {
14
14
  const $ = c(4);
@@ -1,13 +1,13 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import { defaultTokenSize } from "./constants.js";
2
3
  import { isTokenInteractive } from "./utils.js";
3
4
  import TokenBase from "./TokenBase.js";
4
5
  import RemoveTokenButton from "./_RemoveTokenButton.js";
5
6
  import TokenTextContainer from "./_TokenTextContainer.js";
6
7
  import IssueLabelToken_module_css_default from "./IssueLabelToken.module.css.js";
7
- import { c } from "react-compiler-runtime";
8
- import { clsx } from "clsx";
9
- import { jsx, jsxs } from "react/jsx-runtime";
10
8
  import { forwardRef } from "react";
9
+ import { jsx, jsxs } from "react/jsx-runtime";
10
+ import { clsx } from "clsx";
11
11
  import { parseToHsla, parseToRgba } from "color2k";
12
12
  //#region src/Token/IssueLabelToken.tsx
13
13
  const IssueLabelToken = /*#__PURE__*/ forwardRef((props, forwardedRef) => {
@@ -1,3 +1,4 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import VisuallyHidden from "../_VisuallyHidden.js";
2
3
  import { defaultTokenSize } from "./constants.js";
3
4
  import { isTokenInteractive } from "./utils.js";
@@ -5,10 +6,9 @@ import TokenBase from "./TokenBase.js";
5
6
  import RemoveTokenButton from "./_RemoveTokenButton.js";
6
7
  import TokenTextContainer from "./_TokenTextContainer.js";
7
8
  import Token_module_css_default from "./Token.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 { forwardRef } from "react";
10
+ import { jsx, jsxs } from "react/jsx-runtime";
11
+ import { clsx } from "clsx";
12
12
  //#region src/Token/Token.tsx
13
13
  const tokenBorderWidthPx = 1;
14
14
  const LeadingVisualContainer = (t0) => {
@@ -1,10 +1,10 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import TokenBase_module_css_default from "./TokenBase.module.css.js";
2
3
  import { defaultTokenSize } from "./constants.js";
3
4
  import { isTokenInteractive } from "./utils.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/Token/TokenBase.tsx
9
9
  const TokenBase = /*#__PURE__*/ React.forwardRef((t0, forwardedRef) => {
10
10
  const $ = c(25);
@@ -1,7 +1,7 @@
1
1
  import { defaultTokenSize } from "./constants.js";
2
2
  import _RemoveTokenButton_module_css_default from "./_RemoveTokenButton.module.css.js";
3
- import { clsx } from "clsx";
4
3
  import { jsx } from "react/jsx-runtime";
4
+ 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 }) => {
@@ -1,7 +1,7 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import _TokenTextContainer_module_css_default from "./_TokenTextContainer.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/Token/_TokenTextContainer.tsx
6
6
  const TokenTextContainer = (t0) => {
7
7
  const $ = c(13);
@@ -1,9 +1,9 @@
1
1
  import { useId as useId$1 } from "../hooks/useId.js";
2
2
  import { TooltipContext } from "./TooltipContext.js";
3
3
  import Tooltip_module_css_default from "./Tooltip.module.css.js";
4
- import { clsx } from "clsx";
5
- import { jsx } from "react/jsx-runtime";
6
4
  import React, { useMemo } from "react";
5
+ import { jsx } from "react/jsx-runtime";
6
+ import { clsx } from "clsx";
7
7
  //#region src/Tooltip/Tooltip.tsx
8
8
  /**
9
9
  * @deprecated
@@ -12,9 +12,9 @@ import { KeybindingHint } from "../KeybindingHint/KeybindingHint.js";
12
12
  import { getAccessibleKeybindingHintString } from "../KeybindingHint/utils.js";
13
13
  import useSafeTimeout from "../hooks/useSafeTimeout.js";
14
14
  import { TooltipContext } from "./TooltipContext.js";
15
- import { clsx } from "clsx";
16
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
17
15
  import React, { Children, useEffect, useMemo, useRef, useState } from "react";
16
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
17
+ import { clsx } from "clsx";
18
18
  import { getAnchoredPosition } from "@primer/behaviors";
19
19
  import { apply, isSupported } from "@oddbird/popover-polyfill/fn";
20
20
  //#region src/TooltipV2/Tooltip.tsx
@@ -82,6 +82,8 @@ const emptyKeybindingHints = [];
82
82
  const Tooltip = /*#__PURE__*/ React.forwardRef(({ direction = "s", text, type = "description", children, id, className, keybindingHint = emptyKeybindingHints, delay = "short", _privateDisableTooltip = false, ...rest }, forwardedRef) => {
83
83
  const tooltipId = useId$1(id);
84
84
  const child = Children.only(children);
85
+ const isFragmentTrigger = /*#__PURE__*/ React.isValidElement(child) && child.type === React.Fragment;
86
+ warning(isFragmentTrigger, "The `Tooltip` component does not support a React Fragment as its trigger. Pass a single interactive element instead.");
85
87
  const mergedRefEnabled = useFeatureFlag("primer_react_merged_forwarded_refs");
86
88
  const triggerRef = useRef(null);
87
89
  const mergedTriggerRef = useMergedRefs(triggerRef, forwardedRef);
@@ -95,7 +97,7 @@ const Tooltip = /*#__PURE__*/ React.forwardRef(({ direction = "s", text, type =
95
97
  const { safeSetTimeout, safeClearTimeout } = useSafeTimeout();
96
98
  const openTooltip = () => {
97
99
  try {
98
- if (tooltipElRef.current && readTriggerRef.current && tooltipElRef.current.hasAttribute("popover") && !tooltipElRef.current.matches(":popover-open") && !_privateDisableTooltip) {
100
+ if (tooltipElRef.current && readTriggerRef.current instanceof HTMLElement && tooltipElRef.current.hasAttribute("popover") && !tooltipElRef.current.matches(":popover-open") && !_privateDisableTooltip) {
99
101
  const tooltip = tooltipElRef.current;
100
102
  const trigger = readTriggerRef.current;
101
103
  tooltip.showPopover();
@@ -131,15 +133,19 @@ const Tooltip = /*#__PURE__*/ React.forwardRef(({ direction = "s", text, type =
131
133
  const value = useMemo(() => ({ tooltipId }), [tooltipId]);
132
134
  useEffect(() => {
133
135
  if (!tooltipElRef.current || !readTriggerRef.current) return;
134
- const isTriggerInteractive = isInteractive(readTriggerRef.current);
135
- const triggerChildren = readTriggerRef.current.childNodes;
136
+ const trigger = readTriggerRef.current;
137
+ const isInvalidTrigger = !(trigger instanceof HTMLElement);
138
+ warning(isInvalidTrigger, "The `Tooltip` component expects its trigger ref to resolve to an HTML element. Ensure the trigger forwards its ref to a single interactive element instead of a React Fragment.");
139
+ if (isInvalidTrigger) return;
140
+ const isTriggerInteractive = isInteractive(trigger);
141
+ const triggerChildren = trigger.childNodes;
136
142
  const hasInteractiveDescendant = Array.from(triggerChildren).some((child) => {
137
143
  return child instanceof HTMLElement && isInteractive(child) || Array.from(child.childNodes).some((grandChild) => grandChild instanceof HTMLElement && isInteractive(grandChild));
138
144
  });
139
145
  !(isTriggerInteractive || hasInteractiveDescendant) && invariant(false, "The `Tooltip` component expects a single React element that contains interactive content. Consider using a `<button>` or equivalent interactive element instead.");
140
146
  if (type === "label") {
141
- const hasAriaLabel = readTriggerRef.current.hasAttribute("aria-label");
142
- const hasAriaLabelInChildren = Array.from(readTriggerRef.current.childNodes).some((child) => child instanceof HTMLElement && child.hasAttribute("aria-label"));
147
+ const hasAriaLabel = trigger.hasAttribute("aria-label");
148
+ const hasAriaLabelInChildren = Array.from(trigger.childNodes).some((child) => child instanceof HTMLElement && child.hasAttribute("aria-label"));
143
149
  warning(hasAriaLabel || hasAriaLabelInChildren, "The label type `Tooltip` is going to be used here to label the trigger element. Please remove the aria-label from the trigger element.");
144
150
  }
145
151
  if (typeof window !== "undefined") {
@@ -162,9 +168,10 @@ const Tooltip = /*#__PURE__*/ React.forwardRef(({ direction = "s", text, type =
162
168
  const platform = usePlatform();
163
169
  const hasAriaLabel = "aria-label" in rest;
164
170
  const keybindingHints = Array.isArray(keybindingHint) ? keybindingHint : [keybindingHint];
171
+ if (isFragmentTrigger) return child;
165
172
  return /*#__PURE__*/ jsx(TooltipContext.Provider, {
166
173
  value,
167
- children: /*#__PURE__*/ jsxs(Fragment, { children: [/*#__PURE__*/ React.isValidElement(child) && /*#__PURE__*/ React.cloneElement(child, {
174
+ children: /*#__PURE__*/ jsxs(Fragment$1, { children: [/*#__PURE__*/ React.isValidElement(child) && /*#__PURE__*/ React.cloneElement(child, {
168
175
  ref: appliedTriggerRef,
169
176
  "aria-describedby": (() => {
170
177
  if (type !== "description") return child.props["aria-describedby"];
@@ -216,7 +223,7 @@ const Tooltip = /*#__PURE__*/ React.forwardRef(({ direction = "s", text, type =
216
223
  onMouseEnter: openTooltip,
217
224
  onMouseLeave: closeTooltip,
218
225
  id: hasAriaLabel || keybindingHints.length === 0 ? tooltipId : void 0,
219
- children: keybindingHints.length > 0 ? /*#__PURE__*/ jsxs(Fragment, { children: [/*#__PURE__*/ jsxs("span", {
226
+ children: keybindingHints.length > 0 ? /*#__PURE__*/ jsxs(Fragment$1, { children: [/*#__PURE__*/ jsxs("span", {
220
227
  id: hasAriaLabel ? void 0 : tooltipId,
221
228
  children: [text, /*#__PURE__*/ jsxs(VisuallyHidden, { children: [
222
229
  "(",
@@ -1,7 +1,7 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import TopicTag_module_css_default from "./TopicTag.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/TopicTag/TopicTag.tsx
6
6
  function TopicTag(t0) {
7
7
  var _as;
@@ -1,7 +1,7 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
1
2
  import TopicTagGroup_module_css_default from "./TopicTagGroup.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/TopicTag/TopicTagGroup.tsx
6
6
  function TopicTagGroup(t0) {
7
7
  const $ = c(10);