@pronto-tools-and-more/components 7.3.0 → 7.5.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 CHANGED
@@ -28,6 +28,62 @@ var ContentTitle = () => {
28
28
  return /* @__PURE__ */ React.createElement(JsonComponent, { json });
29
29
  };
30
30
 
31
+ // src/parts/DossierList/DossierList.tsx
32
+ var DossierList = () => {
33
+ const json = {
34
+ content: {
35
+ type: "html",
36
+ tag: "pre",
37
+ content: "$functions.handleContent($context.content)"
38
+ },
39
+ dataSource: {
40
+ type: "content",
41
+ filter: {
42
+ bundleType: {
43
+ value: "DOSSIER"
44
+ }
45
+ },
46
+ sort: [],
47
+ batchSize: 12,
48
+ fetchOptions: {
49
+ includeBundledContent: true
50
+ }
51
+ },
52
+ type: "list",
53
+ class: "epaper-issues",
54
+ template: "grid"
55
+ };
56
+ return /* @__PURE__ */ React.createElement("div", { className: "DossierList" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
57
+ };
58
+
59
+ // src/parts/DossierSwiper/DossierSwiper.tsx
60
+ var DossierSwiper = () => {
61
+ const json = {
62
+ content: {
63
+ type: "html",
64
+ tag: "pre",
65
+ content: "$functions.handleContent($context.content)"
66
+ },
67
+ dataSource: {
68
+ type: "content",
69
+ filter: {
70
+ bundleType: {
71
+ value: "DOSSIER"
72
+ }
73
+ },
74
+ sort: [],
75
+ batchSize: 12,
76
+ fetchOptions: {
77
+ includeBundledContent: true
78
+ }
79
+ },
80
+ type: "list",
81
+ class: "epaper-issues",
82
+ template: "grid"
83
+ };
84
+ return /* @__PURE__ */ React.createElement("div", { className: "DossierSwiper" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
85
+ };
86
+
31
87
  // src/parts/EPaperLink/EPaperLink.tsx
32
88
  var EPaperLink = ({ message } = {}) => {
33
89
  const json = {
@@ -465,6 +521,8 @@ export {
465
521
  Container,
466
522
  ContentBody,
467
523
  ContentTitle,
524
+ DossierList,
525
+ DossierSwiper,
468
526
  EPaperLink,
469
527
  FooterItemsList,
470
528
  FooterSocialLink,
@@ -1,6 +1,8 @@
1
1
  export * from "../Container/Container.tsx";
2
2
  export * from "../ContentBody/ContentBody.tsx";
3
3
  export * from "../ContentTitle/ContentTitle.tsx";
4
+ export * from "../DossierList/DossierList.tsx";
5
+ export * from "../DossierSwiper/DossierSwiper.tsx";
4
6
  export * from "../EPaperLink/EPaperLink.tsx";
5
7
  export * from "../FooterItemsList/FooterItemsList.tsx";
6
8
  export * from "../FooterSocialLink/FooterSocialLink.tsx";
@@ -0,0 +1 @@
1
+ export declare const DossierList: () => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const DossierSwiper: () => import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "7.3.0",
3
+ "version": "7.5.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
@@ -17,7 +17,7 @@
17
17
  "license": "MIT",
18
18
  "devDependencies": {
19
19
  "@types/node": "^22.5.0",
20
- "@types/react": "^18.3.11",
20
+ "@types/react": "^18.3.12",
21
21
  "esbuild": "^0.24.0",
22
22
  "react": "^18.3.1",
23
23
  "ts-jest": "^29.2.5"