@purr-react-tailwindcss/components.icon 0.0.1
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/_anchor-Bz5r2XJl.cjs +1 -0
- package/dist/_anchor-Z0pFTzu-.js +31 -0
- package/dist/_arrow-down-DEXhnXl5.cjs +1 -0
- package/dist/_arrow-down-DgCYrS1o.js +30 -0
- package/dist/_arrow-left-D-_hRrvS.cjs +1 -0
- package/dist/_arrow-left-OECqQs0s.js +30 -0
- package/dist/_arrow-right-CF2KQyQA.js +30 -0
- package/dist/_arrow-right-aFJBg57p.cjs +1 -0
- package/dist/_arrow-up-8lluhIIo.js +30 -0
- package/dist/_arrow-up-D_XQetba.cjs +1 -0
- package/dist/_bomb-H0a4YrOh.js +32 -0
- package/dist/_bomb-rGyC0xpB.cjs +1 -0
- package/dist/_bookmark-Bxd9KtO1.js +27 -0
- package/dist/_bookmark-CTkJoqAz.cjs +1 -0
- package/dist/_chevron-down-BgZBy2hn.js +27 -0
- package/dist/_chevron-down-CRfuMvHD.cjs +1 -0
- package/dist/_chevron-left-DXeG7Wuu.js +27 -0
- package/dist/_chevron-left-DxuaLJdU.cjs +1 -0
- package/dist/_chevron-right-BY7xkyqe.cjs +1 -0
- package/dist/_chevron-right-eb4S-suO.js +27 -0
- package/dist/_chevron-up-B65PDieM.js +27 -0
- package/dist/_chevron-up-sdHFa5Ud.cjs +1 -0
- package/dist/_components.d.ts +4 -0
- package/dist/_contact-CG9UgYQ4.js +33 -0
- package/dist/_contact-CH2FajDX.cjs +1 -0
- package/dist/_copy-CipcUpEL.js +30 -0
- package/dist/_copy-SRFzP3xo.cjs +1 -0
- package/dist/_external-link-C1rWM7Xp.cjs +1 -0
- package/dist/_external-link-DNsCye3s.js +31 -0
- package/dist/_facebook-COBlkYGn.cjs +1 -0
- package/dist/_facebook-CQffkxE4.js +27 -0
- package/dist/_git-hub-DZemfvew.js +30 -0
- package/dist/_git-hub-OidttrkB.cjs +1 -0
- package/dist/_info-3vFKPy6N.js +31 -0
- package/dist/_info-DBgLVAvj.cjs +1 -0
- package/dist/_linked-in-B1U3CsBJ.js +31 -0
- package/dist/_linked-in-Bj6yMAAQ.cjs +1 -0
- package/dist/_loader-2-DsV94GqP.cjs +1 -0
- package/dist/_loader-2-ivSN7hp3.js +30 -0
- package/dist/_react-js-BRsbFKLR.js +36 -0
- package/dist/_react-js-z52PCKf_.cjs +1 -0
- package/dist/_rss-CYkLmyiu.cjs +1 -0
- package/dist/_rss-CeSeal_p.js +31 -0
- package/dist/_save-BTJJ3aLE.cjs +1 -0
- package/dist/_save-DTxJzpUE.js +31 -0
- package/dist/_script-C0xXps_j.js +30 -0
- package/dist/_script-CGtuCmDB.cjs +1 -0
- package/dist/_settings-CpMIp76O.js +30 -0
- package/dist/_settings-DnoKRi5n.cjs +1 -0
- package/dist/_types.d.ts +15 -0
- package/dist/_upwork-BbSfQudC.cjs +1 -0
- package/dist/_upwork-C_hOnzZY.js +30 -0
- package/dist/_user-search-oN7lrZxy.cjs +1 -0
- package/dist/_user-search-xVPRsSZ_.js +32 -0
- package/dist/_x-BOFyGuO0.js +26 -0
- package/dist/_x-BpoPB6xP.cjs +1 -0
- package/dist/icons/_anchor.d.ts +4 -0
- package/dist/icons/_arrow-down.d.ts +4 -0
- package/dist/icons/_arrow-left.d.ts +4 -0
- package/dist/icons/_arrow-right.d.ts +4 -0
- package/dist/icons/_arrow-up.d.ts +4 -0
- package/dist/icons/_bomb.d.ts +4 -0
- package/dist/icons/_bookmark.d.ts +4 -0
- package/dist/icons/_chevron-down.d.ts +4 -0
- package/dist/icons/_chevron-left.d.ts +4 -0
- package/dist/icons/_chevron-right.d.ts +4 -0
- package/dist/icons/_chevron-up.d.ts +4 -0
- package/dist/icons/_contact.d.ts +4 -0
- package/dist/icons/_copy.d.ts +4 -0
- package/dist/icons/_external-link.d.ts +4 -0
- package/dist/icons/_facebook.d.ts +4 -0
- package/dist/icons/_git-hub.d.ts +4 -0
- package/dist/icons/_info.d.ts +4 -0
- package/dist/icons/_linked-in.d.ts +4 -0
- package/dist/icons/_loader-2.d.ts +4 -0
- package/dist/icons/_react-js.d.ts +4 -0
- package/dist/icons/_rss.d.ts +4 -0
- package/dist/icons/_save.d.ts +4 -0
- package/dist/icons/_script.d.ts +4 -0
- package/dist/icons/_settings.d.ts +4 -0
- package/dist/icons/_upwork.d.ts +4 -0
- package/dist/icons/_user-search.d.ts +4 -0
- package/dist/icons/_x.d.ts +4 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +85 -0
- package/package.json +39 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import i from "clsx";
|
|
3
|
+
const d = ({
|
|
4
|
+
classes: o,
|
|
5
|
+
name: n,
|
|
6
|
+
htmlAttributes: t
|
|
7
|
+
}) => /* @__PURE__ */ e(
|
|
8
|
+
"svg",
|
|
9
|
+
{
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: "24",
|
|
12
|
+
height: "24",
|
|
13
|
+
viewBox: "0 0 24 24",
|
|
14
|
+
fill: "none",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "1.5",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round",
|
|
19
|
+
color: "#ffffff",
|
|
20
|
+
className: i("icon", `icon--${n}`, o == null ? void 0 : o.container),
|
|
21
|
+
...t,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ r("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
24
|
+
/* @__PURE__ */ r("path", { d: "M12 3a9 9 0 1 0 9 9" })
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
export {
|
|
29
|
+
d as IconLoader2
|
|
30
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsxs as n, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import h from "clsx";
|
|
3
|
+
const d = ({
|
|
4
|
+
classes: o,
|
|
5
|
+
name: t,
|
|
6
|
+
htmlAttributes: r
|
|
7
|
+
}) => /* @__PURE__ */ n(
|
|
8
|
+
"svg",
|
|
9
|
+
{
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: "24",
|
|
12
|
+
height: "24",
|
|
13
|
+
viewBox: "0 0 24 24",
|
|
14
|
+
fill: "none",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "1.5",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round",
|
|
19
|
+
color: "#ffffff",
|
|
20
|
+
className: h("icon", `icon--${t}`, o == null ? void 0 : o.container),
|
|
21
|
+
...r,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ c("path", { stroke: "none", d: "M0 0h24v24H0z" }),
|
|
24
|
+
/* @__PURE__ */ c("path", { d: "M6.306 8.711c-2.602 .723 -4.306 1.926 -4.306 3.289c0 2.21 4.477 4 10 4c.773 0 1.526 -.035 2.248 -.102" }),
|
|
25
|
+
/* @__PURE__ */ c("path", { d: "M17.692 15.289c2.603 -.722 4.308 -1.926 4.308 -3.289c0 -2.21 -4.477 -4 -10 -4c-.773 0 -1.526 .035 -2.25 .102" }),
|
|
26
|
+
/* @__PURE__ */ c("path", { d: "M6.305 15.287c-.676 2.615 -.485 4.693 .695 5.373c1.913 1.105 5.703 -1.877 8.464 -6.66c.387 -.67 .733 -1.339 1.036 -2" }),
|
|
27
|
+
/* @__PURE__ */ c("path", { d: "M17.694 8.716c.677 -2.616 .487 -4.696 -.694 -5.376c-1.913 -1.105 -5.703 1.877 -8.464 6.66c-.387 .67 -.733 1.34 -1.037 2" }),
|
|
28
|
+
/* @__PURE__ */ c("path", { d: "M12 5.424c-1.925 -1.892 -3.82 -2.766 -5 -2.084c-1.913 1.104 -1.226 5.877 1.536 10.66c.386 .67 .793 1.304 1.212 1.896" }),
|
|
29
|
+
/* @__PURE__ */ c("path", { d: "M12 18.574c1.926 1.893 3.821 2.768 5 2.086c1.913 -1.104 1.226 -5.877 -1.536 -10.66c-.375 -.65 -.78 -1.283 -1.212 -1.897" }),
|
|
30
|
+
/* @__PURE__ */ c("path", { d: "M11.5 12.866a1 1 0 1 0 1 -1.732a1 1 0 0 0 -1 1.732z" })
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
export {
|
|
35
|
+
d as IconReactJs
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("clsx"),r=({classes:c,name:o,htmlAttributes:e})=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",color:"#ffffff",className:n("icon",`icon--${o}`,c==null?void 0:c.container),...e,children:[t.jsx("path",{stroke:"none",d:"M0 0h24v24H0z"}),t.jsx("path",{d:"M6.306 8.711c-2.602 .723 -4.306 1.926 -4.306 3.289c0 2.21 4.477 4 10 4c.773 0 1.526 -.035 2.248 -.102"}),t.jsx("path",{d:"M17.692 15.289c2.603 -.722 4.308 -1.926 4.308 -3.289c0 -2.21 -4.477 -4 -10 -4c-.773 0 -1.526 .035 -2.25 .102"}),t.jsx("path",{d:"M6.305 15.287c-.676 2.615 -.485 4.693 .695 5.373c1.913 1.105 5.703 -1.877 8.464 -6.66c.387 -.67 .733 -1.339 1.036 -2"}),t.jsx("path",{d:"M17.694 8.716c.677 -2.616 .487 -4.696 -.694 -5.376c-1.913 -1.105 -5.703 1.877 -8.464 6.66c-.387 .67 -.733 1.34 -1.037 2"}),t.jsx("path",{d:"M12 5.424c-1.925 -1.892 -3.82 -2.766 -5 -2.084c-1.913 1.104 -1.226 5.877 1.536 10.66c.386 .67 .793 1.304 1.212 1.896"}),t.jsx("path",{d:"M12 18.574c1.926 1.893 3.821 2.768 5 2.086c1.913 -1.104 1.226 -5.877 -1.536 -10.66c-.375 -.65 -.78 -1.283 -1.212 -1.897"}),t.jsx("path",{d:"M11.5 12.866a1 1 0 1 0 1 -1.732a1 1 0 0 0 -1 1.732z"})]});exports.IconReactJs=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("clsx"),i=({classes:r,name:t,htmlAttributes:e})=>o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",color:"#ffffff",className:n("icon",`icon--${t}`,r==null?void 0:r.container),...e,children:[o.jsx("path",{d:"M4 11a9 9 0 0 1 9 9"}),o.jsx("path",{d:"M4 4a16 16 0 0 1 16 16"}),o.jsx("circle",{cx:"5",cy:"19",r:"1"})]});exports.IconRss=i;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import e from "clsx";
|
|
3
|
+
const h = ({
|
|
4
|
+
classes: o,
|
|
5
|
+
name: t,
|
|
6
|
+
htmlAttributes: n
|
|
7
|
+
}) => /* @__PURE__ */ i(
|
|
8
|
+
"svg",
|
|
9
|
+
{
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: "24",
|
|
12
|
+
height: "24",
|
|
13
|
+
viewBox: "0 0 24 24",
|
|
14
|
+
fill: "none",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "1.5",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round",
|
|
19
|
+
color: "#ffffff",
|
|
20
|
+
className: e("icon", `icon--${t}`, o == null ? void 0 : o.container),
|
|
21
|
+
...n,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ r("path", { d: "M4 11a9 9 0 0 1 9 9" }),
|
|
24
|
+
/* @__PURE__ */ r("path", { d: "M4 4a16 16 0 0 1 16 16" }),
|
|
25
|
+
/* @__PURE__ */ r("circle", { cx: "5", cy: "19", r: "1" })
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
export {
|
|
30
|
+
h as IconRss
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),r=require("clsx"),i=({classes:t,name:e,htmlAttributes:n})=>o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",color:"#ffffff",className:r("icon",`icon--${e}`,t==null?void 0:t.container),...n,children:[o.jsx("path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"}),o.jsx("path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7"}),o.jsx("path",{d:"M7 3v4a1 1 0 0 0 1 1h7"})]});exports.IconSave=i;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import a from "clsx";
|
|
3
|
+
const f = ({
|
|
4
|
+
classes: o,
|
|
5
|
+
name: t,
|
|
6
|
+
htmlAttributes: n
|
|
7
|
+
}) => /* @__PURE__ */ i(
|
|
8
|
+
"svg",
|
|
9
|
+
{
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: "24",
|
|
12
|
+
height: "24",
|
|
13
|
+
viewBox: "0 0 24 24",
|
|
14
|
+
fill: "none",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "1.5",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round",
|
|
19
|
+
color: "#ffffff",
|
|
20
|
+
className: a("icon", `icon--${t}`, o == null ? void 0 : o.container),
|
|
21
|
+
...n,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ r("path", { d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" }),
|
|
24
|
+
/* @__PURE__ */ r("path", { d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7" }),
|
|
25
|
+
/* @__PURE__ */ r("path", { d: "M7 3v4a1 1 0 0 0 1 1h7" })
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
export {
|
|
30
|
+
f as IconSave
|
|
31
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import e from "clsx";
|
|
3
|
+
const c = ({
|
|
4
|
+
classes: o,
|
|
5
|
+
name: t,
|
|
6
|
+
htmlAttributes: n
|
|
7
|
+
}) => /* @__PURE__ */ i(
|
|
8
|
+
"svg",
|
|
9
|
+
{
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: "24",
|
|
12
|
+
height: "24",
|
|
13
|
+
viewBox: "0 0 24 24",
|
|
14
|
+
fill: "none",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "1.5",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round",
|
|
19
|
+
color: "#ffffff",
|
|
20
|
+
className: e("icon", `icon--${t}`, o == null ? void 0 : o.container),
|
|
21
|
+
...n,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ r("path", { stroke: "none", d: "M0 0h24v24H0z" }),
|
|
24
|
+
/* @__PURE__ */ r("path", { d: "M17 20h-11a3 3 0 0 1 0 -6h11a3 3 0 0 0 0 6h1a3 3 0 0 0 3 -3v-11a2 2 0 0 0 -2 -2h-10a2 2 0 0 0 -2 2v8" })
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
export {
|
|
29
|
+
c as IconScript
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),e=require("clsx"),i=({classes:o,name:r,htmlAttributes:n})=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",color:"#ffffff",className:e("icon",`icon--${r}`,o==null?void 0:o.container),...n,children:[t.jsx("path",{stroke:"none",d:"M0 0h24v24H0z"}),t.jsx("path",{d:"M17 20h-11a3 3 0 0 1 0 -6h11a3 3 0 0 0 0 6h1a3 3 0 0 0 3 -3v-11a2 2 0 0 0 -2 -2h-10a2 2 0 0 0 -2 2v8"})]});exports.IconScript=i;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs as t, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import n from "clsx";
|
|
3
|
+
const c = ({
|
|
4
|
+
classes: a,
|
|
5
|
+
name: r,
|
|
6
|
+
htmlAttributes: l
|
|
7
|
+
}) => /* @__PURE__ */ t(
|
|
8
|
+
"svg",
|
|
9
|
+
{
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: "24",
|
|
12
|
+
height: "24",
|
|
13
|
+
viewBox: "0 0 24 24",
|
|
14
|
+
fill: "none",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "1.5",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round",
|
|
19
|
+
color: "#ffffff",
|
|
20
|
+
className: n("icon", `icon--${r}`, a == null ? void 0 : a.container),
|
|
21
|
+
...l,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ o("path", { d: "M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z" }),
|
|
24
|
+
/* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "3" })
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
export {
|
|
29
|
+
c as IconSettings
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("clsx"),r=({classes:a,name:o,htmlAttributes:e})=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",color:"#ffffff",className:n("icon",`icon--${o}`,a==null?void 0:a.container),...e,children:[t.jsx("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),t.jsx("circle",{cx:"12",cy:"12",r:"3"})]});exports.IconSettings=r;
|
package/dist/_types.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
|
+
import { SVGProps } from 'react';
|
|
3
|
+
import { IExtendable } from '@purr-core/utils.definitions';
|
|
4
|
+
|
|
5
|
+
export interface IIconClasses {
|
|
6
|
+
container?: ClassValue;
|
|
7
|
+
}
|
|
8
|
+
export type TIconName = "anchor" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "bomb" | "bookmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "contact" | "copy" | "external-link" | "facebook" | "git-hub" | "info" | "linked-in" | "loader-2" | "react-js" | "rss" | "save" | "settings" | "upwork" | "user-search" | "x";
|
|
9
|
+
export interface ISingleIconProps {
|
|
10
|
+
classes?: IIconClasses;
|
|
11
|
+
name: TIconName;
|
|
12
|
+
htmlAttributes?: SVGProps<SVGSVGElement> & IExtendable;
|
|
13
|
+
}
|
|
14
|
+
export interface IIconProps extends ISingleIconProps {
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),e=require("clsx"),i=({classes:o,name:n,htmlAttributes:t})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",color:"#ffffff",className:e("icon",`icon--${n}`,o==null?void 0:o.container),...t,children:[r.jsx("path",{stroke:"none",d:"M0 0h24v24H0z"}),r.jsx("path",{d:"M3 7v5a3 3 0 0 0 6 0v-5h1l4 6c.824 1.319 1.945 2 3.5 2a3.5 3.5 0 0 0 0 -7c-2.027 0 -3.137 1 -3.5 3c-.242 1.33 -.908 4 -2 8"})]});exports.IconUpwork=i;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import e from "clsx";
|
|
3
|
+
const f = ({
|
|
4
|
+
classes: o,
|
|
5
|
+
name: n,
|
|
6
|
+
htmlAttributes: t
|
|
7
|
+
}) => /* @__PURE__ */ i(
|
|
8
|
+
"svg",
|
|
9
|
+
{
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: "24",
|
|
12
|
+
height: "24",
|
|
13
|
+
viewBox: "0 0 24 24",
|
|
14
|
+
fill: "none",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "1.5",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round",
|
|
19
|
+
color: "#ffffff",
|
|
20
|
+
className: e("icon", `icon--${n}`, o == null ? void 0 : o.container),
|
|
21
|
+
...t,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ r("path", { stroke: "none", d: "M0 0h24v24H0z" }),
|
|
24
|
+
/* @__PURE__ */ r("path", { d: "M3 7v5a3 3 0 0 0 6 0v-5h1l4 6c.824 1.319 1.945 2 3.5 2a3.5 3.5 0 0 0 0 -7c-2.027 0 -3.137 1 -3.5 3c-.242 1.33 -.908 4 -2 8" })
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
export {
|
|
29
|
+
f as IconUpwork
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),n=require("clsx"),c=({classes:e,name:o,htmlAttributes:t})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",color:"#ffffff",className:n("icon",`icon--${o}`,e==null?void 0:e.container),...t,children:[r.jsx("circle",{cx:"10",cy:"7",r:"4"}),r.jsx("path",{d:"M10.3 15H7a4 4 0 0 0-4 4v2"}),r.jsx("circle",{cx:"17",cy:"17",r:"3"}),r.jsx("path",{d:"m21 21-1.9-1.9"})]});exports.IconUserSearch=c;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import i from "clsx";
|
|
3
|
+
const h = ({
|
|
4
|
+
classes: o,
|
|
5
|
+
name: t,
|
|
6
|
+
htmlAttributes: n
|
|
7
|
+
}) => /* @__PURE__ */ c(
|
|
8
|
+
"svg",
|
|
9
|
+
{
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: "24",
|
|
12
|
+
height: "24",
|
|
13
|
+
viewBox: "0 0 24 24",
|
|
14
|
+
fill: "none",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "1.5",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round",
|
|
19
|
+
color: "#ffffff",
|
|
20
|
+
className: i("icon", `icon--${t}`, o == null ? void 0 : o.container),
|
|
21
|
+
...n,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ r("circle", { cx: "10", cy: "7", r: "4" }),
|
|
24
|
+
/* @__PURE__ */ r("path", { d: "M10.3 15H7a4 4 0 0 0-4 4v2" }),
|
|
25
|
+
/* @__PURE__ */ r("circle", { cx: "17", cy: "17", r: "3" }),
|
|
26
|
+
/* @__PURE__ */ r("path", { d: "m21 21-1.9-1.9" })
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
export {
|
|
31
|
+
h as IconUserSearch
|
|
32
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import e from "clsx";
|
|
3
|
+
const c = ({ classes: o, name: t, htmlAttributes: n }) => /* @__PURE__ */ i(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "24",
|
|
8
|
+
height: "24",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
fill: "none",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: "1.5",
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
color: "#ffffff",
|
|
16
|
+
className: e("icon", `icon--${t}`, o == null ? void 0 : o.container),
|
|
17
|
+
...n,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ r("path", { d: "M18 6 6 18" }),
|
|
20
|
+
/* @__PURE__ */ r("path", { d: "m6 6 12 12" })
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
c as IconX
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),e=require("clsx"),i=({classes:o,name:n,htmlAttributes:r})=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",color:"#ffffff",className:e("icon",`icon--${n}`,o==null?void 0:o.container),...r,children:[t.jsx("path",{d:"M18 6 6 18"}),t.jsx("path",{d:"m6 6 12 12"})]});exports.IconX=i;
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("react"),u=require("@purr-core/utils.helpers");function a(e){switch(e){case"./icons/_anchor.tsx":return Promise.resolve().then(()=>require("./_anchor-Bz5r2XJl.cjs"));case"./icons/_arrow-down.tsx":return Promise.resolve().then(()=>require("./_arrow-down-DEXhnXl5.cjs"));case"./icons/_arrow-left.tsx":return Promise.resolve().then(()=>require("./_arrow-left-D-_hRrvS.cjs"));case"./icons/_arrow-right.tsx":return Promise.resolve().then(()=>require("./_arrow-right-aFJBg57p.cjs"));case"./icons/_arrow-up.tsx":return Promise.resolve().then(()=>require("./_arrow-up-D_XQetba.cjs"));case"./icons/_bomb.tsx":return Promise.resolve().then(()=>require("./_bomb-rGyC0xpB.cjs"));case"./icons/_bookmark.tsx":return Promise.resolve().then(()=>require("./_bookmark-CTkJoqAz.cjs"));case"./icons/_chevron-down.tsx":return Promise.resolve().then(()=>require("./_chevron-down-CRfuMvHD.cjs"));case"./icons/_chevron-left.tsx":return Promise.resolve().then(()=>require("./_chevron-left-DxuaLJdU.cjs"));case"./icons/_chevron-right.tsx":return Promise.resolve().then(()=>require("./_chevron-right-BY7xkyqe.cjs"));case"./icons/_chevron-up.tsx":return Promise.resolve().then(()=>require("./_chevron-up-sdHFa5Ud.cjs"));case"./icons/_contact.tsx":return Promise.resolve().then(()=>require("./_contact-CH2FajDX.cjs"));case"./icons/_copy.tsx":return Promise.resolve().then(()=>require("./_copy-SRFzP3xo.cjs"));case"./icons/_external-link.tsx":return Promise.resolve().then(()=>require("./_external-link-C1rWM7Xp.cjs"));case"./icons/_facebook.tsx":return Promise.resolve().then(()=>require("./_facebook-COBlkYGn.cjs"));case"./icons/_git-hub.tsx":return Promise.resolve().then(()=>require("./_git-hub-OidttrkB.cjs"));case"./icons/_info.tsx":return Promise.resolve().then(()=>require("./_info-DBgLVAvj.cjs"));case"./icons/_linked-in.tsx":return Promise.resolve().then(()=>require("./_linked-in-Bj6yMAAQ.cjs"));case"./icons/_loader-2.tsx":return Promise.resolve().then(()=>require("./_loader-2-DsV94GqP.cjs"));case"./icons/_react-js.tsx":return Promise.resolve().then(()=>require("./_react-js-z52PCKf_.cjs"));case"./icons/_rss.tsx":return Promise.resolve().then(()=>require("./_rss-CYkLmyiu.cjs"));case"./icons/_save.tsx":return Promise.resolve().then(()=>require("./_save-BTJJ3aLE.cjs"));case"./icons/_script.tsx":return Promise.resolve().then(()=>require("./_script-CGtuCmDB.cjs"));case"./icons/_settings.tsx":return Promise.resolve().then(()=>require("./_settings-DnoKRi5n.cjs"));case"./icons/_upwork.tsx":return Promise.resolve().then(()=>require("./_upwork-BbSfQudC.cjs"));case"./icons/_user-search.tsx":return Promise.resolve().then(()=>require("./_user-search-oN7lrZxy.cjs"));case"./icons/_x.tsx":return Promise.resolve().then(()=>require("./_x-BpoPB6xP.cjs"));default:return new Promise(function(t,r){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}const l=({name:e,htmlAttributes:t,classes:r})=>{const[i,c]=n.useState(null);return n.useEffect(()=>{c(null),a(`./icons/_${e}.tsx`).then(s=>{c(()=>s[`Icon${u.toCamelCase(e)}`])}).catch(s=>console.error(`Icon not found: ${e}`,s))},[e]),i?o.jsx(n.Suspense,{children:o.jsx(i,{name:e,classes:r,htmlAttributes:t})}):o.jsx("span",{className:"w-6 h-6"})};exports.Icon=l;
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useState as i, useEffect as u, Suspense as a } from "react";
|
|
3
|
+
import { toCamelCase as m } from "@purr-core/utils.helpers";
|
|
4
|
+
function p(r) {
|
|
5
|
+
switch (r) {
|
|
6
|
+
case "./icons/_anchor.tsx":
|
|
7
|
+
return import("./_anchor-Z0pFTzu-.js");
|
|
8
|
+
case "./icons/_arrow-down.tsx":
|
|
9
|
+
return import("./_arrow-down-DgCYrS1o.js");
|
|
10
|
+
case "./icons/_arrow-left.tsx":
|
|
11
|
+
return import("./_arrow-left-OECqQs0s.js");
|
|
12
|
+
case "./icons/_arrow-right.tsx":
|
|
13
|
+
return import("./_arrow-right-CF2KQyQA.js");
|
|
14
|
+
case "./icons/_arrow-up.tsx":
|
|
15
|
+
return import("./_arrow-up-8lluhIIo.js");
|
|
16
|
+
case "./icons/_bomb.tsx":
|
|
17
|
+
return import("./_bomb-H0a4YrOh.js");
|
|
18
|
+
case "./icons/_bookmark.tsx":
|
|
19
|
+
return import("./_bookmark-Bxd9KtO1.js");
|
|
20
|
+
case "./icons/_chevron-down.tsx":
|
|
21
|
+
return import("./_chevron-down-BgZBy2hn.js");
|
|
22
|
+
case "./icons/_chevron-left.tsx":
|
|
23
|
+
return import("./_chevron-left-DXeG7Wuu.js");
|
|
24
|
+
case "./icons/_chevron-right.tsx":
|
|
25
|
+
return import("./_chevron-right-eb4S-suO.js");
|
|
26
|
+
case "./icons/_chevron-up.tsx":
|
|
27
|
+
return import("./_chevron-up-B65PDieM.js");
|
|
28
|
+
case "./icons/_contact.tsx":
|
|
29
|
+
return import("./_contact-CG9UgYQ4.js");
|
|
30
|
+
case "./icons/_copy.tsx":
|
|
31
|
+
return import("./_copy-CipcUpEL.js");
|
|
32
|
+
case "./icons/_external-link.tsx":
|
|
33
|
+
return import("./_external-link-DNsCye3s.js");
|
|
34
|
+
case "./icons/_facebook.tsx":
|
|
35
|
+
return import("./_facebook-CQffkxE4.js");
|
|
36
|
+
case "./icons/_git-hub.tsx":
|
|
37
|
+
return import("./_git-hub-DZemfvew.js");
|
|
38
|
+
case "./icons/_info.tsx":
|
|
39
|
+
return import("./_info-3vFKPy6N.js");
|
|
40
|
+
case "./icons/_linked-in.tsx":
|
|
41
|
+
return import("./_linked-in-B1U3CsBJ.js");
|
|
42
|
+
case "./icons/_loader-2.tsx":
|
|
43
|
+
return import("./_loader-2-ivSN7hp3.js");
|
|
44
|
+
case "./icons/_react-js.tsx":
|
|
45
|
+
return import("./_react-js-BRsbFKLR.js");
|
|
46
|
+
case "./icons/_rss.tsx":
|
|
47
|
+
return import("./_rss-CeSeal_p.js");
|
|
48
|
+
case "./icons/_save.tsx":
|
|
49
|
+
return import("./_save-DTxJzpUE.js");
|
|
50
|
+
case "./icons/_script.tsx":
|
|
51
|
+
return import("./_script-C0xXps_j.js");
|
|
52
|
+
case "./icons/_settings.tsx":
|
|
53
|
+
return import("./_settings-CpMIp76O.js");
|
|
54
|
+
case "./icons/_upwork.tsx":
|
|
55
|
+
return import("./_upwork-C_hOnzZY.js");
|
|
56
|
+
case "./icons/_user-search.tsx":
|
|
57
|
+
return import("./_user-search-xVPRsSZ_.js");
|
|
58
|
+
case "./icons/_x.tsx":
|
|
59
|
+
return import("./_x-BOFyGuO0.js");
|
|
60
|
+
default:
|
|
61
|
+
return new Promise(function(n, t) {
|
|
62
|
+
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
63
|
+
t.bind(null, new Error("Unknown variable dynamic import: " + r))
|
|
64
|
+
);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
const f = ({ name: r, htmlAttributes: n, classes: t }) => {
|
|
69
|
+
const [e, c] = i(null);
|
|
70
|
+
return u(() => {
|
|
71
|
+
c(null), p(`./icons/_${r}.tsx`).then((o) => {
|
|
72
|
+
c(() => o[`Icon${m(r)}`]);
|
|
73
|
+
}).catch((o) => console.error(`Icon not found: ${r}`, o));
|
|
74
|
+
}, [r]), e ? /* @__PURE__ */ s(a, { children: /* @__PURE__ */ s(
|
|
75
|
+
e,
|
|
76
|
+
{
|
|
77
|
+
name: r,
|
|
78
|
+
classes: t,
|
|
79
|
+
htmlAttributes: n
|
|
80
|
+
}
|
|
81
|
+
) }) : /* @__PURE__ */ s("span", { className: "w-6 h-6" });
|
|
82
|
+
};
|
|
83
|
+
export {
|
|
84
|
+
f as Icon
|
|
85
|
+
};
|