@oslokommune/punkt-react 7.1.3 → 7.1.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 CHANGED
@@ -5,6 +5,24 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [7.1.4](https://github.com/oslokommune/punkt/compare/7.1.3...7.1.4) (2023-09-11)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ * Header – Eksporterer interfacer.
18
+
19
+
20
+ ### Chores
21
+ Ingen
22
+
23
+ ---
24
+
25
+
8
26
  ## [7.1.3](https://github.com/oslokommune/punkt/compare/7.1.2...7.1.3) (2023-09-11)
9
27
 
10
28
  ### ⚠ BREAKING CHANGES
@@ -1,24 +1,24 @@
1
1
  import React, { HTMLAttributes } from 'react';
2
- interface User {
2
+ export interface User {
3
3
  name?: string;
4
4
  shortname?: string;
5
5
  lastLoggedIn?: string | Date;
6
6
  }
7
- interface UserMenuItem {
7
+ export interface UserMenuItem {
8
8
  iconName?: string;
9
9
  title: string;
10
10
  target: string | (() => void);
11
11
  }
12
- interface Representing {
12
+ export interface Representing {
13
13
  name?: string;
14
14
  shortname?: string;
15
15
  orgNumber?: string | number;
16
16
  }
17
- interface UserMenuFooterItem {
17
+ export interface UserMenuFooterItem {
18
18
  title: string;
19
19
  target: string | (() => void);
20
20
  }
21
- interface IPktHeader extends HTMLAttributes<HTMLDivElement> {
21
+ export interface IPktHeader extends HTMLAttributes<HTMLDivElement> {
22
22
  logoLink?: string | (() => void);
23
23
  serviceName?: string;
24
24
  fixed?: boolean;
@@ -36,4 +36,3 @@ interface IPktHeader extends HTMLAttributes<HTMLDivElement> {
36
36
  changeRepresentation?: () => void;
37
37
  }
38
38
  export declare const PktHeader: React.ForwardRefExoticComponent<IPktHeader & React.RefAttributes<HTMLDivElement>>;
39
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-react",
3
- "version": "7.1.3",
3
+ "version": "7.1.4",
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",
@@ -90,5 +90,5 @@
90
90
  "url": "https://github.com/oslokommune/punkt/issues"
91
91
  },
92
92
  "license": "MIT",
93
- "gitHead": "06adf69dbf0a60bda3fdd9a3ae4031f4344938fd"
93
+ "gitHead": "bc2e58b3518df37be0661ad44c989de6fe46cfea"
94
94
  }
@@ -4,30 +4,30 @@ import React, { ForwardedRef, forwardRef, HTMLAttributes } from 'react'
4
4
  import { PktButton } from '../button/Button'
5
5
  import { PktIcon } from '../icon/Icon'
6
6
 
7
- interface User {
7
+ export interface User {
8
8
  name?: string
9
9
  shortname?: string
10
10
  lastLoggedIn?: string | Date
11
11
  }
12
12
 
13
- interface UserMenuItem {
13
+ export interface UserMenuItem {
14
14
  iconName?: string
15
15
  title: string
16
16
  target: string | (() => void)
17
17
  }
18
18
 
19
- interface Representing {
19
+ export interface Representing {
20
20
  name?: string
21
21
  shortname?: string
22
22
  orgNumber?: string | number
23
23
  }
24
24
 
25
- interface UserMenuFooterItem {
25
+ export interface UserMenuFooterItem {
26
26
  title: string
27
27
  target: string | (() => void)
28
28
  }
29
29
 
30
- interface IPktHeader extends HTMLAttributes<HTMLDivElement> {
30
+ export interface IPktHeader extends HTMLAttributes<HTMLDivElement> {
31
31
  logoLink?: string | (() => void)
32
32
  serviceName?: string
33
33
  fixed?: boolean