@galaxy-ds/core 1.1.69 → 1.1.70
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/dist/index.esm.js +333 -436
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +333 -436
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/AccordionBody/AccordionBody.d.ts +0 -4
- package/dist/AccordionBody/AccordionBodyProps.types.d.ts +0 -5
- package/dist/Icons/ActivityType/ActivityTypeVideoCall.d.ts +0 -3
- package/dist/Icons/ActivityType/index.d.ts +0 -1
- package/dist/Themes/LawConnect/common.d.ts +0 -277
- package/dist/Themes/LawConnect/index.d.ts +0 -1
- package/dist/Themes/LawConnect/pallette.d.ts +0 -228
- package/dist/Themes/LawConnect/theme.d.ts +0 -1
- package/dist/Themes/LawConnect/typography.d.ts +0 -93
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
|
30
30
|
var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
|
|
31
31
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
/*! *****************************************************************************
|
|
34
34
|
Copyright (c) Microsoft Corporation.
|
|
35
35
|
|
|
36
36
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -233,11 +233,17 @@ function _extends$1() {
|
|
|
233
233
|
function _typeof$1(obj) {
|
|
234
234
|
"@babel/helpers - typeof";
|
|
235
235
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
}
|
|
236
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
237
|
+
_typeof$1 = function _typeof(obj) {
|
|
238
|
+
return typeof obj;
|
|
239
|
+
};
|
|
240
|
+
} else {
|
|
241
|
+
_typeof$1 = function _typeof(obj) {
|
|
242
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
return _typeof$1(obj);
|
|
241
247
|
}
|
|
242
248
|
|
|
243
249
|
function isPlainObject(item) {
|
|
@@ -626,15 +632,9 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
|
|
|
626
632
|
* LICENSE file in the root directory of this source tree.
|
|
627
633
|
*/
|
|
628
634
|
|
|
629
|
-
var ReactPropTypesSecret$
|
|
630
|
-
|
|
631
|
-
var ReactPropTypesSecret_1 = ReactPropTypesSecret$2;
|
|
635
|
+
var ReactPropTypesSecret$1 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
632
636
|
|
|
633
|
-
var
|
|
634
|
-
|
|
635
|
-
var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
|
|
636
|
-
|
|
637
|
-
var has$1 = has$2;
|
|
637
|
+
var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
|
|
638
638
|
|
|
639
639
|
/**
|
|
640
640
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -646,9 +646,9 @@ var has$1 = has$2;
|
|
|
646
646
|
var printWarning$1 = function() {};
|
|
647
647
|
|
|
648
648
|
if (process.env.NODE_ENV !== 'production') {
|
|
649
|
-
var ReactPropTypesSecret =
|
|
649
|
+
var ReactPropTypesSecret = ReactPropTypesSecret_1;
|
|
650
650
|
var loggedTypeFailures = {};
|
|
651
|
-
var has =
|
|
651
|
+
var has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
652
652
|
|
|
653
653
|
printWarning$1 = function(text) {
|
|
654
654
|
var message = 'Warning: ' + text;
|
|
@@ -660,7 +660,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
660
660
|
// This error was thrown as a convenience so that you can use this stack
|
|
661
661
|
// to find the callsite that caused this warning to fire.
|
|
662
662
|
throw new Error(message);
|
|
663
|
-
} catch (x) {
|
|
663
|
+
} catch (x) {}
|
|
664
664
|
};
|
|
665
665
|
}
|
|
666
666
|
|
|
@@ -675,10 +675,10 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
675
675
|
* @param {?Function} getStack Returns the component stack.
|
|
676
676
|
* @private
|
|
677
677
|
*/
|
|
678
|
-
function checkPropTypes
|
|
678
|
+
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
679
679
|
if (process.env.NODE_ENV !== 'production') {
|
|
680
680
|
for (var typeSpecName in typeSpecs) {
|
|
681
|
-
if (has(typeSpecs, typeSpecName)) {
|
|
681
|
+
if (has$1(typeSpecs, typeSpecName)) {
|
|
682
682
|
var error;
|
|
683
683
|
// Prop type validation may throw. In case they do, we don't want to
|
|
684
684
|
// fail the render phase where it didn't fail before. So we log it.
|
|
@@ -689,8 +689,7 @@ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack)
|
|
|
689
689
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
690
690
|
var err = Error(
|
|
691
691
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
692
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
693
|
-
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
692
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
694
693
|
);
|
|
695
694
|
err.name = 'Invariant Violation';
|
|
696
695
|
throw err;
|
|
@@ -730,15 +729,13 @@ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack)
|
|
|
730
729
|
*
|
|
731
730
|
* @private
|
|
732
731
|
*/
|
|
733
|
-
checkPropTypes
|
|
732
|
+
checkPropTypes.resetWarningCache = function() {
|
|
734
733
|
if (process.env.NODE_ENV !== 'production') {
|
|
735
734
|
loggedTypeFailures = {};
|
|
736
735
|
}
|
|
737
736
|
};
|
|
738
737
|
|
|
739
|
-
var checkPropTypes_1 = checkPropTypes
|
|
740
|
-
|
|
741
|
-
var checkPropTypes = checkPropTypes_1;
|
|
738
|
+
var checkPropTypes_1 = checkPropTypes;
|
|
742
739
|
|
|
743
740
|
/**
|
|
744
741
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -753,7 +750,7 @@ var checkPropTypes = checkPropTypes_1;
|
|
|
753
750
|
|
|
754
751
|
|
|
755
752
|
|
|
756
|
-
|
|
753
|
+
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
757
754
|
var printWarning = function() {};
|
|
758
755
|
|
|
759
756
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -854,7 +851,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
854
851
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
855
852
|
var ReactPropTypes = {
|
|
856
853
|
array: createPrimitiveTypeChecker('array'),
|
|
857
|
-
bigint: createPrimitiveTypeChecker('bigint'),
|
|
858
854
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
859
855
|
func: createPrimitiveTypeChecker('function'),
|
|
860
856
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -900,9 +896,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
900
896
|
* is prohibitively expensive if they are created too often, such as what
|
|
901
897
|
* happens in oneOfType() for any type before the one that matched.
|
|
902
898
|
*/
|
|
903
|
-
function PropTypeError(message
|
|
899
|
+
function PropTypeError(message) {
|
|
904
900
|
this.message = message;
|
|
905
|
-
this.data = data && typeof data === 'object' ? data: {};
|
|
906
901
|
this.stack = '';
|
|
907
902
|
}
|
|
908
903
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -917,7 +912,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
917
912
|
componentName = componentName || ANONYMOUS;
|
|
918
913
|
propFullName = propFullName || propName;
|
|
919
914
|
|
|
920
|
-
if (secret !==
|
|
915
|
+
if (secret !== ReactPropTypesSecret_1) {
|
|
921
916
|
if (throwOnDirectAccess) {
|
|
922
917
|
// New behavior only for users of `prop-types` package
|
|
923
918
|
var err = new Error(
|
|
@@ -937,7 +932,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
937
932
|
) {
|
|
938
933
|
printWarning(
|
|
939
934
|
'You are manually calling a React.PropTypes validation ' +
|
|
940
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
935
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
941
936
|
'and will throw in the standalone `prop-types` package. ' +
|
|
942
937
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
943
938
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -976,10 +971,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
976
971
|
// 'of type `object`'.
|
|
977
972
|
var preciseType = getPreciseType(propValue);
|
|
978
973
|
|
|
979
|
-
return new PropTypeError(
|
|
980
|
-
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
981
|
-
{expectedType: expectedType}
|
|
982
|
-
);
|
|
974
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
|
|
983
975
|
}
|
|
984
976
|
return null;
|
|
985
977
|
}
|
|
@@ -1001,7 +993,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1001
993
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
|
|
1002
994
|
}
|
|
1003
995
|
for (var i = 0; i < propValue.length; i++) {
|
|
1004
|
-
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']',
|
|
996
|
+
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret_1);
|
|
1005
997
|
if (error instanceof Error) {
|
|
1006
998
|
return error;
|
|
1007
999
|
}
|
|
@@ -1093,8 +1085,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1093
1085
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
|
|
1094
1086
|
}
|
|
1095
1087
|
for (var key in propValue) {
|
|
1096
|
-
if (has
|
|
1097
|
-
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1088
|
+
if (has(propValue, key)) {
|
|
1089
|
+
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
|
|
1098
1090
|
if (error instanceof Error) {
|
|
1099
1091
|
return error;
|
|
1100
1092
|
}
|
|
@@ -1123,19 +1115,14 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1123
1115
|
}
|
|
1124
1116
|
|
|
1125
1117
|
function validate(props, propName, componentName, location, propFullName) {
|
|
1126
|
-
var expectedTypes = [];
|
|
1127
1118
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
1128
1119
|
var checker = arrayOfTypeCheckers[i];
|
|
1129
|
-
|
|
1130
|
-
if (checkerResult == null) {
|
|
1120
|
+
if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1) == null) {
|
|
1131
1121
|
return null;
|
|
1132
1122
|
}
|
|
1133
|
-
if (checkerResult.data && has$1(checkerResult.data, 'expectedType')) {
|
|
1134
|
-
expectedTypes.push(checkerResult.data.expectedType);
|
|
1135
|
-
}
|
|
1136
1123
|
}
|
|
1137
|
-
|
|
1138
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
1124
|
+
|
|
1125
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
|
|
1139
1126
|
}
|
|
1140
1127
|
return createChainableTypeChecker(validate);
|
|
1141
1128
|
}
|
|
@@ -1150,13 +1137,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1150
1137
|
return createChainableTypeChecker(validate);
|
|
1151
1138
|
}
|
|
1152
1139
|
|
|
1153
|
-
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
1154
|
-
return new PropTypeError(
|
|
1155
|
-
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
1156
|
-
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
1157
|
-
);
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
1140
|
function createShapeTypeChecker(shapeTypes) {
|
|
1161
1141
|
function validate(props, propName, componentName, location, propFullName) {
|
|
1162
1142
|
var propValue = props[propName];
|
|
@@ -1166,10 +1146,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1166
1146
|
}
|
|
1167
1147
|
for (var key in shapeTypes) {
|
|
1168
1148
|
var checker = shapeTypes[key];
|
|
1169
|
-
if (
|
|
1170
|
-
|
|
1149
|
+
if (!checker) {
|
|
1150
|
+
continue;
|
|
1171
1151
|
}
|
|
1172
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1152
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
|
|
1173
1153
|
if (error) {
|
|
1174
1154
|
return error;
|
|
1175
1155
|
}
|
|
@@ -1186,21 +1166,19 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1186
1166
|
if (propType !== 'object') {
|
|
1187
1167
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
1188
1168
|
}
|
|
1189
|
-
// We need to check all keys in case some are required but missing from
|
|
1169
|
+
// We need to check all keys in case some are required but missing from
|
|
1170
|
+
// props.
|
|
1190
1171
|
var allKeys = objectAssign({}, props[propName], shapeTypes);
|
|
1191
1172
|
for (var key in allKeys) {
|
|
1192
1173
|
var checker = shapeTypes[key];
|
|
1193
|
-
if (has$1(shapeTypes, key) && typeof checker !== 'function') {
|
|
1194
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
1195
|
-
}
|
|
1196
1174
|
if (!checker) {
|
|
1197
1175
|
return new PropTypeError(
|
|
1198
1176
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
1199
1177
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
1200
|
-
'\nValid keys: ' +
|
|
1178
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
1201
1179
|
);
|
|
1202
1180
|
}
|
|
1203
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1181
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
|
|
1204
1182
|
if (error) {
|
|
1205
1183
|
return error;
|
|
1206
1184
|
}
|
|
@@ -1342,8 +1320,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1342
1320
|
return propValue.constructor.name;
|
|
1343
1321
|
}
|
|
1344
1322
|
|
|
1345
|
-
ReactPropTypes.checkPropTypes =
|
|
1346
|
-
ReactPropTypes.resetWarningCache =
|
|
1323
|
+
ReactPropTypes.checkPropTypes = checkPropTypes_1;
|
|
1324
|
+
ReactPropTypes.resetWarningCache = checkPropTypes_1.resetWarningCache;
|
|
1347
1325
|
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
1348
1326
|
|
|
1349
1327
|
return ReactPropTypes;
|
|
@@ -1364,7 +1342,7 @@ emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
|
1364
1342
|
|
|
1365
1343
|
var factoryWithThrowingShims = function() {
|
|
1366
1344
|
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
1367
|
-
if (secret ===
|
|
1345
|
+
if (secret === ReactPropTypesSecret_1) {
|
|
1368
1346
|
// It is still safe when called from React.
|
|
1369
1347
|
return;
|
|
1370
1348
|
}
|
|
@@ -1382,7 +1360,6 @@ var factoryWithThrowingShims = function() {
|
|
|
1382
1360
|
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
1383
1361
|
var ReactPropTypes = {
|
|
1384
1362
|
array: shim,
|
|
1385
|
-
bigint: shim,
|
|
1386
1363
|
bool: shim,
|
|
1387
1364
|
func: shim,
|
|
1388
1365
|
number: shim,
|
|
@@ -1411,10 +1388,6 @@ var factoryWithThrowingShims = function() {
|
|
|
1411
1388
|
return ReactPropTypes;
|
|
1412
1389
|
};
|
|
1413
1390
|
|
|
1414
|
-
var require$$1$3 = factoryWithTypeCheckers;
|
|
1415
|
-
|
|
1416
|
-
var require$$2$1 = factoryWithThrowingShims;
|
|
1417
|
-
|
|
1418
1391
|
/**
|
|
1419
1392
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1420
1393
|
*
|
|
@@ -1429,11 +1402,11 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1429
1402
|
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
1430
1403
|
// http://fb.me/prop-types-in-prod
|
|
1431
1404
|
var throwOnDirectAccess = true;
|
|
1432
|
-
module.exports =
|
|
1405
|
+
module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
|
|
1433
1406
|
} else {
|
|
1434
1407
|
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
1435
1408
|
// http://fb.me/prop-types-in-prod
|
|
1436
|
-
module.exports =
|
|
1409
|
+
module.exports = factoryWithThrowingShims();
|
|
1437
1410
|
}
|
|
1438
1411
|
});
|
|
1439
1412
|
|
|
@@ -1469,7 +1442,7 @@ function acceptingRef(props, propName, componentName, location, propFullName) {
|
|
|
1469
1442
|
}
|
|
1470
1443
|
|
|
1471
1444
|
if (warningHint !== undefined) {
|
|
1472
|
-
return new Error("Invalid ".concat(location, " `").concat(safePropName, "` supplied to `").concat(componentName, "`. ") + "Expected an element that can hold a ref. ".concat(warningHint, " ") + 'For more information see https://
|
|
1445
|
+
return new Error("Invalid ".concat(location, " `").concat(safePropName, "` supplied to `").concat(componentName, "`. ") + "Expected an element that can hold a ref. ".concat(warningHint, " ") + 'For more information see https://material-ui.com/r/caveat-with-refs-guide');
|
|
1473
1446
|
}
|
|
1474
1447
|
|
|
1475
1448
|
return null;
|
|
@@ -1510,7 +1483,7 @@ function elementTypeAcceptingRef(props, propName, componentName, location, propF
|
|
|
1510
1483
|
}
|
|
1511
1484
|
|
|
1512
1485
|
if (warningHint !== undefined) {
|
|
1513
|
-
return new Error("Invalid ".concat(location, " `").concat(safePropName, "` supplied to `").concat(componentName, "`. ") + "Expected an element type that can hold a ref. ".concat(warningHint, " ") + 'For more information see https://
|
|
1486
|
+
return new Error("Invalid ".concat(location, " `").concat(safePropName, "` supplied to `").concat(componentName, "`. ") + "Expected an element type that can hold a ref. ".concat(warningHint, " ") + 'For more information see https://material-ui.com/r/caveat-with-refs-guide');
|
|
1514
1487
|
}
|
|
1515
1488
|
|
|
1516
1489
|
return null;
|
|
@@ -1569,7 +1542,7 @@ function formatMuiErrorMessage(code) {
|
|
|
1569
1542
|
// see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose
|
|
1570
1543
|
|
|
1571
1544
|
/* eslint-disable prefer-template */
|
|
1572
|
-
var url = 'https://
|
|
1545
|
+
var url = 'https://material-ui.com/production-error/?code=' + code;
|
|
1573
1546
|
|
|
1574
1547
|
for (var i = 1; i < arguments.length; i += 1) {
|
|
1575
1548
|
// rest params over-transpile for this case
|
|
@@ -2556,7 +2529,7 @@ var warnedOnce$1 = false;
|
|
|
2556
2529
|
function roundWithDeprecationWarning(value) {
|
|
2557
2530
|
if (process.env.NODE_ENV !== 'production') {
|
|
2558
2531
|
if (!warnedOnce$1) {
|
|
2559
|
-
console.warn(['Material-UI: The `theme.typography.round` helper is deprecated.', 'Head to https://
|
|
2532
|
+
console.warn(['Material-UI: The `theme.typography.round` helper is deprecated.', 'Head to https://material-ui.com/r/migration-v4/#theme for a migration path.'].join('\n'));
|
|
2560
2533
|
warnedOnce$1 = true;
|
|
2561
2534
|
}
|
|
2562
2535
|
}
|
|
@@ -3596,7 +3569,7 @@ function createTheme() {
|
|
|
3596
3569
|
if (process.env.NODE_ENV !== 'production') {
|
|
3597
3570
|
console.error(["Material-UI: The `".concat(parentKey, "` component increases ") + "the CSS specificity of the `".concat(key, "` internal state."), 'You can not override it like this: ', JSON.stringify(node, null, 2), '', 'Instead, you need to use the $ruleName syntax:', JSON.stringify({
|
|
3598
3571
|
root: _defineProperty({}, "&$".concat(key), child)
|
|
3599
|
-
}, null, 2), '', 'https://
|
|
3572
|
+
}, null, 2), '', 'https://material-ui.com/r/pseudo-classes-guide'].join('\n'));
|
|
3600
3573
|
} // Remove the style to prevent global conflicts.
|
|
3601
3574
|
|
|
3602
3575
|
|
|
@@ -3750,9 +3723,6 @@ function _defineProperties(target, props) {
|
|
|
3750
3723
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3751
3724
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3752
3725
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3753
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
3754
|
-
writable: false
|
|
3755
|
-
});
|
|
3756
3726
|
return Constructor;
|
|
3757
3727
|
}
|
|
3758
3728
|
|
|
@@ -4197,16 +4167,6 @@ function () {
|
|
|
4197
4167
|
this.options.jss.plugins.onProcessRule(rule);
|
|
4198
4168
|
return rule;
|
|
4199
4169
|
}
|
|
4200
|
-
/**
|
|
4201
|
-
* Replace rule, run plugins.
|
|
4202
|
-
*/
|
|
4203
|
-
;
|
|
4204
|
-
|
|
4205
|
-
_proto.replaceRule = function replaceRule(name, style, options) {
|
|
4206
|
-
var newRule = this.rules.replace(name, style, options);
|
|
4207
|
-
if (newRule) this.options.jss.plugins.onProcessRule(newRule);
|
|
4208
|
-
return newRule;
|
|
4209
|
-
}
|
|
4210
4170
|
/**
|
|
4211
4171
|
* Generates a CSS string.
|
|
4212
4172
|
*/
|
|
@@ -4618,33 +4578,12 @@ function () {
|
|
|
4618
4578
|
return rule;
|
|
4619
4579
|
}
|
|
4620
4580
|
/**
|
|
4621
|
-
*
|
|
4622
|
-
* Create a new rule and remove old one instead of overwriting
|
|
4623
|
-
* because we want to invoke onCreateRule hook to make plugins work.
|
|
4624
|
-
*/
|
|
4625
|
-
;
|
|
4626
|
-
|
|
4627
|
-
_proto.replace = function replace(name, decl, ruleOptions) {
|
|
4628
|
-
var oldRule = this.get(name);
|
|
4629
|
-
var oldIndex = this.index.indexOf(oldRule);
|
|
4630
|
-
|
|
4631
|
-
if (oldRule) {
|
|
4632
|
-
this.remove(oldRule);
|
|
4633
|
-
}
|
|
4634
|
-
|
|
4635
|
-
var options = ruleOptions;
|
|
4636
|
-
if (oldIndex !== -1) options = _extends$1({}, ruleOptions, {
|
|
4637
|
-
index: oldIndex
|
|
4638
|
-
});
|
|
4639
|
-
return this.add(name, decl, options);
|
|
4640
|
-
}
|
|
4641
|
-
/**
|
|
4642
|
-
* Get a rule by name or selector.
|
|
4581
|
+
* Get a rule.
|
|
4643
4582
|
*/
|
|
4644
4583
|
;
|
|
4645
4584
|
|
|
4646
|
-
_proto.get = function get(
|
|
4647
|
-
return this.map[
|
|
4585
|
+
_proto.get = function get(name) {
|
|
4586
|
+
return this.map[name];
|
|
4648
4587
|
}
|
|
4649
4588
|
/**
|
|
4650
4589
|
* Delete a rule.
|
|
@@ -4726,7 +4665,7 @@ function () {
|
|
|
4726
4665
|
}
|
|
4727
4666
|
|
|
4728
4667
|
if (name) {
|
|
4729
|
-
this.updateOne(this.
|
|
4668
|
+
this.updateOne(this.map[name], data, options);
|
|
4730
4669
|
} else {
|
|
4731
4670
|
for (var index = 0; index < this.index.length; index++) {
|
|
4732
4671
|
this.updateOne(this.index[index], data, options);
|
|
@@ -4898,40 +4837,6 @@ function () {
|
|
|
4898
4837
|
this.deployed = false;
|
|
4899
4838
|
return rule;
|
|
4900
4839
|
}
|
|
4901
|
-
/**
|
|
4902
|
-
* Replace a rule in the current stylesheet.
|
|
4903
|
-
*/
|
|
4904
|
-
;
|
|
4905
|
-
|
|
4906
|
-
_proto.replaceRule = function replaceRule(nameOrSelector, decl, options) {
|
|
4907
|
-
var oldRule = this.rules.get(nameOrSelector);
|
|
4908
|
-
if (!oldRule) return this.addRule(nameOrSelector, decl, options);
|
|
4909
|
-
var newRule = this.rules.replace(nameOrSelector, decl, options);
|
|
4910
|
-
|
|
4911
|
-
if (newRule) {
|
|
4912
|
-
this.options.jss.plugins.onProcessRule(newRule);
|
|
4913
|
-
}
|
|
4914
|
-
|
|
4915
|
-
if (this.attached) {
|
|
4916
|
-
if (!this.deployed) return newRule; // Don't replace / delete rule directly if there is no stringified version yet.
|
|
4917
|
-
// It will be inserted all together when .attach is called.
|
|
4918
|
-
|
|
4919
|
-
if (this.renderer) {
|
|
4920
|
-
if (!newRule) {
|
|
4921
|
-
this.renderer.deleteRule(oldRule);
|
|
4922
|
-
} else if (oldRule.renderable) {
|
|
4923
|
-
this.renderer.replaceRule(oldRule.renderable, newRule);
|
|
4924
|
-
}
|
|
4925
|
-
}
|
|
4926
|
-
|
|
4927
|
-
return newRule;
|
|
4928
|
-
} // We can't replace rules to a detached style node.
|
|
4929
|
-
// We will redeploy the sheet once user will attach it.
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
this.deployed = false;
|
|
4933
|
-
return newRule;
|
|
4934
|
-
}
|
|
4935
4840
|
/**
|
|
4936
4841
|
* Insert rule into the StyleSheet
|
|
4937
4842
|
*/
|
|
@@ -4959,12 +4864,12 @@ function () {
|
|
|
4959
4864
|
return added;
|
|
4960
4865
|
}
|
|
4961
4866
|
/**
|
|
4962
|
-
* Get a rule by name
|
|
4867
|
+
* Get a rule by name.
|
|
4963
4868
|
*/
|
|
4964
4869
|
;
|
|
4965
4870
|
|
|
4966
|
-
_proto.getRule = function getRule(
|
|
4967
|
-
return this.rules.get(
|
|
4871
|
+
_proto.getRule = function getRule(name) {
|
|
4872
|
+
return this.rules.get(name);
|
|
4968
4873
|
}
|
|
4969
4874
|
/**
|
|
4970
4875
|
* Delete a rule by name.
|
|
@@ -5745,7 +5650,7 @@ function () {
|
|
|
5745
5650
|
// like rules inside media queries or keyframes
|
|
5746
5651
|
|
|
5747
5652
|
if (rule.options.parent instanceof StyleSheet) {
|
|
5748
|
-
this.cssRules
|
|
5653
|
+
this.cssRules[index] = cssRule;
|
|
5749
5654
|
}
|
|
5750
5655
|
}
|
|
5751
5656
|
/**
|
|
@@ -5771,6 +5676,8 @@ function () {
|
|
|
5771
5676
|
}
|
|
5772
5677
|
/**
|
|
5773
5678
|
* Generate a new CSS rule and replace the existing one.
|
|
5679
|
+
*
|
|
5680
|
+
* Only used for some old browsers because they can't set a selector.
|
|
5774
5681
|
*/
|
|
5775
5682
|
;
|
|
5776
5683
|
|
|
@@ -5800,7 +5707,7 @@ var Jss =
|
|
|
5800
5707
|
function () {
|
|
5801
5708
|
function Jss(options) {
|
|
5802
5709
|
this.id = instanceCounter++;
|
|
5803
|
-
this.version = "10.
|
|
5710
|
+
this.version = "10.8.2";
|
|
5804
5711
|
this.plugins = new PluginsRegistry();
|
|
5805
5712
|
this.options = {
|
|
5806
5713
|
id: {
|
|
@@ -6101,16 +6008,6 @@ function () {
|
|
|
6101
6008
|
if (rule) this.options.jss.plugins.onProcessRule(rule);
|
|
6102
6009
|
return rule;
|
|
6103
6010
|
}
|
|
6104
|
-
/**
|
|
6105
|
-
* Replace rule, run plugins.
|
|
6106
|
-
*/
|
|
6107
|
-
;
|
|
6108
|
-
|
|
6109
|
-
_proto.replaceRule = function replaceRule(name, style, options) {
|
|
6110
|
-
var newRule = this.rules.replace(name, style, options);
|
|
6111
|
-
if (newRule) this.options.jss.plugins.onProcessRule(newRule);
|
|
6112
|
-
return newRule;
|
|
6113
|
-
}
|
|
6114
6011
|
/**
|
|
6115
6012
|
* Get index of a rule.
|
|
6116
6013
|
*/
|
|
@@ -6124,8 +6021,8 @@ function () {
|
|
|
6124
6021
|
*/
|
|
6125
6022
|
;
|
|
6126
6023
|
|
|
6127
|
-
_proto.toString = function toString(
|
|
6128
|
-
return this.rules.toString(
|
|
6024
|
+
_proto.toString = function toString() {
|
|
6025
|
+
return this.rules.toString();
|
|
6129
6026
|
};
|
|
6130
6027
|
|
|
6131
6028
|
return GlobalContainerRule;
|
|
@@ -6222,7 +6119,7 @@ function jssGlobal() {
|
|
|
6222
6119
|
}
|
|
6223
6120
|
}
|
|
6224
6121
|
|
|
6225
|
-
if (
|
|
6122
|
+
if (options.scoped === false) {
|
|
6226
6123
|
options.selector = name;
|
|
6227
6124
|
}
|
|
6228
6125
|
|
|
@@ -6320,18 +6217,9 @@ function jssNested() {
|
|
|
6320
6217
|
if (!replaceRef) replaceRef = getReplaceRef(container, sheet); // Replace all $refs.
|
|
6321
6218
|
|
|
6322
6219
|
selector = selector.replace(refRegExp, replaceRef);
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
// for backward compatibility
|
|
6327
|
-
container.replaceRule(name, style[prop], _extends$1({}, options, {
|
|
6328
|
-
selector: selector
|
|
6329
|
-
}));
|
|
6330
|
-
} else {
|
|
6331
|
-
container.addRule(name, style[prop], _extends$1({}, options, {
|
|
6332
|
-
selector: selector
|
|
6333
|
-
}));
|
|
6334
|
-
}
|
|
6220
|
+
container.addRule(selector, style[prop], _extends$1({}, options, {
|
|
6221
|
+
selector: selector
|
|
6222
|
+
}));
|
|
6335
6223
|
} else if (isNestedConditional) {
|
|
6336
6224
|
// Place conditional right after the parent rule to ensure right ordering.
|
|
6337
6225
|
container.addRule(prop, {}, options).addRule(styleRule.key, style[prop], {
|
|
@@ -17721,7 +17609,7 @@ var InputBase = /*#__PURE__*/React__namespace.forwardRef(function InputBase(prop
|
|
|
17721
17609
|
var element = event.target || inputRef.current;
|
|
17722
17610
|
|
|
17723
17611
|
if (element == null) {
|
|
17724
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "Material-UI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://
|
|
17612
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Material-UI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://material-ui.com/r/input-component-ref-interface for more info." : formatMuiErrorMessage(1));
|
|
17725
17613
|
}
|
|
17726
17614
|
|
|
17727
17615
|
checkDirty({
|
|
@@ -30343,13 +30231,13 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes = {
|
|
|
30343
30231
|
* Number of rows to display when multiline option is set to true.
|
|
30344
30232
|
* @deprecated Use `minRows` instead.
|
|
30345
30233
|
*/
|
|
30346
|
-
rows:
|
|
30234
|
+
rows: propTypes.oneOfType([propTypes.number, propTypes.string]),
|
|
30347
30235
|
|
|
30348
30236
|
/**
|
|
30349
30237
|
* Maximum number of rows to display.
|
|
30350
30238
|
* @deprecated Use `maxRows` instead.
|
|
30351
30239
|
*/
|
|
30352
|
-
rowsMax:
|
|
30240
|
+
rowsMax: propTypes.oneOfType([propTypes.number, propTypes.string]),
|
|
30353
30241
|
|
|
30354
30242
|
/**
|
|
30355
30243
|
* Render a [`Select`](/api/select/) element while passing the Input element to `Select` as `input` parameter.
|
|
@@ -31046,16 +30934,16 @@ var AccordionSummary = function (props) {
|
|
|
31046
30934
|
return (React__default["default"].createElement(MuiAccordionSummary, __assign$1({ className: classes.root }, props, { expandIcon: React__default["default"].createElement(ChevronDownIcon, { fontSize: 'small' }) })));
|
|
31047
30935
|
};
|
|
31048
30936
|
|
|
31049
|
-
/**
|
|
31050
|
-
* @ignore - internal component.
|
|
30937
|
+
/**
|
|
30938
|
+
* @ignore - internal component.
|
|
31051
30939
|
*/
|
|
31052
30940
|
|
|
31053
30941
|
var CloseIcon = createSvgIcon$1( /*#__PURE__*/React__namespace.createElement("path", {
|
|
31054
30942
|
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
31055
30943
|
}), 'Close');
|
|
31056
30944
|
|
|
31057
|
-
/**
|
|
31058
|
-
* @ignore - internal component.
|
|
30945
|
+
/**
|
|
30946
|
+
* @ignore - internal component.
|
|
31059
30947
|
*/
|
|
31060
30948
|
|
|
31061
30949
|
var ArrowDropDownIcon = createSvgIcon$1( /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -32637,398 +32525,398 @@ process.env.NODE_ENV !== "production" ? Autocomplete$1.propTypes = {
|
|
|
32637
32525
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
32638
32526
|
// ----------------------------------------------------------------------
|
|
32639
32527
|
|
|
32640
|
-
/**
|
|
32641
|
-
* If `true`, the portion of the selected suggestion that has not been typed by the user,
|
|
32642
|
-
* known as the completion string, appears inline after the input cursor in the textbox.
|
|
32643
|
-
* The inline completion string is visually highlighted and has a selected state.
|
|
32528
|
+
/**
|
|
32529
|
+
* If `true`, the portion of the selected suggestion that has not been typed by the user,
|
|
32530
|
+
* known as the completion string, appears inline after the input cursor in the textbox.
|
|
32531
|
+
* The inline completion string is visually highlighted and has a selected state.
|
|
32644
32532
|
*/
|
|
32645
32533
|
autoComplete: propTypes.bool,
|
|
32646
32534
|
|
|
32647
|
-
/**
|
|
32648
|
-
* If `true`, the first option is automatically highlighted.
|
|
32535
|
+
/**
|
|
32536
|
+
* If `true`, the first option is automatically highlighted.
|
|
32649
32537
|
*/
|
|
32650
32538
|
autoHighlight: propTypes.bool,
|
|
32651
32539
|
|
|
32652
|
-
/**
|
|
32653
|
-
* If `true`, the selected option becomes the value of the input
|
|
32654
|
-
* when the Autocomplete loses focus unless the user chooses
|
|
32655
|
-
* a different option or changes the character string in the input.
|
|
32540
|
+
/**
|
|
32541
|
+
* If `true`, the selected option becomes the value of the input
|
|
32542
|
+
* when the Autocomplete loses focus unless the user chooses
|
|
32543
|
+
* a different option or changes the character string in the input.
|
|
32656
32544
|
*/
|
|
32657
32545
|
autoSelect: propTypes.bool,
|
|
32658
32546
|
|
|
32659
|
-
/**
|
|
32660
|
-
* Control if the input should be blurred when an option is selected:
|
|
32661
|
-
*
|
|
32662
|
-
* - `false` the input is not blurred.
|
|
32663
|
-
* - `true` the input is always blurred.
|
|
32664
|
-
* - `touch` the input is blurred after a touch event.
|
|
32665
|
-
* - `mouse` the input is blurred after a mouse event.
|
|
32547
|
+
/**
|
|
32548
|
+
* Control if the input should be blurred when an option is selected:
|
|
32549
|
+
*
|
|
32550
|
+
* - `false` the input is not blurred.
|
|
32551
|
+
* - `true` the input is always blurred.
|
|
32552
|
+
* - `touch` the input is blurred after a touch event.
|
|
32553
|
+
* - `mouse` the input is blurred after a mouse event.
|
|
32666
32554
|
*/
|
|
32667
32555
|
blurOnSelect: propTypes.oneOfType([propTypes.oneOf(['mouse', 'touch']), propTypes.bool]),
|
|
32668
32556
|
|
|
32669
|
-
/**
|
|
32670
|
-
* Props applied to the [`Chip`](/api/chip/) element.
|
|
32557
|
+
/**
|
|
32558
|
+
* Props applied to the [`Chip`](/api/chip/) element.
|
|
32671
32559
|
*/
|
|
32672
32560
|
ChipProps: propTypes.object,
|
|
32673
32561
|
|
|
32674
|
-
/**
|
|
32675
|
-
* Override or extend the styles applied to the component.
|
|
32676
|
-
* See [CSS API](#css) below for more details.
|
|
32562
|
+
/**
|
|
32563
|
+
* Override or extend the styles applied to the component.
|
|
32564
|
+
* See [CSS API](#css) below for more details.
|
|
32677
32565
|
*/
|
|
32678
32566
|
classes: propTypes.object,
|
|
32679
32567
|
|
|
32680
|
-
/**
|
|
32681
|
-
* @ignore
|
|
32568
|
+
/**
|
|
32569
|
+
* @ignore
|
|
32682
32570
|
*/
|
|
32683
32571
|
className: propTypes.string,
|
|
32684
32572
|
|
|
32685
|
-
/**
|
|
32686
|
-
* If `true`, the input's text will be cleared on blur if no value is selected.
|
|
32687
|
-
*
|
|
32688
|
-
* Set to `true` if you want to help the user enter a new value.
|
|
32689
|
-
* Set to `false` if you want to help the user resume his search.
|
|
32573
|
+
/**
|
|
32574
|
+
* If `true`, the input's text will be cleared on blur if no value is selected.
|
|
32575
|
+
*
|
|
32576
|
+
* Set to `true` if you want to help the user enter a new value.
|
|
32577
|
+
* Set to `false` if you want to help the user resume his search.
|
|
32690
32578
|
*/
|
|
32691
32579
|
clearOnBlur: propTypes.bool,
|
|
32692
32580
|
|
|
32693
|
-
/**
|
|
32694
|
-
* If `true`, clear all values when the user presses escape and the popup is closed.
|
|
32581
|
+
/**
|
|
32582
|
+
* If `true`, clear all values when the user presses escape and the popup is closed.
|
|
32695
32583
|
*/
|
|
32696
32584
|
clearOnEscape: propTypes.bool,
|
|
32697
32585
|
|
|
32698
|
-
/**
|
|
32699
|
-
* Override the default text for the *clear* icon button.
|
|
32700
|
-
*
|
|
32701
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32586
|
+
/**
|
|
32587
|
+
* Override the default text for the *clear* icon button.
|
|
32588
|
+
*
|
|
32589
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32702
32590
|
*/
|
|
32703
32591
|
clearText: propTypes.string,
|
|
32704
32592
|
|
|
32705
|
-
/**
|
|
32706
|
-
* The icon to display in place of the default close icon.
|
|
32593
|
+
/**
|
|
32594
|
+
* The icon to display in place of the default close icon.
|
|
32707
32595
|
*/
|
|
32708
32596
|
closeIcon: propTypes.node,
|
|
32709
32597
|
|
|
32710
|
-
/**
|
|
32711
|
-
* Override the default text for the *close popup* icon button.
|
|
32712
|
-
*
|
|
32713
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32598
|
+
/**
|
|
32599
|
+
* Override the default text for the *close popup* icon button.
|
|
32600
|
+
*
|
|
32601
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32714
32602
|
*/
|
|
32715
32603
|
closeText: propTypes.string,
|
|
32716
32604
|
|
|
32717
|
-
/**
|
|
32718
|
-
* If `true`, the popup will ignore the blur event if the input is filled.
|
|
32719
|
-
* You can inspect the popup markup with your browser tools.
|
|
32720
|
-
* Consider this option when you need to customize the component.
|
|
32605
|
+
/**
|
|
32606
|
+
* If `true`, the popup will ignore the blur event if the input is filled.
|
|
32607
|
+
* You can inspect the popup markup with your browser tools.
|
|
32608
|
+
* Consider this option when you need to customize the component.
|
|
32721
32609
|
*/
|
|
32722
32610
|
debug: propTypes.bool,
|
|
32723
32611
|
|
|
32724
|
-
/**
|
|
32725
|
-
* The default input value. Use when the component is not controlled.
|
|
32612
|
+
/**
|
|
32613
|
+
* The default input value. Use when the component is not controlled.
|
|
32726
32614
|
*/
|
|
32727
32615
|
defaultValue: propTypes.any,
|
|
32728
32616
|
|
|
32729
|
-
/**
|
|
32730
|
-
* If `true`, the input can't be cleared.
|
|
32617
|
+
/**
|
|
32618
|
+
* If `true`, the input can't be cleared.
|
|
32731
32619
|
*/
|
|
32732
32620
|
disableClearable: propTypes
|
|
32733
32621
|
/* @typescript-to-proptypes-ignore */
|
|
32734
32622
|
.bool,
|
|
32735
32623
|
|
|
32736
|
-
/**
|
|
32737
|
-
* If `true`, the popup won't close when a value is selected.
|
|
32624
|
+
/**
|
|
32625
|
+
* If `true`, the popup won't close when a value is selected.
|
|
32738
32626
|
*/
|
|
32739
32627
|
disableCloseOnSelect: propTypes.bool,
|
|
32740
32628
|
|
|
32741
|
-
/**
|
|
32742
|
-
* If `true`, the input will be disabled.
|
|
32629
|
+
/**
|
|
32630
|
+
* If `true`, the input will be disabled.
|
|
32743
32631
|
*/
|
|
32744
32632
|
disabled: propTypes.bool,
|
|
32745
32633
|
|
|
32746
|
-
/**
|
|
32747
|
-
* If `true`, will allow focus on disabled items.
|
|
32634
|
+
/**
|
|
32635
|
+
* If `true`, will allow focus on disabled items.
|
|
32748
32636
|
*/
|
|
32749
32637
|
disabledItemsFocusable: propTypes.bool,
|
|
32750
32638
|
|
|
32751
|
-
/**
|
|
32752
|
-
* If `true`, the list box in the popup will not wrap focus.
|
|
32639
|
+
/**
|
|
32640
|
+
* If `true`, the list box in the popup will not wrap focus.
|
|
32753
32641
|
*/
|
|
32754
32642
|
disableListWrap: propTypes.bool,
|
|
32755
32643
|
|
|
32756
|
-
/**
|
|
32757
|
-
* Disable the portal behavior.
|
|
32758
|
-
* The children stay within it's parent DOM hierarchy.
|
|
32644
|
+
/**
|
|
32645
|
+
* Disable the portal behavior.
|
|
32646
|
+
* The children stay within it's parent DOM hierarchy.
|
|
32759
32647
|
*/
|
|
32760
32648
|
disablePortal: propTypes.bool,
|
|
32761
32649
|
|
|
32762
|
-
/**
|
|
32763
|
-
* A filter function that determines the options that are eligible.
|
|
32764
|
-
*
|
|
32765
|
-
* @param {T[]} options The options to render.
|
|
32766
|
-
* @param {object} state The state of the component.
|
|
32767
|
-
* @returns {T[]}
|
|
32650
|
+
/**
|
|
32651
|
+
* A filter function that determines the options that are eligible.
|
|
32652
|
+
*
|
|
32653
|
+
* @param {T[]} options The options to render.
|
|
32654
|
+
* @param {object} state The state of the component.
|
|
32655
|
+
* @returns {T[]}
|
|
32768
32656
|
*/
|
|
32769
32657
|
filterOptions: propTypes.func,
|
|
32770
32658
|
|
|
32771
|
-
/**
|
|
32772
|
-
* If `true`, hide the selected options from the list box.
|
|
32659
|
+
/**
|
|
32660
|
+
* If `true`, hide the selected options from the list box.
|
|
32773
32661
|
*/
|
|
32774
32662
|
filterSelectedOptions: propTypes.bool,
|
|
32775
32663
|
|
|
32776
|
-
/**
|
|
32777
|
-
* Force the visibility display of the popup icon.
|
|
32664
|
+
/**
|
|
32665
|
+
* Force the visibility display of the popup icon.
|
|
32778
32666
|
*/
|
|
32779
32667
|
forcePopupIcon: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.bool]),
|
|
32780
32668
|
|
|
32781
|
-
/**
|
|
32782
|
-
* If `true`, the Autocomplete is free solo, meaning that the user input is not bound to provided options.
|
|
32669
|
+
/**
|
|
32670
|
+
* If `true`, the Autocomplete is free solo, meaning that the user input is not bound to provided options.
|
|
32783
32671
|
*/
|
|
32784
32672
|
freeSolo: propTypes
|
|
32785
32673
|
/* @typescript-to-proptypes-ignore */
|
|
32786
32674
|
.bool,
|
|
32787
32675
|
|
|
32788
|
-
/**
|
|
32789
|
-
* If `true`, the input will take up the full width of its container.
|
|
32676
|
+
/**
|
|
32677
|
+
* If `true`, the input will take up the full width of its container.
|
|
32790
32678
|
*/
|
|
32791
32679
|
fullWidth: propTypes.bool,
|
|
32792
32680
|
|
|
32793
|
-
/**
|
|
32794
|
-
* The label to display when the tags are truncated (`limitTags`).
|
|
32795
|
-
*
|
|
32796
|
-
* @param {number} more The number of truncated tags.
|
|
32797
|
-
* @returns {ReactNode}
|
|
32681
|
+
/**
|
|
32682
|
+
* The label to display when the tags are truncated (`limitTags`).
|
|
32683
|
+
*
|
|
32684
|
+
* @param {number} more The number of truncated tags.
|
|
32685
|
+
* @returns {ReactNode}
|
|
32798
32686
|
*/
|
|
32799
32687
|
getLimitTagsText: propTypes.func,
|
|
32800
32688
|
|
|
32801
|
-
/**
|
|
32802
|
-
* Used to determine the disabled state for a given option.
|
|
32803
|
-
*
|
|
32804
|
-
* @param {T} option The option to test.
|
|
32805
|
-
* @returns {boolean}
|
|
32689
|
+
/**
|
|
32690
|
+
* Used to determine the disabled state for a given option.
|
|
32691
|
+
*
|
|
32692
|
+
* @param {T} option The option to test.
|
|
32693
|
+
* @returns {boolean}
|
|
32806
32694
|
*/
|
|
32807
32695
|
getOptionDisabled: propTypes.func,
|
|
32808
32696
|
|
|
32809
|
-
/**
|
|
32810
|
-
* Used to determine the string value for a given option.
|
|
32811
|
-
* It's used to fill the input (and the list box options if `renderOption` is not provided).
|
|
32812
|
-
*
|
|
32813
|
-
* @param {T} option
|
|
32814
|
-
* @returns {string}
|
|
32697
|
+
/**
|
|
32698
|
+
* Used to determine the string value for a given option.
|
|
32699
|
+
* It's used to fill the input (and the list box options if `renderOption` is not provided).
|
|
32700
|
+
*
|
|
32701
|
+
* @param {T} option
|
|
32702
|
+
* @returns {string}
|
|
32815
32703
|
*/
|
|
32816
32704
|
getOptionLabel: propTypes.func,
|
|
32817
32705
|
|
|
32818
|
-
/**
|
|
32819
|
-
* Used to determine if an option is selected, considering the current value.
|
|
32820
|
-
* Uses strict equality by default.
|
|
32821
|
-
*
|
|
32822
|
-
* @param {T} option The option to test.
|
|
32823
|
-
* @param {T} value The value to test against.
|
|
32824
|
-
* @returns {boolean}
|
|
32706
|
+
/**
|
|
32707
|
+
* Used to determine if an option is selected, considering the current value.
|
|
32708
|
+
* Uses strict equality by default.
|
|
32709
|
+
*
|
|
32710
|
+
* @param {T} option The option to test.
|
|
32711
|
+
* @param {T} value The value to test against.
|
|
32712
|
+
* @returns {boolean}
|
|
32825
32713
|
*/
|
|
32826
32714
|
getOptionSelected: propTypes.func,
|
|
32827
32715
|
|
|
32828
|
-
/**
|
|
32829
|
-
* If provided, the options will be grouped under the returned string.
|
|
32830
|
-
* The groupBy value is also used as the text for group headings when `renderGroup` is not provided.
|
|
32831
|
-
*
|
|
32832
|
-
* @param {T} options The options to group.
|
|
32833
|
-
* @returns {string}
|
|
32716
|
+
/**
|
|
32717
|
+
* If provided, the options will be grouped under the returned string.
|
|
32718
|
+
* The groupBy value is also used as the text for group headings when `renderGroup` is not provided.
|
|
32719
|
+
*
|
|
32720
|
+
* @param {T} options The options to group.
|
|
32721
|
+
* @returns {string}
|
|
32834
32722
|
*/
|
|
32835
32723
|
groupBy: propTypes.func,
|
|
32836
32724
|
|
|
32837
|
-
/**
|
|
32838
|
-
* If `true`, the component handles the "Home" and "End" keys when the popup is open.
|
|
32839
|
-
* It should move focus to the first option and last option, respectively.
|
|
32725
|
+
/**
|
|
32726
|
+
* If `true`, the component handles the "Home" and "End" keys when the popup is open.
|
|
32727
|
+
* It should move focus to the first option and last option, respectively.
|
|
32840
32728
|
*/
|
|
32841
32729
|
handleHomeEndKeys: propTypes.bool,
|
|
32842
32730
|
|
|
32843
|
-
/**
|
|
32844
|
-
* This prop is used to help implement the accessibility logic.
|
|
32845
|
-
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
32731
|
+
/**
|
|
32732
|
+
* This prop is used to help implement the accessibility logic.
|
|
32733
|
+
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
32846
32734
|
*/
|
|
32847
32735
|
id: propTypes.string,
|
|
32848
32736
|
|
|
32849
|
-
/**
|
|
32850
|
-
* If `true`, the highlight can move to the input.
|
|
32737
|
+
/**
|
|
32738
|
+
* If `true`, the highlight can move to the input.
|
|
32851
32739
|
*/
|
|
32852
32740
|
includeInputInList: propTypes.bool,
|
|
32853
32741
|
|
|
32854
|
-
/**
|
|
32855
|
-
* The input value.
|
|
32742
|
+
/**
|
|
32743
|
+
* The input value.
|
|
32856
32744
|
*/
|
|
32857
32745
|
inputValue: propTypes.string,
|
|
32858
32746
|
|
|
32859
|
-
/**
|
|
32860
|
-
* The maximum number of tags that will be visible when not focused.
|
|
32861
|
-
* Set `-1` to disable the limit.
|
|
32747
|
+
/**
|
|
32748
|
+
* The maximum number of tags that will be visible when not focused.
|
|
32749
|
+
* Set `-1` to disable the limit.
|
|
32862
32750
|
*/
|
|
32863
32751
|
limitTags: propTypes.number,
|
|
32864
32752
|
|
|
32865
|
-
/**
|
|
32866
|
-
* The component used to render the listbox.
|
|
32753
|
+
/**
|
|
32754
|
+
* The component used to render the listbox.
|
|
32867
32755
|
*/
|
|
32868
32756
|
ListboxComponent: propTypes.elementType,
|
|
32869
32757
|
|
|
32870
|
-
/**
|
|
32871
|
-
* Props applied to the Listbox element.
|
|
32758
|
+
/**
|
|
32759
|
+
* Props applied to the Listbox element.
|
|
32872
32760
|
*/
|
|
32873
32761
|
ListboxProps: propTypes.object,
|
|
32874
32762
|
|
|
32875
|
-
/**
|
|
32876
|
-
* If `true`, the component is in a loading state.
|
|
32763
|
+
/**
|
|
32764
|
+
* If `true`, the component is in a loading state.
|
|
32877
32765
|
*/
|
|
32878
32766
|
loading: propTypes.bool,
|
|
32879
32767
|
|
|
32880
|
-
/**
|
|
32881
|
-
* Text to display when in a loading state.
|
|
32882
|
-
*
|
|
32883
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32768
|
+
/**
|
|
32769
|
+
* Text to display when in a loading state.
|
|
32770
|
+
*
|
|
32771
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32884
32772
|
*/
|
|
32885
32773
|
loadingText: propTypes.node,
|
|
32886
32774
|
|
|
32887
|
-
/**
|
|
32888
|
-
* If `true`, `value` must be an array and the menu will support multiple selections.
|
|
32775
|
+
/**
|
|
32776
|
+
* If `true`, `value` must be an array and the menu will support multiple selections.
|
|
32889
32777
|
*/
|
|
32890
32778
|
multiple: propTypes
|
|
32891
32779
|
/* @typescript-to-proptypes-ignore */
|
|
32892
32780
|
.bool,
|
|
32893
32781
|
|
|
32894
|
-
/**
|
|
32895
|
-
* Text to display when there are no options.
|
|
32896
|
-
*
|
|
32897
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32782
|
+
/**
|
|
32783
|
+
* Text to display when there are no options.
|
|
32784
|
+
*
|
|
32785
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32898
32786
|
*/
|
|
32899
32787
|
noOptionsText: propTypes.node,
|
|
32900
32788
|
|
|
32901
|
-
/**
|
|
32902
|
-
* Callback fired when the value changes.
|
|
32903
|
-
*
|
|
32904
|
-
* @param {object} event The event source of the callback.
|
|
32905
|
-
* @param {T|T[]} value The new value of the component.
|
|
32906
|
-
* @param {string} reason One of "create-option", "select-option", "remove-option", "blur" or "clear".
|
|
32789
|
+
/**
|
|
32790
|
+
* Callback fired when the value changes.
|
|
32791
|
+
*
|
|
32792
|
+
* @param {object} event The event source of the callback.
|
|
32793
|
+
* @param {T|T[]} value The new value of the component.
|
|
32794
|
+
* @param {string} reason One of "create-option", "select-option", "remove-option", "blur" or "clear".
|
|
32907
32795
|
*/
|
|
32908
32796
|
onChange: propTypes.func,
|
|
32909
32797
|
|
|
32910
|
-
/**
|
|
32911
|
-
* Callback fired when the popup requests to be closed.
|
|
32912
|
-
* Use in controlled mode (see open).
|
|
32913
|
-
*
|
|
32914
|
-
* @param {object} event The event source of the callback.
|
|
32915
|
-
* @param {string} reason Can be: `"toggleInput"`, `"escape"`, `"select-option"`, `"blur"`.
|
|
32798
|
+
/**
|
|
32799
|
+
* Callback fired when the popup requests to be closed.
|
|
32800
|
+
* Use in controlled mode (see open).
|
|
32801
|
+
*
|
|
32802
|
+
* @param {object} event The event source of the callback.
|
|
32803
|
+
* @param {string} reason Can be: `"toggleInput"`, `"escape"`, `"select-option"`, `"blur"`.
|
|
32916
32804
|
*/
|
|
32917
32805
|
onClose: propTypes.func,
|
|
32918
32806
|
|
|
32919
|
-
/**
|
|
32920
|
-
* Callback fired when the highlight option changes.
|
|
32921
|
-
*
|
|
32922
|
-
* @param {object} event The event source of the callback.
|
|
32923
|
-
* @param {T} option The highlighted option.
|
|
32924
|
-
* @param {string} reason Can be: `"keyboard"`, `"auto"`, `"mouse"`.
|
|
32807
|
+
/**
|
|
32808
|
+
* Callback fired when the highlight option changes.
|
|
32809
|
+
*
|
|
32810
|
+
* @param {object} event The event source of the callback.
|
|
32811
|
+
* @param {T} option The highlighted option.
|
|
32812
|
+
* @param {string} reason Can be: `"keyboard"`, `"auto"`, `"mouse"`.
|
|
32925
32813
|
*/
|
|
32926
32814
|
onHighlightChange: propTypes.func,
|
|
32927
32815
|
|
|
32928
|
-
/**
|
|
32929
|
-
* Callback fired when the input value changes.
|
|
32930
|
-
*
|
|
32931
|
-
* @param {object} event The event source of the callback.
|
|
32932
|
-
* @param {string} value The new value of the text input.
|
|
32933
|
-
* @param {string} reason Can be: `"input"` (user input), `"reset"` (programmatic change), `"clear"`.
|
|
32816
|
+
/**
|
|
32817
|
+
* Callback fired when the input value changes.
|
|
32818
|
+
*
|
|
32819
|
+
* @param {object} event The event source of the callback.
|
|
32820
|
+
* @param {string} value The new value of the text input.
|
|
32821
|
+
* @param {string} reason Can be: `"input"` (user input), `"reset"` (programmatic change), `"clear"`.
|
|
32934
32822
|
*/
|
|
32935
32823
|
onInputChange: propTypes.func,
|
|
32936
32824
|
|
|
32937
|
-
/**
|
|
32938
|
-
* Callback fired when the popup requests to be opened.
|
|
32939
|
-
* Use in controlled mode (see open).
|
|
32940
|
-
*
|
|
32941
|
-
* @param {object} event The event source of the callback.
|
|
32825
|
+
/**
|
|
32826
|
+
* Callback fired when the popup requests to be opened.
|
|
32827
|
+
* Use in controlled mode (see open).
|
|
32828
|
+
*
|
|
32829
|
+
* @param {object} event The event source of the callback.
|
|
32942
32830
|
*/
|
|
32943
32831
|
onOpen: propTypes.func,
|
|
32944
32832
|
|
|
32945
|
-
/**
|
|
32946
|
-
* Control the popup` open state.
|
|
32833
|
+
/**
|
|
32834
|
+
* Control the popup` open state.
|
|
32947
32835
|
*/
|
|
32948
32836
|
open: propTypes.bool,
|
|
32949
32837
|
|
|
32950
|
-
/**
|
|
32951
|
-
* If `true`, the popup will open on input focus.
|
|
32838
|
+
/**
|
|
32839
|
+
* If `true`, the popup will open on input focus.
|
|
32952
32840
|
*/
|
|
32953
32841
|
openOnFocus: propTypes.bool,
|
|
32954
32842
|
|
|
32955
|
-
/**
|
|
32956
|
-
* Override the default text for the *open popup* icon button.
|
|
32957
|
-
*
|
|
32958
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32843
|
+
/**
|
|
32844
|
+
* Override the default text for the *open popup* icon button.
|
|
32845
|
+
*
|
|
32846
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32959
32847
|
*/
|
|
32960
32848
|
openText: propTypes.string,
|
|
32961
32849
|
|
|
32962
|
-
/**
|
|
32963
|
-
* Array of options.
|
|
32850
|
+
/**
|
|
32851
|
+
* Array of options.
|
|
32964
32852
|
*/
|
|
32965
32853
|
options: propTypes.array.isRequired,
|
|
32966
32854
|
|
|
32967
|
-
/**
|
|
32968
|
-
* The component used to render the body of the popup.
|
|
32855
|
+
/**
|
|
32856
|
+
* The component used to render the body of the popup.
|
|
32969
32857
|
*/
|
|
32970
32858
|
PaperComponent: propTypes.elementType,
|
|
32971
32859
|
|
|
32972
|
-
/**
|
|
32973
|
-
* The component used to position the popup.
|
|
32860
|
+
/**
|
|
32861
|
+
* The component used to position the popup.
|
|
32974
32862
|
*/
|
|
32975
32863
|
PopperComponent: propTypes.elementType,
|
|
32976
32864
|
|
|
32977
|
-
/**
|
|
32978
|
-
* The icon to display in place of the default popup icon.
|
|
32865
|
+
/**
|
|
32866
|
+
* The icon to display in place of the default popup icon.
|
|
32979
32867
|
*/
|
|
32980
32868
|
popupIcon: propTypes.node,
|
|
32981
32869
|
|
|
32982
|
-
/**
|
|
32983
|
-
* Render the group.
|
|
32984
|
-
*
|
|
32985
|
-
* @param {any} option The group to render.
|
|
32986
|
-
* @returns {ReactNode}
|
|
32870
|
+
/**
|
|
32871
|
+
* Render the group.
|
|
32872
|
+
*
|
|
32873
|
+
* @param {any} option The group to render.
|
|
32874
|
+
* @returns {ReactNode}
|
|
32987
32875
|
*/
|
|
32988
32876
|
renderGroup: propTypes.func,
|
|
32989
32877
|
|
|
32990
|
-
/**
|
|
32991
|
-
* Render the input.
|
|
32992
|
-
*
|
|
32993
|
-
* @param {object} params
|
|
32994
|
-
* @returns {ReactNode}
|
|
32878
|
+
/**
|
|
32879
|
+
* Render the input.
|
|
32880
|
+
*
|
|
32881
|
+
* @param {object} params
|
|
32882
|
+
* @returns {ReactNode}
|
|
32995
32883
|
*/
|
|
32996
32884
|
renderInput: propTypes.func.isRequired,
|
|
32997
32885
|
|
|
32998
|
-
/**
|
|
32999
|
-
* Render the option, use `getOptionLabel` by default.
|
|
33000
|
-
*
|
|
33001
|
-
* @param {T} option The option to render.
|
|
33002
|
-
* @param {object} state The state of the component.
|
|
33003
|
-
* @returns {ReactNode}
|
|
32886
|
+
/**
|
|
32887
|
+
* Render the option, use `getOptionLabel` by default.
|
|
32888
|
+
*
|
|
32889
|
+
* @param {T} option The option to render.
|
|
32890
|
+
* @param {object} state The state of the component.
|
|
32891
|
+
* @returns {ReactNode}
|
|
33004
32892
|
*/
|
|
33005
32893
|
renderOption: propTypes.func,
|
|
33006
32894
|
|
|
33007
|
-
/**
|
|
33008
|
-
* Render the selected value.
|
|
33009
|
-
*
|
|
33010
|
-
* @param {T[]} value The `value` provided to the component.
|
|
33011
|
-
* @param {function} getTagProps A tag props getter.
|
|
33012
|
-
* @returns {ReactNode}
|
|
32895
|
+
/**
|
|
32896
|
+
* Render the selected value.
|
|
32897
|
+
*
|
|
32898
|
+
* @param {T[]} value The `value` provided to the component.
|
|
32899
|
+
* @param {function} getTagProps A tag props getter.
|
|
32900
|
+
* @returns {ReactNode}
|
|
33013
32901
|
*/
|
|
33014
32902
|
renderTags: propTypes.func,
|
|
33015
32903
|
|
|
33016
|
-
/**
|
|
33017
|
-
* If `true`, the input's text will be selected on focus.
|
|
33018
|
-
* It helps the user clear the selected value.
|
|
32904
|
+
/**
|
|
32905
|
+
* If `true`, the input's text will be selected on focus.
|
|
32906
|
+
* It helps the user clear the selected value.
|
|
33019
32907
|
*/
|
|
33020
32908
|
selectOnFocus: propTypes.bool,
|
|
33021
32909
|
|
|
33022
|
-
/**
|
|
33023
|
-
* The size of the autocomplete.
|
|
32910
|
+
/**
|
|
32911
|
+
* The size of the autocomplete.
|
|
33024
32912
|
*/
|
|
33025
32913
|
size: propTypes.oneOf(['medium', 'small']),
|
|
33026
32914
|
|
|
33027
|
-
/**
|
|
33028
|
-
* The value of the autocomplete.
|
|
33029
|
-
*
|
|
33030
|
-
* The value must have reference equality with the option in order to be selected.
|
|
33031
|
-
* You can customize the equality behavior with the `getOptionSelected` prop.
|
|
32915
|
+
/**
|
|
32916
|
+
* The value of the autocomplete.
|
|
32917
|
+
*
|
|
32918
|
+
* The value must have reference equality with the option in order to be selected.
|
|
32919
|
+
* You can customize the equality behavior with the `getOptionSelected` prop.
|
|
33032
32920
|
*/
|
|
33033
32921
|
value: propTypes.any
|
|
33034
32922
|
} : void 0;
|
|
@@ -33104,24 +32992,24 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes = {
|
|
|
33104
32992
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
33105
32993
|
// ----------------------------------------------------------------------
|
|
33106
32994
|
|
|
33107
|
-
/**
|
|
33108
|
-
* The avatars to stack.
|
|
32995
|
+
/**
|
|
32996
|
+
* The avatars to stack.
|
|
33109
32997
|
*/
|
|
33110
32998
|
children: propTypes.node,
|
|
33111
32999
|
|
|
33112
|
-
/**
|
|
33113
|
-
* Override or extend the styles applied to the component.
|
|
33114
|
-
* See [CSS API](#css) below for more details.
|
|
33000
|
+
/**
|
|
33001
|
+
* Override or extend the styles applied to the component.
|
|
33002
|
+
* See [CSS API](#css) below for more details.
|
|
33115
33003
|
*/
|
|
33116
33004
|
classes: propTypes.object,
|
|
33117
33005
|
|
|
33118
|
-
/**
|
|
33119
|
-
* @ignore
|
|
33006
|
+
/**
|
|
33007
|
+
* @ignore
|
|
33120
33008
|
*/
|
|
33121
33009
|
className: propTypes.string,
|
|
33122
33010
|
|
|
33123
|
-
/**
|
|
33124
|
-
* Max avatars to show before +x.
|
|
33011
|
+
/**
|
|
33012
|
+
* Max avatars to show before +x.
|
|
33125
33013
|
*/
|
|
33126
33014
|
max: chainPropTypes(propTypes.number, function (props) {
|
|
33127
33015
|
if (props.max < 2) {
|
|
@@ -33129,8 +33017,8 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes = {
|
|
|
33129
33017
|
}
|
|
33130
33018
|
}),
|
|
33131
33019
|
|
|
33132
|
-
/**
|
|
33133
|
-
* Spacing between avatars.
|
|
33020
|
+
/**
|
|
33021
|
+
* Spacing between avatars.
|
|
33134
33022
|
*/
|
|
33135
33023
|
spacing: propTypes.oneOfType([propTypes.oneOf(['medium', 'small']), propTypes.number])
|
|
33136
33024
|
} : void 0;
|
|
@@ -33586,21 +33474,33 @@ function _interopRequireDefault(obj) {
|
|
|
33586
33474
|
};
|
|
33587
33475
|
}
|
|
33588
33476
|
|
|
33589
|
-
module.exports = _interopRequireDefault
|
|
33477
|
+
module.exports = _interopRequireDefault;
|
|
33478
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33590
33479
|
});
|
|
33591
33480
|
|
|
33592
33481
|
var _typeof_1 = createCommonjsModule(function (module) {
|
|
33593
33482
|
function _typeof(obj) {
|
|
33594
33483
|
"@babel/helpers - typeof";
|
|
33595
33484
|
|
|
33596
|
-
|
|
33597
|
-
|
|
33598
|
-
|
|
33599
|
-
|
|
33600
|
-
|
|
33485
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
33486
|
+
module.exports = _typeof = function _typeof(obj) {
|
|
33487
|
+
return typeof obj;
|
|
33488
|
+
};
|
|
33489
|
+
|
|
33490
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33491
|
+
} else {
|
|
33492
|
+
module.exports = _typeof = function _typeof(obj) {
|
|
33493
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
33494
|
+
};
|
|
33495
|
+
|
|
33496
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33497
|
+
}
|
|
33498
|
+
|
|
33499
|
+
return _typeof(obj);
|
|
33601
33500
|
}
|
|
33602
33501
|
|
|
33603
|
-
module.exports = _typeof
|
|
33502
|
+
module.exports = _typeof;
|
|
33503
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33604
33504
|
});
|
|
33605
33505
|
|
|
33606
33506
|
var interopRequireWildcard = createCommonjsModule(function (module) {
|
|
@@ -33656,7 +33556,8 @@ function _interopRequireWildcard(obj, nodeInterop) {
|
|
|
33656
33556
|
return newObj;
|
|
33657
33557
|
}
|
|
33658
33558
|
|
|
33659
|
-
module.exports = _interopRequireWildcard
|
|
33559
|
+
module.exports = _interopRequireWildcard;
|
|
33560
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33660
33561
|
});
|
|
33661
33562
|
|
|
33662
33563
|
var _utils = /*@__PURE__*/getAugmentedNamespace(utils$1);
|
|
@@ -33674,7 +33575,7 @@ Object.defineProperty(exports, "default", {
|
|
|
33674
33575
|
});
|
|
33675
33576
|
});
|
|
33676
33577
|
|
|
33677
|
-
var require$$1$
|
|
33578
|
+
var require$$1$1 = createSvgIcon;
|
|
33678
33579
|
|
|
33679
33580
|
var ExpandLess = createCommonjsModule(function (module, exports) {
|
|
33680
33581
|
|
|
@@ -33689,7 +33590,7 @@ exports.default = void 0;
|
|
|
33689
33590
|
|
|
33690
33591
|
var React = interopRequireWildcard(React__default["default"]);
|
|
33691
33592
|
|
|
33692
|
-
var _createSvgIcon = interopRequireDefault(require$$1$
|
|
33593
|
+
var _createSvgIcon = interopRequireDefault(require$$1$1);
|
|
33693
33594
|
|
|
33694
33595
|
var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("path", {
|
|
33695
33596
|
d: "M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"
|
|
@@ -33713,7 +33614,7 @@ exports.default = void 0;
|
|
|
33713
33614
|
|
|
33714
33615
|
var React = interopRequireWildcard(React__default["default"]);
|
|
33715
33616
|
|
|
33716
|
-
var _createSvgIcon = interopRequireDefault(require$$1$
|
|
33617
|
+
var _createSvgIcon = interopRequireDefault(require$$1$1);
|
|
33717
33618
|
|
|
33718
33619
|
var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("path", {
|
|
33719
33620
|
d: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
@@ -34355,11 +34256,6 @@ var Icon = function (props) {
|
|
|
34355
34256
|
return (React__default["default"].createElement(SvgIcon$1, __assign$1({}, props)));
|
|
34356
34257
|
};
|
|
34357
34258
|
|
|
34358
|
-
function LawconnectIcon(props) {
|
|
34359
|
-
return (React__default["default"].createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", width: props.size + "px", viewBox: "0 0 141 140" },
|
|
34360
|
-
React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.163 119.104a69.739 69.739 0 0049.313 20.426h.133a69.68 69.68 0 0064.35-43.067 69.663 69.663 0 005.281-26.673h-33.528v.042a36.23 36.23 0 01-22.382 33.464 36.236 36.236 0 11-13.853-69.718V.05a69.74 69.74 0 00-49.314 119.054zm119.049-95.585c0 12.962-10.507 23.47-23.469 23.47-12.962 0-23.47-10.508-23.47-23.47S103.782.049 116.744.049s23.469 10.508 23.469 23.47z", fill: "#ecedef" })));
|
|
34361
|
-
}
|
|
34362
|
-
|
|
34363
34259
|
var useStyles$m = makeStyles({
|
|
34364
34260
|
root: {
|
|
34365
34261
|
'&.gds-header': {
|
|
@@ -34427,8 +34323,6 @@ var useStyles$m = makeStyles({
|
|
|
34427
34323
|
var FormHeader = React__default["default"].forwardRef(function (props, ref) {
|
|
34428
34324
|
var classes = useStyles$m();
|
|
34429
34325
|
return (React__default["default"].createElement(Box$2, { className: clsx(classes.root, 'gds-header', props.fixed ? 'gds-header-fixed' : '') },
|
|
34430
|
-
React__default["default"].createElement("div", { className: clsx(classes.root, 'gds-header_accent') },
|
|
34431
|
-
React__default["default"].createElement(LawconnectIcon, { size: "260" })),
|
|
34432
34326
|
React__default["default"].createElement(Box$2, { className: clsx(classes.root, 'gds-header_detail') },
|
|
34433
34327
|
React__default["default"].createElement(Grid$2, { item: true, xs: 5, className: clsx("gds-toolbar-title") }, props.platformWeb ? (React__default["default"].createElement(Typography, { color: "default", variant: "body2", upperCase: true }, props.title)) : (React__default["default"].createElement(Typography, { variant: "h4", upperCase: true }, props.title))),
|
|
34434
34328
|
React__default["default"].createElement(Grid$2, { item: true, xs: 7 },
|
|
@@ -39057,8 +38951,6 @@ var format$1 = /*#__PURE__*/Object.freeze({
|
|
|
39057
38951
|
'default': format
|
|
39058
38952
|
});
|
|
39059
38953
|
|
|
39060
|
-
var require$$1$1 = propTypes;
|
|
39061
|
-
|
|
39062
38954
|
var require$$8$2 = /*@__PURE__*/getAugmentedNamespace(endOfDay$1);
|
|
39063
38955
|
|
|
39064
38956
|
var require$$8$1 = /*@__PURE__*/getAugmentedNamespace(isBefore$1);
|
|
@@ -39082,7 +38974,7 @@ exports.default = exports.rangeShape = void 0;
|
|
|
39082
38974
|
|
|
39083
38975
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
39084
38976
|
|
|
39085
|
-
var _propTypes = _interopRequireDefault(
|
|
38977
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
39086
38978
|
|
|
39087
38979
|
var _classnames4 = _interopRequireDefault(classnames);
|
|
39088
38980
|
|
|
@@ -40078,7 +39970,7 @@ exports.default = void 0;
|
|
|
40078
39970
|
|
|
40079
39971
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
40080
39972
|
|
|
40081
|
-
var _propTypes = _interopRequireDefault(
|
|
39973
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
40082
39974
|
|
|
40083
39975
|
var _DayCell = _interopRequireWildcard(DayCell_1);
|
|
40084
39976
|
|
|
@@ -42462,7 +42354,7 @@ exports.default = void 0;
|
|
|
42462
42354
|
|
|
42463
42355
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
42464
42356
|
|
|
42465
|
-
var _propTypes = _interopRequireDefault(
|
|
42357
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
42466
42358
|
|
|
42467
42359
|
var _classnames = _interopRequireDefault(classnames);
|
|
42468
42360
|
|
|
@@ -42655,7 +42547,7 @@ exports.default = _default;
|
|
|
42655
42547
|
var reactList = createCommonjsModule(function (module, exports) {
|
|
42656
42548
|
(function (global, factory) {
|
|
42657
42549
|
{
|
|
42658
|
-
factory(
|
|
42550
|
+
factory(propTypes, React__default["default"]);
|
|
42659
42551
|
}
|
|
42660
42552
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : commonjsGlobal, function (_propTypes, _react) {
|
|
42661
42553
|
|
|
@@ -44041,7 +43933,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
44041
43933
|
});
|
|
44042
43934
|
exports.ariaLabelsShape = void 0;
|
|
44043
43935
|
|
|
44044
|
-
var _propTypes = _interopRequireDefault(
|
|
43936
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
44045
43937
|
|
|
44046
43938
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
44047
43939
|
|
|
@@ -44092,7 +43984,7 @@ exports.default = void 0;
|
|
|
44092
43984
|
|
|
44093
43985
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
44094
43986
|
|
|
44095
|
-
var _propTypes = _interopRequireDefault(
|
|
43987
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
44096
43988
|
|
|
44097
43989
|
|
|
44098
43990
|
|
|
@@ -44923,7 +44815,7 @@ exports.default = void 0;
|
|
|
44923
44815
|
|
|
44924
44816
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
44925
44817
|
|
|
44926
|
-
var _propTypes = _interopRequireDefault(
|
|
44818
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
44927
44819
|
|
|
44928
44820
|
var _Calendar = _interopRequireDefault(Calendar_1);
|
|
44929
44821
|
|
|
@@ -45349,7 +45241,7 @@ exports.default = void 0;
|
|
|
45349
45241
|
|
|
45350
45242
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
45351
45243
|
|
|
45352
|
-
var _propTypes = _interopRequireDefault(
|
|
45244
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
45353
45245
|
|
|
45354
45246
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
45355
45247
|
|
|
@@ -45475,7 +45367,7 @@ exports.default = void 0;
|
|
|
45475
45367
|
|
|
45476
45368
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
45477
45369
|
|
|
45478
|
-
var _propTypes = _interopRequireDefault(
|
|
45370
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
45479
45371
|
|
|
45480
45372
|
var _styles = _interopRequireDefault(styles);
|
|
45481
45373
|
|
|
@@ -45697,7 +45589,7 @@ exports.default = void 0;
|
|
|
45697
45589
|
|
|
45698
45590
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
45699
45591
|
|
|
45700
|
-
var _propTypes = _interopRequireDefault(
|
|
45592
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
45701
45593
|
|
|
45702
45594
|
var _DateRange = _interopRequireDefault(DateRange_1);
|
|
45703
45595
|
|
|
@@ -49487,6 +49379,11 @@ function PoweredByLawconnectLogo(props) {
|
|
|
49487
49379
|
React__default["default"].createElement("path", { d: "M80.642 24.615c-.459.307-.95.56-1.466.757a6.48 6.48 0 01-2.275.397c-1.547 0-2.74-.5-3.582-1.5-.841-1.002-1.262-2.45-1.263-4.345 0-1.88.421-3.321 1.263-4.322.842-1 2.036-1.5 3.582-1.5a6.48 6.48 0 012.275.397 7.31 7.31 0 011.47.761l1.651-1.65c-.649-.6-1.447-1.065-2.394-1.396a9.193 9.193 0 00-3.045-.498c-1.577 0-2.953.337-4.129 1.012a6.772 6.772 0 00-2.706 2.866c-.629 1.235-.943 2.68-.944 4.334 0 1.654.314 3.102.944 4.344a6.753 6.753 0 002.706 2.875c1.175.676 2.551 1.014 4.129 1.014a9.178 9.178 0 003.047-.501c.946-.33 1.743-.794 2.391-1.392l-1.654-1.653zM127.168 25.247a5.251 5.251 0 01-2.657.706c-.986 0-1.743-.25-2.271-.75-.528-.501-.839-1.267-.933-2.297h7.569v-.796c0-1.729-.443-3.086-1.33-4.072-.887-.986-2.095-1.478-3.624-1.478-1.047 0-1.983.243-2.809.728a4.963 4.963 0 00-1.922 2.047c-.455.88-.683 1.889-.682 3.028 0 1.789.527 3.199 1.582 4.23 1.055 1.031 2.492 1.547 4.31 1.547a7.458 7.458 0 002.354-.387c.768-.254 1.408-.588 1.919-1.002l-1.506-1.505zm-5.011-5.958c.462-.485 1.073-.727 1.831-.727s1.349.239 1.774.716c.425.478.652 1.179.682 2.104h-5.137c.104-.91.387-1.608.85-2.093zM137.147 25.615a4.387 4.387 0 01-1.558.296c-.986 0-1.751-.308-2.297-.922-.546-.614-.819-1.49-.819-2.626 0-1.152.273-2.036.819-2.65.546-.614 1.311-.921 2.297-.921a4.404 4.404 0 011.558.295c.265.1.52.222.765.364l1.521-1.52c-.452-.414-1.048-.744-1.789-.993a7.258 7.258 0 00-2.308-.375c-1.152 0-2.168.243-3.048.728a5.024 5.024 0 00-2.035 2.058c-.478.887-.717 1.907-.717 3.06 0 1.152.228 2.16.683 3.027a4.766 4.766 0 001.967 2.001c.856.47 1.868.705 3.036.706a7.486 7.486 0 002.365-.376c.737-.243 1.345-.575 1.824-.998l-1.514-1.51c-.24.139-.491.258-.75.356zM147.669 25.955a8.173 8.173 0 01-.834.044c-1.38 0-2.07-.743-2.069-2.229v-4.8h2.903v-2.137h-2.903v-3.32h-2.843v3.32h-2.138v2.138h2.138v4.844c0 1.426.371 2.499 1.114 3.218.743.72 1.896 1.08 3.457 1.081.357 0 .749-.02 1.175-.06v-2.1zM27.004.765h3.638c.89 0 1.584.223 2.08.668.496.445.744 1.07.744 1.872 0 .804-.248 1.43-.744 1.879-.497.448-1.19.673-2.08.673h-2.114v3.238h-1.524V.765zm3.45 3.922c1.047 0 1.57-.457 1.57-1.37 0-.465-.129-.809-.389-1.033-.26-.224-.653-.337-1.181-.34h-1.927v2.744l1.927-.001zM35.126 8.826c-.44-.24-.8-.607-1.032-1.052-.245-.458-.367-.99-.367-1.595.001-.604.123-1.134.367-1.59a2.546 2.546 0 011.032-1.045c.444-.244.962-.366 1.553-.366a3.188 3.188 0 011.554.366A2.51 2.51 0 0139.26 4.59c.241.453.361.983.36 1.59 0 .606-.12 1.137-.36 1.594-.229.446-.587.812-1.027 1.052-.445.244-.963.366-1.554.366-.59 0-1.108-.123-1.553-.366zm2.64-1.253c.252-.315.378-.78.378-1.394 0-.607-.126-1.07-.378-1.388-.252-.319-.615-.48-1.087-.482-.472 0-.837.16-1.093.482-.256.32-.384.783-.384 1.386 0 .613.126 1.078.379 1.394.252.315.614.473 1.086.472.481 0 .847-.157 1.099-.472v.002zM48.246 3.317h1.445l-2.27 5.78h-1.29l-1.418-3.722-1.382 3.722h-1.276l-2.28-5.78h1.513l1.478 4.017 1.477-4.017h1.063l1.477 4.04 1.463-4.04zM55.24 6.472h-3.934c.046.535.207.933.482 1.193s.67.39 1.181.39c.636 0 1.253-.216 1.749-.614l.426 1.016a3.105 3.105 0 01-1.011.531 3.87 3.87 0 01-1.22.201c-.945 0-1.691-.268-2.239-.803-.548-.535-.821-1.268-.82-2.198a3.375 3.375 0 01.354-1.571c.223-.443.57-.813.998-1.063a2.821 2.821 0 011.46-.379c.795 0 1.423.256 1.883.768.46.512.691 1.217.692 2.115v.414zm-3.49-1.879c-.24.252-.389.614-.444 1.087h2.67c-.015-.48-.133-.845-.354-1.093-.22-.248-.527-.372-.922-.371-.393 0-.71.125-.95.377zM60.014 4.404l-.863.083c-.976.102-1.465.598-1.465 1.489v3.119H56.21v-5.78h1.406v1.018c.3-.692.919-1.07 1.858-1.134l.449-.035.092 1.24zM65.505 6.472h-3.932c.046.535.206.933.482 1.193.275.26.669.39 1.182.39.636 0 1.253-.216 1.748-.614l.425 1.016a3.1 3.1 0 01-1.006.531c-.394.132-.807.2-1.223.201-.945 0-1.692-.268-2.239-.803-.547-.535-.821-1.268-.822-2.198a3.367 3.367 0 01.355-1.571c.223-.443.57-.813.997-1.063a2.821 2.821 0 011.46-.379c.798 0 1.426.255 1.885.765.458.51.688 1.215.688 2.115v.417zm-3.489-1.879c-.24.252-.388.614-.443 1.087h2.67c-.015-.48-.133-.845-.354-1.093-.22-.248-.528-.372-.921-.371-.394 0-.712.125-.952.377zM71.994.765v8.33h-1.467V8.16c-.17.32-.431.584-.75.757-.342.186-.727.28-1.116.275a2.397 2.397 0 01-1.33-.378 2.511 2.511 0 01-.91-1.069 3.695 3.695 0 01-.324-1.59c0-.598.108-1.122.325-1.57a2.382 2.382 0 012.239-1.407c.385-.008.767.08 1.11.256.314.166.573.42.744.733V.765h1.479zm-1.85 6.794c.256-.323.383-.784.383-1.382 0-.599-.128-1.057-.383-1.377-.257-.318-.617-.478-1.082-.481-.472 0-.84.157-1.1.473-.261.315-.392.767-.39 1.358 0 .596.13 1.06.39 1.394.26.333.622.498 1.086.497.475.001.84-.16 1.097-.482zM80.784 3.541c.394.254.708.615.904 1.04.216.45.325.973.325 1.572.01.547-.1 1.09-.325 1.589-.195.435-.51.806-.908 1.07a2.394 2.394 0 01-1.329.377 2.266 2.266 0 01-1.116-.275 1.842 1.842 0 01-.75-.757v.934H76.13V.765h1.477v3.39c.17-.31.43-.564.745-.726.34-.174.718-.26 1.1-.254.47-.008.932.12 1.331.366zm-.638 4.006c.26-.33.39-.795.39-1.394 0-.59-.128-1.044-.384-1.359-.256-.315-.62-.472-1.092-.472-.473 0-.837.16-1.093.481-.255.321-.383.78-.384 1.376 0 .599.128 1.06.384 1.383.256.323.62.483 1.093.481.464 0 .826-.165 1.086-.496zM86.892 3.329h1.457l-3.474 7.893h-1.488L84.44 8.87 82.03 3.33h1.56l1.63 4.076 1.672-4.076z", fill: "#191919" })));
|
|
49488
49380
|
}
|
|
49489
49381
|
|
|
49382
|
+
function LawconnectIcon(props) {
|
|
49383
|
+
return (React__default["default"].createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", width: props.size + "px", viewBox: "0 0 141 140" },
|
|
49384
|
+
React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.163 119.104a69.739 69.739 0 0049.313 20.426h.133a69.68 69.68 0 0064.35-43.067 69.663 69.663 0 005.281-26.673h-33.528v.042a36.23 36.23 0 01-22.382 33.464 36.236 36.236 0 11-13.853-69.718V.05a69.74 69.74 0 00-49.314 119.054zm119.049-95.585c0 12.962-10.507 23.47-23.469 23.47-12.962 0-23.47-10.508-23.47-23.47S103.782.049 116.744.049s23.469 10.508 23.469 23.47z", fill: "#ecedef" })));
|
|
49385
|
+
}
|
|
49386
|
+
|
|
49490
49387
|
exports.AccessIcon = AccessIcon;
|
|
49491
49388
|
exports.Accordion = Accordion;
|
|
49492
49389
|
exports.AccordionDetails = AccordionDetails;
|