@redneckz/wildless-cms-uni-blocks 0.14.126 → 0.14.128
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/TariffsTable/TariffsTableRow.js +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/ui-kit/Foldable/DefaultFoldButton.js +3 -2
- package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/ui-kit/Foldable/DefaultFoldButton.js +3 -2
- package/lib/ui-kit/Foldable/DefaultFoldButton.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/TariffsTable/TariffsTableRow.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +3 -2
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +3 -2
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +2 -2
- package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +3 -2
- package/package.json +1 -1
- package/src/components/TariffsTable/TariffsTableRow.tsx +2 -2
- package/src/ui-kit/Foldable/DefaultFoldButton.tsx +3 -2
package/bundle/bundle.umd.js
CHANGED
|
@@ -3251,9 +3251,9 @@
|
|
|
3251
3251
|
return (jsxs(Tag, { tag: tag, className: style('flex items-center w-full gap-1', justifyContent === 'between' ? 'justify-between' : 'justify-center', className), onClick: onClick, ...rest, children: [textNode ? jsx("div", { children: textNode }) : null, iconNode ? jsx("div", { children: iconNode }) : null] }));
|
|
3252
3252
|
});
|
|
3253
3253
|
|
|
3254
|
-
const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => (jsx(TextWithIcon, { tag: "button", onClick: onClick, disabled: disabled, "data-theme": dataTheme, justifyContent: "center", className: style('py-4 border border-transparent outline-none focus:border-primary-text', disabled
|
|
3254
|
+
const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => (jsx(TextWithIcon, { tag: "button", onClick: onClick, disabled: disabled, "data-theme": dataTheme, justifyContent: "center", className: style('py-4 border border-transparent outline-none focus:border-primary-text space-x-s', disabled
|
|
3255
3255
|
? 'bg-main-divider text-main-disabled hover:bg-main-divider'
|
|
3256
|
-
: 'bg-primary-main text-white hover:bg-primary-hove', className), textNode: jsx(
|
|
3256
|
+
: 'bg-primary-main text-white hover:bg-primary-hove', className), textNode: jsx(Text, { size: "text-h4", children: label }), iconNode: icon ? (jsx(Img, { image: {
|
|
3257
3257
|
icon,
|
|
3258
3258
|
iconVersion: 'white',
|
|
3259
3259
|
}, className: "my-auto", width: "20", height: "20" })) : null })));
|
|
@@ -5516,7 +5516,7 @@
|
|
|
5516
5516
|
const [openTableInnerIdx, setOpenTableInnerIdx] = useState(undefined);
|
|
5517
5517
|
const handleOpenTableInnerIdx = useCallback((_) => setOpenTableInnerIdx(_), []);
|
|
5518
5518
|
const onHideContentClick = () => setTableInner(undefined);
|
|
5519
|
-
return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: style('text-s', firstCellStyle), children: jsxs("div", { className: "flex gap-m items-center
|
|
5519
|
+
return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: style('text-s', firstCellStyle), children: jsxs("div", { className: "flex gap-m items-center", role: "cell", children: [header?.icon ? (jsx(Img, { className: "hidden @4xl:block max-w-6 shrink-0", image: header.icon, width: "24", height: "24" })) : null, header?.title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: header?.title })) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
|
|
5520
5520
|
});
|
|
5521
5521
|
|
|
5522
5522
|
const TariffsTableWrapper = JSX(({ children, controls }) => {
|
|
@@ -5799,7 +5799,7 @@
|
|
|
5799
5799
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
|
|
5800
5800
|
}
|
|
5801
5801
|
|
|
5802
|
-
const packageVersion = "0.14.
|
|
5802
|
+
const packageVersion = "0.14.127";
|
|
5803
5803
|
|
|
5804
5804
|
exports.Blocks = Blocks;
|
|
5805
5805
|
exports.ContentPage = ContentPage;
|