@ultraviolet/ui 1.20.1 → 1.20.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1181,7 +1181,7 @@ type CopyButtonProps = {
1181
1181
  */
1182
1182
  declare const CopyButton: ({ size, value, copyText, copiedText, sentiment, noBorder, className, "data-testid": dataTestId, }: CopyButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
1183
1183
 
1184
- type DateInputProps = Pick<ReactDatePickerProps<string, boolean>, 'autoFocus' | 'disabled' | 'locale' | 'maxDate' | 'minDate' | 'startDate' | 'endDate' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'required' | 'excludeDates' | 'selectsRange'> & {
1184
+ type DateInputProps = Pick<ReactDatePickerProps<string, boolean>, 'autoFocus' | 'disabled' | 'locale' | 'maxDate' | 'minDate' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'required'> & {
1185
1185
  error?: string;
1186
1186
  format?: (value?: Date | string) => string | undefined;
1187
1187
  /**
@@ -1191,6 +1191,10 @@ type DateInputProps = Pick<ReactDatePickerProps<string, boolean>, 'autoFocus' |
1191
1191
  value?: Date | string | [Date | null, Date | null];
1192
1192
  className?: string;
1193
1193
  'data-testid'?: string;
1194
+ selectsRange?: boolean;
1195
+ startDate?: Date | null;
1196
+ endDate?: Date | null;
1197
+ excludeDates?: Date[];
1194
1198
  };
1195
1199
  /**
1196
1200
  * DateInput is a wrapper around react-datepicker that provides a consistent look and feel with the rest of the Ultraviolet UI.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/ui",
3
- "version": "1.20.1",
3
+ "version": "1.20.2",
4
4
  "description": "Ultraviolet UI",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {