@mui/material 5.13.0 → 5.13.2
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/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.js +1 -0
- package/Autocomplete/autocompleteClasses.d.ts +56 -56
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +103 -0
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +96 -96
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/Dialog/Dialog.js +1 -1
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/filledInputClasses.d.ts +42 -42
- package/FormControl/FormControlContext.d.ts +17 -17
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/useFormControl.d.ts +2 -2
- package/FormControlLabel/formControlLabelClasses.d.ts +24 -24
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +34 -34
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/inputClasses.d.ts +38 -38
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/getTextDecoration.d.ts +15 -15
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/nativeSelectClasses.d.ts +34 -34
- package/OutlinedInput/outlinedInputClasses.d.ts +38 -38
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +65 -65
- package/README.md +1 -1
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +32 -32
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slider/Slider.js +1 -1
- package/Slider/SliderValueLabel.d.ts +15 -15
- package/Slider/SliderValueLabel.types.d.ts +24 -24
- package/Slider/sliderClasses.d.ts +58 -58
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Stack/stackClasses.d.ts +6 -6
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +26 -26
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Autocomplete/Autocomplete.js +1 -0
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Dialog/Dialog.js +1 -1
- package/legacy/Slider/Slider.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +383 -68
- package/locale/index.d.ts +80 -76
- package/locale/index.js +309 -0
- package/modern/Autocomplete/Autocomplete.js +1 -0
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Dialog/Dialog.js +1 -1
- package/modern/Slider/Slider.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +309 -0
- package/node/Autocomplete/Autocomplete.js +1 -0
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Dialog/Dialog.js +1 -1
- package/node/Slider/Slider.js +1 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +314 -1
- package/package.json +5 -5
- package/styles/CssVarsProvider.d.ts +20 -20
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/styles/getOverlayAlpha.d.ts +2 -2
- package/styles/identifier.d.ts +2 -2
- package/styles/shouldSkipGeneratingVar.d.ts +1 -1
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/types/OverridableComponentAugmentation.d.ts +31 -31
- package/umd/material-ui.development.js +678 -237
- package/umd/material-ui.production.min.js +21 -21
- package/useMediaQuery/useMediaQuery.d.ts +46 -46
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.13.
|
|
2
|
+
* @mui/material v5.13.2
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -489,69 +489,40 @@
|
|
|
489
489
|
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
490
490
|
}
|
|
491
491
|
|
|
492
|
-
var reactIs_development = createCommonjsModule(function (module, exports) {
|
|
492
|
+
var reactIs_development$2 = createCommonjsModule(function (module, exports) {
|
|
493
493
|
|
|
494
|
-
{
|
|
495
|
-
(function() {
|
|
496
494
|
|
|
497
|
-
// ATTENTION
|
|
498
|
-
// When adding new symbols to this file,
|
|
499
|
-
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
500
|
-
// The Symbol used to tag the ReactElement-like types.
|
|
501
|
-
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
502
|
-
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
503
|
-
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
504
|
-
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
505
|
-
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
506
|
-
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
507
|
-
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
508
|
-
var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
|
|
509
|
-
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
510
|
-
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
511
|
-
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
512
|
-
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
513
|
-
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
514
|
-
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
515
|
-
|
|
516
|
-
// -----------------------------------------------------------------------------
|
|
517
|
-
|
|
518
|
-
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
519
|
-
var enableCacheElement = false;
|
|
520
|
-
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
521
|
-
|
|
522
|
-
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
523
|
-
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
524
|
-
// issues in DEV builds.
|
|
525
|
-
|
|
526
|
-
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
527
|
-
|
|
528
|
-
var REACT_MODULE_REFERENCE;
|
|
529
495
|
|
|
530
496
|
{
|
|
531
|
-
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
function isValidElementType(type) {
|
|
535
|
-
if (typeof type === 'string' || typeof type === 'function') {
|
|
536
|
-
return true;
|
|
537
|
-
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
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 ) {
|
|
541
|
-
return true;
|
|
542
|
-
}
|
|
497
|
+
(function() {
|
|
543
498
|
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
499
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
500
|
+
// nor polyfill, then a plain number is used for performance.
|
|
501
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
502
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
503
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
504
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
505
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
506
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
507
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
508
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
509
|
+
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
510
|
+
|
|
511
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
512
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
513
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
514
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
515
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
516
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
517
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
518
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
519
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
520
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
521
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
553
522
|
|
|
554
|
-
|
|
523
|
+
function isValidElementType(type) {
|
|
524
|
+
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
525
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (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 || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
555
526
|
}
|
|
556
527
|
|
|
557
528
|
function typeOf(object) {
|
|
@@ -563,18 +534,18 @@
|
|
|
563
534
|
var type = object.type;
|
|
564
535
|
|
|
565
536
|
switch (type) {
|
|
537
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
538
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
566
539
|
case REACT_FRAGMENT_TYPE:
|
|
567
540
|
case REACT_PROFILER_TYPE:
|
|
568
541
|
case REACT_STRICT_MODE_TYPE:
|
|
569
542
|
case REACT_SUSPENSE_TYPE:
|
|
570
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
571
543
|
return type;
|
|
572
544
|
|
|
573
545
|
default:
|
|
574
546
|
var $$typeofType = type && type.$$typeof;
|
|
575
547
|
|
|
576
548
|
switch ($$typeofType) {
|
|
577
|
-
case REACT_SERVER_CONTEXT_TYPE:
|
|
578
549
|
case REACT_CONTEXT_TYPE:
|
|
579
550
|
case REACT_FORWARD_REF_TYPE:
|
|
580
551
|
case REACT_LAZY_TYPE:
|
|
@@ -594,7 +565,10 @@
|
|
|
594
565
|
}
|
|
595
566
|
|
|
596
567
|
return undefined;
|
|
597
|
-
}
|
|
568
|
+
} // AsyncMode is deprecated along with isAsyncMode
|
|
569
|
+
|
|
570
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
571
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
598
572
|
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
599
573
|
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
600
574
|
var Element = REACT_ELEMENT_TYPE;
|
|
@@ -606,31 +580,21 @@
|
|
|
606
580
|
var Profiler = REACT_PROFILER_TYPE;
|
|
607
581
|
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
608
582
|
var Suspense = REACT_SUSPENSE_TYPE;
|
|
609
|
-
var
|
|
610
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
611
|
-
var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
|
|
583
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
612
584
|
|
|
613
585
|
function isAsyncMode(object) {
|
|
614
586
|
{
|
|
615
587
|
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
616
588
|
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
617
589
|
|
|
618
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React
|
|
590
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
619
591
|
}
|
|
620
592
|
}
|
|
621
593
|
|
|
622
|
-
return
|
|
594
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
623
595
|
}
|
|
624
596
|
function isConcurrentMode(object) {
|
|
625
|
-
|
|
626
|
-
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
627
|
-
hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
628
|
-
|
|
629
|
-
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
return false;
|
|
597
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
634
598
|
}
|
|
635
599
|
function isContextConsumer(object) {
|
|
636
600
|
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
@@ -665,10 +629,9 @@
|
|
|
665
629
|
function isSuspense(object) {
|
|
666
630
|
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
667
631
|
}
|
|
668
|
-
function isSuspenseList(object) {
|
|
669
|
-
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
670
|
-
}
|
|
671
632
|
|
|
633
|
+
exports.AsyncMode = AsyncMode;
|
|
634
|
+
exports.ConcurrentMode = ConcurrentMode;
|
|
672
635
|
exports.ContextConsumer = ContextConsumer;
|
|
673
636
|
exports.ContextProvider = ContextProvider;
|
|
674
637
|
exports.Element = Element;
|
|
@@ -680,7 +643,6 @@
|
|
|
680
643
|
exports.Profiler = Profiler;
|
|
681
644
|
exports.StrictMode = StrictMode;
|
|
682
645
|
exports.Suspense = Suspense;
|
|
683
|
-
exports.SuspenseList = SuspenseList;
|
|
684
646
|
exports.isAsyncMode = isAsyncMode;
|
|
685
647
|
exports.isConcurrentMode = isConcurrentMode;
|
|
686
648
|
exports.isContextConsumer = isContextConsumer;
|
|
@@ -694,53 +656,46 @@
|
|
|
694
656
|
exports.isProfiler = isProfiler;
|
|
695
657
|
exports.isStrictMode = isStrictMode;
|
|
696
658
|
exports.isSuspense = isSuspense;
|
|
697
|
-
exports.isSuspenseList = isSuspenseList;
|
|
698
659
|
exports.isValidElementType = isValidElementType;
|
|
699
660
|
exports.typeOf = typeOf;
|
|
700
661
|
})();
|
|
701
662
|
}
|
|
702
663
|
});
|
|
703
|
-
reactIs_development.
|
|
704
|
-
reactIs_development.
|
|
705
|
-
reactIs_development.
|
|
706
|
-
reactIs_development.
|
|
707
|
-
reactIs_development.
|
|
708
|
-
reactIs_development.
|
|
709
|
-
reactIs_development.
|
|
710
|
-
reactIs_development.
|
|
711
|
-
reactIs_development.
|
|
712
|
-
reactIs_development.
|
|
713
|
-
reactIs_development.
|
|
714
|
-
reactIs_development.
|
|
715
|
-
reactIs_development.
|
|
716
|
-
reactIs_development.
|
|
717
|
-
reactIs_development.
|
|
718
|
-
reactIs_development.
|
|
719
|
-
reactIs_development.
|
|
720
|
-
reactIs_development.
|
|
721
|
-
reactIs_development.
|
|
722
|
-
reactIs_development.
|
|
723
|
-
reactIs_development.
|
|
724
|
-
reactIs_development.
|
|
725
|
-
reactIs_development.
|
|
726
|
-
reactIs_development.
|
|
727
|
-
reactIs_development.
|
|
728
|
-
reactIs_development.
|
|
729
|
-
reactIs_development.isValidElementType;
|
|
730
|
-
reactIs_development.typeOf;
|
|
731
|
-
|
|
732
|
-
var reactIs = createCommonjsModule(function (module) {
|
|
664
|
+
reactIs_development$2.AsyncMode;
|
|
665
|
+
reactIs_development$2.ConcurrentMode;
|
|
666
|
+
reactIs_development$2.ContextConsumer;
|
|
667
|
+
reactIs_development$2.ContextProvider;
|
|
668
|
+
reactIs_development$2.Element;
|
|
669
|
+
reactIs_development$2.ForwardRef;
|
|
670
|
+
reactIs_development$2.Fragment;
|
|
671
|
+
reactIs_development$2.Lazy;
|
|
672
|
+
reactIs_development$2.Memo;
|
|
673
|
+
reactIs_development$2.Portal;
|
|
674
|
+
reactIs_development$2.Profiler;
|
|
675
|
+
reactIs_development$2.StrictMode;
|
|
676
|
+
reactIs_development$2.Suspense;
|
|
677
|
+
reactIs_development$2.isAsyncMode;
|
|
678
|
+
reactIs_development$2.isConcurrentMode;
|
|
679
|
+
reactIs_development$2.isContextConsumer;
|
|
680
|
+
reactIs_development$2.isContextProvider;
|
|
681
|
+
reactIs_development$2.isElement;
|
|
682
|
+
reactIs_development$2.isForwardRef;
|
|
683
|
+
reactIs_development$2.isFragment;
|
|
684
|
+
reactIs_development$2.isLazy;
|
|
685
|
+
reactIs_development$2.isMemo;
|
|
686
|
+
reactIs_development$2.isPortal;
|
|
687
|
+
reactIs_development$2.isProfiler;
|
|
688
|
+
reactIs_development$2.isStrictMode;
|
|
689
|
+
reactIs_development$2.isSuspense;
|
|
690
|
+
reactIs_development$2.isValidElementType;
|
|
691
|
+
reactIs_development$2.typeOf;
|
|
692
|
+
|
|
693
|
+
var reactIs$2 = createCommonjsModule(function (module) {
|
|
733
694
|
|
|
734
695
|
{
|
|
735
|
-
module.exports = reactIs_development;
|
|
696
|
+
module.exports = reactIs_development$2;
|
|
736
697
|
}
|
|
737
698
|
});
|
|
738
|
-
var reactIs_1 = reactIs.ForwardRef;
|
|
739
|
-
var reactIs_2 = reactIs.isFragment;
|
|
740
|
-
reactIs.isLazy;
|
|
741
|
-
reactIs.isMemo;
|
|
742
|
-
var reactIs_5 = reactIs.Memo;
|
|
743
|
-
reactIs.isValidElementType;
|
|
744
699
|
|
|
745
700
|
/*
|
|
746
701
|
object-assign
|
|
@@ -1217,7 +1172,7 @@
|
|
|
1217
1172
|
function createElementTypeTypeChecker() {
|
|
1218
1173
|
function validate(props, propName, componentName, location, propFullName) {
|
|
1219
1174
|
var propValue = props[propName];
|
|
1220
|
-
if (!reactIs.isValidElementType(propValue)) {
|
|
1175
|
+
if (!reactIs$2.isValidElementType(propValue)) {
|
|
1221
1176
|
var propType = getPropType(propValue);
|
|
1222
1177
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
|
|
1223
1178
|
}
|
|
@@ -1551,7 +1506,7 @@
|
|
|
1551
1506
|
*/
|
|
1552
1507
|
|
|
1553
1508
|
{
|
|
1554
|
-
var ReactIs = reactIs;
|
|
1509
|
+
var ReactIs = reactIs$2;
|
|
1555
1510
|
|
|
1556
1511
|
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
1557
1512
|
// http://fb.me/prop-types-in-prod
|
|
@@ -1664,6 +1619,259 @@
|
|
|
1664
1619
|
});
|
|
1665
1620
|
}
|
|
1666
1621
|
|
|
1622
|
+
var reactIs_development$1 = createCommonjsModule(function (module, exports) {
|
|
1623
|
+
|
|
1624
|
+
{
|
|
1625
|
+
(function() {
|
|
1626
|
+
|
|
1627
|
+
// ATTENTION
|
|
1628
|
+
// When adding new symbols to this file,
|
|
1629
|
+
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
1630
|
+
// The Symbol used to tag the ReactElement-like types.
|
|
1631
|
+
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
1632
|
+
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
1633
|
+
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
1634
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
1635
|
+
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
1636
|
+
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
1637
|
+
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
1638
|
+
var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
|
|
1639
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
1640
|
+
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
1641
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
1642
|
+
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
1643
|
+
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
1644
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
1645
|
+
|
|
1646
|
+
// -----------------------------------------------------------------------------
|
|
1647
|
+
|
|
1648
|
+
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
1649
|
+
var enableCacheElement = false;
|
|
1650
|
+
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
1651
|
+
|
|
1652
|
+
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
1653
|
+
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
1654
|
+
// issues in DEV builds.
|
|
1655
|
+
|
|
1656
|
+
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
1657
|
+
|
|
1658
|
+
var REACT_MODULE_REFERENCE;
|
|
1659
|
+
|
|
1660
|
+
{
|
|
1661
|
+
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
function isValidElementType(type) {
|
|
1665
|
+
if (typeof type === 'string' || typeof type === 'function') {
|
|
1666
|
+
return true;
|
|
1667
|
+
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
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 ) {
|
|
1671
|
+
return true;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
if (typeof type === 'object' && type !== null) {
|
|
1675
|
+
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
|
|
1676
|
+
// types supported by any Flight configuration anywhere since
|
|
1677
|
+
// we don't know which Flight build this will end up being used
|
|
1678
|
+
// with.
|
|
1679
|
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
1680
|
+
return true;
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
return false;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
function typeOf(object) {
|
|
1688
|
+
if (typeof object === 'object' && object !== null) {
|
|
1689
|
+
var $$typeof = object.$$typeof;
|
|
1690
|
+
|
|
1691
|
+
switch ($$typeof) {
|
|
1692
|
+
case REACT_ELEMENT_TYPE:
|
|
1693
|
+
var type = object.type;
|
|
1694
|
+
|
|
1695
|
+
switch (type) {
|
|
1696
|
+
case REACT_FRAGMENT_TYPE:
|
|
1697
|
+
case REACT_PROFILER_TYPE:
|
|
1698
|
+
case REACT_STRICT_MODE_TYPE:
|
|
1699
|
+
case REACT_SUSPENSE_TYPE:
|
|
1700
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
1701
|
+
return type;
|
|
1702
|
+
|
|
1703
|
+
default:
|
|
1704
|
+
var $$typeofType = type && type.$$typeof;
|
|
1705
|
+
|
|
1706
|
+
switch ($$typeofType) {
|
|
1707
|
+
case REACT_SERVER_CONTEXT_TYPE:
|
|
1708
|
+
case REACT_CONTEXT_TYPE:
|
|
1709
|
+
case REACT_FORWARD_REF_TYPE:
|
|
1710
|
+
case REACT_LAZY_TYPE:
|
|
1711
|
+
case REACT_MEMO_TYPE:
|
|
1712
|
+
case REACT_PROVIDER_TYPE:
|
|
1713
|
+
return $$typeofType;
|
|
1714
|
+
|
|
1715
|
+
default:
|
|
1716
|
+
return $$typeof;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
case REACT_PORTAL_TYPE:
|
|
1722
|
+
return $$typeof;
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
return undefined;
|
|
1727
|
+
}
|
|
1728
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
1729
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
1730
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
1731
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
1732
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
1733
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
1734
|
+
var Memo = REACT_MEMO_TYPE;
|
|
1735
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
1736
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
1737
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
1738
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
1739
|
+
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
1740
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
1741
|
+
var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
|
|
1742
|
+
|
|
1743
|
+
function isAsyncMode(object) {
|
|
1744
|
+
{
|
|
1745
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
1746
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
1747
|
+
|
|
1748
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
return false;
|
|
1753
|
+
}
|
|
1754
|
+
function isConcurrentMode(object) {
|
|
1755
|
+
{
|
|
1756
|
+
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
1757
|
+
hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
1758
|
+
|
|
1759
|
+
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
return false;
|
|
1764
|
+
}
|
|
1765
|
+
function isContextConsumer(object) {
|
|
1766
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
1767
|
+
}
|
|
1768
|
+
function isContextProvider(object) {
|
|
1769
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
1770
|
+
}
|
|
1771
|
+
function isElement(object) {
|
|
1772
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
1773
|
+
}
|
|
1774
|
+
function isForwardRef(object) {
|
|
1775
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
1776
|
+
}
|
|
1777
|
+
function isFragment(object) {
|
|
1778
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
1779
|
+
}
|
|
1780
|
+
function isLazy(object) {
|
|
1781
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
1782
|
+
}
|
|
1783
|
+
function isMemo(object) {
|
|
1784
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
1785
|
+
}
|
|
1786
|
+
function isPortal(object) {
|
|
1787
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
1788
|
+
}
|
|
1789
|
+
function isProfiler(object) {
|
|
1790
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
1791
|
+
}
|
|
1792
|
+
function isStrictMode(object) {
|
|
1793
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
1794
|
+
}
|
|
1795
|
+
function isSuspense(object) {
|
|
1796
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
1797
|
+
}
|
|
1798
|
+
function isSuspenseList(object) {
|
|
1799
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
exports.ContextConsumer = ContextConsumer;
|
|
1803
|
+
exports.ContextProvider = ContextProvider;
|
|
1804
|
+
exports.Element = Element;
|
|
1805
|
+
exports.ForwardRef = ForwardRef;
|
|
1806
|
+
exports.Fragment = Fragment;
|
|
1807
|
+
exports.Lazy = Lazy;
|
|
1808
|
+
exports.Memo = Memo;
|
|
1809
|
+
exports.Portal = Portal;
|
|
1810
|
+
exports.Profiler = Profiler;
|
|
1811
|
+
exports.StrictMode = StrictMode;
|
|
1812
|
+
exports.Suspense = Suspense;
|
|
1813
|
+
exports.SuspenseList = SuspenseList;
|
|
1814
|
+
exports.isAsyncMode = isAsyncMode;
|
|
1815
|
+
exports.isConcurrentMode = isConcurrentMode;
|
|
1816
|
+
exports.isContextConsumer = isContextConsumer;
|
|
1817
|
+
exports.isContextProvider = isContextProvider;
|
|
1818
|
+
exports.isElement = isElement;
|
|
1819
|
+
exports.isForwardRef = isForwardRef;
|
|
1820
|
+
exports.isFragment = isFragment;
|
|
1821
|
+
exports.isLazy = isLazy;
|
|
1822
|
+
exports.isMemo = isMemo;
|
|
1823
|
+
exports.isPortal = isPortal;
|
|
1824
|
+
exports.isProfiler = isProfiler;
|
|
1825
|
+
exports.isStrictMode = isStrictMode;
|
|
1826
|
+
exports.isSuspense = isSuspense;
|
|
1827
|
+
exports.isSuspenseList = isSuspenseList;
|
|
1828
|
+
exports.isValidElementType = isValidElementType;
|
|
1829
|
+
exports.typeOf = typeOf;
|
|
1830
|
+
})();
|
|
1831
|
+
}
|
|
1832
|
+
});
|
|
1833
|
+
reactIs_development$1.ContextConsumer;
|
|
1834
|
+
reactIs_development$1.ContextProvider;
|
|
1835
|
+
reactIs_development$1.Element;
|
|
1836
|
+
reactIs_development$1.ForwardRef;
|
|
1837
|
+
reactIs_development$1.Fragment;
|
|
1838
|
+
reactIs_development$1.Lazy;
|
|
1839
|
+
reactIs_development$1.Memo;
|
|
1840
|
+
reactIs_development$1.Portal;
|
|
1841
|
+
reactIs_development$1.Profiler;
|
|
1842
|
+
reactIs_development$1.StrictMode;
|
|
1843
|
+
reactIs_development$1.Suspense;
|
|
1844
|
+
reactIs_development$1.SuspenseList;
|
|
1845
|
+
reactIs_development$1.isAsyncMode;
|
|
1846
|
+
reactIs_development$1.isConcurrentMode;
|
|
1847
|
+
reactIs_development$1.isContextConsumer;
|
|
1848
|
+
reactIs_development$1.isContextProvider;
|
|
1849
|
+
reactIs_development$1.isElement;
|
|
1850
|
+
reactIs_development$1.isForwardRef;
|
|
1851
|
+
reactIs_development$1.isFragment;
|
|
1852
|
+
reactIs_development$1.isLazy;
|
|
1853
|
+
reactIs_development$1.isMemo;
|
|
1854
|
+
reactIs_development$1.isPortal;
|
|
1855
|
+
reactIs_development$1.isProfiler;
|
|
1856
|
+
reactIs_development$1.isStrictMode;
|
|
1857
|
+
reactIs_development$1.isSuspense;
|
|
1858
|
+
reactIs_development$1.isSuspenseList;
|
|
1859
|
+
reactIs_development$1.isValidElementType;
|
|
1860
|
+
reactIs_development$1.typeOf;
|
|
1861
|
+
|
|
1862
|
+
var reactIs$1 = createCommonjsModule(function (module) {
|
|
1863
|
+
|
|
1864
|
+
{
|
|
1865
|
+
module.exports = reactIs_development$1;
|
|
1866
|
+
}
|
|
1867
|
+
});
|
|
1868
|
+
var reactIs_1 = reactIs$1.ForwardRef;
|
|
1869
|
+
var reactIs_2 = reactIs$1.isFragment;
|
|
1870
|
+
reactIs$1.isLazy;
|
|
1871
|
+
reactIs$1.isMemo;
|
|
1872
|
+
var reactIs_5 = reactIs$1.Memo;
|
|
1873
|
+
reactIs$1.isValidElementType;
|
|
1874
|
+
|
|
1667
1875
|
// Simplified polyfill for IE11 support
|
|
1668
1876
|
// https://github.com/JamesMGreene/Function.name/blob/58b314d4a983110c3682f1228f845d39ccca1817/Function.name.js#L3
|
|
1669
1877
|
const fnNameMatchRegex = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
|
|
@@ -1857,8 +2065,8 @@
|
|
|
1857
2065
|
return id;
|
|
1858
2066
|
}
|
|
1859
2067
|
|
|
1860
|
-
//
|
|
1861
|
-
const maybeReactUseId = React__namespace['useId'
|
|
2068
|
+
// downstream bundlers may remove unnecessary concatenation, but won't remove toString call -- Workaround for https://github.com/webpack/webpack/issues/14814
|
|
2069
|
+
const maybeReactUseId = React__namespace['useId'.toString()];
|
|
1862
2070
|
/**
|
|
1863
2071
|
*
|
|
1864
2072
|
* @example <div id={useId()} />
|
|
@@ -2372,26 +2580,6 @@
|
|
|
2372
2580
|
return target;
|
|
2373
2581
|
}
|
|
2374
2582
|
|
|
2375
|
-
var _extends_1 = createCommonjsModule(function (module) {
|
|
2376
|
-
function _extends() {
|
|
2377
|
-
module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
2378
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
2379
|
-
var source = arguments[i];
|
|
2380
|
-
for (var key in source) {
|
|
2381
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2382
|
-
target[key] = source[key];
|
|
2383
|
-
}
|
|
2384
|
-
}
|
|
2385
|
-
}
|
|
2386
|
-
return target;
|
|
2387
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2388
|
-
return _extends.apply(this, arguments);
|
|
2389
|
-
}
|
|
2390
|
-
module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
2391
|
-
});
|
|
2392
|
-
|
|
2393
|
-
unwrapExports(_extends_1);
|
|
2394
|
-
|
|
2395
2583
|
function memoize$1(fn) {
|
|
2396
2584
|
var cache = Object.create(null);
|
|
2397
2585
|
return function (arg) {
|
|
@@ -2565,7 +2753,7 @@
|
|
|
2565
2753
|
return StyleSheet;
|
|
2566
2754
|
}();
|
|
2567
2755
|
|
|
2568
|
-
var e="-ms-";var r$1="-moz-";var a="-webkit-";var n="comm";var c="rule";var s="decl";var i="@import";var h="@keyframes";var $=Math.abs;var
|
|
2756
|
+
var e="-ms-";var r$1="-moz-";var a="-webkit-";var n="comm";var c="rule";var s="decl";var i="@import";var h="@keyframes";var $="@layer";var g=Math.abs;var k=String.fromCharCode;var m=Object.assign;function x(e,r){return O(e,0)^45?(((r<<2^O(e,0))<<2^O(e,1))<<2^O(e,2))<<2^O(e,3):0}function y(e){return e.trim()}function j(e,r){return (e=r.exec(e))?e[0]:e}function z(e,r,a){return e.replace(r,a)}function C(e,r){return e.indexOf(r)}function O(e,r){return e.charCodeAt(r)|0}function A(e,r,a){return e.slice(r,a)}function M(e){return e.length}function S(e){return e.length}function q(e,r){return r.push(e),e}function B(e,r){return e.map(r).join("")}var D=1;var E=1;var F=0;var G=0;var H=0;var I="";function J(e,r,a,n,c,s,t){return {value:e,root:r,parent:a,type:n,props:c,children:s,line:D,column:E,length:t,return:""}}function K(e,r){return m(J("",null,null,"",null,null,0),e,{length:-e.length},r)}function L(){return H}function N(){H=G>0?O(I,--G):0;if(E--,H===10)E=1,D--;return H}function P(){H=G<F?O(I,G++):0;if(E++,H===10)E=1,D++;return H}function Q(){return O(I,G)}function R(){return G}function T(e,r){return A(I,e,r)}function U(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function V(e){return D=E=1,F=M(I=e),G=0,[]}function W(e){return I="",e}function X(e){return y(T(G-1,re(e===91?e+2:e===40?e+1:e)))}function Z(e){while(H=Q())if(H<33)P();else break;return U(e)>2||U(H)>3?"":" "}function ee(e,r){while(--r&&P())if(H<48||H>102||H>57&&H<65||H>70&&H<97)break;return T(e,R()+(r<6&&Q()==32&&P()==32))}function re(e){while(P())switch(H){case e:return G;case 34:case 39:if(e!==34&&e!==39)re(H);break;case 40:if(e===41)re(e);break;case 92:P();break}return G}function ae(e,r){while(P())if(e+H===47+10)break;else if(e+H===42+42&&Q()===47)break;return "/*"+T(r,G-1)+"*"+k(e===47?e:P())}function ne(e){while(!U(Q()))P();return T(e,G)}function ce(e){return W(se("",null,null,null,[""],e=V(e),0,[0],e))}function se(e,r,a,n,c,s,t,u,i){var f=0;var o=0;var l=t;var v=0;var p=0;var h=0;var b=1;var w=1;var d=1;var $=0;var g="";var m=c;var x=s;var y=n;var j=g;while(w)switch(h=$,$=P()){case 40:if(h!=108&&O(j,l-1)==58){if(C(j+=z(X($),"&","&\f"),"&\f")!=-1)d=-1;break}case 34:case 39:case 91:j+=X($);break;case 9:case 10:case 13:case 32:j+=Z(h);break;case 92:j+=ee(R()-1,7);continue;case 47:switch(Q()){case 42:case 47:q(ue(ae(P(),R()),r,a),i);break;default:j+="/";}break;case 123*b:u[f++]=M(j)*d;case 125*b:case 59:case 0:switch($){case 0:case 125:w=0;case 59+o:if(d==-1)j=z(j,/\f/g,"");if(p>0&&M(j)-l)q(p>32?ie(j+";",n,a,l-1):ie(z(j," ","")+";",n,a,l-2),i);break;case 59:j+=";";default:q(y=te(j,r,a,f,o,c,u,g,m=[],x=[],l),s);if($===123)if(o===0)se(j,r,y,y,m,s,l,u,x);else switch(v===99&&O(j,3)===110?100:v){case 100:case 108:case 109:case 115:se(e,y,y,n&&q(te(e,y,y,0,0,c,u,g,c,m=[],l),x),c,x,l,u,n?m:x);break;default:se(j,y,y,y,[""],x,0,u,x);}}f=o=p=0,b=d=1,g=j="",l=t;break;case 58:l=1+M(j),p=h;default:if(b<1)if($==123)--b;else if($==125&&b++==0&&N()==125)continue;switch(j+=k($),$*b){case 38:d=o>0?1:(j+="\f",-1);break;case 44:u[f++]=(M(j)-1)*d,d=1;break;case 64:if(Q()===45)j+=X(P());v=Q(),o=l=M(g=j+=ne(R())),$++;break;case 45:if(h===45&&M(j)==2)b=0;}}return s}function te(e,r,a,n,s,t,u,i,f,o,l){var v=s-1;var p=s===0?t:[""];var h=S(p);for(var b=0,w=0,d=0;b<n;++b)for(var $=0,k=A(e,v+1,v=g(w=u[b])),m=e;$<h;++$)if(m=y(w>0?p[$]+" "+k:z(k,/&\f/g,p[$])))f[d++]=m;return J(e,r,a,s===0?c:i,f,o,l)}function ue(e,r,a){return J(e,r,a,n,k(L()),A(e,2,-2),0)}function ie(e,r,a,n){return J(e,r,a,s,A(e,0,n),A(e,n+1,-1),n)}function oe(e,r){var a="";var n=S(e);for(var c=0;c<n;c++)a+=r(e[c],c,e,r)||"";return a}function le(e,r,a,t){switch(e.type){case $:if(e.children.length)break;case i:case s:return e.return=e.return||e.value;case n:return "";case h:return e.return=e.value+"{"+oe(e.children,t)+"}";case c:e.value=e.props.join(",");}return M(a=oe(e.children,t))?e.return=e.value+"{"+a+"}":""}function ve(e){var r=S(e);return function(a,n,c,s){var t="";for(var u=0;u<r;u++)t+=e[u](a,n,c,s)||"";return t}}
|
|
2569
2757
|
|
|
2570
2758
|
var weakMemoize = function weakMemoize(func) {
|
|
2571
2759
|
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
|
|
@@ -2588,20 +2776,20 @@
|
|
|
2588
2776
|
|
|
2589
2777
|
while (true) {
|
|
2590
2778
|
previous = character;
|
|
2591
|
-
character =
|
|
2779
|
+
character = Q(); // &\f
|
|
2592
2780
|
|
|
2593
2781
|
if (previous === 38 && character === 12) {
|
|
2594
2782
|
points[index] = 1;
|
|
2595
2783
|
}
|
|
2596
2784
|
|
|
2597
|
-
if (
|
|
2785
|
+
if (U(character)) {
|
|
2598
2786
|
break;
|
|
2599
2787
|
}
|
|
2600
2788
|
|
|
2601
|
-
|
|
2789
|
+
P();
|
|
2602
2790
|
}
|
|
2603
2791
|
|
|
2604
|
-
return
|
|
2792
|
+
return T(begin, G);
|
|
2605
2793
|
};
|
|
2606
2794
|
|
|
2607
2795
|
var toRules = function toRules(parsed, points) {
|
|
@@ -2610,10 +2798,10 @@
|
|
|
2610
2798
|
var character = 44;
|
|
2611
2799
|
|
|
2612
2800
|
do {
|
|
2613
|
-
switch (
|
|
2801
|
+
switch (U(character)) {
|
|
2614
2802
|
case 0:
|
|
2615
2803
|
// &\f
|
|
2616
|
-
if (character === 38 &&
|
|
2804
|
+
if (character === 38 && Q() === 12) {
|
|
2617
2805
|
// this is not 100% correct, we don't account for literal sequences here - like for example quoted strings
|
|
2618
2806
|
// stylis inserts \f after & to know when & where it should replace this sequence with the context selector
|
|
2619
2807
|
// and when it should just concatenate the outer and inner selectors
|
|
@@ -2621,18 +2809,18 @@
|
|
|
2621
2809
|
points[index] = 1;
|
|
2622
2810
|
}
|
|
2623
2811
|
|
|
2624
|
-
parsed[index] += identifierWithPointTracking(
|
|
2812
|
+
parsed[index] += identifierWithPointTracking(G - 1, points, index);
|
|
2625
2813
|
break;
|
|
2626
2814
|
|
|
2627
2815
|
case 2:
|
|
2628
|
-
parsed[index] +=
|
|
2816
|
+
parsed[index] += X(character);
|
|
2629
2817
|
break;
|
|
2630
2818
|
|
|
2631
2819
|
case 4:
|
|
2632
2820
|
// comma
|
|
2633
2821
|
if (character === 44) {
|
|
2634
2822
|
// colon
|
|
2635
|
-
parsed[++index] =
|
|
2823
|
+
parsed[++index] = Q() === 58 ? '&\f' : '';
|
|
2636
2824
|
points[index] = parsed[index].length;
|
|
2637
2825
|
break;
|
|
2638
2826
|
}
|
|
@@ -2640,15 +2828,15 @@
|
|
|
2640
2828
|
// fallthrough
|
|
2641
2829
|
|
|
2642
2830
|
default:
|
|
2643
|
-
parsed[index] +=
|
|
2831
|
+
parsed[index] += k(character);
|
|
2644
2832
|
}
|
|
2645
|
-
} while (character =
|
|
2833
|
+
} while (character = P());
|
|
2646
2834
|
|
|
2647
2835
|
return parsed;
|
|
2648
2836
|
};
|
|
2649
2837
|
|
|
2650
2838
|
var getRules = function getRules(value, points) {
|
|
2651
|
-
return
|
|
2839
|
+
return W(toRules(V(value), points));
|
|
2652
2840
|
}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11
|
|
2653
2841
|
|
|
2654
2842
|
|
|
@@ -2818,7 +3006,7 @@
|
|
|
2818
3006
|
/* eslint-disable no-fallthrough */
|
|
2819
3007
|
|
|
2820
3008
|
function prefix(value, length) {
|
|
2821
|
-
switch (
|
|
3009
|
+
switch (x(value, length)) {
|
|
2822
3010
|
// color-adjust
|
|
2823
3011
|
case 5103:
|
|
2824
3012
|
return a + 'print-' + value + value;
|
|
@@ -2873,51 +3061,51 @@
|
|
|
2873
3061
|
// align-items
|
|
2874
3062
|
|
|
2875
3063
|
case 5187:
|
|
2876
|
-
return a + value +
|
|
3064
|
+
return a + value + z(value, /(\w+).+(:[^]+)/, a + 'box-$1$2' + e + 'flex-$1$2') + value;
|
|
2877
3065
|
// align-self
|
|
2878
3066
|
|
|
2879
3067
|
case 5443:
|
|
2880
|
-
return a + value + e + 'flex-item-' +
|
|
3068
|
+
return a + value + e + 'flex-item-' + z(value, /flex-|-self/, '') + value;
|
|
2881
3069
|
// align-content
|
|
2882
3070
|
|
|
2883
3071
|
case 4675:
|
|
2884
|
-
return a + value + e + 'flex-line-pack' +
|
|
3072
|
+
return a + value + e + 'flex-line-pack' + z(value, /align-content|flex-|-self/, '') + value;
|
|
2885
3073
|
// flex-shrink
|
|
2886
3074
|
|
|
2887
3075
|
case 5548:
|
|
2888
|
-
return a + value + e +
|
|
3076
|
+
return a + value + e + z(value, 'shrink', 'negative') + value;
|
|
2889
3077
|
// flex-basis
|
|
2890
3078
|
|
|
2891
3079
|
case 5292:
|
|
2892
|
-
return a + value + e +
|
|
3080
|
+
return a + value + e + z(value, 'basis', 'preferred-size') + value;
|
|
2893
3081
|
// flex-grow
|
|
2894
3082
|
|
|
2895
3083
|
case 6060:
|
|
2896
|
-
return a + 'box-' +
|
|
3084
|
+
return a + 'box-' + z(value, '-grow', '') + a + value + e + z(value, 'grow', 'positive') + value;
|
|
2897
3085
|
// transition
|
|
2898
3086
|
|
|
2899
3087
|
case 4554:
|
|
2900
|
-
return a +
|
|
3088
|
+
return a + z(value, /([^-])(transform)/g, '$1' + a + '$2') + value;
|
|
2901
3089
|
// cursor
|
|
2902
3090
|
|
|
2903
3091
|
case 6187:
|
|
2904
|
-
return
|
|
3092
|
+
return z(z(z(value, /(zoom-|grab)/, a + '$1'), /(image-set)/, a + '$1'), value, '') + value;
|
|
2905
3093
|
// background, background-image
|
|
2906
3094
|
|
|
2907
3095
|
case 5495:
|
|
2908
3096
|
case 3959:
|
|
2909
|
-
return
|
|
3097
|
+
return z(value, /(image-set\([^]*)/, a + '$1' + '$`$1');
|
|
2910
3098
|
// justify-content
|
|
2911
3099
|
|
|
2912
3100
|
case 4968:
|
|
2913
|
-
return
|
|
3101
|
+
return z(z(value, /(.+:)(flex-)?(.*)/, a + 'box-pack:$3' + e + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + a + value + value;
|
|
2914
3102
|
// (margin|padding)-inline-(start|end)
|
|
2915
3103
|
|
|
2916
3104
|
case 4095:
|
|
2917
3105
|
case 3583:
|
|
2918
3106
|
case 4068:
|
|
2919
3107
|
case 2532:
|
|
2920
|
-
return
|
|
3108
|
+
return z(value, /(.+)-inline(.+)/, a + '$1$2') + value;
|
|
2921
3109
|
// (min|max)?(width|height|inline-size|block-size)
|
|
2922
3110
|
|
|
2923
3111
|
case 8116:
|
|
@@ -2933,55 +3121,55 @@
|
|
|
2933
3121
|
case 5021:
|
|
2934
3122
|
case 4765:
|
|
2935
3123
|
// stretch, max-content, min-content, fill-available
|
|
2936
|
-
if (
|
|
3124
|
+
if (M(value) - 1 - length > 6) switch (O(value, length + 1)) {
|
|
2937
3125
|
// (m)ax-content, (m)in-content
|
|
2938
3126
|
case 109:
|
|
2939
3127
|
// -
|
|
2940
|
-
if (
|
|
3128
|
+
if (O(value, length + 4) !== 45) break;
|
|
2941
3129
|
// (f)ill-available, (f)it-content
|
|
2942
3130
|
|
|
2943
3131
|
case 102:
|
|
2944
|
-
return
|
|
3132
|
+
return z(value, /(.+:)(.+)-([^]+)/, '$1' + a + '$2-$3' + '$1' + r$1 + (O(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
|
|
2945
3133
|
// (s)tretch
|
|
2946
3134
|
|
|
2947
3135
|
case 115:
|
|
2948
|
-
return ~
|
|
3136
|
+
return ~C(value, 'stretch') ? prefix(z(value, 'stretch', 'fill-available'), length) + value : value;
|
|
2949
3137
|
}
|
|
2950
3138
|
break;
|
|
2951
3139
|
// position: sticky
|
|
2952
3140
|
|
|
2953
3141
|
case 4949:
|
|
2954
3142
|
// (s)ticky?
|
|
2955
|
-
if (
|
|
3143
|
+
if (O(value, length + 1) !== 115) break;
|
|
2956
3144
|
// display: (flex|inline-flex)
|
|
2957
3145
|
|
|
2958
3146
|
case 6444:
|
|
2959
|
-
switch (
|
|
3147
|
+
switch (O(value, M(value) - 3 - (~C(value, '!important') && 10))) {
|
|
2960
3148
|
// stic(k)y
|
|
2961
3149
|
case 107:
|
|
2962
|
-
return
|
|
3150
|
+
return z(value, ':', ':' + a) + value;
|
|
2963
3151
|
// (inline-)?fl(e)x
|
|
2964
3152
|
|
|
2965
3153
|
case 101:
|
|
2966
|
-
return
|
|
3154
|
+
return z(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + a + (O(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + a + '$2$3' + '$1' + e + '$2box$3') + value;
|
|
2967
3155
|
}
|
|
2968
3156
|
|
|
2969
3157
|
break;
|
|
2970
3158
|
// writing-mode
|
|
2971
3159
|
|
|
2972
3160
|
case 5936:
|
|
2973
|
-
switch (
|
|
3161
|
+
switch (O(value, length + 11)) {
|
|
2974
3162
|
// vertical-l(r)
|
|
2975
3163
|
case 114:
|
|
2976
|
-
return a + value + e +
|
|
3164
|
+
return a + value + e + z(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
|
|
2977
3165
|
// vertical-r(l)
|
|
2978
3166
|
|
|
2979
3167
|
case 108:
|
|
2980
|
-
return a + value + e +
|
|
3168
|
+
return a + value + e + z(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
|
|
2981
3169
|
// horizontal(-)tb
|
|
2982
3170
|
|
|
2983
3171
|
case 45:
|
|
2984
|
-
return a + value + e +
|
|
3172
|
+
return a + value + e + z(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
|
|
2985
3173
|
}
|
|
2986
3174
|
|
|
2987
3175
|
return a + value + e + value + value;
|
|
@@ -2997,28 +3185,28 @@
|
|
|
2997
3185
|
break;
|
|
2998
3186
|
|
|
2999
3187
|
case h:
|
|
3000
|
-
return
|
|
3001
|
-
value:
|
|
3188
|
+
return oe([K(element, {
|
|
3189
|
+
value: z(element.value, '@', '@' + a)
|
|
3002
3190
|
})], callback);
|
|
3003
3191
|
|
|
3004
3192
|
case c:
|
|
3005
|
-
if (element.length) return
|
|
3006
|
-
switch (
|
|
3193
|
+
if (element.length) return B(element.props, function (value) {
|
|
3194
|
+
switch (j(value, /(::plac\w+|:read-\w+)/)) {
|
|
3007
3195
|
// :read-(only|write)
|
|
3008
3196
|
case ':read-only':
|
|
3009
3197
|
case ':read-write':
|
|
3010
|
-
return
|
|
3011
|
-
props: [
|
|
3198
|
+
return oe([K(element, {
|
|
3199
|
+
props: [z(value, /:(read-\w+)/, ':' + r$1 + '$1')]
|
|
3012
3200
|
})], callback);
|
|
3013
3201
|
// :placeholder
|
|
3014
3202
|
|
|
3015
3203
|
case '::placeholder':
|
|
3016
|
-
return
|
|
3017
|
-
props: [
|
|
3018
|
-
}),
|
|
3019
|
-
props: [
|
|
3020
|
-
}),
|
|
3021
|
-
props: [
|
|
3204
|
+
return oe([K(element, {
|
|
3205
|
+
props: [z(value, /:(plac\w+)/, ':' + a + 'input-$1')]
|
|
3206
|
+
}), K(element, {
|
|
3207
|
+
props: [z(value, /:(plac\w+)/, ':' + r$1 + '$1')]
|
|
3208
|
+
}), K(element, {
|
|
3209
|
+
props: [z(value, /:(plac\w+)/, e + 'input-$1')]
|
|
3022
3210
|
})], callback);
|
|
3023
3211
|
}
|
|
3024
3212
|
|
|
@@ -3111,7 +3299,7 @@
|
|
|
3111
3299
|
|
|
3112
3300
|
if (isBrowser$5) {
|
|
3113
3301
|
var currentSheet;
|
|
3114
|
-
var finalizingPlugins = [
|
|
3302
|
+
var finalizingPlugins = [le, function (element) {
|
|
3115
3303
|
if (!element.root) {
|
|
3116
3304
|
if (element["return"]) {
|
|
3117
3305
|
currentSheet.insert(element["return"]);
|
|
@@ -3122,10 +3310,10 @@
|
|
|
3122
3310
|
}
|
|
3123
3311
|
}
|
|
3124
3312
|
} ];
|
|
3125
|
-
var serializer =
|
|
3313
|
+
var serializer = ve(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
|
|
3126
3314
|
|
|
3127
3315
|
var stylis = function stylis(styles) {
|
|
3128
|
-
return
|
|
3316
|
+
return oe(ce(styles), serializer);
|
|
3129
3317
|
};
|
|
3130
3318
|
|
|
3131
3319
|
_insert = function insert(selector, serialized, sheet, shouldCache) {
|
|
@@ -3146,12 +3334,12 @@
|
|
|
3146
3334
|
}
|
|
3147
3335
|
};
|
|
3148
3336
|
} else {
|
|
3149
|
-
var _finalizingPlugins = [
|
|
3337
|
+
var _finalizingPlugins = [le];
|
|
3150
3338
|
|
|
3151
|
-
var _serializer =
|
|
3339
|
+
var _serializer = ve(omnipresentPlugins.concat(stylisPlugins, _finalizingPlugins));
|
|
3152
3340
|
|
|
3153
3341
|
var _stylis = function _stylis(styles) {
|
|
3154
|
-
return
|
|
3342
|
+
return oe(ce(styles), _serializer);
|
|
3155
3343
|
}; // $FlowFixMe
|
|
3156
3344
|
|
|
3157
3345
|
|
|
@@ -3222,6 +3410,214 @@
|
|
|
3222
3410
|
return cache;
|
|
3223
3411
|
};
|
|
3224
3412
|
|
|
3413
|
+
var reactIs_development = createCommonjsModule(function (module, exports) {
|
|
3414
|
+
|
|
3415
|
+
|
|
3416
|
+
|
|
3417
|
+
{
|
|
3418
|
+
(function() {
|
|
3419
|
+
|
|
3420
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
3421
|
+
// nor polyfill, then a plain number is used for performance.
|
|
3422
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
3423
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
3424
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
3425
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
3426
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
3427
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
3428
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
3429
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
3430
|
+
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
3431
|
+
|
|
3432
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
3433
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
3434
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
3435
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
3436
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
3437
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
3438
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
3439
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
3440
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
3441
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
3442
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
3443
|
+
|
|
3444
|
+
function isValidElementType(type) {
|
|
3445
|
+
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
3446
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (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 || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
3447
|
+
}
|
|
3448
|
+
|
|
3449
|
+
function typeOf(object) {
|
|
3450
|
+
if (typeof object === 'object' && object !== null) {
|
|
3451
|
+
var $$typeof = object.$$typeof;
|
|
3452
|
+
|
|
3453
|
+
switch ($$typeof) {
|
|
3454
|
+
case REACT_ELEMENT_TYPE:
|
|
3455
|
+
var type = object.type;
|
|
3456
|
+
|
|
3457
|
+
switch (type) {
|
|
3458
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
3459
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
3460
|
+
case REACT_FRAGMENT_TYPE:
|
|
3461
|
+
case REACT_PROFILER_TYPE:
|
|
3462
|
+
case REACT_STRICT_MODE_TYPE:
|
|
3463
|
+
case REACT_SUSPENSE_TYPE:
|
|
3464
|
+
return type;
|
|
3465
|
+
|
|
3466
|
+
default:
|
|
3467
|
+
var $$typeofType = type && type.$$typeof;
|
|
3468
|
+
|
|
3469
|
+
switch ($$typeofType) {
|
|
3470
|
+
case REACT_CONTEXT_TYPE:
|
|
3471
|
+
case REACT_FORWARD_REF_TYPE:
|
|
3472
|
+
case REACT_LAZY_TYPE:
|
|
3473
|
+
case REACT_MEMO_TYPE:
|
|
3474
|
+
case REACT_PROVIDER_TYPE:
|
|
3475
|
+
return $$typeofType;
|
|
3476
|
+
|
|
3477
|
+
default:
|
|
3478
|
+
return $$typeof;
|
|
3479
|
+
}
|
|
3480
|
+
|
|
3481
|
+
}
|
|
3482
|
+
|
|
3483
|
+
case REACT_PORTAL_TYPE:
|
|
3484
|
+
return $$typeof;
|
|
3485
|
+
}
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3488
|
+
return undefined;
|
|
3489
|
+
} // AsyncMode is deprecated along with isAsyncMode
|
|
3490
|
+
|
|
3491
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
3492
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
3493
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
3494
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
3495
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
3496
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
3497
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
3498
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
3499
|
+
var Memo = REACT_MEMO_TYPE;
|
|
3500
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
3501
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
3502
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
3503
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
3504
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
3505
|
+
|
|
3506
|
+
function isAsyncMode(object) {
|
|
3507
|
+
{
|
|
3508
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
3509
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
3510
|
+
|
|
3511
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
3512
|
+
}
|
|
3513
|
+
}
|
|
3514
|
+
|
|
3515
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
3516
|
+
}
|
|
3517
|
+
function isConcurrentMode(object) {
|
|
3518
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
3519
|
+
}
|
|
3520
|
+
function isContextConsumer(object) {
|
|
3521
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
3522
|
+
}
|
|
3523
|
+
function isContextProvider(object) {
|
|
3524
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
3525
|
+
}
|
|
3526
|
+
function isElement(object) {
|
|
3527
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
3528
|
+
}
|
|
3529
|
+
function isForwardRef(object) {
|
|
3530
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
3531
|
+
}
|
|
3532
|
+
function isFragment(object) {
|
|
3533
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
3534
|
+
}
|
|
3535
|
+
function isLazy(object) {
|
|
3536
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
3537
|
+
}
|
|
3538
|
+
function isMemo(object) {
|
|
3539
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
3540
|
+
}
|
|
3541
|
+
function isPortal(object) {
|
|
3542
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
3543
|
+
}
|
|
3544
|
+
function isProfiler(object) {
|
|
3545
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
3546
|
+
}
|
|
3547
|
+
function isStrictMode(object) {
|
|
3548
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
3549
|
+
}
|
|
3550
|
+
function isSuspense(object) {
|
|
3551
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
3552
|
+
}
|
|
3553
|
+
|
|
3554
|
+
exports.AsyncMode = AsyncMode;
|
|
3555
|
+
exports.ConcurrentMode = ConcurrentMode;
|
|
3556
|
+
exports.ContextConsumer = ContextConsumer;
|
|
3557
|
+
exports.ContextProvider = ContextProvider;
|
|
3558
|
+
exports.Element = Element;
|
|
3559
|
+
exports.ForwardRef = ForwardRef;
|
|
3560
|
+
exports.Fragment = Fragment;
|
|
3561
|
+
exports.Lazy = Lazy;
|
|
3562
|
+
exports.Memo = Memo;
|
|
3563
|
+
exports.Portal = Portal;
|
|
3564
|
+
exports.Profiler = Profiler;
|
|
3565
|
+
exports.StrictMode = StrictMode;
|
|
3566
|
+
exports.Suspense = Suspense;
|
|
3567
|
+
exports.isAsyncMode = isAsyncMode;
|
|
3568
|
+
exports.isConcurrentMode = isConcurrentMode;
|
|
3569
|
+
exports.isContextConsumer = isContextConsumer;
|
|
3570
|
+
exports.isContextProvider = isContextProvider;
|
|
3571
|
+
exports.isElement = isElement;
|
|
3572
|
+
exports.isForwardRef = isForwardRef;
|
|
3573
|
+
exports.isFragment = isFragment;
|
|
3574
|
+
exports.isLazy = isLazy;
|
|
3575
|
+
exports.isMemo = isMemo;
|
|
3576
|
+
exports.isPortal = isPortal;
|
|
3577
|
+
exports.isProfiler = isProfiler;
|
|
3578
|
+
exports.isStrictMode = isStrictMode;
|
|
3579
|
+
exports.isSuspense = isSuspense;
|
|
3580
|
+
exports.isValidElementType = isValidElementType;
|
|
3581
|
+
exports.typeOf = typeOf;
|
|
3582
|
+
})();
|
|
3583
|
+
}
|
|
3584
|
+
});
|
|
3585
|
+
reactIs_development.AsyncMode;
|
|
3586
|
+
reactIs_development.ConcurrentMode;
|
|
3587
|
+
reactIs_development.ContextConsumer;
|
|
3588
|
+
reactIs_development.ContextProvider;
|
|
3589
|
+
reactIs_development.Element;
|
|
3590
|
+
reactIs_development.ForwardRef;
|
|
3591
|
+
reactIs_development.Fragment;
|
|
3592
|
+
reactIs_development.Lazy;
|
|
3593
|
+
reactIs_development.Memo;
|
|
3594
|
+
reactIs_development.Portal;
|
|
3595
|
+
reactIs_development.Profiler;
|
|
3596
|
+
reactIs_development.StrictMode;
|
|
3597
|
+
reactIs_development.Suspense;
|
|
3598
|
+
reactIs_development.isAsyncMode;
|
|
3599
|
+
reactIs_development.isConcurrentMode;
|
|
3600
|
+
reactIs_development.isContextConsumer;
|
|
3601
|
+
reactIs_development.isContextProvider;
|
|
3602
|
+
reactIs_development.isElement;
|
|
3603
|
+
reactIs_development.isForwardRef;
|
|
3604
|
+
reactIs_development.isFragment;
|
|
3605
|
+
reactIs_development.isLazy;
|
|
3606
|
+
reactIs_development.isMemo;
|
|
3607
|
+
reactIs_development.isPortal;
|
|
3608
|
+
reactIs_development.isProfiler;
|
|
3609
|
+
reactIs_development.isStrictMode;
|
|
3610
|
+
reactIs_development.isSuspense;
|
|
3611
|
+
reactIs_development.isValidElementType;
|
|
3612
|
+
reactIs_development.typeOf;
|
|
3613
|
+
|
|
3614
|
+
var reactIs = createCommonjsModule(function (module) {
|
|
3615
|
+
|
|
3616
|
+
{
|
|
3617
|
+
module.exports = reactIs_development;
|
|
3618
|
+
}
|
|
3619
|
+
});
|
|
3620
|
+
|
|
3225
3621
|
var FORWARD_REF_STATICS = {
|
|
3226
3622
|
'$$typeof': true,
|
|
3227
3623
|
render: true,
|
|
@@ -3349,6 +3745,7 @@
|
|
|
3349
3745
|
|
|
3350
3746
|
var unitlessKeys = {
|
|
3351
3747
|
animationIterationCount: 1,
|
|
3748
|
+
aspectRatio: 1,
|
|
3352
3749
|
borderImageOutset: 1,
|
|
3353
3750
|
borderImageSlice: 1,
|
|
3354
3751
|
borderImageWidth: 1,
|
|
@@ -3709,12 +4106,12 @@
|
|
|
3709
4106
|
|
|
3710
4107
|
var useInsertionEffect = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : false;
|
|
3711
4108
|
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$3 ? syncFallback : useInsertionEffect || syncFallback;
|
|
3712
|
-
var useInsertionEffectWithLayoutFallback = useInsertionEffect ||
|
|
4109
|
+
var useInsertionEffectWithLayoutFallback = useInsertionEffect || React__namespace.useLayoutEffect;
|
|
3713
4110
|
|
|
3714
4111
|
var isBrowser$2 = typeof document !== 'undefined';
|
|
3715
4112
|
var hasOwnProperty = {}.hasOwnProperty;
|
|
3716
4113
|
|
|
3717
|
-
var EmotionCacheContext = /* #__PURE__ */
|
|
4114
|
+
var EmotionCacheContext = /* #__PURE__ */React__namespace.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
3718
4115
|
// because this module is primarily intended for the browser and node
|
|
3719
4116
|
// but it's also required in react native and similar environments sometimes
|
|
3720
4117
|
// and we could have a special build just for that
|
|
@@ -3753,7 +4150,7 @@
|
|
|
3753
4150
|
cache = createCache({
|
|
3754
4151
|
key: 'css'
|
|
3755
4152
|
});
|
|
3756
|
-
return /*#__PURE__*/
|
|
4153
|
+
return /*#__PURE__*/React__namespace.createElement(EmotionCacheContext.Provider, {
|
|
3757
4154
|
value: cache
|
|
3758
4155
|
}, func(props, cache));
|
|
3759
4156
|
} else {
|
|
@@ -3763,7 +4160,7 @@
|
|
|
3763
4160
|
};
|
|
3764
4161
|
}
|
|
3765
4162
|
|
|
3766
|
-
var ThemeContext$2 = /* #__PURE__ */
|
|
4163
|
+
var ThemeContext$2 = /* #__PURE__ */React__namespace.createContext({});
|
|
3767
4164
|
|
|
3768
4165
|
{
|
|
3769
4166
|
ThemeContext$2.displayName = 'EmotionThemeContext';
|
|
@@ -3792,7 +4189,7 @@
|
|
|
3792
4189
|
next = next.next;
|
|
3793
4190
|
}
|
|
3794
4191
|
|
|
3795
|
-
return /*#__PURE__*/
|
|
4192
|
+
return /*#__PURE__*/React__namespace.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
|
|
3796
4193
|
__html: rules
|
|
3797
4194
|
}, _ref2.nonce = cache.sheet.nonce, _ref2));
|
|
3798
4195
|
}
|
|
@@ -3819,7 +4216,7 @@
|
|
|
3819
4216
|
className = props.className + " ";
|
|
3820
4217
|
}
|
|
3821
4218
|
|
|
3822
|
-
var serialized = serializeStyles(registeredStyles, undefined,
|
|
4219
|
+
var serialized = serializeStyles(registeredStyles, undefined, React__namespace.useContext(ThemeContext$2));
|
|
3823
4220
|
|
|
3824
4221
|
if (serialized.name.indexOf('-') === -1) {
|
|
3825
4222
|
var labelFromStack = props[labelPropName];
|
|
@@ -3840,20 +4237,40 @@
|
|
|
3840
4237
|
|
|
3841
4238
|
newProps.ref = ref;
|
|
3842
4239
|
newProps.className = className;
|
|
3843
|
-
return /*#__PURE__*/
|
|
4240
|
+
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion$2, {
|
|
3844
4241
|
cache: cache,
|
|
3845
4242
|
serialized: serialized,
|
|
3846
4243
|
isStringTag: typeof WrappedComponent === 'string'
|
|
3847
|
-
}), /*#__PURE__*/
|
|
4244
|
+
}), /*#__PURE__*/React__namespace.createElement(WrappedComponent, newProps));
|
|
3848
4245
|
});
|
|
3849
4246
|
|
|
3850
4247
|
{
|
|
3851
4248
|
Emotion.displayName = 'EmotionCssPropInternal';
|
|
3852
4249
|
}
|
|
3853
4250
|
|
|
4251
|
+
var _extends_1 = createCommonjsModule(function (module) {
|
|
4252
|
+
function _extends() {
|
|
4253
|
+
module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
4254
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
4255
|
+
var source = arguments[i];
|
|
4256
|
+
for (var key in source) {
|
|
4257
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
4258
|
+
target[key] = source[key];
|
|
4259
|
+
}
|
|
4260
|
+
}
|
|
4261
|
+
}
|
|
4262
|
+
return target;
|
|
4263
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
4264
|
+
return _extends.apply(this, arguments);
|
|
4265
|
+
}
|
|
4266
|
+
module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
4267
|
+
});
|
|
4268
|
+
|
|
4269
|
+
unwrapExports(_extends_1);
|
|
4270
|
+
|
|
3854
4271
|
var pkg = {
|
|
3855
4272
|
name: "@emotion/react",
|
|
3856
|
-
version: "11.
|
|
4273
|
+
version: "11.11.0",
|
|
3857
4274
|
main: "dist/emotion-react.cjs.js",
|
|
3858
4275
|
module: "dist/emotion-react.esm.js",
|
|
3859
4276
|
browser: {
|
|
@@ -3866,6 +4283,7 @@
|
|
|
3866
4283
|
browser: "./dist/emotion-react.browser.esm.js",
|
|
3867
4284
|
"default": "./dist/emotion-react.esm.js"
|
|
3868
4285
|
},
|
|
4286
|
+
"import": "./dist/emotion-react.cjs.mjs",
|
|
3869
4287
|
"default": "./dist/emotion-react.cjs.js"
|
|
3870
4288
|
},
|
|
3871
4289
|
"./jsx-runtime": {
|
|
@@ -3874,6 +4292,7 @@
|
|
|
3874
4292
|
browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
|
|
3875
4293
|
"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"
|
|
3876
4294
|
},
|
|
4295
|
+
"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",
|
|
3877
4296
|
"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
|
|
3878
4297
|
},
|
|
3879
4298
|
"./_isolated-hnrs": {
|
|
@@ -3882,6 +4301,7 @@
|
|
|
3882
4301
|
browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
|
|
3883
4302
|
"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"
|
|
3884
4303
|
},
|
|
4304
|
+
"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",
|
|
3885
4305
|
"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
|
|
3886
4306
|
},
|
|
3887
4307
|
"./jsx-dev-runtime": {
|
|
@@ -3890,11 +4310,18 @@
|
|
|
3890
4310
|
browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
|
|
3891
4311
|
"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"
|
|
3892
4312
|
},
|
|
4313
|
+
"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",
|
|
3893
4314
|
"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
|
|
3894
4315
|
},
|
|
3895
4316
|
"./package.json": "./package.json",
|
|
3896
4317
|
"./types/css-prop": "./types/css-prop.d.ts",
|
|
3897
|
-
"./macro":
|
|
4318
|
+
"./macro": {
|
|
4319
|
+
types: {
|
|
4320
|
+
"import": "./macro.d.mts",
|
|
4321
|
+
"default": "./macro.d.ts"
|
|
4322
|
+
},
|
|
4323
|
+
"default": "./macro.js"
|
|
4324
|
+
}
|
|
3898
4325
|
},
|
|
3899
4326
|
types: "types/index.d.ts",
|
|
3900
4327
|
files: [
|
|
@@ -3904,9 +4331,7 @@
|
|
|
3904
4331
|
"jsx-dev-runtime",
|
|
3905
4332
|
"_isolated-hnrs",
|
|
3906
4333
|
"types/*.d.ts",
|
|
3907
|
-
"macro
|
|
3908
|
-
"macro.d.ts",
|
|
3909
|
-
"macro.js.flow"
|
|
4334
|
+
"macro.*"
|
|
3910
4335
|
],
|
|
3911
4336
|
sideEffects: false,
|
|
3912
4337
|
author: "Emotion Contributors",
|
|
@@ -3916,12 +4341,12 @@
|
|
|
3916
4341
|
},
|
|
3917
4342
|
dependencies: {
|
|
3918
4343
|
"@babel/runtime": "^7.18.3",
|
|
3919
|
-
"@emotion/babel-plugin": "^11.
|
|
3920
|
-
"@emotion/cache": "^11.
|
|
3921
|
-
"@emotion/serialize": "^1.1.
|
|
3922
|
-
"@emotion/use-insertion-effect-with-fallbacks": "^1.0.
|
|
3923
|
-
"@emotion/utils": "^1.2.
|
|
3924
|
-
"@emotion/weak-memoize": "^0.3.
|
|
4344
|
+
"@emotion/babel-plugin": "^11.11.0",
|
|
4345
|
+
"@emotion/cache": "^11.11.0",
|
|
4346
|
+
"@emotion/serialize": "^1.1.2",
|
|
4347
|
+
"@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
|
|
4348
|
+
"@emotion/utils": "^1.2.1",
|
|
4349
|
+
"@emotion/weak-memoize": "^0.3.1",
|
|
3925
4350
|
"hoist-non-react-statics": "^3.3.1"
|
|
3926
4351
|
},
|
|
3927
4352
|
peerDependencies: {
|
|
@@ -3934,10 +4359,10 @@
|
|
|
3934
4359
|
},
|
|
3935
4360
|
devDependencies: {
|
|
3936
4361
|
"@definitelytyped/dtslint": "0.0.112",
|
|
3937
|
-
"@emotion/css": "11.
|
|
3938
|
-
"@emotion/css-prettifier": "1.1.
|
|
3939
|
-
"@emotion/server": "11.
|
|
3940
|
-
"@emotion/styled": "11.
|
|
4362
|
+
"@emotion/css": "11.11.0",
|
|
4363
|
+
"@emotion/css-prettifier": "1.1.3",
|
|
4364
|
+
"@emotion/server": "11.11.0",
|
|
4365
|
+
"@emotion/styled": "11.11.0",
|
|
3941
4366
|
"html-tag-names": "^1.1.2",
|
|
3942
4367
|
react: "16.14.0",
|
|
3943
4368
|
"svg-tag-names": "^1.1.1",
|
|
@@ -3963,7 +4388,13 @@
|
|
|
3963
4388
|
],
|
|
3964
4389
|
extra: {
|
|
3965
4390
|
"./types/css-prop": "./types/css-prop.d.ts",
|
|
3966
|
-
"./macro":
|
|
4391
|
+
"./macro": {
|
|
4392
|
+
types: {
|
|
4393
|
+
"import": "./macro.d.mts",
|
|
4394
|
+
"default": "./macro.d.ts"
|
|
4395
|
+
},
|
|
4396
|
+
"default": "./macro.js"
|
|
4397
|
+
}
|
|
3967
4398
|
}
|
|
3968
4399
|
}
|
|
3969
4400
|
}
|
|
@@ -3984,7 +4415,7 @@
|
|
|
3984
4415
|
}
|
|
3985
4416
|
|
|
3986
4417
|
var styles = props.styles;
|
|
3987
|
-
var serialized = serializeStyles([styles], undefined,
|
|
4418
|
+
var serialized = serializeStyles([styles], undefined, React__namespace.useContext(ThemeContext$2));
|
|
3988
4419
|
|
|
3989
4420
|
if (!isBrowser$2) {
|
|
3990
4421
|
var _ref;
|
|
@@ -4009,7 +4440,7 @@
|
|
|
4009
4440
|
return null;
|
|
4010
4441
|
}
|
|
4011
4442
|
|
|
4012
|
-
return /*#__PURE__*/
|
|
4443
|
+
return /*#__PURE__*/React__namespace.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + "-global " + serializedNames, _ref.dangerouslySetInnerHTML = {
|
|
4013
4444
|
__html: rules
|
|
4014
4445
|
}, _ref.nonce = cache.sheet.nonce, _ref));
|
|
4015
4446
|
} // yes, i know these hooks are used conditionally
|
|
@@ -4018,7 +4449,7 @@
|
|
|
4018
4449
|
// so it's not actually breaking anything
|
|
4019
4450
|
|
|
4020
4451
|
|
|
4021
|
-
var sheetRef =
|
|
4452
|
+
var sheetRef = React__namespace.useRef();
|
|
4022
4453
|
useInsertionEffectWithLayoutFallback(function () {
|
|
4023
4454
|
var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
|
|
4024
4455
|
|
|
@@ -4185,7 +4616,7 @@
|
|
|
4185
4616
|
if (!isBrowser$2 && rules.length !== 0) {
|
|
4186
4617
|
var _ref2;
|
|
4187
4618
|
|
|
4188
|
-
return /*#__PURE__*/
|
|
4619
|
+
return /*#__PURE__*/React__namespace.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedArr.map(function (serialized) {
|
|
4189
4620
|
return serialized.name;
|
|
4190
4621
|
}).join(' '), _ref2.dangerouslySetInnerHTML = {
|
|
4191
4622
|
__html: rules
|
|
@@ -4230,11 +4661,11 @@
|
|
|
4230
4661
|
var content = {
|
|
4231
4662
|
css: css,
|
|
4232
4663
|
cx: cx,
|
|
4233
|
-
theme:
|
|
4664
|
+
theme: React__namespace.useContext(ThemeContext$2)
|
|
4234
4665
|
};
|
|
4235
4666
|
var ele = props.children(content);
|
|
4236
4667
|
hasRendered = true;
|
|
4237
|
-
return /*#__PURE__*/
|
|
4668
|
+
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion$1, {
|
|
4238
4669
|
cache: cache,
|
|
4239
4670
|
serializedArr: serializedArr
|
|
4240
4671
|
}), ele);
|
|
@@ -4316,7 +4747,7 @@
|
|
|
4316
4747
|
next = next.next;
|
|
4317
4748
|
}
|
|
4318
4749
|
|
|
4319
|
-
return /*#__PURE__*/
|
|
4750
|
+
return /*#__PURE__*/React__namespace.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
|
|
4320
4751
|
__html: rules
|
|
4321
4752
|
}, _ref2.nonce = cache.sheet.nonce, _ref2));
|
|
4322
4753
|
}
|
|
@@ -4386,7 +4817,7 @@
|
|
|
4386
4817
|
mergedProps[key] = props[key];
|
|
4387
4818
|
}
|
|
4388
4819
|
|
|
4389
|
-
mergedProps.theme =
|
|
4820
|
+
mergedProps.theme = React__namespace.useContext(ThemeContext$2);
|
|
4390
4821
|
}
|
|
4391
4822
|
|
|
4392
4823
|
if (typeof props.className === 'string') {
|
|
@@ -4416,11 +4847,11 @@
|
|
|
4416
4847
|
|
|
4417
4848
|
newProps.className = className;
|
|
4418
4849
|
newProps.ref = ref;
|
|
4419
|
-
return /*#__PURE__*/
|
|
4850
|
+
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion, {
|
|
4420
4851
|
cache: cache,
|
|
4421
4852
|
serialized: serialized,
|
|
4422
4853
|
isStringTag: typeof FinalTag === 'string'
|
|
4423
|
-
}), /*#__PURE__*/
|
|
4854
|
+
}), /*#__PURE__*/React__namespace.createElement(FinalTag, newProps));
|
|
4424
4855
|
});
|
|
4425
4856
|
Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
|
|
4426
4857
|
Styled.defaultProps = tag.defaultProps;
|
|
@@ -4458,8 +4889,6 @@
|
|
|
4458
4889
|
newStyled[tagName] = newStyled(tagName);
|
|
4459
4890
|
});
|
|
4460
4891
|
|
|
4461
|
-
var emStyled = newStyled;
|
|
4462
|
-
|
|
4463
4892
|
React__default["default"].__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
|
|
4464
4893
|
|
|
4465
4894
|
var reactJsxRuntime_development = createCommonjsModule(function (module, exports) {
|
|
@@ -5828,7 +6257,7 @@
|
|
|
5828
6257
|
} ;
|
|
5829
6258
|
|
|
5830
6259
|
function styled$3(tag, options) {
|
|
5831
|
-
const stylesFactory =
|
|
6260
|
+
const stylesFactory = newStyled(tag, options);
|
|
5832
6261
|
{
|
|
5833
6262
|
return (...styles) => {
|
|
5834
6263
|
const component = typeof tag === 'string' ? `"${tag}"` : 'component';
|
|
@@ -15718,7 +16147,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15718
16147
|
prev.classList.remove(`${unstable_classNamePrefix}-focused`);
|
|
15719
16148
|
prev.classList.remove(`${unstable_classNamePrefix}-focusVisible`);
|
|
15720
16149
|
}
|
|
15721
|
-
|
|
16150
|
+
let listboxNode = listboxRef.current;
|
|
16151
|
+
if (listboxRef.current.getAttribute('role') !== 'listbox') {
|
|
16152
|
+
listboxNode = listboxRef.current.parentElement.querySelector('[role="listbox"]');
|
|
16153
|
+
}
|
|
15722
16154
|
|
|
15723
16155
|
// "No results"
|
|
15724
16156
|
if (!listboxNode) {
|
|
@@ -16271,13 +16703,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
16271
16703
|
|
|
16272
16704
|
// Prevent input blur when interacting with the combobox
|
|
16273
16705
|
const handleMouseDown = event => {
|
|
16706
|
+
// Prevent focusing the input if click is anywhere outside the Autocomplete
|
|
16707
|
+
if (!event.currentTarget.contains(event.target)) {
|
|
16708
|
+
return;
|
|
16709
|
+
}
|
|
16274
16710
|
if (event.target.getAttribute('id') !== id) {
|
|
16275
16711
|
event.preventDefault();
|
|
16276
16712
|
}
|
|
16277
16713
|
};
|
|
16278
16714
|
|
|
16279
16715
|
// Focus the input when interacting with the combobox
|
|
16280
|
-
const handleClick =
|
|
16716
|
+
const handleClick = event => {
|
|
16717
|
+
// Prevent focusing the input if click is anywhere outside the Autocomplete
|
|
16718
|
+
if (!event.currentTarget.contains(event.target)) {
|
|
16719
|
+
return;
|
|
16720
|
+
}
|
|
16281
16721
|
inputRef.current.focus();
|
|
16282
16722
|
if (selectOnFocus && firstFocus.current && inputRef.current.selectionEnd - inputRef.current.selectionStart === 0) {
|
|
16283
16723
|
inputRef.current.select();
|
|
@@ -22911,6 +23351,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22911
23351
|
/**
|
|
22912
23352
|
* A function that determines the filtered options to be rendered on search.
|
|
22913
23353
|
*
|
|
23354
|
+
* @default createFilterOptions()
|
|
22914
23355
|
* @param {T[]} options The options to render.
|
|
22915
23356
|
* @param {object} state The state of the component.
|
|
22916
23357
|
* @returns {T[]}
|
|
@@ -27622,7 +28063,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27622
28063
|
}, !ownerState.maxWidth && {
|
|
27623
28064
|
maxWidth: 'calc(100% - 64px)'
|
|
27624
28065
|
}, ownerState.maxWidth === 'xs' && {
|
|
27625
|
-
maxWidth: theme.breakpoints.unit === 'px' ? Math.max(theme.breakpoints.values.xs, 444) :
|
|
28066
|
+
maxWidth: theme.breakpoints.unit === 'px' ? Math.max(theme.breakpoints.values.xs, 444) : `max(${theme.breakpoints.values.xs}${theme.breakpoints.unit}, 444px)`,
|
|
27626
28067
|
[`&.${dialogClasses$1.paperScrollBody}`]: {
|
|
27627
28068
|
[theme.breakpoints.down(Math.max(theme.breakpoints.values.xs, 444) + 32 * 2)]: {
|
|
27628
28069
|
maxWidth: 'calc(100% - 64px)'
|
|
@@ -40740,7 +41181,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40740
41181
|
height: 8,
|
|
40741
41182
|
transform: 'translate(-50%, -50%) rotate(45deg)',
|
|
40742
41183
|
backgroundColor: 'inherit',
|
|
40743
|
-
right:
|
|
41184
|
+
right: -8,
|
|
40744
41185
|
top: '50%'
|
|
40745
41186
|
}
|
|
40746
41187
|
}, ownerState.size === 'small' && {
|