ui-mathilde-web 0.13.2 → 0.13.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/style.css +1 -1
- package/dist/ui-mathilde-web.d.ts +31 -6
- package/dist/ui-mathilde-web.js +15951 -13268
- package/dist/ui-mathilde-web.umd.cjs +53 -53
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
1
2
|
import { default as default_2 } from 'react';
|
|
2
3
|
import { FormikProps } from 'formik';
|
|
3
4
|
import { ForwardRefExoticComponent } from 'react';
|
|
@@ -5,6 +6,7 @@ import { IconBaseProps as IconBaseProps_2 } from '../..';
|
|
|
5
6
|
import { IconType } from 'react-icons';
|
|
6
7
|
import { ImgHTMLAttributes } from 'react';
|
|
7
8
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
9
|
+
import { LabelProps as LabelProps_2 } from 'flowbite-react';
|
|
8
10
|
import * as React_2 from 'react';
|
|
9
11
|
import { ReactNode } from 'react';
|
|
10
12
|
import { RefAttributes } from 'react';
|
|
@@ -51,6 +53,8 @@ export declare const AiChatSvgIcon: ({ size, width, height, color, style, ...pro
|
|
|
51
53
|
|
|
52
54
|
export declare const Alert: ({ isOpen, onConfirm, onCancel, onClose, ...options }: AlertProps) => null;
|
|
53
55
|
|
|
56
|
+
export declare const AlertCircleSvgIcon: ({ size, width, height, color, style, ...props }: SvgIconBaseProps) => JSX_2.Element;
|
|
57
|
+
|
|
54
58
|
declare type AlertIcon = "success" | "error" | "warning" | "info" | "question";
|
|
55
59
|
|
|
56
60
|
/**
|
|
@@ -167,6 +171,11 @@ export declare const BUILT_IN_IMAGE_ICON_SRC: {
|
|
|
167
171
|
|
|
168
172
|
export declare const ButtonFormat: default_2.FC<ButtonFormatProps>;
|
|
169
173
|
|
|
174
|
+
/** Elemento JSX (con props), componente con `size`, o string (URL o clave resuelta con getImageIconSrc). */
|
|
175
|
+
declare type ButtonFormatIconProp = ReactNode | ComponentType<{
|
|
176
|
+
size?: number;
|
|
177
|
+
}>;
|
|
178
|
+
|
|
170
179
|
declare interface ButtonFormatProps {
|
|
171
180
|
txtBtn: string;
|
|
172
181
|
typeButton: string;
|
|
@@ -176,15 +185,13 @@ declare interface ButtonFormatProps {
|
|
|
176
185
|
classes?: string;
|
|
177
186
|
type: string;
|
|
178
187
|
onClick?: () => void;
|
|
179
|
-
leftIcon?:
|
|
180
|
-
|
|
181
|
-
}> | string;
|
|
182
|
-
rightIcon?: React.ComponentType<{
|
|
183
|
-
size?: number;
|
|
184
|
-
}> | string;
|
|
188
|
+
leftIcon?: ButtonFormatIconProp;
|
|
189
|
+
rightIcon?: ButtonFormatIconProp;
|
|
185
190
|
iconSize?: number;
|
|
186
191
|
}
|
|
187
192
|
|
|
193
|
+
export declare const CancelSquareSvgIcon: ({ size, width, height, color, style, ...props }: SvgIconBaseProps) => JSX_2.Element;
|
|
194
|
+
|
|
188
195
|
export declare const Card: ForwardRefExoticComponent<CardProps & RefAttributes<HTMLDivElement>>;
|
|
189
196
|
|
|
190
197
|
export declare const CardIndicator: React.FC<CardIndicatorProps>;
|
|
@@ -259,6 +266,8 @@ declare interface CheckboxProps {
|
|
|
259
266
|
icono?: string;
|
|
260
267
|
}
|
|
261
268
|
|
|
269
|
+
export declare const CheckmarkCircleSvgIcon: ({ size, width, height, color, style, ...props }: SvgIconBaseProps) => JSX_2.Element;
|
|
270
|
+
|
|
262
271
|
export declare const CheckmarkSvgIcon: ({ size, width, height, color, style, ...props }: SvgIconBaseProps) => JSX_2.Element;
|
|
263
272
|
|
|
264
273
|
declare interface ChipColors {
|
|
@@ -522,6 +531,8 @@ declare interface DropzoneProps {
|
|
|
522
531
|
disabled?: boolean;
|
|
523
532
|
}
|
|
524
533
|
|
|
534
|
+
export declare const EditSvgIcon: ({ size, width, height, color, style, ...props }: SvgIconBaseProps) => JSX_2.Element;
|
|
535
|
+
|
|
525
536
|
export declare const FacebookIcon: {
|
|
526
537
|
({ size, width, height, alt, ...props }: IconBaseProps_2): JSX_2.Element;
|
|
527
538
|
displayName: string;
|
|
@@ -616,6 +627,20 @@ declare interface InputFormProps extends default_2.InputHTMLAttributes<HTMLInput
|
|
|
616
627
|
maxLength?: number;
|
|
617
628
|
}
|
|
618
629
|
|
|
630
|
+
export declare const Label: {
|
|
631
|
+
({ text, icon, className, contentClassName, textClassName, ...props }: LabelProps): JSX_2.Element;
|
|
632
|
+
displayName: string;
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
declare type LabelProps = Omit<LabelProps_2, 'children'> & {
|
|
636
|
+
text: string;
|
|
637
|
+
icon?: ReactNode;
|
|
638
|
+
/** Clases en el contenedor que agrupa texto + icono (p. ej. `gap-3`, `items-end`). */
|
|
639
|
+
contentClassName?: string;
|
|
640
|
+
/** Clases solo sobre el texto (p. ej. `text-lg`, `font-bold`, `font-mono`). */
|
|
641
|
+
textClassName?: string;
|
|
642
|
+
};
|
|
643
|
+
|
|
619
644
|
export declare const LayoutOutside: ({ content }: LayoutOutsideProps) => JSX_2.Element;
|
|
620
645
|
|
|
621
646
|
declare interface LayoutOutsideProps {
|