@opengeoweb/form-fields 8.4.1 → 9.0.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": "8.4.1",
3
+ "version": "9.0.0",
4
4
  "description": "GeoWeb form-fields library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -9,16 +9,5 @@
9
9
  },
10
10
  "module": "./index.esm.js",
11
11
  "type": "module",
12
- "main": "./index.esm.js",
13
- "dependencies": {},
14
- "peerDependencies": {
15
- "@mui/material": "5.12.0",
16
- "@mui/x-date-pickers": "6.2.1",
17
- "@opengeoweb/theme": "8.4.1",
18
- "lodash": "4.17.21",
19
- "moment": "2.29.4",
20
- "moment-timezone": "0.5.43",
21
- "react": "18.2.0",
22
- "react-hook-form": "7.47.0"
23
- }
12
+ "main": "./index.esm.js"
24
13
  }
@@ -3,7 +3,6 @@ import { SxProps, Theme } from '@mui/material';
3
3
  import { Moment } from 'moment-timezone';
4
4
  import { DateTimePickerProps, DateTimePickerSlotsComponentsProps } from '@mui/x-date-pickers';
5
5
  import { ReactHookFormInput } from './types';
6
- export declare const temporaryStripChineseCharacters: (dirtyString: string) => string;
7
6
  export declare const getFormattedValue: (value: Moment | string) => string | Moment;
8
7
  type ReactHookKeyboardDateTimePickerProps = DateTimePickerProps<Moment> & DateTimePickerSlotsComponentsProps<Moment> & ReactHookFormInput<{
9
8
  defaultNullValue?: string | null;
@@ -13,6 +12,7 @@ type ReactHookKeyboardDateTimePickerProps = DateTimePickerProps<Moment> & DateTi
13
12
  sx?: SxProps<Theme>;
14
13
  }> & {
15
14
  'data-testid'?: string;
15
+ shouldHideUTC?: boolean;
16
16
  };
17
17
  declare const ReactHookKeyboardDateTimePicker: React.FC<ReactHookKeyboardDateTimePickerProps>;
18
18
  export default ReactHookKeyboardDateTimePicker;
@@ -9,4 +9,3 @@ export { default as ReactHookFormHiddenInput } from './ReactHookFormHiddenInput'
9
9
  export { defaultFormOptions } from './ReactHookFormProvider';
10
10
  export { errorMessages, isMaximumOneDrawing, isGeometryDirty, isValidGeoJsonCoordinates, hasIntersectionWithFIR, isValidMax, isValidMin, isInteger, isAfter, isBefore, isBetween, isValidDate, hasMaxFeaturePoints, hasMulitpleIntersections, isXHoursBefore, isXHoursAfter, isLatitude, isLongitude, isNonOrBothCoordinates, isEmpty, } from './utils';
11
11
  export { getDeepProperty } from './formUtils';
12
- export { temporaryStripChineseCharacters } from './ReactHookFormDateTime';