@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.esm.js CHANGED
@@ -228,58 +228,6 @@ 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;
283
231
  }
284
232
 
285
233
  function __spreadArrays() {
@@ -290,32 +238,6 @@ function __spreadArrays() {
290
238
  return r;
291
239
  }
292
240
 
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
-
319
241
  var clamp = function (min, max) { return function (v) {
320
242
  return Math.max(Math.min(v, max), min);
321
243
  }; };
@@ -329,8 +251,8 @@ var number = {
329
251
  parse: parseFloat,
330
252
  transform: function (v) { return v; }
331
253
  };
332
- var alpha = __assign$2(__assign$2({}, number), { transform: clamp(0, 1) });
333
- var scale = __assign$2(__assign$2({}, number), { default: 1 });
254
+ var alpha = __assign(__assign({}, number), { transform: clamp(0, 1) });
255
+ var scale = __assign(__assign({}, number), { default: 1 });
334
256
 
335
257
  var createUnitType = function (unit) { return ({
336
258
  test: function (v) {
@@ -344,7 +266,7 @@ var percent = createUnitType('%');
344
266
  var px = createUnitType('px');
345
267
  var vh = createUnitType('vh');
346
268
  var vw = createUnitType('vw');
347
- var progressPercentage = __assign$2(__assign$2({}, percent), { parse: function (v) { return percent.parse(v) / 100; }, transform: function (v) { return percent.transform(v * 100); } });
269
+ var progressPercentage = __assign(__assign({}, percent), { parse: function (v) { return percent.parse(v) / 100; }, transform: function (v) { return percent.transform(v * 100); } });
348
270
 
349
271
  var getValueFromFunctionString = function (value) {
350
272
  return value.substring(value.indexOf('(') + 1, value.lastIndexOf(')'));
@@ -378,7 +300,7 @@ var hslaTemplate = function (_a) {
378
300
  var hue = _a.hue, saturation = _a.saturation, lightness = _a.lightness, _b = _a.alpha, alpha = _b === void 0 ? 1 : _b;
379
301
  return "hsla(" + hue + ", " + saturation + ", " + lightness + ", " + alpha + ")";
380
302
  };
381
- var rgbUnit = __assign$2(__assign$2({}, number), { transform: function (v) { return Math.round(clampRgbUnit(v)); } });
303
+ var rgbUnit = __assign(__assign({}, number), { transform: function (v) { return Math.round(clampRgbUnit(v)); } });
382
304
  function isColorString(color, colorType) {
383
305
  return color.startsWith(colorType) && singleColorRegex.test(color);
384
306
  }
@@ -408,7 +330,7 @@ var hsla = {
408
330
  });
409
331
  }
410
332
  };
411
- var hex = __assign$2(__assign$2({}, rgba), { test: function (v) { return typeof v === 'string' && isColorString(v, '#'); }, parse: function (v) {
333
+ var hex = __assign(__assign({}, rgba), { test: function (v) { return typeof v === 'string' && isColorString(v, '#'); }, parse: function (v) {
412
334
  var r = '';
413
335
  var g = '';
414
336
  var b = '';
@@ -944,15 +866,15 @@ See the Apache Version 2.0 License for specific language governing permissions
944
866
  and limitations under the License.
945
867
  ***************************************************************************** */
946
868
 
947
- var __assign$3 = function() {
948
- __assign$3 = Object.assign || function __assign(t) {
869
+ var __assign$1 = function() {
870
+ __assign$1 = Object.assign || function __assign(t) {
949
871
  for (var s, i = 1, n = arguments.length; i < n; i++) {
950
872
  s = arguments[i];
951
873
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
952
874
  }
953
875
  return t;
954
876
  };
955
- return __assign$3.apply(this, arguments);
877
+ return __assign$1.apply(this, arguments);
956
878
  };
957
879
 
958
880
  var mixLinearColor = function (from, to, v) {
@@ -975,7 +897,7 @@ var mixColor = (function (from, to) {
975
897
  invariant(fromColorType.transform === toColorType.transform, 'Both colors must be hex/RGBA, OR both must be HSLA.');
976
898
  var fromColor = fromColorType.parse(from);
977
899
  var toColor = toColorType.parse(to);
978
- var blended = __assign$3({}, fromColor);
900
+ var blended = __assign$1({}, fromColor);
979
901
  var mixFunc = fromColorType === hsla ? mix : mixLinearColor;
980
902
  return function (v) {
981
903
  for (var key in blended) {
@@ -1020,7 +942,7 @@ var mixArray = function (from, to) {
1020
942
  };
1021
943
  };
1022
944
  var mixObject = function (origin, target) {
1023
- var output = __assign$3({}, origin, target);
945
+ var output = __assign$1({}, origin, target);
1024
946
  var blendValue = {};
1025
947
  for (var key in output) {
1026
948
  if (origin[key] !== undefined && target[key] !== undefined) {
@@ -1232,44 +1154,6 @@ var wrap$1 = curryRange(wrap);
1232
1154
 
1233
1155
  var clampProgress = clamp$1$1(0, 1);
1234
1156
 
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
-
1273
1157
  var createStyler = function (_a) {
1274
1158
  var onRead = _a.onRead,
1275
1159
  onRender = _a.onRender,
@@ -1281,7 +1165,7 @@ var createStyler = function (_a) {
1281
1165
  if (_a === void 0) {
1282
1166
  _a = {};
1283
1167
  }
1284
- var props = __rest$2(_a, []);
1168
+ var props = __rest(_a, []);
1285
1169
  var state = {};
1286
1170
  var changedValues = [];
1287
1171
  var hasChanged = false;
@@ -1401,7 +1285,7 @@ function isTransformOriginProp(key) {
1401
1285
  return transformOriginProps.has(key);
1402
1286
  }
1403
1287
 
1404
- var int = /*#__PURE__*/__assign$4( /*#__PURE__*/__assign$4({}, number), { transform: Math.round });
1288
+ var int = /*#__PURE__*/__assign( /*#__PURE__*/__assign({}, number), { transform: Math.round });
1405
1289
  var valueTypes = {
1406
1290
  color: color,
1407
1291
  backgroundColor: color,
@@ -1633,8 +1517,8 @@ function createCssStyler(element, _a) {
1633
1517
  }
1634
1518
  var enableHardwareAcceleration = _a.enableHardwareAcceleration,
1635
1519
  allowTransformNone = _a.allowTransformNone,
1636
- props = __rest$2(_a, ["enableHardwareAcceleration", "allowTransformNone"]);
1637
- return cssStyler(__assign$4({ element: element, buildStyles: createStyleBuilder({
1520
+ props = __rest(_a, ["enableHardwareAcceleration", "allowTransformNone"]);
1521
+ return cssStyler(__assign({ element: element, buildStyles: createStyleBuilder({
1638
1522
  enableHardwareAcceleration: enableHardwareAcceleration,
1639
1523
  allowTransformNone: allowTransformNone
1640
1524
  }), preparseOutput: true }, props));
@@ -1684,7 +1568,7 @@ function buildSVGAttrs(_a, dimensions, totalPathLength, cssBuilder, attrs, isDas
1684
1568
  pathSpacing = _b === void 0 ? 1 : _b,
1685
1569
  _c = _a.pathOffset,
1686
1570
  pathOffset = _c === void 0 ? 0 : _c,
1687
- state = __rest$2(_a, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
1571
+ state = __rest(_a, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
1688
1572
  var style = cssBuilder(state);
1689
1573
  for (var key in style) {
1690
1574
  if (key === 'transform') {
@@ -1813,7 +1697,7 @@ var Chainable = /*#__PURE__*/function () {
1813
1697
  this.props = props;
1814
1698
  }
1815
1699
  Chainable.prototype.applyMiddleware = function (middleware) {
1816
- return this.create(__assign$1(__assign$1({}, this.props), { middleware: this.props.middleware ? __spreadArrays([middleware], this.props.middleware) : [middleware] }));
1700
+ return this.create(__assign(__assign({}, this.props), { middleware: this.props.middleware ? __spreadArrays([middleware], this.props.middleware) : [middleware] }));
1817
1701
  };
1818
1702
  Chainable.prototype.pipe = function () {
1819
1703
  var funcs = [];
@@ -1885,7 +1769,7 @@ var createObserver = function (observerCandidate, _a, onComplete) {
1885
1769
  };
1886
1770
 
1887
1771
  var Action = /*#__PURE__*/function (_super) {
1888
- __extends$1(Action, _super);
1772
+ __extends(Action, _super);
1889
1773
  function Action() {
1890
1774
  return _super !== null && _super.apply(this, arguments) || this;
1891
1775
  }
@@ -1904,13 +1788,13 @@ var Action = /*#__PURE__*/function (_super) {
1904
1788
  };
1905
1789
  var _a = this.props,
1906
1790
  init = _a.init,
1907
- observerProps = __rest$1(_a, ["init"]);
1791
+ observerProps = __rest(_a, ["init"]);
1908
1792
  var observer = createObserver(observerCandidate, observerProps, function () {
1909
1793
  isComplete = true;
1910
1794
  subscription.stop();
1911
1795
  });
1912
1796
  var api = init(observer);
1913
- subscription = api ? __assign$1(__assign$1({}, subscription), api) : subscription;
1797
+ subscription = api ? __assign(__assign({}, subscription), api) : subscription;
1914
1798
  if (observerCandidate.registerParent) {
1915
1799
  observerCandidate.registerParent(subscription);
1916
1800
  }
@@ -1924,7 +1808,7 @@ var action = function (init) {
1924
1808
  };
1925
1809
 
1926
1810
  var BaseMulticast = /*#__PURE__*/function (_super) {
1927
- __extends$1(BaseMulticast, _super);
1811
+ __extends(BaseMulticast, _super);
1928
1812
  function BaseMulticast() {
1929
1813
  var _this = _super !== null && _super.apply(this, arguments) || this;
1930
1814
  _this.subscribers = [];
@@ -1984,7 +1868,7 @@ var isSingleValue = function (v) {
1984
1868
  return typeOfV === 'string' || typeOfV === 'number';
1985
1869
  };
1986
1870
  var ValueReaction = /*#__PURE__*/function (_super) {
1987
- __extends$1(ValueReaction, _super);
1871
+ __extends(ValueReaction, _super);
1988
1872
  function ValueReaction(props) {
1989
1873
  var _this = _super.call(this, props) || this;
1990
1874
  _this.scheduleVelocityCheck = function () {
@@ -2234,7 +2118,7 @@ var reduceArrayValue = function (i) {
2234
2118
  var createArrayAction = function (action, props, vectorKeys) {
2235
2119
  var firstVectorKey = vectorKeys[0];
2236
2120
  var actionList = props[firstVectorKey].map(function (v, i) {
2237
- var childActionProps = vectorKeys.reduce(reduceArrayValue(i), __assign$1({}, props));
2121
+ var childActionProps = vectorKeys.reduce(reduceArrayValue(i), __assign({}, props));
2238
2122
  return getActionCreator(v)(action, childActionProps);
2239
2123
  });
2240
2124
  return parallel$1.apply(void 0, actionList);
@@ -2248,7 +2132,7 @@ var reduceObjectValue = function (key) {
2248
2132
  var createObjectAction = function (action, props, vectorKeys) {
2249
2133
  var firstVectorKey = vectorKeys[0];
2250
2134
  var actionMap = Object.keys(props[firstVectorKey]).reduce(function (map, key) {
2251
- var childActionProps = vectorKeys.reduce(reduceObjectValue(key), __assign$1({}, props));
2135
+ var childActionProps = vectorKeys.reduce(reduceObjectValue(key), __assign({}, props));
2252
2136
  map[key] = getActionCreator(props[firstVectorKey][key])(action, childActionProps);
2253
2137
  return map;
2254
2138
  }, {});
@@ -2257,18 +2141,18 @@ var createObjectAction = function (action, props, vectorKeys) {
2257
2141
  var createUnitAction = function (action, _a) {
2258
2142
  var from = _a.from,
2259
2143
  to = _a.to,
2260
- props = __rest$1(_a, ["from", "to"]);
2144
+ props = __rest(_a, ["from", "to"]);
2261
2145
  var unitType = findUnitType(from) || findUnitType(to);
2262
2146
  var transform = unitType.transform,
2263
2147
  parse = unitType.parse;
2264
- return action(__assign$1(__assign$1({}, props), { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
2148
+ return action(__assign(__assign({}, props), { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
2265
2149
  };
2266
2150
  var createMixerAction = function (mixer) {
2267
2151
  return function (action, _a) {
2268
2152
  var from = _a.from,
2269
2153
  to = _a.to,
2270
- props = __rest$1(_a, ["from", "to"]);
2271
- return action(__assign$1(__assign$1({}, props), { from: 0, to: 1 })).pipe(mixer(from, to));
2154
+ props = __rest(_a, ["from", "to"]);
2155
+ return action(__assign(__assign({}, props), { from: 0, to: 1 })).pipe(mixer(from, to));
2272
2156
  };
2273
2157
  };
2274
2158
  var createColorAction = /*#__PURE__*/createMixerAction(mixColor);
@@ -2614,7 +2498,7 @@ var keyframes = function (_a) {
2614
2498
  ease = _b === void 0 ? linear : _b,
2615
2499
  times = _a.times,
2616
2500
  values = _a.values,
2617
- tweenProps = __rest$1(_a, ["easings", "ease", "times", "values"]);
2501
+ tweenProps = __rest(_a, ["easings", "ease", "times", "values"]);
2618
2502
  easings = Array.isArray(easings) ? easings : defaultEasings(values, easings);
2619
2503
  times = times || defaultTimings(values);
2620
2504
  var scrubbers = easings.map(function (easing, i) {
@@ -2624,7 +2508,7 @@ var keyframes = function (_a) {
2624
2508
  ease: easing
2625
2509
  });
2626
2510
  });
2627
- return tween(__assign$1(__assign$1({}, tweenProps), { ease: ease })).applyMiddleware(function (update) {
2511
+ return tween(__assign(__assign({}, tweenProps), { ease: ease })).applyMiddleware(function (update) {
2628
2512
  return interpolateScrubbers(times, scrubbers, update);
2629
2513
  });
2630
2514
  };
@@ -2868,7 +2752,7 @@ var index$1 = function (_a) {
2868
2752
  }
2869
2753
  var x = _a.x,
2870
2754
  y = _a.y,
2871
- props = __rest$1(_a, ["x", "y"]);
2755
+ props = __rest(_a, ["x", "y"]);
2872
2756
  if (x !== undefined || y !== undefined) {
2873
2757
  var applyXOffset_1 = applyOffset(x || 0);
2874
2758
  var applyYOffset_1 = applyOffset(y || 0);
@@ -2942,7 +2826,7 @@ var steps$1 = function (st, min, max) {
2942
2826
  };
2943
2827
  var transformMap = function (childTransformers) {
2944
2828
  return function (v) {
2945
- var output = __assign$1({}, v);
2829
+ var output = __assign({}, v);
2946
2830
  for (var key in childTransformers) {
2947
2831
  if (childTransformers.hasOwnProperty(key)) {
2948
2832
  var childTransformer = childTransformers[key];
@@ -2973,52 +2857,6 @@ var transformers = /*#__PURE__*/Object.freeze({
2973
2857
  transformMap: transformMap
2974
2858
  });
2975
2859
 
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
-
3022
2860
  var getPoseValues = function (_a) {
3023
2861
  var transition = _a.transition,
3024
2862
  flip = _a.flip,
@@ -3031,7 +2869,7 @@ var getPoseValues = function (_a) {
3031
2869
  preTransition = _a.preTransition,
3032
2870
  applyAtStart = _a.applyAtStart,
3033
2871
  applyAtEnd = _a.applyAtEnd,
3034
- props = __rest$3(_a, ["transition", "flip", "delay", "delayChildren", "staggerChildren", "staggerDirection", "afterChildren", "beforeChildren", "preTransition", "applyAtStart", "applyAtEnd"]);
2872
+ props = __rest(_a, ["transition", "flip", "delay", "delayChildren", "staggerChildren", "staggerDirection", "afterChildren", "beforeChildren", "preTransition", "applyAtStart", "applyAtEnd"]);
3035
2873
  return props;
3036
2874
  };
3037
2875
  var selectPoses = function (_a) {
@@ -3043,7 +2881,7 @@ var selectPoses = function (_a) {
3043
2881
  onChange = _a.onChange,
3044
2882
  passive = _a.passive,
3045
2883
  initialPose = _a.initialPose,
3046
- poses = __rest$3(_a, ["label", "props", "values", "parentValues", "ancestorValues", "onChange", "passive", "initialPose"]);
2884
+ poses = __rest(_a, ["label", "props", "values", "parentValues", "ancestorValues", "onChange", "passive", "initialPose"]);
3047
2885
  return poses;
3048
2886
  };
3049
2887
  var selectAllValues = function (values, selectValue) {
@@ -3143,7 +2981,7 @@ var createPoseSetter = function (setterProps) {
3143
2981
  var _a = nextProps.delay,
3144
2982
  delay = _a === void 0 ? 0 : _a;
3145
2983
  var hasChildren = children.size;
3146
- var baseTransitionProps = __assign$5(__assign$5({}, props), nextProps);
2984
+ var baseTransitionProps = __assign(__assign({}, props), nextProps);
3147
2985
  var nextPose = poses[next];
3148
2986
  var getChildAnimations = function () {
3149
2987
  return hasChildren && propagate ? startChildAnimations(children, next, nextPose, baseTransitionProps) : [];
@@ -3169,11 +3007,11 @@ var createPoseSetter = function (setterProps) {
3169
3007
  valuePoses.splice(insertionIndex, 0, next);
3170
3008
  return insertionIndex === 0 ? new Promise(function (complete) {
3171
3009
  var value = values.get(key);
3172
- var transitionProps = __assign$5(__assign$5({}, baseTransitionProps), { key: key,
3010
+ var transitionProps = __assign(__assign({}, baseTransitionProps), { key: key,
3173
3011
  value: value });
3174
3012
  var target = resolveTarget(value, resolveProp(nextPose[key], transitionProps));
3175
3013
  if (activeActions.has(key)) stopAction(activeActions.get(key));
3176
- var resolveTransitionProps = __assign$5(__assign$5({ to: target }, transitionProps), getTransitionProps(value, target, transitionProps));
3014
+ var resolveTransitionProps = __assign(__assign({ to: target }, transitionProps), getTransitionProps(value, target, transitionProps));
3177
3015
  var transition = resolveTransition(getTransition, key, value, resolveTransitionProps, convertTransitionDefinition, getInstantTransition);
3178
3016
  var poseDelay = delay || resolveProp(nextPose.delay, transitionProps);
3179
3017
  if (poseDelay) {
@@ -3197,7 +3035,7 @@ var createPoseSetter = function (setterProps) {
3197
3035
  });
3198
3036
  }
3199
3037
  }
3200
- return Promise.all(__spreadArrays$1(getParentAnimations(), getChildAnimations()));
3038
+ return Promise.all(__spreadArrays(getParentAnimations(), getChildAnimations()));
3201
3039
  };
3202
3040
  };
3203
3041
 
@@ -3323,7 +3161,7 @@ var createValueMap = function (props) {
3323
3161
  };
3324
3162
 
3325
3163
  var applyDefaultTransition = function (pose, key, defaultTransitions) {
3326
- return __assign$5(__assign$5({}, pose), { transition: defaultTransitions.has(key) ? defaultTransitions.get(key) : defaultTransitions.get('default') });
3164
+ return __assign(__assign({}, pose), { transition: defaultTransitions.has(key) ? defaultTransitions.get(key) : defaultTransitions.get('default') });
3327
3165
  };
3328
3166
  var generateTransitions = function (poses, defaultTransitions) {
3329
3167
  Object.keys(poses).forEach(function (key) {
@@ -3377,7 +3215,7 @@ var poseFactory = function (_a) {
3377
3215
  var poses = generateTransitions(selectPoses(config), defaultTransitions);
3378
3216
  var _b = config.props,
3379
3217
  props = _b === void 0 ? {} : _b;
3380
- if (getDefaultProps) props = __assign$5(__assign$5({}, getDefaultProps(config)), props);
3218
+ if (getDefaultProps) props = __assign(__assign({}, getDefaultProps(config)), props);
3381
3219
  var passive = config.passive,
3382
3220
  userSetValues = config.values,
3383
3221
  _c = config.initialPose,
@@ -3452,10 +3290,10 @@ var poseFactory = function (_a) {
3452
3290
  },
3453
3291
  has: has,
3454
3292
  setProps: function (newProps) {
3455
- return state.props = __assign$5(__assign$5({}, state.props), newProps);
3293
+ return state.props = __assign(__assign({}, state.props), newProps);
3456
3294
  },
3457
3295
  _addChild: function (childConfig, factory) {
3458
- var child = factory(__assign$5(__assign$5({ initialPose: initialPose }, childConfig), { ancestorValues: __spreadArrays$1([{ label: config.label, values: values }], ancestorValues) }));
3296
+ var child = factory(__assign(__assign({ initialPose: initialPose }, childConfig), { ancestorValues: __spreadArrays([{ label: config.label, values: values }], ancestorValues) }));
3459
3297
  children.add(child);
3460
3298
  return child;
3461
3299
  },
@@ -3494,18 +3332,18 @@ See the Apache Version 2.0 License for specific language governing permissions
3494
3332
  and limitations under the License.
3495
3333
  ***************************************************************************** */
3496
3334
 
3497
- var __assign$6 = function () {
3498
- __assign$6 = Object.assign || function __assign(t) {
3335
+ var __assign$2 = function () {
3336
+ __assign$2 = Object.assign || function __assign(t) {
3499
3337
  for (var s, i = 1, n = arguments.length; i < n; i++) {
3500
3338
  s = arguments[i];
3501
3339
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
3502
3340
  }
3503
3341
  return t;
3504
3342
  };
3505
- return __assign$6.apply(this, arguments);
3343
+ return __assign$2.apply(this, arguments);
3506
3344
  };
3507
3345
 
3508
- function __rest$4(s, e) {
3346
+ function __rest$1(s, e) {
3509
3347
  var t = {};
3510
3348
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
3511
3349
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -3622,12 +3460,12 @@ var intelligentTransition = {
3622
3460
  opacity: linearTween,
3623
3461
  default: tween
3624
3462
  };
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) });
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) });
3626
3464
  var justAxis = function (_a) {
3627
3465
  var from = _a.from;
3628
3466
  return just(from);
3629
3467
  };
3630
- var intelligentDragEnd = /*#__PURE__*/__assign$6( /*#__PURE__*/__assign$6({}, intelligentTransition), { x: justAxis, y: justAxis });
3468
+ var intelligentDragEnd = /*#__PURE__*/__assign$2( /*#__PURE__*/__assign$2({}, intelligentTransition), { x: justAxis, y: justAxis });
3631
3469
  var defaultTransitions = /*#__PURE__*/new Map([['default', intelligentTransition], ['drag', dragAction], ['dragEnd', intelligentDragEnd]]);
3632
3470
 
3633
3471
  var animationLookup = {
@@ -3697,7 +3535,7 @@ var getAction = function (v, _a, _b) {
3697
3535
  var _c = _a.type,
3698
3536
  type = _c === void 0 ? 'tween' : _c,
3699
3537
  definedEase = _a.ease,
3700
- def = __rest$4(_a, ["type", "ease"]);
3538
+ def = __rest$1(_a, ["type", "ease"]);
3701
3539
  invariant(animationLookup[type] !== undefined, "Invalid transition type '" + type + "'. Valid transition types are: tween, spring, decay, physics and keyframes.");
3702
3540
  var ease;
3703
3541
  if (type === 'tween') {
@@ -3722,7 +3560,7 @@ var getAction = function (v, _a, _b) {
3722
3560
  velocity: velocity,
3723
3561
  ease: ease
3724
3562
  } : { ease: ease };
3725
- return animationLookup[type](__assign$6(__assign$6({}, baseProps), def));
3563
+ return animationLookup[type](__assign$2(__assign$2({}, baseProps), def));
3726
3564
  };
3727
3565
  var isAction = function (action$$1) {
3728
3566
  return typeof action$$1.start !== 'undefined';
@@ -3807,7 +3645,7 @@ var pose = function (_a) {
3807
3645
  min = def.min,
3808
3646
  max = def.max,
3809
3647
  round = def.round,
3810
- remainingDef = __rest$4(def, ["delay", "min", "max", "round"]);
3648
+ remainingDef = __rest$1(def, ["delay", "min", "max", "round"]);
3811
3649
  var action$$1 = getAction(val, remainingDef, props);
3812
3650
  var outputPipe = [];
3813
3651
  if (delay$$1) action$$1 = addActionDelay(delay$$1, action$$1);
@@ -3989,7 +3827,7 @@ var explicitlyFlipPose = function (state, nextPose) {
3989
3827
  bottom = nextPose.bottom,
3990
3828
  right = nextPose.right,
3991
3829
  position = nextPose.position,
3992
- remainingPose = __rest$4(nextPose, ["width", "height", "top", "left", "bottom", "right", "position"]);
3830
+ remainingPose = __rest$1(nextPose, ["width", "height", "top", "left", "bottom", "right", "position"]);
3993
3831
  var propsToSet = positionalProps.concat('position').reduce(function (acc, key) {
3994
3832
  if (nextPose[key] !== undefined) {
3995
3833
  acc[key] = resolveProp$1(nextPose[key], state.props);
@@ -4101,7 +3939,7 @@ var convertPositionalUnits = function (state, nextPose) {
4101
3939
  changedPositionalKeys.push(key);
4102
3940
  if (!applyAtEndHasBeenCopied) {
4103
3941
  applyAtEndHasBeenCopied = true;
4104
- nextPose.applyAtEnd = nextPose.applyAtEnd ? __assign$6({}, nextPose.applyAtEnd) : {};
3942
+ nextPose.applyAtEnd = nextPose.applyAtEnd ? __assign$2({}, nextPose.applyAtEnd) : {};
4105
3943
  }
4106
3944
  nextPose.applyAtEnd[key] = nextPose.applyAtEnd[key] || nextPose[key];
4107
3945
  setValue(state, key, to);
@@ -4157,8 +3995,8 @@ var createPoseConfig = function (element, _a) {
4157
3995
  focusable = _a.focusable,
4158
3996
  pressable = _a.pressable,
4159
3997
  dragBounds = _a.dragBounds,
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,
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,
4162
4000
  onDragEnd: onDragEnd,
4163
4001
  onPressStart: onPressStart,
4164
4002
  onPressEnd: onPressEnd,
@@ -4172,8 +4010,8 @@ var createPoseConfig = function (element, _a) {
4172
4010
  var _b = dragPoses(draggable),
4173
4011
  drag = _b.drag,
4174
4012
  dragEnd = _b.dragEnd;
4175
- poseConfig.drag = __assign$6(__assign$6({}, drag), poseConfig.drag);
4176
- poseConfig.dragEnd = __assign$6(__assign$6({}, dragEnd), poseConfig.dragEnd);
4013
+ poseConfig.drag = __assign$2(__assign$2({}, drag), poseConfig.drag);
4014
+ poseConfig.dragEnd = __assign$2(__assign$2({}, dragEnd), poseConfig.dragEnd);
4177
4015
  }
4178
4016
  return poseConfig;
4179
4017
  };
@@ -4181,7 +4019,7 @@ var domPose = /*#__PURE__*/pose({
4181
4019
  posePriority: ['drag', 'press', 'focus', 'hover'],
4182
4020
  transformPose: function (_a, name, state) {
4183
4021
  var flip = _a.flip,
4184
- pose$$1 = __rest$4(_a, ["flip"]);
4022
+ pose$$1 = __rest$1(_a, ["flip"]);
4185
4023
  if (isFlipPose(flip, name, state)) {
4186
4024
  return flipPose(state, pose$$1);
4187
4025
  } else if (isPositional(pose$$1)) {
@@ -4219,7 +4057,7 @@ var domPose = /*#__PURE__*/pose({
4219
4057
  var props = _a.props,
4220
4058
  activeActions = _a.activeActions;
4221
4059
  var measure = props.dimensions.measure;
4222
- var poserApi = __assign$6(__assign$6({}, api), { addChild: function (element, childConfig) {
4060
+ var poserApi = __assign$2(__assign$2({}, api), { addChild: function (element, childConfig) {
4223
4061
  return api._addChild(createPoseConfig(element, childConfig), domPose);
4224
4062
  }, measure: measure, flip: function (op) {
4225
4063
  if (op) {
@@ -4929,18 +4767,6 @@ var SPACING = {
4929
4767
  // Figma: Spacing/XS
4930
4768
  MD: "1.5rem" // Figma: Spacing/Normal
4931
4769
  };
4932
- var SCREEN_READER_ONLY = {
4933
- border: 0,
4934
- clip: "rect(0 0 0 0)",
4935
- clipPath: "inset(50%)",
4936
- height: "1px",
4937
- margin: "-1px",
4938
- overflow: "hidden",
4939
- padding: 0,
4940
- position: "absolute",
4941
- width: "1px",
4942
- whiteSpace: "nowrap"
4943
- };
4944
4770
 
4945
4771
  var style_constants = /*#__PURE__*/Object.freeze({
4946
4772
  __proto__: null,
@@ -4956,8 +4782,7 @@ var style_constants = /*#__PURE__*/Object.freeze({
4956
4782
  JUMBO_HEIGHT: JUMBO_HEIGHT,
4957
4783
  SPACER_HEIGHT: SPACER_HEIGHT,
4958
4784
  LINK_TEXT_DECORATION: LINK_TEXT_DECORATION,
4959
- SPACING: SPACING,
4960
- SCREEN_READER_ONLY: SCREEN_READER_ONLY
4785
+ SPACING: SPACING
4961
4786
  });
4962
4787
 
4963
4788
  /*
@@ -7245,104 +7070,6 @@ var Imposter = function Imposter(_ref) {
7245
7070
  }, rest), safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null)));
7246
7071
  };
7247
7072
 
7248
- /*! *****************************************************************************
7249
- Copyright (c) Microsoft Corporation.
7250
-
7251
- Permission to use, copy, modify, and/or distribute this software for any
7252
- purpose with or without fee is hereby granted.
7253
-
7254
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
7255
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
7256
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
7257
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
7258
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
7259
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
7260
- PERFORMANCE OF THIS SOFTWARE.
7261
- ***************************************************************************** */
7262
- /* global Reflect, Promise */
7263
-
7264
- var extendStatics$2 = function(d, b) {
7265
- extendStatics$2 = Object.setPrototypeOf ||
7266
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7267
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7268
- return extendStatics$2(d, b);
7269
- };
7270
-
7271
- function __extends$2(d, b) {
7272
- extendStatics$2(d, b);
7273
- function __() { this.constructor = d; }
7274
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7275
- }
7276
-
7277
- var __assign$7 = function() {
7278
- __assign$7 = Object.assign || function __assign(t) {
7279
- for (var s, i = 1, n = arguments.length; i < n; i++) {
7280
- s = arguments[i];
7281
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7282
- }
7283
- return t;
7284
- };
7285
- return __assign$7.apply(this, arguments);
7286
- };
7287
-
7288
- function __rest$5(s, e) {
7289
- var t = {};
7290
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
7291
- t[p] = s[p];
7292
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7293
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7294
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
7295
- t[p[i]] = s[p[i]];
7296
- }
7297
- return t;
7298
- }
7299
-
7300
- function __spreadArrays$2() {
7301
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
7302
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
7303
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
7304
- r[k] = a[j];
7305
- return r;
7306
- }
7307
-
7308
- /*! *****************************************************************************
7309
- Copyright (c) Microsoft Corporation.
7310
-
7311
- Permission to use, copy, modify, and/or distribute this software for any
7312
- purpose with or without fee is hereby granted.
7313
-
7314
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
7315
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
7316
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
7317
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
7318
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
7319
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
7320
- PERFORMANCE OF THIS SOFTWARE.
7321
- ***************************************************************************** */
7322
-
7323
- var __assign$8 = function() {
7324
- __assign$8 = Object.assign || function __assign(t) {
7325
- for (var s, i = 1, n = arguments.length; i < n; i++) {
7326
- s = arguments[i];
7327
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7328
- }
7329
- return t;
7330
- };
7331
- return __assign$8.apply(this, arguments);
7332
- };
7333
-
7334
- function __rest$6(s, e) {
7335
- var t = {};
7336
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
7337
- t[p] = s[p];
7338
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7339
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7340
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
7341
- t[p[i]] = s[p[i]];
7342
- }
7343
- return t;
7344
- }
7345
-
7346
7073
  var Observer$1 = /*#__PURE__*/function () {
7347
7074
  function Observer(_a, observer) {
7348
7075
  var _this = this;
@@ -7405,18 +7132,18 @@ var Action$1 = /*#__PURE__*/function () {
7405
7132
  };
7406
7133
  var _a = this.props,
7407
7134
  init = _a.init,
7408
- observerProps = __rest$6(_a, ["init"]);
7135
+ observerProps = __rest(_a, ["init"]);
7409
7136
  var observer = createObserver$1(observerCandidate, observerProps, function () {
7410
7137
  isComplete = true;
7411
7138
  subscription.stop();
7412
7139
  });
7413
7140
  var api = init(observer);
7414
- subscription = api ? __assign$8({}, subscription, api) : subscription;
7141
+ subscription = api ? __assign({}, subscription, api) : subscription;
7415
7142
  if (isComplete) subscription.stop();
7416
7143
  return subscription;
7417
7144
  };
7418
7145
  Action.prototype.applyMiddleware = function (middleware) {
7419
- return this.create(__assign$8({}, this.props, { middleware: this.props.middleware ? [middleware].concat(this.props.middleware) : [middleware] }));
7146
+ return this.create(__assign({}, this.props, { middleware: this.props.middleware ? [middleware].concat(this.props.middleware) : [middleware] }));
7420
7147
  };
7421
7148
  Action.prototype.pipe = function () {
7422
7149
  var funcs = [];
@@ -7469,18 +7196,18 @@ var createAction$1 = function (action, props) {
7469
7196
  var createUnitAction$1 = function (action, _a) {
7470
7197
  var from = _a.from,
7471
7198
  to = _a.to,
7472
- props = __rest$6(_a, ["from", "to"]);
7199
+ props = __rest(_a, ["from", "to"]);
7473
7200
  var unitType = findUnitType$1(from) || findUnitType$1(to);
7474
7201
  var transform = unitType.transform,
7475
7202
  parse = unitType.parse;
7476
- return action(__assign$8({}, props, { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
7203
+ return action(__assign({}, props, { from: typeof from === 'string' ? parse(from) : from, to: typeof to === 'string' ? parse(to) : to })).pipe(transform);
7477
7204
  };
7478
7205
  var createMixerAction$1 = function (mixer) {
7479
7206
  return function (action, _a) {
7480
7207
  var from = _a.from,
7481
7208
  to = _a.to,
7482
- props = __rest$6(_a, ["from", "to"]);
7483
- return action(__assign$8({}, props, { from: 0, to: 1 })).pipe(mixer(from, to));
7209
+ props = __rest(_a, ["from", "to"]);
7210
+ return action(__assign({}, props, { from: 0, to: 1 })).pipe(mixer(from, to));
7484
7211
  };
7485
7212
  };
7486
7213
  var createColorAction$1 = /*#__PURE__*/createMixerAction$1(mixColor);
@@ -7693,7 +7420,7 @@ var inertia = function (_a) {
7693
7420
  };
7694
7421
  var startSpring = function (props) {
7695
7422
  isSpring = true;
7696
- startAnimation(vectorSpring$1(__assign$8({}, props, { to: isLessThanMin(props.from) ? min : max, stiffness: bounceStiffness, damping: bounceDamping, restDelta: restDelta })));
7423
+ startAnimation(vectorSpring$1(__assign({}, props, { to: isLessThanMin(props.from) ? min : max, stiffness: bounceStiffness, damping: bounceDamping, restDelta: restDelta })));
7697
7424
  };
7698
7425
  if (isOutOfBounds(from)) {
7699
7426
  startSpring({ from: from, velocity: velocity });
@@ -7925,7 +7652,7 @@ var keyframes$1 = function (_a) {
7925
7652
  ease = _b === void 0 ? linear : _b,
7926
7653
  times = _a.times,
7927
7654
  values = _a.values,
7928
- tweenProps = __rest$6(_a, ["easings", "ease", "times", "values"]);
7655
+ tweenProps = __rest(_a, ["easings", "ease", "times", "values"]);
7929
7656
  easings = Array.isArray(easings) ? easings : defaultEasings$1(values, easings);
7930
7657
  times = times || defaultTimings$1(values);
7931
7658
  var scrubbers = easings.map(function (easing, i) {
@@ -7935,7 +7662,7 @@ var keyframes$1 = function (_a) {
7935
7662
  ease: easing
7936
7663
  });
7937
7664
  });
7938
- return tween$1(__assign$8({}, tweenProps, { ease: ease })).applyMiddleware(function (update) {
7665
+ return tween$1(__assign({}, tweenProps, { ease: ease })).applyMiddleware(function (update) {
7939
7666
  return interpolateScrubbers$1(times, scrubbers, update);
7940
7667
  });
7941
7668
  };
@@ -8137,7 +7864,7 @@ var MotionValue = /** @class */ (function () {
8137
7864
  */
8138
7865
  MotionValue.prototype.addChild = function (config) {
8139
7866
  if (config === void 0) { config = {}; }
8140
- var child = new MotionValue(this.current, __assign$7({ parent: this }, config));
7867
+ var child = new MotionValue(this.current, __assign({ parent: this }, config));
8141
7868
  if (!this.children)
8142
7869
  this.children = new Set();
8143
7870
  this.children.add(child);
@@ -8579,7 +8306,7 @@ var buildStyleAttr = function (values, styleProp, isStatic) {
8579
8306
  ? transformTemplate({}, styleProp.transform)
8580
8307
  : transformTemplate;
8581
8308
  }
8582
- return buildStyleProperty(__assign$7(__assign$7({}, styleProp), motionValueStyles), !isStatic);
8309
+ return buildStyleProperty(__assign(__assign({}, styleProp), motionValueStyles), !isStatic);
8583
8310
  };
8584
8311
  var useMotionStyles = function (values, styleProp, isStatic, transformValues) {
8585
8312
  if (styleProp === void 0) { styleProp = {}; }
@@ -8633,7 +8360,7 @@ var auto$1 = {
8633
8360
  parse: function (v) { return v; },
8634
8361
  };
8635
8362
  var dimensionTypes = [number, px, percent, degrees, vw, vh, auto$1];
8636
- var valueTypes$1 = __spreadArrays$2(dimensionTypes, [color, complex]);
8363
+ var valueTypes$1 = __spreadArrays(dimensionTypes, [color, complex]);
8637
8364
  var testValueType$1 = function (v) { return function (type) { return type.test(v); }; };
8638
8365
  var getDimensionValueType = function (v) {
8639
8366
  return dimensionTypes.find(testValueType$1(v));
@@ -8686,7 +8413,7 @@ var getDefaultTransition = function (valueKey, to) {
8686
8413
  transitionFactory =
8687
8414
  defaultTransitions$1[valueKey] || defaultTransitions$1.default;
8688
8415
  }
8689
- return __assign$7({ to: to }, transitionFactory(to));
8416
+ return __assign({ to: to }, transitionFactory(to));
8690
8417
  };
8691
8418
 
8692
8419
  /**
@@ -8782,9 +8509,9 @@ var transitionOptionParser = {
8782
8509
  return opts;
8783
8510
  },
8784
8511
  keyframes: function (_a) {
8785
- var from = _a.from, to = _a.to, velocity = _a.velocity, opts = __rest$5(_a, ["from", "to", "velocity"]);
8512
+ var from = _a.from, to = _a.to, velocity = _a.velocity, opts = __rest(_a, ["from", "to", "velocity"]);
8786
8513
  if (opts.values && opts.values[0] === null) {
8787
- var values = __spreadArrays$2(opts.values);
8514
+ var values = __spreadArrays(opts.values);
8788
8515
  values[0] = from;
8789
8516
  opts.values = values;
8790
8517
  }
@@ -8798,7 +8525,7 @@ var transitionOptionParser = {
8798
8525
  },
8799
8526
  };
8800
8527
  var isTransitionDefined = function (_a) {
8801
- 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"]);
8528
+ var when = _a.when, delay = _a.delay, delayChildren = _a.delayChildren, staggerChildren = _a.staggerChildren, staggerDirection = _a.staggerDirection, transition = __rest(_a, ["when", "delay", "delayChildren", "staggerChildren", "staggerDirection"]);
8802
8529
  return Object.keys(transition).length;
8803
8530
  };
8804
8531
  var getTransitionDefinition = function (key, to, transitionDefinition) {
@@ -8808,7 +8535,7 @@ var getTransitionDefinition = function (key, to, transitionDefinition) {
8808
8535
  // and see if there's any props remaining
8809
8536
  if (transitionDefinition === undefined ||
8810
8537
  !isTransitionDefined(transitionDefinition)) {
8811
- return __assign$7({ delay: delay }, getDefaultTransition(key, to));
8538
+ return __assign({ delay: delay }, getDefaultTransition(key, to));
8812
8539
  }
8813
8540
  var valueTransitionDefinition = transitionDefinition[key] ||
8814
8541
  transitionDefinition.default ||
@@ -8825,12 +8552,12 @@ var getTransitionDefinition = function (key, to, transitionDefinition) {
8825
8552
  };
8826
8553
  }
8827
8554
  else if (isKeyframesTarget(to)) {
8828
- return __assign$7(__assign$7({ values: to, duration: 0.8, delay: delay, ease: "linear" }, valueTransitionDefinition), {
8555
+ return __assign(__assign({ values: to, duration: 0.8, delay: delay, ease: "linear" }, valueTransitionDefinition), {
8829
8556
  // This animation must be keyframes if we're animating through an array
8830
8557
  type: "keyframes" });
8831
8558
  }
8832
8559
  else {
8833
- return __assign$7({ type: "tween", to: to,
8560
+ return __assign({ type: "tween", to: to,
8834
8561
  delay: delay }, valueTransitionDefinition);
8835
8562
  }
8836
8563
  };
@@ -8847,12 +8574,12 @@ var getAnimation = function (key, value, target, transition) {
8847
8574
  // for instance 100 to #fff. This might live better in Popmotion.
8848
8575
  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.");
8849
8576
  // Parse the `transition` prop and return options for the Popmotion animation
8850
- var _a = getTransitionDefinition(key, target, transition), _b = _a.type, type = _b === void 0 ? "tween" : _b, transitionDefinition = __rest$5(_a, ["type"]);
8577
+ var _a = getTransitionDefinition(key, target, transition), _b = _a.type, type = _b === void 0 ? "tween" : _b, transitionDefinition = __rest(_a, ["type"]);
8851
8578
  // If this is an animatable pair of values, return an animation, otherwise use `just`
8852
8579
  var actionFactory = isOriginAnimatable && isTargetAnimatable
8853
8580
  ? transitions[type]
8854
8581
  : just$1;
8855
- var opts = preprocessOptions(type, __assign$7({ from: origin, velocity: value.getVelocity() }, transitionDefinition));
8582
+ var opts = preprocessOptions(type, __assign({ from: origin, velocity: value.getVelocity() }, transitionDefinition));
8856
8583
  // Convert duration from Framer Motion's seconds into Popmotion's milliseconds
8857
8584
  if (isDurationAnimation(opts)) {
8858
8585
  if (opts.duration) {
@@ -8870,10 +8597,10 @@ var getAnimation = function (key, value, target, transition) {
8870
8597
  * @internal
8871
8598
  */
8872
8599
  function startAnimation(key, value, target, _a) {
8873
- var _b = _a.delay, delay$1$1 = _b === void 0 ? 0 : _b, transition = __rest$5(_a, ["delay"]);
8600
+ var _b = _a.delay, delay$1$1 = _b === void 0 ? 0 : _b, transition = __rest(_a, ["delay"]);
8874
8601
  return value.start(function (complete) {
8875
8602
  var activeAnimation;
8876
- var _a = getAnimation(key, value, target, transition), animationFactory = _a[0], _b = _a[1], valueDelay = _b.delay, options = __rest$5(_b, ["delay"]);
8603
+ var _a = getAnimation(key, value, target, transition), animationFactory = _a[0], _b = _a[1], valueDelay = _b.delay, options = __rest(_b, ["delay"]);
8877
8604
  if (valueDelay !== undefined) {
8878
8605
  delay$1$1 = valueDelay;
8879
8606
  }
@@ -9019,7 +8746,7 @@ var ValueAnimationControls = /** @class */ (function () {
9019
8746
  var _this = this;
9020
8747
  var _b = _a === void 0 ? {} : _a, _c = _b.isActive, isActive = _c === void 0 ? new Set() : _c, priority = _b.priority;
9021
8748
  var _d = this.resolveVariant(definition), target = _d.target, transitionEnd = _d.transitionEnd;
9022
- target = this.transformValues(__assign$7(__assign$7({}, target), transitionEnd));
8749
+ target = this.transformValues(__assign(__assign({}, target), transitionEnd));
9023
8750
  return Object.keys(target).forEach(function (key) {
9024
8751
  if (isActive.has(key))
9025
8752
  return;
@@ -9109,7 +8836,7 @@ var ValueAnimationControls = /** @class */ (function () {
9109
8836
  // resolve current and velocity
9110
8837
  variant = variant(this.props.custom, getCurrent$1(this.values), getVelocity(this.values));
9111
8838
  }
9112
- var _a = variant.transition, transition = _a === void 0 ? this.defaultTransition : _a, transitionEnd = variant.transitionEnd, target = __rest$5(variant, ["transition", "transitionEnd"]);
8839
+ var _a = variant.transition, transition = _a === void 0 ? this.defaultTransition : _a, transitionEnd = variant.transitionEnd, target = __rest(variant, ["transition", "transitionEnd"]);
9113
8840
  return { transition: transition, transitionEnd: transitionEnd, target: target };
9114
8841
  };
9115
8842
  /**
@@ -9200,7 +8927,7 @@ var ValueAnimationControls = /** @class */ (function () {
9200
8927
  ValueAnimationControls.prototype.applyVariantLabels = function (variantLabelList) {
9201
8928
  var _this = this;
9202
8929
  var isActive = new Set();
9203
- var reversedList = __spreadArrays$2(variantLabelList).reverse();
8930
+ var reversedList = __spreadArrays(variantLabelList).reverse();
9204
8931
  reversedList.forEach(function (key) {
9205
8932
  var _a = _this.resolveVariant(_this.variants[key]), target = _a.target, transitionEnd = _a.transitionEnd;
9206
8933
  if (transitionEnd) {
@@ -9271,7 +8998,7 @@ var ValueAnimationControls = /** @class */ (function () {
9271
8998
  if (this.isAnimating.has(key))
9272
8999
  continue;
9273
9000
  this.isAnimating.add(key);
9274
- animations.push(startAnimation(key, value, valueTarget, __assign$7({ delay: delay }, transition)));
9001
+ animations.push(startAnimation(key, value, valueTarget, __assign({ delay: delay }, transition)));
9275
9002
  }
9276
9003
  var allAnimations = Promise.all(animations);
9277
9004
  return transitionEnd
@@ -9282,7 +9009,7 @@ var ValueAnimationControls = /** @class */ (function () {
9282
9009
  };
9283
9010
  ValueAnimationControls.prototype.animateVariantLabels = function (variantLabels, opts) {
9284
9011
  var _this = this;
9285
- var animations = __spreadArrays$2(variantLabels).reverse()
9012
+ var animations = __spreadArrays(variantLabels).reverse()
9286
9013
  .map(function (label) { return _this.animateVariant(label, opts); });
9287
9014
  return Promise.all(animations);
9288
9015
  };
@@ -9726,7 +9453,7 @@ function useValueAnimationControls(config, props, subscribeToParentControls) {
9726
9453
  // Remove reference to onAnimationComplete from controls. All the MotionValues
9727
9454
  // are unsubscribed from this component separately. We let animations run out
9728
9455
  // as they might be animating other components.
9729
- var onAnimationComplete = props.onAnimationComplete, unmountProps = __rest$5(props, ["onAnimationComplete"]);
9456
+ var onAnimationComplete = props.onAnimationComplete, unmountProps = __rest(props, ["onAnimationComplete"]);
9730
9457
  controls.setProps(unmountProps);
9731
9458
  parentControls && parentControls.removeChild(controls);
9732
9459
  };
@@ -10211,7 +9938,7 @@ var PanSession = /** @class */ (function () {
10211
9938
  return;
10212
9939
  var point = info.point;
10213
9940
  var timestamp = getFrameData().timestamp;
10214
- _this.history.push(__assign$7(__assign$7({}, point), { timestamp: timestamp }));
9941
+ _this.history.push(__assign(__assign({}, point), { timestamp: timestamp }));
10215
9942
  var _a = _this.handlers, onStart = _a.onStart, onMove = _a.onMove;
10216
9943
  if (!isPanStarted) {
10217
9944
  onStart && onStart(_this.lastMoveEvent, info);
@@ -10228,7 +9955,7 @@ var PanSession = /** @class */ (function () {
10228
9955
  var initialInfo = transformPoint(info, this.transformPagePoint);
10229
9956
  var point = initialInfo.point;
10230
9957
  var timestamp = getFrameData().timestamp;
10231
- this.history = [__assign$7(__assign$7({}, point), { timestamp: timestamp })];
9958
+ this.history = [__assign(__assign({}, point), { timestamp: timestamp })];
10232
9959
  var onSessionStart = handlers.onSessionStart;
10233
9960
  onSessionStart &&
10234
9961
  onSessionStart(event, getPanInfo(initialInfo, this.history));
@@ -10556,7 +10283,7 @@ var Gestures = {
10556
10283
  return gestureProps.some(function (key) { return props.hasOwnProperty(key); });
10557
10284
  },
10558
10285
  Component: makeRenderlessComponent(function (_a) {
10559
- var innerRef = _a.innerRef, props = __rest$5(_a, ["innerRef"]);
10286
+ var innerRef = _a.innerRef, props = __rest(_a, ["innerRef"]);
10560
10287
  useGestures(props, innerRef);
10561
10288
  }),
10562
10289
  };
@@ -10796,8 +10523,8 @@ var ComponentDragControls = /** @class */ (function () {
10796
10523
  };
10797
10524
  ComponentDragControls.prototype.updateProps = function (_a) {
10798
10525
  var _this = this;
10799
- 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"]);
10800
- this.props = __assign$7({ drag: drag,
10526
+ 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"]);
10527
+ this.props = __assign({ drag: drag,
10801
10528
  dragDirectionLock: dragDirectionLock,
10802
10529
  dragPropagation: dragPropagation,
10803
10530
  dragConstraints: dragConstraints,
@@ -10853,7 +10580,7 @@ var ComponentDragControls = /** @class */ (function () {
10853
10580
  var bounceStiffness = dragElastic ? 200 : 1000000;
10854
10581
  var bounceDamping = dragElastic ? 40 : 10000000;
10855
10582
  var animationControls = _dragTransitionControls || _this.controls;
10856
- var inertia = __assign$7(__assign$7({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness: bounceStiffness,
10583
+ var inertia = __assign(__assign({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness: bounceStiffness,
10857
10584
  bounceDamping: bounceDamping, timeConstant: 750, restDelta: 1 }, dragTransition), transition);
10858
10585
  var externalAxisMotionValue = axis === "x" ? _dragValueX : _dragValueY;
10859
10586
  // If we're not animating on an externally-provided `MotionValue` we can use the
@@ -10934,7 +10661,7 @@ function bothAxis(handler) {
10934
10661
  return [handler("x"), handler("y")];
10935
10662
  }
10936
10663
  function convertPanToDrag(info, point) {
10937
- return __assign$7(__assign$7({}, info), { point: {
10664
+ return __assign(__assign({}, info), { point: {
10938
10665
  x: point.x ? point.x.get() : 0,
10939
10666
  y: point.y ? point.y.get() : 0,
10940
10667
  } });
@@ -11045,7 +10772,7 @@ function useDrag(props, ref, values, controls) {
11045
10772
  var groupDragControls = props.dragControls;
11046
10773
  var transformPagePoint = useContext(MotionPluginContext).transformPagePoint;
11047
10774
  var dragControls = useConstant(function () { return new ComponentDragControls({ ref: ref, values: values, controls: controls }); });
11048
- dragControls.updateProps(__assign$7(__assign$7({}, props), { transformPagePoint: transformPagePoint }));
10775
+ dragControls.updateProps(__assign(__assign({}, props), { transformPagePoint: transformPagePoint }));
11049
10776
  useEffect$1(function () { return groupDragControls && groupDragControls.subscribe(dragControls); }, [dragControls]);
11050
10777
  useEffect$1(function () { return dragControls.mount(ref.current); }, []);
11051
10778
  }
@@ -11054,7 +10781,7 @@ var Drag = {
11054
10781
  key: "drag",
11055
10782
  shouldRender: function (props) { return !!props.drag; },
11056
10783
  Component: makeRenderlessComponent(function (_a) {
11057
- var innerRef = _a.innerRef, values = _a.values, controls = _a.controls, props = __rest$5(_a, ["innerRef", "values", "controls"]);
10784
+ var innerRef = _a.innerRef, values = _a.values, controls = _a.controls, props = __rest(_a, ["innerRef", "values", "controls"]);
11058
10785
  return useDrag(props, innerRef, values, controls);
11059
10786
  }),
11060
10787
  };
@@ -11106,14 +10833,14 @@ function getVariableValue(current, element, depth) {
11106
10833
  * @internal
11107
10834
  */
11108
10835
  function resolveCSSVariables(values, ref, _a, transitionEnd) {
11109
- var target = __rest$5(_a, []);
10836
+ var target = __rest(_a, []);
11110
10837
  var element = ref.current;
11111
10838
  if (!(element instanceof HTMLElement))
11112
10839
  return { target: target, transitionEnd: transitionEnd };
11113
10840
  // If `transitionEnd` isn't `undefined`, clone it. We could clone `target` and `transitionEnd`
11114
10841
  // only if they change but I think this reads clearer and this isn't a performance-critical path.
11115
10842
  if (transitionEnd) {
11116
- transitionEnd = __assign$7({}, transitionEnd);
10843
+ transitionEnd = __assign({}, transitionEnd);
11117
10844
  }
11118
10845
  // Go through existing `MotionValue`s and ensure any existing CSS variables are resolved
11119
10846
  values.forEach(function (value) {
@@ -11270,8 +10997,8 @@ var convertChangedValueTypes = function (target, values, element, elementStyler,
11270
10997
  };
11271
10998
  var checkAndConvertChangedValueTypes = function (values, ref, target, transitionEnd) {
11272
10999
  if (transitionEnd === void 0) { transitionEnd = {}; }
11273
- target = __assign$7({}, target);
11274
- transitionEnd = __assign$7({}, transitionEnd);
11000
+ target = __assign({}, target);
11001
+ transitionEnd = __assign({}, transitionEnd);
11275
11002
  var element = ref.current;
11276
11003
  var elementStyler = index(element);
11277
11004
  var targetPositionalKeys = Object.keys(target).filter(isPositionalKey$1);
@@ -11499,7 +11226,7 @@ function calcAxisDelta(prev, next, names) {
11499
11226
  return delta;
11500
11227
  }
11501
11228
  function calcDelta(prev, next) {
11502
- var delta = __assign$7(__assign$7({}, calcAxisDelta(prev, next, axisLabels.x)), calcAxisDelta(prev, next, axisLabels.y));
11229
+ var delta = __assign(__assign({}, calcAxisDelta(prev, next, axisLabels.x)), calcAxisDelta(prev, next, axisLabels.y));
11503
11230
  return delta;
11504
11231
  }
11505
11232
  var offset = {
@@ -11543,7 +11270,7 @@ function getTransition(_a) {
11543
11270
  return layoutTransition || positionTransition;
11544
11271
  }
11545
11272
  var LayoutAnimation = /** @class */ (function (_super) {
11546
- __extends$2(LayoutAnimation, _super);
11273
+ __extends(LayoutAnimation, _super);
11547
11274
  function LayoutAnimation() {
11548
11275
  return _super !== null && _super.apply(this, arguments) || this;
11549
11276
  }
@@ -11610,11 +11337,11 @@ var LayoutAnimation = /** @class */ (function (_super) {
11610
11337
  if (!delta[deltaKey])
11611
11338
  return;
11612
11339
  var baseTransition = typeof transitionDefinition === "boolean"
11613
- ? __assign$7({}, getDefaultLayoutTransition(isPositionOnly)) : transitionDefinition;
11340
+ ? __assign({}, getDefaultLayoutTransition(isPositionOnly)) : transitionDefinition;
11614
11341
  var value = values.get(transformKey, targetValue);
11615
11342
  var velocity = value.getVelocity();
11616
11343
  transition[transformKey] = baseTransition[transformKey]
11617
- ? __assign$7({}, baseTransition[transformKey]) : __assign$7({}, baseTransition);
11344
+ ? __assign({}, baseTransition[transformKey]) : __assign({}, baseTransition);
11618
11345
  if (transition[transformKey].velocity === undefined) {
11619
11346
  transition[transformKey].velocity = velocity || 0;
11620
11347
  }
@@ -11755,9 +11482,9 @@ var hasUpdated = function (prev, next) {
11755
11482
  };
11756
11483
  function targetWithoutTransition(_a, mergeTransitionEnd) {
11757
11484
  if (mergeTransitionEnd === void 0) { mergeTransitionEnd = false; }
11758
- var transition = _a.transition, transitionEnd = _a.transitionEnd, target = __rest$5(_a, ["transition", "transitionEnd"]);
11485
+ var transition = _a.transition, transitionEnd = _a.transitionEnd, target = __rest(_a, ["transition", "transitionEnd"]);
11759
11486
  return mergeTransitionEnd
11760
- ? __assign$7(__assign$7({}, target), transitionEnd)
11487
+ ? __assign(__assign({}, target), transitionEnd)
11761
11488
  : target;
11762
11489
  }
11763
11490
  /**
@@ -11809,9 +11536,9 @@ function useAnimateProp(targetAndTransition, controls, values, defaultTransition
11809
11536
  }
11810
11537
  }
11811
11538
  isInitialRender.current = false;
11812
- prevValues.current = __assign$7(__assign$7({}, prevValues.current), finalTarget);
11539
+ prevValues.current = __assign(__assign({}, prevValues.current), finalTarget);
11813
11540
  if (Object.keys(targetToAnimate).length) {
11814
- controls.start(__assign$7(__assign$7({}, targetToAnimate), { transition: targetAndTransition.transition || defaultTransition, transitionEnd: targetAndTransition.transitionEnd }));
11541
+ controls.start(__assign(__assign({}, targetToAnimate), { transition: targetAndTransition.transition || defaultTransition, transitionEnd: targetAndTransition.transitionEnd }));
11815
11542
  }
11816
11543
  }, [targetAndTransition]);
11817
11544
  }
@@ -11985,7 +11712,7 @@ var Exit = {
11985
11712
  useEffect$1(function () {
11986
11713
  if (!isPresent) {
11987
11714
  if (!isPlayingExitAnimation.current && exit) {
11988
- controls.setProps(__assign$7(__assign$7({}, props), { custom: custom }));
11715
+ controls.setProps(__assign(__assign({}, props), { custom: custom }));
11989
11716
  controls.start(exit).then(onExitComplete);
11990
11717
  }
11991
11718
  isPlayingExitAnimation.current = true;
@@ -12056,7 +11783,7 @@ var buildHTMLProps = function (values, style, isStatic, isDrag) {
12056
11783
  var buildSVGProps = function (values, style) {
12057
11784
  var motionValueStyles = resolveCurrent(values);
12058
11785
  var props = buildSVGAttrs(motionValueStyles, undefined, undefined, undefined, undefined, false);
12059
- props.style = __assign$7(__assign$7({}, style), props.style);
11786
+ props.style = __assign(__assign({}, style), props.style);
12060
11787
  return props;
12061
11788
  };
12062
11789
  var functionalityComponents = [Layout, Drag, Gestures, Exit];
@@ -12075,7 +11802,7 @@ function createDomMotionConfig(Component) {
12075
11802
  var staticVisualStyles = isSVG
12076
11803
  ? buildSVGProps(values, style)
12077
11804
  : buildHTMLProps(values, style, isStatic, !!props.drag);
12078
- return createElement(Component, __assign$7(__assign$7(__assign$7({}, forwardedProps), { ref: ref }), staticVisualStyles));
11805
+ return createElement(Component, __assign(__assign(__assign({}, forwardedProps), { ref: ref }), staticVisualStyles));
12079
11806
  },
12080
11807
  /**
12081
11808
  * loadFunctionalityComponents gets used by the `motion` component
@@ -12106,7 +11833,7 @@ function createDomMotionConfig(Component) {
12106
11833
  for (var i = 0; i < numFunctionalityComponents; i++) {
12107
11834
  var _a = functionalityComponents[i], shouldRender = _a.shouldRender, key = _a.key, Component_1 = _a.Component;
12108
11835
  if (shouldRender(props, context)) {
12109
- activeComponents.push(createElement(Component_1, __assign$7({ key: key }, props, { parentContext: context, values: values, controls: controls, innerRef: ref })));
11836
+ activeComponents.push(createElement(Component_1, __assign({ key: key }, props, { parentContext: context, values: values, controls: controls, innerRef: ref })));
12110
11837
  }
12111
11838
  }
12112
11839
  return activeComponents;
@@ -12158,7 +11885,7 @@ var svgMotionComponents = svgElements.reduce(function (acc, Component) {
12158
11885
  *
12159
11886
  * @public
12160
11887
  */
12161
- var motion = __assign$7(__assign$7({
11888
+ var motion = __assign(__assign({
12162
11889
  /**
12163
11890
  * Convert a custom React component into a `motion` component.
12164
11891
  *
@@ -12210,7 +11937,7 @@ var PresenceChild = function (_a) {
12210
11937
  return function () { return numPresenceChildren.current--; };
12211
11938
  };
12212
11939
  }, [isPresent]);
12213
- return (createElement(PresenceContext.Provider, { value: __assign$7(__assign$7({}, context), { register: register }) }, children));
11940
+ return (createElement(PresenceContext.Provider, { value: __assign(__assign({}, context), { register: register }) }, children));
12214
11941
  };
12215
11942
 
12216
11943
  function getChildKey(child) {
@@ -12326,7 +12053,7 @@ var AnimatePresence = function (_a) {
12326
12053
  return (createElement(Fragment$1, null, filteredChildren.map(function (child) { return (createElement(PresenceChild, { key: getChildKey(child), isPresent: true, initial: initial ? undefined : false }, child)); })));
12327
12054
  }
12328
12055
  // If this is a subsequent render, deal with entering and exiting children
12329
- var childrenToRender = __spreadArrays$2(filteredChildren);
12056
+ var childrenToRender = __spreadArrays(filteredChildren);
12330
12057
  // Diff the keys of the currently-present and target children to update our
12331
12058
  // exiting list.
12332
12059
  var presentKeys = presentChildren.current.map(getChildKey);
@@ -13047,7 +12774,11 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
13047
12774
  extraDisabledStyles = _ref2.extraDisabledStyles,
13048
12775
  rest = _objectWithoutProperties(_ref2, _excluded$h);
13049
12776
  var themeContext = useContext(ThemeContext);
12777
+ console.log("theme context is", themeContext);
12778
+ console.log("fallback values are", fallbackValues$1);
12779
+ console.log("variant is", variant);
13050
12780
  var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
12781
+ console.log("theme values are", themeValues);
13051
12782
  var isMobile = themeContext.isMobile;
13052
12783
  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 ");
13053
12784
  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 ");
@@ -19330,14 +19061,7 @@ var Alert = function Alert(_ref) {
19330
19061
  }, showQuitLink && /*#__PURE__*/React.createElement(Box, {
19331
19062
  padding: "0",
19332
19063
  minHeight: "100%",
19333
- onClick: onLinkClick,
19334
- onKeyDown: function onKeyDown(e) {
19335
- return e.key === "Enter" && onLinkClick();
19336
- },
19337
- role: "button",
19338
- tabIndex: 0,
19339
- "aria-label": "Close Alert: ".concat(heading),
19340
- extraStyles: "cursor: pointer;"
19064
+ onClick: onLinkClick
19341
19065
  }, /*#__PURE__*/React.createElement(IconQuit, null))))));
19342
19066
  return /*#__PURE__*/React.createElement(Box, _extends({
19343
19067
  padding: padding,
@@ -49649,7 +49373,7 @@ var Timeout = function Timeout(_ref) {
49649
49373
  };
49650
49374
  var Timeout$1 = withWindowSize(Timeout);
49651
49375
 
49652
- var _excluded$F = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
49376
+ var _excluded$F = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive"];
49653
49377
  var VARIANTS = {
49654
49378
  SUCCESS: "success",
49655
49379
  ERROR: "error"
@@ -49672,28 +49396,11 @@ var ToastNotification = function ToastNotification(_ref) {
49672
49396
  childGap = _ref$childGap === void 0 ? "1rem" : _ref$childGap,
49673
49397
  backgroundColor = _ref.backgroundColor,
49674
49398
  _ref$role = _ref.role,
49675
- role = _ref$role === void 0 ? "status" : _ref$role,
49399
+ role = _ref$role === void 0 ? "alert" : _ref$role,
49676
49400
  _ref$ariaLive = _ref.ariaLive,
49677
49401
  ariaLive = _ref$ariaLive === void 0 ? "polite" : _ref$ariaLive,
49678
- screenReaderMessage = _ref.screenReaderMessage,
49679
- _ref$showScreenReader = _ref.showScreenReaderMessage,
49680
- showScreenReaderMessage = _ref$showScreenReader === void 0 ? true : _ref$showScreenReader,
49681
49402
  rest = _objectWithoutProperties(_ref, _excluded$F);
49682
- var screenReaderMessageRef = useRef();
49683
- var LIVEREGION_TRANSITION_DELAY = 1000;
49684
- useEffect$1(function () {
49685
- if (showScreenReaderMessage) {
49686
- var timeout = setTimeout(function () {
49687
- if (screenReaderMessageRef.current) {
49688
- screenReaderMessageRef.current.textContent = "".concat(screenReaderMessage ? screenReaderMessage : message ? message : "");
49689
- }
49690
- }, LIVEREGION_TRANSITION_DELAY);
49691
- return function () {
49692
- return clearTimeout(timeout);
49693
- };
49694
- }
49695
- }, [showScreenReaderMessage, screenReaderMessage, message]);
49696
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, _extends({
49403
+ return /*#__PURE__*/React.createElement(Box, _extends({
49697
49404
  onClick: closeToastNotification,
49698
49405
  onKeyDown: function onKeyDown(e) {
49699
49406
  return e.key === "Enter" && closeToastNotification();
@@ -49706,7 +49413,9 @@ var ToastNotification = function ToastNotification(_ref) {
49706
49413
  padding: "0rem 1rem",
49707
49414
  borderRadius: "4px",
49708
49415
  boxShadow: generateShadows().standard.base,
49709
- extraStyles: "\n display: ".concat(toastOpen ? "block" : "none", ";\n position: fixed; bottom: 4rem; left: 4rem;\n ").concat(extraStyles, ";\n cursor: pointer;\n ")
49416
+ extraStyles: "\n display: ".concat(toastOpen ? "block" : "none", ";\n position: fixed; bottom: 4rem; left: 4rem;\n ").concat(extraStyles, ";\n cursor: pointer;\n "),
49417
+ role: role,
49418
+ "aria-live": ariaLive
49710
49419
  }, rest), /*#__PURE__*/React.createElement(Cluster, {
49711
49420
  align: "center",
49712
49421
  childGap: childGap,
@@ -49720,13 +49429,7 @@ var ToastNotification = function ToastNotification(_ref) {
49720
49429
  }, /*#__PURE__*/React.createElement(Paragraph$1, {
49721
49430
  weight: FONT_WEIGHT_SEMIBOLD,
49722
49431
  extraStyles: "word-break: break-word;"
49723
- }, message))), /*#__PURE__*/React.createElement(IconQuitLarge, null))), showScreenReaderMessage && /*#__PURE__*/React.createElement("span", {
49724
- ref: screenReaderMessageRef,
49725
- style: SCREEN_READER_ONLY,
49726
- role: role,
49727
- "aria-live": ariaLive,
49728
- "aria-atomic": true
49729
- }));
49432
+ }, message))), /*#__PURE__*/React.createElement(IconQuitLarge, null)));
49730
49433
  };
49731
49434
 
49732
49435
  var fontWeight$8 = "600";