hive-react-kit 0.4.6 → 0.4.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.
package/dist/index.cjs.js CHANGED
@@ -1116,4 +1116,4 @@ Furniture: 15% depreciation/yr`}].map(({icon:j,iconBg:N,iconColor:x,label:m,desc
1116
1116
  - As a team, we are able to make an impact
1117
1117
  - Cost of developers is on us as a Contribution for Hive Community members`,url:"https://vote.hive.uno/@sagarkothari88",useCircleBackground:!1},{imagePath:je.template,name:"uptime with kuma",description:"- We provide transperancy to all the services which we provide for hive blockchain. With uptime, we show status of all the services we provide",url:"https://uptime.sagarkothari88.one/status/sagar",useCircleBackground:!1}],Kt={viewBox:"0 0 512 512",fill:"currentColor"},Fm=()=>t.jsx("svg",{...Kt,className:"w-6 h-6",children:t.jsx("path",{d:"M256 105c-101.8 0-185 82.2-185 185 0 101.8 82.2 185 185 185s185-82.2 185-185c0-102.8-82.2-185-185-185zm0 323c-76.2 0-138-61.8-138-138s61.8-138 138-138 138 61.8 138 138-61.8 138-138 138zm0-229c-50.2 0-91 40.8-91 91s40.8 91 91 91 91-40.8 91-91-40.8-91-91-91z"})}),Bm=()=>t.jsx("svg",{...Kt,className:"w-6 h-6",children:t.jsx("path",{d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256 256-114.6 256-256S397.4 0 256 0zm0 448c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192zm0-320c-70.7 0-128 57.3-128 128s57.3 128 128 128 128-57.3 128-128-57.3-128-128-128zm0 208c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80zm0-112c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"})}),qm=()=>t.jsx("svg",{...Kt,className:"w-6 h-6",children:t.jsx("path",{d:"M256 0l67 136 149 22-108 105 25 147-133-70-133 70 25-147-108-105 149-22z"})}),Vm=()=>t.jsx("svg",{...Kt,className:"w-6 h-6",children:t.jsx("path",{d:"M288 0l-64 224h96l-64 288 256-320h-96z"})}),Um=()=>t.jsx("svg",{...Kt,className:"w-6 h-6",children:t.jsx("path",{d:"M156 132l-64 64 64 64 20-20-44-44 44-44zm200 0l-20 20 44 44-44 44 20 20 64-64zm-244 76h288v-32H112z"})}),zm=()=>t.jsx("svg",{...Kt,className:"w-6 h-6",children:t.jsx("path",{d:"M256 0c-32 64-96 128-96 224v128l96 32 96-32V224c0-96-64-160-96-224z"})}),Hm=()=>t.jsx("svg",{...Kt,className:"w-6 h-6",children:t.jsx("path",{d:"M256 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-64 64c-70.7 0-128 57.3-128 128v32h256v-32c0-70.7-57.3-128-128-128H192zm256 0c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64zm64 64c0-70.7-57.3-128-128-128-35.3 0-64 28.7-64 64s28.7 64 64 64h128v32z"})}),Wm=()=>t.jsx("svg",{...Kt,className:"w-6 h-6","aria-hidden":!0,children:t.jsx("path",{d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64zm0 352c-88.2 0-160-71.8-160-160S167.8 96 256 96s160 71.8 160 160-71.8 160-160 160zm16-176h-96v-32h80V128h32v80h-16z"})}),Gm=()=>t.jsx("svg",{...Kt,className:"w-6 h-6",children:t.jsx("path",{d:"M128 0h32v64h192V0h32v64h32c35.3 0 64 28.7 64 64v320c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128c0-35.3 28.7-64 64-64h32V0zm288 128H96v320h320V128zm-256 64h64v64h-64v-64zm96 0h64v64h-64v-64zm-96 96h64v64h-64v-64zm96 0h64v64h-64v-64zm96-96h64v64h-64v-64zm0 96h64v64h-64v-64z"})}),Jm=()=>t.jsx("svg",{...Kt,className:"w-6 h-6",children:t.jsx("path",{d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256 256-114.6 256-256S397.4 0 256 0zm128 192l-160 160-64-64 22.6-22.6 41.4 41.4 137.4-137.4L384 192z"})}),Oc=()=>t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"w-4 h-4",children:[t.jsx("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),t.jsx("polyline",{points:"15 3 21 3 21 9"}),t.jsx("line",{x1:"10",y1:"14",x2:"21",y2:"3"})]}),Ym=[{title:"Powered by Hive.io",description:"Explore the Hive blockchain",avatar:"https://images.hive.blog/u/hiveio/avatar",link:"https://hive.io/",buttonText:"Visit"},{title:"Cheered by @starkerz",description:"Community supporter",avatar:"https://images.ecency.com/webp/u/starkerz/avatar/medium",link:"https://peakd.com/@starkerz",buttonText:"View"},{title:"Encouraged by @theycallmedan",description:"Hive advocate & supporter",avatar:"https://images.ecency.com/webp/u/theycallmedan/avatar/medium",link:"https://peakd.com/@theycallmedan",buttonText:"View"},{title:"Github",description:"It's all open source",avatar:"https://avatars.githubusercontent.com/u/259840578?s=200&v=4",link:"https://github.com/orgs/TechCoderLabz/repositories",buttonText:"View"}],Zm=[{icon:Vm,title:"Simplicity Wins",desc:"Blockchain technology should feel as easy as using any modern mobile app."},{icon:Um,title:"Open Ecosystem",desc:"All our apps are open source so developers can learn, extend, and build."},{icon:zm,title:"Build First, Talk Later",desc:"We prefer shipping real products and improving with community feedback."},{icon:Hm,title:"Community Over Ownership",desc:"These are tools built for the entire Hive ecosystem, not closed platforms."}],Xm=[{name:"Distriator",logo:je.distriator_logo},{name:"CheckInWithXYZ",logo:je.checkinwithxyz},{name:"hReplier",logo:je.hreplier},{name:"hStats",logo:je.stats_logo},{name:"hPolls",logo:je.hpolls_logo},{name:"hFestFacts",logo:je.hive_fest_fact_logo},{name:"hSnaps",logo:je.template}],Qm=[{name:"hApprover",desc:"Approve Hive transactions from your phone",logo:je.happrover_logo},{name:"hCurators",desc:`- Request to curate content on behalf of them for their communities.
1118
1118
  - We have staked Hive Power to curate & reward Hive content creators`,logo:je.vote_logo}],Km=["hSurvey","hChat","hShorts","hVideos","hGovernance","hFind","hMarketPlace"],Qs="#f87171",eg=({backgroundColor:e="#020617",textColor:a="#e5e7eb",cardBackgroundColor:s="rgba(15,23,42,0.85)",isDividerShow:i=!0,dividerColor:r="rgba(148,163,184,0.4)",isExpensesCTA:n=!1,extraSupporters:u=[]})=>{const c=[...Ym,...u],d="0 18px 45px rgba(0,0,0,0.6)",[f,o]=T.useState(!1);return f?t.jsx(Rm,{onBack:()=>o(!1),backgroundColor:e,textColor:a,cardBackgroundColor:s,dividerColor:r}):t.jsxs("div",{className:"min-h-screen relative overflow-hidden",children:[t.jsx("div",{className:"fixed inset-0 z-0",style:{backgroundColor:e}}),t.jsx("div",{className:"fixed inset-0 z-10 backdrop-blur-md",style:{backgroundColor:"rgba(15,23,42,0.6)"}}),t.jsx("div",{className:"fixed inset-0 z-20 bg-gradient-to-br from-base-100 via-transparent to-base-100/10"}),t.jsx("div",{className:"fixed inset-0 z-20 bg-gradient-to-b from-base-100 via-transparent to-base-100/10"}),t.jsx("div",{className:"relative z-30",style:{color:a},children:t.jsx("main",{className:"min-h-screen",children:t.jsxs(t.Fragment,{children:[i&&t.jsx("div",{className:"py-8",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"Our Vision & Mission"}),t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 max-w-4xl mx-auto",children:[t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary",children:t.jsx(Fm,{})}),t.jsx("h3",{className:"text-xl font-bold text-base-content",children:"Vision"})]}),t.jsx("p",{className:"text-base-content font-semibold mb-2",children:"Make Hive accessible to the world through simple, powerful applications."}),t.jsx("p",{className:"text-base-content/70",children:"We aim to bridge the gap between traditional social apps and decentralized technologies by creating familiar, easy-to-use products."})]}),t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary",children:t.jsx(Bm,{})}),t.jsx("h3",{className:"text-xl font-bold text-base-content",children:"Mission"})]}),t.jsx("p",{className:"text-base-content font-semibold mb-2",children:"Build open, user-friendly applications that help Hive reach Web2 audiences."}),t.jsx("p",{className:"text-base-content/70",children:"Everything we build is open source and community driven."})]})]}),t.jsx("div",{className:"max-w-4xl mx-auto mt-6",children:t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary",children:t.jsx(qm,{})}),t.jsx("h3",{className:"text-xl font-bold text-base-content",children:"Goal"})]}),t.jsx("p",{className:"text-base-content font-semibold mb-2",children:"Help Hive grow by making it easier for Web2 users to discover and use."}),t.jsx("p",{className:"text-base-content/70",children:"Built without external funding, with passion for Hive, for the entire community, and completely open source."})]})}),n&&t.jsx("div",{className:"max-w-4xl mx-auto mt-6",children:t.jsx("button",{type:"button",onClick:()=>o(!0),className:"w-full text-left",children:t.jsx("div",{className:"card glass-effect hover-lift p-6 rounded-xl border-2 transition-colors",style:{backgroundColor:s,borderColor:r,boxShadow:d},children:t.jsxs("div",{className:"flex flex-col sm:flex-row items-center gap-4",children:[t.jsx("div",{className:"w-12 h-12 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:r},children:t.jsx("span",{className:"text-xl font-bold",style:{color:Qs},children:"₹"})}),t.jsxs("div",{className:"text-center sm:text-left flex-1",children:[t.jsx("h3",{className:"text-xl font-bold",style:{color:Qs},children:"Running in Heavy Debt — See Our Expenses"}),t.jsx("p",{className:"text-sm mt-1",style:{color:a},children:"We have spent our own money with zero revenue. No funding, no ads, no monetization. Open this transparent breakdown to understand how much it really costs."})]}),t.jsx("span",{className:"btn btn-outline btn-sm shrink-0",style:{color:Qs,borderColor:Qs,backgroundColor:"rgba(233, 57, 57, 0.26)"},children:"View Expenses →"})]})})})})]})}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"What We Believe"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-5xl mx-auto",children:Zm.map(({icon:h,title:l,desc:p})=>t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl text-center",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center mx-auto mb-4 text-primary",children:t.jsx(h,{})}),t.jsx("h3",{className:"text-lg font-bold text-base-content mb-2",children:l}),t.jsx("p",{className:"text-base-content/70 text-sm",children:p})]},l))})]})}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4",children:"Apps We've Built & What's Coming"}),t.jsx("p",{className:"text-base-content/70 text-center mb-12 max-w-xl mx-auto",children:"We focus on building multiple specialized apps, each solving a specific problem."}),t.jsxs("div",{className:"max-w-5xl mx-auto",children:[t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:Xm.map(h=>t.jsxs("div",{className:"flex items-center gap-3 glass-effect hover-lift px-5 py-4 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("span",{className:"shrink-0 text-success [&_svg]:w-5 [&_svg]:h-5 inline-flex text-green-500",children:t.jsx(Jm,{})}),t.jsx("img",{src:h.logo,alt:h.name,className:"w-8 h-8 shrink-0 rounded-lg object-contain"}),t.jsx("span",{className:"font-medium text-base-content",children:h.name}),t.jsx("span",{className:"ml-auto shrink-0 badge badge-success badge-outline text-xs",children:"Delivered"})]},h.name))}),t.jsx("p",{className:"mt-8 mb-4 text-center text-sm font-medium uppercase tracking-wide text-base-content/60",children:"In Development"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 max-w-2xl mx-auto",children:Qm.map(h=>t.jsxs("div",{className:"glass-effect hover-lift px-5 py-4 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx("span",{className:"shrink-0 inline-flex items-center justify-center bg-amber-500/20 p-1.5 rounded-full text-amber-400 [&_svg]:w-5 [&_svg]:h-5 [&_svg]:shrink-0",children:t.jsx(Wm,{})}),t.jsx("img",{src:h.logo,alt:h.name,className:"w-8 h-8 shrink-0 rounded-lg object-contain"}),t.jsx("span",{className:"font-medium text-base-content",children:h.name})]}),t.jsx("span",{className:"shrink-0 badge badge-warning badge-outline text-xs",children:"In Dev"})]}),t.jsx("p",{className:"mt-2 text-sm text-base-content/70 ml-8",children:h.desc.split(`
1119
- `).map((l,p)=>t.jsxs("span",{children:[p>0&&t.jsx("br",{}),l]},p))})]},h.name))}),t.jsx("p",{className:"mt-8 mb-4 text-center text-sm font-medium uppercase tracking-wide text-base-content/60",children:"Planned"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:Km.map(h=>t.jsxs("div",{className:"flex items-center gap-3 glass-effect hover-lift px-5 py-4 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("span",{className:"shrink-0 inline-flex items-center justify-center bg-sky-500/20 p-1.5 rounded-full text-sky-400 [&_svg]:w-5 [&_svg]:h-5 [&_svg]:shrink-0",children:t.jsx(Gm,{})}),t.jsx("span",{className:"font-medium text-base-content",children:h}),t.jsx("span",{className:"ml-auto shrink-0 badge badge-info badge-outline text-xs",children:"Planned"})]},h))})]})]})}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsxs("section",{className:"py-12",children:[t.jsx("div",{className:"container mx-auto px-4 text-center mb-12",children:t.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Contributions by @sagarkothari88 & team"})}),t.jsx(Am,{apps:Im,cardBackgroundColor:s,cardShadow:d})]}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"Supporters"}),t.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 max-w-5xl mx-auto",children:[c.map((h,l)=>t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center overflow-hidden rounded-xl",style:{backgroundColor:r},children:t.jsx("img",{src:h.avatar,alt:h.title,className:"h-full w-full object-cover"})}),t.jsx("h3",{className:"mt-3 text-lg font-semibold",style:{color:a},children:h.title}),t.jsx("p",{className:"mt-1 text-sm",style:{color:a,opacity:.6},children:h.description}),t.jsx("div",{className:"mt-4",children:t.jsxs("a",{href:h.link,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",style:{backgroundColor:"#e31337"},children:[h.buttonText,t.jsx(Oc,{})]})})]},l)),t.jsxs("a",{href:"https://discord.gg/WEKa8JKg7W",target:"_blank",rel:"noopener noreferrer",className:"card glass-effect hover-lift flex flex-col p-6 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl",style:{backgroundColor:r},children:t.jsx("img",{src:"https://cdn.simpleicons.org/discord/5865F2",alt:"Discord",className:"h-6 w-6",width:24,height:24})}),t.jsx("h3",{className:"mt-3 text-lg font-semibold",style:{color:a},children:"Contact Support"}),t.jsx("p",{className:"mt-1 text-sm",style:{color:a,opacity:.6},children:"Get help on Discord"}),t.jsx("div",{className:"mt-4",children:t.jsxs("span",{className:"inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",style:{backgroundColor:"#e31337"},children:["Join",t.jsx(Oc,{})]})})]})]})]})}),t.jsx("div",{className:"py-20"})]})})})]})},tg=1,rg=1e6;let Fi=0;function ag(){return Fi=(Fi+1)%Number.MAX_SAFE_INTEGER,Fi.toString()}const Bi=new Map,Pc=e=>{if(Bi.has(e))return;const a=setTimeout(()=>{Bi.delete(e),as({type:"REMOVE_TOAST",toastId:e})},rg);Bi.set(e,a)},Hd=(e,a)=>{switch(a.type){case"ADD_TOAST":return{...e,toasts:[a.toast,...e.toasts].slice(0,tg)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(s=>s.id===a.toast.id?{...s,...a.toast}:s)};case"DISMISS_TOAST":{const{toastId:s}=a;return s?Pc(s):e.toasts.forEach(i=>{Pc(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===s||s===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return a.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(s=>s.id!==a.toastId)}}},rn=[];let an={toasts:[]};function as(e){an=Hd(an,e),rn.forEach(a=>{a(an)})}function Wd({...e}){const a=ag(),s=r=>as({type:"UPDATE_TOAST",toast:{...r,id:a}}),i=()=>as({type:"DISMISS_TOAST",toastId:a});return as({type:"ADD_TOAST",toast:{...e,id:a,open:!0,onOpenChange:r=>{r||i()}}}),{id:a,dismiss:i,update:s}}function sg(){const[e,a]=sn.useState(an);return sn.useEffect(()=>(rn.push(a),()=>{const s=rn.indexOf(a);s>-1&&rn.splice(s,1)}),[e]),{...e,toast:Wd,dismiss:s=>as({type:"DISMISS_TOAST",toastId:s})}}exports.ActivityList=em;exports.ApiVideoFeedType=Ze;exports.CommentsList=wm;exports.CommentsModal=ho;exports.CommunitiesList=gm;exports.CommunityAbout=Id;exports.CommunityDetail=bm;exports.CommunityMembers=Bd;exports.CommunityPostDetails=xm;exports.CommunityTeam=Fd;exports.FavouriteWidget=go;exports.FollowersList=Xp;exports.FollowingList=Qp;exports.HiveContributionsLanding=eg;exports.HiveToolbar=hm;exports.ListOfWitnesses=am;exports.Modal=Cd;exports.PostActionButton=pm;exports.PostFeedList=Md;exports.ProposalsList=Yp;exports.TransactionHistory=im;exports.UpvoteList=vm;exports.UpvoteListModal=po;exports.UserAccount=jm;exports.UserChannel=lm;exports.UserFollowers=qd;exports.UserFollowing=Vd;exports.UserInfo=Ud;exports.UserProfilePage=Nm;exports.VideoCard=Rc;exports.VideoDetail=Np;exports.VideoFeed=fn;exports.VideoInfo=Ic;exports.Wallet=Gp;exports.apiService=Pe;exports.reducer=Hd;exports.server=dr;exports.toast=Wd;exports.useIsMobile=Rd;exports.useToast=sg;exports.useWalletStore=Ld;exports.witnessService=pt;
1119
+ `).map((l,p)=>t.jsxs("span",{children:[p>0&&t.jsx("br",{}),l]},p))})]},h.name))}),t.jsx("p",{className:"mt-8 mb-4 text-center text-sm font-medium uppercase tracking-wide text-base-content/60",children:"Planned"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:Km.map(h=>t.jsxs("div",{className:"flex items-center gap-3 glass-effect hover-lift px-5 py-4 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("span",{className:"shrink-0 inline-flex items-center justify-center bg-sky-500/20 p-1.5 rounded-full text-sky-400 [&_svg]:w-5 [&_svg]:h-5 [&_svg]:shrink-0",children:t.jsx(Gm,{})}),t.jsx("span",{className:"font-medium text-base-content",children:h}),t.jsx("span",{className:"ml-auto shrink-0 badge badge-info badge-outline text-xs",children:"Planned"})]},h))})]})]})}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsxs("section",{className:"py-12",children:[t.jsx("div",{className:"container mx-auto px-4 text-center mb-12",children:t.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Contributions by @sagarkothari88 & team"})}),t.jsx(Am,{apps:Im,cardBackgroundColor:s,cardShadow:d})]}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"Powered by"}),t.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 max-w-5xl mx-auto",children:[c.map((h,l)=>t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center overflow-hidden rounded-xl",style:{backgroundColor:r},children:t.jsx("img",{src:h.avatar,alt:h.title,className:"h-full w-full object-cover"})}),t.jsx("h3",{className:"mt-3 text-lg font-semibold",style:{color:a},children:h.title}),t.jsx("p",{className:"mt-1 text-sm",style:{color:a,opacity:.6},children:h.description}),t.jsx("div",{className:"mt-4",children:t.jsxs("a",{href:h.link,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",style:{backgroundColor:"#e31337"},children:[h.buttonText,t.jsx(Oc,{})]})})]},l)),t.jsxs("a",{href:"https://discord.gg/WEKa8JKg7W",target:"_blank",rel:"noopener noreferrer",className:"card glass-effect hover-lift flex flex-col p-6 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl",style:{backgroundColor:r},children:t.jsx("img",{src:"https://cdn.simpleicons.org/discord/5865F2",alt:"Discord",className:"h-6 w-6",width:24,height:24})}),t.jsx("h3",{className:"mt-3 text-lg font-semibold",style:{color:a},children:"Contact Support"}),t.jsx("p",{className:"mt-1 text-sm",style:{color:a,opacity:.6},children:"Get help on Discord"}),t.jsx("div",{className:"mt-4",children:t.jsxs("span",{className:"inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",style:{backgroundColor:"#e31337"},children:["Join",t.jsx(Oc,{})]})})]})]})]})}),t.jsx("div",{className:"py-20"})]})})})]})},tg=1,rg=1e6;let Fi=0;function ag(){return Fi=(Fi+1)%Number.MAX_SAFE_INTEGER,Fi.toString()}const Bi=new Map,Pc=e=>{if(Bi.has(e))return;const a=setTimeout(()=>{Bi.delete(e),as({type:"REMOVE_TOAST",toastId:e})},rg);Bi.set(e,a)},Hd=(e,a)=>{switch(a.type){case"ADD_TOAST":return{...e,toasts:[a.toast,...e.toasts].slice(0,tg)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(s=>s.id===a.toast.id?{...s,...a.toast}:s)};case"DISMISS_TOAST":{const{toastId:s}=a;return s?Pc(s):e.toasts.forEach(i=>{Pc(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===s||s===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return a.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(s=>s.id!==a.toastId)}}},rn=[];let an={toasts:[]};function as(e){an=Hd(an,e),rn.forEach(a=>{a(an)})}function Wd({...e}){const a=ag(),s=r=>as({type:"UPDATE_TOAST",toast:{...r,id:a}}),i=()=>as({type:"DISMISS_TOAST",toastId:a});return as({type:"ADD_TOAST",toast:{...e,id:a,open:!0,onOpenChange:r=>{r||i()}}}),{id:a,dismiss:i,update:s}}function sg(){const[e,a]=sn.useState(an);return sn.useEffect(()=>(rn.push(a),()=>{const s=rn.indexOf(a);s>-1&&rn.splice(s,1)}),[e]),{...e,toast:Wd,dismiss:s=>as({type:"DISMISS_TOAST",toastId:s})}}exports.ActivityList=em;exports.ApiVideoFeedType=Ze;exports.CommentsList=wm;exports.CommentsModal=ho;exports.CommunitiesList=gm;exports.CommunityAbout=Id;exports.CommunityDetail=bm;exports.CommunityMembers=Bd;exports.CommunityPostDetails=xm;exports.CommunityTeam=Fd;exports.FavouriteWidget=go;exports.FollowersList=Xp;exports.FollowingList=Qp;exports.HiveContributionsLanding=eg;exports.HiveToolbar=hm;exports.ListOfWitnesses=am;exports.Modal=Cd;exports.PostActionButton=pm;exports.PostFeedList=Md;exports.ProposalsList=Yp;exports.TransactionHistory=im;exports.UpvoteList=vm;exports.UpvoteListModal=po;exports.UserAccount=jm;exports.UserChannel=lm;exports.UserFollowers=qd;exports.UserFollowing=Vd;exports.UserInfo=Ud;exports.UserProfilePage=Nm;exports.VideoCard=Rc;exports.VideoDetail=Np;exports.VideoFeed=fn;exports.VideoInfo=Ic;exports.Wallet=Gp;exports.apiService=Pe;exports.reducer=Hd;exports.server=dr;exports.toast=Wd;exports.useIsMobile=Rd;exports.useToast=sg;exports.useWalletStore=Ld;exports.witnessService=pt;
package/dist/index.esm.js CHANGED
@@ -29287,7 +29287,7 @@ Furniture: 15% depreciation/yr`
29287
29287
  }
29288
29288
  ) }),
29289
29289
  /* @__PURE__ */ t.jsx("section", { className: "py-12", children: /* @__PURE__ */ t.jsxs("div", { className: "container mx-auto px-4", children: [
29290
- /* @__PURE__ */ t.jsx("h2", { className: "text-3xl md:text-4xl font-bold text-center mb-12", children: "Supporters" }),
29290
+ /* @__PURE__ */ t.jsx("h2", { className: "text-3xl md:text-4xl font-bold text-center mb-12", children: "Powered by" }),
29291
29291
  /* @__PURE__ */ t.jsxs("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 max-w-5xl mx-auto", children: [
29292
29292
  c.map((h, l) => /* @__PURE__ */ t.jsxs(
29293
29293
  "div",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hive-react-kit",
3
3
  "private": false,
4
- "version": "0.4.6",
4
+ "version": "0.4.7",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",