@pega/lists-react 9.0.0-build.2.9 → 9.0.0-build.20.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 -4
- package/lib/Core/Components/A11y/RepeatingStructureA11y.d.ts +10 -5
- package/lib/Core/Components/A11y/RepeatingStructureA11y.d.ts.map +1 -1
- package/lib/Core/Components/A11y/RepeatingStructureA11y.js +27 -2
- package/lib/Core/Components/A11y/RepeatingStructureA11y.js.map +1 -1
- package/lib/Core/Components/AggregateMenu.d.ts +1 -0
- package/lib/Core/Components/AggregateMenu.d.ts.map +1 -1
- package/lib/Core/Components/AggregateMenu.js +32 -18
- package/lib/Core/Components/AggregateMenu.js.map +1 -1
- package/lib/Core/Components/ContextMenu/ContextMenuContainer.d.ts +6 -15
- package/lib/Core/Components/ContextMenu/ContextMenuContainer.d.ts.map +1 -1
- package/lib/Core/Components/ContextMenu/ContextMenuContainer.js +91 -163
- package/lib/Core/Components/ContextMenu/ContextMenuContainer.js.map +1 -1
- package/lib/Core/Components/ContextMenu/QuickFilter.js +7 -7
- package/lib/Core/Components/ContextMenu/QuickFilter.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/CustomCellWrapper.d.ts +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/CustomCellWrapper.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowActionMenu.d.ts +2 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowActionMenu.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowActionMenu.js +9 -21
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowActionMenu.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowDragDropHandle.d.ts +2 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowDragDropHandle.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowDragDropHandle.js +4 -3
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowDragDropHandle.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowError.d.ts +2 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowError.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowError.js +4 -3
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowError.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/index.d.ts +0 -2
- package/lib/Core/Components/DefaultComponents/CellRenderers/index.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/index.js +0 -2
- package/lib/Core/Components/DefaultComponents/CellRenderers/index.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/EmptyContainer.d.ts +5 -1
- package/lib/Core/Components/DefaultComponents/EmptyContainer.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/EmptyContainer.js +12 -5
- package/lib/Core/Components/DefaultComponents/EmptyContainer.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/PersonalizationCreateEdit.d.ts +3 -2
- package/lib/Core/Components/DefaultComponents/PersonalizationCreateEdit.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/PersonalizationCreateEdit.js +13 -26
- package/lib/Core/Components/DefaultComponents/PersonalizationCreateEdit.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/PersonalizationDeleteConfirmation.js +2 -2
- package/lib/Core/Components/DefaultComponents/PersonalizationDeleteConfirmation.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/PersonalizationSelector.d.ts +0 -2
- package/lib/Core/Components/DefaultComponents/PersonalizationSelector.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/PersonalizationSelector.js +11 -9
- package/lib/Core/Components/DefaultComponents/PersonalizationSelector.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/SelectAllCheckbox.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/SelectAllCheckbox.js +5 -0
- package/lib/Core/Components/DefaultComponents/SelectAllCheckbox.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/index.d.ts +5 -3
- package/lib/Core/Components/DefaultComponents/index.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/index.js +0 -2
- package/lib/Core/Components/DefaultComponents/index.js.map +1 -1
- package/lib/Core/Components/Filters/CommonFilter.d.ts.map +1 -1
- package/lib/Core/Components/Filters/CommonFilter.js +2 -2
- package/lib/Core/Components/Filters/CommonFilter.js.map +1 -1
- package/lib/Core/Components/Filters/FilterType.js +5 -5
- package/lib/Core/Components/Filters/FilterType.js.map +1 -1
- package/lib/Core/Components/Filters/SelectFilter.d.ts.map +1 -1
- package/lib/Core/Components/Filters/SelectFilter.js +2 -2
- package/lib/Core/Components/Filters/SelectFilter.js.map +1 -1
- package/lib/Core/Components/Filters/styles.d.ts +1 -1
- package/lib/Core/Components/FooterAggregators.d.ts.map +1 -1
- package/lib/Core/Components/FooterAggregators.js +3 -2
- package/lib/Core/Components/FooterAggregators.js.map +1 -1
- package/lib/Core/Components/GroupRenderer/GroupAdditionalFieldDataModal.d.ts +12 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalFieldDataModal.d.ts.map +1 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalFieldDataModal.js +62 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalFieldDataModal.js.map +1 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalInfo.d.ts +33 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalInfo.d.ts.map +1 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalInfo.js +106 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalInfo.js.map +1 -0
- package/lib/Core/Components/{GroupRenderer.d.ts → GroupRenderer/index.d.ts} +8 -1
- package/lib/Core/Components/GroupRenderer/index.d.ts.map +1 -0
- package/lib/Core/Components/GroupRenderer/index.js +367 -0
- package/lib/Core/Components/GroupRenderer/index.js.map +1 -0
- package/lib/Core/Components/Grouping/GroupingMenu.d.ts.map +1 -1
- package/lib/Core/Components/Grouping/GroupingMenu.js +6 -5
- package/lib/Core/Components/Grouping/GroupingMenu.js.map +1 -1
- package/lib/Core/Components/HeaderCell.d.ts.map +1 -1
- package/lib/Core/Components/HeaderCell.js +8 -5
- package/lib/Core/Components/HeaderCell.js.map +1 -1
- package/lib/Core/Components/HeaderMenu/actions.d.ts.map +1 -1
- package/lib/Core/Components/HeaderMenu/actions.js +3 -3
- package/lib/Core/Components/HeaderMenu/actions.js.map +1 -1
- package/lib/Core/Components/HeaderMenu/index.d.ts.map +1 -1
- package/lib/Core/Components/HeaderMenu/index.js +2 -2
- package/lib/Core/Components/HeaderMenu/index.js.map +1 -1
- package/lib/Core/Components/NotificationManager.js +1 -1
- package/lib/Core/Components/NotificationManager.js.map +1 -1
- package/lib/Core/Components/RSWrapper/HeaderBarGadget.d.ts.map +1 -1
- package/lib/Core/Components/RSWrapper/HeaderBarGadget.js +2 -1
- package/lib/Core/Components/RSWrapper/HeaderBarGadget.js.map +1 -1
- package/lib/Core/Components/RenderingEngine/RenderCell.d.ts +1 -1
- package/lib/Core/Components/RenderingEngine/RenderCell.d.ts.map +1 -1
- package/lib/Core/Components/RenderingEngine/RenderCell.js +2 -1
- package/lib/Core/Components/RenderingEngine/RenderCell.js.map +1 -1
- package/lib/Core/Components/TestIdConstants.d.ts +1 -0
- package/lib/Core/Components/TestIdConstants.js +2 -1
- package/lib/Core/Components/TestIdConstants.js.map +1 -1
- package/lib/Core/Components/Toolbar/AdvanceToolbar.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/AdvanceToolbar.js +9 -33
- package/lib/Core/Components/Toolbar/AdvanceToolbar.js.map +1 -1
- package/lib/Core/Components/Toolbar/AnnounceRowsCount.d.ts +1 -1
- package/lib/Core/Components/Toolbar/AnnounceRowsCount.js +1 -1
- package/lib/Core/Components/Toolbar/AnnounceRowsCount.js.map +1 -1
- package/lib/Core/Components/Toolbar/ColumnSelector.d.ts +20 -9
- package/lib/Core/Components/Toolbar/ColumnSelector.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/ColumnSelector.js +89 -65
- package/lib/Core/Components/Toolbar/ColumnSelector.js.map +1 -1
- package/lib/Core/Components/Toolbar/DebugInfo.d.ts +3 -5
- package/lib/Core/Components/Toolbar/DebugInfo.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/DebugInfo.js +3 -3
- package/lib/Core/Components/Toolbar/DebugInfo.js.map +1 -1
- package/lib/Core/Components/Toolbar/FieldSelector.d.ts +1 -0
- package/lib/Core/Components/Toolbar/FieldSelector.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/FieldSelector.js +3 -2
- package/lib/Core/Components/Toolbar/FieldSelector.js.map +1 -1
- package/lib/Core/Components/Toolbar/Grouping.types.d.ts +0 -6
- package/lib/Core/Components/Toolbar/Grouping.types.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/Grouping.types.js.map +1 -1
- package/lib/Core/Components/Toolbar/SimpleToolbar.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/SimpleToolbar.js +4 -3
- package/lib/Core/Components/Toolbar/SimpleToolbar.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/DateFunctionSelector.d.ts +14 -18
- package/lib/Core/Components/Toolbar/hooks/useGroup/DateFunctionSelector.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/DateFunctionSelector.js +15 -16
- package/lib/Core/Components/Toolbar/hooks/useGroup/DateFunctionSelector.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/GroupRenderer.d.ts +2 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/GroupRenderer.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/GroupRenderer.js +10 -7
- package/lib/Core/Components/Toolbar/hooks/useGroup/GroupRenderer.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/useGroup.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/useGroup.js +6 -3
- package/lib/Core/Components/Toolbar/hooks/useGroup/useGroup.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/utils.d.ts +7 -2
- package/lib/Core/Components/Toolbar/hooks/useGroup/utils.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/utils.js +11 -3
- package/lib/Core/Components/Toolbar/hooks/useGroup/utils.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useMore.d.ts +1 -1
- package/lib/Core/Components/Toolbar/hooks/useMore.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useMore.js +81 -79
- package/lib/Core/Components/Toolbar/hooks/useMore.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/usePersonalization.d.ts +8 -6
- package/lib/Core/Components/Toolbar/hooks/usePersonalization.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/usePersonalization.js +18 -3
- package/lib/Core/Components/Toolbar/hooks/usePersonalization.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSearch.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSearch.js +6 -9
- package/lib/Core/Components/Toolbar/hooks/useSearch.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/Row.d.ts +4 -4
- package/lib/Core/Components/Toolbar/hooks/useSort/Row.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/Row.js +6 -6
- package/lib/Core/Components/Toolbar/hooks/useSort/Row.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/SortRenderer.d.ts +2 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/SortRenderer.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/SortRenderer.js +8 -2
- package/lib/Core/Components/Toolbar/hooks/useSort/SortRenderer.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/useSort.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/useSort.js +2 -2
- package/lib/Core/Components/Toolbar/hooks/useSort/useSort.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useWrapAction.d.ts +6 -0
- package/lib/Core/Components/Toolbar/hooks/useWrapAction.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useWrapAction.js +17 -0
- package/lib/Core/Components/Toolbar/hooks/useWrapAction.js.map +1 -0
- package/lib/Core/Components/Toolbar/utils/utils.d.ts +1 -1
- package/lib/Core/Components/Toolbar/utils/utils.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/utils/utils.js +2 -1
- package/lib/Core/Components/Toolbar/utils/utils.js.map +1 -1
- package/lib/Core/Components/Virtualise/Pagination.d.ts.map +1 -1
- package/lib/Core/Components/Virtualise/Pagination.js +2 -1
- package/lib/Core/Components/Virtualise/Pagination.js.map +1 -1
- package/lib/Core/Components/Virtualise/UseScroll.d.ts +4 -1
- package/lib/Core/Components/Virtualise/UseScroll.d.ts.map +1 -1
- package/lib/Core/Components/Virtualise/UseScroll.js +16 -3
- package/lib/Core/Components/Virtualise/UseScroll.js.map +1 -1
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/VariableHeightVirtualizer.d.ts +97 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/VariableHeightVirtualizer.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/VariableHeightVirtualizer.js +251 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/VariableHeightVirtualizer.js.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useChildrenHeightResizeObserver.d.ts +22 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useChildrenHeightResizeObserver.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useChildrenHeightResizeObserver.js +38 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useChildrenHeightResizeObserver.js.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useLoaderPositioning.d.ts +22 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useLoaderPositioning.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useLoaderPositioning.js +45 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useLoaderPositioning.js.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/usePagination.d.ts +49 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/usePagination.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/usePagination.js +55 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/usePagination.js.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useScroll.d.ts +21 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useScroll.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useScroll.js +39 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useScroll.js.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useVirtualizerItemCount.d.ts +38 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useVirtualizerItemCount.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useVirtualizerItemCount.js +62 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useVirtualizerItemCount.js.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/utils.d.ts +112 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/utils.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/utils.js +214 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/utils.js.map +1 -0
- package/lib/Core/Components/Virtualise/VirtualizeInfinite.js +21 -8
- package/lib/Core/Components/Virtualise/VirtualizeInfinite.js.map +1 -1
- package/lib/Core/Components/Virtualise/index.js +21 -13
- package/lib/Core/Components/Virtualise/index.js.map +1 -1
- package/lib/Core/Components/Virtualise/utility.d.ts +1 -1
- package/lib/Core/Components/Virtualise/utility.d.ts.map +1 -1
- package/lib/Core/Components/Virtualise/utility.js +3 -2
- package/lib/Core/Components/Virtualise/utility.js.map +1 -1
- package/lib/Core/Context/LocalizationContext.d.ts +1 -1
- package/lib/Core/Context/LocalizationContext.d.ts.map +1 -1
- package/lib/Core/Context/LocalizationContext.js.map +1 -1
- package/lib/Core/Hooks/a11y/useAnnounce.d.ts +19 -0
- package/lib/Core/Hooks/a11y/useAnnounce.d.ts.map +1 -0
- package/lib/Core/Hooks/a11y/useAnnounce.js +49 -0
- package/lib/Core/Hooks/a11y/useAnnounce.js.map +1 -0
- package/lib/Core/Hooks/useDragDrop.d.ts.map +1 -1
- package/lib/Core/Hooks/useDragDrop.js +2 -0
- package/lib/Core/Hooks/useDragDrop.js.map +1 -1
- package/lib/Core/Hooks/useRepeat.d.ts.map +1 -1
- package/lib/Core/Hooks/useRepeat.js +20 -1
- package/lib/Core/Hooks/useRepeat.js.map +1 -1
- package/lib/Core/Localization/defaultTranslations.d.ts +16 -13
- package/lib/Core/Localization/defaultTranslations.d.ts.map +1 -1
- package/lib/Core/Localization/defaultTranslations.js +17 -14
- package/lib/Core/Localization/defaultTranslations.js.map +1 -1
- package/lib/Core/Test/JUnitMocks.d.ts +6 -617
- package/lib/Core/Test/JUnitMocks.d.ts.map +1 -1
- package/lib/Core/Test/JUnitMocks.js +5 -4
- package/lib/Core/Test/JUnitMocks.js.map +1 -1
- package/lib/Core/Utils/index.d.ts +11 -0
- package/lib/Core/Utils/index.d.ts.map +1 -1
- package/lib/Core/Utils/index.js +22 -8
- package/lib/Core/Utils/index.js.map +1 -1
- package/lib/Core/Utils/styles.d.ts +2 -2
- package/lib/Core/Utils/styles.d.ts.map +1 -1
- package/lib/Core/Views/Gallery/Components/GalleryCard.d.ts +4 -0
- package/lib/Core/Views/Gallery/Components/GalleryCard.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryCard.js +18 -0
- package/lib/Core/Views/Gallery/Components/GalleryCard.js.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryCheckboxCard.d.ts +8 -0
- package/lib/Core/Views/Gallery/Components/GalleryCheckboxCard.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryCheckboxCard.js +25 -0
- package/lib/Core/Views/Gallery/Components/GalleryCheckboxCard.js.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryFieldValue.d.ts +8 -0
- package/lib/Core/Views/Gallery/Components/GalleryFieldValue.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryFieldValue.js +8 -0
- package/lib/Core/Views/Gallery/Components/GalleryFieldValue.js.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryHeader.d.ts +8 -0
- package/lib/Core/Views/Gallery/Components/GalleryHeader.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryHeader.js +15 -0
- package/lib/Core/Views/Gallery/Components/GalleryHeader.js.map +1 -0
- package/lib/Core/Views/Gallery/Gallery.types.d.ts +8 -0
- package/lib/Core/Views/Gallery/Gallery.types.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/Gallery.types.js +2 -0
- package/lib/Core/Views/Gallery/Gallery.types.js.map +1 -0
- package/lib/Core/Views/Gallery/StyledGalleryContainer.d.ts +13 -1
- package/lib/Core/Views/Gallery/StyledGalleryContainer.d.ts.map +1 -1
- package/lib/Core/Views/Gallery/StyledGalleryContainer.js +30 -40
- package/lib/Core/Views/Gallery/StyledGalleryContainer.js.map +1 -1
- package/lib/Core/Views/Gallery/_tests_/Samples/GalleryA11ySample.js +1 -1
- package/lib/Core/Views/Gallery/_tests_/Samples/GalleryA11ySample.js.map +1 -1
- package/lib/Core/Views/Gallery/hooks/useRowActions.d.ts +9 -0
- package/lib/Core/Views/Gallery/hooks/useRowActions.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/hooks/useRowActions.js +25 -0
- package/lib/Core/Views/Gallery/hooks/useRowActions.js.map +1 -0
- package/lib/Core/Views/Gallery/index.d.ts +4 -8
- package/lib/Core/Views/Gallery/index.d.ts.map +1 -1
- package/lib/Core/Views/Gallery/index.js +22 -62
- package/lib/Core/Views/Gallery/index.js.map +1 -1
- package/lib/Core/Views/Gallery/utils.d.ts +36 -0
- package/lib/Core/Views/Gallery/utils.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/utils.js +91 -0
- package/lib/Core/Views/Gallery/utils.js.map +1 -0
- package/lib/Core/Views/Map/Map.styles.d.ts +190 -6
- package/lib/Core/Views/Map/Map.styles.d.ts.map +1 -1
- package/lib/Core/Views/Map/Map.styles.js.map +1 -1
- package/lib/Core/Views/Map/index.d.ts.map +1 -1
- package/lib/Core/Views/Map/index.js +10 -4
- package/lib/Core/Views/Map/index.js.map +1 -1
- package/lib/Core/Views/RsCardWrapper.js.map +1 -1
- package/lib/Core/Views/Table/CellWrapper.d.ts +1 -1
- package/lib/Core/Views/Table/CellWrapper.d.ts.map +1 -1
- package/lib/Core/Views/Table/CellWrapper.js +4 -2
- package/lib/Core/Views/Table/CellWrapper.js.map +1 -1
- package/lib/Core/Views/Table/HeaderWrapper.d.ts.map +1 -1
- package/lib/Core/Views/Table/HeaderWrapper.js +5 -5
- package/lib/Core/Views/Table/HeaderWrapper.js.map +1 -1
- package/lib/Core/Views/Table/Row.d.ts +3 -1
- package/lib/Core/Views/Table/Row.d.ts.map +1 -1
- package/lib/Core/Views/Table/Row.js +5 -3
- package/lib/Core/Views/Table/Row.js.map +1 -1
- package/lib/Core/Views/Table/SkeletonRows.d.ts +1 -1
- package/lib/Core/Views/Table/SkeletonRows.d.ts.map +1 -1
- package/lib/Core/Views/Table/StyledTableContainer.d.ts +3 -1
- package/lib/Core/Views/Table/StyledTableContainer.d.ts.map +1 -1
- package/lib/Core/Views/Table/StyledTableContainer.js +269 -158
- package/lib/Core/Views/Table/StyledTableContainer.js.map +1 -1
- package/lib/Core/Views/Table/TableA11y.d.ts +11 -0
- package/lib/Core/Views/Table/TableA11y.d.ts.map +1 -1
- package/lib/Core/Views/Table/TableA11y.js +207 -2
- package/lib/Core/Views/Table/TableA11y.js.map +1 -1
- package/lib/Core/Views/Table/VirtualizeWrapper.d.ts +5 -1
- package/lib/Core/Views/Table/VirtualizeWrapper.d.ts.map +1 -1
- package/lib/Core/Views/Table/VirtualizeWrapper.js +38 -15
- package/lib/Core/Views/Table/VirtualizeWrapper.js.map +1 -1
- package/lib/Core/Views/Table/index.d.ts.map +1 -1
- package/lib/Core/Views/Table/index.js +6 -4
- package/lib/Core/Views/Table/index.js.map +1 -1
- package/lib/Core/Views/Table/useCountChange.d.ts +10 -0
- package/lib/Core/Views/Table/useCountChange.d.ts.map +1 -0
- package/lib/Core/Views/Table/useCountChange.js +39 -0
- package/lib/Core/Views/Table/useCountChange.js.map +1 -0
- package/lib/Core/Views/Timeline/Timeline.d.ts +5 -0
- package/lib/Core/Views/Timeline/Timeline.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/Timeline.js +28 -0
- package/lib/Core/Views/Timeline/Timeline.js.map +1 -0
- package/lib/Core/Views/Timeline/Timeline.styles.d.ts +393 -0
- package/lib/Core/Views/Timeline/Timeline.styles.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/Timeline.styles.js +175 -0
- package/lib/Core/Views/Timeline/Timeline.styles.js.map +1 -0
- package/lib/Core/Views/Timeline/Timeline.types.d.ts +48 -0
- package/lib/Core/Views/Timeline/Timeline.types.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/Timeline.types.js +2 -0
- package/lib/Core/Views/Timeline/Timeline.types.js.map +1 -0
- package/lib/Core/Views/Timeline/TimelineItem.d.ts +12 -0
- package/lib/Core/Views/Timeline/TimelineItem.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/TimelineItem.js +43 -0
- package/lib/Core/Views/Timeline/TimelineItem.js.map +1 -0
- package/lib/Core/Views/Timeline/__tests__/Timeline.mocks.d.ts +4 -0
- package/lib/Core/Views/Timeline/__tests__/Timeline.mocks.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/__tests__/Timeline.mocks.js +141 -0
- package/lib/Core/Views/Timeline/__tests__/Timeline.mocks.js.map +1 -0
- package/lib/Core/Views/Timeline/index.d.ts.map +1 -1
- package/lib/Core/Views/Timeline/index.js +14 -8
- package/lib/Core/Views/Timeline/index.js.map +1 -1
- package/lib/Core/Views/Timeline/utils.d.ts +10 -0
- package/lib/Core/Views/Timeline/utils.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/utils.js +144 -0
- package/lib/Core/Views/Timeline/utils.js.map +1 -0
- package/lib/Core/Views/rs-styles.d.ts +1 -1
- package/lib/Core/constants.d.ts.map +1 -1
- package/lib/Core/constants.js +1 -0
- package/lib/Core/constants.js.map +1 -1
- package/lib/Core/templateFeatureSupport.d.ts +17 -0
- package/lib/Core/templateFeatureSupport.d.ts.map +1 -0
- package/lib/Core/templateFeatureSupport.js +30 -0
- package/lib/Core/templateFeatureSupport.js.map +1 -0
- package/lib/types.d.ts +2 -0
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js.map +1 -1
- package/package.json +11 -12
- package/lib/Core/Components/DefaultComponents/CardItem.d.ts +0 -3
- package/lib/Core/Components/DefaultComponents/CardItem.d.ts.map +0 -1
- package/lib/Core/Components/DefaultComponents/CardItem.js +0 -78
- package/lib/Core/Components/DefaultComponents/CardItem.js.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/DateTime.d.ts +0 -12
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/DateTime.d.ts.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/DateTime.js +0 -35
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/DateTime.js.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/Radio.d.ts +0 -15
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/Radio.d.ts.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/Radio.js +0 -49
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/Radio.js.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/TextInput.d.ts +0 -12
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/TextInput.d.ts.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/TextInput.js +0 -44
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/TextInput.js.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/index.d.ts +0 -16
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/index.d.ts.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/index.js +0 -63
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/index.js.map +0 -1
- package/lib/Core/Components/EmptyContainer.d.ts +0 -5
- package/lib/Core/Components/EmptyContainer.d.ts.map +0 -1
- package/lib/Core/Components/EmptyContainer.js +0 -12
- package/lib/Core/Components/EmptyContainer.js.map +0 -1
- package/lib/Core/Components/GroupRenderer.d.ts.map +0 -1
- package/lib/Core/Components/GroupRenderer.js +0 -240
- package/lib/Core/Components/GroupRenderer.js.map +0 -1
- package/lib/Core/Components/Toolbar/KeyboardInstructions.d.ts +0 -6
- package/lib/Core/Components/Toolbar/KeyboardInstructions.d.ts.map +0 -1
- package/lib/Core/Components/Toolbar/KeyboardInstructions.js +0 -32
- package/lib/Core/Components/Toolbar/KeyboardInstructions.js.map +0 -1
- package/lib/Core/Components/Toolbar/Timeline/TimelineToolbar.d.ts +0 -8
- package/lib/Core/Components/Toolbar/Timeline/TimelineToolbar.d.ts.map +0 -1
- package/lib/Core/Components/Toolbar/Timeline/TimelineToolbar.js +0 -61
- package/lib/Core/Components/Toolbar/Timeline/TimelineToolbar.js.map +0 -1
- package/lib/Core/Hooks/useSelect.d.ts +0 -9
- package/lib/Core/Hooks/useSelect.d.ts.map +0 -1
- package/lib/Core/Hooks/useSelect.js +0 -24
- package/lib/Core/Hooks/useSelect.js.map +0 -1
- package/lib/Core/Views/Gallery/ItemWrapper.d.ts +0 -19
- package/lib/Core/Views/Gallery/ItemWrapper.d.ts.map +0 -1
- package/lib/Core/Views/Gallery/ItemWrapper.js +0 -34
- package/lib/Core/Views/Gallery/ItemWrapper.js.map +0 -1
- package/lib/Core/Views/Timeline/utility.d.ts +0 -8
- package/lib/Core/Views/Timeline/utility.d.ts.map +0 -1
- package/lib/Core/Views/Timeline/utility.js +0 -120
- package/lib/Core/Views/Timeline/utility.js.map +0 -1
|
@@ -4,31 +4,65 @@ import styled, { css } from 'styled-components';
|
|
|
4
4
|
import { getLuminance, meetsContrastGuidelines, mix, readableColor, transparentize } from 'polished';
|
|
5
5
|
import { StyledStatus } from '@pega/cosmos-react-core/lib/components/Badges/Status';
|
|
6
6
|
import { StyledRadioCheck } from '@pega/cosmos-react-core/lib/components/RadioCheck/RadioCheck';
|
|
7
|
-
import { StyledLabel, calculateFontSize, tryCatch } from '@pega/cosmos-react-core';
|
|
7
|
+
import { StyledLabel, StyledProgressBackdrop, calculateFontSize, tryCatch, isSameColor } from '@pega/cosmos-react-core';
|
|
8
|
+
import { StyledTabPanel } from '@pega/cosmos-react-core/lib/components/Tabs/TabPanel';
|
|
8
9
|
import { generateRSDataContainerHeightStyles, generateRSHeightStyles } from '../../Utils/styles';
|
|
9
10
|
import { CellIcon } from './CellWrapper';
|
|
10
11
|
const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref: ref, ...props })))(({ theme, view, isFullscreen }) => {
|
|
11
|
-
|
|
12
|
+
let colIdToFillRemainingSpace;
|
|
13
|
+
let isAggregationApplied = false;
|
|
14
|
+
(view.columns ?? [])
|
|
15
|
+
.filter(c => !c.hidden)
|
|
16
|
+
.forEach(c => {
|
|
17
|
+
if (!colIdToFillRemainingSpace && c.field.fillAvailableSpace) {
|
|
18
|
+
colIdToFillRemainingSpace = c.field.id;
|
|
19
|
+
}
|
|
20
|
+
if (c.aggregated) {
|
|
21
|
+
isAggregationApplied = true;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
12
24
|
const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);
|
|
13
25
|
const showFreezeLine = view.state.responsive?.sm &&
|
|
14
26
|
!(view.hasNoRecords || view.hasNoFrozenColumns || view.bHideFreezeLine);
|
|
15
27
|
const selectedRowColor = tryCatch(() => mix(0.85, theme.base.palette['primary-background'], theme.base.palette.interactive));
|
|
16
28
|
const lightGreyColor = theme.base.colors.gray['extra-light'];
|
|
17
|
-
const freezeLineShadowTransparent = transparentize(0.9, theme.components.table.header['foreground-color']);
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
29
|
+
const freezeLineShadowTransparent = transparentize(getLuminance(theme.components.table.header['foreground-color']) < 0.5 ? 0.9 : 0.75, theme.components.table.header['foreground-color']);
|
|
30
|
+
const headerBackground = theme.components.table.header['background-color'];
|
|
31
|
+
const bodyPrimaryBackground = theme.components.table.body['background-color'];
|
|
32
|
+
const bodySecondaryBackground = theme.components.table.body['secondary-background-color'];
|
|
33
|
+
const secondaryBackgroundForEvenRow = isSameColor(headerBackground, bodyPrimaryBackground);
|
|
34
|
+
/* Calculating usable striped row background and foreground colors */
|
|
35
|
+
const stripedRowBackground = getLuminance(bodySecondaryBackground) > 0.5
|
|
36
|
+
? bodySecondaryBackground
|
|
37
|
+
: mix(0.75, bodyPrimaryBackground, bodySecondaryBackground);
|
|
38
|
+
const stripedRowContrast = meetsContrastGuidelines(theme.components.table.body['foreground-color'], stripedRowBackground).AA;
|
|
39
|
+
const useableStripedRowForeground = stripedRowContrast
|
|
40
|
+
? theme.components.table.body['foreground-color']
|
|
41
|
+
: readableColor(theme.components.table.body['foreground-color'], stripedRowBackground);
|
|
42
|
+
/* Calculating even row and odd row background and foreground colors */
|
|
43
|
+
const evenRowBackgroundColor = secondaryBackgroundForEvenRow
|
|
44
|
+
? bodySecondaryBackground
|
|
45
|
+
: bodyPrimaryBackground;
|
|
46
|
+
const useableEvenRowForeground = secondaryBackgroundForEvenRow
|
|
47
|
+
? useableStripedRowForeground
|
|
48
|
+
: theme.components.table.body['foreground-color'];
|
|
49
|
+
/* Calculating usable odd row background and foreground colors */
|
|
50
|
+
const oddRowBackgroundColor = secondaryBackgroundForEvenRow
|
|
51
|
+
? bodyPrimaryBackground
|
|
52
|
+
: bodySecondaryBackground;
|
|
53
|
+
const useableOddRowForeground = secondaryBackgroundForEvenRow
|
|
54
|
+
? theme.components.table.body['foreground-color']
|
|
55
|
+
: useableStripedRowForeground;
|
|
21
56
|
const headerForegroundContrast = meetsContrastGuidelines(theme.components.table.header['foreground-color'], theme.components.table.header['background-color']).AA;
|
|
22
57
|
const usableHeaderForeground = headerForegroundContrast
|
|
23
58
|
? theme.components.table.header['foreground-color']
|
|
24
59
|
: readableColor(theme.components.table.header['foreground-color'], theme.components.table.header['background-color']);
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
60
|
+
const borderVerticalInner = theme.components.table.border['vertical-inner'];
|
|
61
|
+
const borderVerticalOuter = theme.components.table.border['vertical-outer'];
|
|
62
|
+
const borderHorizontalInner = theme.components.table.border['horizontal-inner'] && !theme.components.table['striped-rows'];
|
|
63
|
+
const borderHorizontalOuter = theme.components.table.border['horizontal-outer'];
|
|
64
|
+
const showBorderOnLastStripedRow = theme.components.table.border['horizontal-inner'] && theme.components.table['striped-rows'];
|
|
29
65
|
return css `
|
|
30
|
-
--primary-background: ${theme.base.palette['primary-background']};
|
|
31
|
-
--secondary-background: ${theme.components.table.header['background-color']};
|
|
32
66
|
--forground-color: ${theme.base.palette['foreground-color']};
|
|
33
67
|
--interactive: ${theme.base.palette.interactive};
|
|
34
68
|
--medium-blue: ${theme.base.colors.blue.medium};
|
|
@@ -40,11 +74,12 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
40
74
|
--letter-spacing: ${theme.components.table.typography['letter-spacing']};
|
|
41
75
|
--cell-padding: ${theme.base.spacing};
|
|
42
76
|
--cell-vertical-padding: calc(${theme.base.spacing} * 0.5);
|
|
43
|
-
--header-cell-padding: 0 0.
|
|
44
|
-
--header-bg-color:
|
|
77
|
+
--header-cell-padding: 0 0.44rem 0 var(--cell-padding);
|
|
78
|
+
--header-bg-color: ${theme.components.table.header['background-color']};
|
|
45
79
|
--header-fg-color: ${usableHeaderForeground};
|
|
46
80
|
--default-group-header-height: 1.5rem;
|
|
47
81
|
--group-header-height: var(--default-group-header-height);
|
|
82
|
+
--group-bg-color: ${theme.components.table.body['secondary-background-color']};
|
|
48
83
|
--box-sizing: content-box;
|
|
49
84
|
--animation-ease: ${theme.base.animation.timing.ease};
|
|
50
85
|
--font-weight-semi-bold: ${theme.base['font-weight']['semi-bold']};
|
|
@@ -59,11 +94,27 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
59
94
|
|
|
60
95
|
.container {
|
|
61
96
|
${() => generateRSDataContainerHeightStyles()};
|
|
62
|
-
|
|
63
|
-
|
|
97
|
+
${borderHorizontalOuter &&
|
|
98
|
+
css `
|
|
99
|
+
border-top: var(--border-style);
|
|
100
|
+
border-bottom: var(--border-style);
|
|
101
|
+
`}
|
|
102
|
+
${borderVerticalOuter &&
|
|
103
|
+
css `
|
|
104
|
+
border-left: var(--border-style);
|
|
105
|
+
border-right: var(--border-style);
|
|
106
|
+
`}
|
|
107
|
+
${borderVerticalOuter &&
|
|
108
|
+
borderHorizontalOuter &&
|
|
109
|
+
css `
|
|
110
|
+
border-radius: var(--border-radius, ${theme.base['border-radius']});
|
|
111
|
+
`}
|
|
64
112
|
position: relative;
|
|
65
113
|
letter-spacing: var(--letter-spacing);
|
|
66
114
|
font-stretch: var(--font-stretch);
|
|
115
|
+
${StyledTabPanel} & ${StyledProgressBackdrop} {
|
|
116
|
+
border-radius: var(--border-radius, ${theme.base['border-radius']});
|
|
117
|
+
}
|
|
67
118
|
}
|
|
68
119
|
|
|
69
120
|
.hide-rows-till-ready .row[aria-rowindex] {
|
|
@@ -113,44 +164,16 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
113
164
|
grid-template-columns: auto;
|
|
114
165
|
}
|
|
115
166
|
|
|
116
|
-
.fallback,
|
|
117
|
-
.fallback-footer {
|
|
118
|
-
height: var(--row-height);
|
|
119
|
-
background-color: var(--header-bg-color);
|
|
120
|
-
color: var(--header-fg-color);
|
|
121
|
-
position: absolute;
|
|
122
|
-
width: 100%;
|
|
123
|
-
z-index: -1;
|
|
124
|
-
box-sizing: var(--box-sizing);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.fallback {
|
|
128
|
-
/* stylelint-disable unit-allowed-list */
|
|
129
|
-
top: -1px;
|
|
130
|
-
border-bottom: var(--border-style);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.fallback-footer {
|
|
134
|
-
top: 0;
|
|
135
|
-
border-top: var(--border-style);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.sticky-header {
|
|
139
|
-
display: grid;
|
|
140
|
-
position: sticky;
|
|
141
|
-
top: 0;
|
|
142
|
-
z-index: 6;
|
|
143
|
-
border-start-start-radius: inherit;
|
|
144
|
-
border-start-end-radius: inherit;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
167
|
.cell {
|
|
168
|
+
/* preventing cell from shrinking during autosize calculations */
|
|
169
|
+
flex-shrink: 0;
|
|
148
170
|
white-space: nowrap;
|
|
149
171
|
text-overflow: ellipsis;
|
|
150
172
|
overflow: hidden;
|
|
151
173
|
|
|
152
174
|
.icons-ph {
|
|
153
|
-
|
|
175
|
+
/* Maintaining action button aspect ratio of 1:1 with 24*24px width and height */
|
|
176
|
+
min-width: 1.5rem;
|
|
154
177
|
}
|
|
155
178
|
|
|
156
179
|
&.custom-item {
|
|
@@ -159,19 +182,8 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
159
182
|
}
|
|
160
183
|
|
|
161
184
|
.cell:focus {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
.cell.selection-border:focus,
|
|
166
|
-
.cell.editable-cell:focus {
|
|
167
|
-
outline: none 0;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.editable-cell > span {
|
|
171
|
-
height: 100%;
|
|
172
|
-
display: flex;
|
|
173
|
-
padding: 0 6px;
|
|
174
|
-
align-items: center;
|
|
185
|
+
box-shadow: ${theme.base.shadow['focus-inset']};
|
|
186
|
+
outline: none;
|
|
175
187
|
}
|
|
176
188
|
|
|
177
189
|
.row {
|
|
@@ -190,6 +202,7 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
190
202
|
}
|
|
191
203
|
|
|
192
204
|
> .header-lable-container {
|
|
205
|
+
/* stylelint-disable-next-line unit-allowed-list */
|
|
193
206
|
min-width: 20px;
|
|
194
207
|
}
|
|
195
208
|
/* stylelint-disable selector-max-class */
|
|
@@ -200,9 +213,13 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
200
213
|
|
|
201
214
|
> .cell,
|
|
202
215
|
.group-header-aggregation-row > .cell {
|
|
216
|
+
position: relative;
|
|
203
217
|
transition: transform 0.5s var(--animation-ease);
|
|
204
|
-
|
|
205
|
-
|
|
218
|
+
${borderVerticalInner &&
|
|
219
|
+
css `
|
|
220
|
+
border-right: var(--border-style);
|
|
221
|
+
`}
|
|
222
|
+
${borderHorizontalInner &&
|
|
206
223
|
css `
|
|
207
224
|
border-bottom: var(--border-style);
|
|
208
225
|
`}
|
|
@@ -225,14 +242,11 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
225
242
|
z-index: 4;
|
|
226
243
|
right: 0;
|
|
227
244
|
border-right: 0;
|
|
228
|
-
min-width: 32px;
|
|
229
245
|
justify-content: center;
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
overflow: visible;
|
|
235
|
-
}
|
|
246
|
+
${borderVerticalInner &&
|
|
247
|
+
css `
|
|
248
|
+
border-left: var(--border-style);
|
|
249
|
+
`}
|
|
236
250
|
|
|
237
251
|
/* The below styles are needed to avoid ellipses in safari when no text is present
|
|
238
252
|
and to hide the 'Actions' label */
|
|
@@ -241,19 +255,16 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
241
255
|
|
|
242
256
|
div.header-label {
|
|
243
257
|
text-overflow: unset;
|
|
244
|
-
span {
|
|
245
|
-
visibility: hidden;
|
|
246
|
-
}
|
|
247
258
|
}
|
|
248
259
|
}
|
|
249
260
|
&.aggregateCell {
|
|
250
|
-
background-color: var(--
|
|
261
|
+
background-color: var(--group-bg-color);
|
|
251
262
|
}
|
|
252
263
|
}
|
|
253
264
|
|
|
254
265
|
/** Adds bottom border to the last row of a group, when striped-rows are enabled */
|
|
255
266
|
&:has(+ .group-header-row) > .cell {
|
|
256
|
-
${
|
|
267
|
+
${showBorderOnLastStripedRow &&
|
|
257
268
|
css `
|
|
258
269
|
border-bottom: var(--border-style);
|
|
259
270
|
`}
|
|
@@ -262,26 +273,27 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
262
273
|
border-bottom: var(--border-style);
|
|
263
274
|
}
|
|
264
275
|
.group-header-aggregation-row {
|
|
265
|
-
> .cell {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
276
|
+
> .cell.cell-action {
|
|
277
|
+
overflow: initial;
|
|
278
|
+
|
|
279
|
+
/* extending border on the top left of row action cell as we need to show border for at the end group label value when row actions are present */
|
|
280
|
+
&::before {
|
|
281
|
+
content: '';
|
|
282
|
+
position: absolute;
|
|
283
|
+
inline-size: 0;
|
|
284
|
+
inset-inline-start: calc(var(--border-width) * -1);
|
|
285
|
+
inset-block-start: calc(var(--group-header-height) * -1);
|
|
286
|
+
block-size: var(--group-header-height);
|
|
287
|
+
${borderVerticalInner &&
|
|
288
|
+
css `
|
|
277
289
|
border-inline-start: var(--border-style);
|
|
278
|
-
}
|
|
290
|
+
`}
|
|
279
291
|
}
|
|
280
292
|
}
|
|
281
293
|
}
|
|
282
294
|
|
|
283
295
|
> .cell-action {
|
|
284
|
-
background-color:
|
|
296
|
+
background-color: ${bodyPrimaryBackground};
|
|
285
297
|
}
|
|
286
298
|
|
|
287
299
|
> .row-reorder-handle {
|
|
@@ -303,8 +315,10 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
303
315
|
${showFreezeLine &&
|
|
304
316
|
css `
|
|
305
317
|
&.cell-last-frozen {
|
|
306
|
-
border-right: solid
|
|
307
|
-
|
|
318
|
+
border-right: solid var(--border-width) var(--border-color-freeze);
|
|
319
|
+
filter: drop-shadow(
|
|
320
|
+
calc(${theme.base.spacing} * 0.25) 0 0 ${freezeLineShadowTransparent}
|
|
321
|
+
);
|
|
308
322
|
transition: 0.5s;
|
|
309
323
|
}
|
|
310
324
|
`}
|
|
@@ -341,7 +355,7 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
341
355
|
border-end-end-radius: inherit;
|
|
342
356
|
}
|
|
343
357
|
|
|
344
|
-
${
|
|
358
|
+
${showBorderOnLastStripedRow &&
|
|
345
359
|
css `
|
|
346
360
|
border-bottom: var(--border-style);
|
|
347
361
|
`}
|
|
@@ -350,10 +364,10 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
350
364
|
}
|
|
351
365
|
.row:not(.row-error):not(.group-header-row):not(.header) {
|
|
352
366
|
.cell-fixed {
|
|
353
|
-
background:
|
|
367
|
+
background: ${bodyPrimaryBackground};
|
|
354
368
|
}
|
|
355
369
|
.cell-fixed.aggregateCell {
|
|
356
|
-
background: var(--
|
|
370
|
+
background: var(--group-bg-color);
|
|
357
371
|
}
|
|
358
372
|
}
|
|
359
373
|
${theme.components.table['striped-rows'] &&
|
|
@@ -374,6 +388,68 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
374
388
|
background: ${oddRowBackgroundColor};
|
|
375
389
|
}
|
|
376
390
|
}
|
|
391
|
+
.row[data-index$='0']:not(.group-header-row):not(.header),
|
|
392
|
+
.row[data-index$='2']:not(.group-header-row):not(.header),
|
|
393
|
+
.row[data-index$='4']:not(.group-header-row):not(.header),
|
|
394
|
+
.row[data-index$='6']:not(.group-header-row):not(.header),
|
|
395
|
+
.row[data-index$='8']:not(.group-header-row):not(.header) {
|
|
396
|
+
background: ${evenRowBackgroundColor};
|
|
397
|
+
color: ${useableEvenRowForeground};
|
|
398
|
+
|
|
399
|
+
${borderVerticalOuter &&
|
|
400
|
+
css `
|
|
401
|
+
.cell-fixed {
|
|
402
|
+
background: ${evenRowBackgroundColor};
|
|
403
|
+
color: ${useableEvenRowForeground};
|
|
404
|
+
}
|
|
405
|
+
> .cell-action {
|
|
406
|
+
background: ${evenRowBackgroundColor};
|
|
407
|
+
}
|
|
408
|
+
`}
|
|
409
|
+
|
|
410
|
+
/* Apply border radius if vertical outer border was disabled */
|
|
411
|
+
${!borderVerticalOuter &&
|
|
412
|
+
css `
|
|
413
|
+
border-radius: min(${props => props.theme.base['border-radius']}, 0.25rem);
|
|
414
|
+
|
|
415
|
+
.cell-fixed {
|
|
416
|
+
color: ${useableEvenRowForeground};
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/* Avoid the non-frozen column's background to come behind the first cell's empty area in corner due to border-radius.
|
|
420
|
+
Let the first cell-fixed take full rectangale width, add a pseudo element with the background and border radius of same size as the element */
|
|
421
|
+
.cell-fixed:not(.cell-first) {
|
|
422
|
+
background: ${evenRowBackgroundColor};
|
|
423
|
+
}
|
|
424
|
+
.cell-fixed.cell-first::before {
|
|
425
|
+
background: ${evenRowBackgroundColor};
|
|
426
|
+
content: '';
|
|
427
|
+
position: absolute;
|
|
428
|
+
inset: 0;
|
|
429
|
+
z-index: -1;
|
|
430
|
+
border-bottom-left-radius: min(${props => props.theme.base['border-radius']}, 0.25rem);
|
|
431
|
+
pointer-events: none;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
> .cell-action::before {
|
|
435
|
+
background: ${evenRowBackgroundColor};
|
|
436
|
+
content: '';
|
|
437
|
+
position: absolute;
|
|
438
|
+
inset: 0;
|
|
439
|
+
z-index: -1;
|
|
440
|
+
border-bottom-right-radius: min(${props => props.theme.base['border-radius']}, 0.25rem);
|
|
441
|
+
pointer-events: none;
|
|
442
|
+
}
|
|
443
|
+
`}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.row[data-index='0']:not(.group-header-row):not(.header) {
|
|
447
|
+
${!borderVerticalOuter &&
|
|
448
|
+
css `
|
|
449
|
+
border-radius: 0 0 min(${props => props.theme.base['border-radius']}, 0.25rem)
|
|
450
|
+
min(${props => props.theme.base['border-radius']}, 0.25rem);
|
|
451
|
+
`}
|
|
452
|
+
}
|
|
377
453
|
`}
|
|
378
454
|
|
|
379
455
|
.row-error {
|
|
@@ -391,8 +467,6 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
391
467
|
}
|
|
392
468
|
|
|
393
469
|
.sort-info-container {
|
|
394
|
-
margin-left: 0.312rem;
|
|
395
|
-
|
|
396
470
|
.sort-sequence {
|
|
397
471
|
font-size: 0.625rem;
|
|
398
472
|
color: ${theme.base.colors.gray['extra-dark']};
|
|
@@ -403,10 +477,11 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
403
477
|
display: flex;
|
|
404
478
|
justify-content: center;
|
|
405
479
|
align-items: center;
|
|
406
|
-
margin: 0 0 0 0.312rem;
|
|
407
480
|
|
|
408
481
|
svg {
|
|
482
|
+
/* stylelint-disable-next-line unit-allowed-list */
|
|
409
483
|
width: 14px;
|
|
484
|
+
/* stylelint-disable-next-line unit-allowed-list */
|
|
410
485
|
height: 14px;
|
|
411
486
|
}
|
|
412
487
|
}
|
|
@@ -428,26 +503,6 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
428
503
|
margin: 0 0.312rem 0 0;
|
|
429
504
|
}
|
|
430
505
|
|
|
431
|
-
.editable-cell {
|
|
432
|
-
padding: 0;
|
|
433
|
-
border: 2px solid ${theme.base.palette.interactive} !important;
|
|
434
|
-
box-shadow: 0 0 1px 1px rgba(0, 118, 209) !important;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
.editable-cell input {
|
|
438
|
-
border: none;
|
|
439
|
-
outline: none;
|
|
440
|
-
min-width: calc(100%);
|
|
441
|
-
min-height: 0;
|
|
442
|
-
max-height: 100%;
|
|
443
|
-
box-shadow: none !important;
|
|
444
|
-
border-radius: 0;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
.editable-cell.align-right input {
|
|
448
|
-
justify-content: right;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
506
|
&.show-expand-collapse-all {
|
|
452
507
|
.row > .cell-first {
|
|
453
508
|
padding-left: calc(var(--expand-collapse-all-width) + var(--cell-padding) + 0.25rem);
|
|
@@ -456,14 +511,16 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
456
511
|
padding: 0;
|
|
457
512
|
}
|
|
458
513
|
&.row-select-handle {
|
|
459
|
-
padding-
|
|
514
|
+
padding-inline-start: var(--expand-collapse-all-width);
|
|
460
515
|
}
|
|
461
516
|
}
|
|
462
517
|
|
|
463
518
|
.row-container .row > .cell-first {
|
|
464
519
|
&.row-select-handle {
|
|
520
|
+
/* Offset padding of 0.5rem added to SelectAllCheckbox in grouped views(getting pushed by margin),
|
|
521
|
+
ensuring row select checkboxes align vertically in header and data rows */
|
|
465
522
|
padding-inline-start: calc(
|
|
466
|
-
var(--expand-collapse-all-width) - var(--cell-padding) + 0.
|
|
523
|
+
var(--expand-collapse-all-width) - var(--cell-padding) + 0.5rem
|
|
467
524
|
);
|
|
468
525
|
}
|
|
469
526
|
}
|
|
@@ -476,14 +533,19 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
476
533
|
height: var(--row-height);
|
|
477
534
|
background-color: var(--header-bg-color);
|
|
478
535
|
color: var(--header-fg-color);
|
|
479
|
-
border-right: var(--border-style);
|
|
480
536
|
border-bottom: var(--border-style);
|
|
481
537
|
border-start-start-radius: ${theme.base['border-radius']};
|
|
538
|
+
padding-inline-start: 0.125rem;
|
|
482
539
|
margin-inline-start: 0.25rem;
|
|
483
540
|
display: flex;
|
|
484
541
|
align-items: center;
|
|
485
542
|
justify-content: center;
|
|
486
543
|
|
|
544
|
+
${borderVerticalInner &&
|
|
545
|
+
css `
|
|
546
|
+
border-right: var(--border-style);
|
|
547
|
+
`}
|
|
548
|
+
|
|
487
549
|
&::before {
|
|
488
550
|
content: '';
|
|
489
551
|
position: absolute;
|
|
@@ -539,7 +601,10 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
539
601
|
color: var(--header-fg-color);
|
|
540
602
|
font-weight: ${theme.base['font-weight'].bold};
|
|
541
603
|
font-size: ${fontSize.xxs};
|
|
542
|
-
|
|
604
|
+
${borderVerticalInner &&
|
|
605
|
+
css `
|
|
606
|
+
border-right: var(--border-style);
|
|
607
|
+
`}
|
|
543
608
|
padding: var(--header-cell-padding);
|
|
544
609
|
|
|
545
610
|
&:first-child {
|
|
@@ -557,6 +622,7 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
557
622
|
font-size: ${fontSize.xs};
|
|
558
623
|
font-weight: var(--font-weight-semi-bold);
|
|
559
624
|
align-items: center;
|
|
625
|
+
gap: 0.125rem;
|
|
560
626
|
}
|
|
561
627
|
|
|
562
628
|
.header-label {
|
|
@@ -582,43 +648,65 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
582
648
|
}
|
|
583
649
|
|
|
584
650
|
> .row-select-handle {
|
|
585
|
-
padding
|
|
651
|
+
/* Nullifying padding applied from .header > .cell */
|
|
652
|
+
padding: 0;
|
|
586
653
|
justify-content: center;
|
|
587
654
|
}
|
|
588
|
-
|
|
589
|
-
> .cell-right-align {
|
|
590
|
-
padding: var(--header-cell-padding);
|
|
591
|
-
justify-content: end;
|
|
592
|
-
|
|
593
|
-
.header-lable-container {
|
|
594
|
-
flex-direction: row-reverse;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
.sort-info-container {
|
|
598
|
-
margin-left: 0;
|
|
599
|
-
margin-right: 0.312rem;
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
> .cell-first {
|
|
604
|
-
padding: 0 var(--cell-padding);
|
|
605
|
-
}
|
|
606
|
-
|
|
607
655
|
.row {
|
|
608
656
|
border-bottom: none;
|
|
609
657
|
}
|
|
610
658
|
}
|
|
611
659
|
|
|
660
|
+
.sticky-header {
|
|
661
|
+
display: grid;
|
|
662
|
+
position: sticky;
|
|
663
|
+
top: 0;
|
|
664
|
+
z-index: 6;
|
|
665
|
+
border-start-start-radius: inherit;
|
|
666
|
+
border-start-end-radius: inherit;
|
|
667
|
+
|
|
668
|
+
${!borderVerticalInner &&
|
|
669
|
+
css `
|
|
670
|
+
& .row .cell:not(.cell-last-frozen):not(.cell-last):has(.column-resizer) {
|
|
671
|
+
&::after {
|
|
672
|
+
content: '';
|
|
673
|
+
position: absolute;
|
|
674
|
+
right: 0.2rem;
|
|
675
|
+
top: 0.5rem;
|
|
676
|
+
bottom: 0.5rem;
|
|
677
|
+
width: 0.062rem;
|
|
678
|
+
background-color: ${theme.base.palette['border-line']};
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
`}
|
|
682
|
+
}
|
|
683
|
+
|
|
612
684
|
/* 4 selectors required as aggregateCell of only footer need this effect */
|
|
613
685
|
|
|
614
686
|
.pContainer:not(.pContainerScroll) .footer .aggregateCell.cell {
|
|
615
687
|
border-bottom: none;
|
|
616
688
|
}
|
|
617
689
|
|
|
618
|
-
/* stylelint-enable selector-max-class */
|
|
619
690
|
.row .cell.cell-last {
|
|
620
691
|
border-right: 0;
|
|
621
|
-
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
${!colIdToFillRemainingSpace
|
|
695
|
+
? css `
|
|
696
|
+
.row .cell.cell-last {
|
|
697
|
+
flex-grow: 1;
|
|
698
|
+
}
|
|
699
|
+
`
|
|
700
|
+
: css `
|
|
701
|
+
.row .cell[data-col-id='${colIdToFillRemainingSpace}'] {
|
|
702
|
+
flex-grow: 1;
|
|
703
|
+
}
|
|
704
|
+
`}
|
|
705
|
+
|
|
706
|
+
/* Disable the flex layout size changes when measuring for content based size to get correct width */
|
|
707
|
+
|
|
708
|
+
[data-content-size-measuring] & .row .cell {
|
|
709
|
+
flex-grow: 0 !important;
|
|
622
710
|
}
|
|
623
711
|
|
|
624
712
|
.row-container {
|
|
@@ -640,10 +728,6 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
640
728
|
* Vertical alignment is done using flex and max-height below even though the .cell-content might overflow due to padding + content size.
|
|
641
729
|
*/
|
|
642
730
|
box-sizing: content-box;
|
|
643
|
-
white-space: nowrap;
|
|
644
|
-
text-overflow: ellipsis;
|
|
645
|
-
overflow: hidden;
|
|
646
|
-
word-break: break-all;
|
|
647
731
|
flex-grow: 1;
|
|
648
732
|
|
|
649
733
|
/* Adding padding on .cell-content so that focus rings can appear properly and doesn't clip due to overflow: hidden */
|
|
@@ -661,12 +745,47 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
661
745
|
&:has(.combined-cell) {
|
|
662
746
|
padding: 0;
|
|
663
747
|
|
|
664
|
-
/* stylelint-disable-next-line selector-max-class */
|
|
665
748
|
.cell-content {
|
|
666
749
|
flex-grow: unset;
|
|
667
750
|
}
|
|
668
751
|
}
|
|
669
752
|
}
|
|
753
|
+
|
|
754
|
+
& > .row:not(.group-header-row) {
|
|
755
|
+
min-width: 100%;
|
|
756
|
+
|
|
757
|
+
.cell-content {
|
|
758
|
+
&:not(:has(.combined-cell)):not(.combined-cell-content):has(${StyledStatus}) {
|
|
759
|
+
padding: unset;
|
|
760
|
+
|
|
761
|
+
&,
|
|
762
|
+
& > span,
|
|
763
|
+
& ${StyledStatus} {
|
|
764
|
+
block-size: 100%;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
${StyledStatus} {
|
|
768
|
+
display: flex;
|
|
769
|
+
align-items: center;
|
|
770
|
+
justify-content: space-evenly;
|
|
771
|
+
border-radius: 0;
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
&.wrap-content-height
|
|
778
|
+
> .row:not(.group-header-row)
|
|
779
|
+
.cell:not(:has(.combined-cell)):has(${StyledStatus}) {
|
|
780
|
+
padding: 0;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
& > .row .cell:not(.column-type-action) .cell-content {
|
|
784
|
+
white-space: nowrap;
|
|
785
|
+
text-overflow: ellipsis;
|
|
786
|
+
overflow: hidden;
|
|
787
|
+
word-break: break-all;
|
|
788
|
+
}
|
|
670
789
|
}
|
|
671
790
|
|
|
672
791
|
.row .aggregateCell .cell-content {
|
|
@@ -706,7 +825,6 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
706
825
|
justify-content: space-between;
|
|
707
826
|
}
|
|
708
827
|
|
|
709
|
-
/* stylelint-disable selector-max-class */
|
|
710
828
|
/* stylelint-disable-next-line selector-max-compound-selectors */
|
|
711
829
|
> .cell-content > .combined-cell > .combined-cell-content,
|
|
712
830
|
> .cell-content {
|
|
@@ -832,11 +950,13 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
832
950
|
/* stylelint-enable selector-max-class */
|
|
833
951
|
|
|
834
952
|
.toolbar-button-applied {
|
|
953
|
+
/* stylelint-disable-next-line unit-allowed-list */
|
|
835
954
|
padding: 0 8px;
|
|
836
955
|
margin: 0 calc(${theme.base.spacing} / 4);
|
|
837
956
|
}
|
|
838
957
|
|
|
839
958
|
.toolbar-button {
|
|
959
|
+
/* stylelint-disable-next-line unit-allowed-list */
|
|
840
960
|
padding: 0 8px;
|
|
841
961
|
margin: 0 calc(${theme.base.spacing} / 4);
|
|
842
962
|
}
|
|
@@ -880,15 +1000,6 @@ const StyledTableContainer = styled(forwardRef((props, ref) => _jsx("div", { ref
|
|
|
880
1000
|
}
|
|
881
1001
|
}
|
|
882
1002
|
|
|
883
|
-
.selection-border {
|
|
884
|
-
border: 0.125rem solid var(--medium-blue) !important;
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
.disable-select {
|
|
888
|
-
user-select: none; /* supported by Chrome and Firefox */
|
|
889
|
-
-webkit-user-select: none; /* Safari */
|
|
890
|
-
}
|
|
891
|
-
|
|
892
1003
|
.popper {
|
|
893
1004
|
div.row {
|
|
894
1005
|
display: flex;
|