@helsenorge/datepicker 6.4.0 → 7.0.0-beta.1

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,25 @@
1
+ ## 7.0.0-beta.0 (2024-03-07)
2
+
3
+ ### Features
4
+
5
+ - ts5, oppdater alle pakker ([d93bf76](https://github.com/helsenorge/designsystem/commit/d93bf76212b41b47aef279478b2af76705be2713))
6
+
7
+ ## [6.4.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv6.3.0&targetVersion=GTv6.4.0) (2024-02-29)
8
+
9
+ ### Features
10
+
11
+ - slider har fatt value prop og fiks til selected state
12
+ ([645ca82](https://github.com/helsenorge/designsystem/commit/645ca8291d85705f7e9cf3a372376cb4e53dc4cd)), closes
13
+ [#321070](https://github.com/helsenorge/designsystem/issues/321070)
14
+ - table-komponenter støtter alle vanlige html-attributter
15
+ ([0810650](https://github.com/helsenorge/designsystem/commit/08106504e1441a9c8916c41fbca31accf0beade2)), closes
16
+ [#321166](https://github.com/helsenorge/designsystem/issues/321166)
17
+
18
+ ### Bug Fixes
19
+
20
+ - slider value prop oppdaterer og selectedstate
21
+ ([e510bd7](https://github.com/helsenorge/designsystem/commit/e510bd7a1ef3fe89eaa4cbd6af614291d055cbb8))
22
+
1
23
  ## [6.3.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv6.2.0&targetVersion=GTv6.3.0) (2024-02-22)
2
24
 
3
25
  ### 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