@royaloperahouse/chord 1.18.1-dev-chord-development → 1.18.2-b-chord-development
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 +4 -1
- package/README.md +250 -40
- package/dist/chord.cjs.development.js +38 -73
- 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 +38 -73
- 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/helpers/devices.d.ts +1 -1
- package/dist/types/navigation.d.ts +4 -4
- package/package.json +1 -1
- package/dist/components/atoms/Basket/helpers.d.ts +0 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IBasketProps } from '../../../types/navigation';
|
|
2
|
-
declare const Basket: ({ text, link, selected, numItems, onClick, colorPrimary,
|
|
2
|
+
declare const Basket: ({ text, link, selected, numItems, onClick, colorPrimary, isActive, }: 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, basketLink, basketNumItems, onClickSearch, isShowSearch, colorPrimary, }: INavTopProps) => JSX.Element;
|
|
2
|
+
declare const NavTop: ({ accountText, accountLink, accountIcon, accountOptions, onLink, basketText, basketLink, basketNumItems, basketIsActive, onClickSearch, isShowSearch, colorPrimary, }: INavTopProps) => JSX.Element;
|
|
3
3
|
export default NavTop;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const useIOS: () => boolean;
|
|
@@ -53,10 +53,6 @@ export interface IBasketProps {
|
|
|
53
53
|
* The primary color
|
|
54
54
|
*/
|
|
55
55
|
colorPrimary?: string;
|
|
56
|
-
/**
|
|
57
|
-
* The time when basket items are released
|
|
58
|
-
*/
|
|
59
|
-
expiryDate?: string;
|
|
60
56
|
/**
|
|
61
57
|
* For changing the color of the basket icon & text (when not in hover state)
|
|
62
58
|
*/
|
|
@@ -112,6 +108,10 @@ export interface INavTopProps {
|
|
|
112
108
|
* The number of items of Basket component
|
|
113
109
|
*/
|
|
114
110
|
basketNumItems?: number;
|
|
111
|
+
/**
|
|
112
|
+
* For changing the color of the basket icon & text (when not in hover state)
|
|
113
|
+
*/
|
|
114
|
+
basketIsActive?: boolean;
|
|
115
115
|
/**
|
|
116
116
|
* To know if search component is showed or not
|
|
117
117
|
*/
|
package/package.json
CHANGED