@erpsquad/common 1.10.4-test → 1.10.5-test

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/dist/chunks/{CssBaseline-D8lu6YB4.esm.js → CssBaseline-BCsBCxHw.esm.js} +2 -3
  2. package/dist/chunks/{CssBaseline-D8lu6YB4.esm.js.map → CssBaseline-BCsBCxHw.esm.js.map} +1 -1
  3. package/dist/chunks/{CssBaseline-DmJ9zaXo.js → CssBaseline-CaG36t1j.js} +3 -4
  4. package/dist/chunks/{CssBaseline-DmJ9zaXo.js.map → CssBaseline-CaG36t1j.js.map} +1 -1
  5. package/dist/chunks/{Tooltip-CyzCuxiz.js → Tooltip-BfYngwlu.js} +96 -97
  6. package/dist/chunks/{Tooltip-CyzCuxiz.js.map → Tooltip-BfYngwlu.js.map} +1 -1
  7. package/dist/chunks/{Tooltip-Db1YCjVB.esm.js → Tooltip-kVQVUXpu.esm.js} +7 -8
  8. package/dist/chunks/{Tooltip-Db1YCjVB.esm.js.map → Tooltip-kVQVUXpu.esm.js.map} +1 -1
  9. package/dist/chunks/{android-12-switch-BpR43WVN.esm.js → android-12-switch-C7HQfwOM.esm.js} +13 -14
  10. package/dist/chunks/{android-12-switch-BpR43WVN.esm.js.map → android-12-switch-C7HQfwOM.esm.js.map} +1 -1
  11. package/dist/chunks/{android-12-switch-DhfobhTE.js → android-12-switch-DW4fNSqZ.js} +223 -224
  12. package/dist/chunks/{android-12-switch-DhfobhTE.js.map → android-12-switch-DW4fNSqZ.js.map} +1 -1
  13. package/dist/chunks/{apiHelper-DrtX1wsE.js → apiHelper-BOjN9Hi2.js} +6 -6
  14. package/dist/chunks/{apiHelper-DrtX1wsE.js.map → apiHelper-BOjN9Hi2.js.map} +1 -1
  15. package/dist/chunks/{apiHelper-HTo6F1P7.esm.js → apiHelper-Bk1Svpxr.esm.js} +6 -6
  16. package/dist/chunks/{apiHelper-HTo6F1P7.esm.js.map → apiHelper-Bk1Svpxr.esm.js.map} +1 -1
  17. package/dist/chunks/{arrow-up-CzAYqkgy.js → arrow-up-DL3NGhTM.js} +47 -48
  18. package/dist/chunks/arrow-up-DL3NGhTM.js.map +1 -0
  19. package/dist/chunks/{arrow-up-iRf15n-y.esm.js → arrow-up-DazfQcnV.esm.js} +2 -3
  20. package/dist/chunks/arrow-up-DazfQcnV.esm.js.map +1 -0
  21. package/dist/chunks/{dashboard-C9j4Kzk8.js → dashboard-MOyqxPUY.js} +3 -4
  22. package/dist/chunks/dashboard-MOyqxPUY.js.map +1 -0
  23. package/dist/chunks/{dashboard-DY6kktI9.esm.js → dashboard-PY0CpaZg.esm.js} +2 -3
  24. package/dist/chunks/dashboard-PY0CpaZg.esm.js.map +1 -0
  25. package/dist/chunks/{default-data-B-pzy32C.js → default-data-BnKcMmCa.js} +12 -12
  26. package/dist/chunks/{default-data-B-pzy32C.js.map → default-data-BnKcMmCa.js.map} +1 -1
  27. package/dist/chunks/{default-data-CZZRGuJQ.esm.js → default-data-BpsCGp37.esm.js} +12 -12
  28. package/dist/chunks/{default-data-CZZRGuJQ.esm.js.map → default-data-BpsCGp37.esm.js.map} +1 -1
  29. package/dist/chunks/{document-COlmDW14.js → document-BFgGr8K0.js} +3 -4
  30. package/dist/chunks/document-BFgGr8K0.js.map +1 -0
  31. package/dist/chunks/{document-eayAKETK.esm.js → document-uNuadJTM.esm.js} +2 -3
  32. package/dist/chunks/document-uNuadJTM.esm.js.map +1 -0
  33. package/dist/chunks/{form-builder-deconversion-CPARvcpx.esm.js → form-builder-deconversion-CuZ3wtCF.esm.js} +3 -3
  34. package/dist/chunks/{form-builder-deconversion-CPARvcpx.esm.js.map → form-builder-deconversion-CuZ3wtCF.esm.js.map} +1 -1
  35. package/dist/chunks/{form-builder-deconversion-C-jHZZQX.js → form-builder-deconversion-D9-0eKfU.js} +3 -3
  36. package/dist/chunks/{form-builder-deconversion-C-jHZZQX.js.map → form-builder-deconversion-D9-0eKfU.js.map} +1 -1
  37. package/dist/chunks/{fullScreen-BZmLcvBd.esm.js → fullScreen-BYsXcZsz.esm.js} +3 -3
  38. package/dist/chunks/{fullScreen-BZmLcvBd.esm.js.map → fullScreen-BYsXcZsz.esm.js.map} +1 -1
  39. package/dist/chunks/{fullScreen-BlB0skIW.js → fullScreen-Dn9rdXui.js} +3 -3
  40. package/dist/chunks/{fullScreen-BlB0skIW.js.map → fullScreen-Dn9rdXui.js.map} +1 -1
  41. package/dist/chunks/{identifier-D2PZ045Y.js → identifier-BTBl-PeG.js} +166 -69
  42. package/dist/chunks/identifier-BTBl-PeG.js.map +1 -0
  43. package/dist/chunks/{identifier-cOOk7M93.esm.js → identifier-l1qZ_-Do.esm.js} +178 -81
  44. package/dist/chunks/identifier-l1qZ_-Do.esm.js.map +1 -0
  45. package/dist/chunks/{languageContext-B9ZrKauM.esm.js → languageContext-B0oDaLaR.esm.js} +2 -2
  46. package/dist/chunks/{languageContext-B9ZrKauM.esm.js.map → languageContext-B0oDaLaR.esm.js.map} +1 -1
  47. package/dist/chunks/{languageContext-BplN84_k.js → languageContext-BkEaNmXU.js} +2 -2
  48. package/dist/chunks/{languageContext-BplN84_k.js.map → languageContext-BkEaNmXU.js.map} +1 -1
  49. package/dist/chunks/{migration-utils-DkYf1ifk.js → migration-utils-BPJJjfTn.js} +3 -3
  50. package/dist/chunks/{migration-utils-DkYf1ifk.js.map → migration-utils-BPJJjfTn.js.map} +1 -1
  51. package/dist/chunks/{migration-utils-CQc6pY2t.esm.js → migration-utils-BV23YHF_.esm.js} +3 -3
  52. package/dist/chunks/{migration-utils-CQc6pY2t.esm.js.map → migration-utils-BV23YHF_.esm.js.map} +1 -1
  53. package/dist/chunks/{notification-BUQXYqID.esm.js → notification-CiOGHCVK.esm.js} +258 -21
  54. package/dist/chunks/notification-CiOGHCVK.esm.js.map +1 -0
  55. package/dist/chunks/{notification-YiwRvWU7.js → notification-mmnVEZtt.js} +272 -18
  56. package/dist/chunks/notification-mmnVEZtt.js.map +1 -0
  57. package/dist/chunks/{page-context-D1AdUiey.esm.js → page-context-Cp-7KQ6O.esm.js} +3 -3
  58. package/dist/chunks/{page-context-D1AdUiey.esm.js.map → page-context-Cp-7KQ6O.esm.js.map} +1 -1
  59. package/dist/chunks/{page-context-CQsKXyDK.js → page-context-DJJaibPX.js} +3 -3
  60. package/dist/chunks/{page-context-CQsKXyDK.js.map → page-context-DJJaibPX.js.map} +1 -1
  61. package/dist/chunks/{sidebar-CAEC7M85.esm.js → sidebar-BPLSYS-u.esm.js} +8 -9
  62. package/dist/chunks/sidebar-BPLSYS-u.esm.js.map +1 -0
  63. package/dist/chunks/{sidebar-C_FKqclf.js → sidebar-Dg33n-BA.js} +25 -26
  64. package/dist/chunks/sidebar-Dg33n-BA.js.map +1 -0
  65. package/dist/chunks/{sidebarScreen-DmPbjeHe.js → sidebarScreen-DGu1Nm4H.js} +4 -4
  66. package/dist/chunks/{sidebarScreen-DmPbjeHe.js.map → sidebarScreen-DGu1Nm4H.js.map} +1 -1
  67. package/dist/chunks/{sidebarScreen-3pj35MVH.esm.js → sidebarScreen-DOmXPM8l.esm.js} +4 -4
  68. package/dist/chunks/{sidebarScreen-3pj35MVH.esm.js.map → sidebarScreen-DOmXPM8l.esm.js.map} +1 -1
  69. package/dist/chunks/{theme-impl-C_w9Sj-A.js → theme-impl-B-jAlah0.js} +3 -3
  70. package/dist/chunks/{theme-impl-C_w9Sj-A.js.map → theme-impl-B-jAlah0.js.map} +1 -1
  71. package/dist/chunks/{theme-impl-BrCeOQeW.esm.js → theme-impl-BCVk-5ti.esm.js} +3 -3
  72. package/dist/chunks/{theme-impl-BrCeOQeW.esm.js.map → theme-impl-BCVk-5ti.esm.js.map} +1 -1
  73. package/dist/chunks/{themeSelector-BUU_4ha7.esm.js → themeSelector-Ce9JLKP6.esm.js} +2 -2
  74. package/dist/chunks/{themeSelector-BUU_4ha7.esm.js.map → themeSelector-Ce9JLKP6.esm.js.map} +1 -1
  75. package/dist/chunks/{themeSelector-DOSJ_YTD.js → themeSelector-Cpzcr0j7.js} +2 -2
  76. package/dist/chunks/{themeSelector-DOSJ_YTD.js.map → themeSelector-Cpzcr0j7.js.map} +1 -1
  77. package/dist/chunks/{tick-rHBbYNsa.js → tick-D0uXfgm_.js} +8 -9
  78. package/dist/chunks/tick-D0uXfgm_.js.map +1 -0
  79. package/dist/chunks/{tick-BGC9qpEu.esm.js → tick-Yg9tWd8n.esm.js} +2 -3
  80. package/dist/chunks/tick-Yg9tWd8n.esm.js.map +1 -0
  81. package/dist/chunks/{toggle-switch-DDIhdf1a.js → toggle-switch-C2GpPNpX.js} +3 -4
  82. package/dist/chunks/toggle-switch-C2GpPNpX.js.map +1 -0
  83. package/dist/chunks/{toggle-switch-C5pxbI7z.esm.js → toggle-switch-cHBJVQ9J.esm.js} +2 -3
  84. package/dist/chunks/toggle-switch-cHBJVQ9J.esm.js.map +1 -0
  85. package/dist/chunks/{trash-CiV-RKIP.esm.js → trash-BhZBqKsV.esm.js} +2 -3
  86. package/dist/chunks/trash-BhZBqKsV.esm.js.map +1 -0
  87. package/dist/chunks/{trash-VyHXYBtF.js → trash-CJyhARBA.js} +36 -37
  88. package/dist/chunks/trash-CJyhARBA.js.map +1 -0
  89. package/dist/chunks/{uom-field-wrapper-DoWBwgGv.js → uom-field-wrapper-BX1XdyHa.js} +66 -67
  90. package/dist/chunks/{uom-field-wrapper-DoWBwgGv.js.map → uom-field-wrapper-BX1XdyHa.js.map} +1 -1
  91. package/dist/chunks/{uom-field-wrapper-D3POjotB.esm.js → uom-field-wrapper-CkzzOU6N.esm.js} +15 -16
  92. package/dist/chunks/{uom-field-wrapper-D3POjotB.esm.js.map → uom-field-wrapper-CkzzOU6N.esm.js.map} +1 -1
  93. package/dist/chunks/{useAccountSetting-DlrR5hlK.esm.js → useAccountSetting-D3-1qy7H.esm.js} +2 -2
  94. package/dist/chunks/{useAccountSetting-DlrR5hlK.esm.js.map → useAccountSetting-D3-1qy7H.esm.js.map} +1 -1
  95. package/dist/chunks/{useAccountSetting-CsdyJmXj.js → useAccountSetting-IgFis2cJ.js} +2 -2
  96. package/dist/chunks/{useAccountSetting-CsdyJmXj.js.map → useAccountSetting-IgFis2cJ.js.map} +1 -1
  97. package/dist/chunks/{useAuth-CI3BaxzJ.esm.js → useAuth-BJsurhKO.esm.js} +21 -258
  98. package/dist/chunks/useAuth-BJsurhKO.esm.js.map +1 -0
  99. package/dist/chunks/{useAuth-DuPbRYgZ.js → useAuth-CiUSJsQc.js} +8 -245
  100. package/dist/chunks/useAuth-CiUSJsQc.js.map +1 -0
  101. package/dist/chunks/{useLangauge-CoBbCCSR.js → useLangauge-D2ab_l5x.js} +2 -2
  102. package/dist/chunks/{useLangauge-CoBbCCSR.js.map → useLangauge-D2ab_l5x.js.map} +1 -1
  103. package/dist/chunks/{useLangauge-Bp4TQ3yg.esm.js → useLangauge-KK13KYLL.esm.js} +2 -2
  104. package/dist/chunks/{useLangauge-Bp4TQ3yg.esm.js.map → useLangauge-KK13KYLL.esm.js.map} +1 -1
  105. package/dist/chunks/{useReduxIntegration-BBYh6fTc.js → useReduxIntegration-Cj1OTrlN.js} +3 -3
  106. package/dist/chunks/{useReduxIntegration-BBYh6fTc.js.map → useReduxIntegration-Cj1OTrlN.js.map} +1 -1
  107. package/dist/chunks/{useReduxIntegration-CcFXL_r2.esm.js → useReduxIntegration-DOzBW6tg.esm.js} +3 -3
  108. package/dist/chunks/{useReduxIntegration-CcFXL_r2.esm.js.map → useReduxIntegration-DOzBW6tg.esm.js.map} +1 -1
  109. package/dist/components/icons/custom-styled-icon.d.ts +1 -1
  110. package/dist/components/index.esm.js +14 -14
  111. package/dist/components/index.js +14 -14
  112. package/dist/contexts/index.esm.js +3 -3
  113. package/dist/contexts/index.js +3 -3
  114. package/dist/hooks/index.esm.js +5 -5
  115. package/dist/hooks/index.js +5 -5
  116. package/dist/icons/index.esm.js +7 -7
  117. package/dist/icons/index.js +7 -7
  118. package/dist/index.esm.js +23 -23
  119. package/dist/index.js +23 -23
  120. package/dist/layout/index.esm.js +2 -2
  121. package/dist/layout/index.js +2 -2
  122. package/dist/src/components/icons/custom-styled-icon.d.ts +1 -1
  123. package/dist/theme/index.esm.js +2 -2
  124. package/dist/theme/index.js +2 -2
  125. package/dist/utils/index.esm.js +3 -3
  126. package/dist/utils/index.js +3 -3
  127. package/dist/views/index.esm.js +7 -7
  128. package/dist/views/index.js +6 -6
  129. package/package.json +1 -1
  130. package/dist/chunks/DefaultPropsProvider-CtzpYSZM.esm.js +0 -96
  131. package/dist/chunks/DefaultPropsProvider-CtzpYSZM.esm.js.map +0 -1
  132. package/dist/chunks/DefaultPropsProvider-DNkr8p_i.js +0 -112
  133. package/dist/chunks/DefaultPropsProvider-DNkr8p_i.js.map +0 -1
  134. package/dist/chunks/arrow-up-CzAYqkgy.js.map +0 -1
  135. package/dist/chunks/arrow-up-iRf15n-y.esm.js.map +0 -1
  136. package/dist/chunks/dashboard-C9j4Kzk8.js.map +0 -1
  137. package/dist/chunks/dashboard-DY6kktI9.esm.js.map +0 -1
  138. package/dist/chunks/document-COlmDW14.js.map +0 -1
  139. package/dist/chunks/document-eayAKETK.esm.js.map +0 -1
  140. package/dist/chunks/identifier-D2PZ045Y.js.map +0 -1
  141. package/dist/chunks/identifier-cOOk7M93.esm.js.map +0 -1
  142. package/dist/chunks/notification-BUQXYqID.esm.js.map +0 -1
  143. package/dist/chunks/notification-YiwRvWU7.js.map +0 -1
  144. package/dist/chunks/sidebar-CAEC7M85.esm.js.map +0 -1
  145. package/dist/chunks/sidebar-C_FKqclf.js.map +0 -1
  146. package/dist/chunks/tick-BGC9qpEu.esm.js.map +0 -1
  147. package/dist/chunks/tick-rHBbYNsa.js.map +0 -1
  148. package/dist/chunks/toggle-switch-C5pxbI7z.esm.js.map +0 -1
  149. package/dist/chunks/toggle-switch-DDIhdf1a.js.map +0 -1
  150. package/dist/chunks/trash-CiV-RKIP.esm.js.map +0 -1
  151. package/dist/chunks/trash-VyHXYBtF.js.map +0 -1
  152. package/dist/chunks/useAuth-CI3BaxzJ.esm.js.map +0 -1
  153. package/dist/chunks/useAuth-DuPbRYgZ.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
