@orion-ds/react 4.8.0 → 4.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ComponentShowcase.cjs +1 -0
- package/dist/ComponentShowcase.mjs +600 -0
- package/dist/blocks/index.cjs +1 -0
- package/dist/blocks/index.mjs +74 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.cjs +1 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.mjs +77 -0
- package/dist/blocks/sections/AgentFolder/AgentFolder.cjs +1 -0
- package/dist/blocks/sections/AgentFolder/AgentFolder.mjs +25 -0
- package/dist/blocks/sections/AppDownload/AppDownload.cjs +1 -0
- package/dist/blocks/sections/AppDownload/AppDownload.mjs +108 -0
- package/dist/blocks/sections/Blog/Blog.cjs +1 -0
- package/dist/blocks/sections/Blog/Blog.mjs +85 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.mjs +35 -0
- package/dist/blocks/sections/CTA/CTA.cjs +1 -0
- package/dist/blocks/sections/CTA/CTA.mjs +27 -0
- package/dist/blocks/sections/CarouselSection/CarouselCard.cjs +1 -0
- package/dist/blocks/sections/CarouselSection/CarouselCard.mjs +18 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.cjs +1 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.mjs +104 -0
- package/dist/blocks/sections/Chat/Chat.cjs +1 -0
- package/dist/blocks/sections/Chat/Chat.mjs +93 -0
- package/dist/blocks/sections/Comparison/Comparison.cjs +1 -0
- package/dist/blocks/sections/Comparison/Comparison.mjs +47 -0
- package/dist/blocks/sections/Contact/Contact.cjs +1 -0
- package/dist/blocks/sections/Contact/Contact.mjs +27 -0
- package/dist/blocks/sections/EmptyState/EmptyState.cjs +1 -0
- package/dist/blocks/sections/EmptyState/EmptyState.mjs +21 -0
- package/dist/blocks/sections/FAQ/FAQ.cjs +1 -0
- package/dist/blocks/sections/FAQ/FAQ.mjs +37 -0
- package/dist/blocks/sections/FAQ/FAQItemCard.cjs +1 -0
- package/dist/blocks/sections/FAQ/FAQItemCard.mjs +58 -0
- package/dist/blocks/sections/Features/FeatureCard.cjs +1 -0
- package/dist/blocks/sections/Features/FeatureCard.mjs +16 -0
- package/dist/blocks/sections/Features/Features.cjs +1 -0
- package/dist/blocks/sections/Features/Features.mjs +28 -0
- package/dist/blocks/sections/Footer/Footer.cjs +1 -0
- package/dist/blocks/sections/Footer/Footer.mjs +98 -0
- package/dist/blocks/sections/Gallery/Gallery.cjs +1 -0
- package/dist/blocks/sections/Gallery/Gallery.mjs +34 -0
- package/dist/blocks/sections/Hero/Hero.cjs +1 -0
- package/dist/blocks/sections/Hero/Hero.mjs +37 -0
- package/dist/blocks/sections/Hero/HeroHighlight.cjs +1 -0
- package/dist/blocks/sections/Hero/HeroHighlight.mjs +10 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.cjs +1 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.mjs +31 -0
- package/dist/blocks/sections/Newsletter/Newsletter.cjs +1 -0
- package/dist/blocks/sections/Newsletter/Newsletter.mjs +50 -0
- package/dist/blocks/sections/Pricing/Pricing.cjs +1 -0
- package/dist/blocks/sections/Pricing/Pricing.mjs +18 -0
- package/dist/blocks/sections/Pricing/PricingCard.cjs +1 -0
- package/dist/blocks/sections/Pricing/PricingCard.mjs +49 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.cjs +1 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.mjs +54 -0
- package/dist/blocks/sections/SocialProof/SocialProof.cjs +1 -0
- package/dist/blocks/sections/SocialProof/SocialProof.mjs +40 -0
- package/dist/blocks/sections/Stats/StatItemCard.cjs +1 -0
- package/dist/blocks/sections/Stats/StatItemCard.mjs +18 -0
- package/dist/blocks/sections/Stats/Stats.cjs +1 -0
- package/dist/blocks/sections/Stats/Stats.mjs +25 -0
- package/dist/blocks/sections/Stepper/Stepper.cjs +1 -0
- package/dist/blocks/sections/Stepper/Stepper.mjs +87 -0
- package/dist/blocks/sections/Team/Team.cjs +1 -0
- package/dist/blocks/sections/Team/Team.mjs +21 -0
- package/dist/blocks/sections/Team/TeamMemberCard.cjs +1 -0
- package/dist/blocks/sections/Team/TeamMemberCard.mjs +19 -0
- package/dist/blocks/sections/Testimonials/TestimonialCard.cjs +1 -0
- package/dist/blocks/sections/Testimonials/TestimonialCard.mjs +47 -0
- package/dist/blocks/sections/Testimonials/Testimonials.cjs +1 -0
- package/dist/blocks/sections/Testimonials/Testimonials.mjs +28 -0
- package/dist/blocks/sections/Timeline/Timeline.cjs +1 -0
- package/dist/blocks/sections/Timeline/Timeline.mjs +53 -0
- package/dist/blocks/templates/app/AgentEditor/AgentEditor.cjs +1 -0
- package/dist/blocks/templates/app/AgentEditor/AgentEditor.mjs +158 -0
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.cjs +1 -0
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.mjs +153 -0
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.cjs +1 -0
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.mjs +192 -0
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.cjs +1 -0
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.mjs +102 -0
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.cjs +1 -0
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.mjs +142 -0
- package/dist/blocks/templates/app/LoginTemplate/LoginTemplate.cjs +1 -0
- package/dist/blocks/templates/app/LoginTemplate/LoginTemplate.mjs +143 -0
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.cjs +1 -0
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.mjs +194 -0
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.cjs +1 -0
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.mjs +105 -0
- package/dist/calendar.cjs +1 -0
- package/dist/calendar.mjs +6 -0
- package/dist/chart.cjs +1 -0
- package/dist/chart.mjs +9 -0
- package/dist/client.cjs +1 -0
- package/dist/client.mjs +247 -0
- package/dist/components/Accordion/Accordion.cjs +1 -0
- package/dist/components/Accordion/Accordion.mjs +94 -0
- package/dist/components/ActivityFeed/ActivityFeed.cjs +1 -0
- package/dist/components/ActivityFeed/ActivityFeed.mjs +128 -0
- package/dist/components/AgentCard/AgentCard.cjs +1 -0
- package/dist/components/AgentCard/AgentCard.mjs +120 -0
- package/dist/components/Alert/Alert.cjs +1 -0
- package/dist/components/Alert/Alert.mjs +51 -0
- package/dist/components/AlertDialog/AlertDialog.cjs +1 -0
- package/dist/components/AlertDialog/AlertDialog.mjs +91 -0
- package/dist/components/Avatar/Avatar.cjs +1 -0
- package/dist/components/Avatar/Avatar.mjs +77 -0
- package/dist/components/Badge/Badge.cjs +1 -0
- package/dist/components/Badge/Badge.mjs +20 -0
- package/dist/components/Banner/Banner.cjs +1 -0
- package/dist/components/Banner/Banner.mjs +107 -0
- package/dist/components/Breadcrumb/Breadcrumb.cjs +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.mjs +84 -0
- package/dist/components/Button/Button.cjs +1 -0
- package/dist/components/Button/Button.mjs +71 -0
- package/dist/components/Calendar/Calendar.cjs +1 -0
- package/dist/components/Calendar/Calendar.mjs +135 -0
- package/dist/components/Card/Card.cjs +1 -0
- package/dist/components/Card/Card.mjs +106 -0
- package/dist/components/Carousel/Carousel.cjs +1 -0
- package/dist/components/Carousel/Carousel.mjs +178 -0
- package/dist/components/Carousel/CarouselCard.cjs +1 -0
- package/dist/components/Carousel/CarouselCard.mjs +38 -0
- package/dist/components/Chart/Chart.cjs +1 -0
- package/dist/components/Chart/Chart.mjs +103 -0
- package/dist/components/Chat/Chat.cjs +1 -0
- package/dist/components/Chat/Chat.mjs +56 -0
- package/dist/components/Chat/components/ChatAttachment.cjs +1 -0
- package/dist/components/Chat/components/ChatAttachment.mjs +125 -0
- package/dist/components/Chat/components/ChatAudioPlayer.cjs +1 -0
- package/dist/components/Chat/components/ChatAudioPlayer.mjs +127 -0
- package/dist/components/Chat/components/ChatCodeBlock.cjs +1 -0
- package/dist/components/Chat/components/ChatCodeBlock.mjs +93 -0
- package/dist/components/Chat/components/ChatFileUpload.cjs +1 -0
- package/dist/components/Chat/components/ChatFileUpload.mjs +114 -0
- package/dist/components/Chat/components/ChatHeader.cjs +1 -0
- package/dist/components/Chat/components/ChatHeader.mjs +36 -0
- package/dist/components/Chat/components/ChatImagePreview.cjs +1 -0
- package/dist/components/Chat/components/ChatImagePreview.mjs +69 -0
- package/dist/components/Chat/components/ChatInput.cjs +1 -0
- package/dist/components/Chat/components/ChatInput.mjs +188 -0
- package/dist/components/Chat/components/ChatLightbox.cjs +1 -0
- package/dist/components/Chat/components/ChatLightbox.mjs +57 -0
- package/dist/components/Chat/components/ChatMarkdown.cjs +1 -0
- package/dist/components/Chat/components/ChatMarkdown.mjs +55 -0
- package/dist/components/Chat/components/ChatMessage.cjs +1 -0
- package/dist/components/Chat/components/ChatMessage.mjs +173 -0
- package/dist/components/Chat/components/ChatMessages.cjs +1 -0
- package/dist/components/Chat/components/ChatMessages.mjs +46 -0
- package/dist/components/Chat/components/ChatSidebar.cjs +1 -0
- package/dist/components/Chat/components/ChatSidebar.mjs +217 -0
- package/dist/components/Chat/components/ChatTypingIndicator.cjs +1 -0
- package/dist/components/Chat/components/ChatTypingIndicator.mjs +31 -0
- package/dist/components/Chat/components/ChatVoiceRecorder.cjs +1 -0
- package/dist/components/Chat/components/ChatVoiceRecorder.mjs +111 -0
- package/dist/components/Checkbox/Checkbox.cjs +1 -0
- package/dist/components/Checkbox/Checkbox.mjs +84 -0
- package/dist/components/Chip/Chip.cjs +1 -0
- package/dist/components/Chip/Chip.mjs +86 -0
- package/dist/components/CodeEditor/CodeEditor.cjs +6 -0
- package/dist/components/CodeEditor/CodeEditor.mjs +255 -0
- package/dist/components/Collapsible/Collapsible.cjs +1 -0
- package/dist/components/Collapsible/Collapsible.mjs +114 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.cjs +1 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.mjs +196 -0
- package/dist/components/Combobox/Combobox.cjs +1 -0
- package/dist/components/Combobox/Combobox.mjs +271 -0
- package/dist/components/Command/Command.cjs +1 -0
- package/dist/components/Command/Command.mjs +248 -0
- package/dist/components/CommandBar/CommandBar.cjs +1 -0
- package/dist/components/CommandBar/CommandBar.mjs +193 -0
- package/dist/components/DataTable/DataTable.cjs +1 -0
- package/dist/components/DataTable/DataTable.mjs +339 -0
- package/dist/components/DatePicker/DatePicker.cjs +1 -0
- package/dist/components/DatePicker/DatePicker.mjs +104 -0
- package/dist/components/DetailPanel/DetailPanel.cjs +1 -0
- package/dist/components/DetailPanel/DetailPanel.mjs +103 -0
- package/dist/components/Divider/Divider.cjs +1 -0
- package/dist/components/Divider/Divider.mjs +48 -0
- package/dist/components/Drawer/Drawer.cjs +1 -0
- package/dist/components/Drawer/Drawer.mjs +132 -0
- package/dist/components/Dropdown/Dropdown.cjs +1 -0
- package/dist/components/Dropdown/Dropdown.mjs +176 -0
- package/dist/components/EmptyState/EmptyState.cjs +1 -0
- package/dist/components/EmptyState/EmptyState.mjs +30 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.cjs +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.mjs +43 -0
- package/dist/components/Field/Field.cjs +1 -0
- package/dist/components/Field/Field.mjs +107 -0
- package/dist/components/FileUploader/FileUploader.cjs +1 -0
- package/dist/components/FileUploader/FileUploader.mjs +202 -0
- package/dist/components/FilterBar/FilterBar.cjs +1 -0
- package/dist/components/FilterBar/FilterBar.mjs +164 -0
- package/dist/components/FontLoader/FontLoader.cjs +1 -0
- package/dist/components/FontLoader/FontLoader.mjs +47 -0
- package/dist/components/FormSection/FormSection.cjs +1 -0
- package/dist/components/FormSection/FormSection.mjs +84 -0
- package/dist/components/Icon/Icon.cjs +1 -0
- package/dist/components/Icon/Icon.mjs +54 -0
- package/dist/components/IconGallery/IconGallery.cjs +3 -0
- package/dist/components/IconGallery/IconGallery.mjs +205 -0
- package/dist/components/InputOTP/InputOTP.cjs +1 -0
- package/dist/components/InputOTP/InputOTP.mjs +143 -0
- package/dist/components/KanbanBoard/KanbanBoard.cjs +1 -0
- package/dist/components/KanbanBoard/KanbanBoard.mjs +190 -0
- package/dist/components/Link/Link.cjs +1 -0
- package/dist/components/Link/Link.mjs +82 -0
- package/dist/components/List/List.cjs +1 -0
- package/dist/components/List/List.mjs +95 -0
- package/dist/components/MetricCards/MetricCards.cjs +1 -0
- package/dist/components/MetricCards/MetricCards.mjs +125 -0
- package/dist/components/Modal/Modal.cjs +1 -0
- package/dist/components/Modal/Modal.mjs +72 -0
- package/dist/components/NavTree/NavTree.cjs +1 -0
- package/dist/components/NavTree/NavTree.mjs +273 -0
- package/dist/components/Navbar/Navbar.cjs +1 -0
- package/dist/components/Navbar/Navbar.mjs +129 -0
- package/dist/components/NotificationCenter/NotificationCenter.cjs +1 -0
- package/dist/components/NotificationCenter/NotificationCenter.mjs +172 -0
- package/dist/components/PageHeader/PageHeader.cjs +1 -0
- package/dist/components/PageHeader/PageHeader.mjs +105 -0
- package/dist/components/Pagination/Pagination.cjs +1 -0
- package/dist/components/Pagination/Pagination.mjs +136 -0
- package/dist/components/Popover/Popover.cjs +1 -0
- package/dist/components/Popover/Popover.mjs +191 -0
- package/dist/components/ProgressBar/ProgressBar.cjs +1 -0
- package/dist/components/ProgressBar/ProgressBar.mjs +54 -0
- package/dist/components/QuickActions/QuickActions.cjs +1 -0
- package/dist/components/QuickActions/QuickActions.mjs +148 -0
- package/dist/components/Radio/Radio.cjs +1 -0
- package/dist/components/Radio/Radio.mjs +76 -0
- package/dist/components/SearchInput/SearchInput.cjs +1 -0
- package/dist/components/SearchInput/SearchInput.mjs +87 -0
- package/dist/components/Select/Select.cjs +1 -0
- package/dist/components/Select/Select.mjs +84 -0
- package/dist/components/Sidebar/Sidebar.cjs +1 -0
- package/dist/components/Sidebar/Sidebar.mjs +153 -0
- package/dist/components/Skeleton/Skeleton.cjs +1 -0
- package/dist/components/Skeleton/Skeleton.mjs +54 -0
- package/dist/components/Slider/Slider.cjs +1 -0
- package/dist/components/Slider/Slider.mjs +109 -0
- package/dist/components/Spinner/Spinner.cjs +1 -0
- package/dist/components/Spinner/Spinner.mjs +28 -0
- package/dist/components/Stack/Stack.cjs +1 -0
- package/dist/components/Stack/Stack.mjs +31 -0
- package/dist/components/Stepper/Stepper.cjs +1 -0
- package/dist/components/Stepper/Stepper.mjs +133 -0
- package/dist/components/Switch/Switch.cjs +1 -0
- package/dist/components/Switch/Switch.mjs +80 -0
- package/dist/components/Table/Table.cjs +1 -0
- package/dist/components/Table/Table.mjs +101 -0
- package/dist/components/Tabs/Tabs.cjs +1 -0
- package/dist/components/Tabs/Tabs.mjs +97 -0
- package/dist/components/Textarea/Textarea.cjs +1 -0
- package/dist/components/Textarea/Textarea.mjs +118 -0
- package/dist/components/ThemeController/ThemeController.cjs +1 -0
- package/dist/components/ThemeController/ThemeController.mjs +389 -0
- package/dist/components/Toast/Toast.cjs +1 -0
- package/dist/components/Toast/Toast.mjs +225 -0
- package/dist/components/Toggle/Toggle.cjs +1 -0
- package/dist/components/Toggle/Toggle.mjs +48 -0
- package/dist/components/ToggleGroup/ToggleGroup.cjs +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.mjs +101 -0
- package/dist/components/Tooltip/Tooltip.cjs +1 -0
- package/dist/components/Tooltip/Tooltip.mjs +39 -0
- package/dist/components/UserMenu/UserMenu.cjs +1 -0
- package/dist/components/UserMenu/UserMenu.mjs +161 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.cjs +1 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.mjs +119 -0
- package/dist/contexts/ThemeContext.cjs +38 -0
- package/dist/contexts/ThemeContext.mjs +98 -0
- package/dist/dist/index19.cjs +1 -0
- package/dist/dist/index19.mjs +120 -0
- package/dist/dist/index22.cjs +1 -0
- package/dist/dist/index22.mjs +77 -0
- package/dist/dist/index23.cjs +1 -0
- package/dist/dist/index23.mjs +20 -0
- package/dist/dist/index26.cjs +1 -0
- package/dist/dist/index26.mjs +71 -0
- package/dist/dist/index28.cjs +1 -0
- package/dist/dist/index28.mjs +106 -0
- package/dist/dist/index36.cjs +1 -0
- package/dist/dist/index36.mjs +114 -0
- package/dist/dist/index37.cjs +1 -0
- package/dist/dist/index37.mjs +196 -0
- package/dist/dist/index47.cjs +1 -0
- package/dist/dist/index47.mjs +176 -0
- package/dist/dist/index50.cjs +1 -0
- package/dist/dist/index50.mjs +107 -0
- package/dist/dnd.cjs +1 -0
- package/dist/dnd.mjs +4 -0
- package/dist/editor.cjs +1 -0
- package/dist/editor.mjs +4 -0
- package/dist/examples/LandingPage.example.cjs +1 -0
- package/dist/examples/LandingPage.example.mjs +106 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +96 -96
- package/dist/rich.cjs +1 -0
- package/dist/rich.mjs +4 -0
- package/dist/sections/Container/Container.cjs +1 -0
- package/dist/sections/Container/Container.mjs +26 -0
- package/dist/sections/Section/Section.cjs +1 -0
- package/dist/sections/Section/Section.mjs +36 -0
- package/dist/sections/index.cjs +1 -0
- package/dist/sections/index.mjs +43 -0
- package/dist/templates/index.cjs +1 -0
- package/dist/templates/index.mjs +18 -0
- package/dist/tokens/index.cjs +1 -0
- package/dist/tokens/index.mjs +24 -0
- package/dist/tokens/utils.cjs +1 -0
- package/dist/tokens/utils.mjs +45 -0
- package/package.json +1 -1
- package/dist/index10.cjs +0 -1
- package/dist/index10.mjs +0 -4
- package/dist/index11.cjs +0 -1
- package/dist/index11.mjs +0 -4
- package/dist/index110.cjs +0 -1
- package/dist/index110.mjs +0 -77
- package/dist/index111.cjs +0 -1
- package/dist/index111.mjs +0 -158
- package/dist/index112.cjs +0 -1
- package/dist/index112.mjs +0 -25
- package/dist/index113.cjs +0 -1
- package/dist/index113.mjs +0 -153
- package/dist/index114.cjs +0 -1
- package/dist/index114.mjs +0 -108
- package/dist/index115.cjs +0 -1
- package/dist/index115.mjs +0 -85
- package/dist/index116.cjs +0 -1
- package/dist/index116.mjs +0 -35
- package/dist/index117.cjs +0 -1
- package/dist/index117.mjs +0 -27
- package/dist/index118.cjs +0 -1
- package/dist/index118.mjs +0 -18
- package/dist/index119.cjs +0 -1
- package/dist/index119.mjs +0 -104
- package/dist/index120.cjs +0 -1
- package/dist/index120.mjs +0 -192
- package/dist/index121.cjs +0 -1
- package/dist/index121.mjs +0 -93
- package/dist/index122.cjs +0 -1
- package/dist/index122.mjs +0 -47
- package/dist/index123.cjs +0 -1
- package/dist/index123.mjs +0 -27
- package/dist/index124.cjs +0 -1
- package/dist/index124.mjs +0 -102
- package/dist/index125.cjs +0 -1
- package/dist/index125.mjs +0 -21
- package/dist/index126.cjs +0 -1
- package/dist/index126.mjs +0 -37
- package/dist/index127.cjs +0 -1
- package/dist/index127.mjs +0 -28
- package/dist/index128.cjs +0 -1
- package/dist/index128.mjs +0 -98
- package/dist/index129.cjs +0 -1
- package/dist/index129.mjs +0 -34
- package/dist/index130.cjs +0 -1
- package/dist/index130.mjs +0 -37
- package/dist/index131.cjs +0 -1
- package/dist/index131.mjs +0 -10
- package/dist/index132.cjs +0 -1
- package/dist/index132.mjs +0 -142
- package/dist/index133.cjs +0 -1
- package/dist/index133.mjs +0 -143
- package/dist/index134.cjs +0 -1
- package/dist/index134.mjs +0 -31
- package/dist/index135.cjs +0 -1
- package/dist/index135.mjs +0 -50
- package/dist/index136.cjs +0 -1
- package/dist/index136.mjs +0 -18
- package/dist/index137.cjs +0 -1
- package/dist/index137.mjs +0 -194
- package/dist/index138.cjs +0 -1
- package/dist/index138.mjs +0 -54
- package/dist/index139.cjs +0 -1
- package/dist/index139.mjs +0 -105
- package/dist/index14.cjs +0 -1
- package/dist/index14.mjs +0 -45
- package/dist/index140.cjs +0 -1
- package/dist/index140.mjs +0 -40
- package/dist/index141.cjs +0 -1
- package/dist/index141.mjs +0 -25
- package/dist/index142.cjs +0 -1
- package/dist/index142.mjs +0 -87
- package/dist/index143.cjs +0 -1
- package/dist/index143.mjs +0 -21
- package/dist/index144.cjs +0 -1
- package/dist/index144.mjs +0 -28
- package/dist/index145.cjs +0 -1
- package/dist/index145.mjs +0 -53
- package/dist/index15.cjs +0 -1
- package/dist/index15.mjs +0 -600
- package/dist/index153.cjs +0 -1
- package/dist/index153.mjs +0 -36
- package/dist/index154.cjs +0 -1
- package/dist/index154.mjs +0 -46
- package/dist/index155.cjs +0 -1
- package/dist/index155.mjs +0 -173
- package/dist/index156.cjs +0 -1
- package/dist/index156.mjs +0 -188
- package/dist/index157.cjs +0 -1
- package/dist/index157.mjs +0 -31
- package/dist/index158.cjs +0 -1
- package/dist/index158.mjs +0 -93
- package/dist/index159.cjs +0 -1
- package/dist/index159.mjs +0 -55
- package/dist/index160.cjs +0 -1
- package/dist/index160.mjs +0 -69
- package/dist/index161.cjs +0 -1
- package/dist/index161.mjs +0 -127
- package/dist/index162.cjs +0 -1
- package/dist/index162.mjs +0 -111
- package/dist/index163.cjs +0 -1
- package/dist/index163.mjs +0 -114
- package/dist/index164.cjs +0 -1
- package/dist/index164.mjs +0 -125
- package/dist/index165.cjs +0 -1
- package/dist/index165.mjs +0 -217
- package/dist/index17.cjs +0 -1
- package/dist/index17.mjs +0 -94
- package/dist/index18.cjs +0 -1
- package/dist/index18.mjs +0 -128
- package/dist/index19.cjs +0 -1
- package/dist/index19.mjs +0 -120
- package/dist/index2.cjs +0 -1
- package/dist/index2.mjs +0 -247
- package/dist/index20.cjs +0 -1
- package/dist/index20.mjs +0 -51
- package/dist/index21.cjs +0 -1
- package/dist/index21.mjs +0 -91
- package/dist/index22.cjs +0 -1
- package/dist/index22.mjs +0 -77
- package/dist/index222.cjs +0 -1
- package/dist/index222.mjs +0 -71
- package/dist/index223.cjs +0 -1
- package/dist/index223.mjs +0 -106
- package/dist/index225.cjs +0 -1
- package/dist/index225.mjs +0 -20
- package/dist/index23.cjs +0 -1
- package/dist/index23.mjs +0 -20
- package/dist/index234.cjs +0 -1
- package/dist/index234.mjs +0 -107
- package/dist/index24.cjs +0 -1
- package/dist/index24.mjs +0 -107
- package/dist/index249.cjs +0 -1
- package/dist/index249.mjs +0 -120
- package/dist/index25.cjs +0 -1
- package/dist/index25.mjs +0 -84
- package/dist/index250.cjs +0 -1
- package/dist/index250.mjs +0 -196
- package/dist/index256.cjs +0 -1
- package/dist/index256.mjs +0 -16
- package/dist/index26.cjs +0 -1
- package/dist/index26.mjs +0 -71
- package/dist/index260.cjs +0 -1
- package/dist/index260.mjs +0 -47
- package/dist/index263.cjs +0 -1
- package/dist/index263.mjs +0 -58
- package/dist/index265.cjs +0 -1
- package/dist/index265.mjs +0 -18
- package/dist/index27.cjs +0 -1
- package/dist/index27.mjs +0 -135
- package/dist/index273.cjs +0 -1
- package/dist/index273.mjs +0 -49
- package/dist/index275.cjs +0 -1
- package/dist/index275.mjs +0 -19
- package/dist/index278.cjs +0 -1
- package/dist/index278.mjs +0 -57
- package/dist/index28.cjs +0 -1
- package/dist/index28.mjs +0 -106
- package/dist/index280.cjs +0 -1
- package/dist/index280.mjs +0 -77
- package/dist/index281.cjs +0 -1
- package/dist/index281.mjs +0 -176
- package/dist/index286.cjs +0 -1
- package/dist/index286.mjs +0 -114
- package/dist/index29.cjs +0 -1
- package/dist/index29.mjs +0 -178
- package/dist/index3.cjs +0 -1
- package/dist/index3.mjs +0 -24
- package/dist/index30.cjs +0 -1
- package/dist/index30.mjs +0 -38
- package/dist/index31.cjs +0 -1
- package/dist/index31.mjs +0 -103
- package/dist/index32.cjs +0 -1
- package/dist/index32.mjs +0 -56
- package/dist/index33.cjs +0 -1
- package/dist/index33.mjs +0 -84
- package/dist/index34.cjs +0 -1
- package/dist/index34.mjs +0 -86
- package/dist/index35.cjs +0 -6
- package/dist/index35.mjs +0 -255
- package/dist/index36.cjs +0 -1
- package/dist/index36.mjs +0 -114
- package/dist/index37.cjs +0 -1
- package/dist/index37.mjs +0 -196
- package/dist/index38.cjs +0 -1
- package/dist/index38.mjs +0 -271
- package/dist/index39.cjs +0 -1
- package/dist/index39.mjs +0 -248
- package/dist/index4.cjs +0 -1
- package/dist/index4.mjs +0 -43
- package/dist/index40.cjs +0 -1
- package/dist/index40.mjs +0 -193
- package/dist/index41.cjs +0 -1
- package/dist/index41.mjs +0 -26
- package/dist/index42.cjs +0 -1
- package/dist/index42.mjs +0 -339
- package/dist/index43.cjs +0 -1
- package/dist/index43.mjs +0 -104
- package/dist/index44.cjs +0 -1
- package/dist/index44.mjs +0 -103
- package/dist/index45.cjs +0 -1
- package/dist/index45.mjs +0 -48
- package/dist/index46.cjs +0 -1
- package/dist/index46.mjs +0 -132
- package/dist/index47.cjs +0 -1
- package/dist/index47.mjs +0 -176
- package/dist/index48.cjs +0 -1
- package/dist/index48.mjs +0 -30
- package/dist/index49.cjs +0 -1
- package/dist/index49.mjs +0 -43
- package/dist/index5.cjs +0 -1
- package/dist/index5.mjs +0 -74
- package/dist/index50.cjs +0 -1
- package/dist/index50.mjs +0 -107
- package/dist/index51.cjs +0 -1
- package/dist/index51.mjs +0 -202
- package/dist/index52.cjs +0 -1
- package/dist/index52.mjs +0 -164
- package/dist/index53.cjs +0 -1
- package/dist/index53.mjs +0 -47
- package/dist/index54.cjs +0 -1
- package/dist/index54.mjs +0 -84
- package/dist/index55.cjs +0 -1
- package/dist/index55.mjs +0 -54
- package/dist/index56.cjs +0 -3
- package/dist/index56.mjs +0 -205
- package/dist/index58.cjs +0 -1
- package/dist/index58.mjs +0 -143
- package/dist/index59.cjs +0 -1
- package/dist/index59.mjs +0 -190
- package/dist/index6.cjs +0 -1
- package/dist/index6.mjs +0 -18
- package/dist/index60.cjs +0 -1
- package/dist/index60.mjs +0 -106
- package/dist/index61.cjs +0 -1
- package/dist/index61.mjs +0 -82
- package/dist/index62.cjs +0 -1
- package/dist/index62.mjs +0 -95
- package/dist/index63.cjs +0 -1
- package/dist/index63.mjs +0 -125
- package/dist/index64.cjs +0 -1
- package/dist/index64.mjs +0 -72
- package/dist/index65.cjs +0 -1
- package/dist/index65.mjs +0 -273
- package/dist/index66.cjs +0 -1
- package/dist/index66.mjs +0 -129
- package/dist/index67.cjs +0 -1
- package/dist/index67.mjs +0 -172
- package/dist/index68.cjs +0 -1
- package/dist/index68.mjs +0 -105
- package/dist/index69.cjs +0 -1
- package/dist/index69.mjs +0 -136
- package/dist/index7.cjs +0 -1
- package/dist/index7.mjs +0 -9
- package/dist/index70.cjs +0 -1
- package/dist/index70.mjs +0 -191
- package/dist/index71.cjs +0 -1
- package/dist/index71.mjs +0 -54
- package/dist/index72.cjs +0 -1
- package/dist/index72.mjs +0 -148
- package/dist/index73.cjs +0 -1
- package/dist/index73.mjs +0 -76
- package/dist/index74.cjs +0 -1
- package/dist/index74.mjs +0 -87
- package/dist/index75.cjs +0 -1
- package/dist/index75.mjs +0 -36
- package/dist/index76.cjs +0 -1
- package/dist/index76.mjs +0 -84
- package/dist/index77.cjs +0 -1
- package/dist/index77.mjs +0 -153
- package/dist/index78.cjs +0 -1
- package/dist/index78.mjs +0 -54
- package/dist/index79.cjs +0 -1
- package/dist/index79.mjs +0 -109
- package/dist/index8.cjs +0 -1
- package/dist/index8.mjs +0 -6
- package/dist/index80.cjs +0 -1
- package/dist/index80.mjs +0 -28
- package/dist/index81.cjs +0 -1
- package/dist/index81.mjs +0 -31
- package/dist/index82.cjs +0 -1
- package/dist/index82.mjs +0 -133
- package/dist/index83.cjs +0 -1
- package/dist/index83.mjs +0 -80
- package/dist/index84.cjs +0 -1
- package/dist/index84.mjs +0 -101
- package/dist/index85.cjs +0 -1
- package/dist/index85.mjs +0 -97
- package/dist/index86.cjs +0 -1
- package/dist/index86.mjs +0 -118
- package/dist/index87.cjs +0 -1
- package/dist/index87.mjs +0 -389
- package/dist/index88.cjs +0 -38
- package/dist/index88.mjs +0 -98
- package/dist/index89.cjs +0 -1
- package/dist/index89.mjs +0 -225
- package/dist/index9.cjs +0 -1
- package/dist/index9.mjs +0 -4
- package/dist/index90.cjs +0 -1
- package/dist/index90.mjs +0 -48
- package/dist/index91.cjs +0 -1
- package/dist/index91.mjs +0 -101
- package/dist/index92.cjs +0 -1
- package/dist/index92.mjs +0 -39
- package/dist/index93.cjs +0 -1
- package/dist/index93.mjs +0 -161
- package/dist/index94.cjs +0 -1
- package/dist/index94.mjs +0 -119
- /package/dist/{index245.cjs → blocks/sections/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
- /package/dist/{index245.mjs → blocks/sections/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
- /package/dist/{index251.cjs → blocks/sections/AppDownload/AppDownload.module.css.cjs} +0 -0
- /package/dist/{index251.mjs → blocks/sections/AppDownload/AppDownload.module.css.mjs} +0 -0
- /package/dist/{index255.cjs → blocks/sections/Blog/Blog.module.css.cjs} +0 -0
- /package/dist/{index255.mjs → blocks/sections/Blog/Blog.module.css.mjs} +0 -0
- /package/dist/{index262.cjs → blocks/sections/Breadcrumbs/Breadcrumbs.module.css.cjs} +0 -0
- /package/dist/{index262.mjs → blocks/sections/Breadcrumbs/Breadcrumbs.module.css.mjs} +0 -0
- /package/dist/{index253.cjs → blocks/sections/CTA/CTA.module.css.cjs} +0 -0
- /package/dist/{index253.mjs → blocks/sections/CTA/CTA.module.css.mjs} +0 -0
- /package/dist/{index246.cjs → blocks/sections/CarouselSection/CarouselSection.module.css.cjs} +0 -0
- /package/dist/{index246.mjs → blocks/sections/CarouselSection/CarouselSection.module.css.mjs} +0 -0
- /package/dist/{index244.cjs → blocks/sections/Chat/Chat.module.css.cjs} +0 -0
- /package/dist/{index244.mjs → blocks/sections/Chat/Chat.module.css.mjs} +0 -0
- /package/dist/{index248.cjs → blocks/sections/Comparison/Comparison.module.css.cjs} +0 -0
- /package/dist/{index248.mjs → blocks/sections/Comparison/Comparison.module.css.mjs} +0 -0
- /package/dist/{index271.cjs → blocks/sections/Contact/Contact.module.css.cjs} +0 -0
- /package/dist/{index271.mjs → blocks/sections/Contact/Contact.module.css.mjs} +0 -0
- /package/dist/{index270.cjs → blocks/sections/EmptyState/EmptyState.module.css.cjs} +0 -0
- /package/dist/{index270.mjs → blocks/sections/EmptyState/EmptyState.module.css.mjs} +0 -0
- /package/dist/{index264.cjs → blocks/sections/FAQ/FAQ.module.css.cjs} +0 -0
- /package/dist/{index264.mjs → blocks/sections/FAQ/FAQ.module.css.mjs} +0 -0
- /package/dist/{index257.cjs → blocks/sections/Features/Features.module.css.cjs} +0 -0
- /package/dist/{index257.mjs → blocks/sections/Features/Features.module.css.mjs} +0 -0
- /package/dist/{index247.cjs → blocks/sections/Footer/Footer.module.css.cjs} +0 -0
- /package/dist/{index247.mjs → blocks/sections/Footer/Footer.module.css.mjs} +0 -0
- /package/dist/{index272.cjs → blocks/sections/Gallery/Gallery.module.css.cjs} +0 -0
- /package/dist/{index272.mjs → blocks/sections/Gallery/Gallery.module.css.mjs} +0 -0
- /package/dist/{index254.cjs → blocks/sections/Hero/Hero.module.css.cjs} +0 -0
- /package/dist/{index254.mjs → blocks/sections/Hero/Hero.module.css.mjs} +0 -0
- /package/dist/{index258.cjs → blocks/sections/LogoCloud/LogoCloud.module.css.cjs} +0 -0
- /package/dist/{index258.mjs → blocks/sections/LogoCloud/LogoCloud.module.css.mjs} +0 -0
- /package/dist/{index259.cjs → blocks/sections/Newsletter/Newsletter.module.css.cjs} +0 -0
- /package/dist/{index259.mjs → blocks/sections/Newsletter/Newsletter.module.css.mjs} +0 -0
- /package/dist/{index274.cjs → blocks/sections/Pricing/Pricing.module.css.cjs} +0 -0
- /package/dist/{index274.mjs → blocks/sections/Pricing/Pricing.module.css.mjs} +0 -0
- /package/dist/{index252.cjs → blocks/sections/SettingsLayout/SettingsLayout.module.css.cjs} +0 -0
- /package/dist/{index252.mjs → blocks/sections/SettingsLayout/SettingsLayout.module.css.mjs} +0 -0
- /package/dist/{index267.cjs → blocks/sections/SocialProof/SocialProof.module.css.cjs} +0 -0
- /package/dist/{index267.mjs → blocks/sections/SocialProof/SocialProof.module.css.mjs} +0 -0
- /package/dist/{index266.cjs → blocks/sections/Stats/Stats.module.css.cjs} +0 -0
- /package/dist/{index266.mjs → blocks/sections/Stats/Stats.module.css.mjs} +0 -0
- /package/dist/{index268.cjs → blocks/sections/Stepper/Stepper.module.css.cjs} +0 -0
- /package/dist/{index268.mjs → blocks/sections/Stepper/Stepper.module.css.mjs} +0 -0
- /package/dist/{index276.cjs → blocks/sections/Team/Team.module.css.cjs} +0 -0
- /package/dist/{index276.mjs → blocks/sections/Team/Team.module.css.mjs} +0 -0
- /package/dist/{index261.cjs → blocks/sections/Testimonials/Testimonials.module.css.cjs} +0 -0
- /package/dist/{index261.mjs → blocks/sections/Testimonials/Testimonials.module.css.mjs} +0 -0
- /package/dist/{index269.cjs → blocks/sections/Timeline/Timeline.module.css.cjs} +0 -0
- /package/dist/{index269.mjs → blocks/sections/Timeline/Timeline.module.css.mjs} +0 -0
- /package/dist/{index235.cjs → blocks/templates/app/AgentEditor/AgentEditor.module.css.cjs} +0 -0
- /package/dist/{index235.mjs → blocks/templates/app/AgentEditor/AgentEditor.module.css.mjs} +0 -0
- /package/dist/{index243.cjs → blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.cjs} +0 -0
- /package/dist/{index243.mjs → blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.mjs} +0 -0
- /package/dist/{index237.cjs → blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.cjs} +0 -0
- /package/dist/{index237.mjs → blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.mjs} +0 -0
- /package/dist/{index227.cjs → blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.cjs} +0 -0
- /package/dist/{index227.mjs → blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.mjs} +0 -0
- /package/dist/{index226.cjs → blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.cjs} +0 -0
- /package/dist/{index226.mjs → blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.mjs} +0 -0
- /package/dist/{index241.cjs → blocks/templates/app/LoginTemplate/LoginTemplate.module.css.cjs} +0 -0
- /package/dist/{index241.mjs → blocks/templates/app/LoginTemplate/LoginTemplate.module.css.mjs} +0 -0
- /package/dist/{index224.cjs → blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.cjs} +0 -0
- /package/dist/{index224.mjs → blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.mjs} +0 -0
- /package/dist/{index236.cjs → blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.cjs} +0 -0
- /package/dist/{index236.mjs → blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.mjs} +0 -0
- /package/dist/{index216.cjs → components/Accordion/Accordion.module.css.cjs} +0 -0
- /package/dist/{index216.mjs → components/Accordion/Accordion.module.css.mjs} +0 -0
- /package/dist/{index205.cjs → components/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
- /package/dist/{index205.mjs → components/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
- /package/dist/{index193.cjs → components/AgentCard/AgentCard.module.css.cjs} +0 -0
- /package/dist/{index193.mjs → components/AgentCard/AgentCard.module.css.mjs} +0 -0
- /package/dist/{index181.cjs → components/Alert/Alert.module.css.cjs} +0 -0
- /package/dist/{index181.mjs → components/Alert/Alert.module.css.mjs} +0 -0
- /package/dist/{index170.cjs → components/AlertDialog/AlertDialog.module.css.cjs} +0 -0
- /package/dist/{index170.mjs → components/AlertDialog/AlertDialog.module.css.mjs} +0 -0
- /package/dist/{index219.cjs → components/Avatar/Avatar.module.css.cjs} +0 -0
- /package/dist/{index219.mjs → components/Avatar/Avatar.module.css.mjs} +0 -0
- /package/dist/{index185.cjs → components/Badge/Badge.module.css.cjs} +0 -0
- /package/dist/{index185.mjs → components/Badge/Badge.module.css.mjs} +0 -0
- /package/dist/{index183.cjs → components/Banner/Banner.module.css.cjs} +0 -0
- /package/dist/{index183.mjs → components/Banner/Banner.module.css.mjs} +0 -0
- /package/dist/{index210.cjs → components/Breadcrumb/Breadcrumb.module.css.cjs} +0 -0
- /package/dist/{index210.mjs → components/Breadcrumb/Breadcrumb.module.css.mjs} +0 -0
- /package/dist/{index194.cjs → components/Button/Button.module.css.cjs} +0 -0
- /package/dist/{index194.mjs → components/Button/Button.module.css.mjs} +0 -0
- /package/dist/{index151.cjs → components/Calendar/Calendar.module.css.cjs} +0 -0
- /package/dist/{index151.mjs → components/Calendar/Calendar.module.css.mjs} +0 -0
- /package/dist/{index196.cjs → components/Card/Card.module.css.cjs} +0 -0
- /package/dist/{index196.mjs → components/Card/Card.module.css.mjs} +0 -0
- /package/dist/{index176.cjs → components/Carousel/Carousel.module.css.cjs} +0 -0
- /package/dist/{index176.mjs → components/Carousel/Carousel.module.css.mjs} +0 -0
- /package/dist/{index148.cjs → components/Chart/Chart.module.css.cjs} +0 -0
- /package/dist/{index148.mjs → components/Chart/Chart.module.css.mjs} +0 -0
- /package/dist/{index147.cjs → components/Chart/useResolvedChartColors.cjs} +0 -0
- /package/dist/{index147.mjs → components/Chart/useResolvedChartColors.mjs} +0 -0
- /package/dist/{index152.cjs → components/Chat/Chat.module.css.cjs} +0 -0
- /package/dist/{index152.mjs → components/Chat/Chat.module.css.mjs} +0 -0
- /package/dist/{index95.cjs → components/Chat/hooks/useAutoScroll.cjs} +0 -0
- /package/dist/{index95.mjs → components/Chat/hooks/useAutoScroll.mjs} +0 -0
- /package/dist/{index96.cjs → components/Chat/hooks/useChatInput.cjs} +0 -0
- /package/dist/{index96.mjs → components/Chat/hooks/useChatInput.mjs} +0 -0
- /package/dist/{index104.cjs → components/Chat/hooks/useStreamingText.cjs} +0 -0
- /package/dist/{index104.mjs → components/Chat/hooks/useStreamingText.mjs} +0 -0
- /package/dist/{index106.cjs → components/Chat/hooks/useVoiceRecorder.cjs} +0 -0
- /package/dist/{index106.mjs → components/Chat/hooks/useVoiceRecorder.mjs} +0 -0
- /package/dist/{index277.cjs → components/Chat/utils.cjs} +0 -0
- /package/dist/{index277.mjs → components/Chat/utils.mjs} +0 -0
- /package/dist/{index215.cjs → components/Checkbox/Checkbox.module.css.cjs} +0 -0
- /package/dist/{index215.mjs → components/Checkbox/Checkbox.module.css.mjs} +0 -0
- /package/dist/{index169.cjs → components/Chip/Chip.module.css.cjs} +0 -0
- /package/dist/{index169.mjs → components/Chip/Chip.module.css.mjs} +0 -0
- /package/dist/{index149.cjs → components/CodeEditor/CodeEditor.module.css.cjs} +0 -0
- /package/dist/{index149.mjs → components/CodeEditor/CodeEditor.module.css.mjs} +0 -0
- /package/dist/{index168.cjs → components/Collapsible/Collapsible.module.css.cjs} +0 -0
- /package/dist/{index168.mjs → components/Collapsible/Collapsible.module.css.mjs} +0 -0
- /package/dist/{index190.cjs → components/CollapsibleFolder/CollapsibleFolder.module.css.cjs} +0 -0
- /package/dist/{index190.mjs → components/CollapsibleFolder/CollapsibleFolder.module.css.mjs} +0 -0
- /package/dist/{index166.cjs → components/Combobox/Combobox.module.css.cjs} +0 -0
- /package/dist/{index166.mjs → components/Combobox/Combobox.module.css.mjs} +0 -0
- /package/dist/{index174.cjs → components/Command/Command.module.css.cjs} +0 -0
- /package/dist/{index174.mjs → components/Command/Command.module.css.mjs} +0 -0
- /package/dist/{index231.cjs → components/CommandBar/CommandBar.module.css.cjs} +0 -0
- /package/dist/{index231.mjs → components/CommandBar/CommandBar.module.css.mjs} +0 -0
- /package/dist/{index242.cjs → components/DataTable/DataTable.module.css.cjs} +0 -0
- /package/dist/{index242.mjs → components/DataTable/DataTable.module.css.mjs} +0 -0
- /package/dist/{index177.cjs → components/DatePicker/DatePicker.module.css.cjs} +0 -0
- /package/dist/{index177.mjs → components/DatePicker/DatePicker.module.css.mjs} +0 -0
- /package/dist/{index198.cjs → components/DetailPanel/DetailPanel.module.css.cjs} +0 -0
- /package/dist/{index198.mjs → components/DetailPanel/DetailPanel.module.css.mjs} +0 -0
- /package/dist/{index220.cjs → components/Divider/Divider.module.css.cjs} +0 -0
- /package/dist/{index220.mjs → components/Divider/Divider.module.css.mjs} +0 -0
- /package/dist/{index209.cjs → components/Drawer/Drawer.module.css.cjs} +0 -0
- /package/dist/{index209.mjs → components/Drawer/Drawer.module.css.mjs} +0 -0
- /package/dist/{index189.cjs → components/Dropdown/Dropdown.module.css.cjs} +0 -0
- /package/dist/{index189.mjs → components/Dropdown/Dropdown.module.css.mjs} +0 -0
- /package/dist/{index233.cjs → components/EmptyState/EmptyState.module.css.cjs} +0 -0
- /package/dist/{index233.mjs → components/EmptyState/EmptyState.module.css.mjs} +0 -0
- /package/dist/{index179.cjs → components/ErrorBoundary/ErrorBoundary.module.css.cjs} +0 -0
- /package/dist/{index179.mjs → components/ErrorBoundary/ErrorBoundary.module.css.mjs} +0 -0
- /package/dist/{index182.cjs → components/Field/Field.module.css.cjs} +0 -0
- /package/dist/{index182.mjs → components/Field/Field.module.css.mjs} +0 -0
- /package/dist/{index212.cjs → components/FileUploader/FileUploader.module.css.cjs} +0 -0
- /package/dist/{index212.mjs → components/FileUploader/FileUploader.module.css.mjs} +0 -0
- /package/dist/{index207.cjs → components/FilterBar/FilterBar.module.css.cjs} +0 -0
- /package/dist/{index207.mjs → components/FilterBar/FilterBar.module.css.mjs} +0 -0
- /package/dist/{index213.cjs → components/FormSection/FormSection.module.css.cjs} +0 -0
- /package/dist/{index213.mjs → components/FormSection/FormSection.module.css.mjs} +0 -0
- /package/dist/{index173.cjs → components/Icon/Icon.module.css.cjs} +0 -0
- /package/dist/{index173.mjs → components/Icon/Icon.module.css.mjs} +0 -0
- /package/dist/{index192.cjs → components/IconGallery/IconGallery.module.css.cjs} +0 -0
- /package/dist/{index192.mjs → components/IconGallery/IconGallery.module.css.mjs} +0 -0
- /package/dist/{index187.cjs → components/InputOTP/InputOTP.module.css.cjs} +0 -0
- /package/dist/{index187.mjs → components/InputOTP/InputOTP.module.css.mjs} +0 -0
- /package/dist/{index184.cjs → components/KanbanBoard/KanbanBoard.module.css.cjs} +0 -0
- /package/dist/{index184.mjs → components/KanbanBoard/KanbanBoard.module.css.mjs} +0 -0
- /package/dist/{index202.cjs → components/Link/Link.module.css.cjs} +0 -0
- /package/dist/{index202.mjs → components/Link/Link.module.css.mjs} +0 -0
- /package/dist/{index200.cjs → components/List/List.module.css.cjs} +0 -0
- /package/dist/{index200.mjs → components/List/List.module.css.mjs} +0 -0
- /package/dist/{index206.cjs → components/MetricCards/MetricCards.module.css.cjs} +0 -0
- /package/dist/{index206.mjs → components/MetricCards/MetricCards.module.css.mjs} +0 -0
- /package/dist/{index195.cjs → components/Modal/Modal.module.css.cjs} +0 -0
- /package/dist/{index195.mjs → components/Modal/Modal.module.css.mjs} +0 -0
- /package/dist/{index232.cjs → components/NavTree/NavTree.module.css.cjs} +0 -0
- /package/dist/{index232.mjs → components/NavTree/NavTree.module.css.mjs} +0 -0
- /package/dist/{index214.cjs → components/Navbar/Navbar.module.css.cjs} +0 -0
- /package/dist/{index214.mjs → components/Navbar/Navbar.module.css.mjs} +0 -0
- /package/dist/{index217.cjs → components/NotificationCenter/NotificationCenter.module.css.cjs} +0 -0
- /package/dist/{index217.mjs → components/NotificationCenter/NotificationCenter.module.css.mjs} +0 -0
- /package/dist/{index218.cjs → components/PageHeader/PageHeader.module.css.cjs} +0 -0
- /package/dist/{index218.mjs → components/PageHeader/PageHeader.module.css.mjs} +0 -0
- /package/dist/{index188.cjs → components/Pagination/Pagination.module.css.cjs} +0 -0
- /package/dist/{index188.mjs → components/Pagination/Pagination.module.css.mjs} +0 -0
- /package/dist/{index228.cjs → components/Popover/Popover.module.css.cjs} +0 -0
- /package/dist/{index228.mjs → components/Popover/Popover.module.css.mjs} +0 -0
- /package/dist/{index221.cjs → components/ProgressBar/ProgressBar.module.css.cjs} +0 -0
- /package/dist/{index221.mjs → components/ProgressBar/ProgressBar.module.css.mjs} +0 -0
- /package/dist/{index238.cjs → components/QuickActions/QuickActions.module.css.cjs} +0 -0
- /package/dist/{index238.mjs → components/QuickActions/QuickActions.module.css.mjs} +0 -0
- /package/dist/{index178.cjs → components/Radio/Radio.module.css.cjs} +0 -0
- /package/dist/{index178.mjs → components/Radio/Radio.module.css.mjs} +0 -0
- /package/dist/{index199.cjs → components/SearchInput/SearchInput.module.css.cjs} +0 -0
- /package/dist/{index199.mjs → components/SearchInput/SearchInput.module.css.mjs} +0 -0
- /package/dist/{index208.cjs → components/Select/Select.module.css.cjs} +0 -0
- /package/dist/{index208.mjs → components/Select/Select.module.css.mjs} +0 -0
- /package/dist/{index211.cjs → components/Sidebar/Sidebar.module.css.cjs} +0 -0
- /package/dist/{index211.mjs → components/Sidebar/Sidebar.module.css.mjs} +0 -0
- /package/dist/{index171.cjs → components/Skeleton/Skeleton.module.css.cjs} +0 -0
- /package/dist/{index171.mjs → components/Skeleton/Skeleton.module.css.mjs} +0 -0
- /package/dist/{index197.cjs → components/Slider/Slider.module.css.cjs} +0 -0
- /package/dist/{index197.mjs → components/Slider/Slider.module.css.mjs} +0 -0
- /package/dist/{index201.cjs → components/Spinner/Spinner.module.css.cjs} +0 -0
- /package/dist/{index201.mjs → components/Spinner/Spinner.module.css.mjs} +0 -0
- /package/dist/{index240.cjs → components/Stack/Stack.module.css.cjs} +0 -0
- /package/dist/{index240.mjs → components/Stack/Stack.module.css.mjs} +0 -0
- /package/dist/{index239.cjs → components/Stepper/Stepper.module.css.cjs} +0 -0
- /package/dist/{index239.mjs → components/Stepper/Stepper.module.css.mjs} +0 -0
- /package/dist/{index167.cjs → components/Switch/Switch.module.css.cjs} +0 -0
- /package/dist/{index167.mjs → components/Switch/Switch.module.css.mjs} +0 -0
- /package/dist/{index204.cjs → components/Table/Table.module.css.cjs} +0 -0
- /package/dist/{index204.mjs → components/Table/Table.module.css.mjs} +0 -0
- /package/dist/{index230.cjs → components/Tabs/Tabs.module.css.cjs} +0 -0
- /package/dist/{index230.mjs → components/Tabs/Tabs.module.css.mjs} +0 -0
- /package/dist/{index172.cjs → components/Textarea/Textarea.module.css.cjs} +0 -0
- /package/dist/{index172.mjs → components/Textarea/Textarea.module.css.mjs} +0 -0
- /package/dist/{index191.cjs → components/Toast/Toast.module.css.cjs} +0 -0
- /package/dist/{index191.mjs → components/Toast/Toast.module.css.mjs} +0 -0
- /package/dist/{index186.cjs → components/Toggle/Toggle.module.css.cjs} +0 -0
- /package/dist/{index186.mjs → components/Toggle/Toggle.module.css.mjs} +0 -0
- /package/dist/{index175.cjs → components/ToggleGroup/ToggleGroup.module.css.cjs} +0 -0
- /package/dist/{index175.mjs → components/ToggleGroup/ToggleGroup.module.css.mjs} +0 -0
- /package/dist/{index180.cjs → components/Tooltip/Tooltip.module.css.cjs} +0 -0
- /package/dist/{index180.mjs → components/Tooltip/Tooltip.module.css.mjs} +0 -0
- /package/dist/{index229.cjs → components/UserMenu/UserMenu.module.css.cjs} +0 -0
- /package/dist/{index229.mjs → components/UserMenu/UserMenu.module.css.mjs} +0 -0
- /package/dist/{index203.cjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.cjs} +0 -0
- /package/dist/{index203.mjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.mjs} +0 -0
- /package/dist/{index288.cjs → dist/index146.cjs} +0 -0
- /package/dist/{index288.mjs → dist/index146.mjs} +0 -0
- /package/dist/{index285.cjs → dist/index149.cjs} +0 -0
- /package/dist/{index285.mjs → dist/index149.mjs} +0 -0
- /package/dist/{index279.cjs → dist/index172.cjs} +0 -0
- /package/dist/{index279.mjs → dist/index172.mjs} +0 -0
- /package/dist/{index282.cjs → dist/index175.cjs} +0 -0
- /package/dist/{index282.mjs → dist/index175.mjs} +0 -0
- /package/dist/{index289.cjs → dist/index180.cjs} +0 -0
- /package/dist/{index289.mjs → dist/index180.mjs} +0 -0
- /package/dist/{index290.cjs → dist/index189.cjs} +0 -0
- /package/dist/{index290.mjs → dist/index189.mjs} +0 -0
- /package/dist/{index284.cjs → dist/index225.cjs} +0 -0
- /package/dist/{index284.mjs → dist/index225.mjs} +0 -0
- /package/dist/{index283.cjs → dist/index232.cjs} +0 -0
- /package/dist/{index283.mjs → dist/index232.mjs} +0 -0
- /package/dist/{index287.cjs → dist/index240.cjs} +0 -0
- /package/dist/{index287.mjs → dist/index240.mjs} +0 -0
- /package/dist/{index97.cjs → hooks/useClickOutside.cjs} +0 -0
- /package/dist/{index97.mjs → hooks/useClickOutside.mjs} +0 -0
- /package/dist/{index98.cjs → hooks/useCopyToClipboard.cjs} +0 -0
- /package/dist/{index98.mjs → hooks/useCopyToClipboard.mjs} +0 -0
- /package/dist/{index99.cjs → hooks/useDebounce.cjs} +0 -0
- /package/dist/{index99.mjs → hooks/useDebounce.mjs} +0 -0
- /package/dist/{index100.cjs → hooks/useDisclosure.cjs} +0 -0
- /package/dist/{index100.mjs → hooks/useDisclosure.mjs} +0 -0
- /package/dist/{index102.cjs → hooks/useKeyboard.cjs} +0 -0
- /package/dist/{index102.mjs → hooks/useKeyboard.mjs} +0 -0
- /package/dist/{index103.cjs → hooks/useLocalStorage.cjs} +0 -0
- /package/dist/{index103.mjs → hooks/useLocalStorage.mjs} +0 -0
- /package/dist/{index101.cjs → hooks/useMediaQuery.cjs} +0 -0
- /package/dist/{index101.mjs → hooks/useMediaQuery.mjs} +0 -0
- /package/dist/{index105.cjs → hooks/useTheme.cjs} +0 -0
- /package/dist/{index105.mjs → hooks/useTheme.mjs} +0 -0
- /package/dist/{index146.cjs → sections/Container/Container.module.css.cjs} +0 -0
- /package/dist/{index146.mjs → sections/Container/Container.module.css.mjs} +0 -0
- /package/dist/{index150.cjs → sections/Section/Section.module.css.cjs} +0 -0
- /package/dist/{index150.mjs → sections/Section/Section.module.css.mjs} +0 -0
- /package/dist/{index109.cjs → tokens/brands.cjs} +0 -0
- /package/dist/{index109.mjs → tokens/brands.mjs} +0 -0
- /package/dist/{index13.cjs → tokens/primitives.cjs} +0 -0
- /package/dist/{index13.mjs → tokens/primitives.mjs} +0 -0
- /package/dist/{index108.cjs → tokens/themes.cjs} +0 -0
- /package/dist/{index108.mjs → tokens/themes.mjs} +0 -0
- /package/dist/{index16.cjs → utils/fonts.cjs} +0 -0
- /package/dist/{index16.mjs → utils/fonts.mjs} +0 -0
- /package/dist/{index57.cjs → utils/icons.cjs} +0 -0
- /package/dist/{index57.mjs → utils/icons.mjs} +0 -0
- /package/dist/{index107.cjs → utils/validation.cjs} +0 -0
- /package/dist/{index107.mjs → utils/validation.mjs} +0 -0
package/dist/index64.mjs
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { jsx as l, jsxs as B } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect as n } from "react";
|
|
3
|
-
import t from "./index195.mjs";
|
|
4
|
-
const s = ({
|
|
5
|
-
open: e,
|
|
6
|
-
onClose: o,
|
|
7
|
-
size: a = "md",
|
|
8
|
-
closeOnBackdrop: u = !0,
|
|
9
|
-
closeOnEscape: d = !0,
|
|
10
|
-
showCloseButton: y = !0,
|
|
11
|
-
children: f,
|
|
12
|
-
className: v
|
|
13
|
-
}) => {
|
|
14
|
-
if (n(() => {
|
|
15
|
-
if (!e || !d) return;
|
|
16
|
-
const r = (b) => {
|
|
17
|
-
b.key === "Escape" && o();
|
|
18
|
-
};
|
|
19
|
-
return document.addEventListener("keydown", r), () => document.removeEventListener("keydown", r);
|
|
20
|
-
}, [e, d, o]), n(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
21
|
-
document.body.style.overflow = "";
|
|
22
|
-
}), [e]), !e) return null;
|
|
23
|
-
const N = [t.modal, t[a], v].filter(Boolean).join(" "), p = (r) => {
|
|
24
|
-
u && r.target === r.currentTarget && o();
|
|
25
|
-
};
|
|
26
|
-
return /* @__PURE__ */ l(
|
|
27
|
-
"div",
|
|
28
|
-
{
|
|
29
|
-
className: t.backdrop,
|
|
30
|
-
onClick: p,
|
|
31
|
-
role: "dialog",
|
|
32
|
-
"aria-modal": "true",
|
|
33
|
-
children: /* @__PURE__ */ B("div", { className: N, children: [
|
|
34
|
-
y && /* @__PURE__ */ l(
|
|
35
|
-
"button",
|
|
36
|
-
{
|
|
37
|
-
type: "button",
|
|
38
|
-
className: t.closeButton,
|
|
39
|
-
onClick: o,
|
|
40
|
-
"aria-label": "Close modal",
|
|
41
|
-
style: {
|
|
42
|
-
position: "absolute",
|
|
43
|
-
top: "var(--spacing-4)",
|
|
44
|
-
right: "var(--spacing-4)"
|
|
45
|
-
},
|
|
46
|
-
children: "×"
|
|
47
|
-
}
|
|
48
|
-
),
|
|
49
|
-
f
|
|
50
|
-
] })
|
|
51
|
-
}
|
|
52
|
-
);
|
|
53
|
-
}, i = ({ className: e, children: o }) => {
|
|
54
|
-
const a = [t.header, e].filter(Boolean).join(" ");
|
|
55
|
-
return /* @__PURE__ */ l("div", { className: a, children: o });
|
|
56
|
-
}, c = ({ className: e, children: o }) => {
|
|
57
|
-
const a = [t.body, e].filter(Boolean).join(" ");
|
|
58
|
-
return /* @__PURE__ */ l("div", { className: a, children: o });
|
|
59
|
-
}, m = ({ className: e, children: o }) => {
|
|
60
|
-
const a = [t.footer, e].filter(Boolean).join(" ");
|
|
61
|
-
return /* @__PURE__ */ l("div", { className: a, children: o });
|
|
62
|
-
};
|
|
63
|
-
s.Header = i;
|
|
64
|
-
s.Body = c;
|
|
65
|
-
s.Footer = m;
|
|
66
|
-
s.displayName = "Modal";
|
|
67
|
-
i.displayName = "Modal.Header";
|
|
68
|
-
c.displayName = "Modal.Body";
|
|
69
|
-
m.displayName = "Modal.Footer";
|
|
70
|
-
export {
|
|
71
|
-
s as Modal
|
|
72
|
-
};
|
package/dist/index65.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),N=require("react"),d=require("lucide-react"),z=require("./index103.cjs"),s=require("./index232.cjs"),S=require("./index26.cjs"),B=require("./index47.cjs"),y=require("./index36.cjs"),A=N.createContext(void 0);function R(){const n=N.useContext(A);if(!n)throw new Error("useNavTreeContext must be used within NavTree");return n}const k=N.forwardRef(({sections:n,activeNodeId:h,onNodeClick:f,actions:p,persistKey:m="orion-nav-tree",header:r,footer:u,width:l=240,className:a,headless:c=!1},i)=>{const j=N.useMemo(()=>n.filter(t=>t.defaultExpanded!==!1).map(t=>t.id),[n]),[x,C]=z.useLocalStorage(`${m}-sections`,j),[v,b]=z.useLocalStorage(`${m}-nodes`,[]),I={activeNodeId:h,openSectionIds:x,openNodeIds:v,toggleSection:t=>{C(g=>g.includes(t)?g.filter($=>$!==t):[...g,t])},toggleNode:t=>{b(g=>g.includes(t)?g.filter($=>$!==t):[...g,t])},isOpen:t=>t.startsWith("section-")?x.includes(t.replace("section-","")):v.includes(t),onNodeClick:f,actionConfig:p},w={width:typeof l=="number"?`${l}px`:l},O=c?n.flatMap(t=>t.nodes):[],M=c?O.length===0:n.length===0,q=c?"No nodes":"No sections";return e.jsxs("div",{ref:i,className:`${s.default.navTree} ${a||""}`,style:w,role:"tree",children:[r&&e.jsx("div",{className:s.default.header,children:r}),e.jsx("div",{className:s.default.treeContent,children:e.jsx(A.Provider,{value:I,children:M?e.jsx("div",{className:s.default.empty,children:q}):c?O.map(t=>e.jsx(T,{node:t,depth:0,sectionId:""},t.id)):n.map(t=>e.jsx(P,{section:t},t.id))})}),u&&e.jsx("div",{className:s.default.footer,children:u})]})});k.displayName="NavTree";function P({section:n}){const{isOpen:h,toggleSection:f,actionConfig:p}=R(),m=`section-${n.id}`,r=h(m),u=n.variant??"node",l=i=>{i.stopPropagation(),p?.onAdd?.(null,n.id)},a=u==="node"?s.default.sectionTitleNode:s.default.sectionTitle,c=`${s.default.sectionHeader} ${u==="node"?s.default.sectionHeaderNode:""}`.trim();return e.jsx("div",{className:s.default.section,role:"group",children:e.jsxs(y.Collapsible,{open:r,onOpenChange:()=>f(n.id),disabled:n.nodes.length===0,children:[e.jsx(y.Collapsible.Trigger,{asChild:!0,children:e.jsxs("div",{className:c,children:[n.icon?e.jsxs("div",{className:s.default.iconSlot,children:[e.jsx("span",{className:s.default.slotIcon,children:n.icon}),n.nodes.length>0&&e.jsx("div",{className:`${s.default.slotChevron} ${r?s.default.slotChevronOpen:""}`,children:e.jsx(d.ChevronRight,{size:16})})]}):n.nodes.length>0&&e.jsx(d.ChevronRight,{size:12,className:`${s.default.sectionChevron} ${r?s.default.sectionChevronOpen:""}`}),e.jsx("span",{className:a,children:n.title}),n.badge!==void 0&&e.jsx("span",{className:s.default.sectionBadge,children:n.badge}),e.jsx("div",{className:s.default.sectionActions,children:e.jsx(S.Button,{variant:"ghost",size:"sm",iconOnly:!0,icon:e.jsx(d.Plus,{size:12}),onClick:l,"aria-label":`Agregar página en ${n.title}`,title:`Agregar página en ${n.title}`})})]})}),e.jsx(y.Collapsible.Content,{children:e.jsx("div",{className:s.default.sectionBody,children:n.nodes.map(i=>e.jsx(T,{node:i,depth:0,sectionId:n.id},i.id))})})]})})}function T({node:n,depth:h,sectionId:f}){const{activeNodeId:p,isOpen:m,toggleNode:r,onNodeClick:u,actionConfig:l}=R(),a=n.type==="folder",c=a&&n.children&&n.children.length>0,i=m(n.id),j=p===n.id,x=()=>{a?r(n.id):u&&u(n)},C=o=>{o.stopPropagation(),l?.onAdd?.(a?n.id:null,f)},v=[{id:"rename",label:"Renombrar",icon:e.jsx(d.Pencil,{size:14}),onClick:()=>l?.onRename?.(n.id)},{id:"duplicate",label:"Duplicar",icon:e.jsx(d.Copy,{size:14}),onClick:()=>l?.onDuplicate?.(n.id)},{id:"move",label:"Mover a…",icon:e.jsx(d.FolderSymlink,{size:14}),onClick:()=>l?.onMove?.(n.id)},{id:"delete",label:"Eliminar",icon:e.jsx(d.Trash2,{size:14}),danger:!0,onClick:()=>l?.onDelete?.(n.id)}];if(l?.getCustomActions){const o=l.getCustomActions(n);v.push(...o)}const b={paddingLeft:`calc(var(--spacing-2) * ${h+1})`};return e.jsxs("div",{className:s.default.node,role:"treeitem","aria-expanded":a&&i,children:[e.jsxs("div",{className:`${s.default.nodeRow} ${j?s.default.nodeRowActive:""} ${h>0?s.default.nodeNested:""}`,onClick:x,style:b,tabIndex:0,onKeyDown:o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),x())},children:[n.icon?a?e.jsxs("div",{className:s.default.iconSlot,children:[e.jsx("span",{className:s.default.slotIcon,children:n.icon}),c&&e.jsx("div",{className:`${s.default.slotChevron} ${i?s.default.slotChevronOpen:""}`,children:e.jsx(d.ChevronRight,{size:16})})]}):e.jsx("div",{className:s.default.iconSlot,children:e.jsx("span",{className:s.default.slotIcon,children:n.icon})}):a?e.jsx(d.ChevronRight,{size:12,className:`${s.default.nodeChevron} ${i?s.default.nodeChevronOpen:""}`}):e.jsx("div",{className:s.default.nodeChevronHidden}),e.jsx("span",{className:s.default.nodeLabel,children:n.label}),n.badge!==void 0&&e.jsx("span",{className:s.default.nodeBadge,children:n.badge}),e.jsxs("div",{className:s.default.nodeActions,children:[e.jsx(S.Button,{variant:"ghost",size:"sm",iconOnly:!0,icon:e.jsx(d.Plus,{size:14}),onClick:C,"aria-label":`Agregar página en ${n.label}`,title:`Agregar página en ${n.label}`}),e.jsx(B.Dropdown,{trigger:e.jsx(S.Button,{variant:"ghost",size:"sm",iconOnly:!0,icon:e.jsx(d.MoreHorizontal,{size:14}),"aria-label":"Más acciones",title:"Más acciones"}),items:v,placement:"bottom-end",minWidth:160})]})]}),a&&i&&c&&e.jsx("div",{className:s.default.nodeChildren,children:n.children.map(o=>e.jsx(T,{node:o,depth:h+1,sectionId:f},o.id))})]})}exports.NavTree=k;
|
package/dist/index65.mjs
DELETED
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
import { jsxs as m, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as B, useMemo as E, createContext as H, useContext as L } from "react";
|
|
3
|
-
import { ChevronRight as f, Plus as T, MoreHorizontal as j, Pencil as F, Copy as W, FolderSymlink as V, Trash2 as q } from "lucide-react";
|
|
4
|
-
import { useLocalStorage as x } from "./index103.mjs";
|
|
5
|
-
import i from "./index232.mjs";
|
|
6
|
-
import { Button as O } from "./index26.mjs";
|
|
7
|
-
import { Dropdown as G } from "./index47.mjs";
|
|
8
|
-
import { Collapsible as A } from "./index36.mjs";
|
|
9
|
-
const I = H(
|
|
10
|
-
void 0
|
|
11
|
-
);
|
|
12
|
-
function w() {
|
|
13
|
-
const e = L(I);
|
|
14
|
-
if (!e)
|
|
15
|
-
throw new Error("useNavTreeContext must be used within NavTree");
|
|
16
|
-
return e;
|
|
17
|
-
}
|
|
18
|
-
const J = B(
|
|
19
|
-
({
|
|
20
|
-
sections: e,
|
|
21
|
-
activeNodeId: p,
|
|
22
|
-
onNodeClick: g,
|
|
23
|
-
actions: N,
|
|
24
|
-
persistKey: v = "orion-nav-tree",
|
|
25
|
-
header: r,
|
|
26
|
-
footer: d,
|
|
27
|
-
width: t = 240,
|
|
28
|
-
className: s,
|
|
29
|
-
headless: c = !1
|
|
30
|
-
}, l) => {
|
|
31
|
-
const $ = E(
|
|
32
|
-
() => e.filter((o) => o.defaultExpanded !== !1).map((o) => o.id),
|
|
33
|
-
[e]
|
|
34
|
-
), [u, b] = x(
|
|
35
|
-
`${v}-sections`,
|
|
36
|
-
$
|
|
37
|
-
), [C, y] = x(
|
|
38
|
-
`${v}-nodes`,
|
|
39
|
-
[]
|
|
40
|
-
), R = {
|
|
41
|
-
activeNodeId: p,
|
|
42
|
-
openSectionIds: u,
|
|
43
|
-
openNodeIds: C,
|
|
44
|
-
toggleSection: (o) => {
|
|
45
|
-
b(
|
|
46
|
-
(h) => h.includes(o) ? h.filter((z) => z !== o) : [...h, o]
|
|
47
|
-
);
|
|
48
|
-
},
|
|
49
|
-
toggleNode: (o) => {
|
|
50
|
-
y(
|
|
51
|
-
(h) => h.includes(o) ? h.filter((z) => z !== o) : [...h, o]
|
|
52
|
-
);
|
|
53
|
-
},
|
|
54
|
-
isOpen: (o) => o.startsWith("section-") ? u.includes(o.replace("section-", "")) : C.includes(o),
|
|
55
|
-
onNodeClick: g,
|
|
56
|
-
actionConfig: N
|
|
57
|
-
}, M = {
|
|
58
|
-
width: typeof t == "number" ? `${t}px` : t
|
|
59
|
-
}, k = c ? e.flatMap((o) => o.nodes) : [], D = c ? k.length === 0 : e.length === 0, P = c ? "No nodes" : "No sections";
|
|
60
|
-
return /* @__PURE__ */ m(
|
|
61
|
-
"div",
|
|
62
|
-
{
|
|
63
|
-
ref: l,
|
|
64
|
-
className: `${i.navTree} ${s || ""}`,
|
|
65
|
-
style: M,
|
|
66
|
-
role: "tree",
|
|
67
|
-
children: [
|
|
68
|
-
r && /* @__PURE__ */ n("div", { className: i.header, children: r }),
|
|
69
|
-
/* @__PURE__ */ n("div", { className: i.treeContent, children: /* @__PURE__ */ n(I.Provider, { value: R, children: D ? /* @__PURE__ */ n("div", { className: i.empty, children: P }) : c ? (
|
|
70
|
-
// Headless mode: render root nodes directly without section headers
|
|
71
|
-
k.map((o) => /* @__PURE__ */ n(
|
|
72
|
-
S,
|
|
73
|
-
{
|
|
74
|
-
node: o,
|
|
75
|
-
depth: 0,
|
|
76
|
-
sectionId: ""
|
|
77
|
-
},
|
|
78
|
-
o.id
|
|
79
|
-
))
|
|
80
|
-
) : (
|
|
81
|
-
// Normal mode: render sections with collapsible headers
|
|
82
|
-
e.map((o) => /* @__PURE__ */ n(K, { section: o }, o.id))
|
|
83
|
-
) }) }),
|
|
84
|
-
d && /* @__PURE__ */ n("div", { className: i.footer, children: d })
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
);
|
|
90
|
-
J.displayName = "NavTree";
|
|
91
|
-
function K({ section: e }) {
|
|
92
|
-
const { isOpen: p, toggleSection: g, actionConfig: N } = w(), v = `section-${e.id}`, r = p(v), d = e.variant ?? "node", t = (l) => {
|
|
93
|
-
l.stopPropagation(), N?.onAdd?.(null, e.id);
|
|
94
|
-
}, s = d === "node" ? i.sectionTitleNode : i.sectionTitle, c = `${i.sectionHeader} ${d === "node" ? i.sectionHeaderNode : ""}`.trim();
|
|
95
|
-
return /* @__PURE__ */ n("div", { className: i.section, role: "group", children: /* @__PURE__ */ m(
|
|
96
|
-
A,
|
|
97
|
-
{
|
|
98
|
-
open: r,
|
|
99
|
-
onOpenChange: () => g(e.id),
|
|
100
|
-
disabled: e.nodes.length === 0,
|
|
101
|
-
children: [
|
|
102
|
-
/* @__PURE__ */ n(A.Trigger, { asChild: !0, children: /* @__PURE__ */ m("div", { className: c, children: [
|
|
103
|
-
e.icon ? /* @__PURE__ */ m("div", { className: i.iconSlot, children: [
|
|
104
|
-
/* @__PURE__ */ n("span", { className: i.slotIcon, children: e.icon }),
|
|
105
|
-
e.nodes.length > 0 && /* @__PURE__ */ n(
|
|
106
|
-
"div",
|
|
107
|
-
{
|
|
108
|
-
className: `${i.slotChevron} ${r ? i.slotChevronOpen : ""}`,
|
|
109
|
-
children: /* @__PURE__ */ n(f, { size: 16 })
|
|
110
|
-
}
|
|
111
|
-
)
|
|
112
|
-
] }) : e.nodes.length > 0 && /* @__PURE__ */ n(
|
|
113
|
-
f,
|
|
114
|
-
{
|
|
115
|
-
size: 12,
|
|
116
|
-
className: `${i.sectionChevron} ${r ? i.sectionChevronOpen : ""}`
|
|
117
|
-
}
|
|
118
|
-
),
|
|
119
|
-
/* @__PURE__ */ n("span", { className: s, children: e.title }),
|
|
120
|
-
e.badge !== void 0 && /* @__PURE__ */ n("span", { className: i.sectionBadge, children: e.badge }),
|
|
121
|
-
/* @__PURE__ */ n("div", { className: i.sectionActions, children: /* @__PURE__ */ n(
|
|
122
|
-
O,
|
|
123
|
-
{
|
|
124
|
-
variant: "ghost",
|
|
125
|
-
size: "sm",
|
|
126
|
-
iconOnly: !0,
|
|
127
|
-
icon: /* @__PURE__ */ n(T, { size: 12 }),
|
|
128
|
-
onClick: t,
|
|
129
|
-
"aria-label": `Agregar página en ${e.title}`,
|
|
130
|
-
title: `Agregar página en ${e.title}`
|
|
131
|
-
}
|
|
132
|
-
) })
|
|
133
|
-
] }) }),
|
|
134
|
-
/* @__PURE__ */ n(A.Content, { children: /* @__PURE__ */ n("div", { className: i.sectionBody, children: e.nodes.map((l) => /* @__PURE__ */ n(
|
|
135
|
-
S,
|
|
136
|
-
{
|
|
137
|
-
node: l,
|
|
138
|
-
depth: 0,
|
|
139
|
-
sectionId: e.id
|
|
140
|
-
},
|
|
141
|
-
l.id
|
|
142
|
-
)) }) })
|
|
143
|
-
]
|
|
144
|
-
}
|
|
145
|
-
) });
|
|
146
|
-
}
|
|
147
|
-
function S({ node: e, depth: p, sectionId: g }) {
|
|
148
|
-
const { activeNodeId: N, isOpen: v, toggleNode: r, onNodeClick: d, actionConfig: t } = w(), s = e.type === "folder", c = s && e.children && e.children.length > 0, l = v(e.id), $ = N === e.id, u = () => {
|
|
149
|
-
s ? r(e.id) : d && d(e);
|
|
150
|
-
}, b = (a) => {
|
|
151
|
-
a.stopPropagation(), t?.onAdd?.(s ? e.id : null, g);
|
|
152
|
-
}, C = [
|
|
153
|
-
{
|
|
154
|
-
id: "rename",
|
|
155
|
-
label: "Renombrar",
|
|
156
|
-
icon: /* @__PURE__ */ n(F, { size: 14 }),
|
|
157
|
-
onClick: () => t?.onRename?.(e.id)
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
id: "duplicate",
|
|
161
|
-
label: "Duplicar",
|
|
162
|
-
icon: /* @__PURE__ */ n(W, { size: 14 }),
|
|
163
|
-
onClick: () => t?.onDuplicate?.(e.id)
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
id: "move",
|
|
167
|
-
label: "Mover a…",
|
|
168
|
-
icon: /* @__PURE__ */ n(V, { size: 14 }),
|
|
169
|
-
onClick: () => t?.onMove?.(e.id)
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
id: "delete",
|
|
173
|
-
label: "Eliminar",
|
|
174
|
-
icon: /* @__PURE__ */ n(q, { size: 14 }),
|
|
175
|
-
danger: !0,
|
|
176
|
-
onClick: () => t?.onDelete?.(e.id)
|
|
177
|
-
}
|
|
178
|
-
];
|
|
179
|
-
if (t?.getCustomActions) {
|
|
180
|
-
const a = t.getCustomActions(e);
|
|
181
|
-
C.push(...a);
|
|
182
|
-
}
|
|
183
|
-
const y = {
|
|
184
|
-
paddingLeft: `calc(var(--spacing-2) * ${p + 1})`
|
|
185
|
-
};
|
|
186
|
-
return /* @__PURE__ */ m(
|
|
187
|
-
"div",
|
|
188
|
-
{
|
|
189
|
-
className: i.node,
|
|
190
|
-
role: "treeitem",
|
|
191
|
-
"aria-expanded": s && l,
|
|
192
|
-
children: [
|
|
193
|
-
/* @__PURE__ */ m(
|
|
194
|
-
"div",
|
|
195
|
-
{
|
|
196
|
-
className: `${i.nodeRow} ${$ ? i.nodeRowActive : ""} ${p > 0 ? i.nodeNested : ""}`,
|
|
197
|
-
onClick: u,
|
|
198
|
-
style: y,
|
|
199
|
-
tabIndex: 0,
|
|
200
|
-
onKeyDown: (a) => {
|
|
201
|
-
(a.key === "Enter" || a.key === " ") && (a.preventDefault(), u());
|
|
202
|
-
},
|
|
203
|
-
children: [
|
|
204
|
-
e.icon ? s ? /* @__PURE__ */ m("div", { className: i.iconSlot, children: [
|
|
205
|
-
/* @__PURE__ */ n("span", { className: i.slotIcon, children: e.icon }),
|
|
206
|
-
c && /* @__PURE__ */ n(
|
|
207
|
-
"div",
|
|
208
|
-
{
|
|
209
|
-
className: `${i.slotChevron} ${l ? i.slotChevronOpen : ""}`,
|
|
210
|
-
children: /* @__PURE__ */ n(f, { size: 16 })
|
|
211
|
-
}
|
|
212
|
-
)
|
|
213
|
-
] }) : /* @__PURE__ */ n("div", { className: i.iconSlot, children: /* @__PURE__ */ n("span", { className: i.slotIcon, children: e.icon }) }) : s ? /* @__PURE__ */ n(
|
|
214
|
-
f,
|
|
215
|
-
{
|
|
216
|
-
size: 12,
|
|
217
|
-
className: `${i.nodeChevron} ${l ? i.nodeChevronOpen : ""}`
|
|
218
|
-
}
|
|
219
|
-
) : /* @__PURE__ */ n("div", { className: i.nodeChevronHidden }),
|
|
220
|
-
/* @__PURE__ */ n("span", { className: i.nodeLabel, children: e.label }),
|
|
221
|
-
e.badge !== void 0 && /* @__PURE__ */ n("span", { className: i.nodeBadge, children: e.badge }),
|
|
222
|
-
/* @__PURE__ */ m("div", { className: i.nodeActions, children: [
|
|
223
|
-
/* @__PURE__ */ n(
|
|
224
|
-
O,
|
|
225
|
-
{
|
|
226
|
-
variant: "ghost",
|
|
227
|
-
size: "sm",
|
|
228
|
-
iconOnly: !0,
|
|
229
|
-
icon: /* @__PURE__ */ n(T, { size: 14 }),
|
|
230
|
-
onClick: b,
|
|
231
|
-
"aria-label": `Agregar página en ${e.label}`,
|
|
232
|
-
title: `Agregar página en ${e.label}`
|
|
233
|
-
}
|
|
234
|
-
),
|
|
235
|
-
/* @__PURE__ */ n(
|
|
236
|
-
G,
|
|
237
|
-
{
|
|
238
|
-
trigger: /* @__PURE__ */ n(
|
|
239
|
-
O,
|
|
240
|
-
{
|
|
241
|
-
variant: "ghost",
|
|
242
|
-
size: "sm",
|
|
243
|
-
iconOnly: !0,
|
|
244
|
-
icon: /* @__PURE__ */ n(j, { size: 14 }),
|
|
245
|
-
"aria-label": "Más acciones",
|
|
246
|
-
title: "Más acciones"
|
|
247
|
-
}
|
|
248
|
-
),
|
|
249
|
-
items: C,
|
|
250
|
-
placement: "bottom-end",
|
|
251
|
-
minWidth: 160
|
|
252
|
-
}
|
|
253
|
-
)
|
|
254
|
-
] })
|
|
255
|
-
]
|
|
256
|
-
}
|
|
257
|
-
),
|
|
258
|
-
s && l && c && /* @__PURE__ */ n("div", { className: i.nodeChildren, children: e.children.map((a) => /* @__PURE__ */ n(
|
|
259
|
-
S,
|
|
260
|
-
{
|
|
261
|
-
node: a,
|
|
262
|
-
depth: p + 1,
|
|
263
|
-
sectionId: g
|
|
264
|
-
},
|
|
265
|
-
a.id
|
|
266
|
-
)) })
|
|
267
|
-
]
|
|
268
|
-
}
|
|
269
|
-
);
|
|
270
|
-
}
|
|
271
|
-
export {
|
|
272
|
-
J as NavTree
|
|
273
|
-
};
|
package/dist/index66.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),a=require("./index214.cjs"),d=({children:e,href:l,className:t})=>{const s=[a.default.brand,t].filter(Boolean).join(" ");return l?n.jsx("a",{href:l,className:s,children:e}):n.jsx("div",{className:s,children:e})};d.displayName="Navbar.Brand";const u=({children:e,className:l,...t})=>{const s=[a.default.nav,l].filter(Boolean).join(" ");return n.jsx("nav",{className:s,...t,children:e})};u.displayName="Navbar.Nav";const N=({children:e,href:l,active:t=!1,className:s,onClick:r,...i})=>{const c=[a.default.link,t&&a.default.active,s].filter(Boolean).join(" ");return n.jsx("a",{href:l,className:c,"aria-current":t?"page":void 0,onClick:r,...i,children:e})};N.displayName="Navbar.Link";const v=({children:e,className:l,...t})=>{const s=[a.default.actions,l].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:e})};v.displayName="Navbar.Actions";const f=({isOpen:e,onToggle:l,className:t})=>{const s=[a.default.toggle,e&&a.default.toggleOpen,t].filter(Boolean).join(" ");return n.jsx("button",{type:"button",className:s,onClick:l,"aria-expanded":e,"aria-label":e?"Close menu":"Open menu",children:n.jsxs("span",{className:a.default.toggleIcon,children:[n.jsx("span",{className:a.default.toggleLine}),n.jsx("span",{className:a.default.toggleLine}),n.jsx("span",{className:a.default.toggleLine})]})})};f.displayName="Navbar.Toggle";const p=({children:e,isOpen:l,className:t,...s})=>{const r=[a.default.collapse,l&&a.default.collapseOpen,t].filter(Boolean).join(" ");return n.jsx("div",{className:r,...s,children:e})};p.displayName="Navbar.Collapse";const b=({children:e,className:l,...t})=>{const s=[a.default.collapseActions,l].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:e})};b.displayName="Navbar.CollapseActions";const o=({children:e,height:l="md",variant:t="solid",colorScheme:s="auto",sticky:r=!1,bordered:i=!0,className:c,...m})=>{const g=[a.default.navbar,a.default[l],a.default[t],s!=="auto"&&a.default[`scheme${s.charAt(0).toUpperCase()+s.slice(1)}`],r&&a.default.sticky,i&&a.default.bordered,c].filter(Boolean).join(" ");return n.jsx("header",{className:g,...m,children:e})};o.Brand=d;o.Nav=u;o.Link=N;o.Actions=v;o.Toggle=f;o.Collapse=p;o.CollapseActions=b;o.displayName="Navbar";exports.Navbar=o;
|
package/dist/index66.mjs
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { jsx as o, jsxs as f } from "react/jsx-runtime";
|
|
2
|
-
import a from "./index214.mjs";
|
|
3
|
-
const N = ({
|
|
4
|
-
children: s,
|
|
5
|
-
href: l,
|
|
6
|
-
className: n
|
|
7
|
-
}) => {
|
|
8
|
-
const e = [a.brand, n].filter(Boolean).join(" ");
|
|
9
|
-
return l ? /* @__PURE__ */ o("a", { href: l, className: e, children: s }) : /* @__PURE__ */ o("div", { className: e, children: s });
|
|
10
|
-
};
|
|
11
|
-
N.displayName = "Navbar.Brand";
|
|
12
|
-
const p = ({
|
|
13
|
-
children: s,
|
|
14
|
-
className: l,
|
|
15
|
-
...n
|
|
16
|
-
}) => {
|
|
17
|
-
const e = [a.nav, l].filter(Boolean).join(" ");
|
|
18
|
-
return /* @__PURE__ */ o("nav", { className: e, ...n, children: s });
|
|
19
|
-
};
|
|
20
|
-
p.displayName = "Navbar.Nav";
|
|
21
|
-
const v = ({
|
|
22
|
-
children: s,
|
|
23
|
-
href: l,
|
|
24
|
-
active: n = !1,
|
|
25
|
-
className: e,
|
|
26
|
-
onClick: r,
|
|
27
|
-
...i
|
|
28
|
-
}) => {
|
|
29
|
-
const c = [a.link, n && a.active, e].filter(Boolean).join(" ");
|
|
30
|
-
return /* @__PURE__ */ o(
|
|
31
|
-
"a",
|
|
32
|
-
{
|
|
33
|
-
href: l,
|
|
34
|
-
className: c,
|
|
35
|
-
"aria-current": n ? "page" : void 0,
|
|
36
|
-
onClick: r,
|
|
37
|
-
...i,
|
|
38
|
-
children: s
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
};
|
|
42
|
-
v.displayName = "Navbar.Link";
|
|
43
|
-
const m = ({
|
|
44
|
-
children: s,
|
|
45
|
-
className: l,
|
|
46
|
-
...n
|
|
47
|
-
}) => {
|
|
48
|
-
const e = [a.actions, l].filter(Boolean).join(" ");
|
|
49
|
-
return /* @__PURE__ */ o("div", { className: e, ...n, children: s });
|
|
50
|
-
};
|
|
51
|
-
m.displayName = "Navbar.Actions";
|
|
52
|
-
const d = ({
|
|
53
|
-
isOpen: s,
|
|
54
|
-
onToggle: l,
|
|
55
|
-
className: n
|
|
56
|
-
}) => {
|
|
57
|
-
const e = [a.toggle, s && a.toggleOpen, n].filter(Boolean).join(" ");
|
|
58
|
-
return /* @__PURE__ */ o(
|
|
59
|
-
"button",
|
|
60
|
-
{
|
|
61
|
-
type: "button",
|
|
62
|
-
className: e,
|
|
63
|
-
onClick: l,
|
|
64
|
-
"aria-expanded": s,
|
|
65
|
-
"aria-label": s ? "Close menu" : "Open menu",
|
|
66
|
-
children: /* @__PURE__ */ f("span", { className: a.toggleIcon, children: [
|
|
67
|
-
/* @__PURE__ */ o("span", { className: a.toggleLine }),
|
|
68
|
-
/* @__PURE__ */ o("span", { className: a.toggleLine }),
|
|
69
|
-
/* @__PURE__ */ o("span", { className: a.toggleLine })
|
|
70
|
-
] })
|
|
71
|
-
}
|
|
72
|
-
);
|
|
73
|
-
};
|
|
74
|
-
d.displayName = "Navbar.Toggle";
|
|
75
|
-
const b = ({
|
|
76
|
-
children: s,
|
|
77
|
-
isOpen: l,
|
|
78
|
-
className: n,
|
|
79
|
-
...e
|
|
80
|
-
}) => {
|
|
81
|
-
const r = [
|
|
82
|
-
a.collapse,
|
|
83
|
-
l && a.collapseOpen,
|
|
84
|
-
n
|
|
85
|
-
].filter(Boolean).join(" ");
|
|
86
|
-
return /* @__PURE__ */ o("div", { className: r, ...e, children: s });
|
|
87
|
-
};
|
|
88
|
-
b.displayName = "Navbar.Collapse";
|
|
89
|
-
const g = ({
|
|
90
|
-
children: s,
|
|
91
|
-
className: l,
|
|
92
|
-
...n
|
|
93
|
-
}) => {
|
|
94
|
-
const e = [a.collapseActions, l].filter(Boolean).join(" ");
|
|
95
|
-
return /* @__PURE__ */ o("div", { className: e, ...n, children: s });
|
|
96
|
-
};
|
|
97
|
-
g.displayName = "Navbar.CollapseActions";
|
|
98
|
-
const t = ({
|
|
99
|
-
children: s,
|
|
100
|
-
height: l = "md",
|
|
101
|
-
variant: n = "solid",
|
|
102
|
-
colorScheme: e = "auto",
|
|
103
|
-
sticky: r = !1,
|
|
104
|
-
bordered: i = !0,
|
|
105
|
-
className: c,
|
|
106
|
-
...u
|
|
107
|
-
}) => {
|
|
108
|
-
const C = [
|
|
109
|
-
a.navbar,
|
|
110
|
-
a[l],
|
|
111
|
-
a[n],
|
|
112
|
-
e !== "auto" && a[`scheme${e.charAt(0).toUpperCase() + e.slice(1)}`],
|
|
113
|
-
r && a.sticky,
|
|
114
|
-
i && a.bordered,
|
|
115
|
-
c
|
|
116
|
-
].filter(Boolean).join(" ");
|
|
117
|
-
return /* @__PURE__ */ o("header", { className: C, ...u, children: s });
|
|
118
|
-
};
|
|
119
|
-
t.Brand = N;
|
|
120
|
-
t.Nav = p;
|
|
121
|
-
t.Link = v;
|
|
122
|
-
t.Actions = m;
|
|
123
|
-
t.Toggle = d;
|
|
124
|
-
t.Collapse = b;
|
|
125
|
-
t.CollapseActions = g;
|
|
126
|
-
t.displayName = "Navbar";
|
|
127
|
-
export {
|
|
128
|
-
t as Navbar
|
|
129
|
-
};
|
package/dist/index67.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),f=require("react"),d=require("lucide-react"),s=require("./index217.cjs"),T={info:e.jsx(d.Info,{size:18}),success:e.jsx(d.CheckCircle,{size:18}),warning:e.jsx(d.AlertTriangle,{size:18}),error:e.jsx(d.XCircle,{size:18}),default:e.jsx(d.Bell,{size:18})},p=({notification:l,onMarkAsRead:r,onDismiss:u})=>{const m=l.icon||T[l.type||"default"],t=l.href||l.onClick,c=()=>{l.onClick&&l.onClick(),!l.read&&r&&r(l.id)},h=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:s.default.itemLeft,children:l.avatar?e.jsx("img",{src:l.avatar,alt:"",className:s.default.itemAvatar}):e.jsx("div",{className:`${s.default.itemIcon} ${s.default[`icon-${l.type||"default"}`]}`,children:m})}),e.jsxs("div",{className:s.default.itemContent,children:[e.jsxs("div",{className:s.default.itemHeader,children:[e.jsx("span",{className:s.default.itemTitle,children:l.title}),!l.read&&e.jsx("span",{className:s.default.unreadDot})]}),l.message&&e.jsx("p",{className:s.default.itemMessage,children:l.message}),e.jsx("span",{className:s.default.itemTime,children:l.relativeTime||l.timestamp})]}),e.jsxs("div",{className:s.default.itemActions,children:[!l.read&&r&&e.jsx("button",{type:"button",className:s.default.itemAction,onClick:n=>{n.stopPropagation(),r(l.id)},title:"Mark as read",children:e.jsx(d.Check,{size:14})}),u&&e.jsx("button",{type:"button",className:s.default.itemAction,onClick:n=>{n.stopPropagation(),u(l.id)},title:"Dismiss",children:e.jsx(d.X,{size:14})})]})]});return l.href?e.jsx("a",{href:l.href,className:`${s.default.item} ${l.read?s.default.itemRead:""}`,onClick:c,children:h}):e.jsx("div",{className:`${s.default.item} ${l.read?s.default.itemRead:""} ${t?s.default.itemClickable:""}`,onClick:t?c:void 0,role:t?"button":void 0,tabIndex:t?0:void 0,children:h})},v=f.forwardRef(({notifications:l,onMarkAsRead:r,onMarkAllAsRead:u,onDismiss:m,onClearAll:t,onViewAll:c,title:h="Notifications",emptyMessage:n="No notifications",loading:C=!1,maxHeight:b="400px",groupByCategory:x=!1,showUnreadCount:g=!0,className:k,...y},z)=>{const N=f.useMemo(()=>l.filter(a=>!a.read).length,[l]),o=f.useMemo(()=>{if(!x)return null;const a={};return l.forEach(j=>{const i=j.category||"Other";a[i]||(a[i]=[]),a[i].push(j)}),a},[l,x]),$=[s.default.notificationCenter,k].filter(Boolean).join(" ");return e.jsxs("div",{ref:z,className:$,...y,children:[e.jsxs("div",{className:s.default.header,children:[e.jsxs("div",{className:s.default.headerTitle,children:[e.jsx("span",{children:h}),g&&N>0&&e.jsx("span",{className:s.default.badge,children:N})]}),e.jsx("div",{className:s.default.headerActions,children:u&&N>0&&e.jsx("button",{type:"button",className:s.default.headerAction,onClick:u,children:"Mark all as read"})})]}),e.jsx("div",{className:s.default.content,style:{maxHeight:b},children:C?e.jsx("div",{className:s.default.loading,children:e.jsx("div",{className:s.default.spinner})}):l.length===0?e.jsxs("div",{className:s.default.empty,children:[e.jsx(d.Bell,{size:32}),e.jsx("span",{children:n})]}):x&&o?Object.entries(o).map(([a,j])=>e.jsxs("div",{className:s.default.group,children:[e.jsx("div",{className:s.default.groupTitle,children:a}),j.map(i=>e.jsx(p,{notification:i,onMarkAsRead:r,onDismiss:m},i.id))]},a)):l.map(a=>e.jsx(p,{notification:a,onMarkAsRead:r,onDismiss:m},a.id))}),(c||t)&&l.length>0&&e.jsxs("div",{className:s.default.footer,children:[t&&e.jsx("button",{type:"button",className:s.default.footerAction,onClick:t,children:"Clear all"}),c&&e.jsx("button",{type:"button",className:s.default.footerActionPrimary,onClick:c,children:"View all notifications"})]})]})});v.displayName="NotificationCenter";exports.NotificationCenter=v;
|
package/dist/index67.mjs
DELETED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, jsx as l, Fragment as I } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as j, useMemo as C } from "react";
|
|
3
|
-
import { Bell as g, Check as P, X as O, XCircle as X, AlertTriangle as w, CheckCircle as E, Info as F } from "lucide-react";
|
|
4
|
-
import e from "./index217.mjs";
|
|
5
|
-
const H = {
|
|
6
|
-
info: /* @__PURE__ */ l(F, { size: 18 }),
|
|
7
|
-
success: /* @__PURE__ */ l(E, { size: 18 }),
|
|
8
|
-
warning: /* @__PURE__ */ l(w, { size: 18 }),
|
|
9
|
-
error: /* @__PURE__ */ l(X, { size: 18 }),
|
|
10
|
-
default: /* @__PURE__ */ l(g, { size: 18 })
|
|
11
|
-
}, b = ({
|
|
12
|
-
notification: s,
|
|
13
|
-
onMarkAsRead: t,
|
|
14
|
-
onDismiss: i
|
|
15
|
-
}) => {
|
|
16
|
-
const h = s.icon || H[s.type || "default"], c = s.href || s.onClick, d = () => {
|
|
17
|
-
s.onClick && s.onClick(), !s.read && t && t(s.id);
|
|
18
|
-
}, N = /* @__PURE__ */ a(I, { children: [
|
|
19
|
-
/* @__PURE__ */ l("div", { className: e.itemLeft, children: s.avatar ? /* @__PURE__ */ l("img", { src: s.avatar, alt: "", className: e.itemAvatar }) : /* @__PURE__ */ l(
|
|
20
|
-
"div",
|
|
21
|
-
{
|
|
22
|
-
className: `${e.itemIcon} ${e[`icon-${s.type || "default"}`]}`,
|
|
23
|
-
children: h
|
|
24
|
-
}
|
|
25
|
-
) }),
|
|
26
|
-
/* @__PURE__ */ a("div", { className: e.itemContent, children: [
|
|
27
|
-
/* @__PURE__ */ a("div", { className: e.itemHeader, children: [
|
|
28
|
-
/* @__PURE__ */ l("span", { className: e.itemTitle, children: s.title }),
|
|
29
|
-
!s.read && /* @__PURE__ */ l("span", { className: e.unreadDot })
|
|
30
|
-
] }),
|
|
31
|
-
s.message && /* @__PURE__ */ l("p", { className: e.itemMessage, children: s.message }),
|
|
32
|
-
/* @__PURE__ */ l("span", { className: e.itemTime, children: s.relativeTime || s.timestamp })
|
|
33
|
-
] }),
|
|
34
|
-
/* @__PURE__ */ a("div", { className: e.itemActions, children: [
|
|
35
|
-
!s.read && t && /* @__PURE__ */ l(
|
|
36
|
-
"button",
|
|
37
|
-
{
|
|
38
|
-
type: "button",
|
|
39
|
-
className: e.itemAction,
|
|
40
|
-
onClick: (n) => {
|
|
41
|
-
n.stopPropagation(), t(s.id);
|
|
42
|
-
},
|
|
43
|
-
title: "Mark as read",
|
|
44
|
-
children: /* @__PURE__ */ l(P, { size: 14 })
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
i && /* @__PURE__ */ l(
|
|
48
|
-
"button",
|
|
49
|
-
{
|
|
50
|
-
type: "button",
|
|
51
|
-
className: e.itemAction,
|
|
52
|
-
onClick: (n) => {
|
|
53
|
-
n.stopPropagation(), i(s.id);
|
|
54
|
-
},
|
|
55
|
-
title: "Dismiss",
|
|
56
|
-
children: /* @__PURE__ */ l(O, { size: 14 })
|
|
57
|
-
}
|
|
58
|
-
)
|
|
59
|
-
] })
|
|
60
|
-
] });
|
|
61
|
-
return s.href ? /* @__PURE__ */ l(
|
|
62
|
-
"a",
|
|
63
|
-
{
|
|
64
|
-
href: s.href,
|
|
65
|
-
className: `${e.item} ${s.read ? e.itemRead : ""}`,
|
|
66
|
-
onClick: d,
|
|
67
|
-
children: N
|
|
68
|
-
}
|
|
69
|
-
) : /* @__PURE__ */ l(
|
|
70
|
-
"div",
|
|
71
|
-
{
|
|
72
|
-
className: `${e.item} ${s.read ? e.itemRead : ""} ${c ? e.itemClickable : ""}`,
|
|
73
|
-
onClick: c ? d : void 0,
|
|
74
|
-
role: c ? "button" : void 0,
|
|
75
|
-
tabIndex: c ? 0 : void 0,
|
|
76
|
-
children: N
|
|
77
|
-
}
|
|
78
|
-
);
|
|
79
|
-
}, L = j(
|
|
80
|
-
({
|
|
81
|
-
notifications: s,
|
|
82
|
-
onMarkAsRead: t,
|
|
83
|
-
onMarkAllAsRead: i,
|
|
84
|
-
onDismiss: h,
|
|
85
|
-
onClearAll: c,
|
|
86
|
-
onViewAll: d,
|
|
87
|
-
title: N = "Notifications",
|
|
88
|
-
emptyMessage: n = "No notifications",
|
|
89
|
-
loading: k = !1,
|
|
90
|
-
maxHeight: y = "400px",
|
|
91
|
-
groupByCategory: o = !1,
|
|
92
|
-
showUnreadCount: z = !0,
|
|
93
|
-
className: $,
|
|
94
|
-
...f
|
|
95
|
-
}, T) => {
|
|
96
|
-
const u = C(
|
|
97
|
-
() => s.filter((r) => !r.read).length,
|
|
98
|
-
[s]
|
|
99
|
-
), v = C(() => {
|
|
100
|
-
if (!o) return null;
|
|
101
|
-
const r = {};
|
|
102
|
-
return s.forEach((p) => {
|
|
103
|
-
const m = p.category || "Other";
|
|
104
|
-
r[m] || (r[m] = []), r[m].push(p);
|
|
105
|
-
}), r;
|
|
106
|
-
}, [s, o]), x = [e.notificationCenter, $].filter(Boolean).join(" ");
|
|
107
|
-
return /* @__PURE__ */ a("div", { ref: T, className: x, ...f, children: [
|
|
108
|
-
/* @__PURE__ */ a("div", { className: e.header, children: [
|
|
109
|
-
/* @__PURE__ */ a("div", { className: e.headerTitle, children: [
|
|
110
|
-
/* @__PURE__ */ l("span", { children: N }),
|
|
111
|
-
z && u > 0 && /* @__PURE__ */ l("span", { className: e.badge, children: u })
|
|
112
|
-
] }),
|
|
113
|
-
/* @__PURE__ */ l("div", { className: e.headerActions, children: i && u > 0 && /* @__PURE__ */ l(
|
|
114
|
-
"button",
|
|
115
|
-
{
|
|
116
|
-
type: "button",
|
|
117
|
-
className: e.headerAction,
|
|
118
|
-
onClick: i,
|
|
119
|
-
children: "Mark all as read"
|
|
120
|
-
}
|
|
121
|
-
) })
|
|
122
|
-
] }),
|
|
123
|
-
/* @__PURE__ */ l("div", { className: e.content, style: { maxHeight: y }, children: k ? /* @__PURE__ */ l("div", { className: e.loading, children: /* @__PURE__ */ l("div", { className: e.spinner }) }) : s.length === 0 ? /* @__PURE__ */ a("div", { className: e.empty, children: [
|
|
124
|
-
/* @__PURE__ */ l(g, { size: 32 }),
|
|
125
|
-
/* @__PURE__ */ l("span", { children: n })
|
|
126
|
-
] }) : o && v ? Object.entries(v).map(([r, p]) => /* @__PURE__ */ a("div", { className: e.group, children: [
|
|
127
|
-
/* @__PURE__ */ l("div", { className: e.groupTitle, children: r }),
|
|
128
|
-
p.map((m) => /* @__PURE__ */ l(
|
|
129
|
-
b,
|
|
130
|
-
{
|
|
131
|
-
notification: m,
|
|
132
|
-
onMarkAsRead: t,
|
|
133
|
-
onDismiss: h
|
|
134
|
-
},
|
|
135
|
-
m.id
|
|
136
|
-
))
|
|
137
|
-
] }, r)) : s.map((r) => /* @__PURE__ */ l(
|
|
138
|
-
b,
|
|
139
|
-
{
|
|
140
|
-
notification: r,
|
|
141
|
-
onMarkAsRead: t,
|
|
142
|
-
onDismiss: h
|
|
143
|
-
},
|
|
144
|
-
r.id
|
|
145
|
-
)) }),
|
|
146
|
-
(d || c) && s.length > 0 && /* @__PURE__ */ a("div", { className: e.footer, children: [
|
|
147
|
-
c && /* @__PURE__ */ l(
|
|
148
|
-
"button",
|
|
149
|
-
{
|
|
150
|
-
type: "button",
|
|
151
|
-
className: e.footerAction,
|
|
152
|
-
onClick: c,
|
|
153
|
-
children: "Clear all"
|
|
154
|
-
}
|
|
155
|
-
),
|
|
156
|
-
d && /* @__PURE__ */ l(
|
|
157
|
-
"button",
|
|
158
|
-
{
|
|
159
|
-
type: "button",
|
|
160
|
-
className: e.footerActionPrimary,
|
|
161
|
-
onClick: d,
|
|
162
|
-
children: "View all notifications"
|
|
163
|
-
}
|
|
164
|
-
)
|
|
165
|
-
] })
|
|
166
|
-
] });
|
|
167
|
-
}
|
|
168
|
-
);
|
|
169
|
-
L.displayName = "NotificationCenter";
|
|
170
|
-
export {
|
|
171
|
-
L as NotificationCenter
|
|
172
|
-
};
|