@oslokommune/punkt-react 9.2.6 → 9.2.8

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
+ ## [9.2.8](https://github.com/oslokommune/punkt/compare/9.2.7...9.2.8) (2023-10-18)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ * [1232](https://github.com/oslokommune/punkt/issues/1232) Endre navn på variabel i BackLink.
18
+
19
+
20
+ ### Chores
21
+ Ingen
22
+
23
+ ---
24
+
25
+
8
26
  ## [9.2.3](https://github.com/oslokommune/punkt/compare/9.2.2...9.2.3) (2023-10-12)
9
27
 
10
28
  ### ⚠ BREAKING CHANGES
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-react",
3
- "version": "9.2.6",
3
+ "version": "9.2.8",
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",
@@ -91,5 +91,5 @@
91
91
  "url": "https://github.com/oslokommune/punkt/issues"
92
92
  },
93
93
  "license": "MIT",
94
- "gitHead": "46083040b641f5f4d704b2fb14b3fd529a03e56b"
94
+ "gitHead": "a75f7a032f64ad423ebcf617c510a77613421bee"
95
95
  }
@@ -12,7 +12,7 @@ export interface IPktBackLink extends React.AnchorHTMLAttributes<HTMLAnchorEleme
12
12
 
13
13
  export const PktBackLink = forwardRef(
14
14
  (
15
- { href, text, onClick, className, ...rest }: IPktBackLink,
15
+ { href, text, onClick, className, ...props }: IPktBackLink,
16
16
  ref: ForwardedRef<HTMLAnchorElement>
17
17
  ) => {
18
18
 
@@ -30,7 +30,7 @@ export const PktBackLink = forwardRef(
30
30
 
31
31
  return (
32
32
  <nav ref={ref} className={classes} aria-label="Gå tilbake et steg">
33
- <a href={href || '/'} className="pkt-link pkt-link--icon-left" onClick={handleClick} {...rest}>
33
+ <a href={href || '/'} className="pkt-link pkt-link--icon-left" onClick={handleClick} {...props}>
34
34
  <PktIcon className='pkt-back-link__icon pkt-icon pkt-link__icon' name="chevron-thin-left" aria-hidden="true" />
35
35
  <span className="pkt-back-link__text">{text || 'Forsiden'}</span>
36
36
  </a>