componenteszw-package 1.0.5 → 1.0.6
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/package.json +10 -16
- package/dist/Blur.d.ts +0 -9
- package/dist/Card.d.ts +0 -7
- package/dist/Modal.d.ts +0 -21
- package/dist/button.d.ts +0 -18
- package/dist/checkbox.d.ts +0 -10
- package/dist/componenteszw-package.mjs +0 -2216
- package/dist/componenteszw-package.umd.js +0 -60
- package/dist/file.d.ts +0 -8
- package/dist/fileItem.d.ts +0 -19
- package/dist/index.d.ts +0 -9
- package/dist/input.d.ts +0 -19
- package/dist/lib/utils.d.ts +0 -2
- package/dist/textarea.d.ts +0 -16
package/package.json
CHANGED
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "componenteszw-package",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "dist/componenteszw-package.
|
|
6
|
-
"module": "dist/componenteszw-package.
|
|
5
|
+
"main": "dist/componenteszw-package.js",
|
|
6
|
+
"module": "dist/componenteszw-package.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/componenteszw-package.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
8
14
|
"files": [
|
|
9
15
|
"dist"
|
|
10
|
-
]
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "vite build"
|
|
13
|
-
},
|
|
14
|
-
"peerDependencies": {
|
|
15
|
-
"react": "^18.0.0 || ^19.0.0",
|
|
16
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
17
|
-
},
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"clsx": "^2.1.1",
|
|
20
|
-
"tailwind-merge": "^2.2.1",
|
|
21
|
-
"lucide-react": "^0.500.0"
|
|
22
|
-
}
|
|
16
|
+
]
|
|
23
17
|
}
|
package/dist/Blur.d.ts
DELETED
package/dist/Card.d.ts
DELETED
package/dist/Modal.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
type ModalVariant = "success" | "error" | "question" | "content";
|
|
3
|
-
type ModalProps = {
|
|
4
|
-
open: boolean;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
variant?: ModalVariant;
|
|
7
|
-
title: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
primaryAction?: {
|
|
11
|
-
text: string;
|
|
12
|
-
onClick: () => void;
|
|
13
|
-
};
|
|
14
|
-
secondaryAction?: {
|
|
15
|
-
text: string;
|
|
16
|
-
onClick: () => void;
|
|
17
|
-
};
|
|
18
|
-
size?: "small" | "medium" | "large";
|
|
19
|
-
};
|
|
20
|
-
export declare const Modal: React.FC<ModalProps>;
|
|
21
|
-
export {};
|
package/dist/button.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
type ButtonVariant = "primary" | "secondary" | "tertiary" | "success" | "warning" | "destructive";
|
|
3
|
-
type ButtonSize = "small" | "medium";
|
|
4
|
-
type ButtonState = "default" | "hover" | "focus" | "disabled";
|
|
5
|
-
type ButtonProps = {
|
|
6
|
-
text?: string;
|
|
7
|
-
iconLeft?: React.ReactNode;
|
|
8
|
-
iconRight?: React.ReactNode;
|
|
9
|
-
variant?: ButtonVariant;
|
|
10
|
-
size?: ButtonSize;
|
|
11
|
-
state?: ButtonState;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
onClick?: () => void;
|
|
14
|
-
type?: "button" | "submit" | "reset";
|
|
15
|
-
className?: string;
|
|
16
|
-
};
|
|
17
|
-
export declare const Button: ({ text, iconLeft, iconRight, variant, size, state, disabled, onClick, type, className }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export {};
|
package/dist/checkbox.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type CheckboxProps = {
|
|
2
|
-
label?: string;
|
|
3
|
-
checked?: boolean;
|
|
4
|
-
indeterminate?: boolean;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
hintText?: string;
|
|
7
|
-
onChange?: (checked: boolean) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare function Checkbox({ label, checked, indeterminate, disabled, hintText, onChange, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|