@bbodek/internal-ui 0.0.74 → 0.0.76
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/dist/{FilterCalendarPanel-BO7lhexf.js → FilterCalendarPanel-C8g7nFX1.js} +2 -2
- package/dist/FilterCalendarPanel-C8g7nFX1.js.map +1 -0
- package/dist/{FilterMultiSelectPanel-CHFwSioS.js → FilterMultiSelectPanel-Bw-el3t1.js} +2 -2
- package/dist/FilterMultiSelectPanel-Bw-el3t1.js.map +1 -0
- package/dist/{FilterSelectOptionPanel-hLFjUsCp.js → FilterSelectOptionPanel-DiXRws8W.js} +2 -2
- package/dist/FilterSelectOptionPanel-DiXRws8W.js.map +1 -0
- package/dist/{ImageErrorBoundary-Cm1NCJAJ.js → ImageErrorBoundary-D0c3qkT6.js} +2 -2
- package/dist/ImageErrorBoundary-D0c3qkT6.js.map +1 -0
- package/dist/{PreviewImage-CM9DZaAq.js → PreviewImage-ClvuwRqf.js} +2 -2
- package/dist/PreviewImage-ClvuwRqf.js.map +1 -0
- package/dist/{PreviewImageViewer-BxaHTmvL.js → PreviewImageViewer-vUD5GGsH.js} +2 -2
- package/dist/PreviewImageViewer-vUD5GGsH.js.map +1 -0
- package/dist/{PreviewInlineViewer-DNiAF4Hh.js → PreviewInlineViewer-B09DITvu.js} +2 -2
- package/dist/PreviewInlineViewer-B09DITvu.js.map +1 -0
- package/dist/{PreviewMultiController-4XAwWoDS.js → PreviewMultiController-VSuq7UnN.js} +2 -2
- package/dist/PreviewMultiController-VSuq7UnN.js.map +1 -0
- package/dist/{PreviewMultiDesktop-DpUSMZts.js → PreviewMultiDesktop-9fxj4HPm.js} +2 -2
- package/dist/PreviewMultiDesktop-9fxj4HPm.js.map +1 -0
- package/dist/{PreviewMultiDesktopViewer-BXGKWobT.js → PreviewMultiDesktopViewer-BM3PqZ_C.js} +2 -2
- package/dist/PreviewMultiDesktopViewer-BM3PqZ_C.js.map +1 -0
- package/dist/{PreviewMultiMobile-ClG3kPIm.js → PreviewMultiMobile-CJTH6NeM.js} +2 -2
- package/dist/PreviewMultiMobile-CJTH6NeM.js.map +1 -0
- package/dist/{PreviewMultiMobileViewer-CYY7Br2h.js → PreviewMultiMobileViewer-e66KU4HV.js} +2 -2
- package/dist/PreviewMultiMobileViewer-e66KU4HV.js.map +1 -0
- package/dist/{PreviewOverlayWrapper-Dzyq7TWk.js → PreviewOverlayWrapper-BdAozdJG.js} +2 -2
- package/dist/PreviewOverlayWrapper-BdAozdJG.js.map +1 -0
- package/dist/{PreviewPdfViewer-iZK0_8f0.js → PreviewPdfViewer-CA9WXSjh.js} +2 -2
- package/dist/PreviewPdfViewer-CA9WXSjh.js.map +1 -0
- package/dist/{PreviewPdfViewerImage-CF1VguJg.js → PreviewPdfViewerImage-BvNRRP_O.js} +2 -2
- package/dist/PreviewPdfViewerImage-BvNRRP_O.js.map +1 -0
- package/dist/{PreviewSingleDesktop-CuQvzUZd.js → PreviewSingleDesktop-CpA5-ect.js} +2 -2
- package/dist/PreviewSingleDesktop-CpA5-ect.js.map +1 -0
- package/dist/{PreviewSingleMobile-ChR6uEis.js → PreviewSingleMobile-d2yda3IJ.js} +2 -2
- package/dist/PreviewSingleMobile-d2yda3IJ.js.map +1 -0
- package/dist/{PreviewThumbnailNotSupport-BqegKdPJ.js → PreviewThumbnailNotSupport-hZBD5fqb.js} +2 -2
- package/dist/PreviewThumbnailNotSupport-hZBD5fqb.js.map +1 -0
- package/dist/{PreviewThumbnailViewer-BhU4QRzg.js → PreviewThumbnailViewer-Cqn65SB8.js} +2 -2
- package/dist/PreviewThumbnailViewer-Cqn65SB8.js.map +1 -0
- package/dist/{PreviewToolbar-WP7AZcCf.js → PreviewToolbar-x1VO43j_.js} +2 -2
- package/dist/PreviewToolbar-x1VO43j_.js.map +1 -0
- package/dist/{SideSheetFullScreenDialog-Blf52hhw.js → SideSheetFullScreenDialog-DqpelyTz.js} +2 -2
- package/dist/SideSheetFullScreenDialog-DqpelyTz.js.map +1 -0
- package/dist/{StepDialogConfirmModal-CsbCQmAY.js → StepDialogConfirmModal-ko9p-JgY.js} +2 -2
- package/dist/StepDialogConfirmModal-ko9p-JgY.js.map +1 -0
- package/dist/{StepFullScreenDialogConfirmBottomSheet-DKhuEyfg.js → StepFullScreenDialogConfirmBottomSheet-Bpl1UpMQ.js} +2 -2
- package/dist/StepFullScreenDialogConfirmBottomSheet-Bpl1UpMQ.js.map +1 -0
- package/dist/{ThumbnailImage-CnER5eNg.js → ThumbnailImage-DPrXdpfZ.js} +2 -2
- package/dist/ThumbnailImage-DPrXdpfZ.js.map +1 -0
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Dialog/FormDialog/FormDialog.d.ts +1 -1
- package/dist/components/Dialog/FormDialog/FormDialog.d.ts.map +1 -1
- package/dist/components/Dialog/InfoDialog/InfoDialog.d.ts +1 -1
- package/dist/components/Dialog/InfoDialog/InfoDialog.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts +1 -0
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Dialog/shared/Dialog.d.ts +2 -2
- package/dist/components/Dialog/shared/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog/shared/DialogHeader.d.ts +2 -1
- package/dist/components/Dialog/shared/DialogHeader.d.ts.map +1 -1
- package/dist/components/Dialog/shared/index.d.ts +1 -1
- package/dist/components/Dialog/shared/index.d.ts.map +1 -1
- package/dist/components/Dialog/shared/types/index.d.ts +4 -2
- package/dist/components/Dialog/shared/types/index.d.ts.map +1 -1
- package/dist/components/Preview/shared/components/Preview/constants/index.d.ts +1 -1
- package/dist/components/VirtualList/DynamicVirtualList/DynamicVirtualList.d.ts +9 -0
- package/dist/components/VirtualList/DynamicVirtualList/DynamicVirtualList.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/DynamicVirtualListItem.d.ts +5 -0
- package/dist/components/VirtualList/DynamicVirtualList/DynamicVirtualListItem.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/context/DynamicVirtualListContext.d.ts +5 -0
- package/dist/components/VirtualList/DynamicVirtualList/context/DynamicVirtualListContext.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/context/index.d.ts +2 -0
- package/dist/components/VirtualList/DynamicVirtualList/context/index.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/hooks/effects/index.d.ts +4 -0
- package/dist/components/VirtualList/DynamicVirtualList/hooks/effects/index.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/hooks/effects/types.d.ts +15 -0
- package/dist/components/VirtualList/DynamicVirtualList/hooks/effects/types.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/hooks/effects/useVirtualItemsMetricsInitEffect.d.ts +4 -0
- package/dist/components/VirtualList/DynamicVirtualList/hooks/effects/useVirtualItemsMetricsInitEffect.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/hooks/effects/useVirtualListItemResizeObserverEffect.d.ts +4 -0
- package/dist/components/VirtualList/DynamicVirtualList/hooks/effects/useVirtualListItemResizeObserverEffect.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/hooks/effects/useVirtualListUpdateOffsetsCancelAnimationFrameEffect.d.ts +4 -0
- package/dist/components/VirtualList/DynamicVirtualList/hooks/effects/useVirtualListUpdateOffsetsCancelAnimationFrameEffect.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/hooks/index.d.ts +2 -0
- package/dist/components/VirtualList/DynamicVirtualList/hooks/index.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/index.d.ts +4 -0
- package/dist/components/VirtualList/DynamicVirtualList/index.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/types/index.d.ts +20 -0
- package/dist/components/VirtualList/DynamicVirtualList/types/index.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/utils/findIndex.d.ts +9 -0
- package/dist/components/VirtualList/DynamicVirtualList/utils/findIndex.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/utils/index.d.ts +3 -0
- package/dist/components/VirtualList/DynamicVirtualList/utils/index.d.ts.map +1 -0
- package/dist/components/VirtualList/DynamicVirtualList/utils/types.d.ts +12 -0
- package/dist/components/VirtualList/DynamicVirtualList/utils/types.d.ts.map +1 -0
- package/dist/components/VirtualList/StaticVirtualList/StaticVirtualList.d.ts +9 -0
- package/dist/components/VirtualList/StaticVirtualList/StaticVirtualList.d.ts.map +1 -0
- package/dist/components/VirtualList/StaticVirtualList/StaticVirtualListItem.d.ts +5 -0
- package/dist/components/VirtualList/StaticVirtualList/StaticVirtualListItem.d.ts.map +1 -0
- package/dist/components/VirtualList/StaticVirtualList/index.d.ts +4 -0
- package/dist/components/VirtualList/StaticVirtualList/index.d.ts.map +1 -0
- package/dist/components/VirtualList/StaticVirtualList/types/index.d.ts +15 -0
- package/dist/components/VirtualList/StaticVirtualList/types/index.d.ts.map +1 -0
- package/dist/components/VirtualList/index.d.ts +3 -0
- package/dist/components/VirtualList/index.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/components/VirtualListItemBase.d.ts +5 -0
- package/dist/components/VirtualList/shared/components/VirtualListItemBase.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/components/VirtualListRootWrapper.d.ts +5 -0
- package/dist/components/VirtualList/shared/components/VirtualListRootWrapper.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/components/VirtualListWrapper.d.ts +5 -0
- package/dist/components/VirtualList/shared/components/VirtualListWrapper.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/components/index.d.ts +4 -0
- package/dist/components/VirtualList/shared/components/index.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/hooks/effects/index.d.ts +4 -0
- package/dist/components/VirtualList/shared/hooks/effects/index.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/hooks/effects/types.d.ts +9 -0
- package/dist/components/VirtualList/shared/hooks/effects/types.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/hooks/effects/useCalculateContainerHeightEffect.d.ts +4 -0
- package/dist/components/VirtualList/shared/hooks/effects/useCalculateContainerHeightEffect.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/hooks/effects/useScrollRequestAnimationFrameCleanUpEffect.d.ts +4 -0
- package/dist/components/VirtualList/shared/hooks/effects/useScrollRequestAnimationFrameCleanUpEffect.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/hooks/index.d.ts +4 -0
- package/dist/components/VirtualList/shared/hooks/index.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/hooks/types.d.ts +12 -0
- package/dist/components/VirtualList/shared/hooks/types.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/hooks/useVirtualList.d.ts +4 -0
- package/dist/components/VirtualList/shared/hooks/useVirtualList.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/index.d.ts +4 -0
- package/dist/components/VirtualList/shared/index.d.ts.map +1 -0
- package/dist/components/VirtualList/shared/types/index.d.ts +27 -0
- package/dist/components/VirtualList/shared/types/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/shared/components/DialogOverlay/types/index.d.ts +2 -1
- package/dist/components/shared/components/DialogOverlay/types/index.d.ts.map +1 -1
- package/dist/components/shared/components/Overlay/Overlay.d.ts +1 -1
- package/dist/components/shared/components/Overlay/Overlay.d.ts.map +1 -1
- package/dist/components/shared/components/Overlay/types/index.d.ts +1 -0
- package/dist/components/shared/components/Overlay/types/index.d.ts.map +1 -1
- package/dist/{index-BJ5kP8k0.js → index-Dg_LPr-J.js} +2 -2
- package/dist/{index-BJ5kP8k0.js.map → index-Dg_LPr-J.js.map} +1 -1
- package/dist/index-XPgWc4aw.js +2 -0
- package/dist/{index-UoozY6o4.js.map → index-XPgWc4aw.js.map} +1 -1
- package/dist/{index.es-Crpxdqjd.js → index.es-DQzj0gai.js} +2 -2
- package/dist/{index.es-Crpxdqjd.js.map → index.es-DQzj0gai.js.map} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{useFilterSelectOptionPanel-CW2YdjpJ.js → useFilterSelectOptionPanel-DaU5GRdJ.js} +2 -2
- package/dist/useFilterSelectOptionPanel-DaU5GRdJ.js.map +1 -0
- package/package.json +7 -7
- package/src/styles/theme.css +6 -3
- package/dist/FilterCalendarPanel-BO7lhexf.js.map +0 -1
- package/dist/FilterMultiSelectPanel-CHFwSioS.js.map +0 -1
- package/dist/FilterSelectOptionPanel-hLFjUsCp.js.map +0 -1
- package/dist/ImageErrorBoundary-Cm1NCJAJ.js.map +0 -1
- package/dist/PreviewImage-CM9DZaAq.js.map +0 -1
- package/dist/PreviewImageViewer-BxaHTmvL.js.map +0 -1
- package/dist/PreviewInlineViewer-DNiAF4Hh.js.map +0 -1
- package/dist/PreviewMultiController-4XAwWoDS.js.map +0 -1
- package/dist/PreviewMultiDesktop-DpUSMZts.js.map +0 -1
- package/dist/PreviewMultiDesktopViewer-BXGKWobT.js.map +0 -1
- package/dist/PreviewMultiMobile-ClG3kPIm.js.map +0 -1
- package/dist/PreviewMultiMobileViewer-CYY7Br2h.js.map +0 -1
- package/dist/PreviewOverlayWrapper-Dzyq7TWk.js.map +0 -1
- package/dist/PreviewPdfViewer-iZK0_8f0.js.map +0 -1
- package/dist/PreviewPdfViewerImage-CF1VguJg.js.map +0 -1
- package/dist/PreviewSingleDesktop-CuQvzUZd.js.map +0 -1
- package/dist/PreviewSingleMobile-ChR6uEis.js.map +0 -1
- package/dist/PreviewThumbnailNotSupport-BqegKdPJ.js.map +0 -1
- package/dist/PreviewThumbnailViewer-BhU4QRzg.js.map +0 -1
- package/dist/PreviewToolbar-WP7AZcCf.js.map +0 -1
- package/dist/SideSheetFullScreenDialog-Blf52hhw.js.map +0 -1
- package/dist/StepDialogConfirmModal-CsbCQmAY.js.map +0 -1
- package/dist/StepFullScreenDialogConfirmBottomSheet-DKhuEyfg.js.map +0 -1
- package/dist/ThumbnailImage-CnER5eNg.js.map +0 -1
- package/dist/index-UoozY6o4.js +0 -2
- package/dist/useFilterSelectOptionPanel-CW2YdjpJ.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVirtualListItemResizeObserverEffect.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VirtualList/DynamicVirtualList/hooks/effects/useVirtualListItemResizeObserverEffect.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,4CAA4C,EAC7C,MAAM,iEAAiE,CAAC;AAEzE,QAAA,MAAM,sCAAsC,GAAI,qBAG7C,4CAA4C,SA6B9C,CAAC;AAEF,eAAe,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { UseVirtualListUpdateOffsetsCancelAnimationFrameEffectParams } from '../../../../../components/VirtualList/DynamicVirtualList/hooks/effects/types';
|
|
2
|
+
declare const useVirtualListUpdateOffsetsCancelAnimationFrameEffect: ({ rafIdRef, }: UseVirtualListUpdateOffsetsCancelAnimationFrameEffectParams) => void;
|
|
3
|
+
export default useVirtualListUpdateOffsetsCancelAnimationFrameEffect;
|
|
4
|
+
//# sourceMappingURL=useVirtualListUpdateOffsetsCancelAnimationFrameEffect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVirtualListUpdateOffsetsCancelAnimationFrameEffect.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VirtualList/DynamicVirtualList/hooks/effects/useVirtualListUpdateOffsetsCancelAnimationFrameEffect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2DAA2D,EAAE,MAAM,iEAAiE,CAAC;AAE9I,QAAA,MAAM,qDAAqD,GAAI,eAE5D,2DAA2D,SAM7D,CAAC;AAEF,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/DynamicVirtualList/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/VirtualList/DynamicVirtualList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementType, ReactNode, RefObject } from 'react';
|
|
2
|
+
import { VirtualListChildrenPrimitiveProps, VirtualListItemBaseProps, VirtualListPrimitiveProps } from '../../../../components/VirtualList/shared';
|
|
3
|
+
export interface DynamicVirtualListProps<T extends ElementType = 'div', P extends ElementType = 'div'> extends Omit<VirtualListPrimitiveProps<T, P>, 'itemHeight'> {
|
|
4
|
+
initialItemHeight: number;
|
|
5
|
+
overScanCount?: number;
|
|
6
|
+
children: (params: VirtualListChildrenPrimitiveProps) => ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export type VirtualListItemHeights = number[];
|
|
9
|
+
export type VirtualListItemOffsets = number[];
|
|
10
|
+
export interface DynamicVirtualListContextProps extends Required<Pick<DynamicVirtualListProps, 'gap' | 'initialItemHeight' | 'itemsTotalCount'>>, Pick<VirtualListChildrenPrimitiveProps, 'startIndex'> {
|
|
11
|
+
heightsRef: RefObject<VirtualListItemHeights>;
|
|
12
|
+
offsets: VirtualListItemOffsets;
|
|
13
|
+
updateOffsets: () => void;
|
|
14
|
+
}
|
|
15
|
+
export interface DynamicVirtualListProviderProps extends DynamicVirtualListContextProps {
|
|
16
|
+
}
|
|
17
|
+
export interface DynamicVirtualListItemProps<T extends ElementType = 'div'> extends Omit<VirtualListItemBaseProps<T>, 'topPosition'> {
|
|
18
|
+
index: number;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@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|
1
|
+
import { FindEndIndexParams, FindIndexParams, FindStartIndexParams } from '../../../../components/VirtualList/DynamicVirtualList/utils/types';
|
|
2
|
+
export declare const findIndex: ({ offset, itemsTotalCount, offsets, }: FindIndexParams) => number | null;
|
|
3
|
+
export declare const findStartIndex: ({ scrollTop, overScanCount, ...rest }: FindStartIndexParams) => number;
|
|
4
|
+
export declare const findEndIndex: ({ scrollTop, itemsTotalCount, offsets, containerHeight, overScanCount, }: FindEndIndexParams) => number;
|
|
5
|
+
export declare const findDynamicVirtualListIndexes: ({ containerHeight, ...defaultParams }: FindStartIndexParams & Pick<FindEndIndexParams, "containerHeight">) => {
|
|
6
|
+
startIndex: number;
|
|
7
|
+
endIndex: number;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=findIndex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"findIndex.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/DynamicVirtualList/utils/findIndex.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACrB,MAAM,yDAAyD,CAAC;AAEjE,eAAO,MAAM,SAAS,GAAI,uCAIvB,eAAe,kBAwBjB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,uCAI5B,oBAAoB,WAItB,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,0EAM1B,kBAAkB,WAWpB,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,uCAG3C,oBAAoB,GAAG,IAAI,CAAC,kBAAkB,EAAE,iBAAiB,CAAC;;;CAKpE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/DynamicVirtualList/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DynamicVirtualListContextProps, DynamicVirtualListProps, VirtualListItemOffsets } from '../../../../components/VirtualList/DynamicVirtualList/types';
|
|
2
|
+
import { UseVirtualListReturnType } from '../../../../components/VirtualList/shared';
|
|
3
|
+
export interface FindIndexParams extends Pick<DynamicVirtualListProps, 'itemsTotalCount'>, Pick<DynamicVirtualListContextProps, 'offsets'> {
|
|
4
|
+
offset: VirtualListItemOffsets[0];
|
|
5
|
+
}
|
|
6
|
+
export interface FindIndexDefaultParams extends Omit<FindIndexParams, 'offset'>, Required<Pick<DynamicVirtualListProps, 'overScanCount'>>, Pick<UseVirtualListReturnType['models'], 'scrollTop'> {
|
|
7
|
+
}
|
|
8
|
+
export interface FindStartIndexParams extends FindIndexDefaultParams {
|
|
9
|
+
}
|
|
10
|
+
export interface FindEndIndexParams extends FindIndexDefaultParams, Pick<UseVirtualListReturnType['models'], 'containerHeight'> {
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/DynamicVirtualList/utils/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAE3E,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,uBAAuB,EAAE,iBAAiB,CAAC,EACtD,IAAI,CAAC,8BAA8B,EAAE,SAAS,CAAC;IACjD,MAAM,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,EACrC,QAAQ,CAAC,IAAI,CAAC,uBAAuB,EAAE,eAAe,CAAC,CAAC,EACxD,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,WAAW,CAAC;CAAG;AAE5D,MAAM,WAAW,oBAAqB,SAAQ,sBAAsB;CAAG;AAEvE,MAAM,WAAW,kBACf,SAAQ,sBAAsB,EAC5B,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAAG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { StaticVirtualListProps } from '../../../components/VirtualList/StaticVirtualList/types';
|
|
3
|
+
declare const StaticVirtualList: {
|
|
4
|
+
<T extends ElementType, P extends ElementType>({ ref, as, itemsTotalCount, itemHeight, gap, listOptions, className, children, }: StaticVirtualListProps<T, P>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
Item: import("react").MemoExoticComponent<(<T extends ElementType = "div">({ as, height, topPosition, className, children, }: import("react").PropsWithChildren<import("../../../components/VirtualList/StaticVirtualList/types").StaticVirtualListItemProps<T>>) => import("react/jsx-runtime").JSX.Element)>;
|
|
7
|
+
};
|
|
8
|
+
export default StaticVirtualList;
|
|
9
|
+
//# sourceMappingURL=StaticVirtualList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StaticVirtualList.d.ts","sourceRoot":"","sources":["../../../../src/components/VirtualList/StaticVirtualList/StaticVirtualList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAe,MAAM,OAAO,CAAC;AAQjD,OAAO,EAEL,sBAAsB,EACvB,MAAM,kDAAkD,CAAC;AAE1D,QAAA,MAAM,iBAAiB;KAAI,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,WAAW,oFASpE,sBAAsB,CAAC,CAAC,EAAE,CAAC,CAAC;;;CAqC9B,CAAC;AAKF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ElementType, PropsWithChildren } from 'react';
|
|
2
|
+
import { StaticVirtualListItemProps } from '../../../components/VirtualList/StaticVirtualList/types';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<(<T extends ElementType = "div">({ as, height, topPosition, className, children, }: PropsWithChildren<StaticVirtualListItemProps<T>>) => import("react/jsx-runtime").JSX.Element)>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=StaticVirtualListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StaticVirtualListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/VirtualList/StaticVirtualList/StaticVirtualListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAQ,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;8DAE/D,CAAC,SAAS,WAAW,6DAMjD,iBAAiB,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC;AAYnD,wBAA2C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/VirtualList/StaticVirtualList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAE3E,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementType, ReactNode } from 'react';
|
|
2
|
+
import { VirtualListChildrenPrimitiveProps, VirtualListItemBaseProps, VirtualListPrimitiveProps } from '../../../../components/VirtualList/shared';
|
|
3
|
+
export interface StaticVirtualListChildrenProps extends VirtualListChildrenPrimitiveProps {
|
|
4
|
+
getTopPosition: ({ index }: GetTopPositionParams) => number;
|
|
5
|
+
}
|
|
6
|
+
export interface GetTopPositionParams {
|
|
7
|
+
index: number;
|
|
8
|
+
}
|
|
9
|
+
export interface StaticVirtualListProps<T extends ElementType = 'div', P extends ElementType = 'div'> extends VirtualListPrimitiveProps<T, P> {
|
|
10
|
+
children: ({ startIndex, endIndex, getTopPosition, }: StaticVirtualListChildrenProps) => ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export interface StaticVirtualListItemProps<T extends ElementType = 'div'> extends VirtualListItemBaseProps<T> {
|
|
13
|
+
height: number;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/StaticVirtualList/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,EACL,iCAAiC,EACjC,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,iCAAiC,CAAC;AAEzC,MAAM,WAAW,8BACf,SAAQ,iCAAiC;IACzC,cAAc,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,KAAK,MAAM,CAAC;CAC7D;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB,CACrC,CAAC,SAAS,WAAW,GAAG,KAAK,EAC7B,CAAC,SAAS,WAAW,GAAG,KAAK,CAC7B,SAAQ,yBAAyB,CAAC,CAAC,EAAE,CAAC,CAAC;IACvC,QAAQ,EAAE,CAAC,EACT,UAAU,EACV,QAAQ,EACR,cAAc,GACf,EAAE,8BAA8B,KAAK,SAAS,CAAC;CACjD;AAED,MAAM,WAAW,0BAA0B,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,CACvE,SAAQ,wBAAwB,CAAC,CAAC,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/VirtualList/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ElementType, PropsWithChildren } from 'react';
|
|
2
|
+
import { VirtualListItemBaseProps } from '../../../../components/VirtualList/shared/types';
|
|
3
|
+
declare const VirtualListItemBase: <T extends ElementType = "div">({ ref, as, style, topPosition, className, children, }: PropsWithChildren<VirtualListItemBaseProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default VirtualListItemBase;
|
|
5
|
+
//# sourceMappingURL=VirtualListItemBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VirtualListItemBase.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/shared/components/VirtualListItemBase.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,QAAA,MAAM,mBAAmB,GAAI,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,uDAOzD,iBAAiB,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,4CAkBhD,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ElementType, PropsWithChildren } from 'react';
|
|
2
|
+
import { VirtualListRootWrapperProps } from '../../../../components/VirtualList/shared/types';
|
|
3
|
+
declare const VirtualListRootWrapper: <T extends ElementType = "div">({ as, ref, containerRef, onScroll, className, children, }: PropsWithChildren<VirtualListRootWrapperProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default VirtualListRootWrapper;
|
|
5
|
+
//# sourceMappingURL=VirtualListRootWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VirtualListRootWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/shared/components/VirtualListRootWrapper.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAEpF,QAAA,MAAM,sBAAsB,GAAI,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,2DAO5D,iBAAiB,CAAC,2BAA2B,CAAC,CAAC,CAAC,CAAC,4CAYnD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ElementType, PropsWithChildren } from 'react';
|
|
2
|
+
import { VirtualListWrapperProps } from '../../../../components/VirtualList/shared/types';
|
|
3
|
+
declare const VirtualListWrapper: <T extends ElementType = "div">({ as, totalItemsHeight, className, children, }: PropsWithChildren<VirtualListWrapperProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default VirtualListWrapper;
|
|
5
|
+
//# sourceMappingURL=VirtualListWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VirtualListWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/shared/components/VirtualListWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAEhF,QAAA,MAAM,kBAAkB,GAAI,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,gDAKxD,iBAAiB,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,4CAW/C,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/shared/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export { default as useCalculateContainerHeightEffect } from './useCalculateContainerHeightEffect';
|
|
3
|
+
export { default as useScrollRequestAnimationFrameCleanUpEffect } from './useScrollRequestAnimationFrameCleanUpEffect';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VirtualList/shared/hooks/effects/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACnG,OAAO,EAAE,OAAO,IAAI,2CAA2C,EAAE,MAAM,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Dispatch, RefObject, SetStateAction } from 'react';
|
|
2
|
+
import { UseVirtualListReturnType } from '../../../../../components/VirtualList/shared/hooks/types';
|
|
3
|
+
export interface UseCalculateContainerHeightEffectProps extends Pick<UseVirtualListReturnType['models'], 'containerRef'> {
|
|
4
|
+
setContainerHeight: Dispatch<SetStateAction<number>>;
|
|
5
|
+
}
|
|
6
|
+
export interface UseScrollRequestAnimationFrameCleanUpEffectProps {
|
|
7
|
+
scrollRafId: RefObject<number>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VirtualList/shared/hooks/effects/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AAEvF,MAAM,WAAW,sCACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAC;IAChE,kBAAkB,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;CACtD;AAED,MAAM,WAAW,gDAAgD;IAC/D,WAAW,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
package/dist/components/VirtualList/shared/hooks/effects/useCalculateContainerHeightEffect.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { UseCalculateContainerHeightEffectProps } from '../../../../../components/VirtualList/shared/hooks/effects/types';
|
|
2
|
+
declare const useCalculateContainerHeightEffect: ({ containerRef, setContainerHeight, }: UseCalculateContainerHeightEffectProps) => void;
|
|
3
|
+
export default useCalculateContainerHeightEffect;
|
|
4
|
+
//# sourceMappingURL=useCalculateContainerHeightEffect.d.ts.map
|
package/dist/components/VirtualList/shared/hooks/effects/useCalculateContainerHeightEffect.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCalculateContainerHeightEffect.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VirtualList/shared/hooks/effects/useCalculateContainerHeightEffect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sCAAsC,EAAE,MAAM,qDAAqD,CAAC;AAE7G,QAAA,MAAM,iCAAiC,GAAI,uCAGxC,sCAAsC,SAiBxC,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { UseScrollRequestAnimationFrameCleanUpEffectProps } from '../../../../../components/VirtualList/shared/hooks/effects/types';
|
|
2
|
+
declare const useScrollRequestAnimationFrameCleanUpEffect: ({ scrollRafId, }: UseScrollRequestAnimationFrameCleanUpEffectProps) => void;
|
|
3
|
+
export default useScrollRequestAnimationFrameCleanUpEffect;
|
|
4
|
+
//# sourceMappingURL=useScrollRequestAnimationFrameCleanUpEffect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScrollRequestAnimationFrameCleanUpEffect.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VirtualList/shared/hooks/effects/useScrollRequestAnimationFrameCleanUpEffect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gDAAgD,EAAE,MAAM,qDAAqD,CAAC;AAEvH,QAAA,MAAM,2CAA2C,GAAI,kBAElD,gDAAgD,SAMlD,CAAC;AAEF,eAAe,2CAA2C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/shared/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UIEvent } from 'react';
|
|
2
|
+
import { VirtualListRootWrapperProps } from '../../../../components/VirtualList/shared/types';
|
|
3
|
+
export interface UseVirtualListReturnType {
|
|
4
|
+
models: Pick<VirtualListRootWrapperProps, 'containerRef'> & {
|
|
5
|
+
scrollTop: number;
|
|
6
|
+
containerHeight: number;
|
|
7
|
+
};
|
|
8
|
+
operations: {
|
|
9
|
+
onScroll: (e: UIEvent<HTMLElement>) => void;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/shared/hooks/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAEpF,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,IAAI,CAAC,2BAA2B,EAAE,cAAc,CAAC,GAAG;QAC1D,SAAS,EAAE,MAAM,CAAC;QAClB,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,UAAU,EAAE;QACV,QAAQ,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;KAC7C,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVirtualList.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/shared/hooks/useVirtualList.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AAEvF,QAAA,MAAM,cAAc,QAAO,wBAyB1B,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/VirtualList/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementType, HTMLAttributes, RefObject, UIEvent } from 'react';
|
|
2
|
+
import { ComponentPropsRef } from '../../../../components/shared';
|
|
3
|
+
export interface VirtualListChildrenPrimitiveProps {
|
|
4
|
+
startIndex: number;
|
|
5
|
+
endIndex: number;
|
|
6
|
+
}
|
|
7
|
+
export interface VirtualListRootWrapperProps<T extends ElementType = 'div'> extends Pick<HTMLAttributes<HTMLElement>, 'className'>, ComponentPropsRef<HTMLElement> {
|
|
8
|
+
as?: T;
|
|
9
|
+
containerRef: RefObject<HTMLElement | null>;
|
|
10
|
+
onScroll: (e: UIEvent<HTMLElement>) => void;
|
|
11
|
+
}
|
|
12
|
+
export interface VirtualListWrapperProps<T extends ElementType = 'div'> extends Pick<HTMLAttributes<HTMLElement>, 'className'> {
|
|
13
|
+
as?: T;
|
|
14
|
+
totalItemsHeight: number;
|
|
15
|
+
}
|
|
16
|
+
export interface VirtualListPrimitiveProps<T extends ElementType = 'div', P extends ElementType = 'div'> extends Pick<HTMLAttributes<HTMLElement>, 'className'>, ComponentPropsRef<HTMLElement> {
|
|
17
|
+
itemsTotalCount: number;
|
|
18
|
+
itemHeight: number;
|
|
19
|
+
gap?: number;
|
|
20
|
+
as?: T;
|
|
21
|
+
listOptions?: Pick<VirtualListWrapperProps<P>, 'as' | 'className'>;
|
|
22
|
+
}
|
|
23
|
+
export interface VirtualListItemBaseProps<T extends ElementType = 'div'> extends Pick<HTMLAttributes<HTMLElement>, 'className' | 'style'>, ComponentPropsRef<HTMLElement> {
|
|
24
|
+
as?: T;
|
|
25
|
+
topPosition: number;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/VirtualList/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,WAAW,iCAAiC;IAChD,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,2BAA2B,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,CACxE,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC,EACpD,iBAAiB,CAAC,WAAW,CAAC;IAChC,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,YAAY,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC5C,QAAQ,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CAC7C;AAED,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,CACpE,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC;IACtD,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,yBAAyB,CACxC,CAAC,SAAS,WAAW,GAAG,KAAK,EAC7B,CAAC,SAAS,WAAW,GAAG,KAAK,CAC7B,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC,EACpD,iBAAiB,CAAC,WAAW,CAAC;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,WAAW,CAAC,EAAE,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE,IAAI,GAAG,WAAW,CAAC,CAAC;CACpE;AAED,MAAM,WAAW,wBAAwB,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,CACrE,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,EAC9D,iBAAiB,CAAC,WAAW,CAAC;IAChC,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -36,6 +36,7 @@ export * from './Toast';
|
|
|
36
36
|
export * from './Toggle';
|
|
37
37
|
export * from './Tooltip';
|
|
38
38
|
export * from './Typography';
|
|
39
|
-
export
|
|
39
|
+
export * from './VirtualList';
|
|
40
|
+
export { DialogOverlayFormDivider, InputLabel, OverlayTitle, useStepDialog, } from './shared';
|
|
40
41
|
export type { ChildrenElement, ComponentPropsRef, StepActionParams, StepDialogProps, } from './shared';
|
|
41
42
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SA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C;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAE9B,OAAO,EACL,wBAAwB,EACxB,UAAU,EACV,YAAY,EACZ,aAAa,GACd,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,GAChB,MAAM,UAAU,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { DialogProps } from '../../../../../components/Dialog/shared';
|
|
1
2
|
import { OverlayFooterStateProps, OverlayPrimitiveProps } from '../../../../../components/shared/components/Overlay';
|
|
2
|
-
export interface DialogOverlayProps extends OverlayPrimitiveProps {
|
|
3
|
+
export interface DialogOverlayProps extends OverlayPrimitiveProps, Pick<DialogProps, 'slot' | 'wrapperClassName'> {
|
|
3
4
|
}
|
|
4
5
|
export interface FormDialogOverlayProps extends DialogOverlayProps, OverlayFooterStateProps {
|
|
5
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/DialogOverlay/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAEhD,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/DialogOverlay/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAEhD,MAAM,WAAW,kBACf,SAAQ,qBAAqB,EAC3B,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB,CAAC;CAAG;AAErD,MAAM,WAAW,sBACf,SAAQ,kBAAkB,EACxB,uBAAuB;CAAG;AAE9B,MAAM,WAAW,+BACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,eAAe,GAAG,cAAc,CAAC;CAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { OverlayProps } from '../../../../components/shared/components/Overlay/types';
|
|
3
3
|
declare const Overlay: {
|
|
4
|
-
({ target, variant, isOpen, dimmed, children, ref, ...
|
|
4
|
+
({ target, variant, isOpen, dimmed, children, ref, className, wrapperClassName, ...rest }: PropsWithChildren<OverlayProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
displayName: string;
|
|
6
6
|
Loading: () => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/components/Overlay/Overlay.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGL,iBAAiB,EAElB,MAAM,OAAO,CAAC;AASf,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAE5E,QAAA,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/components/Overlay/Overlay.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGL,iBAAiB,EAElB,MAAM,OAAO,CAAC;AASf,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAE5E,QAAA,MAAM,OAAO;+FAUV,iBAAiB,CAAC,YAAY,CAAC;;;CAmCjC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -10,6 +10,7 @@ export interface OverlayProps extends Pick<PortalProps, 'target'>, Pick<DialogHT
|
|
|
10
10
|
variant: OverlayVariant;
|
|
11
11
|
isOpen: boolean;
|
|
12
12
|
dimmed?: boolean;
|
|
13
|
+
wrapperClassName?: HTMLAttributes<HTMLElement>['className'];
|
|
13
14
|
}
|
|
14
15
|
export interface OverlayHeaderProps extends Pick<HTMLAttributes<HTMLElement>, 'className'> {
|
|
15
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/Overlay/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EACL,gCAAgC,EAChC,gBAAgB,EACjB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,EACjC,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC,EAC1D,iBAAiB,CAAC,iBAAiB,CAAC;IACtC,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/Overlay/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EACL,gCAAgC,EAChC,gBAAgB,EACjB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,EACjC,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC,EAC1D,iBAAiB,CAAC,iBAAiB,CAAC;IACtC,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE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