@popmenu/ordering-ui 0.69.0 → 0.71.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/MenuFilter/MenuFilter.styles.d.ts +1 -0
- package/build/index.es.js +91 -60
- package/build/index.es.js.map +1 -1
- package/build/index.js +91 -60
- package/build/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useMenuFilterStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"chipButton" | "container" | "filterButton" | "tagText">;
|
package/build/index.es.js
CHANGED
|
@@ -124,7 +124,7 @@ function __rest(s, e) {
|
|
|
124
124
|
return t;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
var _g$
|
|
127
|
+
var _g$1i;
|
|
128
128
|
|
|
129
129
|
function _extends$2j() { _extends$2j = 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$2j.apply(this, arguments); }
|
|
130
130
|
|
|
@@ -136,7 +136,7 @@ function SvgCheckCircle(props) {
|
|
|
136
136
|
strokeLinejoin: "round",
|
|
137
137
|
width: "1em",
|
|
138
138
|
height: "1em"
|
|
139
|
-
}, props), _g$
|
|
139
|
+
}, props), _g$1i || (_g$1i = /*#__PURE__*/React.createElement("g", {
|
|
140
140
|
stroke: "currentColor"
|
|
141
141
|
}, /*#__PURE__*/React.createElement("path", {
|
|
142
142
|
d: "M14.667 7.387V8a6.667 6.667 0 11-3.954-6.093"
|
|
@@ -145,7 +145,7 @@ function SvgCheckCircle(props) {
|
|
|
145
145
|
}))));
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
var _g$
|
|
148
|
+
var _g$1g$1, _defs$G$1;
|
|
149
149
|
|
|
150
150
|
function _extends$2g$1() { _extends$2g$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$2g$1.apply(this, arguments); }
|
|
151
151
|
|
|
@@ -157,12 +157,12 @@ function SvgXCircle$1(props) {
|
|
|
157
157
|
strokeLinejoin: "round",
|
|
158
158
|
width: "1em",
|
|
159
159
|
height: "1em"
|
|
160
|
-
}, props), _g$
|
|
160
|
+
}, props), _g$1g$1 || (_g$1g$1 = /*#__PURE__*/React.createElement("g", {
|
|
161
161
|
clipPath: "url(#x-circle_svg__clip0_8_6136)",
|
|
162
162
|
stroke: "currentColor"
|
|
163
163
|
}, /*#__PURE__*/React.createElement("path", {
|
|
164
164
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zM10 6l-4 4m0-4l4 4"
|
|
165
|
-
}))), _defs$
|
|
165
|
+
}))), _defs$G$1 || (_defs$G$1 = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
166
166
|
id: "x-circle_svg__clip0_8_6136"
|
|
167
167
|
}, /*#__PURE__*/React.createElement("path", {
|
|
168
168
|
fill: "currentColor",
|
|
@@ -170,7 +170,7 @@ function SvgXCircle$1(props) {
|
|
|
170
170
|
})))));
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
var _g$
|
|
173
|
+
var _g$17, _defs$A;
|
|
174
174
|
|
|
175
175
|
function _extends$24() { _extends$24 = 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$24.apply(this, arguments); }
|
|
176
176
|
|
|
@@ -182,12 +182,12 @@ function SvgInfo(props) {
|
|
|
182
182
|
strokeLinejoin: "round",
|
|
183
183
|
width: "1em",
|
|
184
184
|
height: "1em"
|
|
185
|
-
}, props), _g$
|
|
185
|
+
}, props), _g$17 || (_g$17 = /*#__PURE__*/React.createElement("g", {
|
|
186
186
|
clipPath: "url(#info_svg__clip0_8_5377)",
|
|
187
187
|
stroke: "currentColor"
|
|
188
188
|
}, /*#__PURE__*/React.createElement("path", {
|
|
189
189
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zm0-4V8m0-2.667h.007"
|
|
190
|
-
}))), _defs$
|
|
190
|
+
}))), _defs$A || (_defs$A = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
191
191
|
id: "info_svg__clip0_8_5377"
|
|
192
192
|
}, /*#__PURE__*/React.createElement("path", {
|
|
193
193
|
fill: "currentColor",
|
|
@@ -195,7 +195,7 @@ function SvgInfo(props) {
|
|
|
195
195
|
})))));
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
var _path$
|
|
198
|
+
var _path$J;
|
|
199
199
|
|
|
200
200
|
function _extends$1D() { _extends$1D = 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$1D.apply(this, arguments); }
|
|
201
201
|
|
|
@@ -207,13 +207,13 @@ function SvgUser(props) {
|
|
|
207
207
|
strokeLinejoin: "round",
|
|
208
208
|
width: "1em",
|
|
209
209
|
height: "1em"
|
|
210
|
-
}, props), _path$
|
|
210
|
+
}, props), _path$J || (_path$J = /*#__PURE__*/React.createElement("path", {
|
|
211
211
|
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",
|
|
212
212
|
stroke: "currentColor"
|
|
213
213
|
})));
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
var _g$
|
|
216
|
+
var _g$T, _defs$r;
|
|
217
217
|
|
|
218
218
|
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); }
|
|
219
219
|
|
|
@@ -225,12 +225,12 @@ function SvgError(props) {
|
|
|
225
225
|
strokeLinejoin: "round",
|
|
226
226
|
width: "1em",
|
|
227
227
|
height: "1em"
|
|
228
|
-
}, props), _g$
|
|
228
|
+
}, props), _g$T || (_g$T = /*#__PURE__*/React.createElement("g", {
|
|
229
229
|
clipPath: "url(#error_svg__clip0_8_5411)",
|
|
230
230
|
stroke: "currentColor"
|
|
231
231
|
}, /*#__PURE__*/React.createElement("path", {
|
|
232
232
|
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"
|
|
233
|
-
}))), _defs$
|
|
233
|
+
}))), _defs$r || (_defs$r = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
234
234
|
id: "error_svg__clip0_8_5411"
|
|
235
235
|
}, /*#__PURE__*/React.createElement("path", {
|
|
236
236
|
fill: "currentColor",
|
|
@@ -238,7 +238,7 @@ function SvgError(props) {
|
|
|
238
238
|
})))));
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
var _path$
|
|
241
|
+
var _path$G;
|
|
242
242
|
|
|
243
243
|
function _extends$1y() { _extends$1y = 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$1y.apply(this, arguments); }
|
|
244
244
|
|
|
@@ -250,7 +250,7 @@ function SvgWarning(props) {
|
|
|
250
250
|
strokeLinejoin: "round",
|
|
251
251
|
width: "1em",
|
|
252
252
|
height: "1em"
|
|
253
|
-
}, props), _path$
|
|
253
|
+
}, props), _path$G || (_path$G = /*#__PURE__*/React.createElement("path", {
|
|
254
254
|
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",
|
|
255
255
|
stroke: "currentColor"
|
|
256
256
|
})));
|
|
@@ -1028,7 +1028,7 @@ Button.defaultProps = {
|
|
|
1028
1028
|
};
|
|
1029
1029
|
Button.displayName = 'Button';
|
|
1030
1030
|
|
|
1031
|
-
var _path$
|
|
1031
|
+
var _path$1c;
|
|
1032
1032
|
|
|
1033
1033
|
function _extends$2E() { _extends$2E = 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$2E.apply(this, arguments); }
|
|
1034
1034
|
|
|
@@ -1040,13 +1040,13 @@ function SvgChevronDown(props) {
|
|
|
1040
1040
|
strokeLinejoin: "round",
|
|
1041
1041
|
width: "1em",
|
|
1042
1042
|
height: "1em"
|
|
1043
|
-
}, props), _path$
|
|
1043
|
+
}, props), _path$1c || (_path$1c = /*#__PURE__*/React.createElement("path", {
|
|
1044
1044
|
d: "M4 6l4 4 4-4",
|
|
1045
1045
|
stroke: "currentColor"
|
|
1046
1046
|
})));
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
|
-
var _path$
|
|
1049
|
+
var _path$1b;
|
|
1050
1050
|
|
|
1051
1051
|
function _extends$2D() { _extends$2D = 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$2D.apply(this, arguments); }
|
|
1052
1052
|
|
|
@@ -1058,13 +1058,13 @@ function SvgChevronUp(props) {
|
|
|
1058
1058
|
strokeLinejoin: "round",
|
|
1059
1059
|
width: "1em",
|
|
1060
1060
|
height: "1em"
|
|
1061
|
-
}, props), _path$
|
|
1061
|
+
}, props), _path$1b || (_path$1b = /*#__PURE__*/React.createElement("path", {
|
|
1062
1062
|
d: "M12 10L8 6l-4 4",
|
|
1063
1063
|
stroke: "currentColor"
|
|
1064
1064
|
})));
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
|
-
var _path
|
|
1067
|
+
var _path$10;
|
|
1068
1068
|
|
|
1069
1069
|
function _extends$2k() { _extends$2k = 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$2k.apply(this, arguments); }
|
|
1070
1070
|
|
|
@@ -1076,13 +1076,13 @@ function SvgCheck(props) {
|
|
|
1076
1076
|
strokeLinejoin: "round",
|
|
1077
1077
|
width: "1em",
|
|
1078
1078
|
height: "1em"
|
|
1079
|
-
}, props), _path
|
|
1079
|
+
}, props), _path$10 || (_path$10 = /*#__PURE__*/React.createElement("path", {
|
|
1080
1080
|
d: "M13.333 4L6 11.333 2.667 8",
|
|
1081
1081
|
stroke: "currentColor"
|
|
1082
1082
|
})));
|
|
1083
1083
|
}
|
|
1084
1084
|
|
|
1085
|
-
var _g$
|
|
1085
|
+
var _g$1h, _defs$H;
|
|
1086
1086
|
|
|
1087
1087
|
function _extends$2i() { _extends$2i = 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$2i.apply(this, arguments); }
|
|
1088
1088
|
|
|
@@ -1094,14 +1094,14 @@ function SvgClock(props) {
|
|
|
1094
1094
|
strokeLinejoin: "round",
|
|
1095
1095
|
width: "1em",
|
|
1096
1096
|
height: "1em"
|
|
1097
|
-
}, props), _g$
|
|
1097
|
+
}, props), _g$1h || (_g$1h = /*#__PURE__*/React.createElement("g", {
|
|
1098
1098
|
clipPath: "url(#clock_svg__clip0_8_5092)",
|
|
1099
1099
|
stroke: "currentColor"
|
|
1100
1100
|
}, /*#__PURE__*/React.createElement("path", {
|
|
1101
1101
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333z"
|
|
1102
1102
|
}), /*#__PURE__*/React.createElement("path", {
|
|
1103
1103
|
d: "M8 4v4l2.667 1.333"
|
|
1104
|
-
}))), _defs$
|
|
1104
|
+
}))), _defs$H || (_defs$H = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
1105
1105
|
id: "clock_svg__clip0_8_5092"
|
|
1106
1106
|
}, /*#__PURE__*/React.createElement("path", {
|
|
1107
1107
|
fill: "currentColor",
|
|
@@ -1109,7 +1109,7 @@ function SvgClock(props) {
|
|
|
1109
1109
|
})))));
|
|
1110
1110
|
}
|
|
1111
1111
|
|
|
1112
|
-
var _g$
|
|
1112
|
+
var _g$1g, _defs$G;
|
|
1113
1113
|
|
|
1114
1114
|
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); }
|
|
1115
1115
|
|
|
@@ -1121,12 +1121,12 @@ function SvgXCircle(props) {
|
|
|
1121
1121
|
strokeLinejoin: "round",
|
|
1122
1122
|
width: "1em",
|
|
1123
1123
|
height: "1em"
|
|
1124
|
-
}, props), _g$
|
|
1124
|
+
}, props), _g$1g || (_g$1g = /*#__PURE__*/React.createElement("g", {
|
|
1125
1125
|
clipPath: "url(#x-circle_svg__clip0_8_6136)",
|
|
1126
1126
|
stroke: "currentColor"
|
|
1127
1127
|
}, /*#__PURE__*/React.createElement("path", {
|
|
1128
1128
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zM10 6l-4 4m0-4l4 4"
|
|
1129
|
-
}))), _defs$
|
|
1129
|
+
}))), _defs$G || (_defs$G = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
1130
1130
|
id: "x-circle_svg__clip0_8_6136"
|
|
1131
1131
|
}, /*#__PURE__*/React.createElement("path", {
|
|
1132
1132
|
fill: "currentColor",
|
|
@@ -1134,7 +1134,7 @@ function SvgXCircle(props) {
|
|
|
1134
1134
|
})))));
|
|
1135
1135
|
}
|
|
1136
1136
|
|
|
1137
|
-
var _path$
|
|
1137
|
+
var _path$Y;
|
|
1138
1138
|
|
|
1139
1139
|
function _extends$28() { _extends$28 = 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$28.apply(this, arguments); }
|
|
1140
1140
|
|
|
@@ -1146,13 +1146,13 @@ function SvgHeart(props) {
|
|
|
1146
1146
|
strokeLinejoin: "round",
|
|
1147
1147
|
width: "1em",
|
|
1148
1148
|
height: "1em"
|
|
1149
|
-
}, props), _path$
|
|
1149
|
+
}, props), _path$Y || (_path$Y = /*#__PURE__*/React.createElement("path", {
|
|
1150
1150
|
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",
|
|
1151
1151
|
stroke: "currentColor"
|
|
1152
1152
|
})));
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
1155
|
-
var _g$
|
|
1155
|
+
var _g$13, _defs$z;
|
|
1156
1156
|
|
|
1157
1157
|
function _extends$1W() { _extends$1W = 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$1W.apply(this, arguments); }
|
|
1158
1158
|
|
|
@@ -1164,12 +1164,12 @@ function SvgMinusCircle(props) {
|
|
|
1164
1164
|
strokeLinejoin: "round",
|
|
1165
1165
|
width: "1em",
|
|
1166
1166
|
height: "1em"
|
|
1167
|
-
}, props), _g$
|
|
1167
|
+
}, props), _g$13 || (_g$13 = /*#__PURE__*/React.createElement("g", {
|
|
1168
1168
|
clipPath: "url(#minus-circle_svg__clip0_8_5970)",
|
|
1169
1169
|
stroke: "currentColor"
|
|
1170
1170
|
}, /*#__PURE__*/React.createElement("path", {
|
|
1171
1171
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zM5.333 8h5.334"
|
|
1172
|
-
}))), _defs$
|
|
1172
|
+
}))), _defs$z || (_defs$z = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
1173
1173
|
id: "minus-circle_svg__clip0_8_5970"
|
|
1174
1174
|
}, /*#__PURE__*/React.createElement("path", {
|
|
1175
1175
|
fill: "currentColor",
|
|
@@ -1177,7 +1177,7 @@ function SvgMinusCircle(props) {
|
|
|
1177
1177
|
})))));
|
|
1178
1178
|
}
|
|
1179
1179
|
|
|
1180
|
-
var _path$
|
|
1180
|
+
var _path$O;
|
|
1181
1181
|
|
|
1182
1182
|
function _extends$1S() { _extends$1S = 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$1S.apply(this, arguments); }
|
|
1183
1183
|
|
|
@@ -1189,13 +1189,13 @@ function SvgPlus(props) {
|
|
|
1189
1189
|
strokeLinejoin: "round",
|
|
1190
1190
|
width: "1em",
|
|
1191
1191
|
height: "1em"
|
|
1192
|
-
}, props), _path$
|
|
1192
|
+
}, props), _path$O || (_path$O = /*#__PURE__*/React.createElement("path", {
|
|
1193
1193
|
d: "M8 3.333v9.334M3.333 8h9.334",
|
|
1194
1194
|
stroke: "currentColor"
|
|
1195
1195
|
})));
|
|
1196
1196
|
}
|
|
1197
1197
|
|
|
1198
|
-
var _g$
|
|
1198
|
+
var _g$12, _defs$y;
|
|
1199
1199
|
|
|
1200
1200
|
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); }
|
|
1201
1201
|
|
|
@@ -1207,12 +1207,12 @@ function SvgPlusCircle(props) {
|
|
|
1207
1207
|
strokeLinejoin: "round",
|
|
1208
1208
|
width: "1em",
|
|
1209
1209
|
height: "1em"
|
|
1210
|
-
}, props), _g$
|
|
1210
|
+
}, props), _g$12 || (_g$12 = /*#__PURE__*/React.createElement("g", {
|
|
1211
1211
|
clipPath: "url(#plus-circle_svg__clip0_8_5870)",
|
|
1212
1212
|
stroke: "currentColor"
|
|
1213
1213
|
}, /*#__PURE__*/React.createElement("path", {
|
|
1214
1214
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zm0-9.334v5.334M5.333 8h5.334"
|
|
1215
|
-
}))), _defs$
|
|
1215
|
+
}))), _defs$y || (_defs$y = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
1216
1216
|
id: "plus-circle_svg__clip0_8_5870"
|
|
1217
1217
|
}, /*#__PURE__*/React.createElement("path", {
|
|
1218
1218
|
fill: "currentColor",
|
|
@@ -1220,7 +1220,7 @@ function SvgPlusCircle(props) {
|
|
|
1220
1220
|
})))));
|
|
1221
1221
|
}
|
|
1222
1222
|
|
|
1223
|
-
var _path$
|
|
1223
|
+
var _path$K;
|
|
1224
1224
|
|
|
1225
1225
|
function _extends$1J() { _extends$1J = 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$1J.apply(this, arguments); }
|
|
1226
1226
|
|
|
@@ -1232,13 +1232,13 @@ function SvgTag(props) {
|
|
|
1232
1232
|
strokeLinejoin: "round",
|
|
1233
1233
|
width: "1em",
|
|
1234
1234
|
height: "1em"
|
|
1235
|
-
}, props), _path$
|
|
1235
|
+
}, props), _path$K || (_path$K = /*#__PURE__*/React.createElement("path", {
|
|
1236
1236
|
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",
|
|
1237
1237
|
stroke: "currentColor"
|
|
1238
1238
|
})));
|
|
1239
1239
|
}
|
|
1240
1240
|
|
|
1241
|
-
var _path$
|
|
1241
|
+
var _path$v;
|
|
1242
1242
|
|
|
1243
1243
|
function _extends$1e() { _extends$1e = 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$1e.apply(this, arguments); }
|
|
1244
1244
|
|
|
@@ -1250,13 +1250,13 @@ function SvgTrash(props) {
|
|
|
1250
1250
|
strokeLinejoin: "round",
|
|
1251
1251
|
width: "1em",
|
|
1252
1252
|
height: "1em"
|
|
1253
|
-
}, props), _path$
|
|
1253
|
+
}, props), _path$v || (_path$v = /*#__PURE__*/React.createElement("path", {
|
|
1254
1254
|
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",
|
|
1255
1255
|
stroke: "currentColor"
|
|
1256
1256
|
})));
|
|
1257
1257
|
}
|
|
1258
1258
|
|
|
1259
|
-
var _path$
|
|
1259
|
+
var _path$9, _path2$1;
|
|
1260
1260
|
|
|
1261
1261
|
function _extends$o() { _extends$o = 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$o.apply(this, arguments); }
|
|
1262
1262
|
|
|
@@ -1268,7 +1268,7 @@ function SvgReviews(props) {
|
|
|
1268
1268
|
strokeLinejoin: "round",
|
|
1269
1269
|
width: "1em",
|
|
1270
1270
|
height: "1em"
|
|
1271
|
-
}, props), _path$
|
|
1271
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
|
|
1272
1272
|
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",
|
|
1273
1273
|
stroke: "currentColor"
|
|
1274
1274
|
})), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
|
|
@@ -1385,6 +1385,9 @@ var useDishCardStyles = makeStyles$1(function (theme) { return ({
|
|
|
1385
1385
|
borderRadius: '30px',
|
|
1386
1386
|
marginRight: theme.spacing(1),
|
|
1387
1387
|
},
|
|
1388
|
+
title: {
|
|
1389
|
+
fontSize: '1.125rem',
|
|
1390
|
+
},
|
|
1388
1391
|
truncate: {
|
|
1389
1392
|
'-webkit-line-clamp': 2,
|
|
1390
1393
|
display: '-webkit-box',
|
|
@@ -1393,7 +1396,7 @@ var useDishCardStyles = makeStyles$1(function (theme) { return ({
|
|
|
1393
1396
|
overflow: 'hidden',
|
|
1394
1397
|
},
|
|
1395
1398
|
price: {
|
|
1396
|
-
fontSize: '
|
|
1399
|
+
fontSize: '1.25rem',
|
|
1397
1400
|
},
|
|
1398
1401
|
}); });
|
|
1399
1402
|
|
|
@@ -1412,8 +1415,10 @@ var useItemtagStyles = makeStyles$1(function (theme) { return ({
|
|
|
1412
1415
|
borderColor: ((_c = theme.palette[colorGroup]) === null || _c === void 0 ? void 0 : _c[colorVariant]) || color,
|
|
1413
1416
|
border: '1.5px solid',
|
|
1414
1417
|
background: 'none',
|
|
1415
|
-
height: '
|
|
1416
|
-
|
|
1418
|
+
height: '24px',
|
|
1419
|
+
lineHeight: 1.5,
|
|
1420
|
+
position: 'static',
|
|
1421
|
+
width: '24px',
|
|
1417
1422
|
};
|
|
1418
1423
|
},
|
|
1419
1424
|
}); });
|
|
@@ -1440,7 +1445,7 @@ var DishCard = function (props) {
|
|
|
1440
1445
|
React__default.createElement(Box, { display: "flex", flexDirection: "column", justifyContent: "space-between", width: "100%", marginRight: 1 },
|
|
1441
1446
|
React__default.createElement(Box, null,
|
|
1442
1447
|
React__default.createElement(Box, { maxHeight: getTruncatedSizePx('h6') + 'px' },
|
|
1443
|
-
React__default.createElement(Typography, { variant: "h6", className: classes.truncate }, title)),
|
|
1448
|
+
React__default.createElement(Typography, { variant: "h6", className: classNames([classes.title, classes.truncate]) }, title)),
|
|
1444
1449
|
React__default.createElement(Box, { maxHeight: getTruncatedSizePx('body2') + 'px' },
|
|
1445
1450
|
React__default.createElement(Typography, { variant: "body2", className: classNames([classes.description, classes.truncate]) }, description)),
|
|
1446
1451
|
React__default.createElement(ReactionCounterGroup, null,
|
|
@@ -1870,12 +1875,33 @@ function SvgLeafIcon(props) {
|
|
|
1870
1875
|
})));
|
|
1871
1876
|
}
|
|
1872
1877
|
|
|
1878
|
+
var useMenuFilterStyles = makeStyles$1(function (theme) { return ({
|
|
1879
|
+
chipButton: {
|
|
1880
|
+
position: 'static',
|
|
1881
|
+
},
|
|
1882
|
+
container: {
|
|
1883
|
+
alignItems: 'center',
|
|
1884
|
+
display: 'flex',
|
|
1885
|
+
flexWrap: 'wrap',
|
|
1886
|
+
gridGap: theme.spacing(0.5),
|
|
1887
|
+
},
|
|
1888
|
+
filterButton: {
|
|
1889
|
+
maxHeight: theme.spacing(4.5),
|
|
1890
|
+
position: 'static',
|
|
1891
|
+
textTransform: 'none',
|
|
1892
|
+
},
|
|
1893
|
+
tagText: {
|
|
1894
|
+
color: theme.palette.grey[900],
|
|
1895
|
+
},
|
|
1896
|
+
}); });
|
|
1897
|
+
|
|
1873
1898
|
var MenuFilter = function (props) {
|
|
1874
1899
|
var filterOptions = props.filterOptions, onFilter = props.onFilter, activeFilters = props.activeFilters;
|
|
1875
1900
|
var _a = useState(null), anchorEl = _a[0], setAnchorEl = _a[1];
|
|
1876
1901
|
var open = Boolean(anchorEl);
|
|
1877
1902
|
var hasActiveFilters = activeFilters.length > 0;
|
|
1878
1903
|
var allFiltersActive = filterOptions.length === 0;
|
|
1904
|
+
var classes = useMenuFilterStyles();
|
|
1879
1905
|
var handleChange = function (event) {
|
|
1880
1906
|
onFilter({ target: { value: event.currentTarget.value } });
|
|
1881
1907
|
setAnchorEl(null);
|
|
@@ -1891,17 +1917,19 @@ var MenuFilter = function (props) {
|
|
|
1891
1917
|
setAnchorEl(null);
|
|
1892
1918
|
};
|
|
1893
1919
|
return (React__default.createElement(Box, { display: "flex" },
|
|
1894
|
-
React__default.createElement(
|
|
1895
|
-
React__default.createElement(
|
|
1896
|
-
React__default.createElement(
|
|
1897
|
-
|
|
1898
|
-
React__default.createElement(
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1920
|
+
React__default.createElement(Box, { className: classes.container },
|
|
1921
|
+
React__default.createElement(Button$2, { id: "menu-filter-button", "aria-controls": open ? 'filter-menu' : undefined, "aria-haspopup": "true", "aria-expanded": open ? 'true' : undefined, onClick: handleClick, size: "small", className: classes.filterButton },
|
|
1922
|
+
React__default.createElement(Box, { display: "flex", alignItems: "center", padding: 1 },
|
|
1923
|
+
React__default.createElement(Icon, { icon: SvgLeafIcon }),
|
|
1924
|
+
React__default.createElement(Box, { marginLeft: 1 },
|
|
1925
|
+
React__default.createElement(Typography, { variant: "caption", color: "info.light" }, "Add Filter")))),
|
|
1926
|
+
hasActiveFilters &&
|
|
1927
|
+
activeFilters.map(function (filter, index) { return (React__default.createElement(Chip, { key: index, onClick: function () { return handleChipDelete(filter.id); }, className: classes.chipButton, label: React__default.createElement(Box, { display: "flex", alignItems: "center" },
|
|
1928
|
+
React__default.createElement(Box, { marginLeft: -0.75, marginRight: 0.75 },
|
|
1929
|
+
React__default.createElement(ItemTag, { alt: filter.abbr, color: filter.color }, filter.abbr)),
|
|
1930
|
+
React__default.createElement(Typography, { className: classes.tagText, variant: "caption" }, filter.name),
|
|
1931
|
+
React__default.createElement(Box, { display: "flex", marginLeft: 0.75, marginRight: -0.75 },
|
|
1932
|
+
React__default.createElement(Icon, { icon: SvgXCircle, size: "large", color: "#9E9E9E" }))) })); })),
|
|
1905
1933
|
React__default.createElement(Menu, { id: "menu-filter-menu", anchorEl: anchorEl, open: open, onClose: handleClose, MenuListProps: {
|
|
1906
1934
|
'aria-labelledby': 'menu-filter-button',
|
|
1907
1935
|
} },
|
|
@@ -2009,7 +2037,7 @@ var SelectableChip = function (props) {
|
|
|
2009
2037
|
var useSelectableChipGroupStyles = makeStyles$1(function (theme) { return ({
|
|
2010
2038
|
root: {
|
|
2011
2039
|
display: 'flex',
|
|
2012
|
-
|
|
2040
|
+
alignItems: 'center',
|
|
2013
2041
|
'& div.MuiTabs-scroller': {
|
|
2014
2042
|
'& .MuiTabs-flexContainer': {
|
|
2015
2043
|
gridGap: theme.spacing(1.5),
|
|
@@ -2023,7 +2051,10 @@ var SelectableChipGroup = function (props) {
|
|
|
2023
2051
|
var classes = useSelectableChipGroupStyles(props);
|
|
2024
2052
|
return (React__default.createElement(Tabs, __assign$1({ TabIndicatorProps: {
|
|
2025
2053
|
hidden: true,
|
|
2026
|
-
}, variant: "scrollable", scrollButtons: "off", classes: { root: classes.root } }, muiProps),
|
|
2054
|
+
}, variant: "scrollable", scrollButtons: "off", classes: { root: classes.root } }, muiProps),
|
|
2055
|
+
React__default.createElement(Box, { minWidth: "1px" }),
|
|
2056
|
+
children,
|
|
2057
|
+
React__default.createElement(Box, { minWidth: "1px" })));
|
|
2027
2058
|
};
|
|
2028
2059
|
|
|
2029
2060
|
export { Button, DishCard, DishCheckoutCard, DishDetailsReview, DishModifierCard, ItemTag, ItemTagGroup, LocationCard, MenuDropdown, MenuFilter, QuantityPicker, ReactionCounter, ReactionCounterGroup, SelectableChip, SelectableChipGroup, StatusTag };
|