@redneckz/wildless-cms-uni-blocks 0.14.289 → 0.14.290
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 +5 -5
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +1 -2
- package/bundle/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.d.ts +1 -2
- package/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +1 -2
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/bundle/components/TabsLayout/TabsLayoutContent.d.ts +2 -1
- package/bundle/data/SitemapData.d.ts +5 -5
- package/bundle/model/AspectsProps.d.ts +4 -4
- package/bundle/model/LinkProps.d.ts +2 -3
- package/bundle/model/LogoType.d.ts +1 -3
- package/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -2
- package/bundle/utils/dataAttributes.d.ts +2 -2
- package/dist/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +1 -2
- package/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.d.ts +1 -2
- package/dist/components/Header/HeaderSecondaryMenuButton.d.ts +1 -2
- package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocItem.js +3 -2
- package/dist/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/dist/components/LinkDocs/linkDocsContentExample.js +8 -0
- package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/dist/components/TabsLayout/TabsLayoutButton.js +2 -1
- package/dist/components/TabsLayout/TabsLayoutButton.js.map +1 -1
- package/dist/components/TabsLayout/TabsLayoutContent.d.ts +2 -1
- package/dist/data/SitemapData.d.ts +5 -5
- package/dist/model/AspectsProps.d.ts +4 -4
- package/dist/model/LinkProps.d.ts +2 -3
- package/dist/model/LogoType.d.ts +1 -3
- package/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -2
- package/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/dist/utils/dataAttributes.d.ts +2 -2
- package/lib/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +1 -2
- package/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.d.ts +1 -2
- package/lib/components/Header/HeaderSecondaryMenuButton.d.ts +1 -2
- package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocItem.js +3 -2
- package/lib/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/lib/components/LinkDocs/linkDocsContentExample.js +8 -0
- package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/lib/components/TabsLayout/TabsLayoutButton.js +2 -1
- package/lib/components/TabsLayout/TabsLayoutButton.js.map +1 -1
- package/lib/components/TabsLayout/TabsLayoutContent.d.ts +2 -1
- package/lib/data/SitemapData.d.ts +5 -5
- package/lib/model/AspectsProps.d.ts +4 -4
- package/lib/model/LinkProps.d.ts +2 -3
- package/lib/model/LogoType.d.ts +1 -3
- package/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -2
- package/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/lib/utils/dataAttributes.d.ts +2 -2
- package/mobile/bundle/bundle.umd.js +5 -5
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +1 -2
- package/mobile/bundle/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.d.ts +1 -2
- package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +1 -2
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/mobile/bundle/components/TabsLayout/TabsLayoutContent.d.ts +2 -1
- package/mobile/bundle/data/SitemapData.d.ts +5 -5
- package/mobile/bundle/model/AspectsProps.d.ts +4 -4
- package/mobile/bundle/model/LinkProps.d.ts +2 -3
- package/mobile/bundle/model/LogoType.d.ts +1 -3
- package/mobile/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -2
- package/mobile/bundle/utils/dataAttributes.d.ts +2 -2
- package/mobile/dist/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +1 -2
- package/mobile/dist/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.d.ts +1 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +1 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocItem.js +3 -2
- package/mobile/dist/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +8 -0
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/mobile/dist/components/TabsLayout/TabsLayoutButton.js +2 -1
- package/mobile/dist/components/TabsLayout/TabsLayoutButton.js.map +1 -1
- package/mobile/dist/components/TabsLayout/TabsLayoutContent.d.ts +2 -1
- package/mobile/dist/data/SitemapData.d.ts +5 -5
- package/mobile/dist/model/AspectsProps.d.ts +4 -4
- package/mobile/dist/model/LinkProps.d.ts +2 -3
- package/mobile/dist/model/LogoType.d.ts +1 -3
- package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -2
- package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/mobile/dist/utils/dataAttributes.d.ts +2 -2
- package/mobile/lib/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +1 -2
- package/mobile/lib/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.d.ts +1 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +1 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocItem.js +3 -2
- package/mobile/lib/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +8 -0
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/mobile/lib/components/TabsLayout/TabsLayoutButton.js +2 -1
- package/mobile/lib/components/TabsLayout/TabsLayoutButton.js.map +1 -1
- package/mobile/lib/components/TabsLayout/TabsLayoutContent.d.ts +2 -1
- package/mobile/lib/data/SitemapData.d.ts +5 -5
- package/mobile/lib/model/AspectsProps.d.ts +4 -4
- package/mobile/lib/model/LinkProps.d.ts +2 -3
- package/mobile/lib/model/LogoType.d.ts +1 -3
- package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -2
- package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/mobile/lib/utils/dataAttributes.d.ts +2 -2
- package/mobile/src/components/ApplicationFormCustom/ApplicationFormCustomContent.ts +2 -2
- package/mobile/src/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.ts +6 -6
- package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +1 -2
- package/mobile/src/components/LinkDocs/LinkDocItem.tsx +4 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -0
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +6 -4
- package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +8 -0
- package/mobile/src/components/TabsLayout/TabsLayoutButton.tsx +3 -0
- package/mobile/src/components/TabsLayout/TabsLayoutContent.ts +3 -1
- package/mobile/src/data/SitemapData.ts +5 -5
- package/mobile/src/model/AspectsProps.ts +4 -4
- package/mobile/src/model/LinkProps.ts +2 -3
- package/mobile/src/model/LogoType.ts +1 -1
- package/mobile/src/ui-kit/LinkWrapper/LinkWrapper.tsx +1 -2
- package/mobile/src/utils/dataAttributes.ts +2 -2
- package/package.json +1 -1
- package/src/components/ApplicationFormCustom/ApplicationFormCustomContent.ts +2 -2
- package/src/components/ApplicationFormGrantSupport/ApplicationFormGrantSupportContent.ts +6 -6
- package/src/components/Header/HeaderSecondaryMenuButton.tsx +1 -2
- package/src/components/LinkDocs/LinkDocItem.tsx +4 -1
- package/src/components/LinkDocs/LinkDocs.tsx +1 -0
- package/src/components/LinkDocs/LinkDocsContent.ts +6 -4
- package/src/components/LinkDocs/linkDocsContentExample.ts +8 -0
- package/src/components/TabsLayout/TabsLayoutButton.tsx +3 -0
- package/src/components/TabsLayout/TabsLayoutContent.ts +3 -1
- package/src/data/SitemapData.ts +5 -5
- package/src/model/AspectsProps.ts +4 -4
- package/src/model/LinkProps.ts +2 -3
- package/src/model/LogoType.ts +1 -1
- package/src/ui-kit/LinkWrapper/LinkWrapper.tsx +1 -2
- package/src/utils/dataAttributes.ts +2 -2
package/bundle/bundle.umd.js
CHANGED
|
@@ -4645,11 +4645,11 @@
|
|
|
4645
4645
|
return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
|
|
4646
4646
|
};
|
|
4647
4647
|
|
|
4648
|
-
const LinkDocItem = JSX(({ icon, text, href, target, fileFormat, fileSize }) => {
|
|
4648
|
+
const LinkDocItem = JSX(({ icon, text, href, target, fileFormat, data, fileSize }) => {
|
|
4649
4649
|
const prefix = fileSize && fileFormat ? ',' : '';
|
|
4650
4650
|
const size = fileSize ?? '';
|
|
4651
4651
|
const format = fileFormat ? String(fileFormat) : '';
|
|
4652
|
-
return (jsxs("a", { className: "flex box-border gap-s group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", href: href, target: target, children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, " ", addSpace(size, format), jsx(Text, { color: "text-secondary-text", children: href && `${size + prefix + format}` })] })) : null] }));
|
|
4652
|
+
return (jsxs("a", { className: "flex box-border gap-s group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", href: href, target: target, ...getAspectsAttributes(data), children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, " ", addSpace(size, format), jsx(Text, { color: "text-secondary-text", children: href && `${size + prefix + format}` })] })) : null] }));
|
|
4653
4653
|
});
|
|
4654
4654
|
const addSpace = (size, format) => (size || format ? jsx("span", { children: ",\u00A0" }) : '');
|
|
4655
4655
|
|
|
@@ -4672,7 +4672,7 @@
|
|
|
4672
4672
|
? formatBytes(docBlockDef?.attachment?.fileSize || 0)
|
|
4673
4673
|
: docBlockDef?.fileSize;
|
|
4674
4674
|
const fileFormat = docBlockDef?.docType === 'Attachment' ? getExtFromHref(href) : docBlockDef?.fileFormat;
|
|
4675
|
-
return (jsx("div", { role: "listitem", children: jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileFormat: fileFormat, fileSize: fileSize, icon: icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null }) }, String(i)));
|
|
4675
|
+
return (jsx("div", { role: "listitem", children: jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileFormat: fileFormat, fileSize: fileSize, icon: icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null, data: docBlockDef?.data }) }, String(i)));
|
|
4676
4676
|
};
|
|
4677
4677
|
const getExtFromHref = (href) => {
|
|
4678
4678
|
if (!href) {
|
|
@@ -5681,7 +5681,7 @@
|
|
|
5681
5681
|
});
|
|
5682
5682
|
const TabsLayoutButton = JSX(({ tab, className, onClick, isActive }) => {
|
|
5683
5683
|
const buttonClassNames = getButtonClassNames(isActive);
|
|
5684
|
-
return (jsxs("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: style('border border-gray cursor-pointer text-left border-b-0 mt-auto flex gap-2xs', buttonClassNames.btn, className), children: [tab?.icon ? (jsx(Img, { className: style('h-6 w-6 min-w-6 min-h-6', buttonClassNames.icon), image: {
|
|
5684
|
+
return (jsxs("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: style('border border-gray cursor-pointer text-left border-b-0 mt-auto flex gap-2xs', buttonClassNames.btn, className), ...getAspectsAttributes(tab?.data), children: [tab?.icon ? (jsx(Img, { className: style('h-6 w-6 min-w-6 min-h-6', buttonClassNames.icon), image: {
|
|
5685
5685
|
...tab?.icon,
|
|
5686
5686
|
iconVersion: tab?.icon?.iconVersion ?? buttonClassNames.iconVersion,
|
|
5687
5687
|
}, width: "24", height: "24" })) : null, jsxs("div", { className: "border-0", children: [tab?.title ? jsx("div", { className: buttonClassNames.title, children: tab.title }) : null, tab?.description ? jsx("div", { className: buttonClassNames.desc, children: tab.description }) : null] })] }));
|
|
@@ -6155,7 +6155,7 @@
|
|
|
6155
6155
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6156
6156
|
});
|
|
6157
6157
|
|
|
6158
|
-
const packageVersion = "0.14.
|
|
6158
|
+
const packageVersion = "0.14.289";
|
|
6159
6159
|
|
|
6160
6160
|
exports.Blocks = Blocks;
|
|
6161
6161
|
exports.ContentPage = ContentPage;
|