@cloud-ru/uikit-product-site-section 0.23.5 → 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 +12 -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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TableProps } from '@
|
|
2
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { TableProps } from '@cloud-ru/uikit-product-site-table';
|
|
2
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
export type SectionTableProps = WithSupportProps<WithLayoutType<{
|
|
4
4
|
/** id секции */
|
|
5
5
|
id?: string;
|
|
@@ -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 { RichText } from '@
|
|
15
|
-
import { Table } from '@
|
|
16
|
-
import { extractSupportProps } from '@
|
|
14
|
+
import { RichText } from '@cloud-ru/uikit-product-site-rich-text';
|
|
15
|
+
import { Table } from '@cloud-ru/uikit-product-site-table';
|
|
16
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
17
17
|
import { SectionBasic } from '../SectionBasic';
|
|
18
18
|
import styles from './styles.module.css';
|
|
19
19
|
export function SectionTable(_a) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { RichText } from '@
|
|
2
|
+
import { RichText } from '@cloud-ru/uikit-product-site-rich-text';
|
|
3
3
|
import { Typography } from '@snack-uikit/typography';
|
|
4
4
|
import styles from './styles.module.css';
|
|
5
5
|
import { getValueTypographyProps, getValueTypographySubtitleProps } from './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;
|
|
@@ -10,7 +10,7 @@ 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 { extractSupportProps } from '@
|
|
13
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
14
14
|
import { Typography } from '@snack-uikit/typography';
|
|
15
15
|
import styles from './styles.module.css';
|
|
16
16
|
import { getLabelTypographyProps, getValueTypographyProps } from './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;
|
|
@@ -11,8 +11,8 @@ 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 { Icon, useCardInteractions } from '@
|
|
15
|
-
import { extractSupportProps } from '@
|
|
14
|
+
import { Icon, useCardInteractions } from '@cloud-ru/uikit-product-site-cards';
|
|
15
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
16
16
|
import { Card } from '@snack-uikit/card';
|
|
17
17
|
import { Typography } from '@snack-uikit/typography';
|
|
18
18
|
import styles from './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"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { DecorCheckedSVG } from '@
|
|
3
|
-
import { RichText } from '@
|
|
2
|
+
import { DecorCheckedSVG } from '@cloud-ru/uikit-product-icons';
|
|
3
|
+
import { RichText } from '@cloud-ru/uikit-product-site-rich-text';
|
|
4
4
|
import styles from './styles.module.css';
|
|
5
5
|
export function PromoList({ title, items, layoutType }) {
|
|
6
6
|
return (_jsxs("div", { className: styles.promoList, "data-layout-type": layoutType, children: [_jsx("div", { className: styles.title, "data-layout-type": layoutType, "data-test-id": 'promo-list__card_title', children: _jsx(RichText, { richText: title }) }), _jsx("ul", { className: styles.list, children: items.map(item => (_jsxs("li", { className: styles.listItem, children: [_jsx(DecorCheckedSVG, { className: styles.listItemIcon }), _jsx(RichText, { richText: item })] }, item))) })] }));
|
|
@@ -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 { ArrowLinksSVG } from '@
|
|
13
|
+
import { ArrowLinksSVG } from '@cloud-ru/uikit-product-icons';
|
|
14
14
|
import { ButtonFilled, ButtonOutline } from '@snack-uikit/button';
|
|
15
15
|
import { Link } from '@snack-uikit/link';
|
|
16
16
|
export function SectionButton(button) {
|
|
@@ -12,7 +12,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
import { jsx as _jsx } 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 { SectionBasic } from '../../components';
|
|
18
18
|
import { SECTION_COLORS } from '../../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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { ChevronRightSVG } from '@
|
|
2
|
+
import { ChevronRightSVG } from '@cloud-ru/uikit-product-icons';
|
|
3
3
|
import { ButtonFunction } from '@snack-uikit/button';
|
|
4
4
|
import styles from './styles.module.css';
|
|
5
5
|
export 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<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
|
-
import { RichText } from '@
|
|
3
|
+
import { RichText } from '@cloud-ru/uikit-product-site-rich-text';
|
|
4
4
|
import { Link } from '@snack-uikit/link';
|
|
5
5
|
import { Typography } from '@snack-uikit/typography';
|
|
6
6
|
import styles from './styles.module.css';
|
package/dist/esm/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>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/uikit-product-site-section",
|
|
3
3
|
"title": "Site Section",
|
|
4
|
-
"version": "0.23.
|
|
4
|
+
"version": "0.23.6",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
7
7
|
"*.woff",
|
|
@@ -30,23 +30,22 @@
|
|
|
30
30
|
"name": "Akhremenko Grigorii",
|
|
31
31
|
"url": "https://github.com/AGrigorii"
|
|
32
32
|
},
|
|
33
|
-
"contributors": [],
|
|
34
33
|
"license": "Apache-2.0",
|
|
35
34
|
"publishConfig": {
|
|
36
35
|
"access": "public"
|
|
37
36
|
},
|
|
38
37
|
"scripts": {},
|
|
39
38
|
"dependencies": {
|
|
40
|
-
"@cloud-ru/uikit-product-icons": "15.1.
|
|
41
|
-
"@cloud-ru/uikit-product-mobile-fields": "0.11.
|
|
42
|
-
"@cloud-ru/uikit-product-site-cards": "0.11.
|
|
43
|
-
"@cloud-ru/uikit-product-site-case-card": "0.4.
|
|
44
|
-
"@cloud-ru/uikit-product-site-grid": "0.1.
|
|
45
|
-
"@cloud-ru/uikit-product-site-layout": "0.2.
|
|
46
|
-
"@cloud-ru/uikit-product-site-media": "0.1.
|
|
47
|
-
"@cloud-ru/uikit-product-site-rich-text": "0.2.
|
|
48
|
-
"@cloud-ru/uikit-product-site-table": "0.2.
|
|
49
|
-
"@cloud-ru/uikit-product-utils": "7.0.
|
|
39
|
+
"@cloud-ru/uikit-product-icons": "15.1.4",
|
|
40
|
+
"@cloud-ru/uikit-product-mobile-fields": "0.11.27",
|
|
41
|
+
"@cloud-ru/uikit-product-site-cards": "0.11.6",
|
|
42
|
+
"@cloud-ru/uikit-product-site-case-card": "0.4.5",
|
|
43
|
+
"@cloud-ru/uikit-product-site-grid": "0.1.6",
|
|
44
|
+
"@cloud-ru/uikit-product-site-layout": "0.2.5",
|
|
45
|
+
"@cloud-ru/uikit-product-site-media": "0.1.35",
|
|
46
|
+
"@cloud-ru/uikit-product-site-rich-text": "0.2.13",
|
|
47
|
+
"@cloud-ru/uikit-product-site-table": "0.2.14",
|
|
48
|
+
"@cloud-ru/uikit-product-utils": "7.0.3",
|
|
50
49
|
"@snack-uikit/accordion": "0.11.0",
|
|
51
50
|
"@snack-uikit/button": "0.19.7",
|
|
52
51
|
"@snack-uikit/card": "0.16.25",
|
|
@@ -65,7 +64,8 @@
|
|
|
65
64
|
"@types/lodash.debounce": "4.0.9"
|
|
66
65
|
},
|
|
67
66
|
"peerDependencies": {
|
|
68
|
-
"@cloud-ru/uikit-product-locale": "*"
|
|
67
|
+
"@cloud-ru/uikit-product-locale": "*",
|
|
68
|
+
"@snack-uikit/figma-tokens": "*"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "ce69097516055b330a0b05da5e29ac5b66e56284"
|
|
71
71
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
2
|
|
|
3
|
-
import { themeVars } from '@
|
|
3
|
+
import { themeVars } from '@snack-uikit/figma-tokens';
|
|
4
4
|
|
|
5
5
|
import { CardClient, CardClientProps, LimitedSectionCarouselProps, SectionCarousel } from '../../helperComponents';
|
|
6
6
|
import { getCarouselProps } from './utils';
|