@pronto-tools-and-more/components 6.35.0 → 6.36.0
Sign up to get free protection for your applications and to get access to all the features.
package/dist/main.js
CHANGED
@@ -128,6 +128,16 @@ var Login = () => {
|
|
128
128
|
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
129
129
|
};
|
130
130
|
|
131
|
+
// src/parts/MaskIcon/MaskIcon.tsx
|
132
|
+
var MaskIcon = ({ src }) => {
|
133
|
+
const json = {
|
134
|
+
type: "html",
|
135
|
+
tag: "div",
|
136
|
+
content: `<div style="mask-image: url('${src}')"></div>`
|
137
|
+
};
|
138
|
+
return /* @__PURE__ */ React.createElement("div", { className: "MaskIcon" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
139
|
+
};
|
140
|
+
|
131
141
|
// src/parts/PostContentBody/PostContentBody.tsx
|
132
142
|
var PostContentBody = () => {
|
133
143
|
const json = {
|
@@ -431,6 +441,7 @@ export {
|
|
431
441
|
JsonComponent,
|
432
442
|
Link,
|
433
443
|
Login,
|
444
|
+
MaskIcon,
|
434
445
|
MenuItems,
|
435
446
|
PostContentBody,
|
436
447
|
PublicationToggle,
|
@@ -9,6 +9,7 @@ export * from "../Heading/Heading.tsx";
|
|
9
9
|
export * from "../JsonComponent/JsonComponent.tsx";
|
10
10
|
export * from "../Link/Link.tsx";
|
11
11
|
export * from "../Login/Login.tsx";
|
12
|
+
export * from "../MaskIcon/MaskIcon.tsx";
|
12
13
|
export * from "../MenuItems/MenuItems.tsx";
|
13
14
|
export * from "../PostContentBody/PostContentBody.tsx";
|
14
15
|
export * from "../PublicationToggle/PublicationToggle.tsx";
|