@mvf/external-components 1.27.2 → 1.27.4

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 (84) hide show
  1. package/Applications/Chameleon/CheckBoxQuestionSection/CheckBoxQuestionSectionStory.d.ts +1 -1
  2. package/Applications/Chameleon/IconTileRadioButtonQuestionSection/IconTileRadioButtonQuestionSectionStory.d.ts +1 -1
  3. package/Applications/Chameleon/RadioQuestionSection/RadioQuestionSectionStory.d.ts +1 -1
  4. package/Applications/Chameleon/TextFieldQuestionSection/TextFieldQuestionSectionStory.d.ts +1 -1
  5. package/Applications/Chameleon/ThankYouSection/ThankYouSectionStory.d.ts +1 -1
  6. package/Assets/BrandLogos/ExpertMarketLogo.d.ts +1 -1
  7. package/Assets/BrandLogos/GoWizardLogo.d.ts +1 -1
  8. package/Assets/BrandLogos/HearClearLogo.d.ts +1 -1
  9. package/Assets/BrandLogos/LasikEyesLogo.d.ts +1 -1
  10. package/Assets/BrandLogos/StartupsLogo.d.ts +1 -1
  11. package/Assets/BrandLogos/TechcoLogo.d.ts +1 -1
  12. package/Assets/BrandLogos/TheEcoExpertsLogo.d.ts +1 -1
  13. package/Assets/BrandLogos/WebsiteBuilderExpertLogo.d.ts +1 -1
  14. package/Assets/BrandLogos/brandLogos.d.ts +1 -1
  15. package/Assets/svgs/svgs.d.ts +1 -1
  16. package/Components/Atoms/Button/Button.d.ts +1 -1
  17. package/Components/Atoms/Button/ButtonStory.d.ts +1 -1
  18. package/Components/Atoms/CardButton/CardButton.d.ts +1 -1
  19. package/Components/Atoms/CardButton/CardButtonStory.d.ts +1 -1
  20. package/Components/Atoms/ErrorMessage/ErrorMessage.d.ts +1 -1
  21. package/Components/Atoms/ErrorMessage/ErrorMessageStory.d.ts +1 -1
  22. package/Components/Atoms/ErrorMessageProvider/ErrorMessageProvider.d.ts +3 -3
  23. package/Components/Atoms/IFrameWrapper/IFrameWrapper.d.ts +1 -1
  24. package/Components/Atoms/IconButton/IconButton.d.ts +1 -1
  25. package/Components/Atoms/IconButton/IconButtonStory.d.ts +1 -1
  26. package/Components/Atoms/Link/Link.d.ts +1 -1
  27. package/Components/Atoms/Link/LinkStory.d.ts +1 -1
  28. package/Components/Atoms/LoadingIndicator/LoadingIndicator.d.ts +1 -1
  29. package/Components/Atoms/Modal/Modal.d.ts +1 -1
  30. package/Components/Atoms/Modal/ModalStory.d.ts +1 -1
  31. package/Components/Atoms/ProgressBar/ProgressBar.d.ts +1 -1
  32. package/Components/Atoms/ProgressBar/ProgressBarStory.d.ts +1 -1
  33. package/Components/Atoms/Text/Text.d.ts +1 -1
  34. package/Components/Atoms/Text/TextStory.d.ts +1 -1
  35. package/Components/Atoms/TextField/TextField.d.ts +1 -1
  36. package/Components/Atoms/TextField/TextFieldStory.d.ts +1 -1
  37. package/Components/Atoms/TextField/useTextFieldStyles.js +2 -0
  38. package/Components/Atoms/TextField/useTextFieldStyles.js.map +1 -1
  39. package/Components/Molecules/CheckBox/CheckBox.d.ts +1 -1
  40. package/Components/Molecules/CheckBox/CheckBox.test.js +1 -1
  41. package/Components/Molecules/CheckBox/CheckBoxStory.d.ts +1 -1
  42. package/Components/Molecules/DatePicker/DatePicker.d.ts +1 -1
  43. package/Components/Molecules/DatePicker/DatePickerStory.d.ts +1 -1
  44. package/Components/Molecules/DropDownSelect/DropDownSelect.d.ts +1 -1
  45. package/Components/Molecules/DropDownSelect/DropDownSelect.js +4 -5
  46. package/Components/Molecules/DropDownSelect/DropDownSelect.js.map +1 -1
  47. package/Components/Molecules/DropDownSelect/DropDownSelect.test.js +3 -3
  48. package/Components/Molecules/DropDownSelect/DropDownSelect.test.js.map +1 -1
  49. package/Components/Molecules/DropDownSelect/DropDownSelectStory.d.ts +1 -1
  50. package/Components/Molecules/DropDownSelect/useDropDownSelectStyles.d.ts +1 -0
  51. package/Components/Molecules/DropDownSelect/useDropDownSelectStyles.js +17 -6
  52. package/Components/Molecules/DropDownSelect/useDropDownSelectStyles.js.map +1 -1
  53. package/Components/Molecules/IconTileCheckBox/IconTileCheckBox.d.ts +1 -1
  54. package/Components/Molecules/IconTileCheckBox/IconTileCheckBox.test.js +1 -1
  55. package/Components/Molecules/IconTileCheckBox/IconTileCheckBoxStory.d.ts +1 -1
  56. package/Components/Molecules/IconTileRadioButton/IconTileRadioButton.d.ts +1 -1
  57. package/Components/Molecules/IconTileRadioButton/IconTileRadioButtonStory.d.ts +1 -1
  58. package/Components/Molecules/NavBar/NavBar.d.ts +1 -1
  59. package/Components/Molecules/NavBar/NavBarStory.d.ts +1 -1
  60. package/Components/Molecules/PhoneNumberTextField/PhoneNumberTextField.d.ts +1 -1
  61. package/Components/Molecules/PhoneNumberTextField/PhoneNumberTextFieldStory.d.ts +1 -1
  62. package/Components/Molecules/PhoneNumberTextField/usePhoneNumberTextFieldStyles.js +3 -1
  63. package/Components/Molecules/PhoneNumberTextField/usePhoneNumberTextFieldStyles.js.map +1 -1
  64. package/Components/Molecules/RadioButton/RadioButton.d.ts +1 -1
  65. package/Components/Molecules/RadioButton/RadioButtonStory.d.ts +1 -1
  66. package/Components/Molecules/ScrollArea/ScrollArea.d.ts +1 -1
  67. package/Components/Molecules/ScrollArea/ScrollAreaStory.d.ts +1 -1
  68. package/Components/Molecules/ThankYouBanner/ThankYouBanner.d.ts +1 -1
  69. package/Components/Molecules/ThankYouBanner/ThankYouBannerStory.d.ts +1 -1
  70. package/Components/Organisms/ListLayout/ListLayout.d.ts +1 -1
  71. package/Components/Organisms/ListLayout/ListLayoutStory.d.ts +1 -1
  72. package/Components/Organisms/RadioGroup/RadioGroup.d.ts +1 -1
  73. package/Components/Organisms/RadioGroup/RadioGroup.test.js +1 -1
  74. package/Components/Organisms/RadioGroup/RadioGroupContext.d.ts +1 -1
  75. package/Components/Organisms/RadioGroup/RadioGroupStory.d.ts +1 -1
  76. package/Components/Organisms/TileLayout/TileLayout.d.ts +1 -1
  77. package/Components/Organisms/TileLayout/TileLayoutStory.d.ts +1 -1
  78. package/Helpers/React/FunctionComponentWithDefaultProps.d.ts +1 -1
  79. package/Helpers/React/css.d.ts +1 -1
  80. package/Helpers/icons.d.ts +1 -1
  81. package/Helpers/useThrottle.d.ts +1 -1
  82. package/Themes/StoryThemeWrapper.d.ts +1 -1
  83. package/Themes/themes.d.ts +2 -2
  84. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import ICheckBoxQuestionSectionStoryProps from './ICheckBoxQuestionSectionStoryProps';
