@mirantes-micro/foundation-design-system 0.0.73 → 0.0.75
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/index.d.ts +4 -1
- package/dist/index.js +8 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -115,6 +115,7 @@ interface DateInputProps {
|
|
|
115
115
|
minDate?: Date;
|
|
116
116
|
maxDate?: Date;
|
|
117
117
|
required?: boolean;
|
|
118
|
+
showDateIcon?: boolean;
|
|
118
119
|
disabled?: boolean;
|
|
119
120
|
readOnly?: boolean;
|
|
120
121
|
className?: string;
|
|
@@ -122,7 +123,9 @@ interface DateInputProps {
|
|
|
122
123
|
inputClassName?: string;
|
|
123
124
|
label?: string;
|
|
124
125
|
"data-testid"?: string;
|
|
126
|
+
error?: string;
|
|
127
|
+
formattedAsMonthYear?: boolean;
|
|
125
128
|
}
|
|
126
|
-
declare function CustomDateInput({ value, onChange, minDate, maxDate, required, disabled, readOnly, className, placeholder, inputClassName, label, "data-testid": testId, }: DateInputProps): React__default.JSX.Element;
|
|
129
|
+
declare function CustomDateInput({ value, error: errorMessage, onChange, minDate, maxDate, required, showDateIcon, disabled, readOnly, className, placeholder, inputClassName, label, "data-testid": testId, formattedAsMonthYear, }: DateInputProps): React__default.JSX.Element;
|
|
127
130
|
|
|
128
131
|
export { CustomDateInput, DateInput, GradientModal, Header, MirantesFoundationProvider, Spinner, WorkspacePanel, closeLogoutChannel, getInitials, joinUrlWithPathAndQuery, onLogout, stringToObj, useMirantesFoundation };
|