@pronto-tools-and-more/components 6.24.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 +35 -4
- package/dist/parts/Components/Components.d.ts +2 -0
- package/dist/parts/EPaperLink/EPaperLink.d.ts +3 -0
- package/dist/parts/SubscriptionLink/SubscriptionLink.d.ts +3 -0
- package/package.json +1 -1
- package/src/parts/Components/Components.tsx +2 -0
- package/src/parts/EPaperLink/EPaperLink.tsx +19 -0
- package/src/parts/SearchField/SearchField.tsx +5 -2
- package/src/parts/SubscriptionLink/SubscriptionLink.tsx +19 -0
package/dist/main.js
CHANGED
@@ -4,6 +4,21 @@ var JsonComponent = ({ json }) => {
|
|
4
4
|
return node;
|
5
5
|
};
|
6
6
|
|
7
|
+
// src/parts/EPaperLink/EPaperLink.tsx
|
8
|
+
var EPaperLink = ({ message } = {}) => {
|
9
|
+
const json = {
|
10
|
+
type: "button",
|
11
|
+
tap: {
|
12
|
+
type: "navigate",
|
13
|
+
path: "e-paper"
|
14
|
+
},
|
15
|
+
message,
|
16
|
+
buttonClass: "e-paper",
|
17
|
+
id: "button-epaper"
|
18
|
+
};
|
19
|
+
return /* @__PURE__ */ React.createElement("div", { className: "EPaperLink" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
20
|
+
};
|
21
|
+
|
7
22
|
// src/parts/MenuItems/MenuItems.tsx
|
8
23
|
var MenuItems = ({ menuName }) => {
|
9
24
|
const json = {
|
@@ -69,10 +84,9 @@ var PostContentBody = () => {
|
|
69
84
|
var SearchField = () => {
|
70
85
|
const json = {
|
71
86
|
type: "search-field",
|
72
|
-
className: "searchfield"
|
73
|
-
key: ""
|
87
|
+
className: "searchfield"
|
74
88
|
};
|
75
|
-
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
89
|
+
return /* @__PURE__ */ React.createElement("div", { className: "SearchField" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
76
90
|
};
|
77
91
|
|
78
92
|
// src/parts/SearchLink/SearchLink.tsx
|
@@ -199,7 +213,23 @@ var SearchResults = () => {
|
|
199
213
|
};
|
200
214
|
return /* @__PURE__ */ React.createElement("div", { className: "SearchResults" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
201
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 }));
|
230
|
+
};
|
202
231
|
export {
|
232
|
+
EPaperLink,
|
203
233
|
FooterItemsList,
|
204
234
|
JsonComponent,
|
205
235
|
Link,
|
@@ -208,5 +238,6 @@ export {
|
|
208
238
|
PostContentBody,
|
209
239
|
SearchField,
|
210
240
|
SearchLink,
|
211
|
-
SearchResults
|
241
|
+
SearchResults,
|
242
|
+
SubscriptionLink
|
212
243
|
};
|
@@ -1,3 +1,4 @@
|
|
1
|
+
export * from "../EPaperLink/EPaperLink.tsx";
|
1
2
|
export * from "../FooterItemsList/FooterItemsList.tsx";
|
2
3
|
export * from "../JsonComponent/JsonComponent.tsx";
|
3
4
|
export * from "../Link/Link.tsx";
|
@@ -7,3 +8,4 @@ export * from "../PostContentBody/PostContentBody.tsx";
|
|
7
8
|
export * from "../SearchField/SearchField.tsx";
|
8
9
|
export * from "../SearchLink/SearchLink.tsx";
|
9
10
|
export * from "../SearchResults/SearchResults.tsx";
|
11
|
+
export * from "../SubscriptionLink/SubscriptionLink.tsx";
|
package/package.json
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
export * from "../EPaperLink/EPaperLink.tsx";
|
1
2
|
export * from "../FooterItemsList/FooterItemsList.tsx";
|
2
3
|
export * from "../JsonComponent/JsonComponent.tsx";
|
3
4
|
export * from "../Link/Link.tsx";
|
@@ -7,3 +8,4 @@ export * from "../PostContentBody/PostContentBody.tsx";
|
|
7
8
|
export * from "../SearchField/SearchField.tsx";
|
8
9
|
export * from "../SearchLink/SearchLink.tsx";
|
9
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
|
+
};
|
@@ -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
|
};
|
@@ -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
|
+
};
|