ui-mathilde-web 0.12.5 → 0.12.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/LICENSE +21 -21
- package/README.md +190 -190
- package/dist/assets/images/click.svg +7 -7
- package/dist/assets/images/conversiones.svg +8 -8
- package/dist/assets/images/file.svg +9 -9
- package/dist/assets/images/fileSVG.svg +17 -17
- package/dist/assets/images/impresiones.svg +5 -5
- package/dist/assets/images/porcentaje.svg +5 -5
- package/dist/assets/images/robot.svg +18 -18
- package/dist/assets/images/spinner.svg +32 -32
- package/dist/assets/images/vistas.svg +5 -5
- package/dist/assets/images/window.svg +16 -16
- package/dist/style.css +1 -1
- package/dist/ui-mathilde-web.d.ts +52 -0
- package/dist/ui-mathilde-web.js +5133 -4964
- package/dist/ui-mathilde-web.umd.cjs +49 -49
- package/package.json +88 -82
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
2
|
import { FormikProps } from 'formik';
|
|
3
3
|
import { ForwardRefExoticComponent } from 'react';
|
|
4
|
+
import { IconBaseProps as IconBaseProps_2 } from './iconProps';
|
|
4
5
|
import { IconType } from 'react-icons';
|
|
6
|
+
import { ImgHTMLAttributes } from 'react';
|
|
5
7
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
6
8
|
import * as React_2 from 'react';
|
|
7
9
|
import { ReactNode } from 'react';
|
|
8
10
|
import { RefAttributes } from 'react';
|
|
11
|
+
import { SVGProps } from 'react';
|
|
9
12
|
import { SweetAlertCustomClass } from 'sweetalert2';
|
|
10
13
|
|
|
11
14
|
export declare const Accordion: default_2.FC<AccordionProps>;
|
|
@@ -153,6 +156,13 @@ export declare const BUILT_IN_ALERT_IMAGE_ICONS: {
|
|
|
153
156
|
};
|
|
154
157
|
};
|
|
155
158
|
|
|
159
|
+
export declare const BUILT_IN_IMAGE_ICON_SRC: {
|
|
160
|
+
readonly facebook: string;
|
|
161
|
+
readonly google: string;
|
|
162
|
+
readonly mathilde: string;
|
|
163
|
+
readonly tiktok: string;
|
|
164
|
+
};
|
|
165
|
+
|
|
156
166
|
export declare const ButtonFormat: default_2.FC<ButtonFormatProps>;
|
|
157
167
|
|
|
158
168
|
declare interface ButtonFormatProps {
|
|
@@ -247,6 +257,8 @@ declare interface CheckboxProps {
|
|
|
247
257
|
icono?: string;
|
|
248
258
|
}
|
|
249
259
|
|
|
260
|
+
export declare const CheckmarkSvgIcon: ({ size, width, height, color, style, ...props }: SvgIconBaseProps) => JSX_2.Element;
|
|
261
|
+
|
|
250
262
|
declare interface ChipColors {
|
|
251
263
|
backgroundColor?: string;
|
|
252
264
|
textColor?: string;
|
|
@@ -276,6 +288,8 @@ declare interface ChipListProps {
|
|
|
276
288
|
/** Solo útil en tests o hot reload de Storybook. */
|
|
277
289
|
export declare function clearAlertImageIcons(): void;
|
|
278
290
|
|
|
291
|
+
export declare function clearImageIconSrcRegistry(): void;
|
|
292
|
+
|
|
279
293
|
declare type CollapseMode = "single" | "multi";
|
|
280
294
|
|
|
281
295
|
export declare const CollapsibleTable: React_2.FC<CollapsibleTableProps>;
|
|
@@ -504,6 +518,11 @@ declare interface DropzoneProps {
|
|
|
504
518
|
disabled?: boolean;
|
|
505
519
|
}
|
|
506
520
|
|
|
521
|
+
export declare const FacebookIcon: {
|
|
522
|
+
({ size, width, height, alt, ...props }: IconBaseProps_2): JSX_2.Element;
|
|
523
|
+
displayName: string;
|
|
524
|
+
};
|
|
525
|
+
|
|
507
526
|
declare type FileType = 'image/*' | 'application/pdf' | 'application/msword' | 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' | 'application/vnd.ms-excel' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'application/vnd.ms-powerpoint' | 'application/vnd.openxmlformats-officedocument.presentationml.presentation' | 'text/csv' | 'application/json' | 'application/xml';
|
|
508
527
|
|
|
509
528
|
declare interface FilterCondition {
|
|
@@ -553,6 +572,17 @@ declare interface FilterSection_2 {
|
|
|
553
572
|
groups: FilterGroup_2[];
|
|
554
573
|
}
|
|
555
574
|
|
|
575
|
+
export declare function getImageIconSrc(key: string): string | undefined;
|
|
576
|
+
|
|
577
|
+
export declare const GoogleIcon: {
|
|
578
|
+
({ size, width, height, alt, ...props }: IconBaseProps_2): JSX_2.Element;
|
|
579
|
+
displayName: string;
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
export declare type IconBaseProps = Omit<ImgHTMLAttributes<HTMLImageElement>, 'src'> & {
|
|
583
|
+
size?: number;
|
|
584
|
+
};
|
|
585
|
+
|
|
556
586
|
export declare const ImageFormat: ({ src, alt, width, height, classIm, }: {
|
|
557
587
|
src: string;
|
|
558
588
|
alt: string;
|
|
@@ -561,6 +591,10 @@ export declare const ImageFormat: ({ src, alt, width, height, classIm, }: {
|
|
|
561
591
|
classIm?: string;
|
|
562
592
|
}) => JSX_2.Element;
|
|
563
593
|
|
|
594
|
+
export declare type ImageIconSrcKey = keyof typeof BUILT_IN_IMAGE_ICON_SRC;
|
|
595
|
+
|
|
596
|
+
export declare const InfoTooltipSvgIcon: ({ size, width, height, color, style, ...props }: SvgIconBaseProps) => JSX_2.Element;
|
|
597
|
+
|
|
564
598
|
export declare const InputForm: ForwardRefExoticComponent<InputFormProps & RefAttributes<HTMLInputElement>>;
|
|
565
599
|
|
|
566
600
|
declare interface InputFormProps extends default_2.InputHTMLAttributes<HTMLInputElement> {
|
|
@@ -594,6 +628,11 @@ declare interface ListFileProps {
|
|
|
594
628
|
|
|
595
629
|
export declare const Loader: () => JSX_2.Element;
|
|
596
630
|
|
|
631
|
+
export declare const MathildeIcon: {
|
|
632
|
+
({ size, width, height, alt, ...props }: IconBaseProps_2): JSX_2.Element;
|
|
633
|
+
displayName: string;
|
|
634
|
+
};
|
|
635
|
+
|
|
597
636
|
declare interface MenuItem {
|
|
598
637
|
id: string;
|
|
599
638
|
label: string;
|
|
@@ -713,6 +752,10 @@ declare interface RadioButtonProps {
|
|
|
713
752
|
|
|
714
753
|
export declare function registerAlertImageIcons(icons: Record<string, AlertImageIconDefinition>): void;
|
|
715
754
|
|
|
755
|
+
export declare function registerImageIconSrc(icons: Record<string, string>): void;
|
|
756
|
+
|
|
757
|
+
export declare const SearchSvgIcon: ({ size, width, height, color, style, ...props }: SvgIconBaseProps) => JSX_2.Element;
|
|
758
|
+
|
|
716
759
|
export declare const SelectForm: ForwardRefExoticComponent<SelectFormProps & RefAttributes<HTMLSelectElement>>;
|
|
717
760
|
|
|
718
761
|
declare interface SelectFormProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
|
|
@@ -808,6 +851,10 @@ declare interface SubMenuSection {
|
|
|
808
851
|
items: MenuItem[];
|
|
809
852
|
}
|
|
810
853
|
|
|
854
|
+
export declare type SvgIconBaseProps = SVGProps<SVGSVGElement> & {
|
|
855
|
+
size?: number;
|
|
856
|
+
};
|
|
857
|
+
|
|
811
858
|
declare interface TabItem {
|
|
812
859
|
id: string;
|
|
813
860
|
title: string;
|
|
@@ -901,6 +948,11 @@ declare interface TermsCheckboxProps {
|
|
|
901
948
|
label?: string;
|
|
902
949
|
}
|
|
903
950
|
|
|
951
|
+
export declare const TikTokIcon: {
|
|
952
|
+
({ size, width, height, alt, ...props }: IconBaseProps_2): JSX_2.Element;
|
|
953
|
+
displayName: string;
|
|
954
|
+
};
|
|
955
|
+
|
|
904
956
|
export declare function Toggle({ labelIzquierda, labelDerecha, checkedLabel, uncheckedLabel, checked, disabled, onChange, colors, labelPosition, boldWhenActive, }: ToggleProps): JSX_2.Element;
|
|
905
957
|
|
|
906
958
|
declare interface ToggleColors {
|