@zydon/common 1.0.19 → 1.0.21

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.
Files changed (107) hide show
  1. package/dist/App.d.ts.map +1 -1
  2. package/dist/assets/illustrations/BackgroundIllustration.d.ts +4 -0
  3. package/dist/assets/illustrations/BackgroundIllustration.d.ts.map +1 -0
  4. package/dist/assets/illustrations/UploadIllustration.d.ts +5 -0
  5. package/dist/assets/illustrations/UploadIllustration.d.ts.map +1 -0
  6. package/dist/assets/illustrations/index.d.ts +2 -0
  7. package/dist/assets/illustrations/index.d.ts.map +1 -0
  8. package/dist/components/ColorPickerInput/index.d.ts.map +1 -1
  9. package/dist/components/ImageCropModal/index.d.ts.map +1 -1
  10. package/dist/components/ImageCropModal/props.d.ts +1 -0
  11. package/dist/components/ImageCropModal/props.d.ts.map +1 -1
  12. package/dist/components/UploadWithCropField/index.d.ts +5 -0
  13. package/dist/components/UploadWithCropField/index.d.ts.map +1 -0
  14. package/dist/components/UploadWithCropField/props.d.ts +14 -0
  15. package/dist/components/UploadWithCropField/props.d.ts.map +1 -0
  16. package/dist/components/animate/DialogAnimate.d.ts +9 -0
  17. package/dist/components/animate/DialogAnimate.d.ts.map +1 -0
  18. package/dist/components/animate/FabButtonAnimate.d.ts +8 -0
  19. package/dist/components/animate/FabButtonAnimate.d.ts.map +1 -0
  20. package/dist/components/animate/IconButtonAnimate.d.ts +5 -0
  21. package/dist/components/animate/IconButtonAnimate.d.ts.map +1 -0
  22. package/dist/components/animate/MotionContainer.d.ts +11 -0
  23. package/dist/components/animate/MotionContainer.d.ts.map +1 -0
  24. package/dist/components/animate/MotionLazyContainer.d.ts +7 -0
  25. package/dist/components/animate/MotionLazyContainer.d.ts.map +1 -0
  26. package/dist/components/animate/MotionViewport.d.ts +11 -0
  27. package/dist/components/animate/MotionViewport.d.ts.map +1 -0
  28. package/dist/components/animate/TextAnimate.d.ts +10 -0
  29. package/dist/components/animate/TextAnimate.d.ts.map +1 -0
  30. package/dist/components/animate/index.d.ts +9 -0
  31. package/dist/components/animate/index.d.ts.map +1 -0
  32. package/dist/components/animate/types.d.ts +27 -0
  33. package/dist/components/animate/types.d.ts.map +1 -0
  34. package/dist/components/animate/variants/actions.d.ts +6 -0
  35. package/dist/components/animate/variants/actions.d.ts.map +1 -0
  36. package/dist/components/animate/variants/background.d.ts +105 -0
  37. package/dist/components/animate/variants/background.d.ts.map +1 -0
  38. package/dist/components/animate/variants/bounce.d.ts +137 -0
  39. package/dist/components/animate/variants/bounce.d.ts.map +1 -0
  40. package/dist/components/animate/variants/container.d.ts +20 -0
  41. package/dist/components/animate/variants/container.d.ts.map +1 -0
  42. package/dist/components/animate/variants/fade.d.ts +218 -0
  43. package/dist/components/animate/variants/fade.d.ts.map +1 -0
  44. package/dist/components/animate/variants/flip.d.ts +76 -0
  45. package/dist/components/animate/variants/flip.d.ts.map +1 -0
  46. package/dist/components/animate/variants/index.d.ts +13 -0
  47. package/dist/components/animate/variants/index.d.ts.map +1 -0
  48. package/dist/components/animate/variants/path.d.ts +15 -0
  49. package/dist/components/animate/variants/path.d.ts.map +1 -0
  50. package/dist/components/animate/variants/rotate.d.ts +40 -0
  51. package/dist/components/animate/variants/rotate.d.ts.map +1 -0
  52. package/dist/components/animate/variants/scale.d.ts +76 -0
  53. package/dist/components/animate/variants/scale.d.ts.map +1 -0
  54. package/dist/components/animate/variants/slide.d.ts +156 -0
  55. package/dist/components/animate/variants/slide.d.ts.map +1 -0
  56. package/dist/components/animate/variants/transition.d.ts +14 -0
  57. package/dist/components/animate/variants/transition.d.ts.map +1 -0
  58. package/dist/components/animate/variants/zoom.d.ts +200 -0
  59. package/dist/components/animate/variants/zoom.d.ts.map +1 -0
  60. package/dist/components/file-thumbnail/DownloadButton.d.ts +7 -0
  61. package/dist/components/file-thumbnail/DownloadButton.d.ts.map +1 -0
  62. package/dist/components/file-thumbnail/FileThumbnail.d.ts +14 -0
  63. package/dist/components/file-thumbnail/FileThumbnail.d.ts.map +1 -0
  64. package/dist/components/file-thumbnail/index.d.ts +4 -0
  65. package/dist/components/file-thumbnail/index.d.ts.map +1 -0
  66. package/dist/components/file-thumbnail/types.d.ts +6 -0
  67. package/dist/components/file-thumbnail/types.d.ts.map +1 -0
  68. package/dist/components/file-thumbnail/utils.d.ts +25 -0
  69. package/dist/components/file-thumbnail/utils.d.ts.map +1 -0
  70. package/dist/components/index.d.ts +8 -0
  71. package/dist/components/index.d.ts.map +1 -1
  72. package/dist/components/nav-section/NavSectionHorizontal/NavItem.d.ts.map +1 -1
  73. package/dist/components/nav-section/NavSectionMini/NavItem.d.ts.map +1 -1
  74. package/dist/components/nav-section/NavSectionVertical/NavItem.d.ts.map +1 -1
  75. package/dist/components/nav-section/types.d.ts +0 -1
  76. package/dist/components/nav-section/types.d.ts.map +1 -1
  77. package/dist/components/upload/Upload.d.ts +5 -0
  78. package/dist/components/upload/Upload.d.ts.map +1 -0
  79. package/dist/components/upload/UploadAvatar.d.ts +5 -0
  80. package/dist/components/upload/UploadAvatar.d.ts.map +1 -0
  81. package/dist/components/upload/UploadBox.d.ts +5 -0
  82. package/dist/components/upload/UploadBox.d.ts.map +1 -0
  83. package/dist/components/upload/UploadWithCrop.d.ts +15 -0
  84. package/dist/components/upload/UploadWithCrop.d.ts.map +1 -0
  85. package/dist/components/upload/errors/RejectionFiles.d.ts +8 -0
  86. package/dist/components/upload/errors/RejectionFiles.d.ts.map +1 -0
  87. package/dist/components/upload/preview/AvatarPreview.d.ts +8 -0
  88. package/dist/components/upload/preview/AvatarPreview.d.ts.map +1 -0
  89. package/dist/components/upload/preview/MultiFilePreview.d.ts +5 -0
  90. package/dist/components/upload/preview/MultiFilePreview.d.ts.map +1 -0
  91. package/dist/components/upload/preview/SingleFilePreview.d.ts +8 -0
  92. package/dist/components/upload/preview/SingleFilePreview.d.ts.map +1 -0
  93. package/dist/features-443a6160.js +3424 -0
  94. package/dist/hooks/useUpload.d.ts +11 -0
  95. package/dist/hooks/useUpload.d.ts.map +1 -0
  96. package/dist/index-9cfdea78.js +28604 -0
  97. package/dist/index.js +77 -22861
  98. package/dist/index.umd.cjs +185 -61
  99. package/dist/types/upload.d.ts +28 -0
  100. package/dist/types/upload.d.ts.map +1 -0
  101. package/dist/utils/formatNumber.d.ts +8 -0
  102. package/dist/utils/formatNumber.d.ts.map +1 -0
  103. package/dist/utils/index.d.ts +1 -0
  104. package/dist/utils/index.d.ts.map +1 -1
  105. package/package.json +5 -1
  106. package/dist/components/upload/UploadWithCrop/index.d.ts +0 -4
  107. package/dist/components/upload/UploadWithCrop/index.d.ts.map +0 -1
