@cloud-ru/uikit-product-site-section 0.23.4 → 0.23.6
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 +30 -0
- package/README.md +13 -21
- package/dist/cjs/components/SectionAccordion/SectionAccordion.d.ts +1 -1
- package/dist/cjs/components/SectionAccordion/SectionAccordion.js +2 -2
- package/dist/cjs/components/SectionAccordion/utils.d.ts +1 -1
- package/dist/cjs/components/SectionBasic/SectionBasic.d.ts +2 -2
- package/dist/cjs/components/SectionBasic/SectionBasic.js +4 -4
- package/dist/cjs/components/SectionBenefits/SectionBenefits.d.ts +2 -2
- package/dist/cjs/components/SectionBenefits/SectionBenefits.js +3 -3
- package/dist/cjs/components/SectionBenefits/components/CardNumeric/CardNumeric.d.ts +1 -1
- package/dist/cjs/components/SectionBenefits/components/CardNumeric/CardNumeric.js +1 -1
- package/dist/cjs/components/SectionBenefits/types.d.ts +1 -1
- package/dist/cjs/components/SectionBenefitsBanner/SectionBenefitsBanner.d.ts +1 -1
- package/dist/cjs/components/SectionBenefitsBanner/SectionBenefitsBanner.js +1 -1
- package/dist/cjs/components/SectionBenefitsBanner/utils.d.ts +1 -1
- package/dist/cjs/components/SectionBlogCarousel/SectionBlogCarousel.d.ts +1 -1
- package/dist/cjs/components/SectionBlogCarousel/SectionBlogCarousel.js +1 -1
- package/dist/cjs/components/SectionBlogCarousel/utils.d.ts +1 -1
- package/dist/cjs/components/SectionCaseCarousel/SectionCaseCarousel.d.ts +1 -1
- package/dist/cjs/components/SectionCaseCarousel/SectionCaseCarousel.js +1 -1
- package/dist/cjs/components/SectionCaseCarousel/utils.d.ts +1 -1
- package/dist/cjs/components/SectionCatalog/SectionCatalog.d.ts +2 -2
- package/dist/cjs/components/SectionCatalog/SectionCatalog.js +3 -3
- package/dist/cjs/components/SectionClientsCarousel/SectionClientsCarousel.js +2 -2
- package/dist/cjs/components/SectionClientsCarousel/utils.d.ts +1 -1
- package/dist/cjs/components/SectionContent/SectionContent.d.ts +1 -1
- package/dist/cjs/components/SectionContent/SectionContent.js +3 -3
- package/dist/cjs/components/SectionContentList/SectionContentList.d.ts +1 -1
- package/dist/cjs/components/SectionContentList/SectionContentList.js +2 -2
- package/dist/cjs/components/SectionContentTabs/SectionContentTabs.d.ts +1 -1
- package/dist/cjs/components/SectionContentTabs/SectionContentTabs.js +3 -3
- package/dist/cjs/components/SectionLeading/SectionLeading.d.ts +1 -1
- package/dist/cjs/components/SectionLeading/SectionLeading.js +1 -1
- package/dist/cjs/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.d.ts +1 -1
- package/dist/cjs/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.js +1 -1
- package/dist/cjs/components/SectionMarketplaceCarousel/utils.d.ts +1 -1
- package/dist/cjs/components/SectionMarketplaceCarousel/utils.js +4 -4
- package/dist/cjs/components/SectionMedia/SectionMedia.d.ts +1 -1
- package/dist/cjs/components/SectionMedia/SectionMedia.js +2 -2
- package/dist/cjs/components/SectionPersonalManager/SectionPersonalManager.d.ts +2 -2
- package/dist/cjs/components/SectionPersonalManager/SectionPersonalManager.js +4 -4
- package/dist/cjs/components/SectionPersonalManager/utils.d.ts +1 -1
- package/dist/cjs/components/SectionPromoList/SectionPromoList.d.ts +1 -1
- package/dist/cjs/components/SectionPromoList/SectionPromoList.js +1 -1
- package/dist/cjs/components/SectionSocial/SectionSocial.d.ts +2 -2
- package/dist/cjs/components/SectionSocial/SectionSocial.js +2 -2
- package/dist/cjs/components/SectionTable/SectionTable.d.ts +2 -2
- package/dist/cjs/components/SectionTable/SectionTable.js +3 -3
- package/dist/cjs/helperComponents/BenefitItem/BenefitItem.d.ts +1 -1
- package/dist/cjs/helperComponents/BenefitItem/BenefitItem.js +1 -1
- package/dist/cjs/helperComponents/BenefitItem/utils.d.ts +1 -1
- package/dist/cjs/helperComponents/CardLeading/CardLeading.d.ts +1 -1
- package/dist/cjs/helperComponents/CardLeading/CardLeading.js +1 -1
- package/dist/cjs/helperComponents/CardLeading/types.d.ts +1 -1
- package/dist/cjs/helperComponents/CardLeading/utils.d.ts +1 -1
- package/dist/cjs/helperComponents/CardSocial/CardSocial.d.ts +2 -2
- package/dist/cjs/helperComponents/CardSocial/CardSocial.js +2 -2
- package/dist/cjs/helperComponents/CardSocial/utils.d.ts +1 -1
- package/dist/cjs/helperComponents/PromoList/PromoList.d.ts +1 -1
- package/dist/cjs/helperComponents/PromoList/PromoList.js +2 -2
- package/dist/cjs/helperComponents/SectionButton/SectionButton.js +1 -1
- package/dist/cjs/helperComponents/SectionCarousel/SectionCarousel.js +1 -1
- package/dist/cjs/helperComponents/SectionCarousel/types.d.ts +1 -1
- package/dist/cjs/helperComponents/SectionCatalogFooter/SectionCatalogFooter.d.ts +1 -1
- package/dist/cjs/helperComponents/SectionCatalogFooter/SectionCatalogFooter.js +1 -1
- package/dist/cjs/helperComponents/SectionTitle/SectionTitle.d.ts +1 -1
- package/dist/cjs/helperComponents/SectionTitle/SectionTitle.js +1 -1
- package/dist/cjs/helperComponents/SectionTitle/utils.d.ts +1 -1
- package/dist/cjs/types.d.ts +1 -1
- package/dist/esm/components/SectionAccordion/SectionAccordion.d.ts +1 -1
- package/dist/esm/components/SectionAccordion/SectionAccordion.js +2 -2
- package/dist/esm/components/SectionAccordion/utils.d.ts +1 -1
- package/dist/esm/components/SectionBasic/SectionBasic.d.ts +2 -2
- package/dist/esm/components/SectionBasic/SectionBasic.js +4 -4
- package/dist/esm/components/SectionBenefits/SectionBenefits.d.ts +2 -2
- package/dist/esm/components/SectionBenefits/SectionBenefits.js +3 -3
- package/dist/esm/components/SectionBenefits/components/CardNumeric/CardNumeric.d.ts +1 -1
- package/dist/esm/components/SectionBenefits/components/CardNumeric/CardNumeric.js +1 -1
- package/dist/esm/components/SectionBenefits/types.d.ts +1 -1
- package/dist/esm/components/SectionBenefitsBanner/SectionBenefitsBanner.d.ts +1 -1
- package/dist/esm/components/SectionBenefitsBanner/SectionBenefitsBanner.js +1 -1
- package/dist/esm/components/SectionBenefitsBanner/utils.d.ts +1 -1
- package/dist/esm/components/SectionBlogCarousel/SectionBlogCarousel.d.ts +1 -1
- package/dist/esm/components/SectionBlogCarousel/SectionBlogCarousel.js +1 -1
- package/dist/esm/components/SectionBlogCarousel/utils.d.ts +1 -1
- package/dist/esm/components/SectionCaseCarousel/SectionCaseCarousel.d.ts +1 -1
- package/dist/esm/components/SectionCaseCarousel/SectionCaseCarousel.js +1 -1
- package/dist/esm/components/SectionCaseCarousel/utils.d.ts +1 -1
- package/dist/esm/components/SectionCatalog/SectionCatalog.d.ts +2 -2
- package/dist/esm/components/SectionCatalog/SectionCatalog.js +3 -3
- package/dist/esm/components/SectionClientsCarousel/SectionClientsCarousel.js +1 -1
- package/dist/esm/components/SectionClientsCarousel/utils.d.ts +1 -1
- package/dist/esm/components/SectionContent/SectionContent.d.ts +1 -1
- package/dist/esm/components/SectionContent/SectionContent.js +3 -3
- package/dist/esm/components/SectionContentList/SectionContentList.d.ts +1 -1
- package/dist/esm/components/SectionContentList/SectionContentList.js +2 -2
- package/dist/esm/components/SectionContentTabs/SectionContentTabs.d.ts +1 -1
- package/dist/esm/components/SectionContentTabs/SectionContentTabs.js +3 -3
- package/dist/esm/components/SectionLeading/SectionLeading.d.ts +1 -1
- package/dist/esm/components/SectionLeading/SectionLeading.js +1 -1
- package/dist/esm/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.d.ts +1 -1
- package/dist/esm/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.js +1 -1
- package/dist/esm/components/SectionMarketplaceCarousel/utils.d.ts +1 -1
- package/dist/esm/components/SectionMarketplaceCarousel/utils.js +1 -1
- package/dist/esm/components/SectionMedia/SectionMedia.d.ts +1 -1
- package/dist/esm/components/SectionMedia/SectionMedia.js +2 -2
- package/dist/esm/components/SectionPersonalManager/SectionPersonalManager.d.ts +2 -2
- package/dist/esm/components/SectionPersonalManager/SectionPersonalManager.js +4 -4
- package/dist/esm/components/SectionPersonalManager/utils.d.ts +1 -1
- package/dist/esm/components/SectionPromoList/SectionPromoList.d.ts +1 -1
- package/dist/esm/components/SectionPromoList/SectionPromoList.js +1 -1
- package/dist/esm/components/SectionSocial/SectionSocial.d.ts +2 -2
- package/dist/esm/components/SectionSocial/SectionSocial.js +2 -2
- package/dist/esm/components/SectionTable/SectionTable.d.ts +2 -2
- package/dist/esm/components/SectionTable/SectionTable.js +3 -3
- package/dist/esm/helperComponents/BenefitItem/BenefitItem.d.ts +1 -1
- package/dist/esm/helperComponents/BenefitItem/BenefitItem.js +1 -1
- package/dist/esm/helperComponents/BenefitItem/utils.d.ts +1 -1
- package/dist/esm/helperComponents/CardLeading/CardLeading.d.ts +1 -1
- package/dist/esm/helperComponents/CardLeading/CardLeading.js +1 -1
- package/dist/esm/helperComponents/CardLeading/types.d.ts +1 -1
- package/dist/esm/helperComponents/CardLeading/utils.d.ts +1 -1
- package/dist/esm/helperComponents/CardSocial/CardSocial.d.ts +2 -2
- package/dist/esm/helperComponents/CardSocial/CardSocial.js +2 -2
- package/dist/esm/helperComponents/CardSocial/utils.d.ts +1 -1
- package/dist/esm/helperComponents/PromoList/PromoList.d.ts +1 -1
- package/dist/esm/helperComponents/PromoList/PromoList.js +2 -2
- package/dist/esm/helperComponents/SectionButton/SectionButton.js +1 -1
- package/dist/esm/helperComponents/SectionCarousel/SectionCarousel.js +1 -1
- package/dist/esm/helperComponents/SectionCarousel/types.d.ts +1 -1
- package/dist/esm/helperComponents/SectionCatalogFooter/SectionCatalogFooter.d.ts +1 -1
- package/dist/esm/helperComponents/SectionCatalogFooter/SectionCatalogFooter.js +1 -1
- package/dist/esm/helperComponents/SectionTitle/SectionTitle.d.ts +1 -1
- package/dist/esm/helperComponents/SectionTitle/SectionTitle.js +1 -1
- package/dist/esm/helperComponents/SectionTitle/utils.d.ts +1 -1
- package/dist/esm/types.d.ts +1 -1
- package/package.json +14 -14
- package/src/components/SectionClientsCarousel/SectionClientsCarousel.tsx +1 -1
- package/src/components/SectionMarketplaceCarousel/utils.ts +1 -1
|
@@ -17,9 +17,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
exports.SectionTable = SectionTable;
|
|
18
18
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
19
|
const classnames_1 = __importDefault(require("classnames"));
|
|
20
|
-
const uikit_product_site_rich_text_1 = require("@
|
|
21
|
-
const uikit_product_site_table_1 = require("@
|
|
22
|
-
const uikit_product_utils_1 = require("@
|
|
20
|
+
const uikit_product_site_rich_text_1 = require("@cloud-ru/uikit-product-site-rich-text");
|
|
21
|
+
const uikit_product_site_table_1 = require("@cloud-ru/uikit-product-site-table");
|
|
22
|
+
const uikit_product_utils_1 = require("@cloud-ru/uikit-product-utils");
|
|
23
23
|
const SectionBasic_1 = require("../SectionBasic");
|
|
24
24
|
const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
|
|
25
25
|
function SectionTable(_a) {
|
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.BenefitItem = BenefitItem;
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
const uikit_product_site_rich_text_1 = require("@
|
|
8
|
+
const uikit_product_site_rich_text_1 = require("@cloud-ru/uikit-product-site-rich-text");
|
|
9
9
|
const typography_1 = require("@snack-uikit/typography");
|
|
10
10
|
const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
|
|
11
11
|
const utils_1 = require("./utils");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LayoutType } from '@
|
|
1
|
+
import { LayoutType } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { TypographyProps } from '@snack-uikit/typography';
|
|
3
3
|
export declare function getValueTypographyProps(layoutType: LayoutType): Pick<TypographyProps, 'purpose' | 'size'>;
|
|
4
4
|
export declare function getValueTypographySubtitleProps(layoutType: LayoutType): Pick<TypographyProps, 'purpose' | 'size'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WithLayoutType } from '@
|
|
1
|
+
import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { CardLeadingItem } from './types';
|
|
3
3
|
export type CardLeadingProps = WithLayoutType<CardLeadingItem>;
|
|
4
4
|
export declare function CardLeading({ layoutType, value, label, description, image, ...rest }: CardLeadingProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.CardLeading = CardLeading;
|
|
18
18
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
-
const uikit_product_utils_1 = require("@
|
|
19
|
+
const uikit_product_utils_1 = require("@cloud-ru/uikit-product-utils");
|
|
20
20
|
const typography_1 = require("@snack-uikit/typography");
|
|
21
21
|
const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
|
|
22
22
|
const utils_1 = require("./utils");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LayoutType } from '@
|
|
1
|
+
import { LayoutType } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { TypographyProps } from '@snack-uikit/typography';
|
|
3
3
|
export declare const getValueTypographyProps: (layoutType: LayoutType) => Pick<TypographyProps, "purpose" | "size">;
|
|
4
4
|
export declare const getLabelTypographyProps: (layoutType: LayoutType) => Pick<TypographyProps, "purpose" | "size">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnchorHTMLAttributes, MouseEvent } from 'react';
|
|
2
|
-
import { IconProps } from '@
|
|
3
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
2
|
+
import { IconProps } from '@cloud-ru/uikit-product-site-cards';
|
|
3
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
4
4
|
export type CardSocialProps = WithSupportProps<WithLayoutType<{
|
|
5
5
|
/** Заголовок карточки*/
|
|
6
6
|
title: string;
|
|
@@ -17,8 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
exports.CardSocial = CardSocial;
|
|
18
18
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
19
|
const classnames_1 = __importDefault(require("classnames"));
|
|
20
|
-
const uikit_product_site_cards_1 = require("@
|
|
21
|
-
const uikit_product_utils_1 = require("@
|
|
20
|
+
const uikit_product_site_cards_1 = require("@cloud-ru/uikit-product-site-cards");
|
|
21
|
+
const uikit_product_utils_1 = require("@cloud-ru/uikit-product-utils");
|
|
22
22
|
const card_1 = require("@snack-uikit/card");
|
|
23
23
|
const typography_1 = require("@snack-uikit/typography");
|
|
24
24
|
const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LayoutType } from '@
|
|
1
|
+
import { LayoutType } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { TypographyProps } from '@snack-uikit/typography';
|
|
3
3
|
export declare const getTypographySize: (layoutType: LayoutType) => TypographyProps["size"];
|
|
@@ -5,8 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.PromoList = PromoList;
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
const uikit_product_icons_1 = require("@
|
|
9
|
-
const uikit_product_site_rich_text_1 = require("@
|
|
8
|
+
const uikit_product_icons_1 = require("@cloud-ru/uikit-product-icons");
|
|
9
|
+
const uikit_product_site_rich_text_1 = require("@cloud-ru/uikit-product-site-rich-text");
|
|
10
10
|
const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
|
|
11
11
|
function PromoList({ title, items, layoutType }) {
|
|
12
12
|
return ((0, jsx_runtime_1.jsxs)("div", { className: styles_module_scss_1.default.promoList, "data-layout-type": layoutType, children: [(0, jsx_runtime_1.jsx)("div", { className: styles_module_scss_1.default.title, "data-layout-type": layoutType, "data-test-id": 'promo-list__card_title', children: (0, jsx_runtime_1.jsx)(uikit_product_site_rich_text_1.RichText, { richText: title }) }), (0, jsx_runtime_1.jsx)("ul", { className: styles_module_scss_1.default.list, children: items.map(item => ((0, jsx_runtime_1.jsxs)("li", { className: styles_module_scss_1.default.listItem, children: [(0, jsx_runtime_1.jsx)(uikit_product_icons_1.DecorCheckedSVG, { className: styles_module_scss_1.default.listItemIcon }), (0, jsx_runtime_1.jsx)(uikit_product_site_rich_text_1.RichText, { richText: item })] }, item))) })] }));
|
|
@@ -13,7 +13,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.SectionButton = SectionButton;
|
|
15
15
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
const uikit_product_icons_1 = require("@
|
|
16
|
+
const uikit_product_icons_1 = require("@cloud-ru/uikit-product-icons");
|
|
17
17
|
const button_1 = require("@snack-uikit/button");
|
|
18
18
|
const link_1 = require("@snack-uikit/link");
|
|
19
19
|
function SectionButton(button) {
|
|
@@ -18,7 +18,7 @@ exports.SectionCarousel = SectionCarousel;
|
|
|
18
18
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
19
|
const lodash_debounce_1 = __importDefault(require("lodash.debounce"));
|
|
20
20
|
const react_1 = require("react");
|
|
21
|
-
const uikit_product_utils_1 = require("@
|
|
21
|
+
const uikit_product_utils_1 = require("@cloud-ru/uikit-product-utils");
|
|
22
22
|
const carousel_1 = require("@snack-uikit/carousel");
|
|
23
23
|
const components_1 = require("../../components");
|
|
24
24
|
const constants_1 = require("../../constants");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
2
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { CarouselProps } from '@snack-uikit/carousel';
|
|
4
4
|
import { SectionBasicProps } from '../../components';
|
|
5
5
|
import { SectionColor } from '../../types';
|
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.SectionCatalogFooter = SectionCatalogFooter;
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
const uikit_product_icons_1 = require("@
|
|
8
|
+
const uikit_product_icons_1 = require("@cloud-ru/uikit-product-icons");
|
|
9
9
|
const button_1 = require("@snack-uikit/button");
|
|
10
10
|
const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
|
|
11
11
|
function SectionCatalogFooter({ items, layoutType }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WithLayoutType } from '@
|
|
1
|
+
import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { Link, PickLinkProps } from '@snack-uikit/link';
|
|
3
3
|
import { SectionTag, Size } from './types';
|
|
4
4
|
export type SectionTitleProps = WithLayoutType<{
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.SectionTitle = SectionTitle;
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const react_1 = require("react");
|
|
9
|
-
const uikit_product_site_rich_text_1 = require("@
|
|
9
|
+
const uikit_product_site_rich_text_1 = require("@cloud-ru/uikit-product-site-rich-text");
|
|
10
10
|
const link_1 = require("@snack-uikit/link");
|
|
11
11
|
const typography_1 = require("@snack-uikit/typography");
|
|
12
12
|
const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
|
package/dist/cjs/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SiteVideoProps } from '@
|
|
1
|
+
import { SiteVideoProps } from '@cloud-ru/uikit-product-site-media';
|
|
2
2
|
import { ValueOf } from '@snack-uikit/utils';
|
|
3
3
|
import { SECTION_COLORS } from './constants';
|
|
4
4
|
export type SectionColor = ValueOf<typeof SECTION_COLORS>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { SectionColor } from '../../types';
|
|
3
3
|
import { AccordionItem } from './types';
|
|
4
4
|
type AccordionPropsCopy = {
|
|
@@ -10,8 +10,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { RichText } from '@
|
|
14
|
-
import { extractSupportProps } from '@
|
|
13
|
+
import { RichText } from '@cloud-ru/uikit-product-site-rich-text';
|
|
14
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
15
15
|
import { AccordionPrimary } from '@snack-uikit/accordion';
|
|
16
16
|
import { Typography } from '@snack-uikit/typography';
|
|
17
17
|
import { SectionBasic } from '../SectionBasic';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LayoutType } from '@
|
|
1
|
+
import { LayoutType } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { TypographyProps } from '@snack-uikit/typography';
|
|
3
3
|
export declare const getBlockTitleProps: (layoutType: LayoutType) => Pick<TypographyProps, "purpose" | "size">;
|
|
4
4
|
export declare const getBlockDescriptionSize: (layoutType: LayoutType) => TypographyProps["size"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MouseEvent, MouseEventHandler, ReactNode } from 'react';
|
|
2
|
-
import { FieldSelectProps } from '@
|
|
3
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
2
|
+
import { FieldSelectProps } from '@cloud-ru/uikit-product-mobile-fields';
|
|
3
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
4
4
|
import { PaginationProps } from '@snack-uikit/pagination';
|
|
5
5
|
import { SectionTitleProps } from '../../helperComponents';
|
|
6
6
|
import { SectionColor } from '../../types';
|
|
@@ -12,10 +12,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import cn from 'classnames';
|
|
14
14
|
import { useState } from 'react';
|
|
15
|
-
import { useLocale } from '@
|
|
16
|
-
import { AdaptiveFieldSelect } from '@
|
|
17
|
-
import { Layout } from '@
|
|
18
|
-
import { extractSupportProps } from '@
|
|
15
|
+
import { useLocale } from '@cloud-ru/uikit-product-locale';
|
|
16
|
+
import { AdaptiveFieldSelect } from '@cloud-ru/uikit-product-mobile-fields';
|
|
17
|
+
import { Layout } from '@cloud-ru/uikit-product-site-layout';
|
|
18
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
19
19
|
import { ButtonOutline } from '@snack-uikit/button';
|
|
20
20
|
import { Pagination } from '@snack-uikit/pagination';
|
|
21
21
|
import { Tabs } from '@snack-uikit/tabs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GridProps } from '@
|
|
2
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { GridProps } from '@cloud-ru/uikit-product-site-grid';
|
|
2
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { SectionTitleProps } from '../../helperComponents';
|
|
4
4
|
import { SectionButtonProps } from '../../helperComponents/SectionButton/types';
|
|
5
5
|
import { SectionColor } from '../../types';
|
|
@@ -11,9 +11,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useMemo, useState } from 'react';
|
|
14
|
-
import { CardBasic, CardInfo, CardProduct } from '@
|
|
15
|
-
import { Grid } from '@
|
|
16
|
-
import { extractSupportProps } from '@
|
|
14
|
+
import { CardBasic, CardInfo, CardProduct } from '@cloud-ru/uikit-product-site-cards';
|
|
15
|
+
import { Grid } from '@cloud-ru/uikit-product-site-grid';
|
|
16
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
17
17
|
import { Typography } from '@snack-uikit/typography';
|
|
18
18
|
import { SectionButton } from '../../helperComponents';
|
|
19
19
|
import { SectionBasic } from '../SectionBasic';
|
|
@@ -10,7 +10,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { CardInfo } from '@
|
|
13
|
+
import { CardInfo } from '@cloud-ru/uikit-product-site-cards';
|
|
14
14
|
import { Typography } from '@snack-uikit/typography';
|
|
15
15
|
import styles from './styles.module.css';
|
|
16
16
|
export function CardNumeric(_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CardBasicProps, CardInfoProps, CardProductProps } from '@
|
|
1
|
+
import { CardBasicProps, CardInfoProps, CardProductProps } from '@cloud-ru/uikit-product-site-cards';
|
|
2
2
|
import { SectionBasicProps } from '../SectionBasic';
|
|
3
3
|
type CardBasicArray = Omit<CardBasicProps, 'layoutType'>[];
|
|
4
4
|
type CardInfoArray = Omit<CardInfoProps, 'layoutType'>[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { TypographyProps } from '@snack-uikit/typography';
|
|
3
3
|
import { BenefitItemProps } from '../../helperComponents';
|
|
4
4
|
import { BackgroundType } from './types';
|
|
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import cn from 'classnames';
|
|
14
|
-
import { RichText } from '@
|
|
14
|
+
import { RichText } from '@cloud-ru/uikit-product-site-rich-text';
|
|
15
15
|
import { Typography } from '@snack-uikit/typography';
|
|
16
16
|
import { BenefitItem } from '../../helperComponents';
|
|
17
17
|
import { SectionBasic } from '../SectionBasic';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LayoutType } from '@
|
|
1
|
+
import { LayoutType } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { TypographyProps } from '@snack-uikit/typography';
|
|
3
3
|
export declare function getTitleTypographyProps(layoutType: LayoutType): Pick<TypographyProps, 'purpose' | 'size'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CardMediaProps } from '@
|
|
1
|
+
import { CardMediaProps } from '@cloud-ru/uikit-product-site-cards';
|
|
2
2
|
import { LimitedSectionCarouselProps } from '../../helperComponents';
|
|
3
3
|
export type BlogCarouselItem = Omit<CardMediaProps, 'size' | 'layoutType'>;
|
|
4
4
|
export type SectionBlogCarouselProps = Omit<LimitedSectionCarouselProps<BlogCarouselItem>, 'gap' | 'titleLink'>;
|
|
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { useMemo } from 'react';
|
|
14
|
-
import { CardMedia } from '@
|
|
14
|
+
import { CardMedia } from '@cloud-ru/uikit-product-site-cards';
|
|
15
15
|
import { SectionCarousel } from '../../helperComponents';
|
|
16
16
|
import { getCarouselProps } from './utils';
|
|
17
17
|
export function SectionBlogCarousel(_a) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LayoutType } from '@
|
|
1
|
+
import { LayoutType } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { SectionCarouselProps } from '../../helperComponents';
|
|
3
3
|
export declare const getCarouselProps: (layoutType: LayoutType) => Pick<SectionCarouselProps, "itemMinWidth" | "maxItemsPerPage">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CaseCardProps } from '@
|
|
1
|
+
import { CaseCardProps } from '@cloud-ru/uikit-product-site-case-card';
|
|
2
2
|
import { LimitedSectionCarouselProps } from '../../helperComponents';
|
|
3
3
|
export type CaseItem = Omit<CaseCardProps, 'layoutType'>;
|
|
4
4
|
export type SectionCaseCarouselProps = Omit<LimitedSectionCarouselProps<CaseItem>, 'description' | 'gap' | 'titleLink'>;
|
|
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { useMemo } from 'react';
|
|
14
|
-
import { CaseCard } from '@
|
|
14
|
+
import { CaseCard } from '@cloud-ru/uikit-product-site-case-card';
|
|
15
15
|
import { SectionCarousel } from '../../helperComponents';
|
|
16
16
|
import { getCarouselProps } from './utils';
|
|
17
17
|
export function SectionCaseCarousel(_a) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LayoutType } from '@
|
|
1
|
+
import { LayoutType } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { SectionCarouselProps } from '../../helperComponents';
|
|
3
3
|
export declare const getCarouselProps: (layoutType: LayoutType) => Pick<SectionCarouselProps, "itemMinWidth" | "maxItemsPerPage">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CardProductProps } from '@
|
|
2
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { CardProductProps } from '@cloud-ru/uikit-product-site-cards';
|
|
2
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { SectionCatalogFooterProps } from '../../helperComponents';
|
|
4
4
|
import { SectionColor } from '../../types';
|
|
5
5
|
type ProductCategory = {
|
|
@@ -12,9 +12,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import cn from 'classnames';
|
|
14
14
|
import { useUncontrolledProp } from 'uncontrollable';
|
|
15
|
-
import { CardProduct } from '@
|
|
16
|
-
import { Grid } from '@
|
|
17
|
-
import { extractSupportProps } from '@
|
|
15
|
+
import { CardProduct } from '@cloud-ru/uikit-product-site-cards';
|
|
16
|
+
import { Grid } from '@cloud-ru/uikit-product-site-grid';
|
|
17
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
18
18
|
import { Tabs } from '@snack-uikit/tabs';
|
|
19
19
|
import { SectionCatalogFooter } from '../../helperComponents';
|
|
20
20
|
import { SectionBasic } from '../SectionBasic';
|
|
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { useMemo } from 'react';
|
|
14
|
-
import { themeVars } from '@
|
|
14
|
+
import { themeVars } from '@snack-uikit/figma-tokens';
|
|
15
15
|
import { CardClient, SectionCarousel } from '../../helperComponents';
|
|
16
16
|
import { getCarouselProps } from './utils';
|
|
17
17
|
export function SectionClientsCarousel(_a) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LayoutType } from '@
|
|
1
|
+
import { LayoutType } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { SectionCarouselProps } from '../../helperComponents';
|
|
3
3
|
export declare const getCarouselProps: (layoutType: LayoutType) => Pick<SectionCarouselProps, "itemMinWidth" | "maxItemsPerPage">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { ButtonFilledProps } from '@snack-uikit/button';
|
|
3
3
|
import { SectionTitleProps } from '../../helperComponents';
|
|
4
4
|
import { MediaContentProps, SectionColor } from '../../types';
|
|
@@ -11,9 +11,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import cn from 'classnames';
|
|
14
|
-
import { Layout } from '@
|
|
15
|
-
import { SiteVideo } from '@
|
|
16
|
-
import { extractSupportProps } from '@
|
|
14
|
+
import { Layout } from '@cloud-ru/uikit-product-site-layout';
|
|
15
|
+
import { SiteVideo } from '@cloud-ru/uikit-product-site-media';
|
|
16
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
17
17
|
import { ButtonFilled } from '@snack-uikit/button';
|
|
18
18
|
import { SECTION_COLORS } from '../../constants';
|
|
19
19
|
import { SectionTitle } from '../../helperComponents';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { SectionTitleProps } from '../../helperComponents';
|
|
3
3
|
import { MediaContentProps, SectionColor } from '../../types';
|
|
4
4
|
import { SectionBasicProps } from '../SectionBasic';
|
|
@@ -10,8 +10,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { SiteVideo } from '@
|
|
14
|
-
import { extractSupportProps } from '@
|
|
13
|
+
import { SiteVideo } from '@cloud-ru/uikit-product-site-media';
|
|
14
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
15
15
|
import { SectionTitle } from '../../helperComponents';
|
|
16
16
|
import { SectionBasic } from '../SectionBasic';
|
|
17
17
|
import styles from './styles.module.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
2
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { ButtonFilledProps } from '@snack-uikit/button';
|
|
4
4
|
import { MediaContentProps, SectionColor } from '../../types';
|
|
5
5
|
import { SectionBasicProps } from '../SectionBasic';
|
|
@@ -12,9 +12,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import cn from 'classnames';
|
|
14
14
|
import { useUncontrolledProp } from 'uncontrollable';
|
|
15
|
-
import { SiteVideo } from '@
|
|
16
|
-
import { RichText } from '@
|
|
17
|
-
import { extractSupportProps } from '@
|
|
15
|
+
import { SiteVideo } from '@cloud-ru/uikit-product-site-media';
|
|
16
|
+
import { RichText } from '@cloud-ru/uikit-product-site-rich-text';
|
|
17
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
18
18
|
import { ButtonFilled } from '@snack-uikit/button';
|
|
19
19
|
import { Tabs } from '@snack-uikit/tabs';
|
|
20
20
|
import { SectionTitle } from '../../helperComponents';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { CarouselProps } from '@snack-uikit/carousel';
|
|
3
3
|
import { CardLeadingItem } from '../../helperComponents';
|
|
4
4
|
import { SectionBasicProps } from '../SectionBasic';
|
|
@@ -12,7 +12,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import debounce from 'lodash.debounce';
|
|
14
14
|
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
15
|
-
import { extractSupportProps } from '@
|
|
15
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
16
16
|
import { Carousel } from '@snack-uikit/carousel';
|
|
17
17
|
import { Typography } from '@snack-uikit/typography';
|
|
18
18
|
import { CardLeading } from '../../helperComponents';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CardMarketplaceProps } from '@
|
|
1
|
+
import { CardMarketplaceProps } from '@cloud-ru/uikit-product-site-cards';
|
|
2
2
|
import { LimitedSectionCarouselProps } from '../../helperComponents';
|
|
3
3
|
export type SectionMarketplaceCarouselProps = Omit<LimitedSectionCarouselProps<CardMarketplaceProps>, 'gap' | 'titleLink'>;
|
|
4
4
|
export declare function SectionMarketplaceCarousel({ items, ...props }: SectionMarketplaceCarouselProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { useMemo } from 'react';
|
|
14
|
-
import { CardMarketplace } from '@
|
|
14
|
+
import { CardMarketplace } from '@cloud-ru/uikit-product-site-cards';
|
|
15
15
|
import { SectionCarousel } from '../../helperComponents';
|
|
16
16
|
import { getCarouselProps } from './utils';
|
|
17
17
|
export function SectionMarketplaceCarousel(_a) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LayoutType } from '@
|
|
1
|
+
import { LayoutType } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { SectionCarouselProps } from '../../helperComponents';
|
|
3
3
|
export declare const getCarouselProps: (layoutType: LayoutType) => Pick<SectionCarouselProps, "itemMinWidth" | "maxItemsPerPage" | "gap">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { MediaContentProps } from '../../types';
|
|
3
3
|
import { SectionBasicProps } from '../SectionBasic';
|
|
4
4
|
export type SectionMediaProps = WithLayoutType<WithSupportProps<Pick<SectionBasicProps, 'id' | 'title' | 'titleTag' | 'description'> & MediaContentProps>>;
|
|
@@ -10,8 +10,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { SiteVideo } from '@
|
|
14
|
-
import { extractSupportProps } from '@
|
|
13
|
+
import { SiteVideo } from '@cloud-ru/uikit-product-site-media';
|
|
14
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
15
15
|
import { SectionBasic } from '../SectionBasic';
|
|
16
16
|
import styles from './styles.module.css';
|
|
17
17
|
export function SectionMedia(_a) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CardBasicProps } from '@
|
|
2
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { CardBasicProps } from '@cloud-ru/uikit-product-site-cards';
|
|
2
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
export type SectionPersonalManagerProps = WithSupportProps<WithLayoutType<{
|
|
4
4
|
/** id секции */
|
|
5
5
|
id?: string;
|
|
@@ -12,10 +12,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import cn from 'classnames';
|
|
14
14
|
import { useMemo } from 'react';
|
|
15
|
-
import { CloudMoveSVG, HeadphonesSVG, UsersSVG } from '@
|
|
16
|
-
import { useLocale } from '@
|
|
17
|
-
import { CardBasic } from '@
|
|
18
|
-
import { extractSupportProps } from '@
|
|
15
|
+
import { CloudMoveSVG, HeadphonesSVG, UsersSVG } from '@cloud-ru/uikit-product-icons';
|
|
16
|
+
import { useLocale } from '@cloud-ru/uikit-product-locale';
|
|
17
|
+
import { CardBasic } from '@cloud-ru/uikit-product-site-cards';
|
|
18
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
19
19
|
import { ButtonFilled } from '@snack-uikit/button';
|
|
20
20
|
import { Typography } from '@snack-uikit/typography';
|
|
21
21
|
import { SectionBasic } from '../SectionBasic';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LayoutType } from '@
|
|
1
|
+
import { LayoutType } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { TypographyProps } from '@snack-uikit/typography';
|
|
3
3
|
export declare const getCardTitleTypographyProps: (layoutType: LayoutType) => Pick<TypographyProps, "purpose" | "size">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
2
2
|
import { PromoListProps } from '../../helperComponents';
|
|
3
3
|
export type SectionPromoListProps = WithSupportProps<WithLayoutType<{
|
|
4
4
|
/** id секции */
|