@cgi-learning-hub/ui 0.0.1-dev.1706552824 → 0.0.1-dev.1706708255
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/Button-t2XOOBeu.js +5460 -0
- package/dist/assets/index.css +1 -0
- package/dist/components/AnotherComponent/AnotherComponent.d.ts +2 -0
- package/dist/components/AnotherComponent/AnotherComponent.js +5 -0
- package/dist/components/AnotherComponent/AnotherComponent.stories.d.ts +5 -0
- package/dist/components/AnotherComponent/AnotherComponent.stories.js +22 -0
- package/dist/components/AnotherComponent/index.d.ts +2 -0
- package/dist/components/AnotherComponent/index.js +4 -0
- package/dist/components/BasicButtons/BasicButtons.js +197 -13
- package/dist/components/BasicButtons/BasicButtons.stories.js +22 -0
- package/dist/components/BasicButtons/index.js +4 -0
- package/dist/components/Button/Button.d.ts +11 -0
- package/dist/components/Button/Button.js +35 -0
- package/dist/components/Button/Button.stories.d.ts +6 -0
- package/dist/components/Button/Button.stories.js +21 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.js +4 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +8 -0
- package/dist/index.js +9 -1
- package/dist/vite-env.d.js +1 -0
- package/package.json +7 -3
- package/dist/_virtual/_commonjsHelpers.js +0 -5
- package/dist/_virtual/index.js +0 -3
- package/dist/_virtual/index2.js +0 -3
- package/dist/_virtual/index3.js +0 -3
- package/dist/_virtual/react-is.development.js +0 -3
- package/dist/_virtual/react-is.development2.js +0 -3
- package/dist/_virtual/react-is.production.min.js +0 -3
- package/dist/_virtual/react-is.production.min2.js +0 -3
- package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -8
- package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/extends.js +0 -16
- package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -9
- package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
- package/dist/node_modules/.pnpm/@babel_runtime@7.23.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -9
- 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 +0 -379
- 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 +0 -10
- 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 +0 -477
- 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 +0 -85
- 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 +0 -340
- 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 +0 -9
- 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 +0 -5
- 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 +0 -12
- 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 +0 -12
- 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 +0 -63
- 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 +0 -19
- 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 +0 -7
- 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 +0 -19
- 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 +0 -19
- 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 +0 -19
- 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 +0 -19
- 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 +0 -19
- 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 +0 -19
- 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 +0 -19
- 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 +0 -308
- 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 +0 -82
- 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 +0 -91
- 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 +0 -93
- 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 +0 -6
- 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 +0 -3
- 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 +0 -11
- 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 +0 -12
- 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 +0 -17
- 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 +0 -15
- 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 +0 -5
- 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 +0 -5
- 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 +0 -5
- 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 +0 -5
- 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 +0 -36
- 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 +0 -176
- 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 +0 -51
- 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 +0 -123
- 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 +0 -236
- 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 +0 -26
- 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 +0 -322
- 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 +0 -82
- 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 +0 -34
- 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 +0 -43
- 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 +0 -6
- 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 +0 -86
- 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 +0 -11
- 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 +0 -12
- 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 +0 -28
- 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 +0 -30
- 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 +0 -6
- 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 +0 -67
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/spacing.js +0 -144
- 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 +0 -77
- package/dist/node_modules/.pnpm/@mui_system@5.15.6_@emotion_react@11.11.1_@emotion_styled@11.11.0_@types_react@18.2.48_react@18.2.0/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +0 -294
- 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 +0 -51
- 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 +0 -129
- 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 +0 -5
- 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 +0 -9
- 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 +0 -15
- 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 +0 -22
- 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 +0 -12
- 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 +0 -18
- 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 +0 -14
- 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 +0 -10
- 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 +0 -5
- 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 +0 -23
- 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 +0 -44
- 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 +0 -43
- 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 +0 -21
- 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 +0 -22
- 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 +0 -11
- 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 +0 -49
- 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 +0 -6
- 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 +0 -37
- 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 +0 -22
- 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 +0 -12
- 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 +0 -19
- 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 +0 -23
- 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 +0 -156
- package/dist/node_modules/.pnpm/clsx@2.1.0/node_modules/clsx/dist/clsx.js +0 -3
- package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +0 -99
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +0 -115
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +0 -74
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +0 -625
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +0 -30
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -21
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js +0 -11
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -190
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -26
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +0 -19
- package/dist/node_modules/.pnpm/react-is@18.2.0/node_modules/react-is/cjs/react-is.development.js +0 -230
- package/dist/node_modules/.pnpm/react-is@18.2.0/node_modules/react-is/cjs/react-is.production.min.js +0 -26
- package/dist/node_modules/.pnpm/react-is@18.2.0/node_modules/react-is/index.js +0 -13
- 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 +0 -191
- 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 +0 -5
- 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 +0 -143
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }#root :is(.rounded){border-radius:.25rem}#root :is(.border-2){border-width:2px}#root :is(.border-8){border-width:8px}#root :is(.bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}#root :is(.px-4){padding-left:1rem;padding-right:1rem}#root :is(.py-2){padding-top:.5rem;padding-bottom:.5rem}#root :is(.font-bold){font-weight:700}#root :is(.text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}#root :is(.hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import o from "./AnotherComponent.js";
|
|
3
|
+
const p = {
|
|
4
|
+
title: "Components/AnotherComponent",
|
|
5
|
+
component: o,
|
|
6
|
+
argTypes: {
|
|
7
|
+
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
8
|
+
}
|
|
9
|
+
}, t = (n) => /* @__PURE__ */ e(o, { ...n }), r = t.bind({});
|
|
10
|
+
r.args = {
|
|
11
|
+
label: "Primary Button"
|
|
12
|
+
};
|
|
13
|
+
const a = t.bind({});
|
|
14
|
+
a.args = {
|
|
15
|
+
label: "Secondary Button",
|
|
16
|
+
secondary: !0
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
r as Primary,
|
|
20
|
+
a as Secondary,
|
|
21
|
+
p as default
|
|
22
|
+
};
|
|
@@ -1,14 +1,198 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsx as p, jsxs as B } from "react/jsx-runtime";
|
|
2
|
+
import { _ as j, a as d, d as R, i as D, b as E, P as e, e as F, h as x, r as v, f as M, g as w, m as G, j as A, u as U, k as L, l as I, n as T, s as W, o as q, M as h } from "../../Button-t2XOOBeu.js";
|
|
3
|
+
import * as g from "react";
|
|
4
|
+
const z = ["sx"], H = (o) => {
|
|
5
|
+
var s, t;
|
|
6
|
+
const n = {
|
|
7
|
+
systemProps: {},
|
|
8
|
+
otherProps: {}
|
|
9
|
+
}, a = (s = o == null || (t = o.theme) == null ? void 0 : t.unstable_sxConfig) != null ? s : R;
|
|
10
|
+
return Object.keys(o).forEach((r) => {
|
|
11
|
+
a[r] ? n.systemProps[r] = o[r] : n.otherProps[r] = o[r];
|
|
12
|
+
}), n;
|
|
13
|
+
};
|
|
14
|
+
function J(o) {
|
|
15
|
+
const {
|
|
16
|
+
sx: s
|
|
17
|
+
} = o, t = j(o, z), {
|
|
18
|
+
systemProps: n,
|
|
19
|
+
otherProps: a
|
|
20
|
+
} = H(t);
|
|
21
|
+
let r;
|
|
22
|
+
return Array.isArray(s) ? r = [n, ...s] : typeof s == "function" ? r = (...l) => {
|
|
23
|
+
const u = s(...l);
|
|
24
|
+
return D(u) ? d({}, n, u) : n;
|
|
25
|
+
} : r = d({}, n, s), d({}, a, {
|
|
26
|
+
sx: r
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
const K = E(), Q = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"], X = F(), Y = K("div", {
|
|
30
|
+
name: "MuiStack",
|
|
31
|
+
slot: "Root",
|
|
32
|
+
overridesResolver: (o, s) => s.root
|
|
33
|
+
});
|
|
34
|
+
function Z(o) {
|
|
35
|
+
return U({
|
|
36
|
+
props: o,
|
|
37
|
+
name: "MuiStack",
|
|
38
|
+
defaultTheme: X
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function ee(o, s) {
|
|
42
|
+
const t = g.Children.toArray(o).filter(Boolean);
|
|
43
|
+
return t.reduce((n, a, r) => (n.push(a), r < t.length - 1 && n.push(/* @__PURE__ */ g.cloneElement(s, {
|
|
44
|
+
key: `separator-${r}`
|
|
45
|
+
})), n), []);
|
|
46
|
+
}
|
|
47
|
+
const oe = (o) => ({
|
|
48
|
+
row: "Left",
|
|
49
|
+
"row-reverse": "Right",
|
|
50
|
+
column: "Top",
|
|
51
|
+
"column-reverse": "Bottom"
|
|
52
|
+
})[o], se = ({
|
|
53
|
+
ownerState: o,
|
|
54
|
+
theme: s
|
|
55
|
+
}) => {
|
|
56
|
+
let t = d({
|
|
57
|
+
display: "flex",
|
|
58
|
+
flexDirection: "column"
|
|
59
|
+
}, x({
|
|
60
|
+
theme: s
|
|
61
|
+
}, v({
|
|
62
|
+
values: o.direction,
|
|
63
|
+
breakpoints: s.breakpoints.values
|
|
64
|
+
}), (n) => ({
|
|
65
|
+
flexDirection: n
|
|
66
|
+
})));
|
|
67
|
+
if (o.spacing) {
|
|
68
|
+
const n = M(s), a = Object.keys(s.breakpoints.values).reduce((c, i) => ((typeof o.spacing == "object" && o.spacing[i] != null || typeof o.direction == "object" && o.direction[i] != null) && (c[i] = !0), c), {}), r = v({
|
|
69
|
+
values: o.direction,
|
|
70
|
+
base: a
|
|
71
|
+
}), l = v({
|
|
72
|
+
values: o.spacing,
|
|
73
|
+
base: a
|
|
74
|
+
});
|
|
75
|
+
typeof r == "object" && Object.keys(r).forEach((c, i, f) => {
|
|
76
|
+
if (!r[c]) {
|
|
77
|
+
const y = i > 0 ? r[f[i - 1]] : "column";
|
|
78
|
+
r[c] = y;
|
|
79
|
+
}
|
|
80
|
+
}), t = w(t, x({
|
|
81
|
+
theme: s
|
|
82
|
+
}, l, (c, i) => o.useFlexGap ? {
|
|
83
|
+
gap: T(n, c)
|
|
84
|
+
} : {
|
|
85
|
+
// The useFlexGap={false} implement relies on each child to give up control of the margin.
|
|
86
|
+
// We need to reset the margin to avoid double spacing.
|
|
87
|
+
"& > :not(style):not(style)": {
|
|
88
|
+
margin: 0
|
|
89
|
+
},
|
|
90
|
+
"& > :not(style) ~ :not(style)": {
|
|
91
|
+
[`margin${oe(i ? r[i] : o.direction)}`]: T(n, c)
|
|
92
|
+
}
|
|
93
|
+
}));
|
|
94
|
+
}
|
|
95
|
+
return t = G(s.breakpoints, t), t;
|
|
96
|
+
};
|
|
97
|
+
function re(o = {}) {
|
|
98
|
+
const {
|
|
99
|
+
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
100
|
+
createStyledComponent: s = Y,
|
|
101
|
+
useThemeProps: t = Z,
|
|
102
|
+
componentName: n = "MuiStack"
|
|
103
|
+
} = o, a = () => L({
|
|
104
|
+
root: ["root"]
|
|
105
|
+
}, (c) => I(n, c), {}), r = s(se), l = /* @__PURE__ */ g.forwardRef(function(c, i) {
|
|
106
|
+
const f = t(c), m = J(f), {
|
|
107
|
+
component: y = "div",
|
|
108
|
+
direction: k = "column",
|
|
109
|
+
spacing: S = 0,
|
|
110
|
+
divider: b,
|
|
111
|
+
children: O,
|
|
112
|
+
className: C,
|
|
113
|
+
useFlexGap: V = !1
|
|
114
|
+
} = m, _ = j(m, Q), N = {
|
|
115
|
+
direction: k,
|
|
116
|
+
spacing: S,
|
|
117
|
+
useFlexGap: V
|
|
118
|
+
}, $ = a();
|
|
119
|
+
return /* @__PURE__ */ p(r, d({
|
|
120
|
+
as: y,
|
|
121
|
+
ownerState: N,
|
|
122
|
+
ref: i,
|
|
123
|
+
className: A($.root, C)
|
|
124
|
+
}, _, {
|
|
125
|
+
children: b ? ee(O, b) : O
|
|
126
|
+
}));
|
|
127
|
+
});
|
|
128
|
+
return process.env.NODE_ENV !== "production" && (l.propTypes = {
|
|
129
|
+
children: e.node,
|
|
130
|
+
direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
|
|
131
|
+
divider: e.node,
|
|
132
|
+
spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
133
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
134
|
+
}), l;
|
|
135
|
+
}
|
|
136
|
+
const P = re({
|
|
137
|
+
createStyledComponent: W("div", {
|
|
138
|
+
name: "MuiStack",
|
|
139
|
+
slot: "Root",
|
|
140
|
+
overridesResolver: (o, s) => s.root
|
|
141
|
+
}),
|
|
142
|
+
useThemeProps: (o) => q({
|
|
143
|
+
props: o,
|
|
144
|
+
name: "MuiStack"
|
|
145
|
+
})
|
|
146
|
+
});
|
|
147
|
+
process.env.NODE_ENV !== "production" && (P.propTypes = {
|
|
148
|
+
// ----------------------------- Warning --------------------------------
|
|
149
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
150
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
151
|
+
// ----------------------------------------------------------------------
|
|
152
|
+
/**
|
|
153
|
+
* The content of the component.
|
|
154
|
+
*/
|
|
155
|
+
children: e.node,
|
|
156
|
+
/**
|
|
157
|
+
* The component used for the root node.
|
|
158
|
+
* Either a string to use a HTML element or a component.
|
|
159
|
+
*/
|
|
160
|
+
component: e.elementType,
|
|
161
|
+
/**
|
|
162
|
+
* Defines the `flex-direction` style property.
|
|
163
|
+
* It is applied for all screen sizes.
|
|
164
|
+
* @default 'column'
|
|
165
|
+
*/
|
|
166
|
+
direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
|
|
167
|
+
/**
|
|
168
|
+
* Add an element between each child.
|
|
169
|
+
*/
|
|
170
|
+
divider: e.node,
|
|
171
|
+
/**
|
|
172
|
+
* Defines the space between immediate children.
|
|
173
|
+
* @default 0
|
|
174
|
+
*/
|
|
175
|
+
spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
176
|
+
/**
|
|
177
|
+
* The system prop, which allows defining system overrides as well as additional CSS styles.
|
|
178
|
+
*/
|
|
179
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
180
|
+
/**
|
|
181
|
+
* If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
|
|
182
|
+
*
|
|
183
|
+
* While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),
|
|
184
|
+
* it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
|
|
185
|
+
*
|
|
186
|
+
* To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
|
|
187
|
+
* @default false
|
|
188
|
+
*/
|
|
189
|
+
useFlexGap: e.bool
|
|
190
|
+
});
|
|
191
|
+
const ne = P, ie = () => /* @__PURE__ */ B(ne, { spacing: 2, direction: "row", children: [
|
|
192
|
+
/* @__PURE__ */ p(h, { variant: "text", children: "Text" }),
|
|
193
|
+
/* @__PURE__ */ p(h, { variant: "contained", children: "Contained" }),
|
|
194
|
+
/* @__PURE__ */ p(h, { variant: "outlined", className: "border-2", children: "Outlined" })
|
|
195
|
+
] });
|
|
196
|
+
export {
|
|
197
|
+
ie as default
|
|
11
198
|
};
|
|
12
|
-
const BasicButtons$1 = BasicButtons;
|
|
13
|
-
|
|
14
|
-
export { BasicButtons$1 as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import t from "./BasicButtons.js";
|
|
3
|
+
const i = {
|
|
4
|
+
title: "Components/BasicButtons",
|
|
5
|
+
component: t,
|
|
6
|
+
argTypes: {
|
|
7
|
+
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
8
|
+
}
|
|
9
|
+
}, o = (n) => /* @__PURE__ */ r(t, { ...n }), s = o.bind({});
|
|
10
|
+
s.args = {
|
|
11
|
+
label: "Primary Button"
|
|
12
|
+
};
|
|
13
|
+
const a = o.bind({});
|
|
14
|
+
a.args = {
|
|
15
|
+
label: "Secondary Button",
|
|
16
|
+
secondary: !0
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
s as Primary,
|
|
20
|
+
a as Secondary,
|
|
21
|
+
i as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Button as MuiButton } from '@mui/material';
|
|
3
|
+
export type ButtonProps = typeof MuiButton & {
|
|
4
|
+
text: string;
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
declare const Button: {
|
|
8
|
+
({ text, icon }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export default Button;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { C as s, c as a, P as i, M as d } from "../../Button-t2XOOBeu.js";
|
|
4
|
+
let r;
|
|
5
|
+
typeof document == "object" && (r = a({
|
|
6
|
+
key: "css",
|
|
7
|
+
prepend: !0
|
|
8
|
+
}));
|
|
9
|
+
function c(o) {
|
|
10
|
+
const {
|
|
11
|
+
injectFirst: e,
|
|
12
|
+
children: n
|
|
13
|
+
} = o;
|
|
14
|
+
return e && r ? /* @__PURE__ */ t(s, {
|
|
15
|
+
value: r,
|
|
16
|
+
children: n
|
|
17
|
+
}) : n;
|
|
18
|
+
}
|
|
19
|
+
process.env.NODE_ENV !== "production" && (c.propTypes = {
|
|
20
|
+
/**
|
|
21
|
+
* Your component tree.
|
|
22
|
+
*/
|
|
23
|
+
children: i.node,
|
|
24
|
+
/**
|
|
25
|
+
* By default, the styles are injected last in the <head> element of the page.
|
|
26
|
+
* As a result, they gain more specificity than any other style sheet.
|
|
27
|
+
* If you want to override MUI's styles, set this prop.
|
|
28
|
+
*/
|
|
29
|
+
injectFirst: i.bool
|
|
30
|
+
});
|
|
31
|
+
const p = ({ text: o, icon: e }) => /* @__PURE__ */ t(c, { injectFirst: !0, children: /* @__PURE__ */ t(d, { variant: "outlined", startIcon: e, className: "border-8", children: "Bonjourr" }) });
|
|
32
|
+
p.displayName = "Button";
|
|
33
|
+
export {
|
|
34
|
+
p as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import t from "./Button.js";
|
|
2
|
+
const e = {
|
|
3
|
+
title: "Components/Buttons/Button",
|
|
4
|
+
component: t,
|
|
5
|
+
argTypes: {
|
|
6
|
+
text: {
|
|
7
|
+
description: "Button text value",
|
|
8
|
+
control: {
|
|
9
|
+
type: "string"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}, n = {
|
|
14
|
+
args: {
|
|
15
|
+
text: "Base button"
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
n as Base,
|
|
20
|
+
e as default
|
|
21
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import "./assets/index.css";
|
|
2
|
+
import { default as r } from "./components/BasicButtons/BasicButtons.js";
|
|
3
|
+
import { default as f } from "./components/AnotherComponent/AnotherComponent.js";
|
|
4
|
+
import { default as n } from "./components/Button/Button.js";
|
|
5
|
+
export {
|
|
6
|
+
f as AnotherComponent,
|
|
7
|
+
r as BasicButtons,
|
|
8
|
+
n as Button
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cgi-learning-hub/ui",
|
|
3
|
-
"version": "0.0.1-dev.
|
|
3
|
+
"version": "0.0.1-dev.1706708255",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "CGI Learning-hub Team",
|
|
6
6
|
"description": "@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features",
|
|
@@ -28,10 +28,14 @@
|
|
|
28
28
|
"files": [
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
|
-
"
|
|
31
|
+
"devDependencies": {
|
|
32
32
|
"@mui/material": "5.15.0",
|
|
33
|
+
"@mui/styles": "5.15.0",
|
|
33
34
|
"@emotion/react": "11.11.1",
|
|
34
|
-
"@emotion/styled": "11.11.0"
|
|
35
|
+
"@emotion/styled": "11.11.0",
|
|
36
|
+
"autoprefixer": "10.4.17",
|
|
37
|
+
"postcss": "8.4.33",
|
|
38
|
+
"tailwindcss": "3.4.1"
|
|
35
39
|
},
|
|
36
40
|
"peerDependencies": {
|
|
37
41
|
"@types/react": "18.2.48",
|
package/dist/_virtual/index.js
DELETED
package/dist/_virtual/index2.js
DELETED
package/dist/_virtual/index3.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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 };
|
|
@@ -1,9 +0,0 @@
|
|
|
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 };
|
|
@@ -1,14 +0,0 @@
|
|
|
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 };
|