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

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 (89) 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/Button/Button.d.ts +1 -1
  15. package/Components/Atoms/Button/ButtonStory.d.ts +1 -1
  16. package/Components/Atoms/CardButton/CardButton.d.ts +1 -1
  17. package/Components/Atoms/CardButton/CardButtonStory.d.ts +1 -1
  18. package/Components/Atoms/ErrorMessage/ErrorMessage.d.ts +1 -1
  19. package/Components/Atoms/ErrorMessage/ErrorMessageStory.d.ts +1 -1
  20. package/Components/Atoms/ErrorMessageProvider/ErrorMessageProvider.d.ts +3 -3
  21. package/Components/Atoms/FormControl/FormControl.d.ts +1 -1
  22. package/Components/Atoms/FormControl/FormControlStory.d.ts +1 -1
  23. package/Components/Atoms/IconButton/IconButton.d.ts +1 -1
  24. package/Components/Atoms/IconButton/IconButtonStory.d.ts +1 -1
  25. package/Components/Atoms/InfoPanel/InfoPanel.d.ts +1 -1
  26. package/Components/Atoms/InfoPanel/InfoPanelStory.d.ts +1 -1
  27. package/Components/Atoms/Input/Input.d.ts +1 -1
  28. package/Components/Atoms/Input/InputStory.d.ts +1 -1
  29. package/Components/Atoms/InputLabel/InputLabel.d.ts +1 -1
  30. package/Components/Atoms/InputLabel/InputLabelStory.d.ts +1 -1
  31. package/Components/Atoms/Link/Link.d.ts +1 -1
  32. package/Components/Atoms/Link/LinkStory.d.ts +1 -1
  33. package/Components/Atoms/LoadingIndicator/LoadingIndicator.d.ts +1 -1
  34. package/Components/Atoms/Modal/Modal.d.ts +1 -1
  35. package/Components/Atoms/Modal/ModalStory.d.ts +1 -1
  36. package/Components/Atoms/ProgressBar/ProgressBar.d.ts +1 -1
  37. package/Components/Atoms/ProgressBar/ProgressBarStory.d.ts +1 -1
  38. package/Components/Atoms/Text/Text.d.ts +1 -1
  39. package/Components/Atoms/Text/TextStory.d.ts +1 -1
  40. package/Components/Molecules/CheckBox/CheckBox.d.ts +1 -1
  41. package/Components/Molecules/CheckBox/CheckBox.test.js +1 -1
  42. package/Components/Molecules/CheckBox/CheckBoxStory.d.ts +1 -1
  43. package/Components/Molecules/DatePicker/DatePicker.d.ts +1 -1
  44. package/Components/Molecules/DatePicker/DatePickerStory.d.ts +1 -1
  45. package/Components/Molecules/DatePicker/DatePickerTextFieldType.d.ts +1 -1
  46. package/Components/Molecules/DatePicker/__tests__/DatePicker.test.js +1 -1
  47. package/Components/Molecules/DropDownSelect/DropDownSelect.d.ts +1 -1
  48. package/Components/Molecules/DropDownSelect/DropDownSelectStory.d.ts +1 -1
  49. package/Components/Molecules/IconTileCheckBox/IconTileCheckBox.d.ts +1 -1
  50. package/Components/Molecules/IconTileCheckBox/IconTileCheckBoxStory.d.ts +1 -1
  51. package/Components/Molecules/IconTileRadioButton/IconTileRadioButton.d.ts +1 -1
  52. package/Components/Molecules/IconTileRadioButton/IconTileRadioButton.test.js +1 -1
  53. package/Components/Molecules/IconTileRadioButton/IconTileRadioButtonStory.d.ts +1 -1
  54. package/Components/Molecules/NavBar/NavBar.d.ts +1 -1
  55. package/Components/Molecules/NavBar/NavBarStory.d.ts +1 -1
  56. package/Components/Molecules/PhoneNumberTextField/PhoneNumberTextField.d.ts +1 -1
  57. package/Components/Molecules/PhoneNumberTextField/PhoneNumberTextFieldStory.d.ts +1 -1
  58. package/Components/Molecules/RadioButton/RadioButton.d.ts +1 -1
  59. package/Components/Molecules/RadioButton/RadioButtonStory.d.ts +1 -1
  60. package/Components/Molecules/ScrollContainer/ScrollContainer.test.js +1 -1
  61. package/Components/Molecules/ScrollContainer/ScrollContainerStory.d.ts +1 -1
  62. package/Components/Molecules/ScrollContainer/ScrollContainerTypes.d.ts +2 -2
  63. package/Components/Molecules/TextField/TextField.d.ts +1 -1
  64. package/Components/Molecules/TextField/TextFieldStory.d.ts +1 -1
  65. package/Components/Molecules/ThankYouBanner/ThankYouBanner.d.ts +1 -1
  66. package/Components/Molecules/ThankYouBanner/ThankYouBannerStory.d.ts +1 -1
  67. package/Components/Organisms/ListLayout/ListLayout.d.ts +1 -1
  68. package/Components/Organisms/ListLayout/ListLayoutStory.d.ts +1 -1
  69. package/Components/Organisms/RadioGroup/RadioGroup.d.ts +1 -1
  70. package/Components/Organisms/RadioGroup/RadioGroup.test.js +1 -1
  71. package/Components/Organisms/RadioGroup/RadioGroupContext.d.ts +1 -1
  72. package/Components/Organisms/RadioGroup/RadioGroupStory.d.ts +1 -1
  73. package/Components/Organisms/TileLayout/IconTileCheckBoxStory.d.ts +1 -1
  74. package/Components/Organisms/TileLayout/IconTileRadioButtonStory.d.ts +1 -1
  75. package/Components/Organisms/TileLayout/TileLayout.d.ts +1 -1
  76. package/Helpers/React/FunctionComponentWithDefaultProps.d.ts +1 -1
  77. package/Helpers/React/css.d.ts +1 -1
  78. package/Helpers/icons.d.ts +1 -1
  79. package/Helpers/useThrottle.d.ts +1 -1
  80. package/Themes/StoryThemeWrapper.d.ts +3 -1
  81. package/Themes/StoryThemeWrapper.js +2 -2
  82. package/Themes/StoryThemeWrapper.js.map +1 -1
  83. package/Themes/themeCreator.d.ts +2 -1
  84. package/Themes/themeCreator.js +3 -1
  85. package/Themes/themeCreator.js.map +1 -1
  86. package/Themes/themes.d.ts +4 -3
  87. package/Themes/themes.js +9 -8
  88. package/Themes/themes.js.map +1 -1
  89. package/package.json +5 -2
