@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.
Files changed (37) hide show
  1. package/bundle/bundle.umd.js +4 -4
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/dist/components/OfficesAtmsMap/Badge.js +1 -1
  4. package/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
  5. package/dist/components/OfficesAtmsMap/CardCell.js +1 -1
  6. package/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
  7. package/dist/components/OfficesAtmsMap/CardRow.js +1 -1
  8. package/dist/components/OfficesAtmsMap/CardRow.js.map +1 -1
  9. package/lib/common.css +1 -1
  10. package/lib/components/OfficesAtmsMap/Badge.js +1 -1
  11. package/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
  12. package/lib/components/OfficesAtmsMap/CardCell.js +1 -1
  13. package/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
  14. package/lib/components/OfficesAtmsMap/CardRow.js +1 -1
  15. package/lib/components/OfficesAtmsMap/CardRow.js.map +1 -1
  16. package/mobile/bundle/bundle.umd.js +4 -4
  17. package/mobile/bundle/bundle.umd.min.js +1 -1
  18. package/mobile/dist/components/OfficesAtmsMap/Badge.js +1 -1
  19. package/mobile/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
  20. package/mobile/dist/components/OfficesAtmsMap/CardCell.js +1 -1
  21. package/mobile/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
  22. package/mobile/dist/components/OfficesAtmsMap/CardRow.js +1 -1
  23. package/mobile/dist/components/OfficesAtmsMap/CardRow.js.map +1 -1
  24. package/mobile/lib/common.css +1 -1
  25. package/mobile/lib/components/OfficesAtmsMap/Badge.js +1 -1
  26. package/mobile/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
  27. package/mobile/lib/components/OfficesAtmsMap/CardCell.js +1 -1
  28. package/mobile/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
  29. package/mobile/lib/components/OfficesAtmsMap/CardRow.js +1 -1
  30. package/mobile/lib/components/OfficesAtmsMap/CardRow.js.map +1 -1
  31. package/mobile/src/components/OfficesAtmsMap/Badge.tsx +1 -1
  32. package/mobile/src/components/OfficesAtmsMap/CardCell.tsx +1 -1
  33. package/mobile/src/components/OfficesAtmsMap/CardRow.tsx +1 -1
  34. package/package.json +1 -1
  35. package/src/components/OfficesAtmsMap/Badge.tsx +1 -1
  36. package/src/components/OfficesAtmsMap/CardCell.tsx +1 -1
  37. package/src/components/OfficesAtmsMap/CardRow.tsx +1 -1
@@ -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('pt-2xl 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 })] })));
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-2xl sm: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 ||
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.258";
6138
+ const packageVersion = "0.14.259";
6139
6139
 
6140
6140
  exports.Blocks = Blocks;
6141
6141
  exports.ContentPage = ContentPage;