@zydon/common 2.7.63 → 2.7.65
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/README.md +1 -0
- package/dist/chunk-2CY62UZ5.js +21 -0
- package/dist/chunk-2CY62UZ5.js.map +1 -0
- package/dist/{chunk-5NIMUEW5.js → chunk-6FG5S5PI.js} +2 -2
- package/dist/{chunk-VPKUUY5Q.js → chunk-CU7PKEY2.js} +2 -2
- package/dist/{chunk-MP2LAJS5.js → chunk-KQTA6B4Y.js} +2 -2
- package/dist/chunk-QVUHCBI2.js +35 -0
- package/dist/chunk-QVUHCBI2.js.map +1 -0
- package/dist/chunk-RPPQBAVO.js +12 -0
- package/dist/chunk-RPPQBAVO.js.map +1 -0
- package/dist/components/AvatarButton/index.js +2 -2
- package/dist/components/Common/index.js +2 -2
- package/dist/components/DataView/index.js +2 -2
- package/dist/components/DatePicker/index.d.ts +2 -1
- package/dist/components/DatePicker/index.js +3 -3
- package/dist/components/DatePicker/index.js.map +1 -1
- package/dist/components/DragContainer/index.js +2 -2
- package/dist/components/DragContainer/index.js.map +1 -1
- package/dist/components/DynamicDataView/index.js +2 -2
- package/dist/components/FileUpload/index.js +1 -4
- package/dist/components/FrameSkeleton/index.d.ts +1 -0
- package/dist/components/FrameSkeleton/index.js +2 -2
- package/dist/components/FrameSkeleton/index.js.map +1 -1
- package/dist/components/ImageCropModal/index.js +14 -4
- package/dist/components/ImageCropModal/index.js.map +1 -1
- package/dist/components/Incrementer/index.d.ts +0 -3
- package/dist/components/ListBundles/index.d.ts +0 -8
- package/dist/components/SearchInput/index.js +1 -1
- package/dist/components/SelectList/index.d.ts +7 -0
- package/dist/components/SelectList/index.js +10 -0
- package/dist/components/SelectList/index.js.map +1 -0
- package/dist/components/SelectableCards/index.js +2 -2
- package/dist/components/StateDisplay/index.d.ts +0 -42
- package/dist/components/SwapList/index.js +1 -1
- package/dist/components/ToggleTheme/index.js +2 -2
- package/dist/components/carousel/index.d.ts +0 -18
- package/dist/components/form/Codes/index.d.ts +2 -1
- package/dist/components/form/Codes/index.js +4 -4
- package/dist/components/form/Codes/index.js.map +1 -1
- package/dist/components/form/FileUpload/index.d.ts +0 -200
- package/dist/components/form/FileUpload/index.js +2 -5
- package/dist/components/form/FileUpload/index.js.map +1 -1
- package/dist/components/form/SelectList/index.d.ts +13 -0
- package/dist/components/form/SelectList/index.js +16 -0
- package/dist/components/form/SelectList/index.js.map +1 -0
- package/dist/components/form/SelectableCards/index.js +2 -2
- package/dist/hooks/useMount.d.ts +0 -20
- package/dist/hooks/useSnackbar.d.ts +7 -7
- package/dist/hooks/useThemeToggle.js +2 -2
- package/dist/hooks/useUpload.js +6 -1
- package/dist/hooks/useUpload.js.map +1 -1
- package/dist/hooks/useUploadImage.js +7 -2
- package/dist/hooks/useUploadImage.js.map +1 -1
- package/dist/hooks/useWindowFocus.d.ts +0 -3
- package/dist/index.d.ts +3 -5
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/dist/theme/core/index.d.ts +1 -1
- package/dist/theme/styles/index.d.ts +12 -76
- package/dist/theme/theme-provider.js +2 -2
- package/dist/theme/with-settings/index.d.ts +0 -4
- package/dist/types/sectionProps.d.ts +2 -0
- package/dist/types/selectList.d.ts +31 -0
- package/dist/types/selectList.js +3 -0
- package/dist/types/selectList.js.map +1 -0
- package/dist/utils/compare.d.ts +0 -21
- package/dist/utils/dnd.js +4 -4
- package/dist/utils/dnd.js.map +1 -1
- package/dist/utils/execution.d.ts +0 -70
- package/dist/utils/object.d.ts +0 -6
- package/dist/utils/paymentValidators.d.ts +0 -6
- package/dist/utils/popup.d.ts +0 -7
- package/dist/utils/string.d.ts +0 -5
- package/package.json +6 -1
- package/dist/chunk-33C6UWPV.js +0 -7
- package/dist/chunk-33C6UWPV.js.map +0 -1
- package/dist/chunk-6WGKIN5L.js +0 -18
- package/dist/chunk-6WGKIN5L.js.map +0 -1
- package/dist/chunk-DTIGB5NW.js +0 -10
- package/dist/chunk-DTIGB5NW.js.map +0 -1
- package/dist/chunk-IEGF6HVV.js +0 -43
- package/dist/chunk-IEGF6HVV.js.map +0 -1
- package/dist/chunk-JFZOAS75.js +0 -23
- package/dist/chunk-JFZOAS75.js.map +0 -1
- package/dist/chunk-KR3DUHA6.js +0 -16
- package/dist/chunk-KR3DUHA6.js.map +0 -1
- package/dist/chunk-OTVEMGF2.js +0 -12
- package/dist/chunk-OTVEMGF2.js.map +0 -1
- package/dist/chunk-SBMEL2IJ.js +0 -9
- package/dist/chunk-SBMEL2IJ.js.map +0 -1
- package/dist/chunk-VYNBVZSA.js +0 -37
- package/dist/chunk-VYNBVZSA.js.map +0 -1
- package/dist/chunk-WQSRNCNF.js +0 -5
- package/dist/chunk-WQSRNCNF.js.map +0 -1
- package/dist/chunk-YCEQDXLR.js +0 -8
- package/dist/chunk-YCEQDXLR.js.map +0 -1
- package/dist/components/form/UploadAvatarWithCrop/index.d.ts +0 -21
- package/dist/components/form/UploadAvatarWithCrop/index.js +0 -23
- package/dist/components/form/UploadAvatarWithCrop/index.js.map +0 -1
- package/dist/components/form/UploadWithCrop/index.d.ts +0 -21
- package/dist/components/form/UploadWithCrop/index.js +0 -29
- package/dist/components/form/UploadWithCrop/index.js.map +0 -1
- package/dist/components/upload/index.d.ts +0 -70
- package/dist/components/upload/index.js +0 -31
- package/dist/components/upload/index.js.map +0 -1
- package/dist/{chunk-5NIMUEW5.js.map → chunk-6FG5S5PI.js.map} +0 -0
- package/dist/{chunk-VPKUUY5Q.js.map → chunk-CU7PKEY2.js.map} +0 -0
- package/dist/{chunk-MP2LAJS5.js.map → chunk-KQTA6B4Y.js.map} +0 -0
- package/dist/{index-5a5e5dc8.d.ts → index-c8f1e6e7.d.ts} +12 -12
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { e } from '../../../chunk-IEGF6HVV.js';
|
|
2
|
-
import '../../../chunk-6WGKIN5L.js';
|
|
3
|
-
import '../../../chunk-KR3DUHA6.js';
|
|
4
|
-
import '../../../chunk-ESFOFEVL.js';
|
|
5
|
-
import '../../../chunk-DTIGB5NW.js';
|
|
6
|
-
import '../../../chunk-WQSRNCNF.js';
|
|
7
|
-
import '../../../chunk-RFRLNTFN.js';
|
|
8
|
-
import '../../../chunk-OF6623HG.js';
|
|
9
|
-
import '../../../chunk-N4DW7EIC.js';
|
|
10
|
-
import '../../../chunk-33C6UWPV.js';
|
|
11
|
-
import '../../../chunk-6U5LS7MP.js';
|
|
12
|
-
import '../../../chunk-NQNNMRLC.js';
|
|
13
|
-
import '../../../chunk-CIGSMWKF.js';
|
|
14
|
-
import { a } from '../../../chunk-YCEQDXLR.js';
|
|
15
|
-
import '../../../chunk-SBMEL2IJ.js';
|
|
16
|
-
import '../../../chunk-E3R7W7GK.js';
|
|
17
|
-
import '../../../chunk-VITOOMKK.js';
|
|
18
|
-
import '../../../chunk-RPO7AI5K.js';
|
|
19
|
-
import '../../../chunk-IAOMC4C4.js';
|
|
20
|
-
import '../../../chunk-GLRLKFPS.js';
|
|
21
|
-
import { useFormContext, Controller } from 'react-hook-form';
|
|
22
|
-
import b from '@mui/material/FormHelperText';
|
|
23
|
-
import { jsx } from 'react/jsx-runtime';
|
|
24
|
-
|
|
25
|
-
var H=({name:e$1,rules:m,helperText:l,aspect:n,label:f,image:s,onFileCropped:p,onImageUploaded:u,onCancel:r,...c})=>{let{control:C}=useFormContext(),{uploadFile:U,file:g,setFileValue:x}=a(e$1);return jsx(Controller,{name:e$1,control:C,rules:m,render:({field:{value:F},fieldState:{error:o}})=>jsx(e,{accept:{"image/*":[]},file:F?g:void 0,onFileCropped:i=>{U(i),p&&p(i);},onImageUploaded:u,onCancel:()=>{x(void 0),r&&r();},error:!!o,disableMultiple:!0,helperText:(!!o||l)&&jsx(b,{error:!!o,sx:{px:2},children:o?o?.message:l}),aspect:n,label:f,image:s,"data-intercom-target":e$1,...c})})},S=H;
|
|
26
|
-
|
|
27
|
-
export { S as default };
|
|
28
|
-
//# sourceMappingURL=out.js.map
|
|
29
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/form/UploadWithCrop/index.tsx"],"names":["Controller","useFormContext","FormHelperText","jsx","UploadWithCrop","name","rules","helperText","aspect","label","image","onFileCropped","onImageUploaded","onCancel","other","control","uploadFile","file","setFileValue","useUpload_default","value","error","upload_with_crop_default","v","UploadWithCrop_default"],"mappings":"+sBAAA,OAAS,cAAAA,EAAY,kBAAAC,MAAsB,kBAC3C,OAAOC,MAAoB,+BA6Cb,cAAAC,MAAA,oBAtCd,IAAMC,EAAiB,CAAC,CACtB,KAAAC,EACA,MAAAC,EACA,WAAAC,EACA,OAAAC,EACA,MAAAC,EACA,MAAAC,EACA,cAAAC,EACA,gBAAAC,EACA,SAAAC,EACA,GAAGC,CACL,IAA2B,CACzB,GAAM,CAAE,QAAAC,CAAQ,EAAId,EAAe,EAC7B,CAAE,WAAAe,EAAY,KAAAC,EAAM,aAAAC,CAAa,EAAIC,EAAUd,CAAI,EAEzD,OACEF,EAACH,EAAA,CACC,KAAMK,EACN,QAASU,EACT,MAAOT,EACP,OAAQ,CAAC,CAAE,MAAO,CAAE,MAAAc,CAAM,EAAG,WAAY,CAAE,MAAAC,CAAM,CAAE,IACjDlB,EAACmB,EAAA,CACC,OAAQ,CAAE,UAAW,CAAC,CAAE,EACxB,KAAMF,EAAQH,EAAO,OACrB,cAAeM,GAAK,CAClBP,EAAWO,CAAC,EACRZ,GAAeA,EAAcY,CAAC,CACpC,EACA,gBAAiBX,EACjB,SAAU,IAAM,CACdM,EAAa,MAAS,EAElBL,GAAUA,EAAS,CACzB,EACA,MAAO,CAAC,CAACQ,EACT,gBAAe,GACf,YACG,CAAC,CAACA,GAASd,IACVJ,EAACD,EAAA,CAAe,MAAO,CAAC,CAACmB,EAAO,GAAI,CAAE,GAAI,CAAE,EACzC,SAAAA,EAAQA,GAAO,QAAUd,EAC5B,EAGJ,OAAQC,EACR,MAAOC,EACP,MAAOC,EACP,uBAAsBL,EACrB,GAAGS,EACN,EAEJ,CAEJ,EAEOU,EAAQpB","sourcesContent":["import { Controller, useFormContext } from 'react-hook-form';\nimport FormHelperText from '@mui/material/FormHelperText';\n\nimport UploadWithCropComponent from 'components/upload/upload-with-crop';\nimport useUpload from 'hooks/useUpload';\n\nimport { UploadWithCropProps } from './props';\n\nconst UploadWithCrop = ({\n name,\n rules,\n helperText,\n aspect,\n label,\n image,\n onFileCropped,\n onImageUploaded,\n onCancel,\n ...other\n}: UploadWithCropProps) => {\n const { control } = useFormContext();\n const { uploadFile, file, setFileValue } = useUpload(name);\n\n return (\n <Controller\n name={name}\n control={control}\n rules={rules}\n render={({ field: { value }, fieldState: { error } }) => (\n <UploadWithCropComponent\n accept={{ 'image/*': [] }}\n file={value ? file : undefined}\n onFileCropped={v => {\n uploadFile(v);\n if (onFileCropped) onFileCropped(v);\n }}\n onImageUploaded={onImageUploaded}\n onCancel={() => {\n setFileValue(undefined);\n\n if (onCancel) onCancel();\n }}\n error={!!error}\n disableMultiple\n helperText={\n (!!error || helperText) && (\n <FormHelperText error={!!error} sx={{ px: 2 }}>\n {error ? error?.message : helperText}\n </FormHelperText>\n )\n }\n aspect={aspect}\n label={label}\n image={image}\n data-intercom-target={name}\n {...other}\n />\n )}\n />\n );\n};\n\nexport default UploadWithCrop;\n"]}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { UploadProps, CustomFile } from '../../types/upload.js';
|
|
3
|
-
import { IconButtonProps } from '@mui/material/IconButton';
|
|
4
|
-
import { SxProps, Theme } from '@mui/material/styles';
|
|
5
|
-
import { StackProps } from '@mui/material/Stack';
|
|
6
|
-
import { FileRejection } from 'react-dropzone';
|
|
7
|
-
import 'react';
|
|
8
|
-
|
|
9
|
-
declare const MultiFilePreview: ({ thumbnail, files, onRemove, onReorder, onHandleMainImage, mainUrl, sx, }: UploadProps) => react_jsx_runtime.JSX.Element | null;
|
|
10
|
-
|
|
11
|
-
type FileThumbnailProps = StackProps & {
|
|
12
|
-
tooltip?: boolean;
|
|
13
|
-
file: File | string;
|
|
14
|
-
imageView?: boolean;
|
|
15
|
-
sx?: SxProps<Theme>;
|
|
16
|
-
onDownload?: () => void;
|
|
17
|
-
onRemove?: () => void;
|
|
18
|
-
slotProps?: {
|
|
19
|
-
img?: SxProps<Theme>;
|
|
20
|
-
icon?: SxProps<Theme>;
|
|
21
|
-
removeBtn?: SxProps<Theme>;
|
|
22
|
-
downloadBtn?: SxProps<Theme>;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
type FileUploadType = File | string | null;
|
|
27
|
-
type FilesUploadType = (File | string)[];
|
|
28
|
-
type SingleFilePreviewProps = {
|
|
29
|
-
file: File | string;
|
|
30
|
-
};
|
|
31
|
-
type MultiFilePreviewProps = {
|
|
32
|
-
files: FilesUploadType;
|
|
33
|
-
sx?: SxProps<Theme>;
|
|
34
|
-
lastNode?: React.ReactNode;
|
|
35
|
-
firstNode?: React.ReactNode;
|
|
36
|
-
onRemove: UploadProps['onRemove'];
|
|
37
|
-
thumbnail: UploadProps['thumbnail'];
|
|
38
|
-
onHandleMainImage?: (file: CustomFile | string) => void;
|
|
39
|
-
mainUrl?: string;
|
|
40
|
-
slotProps?: {
|
|
41
|
-
thumbnail?: Omit<FileThumbnailProps, 'file'>;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
interface UploadWithCropProps extends UploadProps {
|
|
45
|
-
onFileCropped(file?: File): void;
|
|
46
|
-
onImageUploaded(image?: string): void;
|
|
47
|
-
onCancel?: VoidFunction;
|
|
48
|
-
aspect: number;
|
|
49
|
-
label: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
declare function SingleFilePreview({ file }: SingleFilePreviewProps): react_jsx_runtime.JSX.Element;
|
|
53
|
-
declare function DeleteButton({ sx, ...other }: IconButtonProps): react_jsx_runtime.JSX.Element;
|
|
54
|
-
|
|
55
|
-
type Props = {
|
|
56
|
-
files: FileRejection[];
|
|
57
|
-
};
|
|
58
|
-
declare function RejectionFiles({ files }: Props): react_jsx_runtime.JSX.Element | null;
|
|
59
|
-
|
|
60
|
-
declare const Upload: ({ id, disabled, multiple, error, helperText, file, onDelete, files, thumbnail, onRemove, onHandleMainImage, mainUrl, sx, dropZoneProps, placeholderProps, placeholderAlt, uploading, image, tabIndex, preview, onRemoveAll, onUpload, onReorder, ...other }: UploadProps) => react_jsx_runtime.JSX.Element;
|
|
61
|
-
|
|
62
|
-
declare function UploadAvatar({ sx, error, file: value, disabled, uploading, helperText, ...other }: UploadProps): react_jsx_runtime.JSX.Element;
|
|
63
|
-
|
|
64
|
-
declare const UploadAvatarWithCrop: ({ onFileCropped, onImageUploaded, onCancel, aspect, label, image, uploading, file, tabIndex, maxSize, onDropRejected, ...other }: UploadWithCropProps) => react_jsx_runtime.JSX.Element;
|
|
65
|
-
|
|
66
|
-
declare const UploadBox: ({ error, disabled, sx, ...other }: UploadProps) => react_jsx_runtime.JSX.Element;
|
|
67
|
-
|
|
68
|
-
declare const UploadWithCrop: ({ onFileCropped, onImageUploaded, onCancel, aspect, label, image, uploading, file, tabIndex, maxSize, onDropRejected, ...other }: UploadWithCropProps) => react_jsx_runtime.JSX.Element;
|
|
69
|
-
|
|
70
|
-
export { DeleteButton, FileUploadType, FilesUploadType, MultiFilePreview, MultiFilePreviewProps, RejectionFiles, SingleFilePreview, SingleFilePreviewProps, Upload, UploadAvatar, UploadAvatarWithCrop, UploadBox, UploadWithCrop, UploadWithCropProps };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { a as UploadAvatar, b as UploadAvatarWithCrop } from '../../chunk-JFZOAS75.js';
|
|
2
|
-
export { c as DeleteButton, a as MultiFilePreview, b as SingleFilePreview, d as Upload, e as UploadWithCrop } from '../../chunk-IEGF6HVV.js';
|
|
3
|
-
import { m } from '../../chunk-6WGKIN5L.js';
|
|
4
|
-
export { n as RejectionFiles } from '../../chunk-6WGKIN5L.js';
|
|
5
|
-
import '../../chunk-KR3DUHA6.js';
|
|
6
|
-
import '../../chunk-ESFOFEVL.js';
|
|
7
|
-
import '../../chunk-DTIGB5NW.js';
|
|
8
|
-
import '../../chunk-WQSRNCNF.js';
|
|
9
|
-
import '../../chunk-RFRLNTFN.js';
|
|
10
|
-
import '../../chunk-OF6623HG.js';
|
|
11
|
-
import '../../chunk-N4DW7EIC.js';
|
|
12
|
-
import '../../chunk-33C6UWPV.js';
|
|
13
|
-
import '../../chunk-6U5LS7MP.js';
|
|
14
|
-
import '../../chunk-NQNNMRLC.js';
|
|
15
|
-
import '../../chunk-CIGSMWKF.js';
|
|
16
|
-
import '../../chunk-SBMEL2IJ.js';
|
|
17
|
-
import '../../chunk-E3R7W7GK.js';
|
|
18
|
-
import '../../chunk-VITOOMKK.js';
|
|
19
|
-
import '../../chunk-RPO7AI5K.js';
|
|
20
|
-
import '../../chunk-IAOMC4C4.js';
|
|
21
|
-
import '../../chunk-GLRLKFPS.js';
|
|
22
|
-
import { useDropzone } from 'react-dropzone';
|
|
23
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
24
|
-
|
|
25
|
-
process.env.NODE_ENV==="development"&&console.warn(`\u26A0\uFE0F DEPRECATED: UploadBox est\xE1 obsoleto. Use UploadSimpleBox do @zydon/common em seu lugar.
|
|
26
|
-
Migra\xE7\xE3o: import { UploadSimpleBox } from "@zydon/common/components/FileUpload";
|
|
27
|
-
O UploadSimpleBox oferece melhor integra\xE7\xE3o com o sistema de FileUpload.`);var P=({error:e,disabled:o,sx:p,...t})=>{let{getRootProps:a,getInputProps:l,isDragActive:m$1,isDragReject:s}=useDropzone({disabled:o,...t}),d=s||e;return jsxs(m,{...a(),isDragActive:m$1,hasError:!!d,disabled:!!o,sx:p,"data-testid":"upload-box",children:[jsx("input",{...l()}),"Selecionar arquivo"]})};
|
|
28
|
-
|
|
29
|
-
export { P as UploadBox };
|
|
30
|
-
//# sourceMappingURL=out.js.map
|
|
31
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/upload/upload-box.tsx"],"names":["useDropzone","jsx","jsxs","UploadBox","error","disabled","sx","other","getRootProps","getInputProps","isDragActive","isDragReject","hasError","BoxUpload"],"mappings":"8sBAAA,OAAS,eAAAA,MAAmB,iBAyBxB,OAQE,OAAAC,EARF,QAAAC,MAAA,oBAnBA,QAAQ,IAAI,WAAa,eAE3B,QAAQ,KACN;AAAA;AAAA,+EAGF,EAGK,IAAMC,EAAY,CAAC,CAAE,MAAAC,EAAO,SAAAC,EAAU,GAAAC,EAAI,GAAGC,CAAM,IAAmB,CAC3E,GAAM,CAAE,aAAAC,EAAc,cAAAC,EAAe,aAAAC,EAAc,aAAAC,CAAa,EAC9DX,EAAY,CACV,SAAAK,EACA,GAAGE,CACL,CAAC,EAEGK,EAAWD,GAAgBP,EAEjC,OACEF,EAACW,EAAA,CACE,GAAGL,EAAa,EACjB,aAAcE,EACd,SAAU,CAAC,CAACE,EACZ,SAAU,CAAC,CAACP,EACZ,GAAIC,EACJ,cAAY,aAEZ,UAAAL,EAAC,SAAO,GAAGQ,EAAc,EAAG,EAAE,sBAEhC,CAEJ","sourcesContent":["import { useDropzone } from 'react-dropzone';\n\nimport { UploadProps } from 'types/upload';\n\nimport { BoxUpload } from './styles';\n\nif (process.env.NODE_ENV === 'development') {\n // eslint-disable-next-line no-console\n console.warn(\n '⚠️ DEPRECATED: UploadBox está obsoleto. Use UploadSimpleBox do @zydon/common em seu lugar.\\n' +\n 'Migração: import { UploadSimpleBox } from \"@zydon/common/components/FileUpload\";\\n' +\n 'O UploadSimpleBox oferece melhor integração com o sistema de FileUpload.',\n );\n}\n\nexport const UploadBox = ({ error, disabled, sx, ...other }: UploadProps) => {\n const { getRootProps, getInputProps, isDragActive, isDragReject } =\n useDropzone({\n disabled,\n ...other,\n });\n\n const hasError = isDragReject || error;\n\n return (\n <BoxUpload\n {...getRootProps()}\n isDragActive={isDragActive}\n hasError={!!hasError}\n disabled={!!disabled}\n sx={sx}\n data-testid=\"upload-box\"\n >\n <input {...getInputProps()} />\n Selecionar arquivo\n </BoxUpload>\n );\n};\n"]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -286,10 +286,13 @@ declare const components: {
|
|
|
286
286
|
MuiTimelineDot: {
|
|
287
287
|
defaultProps?: Partial<_mui_lab_TimelineDot.TimelineDotProps> | undefined;
|
|
288
288
|
styleOverrides?: Partial<_mui_material_styles_overrides.OverridesStyleRules<keyof _mui_lab_TimelineDot.TimelineDotClasses, "MuiTimelineDot", {
|
|
289
|
-
|
|
289
|
+
cssVarPrefix: string;
|
|
290
|
+
zIndex: _mui_material.ZIndex;
|
|
291
|
+
direction: _mui_system.Direction;
|
|
292
|
+
opacity: _mui_material.Opacity;
|
|
293
|
+
typography: _mui_material.TypographyVariants;
|
|
290
294
|
palette: _mui_material.Palette;
|
|
291
295
|
colorSchemes: Record<_mui_material.SupportedColorScheme, _mui_material.ColorSystem>;
|
|
292
|
-
cssVarPrefix: string;
|
|
293
296
|
vars: _mui_material.ThemeVars;
|
|
294
297
|
getCssVar: (field: _mui_material.ThemeCssVar, ...vars: _mui_material.ThemeCssVar[]) => string;
|
|
295
298
|
getColorSchemeSelector: (colorScheme: _mui_material.SupportedColorScheme) => string;
|
|
@@ -300,16 +303,13 @@ declare const components: {
|
|
|
300
303
|
spacing: _mui_system.Spacing;
|
|
301
304
|
breakpoints: _mui_system.Breakpoints;
|
|
302
305
|
shape: _mui_system.Shape;
|
|
303
|
-
|
|
306
|
+
transitions: _mui_material.Transitions;
|
|
304
307
|
shadows: _mui_material.Shadows;
|
|
305
308
|
mixins: _mui_material.Mixins;
|
|
306
|
-
zIndex: _mui_material.ZIndex;
|
|
307
|
-
direction: _mui_system.Direction;
|
|
308
309
|
shouldSkipGeneratingVar: (keys: string[], value: string | number) => boolean;
|
|
309
310
|
unstable_sxConfig: _mui_system.SxConfig;
|
|
310
311
|
unstable_sx: (props: _mui_system.SxProps<_mui_material.Theme>) => _mui_styled_engine.CSSObject;
|
|
311
312
|
applyStyles: _mui_system.ApplyStyles<"light" | "dark">;
|
|
312
|
-
opacity: _mui_material.Opacity;
|
|
313
313
|
overlays: _mui_material.Overlays;
|
|
314
314
|
customShadows: CustomShadows;
|
|
315
315
|
unstable_strictMode?: boolean | undefined;
|
|
@@ -326,10 +326,13 @@ declare const components: {
|
|
|
326
326
|
MuiTimelineConnector: {
|
|
327
327
|
defaultProps?: Partial<_mui_lab_TimelineConnector.TimelineConnectorProps> | undefined;
|
|
328
328
|
styleOverrides?: Partial<_mui_material_styles_overrides.OverridesStyleRules<"root", "MuiTimelineConnector", {
|
|
329
|
-
|
|
329
|
+
cssVarPrefix: string;
|
|
330
|
+
zIndex: _mui_material.ZIndex;
|
|
331
|
+
direction: _mui_system.Direction;
|
|
332
|
+
opacity: _mui_material.Opacity;
|
|
333
|
+
typography: _mui_material.TypographyVariants;
|
|
330
334
|
palette: _mui_material.Palette;
|
|
331
335
|
colorSchemes: Record<_mui_material.SupportedColorScheme, _mui_material.ColorSystem>;
|
|
332
|
-
cssVarPrefix: string;
|
|
333
336
|
vars: _mui_material.ThemeVars;
|
|
334
337
|
getCssVar: (field: _mui_material.ThemeCssVar, ...vars: _mui_material.ThemeCssVar[]) => string;
|
|
335
338
|
getColorSchemeSelector: (colorScheme: _mui_material.SupportedColorScheme) => string;
|
|
@@ -340,16 +343,13 @@ declare const components: {
|
|
|
340
343
|
spacing: _mui_system.Spacing;
|
|
341
344
|
breakpoints: _mui_system.Breakpoints;
|
|
342
345
|
shape: _mui_system.Shape;
|
|
343
|
-
|
|
346
|
+
transitions: _mui_material.Transitions;
|
|
344
347
|
shadows: _mui_material.Shadows;
|
|
345
348
|
mixins: _mui_material.Mixins;
|
|
346
|
-
zIndex: _mui_material.ZIndex;
|
|
347
|
-
direction: _mui_system.Direction;
|
|
348
349
|
shouldSkipGeneratingVar: (keys: string[], value: string | number) => boolean;
|
|
349
350
|
unstable_sxConfig: _mui_system.SxConfig;
|
|
350
351
|
unstable_sx: (props: _mui_system.SxProps<_mui_material.Theme>) => _mui_styled_engine.CSSObject;
|
|
351
352
|
applyStyles: _mui_system.ApplyStyles<"light" | "dark">;
|
|
352
|
-
opacity: _mui_material.Opacity;
|
|
353
353
|
overlays: _mui_material.Overlays;
|
|
354
354
|
customShadows: CustomShadows;
|
|
355
355
|
unstable_strictMode?: boolean | undefined;
|