cortex-react-components 2.13.5 → 2.13.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/{chunk-NPGGDQ6F.mjs → chunk-2GM2LPLB.mjs} +1 -1
- package/dist/{chunk-B2TBKNIJ.mjs → chunk-2OOJ4ZFB.mjs} +1 -1
- package/dist/{chunk-FDRX3CL2.mjs → chunk-3E3GY7S2.mjs} +1 -1
- package/dist/{chunk-FX6IXEMQ.mjs → chunk-4SRUEQTP.mjs} +1 -1
- package/dist/{chunk-2AWS5Z43.mjs → chunk-4VCL66F7.mjs} +1 -1
- package/dist/{chunk-LHO4WFYP.mjs → chunk-5FWH5YVM.mjs} +1 -1
- package/dist/{chunk-2HWSTGAP.mjs → chunk-6FHRZHAJ.mjs} +1 -1
- package/dist/chunk-6R36YTGY.mjs +1 -0
- package/dist/{chunk-SPAOEUCG.mjs → chunk-7OMPPFGG.mjs} +1 -1
- package/dist/{chunk-MFCVMJBO.mjs → chunk-BDDEMCAH.mjs} +1 -1
- package/dist/{chunk-KY3ELFX5.mjs → chunk-BQQ4V4PX.mjs} +1 -1
- package/dist/chunk-DCOFQFVJ.mjs +1 -0
- package/dist/{chunk-QSXEJ2NO.mjs → chunk-DODFVGFK.mjs} +1 -1
- package/dist/{chunk-BY5TSHJ5.mjs → chunk-DPZHVBGG.mjs} +1 -1
- package/dist/chunk-DXRAJQMA.mjs +1 -0
- package/dist/{chunk-TO7SVJIU.mjs → chunk-EUGA4BNN.mjs} +1 -1
- package/dist/{chunk-QWFFSMKK.mjs → chunk-F64CA5CH.mjs} +1 -1
- package/dist/{chunk-K4MFTVNB.mjs → chunk-FEWOSBUJ.mjs} +1 -1
- package/dist/{chunk-FRXZ2OKW.mjs → chunk-FYQBRCQM.mjs} +1 -1
- package/dist/{chunk-57PJ7CHJ.mjs → chunk-GAZHKHGB.mjs} +1 -1
- package/dist/{chunk-VBSFVJM5.mjs → chunk-GETYSIZV.mjs} +1 -1
- package/dist/{chunk-S4ES6P3Y.mjs → chunk-HDKHF3EA.mjs} +1 -1
- package/dist/{chunk-N52FSTLG.mjs → chunk-HKMNAXLM.mjs} +1 -1
- package/dist/{chunk-TKCFCYEQ.mjs → chunk-HSQAHQNP.mjs} +1 -1
- package/dist/chunk-IKZZNNKD.mjs +4 -0
- package/dist/{chunk-5NIEZE7A.mjs → chunk-KBEXWUKI.mjs} +1 -1
- package/dist/{chunk-ZXJFBN7L.mjs → chunk-KVLUT4U2.mjs} +1 -1
- package/dist/{chunk-WUA65ZZB.mjs → chunk-L3BLBPSR.mjs} +1 -1
- package/dist/{chunk-CLGBBNRB.mjs → chunk-LAQ3QAUW.mjs} +1 -1
- package/dist/{chunk-6NED7ZVK.mjs → chunk-LGBD6KGN.mjs} +1 -1
- package/dist/{chunk-X3I4Y44O.mjs → chunk-LITM3HU3.mjs} +1 -1
- package/dist/{chunk-AMVJPDM3.mjs → chunk-M527EJIX.mjs} +1 -1
- package/dist/{chunk-DMCFEJ2C.mjs → chunk-MAZGVZJN.mjs} +1 -1
- package/dist/{chunk-RUZVSK25.mjs → chunk-MO4HRQEL.mjs} +1 -1
- package/dist/{chunk-P7S6XFU4.mjs → chunk-MX3JKY3V.mjs} +1 -1
- package/dist/{chunk-AEFWTCCE.mjs → chunk-O24GFE6Q.mjs} +1 -1
- package/dist/{chunk-ZFUP5NVF.mjs → chunk-O5P35LEY.mjs} +1 -1
- package/dist/{chunk-Q7KKN6MH.mjs → chunk-P6OSMPUQ.mjs} +1 -1
- package/dist/{chunk-2VOOH4YJ.mjs → chunk-PNUBVBSR.mjs} +1 -1
- package/dist/{chunk-TUACRDU3.mjs → chunk-PTZT4QJW.mjs} +1 -1
- package/dist/chunk-QC2UWZWL.mjs +1 -0
- package/dist/{chunk-LQASBVUG.mjs → chunk-QQFIVSBW.mjs} +1 -1
- package/dist/{chunk-6DQ7FEQQ.mjs → chunk-R6AYIVIR.mjs} +1 -1
- package/dist/{chunk-MLMDTZHL.mjs → chunk-RVGPGXLB.mjs} +1 -1
- package/dist/{chunk-TXVA6XJT.mjs → chunk-SRUG246N.mjs} +1 -1
- package/dist/{chunk-75XBZHOC.mjs → chunk-U3FYDDE2.mjs} +1 -1
- package/dist/chunk-USGRM22Y.mjs +1 -0
- package/dist/{chunk-AQQCH7Z2.mjs → chunk-XX4GSGRP.mjs} +1 -1
- package/dist/{chunk-UEBQJNVT.mjs → chunk-ZGQC6O62.mjs} +1 -1
- package/dist/chunk-ZQG4SJ2M.mjs +4 -0
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/CogeBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/Chat/ChatInterface.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/demo-long-messages.mjs +1 -1
- package/dist/components/Chat/demo-tests.mjs +1 -1
- package/dist/components/Chat/demo.mjs +1 -1
- package/dist/components/Chat/example-usage.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
- package/dist/components/DeliveryLead/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.js +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/index.js +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/Foundary/AppSidebarLeft.mjs +1 -1
- package/dist/components/Foundary/MainPage.mjs +1 -1
- package/dist/components/Foundary/Pages/dashboardpage.js +1 -1
- package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
- package/dist/components/Foundary/Views/ColleaguesView.mjs +1 -1
- package/dist/components/Foundary/Views/index.js +1 -1
- package/dist/components/Foundary/Views/index.mjs +1 -1
- package/dist/components/Foundary/index.js +1 -1
- package/dist/components/Foundary/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/Projects/AddEpicModal.js +1 -1
- package/dist/components/Projects/AddEpicModal.mjs +1 -1
- package/dist/components/Projects/AddFileModal.css +1 -0
- package/dist/components/Projects/AddFileModal.d.ts +8 -0
- package/dist/components/Projects/AddFileModal.js +4 -0
- package/dist/components/Projects/AddFileModal.mjs +1 -0
- package/dist/components/Projects/AddTaskModal.js +1 -1
- package/dist/components/Projects/AddTaskModal.mjs +1 -1
- package/dist/components/Projects/EpicsView.d.ts +1 -1
- package/dist/components/Projects/EpicsView.js +2 -1
- package/dist/components/Projects/EpicsView.mjs +1 -1
- package/dist/components/Projects/FileView.d.ts +2 -2
- package/dist/components/Projects/FileView.js +1 -1
- package/dist/components/Projects/FileView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.js +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.js +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.d.ts +1 -1
- package/dist/components/Projects/ProjectView.js +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/file-list.d.ts +1 -1
- package/dist/components/Projects/index.js +1 -1
- package/dist/components/Projects/index.mjs +1 -1
- package/dist/components/dc-temp/index.js +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/dc-temp/mock-data.d.ts +2 -1
- package/dist/components/dc-temp/mock-data.js +1 -1
- package/dist/components/dc-temp/mock-data.mjs +1 -1
- package/dist/components/index.js +11 -11
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +16 -16
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-7YVVWDS2.mjs +0 -4
- package/dist/chunk-E6Y5COQK.mjs +0 -1
- package/dist/chunk-ENRNRNPQ.mjs +0 -1
- package/dist/chunk-QBUU2AQL.mjs +0 -4
- package/dist/chunk-TOI73VEE.mjs +0 -1
- package/dist/chunk-WSQHAE6Q.mjs +0 -1
package/dist/chunk-E6Y5COQK.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as y}from"./chunk-KG7HG2VO.mjs";import{a as E}from"./chunk-Z22NSJMF.mjs";import{a as h}from"./chunk-UVHMI3PU.mjs";import{a as w}from"./chunk-B4H6T2GP.mjs";import{a as k}from"./chunk-L5JPAKPM.mjs";import{b as l}from"./chunk-ZUA4KNIR.mjs";import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as N}from"./chunk-YO3GQYRJ.mjs";import{useState as p,useRef as T,useEffect as C}from"react";import{Plus as G,Move as J,Edit2 as K,Trash2 as Q,Check as W,X as Y}from"lucide-react";import{Fragment as Z,jsx as t,jsxs as s}from"react/jsx-runtime";var ge=({tasks:S,epics:D,sprints:_,onUpdateTask:P,onTaskClick:H,onAddTaskToEpic:B,onAddEpic:z,onUpdateEpic:R,onDeleteEpic:$})=>{let[m,b]=p(null),[d,f]=p(null),[o,r]=p({}),[g,x]=p(0),n=T(null),A=T(null);C(()=>{let e=()=>{if(n.current){let v=n.current.offsetHeight;x(v)}};e();let a=new ResizeObserver(e);n.current&&a.observe(n.current);let u=()=>{setTimeout(e,100)};return window.addEventListener("storage",u),()=>{a.disconnect(),window.removeEventListener("storage",u)}},[]),C(()=>{let e=setTimeout(()=>{n.current&&x(n.current.offsetHeight)},300);return()=>clearTimeout(e)},[d]);let I=e=>{b(e)},L=e=>{e.preventDefault()},M=(e,a)=>{e.preventDefault(),m&&h(m.epic).toString()!==a&&(P(m.id.toString(),{epic:Number(a)}),b(null))},O=e=>S.filter(a=>h(a.epic).toString()===e),F=e=>{f(e.id.toString()),r({name:e.name,description:e.description,confidence:e.confidence,phase:e.phase})},V=()=>{d&&o.name&&(R(d.toString(),o),f(null),r({}))},j=()=>{f(null),r({})},U=e=>{window.confirm("Are you sure you want to delete this epic? This will also delete all associated tasks.")&&$(e)},ee=e=>({1:"Planning",2:"Development",3:"Testing",4:"Review",5:"Deployment",6:"Monitoring",7:"Optimization",8:"Maintenance",9:"Complete"})[e]||`Phase ${e}`,X=e=>{switch(e){case"high":return"bg-success/10 text-success";case"medium":return"bg-warning/10 text-warning";case"low":return"bg-destructive/10 text-destructive";default:return"bg-muted text-muted-foreground"}};return s("div",{ref:A,className:"h-full flex flex-col px-2 md:px-4 py-4",children:[t("div",{ref:n,className:"flex-shrink-0",children:t(E,{title:"Epic Planning",description:"Organize and manage your project epics, track progress, and assign tasks.",gradient:"bg-gradient-to-r from-rose-600 via-pink-600 to-fuchsia-600",primaryAction:{label:"Add epic",onClick:z}})}),t("div",{className:"flex-1 min-h-0 mt-8",children:t("div",{className:"h-full overflow-y-auto",style:{height:g>0?`calc(100vh - ${g+120}px)`:"calc(100vh - 12rem)"},children:t("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6 auto-rows-max",children:D.map(e=>{let a=O(e.id.toString()),u=a.reduce((i,q)=>i+(q.storyPoints||0),0),v=g>0?`calc(100vh - ${g+200}px)`:"calc(100vh - 14rem)";return s(N,{className:`flex flex-col ${d===e.id.toString()?"h-auto":""} bg-card shadow-sm`,style:{height:d===e.id.toString()?"auto":v,minHeight:"400px"},onDragOver:L,onDrop:i=>M(i,e.id.toString()),children:[t("div",{className:"p-4 border-b border-border",children:d===e.id.toString()?s("div",{className:"space-y-4",children:[s("div",{className:"flex items-center justify-between",children:[t(k,{value:o.name||"",onChange:i=>r({...o,name:i.target.value}),placeholder:"Epic name",className:"font-semibold"}),s("div",{className:"flex gap-2 ml-2",children:[t(l,{size:"sm",variant:"ghost",onClick:V,className:"p-1 h-8 w-8",children:t(W,{className:"h-4 w-4"})}),t(l,{size:"sm",variant:"ghost",onClick:j,className:"p-1 h-8 w-8",children:t(Y,{className:"h-4 w-4"})})]})]}),t(w,{value:o.description||"",onChange:i=>r({...o,description:i.target.value}),placeholder:"Epic description",className:"text-sm min-h-[60px]"}),s("div",{className:"grid grid-cols-2 gap-2",children:[s("div",{children:[t("label",{className:"text-xs text-muted-foreground",children:"Confidence"}),s("select",{value:o.confidence||e.confidence,onChange:i=>r({...o,confidence:i.target.value}),className:"flex h-8 w-full rounded-md border border-input bg-background px-3 py-2 text-xs ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",children:[t("option",{value:"low",children:"Low"}),t("option",{value:"medium",children:"Medium"}),t("option",{value:"high",children:"High"})]})]}),s("div",{children:[t("label",{className:"text-xs text-muted-foreground",children:"Phase"}),t("select",{value:o.phase?.toString()||e.phase.toString(),onChange:i=>r({...o,phase:parseInt(i.target.value)}),className:"flex h-8 w-full rounded-md border border-input bg-background px-3 py-2 text-xs ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",children:[1,2,3,4,5,6,7,8,9].map(i=>s("option",{value:i.toString(),children:["Phase ",i]},i))})]})]})]}):s(Z,{children:[s("div",{className:"flex items-center gap-2 mb-2",children:[t("div",{className:`w-4 h-4 rounded-full ${e.color}`}),t("h3",{className:"font-semibold text-foreground select-none flex-1",children:e.name}),s("div",{className:"flex gap-1",children:[t(l,{size:"sm",variant:"ghost",onClick:()=>F(e),className:"p-1 h-8 w-8",children:t(K,{className:"h-3 w-3"})}),t(l,{size:"sm",variant:"ghost",onClick:()=>U(e.id.toString()),className:"p-1 h-8 w-8 hover:bg-destructive/10 hover:text-destructive",children:t(Q,{className:"h-3 w-3"})})]})]}),s("div",{className:"flex flex-wrap gap-2 mb-3",children:[s(c,{className:`text-xs ${X(e.confidence)}`,children:[e.confidence," confidence"]}),s(c,{variant:"outline",className:"text-xs",children:["Phase ",e.phase]}),s(c,{variant:"secondary",className:"text-xs bg-muted text-muted-foreground",children:[a.length," tasks"]}),s(c,{variant:"secondary",className:"text-xs bg-muted text-muted-foreground",children:[u," pts"]})]}),e.description&&t("p",{className:"text-sm text-muted-foreground mb-3 select-none",children:e.description}),s(l,{onClick:()=>B(e.id.toString()),variant:"outline",size:"sm",className:"w-full gap-2",children:[t(G,{className:"h-4 w-4"}),"Add Task"]})]})}),t("div",{className:"flex-1 p-4 overflow-y-auto",children:t("div",{className:`space-y-3 min-h-[200px] border-2 border-dashed rounded p-3 transition-colors ${m?"border-primary bg-primary/10":"border-border"}`,children:a.length===0?s("div",{className:"flex flex-col items-center justify-center h-32 text-muted-foreground border-2 border-dashed border-border rounded-lg",children:[t(J,{className:"h-8 w-8 mb-2"}),t("span",{className:"text-sm select-none",children:"Drop tasks here"})]}):a.map(i=>t(y,{task:i,epic:e,onDragStart:I,onTaskClick:H,isCompact:!0},i.id))})})]},e.id)})})})})]})};export{ge as a};
|
package/dist/chunk-ENRNRNPQ.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Brush as a,Camera as t,Code as c,CuboidIcon as m,FileText as l,ImageIcon as i,Layers as o,LayoutGrid as s,Palette as d,Sparkles as r,Type as p,Video as n}from"lucide-react";import{jsx as e}from"react/jsx-runtime";var w=[{name:"PixelMaster",icon:e(i,{className:"text-violet-500"}),description:"Advanced image editing and composition",category:"Creative",recent:!0,new:!1,progress:100},{name:"VectorPro",icon:e(a,{className:"text-orange-500"}),description:"Professional vector graphics creation",category:"Creative",recent:!0,new:!1,progress:100},{name:"VideoStudio",icon:e(n,{className:"text-pink-500"}),description:"Cinematic video editing and production",category:"Video",recent:!0,new:!1,progress:100},{name:"MotionFX",icon:e(r,{className:"text-blue-500"}),description:"Stunning visual effects and animations",category:"Video",recent:!1,new:!1,progress:100},{name:"PageCraft",icon:e(o,{className:"text-red-500"}),description:"Professional page design and layout",category:"Creative",recent:!1,new:!1,progress:100},{name:"UXFlow",icon:e(s,{className:"text-fuchsia-500"}),description:"Intuitive user experience design",category:"Design",recent:!1,new:!0,progress:85},{name:"PhotoLab",icon:e(t,{className:"text-teal-500"}),description:"Advanced photo editing and organization",category:"Photography",recent:!1,new:!1,progress:100},{name:"DocMaster",icon:e(l,{className:"text-red-600"}),description:"Document editing and management",category:"Document",recent:!1,new:!1,progress:100},{name:"WebCanvas",icon:e(c,{className:"text-emerald-500"}),description:"Web design and development",category:"Web",recent:!1,new:!0,progress:70},{name:"3DStudio",icon:e(m,{className:"text-indigo-500"}),description:"3D modeling and rendering",category:"3D",recent:!1,new:!0,progress:60},{name:"FontForge",icon:e(p,{className:"text-amber-500"}),description:"Typography and font creation",category:"Typography",recent:!1,new:!1,progress:100},{name:"ColorPalette",icon:e(d,{className:"text-purple-500"}),description:"Color scheme creation and management",category:"Design",recent:!1,new:!1,progress:100}],D=[{id:"1",filename:"Brand Redesign.pxm",filesize:24.5,createdAt:new Date,url:"https://example.com/brand-redesign.pxm",mimeType:"image/png",name:"Brand Redesign.pxm",app:"PixelMaster",modified:"2 hours ago",icon:e(i,{className:"text-violet-500"}),shared:!0,size:"24.5 MB",collaborators:3},{id:"2",filename:"Company Logo.vec",filesize:8.2,createdAt:new Date,url:"https://example.com/company-logo.vec",mimeType:"image/svg+xml",name:"Company Logo.vec",app:"VectorPro",modified:"Yesterday",icon:e(a,{className:"text-orange-500"}),shared:!0,size:"8.2 MB",collaborators:2},{id:"3",filename:"Product Launch Video.vid",filesize:1.2,createdAt:new Date,url:"https://example.com/product-launch-video.vid",mimeType:"video/mp4",name:"Product Launch Video.vid",app:"VideoStudio",modified:"3 days ago",icon:e(n,{className:"text-pink-500"}),shared:!1,size:"1.2 GB",collaborators:0},{id:"4",filename:"UI Animation.mfx",filesize:345,createdAt:new Date,url:"https://example.com/ui-animation.mfx",mimeType:"video/mp4",name:"UI Animation.mfx",app:"MotionFX",modified:"Last week",icon:e(r,{className:"text-blue-500"}),shared:!0,size:"345 MB",collaborators:4},{id:"5",filename:"Magazine Layout.pgc",filesize:42.8,createdAt:new Date,url:"https://example.com/magazine-layout.pgc",mimeType:"image/png",name:"Magazine Layout.pgc",app:"PageCraft",modified:"2 weeks ago",icon:e(o,{className:"text-red-500"}),shared:!1,size:"42.8 MB",collaborators:0},{id:"6",filename:"Mobile App Design.uxf",filesize:18.3,createdAt:new Date,url:"https://example.com/mobile-app-design.uxf",mimeType:"image/png",name:"Mobile App Design.uxf",app:"UXFlow",modified:"3 weeks ago",icon:e(s,{className:"text-fuchsia-500"}),shared:!0,size:"18.3 MB",collaborators:5},{id:"7",filename:"Product Photography.phl",filesize:156,createdAt:new Date,url:"https://example.com/product-photography.phl",mimeType:"image/png",name:"Product Photography.phl",app:"PhotoLab",modified:"Last month",icon:e(t,{className:"text-teal-500"}),shared:!1,size:"156 MB",collaborators:0}],b=[{id:1,name:"Website Redesign",description:"Complete overhaul of company website",progress:75,dueDate:"June 15, 2025",members:4,files:23},{id:2,name:"Mobile App Launch",description:"Design and assets for new mobile application",progress:60,dueDate:"July 30, 2025",members:6,files:42},{id:3,name:"Brand Identity",description:"New brand guidelines and assets",progress:90,dueDate:"May 25, 2025",members:3,files:18},{id:4,name:"Marketing Campaign",description:"Summer promotion materials",progress:40,dueDate:"August 10, 2025",members:5,files:31}],P=[{title:"Mastering Digital Illustration",description:"Learn advanced techniques for creating stunning digital art",duration:"1h 45m",level:"Advanced",instructor:"Sarah Chen",category:"Illustration",views:"24K"},{title:"UI/UX Design Fundamentals",description:"Essential principles for creating intuitive user interfaces",duration:"2h 20m",level:"Intermediate",instructor:"Michael Rodriguez",category:"Design",views:"56K"},{title:"Video Editing Masterclass",description:"Professional techniques for cinematic video editing",duration:"3h 10m",level:"Advanced",instructor:"James Wilson",category:"Video",views:"32K"},{title:"Typography Essentials",description:"Create beautiful and effective typography for any project",duration:"1h 30m",level:"Beginner",instructor:"Emma Thompson",category:"Typography",views:"18K"},{title:"Color Theory for Designers",description:"Understanding color relationships and psychology",duration:"2h 05m",level:"Intermediate",instructor:"David Kim",category:"Design",views:"41K"}],C=[{title:"Minimalist Logo Design",author:"Alex Morgan",likes:342,comments:28,image:"/placeholder.svg?height=300&width=400",time:"2 days ago"},{title:"3D Character Concept",author:"Priya Sharma",likes:518,comments:47,image:"/placeholder.svg?height=300&width=400",time:"1 week ago"},{title:"UI Dashboard Redesign",author:"Thomas Wright",likes:276,comments:32,image:"/placeholder.svg?height=300&width=400",time:"3 days ago"},{title:"Product Photography Setup",author:"Olivia Chen",likes:189,comments:15,image:"/placeholder.svg?height=300&width=400",time:"5 days ago"}];export{w as a,D as b,b as c,P as d,C as e};
|
package/dist/chunk-QBUU2AQL.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as n}from"./chunk-DSSHQ6K7.mjs";import{a as x}from"./chunk-Z22NSJMF.mjs";import{a as A}from"./chunk-FGEFYI5E.mjs";import{a as w}from"./chunk-L5JPAKPM.mjs";import{b as v}from"./chunk-ZUA4KNIR.mjs";import{a as g,e as y}from"./chunk-YO3GQYRJ.mjs";import{useEffect as U,useState as r}from"react";import{Plus as V,Search as $,File as R,Filter as q}from"lucide-react";import{motion as z,AnimatePresence as G}from"motion/react";import{jsx as e,jsxs as i}from"react/jsx-runtime";function M({initialFiles:c=[],onFileAdd:k,onFileEdit:S,onFileDelete:D,onFileClick:E,compactView:d=!1,className:H}){let[h,C]=r(c),[a,N]=r(""),[o,P]=r("all"),[s,B]=r("all");U(()=>{C(c)},[c]);let O=Array.from(new Set(h.map(l=>l.mimeType))),t=h.filter(l=>{let F=l.name.toLowerCase().includes(a.toLowerCase()),u=o==="all"||l.mimeType===o;return F&&u}),b=t.slice(0,10),I=t.filter(Boolean),T=()=>{k?.()},m=l=>{S?.(l)},p=l=>{console.log("deleting file",l),C(F=>F.filter(u=>u.name!==l.name)),D?.(l.id)},f=l=>{E?.(l)},L=()=>{N(""),P("all")};return e("div",{className:"px-2 md:px-4 py-4 space-y-8",children:e(G,{mode:"wait",children:e(z.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:i("div",{className:`space-y-6 ${H||""}`,children:[e(x,{title:"Files",description:"Manage and organize your files and documents.",gradient:"bg-gradient-to-r from-blue-600 via-indigo-600 to-purple-600",primaryAction:{label:"Upload file",onClick:T},secondaryAction:{label:"Download all",onClick:()=>console.log("Download all clicked")}}),e(g,{children:e(y,{className:"pt-6",children:i("div",{className:"flex flex-col md:flex-row gap-4",children:[e("div",{className:"flex-1",children:i("div",{className:"relative",children:[e($,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e(w,{placeholder:"Search files...",value:a,onChange:l=>N(l.target.value),className:"pl-9"})]})}),(a||o!=="all")&&i(v,{variant:"outline",onClick:L,className:"gap-2",children:[e(q,{className:"h-4 w-4"}),"Clear"]})]})})}),i("div",{className:"space-y-4",children:[e(A,{activeTab:s,onTabChange:B,tabOptions:[{value:"all",label:`All Files (${t.length})`},{value:"recent",label:`Recent (${b.length})`}],maxWidth:"500px",gridCols:3}),s==="all"&&e(n,{files:t,onFileClick:f,onFileEdit:m,onFileDelete:p,showHeader:!d}),s==="recent"&&e(n,{files:b,onFileClick:f,onFileEdit:m,onFileDelete:p,showHeader:!d}),s==="shared"&&e(n,{files:I,onFileClick:f,onFileEdit:m,onFileDelete:p,showHeader:!d})]}),t.length===0&&e(g,{children:e(y,{className:"pt-6",children:i("div",{className:"text-center py-8",children:[e(R,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e("h3",{className:"text-lg font-semibold mb-2",children:"No files found"}),e("p",{className:"text-muted-foreground mb-4",children:a||o!=="all"?"Try adjusting your filters to see more results.":"Get started by uploading your first file."}),i(v,{onClick:T,className:"gap-2",children:[e(V,{className:"h-4 w-4"}),"Upload File"]})]})})})]})},"files-view")})})}export{M as a};
|
package/dist/chunk-TOI73VEE.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as c,c as d,d as p,g as m,i as g}from"./chunk-YFAZQYK4.mjs";import{a as f}from"./chunk-B4H6T2GP.mjs";import{a as i}from"./chunk-TVZOULLL.mjs";import{a as v,f as b,g as D,h,i as S}from"./chunk-3UMMMQEH.mjs";import{a as o}from"./chunk-L5JPAKPM.mjs";import{b as s}from"./chunk-ZUA4KNIR.mjs";import{useState as L}from"react";import{jsx as a,jsxs as l}from"react/jsx-runtime";var R=({isOpen:y,onClose:r,onAddEpic:C})=>{let[t,u]=L({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),N=["bg-blue-500","bg-green-500","bg-purple-500","bg-orange-500","bg-red-500","bg-yellow-500","bg-pink-500","bg-indigo-500"],w=[{value:"low",label:"Low"},{value:"medium",label:"Medium"},{value:"high",label:"High"}],E=[{value:1,label:"Planning"},{value:2,label:"Development"},{value:3,label:"Testing"},{value:4,label:"Done"}],I=e=>{e.preventDefault(),t.name.trim()&&(C({name:t.name.trim(),description:t.description.trim(),color:t.color,confidence:t.confidence,phase:t.phase,startDate:t.startDate,endDate:t.endDate,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),u({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),r())},n=(e,O)=>{u(T=>({...T,[e]:O}))};return a(v,{open:y,onOpenChange:r,children:l(b,{className:"sm:max-w-md",children:[a(D,{children:a(S,{children:"Add New Epic"})}),l("form",{onSubmit:I,className:"space-y-4",children:[l("div",{className:"space-y-2",children:[a(i,{htmlFor:"name",children:"Epic Name"}),a(o,{id:"name",value:t.name,onChange:e=>n("name",e.target.value),placeholder:"Enter epic name",required:!0})]}),l("div",{className:"space-y-2",children:[a(i,{htmlFor:"description",children:"Description"}),a(f,{id:"description",value:t.description,onChange:e=>n("description",e.target.value),placeholder:"Enter epic description (optional)",rows:3})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Color"}),a("div",{className:"flex gap-2 flex-wrap",children:N.map(e=>a("button",{type:"button",onClick:()=>n("color",e),className:`w-8 h-8 rounded-full ${e} ${t.color===e?"ring-2 ring-gray-400":""}`},e))})]}),l("div",{className:"grid grid-cols-2 gap-4",children:[l("div",{className:"space-y-2",children:[a(i,{children:"Confidence"}),l(c,{value:t.confidence,onValueChange:e=>n("confidence",e),children:[a(p,{children:a(d,{})}),a(m,{children:w.map(e=>a(g,{value:e.value,children:e.label},e.value))})]})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Phase"}),l(c,{value:t.phase.toString(),onValueChange:e=>n("phase",parseInt(e)),children:[a(p,{children:a(d,{})}),a(m,{children:E.map(e=>a(g,{value:e.value.toString(),children:e.label},e.value))})]})]})]}),l("div",{className:"grid grid-cols-2 gap-4",children:[l("div",{className:"space-y-2",children:[a(i,{children:"Start Date"}),a(o,{type:"date",value:t.startDate,onChange:e=>n("startDate",e.target.value)})]}),l("div",{className:"space-y-2",children:[a(i,{children:"End Date"}),a(o,{type:"date",value:t.endDate,onChange:e=>n("endDate",e.target.value)})]})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Progress (%)"}),a(o,{type:"number",min:"0",max:"100",value:t.progress,onChange:e=>n("progress",parseInt(e.target.value)||0)})]}),l(h,{children:[a(s,{type:"button",variant:"outline",onClick:r,children:"Cancel"}),a(s,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Epic"})]})]})]})})};export{R as a};
|
package/dist/chunk-WSQHAE6Q.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as S,b as T}from"./chunk-E4TE4NV6.mjs";import{a as p,c as m,d,g,i as l}from"./chunk-YFAZQYK4.mjs";import{a as I}from"./chunk-B4H6T2GP.mjs";import{a as i}from"./chunk-TVZOULLL.mjs";import{a as k,f as h,g as f,h as N,i as C}from"./chunk-3UMMMQEH.mjs";import{a as y}from"./chunk-L5JPAKPM.mjs";import{b}from"./chunk-ZUA4KNIR.mjs";import{useState as B,useEffect as x}from"react";import{BookOpen as G,Bug as V,Zap as E,AlertCircle as M}from"lucide-react";import{jsx as t,jsxs as o}from"react/jsx-runtime";var H=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:G},{value:"task",label:"Task",color:"bg-secondary/20 text-secondary-foreground",icon:M},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:V},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:E}],R=[{value:"low",label:"Low",color:"bg-success/20 text-success"},{value:"medium",label:"Medium",color:"bg-warning/20 text-warning"},{value:"high",label:"High",color:"bg-destructive/20 text-destructive"}],X=({isOpen:n,onClose:u,onAddTask:D,epics:A,sprints:F,assignees:L,defaultEpicId:s})=>{let[a,c]=B({name:"",description:"",status:"todo",priority:"medium",type:"story",storyPoints:1,epicId:"",sprintId:"none",assignee:""});x(()=>{n&&s&&c(e=>({...e,epicId:s}))},[n,s]),x(()=>{n&&c({name:"",description:"",status:"todo",priority:"medium",type:"story",storyPoints:1,epicId:s||"",sprintId:"none",assignee:""})},[n]);let P=e=>{e.preventDefault(),a.name.trim()&&(D({name:a.name.trim(),description:a.description.trim(),status:"todo",priority:a.priority,type:a.type,storyPoints:a.storyPoints,epic:Number(a.epicId),sprint:Number(a.sprintId),assignee:a.assignee.trim()?{relationTo:"digital-colleagues",value:Number(a.assignee)}:null,dateLogged:new Date().toISOString(),index:0}),c({name:"",description:"",status:"todo",priority:"medium",type:"story",storyPoints:1,epicId:s||"",sprintId:"none",assignee:""}),u())},r=(e,v)=>{c(w=>({...w,[e]:v}))};return t(k,{open:n,onOpenChange:u,children:o(h,{className:"sm:max-w-md",children:[t(f,{children:t(C,{children:"Add New Task"})}),o("form",{onSubmit:P,className:"space-y-4",children:[o("div",{className:"space-y-2",children:[t(i,{htmlFor:"name",children:"Task Title"}),t(y,{id:"name",value:a.name,onChange:e=>r("name",e.target.value),placeholder:"Enter task title",required:!0})]}),o("div",{className:"space-y-2",children:[t(i,{htmlFor:"description",children:"Description"}),t(I,{id:"description",value:a.description,onChange:e=>r("description",e.target.value),placeholder:"Enter task description",rows:3})]}),o("div",{className:"space-y-2",children:[t(i,{children:"Type"}),t(S,{type:"single",value:a.type||"",onValueChange:e=>e&&r("type",e),children:H.map(e=>{let v=e.icon;return o(T,{value:e.value,className:"flex items-center gap-2 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:[t(v,{className:"h-4 w-4"}),e.label]},e.value)})})]}),o("div",{className:"space-y-2",children:[t(i,{children:"Priority"}),t(S,{type:"single",value:a.priority||"",onValueChange:e=>e&&r("priority",e),children:R.map(e=>t(T,{value:e.value,className:"data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:e.label},e.value))})]}),o("div",{className:"space-y-2",children:[t(i,{htmlFor:"points",children:"Story Points"}),t(y,{id:"points",type:"number",min:"1",max:"100",value:a.storyPoints,onChange:e=>r("storyPoints",parseInt(e.target.value)||1),placeholder:"Enter story points",required:!0})]}),!s&&o("div",{className:"space-y-2",children:[t(i,{htmlFor:"epic",children:"Epic"}),o(p,{value:a.epicId,onValueChange:e=>r("epicId",e),children:[t(d,{children:t(m,{placeholder:"Select an epic"})}),t(g,{children:A.map(e=>t(l,{value:e.id.toString(),children:o("div",{className:"flex items-center gap-2",children:[t("div",{className:`w-3 h-3 rounded-full ${e.color}`}),e.name]})},e.id))})]})]}),o("div",{className:"space-y-2",children:[t(i,{htmlFor:"sprint",children:"Sprint (Optional)"}),o(p,{value:a.sprintId,onValueChange:e=>r("sprintId",e),children:[t(d,{children:t(m,{placeholder:"Select a sprint"})}),o(g,{children:[t(l,{value:"none",children:"No Sprint"}),F.map(e=>t(l,{value:e.id.toString(),children:t("div",{className:"flex items-center gap-2",children:e.name})},e.id))]})]})]}),o("div",{className:"space-y-2",children:[t(i,{htmlFor:"sprint",children:"Assignee"}),o(p,{value:a.assignee,onValueChange:e=>r("assignee",e),children:[t(d,{children:t(m,{placeholder:"Select an Assignee"})}),o(g,{children:[t(l,{value:"none",children:"No Assignee"}),L.map(e=>t(l,{value:e.id.toString(),children:t("div",{className:"flex items-center gap-2",children:e.name})},e.id))]})]})]}),o(N,{children:[t(b,{type:"button",variant:"outline",onClick:u,children:"Cancel"}),t(b,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Task"})]})]})]})})};export{X as a};
|