- const emStyled = require("@emotion/styled");
3
- const react = require("@emotion/react");
4
2
  const React = require("react");
5
3
  const jsxRuntime = require("./jsx-runtime-B6vEU3CM.js");
4
+ const emStyled = require("@emotion/styled");
5
+ const react = require("@emotion/react");
6
6
  const _commonjsHelpers = require("./_commonjsHelpers-Cq6wktVC.js");
7
7
  function _interopNamespaceDefault(e) {
8
8
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -439,70 +439,77 @@ function requireReactPropTypesSecret() {
439
439
  ReactPropTypesSecret_1 = ReactPropTypesSecret;
440
440
  return ReactPropTypesSecret_1;
441
441
  }
442
- var has$1;
442
+ var has;
443
443
  var hasRequiredHas;
444
444
  function requireHas() {
445
- if (hasRequiredHas) return has$1;
445
+ if (hasRequiredHas) return has;
446
446
  hasRequiredHas = 1;
447
- has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
448
- return has$1;
449
- }
450
- var printWarning = function() {
451
- };
452
- if (process.env.NODE_ENV !== "production") {
453
- var ReactPropTypesSecret = requireReactPropTypesSecret();
454
- var loggedTypeFailures = {};
455
- var has = requireHas();
456
- printWarning = function(text) {
457
- var message = "Warning: " + text;
458
- if (typeof console !== "undefined") {
459
- console.error(message);
460
- }
461
- try {
462
- throw new Error(message);
463
- } catch (x) {
464
- }
447
+ has = Function.call.bind(Object.prototype.hasOwnProperty);
448
+ return has;
449
+ }
450
+ var checkPropTypes_1;
451
+ var hasRequiredCheckPropTypes;
452
+ function requireCheckPropTypes() {
453
+ if (hasRequiredCheckPropTypes) return checkPropTypes_1;
454
+ hasRequiredCheckPropTypes = 1;
455
+ var printWarning = function() {
465
456
  };
466
- }
467
- function checkPropTypes(typeSpecs, values2, location, componentName, getStack) {
468
457
  if (process.env.NODE_ENV !== "production") {
469
- for (var typeSpecName in typeSpecs) {
470
- if (has(typeSpecs, typeSpecName)) {
471
- var error;
472
- try {
473
- if (typeof typeSpecs[typeSpecName] !== "function") {
474
- var err = Error(
475
- (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`."
458
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
459
+ var loggedTypeFailures = {};
460
+ var has2 = requireHas();
461
+ printWarning = function(text) {
462
+ var message = "Warning: " + text;
463
+ if (typeof console !== "undefined") {
464
+ console.error(message);
465
+ }
466
+ try {
467
+ throw new Error(message);
468
+ } catch (x) {
469
+ }
470
+ };
471
+ }
472
+ function checkPropTypes(typeSpecs, values2, location, componentName, getStack) {
473
+ if (process.env.NODE_ENV !== "production") {
474
+ for (var typeSpecName in typeSpecs) {
475
+ if (has2(typeSpecs, typeSpecName)) {
476
+ var error;
477
+ try {
478
+ if (typeof typeSpecs[typeSpecName] !== "function") {
479
+ var err = Error(
480
+ (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`."
481
+ );
482
+ err.name = "Invariant Violation";
483
+ throw err;
484
+ }
485
+ error = typeSpecs[typeSpecName](values2, typeSpecName, componentName, location, null, ReactPropTypesSecret);
486
+ } catch (ex) {
487
+ error = ex;
488
+ }
489
+ if (error && !(error instanceof Error)) {
490
+ printWarning(
491
+ (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
492
+ );
493
+ }
494
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
495
+ loggedTypeFailures[error.message] = true;
496
+ var stack = getStack ? getStack() : "";
497
+ printWarning(
498
+ "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
476
499
  );
477
- err.name = "Invariant Violation";
478
- throw err;
479
500
  }
480
- error = typeSpecs[typeSpecName](values2, typeSpecName, componentName, location, null, ReactPropTypesSecret);
481
- } catch (ex) {
482
- error = ex;
483
- }
484
- if (error && !(error instanceof Error)) {
485
- printWarning(
486
- (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
487
- );
488
- }
489
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
490
- loggedTypeFailures[error.message] = true;
491
- var stack = getStack ? getStack() : "";
492
- printWarning(
493
- "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
494
- );
495
501
  }
496
502
  }
497
503
  }
498
504
  }
505
+ checkPropTypes.resetWarningCache = function() {
506
+ if (process.env.NODE_ENV !== "production") {
507
+ loggedTypeFailures = {};
508
+ }
509
+ };
510
+ checkPropTypes_1 = checkPropTypes;
511
+ return checkPropTypes_1;
499
512
  }
500
- checkPropTypes.resetWarningCache = function() {
501
- if (process.env.NODE_ENV !== "production") {
502
- loggedTypeFailures = {};
503
- }
504
- };
505
- var checkPropTypes_1 = checkPropTypes;
506
513
  var factoryWithTypeCheckers;
507
514
  var hasRequiredFactoryWithTypeCheckers;
508
515
  function requireFactoryWithTypeCheckers() {
@@ -511,12 +518,12 @@ function requireFactoryWithTypeCheckers() {
511
518
  var ReactIs = requireReactIs();
512
519
  var assign2 = requireObjectAssign();
513
520
  var ReactPropTypesSecret = requireReactPropTypesSecret();
514
- var has = requireHas();
515
- var checkPropTypes2 = checkPropTypes_1;
516
- var printWarning2 = function() {
521
+ var has2 = requireHas();
522
+ var checkPropTypes = requireCheckPropTypes();
523
+ var printWarning = function() {
517
524
  };
518
525
  if (process.env.NODE_ENV !== "production") {
519
- printWarning2 = function(text) {
526
+ printWarning = function(text) {
520
527
  var message = "Warning: " + text;
521
528
  if (typeof console !== "undefined") {
522
529
  console.error(message);
@@ -593,7 +600,7 @@ function requireFactoryWithTypeCheckers() {
593
600
  var cacheKey = componentName + ":" + propName;
594
601
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
595
602
  manualPropTypeWarningCount < 3) {
596
- printWarning2(
603
+ printWarning(
597
604
  "You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
598
605
  );
599
606
  manualPropTypeCallCache[cacheKey] = true;
@@ -692,11 +699,11 @@ function requireFactoryWithTypeCheckers() {
692
699
  if (!Array.isArray(expectedValues)) {
693
700
  if (process.env.NODE_ENV !== "production") {
694
701
  if (arguments.length > 1) {
695
- printWarning2(
702
+ printWarning(
696
703
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
697
704
  );
698
705
  } else {
699
- printWarning2("Invalid argument supplied to oneOf, expected an array.");
706
+ printWarning("Invalid argument supplied to oneOf, expected an array.");
700
707
  }
701
708
  }
702
709
  return emptyFunctionThatReturnsNull;
@@ -730,7 +737,7 @@ function requireFactoryWithTypeCheckers() {
730
737
  return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
731
738
  }
732
739
  for (var key in propValue) {
733
- if (has(propValue, key)) {
740
+ if (has2(propValue, key)) {
734
741
  var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
735
742
  if (error instanceof Error) {
736
743
  return error;
@@ -743,13 +750,13 @@ function requireFactoryWithTypeCheckers() {
743
750
  }
744
751
  function createUnionTypeChecker(arrayOfTypeCheckers) {
745
752
  if (!Array.isArray(arrayOfTypeCheckers)) {
746
- process.env.NODE_ENV !== "production" ? printWarning2("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
753
+ process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
747
754
  return emptyFunctionThatReturnsNull;
748
755
  }
749
756
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
750
757
  var checker = arrayOfTypeCheckers[i];
751
758
  if (typeof checker !== "function") {
752
- printWarning2(
759
+ printWarning(
753
760
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
754
761
  );
755
762
  return emptyFunctionThatReturnsNull;
@@ -763,7 +770,7 @@ function requireFactoryWithTypeCheckers() {
763
770
  if (checkerResult == null) {
764
771
  return null;
765
772
  }
766
- if (checkerResult.data && has(checkerResult.data, "expectedType")) {
773
+ if (checkerResult.data && has2(checkerResult.data, "expectedType")) {
767
774
  expectedTypes.push(checkerResult.data.expectedType);
768
775
  }
769
776
  }
@@ -817,7 +824,7 @@ function requireFactoryWithTypeCheckers() {
817
824
  var allKeys = assign2({}, props[propName], shapeTypes);
818
825
  for (var key in allKeys) {
819
826
  var checker = shapeTypes[key];
820
- if (has(shapeTypes, key) && typeof checker !== "function") {
827
+ if (has2(shapeTypes, key) && typeof checker !== "function") {
821
828
  return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
822
829
  }
823
830
  if (!checker) {
@@ -939,8 +946,8 @@ function requireFactoryWithTypeCheckers() {
939
946
  }
940
947
  return propValue.constructor.name;
941
948
  }
942
- ReactPropTypes.checkPropTypes = checkPropTypes2;
943
- ReactPropTypes.resetWarningCache = checkPropTypes2.resetWarningCache;
949
+ ReactPropTypes.checkPropTypes = checkPropTypes;
950
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
944
951
  ReactPropTypes.PropTypes = ReactPropTypes;
945
952
  return ReactPropTypes;
946
953
  };
@@ -1026,6 +1033,31 @@ function capitalize(string) {
1026
1033
  }
1027
1034
  return string.charAt(0).toUpperCase() + string.slice(1);
1028
1035
  }
1036
+ function resolveProps(defaultProps, props) {
1037
+ const output = _extends({}, props);
1038
+ Object.keys(defaultProps).forEach((propName) => {
1039
+ if (propName.toString().match(/^(components|slots)$/)) {
1040
+ output[propName] = _extends({}, defaultProps[propName], output[propName]);
1041
+ } else if (propName.toString().match(/^(componentsProps|slotProps)$/)) {
1042
+ const defaultSlotProps = defaultProps[propName] || {};
1043
+ const slotProps = props[propName];
1044
+ output[propName] = {};
1045
+ if (!slotProps || !Object.keys(slotProps)) {
1046
+ output[propName] = defaultSlotProps;
1047
+ } else if (!defaultSlotProps || !Object.keys(defaultSlotProps)) {
1048
+ output[propName] = slotProps;
1049
+ } else {
1050
+ output[propName] = _extends({}, slotProps);
1051
+ Object.keys(defaultSlotProps).forEach((slotPropName) => {
1052
+ output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]);
1053
+ });
1054
+ }
1055
+ } else if (output[propName] === void 0) {
1056
+ output[propName] = defaultProps[propName];
1057
+ }
1058
+ });
1059
+ return output;
1060
+ }
1029
1061
  const defaultGenerator = (componentName) => componentName;
1030
1062
  const createClassNameGenerator = () => {
1031
1063
  let generate = defaultGenerator;
@@ -1076,6 +1108,69 @@ function _objectWithoutPropertiesLoose(r, e) {
1076
1108
  }
1077
1109
  return t;
1078
1110
  }
1111
+ const PropsContext = /* @__PURE__ */ React__namespace.createContext(void 0);
1112
+ process.env.NODE_ENV !== "production" ? {
1113
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1114
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1115
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1116
+ // └─────────────────────────────────────────────────────────────────────┘
1117
+ /**
1118
+ * @ignore
1119
+ */
1120
+ children: PropTypes.node,
1121
+ /**
1122
+ * @ignore
1123
+ */
1124
+ value: PropTypes.object
1125
+ } : void 0;
1126
+ function getThemeProps(params) {
1127
+ const {
1128
+ theme,
1129
+ name,
1130
+ props
1131
+ } = params;
1132
+ if (!theme || !theme.components || !theme.components[name]) {
1133
+ return props;
1134
+ }
1135
+ const config = theme.components[name];
1136
+ if (config.defaultProps) {
1137
+ return resolveProps(config.defaultProps, props);
1138
+ }
1139
+ if (!config.styleOverrides && !config.variants) {
1140
+ return resolveProps(config, props);
1141
+ }
1142
+ return props;
1143
+ }
1144
+ function useDefaultProps$1({
1145
+ props,
1146
+ name
1147
+ }) {
1148
+ const ctx = React__namespace.useContext(PropsContext);
1149
+ return getThemeProps({
1150
+ props,
1151
+ name,
1152
+ theme: {
1153
+ components: ctx
1154
+ }
1155
+ });
1156
+ }
1157
+ process.env.NODE_ENV !== "production" ? {
1158
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1159
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1160
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1161
+ // └─────────────────────────────────────────────────────────────────────┘
1162
+ /**
1163
+ * @ignore
1164
+ */
1165
+ children: PropTypes.node,
1166
+ /**
1167
+ * @ignore
1168
+ */
1169
+ value: PropTypes.object.isRequired
1170
+ } : void 0;
1171
+ function useDefaultProps(params) {
1172
+ return useDefaultProps$1(params);
1173
+ }
1079
1174
  function murmur2(str) {
1080
1175
  var h = 0;
1081
1176
  var k, i = 0, len = str.length;
@@ -4133,8 +4228,10 @@ exports.lighten_1 = lighten_1;
4133
4228
  exports.mergeBreakpointsInOrder = mergeBreakpointsInOrder;
4134
4229
  exports.requireObjectAssign = requireObjectAssign;
4135
4230
  exports.resolveBreakpointValues = resolveBreakpointValues;
4231
+ exports.resolveProps = resolveProps;
4136
4232
  exports.styleFunctionSx = styleFunctionSx;
4137
4233
  exports.styled = styled;
4138
4234
  exports.styledEngine = styledEngine;
4139
4235
  exports.unstable_createStyleFunctionSx = unstable_createStyleFunctionSx;
4140
- //# sourceMappingURL=identifier-D2PZ045Y.js.map
4236
+ exports.useDefaultProps = useDefaultProps;
4237
+ //# sourceMappingURL=identifier-BTBl-PeG.js.map