@mvf/external-components 3.11.3 → 3.11.4
Sign up to get free protection for your applications and to get access to all the features.
- package/Assets/BrandLogos/ExpertMarketLogo.d.ts +1 -1
- package/Assets/BrandLogos/ExpertReviewsLogo.d.ts +1 -1
- package/Assets/BrandLogos/GoWizardLogo.d.ts +1 -1
- package/Assets/BrandLogos/HearClearLogo.d.ts +1 -1
- package/Assets/BrandLogos/LasikEyesLogo.d.ts +1 -1
- package/Assets/BrandLogos/StartupsLogo.d.ts +1 -1
- package/Assets/BrandLogos/TechcoLogo.d.ts +1 -1
- package/Assets/BrandLogos/TheEcoExpertsLogo.d.ts +1 -1
- package/Assets/BrandLogos/WebsiteBuilderExpertLogo.d.ts +1 -1
- package/Assets/BrandLogos/brandLogos.d.ts +1 -1
- package/Assets/CustomIcons/CheckboxIcon.d.ts +1 -1
- package/Assets/CustomIcons/RadioIcon.d.ts +1 -1
- package/Assets/svgs/svgs.d.ts +1 -1
- package/Components/Atoms/AnimationWrapper/AnimationWrapperStory.d.ts +1 -1
- package/Components/Atoms/AnimationWrapper/makeAnimationWrapperStyling.d.ts +1 -1
- package/Components/Atoms/Button/Button.d.ts +1 -1
- package/Components/Atoms/Button/ButtonStory.d.ts +1 -1
- package/Components/Atoms/Button/makeButtonStyling.d.ts +1 -1
- package/Components/Atoms/CardButton/CardButton.d.ts +1 -1
- package/Components/Atoms/CardButton/CardButtonStory.d.ts +1 -1
- package/Components/Atoms/CardButton/makeCardButtonStyling.d.ts +2 -2
- package/Components/Atoms/CircularProgress/makeCircularProgressStyling.d.ts +1 -1
- package/Components/Atoms/ErrorMessage/ErrorMessage.d.ts +1 -1
- package/Components/Atoms/ErrorMessage/ErrorMessageStory.d.ts +1 -1
- package/Components/Atoms/ErrorMessage/makeErrorMessageStyles.d.ts +1 -1
- package/Components/Atoms/ErrorMessageProvider/ErrorMessageProvider.d.ts +3 -3
- package/Components/Atoms/FormControl/FormControl.d.ts +1 -1
- package/Components/Atoms/FormControl/FormControlStory.d.ts +1 -1
- package/Components/Atoms/FormControl/makeFormControlStyles.d.ts +1 -1
- package/Components/Atoms/IconButton/IconButton.d.ts +1 -1
- package/Components/Atoms/IconButton/IconButtonStory.d.ts +1 -1
- package/Components/Atoms/IconButton/makeIconButtonStyling.d.ts +1 -1
- package/Components/Atoms/InfoPanel/InfoPanel.d.ts +1 -1
- package/Components/Atoms/InfoPanel/InfoPanelStory.d.ts +1 -1
- package/Components/Atoms/InfoPanel/makeInfoPanelStyling.d.ts +5 -5
- package/Components/Atoms/Input/Input.d.ts +1 -1
- package/Components/Atoms/Input/InputStory.d.ts +1 -1
- package/Components/Atoms/Input/makeInputStyles.d.ts +4 -4
- package/Components/Atoms/InputLabel/InputLabel.d.ts +1 -1
- package/Components/Atoms/InputLabel/InputLabelStory.d.ts +1 -1
- package/Components/Atoms/InputLabel/makeInputLabelStyles.d.ts +1 -1
- package/Components/Atoms/InsetCheckbox/InsetCheckbox.d.ts +2 -2
- package/Components/Atoms/InsetCheckbox/InsetCheckboxStory.d.ts +1 -1
- package/Components/Atoms/Link/Link.d.ts +1 -1
- package/Components/Atoms/Link/LinkStory.d.ts +1 -1
- package/Components/Atoms/Link/makeLinkStyling.d.ts +1 -1
- package/Components/Atoms/LoadingIndicator/LoadingIndicator.d.ts +1 -1
- package/Components/Atoms/LoadingIndicator/makeLinearProgressStyling.d.ts +1 -1
- package/Components/Atoms/Modal/Modal.d.ts +1 -1
- package/Components/Atoms/Modal/ModalStory.d.ts +1 -1
- package/Components/Atoms/Modal/makeModalStylings.d.ts +3 -3
- package/Components/Atoms/ProgressBar/ProgressBar.d.ts +1 -1
- package/Components/Atoms/ProgressBar/ProgressBarStory.d.ts +1 -1
- package/Components/Atoms/ProgressBar/makeProgressBarStyling.d.ts +3 -3
- package/Components/Atoms/Text/Text.d.ts +1 -1
- package/Components/Atoms/Text/TextStory.d.ts +1 -1
- package/Components/Atoms/Text/makeTextStyling.d.ts +1 -1
- package/Components/Molecules/CheckBox/CheckBox.d.ts +1 -1
- package/Components/Molecules/CheckBox/CheckBox.test.js +1 -1
- package/Components/Molecules/CheckBox/CheckBoxStory.d.ts +1 -1
- package/Components/Molecules/CheckBox/makeCheckBoxStyling.d.ts +10 -10
- package/Components/Molecules/DatePicker/DatePicker.d.ts +1 -1
- package/Components/Molecules/DatePicker/DatePickerStory.d.ts +1 -1
- package/Components/Molecules/DatePicker/DatePickerTextFieldType.d.ts +1 -1
- package/Components/Molecules/DatePicker/__tests__/DatePicker.test.js +1 -1
- package/Components/Molecules/DatePicker/makeDatePickerStyling.d.ts +3 -3
- package/Components/Molecules/DropDownSelect/DropDownSelect.d.ts +1 -1
- package/Components/Molecules/DropDownSelect/DropDownSelectStory.d.ts +1 -1
- package/Components/Molecules/DropDownSelect/makeDropDownSelectStyling.d.ts +3 -3
- package/Components/Molecules/IconTileCheckBox/IconTileCheckBox.d.ts +1 -1
- package/Components/Molecules/IconTileCheckBox/IconTileCheckBoxStory.d.ts +1 -1
- package/Components/Molecules/IconTileCheckBox/makeIconTileCheckBoxStyling.d.ts +5 -5
- package/Components/Molecules/IconTileRadioButton/IconTileRadioButton.d.ts +1 -1
- package/Components/Molecules/IconTileRadioButton/IconTileRadioButton.test.js +1 -1
- package/Components/Molecules/IconTileRadioButton/IconTileRadioButtonStory.d.ts +1 -1
- package/Components/Molecules/IconTileRadioButton/makeIconTileRadioButtonStyling.d.ts +4 -4
- package/Components/Molecules/NavBar/NavBar.d.ts +1 -1
- package/Components/Molecules/NavBar/NavBarStory.d.ts +1 -1
- package/Components/Molecules/NavBar/makeNavBarStyles.d.ts +4 -4
- package/Components/Molecules/PhoneNumberTextField/PhoneNumberTextField.d.ts +1 -1
- package/Components/Molecules/PhoneNumberTextField/PhoneNumberTextFieldStory.d.ts +1 -1
- package/Components/Molecules/PhoneNumberTextField/makeFormControlPhoneNumberStyling.d.ts +1 -1
- package/Components/Molecules/RadioButton/RadioButton.d.ts +1 -1
- package/Components/Molecules/RadioButton/RadioButtonStory.d.ts +1 -1
- package/Components/Molecules/RadioButton/makeRadioButtonStyling.d.ts +7 -7
- package/Components/Molecules/ScrollContainer/ScrollContainer.test.js +1 -1
- package/Components/Molecules/ScrollContainer/ScrollContainerStory.d.ts +1 -1
- package/Components/Molecules/ScrollContainer/ScrollContainerTypes.d.ts +2 -2
- package/Components/Molecules/ScrollContainer/makeScrollContainerStyling.d.ts +3 -3
- package/Components/Molecules/SupplierCard/ISupplierCardProps.d.ts +1 -1
- package/Components/Molecules/SupplierCard/SupplierCard.d.ts +1 -1
- package/Components/Molecules/SupplierCard/SupplierCard.js +3 -2
- package/Components/Molecules/SupplierCard/SupplierCard.js.map +1 -1
- package/Components/Molecules/SupplierCard/SupplierCardStory.d.ts +2 -1
- package/Components/Molecules/SupplierCard/SupplierCardStory.js +2 -2
- package/Components/Molecules/SupplierCard/SupplierCardStory.js.map +1 -1
- package/Components/Molecules/SupplierCard/defaultProps.d.ts +0 -1
- package/Components/Molecules/SupplierCard/defaultProps.js +0 -1
- package/Components/Molecules/SupplierCard/defaultProps.js.map +1 -1
- package/Components/Molecules/SupplierCard/makeSupplierCardStyling.d.ts +20 -13
- package/Components/Molecules/SupplierCard/makeSupplierCardStyling.js +46 -30
- package/Components/Molecules/SupplierCard/makeSupplierCardStyling.js.map +1 -1
- package/Components/Molecules/TextField/TextField.d.ts +1 -1
- package/Components/Molecules/TextField/TextFieldStory.d.ts +1 -1
- package/Components/Molecules/ThankYouBanner/ThankYouBanner.d.ts +1 -1
- package/Components/Molecules/ThankYouBanner/ThankYouBannerStory.d.ts +1 -1
- package/Components/Molecules/ThankYouBanner/makeThankYouBannerStyling.d.ts +2 -2
- package/Components/Organisms/ListLayout/ListLayout.d.ts +1 -1
- package/Components/Organisms/ListLayout/ListLayoutStory.d.ts +1 -1
- package/Components/Organisms/ListLayout/makeListLayoutStyling.d.ts +2 -2
- package/Components/Organisms/RadioGroup/RadioGroup.d.ts +1 -1
- package/Components/Organisms/RadioGroup/RadioGroup.test.js +1 -1
- package/Components/Organisms/RadioGroup/RadioGroupContext.d.ts +1 -1
- package/Components/Organisms/RadioGroup/RadioGroupStory.d.ts +1 -1
- package/Components/Organisms/TileLayout/IconTileCheckBoxStory.d.ts +1 -1
- package/Components/Organisms/TileLayout/IconTileRadioButtonStory.d.ts +1 -1
- package/Components/Organisms/TileLayout/TileLayout.d.ts +1 -1
- package/Components/Organisms/TileLayout/makeTileLayoutStyling.d.ts +3 -3
- package/Helpers/React/FunctionComponentWithDefaultProps.d.ts +1 -1
- package/Helpers/React/css.d.ts +1 -1
- package/Helpers/icons.d.ts +1 -1
- package/Helpers/useThrottle.d.ts +1 -1
- package/Themes/StoryThemeWrapper.d.ts +1 -1
- package/Themes/themes.d.ts +2 -2
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
1
|
import { FunctionComponent } from 'react';
|
2
|
-
|
2
|
+
type WebsiteBuilderExpertLogoType = FunctionComponent;
|
3
3
|
declare const WebsiteBuilderExpertLogo: WebsiteBuilderExpertLogoType;
|
4
4
|
export default WebsiteBuilderExpertLogo;
|
package/Assets/svgs/svgs.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
|
2
|
+
type AnimationWrapperStoryType = React.FunctionComponent<{
|
3
3
|
effect: 'fadeIn' | 'fadeInUp' | 'fadeInDown' | 'fadeInLeft' | 'fadeInRight';
|
4
4
|
delay: number;
|
5
5
|
animationTime: number;
|
@@ -2,5 +2,5 @@ declare const makeAnimationWrapperStyling: ({ effect, delay, animationTime, }: {
|
|
2
2
|
effect?: string | undefined;
|
3
3
|
delay?: number | undefined;
|
4
4
|
animationTime?: number | undefined;
|
5
|
-
}) => import("@emotion/
|
5
|
+
}) => import("@emotion/utils").SerializedStyles;
|
6
6
|
export default makeAnimationWrapperStyling;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
|
2
2
|
import defaultProps from './defaultProps';
|
3
3
|
import IButtonProps from './IButtonProps';
|
4
|
-
|
4
|
+
type ButtonType = FunctionComponentWithDefaultProps<IButtonProps, typeof defaultProps>;
|
5
5
|
declare const Button: ButtonType;
|
6
6
|
export default Button;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { Theme } from '@emotion/react';
|
2
|
-
declare const makeButtonStyling: (disabled: boolean, theme: Theme, textOverflowHandling: string, invertColors: boolean) => import("@emotion/
|
2
|
+
declare const makeButtonStyling: (disabled: boolean, theme: Theme, textOverflowHandling: string, invertColors: boolean) => import("@emotion/utils").SerializedStyles;
|
3
3
|
export default makeButtonStyling;
|
@@ -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
|
-
|
4
|
+
type CardButtonType = FunctionComponentWithDefaultProps<ICardButtonProps, typeof defaultProps>;
|
5
5
|
declare const CardButton: CardButtonType;
|
6
6
|
export default CardButton;
|
@@ -3,9 +3,9 @@ interface ICardStylingProps {
|
|
3
3
|
selected: boolean;
|
4
4
|
outlined?: boolean;
|
5
5
|
}
|
6
|
-
declare const makeCardButtonStyling: ({ isError, selected, outlined, }: ICardStylingProps) => import("@emotion/
|
6
|
+
declare const makeCardButtonStyling: ({ isError, selected, outlined, }: ICardStylingProps) => import("@emotion/utils").SerializedStyles;
|
7
7
|
interface ICardStylingOverlayProps {
|
8
8
|
selected: boolean;
|
9
9
|
}
|
10
|
-
export declare const makeCardButtonSelectedOverlayStyling: ({ selected, }: ICardStylingOverlayProps) => import("@emotion/
|
10
|
+
export declare const makeCardButtonSelectedOverlayStyling: ({ selected, }: ICardStylingOverlayProps) => import("@emotion/utils").SerializedStyles;
|
11
11
|
export default makeCardButtonStyling;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ITheme } from '../../../Themes/themes';
|
2
|
-
declare const makeCircularProgressStyling: (theme: ITheme) => import("@emotion/
|
2
|
+
declare const makeCircularProgressStyling: (theme: ITheme) => import("@emotion/utils").SerializedStyles;
|
3
3
|
export default makeCircularProgressStyling;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ITheme } from '../../../Themes/themes';
|
2
|
-
declare const makeErrorMessageStyles: (theme: ITheme) => import("@emotion/
|
2
|
+
declare const makeErrorMessageStyles: (theme: ITheme) => import("@emotion/utils").SerializedStyles;
|
3
3
|
export default makeErrorMessageStyles;
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
|
2
|
+
type ErrorMessageProviderProps = {
|
3
3
|
errorMessage: string | undefined;
|
4
4
|
};
|
5
|
-
|
5
|
+
type ErrorMessageProviderType = React.FunctionComponent<{
|
6
6
|
children: React.ReactNode;
|
7
7
|
errorMessage?: string;
|
8
8
|
}>;
|
9
9
|
declare const ErrorMessageProvider: ErrorMessageProviderType;
|
10
|
-
|
10
|
+
type UseErrorMessageProps = {
|
11
11
|
isErrorMessageProviderRequired: boolean;
|
12
12
|
};
|
13
13
|
declare const useErrorMessage: (props?: UseErrorMessageProps) => ErrorMessageProviderProps;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
|
2
2
|
import defaultProps from './defaultProps';
|
3
3
|
import IFormControlProps from './IFormControlProps';
|
4
|
-
|
4
|
+
type FormControlType = FunctionComponentWithDefaultProps<IFormControlProps, typeof defaultProps>;
|
5
5
|
declare const FormControl: FormControlType;
|
6
6
|
export default FormControl;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const makeFormControlStyles: () => import("@emotion/
|
1
|
+
declare const makeFormControlStyles: () => import("@emotion/utils").SerializedStyles;
|
2
2
|
export default makeFormControlStyles;
|
@@ -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
|
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
|
-
|
3
|
+
type ButtonStartIconStoryType = React.FunctionComponent<{
|
4
4
|
disabled: boolean;
|
5
5
|
iconType: keyof IIcons;
|
6
6
|
children: React.ReactNode;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const makeIconButtonStyling: () => import("@emotion/
|
1
|
+
export declare const makeIconButtonStyling: () => import("@emotion/utils").SerializedStyles;
|
2
2
|
export default makeIconButtonStyling;
|
@@ -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
|
-
|
5
|
+
type InfoPanelType = FunctionComponentWithDefaultProps<IInfoPanelProps, typeof defaultProps>;
|
6
6
|
declare const InfoPanel: InfoPanelType;
|
7
7
|
export default InfoPanel;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
declare const makeInfoPanelStyling: () => {
|
2
|
-
panel: import("@emotion/
|
3
|
-
iconBox: import("@emotion/
|
4
|
-
textBox: import("@emotion/
|
5
|
-
title: import("@emotion/
|
6
|
-
children: import("@emotion/
|
2
|
+
panel: import("@emotion/utils").SerializedStyles;
|
3
|
+
iconBox: import("@emotion/utils").SerializedStyles;
|
4
|
+
textBox: import("@emotion/utils").SerializedStyles;
|
5
|
+
title: import("@emotion/utils").SerializedStyles;
|
6
|
+
children: import("@emotion/utils").SerializedStyles;
|
7
7
|
};
|
8
8
|
export default makeInfoPanelStyling;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
|
2
2
|
import defaultProps from './defaultProps';
|
3
3
|
import IInputProps from './IInputProps';
|
4
|
-
|
4
|
+
type InputType = FunctionComponentWithDefaultProps<IInputProps, typeof defaultProps>;
|
5
5
|
declare const Input: InputType;
|
6
6
|
export default Input;
|
@@ -6,9 +6,9 @@ interface IInputStyleProps {
|
|
6
6
|
error: boolean;
|
7
7
|
}
|
8
8
|
declare const makeInputStyles: ({ isAnswered, isOtherOption, isSafari, isAutoFilledActive, error, }: IInputStyleProps) => {
|
9
|
-
input: import("@emotion/
|
10
|
-
validationIcon: import("@emotion/
|
11
|
-
adornmentEnd: import("@emotion/
|
12
|
-
adornmentStart: import("@emotion/
|
9
|
+
input: import("@emotion/utils").SerializedStyles;
|
10
|
+
validationIcon: import("@emotion/utils").SerializedStyles;
|
11
|
+
adornmentEnd: import("@emotion/utils").SerializedStyles;
|
12
|
+
adornmentStart: import("@emotion/utils").SerializedStyles;
|
13
13
|
};
|
14
14
|
export default makeInputStyles;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
|
2
2
|
import defaultProps from './defaultProps';
|
3
3
|
import IInputLabelProps from './IInputLabelProps';
|
4
|
-
|
4
|
+
type InputLabelType = FunctionComponentWithDefaultProps<IInputLabelProps, typeof defaultProps>;
|
5
5
|
declare const InputLabel: InputLabelType;
|
6
6
|
export default InputLabel;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
interface IInputStyleProps {
|
2
2
|
isAnswered?: boolean;
|
3
3
|
}
|
4
|
-
declare const makeInputLabelStyles: ({ isAnswered }: IInputStyleProps) => import("@emotion/
|
4
|
+
declare const makeInputLabelStyles: ({ isAnswered }: IInputStyleProps) => import("@emotion/utils").SerializedStyles;
|
5
5
|
export default makeInputLabelStyles;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { SerializedStyles } from '@emotion/react';
|
3
|
-
|
3
|
+
type InsetCheckboxProps = {
|
4
4
|
checked: boolean;
|
5
5
|
dataTestId?: string;
|
6
6
|
customCss?: SerializedStyles;
|
7
7
|
};
|
8
|
-
|
8
|
+
type InsetCheckboxType = React.FunctionComponent<InsetCheckboxProps>;
|
9
9
|
declare const InsetCheckbox: InsetCheckboxType;
|
10
10
|
export default InsetCheckbox;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
|
2
2
|
import defaultProps from './defaultProps';
|
3
3
|
import ILinkProps from './ILinkProps';
|
4
|
-
|
4
|
+
type LinkType = FunctionComponentWithDefaultProps<ILinkProps, typeof defaultProps>;
|
5
5
|
declare const Link: LinkType;
|
6
6
|
export default Link;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
interface ILinkStylingProps {
|
2
2
|
variant?: 'button' | 'footer' | 'text';
|
3
3
|
}
|
4
|
-
declare const makeLinkStyling: ({ variant }: ILinkStylingProps) => import("@emotion/
|
4
|
+
declare const makeLinkStyling: ({ variant }: ILinkStylingProps) => import("@emotion/utils").SerializedStyles;
|
5
5
|
export default makeLinkStyling;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
2
2
|
import { FunctionComponent } from 'react';
|
3
3
|
import IComponentProps from './IComponentProps';
|
4
|
-
|
4
|
+
type LoadingIndicatorType = FunctionComponent<IComponentProps>;
|
5
5
|
declare const LoadingIndicator: LoadingIndicatorType;
|
6
6
|
export default LoadingIndicator;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const makeLinearProgressStyling: () => import("@emotion/
|
1
|
+
declare const makeLinearProgressStyling: () => import("@emotion/utils").SerializedStyles;
|
2
2
|
export default makeLinearProgressStyling;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
declare const makeModalStylings: () => {
|
2
|
-
box: import("@emotion/
|
3
|
-
close: import("@emotion/
|
4
|
-
text: import("@emotion/
|
2
|
+
box: import("@emotion/utils").SerializedStyles;
|
3
|
+
close: import("@emotion/utils").SerializedStyles;
|
4
|
+
text: import("@emotion/utils").SerializedStyles;
|
5
5
|
};
|
6
6
|
export default makeModalStylings;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
|
2
2
|
import defaultProps from './defaultProps';
|
3
3
|
import IComponentProps from './IComponentProps';
|
4
|
-
|
4
|
+
type ProgressBarType = FunctionComponentWithDefaultProps<IComponentProps, typeof defaultProps>;
|
5
5
|
declare const ProgressBar: ProgressBarType;
|
6
6
|
export default ProgressBar;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ITheme } from '../../../Themes/themes';
|
2
2
|
declare const makeProgressBarStyling: (theme: ITheme, useLightText: boolean) => {
|
3
|
-
container: import("@emotion/
|
4
|
-
progressBar: import("@emotion/
|
5
|
-
text: import("@emotion/
|
3
|
+
container: import("@emotion/utils").SerializedStyles;
|
4
|
+
progressBar: import("@emotion/utils").SerializedStyles;
|
5
|
+
text: import("@emotion/utils").SerializedStyles;
|
6
6
|
};
|
7
7
|
export default makeProgressBarStyling;
|
@@ -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
|
-
|
4
|
+
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
|
-
|
2
|
+
type TextStoryType = React.FunctionComponent<{
|
3
3
|
text: string;
|
4
4
|
variant: 'header' | 'note' | 'summary' | 'question' | 'text' | 'footer' | 'listItem' | 'tileItem' | 'contentWithList';
|
5
5
|
align: 'center' | 'inherit' | 'justify' | 'left' | 'right';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
interface IStyleProps {
|
2
2
|
variant: 'header' | 'summary' | 'note' | 'question' | 'text' | 'footer' | 'listItem' | 'tileItem' | 'contentWithList' | 'tickedList';
|
3
3
|
}
|
4
|
-
declare const makeTextStyling: ({ variant }: IStyleProps) => import("@emotion/
|
4
|
+
declare const makeTextStyling: ({ variant }: IStyleProps) => import("@emotion/utils").SerializedStyles;
|
5
5
|
export default makeTextStyling;
|
@@ -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
|
-
|
4
|
+
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 (_) try {
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) 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
|
-
|
3
|
+
type CheckBoxStoryType = React.FunctionComponent<{
|
4
4
|
error: boolean;
|
5
5
|
showText: boolean;
|
6
6
|
iconType: keyof ISvgs | 'none';
|
@@ -1,13 +1,13 @@
|
|
1
|
-
export declare const getPlaceholderStyles: (isTextCentered: boolean, isIconPresent: boolean) => import("@emotion/
|
1
|
+
export declare const getPlaceholderStyles: (isTextCentered: boolean, isIconPresent: boolean) => import("@emotion/utils").SerializedStyles;
|
2
2
|
declare const makeCheckBoxStyling: () => {
|
3
|
-
checkbox: import("@emotion/
|
4
|
-
checkboxContainerRight: import("@emotion/
|
5
|
-
grid: import("@emotion/
|
6
|
-
centerIcon: import("@emotion/
|
7
|
-
leftIcon: import("@emotion/
|
8
|
-
imgDiv: import("@emotion/
|
9
|
-
innerGrid: import("@emotion/
|
10
|
-
textGrid: import("@emotion/
|
11
|
-
otherInput: import("@emotion/
|
3
|
+
checkbox: import("@emotion/utils").SerializedStyles;
|
4
|
+
checkboxContainerRight: import("@emotion/utils").SerializedStyles;
|
5
|
+
grid: import("@emotion/utils").SerializedStyles;
|
6
|
+
centerIcon: import("@emotion/utils").SerializedStyles;
|
7
|
+
leftIcon: import("@emotion/utils").SerializedStyles;
|
8
|
+
imgDiv: import("@emotion/utils").SerializedStyles;
|
9
|
+
innerGrid: import("@emotion/utils").SerializedStyles;
|
10
|
+
textGrid: import("@emotion/utils").SerializedStyles;
|
11
|
+
otherInput: import("@emotion/utils").SerializedStyles;
|
12
12
|
};
|
13
13
|
export default makeCheckBoxStyling;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FunctionComponentWithDefaultProps } from '../../../Helpers/React';
|
2
2
|
import IDatePickerProps from './IDatePickerProps';
|
3
3
|
import defaultProps from './defaultProps';
|
4
|
-
|
4
|
+
type DatePickerType = FunctionComponentWithDefaultProps<IDatePickerProps, typeof defaultProps>;
|
5
5
|
declare const DatePicker: DatePickerType;
|
6
6
|
export default DatePicker;
|
@@ -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
|
-
|
8
|
+
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 (_) try {
|
28
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) 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]) {
|
@@ -3,8 +3,8 @@ interface ITextFieldStyleProps {
|
|
3
3
|
isError: boolean;
|
4
4
|
}
|
5
5
|
declare const makeDatePickerStyling: ({ isValid, isError }: ITextFieldStyleProps) => {
|
6
|
-
datePickerContainer: import("@emotion/
|
7
|
-
inputAdornmentEnd: import("@emotion/
|
8
|
-
globalStyles: import("@emotion/
|
6
|
+
datePickerContainer: import("@emotion/utils").SerializedStyles;
|
7
|
+
inputAdornmentEnd: import("@emotion/utils").SerializedStyles;
|
8
|
+
globalStyles: import("@emotion/utils").SerializedStyles;
|
9
9
|
};
|
10
10
|
export default makeDatePickerStyling;
|