@mvf/external-components 3.7.1-dev.2 → 3.7.1-dev.3

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 (113) hide show
  1. package/Assets/BrandLogos/ExpertMarketLogo.d.ts +1 -1
  2. package/Assets/BrandLogos/ExpertReviewsLogo.d.ts +1 -1
  3. package/Assets/BrandLogos/GoWizardLogo.d.ts +1 -1
  4. package/Assets/BrandLogos/HearClearLogo.d.ts +1 -1
  5. package/Assets/BrandLogos/LasikEyesLogo.d.ts +1 -1
  6. package/Assets/BrandLogos/StartupsLogo.d.ts +1 -1
  7. package/Assets/BrandLogos/TechcoLogo.d.ts +1 -1
  8. package/Assets/BrandLogos/TheEcoExpertsLogo.d.ts +1 -1
  9. package/Assets/BrandLogos/WebsiteBuilderExpertLogo.d.ts +1 -1
  10. package/Assets/BrandLogos/brandLogos.d.ts +1 -1
  11. package/Assets/CustomIcons/CheckboxIcon.d.ts +1 -1
  12. package/Assets/CustomIcons/RadioIcon.d.ts +1 -1
  13. package/Assets/svgs/svgs.d.ts +1 -1
  14. package/Components/Atoms/AnimationWrapper/AnimationWrapper.d.ts +4 -0
  15. package/Components/Atoms/AnimationWrapper/AnimationWrapper.js +30 -0
  16. package/Components/Atoms/AnimationWrapper/AnimationWrapper.js.map +1 -0
  17. package/Components/Atoms/AnimationWrapper/AnimationWrapper.test.d.ts +1 -0
  18. package/Components/Atoms/AnimationWrapper/AnimationWrapper.test.js +59 -0
  19. package/Components/Atoms/AnimationWrapper/AnimationWrapper.test.js.map +1 -0
  20. package/Components/Atoms/AnimationWrapper/AnimationWrapperStory.d.ts +8 -0
  21. package/Components/Atoms/AnimationWrapper/AnimationWrapperStory.js +25 -0
  22. package/Components/Atoms/AnimationWrapper/AnimationWrapperStory.js.map +1 -0
  23. package/Components/Atoms/AnimationWrapper/IAnimationWrapperProps.d.ts +8 -0
  24. package/Components/Atoms/AnimationWrapper/IAnimationWrapperProps.js +3 -0
  25. package/Components/Atoms/AnimationWrapper/IAnimationWrapperProps.js.map +1 -0
  26. package/Components/Atoms/AnimationWrapper/index.d.ts +1 -0
  27. package/Components/Atoms/AnimationWrapper/index.js +9 -0
  28. package/Components/Atoms/AnimationWrapper/index.js.map +1 -0
  29. package/Components/Atoms/AnimationWrapper/makeAnimationWrapperStyling.d.ts +6 -0
  30. package/Components/Atoms/AnimationWrapper/makeAnimationWrapperStyling.js +116 -0
  31. package/Components/Atoms/AnimationWrapper/makeAnimationWrapperStyling.js.map +1 -0
  32. package/Components/Atoms/Button/Button.d.ts +1 -1
  33. package/Components/Atoms/Button/ButtonStory.d.ts +1 -1
  34. package/Components/Atoms/CardButton/CardButton.d.ts +1 -1
  35. package/Components/Atoms/CardButton/CardButtonStory.d.ts +1 -1
  36. package/Components/Atoms/ErrorMessage/ErrorMessage.d.ts +1 -1
  37. package/Components/Atoms/ErrorMessage/ErrorMessageStory.d.ts +1 -1
  38. package/Components/Atoms/ErrorMessageProvider/ErrorMessageProvider.d.ts +3 -3
  39. package/Components/Atoms/FormControl/FormControl.d.ts +1 -1
  40. package/Components/Atoms/FormControl/FormControlStory.d.ts +1 -1
  41. package/Components/Atoms/IconButton/IconButton.d.ts +1 -1
  42. package/Components/Atoms/IconButton/IconButtonStory.d.ts +1 -1
  43. package/Components/Atoms/InfoPanel/InfoPanel.d.ts +1 -1
  44. package/Components/Atoms/InfoPanel/InfoPanelStory.d.ts +1 -1
  45. package/Components/Atoms/Input/Input.d.ts +1 -1
  46. package/Components/Atoms/Input/InputStory.d.ts +1 -1
  47. package/Components/Atoms/InputLabel/InputLabel.d.ts +1 -1
  48. package/Components/Atoms/InputLabel/InputLabelStory.d.ts +1 -1
  49. package/Components/Atoms/Link/Link.d.ts +1 -1
  50. package/Components/Atoms/Link/LinkStory.d.ts +1 -1
  51. package/Components/Atoms/LoadingIndicator/LoadingIndicator.d.ts +1 -1
  52. package/Components/Atoms/Modal/Modal.d.ts +1 -1
  53. package/Components/Atoms/Modal/ModalStory.d.ts +1 -1
  54. package/Components/Atoms/ProgressBar/ProgressBar.d.ts +1 -1
  55. package/Components/Atoms/ProgressBar/ProgressBarStory.d.ts +1 -1
  56. package/Components/Atoms/Text/Text.d.ts +1 -1
  57. package/Components/Atoms/Text/TextStory.d.ts +1 -1
  58. package/Components/Atoms/index.d.ts +1 -0
  59. package/Components/Atoms/index.js +3 -1
  60. package/Components/Atoms/index.js.map +1 -1
  61. package/Components/Molecules/CheckBox/CheckBox.d.ts +1 -1
  62. package/Components/Molecules/CheckBox/CheckBox.test.js +1 -1
  63. package/Components/Molecules/CheckBox/CheckBoxStory.d.ts +1 -1
  64. package/Components/Molecules/DatePicker/DatePicker.d.ts +1 -1
  65. package/Components/Molecules/DatePicker/DatePickerStory.d.ts +1 -1
  66. package/Components/Molecules/DatePicker/DatePickerTextFieldType.d.ts +1 -1
  67. package/Components/Molecules/DatePicker/__tests__/DatePicker.test.js +1 -1
  68. package/Components/Molecules/DropDownSelect/DropDownSelect.d.ts +1 -1
  69. package/Components/Molecules/DropDownSelect/DropDownSelectStory.d.ts +1 -1
  70. package/Components/Molecules/IconTileCheckBox/IconTileCheckBox.d.ts +1 -1
  71. package/Components/Molecules/IconTileCheckBox/IconTileCheckBoxStory.d.ts +1 -1
  72. package/Components/Molecules/IconTileRadioButton/IconTileRadioButton.d.ts +1 -1
  73. package/Components/Molecules/IconTileRadioButton/IconTileRadioButton.test.js +1 -1
  74. package/Components/Molecules/IconTileRadioButton/IconTileRadioButtonStory.d.ts +1 -1
  75. package/Components/Molecules/NavBar/NavBar.d.ts +1 -1
  76. package/Components/Molecules/NavBar/NavBarStory.d.ts +1 -1
  77. package/Components/Molecules/PhoneNumberTextField/PhoneNumberTextField.d.ts +1 -1
  78. package/Components/Molecules/PhoneNumberTextField/PhoneNumberTextFieldStory.d.ts +1 -1
  79. package/Components/Molecules/RadioButton/RadioButton.d.ts +1 -1
  80. package/Components/Molecules/RadioButton/RadioButtonStory.d.ts +1 -1
  81. package/Components/Molecules/ScrollContainer/ScrollContainer.test.js +1 -1
  82. package/Components/Molecules/ScrollContainer/ScrollContainerStory.d.ts +1 -1
  83. package/Components/Molecules/ScrollContainer/ScrollContainerTypes.d.ts +2 -2
  84. package/Components/Molecules/TextField/TextField.d.ts +1 -1
  85. package/Components/Molecules/TextField/TextFieldStory.d.ts +1 -1
  86. package/Components/Molecules/ThankYouBanner/ThankYouBanner.d.ts +1 -1
  87. package/Components/Molecules/ThankYouBanner/ThankYouBannerStory.d.ts +1 -1
  88. package/Components/Organisms/ListLayout/ListLayout.d.ts +1 -1
  89. package/Components/Organisms/ListLayout/ListLayoutStory.d.ts +1 -1
  90. package/Components/Organisms/RadioGroup/RadioGroup.d.ts +1 -1
  91. package/Components/Organisms/RadioGroup/RadioGroup.test.js +1 -1
  92. package/Components/Organisms/RadioGroup/RadioGroupContext.d.ts +1 -1
  93. package/Components/Organisms/RadioGroup/RadioGroupStory.d.ts +1 -1
  94. package/Components/Organisms/TileLayout/IconTileCheckBoxStory.d.ts +1 -1
  95. package/Components/Organisms/TileLayout/IconTileRadioButtonStory.d.ts +1 -1
  96. package/Components/Organisms/TileLayout/TileLayout.d.ts +1 -1
  97. package/Helpers/React/FunctionComponentWithDefaultProps.d.ts +1 -1
  98. package/Helpers/React/css.d.ts +1 -1
  99. package/Helpers/icons.d.ts +1 -1
  100. package/Helpers/useThrottle.d.ts +1 -1
  101. package/Themes/StoryThemeWrapper.d.ts +1 -3
  102. package/Themes/StoryThemeWrapper.js +2 -2
  103. package/Themes/StoryThemeWrapper.js.map +1 -1
  104. package/Themes/themeCreator.d.ts +1 -2
  105. package/Themes/themeCreator.js +1 -3
  106. package/Themes/themeCreator.js.map +1 -1
  107. package/Themes/themes.d.ts +3 -4
  108. package/Themes/themes.js +8 -9
  109. package/Themes/themes.js.map +1 -1
  110. package/index.d.ts +1 -1
  111. package/index.js +2 -1
  112. package/index.js.map +1 -1
  113. package/package.json +2 -5
