design-system-silkhaus 2.14.0-beta.tabbed-menu.11 → 2.15.0-beta.accordian-event.1
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/dist/index.cjs +38 -38
- package/dist/index.d.ts +1 -20
- package/dist/index.js +1283 -1325
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export declare interface AccordionProps {
|
|
|
36
36
|
* otherwise it will only collapse on clicking the header
|
|
37
37
|
*/
|
|
38
38
|
isCollapseOnlyOnHeaderClick?: boolean;
|
|
39
|
+
onStateChange?: (state: boolean) => void;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
declare type ActionButtonProps = {
|
|
@@ -1036,26 +1037,6 @@ export declare interface SwitchProps {
|
|
|
1036
1037
|
htmlId?: string;
|
|
1037
1038
|
}
|
|
1038
1039
|
|
|
1039
|
-
export declare interface Tab {
|
|
1040
|
-
IconComponent: default_2.ElementType;
|
|
1041
|
-
HoverIconComponent: default_2.ElementType;
|
|
1042
|
-
label: string;
|
|
1043
|
-
value: string;
|
|
1044
|
-
link?: string;
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
export declare const TabbedMenu: default_2.FC<TabbedMenuProps>;
|
|
1048
|
-
|
|
1049
|
-
export declare interface TabbedMenuProps {
|
|
1050
|
-
tabs: Tab[];
|
|
1051
|
-
value: string;
|
|
1052
|
-
defaultValue?: string;
|
|
1053
|
-
onChange: (tab: {
|
|
1054
|
-
value: string;
|
|
1055
|
-
link?: string;
|
|
1056
|
-
}) => void;
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
1040
|
export declare const tabletMinWidth: number;
|
|
1060
1041
|
|
|
1061
1042
|
declare type TagProps = {
|