@sequencing/design-system 1.0.71 → 1.0.73
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/dist/documentation.json +7 -0
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Atoms/Button/Button.d.ts +5 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/components/Atoms/Button/Button.d.ts +5 -0
- package/package.json +1 -1
|
@@ -16,6 +16,11 @@ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
16
16
|
* The width will remain the same as of the rendered label.
|
|
17
17
|
*/
|
|
18
18
|
loading?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Setting this flag to ``true`` will display the button's label alongside the spinner
|
|
21
|
+
* while in loading state
|
|
22
|
+
*/
|
|
23
|
+
preserveLabelWhileLoading?: boolean;
|
|
19
24
|
/** Controls the look and feel of the button. Default: ``primary`` */
|
|
20
25
|
variant?: "fancy" | "primary" | "secondary" | "outlined" | "outlinedSecondary" | "outlinedDanger" | "outlinedWarning" | "outlinedWhite" | "danger" | "warning" | "white" | "text" | "textSecondary" | "success" | "outlinedSuccess" | "yellow" | "outlinedYellow";
|
|
21
26
|
/** Controls the size of the button. Default: ``medium`` */
|