@oslokommune/punkt-react 9.2.10 → 9.3.2
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 +27 -0
- package/dist/icon/DefaultIconFetcher.d.ts +4 -0
- package/dist/icon/IconContext.d.ts +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/punkt-react.es.js +157 -160
- package/dist/punkt-react.umd.js +13 -13
- package/package.json +3 -3
- package/src/components/icon/DefaultIconFetcher.tsx +37 -0
- package/src/components/icon/Icon.test.tsx +78 -0
- package/src/components/icon/Icon.tsx +9 -34
- package/src/components/icon/IconContext.tsx +9 -0
- package/src/components/index.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,33 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [9.3.0](https://github.com/oslokommune/punkt/compare/9.2.10...9.3.0) (2023-10-19)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
* [938](https://github.com/oslokommune/punkt/issues/938) Egen-pluggbar mekanisme for å hente ikoner. Denne endringen innfører en <IconContext>, som lar deg spesifisere en IconFetcher som vil brukes i stedet for default-mekanikken. Hvis man ikke bruker <IconContext> brukes fremdeles tidligere mekanisme, så endringen er helt bakoverkompatibel.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
Ingen
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
* bump undici from 5.22.1 to 5.26.3. Bumps [undici](https://github.com/nodejs/undici) from 5.22.1 to 5.26.3.
|
|
22
|
+
- [Release notes](https://github.com/nodejs/undici/releases)
|
|
23
|
+
- [Commits](https://github.com/nodejs/undici/compare/v5.22.1...v5.26.3)
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
updated-dependencies:
|
|
27
|
+
- dependency-name: undici
|
|
28
|
+
dependency-type: indirect
|
|
29
|
+
...
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
|
|
8
35
|
## [9.2.10](https://github.com/oslokommune/punkt/compare/9.2.9...9.2.10) (2023-10-18)
|
|
9
36
|
|
|
10
37
|
### ⚠ BREAKING CHANGES
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { PktFooter } from './footer/Footer';
|
|
|
7
7
|
export { PktFooterSimple } from './footerSimple/FooterSimple';
|
|
8
8
|
export { PktHeader } from './header/Header';
|
|
9
9
|
export { PktIcon } from './icon/Icon';
|
|
10
|
+
export { PktIconContext } from './icon/IconContext';
|
|
10
11
|
export { PktInput } from './input/Input';
|
|
11
12
|
export { PktInputWrapper } from './inputwrapper/InputWrapper';
|
|
12
13
|
export { PktLinkCard } from './linkcard/LinkCard';
|