@oslokommune/punkt-react 15.0.0 → 15.0.1
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 +18 -0
- package/dist/index.d.ts +1 -1
- package/dist/punkt-react.es.js +2535 -2519
- package/dist/punkt-react.umd.js +155 -155
- package/package.json +4 -4
- package/src/components/datepicker/Datepicker.core.test.tsx +3 -3
- package/src/components/datepicker/Datepicker.tsx +10 -2
- package/src/components/datepicker/Datepicker.validation.test.tsx +14 -14
- package/src/components/datepicker/types.ts +6 -3
- package/src/components/datepicker/useDatepickerState.ts +27 -15
- package/src/components/tag/Tag.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [15.0.1](https://github.com/oslokommune/punkt/compare/15.0.0...15.0.1) (2026-02-12)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* Datepicker i React, onChange trenger React ChangeEvent, ikke native Event (#3244).
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
8
26
|
## [15.0.0](https://github.com/oslokommune/punkt/compare/14.5.4...15.0.0) (2026-02-12)
|
|
9
27
|
|
|
10
28
|
### ⚠ BREAKING CHANGES
|
package/dist/index.d.ts
CHANGED
|
@@ -288,7 +288,7 @@ export declare interface IPktDatepicker extends Omit<InputHTMLAttributes<HTMLInp
|
|
|
288
288
|
tagText?: string;
|
|
289
289
|
useWrapper?: boolean;
|
|
290
290
|
strings?: IDatepickerStrings;
|
|
291
|
-
onChange?: (e:
|
|
291
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
292
292
|
onValueChange?: (values: string[]) => void;
|
|
293
293
|
className?: string;
|
|
294
294
|
}
|