@pronto-tools-and-more/components 6.23.0 → 6.25.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 +59 -17
- package/dist/parts/Components/Components.d.ts +3 -0
- package/dist/parts/EPaperLink/EPaperLink.d.ts +3 -0
- package/dist/parts/FooterItemsList/FooterItemsList.d.ts +4 -0
- package/dist/parts/SearchLink/SearchLink.d.ts +3 -1
- package/dist/parts/SubscriptionLink/SubscriptionLink.d.ts +3 -0
- package/package.json +1 -1
- package/src/parts/Components/Components.tsx +3 -0
- package/src/parts/EPaperLink/EPaperLink.tsx +19 -0
- package/src/parts/FooterItemsList/FooterItemsList.tsx +13 -0
- package/src/parts/SearchField/SearchField.tsx +5 -2
- package/src/parts/SearchLink/SearchLink.tsx +7 -2
- package/src/parts/SearchResults/SearchResults.tsx +5 -1
- package/src/parts/SubscriptionLink/SubscriptionLink.tsx +19 -0
package/dist/main.js
CHANGED
@@ -4,18 +4,19 @@ var JsonComponent = ({ json }) => {
|
|
4
4
|
return node;
|
5
5
|
};
|
6
6
|
|
7
|
-
// src/parts/
|
8
|
-
var
|
9
|
-
const json = {};
|
10
|
-
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
11
|
-
};
|
12
|
-
|
13
|
-
// src/parts/Login/Login.tsx
|
14
|
-
var Login = () => {
|
7
|
+
// src/parts/EPaperLink/EPaperLink.tsx
|
8
|
+
var EPaperLink = ({ message } = {}) => {
|
15
9
|
const json = {
|
16
|
-
type: "
|
10
|
+
type: "button",
|
11
|
+
tap: {
|
12
|
+
type: "navigate",
|
13
|
+
path: "e-paper"
|
14
|
+
},
|
15
|
+
message,
|
16
|
+
buttonClass: "e-paper",
|
17
|
+
id: "button-epaper"
|
17
18
|
};
|
18
|
-
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
19
|
+
return /* @__PURE__ */ React.createElement("div", { className: "EPaperLink" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
19
20
|
};
|
20
21
|
|
21
22
|
// src/parts/MenuItems/MenuItems.tsx
|
@@ -35,6 +36,29 @@ var MenuItems = ({ menuName }) => {
|
|
35
36
|
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
36
37
|
};
|
37
38
|
|
39
|
+
// src/parts/FooterItemsList/FooterItemsList.tsx
|
40
|
+
var FooterItemsList = ({
|
41
|
+
className,
|
42
|
+
menuName = ""
|
43
|
+
} = {}) => {
|
44
|
+
const fullClassName = `FooterItemsList ${className}`;
|
45
|
+
return /* @__PURE__ */ React.createElement("div", { className: fullClassName }, /* @__PURE__ */ React.createElement(MenuItems, { menuName }));
|
46
|
+
};
|
47
|
+
|
48
|
+
// src/parts/Link/Link.tsx
|
49
|
+
var Link = () => {
|
50
|
+
const json = {};
|
51
|
+
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
52
|
+
};
|
53
|
+
|
54
|
+
// src/parts/Login/Login.tsx
|
55
|
+
var Login = () => {
|
56
|
+
const json = {
|
57
|
+
type: "login"
|
58
|
+
};
|
59
|
+
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
60
|
+
};
|
61
|
+
|
38
62
|
// src/parts/PostContentBody/PostContentBody.tsx
|
39
63
|
var PostContentBody = () => {
|
40
64
|
const json = {
|
@@ -60,24 +84,24 @@ var PostContentBody = () => {
|
|
60
84
|
var SearchField = () => {
|
61
85
|
const json = {
|
62
86
|
type: "search-field",
|
63
|
-
className: "searchfield"
|
64
|
-
key: ""
|
87
|
+
className: "searchfield"
|
65
88
|
};
|
66
|
-
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
89
|
+
return /* @__PURE__ */ React.createElement("div", { className: "SearchField" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
67
90
|
};
|
68
91
|
|
69
92
|
// src/parts/SearchLink/SearchLink.tsx
|
70
|
-
var SearchLink = () => {
|
93
|
+
var SearchLink = ({ message } = {}) => {
|
71
94
|
const json = {
|
72
95
|
type: "button",
|
73
96
|
tap: {
|
74
97
|
type: "navigate",
|
75
98
|
path: "suche"
|
76
99
|
},
|
100
|
+
message,
|
77
101
|
buttonClass: "search",
|
78
102
|
id: "button-search"
|
79
103
|
};
|
80
|
-
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
104
|
+
return /* @__PURE__ */ React.createElement("div", { className: "SearchLink" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
81
105
|
};
|
82
106
|
|
83
107
|
// src/parts/SearchResults/SearchResults.tsx
|
@@ -187,9 +211,26 @@ var SearchResults = () => {
|
|
187
211
|
type: "openContent"
|
188
212
|
}
|
189
213
|
};
|
190
|
-
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
214
|
+
return /* @__PURE__ */ React.createElement("div", { className: "SearchResults" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
215
|
+
};
|
216
|
+
|
217
|
+
// src/parts/SubscriptionLink/SubscriptionLink.tsx
|
218
|
+
var SubscriptionLink = ({ message } = {}) => {
|
219
|
+
const json = {
|
220
|
+
type: "button",
|
221
|
+
tap: {
|
222
|
+
type: "navigate",
|
223
|
+
path: "subscriptions"
|
224
|
+
},
|
225
|
+
message,
|
226
|
+
buttonClass: "subscriptions",
|
227
|
+
id: "button-subscriptions"
|
228
|
+
};
|
229
|
+
return /* @__PURE__ */ React.createElement("div", { className: "SubscriptionLink" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
191
230
|
};
|
192
231
|
export {
|
232
|
+
EPaperLink,
|
233
|
+
FooterItemsList,
|
193
234
|
JsonComponent,
|
194
235
|
Link,
|
195
236
|
Login,
|
@@ -197,5 +238,6 @@ export {
|
|
197
238
|
PostContentBody,
|
198
239
|
SearchField,
|
199
240
|
SearchLink,
|
200
|
-
SearchResults
|
241
|
+
SearchResults,
|
242
|
+
SubscriptionLink
|
201
243
|
};
|
@@ -1,3 +1,5 @@
|
|
1
|
+
export * from "../EPaperLink/EPaperLink.tsx";
|
2
|
+
export * from "../FooterItemsList/FooterItemsList.tsx";
|
1
3
|
export * from "../JsonComponent/JsonComponent.tsx";
|
2
4
|
export * from "../Link/Link.tsx";
|
3
5
|
export * from "../Login/Login.tsx";
|
@@ -6,3 +8,4 @@ export * from "../PostContentBody/PostContentBody.tsx";
|
|
6
8
|
export * from "../SearchField/SearchField.tsx";
|
7
9
|
export * from "../SearchLink/SearchLink.tsx";
|
8
10
|
export * from "../SearchResults/SearchResults.tsx";
|
11
|
+
export * from "../SubscriptionLink/SubscriptionLink.tsx";
|
package/package.json
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
export * from "../EPaperLink/EPaperLink.tsx";
|
2
|
+
export * from "../FooterItemsList/FooterItemsList.tsx";
|
1
3
|
export * from "../JsonComponent/JsonComponent.tsx";
|
2
4
|
export * from "../Link/Link.tsx";
|
3
5
|
export * from "../Login/Login.tsx";
|
@@ -6,3 +8,4 @@ export * from "../PostContentBody/PostContentBody.tsx";
|
|
6
8
|
export * from "../SearchField/SearchField.tsx";
|
7
9
|
export * from "../SearchLink/SearchLink.tsx";
|
8
10
|
export * from "../SearchResults/SearchResults.tsx";
|
11
|
+
export * from "../SubscriptionLink/SubscriptionLink.tsx";
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { JsonComponent } from "../JsonComponent/JsonComponent.tsx";
|
2
|
+
|
3
|
+
export const EPaperLink = ({ message }: { message?: string } = {}) => {
|
4
|
+
const json = {
|
5
|
+
type: "button",
|
6
|
+
tap: {
|
7
|
+
type: "navigate",
|
8
|
+
path: "e-paper",
|
9
|
+
},
|
10
|
+
message,
|
11
|
+
buttonClass: "e-paper",
|
12
|
+
id: "button-epaper",
|
13
|
+
};
|
14
|
+
return (
|
15
|
+
<div className="EPaperLink">
|
16
|
+
<JsonComponent json={json} />
|
17
|
+
</div>
|
18
|
+
);
|
19
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { MenuItems } from "../MenuItems/MenuItems.tsx";
|
2
|
+
|
3
|
+
export const FooterItemsList = ({
|
4
|
+
className,
|
5
|
+
menuName = "",
|
6
|
+
}: { className?: string; menuName?: string } = {}) => {
|
7
|
+
const fullClassName = `FooterItemsList ${className}`;
|
8
|
+
return (
|
9
|
+
<div className={fullClassName}>
|
10
|
+
<MenuItems menuName={menuName} />
|
11
|
+
</div>
|
12
|
+
);
|
13
|
+
};
|
@@ -5,7 +5,10 @@ export const SearchField = (): React.ReactElement => {
|
|
5
5
|
const json = {
|
6
6
|
type: "search-field",
|
7
7
|
className: "searchfield",
|
8
|
-
key: "",
|
9
8
|
};
|
10
|
-
return
|
9
|
+
return (
|
10
|
+
<div className="SearchField">
|
11
|
+
<JsonComponent json={json} />
|
12
|
+
</div>
|
13
|
+
);
|
11
14
|
};
|
@@ -1,14 +1,19 @@
|
|
1
1
|
import { JsonComponent } from "../JsonComponent/JsonComponent.tsx";
|
2
2
|
|
3
|
-
export const SearchLink = () => {
|
3
|
+
export const SearchLink = ({ message }: { message?: string } = {}) => {
|
4
4
|
const json = {
|
5
5
|
type: "button",
|
6
6
|
tap: {
|
7
7
|
type: "navigate",
|
8
8
|
path: "suche",
|
9
9
|
},
|
10
|
+
message,
|
10
11
|
buttonClass: "search",
|
11
12
|
id: "button-search",
|
12
13
|
};
|
13
|
-
return
|
14
|
+
return (
|
15
|
+
<div className="SearchLink">
|
16
|
+
<JsonComponent json={json} />
|
17
|
+
</div>
|
18
|
+
);
|
14
19
|
};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { JsonComponent } from "../JsonComponent/JsonComponent.tsx";
|
2
|
+
|
3
|
+
export const SubscriptionLink = ({ message }: { message?: string } = {}) => {
|
4
|
+
const json = {
|
5
|
+
type: "button",
|
6
|
+
tap: {
|
7
|
+
type: "navigate",
|
8
|
+
path: "subscriptions",
|
9
|
+
},
|
10
|
+
message,
|
11
|
+
buttonClass: "subscriptions",
|
12
|
+
id: "button-subscriptions",
|
13
|
+
};
|
14
|
+
return (
|
15
|
+
<div className="SubscriptionLink">
|
16
|
+
<JsonComponent json={json} />
|
17
|
+
</div>
|
18
|
+
);
|
19
|
+
};
|