@royaloperahouse/chord 2.3.1 → 2.3.2

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.
@@ -9,29 +9,29 @@ export interface IAuxiliaryNavProps {
9
9
  */
10
10
  activeItem: string;
11
11
  /**
12
- * If component should render the mobile view
13
- */
12
+ * If component should render the mobile view
13
+ */
14
14
  isMobile?: boolean;
15
15
  /**
16
- * aria-label attribute for nav element
17
- */
16
+ * aria-label attribute for nav element
17
+ */
18
18
  ariaLabel?: string;
19
19
  }
20
20
  export declare type INavProps = Pick<IAuxiliaryNavProps, 'items' | 'activeItem' | 'ariaLabel'>;
21
21
  export interface IItem {
22
22
  /**
23
23
  * Item text
24
- */
24
+ */
25
25
  text: string;
26
26
  /**
27
27
  * Href for item link
28
- */
28
+ */
29
29
  href: string;
30
30
  /**
31
31
  * Item click handler
32
32
  * Default link behavior will be prevented if this specified
33
- */
34
- onClick?: () => void;
33
+ */
34
+ onClick?: (e: MouseEvent) => void;
35
35
  }
36
36
  export interface IItemProps extends IItem {
37
37
  isActive: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/chord",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",