@popmenu/ordering-ui 0.73.0 → 0.75.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/index.js
CHANGED
|
@@ -170,7 +170,7 @@ function __rest(s, e) {
|
|
|
170
170
|
return t;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
var _g$
|
|
173
|
+
var _g$1n;
|
|
174
174
|
|
|
175
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
|
|
|
@@ -182,7 +182,7 @@ function SvgCheckCircle(props) {
|
|
|
182
182
|
strokeLinejoin: "round",
|
|
183
183
|
width: "1em",
|
|
184
184
|
height: "1em"
|
|
185
|
-
}, props), _g$
|
|
185
|
+
}, props), _g$1n || (_g$1n = /*#__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,7 +191,7 @@ function SvgCheckCircle(props) {
|
|
|
191
191
|
}))));
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
var _g$
|
|
194
|
+
var _g$1l$1, _defs$J$1;
|
|
195
195
|
|
|
196
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
|
|
|
@@ -203,12 +203,12 @@ function SvgXCircle$1(props) {
|
|
|
203
203
|
strokeLinejoin: "round",
|
|
204
204
|
width: "1em",
|
|
205
205
|
height: "1em"
|
|
206
|
-
}, props), _g$
|
|
206
|
+
}, props), _g$1l$1 || (_g$1l$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$J$1 || (_defs$J$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,7 +216,7 @@ function SvgXCircle$1(props) {
|
|
|
216
216
|
})))));
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
var _g$
|
|
219
|
+
var _g$1c, _defs$D;
|
|
220
220
|
|
|
221
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
|
|
|
@@ -228,12 +228,12 @@ function SvgInfo(props) {
|
|
|
228
228
|
strokeLinejoin: "round",
|
|
229
229
|
width: "1em",
|
|
230
230
|
height: "1em"
|
|
231
|
-
}, props), _g$
|
|
231
|
+
}, props), _g$1c || (_g$1c = /*#__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$D || (_defs$D = /*#__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,7 +241,7 @@ function SvgInfo(props) {
|
|
|
241
241
|
})))));
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
var _path$
|
|
244
|
+
var _path$M;
|
|
245
245
|
|
|
246
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
|
|
|
@@ -253,13 +253,13 @@ function SvgUser(props) {
|
|
|
253
253
|
strokeLinejoin: "round",
|
|
254
254
|
width: "1em",
|
|
255
255
|
height: "1em"
|
|
256
|
-
}, props), _path$
|
|
256
|
+
}, props), _path$M || (_path$M = /*#__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$Y, _defs$u;
|
|
263
263
|
|
|
264
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
|
|
|
@@ -271,12 +271,12 @@ function SvgError(props) {
|
|
|
271
271
|
strokeLinejoin: "round",
|
|
272
272
|
width: "1em",
|
|
273
273
|
height: "1em"
|
|
274
|
-
}, props), _g$
|
|
274
|
+
}, props), _g$Y || (_g$Y = /*#__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$u || (_defs$u = /*#__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,7 +284,7 @@ function SvgError(props) {
|
|
|
284
284
|
})))));
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
var _path$
|
|
287
|
+
var _path$J;
|
|
288
288
|
|
|
289
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
|
|
|
@@ -296,7 +296,7 @@ function SvgWarning(props) {
|
|
|
296
296
|
strokeLinejoin: "round",
|
|
297
297
|
width: "1em",
|
|
298
298
|
height: "1em"
|
|
299
|
-
}, props), _path$
|
|
299
|
+
}, props), _path$J || (_path$J = /*#__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
|
})));
|
|
@@ -1075,7 +1075,7 @@ Button.defaultProps = {
|
|
|
1075
1075
|
};
|
|
1076
1076
|
Button.displayName = 'Button';
|
|
1077
1077
|
|
|
1078
|
-
var _path$
|
|
1078
|
+
var _path$1f;
|
|
1079
1079
|
|
|
1080
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); }
|
|
1081
1081
|
|
|
@@ -1087,13 +1087,13 @@ function SvgChevronDown(props) {
|
|
|
1087
1087
|
strokeLinejoin: "round",
|
|
1088
1088
|
width: "1em",
|
|
1089
1089
|
height: "1em"
|
|
1090
|
-
}, props), _path$
|
|
1090
|
+
}, props), _path$1f || (_path$1f = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1091
1091
|
d: "M4 6l4 4 4-4",
|
|
1092
1092
|
stroke: "currentColor"
|
|
1093
1093
|
})));
|
|
1094
1094
|
}
|
|
1095
1095
|
|
|
1096
|
-
var _path$
|
|
1096
|
+
var _path$1e;
|
|
1097
1097
|
|
|
1098
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); }
|
|
1099
1099
|
|
|
@@ -1105,13 +1105,13 @@ function SvgChevronUp(props) {
|
|
|
1105
1105
|
strokeLinejoin: "round",
|
|
1106
1106
|
width: "1em",
|
|
1107
1107
|
height: "1em"
|
|
1108
|
-
}, props), _path$
|
|
1108
|
+
}, props), _path$1e || (_path$1e = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1109
1109
|
d: "M12 10L8 6l-4 4",
|
|
1110
1110
|
stroke: "currentColor"
|
|
1111
1111
|
})));
|
|
1112
1112
|
}
|
|
1113
1113
|
|
|
1114
|
-
var _path$
|
|
1114
|
+
var _path$13;
|
|
1115
1115
|
|
|
1116
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); }
|
|
1117
1117
|
|
|
@@ -1123,13 +1123,13 @@ function SvgCheck(props) {
|
|
|
1123
1123
|
strokeLinejoin: "round",
|
|
1124
1124
|
width: "1em",
|
|
1125
1125
|
height: "1em"
|
|
1126
|
-
}, props), _path$
|
|
1126
|
+
}, props), _path$13 || (_path$13 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1127
1127
|
d: "M13.333 4L6 11.333 2.667 8",
|
|
1128
1128
|
stroke: "currentColor"
|
|
1129
1129
|
})));
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
|
-
var _g$
|
|
1132
|
+
var _g$1m, _defs$K;
|
|
1133
1133
|
|
|
1134
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); }
|
|
1135
1135
|
|
|
@@ -1141,14 +1141,14 @@ function SvgClock(props) {
|
|
|
1141
1141
|
strokeLinejoin: "round",
|
|
1142
1142
|
width: "1em",
|
|
1143
1143
|
height: "1em"
|
|
1144
|
-
}, props), _g$
|
|
1144
|
+
}, props), _g$1m || (_g$1m = /*#__PURE__*/React__namespace.createElement("g", {
|
|
1145
1145
|
clipPath: "url(#clock_svg__clip0_8_5092)",
|
|
1146
1146
|
stroke: "currentColor"
|
|
1147
1147
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1148
1148
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333z"
|
|
1149
1149
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
1150
1150
|
d: "M8 4v4l2.667 1.333"
|
|
1151
|
-
}))), _defs$
|
|
1151
|
+
}))), _defs$K || (_defs$K = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
1152
1152
|
id: "clock_svg__clip0_8_5092"
|
|
1153
1153
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1154
1154
|
fill: "currentColor",
|
|
@@ -1156,7 +1156,7 @@ function SvgClock(props) {
|
|
|
1156
1156
|
})))));
|
|
1157
1157
|
}
|
|
1158
1158
|
|
|
1159
|
-
var _g$
|
|
1159
|
+
var _g$1l, _defs$J;
|
|
1160
1160
|
|
|
1161
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); }
|
|
1162
1162
|
|
|
@@ -1168,12 +1168,12 @@ function SvgXCircle(props) {
|
|
|
1168
1168
|
strokeLinejoin: "round",
|
|
1169
1169
|
width: "1em",
|
|
1170
1170
|
height: "1em"
|
|
1171
|
-
}, props), _g$
|
|
1171
|
+
}, props), _g$1l || (_g$1l = /*#__PURE__*/React__namespace.createElement("g", {
|
|
1172
1172
|
clipPath: "url(#x-circle_svg__clip0_8_6136)",
|
|
1173
1173
|
stroke: "currentColor"
|
|
1174
1174
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1175
1175
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zM10 6l-4 4m0-4l4 4"
|
|
1176
|
-
}))), _defs$
|
|
1176
|
+
}))), _defs$J || (_defs$J = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
1177
1177
|
id: "x-circle_svg__clip0_8_6136"
|
|
1178
1178
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1179
1179
|
fill: "currentColor",
|
|
@@ -1181,7 +1181,7 @@ function SvgXCircle(props) {
|
|
|
1181
1181
|
})))));
|
|
1182
1182
|
}
|
|
1183
1183
|
|
|
1184
|
-
var _path
|
|
1184
|
+
var _path$$;
|
|
1185
1185
|
|
|
1186
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); }
|
|
1187
1187
|
|
|
@@ -1193,13 +1193,13 @@ function SvgHeart(props) {
|
|
|
1193
1193
|
strokeLinejoin: "round",
|
|
1194
1194
|
width: "1em",
|
|
1195
1195
|
height: "1em"
|
|
1196
|
-
}, props), _path
|
|
1196
|
+
}, props), _path$$ || (_path$$ = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1197
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",
|
|
1198
1198
|
stroke: "currentColor"
|
|
1199
1199
|
})));
|
|
1200
1200
|
}
|
|
1201
1201
|
|
|
1202
|
-
var _g$
|
|
1202
|
+
var _g$18, _defs$C;
|
|
1203
1203
|
|
|
1204
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); }
|
|
1205
1205
|
|
|
@@ -1211,12 +1211,12 @@ function SvgMinusCircle(props) {
|
|
|
1211
1211
|
strokeLinejoin: "round",
|
|
1212
1212
|
width: "1em",
|
|
1213
1213
|
height: "1em"
|
|
1214
|
-
}, props), _g$
|
|
1214
|
+
}, props), _g$18 || (_g$18 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
1215
1215
|
clipPath: "url(#minus-circle_svg__clip0_8_5970)",
|
|
1216
1216
|
stroke: "currentColor"
|
|
1217
1217
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1218
1218
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zM5.333 8h5.334"
|
|
1219
|
-
}))), _defs$
|
|
1219
|
+
}))), _defs$C || (_defs$C = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
1220
1220
|
id: "minus-circle_svg__clip0_8_5970"
|
|
1221
1221
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1222
1222
|
fill: "currentColor",
|
|
@@ -1224,7 +1224,7 @@ function SvgMinusCircle(props) {
|
|
|
1224
1224
|
})))));
|
|
1225
1225
|
}
|
|
1226
1226
|
|
|
1227
|
-
var _path$
|
|
1227
|
+
var _path$R;
|
|
1228
1228
|
|
|
1229
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); }
|
|
1230
1230
|
|
|
@@ -1236,13 +1236,13 @@ function SvgPlus(props) {
|
|
|
1236
1236
|
strokeLinejoin: "round",
|
|
1237
1237
|
width: "1em",
|
|
1238
1238
|
height: "1em"
|
|
1239
|
-
}, props), _path$
|
|
1239
|
+
}, props), _path$R || (_path$R = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1240
1240
|
d: "M8 3.333v9.334M3.333 8h9.334",
|
|
1241
1241
|
stroke: "currentColor"
|
|
1242
1242
|
})));
|
|
1243
1243
|
}
|
|
1244
1244
|
|
|
1245
|
-
var _g$
|
|
1245
|
+
var _g$17, _defs$B;
|
|
1246
1246
|
|
|
1247
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); }
|
|
1248
1248
|
|
|
@@ -1254,12 +1254,12 @@ function SvgPlusCircle(props) {
|
|
|
1254
1254
|
strokeLinejoin: "round",
|
|
1255
1255
|
width: "1em",
|
|
1256
1256
|
height: "1em"
|
|
1257
|
-
}, props), _g$
|
|
1257
|
+
}, props), _g$17 || (_g$17 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
1258
1258
|
clipPath: "url(#plus-circle_svg__clip0_8_5870)",
|
|
1259
1259
|
stroke: "currentColor"
|
|
1260
1260
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1261
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"
|
|
1262
|
-
}))), _defs$
|
|
1262
|
+
}))), _defs$B || (_defs$B = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
1263
1263
|
id: "plus-circle_svg__clip0_8_5870"
|
|
1264
1264
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1265
1265
|
fill: "currentColor",
|
|
@@ -1267,7 +1267,7 @@ function SvgPlusCircle(props) {
|
|
|
1267
1267
|
})))));
|
|
1268
1268
|
}
|
|
1269
1269
|
|
|
1270
|
-
var _path$
|
|
1270
|
+
var _path$N;
|
|
1271
1271
|
|
|
1272
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); }
|
|
1273
1273
|
|
|
@@ -1279,13 +1279,13 @@ function SvgTag(props) {
|
|
|
1279
1279
|
strokeLinejoin: "round",
|
|
1280
1280
|
width: "1em",
|
|
1281
1281
|
height: "1em"
|
|
1282
|
-
}, props), _path$
|
|
1282
|
+
}, props), _path$N || (_path$N = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1283
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",
|
|
1284
1284
|
stroke: "currentColor"
|
|
1285
1285
|
})));
|
|
1286
1286
|
}
|
|
1287
1287
|
|
|
1288
|
-
var _path$
|
|
1288
|
+
var _path$y;
|
|
1289
1289
|
|
|
1290
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); }
|
|
1291
1291
|
|
|
@@ -1297,7 +1297,7 @@ function SvgTrash(props) {
|
|
|
1297
1297
|
strokeLinejoin: "round",
|
|
1298
1298
|
width: "1em",
|
|
1299
1299
|
height: "1em"
|
|
1300
|
-
}, props), _path$
|
|
1300
|
+
}, props), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1301
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",
|
|
1302
1302
|
stroke: "currentColor"
|
|
1303
1303
|
})));
|
|
@@ -1516,7 +1516,7 @@ var useDishCheckoutCardStyles = styles.makeStyles(function (theme) { return ({
|
|
|
1516
1516
|
padding: theme.spacing(2, 0),
|
|
1517
1517
|
display: 'flex',
|
|
1518
1518
|
flexDirection: 'column',
|
|
1519
|
-
|
|
1519
|
+
width: '100%',
|
|
1520
1520
|
gridGap: theme.spacing(2),
|
|
1521
1521
|
border: '1px',
|
|
1522
1522
|
},
|
|
@@ -1556,7 +1556,7 @@ var useDishCheckoutCardStyles = styles.makeStyles(function (theme) { return ({
|
|
|
1556
1556
|
}); });
|
|
1557
1557
|
|
|
1558
1558
|
var DishCheckoutCard = function (props) {
|
|
1559
|
-
var id = props.id, name = props.name, quantity = props.quantity, modifiers = props.modifiers, onDelete = props.onDelete, onEdit = props.onEdit, onChange = props.onChange, price = props.price;
|
|
1559
|
+
var id = props.id, name = props.name, quantity = props.quantity, modifiers = props.modifiers, onDelete = props.onDelete, onEdit = props.onEdit, onChange = props.onChange, price = props.price, specialInstructions = props.specialInstructions;
|
|
1560
1560
|
var classes = useDishCheckoutCardStyles(props);
|
|
1561
1561
|
var _a = React.useState(false), open = _a[0], setOpen = _a[1];
|
|
1562
1562
|
return (React__default['default'].createElement(core.Box, { className: classes.root },
|
|
@@ -1567,7 +1567,11 @@ var DishCheckoutCard = function (props) {
|
|
|
1567
1567
|
modifiers.map(function (modifier, i) { return (React__default['default'].createElement(Typography, { key: i, variant: "body2" },
|
|
1568
1568
|
modifier[0],
|
|
1569
1569
|
": ",
|
|
1570
|
-
modifier[1])); })
|
|
1570
|
+
modifier[1])); }),
|
|
1571
|
+
specialInstructions && React__default['default'].createElement(Typography, { variant: "body2" },
|
|
1572
|
+
"\"",
|
|
1573
|
+
specialInstructions,
|
|
1574
|
+
"\"")),
|
|
1571
1575
|
React__default['default'].createElement(core.Box, { display: "flex", gridGap: 1, height: "100%" },
|
|
1572
1576
|
React__default['default'].createElement(Button, { variant: "text", onClick: onEdit }, "Edit"),
|
|
1573
1577
|
React__default['default'].createElement(IconButton, { onClick: onDelete },
|