@purr-react-tailwindcss/components.icon 0.0.6 → 0.0.7

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.
Files changed (87) hide show
  1. package/package.json +5 -3
  2. package/dist/_anchor-CUlZ1UuT.cjs +0 -1
  3. package/dist/_anchor-e9ChKTYe.js +0 -27
  4. package/dist/_arrow-down-C17ViQjH.cjs +0 -1
  5. package/dist/_arrow-down-ySEgRBH6.js +0 -26
  6. package/dist/_arrow-left-GMvnLJkk.cjs +0 -1
  7. package/dist/_arrow-left-aWSTzKBc.js +0 -26
  8. package/dist/_arrow-right-CDyYJMg2.js +0 -26
  9. package/dist/_arrow-right-CHpEiPn0.cjs +0 -1
  10. package/dist/_arrow-up-DKo2ZJLO.cjs +0 -1
  11. package/dist/_arrow-up-vkGXl7Ym.js +0 -26
  12. package/dist/_bomb-C4oEdqn0.js +0 -28
  13. package/dist/_bomb-Xv14QElH.cjs +0 -1
  14. package/dist/_bookmark-CWpHTuQN.cjs +0 -1
  15. package/dist/_bookmark-D4FE1edy.js +0 -23
  16. package/dist/_chevron-down-CHkqlUrZ.cjs +0 -1
  17. package/dist/_chevron-down-CnYK1eoV.js +0 -23
  18. package/dist/_chevron-left-BFe7W-03.js +0 -23
  19. package/dist/_chevron-left-CMFo99S0.cjs +0 -1
  20. package/dist/_chevron-right-41dQIMMa.js +0 -26
  21. package/dist/_chevron-right-B-kM02T_.cjs +0 -1
  22. package/dist/_chevron-up-B1QpGH8E.cjs +0 -1
  23. package/dist/_chevron-up-Cb8xY5Ft.js +0 -23
  24. package/dist/_components.d.ts +0 -4
  25. package/dist/_contact-DsZ5ZCaG.js +0 -29
  26. package/dist/_contact-mRzPxg_a.cjs +0 -1
  27. package/dist/_copy-CQ6HS8HC.js +0 -26
  28. package/dist/_copy-N53vrOPq.cjs +0 -1
  29. package/dist/_external-link-B3Vefc61.cjs +0 -1
  30. package/dist/_external-link-DQXRGiwo.js +0 -30
  31. package/dist/_facebook-CWa0Lb-g.cjs +0 -1
  32. package/dist/_facebook-DleN7lma.js +0 -23
  33. package/dist/_git-hub-BhpUnrqk.js +0 -26
  34. package/dist/_git-hub-meHBIWdj.cjs +0 -1
  35. package/dist/_info-BbhBY688.js +0 -27
  36. package/dist/_info-C-HxYbb2.cjs +0 -1
  37. package/dist/_linked-in-BBezhhXf.cjs +0 -1
  38. package/dist/_linked-in-CHo-i9bE.js +0 -27
  39. package/dist/_loader-2-CeGvxWh8.js +0 -26
  40. package/dist/_loader-2-fBPg1UJ_.cjs +0 -1
  41. package/dist/_react-js-BSXBG9u8.cjs +0 -1
  42. package/dist/_react-js-DhStNfBX.js +0 -32
  43. package/dist/_rss-C33X5Ki8.cjs +0 -1
  44. package/dist/_rss-V99i09cW.js +0 -27
  45. package/dist/_save-BAZvsHtM.js +0 -27
  46. package/dist/_save-CH9bzxsZ.cjs +0 -1
  47. package/dist/_script-CZKD-vXm.js +0 -26
  48. package/dist/_script-DGHAPlbX.cjs +0 -1
  49. package/dist/_settings-CI3sypO5.cjs +0 -1
  50. package/dist/_settings-Cyu61ZsS.js +0 -26
  51. package/dist/_types.d.ts +0 -11
  52. package/dist/_upwork-BSfwgXj0.cjs +0 -1
  53. package/dist/_upwork-CJ6uQJmy.js +0 -26
  54. package/dist/_user-search-9QKUJLcr.js +0 -28
  55. package/dist/_user-search-BNwFgA5J.cjs +0 -1
  56. package/dist/_x-CunFVdbZ.js +0 -26
  57. package/dist/_x-pQYqHSPC.cjs +0 -1
  58. package/dist/icons/_anchor.d.ts +0 -4
  59. package/dist/icons/_arrow-down.d.ts +0 -4
  60. package/dist/icons/_arrow-left.d.ts +0 -4
  61. package/dist/icons/_arrow-right.d.ts +0 -4
  62. package/dist/icons/_arrow-up.d.ts +0 -4
  63. package/dist/icons/_bomb.d.ts +0 -4
  64. package/dist/icons/_bookmark.d.ts +0 -4
  65. package/dist/icons/_chevron-down.d.ts +0 -4
  66. package/dist/icons/_chevron-left.d.ts +0 -4
  67. package/dist/icons/_chevron-right.d.ts +0 -4
  68. package/dist/icons/_chevron-up.d.ts +0 -4
  69. package/dist/icons/_contact.d.ts +0 -4
  70. package/dist/icons/_copy.d.ts +0 -4
  71. package/dist/icons/_external-link.d.ts +0 -4
  72. package/dist/icons/_facebook.d.ts +0 -4
  73. package/dist/icons/_git-hub.d.ts +0 -4
  74. package/dist/icons/_info.d.ts +0 -4
  75. package/dist/icons/_linked-in.d.ts +0 -4
  76. package/dist/icons/_loader-2.d.ts +0 -4
  77. package/dist/icons/_react-js.d.ts +0 -4
  78. package/dist/icons/_rss.d.ts +0 -4
  79. package/dist/icons/_save.d.ts +0 -4
  80. package/dist/icons/_script.d.ts +0 -4
  81. package/dist/icons/_settings.d.ts +0 -4
  82. package/dist/icons/_upwork.d.ts +0 -4
  83. package/dist/icons/_user-search.d.ts +0 -4
  84. package/dist/icons/_x.d.ts +0 -4
  85. package/dist/index.cjs +0 -1
  86. package/dist/index.d.ts +0 -2
  87. package/dist/index.js +0 -78
