mainstack-design-system 0.2.1 → 0.2.3

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.
@@ -11,5 +11,5 @@ export interface IAccordionItem extends AccordionItemProps {
11
11
  handleDelete?: () => void;
12
12
  handleToggle?: () => void;
13
13
  }
14
- declare const AccordionItemComponent: ({ children, title, subtitle, isDraggable, type, error, handleDelete, handleToggle, ...props }: IAccordionItem) => import("react/jsx-runtime").JSX.Element;
15
- export default AccordionItemComponent;
14
+ declare const AccordionItem: ({ children, title, subtitle, isDraggable, type, error, handleDelete, handleToggle, ...props }: IAccordionItem) => import("react/jsx-runtime").JSX.Element;
15
+ export default AccordionItem;
@@ -21,7 +21,7 @@ export interface IButtonProps extends ButtonProps {
21
21
  interface IButtonPropsWithIcons extends IButtonProps {
22
22
  hasIcons: true;
23
23
  icon: React.ReactNode;
24
- iconType: "leading" | "trailing";
24
+ icontype: "leading" | "trailing";
25
25
  }
26
26
  declare const Button: ({ label, size, bgColor, variant, disabled, textColor, isLoading, onClick, ...props }: IButtonProps | IButtonPropsWithIcons) => import("react/jsx-runtime").JSX.Element;
27
27
  export default Button;
@@ -1,7 +1,8 @@
1
1
  /** @format */
2
2
  export { default as Button } from "./Button";
3
3
  export { default as IconButton } from "./Button/IconButton";
4
- export { default as Accordion } from "./Accordion";
4
+ export { default as AccordionItem } from "./AccordionItem";
5
+ export { Accordion } from "@chakra-ui/react";
5
6
  export { default as Avatars } from "./Avatars";
6
7
  export { default as Chip } from "./controls/Chip";
7
8
  export { default as DoubleTab } from "./controls/DoubleTab";
@@ -1,4 +1,4 @@
1
1
  /** @format */
2
- import { IAccordionItem } from "components/Accordion";
2
+ import { IAccordionItem } from "components/AccordionItem";
3
3
  declare const AccordionWrapper: (props: IAccordionItem) => import("react/jsx-runtime").JSX.Element;
4
4
  export default AccordionWrapper;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mainstack-design-system",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "main": "build/mainstack-design-system.js",
6
6
  "types": "build/src/index.d.ts",