@kystverket/styrbord 1.3.13 → 1.3.15

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.
@@ -11,5 +11,7 @@ export interface DatepickerProps {
11
11
  showCalendarIcon?: boolean;
12
12
  minDate?: Date;
13
13
  maxDate?: Date;
14
+ popperPlacement?: 'top' | 'bottom' | 'left' | 'right';
15
+ withPortal?: boolean;
14
16
  }
15
- export declare const Datepicker: ({ value, onChange, dateFormat, showCalendarIcon, minDate, maxDate, ...props }: DatepickerProps) => React.JSX.Element;
17
+ export declare const Datepicker: ({ value, onChange, dateFormat, showCalendarIcon, minDate, maxDate, popperPlacement, withPortal, ...props }: DatepickerProps) => React.JSX.Element;
@@ -16,6 +16,8 @@ declare const meta: {
16
16
  showCalendarIcon?: boolean | undefined;
17
17
  minDate?: Date | undefined;
18
18
  maxDate?: Date | undefined;
19
+ popperPlacement?: "top" | "bottom" | "left" | "right" | undefined;
20
+ withPortal?: boolean | undefined;
19
21
  }>) => React.JSX.Element))[];
20
22
  tags: string[];
21
23
  argTypes: {};
@@ -33,3 +35,5 @@ export declare const WithError: Story;
33
35
  export declare const WithMinDate: Story;
34
36
  export declare const WithMaxDate: Story;
35
37
  export declare const WithMinAndMaxDate: Story;
38
+ export declare const PopperPlacement: Story;
39
+ export declare const InDialogNearEdge: Story;
@@ -28,6 +28,7 @@ export declare const ImageKystdatahuset: (props: SvgImageProps) => React.JSX.Ele
28
28
  export declare const ImageKystinfoKart: (props: SvgImageProps) => React.JSX.Element;
29
29
  export declare const ImageLavutslipp: (props: SvgImageProps) => React.JSX.Element;
30
30
  export declare const ImageNavigasjonsvarsler: (props: SvgImageProps) => React.JSX.Element;
31
+ export declare const ImageNavigasjonsvarslerFarget: (props: SvgImageProps) => React.JSX.Element;
31
32
  export declare const ImageOhoi: (props: SvgImageProps) => React.JSX.Element;
32
33
  export declare const ImageRegistrerteSeilaser: (props: SvgImageProps) => React.JSX.Element;
33
34
  export declare const ImageSeLosbestilling: (props: SvgImageProps) => React.JSX.Element;