xertica-ui 2.1.3 → 2.1.4
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 +15 -0
- package/README.md +1 -1
- package/assets/xertica-logo.svg +37 -37
- package/assets/xertica-x-logo.svg +20 -20
- package/components/assistant/index.ts +6 -6
- package/components/assistant/xertica-assistant/parts/AssistantCollapsedView.tsx +97 -0
- package/components/assistant/xertica-assistant/parts/AssistantConversationList.tsx +104 -0
- package/components/assistant/xertica-assistant/parts/AssistantDocumentEditor.tsx +81 -0
- package/components/assistant/xertica-assistant/parts/AssistantFeedbackDialog.tsx +86 -0
- package/components/assistant/xertica-assistant/parts/AssistantHeader.tsx +77 -0
- package/components/assistant/xertica-assistant/parts/AssistantMessageBubble.tsx +573 -0
- package/components/assistant/xertica-assistant/parts/AssistantTabBar.tsx +65 -0
- package/components/assistant/xertica-assistant/parts/AssistantTypingIndicator.tsx +41 -0
- package/components/assistant/xertica-assistant/parts/AssistantWelcomeScreen.tsx +98 -0
- package/components/assistant/xertica-assistant/parts/index.ts +16 -0
- package/components/assistant/xertica-assistant/types.ts +139 -0
- package/components/assistant/xertica-assistant/use-assistant.ts +5 -10
- package/components/assistant/xertica-assistant/xertica-assistant.tsx +125 -1096
- package/components/blocks/card-patterns/ActivityCard.tsx +72 -72
- package/components/blocks/card-patterns/FeatureCard.tsx +100 -100
- package/components/blocks/card-patterns/NotificationCard.tsx +127 -127
- package/components/blocks/card-patterns/ProfileCard.tsx +84 -84
- package/components/blocks/card-patterns/ProjectCard.tsx +89 -89
- package/components/blocks/card-patterns/QuickActionCard.tsx +62 -62
- package/components/blocks/card-patterns/card-patterns.stories.tsx +445 -445
- package/components/blocks/card-patterns/index.ts +17 -17
- package/components/blocks/index.ts +1 -1
- package/components/brand/index.ts +6 -6
- package/components/brand/theme-toggle/ThemeToggle.tsx +8 -27
- package/components/brand/xertica-provider/XerticaProvider.tsx +48 -48
- package/components/brand/xertica-provider/xertica-provider.mdx +61 -61
- package/components/brand/xertica-provider/xertica-provider.test.tsx +52 -52
- package/components/examples/MapExamples.tsx +282 -282
- package/components/examples/SimpleFilterableMap.tsx +191 -191
- package/components/examples/index.ts +51 -51
- package/components/figma/ImageWithFallback.tsx +27 -27
- package/components/hooks/index.ts +10 -7
- package/components/hooks/use-layout-shortcuts.ts +46 -0
- package/components/index.ts +5 -5
- package/components/layout/header/header.test.tsx +8 -8
- package/components/layout/header/header.tsx +4 -4
- package/components/layout/index.ts +2 -2
- package/components/layout/sidebar/sidebar.mdx +1 -1
- package/components/layout/sidebar/sidebar.test.tsx +11 -11
- package/components/layout/sidebar/sidebar.tsx +1 -31
- package/components/layout/sidebar/use-sidebar.ts +2 -11
- package/components/media/FloatingMediaWrapper.tsx +11 -11
- package/components/media/audio-player/AudioPlayer.tsx +140 -215
- package/components/media/audio-player/use-audio-player.ts +298 -0
- package/components/media/index.ts +3 -3
- package/components/pages/home-content/HomeContent.tsx +7 -7
- package/components/pages/home-content/home-content.mdx +62 -62
- package/components/pages/home-page/HomePage.stories.tsx +39 -39
- package/components/pages/home-page/home-page.mdx +53 -53
- package/components/pages/index.ts +8 -8
- package/components/pages/template-content/template-content.mdx +61 -61
- package/components/pages/template-page/TemplatePage.stories.tsx +39 -39
- package/components/pages/template-page/template-page.mdx +53 -53
- package/components/public-api-smoke.test.tsx +52 -52
- package/components/shared/CustomTooltipContent.tsx +52 -0
- package/components/shared/assistant-utils.ts +43 -43
- package/components/ui/accordion/accordion.mdx +8 -8
- package/components/ui/accordion/accordion.stories.tsx +53 -53
- 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/badge/badge.tsx +9 -9
- 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/calendar/calendar.tsx +258 -258
- package/components/ui/card/card.mdx +8 -8
- package/components/ui/card/card.stories.tsx +245 -245
- package/components/ui/carousel/carousel.mdx +8 -8
- package/components/ui/chart/chart.mdx +8 -8
- package/components/ui/chart/chart.stories.tsx +1303 -1303
- package/components/ui/chart/chart.test.tsx +154 -154
- package/components/ui/chart/chart.tsx +2367 -2367
- package/components/ui/checkbox/checkbox.mdx +8 -8
- package/components/ui/checkbox/checkbox.stories.tsx +20 -20
- 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/google-maps-loader/google-maps-loader.tsx +2 -2
- 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/input-otp/input-otp.stories.tsx +6 -6
- package/components/ui/label/label.mdx +8 -8
- package/components/ui/map/map.mdx +8 -8
- package/components/ui/map/map.stories.tsx +51 -51
- package/components/ui/map/map.tsx +2 -2
- 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/progress/progress.tsx +68 -68
- 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/route-map/route-map.stories.tsx +54 -54
- package/components/ui/route-map/route-map.tsx +2 -2
- 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/select/select.stories.tsx +9 -9
- package/components/ui/separator/separator.mdx +8 -8
- package/components/ui/sheet/sheet.mdx +8 -8
- package/components/ui/sheet/sheet.stories.tsx +95 -95
- package/components/ui/simple-map/simple-map.mdx +8 -8
- package/components/ui/simple-map/simple-map.stories.tsx +48 -48
- 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/stats-card.mdx +8 -8
- package/components/ui/stepper/stepper.mdx +8 -8
- package/components/ui/switch/switch.mdx +8 -8
- package/components/ui/switch/switch.stories.tsx +20 -20
- package/components/ui/table/table.mdx +8 -8
- package/components/ui/tabs/tabs.mdx +8 -8
- package/components/ui/tabs/tabs.stories.tsx +26 -26
- 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 +1512 -1512
- package/contexts/ApiKeyContext.tsx +72 -72
- package/contexts/AssistenteContext.tsx +17 -54
- package/contexts/BrandColorsContext.tsx +32 -43
- package/contexts/LanguageContext.tsx +13 -13
- package/contexts/LayoutContext.test.tsx +11 -11
- package/contexts/LayoutContext.tsx +24 -50
- package/contexts/ThemeContext.tsx +26 -26
- package/contexts/theme-data.ts +4 -4
- package/dist/{AssistantChart-DoZCyS5r.cjs → AssistantChart-9w31gdAb.cjs} +4 -4
- package/dist/{AssistantChart-CldVCVDe.cjs → AssistantChart-BAudAfne.cjs} +5 -5
- package/dist/{use-mobile-DRB3BQgD.cjs → AssistantChart-BAx9VQvb.cjs} +209 -1070
- package/dist/{AssistantChart-Cu3m7RBo.js → AssistantChart-BP8upjMk.js} +5 -5
- package/dist/{use-mobile-BvYdisLP.js → AssistantChart-CVko2A1W.js} +171 -1025
- package/dist/{AssistantChart-C_hwFRRr.js → AssistantChart-CVzmmhx4.js} +4 -4
- package/dist/{AudioPlayer-C12BjQBV.cjs → AudioPlayer-1ypwE2Wh.cjs} +126 -187
- package/dist/{AudioPlayer-DcFKRJE_.js → AudioPlayer-DuKXrCfy.js} +80 -141
- package/dist/CustomTooltipContent-DHjkY0ww.js +40 -0
- package/dist/CustomTooltipContent-c_K-DWRr.cjs +56 -0
- package/dist/{ThemeContext-BoH4NLfN.js → LanguageContext-BwhwC3G2.js} +27 -104
- package/dist/{ThemeContext-r69W20Xg.cjs → LanguageContext-DvUt5jBg.cjs} +27 -104
- package/dist/{LayoutContext-BvK-ggDa.cjs → LayoutContext-BDmcZfMH.cjs} +8 -20
- package/dist/{LayoutContext-BAql6ZRY.js → LayoutContext-dbQvdC4O.js} +8 -20
- package/dist/{ThemeContext-C2EwAPDt.js → ThemeContext-BbBNoFTG.js} +2 -2
- package/dist/{ThemeContext-vTjumZeM.cjs → ThemeContext-Cmr8Ex8H.cjs} +2 -2
- package/dist/ThemeContext-RTy1m2Uq.js +82 -0
- package/dist/ThemeContext-bSzuOit2.cjs +81 -0
- package/dist/VerifyEmailPage-BE-L9mB7.js +2828 -0
- package/dist/{VerifyEmailPage-Cwi3kbol.cjs → VerifyEmailPage-Bae2cBXT.cjs} +7 -7
- package/dist/VerifyEmailPage-CR7kb5df.cjs +2827 -0
- package/dist/{VerifyEmailPage-C0c2e5n0.js → VerifyEmailPage-C_ihbcth.js} +6 -6
- package/dist/VerifyEmailPage-CbgjOF0v.js +2828 -0
- package/dist/{VerifyEmailPage-DvMLZgFt.js → VerifyEmailPage-CdYPSJoO.js} +1 -1
- package/dist/{VerifyEmailPage-CYXtbKi3.cjs → VerifyEmailPage-DMBh4NM9.cjs} +1 -1
- package/dist/VerifyEmailPage-Dt7zgA4w.cjs +2827 -0
- package/dist/{XerticaProvider-CEoWMTxu.js → XerticaProvider-BITjgC5p.js} +2 -2
- package/dist/{XerticaProvider-CllrbMEJ.cjs → XerticaProvider-By8q3Roe.cjs} +2 -2
- package/dist/{XerticaProvider-cI9hSs27.cjs → XerticaProvider-CW9hpCdF.cjs} +9 -8
- package/dist/{XerticaProvider-DDuiIcKo.js → XerticaProvider-siSt9uG2.js} +5 -4
- package/dist/{LanguageSelector-D6uacAIM.cjs → XerticaXLogo-D8jf0SNv.cjs} +86 -102
- package/dist/{LanguageSelector-B5YfbHra.js → XerticaXLogo-fAJMy3H4.js} +87 -103
- package/dist/{alert-dialog-s-vmNkJ_.js → alert-dialog-iDe5VE5o.js} +3 -3
- package/dist/{alert-dialog-DSKByiKZ.cjs → alert-dialog-yckpaOpy.cjs} +3 -3
- package/dist/assistant.cjs.js +1 -1
- package/dist/assistant.es.js +1 -1
- package/dist/brand.cjs.js +2 -2
- package/dist/brand.es.js +2 -2
- package/dist/components/assistant/xertica-assistant/parts/AssistantCollapsedView.d.ts +13 -0
- package/dist/components/assistant/xertica-assistant/parts/AssistantConversationList.d.ts +16 -0
- package/dist/components/assistant/xertica-assistant/parts/AssistantDocumentEditor.d.ts +17 -0
- package/dist/components/assistant/xertica-assistant/parts/AssistantFeedbackDialog.d.ts +19 -0
- package/dist/components/assistant/xertica-assistant/parts/AssistantHeader.d.ts +11 -0
- package/dist/components/assistant/xertica-assistant/parts/AssistantMessageBubble.d.ts +29 -0
- package/dist/components/assistant/xertica-assistant/parts/AssistantTabBar.d.ts +13 -0
- package/dist/components/assistant/xertica-assistant/parts/AssistantTypingIndicator.d.ts +4 -0
- package/dist/components/assistant/xertica-assistant/parts/AssistantWelcomeScreen.d.ts +17 -0
- package/dist/components/assistant/xertica-assistant/parts/index.d.ts +16 -0
- package/dist/components/assistant/xertica-assistant/types.d.ts +106 -0
- package/dist/components/assistant/xertica-assistant/use-assistant.d.ts +1 -2
- package/dist/components/assistant/xertica-assistant/xertica-assistant.d.ts +2 -96
- package/dist/components/hooks/index.d.ts +3 -0
- package/dist/components/hooks/use-layout-shortcuts.d.ts +22 -0
- package/dist/components/media/audio-player/AudioPlayer.d.ts +4 -1
- package/dist/components/media/audio-player/use-audio-player.d.ts +72 -0
- package/dist/components/shared/CustomTooltipContent.d.ts +20 -0
- package/dist/components/ui/alert/alert.d.ts +1 -1
- package/dist/components/ui/badge/badge.d.ts +1 -1
- package/dist/components/ui/button/button.d.ts +2 -2
- package/dist/contexts/AssistenteContext.d.ts +10 -49
- package/dist/{google-maps-loader-Y-QkD-Li.cjs → google-maps-loader-BqsYL48U.cjs} +0 -5
- package/dist/{google-maps-loader-CTYySAun.js → google-maps-loader-t2IlYBzw.js} +0 -4
- package/dist/hooks.cjs.js +30 -10
- package/dist/hooks.es.js +25 -4
- package/dist/index-CkTUgOwX.js +8 -0
- package/dist/{index-COtD8bRW.cjs → index-D3RLKRAs.cjs} +1 -1
- package/dist/index.cjs.js +11 -11
- package/dist/index.es.js +11 -11
- package/dist/index.umd.js +454 -1027
- package/dist/layout.cjs.js +3 -10
- package/dist/layout.es.js +3 -10
- package/dist/media.cjs.js +1 -1
- package/dist/media.es.js +1 -1
- package/dist/pages.cjs.js +1 -1
- package/dist/pages.es.js +1 -1
- package/dist/{sidebar-CK_0ZQHj.cjs → sidebar-CVUGHOS_.cjs} +10 -57
- package/dist/{sidebar-CUuOvYhK.js → sidebar-CmvwjnVb.js} +10 -40
- package/dist/ui.cjs.js +4 -4
- package/dist/ui.es.js +4 -4
- package/dist/use-audio-player-Bkh23vQ3.js +177 -0
- package/dist/use-audio-player-Dn1NR9xN.cjs +176 -0
- package/dist/utils/color-utils.d.ts +51 -0
- package/dist/{xertica-assistant-dyP7KHM5.cjs → xertica-assistant-B1IaHXnB.cjs} +388 -529
- package/dist/xertica-assistant-BMqdyRVi.js +2082 -0
- package/dist/xertica-assistant-Bj3vBCq_.cjs +2081 -0
- package/dist/{xertica-assistant-yX1CFBBo.js → xertica-assistant-DPsESB6t.js} +390 -531
- package/dist/{CodeBlock-BgfYL_rD.cjs → xertica-assistant-Qp3ydksa.cjs} +51 -263
- package/dist/{CodeBlock-DnYNI8rQ.js → xertica-assistant-gnCJdcZY.js} +7 -219
- package/dist/xertica-ui.css +2 -2
- package/docs/architecture-improvements.md +463 -0
- package/docs/architecture.md +1 -1
- package/docs/components/assistant-chart.md +1 -1
- package/docs/components/audio-player.md +46 -0
- package/docs/components/branding.md +251 -0
- package/docs/components/calendar.md +154 -154
- package/docs/components/card-patterns.md +337 -337
- package/docs/components/card.md +235 -235
- package/docs/components/code-block.md +108 -0
- package/docs/components/formatted-document.md +113 -0
- package/docs/components/hooks.md +430 -0
- package/docs/components/image-with-fallback.md +106 -0
- package/docs/components/map-layers.md +140 -0
- package/docs/components/map.md +84 -84
- package/docs/components/modern-chat-input.md +163 -0
- package/docs/components/pages.md +351 -0
- package/docs/components/xertica-provider.md +24 -24
- package/docs/decision-tree.md +287 -287
- package/docs/doc-audit.md +223 -0
- package/docs/getting-started.md +154 -0
- package/docs/llms.md +25 -5
- package/docs/patterns/detail-page.md +276 -0
- package/docs/patterns/settings.md +346 -0
- package/docs/patterns/wizard.md +217 -0
- package/guidelines/Guidelines.md +252 -252
- package/hooks/useTheme.ts +3 -3
- package/imports/Podcast.tsx +388 -388
- package/imports/XerticaAi.tsx +45 -45
- package/imports/XerticaX.tsx +19 -19
- package/imports/svg-aueiaqngck.ts +11 -11
- package/imports/svg-v9krss1ozd.ts +16 -16
- package/imports/svg-vhrdofe3qe.ts +5 -5
- package/llms-compact.txt +327 -327
- package/llms.txt +160 -160
- package/package.json +203 -203
- package/styles/xertica/app-overrides/chat.css +61 -61
- package/styles/xertica/app-overrides/scrollbar.css +33 -33
- package/styles/xertica/integrations/google-maps.css +76 -76
- package/styles/xertica/integrations/sonner.css +73 -73
- package/templates/CLAUDE.md +182 -182
- package/templates/guidelines/Guidelines.md +325 -325
- package/templates/package.json +2 -2
- package/templates/src/features/auth/index.ts +4 -4
- package/templates/src/features/auth/ui/AuthPageShell.tsx +34 -34
- package/templates/src/features/auth/ui/ForgotPasswordContent.tsx +70 -70
- package/templates/src/features/auth/ui/LoginContent.tsx +90 -90
- package/templates/src/features/auth/ui/ResetPasswordContent.tsx +151 -151
- package/templates/src/features/auth/ui/SocialLoginButtons.tsx +59 -59
- package/templates/src/features/auth/ui/VerifyEmailContent.tsx +82 -82
- package/templates/src/features/home/index.ts +1 -1
- package/templates/src/features/home/ui/HomeContent.tsx +100 -100
- package/templates/src/features/template/index.ts +5 -5
- package/templates/src/features/template/ui/CrudTemplate.tsx +3 -3
- package/templates/src/features/template/ui/DashboardTemplate.tsx +3 -3
- package/templates/src/features/template/ui/FormTemplate.tsx +120 -120
- package/templates/src/features/template/ui/LoginTemplate.tsx +3 -3
- package/templates/src/pages/AssistantPage.tsx +328 -328
- package/templates/src/pages/ForgotPasswordPage.tsx +6 -6
- package/templates/src/pages/HomePage.tsx +57 -57
- package/templates/src/pages/LoginPage.tsx +10 -10
- package/templates/src/pages/ResetPasswordPage.tsx +6 -6
- package/templates/src/pages/TemplatePage.tsx +30 -30
- package/templates/src/pages/VerifyEmailPage.tsx +6 -6
- package/templates/src/shared/config/navigation.ts +20 -20
- package/templates/src/shared/lib/auth.ts +20 -20
- package/templates/src/shared/types/auth.ts +3 -3
- package/templates/tsconfig.json +5 -5
- package/utils/color-utils.ts +72 -0
- package/utils/gemini.ts +140 -140
- package/dist/AudioPlayer-B1lt5cPl.cjs +0 -989
- package/dist/AudioPlayer-BZ7bibzU.cjs +0 -982
- package/dist/AudioPlayer-DMcG_c7L.js +0 -990
- package/dist/AudioPlayer-e8LfNoqO.js +0 -983
- package/dist/CodeBlock-7TTgmdGG.cjs +0 -2094
- package/dist/CodeBlock-BeSt1h5P.js +0 -2078
- package/dist/CodeBlock-BlcqlA9M.cjs +0 -2094
- package/dist/CodeBlock-Bnmeu5ez.cjs +0 -2094
- package/dist/CodeBlock-BtfPlbAI.js +0 -2078
- package/dist/CodeBlock-CIySIuYr.js +0 -2078
- package/dist/CodeBlock-CuPtUM-7.cjs +0 -2094
- package/dist/CodeBlock-D6ffWXgc.js +0 -2078
- package/dist/CodeBlock-D8dcwbit.cjs +0 -2094
- package/dist/CodeBlock-DMZrFnlw.cjs +0 -2094
- package/dist/CodeBlock-DlBehYN8.js +0 -2078
- package/dist/CodeBlock-DvKWbSnE.cjs +0 -2094
- package/dist/CodeBlock-DwMCfkFY.js +0 -2078
- package/dist/CodeBlock-Dy6CNYyj.js +0 -2078
- package/dist/CodeBlock-U1pPOQI7.cjs +0 -2094
- package/dist/CodeBlock-f_GpNhEB.js +0 -2078
- package/dist/CodeBlock-oB6u8nI1.js +0 -2078
- package/dist/CodeBlock-tZC31B73.cjs +0 -2094
- package/dist/ImageWithFallback-CGtidP6B.cjs +0 -4542
- package/dist/ImageWithFallback-lsg3pdFg.js +0 -4508
- package/dist/XerticaOrbe-KL1RBHzw.cjs +0 -1354
- package/dist/XerticaOrbe-zwS1p2a8.js +0 -1355
- package/dist/XerticaProvider-6btlAlzc.js +0 -17
- package/dist/XerticaProvider-BNoNOxQ5.cjs +0 -16
- package/dist/XerticaProvider-BlY2limY.cjs +0 -38
- package/dist/XerticaProvider-hSwhNQex.js +0 -39
- package/dist/breadcrumb-CqJ7bHY5.js +0 -161
- package/dist/breadcrumb-m9Hb2_XN.cjs +0 -177
- package/dist/components/blocks/audio-player/AudioPlayer.d.ts +0 -35
- package/dist/components/blocks/audio-player/index.d.ts +0 -1
- package/dist/components/blocks/document-editor/DocumentEditor.d.ts +0 -26
- package/dist/components/blocks/document-editor/index.d.ts +0 -1
- package/dist/components/blocks/podcast-player/PodcastPlayer.d.ts +0 -41
- package/dist/components/blocks/podcast-player/index.d.ts +0 -1
- package/dist/dropdown-menu-BDB5CmQs.cjs +0 -247
- package/dist/dropdown-menu-DQidbKBD.js +0 -231
- package/dist/google-maps-loader-BFWp6VPd.js +0 -287
- package/dist/google-maps-loader-eS3uQ5TA.cjs +0 -287
- package/dist/header-Cgy6vYPk.cjs +0 -731
- package/dist/header-DRlT4jgI.js +0 -715
- package/dist/header-Dux00SI4.cjs +0 -731
- package/dist/header-EkGKXPsD.js +0 -715
- package/dist/header-WfEywpyc.cjs +0 -731
- package/dist/header-tifNQn2U.js +0 -715
- package/dist/index-BhapVLVj.js +0 -8
- package/dist/index-D6fxYEY8.cjs +0 -7
- package/dist/index-DW5tYe26.js +0 -8
- package/dist/input-2R4loU86.js +0 -127
- package/dist/input-DWANSKGb.cjs +0 -145
- package/dist/rich-text-editor-0mraWT5y.cjs +0 -2376
- package/dist/rich-text-editor-B6jMRLzk.cjs +0 -1939
- package/dist/rich-text-editor-B8_oYcIR.js +0 -1730
- package/dist/rich-text-editor-B9UbSXNb.js +0 -1203
- package/dist/rich-text-editor-BYuRBNBU.js +0 -2373
- package/dist/rich-text-editor-Bb9pySTs.cjs +0 -2374
- package/dist/rich-text-editor-BcL6L3cm.cjs +0 -2374
- package/dist/rich-text-editor-BoVZYtTs.cjs +0 -2391
- package/dist/rich-text-editor-CPV1lEPH.cjs +0 -1748
- package/dist/rich-text-editor-CoKqbCtu.cjs +0 -1799
- package/dist/rich-text-editor-Cw56T_mB.js +0 -2356
- package/dist/rich-text-editor-Cyt8qs2b.js +0 -1921
- package/dist/rich-text-editor-D6H84OcX.cjs +0 -1220
- package/dist/rich-text-editor-D76gD-QI.js +0 -2328
- package/dist/rich-text-editor-DKkokOnA.js +0 -1781
- package/dist/rich-text-editor-DNsdpN64.cjs +0 -2359
- package/dist/rich-text-editor-DfG8bCyY.js +0 -2358
- package/dist/rich-text-editor-Dxjw31Z4.js +0 -2341
- package/dist/rich-text-editor-DzP0Epmb.js +0 -2356
- package/dist/rich-text-editor-skplNlBM.cjs +0 -2345
- package/dist/select-Bkbr0f-Z.cjs +0 -162
- package/dist/select-CvIVdX2n.js +0 -145
- package/dist/slider-Bc5Hd0y1.js +0 -56
- package/dist/slider-N7hFFj6X.cjs +0 -73
- package/dist/tooltip-Ded96neP.cjs +0 -137
- package/dist/tooltip-HDOoD2-0.js +0 -120
- package/dist/use-mobile-B0hNy_Y6.cjs +0 -4303
- package/dist/use-mobile-BXuYROXM.js +0 -4202
- package/dist/use-mobile-Bbd51ASU.cjs +0 -4392
- package/dist/use-mobile-Bk6CX-TC.js +0 -4359
- package/dist/use-mobile-BzuxjzNX.cjs +0 -4392
- package/dist/use-mobile-CG2-SdXV.cjs +0 -4235
- package/dist/use-mobile-CKb5pqTs.js +0 -4269
- package/dist/use-mobile-CYuAuGDl.js +0 -4202
- package/dist/use-mobile-CaENcqm-.js +0 -4508
- package/dist/use-mobile-CbrYgJGJ.js +0 -4203
- package/dist/use-mobile-DMOvImGQ.cjs +0 -4542
- package/dist/use-mobile-DZvv7QMR.js +0 -4359
- package/dist/use-mobile-DdI_TXam.cjs +0 -4235
- package/dist/use-mobile-DlceKf8a.js +0 -4359
- package/dist/use-mobile-DsOnow1o.cjs +0 -4236
- package/dist/use-mobile-Kcj6jSnK.cjs +0 -4392
- package/dist/use-mobile-bnKcua_i.js +0 -4202
- package/dist/use-mobile-ncXBeE2z.cjs +0 -4235
- package/dist/{rich-text-editor-DgF8s7xW.js → rich-text-editor-BmsjY03B.js} +26 -26
- package/dist/{rich-text-editor-mWoaSCE4.cjs → rich-text-editor-GS2kpTAK.cjs} +26 -26
package/dist/hooks.cjs.js
CHANGED
|
@@ -1,20 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const LayoutContext = require("./LayoutContext-
|
|
4
|
-
const ThemeContext = require("./ThemeContext-
|
|
3
|
+
const LayoutContext = require("./LayoutContext-BDmcZfMH.cjs");
|
|
4
|
+
const ThemeContext = require("./ThemeContext-bSzuOit2.cjs");
|
|
5
|
+
const LanguageContext = require("./LanguageContext-DvUt5jBg.cjs");
|
|
5
6
|
const useMobile = require("./use-mobile-Dlf74ufz.cjs");
|
|
7
|
+
const React = require("react");
|
|
8
|
+
const useAudioPlayer = require("./use-audio-player-Dn1NR9xN.cjs");
|
|
9
|
+
const SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
10
|
+
function useLayoutShortcuts() {
|
|
11
|
+
const { toggleSidebar } = LayoutContext.useLayout();
|
|
12
|
+
React.useEffect(() => {
|
|
13
|
+
if (typeof window === "undefined") return;
|
|
14
|
+
const handleKeyDown = (event) => {
|
|
15
|
+
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
16
|
+
event.preventDefault();
|
|
17
|
+
toggleSidebar();
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
window.addEventListener("keydown", handleKeyDown);
|
|
21
|
+
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
22
|
+
}, [toggleSidebar]);
|
|
23
|
+
}
|
|
6
24
|
exports.LayoutProvider = LayoutContext.LayoutProvider;
|
|
7
25
|
exports.useLayout = LayoutContext.useLayout;
|
|
8
26
|
exports.useOptionalLayout = LayoutContext.useOptionalLayout;
|
|
9
|
-
exports.ApiKeyProvider = ThemeContext.ApiKeyProvider;
|
|
10
|
-
exports.AssistenteProvider = ThemeContext.AssistenteProvider;
|
|
11
|
-
exports.BrandColorsProvider = ThemeContext.BrandColorsProvider;
|
|
12
|
-
exports.LanguageProvider = ThemeContext.LanguageProvider;
|
|
13
27
|
exports.ThemeProvider = ThemeContext.ThemeProvider;
|
|
14
|
-
exports.useApiKey = ThemeContext.useApiKey;
|
|
15
|
-
exports.useAssistente = ThemeContext.useAssistente;
|
|
16
|
-
exports.useBrandColors = ThemeContext.useBrandColors;
|
|
17
|
-
exports.useLanguage = ThemeContext.useLanguage;
|
|
18
28
|
exports.useTheme = ThemeContext.useTheme;
|
|
29
|
+
exports.ApiKeyProvider = LanguageContext.ApiKeyProvider;
|
|
30
|
+
exports.AssistenteProvider = LanguageContext.AssistenteProvider;
|
|
31
|
+
exports.BrandColorsProvider = LanguageContext.BrandColorsProvider;
|
|
32
|
+
exports.LanguageProvider = LanguageContext.LanguageProvider;
|
|
33
|
+
exports.useApiKey = LanguageContext.useApiKey;
|
|
34
|
+
exports.useAssistente = LanguageContext.useAssistente;
|
|
35
|
+
exports.useBrandColors = LanguageContext.useBrandColors;
|
|
36
|
+
exports.useLanguage = LanguageContext.useLanguage;
|
|
19
37
|
exports.useIsMobile = useMobile.useIsMobile;
|
|
20
38
|
exports.useMobile = useMobile.useMobile;
|
|
39
|
+
exports.useAudioPlayer = useAudioPlayer.useAudioPlayer;
|
|
40
|
+
exports.useLayoutShortcuts = useLayoutShortcuts;
|
package/dist/hooks.es.js
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { u as useLayout } from "./LayoutContext-dbQvdC4O.js";
|
|
2
|
+
import { L, a } from "./LayoutContext-dbQvdC4O.js";
|
|
3
|
+
import { T, u } from "./ThemeContext-RTy1m2Uq.js";
|
|
4
|
+
import { A, a as a2, B, L as L2, u as u2, b, c, d } from "./LanguageContext-BwhwC3G2.js";
|
|
3
5
|
import { u as u3, a as a3 } from "./use-mobile-CNwiBNxu.js";
|
|
6
|
+
import { useEffect } from "react";
|
|
7
|
+
import { u as u4 } from "./use-audio-player-Bkh23vQ3.js";
|
|
8
|
+
const SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
9
|
+
function useLayoutShortcuts() {
|
|
10
|
+
const { toggleSidebar } = useLayout();
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
if (typeof window === "undefined") return;
|
|
13
|
+
const handleKeyDown = (event) => {
|
|
14
|
+
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
15
|
+
event.preventDefault();
|
|
16
|
+
toggleSidebar();
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
window.addEventListener("keydown", handleKeyDown);
|
|
20
|
+
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
21
|
+
}, [toggleSidebar]);
|
|
22
|
+
}
|
|
4
23
|
export {
|
|
5
24
|
A as ApiKeyProvider,
|
|
6
25
|
a2 as AssistenteProvider,
|
|
@@ -10,11 +29,13 @@ export {
|
|
|
10
29
|
T as ThemeProvider,
|
|
11
30
|
u2 as useApiKey,
|
|
12
31
|
b as useAssistente,
|
|
32
|
+
u4 as useAudioPlayer,
|
|
13
33
|
c as useBrandColors,
|
|
14
34
|
u3 as useIsMobile,
|
|
15
35
|
d as useLanguage,
|
|
16
|
-
|
|
36
|
+
useLayout,
|
|
37
|
+
useLayoutShortcuts,
|
|
17
38
|
a3 as useMobile,
|
|
18
39
|
a as useOptionalLayout,
|
|
19
|
-
|
|
40
|
+
u as useTheme
|
|
20
41
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const googleMapsLoader = require("./google-maps-loader-
|
|
3
|
+
const googleMapsLoader = require("./google-maps-loader-BqsYL48U.cjs");
|
|
4
4
|
exports.GoogleMapsLoaderProvider = googleMapsLoader.GoogleMapsLoaderProvider;
|
|
5
5
|
exports.GoogleMapsProvider = googleMapsLoader.GoogleMapsProvider;
|
|
6
6
|
exports.reloadGoogleMaps = googleMapsLoader.reloadGoogleMaps;
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const xerticaAssistant = require("./xertica-assistant-
|
|
4
|
-
const XerticaProvider = require("./XerticaProvider-
|
|
5
|
-
const VerifyEmailPage = require("./VerifyEmailPage-
|
|
3
|
+
const xerticaAssistant = require("./xertica-assistant-Bj3vBCq_.cjs");
|
|
4
|
+
const XerticaProvider = require("./XerticaProvider-CW9hpCdF.cjs");
|
|
5
|
+
const VerifyEmailPage = require("./VerifyEmailPage-Dt7zgA4w.cjs");
|
|
6
6
|
const button = require("./button-0CXwCRTm.cjs");
|
|
7
7
|
const card = require("./card-DJTsYhLL.cjs");
|
|
8
|
-
const alertDialog = require("./alert-dialog-
|
|
9
|
-
const AssistantChart = require("./AssistantChart-
|
|
8
|
+
const alertDialog = require("./alert-dialog-yckpaOpy.cjs");
|
|
9
|
+
const AssistantChart = require("./AssistantChart-BAudAfne.cjs");
|
|
10
10
|
const breadcrumb = require("./breadcrumb-DnDlQFg2.cjs");
|
|
11
11
|
const input = require("./input-CPl84zAx.cjs");
|
|
12
|
-
const richTextEditor = require("./rich-text-editor-
|
|
12
|
+
const richTextEditor = require("./rich-text-editor-GS2kpTAK.cjs");
|
|
13
13
|
const slider = require("./slider-CPmwzm_3.cjs");
|
|
14
14
|
const select = require("./select-DT7Zjn42.cjs");
|
|
15
15
|
const tooltip = require("./tooltip-CNtsL5cB.cjs");
|
|
@@ -17,16 +17,16 @@ const dropdownMenu = require("./dropdown-menu-Ze1YZFyc.cjs");
|
|
|
17
17
|
const progress = require("./progress-BLwqortq.cjs");
|
|
18
18
|
const sonner = require("./sonner-DeUIj0Zg.cjs");
|
|
19
19
|
const avatar = require("./avatar-Cq5_E8r9.cjs");
|
|
20
|
-
const googleMapsLoader = require("./google-maps-loader-
|
|
20
|
+
const googleMapsLoader = require("./google-maps-loader-BqsYL48U.cjs");
|
|
21
21
|
const useMobile = require("./use-mobile-Dlf74ufz.cjs");
|
|
22
22
|
const FeatureCard = require("./FeatureCard-CkPd2psQ.cjs");
|
|
23
23
|
const CodeBlock = require("./CodeBlock-POVYONvC.cjs");
|
|
24
|
-
const XerticaXLogo = require("./XerticaXLogo-
|
|
24
|
+
const XerticaXLogo = require("./XerticaXLogo-D8jf0SNv.cjs");
|
|
25
25
|
const XerticaOrbe = require("./XerticaOrbe-FWGjBj0U.cjs");
|
|
26
|
-
const sidebar = require("./sidebar-
|
|
26
|
+
const sidebar = require("./sidebar-CVUGHOS_.cjs");
|
|
27
27
|
require("react");
|
|
28
|
-
const LayoutContext = require("./LayoutContext-
|
|
29
|
-
const AudioPlayer = require("./AudioPlayer-
|
|
28
|
+
const LayoutContext = require("./LayoutContext-BDmcZfMH.cjs");
|
|
29
|
+
const AudioPlayer = require("./AudioPlayer-1ypwE2Wh.cjs");
|
|
30
30
|
exports.FormattedDocument = xerticaAssistant.FormattedDocument;
|
|
31
31
|
exports.MarkdownMessage = xerticaAssistant.MarkdownMessage;
|
|
32
32
|
exports.ModernChatInput = xerticaAssistant.ModernChatInput;
|
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { F, M, a, X, g, g as g2 } from "./xertica-assistant-
|
|
2
|
-
import { X as X2 } from "./XerticaProvider-
|
|
3
|
-
import { F as F2, H, a as a2, L, R, T, b, V } from "./VerifyEmailPage-
|
|
1
|
+
import { F, M, a, X, g, g as g2 } from "./xertica-assistant-BMqdyRVi.js";
|
|
2
|
+
import { X as X2 } from "./XerticaProvider-siSt9uG2.js";
|
|
3
|
+
import { F as F2, H, a as a2, L, R, T, b, V } from "./VerifyEmailPage-C_ihbcth.js";
|
|
4
4
|
import { B, b as b2, c } from "./button-qkz7Icqf.js";
|
|
5
5
|
import { C, a as a3, b as b3, c as c2, d, e, f } from "./card-fi8zAN-I.js";
|
|
6
|
-
import { A, a as a4, b as b4, c as c3, d as d2, e as e2, f as f2, g as g3, h, i, j, C as C2, I, L as L2, M as M2, P, k, l, R as R2, m, S, n, T as T2, o, p, q, u } from "./alert-dialog-
|
|
7
|
-
import { A as A2, a as a5, b as b5, c as c4, d as d3, e as e3, C as C3, f as f3, g as g4, h as h2, i as i2, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, p as p2, q as q2, r, s, t, u as u2, v, w, x, y, z, B as B2, D, E, F as F3, G, H as H2, I as I2, J, K, L as L3, M as M3, N, O, P as P2, Q, R as R3, S as S2, T as T3, U, V as V2, W, X as X3, Y, Z, _, $, a0, a1, a2 as a22, a3 as a32, a4 as a42, a5 as a52, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2 as b22, b3 as b32, b4 as b42, b5 as b52, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi } from "./AssistantChart-
|
|
6
|
+
import { A, a as a4, b as b4, c as c3, d as d2, e as e2, f as f2, g as g3, h, i, j, C as C2, I, L as L2, M as M2, P, k, l, R as R2, m, S, n, T as T2, o, p, q, u } from "./alert-dialog-iDe5VE5o.js";
|
|
7
|
+
import { A as A2, a as a5, b as b5, c as c4, d as d3, e as e3, C as C3, f as f3, g as g4, h as h2, i as i2, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, p as p2, q as q2, r, s, t, u as u2, v, w, x, y, z, B as B2, D, E, F as F3, G, H as H2, I as I2, J, K, L as L3, M as M3, N, O, P as P2, Q, R as R3, S as S2, T as T3, U, V as V2, W, X as X3, Y, Z, _, $, a0, a1, a2 as a22, a3 as a32, a4 as a42, a5 as a52, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2 as b22, b3 as b32, b4 as b42, b5 as b52, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi } from "./AssistantChart-BP8upjMk.js";
|
|
8
8
|
import { B as B3, a as a10, b as b10, c as c5, d as d4, e as e4, f as f4 } from "./breadcrumb-CVzzzqfo.js";
|
|
9
9
|
import { I as I3, P as P3, a as a11, b as b11, c as c6, S as S3, d as d5 } from "./input-D-6IsAca.js";
|
|
10
|
-
import { A as A3, a as a12, b as b12, C as C4, c as c7, d as d6, e as e5, f as f5, g as g5, h as h3, i as i3, D as D2, j as j3, k as k3, l as l3, m as m3, n as n3, o as o3, p as p3, q as q3, r as r2, s as s2, t as t2, u as u3, v as v2, E as E2, w as w2, x as x2, y as y2, z as z2, B as B4, G as G2, H as H3, I as I4, P as P4, R as R4, F as F4, J as J2, S as S4, K as K2, T as T4, L as L4, M as M4, N as N2, O as O2, Q as Q2, U as U2, V as V3, W as W2, X as X4, Y as Y2 } from "./rich-text-editor-
|
|
10
|
+
import { A as A3, a as a12, b as b12, C as C4, c as c7, d as d6, e as e5, f as f5, g as g5, h as h3, i as i3, D as D2, j as j3, k as k3, l as l3, m as m3, n as n3, o as o3, p as p3, q as q3, r as r2, s as s2, t as t2, u as u3, v as v2, E as E2, w as w2, x as x2, y as y2, z as z2, B as B4, G as G2, H as H3, I as I4, P as P4, R as R4, F as F4, J as J2, S as S4, K as K2, T as T4, L as L4, M as M4, N as N2, O as O2, Q as Q2, U as U2, V as V3, W as W2, X as X4, Y as Y2 } from "./rich-text-editor-BmsjY03B.js";
|
|
11
11
|
import { S as S5 } from "./slider-C0JKA9k3.js";
|
|
12
12
|
import { S as S6, a as a13, b as b13, c as c8, d as d7, e as e6, f as f6, g as g6, h as h4, i as i4 } from "./select-En8DkoaQ.js";
|
|
13
13
|
import { T as T5, a as a14, b as b14, c as c9 } from "./tooltip-CTyZCD8h.js";
|
|
@@ -15,16 +15,16 @@ import { D as D3, a as a15, b as b15, c as c10, d as d8, e as e7, f as f7, g as
|
|
|
15
15
|
import { B as B5, P as P5, b as b16 } from "./progress-D9mtsf6j.js";
|
|
16
16
|
import { T as T6 } from "./sonner-g9RIfi35.js";
|
|
17
17
|
import { A as A4, a as a16, b as b17 } from "./avatar-DSBfJMRJ.js";
|
|
18
|
-
import { G as G3, a as a17, b as b18, c as c11, r as r3, u as u4 } from "./google-maps-loader-
|
|
18
|
+
import { G as G3, a as a17, b as b18, c as c11, r as r3, u as u4 } from "./google-maps-loader-t2IlYBzw.js";
|
|
19
19
|
import { u as u5, a as a18 } from "./use-mobile-CNwiBNxu.js";
|
|
20
20
|
import { A as A5, F as F5, N as N3, P as P6, a as a19, Q as Q3 } from "./FeatureCard-Bcb3Zi54.js";
|
|
21
21
|
import { C as C5 } from "./CodeBlock-DuxdtN-l.js";
|
|
22
|
-
import { L as L5, T as T7, X as X5, a as a20 } from "./XerticaXLogo-
|
|
22
|
+
import { L as L5, T as T7, X as X5, a as a20 } from "./XerticaXLogo-fAJMy3H4.js";
|
|
23
23
|
import { X as X6 } from "./XerticaOrbe-BGIB1CTK.js";
|
|
24
|
-
import { H as H4, S as S7 } from "./sidebar-
|
|
24
|
+
import { H as H4, S as S7 } from "./sidebar-CmvwjnVb.js";
|
|
25
25
|
import "react";
|
|
26
|
-
import { L as L6, u as u6, a as a21 } from "./LayoutContext-
|
|
27
|
-
import { A as A6, F as F6, V as V4 } from "./AudioPlayer-
|
|
26
|
+
import { L as L6, u as u6, a as a21 } from "./LayoutContext-dbQvdC4O.js";
|
|
27
|
+
import { A as A6, F as F6, V as V4 } from "./AudioPlayer-DuKXrCfy.js";
|
|
28
28
|
export {
|
|
29
29
|
A2 as Accordion,
|
|
30
30
|
a5 as AccordionContent,
|