@primer/react 38.44.1-rc.f98981f35 → 38.45.0-rc.3d36dffa3

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.
@@ -0,0 +1,217 @@
1
+ import { c } from "../utils/react-compiler-runtime.js";
2
+ import { AriaStatus } from "../live-region/AriaStatus.js";
3
+ import useIsomorphicLayoutEffect from "../utils/useIsomorphicLayoutEffect.js";
4
+ import VisuallyHidden from "../_VisuallyHidden.js";
5
+ import TableBulkActions_module_css_default from "./TableBulkActions.module.css.js";
6
+ import React, { useRef } from "react";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ import { clsx } from "clsx";
9
+ //#region src/DataTable/TableBulkActions.tsx
10
+ function defaultSelectedCountLabel(selectedCount) {
11
+ return `${selectedCount} selected`;
12
+ }
13
+ const TableBulkActions = /*#__PURE__*/ React.forwardRef(function TableBulkActions(t0, ref) {
14
+ const $ = c(47);
15
+ let children;
16
+ let className;
17
+ let onBlurCapture;
18
+ let onFocusCapture;
19
+ let onFocusReturn;
20
+ let rest;
21
+ let selectedCount;
22
+ let t1;
23
+ let t2;
24
+ if ($[0] !== t0) {
25
+ ({selectedCount, onFocusReturn, getSelectedCountLabel: t1, "aria-label": t2, className, children, onFocusCapture, onBlurCapture, ...rest} = t0);
26
+ $[0] = t0;
27
+ $[1] = children;
28
+ $[2] = className;
29
+ $[3] = onBlurCapture;
30
+ $[4] = onFocusCapture;
31
+ $[5] = onFocusReturn;
32
+ $[6] = rest;
33
+ $[7] = selectedCount;
34
+ $[8] = t1;
35
+ $[9] = t2;
36
+ } else {
37
+ children = $[1];
38
+ className = $[2];
39
+ onBlurCapture = $[3];
40
+ onFocusCapture = $[4];
41
+ onFocusReturn = $[5];
42
+ rest = $[6];
43
+ selectedCount = $[7];
44
+ t1 = $[8];
45
+ t2 = $[9];
46
+ }
47
+ const getSelectedCountLabel = t1 === void 0 ? defaultSelectedCountLabel : t1;
48
+ const ariaLabel = t2 === void 0 ? "Bulk actions" : t2;
49
+ const focusedAction = useRef(null);
50
+ const focusObserver = useRef(null);
51
+ const active = selectedCount > 0;
52
+ let t3;
53
+ if ($[10] !== onFocusReturn) {
54
+ t3 = function recoverFocus() {
55
+ const element = focusedAction.current;
56
+ if (element && !element.isConnected) {
57
+ var _focusObserver$curren;
58
+ focusedAction.current = null;
59
+ (_focusObserver$curren = focusObserver.current) === null || _focusObserver$curren === void 0 || _focusObserver$curren.disconnect();
60
+ const document = element.ownerDocument;
61
+ if (document.activeElement === document.body) {
62
+ var _onFocusReturn;
63
+ (_onFocusReturn = onFocusReturn) === null || _onFocusReturn === void 0 || _onFocusReturn();
64
+ }
65
+ }
66
+ };
67
+ $[10] = onFocusReturn;
68
+ $[11] = t3;
69
+ } else t3 = $[11];
70
+ const recoverFocus = t3;
71
+ let t4;
72
+ if ($[12] !== recoverFocus) {
73
+ t4 = function observeFocusedAction() {
74
+ var _focusObserver$curren2;
75
+ (_focusObserver$curren2 = focusObserver.current) === null || _focusObserver$curren2 === void 0 || _focusObserver$curren2.disconnect();
76
+ const element_0 = focusedAction.current;
77
+ if (element_0) {
78
+ const observer = new MutationObserver(recoverFocus);
79
+ observer.observe(element_0.ownerDocument.body, {
80
+ childList: true,
81
+ subtree: true
82
+ });
83
+ focusObserver.current = observer;
84
+ }
85
+ };
86
+ $[12] = recoverFocus;
87
+ $[13] = t4;
88
+ } else t4 = $[13];
89
+ const observeFocusedAction = t4;
90
+ let t5;
91
+ if ($[14] !== observeFocusedAction || $[15] !== recoverFocus) {
92
+ t5 = () => {
93
+ recoverFocus();
94
+ observeFocusedAction();
95
+ return () => {
96
+ var _focusObserver$curren3;
97
+ (_focusObserver$curren3 = focusObserver.current) === null || _focusObserver$curren3 === void 0 || _focusObserver$curren3.disconnect();
98
+ };
99
+ };
100
+ $[14] = observeFocusedAction;
101
+ $[15] = recoverFocus;
102
+ $[16] = t5;
103
+ } else t5 = $[16];
104
+ useIsomorphicLayoutEffect(t5);
105
+ let t6;
106
+ if ($[17] !== getSelectedCountLabel || $[18] !== selectedCount) {
107
+ t6 = getSelectedCountLabel(selectedCount);
108
+ $[17] = getSelectedCountLabel;
109
+ $[18] = selectedCount;
110
+ $[19] = t6;
111
+ } else t6 = $[19];
112
+ let t7;
113
+ if ($[20] !== active || $[21] !== t6) {
114
+ t7 = /* @__PURE__ */ jsx(AriaStatus, {
115
+ as: "span",
116
+ className: TableBulkActions_module_css_default.Count,
117
+ announceOnShow: active,
118
+ children: t6
119
+ });
120
+ $[20] = active;
121
+ $[21] = t6;
122
+ $[22] = t7;
123
+ } else t7 = $[22];
124
+ const count = t7;
125
+ let t8;
126
+ if ($[23] !== observeFocusedAction || $[24] !== onFocusCapture) {
127
+ t8 = (event) => {
128
+ focusedAction.current = event.target;
129
+ observeFocusedAction();
130
+ if (event.currentTarget.contains(event.target)) event.target.scrollIntoView({
131
+ block: "nearest",
132
+ inline: "nearest"
133
+ });
134
+ if (!event.defaultPrevented) {
135
+ var _onFocusCapture;
136
+ (_onFocusCapture = onFocusCapture) === null || _onFocusCapture === void 0 || _onFocusCapture(event);
137
+ }
138
+ };
139
+ $[23] = observeFocusedAction;
140
+ $[24] = onFocusCapture;
141
+ $[25] = t8;
142
+ } else t8 = $[25];
143
+ let t9;
144
+ if ($[26] !== onBlurCapture) {
145
+ t9 = (event_0) => {
146
+ if (event_0.target.isConnected) {
147
+ var _focusObserver$curren4;
148
+ focusedAction.current = null;
149
+ (_focusObserver$curren4 = focusObserver.current) === null || _focusObserver$curren4 === void 0 || _focusObserver$curren4.disconnect();
150
+ }
151
+ if (!event_0.defaultPrevented) {
152
+ var _onBlurCapture;
153
+ (_onBlurCapture = onBlurCapture) === null || _onBlurCapture === void 0 || _onBlurCapture(event_0);
154
+ }
155
+ };
156
+ $[26] = onBlurCapture;
157
+ $[27] = t9;
158
+ } else t9 = $[27];
159
+ const t10 = active ? "group" : void 0;
160
+ const t11 = active ? ariaLabel : void 0;
161
+ const t12 = active || void 0;
162
+ let t13;
163
+ if ($[28] !== className) {
164
+ t13 = clsx(TableBulkActions_module_css_default.TableBulkActions, className);
165
+ $[28] = className;
166
+ $[29] = t13;
167
+ } else t13 = $[29];
168
+ let t14;
169
+ if ($[30] !== active || $[31] !== count) {
170
+ t14 = /* @__PURE__ */ jsx(VisuallyHidden, {
171
+ isVisible: active,
172
+ children: count
173
+ });
174
+ $[30] = active;
175
+ $[31] = count;
176
+ $[32] = t14;
177
+ } else t14 = $[32];
178
+ let t15;
179
+ if ($[33] !== active || $[34] !== children) {
180
+ t15 = active ? /* @__PURE__ */ jsx("div", {
181
+ className: TableBulkActions_module_css_default.Actions,
182
+ children
183
+ }) : null;
184
+ $[33] = active;
185
+ $[34] = children;
186
+ $[35] = t15;
187
+ } else t15 = $[35];
188
+ let t16;
189
+ if ($[36] !== ref || $[37] !== rest || $[38] !== t10 || $[39] !== t11 || $[40] !== t12 || $[41] !== t13 || $[42] !== t14 || $[43] !== t15 || $[44] !== t8 || $[45] !== t9) {
190
+ t16 = /* @__PURE__ */ jsxs("div", {
191
+ ...rest,
192
+ onFocusCapture: t8,
193
+ onBlurCapture: t9,
194
+ ref,
195
+ role: t10,
196
+ "aria-label": t11,
197
+ "data-component": "Table.BulkActions",
198
+ "data-active": t12,
199
+ className: t13,
200
+ children: [t14, t15]
201
+ });
202
+ $[36] = ref;
203
+ $[37] = rest;
204
+ $[38] = t10;
205
+ $[39] = t11;
206
+ $[40] = t12;
207
+ $[41] = t13;
208
+ $[42] = t14;
209
+ $[43] = t15;
210
+ $[44] = t8;
211
+ $[45] = t9;
212
+ $[46] = t16;
213
+ } else t16 = $[46];
214
+ return t16;
215
+ });
216
+ //#endregion
217
+ export { TableBulkActions };
@@ -0,0 +1,12 @@
1
+ import "./TableBulkActions-aca5618a.css";
2
+ //#region src/DataTable/TableBulkActions.module.css.js
3
+ var TableBulkActions_module_css_default = {
4
+ "TableBulkActions": "prc-DataTable-TableBulkActions-kfFOd",
5
+ "Count": "prc-DataTable-Count-G2fIf",
6
+ "ColumnLabel": "prc-DataTable-ColumnLabel-nT9S-",
7
+ "Actions": "prc-DataTable-Actions-BRFii",
8
+ "HeaderRow": "prc-DataTable-HeaderRow-vCWxU",
9
+ "BulkActionsCell": "prc-DataTable-BulkActionsCell-ji6XT"
10
+ };
11
+ //#endregion
12
+ export { TableBulkActions_module_css_default as default };
@@ -2,7 +2,8 @@ import { SlotMarker } from "../utils/types/Slots.js";
2
2
  import { ObjectPaths } from "./utils.js";