@@ -1,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- declare type ExpertMarketLogoType = FunctionComponent;
2
+ type ExpertMarketLogoType = FunctionComponent;
3
3
  declare const ExpertMarketLogo: ExpertMarketLogoType;
4
4
  export default ExpertMarketLogo;
@@ -1,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- declare type ExpertReviewsLogoType = FunctionComponent;
2
+ type ExpertReviewsLogoType = FunctionComponent;
3
3
  declare const ExpertReviewsLogo: ExpertReviewsLogoType;
4
4
  export default ExpertReviewsLogo;
@@ -1,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- declare type GoWizardLogoType = FunctionComponent;
2
+ type GoWizardLogoType = FunctionComponent;
3
3
  declare const GoWizardLogo: GoWizardLogoType;
4
4
  export default GoWizardLogo;
@@ -1,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- declare type HearClearLogoType = FunctionComponent;
2
+ type HearClearLogoType = FunctionComponent;
3
3
  declare const HearClearLogo: HearClearLogoType;
4
4
  export default HearClearLogo;
@@ -1,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- declare type LasikEyesLogoType = FunctionComponent;
2
+ type LasikEyesLogoType = FunctionComponent;
3
3
  declare const LasikEyesLogo: LasikEyesLogoType;
4
4
  export default LasikEyesLogo;
