@cgi-learning-hub/ui 0.0.1-dev

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 (117) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +5 -0
  2. package/dist/_virtual/index.js +3 -0
  3. package/dist/_virtual/index2.js +3 -0
  4. package/dist/_virtual/index3.js +3 -0
  5. package/dist/_virtual/react-is.development.js +3 -0
  6. package/dist/_virtual/react-is.development2.js +3 -0
  7. package/dist/_virtual/react-is.production.min.js +3 -0
  8. package/dist/_virtual/react-is.production.min2.js +3 -0
  9. package/dist/components/BasicButtons/BasicButtons.d.ts +2 -0
  10. package/dist/components/BasicButtons/BasicButtons.js +14 -0
  11. package/dist/components/BasicButtons/BasicButtons.stories.d.ts +5 -0
  12. package/dist/components/BasicButtons/index.d.ts +2 -0
  13. package/dist/components/index.d.ts +1 -0
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.js +1 -0
  16. package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +8 -0
  17. package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/extends.js +16 -0
  18. package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +9 -0
  19. package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +14 -0
  20. package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +9 -0
  21. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/Button/Button.js +379 -0
  22. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/Button/buttonClasses.js +10 -0
  23. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/ButtonBase.js +477 -0
  24. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/Ripple.js +85 -0
  25. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/TouchRipple.js +340 -0
  26. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js +9 -0
  27. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/touchRippleClasses.js +5 -0
  28. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js +12 -0
  29. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js +12 -0
  30. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/Stack/Stack.js +63 -0
  31. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/blue.js +19 -0
  32. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/common.js +7 -0
  33. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/green.js +19 -0
  34. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/grey.js +19 -0
  35. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/lightBlue.js +19 -0
  36. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/orange.js +19 -0
  37. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/purple.js +19 -0
  38. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/red.js +19 -0
  39. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/createMixins.js +19 -0
  40. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/createPalette.js +308 -0
  41. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/createTheme.js +82 -0
  42. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/createTransitions.js +91 -0
  43. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/createTypography.js +93 -0
  44. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/defaultTheme.js +6 -0
  45. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/identifier.js +3 -0
  46. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/shadows.js +11 -0
  47. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/styled.js +12 -0
  48. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/useThemeProps.js +17 -0
  49. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/zIndex.js +15 -0
  50. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/capitalize.js +5 -0
  51. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEventCallback.js +5 -0
  52. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useForkRef.js +5 -0
  53. package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useIsFocusVisible.js +5 -0
  54. package/dist/node_modules/.pnpm/@mui_styled-engine@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_react@18.2.0/node_modules/@mui/styled-engine/index.js +36 -0
  55. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/Stack/createStack.js +176 -0
  56. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/borders.js +51 -0
  57. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/breakpoints.js +123 -0
  58. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/colorManipulator.js +236 -0
  59. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/compose.js +26 -0
  60. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/createStyled.js +322 -0
  61. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/createTheme/createBreakpoints.js +82 -0
  62. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/createTheme/createSpacing.js +34 -0
  63. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/createTheme/createTheme.js +43 -0
  64. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/createTheme/shape.js +6 -0
  65. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/cssGrid.js +86 -0
  66. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/memoize.js +11 -0
  67. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/merge.js +12 -0
  68. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/palette.js +28 -0
  69. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/propsToClassKey.js +30 -0
  70. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/responsivePropType.js +6 -0
  71. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/sizing.js +67 -0
  72. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/spacing.js +144 -0
  73. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/style.js +77 -0
  74. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +294 -0
  75. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +51 -0
  76. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +129 -0
  77. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/styled.js +5 -0
  78. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/useTheme.js +9 -0
  79. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js +15 -0
  80. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js +22 -0
  81. package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/useThemeWithoutDefault.js +12 -0
  82. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +18 -0
  83. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/capitalize/capitalize.js +14 -0
  84. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js +10 -0
  85. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/clamp/clamp.js +5 -0
  86. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +23 -0
  87. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/deepmerge.js +44 -0
  88. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/elementTypeAcceptingRef.js +43 -0
  89. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +21 -0
  90. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +22 -0
  91. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js +11 -0
  92. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/getDisplayName.js +49 -0
  93. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/refType.js +6 -0
  94. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/resolveProps.js +37 -0
  95. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/setRef.js +22 -0
  96. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +12 -0
  97. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js +19 -0
  98. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +23 -0
  99. package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/useIsFocusVisible.js +156 -0
  100. package/dist/node_modules/.pnpm/clsx@2.1.0/node_modules/clsx/dist/clsx.js +3 -0
  101. package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +99 -0
  102. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +115 -0
  103. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +74 -0
  104. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +625 -0
  105. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +30 -0
  106. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +21 -0
  107. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js +11 -0
  108. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +190 -0
  109. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +26 -0
  110. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +19 -0
  111. package/dist/node_modules/.pnpm/react-is@18.2.0/node_modules/react-is/cjs/react-is.development.js +230 -0
  112. package/dist/node_modules/.pnpm/react-is@18.2.0/node_modules/react-is/cjs/react-is.production.min.js +26 -0
  113. package/dist/node_modules/.pnpm/react-is@18.2.0/node_modules/react-is/index.js +13 -0
  114. package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.2.0_react@18.2.0/node_modules/react-transition-group/esm/TransitionGroup.js +191 -0
  115. package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.2.0_react@18.2.0/node_modules/react-transition-group/esm/TransitionGroupContext.js +5 -0
  116. package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.2.0_react@18.2.0/node_modules/react-transition-group/esm/utils/ChildMapping.js +143 -0
  117. package/package.json +46 -0
