@sis-cc/dotstatsuite-components 21.10.0 → 22.0.1
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/_virtual/_commonjsHelpers.js +35 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/_rollupPluginBabelHelpers.js +12 -0
- package/dist/_virtual/_rollupPluginBabelHelpers.js.map +1 -0
- package/dist/_virtual/colorManipulator.js +6 -0
- package/dist/_virtual/colorManipulator.js.map +1 -0
- package/dist/_virtual/colorManipulator2.js +4 -0
- package/dist/_virtual/colorManipulator2.js.map +1 -0
- package/dist/_virtual/index.js +8 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index10.js +8 -0
- package/dist/_virtual/index10.js.map +1 -0
- package/dist/_virtual/index11.js +8 -0
- package/dist/_virtual/index11.js.map +1 -0
- package/dist/_virtual/index12.js +8 -0
- package/dist/_virtual/index12.js.map +1 -0
- package/dist/_virtual/index13.js +8 -0
- package/dist/_virtual/index13.js.map +1 -0
- package/dist/_virtual/index14.js +8 -0
- package/dist/_virtual/index14.js.map +1 -0
- package/dist/_virtual/index15.js +8 -0
- package/dist/_virtual/index15.js.map +1 -0
- package/dist/_virtual/index16.js +8 -0
- package/dist/_virtual/index16.js.map +1 -0
- package/dist/_virtual/index17.js +7 -0
- package/dist/_virtual/index17.js.map +1 -0
- package/dist/_virtual/index18.js +7 -0
- package/dist/_virtual/index18.js.map +1 -0
- package/dist/_virtual/index19.js +8 -0
- package/dist/_virtual/index19.js.map +1 -0
- package/dist/_virtual/index2.js +8 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index20.js +4 -0
- package/dist/_virtual/index20.js.map +1 -0
- package/dist/_virtual/index21.js +6 -0
- package/dist/_virtual/index21.js.map +1 -0
- package/dist/_virtual/index22.js +4 -0
- package/dist/_virtual/index22.js.map +1 -0
- package/dist/_virtual/index23.js +4 -0
- package/dist/_virtual/index23.js.map +1 -0
- package/dist/_virtual/index3.js +8 -0
- package/dist/_virtual/index3.js.map +1 -0
- package/dist/_virtual/index4.js +8 -0
- package/dist/_virtual/index4.js.map +1 -0
- package/dist/_virtual/index5.js +8 -0
- package/dist/_virtual/index5.js.map +1 -0
- package/dist/_virtual/index6.js +8 -0
- package/dist/_virtual/index6.js.map +1 -0
- package/dist/_virtual/index7.js +8 -0
- package/dist/_virtual/index7.js.map +1 -0
- package/dist/_virtual/index8.js +8 -0
- package/dist/_virtual/index8.js.map +1 -0
- package/dist/_virtual/index9.js +8 -0
- package/dist/_virtual/index9.js.map +1 -0
- package/dist/_virtual/interopRequireDefault.js +4 -0
- package/dist/_virtual/interopRequireDefault.js.map +1 -0
- package/dist/_virtual/jsx-runtime.js +4 -0
- package/dist/_virtual/jsx-runtime.js.map +1 -0
- package/dist/_virtual/jsx-runtime2.js +6 -0
- package/dist/_virtual/jsx-runtime2.js.map +1 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.development.js.map +1 -0
- package/dist/_virtual/react-is.development2.js +4 -0
- package/dist/_virtual/react-is.development2.js.map +1 -0
- package/dist/_virtual/react-is.production.js +4 -0
- package/dist/_virtual/react-is.production.js.map +1 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-is.production.min.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.development.js +4 -0
- package/dist/_virtual/react-jsx-runtime.development.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js +4 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +16 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js +20 -0
- package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/blue.js +9 -0
- package/dist/node_modules/@mui/material/colors/blue.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/common.js +7 -0
- package/dist/node_modules/@mui/material/colors/common.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/green.js +10 -0
- package/dist/node_modules/@mui/material/colors/green.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/grey.js +19 -0
- package/dist/node_modules/@mui/material/colors/grey.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/lightBlue.js +9 -0
- package/dist/node_modules/@mui/material/colors/lightBlue.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/orange.js +9 -0
- package/dist/node_modules/@mui/material/colors/orange.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/purple.js +10 -0
- package/dist/node_modules/@mui/material/colors/purple.js.map +1 -0
- package/dist/node_modules/@mui/material/colors/red.js +9 -0
- package/dist/node_modules/@mui/material/colors/red.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/createMixins.js +20 -0
- package/dist/node_modules/@mui/material/styles/createMixins.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/createPalette.js +309 -0
- package/dist/node_modules/@mui/material/styles/createPalette.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/createTheme.js +86 -0
- package/dist/node_modules/@mui/material/styles/createTheme.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/createTransitions.js +92 -0
- package/dist/node_modules/@mui/material/styles/createTransitions.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/createTypography.js +94 -0
- package/dist/node_modules/@mui/material/styles/createTypography.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/defaultTheme.js +6 -0
- package/dist/node_modules/@mui/material/styles/defaultTheme.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/identifier.js +4 -0
- package/dist/node_modules/@mui/material/styles/identifier.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/shadows.js +12 -0
- package/dist/node_modules/@mui/material/styles/shadows.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/useTheme.js +16 -0
- package/dist/node_modules/@mui/material/styles/useTheme.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/zIndex.js +15 -0
- package/dist/node_modules/@mui/material/styles/zIndex.js.map +1 -0
- package/dist/node_modules/@mui/private-theming/ThemeProvider/nested.js +5 -0
- package/dist/node_modules/@mui/private-theming/ThemeProvider/nested.js.map +1 -0
- package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext.js +9 -0
- package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext.js.map +1 -0
- package/dist/node_modules/@mui/private-theming/useTheme/useTheme.js +14 -0
- package/dist/node_modules/@mui/private-theming/useTheme/useTheme.js.map +1 -0
- package/dist/node_modules/@mui/styles/StylesProvider/StylesProvider.js +151 -0
- package/dist/node_modules/@mui/styles/StylesProvider/StylesProvider.js.map +1 -0
- package/dist/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js +66 -0
- package/dist/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js.map +1 -0
- package/dist/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js +52 -0
- package/dist/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js.map +1 -0
- package/dist/node_modules/@mui/styles/getStylesCreator/noopTheme.js +5 -0
- package/dist/node_modules/@mui/styles/getStylesCreator/noopTheme.js.map +1 -0
- package/dist/node_modules/@mui/styles/jssPreset/jssPreset.js +21 -0
- package/dist/node_modules/@mui/styles/jssPreset/jssPreset.js.map +1 -0
- package/dist/node_modules/@mui/styles/makeStyles/indexCounter.js +22 -0
- package/dist/node_modules/@mui/styles/makeStyles/indexCounter.js.map +1 -0
- package/dist/node_modules/@mui/styles/makeStyles/makeStyles.js +230 -0
- package/dist/node_modules/@mui/styles/makeStyles/makeStyles.js.map +1 -0
- package/dist/node_modules/@mui/styles/makeStyles/multiKeyStore.js +23 -0
- package/dist/node_modules/@mui/styles/makeStyles/multiKeyStore.js.map +1 -0
- package/dist/node_modules/@mui/styles/mergeClasses/mergeClasses.js +37 -0
- package/dist/node_modules/@mui/styles/mergeClasses/mergeClasses.js.map +1 -0
- package/dist/node_modules/@mui/styles/propsToClassKey/propsToClassKey.js +31 -0
- package/dist/node_modules/@mui/styles/propsToClassKey/propsToClassKey.js.map +1 -0
- package/dist/node_modules/@mui/styles/useTheme/index.js +10 -0
- package/dist/node_modules/@mui/styles/useTheme/index.js.map +1 -0
- package/dist/node_modules/@mui/system/colorManipulator.js +386 -0
- package/dist/node_modules/@mui/system/colorManipulator.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/borders.js +52 -0
- package/dist/node_modules/@mui/system/esm/borders.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/breakpoints.js +67 -0
- package/dist/node_modules/@mui/system/esm/breakpoints.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/compose.js +27 -0
- package/dist/node_modules/@mui/system/esm/compose.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js +77 -0
- package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/createTheme/createBreakpoints.js +83 -0
- package/dist/node_modules/@mui/system/esm/createTheme/createBreakpoints.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing.js +35 -0
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js +46 -0
- package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/createTheme/shape.js +6 -0
- package/dist/node_modules/@mui/system/esm/createTheme/shape.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/cssGrid.js +87 -0
- package/dist/node_modules/@mui/system/esm/cssGrid.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/memoize.js +12 -0
- package/dist/node_modules/@mui/system/esm/memoize.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/merge.js +13 -0
- package/dist/node_modules/@mui/system/esm/merge.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/palette.js +29 -0
- package/dist/node_modules/@mui/system/esm/palette.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/responsivePropType.js +6 -0
- package/dist/node_modules/@mui/system/esm/responsivePropType.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/sizing.js +68 -0
- package/dist/node_modules/@mui/system/esm/sizing.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/spacing.js +145 -0
- package/dist/node_modules/@mui/system/esm/spacing.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/style.js +78 -0
- package/dist/node_modules/@mui/system/esm/style.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +294 -0
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +137 -0
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/useTheme.js +10 -0
- package/dist/node_modules/@mui/system/esm/useTheme.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault.js +13 -0
- package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +19 -0
- package/dist/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/capitalize/capitalize.js +15 -0
- package/dist/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/clamp/clamp.js +6 -0
- package/dist/node_modules/@mui/utils/esm/clamp/clamp.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/clamp/index.js +2 -0
- package/dist/node_modules/@mui/utils/esm/clamp/index.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +46 -0
- package/dist/node_modules/@mui/utils/esm/deepmerge/deepmerge.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/exactProp/exactProp.js +24 -0
- package/dist/node_modules/@mui/utils/esm/exactProp/exactProp.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +22 -0
- package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js +2 -0
- package/dist/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +23 -0
- package/dist/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js.map +1 -0
- package/dist/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +50 -0
- package/dist/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js.map +1 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js +143 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.js +140 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.js.map +1 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/index.js +20 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/css-vendor/dist/css-vendor.esm.js +574 -0
- package/dist/node_modules/css-vendor/dist/css-vendor.esm.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js +32 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js.map +1 -0
- package/dist/node_modules/date-fns/get_iso_week/index.js +49 -0
- package/dist/node_modules/date-fns/get_iso_week/index.js.map +1 -0
- package/dist/node_modules/date-fns/get_iso_year/index.js +59 -0
- package/dist/node_modules/date-fns/get_iso_year/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_date/index.js +32 -0
- package/dist/node_modules/date-fns/is_date/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_friday/index.js +35 -0
- package/dist/node_modules/date-fns/is_friday/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_monday/index.js +35 -0
- package/dist/node_modules/date-fns/is_monday/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_saturday/index.js +35 -0
- package/dist/node_modules/date-fns/is_saturday/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_sunday/index.js +35 -0
- package/dist/node_modules/date-fns/is_sunday/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_thursday/index.js +35 -0
- package/dist/node_modules/date-fns/is_thursday/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_tuesday/index.js +35 -0
- package/dist/node_modules/date-fns/is_tuesday/index.js.map +1 -0
- package/dist/node_modules/date-fns/is_wednesday/index.js +35 -0
- package/dist/node_modules/date-fns/is_wednesday/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/build_formatting_tokens_reg_exp/index.js +39 -0
- package/dist/node_modules/date-fns/locale/_lib/build_formatting_tokens_reg_exp/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/ar/build_distance_in_words_locale/index.js +110 -0
- package/dist/node_modules/date-fns/locale/ar/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/ar/build_format_locale/index.js +86 -0
- package/dist/node_modules/date-fns/locale/ar/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/ar/index.js +26 -0
- package/dist/node_modules/date-fns/locale/ar/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/de/build_distance_in_words_locale/index.js +196 -0
- package/dist/node_modules/date-fns/locale/de/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/de/build_format_locale/index.js +90 -0
- package/dist/node_modules/date-fns/locale/de/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/de/index.js +27 -0
- package/dist/node_modules/date-fns/locale/de/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js +110 -0
- package/dist/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en/build_format_locale/index.js +101 -0
- package/dist/node_modules/date-fns/locale/en/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en/index.js +25 -0
- package/dist/node_modules/date-fns/locale/en/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/es/build_distance_in_words_locale/index.js +110 -0
- package/dist/node_modules/date-fns/locale/es/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/es/build_format_locale/index.js +86 -0
- package/dist/node_modules/date-fns/locale/es/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/es/index.js +28 -0
- package/dist/node_modules/date-fns/locale/es/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/fr/build_distance_in_words_locale/index.js +110 -0
- package/dist/node_modules/date-fns/locale/fr/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/fr/build_format_locale/index.js +135 -0
- package/dist/node_modules/date-fns/locale/fr/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/fr/index.js +27 -0
- package/dist/node_modules/date-fns/locale/fr/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/it/build_distance_in_words_locale/index.js +110 -0
- package/dist/node_modules/date-fns/locale/it/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/it/build_format_locale/index.js +86 -0
- package/dist/node_modules/date-fns/locale/it/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/it/index.js +26 -0
- package/dist/node_modules/date-fns/locale/it/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/nl/build_distance_in_words_locale/index.js +110 -0
- package/dist/node_modules/date-fns/locale/nl/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/nl/build_format_locale/index.js +86 -0
- package/dist/node_modules/date-fns/locale/nl/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/nl/index.js +27 -0
- package/dist/node_modules/date-fns/locale/nl/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/th/build_distance_in_words_locale/index.js +114 -0
- package/dist/node_modules/date-fns/locale/th/build_distance_in_words_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/th/build_format_locale/index.js +74 -0
- package/dist/node_modules/date-fns/locale/th/build_format_locale/index.js.map +1 -0
- package/dist/node_modules/date-fns/locale/th/index.js +26 -0
- package/dist/node_modules/date-fns/locale/th/index.js.map +1 -0
- package/dist/node_modules/date-fns/parse/index.js +346 -0
- package/dist/node_modules/date-fns/parse/index.js.map +1 -0
- package/dist/node_modules/date-fns/start_of_iso_week/index.js +38 -0
- package/dist/node_modules/date-fns/start_of_iso_week/index.js.map +1 -0
- package/dist/node_modules/date-fns/start_of_iso_year/index.js +46 -0
- package/dist/node_modules/date-fns/start_of_iso_year/index.js.map +1 -0
- package/dist/node_modules/date-fns/start_of_week/index.js +51 -0
- package/dist/node_modules/date-fns/start_of_week/index.js.map +1 -0
- package/dist/node_modules/hyphenate-style-name/index.js +20 -0
- package/dist/node_modules/hyphenate-style-name/index.js.map +1 -0
- package/dist/node_modules/is-in-browser/dist/module.js +6 -0
- package/dist/node_modules/is-in-browser/dist/module.js.map +1 -0
- package/dist/node_modules/jss/dist/jss.esm.js +2220 -0
- package/dist/node_modules/jss/dist/jss.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js +60 -0
- package/dist/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js +252 -0
- package/dist/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js +187 -0
- package/dist/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js +114 -0
- package/dist/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js +29 -0
- package/dist/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js +66 -0
- package/dist/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js.map +1 -0
- package/dist/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js +58 -0
- package/dist/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js.map +1 -0
- package/dist/node_modules/object-assign/index.js +100 -0
- package/dist/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +116 -0
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +75 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +626 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/prop-types/index.js +34 -0
- package/dist/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +22 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/prop-types/lib/has.js +12 -0
- package/dist/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1326 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +25 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.js +20 -0
- package/dist/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +191 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +27 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +20 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/tiny-warning/dist/tiny-warning.esm.js +18 -0
- package/dist/node_modules/tiny-warning/dist/tiny-warning.esm.js.map +1 -0
- package/package.json +27 -12
- package/dist/dotstatsuite-components.js +0 -8580
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createPalette.js","sources":["../../../../../node_modules/@mui/material/styles/createPalette.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nconst _excluded = [\"mode\", \"contrastThreshold\", \"tonalOffset\"];\nimport deepmerge from '@mui/utils/deepmerge';\nimport { darken, getContrastRatio, lighten } from '@mui/system/colorManipulator';\nimport common from '../colors/common';\nimport grey from '../colors/grey';\nimport purple from '../colors/purple';\nimport red from '../colors/red';\nimport orange from '../colors/orange';\nimport blue from '../colors/blue';\nimport lightBlue from '../colors/lightBlue';\nimport green from '../colors/green';\nexport const light = {\n // The colors used to style the text.\n text: {\n // The most important text.\n primary: 'rgba(0, 0, 0, 0.87)',\n // Secondary text.\n secondary: 'rgba(0, 0, 0, 0.6)',\n // Disabled text have even lower visual prominence.\n disabled: 'rgba(0, 0, 0, 0.38)'\n },\n // The color used to divide different elements.\n divider: 'rgba(0, 0, 0, 0.12)',\n // The background colors used to style the surfaces.\n // Consistency between these values is important.\n background: {\n paper: common.white,\n default: common.white\n },\n // The colors used to style the action elements.\n action: {\n // The color of an active action like an icon button.\n active: 'rgba(0, 0, 0, 0.54)',\n // The color of an hovered action.\n hover: 'rgba(0, 0, 0, 0.04)',\n hoverOpacity: 0.04,\n // The color of a selected action.\n selected: 'rgba(0, 0, 0, 0.08)',\n selectedOpacity: 0.08,\n // The color of a disabled action.\n disabled: 'rgba(0, 0, 0, 0.26)',\n // The background color of a disabled action.\n disabledBackground: 'rgba(0, 0, 0, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(0, 0, 0, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.12\n }\n};\nexport const dark = {\n text: {\n primary: common.white,\n secondary: 'rgba(255, 255, 255, 0.7)',\n disabled: 'rgba(255, 255, 255, 0.5)',\n icon: 'rgba(255, 255, 255, 0.5)'\n },\n divider: 'rgba(255, 255, 255, 0.12)',\n background: {\n paper: '#121212',\n default: '#121212'\n },\n action: {\n active: common.white,\n hover: 'rgba(255, 255, 255, 0.08)',\n hoverOpacity: 0.08,\n selected: 'rgba(255, 255, 255, 0.16)',\n selectedOpacity: 0.16,\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(255, 255, 255, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.24\n }\n};\nfunction addLightOrDark(intent, direction, shade, tonalOffset) {\n const tonalOffsetLight = tonalOffset.light || tonalOffset;\n const tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;\n if (!intent[direction]) {\n if (intent.hasOwnProperty(shade)) {\n intent[direction] = intent[shade];\n } else if (direction === 'light') {\n intent.light = lighten(intent.main, tonalOffsetLight);\n } else if (direction === 'dark') {\n intent.dark = darken(intent.main, tonalOffsetDark);\n }\n }\n}\nfunction getDefaultPrimary(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: blue[200],\n light: blue[50],\n dark: blue[400]\n };\n }\n return {\n main: blue[700],\n light: blue[400],\n dark: blue[800]\n };\n}\nfunction getDefaultSecondary(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: purple[200],\n light: purple[50],\n dark: purple[400]\n };\n }\n return {\n main: purple[500],\n light: purple[300],\n dark: purple[700]\n };\n}\nfunction getDefaultError(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: red[500],\n light: red[300],\n dark: red[700]\n };\n }\n return {\n main: red[700],\n light: red[400],\n dark: red[800]\n };\n}\nfunction getDefaultInfo(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: lightBlue[400],\n light: lightBlue[300],\n dark: lightBlue[700]\n };\n }\n return {\n main: lightBlue[700],\n light: lightBlue[500],\n dark: lightBlue[900]\n };\n}\nfunction getDefaultSuccess(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: green[400],\n light: green[300],\n dark: green[700]\n };\n }\n return {\n main: green[800],\n light: green[500],\n dark: green[900]\n };\n}\nfunction getDefaultWarning(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: orange[400],\n light: orange[300],\n dark: orange[700]\n };\n }\n return {\n main: '#ed6c02',\n // closest to orange[800] that pass 3:1.\n light: orange[500],\n dark: orange[900]\n };\n}\nexport default function createPalette(palette) {\n const {\n mode = 'light',\n contrastThreshold = 3,\n tonalOffset = 0.2\n } = palette,\n other = _objectWithoutPropertiesLoose(palette, _excluded);\n const primary = palette.primary || getDefaultPrimary(mode);\n const secondary = palette.secondary || getDefaultSecondary(mode);\n const error = palette.error || getDefaultError(mode);\n const info = palette.info || getDefaultInfo(mode);\n const success = palette.success || getDefaultSuccess(mode);\n const warning = palette.warning || getDefaultWarning(mode);\n\n // Use the same logic as\n // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59\n // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54\n function getContrastText(background) {\n const contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;\n if (process.env.NODE_ENV !== 'production') {\n const contrast = getContrastRatio(background, contrastText);\n if (contrast < 3) {\n console.error([`MUI: The contrast ratio of ${contrast}:1 for ${contrastText} on ${background}`, 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\\n'));\n }\n }\n return contrastText;\n }\n const augmentColor = ({\n color,\n name,\n mainShade = 500,\n lightShade = 300,\n darkShade = 700\n }) => {\n color = _extends({}, color);\n if (!color.main && color[mainShade]) {\n color.main = color[mainShade];\n }\n if (!color.hasOwnProperty('main')) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\nThe color object needs to have a \\`main\\` property or a \\`${mainShade}\\` property.` : _formatMuiErrorMessage(11, name ? ` (${name})` : '', mainShade));\n }\n if (typeof color.main !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\n\\`color.main\\` should be a string, but \\`${JSON.stringify(color.main)}\\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from \"@mui/material/colors\";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });` : _formatMuiErrorMessage(12, name ? ` (${name})` : '', JSON.stringify(color.main)));\n }\n addLightOrDark(color, 'light', lightShade, tonalOffset);\n addLightOrDark(color, 'dark', darkShade, tonalOffset);\n if (!color.contrastText) {\n color.contrastText = getContrastText(color.main);\n }\n return color;\n };\n const modes = {\n dark,\n light\n };\n if (process.env.NODE_ENV !== 'production') {\n if (!modes[mode]) {\n console.error(`MUI: The palette mode \\`${mode}\\` is not supported.`);\n }\n }\n const paletteOutput = deepmerge(_extends({\n // A collection of common colors.\n common: _extends({}, common),\n // prevent mutable object.\n // The palette mode, can be light or dark.\n mode,\n // The colors used to represent primary interface elements for a user.\n primary: augmentColor({\n color: primary,\n name: 'primary'\n }),\n // The colors used to represent secondary interface elements for a user.\n secondary: augmentColor({\n color: secondary,\n name: 'secondary',\n mainShade: 'A400',\n lightShade: 'A200',\n darkShade: 'A700'\n }),\n // The colors used to represent interface elements that the user should be made aware of.\n error: augmentColor({\n color: error,\n name: 'error'\n }),\n // The colors used to represent potentially dangerous actions or important messages.\n warning: augmentColor({\n color: warning,\n name: 'warning'\n }),\n // The colors used to present information to the user that is neutral and not necessarily important.\n info: augmentColor({\n color: info,\n name: 'info'\n }),\n // The colors used to indicate the successful completion of an action that user triggered.\n success: augmentColor({\n color: success,\n name: 'success'\n }),\n // The grey colors.\n grey,\n // Used by `getContrastText()` to maximize the contrast between\n // the background and the text.\n contrastThreshold,\n // Takes a background color and returns the text color that maximizes the contrast.\n getContrastText,\n // Generate a rich color object.\n augmentColor,\n // Used by the functions below to shift a color's luminance by approximately\n // two indexes within its tonal palette.\n // E.g., shift from Red 500 to Red 300 or Red 700.\n tonalOffset\n }, modes[mode]), other);\n return paletteOutput;\n}"],"names":["lighten","darken","getContrastRatio","_formatMuiErrorMessage"],"mappings":";;;;;;;;;;;;;;AAGA,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,mBAAmB,EAAE,aAAa,CAAC;AAWlD,MAAC,KAAK,GAAG;AACrB;AACA,EAAE,IAAI,EAAE;AACR;AACA,IAAI,OAAO,EAAE,qBAAqB;AAClC;AACA,IAAI,SAAS,EAAE,oBAAoB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,YAAY,CAAC;AAC1B,MAAM,KAAK,EAAE,OAAO;AACpB,MAAM,IAAI,EAAE;AACZ,KAAK,CAAC;AACN;AACA,IAAI,IAAI,EAAE,YAAY,CAAC;AACvB,MAAM,KAAK,EAAE,IAAI;AACjB,MAAM,IAAI,EAAE;AACZ,KAAK,CAAC;AACN;AACA,IAAI,OAAO,EAAE,YAAY,CAAC;AAC1B,MAAM,KAAK,EAAE,OAAO;AACpB,MAAM,IAAI,EAAE;AACZ,KAAK,CAAC;AACN;AACA,IAAI,IAAI;AACR;AACA;AACA,IAAI,iBAAiB;AACrB;AACA,IAAI,eAAe;AACnB;AACA,IAAI,YAAY;AAChB;AACA;AACA;AACA,IAAI;AACJ,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,CAAC;AACzB,EAAE,OAAO,aAAa;AACtB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import _extends from '../../../@babel/runtime/helpers/esm/extends.js';
|
|
2
|
+
import _objectWithoutPropertiesLoose from '../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js';
|
|
3
|
+
import createMixins from './createMixins.js';
|
|
4
|
+
import createPalette from './createPalette.js';
|
|
5
|
+
import createTypography from './createTypography.js';
|
|
6
|
+
import shadows from './shadows.js';
|
|
7
|
+
import createTransitions from './createTransitions.js';
|
|
8
|
+
import zIndex from './zIndex.js';
|
|
9
|
+
import formatMuiErrorMessage from '../../utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js';
|
|
10
|
+
import createTheme$1 from '../../system/esm/createTheme/createTheme.js';
|
|
11
|
+
import deepmerge from '../../utils/esm/deepmerge/deepmerge.js';
|
|
12
|
+
import defaultSxConfig from '../../system/esm/styleFunctionSx/defaultSxConfig.js';
|
|
13
|
+
import styleFunctionSx from '../../system/esm/styleFunctionSx/styleFunctionSx.js';
|
|
14
|
+
import generateUtilityClass from '../../utils/esm/generateUtilityClass/generateUtilityClass.js';
|
|
15
|
+
|
|
16
|
+
const _excluded = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
17
|
+
function createTheme(options = {}, ...args) {
|
|
18
|
+
const {
|
|
19
|
+
mixins: mixinsInput = {},
|
|
20
|
+
palette: paletteInput = {},
|
|
21
|
+
transitions: transitionsInput = {},
|
|
22
|
+
typography: typographyInput = {}
|
|
23
|
+
} = options,
|
|
24
|
+
other = _objectWithoutPropertiesLoose(options, _excluded);
|
|
25
|
+
if (options.vars &&
|
|
26
|
+
// The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
27
|
+
// `generateCssVars` is the closest identifier for checking that the `options` is a result of `extendTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
28
|
+
options.generateCssVars === undefined) {
|
|
29
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
|
|
30
|
+
Please use another name.` : formatMuiErrorMessage(18));
|
|
31
|
+
}
|
|
32
|
+
const palette = createPalette(paletteInput);
|
|
33
|
+
const systemTheme = createTheme$1(options);
|
|
34
|
+
let muiTheme = deepmerge(systemTheme, {
|
|
35
|
+
mixins: createMixins(systemTheme.breakpoints, mixinsInput),
|
|
36
|
+
palette,
|
|
37
|
+
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
38
|
+
shadows: shadows.slice(),
|
|
39
|
+
typography: createTypography(palette, typographyInput),
|
|
40
|
+
transitions: createTransitions(transitionsInput),
|
|
41
|
+
zIndex: _extends({}, zIndex)
|
|
42
|
+
});
|
|
43
|
+
muiTheme = deepmerge(muiTheme, other);
|
|
44
|
+
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
|
45
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
46
|
+
// TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.
|
|
47
|
+
const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];
|
|
48
|
+
const traverse = (node, component) => {
|
|
49
|
+
let key;
|
|
50
|
+
|
|
51
|
+
// eslint-disable-next-line guard-for-in, no-restricted-syntax
|
|
52
|
+
for (key in node) {
|
|
53
|
+
const child = node[key];
|
|
54
|
+
if (stateClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {
|
|
55
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
56
|
+
const stateClass = generateUtilityClass('', key);
|
|
57
|
+
console.error([`MUI: The \`${component}\` component increases ` + `the CSS specificity of the \`${key}\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({
|
|
58
|
+
root: {
|
|
59
|
+
[`&.${stateClass}`]: child
|
|
60
|
+
}
|
|
61
|
+
}, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\n'));
|
|
62
|
+
}
|
|
63
|
+
// Remove the style to prevent global conflicts.
|
|
64
|
+
node[key] = {};
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
Object.keys(muiTheme.components).forEach(component => {
|
|
69
|
+
const styleOverrides = muiTheme.components[component].styleOverrides;
|
|
70
|
+
if (styleOverrides && component.indexOf('Mui') === 0) {
|
|
71
|
+
traverse(styleOverrides, component);
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig, other == null ? void 0 : other.unstable_sxConfig);
|
|
76
|
+
muiTheme.unstable_sx = function sx(props) {
|
|
77
|
+
return styleFunctionSx({
|
|
78
|
+
sx: props,
|
|
79
|
+
theme: this
|
|
80
|
+
});
|
|
81
|
+
};
|
|
82
|
+
return muiTheme;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { createTheme as default };
|
|
86
|
+
//# sourceMappingURL=createTheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createTheme.js","sources":["../../../../../node_modules/@mui/material/styles/createTheme.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nconst _excluded = [\"breakpoints\", \"mixins\", \"spacing\", \"palette\", \"transitions\", \"typography\", \"shape\"];\nimport deepmerge from '@mui/utils/deepmerge';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport systemCreateTheme from '@mui/system/createTheme';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport createMixins from './createMixins';\nimport createPalette from './createPalette';\nimport createTypography from './createTypography';\nimport shadows from './shadows';\nimport createTransitions from './createTransitions';\nimport zIndex from './zIndex';\nfunction createTheme(options = {}, ...args) {\n const {\n mixins: mixinsInput = {},\n palette: paletteInput = {},\n transitions: transitionsInput = {},\n typography: typographyInput = {}\n } = options,\n other = _objectWithoutPropertiesLoose(options, _excluded);\n if (options.vars &&\n // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.\n // `generateCssVars` is the closest identifier for checking that the `options` is a result of `extendTheme` with CSS variables so that user can create new theme for nested ThemeProvider.\n options.generateCssVars === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`vars\\` is a private field used for CSS variables support.\nPlease use another name.` : _formatMuiErrorMessage(18));\n }\n const palette = createPalette(paletteInput);\n const systemTheme = systemCreateTheme(options);\n let muiTheme = deepmerge(systemTheme, {\n mixins: createMixins(systemTheme.breakpoints, mixinsInput),\n palette,\n // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.\n shadows: shadows.slice(),\n typography: createTypography(palette, typographyInput),\n transitions: createTransitions(transitionsInput),\n zIndex: _extends({}, zIndex)\n });\n muiTheme = deepmerge(muiTheme, other);\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.\n const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];\n const traverse = (node, component) => {\n let key;\n\n // eslint-disable-next-line guard-for-in, no-restricted-syntax\n for (key in node) {\n const child = node[key];\n if (stateClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n const stateClass = generateUtilityClass('', key);\n console.error([`MUI: The \\`${component}\\` component increases ` + `the CSS specificity of the \\`${key}\\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({\n root: {\n [`&.${stateClass}`]: child\n }\n }, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\\n'));\n }\n // Remove the style to prevent global conflicts.\n node[key] = {};\n }\n }\n };\n Object.keys(muiTheme.components).forEach(component => {\n const styleOverrides = muiTheme.components[component].styleOverrides;\n if (styleOverrides && component.indexOf('Mui') === 0) {\n traverse(styleOverrides, component);\n }\n });\n }\n muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig, other == null ? void 0 : other.unstable_sxConfig);\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return muiTheme;\n}\nlet warnedOnce = false;\nexport function createMuiTheme(...args) {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnedOnce) {\n warnedOnce = true;\n console.error(['MUI: the createMuiTheme function was renamed to createTheme.', '', \"You should use `import { createTheme } from '@mui/material/styles'`\"].join('\\n'));\n }\n }\n return createTheme(...args);\n}\nexport default createTheme;"],"names":["_formatMuiErrorMessage","systemCreateTheme"],"mappings":";;;;;;;;;;;;;;;AAGA,MAAM,SAAS,GAAG,CAAC,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,Y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,CAAC,EAAE,EAAE,EAAE,uCAAuC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACjF,UAAU;AACV;AACA,UAAU,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE;AACxB,QAAQ;AACR,MAAM;AACN,IAAI,CAAC;AACL,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,SAAS,IAAI;AAC1D,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc;AAC1E,MAAM,IAAI,cAAc,IAAI,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;AAC5D,QAAQ,QAAQ,CAAC,cAAc,EAAE,SAAS,CAAC;AAC3C,MAAM;AACN,IAAI,CAAC,CAAC;AACN,EAAE;AACF,EAAE,QAAQ,CAAC,iBAAiB,GAAG,QAAQ,CAAC,EAAE,EAAE,eAAe,EAAE,KAAK,IAAI,IAAI,GAAG,MAAM,GAAG,KAAK,CAAC,iBAAiB,CAAC;AAC9G,EAAE,QAAQ,CAAC,WAAW,GAAG,SAAS,EAAE,CAAC,KAAK,EAAE;AAC5C,IAAI,OAAO,eAAe,CAAC;AAC3B,MAAM,EAAE,EAAE,KAAK;AACf,MAAM,KAAK,EAAE;AACb,KAAK,CAAC;AACN,EAAE,CAAC;AACH,EAAE,OAAO,QAAQ;AACjB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import _objectWithoutPropertiesLoose from '../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js';
|
|
2
|
+
import _extends from '../../../@babel/runtime/helpers/esm/extends.js';
|
|
3
|
+
|
|
4
|
+
const _excluded = ["duration", "easing", "delay"];
|
|
5
|
+
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
|
|
6
|
+
// to learn the context in which each easing should be used.
|
|
7
|
+
const easing = {
|
|
8
|
+
// This is the most common easing curve.
|
|
9
|
+
easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',
|
|
10
|
+
// Objects enter the screen at full velocity from off-screen and
|
|
11
|
+
// slowly decelerate to a resting point.
|
|
12
|
+
easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',
|
|
13
|
+
// Objects leave the screen at full velocity. They do not decelerate when off-screen.
|
|
14
|
+
easeIn: 'cubic-bezier(0.4, 0, 1, 1)',
|
|
15
|
+
// The sharp curve is used by objects that may return to the screen at any time.
|
|
16
|
+
sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
// Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations
|
|
20
|
+
// to learn when use what timing
|
|
21
|
+
const duration = {
|
|
22
|
+
shortest: 150,
|
|
23
|
+
shorter: 200,
|
|
24
|
+
short: 250,
|
|
25
|
+
// most basic recommended timing
|
|
26
|
+
standard: 300,
|
|
27
|
+
// this is to be used in complex animations
|
|
28
|
+
complex: 375,
|
|
29
|
+
// recommended when something is entering screen
|
|
30
|
+
enteringScreen: 225,
|
|
31
|
+
// recommended when something is leaving screen
|
|
32
|
+
leavingScreen: 195
|
|
33
|
+
};
|
|
34
|
+
function formatMs(milliseconds) {
|
|
35
|
+
return `${Math.round(milliseconds)}ms`;
|
|
36
|
+
}
|
|
37
|
+
function getAutoHeightDuration(height) {
|
|
38
|
+
if (!height) {
|
|
39
|
+
return 0;
|
|
40
|
+
}
|
|
41
|
+
const constant = height / 36;
|
|
42
|
+
|
|
43
|
+
// https://www.wolframalpha.com/input/?i=(4+%2B+15+*+(x+%2F+36+)+**+0.25+%2B+(x+%2F+36)+%2F+5)+*+10
|
|
44
|
+
return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10);
|
|
45
|
+
}
|
|
46
|
+
function createTransitions(inputTransitions) {
|
|
47
|
+
const mergedEasing = _extends({}, easing, inputTransitions.easing);
|
|
48
|
+
const mergedDuration = _extends({}, duration, inputTransitions.duration);
|
|
49
|
+
const create = (props = ['all'], options = {}) => {
|
|
50
|
+
const {
|
|
51
|
+
duration: durationOption = mergedDuration.standard,
|
|
52
|
+
easing: easingOption = mergedEasing.easeInOut,
|
|
53
|
+
delay = 0
|
|
54
|
+
} = options,
|
|
55
|
+
other = _objectWithoutPropertiesLoose(options, _excluded);
|
|
56
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
57
|
+
const isString = value => typeof value === 'string';
|
|
58
|
+
// IE11 support, replace with Number.isNaN
|
|
59
|
+
// eslint-disable-next-line no-restricted-globals
|
|
60
|
+
const isNumber = value => !isNaN(parseFloat(value));
|
|
61
|
+
if (!isString(props) && !Array.isArray(props)) {
|
|
62
|
+
console.error('MUI: Argument "props" must be a string or Array.');
|
|
63
|
+
}
|
|
64
|
+
if (!isNumber(durationOption) && !isString(durationOption)) {
|
|
65
|
+
console.error(`MUI: Argument "duration" must be a number or a string but found ${durationOption}.`);
|
|
66
|
+
}
|
|
67
|
+
if (!isString(easingOption)) {
|
|
68
|
+
console.error('MUI: Argument "easing" must be a string.');
|
|
69
|
+
}
|
|
70
|
+
if (!isNumber(delay) && !isString(delay)) {
|
|
71
|
+
console.error('MUI: Argument "delay" must be a number or a string.');
|
|
72
|
+
}
|
|
73
|
+
if (typeof options !== 'object') {
|
|
74
|
+
console.error(['MUI: Secong argument of transition.create must be an object.', "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join('\n'));
|
|
75
|
+
}
|
|
76
|
+
if (Object.keys(other).length !== 0) {
|
|
77
|
+
console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');
|
|
81
|
+
};
|
|
82
|
+
return _extends({
|
|
83
|
+
getAutoHeightDuration,
|
|
84
|
+
create
|
|
85
|
+
}, inputTransitions, {
|
|
86
|
+
easing: mergedEasing,
|
|
87
|
+
duration: mergedDuration
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export { createTransitions as default, duration, easing };
|
|
92
|
+
//# sourceMappingURL=createTransitions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createTransitions.js","sources":["../../../../../node_modules/@mui/material/styles/createTransitions.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"duration\", \"easing\", \"delay\"];\n// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nexport const easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n};\n\n// Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\nexport const duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\nfunction formatMs(milliseconds) {\n return `${Math.round(milliseconds)}ms`;\n}\nfunction getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n const constant = height / 36;\n\n // https://www.wolframalpha.com/input/?i=(4+%2B+15+*+(x+%2F+36+)+**+0.25+%2B+(x+%2F+36)+%2F+5)+*+10\n return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10);\n}\nexport default function createTransitions(inputTransitions) {\n const mergedEasing = _extends({}, easing, inputTransitions.easing);\n const mergedDuration = _extends({}, duration, inputTransitions.duration);\n const create = (props = ['all'], options = {}) => {\n const {\n duration: durationOption = mergedDuration.standard,\n easing: easingOption = mergedEasing.easeInOut,\n delay = 0\n } = options,\n other = _objectWithoutPropertiesLoose(options, _excluded);\n if (process.env.NODE_ENV !== 'production') {\n const isString = value => typeof value === 'string';\n // IE11 support, replace with Number.isNaN\n // eslint-disable-next-line no-restricted-globals\n const isNumber = value => !isNaN(parseFloat(value));\n if (!isString(props) && !Array.isArray(props)) {\n console.error('MUI: Argument \"props\" must be a string or Array.');\n }\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(`MUI: Argument \"duration\" must be a number or a string but found ${durationOption}.`);\n }\n if (!isString(easingOption)) {\n console.error('MUI: Argument \"easing\" must be a string.');\n }\n if (!isNumber(delay) && !isString(delay)) {\n console.error('MUI: Argument \"delay\" must be a number or a string.');\n }\n if (typeof options !== 'object') {\n console.error(['MUI: Secong argument of transition.create must be an object.', \"Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`\"].join('\\n'));\n }\n if (Object.keys(other).length !== 0) {\n console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);\n }\n }\n return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');\n };\n return _extends({\n getAutoHeightDuration,\n create\n }, inputTransitions, {\n easing: mergedEasing,\n duration: mergedDuration\n });\n}"],"names":[],"mappings":";;;AAEA,MAAM,SAAS,GAAG,CAAC,UAAU,EAAE,QAAQ,EAAE,OAAO,CAAC;AACjD;AACA;AACY,MAAC,MAAM,GAAG;AACtB;AACA,EAAE,SAAS,EAAE,8BAA8B;AAC3C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AAC,CAAC,MAAM,KAAK,CAAC,EAAE;AAC3C,QAAQ,OAAO,CAAC,KAAK,CAAC,CAAC,+BAA+B,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;AACzF,MAAM;AACN,IAAI;AACJ,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,YAAY,IAAI,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,OAAO,cAAc,KAAK,QAAQ,GAAG,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,OAAO,KAAK,KAAK,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;AAC7P,EAAE,CAAC;AACH,EAAE,OAAO,QAAQ,CAAC;AAClB,IAAI,qBAAqB;AACzB,IAAI;AACJ,GAAG,EAAE,gBAAgB,EAAE;AACvB,IAAI,MAAM,EAAE,YAAY;AACxB,IAAI,QAAQ,EAAE;AACd,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import _extends from '../../../@babel/runtime/helpers/esm/extends.js';
|
|
2
|
+
import _objectWithoutPropertiesLoose from '../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js';
|
|
3
|
+
import deepmerge from '../../utils/esm/deepmerge/deepmerge.js';
|
|
4
|
+
|
|
5
|
+
const _excluded = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
6
|
+
function round(value) {
|
|
7
|
+
return Math.round(value * 1e5) / 1e5;
|
|
8
|
+
}
|
|
9
|
+
const caseAllCaps = {
|
|
10
|
+
textTransform: 'uppercase'
|
|
11
|
+
};
|
|
12
|
+
const defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @see @link{https://m2.material.io/design/typography/the-type-system.html}
|
|
16
|
+
* @see @link{https://m2.material.io/design/typography/understanding-typography.html}
|
|
17
|
+
*/
|
|
18
|
+
function createTypography(palette, typography) {
|
|
19
|
+
const _ref = typeof typography === 'function' ? typography(palette) : typography,
|
|
20
|
+
{
|
|
21
|
+
fontFamily = defaultFontFamily,
|
|
22
|
+
// The default font size of the Material Specification.
|
|
23
|
+
fontSize = 14,
|
|
24
|
+
// px
|
|
25
|
+
fontWeightLight = 300,
|
|
26
|
+
fontWeightRegular = 400,
|
|
27
|
+
fontWeightMedium = 500,
|
|
28
|
+
fontWeightBold = 700,
|
|
29
|
+
// Tell MUI what's the font-size on the html element.
|
|
30
|
+
// 16px is the default font-size used by browsers.
|
|
31
|
+
htmlFontSize = 16,
|
|
32
|
+
// Apply the CSS properties to all the variants.
|
|
33
|
+
allVariants,
|
|
34
|
+
pxToRem: pxToRem2
|
|
35
|
+
} = _ref,
|
|
36
|
+
other = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
37
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
38
|
+
if (typeof fontSize !== 'number') {
|
|
39
|
+
console.error('MUI: `fontSize` is required to be a number.');
|
|
40
|
+
}
|
|
41
|
+
if (typeof htmlFontSize !== 'number') {
|
|
42
|
+
console.error('MUI: `htmlFontSize` is required to be a number.');
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
const coef = fontSize / 14;
|
|
46
|
+
const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);
|
|
47
|
+
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends({
|
|
48
|
+
fontFamily,
|
|
49
|
+
fontWeight,
|
|
50
|
+
fontSize: pxToRem(size),
|
|
51
|
+
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
52
|
+
lineHeight
|
|
53
|
+
}, fontFamily === defaultFontFamily ? {
|
|
54
|
+
letterSpacing: `${round(letterSpacing / size)}em`
|
|
55
|
+
} : {}, casing, allVariants);
|
|
56
|
+
const variants = {
|
|
57
|
+
h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),
|
|
58
|
+
h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),
|
|
59
|
+
h3: buildVariant(fontWeightRegular, 48, 1.167, 0),
|
|
60
|
+
h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),
|
|
61
|
+
h5: buildVariant(fontWeightRegular, 24, 1.334, 0),
|
|
62
|
+
h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),
|
|
63
|
+
subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),
|
|
64
|
+
subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),
|
|
65
|
+
body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),
|
|
66
|
+
body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),
|
|
67
|
+
button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),
|
|
68
|
+
caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
|
|
69
|
+
overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps),
|
|
70
|
+
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
71
|
+
inherit: {
|
|
72
|
+
fontFamily: 'inherit',
|
|
73
|
+
fontWeight: 'inherit',
|
|
74
|
+
fontSize: 'inherit',
|
|
75
|
+
lineHeight: 'inherit',
|
|
76
|
+
letterSpacing: 'inherit'
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
return deepmerge(_extends({
|
|
80
|
+
htmlFontSize,
|
|
81
|
+
pxToRem,
|
|
82
|
+
fontFamily,
|
|
83
|
+
fontSize,
|
|
84
|
+
fontWeightLight,
|
|
85
|
+
fontWeightRegular,
|
|
86
|
+
fontWeightMedium,
|
|
87
|
+
fontWeightBold
|
|
88
|
+
}, variants), other, {
|
|
89
|
+
clone: false // No need to clone deep
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export { createTypography as default };
|
|
94
|
+
//# sourceMappingURL=createTypography.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createTypography.js","sources":["../../../../../node_modules/@mui/material/styles/createTypography.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"fontFamily\", \"fontSize\", \"fontWeightLight\", \"fontWeightRegular\", \"fontWeightMedium\", \"fontWeightBold\", \"htmlFontSize\", \"allVariants\", \"pxToRem\"];\nimport deepmerge from '@mui/utils/deepmerge';\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\nconst caseAllCaps = {\n textTransform: 'uppercase'\n};\nconst defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n\n/**\n * @see @link{https://m2.material.io/design/typography/the-type-system.html}\n * @see @link{https://m2.material.io/design/typography/understanding-typography.html}\n */\nexport default function createTypography(palette, typography) {\n const _ref = typeof typography === 'function' ? typography(palette) : typography,\n {\n fontFamily = defaultFontFamily,\n // The default font size of the Material Specification.\n fontSize = 14,\n // px\n fontWeightLight = 300,\n fontWeightRegular = 400,\n fontWeightMedium = 500,\n fontWeightBold = 700,\n // Tell MUI what's the font-size on the html element.\n // 16px is the default font-size used by browsers.\n htmlFontSize = 16,\n // Apply the CSS properties to all the variants.\n allVariants,\n pxToRem: pxToRem2\n } = _ref,\n other = _objectWithoutPropertiesLoose(_ref, _excluded);\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error('MUI: `fontSize` is required to be a number.');\n }\n if (typeof htmlFontSize !== 'number') {\n console.error('MUI: `htmlFontSize` is required to be a number.');\n }\n }\n const coef = fontSize / 14;\n const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);\n const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends({\n fontFamily,\n fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight\n }, fontFamily === defaultFontFamily ? {\n letterSpacing: `${round(letterSpacing / size)}em`\n } : {}, casing, allVariants);\n const variants = {\n h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.167, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.334, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps),\n // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.\n inherit: {\n fontFamily: 'inherit',\n fontWeight: 'inherit',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit'\n }\n };\n return deepmerge(_extends({\n htmlFontSize,\n pxToRem,\n fontFamily,\n fontSize,\n fontWeightLight,\n fontWeightRegular,\n fontWeightMedium,\n fontWeightBold\n }, variants), other, {\n clone: false // No need to clone deep\n });\n}"],"names":[],"mappings":";;;;AAEA,MAAM,SAAS,GA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EAAE,IAAI,EAAE,GAAG,CAAC;AAC5D,IAAI,KAAK,EAAE,YAAY,CAAC,iBAAiB,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC;AACzD,IAAI,KAAK,EAAE,YAAY,CAAC,iBAAiB,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC;AAC1D,IAAI,MAAM,EAAE,YAAY,CAAC,gBAAgB,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,CAAC;AACtE,IAAI,OAAO,EAAE,YAAY,CAAC,iBAAiB,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC;AAC3D,IAAI,QAAQ,EAAE,YAAY,CAAC,iBAAiB,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,WAAW,CAAC;AACvE;AACA,IAAI,OAAO,EAAE;AACb,MAAM,UAAU,EAAE,SAAS;AAC3B,MAAM,UAAU,EAAE,SAAS;AAC3B,MAAM,QAAQ,EAAE,SAAS;AACzB,MAAM,UAAU,EAAE,SAAS;AAC3B,MAAM,aAAa,EAAE;AACrB;AACA,GAAG;AACH,EAAE,OAAO,SAAS,CAAC,QAAQ,CAAC;AAC5B,IAAI,YAAY;AAChB,IAAI,OAAO;AACX,IAAI,UAAU;AACd,IAAI,QAAQ;AACZ,IAAI,eAAe;AACnB,IAAI,iBAAiB;AACrB,IAAI,gBAAgB;AACpB,IAAI;AACJ,GAAG,EAAE,QAAQ,CAAC,EAAE,KAAK,EAAE;AACvB,IAAI,KAAK,EAAE,KAAK;AAChB,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultTheme.js","sources":["../../../../../node_modules/@mui/material/styles/defaultTheme.js"],"sourcesContent":["'use client';\n\nimport createTheme from './createTheme';\nconst defaultTheme = createTheme();\nexport default defaultTheme;"],"names":[],"mappings":";;AAGK,MAAC,YAAY,GAAG,WAAW;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identifier.js","sources":["../../../../../node_modules/@mui/material/styles/identifier.js"],"sourcesContent":["export default '$$material';"],"names":[],"mappings":"AAAA,eAAe,YAAY;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const shadowKeyUmbraOpacity = 0.2;
|
|
2
|
+
const shadowKeyPenumbraOpacity = 0.14;
|
|
3
|
+
const shadowAmbientShadowOpacity = 0.12;
|
|
4
|
+
function createShadow(...px) {
|
|
5
|
+
return [`${px[0]}px ${px[1]}px ${px[2]}px ${px[3]}px rgba(0,0,0,${shadowKeyUmbraOpacity})`, `${px[4]}px ${px[5]}px ${px[6]}px ${px[7]}px rgba(0,0,0,${shadowKeyPenumbraOpacity})`, `${px[8]}px ${px[9]}px ${px[10]}px ${px[11]}px rgba(0,0,0,${shadowAmbientShadowOpacity})`].join(',');
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss
|
|
9
|
+
const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
|
|
10
|
+
|
|
11
|
+
export { shadows as default };
|
|
12
|
+
//# sourceMappingURL=shadows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.js","sources":["../../../../../node_modules/@mui/material/styles/shadows.js"],"sourcesContent":["const shadowKeyUmbraOpacity = 0.2;\nconst shadowKeyPenumbraOpacity = 0.14;\nconst shadowAmbientShadowOpacity = 0.12;\nfunction createShadow(...px) {\n return [`${px[0]}px ${px[1]}px ${px[2]}px ${px[3]}px rgba(0,0,0,${shadowKeyUmbraOpacity})`, `${px[4]}px ${px[5]}px ${px[6]}px ${px[7]}px rgba(0,0,0,${shadowKeyPenumbraOpacity})`, `${px[8]}px ${px[9]}px ${px[10]}px ${px[11]}px rgba(0,0,0,${shadowAmbientShadowOpacity})`].join(',');\n}\n\n// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss\nconst shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];\nexport default shadows;"],"names":[],"mappings":"AAAA,MAAM,qBAAqB,GAAG,GAAG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EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import defaultTheme from './defaultTheme.js';
|
|
3
|
+
import THEME_ID from './identifier.js';
|
|
4
|
+
import useTheme$1 from '../../system/esm/useTheme.js';
|
|
5
|
+
|
|
6
|
+
function useTheme() {
|
|
7
|
+
const theme = useTheme$1(defaultTheme);
|
|
8
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
9
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
10
|
+
React.useDebugValue(theme);
|
|
11
|
+
}
|
|
12
|
+
return theme[THEME_ID] || theme;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { useTheme as default };
|
|
16
|
+
//# sourceMappingURL=useTheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.js","sources":["../../../../../node_modules/@mui/material/styles/useTheme.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTheme as useThemeSystem } from '@mui/system';\nimport defaultTheme from './defaultTheme';\nimport THEME_ID from './identifier';\nexport default function useTheme() {\n const theme = useThemeSystem(defaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme[THEME_ID] || theme;\n}"],"names":["useThemeSystem"],"mappings":";;;;;AAMe,SAAS,QAAQ,GAAG;AACnC,EAAE,MAAM,KAAK,GAAGA,UAAc,CAAC,YAAY,CAAC;AAC5C,EAAE,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;AAC7C;AACA,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC;AAC9B,EAAE;AACF,EAAE,OAAO,KAAK,CAAC,QAAQ,CAAC,IAAI,KAAK;AACjC;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// We need to centralize the zIndex definitions as they work
|
|
2
|
+
// like global values in the browser.
|
|
3
|
+
const zIndex = {
|
|
4
|
+
mobileStepper: 1000,
|
|
5
|
+
fab: 1050,
|
|
6
|
+
speedDial: 1050,
|
|
7
|
+
appBar: 1100,
|
|
8
|
+
drawer: 1200,
|
|
9
|
+
modal: 1300,
|
|
10
|
+
snackbar: 1400,
|
|
11
|
+
tooltip: 1500
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { zIndex as default };
|
|
15
|
+
//# sourceMappingURL=zIndex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zIndex.js","sources":["../../../../../node_modules/@mui/material/styles/zIndex.js"],"sourcesContent":["// We need to centralize the zIndex definitions as they work\n// like global values in the browser.\nconst zIndex = {\n mobileStepper: 1000,\n fab: 1050,\n speedDial: 1050,\n appBar: 1100,\n drawer: 1200,\n modal: 1300,\n snackbar: 1400,\n tooltip: 1500\n};\nexport default zIndex;"],"names":[],"mappings":"AAAA;AACA;AACK,MAAC,MAAM,GAAG;AACf,EAAE,aAAa,EAAE,IAAI;AACrB,EAAE,GAAG,EAAE,IAAI;AACX,EAAE,SAAS,EAAE,IAAI;AACjB,EAAE,MAAM,EAAE,IAAI;AACd,EAAE,MAAM,EAAE,IAAI;AACd,EAAE,KAAK,EAAE,IAAI;AACb,EAAE,QAAQ,EAAE,IAAI;AAChB,EAAE,OAAO,EAAE;AACX;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nested.js","sources":["../../../../../node_modules/@mui/private-theming/ThemeProvider/nested.js"],"sourcesContent":["const hasSymbol = typeof Symbol === 'function' && Symbol.for;\nexport default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG,OAAO,MAAM,KAAK,UAAU,IAAI,MAAM,CAAC,GAAG;AAC5D,aAAe,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,kBAAkB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
const ThemeContext = /*#__PURE__*/React.createContext(null);
|
|
4
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
5
|
+
ThemeContext.displayName = 'ThemeContext';
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export { ThemeContext as default };
|
|
9
|
+
//# sourceMappingURL=ThemeContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeContext.js","sources":["../../../../../node_modules/@mui/private-theming/useTheme/ThemeContext.js"],"sourcesContent":["import * as React from 'react';\nconst ThemeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'ThemeContext';\n}\nexport default ThemeContext;"],"names":[],"mappings":";;AACK,MAAC,YAAY,gBAAgB,KAAK,CAAC,aAAa,CAAC,IAAI;AAC1D,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;AAC3C,EAAE,YAAY,CAAC,WAAW,GAAG,cAAc;AAC3C;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import ThemeContext from './ThemeContext.js';
|
|
3
|
+
|
|
4
|
+
function useTheme() {
|
|
5
|
+
const theme = React.useContext(ThemeContext);
|
|
6
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
7
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
8
|
+
React.useDebugValue(theme);
|
|
9
|
+
}
|
|
10
|
+
return theme;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { useTheme as default };
|
|
14
|
+
//# sourceMappingURL=useTheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.js","sources":["../../../../../node_modules/@mui/private-theming/useTheme/useTheme.js"],"sourcesContent":["import * as React from 'react';\nimport ThemeContext from './ThemeContext';\nexport default function useTheme() {\n const theme = React.useContext(ThemeContext);\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme;\n}"],"names":[],"mappings":";;;AAEe,SAAS,QAAQ,GAAG;AACnC,EAAE,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC;AAC9C,EAAE,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;AAC7C;AACA,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC;AAC9B,EAAE;AACF,EAAE,OAAO,KAAK;AACd;;;;","x_google_ignoreList":[0]}
|