@heycater/qualification-funnel 1.3.6 → 1.3.7

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/index.esm.js CHANGED
@@ -9474,7 +9474,7 @@ const EmbeddedQuestionLayout = ({
9474
9474
  width: "100%",
9475
9475
  color: "rgba(0,0,0,0.8)",
9476
9476
  flexDirection: "column",
9477
- justifyContent: "center",
9477
+ justifyContent: isFullscreen ? "center" : { xs: "flex-start", md: "center" },
9478
9478
  alignItems: "flex-start",
9479
9479
  position: isMobile ? "inherit" : "relative",
9480
9480
  ...isFullscreen ? { flexGrow: 1, style: { paddingBottom: "80px" } } : {},
@@ -9565,8 +9565,6 @@ const EmbeddedQuestionLayout = ({
9565
9565
  };
9566
9566
  const Wrapper$5 = styled(Box)`
9567
9567
  border-radius: 8px;
9568
- justify-content: center;
9569
- align-items: center;
9570
9568
  width: 100%;
9571
9569
  padding: ${({ theme }) => theme.spacing(1)}px;
9572
9570
  padding-bottom: ${({ theme }) => theme.spacing(2)}px;
@@ -11153,12 +11151,15 @@ const ServiceTile = styled(Tile)`
11153
11151
  text-align: center;
11154
11152
  height: 150px;
11155
11153
  width: 130px;
11154
+ flex-shrink: 1;
11155
+ min-width: 90px;
11156
11156
  overflow: visible;
11157
11157
  gap: ${({ theme }) => theme.spacing(0.5)}px;
11158
11158
 
11159
11159
  ${({ theme }) => theme.breakpoints.up("sm")} {
11160
11160
  height: 200px;
11161
11161
  width: 200px;
11162
+ flex-shrink: 0;
11162
11163
  gap: ${({ theme }) => theme.spacing(1)}px;
11163
11164
  }
11164
11165
  `;
@@ -12160,7 +12161,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
12160
12161
  var ys = arrObjKeys(obj, inspect2);
12161
12162
  var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
12162
12163
  var protoTag = obj instanceof Object ? "" : "null prototype";
12163
- var stringTag2 = !isPlainObject2 && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
12164
+ var stringTag2 = !isPlainObject2 && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
12164
12165
  var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
12165
12166
  var tag = constructorTag + (stringTag2 || protoTag ? "[" + $join.call($concat$1.call([], stringTag2 || [], protoTag || []), ": ") + "] " : "");
12166
12167
  if (ys.length === 0) {
@@ -12185,25 +12186,25 @@ function canTrustToString(obj) {
12185
12186
  return !toStringTag || !(typeof obj === "object" && (toStringTag in obj || typeof obj[toStringTag] !== "undefined"));
12186
12187
  }
12187
12188
  function isArray$2(obj) {
12188
- return toStr(obj) === "[object Array]" && canTrustToString(obj);
12189
+ return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
12189
12190
  }
12190
12191
  function isDate(obj) {
12191
- return toStr(obj) === "[object Date]" && canTrustToString(obj);
12192
+ return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
12192
12193
  }
12193
12194
  function isRegExp$1(obj) {
12194
- return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
12195
+ return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
12195
12196
  }
12196
12197
  function isError(obj) {
12197
- return toStr(obj) === "[object Error]" && canTrustToString(obj);
12198
+ return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
12198
12199
  }
12199
12200
  function isString(obj) {
12200
- return toStr(obj) === "[object String]" && canTrustToString(obj);
12201
+ return toStr$1(obj) === "[object String]" && canTrustToString(obj);
12201
12202
  }
12202
12203
  function isNumber(obj) {
12203
- return toStr(obj) === "[object Number]" && canTrustToString(obj);
12204
+ return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
12204
12205
  }
12205
12206
  function isBoolean(obj) {
12206
- return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
12207
+ return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
12207
12208
  }
12208
12209
  function isSymbol(obj) {
12209
12210
  if (hasShammedSymbols) {
@@ -12239,7 +12240,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
12239
12240
  function has$3(obj, key) {
12240
12241
  return hasOwn$1.call(obj, key);
12241
12242
  }
12242
- function toStr(obj) {
12243
+ function toStr$1(obj) {
12243
12244
  return objectToString.call(obj);
12244
12245
  }
12245
12246
  function nameOf(f) {
@@ -12548,7 +12549,7 @@ var syntax = SyntaxError;
12548
12549
  var uri = URIError;
12549
12550
  var abs$1 = Math.abs;
12550
12551
  var floor$1 = Math.floor;
12551
- var max$1 = Math.max;
12552
+ var max$2 = Math.max;
12552
12553
  var min$1 = Math.min;
12553
12554
  var pow$1 = Math.pow;
12554
12555
  var round$2 = Math.round;
@@ -12677,99 +12678,78 @@ function requireObject_getPrototypeOf() {
12677
12678
  Object_getPrototypeOf = $Object2.getPrototypeOf || null;
12678
12679
  return Object_getPrototypeOf;
12679
12680
  }
12680
- var implementation;
12681
- var hasRequiredImplementation;
12682
- function requireImplementation() {
12683
- if (hasRequiredImplementation) return implementation;
12684
- hasRequiredImplementation = 1;
12685
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
12686
- var toStr2 = Object.prototype.toString;
12687
- var max2 = Math.max;
12688
- var funcType = "[object Function]";
12689
- var concatty = function concatty2(a3, b2) {
12690
- var arr = [];
12691
- for (var i2 = 0; i2 < a3.length; i2 += 1) {
12692
- arr[i2] = a3[i2];
12693
- }
12694
- for (var j = 0; j < b2.length; j += 1) {
12695
- arr[j + a3.length] = b2[j];
12696
- }
12697
- return arr;
12698
- };
12699
- var slicy = function slicy2(arrLike, offset2) {
12700
- var arr = [];
12701
- for (var i2 = offset2, j = 0; i2 < arrLike.length; i2 += 1, j += 1) {
12702
- arr[j] = arrLike[i2];
12681
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
12682
+ var toStr = Object.prototype.toString;
12683
+ var max$1 = Math.max;
12684
+ var funcType = "[object Function]";
12685
+ var concatty = function concatty2(a3, b2) {
12686
+ var arr = [];
12687
+ for (var i2 = 0; i2 < a3.length; i2 += 1) {
12688
+ arr[i2] = a3[i2];
12689
+ }
12690
+ for (var j = 0; j < b2.length; j += 1) {
12691
+ arr[j + a3.length] = b2[j];
12692
+ }
12693
+ return arr;
12694
+ };
12695
+ var slicy = function slicy2(arrLike, offset2) {
12696
+ var arr = [];
12697
+ for (var i2 = offset2, j = 0; i2 < arrLike.length; i2 += 1, j += 1) {
12698
+ arr[j] = arrLike[i2];
12699
+ }
12700
+ return arr;
12701
+ };
12702
+ var joiny = function(arr, joiner) {
12703
+ var str = "";
12704
+ for (var i2 = 0; i2 < arr.length; i2 += 1) {
12705
+ str += arr[i2];
12706
+ if (i2 + 1 < arr.length) {
12707
+ str += joiner;
12703
12708
  }
12704
- return arr;
12705
- };
12706
- var joiny = function(arr, joiner) {
12707
- var str = "";
12708
- for (var i2 = 0; i2 < arr.length; i2 += 1) {
12709
- str += arr[i2];
12710
- if (i2 + 1 < arr.length) {
12711
- str += joiner;
12709
+ }
12710
+ return str;
12711
+ };
12712
+ var implementation$1 = function bind(that) {
12713
+ var target = this;
12714
+ if (typeof target !== "function" || toStr.apply(target) !== funcType) {
12715
+ throw new TypeError(ERROR_MESSAGE + target);
12716
+ }
12717
+ var args = slicy(arguments, 1);
12718
+ var bound;
12719
+ var binder = function() {
12720
+ if (this instanceof bound) {
12721
+ var result = target.apply(
12722
+ this,
12723
+ concatty(args, arguments)
12724
+ );
12725
+ if (Object(result) === result) {
12726
+ return result;
12712
12727
  }
12728
+ return this;
12713
12729
  }
12714
- return str;
12730
+ return target.apply(
12731
+ that,
12732
+ concatty(args, arguments)
12733
+ );
12715
12734
  };
12716
- implementation = function bind2(that) {
12717
- var target = this;
12718
- if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
12719
- throw new TypeError(ERROR_MESSAGE + target);
12720
- }
12721
- var args = slicy(arguments, 1);
12722
- var bound;
12723
- var binder = function() {
12724
- if (this instanceof bound) {
12725
- var result = target.apply(
12726
- this,
12727
- concatty(args, arguments)
12728
- );
12729
- if (Object(result) === result) {
12730
- return result;
12731
- }
12732
- return this;
12733
- }
12734
- return target.apply(
12735
- that,
12736
- concatty(args, arguments)
12737
- );
12735
+ var boundLength = max$1(0, target.length - args.length);
12736
+ var boundArgs = [];
12737
+ for (var i2 = 0; i2 < boundLength; i2++) {
12738
+ boundArgs[i2] = "$" + i2;
12739
+ }
12740
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
12741
+ if (target.prototype) {
12742
+ var Empty = function Empty2() {
12738
12743
  };
12739
- var boundLength = max2(0, target.length - args.length);
12740
- var boundArgs = [];
12741
- for (var i2 = 0; i2 < boundLength; i2++) {
12742
- boundArgs[i2] = "$" + i2;
12743
- }
12744
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
12745
- if (target.prototype) {
12746
- var Empty = function Empty2() {
12747
- };
12748
- Empty.prototype = target.prototype;
12749
- bound.prototype = new Empty();
12750
- Empty.prototype = null;
12751
- }
12752
- return bound;
12753
- };
12754
- return implementation;
12755
- }
12756
- var functionBind;
12757
- var hasRequiredFunctionBind;
12758
- function requireFunctionBind() {
12759
- if (hasRequiredFunctionBind) return functionBind;
12760
- hasRequiredFunctionBind = 1;
12761
- var implementation2 = requireImplementation();
12762
- functionBind = Function.prototype.bind || implementation2;
12763
- return functionBind;
12764
- }
12765
- var functionCall;
12766
- var hasRequiredFunctionCall;
12767
- function requireFunctionCall() {
12768
- if (hasRequiredFunctionCall) return functionCall;
12769
- hasRequiredFunctionCall = 1;
12770
- functionCall = Function.prototype.call;
12771
- return functionCall;
12772
- }
12744
+ Empty.prototype = target.prototype;
12745
+ bound.prototype = new Empty();
12746
+ Empty.prototype = null;
12747
+ }
12748
+ return bound;
12749
+ };
12750
+ var implementation = implementation$1;
12751
+ var functionBind = Function.prototype.bind || implementation;
12752
+ var functionCall = Function.prototype.call;
12773
12753
  var functionApply;
12774
12754
  var hasRequiredFunctionApply;
12775
12755
  function requireFunctionApply() {
@@ -12779,14 +12759,14 @@ function requireFunctionApply() {
12779
12759
  return functionApply;
12780
12760
  }
12781
12761
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
12782
- var bind$2 = requireFunctionBind();
12762
+ var bind$2 = functionBind;
12783
12763
  var $apply$1 = requireFunctionApply();
12784
- var $call$2 = requireFunctionCall();
12764
+ var $call$2 = functionCall;
12785
12765
  var $reflectApply = reflectApply;
12786
12766
  var actualApply = $reflectApply || bind$2.call($call$2, $apply$1);
12787
- var bind$1 = requireFunctionBind();
12767
+ var bind$1 = functionBind;
12788
12768
  var $TypeError$4 = type;
12789
- var $call$1 = requireFunctionCall();
12769
+ var $call$1 = functionCall;
12790
12770
  var $actualApply = actualApply;
12791
12771
  var callBindApplyHelpers = function callBindBasic(args) {
12792
12772
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -12852,8 +12832,8 @@ function requireHasown() {
12852
12832
  hasRequiredHasown = 1;
12853
12833
  var call = Function.prototype.call;
12854
12834
  var $hasOwn = Object.prototype.hasOwnProperty;
12855
- var bind2 = requireFunctionBind();
12856
- hasown = bind2.call(call, $hasOwn);
12835
+ var bind3 = functionBind;
12836
+ hasown = bind3.call(call, $hasOwn);
12857
12837
  return hasown;
12858
12838
  }
12859
12839
  var undefined$1;
@@ -12867,7 +12847,7 @@ var $TypeError$3 = type;
12867
12847
  var $URIError = uri;
12868
12848
  var abs = abs$1;
12869
12849
  var floor = floor$1;
12870
- var max = max$1;
12850
+ var max = max$2;
12871
12851
  var min = min$1;
12872
12852
  var pow = pow$1;
12873
12853
  var round$1 = round$2;
@@ -12901,7 +12881,7 @@ var getProto = requireGetProto();
12901
12881
  var $ObjectGPO = requireObject_getPrototypeOf();
12902
12882
  var $ReflectGPO = requireReflect_getPrototypeOf();
12903
12883
  var $apply = requireFunctionApply();
12904
- var $call = requireFunctionCall();
12884
+ var $call = functionCall;
12905
12885
  var needsEval = {};
12906
12886
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
12907
12887
  var INTRINSICS = {
@@ -13072,13 +13052,13 @@ var LEGACY_ALIASES = {
13072
13052
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
13073
13053
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
13074
13054
  };
13075
- var bind = requireFunctionBind();
13055
+ var bind2 = functionBind;
13076
13056
  var hasOwn = requireHasown();
13077
- var $concat = bind.call($call, Array.prototype.concat);
13078
- var $spliceApply = bind.call($apply, Array.prototype.splice);
13079
- var $replace = bind.call($call, String.prototype.replace);
13080
- var $strSlice = bind.call($call, String.prototype.slice);
13081
- var $exec = bind.call($call, RegExp.prototype.exec);
13057
+ var $concat = bind2.call($call, Array.prototype.concat);
13058
+ var $spliceApply = bind2.call($apply, Array.prototype.splice);
13059
+ var $replace = bind2.call($call, String.prototype.replace);
13060
+ var $strSlice = bind2.call($call, String.prototype.slice);
13061
+ var $exec = bind2.call($call, RegExp.prototype.exec);
13082
13062
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
13083
13063
  var reEscapeChar = /\\(\\)?/g;
13084
13064
  var stringToPath = function stringToPath2(string2) {
@@ -14701,17 +14681,12 @@ function requireReactIs_development() {
14701
14681
  }
14702
14682
  return reactIs_development;
14703
14683
  }
14704
- var hasRequiredReactIs;
14705
- function requireReactIs() {
14706
- if (hasRequiredReactIs) return reactIs$1.exports;
14707
- hasRequiredReactIs = 1;
14708
- if (process.env.NODE_ENV === "production") {
14709
- reactIs$1.exports = requireReactIs_production_min();
14710
- } else {
14711
- reactIs$1.exports = requireReactIs_development();
14712
- }
14713
- return reactIs$1.exports;
14684
+ if (process.env.NODE_ENV === "production") {
14685
+ reactIs$1.exports = requireReactIs_production_min();
14686
+ } else {
14687
+ reactIs$1.exports = requireReactIs_development();
14714
14688
  }
14689
+ var reactIsExports = reactIs$1.exports;
14715
14690
  /*
14716
14691
  object-assign
14717
14692
  (c) Sindre Sorhus
@@ -14872,7 +14847,7 @@ var hasRequiredFactoryWithTypeCheckers;
14872
14847
  function requireFactoryWithTypeCheckers() {
14873
14848
  if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
14874
14849
  hasRequiredFactoryWithTypeCheckers = 1;
14875
- var ReactIs = requireReactIs();
14850
+ var ReactIs = reactIsExports;
14876
14851
  var assign2 = requireObjectAssign();
14877
14852
  var ReactPropTypesSecret = requireReactPropTypesSecret();
14878
14853
  var has2 = requireHas();
@@ -15365,7 +15340,7 @@ function requireFactoryWithThrowingShims() {
15365
15340
  return factoryWithThrowingShims;
15366
15341
  }
15367
15342
  if (process.env.NODE_ENV !== "production") {
15368
- var ReactIs = requireReactIs();
15343
+ var ReactIs = reactIsExports;
15369
15344
  var throwOnDirectAccess = true;
15370
15345
  propTypes.exports = requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
15371
15346
  } else {
@@ -15460,7 +15435,6 @@ function formatMuiErrorMessage(code) {
15460
15435
  }
15461
15436
  return "Minified Material-UI error #" + code + "; visit " + url + " for the full message.";
15462
15437
  }
15463
- var reactIsExports = requireReactIs();
15464
15438
  var fnNameMatchRegex = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
15465
15439
  function getFunctionName(fn) {
15466
15440
  var match2 = "".concat(fn).match(fnNameMatchRegex);
@@ -18955,7 +18929,7 @@ function makeStyles(stylesOrCreator) {
18955
18929
  };
18956
18930
  return useStyles;
18957
18931
  }
18958
- var reactIs = requireReactIs();
18932
+ var reactIs = reactIsExports;
18959
18933
  var REACT_STATICS = {
18960
18934
  childContextTypes: true,
18961
18935
  contextType: true,