@kystverket/styrbord 1.4.8 → 1.4.10

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.
@@ -14,5 +14,6 @@ export interface DateTimePickerProps {
14
14
  showCalendarIcon?: boolean;
15
15
  minDate?: Date;
16
16
  maxDate?: Date;
17
+ disabled?: boolean;
17
18
  }
18
19
  export declare const DateTimePicker: ({ value, onChange, dateTimeFormat, timeInputLabel, showCalendarIcon, minDate, maxDate, showMonthDropdown, showYearDropdown, ...props }: DateTimePickerProps) => React.JSX.Element;
@@ -19,6 +19,7 @@ declare const meta: {
19
19
  showCalendarIcon?: boolean | undefined;
20
20
  minDate?: Date | undefined;
21
21
  maxDate?: Date | undefined;
22
+ disabled?: boolean | undefined;
22
23
  }>) => React.JSX.Element))[];
23
24
  tags: string[];
24
25
  argTypes: {};
@@ -15,5 +15,6 @@ export interface DatepickerProps {
15
15
  maxDate?: Date;
16
16
  popperPlacement?: 'top' | 'bottom' | 'left' | 'right';
17
17
  withPortal?: boolean;
18
+ disabled?: boolean;
18
19
  }
19
20
  export declare const Datepicker: ({ value, onChange, dateFormat, showCalendarIcon, minDate, maxDate, popperPlacement, withPortal, showMonthDropdown, showYearDropdown, ...props }: DatepickerProps) => React.JSX.Element;
@@ -20,6 +20,7 @@ declare const meta: {
20
20
  maxDate?: Date | undefined;
21
21
  popperPlacement?: "top" | "bottom" | "left" | "right" | undefined;
22
22
  withPortal?: boolean | undefined;
23
+ disabled?: boolean | undefined;
23
24
  }>) => React.JSX.Element))[];
24
25
  tags: string[];
25
26
  argTypes: {};
@@ -0,0 +1,8 @@
1
+ import { HeaderProps } from '~/main';
2
+ type HeaderProfileProps = {
3
+ isProfileOpen: boolean;
4
+ toggleProfileOpen: () => void;
5
+ closeProfile: () => void;
6
+ } & Required<Pick<HeaderProps, 'profile' | 'linkComponent'>>;
7
+ export declare function HeaderProfile({ profile, isProfileOpen, toggleProfileOpen, closeProfile, linkComponent: LinkComponent, }: HeaderProfileProps): React.JSX.Element;
8
+ export {};