@pronto-tools-and-more/components 6.23.0 → 6.24.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 +28 -17
- package/dist/parts/Components/Components.d.ts +1 -0
- package/dist/parts/FooterItemsList/FooterItemsList.d.ts +4 -0
- package/dist/parts/SearchLink/SearchLink.d.ts +3 -1
- package/package.json +1 -1
- package/src/parts/Components/Components.tsx +1 -0
- package/src/parts/FooterItemsList/FooterItemsList.tsx +13 -0
- package/src/parts/SearchLink/SearchLink.tsx +7 -2
- package/src/parts/SearchResults/SearchResults.tsx +5 -1
package/dist/main.js
CHANGED
@@ -4,20 +4,6 @@ var JsonComponent = ({ json }) => {
|
|
4
4
|
return node;
|
5
5
|
};
|
6
6
|
|
7
|
-
// src/parts/Link/Link.tsx
|
8
|
-
var Link = () => {
|
9
|
-
const json = {};
|
10
|
-
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
11
|
-
};
|
12
|
-
|
13
|
-
// src/parts/Login/Login.tsx
|
14
|
-
var Login = () => {
|
15
|
-
const json = {
|
16
|
-
type: "login"
|
17
|
-
};
|
18
|
-
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
19
|
-
};
|
20
|
-
|
21
7
|
// src/parts/MenuItems/MenuItems.tsx
|
22
8
|
var MenuItems = ({ menuName }) => {
|
23
9
|
const json = {
|
@@ -35,6 +21,29 @@ var MenuItems = ({ menuName }) => {
|
|
35
21
|
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
36
22
|
};
|
37
23
|
|
24
|
+
// src/parts/FooterItemsList/FooterItemsList.tsx
|
25
|
+
var FooterItemsList = ({
|
26
|
+
className,
|
27
|
+
menuName = ""
|
28
|
+
} = {}) => {
|
29
|
+
const fullClassName = `FooterItemsList ${className}`;
|
30
|
+
return /* @__PURE__ */ React.createElement("div", { className: fullClassName }, /* @__PURE__ */ React.createElement(MenuItems, { menuName }));
|
31
|
+
};
|
32
|
+
|
33
|
+
// src/parts/Link/Link.tsx
|
34
|
+
var Link = () => {
|
35
|
+
const json = {};
|
36
|
+
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
37
|
+
};
|
38
|
+
|
39
|
+
// src/parts/Login/Login.tsx
|
40
|
+
var Login = () => {
|
41
|
+
const json = {
|
42
|
+
type: "login"
|
43
|
+
};
|
44
|
+
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
45
|
+
};
|
46
|
+
|
38
47
|
// src/parts/PostContentBody/PostContentBody.tsx
|
39
48
|
var PostContentBody = () => {
|
40
49
|
const json = {
|
@@ -67,17 +76,18 @@ var SearchField = () => {
|
|
67
76
|
};
|
68
77
|
|
69
78
|
// src/parts/SearchLink/SearchLink.tsx
|
70
|
-
var SearchLink = () => {
|
79
|
+
var SearchLink = ({ message } = {}) => {
|
71
80
|
const json = {
|
72
81
|
type: "button",
|
73
82
|
tap: {
|
74
83
|
type: "navigate",
|
75
84
|
path: "suche"
|
76
85
|
},
|
86
|
+
message,
|
77
87
|
buttonClass: "search",
|
78
88
|
id: "button-search"
|
79
89
|
};
|
80
|
-
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
90
|
+
return /* @__PURE__ */ React.createElement("div", { className: "SearchLink" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
81
91
|
};
|
82
92
|
|
83
93
|
// src/parts/SearchResults/SearchResults.tsx
|
@@ -187,9 +197,10 @@ var SearchResults = () => {
|
|
187
197
|
type: "openContent"
|
188
198
|
}
|
189
199
|
};
|
190
|
-
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
200
|
+
return /* @__PURE__ */ React.createElement("div", { className: "SearchResults" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
191
201
|
};
|
192
202
|
export {
|
203
|
+
FooterItemsList,
|
193
204
|
JsonComponent,
|
194
205
|
Link,
|
195
206
|
Login,
|
package/package.json
CHANGED
@@ -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
|
+
};
|
@@ -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
|
};
|