xertica-ui 2.4.0 → 2.5.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/CHANGELOG.md +621 -564
- package/README.md +443 -417
- package/assets/xertica-logo.svg +37 -37
- package/assets/xertica-x-logo.svg +20 -20
- package/bin/cli.ts +1244 -1244
- package/bin/generate-tokens.ts +9 -9
- package/bin/language-config.ts +358 -358
- package/components/assistant/code-block/CodeBlock.tsx +268 -268
- package/components/assistant/formatted-document/FormattedDocument.tsx +147 -147
- package/components/assistant/modern-chat-input/ModernChatInput.tsx +564 -564
- package/components/assistant/xertica-assistant/parts/AssistantCollapsedView.tsx +99 -99
- package/components/assistant/xertica-assistant/parts/AssistantConversationList.tsx +104 -104
- package/components/assistant/xertica-assistant/parts/AssistantDocumentEditor.tsx +81 -81
- package/components/assistant/xertica-assistant/parts/AssistantFeedbackDialog.tsx +88 -88
- package/components/assistant/xertica-assistant/parts/AssistantHeader.tsx +75 -75
- package/components/assistant/xertica-assistant/parts/AssistantMessageBubble.tsx +564 -564
- package/components/assistant/xertica-assistant/parts/AssistantTabBar.tsx +67 -67
- package/components/assistant/xertica-assistant/parts/AssistantWelcomeScreen.tsx +103 -103
- package/components/assistant/xertica-assistant/use-assistant.ts +615 -615
- package/components/assistant/xertica-assistant/xertica-assistant.tsx +611 -611
- package/components/blocks/card-patterns/ActivityCard.tsx +100 -100
- package/components/blocks/card-patterns/ActivityCardSkeleton.tsx +56 -56
- package/components/blocks/card-patterns/FeatureCardSkeleton.tsx +58 -58
- package/components/blocks/card-patterns/NotificationCard.tsx +140 -140
- package/components/blocks/card-patterns/NotificationCardSkeleton.tsx +81 -81
- package/components/blocks/card-patterns/ProfileCard.tsx +112 -112
- package/components/blocks/card-patterns/ProfileCardSkeleton.tsx +69 -69
- package/components/blocks/card-patterns/ProjectCard.tsx +123 -123
- package/components/blocks/card-patterns/ProjectCardSkeleton.tsx +67 -67
- package/components/blocks/card-patterns/QuickActionCardSkeleton.tsx +44 -44
- package/components/blocks/card-patterns/card-patterns.stories.tsx +594 -594
- package/components/blocks/card-patterns/index.ts +29 -29
- package/components/brand/language-selector/LanguageSelector.tsx +102 -102
- package/components/brand/language-selector/language-selector.stories.tsx +111 -111
- package/components/brand/language-selector/language-selector.test.tsx +101 -101
- package/components/brand/theme-toggle/ThemeToggle.tsx +74 -74
- package/components/brand/xertica-provider/XerticaProvider.tsx +112 -109
- package/components/brand/xertica-provider/xertica-provider.mdx +61 -61
- package/components/index.ts +86 -86
- package/components/layout/sidebar/sidebar.mdx +1 -1
- package/components/layout/sidebar/sidebar.stories.tsx +201 -0
- package/components/layout/sidebar/sidebar.tsx +1164 -1079
- package/components/media/FloatingMediaWrapper.tsx +371 -371
- package/components/media/audio-player/AudioPlayer.tsx +768 -768
- package/components/media/video-player/VideoPlayer.tsx +310 -310
- package/components/pages/forgot-password-page/ForgotPasswordPage.tsx +188 -188
- package/components/pages/home-content/HomeContent.tsx +120 -120
- package/components/pages/home-content/home-content.mdx +62 -62
- package/components/pages/home-page/HomePage.tsx +78 -78
- package/components/pages/home-page/home-page.mdx +53 -53
- package/components/pages/login-page/LoginPage.tsx +218 -218
- package/components/pages/reset-password-page/ResetPasswordPage.tsx +243 -243
- package/components/pages/template-content/TemplateContent.tsx +1354 -1354
- package/components/pages/template-content/template-content.mdx +61 -61
- package/components/pages/template-page/TemplatePage.stories.tsx +8 -15
- package/components/pages/template-page/template-page.mdx +53 -53
- package/components/pages/verify-email-page/VerifyEmailPage.tsx +206 -206
- package/components/shared/error-boundary.stories.tsx +114 -114
- package/components/shared/error-boundary.tsx +150 -150
- package/components/shared/error-fallbacks.tsx +222 -222
- package/components/ui/accordion/accordion.mdx +8 -8
- package/components/ui/alert/alert.mdx +8 -8
- package/components/ui/alert-dialog/alert-dialog.mdx +8 -8
- package/components/ui/aspect-ratio/aspect-ratio.mdx +8 -8
- package/components/ui/assistant-chart/assistant-chart.mdx +8 -8
- package/components/ui/avatar/avatar.mdx +8 -8
- package/components/ui/badge/badge.mdx +8 -8
- package/components/ui/breadcrumb/breadcrumb.mdx +8 -8
- package/components/ui/button/button.mdx +8 -8
- package/components/ui/calendar/calendar.mdx +8 -8
- package/components/ui/card/card.mdx +8 -8
- package/components/ui/carousel/carousel.mdx +8 -8
- package/components/ui/chart/chart.mdx +8 -8
- package/components/ui/chart/chart.test.tsx +1 -1
- package/components/ui/chart/chart.tsx +13 -6
- package/components/ui/checkbox/checkbox.mdx +8 -8
- package/components/ui/collapsible/collapsible.mdx +8 -8
- package/components/ui/command/command.mdx +8 -8
- package/components/ui/context-menu/context-menu.mdx +8 -8
- package/components/ui/dialog/dialog.mdx +8 -8
- package/components/ui/drawer/drawer.mdx +8 -8
- package/components/ui/dropdown-menu/dropdown-menu.mdx +8 -8
- package/components/ui/empty/empty.mdx +8 -8
- package/components/ui/file-upload/file-upload.mdx +8 -8
- package/components/ui/hover-card/hover-card.mdx +8 -8
- package/components/ui/input/input.mdx +8 -8
- package/components/ui/input-otp/input-otp.mdx +8 -8
- package/components/ui/label/label.mdx +8 -8
- package/components/ui/map/map.mdx +8 -8
- package/components/ui/menubar/menubar.mdx +8 -8
- package/components/ui/navigation-menu/navigation-menu.mdx +8 -8
- package/components/ui/notification-badge/notification-badge.mdx +8 -8
- package/components/ui/pagination/pagination.mdx +8 -8
- package/components/ui/popover/popover.mdx +8 -8
- package/components/ui/progress/progress.mdx +8 -8
- package/components/ui/radio-group/radio-group.mdx +8 -8
- package/components/ui/rating/rating.mdx +8 -8
- package/components/ui/resizable/resizable.mdx +8 -8
- package/components/ui/route-map/route-map.mdx +8 -8
- package/components/ui/scroll-area/scroll-area.mdx +8 -8
- package/components/ui/search/search.mdx +8 -8
- package/components/ui/select/select.mdx +8 -8
- package/components/ui/separator/separator.mdx +8 -8
- package/components/ui/sheet/sheet.mdx +8 -8
- package/components/ui/simple-map/simple-map.mdx +8 -8
- package/components/ui/skeleton/skeleton.mdx +8 -8
- package/components/ui/slider/slider.mdx +8 -8
- package/components/ui/sonner/sonner.mdx +8 -8
- package/components/ui/stats-card/index.ts +2 -2
- package/components/ui/stats-card/stats-card-skeleton.tsx +60 -60
- package/components/ui/stats-card/stats-card.mdx +8 -8
- package/components/ui/stats-card/stats-card.stories.tsx +117 -99
- package/components/ui/stats-card/stats-card.tsx +18 -2
- package/components/ui/stepper/stepper.mdx +8 -8
- package/components/ui/switch/switch.mdx +8 -8
- package/components/ui/table/table.mdx +8 -8
- package/components/ui/tabs/tabs.mdx +8 -8
- package/components/ui/textarea/textarea.mdx +8 -8
- package/components/ui/timeline/timeline.mdx +8 -8
- package/components/ui/toggle/toggle.mdx +8 -8
- package/components/ui/toggle-group/toggle-group.mdx +8 -8
- package/components/ui/tooltip/tooltip.mdx +8 -8
- package/components/ui/tree-view/tree-view.mdx +8 -8
- package/components.json +153 -533
- package/contexts/AuthContext.tsx +121 -121
- package/contexts/BrandColorsContext.tsx +39 -8
- package/contexts/LanguageContext.test.tsx +121 -121
- package/contexts/LanguageContext.tsx +250 -250
- package/contexts/theme-data.ts +51 -0
- package/dist/AssistantChart-BKVtGUKF.js +3383 -0
- package/dist/AssistantChart-BZTPJ5dP.cjs +3551 -0
- package/dist/{AssistantChart-BAx9VQvb.cjs → AssistantChart-Bdd44uBn.cjs} +388 -127
- package/dist/{AssistantChart-CVko2A1W.js → AssistantChart-CFhDdGyU.js} +391 -130
- package/dist/{AssistantChart-CVzmmhx4.js → AssistantChart-C_hwFRRr.js} +4 -4
- package/dist/{AssistantChart-BAudAfne.cjs → AssistantChart-CldVCVDe.cjs} +5 -5
- package/dist/{AssistantChart-BP8upjMk.js → AssistantChart-Cu3m7RBo.js} +5 -5
- package/dist/AssistantChart-CxGjH7Qk.js +3477 -0
- package/dist/AssistantChart-DIpshm3i.js +4784 -0
- package/dist/AssistantChart-DMJJ_Amf.js +3383 -0
- package/dist/AssistantChart-D_PTeu8P.cjs +3503 -0
- package/dist/{AssistantChart-9w31gdAb.cjs → AssistantChart-DoZCyS5r.cjs} +4 -4
- package/dist/AssistantChart-WeycT5Pd.cjs +3551 -0
- package/dist/AssistantChart-zjsy2GaZ.cjs +4810 -0
- package/dist/AudioPlayer-B1lt5cPl.cjs +989 -0
- package/dist/AudioPlayer-BZ7bibzU.cjs +982 -0
- package/dist/AudioPlayer-BpRPS4-1.cjs +1277 -0
- package/dist/AudioPlayer-C12BjQBV.cjs +997 -0
- package/dist/{AudioPlayer-1ypwE2Wh.cjs → AudioPlayer-CFeV8t-5.cjs} +1 -1
- package/dist/{AudioPlayer-DuKXrCfy.js → AudioPlayer-CGRUtUdN.js} +1 -1
- package/dist/AudioPlayer-Coly3q5R.js +1278 -0
- package/dist/AudioPlayer-CySJIyvL.js +937 -0
- package/dist/AudioPlayer-DMcG_c7L.js +990 -0
- package/dist/AudioPlayer-DcFKRJE_.js +998 -0
- package/dist/AudioPlayer-IAU5q5T1.cjs +936 -0
- package/dist/AudioPlayer-e8LfNoqO.js +983 -0
- package/dist/BrandColorsContext-565dDHd5.js +660 -0
- package/dist/BrandColorsContext-BMRJ04Wf.js +718 -0
- package/dist/BrandColorsContext-BcJbtkqn.cjs +659 -0
- package/dist/BrandColorsContext-BwY-b6M4.cjs +725 -0
- package/dist/{xertica-assistant-Qp3ydksa.cjs → CodeBlock-7TTgmdGG.cjs} +263 -51
- package/dist/{xertica-assistant-gnCJdcZY.js → CodeBlock-BeSt1h5P.js} +219 -7
- package/dist/CodeBlock-BgfYL_rD.cjs +2094 -0
- package/dist/CodeBlock-BlcqlA9M.cjs +2094 -0
- package/dist/CodeBlock-Bnmeu5ez.cjs +2094 -0
- package/dist/CodeBlock-BtfPlbAI.js +2078 -0
- package/dist/CodeBlock-CIySIuYr.js +2078 -0
- package/dist/CodeBlock-CuPtUM-7.cjs +2094 -0
- package/dist/CodeBlock-D6ffWXgc.js +2078 -0
- package/dist/CodeBlock-D8dcwbit.cjs +2094 -0
- package/dist/CodeBlock-DMZrFnlw.cjs +2094 -0
- package/dist/CodeBlock-DlBehYN8.js +2078 -0
- package/dist/CodeBlock-DnYNI8rQ.js +2078 -0
- package/dist/CodeBlock-DvKWbSnE.cjs +2094 -0
- package/dist/CodeBlock-DwMCfkFY.js +2078 -0
- package/dist/CodeBlock-Dy6CNYyj.js +2078 -0
- package/dist/CodeBlock-U1pPOQI7.cjs +2094 -0
- package/dist/CodeBlock-f_GpNhEB.js +2078 -0
- package/dist/CodeBlock-oB6u8nI1.js +2078 -0
- package/dist/CodeBlock-tZC31B73.cjs +2094 -0
- package/dist/FeatureCard-CxC-7C-C.cjs +300 -0
- package/dist/FeatureCard-DbHWCb4E.js +301 -0
- package/dist/ImageWithFallback-CGtidP6B.cjs +4542 -0
- package/dist/ImageWithFallback-lsg3pdFg.js +4508 -0
- package/dist/{LanguageContext-DvUt5jBg.cjs → LanguageContext-B_KFTCzT.cjs} +2 -2
- package/dist/{LanguageContext-BwhwC3G2.js → LanguageContext-CS14yCpi.js} +2 -2
- package/dist/{XerticaXLogo-DHz5SugF.js → LanguageSelector-B5YfbHra.js} +115 -136
- package/dist/{XerticaXLogo-DTee_y8X.cjs → LanguageSelector-D6uacAIM.cjs} +115 -136
- package/dist/LayoutContext-B45-e9DI.cjs +93 -0
- package/dist/LayoutContext-BAql6ZRY.js +97 -0
- package/dist/LayoutContext-Bav3UMEA.js +94 -0
- package/dist/LayoutContext-BvK-ggDa.cjs +96 -0
- package/dist/{ThemeContext-Bo-W2WZH.js → ThemeContext-BWq9ACPo.js} +8 -13
- package/dist/{ThemeContext-ept8jhXI.js → ThemeContext-BXjrgUjW.js} +261 -200
- package/dist/{ThemeContext-BblcjQup.cjs → ThemeContext-Bmod0Cg2.cjs} +8 -13
- package/dist/ThemeContext-BoH4NLfN.js +734 -0
- package/dist/{ThemeContext-BbBNoFTG.js → ThemeContext-C2EwAPDt.js} +2 -2
- package/dist/{ThemeContext-U4dEYc6C.cjs → ThemeContext-CGk3KK0k.cjs} +1 -8
- package/dist/{ThemeContext-D3LzacmG.js → ThemeContext-CQSo4Iwc.js} +1 -8
- package/dist/{ThemeContext-CP3a0jxy.cjs → ThemeContext-j5aGtPky.cjs} +262 -193
- package/dist/ThemeContext-r69W20Xg.cjs +733 -0
- package/dist/{ThemeContext-Cmr8Ex8H.cjs → ThemeContext-vTjumZeM.cjs} +2 -2
- package/dist/{VerifyEmailPage-BRSP-Pwt.cjs → VerifyEmailPage--1Vurewl.cjs} +3 -3
- package/dist/{VerifyEmailPage-CbgjOF0v.js → VerifyEmailPage-1WwWczAn.js} +12 -22
- package/dist/{VerifyEmailPage-DF2ilhum.cjs → VerifyEmailPage-B4peJjAT.cjs} +356 -334
- package/dist/{VerifyEmailPage-CR7kb5df.cjs → VerifyEmailPage-BComraR7.cjs} +12 -22
- package/dist/{VerifyEmailPage-u_Dn7t1U.cjs → VerifyEmailPage-Bp1XXl3H.cjs} +4 -4
- package/dist/{VerifyEmailPage-CkBYfsNy.cjs → VerifyEmailPage-By3Jf__L.cjs} +4 -4
- package/dist/{VerifyEmailPage-Bv8Ah_TK.cjs → VerifyEmailPage-ByerOcm4.cjs} +20 -23
- package/dist/{VerifyEmailPage-BE-L9mB7.js → VerifyEmailPage-C0c2e5n0.js} +7 -7
- package/dist/{VerifyEmailPage-EhudUdqF.js → VerifyEmailPage-C5TNQTBa.js} +355 -343
- package/dist/{VerifyEmailPage-Dt7zgA4w.cjs → VerifyEmailPage-CFLMls1p.cjs} +4 -4
- package/dist/{VerifyEmailPage-Bvfv8HVQ.js → VerifyEmailPage-CGIwmWrm.js} +461 -379
- package/dist/{VerifyEmailPage-Cyl55sJb.js → VerifyEmailPage-CJLz3jrn.js} +20 -23
- package/dist/VerifyEmailPage-COiyNl1y.js +2825 -0
- package/dist/{VerifyEmailPage-DMBh4NM9.cjs → VerifyEmailPage-CYXtbKi3.cjs} +1 -1
- package/dist/{VerifyEmailPage-DTtFfC-J.js → VerifyEmailPage-CgMxRb4z.js} +3 -3
- package/dist/VerifyEmailPage-CpqqpLpo.cjs +3305 -0
- package/dist/VerifyEmailPage-CqKsR2v8.js +2827 -0
- package/dist/{VerifyEmailPage-Bae2cBXT.cjs → VerifyEmailPage-Cwi3kbol.cjs} +7 -7
- package/dist/{VerifyEmailPage-X14vhdyl.js → VerifyEmailPage-DGhuIqkb.js} +4 -4
- package/dist/{VerifyEmailPage-BIBOKV7Z.js → VerifyEmailPage-DSBMRHtl.js} +36 -41
- package/dist/{VerifyEmailPage-D-FRj5TU.cjs → VerifyEmailPage-De6bQjrz.cjs} +36 -41
- package/dist/{VerifyEmailPage-BJjAMUTW.js → VerifyEmailPage-DgIid028.js} +4 -4
- package/dist/VerifyEmailPage-DjQKRlUS.cjs +2824 -0
- package/dist/{VerifyEmailPage-CdYPSJoO.js → VerifyEmailPage-DvMLZgFt.js} +1 -1
- package/dist/{VerifyEmailPage-C_ihbcth.js → VerifyEmailPage-MTD7AG1Z.js} +4 -4
- package/dist/VerifyEmailPage-s-1X3LDJ.cjs +2826 -0
- package/dist/XerticaOrbe-KL1RBHzw.cjs +1354 -0
- package/dist/XerticaOrbe-zwS1p2a8.js +1355 -0
- package/dist/XerticaProvider-6btlAlzc.js +17 -0
- package/dist/{XerticaProvider-siSt9uG2.js → XerticaProvider-B7EVH-NF.js} +2 -2
- package/dist/{XerticaProvider-AbWlr7Af.cjs → XerticaProvider-BIrqfZ-i.cjs} +11 -8
- package/dist/XerticaProvider-BNoNOxQ5.cjs +16 -0
- package/dist/XerticaProvider-BlY2limY.cjs +38 -0
- package/dist/{XerticaProvider-CWgby5mY.js → XerticaProvider-C1DKnvLh.js} +4 -4
- package/dist/{XerticaProvider-AChwphCO.cjs → XerticaProvider-CBGc4EMA.cjs} +4 -4
- package/dist/{XerticaProvider-BITjgC5p.js → XerticaProvider-CEoWMTxu.js} +2 -2
- package/dist/XerticaProvider-CeS5G_n5.cjs +45 -0
- package/dist/{XerticaProvider-By8q3Roe.cjs → XerticaProvider-CllrbMEJ.cjs} +2 -2
- package/dist/{XerticaProvider-B8CaV7xu.cjs → XerticaProvider-D-yNhF94.cjs} +1 -1
- package/dist/XerticaProvider-DDuiIcKo.js +39 -0
- package/dist/{XerticaProvider-DQtvJU7m.js → XerticaProvider-DYq4JWtg.js} +1 -1
- package/dist/{XerticaProvider-CWs6EwNa.js → XerticaProvider-Dt5HEzbQ.js} +10 -10
- package/dist/{XerticaProvider-CW9hpCdF.cjs → XerticaProvider-ET0ihewn.cjs} +2 -2
- package/dist/XerticaProvider-cI9hSs27.cjs +38 -0
- package/dist/XerticaProvider-hSwhNQex.js +39 -0
- package/dist/XerticaProvider-ra2NciRq.js +43 -0
- package/dist/{XerticaXLogo-ChryA6xj.js → XerticaXLogo-B7xQ5dhi.js} +1 -1
- package/dist/{XerticaXLogo-CziKMQil.cjs → XerticaXLogo-CQUUjXoH.cjs} +8 -8
- package/dist/{XerticaXLogo-DfUvz-lD.js → XerticaXLogo-Cmsp-Eey.js} +9 -9
- package/dist/{XerticaXLogo-CFuIlYFH.js → XerticaXLogo-DZbo4vOE.js} +12 -12
- package/dist/{XerticaXLogo-8TTzBjHw.cjs → XerticaXLogo-Zw2B276b.cjs} +1 -1
- package/dist/{XerticaXLogo-kslQ8Tk_.cjs → XerticaXLogo-bvZSgwGF.cjs} +13 -7
- package/dist/alert-dialog-BOje--vD.js +847 -0
- package/dist/alert-dialog-BtEuQqrg.cjs +870 -0
- package/dist/{alert-dialog-yckpaOpy.cjs → alert-dialog-DSKByiKZ.cjs} +3 -3
- package/dist/{alert-dialog-iDe5VE5o.js → alert-dialog-s-vmNkJ_.js} +3 -3
- package/dist/assistant.cjs.js +1 -1
- package/dist/assistant.es.js +1 -1
- package/dist/brand.cjs.js +1 -1
- package/dist/brand.es.js +1 -1
- package/dist/breadcrumb-CqJ7bHY5.js +161 -0
- package/dist/breadcrumb-m9Hb2_XN.cjs +177 -0
- package/dist/cli.js +45 -9
- package/dist/components/assistant/xertica-assistant/hooks/index.d.ts +6 -0
- package/dist/components/assistant/xertica-assistant/hooks/use-assistant-conversations.d.ts +21 -0
- package/dist/components/assistant/xertica-assistant/hooks/use-assistant-messages.d.ts +49 -0
- package/dist/components/assistant/xertica-assistant/hooks/use-assistant-suggestions.d.ts +16 -0
- package/dist/components/blocks/audio-player/AudioPlayer.d.ts +35 -0
- package/dist/components/blocks/audio-player/index.d.ts +1 -0
- package/dist/components/blocks/document-editor/DocumentEditor.d.ts +26 -0
- package/dist/components/blocks/document-editor/index.d.ts +1 -0
- package/dist/components/blocks/podcast-player/PodcastPlayer.d.ts +41 -0
- package/dist/components/blocks/podcast-player/index.d.ts +1 -0
- package/dist/components/brand/xertica-provider/XerticaProvider.d.ts +3 -1
- package/dist/components/ui/chart/chart.d.ts +12 -3
- package/dist/components/ui/chart/parts/chart-dashboard.d.ts +113 -0
- package/dist/components/ui/chart/parts/chart-metric.d.ts +118 -0
- package/dist/components/ui/chart/parts/chart-primitives.d.ts +101 -0
- package/dist/components/ui/chart/parts/chart-shared.d.ts +20 -0
- package/dist/components/ui/chart/parts/chart-utils.d.ts +12 -0
- package/dist/components/ui/chart/parts/index.d.ts +5 -0
- package/dist/components/ui/stats-card/stats-card.d.ts +10 -0
- package/dist/contexts/theme-data.d.ts +4 -0
- package/dist/dropdown-menu-BDB5CmQs.cjs +247 -0
- package/dist/dropdown-menu-DQidbKBD.js +231 -0
- package/dist/google-maps-loader-BFWp6VPd.js +287 -0
- package/dist/google-maps-loader-BKcdgFbu.cjs +312 -0
- package/dist/{google-maps-loader-t2IlYBzw.js → google-maps-loader-CTYySAun.js} +4 -0
- package/dist/google-maps-loader-CumCNXeG.js +312 -0
- package/dist/{google-maps-loader-BqsYL48U.cjs → google-maps-loader-Y-QkD-Li.cjs} +5 -0
- package/dist/google-maps-loader-eS3uQ5TA.cjs +287 -0
- package/dist/header-Cgy6vYPk.cjs +731 -0
- package/dist/header-DRlT4jgI.js +715 -0
- package/dist/header-Dux00SI4.cjs +731 -0
- package/dist/header-EkGKXPsD.js +715 -0
- package/dist/header-WfEywpyc.cjs +731 -0
- package/dist/header-tifNQn2U.js +715 -0
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +1 -1
- package/dist/index-BhapVLVj.js +8 -0
- package/dist/{index-D3RLKRAs.cjs → index-COtD8bRW.cjs} +1 -1
- package/dist/index-D6fxYEY8.cjs +7 -0
- package/dist/index-DAIp0_HK.js +8 -0
- package/dist/index-DW5tYe26.js +8 -0
- package/dist/index-GA__GvnG.cjs +7 -0
- package/dist/index.cjs.js +6 -6
- package/dist/index.es.js +6 -6
- package/dist/index.umd.js +1043 -470
- package/dist/input-2R4loU86.js +127 -0
- package/dist/input-DWANSKGb.cjs +145 -0
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +1 -1
- package/dist/pages.cjs.js +1 -1
- package/dist/pages.es.js +1 -1
- package/dist/progress-DPtzoVV8.js +175 -0
- package/dist/progress-EeaoqqUs.cjs +191 -0
- package/dist/rich-text-editor-0mraWT5y.cjs +2376 -0
- package/dist/rich-text-editor-B-IkcPD0.js +2874 -0
- package/dist/rich-text-editor-B2CKz7nx.cjs +2903 -0
- package/dist/rich-text-editor-B6jMRLzk.cjs +1939 -0
- package/dist/rich-text-editor-B8_oYcIR.js +1730 -0
- package/dist/rich-text-editor-B9UbSXNb.js +1203 -0
- package/dist/rich-text-editor-BYuRBNBU.js +2373 -0
- package/dist/rich-text-editor-Bb9pySTs.cjs +2374 -0
- package/dist/rich-text-editor-BcL6L3cm.cjs +2374 -0
- package/dist/rich-text-editor-BoVZYtTs.cjs +2391 -0
- package/dist/rich-text-editor-Bp3zQqMC.js +2954 -0
- package/dist/rich-text-editor-CMgSN_w2.js +1189 -0
- package/dist/rich-text-editor-CPV1lEPH.cjs +1748 -0
- package/dist/rich-text-editor-CeucBdIv.cjs +2971 -0
- package/dist/rich-text-editor-CoKqbCtu.cjs +1799 -0
- package/dist/rich-text-editor-Cw56T_mB.js +2356 -0
- package/dist/rich-text-editor-Cyt8qs2b.js +1921 -0
- package/dist/rich-text-editor-D6H84OcX.cjs +1220 -0
- package/dist/rich-text-editor-D76gD-QI.js +2328 -0
- package/dist/rich-text-editor-DKkokOnA.js +1781 -0
- package/dist/rich-text-editor-DNsdpN64.cjs +2359 -0
- package/dist/rich-text-editor-DfG8bCyY.js +2358 -0
- package/dist/rich-text-editor-DloeW0wc.js +2832 -0
- package/dist/rich-text-editor-Dxjw31Z4.js +2341 -0
- package/dist/rich-text-editor-DzP0Epmb.js +2356 -0
- package/dist/rich-text-editor-bRkNoeZY.cjs +2891 -0
- package/dist/rich-text-editor-lyYE2ZG5.cjs +1207 -0
- package/dist/rich-text-editor-skplNlBM.cjs +2345 -0
- package/dist/select-Bkbr0f-Z.cjs +162 -0
- package/dist/select-CvIVdX2n.js +145 -0
- package/dist/{sidebar-CplprZpM.js → sidebar-0ocFLSks.js} +127 -50
- package/dist/{sidebar-CA6_ek3f.js → sidebar-B6SlKZYN.js} +40 -49
- package/dist/{sidebar-CmvwjnVb.js → sidebar-BViy8Eeu.js} +17 -9
- package/dist/{sidebar-Dz7bd3zP.js → sidebar-BbVIQvlP.js} +1 -1
- package/dist/{sidebar-CVUGHOS_.cjs → sidebar-BxGXsDAd.cjs} +16 -8
- package/dist/sidebar-CK_0ZQHj.cjs +803 -0
- package/dist/sidebar-CUuOvYhK.js +787 -0
- package/dist/{sidebar-B3EYhli0.cjs → sidebar-CeTMuzOx.cjs} +128 -47
- package/dist/{sidebar-KIS0C2JH.js → sidebar-CrQDDdcz.js} +24 -33
- package/dist/{sidebar-zowjejT2.cjs → sidebar-DAaY8bRU.cjs} +24 -33
- package/dist/{sidebar-B9NR0lCe.cjs → sidebar-DQj1z3jG.cjs} +227 -269
- package/dist/sidebar-Djn5syhi.cjs +786 -0
- package/dist/sidebar-LluMXfam.js +759 -0
- package/dist/sidebar-_rT7rBMk.js +787 -0
- package/dist/{sidebar-BvF5I2Ue.cjs → sidebar-nzPoVHBQ.cjs} +41 -46
- package/dist/{sidebar-C5B_LHek.cjs → sidebar-q7P2Godd.cjs} +1 -1
- package/dist/slider-Bc5Hd0y1.js +56 -0
- package/dist/slider-N7hFFj6X.cjs +73 -0
- package/dist/tooltip-Ded96neP.cjs +137 -0
- package/dist/tooltip-HDOoD2-0.js +120 -0
- package/dist/ui.cjs.js +2 -2
- package/dist/ui.es.js +2 -2
- package/dist/use-audio-player-B31J-aqh.cjs +187 -0
- package/dist/use-audio-player-BkmEmj8Q.js +185 -0
- package/dist/use-audio-player-CLFTWFW1.cjs +184 -0
- package/dist/use-audio-player-CLLn00I6.js +188 -0
- package/dist/{use-audio-player-Dn1NR9xN.cjs → use-audio-player-NKsWyjWu.cjs} +7 -3
- package/dist/{use-audio-player-Bkh23vQ3.js → use-audio-player-nv8ZSGa1.js} +7 -3
- package/dist/use-file-upload-BcjEo2S5.js +404 -0
- package/dist/use-file-upload-CRJR68Tj.cjs +403 -0
- package/dist/use-mobile-B0hNy_Y6.cjs +4303 -0
- package/dist/use-mobile-BXuYROXM.js +4202 -0
- package/dist/use-mobile-Bbd51ASU.cjs +4392 -0
- package/dist/use-mobile-Bk6CX-TC.js +4359 -0
- package/dist/use-mobile-BvYdisLP.js +4202 -0
- package/dist/use-mobile-BzuxjzNX.cjs +4392 -0
- package/dist/use-mobile-CG2-SdXV.cjs +4235 -0
- package/dist/use-mobile-CKb5pqTs.js +4269 -0
- package/dist/use-mobile-CYuAuGDl.js +4202 -0
- package/dist/use-mobile-CaENcqm-.js +4508 -0
- package/dist/use-mobile-CbrYgJGJ.js +4203 -0
- package/dist/use-mobile-Cd4xPrKq.cjs +46 -0
- package/dist/use-mobile-DMOvImGQ.cjs +4542 -0
- package/dist/use-mobile-DRB3BQgD.cjs +4235 -0
- package/dist/use-mobile-DZvv7QMR.js +4359 -0
- package/dist/use-mobile-DdI_TXam.cjs +4235 -0
- package/dist/use-mobile-DlceKf8a.js +4359 -0
- package/dist/use-mobile-DsOnow1o.cjs +4236 -0
- package/dist/use-mobile-Kcj6jSnK.cjs +4392 -0
- package/dist/use-mobile-bnKcua_i.js +4202 -0
- package/dist/use-mobile-j4w2Jrf1.js +30 -0
- package/dist/use-mobile-ncXBeE2z.cjs +4235 -0
- package/dist/use-rich-text-editor-DjiddBGv.js +282 -0
- package/dist/use-rich-text-editor-lpeswbCs.cjs +281 -0
- package/dist/xertica-assistant-BdiZag0h.js +2187 -0
- package/dist/xertica-assistant-CrgTb6Hs.cjs +2155 -0
- package/dist/xertica-assistant-CyikE3N_.js +2173 -0
- package/dist/xertica-assistant-DCsnQyi5.js +2156 -0
- package/dist/xertica-assistant-DUBpmEgo.cjs +2186 -0
- package/dist/xertica-assistant-QFUnv5I2.cjs +2180 -0
- package/dist/{xertica-assistant-Bj3vBCq_.cjs → xertica-assistant-V_IdW4WF.cjs} +27 -9
- package/dist/{xertica-assistant-BMqdyRVi.js → xertica-assistant-ciJaWqm1.js} +28 -10
- package/dist/{xertica-assistant-B1IaHXnB.cjs → xertica-assistant-dyP7KHM5.cjs} +533 -392
- package/dist/{xertica-assistant-DPsESB6t.js → xertica-assistant-yX1CFBBo.js} +535 -394
- package/dist/xertica-ui.css +2 -2
- package/docs/architecture-improvements.md +456 -456
- package/docs/architecture.md +312 -312
- package/docs/components/assistant.md +428 -428
- package/docs/components/branding.md +252 -252
- package/docs/components/card-patterns.md +447 -447
- package/docs/components/error-boundary.md +201 -201
- package/docs/components/hooks.md +432 -432
- package/docs/components/language-selector.md +176 -176
- package/docs/components/pages.md +323 -323
- package/docs/components/sidebar.md +19 -2
- package/docs/components/stats-card.md +20 -2
- package/docs/doc-audit.md +244 -244
- package/docs/getting-started.md +616 -616
- package/docs/guidelines.md +330 -330
- package/docs/i18n.md +480 -480
- package/docs/installation.md +268 -268
- package/docs/llms.md +295 -295
- package/docs/state-management.md +289 -289
- package/guidelines/Guidelines.md +409 -409
- package/llms-compact.txt +30 -1
- package/llms-full.txt +11553 -7133
- package/llms.txt +1 -1
- package/package.json +219 -219
- package/styles/xertica/base.css +90 -90
- package/styles/xertica/tokens.css +9 -9
- package/templates/.prettierignore +4 -4
- package/templates/.prettierrc +10 -10
- package/templates/CLAUDE.md +180 -180
- package/templates/guidelines/Guidelines.md +865 -577
- package/templates/package.json +69 -69
- package/templates/src/app/App.tsx +46 -46
- package/templates/src/app/components/AuthGuard.tsx +131 -131
- package/templates/src/features/assistant/data/mock.ts +75 -75
- package/templates/src/features/assistant/hooks/useAssistantConfig.ts +20 -20
- package/templates/src/features/assistant/index.ts +5 -5
- package/templates/src/features/auth/ui/AuthPageShell.tsx +32 -32
- package/templates/src/features/auth/ui/ForgotPasswordContent.tsx +70 -70
- package/templates/src/features/auth/ui/LoginContent.tsx +92 -92
- package/templates/src/features/auth/ui/ResetPasswordContent.tsx +183 -183
- package/templates/src/features/auth/ui/SocialLoginButtons.tsx +78 -78
- package/templates/src/features/auth/ui/VerifyEmailContent.tsx +80 -80
- package/templates/src/features/home/data/mock.ts +41 -41
- package/templates/src/features/home/hooks/useFeatureCards.ts +20 -20
- package/templates/src/features/home/index.ts +11 -11
- package/templates/src/features/home/ui/HomeContent.tsx +117 -117
- package/templates/src/features/template/ui/CrudTemplate.tsx +112 -112
- package/templates/src/features/template/ui/DashboardTemplate.tsx +110 -110
- package/templates/src/features/template/ui/FormTemplate.tsx +117 -117
- package/templates/src/features/template/ui/LoginTemplate.tsx +59 -59
- package/templates/src/features/template/ui/TemplateContent.tsx +1322 -1322
- package/templates/src/i18n.ts +124 -124
- package/templates/src/locales/en/common.json +21 -21
- package/templates/src/locales/en/components/activityCard.json +10 -10
- package/templates/src/locales/en/components/assistant.json +119 -119
- package/templates/src/locales/en/components/media.json +29 -29
- package/templates/src/locales/en/components/notificationCard.json +5 -5
- package/templates/src/locales/en/components/profileCard.json +8 -8
- package/templates/src/locales/en/components/projectCard.json +10 -10
- package/templates/src/locales/en/components/sidebar.json +14 -14
- package/templates/src/locales/en/components/stats.json +8 -8
- package/templates/src/locales/en/components/team.json +14 -14
- package/templates/src/locales/en/errors.json +9 -9
- package/templates/src/locales/en/languageSelector.json +7 -7
- package/templates/src/locales/en/nav.json +6 -6
- package/templates/src/locales/en/pages/crudTemplate.json +25 -25
- package/templates/src/locales/en/pages/dashboardTemplate.json +20 -20
- package/templates/src/locales/en/pages/forgotPassword.json +10 -10
- package/templates/src/locales/en/pages/formTemplate.json +16 -16
- package/templates/src/locales/en/pages/home.json +7 -7
- package/templates/src/locales/en/pages/login.json +15 -15
- package/templates/src/locales/en/pages/loginTemplate.json +9 -9
- package/templates/src/locales/en/pages/resetPassword.json +18 -18
- package/templates/src/locales/en/pages/templates.json +317 -317
- package/templates/src/locales/en/pages/verifyEmail.json +12 -12
- package/templates/src/locales/en/themeToggle.json +6 -6
- package/templates/src/locales/es/common.json +21 -21
- package/templates/src/locales/es/components/activityCard.json +10 -10
- package/templates/src/locales/es/components/assistant.json +119 -119
- package/templates/src/locales/es/components/media.json +29 -29
- package/templates/src/locales/es/components/notificationCard.json +5 -5
- package/templates/src/locales/es/components/profileCard.json +8 -8
- package/templates/src/locales/es/components/projectCard.json +10 -10
- package/templates/src/locales/es/components/sidebar.json +14 -14
- package/templates/src/locales/es/components/stats.json +8 -8
- package/templates/src/locales/es/components/team.json +14 -14
- package/templates/src/locales/es/errors.json +9 -9
- package/templates/src/locales/es/languageSelector.json +7 -7
- package/templates/src/locales/es/nav.json +6 -6
- package/templates/src/locales/es/pages/crudTemplate.json +25 -25
- package/templates/src/locales/es/pages/dashboardTemplate.json +20 -20
- package/templates/src/locales/es/pages/forgotPassword.json +10 -10
- package/templates/src/locales/es/pages/formTemplate.json +16 -16
- package/templates/src/locales/es/pages/home.json +7 -7
- package/templates/src/locales/es/pages/login.json +15 -15
- package/templates/src/locales/es/pages/loginTemplate.json +9 -9
- package/templates/src/locales/es/pages/resetPassword.json +18 -18
- package/templates/src/locales/es/pages/templates.json +317 -317
- package/templates/src/locales/es/pages/verifyEmail.json +12 -12
- package/templates/src/locales/es/themeToggle.json +6 -6
- package/templates/src/locales/pt-BR/common.json +21 -21
- package/templates/src/locales/pt-BR/components/activityCard.json +10 -10
- package/templates/src/locales/pt-BR/components/assistant.json +119 -119
- package/templates/src/locales/pt-BR/components/media.json +29 -29
- package/templates/src/locales/pt-BR/components/notificationCard.json +5 -5
- package/templates/src/locales/pt-BR/components/profileCard.json +8 -8
- package/templates/src/locales/pt-BR/components/projectCard.json +10 -10
- package/templates/src/locales/pt-BR/components/sidebar.json +14 -14
- package/templates/src/locales/pt-BR/components/stats.json +8 -8
- package/templates/src/locales/pt-BR/components/team.json +14 -14
- package/templates/src/locales/pt-BR/errors.json +9 -9
- package/templates/src/locales/pt-BR/languageSelector.json +7 -7
- package/templates/src/locales/pt-BR/nav.json +6 -6
- package/templates/src/locales/pt-BR/pages/crudTemplate.json +25 -25
- package/templates/src/locales/pt-BR/pages/dashboardTemplate.json +20 -20
- package/templates/src/locales/pt-BR/pages/forgotPassword.json +10 -10
- package/templates/src/locales/pt-BR/pages/formTemplate.json +16 -16
- package/templates/src/locales/pt-BR/pages/home.json +7 -7
- package/templates/src/locales/pt-BR/pages/login.json +15 -15
- package/templates/src/locales/pt-BR/pages/loginTemplate.json +9 -9
- package/templates/src/locales/pt-BR/pages/resetPassword.json +18 -18
- package/templates/src/locales/pt-BR/pages/templates.json +317 -317
- package/templates/src/locales/pt-BR/pages/verifyEmail.json +12 -12
- package/templates/src/locales/pt-BR/themeToggle.json +6 -6
- package/templates/src/pages/AssistantPage.tsx +470 -470
- package/templates/src/pages/HomePage.tsx +53 -53
- package/templates/src/shared/error-boundary.tsx +150 -150
- package/templates/src/shared/error-fallbacks.tsx +222 -222
- package/templates/src/styles/xertica/tokens.css +9 -9
- package/templates/vite.config.js +20 -20
- package/templates/vite.config.ts +55 -55
- package/dist/ThemeContext-CpqYShLq.cjs +0 -324
- package/dist/ThemeContext-Du2nE1PL.js +0 -325
- package/dist/ThemeContext-GeEBTJ3q.cjs +0 -1621
- package/dist/ThemeContext-JyLK9B1o.js +0 -1622
- package/dist/VerifyEmailPage-BiRm7Nh4.cjs +0 -3213
- package/dist/VerifyEmailPage-hdB8JQGv.cjs +0 -3213
- package/dist/VerifyEmailPage-vYHbYK3q.js +0 -3214
- package/dist/XerticaProvider-CUYJZc32.js +0 -49
- package/dist/XerticaProvider-CjQAQPcn.cjs +0 -48
- package/dist/XerticaProvider-D5lLumH-.js +0 -49
- package/dist/XerticaProvider-qQUDop71.cjs +0 -48
- package/dist/XerticaXLogo-BWaag64t.js +0 -252
- package/dist/XerticaXLogo-CU-U-GP4.cjs +0 -251
- package/dist/index-CkTUgOwX.js +0 -8
- package/dist/sidebar-OTO_up7Z.js +0 -801
- package/dist/{rich-text-editor-BmsjY03B.js → rich-text-editor-DgF8s7xW.js} +26 -26
- package/dist/{rich-text-editor-GS2kpTAK.cjs → rich-text-editor-mWoaSCE4.cjs} +26 -26
package/components.json
CHANGED
|
@@ -3,890 +3,510 @@
|
|
|
3
3
|
"name": "accordion",
|
|
4
4
|
"docPath": "docs/components/accordion.md",
|
|
5
5
|
"sourcePath": "components/ui/accordion/index.ts",
|
|
6
|
-
"description": "A vertically stacked set of collapsible sections. Each section has a clickable trigger header that reveals or hides its content. Ideal for FAQs, configuration settings, and dense navigation trees where only one (or a few) section needs to be visible at a time."
|
|
7
|
-
"category": "ui",
|
|
8
|
-
"import": "xertica-ui/ui",
|
|
9
|
-
"keywords": ["collapse", "expand", "faq", "collapsible-list"],
|
|
10
|
-
"relatedComponents": ["collapsible", "tabs"]
|
|
6
|
+
"description": "A vertically stacked set of collapsible sections. Each section has a clickable trigger header that reveals or hides its content. Ideal for FAQs, configuration settings, and dense navigation trees where only one (or a few) section needs to be visible at a time."
|
|
11
7
|
},
|
|
12
8
|
{
|
|
13
9
|
"name": "alert-dialog",
|
|
14
10
|
"docPath": "docs/components/alert-dialog.md",
|
|
15
11
|
"sourcePath": "components/ui/alert-dialog/index.ts",
|
|
16
|
-
"description": "A specialized modal for **irreversible destructive actions** — delete, revoke, reset, permanently disable. Unlike `Dialog`, `AlertDialog` enforces that the user must explicitly confirm or cancel; clicking outside does not dismiss it."
|
|
17
|
-
"category": "ui",
|
|
18
|
-
"import": "xertica-ui/ui",
|
|
19
|
-
"keywords": ["confirm", "confirmation", "destructive", "delete-confirm"],
|
|
20
|
-
"relatedComponents": ["dialog", "button"]
|
|
12
|
+
"description": "A specialized modal for **irreversible destructive actions** — delete, revoke, reset, permanently disable. Unlike `Dialog`, `AlertDialog` enforces that the user must explicitly confirm or cancel; clicking outside does not dismiss it."
|
|
21
13
|
},
|
|
22
14
|
{
|
|
23
15
|
"name": "alert",
|
|
24
16
|
"docPath": "docs/components/alert.md",
|
|
25
17
|
"sourcePath": "components/ui/alert/index.ts",
|
|
26
|
-
"description": "An inline message banner used to communicate status, feedback, or important contextual information directly within the page content — without interrupting the user flow. Unlike `Sonner` (toast notifications), alerts are persistent and visible at all times."
|
|
27
|
-
"category": "ui",
|
|
28
|
-
"import": "xertica-ui/ui",
|
|
29
|
-
"keywords": ["banner", "info-banner", "warning-banner", "inline-message"],
|
|
30
|
-
"relatedComponents": ["sonner", "alert-dialog"]
|
|
18
|
+
"description": "An inline message banner used to communicate status, feedback, or important contextual information directly within the page content — without interrupting the user flow. Unlike `Sonner` (toast notifications), alerts are persistent and visible at all times."
|
|
31
19
|
},
|
|
32
20
|
{
|
|
33
21
|
"name": "aspect-ratio",
|
|
34
22
|
"docPath": "docs/components/aspect-ratio.md",
|
|
35
23
|
"sourcePath": "components/ui/aspect-ratio/index.ts",
|
|
36
|
-
"description": "A container that maintains a fixed width-to-height ratio regardless of the available space. Prevents layout shifts when loading images, videos, or charts. Use when content must always fill a specific shape."
|
|
37
|
-
"category": "ui",
|
|
38
|
-
"import": "xertica-ui/ui",
|
|
39
|
-
"keywords": ["ratio", "media-ratio", "image-container", "16-9"],
|
|
40
|
-
"relatedComponents": ["video-player", "card"]
|
|
24
|
+
"description": "A container that maintains a fixed width-to-height ratio regardless of the available space. Prevents layout shifts when loading images, videos, or charts. Use when content must always fill a specific shape."
|
|
41
25
|
},
|
|
42
26
|
{
|
|
43
27
|
"name": "assistant-chart",
|
|
44
28
|
"docPath": "docs/components/assistant-chart.md",
|
|
45
29
|
"sourcePath": "components/ui/assistant-chart/index.ts",
|
|
46
|
-
"description": "A specialized data visualization component optimized for display within the AI Assistant panel. It provides a pre-configured responsive BarChart using the library's design system tokens."
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
"
|
|
30
|
+
"description": "A specialized data visualization component optimized for display within the AI Assistant panel. It provides a pre-configured responsive BarChart using the library's design system tokens."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "assistant",
|
|
34
|
+
"docPath": "docs/components/assistant.md",
|
|
35
|
+
"sourcePath": "components/ui/assistant.tsx",
|
|
36
|
+
"description": "Full-featured AI chat assistant with support for:"
|
|
51
37
|
},
|
|
52
38
|
{
|
|
53
39
|
"name": "audio-player",
|
|
54
40
|
"docPath": "docs/components/audio-player.md",
|
|
55
|
-
"sourcePath": "components/
|
|
56
|
-
"description": "A
|
|
57
|
-
"category": "media",
|
|
58
|
-
"import": "xertica-ui/media",
|
|
59
|
-
"keywords": ["audio", "podcast", "music", "sound", "playback"],
|
|
60
|
-
"relatedComponents": ["video-player", "floating-media-wrapper"]
|
|
41
|
+
"sourcePath": "components/ui/audio-player.tsx",
|
|
42
|
+
"description": "A unified, premium media player designed for both quick audio previews and long-form podcasts. It supports embedded (Card) and global (Bar) layouts, featuring fluid transitions and intelligent responsiveness."
|
|
61
43
|
},
|
|
62
44
|
{
|
|
63
45
|
"name": "avatar",
|
|
64
46
|
"docPath": "docs/components/avatar.md",
|
|
65
47
|
"sourcePath": "components/ui/avatar/index.ts",
|
|
66
|
-
"description": "Displays a user's identity visually — either as a profile photo or as an initials-based fallback. Used in headers, sidebars, comment threads, and table rows to represent people."
|
|
67
|
-
"category": "ui",
|
|
68
|
-
"import": "xertica-ui/ui",
|
|
69
|
-
"keywords": ["profile-picture", "user-image", "initials"],
|
|
70
|
-
"relatedComponents": ["header", "table"]
|
|
48
|
+
"description": "Displays a user's identity visually — either as a profile photo or as an initials-based fallback. Used in headers, sidebars, comment threads, and table rows to represent people."
|
|
71
49
|
},
|
|
72
50
|
{
|
|
73
51
|
"name": "badge",
|
|
74
52
|
"docPath": "docs/components/badge.md",
|
|
75
53
|
"sourcePath": "components/ui/badge/index.ts",
|
|
76
|
-
"description": "A compact, inline label used to communicate status, category, or count. Badges are always non-interactive by default — they display information, not trigger actions."
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"
|
|
80
|
-
"
|
|
54
|
+
"description": "A compact, inline label used to communicate status, category, or count. Badges are always non-interactive by default — they display information, not trigger actions."
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "branding",
|
|
58
|
+
"docPath": "docs/components/branding.md",
|
|
59
|
+
"sourcePath": "components/ui/branding.tsx",
|
|
60
|
+
"description": "The branding system in Xertica UI provides tools for applying, customizing, and switching the visual identity of an application — including color themes, logos, language, and dark/light mode."
|
|
81
61
|
},
|
|
82
62
|
{
|
|
83
63
|
"name": "breadcrumb",
|
|
84
64
|
"docPath": "docs/components/breadcrumb.md",
|
|
85
65
|
"sourcePath": "components/ui/breadcrumb/index.ts",
|
|
86
|
-
"description": "A hierarchical navigation trail showing the user's current position in the application's page structure. Rendered in the `Header` component via the `breadcrumbs` prop. Each item in the chain can optionally be a clickable link."
|
|
87
|
-
"category": "ui",
|
|
88
|
-
"import": "xertica-ui/ui",
|
|
89
|
-
"keywords": ["breadcrumbs", "navigation-path", "location-trail"],
|
|
90
|
-
"relatedComponents": ["header", "page-header"]
|
|
66
|
+
"description": "A hierarchical navigation trail showing the user's current position in the application's page structure. Rendered in the `Header` component via the `breadcrumbs` prop. Each item in the chain can optionally be a clickable link."
|
|
91
67
|
},
|
|
92
68
|
{
|
|
93
69
|
"name": "button",
|
|
94
70
|
"docPath": "docs/components/button.md",
|
|
95
71
|
"sourcePath": "components/ui/button/index.ts",
|
|
96
|
-
"description": "The primary interaction trigger. Use `Button` for any user-initiated action: form submission, navigation triggers, dialog openers, and destructive confirmations. It supports multiple visual variants, sizes, icon-only mode, and the `asChild` pattern for composing with router links."
|
|
97
|
-
"category": "ui",
|
|
98
|
-
"import": "xertica-ui/ui",
|
|
99
|
-
"keywords": ["btn", "action", "click", "submit", "trigger", "cta"],
|
|
100
|
-
"relatedComponents": ["alert-dialog", "dialog", "form", "dropdown-menu"]
|
|
72
|
+
"description": "The primary interaction trigger. Use `Button` for any user-initiated action: form submission, navigation triggers, dialog openers, and destructive confirmations. It supports multiple visual variants, sizes, icon-only mode, and the `asChild` pattern for composing with router links."
|
|
101
73
|
},
|
|
102
74
|
{
|
|
103
75
|
"name": "calendar",
|
|
104
76
|
"docPath": "docs/components/calendar.md",
|
|
105
77
|
"sourcePath": "components/ui/calendar/index.ts",
|
|
106
|
-
"description": "A date picker calendar that renders a monthly grid of selectable days. Built on `react-day-picker`. Almost always used inside a `<Popover>` to provide an accessible
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
"
|
|
110
|
-
"
|
|
78
|
+
"description": "A date picker calendar that renders a monthly grid of selectable days. Built on `react-day-picker`. Almost always used inside a `<Popover>` to provide an accessible date input. Supports single date selection, multiple dates, and date ranges. When `captionLayout=\"dropdown\"` is used, the month/year header renders as interactive selectors with input-styled visuals."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "card-patterns",
|
|
82
|
+
"docPath": "docs/components/card-patterns.md",
|
|
83
|
+
"sourcePath": "components/blocks/card-patterns/index.ts",
|
|
84
|
+
"description": "Pre-composed card blocks for dashboards, project management, and feature pages. Each component is built exclusively from `ui/` primitives — no external dependencies. They live in `components/blocks/card-patterns/` and are available from the root `xertica-ui` import."
|
|
111
85
|
},
|
|
112
86
|
{
|
|
113
87
|
"name": "card",
|
|
114
88
|
"docPath": "docs/components/card.md",
|
|
115
89
|
"sourcePath": "components/ui/card/index.ts",
|
|
116
|
-
"description": "The primary structural container for all content blocks in the application. `Card` provides elevation (via box shadow), background/border tokens, and a consistent internal padding system. It is the single correct way to create content panels — never recreate it with raw `<div>` utility classes."
|
|
117
|
-
"category": "ui",
|
|
118
|
-
"import": "xertica-ui/ui",
|
|
119
|
-
"keywords": ["container", "panel", "surface", "box"],
|
|
120
|
-
"relatedComponents": ["stats-card", "scroll-area", "separator"]
|
|
90
|
+
"description": "The primary structural container for all content blocks in the application. `Card` provides elevation (via box shadow), background/border tokens, and a consistent internal padding system. It is the single correct way to create content panels — never recreate it with raw `<div>` utility classes."
|
|
121
91
|
},
|
|
122
92
|
{
|
|
123
93
|
"name": "carousel",
|
|
124
94
|
"docPath": "docs/components/carousel.md",
|
|
125
95
|
"sourcePath": "components/ui/carousel/index.ts",
|
|
126
|
-
"description": "A horizontal content slider that lets users navigate through a set of panels or cards one at a time. Built on `embla-carousel-react`. Provides Previous/Next navigation buttons and optional indicator dots."
|
|
127
|
-
"category": "ui",
|
|
128
|
-
"import": "xertica-ui/ui",
|
|
129
|
-
"keywords": ["slider", "slides", "horizontal-scroll", "embla"],
|
|
130
|
-
"relatedComponents": ["card"]
|
|
96
|
+
"description": "A horizontal content slider that lets users navigate through a set of panels or cards one at a time. Built on `embla-carousel-react`. Provides Previous/Next navigation buttons and optional indicator dots."
|
|
131
97
|
},
|
|
132
98
|
{
|
|
133
99
|
"name": "chart",
|
|
134
100
|
"docPath": "docs/components/chart.md",
|
|
135
101
|
"sourcePath": "components/ui/chart/index.ts",
|
|
136
|
-
"description": "Xertica UI provides a `ChartContainer` wrapper and
|
|
137
|
-
"category": "ui",
|
|
138
|
-
"import": "xertica-ui/ui",
|
|
139
|
-
"keywords": [
|
|
140
|
-
"graph",
|
|
141
|
-
"visualization",
|
|
142
|
-
"recharts",
|
|
143
|
-
"bar-chart",
|
|
144
|
-
"line-chart",
|
|
145
|
-
"horizontal-bar-chart",
|
|
146
|
-
"dashboard-chart",
|
|
147
|
-
"donut-chart",
|
|
148
|
-
"combo-chart"
|
|
149
|
-
],
|
|
150
|
-
"relatedComponents": ["card", "stats-card"]
|
|
102
|
+
"description": "Xertica UI provides a `ChartContainer` wrapper and related components built on top of **Recharts** for theme-aware, token-driven chart rendering. The chart system uses a `ChartConfig` object to define series labels and colors via CSS variables, ensuring full dark-mode support without hard-coded hex values."
|
|
151
103
|
},
|
|
152
104
|
{
|
|
153
105
|
"name": "checkbox",
|
|
154
106
|
"docPath": "docs/components/checkbox.md",
|
|
155
107
|
"sourcePath": "components/ui/checkbox/index.ts",
|
|
156
|
-
"description": "A binary toggle that lets users select or deselect a single option, or mark multiple independent options in a list. Built on Radix UI with accessible keyboard behavior and ARIA roles."
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
"
|
|
160
|
-
"
|
|
108
|
+
"description": "A binary toggle that lets users select or deselect a single option, or mark multiple independent options in a list. Built on Radix UI with accessible keyboard behavior and ARIA roles."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "code-block",
|
|
112
|
+
"docPath": "docs/components/code-block.md",
|
|
113
|
+
"sourcePath": "components/assistant/code-block/index.ts",
|
|
114
|
+
"description": "A syntax-highlighted code display component with a one-click copy button. Designed for use inside AI chat messages and documentation panels."
|
|
161
115
|
},
|
|
162
116
|
{
|
|
163
117
|
"name": "collapsible",
|
|
164
118
|
"docPath": "docs/components/collapsible.md",
|
|
165
119
|
"sourcePath": "components/ui/collapsible/index.ts",
|
|
166
|
-
"description": "A single expandable/collapsible content section with a trigger header. Unlike `<Accordion>`, `Collapsible` is a standalone element — it has no sibling items and no managed \"only one open\" behavior."
|
|
167
|
-
"category": "ui",
|
|
168
|
-
"import": "xertica-ui/ui",
|
|
169
|
-
"keywords": ["expand", "collapse", "toggle-section"],
|
|
170
|
-
"relatedComponents": ["accordion"]
|
|
120
|
+
"description": "A single expandable/collapsible content section with a trigger header. Unlike `<Accordion>`, `Collapsible` is a standalone element — it has no sibling items and no managed \"only one open\" behavior."
|
|
171
121
|
},
|
|
172
122
|
{
|
|
173
123
|
"name": "command",
|
|
174
124
|
"docPath": "docs/components/command.md",
|
|
175
125
|
"sourcePath": "components/ui/command/index.ts",
|
|
176
|
-
"description": "A command palette for searching and executing actions via keyboard — triggered by `⌘K` / `Ctrl+K`. Provides a searchable, filterable list of commands, navigation items, and quick actions. Built on `cmdk`."
|
|
177
|
-
"category": "ui",
|
|
178
|
-
"import": "xertica-ui/ui",
|
|
179
|
-
"keywords": ["command-palette", "cmd-k", "spotlight", "keyboard-shortcut"],
|
|
180
|
-
"relatedComponents": ["search", "dialog"]
|
|
126
|
+
"description": "A command palette for searching and executing actions via keyboard — triggered by `⌘K` / `Ctrl+K`. Provides a searchable, filterable list of commands, navigation items, and quick actions. Built on `cmdk`."
|
|
181
127
|
},
|
|
182
128
|
{
|
|
183
129
|
"name": "context-menu",
|
|
184
130
|
"docPath": "docs/components/context-menu.md",
|
|
185
131
|
"sourcePath": "components/ui/context-menu/index.ts",
|
|
186
|
-
"description": "A menu that appears when the user right-clicks (or long-presses on mobile) a trigger area. Provides a familiar OS-native contextual menu pattern for power-user interactions. Built on Radix UI."
|
|
187
|
-
"category": "ui",
|
|
188
|
-
"import": "xertica-ui/ui",
|
|
189
|
-
"keywords": ["right-click", "contextmenu", "right-click-menu"],
|
|
190
|
-
"relatedComponents": ["dropdown-menu", "menubar"]
|
|
132
|
+
"description": "A menu that appears when the user right-clicks (or long-presses on mobile) a trigger area. Provides a familiar OS-native contextual menu pattern for power-user interactions. Built on Radix UI."
|
|
191
133
|
},
|
|
192
134
|
{
|
|
193
135
|
"name": "dialog",
|
|
194
136
|
"docPath": "docs/components/dialog.md",
|
|
195
137
|
"sourcePath": "components/ui/dialog/index.ts",
|
|
196
|
-
"description": "A modal overlay that interrupts the page flow to capture user attention for critical confirmations, data entry, or detailed views. Built on Radix UI Dialog with managed focus trapping, keyboard escape, and backdrop click-to-dismiss."
|
|
197
|
-
"category": "ui",
|
|
198
|
-
"import": "xertica-ui/ui",
|
|
199
|
-
"keywords": ["modal", "popup", "overlay", "lightbox"],
|
|
200
|
-
"relatedComponents": ["alert-dialog", "sheet", "drawer", "popover"]
|
|
138
|
+
"description": "A modal overlay that interrupts the page flow to capture user attention for critical confirmations, data entry, or detailed views. Built on Radix UI Dialog with managed focus trapping, keyboard escape, and backdrop click-to-dismiss."
|
|
201
139
|
},
|
|
202
140
|
{
|
|
203
141
|
"name": "drawer",
|
|
204
142
|
"docPath": "docs/components/drawer.md",
|
|
205
143
|
"sourcePath": "components/ui/drawer/index.ts",
|
|
206
|
-
"description": "A panel that slides in from the bottom edge of the screen — the mobile-optimized equivalent of `<Sheet>`. Drawers are the standard interaction pattern for panels on mobile, providing a more natural bottom-to-top gesture feel."
|
|
207
|
-
"category": "ui",
|
|
208
|
-
"import": "xertica-ui/ui",
|
|
209
|
-
"keywords": ["bottom-sheet", "mobile-panel", "slide-up"],
|
|
210
|
-
"relatedComponents": ["sheet", "dialog"]
|
|
144
|
+
"description": "A panel that slides in from the bottom edge of the screen — the mobile-optimized equivalent of `<Sheet>`. Drawers are the standard interaction pattern for panels on mobile, providing a more natural bottom-to-top gesture feel."
|
|
211
145
|
},
|
|
212
146
|
{
|
|
213
147
|
"name": "dropdown-menu",
|
|
214
148
|
"docPath": "docs/components/dropdown-menu.md",
|
|
215
149
|
"sourcePath": "components/ui/dropdown-menu/index.ts",
|
|
216
|
-
"description": "A triggered contextual menu that appears anchored below (or beside) a trigger element. Used for row actions in tables, secondary navigation options, and grouped control menus. Built on Radix UI with full keyboard navigation."
|
|
217
|
-
"category": "ui",
|
|
218
|
-
"import": "xertica-ui/ui",
|
|
219
|
-
"keywords": ["action-menu", "options-menu", "kebab-menu"],
|
|
220
|
-
"relatedComponents": ["context-menu", "button", "table"]
|
|
150
|
+
"description": "A triggered contextual menu that appears anchored below (or beside) a trigger element. Used for row actions in tables, secondary navigation options, and grouped control menus. Built on Radix UI with full keyboard navigation."
|
|
221
151
|
},
|
|
222
152
|
{
|
|
223
153
|
"name": "empty",
|
|
224
154
|
"docPath": "docs/components/empty.md",
|
|
225
155
|
"sourcePath": "components/ui/empty/index.ts",
|
|
226
|
-
"description": "A structured zero-state container rendered when a list, table, or search returns no results. Uses a composable primitive pattern (`Empty + EmptyIcon + EmptyTitle + EmptyDescription + EmptyAction`) to provide a flexible, consistent empty-state experience."
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
"
|
|
230
|
-
"
|
|
156
|
+
"description": "A structured zero-state container rendered when a list, table, or search returns no results. Uses a composable primitive pattern (`Empty + EmptyIcon + EmptyTitle + EmptyDescription + EmptyAction`) to provide a flexible, consistent empty-state experience."
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "error-boundary",
|
|
160
|
+
"docPath": "docs/components/error-boundary.md",
|
|
161
|
+
"sourcePath": "components/ui/error-boundary.tsx",
|
|
162
|
+
"description": "React Error Boundaries catch JavaScript errors in the component tree, log them, and render a fallback UI instead of crashing the application. Xertica UI ships a single reusable `ErrorBoundary` class with **three pre-configured wrapper variants** covering every granularity of protection."
|
|
231
163
|
},
|
|
232
164
|
{
|
|
233
165
|
"name": "file-upload",
|
|
234
166
|
"docPath": "docs/components/file-upload.md",
|
|
235
167
|
"sourcePath": "components/ui/file-upload/index.ts",
|
|
236
|
-
"description": "A drag-and-drop file input component that accepts one or multiple files. Renders a dropzone area with visual feedback on drag, displays selected file names, and validates against allowed MIME types and file size limits."
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
"
|
|
240
|
-
"
|
|
168
|
+
"description": "A drag-and-drop file input component that accepts one or multiple files. Renders a dropzone area with visual feedback on drag, displays selected file names, and validates against allowed MIME types and file size limits."
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "floating-media-wrapper",
|
|
172
|
+
"docPath": "docs/components/floating-media-wrapper.md",
|
|
173
|
+
"sourcePath": "components/ui/floating-media-wrapper.tsx",
|
|
174
|
+
"description": "A higher-level wrapper for media players (audio/video) that manages floating state, positioning, and transitions."
|
|
241
175
|
},
|
|
242
176
|
{
|
|
243
177
|
"name": "form",
|
|
244
178
|
"docPath": "docs/components/form.md",
|
|
245
179
|
"sourcePath": "components/ui/form/index.ts",
|
|
246
|
-
"description": "`Form` is the integration layer between `react-hook-form` and Xertica UI components. It provides a context-aware set of wrappers (`FormField`, `FormItem`, `FormLabel`, `FormControl`, `FormMessage`, `FormDescription`) that automatically connect to form state, display validation errors, and manage ARIA attributes."
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
"
|
|
250
|
-
"
|
|
180
|
+
"description": "`Form` is the integration layer between `react-hook-form` and Xertica UI components. It provides a context-aware set of wrappers (`FormField`, `FormItem`, `FormLabel`, `FormControl`, `FormMessage`, `FormDescription`) that automatically connect to form state, display validation errors, and manage ARIA attributes."
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "formatted-document",
|
|
184
|
+
"docPath": "docs/components/formatted-document.md",
|
|
185
|
+
"sourcePath": "components/assistant/formatted-document/index.ts",
|
|
186
|
+
"description": "A lightweight Markdown-to-HTML renderer with a collapsible preview. Designed for displaying AI-generated documents, reports, and structured text inside the assistant panel."
|
|
251
187
|
},
|
|
252
188
|
{
|
|
253
189
|
"name": "google-maps-loader",
|
|
254
190
|
"docPath": "docs/components/google-maps-loader.md",
|
|
255
191
|
"sourcePath": "components/ui/google-maps-loader/index.ts",
|
|
256
|
-
"description": "The utility provider and hook responsible for the lazy-loading and initialization of the Google Maps JavaScript API. It is automatically managed by the `XerticaProvider`."
|
|
257
|
-
"category": "ui",
|
|
258
|
-
"import": "xertica-ui/ui",
|
|
259
|
-
"keywords": ["maps-api", "google-maps-api", "maps-provider"],
|
|
260
|
-
"relatedComponents": ["map", "xertica-provider"]
|
|
192
|
+
"description": "The utility provider and hook responsible for the lazy-loading and initialization of the Google Maps JavaScript API. It is automatically managed by the `XerticaProvider`."
|
|
261
193
|
},
|
|
262
194
|
{
|
|
263
195
|
"name": "header",
|
|
264
196
|
"docPath": "docs/components/header.md",
|
|
265
197
|
"sourcePath": "components/layout/header/index.ts",
|
|
266
|
-
"description": "The `Header` is the global application top bar — a fixed-height strip (`64px`) rendered at the top of the application shell. It provides a standardized navigation trail (breadcrumbs) and universal system controls."
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
"
|
|
270
|
-
"
|
|
198
|
+
"description": "The `Header` is the global application top bar — a fixed-height strip (`64px`) rendered at the top of the application shell. It provides a standardized navigation trail (breadcrumbs) and universal system controls."
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "hooks",
|
|
202
|
+
"docPath": "docs/components/hooks.md",
|
|
203
|
+
"sourcePath": "components/ui/hooks.tsx",
|
|
204
|
+
"description": "Xertica UI exposes a set of React hooks via the `xertica-ui/hooks` subpath. These hooks provide access to global contexts (theme, language, layout, assistant, API keys, brand colors) and utility behaviors (audio player, keyboard shortcuts, mobile detection)."
|
|
271
205
|
},
|
|
272
206
|
{
|
|
273
207
|
"name": "hover-card",
|
|
274
208
|
"docPath": "docs/components/hover-card.md",
|
|
275
209
|
"sourcePath": "components/ui/hover-card/index.ts",
|
|
276
|
-
"description": "A floating content panel that appears when hovering over a trigger element — designed for previewing additional information without navigating away. Unlike `Tooltip` (short text hints), `HoverCard` can contain rich content: user profiles, link previews, image thumbnails."
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
"
|
|
280
|
-
"
|
|
210
|
+
"description": "A floating content panel that appears when hovering over a trigger element — designed for previewing additional information without navigating away. Unlike `Tooltip` (short text hints), `HoverCard` can contain rich content: user profiles, link previews, image thumbnails."
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "image-with-fallback",
|
|
214
|
+
"docPath": "docs/components/image-with-fallback.md",
|
|
215
|
+
"sourcePath": "components/ui/image-with-fallback.tsx",
|
|
216
|
+
"description": "A drop-in replacement for the native `<img>` element that gracefully handles broken or missing image URLs by displaying a placeholder SVG instead of a broken image icon."
|
|
281
217
|
},
|
|
282
218
|
{
|
|
283
219
|
"name": "input-otp",
|
|
284
220
|
"docPath": "docs/components/input-otp.md",
|
|
285
221
|
"sourcePath": "components/ui/input-otp/index.ts",
|
|
286
|
-
"description": "A one-time password / PIN code input that renders a segmented grid of individual character slots. Designed for MFA flows, email verification codes, and any numeric code entry."
|
|
287
|
-
"category": "ui",
|
|
288
|
-
"import": "xertica-ui/ui",
|
|
289
|
-
"keywords": ["otp", "pin", "mfa", "verification-code"],
|
|
290
|
-
"relatedComponents": ["input", "form"]
|
|
222
|
+
"description": "A one-time password / PIN code input that renders a segmented grid of individual character slots. Designed for MFA flows, email verification codes, and any numeric code entry."
|
|
291
223
|
},
|
|
292
224
|
{
|
|
293
225
|
"name": "input",
|
|
294
226
|
"docPath": "docs/components/input.md",
|
|
295
227
|
"sourcePath": "components/ui/input/index.ts",
|
|
296
|
-
"description": "The standard text field component. Use it for all single-line text inputs: names, emails, search queries, codes. Integrates seamlessly with `react-hook-form` via the `{...field}` spread pattern."
|
|
297
|
-
"category": "ui",
|
|
298
|
-
"import": "xertica-ui/ui",
|
|
299
|
-
"keywords": ["text-field", "form-field", "text-input"],
|
|
300
|
-
"relatedComponents": ["label", "form", "search", "textarea"]
|
|
228
|
+
"description": "The standard text field component. Use it for all single-line text inputs: names, emails, search queries, codes. Integrates seamlessly with `react-hook-form` via the `{...field}` spread pattern."
|
|
301
229
|
},
|
|
302
230
|
{
|
|
303
231
|
"name": "label",
|
|
304
232
|
"docPath": "docs/components/label.md",
|
|
305
233
|
"sourcePath": "components/ui/label/index.ts",
|
|
306
|
-
"description": "An accessible form field label that is always associated with a specific input via `htmlFor`. Automatically applies styling that visually communicates field relationships and disabled states. Used in every form — standalone or via `<FormLabel>` inside the `Form` system."
|
|
307
|
-
"category": "ui",
|
|
308
|
-
"import": "xertica-ui/ui",
|
|
309
|
-
"keywords": ["form-label", "field-label", "input-label"],
|
|
310
|
-
"relatedComponents": ["input", "form", "checkbox"]
|
|
234
|
+
"description": "An accessible form field label that is always associated with a specific input via `htmlFor`. Automatically applies styling that visually communicates field relationships and disabled states. Used in every form — standalone or via `<FormLabel>` inside the `Form` system."
|
|
311
235
|
},
|
|
312
236
|
{
|
|
313
237
|
"name": "language-selector",
|
|
314
238
|
"docPath": "docs/components/language-selector.md",
|
|
315
239
|
"sourcePath": "components/brand/language-selector/index.ts",
|
|
316
|
-
"description": "A
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
"
|
|
320
|
-
"
|
|
240
|
+
"description": "A dropdown component for switching the interface language. It reads the current language from `LanguageContext` and calls `i18n.changeLanguage()` when the user selects a new option — all `useTranslation()` consumers in the app re-render immediately, and the React Query cache is invalidated so data-layer strings refresh too."
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "map-layers",
|
|
244
|
+
"docPath": "docs/components/map-layers.md",
|
|
245
|
+
"sourcePath": "components/ui/map-layers/index.ts",
|
|
246
|
+
"description": "A hook for managing Google Maps native overlay layers (traffic, transit, bicycling) on a map instance. Used internally by the `Map` component via its `layers` prop."
|
|
321
247
|
},
|
|
322
248
|
{
|
|
323
249
|
"name": "map",
|
|
324
250
|
"docPath": "docs/components/map.md",
|
|
325
251
|
"sourcePath": "components/ui/map/index.ts",
|
|
326
|
-
"description": "
|
|
327
|
-
"category": "ui",
|
|
328
|
-
"import": "xertica-ui/ui",
|
|
329
|
-
"keywords": ["google-maps", "map-view", "geolocation", "markers"],
|
|
330
|
-
"relatedComponents": ["route-map", "simple-map"]
|
|
252
|
+
"description": "`Map` renders an interactive Google Map with advanced markers, optional rich info windows, circles, polygons, and native overlay layers. It uses the built-in Xertica Google Maps loader and renders a safe configuration state when no API key is available."
|
|
331
253
|
},
|
|
332
254
|
{
|
|
333
255
|
"name": "markdown-message",
|
|
334
256
|
"docPath": "docs/components/markdown-message.md",
|
|
335
257
|
"sourcePath": "components/assistant/markdown-message/index.ts",
|
|
336
|
-
"description": "The primary renderer for AI-generated text content within the Xertica Assistant. It converts raw Markdown into themed React components with support for syntax highlighting, lists, and tables."
|
|
337
|
-
"category": "assistant",
|
|
338
|
-
"import": "xertica-ui/assistant",
|
|
339
|
-
"keywords": ["markdown", "md-renderer", "ai-message", "chat-message"],
|
|
340
|
-
"relatedComponents": ["xertica-assistant", "code-block"]
|
|
258
|
+
"description": "The primary renderer for AI-generated text content within the Xertica Assistant. It converts raw Markdown into themed React components with support for syntax highlighting, lists, and tables."
|
|
341
259
|
},
|
|
342
260
|
{
|
|
343
261
|
"name": "menubar",
|
|
344
262
|
"docPath": "docs/components/menubar.md",
|
|
345
263
|
"sourcePath": "components/ui/menubar/index.ts",
|
|
346
|
-
"description": "An application-style horizontal menu bar with multiple dropdown menus — similar to the menu bars in desktop applications (File, Edit, View…). Less common in web apps but useful for power-user tools and editors."
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
"
|
|
350
|
-
"
|
|
264
|
+
"description": "An application-style horizontal menu bar with multiple dropdown menus — similar to the menu bars in desktop applications (File, Edit, View…). Less common in web apps but useful for power-user tools and editors."
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "modern-chat-input",
|
|
268
|
+
"docPath": "docs/components/modern-chat-input.md",
|
|
269
|
+
"sourcePath": "components/assistant/modern-chat-input/index.ts",
|
|
270
|
+
"description": "An advanced floating chat input with rich action chips, voice recording simulation, and file attachment support. Used as the primary input interface inside `XerticaAssistant`."
|
|
351
271
|
},
|
|
352
272
|
{
|
|
353
273
|
"name": "navigation-menu",
|
|
354
274
|
"docPath": "docs/components/navigation-menu.md",
|
|
355
275
|
"sourcePath": "components/ui/navigation-menu/index.ts",
|
|
356
|
-
"description": "A horizontal navigation bar designed for top-level application sections. Supports dropdown sub-menus with rich content panels. Use it as a secondary top navigation when the primary navigation is in the `<Sidebar>`. Built on Radix UI NavigationMenu."
|
|
357
|
-
"category": "ui",
|
|
358
|
-
"import": "xertica-ui/ui",
|
|
359
|
-
"keywords": ["top-nav", "horizontal-nav", "mega-menu"],
|
|
360
|
-
"relatedComponents": ["sidebar", "tabs", "breadcrumb"]
|
|
276
|
+
"description": "A horizontal navigation bar designed for top-level application sections. Supports dropdown sub-menus with rich content panels. Use it as a secondary top navigation when the primary navigation is in the `<Sidebar>`. Built on Radix UI NavigationMenu."
|
|
361
277
|
},
|
|
362
278
|
{
|
|
363
279
|
"name": "notification-badge",
|
|
364
280
|
"docPath": "docs/components/notification-badge.md",
|
|
365
281
|
"sourcePath": "components/ui/notification-badge/index.ts",
|
|
366
|
-
"description": "A small overlay indicator that appears on top of another element (typically an icon button) to communicate an unread count or attention cue. Appears as a colored dot (attention) or a numbered badge (count)."
|
|
367
|
-
"category": "ui",
|
|
368
|
-
"import": "xertica-ui/ui",
|
|
369
|
-
"keywords": ["dot", "counter", "unread", "overlay-badge"],
|
|
370
|
-
"relatedComponents": ["badge", "button"]
|
|
282
|
+
"description": "A small overlay indicator that appears on top of another element (typically an icon button) to communicate an unread count or attention cue. Appears as a colored dot (attention) or a numbered badge (count)."
|
|
371
283
|
},
|
|
372
284
|
{
|
|
373
285
|
"name": "page-header",
|
|
374
286
|
"docPath": "docs/components/page-header.md",
|
|
375
287
|
"sourcePath": "components/ui/page-header/index.ts",
|
|
376
|
-
"description": "The `PageHeader` is a content-level component used to provide immediate context for a specific page or section. It focuses on the page title, subtitle, back navigation, and primary local actions (like \"Create\" or \"Edit\")."
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
"
|
|
380
|
-
"
|
|
288
|
+
"description": "The `PageHeader` is a content-level component used to provide immediate context for a specific page or section. It focuses on the page title, subtitle, back navigation, and primary local actions (like \"Create\" or \"Edit\")."
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "pages",
|
|
292
|
+
"docPath": "docs/components/pages.md",
|
|
293
|
+
"sourcePath": "components/ui/pages.tsx",
|
|
294
|
+
"description": "Xertica UI ships 8 ready-to-use page templates covering authentication flows, the main dashboard shell, and a fully-featured component showcase. All templates are exported from `xertica-ui/pages`."
|
|
381
295
|
},
|
|
382
296
|
{
|
|
383
297
|
"name": "pagination",
|
|
384
298
|
"docPath": "docs/components/pagination.md",
|
|
385
299
|
"sourcePath": "components/ui/pagination/index.ts",
|
|
386
|
-
"description": "A navigation control for moving through pages of a large dataset. Renders Previous/Next buttons, numbered page buttons, and ellipsis for large page counts. Use it below data tables to control which page of records is displayed."
|
|
387
|
-
"category": "ui",
|
|
388
|
-
"import": "xertica-ui/ui",
|
|
389
|
-
"keywords": ["pages", "paging", "page-navigation", "next-prev"],
|
|
390
|
-
"relatedComponents": ["table"]
|
|
300
|
+
"description": "A navigation control for moving through pages of a large dataset. Renders Previous/Next buttons, numbered page buttons, and ellipsis for large page counts. Use it below data tables to control which page of records is displayed."
|
|
391
301
|
},
|
|
392
302
|
{
|
|
393
303
|
"name": "popover",
|
|
394
304
|
"docPath": "docs/components/popover.md",
|
|
395
305
|
"sourcePath": "components/ui/popover/index.ts",
|
|
396
|
-
"description": "A floating panel anchored to a trigger element that presents additional information or controls without navigating away from the current context. Unlike `Tooltip`, Popover content can be interactive — forms, date pickers, settings panels, filter controls."
|
|
397
|
-
"category": "ui",
|
|
398
|
-
"import": "xertica-ui/ui",
|
|
399
|
-
"keywords": ["floating-panel", "anchored-panel", "overlay-panel"],
|
|
400
|
-
"relatedComponents": ["tooltip", "hover-card", "sheet", "dialog"]
|
|
306
|
+
"description": "A floating panel anchored to a trigger element that presents additional information or controls without navigating away from the current context. Unlike `Tooltip`, Popover content can be interactive — forms, date pickers, settings panels, filter controls."
|
|
401
307
|
},
|
|
402
308
|
{
|
|
403
309
|
"name": "progress",
|
|
404
310
|
"docPath": "docs/components/progress.md",
|
|
405
311
|
"sourcePath": "components/ui/progress/index.ts",
|
|
406
|
-
"description": "A visual indicator of completion or percentage. Renders a horizontal bar filled to a given percentage. It is purely display-only — for interactive value selection, use `<Slider>`."
|
|
407
|
-
"category": "ui",
|
|
408
|
-
"import": "xertica-ui/ui",
|
|
409
|
-
"keywords": ["loading-bar", "completion", "percentage"],
|
|
410
|
-
"relatedComponents": ["skeleton", "slider"]
|
|
312
|
+
"description": "A visual indicator of completion or percentage. Renders a horizontal bar filled to a given percentage. It is purely display-only — for interactive value selection, use `<Slider>`."
|
|
411
313
|
},
|
|
412
314
|
{
|
|
413
315
|
"name": "radio-group",
|
|
414
316
|
"docPath": "docs/components/radio-group.md",
|
|
415
317
|
"sourcePath": "components/ui/radio-group/index.ts",
|
|
416
|
-
"description": "A set of mutually exclusive options where selecting one automatically deselects all others. Built on Radix UI with full keyboard navigation (arrow keys cycle through options). Use when only one choice from a defined set is valid."
|
|
417
|
-
"category": "ui",
|
|
418
|
-
"import": "xertica-ui/ui",
|
|
419
|
-
"keywords": ["radio", "single-select", "exclusive-choice"],
|
|
420
|
-
"relatedComponents": ["select", "checkbox"]
|
|
318
|
+
"description": "A set of mutually exclusive options where selecting one automatically deselects all others. Built on Radix UI with full keyboard navigation (arrow keys cycle through options). Use when only one choice from a defined set is valid."
|
|
421
319
|
},
|
|
422
320
|
{
|
|
423
321
|
"name": "rating",
|
|
424
322
|
"docPath": "docs/components/rating.md",
|
|
425
323
|
"sourcePath": "components/ui/rating/index.ts",
|
|
426
|
-
"description": "A star-based rating input that allows users to rate items on a 1–5 (or custom range) scale. Supports both interactive rating input and read-only display modes."
|
|
427
|
-
"category": "ui",
|
|
428
|
-
"import": "xertica-ui/ui",
|
|
429
|
-
"keywords": ["stars", "star-rating", "review-score"],
|
|
430
|
-
"relatedComponents": ["input"]
|
|
324
|
+
"description": "A star-based rating input that allows users to rate items on a 1–5 (or custom range) scale. Supports both interactive rating input and read-only display modes."
|
|
431
325
|
},
|
|
432
326
|
{
|
|
433
327
|
"name": "resizable",
|
|
434
328
|
"docPath": "docs/components/resizable.md",
|
|
435
329
|
"sourcePath": "components/ui/resizable/index.ts",
|
|
436
|
-
"description": "A panel splitter that lets users resize adjacent panels by dragging a handle. Used in IDE-style layouts, split-view editors, and any interface where two panels need to share space dynamically."
|
|
437
|
-
"category": "ui",
|
|
438
|
-
"import": "xertica-ui/ui",
|
|
439
|
-
"keywords": ["split-panel", "resize", "drag-handle", "panel-splitter"],
|
|
440
|
-
"relatedComponents": ["sidebar"]
|
|
330
|
+
"description": "A panel splitter that lets users resize adjacent panels by dragging a handle. Used in IDE-style layouts, split-view editors, and any interface where two panels need to share space dynamically."
|
|
441
331
|
},
|
|
442
332
|
{
|
|
443
333
|
"name": "rich-text-editor",
|
|
444
334
|
"docPath": "docs/components/rich-text-editor.md",
|
|
445
335
|
"sourcePath": "components/ui/rich-text-editor/index.ts",
|
|
446
|
-
"description": "A lightweight, native WYSIWYG (What You See Is What You Get) document text editor built into the Xertica UI framework. It utilizes the browser's native `contentEditable` architecture and `document.execCommand` under the hood to provide essential text formatting without the overhead of massive third-party rendering engines."
|
|
447
|
-
"category": "ui",
|
|
448
|
-
"import": "xertica-ui/ui",
|
|
449
|
-
"keywords": ["wysiwyg", "editor", "text-editor"],
|
|
450
|
-
"relatedComponents": ["textarea", "form"]
|
|
336
|
+
"description": "A lightweight, native WYSIWYG (What You See Is What You Get) document text editor built into the Xertica UI framework. It utilizes the browser's native `contentEditable` architecture and `document.execCommand` under the hood to provide essential text formatting without the overhead of massive third-party rendering engines."
|
|
451
337
|
},
|
|
452
338
|
{
|
|
453
339
|
"name": "route-map",
|
|
454
340
|
"docPath": "docs/components/route-map.md",
|
|
455
341
|
"sourcePath": "components/ui/route-map/index.ts",
|
|
456
|
-
"description": "A specialized Google Maps component that calculates and renders a route between an origin and destination point, with support for intermediate waypoints and multiple travel modes. The route is drawn on the map using the Google Directions Service, and optionally returns the calculated distance and duration."
|
|
457
|
-
"category": "ui",
|
|
458
|
-
"import": "xertica-ui/ui",
|
|
459
|
-
"keywords": ["directions", "route", "navigation-map", "waypoints"],
|
|
460
|
-
"relatedComponents": ["map", "simple-map"]
|
|
342
|
+
"description": "A specialized Google Maps component that calculates and renders a route between an origin and destination point, with support for intermediate waypoints and multiple travel modes. The route is drawn on the map using the Google Directions Service, and optionally returns the calculated distance and duration."
|
|
461
343
|
},
|
|
462
344
|
{
|
|
463
345
|
"name": "scroll-area",
|
|
464
346
|
"docPath": "docs/components/scroll-area.md",
|
|
465
347
|
"sourcePath": "components/ui/scroll-area/index.ts",
|
|
466
|
-
"description": "A cross-browser, themeable scrollable container with custom scrollbar styling. Use instead of native `overflow-y-auto` when the scrollbar needs to match the application's design system (instead of the OS default scrollbar)."
|
|
467
|
-
"category": "ui",
|
|
468
|
-
"import": "xertica-ui/ui",
|
|
469
|
-
"keywords": ["scrollbar", "overflow", "custom-scroll"],
|
|
470
|
-
"relatedComponents": ["card", "sidebar"]
|
|
348
|
+
"description": "A cross-browser, themeable scrollable container with custom scrollbar styling. Use instead of native `overflow-y-auto` when the scrollbar needs to match the application's design system (instead of the OS default scrollbar)."
|
|
471
349
|
},
|
|
472
350
|
{
|
|
473
351
|
"name": "search",
|
|
474
352
|
"docPath": "docs/components/search.md",
|
|
475
353
|
"sourcePath": "components/ui/search/index.ts",
|
|
476
|
-
"description": "A pre-built search input with a built-in search icon and clear button.
|
|
477
|
-
"category": "ui",
|
|
478
|
-
"import": "xertica-ui/ui",
|
|
479
|
-
"keywords": ["search-input", "filter", "query", "find"],
|
|
480
|
-
"relatedComponents": ["input", "command", "table"]
|
|
354
|
+
"description": "A pre-built search input with a built-in search icon and clear button. A convenience component built on top of `<Input>` that handles the common search field pattern with a consistent size scale."
|
|
481
355
|
},
|
|
482
356
|
{
|
|
483
357
|
"name": "select",
|
|
484
358
|
"docPath": "docs/components/select.md",
|
|
485
359
|
"sourcePath": "components/ui/select/index.ts",
|
|
486
|
-
"description": "A styled dropdown for selecting a single option from a list. Built on Radix UI, it provides a fully accessible combobox with keyboard navigation, portaled content, and proper ARIA semantics. Always use `<Select>` from `xertica-ui` — never use native `<select>`."
|
|
487
|
-
"category": "ui",
|
|
488
|
-
"import": "xertica-ui/ui",
|
|
489
|
-
"keywords": ["dropdown", "combobox", "picker", "chooser"],
|
|
490
|
-
"relatedComponents": ["radio-group", "command", "input"]
|
|
360
|
+
"description": "A styled dropdown for selecting a single option from a list. Built on Radix UI, it provides a fully accessible combobox with keyboard navigation, portaled content, and proper ARIA semantics. Always use `<Select>` from `xertica-ui` — never use native `<select>`."
|
|
491
361
|
},
|
|
492
362
|
{
|
|
493
363
|
"name": "separator",
|
|
494
364
|
"docPath": "docs/components/separator.md",
|
|
495
365
|
"sourcePath": "components/ui/separator/index.ts",
|
|
496
|
-
"description": "A thin horizontal (or vertical) line that visually divides sections of content. Primarily decorative but semantically meaningful as an `<hr>` element. Used to create visual breathing room between logically distinct sections."
|
|
497
|
-
"category": "ui",
|
|
498
|
-
"import": "xertica-ui/ui",
|
|
499
|
-
"keywords": ["divider", "hr", "horizontal-rule", "line"],
|
|
500
|
-
"relatedComponents": ["card"]
|
|
366
|
+
"description": "A thin horizontal (or vertical) line that visually divides sections of content. Primarily decorative but semantically meaningful as an `<hr>` element. Used to create visual breathing room between logically distinct sections."
|
|
501
367
|
},
|
|
502
368
|
{
|
|
503
369
|
"name": "sheet",
|
|
504
370
|
"docPath": "docs/components/sheet.md",
|
|
505
371
|
"sourcePath": "components/ui/sheet/index.ts",
|
|
506
|
-
"description": "An edge-anchored slide-in panel that overlays the current page from one side — top, right, bottom, or left. Like `Dialog` but more suitable for forms or detail views that benefit from more vertical space, or for secondary navigation and controls on mobile."
|
|
507
|
-
"category": "ui",
|
|
508
|
-
"import": "xertica-ui/ui",
|
|
509
|
-
"keywords": ["side-panel", "slide-in", "panel"],
|
|
510
|
-
"relatedComponents": ["dialog", "drawer", "popover"]
|
|
372
|
+
"description": "An edge-anchored slide-in panel that overlays the current page from one side — top, right, bottom, or left. Like `Dialog` but more suitable for forms or detail views that benefit from more vertical space, or for secondary navigation and controls on mobile."
|
|
511
373
|
},
|
|
512
374
|
{
|
|
513
375
|
"name": "sidebar",
|
|
514
376
|
"docPath": "docs/components/sidebar.md",
|
|
515
377
|
"sourcePath": "components/layout/sidebar/index.ts",
|
|
516
|
-
"description": "The `Sidebar` is the primary vertical navigation panel of the application shell. It manages the app's hierarchy, supporting simple lists, grouped items, and an advanced \"Assistant\" mode for AI-driven or data-rich interfaces."
|
|
517
|
-
"category": "layout",
|
|
518
|
-
"import": "xertica-ui/layout",
|
|
519
|
-
"keywords": ["nav", "navigation", "menu", "side-nav", "vertical-nav"],
|
|
520
|
-
"relatedComponents": ["header", "navigation-menu"]
|
|
378
|
+
"description": "The `Sidebar` is the primary vertical navigation panel of the application shell. It manages the app's hierarchy, supporting simple lists, grouped items, and an advanced \"Assistant\" mode for AI-driven or data-rich interfaces."
|
|
521
379
|
},
|
|
522
380
|
{
|
|
523
381
|
"name": "simple-map",
|
|
524
382
|
"docPath": "docs/components/simple-map.md",
|
|
525
383
|
"sourcePath": "components/ui/simple-map/index.ts",
|
|
526
|
-
"description": "A simplified wrapper for common map use cases where you only need a single marker and basic configuration."
|
|
527
|
-
"category": "ui",
|
|
528
|
-
"import": "xertica-ui/ui",
|
|
529
|
-
"keywords": ["basic-map", "single-marker", "map-pin"],
|
|
530
|
-
"relatedComponents": ["map", "route-map"]
|
|
384
|
+
"description": "A simplified wrapper for common map use cases where you only need a single marker and basic configuration."
|
|
531
385
|
},
|
|
532
386
|
{
|
|
533
387
|
"name": "skeleton",
|
|
534
388
|
"docPath": "docs/components/skeleton.md",
|
|
535
389
|
"sourcePath": "components/ui/skeleton/index.ts",
|
|
536
|
-
"description": "A loading placeholder that mimics the shape and dimensions of content while it's being fetched. Use it to provide visual continuity and reduce perceived load time — never leave blank white space while content is loading."
|
|
537
|
-
"category": "ui",
|
|
538
|
-
"import": "xertica-ui/ui",
|
|
539
|
-
"keywords": ["loading-placeholder", "shimmer", "placeholder"],
|
|
540
|
-
"relatedComponents": ["progress", "empty"]
|
|
390
|
+
"description": "A loading placeholder that mimics the shape and dimensions of content while it's being fetched. Use it to provide visual continuity and reduce perceived load time — never leave blank white space while content is loading."
|
|
541
391
|
},
|
|
542
392
|
{
|
|
543
393
|
"name": "slider",
|
|
544
394
|
"docPath": "docs/components/slider.md",
|
|
545
395
|
"sourcePath": "components/ui/slider/index.ts",
|
|
546
|
-
"description": "A range input control that lets users select a numeric value by dragging a thumb along a track. Used for quantity selectors, volume controls, percentage settings, and any value within a continuous range."
|
|
547
|
-
"category": "ui",
|
|
548
|
-
"import": "xertica-ui/ui",
|
|
549
|
-
"keywords": ["range", "range-input", "volume", "scrubber"],
|
|
550
|
-
"relatedComponents": ["progress", "input"]
|
|
396
|
+
"description": "A range input control that lets users select a numeric value by dragging a thumb along a track. Used for quantity selectors, volume controls, percentage settings, and any value within a continuous range."
|
|
551
397
|
},
|
|
552
398
|
{
|
|
553
399
|
"name": "sonner",
|
|
554
400
|
"docPath": "docs/components/sonner.md",
|
|
555
401
|
"sourcePath": "components/ui/sonner/index.ts",
|
|
556
|
-
"description": "Sonner is the toast notification system. It displays ephemeral feedback messages that appear at a fixed position on screen (top-right by default), auto-dismiss after a few seconds, and can be dismissed manually. `<Toaster>` is auto-injected by `<XerticaProvider>` — you never need to render it manually."
|
|
557
|
-
"category": "ui",
|
|
558
|
-
"import": "xertica-ui/ui",
|
|
559
|
-
"keywords": ["toast", "notification", "snackbar", "alert-message"],
|
|
560
|
-
"relatedComponents": ["alert", "dialog"]
|
|
402
|
+
"description": "Sonner is the toast notification system. It displays ephemeral feedback messages that appear at a fixed position on screen (top-right by default), auto-dismiss after a few seconds, and can be dismissed manually. `<Toaster>` is auto-injected by `<XerticaProvider>` — you never need to render it manually."
|
|
561
403
|
},
|
|
562
404
|
{
|
|
563
405
|
"name": "stats-card",
|
|
564
406
|
"docPath": "docs/components/stats-card.md",
|
|
565
407
|
"sourcePath": "components/ui/stats-card/index.ts",
|
|
566
|
-
"description": "A pre-built KPI (Key Performance Indicator) card for dashboard overview pages. Renders a metric title, a large value, an optional trend indicator with automatic up/down/neutral icon, and an optional icon."
|
|
567
|
-
"category": "ui",
|
|
568
|
-
"import": "xertica-ui/ui",
|
|
569
|
-
"keywords": ["kpi", "metric", "counter", "dashboard-card"],
|
|
570
|
-
"relatedComponents": ["card", "chart"]
|
|
408
|
+
"description": "A pre-built KPI (Key Performance Indicator) card for dashboard overview pages. Renders a metric title, a large value, an optional trend indicator with automatic up/down/neutral icon, and an optional icon."
|
|
571
409
|
},
|
|
572
410
|
{
|
|
573
411
|
"name": "stepper",
|
|
574
412
|
"docPath": "docs/components/stepper.md",
|
|
575
413
|
"sourcePath": "components/ui/stepper/index.ts",
|
|
576
|
-
"description": "A visual multi-step progress indicator that shows the user's current position within a sequential process. Uses a composable primitive pattern: `<Stepper>` wraps one or more `<Step>` children, automatically inferring the total number of steps."
|
|
577
|
-
"category": "ui",
|
|
578
|
-
"import": "xertica-ui/ui",
|
|
579
|
-
"keywords": ["wizard", "multi-step", "progress-steps", "onboarding"],
|
|
580
|
-
"relatedComponents": ["progress", "tabs"]
|
|
414
|
+
"description": "A visual multi-step progress indicator that shows the user's current position within a sequential process. Uses a composable primitive pattern: `<Stepper>` wraps one or more `<Step>` children, automatically inferring the total number of steps."
|
|
581
415
|
},
|
|
582
416
|
{
|
|
583
417
|
"name": "switch",
|
|
584
418
|
"docPath": "docs/components/switch.md",
|
|
585
419
|
"sourcePath": "components/ui/switch/index.ts",
|
|
586
|
-
"description": "A binary toggle control that represents an on/off state — similar to a physical light switch. More prominent and visually expressive than a `<Checkbox>`. Used for feature toggles, notification settings, accessibility preferences, and any prominent boolean setting."
|
|
587
|
-
"category": "ui",
|
|
588
|
-
"import": "xertica-ui/ui",
|
|
589
|
-
"keywords": ["toggle", "on-off", "boolean", "feature-flag"],
|
|
590
|
-
"relatedComponents": ["checkbox", "toggle"]
|
|
420
|
+
"description": "A binary toggle control that represents an on/off state — similar to a physical light switch. More prominent and visually expressive than a `<Checkbox>`. Used for feature toggles, notification settings, accessibility preferences, and any prominent boolean setting."
|
|
591
421
|
},
|
|
592
422
|
{
|
|
593
423
|
"name": "table",
|
|
594
424
|
"docPath": "docs/components/table.md",
|
|
595
425
|
"sourcePath": "components/ui/table/index.ts",
|
|
596
|
-
"description": "Structured tabular data display. Provides semantic HTML table elements wrapped in accessible, styled components. Used in CRUD list pages, reports, and any data-heavy view where rows represent records and columns represent attributes."
|
|
597
|
-
"category": "ui",
|
|
598
|
-
"import": "xertica-ui/ui",
|
|
599
|
-
"keywords": ["data-table", "grid", "list", "rows", "columns", "crud"],
|
|
600
|
-
"relatedComponents": ["pagination", "badge", "dropdown-menu", "empty"]
|
|
426
|
+
"description": "Structured tabular data display. Provides semantic HTML table elements wrapped in accessible, styled components. Used in CRUD list pages, reports, and any data-heavy view where rows represent records and columns represent attributes."
|
|
601
427
|
},
|
|
602
428
|
{
|
|
603
429
|
"name": "tabs",
|
|
604
430
|
"docPath": "docs/components/tabs.md",
|
|
605
431
|
"sourcePath": "components/ui/tabs/index.ts",
|
|
606
|
-
"description": "A content switcher that organizes related views under labelled tab triggers. One tab is active at a time. Used for multi-view dashboards, analytics pages, settings sections, and any context where content is segmented but logically related."
|
|
607
|
-
"category": "ui",
|
|
608
|
-
"import": "xertica-ui/ui",
|
|
609
|
-
"keywords": ["tab-bar", "tab-panel", "switcher", "tabbed-content"],
|
|
610
|
-
"relatedComponents": ["navigation-menu", "accordion"]
|
|
432
|
+
"description": "A content switcher that organizes related views under labelled tab triggers. One tab is active at a time. Used for multi-view dashboards, analytics pages, settings sections, and any context where content is segmented but logically related."
|
|
611
433
|
},
|
|
612
434
|
{
|
|
613
435
|
"name": "textarea",
|
|
614
436
|
"docPath": "docs/components/textarea.md",
|
|
615
437
|
"sourcePath": "components/ui/textarea/index.ts",
|
|
616
|
-
"description": "A multi-line text input for longer content: descriptions, notes, messages, and rich text fields. Automatically resizable or fixed, depending on the `resize` CSS class applied."
|
|
617
|
-
"category": "ui",
|
|
618
|
-
"import": "xertica-ui/ui",
|
|
619
|
-
"keywords": ["multi-line", "text-area", "description-field", "notes"],
|
|
620
|
-
"relatedComponents": ["input", "form", "rich-text-editor"]
|
|
438
|
+
"description": "A multi-line text input for longer content: descriptions, notes, messages, and rich text fields. Automatically resizable or fixed, depending on the `resize` CSS class applied."
|
|
621
439
|
},
|
|
622
440
|
{
|
|
623
441
|
"name": "theme-toggle",
|
|
624
442
|
"docPath": "docs/components/theme-toggle.md",
|
|
625
443
|
"sourcePath": "components/brand/theme-toggle/index.ts",
|
|
626
|
-
"description": "A self-contained light/dark mode toggle button that operates directly on the `document.documentElement` class list."
|
|
627
|
-
"category": "brand",
|
|
628
|
-
"import": "xertica-ui/brand",
|
|
629
|
-
"keywords": ["dark-mode", "light-mode", "color-scheme"],
|
|
630
|
-
"relatedComponents": ["header", "sidebar"]
|
|
444
|
+
"description": "A self-contained light/dark mode toggle button that operates directly on the `document.documentElement` class list."
|
|
631
445
|
},
|
|
632
446
|
{
|
|
633
447
|
"name": "timeline",
|
|
634
448
|
"docPath": "docs/components/timeline.md",
|
|
635
449
|
"sourcePath": "components/ui/timeline/index.ts",
|
|
636
|
-
"description": "A vertical sequence of events displayed chronologically, each with a timestamp, title, and optional description. Used in activity logs, audit trails, case histories, and notification feeds."
|
|
637
|
-
"category": "ui",
|
|
638
|
-
"import": "xertica-ui/ui",
|
|
639
|
-
"keywords": ["activity-log", "history", "event-log", "audit-trail"],
|
|
640
|
-
"relatedComponents": ["table", "card"]
|
|
450
|
+
"description": "A vertical sequence of events displayed chronologically, each with a timestamp, title, and optional description. Used in activity logs, audit trails, case histories, and notification feeds."
|
|
641
451
|
},
|
|
642
452
|
{
|
|
643
453
|
"name": "toggle-group",
|
|
644
454
|
"docPath": "docs/components/toggle-group.md",
|
|
645
455
|
"sourcePath": "components/ui/toggle-group/index.ts",
|
|
646
|
-
"description": "A set of related `<Toggle>` buttons that operate together — either allowing only one selection at a time (`type=\"single\"`) or multiple simultaneous selections (`type=\"multiple\"`). Used for mutually exclusive view modes, filter groups, and formatting toolbars."
|
|
647
|
-
"category": "ui",
|
|
648
|
-
"import": "xertica-ui/ui",
|
|
649
|
-
"keywords": ["segmented-control", "exclusive-toggle", "multi-toggle"],
|
|
650
|
-
"relatedComponents": ["toggle", "tabs"]
|
|
456
|
+
"description": "A set of related `<Toggle>` buttons that operate together — either allowing only one selection at a time (`type=\"single\"`) or multiple simultaneous selections (`type=\"multiple\"`). Used for mutually exclusive view modes, filter groups, and formatting toolbars."
|
|
651
457
|
},
|
|
652
458
|
{
|
|
653
459
|
"name": "toggle",
|
|
654
460
|
"docPath": "docs/components/toggle.md",
|
|
655
461
|
"sourcePath": "components/ui/toggle/index.ts",
|
|
656
|
-
"description": "A pressable button that maintains an on/off state visually, similar to a keyboard key that stays pressed. Used in toolbars for formatting, view switching, and feature activation."
|
|
657
|
-
"category": "ui",
|
|
658
|
-
"import": "xertica-ui/ui",
|
|
659
|
-
"keywords": ["pressable", "pressed-state", "toolbar-toggle"],
|
|
660
|
-
"relatedComponents": ["switch", "checkbox", "toggle-group"]
|
|
462
|
+
"description": "A pressable button that maintains an on/off state visually, similar to a keyboard key that stays pressed. Used in toolbars for formatting, view switching, and feature activation."
|
|
661
463
|
},
|
|
662
464
|
{
|
|
663
465
|
"name": "tooltip",
|
|
664
466
|
"docPath": "docs/components/tooltip.md",
|
|
665
467
|
"sourcePath": "components/ui/tooltip/index.ts",
|
|
666
|
-
"description": "A small floating label that appears on hover (or focus) over a trigger element, providing a short contextual explanation — typically for icon-only buttons, abbreviated text, or any element where the visual label alone isn't sufficient."
|
|
667
|
-
"category": "ui",
|
|
668
|
-
"import": "xertica-ui/ui",
|
|
669
|
-
"keywords": ["hint", "title", "help-text", "hover-text"],
|
|
670
|
-
"relatedComponents": ["hover-card", "popover"]
|
|
468
|
+
"description": "A small floating label that appears on hover (or focus) over a trigger element, providing a short contextual explanation — typically for icon-only buttons, abbreviated text, or any element where the visual label alone isn't sufficient."
|
|
671
469
|
},
|
|
672
470
|
{
|
|
673
471
|
"name": "tree-view",
|
|
674
472
|
"docPath": "docs/components/tree-view.md",
|
|
675
473
|
"sourcePath": "components/ui/tree-view/index.ts",
|
|
676
|
-
"description": "An interactive hierarchical tree component for displaying and navigating nested data structures — file systems, organizational charts, category trees, and recursive navigation menus."
|
|
677
|
-
"category": "ui",
|
|
678
|
-
"import": "xertica-ui/ui",
|
|
679
|
-
"keywords": ["tree", "hierarchy", "nested-list", "file-tree"],
|
|
680
|
-
"relatedComponents": ["accordion", "sidebar"]
|
|
474
|
+
"description": "An interactive hierarchical tree component for displaying and navigating nested data structures — file systems, organizational charts, category trees, and recursive navigation menus. Supports keyboard navigation (Arrow keys, Home, End, Space), expand/collapse, and single-node selection."
|
|
681
475
|
},
|
|
682
476
|
{
|
|
683
477
|
"name": "use-mobile",
|
|
684
478
|
"docPath": "docs/components/use-mobile.md",
|
|
685
|
-
"sourcePath": "components/
|
|
686
|
-
"description": "Two hooks that detect whether the current viewport is a mobile-width screen. Useful for conditionally rendering mobile-specific layouts, swapping components (e.g., `Drawer` vs `Sheet`), or hiding/showing content based on screen size."
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
"
|
|
690
|
-
"
|
|
479
|
+
"sourcePath": "components/ui/use-mobile.tsx",
|
|
480
|
+
"description": "Two hooks that detect whether the current viewport is a mobile-width screen. Useful for conditionally rendering mobile-specific layouts, swapping components (e.g., `Drawer` vs `Sheet`), or hiding/showing content based on screen size."
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"name": "video-player",
|
|
484
|
+
"docPath": "docs/components/video-player.md",
|
|
485
|
+
"sourcePath": "components/ui/video-player.tsx",
|
|
486
|
+
"description": "A feature-rich video player component with floating mode support, custom controls, and automatic state management."
|
|
691
487
|
},
|
|
692
488
|
{
|
|
693
489
|
"name": "xertica-logo",
|
|
694
490
|
"docPath": "docs/components/xertica-logo.md",
|
|
695
491
|
"sourcePath": "components/brand/xertica-logo/index.ts",
|
|
696
|
-
"description": "The official full horizontal logotype for Xertica. It is a vector-based SVG component that ensures brand consistency across all application headers and splash screens."
|
|
697
|
-
"category": "brand",
|
|
698
|
-
"import": "xertica-ui/brand",
|
|
699
|
-
"keywords": ["logo", "brand", "logotype"],
|
|
700
|
-
"relatedComponents": ["xertica-xlogo", "xertica-orbe"]
|
|
492
|
+
"description": "The official full horizontal logotype for Xertica. It is a vector-based SVG component that ensures brand consistency across all application headers and splash screens."
|
|
701
493
|
},
|
|
702
494
|
{
|
|
703
495
|
"name": "xertica-orbe",
|
|
704
496
|
"docPath": "docs/components/xertica-orbe.md",
|
|
705
497
|
"sourcePath": "components/brand/xertica-orbe/index.ts",
|
|
706
|
-
"description": "An animated, decorative brand element representing the Xertica \"Orbe\". It features CSS-based pulse and rotation animations to provide a premium, dynamic feel to hero sections and loading screens."
|
|
707
|
-
"category": "brand",
|
|
708
|
-
"import": "xertica-ui/brand",
|
|
709
|
-
"keywords": ["orb", "animated-logo", "brand-animation"],
|
|
710
|
-
"relatedComponents": ["xertica-logo"]
|
|
498
|
+
"description": "An animated, decorative brand element representing the Xertica \"Orbe\". It features CSS-based pulse and rotation animations to provide a premium, dynamic feel to hero sections and loading screens."
|
|
711
499
|
},
|
|
712
500
|
{
|
|
713
501
|
"name": "xertica-provider",
|
|
714
502
|
"docPath": "docs/components/xertica-provider.md",
|
|
715
503
|
"sourcePath": "components/brand/xertica-provider/index.ts",
|
|
716
|
-
"description": "The
|
|
717
|
-
"category": "brand",
|
|
718
|
-
"import": "xertica-ui/brand",
|
|
719
|
-
"keywords": ["provider", "root", "context", "app-wrapper"],
|
|
720
|
-
"relatedComponents": []
|
|
504
|
+
"description": "The recommended root wrapper for Xertica UI applications. Most components can render independently with local fallbacks, but the provider centralizes app-wide state, theming, maps, tooltips, assistant state, API keys, and notifications."
|
|
721
505
|
},
|
|
722
506
|
{
|
|
723
507
|
"name": "xertica-xlogo",
|
|
724
508
|
"docPath": "docs/components/xertica-xlogo.md",
|
|
725
509
|
"sourcePath": "components/brand/xertica-xlogo/index.ts",
|
|
726
|
-
"description": "A compact, square variant of the Xertica logo featuring the stylized \"X\" mark. Ideal for favicons, collapsed sidebars, and small profile badges."
|
|
727
|
-
"category": "brand",
|
|
728
|
-
"import": "xertica-ui/brand",
|
|
729
|
-
"keywords": ["x-logo", "compact-logo", "icon-logo", "favicon"],
|
|
730
|
-
"relatedComponents": ["xertica-logo", "sidebar"]
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
"name": "video-player",
|
|
734
|
-
"docPath": "docs/components/video-player.md",
|
|
735
|
-
"sourcePath": "components/media/video-player/index.ts",
|
|
736
|
-
"description": "A feature-rich video player with custom controls, progress bar, volume, and floating mode support. Built on HTML5 video with React state management.",
|
|
737
|
-
"category": "media",
|
|
738
|
-
"import": "xertica-ui/media",
|
|
739
|
-
"keywords": ["video", "player", "media", "playback"],
|
|
740
|
-
"relatedComponents": ["audio-player", "floating-media-wrapper"]
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
"name": "code-block",
|
|
744
|
-
"docPath": "docs/components/assistant.md",
|
|
745
|
-
"sourcePath": "components/assistant/code-block/index.ts",
|
|
746
|
-
"description": "A syntax-highlighted code block component for the Xertica Assistant. It renders code snippets with language detection and copy-to-clipboard functionality.",
|
|
747
|
-
"category": "assistant",
|
|
748
|
-
"import": "xertica-ui/assistant",
|
|
749
|
-
"keywords": ["syntax-highlight", "code", "snippet", "copy-code"],
|
|
750
|
-
"relatedComponents": ["markdown-message", "xertica-assistant"]
|
|
751
|
-
},
|
|
752
|
-
{
|
|
753
|
-
"name": "formatted-document",
|
|
754
|
-
"docPath": "docs/components/assistant.md",
|
|
755
|
-
"sourcePath": "components/assistant/formatted-document/index.ts",
|
|
756
|
-
"description": "A structured document renderer for displaying AI-generated content with headings, paragraphs, lists, and rich formatting support.",
|
|
757
|
-
"category": "assistant",
|
|
758
|
-
"import": "xertica-ui/assistant",
|
|
759
|
-
"keywords": ["formatted document"],
|
|
760
|
-
"relatedComponents": []
|
|
761
|
-
},
|
|
762
|
-
{
|
|
763
|
-
"name": "modern-chat-input",
|
|
764
|
-
"docPath": "docs/components/assistant.md",
|
|
765
|
-
"sourcePath": "components/assistant/modern-chat-input/index.ts",
|
|
766
|
-
"description": "A chat input component for the AI Assistant with multi-line support, auto-resize, and keyboard shortcuts. Used as the primary input in the assistant interface.",
|
|
767
|
-
"category": "assistant",
|
|
768
|
-
"import": "xertica-ui/assistant",
|
|
769
|
-
"keywords": ["modern chat input"],
|
|
770
|
-
"relatedComponents": []
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
"name": "xertica-assistant",
|
|
774
|
-
"docPath": "docs/components/assistant.md",
|
|
775
|
-
"sourcePath": "components/assistant/xertica-assistant/index.ts",
|
|
776
|
-
"description": "A conversational AI assistant panel that integrates with the application. Provides chat interface, message rendering, suggestions, and file attachments.",
|
|
777
|
-
"category": "assistant",
|
|
778
|
-
"import": "xertica-ui/assistant",
|
|
779
|
-
"keywords": ["ai-chat", "chatbot", "ai-panel", "assistant", "llm-chat"],
|
|
780
|
-
"relatedComponents": ["markdown-message", "code-block"]
|
|
781
|
-
},
|
|
782
|
-
{
|
|
783
|
-
"name": "login-page",
|
|
784
|
-
"docPath": "docs/getting-started.md",
|
|
785
|
-
"sourcePath": "components/pages/login-page/index.ts",
|
|
786
|
-
"description": "A complete login page template with email/password fields, theme toggle, and language selector integration.",
|
|
787
|
-
"category": "pages",
|
|
788
|
-
"import": "xertica-ui",
|
|
789
|
-
"keywords": ["login page"],
|
|
790
|
-
"relatedComponents": []
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
"name": "forgot-password-page",
|
|
794
|
-
"docPath": "docs/getting-started.md",
|
|
795
|
-
"sourcePath": "components/pages/forgot-password-page/index.ts",
|
|
796
|
-
"description": "A forgot password page template with email input and reset flow integration.",
|
|
797
|
-
"category": "pages",
|
|
798
|
-
"import": "xertica-ui",
|
|
799
|
-
"keywords": ["forgot password page"],
|
|
800
|
-
"relatedComponents": []
|
|
801
|
-
},
|
|
802
|
-
{
|
|
803
|
-
"name": "reset-password-page",
|
|
804
|
-
"docPath": "docs/getting-started.md",
|
|
805
|
-
"sourcePath": "components/pages/reset-password-page/index.ts",
|
|
806
|
-
"description": "A reset password page template with new password and confirmation fields.",
|
|
807
|
-
"category": "pages",
|
|
808
|
-
"import": "xertica-ui",
|
|
809
|
-
"keywords": ["reset password page"],
|
|
810
|
-
"relatedComponents": []
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
"name": "verify-email-page",
|
|
814
|
-
"docPath": "docs/getting-started.md",
|
|
815
|
-
"sourcePath": "components/pages/verify-email-page/index.ts",
|
|
816
|
-
"description": "A verify email page template with OTP code input for email verification.",
|
|
817
|
-
"category": "pages",
|
|
818
|
-
"import": "xertica-ui",
|
|
819
|
-
"keywords": ["verify email page"],
|
|
820
|
-
"relatedComponents": []
|
|
821
|
-
},
|
|
822
|
-
{
|
|
823
|
-
"name": "home-page",
|
|
824
|
-
"docPath": "docs/getting-started.md",
|
|
825
|
-
"sourcePath": "components/pages/home-page/index.ts",
|
|
826
|
-
"description": "A home page template with sidebar navigation, header, and content area. The base layout for application pages.",
|
|
827
|
-
"category": "pages",
|
|
828
|
-
"import": "xertica-ui",
|
|
829
|
-
"keywords": ["home page"],
|
|
830
|
-
"relatedComponents": []
|
|
831
|
-
},
|
|
832
|
-
{
|
|
833
|
-
"name": "home-content",
|
|
834
|
-
"docPath": "docs/getting-started.md",
|
|
835
|
-
"sourcePath": "components/pages/home-content/index.ts",
|
|
836
|
-
"description": "The content area component for home pages, providing a flexible container for page-specific content.",
|
|
837
|
-
"category": "pages",
|
|
838
|
-
"import": "xertica-ui",
|
|
839
|
-
"keywords": ["home content"],
|
|
840
|
-
"relatedComponents": []
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"name": "template-page",
|
|
844
|
-
"docPath": "docs/getting-started.md",
|
|
845
|
-
"sourcePath": "components/pages/template-page/index.ts",
|
|
846
|
-
"description": "A flexible page template component that wraps the layout system with configurable header, sidebar, and content areas.",
|
|
847
|
-
"category": "pages",
|
|
848
|
-
"import": "xertica-ui",
|
|
849
|
-
"keywords": ["template page"],
|
|
850
|
-
"relatedComponents": []
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
"name": "template-content",
|
|
854
|
-
"docPath": "docs/getting-started.md",
|
|
855
|
-
"sourcePath": "components/pages/template-content/index.ts",
|
|
856
|
-
"description": "A content wrapper component for template pages, providing consistent padding and layout behavior.",
|
|
857
|
-
"category": "pages",
|
|
858
|
-
"import": "xertica-ui",
|
|
859
|
-
"keywords": ["template content"],
|
|
860
|
-
"relatedComponents": []
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
"name": "map-layers",
|
|
864
|
-
"docPath": "docs/components/map.md",
|
|
865
|
-
"sourcePath": "components/ui/map-layers/index.ts",
|
|
866
|
-
"description": "A utility for managing Google Maps layers including traffic, transit, bicycling, and weather layers with theme-aware styling.",
|
|
867
|
-
"category": "ui",
|
|
868
|
-
"import": "xertica-ui/ui",
|
|
869
|
-
"keywords": ["map layers"],
|
|
870
|
-
"relatedComponents": []
|
|
871
|
-
},
|
|
872
|
-
{
|
|
873
|
-
"name": "map-config",
|
|
874
|
-
"docPath": "docs/components/map.md",
|
|
875
|
-
"sourcePath": "components/ui/map-config/index.ts",
|
|
876
|
-
"description": "Configuration utility for Google Maps shared settings and theme-based styling.",
|
|
877
|
-
"category": "ui",
|
|
878
|
-
"import": "xertica-ui/ui",
|
|
879
|
-
"keywords": ["map config"],
|
|
880
|
-
"relatedComponents": []
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
"name": "floating-media-wrapper",
|
|
884
|
-
"docPath": "docs/components/floating-media-wrapper.md",
|
|
885
|
-
"sourcePath": "components/media/FloatingMediaWrapper.tsx",
|
|
886
|
-
"description": "A higher-level wrapper for media players (audio/video) that manages floating state, positioning, and transitions.",
|
|
887
|
-
"category": "media",
|
|
888
|
-
"import": "xertica-ui/media",
|
|
889
|
-
"keywords": ["floating", "draggable", "portal", "picture-in-picture"],
|
|
890
|
-
"relatedComponents": ["video-player", "audio-player"]
|
|
510
|
+
"description": "A compact, square variant of the Xertica logo featuring the stylized \"X\" mark. Ideal for favicons, collapsed sidebars, and small profile badges."
|
|
891
511
|
}
|
|
892
|
-
]
|
|
512
|
+
]
|