@helsenorge/datepicker 6.5.0 → 7.0.0-beta.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## 7.0.0-beta.1 (2024-03-07)
2
+
3
+ ## 7.0.0-beta.0 (2024-03-07)
4
+
5
+ ### Features
6
+
7
+ - ts5, oppdater alle pakker ([d93bf76](https://github.com/helsenorge/designsystem/commit/d93bf76212b41b47aef279478b2af76705be2713))
8
+
9
+ ## [6.5.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv6.4.0&targetVersion=GTv6.5.0) (2024-03-07)
10
+
11
+ ### Features
12
+
13
+ - dropdown stotter eksterne refs for children
14
+ ([10cc1ba](https://github.com/helsenorge/designsystem/commit/10cc1bac51b6e499fd94b3eaa6e0d68e8ab4d605)), closes
15
+ [#309420](https://github.com/helsenorge/designsystem/issues/309420)
16
+
1
17
  ## [6.4.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv6.3.0&targetVersion=GTv6.4.0) (2024-02-29)
2
18
 
3
19
  ### Features
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=styleMock.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { Locale } from 'date-fns';
2
3
  import { DayPickerSingleProps } from 'react-day-picker';
3
4
  export type DateFormat = 'dd.MM.yyyy';
4
5
  export interface DatePickerProps extends Pick<React.InputHTMLAttributes<HTMLInputElement>, 'name' | 'aria-describedby' | 'onBlur' | 'autoComplete'>, Pick<DayPickerSingleProps, 'dir' | 'initialFocus'> {
@@ -37,4 +38,3 @@ export interface DatePickerProps extends Pick<React.InputHTMLAttributes<HTMLInpu
37
38
  }
38
39
  export declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
39
40
  export default DatePicker;
40
- //# sourceMappingURL=DatePicker.d.ts.map
@@ -0,0 +1,65 @@
1
+ import React from 'react';
2
+ import { StoryObj } from '@storybook/react';
3
+ import { DatePickerProps } from './DatePicker';
4
+ declare const meta: {
5
+ title: string;
6
+ component: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
7
+ parameters: {
8
+ docs: {
9
+ description: {
10
+ component: string;
11
+ };
12
+ };
13
+ };
14
+ args: {
15
+ dateButtonAriaLabel: string;
16
+ dateFormat: "dd.MM.yyyy";
17
+ disableWeekends: false;
18
+ error: false;
19
+ errorText: string;
20
+ autoComplete: string;
21
+ };
22
+ argTypes: {
23
+ dateButtonAriaLabel: {
24
+ control: string;
25
+ };
26
+ dateFormat: {
27
+ control: string;
28
+ options: string[];
29
+ };
30
+ dateValue: {
31
+ control: string;
32
+ };
33
+ disableDays: {
34
+ control: string;
35
+ };
36
+ disableWeekends: {
37
+ control: string;
38
+ };
39
+ error: {
40
+ control: string;
41
+ };
42
+ errorText: {
43
+ control: string;
44
+ };
45
+ maxDate: {
46
+ control: string;
47
+ };
48
+ minDate: {
49
+ control: string;
50
+ };
51
+ autoComplete: {
52
+ control: string;
53
+ };
54
+ };
55
+ };
56
+ export default meta;
57
+ type Story = StoryObj<typeof meta>;
58
+ export declare const Default: Story;
59
+ export declare const DateRangePicker: Story;
60
+ export declare const DateAndTime: Story;
61
+ export declare const MinMaxDays: Story;
62
+ export declare const DisabledDays: Story;
63
+ export declare const FooterContent: Story;
64
+ export declare const Locale: Story;
65
+ export declare const ValidateDateTime: Story;
@@ -7,4 +7,3 @@ interface DatePickerPopupProps extends Pick<DayPickerSingleProps, 'dir' | 'disab
7
7
  }
8
8
  declare const DatePickerPopup: React.FC<DatePickerPopupProps>;
9
9
  export default DatePickerPopup;
10
- //# sourceMappingURL=DatePickerPopup.d.ts.map
@@ -15,4 +15,3 @@ export interface DateTimeProps extends Pick<React.InputHTMLAttributes<HTMLInputE
15
15
  }
16
16
  export declare const DateTime: React.ForwardRefExoticComponent<DateTimeProps & React.RefAttributes<HTMLInputElement>>;
17
17
  export default DateTime;
18
- //# sourceMappingURL=DateTime.d.ts.map
@@ -12,4 +12,3 @@ interface DateTimePickerWrapperProps {
12
12
  }
13
13
  export declare const DateTimePickerWrapper: React.ForwardRefExoticComponent<DateTimePickerWrapperProps & React.RefAttributes<HTMLDivElement>>;
14
14
  export default DateTimePickerWrapper;
15
- //# sourceMappingURL=DateTimePickerWrapper.d.ts.map
@@ -4,4 +4,3 @@ export { DateTimePickerWrapper } from './DateTimePickerWrapper';
4
4
  export * from './validate-utils';
5
5
  export * from './DatePicker';
6
6
  export default DatePicker;
7
- //# sourceMappingURL=index.d.ts.map