@redneckz/wildless-cms-uni-blocks 0.2.92 → 0.2.96
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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +165 -112
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/api/LikeAPI.js +1 -0
- package/dist/api/LikeAPI.js.map +1 -1
- package/dist/components/Accordion/AccordionBlocks.d.ts +1 -2
- package/dist/components/Accordion/AccordionBlocks.js +2 -2
- package/dist/components/Accordion/AccordionBlocks.js.map +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +38 -14
- package/dist/components/Accordion/AccordionItem.js +9 -10
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.js +7 -2
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/Blocks.js +1 -1
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +11 -6
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.d.ts +9 -1
- package/dist/components/ContentPage/ContentPage.js +20 -17
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/dist/components/ContentPage/toMobilePage.js +13 -2
- package/dist/components/ContentPage/toMobilePage.js.map +1 -1
- package/dist/components/CreditCalculator/CreditCalculator.js +3 -3
- package/dist/components/CreditCalculator/CreditCalculator.js.map +1 -1
- package/dist/components/Footer/Contacts.js +1 -1
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +1 -2
- package/dist/components/Footer/HorizontalNavigation.js +1 -1
- package/dist/components/Footer/Sitemap.js +1 -1
- package/dist/components/Footer/Sitemap.js.map +1 -1
- package/dist/components/Footer/SocialMedia.js +1 -2
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +1 -1
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.d.ts +2 -0
- package/dist/components/Gallery/GalleryCardInner.js +19 -0
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -0
- package/dist/components/Gallery/GalleryContainer.d.ts +13 -0
- package/dist/components/Gallery/GalleryContainer.js +16 -0
- package/dist/components/Gallery/GalleryContainer.js.map +1 -0
- package/dist/components/Gallery/GalleryContent.d.ts +8 -2
- package/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/dist/components/Gallery/GalleryInner.js +8 -36
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/Gallery/constants.d.ts +6 -0
- package/dist/components/Gallery/constants.js +19 -0
- package/dist/components/Gallery/constants.js.map +1 -0
- package/dist/components/Header/Header.js +3 -3
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +5 -5
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -2
- package/dist/components/MobileBlocks.js +0 -3
- package/dist/components/MobileBlocks.js.map +1 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +1 -3
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.js +3 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +2 -5
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.d.ts +1 -1
- package/dist/components/PromoTile/PromoTile.js +1 -1
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +8 -3
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js +3 -3
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -1
- package/dist/components/TextBlock/TextBlockContent.d.ts +1 -2
- package/dist/components/Tile/Tile.d.ts +1 -1
- package/dist/components/Tile/Tile.js +14 -2
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/content-page-repository/ContentPageRepository.js +1 -0
- package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/dist/hooks/useComparisonTableScroll.d.ts +6 -1
- package/dist/hooks/useComparisonTableScroll.js +1 -1
- package/dist/hooks/useComparisonTableScroll.js.map +1 -1
- package/dist/hooks/useLink.js +1 -1
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/ui-kit/BlockItem/BlockItem.js +4 -4
- package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +2 -2
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +2 -1
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/SearchBar.js +2 -1
- package/dist/ui-kit/SearchBar.js.map +1 -1
- package/lib/api/LikeAPI.js +1 -0
- package/lib/api/LikeAPI.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.fixture.d.ts +1 -4
- package/lib/components/Accordion/AccordionBlocks.d.ts +1 -2
- package/lib/components/Accordion/AccordionBlocks.js +1 -2
- package/lib/components/Accordion/AccordionBlocks.js.map +1 -1
- package/lib/components/Accordion/AccordionContent.d.ts +38 -14
- package/lib/components/Accordion/AccordionItem.js +9 -7
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.js +7 -2
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/Blocks.js +1 -1
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +11 -6
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.d.ts +9 -1
- package/lib/components/ContentPage/ContentPage.js +20 -17
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/lib/components/ContentPage/toMobilePage.js +13 -2
- package/lib/components/ContentPage/toMobilePage.js.map +1 -1
- package/lib/components/CreditCalculator/CreditCalculator.js +3 -3
- package/lib/components/CreditCalculator/CreditCalculator.js.map +1 -1
- package/lib/components/Footer/Contacts.js +1 -1
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +1 -2
- package/lib/components/Footer/HorizontalNavigation.js +1 -1
- package/lib/components/Footer/Sitemap.js +1 -1
- package/lib/components/Footer/Sitemap.js.map +1 -1
- package/lib/components/Footer/SocialMedia.js +1 -2
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Gallery/Gallery.mobile.js +1 -1
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.d.ts +2 -0
- package/lib/components/Gallery/GalleryCardInner.js +17 -0
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -0
- package/lib/components/Gallery/GalleryContainer.d.ts +13 -0
- package/lib/components/Gallery/GalleryContainer.js +14 -0
- package/lib/components/Gallery/GalleryContainer.js.map +1 -0
- package/lib/components/Gallery/GalleryContent.d.ts +8 -2
- package/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/lib/components/Gallery/GalleryInner.js +6 -34
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/Gallery/constants.d.ts +6 -0
- package/lib/components/Gallery/constants.js +17 -0
- package/lib/components/Gallery/constants.js.map +1 -0
- package/lib/components/Header/Header.js +3 -3
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Headline/Headline.fixture.d.ts +3 -2
- package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +7 -7
- package/lib/components/LinkDocs/LinkDocs.js +5 -5
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -2
- package/lib/components/MobileBlocks.js +0 -3
- package/lib/components/MobileBlocks.js.map +1 -1
- package/lib/components/PictureText/PictureText.fixture.d.ts +2 -0
- package/lib/components/PictureText/PictureTextContent.d.ts +1 -3
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.js +3 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +2 -5
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.d.ts +1 -1
- package/lib/components/PromoTile/PromoTile.js +1 -1
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +8 -3
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js +3 -3
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -1
- package/lib/components/TextBlock/TextBlock.fixture.d.ts +2 -0
- package/lib/components/TextBlock/TextBlockContent.d.ts +1 -2
- package/lib/components/Tile/Tile.d.ts +1 -1
- package/lib/components/Tile/Tile.js +14 -2
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/content-page-repository/ContentPageRepository.js +1 -0
- package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/lib/hooks/useComparisonTableScroll.d.ts +6 -1
- package/lib/hooks/useComparisonTableScroll.js +1 -1
- package/lib/hooks/useComparisonTableScroll.js.map +1 -1
- package/lib/hooks/useLink.js +1 -1
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/types.d.ts +8 -0
- package/lib/ui-kit/BlockItem/BlockItem.js +4 -4
- package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +2 -2
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +2 -1
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/SearchBar.js +2 -1
- package/lib/ui-kit/SearchBar.js.map +1 -1
- package/package.json +19 -8
- package/src/api/LikeAPI.ts +1 -0
- package/src/components/Accordion/Accordion.example.json +18 -42
- package/src/components/Accordion/Accordion.fixture.tsx +33 -119
- package/src/components/Accordion/AccordionBlocks.tsx +1 -3
- package/src/components/Accordion/AccordionContent.ts +47 -18
- package/src/components/Accordion/AccordionItem.tsx +14 -10
- package/src/components/BaseTile/BaseTile.tsx +13 -5
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +31 -28
- package/src/components/Blocks.ts +1 -1
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +43 -53
- package/src/components/ComparisonTable/ComparisonTable.tsx +8 -8
- package/src/components/ComparisonTable/HeaderCell.tsx +3 -3
- package/src/components/ContentPage/ContentPage.fixture.tsx +3 -3
- package/src/components/ContentPage/ContentPage.page.json +45 -56
- package/src/components/ContentPage/ContentPage.tsx +71 -36
- package/src/components/ContentPage/ContentPageHead.tsx +1 -1
- package/src/components/ContentPage/toMobilePage.ts +19 -2
- package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +9 -1
- package/src/components/CreditCalculator/CreditCalculator.tsx +12 -9
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +1 -1
- package/src/components/Footer/Contacts.tsx +1 -1
- package/src/components/Footer/Footer.fixture.tsx +265 -258
- package/src/components/Footer/Footer.tsx +3 -3
- package/src/components/Footer/FooterContent.ts +1 -1
- package/src/components/Footer/HorizontalNavigation.tsx +1 -1
- package/src/components/Footer/Sitemap.tsx +1 -1
- package/src/components/Footer/SocialMedia.tsx +5 -6
- package/src/components/Gallery/Gallery.fixture.tsx +52 -48
- package/src/components/Gallery/Gallery.mobile.tsx +1 -3
- package/src/components/Gallery/GalleryCardInner.tsx +53 -0
- package/src/components/Gallery/GalleryContainer.tsx +58 -0
- package/src/components/Gallery/GalleryContent.ts +8 -2
- package/src/components/Gallery/GalleryInner.tsx +15 -93
- package/src/components/Gallery/constants.ts +22 -0
- package/src/components/Header/Header.tsx +14 -12
- package/src/components/Headline/Headline.fixture.tsx +30 -31
- package/src/components/LikeControl/LikeControl.fixture.tsx +5 -1
- package/src/components/LinkDocs/LinkDocs.example.json +26 -0
- package/src/components/LinkDocs/LinkDocs.fixture.tsx +30 -13
- package/src/components/LinkDocs/LinkDocs.tsx +9 -8
- package/src/components/MiniGallery/MiniGallery.fixture.tsx +12 -22
- package/src/components/MiniGallery/MiniGalleryContent.ts +1 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +1 -1
- package/src/components/MobileBlocks.ts +0 -3
- package/src/components/PictureText/PictureText.fixture.tsx +22 -18
- package/src/components/PictureText/PictureTextContent.ts +1 -3
- package/src/components/Placeholder/Placeholder.fixture.tsx +5 -1
- package/src/components/Placeholder/Placeholder.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +83 -76
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +1 -0
- package/src/components/ProductBlock/ProductBlock.tsx +3 -1
- package/src/components/ProductBlock/ProductBlockInner.tsx +9 -12
- package/src/components/ProductGallery/ProductGallery.example.json +1 -1
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +103 -106
- package/src/components/ProductGallery/ProductGallery.tsx +7 -5
- package/src/components/ProductTile/ProductTile.fixture.tsx +4 -4
- package/src/components/PromoTile/PromoTile.fixture.tsx +1 -1
- package/src/components/PromoTile/PromoTile.tsx +3 -3
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +21 -18
- package/src/components/TariffsTable/TariffsTable.example.json +3 -1
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +8 -16
- package/src/components/TariffsTable/TariffsTable.tsx +39 -37
- package/src/components/TariffsTable/TariffsTableCell.tsx +4 -4
- package/src/components/TariffsTable/TariffsTableContent.ts +5 -1
- package/src/components/TextBlock/TextBlock.example.json +9 -2
- package/src/components/TextBlock/TextBlock.fixture.tsx +70 -97
- package/src/components/TextBlock/TextBlockContent.ts +1 -2
- package/src/components/Tile/Tile.example.json +5 -2
- package/src/components/Tile/Tile.fixture.tsx +11 -8
- package/src/components/Tile/Tile.tsx +16 -5
- package/src/content-page-repository/ContentPageRepository.ts +1 -0
- package/src/hooks/useComparisonTableScroll.ts +11 -6
- package/src/hooks/useLink.ts +1 -1
- package/src/setup-fixture.ts +1 -2
- package/src/types.ts +11 -1
- package/src/ui-kit/BlockItem/BlockItem.tsx +4 -4
- package/src/ui-kit/Checkbox/Checkbox.tsx +7 -3
- package/src/ui-kit/InputRange/InputRange.tsx +9 -8
- package/src/ui-kit/SearchBar.tsx +15 -6
- package/src/Icons/CalendarCircleIcon.svg +0 -14
- package/src/Icons/CardIcon.svg +0 -11
- package/src/Icons/CardPosIcon.svg +0 -12
- package/src/Icons/CardTickIcon.svg +0 -13
- package/src/Icons/EmptyWalletChangeIcon.svg +0 -21
- package/src/Icons/JCBIcon.svg +0 -42
- package/src/Icons/MastercardIcon.svg +0 -6
- package/src/Icons/MinusIcon.svg +0 -1
- package/src/Icons/MirIcon.svg +0 -13
- package/src/Icons/MoneyIcon.svg +0 -13
- package/src/Icons/MonitorMobileIcon.svg +0 -14
- package/src/Icons/PlusIcon.svg +0 -1
- package/src/Icons/Profile2UserIcon.svg +0 -14
- package/src/Icons/ShieldTickIcon.svg +0 -7
- package/src/Icons/UnionPayIcon.svg +0 -7
- package/src/Icons/UserIcon.svg +0 -11
- package/src/Icons/VisaIcon.svg +0 -7
- package/src/Icons/WalletIcon.svg +0 -19
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { Picture } from '../../model/Picture';
|
|
1
2
|
import { context } from '../../setup-fixture';
|
|
2
3
|
import { TextBlock } from './TextBlock';
|
|
3
|
-
import
|
|
4
|
+
import { TextBlockContent } from './TextBlockContent';
|
|
4
5
|
|
|
5
6
|
const image: Picture = {
|
|
6
7
|
src: 'bank-card.png',
|
|
@@ -11,105 +12,77 @@ const image: Picture = {
|
|
|
11
12
|
},
|
|
12
13
|
};
|
|
13
14
|
|
|
15
|
+
export const TEXT_BLOCK: TextBlockContent = {
|
|
16
|
+
title: 'Все карты Россельхозбанка работают',
|
|
17
|
+
description:
|
|
18
|
+
"Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка",
|
|
19
|
+
};
|
|
20
|
+
|
|
14
21
|
export default (
|
|
15
|
-
<div className="
|
|
16
|
-
<div>
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
<
|
|
20
|
-
context={context}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
44
|
-
blockVersion="primary"
|
|
45
|
-
iconVersion="small"
|
|
46
|
-
/>
|
|
47
|
-
<TextBlock
|
|
48
|
-
context={context}
|
|
49
|
-
title="Все карты Россельхозбанка работают"
|
|
50
|
-
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
51
|
-
blockVersion="secondary"
|
|
52
|
-
iconVersion="small"
|
|
53
|
-
/>
|
|
54
|
-
<TextBlock
|
|
55
|
-
context={context}
|
|
56
|
-
title="Все карты Россельхозбанка работают"
|
|
57
|
-
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
58
|
-
blockVersion="secondary-light"
|
|
59
|
-
iconVersion="small"
|
|
60
|
-
/>
|
|
22
|
+
<div className="container grid grid-cols-12">
|
|
23
|
+
<div className="font-sans overflow-hidden col-span-12">
|
|
24
|
+
<div>
|
|
25
|
+
<p>Private clients</p>
|
|
26
|
+
<div className="flex flex-col gap-6" data-theme="pc">
|
|
27
|
+
<TextBlock context={context} {...TEXT_BLOCK} blockVersion="primary" iconVersion="small" />
|
|
28
|
+
<TextBlock
|
|
29
|
+
context={context}
|
|
30
|
+
{...TEXT_BLOCK}
|
|
31
|
+
blockVersion="primary"
|
|
32
|
+
iconVersion="big"
|
|
33
|
+
image={image}
|
|
34
|
+
/>
|
|
35
|
+
<TextBlock context={context} {...TEXT_BLOCK} blockVersion="primary" iconVersion="none" />
|
|
36
|
+
<TextBlock context={context} {...TEXT_BLOCK} blockVersion="primary" iconVersion="small" />
|
|
37
|
+
<TextBlock
|
|
38
|
+
context={context}
|
|
39
|
+
{...TEXT_BLOCK}
|
|
40
|
+
blockVersion="secondary"
|
|
41
|
+
iconVersion="small"
|
|
42
|
+
/>
|
|
43
|
+
<TextBlock
|
|
44
|
+
context={context}
|
|
45
|
+
{...TEXT_BLOCK}
|
|
46
|
+
blockVersion="secondary-light"
|
|
47
|
+
iconVersion="small"
|
|
48
|
+
/>
|
|
49
|
+
</div>
|
|
61
50
|
</div>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
/>
|
|
80
|
-
<TextBlock
|
|
81
|
-
context={context}
|
|
82
|
-
title="Все карты Россельхозбанка работают"
|
|
83
|
-
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
84
|
-
blockVersion="secondary-light"
|
|
85
|
-
iconVersion="small"
|
|
86
|
-
/>
|
|
51
|
+
<div>
|
|
52
|
+
<p>Business clients</p>
|
|
53
|
+
<div className="flex flex-col gap-6" data-theme="bc">
|
|
54
|
+
<TextBlock context={context} {...TEXT_BLOCK} blockVersion="primary" iconVersion="small" />
|
|
55
|
+
<TextBlock
|
|
56
|
+
context={context}
|
|
57
|
+
{...TEXT_BLOCK}
|
|
58
|
+
blockVersion="secondary"
|
|
59
|
+
iconVersion="small"
|
|
60
|
+
/>
|
|
61
|
+
<TextBlock
|
|
62
|
+
context={context}
|
|
63
|
+
{...TEXT_BLOCK}
|
|
64
|
+
blockVersion="secondary-light"
|
|
65
|
+
iconVersion="small"
|
|
66
|
+
/>
|
|
67
|
+
</div>
|
|
87
68
|
</div>
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
/>
|
|
106
|
-
<TextBlock
|
|
107
|
-
context={context}
|
|
108
|
-
title="Все карты Россельхозбанка работают"
|
|
109
|
-
description="Если не планируете поездку за границу, продолжайте пользоваться картой Своя. Для поездок за границу можно заказать карту 'Кредитная карта Своя Union Pay' на сайте и в приложении Россельхозбанка"
|
|
110
|
-
blockVersion="secondary-light"
|
|
111
|
-
iconVersion="small"
|
|
112
|
-
/>
|
|
69
|
+
<div>
|
|
70
|
+
<p>Ecosystem own</p>
|
|
71
|
+
<div className="flex flex-col gap-6" data-theme="eo">
|
|
72
|
+
<TextBlock context={context} {...TEXT_BLOCK} blockVersion="primary" iconVersion="small" />
|
|
73
|
+
<TextBlock
|
|
74
|
+
context={context}
|
|
75
|
+
{...TEXT_BLOCK}
|
|
76
|
+
blockVersion="secondary"
|
|
77
|
+
iconVersion="small"
|
|
78
|
+
/>
|
|
79
|
+
<TextBlock
|
|
80
|
+
context={context}
|
|
81
|
+
{...TEXT_BLOCK}
|
|
82
|
+
blockVersion="secondary-light"
|
|
83
|
+
iconVersion="small"
|
|
84
|
+
/>
|
|
85
|
+
</div>
|
|
113
86
|
</div>
|
|
114
87
|
</div>
|
|
115
88
|
</div>
|
|
@@ -18,9 +18,8 @@ export type TextBlockIconVersion = 'none' | 'small' | 'big';
|
|
|
18
18
|
export interface TextBlockContent {
|
|
19
19
|
/** @title Заголовок */
|
|
20
20
|
title?: string;
|
|
21
|
-
/** @title Описание */
|
|
22
21
|
description?: string;
|
|
23
|
-
blockVersion?: TextBlockVersion;
|
|
24
22
|
iconVersion?: TextBlockIconVersion;
|
|
25
23
|
image?: Picture;
|
|
24
|
+
blockVersion?: TextBlockVersion;
|
|
26
25
|
}
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"format": "webp",
|
|
7
7
|
"size": {
|
|
8
8
|
"width": 300
|
|
9
|
-
}
|
|
9
|
+
},
|
|
10
|
+
"alt": "Описание картинки",
|
|
11
|
+
"title": "Подсказка"
|
|
10
12
|
},
|
|
11
13
|
"items": ["Пункт 1", "Пункт 2", "Пункт 3"],
|
|
12
14
|
"buttons": [
|
|
@@ -14,5 +16,6 @@
|
|
|
14
16
|
"text": "Подробнее",
|
|
15
17
|
"version": "primary"
|
|
16
18
|
}
|
|
17
|
-
]
|
|
19
|
+
],
|
|
20
|
+
"version": "primary"
|
|
18
21
|
}
|
|
@@ -25,7 +25,7 @@ const image4: Picture = {
|
|
|
25
25
|
|
|
26
26
|
export default {
|
|
27
27
|
credit: (
|
|
28
|
-
<div className="grid grid-cols-12">
|
|
28
|
+
<div className="container grid grid-cols-12">
|
|
29
29
|
<Tile
|
|
30
30
|
context={context}
|
|
31
31
|
className="col-span-8"
|
|
@@ -47,15 +47,18 @@ export default {
|
|
|
47
47
|
</div>
|
|
48
48
|
),
|
|
49
49
|
mortgage: (
|
|
50
|
-
<div className="grid grid-cols-12">
|
|
50
|
+
<div className="container grid grid-cols-12">
|
|
51
51
|
<Tile
|
|
52
52
|
context={context}
|
|
53
53
|
version="secondary"
|
|
54
54
|
className="col-span-4"
|
|
55
55
|
title="Ипотека"
|
|
56
|
-
|
|
57
|
-
'
|
|
58
|
-
|
|
56
|
+
items={[
|
|
57
|
+
'Качественные фермерские продукты напрямую от производителей',
|
|
58
|
+
'Самая большая база сельских туров по России',
|
|
59
|
+
'Площадки для создания комфортной жизни за городом',
|
|
60
|
+
'Подробная база вакансий для жителей сельской местности',
|
|
61
|
+
]}
|
|
59
62
|
buttons={[
|
|
60
63
|
{
|
|
61
64
|
href: 'https://rshb.ru',
|
|
@@ -68,7 +71,7 @@ export default {
|
|
|
68
71
|
</div>
|
|
69
72
|
),
|
|
70
73
|
'credit-card': (
|
|
71
|
-
<div className="grid grid-cols-12">
|
|
74
|
+
<div className="container grid grid-cols-12">
|
|
72
75
|
<Tile
|
|
73
76
|
context={context}
|
|
74
77
|
className="col-span-6"
|
|
@@ -87,7 +90,7 @@ export default {
|
|
|
87
90
|
</div>
|
|
88
91
|
),
|
|
89
92
|
premium: (
|
|
90
|
-
<div className="grid grid-cols-12">
|
|
93
|
+
<div className="container grid grid-cols-12">
|
|
91
94
|
<Tile
|
|
92
95
|
context={context}
|
|
93
96
|
className="col-span-6"
|
|
@@ -108,7 +111,7 @@ export default {
|
|
|
108
111
|
</div>
|
|
109
112
|
),
|
|
110
113
|
ecosystem: (
|
|
111
|
-
<div className="grid grid-cols-12">
|
|
114
|
+
<div className="container grid grid-cols-12">
|
|
112
115
|
<Tile
|
|
113
116
|
context={context}
|
|
114
117
|
className="col-span-12 pr-28"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { BaseTile } from '../BaseTile/BaseTile';
|
|
3
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
4
|
-
import type { TileContent } from '../Tile/TileContent';
|
|
5
3
|
import type { UniBlockProps } from '../../types';
|
|
6
4
|
import { getColSpan } from '../../utils/getColSpan';
|
|
5
|
+
import { BaseTile } from '../BaseTile/BaseTile';
|
|
6
|
+
import type { TileContent } from '../Tile/TileContent';
|
|
7
7
|
|
|
8
8
|
export interface TileProps extends TileContent, UniBlockProps {}
|
|
9
9
|
|
|
@@ -17,16 +17,16 @@ export const Tile = JSX<TileProps>((props) => {
|
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
19
|
<section
|
|
20
|
-
className={`font-sans p-9
|
|
20
|
+
className={`font-sans p-9 box-border ${className || ''} ${
|
|
21
21
|
tileStyleMap[version]
|
|
22
|
-
} ${getContainerPaddingRight(className)} `}
|
|
22
|
+
} ${getContainerPaddingRight(className)} ${getContainerMinHeight(className)} `}
|
|
23
23
|
>
|
|
24
24
|
<BaseTile {...props}>{children}</BaseTile>
|
|
25
25
|
</section>
|
|
26
26
|
);
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
function getContainerPaddingRight(className
|
|
29
|
+
function getContainerPaddingRight(className = '') {
|
|
30
30
|
const colSpan = getColSpan(className);
|
|
31
31
|
if (colSpan <= 6) {
|
|
32
32
|
return 'pr-9';
|
|
@@ -36,3 +36,14 @@ function getContainerPaddingRight(className: string = '') {
|
|
|
36
36
|
return 'pr-[9.4rem]';
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
+
|
|
40
|
+
function getContainerMinHeight(className = '') {
|
|
41
|
+
const colSpan = getColSpan(className);
|
|
42
|
+
if (colSpan <= 6) {
|
|
43
|
+
return 'min-h-[300px]';
|
|
44
|
+
} else if (colSpan <= 8) {
|
|
45
|
+
return 'min-h-[320px]';
|
|
46
|
+
} else {
|
|
47
|
+
return 'min-h-[360px]';
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -8,6 +8,7 @@ import { transformContentPage } from './transformContentPage';
|
|
|
8
8
|
const INDEX_PAGE_SLUG = 'index';
|
|
9
9
|
const find = util.promisify(glob);
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line max-lines-per-function
|
|
11
12
|
export function ContentPageRepository({
|
|
12
13
|
contentDir = 'content',
|
|
13
14
|
publicDir = 'public',
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
export const useComparisonTableScroll = <
|
|
2
|
-
colData
|
|
3
|
-
colsLengthForScroll
|
|
4
|
-
activeCardIndex
|
|
5
|
-
setActiveCardIndex
|
|
6
|
-
|
|
1
|
+
export const useComparisonTableScroll = <ColData>({
|
|
2
|
+
colData,
|
|
3
|
+
colsLengthForScroll,
|
|
4
|
+
activeCardIndex,
|
|
5
|
+
setActiveCardIndex,
|
|
6
|
+
}: {
|
|
7
|
+
colData: ColData[];
|
|
8
|
+
colsLengthForScroll: number;
|
|
9
|
+
activeCardIndex: number;
|
|
10
|
+
setActiveCardIndex: (_: number) => void;
|
|
11
|
+
}) => {
|
|
7
12
|
const nextClick = () => setActiveCardIndex(activeCardIndex + 1);
|
|
8
13
|
const prevClick = () => setActiveCardIndex(activeCardIndex - 1);
|
|
9
14
|
|
package/src/hooks/useLink.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { HandlerDecorator, Router } from '../components/ContentPage/ContentPageC
|
|
|
2
2
|
import type { LinkProps } from '../model/LinkProps';
|
|
3
3
|
import { adjustHref, isURL } from '../utils/url';
|
|
4
4
|
|
|
5
|
-
const defaultHandlerDecorator: HandlerDecorator = (handler
|
|
5
|
+
const defaultHandlerDecorator: HandlerDecorator = (handler) => handler;
|
|
6
6
|
|
|
7
7
|
export function useLink(
|
|
8
8
|
{
|
package/src/setup-fixture.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { setup } from '@redneckz/uni-jsx';
|
|
2
2
|
|
|
3
|
-
import runtime from 'react/jsx-runtime';
|
|
4
3
|
import { useEffect, useState } from 'react';
|
|
4
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
5
|
import { DaDataAPI } from './api/DaDataAPI';
|
|
6
6
|
import type { ContentPageContext } from './components/ContentPage/ContentPageContext';
|
|
7
7
|
|
|
8
|
-
const { jsx, jsxs } = runtime as any;
|
|
9
8
|
setup(jsx, jsxs);
|
|
10
9
|
|
|
11
10
|
const TEST_ORIGIN = 'http://localhost:5001';
|
package/src/types.ts
CHANGED
|
@@ -15,6 +15,15 @@ export interface BlockDef {
|
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
export interface Slot {
|
|
19
|
+
style?: string[];
|
|
20
|
+
blocks?: BlockDef[];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface SlotsMap {
|
|
24
|
+
header?: Slot;
|
|
25
|
+
}
|
|
26
|
+
|
|
18
27
|
export interface ContentPageMeta {
|
|
19
28
|
title: string;
|
|
20
29
|
slug: string;
|
|
@@ -26,7 +35,8 @@ export interface ContentPageMeta {
|
|
|
26
35
|
|
|
27
36
|
export interface ContentPageDef extends ContentPageMeta {
|
|
28
37
|
style?: string[];
|
|
29
|
-
blocks?: BlockDef[];
|
|
38
|
+
blocks?: BlockDef[]; //! for compatibility
|
|
39
|
+
slots?: SlotsMap;
|
|
30
40
|
likeControl?: boolean;
|
|
31
41
|
colorPalette?: ColorPalette;
|
|
32
42
|
}
|
|
@@ -2,13 +2,13 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { BlockItemProps, BlockItemVersion } from './BlockItemProps';
|
|
3
3
|
|
|
4
4
|
const listStyleMap: Record<BlockItemVersion, string> = {
|
|
5
|
-
primary: 'bg-
|
|
6
|
-
secondary: 'bg-
|
|
5
|
+
primary: 'bg-secondary-text w-[6px] h-[6px] min-w-[6px] min-h-[6px] mt-2.5 rounded-full',
|
|
6
|
+
secondary: 'bg-white w-[6px] h-[6px] min-w-[6px] min-h-[6px] mt-2.5 rounded-full',
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
const textStyleMap: Record<BlockItemVersion, string> = {
|
|
10
|
-
primary: 'text-
|
|
11
|
-
secondary: '
|
|
10
|
+
primary: 'text-secondary-text',
|
|
11
|
+
secondary: '',
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export const BlockItem = JSX<BlockItemProps>(
|
|
@@ -15,7 +15,9 @@ export const Checkbox = JSX<CheckboxProps>(({ text, checked, onChange, className
|
|
|
15
15
|
<div className={className}>
|
|
16
16
|
<label className="flex items-center cursor-pointer relative">
|
|
17
17
|
<input
|
|
18
|
-
className={`peer appearance-none w-5 h-5 border-solid border
|
|
18
|
+
className={`peer appearance-none w-5 h-5 border-solid border ${
|
|
19
|
+
checked ? 'border-black' : 'border-main-stroke'
|
|
20
|
+
} rounded checked:bg-primary-main checked:border-primary-main m-0`}
|
|
19
21
|
type="checkbox"
|
|
20
22
|
onChange={(e) => {
|
|
21
23
|
onChange(e.target.checked);
|
|
@@ -24,13 +26,15 @@ export const Checkbox = JSX<CheckboxProps>(({ text, checked, onChange, className
|
|
|
24
26
|
/>
|
|
25
27
|
<SVG
|
|
26
28
|
paths={CHECK_PATHS}
|
|
27
|
-
className="hidden absolute left-
|
|
29
|
+
className="hidden absolute left-1 ml-px peer-checked:block"
|
|
28
30
|
width="11"
|
|
29
31
|
height="9"
|
|
30
32
|
fill="white"
|
|
31
33
|
viewBox="0 0 11 9"
|
|
32
34
|
/>
|
|
33
|
-
{text ?
|
|
35
|
+
{text ? (
|
|
36
|
+
<span className="font-sans ml-3 text-sm leading-5 cursor-pointer">{text}</span>
|
|
37
|
+
) : null}
|
|
34
38
|
</label>
|
|
35
39
|
</div>
|
|
36
40
|
));
|
|
@@ -24,21 +24,22 @@ export const InputRange = JSX<InputRangeProps>(
|
|
|
24
24
|
|
|
25
25
|
return (
|
|
26
26
|
<div className={className}>
|
|
27
|
-
<
|
|
27
|
+
<label className="block relative">
|
|
28
28
|
{title ? (
|
|
29
29
|
<span className="absolute text-xs text-secondary-text top-1 mt-0.5 pl-4 ml-0.5">
|
|
30
30
|
{title}
|
|
31
31
|
</span>
|
|
32
32
|
) : null}
|
|
33
33
|
<input
|
|
34
|
-
className={`m-0 font-sans text-sm w-full h-12 border
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
className={`m-0 font-sans text-sm w-full h-12 border border-solid border-main-stroke rounded-md
|
|
35
|
+
outline-none p-0 pl-4 m-0 box-border text-primary-text ${
|
|
36
|
+
title ? 'pt-4' : ''
|
|
37
|
+
}`}
|
|
37
38
|
value={addSpacesBetweenNumbers(value)}
|
|
38
39
|
onChange={(e) => handleChange(e.target.value)}
|
|
39
40
|
onBlur={handleBlur}
|
|
40
41
|
/>
|
|
41
|
-
<div className="absolute inset-x-0
|
|
42
|
+
<div className="absolute inset-x-0 top-8 px-4">
|
|
42
43
|
<input
|
|
43
44
|
className="box-border w-full m-0 cursor-pointer slider"
|
|
44
45
|
type="range"
|
|
@@ -50,10 +51,10 @@ export const InputRange = JSX<InputRangeProps>(
|
|
|
50
51
|
style={inputStyle}
|
|
51
52
|
/>
|
|
52
53
|
</div>
|
|
53
|
-
</
|
|
54
|
-
<div className="flex justify-between
|
|
54
|
+
</label>
|
|
55
|
+
<div className="flex justify-between my-3">
|
|
55
56
|
{items.map((item, i) => (
|
|
56
|
-
<span key={String(i)} className="text-xs text-secondary-text pl-4">
|
|
57
|
+
<span key={String(i)} className="text-xs leading-[14px] text-secondary-text pl-4">
|
|
57
58
|
{item}
|
|
58
59
|
</span>
|
|
59
60
|
))}
|
package/src/ui-kit/SearchBar.tsx
CHANGED
|
@@ -4,6 +4,7 @@ import { Icon } from './Icon/Icon';
|
|
|
4
4
|
|
|
5
5
|
export const SearchBar = JSX<UniBlockProps>(({ className, context }) => {
|
|
6
6
|
const { term, setTerm } = context.useSearch();
|
|
7
|
+
const [inputHasFocus, setInputHasFocus] = context.useState<boolean>(false);
|
|
7
8
|
return (
|
|
8
9
|
<form className={`relative ${className || ''}`}>
|
|
9
10
|
<div className="absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none">
|
|
@@ -11,22 +12,30 @@ export const SearchBar = JSX<UniBlockProps>(({ className, context }) => {
|
|
|
11
12
|
<Icon name="LoupeIcon" width="24" height="24" />
|
|
12
13
|
</div>
|
|
13
14
|
{!term && (
|
|
14
|
-
<
|
|
15
|
+
<label
|
|
16
|
+
htmlFor="search-bar-input"
|
|
17
|
+
className="font-sans font-normal text-base text-secondary-text"
|
|
18
|
+
>
|
|
15
19
|
Поиск по сайту
|
|
16
|
-
</
|
|
20
|
+
</label>
|
|
17
21
|
)}
|
|
18
22
|
</div>
|
|
19
23
|
<input
|
|
20
|
-
|
|
24
|
+
id="search-bar-input"
|
|
25
|
+
className={`${
|
|
26
|
+
inputHasFocus ? 'border-primary-text' : 'border-main-divider'
|
|
27
|
+
} h-12 pl-12 w-full font-sans font-normal text-base text-black border border-solid rounded h-full box-border outline-none pr-[6%]`}
|
|
21
28
|
value={term}
|
|
22
29
|
onChange={(e) => setTerm(e.target.value)}
|
|
30
|
+
onFocus={(e) => setInputHasFocus(true)}
|
|
31
|
+
onBlur={(e) => setInputHasFocus(false)}
|
|
23
32
|
type="text"
|
|
24
|
-
name="
|
|
33
|
+
name="search-bar-input"
|
|
25
34
|
/>
|
|
26
|
-
{
|
|
35
|
+
{inputHasFocus && (
|
|
27
36
|
<button
|
|
28
37
|
type="submit"
|
|
29
|
-
className="absolute font-sans font-normal text-sm
|
|
38
|
+
className="absolute font-sans font-normal cursor-pointer text-sm bg-primary-main hover:bg-primary-hover active:bg-primary-active border-none px-9 py-[9px] rounded top-1 right-1 outline-none text-secondary-text text-white"
|
|
30
39
|
onClick={(e) => {
|
|
31
40
|
e.preventDefault();
|
|
32
41
|
console.log('click');
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<svg id="icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M9.88965 5.83008V7.83008" stroke="#42AB44" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"
|
|
3
|
-
stroke-linejoin="round"/>
|
|
4
|
-
<path d="M14.1104 5.83008V7.83008" stroke="#42AB44" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"
|
|
5
|
-
stroke-linejoin="round"/>
|
|
6
|
-
<path d="M7.53027 10.1401H16.4703" stroke="#42AB44" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"
|
|
7
|
-
stroke-linejoin="round"/>
|
|
8
|
-
<path
|
|
9
|
-
d="M13.5 17.6699H10.5C8 17.6699 6.5 15.8699 6.5 13.6699V10.6699C6.5 8.46992 8 6.66992 10.5 6.66992H13.5C16 6.66992 17.5 8.46992 17.5 10.6699V13.6699C17.5 15.8699 16 17.6699 13.5 17.6699Z"
|
|
10
|
-
stroke="#42AB44" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
-
<path
|
|
12
|
-
d="M4 6C2.75 7.67 2 9.75 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2C10.57 2 9.2 2.30001 7.97 2.85001"
|
|
13
|
-
stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
14
|
-
</svg>
|
package/src/Icons/CardIcon.svg
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<svg id="icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M2 8.5H22" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"
|
|
3
|
-
stroke-linejoin="round"/>
|
|
4
|
-
<path d="M6 16.5H8" stroke="#42AB44" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"
|
|
5
|
-
stroke-linejoin="round"/>
|
|
6
|
-
<path d="M10.5 16.5H14.5" stroke="#42AB44" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"
|
|
7
|
-
stroke-linejoin="round"/>
|
|
8
|
-
<path
|
|
9
|
-
d="M22 14.99V16.11C22 19.62 21.11 20.5 17.56 20.5H6.44C2.89 20.5 2 19.62 2 16.11V7.89C2 4.38 2.89 3.5 6.44 3.5H17.55C21.11 3.5 22 4.38 22 7.89V10.98"
|
|
10
|
-
stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
-
</svg>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<svg id="icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M3.92969 15.8802L15.8797 3.93018" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10"
|
|
3
|
-
stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
<path d="M11.0996 18.2801L12.2996 17.0801" stroke="#42AB44" stroke-width="2" stroke-miterlimit="10"
|
|
5
|
-
stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
-
<path d="M13.79 15.5902L16.18 13.2002" stroke="#42AB44" stroke-width="2" stroke-miterlimit="10"
|
|
7
|
-
stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
-
<path
|
|
9
|
-
d="M20.4305 8.47998C22.5305 10.58 22.5205 11.64 20.4005 13.76L13.7605 20.4C11.6405 22.52 10.5805 22.53 8.48046 20.43L3.57047 15.52C1.47047 13.42 1.48047 12.36 3.60047 10.24L10.2405 3.59998C12.3605 1.47998 13.4205 1.46998 15.5205 3.56998L17.4205 5.46998"
|
|
10
|
-
stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
-
<path d="M2 22H22" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
-
</svg>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<svg id="icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M2 8.5H13.5" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"
|
|
3
|
-
stroke-linejoin="round"/>
|
|
4
|
-
<path d="M6 16.5H8" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"
|
|
5
|
-
stroke-linejoin="round"/>
|
|
6
|
-
<path d="M10.5 16.5H14.5" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"
|
|
7
|
-
stroke-linejoin="round"/>
|
|
8
|
-
<path d="M2 11.01V7.89C2 4.38 2.89 3.5 6.44 3.5H13.5" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round"
|
|
9
|
-
stroke-linejoin="round"/>
|
|
10
|
-
<path d="M22 11.0298V16.1098C22 19.6198 21.11 20.4998 17.56 20.4998H6.44C2.89 20.4998 2 19.6198 2 16.1098V15.0098"
|
|
11
|
-
stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
-
<path d="M16.5 6L18 7.5L22 3.5" stroke="#42AB44" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
13
|
-
</svg>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<svg id="icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path
|
|
3
|
-
d="M2.5 13.24V11.51C2.5 9.44001 4.18999 7.75 6.25999 7.75H17.74C19.81 7.75 21.5 9.44001 21.5 11.51V12.95H19.48C18.92 12.95 18.41 13.17 18.04 13.55C17.62 13.96 17.38 14.55 17.44 15.18C17.53 16.26 18.52 17.05 19.6 17.05H21.5V18.24C21.5 20.31 19.81 22 17.74 22H12.26"
|
|
4
|
-
stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
<path
|
|
6
|
-
d="M22.5598 13.9702V16.0302C22.5598 16.5802 22.1198 17.0302 21.5598 17.0502H19.5998C18.5198 17.0502 17.5298 16.2602 17.4398 15.1802C17.3798 14.5502 17.6198 13.9602 18.0398 13.5502C18.4098 13.1702 18.9198 12.9502 19.4798 12.9502H21.5598C22.1198 12.9702 22.5598 13.4202 22.5598 13.9702Z"
|
|
7
|
-
stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
-
<path d="M7 12H14" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
-
<path d="M3 16.5H8.34C8.98 16.5 9.5 17.02 9.5 17.66V18.94" stroke="#42AB44" stroke-width="2" stroke-miterlimit="10"
|
|
10
|
-
stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
-
<path d="M4.22 15.2803L3 16.5002L4.22 17.7202" stroke="#42AB44" stroke-width="2" stroke-miterlimit="10"
|
|
12
|
-
stroke-linecap="round" stroke-linejoin="round"/>
|
|
13
|
-
<path d="M9.5 21.7803H4.16C3.52 21.7803 3 21.2603 3 20.6203V19.3403" stroke="#42AB44" stroke-width="2"
|
|
14
|
-
stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
15
|
-
<path d="M8.28027 23.0001L9.50027 21.7801L8.28027 20.5601" stroke="#42AB44" stroke-width="2" stroke-miterlimit="10"
|
|
16
|
-
stroke-linecap="round" stroke-linejoin="round"/>
|
|
17
|
-
<path d="M12.2803 2.16982C13.5203 1.69982 14.8503 2.61985 14.8503 3.94985V7.74983" stroke="#1C1C1C" stroke-width="2"
|
|
18
|
-
stroke-linecap="round" stroke-linejoin="round"/>
|
|
19
|
-
<path d="M2.5 12.4099V7.83997C2.5 6.64997 3.23 5.58992 4.34 5.16992L8.31 3.66992" stroke="#1C1C1C" stroke-width="2"
|
|
20
|
-
stroke-linecap="round" stroke-linejoin="round"/>
|
|
21
|
-
</svg>
|