@helsenorge/datepicker
Advanced tools
Comparing version 7.0.0-beta.2 to 7.0.0-beta.5
@@ -24,2 +24,4 @@ import React from 'react'; | ||
errorText?: string; | ||
/** Error text id */ | ||
errorTextId?: string; | ||
/** Content to be rendered in the footer of the datepicker popup */ | ||
@@ -29,2 +31,4 @@ footerContent?: React.ReactNode; | ||
label?: React.ReactNode; | ||
/** Input element id */ | ||
inputId?: string; | ||
/** Sets the locale of the datepicker */ | ||
@@ -40,4 +44,6 @@ locale?: Locale; | ||
testId?: string; | ||
/** Overrides the default z-index of DatePicker */ | ||
zIndex?: number; | ||
} | ||
export declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>; | ||
export default DatePicker; |
@@ -7,4 +7,5 @@ import React from 'react'; | ||
testId?: string; | ||
zIndex?: number; | ||
} | ||
declare const DatePickerPopup: React.FC<DatePickerPopupProps>; | ||
export default DatePickerPopup; |
@@ -9,2 +9,4 @@ import React from 'react'; | ||
errorText?: string; | ||
/** Error text id */ | ||
errorTextId?: string; | ||
/** Label of the input */ | ||
@@ -14,2 +16,4 @@ label?: React.ReactNode; | ||
timeUnit: TimeUnit; | ||
/** input id of the checkbox */ | ||
inputId?: string; | ||
/** Sets the data-testid attribute. */ | ||
@@ -16,0 +20,0 @@ testId?: string; |
@@ -10,3 +10,3 @@ { | ||
"homepage": "https://helsenorge.design", | ||
"version": "7.0.0-beta.2", | ||
"version": "7.0.0-beta.5", | ||
"author": "Helsenorge", | ||
@@ -21,6 +21,6 @@ "license": "MIT", | ||
"date-fns": "^3.3.1", | ||
"react": ">=17", | ||
"react-dom": ">=17" | ||
"react": "^17.0.0", | ||
"react-dom": "^17.0.0" | ||
}, | ||
"sideEffects": false | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
450188
17
2141