3
- declare type CheckBoxQuestionSectionStoryType = FunctionComponent<ICheckBoxQuestionSectionStoryProps>;
3
+ type CheckBoxQuestionSectionStoryType = FunctionComponent<ICheckBoxQuestionSectionStoryProps>;
4
4
  declare const CheckBoxQuestionSectionStory: CheckBoxQuestionSectionStoryType;
5
5
  export default CheckBoxQuestionSectionStory;
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import IIconTileRadioButtonQuestionSectionStoryProps from './IIconTileRadioButtonQuestionSectionStoryProps';
3
- declare type IconTileRadioButtonQuestionSectionStoryType = FunctionComponent<IIconTileRadioButtonQuestionSectionStoryProps>;
3
+ type IconTileRadioButtonQuestionSectionStoryType = FunctionComponent<IIconTileRadioButtonQuestionSectionStoryProps>;
4
4
  declare const IconTileRadioButtonQuestionSectionStory: IconTileRadioButtonQuestionSectionStoryType;
5
5
  export default IconTileRadioButtonQuestionSectionStory;
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import IRadioIconQuestionSectionStoryProps from './IRadioQuestionSectionStoryProps';
3
- declare type RadioIconQuestionSectionStoryType = FunctionComponent<IRadioIconQuestionSectionStoryProps>;
3
+ type RadioIconQuestionSectionStoryType = FunctionComponent<IRadioIconQuestionSectionStoryProps>;
4
4
  declare const RadioIconQuestionSectionStory: RadioIconQuestionSectionStoryType;
5
5
  export default RadioIconQuestionSectionStory;
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import ITextFieldQuestionSectionStoryProps from './ITextFieldQuestionSectionStoryProps';
3
- declare type TextFieldQuestionSectionStoryType = FunctionComponent<ITextFieldQuestionSectionStoryProps>;
3
+ type TextFieldQuestionSectionStoryType = FunctionComponent<ITextFieldQuestionSectionStoryProps>;
4
4
  declare const TextFieldQuestionSectionStory: TextFieldQuestionSectionStoryType;
5
5
  export default TextFieldQuestionSectionStory;
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import IThankYouSectionStoryProps from './IThankYouSectionStoryProps';
3
- declare type ThankYouSectionStoryType = FunctionComponent<IThankYouSectionStoryProps>;
3
+ type ThankYouSectionStoryType = FunctionComponent<IThankYouSectionStoryProps>;
4
4
  declare const ThankYouSectionStory: ThankYouSectionStoryType;
5
5
  export default ThankYouSectionStory;
@@ -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 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;
@@ -9,5 +9,5 @@ declare const brandLogos: {
9
9
  hearClear: import("react").FunctionComponent<{}>;
10
10
  lasikEyes: import("react").FunctionComponent<{}>;
11
11
  };
12
- export declare type IBrandLogos = typeof brandLogos;
12
+ export type IBrandLogos = typeof brandLogos;
13
13
  export default brandLogos;
@@ -5,5 +5,5 @@ declare const svgs: {
5
5
  motorcycle: string;
6
6
  truck: string;
7
7
  };
8
- export declare type ISvgs = typeof svgs;
8
+ export type ISvgs = typeof svgs;
9
9
  export default svgs;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from 'Helpers/React';
2
2
  import IButtonProps from './IButtonProps';
3
3
  import defaultProps from './defaultProps';
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
  variant: 'outlined' | 'contained';
