@thecb/components 10.7.2-beta.1 → 12.0.0-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 (125) hide show
  1. package/dist/index.cjs.js +129 -426
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +129 -426
  4. package/dist/index.esm.js.map +1 -1
  5. package/package.json +21 -13
  6. package/src/.DS_Store +0 -0
  7. package/src/components/.DS_Store +0 -0
  8. package/src/components/atoms/alert/Alert.js +1 -10
  9. package/src/components/atoms/button-with-action/ButtonWithAction.js +4 -0
  10. package/src/components/atoms/button-with-action/ButtonWithAction.oldstories.js +56 -0
  11. package/src/components/atoms/button-with-action/ButtonWithAction.stories.js +109 -55
  12. package/src/components/molecules/.DS_Store +0 -0
  13. package/src/components/molecules/obligation/.DS_Store +0 -0
  14. package/src/components/molecules/toast-notification/ToastNotification.js +43 -74
  15. package/src/constants/style_constants.js +0 -12
  16. package/src/stories/Button.stories.ts +53 -0
  17. package/src/stories/Button.tsx +48 -0
  18. package/src/stories/Configure.mdx +364 -0
  19. package/src/stories/Header.stories.ts +33 -0
  20. package/src/stories/Header.tsx +56 -0
  21. package/src/stories/Page.stories.ts +32 -0
  22. package/src/stories/Page.tsx +73 -0
  23. package/src/stories/assets/accessibility.png +0 -0
  24. package/src/stories/assets/accessibility.svg +5 -0
  25. package/src/stories/assets/addon-library.png +0 -0
  26. package/src/stories/assets/assets.png +0 -0
  27. package/src/stories/assets/avif-test-image.avif +0 -0
  28. package/src/stories/assets/context.png +0 -0
  29. package/src/stories/assets/discord.svg +15 -0
  30. package/src/stories/assets/docs.png +0 -0
  31. package/src/stories/assets/figma-plugin.png +0 -0
  32. package/src/stories/assets/github.svg +3 -0
  33. package/src/stories/assets/share.png +0 -0
  34. package/src/stories/assets/styling.png +0 -0
  35. package/src/stories/assets/testing.png +0 -0
  36. package/src/stories/assets/theming.png +0 -0
  37. package/src/stories/assets/tutorials.svg +12 -0
  38. package/src/stories/assets/youtube.svg +4 -0
  39. package/src/stories/button.css +30 -0
  40. package/src/stories/header.css +32 -0
  41. package/src/stories/page.css +69 -0
  42. /package/src/components/atoms/add-obligation/{AddObligation.stories.js → AddObligation.oldstories.js} +0 -0
  43. /package/src/components/atoms/alert/{Alert.stories.js → Alert.oldstories.js} +0 -0
  44. /package/src/components/atoms/amount-callout/{AmountCallout.stories.js → AmountCallout.oldstories.js} +0 -0
  45. /package/src/components/atoms/badge/{Badge.stories.js → Badge.oldstories.js} +0 -0
  46. /package/src/components/atoms/breadcrumb/{Breadcrumb.stories.js → Breadcrumb.oldstories.js} +0 -0
  47. /package/src/components/atoms/button-with-link/{ButtonWithLink.stories.js → ButtonWithLink.oldstories.js} +0 -0
  48. /package/src/components/atoms/checkbox/{Checkbox.stories.js → Checkbox.oldstories.js} +0 -0
  49. /package/src/components/atoms/checkbox-list/{CheckboxList.stories.js → CheckboxList.oldstories.js} +0 -0
  50. /package/src/components/atoms/country-dropdown/{CountryDropdown.stories.js → CountryDropdown.oldstories.js} +0 -0
  51. /package/src/components/atoms/display-box/{DisplayBox.stories.js → DisplayBox.oldstories.js} +0 -0
  52. /package/src/components/atoms/display-card/{DisplayCard.stories.js → DisplayCard.oldstories.js} +0 -0
  53. /package/src/components/atoms/dropdown/{Dropdown.stories.js → Dropdown.oldstories.js} +0 -0
  54. /package/src/components/atoms/form-layouts/{FormLayouts.stories.js → FormLayouts.oldstories.js} +0 -0
  55. /package/src/components/atoms/form-select/{FormSelect.stories.js → FormSelect.oldstories.js} +0 -0
  56. /package/src/components/atoms/formatted-address/{FormattedAddress.stories.js → FormattedAddress.oldstories.js} +0 -0
  57. /package/src/components/atoms/hamburger-button/{HamburgerButton.stories.js → HamburgerButton.oldstories.js} +0 -0
  58. /package/src/components/atoms/heading/{Heading.stories.js → Heading.oldstories.js} +0 -0
  59. /package/src/components/atoms/icons/{icons.stories.js → icons.oldstories.js} +0 -0
  60. /package/src/components/atoms/labeled-amount/{LabeledAmount.stories.js → LabeledAmount.oldstories.js} +0 -0
  61. /package/src/components/atoms/layouts/examples/box-example/{BoxExample.stories.js → BoxExample.oldstories.js} +0 -0
  62. /package/src/components/atoms/layouts/examples/center-example/{CenterExample.stories.js → CenterExample.oldstories.js} +0 -0
  63. /package/src/components/atoms/layouts/examples/cluster-example/{ClusterExample.stories.js → ClusterExample.oldstories.js} +0 -0
  64. /package/src/components/atoms/layouts/examples/cover-example/{CoverExample.stories.js → CoverExample.oldstories.js} +0 -0
  65. /package/src/components/atoms/layouts/examples/frame-example/{FrameExample.stories.js → FrameExample.oldstories.js} +0 -0
  66. /package/src/components/atoms/layouts/examples/grid-example/{GridExample.stories.js → GridExample.oldstories.js} +0 -0
  67. /package/src/components/atoms/layouts/examples/imposter-example/{ImposterExample.stories.js → ImposterExample.oldstories.js} +0 -0
  68. /package/src/components/atoms/layouts/examples/motion-example/{MotionExample.stories.js → MotionExample.oldstories.js} +0 -0
  69. /package/src/components/atoms/layouts/examples/reel-example/{ReelExample.stories.js → ReelExample.oldstories.js} +0 -0
  70. /package/src/components/atoms/layouts/examples/sidebar-example/{SidebarExample.stories.js → SidebarExample.oldstories.js} +0 -0
  71. /package/src/components/atoms/layouts/examples/stack-example/{StackExample.stories.js → StackExample.oldstories.js} +0 -0
  72. /package/src/components/atoms/layouts/examples/switcher-example/{SwitcherExample.stories.js → SwitcherExample.oldstories.js} +0 -0
  73. /package/src/components/atoms/line-item/{LineItem.stories.js → LineItem.oldstories.js} +0 -0
  74. /package/src/components/atoms/link/{Link.stories.js → Link.oldstories.js} +0 -0
  75. /package/src/components/atoms/loading-line/{LoadingLine.stories.js → LoadingLine.oldstories.js} +0 -0
  76. /package/src/components/atoms/nav-footer/{NavFooter.stories.js → NavFooter.oldstories.js} +0 -0
  77. /package/src/components/atoms/nav-header/{NavHeader.stories.js → NavHeader.oldstories.js} +0 -0
  78. /package/src/components/atoms/paragraph/{Paragraph.stories.js → Paragraph.oldstories.js} +0 -0
  79. /package/src/components/atoms/password-requirements/{PasswordRequirements.stories.js → PasswordRequirements.oldstories.js} +0 -0
  80. /package/src/components/atoms/placeholder/{Placeholder.stories.js → Placeholder.oldstories.js} +0 -0
  81. /package/src/components/atoms/processing-fee/{ProcessingFee.stories.js → ProcessingFee.oldstories.js} +0 -0
  82. /package/src/components/atoms/searchable-select/{SearchableSelect.stories.js → SearchableSelect.oldstories.js} +0 -0
  83. /package/src/components/atoms/solid-divider/{SolidDivider.stories.js → SolidDivider.oldstories.js} +0 -0
  84. /package/src/components/atoms/spinner/{Spinner.stories.js → Spinner.oldstories.js} +0 -0
  85. /package/src/components/atoms/state-province-dropdown/{StateProvinceDropdown.stories.js → StateProvinceDropdown.oldstories.js} +0 -0
  86. /package/src/components/atoms/tab/{Tab.stories.js → Tab.oldstories.js} +0 -0
  87. /package/src/components/atoms/text/{Text.stories.js → Text.oldstories.js} +0 -0
  88. /package/src/components/atoms/toggle-switch/{ToggleSwitch.stories.js → ToggleSwitch.oldstories.js} +0 -0
  89. /package/src/components/atoms/typeahead-input/{TypeaheadIinput.stories.js → TypeaheadIinput.oldstories.js} +0 -0
  90. /package/src/components/atoms/wallet-name/{WalletName.stories.js → WalletName.oldstories.js} +0 -0
  91. /package/src/components/molecules/account-and-routing-modal/{AccountAndRoutingModal.stories.js → AccountAndRoutingModal.oldstories.js} +0 -0
  92. /package/src/components/molecules/address-form/{AddressForm.stories.js → AddressForm.oldstories.js} +0 -0
  93. /package/src/components/molecules/banner/{Banner.stories.js → Banner.oldstories.js} +0 -0
  94. /package/src/components/molecules/change-password-form/{ChangePasswordForm.stories.js → ChangePasswordForm.oldstories.js} +0 -0
  95. /package/src/components/molecules/collapsible-section/{CollapsibleSection.stories.js → CollapsibleSection.oldstories.js} +0 -0
  96. /package/src/components/molecules/edit-name-form/{EdidNameForm.stories.js → EdidNameForm.oldstories.js} +0 -0
  97. /package/src/components/molecules/editable-list/{EditableList.stories.js → EditableList.oldstories.js} +0 -0
  98. /package/src/components/molecules/email-form/{EmailForm.stories.js → EmailForm.oldstories.js} +0 -0
  99. /package/src/components/molecules/forgot-password-form/{ForgotPasswordForm.stories.js → ForgotPasswordForm.oldstories.js} +0 -0
  100. /package/src/components/molecules/highlight-tab-row/{HighlightTabRow.stories.js → HighlightTabRow.oldstories.js} +0 -0
  101. /package/src/components/molecules/link-card/{LinkCard.stories.js → LinkCard.oldstories.js} +0 -0
  102. /package/src/components/molecules/login-form/{LoginForm.stories.js → LoginForm.oldstories.js} +0 -0
  103. /package/src/components/molecules/modal/{Modal.stories.js → Modal.oldstories.js} +0 -0
  104. /package/src/components/molecules/module/{Module.stories.js → Module.oldstories.js} +0 -0
  105. /package/src/components/molecules/obligation/modules/{AmountModule.stories.js → AmountModule.oldstories.js} +0 -0
  106. /package/src/components/molecules/pagination/{Pagination.stories.js → Pagination.oldstories.js} +0 -0
  107. /package/src/components/molecules/payment-button-bar/{PaymentButtonBar.stories.js → PaymentButtonBar.oldstories.js} +0 -0
  108. /package/src/components/molecules/payment-details/{PaymentDetails.stories.js → PaymentDetails.oldstories.js} +0 -0
  109. /package/src/components/molecules/payment-form-ach/{PaymentFormACH.stories.js → PaymentFormACH.oldstories.js} +0 -0
  110. /package/src/components/molecules/payment-form-card/{PaymentFormCard.stories.js → PaymentFormCard.oldstories.js} +0 -0
  111. /package/src/components/molecules/periscope-dashboard-iframe/{PeriscopeDashBoardIframe.stories.js → PeriscopeDashBoardIframe.oldstories.js} +0 -0
  112. /package/src/components/molecules/phone-form/{PhoneForm.stories.js → PhoneForm.oldstories.js} +0 -0
  113. /package/src/components/molecules/popup-menu/{PopupMenu.stories.js → PopupMenu.oldstories.js} +0 -0
  114. /package/src/components/molecules/radio-group/{RadioGroup.stories.js → RadioGroup.oldstories.js} +0 -0
  115. /package/src/components/molecules/radio-section/{RadioSection.stories.js → RadioSection.oldstories.js} +0 -0
  116. /package/src/components/molecules/registration-form/{RegistrationForm.stories.js → RegistrationForm.oldstories.js} +0 -0
  117. /package/src/components/molecules/reset-confirmation-form/{ResetConfirmationForm.stories.js → ResetConfirmationForm.oldstories.js} +0 -0
  118. /package/src/components/molecules/reset-password-form/{ResetPasswordForm.stories.js → ResetPasswordForm.oldstories.js} +0 -0
  119. /package/src/components/molecules/reset-password-success/{ResetPasswordSuccess.stories.js → ResetPasswordSuccess.oldstories.js} +0 -0
  120. /package/src/components/molecules/tab-sidebar/{TabSidebar.stories.js → TabSidebar.oldstories.js} +0 -0
  121. /package/src/components/molecules/tabs/{Tabs.stories.js → Tabs.oldstories.js} +0 -0
  122. /package/src/components/molecules/terms-and-conditions/{TermsAndConditions.stories.js → TermsAndConditions.oldstories.js} +0 -0
  123. /package/src/components/molecules/terms-and-conditions-modal/{TermsAndConditionsModal.stories.js → TermsAndConditionsModal.oldstories.js} +0 -0
  124. /package/src/components/molecules/toast-notification/{ToastNotification.stories.js → ToastNotification.oldstories.js} +0 -0
  125. /package/src/components/molecules/workflow-tile/{WorkflowTile.stories.js → WorkflowTile.oldstories.js} +0 -0