@@ -1,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- type ExpertMarketLogoType = FunctionComponent;
2
+ declare 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
- type ExpertReviewsLogoType = FunctionComponent;
2
+ declare 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
- type GoWizardLogoType = FunctionComponent;
2
+ declare 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
- type HearClearLogoType = FunctionComponent;
2
+ declare 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
- type LasikEyesLogoType = FunctionComponent;
2
+ declare 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
- type StartUpsLogoType = FunctionComponent;
2
+ declare 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
- type TechCoLogoType = FunctionComponent;
2
+ declare 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
- type TheEcoExpertsLogoType = FunctionComponent;
2
+ declare 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
- type WebsiteBuilderExpertLogoType = FunctionComponent;
2
+ declare 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 type IBrandLogos = typeof brandLogos;
14
+ export declare type IBrandLogos = typeof brandLogos;
15
15
  export default brandLogos;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type CheckboxType = React.FunctionComponent<{
2
+ declare 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
- type RadioType = React.FunctionComponent<{
2
+ declare 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 type ISvgs = typeof svgs;
10
+ export declare type ISvgs = typeof svgs;
11
11
  export default svgs;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import defaultProps from './defaultProps';
3
3
  import IButtonProps from './IButtonProps';
4
- type ButtonType = FunctionComponentWithDefaultProps<IButtonProps, typeof defaultProps>;
4
+ declare 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
- type ButtonStoryType = React.FunctionComponent<{
2
+ declare 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
- type CardButtonType = FunctionComponentWithDefaultProps<ICardButtonProps, typeof defaultProps>;
4
+ declare 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
- type CardButtonStoryType = React.FunctionComponent<{
2
+ declare 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
- type ErrorMessageType = FunctionComponent;
3
+ declare 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
- type ErrorMessageStoryType = React.FunctionComponent<{
2
+ declare 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
- type ErrorMessageProviderProps = {
2
+ declare type ErrorMessageProviderProps = {
3
3
  errorMessage: string | undefined;
4
4
  };
5
- type ErrorMessageProviderType = React.FunctionComponent<{
5
+ declare type ErrorMessageProviderType = React.FunctionComponent<{
6
6
  children: React.ReactNode;
7
7
  errorMessage?: string;
8
8
  }>;
9
9
  declare const ErrorMessageProvider: ErrorMessageProviderType;
10
- type UseErrorMessageProps = {
10
+ declare 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
- type FormControlType = FunctionComponentWithDefaultProps<IFormControlProps, typeof defaultProps>;
4
+ declare 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
- type StoryType = React.FunctionComponent<{
2
+ declare 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 type IconButtonType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ export declare 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
- type ButtonStartIconStoryType = React.FunctionComponent<{
3
+ declare 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
- type InfoPanelType = FunctionComponentWithDefaultProps<IInfoPanelProps, typeof defaultProps>;
5
+ declare 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
- type InfoPanelType = React.FunctionComponent<{
3
+ declare 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
- type InputType = FunctionComponentWithDefaultProps<IInputProps, typeof defaultProps>;
4
+ declare 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
- type StoryType = React.FunctionComponent<{
2
+ declare 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
- type InputLabelType = FunctionComponentWithDefaultProps<IInputLabelProps, typeof defaultProps>;
4
+ declare 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
- type StoryType = React.FunctionComponent;
2
+ declare 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
- type LinkType = FunctionComponentWithDefaultProps<ILinkProps, typeof defaultProps>;
4
+ declare 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
- type LinkType = React.FunctionComponent<{
2
+ declare 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
- type LoadingIndicatorType = FunctionComponent<IComponentProps>;
4
+ declare 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
- type ModalType = React.FunctionComponent<IModalProps>;
3
+ declare 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
- type ModalStoryType = React.FunctionComponent<{
2
+ declare 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 defaultProps from './defaultProps';
3
3
  import IComponentProps from './IComponentProps';
4
- type ProgressBarType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ declare 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
- type ProgressBarStoryType = React.FunctionComponent<{
2
+ declare type ProgressBarStoryType = React.FunctionComponent<{
3
3
  progress: number;
4
4
  text: string;
5
5
  }>;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
2
2
  import ITextProps from './ITextProps';
3
3
  import defaultProps from './defaultProps';
4
- type TextType = FunctionComponentWithDefaultProps<ITextProps, typeof defaultProps>;
4
+ declare type TextType = FunctionComponentWithDefaultProps<ITextProps, typeof defaultProps>;
5
5
  declare const Text: TextType;
6
6
  export default Text;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- type TextStoryType = React.FunctionComponent<{
2
+ declare type TextStoryType = React.FunctionComponent<{
3
3
  text: string;
4
4
  variant: 'header' | 'note' | 'summary' | 'question' | 'text' | 'footer' | 'listItem' | 'tileItem';
5
5
  align: 'center' | 'inherit' | 'justify' | 'left' | 'right';
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
2
2
  import ICheckboxProps from './ICheckboxProps';
3
3
  import defaultProps from './defaultProps';
4
- type CheckBoxType = FunctionComponentWithDefaultProps<ICheckboxProps, typeof defaultProps>;
4
+ declare type CheckBoxType = FunctionComponentWithDefaultProps<ICheckboxProps, typeof defaultProps>;
5
5
  declare const CheckBox: CheckBoxType;
6
6
  export default CheckBox;
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
17
+ while (_) try {
18
18
  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;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ISvgs } from '../../../Assets/svgs/svgs';
3
- type CheckBoxStoryType = React.FunctionComponent<{
3
+ declare type CheckBoxStoryType = React.FunctionComponent<{
4
4
  error: boolean;
5
5
  showText: boolean;
6
6
  iconType: keyof ISvgs | 'none';
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import IDatePickerProps from './IDatePickerProps';
3
3
  import defaultProps from './defaultProps';
4
- type DatePickerType = FunctionComponentWithDefaultProps<IDatePickerProps, typeof defaultProps>;
4
+ declare 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
- type DatePickerStoryType = React.FunctionComponent<{
2
+ declare type DatePickerStoryType = React.FunctionComponent<{
3
3
  disableFuture: boolean;
4
4
  disablePast: boolean;
5
5
  errorMessage: string;
@@ -5,5 +5,5 @@ import { TextField } from '@mui/material';
5
5
  * I'm disabling eslint so the type definition can be exactly the same as the one in the material ui x-date-pickers package.
6
6
  * The type defined in MUI is wrong as readOnly is allowed, so I'm using "as" to override the type in DatePicker.tsx
7
7
  */
8
- type DatePickerTextFieldType = SlotComponentProps<typeof TextField, {}, Record<string, any>>;
8
+ declare type DatePickerTextFieldType = SlotComponentProps<typeof TextField, {}, Record<string, any>>;
9
9
  export default DatePickerTextFieldType;
@@ -25,7 +25,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
25
25
  function verb(n) { return function (v) { return step([n, v]); }; }
26
26
  function step(op) {
27
27
  if (f) throw new TypeError("Generator is already executing.");
28
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
+ while (_) try {
29
29
  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;
30
30
  if (y = 0, t) op = [op[0] & 2, t.value];
31
31
  switch (op[0]) {
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import IComponentProps from './IComponentProps';
3
3
  import defaultProps from './defaultProps';
4
- type DropDownSelectType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ declare type DropDownSelectType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const DropDownSelect: DropDownSelectType;
6
6
  export default DropDownSelect;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- type StoryType = React.FunctionComponent<{
2
+ declare 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,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
2
2
  import IComponentProps from './IComponentProps';
3
3
  import defaultProps from './defaultProps';
4
- type IconTileCheckBoxType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ declare type IconTileCheckBoxType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const IconTileCheckBox: IconTileCheckBoxType;
6
6
  export default IconTileCheckBox;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ISvgs } from '../../../Assets/svgs/svgs';
3
- type IconTileCheckBoxStoryType = React.FunctionComponent<{
3
+ declare type IconTileCheckBoxStoryType = 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 IComponentProps from './IComponentProps';
3
3
  import defaultProps from './defaultProps';
4
- type IconTileRadioButtonType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ declare type IconTileRadioButtonType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const IconTileRadioButton: IconTileRadioButtonType;
6
6
  export default IconTileRadioButton;
@@ -48,7 +48,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
48
48
  function verb(n) { return function (v) { return step([n, v]); }; }
49
49
  function step(op) {
50
50
  if (f) throw new TypeError("Generator is already executing.");
51
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
51
+ while (_) try {
52
52
  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;
53
53
  if (y = 0, t) op = [op[0] & 2, t.value];
54
54
  switch (op[0]) {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ISvgs } from '../../../Assets/svgs/svgs';
3
- type IconTileRadioButtonStoryType = React.FunctionComponent<{
3
+ declare 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
- type NavBarType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ declare 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
- type NavBarStoryType = React.FunctionComponent<{
2
+ declare 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 IPhoneNumberTextFieldProps from './IPhoneNumberTextFieldProps';
3
3
  import defaultProps from './defaultProps';
4
- type PhoneNumberTextFieldType = FunctionComponentWithDefaultProps<IPhoneNumberTextFieldProps, typeof defaultProps>;
4
+ declare type PhoneNumberTextFieldType = FunctionComponentWithDefaultProps<IPhoneNumberTextFieldProps, typeof defaultProps>;
5
5
  declare const PhoneNumberTextField: PhoneNumberTextFieldType;
6
6
  export default PhoneNumberTextField;
@@ -1,6 +1,6 @@
1
1
  import 'intl-tel-input/build/css/intlTelInput.css';
2
2
  import * as React from 'react';
3
- type StoryType = React.FunctionComponent<{
3
+ declare type StoryType = React.FunctionComponent<{
4
4
  disabled: boolean;
5
5
  errorMessage: string;
6
6
  isAnswered: boolean;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React/FunctionComponentWithDefaultProps';
2
2
  import IComponentProps from './IRadioButtonProps';
3
3
  import defaultProps from './defaultProps';
4
- type RadioButtonType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ declare type RadioButtonType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const RadioButton: RadioButtonType;
6
6
  export default RadioButton;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ISvgs } from '../../../Assets/svgs/svgs';
3
- type RadioButtonStoryType = React.FunctionComponent<{
3
+ declare type RadioButtonStoryType = React.FunctionComponent<{
4
4
  error: boolean;
5
5
  iconType: keyof ISvgs | 'none';
6
6
  otherInputError: boolean;
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
17
+ while (_) try {
18
18
  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;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
- type ScrollContainerType = FunctionComponent<{
2
+ declare type ScrollContainerType = FunctionComponent<{
3
3
  parentHeight: number;
4
4
  childHeight: number;
5
5
  }>;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import IScrollContainerProps from './IScrollContainerProps';
3
- export type ScrollContainerType = React.FunctionComponent<IScrollContainerProps>;
4
- export type ScrollDetails = {
3
+ export declare type ScrollContainerType = React.FunctionComponent<IScrollContainerProps>;
4
+ export declare type ScrollDetails = {
5
5
  scrollHeight: number;
6
6
  clientHeight: number;
7
7
  offsetTop: number;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
2
2
  import ITextFieldProps from './ITextFieldProps';
3
3
  import defaultProps from './defaultProps';
4
- type TextFieldType = FunctionComponentWithDefaultProps<ITextFieldProps, typeof defaultProps>;
4
+ declare 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
- type StoryType = React.FunctionComponent<{
2
+ declare type StoryType = React.FunctionComponent<{
3
3
  disabled: boolean;
4
4
  errorMessage: string;
5
5
  iconType: 'none' | 'person' | 'zipcode' | 'phone' | 'email' | 'company' | 'state' | 'locationService';
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  /** @jsxImportSource @emotion/react */
3
3
  import IThankYouBannerProps from './IThankYouBannerProps';
4
- type ThankYouBannerType = React.FunctionComponent<IThankYouBannerProps>;
4
+ declare type ThankYouBannerType = React.FunctionComponent<IThankYouBannerProps>;
5
5
  declare const ThankYouBanner: ThankYouBannerType;
6
6
  export default ThankYouBanner;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { IBrandLogos } from '../../../Assets/BrandLogos/brandLogos';
3
- type ThankYouBannerStoryType = React.FunctionComponent<{
3
+ declare type ThankYouBannerStoryType = React.FunctionComponent<{
4
4
  brandType: keyof IBrandLogos;
5
5
  submissionId: string;
6
6
  }>;
@@ -1,6 +1,6 @@
1
1
  /** @jsxImportSource @emotion/react */
2
2
  import { FunctionComponent } from 'react';
3
3
  import IComponentProps from './IComponentProps';
4
- type ListLayoutType = FunctionComponent<IComponentProps>;
4
+ declare type ListLayoutType = FunctionComponent<IComponentProps>;
5
5
  declare const ListLayout: ListLayoutType;
6
6
  export default ListLayout;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ISvgs } from '../../../Assets/svgs/svgs';
3
- type ListLayoutStoryType = React.FunctionComponent<{
3
+ declare type ListLayoutStoryType = React.FunctionComponent<{
4
4
  iconType: keyof ISvgs | 'none';
5
5
  optionsCount: number;
6
6
  text: string;
@@ -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
- type RadioGroupType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
4
+ declare type RadioGroupType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
5
5
  declare const RadioGroup: RadioGroupType;
6
6
  export default RadioGroup;
@@ -25,7 +25,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
25
25
  function verb(n) { return function (v) { return step([n, v]); }; }
26
26
  function step(op) {
27
27
  if (f) throw new TypeError("Generator is already executing.");
28
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
+ while (_) try {
29
29
  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;
30
30
  if (y = 0, t) op = [op[0] & 2, t.value];
31
31
  switch (op[0]) {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type RadioGroupContextType = {
2
+ declare type RadioGroupContextType = {
3
3
  selectedId?: string;
4
4
  setSelectedId: (id: string | undefined) => void;
5
5
  };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ISvgs } from '../../../Assets/svgs/svgs';
3
- type RadioGroupStoryType = React.FunctionComponent<{
3
+ declare type RadioGroupStoryType = React.FunctionComponent<{
4
4
  iconType: keyof ISvgs | 'none';
5
5
  defaultSelectedId?: string;
6
6
  itemsCount: number;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ISvgs } from '../../../Assets/svgs/svgs';
3
- type TileLayoutStoryType = React.FunctionComponent<{
3
+ declare type TileLayoutStoryType = React.FunctionComponent<{
4
4
  itemsCount: number;
5
5
  iconType: keyof ISvgs;
6
6
  text: string;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ISvgs } from '../../../Assets/svgs/svgs';
3
- type TileLayoutStoryType = React.FunctionComponent<{
3
+ declare type TileLayoutStoryType = React.FunctionComponent<{
4
4
  itemsCount: number;
5
5
  iconType: keyof ISvgs;
6
6
  text: string;
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import IComponentProps from './IComponentProps';
3
- type TileLayoutType = FunctionComponent<IComponentProps>;
3
+ declare type TileLayoutType = FunctionComponent<IComponentProps>;
4
4
  declare const TileLayout: TileLayoutType;
5
5
  export default TileLayout;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
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) & {
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) & {
3
3
  defaultProps: D;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type CssProps = React.CSSProperties | {
2
+ declare type CssProps = React.CSSProperties | {
3
3
  [key: string]: CssProps;
4
4
  };
5
5
  declare const css: (props: CssProps) => React.CSSProperties;
@@ -9,5 +9,5 @@ declare const icons: {
9
9
  muiName: string;
10
10
  };
11
11
  };
12
- export type IIcons = typeof icons;
12
+ export declare type IIcons = typeof icons;
13
13
  export default icons;
@@ -1,4 +1,4 @@
1
1
  import { DebouncedFunc } from 'lodash';
2
- type ThrottledFunction = (value: unknown) => void;
2
+ declare type ThrottledFunction = (value: unknown) => void;
3
3
  declare const useThrottle: (func: ThrottledFunction, wait: number) => DebouncedFunc<ThrottledFunction>;
4
4
  export default useThrottle;
@@ -1,8 +1,10 @@
1
1
  import React from 'react';
2
2
  import { IThemes } from './themes';
3
- type StoryThemeWrapperType = React.FunctionComponent<{
3
+ import { Direction } from '@mui/material';
4
+ declare type StoryThemeWrapperType = React.FunctionComponent<{
4
5
  children: React.ReactNode;
5
6
  themeType: keyof IThemes;
7
+ direction: Direction;
6
8
  fontSizeMultiplier?: number;
7
9
  }>;
8
10
  declare const StoryThemeWrapper: StoryThemeWrapperType;
@@ -15,8 +15,8 @@ var jsx_runtime_1 = require("@emotion/react/jsx-runtime");
15
15
  var react_1 = require("@emotion/react");
16
16
  var themes_1 = require("./themes");
17
17
  var StoryThemeWrapper = function (_a) {
18
- var children = _a.children, themeType = _a.themeType, _b = _a.fontSizeMultiplier, fontSizeMultiplier = _b === void 0 ? 1 : _b;
19
- var theme = (0, themes_1.getThemeWithFontMultiplier)(themeType, fontSizeMultiplier);
18
+ var children = _a.children, themeType = _a.themeType, direction = _a.direction, _b = _a.fontSizeMultiplier, fontSizeMultiplier = _b === void 0 ? 1 : _b;
19
+ var theme = (0, themes_1.getThemeWithFontMultiplier)(themeType, fontSizeMultiplier, direction);
20
20
  return (0, jsx_runtime_1.jsx)(react_1.ThemeProvider, __assign({ theme: theme }, { children: children }));
21
21
  };
22
22
  exports.default = StoryThemeWrapper;
@@ -1 +1 @@
1
- {"version":3,"file":"StoryThemeWrapper.js","sourceRoot":"","sources":["../../src/Themes/StoryThemeWrapper.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,wCAA+C;AAC/C,mCAA+D;AAQ/D,IAAM,iBAAiB,GAA0B,UAAC,EAIjD;QAHC,QAAQ,cAAA,EACR,SAAS,eAAA,EACT,0BAAsB,EAAtB,kBAAkB,mBAAG,CAAC,KAAA;IAEtB,IAAM,KAAK,GAAG,IAAA,mCAA0B,EAAC,SAAS,EAAE,kBAAkB,CAAC,CAAC;IAExE,OAAO,uBAAC,qBAAa,aAAC,KAAK,EAAE,KAAK,gBAAG,QAAQ,IAAiB,CAAC;AACjE,CAAC,CAAC;AAEF,kBAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"StoryThemeWrapper.js","sourceRoot":"","sources":["../../src/Themes/StoryThemeWrapper.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,wCAA+C;AAC/C,mCAA+D;AAU/D,IAAM,iBAAiB,GAA0B,UAAC,EAKjD;QAJC,QAAQ,cAAA,EACR,SAAS,eAAA,EACT,SAAS,eAAA,EACT,0BAAsB,EAAtB,kBAAkB,mBAAG,CAAC,KAAA;IAEtB,IAAM,KAAK,GAAG,IAAA,mCAA0B,EACtC,SAAS,EACT,kBAAkB,EAClB,SAAS,CACV,CAAC;IAEF,OAAO,uBAAC,qBAAa,aAAC,KAAK,EAAE,KAAK,gBAAG,QAAQ,IAAiB,CAAC;AACjE,CAAC,CAAC;AAEF,kBAAe,iBAAiB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { Direction } from '@mui/material';
1
2
  declare module '@mui/material/styles' {
2
3
  interface BreakpointOverrides {
3
4
  desktopLarge: true;
@@ -63,7 +64,7 @@ declare const themeCreator: (palette?: {
63
64
  disabled: string;
64
65
  error: string;
65
66
  };
66
- }, fontFamily?: string, fontSizeMultiplier?: number) => import("@mui/material").Theme & {
67
+ }, fontFamily?: string, fontSizeMultiplier?: number, direction?: Direction) => import("@mui/material").Theme & {
67
68
  mvf: {
68
69
  border: {
69
70
  width: {
@@ -100,10 +100,11 @@ var getFontSizesWithOriginalAndMultipliedValues = function (multiplier) {
100
100
  });
101
101
  return fontSizesWithOriginal;
102
102
  };
103
- var themeCreator = function (palette, fontFamily, fontSizeMultiplier) {
103
+ var themeCreator = function (palette, fontFamily, fontSizeMultiplier, direction) {
104
104
  if (palette === void 0) { palette = exports.customPalette; }
105
105
  if (fontFamily === void 0) { fontFamily = "'Arial', sans-serif"; }
106
106
  if (fontSizeMultiplier === void 0) { fontSizeMultiplier = 1; }
107
+ if (direction === void 0) { direction = 'rtl'; }
107
108
  var processedFontSizes = getFontSizesWithOriginalAndMultipliedValues(fontSizeMultiplier);
108
109
  var boxShadow = {
109
110
  light: 'rgb(0 0 0 / 20%) 0px 2px 1px -1px, rgb(0 0 0 / 14%) 0px 1px 1px 0px, rgb(0 0 0 / 12%) 0px 1px 3px 0px',
@@ -119,6 +120,7 @@ var themeCreator = function (palette, fontFamily, fontSizeMultiplier) {
119
120
  },
120
121
  };
121
122
  var customTheme = (0, material_1.createTheme)({
123
+ direction: direction,
122
124
  palette: {
123
125
  primary: {
124
126
  main: palette.component.answerSelectedColor,
@@ -1 +1 @@
1
- {"version":3,"file":"themeCreator.js","sourceRoot":"","sources":["../../src/Themes/themeCreator.ts"],"names":[],"mappings":";;;AAAA,0CAAqD;AACrD,iCAA+B;AAelB,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE;QACT,mBAAmB,EAAE,oBAAoB;QACzC,qBAAqB,EAAE,oBAAoB;QAC3C,mBAAmB,EAAE,oBAAoB;QACzC,wBAAwB,EAAE,oBAAoB;QAC9C,eAAe,EAAE,kBAAkB;QACnC,oBAAoB,EAAE,kBAAkB;QACxC,sBAAsB,EAAE,oBAAoB;QAC5C,wBAAwB,EAAE,mBAAmB;QAC7C,oBAAoB,EAAE,oBAAoB;KAC3C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D,EAAE,EAAE;oBACF,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,MAAM;iBACb;gBACD,EAAE,EAAE;oBACF,IAAI,EAAE,SAAS;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,EAAE,EAAE;oBACF,IAAI,EAAE,SAAS;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,EAAE,EAAE;oBACF,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,MAAM;iBACb;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,QAAQ;oBACd,UAAU,YAAA;iBACX;gBACD,MAAM,EAAE;oBACN,KAAK,EAAE,QAAQ;iBAChB;gBACD,MAAM,EAAE;oBACN,IAAI,EAAE,GAAG;oBACT,MAAM,EAAE,GAAG;oBACX,KAAK,EAAE,GAAG;iBACX;gBACD,UAAU,YAAA;aACX;SACF;KACF,CAAC;IAEF,OAAO,IAAA,cAAK,EAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AACnC,CAAC,CAAC;AAEW,QAAA,WAAW,GAAG,YAAY,EAAE,CAAC;AAE1C,kBAAe,YAAY,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { Direction } from '@mui/material';
1
2
  import { customTheme } from './themeCreator';
2
3
  declare const themes: {
3
4
  atlantic: import("@mui/material").Theme & {
@@ -865,9 +866,9 @@ declare const themes: {
865
866
  };
866
867
  };
867
868
  };
868
- export type ITheme = typeof customTheme;
869
- export type IThemes = typeof themes;
870
- export declare const getThemeWithFontMultiplier: (theme: keyof IThemes, fontSizeMultiplier?: number) => import("@mui/material").Theme & {
869
+ export declare type ITheme = typeof customTheme;
870
+ export declare type IThemes = typeof themes;
871
+ export declare const getThemeWithFontMultiplier: (theme: keyof IThemes, fontSizeMultiplier?: number, direction?: Direction) => import("@mui/material").Theme & {
871
872
  mvf: {
872
873
  border: {
873
874
  width: {
package/Themes/themes.js CHANGED
@@ -38,27 +38,28 @@ var themes = {
38
38
  rhubarb: rhubarbTheme_1.default,
39
39
  custom: themeCreator_1.customTheme,
40
40
  };
41
- var getThemeWithFontMultiplier = function (theme, fontSizeMultiplier) {
41
+ var getThemeWithFontMultiplier = function (theme, fontSizeMultiplier, direction) {
42
42
  if (fontSizeMultiplier === void 0) { fontSizeMultiplier = 1; }
43
+ if (direction === void 0) { direction = 'rtl'; }
43
44
  if (theme === 'atlantic') {
44
- return (0, themeCreator_1.default)(atlanticTheme_1.atlanticPalette, atlanticTheme_1.default.typography.fontFamily, fontSizeMultiplier);
45
+ return (0, themeCreator_1.default)(atlanticTheme_1.atlanticPalette, atlanticTheme_1.default.typography.fontFamily, fontSizeMultiplier, direction);
45
46
  }
46
47
  if (theme === 'chameleon') {
47
- return (0, themeCreator_1.default)(chameleonTheme_1.chameleonPalette, chameleonTheme_1.default.typography.fontFamily, fontSizeMultiplier);
48
+ return (0, themeCreator_1.default)(chameleonTheme_1.chameleonPalette, chameleonTheme_1.default.typography.fontFamily, fontSizeMultiplier, direction);
48
49
  }
49
50
  if (theme === 'gowizard') {
50
- return (0, themeCreator_1.default)(gowizardTheme_1.gowizardPalette, gowizardTheme_1.default.typography.fontFamily, fontSizeMultiplier);
51
+ return (0, themeCreator_1.default)(gowizardTheme_1.gowizardPalette, gowizardTheme_1.default.typography.fontFamily, fontSizeMultiplier, direction);
51
52
  }
52
53
  if (theme === 'indigo') {
53
- return (0, themeCreator_1.default)(indigoTheme_1.indigoPalette, indigoTheme_1.default.typography.fontFamily, fontSizeMultiplier);
54
+ return (0, themeCreator_1.default)(indigoTheme_1.indigoPalette, indigoTheme_1.default.typography.fontFamily, fontSizeMultiplier, direction);
54
55
  }
55
56
  if (theme === 'rhubarb') {
56
- return (0, themeCreator_1.default)(rhubarbTheme_1.rhubarbPalette, rhubarbTheme_1.default.typography.fontFamily, fontSizeMultiplier);
57
+ return (0, themeCreator_1.default)(rhubarbTheme_1.rhubarbPalette, rhubarbTheme_1.default.typography.fontFamily, fontSizeMultiplier, direction);
57
58
  }
58
59
  if (theme === 'custom') {
59
- return (0, themeCreator_1.default)(themeCreator_1.customPalette, themeCreator_1.customTheme.typography.fontFamily, fontSizeMultiplier);
60
+ return (0, themeCreator_1.default)(themeCreator_1.customPalette, themeCreator_1.customTheme.typography.fontFamily, fontSizeMultiplier, direction);
60
61
  }
61
- return (0, themeCreator_1.default)(chameleonTheme_1.chameleonPalette, chameleonTheme_1.default.typography.fontFamily, fontSizeMultiplier);
62
+ return (0, themeCreator_1.default)(chameleonTheme_1.chameleonPalette, chameleonTheme_1.default.typography.fontFamily, fontSizeMultiplier, direction);
62
63
  };
63
64
  exports.getThemeWithFontMultiplier = getThemeWithFontMultiplier;
64
65
  exports.default = themes;
@@ -1 +1 @@
1
- {"version":3,"file":"themes.js","sourceRoot":"","sources":["../../src/Themes/themes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAAiE;AACjE,iEAAoE;AACpE,+DAAiE;AACjE,2DAA2D;AAC3D,6DAA8D;AAC9D,6DAA0E;AAE1E,IAAM,MAAM,GAAG;IACb,QAAQ,EAAE,uBAAa;IACvB,SAAS,EAAE,wBAAc;IACzB,QAAQ,EAAE,uBAAa;IACvB,MAAM,EAAE,qBAAW;IACnB,OAAO,EAAE,sBAAY;IACrB,MAAM,EAAE,0BAAW;CACpB,CAAC;AAKK,IAAM,0BAA0B,GAAG,UACxC,KAAoB,EACpB,kBAAsB;IAAtB,mCAAA,EAAA,sBAAsB;IAEtB,IAAI,KAAK,KAAK,UAAU,EAAE;QACxB,OAAO,IAAA,sBAAY,EACjB,+BAAe,EACf,uBAAa,CAAC,UAAU,CAAC,UAAU,EACnC,kBAAkB,CACnB,CAAC;KACH;IACD,IAAI,KAAK,KAAK,WAAW,EAAE;QACzB,OAAO,IAAA,sBAAY,EACjB,iCAAgB,EAChB,wBAAc,CAAC,UAAU,CAAC,UAAU,EACpC,kBAAkB,CACnB,CAAC;KACH;IACD,IAAI,KAAK,KAAK,UAAU,EAAE;QACxB,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AAU,EAAE;QACxB,OAAO,IAAA,sBAAY,EACjB,+BAAe,EACf,uBAAa,CAAC,UAAU,CAAC,UAAU,EACnC,kBAAkB,EAClB,SAAS,CACV,CAAC;KACH;IACD,IAAI,KAAK,KAAK,WAAW,EAAE;QACzB,OAAO,IAAA,sBAAY,EACjB,iCAAgB,EAChB,wBAAc,CAAC,UAAU,CAAC,UAAU,EACpC,kBAAkB,EAClB,SAAS,CACV,CAAC;KACH;IACD,IAAI,KAAK,KAAK,UAAU,EAAE;QACxB,OAAO,IAAA,sBAAY,EACjB,+BAAe,EACf,uBAAa,CAAC,UAAU,CAAC,UAAU,EACnC,kBAAkB,EAClB,SAAS,CACV,CAAC;KACH;IACD,IAAI,KAAK,KAAK,QAAQ,EAAE;QACtB,OAAO,IAAA,sBAAY,EACjB,2BAAa,EACb,qBAAW,CAAC,UAAU,CAAC,UAAU,EACjC,kBAAkB,EAClB,SAAS,CACV,CAAC;KACH;IACD,IAAI,KAAK,KAAK,SAAS,EAAE;QACvB,OAAO,IAAA,sBAAY,EACjB,6BAAc,EACd,sBAAY,CAAC,UAAU,CAAC,UAAU,EAClC,kBAAkB,EAClB,SAAS,CACV,CAAC;KACH;IACD,IAAI,KAAK,KAAK,QAAQ,EAAE;QACtB,OAAO,IAAA,sBAAY,EACjB,4BAAa,EACb,0BAAW,CAAC,UAAU,CAAC,UAAU,EACjC,kBAAkB,EAClB,SAAS,CACV,CAAC;KACH;IACD,OAAO,IAAA,sBAAY,EACjB,iCAAgB,EAChB,wBAAc,CAAC,UAAU,CAAC,UAAU,EACpC,kBAAkB,EAClB,SAAS,CACV,CAAC;AACJ,CAAC,CAAC;AA3DW,QAAA,0BAA0B,8BA2DrC;AAEF,kBAAe,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mvf/external-components",
3
- "version": "3.7.0",
3
+ "version": "3.7.1-dev.2",
4
4
  "license": "UNLICENSED",
5
5
  "scripts": {
6
6
  "dev": "scripts/up.sh",
@@ -58,7 +58,10 @@
58
58
  "intl-tel-input": "^17.0.16",
59
59
  "lodash": "^4.17.21",
60
60
  "react": "^17.0.2",
61
- "react-dom": "^17.0.2"
61
+ "react-dom": "^17.0.2",
62
+ "storybook-addon-rtl-direction": "^0.0.19",
63
+ "stylis": "^4.3.2",
64
+ "stylis-plugin-rtl": "^2.1.1"
62
65
  },
63
66
  "resolutions": {
64
67
  "@types/react": "17.0.14",