@redneckz/wildless-cms-uni-blocks 0.3.24 → 0.3.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/bundle.umd.js +2 -2
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +1 -1
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/OtherProducts/OtherProductsItem.js +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +1 -1
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/OtherProducts/OtherProductsItem.js +1 -1
- package/mobile/bundle/bundle.umd.js +1 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js +1 -1
- package/mobile/src/components/CreditCalculator/CreditCalculator.example.json +19 -0
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +1 -1
- package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +1 -1
- package/package.json +1 -1
- package/src/components/CreditCalculator/CreditCalculator.example.json +19 -0
- package/src/components/Gallery/GalleryCardInner.tsx +1 -1
- package/src/components/OtherProducts/OtherProductsItem.tsx +1 -1
|
@@ -9,6 +9,6 @@ export const OtherProductsItem = JSX(({ label, isExpanded, blocks, columns, cont
|
|
|
9
9
|
blocks,
|
|
10
10
|
initialState: isExpanded,
|
|
11
11
|
});
|
|
12
|
-
return (_jsxs("div", { className: "border-0 border-b border-solid border-main-divider", children: [hasContent ? (_jsx(OtherProductsItemInner, { isExpanded: isActive, columns: columns, blocks: blocks, context: context })) : null, _jsxs("button", { className: "border-none bg-primary-main px-0 py-[
|
|
12
|
+
return (_jsxs("div", { className: "border-0 border-b border-solid border-main-divider", children: [hasContent ? (_jsx(OtherProductsItemInner, { isExpanded: isActive, columns: columns, blocks: blocks, context: context })) : null, _jsxs("button", { className: "border-none bg-primary-main px-0 py-[26px] w-full font-sans text-white text-base flex justify-center cursor-pointer", onClick: handleToggle, children: [_jsx("span", { className: "pr-3", children: isActive ? 'Скрыть' : label }), hasContent ? _jsx(Icon, { name: icon, width: "20", height: "20", asSVG: true }) : null] })] }));
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=OtherProductsItem.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tabs": [
|
|
3
|
+
{
|
|
4
|
+
"title": "Вкладка 1",
|
|
5
|
+
"description": "Описание",
|
|
6
|
+
"icon": "CardIcon"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"title": "Вкладка 2",
|
|
10
|
+
"description": "Описание",
|
|
11
|
+
"icon": "ChartSquareIcon"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"title": "Вкладка 3",
|
|
15
|
+
"description": "Описание",
|
|
16
|
+
"icon": "DiscountShapeIcon"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -10,7 +10,7 @@ export const GalleryCardInner = JSX<GalleryCard>(
|
|
|
10
10
|
({ title, description, image, items, button, version }) => {
|
|
11
11
|
const titleStyleClasses = getTitleStyle(version, description, items);
|
|
12
12
|
return (
|
|
13
|
-
<div>
|
|
13
|
+
<div className="h-full flex flex-col justify-between">
|
|
14
14
|
<div>
|
|
15
15
|
{image?.src ? (
|
|
16
16
|
<div className="flex justify-center">
|
|
@@ -26,7 +26,7 @@ export const OtherProductsItem = JSX<BlockItemProps>(
|
|
|
26
26
|
/>
|
|
27
27
|
) : null}
|
|
28
28
|
<button
|
|
29
|
-
className="border-none bg-primary-main px-0 py-[
|
|
29
|
+
className="border-none bg-primary-main px-0 py-[26px] w-full font-sans text-white text-base flex justify-center cursor-pointer"
|
|
30
30
|
onClick={handleToggle}
|
|
31
31
|
>
|
|
32
32
|
<span className="pr-3">{isActive ? 'Скрыть' : label}</span>
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tabs": [
|
|
3
|
+
{
|
|
4
|
+
"title": "Вкладка 1",
|
|
5
|
+
"description": "Описание",
|
|
6
|
+
"icon": "CardIcon"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"title": "Вкладка 2",
|
|
10
|
+
"description": "Описание",
|
|
11
|
+
"icon": "ChartSquareIcon"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"title": "Вкладка 3",
|
|
15
|
+
"description": "Описание",
|
|
16
|
+
"icon": "DiscountShapeIcon"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -10,7 +10,7 @@ export const GalleryCardInner = JSX<GalleryCard>(
|
|
|
10
10
|
({ title, description, image, items, button, version }) => {
|
|
11
11
|
const titleStyleClasses = getTitleStyle(version, description, items);
|
|
12
12
|
return (
|
|
13
|
-
<div>
|
|
13
|
+
<div className="h-full flex flex-col justify-between">
|
|
14
14
|
<div>
|
|
15
15
|
{image?.src ? (
|
|
16
16
|
<div className="flex justify-center">
|
|
@@ -26,7 +26,7 @@ export const OtherProductsItem = JSX<BlockItemProps>(
|
|
|
26
26
|
/>
|
|
27
27
|
) : null}
|
|
28
28
|
<button
|
|
29
|
-
className="border-none bg-primary-main px-0 py-[
|
|
29
|
+
className="border-none bg-primary-main px-0 py-[26px] w-full font-sans text-white text-base flex justify-center cursor-pointer"
|
|
30
30
|
onClick={handleToggle}
|
|
31
31
|
>
|
|
32
32
|
<span className="pr-3">{isActive ? 'Скрыть' : label}</span>
|