@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.
@@ -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;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/chord",
3
- "version": "1.18.1-dev-chord-development",
3
+ "version": "1.18.2-b-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;