@oslokommune/punkt-react 6.0.5 → 7.0.0

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
@@ -5,6 +5,42 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [7.0.0](https://github.com/oslokommune/punkt/compare/6.0.6...7.0.0) (2023-09-07)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ * PktTextarea #1058, PktInputwrapper, og endringer PktTextinput. BREAKING CHANGE: Textarea er helt ny og erstatter funksjonaliteten til den gamle. Det må regnes med litt endring i implementasjon.
12
+
13
+
14
+ ### Features
15
+ Ingen
16
+
17
+ ### Bug Fixes
18
+ Ingen
19
+
20
+ ### Chores
21
+ Ingen
22
+
23
+ ---
24
+
25
+
26
+ ## [6.0.6](https://github.com/oslokommune/punkt/compare/6.0.5...6.0.6) (2023-09-05)
27
+
28
+ ### ⚠ BREAKING CHANGES
29
+ Ingen
30
+
31
+ ### Features
32
+ Ingen
33
+
34
+ ### Bug Fixes
35
+ * Videresend className i Messagebox (#1100).
36
+
37
+
38
+ ### Chores
39
+ Ingen
40
+
41
+ ---
42
+
43
+
8
44
  ## [6.0.4](https://github.com/oslokommune/punkt/compare/6.0.3...6.0.4) (2023-08-30)
9
45
 
10
46
  ### ⚠ BREAKING CHANGES
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export { PktFooterSimple } from './footerSimple/FooterSimple';
5
5
  export { PktHeader } from './header/Header';
6
6
  export { PktIcon } from './icon/Icon';
7
7
  export { PktInput } from './input/Input';
8
+ export { PktInputWrapper } from './inputwrapper/InputWrapper';
8
9
  export { PktLinkCard } from './linkcard/LinkCard';
9
10
  export { PktMessagebox } from './messagebox/Messagebox';
10
11
  export { PktRadio } from './radio/Radio';
@@ -0,0 +1,19 @@
1
+ import React, { ReactNode, RefAttributes } from 'react';
2
+ export interface IPktInputWrapper extends RefAttributes<HTMLElement> {
3
+ forId: string;
4
+ label: string;
5
+ helptext?: string;
6
+ helptextDropdown?: string;
7
+ helptextDropdownButton?: string;
8
+ optional?: boolean;
9
+ required?: boolean;
10
+ hasError?: boolean;
11
+ errorMessage?: string;
12
+ disabled?: boolean;
13
+ inline?: boolean;
14
+ ariaDescribedby?: string;
15
+ useWrapper?: boolean;
16
+ children?: ReactNode;
17
+ className?: string;
18
+ }
19
+ export declare const PktInputWrapper: React.ForwardRefExoticComponent<Omit<IPktInputWrapper, "ref"> & React.RefAttributes<HTMLDivElement>>;