3
3
  import { DataTableData, DataTableRowGroup, DataTableRowId, UniqueRow } from "./row.js";
4
4
  import { CellAlignment, Column, ColumnWidth, createColumnHelper } from "./column.js";
5
- import { DataTable, DataTableProps } from "./DataTable.js";
5
+ import { TableBulkActions, TableBulkActionsProps } from "./TableBulkActions.js";
6
+ import { DataTable, DataTableBulkActionsContext, DataTableProps } from "./DataTable.js";
6
7
  import { ErrorDialog } from "./ErrorDialog.js";
7
8
  import { Table as Table$1, TableActions, TableActionsProps, TableBody, TableBodyProps, TableCell, TableCellPlaceholder, TableCellProps, TableContainer, TableContainerProps, TableDivider, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, TableRowSelection, TableRowSelectionProps, TableSelectionHeader, TableSelectionHeaderProps, TableSkeleton, TableSkeletonProps, TableSubtitle, TableSubtitleProps, TableTitle, TableTitleProps } from "./Table.js";
8
9
  import { TableGroup, TableGroupProps } from "./TableGroup.js";
@@ -14,6 +15,7 @@ declare const Table: typeof Table$1 & SlotMarker & {
14
15
  Title: typeof TableTitle;
15
16
  Subtitle: typeof TableSubtitle;
16
17
  Actions: typeof TableActions;
18
+ BulkActions: typeof TableBulkActions;
17
19
  Divider: typeof TableDivider;
18
20
  Skeleton: typeof TableSkeleton;
19
21
  Head: typeof TableHead;
@@ -29,4 +31,4 @@ declare const Table: typeof Table$1 & SlotMarker & {
29
31
  ErrorDialog: typeof ErrorDialog;
30
32
  };
31
33
  //#endregion
32
- export { type CellAlignment, type Column, type ColumnWidth, DataTable, type DataTableData, type DataTableProps, type DataTableRowGroup, type DataTableRowId, type ObjectPaths, Table, type TableActionsProps, type TableBodyProps, type TableCellProps, type TableContainerProps, type TableGroupProps, type TableHeadProps, type TableHeaderProps, type TableProps, type TableRowProps, type TableRowSelectionProps, type TableSelectionHeaderProps, type TableSubtitleProps, type TableTitleProps, type UniqueRow, createColumnHelper };
34
+ export { type CellAlignment, type Column, type ColumnWidth, DataTable, type DataTableBulkActionsContext, type DataTableData, type DataTableProps, type DataTableRowGroup, type DataTableRowId, type ObjectPaths, Table, type TableActionsProps, type TableBodyProps, type TableBulkActionsProps, type TableCellProps, type TableContainerProps, type TableGroupProps, type TableHeadProps, type TableHeaderProps, type TableProps, type TableRowProps, type TableRowSelectionProps, type TableSelectionHeaderProps, type TableSubtitleProps, type TableTitleProps, type UniqueRow, createColumnHelper };
@@ -1,5 +1,6 @@
1
1
  import { Table as Table$1, TableActions, TableBody, TableCell, TableCellPlaceholder, TableContainer, TableDivider, TableHead, TableHeader, TableRow, TableRowSelection, TableSelectionHeader, TableSkeleton, TableSubtitle, TableTitle } from "./Table.js";
2
2
  import { TableGroup } from "./TableGroup.js";
3
+ import { TableBulkActions } from "./TableBulkActions.js";
3
4
  import { DataTable } from "./DataTable.js";
4
5
  import { ErrorDialog } from "./ErrorDialog.js";
5
6
  import { Pagination } from "./Pagination.js";
@@ -10,6 +11,7 @@ const Table = Object.assign(Table$1, {
10
11
  Title: TableTitle,
11
12
  Subtitle: TableSubtitle,
12
13
  Actions: TableActions,
14
+ BulkActions: TableBulkActions,
13
15
  Divider: TableDivider,
14
16
  Skeleton: TableSkeleton,
15
17
  Head: TableHead,
@@ -4,7 +4,7 @@ import { DEFAULT_SORT_DIRECTION, SortDirection, strategies, transition } from ".
4
4
  import { useId, useState } from "react";
5
5
  //#region src/DataTable/useTable.ts
6
6
  function useTable(t0) {
7
- const $ = c(77);
7
+ const $ = c(80);
8
8
  const { columns, data, initialSortColumn, initialSortDirection, externalSorting, getRowId, rowSelection: t1, selectedRows: controlledSelectedRows, defaultSelectedRows, onSelectionChange, isRowSelectable, collapsibleGroups: t2, expandedGroups: controlledExpandedGroups, defaultExpandedGroups, onExpandedGroupsChange } = t0;
9
9
  const rowSelection = t1 === void 0 ? false : t1;
10
10
  const collapsibleGroups = t2 === void 0 ? false : t2;
@@ -335,55 +335,65 @@ function useTable(t0) {
335
335
  } else t15 = $[58];
336
336
  const toggleGroupExpansion = t15;
337
337
  let t16;
338
- if ($[59] !== sortBy || $[60] !== toggleAllRows || $[61] !== toggleGroupExpansion || $[62] !== toggleRowSelection) {
339
- t16 = {
338
+ if ($[59] !== setSelectedRows) {
339
+ t16 = () => {
340
+ setSelectedRows(/* @__PURE__ */ new Set());
341
+ };
342
+ $[59] = setSelectedRows;
343
+ $[60] = t16;
344
+ } else t16 = $[60];
345
+ let t17;
346
+ if ($[61] !== sortBy || $[62] !== t16 || $[63] !== toggleAllRows || $[64] !== toggleGroupExpansion || $[65] !== toggleRowSelection) {
347
+ t17 = {
340
348
  sortBy,
341
349
  toggleRowSelection,
342
350
  toggleAllRows,
343
- toggleGroupExpansion
351
+ toggleGroupExpansion,
352
+ clearSelection: t16
344
353
  };
345
- $[59] = sortBy;
346
- $[60] = toggleAllRows;
347
- $[61] = toggleGroupExpansion;
348
- $[62] = toggleRowSelection;
349
- $[63] = t16;
350
- } else t16 = $[63];
351
- const t17 = `${tableId}-selection-column`;
352
- let t18;
353
- if ($[64] !== allSelected || $[65] !== effectiveSelectedRows || $[66] !== selectableCount || $[67] !== selectedCount || $[68] !== someSelected || $[69] !== t17) {
354
- t18 = {
355
- headerId: t17,
354
+ $[61] = sortBy;
355
+ $[62] = t16;
356
+ $[63] = toggleAllRows;
357
+ $[64] = toggleGroupExpansion;
358
+ $[65] = toggleRowSelection;
359
+ $[66] = t17;
360
+ } else t17 = $[66];
361
+ const t18 = `${tableId}-selection-column`;
362
+ let t19;
363
+ if ($[67] !== allSelected || $[68] !== effectiveSelectedRows || $[69] !== selectableCount || $[70] !== selectedCount || $[71] !== someSelected || $[72] !== t18) {
364
+ t19 = {
365
+ headerId: t18,
356
366
  selectedRows: effectiveSelectedRows,
357
367
  allSelected,
358
368
  someSelected,
359
369
  selectableCount,
360
370
  selectedCount
361
371
  };
362
- $[64] = allSelected;
363
- $[65] = effectiveSelectedRows;
364
- $[66] = selectableCount;
365
- $[67] = selectedCount;
366
- $[68] = someSelected;
367
- $[69] = t17;
368
- $[70] = t18;
369
- } else t18 = $[70];
370
- let t19;
371
- if ($[71] !== bodies || $[72] !== gridTemplateColumns || $[73] !== headers || $[74] !== t16 || $[75] !== t18) {
372
- t19 = {
372
+ $[67] = allSelected;
373
+ $[68] = effectiveSelectedRows;
374
+ $[69] = selectableCount;
375
+ $[70] = selectedCount;
376
+ $[71] = someSelected;
377
+ $[72] = t18;
378
+ $[73] = t19;
379
+ } else t19 = $[73];
380
+ let t20;
381
+ if ($[74] !== bodies || $[75] !== gridTemplateColumns || $[76] !== headers || $[77] !== t17 || $[78] !== t19) {
382
+ t20 = {
373
383
  headers,
374
- actions: t16,
375
- selection: t18,
384
+ actions: t17,
385
+ selection: t19,
376
386
  gridTemplateColumns,
377
387
  bodies
378
388
  };
379
- $[71] = bodies;
380
- $[72] = gridTemplateColumns;
381
- $[73] = headers;
382
- $[74] = t16;
383
- $[75] = t18;
384
- $[76] = t19;
385
- } else t19 = $[76];
386
- return t19;
389
+ $[74] = bodies;
390
+ $[75] = gridTemplateColumns;
391
+ $[76] = headers;
392
+ $[77] = t17;
393
+ $[78] = t19;
394
+ $[79] = t20;
395
+ } else t20 = $[79];
396
+ return t20;
387
397
  }
388
398
  function _temp5(row_4) {
389
399
  return row_4.selectionId;
@@ -26,6 +26,7 @@ const menuScrollMargins = {
26
26
  endMargin: 8
27
27
  };
28
28
  function FilteredActionList({ loading = false, placeholderText, filterValue: externalFilterValue, loadingType = FilteredActionListLoadingTypes.bodySpinner, onFilterChange, onListContainerRefChanged, onInputRefChanged, items, textInputProps, inputRef: providedInputRef, scrollContainerRef: providedScrollContainerRef, groupMetadata, showItemDividers, message, messageText, className, selectionVariant, announcementsEnabled = true, fullScreenOnNarrow, onSelectAllChange, actionListProps, focusOutBehavior = "wrap", _PrivateFocusManagement = "active-descendant", onActiveDescendantChanged, disableSelectOnHover = false, setInitialFocus = false, focusPrependedElements, scrollBehavior, virtualized = false, ...listProps }) {
29
+ var _readScrollContainerR;
29
30
  if (virtualized && groupMetadata !== null && groupMetadata !== void 0 && groupMetadata.length) console.warn("FilteredActionList: `virtualized` has no effect when `groupMetadata` is provided. Grouped lists are rendered without virtualization.");
30
31
  const isVirtualized = virtualized && !(groupMetadata !== null && groupMetadata !== void 0 && groupMetadata.length);
31
32
  const [filterValue, setInternalFilterValue] = useProvidedStateOrCreate(externalFilterValue, void 0, "");
@@ -207,10 +208,13 @@ function FilteredActionList({ loading = false, placeholderText, filterValue: ext
207
208
  const handleSelectAllChange = useCallback((e) => {
208
209
  if (onSelectAllChange) onSelectAllChange(e.target.checked);
209
210
  }, [onSelectAllChange]);
211
+ const bodyLoaderHeight = loading && loadingType.appearsInBody ? (_readScrollContainerR = readScrollContainerRef.current) === null || _readScrollContainerR === void 0 ? void 0 : _readScrollContainerR.clientHeight : void 0;
212
+ const showBodyLoader = bodyLoaderHeight !== void 0;
213
+ const isListRendered = !showBodyLoader && !message;
210
214
  function getBodyContent() {
211
- if (loading && readScrollContainerRef.current && loadingType.appearsInBody) return /* @__PURE__ */ jsx(FilteredActionListBodyLoader, {
215
+ if (showBodyLoader) return /* @__PURE__ */ jsx(FilteredActionListBodyLoader, {
212
216
  loadingType,
213
- height: readScrollContainerRef.current.clientHeight
217
+ height: bodyLoaderHeight
214
218
  });
215
219
  if (message) return message;
216
220
  let firstGroupIndex = 0;
@@ -309,7 +313,7 @@ function FilteredActionList({ loading = false, placeholderText, filterValue: ext
309
313
  onInputKeyPress,
310
314
  onInputKeyDown: usingRovingTabindex ? onInputKeyDown : void 0,
311
315
  placeholderText,
312
- listId,
316
+ listId: isListRendered ? listId : void 0,
313
317
  inputDescriptionTextId,
314
318
  loading: loading && !loadingType.appearsInBody,
315
319
  fullScreenOnNarrow,
@@ -9,7 +9,8 @@ interface FilteredActionListInputProps extends Partial<Omit<TextInputProps, 'onC
9
9
  onInputKeyPress?: React.KeyboardEventHandler<HTMLInputElement>;
10
10
  onInputKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
11
11
  placeholderText?: string;
12
- listId: string;
12
+ /** ID of the rendered list. Omit it while the list is not rendered. */
13
+ listId?: string;
13
14
  inputDescriptionTextId: string;
14
15
  loading: boolean;
15
16
  fullScreenOnNarrow?: boolean;
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
5
5
  import { clsx } from "clsx";
6
6
  //#region src/FilteredActionList/FilteredActionListInput.tsx
7
7
  function FilteredActionListInput(t0) {
8
- const $ = c(34);
8
+ const $ = c(35);
9
9
  let className;
10
10
  let fullScreenOnNarrow;
11
11
  let inputDescriptionTextId;
@@ -64,16 +64,17 @@ function FilteredActionListInput(t0) {
64
64
  $[16] = onInputFocus;
65
65
  $[17] = t1;
66
66
  } else t1 = $[17];
67
- let t2;
67
+ const t2 = listId !== void 0;
68
+ let t3;
68
69
  if ($[18] !== className || $[19] !== fullScreenOnNarrow) {
69
- t2 = clsx(className, { [FilteredActionList_module_css_default.FullScreenTextInput]: fullScreenOnNarrow });
70
+ t3 = clsx(className, { [FilteredActionList_module_css_default.FullScreenTextInput]: fullScreenOnNarrow });
70
71
  $[18] = className;
71
72
  $[19] = fullScreenOnNarrow;
72
- $[20] = t2;
73
- } else t2 = $[20];
74
- let t3;
75
- if ($[21] !== inputDescriptionTextId || $[22] !== inputRef || $[23] !== listId || $[24] !== loading || $[25] !== onInputChange || $[26] !== onInputKeyDown || $[27] !== onInputKeyPress || $[28] !== placeholderText || $[29] !== restTextInputProps || $[30] !== t1 || $[31] !== t2 || $[32] !== value) {
76
- t3 = /* @__PURE__ */ jsx("div", {
73
+ $[20] = t3;
74
+ } else t3 = $[20];
75
+ let t4;
76
+ if ($[21] !== inputDescriptionTextId || $[22] !== inputRef || $[23] !== listId || $[24] !== loading || $[25] !== onInputChange || $[26] !== onInputKeyDown || $[27] !== onInputKeyPress || $[28] !== placeholderText || $[29] !== restTextInputProps || $[30] !== t1 || $[31] !== t2 || $[32] !== t3 || $[33] !== value) {
77
+ t4 = /* @__PURE__ */ jsx("div", {
77
78
  className: FilteredActionList_module_css_default.Header,
78
79
  "data-component": "FilteredActionList.Header",
79
80
  children: /* @__PURE__ */ jsx(TextInput_default, {
@@ -88,14 +89,14 @@ function FilteredActionListInput(t0) {
88
89
  onKeyDown: onInputKeyDown,
89
90
  placeholder: placeholderText,
90
91
  role: "combobox",
91
- "aria-expanded": "true",
92
+ "aria-expanded": t2,
92
93
  "aria-autocomplete": "list",
93
94
  "aria-controls": listId,
94
95
  "aria-label": placeholderText,
95
96
  "aria-describedby": inputDescriptionTextId,
96
97
  loaderPosition: "leading",
97
98
  loading,
98
- className: t2,
99
+ className: t3,
99
100
  ...restTextInputProps
100
101
  })
101
102
  });
@@ -110,10 +111,11 @@ function FilteredActionListInput(t0) {
110
111
  $[29] = restTextInputProps;
111
112
  $[30] = t1;
112
113
  $[31] = t2;
113
- $[32] = value;
114
- $[33] = t3;
115
- } else t3 = $[33];
116
- return t3;
114
+ $[32] = t3;
115
+ $[33] = value;
116
+ $[34] = t4;
117
+ } else t4 = $[34];
118
+ return t4;
117
119
  }
118
120
  //#endregion
119
121
  export { FilteredActionListInput };
@@ -27,7 +27,8 @@ import { BlankslateProps } from "../Blankslate/Blankslate.js";
27
27
  import { Blankslate as BlankslateContainer } from "../Blankslate/index.js";
28
28
  import { CardActionProps as ActionProps, CardDescriptionProps as DescriptionProps, CardHeadingProps as HeadingProps, CardIconProps as IconProps, CardImageProps as ImageProps, CardMetadataProps as MetadataProps, CardProps } from "../Card/Card.js";
29
29
  import { Card } from "../Card/index.js";
30
- import { DataTable, DataTableProps } from "../DataTable/DataTable.js";
30
+ import { TableBulkActionsProps } from "../DataTable/TableBulkActions.js";
31
+ import { DataTable, DataTableBulkActionsContext, DataTableProps } from "../DataTable/DataTable.js";
31
32
  import { TableActionsProps, TableBodyProps, TableCellProps, TableContainerProps, TableHeadProps, TableHeaderProps, TableProps, TableRowProps, TableRowSelectionProps, TableSelectionHeaderProps, TableSubtitleProps, TableTitleProps } from "../DataTable/Table.js";
32
33
  import { TableGroupProps } from "../DataTable/TableGroup.js";
33
34
  import { Table } from "../DataTable/index.js";
@@ -51,4 +52,4 @@ import { useTabPanel } from "./Tabs/useTabPanel.js";
51
52
  import { TopicTagProps } from "../TopicTag/TopicTag.js";
52
53
  import { TopicTagGroupProps } from "../TopicTag/TopicTagGroup.js";
53
54
  import { TopicTag } from "../TopicTag/index.js";
54
- export { ActionBar, type ActionBarButtonProps, type ActionBarMenuItemProps, type ActionBarMenuProps, type ActionBarProps, Announce, type AnnounceProps, AriaAlert, type AriaAlertProps, AriaStatus, type AriaStatusProps, BlankslateContainer as Blankslate, type BlankslateProps, ButtonBase, type ButtonBaseProps, Card, type ActionProps as CardActionProps, type DescriptionProps as CardDescriptionProps, type HeadingProps as CardHeadingProps, type IconProps as CardIconProps, type ImageProps as CardImageProps, type MetadataProps as CardMetadataProps, type CardProps, type CellAlignment, type Column, type ColumnWidth, DataTable, type DataTableData, type DataTableProps, type DataTableRowGroup, type DataTableRowId, DefaultFeatureFlags, Dialog, type DialogButtonProps, type DialogHeaderProps, type DialogHeight, type DialogProps, type DialogWidth, FeatureFlags, type FeatureFlagsProps, FilteredActionList, type FilteredActionListInputProps, FilteredActionListLoadingTypes, type FilteredActionListProps, Hidden, type HiddenProps, InlineMessage, type InlineMessageProps, IssueLabel, type IssueLabelProps, KeybindingHint, type KeybindingHintProps, NavList, type NavListDividerProps, type NavListGroupProps, type NavListItemProps, type NavListLeadingVisualProps, type NavListProps, type NavListSubNavProps, type NavListTrailingVisualProps, type ObjectPaths, PageHeader, type ActionsProps as PageHeaderActionsProps, type PageHeaderProps, type TitleProps as PageHeaderTitleProps, ScrollableRegion, type ScrollableRegionProps, SelectPanel, type SelectPanelMessageProps, type SelectPanelProps, type SelectPanelSecondaryActionProps, SkeletonAvatar, type SkeletonAvatarProps, SkeletonBox, type SkeletonBoxProps, SkeletonText, type SkeletonTextProps, SlotConfig, Stack, type StackItemProps, type StackProps, type TabListProps, type TabPanelProps, type TabProps, Table, type TableActionsProps, type TableBodyProps, type TableCellProps, type TableContainerProps, type TableGroupProps, type TableHeadProps, type TableHeaderProps, type TableProps, type TableRowProps, type TableRowSelectionProps, type TableSelectionHeaderProps, type TableSubtitleProps, type TableTitleProps, Tabs, type TabsProps, type TitleProps, Tooltip, type TooltipProps, TopicTag, type TopicTagGroupProps, type TopicTagProps, _default as UnderlinePanels, type PanelProps as UnderlinePanelsPanelProps, type UnderlinePanelsProps, type TabProps$1 as UnderlinePanelsTabProps, type UniqueRow, createColumnHelper, getAccessibleKeybindingHintString, useFeatureFlag, useOverflow, useSlots, useTab, useTabList, useTabPanel };
55
+ export { ActionBar, type ActionBarButtonProps, type ActionBarMenuItemProps, type ActionBarMenuProps, type ActionBarProps, Announce, type AnnounceProps, AriaAlert, type AriaAlertProps, AriaStatus, type AriaStatusProps, BlankslateContainer as Blankslate, type BlankslateProps, ButtonBase, type ButtonBaseProps, Card, type ActionProps as CardActionProps, type DescriptionProps as CardDescriptionProps, type HeadingProps as CardHeadingProps, type IconProps as CardIconProps, type ImageProps as CardImageProps, type MetadataProps as CardMetadataProps, type CardProps, type CellAlignment, type Column, type ColumnWidth, DataTable, type DataTableBulkActionsContext, type DataTableData, type DataTableProps, type DataTableRowGroup, type DataTableRowId, DefaultFeatureFlags, Dialog, type DialogButtonProps, type DialogHeaderProps, type DialogHeight, type DialogProps, type DialogWidth, FeatureFlags, type FeatureFlagsProps, FilteredActionList, type FilteredActionListInputProps, FilteredActionListLoadingTypes, type FilteredActionListProps, Hidden, type HiddenProps, InlineMessage, type InlineMessageProps, IssueLabel, type IssueLabelProps, KeybindingHint, type KeybindingHintProps, NavList, type NavListDividerProps, type NavListGroupProps, type NavListItemProps, type NavListLeadingVisualProps, type NavListProps, type NavListSubNavProps, type NavListTrailingVisualProps, type ObjectPaths, PageHeader, type ActionsProps as PageHeaderActionsProps, type PageHeaderProps, type TitleProps as PageHeaderTitleProps, ScrollableRegion, type ScrollableRegionProps, SelectPanel, type SelectPanelMessageProps, type SelectPanelProps, type SelectPanelSecondaryActionProps, SkeletonAvatar, type SkeletonAvatarProps, SkeletonBox, type SkeletonBoxProps, SkeletonText, type SkeletonTextProps, SlotConfig, Stack, type StackItemProps, type StackProps, type TabListProps, type TabPanelProps, type TabProps, Table, type TableActionsProps, type TableBodyProps, type TableBulkActionsProps, type TableCellProps, type TableContainerProps, type TableGroupProps, type TableHeadProps, type TableHeaderProps, type TableProps, type TableRowProps, type TableRowSelectionProps, type TableSelectionHeaderProps, type TableSubtitleProps, type TableTitleProps, Tabs, type TabsProps, type TitleProps, Tooltip, type TooltipProps, TopicTag, type TopicTagGroupProps, type TopicTagProps, _default as UnderlinePanels, type PanelProps as UnderlinePanelsPanelProps, type UnderlinePanelsProps, type TabProps$1 as UnderlinePanelsTabProps, type UniqueRow, createColumnHelper, getAccessibleKeybindingHintString, useFeatureFlag, useOverflow, useSlots, useTab, useTabList, useTabPanel };
@@ -1 +1 @@
1
- export { };
1
+ import { ReactNode } from "react";