@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.
- 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 -0
- 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;
|
|
@@ -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