@navikt/ds-react 0.17.11 → 0.17.12

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.
@@ -8,7 +8,7 @@ export interface ConfirmationPanelProps extends Partial<CheckboxProps> {
8
8
  /**
9
9
  * Checkbox label
10
10
  */
11
- label: string;
11
+ label: React.ReactNode;
12
12
  /**
13
13
  * Checked state for checkbox
14
14
  */
@@ -12,7 +12,7 @@ export interface SelectProps extends FormFieldProps, Omit<SelectHTMLAttributes<H
12
12
  /**
13
13
  * Label for select
14
14
  */
15
- label: string;
15
+ label: React.ReactNode;
16
16
  /**
17
17
  * If enabled shows the label and description for screenreaders only
18
18
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-react",
3
- "version": "0.17.11",
3
+ "version": "0.17.12",
4
4
  "private": false,
5
5
  "description": "NAV designsystem react components",
6
6
  "author": "NAV Designsystem team",
@@ -67,5 +67,5 @@
67
67
  "@types/react": "^17.0.30",
68
68
  "react": "^17.0.0"
69
69
  },
70
- "gitHead": "62ba36ae0944d7db43a265b24b24040322f0366f"
70
+ "gitHead": "08be6c0e8b0f5fe8177db9cb2222aebe2ec317d8"
71
71
  }
@@ -10,7 +10,7 @@ export interface ConfirmationPanelProps extends Partial<CheckboxProps> {
10
10
  /**
11
11
  * Checkbox label
12
12
  */
13
- label: string;
13
+ label: React.ReactNode;
14
14
  /**
15
15
  * Checked state for checkbox
16
16
  */
@@ -19,7 +19,7 @@ export interface SelectProps
19
19
  /**
20
20
  * Label for select
21
21
  */
22
- label: string;
22
+ label: React.ReactNode;
23
23
  /**
24
24
  * If enabled shows the label and description for screenreaders only
25
25
  */