@skodaflow/web-library 3.3.0 → 3.4.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/cardMenu/styled/popperStyled.d.ts +6 -5
- package/build/components/chip/chipImage/chipImage.d.ts +3 -3
- package/build/components/tab/tabs.d.ts +3 -0
- package/build/design/skoda/components/theme.autocomplete.d.ts +3 -0
- package/build/index.es.js +18 -4
- package/build/index.es.js.map +1 -1
- package/build/index.js +18 -4
- package/build/index.js.map +1 -1
- package/build/layout/PageLayout/PageLayout.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
export declare const PopperStyled: import("@emotion/styled").StyledComponent<import("@mui/base").PopperOwnProps & Omit<any, keyof import("@mui/base").PopperOwnProps> & {
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
} & {
|
|
4
|
+
theme?: any;
|
|
5
|
+
isMobile?: boolean;
|
|
4
6
|
rounded?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const PopperStyled: import("react").FC<PopperStyledProps>;
|
|
7
|
+
}, {}, {}>;
|
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
* @description Base definition of SkodaFlow Chip independent on core implementation.
|
|
5
5
|
* Properties are inherited from HTML div element
|
|
6
6
|
*/
|
|
7
|
-
export interface ChipImageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
export interface ChipImageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
8
8
|
/**
|
|
9
9
|
* The label referenced to the text field.
|
|
10
10
|
*/
|
|
@@ -30,13 +30,13 @@ export interface ChipImageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
30
30
|
*/
|
|
31
31
|
imageAlt: string;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* State of the chip image. If true the chip image is checked.
|
|
34
34
|
*/
|
|
35
35
|
isChecked?: boolean;
|
|
36
36
|
/**
|
|
37
37
|
* Event triggered whenever the chip image is clicked.
|
|
38
38
|
*/
|
|
39
|
-
onChange?(e: React.ChangeEvent<HTMLInputElement
|
|
39
|
+
onChange?(e: React.ChangeEvent<HTMLInputElement>, checked: boolean): void;
|
|
40
40
|
/**
|
|
41
41
|
* Name attribute of the component.
|
|
42
42
|
*/
|
|
@@ -21,8 +21,11 @@ export interface TabsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'o
|
|
|
21
21
|
labelMoreItem?: string;
|
|
22
22
|
/**
|
|
23
23
|
* the default active tab on mount
|
|
24
|
+
* @deprecated Use property `activeTab` instead
|
|
24
25
|
*/
|
|
25
26
|
defaultActiveTab: string | number;
|
|
27
|
+
/** Specifies which tab is active */
|
|
28
|
+
activeTab: string | number;
|
|
26
29
|
/**
|
|
27
30
|
* If true and on mobile view, tabs are rendered as mobile secondary navigation view
|
|
28
31
|
*/
|