@popmenu/ordering-ui 0.71.0 → 0.73.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/DishCard/DishCardProps.d.ts +3 -1
- package/build/components/DishModifierCard/DishModifierCardProps.d.ts +2 -2
- package/build/components/MenuDropdown/MenuDropdownProps.d.ts +1 -1
- package/build/index.es.js +102 -89
- package/build/index.es.js.map +1 -1
- package/build/index.js +102 -89
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -170,19 +170,19 @@ function __rest(s, e) {
|
|
|
170
170
|
return t;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
var _g$
|
|
173
|
+
var _g$1m;
|
|
174
174
|
|
|
175
|
-
function _extends$
|
|
175
|
+
function _extends$2r() { _extends$2r = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2r.apply(this, arguments); }
|
|
176
176
|
|
|
177
177
|
function SvgCheckCircle(props) {
|
|
178
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
178
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2r({
|
|
179
179
|
viewBox: "0 0 16 16",
|
|
180
180
|
fill: "none",
|
|
181
181
|
strokeLinecap: "round",
|
|
182
182
|
strokeLinejoin: "round",
|
|
183
183
|
width: "1em",
|
|
184
184
|
height: "1em"
|
|
185
|
-
}, props), _g$
|
|
185
|
+
}, props), _g$1m || (_g$1m = /*#__PURE__*/React__namespace.createElement("g", {
|
|
186
186
|
stroke: "currentColor"
|
|
187
187
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
188
188
|
d: "M14.667 7.387V8a6.667 6.667 0 11-3.954-6.093"
|
|
@@ -191,24 +191,24 @@ function SvgCheckCircle(props) {
|
|
|
191
191
|
}))));
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
var _g$
|
|
194
|
+
var _g$1k$1, _defs$I$1;
|
|
195
195
|
|
|
196
|
-
function _extends$
|
|
196
|
+
function _extends$2o$1() { _extends$2o$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2o$1.apply(this, arguments); }
|
|
197
197
|
|
|
198
198
|
function SvgXCircle$1(props) {
|
|
199
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
199
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2o$1({
|
|
200
200
|
viewBox: "0 0 16 16",
|
|
201
201
|
fill: "none",
|
|
202
202
|
strokeLinecap: "round",
|
|
203
203
|
strokeLinejoin: "round",
|
|
204
204
|
width: "1em",
|
|
205
205
|
height: "1em"
|
|
206
|
-
}, props), _g$
|
|
206
|
+
}, props), _g$1k$1 || (_g$1k$1 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
207
207
|
clipPath: "url(#x-circle_svg__clip0_8_6136)",
|
|
208
208
|
stroke: "currentColor"
|
|
209
209
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
210
210
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zM10 6l-4 4m0-4l4 4"
|
|
211
|
-
}))), _defs$
|
|
211
|
+
}))), _defs$I$1 || (_defs$I$1 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
212
212
|
id: "x-circle_svg__clip0_8_6136"
|
|
213
213
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
214
214
|
fill: "currentColor",
|
|
@@ -216,24 +216,24 @@ function SvgXCircle$1(props) {
|
|
|
216
216
|
})))));
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
var _g$
|
|
219
|
+
var _g$1b, _defs$C;
|
|
220
220
|
|
|
221
|
-
function _extends$
|
|
221
|
+
function _extends$2c() { _extends$2c = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2c.apply(this, arguments); }
|
|
222
222
|
|
|
223
223
|
function SvgInfo(props) {
|
|
224
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
224
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2c({
|
|
225
225
|
viewBox: "0 0 16 16",
|
|
226
226
|
fill: "none",
|
|
227
227
|
strokeLinecap: "round",
|
|
228
228
|
strokeLinejoin: "round",
|
|
229
229
|
width: "1em",
|
|
230
230
|
height: "1em"
|
|
231
|
-
}, props), _g$
|
|
231
|
+
}, props), _g$1b || (_g$1b = /*#__PURE__*/React__namespace.createElement("g", {
|
|
232
232
|
clipPath: "url(#info_svg__clip0_8_5377)",
|
|
233
233
|
stroke: "currentColor"
|
|
234
234
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
235
235
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zm0-4V8m0-2.667h.007"
|
|
236
|
-
}))), _defs$
|
|
236
|
+
}))), _defs$C || (_defs$C = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
237
237
|
id: "info_svg__clip0_8_5377"
|
|
238
238
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
239
239
|
fill: "currentColor",
|
|
@@ -241,42 +241,42 @@ function SvgInfo(props) {
|
|
|
241
241
|
})))));
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
var _path$
|
|
244
|
+
var _path$N;
|
|
245
245
|
|
|
246
|
-
function _extends$
|
|
246
|
+
function _extends$1L() { _extends$1L = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1L.apply(this, arguments); }
|
|
247
247
|
|
|
248
248
|
function SvgUser(props) {
|
|
249
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
249
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1L({
|
|
250
250
|
viewBox: "0 0 16 16",
|
|
251
251
|
fill: "none",
|
|
252
252
|
strokeLinecap: "round",
|
|
253
253
|
strokeLinejoin: "round",
|
|
254
254
|
width: "1em",
|
|
255
255
|
height: "1em"
|
|
256
|
-
}, props), _path$
|
|
256
|
+
}, props), _path$N || (_path$N = /*#__PURE__*/React__namespace.createElement("path", {
|
|
257
257
|
d: "M13.333 14v-1.333A2.667 2.667 0 0010.667 10H5.333a2.667 2.667 0 00-2.666 2.667V14M8 7.333A2.667 2.667 0 108 2a2.667 2.667 0 000 5.333z",
|
|
258
258
|
stroke: "currentColor"
|
|
259
259
|
})));
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
var _g$
|
|
262
|
+
var _g$X, _defs$t;
|
|
263
263
|
|
|
264
|
-
function _extends$
|
|
264
|
+
function _extends$1H() { _extends$1H = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1H.apply(this, arguments); }
|
|
265
265
|
|
|
266
266
|
function SvgError(props) {
|
|
267
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
267
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1H({
|
|
268
268
|
viewBox: "0 0 16 16",
|
|
269
269
|
fill: "none",
|
|
270
270
|
strokeLinecap: "round",
|
|
271
271
|
strokeLinejoin: "round",
|
|
272
272
|
width: "1em",
|
|
273
273
|
height: "1em"
|
|
274
|
-
}, props), _g$
|
|
274
|
+
}, props), _g$X || (_g$X = /*#__PURE__*/React__namespace.createElement("g", {
|
|
275
275
|
clipPath: "url(#error_svg__clip0_8_5411)",
|
|
276
276
|
stroke: "currentColor"
|
|
277
277
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
278
278
|
d: "M5.24 1.333h5.52l3.907 3.907v5.52l-3.907 3.907H5.24L1.333 10.76V5.24L5.24 1.333zm2.76 4V8m0 2.666h.008"
|
|
279
|
-
}))), _defs$
|
|
279
|
+
}))), _defs$t || (_defs$t = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
280
280
|
id: "error_svg__clip0_8_5411"
|
|
281
281
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
282
282
|
fill: "currentColor",
|
|
@@ -284,19 +284,19 @@ function SvgError(props) {
|
|
|
284
284
|
})))));
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
var _path$
|
|
287
|
+
var _path$K;
|
|
288
288
|
|
|
289
|
-
function _extends$
|
|
289
|
+
function _extends$1G() { _extends$1G = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1G.apply(this, arguments); }
|
|
290
290
|
|
|
291
291
|
function SvgWarning(props) {
|
|
292
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
292
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1G({
|
|
293
293
|
viewBox: "0 0 16 16",
|
|
294
294
|
fill: "none",
|
|
295
295
|
strokeLinecap: "round",
|
|
296
296
|
strokeLinejoin: "round",
|
|
297
297
|
width: "1em",
|
|
298
298
|
height: "1em"
|
|
299
|
-
}, props), _path$
|
|
299
|
+
}, props), _path$K || (_path$K = /*#__PURE__*/React__namespace.createElement("path", {
|
|
300
300
|
d: "M6.86 2.573L1.213 12a1.334 1.334 0 001.14 2h11.294a1.332 1.332 0 001.14-2L9.14 2.573a1.333 1.333 0 00-2.28 0v0zM8 6v2.667m0 2.667h.007",
|
|
301
301
|
stroke: "currentColor"
|
|
302
302
|
})));
|
|
@@ -1016,6 +1016,7 @@ var useButtonStyles = styles.makeStyles(function (theme) { return ({
|
|
|
1016
1016
|
color: getColor(theme),
|
|
1017
1017
|
background: getBackground(theme),
|
|
1018
1018
|
fontSize: getFontSize(),
|
|
1019
|
+
textTransform: 'none',
|
|
1019
1020
|
minWidth: 'unset',
|
|
1020
1021
|
},
|
|
1021
1022
|
disabled: {
|
|
@@ -1074,80 +1075,80 @@ Button.defaultProps = {
|
|
|
1074
1075
|
};
|
|
1075
1076
|
Button.displayName = 'Button';
|
|
1076
1077
|
|
|
1077
|
-
var _path$
|
|
1078
|
+
var _path$1g;
|
|
1078
1079
|
|
|
1079
|
-
function _extends$
|
|
1080
|
+
function _extends$2M() { _extends$2M = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2M.apply(this, arguments); }
|
|
1080
1081
|
|
|
1081
1082
|
function SvgChevronDown(props) {
|
|
1082
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1083
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2M({
|
|
1083
1084
|
viewBox: "0 0 16 16",
|
|
1084
1085
|
fill: "none",
|
|
1085
1086
|
strokeLinecap: "round",
|
|
1086
1087
|
strokeLinejoin: "round",
|
|
1087
1088
|
width: "1em",
|
|
1088
1089
|
height: "1em"
|
|
1089
|
-
}, props), _path$
|
|
1090
|
+
}, props), _path$1g || (_path$1g = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1090
1091
|
d: "M4 6l4 4 4-4",
|
|
1091
1092
|
stroke: "currentColor"
|
|
1092
1093
|
})));
|
|
1093
1094
|
}
|
|
1094
1095
|
|
|
1095
|
-
var _path$
|
|
1096
|
+
var _path$1f;
|
|
1096
1097
|
|
|
1097
|
-
function _extends$
|
|
1098
|
+
function _extends$2L() { _extends$2L = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2L.apply(this, arguments); }
|
|
1098
1099
|
|
|
1099
1100
|
function SvgChevronUp(props) {
|
|
1100
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1101
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2L({
|
|
1101
1102
|
viewBox: "0 0 16 16",
|
|
1102
1103
|
fill: "none",
|
|
1103
1104
|
strokeLinecap: "round",
|
|
1104
1105
|
strokeLinejoin: "round",
|
|
1105
1106
|
width: "1em",
|
|
1106
1107
|
height: "1em"
|
|
1107
|
-
}, props), _path$
|
|
1108
|
+
}, props), _path$1f || (_path$1f = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1108
1109
|
d: "M12 10L8 6l-4 4",
|
|
1109
1110
|
stroke: "currentColor"
|
|
1110
1111
|
})));
|
|
1111
1112
|
}
|
|
1112
1113
|
|
|
1113
|
-
var _path$
|
|
1114
|
+
var _path$14;
|
|
1114
1115
|
|
|
1115
|
-
function _extends$
|
|
1116
|
+
function _extends$2s() { _extends$2s = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2s.apply(this, arguments); }
|
|
1116
1117
|
|
|
1117
1118
|
function SvgCheck(props) {
|
|
1118
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1119
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2s({
|
|
1119
1120
|
viewBox: "0 0 16 16",
|
|
1120
1121
|
fill: "none",
|
|
1121
1122
|
strokeLinecap: "round",
|
|
1122
1123
|
strokeLinejoin: "round",
|
|
1123
1124
|
width: "1em",
|
|
1124
1125
|
height: "1em"
|
|
1125
|
-
}, props), _path$
|
|
1126
|
+
}, props), _path$14 || (_path$14 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1126
1127
|
d: "M13.333 4L6 11.333 2.667 8",
|
|
1127
1128
|
stroke: "currentColor"
|
|
1128
1129
|
})));
|
|
1129
1130
|
}
|
|
1130
1131
|
|
|
1131
|
-
var _g$
|
|
1132
|
+
var _g$1l, _defs$J;
|
|
1132
1133
|
|
|
1133
|
-
function _extends$
|
|
1134
|
+
function _extends$2q() { _extends$2q = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2q.apply(this, arguments); }
|
|
1134
1135
|
|
|
1135
1136
|
function SvgClock(props) {
|
|
1136
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1137
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2q({
|
|
1137
1138
|
viewBox: "0 0 16 16",
|
|
1138
1139
|
fill: "none",
|
|
1139
1140
|
strokeLinecap: "round",
|
|
1140
1141
|
strokeLinejoin: "round",
|
|
1141
1142
|
width: "1em",
|
|
1142
1143
|
height: "1em"
|
|
1143
|
-
}, props), _g$
|
|
1144
|
+
}, props), _g$1l || (_g$1l = /*#__PURE__*/React__namespace.createElement("g", {
|
|
1144
1145
|
clipPath: "url(#clock_svg__clip0_8_5092)",
|
|
1145
1146
|
stroke: "currentColor"
|
|
1146
1147
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1147
1148
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333z"
|
|
1148
1149
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
1149
1150
|
d: "M8 4v4l2.667 1.333"
|
|
1150
|
-
}))), _defs$
|
|
1151
|
+
}))), _defs$J || (_defs$J = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
1151
1152
|
id: "clock_svg__clip0_8_5092"
|
|
1152
1153
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1153
1154
|
fill: "currentColor",
|
|
@@ -1155,24 +1156,24 @@ function SvgClock(props) {
|
|
|
1155
1156
|
})))));
|
|
1156
1157
|
}
|
|
1157
1158
|
|
|
1158
|
-
var _g$
|
|
1159
|
+
var _g$1k, _defs$I;
|
|
1159
1160
|
|
|
1160
|
-
function _extends$
|
|
1161
|
+
function _extends$2o() { _extends$2o = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2o.apply(this, arguments); }
|
|
1161
1162
|
|
|
1162
1163
|
function SvgXCircle(props) {
|
|
1163
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1164
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2o({
|
|
1164
1165
|
viewBox: "0 0 16 16",
|
|
1165
1166
|
fill: "none",
|
|
1166
1167
|
strokeLinecap: "round",
|
|
1167
1168
|
strokeLinejoin: "round",
|
|
1168
1169
|
width: "1em",
|
|
1169
1170
|
height: "1em"
|
|
1170
|
-
}, props), _g$
|
|
1171
|
+
}, props), _g$1k || (_g$1k = /*#__PURE__*/React__namespace.createElement("g", {
|
|
1171
1172
|
clipPath: "url(#x-circle_svg__clip0_8_6136)",
|
|
1172
1173
|
stroke: "currentColor"
|
|
1173
1174
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1174
1175
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zM10 6l-4 4m0-4l4 4"
|
|
1175
|
-
}))), _defs$
|
|
1176
|
+
}))), _defs$I || (_defs$I = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
1176
1177
|
id: "x-circle_svg__clip0_8_6136"
|
|
1177
1178
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1178
1179
|
fill: "currentColor",
|
|
@@ -1180,42 +1181,42 @@ function SvgXCircle(props) {
|
|
|
1180
1181
|
})))));
|
|
1181
1182
|
}
|
|
1182
1183
|
|
|
1183
|
-
var _path$
|
|
1184
|
+
var _path$10;
|
|
1184
1185
|
|
|
1185
|
-
function _extends$
|
|
1186
|
+
function _extends$2g() { _extends$2g = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2g.apply(this, arguments); }
|
|
1186
1187
|
|
|
1187
1188
|
function SvgHeart(props) {
|
|
1188
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1189
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2g({
|
|
1189
1190
|
viewBox: "0 0 16 16",
|
|
1190
1191
|
fill: "none",
|
|
1191
1192
|
strokeLinecap: "round",
|
|
1192
1193
|
strokeLinejoin: "round",
|
|
1193
1194
|
width: "1em",
|
|
1194
1195
|
height: "1em"
|
|
1195
|
-
}, props), _path$
|
|
1196
|
+
}, props), _path$10 || (_path$10 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1196
1197
|
d: "M13.893 3.074a3.667 3.667 0 00-5.186 0L8 3.78l-.707-.706A3.668 3.668 0 002.107 8.26l.706.707L8 14.154l5.187-5.187.706-.707a3.667 3.667 0 000-5.186v0z",
|
|
1197
1198
|
stroke: "currentColor"
|
|
1198
1199
|
})));
|
|
1199
1200
|
}
|
|
1200
1201
|
|
|
1201
|
-
var _g$
|
|
1202
|
+
var _g$17, _defs$B;
|
|
1202
1203
|
|
|
1203
|
-
function _extends$
|
|
1204
|
+
function _extends$22() { _extends$22 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$22.apply(this, arguments); }
|
|
1204
1205
|
|
|
1205
1206
|
function SvgMinusCircle(props) {
|
|
1206
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1207
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$22({
|
|
1207
1208
|
viewBox: "0 0 16 16",
|
|
1208
1209
|
fill: "none",
|
|
1209
1210
|
strokeLinecap: "round",
|
|
1210
1211
|
strokeLinejoin: "round",
|
|
1211
1212
|
width: "1em",
|
|
1212
1213
|
height: "1em"
|
|
1213
|
-
}, props), _g$
|
|
1214
|
+
}, props), _g$17 || (_g$17 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
1214
1215
|
clipPath: "url(#minus-circle_svg__clip0_8_5970)",
|
|
1215
1216
|
stroke: "currentColor"
|
|
1216
1217
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1217
1218
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zM5.333 8h5.334"
|
|
1218
|
-
}))), _defs$
|
|
1219
|
+
}))), _defs$B || (_defs$B = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
1219
1220
|
id: "minus-circle_svg__clip0_8_5970"
|
|
1220
1221
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1221
1222
|
fill: "currentColor",
|
|
@@ -1223,42 +1224,42 @@ function SvgMinusCircle(props) {
|
|
|
1223
1224
|
})))));
|
|
1224
1225
|
}
|
|
1225
1226
|
|
|
1226
|
-
var _path$
|
|
1227
|
+
var _path$S;
|
|
1227
1228
|
|
|
1228
|
-
function _extends$
|
|
1229
|
+
function _extends$1_() { _extends$1_ = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1_.apply(this, arguments); }
|
|
1229
1230
|
|
|
1230
1231
|
function SvgPlus(props) {
|
|
1231
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1232
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1_({
|
|
1232
1233
|
viewBox: "0 0 16 16",
|
|
1233
1234
|
fill: "none",
|
|
1234
1235
|
strokeLinecap: "round",
|
|
1235
1236
|
strokeLinejoin: "round",
|
|
1236
1237
|
width: "1em",
|
|
1237
1238
|
height: "1em"
|
|
1238
|
-
}, props), _path$
|
|
1239
|
+
}, props), _path$S || (_path$S = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1239
1240
|
d: "M8 3.333v9.334M3.333 8h9.334",
|
|
1240
1241
|
stroke: "currentColor"
|
|
1241
1242
|
})));
|
|
1242
1243
|
}
|
|
1243
1244
|
|
|
1244
|
-
var _g$
|
|
1245
|
+
var _g$16, _defs$A;
|
|
1245
1246
|
|
|
1246
|
-
function _extends$
|
|
1247
|
+
function _extends$1Z() { _extends$1Z = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1Z.apply(this, arguments); }
|
|
1247
1248
|
|
|
1248
1249
|
function SvgPlusCircle(props) {
|
|
1249
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1250
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1Z({
|
|
1250
1251
|
viewBox: "0 0 16 16",
|
|
1251
1252
|
fill: "none",
|
|
1252
1253
|
strokeLinecap: "round",
|
|
1253
1254
|
strokeLinejoin: "round",
|
|
1254
1255
|
width: "1em",
|
|
1255
1256
|
height: "1em"
|
|
1256
|
-
}, props), _g$
|
|
1257
|
+
}, props), _g$16 || (_g$16 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
1257
1258
|
clipPath: "url(#plus-circle_svg__clip0_8_5870)",
|
|
1258
1259
|
stroke: "currentColor"
|
|
1259
1260
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1260
1261
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zm0-9.334v5.334M5.333 8h5.334"
|
|
1261
|
-
}))), _defs$
|
|
1262
|
+
}))), _defs$A || (_defs$A = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
1262
1263
|
id: "plus-circle_svg__clip0_8_5870"
|
|
1263
1264
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1264
1265
|
fill: "currentColor",
|
|
@@ -1266,55 +1267,55 @@ function SvgPlusCircle(props) {
|
|
|
1266
1267
|
})))));
|
|
1267
1268
|
}
|
|
1268
1269
|
|
|
1269
|
-
var _path$
|
|
1270
|
+
var _path$O;
|
|
1270
1271
|
|
|
1271
|
-
function _extends$
|
|
1272
|
+
function _extends$1R() { _extends$1R = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1R.apply(this, arguments); }
|
|
1272
1273
|
|
|
1273
1274
|
function SvgTag(props) {
|
|
1274
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1275
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1R({
|
|
1275
1276
|
viewBox: "0 0 16 16",
|
|
1276
1277
|
fill: "none",
|
|
1277
1278
|
strokeLinecap: "round",
|
|
1278
1279
|
strokeLinejoin: "round",
|
|
1279
1280
|
width: "1em",
|
|
1280
1281
|
height: "1em"
|
|
1281
|
-
}, props), _path$
|
|
1282
|
+
}, props), _path$O || (_path$O = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1282
1283
|
d: "M13.727 8.94l-4.78 4.78a1.334 1.334 0 01-1.887 0L1.333 8V1.333H8l5.727 5.727a1.333 1.333 0 010 1.88v0zm-9.06-4.273h.007",
|
|
1283
1284
|
stroke: "currentColor"
|
|
1284
1285
|
})));
|
|
1285
1286
|
}
|
|
1286
1287
|
|
|
1287
|
-
var _path$
|
|
1288
|
+
var _path$z;
|
|
1288
1289
|
|
|
1289
|
-
function _extends$
|
|
1290
|
+
function _extends$1m() { _extends$1m = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1m.apply(this, arguments); }
|
|
1290
1291
|
|
|
1291
1292
|
function SvgTrash(props) {
|
|
1292
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1293
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1m({
|
|
1293
1294
|
viewBox: "0 0 16 16",
|
|
1294
1295
|
fill: "none",
|
|
1295
1296
|
strokeLinecap: "round",
|
|
1296
1297
|
strokeLinejoin: "round",
|
|
1297
1298
|
width: "1em",
|
|
1298
1299
|
height: "1em"
|
|
1299
|
-
}, props), _path$
|
|
1300
|
+
}, props), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1300
1301
|
d: "M2 4h12M5.333 4V2.667a1.333 1.333 0 011.334-1.333h2.666a1.333 1.333 0 011.334 1.333V4m2 0v9.334a1.333 1.333 0 01-1.334 1.333H4.667a1.333 1.333 0 01-1.334-1.333V4h9.334zm-6 3.333v4m2.666-4v4",
|
|
1301
1302
|
stroke: "currentColor"
|
|
1302
1303
|
})));
|
|
1303
1304
|
}
|
|
1304
1305
|
|
|
1305
|
-
var _path$
|
|
1306
|
+
var _path$d, _path2$1;
|
|
1306
1307
|
|
|
1307
|
-
function _extends$
|
|
1308
|
+
function _extends$w() { _extends$w = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
|
|
1308
1309
|
|
|
1309
1310
|
function SvgReviews(props) {
|
|
1310
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1311
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
1311
1312
|
viewBox: "0 0 16 16",
|
|
1312
1313
|
fill: "none",
|
|
1313
1314
|
strokeLinecap: "round",
|
|
1314
1315
|
strokeLinejoin: "round",
|
|
1315
1316
|
width: "1em",
|
|
1316
1317
|
height: "1em"
|
|
1317
|
-
}, props), _path$
|
|
1318
|
+
}, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1318
1319
|
d: "M14 7.667a5.587 5.587 0 01-.6 2.533 5.666 5.666 0 01-5.067 3.133 5.588 5.588 0 01-2.533-.6L2 14l1.267-3.8a5.586 5.586 0 01-.6-2.533A5.667 5.667 0 015.8 2.6 5.587 5.587 0 018.333 2h.334A5.654 5.654 0 0114 7.333v.334z",
|
|
1319
1320
|
stroke: "currentColor"
|
|
1320
1321
|
})), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -1448,7 +1449,7 @@ var useDishCardStyles = styles.makeStyles(function (theme) { return ({
|
|
|
1448
1449
|
|
|
1449
1450
|
var ItemTagGroup = function (props) {
|
|
1450
1451
|
var children = props.children;
|
|
1451
|
-
return (React__default['default'].createElement(core.Box, { display: "flex", gridGap: 6, ml: 1 }, children));
|
|
1452
|
+
return (React__default['default'].createElement(core.Box, { display: "flex", gridGap: 6, ml: 1, flexWrap: "wrap" }, children));
|
|
1452
1453
|
};
|
|
1453
1454
|
|
|
1454
1455
|
var useItemtagStyles = styles.makeStyles(function (theme) { return ({
|
|
@@ -1467,17 +1468,20 @@ var useItemtagStyles = styles.makeStyles(function (theme) { return ({
|
|
|
1467
1468
|
width: '24px',
|
|
1468
1469
|
};
|
|
1469
1470
|
},
|
|
1471
|
+
text: {
|
|
1472
|
+
lineHeight: 1.5,
|
|
1473
|
+
},
|
|
1470
1474
|
}); });
|
|
1471
1475
|
|
|
1472
1476
|
var ItemTag = React.forwardRef(function (props, ref) {
|
|
1473
1477
|
var _a = props.color, color = _a === void 0 ? 'gray.dark' : _a, alt = props.alt, children = props.children;
|
|
1474
1478
|
var classes = useItemtagStyles({ color: color });
|
|
1475
1479
|
return (React__default['default'].createElement(core.Avatar, { ref: ref, alt: alt, classes: { root: classes.root } },
|
|
1476
|
-
React__default['default'].createElement(Typography, { variant: "caption" }, children)));
|
|
1480
|
+
React__default['default'].createElement(Typography, { variant: "caption", className: classes.text }, children)));
|
|
1477
1481
|
});
|
|
1478
1482
|
|
|
1479
1483
|
var DishCard = function (props) {
|
|
1480
|
-
var title = props.title, description = props.description, image = props.image, likeCount = props.likeCount, reviewCount = props.reviewCount, itemTags = props.itemTags, price = props.price, onClick = props.onClick;
|
|
1484
|
+
var title = props.title, description = props.description, image = props.image, likeCount = props.likeCount, reviewCount = props.reviewCount, itemTags = props.itemTags, price = props.price, onClick = props.onClick, id = props.id;
|
|
1481
1485
|
var classes = useDishCardStyles(props);
|
|
1482
1486
|
var theme = core.useTheme();
|
|
1483
1487
|
var validImage = (image === null || image === void 0 ? void 0 : image.src) && (image === null || image === void 0 ? void 0 : image.alt);
|
|
@@ -1487,7 +1491,7 @@ var DishCard = function (props) {
|
|
|
1487
1491
|
var documentFontSize = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
1488
1492
|
return collapsedSizeRem * documentFontSize;
|
|
1489
1493
|
};
|
|
1490
|
-
return (React__default['default'].createElement(core.Box, { className: classes.root, onClick: onClick },
|
|
1494
|
+
return (React__default['default'].createElement(core.Box, { className: classes.root, onClick: onClick, id: id },
|
|
1491
1495
|
React__default['default'].createElement(core.Box, { display: "flex", flexDirection: "column", justifyContent: "space-between", width: "100%", marginRight: 1 },
|
|
1492
1496
|
React__default['default'].createElement(core.Box, null,
|
|
1493
1497
|
React__default['default'].createElement(core.Box, { maxHeight: getTruncatedSizePx('h6') + 'px' },
|
|
@@ -1592,10 +1596,10 @@ var DishDetailsReview = React.forwardRef(function (props) {
|
|
|
1592
1596
|
return (React__default['default'].createElement(core.Box, { display: "flex" },
|
|
1593
1597
|
React__default['default'].createElement(core.Box, { mr: 1 },
|
|
1594
1598
|
React__default['default'].createElement(Avatar, { size: "small", src: userAvatarUrl })),
|
|
1595
|
-
React__default['default'].createElement(core.Box, {
|
|
1599
|
+
React__default['default'].createElement(core.Box, { width: "100%" },
|
|
1596
1600
|
React__default['default'].createElement(core.Box, { display: "flex", justifyContent: "space-between", mb: 1 },
|
|
1597
|
-
React__default['default'].createElement(Typography, { color: "grey.600" }, userName),
|
|
1598
|
-
React__default['default'].createElement(Typography, { color: "grey.600", variant: "subtitle1" }, timeSinceCreated)),
|
|
1601
|
+
React__default['default'].createElement(Typography, { color: "grey.600", style: { display: 'flex', alignItems: 'center' } }, userName),
|
|
1602
|
+
React__default['default'].createElement(Typography, { color: "grey.600", variant: "subtitle1", style: { display: 'flex', alignItems: 'center' } }, timeSinceCreated)),
|
|
1599
1603
|
React__default['default'].createElement(Typography, { color: "grey.900", weight: "regular" }, content))));
|
|
1600
1604
|
});
|
|
1601
1605
|
DishDetailsReview.displayName = 'DishDetailsReview';
|
|
@@ -1614,6 +1618,14 @@ var useDishModifierCardStyles = styles.makeStyles(function (theme) { return ({
|
|
|
1614
1618
|
},
|
|
1615
1619
|
name: {
|
|
1616
1620
|
fontSize: '18px',
|
|
1621
|
+
width: 'max-content',
|
|
1622
|
+
},
|
|
1623
|
+
nameContainer: {
|
|
1624
|
+
display: 'flex',
|
|
1625
|
+
alignItems: 'center',
|
|
1626
|
+
},
|
|
1627
|
+
statusTagContainer: {
|
|
1628
|
+
margin: theme.spacing(0, 2),
|
|
1617
1629
|
},
|
|
1618
1630
|
}); });
|
|
1619
1631
|
var useRadioModifierFormStyles = styles.makeStyles(function (theme) { return ({
|
|
@@ -1658,7 +1670,6 @@ var useStatusTagStyles = styles.makeStyles(function (theme) { return ({
|
|
|
1658
1670
|
root: {
|
|
1659
1671
|
borderRadius: '5px',
|
|
1660
1672
|
display: 'flex',
|
|
1661
|
-
height: '16px',
|
|
1662
1673
|
padding: theme.spacing(1),
|
|
1663
1674
|
alignItems: 'center',
|
|
1664
1675
|
justifyContent: 'center',
|
|
@@ -1756,9 +1767,10 @@ var DishModifierCard = function (props) {
|
|
|
1756
1767
|
}
|
|
1757
1768
|
return (React__default['default'].createElement(core.Box, { className: classes.root },
|
|
1758
1769
|
React__default['default'].createElement(core.Box, { display: "flex", justifyContent: "space-between", width: "100%", alignItems: "center", height: "fit-content" },
|
|
1759
|
-
React__default['default'].createElement(core.Box, {
|
|
1770
|
+
React__default['default'].createElement(core.Box, { className: classes.nameContainer },
|
|
1760
1771
|
React__default['default'].createElement(Typography, { className: classes.name }, name),
|
|
1761
|
-
React__default['default'].createElement(
|
|
1772
|
+
React__default['default'].createElement(core.Box, { className: classes.statusTagContainer },
|
|
1773
|
+
React__default['default'].createElement(StatusTag, { variant: isRequired || isOutOfStock ? 'outlined' : 'filled', label: label, color: color }))),
|
|
1762
1774
|
React__default['default'].createElement(Typography, { variant: "subtitle1", className: error ? classes.error : undefined }, helperText)),
|
|
1763
1775
|
React__default['default'].createElement(core.Box, null,
|
|
1764
1776
|
React__default['default'].createElement(core.FormControl, null,
|
|
@@ -2058,6 +2070,7 @@ var useSelectableChipStyles = styles.makeStyles(function (theme) { return ({
|
|
|
2058
2070
|
minWidth: 'unset',
|
|
2059
2071
|
minHeight: 'unset',
|
|
2060
2072
|
opacity: 'unset',
|
|
2073
|
+
textTransform: 'none',
|
|
2061
2074
|
'&::-webkit-scrollbar': {
|
|
2062
2075
|
display: 'none',
|
|
2063
2076
|
},
|