@oslokommune/punkt-react 11.13.2 → 11.13.5
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/dist/components/accordion/Accordion.d.ts +1 -1
- package/dist/components/accordion/AccordionItem.d.ts +1 -1
- package/dist/components/alert/Alert.d.ts +1 -1
- package/dist/components/backlink/BackLink.d.ts +1 -1
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/components/button/Button.d.ts +1 -1
- package/dist/components/checkbox/Checkbox.d.ts +1 -1
- package/dist/components/footer/Footer.d.ts +1 -1
- package/dist/components/footerSimple/FooterSimple.d.ts +1 -1
- package/dist/components/header/Header.d.ts +1 -1
- package/dist/components/icon/Icon.d.ts +1 -1
- package/dist/components/icon/IconContext.d.ts +1 -1
- package/dist/components/input/Input.d.ts +1 -1
- package/dist/components/inputwrapper/InputWrapper.d.ts +1 -1
- package/dist/components/linkcard/LinkCard.d.ts +1 -1
- package/dist/components/loader/Loader.d.ts +1 -1
- package/dist/components/messagebox/Messagebox.d.ts +4 -2
- package/dist/components/radio/RadioButton.d.ts +1 -1
- package/dist/components/searchinput/SearchInput.d.ts +1 -1
- package/dist/components/select/Select.d.ts +1 -1
- package/dist/components/tabs/Tabs.d.ts +1 -1
- package/dist/components/tag/Tag.d.ts +1 -1
- package/dist/components/textarea/Textarea.d.ts +2 -2
- package/dist/components/textinput/Textinput.d.ts +1 -1
- package/dist/punkt-react.es.js +281 -264
- package/dist/punkt-react.umd.js +10 -10
- package/package.json +3 -3
- package/src/components/messagebox/Messagebox.tsx +56 -24
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
|
+
## [11.13.5](https://github.com/oslokommune/punkt/compare/11.13.4...11.13.5) (2024-05-30)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* Fjern remapping av @types/react i build (#1720). fix (react): Ikke inkluder lokal 'types/react' i build
|
|
18
|
+
|
|
19
|
+
Co-authored-by: My T. Nguyen <my.nguyen@origo.oslo.kommune.no>
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Chores
|
|
23
|
+
Ingen
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [11.13.3](https://github.com/oslokommune/punkt/compare/11.13.2...11.13.3) (2024-05-29)
|
|
29
|
+
|
|
30
|
+
### ⚠ BREAKING CHANGES
|
|
31
|
+
Ingen
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
Ingen
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
* add close button and css in react.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Chores
|
|
41
|
+
Ingen
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
|
|
8
46
|
## [11.13.1](https://github.com/oslokommune/punkt/compare/11.13.0...11.13.1) (2024-05-23)
|
|
9
47
|
|
|
10
48
|
### ⚠ BREAKING CHANGES
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
export type IconFetcher = {
|
|
3
3
|
fetchIcon: (name: string, path: string | undefined) => Promise<string | null>;
|
|
4
4
|
};
|
|
5
|
-
export declare const PktIconContext: import('
|
|
5
|
+
export declare const PktIconContext: import('react').Context<IconFetcher>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
|
|
3
3
|
export interface IPktLinkCard extends React.HTMLAttributes<HTMLAnchorElement> {
|
|
4
4
|
skin?: 'normal' | 'blue' | 'beige' | 'beige-outline' | 'green' | 'grey-outline';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
|
|
3
3
|
export interface IPktMessagebox extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
skin?: 'beige' | 'red' | 'green' | 'blue';
|
|
5
5
|
title?: string;
|
|
6
6
|
compact?: boolean;
|
|
7
|
+
closable?: boolean;
|
|
8
|
+
onClose?: () => void;
|
|
7
9
|
}
|
|
8
|
-
export declare const PktMessagebox: React.
|
|
10
|
+
export declare const PktMessagebox: React.ForwardRefExoticComponent<IPktMessagebox & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React, ReactNode, SelectHTMLAttributes } from '
|
|
1
|
+
import { default as React, ReactNode, SelectHTMLAttributes } from 'react';
|
|
2
2
|
|
|
3
3
|
export interface IPktSelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
|
|
4
4
|
ariaDescribedby?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
|
|
3
3
|
export interface IPktTag extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
4
|
skin?: 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'blue-light';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextareaHTMLAttributes } from '
|
|
1
|
+
import { TextareaHTMLAttributes } from 'react';
|
|
2
2
|
|
|
3
3
|
export interface IPktTextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
4
4
|
id: string;
|
|
@@ -24,4 +24,4 @@ export interface IPktTextareaProps extends TextareaHTMLAttributes<HTMLTextAreaEl
|
|
|
24
24
|
rows?: number;
|
|
25
25
|
useWrapper?: boolean;
|
|
26
26
|
}
|
|
27
|
-
export declare const PktTextarea: import('
|
|
27
|
+
export declare const PktTextarea: import('react').ForwardRefExoticComponent<IPktTextareaProps & import('react').RefAttributes<HTMLTextAreaElement>>;
|