@quintara.ai/ui 0.0.3 → 0.0.5
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 +25 -4
- package/dist/components.esm.js +392 -349
- package/dist/components.esm.js.map +1 -1
- package/dist/components.js +139 -96
- package/dist/components.js.map +1 -1
- package/dist/index.d.ts +37 -5
- package/dist/index.esm.js +406 -363
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +209 -166
- package/dist/index.js.map +1 -1
- package/dist/utils.d.ts +12 -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/package.json +1 -1
package/dist/components.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ interface IconsProps extends SVGProps<SVGSVGElement> {
|
|
|
26
26
|
classes?: string;
|
|
27
27
|
type?: IconType;
|
|
28
28
|
wsvg?: number;
|
|
29
|
+
color?: string;
|
|
30
|
+
stroke?: string;
|
|
29
31
|
containerProps?: SuperCSSProps;
|
|
30
32
|
component?: ReactNode | null;
|
|
31
33
|
}
|
|
@@ -55,8 +57,9 @@ declare const _default$l: React.MemoExoticComponent<({ title, message, }: {
|
|
|
55
57
|
|
|
56
58
|
type InputRole = "input" | "textarea";
|
|
57
59
|
type InputAlign = "left" | "center" | "right";
|
|
58
|
-
type InputType = "text" | "password" | "email" | "tel" | "number" | "curp" | "calendar";
|
|
60
|
+
type InputType = "text" | "password" | "email" | "tel" | "number" | "curp" | "calendar" | "otp";
|
|
59
61
|
interface InputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onCopy" | "onPaste" | "onChange"> {
|
|
62
|
+
id?: string;
|
|
60
63
|
isSlug?: boolean;
|
|
61
64
|
placeholder?: string;
|
|
62
65
|
type?: InputType;
|
|
@@ -88,9 +91,10 @@ interface InputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onCopy" | "on
|
|
|
88
91
|
capitalize?: boolean;
|
|
89
92
|
showCalendar?: boolean;
|
|
90
93
|
hasRequired?: string;
|
|
91
|
-
autoComplete?: boolean;
|
|
94
|
+
autoComplete?: boolean | string;
|
|
92
95
|
align?: InputAlign;
|
|
93
96
|
styles?: CSSProperties;
|
|
97
|
+
inputStyles?: SuperCSSProps;
|
|
94
98
|
height?: number;
|
|
95
99
|
suffix?: ReactNode;
|
|
96
100
|
}
|
|
@@ -321,6 +325,10 @@ interface ImageProps extends HTMLAttributes<HTMLPictureElement> {
|
|
|
321
325
|
blur?: string;
|
|
322
326
|
ratio?: string;
|
|
323
327
|
radius?: string | number;
|
|
328
|
+
width?: string | number;
|
|
329
|
+
height?: string | number;
|
|
330
|
+
alt?: string;
|
|
331
|
+
cache?: boolean;
|
|
324
332
|
[key: string]: unknown;
|
|
325
333
|
}
|
|
326
334
|
|
|
@@ -346,10 +354,11 @@ interface VideoProps extends Omit<VideoHTMLAttributes<HTMLVideoElement>, "style"
|
|
|
346
354
|
persistAutoplay?: boolean;
|
|
347
355
|
fetchpriority?: "high" | "low" | "auto";
|
|
348
356
|
preload?: "none" | "metadata" | "auto";
|
|
357
|
+
lazy?: boolean;
|
|
349
358
|
style?: SuperCSSProps;
|
|
350
359
|
}
|
|
351
360
|
|
|
352
|
-
declare const _default$a: React.MemoExoticComponent<({ src, title, type, controls, autoPlay, muted, loop, className, containerStyles, videoStyles, fit, poster, id, name, persistAutoplay, ...props }: VideoProps) => react_jsx_runtime.JSX.Element>;
|
|
361
|
+
declare const _default$a: React.MemoExoticComponent<({ src, title, type, controls, autoPlay, muted, loop, className, containerStyles, videoStyles, fit, poster, id, name, persistAutoplay, lazy, ...props }: VideoProps) => react_jsx_runtime.JSX.Element>;
|
|
353
362
|
|
|
354
363
|
interface BoxProps extends HTMLAttributes<HTMLDivElement> {
|
|
355
364
|
children: ReactNode;
|
|
@@ -418,7 +427,19 @@ interface SlideProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
418
427
|
|
|
419
428
|
declare const _default$1: React.MemoExoticComponent<({ children, height, autoPlay, autoPlayTime, hideControls, indicators, noOverflow, caption, ...props }: SlideProps) => react_jsx_runtime.JSX.Element>;
|
|
420
429
|
|
|
421
|
-
|
|
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>;
|
|
422
443
|
|
|
423
444
|
declare const Wrapper: React.FC<WrapperProps & SuperCSSProps>;
|
|
424
445
|
declare const Icons: React.FC<IconsProps & SuperCSSProps>;
|