@maayan-albert/moab-sdk 1.0.1 → 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.
- package/dist/components/Button.d.ts +17 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Card.d.ts +12 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/DrawingTool.d.ts +13 -0
- package/dist/components/DrawingTool.d.ts.map +1 -0
- package/dist/components/Input.d.ts +16 -0
- package/dist/components/Input.d.ts.map +1 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components.d.ts +12 -52
- package/dist/components.d.ts.map +1 -0
- package/dist/index.d.ts +19 -28
- package/dist/index.d.ts.map +1 -0
- package/package.json +14 -12
- package/dist/components.d.mts +0 -53
- package/dist/index.d.mts +0 -34
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type ButtonVariant = "primary" | "secondary" | "outline";
|
|
3
|
+
export type ButtonSize = "small" | "medium" | "large";
|
|
4
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
variant?: ButtonVariant;
|
|
7
|
+
size?: ButtonSize;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Button component
|
|
14
|
+
*/
|
|
15
|
+
export declare const Button: React.FC<ButtonProps>;
|
|
16
|
+
export default Button;
|
|
17
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;AAChE,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtD,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACrD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAuCxC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
title?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Card component
|
|
9
|
+
*/
|
|
10
|
+
export declare const Card: React.FC<CardProps>;
|
|
11
|
+
export default Card;
|
|
12
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../src/components/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACrE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiBpC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface DrawingToolProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
width?: number;
|
|
4
|
+
height?: number;
|
|
5
|
+
className?: string;
|
|
6
|
+
overlay?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* DrawingTool component - A canvas-based drawing tool
|
|
10
|
+
*/
|
|
11
|
+
export declare const DrawingTool: React.FC<DrawingToolProps>;
|
|
12
|
+
export default DrawingTool;
|
|
13
|
+
//# sourceMappingURL=DrawingTool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawingTool.d.ts","sourceRoot":"","sources":["../../src/components/DrawingTool.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAIxE,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAmoBlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
label?: string;
|
|
4
|
+
type?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Input component
|
|
13
|
+
*/
|
|
14
|
+
export declare const Input: React.FC<InputProps>;
|
|
15
|
+
export default Input;
|
|
16
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/components/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA6BtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { Button, type ButtonProps, type ButtonVariant, type ButtonSize, } from "./Button";
|
|
2
|
+
export { Card, type CardProps } from "./Card";
|
|
3
|
+
export { Input, type InputProps } from "./Input";
|
|
4
|
+
export { DrawingTool, type DrawingToolProps } from "./DrawingTool";
|
|
5
|
+
export { default as ButtonDefault } from "./Button";
|
|
6
|
+
export { default as CardDefault } from "./Card";
|
|
7
|
+
export { default as InputDefault } from "./Input";
|
|
8
|
+
export { default as DrawingToolDefault } from "./DrawingTool";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,UAAU,GAChB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEnE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC"}
|
package/dist/components.d.ts
CHANGED
|
@@ -1,53 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
type ButtonVariant = "primary" | "secondary" | "outline";
|
|
4
|
-
type ButtonSize = "small" | "medium" | "large";
|
|
5
|
-
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
variant?: ButtonVariant;
|
|
8
|
-
size?: ButtonSize;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
1
|
/**
|
|
14
|
-
*
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
declare const Card: React.FC<CardProps>;
|
|
27
|
-
|
|
28
|
-
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
29
|
-
label?: string;
|
|
30
|
-
type?: string;
|
|
31
|
-
placeholder?: string;
|
|
32
|
-
value?: string;
|
|
33
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
34
|
-
required?: boolean;
|
|
35
|
-
className?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Input component
|
|
39
|
-
*/
|
|
40
|
-
declare const Input: React.FC<InputProps>;
|
|
41
|
-
|
|
42
|
-
interface DrawingToolProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
43
|
-
width?: number;
|
|
44
|
-
height?: number;
|
|
45
|
-
className?: string;
|
|
46
|
-
overlay?: boolean;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* DrawingTool component - A canvas-based drawing tool
|
|
50
|
-
*/
|
|
51
|
-
declare const DrawingTool: React.FC<DrawingToolProps>;
|
|
52
|
-
|
|
53
|
-
export { Button, Button as ButtonDefault, type ButtonProps, type ButtonSize, type ButtonVariant, Card, Card as CardDefault, type CardProps, DrawingTool, DrawingTool as DrawingToolDefault, type DrawingToolProps, Input, Input as InputDefault, type InputProps };
|
|
2
|
+
* UI Components export
|
|
3
|
+
* Use this file to import components in React applications
|
|
4
|
+
*/
|
|
5
|
+
export { Button, type ButtonProps, type ButtonVariant, type ButtonSize, } from "./components/Button";
|
|
6
|
+
export { Card, type CardProps } from "./components/Card";
|
|
7
|
+
export { Input, type InputProps } from "./components/Input";
|
|
8
|
+
export { DrawingTool, type DrawingToolProps } from "./components/DrawingTool";
|
|
9
|
+
export { default as ButtonDefault } from "./components/Button";
|
|
10
|
+
export { default as CardDefault } from "./components/Card";
|
|
11
|
+
export { default as InputDefault } from "./components/Input";
|
|
12
|
+
export { default as DrawingToolDefault } from "./components/DrawingTool";
|
|
13
|
+
//# sourceMappingURL=components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,UAAU,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE9E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,33 +2,24 @@
|
|
|
2
2
|
* Moab SDK
|
|
3
3
|
* Main entry point for the SDK
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
[key: string]: any;
|
|
5
|
+
export interface MoabSDKOptions {
|
|
6
|
+
[key: string]: any;
|
|
8
7
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
export declare class MoabSDK {
|
|
9
|
+
options: MoabSDKOptions;
|
|
10
|
+
constructor(options?: MoabSDKOptions);
|
|
11
|
+
/**
|
|
12
|
+
* Example method - replace with your SDK functionality
|
|
13
|
+
*/
|
|
14
|
+
hello(): string;
|
|
14
15
|
}
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Input,
|
|
26
|
-
type InputProps,
|
|
27
|
-
DrawingTool,
|
|
28
|
-
type DrawingToolProps,
|
|
29
|
-
ButtonDefault,
|
|
30
|
-
CardDefault,
|
|
31
|
-
InputDefault,
|
|
32
|
-
DrawingToolDefault,
|
|
33
|
-
} from "./components";
|
|
34
|
-
|
|
16
|
+
export default MoabSDK;
|
|
17
|
+
export { Button, type ButtonProps, type ButtonVariant, type ButtonSize, } from "./components/Button";
|
|
18
|
+
export { Card, type CardProps } from "./components/Card";
|
|
19
|
+
export { Input, type InputProps } from "./components/Input";
|
|
20
|
+
export { DrawingTool, type DrawingToolProps } from "./components/DrawingTool";
|
|
21
|
+
export { default as ButtonDefault } from "./components/Button";
|
|
22
|
+
export { default as CardDefault } from "./components/Card";
|
|
23
|
+
export { default as InputDefault } from "./components/Input";
|
|
24
|
+
export { default as DrawingToolDefault } from "./components/DrawingTool";
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,qBAAa,OAAO;IAClB,OAAO,EAAE,cAAc,CAAC;gBAEZ,OAAO,GAAE,cAAmB;IAIxC;;OAEG;IACH,KAAK,IAAI,MAAM;CAGhB;AAED,eAAe,OAAO,CAAC;AAGvB,OAAO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,UAAU,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE9E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maayan-albert/moab-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Moab SDK - A JavaScript/TypeScript SDK",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"dist",
|
|
22
22
|
"README.md"
|
|
23
23
|
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"start": "node example.js",
|
|
26
|
+
"example": "node example.js",
|
|
27
|
+
"demo": "vite --config demo/vite.config.ts",
|
|
28
|
+
"demo:build": "vite build --config demo/vite.config.ts",
|
|
29
|
+
"demo:preview": "vite preview --config demo/vite.config.ts",
|
|
30
|
+
"type-check": "tsc --noEmit",
|
|
31
|
+
"build": "tsup && tsc --emitDeclarationOnly --declaration --outDir dist",
|
|
32
|
+
"test": "echo 'Test script - add your tests here'",
|
|
33
|
+
"prepublishOnly": "pnpm run build"
|
|
34
|
+
},
|
|
35
|
+
"packageManager": "pnpm@10.10.0",
|
|
24
36
|
"keywords": [
|
|
25
37
|
"sdk",
|
|
26
38
|
"moab"
|
|
@@ -56,15 +68,5 @@
|
|
|
56
68
|
"dependencies": {
|
|
57
69
|
"html2canvas": "^1.4.1",
|
|
58
70
|
"lucide-react": "^0.563.0"
|
|
59
|
-
},
|
|
60
|
-
"scripts": {
|
|
61
|
-
"start": "node example.js",
|
|
62
|
-
"example": "node example.js",
|
|
63
|
-
"demo": "vite --config demo/vite.config.ts",
|
|
64
|
-
"demo:build": "vite build --config demo/vite.config.ts",
|
|
65
|
-
"demo:preview": "vite preview --config demo/vite.config.ts",
|
|
66
|
-
"type-check": "tsc --noEmit",
|
|
67
|
-
"build": "tsup && node scripts/fix-types.js",
|
|
68
|
-
"test": "echo 'Test script - add your tests here'"
|
|
69
71
|
}
|
|
70
|
-
}
|
|
72
|
+
}
|
package/dist/components.d.mts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
type ButtonVariant = "primary" | "secondary" | "outline";
|
|
4
|
-
type ButtonSize = "small" | "medium" | "large";
|
|
5
|
-
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
variant?: ButtonVariant;
|
|
8
|
-
size?: ButtonSize;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Button component
|
|
15
|
-
*/
|
|
16
|
-
declare const Button: React.FC<ButtonProps>;
|
|
17
|
-
|
|
18
|
-
interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
19
|
-
children: React.ReactNode;
|
|
20
|
-
title?: string;
|
|
21
|
-
className?: string;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Card component
|
|
25
|
-
*/
|
|
26
|
-
declare const Card: React.FC<CardProps>;
|
|
27
|
-
|
|
28
|
-
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
29
|
-
label?: string;
|
|
30
|
-
type?: string;
|
|
31
|
-
placeholder?: string;
|
|
32
|
-
value?: string;
|
|
33
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
34
|
-
required?: boolean;
|
|
35
|
-
className?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Input component
|
|
39
|
-
*/
|
|
40
|
-
declare const Input: React.FC<InputProps>;
|
|
41
|
-
|
|
42
|
-
interface DrawingToolProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
43
|
-
width?: number;
|
|
44
|
-
height?: number;
|
|
45
|
-
className?: string;
|
|
46
|
-
overlay?: boolean;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* DrawingTool component - A canvas-based drawing tool
|
|
50
|
-
*/
|
|
51
|
-
declare const DrawingTool: React.FC<DrawingToolProps>;
|
|
52
|
-
|
|
53
|
-
export { Button, Button as ButtonDefault, type ButtonProps, type ButtonSize, type ButtonVariant, Card, Card as CardDefault, type CardProps, DrawingTool, DrawingTool as DrawingToolDefault, type DrawingToolProps, Input, Input as InputDefault, type InputProps };
|
package/dist/index.d.mts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Moab SDK
|
|
3
|
-
* Main entry point for the SDK
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
interface MoabSDKOptions {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare class MoabSDK {
|
|
11
|
-
constructor(options?: MoabSDKOptions);
|
|
12
|
-
hello(): string;
|
|
13
|
-
options: MoabSDKOptions;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export { MoabSDK, type MoabSDKOptions, MoabSDK as default };
|
|
17
|
-
// Export UI components (for React apps)
|
|
18
|
-
export {
|
|
19
|
-
Button,
|
|
20
|
-
type ButtonProps,
|
|
21
|
-
type ButtonVariant,
|
|
22
|
-
type ButtonSize,
|
|
23
|
-
Card,
|
|
24
|
-
type CardProps,
|
|
25
|
-
Input,
|
|
26
|
-
type InputProps,
|
|
27
|
-
DrawingTool,
|
|
28
|
-
type DrawingToolProps,
|
|
29
|
-
ButtonDefault,
|
|
30
|
-
CardDefault,
|
|
31
|
-
InputDefault,
|
|
32
|
-
DrawingToolDefault,
|
|
33
|
-
} from "./components";
|
|
34
|
-
|