@rokt/dcui-orchestrator 0.2.1-rc.53 → 0.2.1-rc.55

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.
@@ -5,11 +5,13 @@ import { PluginSlot } from '../../../../../libraries/domain/src/models';
5
5
  export type MinimizedBottomSheetProps = BottomSheetProps & {
6
6
  schema: BottomSheetProps['schema'] & {
7
7
  customStateKey?: string;
8
+ startMinimized?: boolean;
8
9
  };
9
10
  slots: PluginSlot<LayoutSchemaModel>[];
10
11
  currentIndex: number;
11
12
  };
12
13
  type BottomSheetContainerProps = {
14
+ startMinimized: boolean;
13
15
  children?: React.ReactNode;
14
16
  schema: MinimizedBottomSheetProps['schema'];
15
17
  ref: React.RefObject<HTMLDivElement>;
@@ -4,6 +4,7 @@ import { BottomSheetWithSlots } from './bottom-sheet';
4
4
  export declare const ConnectedBottomSheet: import("react-redux").ConnectedComponent<typeof BottomSheetWithSlots, {
5
5
  schema: import("@rokt/dcui-layout-schema").BottomSheetModel<import("@rokt/dcui-layout-schema").ModalChildren, import("@rokt/dcui-layout-schema").WhenPredicate> & {
6
6
  customStateKey?: string;
7
+ startMinimized?: boolean;
7
8
  };
8
9
  testId?: string | undefined;
9
10
  context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
@@ -1,6 +1,7 @@
1
1
  export declare const INITIAL_WRAPPER_HEIGHT = 100000;
2
2
  export declare const MINIMIZED_STATE_KEY = "Minimized";
3
- export declare const useBottomSheetDragEvents: () => {
3
+ export declare const MAXIMIZED_STATE_KEY = "Maximized";
4
+ export declare const useBottomSheetDragEvents: (startMinimized: boolean) => {
4
5
  wrapperRef: import("react").RefObject<HTMLDivElement>;
5
6
  containerRef: import("react").RefObject<HTMLDivElement>;
6
7
  minimizedChildRef: import("react").RefObject<HTMLDivElement>;
@@ -1,6 +1,6 @@
1
- import { BottomSheetProps } from '../bottom-sheet/types';
1
+ import { MinimizedBottomSheetProps } from '../bottom-sheet';
2
2
  export declare enum ContainerMode {
3
3
  BottomSheet = 0,
4
4
  Overlay = 1
5
5
  }
6
- export declare function OverlayWrapper({ schema, testId }: BottomSheetProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function OverlayWrapper({ schema, testId }: MinimizedBottomSheetProps): import("react/jsx-runtime").JSX.Element;