@alfalab/core-components-universal-modal 1.0.0
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/Component.responsive.d.ts +15 -0
- package/Component.responsive.js +44 -0
- package/Context.d.ts +4 -0
- package/Context.js +9 -0
- package/ResponsiveContext.d.ts +4 -0
- package/ResponsiveContext.js +9 -0
- package/components/content/base-content/base-content.d.ts +17 -0
- package/components/content/base-content/base-content.js +28 -0
- package/components/content/base-content/index.css +44 -0
- package/components/content/desktop/Component.desktop.d.ts +10 -0
- package/components/content/desktop/Component.desktop.js +20 -0
- package/components/content/index.d.ts +7 -0
- package/components/content/index.js +13 -0
- package/components/content/mobile/Component.mobile.d.ts +5 -0
- package/components/content/mobile/Component.mobile.js +23 -0
- package/components/content/mobile/mobile.css +38 -0
- package/components/content/responsive/Component.responsive.d.ts +6 -0
- package/components/content/responsive/Component.responsive.js +24 -0
- package/components/footer/base-footer/base-footer.d.ts +29 -0
- package/components/footer/base-footer/base-footer.js +34 -0
- package/components/footer/base-footer/index.css +48 -0
- package/components/footer/desktop/Component.desktop.d.ts +10 -0
- package/components/footer/desktop/Component.desktop.js +34 -0
- package/components/footer/desktop/desktop.css +30 -0
- package/components/footer/desktop/layout.css +58 -0
- package/components/footer/index.d.ts +7 -0
- package/components/footer/index.js +13 -0
- package/components/footer/mobile/Component.mobile.d.ts +5 -0
- package/components/footer/mobile/Component.mobile.js +31 -0
- package/components/footer/mobile/layout.mobile.css +50 -0
- package/components/footer/mobile/mobile.css +34 -0
- package/components/footer/responsive/Component.responsive.d.ts +6 -0
- package/components/footer/responsive/Component.responsive.js +24 -0
- package/components/header/base-header/index.css +72 -0
- package/components/header/desktop/Component.desktop.d.ts +11 -0
- package/components/header/desktop/Component.desktop.js +44 -0
- package/components/header/desktop/desktop.css +57 -0
- package/components/header/index.d.ts +7 -0
- package/components/header/index.js +13 -0
- package/components/header/mobile/Component.mobile.d.ts +5 -0
- package/components/header/mobile/Component.mobile.js +38 -0
- package/components/header/mobile/mobile.css +59 -0
- package/components/header/responsive/Component.responsive.d.ts +6 -0
- package/components/header/responsive/Component.responsive.js +24 -0
- package/cssm/Component.responsive.d.ts +15 -0
- package/cssm/Component.responsive.js +58 -0
- package/cssm/Context.d.ts +4 -0
- package/cssm/Context.js +9 -0
- package/cssm/ResponsiveContext.d.ts +4 -0
- package/cssm/ResponsiveContext.js +9 -0
- package/cssm/components/content/base-content/base-content.d.ts +17 -0
- package/cssm/components/content/base-content/base-content.js +27 -0
- package/cssm/components/content/base-content/index.module.css +43 -0
- package/cssm/components/content/desktop/Component.desktop.d.ts +10 -0
- package/cssm/components/content/desktop/Component.desktop.js +20 -0
- package/cssm/components/content/index.d.ts +7 -0
- package/cssm/components/content/index.js +13 -0
- package/cssm/components/content/mobile/Component.mobile.d.ts +5 -0
- package/cssm/components/content/mobile/Component.mobile.js +22 -0
- package/cssm/components/content/mobile/mobile.module.css +37 -0
- package/cssm/components/content/responsive/Component.responsive.d.ts +6 -0
- package/cssm/components/content/responsive/Component.responsive.js +24 -0
- package/cssm/components/footer/base-footer/base-footer.d.ts +29 -0
- package/cssm/components/footer/base-footer/base-footer.js +33 -0
- package/cssm/components/footer/base-footer/index.module.css +47 -0
- package/cssm/components/footer/desktop/Component.desktop.d.ts +10 -0
- package/cssm/components/footer/desktop/Component.desktop.js +32 -0
- package/cssm/components/footer/desktop/desktop.module.css +29 -0
- package/cssm/components/footer/desktop/layout.module.css +54 -0
- package/cssm/components/footer/index.d.ts +7 -0
- package/cssm/components/footer/index.js +13 -0
- package/cssm/components/footer/mobile/Component.mobile.d.ts +5 -0
- package/cssm/components/footer/mobile/Component.mobile.js +29 -0
- package/cssm/components/footer/mobile/layout.mobile.module.css +47 -0
- package/cssm/components/footer/mobile/mobile.module.css +33 -0
- package/cssm/components/footer/responsive/Component.responsive.d.ts +6 -0
- package/cssm/components/footer/responsive/Component.responsive.js +24 -0
- package/cssm/components/header/base-header/index.module.css +71 -0
- package/cssm/components/header/desktop/Component.desktop.d.ts +11 -0
- package/cssm/components/header/desktop/Component.desktop.js +44 -0
- package/cssm/components/header/desktop/desktop.module.css +56 -0
- package/cssm/components/header/index.d.ts +7 -0
- package/cssm/components/header/index.js +13 -0
- package/cssm/components/header/mobile/Component.mobile.d.ts +5 -0
- package/cssm/components/header/mobile/Component.mobile.js +38 -0
- package/cssm/components/header/mobile/mobile.module.css +58 -0
- package/cssm/components/header/responsive/Component.responsive.d.ts +6 -0
- package/cssm/components/header/responsive/Component.responsive.js +24 -0
- package/cssm/desktop/Component.desktop.d.ts +9 -0
- package/cssm/desktop/Component.desktop.js +58 -0
- package/cssm/desktop/components/base-universal-modal-content/base-universal-modal-content.d.ts +7 -0
- package/cssm/desktop/components/base-universal-modal-content/base-universal-modal-content.js +121 -0
- package/cssm/desktop/components/base-universal-modal-content/base-universal-modal-content.module.css +34 -0
- package/cssm/desktop/components/buttons/arrow-button/arrow-button.d.ts +6 -0
- package/cssm/desktop/components/buttons/arrow-button/arrow-button.js +22 -0
- package/cssm/desktop/components/buttons/arrow-button/arrow-button.module.css +31 -0
- package/cssm/desktop/components/buttons/arrow-button/index.d.ts +1 -0
- package/cssm/desktop/components/buttons/arrow-button/index.js +9 -0
- package/cssm/desktop/components/buttons/cross-button/cross-button.d.ts +6 -0
- package/cssm/desktop/components/buttons/cross-button/cross-button.js +20 -0
- package/cssm/desktop/components/buttons/cross-button/cross-button.module.css +28 -0
- package/cssm/desktop/components/buttons/cross-button/index.d.ts +1 -0
- package/cssm/desktop/components/buttons/cross-button/index.js +9 -0
- package/cssm/desktop/components/center-modal/center-modal.d.ts +4 -0
- package/cssm/desktop/components/center-modal/center-modal.js +43 -0
- package/cssm/desktop/components/center-modal/index.d.ts +1 -0
- package/cssm/desktop/components/center-modal/index.js +9 -0
- package/cssm/desktop/components/center-modal/styles/center-modal.module.css +52 -0
- package/cssm/desktop/components/center-modal/styles/index.module.css +1084 -0
- package/cssm/desktop/components/center-modal/styles/transitions/safari-transitions.module.css +23 -0
- package/cssm/desktop/components/center-modal/styles/transitions/transitions.module.css +23 -0
- package/cssm/desktop/components/side-modal/get-default-transition-props.d.ts +20 -0
- package/cssm/desktop/components/side-modal/get-default-transition-props.js +42 -0
- package/cssm/desktop/components/side-modal/index.d.ts +1 -0
- package/cssm/desktop/components/side-modal/index.js +9 -0
- package/cssm/desktop/components/side-modal/side-modal.d.ts +4 -0
- package/cssm/desktop/components/side-modal/side-modal.js +50 -0
- package/cssm/desktop/components/side-modal/styles/index.module.css +1087 -0
- package/cssm/desktop/components/side-modal/styles/side-modal.module.css +55 -0
- package/cssm/desktop/components/side-modal/styles/transitions/transitions.module.css +330 -0
- package/cssm/desktop/constants/index.d.ts +3 -0
- package/cssm/desktop/constants/index.js +9 -0
- package/cssm/desktop/hooks/useModalHeight.d.ts +4 -0
- package/cssm/desktop/hooks/useModalHeight.js +33 -0
- package/cssm/desktop/hooks/useModalWheel.d.ts +6 -0
- package/cssm/desktop/hooks/useModalWheel.js +19 -0
- package/cssm/desktop/hooks/useModalWidth.d.ts +4 -0
- package/cssm/desktop/hooks/useModalWidth.js +41 -0
- package/cssm/desktop/index.d.ts +10 -0
- package/cssm/desktop/index.js +34 -0
- package/cssm/desktop/styles/margins.module.css +1552 -0
- package/cssm/desktop/styles/transitions/full-size-backdrop-transitions.module.css +59 -0
- package/cssm/desktop/styles/transitions/full-size-vertical-bottom-transitions.module.css +24 -0
- package/cssm/desktop/styles/transitions/full-size-vertical-center-transitions.module.css +20 -0
- package/cssm/desktop/styles/transitions/full-size-vertical-top-transitions.module.css +24 -0
- package/cssm/desktop/types/props.d.ts +45 -0
- package/cssm/desktop/types/props.js +2 -0
- package/cssm/desktop/utils/get-full-size-modal-transitions.d.ts +16 -0
- package/cssm/desktop/utils/get-full-size-modal-transitions.js +54 -0
- package/cssm/desktop/utils/get-margins.d.ts +7 -0
- package/cssm/desktop/utils/get-margins.js +22 -0
- package/cssm/desktop/vars.css +24 -0
- package/cssm/index.d.ts +8 -0
- package/cssm/index.js +33 -0
- package/cssm/mobile/Component.mobile.d.ts +9 -0
- package/cssm/mobile/Component.mobile.js +45 -0
- package/cssm/mobile/components/buttons/arrow-button/arrow-button.d.ts +6 -0
- package/cssm/mobile/components/buttons/arrow-button/arrow-button.js +20 -0
- package/cssm/mobile/components/buttons/arrow-button/arrow-button.module.css +30 -0
- package/cssm/mobile/components/buttons/arrow-button/index.d.ts +1 -0
- package/cssm/mobile/components/buttons/arrow-button/index.js +9 -0
- package/cssm/mobile/components/buttons/cross-button/cross-button.d.ts +6 -0
- package/cssm/mobile/components/buttons/cross-button/cross-button.js +20 -0
- package/cssm/mobile/components/buttons/cross-button/cross-button.module.css +30 -0
- package/cssm/mobile/components/buttons/cross-button/index.d.ts +1 -0
- package/cssm/mobile/components/buttons/cross-button/index.js +9 -0
- package/cssm/mobile/index.d.ts +10 -0
- package/cssm/mobile/index.js +34 -0
- package/cssm/mobile/mobile.module.css +38 -0
- package/cssm/mobile/transitions/right-side-transitions.mobile.module.css +37 -0
- package/cssm/mobile/transitions/transitions.mobile.module.css +24 -0
- package/cssm/mobile/types/props.d.ts +11 -0
- package/cssm/mobile/types/props.js +2 -0
- package/cssm/mobile/vars.css +24 -0
- package/cssm/shared/index.d.ts +2 -0
- package/cssm/shared/index.js +11 -0
- package/cssm/typings/index.d.ts +22 -0
- package/cssm/typings/index.js +2 -0
- package/cssm/typings/margin-type.d.ts +8 -0
- package/cssm/typings/margin-type.js +2 -0
- package/cssm/utils/getUniversalModalTestIds.d.ts +8 -0
- package/cssm/utils/getUniversalModalTestIds.js +17 -0
- package/cssm/vars.css +26 -0
- package/desktop/Component.desktop.d.ts +9 -0
- package/desktop/Component.desktop.js +51 -0
- package/desktop/components/base-universal-modal-content/base-universal-modal-content.css +35 -0
- package/desktop/components/base-universal-modal-content/base-universal-modal-content.d.ts +7 -0
- package/desktop/components/base-universal-modal-content/base-universal-modal-content.js +122 -0
- package/desktop/components/buttons/arrow-button/arrow-button.css +32 -0
- package/desktop/components/buttons/arrow-button/arrow-button.d.ts +6 -0
- package/desktop/components/buttons/arrow-button/arrow-button.js +23 -0
- package/desktop/components/buttons/arrow-button/index.d.ts +1 -0
- package/desktop/components/buttons/arrow-button/index.js +9 -0
- package/desktop/components/buttons/cross-button/cross-button.css +29 -0
- package/desktop/components/buttons/cross-button/cross-button.d.ts +6 -0
- package/desktop/components/buttons/cross-button/cross-button.js +21 -0
- package/desktop/components/buttons/cross-button/index.d.ts +1 -0
- package/desktop/components/buttons/cross-button/index.js +9 -0
- package/desktop/components/center-modal/center-modal.d.ts +4 -0
- package/desktop/components/center-modal/center-modal.js +46 -0
- package/desktop/components/center-modal/index.d.ts +1 -0
- package/desktop/components/center-modal/index.js +9 -0
- package/desktop/components/center-modal/styles/index.css +1085 -0
- package/desktop/components/center-modal/styles/transitions/safari-transitions.css +24 -0
- package/desktop/components/center-modal/styles/transitions/transitions.css +24 -0
- package/desktop/components/side-modal/get-default-transition-props.d.ts +20 -0
- package/desktop/components/side-modal/get-default-transition-props.js +43 -0
- package/desktop/components/side-modal/index.d.ts +1 -0
- package/desktop/components/side-modal/index.js +9 -0
- package/desktop/components/side-modal/side-modal.d.ts +4 -0
- package/desktop/components/side-modal/side-modal.js +51 -0
- package/desktop/components/side-modal/styles/index.css +1088 -0
- package/desktop/components/side-modal/styles/transitions/transitions.css +331 -0
- package/desktop/constants/index.d.ts +3 -0
- package/desktop/constants/index.js +9 -0
- package/desktop/hooks/useModalHeight.d.ts +4 -0
- package/desktop/hooks/useModalHeight.js +33 -0
- package/desktop/hooks/useModalWheel.d.ts +6 -0
- package/desktop/hooks/useModalWheel.js +19 -0
- package/desktop/hooks/useModalWidth.d.ts +4 -0
- package/desktop/hooks/useModalWidth.js +41 -0
- package/desktop/index.d.ts +10 -0
- package/desktop/index.js +27 -0
- package/desktop/package.json +3 -0
- package/desktop/styles/transitions/full-size-backdrop-transitions.css +60 -0
- package/desktop/styles/transitions/full-size-vertical-bottom-transitions.css +25 -0
- package/desktop/styles/transitions/full-size-vertical-center-transitions.css +21 -0
- package/desktop/styles/transitions/full-size-vertical-top-transitions.css +25 -0
- package/desktop/types/props.d.ts +45 -0
- package/desktop/types/props.js +2 -0
- package/desktop/utils/get-full-size-modal-transitions.d.ts +16 -0
- package/desktop/utils/get-full-size-modal-transitions.js +55 -0
- package/desktop/utils/get-margins.d.ts +7 -0
- package/desktop/utils/get-margins.js +22 -0
- package/esm/Component.responsive.d.ts +15 -0
- package/esm/Component.responsive.js +35 -0
- package/esm/Context.d.ts +4 -0
- package/esm/Context.js +5 -0
- package/esm/ResponsiveContext.d.ts +4 -0
- package/esm/ResponsiveContext.js +5 -0
- package/esm/components/content/base-content/base-content.d.ts +17 -0
- package/esm/components/content/base-content/base-content.js +19 -0
- package/esm/components/content/base-content/index.css +44 -0
- package/esm/components/content/desktop/Component.desktop.d.ts +10 -0
- package/esm/components/content/desktop/Component.desktop.js +11 -0
- package/esm/components/content/index.d.ts +7 -0
- package/esm/components/content/index.js +3 -0
- package/esm/components/content/mobile/Component.mobile.d.ts +5 -0
- package/esm/components/content/mobile/Component.mobile.js +14 -0
- package/esm/components/content/mobile/mobile.css +38 -0
- package/esm/components/content/responsive/Component.responsive.d.ts +6 -0
- package/esm/components/content/responsive/Component.responsive.js +16 -0
- package/esm/components/footer/base-footer/base-footer.d.ts +29 -0
- package/esm/components/footer/base-footer/base-footer.js +25 -0
- package/esm/components/footer/base-footer/index.css +48 -0
- package/esm/components/footer/desktop/Component.desktop.d.ts +10 -0
- package/esm/components/footer/desktop/Component.desktop.js +25 -0
- package/esm/components/footer/desktop/desktop.css +30 -0
- package/esm/components/footer/desktop/layout.css +58 -0
- package/esm/components/footer/index.d.ts +7 -0
- package/esm/components/footer/index.js +3 -0
- package/esm/components/footer/mobile/Component.mobile.d.ts +5 -0
- package/esm/components/footer/mobile/Component.mobile.js +22 -0
- package/esm/components/footer/mobile/layout.mobile.css +50 -0
- package/esm/components/footer/mobile/mobile.css +34 -0
- package/esm/components/footer/responsive/Component.responsive.d.ts +6 -0
- package/esm/components/footer/responsive/Component.responsive.js +16 -0
- package/esm/components/header/base-header/index.css +72 -0
- package/esm/components/header/desktop/Component.desktop.d.ts +11 -0
- package/esm/components/header/desktop/Component.desktop.js +35 -0
- package/esm/components/header/desktop/desktop.css +57 -0
- package/esm/components/header/index.d.ts +7 -0
- package/esm/components/header/index.js +3 -0
- package/esm/components/header/mobile/Component.mobile.d.ts +5 -0
- package/esm/components/header/mobile/Component.mobile.js +29 -0
- package/esm/components/header/mobile/mobile.css +59 -0
- package/esm/components/header/responsive/Component.responsive.d.ts +6 -0
- package/esm/components/header/responsive/Component.responsive.js +16 -0
- package/esm/desktop/Component.desktop.d.ts +9 -0
- package/esm/desktop/Component.desktop.js +42 -0
- package/esm/desktop/components/base-universal-modal-content/base-universal-modal-content.css +35 -0
- package/esm/desktop/components/base-universal-modal-content/base-universal-modal-content.d.ts +7 -0
- package/esm/desktop/components/base-universal-modal-content/base-universal-modal-content.js +114 -0
- package/esm/desktop/components/buttons/arrow-button/arrow-button.css +32 -0
- package/esm/desktop/components/buttons/arrow-button/arrow-button.d.ts +6 -0
- package/esm/desktop/components/buttons/arrow-button/arrow-button.js +15 -0
- package/esm/desktop/components/buttons/arrow-button/index.d.ts +1 -0
- package/esm/desktop/components/buttons/arrow-button/index.js +1 -0
- package/esm/desktop/components/buttons/cross-button/cross-button.css +29 -0
- package/esm/desktop/components/buttons/cross-button/cross-button.d.ts +6 -0
- package/esm/desktop/components/buttons/cross-button/cross-button.js +13 -0
- package/esm/desktop/components/buttons/cross-button/index.d.ts +1 -0
- package/esm/desktop/components/buttons/cross-button/index.js +1 -0
- package/esm/desktop/components/center-modal/center-modal.d.ts +4 -0
- package/esm/desktop/components/center-modal/center-modal.js +37 -0
- package/esm/desktop/components/center-modal/index.d.ts +1 -0
- package/esm/desktop/components/center-modal/index.js +1 -0
- package/esm/desktop/components/center-modal/styles/index.css +1085 -0
- package/esm/desktop/components/center-modal/styles/transitions/safari-transitions.css +24 -0
- package/esm/desktop/components/center-modal/styles/transitions/transitions.css +24 -0
- package/esm/desktop/components/side-modal/get-default-transition-props.d.ts +20 -0
- package/esm/desktop/components/side-modal/get-default-transition-props.js +35 -0
- package/esm/desktop/components/side-modal/index.d.ts +1 -0
- package/esm/desktop/components/side-modal/index.js +1 -0
- package/esm/desktop/components/side-modal/side-modal.d.ts +4 -0
- package/esm/desktop/components/side-modal/side-modal.js +42 -0
- package/esm/desktop/components/side-modal/styles/index.css +1088 -0
- package/esm/desktop/components/side-modal/styles/transitions/transitions.css +331 -0
- package/esm/desktop/constants/index.d.ts +3 -0
- package/esm/desktop/constants/index.js +4 -0
- package/esm/desktop/hooks/useModalHeight.d.ts +4 -0
- package/esm/desktop/hooks/useModalHeight.js +29 -0
- package/esm/desktop/hooks/useModalWheel.d.ts +6 -0
- package/esm/desktop/hooks/useModalWheel.js +15 -0
- package/esm/desktop/hooks/useModalWidth.d.ts +4 -0
- package/esm/desktop/hooks/useModalWidth.js +37 -0
- package/esm/desktop/index.d.ts +10 -0
- package/esm/desktop/index.js +13 -0
- package/esm/desktop/styles/transitions/full-size-backdrop-transitions.css +60 -0
- package/esm/desktop/styles/transitions/full-size-vertical-bottom-transitions.css +25 -0
- package/esm/desktop/styles/transitions/full-size-vertical-center-transitions.css +21 -0
- package/esm/desktop/styles/transitions/full-size-vertical-top-transitions.css +25 -0
- package/esm/desktop/types/props.d.ts +45 -0
- package/esm/desktop/types/props.js +1 -0
- package/esm/desktop/utils/get-full-size-modal-transitions.d.ts +16 -0
- package/esm/desktop/utils/get-full-size-modal-transitions.js +51 -0
- package/esm/desktop/utils/get-margins.d.ts +7 -0
- package/esm/desktop/utils/get-margins.js +18 -0
- package/esm/index.d.ts +8 -0
- package/esm/index.js +11 -0
- package/esm/index.module-c4f215c8.js +4 -0
- package/esm/mobile/Component.mobile.d.ts +9 -0
- package/esm/mobile/Component.mobile.js +32 -0
- package/esm/mobile/components/buttons/arrow-button/arrow-button.css +31 -0
- package/esm/mobile/components/buttons/arrow-button/arrow-button.d.ts +6 -0
- package/esm/mobile/components/buttons/arrow-button/arrow-button.js +13 -0
- package/esm/mobile/components/buttons/arrow-button/index.d.ts +1 -0
- package/esm/mobile/components/buttons/arrow-button/index.js +1 -0
- package/esm/mobile/components/buttons/cross-button/cross-button.css +31 -0
- package/esm/mobile/components/buttons/cross-button/cross-button.d.ts +6 -0
- package/esm/mobile/components/buttons/cross-button/cross-button.js +13 -0
- package/esm/mobile/components/buttons/cross-button/index.d.ts +1 -0
- package/esm/mobile/components/buttons/cross-button/index.js +1 -0
- package/esm/mobile/index.d.ts +10 -0
- package/esm/mobile/index.js +14 -0
- package/esm/mobile/mobile.css +39 -0
- package/esm/mobile/transitions/right-side-transitions.mobile.css +38 -0
- package/esm/mobile/transitions/transitions.mobile.css +25 -0
- package/esm/mobile/types/props.d.ts +11 -0
- package/esm/mobile/types/props.js +1 -0
- package/esm/shared/index.d.ts +2 -0
- package/esm/shared/index.js +2 -0
- package/esm/typings/index.d.ts +22 -0
- package/esm/typings/index.js +1 -0
- package/esm/typings/margin-type.d.ts +8 -0
- package/esm/typings/margin-type.js +1 -0
- package/esm/utils/getUniversalModalTestIds.d.ts +8 -0
- package/esm/utils/getUniversalModalTestIds.js +13 -0
- package/index.d.ts +8 -0
- package/index.js +23 -0
- package/index.module-7936578a.js +6 -0
- package/mobile/Component.mobile.d.ts +9 -0
- package/mobile/Component.mobile.js +42 -0
- package/mobile/components/buttons/arrow-button/arrow-button.css +31 -0
- package/mobile/components/buttons/arrow-button/arrow-button.d.ts +6 -0
- package/mobile/components/buttons/arrow-button/arrow-button.js +21 -0
- package/mobile/components/buttons/arrow-button/index.d.ts +1 -0
- package/mobile/components/buttons/arrow-button/index.js +9 -0
- package/mobile/components/buttons/cross-button/cross-button.css +31 -0
- package/mobile/components/buttons/cross-button/cross-button.d.ts +6 -0
- package/mobile/components/buttons/cross-button/cross-button.js +21 -0
- package/mobile/components/buttons/cross-button/index.d.ts +1 -0
- package/mobile/components/buttons/cross-button/index.js +9 -0
- package/mobile/index.d.ts +10 -0
- package/mobile/index.js +28 -0
- package/mobile/mobile.css +39 -0
- package/mobile/package.json +3 -0
- package/mobile/transitions/right-side-transitions.mobile.css +38 -0
- package/mobile/transitions/transitions.mobile.css +25 -0
- package/mobile/types/props.d.ts +11 -0
- package/mobile/types/props.js +2 -0
- package/modern/Component.responsive.d.ts +15 -0
- package/modern/Component.responsive.js +33 -0
- package/modern/Context.d.ts +4 -0
- package/modern/Context.js +5 -0
- package/modern/ResponsiveContext.d.ts +4 -0
- package/modern/ResponsiveContext.js +5 -0
- package/modern/components/content/base-content/base-content.d.ts +17 -0
- package/modern/components/content/base-content/base-content.js +17 -0
- package/modern/components/content/base-content/index.css +44 -0
- package/modern/components/content/desktop/Component.desktop.d.ts +10 -0
- package/modern/components/content/desktop/Component.desktop.js +7 -0
- package/modern/components/content/index.d.ts +7 -0
- package/modern/components/content/index.js +3 -0
- package/modern/components/content/mobile/Component.mobile.d.ts +5 -0
- package/modern/components/content/mobile/Component.mobile.js +10 -0
- package/modern/components/content/mobile/mobile.css +38 -0
- package/modern/components/content/responsive/Component.responsive.d.ts +6 -0
- package/modern/components/content/responsive/Component.responsive.js +14 -0
- package/modern/components/footer/base-footer/base-footer.d.ts +29 -0
- package/modern/components/footer/base-footer/base-footer.js +23 -0
- package/modern/components/footer/base-footer/index.css +48 -0
- package/modern/components/footer/desktop/Component.desktop.d.ts +10 -0
- package/modern/components/footer/desktop/Component.desktop.js +22 -0
- package/modern/components/footer/desktop/desktop.css +30 -0
- package/modern/components/footer/desktop/layout.css +58 -0
- package/modern/components/footer/index.d.ts +7 -0
- package/modern/components/footer/index.js +3 -0
- package/modern/components/footer/mobile/Component.mobile.d.ts +5 -0
- package/modern/components/footer/mobile/Component.mobile.js +19 -0
- package/modern/components/footer/mobile/layout.mobile.css +50 -0
- package/modern/components/footer/mobile/mobile.css +34 -0
- package/modern/components/footer/responsive/Component.responsive.d.ts +6 -0
- package/modern/components/footer/responsive/Component.responsive.js +14 -0
- package/modern/components/header/base-header/index.css +72 -0
- package/modern/components/header/desktop/Component.desktop.d.ts +11 -0
- package/modern/components/header/desktop/Component.desktop.js +32 -0
- package/modern/components/header/desktop/desktop.css +57 -0
- package/modern/components/header/index.d.ts +7 -0
- package/modern/components/header/index.js +3 -0
- package/modern/components/header/mobile/Component.mobile.d.ts +5 -0
- package/modern/components/header/mobile/Component.mobile.js +26 -0
- package/modern/components/header/mobile/mobile.css +59 -0
- package/modern/components/header/responsive/Component.responsive.d.ts +6 -0
- package/modern/components/header/responsive/Component.responsive.js +14 -0
- package/modern/desktop/Component.desktop.d.ts +9 -0
- package/modern/desktop/Component.desktop.js +40 -0
- package/modern/desktop/components/base-universal-modal-content/base-universal-modal-content.css +35 -0
- package/modern/desktop/components/base-universal-modal-content/base-universal-modal-content.d.ts +7 -0
- package/modern/desktop/components/base-universal-modal-content/base-universal-modal-content.js +112 -0
- package/modern/desktop/components/buttons/arrow-button/arrow-button.css +32 -0
- package/modern/desktop/components/buttons/arrow-button/arrow-button.d.ts +6 -0
- package/modern/desktop/components/buttons/arrow-button/arrow-button.js +15 -0
- package/modern/desktop/components/buttons/arrow-button/index.d.ts +1 -0
- package/modern/desktop/components/buttons/arrow-button/index.js +1 -0
- package/modern/desktop/components/buttons/cross-button/cross-button.css +29 -0
- package/modern/desktop/components/buttons/cross-button/cross-button.d.ts +6 -0
- package/modern/desktop/components/buttons/cross-button/cross-button.js +13 -0
- package/modern/desktop/components/buttons/cross-button/index.d.ts +1 -0
- package/modern/desktop/components/buttons/cross-button/index.js +1 -0
- package/modern/desktop/components/center-modal/center-modal.d.ts +4 -0
- package/modern/desktop/components/center-modal/center-modal.js +48 -0
- package/modern/desktop/components/center-modal/index.d.ts +1 -0
- package/modern/desktop/components/center-modal/index.js +1 -0
- package/modern/desktop/components/center-modal/styles/index.css +1085 -0
- package/modern/desktop/components/center-modal/styles/transitions/safari-transitions.css +24 -0
- package/modern/desktop/components/center-modal/styles/transitions/transitions.css +24 -0
- package/modern/desktop/components/side-modal/get-default-transition-props.d.ts +20 -0
- package/modern/desktop/components/side-modal/get-default-transition-props.js +34 -0
- package/modern/desktop/components/side-modal/index.d.ts +1 -0
- package/modern/desktop/components/side-modal/index.js +1 -0
- package/modern/desktop/components/side-modal/side-modal.d.ts +4 -0
- package/modern/desktop/components/side-modal/side-modal.js +51 -0
- package/modern/desktop/components/side-modal/styles/index.css +1088 -0
- package/modern/desktop/components/side-modal/styles/transitions/transitions.css +331 -0
- package/modern/desktop/constants/index.d.ts +3 -0
- package/modern/desktop/constants/index.js +4 -0
- package/modern/desktop/hooks/useModalHeight.d.ts +4 -0
- package/modern/desktop/hooks/useModalHeight.js +29 -0
- package/modern/desktop/hooks/useModalWheel.d.ts +6 -0
- package/modern/desktop/hooks/useModalWheel.js +15 -0
- package/modern/desktop/hooks/useModalWidth.d.ts +4 -0
- package/modern/desktop/hooks/useModalWidth.js +37 -0
- package/modern/desktop/index.d.ts +10 -0
- package/modern/desktop/index.js +12 -0
- package/modern/desktop/styles/transitions/full-size-backdrop-transitions.css +60 -0
- package/modern/desktop/styles/transitions/full-size-vertical-bottom-transitions.css +25 -0
- package/modern/desktop/styles/transitions/full-size-vertical-center-transitions.css +21 -0
- package/modern/desktop/styles/transitions/full-size-vertical-top-transitions.css +25 -0
- package/modern/desktop/types/props.d.ts +45 -0
- package/modern/desktop/types/props.js +1 -0
- package/modern/desktop/utils/get-full-size-modal-transitions.d.ts +16 -0
- package/modern/desktop/utils/get-full-size-modal-transitions.js +51 -0
- package/modern/desktop/utils/get-margins.d.ts +7 -0
- package/modern/desktop/utils/get-margins.js +17 -0
- package/modern/index.d.ts +8 -0
- package/modern/index.js +10 -0
- package/modern/index.module-2718b9b5.js +4 -0
- package/modern/mobile/Component.mobile.d.ts +9 -0
- package/modern/mobile/Component.mobile.js +35 -0
- package/modern/mobile/components/buttons/arrow-button/arrow-button.css +31 -0
- package/modern/mobile/components/buttons/arrow-button/arrow-button.d.ts +6 -0
- package/modern/mobile/components/buttons/arrow-button/arrow-button.js +13 -0
- package/modern/mobile/components/buttons/arrow-button/index.d.ts +1 -0
- package/modern/mobile/components/buttons/arrow-button/index.js +1 -0
- package/modern/mobile/components/buttons/cross-button/cross-button.css +31 -0
- package/modern/mobile/components/buttons/cross-button/cross-button.d.ts +6 -0
- package/modern/mobile/components/buttons/cross-button/cross-button.js +13 -0
- package/modern/mobile/components/buttons/cross-button/index.d.ts +1 -0
- package/modern/mobile/components/buttons/cross-button/index.js +1 -0
- package/modern/mobile/index.d.ts +10 -0
- package/modern/mobile/index.js +13 -0
- package/modern/mobile/mobile.css +39 -0
- package/modern/mobile/transitions/right-side-transitions.mobile.css +38 -0
- package/modern/mobile/transitions/transitions.mobile.css +25 -0
- package/modern/mobile/types/props.d.ts +11 -0
- package/modern/mobile/types/props.js +1 -0
- package/modern/shared/index.d.ts +2 -0
- package/modern/shared/index.js +2 -0
- package/modern/typings/index.d.ts +22 -0
- package/modern/typings/index.js +1 -0
- package/modern/typings/margin-type.d.ts +8 -0
- package/modern/typings/margin-type.js +1 -0
- package/modern/utils/getUniversalModalTestIds.d.ts +8 -0
- package/modern/utils/getUniversalModalTestIds.js +13 -0
- package/moderncssm/Component.responsive.d.ts +15 -0
- package/moderncssm/Component.responsive.js +47 -0
- package/moderncssm/Context.d.ts +4 -0
- package/moderncssm/Context.js +5 -0
- package/moderncssm/ResponsiveContext.d.ts +4 -0
- package/moderncssm/ResponsiveContext.js +5 -0
- package/moderncssm/components/content/base-content/base-content.d.ts +17 -0
- package/moderncssm/components/content/base-content/base-content.js +15 -0
- package/moderncssm/components/content/base-content/index.module.css +26 -0
- package/moderncssm/components/content/desktop/Component.desktop.d.ts +10 -0
- package/moderncssm/components/content/desktop/Component.desktop.js +7 -0
- package/moderncssm/components/content/index.d.ts +7 -0
- package/moderncssm/components/content/index.js +3 -0
- package/moderncssm/components/content/mobile/Component.mobile.d.ts +5 -0
- package/moderncssm/components/content/mobile/Component.mobile.js +8 -0
- package/moderncssm/components/content/mobile/mobile.module.css +18 -0
- package/moderncssm/components/content/responsive/Component.responsive.d.ts +6 -0
- package/moderncssm/components/content/responsive/Component.responsive.js +14 -0
- package/moderncssm/components/footer/base-footer/base-footer.d.ts +29 -0
- package/moderncssm/components/footer/base-footer/base-footer.js +21 -0
- package/moderncssm/components/footer/base-footer/index.module.css +23 -0
- package/moderncssm/components/footer/desktop/Component.desktop.d.ts +10 -0
- package/moderncssm/components/footer/desktop/Component.desktop.js +18 -0
- package/moderncssm/components/footer/desktop/desktop.module.css +10 -0
- package/moderncssm/components/footer/desktop/layout.module.css +42 -0
- package/moderncssm/components/footer/index.d.ts +7 -0
- package/moderncssm/components/footer/index.js +3 -0
- package/moderncssm/components/footer/mobile/Component.mobile.d.ts +5 -0
- package/moderncssm/components/footer/mobile/Component.mobile.js +15 -0
- package/moderncssm/components/footer/mobile/layout.mobile.module.css +37 -0
- package/moderncssm/components/footer/mobile/mobile.module.css +14 -0
- package/moderncssm/components/footer/responsive/Component.responsive.d.ts +6 -0
- package/moderncssm/components/footer/responsive/Component.responsive.js +14 -0
- package/moderncssm/components/header/base-header/index.module.css +71 -0
- package/moderncssm/components/header/desktop/Component.desktop.d.ts +11 -0
- package/moderncssm/components/header/desktop/Component.desktop.js +30 -0
- package/moderncssm/components/header/desktop/desktop.module.css +45 -0
- package/moderncssm/components/header/index.d.ts +7 -0
- package/moderncssm/components/header/index.js +3 -0
- package/moderncssm/components/header/mobile/Component.mobile.d.ts +5 -0
- package/moderncssm/components/header/mobile/Component.mobile.js +24 -0
- package/moderncssm/components/header/mobile/mobile.module.css +31 -0
- package/moderncssm/components/header/responsive/Component.responsive.d.ts +6 -0
- package/moderncssm/components/header/responsive/Component.responsive.js +14 -0
- package/moderncssm/desktop/Component.desktop.d.ts +9 -0
- package/moderncssm/desktop/Component.desktop.js +47 -0
- package/moderncssm/desktop/components/base-universal-modal-content/base-universal-modal-content.d.ts +7 -0
- package/moderncssm/desktop/components/base-universal-modal-content/base-universal-modal-content.js +110 -0
- package/moderncssm/desktop/components/base-universal-modal-content/base-universal-modal-content.module.css +20 -0
- package/moderncssm/desktop/components/buttons/arrow-button/arrow-button.d.ts +6 -0
- package/moderncssm/desktop/components/buttons/arrow-button/arrow-button.js +13 -0
- package/moderncssm/desktop/components/buttons/arrow-button/arrow-button.module.css +8 -0
- package/moderncssm/desktop/components/buttons/arrow-button/index.d.ts +1 -0
- package/moderncssm/desktop/components/buttons/arrow-button/index.js +1 -0
- package/moderncssm/desktop/components/buttons/cross-button/cross-button.d.ts +6 -0
- package/moderncssm/desktop/components/buttons/cross-button/cross-button.js +11 -0
- package/moderncssm/desktop/components/buttons/cross-button/cross-button.module.css +7 -0
- package/moderncssm/desktop/components/buttons/cross-button/index.d.ts +1 -0
- package/moderncssm/desktop/components/buttons/cross-button/index.js +1 -0
- package/moderncssm/desktop/components/center-modal/center-modal.d.ts +4 -0
- package/moderncssm/desktop/components/center-modal/center-modal.js +42 -0
- package/moderncssm/desktop/components/center-modal/index.d.ts +1 -0
- package/moderncssm/desktop/components/center-modal/index.js +1 -0
- package/moderncssm/desktop/components/center-modal/styles/center-modal.module.css +38 -0
- package/moderncssm/desktop/components/center-modal/styles/index.module.css +2110 -0
- package/moderncssm/desktop/components/center-modal/styles/transitions/safari-transitions.module.css +23 -0
- package/moderncssm/desktop/components/center-modal/styles/transitions/transitions.module.css +23 -0
- package/moderncssm/desktop/components/side-modal/get-default-transition-props.d.ts +20 -0
- package/moderncssm/desktop/components/side-modal/get-default-transition-props.js +32 -0
- package/moderncssm/desktop/components/side-modal/index.d.ts +1 -0
- package/moderncssm/desktop/components/side-modal/index.js +1 -0
- package/moderncssm/desktop/components/side-modal/side-modal.d.ts +4 -0
- package/moderncssm/desktop/components/side-modal/side-modal.js +49 -0
- package/moderncssm/desktop/components/side-modal/styles/index.module.css +2117 -0
- package/moderncssm/desktop/components/side-modal/styles/side-modal.module.css +45 -0
- package/moderncssm/desktop/components/side-modal/styles/transitions/transitions.module.css +330 -0
- package/moderncssm/desktop/constants/index.d.ts +3 -0
- package/moderncssm/desktop/constants/index.js +4 -0
- package/moderncssm/desktop/hooks/useModalHeight.d.ts +4 -0
- package/moderncssm/desktop/hooks/useModalHeight.js +29 -0
- package/moderncssm/desktop/hooks/useModalWheel.d.ts +6 -0
- package/moderncssm/desktop/hooks/useModalWheel.js +15 -0
- package/moderncssm/desktop/hooks/useModalWidth.d.ts +4 -0
- package/moderncssm/desktop/hooks/useModalWidth.js +37 -0
- package/moderncssm/desktop/index.d.ts +10 -0
- package/moderncssm/desktop/index.js +19 -0
- package/moderncssm/desktop/styles/margins.module.css +1552 -0
- package/moderncssm/desktop/styles/transitions/full-size-backdrop-transitions.module.css +52 -0
- package/moderncssm/desktop/styles/transitions/full-size-vertical-bottom-transitions.module.css +24 -0
- package/moderncssm/desktop/styles/transitions/full-size-vertical-center-transitions.module.css +20 -0
- package/moderncssm/desktop/styles/transitions/full-size-vertical-top-transitions.module.css +24 -0
- package/moderncssm/desktop/types/props.d.ts +45 -0
- package/moderncssm/desktop/types/props.js +1 -0
- package/moderncssm/desktop/utils/get-full-size-modal-transitions.d.ts +16 -0
- package/moderncssm/desktop/utils/get-full-size-modal-transitions.js +43 -0
- package/moderncssm/desktop/utils/get-margins.d.ts +7 -0
- package/moderncssm/desktop/utils/get-margins.js +17 -0
- package/moderncssm/desktop/vars.css +2 -0
- package/moderncssm/index.d.ts +8 -0
- package/moderncssm/index.js +20 -0
- package/moderncssm/mobile/Component.mobile.d.ts +9 -0
- package/moderncssm/mobile/Component.mobile.js +35 -0
- package/moderncssm/mobile/components/buttons/arrow-button/arrow-button.d.ts +6 -0
- package/moderncssm/mobile/components/buttons/arrow-button/arrow-button.js +11 -0
- package/moderncssm/mobile/components/buttons/arrow-button/arrow-button.module.css +11 -0
- package/moderncssm/mobile/components/buttons/arrow-button/index.d.ts +1 -0
- package/moderncssm/mobile/components/buttons/arrow-button/index.js +1 -0
- package/moderncssm/mobile/components/buttons/cross-button/cross-button.d.ts +6 -0
- package/moderncssm/mobile/components/buttons/cross-button/cross-button.js +11 -0
- package/moderncssm/mobile/components/buttons/cross-button/cross-button.module.css +11 -0
- package/moderncssm/mobile/components/buttons/cross-button/index.d.ts +1 -0
- package/moderncssm/mobile/components/buttons/cross-button/index.js +1 -0
- package/moderncssm/mobile/index.d.ts +10 -0
- package/moderncssm/mobile/index.js +19 -0
- package/moderncssm/mobile/mobile.module.css +21 -0
- package/moderncssm/mobile/transitions/right-side-transitions.mobile.module.css +23 -0
- package/moderncssm/mobile/transitions/transitions.mobile.module.css +24 -0
- package/moderncssm/mobile/types/props.d.ts +11 -0
- package/moderncssm/mobile/types/props.js +1 -0
- package/moderncssm/mobile/vars.css +2 -0
- package/moderncssm/shared/index.d.ts +2 -0
- package/moderncssm/shared/index.js +2 -0
- package/moderncssm/typings/index.d.ts +22 -0
- package/moderncssm/typings/index.js +1 -0
- package/moderncssm/typings/margin-type.d.ts +8 -0
- package/moderncssm/typings/margin-type.js +1 -0
- package/moderncssm/utils/getUniversalModalTestIds.d.ts +8 -0
- package/moderncssm/utils/getUniversalModalTestIds.js +13 -0
- package/moderncssm/vars.css +6 -0
- package/package.json +32 -0
- package/shared/index.d.ts +2 -0
- package/shared/index.js +11 -0
- package/shared/package.json +3 -0
- package/src/Component.responsive.tsx +32 -0
- package/src/Context.tsx +3 -0
- package/src/ResponsiveContext.ts +5 -0
- package/src/components/content/base-content/base-content.tsx +42 -0
- package/src/components/content/base-content/index.module.css +21 -0
- package/src/components/content/desktop/Component.desktop.tsx +15 -0
- package/src/components/content/index.ts +8 -0
- package/src/components/content/mobile/Component.mobile.tsx +12 -0
- package/src/components/content/mobile/mobile.module.css +13 -0
- package/src/components/content/responsive/Component.responsive.tsx +18 -0
- package/src/components/footer/base-footer/base-footer.tsx +71 -0
- package/src/components/footer/base-footer/index.module.css +20 -0
- package/src/components/footer/desktop/Component.desktop.tsx +39 -0
- package/src/components/footer/desktop/desktop.module.css +5 -0
- package/src/components/footer/desktop/layout.module.css +34 -0
- package/src/components/footer/index.ts +8 -0
- package/src/components/footer/mobile/Component.mobile.tsx +31 -0
- package/src/components/footer/mobile/layout.mobile.module.css +30 -0
- package/src/components/footer/mobile/mobile.module.css +9 -0
- package/src/components/footer/responsive/Component.responsive.tsx +18 -0
- package/src/components/header/base-header/index.module.css +64 -0
- package/src/components/header/desktop/Component.desktop.tsx +77 -0
- package/src/components/header/desktop/desktop.module.css +32 -0
- package/src/components/header/index.ts +8 -0
- package/src/components/header/mobile/Component.mobile.tsx +59 -0
- package/src/components/header/mobile/mobile.module.css +29 -0
- package/src/components/header/responsive/Component.responsive.tsx +18 -0
- package/src/desktop/Component.desktop.tsx +60 -0
- package/src/desktop/components/base-universal-modal-content/base-universal-modal-content.module.css +20 -0
- package/src/desktop/components/base-universal-modal-content/base-universal-modal-content.tsx +155 -0
- package/src/desktop/components/buttons/arrow-button/arrow-button.module.css +7 -0
- package/src/desktop/components/buttons/arrow-button/arrow-button.tsx +29 -0
- package/src/desktop/components/buttons/arrow-button/index.ts +1 -0
- package/src/desktop/components/buttons/cross-button/cross-button.module.css +6 -0
- package/src/desktop/components/buttons/cross-button/cross-button.tsx +24 -0
- package/src/desktop/components/buttons/cross-button/index.ts +1 -0
- package/src/desktop/components/center-modal/center-modal.tsx +84 -0
- package/src/desktop/components/center-modal/index.ts +1 -0
- package/src/desktop/components/center-modal/styles/center-modal.module.css +33 -0
- package/src/desktop/components/center-modal/styles/index.module.css +2 -0
- package/src/desktop/components/center-modal/styles/transitions/safari-transitions.module.css +23 -0
- package/src/desktop/components/center-modal/styles/transitions/transitions.module.css +23 -0
- package/src/desktop/components/side-modal/get-default-transition-props.ts +41 -0
- package/src/desktop/components/side-modal/index.ts +1 -0
- package/src/desktop/components/side-modal/side-modal.tsx +95 -0
- package/src/desktop/components/side-modal/styles/index.module.css +2 -0
- package/src/desktop/components/side-modal/styles/side-modal.module.css +45 -0
- package/src/desktop/components/side-modal/styles/transitions/transitions.module.css +46 -0
- package/src/desktop/constants/index.ts +2 -0
- package/src/desktop/hooks/useModalHeight.tsx +42 -0
- package/src/desktop/hooks/useModalWheel.tsx +16 -0
- package/src/desktop/hooks/useModalWidth.tsx +52 -0
- package/src/desktop/index.ts +14 -0
- package/src/desktop/package.json +3 -0
- package/src/desktop/styles/margins.module.css +27 -0
- package/src/desktop/styles/transitions/full-size-backdrop-transitions.module.css +52 -0
- package/src/desktop/styles/transitions/full-size-vertical-bottom-transitions.module.css +24 -0
- package/src/desktop/styles/transitions/full-size-vertical-center-transitions.module.css +20 -0
- package/src/desktop/styles/transitions/full-size-vertical-top-transitions.module.css +24 -0
- package/src/desktop/types/props.ts +66 -0
- package/src/desktop/utils/get-full-size-modal-transitions.ts +64 -0
- package/src/desktop/utils/get-margins.ts +24 -0
- package/src/desktop/vars.css +6 -0
- package/src/index.ts +11 -0
- package/src/mobile/Component.mobile.tsx +44 -0
- package/src/mobile/components/buttons/arrow-button/arrow-button.module.css +11 -0
- package/src/mobile/components/buttons/arrow-button/arrow-button.tsx +24 -0
- package/src/mobile/components/buttons/arrow-button/index.ts +1 -0
- package/src/mobile/components/buttons/cross-button/cross-button.module.css +11 -0
- package/src/mobile/components/buttons/cross-button/cross-button.tsx +24 -0
- package/src/mobile/components/buttons/cross-button/index.ts +1 -0
- package/src/mobile/index.ts +14 -0
- package/src/mobile/mobile.module.css +21 -0
- package/src/mobile/package.json +3 -0
- package/src/mobile/transitions/right-side-transitions.mobile.module.css +23 -0
- package/src/mobile/transitions/transitions.mobile.module.css +24 -0
- package/src/mobile/types/props.ts +23 -0
- package/src/mobile/vars.css +8 -0
- package/src/shared/index.ts +2 -0
- package/src/shared/package.json +3 -0
- package/src/typings/index.ts +25 -0
- package/src/typings/margin-type.ts +8 -0
- package/src/utils/getUniversalModalTestIds.ts +11 -0
- package/src/vars.css +12 -0
- package/typings/index.d.ts +22 -0
- package/typings/index.js +2 -0
- package/typings/margin-type.d.ts +8 -0
- package/typings/margin-type.js +2 -0
- package/utils/getUniversalModalTestIds.d.ts +8 -0
- package/utils/getUniversalModalTestIds.js +17 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* hash: 1azjh */
|
|
2
|
+
.universal-modal__appear_8232i,
|
|
3
|
+
.universal-modal__enter_8232i {
|
|
4
|
+
opacity: 0;
|
|
5
|
+
transform: translateY(15px) translateZ(0);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.universal-modal__appearActive_8232i,
|
|
9
|
+
.universal-modal__enterActive_8232i {
|
|
10
|
+
opacity: 1;
|
|
11
|
+
transform: translateY(0) translateZ(0);
|
|
12
|
+
transition: opacity 200ms ease-in, transform 200ms ease-in;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.universal-modal__exit_8232i {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.universal-modal__exitActive_8232i,
|
|
20
|
+
.universal-modal__exitDone_8232i {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
transform: translateY(15px) translateZ(0);
|
|
23
|
+
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* hash: 1qqbw */
|
|
2
|
+
.universal-modal__appear_1toya,
|
|
3
|
+
.universal-modal__enter_1toya {
|
|
4
|
+
opacity: 0;
|
|
5
|
+
transform: scale(0.9) translateZ(0);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.universal-modal__appearActive_1toya,
|
|
9
|
+
.universal-modal__enterActive_1toya {
|
|
10
|
+
opacity: 1;
|
|
11
|
+
transform: translateX(0) translateZ(0);
|
|
12
|
+
transition: opacity 200ms ease-in, transform 200ms ease-in;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.universal-modal__exit_1toya {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.universal-modal__exitActive_1toya,
|
|
20
|
+
.universal-modal__exitDone_1toya {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
transform: scale(0.9) translateZ(0);
|
|
23
|
+
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
24
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ModalBySideProps } from "../../types/props";
|
|
2
|
+
type Params = {
|
|
3
|
+
horizontalAlign: ModalBySideProps['horizontalAlign'];
|
|
4
|
+
margin: ModalBySideProps['margin'];
|
|
5
|
+
};
|
|
6
|
+
declare const getDefaultTransitionProps: (params: Params) => {
|
|
7
|
+
timeout: number;
|
|
8
|
+
classNames: {
|
|
9
|
+
appear: string;
|
|
10
|
+
enter: string;
|
|
11
|
+
appearActive: string;
|
|
12
|
+
enterActive: string;
|
|
13
|
+
appearDone: string;
|
|
14
|
+
enterDone: string;
|
|
15
|
+
exit: string;
|
|
16
|
+
exitActive: string;
|
|
17
|
+
exitDone: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export { getDefaultTransitionProps };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import cn from 'classnames';
|
|
2
|
+
|
|
3
|
+
var transitions = {"enterLeft-0":"universal-modal__enterLeft-0_1mi3l","enterLeft-2":"universal-modal__enterLeft-2_1mi3l","enterLeft-4":"universal-modal__enterLeft-4_1mi3l","enterLeft-8":"universal-modal__enterLeft-8_1mi3l","enterLeft-12":"universal-modal__enterLeft-12_1mi3l","enterLeft-16":"universal-modal__enterLeft-16_1mi3l","enterLeft-20":"universal-modal__enterLeft-20_1mi3l","enterLeft-24":"universal-modal__enterLeft-24_1mi3l","enterLeft-32":"universal-modal__enterLeft-32_1mi3l","enterLeft-40":"universal-modal__enterLeft-40_1mi3l","enterLeft-48":"universal-modal__enterLeft-48_1mi3l","enterLeft-56":"universal-modal__enterLeft-56_1mi3l","enterLeft-64":"universal-modal__enterLeft-64_1mi3l","enterLeft-72":"universal-modal__enterLeft-72_1mi3l","enterLeft-80":"universal-modal__enterLeft-80_1mi3l","enterLeft-96":"universal-modal__enterLeft-96_1mi3l","enterLeft-128":"universal-modal__enterLeft-128_1mi3l","enterRight-0":"universal-modal__enterRight-0_1mi3l","enterRight-2":"universal-modal__enterRight-2_1mi3l","enterRight-4":"universal-modal__enterRight-4_1mi3l","enterRight-8":"universal-modal__enterRight-8_1mi3l","enterRight-12":"universal-modal__enterRight-12_1mi3l","enterRight-16":"universal-modal__enterRight-16_1mi3l","enterRight-20":"universal-modal__enterRight-20_1mi3l","enterRight-24":"universal-modal__enterRight-24_1mi3l","enterRight-32":"universal-modal__enterRight-32_1mi3l","enterRight-40":"universal-modal__enterRight-40_1mi3l","enterRight-48":"universal-modal__enterRight-48_1mi3l","enterRight-56":"universal-modal__enterRight-56_1mi3l","enterRight-64":"universal-modal__enterRight-64_1mi3l","enterRight-72":"universal-modal__enterRight-72_1mi3l","enterRight-80":"universal-modal__enterRight-80_1mi3l","enterRight-96":"universal-modal__enterRight-96_1mi3l","enterRight-128":"universal-modal__enterRight-128_1mi3l","enterActive":"universal-modal__enterActive_1mi3l","enterDone":"universal-modal__enterDone_1mi3l","exit":"universal-modal__exit_1mi3l","exitActiveLeft-0":"universal-modal__exitActiveLeft-0_1mi3l","exitActiveLeft-2":"universal-modal__exitActiveLeft-2_1mi3l","exitActiveLeft-4":"universal-modal__exitActiveLeft-4_1mi3l","exitActiveLeft-8":"universal-modal__exitActiveLeft-8_1mi3l","exitActiveLeft-12":"universal-modal__exitActiveLeft-12_1mi3l","exitActiveLeft-16":"universal-modal__exitActiveLeft-16_1mi3l","exitActiveLeft-20":"universal-modal__exitActiveLeft-20_1mi3l","exitActiveLeft-24":"universal-modal__exitActiveLeft-24_1mi3l","exitActiveLeft-32":"universal-modal__exitActiveLeft-32_1mi3l","exitActiveLeft-40":"universal-modal__exitActiveLeft-40_1mi3l","exitActiveLeft-48":"universal-modal__exitActiveLeft-48_1mi3l","exitActiveLeft-56":"universal-modal__exitActiveLeft-56_1mi3l","exitActiveLeft-64":"universal-modal__exitActiveLeft-64_1mi3l","exitActiveLeft-72":"universal-modal__exitActiveLeft-72_1mi3l","exitActiveLeft-80":"universal-modal__exitActiveLeft-80_1mi3l","exitActiveLeft-96":"universal-modal__exitActiveLeft-96_1mi3l","exitActiveLeft-128":"universal-modal__exitActiveLeft-128_1mi3l","exitActiveRight-0":"universal-modal__exitActiveRight-0_1mi3l","exitActiveRight-2":"universal-modal__exitActiveRight-2_1mi3l","exitActiveRight-4":"universal-modal__exitActiveRight-4_1mi3l","exitActiveRight-8":"universal-modal__exitActiveRight-8_1mi3l","exitActiveRight-12":"universal-modal__exitActiveRight-12_1mi3l","exitActiveRight-16":"universal-modal__exitActiveRight-16_1mi3l","exitActiveRight-20":"universal-modal__exitActiveRight-20_1mi3l","exitActiveRight-24":"universal-modal__exitActiveRight-24_1mi3l","exitActiveRight-32":"universal-modal__exitActiveRight-32_1mi3l","exitActiveRight-40":"universal-modal__exitActiveRight-40_1mi3l","exitActiveRight-48":"universal-modal__exitActiveRight-48_1mi3l","exitActiveRight-56":"universal-modal__exitActiveRight-56_1mi3l","exitActiveRight-64":"universal-modal__exitActiveRight-64_1mi3l","exitActiveRight-72":"universal-modal__exitActiveRight-72_1mi3l","exitActiveRight-80":"universal-modal__exitActiveRight-80_1mi3l","exitActiveRight-96":"universal-modal__exitActiveRight-96_1mi3l","exitActiveRight-128":"universal-modal__exitActiveRight-128_1mi3l"};
|
|
4
|
+
require('./styles/transitions/transitions.css')
|
|
5
|
+
|
|
6
|
+
var getDefaultTransitionProps = function (params) {
|
|
7
|
+
var _a, _b;
|
|
8
|
+
var horizontalAlign = params.horizontalAlign, margin = params.margin;
|
|
9
|
+
var isHorizontalStart = horizontalAlign === 'start';
|
|
10
|
+
var isHorizontalEnd = horizontalAlign === 'end';
|
|
11
|
+
var enterCn = cn((_a = {},
|
|
12
|
+
_a[transitions["enterLeft-".concat((margin === null || margin === void 0 ? void 0 : margin.left) || 0)]] = isHorizontalStart,
|
|
13
|
+
_a[transitions["enterRight-".concat((margin === null || margin === void 0 ? void 0 : margin.right) || 0)]] = isHorizontalEnd,
|
|
14
|
+
_a));
|
|
15
|
+
var exitCn = cn((_b = {},
|
|
16
|
+
_b[transitions["exitActiveLeft-".concat((margin === null || margin === void 0 ? void 0 : margin.left) || 0)]] = isHorizontalStart,
|
|
17
|
+
_b[transitions["exitActiveRight-".concat((margin === null || margin === void 0 ? void 0 : margin.right) || 0)]] = isHorizontalEnd,
|
|
18
|
+
_b));
|
|
19
|
+
return {
|
|
20
|
+
timeout: 200,
|
|
21
|
+
classNames: {
|
|
22
|
+
appear: enterCn,
|
|
23
|
+
enter: enterCn,
|
|
24
|
+
appearActive: transitions.enterActive,
|
|
25
|
+
enterActive: transitions.enterActive,
|
|
26
|
+
appearDone: transitions.enterDone,
|
|
27
|
+
enterDone: transitions.enterDone,
|
|
28
|
+
exit: transitions.exit,
|
|
29
|
+
exitActive: exitCn,
|
|
30
|
+
exitDone: exitCn,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export { getDefaultTransitionProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SideModal } from "./side-modal";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SideModal } from './side-modal.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const SideModal: React.ForwardRefExoticComponent<import("../../types/props").BaseUniversalModalProps & Pick<import("@alfalab/core-components-base-modal").BaseModalProps, "children" | "className" | "open" | "dataTestId" | "backdropProps" | "wrapperClassName" | "transitionProps" | "onUnmount"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export { SideModal };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { __rest, __assign } from 'tslib';
|
|
2
|
+
import React, { forwardRef, useRef } from 'react';
|
|
3
|
+
import cn from 'classnames';
|
|
4
|
+
import { BaseModal } from '@alfalab/core-components-base-modal/esm';
|
|
5
|
+
import { useModalHeight } from '../../hooks/useModalHeight.js';
|
|
6
|
+
import { useModalWheel } from '../../hooks/useModalWheel.js';
|
|
7
|
+
import { useModalWidth } from '../../hooks/useModalWidth.js';
|
|
8
|
+
import { getFullSizeModalTransitions } from '../../utils/get-full-size-modal-transitions.js';
|
|
9
|
+
import { getMargins } from '../../utils/get-margins.js';
|
|
10
|
+
import { BaseUniversalModalContent } from '../base-universal-modal-content/base-universal-modal-content.js';
|
|
11
|
+
import { getDefaultTransitionProps } from './get-default-transition-props.js';
|
|
12
|
+
|
|
13
|
+
var styles = {"wrapper":"universal-modal__wrapper_1nhpx","wrapperAlignStart":"universal-modal__wrapperAlignStart_1nhpx","wrapperAlignEnd":"universal-modal__wrapperAlignEnd_1nhpx","wrapperJustifyCenter":"universal-modal__wrapperJustifyCenter_1nhpx","wrapperJustifyEnd":"universal-modal__wrapperJustifyEnd_1nhpx","component":"universal-modal__component_1nhpx","overlayHidden":"universal-modal__overlayHidden_1nhpx","container":"universal-modal__container_1nhpx","marginTop-0":"universal-modal__marginTop-0_1nhpx","marginTop-1":"universal-modal__marginTop-1_1nhpx","marginTop-2":"universal-modal__marginTop-2_1nhpx","marginTop-3":"universal-modal__marginTop-3_1nhpx","marginTop-4":"universal-modal__marginTop-4_1nhpx","marginTop-5":"universal-modal__marginTop-5_1nhpx","marginTop-6":"universal-modal__marginTop-6_1nhpx","marginTop-7":"universal-modal__marginTop-7_1nhpx","marginTop-8":"universal-modal__marginTop-8_1nhpx","marginTop-9":"universal-modal__marginTop-9_1nhpx","marginTop-10":"universal-modal__marginTop-10_1nhpx","marginTop-11":"universal-modal__marginTop-11_1nhpx","marginTop-12":"universal-modal__marginTop-12_1nhpx","marginTop-13":"universal-modal__marginTop-13_1nhpx","marginTop-14":"universal-modal__marginTop-14_1nhpx","marginTop-15":"universal-modal__marginTop-15_1nhpx","marginTop-16":"universal-modal__marginTop-16_1nhpx","marginTop-17":"universal-modal__marginTop-17_1nhpx","marginTop-18":"universal-modal__marginTop-18_1nhpx","marginTop-19":"universal-modal__marginTop-19_1nhpx","marginTop-20":"universal-modal__marginTop-20_1nhpx","marginTop-21":"universal-modal__marginTop-21_1nhpx","marginTop-22":"universal-modal__marginTop-22_1nhpx","marginTop-23":"universal-modal__marginTop-23_1nhpx","marginTop-24":"universal-modal__marginTop-24_1nhpx","marginTop-25":"universal-modal__marginTop-25_1nhpx","marginTop-26":"universal-modal__marginTop-26_1nhpx","marginTop-27":"universal-modal__marginTop-27_1nhpx","marginTop-28":"universal-modal__marginTop-28_1nhpx","marginTop-29":"universal-modal__marginTop-29_1nhpx","marginTop-30":"universal-modal__marginTop-30_1nhpx","marginTop-31":"universal-modal__marginTop-31_1nhpx","marginTop-32":"universal-modal__marginTop-32_1nhpx","marginTop-33":"universal-modal__marginTop-33_1nhpx","marginTop-34":"universal-modal__marginTop-34_1nhpx","marginTop-35":"universal-modal__marginTop-35_1nhpx","marginTop-36":"universal-modal__marginTop-36_1nhpx","marginTop-37":"universal-modal__marginTop-37_1nhpx","marginTop-38":"universal-modal__marginTop-38_1nhpx","marginTop-39":"universal-modal__marginTop-39_1nhpx","marginTop-40":"universal-modal__marginTop-40_1nhpx","marginTop-41":"universal-modal__marginTop-41_1nhpx","marginTop-42":"universal-modal__marginTop-42_1nhpx","marginTop-43":"universal-modal__marginTop-43_1nhpx","marginTop-44":"universal-modal__marginTop-44_1nhpx","marginTop-45":"universal-modal__marginTop-45_1nhpx","marginTop-46":"universal-modal__marginTop-46_1nhpx","marginTop-47":"universal-modal__marginTop-47_1nhpx","marginTop-48":"universal-modal__marginTop-48_1nhpx","marginTop-49":"universal-modal__marginTop-49_1nhpx","marginTop-50":"universal-modal__marginTop-50_1nhpx","marginTop-51":"universal-modal__marginTop-51_1nhpx","marginTop-52":"universal-modal__marginTop-52_1nhpx","marginTop-53":"universal-modal__marginTop-53_1nhpx","marginTop-54":"universal-modal__marginTop-54_1nhpx","marginTop-55":"universal-modal__marginTop-55_1nhpx","marginTop-56":"universal-modal__marginTop-56_1nhpx","marginTop-57":"universal-modal__marginTop-57_1nhpx","marginTop-58":"universal-modal__marginTop-58_1nhpx","marginTop-59":"universal-modal__marginTop-59_1nhpx","marginTop-60":"universal-modal__marginTop-60_1nhpx","marginTop-61":"universal-modal__marginTop-61_1nhpx","marginTop-62":"universal-modal__marginTop-62_1nhpx","marginTop-63":"universal-modal__marginTop-63_1nhpx","marginTop-64":"universal-modal__marginTop-64_1nhpx","marginTop-65":"universal-modal__marginTop-65_1nhpx","marginTop-66":"universal-modal__marginTop-66_1nhpx","marginTop-67":"universal-modal__marginTop-67_1nhpx","marginTop-68":"universal-modal__marginTop-68_1nhpx","marginTop-69":"universal-modal__marginTop-69_1nhpx","marginTop-70":"universal-modal__marginTop-70_1nhpx","marginTop-71":"universal-modal__marginTop-71_1nhpx","marginTop-72":"universal-modal__marginTop-72_1nhpx","marginTop-73":"universal-modal__marginTop-73_1nhpx","marginTop-74":"universal-modal__marginTop-74_1nhpx","marginTop-75":"universal-modal__marginTop-75_1nhpx","marginTop-76":"universal-modal__marginTop-76_1nhpx","marginTop-77":"universal-modal__marginTop-77_1nhpx","marginTop-78":"universal-modal__marginTop-78_1nhpx","marginTop-79":"universal-modal__marginTop-79_1nhpx","marginTop-80":"universal-modal__marginTop-80_1nhpx","marginTop-81":"universal-modal__marginTop-81_1nhpx","marginTop-82":"universal-modal__marginTop-82_1nhpx","marginTop-83":"universal-modal__marginTop-83_1nhpx","marginTop-84":"universal-modal__marginTop-84_1nhpx","marginTop-85":"universal-modal__marginTop-85_1nhpx","marginTop-86":"universal-modal__marginTop-86_1nhpx","marginTop-87":"universal-modal__marginTop-87_1nhpx","marginTop-88":"universal-modal__marginTop-88_1nhpx","marginTop-89":"universal-modal__marginTop-89_1nhpx","marginTop-90":"universal-modal__marginTop-90_1nhpx","marginTop-91":"universal-modal__marginTop-91_1nhpx","marginTop-92":"universal-modal__marginTop-92_1nhpx","marginTop-93":"universal-modal__marginTop-93_1nhpx","marginTop-94":"universal-modal__marginTop-94_1nhpx","marginTop-95":"universal-modal__marginTop-95_1nhpx","marginTop-96":"universal-modal__marginTop-96_1nhpx","marginTop-97":"universal-modal__marginTop-97_1nhpx","marginTop-98":"universal-modal__marginTop-98_1nhpx","marginTop-99":"universal-modal__marginTop-99_1nhpx","marginTop-100":"universal-modal__marginTop-100_1nhpx","marginTop-101":"universal-modal__marginTop-101_1nhpx","marginTop-102":"universal-modal__marginTop-102_1nhpx","marginTop-103":"universal-modal__marginTop-103_1nhpx","marginTop-104":"universal-modal__marginTop-104_1nhpx","marginTop-105":"universal-modal__marginTop-105_1nhpx","marginTop-106":"universal-modal__marginTop-106_1nhpx","marginTop-107":"universal-modal__marginTop-107_1nhpx","marginTop-108":"universal-modal__marginTop-108_1nhpx","marginTop-109":"universal-modal__marginTop-109_1nhpx","marginTop-110":"universal-modal__marginTop-110_1nhpx","marginTop-111":"universal-modal__marginTop-111_1nhpx","marginTop-112":"universal-modal__marginTop-112_1nhpx","marginTop-113":"universal-modal__marginTop-113_1nhpx","marginTop-114":"universal-modal__marginTop-114_1nhpx","marginTop-115":"universal-modal__marginTop-115_1nhpx","marginTop-116":"universal-modal__marginTop-116_1nhpx","marginTop-117":"universal-modal__marginTop-117_1nhpx","marginTop-118":"universal-modal__marginTop-118_1nhpx","marginTop-119":"universal-modal__marginTop-119_1nhpx","marginTop-120":"universal-modal__marginTop-120_1nhpx","marginTop-121":"universal-modal__marginTop-121_1nhpx","marginTop-122":"universal-modal__marginTop-122_1nhpx","marginTop-123":"universal-modal__marginTop-123_1nhpx","marginTop-124":"universal-modal__marginTop-124_1nhpx","marginTop-125":"universal-modal__marginTop-125_1nhpx","marginTop-126":"universal-modal__marginTop-126_1nhpx","marginTop-127":"universal-modal__marginTop-127_1nhpx","marginTop-128":"universal-modal__marginTop-128_1nhpx","marginRight-0":"universal-modal__marginRight-0_1nhpx","marginRight-1":"universal-modal__marginRight-1_1nhpx","marginRight-2":"universal-modal__marginRight-2_1nhpx","marginRight-3":"universal-modal__marginRight-3_1nhpx","marginRight-4":"universal-modal__marginRight-4_1nhpx","marginRight-5":"universal-modal__marginRight-5_1nhpx","marginRight-6":"universal-modal__marginRight-6_1nhpx","marginRight-7":"universal-modal__marginRight-7_1nhpx","marginRight-8":"universal-modal__marginRight-8_1nhpx","marginRight-9":"universal-modal__marginRight-9_1nhpx","marginRight-10":"universal-modal__marginRight-10_1nhpx","marginRight-11":"universal-modal__marginRight-11_1nhpx","marginRight-12":"universal-modal__marginRight-12_1nhpx","marginRight-13":"universal-modal__marginRight-13_1nhpx","marginRight-14":"universal-modal__marginRight-14_1nhpx","marginRight-15":"universal-modal__marginRight-15_1nhpx","marginRight-16":"universal-modal__marginRight-16_1nhpx","marginRight-17":"universal-modal__marginRight-17_1nhpx","marginRight-18":"universal-modal__marginRight-18_1nhpx","marginRight-19":"universal-modal__marginRight-19_1nhpx","marginRight-20":"universal-modal__marginRight-20_1nhpx","marginRight-21":"universal-modal__marginRight-21_1nhpx","marginRight-22":"universal-modal__marginRight-22_1nhpx","marginRight-23":"universal-modal__marginRight-23_1nhpx","marginRight-24":"universal-modal__marginRight-24_1nhpx","marginRight-25":"universal-modal__marginRight-25_1nhpx","marginRight-26":"universal-modal__marginRight-26_1nhpx","marginRight-27":"universal-modal__marginRight-27_1nhpx","marginRight-28":"universal-modal__marginRight-28_1nhpx","marginRight-29":"universal-modal__marginRight-29_1nhpx","marginRight-30":"universal-modal__marginRight-30_1nhpx","marginRight-31":"universal-modal__marginRight-31_1nhpx","marginRight-32":"universal-modal__marginRight-32_1nhpx","marginRight-33":"universal-modal__marginRight-33_1nhpx","marginRight-34":"universal-modal__marginRight-34_1nhpx","marginRight-35":"universal-modal__marginRight-35_1nhpx","marginRight-36":"universal-modal__marginRight-36_1nhpx","marginRight-37":"universal-modal__marginRight-37_1nhpx","marginRight-38":"universal-modal__marginRight-38_1nhpx","marginRight-39":"universal-modal__marginRight-39_1nhpx","marginRight-40":"universal-modal__marginRight-40_1nhpx","marginRight-41":"universal-modal__marginRight-41_1nhpx","marginRight-42":"universal-modal__marginRight-42_1nhpx","marginRight-43":"universal-modal__marginRight-43_1nhpx","marginRight-44":"universal-modal__marginRight-44_1nhpx","marginRight-45":"universal-modal__marginRight-45_1nhpx","marginRight-46":"universal-modal__marginRight-46_1nhpx","marginRight-47":"universal-modal__marginRight-47_1nhpx","marginRight-48":"universal-modal__marginRight-48_1nhpx","marginRight-49":"universal-modal__marginRight-49_1nhpx","marginRight-50":"universal-modal__marginRight-50_1nhpx","marginRight-51":"universal-modal__marginRight-51_1nhpx","marginRight-52":"universal-modal__marginRight-52_1nhpx","marginRight-53":"universal-modal__marginRight-53_1nhpx","marginRight-54":"universal-modal__marginRight-54_1nhpx","marginRight-55":"universal-modal__marginRight-55_1nhpx","marginRight-56":"universal-modal__marginRight-56_1nhpx","marginRight-57":"universal-modal__marginRight-57_1nhpx","marginRight-58":"universal-modal__marginRight-58_1nhpx","marginRight-59":"universal-modal__marginRight-59_1nhpx","marginRight-60":"universal-modal__marginRight-60_1nhpx","marginRight-61":"universal-modal__marginRight-61_1nhpx","marginRight-62":"universal-modal__marginRight-62_1nhpx","marginRight-63":"universal-modal__marginRight-63_1nhpx","marginRight-64":"universal-modal__marginRight-64_1nhpx","marginRight-65":"universal-modal__marginRight-65_1nhpx","marginRight-66":"universal-modal__marginRight-66_1nhpx","marginRight-67":"universal-modal__marginRight-67_1nhpx","marginRight-68":"universal-modal__marginRight-68_1nhpx","marginRight-69":"universal-modal__marginRight-69_1nhpx","marginRight-70":"universal-modal__marginRight-70_1nhpx","marginRight-71":"universal-modal__marginRight-71_1nhpx","marginRight-72":"universal-modal__marginRight-72_1nhpx","marginRight-73":"universal-modal__marginRight-73_1nhpx","marginRight-74":"universal-modal__marginRight-74_1nhpx","marginRight-75":"universal-modal__marginRight-75_1nhpx","marginRight-76":"universal-modal__marginRight-76_1nhpx","marginRight-77":"universal-modal__marginRight-77_1nhpx","marginRight-78":"universal-modal__marginRight-78_1nhpx","marginRight-79":"universal-modal__marginRight-79_1nhpx","marginRight-80":"universal-modal__marginRight-80_1nhpx","marginRight-81":"universal-modal__marginRight-81_1nhpx","marginRight-82":"universal-modal__marginRight-82_1nhpx","marginRight-83":"universal-modal__marginRight-83_1nhpx","marginRight-84":"universal-modal__marginRight-84_1nhpx","marginRight-85":"universal-modal__marginRight-85_1nhpx","marginRight-86":"universal-modal__marginRight-86_1nhpx","marginRight-87":"universal-modal__marginRight-87_1nhpx","marginRight-88":"universal-modal__marginRight-88_1nhpx","marginRight-89":"universal-modal__marginRight-89_1nhpx","marginRight-90":"universal-modal__marginRight-90_1nhpx","marginRight-91":"universal-modal__marginRight-91_1nhpx","marginRight-92":"universal-modal__marginRight-92_1nhpx","marginRight-93":"universal-modal__marginRight-93_1nhpx","marginRight-94":"universal-modal__marginRight-94_1nhpx","marginRight-95":"universal-modal__marginRight-95_1nhpx","marginRight-96":"universal-modal__marginRight-96_1nhpx","marginRight-97":"universal-modal__marginRight-97_1nhpx","marginRight-98":"universal-modal__marginRight-98_1nhpx","marginRight-99":"universal-modal__marginRight-99_1nhpx","marginRight-100":"universal-modal__marginRight-100_1nhpx","marginRight-101":"universal-modal__marginRight-101_1nhpx","marginRight-102":"universal-modal__marginRight-102_1nhpx","marginRight-103":"universal-modal__marginRight-103_1nhpx","marginRight-104":"universal-modal__marginRight-104_1nhpx","marginRight-105":"universal-modal__marginRight-105_1nhpx","marginRight-106":"universal-modal__marginRight-106_1nhpx","marginRight-107":"universal-modal__marginRight-107_1nhpx","marginRight-108":"universal-modal__marginRight-108_1nhpx","marginRight-109":"universal-modal__marginRight-109_1nhpx","marginRight-110":"universal-modal__marginRight-110_1nhpx","marginRight-111":"universal-modal__marginRight-111_1nhpx","marginRight-112":"universal-modal__marginRight-112_1nhpx","marginRight-113":"universal-modal__marginRight-113_1nhpx","marginRight-114":"universal-modal__marginRight-114_1nhpx","marginRight-115":"universal-modal__marginRight-115_1nhpx","marginRight-116":"universal-modal__marginRight-116_1nhpx","marginRight-117":"universal-modal__marginRight-117_1nhpx","marginRight-118":"universal-modal__marginRight-118_1nhpx","marginRight-119":"universal-modal__marginRight-119_1nhpx","marginRight-120":"universal-modal__marginRight-120_1nhpx","marginRight-121":"universal-modal__marginRight-121_1nhpx","marginRight-122":"universal-modal__marginRight-122_1nhpx","marginRight-123":"universal-modal__marginRight-123_1nhpx","marginRight-124":"universal-modal__marginRight-124_1nhpx","marginRight-125":"universal-modal__marginRight-125_1nhpx","marginRight-126":"universal-modal__marginRight-126_1nhpx","marginRight-127":"universal-modal__marginRight-127_1nhpx","marginRight-128":"universal-modal__marginRight-128_1nhpx","marginBottom-0":"universal-modal__marginBottom-0_1nhpx","marginBottom-1":"universal-modal__marginBottom-1_1nhpx","marginBottom-2":"universal-modal__marginBottom-2_1nhpx","marginBottom-3":"universal-modal__marginBottom-3_1nhpx","marginBottom-4":"universal-modal__marginBottom-4_1nhpx","marginBottom-5":"universal-modal__marginBottom-5_1nhpx","marginBottom-6":"universal-modal__marginBottom-6_1nhpx","marginBottom-7":"universal-modal__marginBottom-7_1nhpx","marginBottom-8":"universal-modal__marginBottom-8_1nhpx","marginBottom-9":"universal-modal__marginBottom-9_1nhpx","marginBottom-10":"universal-modal__marginBottom-10_1nhpx","marginBottom-11":"universal-modal__marginBottom-11_1nhpx","marginBottom-12":"universal-modal__marginBottom-12_1nhpx","marginBottom-13":"universal-modal__marginBottom-13_1nhpx","marginBottom-14":"universal-modal__marginBottom-14_1nhpx","marginBottom-15":"universal-modal__marginBottom-15_1nhpx","marginBottom-16":"universal-modal__marginBottom-16_1nhpx","marginBottom-17":"universal-modal__marginBottom-17_1nhpx","marginBottom-18":"universal-modal__marginBottom-18_1nhpx","marginBottom-19":"universal-modal__marginBottom-19_1nhpx","marginBottom-20":"universal-modal__marginBottom-20_1nhpx","marginBottom-21":"universal-modal__marginBottom-21_1nhpx","marginBottom-22":"universal-modal__marginBottom-22_1nhpx","marginBottom-23":"universal-modal__marginBottom-23_1nhpx","marginBottom-24":"universal-modal__marginBottom-24_1nhpx","marginBottom-25":"universal-modal__marginBottom-25_1nhpx","marginBottom-26":"universal-modal__marginBottom-26_1nhpx","marginBottom-27":"universal-modal__marginBottom-27_1nhpx","marginBottom-28":"universal-modal__marginBottom-28_1nhpx","marginBottom-29":"universal-modal__marginBottom-29_1nhpx","marginBottom-30":"universal-modal__marginBottom-30_1nhpx","marginBottom-31":"universal-modal__marginBottom-31_1nhpx","marginBottom-32":"universal-modal__marginBottom-32_1nhpx","marginBottom-33":"universal-modal__marginBottom-33_1nhpx","marginBottom-34":"universal-modal__marginBottom-34_1nhpx","marginBottom-35":"universal-modal__marginBottom-35_1nhpx","marginBottom-36":"universal-modal__marginBottom-36_1nhpx","marginBottom-37":"universal-modal__marginBottom-37_1nhpx","marginBottom-38":"universal-modal__marginBottom-38_1nhpx","marginBottom-39":"universal-modal__marginBottom-39_1nhpx","marginBottom-40":"universal-modal__marginBottom-40_1nhpx","marginBottom-41":"universal-modal__marginBottom-41_1nhpx","marginBottom-42":"universal-modal__marginBottom-42_1nhpx","marginBottom-43":"universal-modal__marginBottom-43_1nhpx","marginBottom-44":"universal-modal__marginBottom-44_1nhpx","marginBottom-45":"universal-modal__marginBottom-45_1nhpx","marginBottom-46":"universal-modal__marginBottom-46_1nhpx","marginBottom-47":"universal-modal__marginBottom-47_1nhpx","marginBottom-48":"universal-modal__marginBottom-48_1nhpx","marginBottom-49":"universal-modal__marginBottom-49_1nhpx","marginBottom-50":"universal-modal__marginBottom-50_1nhpx","marginBottom-51":"universal-modal__marginBottom-51_1nhpx","marginBottom-52":"universal-modal__marginBottom-52_1nhpx","marginBottom-53":"universal-modal__marginBottom-53_1nhpx","marginBottom-54":"universal-modal__marginBottom-54_1nhpx","marginBottom-55":"universal-modal__marginBottom-55_1nhpx","marginBottom-56":"universal-modal__marginBottom-56_1nhpx","marginBottom-57":"universal-modal__marginBottom-57_1nhpx","marginBottom-58":"universal-modal__marginBottom-58_1nhpx","marginBottom-59":"universal-modal__marginBottom-59_1nhpx","marginBottom-60":"universal-modal__marginBottom-60_1nhpx","marginBottom-61":"universal-modal__marginBottom-61_1nhpx","marginBottom-62":"universal-modal__marginBottom-62_1nhpx","marginBottom-63":"universal-modal__marginBottom-63_1nhpx","marginBottom-64":"universal-modal__marginBottom-64_1nhpx","marginBottom-65":"universal-modal__marginBottom-65_1nhpx","marginBottom-66":"universal-modal__marginBottom-66_1nhpx","marginBottom-67":"universal-modal__marginBottom-67_1nhpx","marginBottom-68":"universal-modal__marginBottom-68_1nhpx","marginBottom-69":"universal-modal__marginBottom-69_1nhpx","marginBottom-70":"universal-modal__marginBottom-70_1nhpx","marginBottom-71":"universal-modal__marginBottom-71_1nhpx","marginBottom-72":"universal-modal__marginBottom-72_1nhpx","marginBottom-73":"universal-modal__marginBottom-73_1nhpx","marginBottom-74":"universal-modal__marginBottom-74_1nhpx","marginBottom-75":"universal-modal__marginBottom-75_1nhpx","marginBottom-76":"universal-modal__marginBottom-76_1nhpx","marginBottom-77":"universal-modal__marginBottom-77_1nhpx","marginBottom-78":"universal-modal__marginBottom-78_1nhpx","marginBottom-79":"universal-modal__marginBottom-79_1nhpx","marginBottom-80":"universal-modal__marginBottom-80_1nhpx","marginBottom-81":"universal-modal__marginBottom-81_1nhpx","marginBottom-82":"universal-modal__marginBottom-82_1nhpx","marginBottom-83":"universal-modal__marginBottom-83_1nhpx","marginBottom-84":"universal-modal__marginBottom-84_1nhpx","marginBottom-85":"universal-modal__marginBottom-85_1nhpx","marginBottom-86":"universal-modal__marginBottom-86_1nhpx","marginBottom-87":"universal-modal__marginBottom-87_1nhpx","marginBottom-88":"universal-modal__marginBottom-88_1nhpx","marginBottom-89":"universal-modal__marginBottom-89_1nhpx","marginBottom-90":"universal-modal__marginBottom-90_1nhpx","marginBottom-91":"universal-modal__marginBottom-91_1nhpx","marginBottom-92":"universal-modal__marginBottom-92_1nhpx","marginBottom-93":"universal-modal__marginBottom-93_1nhpx","marginBottom-94":"universal-modal__marginBottom-94_1nhpx","marginBottom-95":"universal-modal__marginBottom-95_1nhpx","marginBottom-96":"universal-modal__marginBottom-96_1nhpx","marginBottom-97":"universal-modal__marginBottom-97_1nhpx","marginBottom-98":"universal-modal__marginBottom-98_1nhpx","marginBottom-99":"universal-modal__marginBottom-99_1nhpx","marginBottom-100":"universal-modal__marginBottom-100_1nhpx","marginBottom-101":"universal-modal__marginBottom-101_1nhpx","marginBottom-102":"universal-modal__marginBottom-102_1nhpx","marginBottom-103":"universal-modal__marginBottom-103_1nhpx","marginBottom-104":"universal-modal__marginBottom-104_1nhpx","marginBottom-105":"universal-modal__marginBottom-105_1nhpx","marginBottom-106":"universal-modal__marginBottom-106_1nhpx","marginBottom-107":"universal-modal__marginBottom-107_1nhpx","marginBottom-108":"universal-modal__marginBottom-108_1nhpx","marginBottom-109":"universal-modal__marginBottom-109_1nhpx","marginBottom-110":"universal-modal__marginBottom-110_1nhpx","marginBottom-111":"universal-modal__marginBottom-111_1nhpx","marginBottom-112":"universal-modal__marginBottom-112_1nhpx","marginBottom-113":"universal-modal__marginBottom-113_1nhpx","marginBottom-114":"universal-modal__marginBottom-114_1nhpx","marginBottom-115":"universal-modal__marginBottom-115_1nhpx","marginBottom-116":"universal-modal__marginBottom-116_1nhpx","marginBottom-117":"universal-modal__marginBottom-117_1nhpx","marginBottom-118":"universal-modal__marginBottom-118_1nhpx","marginBottom-119":"universal-modal__marginBottom-119_1nhpx","marginBottom-120":"universal-modal__marginBottom-120_1nhpx","marginBottom-121":"universal-modal__marginBottom-121_1nhpx","marginBottom-122":"universal-modal__marginBottom-122_1nhpx","marginBottom-123":"universal-modal__marginBottom-123_1nhpx","marginBottom-124":"universal-modal__marginBottom-124_1nhpx","marginBottom-125":"universal-modal__marginBottom-125_1nhpx","marginBottom-126":"universal-modal__marginBottom-126_1nhpx","marginBottom-127":"universal-modal__marginBottom-127_1nhpx","marginBottom-128":"universal-modal__marginBottom-128_1nhpx","marginLeft-0":"universal-modal__marginLeft-0_1nhpx","marginLeft-1":"universal-modal__marginLeft-1_1nhpx","marginLeft-2":"universal-modal__marginLeft-2_1nhpx","marginLeft-3":"universal-modal__marginLeft-3_1nhpx","marginLeft-4":"universal-modal__marginLeft-4_1nhpx","marginLeft-5":"universal-modal__marginLeft-5_1nhpx","marginLeft-6":"universal-modal__marginLeft-6_1nhpx","marginLeft-7":"universal-modal__marginLeft-7_1nhpx","marginLeft-8":"universal-modal__marginLeft-8_1nhpx","marginLeft-9":"universal-modal__marginLeft-9_1nhpx","marginLeft-10":"universal-modal__marginLeft-10_1nhpx","marginLeft-11":"universal-modal__marginLeft-11_1nhpx","marginLeft-12":"universal-modal__marginLeft-12_1nhpx","marginLeft-13":"universal-modal__marginLeft-13_1nhpx","marginLeft-14":"universal-modal__marginLeft-14_1nhpx","marginLeft-15":"universal-modal__marginLeft-15_1nhpx","marginLeft-16":"universal-modal__marginLeft-16_1nhpx","marginLeft-17":"universal-modal__marginLeft-17_1nhpx","marginLeft-18":"universal-modal__marginLeft-18_1nhpx","marginLeft-19":"universal-modal__marginLeft-19_1nhpx","marginLeft-20":"universal-modal__marginLeft-20_1nhpx","marginLeft-21":"universal-modal__marginLeft-21_1nhpx","marginLeft-22":"universal-modal__marginLeft-22_1nhpx","marginLeft-23":"universal-modal__marginLeft-23_1nhpx","marginLeft-24":"universal-modal__marginLeft-24_1nhpx","marginLeft-25":"universal-modal__marginLeft-25_1nhpx","marginLeft-26":"universal-modal__marginLeft-26_1nhpx","marginLeft-27":"universal-modal__marginLeft-27_1nhpx","marginLeft-28":"universal-modal__marginLeft-28_1nhpx","marginLeft-29":"universal-modal__marginLeft-29_1nhpx","marginLeft-30":"universal-modal__marginLeft-30_1nhpx","marginLeft-31":"universal-modal__marginLeft-31_1nhpx","marginLeft-32":"universal-modal__marginLeft-32_1nhpx","marginLeft-33":"universal-modal__marginLeft-33_1nhpx","marginLeft-34":"universal-modal__marginLeft-34_1nhpx","marginLeft-35":"universal-modal__marginLeft-35_1nhpx","marginLeft-36":"universal-modal__marginLeft-36_1nhpx","marginLeft-37":"universal-modal__marginLeft-37_1nhpx","marginLeft-38":"universal-modal__marginLeft-38_1nhpx","marginLeft-39":"universal-modal__marginLeft-39_1nhpx","marginLeft-40":"universal-modal__marginLeft-40_1nhpx","marginLeft-41":"universal-modal__marginLeft-41_1nhpx","marginLeft-42":"universal-modal__marginLeft-42_1nhpx","marginLeft-43":"universal-modal__marginLeft-43_1nhpx","marginLeft-44":"universal-modal__marginLeft-44_1nhpx","marginLeft-45":"universal-modal__marginLeft-45_1nhpx","marginLeft-46":"universal-modal__marginLeft-46_1nhpx","marginLeft-47":"universal-modal__marginLeft-47_1nhpx","marginLeft-48":"universal-modal__marginLeft-48_1nhpx","marginLeft-49":"universal-modal__marginLeft-49_1nhpx","marginLeft-50":"universal-modal__marginLeft-50_1nhpx","marginLeft-51":"universal-modal__marginLeft-51_1nhpx","marginLeft-52":"universal-modal__marginLeft-52_1nhpx","marginLeft-53":"universal-modal__marginLeft-53_1nhpx","marginLeft-54":"universal-modal__marginLeft-54_1nhpx","marginLeft-55":"universal-modal__marginLeft-55_1nhpx","marginLeft-56":"universal-modal__marginLeft-56_1nhpx","marginLeft-57":"universal-modal__marginLeft-57_1nhpx","marginLeft-58":"universal-modal__marginLeft-58_1nhpx","marginLeft-59":"universal-modal__marginLeft-59_1nhpx","marginLeft-60":"universal-modal__marginLeft-60_1nhpx","marginLeft-61":"universal-modal__marginLeft-61_1nhpx","marginLeft-62":"universal-modal__marginLeft-62_1nhpx","marginLeft-63":"universal-modal__marginLeft-63_1nhpx","marginLeft-64":"universal-modal__marginLeft-64_1nhpx","marginLeft-65":"universal-modal__marginLeft-65_1nhpx","marginLeft-66":"universal-modal__marginLeft-66_1nhpx","marginLeft-67":"universal-modal__marginLeft-67_1nhpx","marginLeft-68":"universal-modal__marginLeft-68_1nhpx","marginLeft-69":"universal-modal__marginLeft-69_1nhpx","marginLeft-70":"universal-modal__marginLeft-70_1nhpx","marginLeft-71":"universal-modal__marginLeft-71_1nhpx","marginLeft-72":"universal-modal__marginLeft-72_1nhpx","marginLeft-73":"universal-modal__marginLeft-73_1nhpx","marginLeft-74":"universal-modal__marginLeft-74_1nhpx","marginLeft-75":"universal-modal__marginLeft-75_1nhpx","marginLeft-76":"universal-modal__marginLeft-76_1nhpx","marginLeft-77":"universal-modal__marginLeft-77_1nhpx","marginLeft-78":"universal-modal__marginLeft-78_1nhpx","marginLeft-79":"universal-modal__marginLeft-79_1nhpx","marginLeft-80":"universal-modal__marginLeft-80_1nhpx","marginLeft-81":"universal-modal__marginLeft-81_1nhpx","marginLeft-82":"universal-modal__marginLeft-82_1nhpx","marginLeft-83":"universal-modal__marginLeft-83_1nhpx","marginLeft-84":"universal-modal__marginLeft-84_1nhpx","marginLeft-85":"universal-modal__marginLeft-85_1nhpx","marginLeft-86":"universal-modal__marginLeft-86_1nhpx","marginLeft-87":"universal-modal__marginLeft-87_1nhpx","marginLeft-88":"universal-modal__marginLeft-88_1nhpx","marginLeft-89":"universal-modal__marginLeft-89_1nhpx","marginLeft-90":"universal-modal__marginLeft-90_1nhpx","marginLeft-91":"universal-modal__marginLeft-91_1nhpx","marginLeft-92":"universal-modal__marginLeft-92_1nhpx","marginLeft-93":"universal-modal__marginLeft-93_1nhpx","marginLeft-94":"universal-modal__marginLeft-94_1nhpx","marginLeft-95":"universal-modal__marginLeft-95_1nhpx","marginLeft-96":"universal-modal__marginLeft-96_1nhpx","marginLeft-97":"universal-modal__marginLeft-97_1nhpx","marginLeft-98":"universal-modal__marginLeft-98_1nhpx","marginLeft-99":"universal-modal__marginLeft-99_1nhpx","marginLeft-100":"universal-modal__marginLeft-100_1nhpx","marginLeft-101":"universal-modal__marginLeft-101_1nhpx","marginLeft-102":"universal-modal__marginLeft-102_1nhpx","marginLeft-103":"universal-modal__marginLeft-103_1nhpx","marginLeft-104":"universal-modal__marginLeft-104_1nhpx","marginLeft-105":"universal-modal__marginLeft-105_1nhpx","marginLeft-106":"universal-modal__marginLeft-106_1nhpx","marginLeft-107":"universal-modal__marginLeft-107_1nhpx","marginLeft-108":"universal-modal__marginLeft-108_1nhpx","marginLeft-109":"universal-modal__marginLeft-109_1nhpx","marginLeft-110":"universal-modal__marginLeft-110_1nhpx","marginLeft-111":"universal-modal__marginLeft-111_1nhpx","marginLeft-112":"universal-modal__marginLeft-112_1nhpx","marginLeft-113":"universal-modal__marginLeft-113_1nhpx","marginLeft-114":"universal-modal__marginLeft-114_1nhpx","marginLeft-115":"universal-modal__marginLeft-115_1nhpx","marginLeft-116":"universal-modal__marginLeft-116_1nhpx","marginLeft-117":"universal-modal__marginLeft-117_1nhpx","marginLeft-118":"universal-modal__marginLeft-118_1nhpx","marginLeft-119":"universal-modal__marginLeft-119_1nhpx","marginLeft-120":"universal-modal__marginLeft-120_1nhpx","marginLeft-121":"universal-modal__marginLeft-121_1nhpx","marginLeft-122":"universal-modal__marginLeft-122_1nhpx","marginLeft-123":"universal-modal__marginLeft-123_1nhpx","marginLeft-124":"universal-modal__marginLeft-124_1nhpx","marginLeft-125":"universal-modal__marginLeft-125_1nhpx","marginLeft-126":"universal-modal__marginLeft-126_1nhpx","marginLeft-127":"universal-modal__marginLeft-127_1nhpx","marginLeft-128":"universal-modal__marginLeft-128_1nhpx"};
|
|
14
|
+
require('./styles/index.css')
|
|
15
|
+
|
|
16
|
+
var SideModal = forwardRef(function (props, ref) {
|
|
17
|
+
var _a, _b;
|
|
18
|
+
var _c = props.width, width = _c === void 0 ? 500 : _c, _d = props.height, height = _d === void 0 ? 'fullHeight' : _d, _e = props.horizontalAlign, horizontalAlign = _e === void 0 ? 'center' : _e, _f = props.verticalAlign, verticalAlign = _f === void 0 ? 'center' : _f, _g = props.overlay, overlay = _g === void 0 ? true : _g, open = props.open, dataTestId = props.dataTestId, className = props.className, children = props.children, margin = props.margin, onClose = props.onClose, restProps = __rest(props, ["width", "height", "horizontalAlign", "verticalAlign", "overlay", "open", "dataTestId", "className", "children", "margin", "onClose"]);
|
|
19
|
+
var componentRef = useRef(null);
|
|
20
|
+
var contentRef = useRef(null);
|
|
21
|
+
useModalWidth(width, open, componentRef);
|
|
22
|
+
useModalHeight(height, open, componentRef);
|
|
23
|
+
var _h = useModalWheel(overlay), wheelDeltaY = _h.wheelDeltaY, handleWheel = _h.handleWheel;
|
|
24
|
+
var isHorizontalStart = horizontalAlign === 'start';
|
|
25
|
+
var isHorizontalEnd = horizontalAlign === 'end';
|
|
26
|
+
var isVerticalCenter = verticalAlign === 'center';
|
|
27
|
+
var isVerticalBottom = verticalAlign === 'bottom';
|
|
28
|
+
var _j = getFullSizeModalTransitions({ verticalAlign: verticalAlign, width: width, height: height }), isFullSizeModal = _j.isFullSizeModal, fullSizeModalContentTransitions = _j.componentTransitions, fullSizeModalBackdropTransitions = _j.backdropTransitions;
|
|
29
|
+
return (React.createElement(BaseModal, __assign({}, restProps, { open: open, dataTestId: dataTestId, ref: ref, componentRef: componentRef, contentElementRef: contentRef, scrollHandler: 'content', disableBlockingScroll: !overlay, wrapperClassName: cn(styles.wrapper, (_a = {},
|
|
30
|
+
_a[styles.wrapperAlignStart] = isHorizontalStart,
|
|
31
|
+
_a[styles.wrapperAlignEnd] = isHorizontalEnd,
|
|
32
|
+
_a[styles.wrapperJustifyCenter] = isVerticalCenter,
|
|
33
|
+
_a[styles.wrapperJustifyEnd] = isVerticalBottom,
|
|
34
|
+
_a)), className: cn(styles.component, className, __assign((_b = {}, _b[styles.overlayHidden] = !overlay, _b), getMargins({ styles: styles, margin: margin }))), contentClassName: styles.content, transitionProps: __assign(__assign(__assign({}, getDefaultTransitionProps({
|
|
35
|
+
horizontalAlign: horizontalAlign,
|
|
36
|
+
margin: margin,
|
|
37
|
+
})), (isFullSizeModal && fullSizeModalContentTransitions)), restProps.transitionProps), backdropProps: __assign(__assign({ transparent: !overlay }, (isFullSizeModal && fullSizeModalBackdropTransitions)), restProps.backdropProps), onWheel: handleWheel, onClose: onClose }),
|
|
38
|
+
React.createElement("div", { className: styles.container },
|
|
39
|
+
React.createElement(BaseUniversalModalContent, { wheelDeltaY: wheelDeltaY }, children))));
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export { SideModal };
|