@kystverket/styrbord 1.0.4 → 1.0.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/main.js +1567 -1543
- package/dist/main.umd.cjs +7 -7
- package/dist/src/components/kystverket/DateTimePicker/DateTimePicker.d.ts +2 -1
- package/dist/src/components/kystverket/DateTimePicker/Datepicker.stories.d.ts +1 -0
- package/dist/src/components/kystverket/Datepicker/Datepicker.d.ts +2 -1
- package/dist/src/components/kystverket/Datepicker/Datepicker.stories.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -8,5 +8,6 @@ export interface DateTimePickerProps {
|
|
|
8
8
|
value: Date | undefined;
|
|
9
9
|
timeInputLabel?: string;
|
|
10
10
|
onChange?: (date: Date | undefined) => void;
|
|
11
|
+
showCalendarIcon?: boolean;
|
|
11
12
|
}
|
|
12
|
-
export declare const DateTimePicker: ({ value, onChange, dateTimeFormat, timeInputLabel, ...props }: DateTimePickerProps) => React.JSX.Element;
|
|
13
|
+
export declare const DateTimePicker: ({ value, onChange, dateTimeFormat, timeInputLabel, showCalendarIcon, ...props }: DateTimePickerProps) => React.JSX.Element;
|
|
@@ -10,6 +10,7 @@ declare const meta: {
|
|
|
10
10
|
export default meta;
|
|
11
11
|
type Story = StoryObj<typeof meta>;
|
|
12
12
|
export declare const Default: Story;
|
|
13
|
+
export declare const WithoutCalendarIcon: Story;
|
|
13
14
|
export declare const Optional: Story;
|
|
14
15
|
export declare const OptionalText: Story;
|
|
15
16
|
export declare const Required: Story;
|
|
@@ -8,5 +8,6 @@ export interface DatepickerProps {
|
|
|
8
8
|
onBlur?: () => void;
|
|
9
9
|
value: Date | undefined;
|
|
10
10
|
onChange?: (date: Date | undefined) => void;
|
|
11
|
+
showCalendarIcon?: boolean;
|
|
11
12
|
}
|
|
12
|
-
export declare const Datepicker: ({ value, onChange, dateFormat, ...props }: DatepickerProps) => React.JSX.Element;
|
|
13
|
+
export declare const Datepicker: ({ value, onChange, dateFormat, showCalendarIcon, ...props }: DatepickerProps) => React.JSX.Element;
|
|
@@ -10,6 +10,7 @@ declare const meta: {
|
|
|
10
10
|
export default meta;
|
|
11
11
|
type Story = StoryObj<typeof meta>;
|
|
12
12
|
export declare const Default: Story;
|
|
13
|
+
export declare const WithoutCalendarIcon: Story;
|
|
13
14
|
export declare const WithoutDescription: Story;
|
|
14
15
|
export declare const WithValue: Story;
|
|
15
16
|
export declare const Optional: Story;
|