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

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 (88) hide show
  1. package/dist/index.cjs +2 -1
  2. package/dist/index.d.cts +15 -0
  3. package/dist/index.d.ts +15 -2
  4. package/dist/index.js +2 -78
  5. package/package.json +5 -3
  6. package/dist/_anchor-CUlZ1UuT.cjs +0 -1
  7. package/dist/_anchor-e9ChKTYe.js +0 -27
  8. package/dist/_arrow-down-C17ViQjH.cjs +0 -1
  9. package/dist/_arrow-down-ySEgRBH6.js +0 -26
  10. package/dist/_arrow-left-GMvnLJkk.cjs +0 -1
  11. package/dist/_arrow-left-aWSTzKBc.js +0 -26
  12. package/dist/_arrow-right-CDyYJMg2.js +0 -26
  13. package/dist/_arrow-right-CHpEiPn0.cjs +0 -1
  14. package/dist/_arrow-up-DKo2ZJLO.cjs +0 -1
  15. package/dist/_arrow-up-vkGXl7Ym.js +0 -26
  16. package/dist/_bomb-C4oEdqn0.js +0 -28
  17. package/dist/_bomb-Xv14QElH.cjs +0 -1
  18. package/dist/_bookmark-CWpHTuQN.cjs +0 -1
  19. package/dist/_bookmark-D4FE1edy.js +0 -23
  20. package/dist/_chevron-down-CHkqlUrZ.cjs +0 -1
  21. package/dist/_chevron-down-CnYK1eoV.js +0 -23
  22. package/dist/_chevron-left-BFe7W-03.js +0 -23
  23. package/dist/_chevron-left-CMFo99S0.cjs +0 -1
  24. package/dist/_chevron-right-41dQIMMa.js +0 -26
  25. package/dist/_chevron-right-B-kM02T_.cjs +0 -1
  26. package/dist/_chevron-up-B1QpGH8E.cjs +0 -1
  27. package/dist/_chevron-up-Cb8xY5Ft.js +0 -23
  28. package/dist/_components.d.ts +0 -4
  29. package/dist/_contact-DsZ5ZCaG.js +0 -29
  30. package/dist/_contact-mRzPxg_a.cjs +0 -1
  31. package/dist/_copy-CQ6HS8HC.js +0 -26
  32. package/dist/_copy-N53vrOPq.cjs +0 -1
  33. package/dist/_external-link-B3Vefc61.cjs +0 -1
  34. package/dist/_external-link-DQXRGiwo.js +0 -30
  35. package/dist/_facebook-CWa0Lb-g.cjs +0 -1
  36. package/dist/_facebook-DleN7lma.js +0 -23
  37. package/dist/_git-hub-BhpUnrqk.js +0 -26
  38. package/dist/_git-hub-meHBIWdj.cjs +0 -1
  39. package/dist/_info-BbhBY688.js +0 -27
  40. package/dist/_info-C-HxYbb2.cjs +0 -1
  41. package/dist/_linked-in-BBezhhXf.cjs +0 -1
  42. package/dist/_linked-in-CHo-i9bE.js +0 -27
  43. package/dist/_loader-2-CeGvxWh8.js +0 -26
  44. package/dist/_loader-2-fBPg1UJ_.cjs +0 -1
  45. package/dist/_react-js-BSXBG9u8.cjs +0 -1
  46. package/dist/_react-js-DhStNfBX.js +0 -32
  47. package/dist/_rss-C33X5Ki8.cjs +0 -1
  48. package/dist/_rss-V99i09cW.js +0 -27
  49. package/dist/_save-BAZvsHtM.js +0 -27
  50. package/dist/_save-CH9bzxsZ.cjs +0 -1
  51. package/dist/_script-CZKD-vXm.js +0 -26
  52. package/dist/_script-DGHAPlbX.cjs +0 -1
  53. package/dist/_settings-CI3sypO5.cjs +0 -1
  54. package/dist/_settings-Cyu61ZsS.js +0 -26
  55. package/dist/_types.d.ts +0 -11
  56. package/dist/_upwork-BSfwgXj0.cjs +0 -1
  57. package/dist/_upwork-CJ6uQJmy.js +0 -26
  58. package/dist/_user-search-9QKUJLcr.js +0 -28
  59. package/dist/_user-search-BNwFgA5J.cjs +0 -1
  60. package/dist/_x-CunFVdbZ.js +0 -26
  61. package/dist/_x-pQYqHSPC.cjs +0 -1
  62. package/dist/icons/_anchor.d.ts +0 -4
  63. package/dist/icons/_arrow-down.d.ts +0 -4
  64. package/dist/icons/_arrow-left.d.ts +0 -4
  65. package/dist/icons/_arrow-right.d.ts +0 -4
  66. package/dist/icons/_arrow-up.d.ts +0 -4
  67. package/dist/icons/_bomb.d.ts +0 -4
  68. package/dist/icons/_bookmark.d.ts +0 -4
  69. package/dist/icons/_chevron-down.d.ts +0 -4
  70. package/dist/icons/_chevron-left.d.ts +0 -4
  71. package/dist/icons/_chevron-right.d.ts +0 -4
  72. package/dist/icons/_chevron-up.d.ts +0 -4
  73. package/dist/icons/_contact.d.ts +0 -4
  74. package/dist/icons/_copy.d.ts +0 -4
  75. package/dist/icons/_external-link.d.ts +0 -4
  76. package/dist/icons/_facebook.d.ts +0 -4
  77. package/dist/icons/_git-hub.d.ts +0 -4
  78. package/dist/icons/_info.d.ts +0 -4
  79. package/dist/icons/_linked-in.d.ts +0 -4
  80. package/dist/icons/_loader-2.d.ts +0 -4
  81. package/dist/icons/_react-js.d.ts +0 -4
  82. package/dist/icons/_rss.d.ts +0 -4
  83. package/dist/icons/_save.d.ts +0 -4
  84. package/dist/icons/_script.d.ts +0 -4
  85. package/dist/icons/_settings.d.ts +0 -4
  86. package/dist/icons/_upwork.d.ts +0 -4
  87. package/dist/icons/_user-search.d.ts +0 -4
  88. package/dist/icons/_x.d.ts +0 -4
