@ntbjs/react-components 2.0.0-rc.11 → 2.0.0-rc.13

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 (183) hide show
  1. package/cjs/components/data/Alert/Alert.js +8 -10
  2. package/cjs/components/data/Alert/Alert.styled.js +17 -10
  3. package/cjs/components/data/Badge/Badge.js +13 -13
  4. package/cjs/components/data/Badge/Badge.styled.js +37 -26
  5. package/cjs/components/data/Popover/Popover.js +4 -2
  6. package/cjs/components/data/Tab/Tab.styled.js +6 -1
  7. package/cjs/components/data/Tabs/Tabs.js +22 -12
  8. package/cjs/components/data/Tabs/Tabs.styled.js +29 -16
  9. package/cjs/components/data/Tooltip/Tooltip.js +3 -1
  10. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.js +6 -6
  11. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +24 -15
  12. package/cjs/components/inputs/ActionButton/ActionButton.js +5 -3
  13. package/cjs/components/inputs/ActionButton/ActionButton.styled.js +17 -8
  14. package/cjs/components/inputs/Button/Button.js +45 -38
  15. package/cjs/components/inputs/Button/Button.styled.js +84 -38
  16. package/cjs/components/inputs/Checkbox/Checkbox.js +1 -1
  17. package/cjs/components/inputs/Checkbox/Checkbox.styled.js +23 -8
  18. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +2 -2
  19. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +46 -35
  20. package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +3 -4
  21. package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +36 -25
  22. package/cjs/components/inputs/CompactTextInput/CompactTextInput.js +5 -5
  23. package/cjs/components/inputs/CompactTextInput/CompactTextInput.styled.js +79 -25
  24. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +24 -7
  25. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +1 -1
  26. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +38 -13
  27. package/cjs/components/inputs/MultiSelect/MultiSelect.js +5 -48
  28. package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +27 -31
  29. package/cjs/components/inputs/Radio/Radio.styled.js +9 -2
  30. package/cjs/components/inputs/Switch/Switch.js +1 -1
  31. package/cjs/components/inputs/Switch/Switch.styled.js +22 -7
  32. package/cjs/components/inputs/TextArea/TextArea.js +10 -20
  33. package/cjs/components/inputs/TextArea/TextArea.styled.js +208 -133
  34. package/cjs/components/inputs/TextInput/TextInput.js +21 -22
  35. package/cjs/components/inputs/TextInput/TextInput.styled.js +58 -45
  36. package/cjs/components/layout/InputGroup/InputGroup.styled.js +6 -1
  37. package/cjs/components/layout/SectionSeparator/SectionSeparator.js +7 -7
  38. package/cjs/components/layout/SectionSeparator/SectionSeparator.styled.js +12 -5
  39. package/cjs/components/widgets/AssetAction/AssetAction.js +1 -1
  40. package/cjs/components/widgets/AssetAction/AssetAction.styled.js +16 -5
  41. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +6 -1
  42. package/cjs/components/widgets/AssetGallery/AssetGallery.js +5 -1
  43. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +9 -6
  44. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +12 -3
  45. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +7 -4
  46. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +80 -33
  47. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +1 -1
  48. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +22 -22
  49. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +2 -2
  50. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +18 -7
  51. package/cjs/components/widgets/ContextMenu/ContextMenu.js +2 -1
  52. package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +6 -1
  53. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +4 -4
  54. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +16 -7
  55. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +6 -1
  56. package/cjs/components/widgets/InfoCard/InfoCard.js +17 -9
  57. package/cjs/components/widgets/InfoCard/InfoCard.styled.js +40 -13
  58. package/cjs/components/widgets/ProgressBar/ProgressBar.js +43 -22
  59. package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +78 -22
  60. package/cjs/components/widgets/SummaryCard/SummaryCard.js +9 -8
  61. package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +46 -19
  62. package/cjs/components/widgets/widgets/index.js +0 -2
  63. package/cjs/node_modules/@emotion/cache/dist/{emotion-cache.browser.esm.js → emotion-cache.esm.js} +61 -3
  64. package/cjs/node_modules/@emotion/react/dist/{emotion-element-f0de968e.browser.esm.js → emotion-element-d59e098f.esm.js} +54 -12
  65. package/cjs/node_modules/@emotion/react/dist/{emotion-react.browser.esm.js → emotion-react.esm.js} +10 -7
  66. package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/{emotion-use-insertion-effect-with-fallbacks.browser.esm.js → emotion-use-insertion-effect-with-fallbacks.esm.js} +3 -1
  67. package/cjs/node_modules/@emotion/utils/dist/{emotion-utils.browser.esm.js → emotion-utils.esm.js} +12 -3
  68. package/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +20 -0
  69. package/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +20 -12
  70. package/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +1 -1
  71. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +4 -2
  72. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +9 -8
  73. package/cjs/node_modules/@restart/hooks/{esm → lib}/useMergedRefs.js +8 -11
  74. package/cjs/node_modules/@restart/hooks/{esm → lib}/useUpdateEffect.js +2 -4
  75. package/cjs/node_modules/react/cjs/react.development.js +125 -82
  76. package/cjs/node_modules/react/cjs/react.production.js +88 -92
  77. package/cjs/node_modules/react-dom/cjs/react-dom.development.js +1 -1
  78. package/cjs/node_modules/react-dom/cjs/react-dom.production.js +1 -1
  79. package/cjs/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +5 -5
  80. package/cjs/node_modules/react-select/dist/{Select-aab027f3.esm.js → Select-ef7c0426.esm.js} +23 -17
  81. package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +47 -47
  82. package/cjs/node_modules/react-select/dist/{useCreatable-84008237.esm.js → useCreatable-09aaeb9a.esm.js} +3 -3
  83. package/cjs/node_modules/use-isomorphic-layout-effect/dist/{use-isomorphic-layout-effect.browser.esm.js → use-isomorphic-layout-effect.esm.js} +4 -1
  84. package/cjs/styles/utils/colors-export.js +41 -0
  85. package/cjs/utils/defaultTheme.js +28 -5
  86. package/esm/components/data/Alert/Alert.js +8 -10
  87. package/esm/components/data/Alert/Alert.styled.js +17 -10
  88. package/esm/components/data/Badge/Badge.js +13 -13
  89. package/esm/components/data/Badge/Badge.styled.js +37 -26
  90. package/esm/components/data/Popover/Popover.js +4 -2
  91. package/esm/components/data/Tab/Tab.styled.js +6 -1
  92. package/esm/components/data/Tabs/Tabs.js +23 -13
  93. package/esm/components/data/Tabs/Tabs.styled.js +29 -16
  94. package/esm/components/data/Tooltip/Tooltip.js +3 -1
  95. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.js +6 -6
  96. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +24 -15
  97. package/esm/components/inputs/ActionButton/ActionButton.js +5 -3
  98. package/esm/components/inputs/ActionButton/ActionButton.styled.js +17 -8
  99. package/esm/components/inputs/Button/Button.js +45 -38
  100. package/esm/components/inputs/Button/Button.styled.js +84 -38
  101. package/esm/components/inputs/Checkbox/Checkbox.js +1 -1
  102. package/esm/components/inputs/Checkbox/Checkbox.styled.js +23 -8
  103. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +4 -4
  104. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +46 -35
  105. package/esm/components/inputs/CompactStarRating/CompactStarRating.js +3 -4
  106. package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +36 -25
  107. package/esm/components/inputs/CompactTextInput/CompactTextInput.js +5 -5
  108. package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +79 -25
  109. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +24 -7
  110. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +1 -1
  111. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +38 -13
  112. package/esm/components/inputs/MultiSelect/MultiSelect.js +6 -49
  113. package/esm/components/inputs/MultiSelect/MultiSelect.styled.js +28 -28
  114. package/esm/components/inputs/Radio/Radio.styled.js +9 -2
  115. package/esm/components/inputs/Switch/Switch.js +1 -1
  116. package/esm/components/inputs/Switch/Switch.styled.js +22 -7
  117. package/esm/components/inputs/TextArea/TextArea.js +10 -20
  118. package/esm/components/inputs/TextArea/TextArea.styled.js +208 -133
  119. package/esm/components/inputs/TextInput/TextInput.js +21 -22
  120. package/esm/components/inputs/TextInput/TextInput.styled.js +58 -45
  121. package/esm/components/layout/InputGroup/InputGroup.styled.js +6 -1
  122. package/esm/components/layout/SectionSeparator/SectionSeparator.js +7 -7
  123. package/esm/components/layout/SectionSeparator/SectionSeparator.styled.js +12 -5
  124. package/esm/components/widgets/AssetAction/AssetAction.js +1 -1
  125. package/esm/components/widgets/AssetAction/AssetAction.styled.js +16 -5
  126. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +6 -1
  127. package/esm/components/widgets/AssetGallery/AssetGallery.js +5 -1
  128. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +9 -6
  129. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +12 -3
  130. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +7 -4
  131. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +80 -33
  132. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +1 -1
  133. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +22 -22
  134. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +2 -2
  135. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +18 -7
  136. package/esm/components/widgets/ContextMenu/ContextMenu.js +2 -1
  137. package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +6 -1
  138. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +4 -4
  139. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +16 -7
  140. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +6 -1
  141. package/esm/components/widgets/InfoCard/InfoCard.js +10 -2
  142. package/esm/components/widgets/InfoCard/InfoCard.styled.js +40 -13
  143. package/esm/components/widgets/ProgressBar/ProgressBar.js +31 -10
  144. package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +77 -23
  145. package/esm/components/widgets/SummaryCard/SummaryCard.js +9 -8
  146. package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +46 -19
  147. package/esm/components/widgets/widgets/index.js +0 -1
  148. package/esm/node_modules/@emotion/cache/dist/{emotion-cache.browser.esm.js → emotion-cache.esm.js} +61 -3
  149. package/esm/node_modules/@emotion/react/dist/{emotion-element-f0de968e.browser.esm.js → emotion-element-d59e098f.esm.js} +47 -5
  150. package/esm/node_modules/@emotion/react/dist/{emotion-react.browser.esm.js → emotion-react.esm.js} +3 -3
  151. package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/{emotion-use-insertion-effect-with-fallbacks.browser.esm.js → emotion-use-insertion-effect-with-fallbacks.esm.js} +3 -1
  152. package/esm/node_modules/@emotion/utils/dist/{emotion-utils.browser.esm.js → emotion-utils.esm.js} +12 -3
  153. package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +16 -0
  154. package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +20 -12
  155. package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +4 -4
  156. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +4 -2
  157. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +9 -8
  158. package/esm/node_modules/@restart/hooks/{esm → lib}/useMergedRefs.js +8 -11
  159. package/esm/node_modules/@restart/hooks/{esm → lib}/useUpdateEffect.js +2 -4
  160. package/esm/node_modules/react/cjs/react.development.js +125 -82
  161. package/esm/node_modules/react/cjs/react.production.js +88 -92
  162. package/esm/node_modules/react-dom/cjs/react-dom.development.js +1 -1
  163. package/esm/node_modules/react-dom/cjs/react-dom.production.js +1 -1
  164. package/esm/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +3 -3
  165. package/esm/node_modules/react-select/dist/{Select-aab027f3.esm.js → Select-ef7c0426.esm.js} +12 -6
  166. package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +2 -2
  167. package/esm/node_modules/react-select/dist/{useCreatable-84008237.esm.js → useCreatable-09aaeb9a.esm.js} +1 -1
  168. package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +9 -0
  169. package/esm/styles/utils/colors-export.js +37 -0
  170. package/esm/utils/defaultTheme.js +28 -5
  171. package/package.json +16 -22
  172. package/styles/utils/colors-export.js +35 -0
  173. package/cjs/components/widgets/Instructions/Instructions.js +0 -217
  174. package/cjs/components/widgets/Instructions/Instructions.styled.js +0 -47
  175. package/cjs/components/widgets/Instructions/widgets/Instructions/index.js +0 -9
  176. package/cjs/styles/utils/colors.scss.js +0 -11
  177. package/esm/components/widgets/Instructions/Instructions.js +0 -213
  178. package/esm/components/widgets/Instructions/Instructions.styled.js +0 -36
  179. package/esm/components/widgets/Instructions/widgets/Instructions/index.js +0 -1
  180. package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -6
  181. package/esm/styles/utils/colors.scss.js +0 -7
  182. package/styles/config.scss +0 -37
  183. /package/styles/utils/{colors.scss → .colors.scss} +0 -0
