@royaloperahouse/chord 0.7.28 → 0.7.31

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,3 +1,3 @@
1
1
  import { IBasketProps } from '../../../types/navigation';
2
- declare const Basket: ({ text, selected, numItems, onClick, colorPrimary }: IBasketProps) => JSX.Element;
2
+ declare const Basket: ({ text, link, selected, numItems, onClick, colorPrimary }: IBasketProps) => JSX.Element;
3
3
  export default Basket;
@@ -1,3 +1,3 @@
1
1
  import { INavTopProps } from '../../../types/navigation';
2
- declare const NavTop: ({ accountText, accountLink, accountIcon, accountOptions, onLink, basketText, basketNumItems, onClickSearch, isShowSearch, colorPrimary, }: INavTopProps) => JSX.Element;
2
+ declare const NavTop: ({ accountText, accountLink, accountIcon, accountOptions, onLink, basketText, basketLink, basketNumItems, onClickSearch, isShowSearch, colorPrimary, }: INavTopProps) => JSX.Element;
3
3
  export default NavTop;
@@ -33,6 +33,11 @@ export interface ICardProps {
33
33
  * Image to render
34
34
  */
35
35
  image?: string;
36
+ /**
37
+ /**
38
+ * Image alt text
39
+ */
40
+ imageAltText?: string;
36
41
  /**
37
42
  * Set the size of the Card component
38
43
  */
@@ -33,6 +33,10 @@ export interface IBasketProps {
33
33
  * The value of the text
34
34
  */
35
35
  text?: string;
36
+ /**
37
+ * The value of the link
38
+ */
39
+ link?: string;
36
40
  /**
37
41
  * To keep selected the text of the Basket
38
42
  */
@@ -92,6 +96,10 @@ export interface INavTopProps {
92
96
  * The text of Basket component
93
97
  */
94
98
  basketText?: string;
99
+ /**
100
+ * The link of Basket component
101
+ */
102
+ basketLink?: string;
95
103
  /**
96
104
  * The number of items of Basket component
97
105
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/chord",
3
- "version": "0.7.28",
3
+ "version": "0.7.31",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",