@mui/material 5.8.7 → 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Autocomplete/Autocomplete.js +2 -2
- package/CHANGELOG.md +74 -0
- package/Modal/Modal.js +6 -6
- package/Popper/Popper.d.ts +1 -6
- package/README.md +60 -23
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +6 -0
- package/ScopedCssBaseline/ScopedCssBaseline.js +6 -1
- package/Tooltip/Tooltip.js +6 -5
- package/Unstable_Grid2/Grid2.d.ts +4 -0
- package/Unstable_Grid2/Grid2.js +34 -0
- package/Unstable_Grid2/Grid2Props.d.ts +15 -0
- package/Unstable_Grid2/Grid2Props.js +1 -0
- package/Unstable_Grid2/grid2Classes.d.ts +5 -0
- package/Unstable_Grid2/grid2Classes.js +14 -0
- package/Unstable_Grid2/index.d.ts +4 -0
- package/Unstable_Grid2/index.js +4 -0
- package/Unstable_Grid2/package.json +6 -0
- package/index.d.ts +3 -0
- package/index.js +3 -1
- package/legacy/Autocomplete/Autocomplete.js +2 -2
- package/legacy/Modal/Modal.js +13 -9
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +6 -1
- package/legacy/Tooltip/Tooltip.js +6 -5
- package/legacy/Unstable_Grid2/Grid2.js +38 -0
- package/legacy/Unstable_Grid2/Grid2Props.js +1 -0
- package/legacy/Unstable_Grid2/grid2Classes.js +27 -0
- package/legacy/Unstable_Grid2/index.js +4 -0
- package/legacy/index.js +3 -1
- package/modern/Autocomplete/Autocomplete.js +2 -2
- package/modern/Modal/Modal.js +6 -6
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +6 -1
- package/modern/Tooltip/Tooltip.js +6 -5
- package/modern/Unstable_Grid2/Grid2.js +34 -0
- package/modern/Unstable_Grid2/Grid2Props.js +1 -0
- package/modern/Unstable_Grid2/grid2Classes.js +14 -0
- package/modern/Unstable_Grid2/index.js +4 -0
- package/modern/index.js +3 -1
- package/node/Autocomplete/Autocomplete.js +2 -2
- package/node/Modal/Modal.js +9 -9
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +6 -1
- package/node/Tooltip/Tooltip.js +6 -5
- package/node/Unstable_Grid2/Grid2.js +47 -0
- package/node/Unstable_Grid2/Grid2Props.js +5 -0
- package/node/Unstable_Grid2/grid2Classes.js +25 -0
- package/node/Unstable_Grid2/index.js +56 -0
- package/node/index.js +22 -1
- package/package.json +6 -6
- package/styles/components.d.ts +5 -0
- package/styles/createTheme.d.ts +1 -1
- package/styles/experimental_extendTheme.d.ts +84 -7
- package/styles/index.d.ts +11 -0
- package/styles/overrides.d.ts +3 -1
- package/styles/props.d.ts +2 -0
- package/themeCssVarsAugmentation/index.d.ts +4 -8
- package/umd/material-ui.development.js +749 -272
- package/umd/material-ui.production.min.js +20 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.
|
|
1
|
+
/** @license MUI v5.9.0
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
return StyleSheet;
|
|
660
660
|
}();
|
|
661
661
|
|
|
662
|
-
var e="-ms-";var r="-moz-";var a="-webkit-";var c="comm";var n="rule";var t="decl";var i="@import";var p="@keyframes";var k=Math.abs;var d=String.fromCharCode;var g=Object.assign;function m(e,r){return (((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function x
|
|
662
|
+
var e="-ms-";var r$1="-moz-";var a="-webkit-";var c="comm";var n="rule";var t="decl";var i="@import";var p="@keyframes";var k=Math.abs;var d=String.fromCharCode;var g=Object.assign;function m(e,r){return (((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function x(e){return e.trim()}function y(e,r){return (e=r.exec(e))?e[0]:e}function j(e,r,a){return e.replace(r,a)}function C(e,r){return e.indexOf(r)}function z(e,r){return e.charCodeAt(r)|0}function A(e,r,a){return e.slice(r,a)}function O(e){return e.length}function M(e){return e.length}function S(e,r){return r.push(e),e}function q(e,r){return e.map(r).join("")}var B=1;var D=1;var E=0;var F=0;var G=0;var H="";function I(e,r,a,c,n,t,s){return {value:e,root:r,parent:a,type:c,props:n,children:t,line:B,column:D,length:s,return:""}}function J(e,r){return g(I("",null,null,"",null,null,0),e,{length:-e.length},r)}function K(){return G}function L(){G=F>0?z(H,--F):0;if(D--,G===10)D=1,B--;return G}function N(){G=F<E?z(H,F++):0;if(D++,G===10)D=1,B++;return G}function P(){return z(H,F)}function Q(){return F}function R(e,r){return A(H,e,r)}function T(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 U(e){return B=D=1,E=O(H=e),F=0,[]}function V(e){return H="",e}function W(e){return x(R(F-1,ee(e===91?e+2:e===40?e+1:e)))}function Y(e){while(G=P())if(G<33)N();else break;return T(e)>2||T(G)>3?"":" "}function _$4(e,r){while(--r&&N())if(G<48||G>102||G>57&&G<65||G>70&&G<97)break;return R(e,Q()+(r<6&&P()==32&&N()==32))}function ee(e){while(N())switch(G){case e:return F;case 34:case 39:if(e!==34&&e!==39)ee(G);break;case 40:if(e===41)ee(e);break;case 92:N();break}return F}function re(e,r){while(N())if(e+G===47+10)break;else if(e+G===42+42&&P()===47)break;return "/*"+R(r,F-1)+"*"+d(e===47?e:N())}function ae(e){while(!T(P()))N();return R(e,F)}function ce(e){return V(ne("",null,null,null,[""],e=U(e),0,[0],e))}function ne(e,r,a,c,n,t,s,u,i){var f=0;var o=0;var l=s;var v=0;var h=0;var p=0;var b=1;var w=1;var $=1;var k=0;var g="";var m=n;var x=t;var y=c;var z=g;while(w)switch(p=k,k=N()){case 40:if(p!=108&&z.charCodeAt(l-1)==58){if(C(z+=j(W(k),"&","&\f"),"&\f")!=-1)$=-1;break}case 34:case 39:case 91:z+=W(k);break;case 9:case 10:case 13:case 32:z+=Y(p);break;case 92:z+=_$4(Q()-1,7);continue;case 47:switch(P()){case 42:case 47:S(se(re(N(),Q()),r,a),i);break;default:z+="/";}break;case 123*b:u[f++]=O(z)*$;case 125*b:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+o:if(h>0&&O(z)-l)S(h>32?ue(z+";",c,a,l-1):ue(j(z," ","")+";",c,a,l-2),i);break;case 59:z+=";";default:S(y=te(z,r,a,f,o,n,u,g,m=[],x=[],l),t);if(k===123)if(o===0)ne(z,r,y,y,m,t,l,u,x);else switch(v){case 100:case 109:case 115:ne(e,y,y,c&&S(te(e,y,y,0,0,n,u,g,n,m=[],l),x),n,x,l,u,c?m:x);break;default:ne(z,y,y,y,[""],x,0,u,x);}}f=o=h=0,b=$=1,g=z="",l=s;break;case 58:l=1+O(z),h=p;default:if(b<1)if(k==123)--b;else if(k==125&&b++==0&&L()==125)continue;switch(z+=d(k),k*b){case 38:$=o>0?1:(z+="\f",-1);break;case 44:u[f++]=(O(z)-1)*$,$=1;break;case 64:if(P()===45)z+=W(N());v=P(),o=l=O(g=z+=ae(Q())),k++;break;case 45:if(p===45&&O(z)==2)b=0;}}return t}function te(e,r,a,c,t,s,u,i,f,o,l){var v=t-1;var h=t===0?s:[""];var p=M(h);for(var b=0,w=0,$=0;b<c;++b)for(var d=0,g=A(e,v+1,v=k(w=u[b])),m=e;d<p;++d)if(m=x(w>0?h[d]+" "+g:j(g,/&\f/g,h[d])))f[$++]=m;return I(e,r,a,t===0?n:i,f,o,l)}function se(e,r,a){return I(e,r,a,c,d(K()),A(e,2,-2),0)}function ue(e,r,a,c){return I(e,r,a,t,A(e,0,c),A(e,c+1,-1),c)}function ie(c,n){switch(m(c,n)){case 5103:return a+"print-"+c+c;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return a+c+r$1+c+e+c+c;case 6828:case 4268:return a+c+e+c+c;case 6165:return a+c+e+"flex-"+c+c;case 5187:return a+c+j(c,/(\w+).+(:[^]+)/,a+"box-$1$2"+e+"flex-$1$2")+c;case 5443:return a+c+e+"flex-item-"+j(c,/flex-|-self/,"")+c;case 4675:return a+c+e+"flex-line-pack"+j(c,/align-content|flex-|-self/,"")+c;case 5548:return a+c+e+j(c,"shrink","negative")+c;case 5292:return a+c+e+j(c,"basis","preferred-size")+c;case 6060:return a+"box-"+j(c,"-grow","")+a+c+e+j(c,"grow","positive")+c;case 4554:return a+j(c,/([^-])(transform)/g,"$1"+a+"$2")+c;case 6187:return j(j(j(c,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),c,"")+c;case 5495:case 3959:return j(c,/(image-set\([^]*)/,a+"$1"+"$`$1");case 4968:return j(j(c,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+c+c;case 4095:case 3583:case 4068:case 2532:return j(c,/(.+)-inline(.+)/,a+"$1$2")+c;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(O(c)-1-n>6)switch(z(c,n+1)){case 109:if(z(c,n+4)!==45)break;case 102:return j(c,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3"+"$1"+r$1+(z(c,n+3)==108?"$3":"$2-$3"))+c;case 115:return ~C(c,"stretch")?ie(j(c,"stretch","fill-available"),n)+c:c}break;case 4949:if(z(c,n+1)!==115)break;case 6444:switch(z(c,O(c)-3-(~C(c,"!important")&&10))){case 107:return j(c,":",":"+a)+c;case 101:return j(c,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(z(c,14)===45?"inline-":"")+"box$3"+"$1"+a+"$2$3"+"$1"+e+"$2box$3")+c}break;case 5936:switch(z(c,n+11)){case 114:return a+c+e+j(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return a+c+e+j(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return a+c+e+j(c,/[svh]\w+-[tblr]{2}/,"lr")+c}return a+c+e+c+c}return c}function fe(e,r){var a="";var c=M(e);for(var n=0;n<c;n++)a+=r(e[n],n,e,r)||"";return a}function oe(e,r,a,s){switch(e.type){case i:case t:return e.return=e.return||e.value;case c:return "";case p:return e.return=e.value+"{"+fe(e.children,s)+"}";case n:e.value=e.props.join(",");}return O(a=fe(e.children,s))?e.return=e.value+"{"+a+"}":""}function le(e){var r=M(e);return function(a,c,n,t){var s="";for(var u=0;u<r;u++)s+=e[u](a,c,n,t)||"";return s}}function he(c,s,u,i){if(c.length>-1)if(!c.return)switch(c.type){case t:c.return=ie(c.value,c.length);break;case p:return fe([J(c,{value:j(c.value,"@","@"+a)})],i);case n:if(c.length)return q(c.props,(function(n){switch(y(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fe([J(c,{props:[j(n,/:(read-\w+)/,":"+r$1+"$1")]})],i);case"::placeholder":return fe([J(c,{props:[j(n,/:(plac\w+)/,":"+a+"input-$1")]}),J(c,{props:[j(n,/:(plac\w+)/,":"+r$1+"$1")]}),J(c,{props:[j(n,/:(plac\w+)/,e+"input-$1")]})],i)}return ""}))}}
|
|
663
663
|
|
|
664
664
|
var weakMemoize = function weakMemoize(func) {
|
|
665
665
|
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
|
|
@@ -1066,16 +1066,6 @@
|
|
|
1066
1066
|
|
|
1067
1067
|
var createCache$1 = createCache;
|
|
1068
1068
|
|
|
1069
|
-
/** @license React v17.0.2
|
|
1070
|
-
* react-is.production.min.js
|
|
1071
|
-
*
|
|
1072
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1073
|
-
*
|
|
1074
|
-
* This source code is licensed under the MIT license found in the
|
|
1075
|
-
* LICENSE file in the root directory of this source tree.
|
|
1076
|
-
*/
|
|
1077
|
-
if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;x("react.element");x("react.portal");x("react.fragment");x("react.strict_mode");x("react.profiler");x("react.provider");x("react.context");x("react.forward_ref");x("react.suspense");x("react.suspense_list");x("react.memo");x("react.lazy");x("react.block");x("react.server.block");x("react.fundamental");x("react.debug_trace_mode");x("react.legacy_hidden");}
|
|
1078
|
-
|
|
1079
1069
|
var reactIs_development = createCommonjsModule(function (module, exports) {
|
|
1080
1070
|
|
|
1081
1071
|
{
|
|
@@ -1084,53 +1074,39 @@
|
|
|
1084
1074
|
// ATTENTION
|
|
1085
1075
|
// When adding new symbols to this file,
|
|
1086
1076
|
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
1087
|
-
// The Symbol used to tag the ReactElement-like types.
|
|
1088
|
-
|
|
1089
|
-
var
|
|
1090
|
-
var
|
|
1091
|
-
var
|
|
1092
|
-
var
|
|
1093
|
-
var
|
|
1094
|
-
var
|
|
1095
|
-
var
|
|
1096
|
-
var REACT_FORWARD_REF_TYPE =
|
|
1097
|
-
var REACT_SUSPENSE_TYPE =
|
|
1098
|
-
var REACT_SUSPENSE_LIST_TYPE =
|
|
1099
|
-
var REACT_MEMO_TYPE =
|
|
1100
|
-
var REACT_LAZY_TYPE =
|
|
1101
|
-
var
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
|
|
1105
|
-
var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
|
|
1106
|
-
|
|
1107
|
-
if (typeof Symbol === 'function' && Symbol.for) {
|
|
1108
|
-
var symbolFor = Symbol.for;
|
|
1109
|
-
REACT_ELEMENT_TYPE = symbolFor('react.element');
|
|
1110
|
-
REACT_PORTAL_TYPE = symbolFor('react.portal');
|
|
1111
|
-
REACT_FRAGMENT_TYPE = symbolFor('react.fragment');
|
|
1112
|
-
REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
|
|
1113
|
-
REACT_PROFILER_TYPE = symbolFor('react.profiler');
|
|
1114
|
-
REACT_PROVIDER_TYPE = symbolFor('react.provider');
|
|
1115
|
-
REACT_CONTEXT_TYPE = symbolFor('react.context');
|
|
1116
|
-
REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
|
|
1117
|
-
REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
|
|
1118
|
-
REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
|
|
1119
|
-
REACT_MEMO_TYPE = symbolFor('react.memo');
|
|
1120
|
-
REACT_LAZY_TYPE = symbolFor('react.lazy');
|
|
1121
|
-
REACT_BLOCK_TYPE = symbolFor('react.block');
|
|
1122
|
-
REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
|
|
1123
|
-
REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
|
|
1124
|
-
symbolFor('react.scope');
|
|
1125
|
-
symbolFor('react.opaque.id');
|
|
1126
|
-
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
|
|
1127
|
-
symbolFor('react.offscreen');
|
|
1128
|
-
REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
|
-
// Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
|
|
1077
|
+
// The Symbol used to tag the ReactElement-like types.
|
|
1078
|
+
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
1079
|
+
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
1080
|
+
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
1081
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
1082
|
+
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
1083
|
+
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
1084
|
+
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
1085
|
+
var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
|
|
1086
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
1087
|
+
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
1088
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
1089
|
+
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
1090
|
+
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
1091
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
1092
|
+
|
|
1093
|
+
// -----------------------------------------------------------------------------
|
|
1132
1094
|
|
|
1133
1095
|
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
1096
|
+
var enableCacheElement = false;
|
|
1097
|
+
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
1098
|
+
|
|
1099
|
+
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
1100
|
+
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
1101
|
+
// issues in DEV builds.
|
|
1102
|
+
|
|
1103
|
+
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
1104
|
+
|
|
1105
|
+
var REACT_MODULE_REFERENCE;
|
|
1106
|
+
|
|
1107
|
+
{
|
|
1108
|
+
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
|
1109
|
+
}
|
|
1134
1110
|
|
|
1135
1111
|
function isValidElementType(type) {
|
|
1136
1112
|
if (typeof type === 'string' || typeof type === 'function') {
|
|
@@ -1138,12 +1114,16 @@
|
|
|
1138
1114
|
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
1139
1115
|
|
|
1140
1116
|
|
|
1141
|
-
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE ||
|
|
1117
|
+
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 ) {
|
|
1142
1118
|
return true;
|
|
1143
1119
|
}
|
|
1144
1120
|
|
|
1145
1121
|
if (typeof type === 'object' && type !== null) {
|
|
1146
|
-
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 ||
|
|
1122
|
+
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
|
|
1123
|
+
// types supported by any Flight configuration anywhere since
|
|
1124
|
+
// we don't know which Flight build this will end up being used
|
|
1125
|
+
// with.
|
|
1126
|
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
1147
1127
|
return true;
|
|
1148
1128
|
}
|
|
1149
1129
|
}
|
|
@@ -1171,6 +1151,7 @@
|
|
|
1171
1151
|
var $$typeofType = type && type.$$typeof;
|
|
1172
1152
|
|
|
1173
1153
|
switch ($$typeofType) {
|
|
1154
|
+
case REACT_SERVER_CONTEXT_TYPE:
|
|
1174
1155
|
case REACT_CONTEXT_TYPE:
|
|
1175
1156
|
case REACT_FORWARD_REF_TYPE:
|
|
1176
1157
|
case REACT_LAZY_TYPE:
|
|
@@ -1202,6 +1183,7 @@
|
|
|
1202
1183
|
var Profiler = REACT_PROFILER_TYPE;
|
|
1203
1184
|
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
1204
1185
|
var Suspense = REACT_SUSPENSE_TYPE;
|
|
1186
|
+
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
1205
1187
|
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
1206
1188
|
var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
|
|
1207
1189
|
|
|
@@ -1260,6 +1242,9 @@
|
|
|
1260
1242
|
function isSuspense(object) {
|
|
1261
1243
|
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
1262
1244
|
}
|
|
1245
|
+
function isSuspenseList(object) {
|
|
1246
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
1247
|
+
}
|
|
1263
1248
|
|
|
1264
1249
|
exports.ContextConsumer = ContextConsumer;
|
|
1265
1250
|
exports.ContextProvider = ContextProvider;
|
|
@@ -1272,6 +1257,7 @@
|
|
|
1272
1257
|
exports.Profiler = Profiler;
|
|
1273
1258
|
exports.StrictMode = StrictMode;
|
|
1274
1259
|
exports.Suspense = Suspense;
|
|
1260
|
+
exports.SuspenseList = SuspenseList;
|
|
1275
1261
|
exports.isAsyncMode = isAsyncMode;
|
|
1276
1262
|
exports.isConcurrentMode = isConcurrentMode;
|
|
1277
1263
|
exports.isContextConsumer = isContextConsumer;
|
|
@@ -1285,6 +1271,7 @@
|
|
|
1285
1271
|
exports.isProfiler = isProfiler;
|
|
1286
1272
|
exports.isStrictMode = isStrictMode;
|
|
1287
1273
|
exports.isSuspense = isSuspense;
|
|
1274
|
+
exports.isSuspenseList = isSuspenseList;
|
|
1288
1275
|
exports.isValidElementType = isValidElementType;
|
|
1289
1276
|
exports.typeOf = typeOf;
|
|
1290
1277
|
})();
|
|
@@ -1301,6 +1288,7 @@
|
|
|
1301
1288
|
reactIs_development.Profiler;
|
|
1302
1289
|
reactIs_development.StrictMode;
|
|
1303
1290
|
reactIs_development.Suspense;
|
|
1291
|
+
reactIs_development.SuspenseList;
|
|
1304
1292
|
reactIs_development.isAsyncMode;
|
|
1305
1293
|
reactIs_development.isConcurrentMode;
|
|
1306
1294
|
reactIs_development.isContextConsumer;
|
|
@@ -1314,6 +1302,7 @@
|
|
|
1314
1302
|
reactIs_development.isProfiler;
|
|
1315
1303
|
reactIs_development.isStrictMode;
|
|
1316
1304
|
reactIs_development.isSuspense;
|
|
1305
|
+
reactIs_development.isSuspenseList;
|
|
1317
1306
|
reactIs_development.isValidElementType;
|
|
1318
1307
|
reactIs_development.typeOf;
|
|
1319
1308
|
|
|
@@ -3367,13 +3356,7 @@
|
|
|
3367
3356
|
propTypes.oneOfType;
|
|
3368
3357
|
propTypes.element;
|
|
3369
3358
|
|
|
3370
|
-
|
|
3371
|
-
var g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment");}var m=React__default["default"].__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0};
|
|
3372
|
-
function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return {$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}exports.jsx=q;exports.jsxs=q;
|
|
3373
|
-
});
|
|
3374
|
-
reactJsxRuntime_production_min.Fragment;
|
|
3375
|
-
reactJsxRuntime_production_min.jsx;
|
|
3376
|
-
reactJsxRuntime_production_min.jsxs;
|
|
3359
|
+
React__default["default"].__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
|
|
3377
3360
|
|
|
3378
3361
|
var reactJsxRuntime_development = createCommonjsModule(function (module, exports) {
|
|
3379
3362
|
|
|
@@ -3381,56 +3364,25 @@
|
|
|
3381
3364
|
(function() {
|
|
3382
3365
|
|
|
3383
3366
|
var React = React__default["default"];
|
|
3384
|
-
var _assign = objectAssign;
|
|
3385
3367
|
|
|
3386
3368
|
// ATTENTION
|
|
3387
3369
|
// When adding new symbols to this file,
|
|
3388
3370
|
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
3389
|
-
// The Symbol used to tag the ReactElement-like types.
|
|
3390
|
-
|
|
3391
|
-
var
|
|
3392
|
-
var
|
|
3393
|
-
|
|
3394
|
-
var
|
|
3395
|
-
var
|
|
3396
|
-
var
|
|
3397
|
-
var
|
|
3398
|
-
var
|
|
3399
|
-
var
|
|
3400
|
-
var
|
|
3401
|
-
var
|
|
3402
|
-
var
|
|
3403
|
-
var
|
|
3404
|
-
var REACT_SERVER_BLOCK_TYPE = 0xeada;
|
|
3405
|
-
var REACT_FUNDAMENTAL_TYPE = 0xead5;
|
|
3406
|
-
var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
|
|
3407
|
-
var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
|
|
3408
|
-
|
|
3409
|
-
if (typeof Symbol === 'function' && Symbol.for) {
|
|
3410
|
-
var symbolFor = Symbol.for;
|
|
3411
|
-
REACT_ELEMENT_TYPE = symbolFor('react.element');
|
|
3412
|
-
REACT_PORTAL_TYPE = symbolFor('react.portal');
|
|
3413
|
-
exports.Fragment = symbolFor('react.fragment');
|
|
3414
|
-
REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
|
|
3415
|
-
REACT_PROFILER_TYPE = symbolFor('react.profiler');
|
|
3416
|
-
REACT_PROVIDER_TYPE = symbolFor('react.provider');
|
|
3417
|
-
REACT_CONTEXT_TYPE = symbolFor('react.context');
|
|
3418
|
-
REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
|
|
3419
|
-
REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
|
|
3420
|
-
REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
|
|
3421
|
-
REACT_MEMO_TYPE = symbolFor('react.memo');
|
|
3422
|
-
REACT_LAZY_TYPE = symbolFor('react.lazy');
|
|
3423
|
-
REACT_BLOCK_TYPE = symbolFor('react.block');
|
|
3424
|
-
REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
|
|
3425
|
-
REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
|
|
3426
|
-
symbolFor('react.scope');
|
|
3427
|
-
symbolFor('react.opaque.id');
|
|
3428
|
-
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
|
|
3429
|
-
symbolFor('react.offscreen');
|
|
3430
|
-
REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
|
|
3431
|
-
}
|
|
3432
|
-
|
|
3433
|
-
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
|
3371
|
+
// The Symbol used to tag the ReactElement-like types.
|
|
3372
|
+
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
3373
|
+
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
3374
|
+
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
3375
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
3376
|
+
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
3377
|
+
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
3378
|
+
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
3379
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
3380
|
+
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
3381
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
3382
|
+
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
3383
|
+
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
3384
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
3385
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
3434
3386
|
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
3435
3387
|
function getIteratorFn(maybeIterable) {
|
|
3436
3388
|
if (maybeIterable === null || typeof maybeIterable !== 'object') {
|
|
@@ -3450,11 +3402,13 @@
|
|
|
3450
3402
|
|
|
3451
3403
|
function error(format) {
|
|
3452
3404
|
{
|
|
3453
|
-
|
|
3454
|
-
args
|
|
3455
|
-
|
|
3405
|
+
{
|
|
3406
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
3407
|
+
args[_key2 - 1] = arguments[_key2];
|
|
3408
|
+
}
|
|
3456
3409
|
|
|
3457
|
-
|
|
3410
|
+
printWarning('error', format, args);
|
|
3411
|
+
}
|
|
3458
3412
|
}
|
|
3459
3413
|
}
|
|
3460
3414
|
|
|
@@ -3468,10 +3422,11 @@
|
|
|
3468
3422
|
if (stack !== '') {
|
|
3469
3423
|
format += '%s';
|
|
3470
3424
|
args = args.concat([stack]);
|
|
3471
|
-
}
|
|
3425
|
+
} // eslint-disable-next-line react-internal/safe-string-coercion
|
|
3426
|
+
|
|
3472
3427
|
|
|
3473
3428
|
var argsWithFormat = args.map(function (item) {
|
|
3474
|
-
return
|
|
3429
|
+
return String(item);
|
|
3475
3430
|
}); // Careful: RN currently depends on this prefix
|
|
3476
3431
|
|
|
3477
3432
|
argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
|
|
@@ -3482,9 +3437,23 @@
|
|
|
3482
3437
|
}
|
|
3483
3438
|
}
|
|
3484
3439
|
|
|
3485
|
-
//
|
|
3440
|
+
// -----------------------------------------------------------------------------
|
|
3486
3441
|
|
|
3487
3442
|
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
3443
|
+
var enableCacheElement = false;
|
|
3444
|
+
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
3445
|
+
|
|
3446
|
+
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
3447
|
+
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
3448
|
+
// issues in DEV builds.
|
|
3449
|
+
|
|
3450
|
+
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
3451
|
+
|
|
3452
|
+
var REACT_MODULE_REFERENCE;
|
|
3453
|
+
|
|
3454
|
+
{
|
|
3455
|
+
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
|
3456
|
+
}
|
|
3488
3457
|
|
|
3489
3458
|
function isValidElementType(type) {
|
|
3490
3459
|
if (typeof type === 'string' || typeof type === 'function') {
|
|
@@ -3492,12 +3461,16 @@
|
|
|
3492
3461
|
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
3493
3462
|
|
|
3494
3463
|
|
|
3495
|
-
if (type ===
|
|
3464
|
+
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 ) {
|
|
3496
3465
|
return true;
|
|
3497
3466
|
}
|
|
3498
3467
|
|
|
3499
3468
|
if (typeof type === 'object' && type !== null) {
|
|
3500
|
-
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 ||
|
|
3469
|
+
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
|
|
3470
|
+
// types supported by any Flight configuration anywhere since
|
|
3471
|
+
// we don't know which Flight build this will end up being used
|
|
3472
|
+
// with.
|
|
3473
|
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
3501
3474
|
return true;
|
|
3502
3475
|
}
|
|
3503
3476
|
}
|
|
@@ -3506,15 +3479,23 @@
|
|
|
3506
3479
|
}
|
|
3507
3480
|
|
|
3508
3481
|
function getWrappedName(outerType, innerType, wrapperName) {
|
|
3482
|
+
var displayName = outerType.displayName;
|
|
3483
|
+
|
|
3484
|
+
if (displayName) {
|
|
3485
|
+
return displayName;
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3509
3488
|
var functionName = innerType.displayName || innerType.name || '';
|
|
3510
|
-
return
|
|
3511
|
-
}
|
|
3489
|
+
return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName;
|
|
3490
|
+
} // Keep in sync with react-reconciler/getComponentNameFromFiber
|
|
3491
|
+
|
|
3512
3492
|
|
|
3513
3493
|
function getContextName(type) {
|
|
3514
3494
|
return type.displayName || 'Context';
|
|
3515
|
-
}
|
|
3495
|
+
} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.
|
|
3496
|
+
|
|
3516
3497
|
|
|
3517
|
-
function
|
|
3498
|
+
function getComponentNameFromType(type) {
|
|
3518
3499
|
if (type == null) {
|
|
3519
3500
|
// Host root, text node or just invalid type.
|
|
3520
3501
|
return null;
|
|
@@ -3522,7 +3503,7 @@
|
|
|
3522
3503
|
|
|
3523
3504
|
{
|
|
3524
3505
|
if (typeof type.tag === 'number') {
|
|
3525
|
-
error('Received an unexpected object in
|
|
3506
|
+
error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');
|
|
3526
3507
|
}
|
|
3527
3508
|
}
|
|
3528
3509
|
|
|
@@ -3535,7 +3516,7 @@
|
|
|
3535
3516
|
}
|
|
3536
3517
|
|
|
3537
3518
|
switch (type) {
|
|
3538
|
-
case
|
|
3519
|
+
case REACT_FRAGMENT_TYPE:
|
|
3539
3520
|
return 'Fragment';
|
|
3540
3521
|
|
|
3541
3522
|
case REACT_PORTAL_TYPE:
|
|
@@ -3552,6 +3533,7 @@
|
|
|
3552
3533
|
|
|
3553
3534
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
3554
3535
|
return 'SuspenseList';
|
|
3536
|
+
|
|
3555
3537
|
}
|
|
3556
3538
|
|
|
3557
3539
|
if (typeof type === 'object') {
|
|
@@ -3568,10 +3550,13 @@
|
|
|
3568
3550
|
return getWrappedName(type, type.render, 'ForwardRef');
|
|
3569
3551
|
|
|
3570
3552
|
case REACT_MEMO_TYPE:
|
|
3571
|
-
|
|
3553
|
+
var outerName = type.displayName || null;
|
|
3554
|
+
|
|
3555
|
+
if (outerName !== null) {
|
|
3556
|
+
return outerName;
|
|
3557
|
+
}
|
|
3572
3558
|
|
|
3573
|
-
|
|
3574
|
-
return getComponentName(type._render);
|
|
3559
|
+
return getComponentNameFromType(type.type) || 'Memo';
|
|
3575
3560
|
|
|
3576
3561
|
case REACT_LAZY_TYPE:
|
|
3577
3562
|
{
|
|
@@ -3580,17 +3565,21 @@
|
|
|
3580
3565
|
var init = lazyComponent._init;
|
|
3581
3566
|
|
|
3582
3567
|
try {
|
|
3583
|
-
return
|
|
3568
|
+
return getComponentNameFromType(init(payload));
|
|
3584
3569
|
} catch (x) {
|
|
3585
3570
|
return null;
|
|
3586
3571
|
}
|
|
3587
3572
|
}
|
|
3573
|
+
|
|
3574
|
+
// eslint-disable-next-line no-fallthrough
|
|
3588
3575
|
}
|
|
3589
3576
|
}
|
|
3590
3577
|
|
|
3591
3578
|
return null;
|
|
3592
3579
|
}
|
|
3593
3580
|
|
|
3581
|
+
var assign = Object.assign;
|
|
3582
|
+
|
|
3594
3583
|
// Helpers to patch console.logs to avoid logging during side-effect free
|
|
3595
3584
|
// replaying on render function. This currently only patches the object
|
|
3596
3585
|
// lazily which won't cover if the log function was extracted eagerly.
|
|
@@ -3654,25 +3643,25 @@
|
|
|
3654
3643
|
}; // $FlowFixMe Flow thinks console is immutable.
|
|
3655
3644
|
|
|
3656
3645
|
Object.defineProperties(console, {
|
|
3657
|
-
log:
|
|
3646
|
+
log: assign({}, props, {
|
|
3658
3647
|
value: prevLog
|
|
3659
3648
|
}),
|
|
3660
|
-
info:
|
|
3649
|
+
info: assign({}, props, {
|
|
3661
3650
|
value: prevInfo
|
|
3662
3651
|
}),
|
|
3663
|
-
warn:
|
|
3652
|
+
warn: assign({}, props, {
|
|
3664
3653
|
value: prevWarn
|
|
3665
3654
|
}),
|
|
3666
|
-
error:
|
|
3655
|
+
error: assign({}, props, {
|
|
3667
3656
|
value: prevError
|
|
3668
3657
|
}),
|
|
3669
|
-
group:
|
|
3658
|
+
group: assign({}, props, {
|
|
3670
3659
|
value: prevGroup
|
|
3671
3660
|
}),
|
|
3672
|
-
groupCollapsed:
|
|
3661
|
+
groupCollapsed: assign({}, props, {
|
|
3673
3662
|
value: prevGroupCollapsed
|
|
3674
3663
|
}),
|
|
3675
|
-
groupEnd:
|
|
3664
|
+
groupEnd: assign({}, props, {
|
|
3676
3665
|
value: prevGroupEnd
|
|
3677
3666
|
})
|
|
3678
3667
|
});
|
|
@@ -3713,7 +3702,7 @@
|
|
|
3713
3702
|
|
|
3714
3703
|
function describeNativeComponentFrame(fn, construct) {
|
|
3715
3704
|
// If something asked for a stack inside a fake render, it should get ignored.
|
|
3716
|
-
if (!fn || reentry) {
|
|
3705
|
+
if ( !fn || reentry) {
|
|
3717
3706
|
return '';
|
|
3718
3707
|
}
|
|
3719
3708
|
|
|
@@ -3822,7 +3811,14 @@
|
|
|
3822
3811
|
|
|
3823
3812
|
if (c < 0 || sampleLines[s] !== controlLines[c]) {
|
|
3824
3813
|
// V8 adds a "new" prefix for native classes. Let's remove it to make it prettier.
|
|
3825
|
-
var _frame = '\n' + sampleLines[s].replace(' at new ', ' at ');
|
|
3814
|
+
var _frame = '\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled "<anonymous>"
|
|
3815
|
+
// but we have a user-provided "displayName"
|
|
3816
|
+
// splice it in to make the stack more readable.
|
|
3817
|
+
|
|
3818
|
+
|
|
3819
|
+
if (fn.displayName && _frame.includes('<anonymous>')) {
|
|
3820
|
+
_frame = _frame.replace('<anonymous>', fn.displayName);
|
|
3821
|
+
}
|
|
3826
3822
|
|
|
3827
3823
|
{
|
|
3828
3824
|
if (typeof fn === 'function') {
|
|
@@ -3907,9 +3903,6 @@
|
|
|
3907
3903
|
// Memo may contain any component type so we recursively resolve it.
|
|
3908
3904
|
return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
|
|
3909
3905
|
|
|
3910
|
-
case REACT_BLOCK_TYPE:
|
|
3911
|
-
return describeFunctionComponentFrame(type._render);
|
|
3912
|
-
|
|
3913
3906
|
case REACT_LAZY_TYPE:
|
|
3914
3907
|
{
|
|
3915
3908
|
var lazyComponent = type;
|
|
@@ -3927,6 +3920,8 @@
|
|
|
3927
3920
|
return '';
|
|
3928
3921
|
}
|
|
3929
3922
|
|
|
3923
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
3924
|
+
|
|
3930
3925
|
var loggedTypeFailures = {};
|
|
3931
3926
|
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
3932
3927
|
|
|
@@ -3945,7 +3940,7 @@
|
|
|
3945
3940
|
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
3946
3941
|
{
|
|
3947
3942
|
// $FlowFixMe This is okay but Flow doesn't know it.
|
|
3948
|
-
var has = Function.call.bind(
|
|
3943
|
+
var has = Function.call.bind(hasOwnProperty);
|
|
3949
3944
|
|
|
3950
3945
|
for (var typeSpecName in typeSpecs) {
|
|
3951
3946
|
if (has(typeSpecs, typeSpecName)) {
|
|
@@ -3957,6 +3952,7 @@
|
|
|
3957
3952
|
// This is intentionally an invariant that gets caught. It's the same
|
|
3958
3953
|
// behavior as without this statement except with a better message.
|
|
3959
3954
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
3955
|
+
// eslint-disable-next-line react-internal/prod-error-codes
|
|
3960
3956
|
var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
|
|
3961
3957
|
err.name = 'Invariant Violation';
|
|
3962
3958
|
throw err;
|
|
@@ -3990,8 +3986,80 @@
|
|
|
3990
3986
|
}
|
|
3991
3987
|
}
|
|
3992
3988
|
|
|
3989
|
+
var isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare
|
|
3990
|
+
|
|
3991
|
+
function isArray(a) {
|
|
3992
|
+
return isArrayImpl(a);
|
|
3993
|
+
}
|
|
3994
|
+
|
|
3995
|
+
/*
|
|
3996
|
+
* The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol
|
|
3997
|
+
* and Temporal.* types. See https://github.com/facebook/react/pull/22064.
|
|
3998
|
+
*
|
|
3999
|
+
* The functions in this module will throw an easier-to-understand,
|
|
4000
|
+
* easier-to-debug exception with a clear errors message message explaining the
|
|
4001
|
+
* problem. (Instead of a confusing exception thrown inside the implementation
|
|
4002
|
+
* of the `value` object).
|
|
4003
|
+
*/
|
|
4004
|
+
// $FlowFixMe only called in DEV, so void return is not possible.
|
|
4005
|
+
function typeName(value) {
|
|
4006
|
+
{
|
|
4007
|
+
// toStringTag is needed for namespaced types like Temporal.Instant
|
|
4008
|
+
var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;
|
|
4009
|
+
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';
|
|
4010
|
+
return type;
|
|
4011
|
+
}
|
|
4012
|
+
} // $FlowFixMe only called in DEV, so void return is not possible.
|
|
4013
|
+
|
|
4014
|
+
|
|
4015
|
+
function willCoercionThrow(value) {
|
|
4016
|
+
{
|
|
4017
|
+
try {
|
|
4018
|
+
testStringCoercion(value);
|
|
4019
|
+
return false;
|
|
4020
|
+
} catch (e) {
|
|
4021
|
+
return true;
|
|
4022
|
+
}
|
|
4023
|
+
}
|
|
4024
|
+
}
|
|
4025
|
+
|
|
4026
|
+
function testStringCoercion(value) {
|
|
4027
|
+
// If you ended up here by following an exception call stack, here's what's
|
|
4028
|
+
// happened: you supplied an object or symbol value to React (as a prop, key,
|
|
4029
|
+
// DOM attribute, CSS property, string ref, etc.) and when React tried to
|
|
4030
|
+
// coerce it to a string using `'' + value`, an exception was thrown.
|
|
4031
|
+
//
|
|
4032
|
+
// The most common types that will cause this exception are `Symbol` instances
|
|
4033
|
+
// and Temporal objects like `Temporal.Instant`. But any object that has a
|
|
4034
|
+
// `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this
|
|
4035
|
+
// exception. (Library authors do this to prevent users from using built-in
|
|
4036
|
+
// numeric operators like `+` or comparison operators like `>=` because custom
|
|
4037
|
+
// methods are needed to perform accurate arithmetic or comparison.)
|
|
4038
|
+
//
|
|
4039
|
+
// To fix the problem, coerce this object or symbol value to a string before
|
|
4040
|
+
// passing it to React. The most reliable way is usually `String(value)`.
|
|
4041
|
+
//
|
|
4042
|
+
// To find which value is throwing, check the browser or debugger console.
|
|
4043
|
+
// Before this exception was thrown, there should be `console.error` output
|
|
4044
|
+
// that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the
|
|
4045
|
+
// problem and how that type was used: key, atrribute, input value prop, etc.
|
|
4046
|
+
// In most cases, this console output also shows the component and its
|
|
4047
|
+
// ancestor components where the exception happened.
|
|
4048
|
+
//
|
|
4049
|
+
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
4050
|
+
return '' + value;
|
|
4051
|
+
}
|
|
4052
|
+
function checkKeyStringCoercion(value) {
|
|
4053
|
+
{
|
|
4054
|
+
if (willCoercionThrow(value)) {
|
|
4055
|
+
error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));
|
|
4056
|
+
|
|
4057
|
+
return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
|
|
4058
|
+
}
|
|
4059
|
+
}
|
|
4060
|
+
}
|
|
4061
|
+
|
|
3993
4062
|
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
|
|
3994
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
3995
4063
|
var RESERVED_PROPS = {
|
|
3996
4064
|
key: true,
|
|
3997
4065
|
ref: true,
|
|
@@ -4037,10 +4105,10 @@
|
|
|
4037
4105
|
function warnIfStringRefCannotBeAutoConverted(config, self) {
|
|
4038
4106
|
{
|
|
4039
4107
|
if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
|
|
4040
|
-
var componentName =
|
|
4108
|
+
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
|
|
4041
4109
|
|
|
4042
4110
|
if (!didWarnAboutStringRefs[componentName]) {
|
|
4043
|
-
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref',
|
|
4111
|
+
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);
|
|
4044
4112
|
|
|
4045
4113
|
didWarnAboutStringRefs[componentName] = true;
|
|
4046
4114
|
}
|
|
@@ -4179,10 +4247,18 @@
|
|
|
4179
4247
|
// key is explicitly declared to be undefined or not.
|
|
4180
4248
|
|
|
4181
4249
|
if (maybeKey !== undefined) {
|
|
4250
|
+
{
|
|
4251
|
+
checkKeyStringCoercion(maybeKey);
|
|
4252
|
+
}
|
|
4253
|
+
|
|
4182
4254
|
key = '' + maybeKey;
|
|
4183
4255
|
}
|
|
4184
4256
|
|
|
4185
4257
|
if (hasValidKey(config)) {
|
|
4258
|
+
{
|
|
4259
|
+
checkKeyStringCoercion(config.key);
|
|
4260
|
+
}
|
|
4261
|
+
|
|
4186
4262
|
key = '' + config.key;
|
|
4187
4263
|
}
|
|
4188
4264
|
|
|
@@ -4253,6 +4329,7 @@
|
|
|
4253
4329
|
* @final
|
|
4254
4330
|
*/
|
|
4255
4331
|
|
|
4332
|
+
|
|
4256
4333
|
function isValidElement(object) {
|
|
4257
4334
|
{
|
|
4258
4335
|
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
@@ -4262,7 +4339,7 @@
|
|
|
4262
4339
|
function getDeclarationErrorAddendum() {
|
|
4263
4340
|
{
|
|
4264
4341
|
if (ReactCurrentOwner$1.current) {
|
|
4265
|
-
var name =
|
|
4342
|
+
var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
|
|
4266
4343
|
|
|
4267
4344
|
if (name) {
|
|
4268
4345
|
return '\n\nCheck the render method of `' + name + '`.';
|
|
@@ -4342,7 +4419,7 @@
|
|
|
4342
4419
|
|
|
4343
4420
|
if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
|
|
4344
4421
|
// Give the component that originally created this child.
|
|
4345
|
-
childOwner = " It was passed a child from " +
|
|
4422
|
+
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
|
|
4346
4423
|
}
|
|
4347
4424
|
|
|
4348
4425
|
setCurrentlyValidatingElement$1(element);
|
|
@@ -4369,7 +4446,7 @@
|
|
|
4369
4446
|
return;
|
|
4370
4447
|
}
|
|
4371
4448
|
|
|
4372
|
-
if (
|
|
4449
|
+
if (isArray(node)) {
|
|
4373
4450
|
for (var i = 0; i < node.length; i++) {
|
|
4374
4451
|
var child = node[i];
|
|
4375
4452
|
|
|
@@ -4432,12 +4509,12 @@
|
|
|
4432
4509
|
|
|
4433
4510
|
if (propTypes) {
|
|
4434
4511
|
// Intentionally inside to avoid triggering lazy initializers:
|
|
4435
|
-
var name =
|
|
4512
|
+
var name = getComponentNameFromType(type);
|
|
4436
4513
|
checkPropTypes(propTypes, element.props, 'prop', name, element);
|
|
4437
4514
|
} else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
|
4438
4515
|
propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:
|
|
4439
4516
|
|
|
4440
|
-
var _name =
|
|
4517
|
+
var _name = getComponentNameFromType(type);
|
|
4441
4518
|
|
|
4442
4519
|
error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
|
|
4443
4520
|
}
|
|
@@ -4504,10 +4581,10 @@
|
|
|
4504
4581
|
|
|
4505
4582
|
if (type === null) {
|
|
4506
4583
|
typeString = 'null';
|
|
4507
|
-
} else if (
|
|
4584
|
+
} else if (isArray(type)) {
|
|
4508
4585
|
typeString = 'array';
|
|
4509
4586
|
} else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
|
|
4510
|
-
typeString = "<" + (
|
|
4587
|
+
typeString = "<" + (getComponentNameFromType(type.type) || 'Unknown') + " />";
|
|
4511
4588
|
info = ' Did you accidentally export a JSX literal instead of a component?';
|
|
4512
4589
|
} else {
|
|
4513
4590
|
typeString = typeof type;
|
|
@@ -4533,7 +4610,7 @@
|
|
|
4533
4610
|
|
|
4534
4611
|
if (children !== undefined) {
|
|
4535
4612
|
if (isStaticChildren) {
|
|
4536
|
-
if (
|
|
4613
|
+
if (isArray(children)) {
|
|
4537
4614
|
for (var i = 0; i < children.length; i++) {
|
|
4538
4615
|
validateChildKeys(children[i], type);
|
|
4539
4616
|
}
|
|
@@ -4550,7 +4627,7 @@
|
|
|
4550
4627
|
}
|
|
4551
4628
|
}
|
|
4552
4629
|
|
|
4553
|
-
if (type ===
|
|
4630
|
+
if (type === REACT_FRAGMENT_TYPE) {
|
|
4554
4631
|
validateFragmentProps(element);
|
|
4555
4632
|
} else {
|
|
4556
4633
|
validatePropTypes(element);
|
|
@@ -4579,6 +4656,7 @@
|
|
|
4579
4656
|
|
|
4580
4657
|
var jsxs = jsxWithValidationStatic ;
|
|
4581
4658
|
|
|
4659
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
4582
4660
|
exports.jsx = jsx;
|
|
4583
4661
|
exports.jsxs = jsxs;
|
|
4584
4662
|
})();
|
|
@@ -6461,7 +6539,7 @@
|
|
|
6461
6539
|
styleFunctionSx.filterProps = ['sx'];
|
|
6462
6540
|
var defaultStyleFunctionSx = styleFunctionSx;
|
|
6463
6541
|
|
|
6464
|
-
const _excluded$
|
|
6542
|
+
const _excluded$2n = ["sx"];
|
|
6465
6543
|
|
|
6466
6544
|
const splitProps = props => {
|
|
6467
6545
|
const result = {
|
|
@@ -6482,7 +6560,7 @@
|
|
|
6482
6560
|
const {
|
|
6483
6561
|
sx: inSx
|
|
6484
6562
|
} = props,
|
|
6485
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6563
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2n);
|
|
6486
6564
|
|
|
6487
6565
|
const {
|
|
6488
6566
|
systemProps,
|
|
@@ -6520,48 +6598,9 @@
|
|
|
6520
6598
|
});
|
|
6521
6599
|
}
|
|
6522
6600
|
|
|
6523
|
-
function
|
|
6524
|
-
var k, y, str='';
|
|
6601
|
+
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
6525
6602
|
|
|
6526
|
-
|
|
6527
|
-
str += mix;
|
|
6528
|
-
} else if (typeof mix === 'object') {
|
|
6529
|
-
if (Array.isArray(mix)) {
|
|
6530
|
-
for (k=0; k < mix.length; k++) {
|
|
6531
|
-
if (mix[k]) {
|
|
6532
|
-
if (y = toVal(mix[k])) {
|
|
6533
|
-
str && (str += ' ');
|
|
6534
|
-
str += y;
|
|
6535
|
-
}
|
|
6536
|
-
}
|
|
6537
|
-
}
|
|
6538
|
-
} else {
|
|
6539
|
-
for (k in mix) {
|
|
6540
|
-
if (mix[k]) {
|
|
6541
|
-
str && (str += ' ');
|
|
6542
|
-
str += k;
|
|
6543
|
-
}
|
|
6544
|
-
}
|
|
6545
|
-
}
|
|
6546
|
-
}
|
|
6547
|
-
|
|
6548
|
-
return str;
|
|
6549
|
-
}
|
|
6550
|
-
|
|
6551
|
-
function clsx() {
|
|
6552
|
-
var i=0, tmp, x, str='';
|
|
6553
|
-
while (i < arguments.length) {
|
|
6554
|
-
if (tmp = arguments[i++]) {
|
|
6555
|
-
if (x = toVal(tmp)) {
|
|
6556
|
-
str && (str += ' ');
|
|
6557
|
-
str += x;
|
|
6558
|
-
}
|
|
6559
|
-
}
|
|
6560
|
-
}
|
|
6561
|
-
return str;
|
|
6562
|
-
}
|
|
6563
|
-
|
|
6564
|
-
const _excluded$2l = ["values", "unit", "step"];
|
|
6603
|
+
const _excluded$2m = ["values", "unit", "step"];
|
|
6565
6604
|
|
|
6566
6605
|
const sortBreakpointsValues = values => {
|
|
6567
6606
|
const breakpointsAsArray = Object.keys(values).map(key => ({
|
|
@@ -6597,7 +6636,7 @@
|
|
|
6597
6636
|
unit = 'px',
|
|
6598
6637
|
step = 5
|
|
6599
6638
|
} = breakpoints,
|
|
6600
|
-
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$
|
|
6639
|
+
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2m);
|
|
6601
6640
|
|
|
6602
6641
|
const sortedValues = sortBreakpointsValues(values);
|
|
6603
6642
|
const keys = Object.keys(sortedValues);
|
|
@@ -6689,7 +6728,7 @@
|
|
|
6689
6728
|
return spacing;
|
|
6690
6729
|
}
|
|
6691
6730
|
|
|
6692
|
-
const _excluded$
|
|
6731
|
+
const _excluded$2l = ["breakpoints", "palette", "spacing", "shape"];
|
|
6693
6732
|
|
|
6694
6733
|
function createTheme$1(options = {}, ...args) {
|
|
6695
6734
|
const {
|
|
@@ -6698,7 +6737,7 @@
|
|
|
6698
6737
|
spacing: spacingInput,
|
|
6699
6738
|
shape: shapeInput = {}
|
|
6700
6739
|
} = options,
|
|
6701
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
6740
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$2l);
|
|
6702
6741
|
|
|
6703
6742
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
6704
6743
|
const spacing = createSpacing(spacingInput);
|
|
@@ -6820,7 +6859,7 @@
|
|
|
6820
6859
|
return useTheme$2(defaultTheme);
|
|
6821
6860
|
}
|
|
6822
6861
|
|
|
6823
|
-
const _excluded$
|
|
6862
|
+
const _excluded$2k = ["className", "component"];
|
|
6824
6863
|
function createBox(options = {}) {
|
|
6825
6864
|
const {
|
|
6826
6865
|
defaultTheme,
|
|
@@ -6837,7 +6876,7 @@
|
|
|
6837
6876
|
className,
|
|
6838
6877
|
component = 'div'
|
|
6839
6878
|
} = _extendSxProp,
|
|
6840
|
-
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$
|
|
6879
|
+
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2k);
|
|
6841
6880
|
|
|
6842
6881
|
return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
|
|
6843
6882
|
as: component,
|
|
@@ -6849,7 +6888,7 @@
|
|
|
6849
6888
|
return Box;
|
|
6850
6889
|
}
|
|
6851
6890
|
|
|
6852
|
-
const _excluded$
|
|
6891
|
+
const _excluded$2j = ["variant"];
|
|
6853
6892
|
|
|
6854
6893
|
function isEmpty$3(string) {
|
|
6855
6894
|
return string.length === 0;
|
|
@@ -6865,7 +6904,7 @@
|
|
|
6865
6904
|
const {
|
|
6866
6905
|
variant
|
|
6867
6906
|
} = props,
|
|
6868
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6907
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2j);
|
|
6869
6908
|
|
|
6870
6909
|
let classKey = variant || '';
|
|
6871
6910
|
Object.keys(other).sort().forEach(key => {
|
|
@@ -6878,7 +6917,7 @@
|
|
|
6878
6917
|
return classKey;
|
|
6879
6918
|
}
|
|
6880
6919
|
|
|
6881
|
-
const _excluded$
|
|
6920
|
+
const _excluded$2i = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
|
|
6882
6921
|
_excluded2$c = ["theme"],
|
|
6883
6922
|
_excluded3$1 = ["theme"];
|
|
6884
6923
|
|
|
@@ -6961,7 +7000,7 @@
|
|
|
6961
7000
|
skipSx: inputSkipSx,
|
|
6962
7001
|
overridesResolver
|
|
6963
7002
|
} = inputOptions,
|
|
6964
|
-
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$
|
|
7003
|
+
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2i); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
|
|
6965
7004
|
|
|
6966
7005
|
|
|
6967
7006
|
const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
|
|
@@ -7824,7 +7863,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7824
7863
|
const handleMediaQuery = React__namespace.useCallback(e => {
|
|
7825
7864
|
if (state.mode === 'system') {
|
|
7826
7865
|
setState(currentState => _extends({}, currentState, {
|
|
7827
|
-
systemMode: e.matches ? 'dark' : 'light'
|
|
7866
|
+
systemMode: e != null && e.matches ? 'dark' : 'light'
|
|
7828
7867
|
}));
|
|
7829
7868
|
}
|
|
7830
7869
|
}, [state.mode]); // Ref hack to avoid adding handleMediaQuery as a dep
|
|
@@ -7897,7 +7936,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7897
7936
|
});
|
|
7898
7937
|
}
|
|
7899
7938
|
|
|
7900
|
-
const _excluded$
|
|
7939
|
+
const _excluded$2h = ["colorSchemes", "components", "cssVarPrefix"];
|
|
7901
7940
|
const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';
|
|
7902
7941
|
function createCssVarsProvider(options) {
|
|
7903
7942
|
const {
|
|
@@ -7952,7 +7991,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7952
7991
|
components = {},
|
|
7953
7992
|
cssVarPrefix
|
|
7954
7993
|
} = themeProp,
|
|
7955
|
-
restThemeProp = _objectWithoutPropertiesLoose(themeProp, _excluded$
|
|
7994
|
+
restThemeProp = _objectWithoutPropertiesLoose(themeProp, _excluded$2h);
|
|
7956
7995
|
|
|
7957
7996
|
const allColorSchemes = Object.keys(colorSchemes);
|
|
7958
7997
|
const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;
|
|
@@ -8234,9 +8273,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8234
8273
|
return getCssVar;
|
|
8235
8274
|
}
|
|
8236
8275
|
|
|
8237
|
-
const _excluded$
|
|
8238
|
-
const defaultTheme$
|
|
8239
|
-
const defaultCreateStyledComponent = systemStyled('div', {
|
|
8276
|
+
const _excluded$2g = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
|
|
8277
|
+
const defaultTheme$5 = createTheme$1();
|
|
8278
|
+
const defaultCreateStyledComponent$1 = systemStyled('div', {
|
|
8240
8279
|
name: 'MuiContainer',
|
|
8241
8280
|
slot: 'Root',
|
|
8242
8281
|
overridesResolver: (props, styles) => {
|
|
@@ -8247,10 +8286,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8247
8286
|
}
|
|
8248
8287
|
});
|
|
8249
8288
|
|
|
8250
|
-
const useThemePropsDefault = inProps => useThemeProps$1({
|
|
8289
|
+
const useThemePropsDefault$1 = inProps => useThemeProps$1({
|
|
8251
8290
|
props: inProps,
|
|
8252
8291
|
name: 'MuiContainer',
|
|
8253
|
-
defaultTheme: defaultTheme$
|
|
8292
|
+
defaultTheme: defaultTheme$5
|
|
8254
8293
|
});
|
|
8255
8294
|
|
|
8256
8295
|
const useUtilityClasses$1P = (ownerState, componentName) => {
|
|
@@ -8273,8 +8312,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8273
8312
|
function createContainer(options = {}) {
|
|
8274
8313
|
const {
|
|
8275
8314
|
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
8276
|
-
createStyledComponent = defaultCreateStyledComponent,
|
|
8277
|
-
useThemeProps = useThemePropsDefault,
|
|
8315
|
+
createStyledComponent = defaultCreateStyledComponent$1,
|
|
8316
|
+
useThemeProps = useThemePropsDefault$1,
|
|
8278
8317
|
componentName = 'MuiContainer'
|
|
8279
8318
|
} = options;
|
|
8280
8319
|
const ContainerRoot = createStyledComponent(({
|
|
@@ -8336,7 +8375,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8336
8375
|
fixed = false,
|
|
8337
8376
|
maxWidth = 'lg'
|
|
8338
8377
|
} = props,
|
|
8339
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
8378
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2g);
|
|
8340
8379
|
|
|
8341
8380
|
const ownerState = _extends({}, props, {
|
|
8342
8381
|
component,
|
|
@@ -8376,6 +8415,376 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8376
8415
|
return Container;
|
|
8377
8416
|
}
|
|
8378
8417
|
|
|
8418
|
+
const traverseBreakpoints = (breakpoints, responsize, iterator) => {
|
|
8419
|
+
const smallestBreakpoint = breakpoints.keys[0]; // the keys is sorted from smallest to largest by `createBreakpoints`.
|
|
8420
|
+
|
|
8421
|
+
if (Array.isArray(responsize)) {
|
|
8422
|
+
responsize.forEach((breakpointValue, index) => {
|
|
8423
|
+
iterator((responsizeStyles, style) => {
|
|
8424
|
+
if (index <= breakpoints.keys.length - 1) {
|
|
8425
|
+
if (index === 0) {
|
|
8426
|
+
Object.assign(responsizeStyles, style);
|
|
8427
|
+
} else {
|
|
8428
|
+
responsizeStyles[breakpoints.up(breakpoints.keys[index])] = style;
|
|
8429
|
+
}
|
|
8430
|
+
}
|
|
8431
|
+
}, breakpointValue);
|
|
8432
|
+
});
|
|
8433
|
+
} else if (responsize && typeof responsize === 'object') {
|
|
8434
|
+
// prevent null
|
|
8435
|
+
// responsize could be a very big object, pick the smallest responsive values
|
|
8436
|
+
const keys = Object.keys(responsize).length > breakpoints.keys.length ? breakpoints.keys : Object.keys(responsize);
|
|
8437
|
+
keys.forEach(key => {
|
|
8438
|
+
if (breakpoints.keys.indexOf(key) !== -1) {
|
|
8439
|
+
// @ts-ignore already checked that responsize is an object
|
|
8440
|
+
const breakpointValue = responsize[key];
|
|
8441
|
+
|
|
8442
|
+
if (breakpointValue !== undefined) {
|
|
8443
|
+
iterator((responsizeStyles, style) => {
|
|
8444
|
+
if (smallestBreakpoint === key) {
|
|
8445
|
+
Object.assign(responsizeStyles, style);
|
|
8446
|
+
} else {
|
|
8447
|
+
responsizeStyles[breakpoints.up(key)] = style;
|
|
8448
|
+
}
|
|
8449
|
+
}, breakpointValue);
|
|
8450
|
+
}
|
|
8451
|
+
}
|
|
8452
|
+
});
|
|
8453
|
+
} else if (typeof responsize === 'number' || typeof responsize === 'string') {
|
|
8454
|
+
iterator((responsizeStyles, style) => {
|
|
8455
|
+
Object.assign(responsizeStyles, style);
|
|
8456
|
+
}, responsize);
|
|
8457
|
+
}
|
|
8458
|
+
};
|
|
8459
|
+
const generateGridSizeStyles = ({
|
|
8460
|
+
theme,
|
|
8461
|
+
ownerState
|
|
8462
|
+
}) => {
|
|
8463
|
+
const styles = {};
|
|
8464
|
+
traverseBreakpoints(theme.breakpoints, ownerState.gridSize, (appendStyle, value) => {
|
|
8465
|
+
let style = {};
|
|
8466
|
+
|
|
8467
|
+
if (value === true) {
|
|
8468
|
+
style = {
|
|
8469
|
+
flexBasis: 0,
|
|
8470
|
+
flexGrow: 1,
|
|
8471
|
+
maxWidth: '100%'
|
|
8472
|
+
};
|
|
8473
|
+
}
|
|
8474
|
+
|
|
8475
|
+
if (value === 'auto') {
|
|
8476
|
+
style = {
|
|
8477
|
+
flexBasis: 'auto',
|
|
8478
|
+
flexGrow: 0,
|
|
8479
|
+
flexShrink: 0,
|
|
8480
|
+
maxWidth: 'none',
|
|
8481
|
+
width: 'auto'
|
|
8482
|
+
};
|
|
8483
|
+
}
|
|
8484
|
+
|
|
8485
|
+
if (typeof value === 'number') {
|
|
8486
|
+
style = {
|
|
8487
|
+
flexGrow: 0,
|
|
8488
|
+
flexBasis: 'auto',
|
|
8489
|
+
width: `calc(100% * ${value} / var(--Grid-columns)${ownerState.nested && ownerState.container ? ` + var(--Grid-columnSpacing)` : ''})`
|
|
8490
|
+
};
|
|
8491
|
+
}
|
|
8492
|
+
|
|
8493
|
+
appendStyle(styles, style);
|
|
8494
|
+
});
|
|
8495
|
+
return styles;
|
|
8496
|
+
};
|
|
8497
|
+
const generateGridOffsetStyles = ({
|
|
8498
|
+
theme,
|
|
8499
|
+
ownerState
|
|
8500
|
+
}) => {
|
|
8501
|
+
const styles = {};
|
|
8502
|
+
traverseBreakpoints(theme.breakpoints, ownerState.gridOffset, (appendStyle, value) => {
|
|
8503
|
+
let style = {};
|
|
8504
|
+
|
|
8505
|
+
if (value === 'auto') {
|
|
8506
|
+
style = {
|
|
8507
|
+
marginLeft: 'auto'
|
|
8508
|
+
};
|
|
8509
|
+
}
|
|
8510
|
+
|
|
8511
|
+
if (typeof value === 'number') {
|
|
8512
|
+
style = {
|
|
8513
|
+
marginLeft: value === 0 ? '0px' : `calc(100% * ${value} / var(--Grid-columns))`
|
|
8514
|
+
};
|
|
8515
|
+
}
|
|
8516
|
+
|
|
8517
|
+
appendStyle(styles, style);
|
|
8518
|
+
});
|
|
8519
|
+
return styles;
|
|
8520
|
+
};
|
|
8521
|
+
const generateGridColumnsStyles = ({
|
|
8522
|
+
theme,
|
|
8523
|
+
ownerState
|
|
8524
|
+
}) => {
|
|
8525
|
+
if (!ownerState.container) {
|
|
8526
|
+
return {};
|
|
8527
|
+
}
|
|
8528
|
+
|
|
8529
|
+
const styles = {
|
|
8530
|
+
'--Grid-columns': 12
|
|
8531
|
+
};
|
|
8532
|
+
traverseBreakpoints(theme.breakpoints, ownerState.columns, (appendStyle, value) => {
|
|
8533
|
+
appendStyle(styles, {
|
|
8534
|
+
'--Grid-columns': value
|
|
8535
|
+
});
|
|
8536
|
+
});
|
|
8537
|
+
return styles;
|
|
8538
|
+
};
|
|
8539
|
+
const generateGridRowSpacingStyles = ({
|
|
8540
|
+
theme,
|
|
8541
|
+
ownerState
|
|
8542
|
+
}) => {
|
|
8543
|
+
if (!ownerState.container) {
|
|
8544
|
+
return {};
|
|
8545
|
+
}
|
|
8546
|
+
|
|
8547
|
+
const styles = {};
|
|
8548
|
+
traverseBreakpoints(theme.breakpoints, ownerState.rowSpacing, (appendStyle, value) => {
|
|
8549
|
+
var _theme$spacing;
|
|
8550
|
+
|
|
8551
|
+
appendStyle(styles, {
|
|
8552
|
+
'--Grid-rowSpacing': typeof value === 'string' ? value : (_theme$spacing = theme.spacing) == null ? void 0 : _theme$spacing.call(theme, value)
|
|
8553
|
+
});
|
|
8554
|
+
});
|
|
8555
|
+
return styles;
|
|
8556
|
+
};
|
|
8557
|
+
const generateGridColumnSpacingStyles = ({
|
|
8558
|
+
theme,
|
|
8559
|
+
ownerState
|
|
8560
|
+
}) => {
|
|
8561
|
+
if (!ownerState.container) {
|
|
8562
|
+
return {};
|
|
8563
|
+
}
|
|
8564
|
+
|
|
8565
|
+
const styles = {};
|
|
8566
|
+
traverseBreakpoints(theme.breakpoints, ownerState.columnSpacing, (appendStyle, value) => {
|
|
8567
|
+
var _theme$spacing2;
|
|
8568
|
+
|
|
8569
|
+
appendStyle(styles, {
|
|
8570
|
+
'--Grid-columnSpacing': typeof value === 'string' ? value : (_theme$spacing2 = theme.spacing) == null ? void 0 : _theme$spacing2.call(theme, value)
|
|
8571
|
+
});
|
|
8572
|
+
});
|
|
8573
|
+
return styles;
|
|
8574
|
+
};
|
|
8575
|
+
const generateGridDirectionStyles = ({
|
|
8576
|
+
theme,
|
|
8577
|
+
ownerState
|
|
8578
|
+
}) => {
|
|
8579
|
+
if (!ownerState.container) {
|
|
8580
|
+
return {};
|
|
8581
|
+
}
|
|
8582
|
+
|
|
8583
|
+
const styles = {};
|
|
8584
|
+
traverseBreakpoints(theme.breakpoints, ownerState.direction, (appendStyle, value) => {
|
|
8585
|
+
appendStyle(styles, {
|
|
8586
|
+
flexDirection: value
|
|
8587
|
+
});
|
|
8588
|
+
});
|
|
8589
|
+
return styles;
|
|
8590
|
+
};
|
|
8591
|
+
const generateGridStyles = ({
|
|
8592
|
+
ownerState
|
|
8593
|
+
}) => {
|
|
8594
|
+
return _extends({
|
|
8595
|
+
minWidth: 0,
|
|
8596
|
+
boxSizing: 'border-box'
|
|
8597
|
+
}, ownerState.container ? _extends({
|
|
8598
|
+
display: 'flex',
|
|
8599
|
+
flexWrap: 'wrap'
|
|
8600
|
+
}, ownerState.wrap && ownerState.wrap !== 'wrap' && {
|
|
8601
|
+
flexWrap: ownerState.wrap
|
|
8602
|
+
}, {
|
|
8603
|
+
margin: `calc(var(--Grid-rowSpacing) / -2) calc(var(--Grid-columnSpacing) / -2)`
|
|
8604
|
+
}, ownerState.nested ? {
|
|
8605
|
+
padding: `calc(var(--Grid-nested-rowSpacing) / 2) calc(var(--Grid-nested-columnSpacing) / 2)`
|
|
8606
|
+
} : {
|
|
8607
|
+
'--Grid-nested-rowSpacing': 'var(--Grid-rowSpacing)',
|
|
8608
|
+
'--Grid-nested-columnSpacing': 'var(--Grid-columnSpacing)'
|
|
8609
|
+
}) : {
|
|
8610
|
+
padding: `calc(var(--Grid-rowSpacing) / 2) calc(var(--Grid-columnSpacing) / 2)`
|
|
8611
|
+
});
|
|
8612
|
+
};
|
|
8613
|
+
const generateSizeClassNames = gridSize => {
|
|
8614
|
+
const classNames = [];
|
|
8615
|
+
Object.entries(gridSize).forEach(([key, value]) => {
|
|
8616
|
+
if (value !== false && value !== undefined) {
|
|
8617
|
+
classNames.push(`grid-${key}-${String(value)}`);
|
|
8618
|
+
}
|
|
8619
|
+
});
|
|
8620
|
+
return classNames;
|
|
8621
|
+
};
|
|
8622
|
+
const generateSpacingClassNames = (spacing, smallestBreakpoint = 'xs') => {
|
|
8623
|
+
function isValidSpacing(val) {
|
|
8624
|
+
if (val === undefined) {
|
|
8625
|
+
return false;
|
|
8626
|
+
}
|
|
8627
|
+
|
|
8628
|
+
return typeof val === 'string' && !Number.isNaN(Number(val)) || typeof val === 'number' && val > 0;
|
|
8629
|
+
}
|
|
8630
|
+
|
|
8631
|
+
if (isValidSpacing(spacing)) {
|
|
8632
|
+
return [`spacing-${smallestBreakpoint}-${String(spacing)}`];
|
|
8633
|
+
}
|
|
8634
|
+
|
|
8635
|
+
if (typeof spacing === 'object' && !Array.isArray(spacing)) {
|
|
8636
|
+
const classNames = [];
|
|
8637
|
+
Object.entries(spacing).forEach(([key, value]) => {
|
|
8638
|
+
if (isValidSpacing(value)) {
|
|
8639
|
+
classNames.push(`spacing-${key}-${String(value)}`);
|
|
8640
|
+
}
|
|
8641
|
+
});
|
|
8642
|
+
return classNames;
|
|
8643
|
+
}
|
|
8644
|
+
|
|
8645
|
+
return [];
|
|
8646
|
+
};
|
|
8647
|
+
|
|
8648
|
+
const _excluded$2f = ["className", "columns", "container", "component", "direction", "wrap", "spacing", "rowSpacing", "columnSpacing"];
|
|
8649
|
+
const defaultTheme$4 = createTheme$1(); // widening Theme to any so that the consumer can own the theme structure.
|
|
8650
|
+
|
|
8651
|
+
const defaultCreateStyledComponent = systemStyled('div', {
|
|
8652
|
+
name: 'MuiGrid',
|
|
8653
|
+
slot: 'Root',
|
|
8654
|
+
overridesResolver: (props, styles) => styles.root
|
|
8655
|
+
});
|
|
8656
|
+
|
|
8657
|
+
function useThemePropsDefault(props) {
|
|
8658
|
+
return useThemeProps$1({
|
|
8659
|
+
props,
|
|
8660
|
+
name: 'MuiGrid',
|
|
8661
|
+
defaultTheme: defaultTheme$4
|
|
8662
|
+
});
|
|
8663
|
+
}
|
|
8664
|
+
|
|
8665
|
+
function createGrid(options = {}) {
|
|
8666
|
+
const {
|
|
8667
|
+
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
8668
|
+
createStyledComponent = defaultCreateStyledComponent,
|
|
8669
|
+
useThemeProps = useThemePropsDefault,
|
|
8670
|
+
componentName = 'MuiGrid'
|
|
8671
|
+
} = options;
|
|
8672
|
+
const NestedContext = /*#__PURE__*/React__namespace.createContext(false);
|
|
8673
|
+
|
|
8674
|
+
const useUtilityClasses = (ownerState, theme) => {
|
|
8675
|
+
const {
|
|
8676
|
+
container,
|
|
8677
|
+
direction,
|
|
8678
|
+
spacing,
|
|
8679
|
+
wrap,
|
|
8680
|
+
gridSize
|
|
8681
|
+
} = ownerState;
|
|
8682
|
+
const slots = {
|
|
8683
|
+
root: ['root', container && 'container', direction !== 'row' && `direction-xs-${String(direction)}`, wrap !== 'wrap' && `wrap-xs-${String(wrap)}`, ...generateSizeClassNames(gridSize), ...(container ? generateSpacingClassNames(spacing, theme.breakpoints.keys[0]) : [])]
|
|
8684
|
+
};
|
|
8685
|
+
return composeClasses(slots, slot => generateUtilityClass(componentName, slot), {});
|
|
8686
|
+
};
|
|
8687
|
+
|
|
8688
|
+
const GridRoot = createStyledComponent(generateGridColumnsStyles, generateGridColumnSpacingStyles, generateGridRowSpacingStyles, generateGridSizeStyles, generateGridDirectionStyles, generateGridStyles, generateGridOffsetStyles);
|
|
8689
|
+
const Grid = /*#__PURE__*/React__namespace.forwardRef(function Grid(inProps, ref) {
|
|
8690
|
+
var _inProps$columns, _inProps$spacing, _ref, _inProps$rowSpacing, _ref2, _inProps$columnSpacin;
|
|
8691
|
+
|
|
8692
|
+
const theme = useTheme$1();
|
|
8693
|
+
const themeProps = useThemeProps(inProps);
|
|
8694
|
+
const props = extendSxProp(themeProps); // `color` type conflicts with html color attribute.
|
|
8695
|
+
|
|
8696
|
+
const nested = React__namespace.useContext(NestedContext);
|
|
8697
|
+
|
|
8698
|
+
const {
|
|
8699
|
+
className,
|
|
8700
|
+
columns: columnsProp = 12,
|
|
8701
|
+
container = false,
|
|
8702
|
+
component = 'div',
|
|
8703
|
+
direction = 'row',
|
|
8704
|
+
wrap = 'wrap',
|
|
8705
|
+
spacing: spacingProp = 0,
|
|
8706
|
+
rowSpacing: rowSpacingProp = spacingProp,
|
|
8707
|
+
columnSpacing: columnSpacingProp = spacingProp
|
|
8708
|
+
} = props,
|
|
8709
|
+
rest = _objectWithoutPropertiesLoose(props, _excluded$2f); // collect breakpoints related props because they can be custom from the theme.
|
|
8710
|
+
|
|
8711
|
+
|
|
8712
|
+
const gridSize = {};
|
|
8713
|
+
const gridOffset = {};
|
|
8714
|
+
const other = {};
|
|
8715
|
+
Object.entries(rest).forEach(([key, val]) => {
|
|
8716
|
+
if (theme.breakpoints.values[key] !== undefined) {
|
|
8717
|
+
gridSize[key] = val;
|
|
8718
|
+
} else if (theme.breakpoints.values[key.replace('Offset', '')] !== undefined) {
|
|
8719
|
+
gridOffset[key.replace('Offset', '')] = val;
|
|
8720
|
+
} else {
|
|
8721
|
+
other[key] = val;
|
|
8722
|
+
}
|
|
8723
|
+
});
|
|
8724
|
+
const columns = (_inProps$columns = inProps.columns) != null ? _inProps$columns : nested ? undefined : columnsProp;
|
|
8725
|
+
const spacing = (_inProps$spacing = inProps.spacing) != null ? _inProps$spacing : nested ? undefined : spacingProp;
|
|
8726
|
+
const rowSpacing = (_ref = (_inProps$rowSpacing = inProps.rowSpacing) != null ? _inProps$rowSpacing : inProps.spacing) != null ? _ref : nested ? undefined : rowSpacingProp;
|
|
8727
|
+
const columnSpacing = (_ref2 = (_inProps$columnSpacin = inProps.columnSpacing) != null ? _inProps$columnSpacin : inProps.spacing) != null ? _ref2 : nested ? undefined : columnSpacingProp;
|
|
8728
|
+
|
|
8729
|
+
const ownerState = _extends({}, props, {
|
|
8730
|
+
nested,
|
|
8731
|
+
columns,
|
|
8732
|
+
container,
|
|
8733
|
+
direction,
|
|
8734
|
+
wrap,
|
|
8735
|
+
spacing,
|
|
8736
|
+
rowSpacing,
|
|
8737
|
+
columnSpacing,
|
|
8738
|
+
gridSize,
|
|
8739
|
+
gridOffset
|
|
8740
|
+
});
|
|
8741
|
+
|
|
8742
|
+
const classes = useUtilityClasses(ownerState, theme);
|
|
8743
|
+
|
|
8744
|
+
let result = /*#__PURE__*/jsxRuntime_1(GridRoot, _extends({
|
|
8745
|
+
ref: ref,
|
|
8746
|
+
as: component,
|
|
8747
|
+
ownerState: ownerState,
|
|
8748
|
+
className: clsx(classes.root, className)
|
|
8749
|
+
}, other));
|
|
8750
|
+
|
|
8751
|
+
if (!nested) {
|
|
8752
|
+
result = /*#__PURE__*/jsxRuntime_1(NestedContext.Provider, {
|
|
8753
|
+
value: true,
|
|
8754
|
+
children: result
|
|
8755
|
+
});
|
|
8756
|
+
}
|
|
8757
|
+
|
|
8758
|
+
return result;
|
|
8759
|
+
});
|
|
8760
|
+
Grid.propTypes
|
|
8761
|
+
/* remove-proptypes */
|
|
8762
|
+
= {
|
|
8763
|
+
children: PropTypes.node,
|
|
8764
|
+
className: PropTypes.string,
|
|
8765
|
+
columns: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),
|
|
8766
|
+
columnSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
8767
|
+
component: PropTypes.elementType,
|
|
8768
|
+
container: PropTypes.bool,
|
|
8769
|
+
direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
|
|
8770
|
+
lg: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
8771
|
+
lgOffset: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
8772
|
+
md: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
8773
|
+
mdOffset: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
8774
|
+
rowSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
8775
|
+
sm: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
8776
|
+
smOffset: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
8777
|
+
spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
8778
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
8779
|
+
wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap']),
|
|
8780
|
+
xl: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
8781
|
+
xlOffset: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
8782
|
+
xs: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
8783
|
+
xsOffset: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number])
|
|
8784
|
+
} ;
|
|
8785
|
+
return Grid;
|
|
8786
|
+
}
|
|
8787
|
+
|
|
8379
8788
|
const _excluded$2e = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
|
|
8380
8789
|
_excluded2$b = ["type", "mode"];
|
|
8381
8790
|
function adaptV4Theme(inputTheme) {
|
|
@@ -8586,8 +8995,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8586
8995
|
const eventHandlers = extractEventHandlers(_extends({}, externalForwardedProps, externalSlotProps));
|
|
8587
8996
|
const componentsPropsWithoutEventHandlers = omitEventHandlers(externalSlotProps);
|
|
8588
8997
|
const otherPropsWithoutEventHandlers = omitEventHandlers(externalForwardedProps);
|
|
8589
|
-
const internalSlotProps = getSlotProps(eventHandlers);
|
|
8590
|
-
|
|
8998
|
+
const internalSlotProps = getSlotProps(eventHandlers); // The order of classes is important here.
|
|
8999
|
+
// Emotion (that we use in libraries consuming MUI Base) depends on this order
|
|
9000
|
+
// to properly override style. It requires the most important classes to be last
|
|
9001
|
+
// (see https://github.com/mui/material-ui/pull/33205) for the related discussion.
|
|
9002
|
+
|
|
9003
|
+
const joinedClasses = clsx(internalSlotProps == null ? void 0 : internalSlotProps.className, additionalProps == null ? void 0 : additionalProps.className, className, externalForwardedProps == null ? void 0 : externalForwardedProps.className, externalSlotProps == null ? void 0 : externalSlotProps.className);
|
|
8591
9004
|
|
|
8592
9005
|
const mergedStyle = _extends({}, internalSlotProps == null ? void 0 : internalSlotProps.style, additionalProps == null ? void 0 : additionalProps.style, externalForwardedProps == null ? void 0 : externalForwardedProps.style, externalSlotProps == null ? void 0 : externalSlotProps.style);
|
|
8593
9006
|
|
|
@@ -8627,11 +9040,15 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8627
9040
|
rest = _objectWithoutPropertiesLoose(parameters, _excluded$2d);
|
|
8628
9041
|
|
|
8629
9042
|
const resolvedComponentsProps = resolveComponentProps(externalSlotProps, ownerState);
|
|
8630
|
-
const
|
|
9043
|
+
const {
|
|
9044
|
+
props: mergedProps,
|
|
9045
|
+
internalRef
|
|
9046
|
+
} = mergeSlotProps(_extends({}, rest, {
|
|
8631
9047
|
externalSlotProps: resolvedComponentsProps
|
|
8632
9048
|
}));
|
|
8633
|
-
const
|
|
8634
|
-
|
|
9049
|
+
const ref = useForkRef(internalRef, useForkRef(resolvedComponentsProps == null ? void 0 : resolvedComponentsProps.ref, (_parameters$additiona = parameters.additionalProps) == null ? void 0 : _parameters$additiona.ref));
|
|
9050
|
+
const props = appendOwnerState(elementType, _extends({}, mergedProps, {
|
|
9051
|
+
ref
|
|
8635
9052
|
}), ownerState);
|
|
8636
9053
|
return props;
|
|
8637
9054
|
}
|
|
@@ -13034,7 +13451,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13034
13451
|
const modalUnstyledClasses = generateUtilityClasses('MuiModal', ['root', 'hidden']);
|
|
13035
13452
|
var modalUnstyledClasses$1 = modalUnstyledClasses;
|
|
13036
13453
|
|
|
13037
|
-
const _excluded$2a = ["children", "classes", "
|
|
13454
|
+
const _excluded$2a = ["children", "classes", "closeAfterTransition", "component", "components", "componentsProps", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited"];
|
|
13038
13455
|
|
|
13039
13456
|
const useUtilityClasses$1N = ownerState => {
|
|
13040
13457
|
const {
|
|
@@ -13074,12 +13491,11 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13074
13491
|
*/
|
|
13075
13492
|
|
|
13076
13493
|
const ModalUnstyled = /*#__PURE__*/React__namespace.forwardRef(function ModalUnstyled(props, ref) {
|
|
13077
|
-
var _props$ariaHidden
|
|
13494
|
+
var _props$ariaHidden;
|
|
13078
13495
|
|
|
13079
13496
|
const {
|
|
13080
13497
|
children,
|
|
13081
13498
|
classes: classesProp,
|
|
13082
|
-
className,
|
|
13083
13499
|
closeAfterTransition = false,
|
|
13084
13500
|
component = 'div',
|
|
13085
13501
|
components = {},
|
|
@@ -13185,10 +13601,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13185
13601
|
|
|
13186
13602
|
const classes = useUtilityClasses$1N(ownerState);
|
|
13187
13603
|
|
|
13188
|
-
if (!keepMounted && !open && (!hasTransition || exited)) {
|
|
13189
|
-
return null;
|
|
13190
|
-
}
|
|
13191
|
-
|
|
13192
13604
|
const handleEnter = () => {
|
|
13193
13605
|
setExited(false);
|
|
13194
13606
|
|
|
@@ -13261,19 +13673,34 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13261
13673
|
}
|
|
13262
13674
|
|
|
13263
13675
|
const Root = components.Root || component;
|
|
13264
|
-
const rootProps =
|
|
13265
|
-
|
|
13266
|
-
|
|
13267
|
-
|
|
13268
|
-
|
|
13269
|
-
|
|
13270
|
-
|
|
13676
|
+
const rootProps = useSlotProps({
|
|
13677
|
+
elementType: Root,
|
|
13678
|
+
externalSlotProps: componentsProps.root,
|
|
13679
|
+
externalForwardedProps: other,
|
|
13680
|
+
additionalProps: {
|
|
13681
|
+
ref: handleRef,
|
|
13682
|
+
role: 'presentation',
|
|
13683
|
+
onKeyDown: handleKeyDown
|
|
13684
|
+
},
|
|
13685
|
+
className: classes.root,
|
|
13686
|
+
ownerState
|
|
13687
|
+
});
|
|
13271
13688
|
const BackdropComponent = components.Backdrop;
|
|
13272
|
-
const backdropProps =
|
|
13273
|
-
|
|
13274
|
-
|
|
13275
|
-
|
|
13276
|
-
|
|
13689
|
+
const backdropProps = useSlotProps({
|
|
13690
|
+
elementType: BackdropComponent,
|
|
13691
|
+
externalSlotProps: componentsProps.backdrop,
|
|
13692
|
+
additionalProps: {
|
|
13693
|
+
'aria-hidden': true,
|
|
13694
|
+
onClick: handleBackdropClick,
|
|
13695
|
+
open
|
|
13696
|
+
},
|
|
13697
|
+
ownerState
|
|
13698
|
+
});
|
|
13699
|
+
|
|
13700
|
+
if (!keepMounted && !open && (!hasTransition || exited)) {
|
|
13701
|
+
return null;
|
|
13702
|
+
}
|
|
13703
|
+
|
|
13277
13704
|
return /*#__PURE__*/jsxRuntime_1(Portal$1, {
|
|
13278
13705
|
ref: handlePortalRef,
|
|
13279
13706
|
container: container,
|
|
@@ -13308,11 +13735,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13308
13735
|
*/
|
|
13309
13736
|
classes: PropTypes.object,
|
|
13310
13737
|
|
|
13311
|
-
/**
|
|
13312
|
-
* @ignore
|
|
13313
|
-
*/
|
|
13314
|
-
className: PropTypes.string,
|
|
13315
|
-
|
|
13316
13738
|
/**
|
|
13317
13739
|
* When set to true the Modal waits until a nested Transition is completed before closing.
|
|
13318
13740
|
* @default false
|
|
@@ -13340,8 +13762,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13340
13762
|
* @default {}
|
|
13341
13763
|
*/
|
|
13342
13764
|
componentsProps: PropTypes.shape({
|
|
13343
|
-
backdrop: PropTypes.object,
|
|
13344
|
-
root: PropTypes.object
|
|
13765
|
+
backdrop: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
13766
|
+
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
13345
13767
|
}),
|
|
13346
13768
|
|
|
13347
13769
|
/**
|
|
@@ -22685,7 +23107,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22685
23107
|
|
|
22686
23108
|
if (multiple && value.length > 0) {
|
|
22687
23109
|
const getCustomizedTagProps = params => _extends({
|
|
22688
|
-
className:
|
|
23110
|
+
className: classes.tag,
|
|
22689
23111
|
disabled
|
|
22690
23112
|
}, getTagProps(params));
|
|
22691
23113
|
|
|
@@ -22786,7 +23208,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22786
23208
|
})
|
|
22787
23209
|
}),
|
|
22788
23210
|
inputProps: _extends({
|
|
22789
|
-
className:
|
|
23211
|
+
className: classes.input,
|
|
22790
23212
|
disabled,
|
|
22791
23213
|
readOnly
|
|
22792
23214
|
}, getInputProps())
|
|
@@ -23590,7 +24012,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23590
24012
|
var avatarGroupClasses$1 = avatarGroupClasses;
|
|
23591
24013
|
|
|
23592
24014
|
const _excluded$1L = ["children", "className", "componentsProps", "max", "spacing", "total", "variant"];
|
|
23593
|
-
const SPACINGS$
|
|
24015
|
+
const SPACINGS$2 = {
|
|
23594
24016
|
small: -16,
|
|
23595
24017
|
medium: null
|
|
23596
24018
|
};
|
|
@@ -23686,7 +24108,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23686
24108
|
clampedMax = Math.min(totalAvatars + 1, clampedMax);
|
|
23687
24109
|
const maxAvatars = Math.min(children.length, clampedMax - 1);
|
|
23688
24110
|
const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
|
|
23689
|
-
const marginLeft = spacing && SPACINGS$
|
|
24111
|
+
const marginLeft = spacing && SPACINGS$2[spacing] !== undefined ? SPACINGS$2[spacing] : -spacing;
|
|
23690
24112
|
return /*#__PURE__*/jsxRuntime_2(AvatarGroupRoot, _extends({
|
|
23691
24113
|
ownerState: ownerState,
|
|
23692
24114
|
className: clsx(classes.root, className),
|
|
@@ -27730,11 +28152,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27730
28152
|
Backdrop: BackdropComponent
|
|
27731
28153
|
}, components),
|
|
27732
28154
|
componentsProps: {
|
|
27733
|
-
root: _extends({}, componentsProps.root, !isHostComponent(Root) && {
|
|
28155
|
+
root: () => _extends({}, resolveComponentProps(componentsProps.root, ownerState), !isHostComponent(Root) && {
|
|
27734
28156
|
as: component,
|
|
27735
28157
|
theme
|
|
27736
28158
|
}),
|
|
27737
|
-
backdrop: _extends({}, BackdropProps, componentsProps.backdrop)
|
|
28159
|
+
backdrop: () => _extends({}, BackdropProps, resolveComponentProps(componentsProps.backdrop, ownerState))
|
|
27738
28160
|
},
|
|
27739
28161
|
onTransitionEnter: () => setExited(false),
|
|
27740
28162
|
onTransitionExited: () => setExited(true),
|
|
@@ -27811,8 +28233,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27811
28233
|
* @default {}
|
|
27812
28234
|
*/
|
|
27813
28235
|
componentsProps: PropTypes.shape({
|
|
27814
|
-
backdrop: PropTypes.object,
|
|
27815
|
-
root: PropTypes.object
|
|
28236
|
+
backdrop: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
28237
|
+
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
27816
28238
|
}),
|
|
27817
28239
|
|
|
27818
28240
|
/**
|
|
@@ -31336,15 +31758,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
31336
31758
|
function getGridUtilityClass(slot) {
|
|
31337
31759
|
return generateUtilityClass('MuiGrid', slot);
|
|
31338
31760
|
}
|
|
31339
|
-
const SPACINGS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
31340
|
-
const DIRECTIONS = ['column-reverse', 'column', 'row-reverse', 'row'];
|
|
31341
|
-
const WRAPS = ['nowrap', 'wrap-reverse', 'wrap'];
|
|
31342
|
-
const GRID_SIZES = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
|
31761
|
+
const SPACINGS$1 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
31762
|
+
const DIRECTIONS$1 = ['column-reverse', 'column', 'row-reverse', 'row'];
|
|
31763
|
+
const WRAPS$1 = ['nowrap', 'wrap-reverse', 'wrap'];
|
|
31764
|
+
const GRID_SIZES$1 = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
|
31343
31765
|
const gridClasses = generateUtilityClasses('MuiGrid', ['root', 'container', 'item', 'zeroMinWidth', // spacings
|
|
31344
|
-
...SPACINGS.map(spacing => `spacing-xs-${spacing}`), // direction values
|
|
31345
|
-
...DIRECTIONS.map(direction => `direction-xs-${direction}`), // wrap values
|
|
31346
|
-
...WRAPS.map(wrap => `wrap-xs-${wrap}`), // grid sizes for all breakpoints
|
|
31347
|
-
...GRID_SIZES.map(size => `grid-xs-${size}`), ...GRID_SIZES.map(size => `grid-sm-${size}`), ...GRID_SIZES.map(size => `grid-md-${size}`), ...GRID_SIZES.map(size => `grid-lg-${size}`), ...GRID_SIZES.map(size => `grid-xl-${size}`)]);
|
|
31766
|
+
...SPACINGS$1.map(spacing => `spacing-xs-${spacing}`), // direction values
|
|
31767
|
+
...DIRECTIONS$1.map(direction => `direction-xs-${direction}`), // wrap values
|
|
31768
|
+
...WRAPS$1.map(wrap => `wrap-xs-${wrap}`), // grid sizes for all breakpoints
|
|
31769
|
+
...GRID_SIZES$1.map(size => `grid-xs-${size}`), ...GRID_SIZES$1.map(size => `grid-sm-${size}`), ...GRID_SIZES$1.map(size => `grid-md-${size}`), ...GRID_SIZES$1.map(size => `grid-lg-${size}`), ...GRID_SIZES$1.map(size => `grid-xl-${size}`)]);
|
|
31348
31770
|
var gridClasses$1 = gridClasses;
|
|
31349
31771
|
|
|
31350
31772
|
const _excluded$1d = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
|
|
@@ -31891,6 +32313,52 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
31891
32313
|
|
|
31892
32314
|
var Grid$1 = Grid;
|
|
31893
32315
|
|
|
32316
|
+
const Grid2 = createGrid({
|
|
32317
|
+
createStyledComponent: styled$1('div', {
|
|
32318
|
+
name: 'MuiGrid2',
|
|
32319
|
+
overridesResolver: (props, styles) => styles.root
|
|
32320
|
+
}),
|
|
32321
|
+
componentName: 'MuiGrid2',
|
|
32322
|
+
// eslint-disable-next-line material-ui/mui-name-matches-component-name
|
|
32323
|
+
useThemeProps: inProps => useThemeProps({
|
|
32324
|
+
props: inProps,
|
|
32325
|
+
name: 'MuiGrid2'
|
|
32326
|
+
})
|
|
32327
|
+
});
|
|
32328
|
+
Grid2.propTypes
|
|
32329
|
+
/* remove-proptypes */
|
|
32330
|
+
= {
|
|
32331
|
+
// ----------------------------- Warning --------------------------------
|
|
32332
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
32333
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
32334
|
+
// ----------------------------------------------------------------------
|
|
32335
|
+
|
|
32336
|
+
/**
|
|
32337
|
+
* The content of the component.
|
|
32338
|
+
*/
|
|
32339
|
+
children: PropTypes.node,
|
|
32340
|
+
|
|
32341
|
+
/**
|
|
32342
|
+
* @ignore
|
|
32343
|
+
*/
|
|
32344
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
32345
|
+
} ;
|
|
32346
|
+
var Grid2$1 = Grid2;
|
|
32347
|
+
|
|
32348
|
+
function getGrid2UtilityClass(slot) {
|
|
32349
|
+
return generateUtilityClass('MuiGrid2', slot);
|
|
32350
|
+
}
|
|
32351
|
+
const SPACINGS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
32352
|
+
const DIRECTIONS = ['column-reverse', 'column', 'row-reverse', 'row'];
|
|
32353
|
+
const WRAPS = ['nowrap', 'wrap-reverse', 'wrap'];
|
|
32354
|
+
const GRID_SIZES = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
|
32355
|
+
const grid2Classes = generateUtilityClasses('MuiGrid2', ['root', 'container', 'item', 'zeroMinWidth', // spacings
|
|
32356
|
+
...SPACINGS.map(spacing => `spacing-xs-${spacing}`), // direction values
|
|
32357
|
+
...DIRECTIONS.map(direction => `direction-xs-${direction}`), // wrap values
|
|
32358
|
+
...WRAPS.map(wrap => `wrap-xs-${wrap}`), // grid sizes for all breakpoints
|
|
32359
|
+
...GRID_SIZES.map(size => `grid-xs-${size}`), ...GRID_SIZES.map(size => `grid-sm-${size}`), ...GRID_SIZES.map(size => `grid-md-${size}`), ...GRID_SIZES.map(size => `grid-lg-${size}`), ...GRID_SIZES.map(size => `grid-xl-${size}`)]);
|
|
32360
|
+
var grid2Classes$1 = grid2Classes;
|
|
32361
|
+
|
|
31894
32362
|
const _excluded$1c = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
31895
32363
|
|
|
31896
32364
|
function getScale(value) {
|
|
@@ -40692,7 +41160,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40692
41160
|
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
40693
41161
|
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
40694
41162
|
*/
|
|
40695
|
-
enableColorScheme: PropTypes.bool
|
|
41163
|
+
enableColorScheme: PropTypes.bool,
|
|
41164
|
+
|
|
41165
|
+
/**
|
|
41166
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
41167
|
+
*/
|
|
41168
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
40696
41169
|
} ;
|
|
40697
41170
|
var ScopedCssBaseline$1 = ScopedCssBaseline;
|
|
40698
41171
|
|
|
@@ -44355,12 +44828,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44355
44828
|
const handleEnter = event => {
|
|
44356
44829
|
if (ignoreNonTouchEvents.current && event.type !== 'touchstart') {
|
|
44357
44830
|
return;
|
|
44831
|
+
} // Workaround for https://github.com/facebook/react/issues/7769
|
|
44832
|
+
|
|
44833
|
+
|
|
44834
|
+
if (!childNode) {
|
|
44835
|
+
setChildNode(event.currentTarget);
|
|
44358
44836
|
} // Remove the title ahead of time.
|
|
44359
44837
|
// We don't want to wait for the next render commit.
|
|
44360
44838
|
// We would risk displaying two tooltips at the same time (native + this one).
|
|
44361
|
-
|
|
44362
|
-
|
|
44363
|
-
if (childNode) {
|
|
44839
|
+
else {
|
|
44364
44840
|
childNode.removeAttribute('title');
|
|
44365
44841
|
}
|
|
44366
44842
|
|
|
@@ -44405,8 +44881,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44405
44881
|
|
|
44406
44882
|
const handleFocus = event => {
|
|
44407
44883
|
// Workaround for https://github.com/facebook/react/issues/7769
|
|
44408
|
-
// The autoFocus of React might trigger the event before the componentDidMount.
|
|
44409
|
-
// We need to account for this eventuality.
|
|
44410
44884
|
if (!childNode) {
|
|
44411
44885
|
setChildNode(event.currentTarget);
|
|
44412
44886
|
}
|
|
@@ -51878,6 +52352,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
51878
52352
|
exports.Toolbar = Toolbar$1;
|
|
51879
52353
|
exports.Tooltip = Tooltip$1;
|
|
51880
52354
|
exports.Typography = Typography$1;
|
|
52355
|
+
exports.Unstable_Grid2 = Grid2$1;
|
|
51881
52356
|
exports.Zoom = Zoom$1;
|
|
51882
52357
|
exports.accordionActionsClasses = accordionActionsClasses$1;
|
|
51883
52358
|
exports.accordionClasses = accordionClasses$1;
|
|
@@ -51990,6 +52465,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
51990
52465
|
exports.getFormGroupUtilityClass = getFormGroupUtilityClass;
|
|
51991
52466
|
exports.getFormHelperTextUtilityClasses = getFormHelperTextUtilityClasses;
|
|
51992
52467
|
exports.getFormLabelUtilityClasses = getFormLabelUtilityClasses;
|
|
52468
|
+
exports.getGrid2UtilityClass = getGrid2UtilityClass;
|
|
51993
52469
|
exports.getGridUtilityClass = getGridUtilityClass;
|
|
51994
52470
|
exports.getIconButtonUtilityClass = getIconButtonUtilityClass;
|
|
51995
52471
|
exports.getIconUtilityClass = getIconUtilityClass;
|
|
@@ -52062,6 +52538,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
52062
52538
|
exports.getTooltipUtilityClass = getTooltipUtilityClass;
|
|
52063
52539
|
exports.getTouchRippleUtilityClass = getTouchRippleUtilityClass;
|
|
52064
52540
|
exports.getTypographyUtilityClass = getTypographyUtilityClass;
|
|
52541
|
+
exports.grid2Classes = grid2Classes$1;
|
|
52065
52542
|
exports.gridClasses = gridClasses$1;
|
|
52066
52543
|
exports.hexToRgb = hexToRgb;
|
|
52067
52544
|
exports.hslToRgb = hslToRgb;
|