@popmenu/ordering-ui 0.95.0 → 0.97.0
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/build/components/MenuItem/MenuItem.styles.d.ts +1 -1
- package/build/components/MenuItem/MenuItemProps.d.ts +1 -1
- package/build/index.es.js +40 -42
- package/build/index.es.js.map +1 -1
- package/build/index.js +39 -41
- package/build/index.js.map +1 -1
- package/package.json +2 -2
- package/build/components/DishCard/DishCard.d.ts +0 -3
- package/build/components/DishCard/DishCard.styles.d.ts +0 -2
- package/build/components/DishCard/DishCardProps.d.ts +0 -29
- package/build/components/DishCard/index.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popmenu/ordering-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.97.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Popmenu Design System Team",
|
|
6
6
|
"description": "React components specifically for the popmenu Online Ordering web app.",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"acorn-jsx": "^5.3.2"
|
|
33
33
|
},
|
|
34
34
|
"sideEffects": false,
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "a5dadef745fae3fe77c1ae90053aa400dae266c1"
|
|
36
36
|
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
2
|
-
export interface DishCardProps {
|
|
3
|
-
/** Renders the title of the dish */
|
|
4
|
-
title: string;
|
|
5
|
-
/** Renders the price of the dish */
|
|
6
|
-
price: string;
|
|
7
|
-
/** Renders the description of the dish */
|
|
8
|
-
description: string;
|
|
9
|
-
id: string;
|
|
10
|
-
/** The image to be displayed. */
|
|
11
|
-
image: {
|
|
12
|
-
alt: string;
|
|
13
|
-
src: string;
|
|
14
|
-
};
|
|
15
|
-
/** List of item tags for a dish */
|
|
16
|
-
itemTags: Array<{
|
|
17
|
-
abbr: string;
|
|
18
|
-
color: string;
|
|
19
|
-
name: string;
|
|
20
|
-
}>;
|
|
21
|
-
/** Number of likes */
|
|
22
|
-
likeCount: number;
|
|
23
|
-
/** Number of reviews */
|
|
24
|
-
reviewCount: number;
|
|
25
|
-
/** Callback for when the DishCard is clicked */
|
|
26
|
-
onClick: (event: SyntheticEvent) => void;
|
|
27
|
-
/** Boolean for whether or not the view is in mobile */
|
|
28
|
-
isMobile: boolean;
|
|
29
|
-
}
|