@pronto-tools-and-more/components 6.35.0 → 6.36.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
@@ -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";
@@ -0,0 +1,3 @@
1
+ export declare const MaskIcon: ({ src }: {
2
+ src: string;
3
+ }) => import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "6.35.0",
3
+ "version": "6.36.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",