@oslokommune/punkt-react 13.0.2 → 13.0.4
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 +36 -0
- package/dist/index.d.ts +3 -4
- package/dist/punkt-react.es.js +2956 -2943
- package/dist/punkt-react.umd.js +144 -144
- package/package.json +2 -2
- package/src/components/checkbox/Checkbox.tsx +31 -6
- package/src/components/radio/RadioButton.tsx +22 -7
- package/src/components/textarea/Textarea.tsx +9 -10
- package/src/components/textinput/Textinput.tsx +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,42 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [13.0.4](https://github.com/oslokommune/punkt/compare/13.0.3...13.0.4) (2025-07-07)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* Legg til manglende klasser i Checkbox og Radiobutton (#2689).
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## [13.0.3](https://github.com/oslokommune/punkt/compare/13.0.2...13.0.3) (2025-07-07)
|
|
27
|
+
|
|
28
|
+
### ⚠ BREAKING CHANGES
|
|
29
|
+
Ingen
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
Ingen
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
* Bug med TextArea ID, og gjort TextInput og TextArea mer like (#2688).
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Chores
|
|
39
|
+
Ingen
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
|
|
8
44
|
## [13.0.2](https://github.com/oslokommune/punkt/compare/13.0.1...13.0.2) (2025-07-07)
|
|
9
45
|
|
|
10
46
|
### ⚠ BREAKING CHANGES
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
|
|
3
3
|
import { AnchorHTMLAttributes } from 'react';
|
|
4
|
-
import { ChangeEvent } from 'react';
|
|
5
4
|
import { ChangeEventHandler } from 'react';
|
|
6
5
|
import { default as default_2 } from 'react';
|
|
7
6
|
import { FC } from 'react';
|
|
@@ -502,7 +501,7 @@ export declare interface IPktTextarea extends TextareaHTMLAttributes<HTMLTextAre
|
|
|
502
501
|
readOnly?: boolean;
|
|
503
502
|
required?: boolean;
|
|
504
503
|
skipForwardTestid?: boolean;
|
|
505
|
-
onChange?:
|
|
504
|
+
onChange?: ChangeEventHandler<HTMLTextAreaElement>;
|
|
506
505
|
}
|
|
507
506
|
|
|
508
507
|
export declare interface IPktTextinput extends InputHTMLAttributes<HTMLInputElement> {
|
|
@@ -543,7 +542,7 @@ export declare interface IPktTextinput extends InputHTMLAttributes<HTMLInputElem
|
|
|
543
542
|
readonly?: boolean;
|
|
544
543
|
required?: boolean;
|
|
545
544
|
dataTestid?: string;
|
|
546
|
-
onChange?:
|
|
545
|
+
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
547
546
|
skipForwardTestid?: boolean;
|
|
548
547
|
}
|
|
549
548
|
|
|
@@ -725,7 +724,7 @@ export declare const PktTabs: default_2.ForwardRefExoticComponent<IPktTabs & def
|
|
|
725
724
|
|
|
726
725
|
export declare const PktTag: FC<IPktTag>;
|
|
727
726
|
|
|
728
|
-
export declare const PktTextarea: ForwardRefExoticComponent<IPktTextarea & RefAttributes<HTMLTextAreaElement>>;
|
|
727
|
+
export declare const PktTextarea: default_2.ForwardRefExoticComponent<IPktTextarea & default_2.RefAttributes<HTMLTextAreaElement>>;
|
|
729
728
|
|
|
730
729
|
export declare const PktTextinput: default_2.ForwardRefExoticComponent<IPktTextinput & default_2.RefAttributes<HTMLInputElement>>;
|
|
731
730
|
|