@financial-times/dotcom-types-navigation 13.6.0 → 13.7.0-beta.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.
Files changed (2) hide show
  1. package/index.d.ts +8 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -48,6 +48,12 @@ export type TNavMenuWithColumns = {
48
48
  items: TNavMenuItem[][]
49
49
  }
50
50
 
51
+ export type TNavDropdownOption = {
52
+ label: string
53
+ url: string
54
+ trackable: string
55
+ }
56
+
51
57
  export type TNavMenuItem = {
52
58
  label: string
53
59
  url: string | null
@@ -56,6 +62,8 @@ export type TNavMenuItem = {
56
62
  meganav?: TNavMeganav[]
57
63
  disableTracking?: boolean
58
64
  index?: number
65
+ isSubnavDropdownEnabled?: boolean
66
+ subnavDropdownOptions?: TNavDropdownOption[]
59
67
  }
60
68
 
61
69
  export type TNavMeganav = INavMeganavSections | INavMeganavArticles
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/dotcom-types-navigation",
3
- "version": "13.6.0",
3
+ "version": "13.7.0-beta.0",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "types": "index.d.ts",