package/dist/index.cjs CHANGED
@@ -1 +1,2 @@
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;
1
+ 'use strict';var Do=require('clsx'),i=require('react'),utils_helpers=require('@purr-core/utils.helpers');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var Do__default=/*#__PURE__*/_interopDefault(Do);var i__default=/*#__PURE__*/_interopDefault(i);var Uo=Object.defineProperty;var j=o=>r=>{var s=o[r];if(s)return s();throw new Error("Module not found in bundle: "+r)};var n=(o,r)=>()=>(o&&(r=o(o=0)),r);var t=(o,r)=>{for(var s in r)Uo(o,s,{get:r[s],enumerable:true});};var W={};t(W,{IconAnchor:()=>Eo});var Eo,y=n(()=>{Eo=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"M12 22V8"}),i__default.default.createElement("path",{d:"M5 12H2a10 10 0 0 0 20 0h-3"}),i__default.default.createElement("circle",{cx:"12",cy:"5",r:"3"}));});var H={};t(H,{IconArrowDown:()=>Fo});var Fo,z=n(()=>{Fo=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"M12 5v14"}),i__default.default.createElement("path",{d:"m19 12-7 7-7-7"}));});var V={};t(V,{IconArrowLeft:()=>Jo});var Jo,A=n(()=>{Jo=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"m12 19-7-7 7-7"}),i__default.default.createElement("path",{d:"M19 12H5"}));});var b={};t(b,{IconArrowRight:()=>qo});var qo,U=n(()=>{qo=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"M5 12h14"}),i__default.default.createElement("path",{d:"m12 5 7 7-7 7"}));});var D={};t(D,{IconArrowUp:()=>Oo});var Oo,E=n(()=>{Oo=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"m5 12 7-7 7 7"}),i__default.default.createElement("path",{d:"M12 19V5"}));});var T={};t(T,{IconBomb:()=>Yo});var Yo,F=n(()=>{Yo=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{stroke:"none",d:"M0 0h24v24H0z"}),i__default.default.createElement("path",{d:"M15.349 5.349l3.301 3.301a1.2 1.2 0 0 1 0 1.698l-.972 .972a7.5 7.5 0 1 1 -5 -5l.972 -.972a1.2 1.2 0 0 1 1.698 0z"}),i__default.default.createElement("path",{d:"M17 7l1.293 -1.293a2.414 2.414 0 0 0 .707 -1.707a1 1 0 0 1 1 -1h1"}),i__default.default.createElement("path",{d:"M7 13a3 3 0 0 1 3 -3"}));});var J={};t(J,{IconBookmark:()=>_o});var _o,X=n(()=>{_o=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z"}));});var K={};t(K,{IconChevronDown:()=>or});var or,O=n(()=>{or=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"m6 9 6 6 6-6"}));});var Y={};t(Y,{IconChevronLeft:()=>nr});var nr,Z=n(()=>{nr=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"m15 18-6-6 6-6"}));});var R={};t(R,{IconChevronRight:()=>ir});var ir,oo=n(()=>{ir=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"m9 18 6-6-6-6"}));});var no={};t(no,{IconChevronUp:()=>er});var er,to=n(()=>{er=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"m18 15-6-6-6 6"}));});var io={};t(io,{IconContact:()=>pr});var pr,so=n(()=>{pr=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"M17 18a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2"}),i__default.default.createElement("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}),i__default.default.createElement("circle",{cx:"12",cy:"10",r:"2"}),i__default.default.createElement("line",{x1:"8",x2:"8",y1:"2",y2:"4"}),i__default.default.createElement("line",{x1:"16",x2:"16",y1:"2",y2:"4"}));});var eo={};t(eo,{IconCopy:()=>fr});var fr,co=n(()=>{fr=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),i__default.default.createElement("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"}));});var po={};t(po,{IconExternalLink:()=>hr});var hr,lo=n(()=>{hr=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"M15 3h6v6"}),i__default.default.createElement("path",{d:"M10 14 21 3"}),i__default.default.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}));});var mo={};t(mo,{IconFacebook:()=>wr});var wr,ho=n(()=>{wr=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"}));});var go={};t(go,{IconGitHub:()=>Ir});var Ir,wo=n(()=>{Ir=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"}),i__default.default.createElement("path",{d:"M9 18c-4.51 2-5-2-7-2"}));});var Io={};t(Io,{IconInfo:()=>ar});var ar,vo=n(()=>{ar=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("circle",{cx:"12",cy:"12",r:"10"}),i__default.default.createElement("path",{d:"M12 16v-4"}),i__default.default.createElement("path",{d:"M12 8h.01"}));});var ao={};t(ao,{IconLinkedIn:()=>ur});var ur,xo=n(()=>{ur=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),i__default.default.createElement("rect",{width:"4",height:"12",x:"2",y:"9"}),i__default.default.createElement("circle",{cx:"4",cy:"4",r:"2"}));});var uo={};t(uo,{IconLoader2:()=>Sr});var Sr,ko=n(()=>{Sr=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),i__default.default.createElement("path",{d:"M12 3a9 9 0 1 0 9 9"}));});var So={};t(So,{IconReactJs:()=>Pr});var Pr,Lo=n(()=>{Pr=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{stroke:"none",d:"M0 0h24v24H0z"}),i__default.default.createElement("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"}),i__default.default.createElement("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"}),i__default.default.createElement("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"}),i__default.default.createElement("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"}),i__default.default.createElement("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"}),i__default.default.createElement("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"}),i__default.default.createElement("path",{d:"M11.5 12.866a1 1 0 1 0 1 -1.732a1 1 0 0 0 -1 1.732z"}));});var Po={};t(Po,{IconRss:()=>Cr});var Cr,Mo=n(()=>{Cr=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"M4 11a9 9 0 0 1 9 9"}),i__default.default.createElement("path",{d:"M4 4a16 16 0 0 1 16 16"}),i__default.default.createElement("circle",{cx:"5",cy:"19",r:"1"}));});var Co={};t(Co,{IconSave:()=>Br});var Br,$o=n(()=>{Br=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("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"}),i__default.default.createElement("path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7"}),i__default.default.createElement("path",{d:"M7 3v4a1 1 0 0 0 1 1h7"}));});var Bo={};t(Bo,{IconScript:()=>jr});var jr,No=n(()=>{jr=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{stroke:"none",d:"M0 0h24v24H0z"}),i__default.default.createElement("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"}));});var jo={};t(jo,{IconSettings:()=>yr});var yr,Wo=n(()=>{yr=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("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"}),i__default.default.createElement("circle",{cx:"12",cy:"12",r:"3"}));});var yo={};t(yo,{IconUpwork:()=>zr});var zr,Ho=n(()=>{zr=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{stroke:"none",d:"M0 0h24v24H0z"}),i__default.default.createElement("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"}));});var zo={};t(zo,{IconUserSearch:()=>Ar});var Ar,Vo=n(()=>{Ar=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("circle",{cx:"10",cy:"7",r:"4"}),i__default.default.createElement("path",{d:"M10.3 15H7a4 4 0 0 0-4 4v2"}),i__default.default.createElement("circle",{cx:"17",cy:"17",r:"3"}),i__default.default.createElement("path",{d:"m21 21-1.9-1.9"}));});var Ao={};t(Ao,{IconX:()=>Ur});var Ur,bo=n(()=>{Ur=({name:o,htmlAttributes:r})=>i__default.default.createElement("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:Do__default.default("icon",`icon--${o}`),...r},i__default.default.createElement("path",{d:"M18 6 6 18"}),i__default.default.createElement("path",{d:"m6 6 12 12"}));});var Dr=j({"./icons/_anchor.tsx":()=>Promise.resolve().then(()=>(y(),W)),"./icons/_arrow-down.tsx":()=>Promise.resolve().then(()=>(z(),H)),"./icons/_arrow-left.tsx":()=>Promise.resolve().then(()=>(A(),V)),"./icons/_arrow-right.tsx":()=>Promise.resolve().then(()=>(U(),b)),"./icons/_arrow-up.tsx":()=>Promise.resolve().then(()=>(E(),D)),"./icons/_bomb.tsx":()=>Promise.resolve().then(()=>(F(),T)),"./icons/_bookmark.tsx":()=>Promise.resolve().then(()=>(X(),J)),"./icons/_chevron-down.tsx":()=>Promise.resolve().then(()=>(O(),K)),"./icons/_chevron-left.tsx":()=>Promise.resolve().then(()=>(Z(),Y)),"./icons/_chevron-right.tsx":()=>Promise.resolve().then(()=>(oo(),R)),"./icons/_chevron-up.tsx":()=>Promise.resolve().then(()=>(to(),no)),"./icons/_contact.tsx":()=>Promise.resolve().then(()=>(so(),io)),"./icons/_copy.tsx":()=>Promise.resolve().then(()=>(co(),eo)),"./icons/_external-link.tsx":()=>Promise.resolve().then(()=>(lo(),po)),"./icons/_facebook.tsx":()=>Promise.resolve().then(()=>(ho(),mo)),"./icons/_git-hub.tsx":()=>Promise.resolve().then(()=>(wo(),go)),"./icons/_info.tsx":()=>Promise.resolve().then(()=>(vo(),Io)),"./icons/_linked-in.tsx":()=>Promise.resolve().then(()=>(xo(),ao)),"./icons/_loader-2.tsx":()=>Promise.resolve().then(()=>(ko(),uo)),"./icons/_react-js.tsx":()=>Promise.resolve().then(()=>(Lo(),So)),"./icons/_rss.tsx":()=>Promise.resolve().then(()=>(Mo(),Po)),"./icons/_save.tsx":()=>Promise.resolve().then(()=>($o(),Co)),"./icons/_script.tsx":()=>Promise.resolve().then(()=>(No(),Bo)),"./icons/_settings.tsx":()=>Promise.resolve().then(()=>(Wo(),jo)),"./icons/_upwork.tsx":()=>Promise.resolve().then(()=>(Ho(),yo)),"./icons/_user-search.tsx":()=>Promise.resolve().then(()=>(Vo(),zo)),"./icons/_x.tsx":()=>Promise.resolve().then(()=>(bo(),Ao))});var Zn=({name:o,isSpaceReserved:r,htmlAttributes:s})=>{let[B,N]=i.useState(null);return i.useEffect(()=>{N(null),Dr(`./icons/_${o}.tsx`).then(d=>{N(()=>d[`Icon${utils_helpers.toCamelCase(o)}`]);}).catch(d=>console.error(`\u{1F50D} Icon not found: ${o}`,d));},[o]),B?i__default.default.createElement(i.Suspense,null,i__default.default.createElement(B,{name:o,htmlAttributes:s})):r?i__default.default.createElement("span",{className:"h-6 w-6"}):null};
2
+ exports.Icon=Zn;
@@ -0,0 +1,15 @@
1
+ import React, { SVGProps } from 'react';
2
+ import { IExtendable } from '@purr-core/utils.definitions';
3
+
4
+ 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
+ interface ISingleIconProps {
6
+ name: TIconName;
7
+ htmlAttributes?: SVGProps<SVGSVGElement> & IExtendable;
8
+ }
9
+ interface IIconProps extends ISingleIconProps {
10
+ isSpaceReserved?: boolean;
11
+ }
12
+
13
+ declare const Icon: ({ name, isSpaceReserved, htmlAttributes }: IIconProps) => React.JSX.Element | null;
14
+
15
+ export { type IIconProps, type ISingleIconProps, Icon, type TIconName };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,15 @@
1
- export * from './_components';
2
- export * from './_types';
1
+ import React, { SVGProps } from 'react';
2
+ import { IExtendable } from '@purr-core/utils.definitions';
3
+
4
+ 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
+ interface ISingleIconProps {
6
+ name: TIconName;
7
+ htmlAttributes?: SVGProps<SVGSVGElement> & IExtendable;
8
+ }
9
+ interface IIconProps extends ISingleIconProps {
10
+ isSpaceReserved?: boolean;
11
+ }
12
+
13
+ declare const Icon: ({ name, isSpaceReserved, htmlAttributes }: IIconProps) => React.JSX.Element | null;
14
+
15
+ export { type IIconProps, type ISingleIconProps, Icon, type TIconName };
package/dist/index.js CHANGED
@@ -1,78 +1,2 @@
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
- };
1
+ import Do from'clsx';import i,{useState,useEffect,Suspense}from'react';import {toCamelCase}from'@purr-core/utils.helpers';var Uo=Object.defineProperty;var j=o=>r=>{var s=o[r];if(s)return s();throw new Error("Module not found in bundle: "+r)};var n=(o,r)=>()=>(o&&(r=o(o=0)),r);var t=(o,r)=>{for(var s in r)Uo(o,s,{get:r[s],enumerable:true});};var W={};t(W,{IconAnchor:()=>Eo});var Eo,y=n(()=>{Eo=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"M12 22V8"}),i.createElement("path",{d:"M5 12H2a10 10 0 0 0 20 0h-3"}),i.createElement("circle",{cx:"12",cy:"5",r:"3"}));});var H={};t(H,{IconArrowDown:()=>Fo});var Fo,z=n(()=>{Fo=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"M12 5v14"}),i.createElement("path",{d:"m19 12-7 7-7-7"}));});var V={};t(V,{IconArrowLeft:()=>Jo});var Jo,A=n(()=>{Jo=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"m12 19-7-7 7-7"}),i.createElement("path",{d:"M19 12H5"}));});var b={};t(b,{IconArrowRight:()=>qo});var qo,U=n(()=>{qo=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"M5 12h14"}),i.createElement("path",{d:"m12 5 7 7-7 7"}));});var D={};t(D,{IconArrowUp:()=>Oo});var Oo,E=n(()=>{Oo=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"m5 12 7-7 7 7"}),i.createElement("path",{d:"M12 19V5"}));});var T={};t(T,{IconBomb:()=>Yo});var Yo,F=n(()=>{Yo=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{stroke:"none",d:"M0 0h24v24H0z"}),i.createElement("path",{d:"M15.349 5.349l3.301 3.301a1.2 1.2 0 0 1 0 1.698l-.972 .972a7.5 7.5 0 1 1 -5 -5l.972 -.972a1.2 1.2 0 0 1 1.698 0z"}),i.createElement("path",{d:"M17 7l1.293 -1.293a2.414 2.414 0 0 0 .707 -1.707a1 1 0 0 1 1 -1h1"}),i.createElement("path",{d:"M7 13a3 3 0 0 1 3 -3"}));});var J={};t(J,{IconBookmark:()=>_o});var _o,X=n(()=>{_o=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z"}));});var K={};t(K,{IconChevronDown:()=>or});var or,O=n(()=>{or=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"m6 9 6 6 6-6"}));});var Y={};t(Y,{IconChevronLeft:()=>nr});var nr,Z=n(()=>{nr=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"m15 18-6-6 6-6"}));});var R={};t(R,{IconChevronRight:()=>ir});var ir,oo=n(()=>{ir=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"m9 18 6-6-6-6"}));});var no={};t(no,{IconChevronUp:()=>er});var er,to=n(()=>{er=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"m18 15-6-6-6 6"}));});var io={};t(io,{IconContact:()=>pr});var pr,so=n(()=>{pr=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"M17 18a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2"}),i.createElement("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}),i.createElement("circle",{cx:"12",cy:"10",r:"2"}),i.createElement("line",{x1:"8",x2:"8",y1:"2",y2:"4"}),i.createElement("line",{x1:"16",x2:"16",y1:"2",y2:"4"}));});var eo={};t(eo,{IconCopy:()=>fr});var fr,co=n(()=>{fr=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),i.createElement("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"}));});var po={};t(po,{IconExternalLink:()=>hr});var hr,lo=n(()=>{hr=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"M15 3h6v6"}),i.createElement("path",{d:"M10 14 21 3"}),i.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}));});var mo={};t(mo,{IconFacebook:()=>wr});var wr,ho=n(()=>{wr=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"}));});var go={};t(go,{IconGitHub:()=>Ir});var Ir,wo=n(()=>{Ir=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"}),i.createElement("path",{d:"M9 18c-4.51 2-5-2-7-2"}));});var Io={};t(Io,{IconInfo:()=>ar});var ar,vo=n(()=>{ar=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("circle",{cx:"12",cy:"12",r:"10"}),i.createElement("path",{d:"M12 16v-4"}),i.createElement("path",{d:"M12 8h.01"}));});var ao={};t(ao,{IconLinkedIn:()=>ur});var ur,xo=n(()=>{ur=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),i.createElement("rect",{width:"4",height:"12",x:"2",y:"9"}),i.createElement("circle",{cx:"4",cy:"4",r:"2"}));});var uo={};t(uo,{IconLoader2:()=>Sr});var Sr,ko=n(()=>{Sr=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),i.createElement("path",{d:"M12 3a9 9 0 1 0 9 9"}));});var So={};t(So,{IconReactJs:()=>Pr});var Pr,Lo=n(()=>{Pr=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{stroke:"none",d:"M0 0h24v24H0z"}),i.createElement("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"}),i.createElement("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"}),i.createElement("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"}),i.createElement("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"}),i.createElement("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"}),i.createElement("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"}),i.createElement("path",{d:"M11.5 12.866a1 1 0 1 0 1 -1.732a1 1 0 0 0 -1 1.732z"}));});var Po={};t(Po,{IconRss:()=>Cr});var Cr,Mo=n(()=>{Cr=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"M4 11a9 9 0 0 1 9 9"}),i.createElement("path",{d:"M4 4a16 16 0 0 1 16 16"}),i.createElement("circle",{cx:"5",cy:"19",r:"1"}));});var Co={};t(Co,{IconSave:()=>Br});var Br,$o=n(()=>{Br=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("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"}),i.createElement("path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7"}),i.createElement("path",{d:"M7 3v4a1 1 0 0 0 1 1h7"}));});var Bo={};t(Bo,{IconScript:()=>jr});var jr,No=n(()=>{jr=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{stroke:"none",d:"M0 0h24v24H0z"}),i.createElement("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"}));});var jo={};t(jo,{IconSettings:()=>yr});var yr,Wo=n(()=>{yr=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("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"}),i.createElement("circle",{cx:"12",cy:"12",r:"3"}));});var yo={};t(yo,{IconUpwork:()=>zr});var zr,Ho=n(()=>{zr=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{stroke:"none",d:"M0 0h24v24H0z"}),i.createElement("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"}));});var zo={};t(zo,{IconUserSearch:()=>Ar});var Ar,Vo=n(()=>{Ar=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("circle",{cx:"10",cy:"7",r:"4"}),i.createElement("path",{d:"M10.3 15H7a4 4 0 0 0-4 4v2"}),i.createElement("circle",{cx:"17",cy:"17",r:"3"}),i.createElement("path",{d:"m21 21-1.9-1.9"}));});var Ao={};t(Ao,{IconX:()=>Ur});var Ur,bo=n(()=>{Ur=({name:o,htmlAttributes:r})=>i.createElement("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:Do("icon",`icon--${o}`),...r},i.createElement("path",{d:"M18 6 6 18"}),i.createElement("path",{d:"m6 6 12 12"}));});var Dr=j({"./icons/_anchor.tsx":()=>Promise.resolve().then(()=>(y(),W)),"./icons/_arrow-down.tsx":()=>Promise.resolve().then(()=>(z(),H)),"./icons/_arrow-left.tsx":()=>Promise.resolve().then(()=>(A(),V)),"./icons/_arrow-right.tsx":()=>Promise.resolve().then(()=>(U(),b)),"./icons/_arrow-up.tsx":()=>Promise.resolve().then(()=>(E(),D)),"./icons/_bomb.tsx":()=>Promise.resolve().then(()=>(F(),T)),"./icons/_bookmark.tsx":()=>Promise.resolve().then(()=>(X(),J)),"./icons/_chevron-down.tsx":()=>Promise.resolve().then(()=>(O(),K)),"./icons/_chevron-left.tsx":()=>Promise.resolve().then(()=>(Z(),Y)),"./icons/_chevron-right.tsx":()=>Promise.resolve().then(()=>(oo(),R)),"./icons/_chevron-up.tsx":()=>Promise.resolve().then(()=>(to(),no)),"./icons/_contact.tsx":()=>Promise.resolve().then(()=>(so(),io)),"./icons/_copy.tsx":()=>Promise.resolve().then(()=>(co(),eo)),"./icons/_external-link.tsx":()=>Promise.resolve().then(()=>(lo(),po)),"./icons/_facebook.tsx":()=>Promise.resolve().then(()=>(ho(),mo)),"./icons/_git-hub.tsx":()=>Promise.resolve().then(()=>(wo(),go)),"./icons/_info.tsx":()=>Promise.resolve().then(()=>(vo(),Io)),"./icons/_linked-in.tsx":()=>Promise.resolve().then(()=>(xo(),ao)),"./icons/_loader-2.tsx":()=>Promise.resolve().then(()=>(ko(),uo)),"./icons/_react-js.tsx":()=>Promise.resolve().then(()=>(Lo(),So)),"./icons/_rss.tsx":()=>Promise.resolve().then(()=>(Mo(),Po)),"./icons/_save.tsx":()=>Promise.resolve().then(()=>($o(),Co)),"./icons/_script.tsx":()=>Promise.resolve().then(()=>(No(),Bo)),"./icons/_settings.tsx":()=>Promise.resolve().then(()=>(Wo(),jo)),"./icons/_upwork.tsx":()=>Promise.resolve().then(()=>(Ho(),yo)),"./icons/_user-search.tsx":()=>Promise.resolve().then(()=>(Vo(),zo)),"./icons/_x.tsx":()=>Promise.resolve().then(()=>(bo(),Ao))});var Zn=({name:o,isSpaceReserved:r,htmlAttributes:s})=>{let[B,N]=useState(null);return useEffect(()=>{N(null),Dr(`./icons/_${o}.tsx`).then(d=>{N(()=>d[`Icon${toCamelCase(o)}`]);}).catch(d=>console.error(`\u{1F50D} Icon not found: ${o}`,d));},[o]),B?i.createElement(Suspense,null,i.createElement(B,{name:o,htmlAttributes:s})):r?i.createElement("span",{className:"h-6 w-6"}):null};
2
+ export{Zn as Icon};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purr-react-tailwindcss/components.icon",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "typescript": "*",
25
25
  "react": "*",
26
26
  "clsx": "*",
27
- "@purr-core/utils.definitions": "0.0.10",
28
- "@purr-core/utils.helpers": "0.0.10"
27
+ "@purr-core/utils.definitions": "0.0.12",
28
+ "@purr-core/utils.helpers": "0.0.12"
29
29
  },
30
30
  "author": "@DinhThienPhuc",
31
31
  "license": "ISC",
@@ -34,6 +34,8 @@
34
34
  "scripts": {
35
35
  "dev": "vite build --watch",
36
36
  "build": "tsc && vite build",
37
+ "build:vite": "tsc && vite build",
38
+ "build:tsup": "tsup",
37
39
  "lint": "eslint . --ext ts,tsx --max-warnings 0"
38
40
  }
39
41
  }
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("clsx"),t=({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:n("icon",`icon--${e}`),...r,children:[o.jsx("path",{d:"M12 22V8"}),o.jsx("path",{d:"M5 12H2a10 10 0 0 0 20 0h-3"}),o.jsx("circle",{cx:"12",cy:"5",r:"3"})]});exports.IconAnchor=t;
@@ -1,27 +0,0 @@
1
- import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import c from "clsx";
3
- const s = ({ 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: c("icon", `icon--${r}`),
17
- ...t,
18
- children: [
19
- /* @__PURE__ */ o("path", { d: "M12 22V8" }),
20
- /* @__PURE__ */ o("path", { d: "M5 12H2a10 10 0 0 0 20 0h-3" }),
21
- /* @__PURE__ */ o("circle", { cx: "12", cy: "5", r: "3" })
22
- ]
23
- }
24
- );
25
- export {
26
- s as IconAnchor
27
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("clsx"),t=({name:r,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--${r}`),...e,children:[o.jsx("path",{d:"M12 5v14"}),o.jsx("path",{d:"m19 12-7 7-7-7"})]});exports.IconArrowDown=t;
@@ -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: "M12 5v14" }),
20
- /* @__PURE__ */ o("path", { d: "m19 12-7 7-7-7" })
21
- ]
22
- }
23
- );
24
- export {
25
- c as IconArrowDown
26
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("clsx"),n=({name:o,htmlAttributes:r})=>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:t("icon",`icon--${o}`),...r,children:[e.jsx("path",{d:"m12 19-7-7 7-7"}),e.jsx("path",{d:"M19 12H5"})]});exports.IconArrowLeft=n;
@@ -1,26 +0,0 @@
1
- import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
- import n from "clsx";
3
- const c = ({ name: r, htmlAttributes: t }) => /* @__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: n("icon", `icon--${r}`),
17
- ...t,
18
- children: [
19
- /* @__PURE__ */ o("path", { d: "m12 19-7-7 7-7" }),
20
- /* @__PURE__ */ o("path", { d: "M19 12H5" })
21
- ]
22
- }
23
- );
24
- export {
25
- c as IconArrowLeft
26
- };
@@ -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: "M5 12h14" }),
20
- /* @__PURE__ */ o("path", { d: "m12 5 7 7-7 7" })
21
- ]
22
- }
23
- );
24
- export {
25
- c as IconArrowRight
26
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),t=require("clsx"),n=({name:r,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:t("icon",`icon--${r}`),...e,children:[o.jsx("path",{d:"M5 12h14"}),o.jsx("path",{d:"m12 5 7 7-7 7"})]});exports.IconArrowRight=n;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),t=require("clsx"),n=({name:r,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:t("icon",`icon--${r}`),...e,children:[o.jsx("path",{d:"m5 12 7-7 7 7"}),o.jsx("path",{d:"M12 19V5"})]});exports.IconArrowUp=n;
@@ -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: "m5 12 7-7 7 7" }),
20
- /* @__PURE__ */ o("path", { d: "M12 19V5" })
21
- ]
22
- }
23
- );
24
- export {
25
- c as IconArrowUp
26
- };
@@ -1,28 +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: "M15.349 5.349l3.301 3.301a1.2 1.2 0 0 1 0 1.698l-.972 .972a7.5 7.5 0 1 1 -5 -5l.972 -.972a1.2 1.2 0 0 1 1.698 0z" }),
21
- /* @__PURE__ */ o("path", { d: "M17 7l1.293 -1.293a2.414 2.414 0 0 0 .707 -1.707a1 1 0 0 1 1 -1h1" }),
22
- /* @__PURE__ */ o("path", { d: "M7 13a3 3 0 0 1 3 -3" })
23
- ]
24
- }
25
- );
26
- export {
27
- i as IconBomb
28
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("clsx"),r=({name:e,htmlAttributes:t})=>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--${e}`),...t,children:[o.jsx("path",{stroke:"none",d:"M0 0h24v24H0z"}),o.jsx("path",{d:"M15.349 5.349l3.301 3.301a1.2 1.2 0 0 1 0 1.698l-.972 .972a7.5 7.5 0 1 1 -5 -5l.972 -.972a1.2 1.2 0 0 1 1.698 0z"}),o.jsx("path",{d:"M17 7l1.293 -1.293a2.414 2.414 0 0 0 .707 -1.707a1 1 0 0 1 1 -1h1"}),o.jsx("path",{d:"M7 13a3 3 0 0 1 3 -3"})]});exports.IconBomb=r;
@@ -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.jsx("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",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z"})});exports.IconBookmark=n;
@@ -1,23 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import n from "clsx";
3
- const s = ({ name: r, htmlAttributes: t }) => /* @__PURE__ */ o(
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: n("icon", `icon--${r}`),
17
- ...t,
18
- children: /* @__PURE__ */ o("path", { d: "m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z" })
19
- }
20
- );
21
- export {
22
- s as IconBookmark
23
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),r=require("clsx"),t=({name:e,htmlAttributes:n})=>o.jsx("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}`),...n,children:o.jsx("path",{d:"m6 9 6 6 6-6"})});exports.IconChevronDown=t;
@@ -1,23 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import t from "clsx";
3
- const s = ({ name: r, htmlAttributes: n }) => /* @__PURE__ */ o(
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--${r}`),
17
- ...n,
18
- children: /* @__PURE__ */ o("path", { d: "m6 9 6 6 6-6" })
19
- }
20
- );
21
- export {
22
- s as IconChevronDown
23
- };
@@ -1,23 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import e from "clsx";
3
- const s = ({ name: r, htmlAttributes: t }) => /* @__PURE__ */ o(
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: /* @__PURE__ */ o("path", { d: "m15 18-6-6 6-6" })
19
- }
20
- );
21
- export {
22
- s as IconChevronLeft
23
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("clsx"),n=({name:o,htmlAttributes:r})=>e.jsx("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--${o}`),...r,children:e.jsx("path",{d:"m15 18-6-6 6-6"})});exports.IconChevronLeft=n;
@@ -1,26 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import n from "clsx";
3
- const s = ({
4
- name: r,
5
- htmlAttributes: t
6
- }) => /* @__PURE__ */ o(
7
- "svg",
8
- {
9
- xmlns: "http://www.w3.org/2000/svg",
10
- width: "24",
11
- height: "24",
12
- viewBox: "0 0 24 24",
13
- fill: "none",
14
- stroke: "currentColor",
15
- strokeWidth: "1.5",
16
- strokeLinecap: "round",
17
- strokeLinejoin: "round",
18
- color: "#ffffff",
19
- className: n("icon", `icon--${r}`),
20
- ...t,
21
- children: /* @__PURE__ */ o("path", { d: "m9 18 6-6-6-6" })
22
- }
23
- );
24
- export {
25
- s as IconChevronRight
26
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("clsx"),n=({name:o,htmlAttributes:r})=>e.jsx("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--${o}`),...r,children:e.jsx("path",{d:"m9 18 6-6-6-6"})});exports.IconChevronRight=n;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("clsx"),t=({name:o,htmlAttributes:r})=>e.jsx("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}`),...r,children:e.jsx("path",{d:"m18 15-6-6-6 6"})});exports.IconChevronUp=t;
@@ -1,23 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import t from "clsx";
3
- const s = ({ name: r, htmlAttributes: n }) => /* @__PURE__ */ o(
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--${r}`),
17
- ...n,
18
- children: /* @__PURE__ */ o("path", { d: "m18 15-6-6-6 6" })
19
- }
20
- );
21
- export {
22
- s as IconChevronUp
23
- };
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { IIconProps } from './_types';
3
-
4
- export declare const Icon: ({ name, isSpaceReserved, htmlAttributes }: IIconProps) => React.JSX.Element | null;