mainstack-design-system 0.1.8 → 0.1.9
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/build/index.css +1 -1
- package/build/mainstack-design-system.js +3353 -3314
- package/build/src/components/Animations/Loader.d.ts +8 -0
- package/build/src/components/Button/index.d.ts +2 -1
- package/build/src/components/controls/Stepper.d.ts +2 -0
- package/build/src/components/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -16,11 +16,12 @@ export interface IButtonProps extends ButtonProps {
|
|
|
16
16
|
textColor?: string;
|
|
17
17
|
variant: "primary" | "secondary" | "tertiary" | "outline" | "link";
|
|
18
18
|
disabled?: boolean;
|
|
19
|
+
isLoading?: boolean;
|
|
19
20
|
}
|
|
20
21
|
interface IButtonPropsWithIcons extends IButtonProps {
|
|
21
22
|
hasIcons: true;
|
|
22
23
|
icon: React.ReactNode;
|
|
23
24
|
iconType: "leading" | "trailing";
|
|
24
25
|
}
|
|
25
|
-
declare const Button: ({ label, size, bgColor, variant, disabled, textColor, onClick, ...props }: IButtonProps | IButtonPropsWithIcons) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
declare const Button: ({ label, size, bgColor, variant, disabled, textColor, isLoading, onClick, ...props }: IButtonProps | IButtonPropsWithIcons) => import("react/jsx-runtime").JSX.Element;
|
|
26
27
|
export default Button;
|
|
@@ -30,3 +30,4 @@ export { default as Paragraph } from "./Typography/Paragraph";
|
|
|
30
30
|
export { default as Subtitle } from "./Typography/Subtitle";
|
|
31
31
|
export { default as FileUploader } from "./Uploader/FileUploader";
|
|
32
32
|
export { default as ImageUploader } from "./Uploader/ImageUploader";
|
|
33
|
+
export { default as Loader } from "./Animations/Loader";
|