@oslokommune/punkt-react 12.12.0 → 12.12.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 +18 -0
- package/dist/index.d.ts +1 -0
- package/package.json +4 -4
- package/src/components/datepicker/Datepicker.tsx +1 -0
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
|
+
## [12.12.1](https://github.com/oslokommune/punkt/compare/12.12.0...12.12.1) (2024-12-06)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* Innfør onInput() i PktDatepicker (Fikser #2080) (#2081).
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
8
26
|
## [12.12.0](https://github.com/oslokommune/punkt/compare/12.11.11...12.12.0) (2024-12-05)
|
|
9
27
|
|
|
10
28
|
### ⚠ BREAKING CHANGES
|
package/dist/index.d.ts
CHANGED
|
@@ -166,6 +166,7 @@ declare interface IPktDatepicker extends Omit<PktElType, 'ref'> {
|
|
|
166
166
|
strings?: any;
|
|
167
167
|
ref?: LegacyRef<PktDatepicker_2>;
|
|
168
168
|
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
169
|
+
onInput?: ChangeEventHandler<HTMLInputElement>;
|
|
169
170
|
onBlur?: FocusEventHandler<HTMLInputElement>;
|
|
170
171
|
onFocus?: FocusEventHandler<HTMLInputElement>;
|
|
171
172
|
onValueChange?: (e: CustomEvent) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oslokommune/punkt-react",
|
|
3
|
-
"version": "12.12.
|
|
3
|
+
"version": "12.12.2",
|
|
4
4
|
"description": "React komponentbibliotek til Punkt, et designsystem laget av Oslo Origo",
|
|
5
5
|
"homepage": "https://punkt.oslo.kommune.no",
|
|
6
6
|
"author": "Team Designsystem, Oslo Origo",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@oslokommune/punkt-assets": "^12.7.3",
|
|
50
|
-
"@oslokommune/punkt-css": "^12.12.
|
|
51
|
-
"@oslokommune/punkt-elements": "^12.12.
|
|
50
|
+
"@oslokommune/punkt-css": "^12.12.2",
|
|
51
|
+
"@oslokommune/punkt-elements": "^12.12.2",
|
|
52
52
|
"@testing-library/jest-dom": "^6.5.0",
|
|
53
53
|
"@testing-library/react": "^16.0.1",
|
|
54
54
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"url": "https://github.com/oslokommune/punkt/issues"
|
|
112
112
|
},
|
|
113
113
|
"license": "MIT",
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "e724a9ece981e63f0bf39d4d8bb49c35f4d574fa"
|
|
115
115
|
}
|
|
@@ -35,6 +35,7 @@ interface IPktDatepicker extends Omit<PktElType, 'ref'> {
|
|
|
35
35
|
strings?: any
|
|
36
36
|
ref?: LegacyRef<PktEl>
|
|
37
37
|
onChange?: ChangeEventHandler<HTMLInputElement>
|
|
38
|
+
onInput?: ChangeEventHandler<HTMLInputElement>
|
|
38
39
|
onBlur?: FocusEventHandler<HTMLInputElement>
|
|
39
40
|
onFocus?: FocusEventHandler<HTMLInputElement>
|
|
40
41
|
onValueChange?: (e: CustomEvent) => void
|