@@ -1,6 +1,6 @@
1
1
  import defaultProps from './defaultProps';
2
2
  import ICardButtonProps from './ICardButtonProps';
3
3
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
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,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- declare type ErrorMessageType = FunctionComponent;
2
+ type ErrorMessageType = FunctionComponent;
3
3
  declare const ErrorMessage: ErrorMessageType;
4
4
  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,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import IIFrameWrapperProps from './IIFrameWrapperProps';
3
- declare type IFrameWrapperType = FunctionComponent<IIFrameWrapperProps>;
3
+ type IFrameWrapperType = FunctionComponent<IIFrameWrapperProps>;
4
4
  declare const IFrameWrapper: IFrameWrapperType;
5
5
  export default IFrameWrapper;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
2
2
  import defaultProps from './defaultProps';
3
3
  import IComponentProps from './IComponentProps';
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;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from 'Helpers/React';
2
2
  import ILinkProps from './ILinkProps';
3
3
  import defaultProps from './defaultProps';
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,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import IComponentProps from './IComponentProps';
3
- declare type LoadingIndicatorType = FunctionComponent<IComponentProps>;
3
+ type LoadingIndicatorType = FunctionComponent<IComponentProps>;
4
4
  declare const LoadingIndicator: LoadingIndicatorType;
5
5
  export default LoadingIndicator;
@@ -1,5 +1,5 @@
1
1
  import React from '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
  import * as React from 'react';
