@thecb/components 10.12.5-beta.0 → 10.12.6-beta.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.
Files changed (30) hide show
  1. package/dist/index.cjs.js +634 -244
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.d.ts +2 -2
  4. package/dist/index.esm.js +633 -245
  5. package/dist/index.esm.js.map +1 -1
  6. package/package.json +1 -1
  7. package/src/components/atoms/card/CardText.js +4 -3
  8. package/src/components/atoms/checkbox/Checkbox.js +22 -9
  9. package/src/components/atoms/checkbox/Checkbox.stories.js +17 -13
  10. package/src/components/atoms/checkbox/Checkbox.theme.js +6 -2
  11. package/src/components/atoms/icons/CheckboxCheckmarkIcon.js +45 -0
  12. package/src/components/atoms/icons/PaymentStatusIcon.d.ts +1 -0
  13. package/src/components/atoms/icons/PaymentStatusIcon.js +28 -0
  14. package/src/components/atoms/icons/PersonIcon.d.ts +1 -0
  15. package/src/components/atoms/icons/PersonIcon.js +28 -0
  16. package/src/components/atoms/icons/icons.stories.js +5 -1
  17. package/src/components/atoms/icons/index.js +5 -1
  18. package/src/components/molecules/multiple-select-filter/MultipleSelectFilter.js +33 -25
  19. package/src/components/molecules/multiple-select-filter/MultipleSelectFilter.stories.js +2 -4
  20. package/src/components/molecules/multiple-select-filter/MultipleSelectFilter.styled.js +15 -7
  21. package/src/components/molecules/multiple-select-filter/MultipleSelectFilter.theme.js +7 -3
  22. package/src/components/molecules/multiple-select-filter/__private__/ActionLinkButton.js +16 -13
  23. package/src/components/molecules/multiple-select-filter/__private__/FilterButton.js +24 -14
  24. package/src/components/molecules/multiple-select-filter/__private__/FilterDropdown.js +22 -18
  25. package/src/components/molecules/multiple-select-filter/__private__/FilterableList.js +43 -41
  26. package/src/components/molecules/multiple-select-filter/__private__/FilterableListItem.js +52 -41
  27. package/src/components/molecules/multiple-select-filter/__private__/SearchBox.js +10 -7
  28. package/src/components/molecules/multiple-select-filter/index.d.ts +2 -2
  29. package/src/constants/regex_constants.js +1 -1
  30. package/src/components/atoms/.DS_Store +0 -0
package/dist/index.esm.js CHANGED
@@ -228,6 +228,58 @@ function __rest(s, e) {
228
228
  t[p[i]] = s[p[i]];
229
229
  }
230
230
  return t;
231
+ }
232
+
233
+ /*! *****************************************************************************
234
+ Copyright (c) Microsoft Corporation.
235
+
236
+ Permission to use, copy, modify, and/or distribute this software for any
237
+ purpose with or without fee is hereby granted.
238
+
239
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
240
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
241
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
242
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
243
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
244
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
245
+ PERFORMANCE OF THIS SOFTWARE.
246
+ ***************************************************************************** */
247
+ /* global Reflect, Promise */
248
+
249
+ var extendStatics$1 = function(d, b) {
250
+ extendStatics$1 = Object.setPrototypeOf ||
251
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
252
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
253
+ return extendStatics$1(d, b);
254
+ };
255
+
256
+ function __extends$1(d, b) {
257
+ extendStatics$1(d, b);
258
+ function __() { this.constructor = d; }
259
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
260
+ }
261
+
262
+ var __assign$1 = function() {
263
+ __assign$1 = Object.assign || function __assign(t) {
264
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
265
+ s = arguments[i];
266
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
267
+ }
268
+ return t;
269
+ };
270
+ return __assign$1.apply(this, arguments);
271
+ };
272
+
273
+ function __rest$1(s, e) {
274
+ var t = {};
275
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
276
+ t[p] = s[p];
277
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
278
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
279
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
280
+ t[p[i]] = s[p[i]];
281
+ }
282
+ return t;
231
283
  }
232
284
 
233
285
  function __spreadArrays() {
@@ -238,6 +290,32 @@ function __spreadArrays() {
238
290
  return r;
239
291
  }
240
292
 
293
+ /*! *****************************************************************************
294
+ Copyright (c) Microsoft Corporation.
295
+
296
+ Permission to use, copy, modify, and/or distribute this software for any
297
+ purpose with or without fee is hereby granted.
298
+
299
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
300
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
301
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
302
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
303
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
304
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
305
+ PERFORMANCE OF THIS SOFTWARE.
306
+ ***************************************************************************** */
307
+
308
+ var __assign$2 = function() {
309
+ __assign$2 = Object.assign || function __assign(t) {
310
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
311
+ s = arguments[i];
312
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
313
+ }
314
+ return t;
315
+ };
316
+ return __assign$2.apply(this, arguments);
317
+ };
318
+
241
319
  var clamp = function (min, max) { return function (v) {
242
320
  return Math.max(Math.min(v, max), min);
243
321
  }; };
@@ -251,8 +329,8 @@ var number = {
251
329
  parse: parseFloat,
252
330
  transform: function (v) { return v; }
253
331
  };
254
- var alpha = __assign(__assign({}, number), { transform: clamp(0, 1) });
255
- var scale = __assign(__assign({}, number), { default: 1 });
332
+ var alpha = __assign$2(__assign$2({}, number), { transform: clamp(0, 1) });
333
+ var scale = __assign$2(__assign$2({}, number), { default: 1 });
256
334
 
