@pronto-tools-and-more/components 9.7.0 → 9.9.0
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/dist/main.js +19 -0
- package/dist/parts/CategoryList/CategoryList.d.ts +4 -0
- package/dist/parts/CategoryListItemRenderer/CategoryListItemRenderer.d.ts +5 -0
- package/dist/parts/Components/Components.d.ts +2 -0
- package/dist/parts/ICategoryItem/ICategoryItem.d.ts +5 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
@@ -22,6 +22,24 @@ var Button = ({
|
|
22
22
|
return /* @__PURE__ */ React.createElement("div", { className: fullClassName }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
23
23
|
};
|
24
24
|
|
25
|
+
// src/parts/CategoryList/CategoryList.tsx
|
26
|
+
var CategoryList = ({
|
27
|
+
render
|
28
|
+
}) => {
|
29
|
+
const json = {
|
30
|
+
render,
|
31
|
+
dataSource: {
|
32
|
+
data: "$context.contentNoSSRCache[0].taxonomies",
|
33
|
+
type: "context",
|
34
|
+
batchSize: 1e6
|
35
|
+
},
|
36
|
+
type: "list",
|
37
|
+
class: "data-custom-category-list",
|
38
|
+
template: "horizontal"
|
39
|
+
};
|
40
|
+
return /* @__PURE__ */ React.createElement("div", { className: "CategoryList" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
41
|
+
};
|
42
|
+
|
25
43
|
// src/parts/Collection/Collection.tsx
|
26
44
|
var Collection = ({
|
27
45
|
limit,
|
@@ -637,6 +655,7 @@ var SubscriptionLink = ({ message } = {}) => {
|
|
637
655
|
};
|
638
656
|
export {
|
639
657
|
Button,
|
658
|
+
CategoryList,
|
640
659
|
Collection,
|
641
660
|
Container,
|
642
661
|
ContentBody,
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export * from "../Button/Button.tsx";
|
2
|
+
export * from "../CategoryList/CategoryList.tsx";
|
2
3
|
export * from "../Collection/Collection.tsx";
|
3
4
|
export * from "../Container/Container.tsx";
|
4
5
|
export * from "../ContentBody/ContentBody.tsx";
|
@@ -13,6 +14,7 @@ export * from "../HeaderLogo/HeaderLogo.tsx";
|
|
13
14
|
export * from "../HeaderLogoSection/HeaderLogoSection.tsx";
|
14
15
|
export * from "../HeaderMenuItems/HeaderMenuItems.tsx";
|
15
16
|
export * from "../Heading/Heading.tsx";
|
17
|
+
export * from "../ICategoryItem/ICategoryItem.ts";
|
16
18
|
export * from "../IFooterSocialLink/IFooterSocialLink.ts";
|
17
19
|
export * from "../IIssueListItem/IIssueListItem.ts";
|
18
20
|
export * from "../ISearchResult/ISearchResult.ts";
|