@mtes-mct/monitor-ui 7.6.1 → 7.6.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [7.6.1](https://github.com/MTES-MCT/monitor-ui/compare/v7.6.0...v7.6.1) (2023-07-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **fields:** auto-focus start time on calendar pick in DateRangePicker ([b077c32](https://github.com/MTES-MCT/monitor-ui/commit/b077c32acb1afef224f369f89126384e2294b80e))
7
+ * **fields:** fix calendar pick to time focus switching in DatePicker ([1300b79](https://github.com/MTES-MCT/monitor-ui/commit/1300b797375216bdeef7e3b4395cd09d977eba12))
8
+ * **fields:** fix calendar pick to time focus switching when filled in DatePicker ([59cd4af](https://github.com/MTES-MCT/monitor-ui/commit/59cd4af98d8980276b586a8c97f765a536829169))
9
+ * **fields:** fix hour to minute focus switching when filled in DateRangePicker ([340533f](https://github.com/MTES-MCT/monitor-ui/commit/340533f3ad4e362a82eefdfac829cb577f22665b))
10
+ * **fields:** fix partially calendar update on date input change in DateRangePicker ([5712e6a](https://github.com/MTES-MCT/monitor-ui/commit/5712e6a3b7bc49fd14617f4033aed0ed1499f9a5))
11
+ * **fields:** fix partially filled date update on calendar pick in DatePicker & DateRangePicker ([9c138be](https://github.com/MTES-MCT/monitor-ui/commit/9c138be011dc3839438fe9990a9770ae97371efd))
12
+ * **fields:** remove internal min/max for year in DatePicker & DateRangePicker ([388f069](https://github.com/MTES-MCT/monitor-ui/commit/388f06942b29ba4219a8724fb80dc87d112f48d6))
13
+ * **fields:** update backspace when filled behavior in DatePicker & DateRangePicker ([599aacd](https://github.com/MTES-MCT/monitor-ui/commit/599aacdbd1767a607f2477398ee2874ce7774499))
14
+
1
15
  # [7.6.0](https://github.com/MTES-MCT/monitor-ui/compare/v7.5.0...v7.6.0) (2023-07-05)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mtes-mct/monitor-ui",
3
3
  "description": "Common React UI components and styles for Monitorfish and Monitorenv.",
4
- "version": "7.6.1",
4
+ "version": "7.6.2",
5
5
  "license": "AGPL-3.0",
6
6
  "engines": {
7
7
  "node": ">=18"
@@ -42,5 +42,5 @@
42
42
  },
43
43
  "sideEffects": false,
44
44
  "type": "module",
45
- "types": "./index.d.ts"
45
+ "types": "./src/index.d.ts"
46
46
  }
@@ -16,7 +16,7 @@ export type NumberInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'defa
16
16
  onPrevious?: (() => Promisable<void>) | undefined;
17
17
  size: number;
18
18
  };
19
- export declare const NumberInput: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "pattern" | "defaultValue" | "onInput" | "maxLength"> & {
19
+ export declare const NumberInput: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "pattern" | "type" | "defaultValue" | "onInput" | "maxLength"> & {
20
20
  isLight: boolean;
21
21
  max?: number;
22
22
  min?: number;