@oslokommune/punkt-react 12.40.5 → 12.40.7
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 +4 -4
- package/dist/punkt-react.es.js +2908 -2902
- package/dist/punkt-react.umd.js +255 -252
- package/package.json +4 -4
- package/src/components/textarea/Textarea.tsx +5 -6
- package/src/components/textinput/Textinput.tsx +13 -16
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.40.6](https://github.com/oslokommune/punkt/compare/12.40.5...12.40.6) (2025-05-26)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* Validering + div bugfikser (#2589).
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
8
26
|
## [12.40.4](https://github.com/oslokommune/punkt/compare/12.40.3...12.40.4) (2025-05-21)
|
|
9
27
|
|
|
10
28
|
### ⚠ BREAKING CHANGES
|
package/dist/index.d.ts
CHANGED
|
@@ -493,7 +493,7 @@ export declare interface IPktTextarea extends TextareaHTMLAttributes<HTMLTextAre
|
|
|
493
493
|
requiredText?: string;
|
|
494
494
|
useWrapper?: boolean;
|
|
495
495
|
value?: string;
|
|
496
|
-
ref?:
|
|
496
|
+
ref?: ForwardedRef<HTMLTextAreaElement | IPktTextarea>;
|
|
497
497
|
onChange?: ChangeEventHandler<HTMLTextAreaElement>;
|
|
498
498
|
onInput?: ChangeEventHandler<HTMLTextAreaElement>;
|
|
499
499
|
onBlur?: FocusEventHandler<HTMLTextAreaElement>;
|
|
@@ -526,7 +526,7 @@ export declare interface IPktTextinput extends InputHTMLAttributes<HTMLInputElem
|
|
|
526
526
|
useWrapper?: boolean;
|
|
527
527
|
value?: string;
|
|
528
528
|
omitSearchIcon?: boolean;
|
|
529
|
-
ref?:
|
|
529
|
+
ref?: ForwardedRef<HTMLInputElement>;
|
|
530
530
|
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
531
531
|
onInput?: ChangeEventHandler<HTMLInputElement>;
|
|
532
532
|
onBlur?: FocusEventHandler<HTMLInputElement>;
|
|
@@ -715,9 +715,9 @@ export declare const PktTabs: default_2.ForwardRefExoticComponent<IPktTabs & def
|
|
|
715
715
|
|
|
716
716
|
export declare const PktTag: FC<IPktTag>;
|
|
717
717
|
|
|
718
|
-
export declare const PktTextarea:
|
|
718
|
+
export declare const PktTextarea: default_2.ForwardRefExoticComponent<Omit<IPktTextarea, "ref"> & default_2.RefAttributes<IPktTextarea | HTMLTextAreaElement>>;
|
|
719
719
|
|
|
720
|
-
export declare const PktTextinput:
|
|
720
|
+
export declare const PktTextinput: default_2.ForwardRefExoticComponent<Omit<IPktTextinput, "ref"> & default_2.RefAttributes<HTMLInputElement>>;
|
|
721
721
|
|
|
722
722
|
declare interface PreviewProps {
|
|
723
723
|
children?: ReactNode;
|