@royaloperahouse/chord 1.18.1-dev-chord-development → 1.18.2-a-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.
@@ -1,3 +1,3 @@
1
1
  import { IBasketProps } from '../../../types/navigation';
2
- declare const Basket: ({ text, link, selected, numItems, onClick, colorPrimary, expiryDate, }: IBasketProps) => JSX.Element;
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 isIOS: () => boolean;
1
+ export declare const useIOS: () => boolean;
@@ -112,6 +112,10 @@ export interface INavTopProps {
112
112
  * The number of items of Basket component
113
113
  */
114
114
  basketNumItems?: number;
115
+ /**
116
+ * The time when basket items are released
117
+ */
118
+ basketIsActive?: boolean;
115
119
  /**
116
120
  * To know if search component is showed or not
117
121
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/chord",
3
- "version": "1.18.1-dev-chord-development",
3
+ "version": "1.18.2-a-chord-development",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -1,3 +0,0 @@
1
- export declare const checkTimeRed: (seconds: number) => boolean;
2
- export declare const formatTime: (seconds: number) => string;
3
- export declare const initSeconds: (expiryDate?: string | undefined) => number;