@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.
@@ -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-[25px] 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] })] }));
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-[25px] w-full font-sans text-white text-base flex justify-center cursor-pointer"
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -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-[25px] w-full font-sans text-white text-base flex justify-center cursor-pointer"
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>