add item list selection dialog

This commit is contained in:
jeffvli
2025-12-16 20:24:46 -08:00
parent c9cd87bae5
commit e21f538aa4
8 changed files with 173 additions and 1 deletions
@@ -1,4 +1,5 @@
.item-grid-container {
position: relative;
display: flex;
flex-direction: column !important;
width: 100%;
@@ -41,6 +41,7 @@ import {
useItemListState,
useItemListStateSubscription,
} from '/@/renderer/components/item-list/helpers/item-list-state';
import { SelectionDialog } from '/@/renderer/components/item-list/selection-dialog';
import { ItemControls, ItemListHandle } from '/@/renderer/components/item-list/types';
import { animationProps } from '/@/shared/components/animations/animation-props';
import { useElementSize } from '/@/shared/hooks/use-element-size';
@@ -742,7 +743,10 @@ const BaseItemGridList = ({
/>
)}
</AutoSizer>
<ExpandedContainer internalState={internalState} itemType={itemType} />
<AnimatePresence presenceAffectsLayout>
<ExpandedContainer internalState={internalState} itemType={itemType} />
<SelectionDialog internalState={internalState} />
</AnimatePresence>
</motion.div>
);
};