@orderingstack/ordering-types 1.20.0 → 1.21.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.
@@ -59,6 +59,7 @@ export interface IMenuProps {
59
59
  order?: IOrder;
60
60
  changeQuantity: (line: IOrderLine, quantity: number) => void;
61
61
  components: IMenuComponents;
62
+ onSelectCategory?: (id: string) => void;
62
63
  }
63
64
  export interface IMenuTileProps {
64
65
  product: IProduct;
@@ -59,6 +59,7 @@ export interface IMenuProps {
59
59
  order?: IOrder;
60
60
  changeQuantity: (line: IOrderLine, quantity: number) => void;
61
61
  components: IMenuComponents;
62
+ onSelectCategory?: (id: string) => void;
62
63
  }
63
64
  export interface IMenuTileProps {
64
65
  product: IProduct;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",