@lumx/react 3.20.1-alpha.27 → 3.20.1-alpha.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_internal/{Button-2b55a913.js → Button-5a87fee9.js} +5 -5
- package/_internal/{Button-2b55a913.js.map → Button-5a87fee9.js.map} +1 -1
- package/_internal/{ButtonRoot-823f3e9c.js → ButtonRoot-bf682215.js} +2 -2
- package/_internal/{ButtonRoot-823f3e9c.js.map → ButtonRoot-bf682215.js.map} +1 -1
- package/_internal/{Chip-e1e85810.js → Chip-8d0aae06.js} +2 -2
- package/_internal/{Chip-e1e85810.js.map → Chip-8d0aae06.js.map} +1 -1
- package/_internal/{IconButton-be160cb0.js → IconButton-351389b0.js} +5 -5
- package/_internal/{IconButton-be160cb0.js.map → IconButton-351389b0.js.map} +1 -1
- package/_internal/{ImageCaption-fcf5720c.js → ImageCaption-4109b433.js} +4 -4
- package/_internal/{ImageCaption-fcf5720c.js.map → ImageCaption-4109b433.js.map} +1 -1
- package/_internal/{List-dbf4297f.js → List-b7882a99.js} +241 -215
- package/_internal/{List-dbf4297f.js.map → List-b7882a99.js.map} +1 -1
- package/_internal/{PopoverDialog-193a0918.js → PopoverDialog-2e7b9ed5.js} +10 -10
- package/_internal/{PopoverDialog-193a0918.js.map → PopoverDialog-2e7b9ed5.js.map} +1 -1
- package/_internal/{Slides-2d267d8c.js → Slides-83646e84.js} +3 -3
- package/_internal/{Slides-2d267d8c.js.map → Slides-83646e84.js.map} +1 -1
- package/_internal/{Thumbnail-0872250e.js → Thumbnail-741501a5.js} +3 -3
- package/_internal/{Thumbnail-0872250e.js.map → Thumbnail-741501a5.js.map} +1 -1
- package/_internal/components/{alert-dialog-a6ed922b.js → alert-dialog-5df4f133.js} +6 -6
- package/_internal/components/{alert-dialog-a6ed922b.js.map → alert-dialog-5df4f133.js.map} +1 -1
- package/_internal/components/{autocomplete-c97b7698.js → autocomplete-824c779e.js} +7 -7
- package/_internal/components/{autocomplete-c97b7698.js.map → autocomplete-824c779e.js.map} +1 -1
- package/_internal/components/{avatar-d2214a61.js → avatar-69b66f01.js} +3 -3
- package/_internal/components/{avatar-d2214a61.js.map → avatar-69b66f01.js.map} +1 -1
- package/_internal/components/{badge-8390e590.js → badge-63cd3b1c.js} +2 -2
- package/_internal/components/{badge-8390e590.js.map → badge-63cd3b1c.js.map} +1 -1
- package/_internal/components/{button-b05f8f0c.js → button-eebd4e00.js} +4 -4
- package/_internal/components/{button-b05f8f0c.js.map → button-eebd4e00.js.map} +1 -1
- package/_internal/components/{checkbox-346834f8.js → checkbox-54943a02.js} +5 -5
- package/_internal/components/{checkbox-346834f8.js.map → checkbox-54943a02.js.map} +1 -1
- package/_internal/components/{chip-e3a6330f.js → chip-9ad6b318.js} +3 -3
- package/_internal/components/{chip-e3a6330f.js.map → chip-9ad6b318.js.map} +1 -1
- package/_internal/components/{comment-block-b1acc69f.js → comment-block-55a4ab3c.js} +4 -4
- package/_internal/components/{comment-block-b1acc69f.js.map → comment-block-55a4ab3c.js.map} +1 -1
- package/_internal/components/date-picker-a824a3ae.js +2 -0
- package/_internal/components/date-picker-a824a3ae.js.map +1 -0
- package/_internal/components/{dialog-785646aa.js → dialog-5e6320b8.js} +4 -4
- package/_internal/components/{dialog-785646aa.js.map → dialog-5e6320b8.js.map} +1 -1
- package/_internal/components/{divider-116af6b9.js → divider-bdf11ba3.js} +2 -2
- package/_internal/components/{divider-116af6b9.js.map → divider-bdf11ba3.js.map} +1 -1
- package/_internal/components/{drag-handle-6b073866.js → drag-handle-45912fd3.js} +3 -3
- package/_internal/components/{drag-handle-6b073866.js.map → drag-handle-45912fd3.js.map} +1 -1
- package/_internal/components/{dropdown-c0c0cfe8.js → dropdown-0216211d.js} +5 -5
- package/_internal/components/{dropdown-c0c0cfe8.js.map → dropdown-0216211d.js.map} +1 -1
- package/_internal/components/{expansion-panel-1de1d1ff.js → expansion-panel-3ce73c6b.js} +4 -4
- package/_internal/components/{expansion-panel-1de1d1ff.js.map → expansion-panel-3ce73c6b.js.map} +1 -1
- package/_internal/components/{flag-7c9d3abf.js → flag-1b177f78.js} +4 -4
- package/_internal/components/{flag-7c9d3abf.js.map → flag-1b177f78.js.map} +1 -1
- package/_internal/components/{flex-box-10423fa5.js → flex-box-93b97715.js} +2 -2
- package/_internal/components/{flex-box-10423fa5.js.map → flex-box-93b97715.js.map} +1 -1
- package/_internal/components/{generic-block-b79f163a.js → generic-block-925f7c5b.js} +3 -3
- package/_internal/components/{generic-block-b79f163a.js.map → generic-block-925f7c5b.js.map} +1 -1
- package/_internal/components/{grid-6f1b5a41.js → grid-95fd1493.js} +2 -2
- package/_internal/components/{grid-6f1b5a41.js.map → grid-95fd1493.js.map} +1 -1
- package/_internal/components/{grid-column-ee504283.js → grid-column-43f28cfb.js} +2 -2
- package/_internal/components/{grid-column-ee504283.js.map → grid-column-43f28cfb.js.map} +1 -1
- package/_internal/components/{heading-d4c66a34.js → heading-45d6e78e.js} +3 -3
- package/_internal/components/{heading-d4c66a34.js.map → heading-45d6e78e.js.map} +1 -1
- package/_internal/components/icon-79195151.js +2 -0
- package/_internal/components/icon-79195151.js.map +1 -0
- package/_internal/components/{image-block-762eb669.js → image-block-aba6d2db.js} +4 -4
- package/_internal/components/{image-block-762eb669.js.map → image-block-aba6d2db.js.map} +1 -1
- package/_internal/components/{image-lightbox-10fef304.js → image-lightbox-8b8e77c2.js} +8 -8
- package/_internal/components/{image-lightbox-10fef304.js.map → image-lightbox-8b8e77c2.js.map} +1 -1
- package/_internal/components/{inline-list-e6f19a98.js → inline-list-dfb9fd34.js} +2 -2
- package/_internal/components/{inline-list-e6f19a98.js.map → inline-list-dfb9fd34.js.map} +1 -1
- package/_internal/components/{input-helper-64153099.js → input-helper-c8a0078b.js} +2 -2
- package/_internal/components/{input-helper-64153099.js.map → input-helper-c8a0078b.js.map} +1 -1
- package/_internal/components/{input-label-2feb0bb0.js → input-label-9711398b.js} +2 -2
- package/_internal/components/{input-label-2feb0bb0.js.map → input-label-9711398b.js.map} +1 -1
- package/_internal/components/{lightbox-dcc9a7a0.js → lightbox-894abe64.js} +4 -4
- package/_internal/components/{lightbox-dcc9a7a0.js.map → lightbox-894abe64.js.map} +1 -1
- package/_internal/components/{link-f9421eab.js → link-e70e64ed.js} +4 -4
- package/_internal/components/{link-f9421eab.js.map → link-e70e64ed.js.map} +1 -1
- package/_internal/components/{link-preview-5c7e3878.js → link-preview-e56f3570.js} +4 -4
- package/_internal/components/{link-preview-5c7e3878.js.map → link-preview-e56f3570.js.map} +1 -1
- package/_internal/components/{list-f29e54b7.js → list-59b7ce56.js} +3 -3
- package/_internal/components/{list-f29e54b7.js.map → list-59b7ce56.js.map} +1 -1
- package/_internal/components/{message-aa3e3f76.js → message-a255dfd3.js} +4 -4
- package/_internal/components/{message-aa3e3f76.js.map → message-a255dfd3.js.map} +1 -1
- package/_internal/components/{mosaic-b4b35fa7.js → mosaic-192f2270.js} +4 -4
- package/_internal/components/mosaic-192f2270.js.map +1 -0
- package/_internal/components/{navigation-8357dbe6.js → navigation-dfe8aac0.js} +7 -7
- package/_internal/components/{navigation-8357dbe6.js.map → navigation-dfe8aac0.js.map} +1 -1
- package/_internal/components/{notification-ec4cf95f.js → notification-10f289b5.js} +4 -4
- package/_internal/components/{notification-ec4cf95f.js.map → notification-10f289b5.js.map} +1 -1
- package/_internal/components/popover-6c7f745b.js +3 -0
- package/_internal/components/popover-6c7f745b.js.map +1 -0
- package/_internal/components/{post-block-bb3d3cbf.js → post-block-f7dcc6e9.js} +4 -4
- package/_internal/components/{post-block-bb3d3cbf.js.map → post-block-f7dcc6e9.js.map} +1 -1
- package/_internal/components/{progress-f39c3fa2.js → progress-7a05fb0c.js} +2 -2
- package/_internal/components/{progress-f39c3fa2.js.map → progress-7a05fb0c.js.map} +1 -1
- package/_internal/components/{progress-tracker-997931ac.js → progress-tracker-48876add.js} +5 -5
- package/_internal/components/{progress-tracker-997931ac.js.map → progress-tracker-48876add.js.map} +1 -1
- package/_internal/components/{radio-button-559a4863.js → radio-button-07cf45e9.js} +4 -4
- package/_internal/components/{radio-button-559a4863.js.map → radio-button-07cf45e9.js.map} +1 -1
- package/_internal/components/{select-8295a416.js → select-8b54a444.js} +9 -9
- package/_internal/components/{select-8295a416.js.map → select-8b54a444.js.map} +1 -1
- package/_internal/components/{side-navigation-40ee8bda.js → side-navigation-7eeed3b4.js} +4 -4
- package/_internal/components/{side-navigation-40ee8bda.js.map → side-navigation-7eeed3b4.js.map} +1 -1
- package/_internal/components/{skeleton-c66516ee.js → skeleton-a4e84085.js} +2 -2
- package/_internal/components/{skeleton-c66516ee.js.map → skeleton-a4e84085.js.map} +1 -1
- package/_internal/components/{slider-efbfbc45.js → slider-5d64b470.js} +4 -4
- package/_internal/components/{slider-efbfbc45.js.map → slider-5d64b470.js.map} +1 -1
- package/_internal/components/{slideshow-c5faf531.js → slideshow-bce65cf6.js} +4 -4
- package/_internal/components/{slideshow-c5faf531.js.map → slideshow-bce65cf6.js.map} +1 -1
- package/_internal/components/{switch-a26a5a72.js → switch-7ae55d89.js} +4 -4
- package/_internal/components/{switch-a26a5a72.js.map → switch-7ae55d89.js.map} +1 -1
- package/_internal/components/{table-c43ec4a5.js → table-5bdf4aec.js} +3 -3
- package/_internal/components/{table-c43ec4a5.js.map → table-5bdf4aec.js.map} +1 -1
- package/_internal/components/{tabs-4037fe57.js → tabs-2ad54592.js} +4 -4
- package/_internal/components/{tabs-4037fe57.js.map → tabs-2ad54592.js.map} +1 -1
- package/_internal/components/text-09c81111.js +2 -0
- package/_internal/components/text-09c81111.js.map +1 -0
- package/_internal/components/{text-field-82adaeb4.js → text-field-3e1030f0.js} +6 -6
- package/_internal/components/{text-field-82adaeb4.js.map → text-field-3e1030f0.js.map} +1 -1
- package/_internal/components/{thumbnail-f1784929.js → thumbnail-1c5828b9.js} +2 -2
- package/_internal/components/{thumbnail-f1784929.js.map → thumbnail-1c5828b9.js.map} +1 -1
- package/_internal/components/{toolbar-a43533a2.js → toolbar-0d14efb7.js} +2 -2
- package/_internal/components/{toolbar-a43533a2.js.map → toolbar-0d14efb7.js.map} +1 -1
- package/_internal/components/{tooltip-aa48ddda.js → tooltip-31181a24.js} +3 -3
- package/_internal/components/{tooltip-aa48ddda.js.map → tooltip-31181a24.js.map} +1 -1
- package/_internal/components/{uploader-7bc3adaa.js → uploader-845b2412.js} +3 -3
- package/_internal/components/{uploader-7bc3adaa.js.map → uploader-845b2412.js.map} +1 -1
- package/_internal/components/{user-block-fc03f01a.js → user-block-91c30797.js} +4 -4
- package/_internal/components/{user-block-fc03f01a.js.map → user-block-91c30797.js.map} +1 -1
- package/_internal/{constants-b9e57936.js → constants-9b714e31.js} +145 -133
- package/_internal/{constants-b9e57936.js.map → constants-9b714e31.js.map} +1 -1
- package/_internal/forwardRef-d0e90329.js +82 -0
- package/_internal/{forwardRef-15f62847.js.map → forwardRef-d0e90329.js.map} +1 -1
- package/_internal/{index-8e7fecb5.js → index-68e1b0af.js} +4 -4
- package/_internal/{index-8e7fecb5.js.map → index-68e1b0af.js.map} +1 -1
- package/_internal/{index-192f8ada.js → index-745f94ee.js} +2 -2
- package/_internal/{index-192f8ada.js.map → index-745f94ee.js.map} +1 -1
- package/_internal/{index-b06353f2.js → index-ab520e78.js} +3 -3
- package/_internal/{index-b06353f2.js.map → index-ab520e78.js.map} +1 -1
- package/_internal/{wrapChildrenIconWithSpaces-f1e91251.js → wrapChildrenIconWithSpaces-e6038f72.js} +2 -2
- package/_internal/{wrapChildrenIconWithSpaces-f1e91251.js.map → wrapChildrenIconWithSpaces-e6038f72.js.map} +1 -1
- package/index.js +61 -61
- package/package.json +7 -13
- package/_internal/components/date-picker-582c4925.js +0 -2
- package/_internal/components/date-picker-582c4925.js.map +0 -1
- package/_internal/components/icon-7c79ab42.js +0 -2
- package/_internal/components/icon-7c79ab42.js.map +0 -1
- package/_internal/components/mosaic-b4b35fa7.js.map +0 -1
- package/_internal/components/popover-a674dd8d.js +0 -3
- package/_internal/components/popover-a674dd8d.js.map +0 -1
- package/_internal/components/text-851c62f8.js +0 -2
- package/_internal/components/text-851c62f8.js.map +0 -1
- package/_internal/forwardRef-15f62847.js +0 -70
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useMemo, Children, isValidElement, cloneElement, useRef } from 'react';
|
|
2
|
-
import { f as forwardRef, c as classNames } from './forwardRef-
|
|
2
|
+
import { f as forwardRef, c as classNames } from './forwardRef-d0e90329.js';
|
|
3
3
|
import { getRootClassName, handleBasicClasses } from '@lumx/core/js/utils/className';
|
|
4
4
|
import { m as mergeRefs } from './mergeRefs-f0d7d6ea.js';
|
|
5
5
|
import { onEnterPressed, onButtonPressed } from '@lumx/core/js/utils';
|
|
@@ -312,11 +312,19 @@ var reactIs_production_min = {};
|
|
|
312
312
|
* This source code is licensed under the MIT license found in the
|
|
313
313
|
* LICENSE file in the root directory of this source tree.
|
|
314
314
|
*/
|
|
315
|
+
|
|
316
|
+
var hasRequiredReactIs_production_min;
|
|
317
|
+
|
|
318
|
+
function requireReactIs_production_min () {
|
|
319
|
+
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
320
|
+
hasRequiredReactIs_production_min = 1;
|
|
315
321
|
var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");
|
|
316
|
-
function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q;reactIs_production_min.Memo=p;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m;
|
|
317
|
-
reactIs_production_min.SuspenseList=n;reactIs_production_min.isAsyncMode=function(){return !1};reactIs_production_min.isConcurrentMode=function(){return !1};reactIs_production_min.isContextConsumer=function(a){return v(a)===h};reactIs_production_min.isContextProvider=function(a){return v(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return v(a)===l};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q};reactIs_production_min.isMemo=function(a){return v(a)===p};
|
|
318
|
-
reactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m};reactIs_production_min.isSuspenseList=function(a){return v(a)===n};
|
|
319
|
-
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};reactIs_production_min.typeOf=v;
|
|
322
|
+
function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q;reactIs_production_min.Memo=p;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m;
|
|
323
|
+
reactIs_production_min.SuspenseList=n;reactIs_production_min.isAsyncMode=function(){return !1};reactIs_production_min.isConcurrentMode=function(){return !1};reactIs_production_min.isContextConsumer=function(a){return v(a)===h};reactIs_production_min.isContextProvider=function(a){return v(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return v(a)===l};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q};reactIs_production_min.isMemo=function(a){return v(a)===p};
|
|
324
|
+
reactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m};reactIs_production_min.isSuspenseList=function(a){return v(a)===n};
|
|
325
|
+
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};reactIs_production_min.typeOf=v;
|
|
326
|
+
return reactIs_production_min;
|
|
327
|
+
}
|
|
320
328
|
|
|
321
329
|
var reactIs_development = {};
|
|
322
330
|
|
|
@@ -330,220 +338,238 @@ var reactIs_development = {};
|
|
|
330
338
|
* LICENSE file in the root directory of this source tree.
|
|
331
339
|
*/
|
|
332
340
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
var
|
|
347
|
-
var
|
|
348
|
-
var
|
|
349
|
-
var
|
|
350
|
-
var
|
|
351
|
-
var
|
|
352
|
-
var
|
|
353
|
-
var
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
var
|
|
358
|
-
var
|
|
359
|
-
var
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
//
|
|
364
|
-
|
|
365
|
-
var
|
|
366
|
-
|
|
367
|
-
var
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
341
|
+
var hasRequiredReactIs_development;
|
|
342
|
+
|
|
343
|
+
function requireReactIs_development () {
|
|
344
|
+
if (hasRequiredReactIs_development) return reactIs_development;
|
|
345
|
+
hasRequiredReactIs_development = 1;
|
|
346
|
+
|
|
347
|
+
if (process.env.NODE_ENV !== "production") {
|
|
348
|
+
(function() {
|
|
349
|
+
|
|
350
|
+
// ATTENTION
|
|
351
|
+
// When adding new symbols to this file,
|
|
352
|
+
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
353
|
+
// The Symbol used to tag the ReactElement-like types.
|
|
354
|
+
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
355
|
+
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
356
|
+
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
357
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
358
|
+
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
359
|
+
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
360
|
+
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
361
|
+
var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
|
|
362
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
363
|
+
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
364
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
365
|
+
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
366
|
+
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
367
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
368
|
+
|
|
369
|
+
// -----------------------------------------------------------------------------
|
|
370
|
+
|
|
371
|
+
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
372
|
+
var enableCacheElement = false;
|
|
373
|
+
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
374
|
+
|
|
375
|
+
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
376
|
+
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
377
|
+
// issues in DEV builds.
|
|
378
|
+
|
|
379
|
+
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
380
|
+
|
|
381
|
+
var REACT_MODULE_REFERENCE;
|
|
382
|
+
|
|
383
|
+
{
|
|
384
|
+
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
function isValidElementType(type) {
|
|
388
|
+
if (typeof type === 'string' || typeof type === 'function') {
|
|
389
|
+
return true;
|
|
390
|
+
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {
|
|
394
|
+
return true;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
if (typeof type === 'object' && type !== null) {
|
|
398
|
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
|
|
399
|
+
// types supported by any Flight configuration anywhere since
|
|
400
|
+
// we don't know which Flight build this will end up being used
|
|
401
|
+
// with.
|
|
402
|
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
403
|
+
return true;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
return false;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
function typeOf(object) {
|
|
411
|
+
if (typeof object === 'object' && object !== null) {
|
|
412
|
+
var $$typeof = object.$$typeof;
|
|
413
|
+
|
|
414
|
+
switch ($$typeof) {
|
|
415
|
+
case REACT_ELEMENT_TYPE:
|
|
416
|
+
var type = object.type;
|
|
417
|
+
|
|
418
|
+
switch (type) {
|
|
419
|
+
case REACT_FRAGMENT_TYPE:
|
|
420
|
+
case REACT_PROFILER_TYPE:
|
|
421
|
+
case REACT_STRICT_MODE_TYPE:
|
|
422
|
+
case REACT_SUSPENSE_TYPE:
|
|
423
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
424
|
+
return type;
|
|
425
|
+
|
|
426
|
+
default:
|
|
427
|
+
var $$typeofType = type && type.$$typeof;
|
|
428
|
+
|
|
429
|
+
switch ($$typeofType) {
|
|
430
|
+
case REACT_SERVER_CONTEXT_TYPE:
|
|
431
|
+
case REACT_CONTEXT_TYPE:
|
|
432
|
+
case REACT_FORWARD_REF_TYPE:
|
|
433
|
+
case REACT_LAZY_TYPE:
|
|
434
|
+
case REACT_MEMO_TYPE:
|
|
435
|
+
case REACT_PROVIDER_TYPE:
|
|
436
|
+
return $$typeofType;
|
|
437
|
+
|
|
438
|
+
default:
|
|
439
|
+
return $$typeof;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
case REACT_PORTAL_TYPE:
|
|
445
|
+
return $$typeof;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
return undefined;
|
|
450
|
+
}
|
|
451
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
452
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
453
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
454
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
455
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
456
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
457
|
+
var Memo = REACT_MEMO_TYPE;
|
|
458
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
459
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
460
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
461
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
462
|
+
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
463
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
464
|
+
var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
|
|
465
|
+
|
|
466
|
+
function isAsyncMode(object) {
|
|
467
|
+
{
|
|
468
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
469
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
470
|
+
|
|
471
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
return false;
|
|
476
|
+
}
|
|
477
|
+
function isConcurrentMode(object) {
|
|
478
|
+
{
|
|
479
|
+
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
480
|
+
hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
481
|
+
|
|
482
|
+
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
return false;
|
|
487
|
+
}
|
|
488
|
+
function isContextConsumer(object) {
|
|
489
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
490
|
+
}
|
|
491
|
+
function isContextProvider(object) {
|
|
492
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
493
|
+
}
|
|
494
|
+
function isElement(object) {
|
|
495
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
496
|
+
}
|
|
497
|
+
function isForwardRef(object) {
|
|
498
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
499
|
+
}
|
|
500
|
+
function isFragment(object) {
|
|
501
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
502
|
+
}
|
|
503
|
+
function isLazy(object) {
|
|
504
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
505
|
+
}
|
|
506
|
+
function isMemo(object) {
|
|
507
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
508
|
+
}
|
|
509
|
+
function isPortal(object) {
|
|
510
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
511
|
+
}
|
|
512
|
+
function isProfiler(object) {
|
|
513
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
514
|
+
}
|
|
515
|
+
function isStrictMode(object) {
|
|
516
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
517
|
+
}
|
|
518
|
+
function isSuspense(object) {
|
|
519
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
520
|
+
}
|
|
521
|
+
function isSuspenseList(object) {
|
|
522
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
526
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
527
|
+
reactIs_development.Element = Element;
|
|
528
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
529
|
+
reactIs_development.Fragment = Fragment;
|
|
530
|
+
reactIs_development.Lazy = Lazy;
|
|
531
|
+
reactIs_development.Memo = Memo;
|
|
532
|
+
reactIs_development.Portal = Portal;
|
|
533
|
+
reactIs_development.Profiler = Profiler;
|
|
534
|
+
reactIs_development.StrictMode = StrictMode;
|
|
535
|
+
reactIs_development.Suspense = Suspense;
|
|
536
|
+
reactIs_development.SuspenseList = SuspenseList;
|
|
537
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
538
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
539
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
540
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
541
|
+
reactIs_development.isElement = isElement;
|
|
542
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
543
|
+
reactIs_development.isFragment = isFragment;
|
|
544
|
+
reactIs_development.isLazy = isLazy;
|
|
545
|
+
reactIs_development.isMemo = isMemo;
|
|
546
|
+
reactIs_development.isPortal = isPortal;
|
|
547
|
+
reactIs_development.isProfiler = isProfiler;
|
|
548
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
549
|
+
reactIs_development.isSuspense = isSuspense;
|
|
550
|
+
reactIs_development.isSuspenseList = isSuspenseList;
|
|
551
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
552
|
+
reactIs_development.typeOf = typeOf;
|
|
553
|
+
})();
|
|
554
|
+
}
|
|
555
|
+
return reactIs_development;
|
|
371
556
|
}
|
|
372
557
|
|
|
373
|
-
|
|
374
|
-
if (typeof type === 'string' || typeof type === 'function') {
|
|
375
|
-
return true;
|
|
376
|
-
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {
|
|
380
|
-
return true;
|
|
381
|
-
}
|
|
558
|
+
var hasRequiredReactIs;
|
|
382
559
|
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
// we don't know which Flight build this will end up being used
|
|
387
|
-
// with.
|
|
388
|
-
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
389
|
-
return true;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
560
|
+
function requireReactIs () {
|
|
561
|
+
if (hasRequiredReactIs) return reactIs.exports;
|
|
562
|
+
hasRequiredReactIs = 1;
|
|
392
563
|
|
|
393
|
-
|
|
564
|
+
if (process.env.NODE_ENV === 'production') {
|
|
565
|
+
reactIs.exports = requireReactIs_production_min();
|
|
566
|
+
} else {
|
|
567
|
+
reactIs.exports = requireReactIs_development();
|
|
568
|
+
}
|
|
569
|
+
return reactIs.exports;
|
|
394
570
|
}
|
|
395
571
|
|
|
396
|
-
|
|
397
|
-
if (typeof object === 'object' && object !== null) {
|
|
398
|
-
var $$typeof = object.$$typeof;
|
|
399
|
-
|
|
400
|
-
switch ($$typeof) {
|
|
401
|
-
case REACT_ELEMENT_TYPE:
|
|
402
|
-
var type = object.type;
|
|
403
|
-
|
|
404
|
-
switch (type) {
|
|
405
|
-
case REACT_FRAGMENT_TYPE:
|
|
406
|
-
case REACT_PROFILER_TYPE:
|
|
407
|
-
case REACT_STRICT_MODE_TYPE:
|
|
408
|
-
case REACT_SUSPENSE_TYPE:
|
|
409
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
410
|
-
return type;
|
|
411
|
-
|
|
412
|
-
default:
|
|
413
|
-
var $$typeofType = type && type.$$typeof;
|
|
414
|
-
|
|
415
|
-
switch ($$typeofType) {
|
|
416
|
-
case REACT_SERVER_CONTEXT_TYPE:
|
|
417
|
-
case REACT_CONTEXT_TYPE:
|
|
418
|
-
case REACT_FORWARD_REF_TYPE:
|
|
419
|
-
case REACT_LAZY_TYPE:
|
|
420
|
-
case REACT_MEMO_TYPE:
|
|
421
|
-
case REACT_PROVIDER_TYPE:
|
|
422
|
-
return $$typeofType;
|
|
423
|
-
|
|
424
|
-
default:
|
|
425
|
-
return $$typeof;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
case REACT_PORTAL_TYPE:
|
|
431
|
-
return $$typeof;
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
return undefined;
|
|
436
|
-
}
|
|
437
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
438
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
439
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
440
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
441
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
442
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
443
|
-
var Memo = REACT_MEMO_TYPE;
|
|
444
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
445
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
446
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
447
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
448
|
-
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
449
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
450
|
-
var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
|
|
451
|
-
|
|
452
|
-
function isAsyncMode(object) {
|
|
453
|
-
{
|
|
454
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
455
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
456
|
-
|
|
457
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
return false;
|
|
462
|
-
}
|
|
463
|
-
function isConcurrentMode(object) {
|
|
464
|
-
{
|
|
465
|
-
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
466
|
-
hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
467
|
-
|
|
468
|
-
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
return false;
|
|
473
|
-
}
|
|
474
|
-
function isContextConsumer(object) {
|
|
475
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
476
|
-
}
|
|
477
|
-
function isContextProvider(object) {
|
|
478
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
479
|
-
}
|
|
480
|
-
function isElement(object) {
|
|
481
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
482
|
-
}
|
|
483
|
-
function isForwardRef(object) {
|
|
484
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
485
|
-
}
|
|
486
|
-
function isFragment(object) {
|
|
487
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
488
|
-
}
|
|
489
|
-
function isLazy(object) {
|
|
490
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
491
|
-
}
|
|
492
|
-
function isMemo(object) {
|
|
493
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
494
|
-
}
|
|
495
|
-
function isPortal(object) {
|
|
496
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
497
|
-
}
|
|
498
|
-
function isProfiler(object) {
|
|
499
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
500
|
-
}
|
|
501
|
-
function isStrictMode(object) {
|
|
502
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
503
|
-
}
|
|
504
|
-
function isSuspense(object) {
|
|
505
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
506
|
-
}
|
|
507
|
-
function isSuspenseList(object) {
|
|
508
|
-
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
|
512
|
-
reactIs_development.ContextProvider = ContextProvider;
|
|
513
|
-
reactIs_development.Element = Element;
|
|
514
|
-
reactIs_development.ForwardRef = ForwardRef;
|
|
515
|
-
reactIs_development.Fragment = Fragment;
|
|
516
|
-
reactIs_development.Lazy = Lazy;
|
|
517
|
-
reactIs_development.Memo = Memo;
|
|
518
|
-
reactIs_development.Portal = Portal;
|
|
519
|
-
reactIs_development.Profiler = Profiler;
|
|
520
|
-
reactIs_development.StrictMode = StrictMode;
|
|
521
|
-
reactIs_development.Suspense = Suspense;
|
|
522
|
-
reactIs_development.SuspenseList = SuspenseList;
|
|
523
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
|
524
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
525
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
|
526
|
-
reactIs_development.isContextProvider = isContextProvider;
|
|
527
|
-
reactIs_development.isElement = isElement;
|
|
528
|
-
reactIs_development.isForwardRef = isForwardRef;
|
|
529
|
-
reactIs_development.isFragment = isFragment;
|
|
530
|
-
reactIs_development.isLazy = isLazy;
|
|
531
|
-
reactIs_development.isMemo = isMemo;
|
|
532
|
-
reactIs_development.isPortal = isPortal;
|
|
533
|
-
reactIs_development.isProfiler = isProfiler;
|
|
534
|
-
reactIs_development.isStrictMode = isStrictMode;
|
|
535
|
-
reactIs_development.isSuspense = isSuspense;
|
|
536
|
-
reactIs_development.isSuspenseList = isSuspenseList;
|
|
537
|
-
reactIs_development.isValidElementType = isValidElementType;
|
|
538
|
-
reactIs_development.typeOf = typeOf;
|
|
539
|
-
})();
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
if (process.env.NODE_ENV === 'production') {
|
|
543
|
-
reactIs.exports = reactIs_production_min;
|
|
544
|
-
} else {
|
|
545
|
-
reactIs.exports = reactIs_development;
|
|
546
|
-
}
|
|
572
|
+
var reactIsExports = requireReactIs();
|
|
547
573
|
|
|
548
574
|
/**
|
|
549
575
|
* Flatten list of react nodes removing fragments and adding keys.
|
|
@@ -561,7 +587,7 @@ function flattenChildren(children) {
|
|
|
561
587
|
function recur(nodes, keys = []) {
|
|
562
588
|
return Children.toArray(nodes).reduce((acc, node, index) => {
|
|
563
589
|
const nodeKeys = keys.concat(node?.key ?? index);
|
|
564
|
-
if (
|
|
590
|
+
if (reactIsExports.isFragment(node)) {
|
|
565
591
|
acc.push(...recur(node.props.children, nodeKeys));
|
|
566
592
|
} else if (/*#__PURE__*/isValidElement(node)) {
|
|
567
593
|
acc.push(/*#__PURE__*/cloneElement(node, {
|
|
@@ -788,4 +814,4 @@ const List = Object.assign(InternalList, {
|
|
|
788
814
|
});
|
|
789
815
|
|
|
790
816
|
export { List as L, ListItem as a, isClickable as i };
|
|
791
|
-
//# sourceMappingURL=List-
|
|
817
|
+
//# sourceMappingURL=List-b7882a99.js.map
|