@@ -61,6 +61,7 @@ var react_development = require('../../../_virtual/react.development.js');
61
61
  this.refs = emptyObject;
62
62
  this.updater = updater || ReactNoopUpdateQueue;
63
63
  }
64
+ function noop() {}
64
65
  function testStringCoercion(value) {
65
66
  return "" + value;
66
67
  }
@@ -120,7 +121,7 @@ var react_development = require('../../../_virtual/react.development.js');
120
121
  case REACT_PORTAL_TYPE:
121
122
  return "Portal";
122
123
  case REACT_CONTEXT_TYPE:
123
- return (type.displayName || "Context") + ".Provider";
124
+ return type.displayName || "Context";
124
125
  case REACT_CONSUMER_TYPE:
125
126
  return (type._context.displayName || "Context") + ".Consumer";
126
127
  case REACT_FORWARD_REF_TYPE:
@@ -200,17 +201,8 @@ var react_development = require('../../../_virtual/react.development.js');
200
201
  componentName = this.props.ref;
201
202
  return void 0 !== componentName ? componentName : null;
202
203
  }
203
- function ReactElement(
204
- type,
205
- key,
206
- self,
207
- source,
208
- owner,
209
- props,
210
- debugStack,
211
- debugTask
212
- ) {
213
- self = props.ref;
204
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
205
+ var refProp = props.ref;
214
206
  type = {
215
207
  $$typeof: REACT_ELEMENT_TYPE,
216
208
  type: type,
@@ -218,7 +210,7 @@ var react_development = require('../../../_virtual/react.development.js');
218
210
  props: props,
219
211
  _owner: owner
220
212
  };
221
- null !== (void 0 !== self ? self : null)
213
+ null !== (void 0 !== refProp ? refProp : null)
222
214
  ? Object.defineProperty(type, "ref", {
223
215
  enumerable: !1,
224
216
  get: elementRefGetterWithDeprecationWarning
@@ -256,10 +248,8 @@ var react_development = require('../../../_virtual/react.development.js');
256
248
  newKey = ReactElement(
257
249
  oldElement.type,
258
250
  newKey,
259
- void 0,
260
- void 0,
261
- oldElement._owner,
262
251
  oldElement.props,
252
+ oldElement._owner,
263
253
  oldElement._debugStack,
264
254
  oldElement._debugTask
265
255
  );
@@ -267,6 +257,18 @@ var react_development = require('../../../_virtual/react.development.js');
267
257
  (newKey._store.validated = oldElement._store.validated);
268
258
  return newKey;
269
259
  }
260
+ function validateChildKeys(node) {
261
+ isValidElement(node)
262
+ ? node._store && (node._store.validated = 1)
263
+ : "object" === typeof node &&
264
+ null !== node &&
265
+ node.$$typeof === REACT_LAZY_TYPE &&
266
+ ("fulfilled" === node._payload.status
267
+ ? isValidElement(node._payload.value) &&
268
+ node._payload.value._store &&
269
+ (node._payload.value._store.validated = 1)
270
+ : node._store && (node._store.validated = 1));
271
+ }
270
272
  function isValidElement(object) {
271
273
  return (
272
274
  "object" === typeof object &&
@@ -290,7 +292,6 @@ var react_development = require('../../../_virtual/react.development.js');
290
292
  ? (checkKeyStringCoercion(element.key), escape("" + element.key))
291
293
  : index.toString(36);
292
294
  }
293
- function noop$1() {}
294
295
  function resolveThenable(thenable) {
295
296
  switch (thenable.status) {
296
297
  case "fulfilled":
@@ -300,7 +301,7 @@ var react_development = require('../../../_virtual/react.development.js');
300
301
  default:
301
302
  switch (
302
303
  ("string" === typeof thenable.status
303
- ? thenable.then(noop$1, noop$1)
304
+ ? thenable.then(noop, noop)
304
305
  : ((thenable.status = "pending"),
305
306
  thenable.then(
306
307
  function (fulfilledValue) {
@@ -462,35 +463,56 @@ var react_development = require('../../../_virtual/react.development.js');
462
463
  }
463
464
  function lazyInitializer(payload) {
464
465
  if (-1 === payload._status) {
465
- var ctor = payload._result;
466
- ctor = ctor();
467
- ctor.then(
466
+ var ioInfo = payload._ioInfo;
467
+ null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
468
+ ioInfo = payload._result;
469
+ var thenable = ioInfo();
470
+ thenable.then(
468
471
  function (moduleObject) {
469
- if (0 === payload._status || -1 === payload._status)
470
- (payload._status = 1), (payload._result = moduleObject);
472
+ if (0 === payload._status || -1 === payload._status) {
473
+ payload._status = 1;
474
+ payload._result = moduleObject;
475
+ var _ioInfo = payload._ioInfo;
476
+ null != _ioInfo && (_ioInfo.end = performance.now());
477
+ void 0 === thenable.status &&
478
+ ((thenable.status = "fulfilled"),
479
+ (thenable.value = moduleObject));
480
+ }
471
481
  },
472
482
  function (error) {
473
- if (0 === payload._status || -1 === payload._status)
474
- (payload._status = 2), (payload._result = error);
483
+ if (0 === payload._status || -1 === payload._status) {
484
+ payload._status = 2;
485
+ payload._result = error;
486
+ var _ioInfo2 = payload._ioInfo;
487
+ null != _ioInfo2 && (_ioInfo2.end = performance.now());
488
+ void 0 === thenable.status &&
489
+ ((thenable.status = "rejected"), (thenable.reason = error));
490
+ }
475
491
  }
476
492
  );
493
+ ioInfo = payload._ioInfo;
494
+ if (null != ioInfo) {
495
+ ioInfo.value = thenable;
496
+ var displayName = thenable.displayName;
497
+ "string" === typeof displayName && (ioInfo.name = displayName);
498
+ }
477
499
  -1 === payload._status &&
478
- ((payload._status = 0), (payload._result = ctor));
500
+ ((payload._status = 0), (payload._result = thenable));
479
501
  }
480
502
  if (1 === payload._status)
481
503
  return (
482
- (ctor = payload._result),
483
- void 0 === ctor &&
504
+ (ioInfo = payload._result),
505
+ void 0 === ioInfo &&
484
506
  console.error(
485
507
  "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
486
- ctor
508
+ ioInfo
487
509
  ),
488
- "default" in ctor ||
510
+ "default" in ioInfo ||
489
511
  console.error(
490
512
  "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
491
- ctor
513
+ ioInfo
492
514
  ),
493
- ctor.default
515
+ ioInfo.default
494
516
  );
495
517
  throw payload._result;
496
518
  }
@@ -502,7 +524,9 @@ var react_development = require('../../../_virtual/react.development.js');
502
524
  );
503
525
  return dispatcher;
504
526
  }
505
- function noop() {}
527
+ function releaseAsyncTransition() {
528
+ ReactSharedInternals.asyncTransitions--;
529
+ }
506
530
  function enqueueTask(task) {
507
531
  if (null === enqueueTaskImpl)
508
532
  try {
@@ -594,8 +618,8 @@ var react_development = require('../../../_virtual/react.development.js');
594
618
  REACT_PORTAL_TYPE = Symbol.for("react.portal"),
595
619
  REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
596
620
  REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
597
- REACT_PROFILER_TYPE = Symbol.for("react.profiler");
598
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
621
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
622
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
599
623
  REACT_CONTEXT_TYPE = Symbol.for("react.context"),
600
624
  REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
601
625
  REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
@@ -638,16 +662,15 @@ var react_development = require('../../../_virtual/react.development.js');
638
662
  this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
639
663
  };
640
664
  var deprecatedAPIs = {
641
- isMounted: [
642
- "isMounted",
643
- "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
644
- ],
645
- replaceState: [
646
- "replaceState",
647
- "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
648
- ]
649
- },
650
- fnName;
665
+ isMounted: [
666
+ "isMounted",
667
+ "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
668
+ ],
669
+ replaceState: [
670
+ "replaceState",
671
+ "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
672
+ ]
673
+ };
651
674
  for (fnName in deprecatedAPIs)
652
675
  deprecatedAPIs.hasOwnProperty(fnName) &&
653
676
  defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
@@ -663,8 +686,8 @@ var react_development = require('../../../_virtual/react.development.js');
663
686
  A: null,
664
687
  T: null,
665
688
  S: null,
666
- V: null,
667
689
  actQueue: null,
690
+ asyncTransitions: 0,
668
691
  isBatchingLegacy: !1,
669
692
  didScheduleLegacyUpdate: !1,
670
693
  didUsePromise: !1,
@@ -679,15 +702,16 @@ var react_development = require('../../../_virtual/react.development.js');
679
702
  return null;
680
703
  };
681
704
  deprecatedAPIs = {
682
- "react-stack-bottom-frame": function (callStackForError) {
705
+ react_stack_bottom_frame: function (callStackForError) {
683
706
  return callStackForError();
684
707
  }
685
708
  };
686
709
  var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
687
710
  var didWarnAboutElementRef = {};
688
- var unknownOwnerDebugStack = deprecatedAPIs[
689
- "react-stack-bottom-frame"
690
- ].bind(deprecatedAPIs, UnknownOwner)();
711
+ var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
712
+ deprecatedAPIs,
713
+ UnknownOwner
714
+ )();
691
715
  var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
692
716
  var didWarnAboutMaps = !1,
693
717
  userProvidedKeyEscapeRegex = /\/+/g,
@@ -739,7 +763,7 @@ var react_development = require('../../../_virtual/react.development.js');
739
763
  return resolveDispatcher().useMemoCache(size);
740
764
  }
741
765
  });
742
- exports.Children = {
766
+ var fnName = {
743
767
  map: mapChildren,
744
768
  forEach: function (children, forEachFunc, forEachContext) {
745
769
  mapChildren(
@@ -772,6 +796,8 @@ var react_development = require('../../../_virtual/react.development.js');
772
796
  return children;
773
797
  }
774
798
  };
799
+ exports.Activity = REACT_ACTIVITY_TYPE;
800
+ exports.Children = fnName;
775
801
  exports.Component = Component;
776
802
  exports.Fragment = REACT_FRAGMENT_TYPE;
777
803
  exports.Profiler = REACT_PROFILER_TYPE;
@@ -897,6 +923,9 @@ var react_development = require('../../../_virtual/react.development.js');
897
923
  return fn.apply(null, arguments);
898
924
  };
899
925
  };
926
+ exports.cacheSignal = function () {
927
+ return null;
928
+ };
900
929
  exports.captureOwnerStack = function () {
901
930
  var getCurrentStack = ReactSharedInternals.getCurrentStack;
902
931
  return null === getCurrentStack ? null : getCurrentStack();
@@ -949,16 +978,13 @@ var react_development = require('../../../_virtual/react.development.js');
949
978
  props = ReactElement(
950
979
  element.type,
951
980
  key,
952
- void 0,
953
- void 0,
954
- owner,
955
981
  props,
982
+ owner,
956
983
  element._debugStack,
957
984
  element._debugTask
958
985
  );
959
986
  for (key = 2; key < arguments.length; key++)
960
- (owner = arguments[key]),
961
- isValidElement(owner) && owner._store && (owner._store.validated = 1);
987
+ validateChildKeys(arguments[key]);
962
988
  return props;
963
989
  };
964
990
  exports.createContext = function (defaultValue) {
@@ -980,12 +1006,10 @@ var react_development = require('../../../_virtual/react.development.js');
980
1006
  return defaultValue;
981
1007
  };
982
1008
  exports.createElement = function (type, config, children) {
983
- for (var i = 2; i < arguments.length; i++) {
984
- var node = arguments[i];
985
- isValidElement(node) && node._store && (node._store.validated = 1);
986
- }
1009
+ for (var i = 2; i < arguments.length; i++)
1010
+ validateChildKeys(arguments[i]);
987
1011
  i = {};
988
- node = null;
1012
+ var key = null;
989
1013
  if (null != config)
990
1014
  for (propName in (didWarnAboutOldJSXRuntime ||
991
1015
  !("__self" in config) ||
@@ -995,7 +1019,7 @@ var react_development = require('../../../_virtual/react.development.js');
995
1019
  "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
996
1020
  )),
997
1021
  hasValidKey(config) &&
998
- (checkKeyStringCoercion(config.key), (node = "" + config.key)),
1022
+ (checkKeyStringCoercion(config.key), (key = "" + config.key)),
999
1023
  config))
1000
1024
  hasOwnProperty.call(config, propName) &&
1001
1025
  "key" !== propName &&
@@ -1017,7 +1041,7 @@ var react_development = require('../../../_virtual/react.development.js');
1017
1041
  if (type && type.defaultProps)
1018
1042
  for (propName in ((childrenLength = type.defaultProps), childrenLength))
1019
1043
  void 0 === i[propName] && (i[propName] = childrenLength[propName]);
1020
- node &&
1044
+ key &&
1021
1045
  defineKeyPropWarningGetter(
1022
1046
  i,
1023
1047
  "function" === typeof type
@@ -1027,11 +1051,9 @@ var react_development = require('../../../_virtual/react.development.js');
1027
1051
  var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1028
1052
  return ReactElement(
1029
1053
  type,
1030
- node,
1031
- void 0,
1032
- void 0,
1033
- getOwner(),
1054
+ key,
1034
1055
  i,
1056
+ getOwner(),
1035
1057
  propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1036
1058
  propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1037
1059
  );
@@ -1084,11 +1106,24 @@ var react_development = require('../../../_virtual/react.development.js');
1084
1106
  };
1085
1107
  exports.isValidElement = isValidElement;
1086
1108
  exports.lazy = function (ctor) {
1087
- return {
1088
- $$typeof: REACT_LAZY_TYPE,
1089
- _payload: { _status: -1, _result: ctor },
1090
- _init: lazyInitializer
1091
- };
1109
+ ctor = { _status: -1, _result: ctor };
1110
+ var lazyType = {
1111
+ $$typeof: REACT_LAZY_TYPE,
1112
+ _payload: ctor,
1113
+ _init: lazyInitializer
1114
+ },
1115
+ ioInfo = {
1116
+ name: "lazy",
1117
+ start: -1,
1118
+ end: -1,
1119
+ value: null,
1120
+ owner: null,
1121
+ debugStack: Error("react-stack-top-frame"),
1122
+ debugTask: console.createTask ? console.createTask("lazy()") : null
1123
+ };
1124
+ ctor._ioInfo = ioInfo;
1125
+ lazyType._debugInfo = [{ awaited: ioInfo }];
1126
+ return lazyType;
1092
1127
  };
1093
1128
  exports.memo = function (type, compare) {
1094
1129
  null == type &&
@@ -1121,8 +1156,8 @@ var react_development = require('../../../_virtual/react.development.js');
1121
1156
  exports.startTransition = function (scope) {
1122
1157
  var prevTransition = ReactSharedInternals.T,
1123
1158
  currentTransition = {};
1124
- ReactSharedInternals.T = currentTransition;
1125
1159
  currentTransition._updatedFibers = new Set();
1160
+ ReactSharedInternals.T = currentTransition;
1126
1161
  try {
1127
1162
  var returnValue = scope(),
1128
1163
  onStartTransitionFinish = ReactSharedInternals.S;
@@ -1131,7 +1166,9 @@ var react_development = require('../../../_virtual/react.development.js');
1131
1166
  "object" === typeof returnValue &&
1132
1167
  null !== returnValue &&
1133
1168
  "function" === typeof returnValue.then &&
1134
- returnValue.then(noop, reportGlobalError);
1169
+ (ReactSharedInternals.asyncTransitions++,
1170
+ returnValue.then(releaseAsyncTransition, releaseAsyncTransition),
1171
+ returnValue.then(noop, reportGlobalError));
1135
1172
  } catch (error) {
1136
1173
  reportGlobalError(error);
1137
1174
  } finally {
@@ -1143,6 +1180,14 @@ var react_development = require('../../../_virtual/react.development.js');
1143
1180
  console.warn(
1144
1181
  "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
1145
1182
  )),
1183
+ null !== prevTransition &&
1184
+ null !== currentTransition.types &&
1185
+ (null !== prevTransition.types &&
1186
+ prevTransition.types !== currentTransition.types &&
1187
+ console.error(
1188
+ "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
1189
+ ),
1190
+ (prevTransition.types = currentTransition.types)),
1146
1191
  (ReactSharedInternals.T = prevTransition);
1147
1192
  }
1148
1193
  };
@@ -1176,17 +1221,15 @@ var react_development = require('../../../_virtual/react.development.js');
1176
1221
  exports.useDeferredValue = function (value, initialValue) {
1177
1222
  return resolveDispatcher().useDeferredValue(value, initialValue);
1178
1223
  };
1179
- exports.useEffect = function (create, createDeps, update) {
1224
+ exports.useEffect = function (create, deps) {
1180
1225
  null == create &&
1181
1226
  console.warn(
1182
1227
  "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1183
1228
  );
1184
- var dispatcher = resolveDispatcher();
1185
- if ("function" === typeof update)
1186
- throw Error(
1187
- "useEffect CRUD overload is not enabled in this build of React."
1188
- );
1189
- return dispatcher.useEffect(create, createDeps);
1229
+ return resolveDispatcher().useEffect(create, deps);
1230
+ };
1231
+ exports.useEffectEvent = function (callback) {
1232
+ return resolveDispatcher().useEffectEvent(callback);
1190
1233
  };
1191
1234
  exports.useId = function () {
1192
1235
  return resolveDispatcher().useId();
@@ -1237,7 +1280,7 @@ var react_development = require('../../../_virtual/react.development.js');
1237
1280
  exports.useTransition = function () {
1238
1281
  return resolveDispatcher().useTransition();
1239
1282
  };
1240
- exports.version = "19.1.0";
1283
+ exports.version = "19.2.0";
1241
1284
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1242
1285
  "function" ===
1243
1286
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&