@redneckz/wildless-cms-uni-blocks 0.14.259 → 0.14.260
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 +4 -4
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/OfficesAtmsMap/Badge.js +1 -1
- package/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/dist/components/OfficesAtmsMap/CardCell.js +1 -1
- package/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/dist/components/OfficesAtmsMap/CardRow.js +1 -1
- package/dist/components/OfficesAtmsMap/CardRow.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/OfficesAtmsMap/Badge.js +1 -1
- package/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/lib/components/OfficesAtmsMap/CardCell.js +1 -1
- package/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/lib/components/OfficesAtmsMap/CardRow.js +1 -1
- package/lib/components/OfficesAtmsMap/CardRow.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +4 -4
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/OfficesAtmsMap/Badge.js +1 -1
- package/mobile/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/CardCell.js +1 -1
- package/mobile/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/CardRow.js +1 -1
- package/mobile/dist/components/OfficesAtmsMap/CardRow.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/OfficesAtmsMap/Badge.js +1 -1
- package/mobile/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/CardCell.js +1 -1
- package/mobile/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/CardRow.js +1 -1
- package/mobile/lib/components/OfficesAtmsMap/CardRow.js.map +1 -1
- package/mobile/src/components/OfficesAtmsMap/Badge.tsx +1 -1
- package/mobile/src/components/OfficesAtmsMap/CardCell.tsx +1 -1
- package/mobile/src/components/OfficesAtmsMap/CardRow.tsx +1 -1
- package/package.json +1 -1
- package/src/components/OfficesAtmsMap/Badge.tsx +1 -1
- package/src/components/OfficesAtmsMap/CardCell.tsx +1 -1
- package/src/components/OfficesAtmsMap/CardRow.tsx +1 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -4936,7 +4936,7 @@
|
|
|
4936
4936
|
gray: { border: 'border-gray', text: 'text-secondary-text' },
|
|
4937
4937
|
red: { border: 'border-error/30', text: 'text-error' },
|
|
4938
4938
|
};
|
|
4939
|
-
const Badge = JSX(({ className, children, color = 'gray' }) => (jsxs("div", { className: style('
|
|
4939
|
+
const Badge = JSX(({ className, children, color = 'gray' }) => (jsxs("div", { className: style('sm:p-s sm:border sm:border-gray rounded-md flex items-center', colorStyle[color].border, className), children: [jsx("div", { className: "block pr-m sm:pr-0 sm:hidden", children: jsx(Img, { image: { icon: 'SmallClockIcon' }, width: "24", height: "24" }) }), jsx(Text, { size: "text-m", color: colorStyle[color].text, children: children })] })));
|
|
4940
4940
|
|
|
4941
4941
|
const CardCell = JSX(({ value, subText, children, ...props }) => {
|
|
4942
4942
|
const textItems = (Array.isArray(value) ? value : value?.split(',') ?? []).filter(Boolean);
|
|
@@ -4945,10 +4945,10 @@
|
|
|
4945
4945
|
}
|
|
4946
4946
|
return renderCardCell({ textItems, subText, children, ...props });
|
|
4947
4947
|
});
|
|
4948
|
-
const renderCardCell = ({ label, labelSize = 'text-m', textItems, subColor, subText, className, children, }) => (jsxs("div", { className: style('flex gap-
|
|
4948
|
+
const renderCardCell = ({ label, labelSize = 'text-m', textItems, subColor, subText, className, children, }) => (jsxs("div", { className: style('flex gap-2xs flex-col h-full max-w-[300px]', className), children: [label ? (jsx(Text, { color: "text-secondary-text", font: "font-light", size: labelSize, children: label })) : null, children ||
|
|
4949
4949
|
textItems.filter(Boolean).map((text, i) => (jsx(Text, { size: "text-l", children: text.trim() }, String(i)))), subText ? (jsx(Text, { color: subColor, size: "text-m", children: subText })) : null] }));
|
|
4950
4950
|
|
|
4951
|
-
const CardRow = JSX(({ className, children }) => (jsx("div", { className: style('sm:flex sm:border-t sm:border-solid sm:border-main-divider py-xl gap-x-6xl gap-y-xl', className), children: children })));
|
|
4951
|
+
const CardRow = JSX(({ className, children }) => (jsx("div", { className: style('flex flex-col sm:flex-row sm:border-t sm:border-solid sm:border-main-divider py-xl gap-x-6xl gap-y-xl', className), children: children })));
|
|
4952
4952
|
|
|
4953
4953
|
const ICONS = ['ArrowDownIcon', 'ArrowUpIcon'];
|
|
4954
4954
|
const labels = ['Подробнее', 'Скрыть'];
|
|
@@ -6135,7 +6135,7 @@
|
|
|
6135
6135
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6136
6136
|
});
|
|
6137
6137
|
|
|
6138
|
-
const packageVersion = "0.14.
|
|
6138
|
+
const packageVersion = "0.14.259";
|
|
6139
6139
|
|
|
6140
6140
|
exports.Blocks = Blocks;
|
|
6141
6141
|
exports.ContentPage = ContentPage;
|