@@ -1,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- declare type StartUpsLogoType = FunctionComponent;
2
+ type StartUpsLogoType = FunctionComponent;
3
3
  declare const StartUpsLogo: StartUpsLogoType;
4
4
  export default StartUpsLogo;
@@ -1,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- declare type TechCoLogoType = FunctionComponent;
2
+ type TechCoLogoType = FunctionComponent;
3
3
  declare const TechCoLogo: TechCoLogoType;
4
4
  export default TechCoLogo;
@@ -1,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- declare type TheEcoExpertsLogoType = FunctionComponent;
2
+ type TheEcoExpertsLogoType = FunctionComponent;
3
3
  declare const TheEcoExpertsLogo: TheEcoExpertsLogoType;
4
4
  export default TheEcoExpertsLogo;
@@ -1,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- declare type WebsiteBuilderExpertLogoType = FunctionComponent;
2
+ type WebsiteBuilderExpertLogoType = FunctionComponent;
3
3
  declare const WebsiteBuilderExpertLogo: WebsiteBuilderExpertLogoType;
4
4
  export default WebsiteBuilderExpertLogo;
@@ -11,5 +11,5 @@ declare const brandLogos: {
11
11
  lasikEyes: import("react").FunctionComponent<{}>;
12
12
  none: null;
13
13
  };
