@oslokommune/punkt-react 2.0.2 → 2.0.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 CHANGED
@@ -3,6 +3,21 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.0.0](https://github.com/oslokommune/punkt/compare/v2.0.3...v3.0.0) (2023-03-13)
7
+
8
+ ### Features
9
+ * [#683](https://github.com/oslokommune/punkt/issues/683) Legg til Alert i React. Se mer informasjon på [nettsiden](https://punkt.oslo.kommune.no/3.0/komponenter/alert/kode/).
10
+
11
+
12
+ ## [2.0.3](https://github.com/oslokommune/punkt/compare/v2.0.2...v2.0.3) (2023-03-09)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **css:** [#703](https://github.com/oslokommune/punkt/issues/703) Rett feil på button icon-only ([#704](https://github.com/oslokommune/punkt/issues/704)) ([504daf9](https://github.com/oslokommune/punkt/commit/504daf9b71136742dac8f0c5300417b0f2ccbc91))
18
+
19
+
20
+
6
21
  ## [2.0.2](https://github.com/oslokommune/punkt/compare/v2.0.1...v2.0.2) (2023-03-07)
7
22
 
8
23
 
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export interface IPktAlert extends React.HTMLAttributes<HTMLDivElement> {
3
+ skin?: 'error' | 'success' | 'warning' | 'info';
4
+ closeAlert?: boolean;
5
+ onClose?: () => void;
6
+ title?: string;
7
+ date?: string;
8
+ ariaLive?: 'off' | 'polite' | 'assertive';
9
+ }
10
+ export declare const PktAlert: React.FC<IPktAlert>;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export { PktAlert } from './alert/Alert';
1
2
  export { PktButton } from './button/Button';
2
3
  export { PktHeader } from './header/Header';
3
4
  export { PktInput } from './input/Input';