@flipdish/ui-library 0.70.0 → 0.71.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 +1 -1
- package/dist/components/__internal__/controlFill/controlFill.context.cjs +13 -0
- package/dist/components/__internal__/controlFill/controlFill.context.cjs.map +1 -0
- package/dist/components/__internal__/controlFill/controlFill.context.d.ts +7 -0
- package/dist/components/__internal__/controlFill/controlFill.context.d.ts.map +1 -0
- package/dist/components/__internal__/controlFill/controlFill.context.js +11 -0
- package/dist/components/__internal__/controlFill/controlFill.context.js.map +1 -0
- package/dist/components/__internal__/focusHandOff/focusHandOff.context.cjs +13 -0
- package/dist/components/__internal__/focusHandOff/focusHandOff.context.cjs.map +1 -0
- package/dist/components/__internal__/focusHandOff/focusHandOff.context.d.ts +8 -0
- package/dist/components/__internal__/focusHandOff/focusHandOff.context.d.ts.map +1 -0
- package/dist/components/__internal__/focusHandOff/focusHandOff.context.js +11 -0
- package/dist/components/__internal__/focusHandOff/focusHandOff.context.js.map +1 -0
- package/dist/components/atoms/Buttons/IconButton/IconButton.cjs +1 -1
- package/dist/components/atoms/Buttons/IconButton/IconButton.cjs.map +1 -1
- package/dist/components/atoms/Buttons/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/atoms/Buttons/IconButton/IconButton.js +1 -1
- package/dist/components/atoms/Buttons/IconButton/IconButton.js.map +1 -1
- package/dist/components/molecules/EmptyState/index.cjs +9 -1
- 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 +11 -3
- package/dist/components/molecules/EmptyState/index.js.map +1 -1
- package/dist/components/molecules/EmptyState/utilities/emptyState.utils.cjs +13 -0
- package/dist/components/molecules/EmptyState/utilities/emptyState.utils.cjs.map +1 -1
- package/dist/components/molecules/EmptyState/utilities/emptyState.utils.d.ts +8 -0
- package/dist/components/molecules/EmptyState/utilities/emptyState.utils.d.ts.map +1 -1
- package/dist/components/molecules/EmptyState/utilities/emptyState.utils.js +13 -1
- package/dist/components/molecules/EmptyState/utilities/emptyState.utils.js.map +1 -1
- package/dist/components/molecules/Modals/Modal/Modal.cjs +6 -5
- package/dist/components/molecules/Modals/Modal/Modal.cjs.map +1 -1
- package/dist/components/molecules/Modals/Modal/Modal.d.ts.map +1 -1
- package/dist/components/molecules/Modals/Modal/Modal.js +6 -5
- package/dist/components/molecules/Modals/Modal/Modal.js.map +1 -1
- package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.cjs +1 -1
- package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.d.ts +1 -1
- package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.d.ts.map +1 -1
- package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.js +1 -1
- package/dist/components/organisms/DatePickers/DateRangePicker/DateRangePicker.cjs +4 -1
- package/dist/components/organisms/DatePickers/DateRangePicker/DateRangePicker.cjs.map +1 -1
- package/dist/components/organisms/DatePickers/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/dist/components/organisms/DatePickers/DateRangePicker/DateRangePicker.js +5 -2
- package/dist/components/organisms/DatePickers/DateRangePicker/DateRangePicker.js.map +1 -1
- package/dist/components/organisms/FilterBar/components/FilterDropdownMenu.cjs +11 -6
- package/dist/components/organisms/FilterBar/components/FilterDropdownMenu.cjs.map +1 -1
- package/dist/components/organisms/FilterBar/components/FilterDropdownMenu.d.ts +4 -2
- package/dist/components/organisms/FilterBar/components/FilterDropdownMenu.d.ts.map +1 -1
- package/dist/components/organisms/FilterBar/components/FilterDropdownMenu.js +12 -7
- package/dist/components/organisms/FilterBar/components/FilterDropdownMenu.js.map +1 -1
- package/dist/components/organisms/FilterBar/hooks/useFilterDraft.cjs +53 -0
- package/dist/components/organisms/FilterBar/hooks/useFilterDraft.cjs.map +1 -0
- package/dist/components/organisms/FilterBar/hooks/useFilterDraft.d.ts +41 -0
- package/dist/components/organisms/FilterBar/hooks/useFilterDraft.d.ts.map +1 -0
- package/dist/components/organisms/FilterBar/hooks/useFilterDraft.js +51 -0
- package/dist/components/organisms/FilterBar/hooks/useFilterDraft.js.map +1 -0
- package/dist/components/organisms/FilterBar/index.cjs +19 -7
- package/dist/components/organisms/FilterBar/index.cjs.map +1 -1
- package/dist/components/organisms/FilterBar/index.d.ts +1 -0
- package/dist/components/organisms/FilterBar/index.d.ts.map +1 -1
- package/dist/components/organisms/FilterBar/index.js +18 -7
- package/dist/components/organisms/FilterBar/index.js.map +1 -1
- package/dist/components/organisms/SlideoutMenu/index.cjs +3 -1
- package/dist/components/organisms/SlideoutMenu/index.cjs.map +1 -1
- package/dist/components/organisms/SlideoutMenu/index.d.ts.map +1 -1
- package/dist/components/organisms/SlideoutMenu/index.js +3 -1
- package/dist/components/organisms/SlideoutMenu/index.js.map +1 -1
- package/dist/components/organisms/Table/index.cjs +14 -285
- package/dist/components/organisms/Table/index.cjs.map +1 -1
- package/dist/components/organisms/Table/index.d.ts +29 -138
- package/dist/components/organisms/Table/index.d.ts.map +1 -1
- package/dist/components/organisms/Table/index.js +13 -284
- package/dist/components/organisms/Table/index.js.map +1 -1
- package/dist/components/organisms/Tables/Table/Table.cjs +305 -0
- package/dist/components/organisms/Tables/Table/Table.cjs.map +1 -0
- package/dist/components/organisms/Tables/Table/Table.d.ts +146 -0
- package/dist/components/organisms/Tables/Table/Table.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/Table.js +301 -0
- package/dist/components/organisms/Tables/Table/Table.js.map +1 -0
- package/dist/components/organisms/Tables/Table/Table.styles.cjs.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/Table.styles.d.ts +1 -1
- package/dist/components/organisms/Tables/Table/Table.styles.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/Table.styles.js.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/components/TableCardList.cjs +2 -2
- package/dist/components/organisms/Tables/Table/components/TableCardList.cjs.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/components/TableCardList.d.ts +1 -1
- package/dist/components/organisms/Tables/Table/components/TableCardList.d.ts.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/components/TableCardList.js +2 -2
- package/dist/components/organisms/Tables/Table/components/TableCardList.js.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/components/TableCardRow.cjs +8 -4
- package/dist/components/organisms/Tables/Table/components/TableCardRow.cjs.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/components/TableCardRow.d.ts +1 -1
- package/dist/components/organisms/Tables/Table/components/TableCardRow.d.ts.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/components/TableCardRow.js +9 -5
- package/dist/components/organisms/Tables/Table/components/TableCardRow.js.map +1 -0
- package/dist/components/organisms/Tables/Table/components/TableCardsSelectAll.cjs.map +1 -0
- package/dist/components/organisms/Tables/Table/components/TableCardsSelectAll.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/components/TableCardsSelectAll.js.map +1 -0
- package/dist/components/organisms/Tables/Table/components/TableEmptyState.cjs +17 -0
- package/dist/components/organisms/Tables/Table/components/TableEmptyState.cjs.map +1 -0
- package/dist/components/organisms/Tables/Table/components/TableEmptyState.d.ts +5 -0
- package/dist/components/organisms/Tables/Table/components/TableEmptyState.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/components/TableEmptyState.js +15 -0
- package/dist/components/organisms/Tables/Table/components/TableEmptyState.js.map +1 -0
- package/dist/components/organisms/Tables/Table/components/TableFallbackCard.cjs.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/components/TableFallbackCard.d.ts +1 -1
- package/dist/components/organisms/Tables/Table/components/TableFallbackCard.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/components/TableFallbackCard.js.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/components/TableRowCard.cjs +3 -3
- package/dist/components/organisms/Tables/Table/components/TableRowCard.cjs.map +1 -0
- package/dist/components/organisms/Tables/Table/components/TableRowCard.d.ts.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/components/TableRowCard.js +3 -3
- package/dist/components/organisms/Tables/Table/components/TableRowCard.js.map +1 -0
- package/dist/components/organisms/Tables/Table/components/TableSortIcon.cjs.map +1 -0
- package/dist/components/organisms/Tables/Table/components/TableSortIcon.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/components/TableSortIcon.js.map +1 -0
- package/dist/components/organisms/Tables/Table/hooks/useBusyCount.cjs.map +1 -0
- package/dist/components/organisms/Tables/Table/hooks/useBusyCount.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/hooks/useBusyCount.js.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/hooks/useFirstSortDirection.cjs +1 -1
- package/dist/components/organisms/Tables/Table/hooks/useFirstSortDirection.cjs.map +1 -0
- package/dist/components/organisms/Tables/Table/hooks/useFirstSortDirection.d.ts.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/hooks/useFirstSortDirection.js +1 -1
- package/dist/components/organisms/Tables/Table/hooks/useFirstSortDirection.js.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/hooks/useIsPlaceholderPage.cjs +1 -1
- package/dist/components/organisms/Tables/Table/hooks/useIsPlaceholderPage.cjs.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/hooks/useIsPlaceholderPage.d.ts +1 -1
- package/dist/components/organisms/Tables/Table/hooks/useIsPlaceholderPage.d.ts.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/hooks/useIsPlaceholderPage.js +1 -1
- package/dist/components/organisms/Tables/Table/hooks/useIsPlaceholderPage.js.map +1 -0
- package/dist/components/organisms/Tables/Table/hooks/usePlaceholderRows.cjs.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/hooks/usePlaceholderRows.d.ts +1 -1
- package/dist/components/organisms/Tables/Table/hooks/usePlaceholderRows.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/hooks/usePlaceholderRows.js.map +1 -0
- package/dist/components/organisms/Tables/Table/hooks/useSelectableRowRegistry.cjs.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/hooks/useSelectableRowRegistry.d.ts +1 -1
- package/dist/components/organisms/Tables/Table/hooks/useSelectableRowRegistry.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/hooks/useSelectableRowRegistry.js.map +1 -0
- package/dist/components/organisms/Tables/Table/hooks/useTableFocusHandOff.cjs +83 -0
- package/dist/components/organisms/Tables/Table/hooks/useTableFocusHandOff.cjs.map +1 -0
- package/dist/components/organisms/Tables/Table/hooks/useTableFocusHandOff.d.ts +23 -0
- package/dist/components/organisms/Tables/Table/hooks/useTableFocusHandOff.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/hooks/useTableFocusHandOff.js +81 -0
- package/dist/components/organisms/Tables/Table/hooks/useTableFocusHandOff.js.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/hooks/useTableSelection.cjs +1 -1
- package/dist/components/organisms/Tables/Table/hooks/useTableSelection.cjs.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/hooks/useTableSelection.d.ts +1 -1
- package/dist/components/organisms/Tables/Table/hooks/useTableSelection.d.ts.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/hooks/useTableSelection.js +1 -1
- package/dist/components/organisms/Tables/Table/hooks/useTableSelection.js.map +1 -0
- package/dist/components/organisms/Tables/Table/providers/Table.context.cjs.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/providers/Table.context.d.ts +4 -1
- package/dist/components/organisms/Tables/Table/providers/Table.context.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/providers/Table.context.js.map +1 -0
- package/dist/components/organisms/Tables/Table/utilities/tableFocusHandOff.utils.cjs +55 -0
- package/dist/components/organisms/Tables/Table/utilities/tableFocusHandOff.utils.cjs.map +1 -0
- package/dist/components/organisms/Tables/Table/utilities/tableFocusHandOff.utils.d.ts +25 -0
- package/dist/components/organisms/Tables/Table/utilities/tableFocusHandOff.utils.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/utilities/tableFocusHandOff.utils.js +51 -0
- package/dist/components/organisms/Tables/Table/utilities/tableFocusHandOff.utils.js.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/utilities/tableLoading.utils.cjs +1 -1
- package/dist/components/organisms/Tables/Table/utilities/tableLoading.utils.cjs.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/utilities/tableLoading.utils.d.ts +1 -1
- package/dist/components/organisms/Tables/Table/utilities/tableLoading.utils.d.ts.map +1 -0
- package/dist/components/organisms/{Table → Tables/Table}/utilities/tableLoading.utils.js +1 -1
- package/dist/components/organisms/Tables/Table/utilities/tableLoading.utils.js.map +1 -0
- package/dist/components/organisms/Tables/Table/utilities/tableSelection.utils.cjs.map +1 -0
- package/dist/components/organisms/Tables/Table/utilities/tableSelection.utils.d.ts.map +1 -0
- package/dist/components/organisms/Tables/Table/utilities/tableSelection.utils.js.map +1 -0
- package/dist/components/organisms/Tables/TableLayoutToggle/TableLayoutToggle.cjs +34 -0
- package/dist/components/organisms/Tables/TableLayoutToggle/TableLayoutToggle.cjs.map +1 -0
- package/dist/components/organisms/Tables/TableLayoutToggle/TableLayoutToggle.d.ts +37 -0
- package/dist/components/organisms/Tables/TableLayoutToggle/TableLayoutToggle.d.ts.map +1 -0
- package/dist/components/organisms/Tables/TableLayoutToggle/TableLayoutToggle.js +32 -0
- package/dist/components/organisms/Tables/TableLayoutToggle/TableLayoutToggle.js.map +1 -0
- package/dist/components/organisms/Tables/TableLayoutToggle/hooks/useTableLayoutToggle.cjs +32 -0
- package/dist/components/organisms/Tables/TableLayoutToggle/hooks/useTableLayoutToggle.cjs.map +1 -0
- package/dist/components/organisms/Tables/TableLayoutToggle/hooks/useTableLayoutToggle.d.ts +21 -0
- package/dist/components/organisms/Tables/TableLayoutToggle/hooks/useTableLayoutToggle.d.ts.map +1 -0
- package/dist/components/organisms/Tables/TableLayoutToggle/hooks/useTableLayoutToggle.js +30 -0
- package/dist/components/organisms/Tables/TableLayoutToggle/hooks/useTableLayoutToggle.js.map +1 -0
- package/dist/components/organisms/{Table/components → Tables/TableSortMenu}/TableSortMenu.cjs +9 -2
- package/dist/components/organisms/Tables/TableSortMenu/TableSortMenu.cjs.map +1 -0
- package/dist/components/organisms/{Table/components → Tables/TableSortMenu}/TableSortMenu.d.ts +18 -6
- package/dist/components/organisms/Tables/TableSortMenu/TableSortMenu.d.ts.map +1 -0
- package/dist/components/organisms/{Table/components → Tables/TableSortMenu}/TableSortMenu.js +9 -2
- package/dist/components/organisms/Tables/TableSortMenu/TableSortMenu.js.map +1 -0
- package/dist/components/organisms/Tables/hooks/useIsAtLeastMd.cjs.map +1 -0
- package/dist/components/organisms/Tables/hooks/useIsAtLeastMd.d.ts.map +1 -0
- package/dist/components/organisms/Tables/hooks/useIsAtLeastMd.js.map +1 -0
- package/dist/components/organisms/Tables/hooks/useStoredTableLayout.cjs +84 -0
- package/dist/components/organisms/Tables/hooks/useStoredTableLayout.cjs.map +1 -0
- package/dist/components/organisms/Tables/hooks/useStoredTableLayout.d.ts +20 -0
- package/dist/components/organisms/Tables/hooks/useStoredTableLayout.d.ts.map +1 -0
- package/dist/components/organisms/Tables/hooks/useStoredTableLayout.js +81 -0
- package/dist/components/organisms/Tables/hooks/useStoredTableLayout.js.map +1 -0
- package/dist/components/organisms/Tables/index.cjs +14 -0
- package/dist/components/organisms/Tables/index.cjs.map +1 -0
- package/dist/components/organisms/Tables/index.d.ts +19 -0
- package/dist/components/organisms/Tables/index.d.ts.map +1 -0
- package/dist/components/organisms/Tables/index.js +4 -0
- package/dist/components/organisms/Tables/index.js.map +1 -0
- package/dist/components/organisms/{Table/table.types.d.ts → Tables/tables.types.d.ts} +4 -2
- package/dist/components/organisms/Tables/tables.types.d.ts.map +1 -0
- package/dist/components/organisms/Tables/utilities/tableCard.utils.cjs.map +1 -0
- package/dist/components/organisms/{Table → Tables}/utilities/tableCard.utils.d.ts +1 -1
- package/dist/components/organisms/Tables/utilities/tableCard.utils.d.ts.map +1 -0
- package/dist/components/organisms/Tables/utilities/tableCard.utils.js.map +1 -0
- package/dist/components/organisms/Tables/utilities/tableChildren.utils.cjs.map +1 -0
- package/dist/components/organisms/{Table → Tables}/utilities/tableChildren.utils.d.ts +1 -1
- package/dist/components/organisms/Tables/utilities/tableChildren.utils.d.ts.map +1 -0
- package/dist/components/organisms/Tables/utilities/tableChildren.utils.js.map +1 -0
- package/dist/components/organisms/Tables/utilities/tableIterable.utils.cjs.map +1 -0
- package/dist/components/organisms/Tables/utilities/tableIterable.utils.d.ts.map +1 -0
- package/dist/components/organisms/Tables/utilities/tableIterable.utils.js.map +1 -0
- package/dist/components/organisms/Tables/utilities/tableSort.utils.cjs.map +1 -0
- package/dist/components/organisms/Tables/utilities/tableSort.utils.d.ts.map +1 -0
- package/dist/components/organisms/Tables/utilities/tableSort.utils.js.map +1 -0
- package/dist/hooks/useListQueryParams/index.cjs +238 -0
- package/dist/hooks/useListQueryParams/index.cjs.map +1 -0
- package/dist/hooks/useListQueryParams/index.d.ts +77 -0
- package/dist/hooks/useListQueryParams/index.d.ts.map +1 -0
- package/dist/hooks/useListQueryParams/index.js +236 -0
- package/dist/hooks/useListQueryParams/index.js.map +1 -0
- package/dist/hooks/useLoadState/index.cjs +69 -0
- package/dist/hooks/useLoadState/index.cjs.map +1 -0
- package/dist/hooks/useLoadState/index.d.ts +44 -0
- package/dist/hooks/useLoadState/index.d.ts.map +1 -0
- package/dist/hooks/useLoadState/index.js +67 -0
- package/dist/hooks/useLoadState/index.js.map +1 -0
- package/dist/hooks/usePagedList/index.cjs +61 -0
- package/dist/hooks/usePagedList/index.cjs.map +1 -0
- package/dist/hooks/usePagedList/index.d.ts +56 -0
- package/dist/hooks/usePagedList/index.d.ts.map +1 -0
- package/dist/hooks/usePagedList/index.js +59 -0
- package/dist/hooks/usePagedList/index.js.map +1 -0
- package/dist/native/components/organisms/Tables/index.d.ts +12 -0
- package/dist/native/hooks/useListQueryParams/index.d.ts +12 -0
- package/dist/native/hooks/useLoadState/index.d.ts +12 -0
- package/dist/native/hooks/usePagedList/index.d.ts +12 -0
- package/dist/native/utilities/listQueryUtils/index.d.ts +12 -0
- package/dist/utilities/__internal__/listStateUtils/listState.utils.cjs +47 -0
- package/dist/utilities/__internal__/listStateUtils/listState.utils.cjs.map +1 -0
- package/dist/utilities/__internal__/listStateUtils/listState.utils.d.ts +51 -0
- package/dist/utilities/__internal__/listStateUtils/listState.utils.d.ts.map +1 -0
- package/dist/utilities/__internal__/listStateUtils/listState.utils.js +43 -0
- package/dist/utilities/__internal__/listStateUtils/listState.utils.js.map +1 -0
- package/dist/utilities/__internal__/stableKeyUtils/stableKey.utils.cjs +67 -0
- package/dist/utilities/__internal__/stableKeyUtils/stableKey.utils.cjs.map +1 -0
- package/dist/utilities/__internal__/stableKeyUtils/stableKey.utils.d.ts +27 -0
- package/dist/utilities/__internal__/stableKeyUtils/stableKey.utils.d.ts.map +1 -0
- package/dist/utilities/__internal__/stableKeyUtils/stableKey.utils.js +64 -0
- package/dist/utilities/__internal__/stableKeyUtils/stableKey.utils.js.map +1 -0
- package/dist/utilities/__internal__/webStorageUtils/webStorage.utils.cjs +28 -0
- package/dist/utilities/__internal__/webStorageUtils/webStorage.utils.cjs.map +1 -1
- package/dist/utilities/__internal__/webStorageUtils/webStorage.utils.d.ts +10 -0
- package/dist/utilities/__internal__/webStorageUtils/webStorage.utils.d.ts.map +1 -1
- package/dist/utilities/__internal__/webStorageUtils/webStorage.utils.js +28 -1
- package/dist/utilities/__internal__/webStorageUtils/webStorage.utils.js.map +1 -1
- package/dist/utilities/listQueryUtils/index.cjs +59 -0
- package/dist/utilities/listQueryUtils/index.cjs.map +1 -0
- package/dist/utilities/listQueryUtils/index.d.ts +46 -0
- package/dist/utilities/listQueryUtils/index.d.ts.map +1 -0
- package/dist/utilities/listQueryUtils/index.js +55 -0
- package/dist/utilities/listQueryUtils/index.js.map +1 -0
- package/dist/utilities/localStorageUtils/localStorageUtils.constants.cjs +2 -0
- package/dist/utilities/localStorageUtils/localStorageUtils.constants.cjs.map +1 -1
- package/dist/utilities/localStorageUtils/localStorageUtils.constants.d.ts +2 -0
- package/dist/utilities/localStorageUtils/localStorageUtils.constants.d.ts.map +1 -1
- package/dist/utilities/localStorageUtils/localStorageUtils.constants.js +2 -0
- package/dist/utilities/localStorageUtils/localStorageUtils.constants.js.map +1 -1
- package/package.json +3 -3
- package/dist/components/organisms/Table/Table.styles.cjs.map +0 -1
- package/dist/components/organisms/Table/Table.styles.d.ts.map +0 -1
- package/dist/components/organisms/Table/Table.styles.js.map +0 -1
- package/dist/components/organisms/Table/components/TableCardList.cjs.map +0 -1
- package/dist/components/organisms/Table/components/TableCardList.d.ts.map +0 -1
- package/dist/components/organisms/Table/components/TableCardList.js.map +0 -1
- package/dist/components/organisms/Table/components/TableCardRow.cjs.map +0 -1
- package/dist/components/organisms/Table/components/TableCardRow.d.ts.map +0 -1
- package/dist/components/organisms/Table/components/TableCardRow.js.map +0 -1
- package/dist/components/organisms/Table/components/TableCardsSelectAll.cjs.map +0 -1
- package/dist/components/organisms/Table/components/TableCardsSelectAll.d.ts.map +0 -1
- package/dist/components/organisms/Table/components/TableCardsSelectAll.js.map +0 -1
- package/dist/components/organisms/Table/components/TableFallbackCard.cjs.map +0 -1
- package/dist/components/organisms/Table/components/TableFallbackCard.d.ts.map +0 -1
- package/dist/components/organisms/Table/components/TableFallbackCard.js.map +0 -1
- package/dist/components/organisms/Table/components/TableLayoutToggle.cjs +0 -27
- package/dist/components/organisms/Table/components/TableLayoutToggle.cjs.map +0 -1
- package/dist/components/organisms/Table/components/TableLayoutToggle.d.ts +0 -17
- package/dist/components/organisms/Table/components/TableLayoutToggle.d.ts.map +0 -1
- package/dist/components/organisms/Table/components/TableLayoutToggle.js +0 -25
- package/dist/components/organisms/Table/components/TableLayoutToggle.js.map +0 -1
- package/dist/components/organisms/Table/components/TableRowCard.cjs.map +0 -1
- package/dist/components/organisms/Table/components/TableRowCard.d.ts.map +0 -1
- package/dist/components/organisms/Table/components/TableRowCard.js.map +0 -1
- package/dist/components/organisms/Table/components/TableSortIcon.cjs.map +0 -1
- package/dist/components/organisms/Table/components/TableSortIcon.d.ts.map +0 -1
- package/dist/components/organisms/Table/components/TableSortIcon.js.map +0 -1
- package/dist/components/organisms/Table/components/TableSortMenu.cjs.map +0 -1
- package/dist/components/organisms/Table/components/TableSortMenu.d.ts.map +0 -1
- package/dist/components/organisms/Table/components/TableSortMenu.js.map +0 -1
- package/dist/components/organisms/Table/hooks/useBusyCount.cjs.map +0 -1
- package/dist/components/organisms/Table/hooks/useBusyCount.d.ts.map +0 -1
- package/dist/components/organisms/Table/hooks/useBusyCount.js.map +0 -1
- package/dist/components/organisms/Table/hooks/useFirstSortDirection.cjs.map +0 -1
- package/dist/components/organisms/Table/hooks/useFirstSortDirection.d.ts.map +0 -1
- package/dist/components/organisms/Table/hooks/useFirstSortDirection.js.map +0 -1
- package/dist/components/organisms/Table/hooks/useIsAtLeastMd.cjs.map +0 -1
- package/dist/components/organisms/Table/hooks/useIsAtLeastMd.d.ts.map +0 -1
- package/dist/components/organisms/Table/hooks/useIsAtLeastMd.js.map +0 -1
- package/dist/components/organisms/Table/hooks/useIsPlaceholderPage.cjs.map +0 -1
- package/dist/components/organisms/Table/hooks/useIsPlaceholderPage.d.ts.map +0 -1
- package/dist/components/organisms/Table/hooks/useIsPlaceholderPage.js.map +0 -1
- package/dist/components/organisms/Table/hooks/usePlaceholderRows.cjs.map +0 -1
- package/dist/components/organisms/Table/hooks/usePlaceholderRows.d.ts.map +0 -1
- package/dist/components/organisms/Table/hooks/usePlaceholderRows.js.map +0 -1
- package/dist/components/organisms/Table/hooks/useSelectableRowRegistry.cjs.map +0 -1
- package/dist/components/organisms/Table/hooks/useSelectableRowRegistry.d.ts.map +0 -1
- package/dist/components/organisms/Table/hooks/useSelectableRowRegistry.js.map +0 -1
- package/dist/components/organisms/Table/hooks/useTableSelection.cjs.map +0 -1
- package/dist/components/organisms/Table/hooks/useTableSelection.d.ts.map +0 -1
- package/dist/components/organisms/Table/hooks/useTableSelection.js.map +0 -1
- package/dist/components/organisms/Table/providers/Table.context.cjs.map +0 -1
- package/dist/components/organisms/Table/providers/Table.context.d.ts.map +0 -1
- package/dist/components/organisms/Table/providers/Table.context.js.map +0 -1
- package/dist/components/organisms/Table/table.types.d.ts.map +0 -1
- package/dist/components/organisms/Table/utilities/tableCard.utils.cjs.map +0 -1
- package/dist/components/organisms/Table/utilities/tableCard.utils.d.ts.map +0 -1
- package/dist/components/organisms/Table/utilities/tableCard.utils.js.map +0 -1
- package/dist/components/organisms/Table/utilities/tableChildren.utils.cjs.map +0 -1
- package/dist/components/organisms/Table/utilities/tableChildren.utils.d.ts.map +0 -1
- package/dist/components/organisms/Table/utilities/tableChildren.utils.js.map +0 -1
- package/dist/components/organisms/Table/utilities/tableIterable.utils.cjs.map +0 -1
- package/dist/components/organisms/Table/utilities/tableIterable.utils.d.ts.map +0 -1
- package/dist/components/organisms/Table/utilities/tableIterable.utils.js.map +0 -1
- package/dist/components/organisms/Table/utilities/tableLoading.utils.cjs.map +0 -1
- package/dist/components/organisms/Table/utilities/tableLoading.utils.d.ts.map +0 -1
- package/dist/components/organisms/Table/utilities/tableLoading.utils.js.map +0 -1
- package/dist/components/organisms/Table/utilities/tableSelection.utils.cjs.map +0 -1
- package/dist/components/organisms/Table/utilities/tableSelection.utils.d.ts.map +0 -1
- package/dist/components/organisms/Table/utilities/tableSelection.utils.js.map +0 -1
- package/dist/components/organisms/Table/utilities/tableSort.utils.cjs.map +0 -1
- package/dist/components/organisms/Table/utilities/tableSort.utils.d.ts.map +0 -1
- package/dist/components/organisms/Table/utilities/tableSort.utils.js.map +0 -1
- /package/dist/components/organisms/{Table → Tables/Table}/Table.styles.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/Table.styles.js +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/components/TableCardsSelectAll.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/components/TableCardsSelectAll.d.ts +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/components/TableCardsSelectAll.js +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/components/TableFallbackCard.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/components/TableFallbackCard.js +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/components/TableRowCard.d.ts +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/components/TableSortIcon.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/components/TableSortIcon.d.ts +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/components/TableSortIcon.js +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/hooks/useBusyCount.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/hooks/useBusyCount.d.ts +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/hooks/useBusyCount.js +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/hooks/useFirstSortDirection.d.ts +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/hooks/usePlaceholderRows.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/hooks/usePlaceholderRows.js +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/hooks/useSelectableRowRegistry.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/hooks/useSelectableRowRegistry.js +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/providers/Table.context.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/providers/Table.context.js +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/utilities/tableSelection.utils.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/utilities/tableSelection.utils.d.ts +0 -0
- /package/dist/components/organisms/{Table → Tables/Table}/utilities/tableSelection.utils.js +0 -0
- /package/dist/components/organisms/{Table → Tables}/hooks/useIsAtLeastMd.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables}/hooks/useIsAtLeastMd.d.ts +0 -0
- /package/dist/components/organisms/{Table → Tables}/hooks/useIsAtLeastMd.js +0 -0
- /package/dist/components/organisms/{Table → Tables}/utilities/tableCard.utils.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables}/utilities/tableCard.utils.js +0 -0
- /package/dist/components/organisms/{Table → Tables}/utilities/tableChildren.utils.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables}/utilities/tableChildren.utils.js +0 -0
- /package/dist/components/organisms/{Table → Tables}/utilities/tableIterable.utils.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables}/utilities/tableIterable.utils.d.ts +0 -0
- /package/dist/components/organisms/{Table → Tables}/utilities/tableIterable.utils.js +0 -0
- /package/dist/components/organisms/{Table → Tables}/utilities/tableSort.utils.cjs +0 -0
- /package/dist/components/organisms/{Table → Tables}/utilities/tableSort.utils.d.ts +0 -0
- /package/dist/components/organisms/{Table → Tables}/utilities/tableSort.utils.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/components/organisms/Table/index.tsx"],"sourcesContent":[null],"names":["_jsxs","Dropdown","_jsx","Edit01","Copy01","Trash01","useState","useBusyCount","TableCardLayoutContext","TableContext","cx","useContext","isValidElement","Badge","forwardRef","useResolvedTestId","useSelectableRowRegistry","usePlaceholderRows","reusableIterableOf","useIsPlaceholderPage","useTableSelection","useIsAtLeastMd","AriaCollectionRendererContext","tableLayoutOf","useLayoutEffect","findElement","columnsOfHeader","loadingRowPartsOf","canDrawLoadingRows","useEffect","isProductionBuild","warnOnce","useFirstSortDirection","sortStepOf","cardListPropsOf","joinTestId","TableRowCardContext","TableRowCardSurfaceContext","TableRowCardHeaderCheckboxContext","TableCardsSelectAll","AriaTable","useTableOptions","AriaTableHeader","AriaColumn","Checkbox","AriaCollection","slugifyTestId","AriaGroup","Tooltip","TooltipTrigger","HelpCircle","TableSortIcon","rowTestIdOf","splitRowChildren","isRowCardElement","TableRowCardSkeleton","useRegisterSelectableRow","useRegisterPlaceholderRow","AriaRow","styles","AriaCell","TableCardRow","cardCellPropsOf","Skeleton","loadingRowIdsOf","loadingBodyPropsOf","TableCardList","AriaTableBody","TableRowCard","TableRowCardHeader","TableRowCardContent","TableRowCardFooter"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyFA;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,cAAA,CAACD,iBAAQ,CAAC,IAAI,EAAA,EAAC,IAAI,EAAEG,cAAM,YACzBF,cAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAC,MAAM,EAAA,QAAA,EAAA,WAAA,EAAA,CAAiB,EAAA,CACzB,EAChBA,eAACD,iBAAQ,CAAC,IAAI,EAAA,EAAC,IAAI,EAAEI,eAAO,EAAA,QAAA,EAC1BH,yBAAM,SAAS,EAAC,MAAM,EAAA,QAAA,EAAA,QAAA,EAAA,CAAc,EAAA,CACtB,IACF,EAAA,CACC,CAAA,EAAA,CACL;AAGlB;AACA,MAAM,aAAa,GAAG,CAAC,EACrB,QAAQ,EACR,SAAS,EACT,IAAI,GAAG,IAAI,EACX,WAAW,EAAE,QAAQ,EACrB,GAAG,KAAK,EACgD,KAAI;IAC5D,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAGI,cAAQ,CAAc,OAAO,CAAC;AAC1D,IAAA,MA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,SAAS,GAAG;AAChB,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,MAAM,EAAE,eAAe;;AAGzB;AACA,MAAM,oBAAoB,GAAGsD,yBAK5B;AACD,oBAAoB,CAAC,MAAM,GAAGC,+BAAkB;AAChD,oBAAoB,CAAC,OAAO,GAAGC,gCAAmB;AAClD,oBAAoB,CAAC,MAAM,GAAGC,+BAAkB;AAChD,oBAAoB,CAAC,QAAQ,GAAGhB,iCAAoB;AAEpD;;;;;;AAMG;AACH,MAAM,KAAK,GAAG;AAQd,KAAK,CAAC,IAAI,GAAG,SAAS;AACtB,KAAK,CAAC,OAAO,GAAG,oBAAoB;AACpC,KAAK,CAAC,IAAI,GAAG,SAAS;AACtB,KAAK,CAAC,IAAI,GAAG,SAAS;AACtB,KAAK,CAAC,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":["TableNext","TableCardNext","TableRowActionsDropdownNext","TableSortMenuNext","TableLayoutToggleNext"],"mappings":";;;;AAqBA;AACA;AACO,MAAM,KAAK,GAAqBA;AACvC;AACO,MAAM,SAAS,GAAyBC;AAC/C;AACO,MAAM,uBAAuB,GAAGC;AACvC;AACO,MAAM,aAAa,GAAwEC;AAClG;AACO,MAAM,iBAAiB,GAAGC;;;;;;"}
|
|
@@ -1,145 +1,36 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/** Row actions menu behind a dots button with fixed Edit, Copy link and Delete items, for use in a table's last column. */
|
|
1
|
+
import { TableCard as TableCardNext, type TableLayout as TableLayoutNext, type TableLayoutToggleProps as TableLayoutTogglePropsNext, Table as TableNext, type TableRowCardContentProps as TableRowCardContentPropsNext, type TableRowCardFooterProps as TableRowCardFooterPropsNext, type TableRowCardHeaderProps as TableRowCardHeaderPropsNext, type TableRowCardSkeletonProps as TableRowCardSkeletonPropsNext, type TableRowColor as TableRowColorNext, TableSortMenu as TableSortMenuNext, type TableSortMenuProps as TableSortMenuPropsNext } from '@flipdish/ui-library/components/organisms/Tables';
|
|
2
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
3
|
+
export declare const Table: typeof TableNext;
|
|
4
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
5
|
+
export declare const TableCard: typeof TableCardNext;
|
|
6
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
8
7
|
export declare const TableRowActionsDropdown: () => import("react").JSX.Element;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
/** The class name of the table card header. */
|
|
19
|
-
className?: string;
|
|
8
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
9
|
+
export declare const TableSortMenu: (props: TableSortMenuProps) => ReturnType<typeof TableSortMenuNext>;
|
|
10
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
11
|
+
export declare const TableLayoutToggle: {
|
|
12
|
+
({ value, onChange, layoutKey, className, "data-testid": dataTestId }: TableLayoutTogglePropsNext): import("react").JSX.Element | null;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
16
|
+
export interface TableRowCardHeaderProps extends TableRowCardHeaderPropsNext {
|
|
20
17
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
size?: 'sm' | 'md';
|
|
24
|
-
/** With `selectionMode="single"`: the selected row's id, or `null` for none. Use instead of `selectedKeys`, not with it. */
|
|
25
|
-
selectedKey?: Key | null;
|
|
26
|
-
/** With `selectionMode="single"`: called with the selected row's id, or `null` when a second click clears it. */
|
|
27
|
-
onSelectedKeyChange?: (key: Key | null) => void;
|
|
28
|
-
/** With `selectionMode="multiple"`: called with the selected rows' ids; "select all" reports every selectable row, never `'all'`. */
|
|
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;
|
|
48
|
-
/**
|
|
49
|
-
* Draws `loadingRowCount` placeholder rows in place of `Table.Body`'s children, in both layouts, so a page can keep passing
|
|
50
|
-
* its rows; none can be pressed or selected, and `renderEmptyState` waits. Marks the surrounding `TableCard.Root` `aria-busy`,
|
|
51
|
-
* or the table's own outer element without one. The default cells come from a `Table.Header` among the table's direct
|
|
52
|
-
* children: with one rendered by another component, pass `loadingRow` with a `Table.Cell` per column, or the table shows none.
|
|
53
|
-
*/
|
|
54
|
-
isLoading?: boolean;
|
|
55
|
-
/** How many rows `isLoading` draws; pass the page size, so the list keeps its height. */
|
|
56
|
-
loadingRowCount?: number;
|
|
57
|
-
/**
|
|
58
|
-
* What each loading row holds, written as a `Table.Row`'s children: a `Table.Cell` per column holding `Skeleton`s, and a
|
|
59
|
-
* `Table.RowCard.Skeleton` shaped like the real card. A part left out is drawn for you: a bar per column, the generic card.
|
|
60
|
-
*/
|
|
61
|
-
loadingRow?: ReactNode;
|
|
62
|
-
/**
|
|
63
|
-
* Overrides the root `data-testid`. Defaults to `fd-table`. Rows and columns derive
|
|
64
|
-
* structural testids from this prefix (e.g. `<root>--row-42`, `<root>--col-name`). In the cards layout the root id
|
|
65
|
-
* sits on the wrapper around select all and the card list, which derives `<root>--list`.
|
|
66
|
-
*/
|
|
67
|
-
'data-testid'?: string;
|
|
18
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
19
|
+
export interface TableRowCardContentProps extends TableRowCardContentPropsNext {
|
|
68
20
|
}
|
|
69
|
-
|
|
70
|
-
interface
|
|
71
|
-
/** Draws a divider under the header row. */
|
|
72
|
-
bordered?: boolean;
|
|
73
|
-
/** Header row height; inherits from the table unless set. */
|
|
74
|
-
size?: 'sm' | 'md';
|
|
21
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
22
|
+
export interface TableRowCardFooterProps extends TableRowCardFooterPropsNext {
|
|
75
23
|
}
|
|
76
|
-
/**
|
|
77
|
-
|
|
78
|
-
displayName?: string;
|
|
79
|
-
};
|
|
80
|
-
interface TableHeadProps extends AriaColumnProps, Omit<ThHTMLAttributes<HTMLTableCellElement>, 'children' | 'className' | 'style' | 'id'> {
|
|
81
|
-
/** The column's visible name; on the fallback card it labels the column's line. */
|
|
82
|
-
label?: string;
|
|
83
|
-
/** Help text behind an icon beside the label, shown on hover and keyboard focus; it also names the icon. */
|
|
84
|
-
tooltip?: string;
|
|
85
|
-
/** Overrides the derived `data-testid` for the column (defaults to `<root>--col-<id>`). */
|
|
86
|
-
'data-testid'?: string;
|
|
24
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
25
|
+
export interface TableRowCardSkeletonProps extends TableRowCardSkeletonPropsNext {
|
|
87
26
|
}
|
|
88
|
-
/**
|
|
89
|
-
|
|
90
|
-
({ className, tooltip, label, children, "data-testid": dataTestId, ...props }: TableHeadProps): import("react").JSX.Element;
|
|
91
|
-
displayName: string;
|
|
92
|
-
};
|
|
93
|
-
/** One row of cells, or its `Table.RowCard` in the cards layout; give it an `id` for selection and its test id. */
|
|
94
|
-
declare const TableRow: (<T extends object>(props: TableRowProps<T> & RefAttributes<HTMLTableRowElement | HTMLDivElement>) => ReactElement) & {
|
|
95
|
-
displayName?: string;
|
|
96
|
-
};
|
|
97
|
-
interface TableCellProps extends AriaCellProps, Omit<TdHTMLAttributes<HTMLTableCellElement>, 'children' | 'className' | 'style' | 'id'> {
|
|
98
|
-
/** Cell padding; inherits from the table unless set. */
|
|
99
|
-
size?: 'sm' | 'md';
|
|
100
|
-
/**
|
|
101
|
-
* Optional `data-testid` for the cell. Cells are intentionally not defaulted (to avoid
|
|
102
|
-
* high-cardinality noise); pass one explicitly when a specific cell needs targeting.
|
|
103
|
-
*/
|
|
104
|
-
'data-testid'?: string;
|
|
27
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
28
|
+
export interface TableSortMenuProps extends TableSortMenuPropsNext {
|
|
105
29
|
}
|
|
106
|
-
/**
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
declare const TableCard: {
|
|
113
|
-
Root: ({ children, className, size, "aria-busy": ariaBusy, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
114
|
-
size?: "sm" | "md";
|
|
115
|
-
}) => import("react").JSX.Element;
|
|
116
|
-
Header: ({ title, badge, description, contentTrailing, className }: TableCardHeaderProps) => import("react").JSX.Element;
|
|
117
|
-
};
|
|
118
|
-
/** The card a `Table.Row` shows in the cards layout, built from its `Header`, `Content` and `Footer`, or its `Skeleton` while loading. */
|
|
119
|
-
declare const TableRowCardCompound: typeof TableRowCard & {
|
|
120
|
-
Header: typeof TableRowCardHeader;
|
|
121
|
-
Content: typeof TableRowCardContent;
|
|
122
|
-
Footer: typeof TableRowCardFooter;
|
|
123
|
-
Skeleton: typeof TableRowCardSkeleton;
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* Displays structured data in rows and columns with selection, sorting and keyboard navigation, or as one card per row:
|
|
127
|
-
* below `md` unless `mobileLayout` opts out, and from `md` when `desktopLayout` asks. Wrap it in `TableCard.Root`; on a page the title comes from
|
|
128
|
-
* `PageHeader` and search or filters from a `FilterBar` above the card.
|
|
129
|
-
*
|
|
130
|
-
* @summary data table with selection, sorting and cards on mobile
|
|
131
|
-
*/
|
|
132
|
-
declare const Table: typeof TableRoot & {
|
|
133
|
-
Body: typeof TableBody;
|
|
134
|
-
RowCard: typeof TableRowCardCompound;
|
|
135
|
-
Cell: typeof TableCell;
|
|
136
|
-
Head: typeof TableHead;
|
|
137
|
-
Header: typeof TableHeader;
|
|
138
|
-
Row: typeof TableRow;
|
|
139
|
-
};
|
|
140
|
-
export type { TableLayoutToggleProps } from './components/TableLayoutToggle';
|
|
141
|
-
export type { TableRowCardContentProps, TableRowCardFooterProps, TableRowCardHeaderProps, TableRowCardSkeletonProps, } from './components/TableRowCard';
|
|
142
|
-
export type { TableSortMenuProps } from './components/TableSortMenu';
|
|
143
|
-
export type { TableLayout, TableRowColor } from './table.types';
|
|
144
|
-
export { Table, TableCard, TableLayoutToggle, TableSortMenu };
|
|
30
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
31
|
+
export type TableLayoutToggleProps = TableLayoutTogglePropsNext;
|
|
32
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
33
|
+
export type TableLayout = TableLayoutNext;
|
|
34
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
35
|
+
export type TableRowColor = TableRowColorNext;
|
|
145
36
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Table/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Table/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,SAAS,IAAI,aAAa,EAC1B,KAAK,WAAW,IAAI,eAAe,EAEnC,KAAK,sBAAsB,IAAI,0BAA0B,EACzD,KAAK,IAAI,SAAS,EAElB,KAAK,wBAAwB,IAAI,4BAA4B,EAC7D,KAAK,uBAAuB,IAAI,2BAA2B,EAC3D,KAAK,uBAAuB,IAAI,2BAA2B,EAC3D,KAAK,yBAAyB,IAAI,6BAA6B,EAC/D,KAAK,aAAa,IAAI,iBAAiB,EACvC,aAAa,IAAI,iBAAiB,EAClC,KAAK,kBAAkB,IAAI,sBAAsB,EAClD,MAAM,kDAAkD,CAAC;AAG1D,6GAA6G;AAC7G,eAAO,MAAM,KAAK,EAAE,OAAO,SAAqB,CAAC;AACjD,6GAA6G;AAC7G,eAAO,MAAM,SAAS,EAAE,OAAO,aAA6B,CAAC;AAC7D,6GAA6G;AAC7G,eAAO,MAAM,uBAAuB,mCAA8B,CAAC;AACnE,6GAA6G;AAC7G,eAAO,MAAM,aAAa,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,UAAU,CAAC,OAAO,iBAAiB,CAAqB,CAAC;AACpH,6GAA6G;AAC7G,eAAO,MAAM,iBAAiB;;;CAAwB,CAAC;AACvD,6GAA6G;AAC7G,MAAM,WAAW,uBAAwB,SAAQ,2BAA2B;CAAG;AAC/E,6GAA6G;AAC7G,MAAM,WAAW,wBAAyB,SAAQ,4BAA4B;CAAG;AACjF,6GAA6G;AAC7G,MAAM,WAAW,uBAAwB,SAAQ,2BAA2B;CAAG;AAC/E,6GAA6G;AAC7G,MAAM,WAAW,yBAA0B,SAAQ,6BAA6B;CAAG;AACnF,6GAA6G;AAC7G,MAAM,WAAW,kBAAmB,SAAQ,sBAAsB;CAAG;AACrE,6GAA6G;AAC7G,MAAM,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AAChE,6GAA6G;AAC7G,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC;AAC1C,6GAA6G;AAC7G,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC"}
|
|
@@ -1,287 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { HelpCircle, Edit01, Copy01, Trash01 } from '@flipdish/ui-icons';
|
|
3
|
-
import { Badge } from '@flipdish/ui-library/components/atoms/Badges';
|
|
4
|
-
import { Checkbox } from '@flipdish/ui-library/components/atoms/Checkboxes';
|
|
5
|
-
import { Skeleton } from '@flipdish/ui-library/components/atoms/Skeleton';
|
|
6
|
-
import { Tooltip, TooltipTrigger } from '@flipdish/ui-library/components/atoms/Tooltip';
|
|
7
|
-
import { Dropdown } from '@flipdish/ui-library/components/molecules/Dropdown';
|
|
8
|
-
import { cx } from '@flipdish/ui-library/utilities/cx';
|
|
9
|
-
import { isProductionBuild } from '@flipdish/ui-library/utilities/renderUtils';
|
|
10
|
-
import { useResolvedTestId, joinTestId, slugifyTestId } from '@flipdish/ui-library/utilities/testIdUtils';
|
|
11
|
-
import { forwardRef, useContext, useLayoutEffect, useEffect, useState, isValidElement } from 'react';
|
|
12
|
-
import { CollectionRendererContext, Table as Table$1, useTableOptions, Cell, TableHeader as TableHeader$1, Column, Collection, Row, TableBody as TableBody$1, Group } from 'react-aria-components';
|
|
13
|
-
import { warnOnce } from '../../../utilities/__internal__/logUtils/log.utils.js';
|
|
14
|
-
import { TableCardList } from './components/TableCardList.js';
|
|
15
|
-
import { TableCardRow } from './components/TableCardRow.js';
|
|
16
|
-
import { TableCardsSelectAll } from './components/TableCardsSelectAll.js';
|
|
17
|
-
export { TableLayoutToggle } from './components/TableLayoutToggle.js';
|
|
18
|
-
import { TableRowCardSkeleton, TableRowCardHeader, TableRowCard, TableRowCardContent, TableRowCardFooter, isRowCardElement } from './components/TableRowCard.js';
|
|
19
|
-
import { TableSortIcon } from './components/TableSortIcon.js';
|
|
20
|
-
export { TableSortMenu } from './components/TableSortMenu.js';
|
|
21
|
-
import { useBusyCount } from './hooks/useBusyCount.js';
|
|
22
|
-
import { useFirstSortDirection } from './hooks/useFirstSortDirection.js';
|
|
23
|
-
import { useIsAtLeastMd } from './hooks/useIsAtLeastMd.js';
|
|
24
|
-
import { useIsPlaceholderPage } from './hooks/useIsPlaceholderPage.js';
|
|
25
|
-
import { usePlaceholderRows, useRegisterPlaceholderRow } from './hooks/usePlaceholderRows.js';
|
|
26
|
-
import { useSelectableRowRegistry, useRegisterSelectableRow } from './hooks/useSelectableRowRegistry.js';
|
|
27
|
-
import { useTableSelection } from './hooks/useTableSelection.js';
|
|
28
|
-
import { TableContext, TableCardLayoutContext, TableRowCardContext, TableRowCardSurfaceContext, TableRowCardHeaderCheckboxContext } from './providers/Table.context.js';
|
|
29
|
-
import { styles } from './Table.styles.js';
|
|
30
|
-
import { cardListPropsOf, tableLayoutOf, rowTestIdOf, cardCellPropsOf } from './utilities/tableCard.utils.js';
|
|
31
|
-
import { findElement, columnsOfHeader, splitRowChildren } from './utilities/tableChildren.utils.js';
|
|
32
|
-
import { reusableIterableOf } from './utilities/tableIterable.utils.js';
|
|
33
|
-
import { loadingRowPartsOf, canDrawLoadingRows, loadingRowIdsOf, loadingBodyPropsOf } from './utilities/tableLoading.utils.js';
|
|
34
|
-
import { sortStepOf } from './utilities/tableSort.utils.js';
|
|
1
|
+
import { Table as Table$1, TableCard as TableCard$1, TableLayoutToggle as TableLayoutToggle$1, TableRowActionsDropdown as TableRowActionsDropdown$1, TableSortMenu as TableSortMenu$1 } from '@flipdish/ui-library/components/organisms/Tables';
|
|
35
2
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
const { layout } = useContext(TableCardLayoutContext);
|
|
48
|
-
const renderBadge = () => {
|
|
49
|
-
if (!badge)
|
|
50
|
-
return null;
|
|
51
|
-
if (isValidElement(badge))
|
|
52
|
-
return badge;
|
|
53
|
-
return (jsx(Badge, { color: "gray", size: "sm", type: "modern", children: badge }));
|
|
54
|
-
};
|
|
55
|
-
return (jsxs("div", { className: cx('relative flex flex-col items-start gap-4 md:flex-row',
|
|
56
|
-
// Above cards the header is a plain heading row: the card it would divide from has no surface.
|
|
57
|
-
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: [jsxs("div", { className: "flex flex-1 flex-col gap-0.5", children: [jsxs("div", { className: "flex items-center gap-2", children: [jsx("h2", { className: "text-md font-semibold text-primary", children: title }), renderBadge()] }), description && jsx("p", { className: "text-sm text-tertiary", children: description })] }), contentTrailing] }));
|
|
58
|
-
};
|
|
59
|
-
// 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.
|
|
60
|
-
const DETACHED_CARD_LAYOUT = { layout: 'table' };
|
|
61
|
-
// The element types match react-aria's: inside a `Virtualizer` the table, its header, rows and cells render as `div`s.
|
|
62
|
-
const TableRoot = forwardRef(({ className, style, children, mobileLayout = 'cards', desktopLayout = 'table', size: sizeProp, selectedKey, selectedKeys, defaultSelectedKeys, onSelectionChange, onSelectedKeyChange, onSelectedKeysChange, onSortChange, defaultSortDescriptor, isLoading = false, loadingRowCount = 5, loadingRow, 'data-testid': dataTestId, ...props }, ref) => {
|
|
63
|
-
// Re-providing the context would otherwise reset a card-level `size` back to `md`.
|
|
64
|
-
const inherited = useContext(TableContext);
|
|
65
|
-
const { setLayout, registerBusy } = useContext(TableCardLayoutContext);
|
|
66
|
-
const size = sizeProp ?? inherited.size;
|
|
67
|
-
const rootTestId = useResolvedTestId({ testId: dataTestId, segment: 'table', rootName: 'table' });
|
|
68
|
-
const registry = useSelectableRowRegistry();
|
|
69
|
-
const placeholders = usePlaceholderRows(props.onRowAction);
|
|
70
|
-
// Read by the table and by react-aria alike, so a one-shot iterator is read once and every reader gets the same keys.
|
|
71
|
-
const disabledKeys = reusableIterableOf(props.disabledKeys);
|
|
72
|
-
const isPlaceholderPage = useIsPlaceholderPage(isLoading, registry, placeholders.registry, disabledKeys);
|
|
73
|
-
// Held here, above the layout switch: the table and the card list are different trees, and crossing `md` remounts the rows.
|
|
74
|
-
const selection = useTableSelection({
|
|
75
|
-
selectedKey,
|
|
76
|
-
selectedKeys,
|
|
77
|
-
defaultSelectedKeys,
|
|
78
|
-
disabledKeys,
|
|
79
|
-
rowIds: registry.rowIds,
|
|
80
|
-
isPlaceholderPage,
|
|
81
|
-
onSelectionChange,
|
|
82
|
-
onSelectedKeyChange,
|
|
83
|
-
onSelectedKeysChange,
|
|
84
|
-
});
|
|
85
|
-
const isAtLeastMd = useIsAtLeastMd();
|
|
86
|
-
// A `Virtualizer` hands its table layout to any collection inside it, and that layout cannot place cards.
|
|
87
|
-
const { isVirtualized } = useContext(CollectionRendererContext);
|
|
88
|
-
const layout = tableLayoutOf(isAtLeastMd, mobileLayout, desktopLayout, isVirtualized);
|
|
89
|
-
// Before paint, so a `TableCard.Root` around cards never shows a frame of its surface.
|
|
90
|
-
useLayoutEffect(() => {
|
|
91
|
-
setLayout?.(layout);
|
|
92
|
-
return () => setLayout?.('table');
|
|
93
|
-
}, [layout, setLayout]);
|
|
94
|
-
useLayoutEffect(() => (isLoading ? registerBusy?.() : undefined), [isLoading, registerBusy]);
|
|
95
|
-
// With no card to report to, as alone or nested in a row card, the table marks itself busy.
|
|
96
|
-
const isOwnBusy = isLoading && registerBusy === undefined;
|
|
97
|
-
// Only the cards and the loading rows need the columns, and a column render function runs on every read.
|
|
98
|
-
const header = isLoading || layout === 'cards' ? findElement(children, TableHeader) : undefined;
|
|
99
|
-
const columns = header ? columnsOfHeader(header.props.children, header.props.columns) : [];
|
|
100
|
-
const loadingParts = isLoading ? loadingRowPartsOf(loadingRow, columns, LOADING_ROW_DEFAULTS) : undefined;
|
|
101
|
-
const isMissingLoadingCells = loadingParts !== undefined && !canDrawLoadingRows(layout, loadingParts.cells.length);
|
|
102
|
-
useEffect(() => {
|
|
103
|
-
if (!isMissingLoadingCells || isProductionBuild())
|
|
104
|
-
return;
|
|
105
|
-
warnOnce('Table:loading-no-columns', 'Table: `isLoading` found no columns to give its loading rows cells, so the table shows none: `Table` reads columns only from a `Table.Header` among its direct children. Render `Table.Header` directly inside `Table`, or pass `loadingRow` with a `Table.Cell` per column.');
|
|
106
|
-
}, [isMissingLoadingCells]);
|
|
107
|
-
// react-aria only toggles a sorted column; the press that would toggle it back to its first direction clears it instead.
|
|
108
|
-
const firstSortDirection = useFirstSortDirection(props.sortDescriptor, defaultSortDescriptor);
|
|
109
|
-
const handleSortChange = onSortChange &&
|
|
110
|
-
((next) => onSortChange(sortStepOf(props.sortDescriptor, next, firstSortDirection) === 'clear' ? defaultSortDescriptor : next));
|
|
111
|
-
// A row cannot see the table-level `onRowAction`, so the context carries whether one exists.
|
|
112
|
-
const context = {
|
|
113
|
-
size,
|
|
114
|
-
layout,
|
|
115
|
-
testIdPrefix: rootTestId,
|
|
116
|
-
hasRowAction: props.onRowAction !== undefined,
|
|
117
|
-
registerRow: registry.register,
|
|
118
|
-
isPlaceholderPage,
|
|
119
|
-
registerPlaceholder: placeholders.register,
|
|
120
|
-
// React-aria throws on a table row with no cells, so with none to give the table draws no loading rows; see the warning.
|
|
121
|
-
loadingRows: loadingParts && renderLoadingRows(isMissingLoadingCells ? 0 : loadingRowCount, loadingParts),
|
|
122
|
-
};
|
|
123
|
-
if (layout === 'cards') {
|
|
124
|
-
const { selectionMode = 'none', selectionBehavior = 'toggle' } = props;
|
|
125
|
-
// 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.
|
|
126
|
-
const { dragAndDropHooks, sortDescriptor, onRowAction, render: _tableRender, ...sharedProps } = props;
|
|
127
|
-
const listProps = {
|
|
128
|
-
...cardListPropsOf(sharedProps),
|
|
129
|
-
disabledKeys,
|
|
130
|
-
selectedKeys: selection.selectedKeys,
|
|
131
|
-
onSelectionChange: selection.onSelectionChange,
|
|
132
|
-
onAction: placeholders.onAction,
|
|
133
|
-
// From `md` the cards sit in columns, so the arrow keys move across them as well as down.
|
|
134
|
-
layout: isAtLeastMd ? 'grid' : 'stack',
|
|
135
|
-
'data-testid': joinTestId(rootTestId, 'list'),
|
|
136
|
-
};
|
|
137
|
-
const cardContext = { ...context, columns, listProps };
|
|
138
|
-
return (jsx(TableCardLayoutContext.Provider, { value: DETACHED_CARD_LAYOUT, children: jsx(TableRowCardContext.Provider, { value: null, children: jsx(TableRowCardSurfaceContext.Provider, { value: false, children: jsx(TableRowCardHeaderCheckboxContext.Provider, { value: false, children: jsx(TableContext.Provider, { value: cardContext, children: jsxs("div", { ref: ref, "data-testid": rootTestId, "aria-busy": isOwnBusy || undefined, className: "@container flex flex-col gap-4", children: [selectionMode === 'multiple' && selectionBehavior === 'toggle' && (jsx(TableCardsSelectAll, { registry: registry, selectedKeys: selection.selectedKeys, onSelectionChange: selection.onSelectionChange, disabledKeys: disabledKeys, isPlaceholderPage: isPlaceholderPage, disallowEmptySelection: props.disallowEmptySelection, "data-testid": joinTestId(rootTestId, 'select-all') })), children] }) }) }) }) }) }));
|
|
139
|
-
}
|
|
140
|
-
return (jsx(TableCardLayoutContext.Provider, { value: DETACHED_CARD_LAYOUT, children: jsx(TableContext.Provider, { value: context, children: jsx("div", { className: "overflow-x-auto", "aria-busy": isOwnBusy || undefined, children: jsx(Table$1, { "data-testid": rootTestId, className: (state) => cx('w-full overflow-x-hidden', typeof className === 'function' ? className(state) : className), style: style, ...props, ref: ref, disabledKeys: disabledKeys, selectedKeys: selection.selectedKeys, onSelectionChange: selection.onSelectionChange, onSortChange: handleSortChange, onRowAction: placeholders.onAction, children: children }) }) }) }));
|
|
141
|
-
});
|
|
142
|
-
TableRoot.displayName = 'Table';
|
|
143
|
-
// On a page of placeholders, as while loading, react-aria's own select all stays on and would store `'all'` for the rows that load next.
|
|
144
|
-
const NO_ROW_TO_SELECT = { isDisabled: true, isSelected: false, isIndeterminate: false };
|
|
145
|
-
const TableGridHeaderBase = ({ columns, children, bordered = true, className, size: sizeProp, ...props }, ref) => {
|
|
146
|
-
const context = useContext(TableContext);
|
|
147
|
-
const { selectionBehavior, selectionMode } = useTableOptions();
|
|
148
|
-
const size = sizeProp ?? context.size;
|
|
149
|
-
return (jsxs(TableHeader$1, { ...props, ref: ref, className: (state) => cx('relative bg-secondary', size === 'sm' ? 'h-9' : 'h-11',
|
|
150
|
-
// Row border—using an "after" pseudo-element to avoid the border taking up space.
|
|
151
|
-
bordered &&
|
|
152
|
-
'[&>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' && (jsx(Column, { className: cx('relative py-2 pr-0 pl-4', size === 'sm' ? 'w-9 md:pl-5' : 'w-11 md:pl-6'), children: selectionMode === 'multiple' && (jsx("div", { className: "flex items-start", children: jsx(Checkbox, { slot: "selection", size: "md", ...(context.isPlaceholderPage ? NO_ROW_TO_SELECT : {}) }) })) })), jsx(Collection, { items: reusableIterableOf(columns), children: children })] }));
|
|
153
|
-
};
|
|
154
|
-
// `forwardRef` drops the type parameter that ties `columns` to the item a render function gets; the cast restores it.
|
|
155
|
-
const TableGridHeader = forwardRef(TableGridHeaderBase);
|
|
156
|
-
// Cards have no header row: the fallback card reads the columns from this element's props, and no sort control renders.
|
|
157
|
-
const TableHeaderBase = (props, ref) => {
|
|
158
|
-
const { layout } = useContext(TableContext);
|
|
159
|
-
return layout === 'cards' ? null : jsx(TableGridHeader, { ...props, ref: ref });
|
|
160
|
-
};
|
|
161
|
-
/** The row of column headers: one `Table.Head` per column, and select all with multiple selection; nothing in the cards layout. */
|
|
162
|
-
const TableHeader = forwardRef(TableHeaderBase);
|
|
163
|
-
TableHeader.displayName = 'TableHeader';
|
|
164
|
-
/** One column header, with an optional `label`, help `tooltip` and sort arrow; its `id` keys the column. */
|
|
165
|
-
const TableHead = ({ className, tooltip, label, children, 'data-testid': dataTestId, ...props }) => {
|
|
166
|
-
const { selectionBehavior } = useTableOptions();
|
|
167
|
-
const { testIdPrefix } = useContext(TableContext);
|
|
168
|
-
const colTestId = dataTestId ?? (testIdPrefix && props.id !== undefined ? joinTestId(testIdPrefix, `col-${slugifyTestId(String(props.id))}`) : undefined);
|
|
169
|
-
return (jsx(Column, { ...props, "data-testid": colTestId, className: (state) => 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) => (jsxs(Group, { className: "flex items-center gap-1", children: [jsxs("div", { className: "flex items-center gap-1", children: [label && jsx("span", { className: "text-xs font-semibold whitespace-nowrap text-quaternary", children: label }), typeof children === 'function' ? children(state) : children] }), tooltip && (jsx(Tooltip, { title: tooltip, placement: "top", children: jsx(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: jsx(HelpCircle, { className: "size-4" }) }) })), state.allowsSorting && jsx(TableSortIcon, { sortDirection: state.sortDirection })] })) }));
|
|
170
|
-
};
|
|
171
|
-
TableHead.displayName = 'TableHead';
|
|
172
|
-
// 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.
|
|
173
|
-
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-['']";
|
|
174
|
-
const TableGridRowBase = ({ columns, children, className, highlightSelectedRow = true, isHighlighted = false, color, size: sizeProp, 'data-testid': dataTestId, ...props }, ref) => {
|
|
175
|
-
const context = useContext(TableContext);
|
|
176
|
-
const { selectionBehavior, selectionMode } = useTableOptions();
|
|
177
|
-
const size = sizeProp ?? context.size;
|
|
178
|
-
const rowTestId = rowTestIdOf(context.testIdPrefix, props.id, dataTestId);
|
|
179
|
-
// Function children render their own cells, and a skeleton only counts as a direct child, so only nodes are split.
|
|
180
|
-
const rowChildren = typeof children === 'function' ? undefined : splitRowChildren(children, columns, isRowCardElement);
|
|
181
|
-
// A row carrying `Table.RowCard.Skeleton` is a placeholder here too: nothing to press, select or count in select all.
|
|
182
|
-
const isPlaceholder = rowChildren?.card?.type === TableRowCardSkeleton;
|
|
183
|
-
// A click does something on the row itself: its own action or link, the table's row action, or selection by row.
|
|
184
|
-
const isInteractive = !isPlaceholder && (props.onAction !== undefined || props.href !== undefined || context.hasRowAction === true || selectionMode !== 'none');
|
|
185
|
-
const { id, isDisabled } = props;
|
|
186
|
-
useRegisterSelectableRow(context.registerRow, id, isDisabled || isPlaceholder);
|
|
187
|
-
useRegisterPlaceholderRow(context.registerPlaceholder, id, isPlaceholder);
|
|
188
|
-
return (jsxs(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('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',
|
|
189
|
-
// Before the highlight, which replaces it; hover keeps its neutral surface over it.
|
|
190
|
-
color && !isPlaceholder && styles.rowColors[color], ((highlightSelectedRow && state.isSelected) || isHighlighted) && HIGHLIGHTED_ROW_CLASSNAME, isInteractive && (state.isDisabled ? 'cursor-default' : 'cursor-pointer'),
|
|
191
|
-
// Row border—using an "after" pseudo-element to avoid the border taking up space.
|
|
192
|
-
'[&>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' && (jsx(Cell, { className: cx('relative py-2 pr-0 pl-4', size === 'sm' ? 'md:pl-5' : 'md:pl-6'), children: jsx("div", { className: "flex items-end", children: jsx(Checkbox, { slot: "selection", size: "md", "data-testid": rowTestId ? joinTestId(rowTestId, 'selection') : undefined }) }) })), jsx(Collection, { items: reusableIterableOf(columns), children: rowChildren ? rowChildren.cells : children })] }));
|
|
193
|
-
};
|
|
194
|
-
// As for `TableHeader`: the cast restores the type parameter `forwardRef` drops.
|
|
195
|
-
const TableGridRow = forwardRef(TableGridRowBase);
|
|
196
|
-
// The row reads its layout from the table, which asks the viewport once for every row.
|
|
197
|
-
const TableRowBase = (props, ref) => {
|
|
198
|
-
const { layout } = useContext(TableContext);
|
|
199
|
-
return layout === 'cards' ? jsx(TableCardRow, { ...props, ref: ref }) : jsx(TableGridRow, { ...props, ref: ref });
|
|
200
|
-
};
|
|
201
|
-
/** One row of cells, or its `Table.RowCard` in the cards layout; give it an `id` for selection and its test id. */
|
|
202
|
-
const TableRow = forwardRef(TableRowBase);
|
|
203
|
-
TableRow.displayName = 'TableRow';
|
|
204
|
-
const TableGridCell = forwardRef(({ className, children, size: sizeProp, ...props }, ref) => {
|
|
205
|
-
const context = useContext(TableContext);
|
|
206
|
-
const { selectionBehavior } = useTableOptions();
|
|
207
|
-
const size = sizeProp ?? context.size;
|
|
208
|
-
return (jsx(Cell, { ...props, ref: ref, className: (state) => 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 }));
|
|
209
|
-
});
|
|
210
|
-
// Every state off: a card is not a grid of cells, so nothing in it is a focused, hovered or selected cell.
|
|
211
|
-
const CARD_CELL_STATE = {
|
|
212
|
-
isPressed: false,
|
|
213
|
-
isFocused: false,
|
|
214
|
-
isFocusVisible: false,
|
|
215
|
-
isHovered: false,
|
|
216
|
-
isSelected: false,
|
|
217
|
-
isDisabled: false,
|
|
218
|
-
isFocusVisibleWithinRow: false,
|
|
219
|
-
isTreeColumn: false,
|
|
220
|
-
isExpanded: false,
|
|
221
|
-
hasChildItems: false,
|
|
222
|
-
level: 1,
|
|
223
|
-
defaultChildren: undefined,
|
|
224
|
-
};
|
|
225
|
-
// In a card a cell is its content: its padding, `className` and span are written for the table.
|
|
226
|
-
const TableCardCell = ({ children, className, style, colSpan, size, textValue, id, render: _tableCellRender, ...props }) => {
|
|
227
|
-
const content = typeof children === 'function' ? children(CARD_CELL_STATE) : children;
|
|
228
|
-
// 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.
|
|
229
|
-
const cellProps = cardCellPropsOf(props);
|
|
230
|
-
if (Object.keys(cellProps).length === 0)
|
|
231
|
-
return content;
|
|
232
|
-
return (jsx("div", { className: "contents", ...cellProps, children: content }));
|
|
233
|
-
};
|
|
234
|
-
/** One cell of a row; in the cards layout only the fallback card shows it: its content, with its `data-*` and handlers. */
|
|
235
|
-
const TableCell = forwardRef((props, ref) => {
|
|
236
|
-
const { layout } = useContext(TableContext);
|
|
237
|
-
return layout === 'cards' ? jsx(TableCardCell, { ...props }) : jsx(TableGridCell, { ...props, ref: ref });
|
|
238
|
-
});
|
|
239
|
-
TableCell.displayName = 'TableCell';
|
|
240
|
-
// What a loading row draws for a part its `loadingRow` leaves out: a bar of about a line of text, which fits both sizes.
|
|
241
|
-
const LOADING_ROW_DEFAULTS = {
|
|
242
|
-
isCard: isRowCardElement,
|
|
243
|
-
isSkeletonCard: (element) => element.type === TableRowCardSkeleton,
|
|
244
|
-
// As wide as its column up to 96px, so a narrow column such as a row's actions stays narrow. The row-header cell names
|
|
245
|
-
// the row "Loading", as a loading card is named, so it is no empty `rowheader`.
|
|
246
|
-
cellOf: (column, isRowHeader) => (jsxs(TableCell, { children: [jsx(Skeleton, { width: "100%", height: 14, radius: "sm", className: "max-w-24" }), isRowHeader && jsx("span", { className: "sr-only", children: "Loading" })] }, column)),
|
|
247
|
-
card: jsx(TableRowCardSkeleton, {}),
|
|
248
|
-
};
|
|
249
|
-
// Placeholders in both layouts, as a row carrying `Table.RowCard.Skeleton` is: nothing to press, select or count in select all.
|
|
250
|
-
const renderLoadingRows = (count, { cells, card }) => loadingRowIdsOf(count).map((id) => (jsxs(TableRow, { id: id, children: [cells, card] }, id)));
|
|
251
|
-
const TableBodyBase = (props, ref) => {
|
|
252
|
-
const { layout, loadingRows } = useContext(TableContext);
|
|
253
|
-
// A one-shot `items` is read once, so the card list still gets the rows after the table had them, as crossing `md` does.
|
|
254
|
-
const bodyProps = loadingBodyPropsOf({ ...props, items: reusableIterableOf(props.items) }, loadingRows);
|
|
255
|
-
return layout === 'cards' ? (jsx(TableCardList, { ...bodyProps, ref: ref })) : (jsx(TableBody$1, { ...bodyProps, ref: ref }));
|
|
256
|
-
};
|
|
257
|
-
// As for `TableHeader`: the cast restores the type parameter `forwardRef` drops.
|
|
258
|
-
/** The table's rows, with `renderEmptyState` for when there are none; while the table `isLoading`, its loading rows instead; in the cards layout, the one `grid` that holds every card. */
|
|
259
|
-
const TableBody = forwardRef(TableBodyBase);
|
|
260
|
-
TableBody.displayName = 'TableBody';
|
|
261
|
-
const TableCard = {
|
|
262
|
-
Root: TableCardRoot,
|
|
263
|
-
Header: TableCardHeader,
|
|
264
|
-
};
|
|
265
|
-
/** The card a `Table.Row` shows in the cards layout, built from its `Header`, `Content` and `Footer`, or its `Skeleton` while loading. */
|
|
266
|
-
const TableRowCardCompound = TableRowCard;
|
|
267
|
-
TableRowCardCompound.Header = TableRowCardHeader;
|
|
268
|
-
TableRowCardCompound.Content = TableRowCardContent;
|
|
269
|
-
TableRowCardCompound.Footer = TableRowCardFooter;
|
|
270
|
-
TableRowCardCompound.Skeleton = TableRowCardSkeleton;
|
|
271
|
-
/**
|
|
272
|
-
* Displays structured data in rows and columns with selection, sorting and keyboard navigation, or as one card per row:
|
|
273
|
-
* below `md` unless `mobileLayout` opts out, and from `md` when `desktopLayout` asks. Wrap it in `TableCard.Root`; on a page the title comes from
|
|
274
|
-
* `PageHeader` and search or filters from a `FilterBar` above the card.
|
|
275
|
-
*
|
|
276
|
-
* @summary data table with selection, sorting and cards on mobile
|
|
277
|
-
*/
|
|
278
|
-
const Table = TableRoot;
|
|
279
|
-
Table.Body = TableBody;
|
|
280
|
-
Table.RowCard = TableRowCardCompound;
|
|
281
|
-
Table.Cell = TableCell;
|
|
282
|
-
Table.Head = TableHead;
|
|
283
|
-
Table.Header = TableHeader;
|
|
284
|
-
Table.Row = TableRow;
|
|
3
|
+
// `typeof` keeps the compounds' members, and lets the declaration name props types `Tables` does not export.
|
|
4
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
5
|
+
const Table = Table$1;
|
|
6
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
7
|
+
const TableCard = TableCard$1;
|
|
8
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
9
|
+
const TableRowActionsDropdown = TableRowActionsDropdown$1;
|
|
10
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
11
|
+
const TableSortMenu = TableSortMenu$1;
|
|
12
|
+
/** @deprecated Import from `@flipdish/ui-library/components/organisms/Tables`. Removed in the next major. */
|
|
13
|
+
const TableLayoutToggle = TableLayoutToggle$1;
|
|
285
14
|
|
|
286
|
-
export { Table, TableCard, TableRowActionsDropdown };
|
|
15
|
+
export { Table, TableCard, TableLayoutToggle, TableRowActionsDropdown, TableSortMenu };
|
|
287
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/organisms/Table/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx","AriaCollectionRendererContext","AriaTable","AriaTableHeader","AriaColumn","AriaCollection","AriaGroup","AriaRow","AriaCell","AriaTableBody"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyFA;AACO,MAAM,uBAAuB,GAAG,OACrCA,IAAA,CAAC,QAAQ,CAAC,IAAI,eACZC,GAAA,CAAC,QAAQ,CAAC,UAAU,EAAA,EAAC,KAAK,EAAC,UAAU,EAAA,CAAG,EAExCA,IAAC,QAAQ,CAAC,OAAO,EAAA,EAAC,SAAS,EAAC,OAAO,EAAA,QAAA,EACjCD,KAAC,QAAQ,CAAC,IAAI,EAAA,EAAA,QAAA,EAAA,CACZC,GAAA,CAAC,QAAQ,CAAC,IAAI,IAAC,IAAI,EAAE,MAAM,EAAA,QAAA,EACzBA,cAAM,SAAS,EAAC,MAAM,EAAA,QAAA,EAAA,MAAA,EAAA,CAAY,EAAA,CACpB,EAChBA,GAAA,CAAC,QAAQ,CAAC,IAAI,EAAA,EAAC,IAAI,EAAE,MAAM,YACzBA,GAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAC,MAAM,EAAA,QAAA,EAAA,WAA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EAAE,GAAG,EAAE,GAAmC,EAAA,CAAI,CAC3E;AACH,CAAC;AAED;AACA;AACA,MAAM,SAAS,GAAG,UAAU,CAAC,aAAa,CAEG;AAC7C,SAAS,CAAC,WAAW,GAAG,WAAW;AAEnC,MAAM,SAAS,GAAG;AAChB,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,MAAM,EAAE,eAAe;;AAGzB;AACA,MAAM,oBAAoB,GAAG,YAK5B;AACD,oBAAoB,CAAC,MAAM,GAAG,kBAAkB;AAChD,oBAAoB,CAAC,OAAO,GAAG,mBAAmB;AAClD,oBAAoB,CAAC,MAAM,GAAG,kBAAkB;AAChD,oBAAoB,CAAC,QAAQ,GAAG,oBAAoB;AAEpD;;;;;;AAMG;AACH,MAAM,KAAK,GAAG;AAQd,KAAK,CAAC,IAAI,GAAG,SAAS;AACtB,KAAK,CAAC,OAAO,GAAG,oBAAoB;AACpC,KAAK,CAAC,IAAI,GAAG,SAAS;AACtB,KAAK,CAAC,IAAI,GAAG,SAAS;AACtB,KAAK,CAAC,MAAM,GAAG,WAAW;AAC1B,KAAK,CAAC,GAAG,GAAG,QAAQ;;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/organisms/Table/index.tsx"],"sourcesContent":[null],"names":["TableNext","TableCardNext","TableRowActionsDropdownNext","TableSortMenuNext","TableLayoutToggleNext"],"mappings":";;AAqBA;AACA;AACO,MAAM,KAAK,GAAqBA;AACvC;AACO,MAAM,SAAS,GAAyBC;AAC/C;AACO,MAAM,uBAAuB,GAAGC;AACvC;AACO,MAAM,aAAa,GAAwEC;AAClG;AACO,MAAM,iBAAiB,GAAGC;;"}
|