@@ -0,0 +1,129 @@
1
+ import merge from '../merge.js';
2
+ import { getPath, getStyleValue } from '../style.js';
3
+ import { createEmptyBreakpointObject, handleBreakpoints, removeUnusedBreakpoints } from '../breakpoints.js';
4
+ import defaultSxConfig from './defaultSxConfig.js';
5
+ import capitalize from '../../../../../../@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/capitalize/capitalize.js';
6
+
7
+ function objectsHaveSameKeys(...objects) {
8
+ const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []);
9
+ const union = new Set(allKeys);
10
+ return objects.every(object => union.size === Object.keys(object).length);
11
+ }
12
+ function callIfFn(maybeFn, arg) {
13
+ return typeof maybeFn === 'function' ? maybeFn(arg) : maybeFn;
14
+ }
15
+
16
+ // eslint-disable-next-line @typescript-eslint/naming-convention
17
+ function unstable_createStyleFunctionSx() {
18
+ function getThemeValue(prop, val, theme, config) {
19
+ const props = {
20
+ [prop]: val,
21
+ theme
22
+ };
23
+ const options = config[prop];
24
+ if (!options) {
25
+ return {
26
+ [prop]: val
27
+ };
28
+ }
29
+ const {
30
+ cssProperty = prop,
31
+ themeKey,
32
+ transform,
33
+ style
34
+ } = options;
35
+ if (val == null) {
36
+ return null;
37
+ }
38
+
39
+ // TODO v6: remove, see https://github.com/mui/material-ui/pull/38123
40
+ if (themeKey === 'typography' && val === 'inherit') {
41
+ return {
42
+ [prop]: val
43
+ };
44
+ }
45
+ const themeMapping = getPath(theme, themeKey) || {};
46
+ if (style) {
47
+ return style(props);
48
+ }
49
+ const styleFromPropValue = propValueFinal => {
50
+ let value = getStyleValue(themeMapping, transform, propValueFinal);
51
+ if (propValueFinal === value && typeof propValueFinal === 'string') {
52
+ // Haven't found value
53
+ value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);
54
+ }
55
+ if (cssProperty === false) {
56
+ return value;
57
+ }
58
+ return {
59
+ [cssProperty]: value
60
+ };
61
+ };
62
+ return handleBreakpoints(props, val, styleFromPropValue);
63
+ }
64
+ function styleFunctionSx(props) {
65
+ var _theme$unstable_sxCon;
66
+ const {
67
+ sx,
68
+ theme = {}
69
+ } = props || {};
70
+ if (!sx) {
71
+ return null; // Emotion & styled-components will neglect null
72
+ }
73
+ const config = (_theme$unstable_sxCon = theme.unstable_sxConfig) != null ? _theme$unstable_sxCon : defaultSxConfig;
74
+
75
+ /*
76
+ * Receive `sxInput` as object or callback
77
+ * and then recursively check keys & values to create media query object styles.
78
+ * (the result will be used in `styled`)
79
+ */
80
+ function traverse(sxInput) {
81
+ let sxObject = sxInput;
82
+ if (typeof sxInput === 'function') {
83
+ sxObject = sxInput(theme);
84
+ } else if (typeof sxInput !== 'object') {
85
+ // value
86
+ return sxInput;
87
+ }
88
+ if (!sxObject) {
89
+ return null;
90
+ }
91
+ const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);
92
+ const breakpointsKeys = Object.keys(emptyBreakpoints);
93
+ let css = emptyBreakpoints;
94
+ Object.keys(sxObject).forEach(styleKey => {
95
+ const value = callIfFn(sxObject[styleKey], theme);
96
+ if (value !== null && value !== undefined) {
97
+ if (typeof value === 'object') {
98
+ if (config[styleKey]) {
99
+ css = merge(css, getThemeValue(styleKey, value, theme, config));
100
+ } else {
101
+ const breakpointsValues = handleBreakpoints({
102
+ theme
103
+ }, value, x => ({
104
+ [styleKey]: x
105
+ }));
106
+ if (objectsHaveSameKeys(breakpointsValues, value)) {
107
+ css[styleKey] = styleFunctionSx({
108
+ sx: value,
109
+ theme
110
+ });
111
+ } else {
112
+ css = merge(css, breakpointsValues);
113
+ }
114
+ }
115
+ } else {
116
+ css = merge(css, getThemeValue(styleKey, value, theme, config));
117
+ }
118
+ }
119
+ });
120
+ return removeUnusedBreakpoints(breakpointsKeys, css);
121
+ }
122
+ return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
123
+ }
124
+ return styleFunctionSx;
125
+ }
126
+ const styleFunctionSx = unstable_createStyleFunctionSx();
127
+ styleFunctionSx.filterProps = ['sx'];
128
+
129
+ export { styleFunctionSx as default, unstable_createStyleFunctionSx };
@@ -0,0 +1,5 @@
1
+ import createStyled from './createStyled.js';
2
+
3
+ const styled = createStyled();
4
+
5
+ export { styled as default };
@@ -0,0 +1,9 @@
1
+ import useTheme$1 from './useThemeWithoutDefault.js';
2
+ import createTheme from './createTheme/createTheme.js';
3
+
4
+ const systemDefaultTheme = createTheme();
5
+ function useTheme(defaultTheme = systemDefaultTheme) {
6
+ return useTheme$1(defaultTheme);
7
+ }
8
+
9
+ export { useTheme as default, systemDefaultTheme };
@@ -0,0 +1,15 @@
1
+ import resolveProps from '../../../../../../@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/resolveProps.js';
2
+
3
+ function getThemeProps(params) {
4
+ const {
5
+ theme,
6
+ name,
7
+ props
8
+ } = params;
9
+ if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {
10
+ return props;
11
+ }
12
+ return resolveProps(theme.components[name].defaultProps, props);
13
+ }
14
+
15
+ export { getThemeProps as default };
@@ -0,0 +1,22 @@
1
+ import getThemeProps from './getThemeProps.js';
2
+ import useTheme from '../useTheme.js';
3
+
4
+ function useThemeProps({
5
+ props,
6
+ name,
7
+ defaultTheme,
8
+ themeId
9
+ }) {
10
+ let theme = useTheme(defaultTheme);
11
+ if (themeId) {
12
+ theme = theme[themeId] || theme;
13
+ }
14
+ const mergedProps = getThemeProps({
15
+ theme,
16
+ name,
17
+ props
18
+ });
19
+ return mergedProps;
20
+ }
21
+
22
+ export { useThemeProps as default };
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import { ThemeContext } from '@emotion/react';
3
+
4
+ function isObjectEmpty(obj) {
5
+ return Object.keys(obj).length === 0;
6
+ }
7
+ function useTheme(defaultTheme = null) {
8
+ const contextTheme = React.useContext(ThemeContext);
9
+ return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;
10
+ }
11
+
12
+ export { useTheme as default };
@@ -0,0 +1,18 @@
1
+ const defaultGenerator = componentName => componentName;
2
+ const createClassNameGenerator = () => {
3
+ let generate = defaultGenerator;
4
+ return {
5
+ configure(generator) {
6
+ generate = generator;
7
+ },
8
+ generate(componentName) {
9
+ return generate(componentName);
10
+ },
11
+ reset() {
12
+ generate = defaultGenerator;
13
+ }
14
+ };
15
+ };
16
+ const ClassNameGenerator = createClassNameGenerator();
17
+
18
+ export { ClassNameGenerator as default };
@@ -0,0 +1,14 @@
1
+ import formatMuiErrorMessage from '../formatMuiErrorMessage/formatMuiErrorMessage.js';
2
+
3
+ // It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
4
+ //
5
+ // A strict capitalization should uppercase the first letter of each word in the sentence.
6
+ // We only handle the first word.
7
+ function capitalize(string) {
8
+ if (typeof string !== 'string') {
9
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`capitalize(string)\` expects a string argument.` : formatMuiErrorMessage(7));
10
+ }
11
+ return string.charAt(0).toUpperCase() + string.slice(1);
12
+ }
13
+
14
+ export { capitalize as default };
@@ -0,0 +1,10 @@
1
+ function chainPropTypes(propType1, propType2) {
2
+ if (process.env.NODE_ENV === 'production') {
3
+ return () => null;
4
+ }
5
+ return function validate(...args) {
6
+ return propType1(...args) || propType2(...args);
7
+ };
8
+ }
9
+
10
+ export { chainPropTypes as default };
@@ -0,0 +1,5 @@
1
+ function clamp(val, min = Number.MIN_SAFE_INTEGER, max = Number.MAX_SAFE_INTEGER) {
2
+ return Math.max(min, Math.min(val, max));
3
+ }
4
+
5
+ export { clamp as default };
@@ -0,0 +1,23 @@
1
+ function composeClasses(slots, getUtilityClass, classes = undefined) {
2
+ const output = {};
3
+ Object.keys(slots).forEach(
4
+ // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
5
+ // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
6
+ slot => {
7
+ output[slot] = slots[slot].reduce((acc, key) => {
8
+ if (key) {
9
+ const utilityClass = getUtilityClass(key);
10
+ if (utilityClass !== '') {
11
+ acc.push(utilityClass);
12
+ }
13
+ if (classes && classes[key]) {
14
+ acc.push(classes[key]);
15
+ }
16
+ }
17
+ return acc;
18
+ }, []).join(' ');
19
+ });
20
+ return output;
21
+ }
22
+
23
+ export { composeClasses as default };
@@ -0,0 +1,44 @@
1
+ import _extends from '../../../../../@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/extends.js';
2
+
3
+ // https://github.com/sindresorhus/is-plain-obj/blob/main/index.js
4
+ function isPlainObject(item) {
5
+ if (typeof item !== 'object' || item === null) {
6
+ return false;
7
+ }
8
+ const prototype = Object.getPrototypeOf(item);
9
+ return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
10
+ }
11
+ function deepClone(source) {
12
+ if (!isPlainObject(source)) {
13
+ return source;
14
+ }
15
+ const output = {};
16
+ Object.keys(source).forEach(key => {
17
+ output[key] = deepClone(source[key]);
18
+ });
19
+ return output;
20
+ }
21
+ function deepmerge(target, source, options = {
22
+ clone: true
23
+ }) {
24
+ const output = options.clone ? _extends({}, target) : target;
25
+ if (isPlainObject(target) && isPlainObject(source)) {
26
+ Object.keys(source).forEach(key => {
27
+ // Avoid prototype pollution
28
+ if (key === '__proto__') {
29
+ return;
30
+ }
31
+ if (isPlainObject(source[key]) && key in target && isPlainObject(target[key])) {
32
+ // Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.
33
+ output[key] = deepmerge(target[key], source[key], options);
34
+ } else if (options.clone) {
35
+ output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
36
+ } else {
37
+ output[key] = source[key];
38
+ }
39
+ });
40
+ }
41
+ return output;
42
+ }
43
+
44
+ export { deepmerge as default, isPlainObject };
@@ -0,0 +1,43 @@
1
+ import PropTypes from '../../../../../prop-types@15.8.1/node_modules/prop-types/index.js';
2
+ import chainPropTypes from './chainPropTypes/chainPropTypes.js';
3
+
4
+ function isClassComponent(elementType) {
5
+ // elementType.prototype?.isReactComponent
6
+ const {
7
+ prototype = {}
8
+ } = elementType;
9
+ return Boolean(prototype.isReactComponent);
10
+ }
11
+ function elementTypeAcceptingRef(props, propName, componentName, location, propFullName) {
12
+ const propValue = props[propName];
13
+ const safePropName = propFullName || propName;
14
+ if (propValue == null ||
15
+ // When server-side rendering React doesn't warn either.
16
+ // This is not an accurate check for SSR.
17
+ // This is only in place for emotion compat.
18
+ // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
19
+ typeof window === 'undefined') {
20
+ return null;
21
+ }
22
+ let warningHint;
23
+
24
+ /**
25
+ * Blacklisting instead of whitelisting
26
+ *
27
+ * Blacklisting will miss some components, such as React.Fragment. Those will at least
28
+ * trigger a warning in React.
29
+ * We can't whitelist because there is no safe way to detect React.forwardRef
30
+ * or class components. "Safe" means there's no public API.
31
+ *
32
+ */
33
+ if (typeof propValue === 'function' && !isClassComponent(propValue)) {
34
+ warningHint = 'Did you accidentally provide a plain function component instead?';
35
+ }
36
+ if (warningHint !== undefined) {
37
+ return new Error(`Invalid ${location} \`${safePropName}\` supplied to \`${componentName}\`. ` + `Expected an element type that can hold a ref. ${warningHint} ` + 'For more information see https://mui.com/r/caveat-with-refs-guide');
38
+ }
39
+ return null;
40
+ }
41
+ const elementTypeAcceptingRef$1 = chainPropTypes(PropTypes.elementType, elementTypeAcceptingRef);
42
+
43
+ export { elementTypeAcceptingRef$1 as default };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * WARNING: Don't import this directly.
3
+ * Use `MuiError` from `@mui-internal/babel-macros/MuiError.macro` instead.
4
+ * @param {number} code
5
+ */
6
+ function formatMuiErrorMessage(code) {
7
+ // Apply babel-plugin-transform-template-literals in loose mode
8
+ // loose mode is safe if we're concatenating primitives
9
+ // see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose
10
+ /* eslint-disable prefer-template */
11
+ let url = 'https://mui.com/production-error/?code=' + code;
12
+ for (let i = 1; i < arguments.length; i += 1) {
13
+ // rest params over-transpile for this case
14
+ // eslint-disable-next-line prefer-rest-params
15
+ url += '&args[]=' + encodeURIComponent(arguments[i]);
16
+ }
17
+ return 'Minified MUI error #' + code + '; visit ' + url + ' for the full message.';
18
+ /* eslint-enable prefer-template */
19
+ }
20
+
21
+ export { formatMuiErrorMessage as default };
@@ -0,0 +1,22 @@
1
+ import ClassNameGenerator from '../ClassNameGenerator/ClassNameGenerator.js';
2
+
3
+ const globalStateClasses = {
4
+ active: 'active',
5
+ checked: 'checked',
6
+ completed: 'completed',
7
+ disabled: 'disabled',
8
+ error: 'error',
9
+ expanded: 'expanded',
10
+ focused: 'focused',
11
+ focusVisible: 'focusVisible',
12
+ open: 'open',
13
+ readOnly: 'readOnly',
14
+ required: 'required',
15
+ selected: 'selected'
16
+ };
17
+ function generateUtilityClass(componentName, slot, globalStatePrefix = 'Mui') {
18
+ const globalStateClass = globalStateClasses[slot];
19
+ return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
20
+ }
21
+
22
+ export { generateUtilityClass as default, globalStateClasses };
@@ -0,0 +1,11 @@
1
+ import generateUtilityClass from '../generateUtilityClass/generateUtilityClass.js';
2
+
3
+ function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui') {
4
+ const result = {};
5
+ slots.forEach(slot => {
6
+ result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
7
+ });
8
+ return result;
9
+ }
10
+
11
+ export { generateUtilityClasses as default };
@@ -0,0 +1,49 @@
1
+ import { r as reactIsExports } from '../../../../../react-is@18.2.0/node_modules/react-is/index.js';
2
+
3
+ // Simplified polyfill for IE11 support
4
+ // https://github.com/JamesMGreene/Function.name/blob/58b314d4a983110c3682f1228f845d39ccca1817/Function.name.js#L3
5
+ const fnNameMatchRegex = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
6
+ function getFunctionName(fn) {
7
+ const match = `${fn}`.match(fnNameMatchRegex);
8
+ const name = match && match[1];
9
+ return name || '';
10
+ }
11
+ function getFunctionComponentName(Component, fallback = '') {
12
+ return Component.displayName || Component.name || getFunctionName(Component) || fallback;
13
+ }
14
+ function getWrappedName(outerType, innerType, wrapperName) {
15
+ const functionName = getFunctionComponentName(innerType);
16
+ return outerType.displayName || (functionName !== '' ? `${wrapperName}(${functionName})` : wrapperName);
17
+ }
18
+
19
+ /**
20
+ * cherry-pick from
21
+ * https://github.com/facebook/react/blob/769b1f270e1251d9dbdce0fcbd9e92e502d059b8/packages/shared/getComponentName.js
22
+ * originally forked from recompose/getDisplayName with added IE11 support
23
+ */
24
+ function getDisplayName(Component) {
25
+ if (Component == null) {
26
+ return undefined;
27
+ }
28
+ if (typeof Component === 'string') {
29
+ return Component;
30
+ }
31
+ if (typeof Component === 'function') {
32
+ return getFunctionComponentName(Component, 'Component');
33
+ }
34
+
35
+ // TypeScript can't have components as objects but they exist in the form of `memo` or `Suspense`
36
+ if (typeof Component === 'object') {
37
+ switch (Component.$$typeof) {
38
+ case reactIsExports.ForwardRef:
39
+ return getWrappedName(Component, Component.render, 'ForwardRef');
40
+ case reactIsExports.Memo:
41
+ return getWrappedName(Component, Component.type, 'memo');
42
+ default:
43
+ return undefined;
44
+ }
45
+ }
46
+ return undefined;
47
+ }
48
+
49
+ export { getDisplayName as default, getFunctionName };
@@ -0,0 +1,6 @@
1
+ import PropTypes from '../../../../../prop-types@15.8.1/node_modules/prop-types/index.js';
2
+
3
+ const refType = PropTypes.oneOfType([PropTypes.func, PropTypes.object]);
4
+ const refType$1 = refType;
5
+
6
+ export { refType$1 as default };
@@ -0,0 +1,37 @@
1
+ import _extends from '../../../../../@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/extends.js';
2
+
3
+ /**
4
+ * Add keys, values of `defaultProps` that does not exist in `props`
5
+ * @param {object} defaultProps
6
+ * @param {object} props
7
+ * @returns {object} resolved props
8
+ */
9
+ function resolveProps(defaultProps, props) {
10
+ const output = _extends({}, props);
11
+ Object.keys(defaultProps).forEach(propName => {
12
+ if (propName.toString().match(/^(components|slots)$/)) {
13
+ output[propName] = _extends({}, defaultProps[propName], output[propName]);
14
+ } else if (propName.toString().match(/^(componentsProps|slotProps)$/)) {
15
+ const defaultSlotProps = defaultProps[propName] || {};
16
+ const slotProps = props[propName];
17
+ output[propName] = {};
18
+ if (!slotProps || !Object.keys(slotProps)) {
19
+ // Reduce the iteration if the slot props is empty
20
+ output[propName] = defaultSlotProps;
21
+ } else if (!defaultSlotProps || !Object.keys(defaultSlotProps)) {
22
+ // Reduce the iteration if the default slot props is empty
23
+ output[propName] = slotProps;
24
+ } else {
25
+ output[propName] = _extends({}, slotProps);
26
+ Object.keys(defaultSlotProps).forEach(slotPropName => {
27
+ output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]);
28
+ });
29
+ }
30
+ } else if (output[propName] === undefined) {
31
+ output[propName] = defaultProps[propName];
32
+ }
33
+ });
34
+ return output;
35
+ }
36
+
37
+ export { resolveProps as default };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * TODO v5: consider making it private
3
+ *
4
+ * passes {value} to {ref}
5
+ *
6
+ * WARNING: Be sure to only call this inside a callback that is passed as a ref.
7
+ * Otherwise, make sure to cleanup the previous {ref} if it changes. See
8
+ * https://github.com/mui/material-ui/issues/13539
9
+ *
10
+ * Useful if you want to expose the ref of an inner component to the public API
11
+ * while still using it inside the component.
12
+ * @param ref A ref callback or ref object. If anything falsy, this is a no-op.
13
+ */
14
+ function setRef(ref, value) {
15
+ if (typeof ref === 'function') {
16
+ ref(value);
17
+ } else if (ref) {
18
+ ref.current = value;
19
+ }
20
+ }
21
+
22
+ export { setRef as default };
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+
3
+ /**
4
+ * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.
5
+ * This is useful for effects that are only needed for client-side rendering but not for SSR.
6
+ *
7
+ * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85
8
+ * and confirm it doesn't apply to your use-case.
9
+ */
10
+ const useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
11
+
12
+ export { useEnhancedEffect as default };
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+ import useEnhancedEffect from '../useEnhancedEffect/useEnhancedEffect.js';
3
+
4
+ /**
5
+ * Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892
6
+ * See RFC in https://github.com/reactjs/rfcs/pull/220
7
+ */
8
+
9
+ function useEventCallback(fn) {
10
+ const ref = React.useRef(fn);
11
+ useEnhancedEffect(() => {
12
+ ref.current = fn;
13
+ });
14
+ return React.useRef((...args) =>
15
+ // @ts-expect-error hide `this`
16
+ (0, ref.current)(...args)).current;
17
+ }
18
+
19
+ export { useEventCallback as default };
@@ -0,0 +1,23 @@
1
+ import * as React from 'react';
2
+ import setRef from '../setRef.js';
3
+
4
+ function useForkRef(...refs) {
5
+ /**
6
+ * This will create a new function if the refs passed to this hook change and are all defined.
7
+ * This means react will call the old forkRef with `null` and the new forkRef
8
+ * with the ref. Cleanup naturally emerges from this behavior.
9
+ */
10
+ return React.useMemo(() => {
11
+ if (refs.every(ref => ref == null)) {
12
+ return null;
13
+ }
14
+ return instance => {
15
+ refs.forEach(ref => {
16
+ setRef(ref, instance);
17
+ });
18
+ };
19
+ // eslint-disable-next-line react-hooks/exhaustive-deps
20
+ }, refs);
21
+ }
22
+
23
+ export { useForkRef as default };