componenteszw-package 1.0.6 → 1.0.7

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/Blur.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ type BackgroundBlurProps = {
3
+ active: boolean;
4
+ blur?: number;
5
+ overlayOpacity?: number;
6
+ children?: React.ReactNode;
7
+ };
8
+ export declare const BackgroundBlur: React.FC<BackgroundBlurProps>;
9
+ export {};
package/dist/Card.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ type CardRowProps = {
3
+ children?: React.ReactNode;
4
+ onClick?: () => void;
5
+ };
6
+ export declare const CardRow: React.FC<CardRowProps>;
7
+ export {};
@@ -0,0 +1,21 @@
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 {};
@@ -0,0 +1,18 @@
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 {};
@@ -0,0 +1,10 @@
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 {};