@redneckz/wildless-cms-uni-blocks 0.3.51 → 0.3.54
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 +17 -65
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +4 -3
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +4 -4
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContent.d.ts +5 -0
- package/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
- package/dist/components/OtherProducts/OtherProductsItem.d.ts +2 -2
- package/dist/components/OtherProducts/OtherProductsItem.js +1 -1
- package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/index.d.ts +0 -13
- package/dist/index.js +1 -13
- package/dist/index.js.map +1 -1
- package/dist/ui-kit/Button/Button.js +8 -2
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/List/ListItem.d.ts +1 -0
- package/dist/ui-kit/List/ListItem.js +3 -2
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/lib/components/Gallery/Gallery.mobile.js +4 -3
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +4 -4
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContent.d.ts +5 -0
- package/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
- package/lib/components/OtherProducts/OtherProductsItem.d.ts +2 -2
- package/lib/components/OtherProducts/OtherProductsItem.js +1 -1
- package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/index.d.ts +0 -13
- package/lib/index.js +0 -6
- package/lib/index.js.map +1 -1
- package/lib/ui-kit/Button/Button.js +8 -2
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/List/ListItem.d.ts +1 -0
- package/lib/ui-kit/List/ListItem.js +1 -1
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +3 -58
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Gallery/Gallery.js +4 -3
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +4 -4
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +5 -0
- package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
- package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +2 -2
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/mobile/dist/index.d.ts +0 -13
- package/mobile/dist/index.js +1 -13
- package/mobile/dist/index.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -0
- package/mobile/dist/ui-kit/List/ListItem.js +3 -2
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/components/Gallery/Gallery.js +4 -3
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +4 -4
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +5 -0
- package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
- package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +2 -2
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/mobile/lib/index.d.ts +0 -13
- package/mobile/lib/index.js +0 -6
- package/mobile/lib/index.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -0
- package/mobile/lib/ui-kit/List/ListItem.js +1 -1
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/src/components/Gallery/Gallery.example.json +12 -9
- package/mobile/src/components/Gallery/Gallery.tsx +4 -2
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +4 -3
- package/mobile/src/components/Gallery/GalleryContent.ts +5 -0
- package/mobile/src/components/OtherProducts/OtherProductsContent.ts +2 -2
- package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +3 -3
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +1 -1
- package/mobile/src/index.ts +0 -28
- package/mobile/src/ui-kit/List/ListItem.tsx +1 -1
- package/package.json +4 -9
- package/src/components/Gallery/Gallery.example.json +12 -9
- package/src/components/Gallery/Gallery.fixture.mobile.tsx +5 -1
- package/src/components/Gallery/Gallery.fixture.tsx +10 -0
- package/src/components/Gallery/Gallery.mobile.tsx +4 -2
- package/src/components/Gallery/GalleryCardInner.tsx +4 -3
- package/src/components/Gallery/GalleryContent.ts +5 -0
- package/src/components/OtherProducts/OtherProductsContent.ts +2 -2
- package/src/components/OtherProducts/OtherProductsItem.tsx +3 -3
- package/src/components/ProductBlock/ProductBlockContent.ts +1 -1
- package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
- package/src/index.ts +0 -28
- package/src/ui-kit/Button/Button.tsx +22 -13
- package/src/ui-kit/List/ListItem.tsx +1 -1
package/mobile/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
22
|
return result;
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.url = exports.joinList = exports.
|
|
25
|
+
exports.url = exports.joinList = exports.projectSettings = exports.ContentPage = exports.Blocks = exports.LikeAPI = exports.DaDataAPI = exports.setup = void 0;
|
|
26
26
|
var uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
27
27
|
Object.defineProperty(exports, "setup", { enumerable: true, get: function () { return uni_jsx_1.setup; } });
|
|
28
28
|
var DaDataAPI_1 = require("./api/DaDataAPI");
|
|
@@ -31,22 +31,10 @@ var LikeAPI_1 = require("./api/LikeAPI");
|
|
|
31
31
|
Object.defineProperty(exports, "LikeAPI", { enumerable: true, get: function () { return LikeAPI_1.LikeAPI; } });
|
|
32
32
|
var Blocks_1 = require("./components/Blocks");
|
|
33
33
|
Object.defineProperty(exports, "Blocks", { enumerable: true, get: function () { return Blocks_1.Blocks; } });
|
|
34
|
-
var Button_1 = require("./ui-kit/Button/Button");
|
|
35
|
-
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.Button; } });
|
|
36
|
-
var Img_1 = require("./ui-kit/Img/Img");
|
|
37
|
-
Object.defineProperty(exports, "Image", { enumerable: true, get: function () { return Img_1.Img; } });
|
|
38
34
|
var ContentPage_1 = require("./components/ContentPage/ContentPage");
|
|
39
35
|
Object.defineProperty(exports, "ContentPage", { enumerable: true, get: function () { return ContentPage_1.ContentPage; } });
|
|
40
|
-
var ContentPageHead_1 = require("./components/ContentPage/ContentPageHead");
|
|
41
|
-
Object.defineProperty(exports, "ContentPageHead", { enumerable: true, get: function () { return ContentPageHead_1.ContentPageHead; } });
|
|
42
|
-
var normalizePage_1 = require("./components/ContentPage/normalizePage");
|
|
43
|
-
Object.defineProperty(exports, "normalizePage", { enumerable: true, get: function () { return normalizePage_1.normalizePage; } });
|
|
44
|
-
var Header_1 = require("./components/Header/Header");
|
|
45
|
-
Object.defineProperty(exports, "Header", { enumerable: true, get: function () { return Header_1.Header; } });
|
|
46
36
|
var ProjectSettings_1 = require("./ProjectSettings");
|
|
47
37
|
Object.defineProperty(exports, "projectSettings", { enumerable: true, get: function () { return ProjectSettings_1.projectSettings; } });
|
|
48
|
-
var Icon_1 = require("./ui-kit/Icon/Icon");
|
|
49
|
-
Object.defineProperty(exports, "Icon", { enumerable: true, get: function () { return Icon_1.Icon; } });
|
|
50
38
|
var joinList_1 = require("./utils/joinList");
|
|
51
39
|
Object.defineProperty(exports, "joinList", { enumerable: true, get: function () { return joinList_1.joinList; } });
|
|
52
40
|
exports.url = __importStar(require("./utils/url"));
|
package/mobile/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA0C;AAAjC,gGAAA,KAAK,OAAA;AACd,6CAA4C;AAAnC,sGAAA,SAAS,OAAA;AAClB,yCAAwC;AAA/B,kGAAA,OAAO,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA0C;AAAjC,gGAAA,KAAK,OAAA;AACd,6CAA4C;AAAnC,sGAAA,SAAS,OAAA;AAClB,yCAAwC;AAA/B,kGAAA,OAAO,OAAA;AAChB,8CAA6C;AAApC,gGAAA,MAAM,OAAA;AACf,oEAAmE;AAA1D,0GAAA,WAAW,OAAA;AACpB,qDAAoD;AAA3C,kHAAA,eAAe,OAAA;AACxB,6CAA4C;AAAnC,oGAAA,QAAQ,OAAA;AACjB,mDAAmC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.ListItem = void 0;
|
|
2
|
+
exports.getListStyle = exports.ListItem = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const LIST_STYLE_CLASSES = {
|
|
@@ -17,7 +17,7 @@ const LIST_DOT_STYLE_MAP = {
|
|
|
17
17
|
'tile-white': 'bg-white',
|
|
18
18
|
};
|
|
19
19
|
exports.ListItem = (0, uni_jsx_1.JSX)(({ className = '', isDotted = true, children, version = 'primary' }) => {
|
|
20
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && (0, jsx_runtime_1.jsx)("div", { className: getListStyle(version) }), (0, jsx_runtime_1.jsx)("span", { children: children })] }));
|
|
20
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && (0, jsx_runtime_1.jsx)("div", { className: (0, exports.getListStyle)(version) }), (0, jsx_runtime_1.jsx)("span", { children: children })] }));
|
|
21
21
|
});
|
|
22
22
|
const getListStyle = (version) => {
|
|
23
23
|
const size = {
|
|
@@ -29,4 +29,5 @@ const getListStyle = (version) => {
|
|
|
29
29
|
};
|
|
30
30
|
return `${LIST_STYLE_CLASSES[version]} ${LIST_DOT_STYLE_MAP[version]} ${size[version]}`;
|
|
31
31
|
};
|
|
32
|
+
exports.getListStyle = getListStyle;
|
|
32
33
|
//# sourceMappingURL=ListItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAaxC,MAAM,kBAAkB,GAAG;IACzB,OAAO,EAAE,qCAAqC;IAC9C,SAAS,EAAE,qCAAqC;IAChD,IAAI,EAAE,qCAAqC;IAC3C,IAAI,EAAE,qCAAqC;IAC3C,YAAY,EAAE,qCAAqC;CACpD,CAAC;AAEF,MAAM,kBAAkB,GAAoC;IAC1D,OAAO,EAAE,iBAAiB;IAC1B,SAAS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AAwB,EAAE,EAAE;IACvD,MAAM,IAAI,GAAG;QACX,OAAO,EAAE,yBAAyB;QAClC,SAAS,EAAE,yBAAyB;QACpC,IAAI,EAAE,iCAAiC;QACvC,IAAI,EAAE,yCAAyC;QAC/C,YAAY,EAAE,yCAAyC;KACxD,CAAC;IACF,OAAO,GAAG,kBAAkB,CAAC,OAAO,CAAC,IAAI,kBAAkB,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;AAC1F,CAAC,CAAC;AATW,QAAA,YAAY,gBASvB"}
|
|
@@ -3,6 +3,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { Button } from '../../ui-kit/Button/Button.js';
|
|
4
4
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
5
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
6
|
+
import { getListStyle } from '../../ui-kit/List/ListItem.js';
|
|
6
7
|
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
|
|
7
8
|
const blockStyle = {
|
|
8
9
|
primary: 'bg-white',
|
|
@@ -16,7 +17,7 @@ function renderCardsLayout(orientation, cards, context) {
|
|
|
16
17
|
}
|
|
17
18
|
function renderCard(card, key) {
|
|
18
19
|
return (_jsxs("div", { className: `h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col
|
|
19
|
-
${blockStyle[card.version ?? 'primary']}`, children: [_jsxs("div", { children: [card.image?.src ? (_jsx("div", { className: "flex justify-center", children: _jsx(Img, { className: "mb-3.5", image: card.image }) })) : null, card.title ? _jsx("h3", { className: `font-medium text-m-title-xs m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.version) : null] }), card?.button?.text ? renderButton(card.button) : null] }, key));
|
|
20
|
+
${blockStyle[card.version ?? 'primary']}`, children: [_jsxs("div", { children: [card.image?.src ? (_jsx("div", { className: "flex justify-center", children: _jsx(Img, { className: "mb-3.5", image: card.image }) })) : null, card.title ? _jsx("h3", { className: `font-medium text-m-title-xs m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.version, card.isDotted) : null] }), card?.button?.text ? renderButton(card.button) : null] }, key));
|
|
20
21
|
}
|
|
21
22
|
function renderButton(button) {
|
|
22
23
|
return (_jsx(Button, { className: "mt-3", appendLeft: button?.icon && _jsx(Img, { image: button?.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
|
|
@@ -24,7 +25,7 @@ function renderButton(button) {
|
|
|
24
25
|
function renderDescription(card) {
|
|
25
26
|
return (_jsx("div", { className: `text-secondary-text mt-1 text-m-sm ${card.version === 'secondary' ? 'text-white opacity-80' : ''}`, children: card.description }));
|
|
26
27
|
}
|
|
27
|
-
function renderItems(items, version = 'primary') {
|
|
28
|
-
return (_jsx("section", { className: "mt-3", children: items.map((item, i) => (_jsxs("div", { children: [_jsx("span", { className: "text-m-md font-medium", children: item.title }), _jsx("span", { className: `text-m-sm pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`, children: item.text })] }, String(i)))) }));
|
|
28
|
+
function renderItems(items, version = 'primary', isDotted) {
|
|
29
|
+
return (_jsx("section", { className: "mt-3", children: items.map((item, i) => (_jsxs("div", { children: [isDotted && _jsx("div", { className: getListStyle(version) }), _jsx("span", { className: "text-m-md font-medium", children: item.title }), _jsx("span", { className: `text-m-sm pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`, children: item.text })] }, String(i)))) }));
|
|
29
30
|
}
|
|
30
31
|
//# sourceMappingURL=Gallery.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.js","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA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,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,0BACG,QAAQ,IAAI,cAAK,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,GAAI,EACtD,eAAM,SAAS,EAAC,uBAAuB,YAAE,IAAI,CAAC,KAAK,GAAQ,EAC3D,eAAM,SAAS,EAAE,kBAAkB,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,EAAE,YACpF,IAAI,CAAC,IAAI,GACL,KALC,MAAM,CAAC,CAAC,CAAC,CAMb,CACP,CAAC,GACM,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -3,9 +3,9 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { Button } from '../../ui-kit/Button/Button.js';
|
|
4
4
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
5
5
|
import { List } from '../../ui-kit/List/List.js';
|
|
6
|
-
export const GalleryCardInner = JSX(({ title, description, image, items, button, version }) => {
|
|
6
|
+
export const GalleryCardInner = JSX(({ title, description, image, items, button, version, isDotted = true }) => {
|
|
7
7
|
const titleStyleClasses = getTitleStyle(version);
|
|
8
|
-
return (_jsxs("div", { className: "h-full flex flex-col justify-between text-center", children: [_jsxs("div", { children: [image?.src ? (_jsx("div", { className: "flex justify-center", children: _jsx(Img, { className: "mb-6", image: image }) })) : null, title ? renderCardTitle(title, titleStyleClasses) : null, description ? (_jsx("div", { className: `font-light text-m-md-new ${title ? 'mt-2' : ''}`, children: description })) : null, items?.length ? renderItems(items, version) : null] }), button?.text ? renderButton(button) : null] }));
|
|
8
|
+
return (_jsxs("div", { className: "h-full flex flex-col justify-between text-center", children: [_jsxs("div", { children: [image?.src ? (_jsx("div", { className: "flex justify-center", children: _jsx(Img, { className: "mb-6", image: image }) })) : null, title ? renderCardTitle(title, titleStyleClasses) : null, description ? (_jsx("div", { className: `font-light text-m-md-new ${title ? 'mt-2' : ''}`, children: description })) : null, items?.length ? renderItems(items, version, isDotted) : null] }), button?.text ? renderButton(button) : null] }));
|
|
9
9
|
});
|
|
10
10
|
function renderButton(button) {
|
|
11
11
|
return (_jsx(Button, { className: "mt-6 w-full", appendLeft: button.icon && _jsx(Img, { image: button.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
|
|
@@ -13,8 +13,8 @@ function renderButton(button) {
|
|
|
13
13
|
function renderCardTitle(title, className) {
|
|
14
14
|
return _jsx("div", { className: `text-xl m-0 ${className}`, children: title });
|
|
15
15
|
}
|
|
16
|
-
function renderItems(items, version = 'primary') {
|
|
17
|
-
return (_jsx(List, { className: `max-w-[308px] mt-2 text-sm ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "mt-1 first:mt-0", items: items.filter((item) => item?.text).map((item) => item.text), version: version }));
|
|
16
|
+
function renderItems(items, version = 'primary', isDotted) {
|
|
17
|
+
return (_jsx(List, { className: `max-w-[308px] mt-2 text-sm ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "mt-1 first:mt-0", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version }));
|
|
18
18
|
}
|
|
19
19
|
function getTitleStyle(version) {
|
|
20
20
|
return `text-xl m-0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"GalleryCardInner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,CAAC;AAEF,SAAS,YAAY,CAAC,MAAM;IAC1B,OAAO,CACL,KAAC,MAAM,IACL,SAAS,EAAC,aAAa,EACvB,UAAU,EAAE,MAAM,CAAC,IAAI,IAAI,KAAC,GAAG,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,SAAG,KACnF,MAAM,GACV,CACH,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,KAAa,EAAE,SAAiB;IACvD,OAAO,cAAK,SAAS,EAAE,eAAe,SAAS,EAAE,YAAG,KAAK,GAAO,CAAC;AACnE,CAAC;AAED,SAAS,WAAW,CAAC,KAAoB,EAAE,UAAwB,SAAS,EAAE,QAAiB;IAC7F,OAAO,CACL,KAAC,IAAI,IACH,SAAS,EAAE,8BACT,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EACnD,EAAE,EACF,aAAa,EAAC,iBAAiB,EAC/B,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAc,CAAC,EAC5E,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,OAAO;IAC5B,OAAO;UACC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE;OACrD,CAAC;AACR,CAAC"}
|
|
@@ -32,6 +32,11 @@ export interface GalleryCard {
|
|
|
32
32
|
image?: Picture;
|
|
33
33
|
/** @title Кнопка */
|
|
34
34
|
button?: ButtonWithIconProps;
|
|
35
|
+
/**
|
|
36
|
+
* @title Буллиты
|
|
37
|
+
* @default true
|
|
38
|
+
*/
|
|
39
|
+
isDotted?: boolean;
|
|
35
40
|
/** @title Список */
|
|
36
41
|
items?: GalleryItem[];
|
|
37
42
|
version?: BlockVersion;
|
|
@@ -3,7 +3,7 @@ import type { BlockDef, ColumnsCount } from '../../ui-kit/BlocksList/BlocksListP
|
|
|
3
3
|
/**
|
|
4
4
|
* @title Элемент списка
|
|
5
5
|
*/
|
|
6
|
-
export interface
|
|
6
|
+
export interface BlockItemCommonProps {
|
|
7
7
|
/**
|
|
8
8
|
* @title Название
|
|
9
9
|
* @default Список
|
|
@@ -27,6 +27,6 @@ export interface OtherProductsContent {
|
|
|
27
27
|
* @title Список
|
|
28
28
|
* @maxItems 10
|
|
29
29
|
*/
|
|
30
|
-
blockItems?:
|
|
30
|
+
blockItems?: BlockItemCommonProps[];
|
|
31
31
|
colorPalette?: ColorPalette;
|
|
32
32
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../types';
|
|
2
|
-
import type {
|
|
3
|
-
export interface BlockItemProps extends
|
|
2
|
+
import type { BlockItemCommonProps } from './OtherProductsContent';
|
|
3
|
+
export interface BlockItemProps extends BlockItemCommonProps, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const OtherProductsItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<BlockItemProps, any>, context?: any) => any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { useActiveHandler } from './useActiveHandler.js';
|
|
4
3
|
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
5
4
|
import { OtherProductsItemInner } from './OtherProductsItemInner.js';
|
|
5
|
+
import { useActiveHandler } from './useActiveHandler.js';
|
|
6
6
|
export const OtherProductsItem = JSX(({ label, isExpanded, blocks, columns, context }) => {
|
|
7
7
|
const { hasContent, icon, handleToggle, isActive } = useActiveHandler({
|
|
8
8
|
context,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OtherProductsItem.js","sourceRoot":"","sources":["../../../src/components/OtherProducts/OtherProductsItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"OtherProductsItem.js","sourceRoot":"","sources":["../../../src/components/OtherProducts/OtherProductsItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAItD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE;IAClD,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,gBAAgB,CAAC;QACpE,OAAO;QACP,MAAM;QACN,YAAY,EAAE,UAAU;KACzB,CAAC,CAAC;IAEH,OAAO,CACL,eAAK,SAAS,EAAC,oDAAoD,aAChE,UAAU,CAAC,CAAC,CAAC,CACZ,KAAC,sBAAsB,IACrB,UAAU,EAAE,QAAQ,EACpB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,EACR,kBACE,SAAS,EAAC,8HAA8H,EACxI,OAAO,EAAE,YAAY,aAErB,eAAM,SAAS,EAAC,MAAM,YAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,GAAQ,EAC1D,UAAU,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IAC/D,IACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { IconVersion } from '../../model/IconVersion';
|
|
2
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
4
|
import type { ButtonContent, ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
5
|
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
5
6
|
import type { HeadingContent, HeadingTypeContent } from '../../ui-kit/Heading/HeadingContent';
|
|
6
7
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
7
8
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
8
|
-
import type { IconVersion } from '../../model/IconVersion';
|
|
9
9
|
import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
|
|
10
10
|
export declare type BenefitItemProps = {
|
|
11
11
|
benefit: Benefit;
|
package/mobile/lib/index.d.ts
CHANGED
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
export { setup } from '@redneckz/uni-jsx';
|
|
2
2
|
export { DaDataAPI } from './api/DaDataAPI';
|
|
3
3
|
export { LikeAPI } from './api/LikeAPI';
|
|
4
|
-
export type { BlockContent } from './components/BlockContent';
|
|
5
4
|
export { Blocks } from './components/Blocks';
|
|
6
|
-
export { Button } from './ui-kit/Button/Button';
|
|
7
|
-
export { Img as Image } from './ui-kit/Img/Img';
|
|
8
5
|
export { ContentPage } from './components/ContentPage/ContentPage';
|
|
9
|
-
export type { BlockDecorator } from './components/ContentPage/ContentPage';
|
|
10
|
-
export type { AsyncDataHook, ContentPageContext, GeolocationHook, HandlerDecorator, LikeService, Router, Search, } from './components/ContentPage/ContentPageContext';
|
|
11
|
-
export { ContentPageHead } from './components/ContentPage/ContentPageHead';
|
|
12
|
-
export { normalizePage } from './components/ContentPage/normalizePage';
|
|
13
|
-
export { Header } from './components/Header/Header';
|
|
14
|
-
export type { Img, ImgSource, Picture } from './model/Picture';
|
|
15
6
|
export { projectSettings } from './ProjectSettings';
|
|
16
|
-
export type { ProjectSettings } from './ProjectSettings';
|
|
17
|
-
export type { SitemapProps as SitemapContent } from './services/sitemap/SitemapProps';
|
|
18
|
-
export type { BlockDef, ContentPageDef, ContentPageMeta, Slot, SlotsMap, UniBlockProps, } from './types';
|
|
19
|
-
export { Icon } from './ui-kit/Icon/Icon';
|
|
20
7
|
export { joinList } from './utils/joinList';
|
|
21
8
|
export * as url from './utils/url';
|
package/mobile/lib/index.js
CHANGED
|
@@ -2,14 +2,8 @@ export { setup } from '@redneckz/uni-jsx';
|
|
|
2
2
|
export { DaDataAPI } from './api/DaDataAPI.js';
|
|
3
3
|
export { LikeAPI } from './api/LikeAPI.js';
|
|
4
4
|
export { Blocks } from './components/Blocks.js';
|
|
5
|
-
export { Button } from './ui-kit/Button/Button.js';
|
|
6
|
-
export { Img as Image } from './ui-kit/Img/Img.js';
|
|
7
5
|
export { ContentPage } from './components/ContentPage/ContentPage.js';
|
|
8
|
-
export { ContentPageHead } from './components/ContentPage/ContentPageHead.js';
|
|
9
|
-
export { normalizePage } from './components/ContentPage/normalizePage.js';
|
|
10
|
-
export { Header } from './components/Header/Header.js';
|
|
11
6
|
export { projectSettings } from './ProjectSettings.js';
|
|
12
|
-
export { Icon } from './ui-kit/Icon/Icon.js';
|
|
13
7
|
export { joinList } from './utils/joinList.js';
|
|
14
8
|
export * as url from './utils/url.js';
|
|
15
9
|
//# sourceMappingURL=index.js.map
|
package/mobile/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC"}
|
|
@@ -17,7 +17,7 @@ const LIST_DOT_STYLE_MAP = {
|
|
|
17
17
|
export const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary' }) => {
|
|
18
18
|
return (_jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && _jsx("div", { className: getListStyle(version) }), _jsx("span", { children: children })] }));
|
|
19
19
|
});
|
|
20
|
-
const getListStyle = (version) => {
|
|
20
|
+
export const getListStyle = (version) => {
|
|
21
21
|
const size = {
|
|
22
22
|
primary: 'w-2 h-2 min-w-2 min-h-2',
|
|
23
23
|
secondary: 'w-2 h-2 min-w-2 min-h-2',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAaxC,MAAM,kBAAkB,GAAG;IACzB,OAAO,EAAE,qCAAqC;IAC9C,SAAS,EAAE,qCAAqC;IAChD,IAAI,EAAE,qCAAqC;IAC3C,IAAI,EAAE,qCAAqC;IAC3C,YAAY,EAAE,qCAA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EAAE,EAAE,EAAE;IACrE,OAAO,CACL,eAAK,SAAS,EAAE,8BAA8B,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aACvE,QAAQ,IAAI,cAAK,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,GAAI,EACtD,yBAAO,QAAQ,GAAQ,IACnB,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,OAAwB,EAAE,EAAE;IACvD,MAAM,IAAI,GAAG;QACX,OAAO,EAAE,yBAAyB;QAClC,SAAS,EAAE,yBAAyB;QACpC,IAAI,EAAE,iCAAiC;QACvC,IAAI,EAAE,yCAAyC;QAC/C,YAAY,EAAE,yCAAyC;KACxD,CAAC;IACF,OAAO,GAAG,kBAAkB,CAAC,OAAO,CAAC,IAAI,kBAAkB,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;AAC1F,CAAC,CAAC"}
|
|
@@ -15,10 +15,11 @@
|
|
|
15
15
|
"description": "Описание 1",
|
|
16
16
|
"href": "/credit-cards",
|
|
17
17
|
"version": "primary",
|
|
18
|
+
"isDotted": true,
|
|
18
19
|
"items": [
|
|
19
|
-
{"text":"Элемент списка 1", "title": "Элемент заголовка 1"},
|
|
20
|
-
{"text":"Элемент списка 2", "title": "Элемент заголовка 2"},
|
|
21
|
-
{"text":"Элемент списка 3", "title": "Элемент заголовка 3"}
|
|
20
|
+
{ "text": "Элемент списка 1", "title": "Элемент заголовка 1" },
|
|
21
|
+
{ "text": "Элемент списка 2", "title": "Элемент заголовка 2" },
|
|
22
|
+
{ "text": "Элемент списка 3", "title": "Элемент заголовка 3" }
|
|
22
23
|
]
|
|
23
24
|
},
|
|
24
25
|
{
|
|
@@ -33,10 +34,11 @@
|
|
|
33
34
|
"description": "Описание 2",
|
|
34
35
|
"href": "/credit-cards",
|
|
35
36
|
"version": "primary",
|
|
37
|
+
"isDotted": true,
|
|
36
38
|
"items": [
|
|
37
|
-
{"text":"Элемент списка 1", "title": "Элемент заголовка 1"},
|
|
38
|
-
{"text":"Элемент списка 2", "title": "Элемент заголовка 2"},
|
|
39
|
-
{"text":"Элемент списка 3", "title": "Элемент заголовка 3"}
|
|
39
|
+
{ "text": "Элемент списка 1", "title": "Элемент заголовка 1" },
|
|
40
|
+
{ "text": "Элемент списка 2", "title": "Элемент заголовка 2" },
|
|
41
|
+
{ "text": "Элемент списка 3", "title": "Элемент заголовка 3" }
|
|
40
42
|
]
|
|
41
43
|
},
|
|
42
44
|
{
|
|
@@ -51,10 +53,11 @@
|
|
|
51
53
|
"description": "Описание 3",
|
|
52
54
|
"href": "/credit-cards",
|
|
53
55
|
"version": "primary",
|
|
56
|
+
"isDotted": true,
|
|
54
57
|
"items": [
|
|
55
|
-
{"text":"Элемент списка 1", "title": "Элемент заголовка 1"},
|
|
56
|
-
{"text":"Элемент списка 2", "title": "Элемент заголовка 2"},
|
|
57
|
-
{"text":"Элемент списка 3", "title": "Элемент заголовка 3"}
|
|
58
|
+
{ "text": "Элемент списка 1", "title": "Элемент заголовка 1" },
|
|
59
|
+
{ "text": "Элемент списка 2", "title": "Элемент заголовка 2" },
|
|
60
|
+
{ "text": "Элемент списка 3", "title": "Элемент заголовка 3" }
|
|
58
61
|
]
|
|
59
62
|
}
|
|
60
63
|
]
|
|
@@ -4,6 +4,7 @@ import type { ListOrientation } from '../../model/ListOrientation';
|
|
|
4
4
|
import { Button } from '../../ui-kit/Button/Button';
|
|
5
5
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
6
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
|
+
import { getListStyle } from '../../ui-kit/List/ListItem';
|
|
7
8
|
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl';
|
|
8
9
|
import type { GalleryCard } from './GalleryContent';
|
|
9
10
|
import { GalleryItem } from './GalleryContent';
|
|
@@ -63,7 +64,7 @@ function renderCard(card: GalleryCard, key: number) {
|
|
|
63
64
|
) : null}
|
|
64
65
|
{card.title ? <h3 className={`font-medium text-m-title-xs m-0`}>{card.title}</h3> : null}
|
|
65
66
|
{card.description ? renderDescription(card) : null}
|
|
66
|
-
{card.items?.length ? renderItems(card.items, card.version) : null}
|
|
67
|
+
{card.items?.length ? renderItems(card.items, card.version, card.isDotted) : null}
|
|
67
68
|
</div>
|
|
68
69
|
{card?.button?.text ? renderButton(card.button) : null}
|
|
69
70
|
</div>
|
|
@@ -92,11 +93,12 @@ function renderDescription(card: GalleryCard) {
|
|
|
92
93
|
);
|
|
93
94
|
}
|
|
94
95
|
|
|
95
|
-
function renderItems(items: GalleryItem[], version: BlockVersion = 'primary') {
|
|
96
|
+
function renderItems(items: GalleryItem[], version: BlockVersion = 'primary', isDotted) {
|
|
96
97
|
return (
|
|
97
98
|
<section className="mt-3">
|
|
98
99
|
{items.map((item, i) => (
|
|
99
100
|
<div key={String(i)}>
|
|
101
|
+
{isDotted && <div className={getListStyle(version)} />}
|
|
100
102
|
<span className="text-m-md font-medium">{item.title}</span>
|
|
101
103
|
<span className={`text-m-sm pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`}>
|
|
102
104
|
{item.text}
|
|
@@ -6,7 +6,7 @@ import { List } from '../../ui-kit/List/List';
|
|
|
6
6
|
import type { GalleryCard, GalleryItem } from './GalleryContent';
|
|
7
7
|
|
|
8
8
|
export const GalleryCardInner = JSX<GalleryCard>(
|
|
9
|
-
({ title, description, image, items, button, version }) => {
|
|
9
|
+
({ title, description, image, items, button, version, isDotted = true }) => {
|
|
10
10
|
const titleStyleClasses = getTitleStyle(version);
|
|
11
11
|
return (
|
|
12
12
|
<div className="h-full flex flex-col justify-between text-center">
|
|
@@ -20,7 +20,7 @@ export const GalleryCardInner = JSX<GalleryCard>(
|
|
|
20
20
|
{description ? (
|
|
21
21
|
<div className={`font-light text-m-md-new ${title ? 'mt-2' : ''}`}>{description}</div>
|
|
22
22
|
) : null}
|
|
23
|
-
{items?.length ? renderItems(items, version) : null}
|
|
23
|
+
{items?.length ? renderItems(items, version, isDotted) : null}
|
|
24
24
|
</div>
|
|
25
25
|
{button?.text ? renderButton(button) : null}
|
|
26
26
|
</div>
|
|
@@ -42,7 +42,7 @@ function renderCardTitle(title: string, className: string) {
|
|
|
42
42
|
return <div className={`text-xl m-0 ${className}`}>{title}</div>;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
function renderItems(items: GalleryItem[], version: BlockVersion = 'primary') {
|
|
45
|
+
function renderItems(items: GalleryItem[], version: BlockVersion = 'primary', isDotted: boolean) {
|
|
46
46
|
return (
|
|
47
47
|
<List
|
|
48
48
|
className={`max-w-[308px] mt-2 text-sm ${
|
|
@@ -50,6 +50,7 @@ function renderItems(items: GalleryItem[], version: BlockVersion = 'primary') {
|
|
|
50
50
|
}`}
|
|
51
51
|
itemClassName="mt-1 first:mt-0"
|
|
52
52
|
items={items.filter((item) => item?.text).map((item) => item.text as string)}
|
|
53
|
+
isDotted={isDotted}
|
|
53
54
|
version={version}
|
|
54
55
|
/>
|
|
55
56
|
);
|
|
@@ -34,6 +34,11 @@ export interface GalleryCard {
|
|
|
34
34
|
image?: Picture;
|
|
35
35
|
/** @title Кнопка */
|
|
36
36
|
button?: ButtonWithIconProps;
|
|
37
|
+
/**
|
|
38
|
+
* @title Буллиты
|
|
39
|
+
* @default true
|
|
40
|
+
*/
|
|
41
|
+
isDotted?: boolean;
|
|
37
42
|
/** @title Список */
|
|
38
43
|
items?: GalleryItem[];
|
|
39
44
|
version?: BlockVersion;
|
|
@@ -4,7 +4,7 @@ import type { BlockDef, ColumnsCount } from '../../ui-kit/BlocksList/BlocksListP
|
|
|
4
4
|
/**
|
|
5
5
|
* @title Элемент списка
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface BlockItemCommonProps {
|
|
8
8
|
/**
|
|
9
9
|
* @title Название
|
|
10
10
|
* @default Список
|
|
@@ -29,6 +29,6 @@ export interface OtherProductsContent {
|
|
|
29
29
|
* @title Список
|
|
30
30
|
* @maxItems 10
|
|
31
31
|
*/
|
|
32
|
-
blockItems?:
|
|
32
|
+
blockItems?: BlockItemCommonProps[];
|
|
33
33
|
colorPalette?: ColorPalette;
|
|
34
34
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { useActiveHandler } from './useActiveHandler';
|
|
3
2
|
import type { UniBlockProps } from '../../types';
|
|
4
|
-
import type { blockItemCommonProps } from './OtherProductsContent';
|
|
5
3
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
4
|
+
import type { BlockItemCommonProps } from './OtherProductsContent';
|
|
6
5
|
import { OtherProductsItemInner } from './OtherProductsItemInner';
|
|
6
|
+
import { useActiveHandler } from './useActiveHandler';
|
|
7
7
|
|
|
8
|
-
export interface BlockItemProps extends
|
|
8
|
+
export interface BlockItemProps extends BlockItemCommonProps, UniBlockProps {}
|
|
9
9
|
|
|
10
10
|
export const OtherProductsItem = JSX<BlockItemProps>(
|
|
11
11
|
({ label, isExpanded, blocks, columns, context }) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { IconVersion } from '../../model/IconVersion';
|
|
2
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
4
|
import type { ButtonContent, ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
5
|
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
5
6
|
import type { HeadingContent, HeadingTypeContent } from '../../ui-kit/Heading/HeadingContent';
|
|
6
7
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
7
8
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
8
|
-
import type { IconVersion } from '../../model/IconVersion';
|
|
9
9
|
import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
|
|
10
10
|
|
|
11
11
|
export type BenefitItemProps = {
|
package/mobile/src/index.ts
CHANGED
|
@@ -1,36 +1,8 @@
|
|
|
1
1
|
export { setup } from '@redneckz/uni-jsx';
|
|
2
2
|
export { DaDataAPI } from './api/DaDataAPI';
|
|
3
3
|
export { LikeAPI } from './api/LikeAPI';
|
|
4
|
-
export type { BlockContent } from './components/BlockContent';
|
|
5
4
|
export { Blocks } from './components/Blocks';
|
|
6
|
-
export { Button } from './ui-kit/Button/Button';
|
|
7
|
-
export { Img as Image } from './ui-kit/Img/Img';
|
|
8
5
|
export { ContentPage } from './components/ContentPage/ContentPage';
|
|
9
|
-
export type { BlockDecorator } from './components/ContentPage/ContentPage';
|
|
10
|
-
export type {
|
|
11
|
-
AsyncDataHook,
|
|
12
|
-
ContentPageContext,
|
|
13
|
-
GeolocationHook,
|
|
14
|
-
HandlerDecorator,
|
|
15
|
-
LikeService,
|
|
16
|
-
Router,
|
|
17
|
-
Search,
|
|
18
|
-
} from './components/ContentPage/ContentPageContext';
|
|
19
|
-
export { ContentPageHead } from './components/ContentPage/ContentPageHead';
|
|
20
|
-
export { normalizePage } from './components/ContentPage/normalizePage';
|
|
21
|
-
export { Header } from './components/Header/Header';
|
|
22
|
-
export type { Img, ImgSource, Picture } from './model/Picture';
|
|
23
6
|
export { projectSettings } from './ProjectSettings';
|
|
24
|
-
export type { ProjectSettings } from './ProjectSettings';
|
|
25
|
-
export type { SitemapProps as SitemapContent } from './services/sitemap/SitemapProps';
|
|
26
|
-
export type {
|
|
27
|
-
BlockDef,
|
|
28
|
-
ContentPageDef,
|
|
29
|
-
ContentPageMeta,
|
|
30
|
-
Slot,
|
|
31
|
-
SlotsMap,
|
|
32
|
-
UniBlockProps,
|
|
33
|
-
} from './types';
|
|
34
|
-
export { Icon } from './ui-kit/Icon/Icon';
|
|
35
7
|
export { joinList } from './utils/joinList';
|
|
36
8
|
export * as url from './utils/url';
|
|
@@ -38,7 +38,7 @@ export const ListItem = JSX<ListItemProps>(
|
|
|
38
38
|
},
|
|
39
39
|
);
|
|
40
40
|
|
|
41
|
-
const getListStyle = (version: ListItemVersion) => {
|
|
41
|
+
export const getListStyle = (version: ListItemVersion) => {
|
|
42
42
|
const size = {
|
|
43
43
|
primary: 'w-2 h-2 min-w-2 min-h-2',
|
|
44
44
|
secondary: 'w-2 h-2 min-w-2 min-h-2',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redneckz/wildless-cms-uni-blocks",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.54",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ЦК",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"require": "./mobile/dist/index.js",
|
|
24
24
|
"types": "./mobile/lib/index.d.ts"
|
|
25
25
|
},
|
|
26
|
-
"./lib
|
|
26
|
+
"./lib/*": {
|
|
27
27
|
"import": "./lib/*.js",
|
|
28
28
|
"require": "./dist/*.js",
|
|
29
29
|
"types": "./lib/*.d.ts"
|
|
30
30
|
},
|
|
31
|
-
"./mobile/lib
|
|
31
|
+
"./mobile/lib/*": {
|
|
32
32
|
"import": "./mobile/lib/*.js",
|
|
33
33
|
"require": "./mobile/dist/*.js",
|
|
34
34
|
"types": "./mobile/lib/*.d.ts"
|
|
@@ -40,16 +40,11 @@
|
|
|
40
40
|
"require": "./dist/content-page-repository/index.js",
|
|
41
41
|
"types": "./lib/content-page-repository/index.d.ts"
|
|
42
42
|
},
|
|
43
|
-
"./lib/content-page-repository
|
|
43
|
+
"./lib/content-page-repository/*": {
|
|
44
44
|
"import": "./lib/content-page-repository/*.js",
|
|
45
45
|
"require": "./dist/content-page-repository/*.js",
|
|
46
46
|
"types": "./lib/content-page-repository/*.d.ts"
|
|
47
47
|
},
|
|
48
|
-
"./lib/utils/*.js": {
|
|
49
|
-
"import": "./lib/utils/*.js",
|
|
50
|
-
"require": "./dist/utils/*.js",
|
|
51
|
-
"types": "./lib/utils/*.d.ts"
|
|
52
|
-
},
|
|
53
48
|
"./bundle/*.js": "./bundle/*.js",
|
|
54
49
|
"./bundle/*.json": "./bundle/*.json",
|
|
55
50
|
"./*.json": "./*.json",
|