mainstack-payments 1.0.0 → 1.0.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.
@@ -0,0 +1,8 @@
1
+ import { ButtonProps as ChakraButtonProps } from '@chakra-ui/react';
2
+
3
+ interface ButtonProps extends ChakraButtonProps {
4
+ label: React.ReactNode;
5
+ icon?: React.ReactNode;
6
+ }
7
+ declare const Button: ({ label, icon, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default Button;
@@ -0,0 +1,9 @@
1
+ import { ButtonProps } from '@chakra-ui/react';
2
+ import { ReactNode } from 'react';
3
+
4
+ interface CardButtonProps extends ButtonProps {
5
+ children: ReactNode;
6
+ isLoading?: boolean;
7
+ }
8
+ declare const CardButton: ({ children, isLoading, ...props }: CardButtonProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default CardButton;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mainstack-payments",
3
3
  "type": "module",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "main": "build/mainstack-payments.js",
6
6
  "types": "build/src/index.d.ts",
7
7
  "files": [
@@ -80,7 +80,7 @@
80
80
  "eslint-plugin-react": "^7.32.2",
81
81
  "eslint-plugin-react-hooks": "^4.6.0",
82
82
  "husky": "^8.0.3",
83
- "mainstack-design-system": "^0.6.5",
83
+ "mainstack-design-system": "^0.7.27",
84
84
  "react": "^18.3.1",
85
85
  "react-dom": "^18.3.1",
86
86
  "vite": "^4.1.0",