@7shifts/sous-chef 2.6.0 → 2.7.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/dist/feedback/Spinner/Spinner.d.ts +1 -1
- package/dist/icons/components/IconUniversity.d.ts +11 -0
- package/dist/icons/components/index.d.ts +1 -0
- package/dist/index.css +4 -0
- package/dist/index.js +94 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +94 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconSize } from '../types';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
size?: IconSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
} & React.SVGProps<SVGSVGElement>;
|
|
7
|
+
declare const IconUniversity: {
|
|
8
|
+
(props: Props): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export default IconUniversity;
|
|
@@ -109,6 +109,7 @@ export { default as IconTimes } from './IconTimes';
|
|
|
109
109
|
export { default as IconTrash } from './IconTrash';
|
|
110
110
|
export { default as IconUnderline } from './IconUnderline';
|
|
111
111
|
export { default as IconUndo } from './IconUndo';
|
|
112
|
+
export { default as IconUniversity } from './IconUniversity';
|
|
112
113
|
export { default as IconUserComputer } from './IconUserComputer';
|
|
113
114
|
export { default as IconUserLight } from './IconUserLight';
|
|
114
115
|
export { default as IconUserPlus } from './IconUserPlus';
|
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -163,7 +163,7 @@ var Inline = function Inline(props) {
|
|
|
163
163
|
}));
|
|
164
164
|
};
|
|
165
165
|
|
|
166
|
-
var styles$2 = {"spinner":"_2wtfD","rotator":"_2Jprn","spinner--block":"_Jmh8M","path":"_3zucL","dash":"_3ZqYM","path--mint":"_3XYKx","path--disabled":"_1pYbs","path--contrast":"_3ofDF"};
|
|
166
|
+
var styles$2 = {"spinner":"_2wtfD","rotator":"_2Jprn","spinner--block":"_Jmh8M","path":"_3zucL","dash":"_3ZqYM","path--mint":"_3XYKx","path--disabled":"_1pYbs","path--contrast":"_3ofDF","path--pride":"_e0OH1"};
|
|
167
167
|
|
|
168
168
|
var Spinner = function Spinner(_ref) {
|
|
169
169
|
var _classnames;
|
|
@@ -183,7 +183,75 @@ var Spinner = function Spinner(_ref) {
|
|
|
183
183
|
height: size,
|
|
184
184
|
viewBox: "0 0 66 66",
|
|
185
185
|
"data-testid": "spinner"
|
|
186
|
-
}, React__default.createElement("
|
|
186
|
+
}, React__default.createElement("defs", null, React__default.createElement("linearGradient", {
|
|
187
|
+
id: "prideGradient"
|
|
188
|
+
}, React__default.createElement("stop", {
|
|
189
|
+
offset: "0",
|
|
190
|
+
stopColor: "#000000"
|
|
191
|
+
}), React__default.createElement("stop", {
|
|
192
|
+
offset: "0.0500",
|
|
193
|
+
stopColor: "#000000"
|
|
194
|
+
}), React__default.createElement("stop", {
|
|
195
|
+
offset: "0.0501",
|
|
196
|
+
stopColor: "#ffafc7"
|
|
197
|
+
}), React__default.createElement("stop", {
|
|
198
|
+
offset: "0.15",
|
|
199
|
+
stopColor: "#ffafc7"
|
|
200
|
+
}), React__default.createElement("stop", {
|
|
201
|
+
offset: "0.1501",
|
|
202
|
+
stopColor: "#73d7ee"
|
|
203
|
+
}), React__default.createElement("stop", {
|
|
204
|
+
offset: "0.25",
|
|
205
|
+
stopColor: "#73d7ee"
|
|
206
|
+
}), React__default.createElement("stop", {
|
|
207
|
+
offset: "0.2501",
|
|
208
|
+
stopColor: "#613915"
|
|
209
|
+
}), React__default.createElement("stop", {
|
|
210
|
+
offset: "0.35",
|
|
211
|
+
stopColor: "#613915"
|
|
212
|
+
}), React__default.createElement("stop", {
|
|
213
|
+
offset: "0.3501",
|
|
214
|
+
stopColor: "#ffffff"
|
|
215
|
+
}), React__default.createElement("stop", {
|
|
216
|
+
offset: "0.45",
|
|
217
|
+
stopColor: "#ffffff"
|
|
218
|
+
}), React__default.createElement("stop", {
|
|
219
|
+
offset: "0.4501",
|
|
220
|
+
stopColor: "#e50000"
|
|
221
|
+
}), React__default.createElement("stop", {
|
|
222
|
+
offset: "0.55",
|
|
223
|
+
stopColor: "#e50000"
|
|
224
|
+
}), React__default.createElement("stop", {
|
|
225
|
+
offset: "0.5501",
|
|
226
|
+
stopColor: "#ff8d00"
|
|
227
|
+
}), React__default.createElement("stop", {
|
|
228
|
+
offset: "0.65",
|
|
229
|
+
stopColor: "#ff8d00"
|
|
230
|
+
}), React__default.createElement("stop", {
|
|
231
|
+
offset: "0.6501",
|
|
232
|
+
stopColor: "#ddee00"
|
|
233
|
+
}), React__default.createElement("stop", {
|
|
234
|
+
offset: "0.75",
|
|
235
|
+
stopColor: "#ddee00"
|
|
236
|
+
}), React__default.createElement("stop", {
|
|
237
|
+
offset: "0.7501",
|
|
238
|
+
stopColor: "#028121"
|
|
239
|
+
}), React__default.createElement("stop", {
|
|
240
|
+
offset: "0.85",
|
|
241
|
+
stopColor: "#028121"
|
|
242
|
+
}), React__default.createElement("stop", {
|
|
243
|
+
offset: "0.8501",
|
|
244
|
+
stopColor: "#004cff"
|
|
245
|
+
}), React__default.createElement("stop", {
|
|
246
|
+
offset: "0.95",
|
|
247
|
+
stopColor: "#004cff"
|
|
248
|
+
}), React__default.createElement("stop", {
|
|
249
|
+
offset: "0.9501",
|
|
250
|
+
stopColor: "#760088"
|
|
251
|
+
}), React__default.createElement("stop", {
|
|
252
|
+
offset: "1",
|
|
253
|
+
stopColor: "#760088"
|
|
254
|
+
}))), React__default.createElement("circle", {
|
|
187
255
|
className: classnames(styles$2['path'], styles$2["path--" + theme]),
|
|
188
256
|
fill: "none",
|
|
189
257
|
strokeWidth: "6",
|
|
@@ -2735,6 +2803,28 @@ var IconUndo = function IconUndo(props) {
|
|
|
2735
2803
|
|
|
2736
2804
|
IconUndo.displayName = 'IconUndo';
|
|
2737
2805
|
|
|
2806
|
+
var IconUniversity = function IconUniversity(props) {
|
|
2807
|
+
return React__default.createElement("svg", Object.assign({
|
|
2808
|
+
viewBox: "0 0 20 20",
|
|
2809
|
+
fill: "none",
|
|
2810
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2811
|
+
"data-testid": "icon-university",
|
|
2812
|
+
style: getIconStyles(props)
|
|
2813
|
+
}, props), React__default.createElement("g", {
|
|
2814
|
+
clipPath: "url(#icon-university_svg__a)"
|
|
2815
|
+
}, React__default.createElement("path", {
|
|
2816
|
+
d: "M19.375 17.5h-.625v-1.563a.937.937 0 0 0-.938-.937H16.25V8.125H15V15h-2.5V8.125h-1.25V15h-2.5V8.125H7.5V15H5V8.125H3.75V15H2.187a.937.937 0 0 0-.937.938V17.5H.625a.625.625 0 0 0-.625.625v.313a.313.313 0 0 0 .313.312h19.375a.313.313 0 0 0 .312-.313v-.312a.625.625 0 0 0-.625-.625ZM2.5 16.25h15v1.25h-15v-1.25ZM19.698 5.312l-9.105-3.966a1.875 1.875 0 0 0-1.186 0L.302 5.312A.469.469 0 0 0 0 5.752v.343c0 .259.21.468.469.468h.781v.47c0 .258.21.468.469.468H18.28c.26 0 .469-.21.469-.469v-.468h.781c.26 0 .469-.21.469-.47v-.342a.469.469 0 0 0-.302-.439ZM17.5 6.25h-15v-.531L9.842 2.52a.625.625 0 0 1 .316 0L17.5 5.72v.531Z",
|
|
2817
|
+
fill: "currentColor"
|
|
2818
|
+
})), React__default.createElement("defs", null, React__default.createElement("clipPath", {
|
|
2819
|
+
id: "icon-university_svg__a"
|
|
2820
|
+
}, React__default.createElement("path", {
|
|
2821
|
+
fill: "#fff",
|
|
2822
|
+
d: "M0 0h20v20H0z"
|
|
2823
|
+
}))));
|
|
2824
|
+
};
|
|
2825
|
+
|
|
2826
|
+
IconUniversity.displayName = 'IconUniversity';
|
|
2827
|
+
|
|
2738
2828
|
var IconUserComputer = function IconUserComputer(props) {
|
|
2739
2829
|
return React__default.createElement("svg", Object.assign({
|
|
2740
2830
|
viewBox: "0 0 20 20",
|
|
@@ -3609,7 +3699,7 @@ var useFieldControllers = function useFieldControllers(_ref) {
|
|
|
3609
3699
|
return formik.setFieldValue(name, e.target.value);
|
|
3610
3700
|
},
|
|
3611
3701
|
onBlur: _onBlur ? function (e) {
|
|
3612
|
-
|
|
3702
|
+
_onBlur && _onBlur(e.target.value);
|
|
3613
3703
|
currencyBlur();
|
|
3614
3704
|
} : function () {
|
|
3615
3705
|
formik.setFieldTouched(name);
|
|
@@ -6254,6 +6344,7 @@ exports.IconTimesOctagon = IconTimesOctagon;
|
|
|
6254
6344
|
exports.IconTrash = IconTrash;
|
|
6255
6345
|
exports.IconUnderline = IconUnderline;
|
|
6256
6346
|
exports.IconUndo = IconUndo;
|
|
6347
|
+
exports.IconUniversity = IconUniversity;
|
|
6257
6348
|
exports.IconUserComputer = IconUserComputer;
|
|
6258
6349
|
exports.IconUserLight = IconUserLight;
|
|
6259
6350
|
exports.IconUserPlus = IconUserPlus;
|