@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.
@@ -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
- defaultIndex?: number;
8
+ defaultId?: string;
8
9
  }
9
- declare function Tabs({ tabsConfig, defaultIndex }: TabsProps): import("react/jsx-runtime").JSX.Element;
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
- defaultIndex?: number;
106
+ defaultId?: string;
106
107
  }
107
- declare function Tabs({ tabsConfig, defaultIndex }: TabsProps): react_jsx_runtime.JSX.Element;
108
+ declare function Tabs({ tabsConfig, defaultId }: TabsProps): react_jsx_runtime.JSX.Element;
108
109
 
109
110
  interface TextBlockProps {
110
111
  label?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harpercollins/harpercollins-design-system",
3
- "version": "1.8.53",
3
+ "version": "1.8.55",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@ssh.dev.azure.com:v3/HarperCollinsUK/HCDesignSystem/HCDesignSystem"