@@ -1,32 +0,0 @@
1
- import { jsxs as r, jsx as c } from "react/jsx-runtime";
2
- import e from "clsx";
3
- const h = ({ name: o, htmlAttributes: t }) => /* @__PURE__ */ r(
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--${o}`),
17
- ...t,
18
- children: [
19
- /* @__PURE__ */ c("path", { stroke: "none", d: "M0 0h24v24H0z" }),
20
- /* @__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" }),
21
- /* @__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" }),
22
- /* @__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" }),
23
- /* @__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" }),
24
- /* @__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" }),
25
- /* @__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" }),
26
- /* @__PURE__ */ c("path", { d: "M11.5 12.866a1 1 0 1 0 1 -1.732a1 1 0 0 0 -1 1.732z" })
27
- ]
28
- }
29
- );
30
- export {
31
- h as IconReactJs
32
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("clsx"),t=({name:o,htmlAttributes:s})=>e.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--${o}`),...s,children:[e.jsx("path",{d:"M4 11a9 9 0 0 1 9 9"}),e.jsx("path",{d:"M4 4a16 16 0 0 1 16 16"}),e.jsx("circle",{cx:"5",cy:"19",r:"1"})]});exports.IconRss=t;
@@ -1,27 +0,0 @@
1
- import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
- import e from "clsx";
3
- const i = ({ name: r, htmlAttributes: t }) => /* @__PURE__ */ s(
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--${r}`),
17
- ...t,
18
- children: [
19
- /* @__PURE__ */ o("path", { d: "M4 11a9 9 0 0 1 9 9" }),
20
- /* @__PURE__ */ o("path", { d: "M4 4a16 16 0 0 1 16 16" }),
21
- /* @__PURE__ */ o("circle", { cx: "5", cy: "19", r: "1" })
22
- ]
23
- }
24
- );
25
- export {
26
- i as IconRss
27
- };
@@ -1,27 +0,0 @@
1
- import { jsxs as a, jsx as o } from "react/jsx-runtime";
2
- import e from "clsx";
3
- const i = ({ name: r, htmlAttributes: t }) => /* @__PURE__ */ a(
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--${r}`),
17
- ...t,
18
- children: [
19
- /* @__PURE__ */ o("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" }),
20
- /* @__PURE__ */ o("path", { d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7" }),
21
- /* @__PURE__ */ o("path", { d: "M7 3v4a1 1 0 0 0 1 1h7" })
22
- ]
23
- }
24
- );
25
- export {
26
- i as IconSave
27
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("clsx"),n=({name:o,htmlAttributes:t})=>e.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--${o}`),...t,children:[e.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"}),e.jsx("path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7"}),e.jsx("path",{d:"M7 3v4a1 1 0 0 0 1 1h7"})]});exports.IconSave=n;
@@ -1,26 +0,0 @@
1
- import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import e from "clsx";
3
- const h = ({ name: r, htmlAttributes: t }) => /* @__PURE__ */ n(
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--${r}`),
17
- ...t,
18
- children: [
19
- /* @__PURE__ */ o("path", { stroke: "none", d: "M0 0h24v24H0z" }),
20
- /* @__PURE__ */ o("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" })
21
- ]
22
- }
23
- );
24
- export {
25
- h as IconScript
26
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("clsx"),n=({name:o,htmlAttributes:t})=>e.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--${o}`),...t,children:[e.jsx("path",{stroke:"none",d:"M0 0h24v24H0z"}),e.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=n;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),t=require("clsx"),o=({name:e,htmlAttributes:l})=>a.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:t("icon",`icon--${e}`),...l,children:[a.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"}),a.jsx("circle",{cx:"12",cy:"12",r:"3"})]});exports.IconSettings=o;
@@ -1,26 +0,0 @@
1
- import { jsxs as r, jsx as a } from "react/jsx-runtime";
2
- import t from "clsx";
3
- const i = ({ name: l, htmlAttributes: o }) => /* @__PURE__ */ r(
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: t("icon", `icon--${l}`),
17
- ...o,
18
- children: [
19
- /* @__PURE__ */ a("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" }),
20
- /* @__PURE__ */ a("circle", { cx: "12", cy: "12", r: "3" })
21
- ]
22
- }
23
- );
24
- export {
25
- i as IconSettings
26
- };
package/dist/_types.d.ts DELETED
@@ -1,11 +0,0 @@
1
- import { SVGProps } from 'react';
2
- import { IExtendable } from '@purr-core/utils.definitions';
3
-
4
- 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";
5
- export interface ISingleIconProps {
6
- name: TIconName;
7
- htmlAttributes?: SVGProps<SVGSVGElement> & IExtendable;
8
- }
9
- export interface IIconProps extends ISingleIconProps {
10
- isSpaceReserved?: boolean;
11
- }
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),t=require("clsx"),n=({name:e,htmlAttributes:r})=>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:t("icon",`icon--${e}`),...r,children:[o.jsx("path",{stroke:"none",d:"M0 0h24v24H0z"}),o.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=n;
@@ -1,26 +0,0 @@
1
- import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import e from "clsx";
3
- const i = ({ name: r, htmlAttributes: t }) => /* @__PURE__ */ n(
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--${r}`),
17
- ...t,
18
- children: [
19
- /* @__PURE__ */ o("path", { stroke: "none", d: "M0 0h24v24H0z" }),
20
- /* @__PURE__ */ o("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" })
21
- ]
22
- }
23
- );
24
- export {
25
- i as IconUpwork
26
- };
@@ -1,28 +0,0 @@
1
- import { jsxs as e, jsx as r } from "react/jsx-runtime";
2
- import t from "clsx";
3
- const s = ({ name: o, htmlAttributes: c }) => /* @__PURE__ */ e(
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: t("icon", `icon--${o}`),
17
- ...c,
18
- children: [
19
- /* @__PURE__ */ r("circle", { cx: "10", cy: "7", r: "4" }),
20
- /* @__PURE__ */ r("path", { d: "M10.3 15H7a4 4 0 0 0-4 4v2" }),
21
- /* @__PURE__ */ r("circle", { cx: "17", cy: "17", r: "3" }),
22
- /* @__PURE__ */ r("path", { d: "m21 21-1.9-1.9" })
23
- ]
24
- }
25
- );
26
- export {
27
- s as IconUserSearch
28
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("clsx"),s=({name:r,htmlAttributes:c})=>e.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:o("icon",`icon--${r}`),...c,children:[e.jsx("circle",{cx:"10",cy:"7",r:"4"}),e.jsx("path",{d:"M10.3 15H7a4 4 0 0 0-4 4v2"}),e.jsx("circle",{cx:"17",cy:"17",r:"3"}),e.jsx("path",{d:"m21 21-1.9-1.9"})]});exports.IconUserSearch=s;
@@ -1,26 +0,0 @@
1
- import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import e from "clsx";
3
- const c = ({ name: r, htmlAttributes: t }) => /* @__PURE__ */ n(
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--${r}`),
17
- ...t,
18
- children: [
19
- /* @__PURE__ */ o("path", { d: "M18 6 6 18" }),
20
- /* @__PURE__ */ o("path", { d: "m6 6 12 12" })
21
- ]
22
- }
23
- );
24
- export {
25
- c as IconX
26
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("clsx"),n=({name:o,htmlAttributes:t})=>e.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--${o}`),...t,children:[e.jsx("path",{d:"M18 6 6 18"}),e.jsx("path",{d:"m6 6 12 12"})]});exports.IconX=n;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconAnchor: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconArrowDown: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconArrowLeft: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconArrowRight: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconArrowUp: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconBomb: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconBookmark: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconChevronDown: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconChevronLeft: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconChevronRight: ({ name, htmlAttributes, }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconChevronUp: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconContact: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconCopy: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconExternalLink: ({ name, htmlAttributes, }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconFacebook: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconGitHub: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconInfo: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconLinkedIn: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconLoader2: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconReactJs: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconRss: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconSave: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconScript: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconSettings: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconUpwork: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconUserSearch: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ISingleIconProps } from '../_types';
3
-
4
- export declare const IconX: ({ name, htmlAttributes }: ISingleIconProps) => React.JSX.Element;
package/dist/index.cjs DELETED
@@ -1 +0,0 @@
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-CUlZ1UuT.cjs"));case"./icons/_arrow-down.tsx":return Promise.resolve().then(()=>require("./_arrow-down-C17ViQjH.cjs"));case"./icons/_arrow-left.tsx":return Promise.resolve().then(()=>require("./_arrow-left-GMvnLJkk.cjs"));case"./icons/_arrow-right.tsx":return Promise.resolve().then(()=>require("./_arrow-right-CHpEiPn0.cjs"));case"./icons/_arrow-up.tsx":return Promise.resolve().then(()=>require("./_arrow-up-DKo2ZJLO.cjs"));case"./icons/_bomb.tsx":return Promise.resolve().then(()=>require("./_bomb-Xv14QElH.cjs"));case"./icons/_bookmark.tsx":return Promise.resolve().then(()=>require("./_bookmark-CWpHTuQN.cjs"));case"./icons/_chevron-down.tsx":return Promise.resolve().then(()=>require("./_chevron-down-CHkqlUrZ.cjs"));case"./icons/_chevron-left.tsx":return Promise.resolve().then(()=>require("./_chevron-left-CMFo99S0.cjs"));case"./icons/_chevron-right.tsx":return Promise.resolve().then(()=>require("./_chevron-right-B-kM02T_.cjs"));case"./icons/_chevron-up.tsx":return Promise.resolve().then(()=>require("./_chevron-up-B1QpGH8E.cjs"));case"./icons/_contact.tsx":return Promise.resolve().then(()=>require("./_contact-mRzPxg_a.cjs"));case"./icons/_copy.tsx":return Promise.resolve().then(()=>require("./_copy-N53vrOPq.cjs"));case"./icons/_external-link.tsx":return Promise.resolve().then(()=>require("./_external-link-B3Vefc61.cjs"));case"./icons/_facebook.tsx":return Promise.resolve().then(()=>require("./_facebook-CWa0Lb-g.cjs"));case"./icons/_git-hub.tsx":return Promise.resolve().then(()=>require("./_git-hub-meHBIWdj.cjs"));case"./icons/_info.tsx":return Promise.resolve().then(()=>require("./_info-C-HxYbb2.cjs"));case"./icons/_linked-in.tsx":return Promise.resolve().then(()=>require("./_linked-in-BBezhhXf.cjs"));case"./icons/_loader-2.tsx":return Promise.resolve().then(()=>require("./_loader-2-fBPg1UJ_.cjs"));case"./icons/_react-js.tsx":return Promise.resolve().then(()=>require("./_react-js-BSXBG9u8.cjs"));case"./icons/_rss.tsx":return Promise.resolve().then(()=>require("./_rss-C33X5Ki8.cjs"));case"./icons/_save.tsx":return Promise.resolve().then(()=>require("./_save-CH9bzxsZ.cjs"));case"./icons/_script.tsx":return Promise.resolve().then(()=>require("./_script-DGHAPlbX.cjs"));case"./icons/_settings.tsx":return Promise.resolve().then(()=>require("./_settings-CI3sypO5.cjs"));case"./icons/_upwork.tsx":return Promise.resolve().then(()=>require("./_upwork-BSfwgXj0.cjs"));case"./icons/_user-search.tsx":return Promise.resolve().then(()=>require("./_user-search-BNwFgA5J.cjs"));case"./icons/_x.tsx":return Promise.resolve().then(()=>require("./_x-pQYqHSPC.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,isSpaceReserved:t,htmlAttributes: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,htmlAttributes:r})}):t?o.jsx("span",{className:"h-6 w-6"}):null};exports.Icon=l;
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './_components';
2
- export * from './_types';
package/dist/index.js DELETED
@@ -1,78 +0,0 @@
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-e9ChKTYe.js");
8
- case "./icons/_arrow-down.tsx":
9
- return import("./_arrow-down-ySEgRBH6.js");
10
- case "./icons/_arrow-left.tsx":
11
- return import("./_arrow-left-aWSTzKBc.js");
12
- case "./icons/_arrow-right.tsx":
13
- return import("./_arrow-right-CDyYJMg2.js");
14
- case "./icons/_arrow-up.tsx":
15
- return import("./_arrow-up-vkGXl7Ym.js");
16
- case "./icons/_bomb.tsx":
17
- return import("./_bomb-C4oEdqn0.js");
18
- case "./icons/_bookmark.tsx":
19
- return import("./_bookmark-D4FE1edy.js");
20
- case "./icons/_chevron-down.tsx":
21
- return import("./_chevron-down-CnYK1eoV.js");
22
- case "./icons/_chevron-left.tsx":
23
- return import("./_chevron-left-BFe7W-03.js");
24
- case "./icons/_chevron-right.tsx":
25
- return import("./_chevron-right-41dQIMMa.js");
26
- case "./icons/_chevron-up.tsx":
27
- return import("./_chevron-up-Cb8xY5Ft.js");
28
- case "./icons/_contact.tsx":
29
- return import("./_contact-DsZ5ZCaG.js");
30
- case "./icons/_copy.tsx":
31
- return import("./_copy-CQ6HS8HC.js");
32
- case "./icons/_external-link.tsx":
33
- return import("./_external-link-DQXRGiwo.js");
34
- case "./icons/_facebook.tsx":
35
- return import("./_facebook-DleN7lma.js");
36
- case "./icons/_git-hub.tsx":
37
- return import("./_git-hub-BhpUnrqk.js");
38
- case "./icons/_info.tsx":
39
- return import("./_info-BbhBY688.js");
40
- case "./icons/_linked-in.tsx":
41
- return import("./_linked-in-CHo-i9bE.js");
42
- case "./icons/_loader-2.tsx":
43
- return import("./_loader-2-CeGvxWh8.js");
44
- case "./icons/_react-js.tsx":
45
- return import("./_react-js-DhStNfBX.js");
46
- case "./icons/_rss.tsx":
47
- return import("./_rss-V99i09cW.js");
48
- case "./icons/_save.tsx":
49
- return import("./_save-BAZvsHtM.js");
50
- case "./icons/_script.tsx":
51
- return import("./_script-CZKD-vXm.js");
52
- case "./icons/_settings.tsx":
53
- return import("./_settings-Cyu61ZsS.js");
54
- case "./icons/_upwork.tsx":
55
- return import("./_upwork-CJ6uQJmy.js");
56
- case "./icons/_user-search.tsx":
57
- return import("./_user-search-9QKUJLcr.js");
58
- case "./icons/_x.tsx":
59
- return import("./_x-CunFVdbZ.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, isSpaceReserved: n, htmlAttributes: 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(e, { name: r, htmlAttributes: t }) }) : n ? /* @__PURE__ */ s("span", { className: "h-6 w-6" }) : null;
75
- };
76
- export {
77
- f as Icon
78
- };