@redneckz/wildless-cms-uni-blocks 0.14.46 → 0.14.48
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/bin/migration-scripts/0.14.45.js +17 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +10 -10
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/RollupItem/{PrimaryFoldButton.d.ts → AccordionFoldButton.d.ts} +2 -2
- package/bundle/components/RollupItem/RollupItemContent.d.ts +6 -0
- package/dist/components/RollupItem/{PrimaryFoldButton.d.ts → AccordionFoldButton.d.ts} +2 -2
- package/dist/components/RollupItem/AccordionFoldButton.js +12 -0
- package/dist/components/RollupItem/AccordionFoldButton.js.map +1 -0
- package/dist/components/RollupItem/RollupItem.js +5 -5
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItemContent.d.ts +6 -0
- package/lib/components/RollupItem/{PrimaryFoldButton.d.ts → AccordionFoldButton.d.ts} +2 -2
- package/lib/components/RollupItem/AccordionFoldButton.js +10 -0
- package/lib/components/RollupItem/AccordionFoldButton.js.map +1 -0
- package/lib/components/RollupItem/RollupItem.fixture.d.ts +2 -2
- package/lib/components/RollupItem/RollupItem.js +5 -5
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItemContent.d.ts +6 -0
- package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +10 -10
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/RollupItem/{PrimaryFoldButton.d.ts → AccordionFoldButton.d.ts} +2 -2
- package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +6 -0
- package/mobile/dist/components/RollupItem/AccordionFoldButton.d.ts +12 -0
- package/mobile/dist/components/RollupItem/AccordionFoldButton.js +12 -0
- package/mobile/dist/components/RollupItem/AccordionFoldButton.js.map +1 -0
- package/mobile/dist/components/RollupItem/RollupItem.js +5 -5
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +6 -0
- package/mobile/lib/components/RollupItem/AccordionFoldButton.d.ts +12 -0
- package/mobile/lib/components/RollupItem/AccordionFoldButton.js +10 -0
- package/mobile/lib/components/RollupItem/AccordionFoldButton.js.map +1 -0
- package/mobile/lib/components/RollupItem/RollupItem.js +5 -5
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +6 -0
- package/mobile/src/components/RollupItem/{PrimaryFoldButton.tsx → AccordionFoldButton.tsx} +2 -2
- package/mobile/src/components/RollupItem/RollupItem.example.json +2 -1
- package/mobile/src/components/RollupItem/RollupItem.tsx +8 -9
- package/mobile/src/components/RollupItem/RollupItemContent.ts +7 -0
- package/package.json +1 -1
- package/src/components/RollupItem/{PrimaryFoldButton.tsx → AccordionFoldButton.tsx} +2 -2
- package/src/components/RollupItem/RollupItem.example.json +2 -1
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +1 -1
- package/src/components/RollupItem/RollupItem.fixture.tsx +6 -6
- package/src/components/RollupItem/RollupItem.tsx +8 -9
- package/src/components/RollupItem/RollupItemContent.ts +7 -0
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +29 -28
- package/dist/components/RollupItem/PrimaryFoldButton.js +0 -12
- package/dist/components/RollupItem/PrimaryFoldButton.js.map +0 -1
- package/lib/components/RollupItem/PrimaryFoldButton.js +0 -10
- package/lib/components/RollupItem/PrimaryFoldButton.js.map +0 -1
- package/mobile/dist/components/RollupItem/PrimaryFoldButton.d.ts +0 -12
- package/mobile/dist/components/RollupItem/PrimaryFoldButton.js +0 -12
- package/mobile/dist/components/RollupItem/PrimaryFoldButton.js.map +0 -1
- package/mobile/lib/components/RollupItem/PrimaryFoldButton.d.ts +0 -12
- package/mobile/lib/components/RollupItem/PrimaryFoldButton.js +0 -10
- package/mobile/lib/components/RollupItem/PrimaryFoldButton.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimaryFoldButton.js","sourceRoot":"","sources":["../../../src/components/RollupItem/PrimaryFoldButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,iDAA8C;AAE9C,iDAA8C;AAC9C,yEAAsE;AACtE,6CAA0C;AAC1C,2DAAwD;AACxD,2DAAwD;AAU3C,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC5D,uBAAC,2BAAY,IACX,GAAG,EAAC,QAAQ,EACZ,SAAS,EAAE,IAAA,aAAK,EACd,sDAAsD,EACtD,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CACpC,EACD,OAAO,EAAE,QAAQ,EACjB,QAAQ,EACN,iCAAK,SAAS,EAAC,yEAAyE,aACrF,IAAA,qCAAiB,EAAC,SAAS,EAAE,kBAAkB,CAAC,EAChD,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,aAAa,YACpC,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,EAER,QAAQ,EACN,IAAI,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,qCAAiB,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,GAE3F,CACH,CACF,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
4
|
-
import { Text } from '../../ui-kit/Text/Text.js';
|
|
5
|
-
import { TextWithIcon } from '../../ui-kit/TextWithIcon/TextWithIcon.js';
|
|
6
|
-
import { style } from '../../utils/style.js';
|
|
7
|
-
import { renderRoundedIcon } from './renderRoundedIcon.js';
|
|
8
|
-
import { rollupIconVersion } from './rollupIconVersion.js';
|
|
9
|
-
export const PrimaryFoldButton = JSX(({ label, labelIconBgVersion, icon, onToggle, labelIcon }) => (_jsx(TextWithIcon, { tag: "button", className: style('border-none bg-transparent items-center group/button', labelIcon?.icon ? 'py-xs' : 'py-lg'), onClick: onToggle, textNode: _jsxs("div", { className: "flex items-center text-start group-hover/button:text-primary-main gap-s", children: [renderRoundedIcon(labelIcon, labelIconBgVersion), label ? (_jsx(Text, { size: "text-h6", font: "font-normal", children: label })) : null] }), iconNode: icon ? _jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null })));
|
|
10
|
-
//# sourceMappingURL=PrimaryFoldButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimaryFoldButton.js","sourceRoot":"","sources":["../../../src/components/RollupItem/PrimaryFoldButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAUxD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC5D,KAAC,YAAY,IACX,GAAG,EAAC,QAAQ,EACZ,SAAS,EAAE,KAAK,CACd,sDAAsD,EACtD,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CACpC,EACD,OAAO,EAAE,QAAQ,EACjB,QAAQ,EACN,eAAK,SAAS,EAAC,yEAAyE,aACrF,iBAAiB,CAAC,SAAS,EAAE,kBAAkB,CAAC,EAChD,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,aAAa,YACpC,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,EAER,QAAQ,EACN,IAAI,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,iBAAiB,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,GAE3F,CACH,CACF,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type IconName } from '../../icons/IconName';
|
|
2
|
-
import { type Picture } from '../../model/Picture';
|
|
3
|
-
import { type IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
4
|
-
interface PrimaryFoldButtonProps {
|
|
5
|
-
label?: string;
|
|
6
|
-
labelIcon?: Picture;
|
|
7
|
-
labelIconBgVersion?: IconBgVersion;
|
|
8
|
-
icon?: IconName;
|
|
9
|
-
onToggle?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const PrimaryFoldButton: import("@redneckz/uni-jsx").UNIComponent<PrimaryFoldButtonProps, any, any>;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.PrimaryFoldButton = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
6
|
-
const Text_1 = require("../../ui-kit/Text/Text");
|
|
7
|
-
const TextWithIcon_1 = require("../../ui-kit/TextWithIcon/TextWithIcon");
|
|
8
|
-
const style_1 = require("../../utils/style");
|
|
9
|
-
const renderRoundedIcon_1 = require("./renderRoundedIcon");
|
|
10
|
-
const rollupIconVersion_1 = require("./rollupIconVersion");
|
|
11
|
-
exports.PrimaryFoldButton = (0, uni_jsx_1.JSX)(({ label, labelIconBgVersion, icon, onToggle, labelIcon }) => ((0, jsx_runtime_1.jsx)(TextWithIcon_1.TextWithIcon, { tag: "button", className: (0, style_1.style)('border-none bg-transparent items-center group/button', labelIcon?.icon ? 'py-xs' : 'py-lg'), onClick: onToggle, textNode: (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center text-start group-hover/button:text-primary-main gap-s", children: [(0, renderRoundedIcon_1.renderRoundedIcon)(labelIcon, labelIconBgVersion), label ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", font: "font-normal", children: label })) : null] }), iconNode: icon ? (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, iconVersion: rollupIconVersion_1.rollupIconVersion, width: "24", height: "24" }) : null })));
|
|
12
|
-
//# sourceMappingURL=PrimaryFoldButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimaryFoldButton.js","sourceRoot":"","sources":["../../../src/components/RollupItem/PrimaryFoldButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,iDAA8C;AAE9C,iDAA8C;AAC9C,yEAAsE;AACtE,6CAA0C;AAC1C,2DAAwD;AACxD,2DAAwD;AAU3C,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC5D,uBAAC,2BAAY,IACX,GAAG,EAAC,QAAQ,EACZ,SAAS,EAAE,IAAA,aAAK,EACd,sDAAsD,EACtD,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CACpC,EACD,OAAO,EAAE,QAAQ,EACjB,QAAQ,EACN,iCAAK,SAAS,EAAC,yEAAyE,aACrF,IAAA,qCAAiB,EAAC,SAAS,EAAE,kBAAkB,CAAC,EAChD,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,aAAa,YACpC,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,EAER,QAAQ,EACN,IAAI,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,qCAAiB,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,GAE3F,CACH,CACF,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type IconName } from '../../icons/IconName';
|
|
2
|
-
import { type Picture } from '../../model/Picture';
|
|
3
|
-
import { type IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
4
|
-
interface PrimaryFoldButtonProps {
|
|
5
|
-
label?: string;
|
|
6
|
-
labelIcon?: Picture;
|
|
7
|
-
labelIconBgVersion?: IconBgVersion;
|
|
8
|
-
icon?: IconName;
|
|
9
|
-
onToggle?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const PrimaryFoldButton: import("@redneckz/uni-jsx").UNIComponent<PrimaryFoldButtonProps, any, any>;
|
|
12
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
4
|
-
import { Text } from '../../ui-kit/Text/Text.js';
|
|
5
|
-
import { TextWithIcon } from '../../ui-kit/TextWithIcon/TextWithIcon.js';
|
|
6
|
-
import { style } from '../../utils/style.js';
|
|
7
|
-
import { renderRoundedIcon } from './renderRoundedIcon.js';
|
|
8
|
-
import { rollupIconVersion } from './rollupIconVersion.js';
|
|
9
|
-
export const PrimaryFoldButton = JSX(({ label, labelIconBgVersion, icon, onToggle, labelIcon }) => (_jsx(TextWithIcon, { tag: "button", className: style('border-none bg-transparent items-center group/button', labelIcon?.icon ? 'py-xs' : 'py-lg'), onClick: onToggle, textNode: _jsxs("div", { className: "flex items-center text-start group-hover/button:text-primary-main gap-s", children: [renderRoundedIcon(labelIcon, labelIconBgVersion), label ? (_jsx(Text, { size: "text-h6", font: "font-normal", children: label })) : null] }), iconNode: icon ? _jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null })));
|
|
10
|
-
//# sourceMappingURL=PrimaryFoldButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimaryFoldButton.js","sourceRoot":"","sources":["../../../src/components/RollupItem/PrimaryFoldButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAUxD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC5D,KAAC,YAAY,IACX,GAAG,EAAC,QAAQ,EACZ,SAAS,EAAE,KAAK,CACd,sDAAsD,EACtD,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CACpC,EACD,OAAO,EAAE,QAAQ,EACjB,QAAQ,EACN,eAAK,SAAS,EAAC,yEAAyE,aACrF,iBAAiB,CAAC,SAAS,EAAE,kBAAkB,CAAC,EAChD,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,aAAa,YACpC,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,EAER,QAAQ,EACN,IAAI,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,iBAAiB,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,GAE3F,CACH,CACF,CAAC"}
|