@skodaflow/web-library 3.2.5 → 3.3.0-alpha.0
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.
- package/build/components/backdrop/backdrop.d.ts +3 -0
- package/build/components/button/button.d.ts +1 -0
- package/build/components/cardMenu/styled/menuListStyled.d.ts +1 -1
- package/build/components/cardMenu/styled/popperStyled.d.ts +10 -1
- package/build/components/checkbox/checkbox.d.ts +1 -0
- package/build/components/chip/regular/chip.d.ts +1 -0
- package/build/components/closeDialogButton/index.d.ts +4 -0
- package/build/components/common/helperText.d.ts +2 -2
- package/build/components/common/imageComponent.d.ts +2 -2
- package/build/components/common/resizableSliderInput.d.ts +1 -1
- package/build/components/common/styled/textFieldStyled.d.ts +3 -17
- package/build/components/common/textInputHelperText.d.ts +2 -2
- package/build/components/container/container.d.ts +2 -1
- package/build/components/divider/divider.d.ts +1 -0
- package/build/components/grid/grid.d.ts +3 -2
- package/build/components/iconButton/index.d.ts +35 -0
- package/build/components/index.d.ts +2 -0
- package/build/components/modal/contentDiv.d.ts +1 -1
- package/build/components/pagination/pagination.d.ts +1 -1
- package/build/components/radioButton/radioButton.d.ts +2 -1
- package/build/components/selectInput/inputLabelSelect.d.ts +2 -2
- package/build/components/selectInput/selectInput.d.ts +1 -0
- package/build/components/tab/index.d.ts +1 -0
- package/build/components/textArea/textArea.d.ts +3 -0
- package/build/components/textInput/textInput.d.ts +1 -0
- package/build/components/toggleSwitch/toggleSwitch.d.ts +2 -1
- package/build/components/tooltip/tooltip.d.ts +1 -0
- package/build/design/skoda/components/tabs/index.d.ts +2 -0
- package/build/design/skoda/components/tabs/theme.tab.d.ts +2 -0
- package/build/design/skoda/components/tabs/theme.tabs.d.ts +2 -0
- package/build/design/skoda/components/theme.baseline.d.ts +3 -0
- package/build/design/skoda/components/theme.button.d.ts +2 -43
- package/build/design/skoda/components/theme.buttonBase.d.ts +2 -0
- package/build/design/skoda/components/theme.checkbox.d.ts +2 -2
- package/build/design/skoda/components/theme.chip.d.ts +2 -10
- package/build/design/skoda/components/theme.container.d.ts +2 -2
- package/build/design/skoda/components/theme.dialog.d.ts +2 -0
- package/build/design/skoda/components/theme.dialogActions.d.ts +2 -0
- package/build/design/skoda/components/theme.dialogTitle.d.ts +2 -0
- package/build/design/skoda/components/theme.filledInput.d.ts +2 -0
- package/build/design/skoda/components/theme.formControl.d.ts +2 -0
- package/build/design/skoda/components/theme.formControlLabel.d.ts +2 -2
- package/build/design/skoda/components/theme.formHelperText.d.ts +2 -0
- package/build/design/skoda/components/theme.formLabel.d.ts +2 -0
- package/build/design/skoda/components/theme.iconButton.d.ts +3 -0
- package/build/design/skoda/components/theme.input.d.ts +2 -0
- package/build/design/skoda/components/theme.inputAdornment.d.ts +2 -0
- package/build/design/skoda/components/theme.inputBase.d.ts +2 -0
- package/build/design/skoda/components/theme.inputLabel.d.ts +2 -0
- package/build/design/skoda/components/theme.list.d.ts +2 -0
- package/build/design/skoda/components/theme.listItemText.d.ts +2 -0
- package/build/design/skoda/components/theme.menuItem.d.ts +2 -2
- package/build/design/skoda/components/theme.paper.d.ts +2 -0
- package/build/design/skoda/components/theme.popover.d.ts +2 -0
- package/build/design/skoda/components/theme.radio.d.ts +2 -2
- package/build/design/skoda/components/theme.switch.d.ts +2 -6
- package/build/design/skoda/index.d.ts +10 -4
- package/build/design/skoda/{theme.palette-new-ci.d.ts → theme.extensions.d.ts} +42 -5
- package/build/design/skoda/theme.palette.d.ts +2 -0
- package/build/design/skoda/theme.typography.d.ts +11 -36
- package/build/index.es.js +4 -4
- package/build/index.es.js.map +1 -1
- package/build/index.js +4 -4
- package/build/index.js.map +1 -1
- package/build/layout/Header/HeaderButton.d.ts +1 -1
- package/build/layout/Header/HeaderLogo.d.ts +1 -1
- package/build/layout/Header/HeaderNavigationItem.d.ts +1 -1
- package/build/layout/Header/HeaderOverheadItem.d.ts +1 -1
- package/build/layout/Header/HeaderSkodaLogo.d.ts +1 -1
- package/build/layout/Header/PredefinedHeaderButtons.d.ts +11 -11
- package/build/organisms/carousel/carousel.d.ts +2 -2
- package/build/organisms/carousel/carouselButton.d.ts +3 -3
- package/build/organisms/carousel/carouselTemplate.d.ts +2 -2
- package/build/organisms/carousel2/carousel2.d.ts +2 -2
- package/build/organisms/carousel2/carouselButton.d.ts +3 -3
- package/build/organisms/carousel2/carouselTemplate.d.ts +3 -3
- package/build/organisms/common/styled/cardStandardWrapperStyled.d.ts +1 -1
- package/build/organisms/shortcutLink/shortcutLink.d.ts +2 -2
- package/package.json +5 -5
- package/theme/skoda/globals.css +85 -17
- package/build/design/skoda/components/theme.menu.d.ts +0 -2
- package/build/design/skoda/components/theme.tab.d.ts +0 -2
- package/build/design/skoda/theme.baseline.d.ts +0 -5
|
@@ -39,4 +39,7 @@ export interface BackdropProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
39
39
|
*/
|
|
40
40
|
onClose?: (isOpen: boolean) => void;
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated This component is deprecated. Use themed Backdrop component from @mui/material instead
|
|
44
|
+
*/
|
|
42
45
|
export declare const Backdrop: React.ForwardRefExoticComponent<BackdropProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -52,5 +52,6 @@ export interface ButtonProps extends Omit<React.HTMLAttributes<HTMLButtonElement
|
|
|
52
52
|
* Properties are inherited from HTML Button element.
|
|
53
53
|
* @param props ButtonProps
|
|
54
54
|
* @returns React Functional Component
|
|
55
|
+
* @deprecated Use Button component from '@mui/material' module instead.
|
|
55
56
|
*/
|
|
56
57
|
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -15,7 +15,7 @@ export declare const MenuListStyled: import("@emotion/styled").StyledComponent<{
|
|
|
15
15
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
|
|
16
16
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "key" | keyof import("react").HTMLAttributes<HTMLUListElement>> & {
|
|
17
17
|
ref?: import("react").Ref<HTMLUListElement>;
|
|
18
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "
|
|
18
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "autoFocus" | "children" | "autoFocusItem" | "disabledItemsFocusable" | "disableListWrap" | "variant" | "dense" | "disablePadding" | "subheader" | "sx"> & {
|
|
19
19
|
theme?: import("@emotion/react").Theme;
|
|
20
20
|
} & {
|
|
21
21
|
theme?: any;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const PopperStyled: import("@emotion/styled").StyledComponent<
|
|
2
|
+
export declare const PopperStyled: import("@emotion/styled").StyledComponent<Omit<import("@mui/base").PopperProps<"div">, "direction"> & {
|
|
3
|
+
component?: import("react").ElementType<any>;
|
|
4
|
+
components?: {
|
|
5
|
+
Root?: import("react").ElementType<any>;
|
|
6
|
+
};
|
|
7
|
+
componentsProps?: {
|
|
8
|
+
root?: import("@mui/base").SlotComponentProps<"div", import("@mui/base").PopperRootSlotPropsOverrides, import("@mui/base").PopperOwnProps>;
|
|
9
|
+
};
|
|
10
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
|
|
11
|
+
} & import("react").RefAttributes<HTMLDivElement> & {
|
|
3
12
|
theme?: import("@emotion/react").Theme;
|
|
4
13
|
} & {
|
|
5
14
|
theme?: any;
|
|
@@ -50,5 +50,6 @@ export interface CheckboxProps extends Omit<React.HTMLAttributes<HTMLButtonEleme
|
|
|
50
50
|
* Properties are inherited from HTML Button element.
|
|
51
51
|
* @param props CheckboxProps
|
|
52
52
|
* @returns React Functional Component
|
|
53
|
+
* @deprecated Use Checkbox component from '@mui/material' module instead.
|
|
53
54
|
*/
|
|
54
55
|
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -35,5 +35,6 @@ export interface ChipProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
35
35
|
* Properties are inherited from HTML Div element.
|
|
36
36
|
* @param props ChipProps
|
|
37
37
|
* @returns React Functional Component
|
|
38
|
+
* @deprecated This component is deprecated. Use themed Chip Component from @mui/material instead.
|
|
38
39
|
*/
|
|
39
40
|
export declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface HelperTextProps {
|
|
3
3
|
/**
|
|
4
4
|
* Disabled, not clickable
|
|
@@ -25,5 +25,5 @@ export interface HelperTextProps {
|
|
|
25
25
|
*/
|
|
26
26
|
type?: 'number' | 'text';
|
|
27
27
|
}
|
|
28
|
-
declare const HelperText: ({ disabled, hasError, helpText, maxChars, currentValue, type }: HelperTextProps) => JSX.Element;
|
|
28
|
+
declare const HelperText: ({ disabled, hasError, helpText, maxChars, currentValue, type }: HelperTextProps) => React.JSX.Element;
|
|
29
29
|
export default HelperText;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface ImageComponentProps {
|
|
3
3
|
/**
|
|
4
4
|
* The source of the image.
|
|
@@ -21,5 +21,5 @@ interface ImageComponentProps {
|
|
|
21
21
|
*/
|
|
22
22
|
fallbackImage?: string;
|
|
23
23
|
}
|
|
24
|
-
declare const ImageComponent: ({ image, alt, fallbackImage, height, width }: ImageComponentProps) => JSX.Element;
|
|
24
|
+
declare const ImageComponent: ({ image, alt, fallbackImage, height, width }: ImageComponentProps) => React.JSX.Element;
|
|
25
25
|
export default ImageComponent;
|
|
@@ -13,5 +13,5 @@ export interface ResizableSliderInputInterface {
|
|
|
13
13
|
decimalSeparator?: '.' | ',';
|
|
14
14
|
hiddenDecimalSeparator?: boolean;
|
|
15
15
|
}
|
|
16
|
-
declare const ResizableSliderInput: ({ value: values, onChange, isCurrencyInFront, textDescription, labelText, className, id, thumb, disabled, thousandsSeparator, decimalSeparator, hiddenDecimalSeparator, }: ResizableSliderInputInterface) => JSX.Element;
|
|
16
|
+
declare const ResizableSliderInput: ({ value: values, onChange, isCurrencyInFront, textDescription, labelText, className, id, thumb, disabled, thousandsSeparator, decimalSeparator, hiddenDecimalSeparator, }: ResizableSliderInputInterface) => React.JSX.Element;
|
|
17
17
|
export default ResizableSliderInput;
|
|
@@ -1,23 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @description TextInput styling definition based on props
|
|
3
3
|
*/
|
|
4
|
-
declare const TextFieldStyled: import("@emotion/styled").StyledComponent<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
hasError?: boolean;
|
|
8
|
-
hideBg?: boolean;
|
|
9
|
-
icon?: string;
|
|
10
|
-
focused?: boolean;
|
|
11
|
-
hovered?: boolean;
|
|
12
|
-
}) | (import("@mui/material/TextField").FilledTextFieldProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
13
|
-
isSelect?: boolean;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
hasError?: boolean;
|
|
16
|
-
hideBg?: boolean;
|
|
17
|
-
icon?: string;
|
|
18
|
-
focused?: boolean;
|
|
19
|
-
hovered?: boolean;
|
|
20
|
-
}) | (import("@mui/material/TextField").OutlinedTextFieldProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
4
|
+
declare const TextFieldStyled: import("@emotion/styled").StyledComponent<{
|
|
5
|
+
variant?: import("@mui/material/TextField").TextFieldVariants;
|
|
6
|
+
} & Omit<import("@mui/material/TextField").FilledTextFieldProps | import("@mui/material/TextField").OutlinedTextFieldProps | import("@mui/material/TextField").StandardTextFieldProps, "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & ((import("@mui/material/TextField").FilledTextFieldProps | import("@mui/material/TextField").OutlinedTextFieldProps | import("@mui/material/TextField").StandardTextFieldProps) & {
|
|
21
7
|
isSelect?: boolean;
|
|
22
8
|
disabled?: boolean;
|
|
23
9
|
hasError?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface HelperTextProps {
|
|
3
3
|
/**
|
|
4
4
|
* Disabled, not clickable
|
|
@@ -26,5 +26,5 @@ export interface HelperTextProps {
|
|
|
26
26
|
type?: 'number' | 'text';
|
|
27
27
|
width?: string;
|
|
28
28
|
}
|
|
29
|
-
declare const TextInputHelperText: ({ disabled, hasError, helpText, maxChars, currentValue, type, width }: HelperTextProps) => JSX.Element;
|
|
29
|
+
declare const TextInputHelperText: ({ disabled, hasError, helpText, maxChars, currentValue, type, width }: HelperTextProps) => React.JSX.Element;
|
|
30
30
|
export default TextInputHelperText;
|
|
@@ -3,6 +3,7 @@ import React, { ReactNode } from 'react';
|
|
|
3
3
|
* @interface ContainerProps
|
|
4
4
|
* @description Base definition of SkodaFlow Container independent on core implementation.
|
|
5
5
|
* Properties are inherited from HTML Container element
|
|
6
|
+
* @deprecated this Component is deprecated. Use Container from @mui/material instead
|
|
6
7
|
*/
|
|
7
8
|
export interface ContainerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color' | 'size'> {
|
|
8
9
|
/**
|
|
@@ -41,4 +42,4 @@ export interface ContainerProps extends Omit<React.HTMLAttributes<HTMLDivElement
|
|
|
41
42
|
* @param props ContainerProps
|
|
42
43
|
* @returns React Functional Component
|
|
43
44
|
*/
|
|
44
|
-
export declare const Container: (props: any) => JSX.Element;
|
|
45
|
+
export declare const Container: (props: any) => React.JSX.Element;
|
|
@@ -23,5 +23,6 @@ export interface DividerProps extends React.HTMLAttributes<HTMLHRElement> {
|
|
|
23
23
|
* Properties are inherited from HTML HR Attribetes element.
|
|
24
24
|
* @param props DividerProps
|
|
25
25
|
* @returns React Functional Component
|
|
26
|
+
* @deprecated This component is deprecated. Use themed Divider component from '@mui/material' instead.
|
|
26
27
|
*/
|
|
27
28
|
export declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLHRElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { GridDirection, GridSize, GridSpacing } from '@mui/material/Grid';
|
|
2
2
|
import { Theme } from '@mui/material/styles';
|
|
3
|
-
import { GridSpacing, GridDirection, GridSize } from '@mui/material/Grid';
|
|
4
3
|
import { ResponsiveStyleValue, SxProps } from '@mui/system';
|
|
4
|
+
import React, { ReactNode } from 'react';
|
|
5
5
|
/**
|
|
6
6
|
* @interface GridProps
|
|
7
7
|
* @description Base definition of SkodaFlow Grid independent on core implementation.
|
|
@@ -112,5 +112,6 @@ export interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
112
112
|
* @description SkodaFlow Grid component.
|
|
113
113
|
* @param props GridProps
|
|
114
114
|
* @returns React Functional Component
|
|
115
|
+
* @deprecated This component is deprecated. Use Grid and Container components from @mui/material
|
|
115
116
|
*/
|
|
116
117
|
export declare const Grid: React.FC<GridProps>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IconButtonProps as MuiIconButtonProps } from '@mui/material';
|
|
3
|
+
export type IconButtonProps = MuiIconButtonProps & {
|
|
4
|
+
variant?: 'filled' | 'outlined' | 'standard';
|
|
5
|
+
};
|
|
6
|
+
export declare const IconButton: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
children?: import("react").ReactNode;
|
|
8
|
+
classes?: Partial<import("@mui/material").IconButtonClasses>;
|
|
9
|
+
color?: "inherit" | "primary" | "secondary";
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
disableFocusRipple?: boolean;
|
|
12
|
+
edge?: false | "start" | "end";
|
|
13
|
+
size?: "small" | "medium" | "large";
|
|
14
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
|
|
15
|
+
} & Omit<{
|
|
16
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions>;
|
|
17
|
+
centerRipple?: boolean;
|
|
18
|
+
children?: import("react").ReactNode;
|
|
19
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses>;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
disableRipple?: boolean;
|
|
22
|
+
disableTouchRipple?: boolean;
|
|
23
|
+
focusRipple?: boolean;
|
|
24
|
+
focusVisibleClassName?: string;
|
|
25
|
+
LinkComponent?: import("react").ElementType<any>;
|
|
26
|
+
onFocusVisible?: import("react").FocusEventHandler<any>;
|
|
27
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
|
|
28
|
+
tabIndex?: number;
|
|
29
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps>;
|
|
30
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions>;
|
|
31
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
32
|
+
ref?: import("react").Ref<HTMLButtonElement>;
|
|
33
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "size"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
34
|
+
variant?: 'filled' | 'outlined' | 'standard';
|
|
35
|
+
}, {}, {}>;
|
|
@@ -12,4 +12,4 @@ export interface ContentDivProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
12
12
|
* @param props ContentDivProps
|
|
13
13
|
* @returns React Functional Component
|
|
14
14
|
*/
|
|
15
|
-
export declare const ContentDiv: ({ children, setIsOverFlowing, className, modalLoadedCallback }: ContentDivProps) => JSX.Element;
|
|
15
|
+
export declare const ContentDiv: ({ children, setIsOverFlowing, className, modalLoadedCallback }: ContentDivProps) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Theme } from '@mui/material/styles';
|
|
3
2
|
import { SxProps } from '@mui/system';
|
|
3
|
+
import React from 'react';
|
|
4
4
|
export interface PaginationProps extends Omit<React.HTMLAttributes<HTMLButtonElement>, 'color' | 'size'> {
|
|
5
5
|
/**
|
|
6
6
|
* The total number of pages.
|
|
@@ -43,5 +43,6 @@ export interface RadioButtonProps extends Omit<HTMLAttributes<HTMLButtonElement>
|
|
|
43
43
|
* @description Styled SkodaFlow RadioButton component
|
|
44
44
|
* @param props RadioButtonProps
|
|
45
45
|
* @returns React Functional Component
|
|
46
|
+
* @deprecated This component is deprecated. Use use FormControlLabel and Radio components from @mui/material instead.
|
|
46
47
|
*/
|
|
47
|
-
export declare const RadioButton: React.ForwardRefExoticComponent<Pick<RadioButtonProps, "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "checked" | "error" | "required" | "value" | "label"> & React.RefAttributes<HTMLButtonElement>>;
|
|
48
|
+
export declare const RadioButton: React.ForwardRefExoticComponent<Pick<RadioButtonProps, "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "checked" | "error" | "required" | "value" | "label"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare const InputLabelSelect: ({ staticLabel, currentValue, opened, label }: {
|
|
3
3
|
staticLabel: any;
|
|
4
4
|
currentValue: any;
|
|
5
5
|
opened: any;
|
|
6
6
|
label: any;
|
|
7
|
-
}) => JSX.Element;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
8
|
export default InputLabelSelect;
|
|
@@ -83,5 +83,6 @@ export interface SelectInputProps {
|
|
|
83
83
|
* Properties are inherited from HTML input element.
|
|
84
84
|
* @param props SelectInputProps
|
|
85
85
|
* @returns React Functional Component
|
|
86
|
+
* @deprecated This component is deprecated. Use themed Select component from @mui/material instead.
|
|
86
87
|
*/
|
|
87
88
|
export declare const SelectInput: React.ForwardRefExoticComponent<SelectInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextInputProps } from '../common/interface/textInputInterface';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated This component is deprecated. Use themed TextField component from @mui/material with multiline prop set to true.
|
|
5
|
+
*/
|
|
3
6
|
export declare const TextArea: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -5,5 +5,6 @@ import { TextInputProps } from '../common/interface/textInputInterface';
|
|
|
5
5
|
* Properties are inherited from HTML input element.
|
|
6
6
|
* @param props TextInputProps
|
|
7
7
|
* @returns React Functional Component
|
|
8
|
+
* @deprecated this component is deprecated. Use themed TextField component from @mui/material instead.
|
|
8
9
|
*/
|
|
9
10
|
export declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -2,7 +2,8 @@ import React from 'react';
|
|
|
2
2
|
/**
|
|
3
3
|
* @interface ToggleSwitchProps
|
|
4
4
|
* @description Base definition of SkodaFlow ToggleSwitch independent on core implementation.
|
|
5
|
-
* Properties are inherited from HTML Button element
|
|
5
|
+
* Properties are inherited from HTML Button element.
|
|
6
|
+
* @deprecated This component is deprecated. Use themed Switch and FromControlLabel components from @mui/material instead.
|
|
6
7
|
*/
|
|
7
8
|
export interface ToggleSwitchProps extends Omit<React.HTMLAttributes<HTMLButtonElement>, 'onChange' | 'size' | 'color'> {
|
|
8
9
|
/**
|
|
@@ -28,5 +28,6 @@ export interface TooltipProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
|
28
28
|
* @description SkodaFlow Tooltip component.
|
|
29
29
|
* @param props TooltipProps
|
|
30
30
|
* @returns React Functional Component
|
|
31
|
+
* @deprecated This component is deprecated. Use themed Tooltip component from @mui/material instead.
|
|
31
32
|
*/
|
|
32
33
|
export declare const Tooltip: React.FC<TooltipProps>;
|
|
@@ -1,44 +1,3 @@
|
|
|
1
1
|
import { Components } from '@mui/material/styles/components';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
tertiary: true;
|
|
5
|
-
ghost: true;
|
|
6
|
-
primary: true;
|
|
7
|
-
secondary: true;
|
|
8
|
-
navigation: true;
|
|
9
|
-
}
|
|
10
|
-
interface ButtonPropsSizeOverrides {
|
|
11
|
-
compact: true;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export declare const navigationButtonStyle: {
|
|
15
|
-
color: string;
|
|
16
|
-
padding: string;
|
|
17
|
-
fontWeight: number;
|
|
18
|
-
lineHeight: string;
|
|
19
|
-
'&:hover': {
|
|
20
|
-
backgroundColor: string;
|
|
21
|
-
'.MuiButton-startIcon': {
|
|
22
|
-
marginLeft: number;
|
|
23
|
-
marginRight: number;
|
|
24
|
-
};
|
|
25
|
-
'.MuiButton-endIcon': {
|
|
26
|
-
marginLeft: number;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
'&:disabled': {
|
|
30
|
-
backgroundColor: string;
|
|
31
|
-
color: string;
|
|
32
|
-
'& .MuiIcon-root': {
|
|
33
|
-
color: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
'.MuiButton-startIcon': {
|
|
37
|
-
transition: string;
|
|
38
|
-
};
|
|
39
|
-
'.MuiButton-endIcon': {
|
|
40
|
-
marginLeft: number;
|
|
41
|
-
transition: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
export declare const flowButton: Components['MuiButton'];
|
|
2
|
+
import { Theme } from '@mui/material';
|
|
3
|
+
export declare const flowButton: Components<Theme>['MuiButton'];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Components } from '@mui/material/styles';
|
|
2
|
-
export declare const flowCheckbox: Components['MuiCheckbox'];
|
|
1
|
+
import { Components, Theme } from '@mui/material/styles';
|
|
2
|
+
export declare const flowCheckbox: Components<Theme>['MuiCheckbox'];
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
1
2
|
import { Components } from '@mui/material/styles/components';
|
|
2
|
-
declare
|
|
3
|
-
interface ChipPropsVariantOverrides {
|
|
4
|
-
solid: true;
|
|
5
|
-
transparent: true;
|
|
6
|
-
shadow: true;
|
|
7
|
-
image: true;
|
|
8
|
-
multiselect: true;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export declare const flowChip: Components['MuiChip'];
|
|
3
|
+
export declare const flowChip: Components<Theme>['MuiChip'];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
1
2
|
import { Components } from '@mui/material/styles/components';
|
|
2
|
-
declare
|
|
3
|
-
export declare const flowContainer: Components['MuiContainer'];
|
|
3
|
+
export declare const flowContainer: Components<Theme>['MuiContainer'];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Components } from '@mui/material/styles';
|
|
2
|
-
export declare const flowFormControlLabel: Components['MuiFormControlLabel'];
|
|
1
|
+
import { Components, Theme } from '@mui/material/styles';
|
|
2
|
+
export declare const flowFormControlLabel: Components<Theme>['MuiFormControlLabel'];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Components } from '@mui/material/styles';
|
|
2
|
-
export declare const flowMenuItem: Components['MuiMenuItem'];
|
|
1
|
+
import { Components, Theme } from '@mui/material/styles';
|
|
2
|
+
export declare const flowMenuItem: Components<Theme>['MuiMenuItem'];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Components } from '@mui/material/styles';
|
|
2
|
-
export declare const flowRadio: Components['MuiRadio'];
|
|
1
|
+
import { Components, Theme } from '@mui/material/styles';
|
|
2
|
+
export declare const flowRadio: Components<Theme>['MuiRadio'];
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
1
2
|
import { Components } from '@mui/material/styles/components';
|
|
2
|
-
declare
|
|
3
|
-
interface SwitchPropsSizeOverrides {
|
|
4
|
-
compact: true;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
export declare const flowSwitch: Components['MuiSwitch'];
|
|
3
|
+
export declare const flowSwitch: Components<Theme>['MuiSwitch'];
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Theme } from '@mui/material/styles';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import './theme.extensions';
|
|
4
|
+
import { TypographySize } from './theme.typography';
|
|
3
5
|
/**
|
|
4
|
-
* @deprecated use `
|
|
6
|
+
* @deprecated use `skodaThemeProvider` component instead
|
|
7
|
+
* @param typographySize
|
|
8
|
+
*/
|
|
9
|
+
export declare const createSkodaTheme: (typographySize: TypographySize) => Theme;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated use `SkodaThemeProvider` instead
|
|
5
12
|
*/
|
|
6
|
-
export declare const createSkodaTheme: () => Theme;
|
|
7
13
|
export declare const skodaTheme: Theme;
|
|
8
14
|
/**
|
|
9
15
|
* @deprecated use `SkodaThemeProvider` instead
|
|
@@ -11,7 +17,7 @@ export declare const skodaTheme: Theme;
|
|
|
11
17
|
export declare class SkodaTheme extends React.Component {
|
|
12
18
|
private skodaTheme;
|
|
13
19
|
constructor(props: any);
|
|
14
|
-
render(): JSX.Element;
|
|
20
|
+
render(): React.JSX.Element;
|
|
15
21
|
}
|
|
16
22
|
export type SkodaThemeProviderProps = {
|
|
17
23
|
children?: React.ReactNode;
|