package/dist/index.cjs.js CHANGED
@@ -236,58 +236,6 @@ function __rest(s, e) {
236
236
  t[p[i]] = s[p[i]];
237
237
  }
238
238
  return t;
239
- }
240
-
241
- /*! *****************************************************************************
242
- Copyright (c) Microsoft Corporation.
243
-
244
- Permission to use, copy, modify, and/or distribute this software for any
245
- purpose with or without fee is hereby granted.
246
-
247
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
248
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
249
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
250
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
251
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
252
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
253
- PERFORMANCE OF THIS SOFTWARE.
254
- ***************************************************************************** */
255
- /* global Reflect, Promise */
256
-
257
- var extendStatics$1 = function(d, b) {
258
- extendStatics$1 = Object.setPrototypeOf ||
259
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
260
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
261
- return extendStatics$1(d, b);
262
- };
263
-
264
- function __extends$1(d, b) {
265
- extendStatics$1(d, b);
266
- function __() { this.constructor = d; }
267
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
268
- }
269
-
270
- var __assign$1 = function() {
271
- __assign$1 = Object.assign || function __assign(t) {
272
- for (var s, i = 1, n = arguments.length; i < n; i++) {
273
- s = arguments[i];
274
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
275
- }
276
- return t;
277
- };
278
- return __assign$1.apply(this, arguments);
279
- };
280
-
281
- function __rest$1(s, e) {
282
- var t = {};
283
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
284
- t[p] = s[p];
285
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
286
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
287
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
288
- t[p[i]] = s[p[i]];
289
- }
290
- return t;
291
239
  }
292
240
 
