design-system-silkhaus 3.2.0-beta.dropdown.4 → 3.2.0-beta.dropdown.5

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/index.d.ts CHANGED
@@ -2,9 +2,11 @@ import { CalendarDayShape } from 'react-dates';
2
2
  import { ClassProp } from 'class-variance-authority/types';
3
3
  import { ClassValue } from 'clsx';
4
4
  import { default as default_2 } from 'react';
5
+ import { ElementType } from 'react';
5
6
  import { FC } from 'react';
6
7
  import { ForwardRefExoticComponent } from 'react';
7
8
  import { HTMLAttributes } from 'react';
9
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
8
10
  import { LazyLoadTypes } from 'react-slick';
9
11
  import { ModifiersShape } from 'react-dates';
10
12
  import { Moment } from 'moment';
@@ -321,6 +323,20 @@ export declare const CloseIcon: FC<{
321
323
 
322
324
  export declare function cn(...inputs: ClassValue[]): string;
323
325
 
326
+ /**
327
+ * A wrapper component that follows design system's margins on pages for different screen sizes
328
+ */
329
+ export declare const Container: <T extends ElementType = "div">({ as, children, className, dataTestId, ...rest }: ContainerProps<T>) => JSX_2.Element;
330
+
331
+ export declare type ContainerProps<T extends ElementType = 'div'> = React.PropsWithChildren<{
332
+ /**
333
+ * Element type to render as
334
+ * @default 'div'
335
+ */
336
+ as?: T;
337
+ dataTestId?: string;
338
+ }> & React.ComponentPropsWithoutRef<T>;
339
+
324
340
  export declare const ContractIcon: FC<{
325
341
  className?: string;
326
342
  }>;