@oslokommune/punkt-react 8.0.12 → 9.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 CHANGED
@@ -5,6 +5,46 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [9.0.1](https://github.com/oslokommune/punkt/compare/9.0.0...9.0.1) (2023-10-04)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ * Eksporter select.
18
+
19
+
20
+ ### Chores
21
+ Ingen
22
+
23
+ ---
24
+
25
+
26
+ ## [9.0.0](https://github.com/oslokommune/punkt/compare/8.0.12...9.0.0) (2023-10-04)
27
+
28
+ ### ⚠ BREAKING CHANGES
29
+ * Checkbox and radiobutton #1126. BREAKING CHANGE:
30
+ * CSS: Checkbox og radiobuttons har fått ny struktur og nye klassenavn
31
+ * React: Radiogroup er fjernet og vi bruker Inputwrapper for å lage grupper av checkbox og radiobuttons
32
+
33
+ Les mer om ny Checkbox og radiobuttons i vår dokumentasjon
34
+
35
+
36
+ ### Features
37
+ Ingen
38
+
39
+ ### Bug Fixes
40
+ Ingen
41
+
42
+ ### Chores
43
+ Ingen
44
+
45
+ ---
46
+
47
+
8
48
  ## [8.0.12](https://github.com/oslokommune/punkt/compare/8.0.11...8.0.12) (2023-10-03)
9
49
 
10
50
  ### ⚠ BREAKING CHANGES
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export interface IPktCheckbox extends React.InputHTMLAttributes<HTMLInputElement> {
3
+ id: string;
4
+ hasTile?: boolean;
5
+ disabled?: boolean;
6
+ label?: string;
7
+ checkHelptext?: string;
8
+ hasError?: boolean;
9
+ defaultChecked?: boolean;
10
+ value?: string;
11
+ }
12
+ export declare const PktCheckbox: React.ForwardRefExoticComponent<IPktCheckbox & React.RefAttributes<HTMLInputElement>>;
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export { PktAlert } from './alert/Alert';
2
2
  export { PktBackLink } from './backlink/BackLink';
3
3
  export { PktBreadcrumbs } from './breadcrumbs/Breadcrumbs';
4
4
  export { PktButton } from './button/Button';
5
+ export { PktCheckbox } from './checkbox/Checkbox';
5
6
  export { PktFooter } from './footer/Footer';
6
7
  export { PktFooterSimple } from './footerSimple/FooterSimple';
7
8
  export { PktHeader } from './header/Header';
@@ -10,8 +11,8 @@ export { PktInput } from './input/Input';
10
11
  export { PktInputWrapper } from './inputwrapper/InputWrapper';
11
12
  export { PktLinkCard } from './linkcard/LinkCard';
12
13
  export { PktMessagebox } from './messagebox/Messagebox';
13
- export { PktRadio } from './radio/Radio';
14
- export { PktRadioGroup } from './radioGroup/RadioGroup';
14
+ export { PktRadioButton } from './radio/RadioButton';
15
+ export { PktSelect } from './select/Select';
15
16
  export { PktTable } from './table/Table';
16
17
  export { PktTableData } from './table/TableData';
17
18
  export { PktTableHeader } from './table/TableHeader';
@@ -17,5 +17,6 @@ export interface IPktInputWrapper extends RefAttributes<HTMLElement> {
17
17
  useWrapper?: boolean;
18
18
  children?: ReactNode;
19
19
  className?: string;
20
+ hasFieldset?: boolean;
20
21
  }
21
22
  export declare const PktInputWrapper: React.ForwardRefExoticComponent<Omit<IPktInputWrapper, "ref"> & React.RefAttributes<HTMLDivElement>>;