@opengeoweb/form-fields 9.27.0 → 9.28.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/form-fields",
3
- "version": "9.27.0",
3
+ "version": "9.28.0",
4
4
  "description": "GeoWeb form-fields library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -10,11 +10,11 @@
10
10
  "dependencies": {
11
11
  "@opengeoweb/theme": "*",
12
12
  "react-hook-form": "^7.50.1",
13
- "@mui/x-date-pickers": "^6.18.5",
13
+ "@mui/x-date-pickers": "^7.17.0",
14
14
  "lodash": "^4.17.21",
15
- "@opengeoweb/shared": "9.27.0",
15
+ "@opengeoweb/shared": "9.28.0",
16
16
  "react-i18next": "^14.1.2",
17
- "@mui/material": "^5.16.0",
17
+ "@mui/material": "^6.1.1",
18
18
  "i18next": "^23.11.5"
19
19
  },
20
20
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps, Theme } from '@mui/material';
3
- import { DateTimePickerProps, DateTimePickerSlotsComponentsProps } from '@mui/x-date-pickers';
3
+ import { DateTimePickerProps, DateTimePickerSlotProps } from '@mui/x-date-pickers';
4
4
  import { ReactHookFormInput } from './types';
5
5
  /**
6
6
  * Should return an isostring in the form "YYYY-MM-DDThh:mm:ssZ";
@@ -10,7 +10,7 @@ import { ReactHookFormInput } from './types';
10
10
  */
11
11
  export declare const getFormattedValueForDatePicker: (value: Date) => string | null;
12
12
  export declare const getDateValue: (value: string) => Date | null;
13
- type ReactHookKeyboardDateTimePickerProps = DateTimePickerProps<Date> & DateTimePickerSlotsComponentsProps<Date> & ReactHookFormInput<{
13
+ type ReactHookKeyboardDateTimePickerProps = DateTimePickerProps<Date> & DateTimePickerSlotProps<Date, false> & ReactHookFormInput<{
14
14
  defaultNullValue?: string | null;
15
15
  value?: string;
16
16
  onChange?: (value: Date | string | null) => void;