@oslokommune/punkt-react 13.7.0 → 13.8.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,42 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [13.8.1](https://github.com/oslokommune/punkt/compare/13.8.0...13.8.1) (2025-10-16)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ * Combobox onValueChange mapper til feil event (#3080).
18
+
19
+
20
+ ### Chores
21
+ Ingen
22
+
23
+ ---
24
+
25
+
26
+ ## [13.8.0](https://github.com/oslokommune/punkt/compare/13.7.0...13.8.0) (2025-10-15)
27
+
28
+ ### ⚠ BREAKING CHANGES
29
+ Ingen
30
+
31
+ ### Features
32
+ * Ny måte å gjøre PktTabs med ny komponent PktTabItem (#3078).
33
+
34
+
35
+ ### Bug Fixes
36
+ Ingen
37
+
38
+ ### Chores
39
+ Ingen
40
+
41
+ ---
42
+
43
+
8
44
  ## [13.7.0](https://github.com/oslokommune/punkt/compare/13.6.16...13.7.0) (2025-10-14)
9
45
 
10
46
  ### ⚠ BREAKING CHANGES
package/dist/index.d.ts CHANGED
@@ -480,10 +480,24 @@ export declare interface IPktTab {
480
480
  active?: boolean;
481
481
  }
482
482
 
483
+ declare interface IPktTabItem {
484
+ children: ReactNode;
485
+ active?: boolean;
486
+ href?: string;
487
+ onClick?: (event: MouseEvent_2) => void;
488
+ icon?: string;
489
+ controls?: string;
490
+ tag?: string;
491
+ tagSkin?: TSkin_2;
492
+ index?: number;
493
+ }
494
+
483
495
  declare interface IPktTabs {
484
496
  arrowNav?: boolean;
485
- tabs: IPktTab[];
497
+ disableArrowNav?: boolean;
498
+ tabs?: IPktTab[];
486
499
  onTabSelected?: (index: number) => void;
500
+ children?: ReactNode;
487
501
  }
488
502
 
489
503
  export declare interface IPktTag extends PktElType {
@@ -720,6 +734,8 @@ export declare const PktStep: ({ children, className, status, title }: IPktStep)
720
734
 
721
735
  export declare const PktStepper: ForwardRefExoticComponent<IPktStepper & RefAttributes<HTMLOListElement>>;
722
736
 
737
+ export declare const PktTabItem: ForwardRefExoticComponent<IPktTabItem & RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
738
+
723
739
  export declare const PktTable: ({ className, compact, skin, responsiveView, children, ...props }: ITableProps) => JSX_2.Element;
724
740
 
725
741
  export declare const PktTableBody: ({ id, children, className, ...props }: ITableBodyProps) => JSX_2.Element;
@@ -732,7 +748,7 @@ export declare const PktTableHeaderCell: ({ className, children, ...props }: ITa
732
748
 
733
749
  export declare const PktTableRow: ({ className, children, ...props }: ITableRowProps) => JSX_2.Element;
734
750
 
735
- export declare const PktTabs: default_2.ForwardRefExoticComponent<IPktTabs & default_2.RefAttributes<HTMLDivElement>>;
751
+ export declare const PktTabs: ForwardRefExoticComponent<IPktTabs & RefAttributes<HTMLDivElement>>;
736
752
 
737
753
  export declare const PktTag: FC<IPktTag>;
738
754
 
@@ -776,6 +792,8 @@ declare type TPktAccordionSkin_2 = 'borderless' | 'outlined' | 'beige' | 'blue';
776
792
 
777
793
  declare type TSkin = 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'gray' | 'blue-light';
778
794
 
795
+ declare type TSkin_2 = IPktTag['skin'];
796
+
779
797
  declare type TStepStatus = 'completed' | 'incomplete' | 'current';
780
798
 
781
799
  declare interface User {