mainstack-design-system 0.3.0 → 0.3.2
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/mainstack-design-system.js +2905 -2860
- package/build/src/components/AccordionItem/index.d.ts +2 -1
- package/build/src/components/Typography/Display.d.ts +2 -1
- package/build/src/components/Typography/Heading.d.ts +2 -1
- package/build/src/components/Typography/Paragraph.d.ts +2 -1
- package/build/src/components/Typography/Subtitle.d.ts +2 -1
- package/build/src/components/notifications/Banner.d.ts +2 -1
- package/build/src/icons/EnterpriseIcon.d.ts +4 -0
- package/build/src/icons/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ export interface IAccordionItem extends AccordionItemProps {
|
|
|
12
12
|
handleDelete?: () => void;
|
|
13
13
|
handleToggle?: () => void;
|
|
14
14
|
handleButton?: () => void;
|
|
15
|
+
isToggleChecked?: boolean;
|
|
15
16
|
}
|
|
16
|
-
declare const AccordionItem: ({ children, title, subtitle, isDraggable, type, error, buttonLabel, handleDelete, handleToggle, handleButton, ...props }: IAccordionItem) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare const AccordionItem: ({ children, title, subtitle, isDraggable, type, error, buttonLabel, handleDelete, handleToggle, handleButton, isToggleChecked, ...props }: IAccordionItem) => import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
export default AccordionItem;
|
|
@@ -12,6 +12,7 @@ interface IDisplay extends TextProps {
|
|
|
12
12
|
children: any;
|
|
13
13
|
color?: string;
|
|
14
14
|
size: DefaultType | ResponsiveType;
|
|
15
|
+
fontFamily?: string;
|
|
15
16
|
}
|
|
16
|
-
declare const Display: ({ size, color, children, ...props }: IDisplay) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare const Display: ({ size, color, fontFamily, children, ...props }: IDisplay) => import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
export default Display;
|
|
@@ -12,6 +12,7 @@ interface IHeading extends TextProps {
|
|
|
12
12
|
children: any;
|
|
13
13
|
color?: string;
|
|
14
14
|
size: DefaultType | ResponsiveType;
|
|
15
|
+
fontFamily?: string;
|
|
15
16
|
}
|
|
16
|
-
declare const Heading: ({ size, color, children, ...props }: IHeading) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare const Heading: ({ size, color, fontFamily, children, ...props }: IHeading) => import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
export default Heading;
|
|
@@ -12,6 +12,7 @@ interface IParagraph extends TextProps {
|
|
|
12
12
|
children: any;
|
|
13
13
|
color?: string;
|
|
14
14
|
size: DefaultType | ResponsiveType;
|
|
15
|
+
fontFamily?: string;
|
|
15
16
|
}
|
|
16
|
-
declare const Paragraph: ({ size, color, children, ...props }: IParagraph) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare const Paragraph: ({ size, color, fontFamily, children, ...props }: IParagraph) => import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
export default Paragraph;
|
|
@@ -12,6 +12,7 @@ interface ISubtitle extends TextProps {
|
|
|
12
12
|
children: any;
|
|
13
13
|
color?: string;
|
|
14
14
|
size: DefaultType | ResponsiveType;
|
|
15
|
+
fontFamily?: string;
|
|
15
16
|
}
|
|
16
|
-
declare const Subtitle: ({ size, color, children, ...props }: ISubtitle) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare const Subtitle: ({ size, color, fontFamily, children, ...props }: ISubtitle) => import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
export default Subtitle;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/** @format */
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
interface Props {
|
|
3
4
|
variant: "blue" | "red" | "green" | "yellow" | "purple" | "orange" | "gradient";
|
|
4
5
|
onProceed: () => void;
|
|
5
|
-
message:
|
|
6
|
+
message: React.ReactNode;
|
|
6
7
|
buttonText?: string;
|
|
7
8
|
hasProceedButton?: boolean;
|
|
8
9
|
hasCloseButton?: boolean;
|
|
@@ -123,6 +123,7 @@ export { default as EmojiEventsIcon } from "./EmojiEventsIcon";
|
|
|
123
123
|
export { default as EmojiFoodBeverageIcon } from "./EmojiFoodBeverageIcon";
|
|
124
124
|
export { default as EmojiIcon } from "./EmojiIcon";
|
|
125
125
|
export { default as EmptyIcon } from "./EmptyIcon";
|
|
126
|
+
export { default as EnterpriseIcon } from "./EnterpriseIcon";
|
|
126
127
|
export { default as EnterpriseFilledIcon } from "./EnterpriseFilledIcon";
|
|
127
128
|
export { default as ErrorFilledIcon } from "./ErrorFilledIcon";
|
|
128
129
|
export { default as ErrorIcon } from "./ErrorIcon";
|