package/dist/App.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoH1B,QAAA,MAAM,GAAG,EAAE,KAAK,CAAC,EAyHhB,CAAC;AAEF,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqH1B,QAAA,MAAM,GAAG,EAAE,KAAK,CAAC,EAuOhB,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ declare const _default: React.NamedExoticComponent<{}>;
3
+ export default _default;
4
+ //# sourceMappingURL=BackgroundIllustration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackgroundIllustration.d.ts","sourceRoot":"","sources":["../../../src/assets/illustrations/BackgroundIllustration.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;;AAiCpC,wBAA4C"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { BoxProps } from '@mui/material';
3
+ declare const _default: import("react").NamedExoticComponent<BoxProps>;
4
+ export default _default;
5
+ //# sourceMappingURL=UploadIllustration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UploadIllustration.d.ts","sourceRoot":"","sources":["../../../src/assets/illustrations/UploadIllustration.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAO,QAAQ,EAAE,MAAM,eAAe,CAAC;;AAymB9C,wBAAwC"}
@@ -0,0 +1,2 @@
1
+ export { default as UploadIllustration } from './UploadIllustration';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assets/illustrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPickerInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA4ErD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPickerInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA6ErD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ImageCropModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAchD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmHjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ImageCropModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAchD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgHjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -3,6 +3,7 @@ export interface ImageCropModalProps {
3
3
  open: boolean;
4
4
  onClose(): void;
5
5
  image: {
6
+ imgSrc?: string;
6
7
  width: number;
7
8
  height: number;
8
9
  aspect: number;
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/ImageCropModal/props.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,IAAI,IAAI,CAAC;IAChB,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;CAC7C"}
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/ImageCropModal/props.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,IAAI,IAAI,CAAC;IAChB,KAAK,EAAE;QACL,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;CAC7C"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { Props } from './props';
3
+ declare const UploadWithCropField: React.FC<Props>;
4
+ export default UploadWithCropField;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/UploadWithCropField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAyCxC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { BaseField } from '../../types/baseField';
2
+ import { UploadProps } from '../../types/upload';
3
+ interface IProps {
4
+ aspect: number;
5
+ size: {
6
+ width: number;
7
+ height: number;
8
+ };
9
+ label: string;
10
+ image?: string;
11
+ }
12
+ export type Props = BaseField<UploadProps> & IProps;
13
+ export {};
14
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/UploadWithCropField/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,UAAU,MAAM;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,GAAG,MAAM,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { DialogProps } from '@mui/material';
3
+ export interface Props extends DialogProps {
4
+ variants?: Record<string, unknown>;
5
+ onClose?: VoidFunction;
6
+ }
7
+ declare const DialogAnimate: React.FC<Props>;
8
+ export default DialogAnimate;
9
+ //# sourceMappingURL=DialogAnimate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialogAnimate.d.ts","sourceRoot":"","sources":["../../../src/components/animate/DialogAnimate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAsB,WAAW,EAAE,MAAM,eAAe,CAAC;AAIhE,MAAM,WAAW,KAAM,SAAQ,WAAW;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAkDlC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { FabProps, SxProps } from '@mui/material';
3
+ export interface FabButtonAnimateProps extends FabProps {
4
+ sxWrap?: SxProps;
5
+ }
6
+ declare const FabButtonAnimate: React.ForwardRefExoticComponent<Omit<FabButtonAnimateProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
+ export default FabButtonAnimate;
8
+ //# sourceMappingURL=FabButtonAnimate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FabButtonAnimate.d.ts","sourceRoot":"","sources":["../../../src/components/animate/FabButtonAnimate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAY,QAAQ,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE5D,MAAM,WAAW,qBAAsB,SAAQ,QAAQ;IACrD,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,gBAAgB,8GAQrB,CAAC;AAIF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { IconButtonProps } from '@mui/material';
3
+ declare const IconButtonAnimate: React.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ export default IconButtonAnimate;
5
+ //# sourceMappingURL=IconButtonAnimate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButtonAnimate.d.ts","sourceRoot":"","sources":["../../../src/components/animate/IconButtonAnimate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAmB,eAAe,EAAE,MAAM,eAAe,CAAC;AAyCjE,QAAA,MAAM,iBAAiB,wGAQtB,CAAC;AAGF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { MotionProps } from 'framer-motion';
3
+ import { BoxProps } from '@mui/material';
4
+ type IProps = BoxProps & MotionProps;
5
+ export interface Props extends IProps {
6
+ animate?: boolean;
7
+ action?: boolean;
8
+ }
9
+ declare const MotionContainer: React.FC<Props>;
10
+ export default MotionContainer;
11
+ //# sourceMappingURL=MotionContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MotionContainer.d.ts","sourceRoot":"","sources":["../../../src/components/animate/MotionContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAO,QAAQ,EAAE,MAAM,eAAe,CAAC;AAI9C,KAAK,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAC;AAErC,MAAM,WAAW,KAAM,SAAQ,MAAM;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAgCpC,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ type Props = {
3
+ children: React.ReactNode;
4
+ };
5
+ declare const MotionLazyContainer: React.FC<Props>;
6
+ export default MotionLazyContainer;
7
+ //# sourceMappingURL=MotionLazyContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MotionLazyContainer.d.ts","sourceRoot":"","sources":["../../../src/components/animate/MotionLazyContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAMxC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { MotionProps } from 'framer-motion';
3
+ import { BoxProps } from '@mui/material';
4
+ type IProps = BoxProps & MotionProps;
5
+ interface Props extends IProps {
6
+ children: React.ReactNode;
7
+ disableAnimatedMobile?: boolean;
8
+ }
9
+ declare const MotionViewport: React.FC<Props>;
10
+ export default MotionViewport;
11
+ //# sourceMappingURL=MotionViewport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MotionViewport.d.ts","sourceRoot":"","sources":["../../../src/components/animate/MotionViewport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAO,QAAQ,EAAE,MAAM,eAAe,CAAC;AAK9C,KAAK,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAC;AAErC,UAAU,KAAM,SAAQ,MAAM;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAuBnC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { MotionProps } from 'framer-motion';
3
+ import { BoxProps } from '@mui/material';
4
+ type Props = BoxProps & MotionProps;
5
+ interface TextAnimateProps extends Props {
6
+ text: string;
7
+ }
8
+ declare const TextAnimate: React.FC<TextAnimateProps>;
9
+ export default TextAnimate;
10
+ //# sourceMappingURL=TextAnimate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextAnimate.d.ts","sourceRoot":"","sources":["../../../src/components/animate/TextAnimate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAO,QAAQ,EAAE,MAAM,eAAe,CAAC;AAI9C,KAAK,KAAK,GAAG,QAAQ,GAAG,WAAW,CAAC;AAEpC,UAAU,gBAAiB,SAAQ,KAAK;IACtC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAyB3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,9 @@
1
+ export * from './variants';
2
+ export { default as DialogAnimate } from './DialogAnimate';
3
+ export { default as TextAnimate } from './TextAnimate';
4
+ export { default as FabButtonAnimate } from './FabButtonAnimate';
5
+ export { default as IconButtonAnimate } from './IconButtonAnimate';
6
+ export { default as MotionViewport } from './MotionViewport';
7
+ export { default as MotionContainer } from './MotionContainer';
8
+ export { default as MotionLazyContainer } from './MotionLazyContainer';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/animate/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AAEvD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAEnE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,27 @@
1
+ type EaseType = 'linear' | 'easeIn' | 'easeOut' | 'easeInOut' | 'circIn' | 'circOut' | 'circInOut' | 'backIn' | 'backOut' | 'backInOut' | 'anticipate' | number[];
2
+ export type VariantsType = {
3
+ distance?: number;
4
+ durationIn?: number;
5
+ durationOut?: number;
6
+ easeIn?: EaseType;
7
+ easeOut?: EaseType;
8
+ };
9
+ export type TranHoverType = {
10
+ duration?: number;
11
+ ease?: EaseType;
12
+ };
13
+ export type TranEnterType = {
14
+ durationIn?: number;
15
+ easeIn?: EaseType;
16
+ };
17
+ export type TranExitType = {
18
+ durationOut?: number;
19
+ easeOut?: EaseType;
20
+ };
21
+ export type BackgroundType = {
22
+ colors?: string[];
23
+ duration?: number;
24
+ ease?: EaseType;
25
+ };
26
+ export {};
27
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/animate/types.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GACT,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,WAAW,GACX,QAAQ,GACR,SAAS,GACT,WAAW,GACX,QAAQ,GACR,SAAS,GACT,WAAW,GACX,YAAY,GACZ,MAAM,EAAE,CAAC;AAEb,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,QAAQ,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const varHover: (scale?: number) => {
2
+ hover: {
3
+ scale: number;
4
+ };
5
+ };
6
+ //# sourceMappingURL=actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../src/components/animate/variants/actions.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,WAAY,MAAM;;;;CAIrC,CAAC"}
@@ -0,0 +1,105 @@
1
+ import { BackgroundType } from '../types';
2
+ export declare const varBgColor: (props?: BackgroundType) => {
3
+ animate: {
4
+ background: string[];
5
+ transition: {
6
+ duration: number;
7
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
8
+ };
9
+ };
10
+ };
11
+ export declare const varBgKenburns: (props?: BackgroundType) => {
12
+ top: {
13
+ animate: {
14
+ scale: number[];
15
+ y: number[];
16
+ transformOrigin: string[];
17
+ transition: {
18
+ duration: number;
19
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
20
+ };
21
+ };
22
+ };
23
+ right: {
24
+ animate: {
25
+ scale: number[];
26
+ x: number[];
27
+ y: number[];
28
+ transformOrigin: string[];
29
+ transition: {
30
+ duration: number;
31
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
32
+ };
33
+ };
34
+ };
35
+ bottom: {
36
+ animate: {
37
+ scale: number[];
38
+ y: number[];
39
+ transformOrigin: string[];
40
+ transition: {
41
+ duration: number;
42
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
43
+ };
44
+ };
45
+ };
46
+ left: {
47
+ animate: {
48
+ scale: number[];
49
+ x: number[];
50
+ y: number[];
51
+ transformOrigin: string[];
52
+ transition: {
53
+ duration: number;
54
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
55
+ };
56
+ };
57
+ };
58
+ };
59
+ export declare const varBgPan: (props?: BackgroundType) => {
60
+ top: {
61
+ animate: {
62
+ backgroundImage: string[];
63
+ backgroundPosition: string[];
64
+ backgroundSize: string[];
65
+ transition: {
66
+ duration: number;
67
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
68
+ };
69
+ };
70
+ };
71
+ right: {
72
+ animate: {
73
+ backgroundPosition: string[];
74
+ backgroundImage: string[];
75
+ backgroundSize: string[];
76
+ transition: {
77
+ duration: number;
78
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
79
+ };
80
+ };
81
+ };
82
+ bottom: {
83
+ animate: {
84
+ backgroundImage: string[];
85
+ backgroundPosition: string[];
86
+ backgroundSize: string[];
87
+ transition: {
88
+ duration: number;
89
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
90
+ };
91
+ };
92
+ };
93
+ left: {
94
+ animate: {
95
+ backgroundPosition: string[];
96
+ backgroundImage: string[];
97
+ backgroundSize: string[];
98
+ transition: {
99
+ duration: number;
100
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
101
+ };
102
+ };
103
+ };
104
+ };
105
+ //# sourceMappingURL=background.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background.d.ts","sourceRoot":"","sources":["../../../../src/components/animate/variants/background.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAI1C,eAAO,MAAM,UAAU,WAAY,cAAc;;;;;;;;CAWhD,CAAC;AAIF,eAAO,MAAM,aAAa,WAAY,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCnD,CAAC;AAIF,eAAO,MAAM,QAAQ,WAAY,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyC9C,CAAC"}
@@ -0,0 +1,137 @@
1
+ import { VariantsType } from '../types';
2
+ export declare const varBounce: (props?: VariantsType) => {
3
+ in: {
4
+ initial: {};
5
+ animate: {
6
+ scale: number[];
7
+ opacity: number[];
8
+ transition: {
9
+ duration: number;
10
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
11
+ };
12
+ };
13
+ exit: {
14
+ scale: number[];
15
+ opacity: number[];
16
+ };
17
+ };
18
+ inUp: {
19
+ initial: {};
20
+ animate: {
21
+ y: number[];
22
+ scaleY: number[];
23
+ opacity: number[];
24
+ transition: {
25
+ duration: number;
26
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
27
+ };
28
+ };
29
+ exit: {
30
+ y: number[];
31
+ scaleY: number[];
32
+ opacity: number[];
33
+ transition: {
34
+ duration: number;
35
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
36
+ };
37
+ };
38
+ };
39
+ inDown: {
40
+ initial: {};
41
+ animate: {
42
+ y: number[];
43
+ scaleY: number[];
44
+ opacity: number[];
45
+ transition: {
46
+ duration: number;
47
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
48
+ };
49
+ };
50
+ exit: {
51
+ y: number[];
52
+ scaleY: number[];
53
+ opacity: number[];
54
+ transition: {
55
+ duration: number;
56
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
57
+ };
58
+ };
59
+ };
60
+ inLeft: {
61
+ initial: {};
62
+ animate: {
63
+ x: number[];
64
+ scaleX: number[];
65
+ opacity: number[];
66
+ transition: {
67
+ duration: number;
68
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
69
+ };
70
+ };
71
+ exit: {
72
+ x: number[];
73
+ scaleX: number[];
74
+ opacity: number[];
75
+ transition: {
76
+ duration: number;
77
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
78
+ };
79
+ };
80
+ };
81
+ inRight: {
82
+ initial: {};
83
+ animate: {
84
+ x: number[];
85
+ scaleX: number[];
86
+ opacity: number[];
87
+ transition: {
88
+ duration: number;
89
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
90
+ };
91
+ };
92
+ exit: {
93
+ x: number[];
94
+ scaleX: number[];
95
+ opacity: number[];
96
+ transition: {
97
+ duration: number;
98
+ ease: "linear" | number[] | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
99
+ };
100
+ };
101
+ };
102
+ out: {
103
+ animate: {
104
+ scale: number[];
105
+ opacity: number[];
106
+ };
107
+ };
108
+ outUp: {
109
+ animate: {
110
+ y: number[];
111
+ scaleY: number[];
112
+ opacity: number[];
113
+ };
114
+ };
115
+ outDown: {
116
+ animate: {
117
+ y: number[];
118
+ scaleY: number[];
119
+ opacity: number[];
120
+ };
121
+ };
122
+ outLeft: {
123
+ animate: {
124
+ x: number[];
125
+ scaleX: number[];
126
+ opacity: number[];
127
+ };
128
+ };
129
+ outRight: {
130
+ animate: {
131
+ x: number[];
132
+ scaleX: number[];
133
+ opacity: number[];
134
+ };
135
+ };
136
+ };
137
+ //# sourceMappingURL=bounce.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bounce.d.ts","sourceRoot":"","sources":["../../../../src/components/animate/variants/bounce.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAMxC,eAAO,MAAM,SAAS,WAAY,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkG7C,CAAC"}
@@ -0,0 +1,20 @@
1
+ export type Props = {
2
+ staggerIn?: number;
3
+ delayIn?: number;
4
+ staggerOut?: number;
5
+ };
6
+ export declare const varContainer: (props?: Props) => {
7
+ animate: {
8
+ transition: {
9
+ staggerChildren: number;
10
+ delayChildren: number;
11
+ };
12
+ };
13
+ exit: {
14
+ transition: {
15
+ staggerChildren: number;
16
+ staggerDirection: number;
17
+ };
18
+ };
19
+ };
20
+ //# sourceMappingURL=container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../../src/components/animate/variants/container.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,YAAY,WAAY,KAAK;;;;;;;;;;;;;CAmBzC,CAAC"}