@sequencing/design-system 0.0.92 → 0.0.93

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.
@@ -86,7 +86,7 @@
86
86
  "description": "The label to be displayed inside the button",
87
87
  "name": "label",
88
88
  "required": false,
89
- "type": "string"
89
+ "type": "ReactNode"
90
90
  },
91
91
  "loading": {
92
92
  "defaultValue": null,
@@ -9,7 +9,7 @@ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
9
9
  /** The hint to be displayed when hovering over the button */
10
10
  hint?: string;
11
11
  /** The label to be displayed inside the button */
12
- label?: string;
12
+ label?: ReactNode;
13
13
  /**
14
14
  * Setting this flag to ``true`` will display a spinner inside the button and
15
15
  * will prevent any further interaction unless the flag is set back to ``false``.
package/dist/index.d.ts CHANGED
@@ -62,7 +62,7 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
62
62
  /** The hint to be displayed when hovering over the button */
63
63
  hint?: string;
64
64
  /** The label to be displayed inside the button */
65
- label?: string;
65
+ label?: ReactNode;
66
66
  /**
67
67
  * Setting this flag to ``true`` will display a spinner inside the button and
68
68
  * will prevent any further interaction unless the flag is set back to ``false``.
@@ -9,7 +9,7 @@ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
9
9
  /** The hint to be displayed when hovering over the button */
10
10
  hint?: string;
11
11
  /** The label to be displayed inside the button */
12
- label?: string;
12
+ label?: ReactNode;
13
13
  /**
14
14
  * Setting this flag to ``true`` will display a spinner inside the button and
15
15
  * will prevent any further interaction unless the flag is set back to ``false``.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequencing/design-system",
3
- "version": "0.0.92",
3
+ "version": "0.0.93",
4
4
  "description": "Sequencing Design System",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\"",