@scbt-ecom/ui 0.135.1 → 0.136.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/dist/lib/widgets/usefulInfo/UsefulInfo.js +1 -1
- package/dist/lib/widgets/usefulInfo/UsefulInfo.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/Tabs.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/Tabs.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/lib/widgets/usefulInfo/model/types.d.ts +2 -0
- package/dist/types/lib/widgets/usefulInfo/ui/Tabs.d.ts +5 -2
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EntityDocumentsProps, EntityExpertsProps, EntityHtmlProps, EntityTableProps } from '../ui/subEntities';
|
|
2
|
+
import { DataLayers } from '../../../shared/types';
|
|
2
3
|
import { AccordionProps } from '../../../shared/ui';
|
|
3
4
|
export type SubEntityDetailsConfig = {
|
|
4
5
|
isAccordion: boolean;
|
|
@@ -29,5 +30,6 @@ export type Tab = {
|
|
|
29
30
|
tabName: string;
|
|
30
31
|
contents: Contents[];
|
|
31
32
|
tabId: string;
|
|
33
|
+
dataLayers?: DataLayers;
|
|
32
34
|
};
|
|
33
35
|
export {};
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { Tab } from '../model';
|
|
2
3
|
export type TabsClasses = {
|
|
3
4
|
tabs?: string;
|
|
4
5
|
button?: string;
|
|
5
6
|
};
|
|
7
|
+
type TabsShortInfo = Pick<Tab, 'tabName' | 'dataLayers'> & {};
|
|
6
8
|
export interface TabsProps {
|
|
7
|
-
|
|
9
|
+
tabsShortInfo?: TabsShortInfo[];
|
|
8
10
|
activeTab?: number;
|
|
9
11
|
setActiveTab: Dispatch<SetStateAction<number>>;
|
|
10
12
|
classes?: TabsClasses;
|
|
11
13
|
}
|
|
12
|
-
export declare const Tabs: ({
|
|
14
|
+
export declare const Tabs: ({ tabsShortInfo, activeTab, setActiveTab, classes }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|