cortex-react-components 2.29.0 → 3.0.0
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/README.md +40 -14
- package/dist/{chunk-ZLFZBT3K.mjs → chunk-27JY2ETY.mjs} +1 -1
- package/dist/{chunk-VRE6VCHX.mjs → chunk-2BR55L74.mjs} +1 -1
- package/dist/{chunk-T46EPXCV.mjs → chunk-2PHIGOJD.mjs} +1 -1
- package/dist/{chunk-NCHC4HCU.mjs → chunk-3765FO7Q.mjs} +1 -1
- package/dist/{chunk-7YSJAVXO.mjs → chunk-3HZONVAV.mjs} +1 -1
- package/dist/{chunk-YKYDKCZZ.mjs → chunk-3QJ3NMZY.mjs} +1 -1
- package/dist/{chunk-VKUF2Y5T.mjs → chunk-43W3VBQF.mjs} +1 -1
- package/dist/{chunk-EKPZXJEQ.mjs → chunk-4EQSCHSF.mjs} +1 -1
- package/dist/{chunk-4KVVVRGU.mjs → chunk-4LX2MTJJ.mjs} +1 -1
- package/dist/{chunk-ZPJJOZY4.mjs → chunk-5EM6P7SU.mjs} +1 -1
- package/dist/{chunk-GMLLRSAH.mjs → chunk-5GHKXLL2.mjs} +1 -1
- package/dist/{chunk-V7PGZR23.mjs → chunk-5KGFRFL7.mjs} +1 -1
- package/dist/{chunk-C23V6PX5.mjs → chunk-5LCQG4A7.mjs} +1 -1
- package/dist/{chunk-CMEGGDTF.mjs → chunk-6IDI2TO3.mjs} +1 -1
- package/dist/{chunk-7GWTDITT.mjs → chunk-AN744MXS.mjs} +1 -1
- package/dist/{chunk-XTUH2DJE.mjs → chunk-AXWXFEW7.mjs} +1 -1
- package/dist/{chunk-XMA6UX5L.mjs → chunk-BMIOZYRR.mjs} +1 -1
- package/dist/{chunk-2W5UZALU.mjs → chunk-BPO6EZE4.mjs} +1 -1
- package/dist/{chunk-RK5JHVD4.mjs → chunk-CMU5JFUC.mjs} +1 -1
- package/dist/{chunk-NBWQTY4K.mjs → chunk-D3LUK47L.mjs} +1 -1
- package/dist/{chunk-WLI2YTOQ.mjs → chunk-E6OXUY4M.mjs} +1 -1
- package/dist/{chunk-ABWLO5GA.mjs → chunk-EAR5WX7W.mjs} +1 -1
- package/dist/{chunk-YM4ANJEW.mjs → chunk-EBIELPYW.mjs} +1 -1
- package/dist/{chunk-KNWUVEWH.mjs → chunk-EFH7LGKB.mjs} +1 -1
- package/dist/{chunk-UE66RIJN.mjs → chunk-EKN35OCW.mjs} +1 -1
- package/dist/{chunk-PIDJQTAT.mjs → chunk-EWZXTRGJ.mjs} +1 -1
- package/dist/{chunk-IQQ7ZWCP.mjs → chunk-F4UGWCXY.mjs} +1 -1
- package/dist/{chunk-R7VGCKUP.mjs → chunk-FDPPYVSB.mjs} +1 -1
- package/dist/chunk-FYYRZXBK.mjs +1 -0
- package/dist/{chunk-FJ4JWNKL.mjs → chunk-GULRIPMU.mjs} +1 -1
- package/dist/{chunk-S3OBSLA5.mjs → chunk-H5WZTODP.mjs} +1 -1
- package/dist/{chunk-ZW24FGHA.mjs → chunk-HDLKX5L3.mjs} +1 -1
- package/dist/{chunk-LEZ6G4X7.mjs → chunk-HJO4MBBP.mjs} +1 -1
- package/dist/{chunk-FC6PQ4FH.mjs → chunk-HPZDGXWQ.mjs} +1 -1
- package/dist/{chunk-JMJUFHDA.mjs → chunk-HTS3KCJL.mjs} +1 -1
- package/dist/{chunk-677HVKSO.mjs → chunk-JKPT5QC3.mjs} +1 -1
- package/dist/{chunk-KZXYV2BA.mjs → chunk-JOLQF4DK.mjs} +1 -1
- package/dist/{chunk-7RSWNR6N.mjs → chunk-JWS4N2JB.mjs} +1 -1
- package/dist/{chunk-EHSOO47V.mjs → chunk-KEOMDWUC.mjs} +1 -1
- package/dist/{chunk-BQJDTDBP.mjs → chunk-KN65DDFI.mjs} +1 -1
- package/dist/{chunk-DP6Q6ZTN.mjs → chunk-L3VQJPBC.mjs} +1 -1
- package/dist/{chunk-CLMGLIGH.mjs → chunk-LQBFZE2A.mjs} +1 -1
- package/dist/{chunk-VWMA5EO5.mjs → chunk-LTJNNUWU.mjs} +1 -1
- package/dist/{chunk-BS4F2F66.mjs → chunk-MPGETIGI.mjs} +1 -1
- package/dist/{chunk-TQNYTD3K.mjs → chunk-MZHIWEJV.mjs} +1 -1
- package/dist/{chunk-OK7X567A.mjs → chunk-NXAQ6ESJ.mjs} +1 -1
- package/dist/{chunk-6XJDDK3X.mjs → chunk-O7XZ5GNE.mjs} +1 -1
- package/dist/{chunk-OQ7HBEWL.mjs → chunk-P3QZ2UZN.mjs} +1 -1
- package/dist/{chunk-RIRZRO6U.mjs → chunk-P55W6AFU.mjs} +1 -1
- package/dist/{chunk-FNOAYUJ3.mjs → chunk-P6KV6YHU.mjs} +1 -1
- package/dist/{chunk-CGL3R3BQ.mjs → chunk-P7S6XFU4.mjs} +1 -1
- package/dist/{chunk-EGL2ENYD.mjs → chunk-PM6RB4YG.mjs} +1 -1
- package/dist/{chunk-E4XSRHJB.mjs → chunk-QAJ35CAG.mjs} +1 -1
- package/dist/{chunk-MIM3VFET.mjs → chunk-RN65MHJY.mjs} +1 -1
- package/dist/{chunk-LE7UWORO.mjs → chunk-RRLGUIJS.mjs} +1 -1
- package/dist/{chunk-DXCCPSCK.mjs → chunk-RROQDNV5.mjs} +1 -1
- package/dist/{chunk-T5HJS6OF.mjs → chunk-RSDUFAIB.mjs} +1 -1
- package/dist/{chunk-6MFAWZRQ.mjs → chunk-TIVHBMZN.mjs} +1 -1
- package/dist/{chunk-SRUG246N.mjs → chunk-TXVA6XJT.mjs} +1 -1
- package/dist/{chunk-XGRRLABA.mjs → chunk-UVGELIKE.mjs} +1 -1
- package/dist/{chunk-SKTNOZL2.mjs → chunk-UX66PPJS.mjs} +1 -1
- package/dist/{chunk-4745QCXP.mjs → chunk-VTFO5GXK.mjs} +1 -1
- package/dist/chunk-WVOQBBD4.mjs +1 -0
- package/dist/{chunk-UZSBX5GO.mjs → chunk-X3JZSN3W.mjs} +1 -1
- package/dist/{chunk-CWH2O2IL.mjs → chunk-X4EFKBGH.mjs} +1 -1
- package/dist/{chunk-VNYUNZ3M.mjs → chunk-XGIYNUGC.mjs} +1 -1
- package/dist/{chunk-STU2XA7R.mjs → chunk-XX3FCUUG.mjs} +1 -1
- package/dist/{chunk-IKVDX3WJ.mjs → chunk-YLUMGWDF.mjs} +1 -1
- package/dist/{chunk-XKQZ57J2.mjs → chunk-YVZOJHZJ.mjs} +1 -1
- package/dist/{chunk-X6DLJUQF.mjs → chunk-YZIRIYAS.mjs} +1 -1
- package/dist/{chunk-CTDGP5H4.mjs → chunk-ZUGYO7K6.mjs} +1 -1
- package/dist/common-types.mjs +1 -1
- package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
- package/dist/components/AdvancedComponents/CommentSection.mjs +1 -1
- package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
- package/dist/components/AdvancedComponents/NAVIGATION_TABS_README.mjs +1 -1
- package/dist/components/AdvancedComponents/app-header.mjs +1 -1
- package/dist/components/AdvancedComponents/index.mjs +1 -1
- package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
- package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/CompanyNode.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/OrgChart.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/OrgNode.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/OrgTree.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/examples/PayloadIntegration.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/index.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/mockData.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/types/index.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/types.mjs +1 -1
- package/dist/components/AdvancedComponents/org-chart-component/utils.mjs +1 -1
- package/dist/components/AdvancedComponents/sidebar-favorites-readme.mjs +1 -1
- package/dist/components/AdvancedComponents/switch.mjs +1 -1
- package/dist/components/AdvancedComponents/theme-provider.mjs +1 -1
- package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
- package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.mjs +1 -1
- package/dist/components/Blocks/Code.client.mjs +1 -1
- package/dist/components/Blocks/Code.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/HeadingImage.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/InfoTile.mjs +1 -1
- package/dist/components/Blocks/Insight.mjs +1 -1
- package/dist/components/Blocks/MOTD.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/OrgChart.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/WhyUs.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/CogeBoard.mjs +1 -1
- package/dist/components/CRM/DealCard.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/CRM/mockData.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/CustomerCard.mjs +1 -1
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/HeroCard.mjs +1 -1
- package/dist/components/Cards/Image.mjs +1 -1
- package/dist/components/Cards/PricingCard.mjs +1 -1
- package/dist/components/Cards/ProjectCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/Chat/CAPABILITIES_README.mjs +1 -1
- package/dist/components/Chat/ChatInterface.mjs +1 -1
- package/dist/components/Chat/Components/ApprovalRequest.mjs +1 -1
- package/dist/components/Chat/Components/ChatCardArtefact.mjs +1 -1
- package/dist/components/Chat/Components/ChatCardTask.mjs +1 -1
- package/dist/components/Chat/Components/Conversation.mjs +1 -1
- package/dist/components/Chat/Components/Message.mjs +1 -1
- package/dist/components/Chat/Components/Oauth.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/FILE_UPLOAD_GUIDE.mjs +1 -1
- package/dist/components/Chat/PartTypes/CodeBlock.mjs +1 -1
- package/dist/components/Chat/PartTypes/ColleagueHandoff.mjs +1 -1
- package/dist/components/Chat/PartTypes/Confirmation.mjs +1 -1
- package/dist/components/Chat/PartTypes/Conversation.mjs +1 -1
- package/dist/components/Chat/PartTypes/MessageHandler.mjs +1 -1
- package/dist/components/Chat/PartTypes/PartApprovalTool.mjs +1 -1
- package/dist/components/Chat/PartTypes/PartAuthenticateTool.mjs +1 -1
- package/dist/components/Chat/PartTypes/PartText.mjs +1 -1
- package/dist/components/Chat/PartTypes/Reasoning.mjs +1 -1
- package/dist/components/Chat/PartTypes/Response.mjs +1 -1
- package/dist/components/Chat/PartTypes/Tool.mjs +1 -1
- package/dist/components/Chat/PartTypes/index.mjs +1 -1
- package/dist/components/Chat/README-AI-Integration.mjs +1 -1
- package/dist/components/Chat/capabilities-config.mjs +1 -1
- package/dist/components/Chat/capabilities-data.mjs +1 -1
- package/dist/components/Chat/capabilities.mjs +1 -1
- package/dist/components/Chat/capability-menu.mjs +1 -1
- package/dist/components/Chat/chat-session-sidebar.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-file-uploads.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/hooks/useTask.mjs +1 -1
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/Chat/types.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.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/DashboardHeader.mjs +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/README-document-edit.mjs +1 -1
- package/dist/components/DigitalColleagues/README-document-preview.mjs +1 -1
- package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.docs.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
- package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
- package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
- package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
- package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
- package/dist/components/DigitalColleagues/team-form.mjs +1 -1
- package/dist/components/DigitalColleagues/test-data.mjs +1 -1
- package/dist/components/Foundary/AppSidebarLeft.mjs +1 -1
- package/dist/components/Foundary/DashboardHeader.mjs +1 -1
- package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +1 -1
- package/dist/components/Foundary/Knowledge/add-team-context.mjs +1 -1
- package/dist/components/Foundary/Knowledge/manage-team-context.mjs +1 -1
- package/dist/components/Foundary/LandingMenu.mjs +1 -1
- package/dist/components/Foundary/Login.mjs +1 -1
- package/dist/components/Foundary/MainPage.mjs +1 -1
- package/dist/components/Foundary/ManagementSidebar.mjs +1 -1
- package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
- package/dist/components/Foundary/README-document-edit.mjs +1 -1
- package/dist/components/Foundary/README-document-preview.mjs +1 -1
- package/dist/components/Foundary/RichText/Icons/Bold.mjs +1 -1
- package/dist/components/Foundary/RichText/Icons/Headings.mjs +1 -1
- package/dist/components/Foundary/RichText/Icons/Italic.mjs +1 -1
- package/dist/components/Foundary/RichText/Icons/StrikeThrough.mjs +1 -1
- package/dist/components/Foundary/RichText/Icons/Subscript.mjs +1 -1
- package/dist/components/Foundary/RichText/Icons/Superscript.mjs +1 -1
- package/dist/components/Foundary/RichText/Icons/Underline.mjs +1 -1
- package/dist/components/Foundary/RichText/components/RawUploadComponent/index.mjs +1 -1
- package/dist/components/Foundary/RichText/index.mjs +1 -1
- package/dist/components/Foundary/RichText/nodes/image-node.mjs +1 -1
- package/dist/components/Foundary/RichText/plugins/image-plugin.mjs +1 -1
- package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +1 -1
- package/dist/components/Foundary/SearchableSelect.mjs +1 -1
- package/dist/components/Foundary/Views/ColleaguesView.mjs +1 -1
- package/dist/components/Foundary/Views/KnowledgeView.docs.mjs +1 -1
- package/dist/components/Foundary/Views/KnowledgeView.mjs +1 -1
- package/dist/components/Foundary/Views/TeamsIndexView.mjs +1 -1
- package/dist/components/Foundary/Views/index.mjs +1 -1
- package/dist/components/Foundary/colleague-card.mjs +1 -1
- package/dist/components/Foundary/colleague-form.mjs +1 -1
- package/dist/components/Foundary/colleague-type-selection.mjs +1 -1
- package/dist/components/Foundary/document-edit.mjs +1 -1
- package/dist/components/Foundary/document-preview-examples.mjs +1 -1
- package/dist/components/Foundary/document-preview.mjs +1 -1
- package/dist/components/Foundary/file-edit.mjs +1 -1
- package/dist/components/Foundary/foundary-clone.mjs +1 -1
- package/dist/components/Foundary/foundary-layout.mjs +1 -1
- package/dist/components/Foundary/foundary-options.mjs +1 -1
- package/dist/components/Foundary/index.mjs +1 -1
- package/dist/components/Foundary/knowledge-browser.mjs +1 -1
- package/dist/components/Foundary/knowledge-search.mjs +1 -1
- package/dist/components/Foundary/team-form.mjs +1 -1
- package/dist/components/Foundary/test-data.mjs +1 -1
- package/dist/components/HeaderFooter/AppLauncher.mjs +1 -1
- package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenuItem.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
- package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/enhanced-header.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
- package/dist/components/Heros/DashboardHero/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/Holidays/ApproveLeave.mjs +1 -1
- package/dist/components/Holidays/CalendarView.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Icons/ScrollDownIcon.mjs +1 -1
- package/dist/components/Images/DynamicIcon.mjs +1 -1
- package/dist/components/Images/IconIndex.docs.mjs +1 -1
- package/dist/components/Images/customIconList.mjs +1 -1
- package/dist/components/Images/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.mjs +1 -1
- package/dist/components/Layouts/NewsList.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +3 -3
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/TextAndImages.mjs +1 -1
- package/dist/components/Layouts/index.js +5 -5
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Filter.mjs +1 -1
- package/dist/components/Menus/Pagination.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.mjs +1 -1
- package/dist/components/Menus/RelatedContent.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeftMulti.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/AnimatedBorder.mjs +1 -1
- package/dist/components/Other/Container.mjs +1 -1
- package/dist/components/Other/CustomLink.mjs +1 -1
- package/dist/components/Other/PageShape.mjs +1 -1
- package/dist/components/Other/ThemeProvider.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Link/index.mjs +1 -1
- package/dist/components/Payload/Logo/index.mjs +1 -1
- package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
- package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/PageRange/index.mjs +1 -1
- package/dist/components/Payload/Pagination/index.mjs +1 -1
- package/dist/components/Payload/PayloadCard/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/nodeFormat.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.mjs +1 -1
- package/dist/components/Projects/AddFileModal.mjs +1 -1
- package/dist/components/Projects/AddSprintModal.mjs +1 -1
- package/dist/components/Projects/AddTaskModal.mjs +1 -1
- package/dist/components/Projects/EpicFilter.mjs +1 -1
- package/dist/components/Projects/EpicsView.mjs +1 -1
- package/dist/components/Projects/FileView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/KanbanColumn.mjs +1 -1
- package/dist/components/Projects/PlanningView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/TaskCard.mjs +1 -1
- package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
- package/dist/components/Projects/TaskSelect.mjs +1 -1
- package/dist/components/Projects/TaskSidebar.mjs +1 -1
- package/dist/components/Projects/TasksView.mjs +1 -1
- package/dist/components/Projects/TeamSwitcher.mjs +1 -1
- package/dist/components/Projects/business-unit-switcher.mjs +1 -1
- package/dist/components/Projects/business-units.mjs +1 -1
- package/dist/components/Projects/file-list.mjs +1 -1
- package/dist/components/Projects/index.mjs +1 -1
- package/dist/components/Projects/project-card.mjs +1 -1
- package/dist/components/Projects/project-form.mjs +1 -1
- package/dist/components/Projects/team-card.mjs +1 -1
- package/dist/components/Projects/team-switcher-bar.mjs +1 -1
- package/dist/components/Projects/test-data.mjs +1 -1
- package/dist/components/dc-temp/CHANGES_SUMMARY.mjs +1 -1
- package/dist/components/dc-temp/COLLEAGUE_SELECTION_README.mjs +1 -1
- package/dist/components/dc-temp/DIGITAL_COLLEAGUE_UPDATES.mjs +1 -1
- package/dist/components/dc-temp/IMPLEMENTATION_SUMMARY.mjs +1 -1
- package/dist/components/dc-temp/TEAMS_README.mjs +1 -1
- package/dist/components/dc-temp/creative.mjs +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
- package/dist/components/dc-temp/headerlogo.mjs +1 -1
- package/dist/components/dc-temp/icon-mapper.mjs +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/dc-temp/loading.mjs +1 -1
- package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
- package/dist/components/dc-temp/mock-data.mjs +1 -1
- package/dist/components/dc-temp/utils.mjs +1 -1
- package/dist/components/index.js +15 -15
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/alert.mjs +1 -1
- package/dist/components/ui/avatar.mjs +1 -1
- package/dist/components/ui/badge.mjs +1 -1
- package/dist/components/ui/breadcrumb.mjs +1 -1
- package/dist/components/ui/button.mjs +1 -1
- package/dist/components/ui/calendar.mjs +1 -1
- package/dist/components/ui/card.mjs +1 -1
- package/dist/components/ui/carousel.mjs +1 -1
- package/dist/components/ui/checkbox.mjs +1 -1
- package/dist/components/ui/collapsible.mjs +1 -1
- package/dist/components/ui/command.mjs +1 -1
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/dropdown-menu.mjs +1 -1
- package/dist/components/ui/hover-card.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/input.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
- package/dist/components/ui/inputs/text-input/index.mjs +1 -1
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
- package/dist/components/ui/label.mjs +1 -1
- package/dist/components/ui/pagination.mjs +1 -1
- package/dist/components/ui/popover.mjs +1 -1
- package/dist/components/ui/progress.mjs +1 -1
- package/dist/components/ui/scroll-area.mjs +1 -1
- package/dist/components/ui/select.mjs +1 -1
- package/dist/components/ui/separator.mjs +1 -1
- package/dist/components/ui/sheet.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/components/ui/skeleton.mjs +1 -1
- package/dist/components/ui/switch.mjs +1 -1
- package/dist/components/ui/tabs.mjs +1 -1
- package/dist/components/ui/textarea.mjs +1 -1
- package/dist/components/ui/toast.mjs +1 -1
- package/dist/components/ui/toaster.mjs +1 -1
- package/dist/components/ui/toggle-group.mjs +1 -1
- package/dist/components/ui/toggle.mjs +1 -1
- package/dist/components/ui/tooltip.mjs +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/decorators/Intranet.css +1 -1
- package/dist/decorators/Intranet.mjs +1 -1
- package/dist/fonts/Manrope-Bold.mjs +1 -1
- package/dist/fonts/Manrope-ExtraBold.mjs +1 -1
- package/dist/fonts/Manrope-ExtraLight.mjs +1 -1
- package/dist/fonts/Manrope-Light.mjs +1 -1
- package/dist/fonts/Manrope-Medium.mjs +1 -1
- package/dist/fonts/Manrope-Regular.mjs +1 -1
- package/dist/fonts/Manrope-SemiBold.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/hooks/use-local-storage.mjs +1 -1
- package/dist/hooks/use-mobile.mjs +1 -1
- package/dist/hooks/use-toast.mjs +1 -1
- package/dist/images/cortex-reply-bw.mjs +1 -1
- package/dist/images/cortex-reply-dark.mjs +1 -1
- package/dist/images/cortex-reply-gradient.mjs +1 -1
- package/dist/images/cortex-reply-light.mjs +1 -1
- package/dist/images/cortex-reply.mjs +1 -1
- package/dist/images/hero/hero-3.mjs +1 -1
- package/dist/images/hero/image-hero1.mjs +1 -1
- package/dist/images/hero/pattern-1.mjs +1 -1
- package/dist/images/hero/pattern-2.mjs +1 -1
- package/dist/index.js +21 -21
- 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.js +5 -5
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/payload-types.d.ts +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/ImageSection.mjs +1 -1
- package/dist/sections/MainPageSection.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/form/server/contact-us-form-submit.mjs +1 -1
- package/dist/sections/form/server/index.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/dist/styles/Colors.mjs +1 -1
- package/dist/styles/Typography.docs.mjs +1 -1
- package/dist/styles.css +323 -0
- package/dist/tailwind-preset.js +273 -0
- package/dist/tailwind-preset.mjs +273 -0
- package/dist/test-data/capabilities.mjs +1 -1
- package/dist/test-useChat-api.mjs +1 -1
- package/dist/tests/payload.d.ts +160 -0
- package/dist/tests/payload.js +1 -1
- package/dist/tests/payload.mjs +1 -1
- package/dist/utils/AOSInit.mjs +1 -1
- package/dist/utils/BankHolidays.mjs +1 -1
- package/dist/utils/DaysUtil.mjs +1 -1
- package/dist/utils/TimeUtil.mjs +1 -1
- package/dist/utils/canUseDOM.mjs +1 -1
- package/dist/utils/cn.mjs +1 -1
- package/dist/utils/extract-id.mjs +1 -1
- package/dist/utils/formatDateTime.mjs +1 -1
- package/dist/utils/getTableOfContents.mjs +1 -1
- package/dist/utils/getURL.mjs +1 -1
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/setStaggeredDelay.mjs +1 -1
- package/dist/utils/useClickableCard.mjs +1 -1
- package/package.json +6 -1
- package/dist/chunk-BMLVEOB3.mjs +0 -1
- package/dist/chunk-YEKQJ4YC.mjs +0 -1
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tailwind CSS Preset for cortex-react-components
|
|
3
|
+
*
|
|
4
|
+
* This preset contains all the theme configuration (colors, typography, animations, etc.)
|
|
5
|
+
* that the component library uses. Consumers should extend their Tailwind config with this preset.
|
|
6
|
+
*
|
|
7
|
+
* Usage in consuming app's tailwind.config.js:
|
|
8
|
+
*
|
|
9
|
+
* ```js
|
|
10
|
+
* import cortexPreset from 'cortex-react-components/tailwind-preset';
|
|
11
|
+
*
|
|
12
|
+
* export default {
|
|
13
|
+
* presets: [cortexPreset],
|
|
14
|
+
* content: [
|
|
15
|
+
* './src/**\/*.{js,ts,jsx,tsx}',
|
|
16
|
+
* // Include the library's components for Tailwind to scan
|
|
17
|
+
* './node_modules/cortex-react-components/dist/**\/*.{js,mjs}',
|
|
18
|
+
* ],
|
|
19
|
+
* // ... your other config
|
|
20
|
+
* };
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
/** @type {import('tailwindcss').Config} */
|
|
25
|
+
const cortexPreset = {
|
|
26
|
+
darkMode: ['selector'],
|
|
27
|
+
theme: {
|
|
28
|
+
fontFamily: {
|
|
29
|
+
sans: ['Manrope', 'sans-serif'],
|
|
30
|
+
mono: ['JetBrains Mono', 'monospace'],
|
|
31
|
+
},
|
|
32
|
+
screens: {
|
|
33
|
+
xs: '320px',
|
|
34
|
+
sm: '480px',
|
|
35
|
+
md: '768px',
|
|
36
|
+
lg: '1024px',
|
|
37
|
+
xl: '1280px',
|
|
38
|
+
'2xl': '1440px',
|
|
39
|
+
},
|
|
40
|
+
container: {
|
|
41
|
+
center: true,
|
|
42
|
+
padding: {
|
|
43
|
+
DEFAULT: '1rem',
|
|
44
|
+
sm: '1rem',
|
|
45
|
+
md: '1.5rem',
|
|
46
|
+
lg: '2rem',
|
|
47
|
+
xl: '3rem',
|
|
48
|
+
'2xl': '4rem',
|
|
49
|
+
},
|
|
50
|
+
screens: {
|
|
51
|
+
xs: '90%',
|
|
52
|
+
sm: '90%',
|
|
53
|
+
md: '768px',
|
|
54
|
+
lg: '1024px',
|
|
55
|
+
xl: '1280px',
|
|
56
|
+
'2xl': '1440px',
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
extend: {
|
|
60
|
+
animation: {
|
|
61
|
+
'accordion-down': 'accordion-down 0.2s ease-out',
|
|
62
|
+
'accordion-up': 'accordion-up 0.2s ease-out',
|
|
63
|
+
expand: 'expand 0.3s ease-out',
|
|
64
|
+
collapse: 'collapse 0.3s ease-out',
|
|
65
|
+
},
|
|
66
|
+
borderRadius: {
|
|
67
|
+
lg: 'var(--radius)',
|
|
68
|
+
md: 'calc(var(--radius) - 2px)',
|
|
69
|
+
sm: 'calc(var(--radius) - 4px)',
|
|
70
|
+
},
|
|
71
|
+
colors: {
|
|
72
|
+
accent: {
|
|
73
|
+
DEFAULT: 'rgb(var(--accent))',
|
|
74
|
+
foreground: 'hsl(var(--accent-foreground))',
|
|
75
|
+
},
|
|
76
|
+
background: 'hsl(var(--background))',
|
|
77
|
+
border: 'hsla(var(--border))',
|
|
78
|
+
card: {
|
|
79
|
+
DEFAULT: 'hsl(var(--card))',
|
|
80
|
+
foreground: 'hsl(var(--card-foreground))',
|
|
81
|
+
},
|
|
82
|
+
destructive: {
|
|
83
|
+
DEFAULT: 'hsl(var(--destructive))',
|
|
84
|
+
foreground: 'hsl(var(--destructive-foreground))',
|
|
85
|
+
},
|
|
86
|
+
foreground: 'hsl(var(--foreground))',
|
|
87
|
+
input: 'hsl(var(--input))',
|
|
88
|
+
muted: {
|
|
89
|
+
DEFAULT: 'hsl(var(--muted))',
|
|
90
|
+
foreground: 'hsl(var(--muted-foreground))',
|
|
91
|
+
},
|
|
92
|
+
popover: {
|
|
93
|
+
DEFAULT: 'hsl(var(--popover))',
|
|
94
|
+
foreground: 'hsl(var(--popover-foreground))',
|
|
95
|
+
},
|
|
96
|
+
primary: {
|
|
97
|
+
DEFAULT: 'rgb(var(--primary))',
|
|
98
|
+
foreground: 'hsl(var(--primary-foreground))',
|
|
99
|
+
ON_HOVER: 'hsla(var(--primary), 0.75)',
|
|
100
|
+
},
|
|
101
|
+
ring: 'hsl(var(--ring))',
|
|
102
|
+
secondary: {
|
|
103
|
+
DEFAULT: 'hsl(var(--secondary))',
|
|
104
|
+
foreground: 'hsl(var(--secondary-foreground))',
|
|
105
|
+
},
|
|
106
|
+
success: 'hsl(var(--success))',
|
|
107
|
+
error: 'hsl(var(--error))',
|
|
108
|
+
warning: 'hsl(var(--warning))',
|
|
109
|
+
sidebar: {
|
|
110
|
+
DEFAULT: 'hsl(var(--sidebar-background))',
|
|
111
|
+
foreground: 'hsl(var(--sidebar-foreground))',
|
|
112
|
+
primary: 'hsl(var(--sidebar-primary))',
|
|
113
|
+
'primary-foreground': 'hsl(var(--sidebar-primary-foreground))',
|
|
114
|
+
accent: 'hsl(var(--sidebar-accent))',
|
|
115
|
+
'accent-foreground': 'hsl(var(--sidebar-accent-foreground))',
|
|
116
|
+
border: 'hsl(var(--sidebar-border))',
|
|
117
|
+
ring: 'hsl(var(--sidebar-ring))',
|
|
118
|
+
},
|
|
119
|
+
brand: {
|
|
120
|
+
plum: {
|
|
121
|
+
DEFAULT: '#a52368',
|
|
122
|
+
foreground: '#fff',
|
|
123
|
+
50: '#fcf3f9',
|
|
124
|
+
100: '#fae9f5',
|
|
125
|
+
200: '#f7d3ec',
|
|
126
|
+
300: '#f2afdb',
|
|
127
|
+
400: '#e97dc2',
|
|
128
|
+
500: '#df55a9',
|
|
129
|
+
600: '#cc368a',
|
|
130
|
+
700: '#a52368',
|
|
131
|
+
800: '#92225c',
|
|
132
|
+
900: '#7a214f',
|
|
133
|
+
950: '#4a0d2c',
|
|
134
|
+
},
|
|
135
|
+
green: {
|
|
136
|
+
DEFAULT: '#22b2aa',
|
|
137
|
+
foreground: '#fff',
|
|
138
|
+
50: '#f1fcfa',
|
|
139
|
+
100: '#d0f7f1',
|
|
140
|
+
200: '#a0efe4',
|
|
141
|
+
300: '#69dfd3',
|
|
142
|
+
400: '#3ac7bd',
|
|
143
|
+
500: '#22b2aa',
|
|
144
|
+
600: '#178a85',
|
|
145
|
+
700: '#176e6c',
|
|
146
|
+
800: '#175858',
|
|
147
|
+
900: '#184949',
|
|
148
|
+
950: '#072b2c',
|
|
149
|
+
},
|
|
150
|
+
blue: {
|
|
151
|
+
DEFAULT: '#004857',
|
|
152
|
+
foreground: '#fff',
|
|
153
|
+
50: '#e9fffd',
|
|
154
|
+
100: '#c9fff9',
|
|
155
|
+
200: '#99fff7',
|
|
156
|
+
300: '#54fff4',
|
|
157
|
+
400: '#07fffb',
|
|
158
|
+
500: '#00e4ef',
|
|
159
|
+
600: '#00b5c9',
|
|
160
|
+
700: '#0090a1',
|
|
161
|
+
800: '#087382',
|
|
162
|
+
900: '#0c5e6d',
|
|
163
|
+
950: '#004857',
|
|
164
|
+
},
|
|
165
|
+
cyan: {
|
|
166
|
+
DEFAULT: '#2dafe5',
|
|
167
|
+
foreground: '#fff',
|
|
168
|
+
50: '#f1f9fe',
|
|
169
|
+
100: '#e2f2fc',
|
|
170
|
+
200: '#bee6f9',
|
|
171
|
+
300: '#85d2f4',
|
|
172
|
+
400: '#44bcec',
|
|
173
|
+
500: '#2dafe5',
|
|
174
|
+
600: '#0e83bb',
|
|
175
|
+
700: '#0d6897',
|
|
176
|
+
800: '#0f597d',
|
|
177
|
+
900: '#124968',
|
|
178
|
+
950: '#0c2f45',
|
|
179
|
+
},
|
|
180
|
+
orange: {
|
|
181
|
+
DEFAULT: '#f59c00',
|
|
182
|
+
foreground: '#fff',
|
|
183
|
+
50: '#fffcea',
|
|
184
|
+
100: '#fff4c5',
|
|
185
|
+
200: '#ffea85',
|
|
186
|
+
300: '#ffd946',
|
|
187
|
+
400: '#ffc51b',
|
|
188
|
+
500: '#f59c00',
|
|
189
|
+
600: '#e27a00',
|
|
190
|
+
700: '#bb5402',
|
|
191
|
+
800: '#984008',
|
|
192
|
+
900: '#7c350b',
|
|
193
|
+
950: '#481a00',
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
boxShadow: {
|
|
198
|
+
1: '0px 0px 60px 0px rgba(0, 0, 0, 0.05)',
|
|
199
|
+
2: '0px 0px 15px 10px rgba(255, 255, 255, 0.1)',
|
|
200
|
+
3: '0px 4px 25px 0px rgba(0, 0, 0, 0.06)',
|
|
201
|
+
},
|
|
202
|
+
keyframes: {
|
|
203
|
+
'accordion-down': {
|
|
204
|
+
from: { height: '0' },
|
|
205
|
+
to: { height: 'var(--radix-accordion-content-height)' },
|
|
206
|
+
},
|
|
207
|
+
'accordion-up': {
|
|
208
|
+
from: { height: 'var(--radix-accordion-content-height)' },
|
|
209
|
+
to: { height: '0' },
|
|
210
|
+
},
|
|
211
|
+
expand: {
|
|
212
|
+
from: { height: 0 },
|
|
213
|
+
to: { height: 'var(--radix-collapsible-content-height)' },
|
|
214
|
+
},
|
|
215
|
+
collapse: {
|
|
216
|
+
from: { height: 'var(--radix-collapsible-content-height)' },
|
|
217
|
+
to: { height: 0 },
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
clipPath: {
|
|
221
|
+
shape: 'polygon(0 0, 100% 0%, 100% 85%, 0 100%)',
|
|
222
|
+
},
|
|
223
|
+
backgroundImage: {
|
|
224
|
+
'gradient-1': 'linear-gradient(180deg,var(--tw-gradient-stops))',
|
|
225
|
+
},
|
|
226
|
+
transitionDuration: {
|
|
227
|
+
350: '350ms',
|
|
228
|
+
400: '400ms',
|
|
229
|
+
},
|
|
230
|
+
typography: {
|
|
231
|
+
DEFAULT: {
|
|
232
|
+
css: [
|
|
233
|
+
{
|
|
234
|
+
color: 'hsl(var(--foreground))',
|
|
235
|
+
h1: {
|
|
236
|
+
fontSize: '3.5rem',
|
|
237
|
+
fontWeight: 'normal',
|
|
238
|
+
marginBottom: '0.25em',
|
|
239
|
+
},
|
|
240
|
+
h2: {
|
|
241
|
+
fontWeight: 'normal',
|
|
242
|
+
color: 'rgb(var(--primary))',
|
|
243
|
+
fontSize: '2em',
|
|
244
|
+
},
|
|
245
|
+
strong: {
|
|
246
|
+
fontWeight: '700',
|
|
247
|
+
color: 'rgb(var(--accent))',
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
],
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
plugins: [
|
|
256
|
+
require('tailwindcss-animated'),
|
|
257
|
+
require('@tailwindcss/typography'),
|
|
258
|
+
require('tailwindcss-intersect'),
|
|
259
|
+
function ({ addUtilities }) {
|
|
260
|
+
addUtilities({
|
|
261
|
+
'.no-scrollbar::-webkit-scrollbar': {
|
|
262
|
+
display: 'none',
|
|
263
|
+
},
|
|
264
|
+
'.no-scrollbar': {
|
|
265
|
+
'-ms-overflow-style': 'none',
|
|
266
|
+
'scrollbar-width': 'none',
|
|
267
|
+
},
|
|
268
|
+
});
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
module.exports = cortexPreset;
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tailwind CSS Preset for cortex-react-components
|
|
3
|
+
*
|
|
4
|
+
* This preset contains all the theme configuration (colors, typography, animations, etc.)
|
|
5
|
+
* that the component library uses. Consumers should extend their Tailwind config with this preset.
|
|
6
|
+
*
|
|
7
|
+
* Usage in consuming app's tailwind.config.js:
|
|
8
|
+
*
|
|
9
|
+
* ```js
|
|
10
|
+
* import cortexPreset from 'cortex-react-components/tailwind-preset';
|
|
11
|
+
*
|
|
12
|
+
* export default {
|
|
13
|
+
* presets: [cortexPreset],
|
|
14
|
+
* content: [
|
|
15
|
+
* './src/**\/*.{js,ts,jsx,tsx}',
|
|
16
|
+
* // Include the library's components for Tailwind to scan
|
|
17
|
+
* './node_modules/cortex-react-components/dist/**\/*.{js,mjs}',
|
|
18
|
+
* ],
|
|
19
|
+
* // ... your other config
|
|
20
|
+
* };
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
/** @type {import('tailwindcss').Config} */
|
|
25
|
+
const cortexPreset = {
|
|
26
|
+
darkMode: ['selector'],
|
|
27
|
+
theme: {
|
|
28
|
+
fontFamily: {
|
|
29
|
+
sans: ['Manrope', 'sans-serif'],
|
|
30
|
+
mono: ['JetBrains Mono', 'monospace'],
|
|
31
|
+
},
|
|
32
|
+
screens: {
|
|
33
|
+
xs: '320px',
|
|
34
|
+
sm: '480px',
|
|
35
|
+
md: '768px',
|
|
36
|
+
lg: '1024px',
|
|
37
|
+
xl: '1280px',
|
|
38
|
+
'2xl': '1440px',
|
|
39
|
+
},
|
|
40
|
+
container: {
|
|
41
|
+
center: true,
|
|
42
|
+
padding: {
|
|
43
|
+
DEFAULT: '1rem',
|
|
44
|
+
sm: '1rem',
|
|
45
|
+
md: '1.5rem',
|
|
46
|
+
lg: '2rem',
|
|
47
|
+
xl: '3rem',
|
|
48
|
+
'2xl': '4rem',
|
|
49
|
+
},
|
|
50
|
+
screens: {
|
|
51
|
+
xs: '90%',
|
|
52
|
+
sm: '90%',
|
|
53
|
+
md: '768px',
|
|
54
|
+
lg: '1024px',
|
|
55
|
+
xl: '1280px',
|
|
56
|
+
'2xl': '1440px',
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
extend: {
|
|
60
|
+
animation: {
|
|
61
|
+
'accordion-down': 'accordion-down 0.2s ease-out',
|
|
62
|
+
'accordion-up': 'accordion-up 0.2s ease-out',
|
|
63
|
+
expand: 'expand 0.3s ease-out',
|
|
64
|
+
collapse: 'collapse 0.3s ease-out',
|
|
65
|
+
},
|
|
66
|
+
borderRadius: {
|
|
67
|
+
lg: 'var(--radius)',
|
|
68
|
+
md: 'calc(var(--radius) - 2px)',
|
|
69
|
+
sm: 'calc(var(--radius) - 4px)',
|
|
70
|
+
},
|
|
71
|
+
colors: {
|
|
72
|
+
accent: {
|
|
73
|
+
DEFAULT: 'rgb(var(--accent))',
|
|
74
|
+
foreground: 'hsl(var(--accent-foreground))',
|
|
75
|
+
},
|
|
76
|
+
background: 'hsl(var(--background))',
|
|
77
|
+
border: 'hsla(var(--border))',
|
|
78
|
+
card: {
|
|
79
|
+
DEFAULT: 'hsl(var(--card))',
|
|
80
|
+
foreground: 'hsl(var(--card-foreground))',
|
|
81
|
+
},
|
|
82
|
+
destructive: {
|
|
83
|
+
DEFAULT: 'hsl(var(--destructive))',
|
|
84
|
+
foreground: 'hsl(var(--destructive-foreground))',
|
|
85
|
+
},
|
|
86
|
+
foreground: 'hsl(var(--foreground))',
|
|
87
|
+
input: 'hsl(var(--input))',
|
|
88
|
+
muted: {
|
|
89
|
+
DEFAULT: 'hsl(var(--muted))',
|
|
90
|
+
foreground: 'hsl(var(--muted-foreground))',
|
|
91
|
+
},
|
|
92
|
+
popover: {
|
|
93
|
+
DEFAULT: 'hsl(var(--popover))',
|
|
94
|
+
foreground: 'hsl(var(--popover-foreground))',
|
|
95
|
+
},
|
|
96
|
+
primary: {
|
|
97
|
+
DEFAULT: 'rgb(var(--primary))',
|
|
98
|
+
foreground: 'hsl(var(--primary-foreground))',
|
|
99
|
+
ON_HOVER: 'hsla(var(--primary), 0.75)',
|
|
100
|
+
},
|
|
101
|
+
ring: 'hsl(var(--ring))',
|
|
102
|
+
secondary: {
|
|
103
|
+
DEFAULT: 'hsl(var(--secondary))',
|
|
104
|
+
foreground: 'hsl(var(--secondary-foreground))',
|
|
105
|
+
},
|
|
106
|
+
success: 'hsl(var(--success))',
|
|
107
|
+
error: 'hsl(var(--error))',
|
|
108
|
+
warning: 'hsl(var(--warning))',
|
|
109
|
+
sidebar: {
|
|
110
|
+
DEFAULT: 'hsl(var(--sidebar-background))',
|
|
111
|
+
foreground: 'hsl(var(--sidebar-foreground))',
|
|
112
|
+
primary: 'hsl(var(--sidebar-primary))',
|
|
113
|
+
'primary-foreground': 'hsl(var(--sidebar-primary-foreground))',
|
|
114
|
+
accent: 'hsl(var(--sidebar-accent))',
|
|
115
|
+
'accent-foreground': 'hsl(var(--sidebar-accent-foreground))',
|
|
116
|
+
border: 'hsl(var(--sidebar-border))',
|
|
117
|
+
ring: 'hsl(var(--sidebar-ring))',
|
|
118
|
+
},
|
|
119
|
+
brand: {
|
|
120
|
+
plum: {
|
|
121
|
+
DEFAULT: '#a52368',
|
|
122
|
+
foreground: '#fff',
|
|
123
|
+
50: '#fcf3f9',
|
|
124
|
+
100: '#fae9f5',
|
|
125
|
+
200: '#f7d3ec',
|
|
126
|
+
300: '#f2afdb',
|
|
127
|
+
400: '#e97dc2',
|
|
128
|
+
500: '#df55a9',
|
|
129
|
+
600: '#cc368a',
|
|
130
|
+
700: '#a52368',
|
|
131
|
+
800: '#92225c',
|
|
132
|
+
900: '#7a214f',
|
|
133
|
+
950: '#4a0d2c',
|
|
134
|
+
},
|
|
135
|
+
green: {
|
|
136
|
+
DEFAULT: '#22b2aa',
|
|
137
|
+
foreground: '#fff',
|
|
138
|
+
50: '#f1fcfa',
|
|
139
|
+
100: '#d0f7f1',
|
|
140
|
+
200: '#a0efe4',
|
|
141
|
+
300: '#69dfd3',
|
|
142
|
+
400: '#3ac7bd',
|
|
143
|
+
500: '#22b2aa',
|
|
144
|
+
600: '#178a85',
|
|
145
|
+
700: '#176e6c',
|
|
146
|
+
800: '#175858',
|
|
147
|
+
900: '#184949',
|
|
148
|
+
950: '#072b2c',
|
|
149
|
+
},
|
|
150
|
+
blue: {
|
|
151
|
+
DEFAULT: '#004857',
|
|
152
|
+
foreground: '#fff',
|
|
153
|
+
50: '#e9fffd',
|
|
154
|
+
100: '#c9fff9',
|
|
155
|
+
200: '#99fff7',
|
|
156
|
+
300: '#54fff4',
|
|
157
|
+
400: '#07fffb',
|
|
158
|
+
500: '#00e4ef',
|
|
159
|
+
600: '#00b5c9',
|
|
160
|
+
700: '#0090a1',
|
|
161
|
+
800: '#087382',
|
|
162
|
+
900: '#0c5e6d',
|
|
163
|
+
950: '#004857',
|
|
164
|
+
},
|
|
165
|
+
cyan: {
|
|
166
|
+
DEFAULT: '#2dafe5',
|
|
167
|
+
foreground: '#fff',
|
|
168
|
+
50: '#f1f9fe',
|
|
169
|
+
100: '#e2f2fc',
|
|
170
|
+
200: '#bee6f9',
|
|
171
|
+
300: '#85d2f4',
|
|
172
|
+
400: '#44bcec',
|
|
173
|
+
500: '#2dafe5',
|
|
174
|
+
600: '#0e83bb',
|
|
175
|
+
700: '#0d6897',
|
|
176
|
+
800: '#0f597d',
|
|
177
|
+
900: '#124968',
|
|
178
|
+
950: '#0c2f45',
|
|
179
|
+
},
|
|
180
|
+
orange: {
|
|
181
|
+
DEFAULT: '#f59c00',
|
|
182
|
+
foreground: '#fff',
|
|
183
|
+
50: '#fffcea',
|
|
184
|
+
100: '#fff4c5',
|
|
185
|
+
200: '#ffea85',
|
|
186
|
+
300: '#ffd946',
|
|
187
|
+
400: '#ffc51b',
|
|
188
|
+
500: '#f59c00',
|
|
189
|
+
600: '#e27a00',
|
|
190
|
+
700: '#bb5402',
|
|
191
|
+
800: '#984008',
|
|
192
|
+
900: '#7c350b',
|
|
193
|
+
950: '#481a00',
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
boxShadow: {
|
|
198
|
+
1: '0px 0px 60px 0px rgba(0, 0, 0, 0.05)',
|
|
199
|
+
2: '0px 0px 15px 10px rgba(255, 255, 255, 0.1)',
|
|
200
|
+
3: '0px 4px 25px 0px rgba(0, 0, 0, 0.06)',
|
|
201
|
+
},
|
|
202
|
+
keyframes: {
|
|
203
|
+
'accordion-down': {
|
|
204
|
+
from: { height: '0' },
|
|
205
|
+
to: { height: 'var(--radix-accordion-content-height)' },
|
|
206
|
+
},
|
|
207
|
+
'accordion-up': {
|
|
208
|
+
from: { height: 'var(--radix-accordion-content-height)' },
|
|
209
|
+
to: { height: '0' },
|
|
210
|
+
},
|
|
211
|
+
expand: {
|
|
212
|
+
from: { height: 0 },
|
|
213
|
+
to: { height: 'var(--radix-collapsible-content-height)' },
|
|
214
|
+
},
|
|
215
|
+
collapse: {
|
|
216
|
+
from: { height: 'var(--radix-collapsible-content-height)' },
|
|
217
|
+
to: { height: 0 },
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
clipPath: {
|
|
221
|
+
shape: 'polygon(0 0, 100% 0%, 100% 85%, 0 100%)',
|
|
222
|
+
},
|
|
223
|
+
backgroundImage: {
|
|
224
|
+
'gradient-1': 'linear-gradient(180deg,var(--tw-gradient-stops))',
|
|
225
|
+
},
|
|
226
|
+
transitionDuration: {
|
|
227
|
+
350: '350ms',
|
|
228
|
+
400: '400ms',
|
|
229
|
+
},
|
|
230
|
+
typography: {
|
|
231
|
+
DEFAULT: {
|
|
232
|
+
css: [
|
|
233
|
+
{
|
|
234
|
+
color: 'hsl(var(--foreground))',
|
|
235
|
+
h1: {
|
|
236
|
+
fontSize: '3.5rem',
|
|
237
|
+
fontWeight: 'normal',
|
|
238
|
+
marginBottom: '0.25em',
|
|
239
|
+
},
|
|
240
|
+
h2: {
|
|
241
|
+
fontWeight: 'normal',
|
|
242
|
+
color: 'rgb(var(--primary))',
|
|
243
|
+
fontSize: '2em',
|
|
244
|
+
},
|
|
245
|
+
strong: {
|
|
246
|
+
fontWeight: '700',
|
|
247
|
+
color: 'rgb(var(--accent))',
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
],
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
plugins: [
|
|
256
|
+
require('tailwindcss-animated'),
|
|
257
|
+
require('@tailwindcss/typography'),
|
|
258
|
+
require('tailwindcss-intersect'),
|
|
259
|
+
function ({ addUtilities }) {
|
|
260
|
+
addUtilities({
|
|
261
|
+
'.no-scrollbar::-webkit-scrollbar': {
|
|
262
|
+
display: 'none',
|
|
263
|
+
},
|
|
264
|
+
'.no-scrollbar': {
|
|
265
|
+
'-ms-overflow-style': 'none',
|
|
266
|
+
'scrollbar-width': 'none',
|
|
267
|
+
},
|
|
268
|
+
});
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
export default cortexPreset;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f}from"../chunk-Q2DPE66H.mjs";import"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f}from"../chunk-Q2DPE66H.mjs";import"../chunk-WVOQBBD4.mjs";export{a as defaultColorScheme,c as findCapabilityByPath,f as getAllCapabilities,e as getCapabilityByTeam,d as getContextualActions,b as testCapabilities};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-
|
|
1
|
+
import"./chunk-WVOQBBD4.mjs";import{useChat as t}from"@ai-sdk/react";function o(){let e=t();return console.log("useChat result keys:",Object.keys(e)),console.log("useChat result:",e),null}export{o as TestUseChatAPI};
|