@quintara.ai/ui 0.0.4 → 0.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/dist/components.d.ts +19 -2
- package/dist/components.esm.js +378 -342
- package/dist/components.esm.js.map +1 -1
- package/dist/components.js +119 -83
- package/dist/components.js.map +1 -1
- package/dist/index.d.ts +83 -29
- package/dist/index.esm.js +522 -367
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +304 -149
- package/dist/index.js.map +1 -1
- package/dist/utils.d.ts +5 -1
- package/dist/utils.esm.js +1 -1
- package/dist/utils.esm.js.map +1 -1
- package/dist/utils.js +1 -1
- package/dist/utils.js.map +1 -1
- package/dist/widgets.d.ts +37 -0
- package/dist/widgets.esm.js +121 -0
- package/dist/widgets.esm.js.map +1 -0
- package/dist/widgets.js +121 -0
- package/dist/widgets.js.map +1 -0
- package/package.json +6 -1
package/dist/components.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ type InputRole = "input" | "textarea";
|
|
|
59
59
|
type InputAlign = "left" | "center" | "right";
|
|
60
60
|
type InputType = "text" | "password" | "email" | "tel" | "number" | "curp" | "calendar" | "otp";
|
|
61
61
|
interface InputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onCopy" | "onPaste" | "onChange"> {
|
|
62
|
+
id?: string;
|
|
62
63
|
isSlug?: boolean;
|
|
63
64
|
placeholder?: string;
|
|
64
65
|
type?: InputType;
|
|
@@ -90,7 +91,7 @@ interface InputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onCopy" | "on
|
|
|
90
91
|
capitalize?: boolean;
|
|
91
92
|
showCalendar?: boolean;
|
|
92
93
|
hasRequired?: string;
|
|
93
|
-
autoComplete?: boolean;
|
|
94
|
+
autoComplete?: boolean | string;
|
|
94
95
|
align?: InputAlign;
|
|
95
96
|
styles?: CSSProperties;
|
|
96
97
|
inputStyles?: SuperCSSProps;
|
|
@@ -324,6 +325,10 @@ interface ImageProps extends HTMLAttributes<HTMLPictureElement> {
|
|
|
324
325
|
blur?: string;
|
|
325
326
|
ratio?: string;
|
|
326
327
|
radius?: string | number;
|
|
328
|
+
width?: string | number;
|
|
329
|
+
height?: string | number;
|
|
330
|
+
alt?: string;
|
|
331
|
+
cache?: boolean;
|
|
327
332
|
[key: string]: unknown;
|
|
328
333
|
}
|
|
329
334
|
|
|
@@ -422,7 +427,19 @@ interface SlideProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
422
427
|
|
|
423
428
|
declare const _default$1: React.MemoExoticComponent<({ children, height, autoPlay, autoPlayTime, hideControls, indicators, noOverflow, caption, ...props }: SlideProps) => react_jsx_runtime.JSX.Element>;
|
|
424
429
|
|
|
425
|
-
|
|
430
|
+
type DialogPosition = "top" | "bottom" | "center";
|
|
431
|
+
interface DialogProps {
|
|
432
|
+
show?: boolean;
|
|
433
|
+
position?: DialogPosition;
|
|
434
|
+
onClose?: () => void;
|
|
435
|
+
children?: ReactNode;
|
|
436
|
+
$overlay?: Record<string, unknown>;
|
|
437
|
+
$wrapper?: Record<string, unknown>;
|
|
438
|
+
$content?: Record<string, unknown>;
|
|
439
|
+
[key: string]: unknown;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
declare const _default: React.NamedExoticComponent<DialogProps & SuperCSSProps>;
|
|
426
443
|
|
|
427
444
|
declare const Wrapper: React.FC<WrapperProps & SuperCSSProps>;
|
|
428
445
|
declare const Icons: React.FC<IconsProps & SuperCSSProps>;
|