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.
@@ -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: string;
6
+ message: React.ReactNode;
6
7
  buttonText?: string;
7
8
  hasProceedButton?: boolean;
8
9
  hasCloseButton?: boolean;
@@ -0,0 +1,4 @@
1
+ /** @format */
2
+ import { IconProps } from "@chakra-ui/icons";
3
+ declare const EnterpriseIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default EnterpriseIcon;
@@ -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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mainstack-design-system",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "type": "module",
5
5
  "main": "build/mainstack-design-system.js",
6
6
  "types": "build/src/index.d.ts",