@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.
- package/CHANGELOG.md +13 -1
- package/dist/ActionMenu/ActionMenu.js +12 -8
- package/dist/DataTable/DataTable.d.ts +11 -2
- package/dist/DataTable/DataTable.js +148 -61
- package/dist/DataTable/Table-7f0e985b.css +2 -0
- package/dist/DataTable/{Table-0327e248.css.map → Table-7f0e985b.css.map} +1 -1
- package/dist/DataTable/Table.d.ts +1 -0
- package/dist/DataTable/Table.js +18 -13
- package/dist/DataTable/Table.module.css.js +1 -1
- package/dist/DataTable/TableBulkActions-aca5618a.css +2 -0
- package/dist/DataTable/TableBulkActions-aca5618a.css.map +1 -0
- package/dist/DataTable/TableBulkActions.d.ts +15 -0
- package/dist/DataTable/TableBulkActions.js +217 -0
- package/dist/DataTable/TableBulkActions.module.css.js +12 -0
- package/dist/DataTable/index.d.ts +4 -2
- package/dist/DataTable/index.js +2 -0
- package/dist/DataTable/useTable.js +46 -36
- package/dist/FilteredActionList/FilteredActionList.js +7 -3
- package/dist/FilteredActionList/FilteredActionListInput.d.ts +2 -1
- package/dist/FilteredActionList/FilteredActionListInput.js +16 -14
- package/dist/experimental/index.d.ts +3 -2
- package/dist/utils/descendant-registry.d.ts +1 -1
- package/dist/utils/descendant-registry.js +94 -76
- package/generated/components.json +51 -0
- package/package.json +2 -2
- package/dist/DataTable/Table-0327e248.css +0 -2
|
@@ -19,9 +19,9 @@ import { jsx } from "react/jsx-runtime";
|
|
|
19
19
|
* the string key is a unique and stable identifier for each component which can be used as a `key` if necessary.
|
|
20
20
|
*
|
|
21
21
|
* @note Note that this pattern is not SSR compatible. It won't raise errors or hydration mismatches, but the
|
|
22
|
-
* registry will not be available during SSR.
|
|
23
|
-
* after hydration on the client. The initial `undefined` value
|
|
24
|
-
* render if necessary.
|
|
22
|
+
* registry will not be available during SSR. Registrations are collected and published during the effect phase,
|
|
23
|
+
* so the registry will be populated after hydration on the client. The initial `undefined` value
|
|
24
|
+
* can be used to safely show loading UI during SSR/initial render if necessary.
|
|
25
25
|
*/
|
|
26
26
|
function createDescendantRegistry() {
|
|
27
27
|
const Context = /*#__PURE__*/ createContext({
|
|
@@ -83,118 +83,136 @@ function createDescendantRegistry() {
|
|
|
83
83
|
}
|
|
84
84
|
const unsetValue = Symbol("unset");
|
|
85
85
|
function Provider(t0) {
|
|
86
|
-
const $ = c(
|
|
86
|
+
const $ = c(21);
|
|
87
87
|
const { children, setRegistry } = t0;
|
|
88
88
|
const workingRegistryRef = useRef("queued");
|
|
89
|
-
const [key, rebuildRegistry] = useReducer(_temp, 0);
|
|
90
|
-
const pendingRebuildRef = useRef(false);
|
|
91
|
-
const isMountedRef = useRef(true);
|
|
92
89
|
let t1;
|
|
93
90
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
94
|
-
t1 = ()
|
|
95
|
-
if (pendingRebuildRef.current) return;
|
|
96
|
-
pendingRebuildRef.current = true;
|
|
97
|
-
scheduleMicrotask(() => {
|
|
98
|
-
pendingRebuildRef.current = false;
|
|
99
|
-
if (isMountedRef.current) rebuildRegistry();
|
|
100
|
-
});
|
|
101
|
-
};
|
|
91
|
+
t1 = /* @__PURE__ */ new Map();
|
|
102
92
|
$[0] = t1;
|
|
103
93
|
} else t1 = $[0];
|
|
104
|
-
const
|
|
94
|
+
const registryRef = useRef(t1);
|
|
95
|
+
const [key, rebuildRegistry] = useReducer(_temp, 0);
|
|
96
|
+
const pendingRegistryUpdateRef = useRef(false);
|
|
97
|
+
const isMountedRef = useRef(true);
|
|
105
98
|
let t2;
|
|
106
|
-
|
|
107
|
-
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
99
|
+
if ($[1] !== setRegistry) {
|
|
108
100
|
t2 = () => {
|
|
101
|
+
if (pendingRegistryUpdateRef.current) return;
|
|
102
|
+
pendingRegistryUpdateRef.current = true;
|
|
103
|
+
scheduleMicrotask(() => {
|
|
104
|
+
pendingRegistryUpdateRef.current = false;
|
|
105
|
+
if (!isMountedRef.current) return;
|
|
106
|
+
if (workingRegistryRef.current === "queued") rebuildRegistry();
|
|
107
|
+
else if (workingRegistryRef.current === "idle") setRegistry(new Map(registryRef.current));
|
|
108
|
+
});
|
|
109
|
+
};
|
|
110
|
+
$[1] = setRegistry;
|
|
111
|
+
$[2] = t2;
|
|
112
|
+
} else t2 = $[2];
|
|
113
|
+
const scheduleRegistryUpdate = t2;
|
|
114
|
+
let t3;
|
|
115
|
+
let t4;
|
|
116
|
+
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
117
|
+
t3 = () => {
|
|
109
118
|
isMountedRef.current = true;
|
|
110
119
|
return () => {
|
|
111
120
|
isMountedRef.current = false;
|
|
112
121
|
};
|
|
113
122
|
};
|
|
114
|
-
|
|
115
|
-
$[
|
|
116
|
-
$[
|
|
123
|
+
t4 = [];
|
|
124
|
+
$[3] = t3;
|
|
125
|
+
$[4] = t4;
|
|
117
126
|
} else {
|
|
118
|
-
|
|
119
|
-
|
|
127
|
+
t3 = $[3];
|
|
128
|
+
t4 = $[4];
|
|
120
129
|
}
|
|
121
|
-
useEffect(
|
|
122
|
-
let
|
|
123
|
-
if ($[
|
|
124
|
-
|
|
130
|
+
useEffect(t3, t4);
|
|
131
|
+
let t5;
|
|
132
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
133
|
+
t5 = function instantiateNewRegistry() {
|
|
125
134
|
if (workingRegistryRef.current === "queued") workingRegistryRef.current = /* @__PURE__ */ new Map();
|
|
126
135
|
};
|
|
127
|
-
$[
|
|
128
|
-
} else
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
136
|
+
$[5] = t5;
|
|
137
|
+
} else t5 = $[5];
|
|
138
|
+
let t6;
|
|
139
|
+
if ($[6] !== key) {
|
|
140
|
+
t6 = [key];
|
|
141
|
+
$[6] = key;
|
|
142
|
+
$[7] = t6;
|
|
143
|
+
} else t6 = $[7];
|
|
144
|
+
useIsomorphicLayoutEffect(t5, t6);
|
|
145
|
+
let t7;
|
|
146
|
+
if ($[8] !== scheduleRegistryUpdate) {
|
|
147
|
+
t7 = (id) => {
|
|
133
148
|
if (workingRegistryRef.current instanceof Map) workingRegistryRef.current.set(id, unsetValue);
|
|
134
149
|
else if (workingRegistryRef.current === "idle") {
|
|
135
150
|
workingRegistryRef.current = "queued";
|
|
136
|
-
|
|
151
|
+
scheduleRegistryUpdate();
|
|
137
152
|
}
|
|
138
153
|
return function unregister() {
|
|
139
154
|
if (workingRegistryRef.current instanceof Map) workingRegistryRef.current.delete(id);
|
|
140
|
-
else if (workingRegistryRef.current === "idle")
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
});
|
|
155
|
+
else if (workingRegistryRef.current === "idle") {
|
|
156
|
+
registryRef.current.delete(id);
|
|
157
|
+
scheduleRegistryUpdate();
|
|
158
|
+
}
|
|
145
159
|
};
|
|
146
160
|
};
|
|
147
|
-
$[
|
|
148
|
-
$[
|
|
149
|
-
} else
|
|
150
|
-
const register =
|
|
151
|
-
let
|
|
152
|
-
if ($[
|
|
153
|
-
|
|
161
|
+
$[8] = scheduleRegistryUpdate;
|
|
162
|
+
$[9] = t7;
|
|
163
|
+
} else t7 = $[9];
|
|
164
|
+
const register = t7;
|
|
165
|
+
let t8;
|
|
166
|
+
if ($[10] !== scheduleRegistryUpdate) {
|
|
167
|
+
t8 = (id_0, value) => {
|
|
154
168
|
if (workingRegistryRef.current instanceof Map) workingRegistryRef.current.set(id_0, value);
|
|
155
|
-
else if (workingRegistryRef.current === "idle")
|
|
169
|
+
else if (workingRegistryRef.current === "idle") {
|
|
170
|
+
registryRef.current.set(id_0, value);
|
|
171
|
+
scheduleRegistryUpdate();
|
|
172
|
+
}
|
|
156
173
|
};
|
|
157
|
-
$[
|
|
158
|
-
$[
|
|
159
|
-
} else
|
|
160
|
-
const updateValue =
|
|
161
|
-
let
|
|
162
|
-
if ($[
|
|
163
|
-
|
|
174
|
+
$[10] = scheduleRegistryUpdate;
|
|
175
|
+
$[11] = t8;
|
|
176
|
+
} else t8 = $[11];
|
|
177
|
+
const updateValue = t8;
|
|
178
|
+
let t9;
|
|
179
|
+
if ($[12] !== setRegistry) {
|
|
180
|
+
t9 = function commitWorkingRegistry() {
|
|
164
181
|
if (workingRegistryRef.current instanceof Map) {
|
|
165
182
|
const setEntries = Array.from(workingRegistryRef.current.entries()).filter(_temp2);
|
|
166
|
-
|
|
183
|
+
registryRef.current = new Map(setEntries);
|
|
167
184
|
workingRegistryRef.current = "idle";
|
|
185
|
+
setRegistry(new Map(setEntries));
|
|
168
186
|
}
|
|
169
187
|
};
|
|
170
|
-
$[
|
|
171
|
-
$[
|
|
172
|
-
} else
|
|
173
|
-
useEffect(
|
|
174
|
-
let
|
|
175
|
-
if ($[
|
|
176
|
-
|
|
188
|
+
$[12] = setRegistry;
|
|
189
|
+
$[13] = t9;
|
|
190
|
+
} else t9 = $[13];
|
|
191
|
+
useEffect(t9);
|
|
192
|
+
let t10;
|
|
193
|
+
if ($[14] !== key || $[15] !== register || $[16] !== updateValue) {
|
|
194
|
+
t10 = {
|
|
177
195
|
register,
|
|
178
196
|
updateValue,
|
|
179
197
|
key
|
|
180
198
|
};
|
|
181
|
-
$[
|
|
182
|
-
$[
|
|
183
|
-
$[
|
|
184
|
-
$[
|
|
185
|
-
} else
|
|
186
|
-
const contextValue =
|
|
187
|
-
let
|
|
188
|
-
if ($[
|
|
189
|
-
|
|
199
|
+
$[14] = key;
|
|
200
|
+
$[15] = register;
|
|
201
|
+
$[16] = updateValue;
|
|
202
|
+
$[17] = t10;
|
|
203
|
+
} else t10 = $[17];
|
|
204
|
+
const contextValue = t10;
|
|
205
|
+
let t11;
|
|
206
|
+
if ($[18] !== children || $[19] !== contextValue) {
|
|
207
|
+
t11 = /* @__PURE__ */ jsx(Context.Provider, {
|
|
190
208
|
value: contextValue,
|
|
191
209
|
children
|
|
192
210
|
});
|
|
193
|
-
$[
|
|
194
|
-
$[
|
|
195
|
-
$[
|
|
196
|
-
} else
|
|
197
|
-
return
|
|
211
|
+
$[18] = children;
|
|
212
|
+
$[19] = contextValue;
|
|
213
|
+
$[20] = t11;
|
|
214
|
+
} else t11 = $[20];
|
|
215
|
+
return t11;
|
|
198
216
|
}
|
|
199
217
|
function _temp2(entry) {
|
|
200
218
|
return entry[1] !== unsetValue;
|
|
@@ -2771,6 +2771,10 @@
|
|
|
2771
2771
|
"id": "experimental-components-datatable-features--with-row-selection",
|
|
2772
2772
|
"code": "() => {\n const [selectedRows, setSelectedRows] = React.useState<\n ReadonlySet<DataTableRowId>\n >(() => new Set([2]))\n return (\n <Table.Container>\n <Table.Title as=\"h2\" id=\"selectable-repositories\">\n Selectable repositories\n </Table.Title>\n <DataTable\n aria-labelledby=\"selectable-repositories\"\n data={data}\n columns={groupedColumns}\n rowSelection\n selectedRows={selectedRows}\n onSelectionChange={({ selectedRows: nextSelectedRows }) => {\n setSelectedRows(nextSelectedRows)\n }}\n />\n </Table.Container>\n )\n}"
|
|
2773
2773
|
},
|
|
2774
|
+
{
|
|
2775
|
+
"id": "experimental-components-datatable-features--with-bulk-actions",
|
|
2776
|
+
"code": "() => {\n const repositories = [\n {\n id: 1,\n name: 'primer/react',\n visibility: 'Public',\n },\n {\n id: 2,\n name: 'primer/css',\n visibility: 'Public',\n },\n {\n id: 3,\n name: 'github/github',\n visibility: 'Internal',\n },\n ]\n const titleId = React.useId()\n const [rows, setRows] = React.useState(repositories)\n const [selectedRows, setSelectedRows] = React.useState<\n ReadonlySet<DataTableRowId>\n >(() => new Set([1]))\n const resetButtonRef = React.useRef<HTMLButtonElement>(null)\n return (\n <Table.Container>\n <Table.Title id={titleId}>Repositories</Table.Title>\n <Table.Actions>\n <Button\n ref={resetButtonRef}\n onClick={() => {\n setRows(repositories)\n setSelectedRows(new Set())\n }}\n >\n Reset repositories\n </Button>\n </Table.Actions>\n <DataTable\n aria-labelledby={titleId}\n data={[\n ...rows.filter((row) => row.visibility === 'Internal'),\n {\n groupId: 'public',\n label: 'Public',\n rows: rows.filter((row) => row.visibility === 'Public'),\n },\n ]}\n columns={[\n {\n header: 'Repository',\n field: 'name',\n rowHeader: true,\n sortBy: 'alphanumeric',\n },\n {\n header: 'Visibility',\n field: 'visibility',\n },\n ]}\n rowSelection\n selectedRows={selectedRows}\n onSelectionChange={({ selectedRows: next }) => setSelectedRows(next)}\n bulkActionsReturnFocusRef={\n rows.length === 0 ? resetButtonRef : undefined\n }\n collapsibleGroups\n renderBulkActions={({ selectedRows: effectiveIds, clearSelection }) => (\n <>\n <Button\n size=\"small\"\n onClick={() => {\n setRows((current) =>\n current.map((row) =>\n effectiveIds.has(row.id)\n ? {\n ...row,\n visibility: 'Internal',\n }\n : row,\n ),\n )\n clearSelection()\n }}\n >\n Make internal\n </Button>\n <Button\n size=\"small\"\n variant=\"danger\"\n onClick={() => {\n setRows((current) =>\n current.filter((row) => !effectiveIds.has(row.id)),\n )\n clearSelection()\n }}\n >\n Delete selected\n </Button>\n </>\n )}\n />\n </Table.Container>\n )\n}"
|
|
2777
|
+
},
|
|
2774
2778
|
{
|
|
2775
2779
|
"id": "experimental-components-datatable-features--with-grouped-row-selection",
|
|
2776
2780
|
"code": "() => {\n const [selectedRows, setSelectedRows] = React.useState<\n ReadonlySet<DataTableRowId>\n >(() => new Set())\n return (\n <Table.Container>\n <Table.Title as=\"h2\" id=\"selectable-repositories-by-visibility\">\n Selectable repositories by visibility\n </Table.Title>\n <DataTable\n aria-labelledby=\"selectable-repositories-by-visibility\"\n data={repoGroupsWithDisabledRow}\n columns={groupedColumns}\n rowSelection\n selectedRows={selectedRows}\n isRowSelectable={(repo) => repo.id !== 1}\n onSelectionChange={({ selectedRows: nextSelectedRows }) => {\n setSelectedRows(nextSelectedRows)\n }}\n />\n </Table.Container>\n )\n}"
|
|
@@ -2873,6 +2877,21 @@
|
|
|
2873
2877
|
"type": "({ expandedGroups }: { expandedGroups: Set<DataTableRowId> }) => void",
|
|
2874
2878
|
"description": "Receive a new expansion set on a disclosure request. Sorting and data replacement do not emit this callback or clear stored IDs."
|
|
2875
2879
|
},
|
|
2880
|
+
{
|
|
2881
|
+
"name": "renderBulkActions",
|
|
2882
|
+
"type": "(context: DataTableBulkActionsContext) => React.ReactNode",
|
|
2883
|
+
"description": "Render actions in place of visible column labels when rowSelection is enabled and selectable rows are selected. Receives selectedRows IDs, selectedCount, and clearSelection, excluding missing and non-selectable rows."
|
|
2884
|
+
},
|
|
2885
|
+
{
|
|
2886
|
+
"name": "bulkActionsProps",
|
|
2887
|
+
"type": "Pick<TableBulkActionsProps, 'aria-label' | 'getSelectedCountLabel'>",
|
|
2888
|
+
"description": "Localize the bulk-action group name and selected-count announcement (including zero)."
|
|
2889
|
+
},
|
|
2890
|
+
{
|
|
2891
|
+
"name": "bulkActionsReturnFocusRef",
|
|
2892
|
+
"type": "React.RefObject<HTMLElement | null>",
|
|
2893
|
+
"description": "Override focus recovery when a focused action disappears. Defaults to select-all, or the table when no selectable rows remain. Does not override focus already moved by the consumer."
|
|
2894
|
+
},
|
|
2876
2895
|
{
|
|
2877
2896
|
"name": "cellPadding",
|
|
2878
2897
|
"type": "'condensed' | 'normal' | 'spacious'",
|
|
@@ -2922,6 +2941,38 @@
|
|
|
2922
2941
|
}
|
|
2923
2942
|
],
|
|
2924
2943
|
"subcomponents": [
|
|
2944
|
+
{
|
|
2945
|
+
"name": "Table.BulkActions",
|
|
2946
|
+
"props": [
|
|
2947
|
+
{
|
|
2948
|
+
"name": "selectedCount",
|
|
2949
|
+
"type": "number",
|
|
2950
|
+
"required": true,
|
|
2951
|
+
"description": "The effectively selected row count. Keep the component mounted at zero so count announcements and focus recovery can complete."
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
"name": "onFocusReturn",
|
|
2955
|
+
"type": "() => void",
|
|
2956
|
+
"description": "Choose the recovery destination when a focused action disappears and focus has not moved elsewhere."
|
|
2957
|
+
},
|
|
2958
|
+
{
|
|
2959
|
+
"name": "getSelectedCountLabel",
|
|
2960
|
+
"type": "(selectedCount: number) => string",
|
|
2961
|
+
"description": "Localize the visible and announced selected count, including zero."
|
|
2962
|
+
},
|
|
2963
|
+
{
|
|
2964
|
+
"name": "aria-label",
|
|
2965
|
+
"type": "string",
|
|
2966
|
+
"defaultValue": "'Bulk actions'",
|
|
2967
|
+
"description": "Name the action group."
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
"name": "children",
|
|
2971
|
+
"type": "React.ReactNode",
|
|
2972
|
+
"description": "Consumer-owned action elements in native Tab order, rendered only when selectedCount is positive."
|
|
2973
|
+
}
|
|
2974
|
+
]
|
|
2975
|
+
},
|
|
2925
2976
|
{
|
|
2926
2977
|
"name": "Table",
|
|
2927
2978
|
"props": [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "38.
|
|
4
|
+
"version": "38.45.0-rc.3d36dffa3",
|
|
5
5
|
"description": "An implementation of GitHub's Primer Design System using React",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"mdast-util-to-string": "4.0.0",
|
|
157
157
|
"micromark-extension-frontmatter": "2.0.0",
|
|
158
158
|
"micromark-extension-mdxjs": "3.0.0",
|
|
159
|
-
"oxc-transform-react": "^0.
|
|
159
|
+
"oxc-transform-react": "^0.155.0",
|
|
160
160
|
"postcss-preset-primer": "^0.0.0",
|
|
161
161
|
"publint": "^0.3.15",
|
|
162
162
|
"react": "18.3.1",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
.prc-DataTable-TableContainer-hn0p3{column-gap:var(--base-size-8,.5rem);display:grid;grid-template-areas:"title actions" "divider divider" "subtitle subtitle" "filter filter" "table table" "footer footer";grid-template-columns:1fr 1fr}.prc-DataTable-TableTitle-nM43N{align-self:center;font-size:var(--text-body-size-medium,.875rem);font-weight:var(--base-text-weight-semibold,600);grid-area:title;line-height:20px}.prc-DataTable-TableSubtitle--L6Ho,.prc-DataTable-TableTitle-nM43N{color:var(--fgColor-default,#1f2328);margin:0}.prc-DataTable-TableSubtitle--L6Ho{font-size:var(--text-body-size-small,.75rem);font-weight:var(--base-text-weight-normal,400);grid-area:subtitle;line-height:var(--text-title-lineHeight-small,1.5)}.prc-DataTable-TableActions-fkc2b{align-items:center;column-gap:var(--base-size-8,.5rem);display:flex;grid-area:actions;justify-self:end}.prc-DataTable-TableDivider-TRc3b{background-color:var(--borderColor-default,#d1d9e0);grid-area:divider;height:1px;margin-block-end:var(--base-size-8,.5rem);margin-block-start:var(--base-size-16,1rem);width:100%}.prc-DataTable-TableActions-fkc2b+.prc-DataTable-TableOverflowWrapper-bSqT-,.prc-DataTable-TableSubtitle--L6Ho+.prc-DataTable-TableOverflowWrapper-bSqT-,.prc-DataTable-TableTitle-nM43N+.prc-DataTable-TableOverflowWrapper-bSqT-{margin-block-start:var(--base-size-8,.5rem)}.prc-DataTable-Table-7ux1n,.prc-DataTable-TableOverflowWrapper-bSqT-{grid-area:table}.prc-DataTable-Table-7ux1n{--table-border-radius:0.375rem;--table-cell-padding:var(--cell-padding-block,0.5rem) var(--cell-padding-inline,0.75rem);--table-font-size:0.75rem;background-color:var(--bgColor-default,#fff);border-collapse:separate;border-spacing:0;display:grid;font-size:var(--table-font-size);grid-template-columns:var(--grid-template-columns);line-height:1.66667;width:100%}.prc-DataTable-Table-7ux1n:where([data-cell-padding=condensed]){--cell-padding-block:0.25rem;--cell-padding-inline:0.5rem}.prc-DataTable-Table-7ux1n:where([data-cell-padding=normal]){--cell-padding-block:0.5rem;--cell-padding-inline:0.75rem}.prc-DataTable-Table-7ux1n:where([data-cell-padding=spacious]){--cell-padding-block:0.75rem;--cell-padding-inline:1rem}.prc-DataTable-TableCell-Fk4ve:first-child,.prc-DataTable-TableHeader-eyTab:first-child{border-inline-start:var(--borderWidth-thin,.0625rem) solid var(--borderColor-default,#d1d9e0)}.prc-DataTable-TableCell-Fk4ve:last-child,.prc-DataTable-TableHeader-eyTab:last-child{border-inline-end:var(--borderWidth-thin,.0625rem) solid var(--borderColor-default,#d1d9e0)}.prc-DataTable-TableCell-Fk4ve,.prc-DataTable-TableHeader-eyTab{align-items:center;border-block-end:var(--borderWidth-thin,.0625rem) solid var(--borderColor-default,#d1d9e0);display:flex;padding:var(--table-cell-padding);text-align:start}.prc-DataTable-TableCell-Fk4ve:where([data-cell-align=end]),.prc-DataTable-TableHeader-eyTab:where([data-cell-align=end]){display:flex;justify-content:flex-end;text-align:end}.prc-DataTable-TableHeader-eyTab[data-cell-align=end] .prc-DataTable-TableSortButton--aq0y{display:flex;flex-direction:row-reverse}.prc-DataTable-TableHead-4FaBf .prc-DataTable-TableRow-Icc7F:first-of-type .prc-DataTable-TableHeader-eyTab{border-block-start:var(--borderWidth-thin,.0625rem) solid var(--borderColor-default,#d1d9e0)}.prc-DataTable-TableHead-4FaBf .prc-DataTable-TableRow-Icc7F:first-of-type .prc-DataTable-TableHeader-eyTab:first-child{border-top-left-radius:var(--table-border-radius)}.prc-DataTable-TableHead-4FaBf .prc-DataTable-TableRow-Icc7F:first-of-type .prc-DataTable-TableHeader-eyTab:last-child{border-top-right-radius:var(--table-border-radius)}.prc-DataTable-TableOverflowWrapper-bSqT-:last-child .prc-DataTable-Table-7ux1n .prc-DataTable-TableBody-QKQy2:last-of-type .prc-DataTable-TableRow-Icc7F:last-of-type .prc-DataTable-TableCell-Fk4ve:first-child{border-bottom-left-radius:var(--table-border-radius)}.prc-DataTable-TableOverflowWrapper-bSqT-:last-child .prc-DataTable-Table-7ux1n .prc-DataTable-TableBody-QKQy2:last-of-type .prc-DataTable-TableRow-Icc7F:last-of-type .prc-DataTable-TableCell-Fk4ve:last-child{border-bottom-right-radius:var(--table-border-radius)}.prc-DataTable-TableOverflowWrapper-bSqT-:last-child .prc-DataTable-TableGroupHeaderBody-K-YqR:where(:has(+.prc-DataTable-TableBody-QKQy2[hidden]:last-child)) .prc-DataTable-TableGroupHeaderCell-vnb30{border-bottom-left-radius:var(--table-border-radius);border-bottom-right-radius:var(--table-border-radius)}.prc-DataTable-TableRow-Icc7F>:first-child .prc-DataTable-TableCellSkeletonItem-bGhwZ,.prc-DataTable-TableRow-Icc7F>:first-child:not(.prc-DataTable-TableCellSkeleton-DMdM5){padding-inline-start:var(--base-size-16,1rem)}.prc-DataTable-TableRow-Icc7F>:last-child .prc-DataTable-TableCellSkeletonItem-bGhwZ,.prc-DataTable-TableRow-Icc7F>:last-child:not(.prc-DataTable-TableCellSkeleton-DMdM5){padding-inline-end:var(--base-size-16,1rem)}.prc-DataTable-TableHeader-eyTab{background-color:var(--bgColor-muted,#f6f8fa);border-block-start:var(--borderWidth-thin,.0625rem) solid var(--borderColor-default,#d1d9e0);color:var(--fgColor-muted,#59636e);font-weight:var(--base-text-weight-semibold,600)}.prc-DataTable-TableHeader-eyTab:where([aria-sort=ascending]),.prc-DataTable-TableHeader-eyTab:where([aria-sort=descending]){color:var(--fgColor-default,#1f2328)}.prc-DataTable-TableRowSelection-HwyDU,.prc-DataTable-TableSelectionHeader-Op0cK{justify-content:center}.prc-DataTable-TableSortIcon-wHvJw{visibility:hidden}.prc-DataTable-TableHeader-eyTab .prc-DataTable-TableSortButton--aq0y:focus .prc-DataTable-TableSortIcon--ascending-Lpx6z,.prc-DataTable-TableHeader-eyTab:hover .prc-DataTable-TableSortIcon--ascending-Lpx6z,.prc-DataTable-TableHeader-eyTab[aria-sort=ascending] .prc-DataTable-TableSortIcon--ascending-Lpx6z,.prc-DataTable-TableHeader-eyTab[aria-sort=descending] .prc-DataTable-TableSortIcon--descending-hHJGo{visibility:visible}.prc-DataTable-TableRow-Icc7F:hover .prc-DataTable-TableCell-Fk4ve:not(.prc-DataTable-TableCellSkeleton-DMdM5){background-color:var(--control-transparent-bgColor-hover,#818b981a)}.prc-DataTable-TableCell-Fk4ve:where([scope=row]){align-items:center;color:var(--fgColor-default,#1f2328);display:flex;font-weight:var(--base-text-weight-semibold,600)}.prc-DataTable-TableCellSkeleton-DMdM5{padding:0}.prc-DataTable-TableCellSkeletonItems-Ljhq5{display:flex;flex-direction:column;width:100%}.prc-DataTable-TableCellSkeletonItem-bGhwZ{padding:var(--table-cell-padding)}.prc-DataTable-TableCellSkeletonItem-bGhwZ:nth-of-type(5n+1){--skeleton-item-width:85%}.prc-DataTable-TableCellSkeletonItem-bGhwZ:nth-of-type(5n+2){--skeleton-item-width:67.5%}.prc-DataTable-TableCellSkeletonItem-bGhwZ:nth-of-type(5n+3){--skeleton-item-width:80%}.prc-DataTable-TableCellSkeletonItem-bGhwZ:nth-of-type(5n+4){--skeleton-item-width:60%}.prc-DataTable-TableCellSkeletonItem-bGhwZ:nth-of-type(5n+5){--skeleton-item-width:75%}.prc-DataTable-TableCellSkeletonItem-bGhwZ [data-component=SkeletonText]{width:var(--skeleton-item-width)}.prc-DataTable-TableCellSkeletonItem-bGhwZ:not(:last-of-type){border-block-end:var(--borderWidth-thin,.0625rem) solid var(--borderColor-default,#d1d9e0)}.prc-DataTable-TableSortButton--aq0y{column-gap:.5rem}.prc-DataTable-TableBody-QKQy2,.prc-DataTable-TableGroupHeaderBody-K-YqR,.prc-DataTable-TableHead-4FaBf,.prc-DataTable-TableRow-Icc7F{display:contents}@supports (grid-template-columns:subgrid){.prc-DataTable-TableBody-QKQy2,.prc-DataTable-TableGroupHeaderBody-K-YqR,.prc-DataTable-TableHead-4FaBf,.prc-DataTable-TableRow-Icc7F{display:grid;grid-column:-1/1;grid-template-columns:subgrid}}.prc-DataTable-TableGroupHeaderCell-vnb30{align-items:center;background-color:var(--bgColor-muted,#f6f8fa);border-block-end:var(--borderWidth-thin,.0625rem) solid var(--borderColor-default,#d1d9e0);border-inline-end:var(--borderWidth-thin,.0625rem) solid var(--borderColor-default,#d1d9e0);border-inline-start:var(--borderWidth-thin,.0625rem) solid var(--borderColor-default,#d1d9e0);color:var(--fgColor-muted,#59636e);column-gap:calc(var(--cell-padding-inline)*2);display:flex;grid-column:1/-1;padding:var(--table-cell-padding);text-align:start}.prc-DataTable-TableGroupHeaderContent-H9FbA{align-items:baseline;column-gap:var(--base-size-8,.5rem);display:flex}.prc-DataTable-TableGroupHeaderLabel--c-od{color:var(--fgColor-default,#1f2328);font-weight:var(--base-text-weight-semibold,600)}.prc-DataTable-TableGroupHeaderCount-6r8Pj{color:var(--fgColor-muted,#59636e)}.prc-DataTable-TableBody-QKQy2:where([hidden]){display:none}.prc-DataTable-TableGroupToggle-9OwNG{align-items:center;align-self:center;border-radius:var(--borderRadius-small,.1875rem);color:var(--fgColor-default,#1f2328);display:inline-flex;flex-shrink:0;height:var(--base-size-24,1.5rem);justify-content:center;margin-inline:calc((var(--base-size-16,1rem) - var(--base-size-24,1.5rem))/2);width:var(--base-size-24,1.5rem)}.prc-DataTable-TableGroupToggle-9OwNG:hover{background-color:var(--bgColor-neutral-muted,#818b981f)}.prc-DataTable-TableGroupToggle-9OwNG:where([aria-expanded=true]) svg{transform:rotate(90deg)}.prc-DataTable-PlaceholderText-8bHo7{color:var(--fgColor-muted,#59636e)}
|
|
2
|
-
/*# sourceMappingURL=Table-0327e248.css.map */
|