2
- declare type ModalStoryType = React.FunctionComponent<{
2
+ type ModalStoryType = React.FunctionComponent<{
3
3
  linkVariant: 'text' | 'button';
4
4
  children: React.ReactNode;
5
5
  }>;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import IComponentProps from './IComponentProps';
3
3
  import defaultProps from './defaultProps';
4
- declare type ProgressBarType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ type ProgressBarType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const ProgressBar: ProgressBarType;
6
6
  export default ProgressBar;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type ProgressBarStoryType = React.FunctionComponent<{
2
+ type ProgressBarStoryType = React.FunctionComponent<{
3
3
  progress: number;
4
4
  text: string;
5
5
  }>;
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import ITextProps from './ITextProps';
3
- declare type TextType = FunctionComponent<ITextProps>;
3
+ type TextType = FunctionComponent<ITextProps>;
4
4
  declare const Text: TextType;
5
5
  export default Text;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type TextStoryType = React.FunctionComponent<{
2
+ type TextStoryType = React.FunctionComponent<{
3
3
  text: string;
4
4
  variant: 'header' | 'note' | 'summary' | 'question' | 'text' | 'footer';
5
5
  }>;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import defaultProps from './defaultProps';
3
3
  import ITextFieldProps from './ITextFieldProps';
4
- declare type TextFieldType = FunctionComponentWithDefaultProps<ITextFieldProps, typeof defaultProps>;
4
+ type TextFieldType = FunctionComponentWithDefaultProps<ITextFieldProps, typeof defaultProps>;
5
5
  declare const TextField: TextFieldType;
6
6
  export default TextField;
@@ -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
  errorMessage: string;
5
5
  iconType: 'none' | 'person' | 'zipcode' | 'phone' | 'email' | 'company' | 'state';
@@ -39,6 +39,8 @@ var useTextFieldStyles = (0, styles_1.makeStyles)(function (theme) {
39
39
  backgroundColor: isSafari
40
40
  ? 'rgb(250, 255, 189)'
41
41
  : 'rgb(232, 240, 254)',
42
+ paddingTop: theme.mvf.spacing.moderate,
43
+ paddingBottom: theme.mvf.spacing.smedium,
42
44
  },
43
45
  '& .MuiFilledInput-root': {
44
46
  backgroundColor: isSafari
@@ -1 +1 @@
1
- {"version":3,"file":"useTextFieldStyles.js","sourceRoot":"","sources":["../../../../src/Components/Atoms/TextField/useTextFieldStyles.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,8CAA+D;AAW/D,IAAM,kBAAkB,GAAG,IAAA,mBAAU,EAA+B,UAAC,KAAK;IACxE,OAAA,IAAA,qBAAY,EAAC;QACX,SAAS,EAAE,UAAC,EAAsD;gBAApD,oBAAoB,0BAAA,EAAE,QAAQ,cAAA,EAAE,kBAAkB,wBAAA;YAAO,OAAA,uCACrE,wBAAwB,EAAE;oBACxB,eAAe,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK;iBACpD,IACE,CAAC,oBAAoB,IAAI;gBAC1B,yBAAyB,EAAE;oBACzB,aAAa,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ;oBACzC,gBAAgB,EAAE,KAAK,CAAC,GAAG,CAAC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;iBACnC,EACD,gBAAgB,EAAE;oBAChB,SAAS,EAAE,MAAM;oBACjB,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ;oBACvC,SAAS,EAAE;wBACT,SAAS,EAAE,MAAM;wBACjB,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ;qBACxC;oBACD,oBAAoB,EAAE;wBACpB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ;qBAClC;iBACF,IACE,CAAC,OAAO,IAAI;gBACb,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK;gBACpC,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK;gBACpC,SAAS,EAAE;oBACT,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK;oBACpC,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK;iBACrC;gBACD,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK;iBAC/B;aACF,CAAC,GACC,CAAC,OAAO,IAAI;gBACb,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO;gBACtC,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;gBAC3C,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;iBACtC;aACF,CAAC,EACF;QA3CkC,CA2ClC;KACH,CAAC;AAlHF,CAkHE,CACH,CAAC;AAEF,kBAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"useTextFieldStyles.js","sourceRoot":"","sources":["../../../../src/Components/Atoms/TextField/useTextFieldStyles.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,8CAA+D;AAW/D,IAAM,kBAAkB,GAAG,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OAAO,CAAC,KAAK;iBAC/B;aACF,CAAC,GACC,CAAC,OAAO,IAAI;gBACb,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO;gBACtC,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;gBAC3C,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;iBACtC;aACF,CAAC,EACF;QA3CkC,CA2ClC;KACH,CAAC;AApHF,CAoHE,CACH,CAAC;AAEF,kBAAe,kBAAkB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import defaultProps from './defaultProps';
2
2
  import ICheckboxProps from './ICheckboxProps';
3
3
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
4
- declare type CheckBoxType = FunctionComponentWithDefaultProps<ICheckboxProps, typeof defaultProps>;
4
+ type CheckBoxType = FunctionComponentWithDefaultProps<ICheckboxProps, typeof defaultProps>;
5
5
  declare const CheckBox: CheckBoxType;
6
6
  export default CheckBox;
@@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
37
37
  function verb(n) { return function (v) { return step([n, v]); }; }
38
38
  function step(op) {
39
39
  if (f) throw new TypeError("Generator is already executing.");
40
- while (_) try {
40
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
41
41
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
42
42
  if (y = 0, t) op = [op[0] & 2, t.value];
43
43
  switch (op[0]) {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type CheckBoxStoryType = React.FunctionComponent<{
2
+ type CheckBoxStoryType = React.FunctionComponent<{
3
3
  error: boolean;
4
4
  isOtherOption: boolean;
5
5
  otherInputError: boolean;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import defaultProps from './defaultProps';
3
3
  import IDatePickerProps from './IDatePickerProps';
4
- declare type DatePickerType = FunctionComponentWithDefaultProps<IDatePickerProps, typeof defaultProps>;
4
+ type DatePickerType = FunctionComponentWithDefaultProps<IDatePickerProps, typeof defaultProps>;
5
5
  declare const DatePicker: DatePickerType;
6
6
  export default DatePicker;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type DatePickerStoryType = React.FunctionComponent<{
2
+ type DatePickerStoryType = React.FunctionComponent<{
3
3
  disableFuture: boolean;
4
4
  disablePast: boolean;
5
5
  errorMessage: string;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import defaultProps from './defaultProps';
3
3
  import IComponentProps from './IComponentProps';
4
- declare type DropDownSelectType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ type DropDownSelectType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const DropDownSelect: DropDownSelectType;
6
6
  export default DropDownSelect;
@@ -20,12 +20,13 @@ var defaultProps_1 = __importDefault(require("./defaultProps"));
20
20
  var icons_1 = __importDefault(require("./icons"));
21
21
  var useDropDownSelectStyles_1 = __importDefault(require("./useDropDownSelectStyles"));
22
22
  var DropDownSelect = function (_a) {
23
- var children = _a.children, disabled = _a.disabled, errorMessage = _a.errorMessage, iconType = _a.iconType, id = _a.id, label = _a.label, margin = _a.margin, onChange = _a.onChange, onClick = _a.onClick, onBlur = _a.onBlur, placeholder = _a.placeholder, size = _a.size, value = _a.value, inputRef = _a.inputRef;
23
+ var children = _a.children, disabled = _a.disabled, errorMessage = _a.errorMessage, iconType = _a.iconType, id = _a.id, label = _a.label, margin = _a.margin, onChange = _a.onChange, onClick = _a.onClick, onBlur = _a.onBlur, size = _a.size, value = _a.value, inputRef = _a.inputRef;
24
24
  var classes = (0, useDropDownSelectStyles_1.default)({
25
25
  isError: errorMessage !== undefined,
26
26
  isValid: errorMessage === undefined && value !== 'none',
27
+ isIconPresent: iconType !== 'none',
27
28
  });
28
- var _b = react_1.default.useState(value), currentValue = _b[0], setCurrentValue = _b[1];
29
+ var _b = react_1.default.useState((value === 'none') ? '' : value), currentValue = _b[0], setCurrentValue = _b[1];
29
30
  var handleChange = function (e) {
30
31
  var newValue = e.target.value;
31
32
  onChange({ id: id, value: newValue });
@@ -44,9 +45,7 @@ var DropDownSelect = function (_a) {
44
45
  InputProps = __assign(__assign({}, InputProps), { startAdornment: (react_1.default.createElement(core_1.InputAdornment, { position: "start" },
45
46
  react_1.default.createElement(IconComponent, null))) });
46
47
  }
47
- return (react_1.default.createElement(core_1.TextField, { fullWidth: true, select: true, className: classes.dropDownSelect, variant: "filled", disabled: disabled, error: errorMessage !== undefined, helperText: errorMessage, label: label, size: size, margin: margin, onChange: handleChange, onClick: onClick, onBlur: onBlur, value: currentValue, InputLabelProps: { className: classes.label }, InputProps: InputProps, inputRef: inputRef || null, "data-testid": "dropDownSelect" },
48
- react_1.default.createElement(core_1.MenuItem, { value: "none", disabled: true }, placeholder),
49
- children));
48
+ return (react_1.default.createElement(core_1.TextField, { fullWidth: true, select: true, className: classes.dropDownSelect, variant: "filled", disabled: disabled, error: errorMessage !== undefined, helperText: errorMessage, label: (value === 'none') ? label : undefined, size: size, margin: margin, onChange: handleChange, onClick: onClick, onBlur: onBlur, value: currentValue, InputLabelProps: { className: classes.label, shrink: false }, InputProps: InputProps, inputRef: inputRef || null, "data-testid": "dropDownSelect" }, children));
50
49
  };
51
50
  DropDownSelect.defaultProps = defaultProps_1.default;
52
51
  exports.default = DropDownSelect;
@@ -1 +1 @@
1
- {"version":3,"file":"DropDownSelect.js","sourceRoot":"","sources":["../../../../src/Components/Molecules/DropDownSelect/DropDownSelect.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAK2B;AAC3B,gDAA0B;AAE1B,gEAA0C;AAE1C,kDAA4B;AAC5B,s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,8BAAC,gBAAW,IACV,SAAS,QACT,MAAM,QACN,SAAS,EAAE,OAAO,CAAC,cAAc,EACjC,OAAO,EAAC,QAAQ,EAChB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,YAAY,KAAK,SAAS,EACjC,UAAU,EAAE,YAAY,EACxB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,YAAY,EACnB,eAAe,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,KAAK,EAAE,EAC7C,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,QAAQ,IAAI,IAAI,iBACd,gBAAgB;QAE5B,8BAAC,eAAU,IAAC,KAAK,EAAC,MAAM,EAAC,QAAQ,UAC9B,WAAW,CACD;QACZ,QAAQ,CACG,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,cAAc,CAAC,YAAY,GAAG,sBAAY,CAAC;AAE3C,kBAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"DropDownSelect.js","sourceRoot":"","sources":["../../../../src/Components/Molecules/DropDownSelect/DropDownSelect.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAI2B;AAC3B,gDAA0B;AAE1B,gEAA0C;AAE1C,kDAA4B;AAC5B,sFAAgE;AAMhE,IAAM,cAAc,GAAuB,UAAC,EAc3C;QAbC,QAAQ,cAAA,EACR,QAAQ,cAAA,EACR,YAAY,kBAAA,EACZ,QAAQ,cAAA,EACR,EAAE,QAAA,EACF,KAAK,WAAA,EACL,MAAM,YAAA,EACN,QAAQ,cAAA,EACR,OAAO,aAAA,EACP,MAAM,YAAA,EACN,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,QAAQ,cAAA;IAER,IAAM,OAAO,GAAG,IAAA,iCAAuB,EAAC;QACtC,OAAO,EAAE,YAAY,KAAK,SAAS;QACnC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AC,SAAS,EAC7C,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,YAAY,EACnB,eAAe,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,EAC5D,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,QAAQ,IAAI,IAAI,iBACd,gBAAgB,IAE3B,QAAQ,CACG,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,cAAc,CAAC,YAAY,GAAG,sBAAY,CAAC;AAE3C,kBAAe,cAAc,CAAC"}
@@ -9,11 +9,11 @@ var react_2 = require("@testing-library/react");
9
9
  var withTheme_1 = __importDefault(require("../../../Helpers/React/withTheme"));
10
10
  var DropDownSelect_1 = __importDefault(require("./DropDownSelect"));
11
11
  describe('<DropDownSelect />', function () {
12
- it('should display placeholder for dropdown on load', function () {
13
- var getByText = (0, withTheme_1.default)(react_1.default.createElement(DropDownSelect_1.default, { id: "id", label: "test label", placeholder: "test placeholder" },
12
+ it('should display label for dropdown on load', function () {
13
+ var getByText = (0, withTheme_1.default)(react_1.default.createElement(DropDownSelect_1.default, { id: "id", label: "test label" },
14
14
  react_1.default.createElement(core_1.MenuItem, { value: 1 }, "Option 1"),
15
15
  react_1.default.createElement(core_1.MenuItem, { value: 2 }, "Option 2"))).getByText;
16
- expect(getByText('test placeholder')).toBeTruthy();
16
+ expect(getByText('test label')).toBeTruthy();
17
17
  });
18
18
  it('should be able to select dropdown options', function () {
19
19
  var callback = jest.fn();
@@ -1 +1 @@
1
- {"version":3,"file":"DropDownSelect.test.js","sourceRoot":"","sources":["../../../../src/Components/Molecules/DropDownSelect/DropDownSelect.test.tsx"],"names":[],"mappings":";;;;;AAAA,gDAA0B;AAC1B,0CAA6C;AAC7C,gDAA2D;AAC3D,+EAAyD;AACzD,oEAA8C;AAE9C,QAAQ,CA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AAE,CAAC,CAAC;IAC7E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -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
  errorMessage: string;
5
5
  iconType?: 'none' | 'person' | 'zipcode' | 'phone' | 'email' | 'company' | 'state';
@@ -1,6 +1,7 @@
1
1
  interface IDropDownSelectStyleProps {
2
2
  isError: boolean;
3
3
  isValid: boolean;
4
+ isIconPresent: boolean;
4
5
  }
5
6
  declare const useDropDownSelectStyles: (props: IDropDownSelectStyleProps) => import("@material-ui/styles").ClassNameMap<string>;
6
7
  export default useDropDownSelectStyles;
@@ -14,10 +14,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  var styles_1 = require("@material-ui/styles");
15
15
  var useDropDownSelectStyles = (0, styles_1.makeStyles)(function (theme) {
16
16
  return (0, styles_1.createStyles)({
17
- dropDownSelect: {
18
- '& .MuiFilledInput-root': {
19
- backgroundColor: theme.mvf.palette.background.light,
20
- },
17
+ dropDownSelect: function (_a) {
18
+ var isIconPresent = _a.isIconPresent;
19
+ return (__assign({ '& .MuiFilledInput-root': {
20
+ backgroundColor: theme.mvf.palette.background.light,
21
+ '& .MuiSelect-root': {
22
+ paddingTop: 18,
23
+ paddingBottom: 19,
24
+ }
25
+ }, '& .MuiInputAdornment-filled.MuiInputAdornment-positionStart:not(.MuiInputAdornment-hiddenLabel)': {
26
+ marginTop: 0,
27
+ } }, (isIconPresent && {
28
+ '& label': {
29
+ marginLeft: 34,
30
+ }
31
+ })));
21
32
  },
22
33
  focused: function (_a) {
23
34
  var isError = _a.isError;
@@ -37,8 +48,8 @@ var useDropDownSelectStyles = (0, styles_1.makeStyles)(function (theme) {
37
48
  },
38
49
  label: function (_a) {
39
50
  var isValid = _a.isValid;
40
- return (__assign({ color: theme.mvf.palette.text.grey, '&$focused': {
41
- color: theme.mvf.palette.primary.main,
51
+ return (__assign({ color: 'darkGray', '&.MuiFormLabel-root.Mui-focused': {
52
+ color: 'darkGray', // webkit default placeholder colour: https://trac.webkit.org/browser/trunk/Source/WebCore/css/html.css#L746
42
53
  } }, (isValid && {
43
54
  color: theme.mvf.palette.primary.main,
44
55
  })));
@@ -1 +1 @@
1
- {"version":3,"file":"useDropDownSelectStyles.js","sourceRoot":"","sources":["../../../../src/Components/Molecules/DropDownSelect/useDropDownSelectStyles.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,8CAA+D;AAQ/D,IAAM,uBAAuB,GAAG,IAAA,mBAAU,EAGxC,UAAC,KAAK;IACN,OAAA,IAAA,qBAAY,EAAC;QACX,cAAc,EAAE;YACd,wBAAwB,EAAE;gBACxB,eAAe,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK;aACpD;SACF;QACD,OAAO,EAAE,UAAC,EAAW;gBAAT,OAAO,aAAA;YAAO,OAAA,YACxB,WAAW,EAAE;oBACX,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO;oBACtC,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;oBAC3C,oBAAoB,EAAE;wBACpB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;qBACtC;iBACF,IACE,CAAC,OAAO,IAAI;gBACb,WAAW,EAAE;oBACX,oBAAoB,EAAE;wBACpB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK;qBAC/B;iBACF;aACF,CAAC,EACF;QAfwB,CAexB;QACF,KAAK,EAAE,UAAC,EAAW;gBAAT,OAAO,aAAA;YAAO,OAAA,YACtB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAClC,WAAW,EAAE;oBACX,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAA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;gBACpC,SAAS,EAAE;oBACT,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK;oBACpC,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK;iBACrC;gBACD,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK;iBAC/B;aACF,CAAC,GACC,CAAC,OAAO,IAAI;gBACb,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO;gBACtC,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;gBAC3C,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;iBACtC;aACF,CAAC,EACF;QA3CkC,CA2ClC;KACH,CAAC;AA3EF,CA2EE,CACH,CAAC;AAEF,kBAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"useDropDownSelectStyles.js","sourceRoot":"","sources":["../../../../src/Components/Molecules/DropDownSelect/useDropDownSelectStyles.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,8CAA+D;AAS/D,IAAM,uBAAuB,GAAG,IAAA,mBAAU,EAGxC,UAAC,KAAK;IACN,OAAA,IAAA,qBAAY,EAAC;QACX,cAAc,EAAE,UAAC,EAAiB;gBAAf,aAAa,mBAAA;YAAO,OAAA,YACrC,wBAAwB,EAAE;oBACxB,eAAe,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK;oBACnD,mBAAmB,EAAE;wBACnB,UAAU,EAAE,EAAE;wBACd,aAAa,EAAE,EAAE;qBAClB;iBACF,EACD,iGAAiG,EAAE;oBACjG,SAAS,EAAE,CAAC;iBACb,IACE,CAAC,aAAa,IAAI;gBACnB,SAAS,EAAE;oBACT,UAAU,EAAE,EAAE;iBACf;aACF,CAAC,EACF;QAhBqC,CAgBrC;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,6 @@
1
1
  import defaultProps from './defaultProps';
2
2
  import IComponentProps from './IComponentProps';
3
3
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
4
- declare type IconTileCheckBoxType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ type IconTileCheckBoxType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const IconTileCheckBox: IconTileCheckBoxType;
6
6
  export default IconTileCheckBox;
@@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
37
37
  function verb(n) { return function (v) { return step([n, v]); }; }
38
38
  function step(op) {
39
39
  if (f) throw new TypeError("Generator is already executing.");
40
- while (_) try {
40
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
41
41
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
42
42
  if (y = 0, t) op = [op[0] & 2, t.value];
43
43
  switch (op[0]) {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ISvgs } from '../../../Assets/svgs/svgs';
3
- declare type IconTileCheckBoxStoryType = React.FunctionComponent<{
3
+ type IconTileCheckBoxStoryType = React.FunctionComponent<{
4
4
  error: boolean;
5
5
  iconType: keyof ISvgs;
6
6
  isOtherOption: boolean;
@@ -1,6 +1,6 @@
1
1
  import defaultProps from './defaultProps';
2
2
  import IComponentProps from './IComponentProps';
3
3
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
4
- declare type IconTileRadioButtonType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ type IconTileRadioButtonType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const IconTileRadioButton: IconTileRadioButtonType;
6
6
  export default IconTileRadioButton;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ISvgs } from '../../../Assets/svgs/svgs';
3
- declare type IconTileRadioButtonStoryType = React.FunctionComponent<{
3
+ type IconTileRadioButtonStoryType = React.FunctionComponent<{
4
4
  error: boolean;
5
5
  iconType: keyof ISvgs;
6
6
  isOtherOption: boolean;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
2
2
  import defaultProps from './defaultProps';
3
3
  import IComponentProps from './IComponentProps';
4
- declare type NavBarType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ type NavBarType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const NavBar: NavBarType;
6
6
  export default NavBar;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type NavBarStoryType = React.FunctionComponent<{
2
+ type NavBarStoryType = React.FunctionComponent<{
3
3
  disabled: boolean;
4
4
  buttonDisabled: boolean;
5
5
  buttonLabel: string;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import defaultProps from './defaultProps';
3
3
  import IPhoneNumberTextFieldProps from './IPhoneNumberTextFieldProps';
4
- declare type PhoneNumberTextFieldType = FunctionComponentWithDefaultProps<IPhoneNumberTextFieldProps, typeof defaultProps>;
4
+ type PhoneNumberTextFieldType = FunctionComponentWithDefaultProps<IPhoneNumberTextFieldProps, typeof defaultProps>;
5
5
  declare const PhoneNumberTextField: PhoneNumberTextFieldType;
6
6
  export default PhoneNumberTextField;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import 'intl-tel-input/build/css/intlTelInput.css';
3
- declare type StoryType = React.FunctionComponent<{
3
+ type StoryType = React.FunctionComponent<{
4
4
  disabled: boolean;
5
5
  errorMessage: string;
6
6
  isAnswered: boolean;
@@ -36,12 +36,14 @@ var usePhoneNumberTextFieldStyles = (0, styles_1.makeStyles)(function (theme) {
36
36
  'margin-top': theme.mvf.spacing.base,
37
37
  },
38
38
  })), { '& .iti': {
39
- width: 'calc(100% - 58px)',
39
+ width: '100%',
40
40
  } }), (isAutoFilledActive && {
41
41
  '& .MuiFilledInput-input': {
42
42
  backgroundColor: isSafari
43
43
  ? 'rgb(250, 255, 189)'
44
44
  : 'rgb(232, 240, 254)',
45
+ paddingTop: theme.mvf.spacing.moderate,
46
+ paddingBottom: theme.mvf.spacing.smedium,
45
47
  },
46
48
  '& .MuiFilledInput-root': {
47
49
  backgroundColor: isSafari
@@ -1 +1 @@
1
- {"version":3,"file":"usePhoneNumberTextFieldStyles.js","sourceRoot":"","sources":["../../../../src/Components/Molecules/PhoneNumberTextField/usePhoneNumberTextFieldStyles.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,8CAA+D;AAW/D,IAAM,6BAA6B,GAAG,IAAA,mBAAU,EAG9C,UAAC,KAAK;IACN,OAAA,IAAA,qBAAY,EAAC;QACX,SAAS,EAAE,UAAC,EAAsD;gBAApD,oBAAoB,0BAAA,EAAE,QAAQ,cAAA,EAAE,kBAAkB,wBAAA;YAAO,OAAA,gDACrE,wBAAwB,EAAE;oBACxB,eAAe,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK;oBACnD,QAAQ,EAAE,SAAS;iBACpB,IACE,CAAC,oBAAoB,IAAI;gBAC1B,yBAAyB,EAAE;oBACzB,aAAa,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ;oBACzC,gBAAgB,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO;iBAC5C;gBACD,iGAAiG,EAC/F;oBACE,YAAY,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK;iBACtC;aACJ,CAAC,GACC,CAAC,CAAC,oBAAoB,IAAI;gBAC3B,oFAAoF,EAClF;oBACE,aAAa,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK;oBACtC,gBAAgB,EAAE,KAAK,CAAC,GAAG,CAAC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,QAAQ;qBACxC;oBACD,oBAAoB,EAAE;wBACpB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ;qBAClC;iBACF,IACE,CAAC,OAAO,IAAI;gBACb,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK;gBACpC,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK;gBACpC,SAAS,EAAE;oBACT,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK;oBACpC,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK;iBACrC;gBACD,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK;iBAC/B;aACF,CAAC,GACC,CAAC,OAAO,IAAI;gBACb,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO;gBACtC,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;gBAC3C,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;iBACtC;aACF,CAAC,EACF;QA3CkC,CA2ClC;KACH,CAAC;AAvHF,CAuHE,CACH,CAAC;AAEF,kBAAe,6BAA6B,CAAC"}
1
+ {"version":3,"file":"usePhoneNumberTextFieldStyles.js","sourceRoot":"","sources":["../../../../src/Components/Molecules/PhoneNumberTextField/usePhoneNumberTextFieldStyles.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,8CAA+D;AAW/D,IAAM,6BAA6B,GAAG,IAAA,mBAAU,EAG9C,UAAC,KAAK;IACN,OAAA,IAAA,qBAAY,EAAC;QACX,SAAS,EAAE,UAAC,EAAsD;gBAApD,oBAAoB,0BAAA,EAAE,QAAQ,cAAA,EAAE,kBAAkB,wBAAA;YAAO,OAAA,gDACrE,wBAAwB,EAA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AG,CAAC,SAAS,CAAC,OAAO;gBACtC,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;gBAC3C,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;iBACtC;aACF,CAAC,EACF;QA3CkC,CA2ClC;KACH,CAAC;AAzHF,CAyHE,CACH,CAAC;AAEF,kBAAe,6BAA6B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import defaultProps from './defaultProps';
2
2
  import IComponentProps from './IRadioButtonProps';
3
3
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
4
- declare type RadioButtonType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ type RadioButtonType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const RadioButton: RadioButtonType;
6
6
  export default RadioButton;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type RadioButtonStoryType = React.FunctionComponent<{
2
+ type RadioButtonStoryType = React.FunctionComponent<{
3
3
  error: boolean;
4
4
  otherInputError: boolean;
5
5
  isOtherOption: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import IComponentProps from './IComponentProps';
3
- declare type ScrollAreaType = React.FunctionComponent<IComponentProps>;
3
+ type ScrollAreaType = React.FunctionComponent<IComponentProps>;
4
4
  declare const ScrollArea: ScrollAreaType;
5
5
  export default ScrollArea;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type ScrollAreaType = React.FunctionComponent<{
2
+ type ScrollAreaType = React.FunctionComponent<{
3
3
  parentHeight: number;
4
4
  childHeight: number;
5
5
  }>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import IThankYouBannerProps from './IThankYouBannerProps';
3
- declare type ThankYouBannerType = React.FunctionComponent<IThankYouBannerProps>;
3
+ type ThankYouBannerType = React.FunctionComponent<IThankYouBannerProps>;
4
4
  declare const ThankYouBanner: ThankYouBannerType;
5
5
  export default ThankYouBanner;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBrandLogos } from '../../../Assets/BrandLogos/brandLogos';
3
- declare type ThankYouBannerStoryType = React.FunctionComponent<{
3
+ type ThankYouBannerStoryType = React.FunctionComponent<{
4
4
  brandType: keyof IBrandLogos;
5
5
  submissionId: string;
6
6
  }>;
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import IComponentProps from './IComponentProps';
3
- declare type ListLayoutType = FunctionComponent<IComponentProps>;
3
+ type ListLayoutType = FunctionComponent<IComponentProps>;
4
4
  declare const ListLayout: ListLayoutType;
5
5
  export default ListLayout;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type ListLayoutStoryType = React.FunctionComponent<{
2
+ type ListLayoutStoryType = React.FunctionComponent<{
3
3
  itemsCount: number;
4
4
  }>;
5
5
  declare const ListLayoutStory: ListLayoutStoryType;
@@ -1,6 +1,6 @@
1
1
  import IComponentProps from './IComponentProps';
2
2
  import defaultProps from './defaultProps';
3
3
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
4
- declare type RadioGroupType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ type RadioGroupType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const RadioGroup: RadioGroupType;
6
6
  export default RadioGroup;
@@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
37
37
  function verb(n) { return function (v) { return step([n, v]); }; }
38
38
  function step(op) {
39
39
  if (f) throw new TypeError("Generator is already executing.");
40
- while (_) try {
40
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
41
41
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
42
42
  if (y = 0, t) op = [op[0] & 2, t.value];
43
43
  switch (op[0]) {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type RadioGroupContextType = {
2
+ type RadioGroupContextType = {
3
3
  selectedId?: string;
4
4
  radioButtonSelected: (id: string) => void;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type RadioGroupStoryType = React.FunctionComponent<{
2
+ type RadioGroupStoryType = React.FunctionComponent<{
3
3
  defaultSelectedId?: string;
4
4
  itemsCount: number;
5
5
  layout: 'list' | 'tile';
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import IComponentProps from './IComponentProps';
3
- declare type TileLayoutType = FunctionComponent<IComponentProps>;
3
+ type TileLayoutType = FunctionComponent<IComponentProps>;
4
4
  declare const TileLayout: TileLayoutType;
5
5
  export default TileLayout;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ISvgs } from '../../../Assets/svgs/svgs';
3
- declare type TileLayoutStoryType = React.FunctionComponent<{
3
+ type TileLayoutStoryType = React.FunctionComponent<{
4
4
  itemsCount: number;
5
5
  iconType: keyof ISvgs;
6
6
  }>;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- export declare type FunctionComponentWithDefaultProps<T, D extends Partial<React.ComponentProps<React.FC<T>>>> = Pick<React.FC<T>, Exclude<keyof React.FC<T>, 'defaultProps'>> & (React.FC<T> extends (...a: infer A) => infer R ? (...a: A) => R : never) & {
2
+ export type FunctionComponentWithDefaultProps<T, D extends Partial<React.ComponentProps<React.FC<T>>>> = Pick<React.FC<T>, Exclude<keyof React.FC<T>, 'defaultProps'>> & (React.FC<T> extends (...a: infer A) => infer R ? (...a: A) => R : never) & {
3
3
  defaultProps: D;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type CssProps = React.CSSProperties | {
2
+ type CssProps = React.CSSProperties | {
3
3
  [key: string]: CssProps;
4
4
  };
5
5
  declare const css: (props: CssProps) => React.CSSProperties;
@@ -3,5 +3,5 @@ declare const icons: {
3
3
  keyboardArrowLeft: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
4
4
  keyboardArrowRight: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
5
5
  };
6
- export declare type IIcons = typeof icons;
6
+ export type IIcons = typeof icons;
7
7
  export default icons;
@@ -1,4 +1,4 @@
1
1
  import { DebouncedFunc } from 'lodash';
2
- declare type throttledFunction = (value: any) => void;
2
+ type throttledFunction = (value: any) => void;
3
3
  declare const useThrottle: (func: throttledFunction, wait: number) => DebouncedFunc<throttledFunction>;
4
4
  export default useThrottle;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IThemes } from './themes';
3
- declare type StoryThemeWrapperType = React.FunctionComponent<{
3
+ type StoryThemeWrapperType = React.FunctionComponent<{
4
4
  children: React.ReactNode;
5
5
  themeType: keyof IThemes;
6
6
  }>;
@@ -756,6 +756,6 @@ declare const themes: {
756
756
  };
757
757
  };
758
758
  };
759
- export declare type ITheme = typeof customTheme;
760
- export declare type IThemes = typeof themes;
759
+ export type ITheme = typeof customTheme;
760
+ export type IThemes = typeof themes;
761
761
  export default themes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mvf/external-components",
3
- "version": "1.27.2",
3
+ "version": "1.27.4",
4
4
  "license": "UNLICENSED",
5
5
  "scripts": {
6
6
  "dev": "scripts/up.sh",