@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,67 @@
|
|
|
1
|
+
// The breakpoint **start** at this value.
|
|
2
|
+
// For instance with the first breakpoint xs: [xs, sm[.
|
|
3
|
+
const values = {
|
|
4
|
+
xs: 0,
|
|
5
|
+
// phone
|
|
6
|
+
sm: 600,
|
|
7
|
+
// tablet
|
|
8
|
+
md: 900,
|
|
9
|
+
// small laptop
|
|
10
|
+
lg: 1200,
|
|
11
|
+
// desktop
|
|
12
|
+
xl: 1536 // large screen
|
|
13
|
+
};
|
|
14
|
+
const defaultBreakpoints = {
|
|
15
|
+
// Sorted ASC by size. That's important.
|
|
16
|
+
// It can't be configured as it's used statically for propTypes.
|
|
17
|
+
keys: ['xs', 'sm', 'md', 'lg', 'xl'],
|
|
18
|
+
up: key => `@media (min-width:${values[key]}px)`
|
|
19
|
+
};
|
|
20
|
+
function handleBreakpoints(props, propValue, styleFromPropValue) {
|
|
21
|
+
const theme = props.theme || {};
|
|
22
|
+
if (Array.isArray(propValue)) {
|
|
23
|
+
const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
|
|
24
|
+
return propValue.reduce((acc, item, index) => {
|
|
25
|
+
acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
|
|
26
|
+
return acc;
|
|
27
|
+
}, {});
|
|
28
|
+
}
|
|
29
|
+
if (typeof propValue === 'object') {
|
|
30
|
+
const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
|
|
31
|
+
return Object.keys(propValue).reduce((acc, breakpoint) => {
|
|
32
|
+
// key is breakpoint
|
|
33
|
+
if (Object.keys(themeBreakpoints.values || values).indexOf(breakpoint) !== -1) {
|
|
34
|
+
const mediaKey = themeBreakpoints.up(breakpoint);
|
|
35
|
+
acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
|
|
36
|
+
} else {
|
|
37
|
+
const cssKey = breakpoint;
|
|
38
|
+
acc[cssKey] = propValue[cssKey];
|
|
39
|
+
}
|
|
40
|
+
return acc;
|
|
41
|
+
}, {});
|
|
42
|
+
}
|
|
43
|
+
const output = styleFromPropValue(propValue);
|
|
44
|
+
return output;
|
|
45
|
+
}
|
|
46
|
+
function createEmptyBreakpointObject(breakpointsInput = {}) {
|
|
47
|
+
var _breakpointsInput$key;
|
|
48
|
+
const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ? void 0 : _breakpointsInput$key.reduce((acc, key) => {
|
|
49
|
+
const breakpointStyleKey = breakpointsInput.up(key);
|
|
50
|
+
acc[breakpointStyleKey] = {};
|
|
51
|
+
return acc;
|
|
52
|
+
}, {});
|
|
53
|
+
return breakpointsInOrder || {};
|
|
54
|
+
}
|
|
55
|
+
function removeUnusedBreakpoints(breakpointKeys, style) {
|
|
56
|
+
return breakpointKeys.reduce((acc, key) => {
|
|
57
|
+
const breakpointOutput = acc[key];
|
|
58
|
+
const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;
|
|
59
|
+
if (isBreakpointUnused) {
|
|
60
|
+
delete acc[key];
|
|
61
|
+
}
|
|
62
|
+
return acc;
|
|
63
|
+
}, style);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export { createEmptyBreakpointObject, handleBreakpoints, removeUnusedBreakpoints, values };
|
|
67
|
+
//# sourceMappingURL=breakpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoints.js","sources":["../../../../../node_modules/@mui/system/esm/breakpoints.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport PropTypes from 'prop-types';\nimport deepmerge from '@mui/utils/deepmerge';\nimport merge from './merge';\n\n// The breakpoint **start** at this value.\n// For instance with the first breakpoint xs: [xs, sm[.\nexport const values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n};\nconst defaultBreakpoints = {\n // Sorted ASC by size. That's important.\n // It can't be configured as it's used statically for propTypes.\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\n up: key => `@media (min-width:${values[key]}px)`\n};\nexport function handleBreakpoints(props, propValue, styleFromPropValue) {\n const theme = props.theme || {};\n if (Array.isArray(propValue)) {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return propValue.reduce((acc, item, index) => {\n acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);\n return acc;\n }, {});\n }\n if (typeof propValue === 'object') {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return Object.keys(propValue).reduce((acc, breakpoint) => {\n // key is breakpoint\n if (Object.keys(themeBreakpoints.values || values).indexOf(breakpoint) !== -1) {\n const mediaKey = themeBreakpoints.up(breakpoint);\n acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);\n } else {\n const cssKey = breakpoint;\n acc[cssKey] = propValue[cssKey];\n }\n return acc;\n }, {});\n }\n const output = styleFromPropValue(propValue);\n return output;\n}\nfunction breakpoints(styleFunction) {\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const newStyleFunction = props => {\n const theme = props.theme || {};\n const base = styleFunction(props);\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n const extended = themeBreakpoints.keys.reduce((acc, key) => {\n if (props[key]) {\n acc = acc || {};\n acc[themeBreakpoints.up(key)] = styleFunction(_extends({\n theme\n }, props[key]));\n }\n return acc;\n }, null);\n return merge(base, extended);\n };\n newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends({}, styleFunction.propTypes, {\n xs: PropTypes.object,\n sm: PropTypes.object,\n md: PropTypes.object,\n lg: PropTypes.object,\n xl: PropTypes.object\n }) : {};\n newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl', ...styleFunction.filterProps];\n return newStyleFunction;\n}\nexport function createEmptyBreakpointObject(breakpointsInput = {}) {\n var _breakpointsInput$key;\n const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ? void 0 : _breakpointsInput$key.reduce((acc, key) => {\n const breakpointStyleKey = breakpointsInput.up(key);\n acc[breakpointStyleKey] = {};\n return acc;\n }, {});\n return breakpointsInOrder || {};\n}\nexport function removeUnusedBreakpoints(breakpointKeys, style) {\n return breakpointKeys.reduce((acc, key) => {\n const breakpointOutput = acc[key];\n const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;\n if (isBreakpointUnused) {\n delete acc[key];\n }\n return acc;\n }, style);\n}\nexport function mergeBreakpointsInOrder(breakpointsInput, ...styles) {\n const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);\n const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => deepmerge(prev, next), {});\n return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);\n}\n\n// compute base for responsive values; e.g.,\n// [1,2,3] => {xs: true, sm: true, md: true}\n// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}\nexport function computeBreakpointsBase(breakpointValues, themeBreakpoints) {\n // fixed value\n if (typeof breakpointValues !== 'object') {\n return {};\n }\n const base = {};\n const breakpointsKeys = Object.keys(themeBreakpoints);\n if (Array.isArray(breakpointValues)) {\n breakpointsKeys.forEach((breakpoint, i) => {\n if (i < breakpointValues.length) {\n base[breakpoint] = true;\n }\n });\n } else {\n breakpointsKeys.forEach(breakpoint => {\n if (breakpointValues[breakpoint] != null) {\n base[breakpoint] = true;\n }\n });\n }\n return base;\n}\nexport function resolveBreakpointValues({\n values: breakpointValues,\n breakpoints: themeBreakpoints,\n base: customBase\n}) {\n const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);\n const keys = Object.keys(base);\n if (keys.length === 0) {\n return breakpointValues;\n }\n let previous;\n return keys.reduce((acc, breakpoint, i) => {\n if (Array.isArray(breakpointValues)) {\n acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];\n previous = i;\n } else if (typeof breakpointValues === 'object') {\n acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous];\n previous = breakpoint;\n } else {\n acc[breakpoint] = breakpointValues;\n }\n return acc;\n }, {});\n}\nexport default breakpoints;"],"names":[],"mappings":"AAKA;AACA;AACY,MAAC,MAAM,GAAG;AACtB,EAAE,EAAE,EAAE,CAAC;AACP;AACA,EAAE,EAAE,EAAE,GAAG;AACT;AACA,EAAE,EAAE,EAAE,GAAG;AACT;AACA,EAAE,EAAE,EAAE,IAAI;AACV;AACA,EAAE,EAAE,EAAE,IAAI;AACV;AACA,MAAM,kBAAkB,GAAG;AAC3B;AACA;AACA,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AACtC,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAAG,CAAC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|
5
|
+
style.filterProps.forEach(prop => {
|
|
6
|
+
acc[prop] = style;
|
|
7
|
+
});
|
|
8
|
+
return acc;
|
|
9
|
+
}, {});
|
|
10
|
+
|
|
11
|
+
// false positive
|
|
12
|
+
// eslint-disable-next-line react/function-component-definition
|
|
13
|
+
const fn = props => {
|
|
14
|
+
return Object.keys(props).reduce((acc, prop) => {
|
|
15
|
+
if (handlers[prop]) {
|
|
16
|
+
return merge(acc, handlers[prop](props));
|
|
17
|
+
}
|
|
18
|
+
return acc;
|
|
19
|
+
}, {});
|
|
20
|
+
};
|
|
21
|
+
fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};
|
|
22
|
+
fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);
|
|
23
|
+
return fn;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { compose as default };
|
|
27
|
+
//# sourceMappingURL=compose.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compose.js","sources":["../../../../../node_modules/@mui/system/esm/compose.js"],"sourcesContent":["import merge from './merge';\nfunction compose(...styles) {\n const handlers = styles.reduce((acc, style) => {\n style.filterProps.forEach(prop => {\n acc[prop] = style;\n });\n return acc;\n }, {});\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n return Object.keys(props).reduce((acc, prop) => {\n if (handlers[prop]) {\n return merge(acc, handlers[prop](props));\n }\n return acc;\n }, {});\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n return fn;\n}\nexport default compose;"],"names":[],"mappings":";;AACA,SAAS,OAAO,CAAC,GAAG,MAAM,EAAE;AAC5B,EAAE,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK;AACjD,IAAI,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,IAAI;AACtC,MAAM,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK;AACvB,IAAI,CAAC,CAAC;AACN,IAAI,OAAO,GAAG;AACd,EAAE,CAAC,EAAE,EAAE,CAAC;;AAER;AACA;AACA,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI;AACtB,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,KAAK;AACpD,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE;AAC1B,QAAQ,OAAO,KAAK,CAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM;AACN,MAAM,OAAO,GAAG;AAChB,IAAI,CAAC,EAAE,EAAE,CAAC;AACV,EAAE,CAAC;AACH,EAAE,EAAE,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE;AACpI,EAAE,EAAE,CAAC,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC;AACnF,EAAE,OAAO,EAAE;AACX;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A universal utility to style components with multiple color modes. Always use it from the theme object.
|
|
3
|
+
* It works with:
|
|
4
|
+
* - [Basic theme](https://mui.com/material-ui/customization/dark-mode/)
|
|
5
|
+
* - [CSS theme variables](https://mui.com/material-ui/experimental-api/css-theme-variables/overview/)
|
|
6
|
+
* - Zero-runtime engine
|
|
7
|
+
*
|
|
8
|
+
* Tips: Use an array over object spread and place `theme.applyStyles()` last.
|
|
9
|
+
*
|
|
10
|
+
* ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]
|
|
11
|
+
*
|
|
12
|
+
* 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* 1. using with `styled`:
|
|
16
|
+
* ```jsx
|
|
17
|
+
* const Component = styled('div')(({ theme }) => [
|
|
18
|
+
* { background: '#e5e5e5' },
|
|
19
|
+
* theme.applyStyles('dark', {
|
|
20
|
+
* background: '#1c1c1c',
|
|
21
|
+
* color: '#fff',
|
|
22
|
+
* }),
|
|
23
|
+
* ]);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 2. using with `sx` prop:
|
|
28
|
+
* ```jsx
|
|
29
|
+
* <Box sx={theme => [
|
|
30
|
+
* { background: '#e5e5e5' },
|
|
31
|
+
* theme.applyStyles('dark', {
|
|
32
|
+
* background: '#1c1c1c',
|
|
33
|
+
* color: '#fff',
|
|
34
|
+
* }),
|
|
35
|
+
* ]}
|
|
36
|
+
* />
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* 3. theming a component:
|
|
41
|
+
* ```jsx
|
|
42
|
+
* extendTheme({
|
|
43
|
+
* components: {
|
|
44
|
+
* MuiButton: {
|
|
45
|
+
* styleOverrides: {
|
|
46
|
+
* root: ({ theme }) => [
|
|
47
|
+
* { background: '#e5e5e5' },
|
|
48
|
+
* theme.applyStyles('dark', {
|
|
49
|
+
* background: '#1c1c1c',
|
|
50
|
+
* color: '#fff',
|
|
51
|
+
* }),
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* }
|
|
55
|
+
* }
|
|
56
|
+
* })
|
|
57
|
+
*```
|
|
58
|
+
*/
|
|
59
|
+
function applyStyles(key, styles) {
|
|
60
|
+
// @ts-expect-error this is 'any' type
|
|
61
|
+
const theme = this;
|
|
62
|
+
if (theme.vars && typeof theme.getColorSchemeSelector === 'function') {
|
|
63
|
+
// If CssVarsProvider is used as a provider,
|
|
64
|
+
// returns '* :where([data-mui-color-scheme="light|dark"]) &'
|
|
65
|
+
const selector = theme.getColorSchemeSelector(key).replace(/(\[[^\]]+\])/, '*:where($1)');
|
|
66
|
+
return {
|
|
67
|
+
[selector]: styles
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
if (theme.palette.mode === key) {
|
|
71
|
+
return styles;
|
|
72
|
+
}
|
|
73
|
+
return {};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export { applyStyles as default };
|
|
77
|
+
//# sourceMappingURL=applyStyles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applyStyles.js","sources":["../../../../../../node_modules/@mui/system/esm/createTheme/applyStyles.js"],"sourcesContent":["/**\n * A universal utility to style components with multiple color modes. Always use it from the theme object.\n * It works with:\n * - [Basic theme](https://mui.com/material-ui/customization/dark-mode/)\n * - [CSS theme variables](https://mui.com/material-ui/experimental-api/css-theme-variables/overview/)\n * - Zero-runtime engine\n *\n * Tips: Use an array over object spread and place `theme.applyStyles()` last.\n *\n * ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]\n *\n * 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}\n *\n * @example\n * 1. using with `styled`:\n * ```jsx\n * const Component = styled('div')(({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]);\n * ```\n *\n * @example\n * 2. using with `sx` prop:\n * ```jsx\n * <Box sx={theme => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]}\n * />\n * ```\n *\n * @example\n * 3. theming a component:\n * ```jsx\n * extendTheme({\n * components: {\n * MuiButton: {\n * styleOverrides: {\n * root: ({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ],\n * },\n * }\n * }\n * })\n *```\n */\nexport default function applyStyles(key, styles) {\n // @ts-expect-error this is 'any' type\n const theme = this;\n if (theme.vars && typeof theme.getColorSchemeSelector === 'function') {\n // If CssVarsProvider is used as a provider,\n // returns '* :where([data-mui-color-scheme=\"light|dark\"]) &'\n const selector = theme.getColorSchemeSelector(key).replace(/(\\[[^\\]]+\\])/, '*:where($1)');\n return {\n [selector]: styles\n };\n }\n if (theme.palette.mode === key) {\n return styles;\n }\n return {};\n}"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE;AACjD;AACA,EAAE,MAAM,KAAK,GAAG,IAAI;AACpB,EAAE,IAAI,KAAK,CAAC,IAAI,IAAI,OAAO,KAAK,CAAC,sBAAsB,KAAK,UAAU,EAAE;AACxE;AACA;AACA,IAAI,MAAM,QAAQ,GAAG,KAAK,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,aAAa,CAAC;AAC7F,IAAI,OAAO;AACX,MAAM,CAAC,QAAQ,GAAG;AAClB,KAAK;AACL,EAAE;AACF,EAAE,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,GAAG,EAAE;AAClC,IAAI,OAAO,MAAM;AACjB,EAAE;AACF,EAAE,OAAO,EAAE;AACX;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import _objectWithoutPropertiesLoose from '../../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js';
|
|
2
|
+
import _extends from '../../../../@babel/runtime/helpers/esm/extends.js';
|
|
3
|
+
|
|
4
|
+
const _excluded = ["values", "unit", "step"];
|
|
5
|
+
const sortBreakpointsValues = values => {
|
|
6
|
+
const breakpointsAsArray = Object.keys(values).map(key => ({
|
|
7
|
+
key,
|
|
8
|
+
val: values[key]
|
|
9
|
+
})) || [];
|
|
10
|
+
// Sort in ascending order
|
|
11
|
+
breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);
|
|
12
|
+
return breakpointsAsArray.reduce((acc, obj) => {
|
|
13
|
+
return _extends({}, acc, {
|
|
14
|
+
[obj.key]: obj.val
|
|
15
|
+
});
|
|
16
|
+
}, {});
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
// Keep in mind that @media is inclusive by the CSS specification.
|
|
20
|
+
function createBreakpoints(breakpoints) {
|
|
21
|
+
const {
|
|
22
|
+
// The breakpoint **start** at this value.
|
|
23
|
+
// For instance with the first breakpoint xs: [xs, sm).
|
|
24
|
+
values = {
|
|
25
|
+
xs: 0,
|
|
26
|
+
// phone
|
|
27
|
+
sm: 600,
|
|
28
|
+
// tablet
|
|
29
|
+
md: 900,
|
|
30
|
+
// small laptop
|
|
31
|
+
lg: 1200,
|
|
32
|
+
// desktop
|
|
33
|
+
xl: 1536 // large screen
|
|
34
|
+
},
|
|
35
|
+
unit = 'px',
|
|
36
|
+
step = 5
|
|
37
|
+
} = breakpoints,
|
|
38
|
+
other = _objectWithoutPropertiesLoose(breakpoints, _excluded);
|
|
39
|
+
const sortedValues = sortBreakpointsValues(values);
|
|
40
|
+
const keys = Object.keys(sortedValues);
|
|
41
|
+
function up(key) {
|
|
42
|
+
const value = typeof values[key] === 'number' ? values[key] : key;
|
|
43
|
+
return `@media (min-width:${value}${unit})`;
|
|
44
|
+
}
|
|
45
|
+
function down(key) {
|
|
46
|
+
const value = typeof values[key] === 'number' ? values[key] : key;
|
|
47
|
+
return `@media (max-width:${value - step / 100}${unit})`;
|
|
48
|
+
}
|
|
49
|
+
function between(start, end) {
|
|
50
|
+
const endIndex = keys.indexOf(end);
|
|
51
|
+
return `@media (min-width:${typeof values[start] === 'number' ? values[start] : start}${unit}) and ` + `(max-width:${(endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100}${unit})`;
|
|
52
|
+
}
|
|
53
|
+
function only(key) {
|
|
54
|
+
if (keys.indexOf(key) + 1 < keys.length) {
|
|
55
|
+
return between(key, keys[keys.indexOf(key) + 1]);
|
|
56
|
+
}
|
|
57
|
+
return up(key);
|
|
58
|
+
}
|
|
59
|
+
function not(key) {
|
|
60
|
+
// handle first and last key separately, for better readability
|
|
61
|
+
const keyIndex = keys.indexOf(key);
|
|
62
|
+
if (keyIndex === 0) {
|
|
63
|
+
return up(keys[1]);
|
|
64
|
+
}
|
|
65
|
+
if (keyIndex === keys.length - 1) {
|
|
66
|
+
return down(keys[keyIndex]);
|
|
67
|
+
}
|
|
68
|
+
return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');
|
|
69
|
+
}
|
|
70
|
+
return _extends({
|
|
71
|
+
keys,
|
|
72
|
+
values: sortedValues,
|
|
73
|
+
up,
|
|
74
|
+
down,
|
|
75
|
+
between,
|
|
76
|
+
only,
|
|
77
|
+
not,
|
|
78
|
+
unit
|
|
79
|
+
}, other);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export { createBreakpoints as default };
|
|
83
|
+
//# sourceMappingURL=createBreakpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createBreakpoints.js","sources":["../../../../../../node_modules/@mui/system/esm/createTheme/createBreakpoints.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"values\", \"unit\", \"step\"];\n// Sorted ASC by size. That's important.\n// It can't be configured as it's used statically for propTypes.\nexport const breakpointKeys = ['xs', 'sm', 'md', 'lg', 'xl'];\nconst sortBreakpointsValues = values => {\n const breakpointsAsArray = Object.keys(values).map(key => ({\n key,\n val: values[key]\n })) || [];\n // Sort in ascending order\n breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);\n return breakpointsAsArray.reduce((acc, obj) => {\n return _extends({}, acc, {\n [obj.key]: obj.val\n });\n }, {});\n};\n\n// Keep in mind that @media is inclusive by the CSS specification.\nexport default function createBreakpoints(breakpoints) {\n const {\n // The breakpoint **start** at this value.\n // For instance with the first breakpoint xs: [xs, sm).\n values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n },\n unit = 'px',\n step = 5\n } = breakpoints,\n other = _objectWithoutPropertiesLoose(breakpoints, _excluded);\n const sortedValues = sortBreakpointsValues(values);\n const keys = Object.keys(sortedValues);\n function up(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (min-width:${value}${unit})`;\n }\n function down(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (max-width:${value - step / 100}${unit})`;\n }\n function between(start, end) {\n const endIndex = keys.indexOf(end);\n return `@media (min-width:${typeof values[start] === 'number' ? values[start] : start}${unit}) and ` + `(max-width:${(endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100}${unit})`;\n }\n function only(key) {\n if (keys.indexOf(key) + 1 < keys.length) {\n return between(key, keys[keys.indexOf(key) + 1]);\n }\n return up(key);\n }\n function not(key) {\n // handle first and last key separately, for better readability\n const keyIndex = keys.indexOf(key);\n if (keyIndex === 0) {\n return up(keys[1]);\n }\n if (keyIndex === keys.length - 1) {\n return down(keys[keyIndex]);\n }\n return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');\n }\n return _extends({\n keys,\n values: sortedValues,\n up,\n down,\n between,\n only,\n not,\n unit\n }, other);\n}"],"names":[],"mappings":";;;AAEA,MAAM,SAAS,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC;AAI5C,MAAM,qBAAqB,GAAG,MAAM,IAAI;AACxC,EAAE,MAAM,kBAAkB,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK;AAC7D,IAAI,GAAG;AACP,IAAI,GAAG,EAAE,MAAM,CAAC,GAAG;AACnB,GAAG,CAAC,CAAC,IAAI,EAAE;AACX;AACA,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,WAAW,KAAK,WAAW,CAAC,GAAG,GAAG,WAAW,CAAC,GAAG,CAAC;AAC1F,EAAE,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK;AACjD,IAAI,OAAO,QAAQ,CAAC,EAAE,EAAE,GAAG,EAAE;AAC7B,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC;AACrB,KAAK,CAAC;AACN,EAAE,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;;AAED;AACe,SAAS,iBAAiB,CAAC,WAAW,EAAE;AACvD,EAAE,MAAM;AACR;AACA;AACA,MAAM,MAAM,GAAG;AACf,QAAQ,EAAE,EAAE,CAAC;AACb;AACA,QAAQ,EAAE,EAAE,GAAG;AACf;AACA,QAAQ,EAAE,EAAE,GAAG;AACf;AACA,QAAQ,EAAE,EAAE,IAAI;AAChB;AACA,QAAQ,EAAE,EAAE,IAAI;AAChB,OAAO;AACP,MAAM,IAAI,GAAG,IAAI;AACjB,MAAM,IAAI,GAAG;AACb,KAAK,GAAG,WAAW;AACnB,IAAI,KAAK,G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AAE,SAAS,IAAI,CAAC,GAAG,EAAE;AACrB,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE;AAC7C,MAAM,OAAO,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;AACtD,IAAI;AACJ,IAAI,OAAO,EAAE,CAAC,GAAG,CAAC;AAClB,EAAE;AACF,EAAE,SAAS,GAAG,CAAC,GAAG,EAAE;AACpB;AACA,IAAI,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;AACtC,IAAI,IAAI,QAAQ,KAAK,CAAC,EAAE;AACxB,MAAM,OAAO,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACxB,IAAI;AACJ,IAAI,IAAI,QAAQ,KAAK,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE;AACtC,MAAM,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACjC,IAAI;AACJ,IAAI,OAAO,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,oBAAoB,CAAC;AAC5F,EAAE;AACF,EAAE,OAAO,QAAQ,CAAC;AAClB,IAAI,IAAI;AACR,IAAI,MAAM,EAAE,YAAY;AACxB,IAAI,EAAE;AACN,IAAI,IAAI;AACR,IAAI,OAAO;AACX,IAAI,IAAI;AACR,IAAI,GAAG;AACP,IAAI;AACJ,GAAG,EAAE,KAAK,CAAC;AACX;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createUnarySpacing } from '../spacing.js';
|
|
2
|
+
|
|
3
|
+
// The different signatures imply different meaning for their arguments that can't be expressed structurally.
|
|
4
|
+
// We express the difference with variable names.
|
|
5
|
+
|
|
6
|
+
function createSpacing(spacingInput = 8) {
|
|
7
|
+
// Already transformed.
|
|
8
|
+
if (spacingInput.mui) {
|
|
9
|
+
return spacingInput;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.
|
|
13
|
+
// Smaller components, such as icons, can align to a 4dp grid.
|
|
14
|
+
// https://m2.material.io/design/layout/understanding-layout.html
|
|
15
|
+
const transform = createUnarySpacing({
|
|
16
|
+
spacing: spacingInput
|
|
17
|
+
});
|
|
18
|
+
const spacing = (...argsInput) => {
|
|
19
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
20
|
+
if (!(argsInput.length <= 4)) {
|
|
21
|
+
console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
const args = argsInput.length === 0 ? [1] : argsInput;
|
|
25
|
+
return args.map(argument => {
|
|
26
|
+
const output = transform(argument);
|
|
27
|
+
return typeof output === 'number' ? `${output}px` : output;
|
|
28
|
+
}).join(' ');
|
|
29
|
+
};
|
|
30
|
+
spacing.mui = true;
|
|
31
|
+
return spacing;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { createSpacing as default };
|
|
35
|
+
//# sourceMappingURL=createSpacing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createSpacing.js","sources":["../../../../../../node_modules/@mui/system/esm/createTheme/createSpacing.js"],"sourcesContent":["import { createUnarySpacing } from '../spacing';\n\n// The different signatures imply different meaning for their arguments that can't be expressed structurally.\n// We express the difference with variable names.\n\nexport default function createSpacing(spacingInput = 8) {\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n }\n\n // Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n // Smaller components, such as icons, can align to a 4dp grid.\n // https://m2.material.io/design/layout/understanding-layout.html\n const transform = createUnarySpacing({\n spacing: spacingInput\n });\n const spacing = (...argsInput) => {\n if (process.env.NODE_ENV !== 'production') {\n if (!(argsInput.length <= 4)) {\n console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);\n }\n }\n const args = argsInput.length === 0 ? [1] : argsInput;\n return args.map(argument => {\n const output = transform(argument);\n return typeof output === 'number' ? `${output}px` : output;\n }).join(' ');\n };\n spacing.mui = true;\n return spacing;\n}"],"names":[],"mappings":";;AAEA;AACA;;AAEe,SAAS,aAAa,CAAC,YAAY,GAAG,CAAC,EAAE;AACxD;AACA,EAAE,IAAI,YAAY,CAAC,GAAG,EAAE;AACxB,IAAI,OAAO,YAAY;AACvB,EAAE;;AAEF;AACA;AACA;AACA,EAAE,MAAM,SAAS,GAAG,kBAAkB,CAAC;AACvC,IAAI,OAAO,EAAE;AACb,GAAG,CAAC;AACJ,EAAE,MAAM,OAAO,GAAG,CAAC,GAAG,SAAS,KAAK;AACpC,IAAI,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;AAC/C,MAAM,IAAI,EAAE,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC,EAAE;AACpC,QAAQ,OAAO,CAAC,KAAK,CAAC,CAAC,gEAAgE,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;AAC5G,MAAM;AACN,IAAI;AACJ,IAAI,MAAM,IAAI,GAAG,SAAS,CAAC,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS;AACzD,IAAI,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,IAAI;AAChC,MAAM,MAAM,MAAM,GAAG,SAAS,CAAC,QAAQ,CAAC;AACxC,MAAM,OAAO,OAAO,MAAM,KAAK,QAAQ,GAAG,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC,GAAG,MAAM;AAChE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;AAChB,EAAE,CAAC;AACH,EAAE,OAAO,CAAC,GAAG,GAAG,IAAI;AACpB,EAAE,OAAO,OAAO;AAChB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import _extends from '../../../../@babel/runtime/helpers/esm/extends.js';
|
|
2
|
+
import _objectWithoutPropertiesLoose from '../../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js';
|
|
3
|
+
import createBreakpoints from './createBreakpoints.js';
|
|
4
|
+
import shape from './shape.js';
|
|
5
|
+
import createSpacing from './createSpacing.js';
|
|
6
|
+
import styleFunctionSx from '../styleFunctionSx/styleFunctionSx.js';
|
|
7
|
+
import defaultSxConfig from '../styleFunctionSx/defaultSxConfig.js';
|
|
8
|
+
import applyStyles from './applyStyles.js';
|
|
9
|
+
import deepmerge from '../../../utils/esm/deepmerge/deepmerge.js';
|
|
10
|
+
|
|
11
|
+
const _excluded = ["breakpoints", "palette", "spacing", "shape"];
|
|
12
|
+
function createTheme(options = {}, ...args) {
|
|
13
|
+
const {
|
|
14
|
+
breakpoints: breakpointsInput = {},
|
|
15
|
+
palette: paletteInput = {},
|
|
16
|
+
spacing: spacingInput,
|
|
17
|
+
shape: shapeInput = {}
|
|
18
|
+
} = options,
|
|
19
|
+
other = _objectWithoutPropertiesLoose(options, _excluded);
|
|
20
|
+
const breakpoints = createBreakpoints(breakpointsInput);
|
|
21
|
+
const spacing = createSpacing(spacingInput);
|
|
22
|
+
let muiTheme = deepmerge({
|
|
23
|
+
breakpoints,
|
|
24
|
+
direction: 'ltr',
|
|
25
|
+
components: {},
|
|
26
|
+
// Inject component definitions.
|
|
27
|
+
palette: _extends({
|
|
28
|
+
mode: 'light'
|
|
29
|
+
}, paletteInput),
|
|
30
|
+
spacing,
|
|
31
|
+
shape: _extends({}, shape, shapeInput)
|
|
32
|
+
}, other);
|
|
33
|
+
muiTheme.applyStyles = applyStyles;
|
|
34
|
+
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
|
35
|
+
muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig, other == null ? void 0 : other.unstable_sxConfig);
|
|
36
|
+
muiTheme.unstable_sx = function sx(props) {
|
|
37
|
+
return styleFunctionSx({
|
|
38
|
+
sx: props,
|
|
39
|
+
theme: this
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
return muiTheme;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { createTheme as default };
|
|
46
|
+
//# sourceMappingURL=createTheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createTheme.js","sources":["../../../../../../node_modules/@mui/system/esm/createTheme/createTheme.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"breakpoints\", \"palette\", \"spacing\", \"shape\"];\nimport deepmerge from '@mui/utils/deepmerge';\nimport createBreakpoints from './createBreakpoints';\nimport shape from './shape';\nimport createSpacing from './createSpacing';\nimport styleFunctionSx from '../styleFunctionSx/styleFunctionSx';\nimport defaultSxConfig from '../styleFunctionSx/defaultSxConfig';\nimport applyStyles from './applyStyles';\nfunction createTheme(options = {}, ...args) {\n const {\n breakpoints: breakpointsInput = {},\n palette: paletteInput = {},\n spacing: spacingInput,\n shape: shapeInput = {}\n } = options,\n other = _objectWithoutPropertiesLoose(options, _excluded);\n const breakpoints = createBreakpoints(breakpointsInput);\n const spacing = createSpacing(spacingInput);\n let muiTheme = deepmerge({\n breakpoints,\n direction: 'ltr',\n components: {},\n // Inject component definitions.\n palette: _extends({\n mode: 'light'\n }, paletteInput),\n spacing,\n shape: _extends({}, shape, shapeInput)\n }, other);\n muiTheme.applyStyles = applyStyles;\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig, other == null ? void 0 : other.unstable_sxConfig);\n muiTheme.unstable_sx = function sx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M,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 @@
|
|
|
1
|
+
{"version":3,"file":"shape.js","sources":["../../../../../../node_modules/@mui/system/esm/createTheme/shape.js"],"sourcesContent":["const shape = {\n borderRadius: 4\n};\nexport default shape;"],"names":[],"mappings":"AAAK,MAAC,KAAK,GAAG;AACd,EAAE,YAAY,EAAE;AAChB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import style from './style.js';
|
|
2
|
+
import compose from './compose.js';
|
|
3
|
+
import { createUnaryUnit, getValue } from './spacing.js';
|
|
4
|
+
import { handleBreakpoints } from './breakpoints.js';
|
|
5
|
+
import responsivePropType from './responsivePropType.js';
|
|
6
|
+
|
|
7
|
+
// false positive
|
|
8
|
+
// eslint-disable-next-line react/function-component-definition
|
|
9
|
+
const gap = props => {
|
|
10
|
+
if (props.gap !== undefined && props.gap !== null) {
|
|
11
|
+
const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');
|
|
12
|
+
const styleFromPropValue = propValue => ({
|
|
13
|
+
gap: getValue(transformer, propValue)
|
|
14
|
+
});
|
|
15
|
+
return handleBreakpoints(props, props.gap, styleFromPropValue);
|
|
16
|
+
}
|
|
17
|
+
return null;
|
|
18
|
+
};
|
|
19
|
+
gap.propTypes = process.env.NODE_ENV !== 'production' ? {
|
|
20
|
+
gap: responsivePropType
|
|
21
|
+
} : {};
|
|
22
|
+
gap.filterProps = ['gap'];
|
|
23
|
+
|
|
24
|
+
// false positive
|
|
25
|
+
// eslint-disable-next-line react/function-component-definition
|
|
26
|
+
const columnGap = props => {
|
|
27
|
+
if (props.columnGap !== undefined && props.columnGap !== null) {
|
|
28
|
+
const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');
|
|
29
|
+
const styleFromPropValue = propValue => ({
|
|
30
|
+
columnGap: getValue(transformer, propValue)
|
|
31
|
+
});
|
|
32
|
+
return handleBreakpoints(props, props.columnGap, styleFromPropValue);
|
|
33
|
+
}
|
|
34
|
+
return null;
|
|
35
|
+
};
|
|
36
|
+
columnGap.propTypes = process.env.NODE_ENV !== 'production' ? {
|
|
37
|
+
columnGap: responsivePropType
|
|
38
|
+
} : {};
|
|
39
|
+
columnGap.filterProps = ['columnGap'];
|
|
40
|
+
|
|
41
|
+
// false positive
|
|
42
|
+
// eslint-disable-next-line react/function-component-definition
|
|
43
|
+
const rowGap = props => {
|
|
44
|
+
if (props.rowGap !== undefined && props.rowGap !== null) {
|
|
45
|
+
const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');
|
|
46
|
+
const styleFromPropValue = propValue => ({
|
|
47
|
+
rowGap: getValue(transformer, propValue)
|
|
48
|
+
});
|
|
49
|
+
return handleBreakpoints(props, props.rowGap, styleFromPropValue);
|
|
50
|
+
}
|
|
51
|
+
return null;
|
|
52
|
+
};
|
|
53
|
+
rowGap.propTypes = process.env.NODE_ENV !== 'production' ? {
|
|
54
|
+
rowGap: responsivePropType
|
|
55
|
+
} : {};
|
|
56
|
+
rowGap.filterProps = ['rowGap'];
|
|
57
|
+
const gridColumn = style({
|
|
58
|
+
prop: 'gridColumn'
|
|
59
|
+
});
|
|
60
|
+
const gridRow = style({
|
|
61
|
+
prop: 'gridRow'
|
|
62
|
+
});
|
|
63
|
+
const gridAutoFlow = style({
|
|
64
|
+
prop: 'gridAutoFlow'
|
|
65
|
+
});
|
|
66
|
+
const gridAutoColumns = style({
|
|
67
|
+
prop: 'gridAutoColumns'
|
|
68
|
+
});
|
|
69
|
+
const gridAutoRows = style({
|
|
70
|
+
prop: 'gridAutoRows'
|
|
71
|
+
});
|
|
72
|
+
const gridTemplateColumns = style({
|
|
73
|
+
prop: 'gridTemplateColumns'
|
|
74
|
+
});
|
|
75
|
+
const gridTemplateRows = style({
|
|
76
|
+
prop: 'gridTemplateRows'
|
|
77
|
+
});
|
|
78
|
+
const gridTemplateAreas = style({
|
|
79
|
+
prop: 'gridTemplateAreas'
|
|
80
|
+
});
|
|
81
|
+
const gridArea = style({
|
|
82
|
+
prop: 'gridArea'
|
|
83
|
+
});
|
|
84
|
+
compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
|
|
85
|
+
|
|
86
|
+
export { columnGap, gap, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridRow, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, rowGap };
|
|
87
|
+
//# sourceMappingURL=cssGrid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cssGrid.js","sources":["../../../../../node_modules/@mui/system/esm/cssGrid.js"],"sourcesContent":["import style from './style';\nimport compose from './compose';\nimport { createUnaryUnit, getValue } from './spacing';\nimport { handleBreakpoints } from './breakpoints';\nimport responsivePropType from './responsivePropType';\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const gap = props => {\n if (props.gap !== undefined && props.gap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');\n const styleFromPropValue = propValue => ({\n gap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.gap, styleFromPropValue);\n }\n return null;\n};\ngap.propTypes = process.env.NODE_ENV !== 'production' ? {\n gap: responsivePropType\n} : {};\ngap.filterProps = ['gap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const columnGap = props => {\n if (props.columnGap !== undefined && props.columnGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');\n const styleFromPropValue = propValue => ({\n columnGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.columnGap, styleFromPropValue);\n }\n return null;\n};\ncolumnGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n columnGap: responsivePropType\n} : {};\ncolumnGap.filterProps = ['columnGap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const rowGap = props => {\n if (props.rowGap !== undefined && props.rowGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');\n const styleFromPropValue = propValue => ({\n rowGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.rowGap, styleFromPropValue);\n }\n return null;\n};\nrowGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n rowGap: responsivePropType\n} : {};\nrowGap.filterProps = ['rowGap'];\nexport const gridColumn = style({\n prop: 'gridColumn'\n});\nexport const gridRow = style({\n prop: 'gridRow'\n});\nexport const gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport const gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport const gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport const gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport const gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport const gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport const gridArea = style({\n prop: 'gridArea'\n});\nconst grid = compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;"],"names":[],"mappings":";;;;;;AAMA;AACA;AACY,MAAC,GAAG,GAAG,KAAK,IAAI;AAC5B,EAAE,IAAI,KAAK,CAAC,GAAG,KAAK,SAAS,IAAI,KAAK,CAAC,GAAG,KAAK,IAAI,EAAE;AACrD,IAAI,MAAM,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC,KAAK,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,CAAC;AACzE,IAAI,MAAM,k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mBAAmB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,QAAQ;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memoize.js","sources":["../../../../../node_modules/@mui/system/esm/memoize.js"],"sourcesContent":["export default function memoize(fn) {\n const cache = {};\n return arg => {\n if (cache[arg] === undefined) {\n cache[arg] = fn(arg);\n }\n return cache[arg];\n };\n}"],"names":[],"mappings":"AAAe,SAAS,OAAO,CAAC,EAAE,EAAE;AACpC,EAAE,MAAM,KAAK,GAAG,EAAE;AAClB,EAAE,OAAO,GAAG,IAAI;AAChB,IAAI,IAAI,KAAK,CAAC,GAAG,CAAC,KAAK,SAAS,EAAE;AAClC,MAAM,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC;AAC1B,IAAI;AACJ,IAAI,OAAO,KAAK,CAAC,GAAG,CAAC;AACrB,EAAE,CAAC;AACH;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import deepmerge from '../../utils/esm/deepmerge/deepmerge.js';
|
|
2
|
+
|
|
3
|
+
function merge(acc, item) {
|
|
4
|
+
if (!item) {
|
|
5
|
+
return acc;
|
|
6
|
+
}
|
|
7
|
+
return deepmerge(acc, item, {
|
|
8
|
+
clone: false // No need to clone deep, it's way faster.
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { merge as default };
|
|
13
|
+
//# sourceMappingURL=merge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merge.js","sources":["../../../../../node_modules/@mui/system/esm/merge.js"],"sourcesContent":["import deepmerge from '@mui/utils/deepmerge';\nfunction merge(acc, item) {\n if (!item) {\n return acc;\n }\n return deepmerge(acc, item, {\n clone: false // No need to clone deep, it's way faster.\n });\n}\nexport default merge;"],"names":[],"mappings":";;AACA,SAAS,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE;AAC1B,EAAE,IAAI,CAAC,IAAI,EAAE;AACb,IAAI,OAAO,GAAG;AACd,EAAE;AACF,EAAE,OAAO,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE;AAC9B,IAAI,KAAK,EAAE,KAAK;AAChB,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import style from './style.js';
|
|
2
|
+
import compose from './compose.js';
|
|
3
|
+
|
|
4
|
+
function paletteTransform(value, userValue) {
|
|
5
|
+
if (userValue === 'grey') {
|
|
6
|
+
return userValue;
|
|
7
|
+
}
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
const color = style({
|
|
11
|
+
prop: 'color',
|
|
12
|
+
themeKey: 'palette',
|
|
13
|
+
transform: paletteTransform
|
|
14
|
+
});
|
|
15
|
+
const bgcolor = style({
|
|
16
|
+
prop: 'bgcolor',
|
|
17
|
+
cssProperty: 'backgroundColor',
|
|
18
|
+
themeKey: 'palette',
|
|
19
|
+
transform: paletteTransform
|
|
20
|
+
});
|
|
21
|
+
const backgroundColor = style({
|
|
22
|
+
prop: 'backgroundColor',
|
|
23
|
+
themeKey: 'palette',
|
|
24
|
+
transform: paletteTransform
|
|
25
|
+
});
|
|
26
|
+
compose(color, bgcolor, backgroundColor);
|
|
27
|
+
|
|
28
|
+
export { backgroundColor, bgcolor, color, paletteTransform };
|
|
29
|
+
//# sourceMappingURL=palette.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palette.js","sources":["../../../../../node_modules/@mui/system/esm/palette.js"],"sourcesContent":["import style from './style';\nimport compose from './compose';\nexport function paletteTransform(value, userValue) {\n if (userValue === 'grey') {\n return userValue;\n }\n return value;\n}\nexport const color = style({\n prop: 'color',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const bgcolor = style({\n prop: 'bgcolor',\n cssProperty: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const backgroundColor = style({\n prop: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nconst palette = compose(color, bgcolor, backgroundColor);\nexport default palette;"],"names":[],"mappings":";;;AAEO,SAAS,gBAAgB,CAAC,KAAK,EAAE,SAAS,EAAE;AACnD,EAAE,IAAI,SAAS,KAAK,MAAM,EAAE;AAC5B,IAAI,OAAO,SAAS;AACpB,EAAE;AACF,EAAE,OAAO,KAAK;AACd;AACY,MAAC,KAAK,GAAG,KAAK,CAAC;AAC3B,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,QAAQ,EAAE,SAAS;AACrB,EAAE,SAAS,EAAE;AACb,CAAC;AACW,MAAC,OAAO,GAAG,KAAK,CAAC;AAC7B,EAAE,IAAI,EAAE,SAAS;AACjB,EAAE,WAAW,EAAE,iBAAiB;AAChC,EAAE,QAAQ,EAAE,SAAS;AACrB,EAAE,SAAS,EAAE;AACb,CAAC;AACW,MAAC,eAAe,GAAG,KAAK,CAAC;AACrC,EAAE,IAAI,EAAE,iBAAiB;AACzB,EAAE,QAAQ,EAAE,SAAS;AACrB,EAAE,SAAS,EAAE;AACb,CAAC;AACe,OAAO,CAAC,KAAK,EAAE,OAAO,EAAE,eAAe;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import PropTypes from '../../../../_virtual/index19.js';
|
|
2
|
+
|
|
3
|
+
const responsivePropType = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) : {};
|
|
4
|
+
|
|
5
|
+
export { responsivePropType as default };
|
|
6
|
+
//# sourceMappingURL=responsivePropType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsivePropType.js","sources":["../../../../../node_modules/@mui/system/esm/responsivePropType.js"],"sourcesContent":["import PropTypes from 'prop-types';\nconst responsivePropType = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) : {};\nexport default responsivePropType;"],"names":[],"mappings":";;AACK,MAAC,kBAAkB,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC,GAAG;;;;","x_google_ignoreList":[0]}
|