@oslokommune/punkt-react 13.17.0 → 13.18.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 +38 -0
- package/README.md +0 -6
- package/dist/index.d.ts +1 -0
- package/dist/punkt-react.es.js +1012 -1002
- package/dist/punkt-react.umd.js +42 -42
- package/package.json +4 -4
- package/src/components/checkbox/Checkbox.test.tsx +36 -0
- package/src/components/checkbox/Checkbox.tsx +20 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,44 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [13.18.1](https://github.com/oslokommune/punkt/compare/13.18.0...13.18.1) (2026-01-09)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* Oppdatere avhengigheter + Fiks Accordion dark-mode (#3162).
|
|
18
|
+
* Noen ødelagte lenker fjernet eller fikset (#3161). Samt fjernet noe unødvendig README-tekst.
|
|
19
|
+
* Sikkerhetsoppdateringer for dependencies (#3160).
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Chores
|
|
23
|
+
Ingen
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [13.18.0](https://github.com/oslokommune/punkt/compare/13.17.0...13.18.0) (2025-12-22)
|
|
29
|
+
|
|
30
|
+
### ⚠ BREAKING CHANGES
|
|
31
|
+
Ingen
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
* Checkbox med state "indeterminate" som prop (#3148).
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Bug Fixes
|
|
38
|
+
Ingen
|
|
39
|
+
|
|
40
|
+
### Chores
|
|
41
|
+
Ingen
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
|
|
8
46
|
## [13.15.6](https://github.com/oslokommune/punkt/compare/13.15.5...13.15.6) (2025-11-14)
|
|
9
47
|
|
|
10
48
|
### ⚠ BREAKING CHANGES
|
package/README.md
CHANGED
|
@@ -44,12 +44,6 @@ ikonene via vår [CDN](https://punkt-cdn.oslo.kommune.no/).
|
|
|
44
44
|
|
|
45
45
|
Om du har en content security policy(CSP) satt opp må du åpne for https://punkt-cdn.oslo.kommune.no/ i din CSP.
|
|
46
46
|
|
|
47
|
-
Les mer om ikoner [her.](/ressurser/ikoner/kode)
|
|
48
|
-
|
|
49
|
-
## 🧩 Komponentbiblioteket
|
|
50
|
-
|
|
51
|
-
For beskrivelse av hvordan ta i bruk hver enkelt komponent se [om komponenter](/komponenter/).
|
|
52
|
-
|
|
53
47
|
## 🔢 Versjonering
|
|
54
48
|
|
|
55
49
|
Punkt bruker [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html) for versjonering av pakkene.
|
package/dist/index.d.ts
CHANGED
|
@@ -179,6 +179,7 @@ export declare interface IPktCheckbox extends InputHTMLAttributes<HTMLInputEleme
|
|
|
179
179
|
hasError?: boolean;
|
|
180
180
|
defaultChecked?: boolean;
|
|
181
181
|
checked?: boolean;
|
|
182
|
+
indeterminate?: boolean;
|
|
182
183
|
value?: string;
|
|
183
184
|
isSwitch?: boolean;
|
|
184
185
|
hideLabel?: boolean;
|