@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
@@ -50,7 +50,7 @@ const CircleBadge = (t0) => {
50
50
  }
51
51
  let t6;
52
52
  if ($[7] !== T0 || $[8] !== t1 || $[9] !== t2 || $[10] !== t3 || $[11] !== t4 || $[12] !== t5) {
53
- t6 = /*#__PURE__*/ jsx(T0, {
53
+ t6 = /* @__PURE__ */ jsx(T0, {
54
54
  ...t1,
55
55
  "data-component": t2,
56
56
  className: t3,
@@ -77,7 +77,7 @@ const CircleBadgeIcon = (props) => {
77
77
  } else t0 = $[1];
78
78
  let t1;
79
79
  if ($[2] !== props || $[3] !== t0) {
80
- t1 = /*#__PURE__*/ jsx(Octicon, {
80
+ t1 = /* @__PURE__ */ jsx(Octicon, {
81
81
  ...props,
82
82
  "data-component": "CircleBadge.Icon",
83
83
  className: t0
@@ -1,12 +1,8 @@
1
1
  import { c } from "../utils/react-compiler-runtime.js";
2
2
  import { Dialog } from "../Dialog/Dialog.js";
3
- import "react";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  //#region src/ConfirmationDialog/ConfirmationDialog.tsx
6
5
  /**
7
- * Props to customize the ConfirmationDialog.
8
- */
9
- /**
10
6
  * A ConfirmationDialog is a special kind of dialog with more rigid behavior. It
11
7
  * is used to confirm a user action. ConfirmationDialogs always have exactly
12
8
  * two buttons: one to cancel the action and one to confirm it. No custom
@@ -84,7 +80,7 @@ const ConfirmationDialog = (props) => {
84
80
  const footerButtons = t12;
85
81
  let t13;
86
82
  if ($[18] !== children || $[19] !== className || $[20] !== footerButtons || $[21] !== height || $[22] !== onClose || $[23] !== title || $[24] !== width) {
87
- t13 = /*#__PURE__*/ jsx(Dialog, {
83
+ t13 = /* @__PURE__ */ jsx(Dialog, {
88
84
  "data-component": "ConfirmationDialog",
89
85
  onClose,
90
86
  title,
@@ -5,7 +5,7 @@ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
5
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
- const label = /*#__PURE__*/ jsxs(VisuallyHidden, { children: [
8
+ const label = /* @__PURE__ */ jsxs(VisuallyHidden, { children: [
9
9
  "\xA0(",
10
10
  children,
11
11
  ")"
@@ -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$1, { 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),
@@ -36,7 +36,7 @@ function DataTableImplementation(t0) {
36
36
  let t4;
37
37
  if ($[11] !== actions || $[12] !== onToggleSort) {
38
38
  t4 = (header) => {
39
- if (header.isSortable()) return /*#__PURE__*/ jsx(TableSortHeader, {
39
+ if (header.isSortable()) return /* @__PURE__ */ jsx(TableSortHeader, {
40
40
  id: header.domId,
41
41
  align: header.column.align,
42
42
  direction: header.getSortDirection(),
@@ -47,7 +47,7 @@ function DataTableImplementation(t0) {
47
47
  },
48
48
  children: typeof header.column.header === "string" ? header.column.header : header.column.header()
49
49
  }, header.id);
50
- return /*#__PURE__*/ jsx(TableHeader, {
50
+ return /* @__PURE__ */ jsx(TableHeader, {
51
51
  id: header.domId,
52
52
  align: header.column.align,
53
53
  children: typeof header.column.header === "string" ? header.column.header : header.column.header()
@@ -65,7 +65,7 @@ function DataTableImplementation(t0) {
65
65
  } else t3 = $[10];
66
66
  let t4;
67
67
  if ($[14] !== t3) {
68
- t4 = /*#__PURE__*/ jsx(TableHead, { children: /*#__PURE__*/ jsx(TableRow, { children: t3 }) });
68
+ t4 = /* @__PURE__ */ jsx(TableHead, { children: /* @__PURE__ */ jsx(TableRow, { children: t3 }) });
69
69
  $[14] = t3;
70
70
  $[15] = t4;
71
71
  } else t4 = $[15];
@@ -73,14 +73,14 @@ function DataTableImplementation(t0) {
73
73
  if ($[16] !== bodies || $[17] !== headers.length) {
74
74
  let t6;
75
75
  if ($[19] !== headers.length) {
76
- t6 = (body) => body.type === "row-group" ? /*#__PURE__*/ jsx(TableGroup, {
76
+ t6 = (body) => body.type === "row-group" ? /* @__PURE__ */ jsx(TableGroup, {
77
77
  id: body.id,
78
78
  label: body.label,
79
79
  rowCount: body.rows.length,
80
80
  colSpan: headers.length,
81
81
  "aria-label": body["aria-label"],
82
82
  children: body.rows.map(renderRow)
83
- }, body.key) : /*#__PURE__*/ jsx(TableBody, { children: body.rows.map(renderRow) }, body.key);
83
+ }, body.key) : /* @__PURE__ */ jsx(TableBody, { children: body.rows.map(renderRow) }, body.key);
84
84
  $[19] = headers.length;
85
85
  $[20] = t6;
86
86
  } else t6 = $[20];
@@ -91,7 +91,7 @@ function DataTableImplementation(t0) {
91
91
  } else t5 = $[18];
92
92
  let t6;
93
93
  if ($[21] !== cellPadding || $[22] !== describedby || $[23] !== gridTemplateColumns || $[24] !== labelledby || $[25] !== t4 || $[26] !== t5) {
94
- t6 = /*#__PURE__*/ jsxs(Table, {
94
+ t6 = /* @__PURE__ */ jsxs(Table, {
95
95
  "aria-labelledby": labelledby,
96
96
  "aria-describedby": describedby,
97
97
  cellPadding,
@@ -109,7 +109,7 @@ function DataTableImplementation(t0) {
109
109
  return t6;
110
110
  }
111
111
  function _temp(row) {
112
- return /*#__PURE__*/ jsx(TableRow, { children: row.getCells().map((cell) => /*#__PURE__*/ jsx(TableCell, {
112
+ return /* @__PURE__ */ jsx(TableRow, { children: row.getCells().map((cell) => /* @__PURE__ */ jsx(TableCell, {
113
113
  id: cell.domId,
114
114
  scope: cell.rowHeader ? "row" : void 0,
115
115
  align: cell.column.align,
@@ -117,7 +117,6 @@ function _temp(row) {
117
117
  children: cell.column.renderCell ? cell.column.renderCell(row.getValue()) : cell.getValue()
118
118
  }, cell.id)) }, row.id);
119
119
  }
120
- _temp.displayName = "_temp";
121
120
  const DataTable = DataTableImplementation;
122
121
  //#endregion
123
122
  export { DataTable };
@@ -18,7 +18,7 @@ function ErrorDialog(t0) {
18
18
  } else t2 = $[2];
19
19
  let t3;
20
20
  if ($[3] !== children || $[4] !== t2 || $[5] !== title) {
21
- t3 = /*#__PURE__*/ jsx(ConfirmationDialog, {
21
+ t3 = /* @__PURE__ */ jsx(ConfirmationDialog, {
22
22
  title,
23
23
  onClose: t2,
24
24
  confirmButtonContent: "Retry",
@@ -61,7 +61,7 @@ function Pagination(t0) {
61
61
  } else t8 = $[11];
62
62
  let t9;
63
63
  if ($[12] !== pageEnd || $[13] !== pageStart || $[14] !== totalCount) {
64
- t9 = /*#__PURE__*/ jsx(Range, {
64
+ t9 = /* @__PURE__ */ jsx(Range, {
65
65
  pageStart,
66
66
  pageEnd,
67
67
  totalCount
@@ -102,15 +102,15 @@ function Pagination(t0) {
102
102
  } else t16 = $[22];
103
103
  let t17;
104
104
  if ($[23] !== hasPreviousPage) {
105
- t17 = hasPreviousPage ? /*#__PURE__*/ jsx(ChevronLeftIcon, {}) : null;
105
+ t17 = hasPreviousPage ? /* @__PURE__ */ jsx(ChevronLeftIcon, {}) : null;
106
106
  $[23] = hasPreviousPage;
107
107
  $[24] = t17;
108
108
  } else t17 = $[24];
109
109
  let t18;
110
110
  let t19;
111
111
  if ($[25] === Symbol.for("react.memo_cache_sentinel")) {
112
- t18 = /*#__PURE__*/ jsx("span", { children: "Previous" });
113
- t19 = /*#__PURE__*/ jsx(VisuallyHidden, { children: "\xA0page" });
112
+ t18 = /* @__PURE__ */ jsx("span", { children: "Previous" });
113
+ t19 = /* @__PURE__ */ jsx(VisuallyHidden, { children: "\xA0page" });
114
114
  $[25] = t18;
115
115
  $[26] = t19;
116
116
  } else {
@@ -119,7 +119,7 @@ function Pagination(t0) {
119
119
  }
120
120
  let t20;
121
121
  if ($[27] !== t14 || $[28] !== t15 || $[29] !== t16 || $[30] !== t17) {
122
- t20 = /*#__PURE__*/ jsx(Step, { children: /*#__PURE__*/ jsxs(Button, {
122
+ t20 = /* @__PURE__ */ jsx(Step, { children: /* @__PURE__ */ jsxs(Button, {
123
123
  className: t13,
124
124
  type: "button",
125
125
  "data-has-page": t14,
@@ -143,13 +143,13 @@ function Pagination(t0) {
143
143
  let t22;
144
144
  if ($[35] !== selectPage) {
145
145
  t22 = (page, i) => {
146
- if (page.type === "BREAK") return /*#__PURE__*/ jsx(TruncationStep, {}, `truncation-${i}`);
147
- else if (page.type === "NUM") return /*#__PURE__*/ jsx(Step, { children: /*#__PURE__*/ jsxs(Page, {
146
+ if (page.type === "BREAK") return /* @__PURE__ */ jsx(TruncationStep, {}, `truncation-${i}`);
147
+ else if (page.type === "NUM") return /* @__PURE__ */ jsx(Step, { children: /* @__PURE__ */ jsxs(Page, {
148
148
  active: !!page.selected,
149
149
  onClick: () => {
150
150
  selectPage(page.num - 1);
151
151
  },
152
- children: [page.num, page.precedesBreak ? /*#__PURE__*/ jsx(VisuallyHidden, { children: "…" }) : null]
152
+ children: [page.num, page.precedesBreak ? /* @__PURE__ */ jsx(VisuallyHidden, { children: "…" }) : null]
153
153
  }) }, i);
154
154
  };
155
155
  $[35] = selectPage;
@@ -180,8 +180,8 @@ function Pagination(t0) {
180
180
  let t26;
181
181
  let t27;
182
182
  if ($[41] === Symbol.for("react.memo_cache_sentinel")) {
183
- t26 = /*#__PURE__*/ jsx("span", { children: "Next" });
184
- t27 = /*#__PURE__*/ jsx(VisuallyHidden, { children: "\xA0page" });
183
+ t26 = /* @__PURE__ */ jsx("span", { children: "Next" });
184
+ t27 = /* @__PURE__ */ jsx(VisuallyHidden, { children: "\xA0page" });
185
185
  $[41] = t26;
186
186
  $[42] = t27;
187
187
  } else {
@@ -190,13 +190,13 @@ function Pagination(t0) {
190
190
  }
191
191
  let t28;
192
192
  if ($[43] !== hasNextPage) {
193
- t28 = hasNextPage ? /*#__PURE__*/ jsx(ChevronRightIcon, {}) : null;
193
+ t28 = hasNextPage ? /* @__PURE__ */ jsx(ChevronRightIcon, {}) : null;
194
194
  $[43] = hasNextPage;
195
195
  $[44] = t28;
196
196
  } else t28 = $[44];
197
197
  let t29;
198
198
  if ($[45] !== t23 || $[46] !== t24 || $[47] !== t25 || $[48] !== t28) {
199
- t29 = /*#__PURE__*/ jsx(Step, { children: /*#__PURE__*/ jsxs(Button, {
199
+ t29 = /* @__PURE__ */ jsx(Step, { children: /* @__PURE__ */ jsxs(Button, {
200
200
  className: t22,
201
201
  type: "button",
202
202
  "data-has-page": t23,
@@ -217,7 +217,7 @@ function Pagination(t0) {
217
217
  } else t29 = $[49];
218
218
  let t30;
219
219
  if ($[50] !== t12 || $[51] !== t20 || $[52] !== t21 || $[53] !== t29) {
220
- t30 = /*#__PURE__*/ jsxs("ol", {
220
+ t30 = /* @__PURE__ */ jsxs("ol", {
221
221
  className: t10,
222
222
  "data-hidden-viewport-ranges": t12,
223
223
  children: [
@@ -234,7 +234,7 @@ function Pagination(t0) {
234
234
  } else t30 = $[54];
235
235
  let t31;
236
236
  if ($[55] !== id || $[56] !== label || $[57] !== t30 || $[58] !== t9) {
237
- t31 = /*#__PURE__*/ jsxs("nav", {
237
+ t31 = /* @__PURE__ */ jsxs("nav", {
238
238
  "aria-label": label,
239
239
  className: t8,
240
240
  id,
@@ -256,7 +256,7 @@ function Range(t0) {
256
256
  const end = pageEnd;
257
257
  let t1;
258
258
  if ($[0] !== end || $[1] !== start || $[2] !== totalCount) {
259
- t1 = /*#__PURE__*/ jsx(VisuallyHidden, { children: /*#__PURE__*/ jsxs(AriaStatus, { children: [
259
+ t1 = /* @__PURE__ */ jsx(VisuallyHidden, { children: /* @__PURE__ */ jsxs(AriaStatus, { children: [
260
260
  "Showing ",
261
261
  start,
262
262
  " through ",
@@ -277,8 +277,8 @@ function Range(t0) {
277
277
  let t3;
278
278
  let t4;
279
279
  if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
280
- t3 = /*#__PURE__*/ jsx(VisuallyHidden, { children: "\xA0through\xA0" });
281
- t4 = /*#__PURE__*/ jsx("span", {
280
+ t3 = /* @__PURE__ */ jsx(VisuallyHidden, { children: "\xA0through\xA0" });
281
+ t4 = /* @__PURE__ */ jsx("span", {
282
282
  "aria-hidden": "true",
283
283
  children: "‒"
284
284
  });
@@ -290,7 +290,7 @@ function Range(t0) {
290
290
  }
291
291
  let t5;
292
292
  if ($[7] !== end || $[8] !== start || $[9] !== totalCount) {
293
- t5 = /*#__PURE__*/ jsxs("p", {
293
+ t5 = /* @__PURE__ */ jsxs("p", {
294
294
  className: t2,
295
295
  "data-component": "Table.Pagination.Range",
296
296
  children: [
@@ -309,7 +309,7 @@ function Range(t0) {
309
309
  } else t5 = $[10];
310
310
  let t6;
311
311
  if ($[11] !== t1 || $[12] !== t5) {
312
- t6 = /*#__PURE__*/ jsxs(Fragment$1, { children: [t1, t5] });
312
+ t6 = /* @__PURE__ */ jsxs(Fragment$1, { children: [t1, t5] });
313
313
  $[11] = t1;
314
314
  $[12] = t5;
315
315
  $[13] = t6;
@@ -320,7 +320,7 @@ function TruncationStep() {
320
320
  const $ = c(1);
321
321
  let t0;
322
322
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
323
- t0 = /*#__PURE__*/ jsx("li", {
323
+ t0 = /* @__PURE__ */ jsx("li", {
324
324
  "aria-hidden": "true",
325
325
  className: clsx("TablePaginationTruncationStep", Pagination_module_css_default.TablePaginationTruncationStep),
326
326
  "data-component": "Table.Pagination.TruncationStep",
@@ -340,7 +340,7 @@ function Step(t0) {
340
340
  } else t1 = $[0];
341
341
  let t2;
342
342
  if ($[1] !== children) {
343
- t2 = /*#__PURE__*/ jsx("li", {
343
+ t2 = /* @__PURE__ */ jsx("li", {
344
344
  className: t1,
345
345
  "data-component": "Table.Pagination.Step",
346
346
  children
@@ -362,12 +362,12 @@ function Page(t0) {
362
362
  const t3 = active ? true : void 0;
363
363
  let t4;
364
364
  if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
365
- t4 = /*#__PURE__*/ jsx(VisuallyHidden, { children: "Page\xA0" });
365
+ t4 = /* @__PURE__ */ jsx(VisuallyHidden, { children: "Page\xA0" });
366
366
  $[1] = t4;
367
367
  } else t4 = $[1];
368
368
  let t5;
369
369
  if ($[2] !== children || $[3] !== onClick || $[4] !== t2 || $[5] !== t3) {
370
- t5 = /*#__PURE__*/ jsxs(Button, {
370
+ t5 = /* @__PURE__ */ jsxs(Button, {
371
371
  className: t1,
372
372
  type: "button",
373
373
  "data-active": t2,
@@ -57,7 +57,7 @@ const Table = /*#__PURE__*/ React.forwardRef(function Table(t0, ref) {
57
57
  const t5 = t4;
58
58
  let t6;
59
59
  if ($[11] !== cellPadding || $[12] !== labelledby || $[13] !== ref || $[14] !== rest || $[15] !== t3 || $[16] !== t5) {
60
- t6 = /*#__PURE__*/ jsx("table", {
60
+ t6 = /* @__PURE__ */ jsx("table", {
61
61
  ...rest,
62
62
  "aria-labelledby": labelledby,
63
63
  "data-cell-padding": cellPadding,
@@ -77,7 +77,7 @@ const Table = /*#__PURE__*/ React.forwardRef(function Table(t0, ref) {
77
77
  } else t6 = $[17];
78
78
  let t7;
79
79
  if ($[18] !== labelledby || $[19] !== t6) {
80
- t7 = /*#__PURE__*/ jsx(ScrollableRegion, {
80
+ t7 = /* @__PURE__ */ jsx(ScrollableRegion, {
81
81
  "aria-labelledby": labelledby,
82
82
  className: t2,
83
83
  children: t6
@@ -89,7 +89,7 @@ const Table = /*#__PURE__*/ React.forwardRef(function Table(t0, ref) {
89
89
  const table = t7;
90
90
  let t8;
91
91
  if ($[21] !== inheritedGroup || $[22] !== table) {
92
- t8 = inheritedGroup ? /*#__PURE__*/ jsx(TableGroupContext.Provider, {
92
+ t8 = inheritedGroup ? /* @__PURE__ */ jsx(TableGroupContext.Provider, {
93
93
  value: void 0,
94
94
  children: table
95
95
  }) : table;
@@ -109,7 +109,7 @@ function TableHead(t0) {
109
109
  } else t1 = $[0];
110
110
  let t2;
111
111
  if ($[1] !== children) {
112
- t2 = /*#__PURE__*/ jsx("thead", {
112
+ t2 = /* @__PURE__ */ jsx("thead", {
113
113
  className: t1,
114
114
  role: "rowgroup",
115
115
  "data-component": "Table.Head",
@@ -130,7 +130,7 @@ function TableBody(t0) {
130
130
  } else t1 = $[0];
131
131
  let t2;
132
132
  if ($[1] !== children) {
133
- t2 = /*#__PURE__*/ jsx("tbody", {
133
+ t2 = /* @__PURE__ */ jsx("tbody", {
134
134
  className: t1,
135
135
  role: "rowgroup",
136
136
  "data-component": "Table.Body",
@@ -164,7 +164,7 @@ function TableHeader(t0) {
164
164
  } else t1 = $[4];
165
165
  let t2;
166
166
  if ($[5] !== align || $[6] !== children || $[7] !== rest) {
167
- t2 = /*#__PURE__*/ jsx("th", {
167
+ t2 = /* @__PURE__ */ jsx("th", {
168
168
  "data-component": "Table.Header",
169
169
  ...rest,
170
170
  className: t1,
@@ -219,19 +219,19 @@ function TableSortHeader(t0) {
219
219
  } else t2 = $[8];
220
220
  let t3;
221
221
  if ($[9] !== direction) {
222
- t3 = direction === SortDirection.NONE || direction === SortDirection.ASC ? /*#__PURE__*/ jsx(Fragment$1, { children: /*#__PURE__*/ jsx(SortAscIcon, { className: clsx("TableSortIcon", "TableSortIcon--ascending", Table_module_css_default.TableSortIcon, Table_module_css_default["TableSortIcon--ascending"]) }) }) : null;
222
+ t3 = direction === SortDirection.NONE || direction === SortDirection.ASC ? /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx(SortAscIcon, { className: clsx("TableSortIcon", "TableSortIcon--ascending", Table_module_css_default.TableSortIcon, Table_module_css_default["TableSortIcon--ascending"]) }) }) : null;
223
223
  $[9] = direction;
224
224
  $[10] = t3;
225
225
  } else t3 = $[10];
226
226
  let t4;
227
227
  if ($[11] !== direction) {
228
- t4 = direction === SortDirection.DESC ? /*#__PURE__*/ jsx(SortDescIcon, { className: clsx("TableSortIcon", "TableSortIcon--descending", Table_module_css_default.TableSortIcon, Table_module_css_default["TableSortIcon--descending"]) }) : null;
228
+ t4 = direction === SortDirection.DESC ? /* @__PURE__ */ jsx(SortDescIcon, { className: clsx("TableSortIcon", "TableSortIcon--descending", Table_module_css_default.TableSortIcon, Table_module_css_default["TableSortIcon--descending"]) }) : null;
229
229
  $[11] = direction;
230
230
  $[12] = t4;
231
231
  } else t4 = $[12];
232
232
  let t5;
233
233
  if ($[13] !== children || $[14] !== sortAction || $[15] !== t2 || $[16] !== t3 || $[17] !== t4) {
234
- t5 = /*#__PURE__*/ jsxs(Button, {
234
+ t5 = /* @__PURE__ */ jsxs(Button, {
235
235
  type: "button",
236
236
  className: t1,
237
237
  "data-component": "Table.SortHeader.Button",
@@ -252,7 +252,7 @@ function TableSortHeader(t0) {
252
252
  } else t5 = $[18];
253
253
  let t6;
254
254
  if ($[19] !== align || $[20] !== ariaSort || $[21] !== rest || $[22] !== t5) {
255
- t6 = /*#__PURE__*/ jsx(TableHeader, {
255
+ t6 = /* @__PURE__ */ jsx(TableHeader, {
256
256
  ...rest,
257
257
  "aria-sort": ariaSort,
258
258
  align,
@@ -287,7 +287,7 @@ function TableRow(t0) {
287
287
  } else t1 = $[3];
288
288
  let t2;
289
289
  if ($[4] !== children || $[5] !== rest) {
290
- t2 = /*#__PURE__*/ jsx("tr", {
290
+ t2 = /* @__PURE__ */ jsx("tr", {
291
291
  ...rest,
292
292
  className: t1,
293
293
  role: "row",
@@ -344,7 +344,7 @@ function TableCell(t0) {
344
344
  } else t2 = $[11];
345
345
  let t3;
346
346
  if ($[12] !== BaseComponent || $[13] !== align || $[14] !== children || $[15] !== resolvedHeaders || $[16] !== rest || $[17] !== role || $[18] !== scope || $[19] !== t2) {
347
- t3 = /*#__PURE__*/ jsx(BaseComponent, {
347
+ t3 = /* @__PURE__ */ jsx(BaseComponent, {
348
348
  ...rest,
349
349
  className: t2,
350
350
  scope,
@@ -371,7 +371,7 @@ function TableCellPlaceholder(t0) {
371
371
  const { children } = t0;
372
372
  let t1;
373
373
  if ($[0] !== children) {
374
- t1 = /*#__PURE__*/ jsx(Text_default, {
374
+ t1 = /* @__PURE__ */ jsx(Text_default, {
375
375
  className: Table_module_css_default.PlaceholderText,
376
376
  "data-component": "Table.CellPlaceholder",
377
377
  children
@@ -409,7 +409,7 @@ function TableContainer(t0) {
409
409
  } else t1 = $[6];
410
410
  let t2;
411
411
  if ($[7] !== Component || $[8] !== children || $[9] !== rest || $[10] !== t1) {
412
- t2 = /*#__PURE__*/ jsx(Component, {
412
+ t2 = /* @__PURE__ */ jsx(Component, {
413
413
  ...rest,
414
414
  className: t1,
415
415
  "data-component": "Table.Container",
@@ -434,7 +434,7 @@ const TableTitle = /*#__PURE__*/ React.forwardRef(function TableTitle(t0, ref) {
434
434
  } else t2 = $[0];
435
435
  let t3;
436
436
  if ($[1] !== BaseComponent || $[2] !== children || $[3] !== id || $[4] !== ref) {
437
- t3 = /*#__PURE__*/ jsx(BaseComponent, {
437
+ t3 = /* @__PURE__ */ jsx(BaseComponent, {
438
438
  className: t2,
439
439
  id,
440
440
  ref,
@@ -460,7 +460,7 @@ function TableSubtitle(t0) {
460
460
  } else t2 = $[0];
461
461
  let t3;
462
462
  if ($[1] !== BaseComponent || $[2] !== children || $[3] !== id) {
463
- t3 = /*#__PURE__*/ jsx(BaseComponent, {
463
+ t3 = /* @__PURE__ */ jsx(BaseComponent, {
464
464
  className: t2,
465
465
  id,
466
466
  "data-component": "Table.Subtitle",
@@ -477,7 +477,7 @@ function TableDivider() {
477
477
  const $ = c(1);
478
478
  let t0;
479
479
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
480
- t0 = /*#__PURE__*/ jsx("div", {
480
+ t0 = /* @__PURE__ */ jsx("div", {
481
481
  className: clsx("TableDivider", Table_module_css_default.TableDivider),
482
482
  role: "presentation",
483
483
  "data-component": "Table.Divider"
@@ -496,7 +496,7 @@ function TableActions(t0) {
496
496
  } else t1 = $[0];
497
497
  let t2;
498
498
  if ($[1] !== children) {
499
- t2 = /*#__PURE__*/ jsx("div", {
499
+ t2 = /* @__PURE__ */ jsx("div", {
500
500
  className: t1,
501
501
  "data-component": "Table.Actions",
502
502
  children
@@ -535,7 +535,7 @@ function TableSkeleton(t0) {
535
535
  } else t2 = $[6];
536
536
  let t3;
537
537
  if ($[7] !== t2) {
538
- t3 = /*#__PURE__*/ jsx(TableHead, { children: /*#__PURE__*/ jsx(TableRow, { children: t2 }) });
538
+ t3 = /* @__PURE__ */ jsx(TableHead, { children: /* @__PURE__ */ jsx(TableRow, { children: t2 }) });
539
539
  $[7] = t2;
540
540
  $[8] = t3;
541
541
  } else t3 = $[8];
@@ -547,9 +547,9 @@ function TableSkeleton(t0) {
547
547
  } else t4 = $[10];
548
548
  let t5;
549
549
  if ($[11] !== rows || $[12] !== t4) {
550
- t5 = /*#__PURE__*/ jsx(TableBody, { children: /*#__PURE__*/ jsx(TableRow, { children: t4.map((_, i_0) => /*#__PURE__*/ jsxs(TableCell, {
550
+ t5 = /* @__PURE__ */ jsx(TableBody, { children: /* @__PURE__ */ jsx(TableRow, { children: t4.map((_, i_0) => /* @__PURE__ */ jsxs(TableCell, {
551
551
  className: clsx("TableCellSkeleton", Table_module_css_default.TableCellSkeleton),
552
- children: [/*#__PURE__*/ jsx(VisuallyHidden, { children: "Loading" }), /*#__PURE__*/ jsx("div", {
552
+ children: [/* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading" }), /* @__PURE__ */ jsx("div", {
553
553
  className: clsx("TableCellSkeletonItems", Table_module_css_default.TableCellSkeletonItems),
554
554
  children: Array.from({ length: rows }).map(_temp2)
555
555
  })]
@@ -560,7 +560,7 @@ function TableSkeleton(t0) {
560
560
  } else t5 = $[13];
561
561
  let t6;
562
562
  if ($[14] !== cellPadding || $[15] !== gridTemplateColumns || $[16] !== rest || $[17] !== t3 || $[18] !== t5) {
563
- t6 = /*#__PURE__*/ jsxs(Table, {
563
+ t6 = /* @__PURE__ */ jsxs(Table, {
564
564
  ...rest,
565
565
  cellPadding,
566
566
  gridTemplateColumns,
@@ -576,15 +576,13 @@ function TableSkeleton(t0) {
576
576
  return t6;
577
577
  }
578
578
  function _temp2(__0, i_1) {
579
- return /*#__PURE__*/ jsx("div", {
579
+ return /* @__PURE__ */ jsx("div", {
580
580
  className: clsx("TableCellSkeletonItem", Table_module_css_default.TableCellSkeletonItem),
581
- children: /*#__PURE__*/ jsx(SkeletonText, {})
581
+ children: /* @__PURE__ */ jsx(SkeletonText, {})
582
582
  }, i_1);
583
583
  }
584
- _temp2.displayName = "_temp2";
585
584
  function _temp(column, i) {
586
- return /*#__PURE__*/ jsx(TableHeader, { children: typeof column.header === "string" ? column.header : column.header() }, i);
585
+ return /* @__PURE__ */ jsx(TableHeader, { children: typeof column.header === "string" ? column.header : column.header() }, i);
587
586
  }
588
- _temp.displayName = "_temp";
589
587
  //#endregion
590
588
  export { Table, TableActions, TableBody, TableCell, TableCellPlaceholder, TableContainer, TableDivider, TableHead, TableHeader, TableRow, TableSkeleton, TableSortHeader, TableSubtitle, TableTitle };
@@ -42,12 +42,12 @@ function TableGroup(t0) {
42
42
  }
43
43
  let t6;
44
44
  if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
45
- t6 = /*#__PURE__*/ jsx(VisuallyHidden, { children: "," });
45
+ t6 = /* @__PURE__ */ jsx(VisuallyHidden, { children: "," });
46
46
  $[7] = t6;
47
47
  } else t6 = $[7];
48
48
  let t7;
49
49
  if ($[8] !== label) {
50
- t7 = /*#__PURE__*/ jsxs("span", {
50
+ t7 = /* @__PURE__ */ jsxs("span", {
51
51
  className: t5,
52
52
  children: [label, t6]
53
53
  });
@@ -62,13 +62,13 @@ function TableGroup(t0) {
62
62
  const t9 = rowCount === 1 ? " row" : " rows";
63
63
  let t10;
64
64
  if ($[11] !== t9) {
65
- t10 = /*#__PURE__*/ jsx(VisuallyHidden, { children: t9 });
65
+ t10 = /* @__PURE__ */ jsx(VisuallyHidden, { children: t9 });
66
66
  $[11] = t9;
67
67
  $[12] = t10;
68
68
  } else t10 = $[12];
69
69
  let t11;
70
70
  if ($[13] !== rowCount || $[14] !== t10) {
71
- t11 = /*#__PURE__*/ jsxs("span", {
71
+ t11 = /* @__PURE__ */ jsxs("span", {
72
72
  className: t8,
73
73
  children: [rowCount, t10]
74
74
  });
@@ -78,7 +78,7 @@ function TableGroup(t0) {
78
78
  } else t11 = $[15];
79
79
  let t12;
80
80
  if ($[16] !== t11 || $[17] !== t7) {
81
- t12 = /*#__PURE__*/ jsxs("span", {
81
+ t12 = /* @__PURE__ */ jsxs("span", {
82
82
  className: t4,
83
83
  children: [t7, t11]
84
84
  });
@@ -88,7 +88,7 @@ function TableGroup(t0) {
88
88
  } else t12 = $[18];
89
89
  let t13;
90
90
  if ($[19] !== ariaLabel || $[20] !== colSpan || $[21] !== headerId || $[22] !== t12) {
91
- t13 = /*#__PURE__*/ jsx(TableRow, { children: /*#__PURE__*/ jsx("th", {
91
+ t13 = /* @__PURE__ */ jsx(TableRow, { children: /* @__PURE__ */ jsx("th", {
92
92
  id: headerId,
93
93
  className: t3,
94
94
  scope: "colgroup",
@@ -106,7 +106,7 @@ function TableGroup(t0) {
106
106
  } else t13 = $[23];
107
107
  let t14;
108
108
  if ($[24] !== id || $[25] !== t13 || $[26] !== t2) {
109
- t14 = /*#__PURE__*/ jsx("tbody", {
109
+ t14 = /* @__PURE__ */ jsx("tbody", {
110
110
  className: t2,
111
111
  role: "rowgroup",
112
112
  "data-component": "Table.Group",
@@ -125,7 +125,7 @@ function TableGroup(t0) {
125
125
  } else t15 = $[28];
126
126
  let t16;
127
127
  if ($[29] !== children || $[30] !== contextValue) {
128
- t16 = /*#__PURE__*/ jsx(TableGroupContext.Provider, {
128
+ t16 = /* @__PURE__ */ jsx(TableGroupContext.Provider, {
129
129
  value: contextValue,
130
130
  children
131
131
  });
@@ -135,7 +135,7 @@ function TableGroup(t0) {
135
135
  } else t16 = $[31];
136
136
  let t17;
137
137
  if ($[32] !== id || $[33] !== t16) {
138
- t17 = /*#__PURE__*/ jsx("tbody", {
138
+ t17 = /* @__PURE__ */ jsx("tbody", {
139
139
  className: t15,
140
140
  role: "rowgroup",
141
141
  "data-component": "Table.Group.Body",
@@ -148,7 +148,7 @@ function TableGroup(t0) {
148
148
  } else t17 = $[34];
149
149
  let t18;
150
150
  if ($[35] !== t14 || $[36] !== t17) {
151
- t18 = /*#__PURE__*/ jsxs(Fragment$1, { children: [t14, t17] });
151
+ t18 = /* @__PURE__ */ jsxs(Fragment$1, { children: [t14, t17] });
152
152
  $[35] = t14;
153
153
  $[36] = t17;
154
154
  $[37] = t18;
@@ -54,7 +54,7 @@ const Root = /*#__PURE__*/ React.forwardRef((t0, forwardRef) => {
54
54
  const t4 = (_dataComponent = dataComponent) !== null && _dataComponent !== void 0 ? _dataComponent : "Details";
55
55
  let t5;
56
56
  if ($[9] !== children || $[10] !== ref || $[11] !== rest || $[12] !== t3 || $[13] !== t4) {
57
- t5 = /*#__PURE__*/ jsx("details", {
57
+ t5 = /* @__PURE__ */ jsx("details", {
58
58
  className: t3,
59
59
  ...rest,
60
60
  ref,
@@ -92,7 +92,7 @@ function Summary(t0) {
92
92
  const t1 = Component === "summary" ? null : "summary";
93
93
  let t2;
94
94
  if ($[4] !== Component || $[5] !== children || $[6] !== props || $[7] !== t1) {
95
- t2 = /*#__PURE__*/ jsx(Component, {
95
+ t2 = /* @__PURE__ */ jsx(Component, {
96
96
  as: t1,
97
97
  ...props,
98
98
  "data-component": "Details.Summary",