293
241
  function __spreadArrays() {
@@ -298,32 +246,6 @@ function __spreadArrays() {
298
246
  return r;
299
247
  }
300
248
 
301
- /*! *****************************************************************************
302
- Copyright (c) Microsoft Corporation.
303
-
304
- Permission to use, copy, modify, and/or distribute this software for any
305
- purpose with or without fee is hereby granted.
306
-
307
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
308
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
309
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
310
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
311
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
312
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
313
- PERFORMANCE OF THIS SOFTWARE.
314
- ***************************************************************************** */
315
-
316
- var __assign$2 = function() {
317
- __assign$2 = Object.assign || function __assign(t) {
318
- for (var s, i = 1, n = arguments.length; i < n; i++) {
319
- s = arguments[i];
320
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
321
- }
322
- return t;
323
- };
324
- return __assign$2.apply(this, arguments);
325
- };
326
-
327
249
  var clamp = function (min, max) { return function (v) {
328
250
  return Math.max(Math.min(v, max), min);
329
251
  }; };
@@ -337,8 +259,8 @@ var number = {
337
259
  parse: parseFloat,
338
260
  transform: function (v) { return v; }
339
261
  };
340
- var alpha = __assign$2(__assign$2({}, number), { transform: clamp(0, 1) });
341
- var scale = __assign$2(__assign$2({}, number), { default: 1 });
262
+ var alpha = __assign(__assign({}, number), { transform: clamp(0, 1) });
263
+ var scale = __assign(__assign({}, number), { default: 1 });
342
264
 
343
265
  var createUnitType = function (unit) { return ({
344
266
  test: function (v) {
@@ -352,7 +274,7 @@ var percent = createUnitType('%');
352
274
  var px = createUnitType('px');
353
275
  var vh = createUnitType('vh');
354
276
  var vw = createUnitType('vw');
355
- var progressPercentage = __assign$2(__assign$2({}, percent), { parse: function (v) { return percent.parse(v) / 100; }, transform: function (v) { return percent.transform(v * 100); } });
277
+ var progressPercentage = __assign(__assign({}, percent), { parse: function (v) { return percent.parse(v) / 100; }, transform: function (v) { return percent.transform(v * 100); } });
356
278
 
357
279
  var getValueFromFunctionString = function (value) {
358
280
  return value.substring(value.indexOf('(') + 1, value.lastIndexOf(')'));
@@ -386,7 +308,7 @@ var hslaTemplate = function (_a) {
386
308
  var hue = _a.hue, saturation = _a.saturation, lightness = _a.lightness, _b = _a.alpha, alpha = _b === void 0 ? 1 : _b;
387
309
  return "hsla(" + hue + ", " + saturation + ", " + lightness + ", " + alpha + ")";
388
310
  };
389
- var rgbUnit = __assign$2(__assign$2({}, number), { transform: function (v) { return Math.round(clampRgbUnit(v)); } });
311
+ var rgbUnit = __assign(__assign({}, number), { transform: function (v) { return Math.round(clampRgbUnit(v)); } });
390
312
  function isColorString(color, colorType) {
391
313
  return color.startsWith(colorType) && singleColorRegex.test(color);
392
314
  }
@@ -416,7 +338,7 @@ var hsla = {
416
338
  });
417
339
  }
418
340
  };
419
- var hex = __assign$2(__assign$2({}, rgba), { test: function (v) { return typeof v === 'string' && isColorString(v, '#'); }, parse: function (v) {
341
+ var hex = __assign(__assign({}, rgba), { test: function (v) { return typeof v === 'string' && isColorString(v, '#'); }, parse: function (v) {
420
342
  var r = '';
421
343
  var g = '';
422
344
  var b = '';
@@ -952,15 +874,15 @@ See the Apache Version 2.0 License for specific language governing permissions
952
874
  and limitations under the License.
953
875
  ***************************************************************************** */
954
876
 
955
- var __assign$3 = function() {
956
- __assign$3 = Object.assign || function __assign(t) {
877
+ var __assign$1 = function() {
878
+ __assign$1 = Object.assign || function __assign(t) {
957
879
  for (var s, i = 1, n = arguments.length; i < n; i++) {
958
880
  s = arguments[i];
959
881
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
960
882
  }
961
883
  return t;
962
884
  };
963
- return __assign$3.apply(this, arguments);
885
+ return __assign$1.apply(this, arguments);
964
886
  };
965
887
 
966
888
  var mixLinearColor = function (from, to, v) {
@@ -983,7 +905,7 @@ var mixColor = (function (from, to) {
983
905
  invariant(fromColorType.transform === toColorType.transform, 'Both colors must be hex/RGBA, OR both must be HSLA.');
984
906
  var fromColor = fromColorType.parse(from);
985
907
  var toColor = toColorType.parse(to);
986
- var blended = __assign$3({}, fromColor);
908
+ var blended = __assign$1({}, fromColor);
987
909
  var mixFunc = fromColorType === hsla ? mix : mixLinearColor;
988
910
  return function (v) {
989
911
  for (var key in blended) {
@@ -1028,7 +950,7 @@ var mixArray = function (from, to) {
1028
950
  };
1029
951
  };
1030
952
  var mixObject = function (origin, target) {
1031
- var output = __assign$3({}, origin, target);
953
+ var output = __assign$1({}, origin, target);
1032
954
  var blendValue = {};
1033
955
  for (var key in output) {
1034
956
  if (origin[key] !== undefined && target[key] !== undefined) {
@@ -1240,44 +1162,6 @@ var wrap$1 = curryRange(wrap);
1240
1162
 
1241
1163
  var clampProgress = clamp$1$1(0, 1);
1242
1164
 
1243
- /*! *****************************************************************************
1244
- Copyright (c) Microsoft Corporation.
1245
-
1246
- Permission to use, copy, modify, and/or distribute this software for any
1247
- purpose with or without fee is hereby granted.
1248
-
1249
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1250
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1251
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1252
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1253
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1254
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1255
- PERFORMANCE OF THIS SOFTWARE.
1256
- ***************************************************************************** */
1257
-
1258
- var __assign$4 = function() {
1259
- __assign$4 = Object.assign || function __assign(t) {
1260
- for (var s, i = 1, n = arguments.length; i < n; i++) {
1261
- s = arguments[i];
1262
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
1263
- }
1264
- return t;
1265
- };
1266
- return __assign$4.apply(this, arguments);
1267
- };
1268
-
1269
- function __rest$2(s, e) {
1270
- var t = {};
1271
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1272
- t[p] = s[p];
1273
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
1274
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1275
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1276
- t[p[i]] = s[p[i]];
1277
- }
1278
- return t;
1279
- }
1280
-
1281
1165
  var createStyler = function (_a) {
1282
1166
  var onRead = _a.onRead,
1283
1167
  onRender = _a.onRender,
@@ -1289,7 +1173,7 @@ var createStyler = function (_a) {
1289
1173
  if (_a === void 0) {
1290
1174
  _a = {};
1291
1175
  }
1292
- var props = __rest$2(_a, []);
1176
+ var props = __rest(_a, []);
1293
1177
  var state = {};
1294
1178
  var changedValues = [];
1295
1179
  var hasChanged = false;
@@ -1409,7 +1293,7 @@ function isTransformOriginProp(key) {
1409
1293
  return transformOriginProps.has(key);
1410
1294
  }
1411
1295
 
1412
- var int = /*#__PURE__*/__assign$4( /*#__PURE__*/__assign$4({}, number), { transform: Math.round });
1296
+ var int = /*#__PURE__*/__assign( /*#__PURE__*/__assign({}, number), { transform: Math.round });
1413
1297
  var valueTypes = {
1414
1298
  color: color,
1415
1299
  backgroundColor: color,
@@ -1641,8 +1525,8 @@ function createCssStyler(element, _a) {
1641
1525
  }
1642
1526
  var enableHardwareAcceleration = _a.enableHardwareAcceleration,
1643
1527
  allowTransformNone = _a.allowTransformNone,
1644
- props = __rest$2(_a, ["enableHardwareAcceleration", "allowTransformNone"]);
1645
- return cssStyler(__assign$4({ element: element, buildStyles: createStyleBuilder({
1528
+ props = __rest(_a, ["enableHardwareAcceleration", "allowTransformNone"]);
1529
+ return cssStyler(__assign({ element: element, buildStyles: createStyleBuilder({
1646
1530
  enableHardwareAcceleration: enableHardwareAcceleration,
1647
1531
  allowTransformNone: allowTransformNone
1648
1532
  }), preparseOutput: true }, props));
@@ -1692,7 +1576,7 @@ function buildSVGAttrs(_a, dimensions, totalPathLength, cssBuilder, attrs, isDas
1692
1576
  pathSpacing = _b === void 0 ? 1 : _b,
1693
1577
  _c = _a.pathOffset,
1694
1578
  pathOffset = _c === void 0 ? 0 : _c,
1695
- state = __rest$2(_a, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
1579
+ state = __rest(_a, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
1696
1580
  var style = cssBuilder(state);
1697
1581
  for (var key in style) {
1698
1582
  if (key === 'transform') {
@@ -1821,7 +1705,7 @@ var Chainable = /*#__PURE__*/function () {
1821
1705
  this.props = props;
1822
1706
  }
1823
1707
  Chainable.prototype.applyMiddleware = function (middleware) {
1824
- return this.create(__assign$1(__assign$1({}, this.props), { middleware: this.props.middleware ? __spreadArrays([middleware], this.props.middleware) : [middleware] }));
1708
+ return this.create(__assign(__assign({}, this.props), { middleware: this.props.middleware ? __spreadArrays([middleware], this.props.middleware) : [middleware] }));
1825
1709
  };
1826
1710
  Chainable.prototype.pipe = function () {
1827
1711
  var funcs = [];
@@ -1893,7 +1777,7 @@ var createObserver = function (observerCandidate, _a, onComplete) {
1893
1777
  };
1894
1778
 
1895
1779
  var Action = /*#__PURE__*/function (_super) {
1896
- __extends$1(Action, _super);
1780
+ __extends(Action, _super);
1897
1781
  function Action() {
1898
1782
  return _super !== null && _super.apply(this, arguments) || this;
1899
1783
  }
@@ -1912,13 +1796,13 @@ var Action = /*#__PURE__*/function (_super) {
1912
1796
  };
1913
1797
  var _a = this.props,
1914
1798
  init = _a.init,
1915
- observerProps = __rest$1(_a, ["init"]);
1799
+ observerProps = __rest(_a, ["init"]);
1916
1800
  var observer = createObserver(observerCandidate, observerProps, function () {
1917
1801
  isComplete = true;
1918
1802
  subscription.stop();
1919
1803
  });
1920
1804
  var api = init(observer);
1921
- subscription = api ? __assign$1(__assign$1({}, subscription), api) : subscription;
1805
+ subscription = api ? __assign(__assign({}, subscription), api) : subscription;
1922
1806
  if (observerCandidate.registerParent) {
1923
1807
  observerCandidate.registerParent(subscription);
1924
1808
  }
@@ -1932,7 +1816,7 @@ var action = function (init) {
1932
1816
  };
1933
1817
 
1934
1818
  var BaseMulticast = /*#__PURE__*/function (_super) {
1935
- __extends$1(BaseMulticast, _super);
1819
+ __extends(BaseMulticast, _super);
1936
1820
  function BaseMulticast() {
1937
1821
  var _this = _super !== null && _super.apply(this, arguments) || this;
1938
1822
  _this.subscribers = [];
@@ -1992,7 +1876,7 @@ var isSingleValue = function (v) {
1992
1876
  return typeOfV === 'string' || typeOfV === 'number';
1993
1877
  };
1994
1878
  var ValueReaction = /*#__PURE__*/function (_super) {
1995
- __extends$1(ValueReaction, _super);
1879
+ __extends(ValueReaction, _super);
1996
1880
  function ValueReaction(props) {
1997
1881
  var _this = _super.call(this, props) || this;
1998
1882
  _this.scheduleVelocityCheck = function () {
@@ -2242,7 +2126,7 @@ var reduceArrayValue = function (i) {
2242
2126
  var createArrayAction = function (action, props, vectorKeys) {
2243
2127
  var firstVectorKey = vectorKeys[0];
2244
2128
  var actionList = props[firstVectorKey].map(function (v, i) {
2245
- var childActionProps = vectorKeys.reduce(reduceArrayValue(i), __assign$1({}, props));
2129
+ var childActionProps = vectorKeys.reduce(reduceArrayValue(i), __assign({}, props));
2246
2130
  return getActionCreator(v)(action, childActionProps);
2247
2131
  });
2248
2132
  return parallel$1.apply(void 0, actionList);
@@ -2256,7 +2140,7 @@ var reduceObjectValue = function (key) {
2256
2140
  var createObjectAction = function (action, props, vectorKeys) {
2257
2141
  var firstVectorKey = vectorKeys[0];
2258
2142
  var actionMap = Object.keys(props[firstVectorKey]).reduce(function (map, key) {
2259
- var childActionProps = vectorKeys.reduce(reduceObjectValue(key), __assign$1({}, props));
2143
+ var childActionProps = vectorKeys.reduce(reduceObjectValue(key), __assign({}, props));
2260
2144
  map[key] = getActionCreator(props[firstVectorKey][key])(action, childActionProps);
2261
2145
  return map;
2262
2146
  }, {});
@@ -2265,18 +2149,18 @@ var createObjectAction = function (action, props, vectorKeys) {
2265
2149
  var createUnitAction = function (action, _a) {
2266
2150
  var from = _a.from,
2267
2151
  to = _a.to,
2268
- props = __rest$1(_a, ["from", "to"]);
2152
+ props = __rest(_a, ["from", "to"]);
2269
2153
  var unitType = findUnitType(from) || findUnitType(to);
2270
2154
  var transform = unitType.transform,
2271
2155
  parse = unitType.parse;
2272
- return action(__assign$1(__assign$1({}, props), { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
2156
+ return action(__assign(__assign({}, props), { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
2273
2157
  };
2274
2158
  var createMixerAction = function (mixer) {
2275
2159
  return function (action, _a) {
2276
2160
  var from = _a.from,
2277
2161
  to = _a.to,
2278
- props = __rest$1(_a, ["from", "to"]);
2279
- return action(__assign$1(__assign$1({}, props), { from: 0, to: 1 })).pipe(mixer(from, to));
2162
+ props = __rest(_a, ["from", "to"]);
2163
+ return action(__assign(__assign({}, props), { from: 0, to: 1 })).pipe(mixer(from, to));
2280
2164
  };
2281
2165
  };
2282
2166
  var createColorAction = /*#__PURE__*/createMixerAction(mixColor);
@@ -2622,7 +2506,7 @@ var keyframes = function (_a) {
2622
2506
  ease = _b === void 0 ? linear : _b,
2623
2507
  times = _a.times,
2624
2508
  values = _a.values,
2625
- tweenProps = __rest$1(_a, ["easings", "ease", "times", "values"]);
2509
+ tweenProps = __rest(_a, ["easings", "ease", "times", "values"]);
2626
2510
  easings = Array.isArray(easings) ? easings : defaultEasings(values, easings);
2627
2511
  times = times || defaultTimings(values);
2628
2512
  var scrubbers = easings.map(function (easing, i) {
@@ -2632,7 +2516,7 @@ var keyframes = function (_a) {
2632
2516
  ease: easing
2633
2517
  });
2634
2518
  });
2635
- return tween(__assign$1(__assign$1({}, tweenProps), { ease: ease })).applyMiddleware(function (update) {
2519
+ return tween(__assign(__assign({}, tweenProps), { ease: ease })).applyMiddleware(function (update) {
2636
2520
  return interpolateScrubbers(times, scrubbers, update);
2637
2521
  });
2638
2522
  };
@@ -2876,7 +2760,7 @@ var index$1 = function (_a) {
2876
2760
  }
2877
2761
  var x = _a.x,
2878
2762
  y = _a.y,
2879
- props = __rest$1(_a, ["x", "y"]);
2763
+ props = __rest(_a, ["x", "y"]);
2880
2764
  if (x !== undefined || y !== undefined) {
2881
2765
  var applyXOffset_1 = applyOffset(x || 0);
2882
2766
  var applyYOffset_1 = applyOffset(y || 0);
@@ -2950,7 +2834,7 @@ var steps$1 = function (st, min, max) {
2950
2834
  };
2951
2835
  var transformMap = function (childTransformers) {
2952
2836
  return function (v) {
2953
- var output = __assign$1({}, v);
2837
+ var output = __assign({}, v);
2954
2838
  for (var key in childTransformers) {
2955
2839
  if (childTransformers.hasOwnProperty(key)) {
2956
2840
  var childTransformer = childTransformers[key];
@@ -2981,52 +2865,6 @@ var transformers = /*#__PURE__*/Object.freeze({
2981
2865
  transformMap: transformMap
2982
2866
  });
2983
2867
 
2984
- /*! *****************************************************************************
2985
- Copyright (c) Microsoft Corporation.
2986
-
2987
- Permission to use, copy, modify, and/or distribute this software for any
2988
- purpose with or without fee is hereby granted.
2989
-
2990
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2991
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2992
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2993
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2994
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2995
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2996
- PERFORMANCE OF THIS SOFTWARE.
2997
- ***************************************************************************** */
2998
-
2999
- var __assign$5 = function() {
3000
- __assign$5 = Object.assign || function __assign(t) {
3001
- for (var s, i = 1, n = arguments.length; i < n; i++) {
3002
- s = arguments[i];
3003
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
3004
- }
3005
- return t;
3006
- };
3007
- return __assign$5.apply(this, arguments);
3008
- };
3009
-
3010
- function __rest$3(s, e) {
3011
- var t = {};
3012
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3013
- t[p] = s[p];
3014
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
3015
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
3016
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
3017
- t[p[i]] = s[p[i]];
3018
- }
3019
- return t;
3020
- }
3021
-
3022
- function __spreadArrays$1() {
3023
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
3024
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
3025
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
3026
- r[k] = a[j];
3027
- return r;
3028
- }
3029
-
3030
2868
  var getPoseValues = function (_a) {
3031
2869
  var transition = _a.transition,
3032
2870
  flip = _a.flip,
@@ -3039,7 +2877,7 @@ var getPoseValues = function (_a) {
3039
2877
  preTransition = _a.preTransition,
3040
2878
  applyAtStart = _a.applyAtStart,
3041
2879
  applyAtEnd = _a.applyAtEnd,
3042
- props = __rest$3(_a, ["transition", "flip", "delay", "delayChildren", "staggerChildren", "staggerDirection", "afterChildren", "beforeChildren", "preTransition", "applyAtStart", "applyAtEnd"]);
2880
+ props = __rest(_a, ["transition", "flip", "delay", "delayChildren", "staggerChildren", "staggerDirection", "afterChildren", "beforeChildren", "preTransition", "applyAtStart", "applyAtEnd"]);
3043
2881
  return props;
3044
2882
  };
3045
2883
  var selectPoses = function (_a) {
@@ -3051,7 +2889,7 @@ var selectPoses = function (_a) {
3051
2889
  onChange = _a.onChange,
3052
2890
  passive = _a.passive,
3053
2891
  initialPose = _a.initialPose,
3054
- poses = __rest$3(_a, ["label", "props", "values", "parentValues", "ancestorValues", "onChange", "passive", "initialPose"]);
2892
+ poses = __rest(_a, ["label", "props", "values", "parentValues", "ancestorValues", "onChange", "passive", "initialPose"]);
3055
2893
  return poses;
3056
2894
  };
3057
2895
  var selectAllValues = function (values, selectValue) {
@@ -3151,7 +2989,7 @@ var createPoseSetter = function (setterProps) {
3151
2989
  var _a = nextProps.delay,
3152
2990
  delay = _a === void 0 ? 0 : _a;
3153
2991
  var hasChildren = children.size;
3154
- var baseTransitionProps = __assign$5(__assign$5({}, props), nextProps);
2992
+ var baseTransitionProps = __assign(__assign({}, props), nextProps);
3155
2993
  var nextPose = poses[next];
3156
2994
  var getChildAnimations = function () {
3157
2995
  return hasChildren && propagate ? startChildAnimations(children, next, nextPose, baseTransitionProps) : [];
@@ -3177,11 +3015,11 @@ var createPoseSetter = function (setterProps) {
3177
3015
  valuePoses.splice(insertionIndex, 0, next);
3178
3016
  return insertionIndex === 0 ? new Promise(function (complete) {
3179
3017
  var value = values.get(key);
3180
- var transitionProps = __assign$5(__assign$5({}, baseTransitionProps), { key: key,
3018
+ var transitionProps = __assign(__assign({}, baseTransitionProps), { key: key,
3181
3019
  value: value });
3182
3020
  var target = resolveTarget(value, resolveProp(nextPose[key], transitionProps));
3183
3021
  if (activeActions.has(key)) stopAction(activeActions.get(key));
3184
- var resolveTransitionProps = __assign$5(__assign$5({ to: target }, transitionProps), getTransitionProps(value, target, transitionProps));
3022
+ var resolveTransitionProps = __assign(__assign({ to: target }, transitionProps), getTransitionProps(value, target, transitionProps));
3185
3023
  var transition = resolveTransition(getTransition, key, value, resolveTransitionProps, convertTransitionDefinition, getInstantTransition);
3186
3024
  var poseDelay = delay || resolveProp(nextPose.delay, transitionProps);
3187
3025
  if (poseDelay) {
@@ -3205,7 +3043,7 @@ var createPoseSetter = function (setterProps) {
3205
3043
  });
3206
3044
  }
3207
3045
  }
3208
- return Promise.all(__spreadArrays$1(getParentAnimations(), getChildAnimations()));
3046
+ return Promise.all(__spreadArrays(getParentAnimations(), getChildAnimations()));
3209
3047
  };
3210
3048
  };
3211
3049
 
@@ -3331,7 +3169,7 @@ var createValueMap = function (props) {
3331
3169
  };
3332
3170
 
3333
3171
  var applyDefaultTransition = function (pose, key, defaultTransitions) {
3334
- return __assign$5(__assign$5({}, pose), { transition: defaultTransitions.has(key) ? defaultTransitions.get(key) : defaultTransitions.get('default') });
3172
+ return __assign(__assign({}, pose), { transition: defaultTransitions.has(key) ? defaultTransitions.get(key) : defaultTransitions.get('default') });
3335
3173
  };
3336
3174
  var generateTransitions = function (poses, defaultTransitions) {
3337
3175
  Object.keys(poses).forEach(function (key) {
@@ -3385,7 +3223,7 @@ var poseFactory = function (_a) {
3385
3223
  var poses = generateTransitions(selectPoses(config), defaultTransitions);
3386
3224
  var _b = config.props,
3387
3225
  props = _b === void 0 ? {} : _b;
3388
- if (getDefaultProps) props = __assign$5(__assign$5({}, getDefaultProps(config)), props);
3226
+ if (getDefaultProps) props = __assign(__assign({}, getDefaultProps(config)), props);
3389
3227
  var passive = config.passive,
3390
3228
  userSetValues = config.values,
3391
3229
  _c = config.initialPose,
@@ -3460,10 +3298,10 @@ var poseFactory = function (_a) {
3460
3298
  },
3461
3299
  has: has,
3462
3300
  setProps: function (newProps) {
3463
- return state.props = __assign$5(__assign$5({}, state.props), newProps);
3301
+ return state.props = __assign(__assign({}, state.props), newProps);
3464
3302
  },
3465
3303
  _addChild: function (childConfig, factory) {
3466
- var child = factory(__assign$5(__assign$5({ initialPose: initialPose }, childConfig), { ancestorValues: __spreadArrays$1([{ label: config.label, values: values }], ancestorValues) }));
3304
+ var child = factory(__assign(__assign({ initialPose: initialPose }, childConfig), { ancestorValues: __spreadArrays([{ label: config.label, values: values }], ancestorValues) }));
3467
3305
  children.add(child);
3468
3306
  return child;
3469
3307
  },
@@ -3502,18 +3340,18 @@ See the Apache Version 2.0 License for specific language governing permissions
3502
3340
  and limitations under the License.
3503
3341
  ***************************************************************************** */
3504
3342
 
3505
- var __assign$6 = function () {
3506
- __assign$6 = Object.assign || function __assign(t) {
3343
+ var __assign$2 = function () {
3344
+ __assign$2 = Object.assign || function __assign(t) {
3507
3345
  for (var s, i = 1, n = arguments.length; i < n; i++) {
3508
3346
  s = arguments[i];
3509
3347
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
3510
3348
  }
3511
3349
  return t;
3512
3350
  };
3513
- return __assign$6.apply(this, arguments);
3351
+ return __assign$2.apply(this, arguments);
3514
3352
  };
3515
3353
 
3516
- function __rest$4(s, e) {
3354
+ function __rest$1(s, e) {
3517
3355
  var t = {};
3518
3356
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
3519
3357
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -3630,12 +3468,12 @@ var intelligentTransition = {
3630
3468
  opacity: linearTween,
3631
3469
  default: tween
3632
3470
  };
3633
- 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) });
3471
+ 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) });
3634
3472
  var justAxis = function (_a) {
3635
3473
  var from = _a.from;
3636
3474
  return just(from);
3637
3475
  };
3638
- var intelligentDragEnd = /*#__PURE__*/__assign$6( /*#__PURE__*/__assign$6({}, intelligentTransition), { x: justAxis, y: justAxis });
3476
+ var intelligentDragEnd = /*#__PURE__*/__assign$2( /*#__PURE__*/__assign$2({}, intelligentTransition), { x: justAxis, y: justAxis });
3639
3477
  var defaultTransitions = /*#__PURE__*/new Map([['default', intelligentTransition], ['drag', dragAction], ['dragEnd', intelligentDragEnd]]);
3640
3478
 
3641
3479
  var animationLookup = {
@@ -3705,7 +3543,7 @@ var getAction = function (v, _a, _b) {
3705
3543
  var _c = _a.type,
3706
3544
  type = _c === void 0 ? 'tween' : _c,
3707
3545
  definedEase = _a.ease,
3708
- def = __rest$4(_a, ["type", "ease"]);
3546
+ def = __rest$1(_a, ["type", "ease"]);
3709
3547
  invariant(animationLookup[type] !== undefined, "Invalid transition type '" + type + "'. Valid transition types are: tween, spring, decay, physics and keyframes.");
3710
3548
  var ease;
3711
3549
  if (type === 'tween') {
@@ -3730,7 +3568,7 @@ var getAction = function (v, _a, _b) {
3730
3568
  velocity: velocity,
3731
3569
  ease: ease
3732
3570
  } : { ease: ease };
3733
- return animationLookup[type](__assign$6(__assign$6({}, baseProps), def));
3571
+ return animationLookup[type](__assign$2(__assign$2({}, baseProps), def));
3734
3572
  };
3735
3573
  var isAction = function (action$$1) {
3736
3574
  return typeof action$$1.start !== 'undefined';
@@ -3815,7 +3653,7 @@ var pose = function (_a) {
3815
3653
  min = def.min,
3816
3654
  max = def.max,
3817
3655
  round = def.round,
3818
- remainingDef = __rest$4(def, ["delay", "min", "max", "round"]);
3656
+ remainingDef = __rest$1(def, ["delay", "min", "max", "round"]);
3819
3657
  var action$$1 = getAction(val, remainingDef, props);
3820
3658
  var outputPipe = [];
3821
3659
  if (delay$$1) action$$1 = addActionDelay(delay$$1, action$$1);
@@ -3997,7 +3835,7 @@ var explicitlyFlipPose = function (state, nextPose) {
3997
3835
  bottom = nextPose.bottom,
3998
3836
  right = nextPose.right,
3999
3837
  position = nextPose.position,
4000
- remainingPose = __rest$4(nextPose, ["width", "height", "top", "left", "bottom", "right", "position"]);
3838
+ remainingPose = __rest$1(nextPose, ["width", "height", "top", "left", "bottom", "right", "position"]);
4001
3839
  var propsToSet = positionalProps.concat('position').reduce(function (acc, key) {
4002
3840
  if (nextPose[key] !== undefined) {
4003
3841
  acc[key] = resolveProp$1(nextPose[key], state.props);
@@ -4109,7 +3947,7 @@ var convertPositionalUnits = function (state, nextPose) {
4109
3947
  changedPositionalKeys.push(key);
4110
3948
  if (!applyAtEndHasBeenCopied) {
4111
3949
  applyAtEndHasBeenCopied = true;
4112
- nextPose.applyAtEnd = nextPose.applyAtEnd ? __assign$6({}, nextPose.applyAtEnd) : {};
3950
+ nextPose.applyAtEnd = nextPose.applyAtEnd ? __assign$2({}, nextPose.applyAtEnd) : {};
4113
3951
  }
4114
3952
  nextPose.applyAtEnd[key] = nextPose.applyAtEnd[key] || nextPose[key];
4115
3953
  setValue(state, key, to);
@@ -4165,8 +4003,8 @@ var createPoseConfig = function (element, _a) {
4165
4003
  focusable = _a.focusable,
4166
4004
  pressable = _a.pressable,
4167
4005
  dragBounds = _a.dragBounds,
4168
- config = __rest$4(_a, ["onDragStart", "onDragEnd", "onPressStart", "onPressEnd", "draggable", "hoverable", "focusable", "pressable", "dragBounds"]);
4169
- var poseConfig = __assign$6(__assign$6({ flip: {} }, config), { props: __assign$6(__assign$6({}, config.props), { onDragStart: onDragStart,
4006
+ config = __rest$1(_a, ["onDragStart", "onDragEnd", "onPressStart", "onPressEnd", "draggable", "hoverable", "focusable", "pressable", "dragBounds"]);
4007
+ var poseConfig = __assign$2(__assign$2({ flip: {} }, config), { props: __assign$2(__assign$2({}, config.props), { onDragStart: onDragStart,
4170
4008
  onDragEnd: onDragEnd,
4171
4009
  onPressStart: onPressStart,
4172
4010
  onPressEnd: onPressEnd,
@@ -4180,8 +4018,8 @@ var createPoseConfig = function (element, _a) {
4180
4018
  var _b = dragPoses(draggable),
4181
4019
  drag = _b.drag,
4182
4020
  dragEnd = _b.dragEnd;
4183
- poseConfig.drag = __assign$6(__assign$6({}, drag), poseConfig.drag);
4184
- poseConfig.dragEnd = __assign$6(__assign$6({}, dragEnd), poseConfig.dragEnd);
4021
+ poseConfig.drag = __assign$2(__assign$2({}, drag), poseConfig.drag);
4022
+ poseConfig.dragEnd = __assign$2(__assign$2({}, dragEnd), poseConfig.dragEnd);
4185
4023
  }
4186
4024
  return poseConfig;
4187
4025
  };
@@ -4189,7 +4027,7 @@ var domPose = /*#__PURE__*/pose({
4189
4027
  posePriority: ['drag', 'press', 'focus', 'hover'],
4190
4028
  transformPose: function (_a, name, state) {
4191
4029
  var flip = _a.flip,
4192
- pose$$1 = __rest$4(_a, ["flip"]);
4030
+ pose$$1 = __rest$1(_a, ["flip"]);
4193
4031
  if (isFlipPose(flip, name, state)) {
4194
4032
  return flipPose(state, pose$$1);
4195
4033
  } else if (isPositional(pose$$1)) {
@@ -4227,7 +4065,7 @@ var domPose = /*#__PURE__*/pose({
4227
4065
  var props = _a.props,
4228
4066
  activeActions = _a.activeActions;
4229
4067
  var measure = props.dimensions.measure;
4230
- var poserApi = __assign$6(__assign$6({}, api), { addChild: function (element, childConfig) {
4068
+ var poserApi = __assign$2(__assign$2({}, api), { addChild: function (element, childConfig) {
4231
4069
  return api._addChild(createPoseConfig(element, childConfig), domPose);
4232
4070
  }, measure: measure, flip: function (op) {
4233
4071
  if (op) {
@@ -4937,18 +4775,6 @@ var SPACING = {
4937
4775
  // Figma: Spacing/XS
4938
4776
  MD: "1.5rem" // Figma: Spacing/Normal
4939
4777
  };
4940
- var SCREEN_READER_ONLY = {
4941
- border: 0,
4942
- clip: "rect(0 0 0 0)",
4943
- clipPath: "inset(50%)",
4944
- height: "1px",
4945
- margin: "-1px",
4946
- overflow: "hidden",
4947
- padding: 0,
4948
- position: "absolute",
4949
- width: "1px",
4950
- whiteSpace: "nowrap"
4951
- };
4952
4778
 
4953
4779
  var style_constants = /*#__PURE__*/Object.freeze({
4954
4780
  __proto__: null,
@@ -4964,8 +4790,7 @@ var style_constants = /*#__PURE__*/Object.freeze({
4964
4790
  JUMBO_HEIGHT: JUMBO_HEIGHT,
4965
4791
  SPACER_HEIGHT: SPACER_HEIGHT,
4966
4792
  LINK_TEXT_DECORATION: LINK_TEXT_DECORATION,
4967
- SPACING: SPACING,
4968
- SCREEN_READER_ONLY: SCREEN_READER_ONLY
4793
+ SPACING: SPACING
4969
4794
  });
4970
4795
 
4971
4796
  /*
@@ -7253,104 +7078,6 @@ var Imposter = function Imposter(_ref) {
7253
7078
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
7254
7079
  };
7255
7080
 
7256
- /*! *****************************************************************************
7257
- Copyright (c) Microsoft Corporation.
7258
-
7259
- Permission to use, copy, modify, and/or distribute this software for any
7260
- purpose with or without fee is hereby granted.
7261
-
7262
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
7263
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
7264
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
7265
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
7266
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
7267
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
7268
- PERFORMANCE OF THIS SOFTWARE.
7269
- ***************************************************************************** */
7270
- /* global Reflect, Promise */
7271
-
7272
- var extendStatics$2 = function(d, b) {
7273
- extendStatics$2 = Object.setPrototypeOf ||
7274
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7275
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7276
- return extendStatics$2(d, b);
7277
- };
7278
-
7279
- function __extends$2(d, b) {
7280
- extendStatics$2(d, b);
7281
- function __() { this.constructor = d; }
7282
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7283
- }
7284
-
7285
- var __assign$7 = function() {
7286
- __assign$7 = Object.assign || function __assign(t) {
7287
- for (var s, i = 1, n = arguments.length; i < n; i++) {
7288
- s = arguments[i];
7289
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7290
- }
7291
- return t;
7292
- };
7293
- return __assign$7.apply(this, arguments);
7294
- };
7295
-
7296
- function __rest$5(s, e) {
7297
- var t = {};
7298
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
7299
- t[p] = s[p];
7300
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7301
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7302
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
7303
- t[p[i]] = s[p[i]];
7304
- }
7305
- return t;
7306
- }
7307
-
7308
- function __spreadArrays$2() {
7309
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
7310
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
7311
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
7312
- r[k] = a[j];
7313
- return r;
7314
- }
7315
-
7316
- /*! *****************************************************************************
7317
- Copyright (c) Microsoft Corporation.
7318
-
7319
- Permission to use, copy, modify, and/or distribute this software for any
7320
- purpose with or without fee is hereby granted.
7321
-
7322
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
7323
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
7324
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
7325
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
7326
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
7327
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
7328
- PERFORMANCE OF THIS SOFTWARE.
7329
- ***************************************************************************** */
7330
-
7331
- var __assign$8 = function() {
7332
- __assign$8 = Object.assign || function __assign(t) {
7333
- for (var s, i = 1, n = arguments.length; i < n; i++) {
7334
- s = arguments[i];
7335
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7336
- }
7337
- return t;
7338
- };
7339
- return __assign$8.apply(this, arguments);
7340
- };
7341
-
7342
- function __rest$6(s, e) {
7343
- var t = {};
7344
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
7345
- t[p] = s[p];
7346
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7347
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7348
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
7349
- t[p[i]] = s[p[i]];
7350
- }
7351
- return t;
7352
- }
7353
-
7354
7081
  var Observer$1 = /*#__PURE__*/function () {
7355
7082
  function Observer(_a, observer) {
7356
7083
  var _this = this;
@@ -7413,18 +7140,18 @@ var Action$1 = /*#__PURE__*/function () {
7413
7140
  };
7414
7141
  var _a = this.props,
7415
7142
  init = _a.init,
7416
- observerProps = __rest$6(_a, ["init"]);
7143
+ observerProps = __rest(_a, ["init"]);
7417
7144
  var observer = createObserver$1(observerCandidate, observerProps, function () {
7418
7145
  isComplete = true;
7419
7146
  subscription.stop();
7420
7147
  });
7421
7148
  var api = init(observer);
7422
- subscription = api ? __assign$8({}, subscription, api) : subscription;
7149
+ subscription = api ? __assign({}, subscription, api) : subscription;
7423
7150
  if (isComplete) subscription.stop();
7424
7151
  return subscription;
7425
7152
  };
7426
7153
  Action.prototype.applyMiddleware = function (middleware) {
7427
- return this.create(__assign$8({}, this.props, { middleware: this.props.middleware ? [middleware].concat(this.props.middleware) : [middleware] }));
7154
+ return this.create(__assign({}, this.props, { middleware: this.props.middleware ? [middleware].concat(this.props.middleware) : [middleware] }));
7428
7155
  };
7429
7156
  Action.prototype.pipe = function () {
7430
7157
  var funcs = [];
@@ -7477,18 +7204,18 @@ var createAction$1 = function (action, props) {
7477
7204
  var createUnitAction$1 = function (action, _a) {
7478
7205
  var from = _a.from,
7479
7206
  to = _a.to,
7480
- props = __rest$6(_a, ["from", "to"]);
7207
+ props = __rest(_a, ["from", "to"]);
7481
7208
  var unitType = findUnitType$1(from) || findUnitType$1(to);
7482
7209
  var transform = unitType.transform,
7483
7210
  parse = unitType.parse;
7484
- return action(__assign$8({}, props, { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
7211
+ return action(__assign({}, props, { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
7485
7212
  };
7486
7213
  var createMixerAction$1 = function (mixer) {
7487
7214
  return function (action, _a) {
7488
7215
  var from = _a.from,
7489
7216
  to = _a.to,
7490
- props = __rest$6(_a, ["from", "to"]);
7491
- return action(__assign$8({}, props, { from: 0, to: 1 })).pipe(mixer(from, to));
7217
+ props = __rest(_a, ["from", "to"]);
7218
+ return action(__assign({}, props, { from: 0, to: 1 })).pipe(mixer(from, to));
7492
7219
  };
7493
7220
  };
7494
7221
  var createColorAction$1 = /*#__PURE__*/createMixerAction$1(mixColor);
@@ -7701,7 +7428,7 @@ var inertia = function (_a) {
7701
7428
  };
7702
7429
  var startSpring = function (props) {
7703
7430
  isSpring = true;
7704
- startAnimation(vectorSpring$1(__assign$8({}, props, { to: isLessThanMin(props.from) ? min : max, stiffness: bounceStiffness, damping: bounceDamping, restDelta: restDelta })));
7431
+ startAnimation(vectorSpring$1(__assign({}, props, { to: isLessThanMin(props.from) ? min : max, stiffness: bounceStiffness, damping: bounceDamping, restDelta: restDelta })));
7705
7432
  };
7706
7433
  if (isOutOfBounds(from)) {
7707
7434
  startSpring({ from: from, velocity: velocity });
@@ -7933,7 +7660,7 @@ var keyframes$1 = function (_a) {
7933
7660
  ease = _b === void 0 ? linear : _b,
7934
7661
  times = _a.times,
7935
7662
  values = _a.values,
7936
- tweenProps = __rest$6(_a, ["easings", "ease", "times", "values"]);
7663
+ tweenProps = __rest(_a, ["easings", "ease", "times", "values"]);
7937
7664
  easings = Array.isArray(easings) ? easings : defaultEasings$1(values, easings);
7938
7665
  times = times || defaultTimings$1(values);
7939
7666
  var scrubbers = easings.map(function (easing, i) {
@@ -7943,7 +7670,7 @@ var keyframes$1 = function (_a) {
7943
7670
  ease: easing
7944
7671
  });
7945
7672
  });
7946
- return tween$1(__assign$8({}, tweenProps, { ease: ease })).applyMiddleware(function (update) {
7673
+ return tween$1(__assign({}, tweenProps, { ease: ease })).applyMiddleware(function (update) {
7947
7674
  return interpolateScrubbers$1(times, scrubbers, update);
7948
7675
  });
7949
7676
  };
@@ -8145,7 +7872,7 @@ var MotionValue = /** @class */ (function () {
8145
7872
  */
8146
7873
  MotionValue.prototype.addChild = function (config) {
8147
7874
  if (config === void 0) { config = {}; }
8148
- var child = new MotionValue(this.current, __assign$7({ parent: this }, config));
7875
+ var child = new MotionValue(this.current, __assign({ parent: this }, config));
8149
7876
  if (!this.children)
8150
7877
  this.children = new Set();
8151
7878
  this.children.add(child);
@@ -8587,7 +8314,7 @@ var buildStyleAttr = function (values, styleProp, isStatic) {
8587
8314
  ? transformTemplate({}, styleProp.transform)
8588
8315
  : transformTemplate;
8589
8316
  }
8590
- return buildStyleProperty(__assign$7(__assign$7({}, styleProp), motionValueStyles), !isStatic);
8317
+ return buildStyleProperty(__assign(__assign({}, styleProp), motionValueStyles), !isStatic);
8591
8318
  };
8592
8319
  var useMotionStyles = function (values, styleProp, isStatic, transformValues) {
8593
8320
  if (styleProp === void 0) { styleProp = {}; }
@@ -8641,7 +8368,7 @@ var auto$1 = {
8641
8368
  parse: function (v) { return v; },
8642
8369
  };
8643
8370
  var dimensionTypes = [number, px, percent, degrees, vw, vh, auto$1];
8644
- var valueTypes$1 = __spreadArrays$2(dimensionTypes, [color, complex]);
8371
+ var valueTypes$1 = __spreadArrays(dimensionTypes, [color, complex]);
8645
8372
  var testValueType$1 = function (v) { return function (type) { return type.test(v); }; };
8646
8373
  var getDimensionValueType = function (v) {
8647
8374
  return dimensionTypes.find(testValueType$1(v));
@@ -8694,7 +8421,7 @@ var getDefaultTransition = function (valueKey, to) {
8694
8421
  transitionFactory =
8695
8422
  defaultTransitions$1[valueKey] || defaultTransitions$1.default;
8696
8423
  }
8697
- return __assign$7({ to: to }, transitionFactory(to));
8424
+ return __assign({ to: to }, transitionFactory(to));
8698
8425
  };
8699
8426
 
8700
8427
  /**
@@ -8790,9 +8517,9 @@ var transitionOptionParser = {
8790
8517
  return opts;
8791
8518
  },
8792
8519
  keyframes: function (_a) {
8793
- var from = _a.from, to = _a.to, velocity = _a.velocity, opts = __rest$5(_a, ["from", "to", "velocity"]);
8520
+ var from = _a.from, to = _a.to, velocity = _a.velocity, opts = __rest(_a, ["from", "to", "velocity"]);
8794
8521
  if (opts.values && opts.values[0] === null) {
8795
- var values = __spreadArrays$2(opts.values);
8522
+ var values = __spreadArrays(opts.values);
8796
8523
  values[0] = from;
8797
8524
  opts.values = values;
8798
8525
  }
@@ -8806,7 +8533,7 @@ var transitionOptionParser = {
8806
8533
  },
8807
8534
  };
8808
8535
  var isTransitionDefined = function (_a) {
8809
- 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"]);
8536
+ var when = _a.when, delay = _a.delay, delayChildren = _a.delayChildren, staggerChildren = _a.staggerChildren, staggerDirection = _a.staggerDirection, transition = __rest(_a, ["when", "delay", "delayChildren", "staggerChildren", "staggerDirection"]);
8810
8537
  return Object.keys(transition).length;
8811
8538
  };
8812
8539
  var getTransitionDefinition = function (key, to, transitionDefinition) {
@@ -8816,7 +8543,7 @@ var getTransitionDefinition = function (key, to, transitionDefinition) {
8816
8543
  // and see if there's any props remaining
8817
8544
  if (transitionDefinition === undefined ||
8818
8545
  !isTransitionDefined(transitionDefinition)) {
8819
- return __assign$7({ delay: delay }, getDefaultTransition(key, to));
8546
+ return __assign({ delay: delay }, getDefaultTransition(key, to));
8820
8547
  }
8821
8548
  var valueTransitionDefinition = transitionDefinition[key] ||
8822
8549
  transitionDefinition.default ||
@@ -8833,12 +8560,12 @@ var getTransitionDefinition = function (key, to, transitionDefinition) {
8833
8560
  };
8834
8561
  }
8835
8562
  else if (isKeyframesTarget(to)) {
8836
- return __assign$7(__assign$7({ values: to, duration: 0.8, delay: delay, ease: "linear" }, valueTransitionDefinition), {
8563
+ return __assign(__assign({ values: to, duration: 0.8, delay: delay, ease: "linear" }, valueTransitionDefinition), {
8837
8564
  // This animation must be keyframes if we're animating through an array
8838
8565
  type: "keyframes" });
8839
8566
  }
8840
8567
  else {
8841
- return __assign$7({ type: "tween", to: to,
8568
+ return __assign({ type: "tween", to: to,
8842
8569
  delay: delay }, valueTransitionDefinition);
8843
8570
  }
8844
8571
  };
@@ -8855,12 +8582,12 @@ var getAnimation = function (key, value, target, transition) {
8855
8582
  // for instance 100 to #fff. This might live better in Popmotion.
8856
8583
  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.");
8857
8584
  // Parse the `transition` prop and return options for the Popmotion animation
8858
- var _a = getTransitionDefinition(key, target, transition), _b = _a.type, type = _b === void 0 ? "tween" : _b, transitionDefinition = __rest$5(_a, ["type"]);
8585
+ var _a = getTransitionDefinition(key, target, transition), _b = _a.type, type = _b === void 0 ? "tween" : _b, transitionDefinition = __rest(_a, ["type"]);
8859
8586
  // If this is an animatable pair of values, return an animation, otherwise use `just`
8860
8587
  var actionFactory = isOriginAnimatable && isTargetAnimatable
8861
8588
  ? transitions[type]
8862
8589
  : just$1;
8863
- var opts = preprocessOptions(type, __assign$7({ from: origin, velocity: value.getVelocity() }, transitionDefinition));
8590
+ var opts = preprocessOptions(type, __assign({ from: origin, velocity: value.getVelocity() }, transitionDefinition));
8864
8591
  // Convert duration from Framer Motion's seconds into Popmotion's milliseconds
8865
8592
  if (isDurationAnimation(opts)) {
8866
8593
  if (opts.duration) {
@@ -8878,10 +8605,10 @@ var getAnimation = function (key, value, target, transition) {
8878
8605
  * @internal
8879
8606
  */
8880
8607
  function startAnimation(key, value, target, _a) {
8881
- var _b = _a.delay, delay$1$1 = _b === void 0 ? 0 : _b, transition = __rest$5(_a, ["delay"]);
8608
+ var _b = _a.delay, delay$1$1 = _b === void 0 ? 0 : _b, transition = __rest(_a, ["delay"]);
8882
8609
  return value.start(function (complete) {
8883
8610
  var activeAnimation;
8884
- var _a = getAnimation(key, value, target, transition), animationFactory = _a[0], _b = _a[1], valueDelay = _b.delay, options = __rest$5(_b, ["delay"]);
8611
+ var _a = getAnimation(key, value, target, transition), animationFactory = _a[0], _b = _a[1], valueDelay = _b.delay, options = __rest(_b, ["delay"]);
8885
8612
  if (valueDelay !== undefined) {
8886
8613
  delay$1$1 = valueDelay;
8887
8614
  }
@@ -9027,7 +8754,7 @@ var ValueAnimationControls = /** @class */ (function () {
9027
8754
  var _this = this;
9028
8755
  var _b = _a === void 0 ? {} : _a, _c = _b.isActive, isActive = _c === void 0 ? new Set() : _c, priority = _b.priority;
9029
8756
  var _d = this.resolveVariant(definition), target = _d.target, transitionEnd = _d.transitionEnd;
9030
- target = this.transformValues(__assign$7(__assign$7({}, target), transitionEnd));
8757
+ target = this.transformValues(__assign(__assign({}, target), transitionEnd));
9031
8758
  return Object.keys(target).forEach(function (key) {
9032
8759
  if (isActive.has(key))
9033
8760
  return;
@@ -9117,7 +8844,7 @@ var ValueAnimationControls = /** @class */ (function () {
9117
8844
  // resolve current and velocity
9118
8845
  variant = variant(this.props.custom, getCurrent$1(this.values), getVelocity(this.values));
9119
8846
  }
9120
- var _a = variant.transition, transition = _a === void 0 ? this.defaultTransition : _a, transitionEnd = variant.transitionEnd, target = __rest$5(variant, ["transition", "transitionEnd"]);
8847
+ var _a = variant.transition, transition = _a === void 0 ? this.defaultTransition : _a, transitionEnd = variant.transitionEnd, target = __rest(variant, ["transition", "transitionEnd"]);
9121
8848
  return { transition: transition, transitionEnd: transitionEnd, target: target };
9122
8849
  };
9123
8850
  /**
@@ -9208,7 +8935,7 @@ var ValueAnimationControls = /** @class */ (function () {
9208
8935
  ValueAnimationControls.prototype.applyVariantLabels = function (variantLabelList) {
9209
8936
  var _this = this;
9210
8937
  var isActive = new Set();
9211
- var reversedList = __spreadArrays$2(variantLabelList).reverse();
8938
+ var reversedList = __spreadArrays(variantLabelList).reverse();
9212
8939
  reversedList.forEach(function (key) {
9213
8940
  var _a = _this.resolveVariant(_this.variants[key]), target = _a.target, transitionEnd = _a.transitionEnd;
9214
8941
  if (transitionEnd) {
@@ -9279,7 +9006,7 @@ var ValueAnimationControls = /** @class */ (function () {
9279
9006
  if (this.isAnimating.has(key))
9280
9007
  continue;
9281
9008
  this.isAnimating.add(key);
9282
- animations.push(startAnimation(key, value, valueTarget, __assign$7({ delay: delay }, transition)));
9009
+ animations.push(startAnimation(key, value, valueTarget, __assign({ delay: delay }, transition)));
9283
9010
  }
9284
9011
  var allAnimations = Promise.all(animations);
9285
9012
  return transitionEnd
@@ -9290,7 +9017,7 @@ var ValueAnimationControls = /** @class */ (function () {
9290
9017
  };
9291
9018
  ValueAnimationControls.prototype.animateVariantLabels = function (variantLabels, opts) {
9292
9019
  var _this = this;
9293
- var animations = __spreadArrays$2(variantLabels).reverse()
9020
+ var animations = __spreadArrays(variantLabels).reverse()
9294
9021
  .map(function (label) { return _this.animateVariant(label, opts); });
9295
9022
  return Promise.all(animations);
9296
9023
  };
@@ -9734,7 +9461,7 @@ function useValueAnimationControls(config, props, subscribeToParentControls) {
9734
9461
  // Remove reference to onAnimationComplete from controls. All the MotionValues
9735
9462
  // are unsubscribed from this component separately. We let animations run out
9736
9463
  // as they might be animating other components.
9737
- var onAnimationComplete = props.onAnimationComplete, unmountProps = __rest$5(props, ["onAnimationComplete"]);
9464
+ var onAnimationComplete = props.onAnimationComplete, unmountProps = __rest(props, ["onAnimationComplete"]);
9738
9465
  controls.setProps(unmountProps);
9739
9466
  parentControls && parentControls.removeChild(controls);
9740
9467
  };
@@ -10219,7 +9946,7 @@ var PanSession = /** @class */ (function () {
10219
9946
  return;
10220
9947
  var point = info.point;
10221
9948
  var timestamp = getFrameData().timestamp;
10222
- _this.history.push(__assign$7(__assign$7({}, point), { timestamp: timestamp }));
9949
+ _this.history.push(__assign(__assign({}, point), { timestamp: timestamp }));
10223
9950
  var _a = _this.handlers, onStart = _a.onStart, onMove = _a.onMove;
10224
9951
  if (!isPanStarted) {
10225
9952
  onStart && onStart(_this.lastMoveEvent, info);
@@ -10236,7 +9963,7 @@ var PanSession = /** @class */ (function () {
10236
9963
  var initialInfo = transformPoint(info, this.transformPagePoint);
10237
9964
  var point = initialInfo.point;
10238
9965
  var timestamp = getFrameData().timestamp;
10239
- this.history = [__assign$7(__assign$7({}, point), { timestamp: timestamp })];
9966
+ this.history = [__assign(__assign({}, point), { timestamp: timestamp })];
10240
9967
  var onSessionStart = handlers.onSessionStart;
10241
9968
  onSessionStart &&
10242
9969
  onSessionStart(event, getPanInfo(initialInfo, this.history));
@@ -10564,7 +10291,7 @@ var Gestures = {
10564
10291
  return gestureProps.some(function (key) { return props.hasOwnProperty(key); });
10565
10292
  },
10566
10293
  Component: makeRenderlessComponent(function (_a) {
10567
- var innerRef = _a.innerRef, props = __rest$5(_a, ["innerRef"]);
10294
+ var innerRef = _a.innerRef, props = __rest(_a, ["innerRef"]);
10568
10295
  useGestures(props, innerRef);
10569
10296
  }),
10570
10297
  };
@@ -10804,8 +10531,8 @@ var ComponentDragControls = /** @class */ (function () {
10804
10531
  };
10805
10532
  ComponentDragControls.prototype.updateProps = function (_a) {
10806
10533
  var _this = this;
10807
- 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"]);
10808
- this.props = __assign$7({ drag: drag,
10534
+ 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"]);
10535
+ this.props = __assign({ drag: drag,
10809
10536
  dragDirectionLock: dragDirectionLock,
10810
10537
  dragPropagation: dragPropagation,
10811
10538
  dragConstraints: dragConstraints,
@@ -10861,7 +10588,7 @@ var ComponentDragControls = /** @class */ (function () {
10861
10588
  var bounceStiffness = dragElastic ? 200 : 1000000;
10862
10589
  var bounceDamping = dragElastic ? 40 : 10000000;
10863
10590
  var animationControls = _dragTransitionControls || _this.controls;
10864
- var inertia = __assign$7(__assign$7({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness: bounceStiffness,
10591
+ var inertia = __assign(__assign({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness: bounceStiffness,
10865
10592
  bounceDamping: bounceDamping, timeConstant: 750, restDelta: 1 }, dragTransition), transition);
10866
10593
  var externalAxisMotionValue = axis === "x" ? _dragValueX : _dragValueY;
10867
10594
  // If we're not animating on an externally-provided `MotionValue` we can use the
@@ -10942,7 +10669,7 @@ function bothAxis(handler) {
10942
10669
  return [handler("x"), handler("y")];
10943
10670
  }
10944
10671
  function convertPanToDrag(info, point) {
10945
- return __assign$7(__assign$7({}, info), { point: {
10672
+ return __assign(__assign({}, info), { point: {
10946
10673
  x: point.x ? point.x.get() : 0,
10947
10674
  y: point.y ? point.y.get() : 0,
10948
10675
  } });
@@ -11053,7 +10780,7 @@ function useDrag(props, ref, values, controls) {
11053
10780
  var groupDragControls = props.dragControls;
11054
10781
  var transformPagePoint = React.useContext(MotionPluginContext).transformPagePoint;
11055
10782
  var dragControls = useConstant(function () { return new ComponentDragControls({ ref: ref, values: values, controls: controls }); });
11056
- dragControls.updateProps(__assign$7(__assign$7({}, props), { transformPagePoint: transformPagePoint }));
10783
+ dragControls.updateProps(__assign(__assign({}, props), { transformPagePoint: transformPagePoint }));
11057
10784
  React.useEffect(function () { return groupDragControls && groupDragControls.subscribe(dragControls); }, [dragControls]);
11058
10785
  React.useEffect(function () { return dragControls.mount(ref.current); }, []);
11059
10786
  }
@@ -11062,7 +10789,7 @@ var Drag = {
11062
10789
  key: "drag",
11063
10790
  shouldRender: function (props) { return !!props.drag; },
11064
10791
  Component: makeRenderlessComponent(function (_a) {
11065
- var innerRef = _a.innerRef, values = _a.values, controls = _a.controls, props = __rest$5(_a, ["innerRef", "values", "controls"]);
10792
+ var innerRef = _a.innerRef, values = _a.values, controls = _a.controls, props = __rest(_a, ["innerRef", "values", "controls"]);
11066
10793
  return useDrag(props, innerRef, values, controls);
11067
10794
  }),
11068
10795
  };
@@ -11114,14 +10841,14 @@ function getVariableValue(current, element, depth) {
11114
10841
  * @internal
11115
10842
  */
11116
10843
  function resolveCSSVariables(values, ref, _a, transitionEnd) {
11117
- var target = __rest$5(_a, []);
10844
+ var target = __rest(_a, []);
11118
10845
  var element = ref.current;
11119
10846
  if (!(element instanceof HTMLElement))
11120
10847
  return { target: target, transitionEnd: transitionEnd };
11121
10848
  // If `transitionEnd` isn't `undefined`, clone it. We could clone `target` and `transitionEnd`
11122
10849
  // only if they change but I think this reads clearer and this isn't a performance-critical path.
11123
10850
  if (transitionEnd) {
11124
- transitionEnd = __assign$7({}, transitionEnd);
10851
+ transitionEnd = __assign({}, transitionEnd);
11125
10852
  }
11126
10853
  // Go through existing `MotionValue`s and ensure any existing CSS variables are resolved
11127
10854
  values.forEach(function (value) {
@@ -11278,8 +11005,8 @@ var convertChangedValueTypes = function (target, values, element, elementStyler,
11278
11005
  };
11279
11006
  var checkAndConvertChangedValueTypes = function (values, ref, target, transitionEnd) {
11280
11007
  if (transitionEnd === void 0) { transitionEnd = {}; }
11281
- target = __assign$7({}, target);
11282
- transitionEnd = __assign$7({}, transitionEnd);
11008
+ target = __assign({}, target);
11009
+ transitionEnd = __assign({}, transitionEnd);
11283
11010
  var element = ref.current;
11284
11011
  var elementStyler = index(element);
11285
11012
  var targetPositionalKeys = Object.keys(target).filter(isPositionalKey$1);
@@ -11507,7 +11234,7 @@ function calcAxisDelta(prev, next, names) {
11507
11234
  return delta;
11508
11235
  }
11509
11236
  function calcDelta(prev, next) {
11510
- var delta = __assign$7(__assign$7({}, calcAxisDelta(prev, next, axisLabels.x)), calcAxisDelta(prev, next, axisLabels.y));
11237
+ var delta = __assign(__assign({}, calcAxisDelta(prev, next, axisLabels.x)), calcAxisDelta(prev, next, axisLabels.y));
11511
11238
  return delta;
11512
11239
  }
11513
11240
  var offset = {
@@ -11551,7 +11278,7 @@ function getTransition(_a) {
11551
11278
  return layoutTransition || positionTransition;
11552
11279
  }
11553
11280
  var LayoutAnimation = /** @class */ (function (_super) {
11554
- __extends$2(LayoutAnimation, _super);
11281
+ __extends(LayoutAnimation, _super);
11555
11282
  function LayoutAnimation() {
11556
11283
  return _super !== null && _super.apply(this, arguments) || this;
11557
11284
  }
@@ -11618,11 +11345,11 @@ var LayoutAnimation = /** @class */ (function (_super) {
11618
11345
  if (!delta[deltaKey])
11619
11346
  return;
11620
11347
  var baseTransition = typeof transitionDefinition === "boolean"
11621
- ? __assign$7({}, getDefaultLayoutTransition(isPositionOnly)) : transitionDefinition;
11348
+ ? __assign({}, getDefaultLayoutTransition(isPositionOnly)) : transitionDefinition;
11622
11349
  var value = values.get(transformKey, targetValue);
11623
11350
  var velocity = value.getVelocity();
11624
11351
  transition[transformKey] = baseTransition[transformKey]
11625
- ? __assign$7({}, baseTransition[transformKey]) : __assign$7({}, baseTransition);
11352
+ ? __assign({}, baseTransition[transformKey]) : __assign({}, baseTransition);
11626
11353
  if (transition[transformKey].velocity === undefined) {
11627
11354
  transition[transformKey].velocity = velocity || 0;
11628
11355
  }
@@ -11763,9 +11490,9 @@ var hasUpdated = function (prev, next) {
11763
11490
  };
11764
11491
  function targetWithoutTransition(_a, mergeTransitionEnd) {
11765
11492
  if (mergeTransitionEnd === void 0) { mergeTransitionEnd = false; }
11766
- var transition = _a.transition, transitionEnd = _a.transitionEnd, target = __rest$5(_a, ["transition", "transitionEnd"]);
11493
+ var transition = _a.transition, transitionEnd = _a.transitionEnd, target = __rest(_a, ["transition", "transitionEnd"]);
11767
11494
  return mergeTransitionEnd
11768
- ? __assign$7(__assign$7({}, target), transitionEnd)
11495
+ ? __assign(__assign({}, target), transitionEnd)
11769
11496
  : target;
11770
11497
  }
11771
11498
  /**
@@ -11817,9 +11544,9 @@ function useAnimateProp(targetAndTransition, controls, values, defaultTransition
11817
11544
  }
11818
11545
  }
11819
11546
  isInitialRender.current = false;
11820
- prevValues.current = __assign$7(__assign$7({}, prevValues.current), finalTarget);
11547
+ prevValues.current = __assign(__assign({}, prevValues.current), finalTarget);
11821
11548
  if (Object.keys(targetToAnimate).length) {
11822
- controls.start(__assign$7(__assign$7({}, targetToAnimate), { transition: targetAndTransition.transition || defaultTransition, transitionEnd: targetAndTransition.transitionEnd }));
11549
+ controls.start(__assign(__assign({}, targetToAnimate), { transition: targetAndTransition.transition || defaultTransition, transitionEnd: targetAndTransition.transitionEnd }));
11823
11550
  }
11824
11551
  }, [targetAndTransition]);
11825
11552
  }
@@ -11993,7 +11720,7 @@ var Exit = {
11993
11720
  React.useEffect(function () {
11994
11721
  if (!isPresent) {
11995
11722
  if (!isPlayingExitAnimation.current && exit) {
11996
- controls.setProps(__assign$7(__assign$7({}, props), { custom: custom }));
11723
+ controls.setProps(__assign(__assign({}, props), { custom: custom }));
11997
11724
  controls.start(exit).then(onExitComplete);
11998
11725
  }
11999
11726
  isPlayingExitAnimation.current = true;
@@ -12064,7 +11791,7 @@ var buildHTMLProps = function (values, style, isStatic, isDrag) {
12064
11791
  var buildSVGProps = function (values, style) {
12065
11792
  var motionValueStyles = resolveCurrent(values);
12066
11793
  var props = buildSVGAttrs(motionValueStyles, undefined, undefined, undefined, undefined, false);
12067
- props.style = __assign$7(__assign$7({}, style), props.style);
11794
+ props.style = __assign(__assign({}, style), props.style);
12068
11795
  return props;
12069
11796
  };
12070
11797
  var functionalityComponents = [Layout, Drag, Gestures, Exit];
@@ -12083,7 +11810,7 @@ function createDomMotionConfig(Component) {
12083
11810
  var staticVisualStyles = isSVG
12084
11811
  ? buildSVGProps(values, style)
12085
11812
  : buildHTMLProps(values, style, isStatic, !!props.drag);
12086
- return React.createElement(Component, __assign$7(__assign$7(__assign$7({}, forwardedProps), { ref: ref }), staticVisualStyles));
11813
+ return React.createElement(Component, __assign(__assign(__assign({}, forwardedProps), { ref: ref }), staticVisualStyles));
12087
11814
  },
12088
11815
  /**
12089
11816
  * loadFunctionalityComponents gets used by the `motion` component
@@ -12114,7 +11841,7 @@ function createDomMotionConfig(Component) {
12114
11841
  for (var i = 0; i < numFunctionalityComponents; i++) {
12115
11842
  var _a = functionalityComponents[i], shouldRender = _a.shouldRender, key = _a.key, Component_1 = _a.Component;
12116
11843
  if (shouldRender(props, context)) {
12117
- activeComponents.push(React.createElement(Component_1, __assign$7({ key: key }, props, { parentContext: context, values: values, controls: controls, innerRef: ref })));
11844
+ activeComponents.push(React.createElement(Component_1, __assign({ key: key }, props, { parentContext: context, values: values, controls: controls, innerRef: ref })));
12118
11845
  }
12119
11846
  }
12120
11847
  return activeComponents;
@@ -12166,7 +11893,7 @@ var svgMotionComponents = svgElements.reduce(function (acc, Component) {
12166
11893
  *
12167
11894
  * @public
12168
11895
  */
12169
- var motion = __assign$7(__assign$7({
11896
+ var motion = __assign(__assign({
12170
11897
  /**
12171
11898
  * Convert a custom React component into a `motion` component.
12172
11899
  *
@@ -12218,7 +11945,7 @@ var PresenceChild = function (_a) {
12218
11945
  return function () { return numPresenceChildren.current--; };
12219
11946
  };
12220
11947
  }, [isPresent]);
12221
- return (React.createElement(PresenceContext.Provider, { value: __assign$7(__assign$7({}, context), { register: register }) }, children));
11948
+ return (React.createElement(PresenceContext.Provider, { value: __assign(__assign({}, context), { register: register }) }, children));
12222
11949
  };
12223
11950
 
12224
11951
  function getChildKey(child) {
@@ -12334,7 +12061,7 @@ var AnimatePresence = function (_a) {
12334
12061
  return (React.createElement(React.Fragment, null, filteredChildren.map(function (child) { return (React.createElement(PresenceChild, { key: getChildKey(child), isPresent: true, initial: initial ? undefined : false }, child)); })));
12335
12062
  }
12336
12063
  // If this is a subsequent render, deal with entering and exiting children
12337
- var childrenToRender = __spreadArrays$2(filteredChildren);
12064
+ var childrenToRender = __spreadArrays(filteredChildren);
12338
12065
  // Diff the keys of the currently-present and target children to update our
12339
12066
  // exiting list.
12340
12067
  var presentKeys = presentChildren.current.map(getChildKey);
@@ -13055,7 +12782,11 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
13055
12782
  extraDisabledStyles = _ref2.extraDisabledStyles,
13056
12783
  rest = _objectWithoutProperties(_ref2, _excluded$h);
13057
12784
  var themeContext = React.useContext(styled.ThemeContext);
12785
+ console.log("theme context is", themeContext);
12786
+ console.log("fallback values are", fallbackValues$1);
12787
+ console.log("variant is", variant);
13058
12788
  var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
12789
+ console.log("theme values are", themeValues);
13059
12790
  var isMobile = themeContext.isMobile;
13060
12791
  var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n cursor: pointer;\n ");
13061
12792
  var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
@@ -19338,14 +19069,7 @@ var Alert = function Alert(_ref) {
19338
19069
  }, showQuitLink && /*#__PURE__*/React__default.createElement(Box, {
19339
19070
  padding: "0",
19340
19071
  minHeight: "100%",
19341
- onClick: onLinkClick,
19342
- onKeyDown: function onKeyDown(e) {
19343
- return e.key === "Enter" && onLinkClick();
19344
- },
19345
- role: "button",
19346
- tabIndex: 0,
19347
- "aria-label": "Close Alert: ".concat(heading),
19348
- extraStyles: "cursor: pointer;"
19072
+ onClick: onLinkClick
19349
19073
  }, /*#__PURE__*/React__default.createElement(IconQuit, null))))));
19350
19074
  return /*#__PURE__*/React__default.createElement(Box, _extends({
19351
19075
  padding: padding,
@@ -49657,7 +49381,7 @@ var Timeout = function Timeout(_ref) {
49657
49381
  };
49658
49382
  var Timeout$1 = withWindowSize(Timeout);
49659
49383
 
49660
- var _excluded$F = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
49384
+ var _excluded$F = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive"];
49661
49385
  var VARIANTS = {
49662
49386
  SUCCESS: "success",
49663
49387
  ERROR: "error"
@@ -49680,28 +49404,11 @@ var ToastNotification = function ToastNotification(_ref) {
49680
49404
  childGap = _ref$childGap === void 0 ? "1rem" : _ref$childGap,
49681
49405
  backgroundColor = _ref.backgroundColor,
49682
49406
  _ref$role = _ref.role,
49683
- role = _ref$role === void 0 ? "status" : _ref$role,
49407
+ role = _ref$role === void 0 ? "alert" : _ref$role,
49684
49408
  _ref$ariaLive = _ref.ariaLive,
49685
49409
  ariaLive = _ref$ariaLive === void 0 ? "polite" : _ref$ariaLive,
49686
- screenReaderMessage = _ref.screenReaderMessage,
49687
- _ref$showScreenReader = _ref.showScreenReaderMessage,
49688
- showScreenReaderMessage = _ref$showScreenReader === void 0 ? true : _ref$showScreenReader,
49689
49410
  rest = _objectWithoutProperties(_ref, _excluded$F);
49690
- var screenReaderMessageRef = React.useRef();
49691
- var LIVEREGION_TRANSITION_DELAY = 1000;
49692
- React.useEffect(function () {
49693
- if (showScreenReaderMessage) {
49694
- var timeout = setTimeout(function () {
49695
- if (screenReaderMessageRef.current) {
49696
- screenReaderMessageRef.current.textContent = "".concat(screenReaderMessage ? screenReaderMessage : message ? message : "");
49697
- }
49698
- }, LIVEREGION_TRANSITION_DELAY);
49699
- return function () {
49700
- return clearTimeout(timeout);
49701
- };
49702
- }
49703
- }, [showScreenReaderMessage, screenReaderMessage, message]);
49704
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Box, _extends({
49411
+ return /*#__PURE__*/React__default.createElement(Box, _extends({
49705
49412
  onClick: closeToastNotification,
49706
49413
  onKeyDown: function onKeyDown(e) {
49707
49414
  return e.key === "Enter" && closeToastNotification();
@@ -49714,7 +49421,9 @@ var ToastNotification = function ToastNotification(_ref) {
49714
49421
  padding: "0rem 1rem",
49715
49422
  borderRadius: "4px",
49716
49423
  boxShadow: generateShadows().standard.base,
49717
- extraStyles: "\n display: ".concat(toastOpen ? "block" : "none", ";\n position: fixed; bottom: 4rem; left: 4rem;\n ").concat(extraStyles, ";\n cursor: pointer;\n ")
49424
+ extraStyles: "\n display: ".concat(toastOpen ? "block" : "none", ";\n position: fixed; bottom: 4rem; left: 4rem;\n ").concat(extraStyles, ";\n cursor: pointer;\n "),
49425
+ role: role,
49426
+ "aria-live": ariaLive
49718
49427
  }, rest), /*#__PURE__*/React__default.createElement(Cluster, {
49719
49428
  align: "center",
49720
49429
  childGap: childGap,
@@ -49728,13 +49437,7 @@ var ToastNotification = function ToastNotification(_ref) {
49728
49437
  }, /*#__PURE__*/React__default.createElement(Paragraph$1, {
49729
49438
  weight: FONT_WEIGHT_SEMIBOLD,
49730
49439
  extraStyles: "word-break: break-word;"
49731
- }, message))), /*#__PURE__*/React__default.createElement(IconQuitLarge, null))), showScreenReaderMessage && /*#__PURE__*/React__default.createElement("span", {
49732
- ref: screenReaderMessageRef,
49733
- style: SCREEN_READER_ONLY,
49734
- role: role,
49735
- "aria-live": ariaLive,
49736
- "aria-atomic": true
49737
- }));
49440
+ }, message))), /*#__PURE__*/React__default.createElement(IconQuitLarge, null)));
49738
49441
  };
49739
49442
 
49740
49443
  var fontWeight$8 = "600";