14
- export declare type IBrandLogos = typeof brandLogos;
14
+ export type IBrandLogos = typeof brandLogos;
15
15
  export default brandLogos;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type CheckboxType = React.FunctionComponent<{
2
+ type CheckboxType = React.FunctionComponent<{
3
3
  isChecked: boolean;
4
4
  }>;
5
5
  declare const CheckboxIcon: CheckboxType;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type RadioType = React.FunctionComponent<{
2
+ type RadioType = React.FunctionComponent<{
3
3
  isChecked: boolean;
4
4
  }>;
5
5
  declare const RadioIcon: RadioType;
@@ -7,5 +7,5 @@ declare const svgs: {
7
7
  truck: string;
8
8
  ringcentral: string;
9
9
  };
10
- export declare type ISvgs = typeof svgs;
10
+ export type ISvgs = typeof svgs;
11
11
  export default svgs;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import IAnimationWrapperProps from './IAnimationWrapperProps';
3
+ declare const AnimationWrapper: React.FC<IAnimationWrapperProps>;
4
+ export default AnimationWrapper;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var jsx_runtime_1 = require("@emotion/react/jsx-runtime");
18
+ /** @jsxImportSource @emotion/react */
19
+ var Box_1 = __importDefault(require("@mui/material/Box"));
20
+ var makeAnimationWrapperStyling_1 = __importDefault(require("./makeAnimationWrapperStyling"));
21
+ var AnimationWrapper = function (_a) {
22
+ var children = _a.children, effect = _a.effect, delay = _a.delay, animationTime = _a.animationTime;
23
+ return ((0, jsx_runtime_1.jsx)(Box_1.default, __assign({ css: (0, makeAnimationWrapperStyling_1.default)({
24
+ effect: effect,
25
+ delay: delay,
26
+ animationTime: animationTime,
27
+ }) }, { children: children })));
28
+ };
29
+ exports.default = AnimationWrapper;
30
+ //# sourceMappingURL=AnimationWrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimationWrapper.js","sourceRoot":"","sources":["../../../../src/Components/Atoms/AnimationWrapper/AnimationWrapper.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,sCAAsC;AACtC,0DAAoC;AACpC,8FAAwE;AAGxE,IAAM,gBAAgB,GAAqC,UAAC,EAK3D;QAJC,QAAQ,cAAA,EACR,MAAM,YAAA,EACN,KAAK,WAAA,EACL,aAAa,mBAAA;IAEb,OAAO,CACL,uBAAC,aAAG,aACF,GAAG,EAAE,IAAA,qCAA2B,EAAC;YAC/B,MAAM,QAAA;YACN,KAAK,OAAA;YACL,aAAa,eAAA;SACd,CAAC,gBAED,QAAQ,IACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,gBAAgB,CAAC"}
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom/extend-expect';
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var jsx_runtime_1 = require("@emotion/react/jsx-runtime");
18
+ /** @jsxImportSource @emotion/react */
19
+ var react_1 = require("@testing-library/react");
20
+ require("@testing-library/jest-dom/extend-expect");
21
+ var AnimationWrapper_1 = __importDefault(require("./AnimationWrapper"));
22
+ describe('AnimationWrapper', function () {
23
+ var childrenText = 'Hello World';
24
+ var children = (0, jsx_runtime_1.jsx)("div", { children: childrenText });
25
+ it('renders the children correctly', function () {
26
+ var getByText = (0, react_1.render)((0, jsx_runtime_1.jsx)(AnimationWrapper_1.default, __assign({ effect: "fadeIn", delay: 0, animationTime: 400 }, { children: children }))).getByText;
27
+ expect(getByText(childrenText)).toBeInTheDocument();
28
+ });
29
+ it('applies the correct CSS styles for fadeIn effect', function () {
30
+ var container = (0, react_1.render)((0, jsx_runtime_1.jsx)(AnimationWrapper_1.default, __assign({ effect: "fadeIn", delay: 0, animationTime: 400 }, { children: children }))).container;
31
+ expect(container.firstChild).toHaveStyle('opacity: 0');
32
+ expect(container.firstChild).toHaveStyle('animation: fadeIn 400ms ease-in-out 0ms forwards');
33
+ });
34
+ it('applies the correct CSS styles for fadeInUp effect', function () {
35
+ var container = (0, react_1.render)((0, jsx_runtime_1.jsx)(AnimationWrapper_1.default, __assign({ effect: "fadeInUp", delay: 0, animationTime: 400 }, { children: children }))).container;
36
+ expect(container.firstChild).toHaveStyle('opacity: 0');
37
+ expect(container.firstChild).toHaveStyle('transform: translateY(20px)');
38
+ expect(container.firstChild).toHaveStyle('animation: fadeInUp 400ms ease-in-out 0ms forwards');
39
+ });
40
+ it('applies the correct CSS styles for fadeInDown effect', function () {
41
+ var container = (0, react_1.render)((0, jsx_runtime_1.jsx)(AnimationWrapper_1.default, __assign({ effect: "fadeInDown", delay: 0, animationTime: 400 }, { children: children }))).container;
42
+ expect(container.firstChild).toHaveStyle('opacity: 0');
43
+ expect(container.firstChild).toHaveStyle('transform: translateY(-20px)');
44
+ expect(container.firstChild).toHaveStyle('animation: fadeInDown 400ms ease-in-out 0ms forwards');
45
+ });
46
+ it('applies the correct CSS styles for fadeInLeft effect', function () {
47
+ var container = (0, react_1.render)((0, jsx_runtime_1.jsx)(AnimationWrapper_1.default, __assign({ effect: "fadeInLeft", delay: 0, animationTime: 400 }, { children: children }))).container;
48
+ expect(container.firstChild).toHaveStyle('opacity: 0');
49
+ expect(container.firstChild).toHaveStyle('transform: translateX(-20px)');
50
+ expect(container.firstChild).toHaveStyle('animation: fadeInLeft 400ms ease-in-out 0ms forwards');
51
+ });
52
+ it('applies the correct CSS styles for fadeInRight effect', function () {
53
+ var container = (0, react_1.render)((0, jsx_runtime_1.jsx)(AnimationWrapper_1.default, __assign({ effect: "fadeInRight", delay: 50, animationTime: 600 }, { children: children }))).container;
54
+ expect(container.firstChild).toHaveStyle('opacity: 0');
55
+ expect(container.firstChild).toHaveStyle('transform: translateX(20px)');
56
+ expect(container.firstChild).toHaveStyle('animation: fadeInRight 600ms ease-in-out 50ms forwards');
57
+ });
58
+ });
59
+ //# sourceMappingURL=AnimationWrapper.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimationWrapper.test.js","sourceRoot":"","sources":["../../../../src/Components/Atoms/AnimationWrapper/AnimationWrapper.test.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,sCAAsC;AACtC,gDAAgD;AAChD,mDAAiD;AACjD,wEAAkD;AAElD,QAAQ,CAAC,kBAAkB,EAAE;IAC3B,IAAM,YAAY,GAAG,aAAa,CAAC;IACnC,IAAM,QAAQ,GAAG,0CAAM,YAAY,GAAO,CAAC;IAE3C,EAAE,CAAC,gCAAgC,EAAE;Q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,CAAC,CAAC,WAAW,CACtC,wDAAwD,CACzD,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ type AnimationWrapperStoryType = React.FunctionComponent<{
3
+ effect: 'fadeIn' | 'fadeInUp' | 'fadeInDown' | 'fadeInLeft' | 'fadeInRight';
4
+ delay: number;
5
+ animationTime: number;
6
+ }>;
7
+ declare const AnimationWrapperStory: AnimationWrapperStoryType;
8
+ export default AnimationWrapperStory;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var jsx_runtime_1 = require("@emotion/react/jsx-runtime");
18
+ var InfoPanel_1 = __importDefault(require("../InfoPanel"));
19
+ var AnimationWrapper_1 = __importDefault(require("./AnimationWrapper"));
20
+ var AnimationWrapperStory = function (_a) {
21
+ var effect = _a.effect, delay = _a.delay, animationTime = _a.animationTime;
22
+ return ((0, jsx_runtime_1.jsx)(AnimationWrapper_1.default, __assign({ effect: effect, delay: delay, animationTime: animationTime }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ style: { maxWidth: '460px', height: '55px' } }, { children: (0, jsx_runtime_1.jsx)(InfoPanel_1.default, __assign({ title: "I'm a hint component animating in" }, { children: (0, jsx_runtime_1.jsx)("div", { children: 'But I can be anything' }) })) })) })));
23
+ };
24
+ exports.default = AnimationWrapperStory;
25
+ //# sourceMappingURL=AnimationWrapperStory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimationWrapperStory.js","sourceRoot":"","sources":["../../../../src/Components/Atoms/AnimationWrapper/AnimationWrapperStory.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,2DAAqC;AACrC,wEAAkD;AAQlD,IAAM,qBAAqB,GAA8B,UAAC,EAIzD;QAHC,MAAM,YAAA,EACN,KAAK,WAAA,EACL,aAAa,mBAAA;IAEb,OAAO,CACL,uBAAC,0BAAgB,aACf,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,aAAa,gBAE5B,yCAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,gBAC/C,uBAAC,mBAAS,aAAC,KAAK,EAAE,mCAAmC,gBACnD,0CAAM,uBAAuB,GAAO,IAC1B,IACR,IACW,CACpB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,qBAAqB,CAAC"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface IAnimationWrapperProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ effect: 'fadeIn' | 'fadeInUp' | 'fadeInDown' | 'fadeInLeft' | 'fadeInRight';
4
+ delay: number;
5
+ animationTime: number;
6
+ children: React.ReactNode;
7
+ }
8
+ export default IAnimationWrapperProps;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IAnimationWrapperProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAnimationWrapperProps.js","sourceRoot":"","sources":["../../../../src/Components/Atoms/AnimationWrapper/IAnimationWrapperProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export { default } from './AnimationWrapper';
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var AnimationWrapper_1 = require("./AnimationWrapper");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(AnimationWrapper_1).default; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/Atoms/AnimationWrapper/index.ts"],"names":[],"mappings":";;;;;;AAAA,uDAA6C;AAApC,4HAAA,OAAO,OAAA"}
@@ -0,0 +1,6 @@
1
+ declare const makeAnimationWrapperStyling: ({ effect, delay, animationTime, }: {
2
+ effect?: string | undefined;
3
+ delay?: number | undefined;
4
+ animationTime?: number | undefined;
5
+ }) => import("@emotion/utils").SerializedStyles;
6
+ export default makeAnimationWrapperStyling;
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var react_1 = require("@emotion/react");
4
+ var makeAnimationWrapperStyling = function (_a) {
5
+ var _b = _a.effect, effect = _b === void 0 ? 'fadeIn' : _b, _c = _a.delay, delay = _c === void 0 ? 1200 : _c, _d = _a.animationTime, animationTime = _d === void 0 ? 400 : _d;
6
+ switch (effect) {
7
+ case 'fadeIn':
8
+ return (0, react_1.css)({
9
+ opacity: 0,
10
+ animation: "fadeIn ".concat(animationTime, "ms ease-in-out ").concat(delay, "ms forwards"),
11
+ '@keyframes fadeIn': {
12
+ from: {
13
+ opacity: 0,
14
+ },
15
+ to: {
16
+ opacity: 1,
17
+ },
18
+ },
19
+ });
20
+ case 'fadeInUp':
21
+ return (0, react_1.css)({
22
+ opacity: 0,
23
+ transform: 'translateY(20px)',
24
+ animation: "fadeInUp ".concat(animationTime, "ms ease-in-out ").concat(delay, "ms forwards"),
25
+ '@keyframes fadeInUp': {
26
+ from: {
27
+ opacity: 0,
28
+ transform: 'translateY(20px)',
29
+ },
30
+ to: {
31
+ opacity: 1,
32
+ transform: 'translateY(0)',
33
+ },
34
+ },
35
+ });
36
+ case 'fadeInDown':
37
+ return (0, react_1.css)({
38
+ opacity: 0,
39
+ transform: 'translateY(-20px)',
40
+ animation: "fadeInDown ".concat(animationTime, "ms ease-in-out ").concat(delay, "ms forwards"),
41
+ '@keyframes fadeInDown': {
42
+ from: {
43
+ opacity: 0,
44
+ transform: 'translateY(-20px)',
45
+ },
46
+ to: {
47
+ opacity: 1,
48
+ transform: 'translateY(0)',
49
+ },
50
+ },
51
+ });
52
+ case 'fadeInLeft':
53
+ return (0, react_1.css)({
54
+ opacity: 0,
55
+ transform: 'translateX(-20px)',
56
+ animation: "fadeInLeft ".concat(animationTime, "ms ease-in-out ").concat(delay, "ms forwards"),
57
+ '@keyframes fadeInLeft': {
58
+ from: {
59
+ opacity: 0,
60
+ transform: 'translateX(-20px)',
61
+ },
62
+ to: {
63
+ opacity: 1,
64
+ transform: 'translateX(0)',
65
+ },
66
+ },
67
+ });
68
+ case 'fadeInRight':
69
+ return (0, react_1.css)({
70
+ opacity: 0,
71
+ transform: 'translateX(20px)',
72
+ animation: "fadeInRight ".concat(animationTime, "ms ease-in-out ").concat(delay, "ms forwards"),
73
+ '@keyframes fadeInRight': {
74
+ from: {
75
+ opacity: 0,
76
+ transform: 'translateX(20px)',
77
+ },
78
+ to: {
79
+ opacity: 1,
80
+ transform: 'translateX(0)',
81
+ },
82
+ },
83
+ });
84
+ case 'fadeInRight':
85
+ return (0, react_1.css)({
86
+ opacity: 0,
87
+ transform: 'translateX(20px)',
88
+ animation: "fadeInRight ".concat(animationTime, "ms ease-in-out ").concat(delay, "ms forwards"),
89
+ '@keyframes fadeInRight': {
90
+ from: {
91
+ opacity: 0,
92
+ transform: 'translateX(20px)',
93
+ },
94
+ to: {
95
+ opacity: 1,
96
+ transform: 'translateX(0)',
97
+ },
98
+ },
99
+ });
100
+ default:
101
+ return (0, react_1.css)({
102
+ opacity: 0,
103
+ animation: "fadeIn ".concat(animationTime, "ms ease-in-out ").concat(delay, "ms forwards"),
104
+ '@keyframes fadeIn': {
105
+ from: {
106
+ opacity: 0,
107
+ },
108
+ to: {
109
+ opacity: 1,
110
+ },
111
+ },
112
+ });
113
+ }
114
+ };
115
+ exports.default = makeAnimationWrapperStyling;
116
+ //# sourceMappingURL=makeAnimationWrapperStyling.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"makeAnimationWrapperStyling.js","sourceRoot":"","sources":["../../../../src/Components/Atoms/AnimationWrapper/makeAnimationWrapperStyling.ts"],"names":[],"mappings":";;AAAA,wCAAqC;AAErC,IAAM,2BAA2B,GAAG,UAAC,EAIpC;QAHC,cAAiB,EAAjB,MAAM,mBAAG,QAAQ,KAAA,EACjB,aAAY,EAAZ,KAAK,mBAAG,IAAI,KAAA,EACZ,qBAAmB,EAAnB,aAAa,mBAAG,GAAG,KAAA;IAEnB,QAAQ,MAAM,EAAE;QACd,KAAK,QAAQ;YACX,OAAO,IAAA,WAAG,EAAC;gBACT,OAAO,EAAE,CAAC;gBACV,SAAS,EAAE,iBAAU,aAAa,4BAAkB,KAAK,gBAAa;gBACtE,mBAAmB,EAAE;oBACnB,IAAI,EAAE;wBACJ,OAAO,EAAE,CAAC;qBACX;oBACD,EAAE,EAAE;wBACF,OAAO,EAAE,CAAC;qBACX;iBACF;aACF,CAAC,CAAC;QACL,KAAK,UAAU;YACb,OAAO,IAAA,WAAG,EAAC;gBACT,OAAO,EAAE,CAAC;gBACV,SAAS,EAAE,kBAAkB;gBAC7B,SAAS,EAAE,mBAAY,aAAa,4BAAkB,KAAK,gBAAa;gBACxE,qBAAqB,EAAE;oBACrB,IAAI,EAAE;wBACJ,OAAO,EAAE,CAAC;wBACV,SAAS,EAAE,kBAAkB;qBAC9B;oBACD,EAAE,EAAE;wBACF,OAAO,EAAE,CAAC;wBACV,SAAS,EAAE,eAAe;qBAC3B;iBACF;aACF,CAAC,CAAC;QACL,KAAK,YAAY;YACf,OAAO,IAAA,WAAG,EAAC;gBACT,OAAO,EAAE,CAAC;gBACV,SAAS,EAAE,mBAAmB;gBAC9B,SAAS,EAAE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AAC;wBACV,SAAS,EAAE,eAAe;qBAC3B;iBACF;aACF,CAAC,CAAC;QACL;YACE,OAAO,IAAA,WAAG,EAAC;gBACT,OAAO,EAAE,CAAC;gBACV,SAAS,EAAE,iBAAU,aAAa,4BAAkB,KAAK,gBAAa;gBACtE,mBAAmB,EAAE;oBACnB,IAAI,EAAE;wBACJ,OAAO,EAAE,CAAC;qBACX;oBACD,EAAE,EAAE;wBACF,OAAO,EAAE,CAAC;qBACX;iBACF;aACF,CAAC,CAAC;KACN;AACH,CAAC,CAAC;AAEF,kBAAe,2BAA2B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import defaultProps from './defaultProps';
3
3
  import IButtonProps from './IButtonProps';
