@gemeente-denhaag/alert 0.1.1-alpha.390 → 0.1.1-alpha.392

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.
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import './index.scss';
3
3
  export interface AlertProps {
4
4
  /**
@@ -12,11 +12,11 @@ export interface AlertProps {
12
12
  /**
13
13
  * The title of the alert.
14
14
  */
15
- title: string;
15
+ title: ReactNode;
16
16
  /**
17
17
  * The main text of the alert.
18
18
  */
19
- text: string;
19
+ text: ReactNode;
20
20
  /**
21
21
  * The variant of the alert, determines which color and icon are displayed.
22
22
  */
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import './index.scss';
3
3
  export interface AlertProps {
4
4
  /**
@@ -12,11 +12,11 @@ export interface AlertProps {
12
12
  /**
13
13
  * The title of the alert.
14
14
  */
15
- title: string;
15
+ title: ReactNode;
16
16
  /**
17
17
  * The main text of the alert.
18
18
  */
19
- text: string;
19
+ text: ReactNode;
20
20
  /**
21
21
  * The variant of the alert, determines which color and icon are displayed.
22
22
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gemeente-denhaag/alert",
3
- "version": "0.1.1-alpha.390",
3
+ "version": "0.1.1-alpha.392",
4
4
  "description": "An alert component",
5
5
  "bugs": "https://github.com/nl-design-system/denhaag/issues",
6
6
  "repository": {
@@ -30,13 +30,13 @@
30
30
  "watch:components": "chokidar --silent --follow-symlinks \"src/**/*\" -c \"pnpm run build\""
31
31
  },
32
32
  "dependencies": {
33
- "@gemeente-denhaag/button": "0.2.3-alpha.420",
34
- "@gemeente-denhaag/iconbutton": "0.2.3-alpha.420",
35
- "@gemeente-denhaag/icons": "0.2.3-alpha.420",
36
- "@gemeente-denhaag/typography": "0.2.3-alpha.420"
33
+ "@gemeente-denhaag/button": "0.2.3-alpha.422",
34
+ "@gemeente-denhaag/iconbutton": "0.2.3-alpha.422",
35
+ "@gemeente-denhaag/icons": "0.2.3-alpha.422",
36
+ "@gemeente-denhaag/typography": "0.2.3-alpha.422"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": "^18.0.0"
40
40
  },
41
- "gitHead": "10e25ddee37b3be8ea307bcb3e62803096276d02"
41
+ "gitHead": "400e01c89973b2f7409f18bb4a4110b4fe034322"
42
42
  }