@harpercollins/harpercollins-design-system 1.8.53 → 1.8.55
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/cjs/index.cjs +2 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/src/components/data-display/Tabs/Tabs.d.ts +3 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/data-display/Tabs/Tabs.d.ts +3 -2
- package/dist/index.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export interface TabConfig {
|
|
2
2
|
label: string;
|
|
3
|
+
id: string;
|
|
3
4
|
content: JSX.Element;
|
|
4
5
|
}
|
|
5
6
|
interface TabsProps {
|
|
6
7
|
tabsConfig: TabConfig[];
|
|
7
|
-
|
|
8
|
+
defaultId?: string;
|
|
8
9
|
}
|
|
9
|
-
declare function Tabs({ tabsConfig,
|
|
10
|
+
declare function Tabs({ tabsConfig, defaultId }: TabsProps): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export default Tabs;
|
package/dist/index.d.ts
CHANGED
|
@@ -98,13 +98,14 @@ declare function Table({ data: tableData, columns, pageCount, totalCount, next,
|
|
|
98
98
|
|
|
99
99
|
interface TabConfig {
|
|
100
100
|
label: string;
|
|
101
|
+
id: string;
|
|
101
102
|
content: JSX.Element;
|
|
102
103
|
}
|
|
103
104
|
interface TabsProps {
|
|
104
105
|
tabsConfig: TabConfig[];
|
|
105
|
-
|
|
106
|
+
defaultId?: string;
|
|
106
107
|
}
|
|
107
|
-
declare function Tabs({ tabsConfig,
|
|
108
|
+
declare function Tabs({ tabsConfig, defaultId }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
108
109
|
|
|
109
110
|
interface TextBlockProps {
|
|
110
111
|
label?: string;
|