4
- declare type ButtonType = FunctionComponentWithDefaultProps<IButtonProps, typeof defaultProps>;
4
+ type ButtonType = FunctionComponentWithDefaultProps<IButtonProps, typeof defaultProps>;
5
5
  declare const Button: ButtonType;
6
6
  export default Button;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type ButtonStoryType = React.FunctionComponent<{
2
+ type ButtonStoryType = React.FunctionComponent<{
3
3
  disabled: boolean;
4
4
  label: string;
5
5
  loading: boolean;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
2
2
  import ICardButtonProps from './ICardButtonProps';
3
3
  import defaultProps from './defaultProps';
4
- declare type CardButtonType = FunctionComponentWithDefaultProps<ICardButtonProps, typeof defaultProps>;
4
+ type CardButtonType = FunctionComponentWithDefaultProps<ICardButtonProps, typeof defaultProps>;
5
5
  declare const CardButton: CardButtonType;
6
6
  export default CardButton;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type CardButtonStoryType = React.FunctionComponent<{
2
+ type CardButtonStoryType = React.FunctionComponent<{
3
3
  error: boolean;
4
4
  }>;
5
5
  declare const CardButtonStory: CardButtonStoryType;
@@ -1,5 +1,5 @@
1
1
  /** @jsxImportSource @emotion/react */
2
2
  import { FunctionComponent } from 'react';
3
- declare type ErrorMessageType = FunctionComponent;
3
+ type ErrorMessageType = FunctionComponent;
4
4
  declare const ErrorMessage: ErrorMessageType;
5
5
  export default ErrorMessage;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type ErrorMessageStoryType = React.FunctionComponent<{
2
+ type ErrorMessageStoryType = React.FunctionComponent<{
3
3
  error: boolean;
4
4
  errorMessage: string;
5
5
  }>;
@@ -1,13 +1,13 @@
1
1
  import * as React from 'react';
2
- declare type ErrorMessageProviderProps = {
2
+ type ErrorMessageProviderProps = {
3
3
  errorMessage: string | undefined;
4
4
  };
5
- declare type ErrorMessageProviderType = React.FunctionComponent<{
5
+ type ErrorMessageProviderType = React.FunctionComponent<{
6
6
  children: React.ReactNode;
7
7
  errorMessage?: string;
8
8
  }>;
9
9
  declare const ErrorMessageProvider: ErrorMessageProviderType;
10
- declare type UseErrorMessageProps = {
10
+ type UseErrorMessageProps = {
11
11
  isErrorMessageProviderRequired: boolean;
12
12
  };
13
13
  declare const useErrorMessage: (props?: UseErrorMessageProps) => ErrorMessageProviderProps;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import defaultProps from './defaultProps';
3
3
  import IFormControlProps from './IFormControlProps';
4
- declare type FormControlType = FunctionComponentWithDefaultProps<IFormControlProps, typeof defaultProps>;
4
+ type FormControlType = FunctionComponentWithDefaultProps<IFormControlProps, typeof defaultProps>;
5
5
  declare const FormControl: FormControlType;
6
6
  export default FormControl;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type StoryType = React.FunctionComponent<{
2
+ type StoryType = React.FunctionComponent<{
3
3
  error: boolean;
4
4
  parentContainerWidth: number;
5
5
  }>;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
2
2
  import IComponentProps from './IComponentProps';
3
3
  import defaultProps from './defaultProps';
4
- export declare type IconButtonType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ export type IconButtonType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const IconButton: IconButtonType;
6
6
  export default IconButton;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { IIcons } from '../../../Helpers/icons';
3
- declare type ButtonStartIconStoryType = React.FunctionComponent<{
3
+ type ButtonStartIconStoryType = React.FunctionComponent<{
4
4
  disabled: boolean;
5
5
  iconType: keyof IIcons;
6
6
  children: React.ReactNode;
@@ -2,6 +2,6 @@
2
2
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
3
3
  import defaultProps from './defaultProps';
4
4
  import IInfoPanelProps from './IInfoPanelProps';
5
- declare type InfoPanelType = FunctionComponentWithDefaultProps<IInfoPanelProps, typeof defaultProps>;
5
+ type InfoPanelType = FunctionComponentWithDefaultProps<IInfoPanelProps, typeof defaultProps>;
6
6
  declare const InfoPanel: InfoPanelType;
7
7
  export default InfoPanel;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ISvgs } from '../../../Assets/svgs/svgs';
3
- declare type InfoPanelType = React.FunctionComponent<{
3
+ type InfoPanelType = React.FunctionComponent<{
4
4
  title?: string;
5
5
  iconType?: keyof ISvgs;
6
6
  content: React.ReactNode;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import defaultProps from './defaultProps';
3
3
  import IInputProps from './IInputProps';
4
- declare type InputType = FunctionComponentWithDefaultProps<IInputProps, typeof defaultProps>;
4
+ type InputType = FunctionComponentWithDefaultProps<IInputProps, typeof defaultProps>;
5
5
  declare const Input: InputType;
6
6
  export default Input;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type StoryType = React.FunctionComponent<{
2
+ type StoryType = React.FunctionComponent<{
3
3
  disabled: boolean;
4
4
  error: boolean;
5
5
  iconType: 'none' | 'person' | 'zipcode' | 'phone' | 'email' | 'company' | 'state';
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import defaultProps from './defaultProps';
3
3
  import IInputLabelProps from './IInputLabelProps';
4
- declare type InputLabelType = FunctionComponentWithDefaultProps<IInputLabelProps, typeof defaultProps>;
4
+ type InputLabelType = FunctionComponentWithDefaultProps<IInputLabelProps, typeof defaultProps>;
5
5
  declare const InputLabel: InputLabelType;
6
6
  export default InputLabel;
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
- declare type StoryType = React.FunctionComponent;
2
+ type StoryType = React.FunctionComponent;
3
3
  declare const FormControlStory: StoryType;
4
4
  export default FormControlStory;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import defaultProps from './defaultProps';
3
3
  import ILinkProps from './ILinkProps';
4
- declare type LinkType = FunctionComponentWithDefaultProps<ILinkProps, typeof defaultProps>;
4
+ type LinkType = FunctionComponentWithDefaultProps<ILinkProps, typeof defaultProps>;
5
5
  declare const Link: LinkType;
6
6
  export default Link;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type LinkType = React.FunctionComponent<{
2
+ type LinkType = React.FunctionComponent<{
3
3
  children: string;
4
4
  variant: 'button' | 'text';
5
5
  }>;
@@ -1,6 +1,6 @@
1
1
  /** @jsxImportSource @emotion/react */
2
2
  import { FunctionComponent } from 'react';
3
3
  import IComponentProps from './IComponentProps';
4
- declare type LoadingIndicatorType = FunctionComponent<IComponentProps>;
4
+ type LoadingIndicatorType = FunctionComponent<IComponentProps>;
5
5
  declare const LoadingIndicator: LoadingIndicatorType;
6
6
  export default LoadingIndicator;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import IModalProps from './IModalProps';
3
- declare type ModalType = React.FunctionComponent<IModalProps>;
3
+ type ModalType = React.FunctionComponent<IModalProps>;
4
4
  declare const Modal: ModalType;
5
5
  export default Modal;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type ModalStoryType = React.FunctionComponent<{
2
+ type ModalStoryType = React.FunctionComponent<{
3
3
  linkVariant: 'text' | 'button';
4
4
  children: React.ReactNode;
5
5
  }>;