ordering-ui-external 5.0.3 → 5.0.5
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/_bundles/{7.ordering-ui.72b67ac0e449c40276fb.js → 7.ordering-ui.28307d37127e6161004f.js} +1 -1
- package/_bundles/{ordering-ui.72b67ac0e449c40276fb.js → ordering-ui.28307d37127e6161004f.js} +2 -2
- package/_modules/themes/five/src/components/Promotions/index.js +1 -1
- package/package.json +2 -2
- package/src/themes/five/src/components/Promotions/index.js +1 -1
- /package/_bundles/{0.ordering-ui.72b67ac0e449c40276fb.js → 0.ordering-ui.28307d37127e6161004f.js} +0 -0
- /package/_bundles/{1.ordering-ui.72b67ac0e449c40276fb.js → 1.ordering-ui.28307d37127e6161004f.js} +0 -0
- /package/_bundles/{2.ordering-ui.72b67ac0e449c40276fb.js → 2.ordering-ui.28307d37127e6161004f.js} +0 -0
- /package/_bundles/{4.ordering-ui.72b67ac0e449c40276fb.js → 4.ordering-ui.28307d37127e6161004f.js} +0 -0
- /package/_bundles/{5.ordering-ui.72b67ac0e449c40276fb.js → 5.ordering-ui.28307d37127e6161004f.js} +0 -0
- /package/_bundles/{6.ordering-ui.72b67ac0e449c40276fb.js → 6.ordering-ui.28307d37127e6161004f.js} +0 -0
- /package/_bundles/{7.ordering-ui.72b67ac0e449c40276fb.js.LICENSE.txt → 7.ordering-ui.28307d37127e6161004f.js.LICENSE.txt} +0 -0
- /package/_bundles/{8.ordering-ui.72b67ac0e449c40276fb.js → 8.ordering-ui.28307d37127e6161004f.js} +0 -0
- /package/_bundles/{9.ordering-ui.72b67ac0e449c40276fb.js → 9.ordering-ui.28307d37127e6161004f.js} +0 -0
- /package/_bundles/{ordering-ui.72b67ac0e449c40276fb.js.LICENSE.txt → ordering-ui.28307d37127e6161004f.js.LICENSE.txt} +0 -0
|
@@ -85,7 +85,7 @@ var PromotionsUI = function PromotionsUI(props) {
|
|
|
85
85
|
});
|
|
86
86
|
var targetString = (offerSelected === null || offerSelected === void 0 ? void 0 : offerSelected.target) === 1 ? t('SUBTOTAL', 'Subtotal') : (offerSelected === null || offerSelected === void 0 ? void 0 : offerSelected.target) === 2 ? t('DELIVERY_FEE', 'Delivery fee') : t('SERVICE_FEE', 'Service fee');
|
|
87
87
|
return /*#__PURE__*/_react.default.createElement(_styles.PromotionsContainer, null, /*#__PURE__*/_react.default.createElement(_styles.PromotionTitle, null, t('PROMOTIONS', 'Promotions')), /*#__PURE__*/_react.default.createElement(_styles.SearchBarContainer, null, /*#__PURE__*/_react.default.createElement(_SearchBar.SearchBar, {
|
|
88
|
-
placeholder: t('
|
|
88
|
+
placeholder: t('SEARCH_PROMOTION', 'Search promotion'),
|
|
89
89
|
onSearch: handleSearchValue
|
|
90
90
|
})), (offersState === null || offersState === void 0 ? void 0 : offersState.loading) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, _toConsumableArray(Array(5).keys()).map(function (key, i) {
|
|
91
91
|
return /*#__PURE__*/_react.default.createElement(_styles.SingleOfferContainer, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ordering-ui-external",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.5",
|
|
4
4
|
"description": "Ordering UI Components",
|
|
5
5
|
"main": "./_modules/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"lodash": "^4.17.19",
|
|
88
88
|
"moment": "^2.29.4",
|
|
89
89
|
"nanoid": "^4.0.0",
|
|
90
|
-
"ordering-components-external": "4.0.
|
|
90
|
+
"ordering-components-external": "4.0.3",
|
|
91
91
|
"payment": "^2.4.6",
|
|
92
92
|
"polished": "^3.6.6",
|
|
93
93
|
"react-bootstrap-icons": "^1.7.2",
|
|
@@ -70,7 +70,7 @@ const PromotionsUI = (props) => {
|
|
|
70
70
|
</PromotionTitle>
|
|
71
71
|
<SearchBarContainer>
|
|
72
72
|
<SearchBar
|
|
73
|
-
placeholder={t('
|
|
73
|
+
placeholder={t('SEARCH_PROMOTION', 'Search promotion')}
|
|
74
74
|
onSearch={handleSearchValue}
|
|
75
75
|
/>
|
|
76
76
|
</SearchBarContainer>
|
/package/_bundles/{0.ordering-ui.72b67ac0e449c40276fb.js → 0.ordering-ui.28307d37127e6161004f.js}
RENAMED
|
File without changes
|
/package/_bundles/{1.ordering-ui.72b67ac0e449c40276fb.js → 1.ordering-ui.28307d37127e6161004f.js}
RENAMED
|
File without changes
|
/package/_bundles/{2.ordering-ui.72b67ac0e449c40276fb.js → 2.ordering-ui.28307d37127e6161004f.js}
RENAMED
|
File without changes
|
/package/_bundles/{4.ordering-ui.72b67ac0e449c40276fb.js → 4.ordering-ui.28307d37127e6161004f.js}
RENAMED
|
File without changes
|
/package/_bundles/{5.ordering-ui.72b67ac0e449c40276fb.js → 5.ordering-ui.28307d37127e6161004f.js}
RENAMED
|
File without changes
|
/package/_bundles/{6.ordering-ui.72b67ac0e449c40276fb.js → 6.ordering-ui.28307d37127e6161004f.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/_bundles/{8.ordering-ui.72b67ac0e449c40276fb.js → 8.ordering-ui.28307d37127e6161004f.js}
RENAMED
|
File without changes
|
/package/_bundles/{9.ordering-ui.72b67ac0e449c40276fb.js → 9.ordering-ui.28307d37127e6161004f.js}
RENAMED
|
File without changes
|