@oslokommune/punkt-react 13.12.0 → 13.13.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,25 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [13.13.0](https://github.com/oslokommune/punkt/compare/13.12.0...13.13.0) (2025-11-03)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ * Linkcard som React-komponent (#3104). * Reactifisert LinkCard
15
+ * Component-specs-JSON for alert, linkcard og messagebox
16
+
17
+
18
+ ### Bug Fixes
19
+ Ingen
20
+
21
+ ### Chores
22
+ Ingen
23
+
24
+ ---
25
+
26
+
8
27
  ## [13.12.0](https://github.com/oslokommune/punkt/compare/13.11.0...13.12.0) (2025-10-31)
9
28
 
10
29
  ### ⚠ BREAKING CHANGES
package/dist/index.d.ts CHANGED
@@ -339,13 +339,14 @@ declare interface IPktLink extends LinkHTMLAttributes<HTMLAnchorElement> {
339
339
  ref?: LegacyRef<HTMLAnchorElement>;
340
340
  }
341
341
 
342
- export declare interface IPktLinkCard extends PktElType {
342
+ export declare interface IPktLinkCard extends Omit<HTMLAttributes<HTMLAnchorElement>, 'title'> {
343
343
  skin?: 'normal' | 'no-padding' | 'blue' | 'beige' | 'green' | 'gray' | 'beige-outline' | 'gray-outline';
344
344
  title?: string;
345
345
  href?: string;
346
346
  iconName?: string;
347
347
  openInNewTab?: boolean;
348
348
  external?: boolean;
349
+ children?: ReactNode;
349
350
  }
350
351
 
351
352
  export declare interface IPktLoader extends ExtendedLoader {
@@ -716,7 +717,10 @@ export declare const PktInputWrapper: ForwardRefExoticComponent<Omit<IPktInputWr
716
717
 
717
718
  export declare const PktLink: FC<IPktLink>;
718
719
 
719
- export declare const PktLinkCard: FC<IPktLinkCard>;
720
+ export declare const PktLinkCard: {
721
+ ({ children, skin, title, href, iconName, openInNewTab, external, className, ...props }: IPktLinkCard): JSX_2.Element;
722
+ displayName: string;
723
+ };
720
724
 
721
725
  export declare const PktLoader: FC<IPktLoader>;
722
726