@cgi-learning-hub/ui 0.0.1-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjsHelpers.js +5 -0
- package/dist/_virtual/index.js +3 -0
- package/dist/_virtual/index2.js +3 -0
- package/dist/_virtual/index3.js +3 -0
- package/dist/_virtual/react-is.development.js +3 -0
- package/dist/_virtual/react-is.development2.js +3 -0
- package/dist/_virtual/react-is.production.min.js +3 -0
- package/dist/_virtual/react-is.production.min2.js +3 -0
- package/dist/components/BasicButtons/BasicButtons.d.ts +2 -0
- package/dist/components/BasicButtons/BasicButtons.js +14 -0
- package/dist/components/BasicButtons/BasicButtons.stories.d.ts +5 -0
- package/dist/components/BasicButtons/index.d.ts +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +8 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/extends.js +16 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +9 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +14 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +9 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/Button/Button.js +379 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/Button/buttonClasses.js +10 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/ButtonBase.js +477 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/Ripple.js +85 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/TouchRipple.js +340 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js +9 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonBase/touchRippleClasses.js +5 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js +12 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js +12 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/Stack/Stack.js +63 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/blue.js +19 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/common.js +7 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/green.js +19 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/grey.js +19 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/lightBlue.js +19 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/orange.js +19 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/purple.js +19 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/colors/red.js +19 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/createMixins.js +19 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/createPalette.js +308 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/createTheme.js +82 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/createTransitions.js +91 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/createTypography.js +93 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/defaultTheme.js +6 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/identifier.js +3 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/shadows.js +11 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/styled.js +12 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/useThemeProps.js +17 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/styles/zIndex.js +15 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/capitalize.js +5 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useEventCallback.js +5 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useForkRef.js +5 -0
- package/dist/node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/utils/useIsFocusVisible.js +5 -0
- package/dist/node_modules/.pnpm/@mui_styled-engine@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_react@18.2.0/node_modules/@mui/styled-engine/index.js +36 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/Stack/createStack.js +176 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/borders.js +51 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/breakpoints.js +123 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/colorManipulator.js +236 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/compose.js +26 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/createStyled.js +322 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/createTheme/createBreakpoints.js +82 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/createTheme/createSpacing.js +34 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/createTheme/createTheme.js +43 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/createTheme/shape.js +6 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/cssGrid.js +86 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/memoize.js +11 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/merge.js +12 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/palette.js +28 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/propsToClassKey.js +30 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/responsivePropType.js +6 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/sizing.js +67 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/spacing.js +144 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/style.js +77 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +294 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +51 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +129 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/styled.js +5 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/useTheme.js +9 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js +15 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js +22 -0
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/useThemeWithoutDefault.js +12 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +18 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/capitalize/capitalize.js +14 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js +10 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/clamp/clamp.js +5 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +23 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/deepmerge.js +44 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/elementTypeAcceptingRef.js +43 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +21 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +22 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js +11 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/getDisplayName.js +49 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/refType.js +6 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/resolveProps.js +37 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/setRef.js +22 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +12 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js +19 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +23 -0
- package/dist/node_modules/.pnpm/@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/useIsFocusVisible.js +156 -0
- package/dist/node_modules/.pnpm/clsx@2.1.0/node_modules/clsx/dist/clsx.js +3 -0
- package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +99 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +115 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +74 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +625 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +30 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +21 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js +11 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +190 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +26 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +19 -0
- package/dist/node_modules/.pnpm/react-is@18.2.0/node_modules/react-is/cjs/react-is.development.js +230 -0
- package/dist/node_modules/.pnpm/react-is@18.2.0/node_modules/react-is/cjs/react-is.production.min.js +26 -0
- package/dist/node_modules/.pnpm/react-is@18.2.0/node_modules/react-is/index.js +13 -0
- package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.2.0_react@18.2.0/node_modules/react-transition-group/esm/TransitionGroup.js +191 -0
- package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.2.0_react@18.2.0/node_modules/react-transition-group/esm/TransitionGroupContext.js +5 -0
- package/dist/node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.2.0_react@18.2.0/node_modules/react-transition-group/esm/utils/ChildMapping.js +143 -0
- package/package.json +46 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import Stack from '../../node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/Stack/Stack.js';
|
|
3
|
+
import Button from '../../node_modules/.pnpm/@mui_material@5.15.0_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mui/material/Button/Button.js';
|
|
4
|
+
|
|
5
|
+
const BasicButtons = () => {
|
|
6
|
+
return /* @__PURE__ */ jsxs(Stack, { spacing: 2, direction: "row", children: [
|
|
7
|
+
/* @__PURE__ */ jsx(Button, { variant: "text", children: "Text" }),
|
|
8
|
+
/* @__PURE__ */ jsx(Button, { variant: "contained", children: "Contained" }),
|
|
9
|
+
/* @__PURE__ */ jsx(Button, { variant: "outlined", children: "Outlined" })
|
|
10
|
+
] });
|
|
11
|
+
};
|
|
12
|
+
const BasicButtons$1 = BasicButtons;
|
|
13
|
+
|
|
14
|
+
export { BasicButtons$1 as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./BasicButtons";
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./components";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BasicButtons } from './components/BasicButtons/BasicButtons.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function _extends() {
|
|
2
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
3
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
4
|
+
var source = arguments[i];
|
|
5
|
+
for (var key in source) {
|
|
6
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7
|
+
target[key] = source[key];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
return target;
|
|
12
|
+
};
|
|
13
|
+
return _extends.apply(this, arguments);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { _extends as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import _setPrototypeOf from './setPrototypeOf.js';
|
|
2
|
+
|
|
3
|
+
function _inheritsLoose(subClass, superClass) {
|
|
4
|
+
subClass.prototype = Object.create(superClass.prototype);
|
|
5
|
+
subClass.prototype.constructor = subClass;
|
|
6
|
+
_setPrototypeOf(subClass, superClass);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { _inheritsLoose as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
2
|
+
if (source == null) return {};
|
|
3
|
+
var target = {};
|
|
4
|
+
var sourceKeys = Object.keys(source);
|
|
5
|
+
var key, i;
|
|
6
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
7
|
+
key = sourceKeys[i];
|
|
8
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
9
|
+
target[key] = source[key];
|
|
10
|
+
}
|
|
11
|
+
return target;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { _objectWithoutPropertiesLoose as default };
|
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
import _objectWithoutPropertiesLoose from '../../../../../@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js';
|
|
2
|
+
import _extends from '../../../../../@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/extends.js';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import PropTypes from '../../../../../prop-types@15.8.1/node_modules/prop-types/index.js';
|
|
5
|
+
import { clsx } from '../../../../../clsx@2.1.0/node_modules/clsx/dist/clsx.js';
|
|
6
|
+
import styled, { rootShouldForwardProp } from '../styles/styled.js';
|
|
7
|
+
import useThemeProps from '../styles/useThemeProps.js';
|
|
8
|
+
import buttonClasses, { getButtonUtilityClass } from './buttonClasses.js';
|
|
9
|
+
import ButtonGroupContext from '../ButtonGroup/ButtonGroupContext.js';
|
|
10
|
+
import ButtonGroupButtonContext from '../ButtonGroup/ButtonGroupButtonContext.js';
|
|
11
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
12
|
+
import ButtonBase from '../ButtonBase/ButtonBase.js';
|
|
13
|
+
import capitalize from '../../../../../@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/capitalize/capitalize.js';
|
|
14
|
+
import { alpha } from '../../../../../@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/colorManipulator.js';
|
|
15
|
+
import resolveProps from '../../../../../@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/resolveProps.js';
|
|
16
|
+
import composeClasses from '../../../../../@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js';
|
|
17
|
+
|
|
18
|
+
const _excluded = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
19
|
+
const useUtilityClasses = ownerState => {
|
|
20
|
+
const {
|
|
21
|
+
color,
|
|
22
|
+
disableElevation,
|
|
23
|
+
fullWidth,
|
|
24
|
+
size,
|
|
25
|
+
variant,
|
|
26
|
+
classes
|
|
27
|
+
} = ownerState;
|
|
28
|
+
const slots = {
|
|
29
|
+
root: ['root', variant, `${variant}${capitalize(color)}`, `size${capitalize(size)}`, `${variant}Size${capitalize(size)}`, color === 'inherit' && 'colorInherit', disableElevation && 'disableElevation', fullWidth && 'fullWidth'],
|
|
30
|
+
label: ['label'],
|
|
31
|
+
startIcon: ['startIcon', `iconSize${capitalize(size)}`],
|
|
32
|
+
endIcon: ['endIcon', `iconSize${capitalize(size)}`]
|
|
33
|
+
};
|
|
34
|
+
const composedClasses = composeClasses(slots, getButtonUtilityClass, classes);
|
|
35
|
+
return _extends({}, classes, composedClasses);
|
|
36
|
+
};
|
|
37
|
+
const commonIconStyles = ownerState => _extends({}, ownerState.size === 'small' && {
|
|
38
|
+
'& > *:nth-of-type(1)': {
|
|
39
|
+
fontSize: 18
|
|
40
|
+
}
|
|
41
|
+
}, ownerState.size === 'medium' && {
|
|
42
|
+
'& > *:nth-of-type(1)': {
|
|
43
|
+
fontSize: 20
|
|
44
|
+
}
|
|
45
|
+
}, ownerState.size === 'large' && {
|
|
46
|
+
'& > *:nth-of-type(1)': {
|
|
47
|
+
fontSize: 22
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
const ButtonRoot = styled(ButtonBase, {
|
|
51
|
+
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
52
|
+
name: 'MuiButton',
|
|
53
|
+
slot: 'Root',
|
|
54
|
+
overridesResolver: (props, styles) => {
|
|
55
|
+
const {
|
|
56
|
+
ownerState
|
|
57
|
+
} = props;
|
|
58
|
+
return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${capitalize(ownerState.color)}`], styles[`size${capitalize(ownerState.size)}`], styles[`${ownerState.variant}Size${capitalize(ownerState.size)}`], ownerState.color === 'inherit' && styles.colorInherit, ownerState.disableElevation && styles.disableElevation, ownerState.fullWidth && styles.fullWidth];
|
|
59
|
+
}
|
|
60
|
+
})(({
|
|
61
|
+
theme,
|
|
62
|
+
ownerState
|
|
63
|
+
}) => {
|
|
64
|
+
var _theme$palette$getCon, _theme$palette;
|
|
65
|
+
const inheritContainedBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey[300] : theme.palette.grey[800];
|
|
66
|
+
const inheritContainedHoverBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey.A100 : theme.palette.grey[700];
|
|
67
|
+
return _extends({}, theme.typography.button, {
|
|
68
|
+
minWidth: 64,
|
|
69
|
+
padding: '6px 16px',
|
|
70
|
+
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
71
|
+
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
|
|
72
|
+
duration: theme.transitions.duration.short
|
|
73
|
+
}),
|
|
74
|
+
'&:hover': _extends({
|
|
75
|
+
textDecoration: 'none',
|
|
76
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity),
|
|
77
|
+
// Reset on touch devices, it doesn't add specificity
|
|
78
|
+
'@media (hover: none)': {
|
|
79
|
+
backgroundColor: 'transparent'
|
|
80
|
+
}
|
|
81
|
+
}, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {
|
|
82
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
|
|
83
|
+
// Reset on touch devices, it doesn't add specificity
|
|
84
|
+
'@media (hover: none)': {
|
|
85
|
+
backgroundColor: 'transparent'
|
|
86
|
+
}
|
|
87
|
+
}, ownerState.variant === 'outlined' && ownerState.color !== 'inherit' && {
|
|
88
|
+
border: `1px solid ${(theme.vars || theme).palette[ownerState.color].main}`,
|
|
89
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
|
|
90
|
+
// Reset on touch devices, it doesn't add specificity
|
|
91
|
+
'@media (hover: none)': {
|
|
92
|
+
backgroundColor: 'transparent'
|
|
93
|
+
}
|
|
94
|
+
}, ownerState.variant === 'contained' && {
|
|
95
|
+
backgroundColor: theme.vars ? theme.vars.palette.Button.inheritContainedHoverBg : inheritContainedHoverBackgroundColor,
|
|
96
|
+
boxShadow: (theme.vars || theme).shadows[4],
|
|
97
|
+
// Reset on touch devices, it doesn't add specificity
|
|
98
|
+
'@media (hover: none)': {
|
|
99
|
+
boxShadow: (theme.vars || theme).shadows[2],
|
|
100
|
+
backgroundColor: (theme.vars || theme).palette.grey[300]
|
|
101
|
+
}
|
|
102
|
+
}, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
|
|
103
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].dark,
|
|
104
|
+
// Reset on touch devices, it doesn't add specificity
|
|
105
|
+
'@media (hover: none)': {
|
|
106
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].main
|
|
107
|
+
}
|
|
108
|
+
}),
|
|
109
|
+
'&:active': _extends({}, ownerState.variant === 'contained' && {
|
|
110
|
+
boxShadow: (theme.vars || theme).shadows[8]
|
|
111
|
+
}),
|
|
112
|
+
[`&.${buttonClasses.focusVisible}`]: _extends({}, ownerState.variant === 'contained' && {
|
|
113
|
+
boxShadow: (theme.vars || theme).shadows[6]
|
|
114
|
+
}),
|
|
115
|
+
[`&.${buttonClasses.disabled}`]: _extends({
|
|
116
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
117
|
+
}, ownerState.variant === 'outlined' && {
|
|
118
|
+
border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
|
|
119
|
+
}, ownerState.variant === 'contained' && {
|
|
120
|
+
color: (theme.vars || theme).palette.action.disabled,
|
|
121
|
+
boxShadow: (theme.vars || theme).shadows[0],
|
|
122
|
+
backgroundColor: (theme.vars || theme).palette.action.disabledBackground
|
|
123
|
+
})
|
|
124
|
+
}, ownerState.variant === 'text' && {
|
|
125
|
+
padding: '6px 8px'
|
|
126
|
+
}, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {
|
|
127
|
+
color: (theme.vars || theme).palette[ownerState.color].main
|
|
128
|
+
}, ownerState.variant === 'outlined' && {
|
|
129
|
+
padding: '5px 15px',
|
|
130
|
+
border: '1px solid currentColor'
|
|
131
|
+
}, ownerState.variant === 'outlined' && ownerState.color !== 'inherit' && {
|
|
132
|
+
color: (theme.vars || theme).palette[ownerState.color].main,
|
|
133
|
+
border: theme.vars ? `1px solid rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.5)` : `1px solid ${alpha(theme.palette[ownerState.color].main, 0.5)}`
|
|
134
|
+
}, ownerState.variant === 'contained' && {
|
|
135
|
+
color: theme.vars ?
|
|
136
|
+
// this is safe because grey does not change between default light/dark mode
|
|
137
|
+
theme.vars.palette.text.primary : (_theme$palette$getCon = (_theme$palette = theme.palette).getContrastText) == null ? void 0 : _theme$palette$getCon.call(_theme$palette, theme.palette.grey[300]),
|
|
138
|
+
backgroundColor: theme.vars ? theme.vars.palette.Button.inheritContainedBg : inheritContainedBackgroundColor,
|
|
139
|
+
boxShadow: (theme.vars || theme).shadows[2]
|
|
140
|
+
}, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
|
|
141
|
+
color: (theme.vars || theme).palette[ownerState.color].contrastText,
|
|
142
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].main
|
|
143
|
+
}, ownerState.color === 'inherit' && {
|
|
144
|
+
color: 'inherit',
|
|
145
|
+
borderColor: 'currentColor'
|
|
146
|
+
}, ownerState.size === 'small' && ownerState.variant === 'text' && {
|
|
147
|
+
padding: '4px 5px',
|
|
148
|
+
fontSize: theme.typography.pxToRem(13)
|
|
149
|
+
}, ownerState.size === 'large' && ownerState.variant === 'text' && {
|
|
150
|
+
padding: '8px 11px',
|
|
151
|
+
fontSize: theme.typography.pxToRem(15)
|
|
152
|
+
}, ownerState.size === 'small' && ownerState.variant === 'outlined' && {
|
|
153
|
+
padding: '3px 9px',
|
|
154
|
+
fontSize: theme.typography.pxToRem(13)
|
|
155
|
+
}, ownerState.size === 'large' && ownerState.variant === 'outlined' && {
|
|
156
|
+
padding: '7px 21px',
|
|
157
|
+
fontSize: theme.typography.pxToRem(15)
|
|
158
|
+
}, ownerState.size === 'small' && ownerState.variant === 'contained' && {
|
|
159
|
+
padding: '4px 10px',
|
|
160
|
+
fontSize: theme.typography.pxToRem(13)
|
|
161
|
+
}, ownerState.size === 'large' && ownerState.variant === 'contained' && {
|
|
162
|
+
padding: '8px 22px',
|
|
163
|
+
fontSize: theme.typography.pxToRem(15)
|
|
164
|
+
}, ownerState.fullWidth && {
|
|
165
|
+
width: '100%'
|
|
166
|
+
});
|
|
167
|
+
}, ({
|
|
168
|
+
ownerState
|
|
169
|
+
}) => ownerState.disableElevation && {
|
|
170
|
+
boxShadow: 'none',
|
|
171
|
+
'&:hover': {
|
|
172
|
+
boxShadow: 'none'
|
|
173
|
+
},
|
|
174
|
+
[`&.${buttonClasses.focusVisible}`]: {
|
|
175
|
+
boxShadow: 'none'
|
|
176
|
+
},
|
|
177
|
+
'&:active': {
|
|
178
|
+
boxShadow: 'none'
|
|
179
|
+
},
|
|
180
|
+
[`&.${buttonClasses.disabled}`]: {
|
|
181
|
+
boxShadow: 'none'
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
const ButtonStartIcon = styled('span', {
|
|
185
|
+
name: 'MuiButton',
|
|
186
|
+
slot: 'StartIcon',
|
|
187
|
+
overridesResolver: (props, styles) => {
|
|
188
|
+
const {
|
|
189
|
+
ownerState
|
|
190
|
+
} = props;
|
|
191
|
+
return [styles.startIcon, styles[`iconSize${capitalize(ownerState.size)}`]];
|
|
192
|
+
}
|
|
193
|
+
})(({
|
|
194
|
+
ownerState
|
|
195
|
+
}) => _extends({
|
|
196
|
+
display: 'inherit',
|
|
197
|
+
marginRight: 8,
|
|
198
|
+
marginLeft: -4
|
|
199
|
+
}, ownerState.size === 'small' && {
|
|
200
|
+
marginLeft: -2
|
|
201
|
+
}, commonIconStyles(ownerState)));
|
|
202
|
+
const ButtonEndIcon = styled('span', {
|
|
203
|
+
name: 'MuiButton',
|
|
204
|
+
slot: 'EndIcon',
|
|
205
|
+
overridesResolver: (props, styles) => {
|
|
206
|
+
const {
|
|
207
|
+
ownerState
|
|
208
|
+
} = props;
|
|
209
|
+
return [styles.endIcon, styles[`iconSize${capitalize(ownerState.size)}`]];
|
|
210
|
+
}
|
|
211
|
+
})(({
|
|
212
|
+
ownerState
|
|
213
|
+
}) => _extends({
|
|
214
|
+
display: 'inherit',
|
|
215
|
+
marginRight: -4,
|
|
216
|
+
marginLeft: 8
|
|
217
|
+
}, ownerState.size === 'small' && {
|
|
218
|
+
marginRight: -2
|
|
219
|
+
}, commonIconStyles(ownerState)));
|
|
220
|
+
const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
221
|
+
// props priority: `inProps` > `contextProps` > `themeDefaultProps`
|
|
222
|
+
const contextProps = React.useContext(ButtonGroupContext);
|
|
223
|
+
const buttonGroupButtonContextPositionClassName = React.useContext(ButtonGroupButtonContext);
|
|
224
|
+
const resolvedProps = resolveProps(contextProps, inProps);
|
|
225
|
+
const props = useThemeProps({
|
|
226
|
+
props: resolvedProps,
|
|
227
|
+
name: 'MuiButton'
|
|
228
|
+
});
|
|
229
|
+
const {
|
|
230
|
+
children,
|
|
231
|
+
color = 'primary',
|
|
232
|
+
component = 'button',
|
|
233
|
+
className,
|
|
234
|
+
disabled = false,
|
|
235
|
+
disableElevation = false,
|
|
236
|
+
disableFocusRipple = false,
|
|
237
|
+
endIcon: endIconProp,
|
|
238
|
+
focusVisibleClassName,
|
|
239
|
+
fullWidth = false,
|
|
240
|
+
size = 'medium',
|
|
241
|
+
startIcon: startIconProp,
|
|
242
|
+
type,
|
|
243
|
+
variant = 'text'
|
|
244
|
+
} = props,
|
|
245
|
+
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
246
|
+
const ownerState = _extends({}, props, {
|
|
247
|
+
color,
|
|
248
|
+
component,
|
|
249
|
+
disabled,
|
|
250
|
+
disableElevation,
|
|
251
|
+
disableFocusRipple,
|
|
252
|
+
fullWidth,
|
|
253
|
+
size,
|
|
254
|
+
type,
|
|
255
|
+
variant
|
|
256
|
+
});
|
|
257
|
+
const classes = useUtilityClasses(ownerState);
|
|
258
|
+
const startIcon = startIconProp && /*#__PURE__*/jsx(ButtonStartIcon, {
|
|
259
|
+
className: classes.startIcon,
|
|
260
|
+
ownerState: ownerState,
|
|
261
|
+
children: startIconProp
|
|
262
|
+
});
|
|
263
|
+
const endIcon = endIconProp && /*#__PURE__*/jsx(ButtonEndIcon, {
|
|
264
|
+
className: classes.endIcon,
|
|
265
|
+
ownerState: ownerState,
|
|
266
|
+
children: endIconProp
|
|
267
|
+
});
|
|
268
|
+
const positionClassName = buttonGroupButtonContextPositionClassName || '';
|
|
269
|
+
return /*#__PURE__*/jsxs(ButtonRoot, _extends({
|
|
270
|
+
ownerState: ownerState,
|
|
271
|
+
className: clsx(contextProps.className, classes.root, className, positionClassName),
|
|
272
|
+
component: component,
|
|
273
|
+
disabled: disabled,
|
|
274
|
+
focusRipple: !disableFocusRipple,
|
|
275
|
+
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
|
276
|
+
ref: ref,
|
|
277
|
+
type: type
|
|
278
|
+
}, other, {
|
|
279
|
+
classes: classes,
|
|
280
|
+
children: [startIcon, children, endIcon]
|
|
281
|
+
}));
|
|
282
|
+
});
|
|
283
|
+
process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */ = {
|
|
284
|
+
// ----------------------------- Warning --------------------------------
|
|
285
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
286
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
287
|
+
// ----------------------------------------------------------------------
|
|
288
|
+
/**
|
|
289
|
+
* The content of the component.
|
|
290
|
+
*/
|
|
291
|
+
children: PropTypes.node,
|
|
292
|
+
/**
|
|
293
|
+
* Override or extend the styles applied to the component.
|
|
294
|
+
*/
|
|
295
|
+
classes: PropTypes.object,
|
|
296
|
+
/**
|
|
297
|
+
* @ignore
|
|
298
|
+
*/
|
|
299
|
+
className: PropTypes.string,
|
|
300
|
+
/**
|
|
301
|
+
* The color of the component.
|
|
302
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
303
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
304
|
+
* @default 'primary'
|
|
305
|
+
*/
|
|
306
|
+
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'success', 'error', 'info', 'warning']), PropTypes.string]),
|
|
307
|
+
/**
|
|
308
|
+
* The component used for the root node.
|
|
309
|
+
* Either a string to use a HTML element or a component.
|
|
310
|
+
*/
|
|
311
|
+
component: PropTypes.elementType,
|
|
312
|
+
/**
|
|
313
|
+
* If `true`, the component is disabled.
|
|
314
|
+
* @default false
|
|
315
|
+
*/
|
|
316
|
+
disabled: PropTypes.bool,
|
|
317
|
+
/**
|
|
318
|
+
* If `true`, no elevation is used.
|
|
319
|
+
* @default false
|
|
320
|
+
*/
|
|
321
|
+
disableElevation: PropTypes.bool,
|
|
322
|
+
/**
|
|
323
|
+
* If `true`, the keyboard focus ripple is disabled.
|
|
324
|
+
* @default false
|
|
325
|
+
*/
|
|
326
|
+
disableFocusRipple: PropTypes.bool,
|
|
327
|
+
/**
|
|
328
|
+
* If `true`, the ripple effect is disabled.
|
|
329
|
+
*
|
|
330
|
+
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
|
331
|
+
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
332
|
+
* @default false
|
|
333
|
+
*/
|
|
334
|
+
disableRipple: PropTypes.bool,
|
|
335
|
+
/**
|
|
336
|
+
* Element placed after the children.
|
|
337
|
+
*/
|
|
338
|
+
endIcon: PropTypes.node,
|
|
339
|
+
/**
|
|
340
|
+
* @ignore
|
|
341
|
+
*/
|
|
342
|
+
focusVisibleClassName: PropTypes.string,
|
|
343
|
+
/**
|
|
344
|
+
* If `true`, the button will take up the full width of its container.
|
|
345
|
+
* @default false
|
|
346
|
+
*/
|
|
347
|
+
fullWidth: PropTypes.bool,
|
|
348
|
+
/**
|
|
349
|
+
* The URL to link to when the button is clicked.
|
|
350
|
+
* If defined, an `a` element will be used as the root node.
|
|
351
|
+
*/
|
|
352
|
+
href: PropTypes.string,
|
|
353
|
+
/**
|
|
354
|
+
* The size of the component.
|
|
355
|
+
* `small` is equivalent to the dense button styling.
|
|
356
|
+
* @default 'medium'
|
|
357
|
+
*/
|
|
358
|
+
size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),
|
|
359
|
+
/**
|
|
360
|
+
* Element placed before the children.
|
|
361
|
+
*/
|
|
362
|
+
startIcon: PropTypes.node,
|
|
363
|
+
/**
|
|
364
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
365
|
+
*/
|
|
366
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
367
|
+
/**
|
|
368
|
+
* @ignore
|
|
369
|
+
*/
|
|
370
|
+
type: PropTypes.oneOfType([PropTypes.oneOf(['button', 'reset', 'submit']), PropTypes.string]),
|
|
371
|
+
/**
|
|
372
|
+
* The variant to use.
|
|
373
|
+
* @default 'text'
|
|
374
|
+
*/
|
|
375
|
+
variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['contained', 'outlined', 'text']), PropTypes.string])
|
|
376
|
+
} : void 0;
|
|
377
|
+
const Button$1 = Button;
|
|
378
|
+
|
|
379
|
+
export { Button$1 as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import generateUtilityClasses from '../../../../../@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js';
|
|
2
|
+
import generateUtilityClass from '../../../../../@mui_utils@5.15.6_@types_react@18.2.48_react@18.2.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js';
|
|
3
|
+
|
|
4
|
+
function getButtonUtilityClass(slot) {
|
|
5
|
+
return generateUtilityClass('MuiButton', slot);
|
|
6
|
+
}
|
|
7
|
+
const buttonClasses = generateUtilityClasses('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'textSuccess', 'textError', 'textInfo', 'textWarning', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'outlinedSuccess', 'outlinedError', 'outlinedInfo', 'outlinedWarning', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'containedSuccess', 'containedError', 'containedInfo', 'containedWarning', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge']);
|
|
8
|
+
const buttonClasses$1 = buttonClasses;
|
|
9
|
+
|
|
10
|
+
export { buttonClasses$1 as default, getButtonUtilityClass };
|