@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.
- package/CHANGELOG.md +8 -0
- package/dist/chord.cjs.development.js +9 -3
- package/dist/chord.cjs.development.js.map +1 -1
- package/dist/chord.cjs.production.min.js +1 -1
- package/dist/chord.cjs.production.min.js.map +1 -1
- package/dist/chord.esm.js +9 -3
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/atoms/Basket/Basket.d.ts +1 -1
- package/dist/components/molecules/NavTop/NavTop.d.ts +1 -1
- package/dist/types/card.d.ts +5 -0
- package/dist/types/navigation.d.ts +8 -0
- package/package.json +1 -1
|
@@ -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;
|
package/dist/types/card.d.ts
CHANGED
|
@@ -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
|
*/
|