257
335
  var createUnitType = function (unit) { return ({
258
336
  test: function (v) {
@@ -266,7 +344,7 @@ var percent = createUnitType('%');
266
344
  var px = createUnitType('px');
267
345
  var vh = createUnitType('vh');
268
346
  var vw = createUnitType('vw');
269
- var progressPercentage = __assign(__assign({}, percent), { parse: function (v) { return percent.parse(v) / 100; }, transform: function (v) { return percent.transform(v * 100); } });
347
+ var progressPercentage = __assign$2(__assign$2({}, percent), { parse: function (v) { return percent.parse(v) / 100; }, transform: function (v) { return percent.transform(v * 100); } });
270
348
 
271
349
  var getValueFromFunctionString = function (value) {
272
350
  return value.substring(value.indexOf('(') + 1, value.lastIndexOf(')'));
@@ -300,7 +378,7 @@ var hslaTemplate = function (_a) {
300
378
  var hue = _a.hue, saturation = _a.saturation, lightness = _a.lightness, _b = _a.alpha, alpha = _b === void 0 ? 1 : _b;
301
379
  return "hsla(" + hue + ", " + saturation + ", " + lightness + ", " + alpha + ")";
302
380
  };
303
- var rgbUnit = __assign(__assign({}, number), { transform: function (v) { return Math.round(clampRgbUnit(v)); } });
381
+ var rgbUnit = __assign$2(__assign$2({}, number), { transform: function (v) { return Math.round(clampRgbUnit(v)); } });
304
382
  function isColorString(color, colorType) {
305
383
  return color.startsWith(colorType) && singleColorRegex.test(color);
306
384
  }
@@ -330,7 +408,7 @@ var hsla = {
330
408
  });
331
409
  }
332
410
  };
333
- var hex = __assign(__assign({}, rgba), { test: function (v) { return typeof v === 'string' && isColorString(v, '#'); }, parse: function (v) {
411
+ var hex = __assign$2(__assign$2({}, rgba), { test: function (v) { return typeof v === 'string' && isColorString(v, '#'); }, parse: function (v) {
334
412
  var r = '';
335
413
  var g = '';
336
414
  var b = '';
@@ -866,15 +944,15 @@ See the Apache Version 2.0 License for specific language governing permissions
866
944
  and limitations under the License.
867
945
  ***************************************************************************** */
868
946
 
869
- var __assign$1 = function() {
870
- __assign$1 = Object.assign || function __assign(t) {
947
+ var __assign$3 = function() {
948
+ __assign$3 = Object.assign || function __assign(t) {
871
949
  for (var s, i = 1, n = arguments.length; i < n; i++) {
872
950
  s = arguments[i];
873
951
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
874
952
  }
875
953
  return t;
876
954
  };
877
- return __assign$1.apply(this, arguments);
955
+ return __assign$3.apply(this, arguments);
878
956
  };
879
957
 
880
958
  var mixLinearColor = function (from, to, v) {
@@ -897,7 +975,7 @@ var mixColor = (function (from, to) {
897
975
  invariant(fromColorType.transform === toColorType.transform, 'Both colors must be hex/RGBA, OR both must be HSLA.');
898
976
  var fromColor = fromColorType.parse(from);
899
977
  var toColor = toColorType.parse(to);
900
- var blended = __assign$1({}, fromColor);
978
+ var blended = __assign$3({}, fromColor);
901
979
  var mixFunc = fromColorType === hsla ? mix : mixLinearColor;
902
980
  return function (v) {
903
981
  for (var key in blended) {
@@ -942,7 +1020,7 @@ var mixArray = function (from, to) {
942
1020
  };
943
1021
  };
944
1022
  var mixObject = function (origin, target) {
945
- var output = __assign$1({}, origin, target);
1023
+ var output = __assign$3({}, origin, target);
946
1024
  var blendValue = {};
947
1025
  for (var key in output) {
948
1026
  if (origin[key] !== undefined && target[key] !== undefined) {
@@ -1154,6 +1232,44 @@ var wrap$1 = curryRange(wrap);
1154
1232
 
1155
1233
  var clampProgress = clamp$1$1(0, 1);
1156
1234
 
1235
+ /*! *****************************************************************************
1236
+ Copyright (c) Microsoft Corporation.
1237
+
1238
+ Permission to use, copy, modify, and/or distribute this software for any
1239
+ purpose with or without fee is hereby granted.
1240
+
1241
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1242
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1243
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1244
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1245
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1246
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1247
+ PERFORMANCE OF THIS SOFTWARE.
1248
+ ***************************************************************************** */
1249
+
1250
+ var __assign$4 = function() {
1251
+ __assign$4 = Object.assign || function __assign(t) {
1252
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
1253
+ s = arguments[i];
1254
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
1255
+ }
1256
+ return t;
1257
+ };
1258
+ return __assign$4.apply(this, arguments);
1259
+ };
1260
+
1261
+ function __rest$2(s, e) {
1262
+ var t = {};
1263
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1264
+ t[p] = s[p];
1265
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
1266
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1267
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1268
+ t[p[i]] = s[p[i]];
1269
+ }
1270
+ return t;
1271
+ }
1272
+
1157
1273
  var createStyler = function (_a) {
1158
1274
  var onRead = _a.onRead,
1159
1275
  onRender = _a.onRender,
@@ -1165,7 +1281,7 @@ var createStyler = function (_a) {
1165
1281
  if (_a === void 0) {
1166
1282
  _a = {};
1167
1283
  }
1168
- var props = __rest(_a, []);
1284
+ var props = __rest$2(_a, []);
1169
1285
  var state = {};
1170
1286
  var changedValues = [];
1171
1287
  var hasChanged = false;
@@ -1285,7 +1401,7 @@ function isTransformOriginProp(key) {
1285
1401
  return transformOriginProps.has(key);
1286
1402
  }
1287
1403
 
1288
- var int = /*#__PURE__*/__assign( /*#__PURE__*/__assign({}, number), { transform: Math.round });
1404
+ var int = /*#__PURE__*/__assign$4( /*#__PURE__*/__assign$4({}, number), { transform: Math.round });
1289
1405
  var valueTypes = {
1290
1406
  color: color,
1291
1407
  backgroundColor: color,
@@ -1517,8 +1633,8 @@ function createCssStyler(element, _a) {
1517
1633
  }
1518
1634
  var enableHardwareAcceleration = _a.enableHardwareAcceleration,
1519
1635
  allowTransformNone = _a.allowTransformNone,
1520
- props = __rest(_a, ["enableHardwareAcceleration", "allowTransformNone"]);
1521
- return cssStyler(__assign({ element: element, buildStyles: createStyleBuilder({
1636
+ props = __rest$2(_a, ["enableHardwareAcceleration", "allowTransformNone"]);
1637
+ return cssStyler(__assign$4({ element: element, buildStyles: createStyleBuilder({
1522
1638
  enableHardwareAcceleration: enableHardwareAcceleration,
1523
1639
  allowTransformNone: allowTransformNone
1524
1640
  }), preparseOutput: true }, props));
@@ -1568,7 +1684,7 @@ function buildSVGAttrs(_a, dimensions, totalPathLength, cssBuilder, attrs, isDas
1568
1684
  pathSpacing = _b === void 0 ? 1 : _b,
1569
1685
  _c = _a.pathOffset,
1570
1686
  pathOffset = _c === void 0 ? 0 : _c,
1571
- state = __rest(_a, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
1687
+ state = __rest$2(_a, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
1572
1688
  var style = cssBuilder(state);
1573
1689
  for (var key in style) {
1574
1690
  if (key === 'transform') {
@@ -1697,7 +1813,7 @@ var Chainable = /*#__PURE__*/function () {
1697
1813
  this.props = props;
1698
1814
  }
1699
1815
  Chainable.prototype.applyMiddleware = function (middleware) {
1700
- return this.create(__assign(__assign({}, this.props), { middleware: this.props.middleware ? __spreadArrays([middleware], this.props.middleware) : [middleware] }));
1816
+ return this.create(__assign$1(__assign$1({}, this.props), { middleware: this.props.middleware ? __spreadArrays([middleware], this.props.middleware) : [middleware] }));
1701
1817
  };
1702
1818
  Chainable.prototype.pipe = function () {
1703
1819
  var funcs = [];
@@ -1769,7 +1885,7 @@ var createObserver = function (observerCandidate, _a, onComplete) {
1769
1885
  };
1770
1886
 
1771
1887
  var Action = /*#__PURE__*/function (_super) {
1772
- __extends(Action, _super);
1888
+ __extends$1(Action, _super);
1773
1889
  function Action() {
1774
1890
  return _super !== null && _super.apply(this, arguments) || this;
1775
1891
  }
@@ -1788,13 +1904,13 @@ var Action = /*#__PURE__*/function (_super) {
1788
1904
  };
1789
1905
  var _a = this.props,
1790
1906
  init = _a.init,
1791
- observerProps = __rest(_a, ["init"]);
1907
+ observerProps = __rest$1(_a, ["init"]);
1792
1908
  var observer = createObserver(observerCandidate, observerProps, function () {
1793
1909
  isComplete = true;
1794
1910
  subscription.stop();
1795
1911
  });
1796
1912
  var api = init(observer);
1797
- subscription = api ? __assign(__assign({}, subscription), api) : subscription;
1913
+ subscription = api ? __assign$1(__assign$1({}, subscription), api) : subscription;
1798
1914
  if (observerCandidate.registerParent) {
1799
1915
  observerCandidate.registerParent(subscription);
1800
1916
  }
@@ -1808,7 +1924,7 @@ var action = function (init) {
1808
1924
  };
1809
1925
 
1810
1926
  var BaseMulticast = /*#__PURE__*/function (_super) {
1811
- __extends(BaseMulticast, _super);
1927
+ __extends$1(BaseMulticast, _super);
1812
1928
  function BaseMulticast() {
1813
1929
  var _this = _super !== null && _super.apply(this, arguments) || this;
1814
1930
  _this.subscribers = [];
@@ -1868,7 +1984,7 @@ var isSingleValue = function (v) {
1868
1984
  return typeOfV === 'string' || typeOfV === 'number';
1869
1985
  };
1870
1986
  var ValueReaction = /*#__PURE__*/function (_super) {
1871
- __extends(ValueReaction, _super);
1987
+ __extends$1(ValueReaction, _super);
1872
1988
  function ValueReaction(props) {
1873
1989
  var _this = _super.call(this, props) || this;
1874
1990
  _this.scheduleVelocityCheck = function () {
@@ -2118,7 +2234,7 @@ var reduceArrayValue = function (i) {
2118
2234
  var createArrayAction = function (action, props, vectorKeys) {
2119
2235
  var firstVectorKey = vectorKeys[0];
2120
2236
  var actionList = props[firstVectorKey].map(function (v, i) {
2121
- var childActionProps = vectorKeys.reduce(reduceArrayValue(i), __assign({}, props));
2237
+ var childActionProps = vectorKeys.reduce(reduceArrayValue(i), __assign$1({}, props));
2122
2238
  return getActionCreator(v)(action, childActionProps);
2123
2239
  });
2124
2240
  return parallel$1.apply(void 0, actionList);
@@ -2132,7 +2248,7 @@ var reduceObjectValue = function (key) {
2132
2248
  var createObjectAction = function (action, props, vectorKeys) {
2133
2249
  var firstVectorKey = vectorKeys[0];
2134
2250
  var actionMap = Object.keys(props[firstVectorKey]).reduce(function (map, key) {
2135
- var childActionProps = vectorKeys.reduce(reduceObjectValue(key), __assign({}, props));
2251
+ var childActionProps = vectorKeys.reduce(reduceObjectValue(key), __assign$1({}, props));
2136
2252
  map[key] = getActionCreator(props[firstVectorKey][key])(action, childActionProps);
2137
2253
  return map;
2138
2254
  }, {});
@@ -2141,18 +2257,18 @@ var createObjectAction = function (action, props, vectorKeys) {
2141
2257
  var createUnitAction = function (action, _a) {
2142
2258
  var from = _a.from,
2143
2259
  to = _a.to,
2144
- props = __rest(_a, ["from", "to"]);
2260
+ props = __rest$1(_a, ["from", "to"]);
2145
2261
  var unitType = findUnitType(from) || findUnitType(to);
2146
2262
  var transform = unitType.transform,
2147
2263
  parse = unitType.parse;
2148
- return action(__assign(__assign({}, props), { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
2264
+ return action(__assign$1(__assign$1({}, props), { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
2149
2265
  };
2150
2266
  var createMixerAction = function (mixer) {
2151
2267
  return function (action, _a) {
2152
2268
  var from = _a.from,
2153
2269
  to = _a.to,
2154
- props = __rest(_a, ["from", "to"]);
2155
- return action(__assign(__assign({}, props), { from: 0, to: 1 })).pipe(mixer(from, to));
2270
+ props = __rest$1(_a, ["from", "to"]);
2271
+ return action(__assign$1(__assign$1({}, props), { from: 0, to: 1 })).pipe(mixer(from, to));
2156
2272
  };
2157
2273
  };
2158
2274
  var createColorAction = /*#__PURE__*/createMixerAction(mixColor);
@@ -2498,7 +2614,7 @@ var keyframes = function (_a) {
2498
2614
  ease = _b === void 0 ? linear : _b,
2499
2615
  times = _a.times,
2500
2616
  values = _a.values,
2501
- tweenProps = __rest(_a, ["easings", "ease", "times", "values"]);
2617
+ tweenProps = __rest$1(_a, ["easings", "ease", "times", "values"]);
2502
2618
  easings = Array.isArray(easings) ? easings : defaultEasings(values, easings);
2503
2619
  times = times || defaultTimings(values);
2504
2620
  var scrubbers = easings.map(function (easing, i) {
@@ -2508,7 +2624,7 @@ var keyframes = function (_a) {
2508
2624
  ease: easing
2509
2625
  });
2510
2626
  });
2511
- return tween(__assign(__assign({}, tweenProps), { ease: ease })).applyMiddleware(function (update) {
2627
+ return tween(__assign$1(__assign$1({}, tweenProps), { ease: ease })).applyMiddleware(function (update) {
2512
2628
  return interpolateScrubbers(times, scrubbers, update);
2513
2629
  });
2514
2630
  };
@@ -2752,7 +2868,7 @@ var index$1 = function (_a) {
2752
2868
  }
2753
2869
  var x = _a.x,
2754
2870
  y = _a.y,
2755
- props = __rest(_a, ["x", "y"]);
2871
+ props = __rest$1(_a, ["x", "y"]);
2756
2872
  if (x !== undefined || y !== undefined) {
2757
2873
  var applyXOffset_1 = applyOffset(x || 0);
2758
2874
  var applyYOffset_1 = applyOffset(y || 0);
@@ -2826,7 +2942,7 @@ var steps$1 = function (st, min, max) {
2826
2942
  };
2827
2943
  var transformMap = function (childTransformers) {
2828
2944
  return function (v) {
2829
- var output = __assign({}, v);
2945
+ var output = __assign$1({}, v);
2830
2946
  for (var key in childTransformers) {
2831
2947
  if (childTransformers.hasOwnProperty(key)) {
2832
2948
  var childTransformer = childTransformers[key];
@@ -2857,6 +2973,52 @@ var transformers = /*#__PURE__*/Object.freeze({
2857
2973
  transformMap: transformMap
2858
2974
  });
2859
2975
 
2976
+ /*! *****************************************************************************
2977
+ Copyright (c) Microsoft Corporation.
2978
+
2979
+ Permission to use, copy, modify, and/or distribute this software for any
2980
+ purpose with or without fee is hereby granted.
2981
+
2982
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2983
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2984
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2985
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2986
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2987
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2988
+ PERFORMANCE OF THIS SOFTWARE.
2989
+ ***************************************************************************** */
2990
+
2991
+ var __assign$5 = function() {
2992
+ __assign$5 = Object.assign || function __assign(t) {
2993
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
2994
+ s = arguments[i];
2995
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
2996
+ }
2997
+ return t;
2998
+ };
2999
+ return __assign$5.apply(this, arguments);
3000
+ };
3001
+
3002
+ function __rest$3(s, e) {
3003
+ var t = {};
3004
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3005
+ t[p] = s[p];
3006
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
3007
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
3008
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
3009
+ t[p[i]] = s[p[i]];
3010
+ }
3011
+ return t;
3012
+ }
3013
+
3014
+ function __spreadArrays$1() {
3015
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
3016
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
3017
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
3018
+ r[k] = a[j];
3019
+ return r;
3020
+ }
3021
+
2860
3022
  var getPoseValues = function (_a) {
2861
3023
  var transition = _a.transition,
2862
3024
  flip = _a.flip,
@@ -2869,7 +3031,7 @@ var getPoseValues = function (_a) {
2869
3031
  preTransition = _a.preTransition,
2870
3032
  applyAtStart = _a.applyAtStart,
2871
3033
  applyAtEnd = _a.applyAtEnd,
2872
- props = __rest(_a, ["transition", "flip", "delay", "delayChildren", "staggerChildren", "staggerDirection", "afterChildren", "beforeChildren", "preTransition", "applyAtStart", "applyAtEnd"]);
3034
+ props = __rest$3(_a, ["transition", "flip", "delay", "delayChildren", "staggerChildren", "staggerDirection", "afterChildren", "beforeChildren", "preTransition", "applyAtStart", "applyAtEnd"]);
2873
3035
  return props;
2874
3036
  };
2875
3037
  var selectPoses = function (_a) {
@@ -2881,7 +3043,7 @@ var selectPoses = function (_a) {
2881
3043
  onChange = _a.onChange,
2882
3044
  passive = _a.passive,
2883
3045
  initialPose = _a.initialPose,
2884
- poses = __rest(_a, ["label", "props", "values", "parentValues", "ancestorValues", "onChange", "passive", "initialPose"]);
3046
+ poses = __rest$3(_a, ["label", "props", "values", "parentValues", "ancestorValues", "onChange", "passive", "initialPose"]);
2885
3047
  return poses;
2886
3048
  };
2887
3049
  var selectAllValues = function (values, selectValue) {
@@ -2981,7 +3143,7 @@ var createPoseSetter = function (setterProps) {
2981
3143
  var _a = nextProps.delay,
2982
3144
  delay = _a === void 0 ? 0 : _a;
2983
3145
  var hasChildren = children.size;
2984
- var baseTransitionProps = __assign(__assign({}, props), nextProps);
3146
+ var baseTransitionProps = __assign$5(__assign$5({}, props), nextProps);
2985
3147
  var nextPose = poses[next];
2986
3148
  var getChildAnimations = function () {
2987
3149
  return hasChildren && propagate ? startChildAnimations(children, next, nextPose, baseTransitionProps) : [];
@@ -3007,11 +3169,11 @@ var createPoseSetter = function (setterProps) {
3007
3169
  valuePoses.splice(insertionIndex, 0, next);
3008
3170
  return insertionIndex === 0 ? new Promise(function (complete) {
3009
3171
  var value = values.get(key);
3010
- var transitionProps = __assign(__assign({}, baseTransitionProps), { key: key,
3172
+ var transitionProps = __assign$5(__assign$5({}, baseTransitionProps), { key: key,
3011
3173
  value: value });
3012
3174
  var target = resolveTarget(value, resolveProp(nextPose[key], transitionProps));
3013
3175
  if (activeActions.has(key)) stopAction(activeActions.get(key));
3014
- var resolveTransitionProps = __assign(__assign({ to: target }, transitionProps), getTransitionProps(value, target, transitionProps));
3176
+ var resolveTransitionProps = __assign$5(__assign$5({ to: target }, transitionProps), getTransitionProps(value, target, transitionProps));
3015
3177
  var transition = resolveTransition(getTransition, key, value, resolveTransitionProps, convertTransitionDefinition, getInstantTransition);
3016
3178
  var poseDelay = delay || resolveProp(nextPose.delay, transitionProps);
3017
3179
  if (poseDelay) {
@@ -3035,7 +3197,7 @@ var createPoseSetter = function (setterProps) {
3035
3197
  });
3036
3198
  }
3037
3199
  }
3038
- return Promise.all(__spreadArrays(getParentAnimations(), getChildAnimations()));
3200
+ return Promise.all(__spreadArrays$1(getParentAnimations(), getChildAnimations()));
3039
3201
  };
3040
3202
  };
3041
3203
 
@@ -3161,7 +3323,7 @@ var createValueMap = function (props) {
3161
3323
  };
3162
3324
 
3163
3325
  var applyDefaultTransition = function (pose, key, defaultTransitions) {
3164
- return __assign(__assign({}, pose), { transition: defaultTransitions.has(key) ? defaultTransitions.get(key) : defaultTransitions.get('default') });
3326
+ return __assign$5(__assign$5({}, pose), { transition: defaultTransitions.has(key) ? defaultTransitions.get(key) : defaultTransitions.get('default') });
3165
3327
  };
3166
3328
  var generateTransitions = function (poses, defaultTransitions) {
3167
3329
  Object.keys(poses).forEach(function (key) {
@@ -3215,7 +3377,7 @@ var poseFactory = function (_a) {
3215
3377
  var poses = generateTransitions(selectPoses(config), defaultTransitions);
3216
3378
  var _b = config.props,
3217
3379
  props = _b === void 0 ? {} : _b;
3218
- if (getDefaultProps) props = __assign(__assign({}, getDefaultProps(config)), props);
3380
+ if (getDefaultProps) props = __assign$5(__assign$5({}, getDefaultProps(config)), props);
3219
3381
  var passive = config.passive,
3220
3382
  userSetValues = config.values,
3221
3383
  _c = config.initialPose,
@@ -3290,10 +3452,10 @@ var poseFactory = function (_a) {
3290
3452
  },
3291
3453
  has: has,
3292
3454
  setProps: function (newProps) {
3293
- return state.props = __assign(__assign({}, state.props), newProps);
3455
+ return state.props = __assign$5(__assign$5({}, state.props), newProps);
3294
3456
  },
3295
3457
  _addChild: function (childConfig, factory) {
3296
- var child = factory(__assign(__assign({ initialPose: initialPose }, childConfig), { ancestorValues: __spreadArrays([{ label: config.label, values: values }], ancestorValues) }));
3458
+ var child = factory(__assign$5(__assign$5({ initialPose: initialPose }, childConfig), { ancestorValues: __spreadArrays$1([{ label: config.label, values: values }], ancestorValues) }));
3297
3459
  children.add(child);
3298
3460
  return child;
3299
3461
  },
@@ -3332,18 +3494,18 @@ See the Apache Version 2.0 License for specific language governing permissions
3332
3494
  and limitations under the License.
3333
3495
  ***************************************************************************** */
3334
3496
 
3335
- var __assign$2 = function () {
3336
- __assign$2 = Object.assign || function __assign(t) {
3497
+ var __assign$6 = function () {
3498
+ __assign$6 = Object.assign || function __assign(t) {
3337
3499
  for (var s, i = 1, n = arguments.length; i < n; i++) {
3338
3500
  s = arguments[i];
3339
3501
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
3340
3502
  }
3341
3503
  return t;
3342
3504
  };
3343
- return __assign$2.apply(this, arguments);
3505
+ return __assign$6.apply(this, arguments);
3344
3506
  };
3345
3507
 
3346
- function __rest$1(s, e) {
3508
+ function __rest$4(s, e) {
3347
3509
  var t = {};
3348
3510
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
3349
3511
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -3460,12 +3622,12 @@ var intelligentTransition = {
3460
3622
  opacity: linearTween,
3461
3623
  default: tween
3462
3624
  };
3463
- var dragAction = /*#__PURE__*/__assign$2( /*#__PURE__*/__assign$2({}, intelligentTransition), { x: /*#__PURE__*/createPointer(pointerX, 'left', 'right', BoundingBoxDimension.width), y: /*#__PURE__*/createPointer(pointerY, 'top', 'bottom', BoundingBoxDimension.height) });
3625
+ var dragAction = /*#__PURE__*/__assign$6( /*#__PURE__*/__assign$6({}, intelligentTransition), { x: /*#__PURE__*/createPointer(pointerX, 'left', 'right', BoundingBoxDimension.width), y: /*#__PURE__*/createPointer(pointerY, 'top', 'bottom', BoundingBoxDimension.height) });
3464
3626
  var justAxis = function (_a) {
3465
3627
  var from = _a.from;
3466
3628
  return just(from);
3467
3629
  };
3468
- var intelligentDragEnd = /*#__PURE__*/__assign$2( /*#__PURE__*/__assign$2({}, intelligentTransition), { x: justAxis, y: justAxis });
3630
+ var intelligentDragEnd = /*#__PURE__*/__assign$6( /*#__PURE__*/__assign$6({}, intelligentTransition), { x: justAxis, y: justAxis });
3469
3631
  var defaultTransitions = /*#__PURE__*/new Map([['default', intelligentTransition], ['drag', dragAction], ['dragEnd', intelligentDragEnd]]);
3470
3632
 
3471
3633
  var animationLookup = {
@@ -3535,7 +3697,7 @@ var getAction = function (v, _a, _b) {
3535
3697
  var _c = _a.type,
3536
3698
  type = _c === void 0 ? 'tween' : _c,
3537
3699
  definedEase = _a.ease,
3538
- def = __rest$1(_a, ["type", "ease"]);
3700
+ def = __rest$4(_a, ["type", "ease"]);
3539
3701
  invariant(animationLookup[type] !== undefined, "Invalid transition type '" + type + "'. Valid transition types are: tween, spring, decay, physics and keyframes.");
3540
3702
  var ease;
3541
3703
  if (type === 'tween') {
@@ -3560,7 +3722,7 @@ var getAction = function (v, _a, _b) {
3560
3722
  velocity: velocity,
3561
3723
  ease: ease
3562
3724
  } : { ease: ease };
3563
- return animationLookup[type](__assign$2(__assign$2({}, baseProps), def));
3725
+ return animationLookup[type](__assign$6(__assign$6({}, baseProps), def));
3564
3726
  };
3565
3727
  var isAction = function (action$$1) {
3566
3728
  return typeof action$$1.start !== 'undefined';
@@ -3645,7 +3807,7 @@ var pose = function (_a) {
3645
3807
  min = def.min,
3646
3808
  max = def.max,
3647
3809
  round = def.round,
3648
- remainingDef = __rest$1(def, ["delay", "min", "max", "round"]);
3810
+ remainingDef = __rest$4(def, ["delay", "min", "max", "round"]);
3649
3811
  var action$$1 = getAction(val, remainingDef, props);
3650
3812
  var outputPipe = [];
3651
3813
  if (delay$$1) action$$1 = addActionDelay(delay$$1, action$$1);
@@ -3827,7 +3989,7 @@ var explicitlyFlipPose = function (state, nextPose) {
3827
3989
  bottom = nextPose.bottom,
3828
3990
  right = nextPose.right,
3829
3991
  position = nextPose.position,
3830
- remainingPose = __rest$1(nextPose, ["width", "height", "top", "left", "bottom", "right", "position"]);
3992
+ remainingPose = __rest$4(nextPose, ["width", "height", "top", "left", "bottom", "right", "position"]);
3831
3993
  var propsToSet = positionalProps.concat('position').reduce(function (acc, key) {
3832
3994
  if (nextPose[key] !== undefined) {
3833
3995
  acc[key] = resolveProp$1(nextPose[key], state.props);
@@ -3939,7 +4101,7 @@ var convertPositionalUnits = function (state, nextPose) {
3939
4101
  changedPositionalKeys.push(key);
3940
4102
  if (!applyAtEndHasBeenCopied) {
3941
4103
  applyAtEndHasBeenCopied = true;
3942
- nextPose.applyAtEnd = nextPose.applyAtEnd ? __assign$2({}, nextPose.applyAtEnd) : {};
4104
+ nextPose.applyAtEnd = nextPose.applyAtEnd ? __assign$6({}, nextPose.applyAtEnd) : {};
3943
4105
  }
3944
4106
  nextPose.applyAtEnd[key] = nextPose.applyAtEnd[key] || nextPose[key];
3945
4107
  setValue(state, key, to);
@@ -3995,8 +4157,8 @@ var createPoseConfig = function (element, _a) {
3995
4157
  focusable = _a.focusable,
3996
4158
  pressable = _a.pressable,
3997
4159
  dragBounds = _a.dragBounds,
3998
- config = __rest$1(_a, ["onDragStart", "onDragEnd", "onPressStart", "onPressEnd", "draggable", "hoverable", "focusable", "pressable", "dragBounds"]);
3999
- var poseConfig = __assign$2(__assign$2({ flip: {} }, config), { props: __assign$2(__assign$2({}, config.props), { onDragStart: onDragStart,
4160
+ config = __rest$4(_a, ["onDragStart", "onDragEnd", "onPressStart", "onPressEnd", "draggable", "hoverable", "focusable", "pressable", "dragBounds"]);
4161
+ var poseConfig = __assign$6(__assign$6({ flip: {} }, config), { props: __assign$6(__assign$6({}, config.props), { onDragStart: onDragStart,
4000
4162
  onDragEnd: onDragEnd,
4001
4163
  onPressStart: onPressStart,
4002
4164
  onPressEnd: onPressEnd,
@@ -4010,8 +4172,8 @@ var createPoseConfig = function (element, _a) {
4010
4172
  var _b = dragPoses(draggable),
4011
4173
  drag = _b.drag,
4012
4174
  dragEnd = _b.dragEnd;
4013
- poseConfig.drag = __assign$2(__assign$2({}, drag), poseConfig.drag);
4014
- poseConfig.dragEnd = __assign$2(__assign$2({}, dragEnd), poseConfig.dragEnd);
4175
+ poseConfig.drag = __assign$6(__assign$6({}, drag), poseConfig.drag);
4176
+ poseConfig.dragEnd = __assign$6(__assign$6({}, dragEnd), poseConfig.dragEnd);
4015
4177
  }
4016
4178
  return poseConfig;
4017
4179
  };
@@ -4019,7 +4181,7 @@ var domPose = /*#__PURE__*/pose({
4019
4181
  posePriority: ['drag', 'press', 'focus', 'hover'],
4020
4182
  transformPose: function (_a, name, state) {
4021
4183
  var flip = _a.flip,
4022
- pose$$1 = __rest$1(_a, ["flip"]);
4184
+ pose$$1 = __rest$4(_a, ["flip"]);
4023
4185
  if (isFlipPose(flip, name, state)) {
4024
4186
  return flipPose(state, pose$$1);
4025
4187
  } else if (isPositional(pose$$1)) {
@@ -4057,7 +4219,7 @@ var domPose = /*#__PURE__*/pose({
4057
4219
  var props = _a.props,
4058
4220
  activeActions = _a.activeActions;
4059
4221
  var measure = props.dimensions.measure;
4060
- var poserApi = __assign$2(__assign$2({}, api), { addChild: function (element, childConfig) {
4222
+ var poserApi = __assign$6(__assign$6({}, api), { addChild: function (element, childConfig) {
4061
4223
  return api._addChild(createPoseConfig(element, childConfig), domPose);
4062
4224
  }, measure: measure, flip: function (op) {
4063
4225
  if (op) {
@@ -7085,6 +7247,104 @@ var Imposter = function Imposter(_ref) {
7085
7247
  }, rest), safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null)));
7086
7248
  };
7087
7249
 
7250
+ /*! *****************************************************************************
7251
+ Copyright (c) Microsoft Corporation.
7252
+
7253
+ Permission to use, copy, modify, and/or distribute this software for any
7254
+ purpose with or without fee is hereby granted.
7255
+
7256
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
7257
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
7258
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
7259
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
7260
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
7261
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
7262
+ PERFORMANCE OF THIS SOFTWARE.
7263
+ ***************************************************************************** */
7264
+ /* global Reflect, Promise */
7265
+
7266
+ var extendStatics$2 = function(d, b) {
7267
+ extendStatics$2 = Object.setPrototypeOf ||
7268
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7269
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7270
+ return extendStatics$2(d, b);
7271
+ };
7272
+
7273
+ function __extends$2(d, b) {
7274
+ extendStatics$2(d, b);
7275
+ function __() { this.constructor = d; }
7276
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7277
+ }
7278
+
7279
+ var __assign$7 = function() {
7280
+ __assign$7 = Object.assign || function __assign(t) {
7281
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
7282
+ s = arguments[i];
7283
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7284
+ }
7285
+ return t;
7286
+ };
7287
+ return __assign$7.apply(this, arguments);
7288
+ };
7289
+
7290
+ function __rest$5(s, e) {
7291
+ var t = {};
7292
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
7293
+ t[p] = s[p];
7294
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7295
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7296
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
7297
+ t[p[i]] = s[p[i]];
7298
+ }
7299
+ return t;
7300
+ }
7301
+
7302
+ function __spreadArrays$2() {
7303
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
7304
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
7305
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
7306
+ r[k] = a[j];
7307
+ return r;
7308
+ }
7309
+
7310
+ /*! *****************************************************************************
7311
+ Copyright (c) Microsoft Corporation.
7312
+
7313
+ Permission to use, copy, modify, and/or distribute this software for any
7314
+ purpose with or without fee is hereby granted.
7315
+
7316
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
7317
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
7318
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
7319
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
7320
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
7321
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
7322
+ PERFORMANCE OF THIS SOFTWARE.
7323
+ ***************************************************************************** */
7324
+
7325
+ var __assign$8 = function() {
7326
+ __assign$8 = Object.assign || function __assign(t) {
7327
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
7328
+ s = arguments[i];
7329
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7330
+ }
7331
+ return t;
7332
+ };
7333
+ return __assign$8.apply(this, arguments);
7334
+ };
7335
+
7336
+ function __rest$6(s, e) {
7337
+ var t = {};
7338
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
7339
+ t[p] = s[p];
7340
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7341
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7342
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
7343
+ t[p[i]] = s[p[i]];
7344
+ }
7345
+ return t;
7346
+ }
7347
+
7088
7348
  var Observer$1 = /*#__PURE__*/function () {
7089
7349
  function Observer(_a, observer) {
7090
7350
  var _this = this;
@@ -7147,18 +7407,18 @@ var Action$1 = /*#__PURE__*/function () {
7147
7407
  };
7148
7408
  var _a = this.props,
7149
7409
  init = _a.init,
7150
- observerProps = __rest(_a, ["init"]);
7410
+ observerProps = __rest$6(_a, ["init"]);
7151
7411
  var observer = createObserver$1(observerCandidate, observerProps, function () {
7152
7412
  isComplete = true;
7153
7413
  subscription.stop();
7154
7414
  });
7155
7415
  var api = init(observer);
7156
- subscription = api ? __assign({}, subscription, api) : subscription;
7416
+ subscription = api ? __assign$8({}, subscription, api) : subscription;
7157
7417
  if (isComplete) subscription.stop();
7158
7418
  return subscription;
7159
7419
  };
7160
7420
  Action.prototype.applyMiddleware = function (middleware) {
7161
- return this.create(__assign({}, this.props, { middleware: this.props.middleware ? [middleware].concat(this.props.middleware) : [middleware] }));
7421
+ return this.create(__assign$8({}, this.props, { middleware: this.props.middleware ? [middleware].concat(this.props.middleware) : [middleware] }));
7162
7422
  };
7163
7423
  Action.prototype.pipe = function () {
7164
7424
  var funcs = [];
@@ -7211,18 +7471,18 @@ var createAction$1 = function (action, props) {
7211
7471
  var createUnitAction$1 = function (action, _a) {
7212
7472
  var from = _a.from,
7213
7473
  to = _a.to,
7214
- props = __rest(_a, ["from", "to"]);
7474
+ props = __rest$6(_a, ["from", "to"]);
7215
7475
  var unitType = findUnitType$1(from) || findUnitType$1(to);
7216
7476
  var transform = unitType.transform,
7217
7477
  parse = unitType.parse;
7218
- return action(__assign({}, props, { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
7478
+ return action(__assign$8({}, props, { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
7219
7479
  };
7220
7480
  var createMixerAction$1 = function (mixer) {
7221
7481
  return function (action, _a) {
7222
7482
  var from = _a.from,
7223
7483
  to = _a.to,
7224
- props = __rest(_a, ["from", "to"]);
7225
- return action(__assign({}, props, { from: 0, to: 1 })).pipe(mixer(from, to));
7484
+ props = __rest$6(_a, ["from", "to"]);
7485
+ return action(__assign$8({}, props, { from: 0, to: 1 })).pipe(mixer(from, to));
7226
7486
  };
7227
7487
  };
7228
7488
  var createColorAction$1 = /*#__PURE__*/createMixerAction$1(mixColor);
@@ -7435,7 +7695,7 @@ var inertia = function (_a) {
7435
7695
  };
7436
7696
  var startSpring = function (props) {
7437
7697
  isSpring = true;
7438
- startAnimation(vectorSpring$1(__assign({}, props, { to: isLessThanMin(props.from) ? min : max, stiffness: bounceStiffness, damping: bounceDamping, restDelta: restDelta })));
7698
+ startAnimation(vectorSpring$1(__assign$8({}, props, { to: isLessThanMin(props.from) ? min : max, stiffness: bounceStiffness, damping: bounceDamping, restDelta: restDelta })));
7439
7699
  };
7440
7700
  if (isOutOfBounds(from)) {
7441
7701
  startSpring({ from: from, velocity: velocity });
@@ -7667,7 +7927,7 @@ var keyframes$1 = function (_a) {
7667
7927
  ease = _b === void 0 ? linear : _b,
7668
7928
  times = _a.times,
7669
7929
  values = _a.values,
7670
- tweenProps = __rest(_a, ["easings", "ease", "times", "values"]);
7930
+ tweenProps = __rest$6(_a, ["easings", "ease", "times", "values"]);
7671
7931
  easings = Array.isArray(easings) ? easings : defaultEasings$1(values, easings);
7672
7932
  times = times || defaultTimings$1(values);
7673
7933
  var scrubbers = easings.map(function (easing, i) {
@@ -7677,7 +7937,7 @@ var keyframes$1 = function (_a) {
7677
7937
  ease: easing
7678
7938
  });
7679
7939
  });
7680
- return tween$1(__assign({}, tweenProps, { ease: ease })).applyMiddleware(function (update) {
7940
+ return tween$1(__assign$8({}, tweenProps, { ease: ease })).applyMiddleware(function (update) {
7681
7941
  return interpolateScrubbers$1(times, scrubbers, update);
7682
7942
  });
7683
7943
  };
@@ -7879,7 +8139,7 @@ var MotionValue = /** @class */ (function () {
7879
8139
  */
7880
8140
  MotionValue.prototype.addChild = function (config) {
7881
8141
  if (config === void 0) { config = {}; }
7882
- var child = new MotionValue(this.current, __assign({ parent: this }, config));
8142
+ var child = new MotionValue(this.current, __assign$7({ parent: this }, config));
7883
8143
  if (!this.children)
7884
8144
  this.children = new Set();
7885
8145
  this.children.add(child);
@@ -8321,7 +8581,7 @@ var buildStyleAttr = function (values, styleProp, isStatic) {
8321
8581
  ? transformTemplate({}, styleProp.transform)
8322
8582
  : transformTemplate;
8323
8583
  }
8324
- return buildStyleProperty(__assign(__assign({}, styleProp), motionValueStyles), !isStatic);
8584
+ return buildStyleProperty(__assign$7(__assign$7({}, styleProp), motionValueStyles), !isStatic);
8325
8585
  };
8326
8586
  var useMotionStyles = function (values, styleProp, isStatic, transformValues) {
8327
8587
  if (styleProp === void 0) { styleProp = {}; }
@@ -8375,7 +8635,7 @@ var auto$1 = {
8375
8635
  parse: function (v) { return v; },
8376
8636
  };
8377
8637
  var dimensionTypes = [number, px, percent, degrees, vw, vh, auto$1];
8378
- var valueTypes$1 = __spreadArrays(dimensionTypes, [color, complex]);
8638
+ var valueTypes$1 = __spreadArrays$2(dimensionTypes, [color, complex]);
8379
8639
  var testValueType$1 = function (v) { return function (type) { return type.test(v); }; };
8380
8640
  var getDimensionValueType = function (v) {
8381
8641
  return dimensionTypes.find(testValueType$1(v));
@@ -8428,7 +8688,7 @@ var getDefaultTransition = function (valueKey, to) {
8428
8688
  transitionFactory =
8429
8689
  defaultTransitions$1[valueKey] || defaultTransitions$1.default;
8430
8690
  }
8431
- return __assign({ to: to }, transitionFactory(to));
8691
+ return __assign$7({ to: to }, transitionFactory(to));
8432
8692
  };
8433
8693
 
8434
8694
  /**
@@ -8524,9 +8784,9 @@ var transitionOptionParser = {
8524
8784
  return opts;
8525
8785
  },
8526
8786
  keyframes: function (_a) {
8527
- var from = _a.from, to = _a.to, velocity = _a.velocity, opts = __rest(_a, ["from", "to", "velocity"]);
8787
+ var from = _a.from, to = _a.to, velocity = _a.velocity, opts = __rest$5(_a, ["from", "to", "velocity"]);
8528
8788
  if (opts.values && opts.values[0] === null) {
8529
- var values = __spreadArrays(opts.values);
8789
+ var values = __spreadArrays$2(opts.values);
8530
8790
  values[0] = from;
8531
8791
  opts.values = values;
8532
8792
  }
@@ -8540,7 +8800,7 @@ var transitionOptionParser = {
8540
8800
  },
8541
8801
  };
8542
8802
  var isTransitionDefined = function (_a) {
8543
- var when = _a.when, delay = _a.delay, delayChildren = _a.delayChildren, staggerChildren = _a.staggerChildren, staggerDirection = _a.staggerDirection, transition = __rest(_a, ["when", "delay", "delayChildren", "staggerChildren", "staggerDirection"]);
8803
+ var when = _a.when, delay = _a.delay, delayChildren = _a.delayChildren, staggerChildren = _a.staggerChildren, staggerDirection = _a.staggerDirection, transition = __rest$5(_a, ["when", "delay", "delayChildren", "staggerChildren", "staggerDirection"]);
8544
8804
  return Object.keys(transition).length;
8545
8805
  };
8546
8806
  var getTransitionDefinition = function (key, to, transitionDefinition) {
@@ -8550,7 +8810,7 @@ var getTransitionDefinition = function (key, to, transitionDefinition) {
8550
8810
  // and see if there's any props remaining
8551
8811
  if (transitionDefinition === undefined ||
8552
8812
  !isTransitionDefined(transitionDefinition)) {
8553
- return __assign({ delay: delay }, getDefaultTransition(key, to));
8813
+ return __assign$7({ delay: delay }, getDefaultTransition(key, to));
8554
8814
  }
8555
8815
  var valueTransitionDefinition = transitionDefinition[key] ||
8556
8816
  transitionDefinition.default ||
@@ -8567,12 +8827,12 @@ var getTransitionDefinition = function (key, to, transitionDefinition) {
8567
8827
  };
8568
8828
  }
8569
8829
  else if (isKeyframesTarget(to)) {
8570
- return __assign(__assign({ values: to, duration: 0.8, delay: delay, ease: "linear" }, valueTransitionDefinition), {
8830
+ return __assign$7(__assign$7({ values: to, duration: 0.8, delay: delay, ease: "linear" }, valueTransitionDefinition), {
8571
8831
  // This animation must be keyframes if we're animating through an array
8572
8832
  type: "keyframes" });
8573
8833
  }
8574
8834
  else {
8575
- return __assign({ type: "tween", to: to,
8835
+ return __assign$7({ type: "tween", to: to,
8576
8836
  delay: delay }, valueTransitionDefinition);
8577
8837
  }
8578
8838
  };
@@ -8589,12 +8849,12 @@ var getAnimation = function (key, value, target, transition) {
8589
8849
  // for instance 100 to #fff. This might live better in Popmotion.
8590
8850
  warning(isOriginAnimatable === isTargetAnimatable, "You are trying to animate " + key + " from \"" + origin + "\" to " + target + ". \"" + origin + "\" is not an animatable value - to enable this animation set " + origin + " to a value animatable to " + target + " via the `style` property.");
8591
8851
  // Parse the `transition` prop and return options for the Popmotion animation
8592
- var _a = getTransitionDefinition(key, target, transition), _b = _a.type, type = _b === void 0 ? "tween" : _b, transitionDefinition = __rest(_a, ["type"]);
8852
+ var _a = getTransitionDefinition(key, target, transition), _b = _a.type, type = _b === void 0 ? "tween" : _b, transitionDefinition = __rest$5(_a, ["type"]);
8593
8853
  // If this is an animatable pair of values, return an animation, otherwise use `just`
8594
8854
  var actionFactory = isOriginAnimatable && isTargetAnimatable
8595
8855
  ? transitions[type]
8596
8856
  : just$1;
8597
- var opts = preprocessOptions(type, __assign({ from: origin, velocity: value.getVelocity() }, transitionDefinition));
8857
+ var opts = preprocessOptions(type, __assign$7({ from: origin, velocity: value.getVelocity() }, transitionDefinition));
8598
8858
  // Convert duration from Framer Motion's seconds into Popmotion's milliseconds
8599
8859
  if (isDurationAnimation(opts)) {
8600
8860
  if (opts.duration) {
@@ -8612,10 +8872,10 @@ var getAnimation = function (key, value, target, transition) {
8612
8872
  * @internal
8613
8873
  */
8614
8874
  function startAnimation(key, value, target, _a) {
8615
- var _b = _a.delay, delay$1$1 = _b === void 0 ? 0 : _b, transition = __rest(_a, ["delay"]);
8875
+ var _b = _a.delay, delay$1$1 = _b === void 0 ? 0 : _b, transition = __rest$5(_a, ["delay"]);
8616
8876
  return value.start(function (complete) {
8617
8877
  var activeAnimation;
8618
- var _a = getAnimation(key, value, target, transition), animationFactory = _a[0], _b = _a[1], valueDelay = _b.delay, options = __rest(_b, ["delay"]);
8878
+ var _a = getAnimation(key, value, target, transition), animationFactory = _a[0], _b = _a[1], valueDelay = _b.delay, options = __rest$5(_b, ["delay"]);
8619
8879
  if (valueDelay !== undefined) {
8620
8880
  delay$1$1 = valueDelay;
8621
8881
  }
@@ -8761,7 +9021,7 @@ var ValueAnimationControls = /** @class */ (function () {
8761
9021
  var _this = this;
8762
9022
  var _b = _a === void 0 ? {} : _a, _c = _b.isActive, isActive = _c === void 0 ? new Set() : _c, priority = _b.priority;
8763
9023
  var _d = this.resolveVariant(definition), target = _d.target, transitionEnd = _d.transitionEnd;
8764
- target = this.transformValues(__assign(__assign({}, target), transitionEnd));
9024
+ target = this.transformValues(__assign$7(__assign$7({}, target), transitionEnd));
8765
9025
  return Object.keys(target).forEach(function (key) {
8766
9026
  if (isActive.has(key))
8767
9027
  return;
@@ -8851,7 +9111,7 @@ var ValueAnimationControls = /** @class */ (function () {
8851
9111
  // resolve current and velocity
8852
9112
  variant = variant(this.props.custom, getCurrent$1(this.values), getVelocity(this.values));
8853
9113
  }
8854
- var _a = variant.transition, transition = _a === void 0 ? this.defaultTransition : _a, transitionEnd = variant.transitionEnd, target = __rest(variant, ["transition", "transitionEnd"]);
9114
+ var _a = variant.transition, transition = _a === void 0 ? this.defaultTransition : _a, transitionEnd = variant.transitionEnd, target = __rest$5(variant, ["transition", "transitionEnd"]);
8855
9115
  return { transition: transition, transitionEnd: transitionEnd, target: target };
8856
9116
  };
8857
9117
  /**
@@ -8942,7 +9202,7 @@ var ValueAnimationControls = /** @class */ (function () {
8942
9202
  ValueAnimationControls.prototype.applyVariantLabels = function (variantLabelList) {
8943
9203
  var _this = this;
8944
9204
  var isActive = new Set();
8945
- var reversedList = __spreadArrays(variantLabelList).reverse();
9205
+ var reversedList = __spreadArrays$2(variantLabelList).reverse();
8946
9206
  reversedList.forEach(function (key) {
8947
9207
  var _a = _this.resolveVariant(_this.variants[key]), target = _a.target, transitionEnd = _a.transitionEnd;
8948
9208
  if (transitionEnd) {
@@ -9013,7 +9273,7 @@ var ValueAnimationControls = /** @class */ (function () {
9013
9273
  if (this.isAnimating.has(key))
9014
9274
  continue;
9015
9275
  this.isAnimating.add(key);
9016
- animations.push(startAnimation(key, value, valueTarget, __assign({ delay: delay }, transition)));
9276
+ animations.push(startAnimation(key, value, valueTarget, __assign$7({ delay: delay }, transition)));
9017
9277
  }
9018
9278
  var allAnimations = Promise.all(animations);
9019
9279
  return transitionEnd
@@ -9024,7 +9284,7 @@ var ValueAnimationControls = /** @class */ (function () {
9024
9284
  };
9025
9285
  ValueAnimationControls.prototype.animateVariantLabels = function (variantLabels, opts) {
9026
9286
  var _this = this;
9027
- var animations = __spreadArrays(variantLabels).reverse()
9287
+ var animations = __spreadArrays$2(variantLabels).reverse()
9028
9288
  .map(function (label) { return _this.animateVariant(label, opts); });
9029
9289
  return Promise.all(animations);
9030
9290
  };
@@ -9468,7 +9728,7 @@ function useValueAnimationControls(config, props, subscribeToParentControls) {
9468
9728
  // Remove reference to onAnimationComplete from controls. All the MotionValues
9469
9729
  // are unsubscribed from this component separately. We let animations run out
9470
9730
  // as they might be animating other components.
9471
- var onAnimationComplete = props.onAnimationComplete, unmountProps = __rest(props, ["onAnimationComplete"]);
9731
+ var onAnimationComplete = props.onAnimationComplete, unmountProps = __rest$5(props, ["onAnimationComplete"]);
9472
9732
  controls.setProps(unmountProps);
9473
9733
  parentControls && parentControls.removeChild(controls);
9474
9734
  };
@@ -9953,7 +10213,7 @@ var PanSession = /** @class */ (function () {
9953
10213
  return;
9954
10214
  var point = info.point;
9955
10215
  var timestamp = getFrameData().timestamp;
9956
- _this.history.push(__assign(__assign({}, point), { timestamp: timestamp }));
10216
+ _this.history.push(__assign$7(__assign$7({}, point), { timestamp: timestamp }));
9957
10217
  var _a = _this.handlers, onStart = _a.onStart, onMove = _a.onMove;
9958
10218
  if (!isPanStarted) {
9959
10219
  onStart && onStart(_this.lastMoveEvent, info);
@@ -9970,7 +10230,7 @@ var PanSession = /** @class */ (function () {
9970
10230
  var initialInfo = transformPoint(info, this.transformPagePoint);
9971
10231
  var point = initialInfo.point;
9972
10232
  var timestamp = getFrameData().timestamp;
9973
- this.history = [__assign(__assign({}, point), { timestamp: timestamp })];
10233
+ this.history = [__assign$7(__assign$7({}, point), { timestamp: timestamp })];
9974
10234
  var onSessionStart = handlers.onSessionStart;
9975
10235
  onSessionStart &&
9976
10236
  onSessionStart(event, getPanInfo(initialInfo, this.history));
@@ -10298,7 +10558,7 @@ var Gestures = {
10298
10558
  return gestureProps.some(function (key) { return props.hasOwnProperty(key); });
10299
10559
  },
10300
10560
  Component: makeRenderlessComponent(function (_a) {
10301
- var innerRef = _a.innerRef, props = __rest(_a, ["innerRef"]);
10561
+ var innerRef = _a.innerRef, props = __rest$5(_a, ["innerRef"]);
10302
10562
  useGestures(props, innerRef);
10303
10563
  }),
10304
10564
  };
@@ -10538,8 +10798,8 @@ var ComponentDragControls = /** @class */ (function () {
10538
10798
  };
10539
10799
  ComponentDragControls.prototype.updateProps = function (_a) {
10540
10800
  var _this = this;
10541
- var _b = _a.drag, drag = _b === void 0 ? false : _b, _c = _a.dragDirectionLock, dragDirectionLock = _c === void 0 ? false : _c, _d = _a.dragPropagation, dragPropagation = _d === void 0 ? false : _d, _e = _a.dragConstraints, dragConstraints = _e === void 0 ? false : _e, _f = _a.dragElastic, dragElastic = _f === void 0 ? true : _f, _g = _a.dragMomentum, dragMomentum = _g === void 0 ? true : _g, remainingProps = __rest(_a, ["drag", "dragDirectionLock", "dragPropagation", "dragConstraints", "dragElastic", "dragMomentum"]);
10542
- this.props = __assign({ drag: drag,
10801
+ var _b = _a.drag, drag = _b === void 0 ? false : _b, _c = _a.dragDirectionLock, dragDirectionLock = _c === void 0 ? false : _c, _d = _a.dragPropagation, dragPropagation = _d === void 0 ? false : _d, _e = _a.dragConstraints, dragConstraints = _e === void 0 ? false : _e, _f = _a.dragElastic, dragElastic = _f === void 0 ? true : _f, _g = _a.dragMomentum, dragMomentum = _g === void 0 ? true : _g, remainingProps = __rest$5(_a, ["drag", "dragDirectionLock", "dragPropagation", "dragConstraints", "dragElastic", "dragMomentum"]);
10802
+ this.props = __assign$7({ drag: drag,
10543
10803
  dragDirectionLock: dragDirectionLock,
10544
10804
  dragPropagation: dragPropagation,
10545
10805
  dragConstraints: dragConstraints,
@@ -10595,7 +10855,7 @@ var ComponentDragControls = /** @class */ (function () {
10595
10855
  var bounceStiffness = dragElastic ? 200 : 1000000;
10596
10856
  var bounceDamping = dragElastic ? 40 : 10000000;
10597
10857
  var animationControls = _dragTransitionControls || _this.controls;
10598
- var inertia = __assign(__assign({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness: bounceStiffness,
10858
+ var inertia = __assign$7(__assign$7({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness: bounceStiffness,
10599
10859
  bounceDamping: bounceDamping, timeConstant: 750, restDelta: 1 }, dragTransition), transition);
10600
10860
  var externalAxisMotionValue = axis === "x" ? _dragValueX : _dragValueY;
10601
10861
  // If we're not animating on an externally-provided `MotionValue` we can use the
@@ -10676,7 +10936,7 @@ function bothAxis(handler) {
10676
10936
  return [handler("x"), handler("y")];
10677
10937
  }
10678
10938
  function convertPanToDrag(info, point) {
10679
- return __assign(__assign({}, info), { point: {
10939
+ return __assign$7(__assign$7({}, info), { point: {
10680
10940
  x: point.x ? point.x.get() : 0,
10681
10941
  y: point.y ? point.y.get() : 0,
10682
10942
  } });
@@ -10787,7 +11047,7 @@ function useDrag(props, ref, values, controls) {
10787
11047
  var groupDragControls = props.dragControls;
10788
11048
  var transformPagePoint = useContext(MotionPluginContext).transformPagePoint;
10789
11049
  var dragControls = useConstant(function () { return new ComponentDragControls({ ref: ref, values: values, controls: controls }); });
10790
- dragControls.updateProps(__assign(__assign({}, props), { transformPagePoint: transformPagePoint }));
11050
+ dragControls.updateProps(__assign$7(__assign$7({}, props), { transformPagePoint: transformPagePoint }));
10791
11051
  useEffect$1(function () { return groupDragControls && groupDragControls.subscribe(dragControls); }, [dragControls]);
10792
11052
  useEffect$1(function () { return dragControls.mount(ref.current); }, []);
10793
11053
  }
@@ -10796,7 +11056,7 @@ var Drag = {
10796
11056
  key: "drag",
10797
11057
  shouldRender: function (props) { return !!props.drag; },
10798
11058
  Component: makeRenderlessComponent(function (_a) {
10799
- var innerRef = _a.innerRef, values = _a.values, controls = _a.controls, props = __rest(_a, ["innerRef", "values", "controls"]);
11059
+ var innerRef = _a.innerRef, values = _a.values, controls = _a.controls, props = __rest$5(_a, ["innerRef", "values", "controls"]);
10800
11060
  return useDrag(props, innerRef, values, controls);
10801
11061
  }),
10802
11062
  };
@@ -10848,14 +11108,14 @@ function getVariableValue(current, element, depth) {
10848
11108
  * @internal
10849
11109
  */
10850
11110
  function resolveCSSVariables(values, ref, _a, transitionEnd) {
10851
- var target = __rest(_a, []);
11111
+ var target = __rest$5(_a, []);
10852
11112
  var element = ref.current;
10853
11113
  if (!(element instanceof HTMLElement))
10854
11114
  return { target: target, transitionEnd: transitionEnd };
10855
11115
  // If `transitionEnd` isn't `undefined`, clone it. We could clone `target` and `transitionEnd`
10856
11116
  // only if they change but I think this reads clearer and this isn't a performance-critical path.
10857
11117
  if (transitionEnd) {
10858
- transitionEnd = __assign({}, transitionEnd);
11118
+ transitionEnd = __assign$7({}, transitionEnd);
10859
11119
  }
10860
11120
  // Go through existing `MotionValue`s and ensure any existing CSS variables are resolved
10861
11121
  values.forEach(function (value) {
@@ -11012,8 +11272,8 @@ var convertChangedValueTypes = function (target, values, element, elementStyler,
11012
11272
  };
11013
11273
  var checkAndConvertChangedValueTypes = function (values, ref, target, transitionEnd) {
11014
11274
  if (transitionEnd === void 0) { transitionEnd = {}; }
11015
- target = __assign({}, target);
11016
- transitionEnd = __assign({}, transitionEnd);
11275
+ target = __assign$7({}, target);
11276
+ transitionEnd = __assign$7({}, transitionEnd);
11017
11277
  var element = ref.current;
11018
11278
  var elementStyler = index(element);
11019
11279
  var targetPositionalKeys = Object.keys(target).filter(isPositionalKey$1);
@@ -11241,7 +11501,7 @@ function calcAxisDelta(prev, next, names) {
11241
11501
  return delta;
11242
11502
  }
11243
11503
  function calcDelta(prev, next) {
11244
- var delta = __assign(__assign({}, calcAxisDelta(prev, next, axisLabels.x)), calcAxisDelta(prev, next, axisLabels.y));
11504
+ var delta = __assign$7(__assign$7({}, calcAxisDelta(prev, next, axisLabels.x)), calcAxisDelta(prev, next, axisLabels.y));
11245
11505
  return delta;
11246
11506
  }
11247
11507
  var offset = {
@@ -11285,7 +11545,7 @@ function getTransition(_a) {
11285
11545
  return layoutTransition || positionTransition;
11286
11546
  }
11287
11547
  var LayoutAnimation = /** @class */ (function (_super) {
11288
- __extends(LayoutAnimation, _super);
11548
+ __extends$2(LayoutAnimation, _super);
11289
11549
  function LayoutAnimation() {
11290
11550
  return _super !== null && _super.apply(this, arguments) || this;
11291
11551
  }
@@ -11352,11 +11612,11 @@ var LayoutAnimation = /** @class */ (function (_super) {
11352
11612
  if (!delta[deltaKey])
11353
11613
  return;
11354
11614
  var baseTransition = typeof transitionDefinition === "boolean"
11355
- ? __assign({}, getDefaultLayoutTransition(isPositionOnly)) : transitionDefinition;
11615
+ ? __assign$7({}, getDefaultLayoutTransition(isPositionOnly)) : transitionDefinition;
11356
11616
  var value = values.get(transformKey, targetValue);
11357
11617
  var velocity = value.getVelocity();
11358
11618
  transition[transformKey] = baseTransition[transformKey]
11359
- ? __assign({}, baseTransition[transformKey]) : __assign({}, baseTransition);
11619
+ ? __assign$7({}, baseTransition[transformKey]) : __assign$7({}, baseTransition);
11360
11620
  if (transition[transformKey].velocity === undefined) {
11361
11621
  transition[transformKey].velocity = velocity || 0;
11362
11622
  }
@@ -11497,9 +11757,9 @@ var hasUpdated = function (prev, next) {
11497
11757
  };
11498
11758
  function targetWithoutTransition(_a, mergeTransitionEnd) {
11499
11759
  if (mergeTransitionEnd === void 0) { mergeTransitionEnd = false; }
11500
- var transition = _a.transition, transitionEnd = _a.transitionEnd, target = __rest(_a, ["transition", "transitionEnd"]);
11760
+ var transition = _a.transition, transitionEnd = _a.transitionEnd, target = __rest$5(_a, ["transition", "transitionEnd"]);
11501
11761
  return mergeTransitionEnd
11502
- ? __assign(__assign({}, target), transitionEnd)
11762
+ ? __assign$7(__assign$7({}, target), transitionEnd)
11503
11763
  : target;
11504
11764
  }
11505
11765
  /**
@@ -11551,9 +11811,9 @@ function useAnimateProp(targetAndTransition, controls, values, defaultTransition
11551
11811
  }
11552
11812
  }
11553
11813
  isInitialRender.current = false;
11554
- prevValues.current = __assign(__assign({}, prevValues.current), finalTarget);
11814
+ prevValues.current = __assign$7(__assign$7({}, prevValues.current), finalTarget);
11555
11815
  if (Object.keys(targetToAnimate).length) {
11556
- controls.start(__assign(__assign({}, targetToAnimate), { transition: targetAndTransition.transition || defaultTransition, transitionEnd: targetAndTransition.transitionEnd }));
11816
+ controls.start(__assign$7(__assign$7({}, targetToAnimate), { transition: targetAndTransition.transition || defaultTransition, transitionEnd: targetAndTransition.transitionEnd }));
11557
11817
  }
11558
11818
  }, [targetAndTransition]);
11559
11819
  }
@@ -11727,7 +11987,7 @@ var Exit = {
11727
11987
  useEffect$1(function () {
11728
11988
  if (!isPresent) {
11729
11989
  if (!isPlayingExitAnimation.current && exit) {
11730
- controls.setProps(__assign(__assign({}, props), { custom: custom }));
11990
+ controls.setProps(__assign$7(__assign$7({}, props), { custom: custom }));
11731
11991
  controls.start(exit).then(onExitComplete);
11732
11992
  }
11733
11993
  isPlayingExitAnimation.current = true;
@@ -11798,7 +12058,7 @@ var buildHTMLProps = function (values, style, isStatic, isDrag) {
11798
12058
  var buildSVGProps = function (values, style) {
11799
12059
  var motionValueStyles = resolveCurrent(values);
11800
12060
  var props = buildSVGAttrs(motionValueStyles, undefined, undefined, undefined, undefined, false);
11801
- props.style = __assign(__assign({}, style), props.style);
12061
+ props.style = __assign$7(__assign$7({}, style), props.style);
11802
12062
  return props;
11803
12063
  };
11804
12064
  var functionalityComponents = [Layout, Drag, Gestures, Exit];
@@ -11817,7 +12077,7 @@ function createDomMotionConfig(Component) {
11817
12077
  var staticVisualStyles = isSVG
11818
12078
  ? buildSVGProps(values, style)
11819
12079
  : buildHTMLProps(values, style, isStatic, !!props.drag);
11820
- return createElement(Component, __assign(__assign(__assign({}, forwardedProps), { ref: ref }), staticVisualStyles));
12080
+ return createElement(Component, __assign$7(__assign$7(__assign$7({}, forwardedProps), { ref: ref }), staticVisualStyles));
11821
12081
  },
11822
12082
  /**
11823
12083
  * loadFunctionalityComponents gets used by the `motion` component
@@ -11848,7 +12108,7 @@ function createDomMotionConfig(Component) {
11848
12108
  for (var i = 0; i < numFunctionalityComponents; i++) {
11849
12109
  var _a = functionalityComponents[i], shouldRender = _a.shouldRender, key = _a.key, Component_1 = _a.Component;
11850
12110
  if (shouldRender(props, context)) {
11851
- activeComponents.push(createElement(Component_1, __assign({ key: key }, props, { parentContext: context, values: values, controls: controls, innerRef: ref })));
12111
+ activeComponents.push(createElement(Component_1, __assign$7({ key: key }, props, { parentContext: context, values: values, controls: controls, innerRef: ref })));
11852
12112
  }
11853
12113
  }
11854
12114
  return activeComponents;
@@ -11900,7 +12160,7 @@ var svgMotionComponents = svgElements.reduce(function (acc, Component) {
11900
12160
  *
11901
12161
  * @public
11902
12162
  */
11903
- var motion = __assign(__assign({
12163
+ var motion = __assign$7(__assign$7({
11904
12164
  /**
11905
12165
  * Convert a custom React component into a `motion` component.
11906
12166
  *
@@ -11952,7 +12212,7 @@ var PresenceChild = function (_a) {
11952
12212
  return function () { return numPresenceChildren.current--; };
11953
12213
  };
11954
12214
  }, [isPresent]);
11955
- return (createElement(PresenceContext.Provider, { value: __assign(__assign({}, context), { register: register }) }, children));
12215
+ return (createElement(PresenceContext.Provider, { value: __assign$7(__assign$7({}, context), { register: register }) }, children));
11956
12216
  };
11957
12217
 
11958
12218
  function getChildKey(child) {
@@ -12068,7 +12328,7 @@ var AnimatePresence = function (_a) {
12068
12328
  return (createElement(Fragment$1, null, filteredChildren.map(function (child) { return (createElement(PresenceChild, { key: getChildKey(child), isPresent: true, initial: initial ? undefined : false }, child)); })));
12069
12329
  }
12070
12330
  // If this is a subsequent render, deal with entering and exiting children
12071
- var childrenToRender = __spreadArrays(filteredChildren);
12331
+ var childrenToRender = __spreadArrays$2(filteredChildren);
12072
12332
  // Diff the keys of the currently-present and target children to update our
12073
12333
  // exiting list.
12074
12334
  var presentKeys = presentChildren.current.map(getChildKey);
@@ -12347,7 +12607,7 @@ var general$1 = /*#__PURE__*/Object.freeze({
12347
12607
  CASH_METHOD: CASH_METHOD
12348
12608
  });
12349
12609
 
12350
- var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
12610
+ var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))((\d{1,3}\.){3}\d{1,3}|([a-zA-Z0-9\-]+\.)+[a-z]{2,13})[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
12351
12611
 
12352
12612
  var regex_constants = /*#__PURE__*/Object.freeze({
12353
12613
  __proto__: null,
@@ -18589,6 +18849,52 @@ var AgencyIcon = function AgencyIcon(_ref) {
18589
18849
  })));
18590
18850
  };
18591
18851
 
18852
+ var _excluded$m = ["width", "height", "color"];
18853
+ var PersonIcon = function PersonIcon(_ref) {
18854
+ var _ref$width = _ref.width,
18855
+ width = _ref$width === void 0 ? "20" : _ref$width,
18856
+ _ref$height = _ref.height,
18857
+ height = _ref$height === void 0 ? "21" : _ref$height,
18858
+ _ref$color = _ref.color,
18859
+ color = _ref$color === void 0 ? CHARADE_GREY : _ref$color,
18860
+ props = _objectWithoutProperties(_ref, _excluded$m);
18861
+ return /*#__PURE__*/React.createElement("svg", _extends({
18862
+ xmlns: "http://www.w3.org/2000/svg",
18863
+ width: width,
18864
+ height: height,
18865
+ viewBox: "0 0 ".concat(width, " ").concat(height),
18866
+ fill: "none"
18867
+ }, props), /*#__PURE__*/React.createElement("path", {
18868
+ fillRule: "evenodd",
18869
+ clipRule: "evenodd",
18870
+ d: "M15.25 4.8125H4.75C4.50838 4.8125 4.3125 5.00838 4.3125 5.25V15.75C4.3125 15.9916 4.50838 16.1875 4.75 16.1875H5.625V14.7778C5.625 12.8985 7.02411 11.375 8.75 11.375H11.25C12.9759 11.375 14.375 12.8985 14.375 14.7778V16.1875H15.25C15.4916 16.1875 15.6875 15.9916 15.6875 15.75V5.25C15.6875 5.00838 15.4916 4.8125 15.25 4.8125ZM4.75 17.5H5.625H14.375H15.25C16.2165 17.5 17 16.7165 17 15.75V5.25C17 4.2835 16.2165 3.5 15.25 3.5H4.75C3.7835 3.5 3 4.2835 3 5.25V15.75C3 16.7165 3.7835 17.5 4.75 17.5ZM10 10.5C11.2081 10.5 12.1875 9.52062 12.1875 8.3125C12.1875 7.10438 11.2081 6.125 10 6.125C8.79188 6.125 7.8125 7.10438 7.8125 8.3125C7.8125 9.52062 8.79188 10.5 10 10.5Z",
18871
+ fill: color
18872
+ }));
18873
+ };
18874
+
18875
+ var _excluded$n = ["width", "height", "color"];
18876
+ var PaymentStatusIcon = function PaymentStatusIcon(_ref) {
18877
+ var _ref$width = _ref.width,
18878
+ width = _ref$width === void 0 ? "20" : _ref$width,
18879
+ _ref$height = _ref.height,
18880
+ height = _ref$height === void 0 ? "21" : _ref$height,
18881
+ _ref$color = _ref.color,
18882
+ color = _ref$color === void 0 ? CHARADE_GREY : _ref$color,
18883
+ props = _objectWithoutProperties(_ref, _excluded$n);
18884
+ return /*#__PURE__*/React.createElement("svg", _extends({
18885
+ xmlns: "http://www.w3.org/2000/svg",
18886
+ width: width,
18887
+ height: height,
18888
+ viewBox: "0 0 ".concat(width, " ").concat(height),
18889
+ fill: "none"
18890
+ }, props), /*#__PURE__*/React.createElement("path", {
18891
+ fillRule: "evenodd",
18892
+ clipRule: "evenodd",
18893
+ d: "M10.875 4.375C10.875 3.89175 11.2668 3.5 11.75 3.5H16.125C16.6082 3.5 17 3.89175 17 4.375V8.75C17 9.23325 16.6082 9.625 16.125 9.625H15.25V15.75C15.25 16.7165 14.4665 17.5 13.5 17.5H4.75C3.7835 17.5 3 16.7165 3 15.75V7C3 6.0335 3.7835 5.25 4.75 5.25H10.875V4.375ZM10.875 8.75V6.5625H4.75C4.50838 6.5625 4.3125 6.75838 4.3125 7V15.75C4.3125 15.9916 4.50838 16.1875 4.75 16.1875H13.5C13.7416 16.1875 13.9375 15.9916 13.9375 15.75V9.625H11.75C11.2668 9.625 10.875 9.23325 10.875 8.75ZM13.9375 7.875C14.6624 7.875 15.25 7.28737 15.25 6.5625C15.25 5.83763 14.6624 5.25 13.9375 5.25C13.2126 5.25 12.625 5.83763 12.625 6.5625C12.625 7.28737 13.2126 7.875 13.9375 7.875Z",
18894
+ fill: color
18895
+ }));
18896
+ };
18897
+
18592
18898
  var color$2 = "#15749D";
18593
18899
  var hoverColor$1 = "#116285";
18594
18900
  var activeColor$1 = "#0E506D";
@@ -19242,7 +19548,7 @@ var mobileFallbackValues = {
19242
19548
  };
19243
19549
  var MOBILE_BREAKPOINT = 768;
19244
19550
 
19245
- var _excluded$m = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
19551
+ var _excluded$o = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
19246
19552
 
19247
19553
  /*
19248
19554
  New responsive text component for Title elements
@@ -19289,7 +19595,7 @@ var Title = function Title(_ref) {
19289
19595
  as = _ref$as === void 0 ? "h1" : _ref$as,
19290
19596
  dataQa = _ref.dataQa,
19291
19597
  children = _ref.children,
19292
- rest = _objectWithoutProperties(_ref, _excluded$m);
19598
+ rest = _objectWithoutProperties(_ref, _excluded$o);
19293
19599
  return /*#__PURE__*/React.createElement(TitleText, _extends({
19294
19600
  variant: variant,
19295
19601
  as: as,
@@ -20717,12 +21023,12 @@ var fallbackValues$8 = {
20717
21023
  linkColor: linkColor
20718
21024
  };
20719
21025
 
20720
- var _excluded$n = ["variant", "themeValues", "children"];
21026
+ var _excluded$p = ["variant", "themeValues", "children"];
20721
21027
  var BoxWithShadow = function BoxWithShadow(_ref) {
20722
21028
  var variant = _ref.variant,
20723
21029
  themeValues = _ref.themeValues,
20724
21030
  children = _ref.children,
20725
- props = _objectWithoutProperties(_ref, _excluded$n);
21031
+ props = _objectWithoutProperties(_ref, _excluded$p);
20726
21032
  var shadowRegistry = {
20727
21033
  baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
20728
21034
  baseHover: "0px 1px 7px 0px ".concat(rgba$1(BLACK, 0.3), ", 0px 1px 4px 0px ").concat(rgba$1(BLACK, 0.2), ", 0px 7px 12px 0px ").concat(rgba$1(BLACK, 0.2), ";"),
@@ -20782,7 +21088,7 @@ var fallbackValues$a = {
20782
21088
  externalLinkColor: externalLinkColor
20783
21089
  };
20784
21090
 
20785
- var _excluded$o = ["hoverColor", "activeColor", "extrastyles"];
21091
+ var _excluded$q = ["hoverColor", "activeColor", "extrastyles"];
20786
21092
  var ROYAL_BLUE$1 = ROYAL_BLUE;
20787
21093
  var LINK_TEXT_DECORATION$3 = LINK_TEXT_DECORATION;
20788
21094
 
@@ -20796,7 +21102,7 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
20796
21102
  var hoverColor = _ref.hoverColor,
20797
21103
  activeColor = _ref.activeColor,
20798
21104
  extrastyles = _ref.extrastyles,
20799
- props = _objectWithoutProperties(_ref, _excluded$o);
21105
+ props = _objectWithoutProperties(_ref, _excluded$q);
20800
21106
  return /*#__PURE__*/React.createElement("a", _extends({}, props, {
20801
21107
  ref: ref
20802
21108
  }));
@@ -20871,7 +21177,7 @@ var ExternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
20871
21177
  }, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
20872
21178
  });
20873
21179
 
20874
- var _excluded$p = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
21180
+ var _excluded$r = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
20875
21181
  var ROYAL_BLUE$2 = ROYAL_BLUE;
20876
21182
  var LINK_TEXT_DECORATION$4 = LINK_TEXT_DECORATION;
20877
21183
 
@@ -20887,7 +21193,7 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
20887
21193
  active = _ref.active,
20888
21194
  color = _ref.color,
20889
21195
  extrastyles = _ref.extrastyles,
20890
- props = _objectWithoutProperties(_ref, _excluded$p);
21196
+ props = _objectWithoutProperties(_ref, _excluded$r);
20891
21197
  return /*#__PURE__*/React.createElement(Link, _extends({}, props, {
20892
21198
  ref: ref
20893
21199
  }));
@@ -22570,7 +22876,7 @@ _curry2(function test(pattern, str) {
22570
22876
  return _cloneRegExp(pattern).test(str);
22571
22877
  });
22572
22878
 
22573
- var _excluded$q = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
22879
+ var _excluded$s = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
22574
22880
  var ButtonWithLink = function ButtonWithLink(_ref) {
22575
22881
  var _ref$url = _ref.url,
22576
22882
  url = _ref$url === void 0 ? "/" : _ref$url,
@@ -22585,7 +22891,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
22585
22891
  _ref$newTab = _ref.newTab,
22586
22892
  newTab = _ref$newTab === void 0 ? false : _ref$newTab,
22587
22893
  dataQa = _ref.dataQa,
22588
- otherProps = _objectWithoutProperties(_ref, _excluded$q);
22894
+ otherProps = _objectWithoutProperties(_ref, _excluded$s);
22589
22895
  var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
22590
22896
  var children = _ref2.children,
22591
22897
  url = _ref2.url,
@@ -22673,7 +22979,7 @@ var ParagraphText = styled.p.withConfig({
22673
22979
  return extraStyles;
22674
22980
  });
22675
22981
 
22676
- var _excluded$r = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
22982
+ var _excluded$t = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
22677
22983
  var Paragraph = function Paragraph(_ref) {
22678
22984
  var themeValues = _ref.themeValues,
22679
22985
  _ref$weight = _ref.weight,
@@ -22687,7 +22993,7 @@ var Paragraph = function Paragraph(_ref) {
22687
22993
  dataQa = _ref.dataQa,
22688
22994
  children = _ref.children,
22689
22995
  as = _ref.as,
22690
- rest = _objectWithoutProperties(_ref, _excluded$r);
22996
+ rest = _objectWithoutProperties(_ref, _excluded$t);
22691
22997
  return /*#__PURE__*/React.createElement(ParagraphText, _extends({
22692
22998
  weight: weight,
22693
22999
  color: color,
@@ -22891,7 +23197,7 @@ var errorStyles = {
22891
23197
  "default": "border: 1px solid ".concat(RED, ";")
22892
23198
  };
22893
23199
  var focusedStyles = {
22894
- "default": "box-shadow: 0 0 5px 0 ".concat(MATISSE_BLUE, ";")
23200
+ "default": "\n outline: 3px solid ".concat(ROYAL_BLUE, "; \n outline-offset: 3px;\n ")
22895
23201
  };
22896
23202
  var disabledCheckedStyles = {
22897
23203
  "default": "\n background: #6d717e;\n border: 1px solid #6d717e;\n"
@@ -22929,7 +23235,7 @@ var ENTER = 13;
22929
23235
  var ESCAPE = 27;
22930
23236
  var SPACEBAR = 32;
22931
23237
 
22932
- var _excluded$s = ["title", "name", "checked", "onChange", "disabled", "themeValues", "hidden", "error", "checkboxMargin", "extraStyles", "textExtraStyles", "labelledById", "dataQa", "checkboxExtraStyles"];
23238
+ var _excluded$u = ["title", "name", "checked", "onChange", "disabled", "themeValues", "hidden", "error", "checkboxMargin", "extraStyles", "textExtraStyles", "labelledById", "dataQa", "checkboxExtraStyles", "hasIconOverride", "icon"];
22933
23239
  var CheckboxContainer = styled.span.withConfig({
22934
23240
  displayName: "Checkbox__CheckboxContainer",
22935
23241
  componentId: "sc-36kqbv-0"
@@ -22937,7 +23243,7 @@ var CheckboxContainer = styled.span.withConfig({
22937
23243
  var CheckboxLabelContainer = styled.label.withConfig({
22938
23244
  displayName: "Checkbox__CheckboxLabelContainer",
22939
23245
  componentId: "sc-36kqbv-1"
22940
- })(["display:flex;align-items:center;column-gap:1rem;"]);
23246
+ })(["display:flex;align-items:center;column-gap:1rem;cursor:pointer;"]);
22941
23247
  var CheckboxIcon = styled.svg.withConfig({
22942
23248
  displayName: "Checkbox__CheckboxIcon",
22943
23249
  componentId: "sc-36kqbv-2"
@@ -22996,7 +23302,10 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref5, ref) {
22996
23302
  _ref5$dataQa = _ref5.dataQa,
22997
23303
  dataQa = _ref5$dataQa === void 0 ? null : _ref5$dataQa,
22998
23304
  checkboxExtraStyles = _ref5.checkboxExtraStyles,
22999
- rest = _objectWithoutProperties(_ref5, _excluded$s);
23305
+ _ref5$hasIconOverride = _ref5.hasIconOverride,
23306
+ hasIconOverride = _ref5$hasIconOverride === void 0 ? false : _ref5$hasIconOverride,
23307
+ Icon = _ref5.icon,
23308
+ rest = _objectWithoutProperties(_ref5, _excluded$u);
23000
23309
  var _useState = useState(false),
23001
23310
  _useState2 = _slicedToArray(_useState, 2),
23002
23311
  focused = _useState2[0],
@@ -23024,7 +23333,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref5, ref) {
23024
23333
  },
23025
23334
  hiddenStyles: hidden,
23026
23335
  background: themeValues.backgroundColor,
23027
- extraStyles: "outline: none; ".concat(extraStyles, "; margin: ").concat(checkboxMargin, ";")
23336
+ extraStyles: "\n :focus {\n outline: 0;\n }\n ".concat(extraStyles, "; \n margin: ").concat(checkboxMargin, ";\n ")
23028
23337
  }, rest), /*#__PURE__*/React.createElement(CheckboxLabelContainer, {
23029
23338
  "data-qa": dataQa
23030
23339
  }, /*#__PURE__*/React.createElement(CheckboxContainer, {
@@ -23054,7 +23363,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref5, ref) {
23054
23363
  disabledCheckedStyles: themeValues.disabledCheckedStyles,
23055
23364
  focusedStyles: themeValues.focusedStyles,
23056
23365
  checkboxExtraStyles: checkboxExtraStyles
23057
- }, /*#__PURE__*/React.createElement(CheckboxIcon, {
23366
+ }, hasIconOverride ? /*#__PURE__*/React.createElement(Icon, null) : /*#__PURE__*/React.createElement(CheckboxIcon, {
23058
23367
  viewBox: "0 0 24 24",
23059
23368
  disabled: disabled,
23060
23369
  disabledCheckColor: themeValues.disabledCheckColor,
@@ -23352,7 +23661,7 @@ var TableRowWrapper = styled.tr.withConfig({
23352
23661
  return extraStyles;
23353
23662
  });
23354
23663
 
23355
- var _excluded$t = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
23664
+ var _excluded$v = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
23356
23665
  var TableRow = function TableRow(_ref) {
23357
23666
  var children = _ref.children,
23358
23667
  extraStyles = _ref.extraStyles,
@@ -23361,7 +23670,7 @@ var TableRow = function TableRow(_ref) {
23361
23670
  hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
23362
23671
  onClick = _ref.onClick,
23363
23672
  themeValues = _ref.themeValues,
23364
- props = _objectWithoutProperties(_ref, _excluded$t);
23673
+ props = _objectWithoutProperties(_ref, _excluded$v);
23365
23674
  return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
23366
23675
  onClick: onClick,
23367
23676
  hoverEffect: hoverEffect,
@@ -26195,7 +26504,7 @@ var mobileFallbackValues$1 = {
26195
26504
  };
26196
26505
  var MOBILE_BREAKPOINT$1 = 768;
26197
26506
 
26198
- var _excluded$u = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
26507
+ var _excluded$w = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
26199
26508
 
26200
26509
  /*
26201
26510
  New responsive text component for Detail elements
@@ -26245,7 +26554,7 @@ var Detail = function Detail(_ref) {
26245
26554
  as = _ref$as === void 0 ? "p" : _ref$as,
26246
26555
  dataQa = _ref.dataQa,
26247
26556
  children = _ref.children,
26248
- rest = _objectWithoutProperties(_ref, _excluded$u);
26557
+ rest = _objectWithoutProperties(_ref, _excluded$w);
26249
26558
  return /*#__PURE__*/React.createElement(DetailText, _extends({
26250
26559
  variant: variant,
26251
26560
  as: as,
@@ -26983,7 +27292,7 @@ var fallbackValues$n = {
26983
27292
  formFooterPanel: formFooterPanel
26984
27293
  };
26985
27294
 
26986
- var _excluded$v = ["showErrors", "themeValues"],
27295
+ var _excluded$x = ["showErrors", "themeValues"],
26987
27296
  _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired", "errorFieldExtraStyles", "showFieldErrorRow", "labelTextVariant", "errorTextVariant"];
26988
27297
  var InputField = styled.input.withConfig({
26989
27298
  displayName: "FormInput__InputField",
@@ -27018,7 +27327,7 @@ var InputField = styled.input.withConfig({
27018
27327
  var FormattedInputField = styled(function (_ref8) {
27019
27328
  var showErrors = _ref8.showErrors,
27020
27329
  themeValues = _ref8.themeValues,
27021
- props = _objectWithoutProperties(_ref8, _excluded$v);
27330
+ props = _objectWithoutProperties(_ref8, _excluded$x);
27022
27331
  return /*#__PURE__*/React.createElement(FormattedInput, props);
27023
27332
  }).withConfig({
27024
27333
  displayName: "FormInput__FormattedInputField",
@@ -27223,7 +27532,7 @@ var FormInput = function FormInput(_ref15) {
27223
27532
  };
27224
27533
  var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$n, "default");
27225
27534
 
27226
- var _excluded$w = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
27535
+ var _excluded$y = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
27227
27536
  var FormInputRow = function FormInputRow(_ref) {
27228
27537
  var _ref$breakpoint = _ref.breakpoint,
27229
27538
  breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
@@ -27232,7 +27541,7 @@ var FormInputRow = function FormInputRow(_ref) {
27232
27541
  largeChild = _ref.largeChild,
27233
27542
  largeChildSize = _ref.largeChildSize,
27234
27543
  children = _ref.children,
27235
- rest = _objectWithoutProperties(_ref, _excluded$w);
27544
+ rest = _objectWithoutProperties(_ref, _excluded$y);
27236
27545
  return /*#__PURE__*/React.createElement(Box, _extends({
27237
27546
  padding: "0"
27238
27547
  }, rest), /*#__PURE__*/React.createElement(Switcher, {
@@ -27243,24 +27552,24 @@ var FormInputRow = function FormInputRow(_ref) {
27243
27552
  }, children));
27244
27553
  };
27245
27554
 
27246
- var _excluded$x = ["childGap", "bottomItem", "children"];
27555
+ var _excluded$z = ["childGap", "bottomItem", "children"];
27247
27556
  var FormInputColumn = function FormInputColumn(_ref) {
27248
27557
  var _ref$childGap = _ref.childGap,
27249
27558
  childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
27250
27559
  bottomItem = _ref.bottomItem,
27251
27560
  children = _ref.children,
27252
- rest = _objectWithoutProperties(_ref, _excluded$x);
27561
+ rest = _objectWithoutProperties(_ref, _excluded$z);
27253
27562
  return /*#__PURE__*/React.createElement(Stack, _extends({
27254
27563
  childGap: childGap,
27255
27564
  bottomItem: bottomItem
27256
27565
  }, rest), children);
27257
27566
  };
27258
27567
 
27259
- var _excluded$y = ["themeValues", "children"];
27568
+ var _excluded$A = ["themeValues", "children"];
27260
27569
  var FormContainer = function FormContainer(_ref) {
27261
27570
  var themeValues = _ref.themeValues,
27262
27571
  children = _ref.children,
27263
- rest = _objectWithoutProperties(_ref, _excluded$y);
27572
+ rest = _objectWithoutProperties(_ref, _excluded$A);
27264
27573
  var _useContext = useContext(ThemeContext),
27265
27574
  isMobile = _useContext.isMobile;
27266
27575
  return /*#__PURE__*/React.createElement(Box, _extends({
@@ -27570,7 +27879,7 @@ var fallbackValues$r = {
27570
27879
  fontSize: fontSize$8
27571
27880
  };
27572
27881
 
27573
- var _excluded$z = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
27882
+ var _excluded$B = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
27574
27883
  var Heading = function Heading(_ref) {
27575
27884
  var themeValues = _ref.themeValues,
27576
27885
  _ref$weight = _ref.weight,
@@ -27589,7 +27898,7 @@ var Heading = function Heading(_ref) {
27589
27898
  as = _ref$as === void 0 ? variant : _ref$as,
27590
27899
  dataQa = _ref.dataQa,
27591
27900
  children = _ref.children,
27592
- rest = _objectWithoutProperties(_ref, _excluded$z);
27901
+ rest = _objectWithoutProperties(_ref, _excluded$B);
27593
27902
  return /*#__PURE__*/React.createElement(HeadingText, _extends({
27594
27903
  variant: variant,
27595
27904
  as: as,
@@ -27790,11 +28099,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
27790
28099
  }, /*#__PURE__*/React.createElement("span", null, label), /*#__PURE__*/React.createElement("span", null, amount));
27791
28100
  };
27792
28101
 
27793
- var _excluded$A = ["version"];
28102
+ var _excluded$C = ["version"];
27794
28103
  var LabeledAmount = function LabeledAmount(_ref) {
27795
28104
  var _ref$version = _ref.version,
27796
28105
  version = _ref$version === void 0 ? "v1" : _ref$version,
27797
- rest = _objectWithoutProperties(_ref, _excluded$A);
28106
+ rest = _objectWithoutProperties(_ref, _excluded$C);
27798
28107
  var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
27799
28108
  return /*#__PURE__*/React.createElement(LabeledAmountComponent, rest);
27800
28109
  };
@@ -27939,7 +28248,7 @@ var Loading = function Loading() {
27939
28248
  })))));
27940
28249
  };
27941
28250
 
27942
- var _excluded$B = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
28251
+ var _excluded$D = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
27943
28252
  var NavFooter = function NavFooter(_ref) {
27944
28253
  var leftContent = _ref.leftContent,
27945
28254
  rightContent = _ref.rightContent,
@@ -27954,7 +28263,7 @@ var NavFooter = function NavFooter(_ref) {
27954
28263
  footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
27955
28264
  isMobile = _ref.isMobile,
27956
28265
  footerWidth = _ref.footerWidth,
27957
- rest = _objectWithoutProperties(_ref, _excluded$B);
28266
+ rest = _objectWithoutProperties(_ref, _excluded$D);
27958
28267
  return /*#__PURE__*/React.createElement(Box, _extends({
27959
28268
  padding: footerPadding,
27960
28269
  background: backgroundColor,
@@ -27985,7 +28294,7 @@ var NavFooter = function NavFooter(_ref) {
27985
28294
  }, rightContent)))))));
27986
28295
  };
27987
28296
 
27988
- var _excluded$C = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
28297
+ var _excluded$E = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
27989
28298
  var NavHeader = function NavHeader(_ref) {
27990
28299
  var leftContent = _ref.leftContent,
27991
28300
  rightContent = _ref.rightContent,
@@ -27994,7 +28303,7 @@ var NavHeader = function NavHeader(_ref) {
27994
28303
  isMobile = _ref.isMobile,
27995
28304
  backgroundColor = _ref.backgroundColor,
27996
28305
  headerWidth = _ref.headerWidth,
27997
- rest = _objectWithoutProperties(_ref, _excluded$C);
28306
+ rest = _objectWithoutProperties(_ref, _excluded$E);
27998
28307
  return /*#__PURE__*/React.createElement(Box, _extends({
27999
28308
  padding: "0 16px 4px",
28000
28309
  background: backgroundColor,
@@ -39623,8 +39932,10 @@ var CardText = function CardText(_ref) {
39623
39932
  themeValues = _ref.themeValues;
39624
39933
  return /*#__PURE__*/React.createElement(Box, {
39625
39934
  padding: padding
39626
- }, /*#__PURE__*/React.createElement(Cover, null, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Box, {
39627
- padding: "0"
39935
+ }, /*#__PURE__*/React.createElement(Cover, null, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Cluster, {
39936
+ justify: "space-between",
39937
+ align: "center",
39938
+ overflow: true
39628
39939
  }, titleText && /*#__PURE__*/React.createElement(Title$1, {
39629
39940
  as: titleAs,
39630
39941
  variant: titleVariant,
@@ -39639,7 +39950,7 @@ var CardText = function CardText(_ref) {
39639
39950
  role: "button",
39640
39951
  tabIndex: 0,
39641
39952
  "aria-label": "Close Card: ".concat(titleText),
39642
- extraStyles: "position: absolute; top: 0.5rem; right: 0.5rem; cursor: pointer;"
39953
+ extraStyles: "cursor: pointer;"
39643
39954
  }, /*#__PURE__*/React.createElement(IconQuitLarge, null))), /*#__PURE__*/React.createElement(Paragraph$1, {
39644
39955
  as: textAs,
39645
39956
  color: themeValues.textColor
@@ -46412,11 +46723,11 @@ var Modal$2 = function Modal(_ref) {
46412
46723
  };
46413
46724
  var ModalControlV2 = withWindowSize(Modal$2);
46414
46725
 
46415
- var _excluded$D = ["version"];
46726
+ var _excluded$F = ["version"];
46416
46727
  var Modal$3 = function Modal(_ref) {
46417
46728
  var _ref$version = _ref.version,
46418
46729
  version = _ref$version === void 0 ? "v1" : _ref$version,
46419
- rest = _objectWithoutProperties(_ref, _excluded$D);
46730
+ rest = _objectWithoutProperties(_ref, _excluded$F);
46420
46731
  var ModalControl = version === "v1" ? Modal$1 : ModalControlV2;
46421
46732
  return /*#__PURE__*/React.createElement(ModalControl, rest);
46422
46733
  };
@@ -47718,7 +48029,7 @@ var fallbackValues$P = {
47718
48029
  labeledAmountTotal: labeledAmountTotal
47719
48030
  };
47720
48031
 
47721
- var _excluded$E = ["amount"],
48032
+ var _excluded$G = ["amount"],
47722
48033
  _excluded2$1 = ["amount"];
47723
48034
  var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
47724
48035
  var lineItemElems = _ref.lineItemElems,
@@ -47961,7 +48272,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
47961
48272
  return fee.amount > 0;
47962
48273
  }).map(function (_ref5) {
47963
48274
  var amount = _ref5.amount,
47964
- rest = _objectWithoutProperties(_ref5, _excluded$E);
48275
+ rest = _objectWithoutProperties(_ref5, _excluded$G);
47965
48276
  return _objectSpread2(_objectSpread2({}, rest), {}, {
47966
48277
  amount: displayCurrency(amount)
47967
48278
  });
@@ -48398,11 +48709,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
48398
48709
  }, errorMessage))))));
48399
48710
  };
48400
48711
 
48401
- var _excluded$F = ["version"];
48712
+ var _excluded$H = ["version"];
48402
48713
  var TermsAndConditions = function TermsAndConditions(_ref) {
48403
48714
  var _ref$version = _ref.version,
48404
48715
  version = _ref$version === void 0 ? "v1" : _ref$version,
48405
- rest = _objectWithoutProperties(_ref, _excluded$F);
48716
+ rest = _objectWithoutProperties(_ref, _excluded$H);
48406
48717
  var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
48407
48718
  return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
48408
48719
  };
@@ -49210,7 +49521,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
49210
49521
  }, section.content))));
49211
49522
  };
49212
49523
 
49213
- var _excluded$G = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
49524
+ var _excluded$I = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
49214
49525
 
49215
49526
  /**
49216
49527
  - The RadioSection component takes either a flat array (via the 'sections'
@@ -49259,7 +49570,7 @@ var RadioSection = function RadioSection(_ref) {
49259
49570
  isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
49260
49571
  groupedSections = _ref.groupedSections,
49261
49572
  borderOverride = _ref.borderOverride,
49262
- rest = _objectWithoutProperties(_ref, _excluded$G);
49573
+ rest = _objectWithoutProperties(_ref, _excluded$I);
49263
49574
  var _useState = useState(null),
49264
49575
  _useState2 = _slicedToArray(_useState, 2),
49265
49576
  focused = _useState2[0],
@@ -49806,7 +50117,7 @@ var Timeout = function Timeout(_ref) {
49806
50117
  };
49807
50118
  var Timeout$1 = withWindowSize(Timeout);
49808
50119
 
49809
- var _excluded$H = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
50120
+ var _excluded$J = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
49810
50121
  var VARIANTS = {
49811
50122
  SUCCESS: "success",
49812
50123
  ERROR: "error"
@@ -49835,7 +50146,7 @@ var ToastNotification = function ToastNotification(_ref) {
49835
50146
  screenReaderMessage = _ref.screenReaderMessage,
49836
50147
  _ref$showScreenReader = _ref.showScreenReaderMessage,
49837
50148
  showScreenReaderMessage = _ref$showScreenReader === void 0 ? true : _ref$showScreenReader,
49838
- rest = _objectWithoutProperties(_ref, _excluded$H);
50149
+ rest = _objectWithoutProperties(_ref, _excluded$J);
49839
50150
  var screenReaderMessageRef = useRef();
49840
50151
  var LIVEREGION_TRANSITION_DELAY = 1000;
49841
50152
  useEffect$1(function () {
@@ -50018,7 +50329,7 @@ var PopupMenuItemContainer = styled(ButtonWithAction).withConfig({
50018
50329
  return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
50019
50330
  });
50020
50331
 
50021
- var _excluded$I = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
50332
+ var _excluded$K = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
50022
50333
  var PopupMenuItem = function PopupMenuItem(_ref) {
50023
50334
  var id = _ref.id,
50024
50335
  closeMenuCallback = _ref.closeMenuCallback,
@@ -50034,7 +50345,7 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
50034
50345
  hoverStyles = _ref.hoverStyles,
50035
50346
  activeStyles = _ref.activeStyles,
50036
50347
  extraStyles = _ref.extraStyles,
50037
- rest = _objectWithoutProperties(_ref, _excluded$I);
50348
+ rest = _objectWithoutProperties(_ref, _excluded$K);
50038
50349
  return /*#__PURE__*/React.createElement(PopupMenuItemContainer, _extends({
50039
50350
  id: id,
50040
50351
  role: "menuItem",
@@ -50207,20 +50518,21 @@ var PopupMenu = function PopupMenu(_ref) {
50207
50518
  };
50208
50519
  var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$Z);
50209
50520
 
50210
- var primaryColor$1 = INFO_BLUE;
50521
+ var primaryColor$1 = WHITE;
50522
+ var primaryHoverColor = INFO_BLUE;
50211
50523
  var secondaryColor = MATISSE_BLUE;
50524
+ var secondaryHoverColor = "#115D7E";
50212
50525
  var fallbackValues$_ = {
50213
50526
  primaryColor: primaryColor$1,
50214
- secondaryColor: secondaryColor
50527
+ primaryHoverColor: primaryHoverColor,
50528
+ secondaryColor: secondaryColor,
50529
+ secondaryHoverColor: secondaryHoverColor
50215
50530
  };
50216
50531
 
50217
50532
  var StyledFilterContainer = styled(Box).withConfig({
50218
50533
  displayName: "MultipleSelectFilterstyled__StyledFilterContainer",
50219
50534
  componentId: "sc-126xgc2-0"
50220
- })(["position:relative;box-sizing:border-box;padding:0;", ""], function (_ref) {
50221
- var extraStyles = _ref.extraStyles;
50222
- return extraStyles;
50223
- });
50535
+ })(["position:relative;overflow:visible;box-sizing:border-box;padding:0;"]);
50224
50536
  var FilterContainer = /*#__PURE__*/forwardRef(function (props, ref) {
50225
50537
  return /*#__PURE__*/React.createElement(StyledFilterContainer, _extends({
50226
50538
  ref: ref
@@ -50229,7 +50541,7 @@ var FilterContainer = /*#__PURE__*/forwardRef(function (props, ref) {
50229
50541
  var StyledFilterDropdown = styled(Box).withConfig({
50230
50542
  displayName: "MultipleSelectFilterstyled__StyledFilterDropdown",
50231
50543
  componentId: "sc-126xgc2-1"
50232
- })(["position:absolute;top:calc(100% + 0.5rem);left:0;width:100%;background-color:white;z-index:1000;border-radius:0.25rem;box-shadow:0px 1px 0px 0px rgba(41,42,51,0.1),0px 2px 4px 0px rgba(41,42,51,0.2),0px 1px 2px 0px rgba(41,42,51,0.1);padding:0;max-width:18.625rem;"]);
50544
+ })(["position:absolute;top:calc(100% + 0.5rem);left:0;width:18.4rem;background-color:white;z-index:1000;border-radius:0.25rem;box-shadow:0px 1px 0px 0px rgba(41,42,51,0.1),0px 2px 4px 0px rgba(41,42,51,0.2),0px 1px 2px 0px rgba(41,42,51,0.1);padding:0;max-width:18.625rem;"]);
50233
50545
  var FilterDropdownContainer = /*#__PURE__*/forwardRef(function (props, ref) {
50234
50546
  return /*#__PURE__*/React.createElement(StyledFilterDropdown, _extends({
50235
50547
  ref: ref
@@ -50238,12 +50550,16 @@ var FilterDropdownContainer = /*#__PURE__*/forwardRef(function (props, ref) {
50238
50550
  var FilterButton = styled(ButtonWithAction).withConfig({
50239
50551
  displayName: "MultipleSelectFilterstyled__FilterButton",
50240
50552
  componentId: "sc-126xgc2-2"
50241
- })(["min-width:auto;min-height:2.3125rem;margin:0;padding:0.5rem;border-radius:0.25rem;box-shadow:0px 1px 2px 0px rgba(41,42,51,0.1);", " ", ""], function (_ref2) {
50242
- var textColor = _ref2.textColor;
50243
- return "\n color: ".concat(textColor, ";\n ");
50244
- }, function (_ref3) {
50245
- var backgroundColor = _ref3.backgroundColor;
50246
- return "\n background-color: ".concat(backgroundColor, ";\n :hover,\n :active,\n :focus {\n background-color: ").concat(backgroundColor, ";\n }\n ");
50553
+ })(["min-width:auto;min-height:2.3125rem;margin:0;padding:0.5rem;border-radius:0.25rem;box-shadow:0px 1px 2px 0px rgba(41,42,51,0.1);", " ", ""], function (_ref) {
50554
+ var opened = _ref.opened,
50555
+ textColor = _ref.textColor,
50556
+ textHoverColor = _ref.textHoverColor;
50557
+ return "\n color: ".concat(opened ? textHoverColor : textColor, ";\n :hover,\n :active,\n :focus {\n color: ").concat(textHoverColor, ";\n > * {\n color: ").concat(textHoverColor, ";\n }\n }\n ");
50558
+ }, function (_ref2) {
50559
+ var opened = _ref2.opened,
50560
+ backgroundColor = _ref2.backgroundColor,
50561
+ backgroundHoverColor = _ref2.backgroundHoverColor;
50562
+ return "\n background-color: ".concat(opened ? backgroundHoverColor : backgroundColor, "; \n :hover,\n :active,\n :focus {\n background-color: ").concat(backgroundHoverColor, ";\n }\n ");
50247
50563
  });
50248
50564
  var StyledFilterButton = /*#__PURE__*/forwardRef(function (props, ref) {
50249
50565
  return /*#__PURE__*/React.createElement(FilterButton, _extends({
@@ -50254,7 +50570,8 @@ var StyledFilterButton = /*#__PURE__*/forwardRef(function (props, ref) {
50254
50570
  var ActionLinkButton = /*#__PURE__*/forwardRef(function (_ref, ref) {
50255
50571
  var action = _ref.action,
50256
50572
  text = _ref.text,
50257
- dataQa = _ref.dataQa;
50573
+ dataQa = _ref.dataQa,
50574
+ ariaLabel = _ref.ariaLabel;
50258
50575
  return /*#__PURE__*/React.createElement(ButtonWithAction, {
50259
50576
  ref: ref,
50260
50577
  action: action,
@@ -50262,11 +50579,12 @@ var ActionLinkButton = /*#__PURE__*/forwardRef(function (_ref, ref) {
50262
50579
  extraStyles: "\n padding: 0.2rem; \n margin: 0.5rem; \n min-height: auto; \n min-width: auto;\n ",
50263
50580
  textExtraStyles: "font-weight: ".concat(FONT_WEIGHT_REGULAR, ";"),
50264
50581
  text: text,
50265
- dataQa: dataQa
50582
+ dataQa: dataQa,
50583
+ "aria-label": ariaLabel
50266
50584
  });
50267
50585
  });
50268
50586
 
50269
- var _excluded$J = ["width", "height", "color"];
50587
+ var _excluded$L = ["width", "height", "color"];
50270
50588
  var DropdownIconV2 = function DropdownIconV2(_ref) {
50271
50589
  var _ref$width = _ref.width,
50272
50590
  width = _ref$width === void 0 ? "18" : _ref$width,
@@ -50274,7 +50592,7 @@ var DropdownIconV2 = function DropdownIconV2(_ref) {
50274
50592
  height = _ref$height === void 0 ? "19" : _ref$height,
50275
50593
  _ref$color = _ref.color,
50276
50594
  color = _ref$color === void 0 ? "#292A33" : _ref$color,
50277
- props = _objectWithoutProperties(_ref, _excluded$J);
50595
+ props = _objectWithoutProperties(_ref, _excluded$L);
50278
50596
  return /*#__PURE__*/React.createElement("svg", _extends({
50279
50597
  width: width,
50280
50598
  height: height,
@@ -50320,7 +50638,9 @@ var FilterButton$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
50320
50638
  action = _ref$action === void 0 ? noop$1 : _ref$action,
50321
50639
  opened = _ref.opened,
50322
50640
  backgroundColor = _ref.backgroundColor,
50323
- contentColor = _ref.contentColor,
50641
+ backgroundHoverColor = _ref.backgroundHoverColor,
50642
+ textColor = _ref.textColor,
50643
+ textHoverColor = _ref.textHoverColor,
50324
50644
  name = _ref.name,
50325
50645
  filterDropdownID = _ref.filterDropdownID,
50326
50646
  _ref$hasIcon = _ref.hasIcon,
@@ -50328,7 +50648,10 @@ var FilterButton$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
50328
50648
  Icon = _ref.icon,
50329
50649
  truncateBtnTextWidth = _ref.truncateBtnTextWidth,
50330
50650
  filterLabel = _ref.filterLabel,
50331
- selectedOptions = _ref.selectedOptions;
50651
+ selectedOptions = _ref.selectedOptions,
50652
+ extraStyles = _ref.extraStyles;
50653
+ var btnTextFilterDescription = selectedOptions !== null && selectedOptions !== void 0 && selectedOptions.length ? "".concat(filterLabel ? "".concat(filterLabel, ": ") : "").concat(selectedOptions[0].name) : "".concat(filterLabel ? filterLabel : "");
50654
+ var btnTextItemsDescription = selectedOptions !== null && selectedOptions !== void 0 && selectedOptions.length && (selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.length) > 1 ? ", +".concat((selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.length) - 1, " More") : "";
50332
50655
  return /*#__PURE__*/React.createElement(StyledFilterButton, {
50333
50656
  ref: ref,
50334
50657
  variant: "tertiary",
@@ -50337,7 +50660,13 @@ var FilterButton$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
50337
50660
  "aria-expanded": opened,
50338
50661
  "aria-controls": filterDropdownID,
50339
50662
  backgroundColor: backgroundColor,
50663
+ backgroundHoverColor: backgroundHoverColor,
50664
+ textColor: textColor,
50665
+ textHoverColor: textHoverColor,
50666
+ opened: opened,
50340
50667
  dataQa: "".concat(name, "-filter-button"),
50668
+ extraStyles: extraStyles,
50669
+ "aria-label": "".concat(filterLabel, " Filter: ").concat(btnTextFilterDescription, " ").concat(btnTextItemsDescription),
50341
50670
  contentOverride: true
50342
50671
  }, btnContentOverride ? btnContentOverride : /*#__PURE__*/React.createElement(Center, {
50343
50672
  as: "span",
@@ -50347,7 +50676,7 @@ var FilterButton$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
50347
50676
  },
50348
50677
  intrinsic: true
50349
50678
  }, hasIcon && /*#__PURE__*/React.createElement(Icon, {
50350
- color: contentColor
50679
+ color: opened ? textHoverColor : textColor
50351
50680
  }), /*#__PURE__*/React.createElement(Center, {
50352
50681
  as: "span",
50353
50682
  style: {
@@ -50358,20 +50687,22 @@ var FilterButton$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
50358
50687
  intrinsic: true
50359
50688
  }, /*#__PURE__*/React.createElement(Text$1, {
50360
50689
  variant: "pS",
50361
- color: contentColor,
50690
+ color: opened ? textHoverColor : textColor,
50362
50691
  extraStyles: "\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ".concat(truncateBtnTextWidth && "max-width:" + truncateBtnTextWidth, "\n ")
50363
- }, selectedOptions !== null && selectedOptions !== void 0 && selectedOptions.length ? "".concat(filterLabel ? filterLabel + ": " : "").concat(selectedOptions[0].name) : "".concat(filterLabel ? filterLabel : "")), /*#__PURE__*/React.createElement(Text$1, {
50364
- color: contentColor,
50692
+ }, btnTextFilterDescription), /*#__PURE__*/React.createElement(Text$1, {
50693
+ color: opened ? textHoverColor : textColor,
50365
50694
  variant: "pS"
50366
- }, selectedOptions !== null && selectedOptions !== void 0 && selectedOptions.length && (selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.length) > 1 ? ", +".concat((selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.length) - 1, " More") : "")), /*#__PURE__*/React.createElement(DropdownIconV2, {
50367
- color: contentColor
50695
+ }, btnTextItemsDescription)), /*#__PURE__*/React.createElement(DropdownIconV2, {
50696
+ color: opened ? textHoverColor : textColor
50368
50697
  })));
50369
50698
  });
50370
50699
 
50371
50700
  var FilterDropdown = /*#__PURE__*/forwardRef(function (_ref, ref) {
50372
50701
  var id = _ref.id,
50373
50702
  ariaOwns = _ref.ariaOwns,
50703
+ ariaControls = _ref.ariaControls,
50374
50704
  opened = _ref.opened,
50705
+ extraStyles = _ref.extraStyles,
50375
50706
  children = _ref.children;
50376
50707
  return /*#__PURE__*/React.createElement(React.Fragment, null, opened && /*#__PURE__*/React.createElement(FilterDropdownContainer, {
50377
50708
  ref: ref,
@@ -50379,7 +50710,9 @@ var FilterDropdown = /*#__PURE__*/forwardRef(function (_ref, ref) {
50379
50710
  role: "combobox",
50380
50711
  "aria-expanded": opened,
50381
50712
  "aria-haspopup": "listbox",
50382
- "aria-owns": ariaOwns
50713
+ "aria-owns": ariaOwns,
50714
+ "aria-controls": ariaControls,
50715
+ extraStyles: extraStyles
50383
50716
  }, children));
50384
50717
  });
50385
50718
 
@@ -50400,10 +50733,54 @@ var SearchBox = function SearchBox(_ref) {
50400
50733
  fieldActions: actions.fields.searchTerm,
50401
50734
  placeholder: placeholder,
50402
50735
  disabled: disabled,
50403
- extraStyles: "\n height: 2.875rem;\n border: 0; \n border-radius: 0;\n padding: 0.45rem;\n font-size: 0.875rem;\n border-bottom: 1px solid ".concat(GHOST_GREY, ";\n ")
50736
+ extraStyles: "\n height: 2.875rem;\n border: 0; \n border-radius: 0;\n padding: 0.45rem;\n font-size: 0.875rem;\n border-bottom: 1px solid ".concat(GHOST_GREY, ";\n :focus {\n outline-offset: -3px;\n }\n ")
50404
50737
  }));
50405
50738
  };
50406
50739
 
50740
+ var _excluded$M = ["width", "height", "color"];
50741
+ var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
50742
+ var _ref$width = _ref.width,
50743
+ width = _ref$width === void 0 ? "18" : _ref$width,
50744
+ _ref$height = _ref.height,
50745
+ height = _ref$height === void 0 ? "18" : _ref$height,
50746
+ _ref$color = _ref.color,
50747
+ color = _ref$color === void 0 ? "#FEFEFE" : _ref$color,
50748
+ props = _objectWithoutProperties(_ref, _excluded$M);
50749
+ return /*#__PURE__*/React.createElement("svg", _extends({
50750
+ xmlns: "http://www.w3.org/2000/svg",
50751
+ width: width,
50752
+ height: height,
50753
+ viewBox: "0 0 ".concat(width, " ").concat(height),
50754
+ fill: "none"
50755
+ }, props), /*#__PURE__*/React.createElement("path", {
50756
+ fillRule: "evenodd",
50757
+ clipRule: "evenodd",
50758
+ d: "M13.7503 5.35354C13.555 5.15828 13.2385 5.15828 13.0432 5.35354L7.52373 10.873L5.52808 8.87735C5.33282 8.68209 5.01624 8.68209 4.82097 8.87735L4.35348 9.34484C4.15822 9.54011 4.15822 9.85669 4.35348 10.052L6.70268 12.4012L7.17018 12.8687C7.36544 13.0639 7.68203 13.0639 7.87729 12.8687L8.34478 12.4012L14.2178 6.52814C14.4131 6.33288 14.4131 6.0163 14.2178 5.82104L13.7503 5.35354Z",
50759
+ fill: "#FEFEFE"
50760
+ }), /*#__PURE__*/React.createElement("mask", {
50761
+ id: "mask0_3361_1486",
50762
+ style: {
50763
+ maskType: "luminance"
50764
+ },
50765
+ maskUnits: "userSpaceOnUse",
50766
+ x: "4",
50767
+ y: "5",
50768
+ width: "11",
50769
+ height: "9"
50770
+ }, /*#__PURE__*/React.createElement("path", {
50771
+ fillRule: "evenodd",
50772
+ clipRule: "evenodd",
50773
+ d: "M13.7503 5.35354C13.555 5.15828 13.2385 5.15828 13.0432 5.35354L7.52373 10.873L5.52808 8.87735C5.33282 8.68209 5.01624 8.68209 4.82097 8.87735L4.35348 9.34484C4.15822 9.54011 4.15822 9.85669 4.35348 10.052L6.70268 12.4012L7.17018 12.8687C7.36544 13.0639 7.68203 13.0639 7.87729 12.8687L8.34478 12.4012L14.2178 6.52814C14.4131 6.33288 14.4131 6.0163 14.2178 5.82104L13.7503 5.35354Z",
50774
+ fill: "white"
50775
+ })), /*#__PURE__*/React.createElement("g", {
50776
+ mask: "url(#mask0_3361_1486)"
50777
+ }, /*#__PURE__*/React.createElement("rect", {
50778
+ width: width,
50779
+ height: height,
50780
+ fill: color
50781
+ })));
50782
+ };
50783
+
50407
50784
  var FilterableListItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
50408
50785
  var index = _ref.index,
50409
50786
  option = _ref.option,
@@ -50412,28 +50789,31 @@ var FilterableListItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
50412
50789
  disabled = _ref.disabled,
50413
50790
  tabIndex = _ref.tabIndex,
50414
50791
  name = _ref.name,
50792
+ showDivider = _ref.showDivider,
50793
+ extraStyles = _ref.extraStyles,
50415
50794
  themeValues = _ref.themeValues;
50416
- return /*#__PURE__*/React.createElement(Box, {
50417
- padding: "0",
50795
+ var dividerStyles = "\n ::after {\n content: '';\n position: absolute;\n width: 100%;\n display: block;\n height: 1px;\n background-color: ".concat(GHOST_GREY, ";\n bottom: -0.5rem;\n left: 0;\n }");
50796
+ return /*#__PURE__*/React.createElement(Checkbox$1, {
50418
50797
  key: index,
50419
- extraStyles: "\n :hover,\n :active,\n :focus {\n background-color: ".concat(themeValues.primaryColor, ";\n }\n ")
50420
- }, /*#__PURE__*/React.createElement(Checkbox$1, {
50421
50798
  ref: ref,
50422
50799
  title: option.name,
50423
50800
  name: option.name,
50801
+ role: "option",
50802
+ "aria-selected": checked,
50803
+ tabIndex: tabIndex,
50804
+ dataQa: "".concat(name, "-option-").concat(index),
50424
50805
  checked: checked,
50425
50806
  onChange: function onChange() {
50426
50807
  return selectOption(option);
50427
50808
  },
50428
50809
  textExtraStyles: "font-size: 0.875rem; margin: 0;",
50429
50810
  disabled: disabled,
50430
- extraStyles: "\n padding: 0.075rem 0.325rem; \n margin: 0;\n :hover,\n :active,\n :focus {\n background-color: ".concat(themeValues.primaryColor, ";\n }\n "),
50431
- checkboxMargin: "0.3rem",
50432
- role: "option",
50433
- checkboxExtraStyles: "\n width: 1.375rem; \n height: 1.375rem;\n ".concat(checked && !disabled ? "background: " + themeValues.secondaryColor + ";" : "", "\n "),
50434
- tabIndex: tabIndex,
50435
- dataQa: "".concat(name, "-option-").concat(index)
50436
- }));
50811
+ extraStyles: "\n padding: 0.375rem 0.625rem; \n margin: 0;\n :hover,\n :active,\n :focus {\n background-color: ".concat(themeValues.primaryHoverColor, ";\n }\n ").concat(showDivider && dividerStyles, "\n ").concat(extraStyles, "\n "),
50812
+ checkboxMargin: showDivider ? "0 0 1rem" : "0",
50813
+ hasIconOverride: true,
50814
+ icon: CheckboxCheckmarkIcon,
50815
+ checkboxExtraStyles: "\n display: flex;\n justify-content: center;\n align-items: center;\n height: 20px;\n width: 20px;\n ".concat(checked && !disabled ? "background: " + themeValues.secondaryColor + ";" : "", "\n ")
50816
+ });
50437
50817
  });
50438
50818
 
50439
50819
  var filterItemsList = function filterItemsList(list, searchTerm) {
@@ -50598,14 +50978,12 @@ var FilterableList = function FilterableList(_ref) {
50598
50978
  handleKeyDown = _useKeyboardNavigatio.handleKeyDown;
50599
50979
  return /*#__PURE__*/React.createElement(Box, {
50600
50980
  id: id,
50601
- role: "listbox",
50602
- padding: "0",
50603
- extraStyles: "\n overflow-y: auto;\n max-height: 250px;\n display: flex;\n flex-flow: column;\n ",
50604
- onKeyDown: handleKeyDown
50605
- }, (sortedAppliedOptions === null || sortedAppliedOptions === void 0 ? void 0 : sortedAppliedOptions.length) > 0 && /*#__PURE__*/React.createElement(Box, {
50606
50981
  padding: "0",
50607
- extraStyles: sortedOptions.length > 0 && "border-bottom: 1px solid ".concat(GHOST_GREY)
50608
- }, sortedAppliedOptions.map(function (option, index) {
50982
+ role: "listbox",
50983
+ "aria-label": "Filter options container",
50984
+ onKeyDown: handleKeyDown,
50985
+ extraStyles: "\n overflow-y: auto;\n max-height: 250px;\n display: flex;\n flex-flow: column;\n padding-bottom: 0.5rem;\n "
50986
+ }, (sortedAppliedOptions === null || sortedAppliedOptions === void 0 ? void 0 : sortedAppliedOptions.length) > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, sortedAppliedOptions.map(function (option, index) {
50609
50987
  var checked = isChecked(option, selectedOptions);
50610
50988
  var tabIndex = index === focusedIndex || index === 0 && focusedIndex === -1 ? "0" : "-1";
50611
50989
  return /*#__PURE__*/React.createElement(FilterableListItem, {
@@ -50619,9 +50997,10 @@ var FilterableList = function FilterableList(_ref) {
50619
50997
  selectOption: handleSelectOption,
50620
50998
  tabIndex: tabIndex,
50621
50999
  name: name,
50622
- themeValues: themeValues
51000
+ themeValues: themeValues,
51001
+ showDivider: sortedOptions.length > 0 && index === sortedAppliedOptions.length - 1
50623
51002
  });
50624
- })), sortedOptions.map(function (option, index) {
51003
+ })), /*#__PURE__*/React.createElement(React.Fragment, null, sortedOptions.map(function (option, index) {
50625
51004
  var checked = isChecked(option, selectedOptions);
50626
51005
  var isDisabled = isMaxSelectionReached(maxSelections, selectedOptions) && !checked;
50627
51006
  var indexOffset = sortedAppliedOptions !== null && sortedAppliedOptions !== void 0 && sortedAppliedOptions.length ? sortedAppliedOptions === null || sortedAppliedOptions === void 0 ? void 0 : sortedAppliedOptions.length : 0;
@@ -50641,7 +51020,7 @@ var FilterableList = function FilterableList(_ref) {
50641
51020
  name: name,
50642
51021
  themeValues: themeValues
50643
51022
  });
50644
- }));
51023
+ })));
50645
51024
  };
50646
51025
  var FilterableList$1 = /*#__PURE__*/React.memo(FilterableList);
50647
51026
 
@@ -50649,7 +51028,9 @@ var MultipleSelectFilter = function MultipleSelectFilter(_ref) {
50649
51028
  var actions = _ref.actions,
50650
51029
  autocompleteValue = _ref.autocompleteValue,
50651
51030
  btnContentOverride = _ref.btnContentOverride,
51031
+ btnExtraStyles = _ref.btnExtraStyles,
50652
51032
  disabled = _ref.disabled,
51033
+ dropdownExtraStyles = _ref.dropdownExtraStyles,
50653
51034
  extraStyles = _ref.extraStyles,
50654
51035
  fields = _ref.fields,
50655
51036
  filterLabel = _ref.filterLabel,
@@ -50668,8 +51049,6 @@ var MultipleSelectFilter = function MultipleSelectFilter(_ref) {
50668
51049
  placeholder = _ref$placeholder === void 0 ? "Search" : _ref$placeholder,
50669
51050
  _ref$searchable = _ref.searchable,
50670
51051
  searchable = _ref$searchable === void 0 ? true : _ref$searchable,
50671
- selectedOptions = _ref.selectedOptions,
50672
- setSelectedOptions = _ref.setSelectedOptions,
50673
51052
  themeValues = _ref.themeValues,
50674
51053
  _ref$truncateBtnTextW = _ref.truncateBtnTextWidth,
50675
51054
  truncateBtnTextWidth = _ref$truncateBtnTextW === void 0 ? "15rem" : _ref$truncateBtnTextW;
@@ -50679,22 +51058,29 @@ var MultipleSelectFilter = function MultipleSelectFilter(_ref) {
50679
51058
  setOpened = _useState2[1];
50680
51059
  var _useState3 = useState([]),
50681
51060
  _useState4 = _slicedToArray(_useState3, 2),
50682
- appliedOptions = _useState4[0],
50683
- setAppliedOptions = _useState4[1];
50684
- var handleClickOutsideContainer = function handleClickOutsideContainer() {
50685
- setOpened(false);
50686
- actions.fields.searchTerm.set("");
50687
- onApply(selectedOptions);
51061
+ selectedOptions = _useState4[0],
51062
+ setSelectedOptions = _useState4[1];
51063
+ var _useState5 = useState([]),
51064
+ _useState6 = _slicedToArray(_useState5, 2),
51065
+ appliedOptions = _useState6[0],
51066
+ setAppliedOptions = _useState6[1];
51067
+ var openedRef = useRef(opened);
51068
+ var handleOnClose = function handleOnClose() {
51069
+ if (openedRef.current) {
51070
+ setOpened(false);
51071
+ actions.fields.searchTerm.set("");
51072
+ }
50688
51073
  };
50689
51074
  var containerRef = useOutsideClickHook(function () {
50690
- return handleClickOutsideContainer();
51075
+ return handleOnClose();
50691
51076
  });
50692
51077
  var dropdownRef = useRef(null);
50693
51078
  var filterButtonRef = useRef(null);
50694
51079
  var applyFilterButtonRef = useRef(null);
50695
51080
  var filterDropdownID = "".concat(name, "-filter-dropdown");
50696
- var checkboxListID = "".concat(name, "-checkbox-list");
51081
+ var listGroupID = "".concat(name, "-list-group");
50697
51082
  useEffect$1(function () {
51083
+ openedRef.current = opened;
50698
51084
  if (!opened) {
50699
51085
  onApply(selectedOptions);
50700
51086
  setAppliedOptions(selectedOptions);
@@ -50711,9 +51097,7 @@ var MultipleSelectFilter = function MultipleSelectFilter(_ref) {
50711
51097
  or tabbing backward past the filter button.
50712
51098
  */
50713
51099
  if (event.key === "Escape" || event.key === "Tab" && !event.shiftKey && applyFilterButtonRef.current && applyFilterButtonRef.current.contains(event.target) || event.key === "Tab" && event.shiftKey && filterButtonRef.current && filterButtonRef.current.contains(event.target)) {
50714
- setOpened(false);
50715
- actions.fields.searchTerm.set("");
50716
- onApply(selectedOptions);
51100
+ handleOnClose();
50717
51101
  }
50718
51102
  };
50719
51103
  document.addEventListener("keydown", handleKeyDown);
@@ -50732,20 +51116,25 @@ var MultipleSelectFilter = function MultipleSelectFilter(_ref) {
50732
51116
  setOpened(!opened);
50733
51117
  },
50734
51118
  opened: opened,
50735
- backgroundColor: opened ? themeValues.primaryColor : selectedOptions !== null && selectedOptions !== void 0 && selectedOptions.length ? themeValues.secondaryColor : WHITE,
50736
- contentColor: !opened && selectedOptions !== null && selectedOptions !== void 0 && selectedOptions.length ? WHITE : CHARADE_GREY,
51119
+ backgroundHoverColor: appliedOptions !== null && appliedOptions !== void 0 && appliedOptions.length ? themeValues.secondaryHoverColor : themeValues.primaryHoverColor,
51120
+ backgroundColor: appliedOptions !== null && appliedOptions !== void 0 && appliedOptions.length ? themeValues.secondaryColor : themeValues.primaryColor,
51121
+ textColor: appliedOptions !== null && appliedOptions !== void 0 && appliedOptions.length ? WHITE : CHARADE_GREY,
51122
+ textHoverColor: opened && !(appliedOptions !== null && appliedOptions !== void 0 && appliedOptions.length) ? CHARADE_GREY : WHITE,
50737
51123
  name: name,
50738
51124
  filterDropdownID: filterDropdownID,
50739
51125
  hasIcon: hasIcon,
50740
51126
  icon: Icon,
50741
51127
  truncateBtnTextWidth: truncateBtnTextWidth,
50742
51128
  filterLabel: filterLabel,
50743
- selectedOptions: selectedOptions
51129
+ selectedOptions: selectedOptions,
51130
+ extraStyles: btnExtraStyles
50744
51131
  }), /*#__PURE__*/React.createElement(FilterDropdown, {
50745
51132
  id: filterDropdownID,
50746
51133
  ref: dropdownRef,
50747
- ariaOwns: checkboxListID,
50748
- opened: opened
51134
+ ariaOwns: listGroupID,
51135
+ ariaControls: listGroupID,
51136
+ opened: opened,
51137
+ extraStyles: dropdownExtraStyles
50749
51138
  }, /*#__PURE__*/React.createElement(SearchBox, {
50750
51139
  showSearchBox: searchable && (options === null || options === void 0 ? void 0 : options.length) > 8,
50751
51140
  autocompleteValue: autocompleteValue,
@@ -50754,7 +51143,7 @@ var MultipleSelectFilter = function MultipleSelectFilter(_ref) {
50754
51143
  placeholder: placeholder,
50755
51144
  disabled: disabled
50756
51145
  }), /*#__PURE__*/React.createElement(FilterableList$1, {
50757
- id: checkboxListID,
51146
+ id: listGroupID,
50758
51147
  options: options,
50759
51148
  appliedOptions: appliedOptions,
50760
51149
  themeValues: themeValues,
@@ -50768,22 +51157,21 @@ var MultipleSelectFilter = function MultipleSelectFilter(_ref) {
50768
51157
  extraStyles: "\n max-height: 100px; \n display: flex; \n flex-flow: row; \n justify-content: space-between;\n border-top: 1px solid ".concat(GHOST_GREY, ";\n ")
50769
51158
  }, /*#__PURE__*/React.createElement(ActionLinkButton, {
50770
51159
  action: function action() {
50771
- setOpened(false);
50772
51160
  setSelectedOptions([]);
50773
- actions.fields.searchTerm.set("");
51161
+ handleOnClose();
50774
51162
  onClear();
50775
51163
  },
50776
51164
  text: "Clear",
50777
- dataQa: "".concat(name, "-clear-filters")
51165
+ dataQa: "".concat(name, "-clear-filters"),
51166
+ ariaLabel: "Clear all filters"
50778
51167
  }), /*#__PURE__*/React.createElement(ActionLinkButton, {
50779
51168
  ref: applyFilterButtonRef,
50780
51169
  action: function action() {
50781
- setOpened(false);
50782
- actions.fields.searchTerm.set("");
50783
- onApply(selectedOptions);
51170
+ return handleOnClose();
50784
51171
  },
50785
51172
  text: "Apply",
50786
- dataQa: "".concat(name, "-apply-filters")
51173
+ dataQa: "".concat(name, "-apply-filters"),
51174
+ ariaLabel: "Apply all filters"
50787
51175
  }))));
50788
51176
  };
50789
51177
  var MultipleSelectFilter$1 = themeComponent(MultipleSelectFilter, "MultipleSelectFilter", fallbackValues$_);
@@ -51081,5 +51469,5 @@ var index$6 = /*#__PURE__*/Object.freeze({
51081
51469
  useToastNotification: useToastNotification
51082
51470
  });
51083
51471
 
51084
- export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, AgencyIcon, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CaretArrowDown$1 as CaretArrowDown, CaretArrowUp$1 as CaretArrowUp, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, CloseIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisabledAccountsAddIcon, DisabledPaymentMethodsAddIcon, DisabledPropertiesAddIcon, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, EmptyCartIconV2$1 as EmptyCartIconV2, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KebabMenuIcon, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, Modal$3 as Modal, Module$1 as Module, Motion, MultiCartIcon, MultipleSelectFilter$1 as MultipleSelectFilter, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoResultsIcon, NotFoundIcon, Obligation$1 as Obligation, iconsMap as ObligationIcons, OverageIcon, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, PlusCircleIcon, PointOfSaleImage, Popover$1 as Popover, PopupMenu$1 as PopupMenu, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess$1 as ResetPasswordSuccess, RevenueManagementImage, ReversalNeededIcon, RoutingNumberImage, Search$1 as Search, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, ShortageIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, SortableTableHeading$1 as SortableTableHeading, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToastNotification, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TrashIconV2$1 as TrashIconV2, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WalletName, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$4 as constants, createPartialAmountFormState, createPartialAmountFormValidators, index$5 as hooks, index$6 as util, withWindowSize };
51472
+ export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, AgencyIcon, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CaretArrowDown$1 as CaretArrowDown, CaretArrowUp$1 as CaretArrowUp, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, CloseIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisabledAccountsAddIcon, DisabledPaymentMethodsAddIcon, DisabledPropertiesAddIcon, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, EmptyCartIconV2$1 as EmptyCartIconV2, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KebabMenuIcon, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, Modal$3 as Modal, Module$1 as Module, Motion, MultiCartIcon, MultipleSelectFilter$1 as MultipleSelectFilter, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoResultsIcon, NotFoundIcon, Obligation$1 as Obligation, iconsMap as ObligationIcons, OverageIcon, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentStatusIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PersonIcon, PhoneForm, Placeholder$1 as Placeholder, PlusCircleIcon, PointOfSaleImage, Popover$1 as Popover, PopupMenu$1 as PopupMenu, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess$1 as ResetPasswordSuccess, RevenueManagementImage, ReversalNeededIcon, RoutingNumberImage, Search$1 as Search, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, ShortageIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, SortableTableHeading$1 as SortableTableHeading, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToastNotification, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TrashIconV2$1 as TrashIconV2, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WalletName, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$4 as constants, createPartialAmountFormState, createPartialAmountFormValidators, index$5 as hooks, index$6 as util, withWindowSize };
51085
51473
  //# sourceMappingURL=index.esm.js.map