@flipdish/ui-library 0.67.0 → 0.68.0
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/README.md +31 -31
- package/dist/components/atoms/PhoneInput/hooks/usePhoneEntry.cjs +13 -30
- package/dist/components/atoms/PhoneInput/hooks/usePhoneEntry.cjs.map +1 -1
- package/dist/components/atoms/PhoneInput/hooks/usePhoneEntry.d.ts.map +1 -1
- package/dist/components/atoms/PhoneInput/hooks/usePhoneEntry.js +10 -27
- package/dist/components/atoms/PhoneInput/hooks/usePhoneEntry.js.map +1 -1
- package/dist/components/atoms/PhoneInput/utilities/phoneEntry.utils.cjs +55 -0
- package/dist/components/atoms/PhoneInput/utilities/phoneEntry.utils.cjs.map +1 -0
- package/dist/components/atoms/PhoneInput/utilities/phoneEntry.utils.d.ts +56 -0
- package/dist/components/atoms/PhoneInput/utilities/phoneEntry.utils.d.ts.map +1 -0
- package/dist/components/atoms/PhoneInput/utilities/phoneEntry.utils.js +52 -0
- package/dist/components/atoms/PhoneInput/utilities/phoneEntry.utils.js.map +1 -0
- package/dist/components/molecules/EmptyState/index.cjs +4 -2
- package/dist/components/molecules/EmptyState/index.cjs.map +1 -1
- package/dist/components/molecules/EmptyState/index.d.ts.map +1 -1
- package/dist/components/molecules/EmptyState/index.js +4 -2
- package/dist/components/molecules/EmptyState/index.js.map +1 -1
- package/dist/components/molecules/Pagination/index.d.ts +1 -1
- package/dist/components/molecules/Pagination/index.d.ts.map +1 -1
- package/dist/components/molecules/Paginations/Pagination/Pagination.cjs +21 -5
- package/dist/components/molecules/Paginations/Pagination/Pagination.cjs.map +1 -1
- package/dist/components/molecules/Paginations/Pagination/Pagination.d.ts +7 -1
- package/dist/components/molecules/Paginations/Pagination/Pagination.d.ts.map +1 -1
- package/dist/components/molecules/Paginations/Pagination/Pagination.js +22 -6
- package/dist/components/molecules/Paginations/Pagination/Pagination.js.map +1 -1
- package/dist/components/molecules/Paginations/components/PaginationBase.cjs +2 -2
- package/dist/components/molecules/Paginations/components/PaginationBase.cjs.map +1 -1
- package/dist/components/molecules/Paginations/components/PaginationBase.d.ts +4 -2
- package/dist/components/molecules/Paginations/components/PaginationBase.d.ts.map +1 -1
- package/dist/components/molecules/Paginations/components/PaginationBase.js +2 -2
- package/dist/components/molecules/Paginations/components/PaginationBase.js.map +1 -1
- package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.cjs +125 -0
- package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.cjs.map +1 -0
- package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.d.ts +42 -0
- package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.d.ts.map +1 -0
- package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.js +118 -0
- package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.js.map +1 -0
- package/dist/components/organisms/FilterBar/index.cjs +3 -1
- package/dist/components/organisms/FilterBar/index.cjs.map +1 -1
- package/dist/components/organisms/FilterBar/index.d.ts.map +1 -1
- package/dist/components/organisms/FilterBar/index.js +3 -1
- package/dist/components/organisms/FilterBar/index.js.map +1 -1
- package/dist/components/organisms/Table/components/TableCardList.cjs +27 -0
- package/dist/components/organisms/Table/components/TableCardList.cjs.map +1 -0
- package/dist/components/organisms/Table/components/TableCardList.d.ts +4 -0
- package/dist/components/organisms/Table/components/TableCardList.d.ts.map +1 -0
- package/dist/components/organisms/Table/components/TableCardList.js +25 -0
- package/dist/components/organisms/Table/components/TableCardList.js.map +1 -0
- package/dist/components/organisms/Table/components/TableCardRow.cjs +80 -0
- package/dist/components/organisms/Table/components/TableCardRow.cjs.map +1 -0
- package/dist/components/organisms/Table/components/TableCardRow.d.ts +4 -0
- package/dist/components/organisms/Table/components/TableCardRow.d.ts.map +1 -0
- package/dist/components/organisms/Table/components/TableCardRow.js +78 -0
- package/dist/components/organisms/Table/components/TableCardRow.js.map +1 -0
- package/dist/components/organisms/Table/components/TableCardsSelectAll.cjs +24 -0
- package/dist/components/organisms/Table/components/TableCardsSelectAll.cjs.map +1 -0
- package/dist/components/organisms/Table/components/TableCardsSelectAll.d.ts +13 -0
- package/dist/components/organisms/Table/components/TableCardsSelectAll.d.ts.map +1 -0
- package/dist/components/organisms/Table/components/TableCardsSelectAll.js +22 -0
- package/dist/components/organisms/Table/components/TableCardsSelectAll.js.map +1 -0
- package/dist/components/organisms/Table/components/TableFallbackCard.cjs +12 -0
- package/dist/components/organisms/Table/components/TableFallbackCard.cjs.map +1 -0
- package/dist/components/organisms/Table/components/TableFallbackCard.d.ts +6 -0
- package/dist/components/organisms/Table/components/TableFallbackCard.d.ts.map +1 -0
- package/dist/components/organisms/Table/components/TableFallbackCard.js +10 -0
- package/dist/components/organisms/Table/components/TableFallbackCard.js.map +1 -0
- package/dist/components/organisms/Table/components/TableFocusGuard.cjs +23 -0
- package/dist/components/organisms/Table/components/TableFocusGuard.cjs.map +1 -0
- package/dist/components/organisms/Table/components/TableFocusGuard.d.ts +2 -0
- package/dist/components/organisms/Table/components/TableFocusGuard.d.ts.map +1 -0
- package/dist/components/organisms/Table/components/TableFocusGuard.js +21 -0
- package/dist/components/organisms/Table/components/TableFocusGuard.js.map +1 -0
- package/dist/components/organisms/Table/components/TableLayoutToggle.cjs +27 -0
- package/dist/components/organisms/Table/components/TableLayoutToggle.cjs.map +1 -0
- package/dist/components/organisms/Table/components/TableLayoutToggle.d.ts +17 -0
- package/dist/components/organisms/Table/components/TableLayoutToggle.d.ts.map +1 -0
- package/dist/components/organisms/Table/components/TableLayoutToggle.js +25 -0
- package/dist/components/organisms/Table/components/TableLayoutToggle.js.map +1 -0
- package/dist/components/organisms/Table/components/TableRowCard.cjs +79 -0
- package/dist/components/organisms/Table/components/TableRowCard.cjs.map +1 -0
- package/dist/components/organisms/Table/components/TableRowCard.d.ts +71 -0
- package/dist/components/organisms/Table/components/TableRowCard.d.ts.map +1 -0
- package/dist/components/organisms/Table/components/TableRowCard.js +72 -0
- package/dist/components/organisms/Table/components/TableRowCard.js.map +1 -0
- package/dist/components/organisms/Table/components/TableSortMenu.cjs +48 -0
- package/dist/components/organisms/Table/components/TableSortMenu.cjs.map +1 -0
- package/dist/components/organisms/Table/components/TableSortMenu.d.ts +35 -0
- package/dist/components/organisms/Table/components/TableSortMenu.d.ts.map +1 -0
- package/dist/components/organisms/Table/components/TableSortMenu.js +46 -0
- package/dist/components/organisms/Table/components/TableSortMenu.js.map +1 -0
- package/dist/components/organisms/Table/hooks/useFirstSortDirection.cjs +25 -0
- package/dist/components/organisms/Table/hooks/useFirstSortDirection.cjs.map +1 -0
- package/dist/components/organisms/Table/hooks/useFirstSortDirection.d.ts +12 -0
- package/dist/components/organisms/Table/hooks/useFirstSortDirection.d.ts.map +1 -0
- package/dist/components/organisms/Table/hooks/useFirstSortDirection.js +23 -0
- package/dist/components/organisms/Table/hooks/useFirstSortDirection.js.map +1 -0
- package/dist/components/organisms/Table/hooks/useIsAtLeastMd.cjs +21 -0
- package/dist/components/organisms/Table/hooks/useIsAtLeastMd.cjs.map +1 -0
- package/dist/components/organisms/Table/hooks/useIsAtLeastMd.d.ts +9 -0
- package/dist/components/organisms/Table/hooks/useIsAtLeastMd.d.ts.map +1 -0
- package/dist/components/organisms/Table/hooks/useIsAtLeastMd.js +19 -0
- package/dist/components/organisms/Table/hooks/useIsAtLeastMd.js.map +1 -0
- package/dist/components/organisms/Table/hooks/usePlaceholderRows.cjs +43 -0
- package/dist/components/organisms/Table/hooks/usePlaceholderRows.cjs.map +1 -0
- package/dist/components/organisms/Table/hooks/usePlaceholderRows.d.ts +23 -0
- package/dist/components/organisms/Table/hooks/usePlaceholderRows.d.ts.map +1 -0
- package/dist/components/organisms/Table/hooks/usePlaceholderRows.js +40 -0
- package/dist/components/organisms/Table/hooks/usePlaceholderRows.js.map +1 -0
- package/dist/components/organisms/Table/hooks/useSelectableRowRegistry.cjs +20 -2
- package/dist/components/organisms/Table/hooks/useSelectableRowRegistry.cjs.map +1 -1
- package/dist/components/organisms/Table/hooks/useSelectableRowRegistry.d.ts +8 -4
- package/dist/components/organisms/Table/hooks/useSelectableRowRegistry.d.ts.map +1 -1
- package/dist/components/organisms/Table/hooks/useSelectableRowRegistry.js +21 -3
- package/dist/components/organisms/Table/hooks/useSelectableRowRegistry.js.map +1 -1
- package/dist/components/organisms/Table/hooks/useTableSelection.cjs +47 -0
- package/dist/components/organisms/Table/hooks/useTableSelection.cjs.map +1 -0
- package/dist/components/organisms/Table/hooks/useTableSelection.d.ts +31 -0
- package/dist/components/organisms/Table/hooks/useTableSelection.d.ts.map +1 -0
- package/dist/components/organisms/Table/hooks/useTableSelection.js +45 -0
- package/dist/components/organisms/Table/hooks/useTableSelection.js.map +1 -0
- package/dist/components/organisms/Table/index.cjs +169 -38
- package/dist/components/organisms/Table/index.cjs.map +1 -1
- package/dist/components/organisms/Table/index.d.ts +57 -20
- package/dist/components/organisms/Table/index.d.ts.map +1 -1
- package/dist/components/organisms/Table/index.js +162 -33
- package/dist/components/organisms/Table/index.js.map +1 -1
- package/dist/components/organisms/Table/providers/Table.context.cjs +19 -0
- package/dist/components/organisms/Table/providers/Table.context.cjs.map +1 -0
- package/dist/components/organisms/Table/providers/Table.context.d.ts +44 -0
- package/dist/components/organisms/Table/providers/Table.context.d.ts.map +1 -0
- package/dist/components/organisms/Table/providers/Table.context.js +13 -0
- package/dist/components/organisms/Table/providers/Table.context.js.map +1 -0
- package/dist/components/organisms/Table/table.types.d.ts +35 -0
- package/dist/components/organisms/Table/table.types.d.ts.map +1 -0
- package/dist/components/organisms/Table/utilities/tableCard.utils.cjs +197 -0
- package/dist/components/organisms/Table/utilities/tableCard.utils.cjs.map +1 -0
- package/dist/components/organisms/Table/utilities/tableCard.utils.d.ts +161 -0
- package/dist/components/organisms/Table/utilities/tableCard.utils.d.ts.map +1 -0
- package/dist/components/organisms/Table/utilities/tableCard.utils.js +180 -0
- package/dist/components/organisms/Table/utilities/tableCard.utils.js.map +1 -0
- package/dist/components/organisms/Table/utilities/tableChildren.utils.cjs +47 -0
- package/dist/components/organisms/Table/utilities/tableChildren.utils.cjs.map +1 -0
- package/dist/components/organisms/Table/utilities/tableChildren.utils.d.ts +39 -0
- package/dist/components/organisms/Table/utilities/tableChildren.utils.d.ts.map +1 -0
- package/dist/components/organisms/Table/utilities/tableChildren.utils.js +43 -0
- package/dist/components/organisms/Table/utilities/tableChildren.utils.js.map +1 -0
- package/dist/components/organisms/Table/utilities/tableSelection.utils.cjs +106 -0
- package/dist/components/organisms/Table/utilities/tableSelection.utils.cjs.map +1 -0
- package/dist/components/organisms/Table/utilities/tableSelection.utils.d.ts +82 -0
- package/dist/components/organisms/Table/utilities/tableSelection.utils.d.ts.map +1 -0
- package/dist/components/organisms/Table/utilities/tableSelection.utils.js +98 -0
- package/dist/components/organisms/Table/utilities/tableSelection.utils.js.map +1 -0
- package/dist/components/organisms/Table/utilities/tableSort.utils.cjs +87 -0
- package/dist/components/organisms/Table/utilities/tableSort.utils.cjs.map +1 -0
- package/dist/components/organisms/Table/utilities/tableSort.utils.d.ts +67 -0
- package/dist/components/organisms/Table/utilities/tableSort.utils.d.ts.map +1 -0
- package/dist/components/organisms/Table/utilities/tableSort.utils.js +79 -0
- package/dist/components/organisms/Table/utilities/tableSort.utils.js.map +1 -0
- package/dist/utilities/searchParamsUtils/index.cjs +2 -9
- package/dist/utilities/searchParamsUtils/index.cjs.map +1 -1
- package/dist/utilities/searchParamsUtils/index.d.ts +5 -3
- package/dist/utilities/searchParamsUtils/index.d.ts.map +1 -1
- package/dist/utilities/searchParamsUtils/index.js +2 -9
- package/dist/utilities/searchParamsUtils/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/organisms/Table/table.utils.cjs +0 -61
- package/dist/components/organisms/Table/table.utils.cjs.map +0 -1
- package/dist/components/organisms/Table/table.utils.d.ts +0 -48
- package/dist/components/organisms/Table/table.utils.d.ts.map +0 -1
- package/dist/components/organisms/Table/table.utils.js +0 -55
- package/dist/components/organisms/Table/table.utils.js.map +0 -1
|
@@ -10,20 +10,35 @@ var cx = require('@flipdish/ui-library/utilities/cx');
|
|
|
10
10
|
var testIdUtils = require('@flipdish/ui-library/utilities/testIdUtils');
|
|
11
11
|
var React = require('react');
|
|
12
12
|
var reactAriaComponents = require('react-aria-components');
|
|
13
|
+
var TableCardList = require('./components/TableCardList.cjs');
|
|
14
|
+
var TableCardRow = require('./components/TableCardRow.cjs');
|
|
15
|
+
var TableCardsSelectAll = require('./components/TableCardsSelectAll.cjs');
|
|
16
|
+
var TableFocusGuard = require('./components/TableFocusGuard.cjs');
|
|
17
|
+
var TableLayoutToggle = require('./components/TableLayoutToggle.cjs');
|
|
18
|
+
var TableRowCard = require('./components/TableRowCard.cjs');
|
|
13
19
|
var TableSortIcon = require('./components/TableSortIcon.cjs');
|
|
20
|
+
var TableSortMenu = require('./components/TableSortMenu.cjs');
|
|
21
|
+
var useFirstSortDirection = require('./hooks/useFirstSortDirection.cjs');
|
|
22
|
+
var useIsAtLeastMd = require('./hooks/useIsAtLeastMd.cjs');
|
|
23
|
+
var usePlaceholderRows = require('./hooks/usePlaceholderRows.cjs');
|
|
14
24
|
var useSelectableRowRegistry = require('./hooks/useSelectableRowRegistry.cjs');
|
|
15
|
-
var
|
|
25
|
+
var useTableSelection = require('./hooks/useTableSelection.cjs');
|
|
26
|
+
var Table_context = require('./providers/Table.context.cjs');
|
|
27
|
+
var tableCard_utils = require('./utilities/tableCard.utils.cjs');
|
|
28
|
+
var tableChildren_utils = require('./utilities/tableChildren.utils.cjs');
|
|
29
|
+
var tableSort_utils = require('./utilities/tableSort.utils.cjs');
|
|
16
30
|
|
|
17
31
|
/** Row actions menu behind a dots button with fixed Edit, Copy link and Delete items, for use in a table's last column. */
|
|
18
32
|
const TableRowActionsDropdown = () => (jsxRuntime.jsxs(Dropdown.Dropdown.Root, { children: [jsxRuntime.jsx(Dropdown.Dropdown.DotsButton, { color: "tertiary" }), jsxRuntime.jsx(Dropdown.Dropdown.Popover, { className: "w-min", children: jsxRuntime.jsxs(Dropdown.Dropdown.Menu, { children: [jsxRuntime.jsx(Dropdown.Dropdown.Item, { icon: uiIcons.Edit01, children: jsxRuntime.jsx("span", { className: "pr-4", children: "Edit" }) }), jsxRuntime.jsx(Dropdown.Dropdown.Item, { icon: uiIcons.Copy01, children: jsxRuntime.jsx("span", { className: "pr-4", children: "Copy link" }) }), jsxRuntime.jsx(Dropdown.Dropdown.Item, { icon: uiIcons.Trash01, children: jsxRuntime.jsx("span", { className: "pr-4", children: "Delete" }) })] }) })] }));
|
|
19
|
-
|
|
20
|
-
/** Bordered card around a `Table` and its optional `Pagination`; sets the `size` every child inherits. */
|
|
33
|
+
/** Bordered card around a `Table` and its optional `Pagination`; sets the `size` every child inherits, and has no surface while its table shows cards. */
|
|
21
34
|
const TableCardRoot = ({ children, className, size = 'md', ...props }) => {
|
|
22
|
-
|
|
35
|
+
const [layout, setLayout] = React.useState('table');
|
|
36
|
+
return (jsxRuntime.jsx(Table_context.TableCardLayoutContext.Provider, { value: { layout, setLayout }, children: jsxRuntime.jsx(Table_context.TableContext.Provider, { value: { size }, children: jsxRuntime.jsx("div", { ...props, "data-pagination-scroll-target": "", "data-table-layout": layout, className: cx.cx(layout === 'cards' ? 'flex flex-col gap-4' : 'overflow-hidden rounded-xl bg-primary shadow-xs ring-1 ring-secondary', className), children: children }) }) }));
|
|
23
37
|
};
|
|
24
38
|
/** Titled header for a table embedded in a dashboard or panel; page-level tables use `PageHeader` instead. */
|
|
25
39
|
const TableCardHeader = ({ title, badge, description, contentTrailing, className }) => {
|
|
26
|
-
const { size } = React.useContext(TableContext);
|
|
40
|
+
const { size } = React.useContext(Table_context.TableContext);
|
|
41
|
+
const { layout } = React.useContext(Table_context.TableCardLayoutContext);
|
|
27
42
|
const renderBadge = () => {
|
|
28
43
|
if (!badge)
|
|
29
44
|
return null;
|
|
@@ -31,27 +46,80 @@ const TableCardHeader = ({ title, badge, description, contentTrailing, className
|
|
|
31
46
|
return badge;
|
|
32
47
|
return (jsxRuntime.jsx(Badges.Badge, { color: "gray", size: "sm", type: "modern", children: badge }));
|
|
33
48
|
};
|
|
34
|
-
return (jsxRuntime.jsxs("div", { className: cx.cx('relative flex flex-col items-start gap-4
|
|
49
|
+
return (jsxRuntime.jsxs("div", { className: cx.cx('relative flex flex-col items-start gap-4 md:flex-row',
|
|
50
|
+
// Above cards the header is a plain heading row: the card it would divide from has no surface.
|
|
51
|
+
layout !== 'cards' && 'border-b border-secondary bg-primary px-4', layout !== 'cards' && (size === 'sm' ? 'py-4 md:px-5' : 'py-5 md:px-6'), className), children: [jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col gap-0.5", children: [jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [jsxRuntime.jsx("h2", { className: "text-md font-semibold text-primary", children: title }), renderBadge()] }), description && jsxRuntime.jsx("p", { className: "text-sm text-tertiary", children: description })] }), contentTrailing] }));
|
|
35
52
|
};
|
|
53
|
+
// What a table's descendants see in place of its `TableCard.Root`: one nested in a row card or a cell has no card of its own to report to.
|
|
54
|
+
const DETACHED_CARD_LAYOUT = { layout: 'table' };
|
|
36
55
|
// The element types match react-aria's: inside a `Virtualizer` the table, its header, rows and cells render as `div`s.
|
|
37
|
-
const TableRoot = React.forwardRef(({ className, size: sizeProp, selectedKey, onSelectedKeyChange, onSelectedKeysChange, 'data-testid': dataTestId, ...props }, ref) => {
|
|
56
|
+
const TableRoot = React.forwardRef(({ className, style, children, mobileLayout = 'cards', desktopLayout = 'table', size: sizeProp, selectedKey, selectedKeys, defaultSelectedKeys, onSelectionChange, onSelectedKeyChange, onSelectedKeysChange, onSortChange, defaultSortDescriptor, 'data-testid': dataTestId, ...props }, ref) => {
|
|
38
57
|
// Re-providing the context would otherwise reset a card-level `size` back to `md`.
|
|
39
|
-
const inherited = React.useContext(TableContext);
|
|
58
|
+
const inherited = React.useContext(Table_context.TableContext);
|
|
59
|
+
const { setLayout } = React.useContext(Table_context.TableCardLayoutContext);
|
|
40
60
|
const size = sizeProp ?? inherited.size;
|
|
41
61
|
const rootTestId = testIdUtils.useResolvedTestId({ testId: dataTestId, segment: 'table', rootName: 'table' });
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
62
|
+
const registry = useSelectableRowRegistry.useSelectableRowRegistry();
|
|
63
|
+
// Held here, above the layout switch: the table and the card list are different trees, and crossing `md` remounts the rows.
|
|
64
|
+
const selection = useTableSelection.useTableSelection({
|
|
65
|
+
selectedKey,
|
|
66
|
+
selectedKeys,
|
|
67
|
+
defaultSelectedKeys,
|
|
68
|
+
disabledKeys: props.disabledKeys,
|
|
69
|
+
rowIds: registry.rowIds,
|
|
70
|
+
onSelectionChange,
|
|
71
|
+
onSelectedKeyChange,
|
|
72
|
+
onSelectedKeysChange,
|
|
73
|
+
});
|
|
74
|
+
const placeholders = usePlaceholderRows.usePlaceholderRows(props.onRowAction);
|
|
75
|
+
const isAtLeastMd = useIsAtLeastMd.useIsAtLeastMd();
|
|
76
|
+
// A `Virtualizer` hands its table layout to any collection inside it, and that layout cannot place cards.
|
|
77
|
+
const { isVirtualized } = React.useContext(reactAriaComponents.CollectionRendererContext);
|
|
78
|
+
const layout = tableCard_utils.tableLayoutOf(isAtLeastMd, mobileLayout, desktopLayout, isVirtualized);
|
|
79
|
+
// Before paint, so a `TableCard.Root` around cards never shows a frame of its surface.
|
|
80
|
+
React.useLayoutEffect(() => {
|
|
81
|
+
setLayout?.(layout);
|
|
82
|
+
return () => setLayout?.('table');
|
|
83
|
+
}, [layout, setLayout]);
|
|
84
|
+
// react-aria only toggles a sorted column; the press that would toggle it back to its first direction clears it instead.
|
|
85
|
+
const firstSortDirection = useFirstSortDirection.useFirstSortDirection(props.sortDescriptor, defaultSortDescriptor);
|
|
86
|
+
const handleSortChange = onSortChange &&
|
|
87
|
+
((next) => onSortChange(tableSort_utils.sortStepOf(props.sortDescriptor, next, firstSortDirection) === 'clear' ? defaultSortDescriptor : next));
|
|
49
88
|
// A row cannot see the table-level `onRowAction`, so the context carries whether one exists.
|
|
50
|
-
|
|
89
|
+
const context = {
|
|
90
|
+
size,
|
|
91
|
+
layout,
|
|
92
|
+
testIdPrefix: rootTestId,
|
|
93
|
+
hasRowAction: props.onRowAction !== undefined,
|
|
94
|
+
registerRow: registry.register,
|
|
95
|
+
registerPlaceholder: placeholders.register,
|
|
96
|
+
};
|
|
97
|
+
if (layout === 'cards') {
|
|
98
|
+
const { selectionMode = 'none', selectionBehavior = 'toggle' } = props;
|
|
99
|
+
const header = tableChildren_utils.findElement(children, TableHeader);
|
|
100
|
+
// Cards have no column headers to sort from, and dragging is untested on them; react-aria filters the rest as it does for the table.
|
|
101
|
+
const { dragAndDropHooks, sortDescriptor, onRowAction, render: _tableRender, ...sharedProps } = props;
|
|
102
|
+
const listProps = {
|
|
103
|
+
...tableCard_utils.cardListPropsOf(sharedProps),
|
|
104
|
+
selectedKeys: selection.selectedKeys,
|
|
105
|
+
onSelectionChange: selection.onSelectionChange,
|
|
106
|
+
onAction: placeholders.onAction,
|
|
107
|
+
// From `md` the cards sit in columns, so the arrow keys move across them as well as down.
|
|
108
|
+
layout: isAtLeastMd ? 'grid' : 'stack',
|
|
109
|
+
'data-testid': testIdUtils.joinTestId(rootTestId, 'list'),
|
|
110
|
+
};
|
|
111
|
+
const cardContext = {
|
|
112
|
+
...context,
|
|
113
|
+
columns: header ? tableChildren_utils.columnsOfHeader(header.props.children, header.props.columns) : [],
|
|
114
|
+
listProps,
|
|
115
|
+
};
|
|
116
|
+
return (jsxRuntime.jsx(Table_context.TableCardLayoutContext.Provider, { value: DETACHED_CARD_LAYOUT, children: jsxRuntime.jsx(Table_context.TableRowCardContext.Provider, { value: null, children: jsxRuntime.jsx(Table_context.TableRowCardSurfaceContext.Provider, { value: false, children: jsxRuntime.jsx(Table_context.TableRowCardHeaderCheckboxContext.Provider, { value: false, children: jsxRuntime.jsx(Table_context.TableContext.Provider, { value: cardContext, children: jsxRuntime.jsxs("div", { ref: ref, "data-testid": rootTestId, className: "@container flex flex-col gap-4", children: [selectionMode === 'multiple' && selectionBehavior === 'toggle' && (jsxRuntime.jsx(TableCardsSelectAll.TableCardsSelectAll, { registry: registry, selectedKeys: selection.selectedKeys, onSelectionChange: selection.onSelectionChange, disabledKeys: props.disabledKeys, disallowEmptySelection: props.disallowEmptySelection, "data-testid": testIdUtils.joinTestId(rootTestId, 'select-all') })), children] }) }) }) }) }) }));
|
|
117
|
+
}
|
|
118
|
+
return (jsxRuntime.jsx(Table_context.TableCardLayoutContext.Provider, { value: DETACHED_CARD_LAYOUT, children: jsxRuntime.jsx(Table_context.TableContext.Provider, { value: context, children: jsxRuntime.jsx("div", { className: "overflow-x-auto", children: jsxRuntime.jsx(reactAriaComponents.Table, { "data-testid": rootTestId, className: (state) => cx.cx('w-full overflow-x-hidden', typeof className === 'function' ? className(state) : className), style: style, ...props, ref: ref, selectedKeys: selection.selectedKeys, onSelectionChange: selection.onSelectionChange, onSortChange: handleSortChange, onRowAction: placeholders.onAction, children: children }) }) }) }));
|
|
51
119
|
});
|
|
52
120
|
TableRoot.displayName = 'Table';
|
|
53
|
-
const
|
|
54
|
-
const context = React.useContext(TableContext);
|
|
121
|
+
const TableGridHeaderBase = ({ columns, children, bordered = true, className, size: sizeProp, ...props }, ref) => {
|
|
122
|
+
const context = React.useContext(Table_context.TableContext);
|
|
55
123
|
const { selectionBehavior, selectionMode } = reactAriaComponents.useTableOptions();
|
|
56
124
|
const size = sizeProp ?? context.size;
|
|
57
125
|
return (jsxRuntime.jsxs(reactAriaComponents.TableHeader, { ...props, ref: ref, className: (state) => cx.cx('relative bg-secondary', size === 'sm' ? 'h-9' : 'h-11',
|
|
@@ -60,61 +128,124 @@ const TableHeaderBase = ({ columns, children, bordered = true, className, size:
|
|
|
60
128
|
'[&>tr>th]:after:pointer-events-none [&>tr>th]:after:absolute [&>tr>th]:after:inset-x-0 [&>tr>th]:after:bottom-0 [&>tr>th]:after:h-px [&>tr>th]:after:bg-border-secondary [&>tr>th]:focus-visible:after:bg-transparent', typeof className === 'function' ? className(state) : className), children: [selectionBehavior === 'toggle' && (jsxRuntime.jsx(reactAriaComponents.Column, { className: cx.cx('relative py-2 pr-0 pl-4', size === 'sm' ? 'w-9 md:pl-5' : 'w-11 md:pl-6'), children: selectionMode === 'multiple' && (jsxRuntime.jsx("div", { className: "flex items-start", children: jsxRuntime.jsx(Checkboxes.Checkbox, { slot: "selection", size: "md" }) })) })), jsxRuntime.jsx(reactAriaComponents.Collection, { items: columns, children: children })] }));
|
|
61
129
|
};
|
|
62
130
|
// `forwardRef` drops the type parameter that ties `columns` to the item a render function gets; the cast restores it.
|
|
131
|
+
const TableGridHeader = React.forwardRef(TableGridHeaderBase);
|
|
132
|
+
// Cards have no header row: the fallback card reads the columns from this element's props, and no sort control renders.
|
|
133
|
+
const TableHeaderBase = (props, ref) => {
|
|
134
|
+
const { layout } = React.useContext(Table_context.TableContext);
|
|
135
|
+
return layout === 'cards' ? null : jsxRuntime.jsx(TableGridHeader, { ...props, ref: ref });
|
|
136
|
+
};
|
|
137
|
+
/** The row of column headers: one `Table.Head` per column, and select all with multiple selection; nothing in the cards layout. */
|
|
63
138
|
const TableHeader = React.forwardRef(TableHeaderBase);
|
|
64
139
|
TableHeader.displayName = 'TableHeader';
|
|
140
|
+
/** One column header, with an optional `label`, help `tooltip` and sort arrow; its `id` keys the column. */
|
|
65
141
|
const TableHead = ({ className, tooltip, label, children, 'data-testid': dataTestId, ...props }) => {
|
|
66
142
|
const { selectionBehavior } = reactAriaComponents.useTableOptions();
|
|
67
|
-
const { testIdPrefix } = React.useContext(TableContext);
|
|
143
|
+
const { testIdPrefix } = React.useContext(Table_context.TableContext);
|
|
68
144
|
const colTestId = dataTestId ?? (testIdPrefix && props.id !== undefined ? testIdUtils.joinTestId(testIdPrefix, `col-${testIdUtils.slugifyTestId(String(props.id))}`) : undefined);
|
|
69
|
-
return (jsxRuntime.jsx(reactAriaComponents.Column, { ...props, "data-testid": colTestId, className: (state) => cx.cx('relative p-0 px-6 py-2 outline-hidden focus-visible:z-1 focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-bg-primary focus-visible:ring-inset', selectionBehavior === 'toggle' && 'nth-2:pl-3', state.allowsSorting && 'cursor-pointer', typeof className === 'function' ? className(state) : className), children: (state) => (jsxRuntime.jsxs(reactAriaComponents.Group, { className: "flex items-center gap-1", children: [jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [label && jsxRuntime.jsx("span", { className: "text-xs font-semibold whitespace-nowrap text-quaternary", children: label }), typeof children === 'function' ? children(state) : children] }), tooltip && (jsxRuntime.jsx(Tooltip.Tooltip, { title: tooltip, placement: "top", children: jsxRuntime.jsx(Tooltip.TooltipTrigger, { "aria-label": tooltip, className: "cursor-pointer text-fg-quaternary transition duration-100 ease-linear hover:text-fg-quaternary_hover focus:text-fg-quaternary_hover", children: jsxRuntime.jsx(uiIcons.HelpCircle, { className: "size-4" }) }) })), state.allowsSorting && jsxRuntime.jsx(TableSortIcon.TableSortIcon, { sortDirection: state.sortDirection })] })) }));
|
|
145
|
+
return (jsxRuntime.jsx(reactAriaComponents.Column, { ...props, "data-testid": colTestId, className: (state) => cx.cx('relative p-0 px-6 py-2 outline-hidden focus-visible:z-1 focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-bg-primary focus-visible:ring-inset', selectionBehavior === 'toggle' && 'nth-2:pl-3', state.allowsSorting && 'cursor-pointer', typeof className === 'function' ? className(state) : className), children: (state) => (jsxRuntime.jsxs(reactAriaComponents.Group, { className: "flex items-center gap-1", children: [jsxRuntime.jsx(TableFocusGuard.TableFocusGuard, {}), jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [label && jsxRuntime.jsx("span", { className: "text-xs font-semibold whitespace-nowrap text-quaternary", children: label }), typeof children === 'function' ? children(state) : children] }), tooltip && (jsxRuntime.jsx(Tooltip.Tooltip, { title: tooltip, placement: "top", children: jsxRuntime.jsx(Tooltip.TooltipTrigger, { "aria-label": tooltip, className: "cursor-pointer text-fg-quaternary transition duration-100 ease-linear hover:text-fg-quaternary_hover focus:text-fg-quaternary_hover", children: jsxRuntime.jsx(uiIcons.HelpCircle, { className: "size-4" }) }) })), state.allowsSorting && jsxRuntime.jsx(TableSortIcon.TableSortIcon, { sortDirection: state.sortDirection })] })) }));
|
|
70
146
|
};
|
|
71
147
|
TableHead.displayName = 'TableHead';
|
|
72
|
-
// The
|
|
73
|
-
// `_alt` tint is brand-50 in light and the secondary surface in dark, where `bg-brand-primary` is a solid brand-500.
|
|
148
|
+
// The selected row: a brand tint (`_alt`, as `bg-brand-primary` is solid brand-500 in dark) and a 4px brand bar on its first cell.
|
|
74
149
|
const HIGHLIGHTED_ROW_CLASSNAME = "bg-brand-primary_alt hover:bg-brand-primary_alt [&>td:first-child]:before:absolute [&>td:first-child]:before:inset-y-0 [&>td:first-child]:before:left-0 [&>td:first-child]:before:w-1 [&>td:first-child]:before:bg-brand-solid [&>td:first-child]:before:content-['']";
|
|
75
|
-
const
|
|
76
|
-
const context = React.useContext(TableContext);
|
|
150
|
+
const TableGridRowBase = ({ columns, children, className, highlightSelectedRow = true, isHighlighted = false, size: sizeProp, 'data-testid': dataTestId, ...props }, ref) => {
|
|
151
|
+
const context = React.useContext(Table_context.TableContext);
|
|
77
152
|
const { selectionBehavior, selectionMode } = reactAriaComponents.useTableOptions();
|
|
78
153
|
const size = sizeProp ?? context.size;
|
|
154
|
+
const rowTestId = tableCard_utils.rowTestIdOf(context.testIdPrefix, props.id, dataTestId);
|
|
155
|
+
// Function children render their own cells, and a skeleton only counts as a direct child, so only nodes are split.
|
|
156
|
+
const rowChildren = typeof children === 'function' ? undefined : tableChildren_utils.splitRowChildren(children, columns, TableRowCard.isRowCardElement);
|
|
157
|
+
// A row carrying `Table.RowCard.Skeleton` is a placeholder here too: nothing to press, select or count in select all.
|
|
158
|
+
const isPlaceholder = rowChildren?.card?.type === TableRowCard.TableRowCardSkeleton;
|
|
79
159
|
// A click does something on the row itself: its own action or link, the table's row action, or selection by row.
|
|
80
|
-
const isInteractive = props.onAction !== undefined || props.href !== undefined || context.hasRowAction === true || selectionMode !== 'none';
|
|
81
|
-
const rowTestId = dataTestId ??
|
|
82
|
-
(context.testIdPrefix && props.id !== undefined ? testIdUtils.joinTestId(context.testIdPrefix, `row-${testIdUtils.slugifyTestId(String(props.id))}`) : undefined);
|
|
83
|
-
const { registerRow } = context;
|
|
160
|
+
const isInteractive = !isPlaceholder && (props.onAction !== undefined || props.href !== undefined || context.hasRowAction === true || selectionMode !== 'none');
|
|
84
161
|
const { id, isDisabled } = props;
|
|
85
|
-
useSelectableRowRegistry.useRegisterSelectableRow(registerRow, id, isDisabled);
|
|
86
|
-
|
|
162
|
+
useSelectableRowRegistry.useRegisterSelectableRow(context.registerRow, id, isDisabled || isPlaceholder);
|
|
163
|
+
usePlaceholderRows.useRegisterPlaceholderRow(context.registerPlaceholder, id, isPlaceholder);
|
|
164
|
+
return (jsxRuntime.jsxs(reactAriaComponents.Row, { ...props, ref: ref, isDisabled: isDisabled || isPlaceholder, onAction: isPlaceholder ? undefined : props.onAction, href: isPlaceholder ? undefined : props.href, "data-testid": rowTestId, "data-highlighted": isHighlighted || undefined, className: (state) => cx.cx('relative outline-focus-ring transition-colors after:pointer-events-none hover:bg-secondary focus-visible:outline-2 focus-visible:-outline-offset-2', size === 'sm' ? 'h-14' : 'h-18', ((highlightSelectedRow && state.isSelected) || isHighlighted) && HIGHLIGHTED_ROW_CLASSNAME, isInteractive && (state.isDisabled ? 'cursor-default' : 'cursor-pointer'),
|
|
87
165
|
// Row border—using an "after" pseudo-element to avoid the border taking up space.
|
|
88
|
-
'[&>td]:after:absolute [&>td]:after:inset-x-0 [&>td]:after:bottom-0 [&>td]:after:h-px [&>td]:after:w-full [&>td]:after:bg-border-secondary last:[&>td]:after:hidden [&>td]:focus-visible:after:opacity-0 focus-visible:[&>td]:after:opacity-0', typeof className === 'function' ? className(state) : className), children: [selectionBehavior === 'toggle' && (jsxRuntime.jsx(reactAriaComponents.Cell, { className: cx.cx('relative py-2 pr-0 pl-4', size === 'sm' ? 'md:pl-5' : 'md:pl-6'), children: jsxRuntime.jsx("div", { className: "flex items-end", children: jsxRuntime.jsx(Checkboxes.Checkbox, { slot: "selection", size: "md", "data-testid": rowTestId ? testIdUtils.joinTestId(rowTestId, 'selection') : undefined }) }) })), jsxRuntime.jsx(reactAriaComponents.Collection, { items: columns, children: children })] }));
|
|
166
|
+
'[&>td]:after:absolute [&>td]:after:inset-x-0 [&>td]:after:bottom-0 [&>td]:after:h-px [&>td]:after:w-full [&>td]:after:bg-border-secondary last:[&>td]:after:hidden [&>td]:focus-visible:after:opacity-0 focus-visible:[&>td]:after:opacity-0', typeof className === 'function' ? className(state) : className), children: [selectionBehavior === 'toggle' && (jsxRuntime.jsx(reactAriaComponents.Cell, { className: cx.cx('relative py-2 pr-0 pl-4', size === 'sm' ? 'md:pl-5' : 'md:pl-6'), children: jsxRuntime.jsx("div", { className: "flex items-end", children: jsxRuntime.jsx(Checkboxes.Checkbox, { slot: "selection", size: "md", "data-testid": rowTestId ? testIdUtils.joinTestId(rowTestId, 'selection') : undefined }) }) })), jsxRuntime.jsx(reactAriaComponents.Collection, { items: columns, children: rowChildren ? rowChildren.cells : children })] }));
|
|
89
167
|
};
|
|
90
168
|
// As for `TableHeader`: the cast restores the type parameter `forwardRef` drops.
|
|
169
|
+
const TableGridRow = React.forwardRef(TableGridRowBase);
|
|
170
|
+
// The row reads its layout from the table, which asks the viewport once for every row.
|
|
171
|
+
const TableRowBase = (props, ref) => {
|
|
172
|
+
const { layout } = React.useContext(Table_context.TableContext);
|
|
173
|
+
return layout === 'cards' ? jsxRuntime.jsx(TableCardRow.TableCardRow, { ...props, ref: ref }) : jsxRuntime.jsx(TableGridRow, { ...props, ref: ref });
|
|
174
|
+
};
|
|
175
|
+
/** One row of cells, or its `Table.RowCard` in the cards layout; give it an `id` for selection and its test id. */
|
|
91
176
|
const TableRow = React.forwardRef(TableRowBase);
|
|
92
177
|
TableRow.displayName = 'TableRow';
|
|
93
|
-
const
|
|
94
|
-
const context = React.useContext(TableContext);
|
|
178
|
+
const TableGridCell = React.forwardRef(({ className, children, size: sizeProp, ...props }, ref) => {
|
|
179
|
+
const context = React.useContext(Table_context.TableContext);
|
|
95
180
|
const { selectionBehavior } = reactAriaComponents.useTableOptions();
|
|
96
181
|
const size = sizeProp ?? context.size;
|
|
97
182
|
return (jsxRuntime.jsx(reactAriaComponents.Cell, { ...props, ref: ref, className: (state) => cx.cx('relative text-sm text-tertiary outline-focus-ring focus-visible:z-1 focus-visible:outline-2 focus-visible:-outline-offset-2', size === 'sm' && 'px-5 py-3', size === 'md' && 'px-6 py-4', selectionBehavior === 'toggle' && 'nth-2:pl-3', typeof className === 'function' ? className(state) : className), children: children }));
|
|
98
183
|
});
|
|
184
|
+
// Every state off: a card is not a grid of cells, so nothing in it is a focused, hovered or selected cell.
|
|
185
|
+
const CARD_CELL_STATE = {
|
|
186
|
+
isPressed: false,
|
|
187
|
+
isFocused: false,
|
|
188
|
+
isFocusVisible: false,
|
|
189
|
+
isHovered: false,
|
|
190
|
+
isSelected: false,
|
|
191
|
+
isDisabled: false,
|
|
192
|
+
isFocusVisibleWithinRow: false,
|
|
193
|
+
isTreeColumn: false,
|
|
194
|
+
isExpanded: false,
|
|
195
|
+
hasChildItems: false,
|
|
196
|
+
level: 1,
|
|
197
|
+
defaultChildren: undefined,
|
|
198
|
+
};
|
|
199
|
+
// In a card a cell is its content: its padding, `className` and span are written for the table.
|
|
200
|
+
const TableCardCell = ({ children, className, style, colSpan, size, textValue, id, render: _tableCellRender, ...props }) => {
|
|
201
|
+
const content = typeof children === 'function' ? children(CARD_CELL_STATE) : children;
|
|
202
|
+
// What react-aria puts on the table's cell, such as `onClick` and `data-testid`; a click bubbles on to the card's row as to the table's.
|
|
203
|
+
const cellProps = tableCard_utils.cardCellPropsOf(props);
|
|
204
|
+
if (Object.keys(cellProps).length === 0)
|
|
205
|
+
return content;
|
|
206
|
+
return (jsxRuntime.jsx("div", { className: "contents", ...cellProps, children: content }));
|
|
207
|
+
};
|
|
208
|
+
/** One cell of a row; in the cards layout only the fallback card shows it: its content, with its `data-*` and handlers. */
|
|
209
|
+
const TableCell = React.forwardRef((props, ref) => {
|
|
210
|
+
const { layout } = React.useContext(Table_context.TableContext);
|
|
211
|
+
return layout === 'cards' ? jsxRuntime.jsx(TableCardCell, { ...props }) : jsxRuntime.jsx(TableGridCell, { ...props, ref: ref });
|
|
212
|
+
});
|
|
99
213
|
TableCell.displayName = 'TableCell';
|
|
214
|
+
const TableBodyBase = (props, ref) => {
|
|
215
|
+
const { layout } = React.useContext(Table_context.TableContext);
|
|
216
|
+
return layout === 'cards' ? (jsxRuntime.jsx(TableCardList.TableCardList, { ...props, ref: ref })) : (jsxRuntime.jsx(reactAriaComponents.TableBody, { ...props, ref: ref }));
|
|
217
|
+
};
|
|
218
|
+
// As for `TableHeader`: the cast restores the type parameter `forwardRef` drops.
|
|
219
|
+
/** The table's rows, with `renderEmptyState` for when there are none; in the cards layout, the one `grid` that holds every card. */
|
|
220
|
+
const TableBody = React.forwardRef(TableBodyBase);
|
|
221
|
+
TableBody.displayName = 'TableBody';
|
|
100
222
|
const TableCard = {
|
|
101
223
|
Root: TableCardRoot,
|
|
102
224
|
Header: TableCardHeader,
|
|
103
225
|
};
|
|
226
|
+
/** The card a `Table.Row` shows in the cards layout, built from its `Header`, `Content` and `Footer`, or its `Skeleton` while loading. */
|
|
227
|
+
const TableRowCardCompound = TableRowCard.TableRowCard;
|
|
228
|
+
TableRowCardCompound.Header = TableRowCard.TableRowCardHeader;
|
|
229
|
+
TableRowCardCompound.Content = TableRowCard.TableRowCardContent;
|
|
230
|
+
TableRowCardCompound.Footer = TableRowCard.TableRowCardFooter;
|
|
231
|
+
TableRowCardCompound.Skeleton = TableRowCard.TableRowCardSkeleton;
|
|
104
232
|
/**
|
|
105
|
-
* Displays structured data in rows and columns with selection, sorting and keyboard
|
|
106
|
-
*
|
|
107
|
-
*
|
|
233
|
+
* Displays structured data in rows and columns with selection, sorting and keyboard navigation, or as one card per row:
|
|
234
|
+
* below `md` unless `mobileLayout` opts out, and from `md` when `desktopLayout` asks. Wrap it in `TableCard.Root`; on a page the title comes from
|
|
235
|
+
* `PageHeader` and search or filters from a `FilterBar` above the card.
|
|
108
236
|
*
|
|
109
|
-
* @summary data table with selection, sorting and
|
|
237
|
+
* @summary data table with selection, sorting and cards on mobile
|
|
110
238
|
*/
|
|
111
239
|
const Table = TableRoot;
|
|
112
|
-
Table.Body =
|
|
240
|
+
Table.Body = TableBody;
|
|
241
|
+
Table.RowCard = TableRowCardCompound;
|
|
113
242
|
Table.Cell = TableCell;
|
|
114
243
|
Table.Head = TableHead;
|
|
115
244
|
Table.Header = TableHeader;
|
|
116
245
|
Table.Row = TableRow;
|
|
117
246
|
|
|
247
|
+
exports.TableLayoutToggle = TableLayoutToggle.TableLayoutToggle;
|
|
248
|
+
exports.TableSortMenu = TableSortMenu.TableSortMenu;
|
|
118
249
|
exports.Table = Table;
|
|
119
250
|
exports.TableCard = TableCard;
|
|
120
251
|
exports.TableRowActionsDropdown = TableRowActionsDropdown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/components/organisms/Table/index.tsx"],"sourcesContent":[null],"names":["_jsxs","Dropdown","_jsx","Edit01","Copy01","Trash01","createContext","cx","useContext","isValidElement","Badge","forwardRef","useResolvedTestId","useSelectableRowRegistry","reportSelectionChange","AriaTable","selectionOfKey","hasSelectionListener","useTableOptions","AriaTableHeader","AriaColumn","Checkbox","AriaCollection","joinTestId","slugifyTestId","AriaGroup","Tooltip","TooltipTrigger","HelpCircle","TableSortIcon","useRegisterSelectableRow","AriaRow","AriaCell","AriaTableBody"],"mappings":";;;;;;;;;;;;;;;;AA4CA;AACO,MAAM,uBAAuB,GAAG,OACrCA,eAAA,CAACC,iBAAQ,CAAC,IAAI,eACZC,cAAA,CAACD,iBAAQ,CAAC,UAAU,EA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,MAAM,GAAG,WAAW;AAC1B,KAAK,CAAC,GAAG,GAAG,QAAQ;;;;"}
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/components/organisms/Table/index.tsx"],"sourcesContent":[null],"names":["_jsxs","Dropdown","_jsx","Edit01","Copy01","Trash01","useState","TableCardLayoutContext","TableContext","cx","useContext","isValidElement","Badge","forwardRef","useResolvedTestId","useSelectableRowRegistry","useTableSelection","usePlaceholderRows","useIsAtLeastMd","AriaCollectionRendererContext","tableLayoutOf","useLayoutEffect","useFirstSortDirection","sortStepOf","findElement","cardListPropsOf","joinTestId","columnsOfHeader","TableRowCardContext","TableRowCardSurfaceContext","TableRowCardHeaderCheckboxContext","TableCardsSelectAll","AriaTable","useTableOptions","AriaTableHeader","AriaColumn","Checkbox","AriaCollection","slugifyTestId","AriaGroup","TableFocusGuard","Tooltip","TooltipTrigger","HelpCircle","TableSortIcon","rowTestIdOf","splitRowChildren","isRowCardElement","TableRowCardSkeleton","useRegisterSelectableRow","useRegisterPlaceholderRow","AriaRow","AriaCell","TableCardRow","cardCellPropsOf","TableCardList","AriaTableBody","TableRowCard","TableRowCardHeader","TableRowCardContent","TableRowCardFooter"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EA;AACO,MAAM,uBAAuB,GAAG,OACrCA,eAAA,CAACC,iBAAQ,CAAC,IAAI,eACZC,cAAA,CAACD,iBAAQ,CAAC,UAAU,EAAA,EAAC,KAAK,EAAC,UAAU,EAAA,CAAG,EAExCC,eAACD,iBAAQ,CAAC,OAAO,EAAA,EAAC,SAAS,EAAC,OAAO,EAAA,QAAA,EACjCD,gBAACC,iBAAQ,CAAC,IAAI,EAAA,EAAA,QAAA,EAAA,CACZC,cAAA,CAACD,iBAAQ,CAAC,IAAI,IAAC,IAAI,EAAEE,cAAM,EAAA,QAAA,EACzBD,yBAAM,SAAS,EAAC,MAAM,EAAA,QAAA,EAAA,MAAA,EAAA,CAAY,EAAA,CACpB,EAChBA,cAA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
|
-
import type { CellProps as AriaCellProps, ColumnProps as AriaColumnProps,
|
|
3
|
-
import {
|
|
2
|
+
import type { CellProps as AriaCellProps, ColumnProps as AriaColumnProps, TableHeaderProps as AriaTableHeaderProps, TableProps as AriaTableProps, Key, SortDescriptor } from 'react-aria-components';
|
|
3
|
+
import { TableLayoutToggle } from './components/TableLayoutToggle';
|
|
4
|
+
import { TableRowCard, TableRowCardContent, TableRowCardFooter, TableRowCardHeader, TableRowCardSkeleton } from './components/TableRowCard';
|
|
5
|
+
import { TableSortMenu } from './components/TableSortMenu';
|
|
6
|
+
import type { TableBodyProps, TableLayout, TableRowProps } from './table.types';
|
|
4
7
|
/** Row actions menu behind a dots button with fixed Edit, Copy link and Delete items, for use in a table's last column. */
|
|
5
8
|
export declare const TableRowActionsDropdown: () => import("react").JSX.Element;
|
|
6
9
|
interface TableCardHeaderProps {
|
|
@@ -15,7 +18,7 @@ interface TableCardHeaderProps {
|
|
|
15
18
|
/** The class name of the table card header. */
|
|
16
19
|
className?: string;
|
|
17
20
|
}
|
|
18
|
-
interface TableRootProps extends AriaTableProps, Omit<ComponentPropsWithoutRef<'table'>, 'className' | 'slot' | 'style'> {
|
|
21
|
+
interface TableRootProps extends Omit<AriaTableProps, 'onSortChange'>, Omit<ComponentPropsWithoutRef<'table'>, 'className' | 'slot' | 'style'> {
|
|
19
22
|
/** Row height and cell padding for every header, row and cell, unless one sets its own `size`. Inherits from `TableCard.Root`; `md` otherwise. */
|
|
20
23
|
size?: 'sm' | 'md';
|
|
21
24
|
/** With `selectionMode="single"`: the selected row's id, or `null` for none. Use instead of `selectedKeys`, not with it. */
|
|
@@ -24,44 +27,61 @@ interface TableRootProps extends AriaTableProps, Omit<ComponentPropsWithoutRef<'
|
|
|
24
27
|
onSelectedKeyChange?: (key: Key | null) => void;
|
|
25
28
|
/** With `selectionMode="multiple"`: called with the selected rows' ids; "select all" reports every selectable row, never `'all'`. */
|
|
26
29
|
onSelectedKeysChange?: (keys: Key[]) => void;
|
|
30
|
+
/** What renders below `md`: one card per row, or the table, which then scrolls sideways inside its card. */
|
|
31
|
+
mobileLayout?: TableLayout;
|
|
32
|
+
/** What renders from `md` up: the table, or its cards laid out in columns. Let users choose with `TableLayoutToggle`. */
|
|
33
|
+
desktopLayout?: TableLayout;
|
|
34
|
+
/**
|
|
35
|
+
* Called with the next sort when a sortable column is pressed: its first direction, the other, then cleared, which reports
|
|
36
|
+
* `defaultSortDescriptor` (`undefined` without one). The first direction is whatever lands on the column as it becomes
|
|
37
|
+
* sorted, so a page can make a column descending first. An explicit `sort(direction)` on the sorted column, as from a
|
|
38
|
+
* column menu, reaches the table as a press does: asking for the other direction on its second clears it, and asking for
|
|
39
|
+
* the direction it already shows is a change.
|
|
40
|
+
*/
|
|
41
|
+
onSortChange?: (descriptor: SortDescriptor | undefined) => void;
|
|
42
|
+
/**
|
|
43
|
+
* What the press that clears a sort reports: the page's resting sort. The table never applies it, so start your
|
|
44
|
+
* `sortDescriptor` from it. A column back at it starts its cycle from it, so one resting descending goes descending,
|
|
45
|
+
* ascending, then back to rest. Omitted, a clear reports `undefined`.
|
|
46
|
+
*/
|
|
47
|
+
defaultSortDescriptor?: SortDescriptor;
|
|
27
48
|
/**
|
|
28
49
|
* Overrides the root `data-testid`. Defaults to `fd-table`. Rows and columns derive
|
|
29
|
-
* structural testids from this prefix (e.g. `<root>--row-42`, `<root>--col-name`).
|
|
50
|
+
* structural testids from this prefix (e.g. `<root>--row-42`, `<root>--col-name`). In the cards layout the root id
|
|
51
|
+
* sits on the wrapper around select all and the card list, which derives `<root>--list`.
|
|
30
52
|
*/
|
|
31
53
|
'data-testid'?: string;
|
|
32
54
|
}
|
|
33
55
|
declare const TableRoot: import("react").ForwardRefExoticComponent<TableRootProps & RefAttributes<HTMLDivElement | HTMLTableElement>>;
|
|
34
56
|
interface TableHeaderProps<T extends object> extends AriaTableHeaderProps<T>, Omit<ComponentPropsWithoutRef<'thead'>, 'children' | 'className' | 'slot' | 'style'> {
|
|
57
|
+
/** Draws a divider under the header row. */
|
|
35
58
|
bordered?: boolean;
|
|
59
|
+
/** Header row height; inherits from the table unless set. */
|
|
36
60
|
size?: 'sm' | 'md';
|
|
37
61
|
}
|
|
62
|
+
/** The row of column headers: one `Table.Head` per column, and select all with multiple selection; nothing in the cards layout. */
|
|
38
63
|
declare const TableHeader: (<T extends object>(props: TableHeaderProps<T> & RefAttributes<HTMLTableSectionElement | HTMLDivElement>) => ReactElement) & {
|
|
39
64
|
displayName?: string;
|
|
40
65
|
};
|
|
41
66
|
interface TableHeadProps extends AriaColumnProps, Omit<ThHTMLAttributes<HTMLTableCellElement>, 'children' | 'className' | 'style' | 'id'> {
|
|
67
|
+
/** The column's visible name; on the fallback card it labels the column's line. */
|
|
42
68
|
label?: string;
|
|
69
|
+
/** Help text behind an icon beside the label, shown on hover and keyboard focus; it also names the icon. */
|
|
43
70
|
tooltip?: string;
|
|
44
71
|
/** Overrides the derived `data-testid` for the column (defaults to `<root>--col-<id>`). */
|
|
45
72
|
'data-testid'?: string;
|
|
46
73
|
}
|
|
74
|
+
/** One column header, with an optional `label`, help `tooltip` and sort arrow; its `id` keys the column. */
|
|
47
75
|
declare const TableHead: {
|
|
48
76
|
({ className, tooltip, label, children, "data-testid": dataTestId, ...props }: TableHeadProps): import("react").JSX.Element;
|
|
49
77
|
displayName: string;
|
|
50
78
|
};
|
|
51
|
-
|
|
52
|
-
/** Draws the selected row with the brand tint and left bar; off, a selected row looks like any other. */
|
|
53
|
-
highlightSelectedRow?: boolean;
|
|
54
|
-
/** Draws the row as if selected without selecting it, for the row whose detail is open beside the table. */
|
|
55
|
-
isHighlighted?: boolean;
|
|
56
|
-
/** Row height and cell padding; inherits from the table unless set. */
|
|
57
|
-
size?: 'sm' | 'md';
|
|
58
|
-
/** Overrides the derived `data-testid` for the row (defaults to `<root>--row-<id>`). */
|
|
59
|
-
'data-testid'?: string;
|
|
60
|
-
}
|
|
79
|
+
/** One row of cells, or its `Table.RowCard` in the cards layout; give it an `id` for selection and its test id. */
|
|
61
80
|
declare const TableRow: (<T extends object>(props: TableRowProps<T> & RefAttributes<HTMLTableRowElement | HTMLDivElement>) => ReactElement) & {
|
|
62
81
|
displayName?: string;
|
|
63
82
|
};
|
|
64
83
|
interface TableCellProps extends AriaCellProps, Omit<TdHTMLAttributes<HTMLTableCellElement>, 'children' | 'className' | 'style' | 'id'> {
|
|
84
|
+
/** Cell padding; inherits from the table unless set. */
|
|
65
85
|
size?: 'sm' | 'md';
|
|
66
86
|
/**
|
|
67
87
|
* Optional `data-testid` for the cell. Cells are intentionally not defaulted (to avoid
|
|
@@ -69,26 +89,43 @@ interface TableCellProps extends AriaCellProps, Omit<TdHTMLAttributes<HTMLTableC
|
|
|
69
89
|
*/
|
|
70
90
|
'data-testid'?: string;
|
|
71
91
|
}
|
|
92
|
+
/** One cell of a row; in the cards layout only the fallback card shows it: its content, with its `data-*` and handlers. */
|
|
72
93
|
declare const TableCell: import("react").ForwardRefExoticComponent<TableCellProps & RefAttributes<HTMLDivElement | HTMLTableCellElement>>;
|
|
94
|
+
/** The table's rows, with `renderEmptyState` for when there are none; in the cards layout, the one `grid` that holds every card. */
|
|
95
|
+
declare const TableBody: (<T>(props: TableBodyProps<T> & RefAttributes<HTMLTableSectionElement | HTMLDivElement>) => ReactElement) & {
|
|
96
|
+
displayName?: string;
|
|
97
|
+
};
|
|
73
98
|
declare const TableCard: {
|
|
74
99
|
Root: ({ children, className, size, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
75
100
|
size?: "sm" | "md";
|
|
76
101
|
}) => import("react").JSX.Element;
|
|
77
102
|
Header: ({ title, badge, description, contentTrailing, className }: TableCardHeaderProps) => import("react").JSX.Element;
|
|
78
103
|
};
|
|
104
|
+
/** The card a `Table.Row` shows in the cards layout, built from its `Header`, `Content` and `Footer`, or its `Skeleton` while loading. */
|
|
105
|
+
declare const TableRowCardCompound: typeof TableRowCard & {
|
|
106
|
+
Header: typeof TableRowCardHeader;
|
|
107
|
+
Content: typeof TableRowCardContent;
|
|
108
|
+
Footer: typeof TableRowCardFooter;
|
|
109
|
+
Skeleton: typeof TableRowCardSkeleton;
|
|
110
|
+
};
|
|
79
111
|
/**
|
|
80
|
-
* Displays structured data in rows and columns with selection, sorting and keyboard
|
|
81
|
-
*
|
|
82
|
-
*
|
|
112
|
+
* Displays structured data in rows and columns with selection, sorting and keyboard navigation, or as one card per row:
|
|
113
|
+
* below `md` unless `mobileLayout` opts out, and from `md` when `desktopLayout` asks. Wrap it in `TableCard.Root`; on a page the title comes from
|
|
114
|
+
* `PageHeader` and search or filters from a `FilterBar` above the card.
|
|
83
115
|
*
|
|
84
|
-
* @summary data table with selection, sorting and
|
|
116
|
+
* @summary data table with selection, sorting and cards on mobile
|
|
85
117
|
*/
|
|
86
118
|
declare const Table: typeof TableRoot & {
|
|
87
|
-
Body: typeof
|
|
119
|
+
Body: typeof TableBody;
|
|
120
|
+
RowCard: typeof TableRowCardCompound;
|
|
88
121
|
Cell: typeof TableCell;
|
|
89
122
|
Head: typeof TableHead;
|
|
90
123
|
Header: typeof TableHeader;
|
|
91
124
|
Row: typeof TableRow;
|
|
92
125
|
};
|
|
93
|
-
export {
|
|
126
|
+
export type { TableLayoutToggleProps } from './components/TableLayoutToggle';
|
|
127
|
+
export type { TableRowCardContentProps, TableRowCardFooterProps, TableRowCardHeaderProps, TableRowCardSkeletonProps, } from './components/TableRowCard';
|
|
128
|
+
export type { TableSortMenuProps } from './components/TableSortMenu';
|
|
129
|
+
export type { TableLayout } from './table.types';
|
|
130
|
+
export { Table, TableCard, TableLayoutToggle, TableSortMenu };
|
|
94
131
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Table/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,wBAAwB,EAExB,cAAc,EACd,YAAY,EACZ,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","source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