@open-tender/store 1.1.258 → 1.1.259
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.
|
@@ -10,7 +10,7 @@ var CategoryItem = function (_a) {
|
|
|
10
10
|
var dispatch = (0, hooks_1.useAppDispatch)();
|
|
11
11
|
var apiUrl = (0, hooks_1.useAppSelector)(slices_1.selectKioskApi);
|
|
12
12
|
var config = (0, hooks_1.useAppSelector)(slices_1.selectKioskConfig).categoryItem;
|
|
13
|
-
var _b = (0, hooks_1.useAppSelector)(slices_1.selectStoreSettings), display_cals = _b.display_cals, navigation_page = _b.navigation_page;
|
|
13
|
+
var _b = (0, hooks_1.useAppSelector)(slices_1.selectStoreSettings), display_cals = _b.display_cals, navigation_page = _b.navigation_page, display_descriptions = _b.display_descriptions;
|
|
14
14
|
var soldOut = (0, hooks_1.useAppSelector)(slices_1.selectMenu).soldOut;
|
|
15
15
|
var cartCounts = (0, hooks_1.useAppSelector)(slices_1.selectCartCounts);
|
|
16
16
|
var pointsProgram = (0, hooks_1.useAppSelector)(slices_1.selectPointsProgram);
|
|
@@ -39,7 +39,8 @@ var CategoryItem = function (_a) {
|
|
|
39
39
|
apiUrl: apiUrl,
|
|
40
40
|
placeholder: placeholder,
|
|
41
41
|
displayCals: display_cals,
|
|
42
|
-
navigationType: navigation_page
|
|
42
|
+
navigationType: navigation_page,
|
|
43
|
+
displayDescription: display_descriptions
|
|
43
44
|
});
|
|
44
45
|
};
|
|
45
46
|
exports.default = (0, react_1.memo)(CategoryItem, areEqualProps);
|
|
@@ -8,7 +8,7 @@ var CategoryItem = function (_a) {
|
|
|
8
8
|
var dispatch = useAppDispatch();
|
|
9
9
|
var apiUrl = useAppSelector(selectKioskApi);
|
|
10
10
|
var config = useAppSelector(selectKioskConfig).categoryItem;
|
|
11
|
-
var _b = useAppSelector(selectStoreSettings), display_cals = _b.display_cals, navigation_page = _b.navigation_page;
|
|
11
|
+
var _b = useAppSelector(selectStoreSettings), display_cals = _b.display_cals, navigation_page = _b.navigation_page, display_descriptions = _b.display_descriptions;
|
|
12
12
|
var soldOut = useAppSelector(selectMenu).soldOut;
|
|
13
13
|
var cartCounts = useAppSelector(selectCartCounts);
|
|
14
14
|
var pointsProgram = useAppSelector(selectPointsProgram);
|
|
@@ -37,7 +37,8 @@ var CategoryItem = function (_a) {
|
|
|
37
37
|
apiUrl: apiUrl,
|
|
38
38
|
placeholder: placeholder,
|
|
39
39
|
displayCals: display_cals,
|
|
40
|
-
navigationType: navigation_page
|
|
40
|
+
navigationType: navigation_page,
|
|
41
|
+
displayDescription: display_descriptions
|
|
41
42
|
});
|
|
42
43
|
};
|
|
43
44
|
export default memo(CategoryItem, areEqualProps);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-tender/store",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.259",
|
|
4
4
|
"description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"@emotion/react": "^11.11.1",
|
|
64
|
-
"@open-tender/types": "^0.4.
|
|
65
|
-
"@open-tender/ui": "^0.4.
|
|
64
|
+
"@open-tender/types": "^0.4.122",
|
|
65
|
+
"@open-tender/ui": "^0.4.44",
|
|
66
66
|
"@open-tender/utils": "^0.4.85",
|
|
67
67
|
"@reduxjs/toolkit": "^2.0.1",
|
|
68
68
|
"date-fns": "2.30.0",
|