@cloud-ru/uikit-product-site-section 0.23.3 → 0.23.5
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/CHANGELOG.md +29 -0
- package/dist/cjs/components/SectionAccordion/SectionAccordion.d.ts +28 -0
- package/dist/cjs/components/SectionAccordion/SectionAccordion.js +29 -0
- package/dist/cjs/components/SectionAccordion/index.d.ts +1 -0
- package/dist/cjs/components/SectionAccordion/index.js +17 -0
- package/dist/cjs/components/SectionAccordion/styles.module.css +11 -0
- package/dist/cjs/components/SectionAccordion/types.d.ts +9 -0
- package/dist/cjs/components/SectionAccordion/types.js +2 -0
- package/dist/cjs/components/SectionAccordion/utils.d.ts +4 -0
- package/dist/cjs/components/SectionAccordion/utils.js +29 -0
- package/dist/cjs/components/SectionBasic/SectionBasic.d.ts +38 -0
- package/dist/cjs/components/SectionBasic/SectionBasic.js +45 -0
- package/dist/cjs/components/SectionBasic/index.d.ts +1 -0
- package/dist/cjs/components/SectionBasic/index.js +17 -0
- package/dist/cjs/components/SectionBasic/styles.module.css +73 -0
- package/dist/cjs/components/SectionBenefits/SectionBenefits.d.ts +33 -0
- package/dist/cjs/components/SectionBenefits/SectionBenefits.js +56 -0
- package/dist/cjs/components/SectionBenefits/components/CardNumeric/CardNumeric.d.ts +6 -0
- package/dist/cjs/components/SectionBenefits/components/CardNumeric/CardNumeric.js +25 -0
- package/dist/cjs/components/SectionBenefits/components/CardNumeric/index.d.ts +1 -0
- package/dist/cjs/components/SectionBenefits/components/CardNumeric/index.js +17 -0
- package/dist/cjs/components/SectionBenefits/components/CardNumeric/styles.module.css +4 -0
- package/dist/cjs/components/SectionBenefits/components/index.d.ts +1 -0
- package/dist/cjs/components/SectionBenefits/components/index.js +17 -0
- package/dist/cjs/components/SectionBenefits/index.d.ts +1 -0
- package/dist/cjs/components/SectionBenefits/index.js +17 -0
- package/dist/cjs/components/SectionBenefits/styles.module.css +12 -0
- package/dist/cjs/components/SectionBenefits/types.d.ts +69 -0
- package/dist/cjs/components/SectionBenefits/types.js +2 -0
- package/dist/cjs/components/SectionBenefitsBanner/SectionBenefitsBanner.d.ts +19 -0
- package/dist/cjs/components/SectionBenefitsBanner/SectionBenefitsBanner.js +31 -0
- package/dist/cjs/components/SectionBenefitsBanner/index.d.ts +1 -0
- package/dist/cjs/components/SectionBenefitsBanner/index.js +17 -0
- package/dist/cjs/components/SectionBenefitsBanner/styles.module.css +91 -0
- package/dist/cjs/components/SectionBenefitsBanner/types.d.ts +34 -0
- package/dist/cjs/components/SectionBenefitsBanner/types.js +14 -0
- package/dist/cjs/components/SectionBenefitsBanner/utils.d.ts +3 -0
- package/dist/cjs/components/SectionBenefitsBanner/utils.js +14 -0
- package/dist/cjs/components/SectionBlogCarousel/SectionBlogCarousel.d.ts +5 -0
- package/dist/cjs/components/SectionBlogCarousel/SectionBlogCarousel.js +24 -0
- package/dist/cjs/components/SectionBlogCarousel/index.d.ts +1 -0
- package/dist/cjs/components/SectionBlogCarousel/index.js +17 -0
- package/dist/cjs/components/SectionBlogCarousel/utils.d.ts +3 -0
- package/dist/cjs/components/SectionBlogCarousel/utils.js +25 -0
- package/dist/cjs/components/SectionCaseCarousel/SectionCaseCarousel.d.ts +5 -0
- package/dist/cjs/components/SectionCaseCarousel/SectionCaseCarousel.js +24 -0
- package/dist/cjs/components/SectionCaseCarousel/index.d.ts +1 -0
- package/dist/cjs/components/SectionCaseCarousel/index.js +17 -0
- package/dist/cjs/components/SectionCaseCarousel/styles.module.css +3 -0
- package/dist/cjs/components/SectionCaseCarousel/utils.d.ts +3 -0
- package/dist/cjs/components/SectionCaseCarousel/utils.js +21 -0
- package/dist/cjs/components/SectionCatalog/SectionCatalog.d.ts +29 -0
- package/dist/cjs/components/SectionCatalog/SectionCatalog.js +35 -0
- package/dist/cjs/components/SectionCatalog/constants.d.ts +14 -0
- package/dist/cjs/components/SectionCatalog/constants.js +8 -0
- package/dist/cjs/components/SectionCatalog/index.d.ts +1 -0
- package/dist/cjs/components/SectionCatalog/index.js +17 -0
- package/dist/cjs/components/SectionCatalog/styles.module.css +43 -0
- package/dist/cjs/components/SectionClientsCarousel/SectionClientsCarousel.d.ts +3 -0
- package/dist/cjs/components/SectionClientsCarousel/SectionClientsCarousel.js +24 -0
- package/dist/cjs/components/SectionClientsCarousel/index.d.ts +1 -0
- package/dist/cjs/components/SectionClientsCarousel/index.js +17 -0
- package/dist/cjs/components/SectionClientsCarousel/utils.d.ts +3 -0
- package/dist/cjs/components/SectionClientsCarousel/utils.js +25 -0
- package/dist/cjs/components/SectionContent/SectionContent.d.ts +21 -0
- package/dist/cjs/components/SectionContent/SectionContent.js +31 -0
- package/dist/cjs/components/SectionContent/index.d.ts +1 -0
- package/dist/cjs/components/SectionContent/index.js +17 -0
- package/dist/cjs/components/SectionContent/styles.module.css +59 -0
- package/dist/cjs/components/SectionContentList/SectionContentList.d.ts +26 -0
- package/dist/cjs/components/SectionContentList/SectionContentList.js +27 -0
- package/dist/cjs/components/SectionContentList/index.d.ts +1 -0
- package/dist/cjs/components/SectionContentList/index.js +17 -0
- package/dist/cjs/components/SectionContentList/styles.module.css +49 -0
- package/dist/cjs/components/SectionContentTabs/SectionContentTabs.d.ts +36 -0
- package/dist/cjs/components/SectionContentTabs/SectionContentTabs.js +43 -0
- package/dist/cjs/components/SectionContentTabs/index.d.ts +1 -0
- package/dist/cjs/components/SectionContentTabs/index.js +17 -0
- package/dist/cjs/components/SectionContentTabs/styles.module.css +76 -0
- package/dist/cjs/components/SectionExpertsCarousel/SectionExpertsCarousel.d.ts +4 -0
- package/dist/cjs/components/SectionExpertsCarousel/SectionExpertsCarousel.js +21 -0
- package/dist/cjs/components/SectionExpertsCarousel/constants.d.ts +2 -0
- package/dist/cjs/components/SectionExpertsCarousel/constants.js +5 -0
- package/dist/cjs/components/SectionExpertsCarousel/index.d.ts +1 -0
- package/dist/cjs/components/SectionExpertsCarousel/index.js +17 -0
- package/dist/cjs/components/SectionExpertsCarousel/types.d.ts +6 -0
- package/dist/cjs/components/SectionExpertsCarousel/types.js +2 -0
- package/dist/cjs/components/SectionLeading/SectionLeading.d.ts +15 -0
- package/dist/cjs/components/SectionLeading/SectionLeading.js +57 -0
- package/dist/cjs/components/SectionLeading/index.d.ts +1 -0
- package/dist/cjs/components/SectionLeading/index.js +17 -0
- package/dist/cjs/components/SectionLeading/styles.module.css +23 -0
- package/dist/cjs/components/SectionLeading/utils.d.ts +1 -0
- package/dist/cjs/components/SectionLeading/utils.js +13 -0
- package/dist/cjs/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.d.ts +4 -0
- package/dist/cjs/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.js +24 -0
- package/dist/cjs/components/SectionMarketplaceCarousel/index.d.ts +1 -0
- package/dist/cjs/components/SectionMarketplaceCarousel/index.js +17 -0
- package/dist/cjs/components/SectionMarketplaceCarousel/utils.d.ts +3 -0
- package/dist/cjs/components/SectionMarketplaceCarousel/utils.js +29 -0
- package/dist/cjs/components/SectionMedia/SectionMedia.d.ts +5 -0
- package/dist/cjs/components/SectionMedia/SectionMedia.js +26 -0
- package/dist/cjs/components/SectionMedia/index.d.ts +1 -0
- package/dist/cjs/components/SectionMedia/index.js +17 -0
- package/dist/cjs/components/SectionMedia/styles.module.css +10 -0
- package/dist/cjs/components/SectionPersonalManager/SectionPersonalManager.d.ts +24 -0
- package/dist/cjs/components/SectionPersonalManager/SectionPersonalManager.js +53 -0
- package/dist/cjs/components/SectionPersonalManager/index.d.ts +1 -0
- package/dist/cjs/components/SectionPersonalManager/index.js +17 -0
- package/dist/cjs/components/SectionPersonalManager/styles.module.css +122 -0
- package/dist/cjs/components/SectionPersonalManager/utils.d.ts +3 -0
- package/dist/cjs/components/SectionPersonalManager/utils.js +15 -0
- package/dist/cjs/components/SectionPromoList/SectionPromoList.d.ts +19 -0
- package/dist/cjs/components/SectionPromoList/SectionPromoList.js +27 -0
- package/dist/cjs/components/SectionPromoList/index.d.ts +1 -0
- package/dist/cjs/components/SectionPromoList/index.js +17 -0
- package/dist/cjs/components/SectionPromoList/styles.module.css +43 -0
- package/dist/cjs/components/SectionSocial/SectionSocial.d.ts +19 -0
- package/dist/cjs/components/SectionSocial/SectionSocial.js +33 -0
- package/dist/cjs/components/SectionSocial/constants.d.ts +14 -0
- package/dist/cjs/components/SectionSocial/constants.js +8 -0
- package/dist/cjs/components/SectionSocial/index.d.ts +1 -0
- package/dist/cjs/components/SectionSocial/index.js +17 -0
- package/dist/cjs/components/SectionSocial/styles.module.css +4 -0
- package/dist/cjs/components/SectionTable/SectionTable.d.ts +15 -0
- package/dist/cjs/components/SectionTable/SectionTable.js +28 -0
- package/dist/cjs/components/SectionTable/index.d.ts +1 -0
- package/dist/cjs/components/SectionTable/index.js +17 -0
- package/dist/cjs/components/SectionTable/styles.module.css +25 -0
- package/dist/cjs/components/index.d.ts +19 -0
- package/dist/cjs/components/index.js +35 -0
- package/dist/cjs/constants.d.ts +4 -0
- package/dist/cjs/constants.js +7 -0
- package/dist/cjs/helperComponents/BenefitItem/BenefitItem.d.ts +8 -0
- package/dist/cjs/helperComponents/BenefitItem/BenefitItem.js +15 -0
- package/dist/cjs/helperComponents/BenefitItem/index.d.ts +1 -0
- package/dist/cjs/helperComponents/BenefitItem/index.js +17 -0
- package/dist/cjs/helperComponents/BenefitItem/styles.module.css +27 -0
- package/dist/cjs/helperComponents/BenefitItem/utils.d.ts +4 -0
- package/dist/cjs/helperComponents/BenefitItem/utils.js +26 -0
- package/dist/cjs/helperComponents/CardClient/CardClient.d.ts +5 -0
- package/dist/cjs/helperComponents/CardClient/CardClient.js +11 -0
- package/dist/cjs/helperComponents/CardClient/index.d.ts +1 -0
- package/dist/cjs/helperComponents/CardClient/index.js +17 -0
- package/dist/cjs/helperComponents/CardClient/styles.module.css +24 -0
- package/dist/cjs/helperComponents/CardLeading/CardLeading.d.ts +4 -0
- package/dist/cjs/helperComponents/CardLeading/CardLeading.js +26 -0
- package/dist/cjs/helperComponents/CardLeading/index.d.ts +2 -0
- package/dist/cjs/helperComponents/CardLeading/index.js +18 -0
- package/dist/cjs/helperComponents/CardLeading/styles.module.css +36 -0
- package/dist/cjs/helperComponents/CardLeading/types.d.ts +11 -0
- package/dist/cjs/helperComponents/CardLeading/types.js +2 -0
- package/dist/cjs/helperComponents/CardLeading/utils.d.ts +4 -0
- package/dist/cjs/helperComponents/CardLeading/utils.js +27 -0
- package/dist/cjs/helperComponents/CardSocial/CardSocial.d.ts +25 -0
- package/dist/cjs/helperComponents/CardSocial/CardSocial.js +34 -0
- package/dist/cjs/helperComponents/CardSocial/index.d.ts +1 -0
- package/dist/cjs/helperComponents/CardSocial/index.js +17 -0
- package/dist/cjs/helperComponents/CardSocial/styles.module.css +42 -0
- package/dist/cjs/helperComponents/CardSocial/utils.d.ts +3 -0
- package/dist/cjs/helperComponents/CardSocial/utils.js +13 -0
- package/dist/cjs/helperComponents/Expert/Expert.d.ts +5 -0
- package/dist/cjs/helperComponents/Expert/Expert.js +13 -0
- package/dist/cjs/helperComponents/Expert/index.d.ts +1 -0
- package/dist/cjs/helperComponents/Expert/index.js +17 -0
- package/dist/cjs/helperComponents/Expert/styles.module.css +38 -0
- package/dist/cjs/helperComponents/PromoList/PromoList.d.ts +6 -0
- package/dist/cjs/helperComponents/PromoList/PromoList.js +13 -0
- package/dist/cjs/helperComponents/PromoList/index.d.ts +1 -0
- package/dist/cjs/helperComponents/PromoList/index.js +17 -0
- package/dist/cjs/helperComponents/PromoList/styles.module.css +53 -0
- package/dist/cjs/helperComponents/SectionButton/SectionButton.d.ts +2 -0
- package/dist/cjs/helperComponents/SectionButton/SectionButton.js +28 -0
- package/dist/cjs/helperComponents/SectionButton/index.d.ts +1 -0
- package/dist/cjs/helperComponents/SectionButton/index.js +17 -0
- package/dist/cjs/helperComponents/SectionButton/types.d.ts +8 -0
- package/dist/cjs/helperComponents/SectionButton/types.js +2 -0
- package/dist/cjs/helperComponents/SectionCarousel/SectionCarousel.d.ts +2 -0
- package/dist/cjs/helperComponents/SectionCarousel/SectionCarousel.js +61 -0
- package/dist/cjs/helperComponents/SectionCarousel/index.d.ts +2 -0
- package/dist/cjs/helperComponents/SectionCarousel/index.js +17 -0
- package/dist/cjs/helperComponents/SectionCarousel/styles.module.css +5 -0
- package/dist/cjs/helperComponents/SectionCarousel/types.d.ts +32 -0
- package/dist/cjs/helperComponents/SectionCarousel/types.js +2 -0
- package/dist/cjs/helperComponents/SectionCarousel/utils.d.ts +6 -0
- package/dist/cjs/helperComponents/SectionCarousel/utils.js +8 -0
- package/dist/cjs/helperComponents/SectionCatalogFooter/SectionCatalogFooter.d.ts +12 -0
- package/dist/cjs/helperComponents/SectionCatalogFooter/SectionCatalogFooter.js +16 -0
- package/dist/cjs/helperComponents/SectionCatalogFooter/index.d.ts +1 -0
- package/dist/cjs/helperComponents/SectionCatalogFooter/index.js +17 -0
- package/dist/cjs/helperComponents/SectionCatalogFooter/styles.module.css +8 -0
- package/dist/cjs/helperComponents/SectionTitle/SectionTitle.d.ts +22 -0
- package/dist/cjs/helperComponents/SectionTitle/SectionTitle.js +17 -0
- package/dist/cjs/helperComponents/SectionTitle/constants.d.ts +5 -0
- package/dist/cjs/helperComponents/SectionTitle/constants.js +8 -0
- package/dist/cjs/helperComponents/SectionTitle/index.d.ts +1 -0
- package/dist/cjs/helperComponents/SectionTitle/index.js +17 -0
- package/dist/cjs/helperComponents/SectionTitle/styles.module.css +31 -0
- package/dist/cjs/helperComponents/SectionTitle/types.d.ts +5 -0
- package/dist/cjs/helperComponents/SectionTitle/types.js +2 -0
- package/dist/cjs/helperComponents/SectionTitle/utils.d.ts +8 -0
- package/dist/cjs/helperComponents/SectionTitle/utils.js +67 -0
- package/dist/cjs/helperComponents/index.d.ts +10 -0
- package/dist/cjs/helperComponents/index.js +26 -0
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.js +18 -0
- package/dist/cjs/types.d.ts +19 -0
- package/dist/cjs/types.js +2 -0
- package/dist/esm/components/SectionAccordion/SectionAccordion.d.ts +28 -0
- package/dist/esm/components/SectionAccordion/SectionAccordion.js +23 -0
- package/dist/esm/components/SectionAccordion/index.d.ts +1 -0
- package/dist/esm/components/SectionAccordion/index.js +1 -0
- package/dist/esm/components/SectionAccordion/styles.module.css +11 -0
- package/dist/esm/components/SectionAccordion/types.d.ts +9 -0
- package/dist/esm/components/SectionAccordion/types.js +1 -0
- package/dist/esm/components/SectionAccordion/utils.d.ts +4 -0
- package/dist/esm/components/SectionAccordion/utils.js +24 -0
- package/dist/esm/components/SectionBasic/SectionBasic.d.ts +38 -0
- package/dist/esm/components/SectionBasic/SectionBasic.js +39 -0
- package/dist/esm/components/SectionBasic/index.d.ts +1 -0
- package/dist/esm/components/SectionBasic/index.js +1 -0
- package/dist/esm/components/SectionBasic/styles.module.css +73 -0
- package/dist/esm/components/SectionBenefits/SectionBenefits.d.ts +33 -0
- package/dist/esm/components/SectionBenefits/SectionBenefits.js +50 -0
- package/dist/esm/components/SectionBenefits/components/CardNumeric/CardNumeric.d.ts +6 -0
- package/dist/esm/components/SectionBenefits/components/CardNumeric/CardNumeric.js +19 -0
- package/dist/esm/components/SectionBenefits/components/CardNumeric/index.d.ts +1 -0
- package/dist/esm/components/SectionBenefits/components/CardNumeric/index.js +1 -0
- package/dist/esm/components/SectionBenefits/components/CardNumeric/styles.module.css +4 -0
- package/dist/esm/components/SectionBenefits/components/index.d.ts +1 -0
- package/dist/esm/components/SectionBenefits/components/index.js +1 -0
- package/dist/esm/components/SectionBenefits/index.d.ts +1 -0
- package/dist/esm/components/SectionBenefits/index.js +1 -0
- package/dist/esm/components/SectionBenefits/styles.module.css +12 -0
- package/dist/esm/components/SectionBenefits/types.d.ts +69 -0
- package/dist/esm/components/SectionBenefits/types.js +1 -0
- package/dist/esm/components/SectionBenefitsBanner/SectionBenefitsBanner.d.ts +19 -0
- package/dist/esm/components/SectionBenefitsBanner/SectionBenefitsBanner.js +25 -0
- package/dist/esm/components/SectionBenefitsBanner/index.d.ts +1 -0
- package/dist/esm/components/SectionBenefitsBanner/index.js +1 -0
- package/dist/esm/components/SectionBenefitsBanner/styles.module.css +91 -0
- package/dist/esm/components/SectionBenefitsBanner/types.d.ts +34 -0
- package/dist/esm/components/SectionBenefitsBanner/types.js +11 -0
- package/dist/esm/components/SectionBenefitsBanner/utils.d.ts +3 -0
- package/dist/esm/components/SectionBenefitsBanner/utils.js +11 -0
- package/dist/esm/components/SectionBlogCarousel/SectionBlogCarousel.d.ts +5 -0
- package/dist/esm/components/SectionBlogCarousel/SectionBlogCarousel.js +21 -0
- package/dist/esm/components/SectionBlogCarousel/index.d.ts +1 -0
- package/dist/esm/components/SectionBlogCarousel/index.js +1 -0
- package/dist/esm/components/SectionBlogCarousel/utils.d.ts +3 -0
- package/dist/esm/components/SectionBlogCarousel/utils.js +21 -0
- package/dist/esm/components/SectionCaseCarousel/SectionCaseCarousel.d.ts +5 -0
- package/dist/esm/components/SectionCaseCarousel/SectionCaseCarousel.js +21 -0
- package/dist/esm/components/SectionCaseCarousel/index.d.ts +1 -0
- package/dist/esm/components/SectionCaseCarousel/index.js +1 -0
- package/dist/esm/components/SectionCaseCarousel/styles.module.css +3 -0
- package/dist/esm/components/SectionCaseCarousel/utils.d.ts +3 -0
- package/dist/esm/components/SectionCaseCarousel/utils.js +17 -0
- package/dist/esm/components/SectionCatalog/SectionCatalog.d.ts +29 -0
- package/dist/esm/components/SectionCatalog/SectionCatalog.js +29 -0
- package/dist/esm/components/SectionCatalog/constants.d.ts +14 -0
- package/dist/esm/components/SectionCatalog/constants.js +5 -0
- package/dist/esm/components/SectionCatalog/index.d.ts +1 -0
- package/dist/esm/components/SectionCatalog/index.js +1 -0
- package/dist/esm/components/SectionCatalog/styles.module.css +43 -0
- package/dist/esm/components/SectionClientsCarousel/SectionClientsCarousel.d.ts +3 -0
- package/dist/esm/components/SectionClientsCarousel/SectionClientsCarousel.js +21 -0
- package/dist/esm/components/SectionClientsCarousel/index.d.ts +1 -0
- package/dist/esm/components/SectionClientsCarousel/index.js +1 -0
- package/dist/esm/components/SectionClientsCarousel/utils.d.ts +3 -0
- package/dist/esm/components/SectionClientsCarousel/utils.js +21 -0
- package/dist/esm/components/SectionContent/SectionContent.d.ts +21 -0
- package/dist/esm/components/SectionContent/SectionContent.js +25 -0
- package/dist/esm/components/SectionContent/index.d.ts +1 -0
- package/dist/esm/components/SectionContent/index.js +1 -0
- package/dist/esm/components/SectionContent/styles.module.css +59 -0
- package/dist/esm/components/SectionContentList/SectionContentList.d.ts +26 -0
- package/dist/esm/components/SectionContentList/SectionContentList.js +21 -0
- package/dist/esm/components/SectionContentList/index.d.ts +1 -0
- package/dist/esm/components/SectionContentList/index.js +1 -0
- package/dist/esm/components/SectionContentList/styles.module.css +49 -0
- package/dist/esm/components/SectionContentTabs/SectionContentTabs.d.ts +36 -0
- package/dist/esm/components/SectionContentTabs/SectionContentTabs.js +37 -0
- package/dist/esm/components/SectionContentTabs/index.d.ts +1 -0
- package/dist/esm/components/SectionContentTabs/index.js +1 -0
- package/dist/esm/components/SectionContentTabs/styles.module.css +76 -0
- package/dist/esm/components/SectionExpertsCarousel/SectionExpertsCarousel.d.ts +4 -0
- package/dist/esm/components/SectionExpertsCarousel/SectionExpertsCarousel.js +18 -0
- package/dist/esm/components/SectionExpertsCarousel/constants.d.ts +2 -0
- package/dist/esm/components/SectionExpertsCarousel/constants.js +2 -0
- package/dist/esm/components/SectionExpertsCarousel/index.d.ts +1 -0
- package/dist/esm/components/SectionExpertsCarousel/index.js +1 -0
- package/dist/esm/components/SectionExpertsCarousel/types.d.ts +6 -0
- package/dist/esm/components/SectionExpertsCarousel/types.js +1 -0
- package/dist/esm/components/SectionLeading/SectionLeading.d.ts +15 -0
- package/dist/esm/components/SectionLeading/SectionLeading.js +51 -0
- package/dist/esm/components/SectionLeading/index.d.ts +1 -0
- package/dist/esm/components/SectionLeading/index.js +1 -0
- package/dist/esm/components/SectionLeading/styles.module.css +23 -0
- package/dist/esm/components/SectionLeading/utils.d.ts +1 -0
- package/dist/esm/components/SectionLeading/utils.js +9 -0
- package/dist/esm/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.d.ts +4 -0
- package/dist/esm/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.js +21 -0
- package/dist/esm/components/SectionMarketplaceCarousel/index.d.ts +1 -0
- package/dist/esm/components/SectionMarketplaceCarousel/index.js +1 -0
- package/dist/esm/components/SectionMarketplaceCarousel/utils.d.ts +3 -0
- package/dist/esm/components/SectionMarketplaceCarousel/utils.js +25 -0
- package/dist/esm/components/SectionMedia/SectionMedia.d.ts +5 -0
- package/dist/esm/components/SectionMedia/SectionMedia.js +20 -0
- package/dist/esm/components/SectionMedia/index.d.ts +1 -0
- package/dist/esm/components/SectionMedia/index.js +1 -0
- package/dist/esm/components/SectionMedia/styles.module.css +10 -0
- package/dist/esm/components/SectionPersonalManager/SectionPersonalManager.d.ts +24 -0
- package/dist/esm/components/SectionPersonalManager/SectionPersonalManager.js +47 -0
- package/dist/esm/components/SectionPersonalManager/index.d.ts +1 -0
- package/dist/esm/components/SectionPersonalManager/index.js +1 -0
- package/dist/esm/components/SectionPersonalManager/styles.module.css +122 -0
- package/dist/esm/components/SectionPersonalManager/utils.d.ts +3 -0
- package/dist/esm/components/SectionPersonalManager/utils.js +11 -0
- package/dist/esm/components/SectionPromoList/SectionPromoList.d.ts +19 -0
- package/dist/esm/components/SectionPromoList/SectionPromoList.js +21 -0
- package/dist/esm/components/SectionPromoList/index.d.ts +1 -0
- package/dist/esm/components/SectionPromoList/index.js +1 -0
- package/dist/esm/components/SectionPromoList/styles.module.css +43 -0
- package/dist/esm/components/SectionSocial/SectionSocial.d.ts +19 -0
- package/dist/esm/components/SectionSocial/SectionSocial.js +27 -0
- package/dist/esm/components/SectionSocial/constants.d.ts +14 -0
- package/dist/esm/components/SectionSocial/constants.js +5 -0
- package/dist/esm/components/SectionSocial/index.d.ts +1 -0
- package/dist/esm/components/SectionSocial/index.js +1 -0
- package/dist/esm/components/SectionSocial/styles.module.css +4 -0
- package/dist/esm/components/SectionTable/SectionTable.d.ts +15 -0
- package/dist/esm/components/SectionTable/SectionTable.js +22 -0
- package/dist/esm/components/SectionTable/index.d.ts +1 -0
- package/dist/esm/components/SectionTable/index.js +1 -0
- package/dist/esm/components/SectionTable/styles.module.css +25 -0
- package/dist/esm/components/index.d.ts +19 -0
- package/dist/esm/components/index.js +19 -0
- package/dist/esm/constants.d.ts +4 -0
- package/dist/esm/constants.js +4 -0
- package/dist/esm/helperComponents/BenefitItem/BenefitItem.d.ts +8 -0
- package/dist/esm/helperComponents/BenefitItem/BenefitItem.js +9 -0
- package/dist/esm/helperComponents/BenefitItem/index.d.ts +1 -0
- package/dist/esm/helperComponents/BenefitItem/index.js +1 -0
- package/dist/esm/helperComponents/BenefitItem/styles.module.css +27 -0
- package/dist/esm/helperComponents/BenefitItem/utils.d.ts +4 -0
- package/dist/esm/helperComponents/BenefitItem/utils.js +22 -0
- package/dist/esm/helperComponents/CardClient/CardClient.d.ts +5 -0
- package/dist/esm/helperComponents/CardClient/CardClient.js +5 -0
- package/dist/esm/helperComponents/CardClient/index.d.ts +1 -0
- package/dist/esm/helperComponents/CardClient/index.js +1 -0
- package/dist/esm/helperComponents/CardClient/styles.module.css +24 -0
- package/dist/esm/helperComponents/CardLeading/CardLeading.d.ts +4 -0
- package/dist/esm/helperComponents/CardLeading/CardLeading.js +20 -0
- package/dist/esm/helperComponents/CardLeading/index.d.ts +2 -0
- package/dist/esm/helperComponents/CardLeading/index.js +2 -0
- package/dist/esm/helperComponents/CardLeading/styles.module.css +36 -0
- package/dist/esm/helperComponents/CardLeading/types.d.ts +11 -0
- package/dist/esm/helperComponents/CardLeading/types.js +1 -0
- package/dist/esm/helperComponents/CardLeading/utils.d.ts +4 -0
- package/dist/esm/helperComponents/CardLeading/utils.js +22 -0
- package/dist/esm/helperComponents/CardSocial/CardSocial.d.ts +25 -0
- package/dist/esm/helperComponents/CardSocial/CardSocial.js +28 -0
- package/dist/esm/helperComponents/CardSocial/index.d.ts +1 -0
- package/dist/esm/helperComponents/CardSocial/index.js +1 -0
- package/dist/esm/helperComponents/CardSocial/styles.module.css +42 -0
- package/dist/esm/helperComponents/CardSocial/utils.d.ts +3 -0
- package/dist/esm/helperComponents/CardSocial/utils.js +9 -0
- package/dist/esm/helperComponents/Expert/Expert.d.ts +5 -0
- package/dist/esm/helperComponents/Expert/Expert.js +7 -0
- package/dist/esm/helperComponents/Expert/index.d.ts +1 -0
- package/dist/esm/helperComponents/Expert/index.js +1 -0
- package/dist/esm/helperComponents/Expert/styles.module.css +38 -0
- package/dist/esm/helperComponents/PromoList/PromoList.d.ts +6 -0
- package/dist/esm/helperComponents/PromoList/PromoList.js +7 -0
- package/dist/esm/helperComponents/PromoList/index.d.ts +1 -0
- package/dist/esm/helperComponents/PromoList/index.js +1 -0
- package/dist/esm/helperComponents/PromoList/styles.module.css +53 -0
- package/dist/esm/helperComponents/SectionButton/SectionButton.d.ts +2 -0
- package/dist/esm/helperComponents/SectionButton/SectionButton.js +25 -0
- package/dist/esm/helperComponents/SectionButton/index.d.ts +1 -0
- package/dist/esm/helperComponents/SectionButton/index.js +1 -0
- package/dist/esm/helperComponents/SectionButton/types.d.ts +8 -0
- package/dist/esm/helperComponents/SectionButton/types.js +1 -0
- package/dist/esm/helperComponents/SectionCarousel/SectionCarousel.d.ts +2 -0
- package/dist/esm/helperComponents/SectionCarousel/SectionCarousel.js +55 -0
- package/dist/esm/helperComponents/SectionCarousel/index.d.ts +2 -0
- package/dist/esm/helperComponents/SectionCarousel/index.js +1 -0
- package/dist/esm/helperComponents/SectionCarousel/styles.module.css +5 -0
- package/dist/esm/helperComponents/SectionCarousel/types.d.ts +32 -0
- package/dist/esm/helperComponents/SectionCarousel/types.js +1 -0
- package/dist/esm/helperComponents/SectionCarousel/utils.d.ts +6 -0
- package/dist/esm/helperComponents/SectionCarousel/utils.js +4 -0
- package/dist/esm/helperComponents/SectionCatalogFooter/SectionCatalogFooter.d.ts +12 -0
- package/dist/esm/helperComponents/SectionCatalogFooter/SectionCatalogFooter.js +10 -0
- package/dist/esm/helperComponents/SectionCatalogFooter/index.d.ts +1 -0
- package/dist/esm/helperComponents/SectionCatalogFooter/index.js +1 -0
- package/dist/esm/helperComponents/SectionCatalogFooter/styles.module.css +8 -0
- package/dist/esm/helperComponents/SectionTitle/SectionTitle.d.ts +22 -0
- package/dist/esm/helperComponents/SectionTitle/SectionTitle.js +11 -0
- package/dist/esm/helperComponents/SectionTitle/constants.d.ts +5 -0
- package/dist/esm/helperComponents/SectionTitle/constants.js +5 -0
- package/dist/esm/helperComponents/SectionTitle/index.d.ts +1 -0
- package/dist/esm/helperComponents/SectionTitle/index.js +1 -0
- package/dist/esm/helperComponents/SectionTitle/styles.module.css +31 -0
- package/dist/esm/helperComponents/SectionTitle/types.d.ts +5 -0
- package/dist/esm/helperComponents/SectionTitle/types.js +1 -0
- package/dist/esm/helperComponents/SectionTitle/utils.d.ts +8 -0
- package/dist/esm/helperComponents/SectionTitle/utils.js +63 -0
- package/dist/esm/helperComponents/index.d.ts +10 -0
- package/dist/esm/helperComponents/index.js +10 -0
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/types.d.ts +19 -0
- package/dist/esm/types.js +1 -0
- package/package.json +13 -12
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { SiteVideo } from '@sbercloud/uikit-product-site-media';
|
|
14
|
+
import { extractSupportProps } from '@sbercloud/uikit-product-utils';
|
|
15
|
+
import { SectionBasic } from '../SectionBasic';
|
|
16
|
+
import styles from './styles.module.css';
|
|
17
|
+
export function SectionMedia(_a) {
|
|
18
|
+
var { id, title, titleTag, layoutType, description, video, onPlay, onError, image, 'data-test-id': dataTestId = 'section-media' } = _a, rest = __rest(_a, ["id", "title", "titleTag", "layoutType", "description", "video", "onPlay", "onError", "image", 'data-test-id']);
|
|
19
|
+
return (_jsx(SectionBasic, Object.assign({ id: id, layoutType: layoutType, title: title, titleTag: titleTag, description: description, "data-test-id": dataTestId }, extractSupportProps(rest), { children: _jsxs("div", { className: styles.content, children: [image && (_jsx("img", { className: styles.image, src: image.src, alt: (image === null || image === void 0 ? void 0 : image.alt) || title, "data-test-id": `${dataTestId}__image` })), video && (_jsx(SiteVideo, { video: video, onPlay: onPlay, onError: onError, layoutType: layoutType, "data-test-id": `${dataTestId}__video` }))] }) })));
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionMedia';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionMedia';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CardBasicProps } from '@sbercloud/uikit-product-site-cards';
|
|
2
|
+
import { WithLayoutType, WithSupportProps } from '@sbercloud/uikit-product-utils';
|
|
3
|
+
export type SectionPersonalManagerProps = WithSupportProps<WithLayoutType<{
|
|
4
|
+
/** id секции */
|
|
5
|
+
id?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
manager: {
|
|
9
|
+
img: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
text?: string;
|
|
12
|
+
};
|
|
13
|
+
card?: {
|
|
14
|
+
title: string;
|
|
15
|
+
text: string;
|
|
16
|
+
};
|
|
17
|
+
benefits?: Pick<CardBasicProps, 'title' | 'icon'>[];
|
|
18
|
+
withoutBenefits?: boolean;
|
|
19
|
+
/** CSS-класс */
|
|
20
|
+
className?: string;
|
|
21
|
+
/** Хэндлер клика по кнопке "Получить консультацию" */
|
|
22
|
+
onGetConsultationClick(): void;
|
|
23
|
+
}>>;
|
|
24
|
+
export declare function SectionPersonalManager({ id, layoutType, title, description, manager, card, benefits, withoutBenefits, className, onGetConsultationClick, ...rest }: SectionPersonalManagerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import cn from 'classnames';
|
|
14
|
+
import { useMemo } from 'react';
|
|
15
|
+
import { CloudMoveSVG, HeadphonesSVG, UsersSVG } from '@sbercloud/uikit-product-icons';
|
|
16
|
+
import { useLocale } from '@sbercloud/uikit-product-locale';
|
|
17
|
+
import { CardBasic } from '@sbercloud/uikit-product-site-cards';
|
|
18
|
+
import { extractSupportProps } from '@sbercloud/uikit-product-utils';
|
|
19
|
+
import { ButtonFilled } from '@snack-uikit/button';
|
|
20
|
+
import { Typography } from '@snack-uikit/typography';
|
|
21
|
+
import { SectionBasic } from '../SectionBasic';
|
|
22
|
+
import styles from './styles.module.css';
|
|
23
|
+
import { getCardTitleTypographyProps } from './utils';
|
|
24
|
+
export function SectionPersonalManager(_a) {
|
|
25
|
+
var { id, layoutType, title, description, manager, card, benefits, withoutBenefits, className, onGetConsultationClick } = _a, rest = __rest(_a, ["id", "layoutType", "title", "description", "manager", "card", "benefits", "withoutBenefits", "className", "onGetConsultationClick"]);
|
|
26
|
+
const { t } = useLocale('SiteSection');
|
|
27
|
+
const benefitsCards = useMemo(() => {
|
|
28
|
+
if (benefits) {
|
|
29
|
+
return benefits;
|
|
30
|
+
}
|
|
31
|
+
return [
|
|
32
|
+
{
|
|
33
|
+
title: t('PersonalManager.argumentAmountOfExperts'),
|
|
34
|
+
icon: UsersSVG,
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
title: t('PersonalManager.argumentMethodologies'),
|
|
38
|
+
icon: CloudMoveSVG,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
title: t('PersonalManager.argumentPersonalManager'),
|
|
42
|
+
icon: HeadphonesSVG,
|
|
43
|
+
},
|
|
44
|
+
];
|
|
45
|
+
}, [benefits, t]);
|
|
46
|
+
return (_jsxs(SectionBasic, Object.assign({ id: id, title: title || t('PersonalManager.title'), description: description || t('PersonalManager.subtitle'), backgroundColor: 'neutral-background1-level', layoutType: layoutType, className: cn(className, styles.sectionPersonalManager) }, extractSupportProps(rest), { children: [_jsxs("div", { className: styles.content, "data-layout-type": layoutType, children: [_jsxs("div", { className: cn(styles.card, styles.leftSide), "data-layout-type": layoutType, children: [_jsxs("div", { className: styles.approachTextWrapper, "data-layout-type": layoutType, children: [_jsxs("div", { className: styles.cardTextContent, children: [_jsx(Typography, Object.assign({ family: 'sans' }, getCardTitleTypographyProps(layoutType), { children: manager.title || t('PersonalManager.individualApproachTitle') })), _jsx(Typography, { family: 'sans', purpose: 'body', size: 'l', className: styles.cardDescription, children: manager.text || t('PersonalManager.individualApproachDescription') })] }), _jsx(ButtonFilled, { className: styles.consultationButton, size: 'l', appearance: 'primary', label: t('PersonalManager.consultationButton'), onClick: onGetConsultationClick, "data-layout-type": layoutType, "data-test-id": 'personal-manager_get-consultation-button' })] }), _jsxs("div", { className: styles.imageWrapper, "data-layout-type": layoutType, children: [_jsx("div", { className: styles.imageBackground }), _jsx("img", { src: manager.img, alt: 'personal_manager', className: styles.approachManager, "data-layout-type": layoutType })] })] }), _jsxs("div", { className: cn(styles.card, styles.cardTextContent, styles.rightSide), "data-layout-type": layoutType, children: [_jsx(Typography, Object.assign({ family: 'sans' }, getCardTitleTypographyProps(layoutType), { children: (card === null || card === void 0 ? void 0 : card.title) || t('PersonalManager.allDaySupportTitle') })), _jsx(Typography, { family: 'sans', purpose: 'body', size: 'l', className: styles.cardDescription, children: (card === null || card === void 0 ? void 0 : card.text) || t('PersonalManager.allDaySupportDescription') })] })] }), !withoutBenefits && (_jsx("div", { className: styles.expertiseCards, "data-layout-type": layoutType, children: benefitsCards === null || benefitsCards === void 0 ? void 0 : benefitsCards.map(card => (_jsx(CardBasic, { title: card.title, icon: card.icon, layoutType: layoutType }, card.title))) }))] })));
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionPersonalManager';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionPersonalManager';
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
.sectionPersonalManager{
|
|
2
|
+
width:100%;
|
|
3
|
+
box-sizing:border-box;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.content{
|
|
7
|
+
display:flex;
|
|
8
|
+
box-sizing:border-box;
|
|
9
|
+
flex-direction:row;
|
|
10
|
+
gap:var(--dimension-4m, 32px);
|
|
11
|
+
}
|
|
12
|
+
.content[data-layout-type=tablet]{
|
|
13
|
+
flex-direction:column;
|
|
14
|
+
gap:var(--dimension-2m, 16px);
|
|
15
|
+
}
|
|
16
|
+
.content[data-layout-type=mobile]{
|
|
17
|
+
flex-direction:column;
|
|
18
|
+
gap:var(--dimension-2m, 16px);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.card{
|
|
22
|
+
box-sizing:border-box;
|
|
23
|
+
background-color:var(--sys-neutral-background, #eeeff3);
|
|
24
|
+
padding:var(--dimension-4m, 32px);
|
|
25
|
+
}
|
|
26
|
+
.card[data-layout-type=tablet], .card[data-layout-type=mobile]{
|
|
27
|
+
padding:var(--dimension-3m, 24px);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.cardDescription{
|
|
31
|
+
color:var(--sys-neutral-text-support, #6d707f);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.cardTextContent{
|
|
35
|
+
box-sizing:border-box;
|
|
36
|
+
display:flex;
|
|
37
|
+
flex-direction:column;
|
|
38
|
+
gap:var(--dimension-2m, 16px);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.leftSide{
|
|
42
|
+
box-sizing:border-box;
|
|
43
|
+
display:flex;
|
|
44
|
+
gap:var(--dimension-3m, 24px);
|
|
45
|
+
align-items:flex-start;
|
|
46
|
+
flex-direction:row;
|
|
47
|
+
}
|
|
48
|
+
.leftSide[data-layout-type=tablet]{
|
|
49
|
+
justify-content:space-between;
|
|
50
|
+
}
|
|
51
|
+
.leftSide[data-layout-type=mobile]{
|
|
52
|
+
flex-direction:column-reverse;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.rightSide{
|
|
56
|
+
box-sizing:border-box;
|
|
57
|
+
}
|
|
58
|
+
.rightSide[data-layout-type=desktop], .rightSide[data-layout-type=desktopSmall]{
|
|
59
|
+
max-width:384px;
|
|
60
|
+
flex-shrink:0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.approachTextWrapper{
|
|
64
|
+
box-sizing:border-box;
|
|
65
|
+
display:flex;
|
|
66
|
+
flex-direction:column;
|
|
67
|
+
justify-content:space-between;
|
|
68
|
+
gap:var(--dimension-3m, 24px);
|
|
69
|
+
}
|
|
70
|
+
.approachTextWrapper[data-layout-type=desktop], .approachTextWrapper[data-layout-type=desktopSmall]{
|
|
71
|
+
max-width:472px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.consultationButton[data-layout-type=mobile]{
|
|
75
|
+
width:100%;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.expertiseCards{
|
|
79
|
+
box-sizing:border-box;
|
|
80
|
+
display:flex;
|
|
81
|
+
flex-direction:row;
|
|
82
|
+
gap:var(--dimension-4m, 32px);
|
|
83
|
+
}
|
|
84
|
+
.expertiseCards[data-layout-type=tablet], .expertiseCards[data-layout-type=mobile]{
|
|
85
|
+
flex-direction:column;
|
|
86
|
+
gap:var(--dimension-2m, 16px);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.imageWrapper{
|
|
90
|
+
box-sizing:border-box;
|
|
91
|
+
display:flex;
|
|
92
|
+
justify-content:center;
|
|
93
|
+
position:relative;
|
|
94
|
+
max-width:288px;
|
|
95
|
+
}
|
|
96
|
+
.imageWrapper[data-layout-type=desktop], .imageWrapper[data-layout-type=desktopSmall]{
|
|
97
|
+
min-width:216px;
|
|
98
|
+
}
|
|
99
|
+
.imageWrapper[data-layout-type=tablet]{
|
|
100
|
+
overflow:hidden;
|
|
101
|
+
min-width:196px;
|
|
102
|
+
width:100%;
|
|
103
|
+
}
|
|
104
|
+
.imageWrapper[data-layout-type=mobile]{
|
|
105
|
+
overflow:hidden;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.imageBackground{
|
|
109
|
+
position:absolute;
|
|
110
|
+
width:100%;
|
|
111
|
+
height:100%;
|
|
112
|
+
background-color:var(--sys-neutral-accent-default, #787b8a);
|
|
113
|
+
opacity:0.08;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.approachManager{
|
|
117
|
+
position:relative;
|
|
118
|
+
-o-object-fit:cover;
|
|
119
|
+
object-fit:cover;
|
|
120
|
+
pointer-events:none;
|
|
121
|
+
width:100%;
|
|
122
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const getCardTitleTypographyProps = (layoutType) => {
|
|
2
|
+
switch (layoutType) {
|
|
3
|
+
case 'mobile':
|
|
4
|
+
case 'tablet':
|
|
5
|
+
return { purpose: 'title', size: 'm' };
|
|
6
|
+
case 'desktop':
|
|
7
|
+
case 'desktopSmall':
|
|
8
|
+
default:
|
|
9
|
+
return { purpose: 'headline', size: 's' };
|
|
10
|
+
}
|
|
11
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { WithLayoutType, WithSupportProps } from '@sbercloud/uikit-product-utils';
|
|
2
|
+
import { PromoListProps } from '../../helperComponents';
|
|
3
|
+
export type SectionPromoListProps = WithSupportProps<WithLayoutType<{
|
|
4
|
+
/** id секции */
|
|
5
|
+
id?: string;
|
|
6
|
+
/** CSS-класс */
|
|
7
|
+
className?: string;
|
|
8
|
+
/** Заголовок */
|
|
9
|
+
title: string;
|
|
10
|
+
/** Описание */
|
|
11
|
+
description?: string;
|
|
12
|
+
/** Ссылка на изображение */
|
|
13
|
+
image: string;
|
|
14
|
+
/** Элементы левого списка */
|
|
15
|
+
leftList: PromoListProps;
|
|
16
|
+
/** Элементы правого списка */
|
|
17
|
+
rightList: PromoListProps;
|
|
18
|
+
}>>;
|
|
19
|
+
export declare function SectionPromoList({ id, layoutType, className, title, description, image, leftList, rightList, ...rest }: SectionPromoListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import cn from 'classnames';
|
|
14
|
+
import { extractSupportProps } from '@sbercloud/uikit-product-utils';
|
|
15
|
+
import { PromoList } from '../../helperComponents';
|
|
16
|
+
import { SectionBasic } from '../SectionBasic';
|
|
17
|
+
import styles from './styles.module.css';
|
|
18
|
+
export function SectionPromoList(_a) {
|
|
19
|
+
var { id, layoutType, className, title, description, image, leftList, rightList } = _a, rest = __rest(_a, ["id", "layoutType", "className", "title", "description", "image", "leftList", "rightList"]);
|
|
20
|
+
return (_jsx(SectionBasic, Object.assign({ id: id, title: title, description: description, backgroundColor: 'neutral-background1-level', layoutType: layoutType, className: cn(className, styles.sectionPromoList) }, extractSupportProps(rest), { children: _jsxs("div", { className: styles.cards, "data-layout-type": layoutType, children: [_jsx("div", { className: styles.left, "data-test-id": 'promo-list__card', children: _jsx(PromoList, Object.assign({}, leftList, { layoutType: layoutType })) }), _jsx("div", { className: styles.right, "data-layout-type": layoutType, "data-test-id": 'promo-list__card', style: { '--image': `url(${image})` }, children: _jsx("div", { className: styles.rightSectionText, "data-layout-type": layoutType, children: _jsx(PromoList, Object.assign({}, rightList, { layoutType: layoutType })) }) })] }) })));
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionPromoList';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionPromoList';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.sectionPromoList{
|
|
2
|
+
width:100%;
|
|
3
|
+
position:relative;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.cards{
|
|
7
|
+
display:flex;
|
|
8
|
+
gap:8px;
|
|
9
|
+
}
|
|
10
|
+
.cards[data-layout-type=tablet], .cards[data-layout-type=mobile]{
|
|
11
|
+
flex-direction:column;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.left{
|
|
15
|
+
padding:32px;
|
|
16
|
+
background-color:var(--sys-invert-neutral-background, #30303c);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.right{
|
|
20
|
+
--image-size:440px;
|
|
21
|
+
--image-visible-size:304px;
|
|
22
|
+
padding:32px;
|
|
23
|
+
position:relative;
|
|
24
|
+
flex-grow:1;
|
|
25
|
+
background-color:var(--sys-invert-neutral-background, #30303c);
|
|
26
|
+
background-image:var(--image);
|
|
27
|
+
background-repeat:no-repeat;
|
|
28
|
+
background-size:var(--image-size);
|
|
29
|
+
background-position:calc(100% + var(--image-size) - var(--image-visible-size)) calc(100% + var(--image-size) - var(--image-visible-size));
|
|
30
|
+
}
|
|
31
|
+
.right[data-layout-type=tablet]{
|
|
32
|
+
--image-visible-size:300px;
|
|
33
|
+
}
|
|
34
|
+
.right[data-layout-type=mobile]{
|
|
35
|
+
--image-visible-size:140px;
|
|
36
|
+
--image-size:280px;
|
|
37
|
+
padding:0 0 var(--image-visible-size);
|
|
38
|
+
background-position-x:center;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.rightSectionText[data-layout-type=mobile]{
|
|
42
|
+
padding:32px 32px 0;
|
|
43
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { GridProps } from '@sbercloud/uikit-product-site-grid';
|
|
2
|
+
import { WithLayoutType, WithSupportProps } from '@sbercloud/uikit-product-utils';
|
|
3
|
+
import { CardSocialProps } from '../../helperComponents';
|
|
4
|
+
import { SectionColor } from '../../types';
|
|
5
|
+
import { SectionBasicProps } from '../SectionBasic';
|
|
6
|
+
export type SectionSocialProps = WithSupportProps<WithLayoutType<Pick<SectionBasicProps, 'title' | 'subtitle' | 'titleAlign'> & {
|
|
7
|
+
/** id секции */
|
|
8
|
+
id?: string;
|
|
9
|
+
/** CSS-класс */
|
|
10
|
+
className?: string;
|
|
11
|
+
/** Цвет фона */
|
|
12
|
+
backgroundColor?: SectionColor;
|
|
13
|
+
/** Заголовок */
|
|
14
|
+
title?: string;
|
|
15
|
+
/** Размер отступов сетки */
|
|
16
|
+
gap?: GridProps['gap'];
|
|
17
|
+
cards: Omit<CardSocialProps, 'layoutType'>[];
|
|
18
|
+
}>>;
|
|
19
|
+
export declare function SectionSocial({ id, layoutType, title, subtitle, backgroundColor, className, cards, titleAlign, gap, ...rest }: SectionSocialProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import { createElement as _createElement } from "react";
|
|
14
|
+
import cn from 'classnames';
|
|
15
|
+
import { Grid } from '@sbercloud/uikit-product-site-grid';
|
|
16
|
+
import { extractSupportProps } from '@sbercloud/uikit-product-utils';
|
|
17
|
+
import { CardSocial } from '../../helperComponents';
|
|
18
|
+
import { SectionBasic } from '../SectionBasic';
|
|
19
|
+
import { GRID_CONFIG } from './constants';
|
|
20
|
+
import styles from './styles.module.css';
|
|
21
|
+
export function SectionSocial(_a) {
|
|
22
|
+
var { id, layoutType, title, subtitle, backgroundColor, className, cards, titleAlign, gap = 's' } = _a, rest = __rest(_a, ["id", "layoutType", "title", "subtitle", "backgroundColor", "className", "cards", "titleAlign", "gap"]);
|
|
23
|
+
return (_jsx(SectionBasic, Object.assign({ id: id, title: title, subtitle: subtitle, titleAlign: titleAlign, backgroundColor: backgroundColor, layoutType: layoutType, className: cn(className, styles.sectionSocial) }, extractSupportProps(rest), { children: _jsx(Grid, { columnsConfig: GRID_CONFIG, layoutType: layoutType, gap: gap, children: cards.map((card, index) => {
|
|
24
|
+
var _a;
|
|
25
|
+
return (_createElement(CardSocial, Object.assign({}, card, { key: card.title, layoutType: layoutType, "data-test-id": (_a = card['data-test-id']) !== null && _a !== void 0 ? _a : `section-social__card-${index}` })));
|
|
26
|
+
}) }) })));
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionSocial';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionSocial';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TableProps } from '@sbercloud/uikit-product-site-table';
|
|
2
|
+
import { WithLayoutType, WithSupportProps } from '@sbercloud/uikit-product-utils';
|
|
3
|
+
export type SectionTableProps = WithSupportProps<WithLayoutType<{
|
|
4
|
+
/** id секции */
|
|
5
|
+
id?: string;
|
|
6
|
+
/** CSS-класс */
|
|
7
|
+
className?: string;
|
|
8
|
+
/** Заголовок */
|
|
9
|
+
title?: string;
|
|
10
|
+
/** Подзаголовок */
|
|
11
|
+
subtitle?: string;
|
|
12
|
+
/** Описание */
|
|
13
|
+
description?: string;
|
|
14
|
+
} & TableProps>>;
|
|
15
|
+
export declare function SectionTable({ id, layoutType, className, title, subtitle, description, ...rest }: SectionTableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import cn from 'classnames';
|
|
14
|
+
import { RichText } from '@sbercloud/uikit-product-site-rich-text';
|
|
15
|
+
import { Table } from '@sbercloud/uikit-product-site-table';
|
|
16
|
+
import { extractSupportProps } from '@sbercloud/uikit-product-utils';
|
|
17
|
+
import { SectionBasic } from '../SectionBasic';
|
|
18
|
+
import styles from './styles.module.css';
|
|
19
|
+
export function SectionTable(_a) {
|
|
20
|
+
var { id, layoutType, className, title, subtitle, description } = _a, rest = __rest(_a, ["id", "layoutType", "className", "title", "subtitle", "description"]);
|
|
21
|
+
return (_jsxs(SectionBasic, Object.assign({ id: id, title: title, backgroundColor: 'neutral-background1-level', layoutType: layoutType, className: cn(className, styles.sectionTable) }, extractSupportProps(rest), { children: [subtitle && _jsx(RichText, { richText: subtitle, className: styles.subtitle, "data-test-id": 'section-table__subtitle' }), _jsx(Table, Object.assign({}, rest, { "data-test-id": 'section-table__table' })), description && (_jsx(RichText, { className: styles.description, richText: description, "data-test-id": 'section-table__description' }))] })));
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionTable';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionTable';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.sectionTable{
|
|
2
|
+
width:100%;
|
|
3
|
+
position:relative;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.subtitle{
|
|
7
|
+
font-family:var(--sans-title-m-font-family, SB Sans Display);
|
|
8
|
+
font-weight:var(--sans-title-m-font-weight, Semibold);
|
|
9
|
+
line-height:var(--sans-title-m-line-height, 24px);
|
|
10
|
+
font-size:var(--sans-title-m-font-size, 16px);
|
|
11
|
+
letter-spacing:var(--sans-title-m-letter-spacing, 0px);
|
|
12
|
+
paragraph-spacing:var(--sans-title-m-paragraph-spacing, 8.8px);
|
|
13
|
+
color:var(--sys-neutral-text-main, #41424e);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.description{
|
|
17
|
+
font-family:var(--sans-body-l-font-family, SB Sans Text);
|
|
18
|
+
font-weight:var(--sans-body-l-font-weight, Regular);
|
|
19
|
+
line-height:var(--sans-body-l-line-height, 24px);
|
|
20
|
+
font-size:var(--sans-body-l-font-size, 16px);
|
|
21
|
+
letter-spacing:var(--sans-body-l-letter-spacing, 0px);
|
|
22
|
+
paragraph-spacing:var(--sans-body-l-paragraph-spacing, 8.8px);
|
|
23
|
+
color:var(--sys-neutral-text-support, #656774);
|
|
24
|
+
word-break:break-word;
|
|
25
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './SectionAccordion';
|
|
2
|
+
export * from './SectionBasic';
|
|
3
|
+
export * from './SectionBenefits';
|
|
4
|
+
export * from './SectionBenefitsBanner';
|
|
5
|
+
export * from './SectionBlogCarousel';
|
|
6
|
+
export * from './SectionCaseCarousel';
|
|
7
|
+
export * from './SectionCatalog';
|
|
8
|
+
export * from './SectionClientsCarousel';
|
|
9
|
+
export * from './SectionContent';
|
|
10
|
+
export * from './SectionContentList';
|
|
11
|
+
export * from './SectionContentTabs';
|
|
12
|
+
export * from './SectionExpertsCarousel';
|
|
13
|
+
export * from './SectionLeading';
|
|
14
|
+
export * from './SectionMarketplaceCarousel';
|
|
15
|
+
export * from './SectionMedia';
|
|
16
|
+
export * from './SectionPersonalManager';
|
|
17
|
+
export * from './SectionPromoList';
|
|
18
|
+
export * from './SectionSocial';
|
|
19
|
+
export * from './SectionTable';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './SectionAccordion';
|
|
2
|
+
export * from './SectionBasic';
|
|
3
|
+
export * from './SectionBenefits';
|
|
4
|
+
export * from './SectionBenefitsBanner';
|
|
5
|
+
export * from './SectionBlogCarousel';
|
|
6
|
+
export * from './SectionCaseCarousel';
|
|
7
|
+
export * from './SectionCatalog';
|
|
8
|
+
export * from './SectionClientsCarousel';
|
|
9
|
+
export * from './SectionContent';
|
|
10
|
+
export * from './SectionContentList';
|
|
11
|
+
export * from './SectionContentTabs';
|
|
12
|
+
export * from './SectionExpertsCarousel';
|
|
13
|
+
export * from './SectionLeading';
|
|
14
|
+
export * from './SectionMarketplaceCarousel';
|
|
15
|
+
export * from './SectionMedia';
|
|
16
|
+
export * from './SectionPersonalManager';
|
|
17
|
+
export * from './SectionPromoList';
|
|
18
|
+
export * from './SectionSocial';
|
|
19
|
+
export * from './SectionTable';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { WithLayoutType } from '@sbercloud/uikit-product-utils';
|
|
2
|
+
export type BenefitItemProps = WithLayoutType<{
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle: string;
|
|
5
|
+
description: string;
|
|
6
|
+
paddingLeftItem?: number;
|
|
7
|
+
}>;
|
|
8
|
+
export declare function BenefitItem({ title, subtitle, description, paddingLeftItem, layoutType }: BenefitItemProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { RichText } from '@sbercloud/uikit-product-site-rich-text';
|
|
3
|
+
import { Typography } from '@snack-uikit/typography';
|
|
4
|
+
import styles from './styles.module.css';
|
|
5
|
+
import { getValueTypographyProps, getValueTypographySubtitleProps } from './utils';
|
|
6
|
+
export function BenefitItem({ title, subtitle, description, paddingLeftItem, layoutType }) {
|
|
7
|
+
const paddingItem = (layoutType === 'desktop' || layoutType === 'desktopSmall') && paddingLeftItem ? paddingLeftItem : 0;
|
|
8
|
+
return (_jsxs("div", { className: styles.benefitItem, style: { paddingLeft: `${paddingItem}px` }, "data-layout-type": layoutType, children: [_jsxs("div", { className: styles.benefitsTitles, children: [_jsx(Typography, Object.assign({ family: 'sans', tag: 'div' }, getValueTypographyProps(layoutType), { children: _jsx(RichText, { richText: title }) })), _jsx(Typography, Object.assign({ family: 'sans', tag: 'div' }, getValueTypographySubtitleProps(layoutType), { children: _jsx(RichText, { richText: subtitle, className: styles.subtitleText, "data-layout-type": layoutType }) }))] }), _jsx(Typography, { family: 'sans', tag: 'div', purpose: 'body', size: 'm', children: _jsx(RichText, { richText: description }) })] }));
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './BenefitItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './BenefitItem';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.benefitItem{
|
|
2
|
+
display:flex;
|
|
3
|
+
color:inherit;
|
|
4
|
+
flex-direction:column;
|
|
5
|
+
gap:var(--dimension-1m, 8px);
|
|
6
|
+
}
|
|
7
|
+
.benefitItem[data-layout-type=tablet]{
|
|
8
|
+
gap:calc(var(--dimension-1m, 8px) + var(--dimension-050m, 4px));
|
|
9
|
+
max-width:unset;
|
|
10
|
+
}
|
|
11
|
+
.benefitItem[data-layout-type=mobile]{
|
|
12
|
+
gap:unset;
|
|
13
|
+
max-width:unset;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.benefitsTitles{
|
|
17
|
+
display:flex;
|
|
18
|
+
gap:var(--dimension-1m, 8px);
|
|
19
|
+
align-items:flex-end;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.subtitleText{
|
|
23
|
+
padding-bottom:8px;
|
|
24
|
+
}
|
|
25
|
+
.subtitleText[data-layout-type=tablet], .subtitleText[data-layout-type=mobile]{
|
|
26
|
+
padding-bottom:5px;
|
|
27
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { LayoutType } from '@sbercloud/uikit-product-utils';
|
|
2
|
+
import { TypographyProps } from '@snack-uikit/typography';
|
|
3
|
+
export declare function getValueTypographyProps(layoutType: LayoutType): Pick<TypographyProps, 'purpose' | 'size'>;
|
|
4
|
+
export declare function getValueTypographySubtitleProps(layoutType: LayoutType): Pick<TypographyProps, 'purpose' | 'size'>;
|