@oslokommune/punkt-react 18.6.1 → 18.7.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,45 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [18.7.1](https://github.com/oslokommune/punkt/compare/18.7.0...18.7.1) (2026-09-11)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ * Oppdaterer avhengigheter og fikser en bug eller to (#3648). - Fjernet unødvendige scripts from manipulerte package.json i css- og vue-pakkene
18
+ - Flyttet astro, prettier og diverse React-ting inn i dev-deps
19
+ - Ble kvitt _alle_ sårbarheter fra audit
20
+ - Fjernet nå ubrukt avhengighet edit-json-file
21
+ - Oppdaterte utdaterte Vite-funksjonaliteter
22
+
23
+
24
+ ### Chores
25
+ Ingen
26
+
27
+ ---
28
+
29
+
30
+ ## [18.7.0](https://github.com/oslokommune/punkt/compare/18.6.1...18.7.0) (2026-09-10)
31
+
32
+ ### ⚠ BREAKING CHANGES
33
+ Ingen
34
+
35
+ ### Features
36
+ Ingen
37
+
38
+ ### Bug Fixes
39
+ Ingen
40
+
41
+ ### Chores
42
+ Ingen
43
+
44
+ ---
45
+
46
+
8
47
  ## [18.6.1](https://github.com/oslokommune/punkt/compare/18.6.0...18.6.1) (2026-09-09)
9
48
 
10
49
  ### ⚠ BREAKING CHANGES
@@ -1,40 +1,7 @@
1
1
  import { HTMLAttributes, ReactNode, Ref } from 'react';
2
- import { TCardSkin, TLayout, TTagSkin } from '../../shared-types';
2
+ import { IPktCardBase, TCardSkin, TLayout } from '../../shared-types';
3
3
  export type { TCardSkin, TLayout };
4
- type TCardPadding = 'none' | 'default';
5
- type TCardImageShape = 'square' | 'round';
6
- type TCardImageAspect = 'auto' | '1-1' | '4-3' | '3-2' | '16-9' | '19-10';
7
- type TCardTagPosition = 'top' | 'bottom';
8
- type THeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
9
- interface ICardTag {
10
- skin?: TTagSkin;
11
- iconName?: string;
12
- ariaLabel?: string;
13
- text: string;
14
- }
15
- export interface IPktCard extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
16
- ariaLabel?: string;
17
- metaLead?: string | null;
18
- borderOnHover?: boolean;
19
- zoom?: boolean;
20
- metaTrail?: string | null;
21
- layout?: TLayout;
22
- heading?: string;
23
- headingLevel?: THeadingLevel;
24
- image?: {
25
- src: string;
26
- alt: string;
27
- };
28
- imageShape?: TCardImageShape;
29
- imageAspect?: TCardImageAspect;
30
- restrictImageHeight?: boolean;
31
- clickCardLink?: string | null;
32
- padding?: TCardPadding;
33
- openLinkInNewTab?: boolean;
34
- skin?: TCardSkin;
35
- subheading?: string;
36
- tagPosition?: TCardTagPosition;
37
- tags?: ICardTag[];
4
+ export interface IPktCard extends IPktCardBase, Omit<HTMLAttributes<HTMLElement>, 'title'> {
38
5
  children?: ReactNode;
39
6
  ref?: Ref<HTMLElement>;
40
7
  }