@redneckz/wildless-cms-uni-blocks 0.8.24 → 0.8.25
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 +159 -178
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Headline/HeadlineContent.d.ts +2 -0
- package/bundle/components/RollupItem/RollupItem.mobile.d.ts +5 -0
- package/dist/components/Accordion/Accordion.js +2 -3
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.mobile.js +2 -3
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.js +0 -4
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +4 -2
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +3 -3
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +2 -3
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Headline/Headline.js +3 -2
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +2 -0
- package/dist/components/RollupItem/RollupItem.js +9 -4
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.mobile.d.ts +5 -0
- package/dist/components/RollupItem/RollupItem.mobile.js +33 -0
- package/dist/components/RollupItem/RollupItem.mobile.js.map +1 -0
- package/dist/ui-kit/Icon/Icon.js +4 -1
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/dist/ui-kit/List/List.js +1 -1
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.fixture.d.ts +0 -2
- package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +1 -1
- package/lib/components/Accordion/Accordion.js +2 -3
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mobile.js +2 -3
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.js +0 -4
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +4 -2
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +3 -3
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +2 -3
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Headline/Headline.js +3 -2
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +2 -0
- package/lib/components/{AccordionItem/AccordionItem.fixture.d.ts → RollupItem/RollupItem.fixture.mobile.d.ts} +2 -0
- package/lib/components/RollupItem/RollupItem.js +9 -4
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.mobile.d.ts +5 -0
- package/lib/components/RollupItem/RollupItem.mobile.js +31 -0
- package/lib/components/RollupItem/RollupItem.mobile.js.map +1 -0
- package/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +0 -1
- package/lib/ui-kit/Icon/Icon.js +4 -1
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/ui-kit/List/List.js +1 -1
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +204 -154
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +2 -0
- package/mobile/dist/components/Accordion/Accordion.js +2 -3
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Blocks.js +4 -2
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +3 -3
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +2 -3
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +3 -2
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +2 -0
- package/mobile/dist/components/RollupItem/RollupItem.js +17 -5
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/Icon.js +4 -1
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/dist/ui-kit/List/List.js +1 -1
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
- package/mobile/lib/components/Accordion/Accordion.js +2 -3
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Blocks.js +4 -2
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +3 -3
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +2 -3
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +3 -2
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +2 -0
- package/mobile/lib/components/RollupItem/RollupItem.js +17 -5
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/Icon.js +4 -1
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/ui-kit/List/List.js +1 -1
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
- package/mobile/src/components/Accordion/Accordion.example.json +3 -3
- package/mobile/src/components/Accordion/Accordion.tsx +2 -3
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Blocks.ts +4 -2
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +10 -3
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
- package/mobile/src/components/Footer/Footer.tsx +9 -9
- package/mobile/src/components/Header/Header.tsx +5 -6
- package/mobile/src/components/Headline/Headline.tsx +4 -1
- package/mobile/src/components/Headline/HeadlineContent.ts +2 -0
- package/mobile/src/components/RollupItem/RollupItem.tsx +77 -28
- package/mobile/src/ui-kit/Icon/Icon.tsx +4 -1
- package/mobile/src/ui-kit/List/List.tsx +1 -1
- package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +0 -1
- package/mobile/src/ui-kit/SwipeListControl/SwipeListItem.tsx +1 -2
- package/package.json +1 -1
- package/src/components/Accordion/Accordion.example.json +3 -3
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +20 -11
- package/src/components/Accordion/Accordion.fixture.tsx +42 -27
- package/src/components/Accordion/Accordion.mobile.tsx +2 -3
- package/src/components/Accordion/Accordion.tsx +2 -3
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Blocks.mobile.ts +4 -2
- package/src/components/Blocks.ts +0 -4
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +10 -3
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +2 -2
- package/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
- package/src/components/Footer/Footer.mobile.tsx +9 -9
- package/src/components/Header/Header.mobile.tsx +5 -6
- package/src/components/Headline/Headline.tsx +4 -1
- package/src/components/Headline/HeadlineContent.ts +2 -0
- package/src/components/OtherProducts/OtherProducts.fixture.tsx +15 -14
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +33 -0
- package/src/components/RollupItem/RollupItem.mobile.tsx +143 -0
- package/src/components/RollupItem/RollupItem.tsx +17 -13
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +1 -0
- package/src/ui-kit/Icon/Icon.tsx +4 -1
- package/src/ui-kit/List/List.tsx +1 -1
- package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +0 -1
- package/src/ui-kit/SwipeListControl/SwipeListItem.tsx +1 -2
- package/bundle/components/Accordion/AccordionItemsList.d.ts +0 -1
- package/bundle/components/AccordionItem/AccordionItem.d.ts +0 -3
- package/bundle/components/AccordionItem/AccordionItem.mobile.d.ts +0 -3
- package/bundle/components/AccordionItem/AccordionItemContent.d.ts +0 -14
- package/bundle/components/AccordionItem/AccordionItemProps.d.ts +0 -4
- package/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
- package/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
- package/dist/components/Accordion/AccordionItemsList.d.ts +0 -1
- package/dist/components/Accordion/AccordionItemsList.js +0 -6
- package/dist/components/Accordion/AccordionItemsList.js.map +0 -1
- package/dist/components/AccordionItem/AccordionItem.d.ts +0 -3
- package/dist/components/AccordionItem/AccordionItem.js +0 -14
- package/dist/components/AccordionItem/AccordionItem.js.map +0 -1
- package/dist/components/AccordionItem/AccordionItem.mobile.d.ts +0 -3
- package/dist/components/AccordionItem/AccordionItem.mobile.js +0 -19
- package/dist/components/AccordionItem/AccordionItem.mobile.js.map +0 -1
- package/dist/components/AccordionItem/AccordionItemContent.d.ts +0 -14
- package/dist/components/AccordionItem/AccordionItemContent.js +0 -2
- package/dist/components/AccordionItem/AccordionItemContent.js.map +0 -1
- package/dist/components/AccordionItem/AccordionItemProps.d.ts +0 -4
- package/dist/components/AccordionItem/AccordionItemProps.js +0 -2
- package/dist/components/AccordionItem/AccordionItemProps.js.map +0 -1
- package/dist/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
- package/dist/components/OtherProductsItem/OtherProductsItem.js +0 -18
- package/dist/components/OtherProductsItem/OtherProductsItem.js.map +0 -1
- package/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
- package/dist/components/OtherProductsItem/OtherProductsItemContent.js +0 -2
- package/dist/components/OtherProductsItem/OtherProductsItemContent.js.map +0 -1
- package/lib/components/Accordion/AccordionItemsList.d.ts +0 -1
- package/lib/components/Accordion/AccordionItemsList.js +0 -4
- package/lib/components/Accordion/AccordionItemsList.js.map +0 -1
- package/lib/components/AccordionItem/AccordionItem.d.ts +0 -3
- package/lib/components/AccordionItem/AccordionItem.fixture.mobile.d.ts +0 -5
- package/lib/components/AccordionItem/AccordionItem.js +0 -12
- package/lib/components/AccordionItem/AccordionItem.js.map +0 -1
- package/lib/components/AccordionItem/AccordionItem.mobile.d.ts +0 -3
- package/lib/components/AccordionItem/AccordionItem.mobile.js +0 -17
- package/lib/components/AccordionItem/AccordionItem.mobile.js.map +0 -1
- package/lib/components/AccordionItem/AccordionItemContent.d.ts +0 -14
- package/lib/components/AccordionItem/AccordionItemContent.js +0 -2
- package/lib/components/AccordionItem/AccordionItemContent.js.map +0 -1
- package/lib/components/AccordionItem/AccordionItemProps.d.ts +0 -4
- package/lib/components/AccordionItem/AccordionItemProps.js +0 -2
- package/lib/components/AccordionItem/AccordionItemProps.js.map +0 -1
- package/lib/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
- package/lib/components/OtherProductsItem/OtherProductsItem.fixture.d.ts +0 -5
- package/lib/components/OtherProductsItem/OtherProductsItem.js +0 -16
- package/lib/components/OtherProductsItem/OtherProductsItem.js.map +0 -1
- package/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
- package/lib/components/OtherProductsItem/OtherProductsItemContent.js +0 -2
- package/lib/components/OtherProductsItem/OtherProductsItemContent.js.map +0 -1
- package/mobile/bundle/components/Accordion/AccordionItemsList.d.ts +0 -1
- package/mobile/bundle/components/AccordionItem/AccordionItem.d.ts +0 -3
- package/mobile/bundle/components/AccordionItem/AccordionItemContent.d.ts +0 -14
- package/mobile/bundle/components/AccordionItem/AccordionItemProps.d.ts +0 -4
- package/mobile/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
- package/mobile/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
- package/mobile/dist/components/Accordion/AccordionItemsList.d.ts +0 -1
- package/mobile/dist/components/Accordion/AccordionItemsList.js +0 -6
- package/mobile/dist/components/Accordion/AccordionItemsList.js.map +0 -1
- package/mobile/dist/components/AccordionItem/AccordionItem.d.ts +0 -3
- package/mobile/dist/components/AccordionItem/AccordionItem.js +0 -19
- package/mobile/dist/components/AccordionItem/AccordionItem.js.map +0 -1
- package/mobile/dist/components/AccordionItem/AccordionItemContent.d.ts +0 -14
- package/mobile/dist/components/AccordionItem/AccordionItemContent.js +0 -2
- package/mobile/dist/components/AccordionItem/AccordionItemContent.js.map +0 -1
- package/mobile/dist/components/AccordionItem/AccordionItemProps.d.ts +0 -4
- package/mobile/dist/components/AccordionItem/AccordionItemProps.js +0 -2
- package/mobile/dist/components/AccordionItem/AccordionItemProps.js.map +0 -1
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js +0 -18
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js.map +0 -1
- package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
- package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.js +0 -2
- package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.js.map +0 -1
- package/mobile/lib/components/Accordion/AccordionItemsList.d.ts +0 -1
- package/mobile/lib/components/Accordion/AccordionItemsList.js +0 -4
- package/mobile/lib/components/Accordion/AccordionItemsList.js.map +0 -1
- package/mobile/lib/components/AccordionItem/AccordionItem.d.ts +0 -3
- package/mobile/lib/components/AccordionItem/AccordionItem.js +0 -17
- package/mobile/lib/components/AccordionItem/AccordionItem.js.map +0 -1
- package/mobile/lib/components/AccordionItem/AccordionItemContent.d.ts +0 -14
- package/mobile/lib/components/AccordionItem/AccordionItemContent.js +0 -2
- package/mobile/lib/components/AccordionItem/AccordionItemContent.js.map +0 -1
- package/mobile/lib/components/AccordionItem/AccordionItemProps.d.ts +0 -4
- package/mobile/lib/components/AccordionItem/AccordionItemProps.js +0 -2
- package/mobile/lib/components/AccordionItem/AccordionItemProps.js.map +0 -1
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js +0 -16
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js.map +0 -1
- package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
- package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.js +0 -2
- package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.js.map +0 -1
- package/mobile/src/components/Accordion/AccordionItemsList.tsx +0 -5
- package/mobile/src/components/AccordionItem/AccordionItem.example.json +0 -25
- package/mobile/src/components/AccordionItem/AccordionItem.tsx +0 -90
- package/mobile/src/components/AccordionItem/AccordionItem.ui.json +0 -7
- package/mobile/src/components/AccordionItem/AccordionItemContent.ts +0 -15
- package/mobile/src/components/AccordionItem/AccordionItemProps.ts +0 -4
- package/mobile/src/components/OtherProductsItem/OtherProductsItem.example.json +0 -22
- package/mobile/src/components/OtherProductsItem/OtherProductsItem.tsx +0 -50
- package/mobile/src/components/OtherProductsItem/OtherProductsItem.ui.json +0 -1
- package/mobile/src/components/OtherProductsItem/OtherProductsItemContent.ts +0 -13
- package/src/components/Accordion/AccordionItemsList.tsx +0 -5
- package/src/components/AccordionItem/AccordionItem.example.json +0 -25
- package/src/components/AccordionItem/AccordionItem.fixture.mobile.tsx +0 -17
- package/src/components/AccordionItem/AccordionItem.fixture.tsx +0 -17
- package/src/components/AccordionItem/AccordionItem.mobile.tsx +0 -90
- package/src/components/AccordionItem/AccordionItem.tsx +0 -58
- package/src/components/AccordionItem/AccordionItem.ui.json +0 -7
- package/src/components/AccordionItem/AccordionItemContent.ts +0 -15
- package/src/components/AccordionItem/AccordionItemProps.ts +0 -4
- package/src/components/OtherProductsItem/OtherProductsItem.example.json +0 -22
- package/src/components/OtherProductsItem/OtherProductsItem.fixture.tsx +0 -20
- package/src/components/OtherProductsItem/OtherProductsItem.tsx +0 -50
- package/src/components/OtherProductsItem/OtherProductsItem.ui.json +0 -1
- package/src/components/OtherProductsItem/OtherProductsItemContent.ts +0 -13
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
},
|
|
6
6
|
"blocks": [
|
|
7
7
|
{
|
|
8
|
-
"type": "
|
|
8
|
+
"type": "RollupItem",
|
|
9
9
|
"content": {
|
|
10
10
|
"label": "Аккордеон 1",
|
|
11
11
|
"isExpanded": true,
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
"type": "
|
|
34
|
+
"type": "RollupItem",
|
|
35
35
|
"content": {
|
|
36
36
|
"label": "Аккордеон 2",
|
|
37
37
|
"isExpanded": false,
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
"type": "
|
|
44
|
+
"type": "RollupItem",
|
|
45
45
|
"content": {
|
|
46
46
|
"label": "Аккордеон 3",
|
|
47
47
|
"isExpanded": false,
|
|
@@ -5,7 +5,6 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
|
5
5
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
6
|
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
7
7
|
import type { AccordionContent } from './AccordionContent';
|
|
8
|
-
import { AccordionItemsList } from './AccordionItemsList';
|
|
9
8
|
|
|
10
9
|
export interface AccordionProps extends AccordionContent, UniBlockProps {}
|
|
11
10
|
|
|
@@ -20,9 +19,9 @@ export const Accordion: JSXBlock<AccordionProps> = JSX<AccordionProps>(
|
|
|
20
19
|
</Paragraph>
|
|
21
20
|
</div>
|
|
22
21
|
) : null}
|
|
23
|
-
<
|
|
22
|
+
<div className="list-none m-0 p-0">{renderChildren(rest)}</div>
|
|
24
23
|
</BlockWrapper>
|
|
25
24
|
),
|
|
26
25
|
);
|
|
27
26
|
|
|
28
|
-
Accordion.childrenTypes = ['
|
|
27
|
+
Accordion.childrenTypes = ['Accordion'];
|
|
@@ -41,7 +41,7 @@ const renderStep = (benefit: BenefitBlockItemProps, i: number) => {
|
|
|
41
41
|
/>
|
|
42
42
|
) : null}
|
|
43
43
|
{benefit?.icon?.src ? <Img image={benefit.icon} /> : null}
|
|
44
|
-
<div className="ml-5">
|
|
44
|
+
<div className="ml-5 h-full">
|
|
45
45
|
{benefit?.label ? <Heading headingType="h6">{benefit.label}</Heading> : null}
|
|
46
46
|
{renderDescription(description)}
|
|
47
47
|
</div>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { BlocksRegistry } from '../model/BlocksRegistry';
|
|
2
2
|
import { Accordion } from './Accordion/Accordion';
|
|
3
|
-
import { AccordionItem } from './AccordionItem/AccordionItem';
|
|
4
3
|
import { ComparisonTable } from './ComparisonTable/ComparisonTable';
|
|
5
4
|
import { Footer } from './Footer/Footer';
|
|
6
5
|
import { Header } from './Header/Header';
|
|
@@ -10,13 +9,14 @@ import { LinkList } from './LinkList/LinkList';
|
|
|
10
9
|
import { MobileAppTile } from './MobileAppTile/MobileAppTile';
|
|
11
10
|
import { Placeholder } from './Placeholder/Placeholder';
|
|
12
11
|
import { ProductBlock } from './ProductBlock/ProductBlock';
|
|
12
|
+
import { RollupItem } from './RollupItem/RollupItem';
|
|
13
13
|
import { StepsBlock } from './StepsBlock/StepsBlock';
|
|
14
14
|
import { TariffsTable } from './TariffsTable/TariffsTable';
|
|
15
15
|
import { TextBlock } from './TextBlock/TextBlock';
|
|
16
|
+
import { VerticalLayout } from './VerticalLayout/VerticalLayout';
|
|
16
17
|
|
|
17
18
|
export const Blocks: BlocksRegistry = {
|
|
18
19
|
Accordion,
|
|
19
|
-
AccordionItem,
|
|
20
20
|
ComparisonTable,
|
|
21
21
|
Footer,
|
|
22
22
|
Header,
|
|
@@ -25,8 +25,10 @@ export const Blocks: BlocksRegistry = {
|
|
|
25
25
|
LinkList,
|
|
26
26
|
MobileAppTile,
|
|
27
27
|
ProductBlock,
|
|
28
|
+
RollupItem,
|
|
28
29
|
StepsBlock,
|
|
29
30
|
TariffsTable,
|
|
30
31
|
TextBlock,
|
|
31
32
|
Placeholder,
|
|
33
|
+
VerticalLayout,
|
|
32
34
|
};
|
|
@@ -9,6 +9,7 @@ import type {
|
|
|
9
9
|
BonusBenefitsBlockContent,
|
|
10
10
|
ColumnsCount,
|
|
11
11
|
} from './BonusBenefitsBlockContent';
|
|
12
|
+
import { style } from '../../utils/style';
|
|
12
13
|
|
|
13
14
|
export interface BenefitsBlockProps extends BonusBenefitsBlockContent, UniBlockProps {}
|
|
14
15
|
|
|
@@ -40,10 +41,16 @@ export const BonusBenefitsBlock = JSX<BenefitsBlockProps>(
|
|
|
40
41
|
|
|
41
42
|
const renderBonusBenefit = ({ icon, title, description }: BonusBenefit, i: number) => {
|
|
42
43
|
return (
|
|
43
|
-
<div
|
|
44
|
+
<div
|
|
45
|
+
key={String(i)}
|
|
46
|
+
className={style(
|
|
47
|
+
'flex flex-col items-center text-h6',
|
|
48
|
+
!description && !title ? 'justify-center' : '',
|
|
49
|
+
)}
|
|
50
|
+
>
|
|
44
51
|
{title ? <span>{title}</span> : null}
|
|
45
|
-
{icon ? <Img image={icon} height="180" width="auto" className="
|
|
46
|
-
|
|
52
|
+
{icon ? <Img image={icon} height="180" width="auto" className="w-auto" /> : null}
|
|
53
|
+
{description ? <span>{description}</span> : null}
|
|
47
54
|
</div>
|
|
48
55
|
);
|
|
49
56
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { projectSettings } from '../../ProjectSettings';
|
|
3
2
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
|
+
import { projectSettings } from '../../ProjectSettings';
|
|
4
4
|
import type { SitemapDataProps } from '../../services/sitemap/SitemapProps';
|
|
5
5
|
import { useSWRResource } from '../../services/sitemap/useSWRResource';
|
|
6
|
+
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
7
|
import { Button } from '../../ui-kit/Button/Button';
|
|
7
8
|
import { Img } from '../../ui-kit/Img/Img';
|
|
8
9
|
import { SearchBar } from '../../ui-kit/SearchBar/SearchBar';
|
|
9
10
|
import { getIconWithVersion } from '../../utils/getIconWithVersion';
|
|
10
|
-
import { AccordionItemsList } from '../Accordion/AccordionItemsList';
|
|
11
|
-
import { AccordionItem } from '../AccordionItem/AccordionItem';
|
|
12
11
|
import { LinkList } from '../LinkList/LinkList';
|
|
13
12
|
import { MobileAppTile } from '../MobileAppTile/MobileAppTile';
|
|
13
|
+
import { RollupItem } from '../RollupItem/RollupItem';
|
|
14
14
|
import { Contacts } from './Contacts';
|
|
15
15
|
import type { FooterContent, SubMenuItem } from './FooterContent';
|
|
16
16
|
import type { FooterDataProps } from './FooterDataProps';
|
|
@@ -28,15 +28,15 @@ export const Footer = JSX<FooterProps>(({ className = '', ...rest }) => {
|
|
|
28
28
|
useSWRResource<FooterDataProps>(projectSettings.FOOTER || 'footer', fallback);
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
|
-
<footer className={`
|
|
31
|
+
<BlockWrapper tag="footer" className={`px-4 py-[26px] ${className}`} {...rest}>
|
|
32
32
|
<Contacts className="overflow-hidden" items={contacts} hasButton />
|
|
33
|
-
<
|
|
33
|
+
<div className="m-0 p-0">
|
|
34
34
|
{sitemap.topItems?.map((item, i) => (
|
|
35
|
-
<
|
|
35
|
+
<RollupItem key={String(i)} label={item?.text}>
|
|
36
36
|
<LinkList documents={item.items} />
|
|
37
|
-
</
|
|
37
|
+
</RollupItem>
|
|
38
38
|
))}
|
|
39
|
-
</
|
|
39
|
+
</div>
|
|
40
40
|
<div>{sitemap?.dispositions?.map(renderSubMenuItem)}</div>
|
|
41
41
|
<MobileAppTile
|
|
42
42
|
title="Мобильное приложение"
|
|
@@ -47,7 +47,7 @@ export const Footer = JSX<FooterProps>(({ className = '', ...rest }) => {
|
|
|
47
47
|
<SocialMedia className="pb-4" media={socialMedia} />
|
|
48
48
|
<HorizontalNavigation title={horizontalNavigationTitle} links={relatedEnterprises} />
|
|
49
49
|
<TextInformation links={documents} />
|
|
50
|
-
</
|
|
50
|
+
</BlockWrapper>
|
|
51
51
|
);
|
|
52
52
|
});
|
|
53
53
|
|
|
@@ -12,9 +12,8 @@ import type { SitemapDataProps } from '../../services/sitemap/SitemapProps';
|
|
|
12
12
|
import { useSWRResource } from '../../services/sitemap/useSWRResource';
|
|
13
13
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
14
14
|
import { HeaderItem } from '../../ui-kit/HeaderItem/HeaderItem';
|
|
15
|
-
import { AccordionItemsList } from '../Accordion/AccordionItemsList';
|
|
16
|
-
import { AccordionItem } from '../AccordionItem/AccordionItem';
|
|
17
15
|
import { LinkList } from '../LinkList/LinkList';
|
|
16
|
+
import { RollupItem } from '../RollupItem/RollupItem';
|
|
18
17
|
import { HeaderBurger } from './HeaderBurger';
|
|
19
18
|
import type { HeaderContent } from './HeaderContent';
|
|
20
19
|
import { HeaderTop } from './HeaderTop';
|
|
@@ -65,13 +64,13 @@ export const Header = JSX<HeaderProps>(
|
|
|
65
64
|
burgerSubMenu={dispositions}
|
|
66
65
|
defaultLocation={defaultLocation}
|
|
67
66
|
>
|
|
68
|
-
<
|
|
67
|
+
<div className="list-none m-0 p-0">
|
|
69
68
|
{topItems?.map((item, i) => (
|
|
70
|
-
<
|
|
69
|
+
<RollupItem key={String(i)} label={item.text}>
|
|
71
70
|
<LinkList documents={item.items} />
|
|
72
|
-
</
|
|
71
|
+
</RollupItem>
|
|
73
72
|
))}
|
|
74
|
-
</
|
|
73
|
+
</div>
|
|
75
74
|
</HeaderBurger>
|
|
76
75
|
) : null}
|
|
77
76
|
</BlockWrapper>
|
|
@@ -18,14 +18,17 @@ export const Headline = JSX<HeadlineProps>(
|
|
|
18
18
|
headlineVersion = 'XL',
|
|
19
19
|
align = 'text-center',
|
|
20
20
|
as,
|
|
21
|
+
isPadding = true,
|
|
21
22
|
...rest
|
|
22
23
|
}) => {
|
|
23
24
|
const versionStyle = headlineVersionStyles[headlineVersion];
|
|
25
|
+
const paddingStyle = isPadding ? 'p-12' : '';
|
|
24
26
|
|
|
25
27
|
return (
|
|
26
28
|
<BlockWrapper
|
|
27
29
|
className={style(
|
|
28
|
-
'flex flex-col
|
|
30
|
+
'flex flex-col group-data-secondary:bg-primary-main group-data-secondary:text-white',
|
|
31
|
+
paddingStyle,
|
|
29
32
|
versionStyle.wrapper,
|
|
30
33
|
className,
|
|
31
34
|
)}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { getParentBlockContent } from '../../BlockRenderer/getParentBlockContent';
|
|
2
3
|
import { renderChildren } from '../../BlockRenderer/renderChildren';
|
|
3
|
-
import type {
|
|
4
|
+
import type { IconName } from '../../icons/IconName';
|
|
5
|
+
import { BlockVersion } from '../../model/BlockVersion';
|
|
4
6
|
import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
|
|
7
|
+
import { Picture } from '../../model/Picture';
|
|
5
8
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
9
|
import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton';
|
|
7
10
|
import { Foldable } from '../../ui-kit/Foldable/Foldable';
|
|
8
11
|
import type { FoldablePartProps } from '../../ui-kit/Foldable/FoldablePartProps';
|
|
9
12
|
import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
|
|
10
|
-
import type { IconName } from '../../ui-kit/Icon/IconProps';
|
|
11
13
|
import { Img } from '../../ui-kit/Img/Img';
|
|
14
|
+
import { Text } from '../../ui-kit/Text/Text';
|
|
12
15
|
import { getIconWithVersion } from '../../utils/getIconWithVersion';
|
|
16
|
+
import { style } from '../../utils/style';
|
|
17
|
+
import { AccordionContent } from '../Accordion/AccordionContent';
|
|
13
18
|
import type { RollupItemContent } from './RollupItemContent';
|
|
14
19
|
|
|
15
20
|
export interface RollupItemProps extends RollupItemContent, UniBlockProps {}
|
|
@@ -22,40 +27,49 @@ export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
|
|
|
22
27
|
isFoldButtonOnTop = true,
|
|
23
28
|
version = 'primary',
|
|
24
29
|
...rest
|
|
25
|
-
}) =>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
}) => {
|
|
31
|
+
const { bordered } = getParentBlockContent(rest.options, {} as AccordionContent);
|
|
32
|
+
|
|
33
|
+
return (
|
|
34
|
+
<BlockWrapper
|
|
35
|
+
className={style(
|
|
36
|
+
'border-b border-solid border-main-divider w-full',
|
|
37
|
+
bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0',
|
|
38
|
+
className,
|
|
39
|
+
)}
|
|
40
|
+
tag="div"
|
|
41
|
+
version="transparent"
|
|
42
|
+
{...rest}
|
|
43
|
+
>
|
|
44
|
+
<Foldable
|
|
45
|
+
isFoldButtonOnTop={isFoldButtonOnTop}
|
|
46
|
+
unfoldedByDefault={isExpanded}
|
|
47
|
+
renderFoldableSection={({ isUnfolded }) => (
|
|
36
48
|
<FoldableSection
|
|
37
|
-
className=
|
|
49
|
+
className="flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0"
|
|
38
50
|
isUnfolded={isUnfolded}
|
|
39
51
|
>
|
|
40
52
|
{renderChildren(rest)}
|
|
41
53
|
</FoldableSection>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
54
|
+
)}
|
|
55
|
+
renderFoldButton={({ isUnfolded, onToggle }) =>
|
|
56
|
+
renderFoldButton({ version, label, isUnfolded, onToggle })
|
|
57
|
+
}
|
|
58
|
+
/>
|
|
59
|
+
</BlockWrapper>
|
|
60
|
+
);
|
|
61
|
+
},
|
|
50
62
|
);
|
|
51
63
|
|
|
52
64
|
RollupItem.childrenTypes = {
|
|
53
|
-
exclude: ['RollupItem', 'Accordion', '
|
|
65
|
+
exclude: ['RollupItem', 'Accordion', 'OtherProducts'],
|
|
54
66
|
};
|
|
55
67
|
|
|
56
68
|
interface FoldButtonProps extends FoldablePartProps {
|
|
57
69
|
version?: BlockVersion;
|
|
58
70
|
label?: string;
|
|
71
|
+
className?: string;
|
|
72
|
+
primaryIcon?: Picture;
|
|
59
73
|
}
|
|
60
74
|
|
|
61
75
|
const renderFoldButton = ({
|
|
@@ -63,11 +77,19 @@ const renderFoldButton = ({
|
|
|
63
77
|
label: defaultLabel,
|
|
64
78
|
isUnfolded,
|
|
65
79
|
onToggle,
|
|
80
|
+
className = '',
|
|
81
|
+
primaryIcon,
|
|
66
82
|
}: FoldButtonProps) => {
|
|
67
83
|
const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
|
|
68
84
|
|
|
69
85
|
return version === 'primary' ? (
|
|
70
|
-
renderPrimaryFoldButton({
|
|
86
|
+
renderPrimaryFoldButton({
|
|
87
|
+
label,
|
|
88
|
+
icon: isUnfolded ? 'MinusIcon' : 'PlusIcon',
|
|
89
|
+
onToggle,
|
|
90
|
+
className,
|
|
91
|
+
primaryIcon,
|
|
92
|
+
})
|
|
71
93
|
) : (
|
|
72
94
|
<DefaultFoldButton
|
|
73
95
|
label={label}
|
|
@@ -80,15 +102,42 @@ const renderFoldButton = ({
|
|
|
80
102
|
interface PrimaryFoldButtonProps {
|
|
81
103
|
label?: string;
|
|
82
104
|
icon?: IconName;
|
|
105
|
+
primaryIcon?: Picture;
|
|
83
106
|
onToggle?: () => void;
|
|
107
|
+
onClick?: () => void;
|
|
108
|
+
className?: string;
|
|
84
109
|
}
|
|
85
110
|
|
|
86
|
-
const renderPrimaryFoldButton = ({
|
|
111
|
+
const renderPrimaryFoldButton = ({
|
|
112
|
+
label,
|
|
113
|
+
icon,
|
|
114
|
+
primaryIcon,
|
|
115
|
+
onToggle,
|
|
116
|
+
}: PrimaryFoldButtonProps) => (
|
|
87
117
|
<button
|
|
88
|
-
className=
|
|
118
|
+
className={`border-none bg-transparent flex justify-between text-left w-full text-primary-text group cursor-pointer py-3.5 px-0`}
|
|
89
119
|
onClick={onToggle}
|
|
90
120
|
>
|
|
91
|
-
<
|
|
92
|
-
|
|
121
|
+
<div className="flex group-hover:text-primary-main">
|
|
122
|
+
{primaryIcon ? (
|
|
123
|
+
<Img
|
|
124
|
+
image={{ ...getIconWithVersion({ ...primaryIcon } as Picture) }}
|
|
125
|
+
className="mr-3 flex-shrink-0"
|
|
126
|
+
width="24"
|
|
127
|
+
height="24"
|
|
128
|
+
asSVG
|
|
129
|
+
/>
|
|
130
|
+
) : null}
|
|
131
|
+
<Text size="text-m-title-xs" font="font-medium">
|
|
132
|
+
{label}
|
|
133
|
+
</Text>
|
|
134
|
+
</div>
|
|
135
|
+
<Img
|
|
136
|
+
className="flex-shrink-0"
|
|
137
|
+
image={{ ...getIconWithVersion({ icon: icon }) }}
|
|
138
|
+
width="24"
|
|
139
|
+
height="24"
|
|
140
|
+
asSVG
|
|
141
|
+
/>
|
|
93
142
|
</button>
|
|
94
143
|
);
|
|
@@ -48,6 +48,9 @@ export const Icon = JSX<IconProps>(
|
|
|
48
48
|
</Background>
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
|
+
if (!className.includes('h-')) {
|
|
52
|
+
imgProps['style'] = { height: `${imgProps.height}px` };
|
|
53
|
+
}
|
|
51
54
|
|
|
52
55
|
return (
|
|
53
56
|
<img
|
|
@@ -55,8 +58,8 @@ export const Icon = JSX<IconProps>(
|
|
|
55
58
|
src={href}
|
|
56
59
|
alt={alt}
|
|
57
60
|
title={title}
|
|
58
|
-
{...imgProps}
|
|
59
61
|
aria-hidden="true"
|
|
62
|
+
{...imgProps}
|
|
60
63
|
/>
|
|
61
64
|
);
|
|
62
65
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import {
|
|
4
|
-
useIntersectionObserver,
|
|
5
4
|
type IntersectionObserverOptions,
|
|
5
|
+
useIntersectionObserver,
|
|
6
6
|
} from '../../hooks/useIntersectionObserver';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -33,7 +33,6 @@ export const SwipeListItem = JSX<SwipeListControlItemProps>(
|
|
|
33
33
|
<div
|
|
34
34
|
className={`inline-block snap-always box-border ${className}`}
|
|
35
35
|
style={style}
|
|
36
|
-
role="listitem"
|
|
37
36
|
aria-current={Boolean(idx === activeIndex)}
|
|
38
37
|
ref={ref}
|
|
39
38
|
>
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
},
|
|
6
6
|
"blocks": [
|
|
7
7
|
{
|
|
8
|
-
"type": "
|
|
8
|
+
"type": "RollupItem",
|
|
9
9
|
"content": {
|
|
10
10
|
"label": "Аккордеон 1",
|
|
11
11
|
"isExpanded": true,
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
"type": "
|
|
34
|
+
"type": "RollupItem",
|
|
35
35
|
"content": {
|
|
36
36
|
"label": "Аккордеон 2",
|
|
37
37
|
"isExpanded": false,
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
"type": "
|
|
44
|
+
"type": "RollupItem",
|
|
45
45
|
"content": {
|
|
46
46
|
"label": "Аккордеон 3",
|
|
47
47
|
"isExpanded": false,
|
|
@@ -5,10 +5,10 @@ import { Blocks } from '../Blocks';
|
|
|
5
5
|
import { HEADLINE } from '../Headline/Headline.fixture';
|
|
6
6
|
import { linkDocsContentExample } from '../LinkDocs/linkDocsContentExample';
|
|
7
7
|
import { TEXT_BLOCK } from '../TextBlock/TextBlock.fixture';
|
|
8
|
-
import {
|
|
8
|
+
import { VerticalLayout } from '../VerticalLayout/VerticalLayout';
|
|
9
9
|
|
|
10
|
-
export const
|
|
11
|
-
type: '
|
|
10
|
+
export const ROLLUP_ITEM: BlockDef = {
|
|
11
|
+
type: 'RollupItem',
|
|
12
12
|
content: {
|
|
13
13
|
label: 'Accordion label 1',
|
|
14
14
|
labelIcon: { icon: 'CardIcon' },
|
|
@@ -27,27 +27,36 @@ const options = {
|
|
|
27
27
|
export default {
|
|
28
28
|
default: (
|
|
29
29
|
<div className="container grid grid-cols-12">
|
|
30
|
-
<
|
|
30
|
+
<VerticalLayout
|
|
31
31
|
className="col-span-12"
|
|
32
|
-
title="Accordion title"
|
|
33
|
-
description="Accordion description 2"
|
|
34
|
-
bordered={true}
|
|
35
32
|
block={{
|
|
36
|
-
type: '
|
|
33
|
+
type: 'VerticalLayout',
|
|
37
34
|
blocks: [
|
|
38
|
-
ACCORDION_ITEM,
|
|
39
35
|
{
|
|
40
|
-
type: '
|
|
36
|
+
type: 'Headline',
|
|
37
|
+
content: {
|
|
38
|
+
title: 'Accordion title',
|
|
39
|
+
description: 'Accordion description 2',
|
|
40
|
+
headlineVersion: 'M',
|
|
41
|
+
align: 'text-center',
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
ROLLUP_ITEM,
|
|
45
|
+
{
|
|
46
|
+
type: 'RollupItem',
|
|
41
47
|
content: { label: 'Accordion label 2', isExpanded: true },
|
|
42
48
|
blocks: [{ type: 'Headline', content: HEADLINE }],
|
|
43
49
|
},
|
|
44
50
|
{
|
|
45
|
-
type: '
|
|
51
|
+
type: 'RollupItem',
|
|
46
52
|
content: { label: 'Accordion label 3', isExpanded: true },
|
|
47
53
|
blocks: [{ type: 'LinkDocs', content: { ...linkDocsContentExample, title: '' } }],
|
|
48
54
|
},
|
|
49
55
|
],
|
|
50
56
|
}}
|
|
57
|
+
version="primary"
|
|
58
|
+
isInnerPadding={false}
|
|
59
|
+
isPadding={true}
|
|
51
60
|
options={options}
|
|
52
61
|
/>
|
|
53
62
|
</div>
|