@oslokommune/punkt-react 16.17.2 → 16.17.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 +37 -0
- package/dist/index.d.ts +4 -9
- package/dist/punkt-react.es.js +2247 -2230
- package/dist/punkt-react.umd.js +63 -63
- package/dist/shared-types/index.d.ts +1 -1
- package/dist/shared-types/skin.d.ts +4 -0
- package/dist/shared-utils/modal-scroll-lock.d.ts +10 -0
- package/package.json +3 -3
- package/src/components/card/Card.tsx +1 -3
- package/src/components/header/HeaderService.tsx +2 -2
- package/src/components/modal/Modal.tsx +19 -16
- package/src/components/tabs/TabItem.tsx +4 -4
- package/src/components/tabs/Tabs.tsx +3 -3
- package/src/components/tag/Tag.tsx +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,43 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [16.17.4](https://github.com/oslokommune/punkt/compare/16.17.3...16.17.4) (2026-05-28)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
Ingen
|
|
18
|
+
|
|
19
|
+
### Chores
|
|
20
|
+
* legg til TTagSkin-type i shared-types (#3498).
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## [16.17.3](https://github.com/oslokommune/punkt/compare/16.17.2...16.17.3) (2026-05-27)
|
|
27
|
+
|
|
28
|
+
### ⚠ BREAKING CHANGES
|
|
29
|
+
Ingen
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
Ingen
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
* `translate="no"` på tjeneste- og brukernavn (#3496).
|
|
36
|
+
* Delte verktøy for åpning og lukking av modal (#3494). Pluss: Fikser #3493
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Chores
|
|
40
|
+
Ingen
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
|
|
8
45
|
## [16.17.2](https://github.com/oslokommune/punkt/compare/16.17.1...16.17.2) (2026-05-20)
|
|
9
46
|
|
|
10
47
|
### ⚠ BREAKING CHANGES
|
package/dist/index.d.ts
CHANGED
|
@@ -54,9 +54,10 @@ import { TProgressbarStatusPlacement } from './shared-types';
|
|
|
54
54
|
import { TProgressbarStatusType } from './shared-types';
|
|
55
55
|
import { TProgressbarTitlePosition } from './shared-types';
|
|
56
56
|
import { TSlotMenuVariant } from './shared-types';
|
|
57
|
+
import { TTagSkin } from './shared-types';
|
|
57
58
|
|
|
58
59
|
declare interface BasePktTagProps {
|
|
59
|
-
skin?:
|
|
60
|
+
skin?: TTagSkin;
|
|
60
61
|
textStyle?: 'normal-text' | 'thin-text';
|
|
61
62
|
size?: 'small' | 'medium' | 'large';
|
|
62
63
|
closeTag?: boolean;
|
|
@@ -766,7 +767,7 @@ export declare interface IPktTab {
|
|
|
766
767
|
controls?: string;
|
|
767
768
|
tag?: {
|
|
768
769
|
text: string;
|
|
769
|
-
skin:
|
|
770
|
+
skin: TTagSkin | undefined;
|
|
770
771
|
};
|
|
771
772
|
active?: boolean;
|
|
772
773
|
}
|
|
@@ -780,7 +781,7 @@ declare interface IPktTabItem {
|
|
|
780
781
|
icon?: string;
|
|
781
782
|
controls?: string;
|
|
782
783
|
tag?: string;
|
|
783
|
-
tagSkin?:
|
|
784
|
+
tagSkin?: TTagSkin;
|
|
784
785
|
index?: number;
|
|
785
786
|
}
|
|
786
787
|
|
|
@@ -1281,14 +1282,8 @@ export declare type TQueueOperationContext = {
|
|
|
1281
1282
|
|
|
1282
1283
|
declare type TQueueOperationLabel = string | ((fileItem: FileItem) => string);
|
|
1283
1284
|
|
|
1284
|
-
declare type TSkin = 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'gray' | 'blue-light';
|
|
1285
|
-
|
|
1286
|
-
declare type TSkin_2 = IPktTag['skin'];
|
|
1287
|
-
|
|
1288
1285
|
declare type TStepStatus = 'completed' | 'incomplete' | 'current';
|
|
1289
1286
|
|
|
1290
|
-
declare type TTagSkin = 'blue' | 'blue-light' | 'blue-dark' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'gray';
|
|
1291
|
-
|
|
1292
1287
|
export declare type TTransferItemInProgress = TFileAndTransfer & {
|
|
1293
1288
|
progress: number;
|
|
1294
1289
|
};
|