@selfdecode/sd-component-library 3.0.22 → 3.0.25

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.
@@ -6,3 +6,4 @@ export * from "./layout-independend-max-width-container";
6
6
  export * from "./max-width-container";
7
7
  export { MaxWidthContainerV2 as MaxWidth } from "./max-width-container-v2";
8
8
  export * from "./section-container";
9
+ export * from "./underlined-max-width-container";
@@ -1,2 +1,3 @@
1
1
  import React from "react";
2
- export declare const MaxWidthContainerV2: React.ForwardRefExoticComponent<import("../max-width-container").MaxWidthContainerProps & React.RefAttributes<HTMLDivElement>>;
2
+ import { MaxWidthContainerProps as Props } from "../max-width-container";
3
+ export declare const MaxWidthContainerV2: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export { UnderlinedMaxWidthContainer } from "./underlined-max-width-container";
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { MaxWidthContainerProps as Props } from "../max-width-container";
3
+ export declare const UnderlinedMaxWidthContainer: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
@@ -74,4 +74,6 @@ export interface ModalProps {
74
74
  * Additional props for the modal inner container.
75
75
  */
76
76
  innerSx?: SxProps["sx"];
77
+ mountOnEnter?: boolean;
78
+ unmountOnExit?: boolean;
77
79
  }
@@ -1,4 +1,4 @@
1
- import { ModalProps } from "../modal/interfaces";
1
+ import { ModalProps } from "../modal";
2
2
  export interface PrimaryModalProps extends ModalProps {
3
3
  /**
4
4
  * heading of the modal
@@ -1,5 +1,5 @@
1
1
  import { GridProps } from "../../containers";
2
2
  import { PaginationBarProps } from "../pagination-bar";
3
- export declare type PaginationBarMobileProps = GridProps & Omit<PaginationBarProps, "onChange" | "bgSx" | "innerSx"> & {
3
+ export declare type PaginationBarMobileProps = Omit<GridProps, "onChange"> & Omit<PaginationBarProps, "onChange" | "bgSx" | "innerSx"> & {
4
4
  onChange: (newValue: number) => void;
5
5
  };
@@ -81,4 +81,4 @@ export declare function useBoundingClientRect<T extends Element = HTMLElement>(s
81
81
  ref: RefObject<T>;
82
82
  rect: DOMRect | undefined;
83
83
  };
84
- export declare const useBodyScrollLock: (target: HTMLElement | null, shouldEnable?: boolean) => void;
84
+ export declare const useBodyScrollLock: <T extends HTMLElement = HTMLElement>(target: T | null, shouldEnable?: boolean) => void;
@@ -0,0 +1,7 @@
1
+ export declare const isIOS: () => boolean;
2
+ export declare const isTouchScreen: () => boolean;
3
+ export declare const getResponsiveClick: (callback: () => void) => {
4
+ shouldUseTouch: boolean;
5
+ onClick: (() => void) | undefined;
6
+ onTouchStart: (() => void) | undefined;
7
+ };