@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/index43.mjs
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { jsxs as $, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { useState as O, useMemo as z, useCallback as h } from "react";
|
|
3
|
-
import { format as c } from "date-fns";
|
|
4
|
-
import { Calendar as A } from "lucide-react";
|
|
5
|
-
import a from "./index177.mjs";
|
|
6
|
-
import { Calendar as S } from "./index27.mjs";
|
|
7
|
-
import { Popover as F } from "./index70.mjs";
|
|
8
|
-
import { Button as I } from "./index26.mjs";
|
|
9
|
-
const M = (e) => {
|
|
10
|
-
const {
|
|
11
|
-
mode: t = "single",
|
|
12
|
-
min: v,
|
|
13
|
-
max: C,
|
|
14
|
-
disabledDates: N,
|
|
15
|
-
placeholder: m = "Pick a date",
|
|
16
|
-
presets: i,
|
|
17
|
-
format: r = "PPP",
|
|
18
|
-
disabled: b = !1,
|
|
19
|
-
triggerClassName: P,
|
|
20
|
-
className: k
|
|
21
|
-
} = e, [x, s] = O(!1), f = z(() => t === "single" && e.mode !== "range" ? e.selected ? c(e.selected, r) : null : t === "range" && e.mode === "range" && e.selected?.from ? e.selected.to ? `${c(e.selected.from, r)} - ${c(e.selected.to, r)}` : c(e.selected.from, r) : null, [t, e, r]), g = h(
|
|
22
|
-
(l) => {
|
|
23
|
-
if (t === "single" && e.mode !== "range") {
|
|
24
|
-
const o = e.onSelect;
|
|
25
|
-
o?.(l), s(!1);
|
|
26
|
-
} else if (t === "range" && e.mode === "range") {
|
|
27
|
-
const o = e.onSelect, d = l;
|
|
28
|
-
o?.(d), d?.from && d?.to && s(!1);
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
[t, e]
|
|
32
|
-
), y = h(
|
|
33
|
-
(l) => {
|
|
34
|
-
if (t === "single" && e.mode !== "range") {
|
|
35
|
-
const o = e.onSelect;
|
|
36
|
-
o?.(l.value);
|
|
37
|
-
} else if (t === "range" && e.mode === "range") {
|
|
38
|
-
const o = e.onSelect;
|
|
39
|
-
o?.(l.value);
|
|
40
|
-
}
|
|
41
|
-
s(!1);
|
|
42
|
-
},
|
|
43
|
-
[t, e]
|
|
44
|
-
), j = [a.trigger, P].filter(Boolean).join(" "), w = [a.wrapper, k].filter(Boolean).join(" "), u = {
|
|
45
|
-
min: v,
|
|
46
|
-
max: C,
|
|
47
|
-
disabled: N
|
|
48
|
-
}, B = /* @__PURE__ */ $("div", { className: a.popoverContent, children: [
|
|
49
|
-
i && i.length > 0 && /* @__PURE__ */ n("div", { className: a.presets, children: i.map((l) => /* @__PURE__ */ n(
|
|
50
|
-
"button",
|
|
51
|
-
{
|
|
52
|
-
type: "button",
|
|
53
|
-
className: a.presetButton,
|
|
54
|
-
onClick: () => y(l),
|
|
55
|
-
children: l.label
|
|
56
|
-
},
|
|
57
|
-
l.label
|
|
58
|
-
)) }),
|
|
59
|
-
t === "single" ? /* @__PURE__ */ n(
|
|
60
|
-
S,
|
|
61
|
-
{
|
|
62
|
-
mode: "single",
|
|
63
|
-
selected: e.mode !== "range" ? e.selected : void 0,
|
|
64
|
-
onSelect: g,
|
|
65
|
-
...u
|
|
66
|
-
}
|
|
67
|
-
) : /* @__PURE__ */ n(
|
|
68
|
-
S,
|
|
69
|
-
{
|
|
70
|
-
mode: "range",
|
|
71
|
-
selected: e.mode === "range" ? e.selected : void 0,
|
|
72
|
-
onSelect: g,
|
|
73
|
-
...u
|
|
74
|
-
}
|
|
75
|
-
)
|
|
76
|
-
] }), D = /* @__PURE__ */ n(
|
|
77
|
-
I,
|
|
78
|
-
{
|
|
79
|
-
variant: "secondary",
|
|
80
|
-
className: j,
|
|
81
|
-
disabled: b,
|
|
82
|
-
"aria-label": m,
|
|
83
|
-
icon: /* @__PURE__ */ n(A, { size: 16, className: a.triggerIcon }),
|
|
84
|
-
children: f ? /* @__PURE__ */ n("span", { children: f }) : /* @__PURE__ */ n("span", { className: a.placeholder, children: m })
|
|
85
|
-
}
|
|
86
|
-
);
|
|
87
|
-
return /* @__PURE__ */ n("div", { className: w, children: /* @__PURE__ */ n(
|
|
88
|
-
F,
|
|
89
|
-
{
|
|
90
|
-
trigger: D,
|
|
91
|
-
content: B,
|
|
92
|
-
placement: "bottom-start",
|
|
93
|
-
open: x,
|
|
94
|
-
onOpenChange: s,
|
|
95
|
-
showArrow: !1,
|
|
96
|
-
offset: 4,
|
|
97
|
-
className: a.popover
|
|
98
|
-
}
|
|
99
|
-
) });
|
|
100
|
-
};
|
|
101
|
-
M.displayName = "DatePicker";
|
|
102
|
-
export {
|
|
103
|
-
M as DatePicker
|
|
104
|
-
};
|
package/dist/index44.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),a=require("react"),P=require("lucide-react"),e=require("./index198.cjs"),u=a.forwardRef(({open:t,onClose:s,title:f,description:m,subtitle:d,children:v,size:h="md",position:y="right",headerActions:j,footer:n,overlay:N=!0,closeOnOverlayClick:x=!0,closeOnEscape:r=!0,loading:b=!1,className:p,...w},D)=>{const c=a.useRef(null),o=m??d;if(a.useEffect(()=>{d&&process.env.NODE_ENV==="development"&&console.warn('[DetailPanel] The "subtitle" prop is deprecated. Use "description" instead. subtitle will be removed in v3.0.')},[d]),a.useEffect(()=>{if(!t||!r)return;const i=k=>{k.key==="Escape"&&s()};return document.addEventListener("keydown",i),()=>document.removeEventListener("keydown",i)},[t,r,s]),a.useEffect(()=>{if(t){const i=document.body.style.overflow;return document.body.style.overflow="hidden",setTimeout(()=>{c.current?.focus()},0),()=>{document.body.style.overflow=i}}},[t]),!t)return null;const E=()=>{x&&s()},g=[e.default.panel,e.default[`size-${h}`],e.default[`position-${y}`],p].filter(Boolean).join(" ");return l.jsxs("div",{className:e.default.container,children:[N&&l.jsx("div",{className:e.default.overlay,onClick:E,"aria-hidden":"true"}),l.jsxs("div",{ref:D||c,className:g,role:"dialog","aria-modal":"true","aria-labelledby":"detail-panel-title",tabIndex:-1,...w,children:[l.jsxs("div",{className:e.default.header,children:[l.jsxs("div",{className:e.default.headerContent,children:[l.jsx("h2",{id:"detail-panel-title",className:e.default.title,children:f}),o&&l.jsx("p",{className:e.default.subtitle,children:o})]}),l.jsxs("div",{className:e.default.headerActions,children:[j,l.jsx("button",{type:"button",className:e.default.closeButton,onClick:s,"aria-label":"Close panel",children:l.jsx(P.X,{size:20})})]})]}),l.jsx("div",{className:e.default.body,children:b?l.jsx("div",{className:e.default.loading,children:l.jsx("div",{className:e.default.spinner})}):v}),n&&l.jsx("div",{className:e.default.footer,children:n})]})]})});u.displayName="DetailPanel";exports.DetailPanel=u;
|
package/dist/index44.mjs
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as P, useRef as R, useEffect as s } from "react";
|
|
3
|
-
import { X as z } from "lucide-react";
|
|
4
|
-
import e from "./index198.mjs";
|
|
5
|
-
const B = P(
|
|
6
|
-
({
|
|
7
|
-
open: l,
|
|
8
|
-
onClose: t,
|
|
9
|
-
title: f,
|
|
10
|
-
description: u,
|
|
11
|
-
subtitle: n,
|
|
12
|
-
children: v,
|
|
13
|
-
size: h = "md",
|
|
14
|
-
position: p = "right",
|
|
15
|
-
headerActions: y,
|
|
16
|
-
footer: d,
|
|
17
|
-
overlay: N = !0,
|
|
18
|
-
closeOnOverlayClick: b = !0,
|
|
19
|
-
closeOnEscape: o = !0,
|
|
20
|
-
loading: w = !1,
|
|
21
|
-
className: k,
|
|
22
|
-
...D
|
|
23
|
-
}, E) => {
|
|
24
|
-
const c = R(null), m = u ?? n;
|
|
25
|
-
if (s(() => {
|
|
26
|
-
n && process.env.NODE_ENV === "development" && console.warn(
|
|
27
|
-
'[DetailPanel] The "subtitle" prop is deprecated. Use "description" instead. subtitle will be removed in v3.0.'
|
|
28
|
-
);
|
|
29
|
-
}, [n]), s(() => {
|
|
30
|
-
if (!l || !o) return;
|
|
31
|
-
const r = (j) => {
|
|
32
|
-
j.key === "Escape" && t();
|
|
33
|
-
};
|
|
34
|
-
return document.addEventListener("keydown", r), () => document.removeEventListener("keydown", r);
|
|
35
|
-
}, [l, o, t]), s(() => {
|
|
36
|
-
if (l) {
|
|
37
|
-
const r = document.body.style.overflow;
|
|
38
|
-
return document.body.style.overflow = "hidden", setTimeout(() => {
|
|
39
|
-
c.current?.focus();
|
|
40
|
-
}, 0), () => {
|
|
41
|
-
document.body.style.overflow = r;
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
}, [l]), !l) return null;
|
|
45
|
-
const g = () => {
|
|
46
|
-
b && t();
|
|
47
|
-
}, x = [
|
|
48
|
-
e.panel,
|
|
49
|
-
e[`size-${h}`],
|
|
50
|
-
e[`position-${p}`],
|
|
51
|
-
k
|
|
52
|
-
].filter(Boolean).join(" ");
|
|
53
|
-
return /* @__PURE__ */ a("div", { className: e.container, children: [
|
|
54
|
-
N && /* @__PURE__ */ i(
|
|
55
|
-
"div",
|
|
56
|
-
{
|
|
57
|
-
className: e.overlay,
|
|
58
|
-
onClick: g,
|
|
59
|
-
"aria-hidden": "true"
|
|
60
|
-
}
|
|
61
|
-
),
|
|
62
|
-
/* @__PURE__ */ a(
|
|
63
|
-
"div",
|
|
64
|
-
{
|
|
65
|
-
ref: E || c,
|
|
66
|
-
className: x,
|
|
67
|
-
role: "dialog",
|
|
68
|
-
"aria-modal": "true",
|
|
69
|
-
"aria-labelledby": "detail-panel-title",
|
|
70
|
-
tabIndex: -1,
|
|
71
|
-
...D,
|
|
72
|
-
children: [
|
|
73
|
-
/* @__PURE__ */ a("div", { className: e.header, children: [
|
|
74
|
-
/* @__PURE__ */ a("div", { className: e.headerContent, children: [
|
|
75
|
-
/* @__PURE__ */ i("h2", { id: "detail-panel-title", className: e.title, children: f }),
|
|
76
|
-
m && /* @__PURE__ */ i("p", { className: e.subtitle, children: m })
|
|
77
|
-
] }),
|
|
78
|
-
/* @__PURE__ */ a("div", { className: e.headerActions, children: [
|
|
79
|
-
y,
|
|
80
|
-
/* @__PURE__ */ i(
|
|
81
|
-
"button",
|
|
82
|
-
{
|
|
83
|
-
type: "button",
|
|
84
|
-
className: e.closeButton,
|
|
85
|
-
onClick: t,
|
|
86
|
-
"aria-label": "Close panel",
|
|
87
|
-
children: /* @__PURE__ */ i(z, { size: 20 })
|
|
88
|
-
}
|
|
89
|
-
)
|
|
90
|
-
] })
|
|
91
|
-
] }),
|
|
92
|
-
/* @__PURE__ */ i("div", { className: e.body, children: w ? /* @__PURE__ */ i("div", { className: e.loading, children: /* @__PURE__ */ i("div", { className: e.spinner }) }) : v }),
|
|
93
|
-
d && /* @__PURE__ */ i("div", { className: e.footer, children: d })
|
|
94
|
-
]
|
|
95
|
-
}
|
|
96
|
-
)
|
|
97
|
-
] });
|
|
98
|
-
}
|
|
99
|
-
);
|
|
100
|
-
B.displayName = "DetailPanel";
|
|
101
|
-
export {
|
|
102
|
-
B as DetailPanel
|
|
103
|
-
};
|
package/dist/index45.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),c=require("react"),e=require("./index220.cjs"),l=c.forwardRef(({orientation:s="horizontal",variant:t="solid",spacing:d="md",label:r,className:o,...n},u)=>{const i=[e.default.divider,e.default[s],e.default[t],e.default[`spacing-${d}`],r&&e.default.withLabel,o].filter(Boolean).join(" ");return r&&s==="horizontal"?a.jsxs("div",{className:i,role:"separator","aria-orientation":s,children:[a.jsx("span",{className:e.default.line}),a.jsx("span",{className:e.default.label,children:r}),a.jsx("span",{className:e.default.line})]}):a.jsx("hr",{ref:u,className:i,role:"separator","aria-orientation":s,...n})});l.displayName="Divider";exports.Divider=l;
|
package/dist/index45.mjs
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { jsxs as c, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as d } from "react";
|
|
3
|
-
import a from "./index220.mjs";
|
|
4
|
-
const p = d(
|
|
5
|
-
({
|
|
6
|
-
orientation: r = "horizontal",
|
|
7
|
-
variant: o = "solid",
|
|
8
|
-
spacing: l = "md",
|
|
9
|
-
label: e,
|
|
10
|
-
className: m,
|
|
11
|
-
...n
|
|
12
|
-
}, t) => {
|
|
13
|
-
const i = [
|
|
14
|
-
a.divider,
|
|
15
|
-
a[r],
|
|
16
|
-
a[o],
|
|
17
|
-
a[`spacing-${l}`],
|
|
18
|
-
e && a.withLabel,
|
|
19
|
-
m
|
|
20
|
-
].filter(Boolean).join(" ");
|
|
21
|
-
return e && r === "horizontal" ? /* @__PURE__ */ c(
|
|
22
|
-
"div",
|
|
23
|
-
{
|
|
24
|
-
className: i,
|
|
25
|
-
role: "separator",
|
|
26
|
-
"aria-orientation": r,
|
|
27
|
-
children: [
|
|
28
|
-
/* @__PURE__ */ s("span", { className: a.line }),
|
|
29
|
-
/* @__PURE__ */ s("span", { className: a.label, children: e }),
|
|
30
|
-
/* @__PURE__ */ s("span", { className: a.line })
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
) : /* @__PURE__ */ s(
|
|
34
|
-
"hr",
|
|
35
|
-
{
|
|
36
|
-
ref: t,
|
|
37
|
-
className: i,
|
|
38
|
-
role: "separator",
|
|
39
|
-
"aria-orientation": r,
|
|
40
|
-
...n
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
p.displayName = "Divider";
|
|
46
|
-
export {
|
|
47
|
-
p as Divider
|
|
48
|
-
};
|
package/dist/index46.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),s=require("react"),g=require("react-dom"),a=require("./index209.cjs"),u=s.forwardRef(({children:e,className:r,...o},d)=>t.jsx("div",{ref:d,className:`${a.default.header} ${r||""}`,...o,children:e}));u.displayName="Drawer.Header";const f=s.forwardRef(({children:e,className:r,...o},d)=>t.jsx("div",{ref:d,className:`${a.default.body} ${r||""}`,...o,children:e}));f.displayName="Drawer.Body";const w=s.forwardRef(({children:e,className:r,...o},d)=>t.jsx("div",{ref:d,className:`${a.default.footer} ${r||""}`,...o,children:e}));w.displayName="Drawer.Footer";const m=s.forwardRef(({open:e,onClose:r,placement:o="right",size:d="md",closeOnBackdrop:n=!0,closeOnEscape:c=!0,showCloseButton:y=!0,children:v,className:b,...h},j)=>{const l=s.useCallback(i=>{c&&i.key==="Escape"&&r()},[c,r]),k=s.useCallback(()=>{n&&r()},[n,r]);if(s.useEffect(()=>{if(e){const i=document.body.style.overflow;return document.body.style.overflow="hidden",document.addEventListener("keydown",l),()=>{document.body.style.overflow=i,document.removeEventListener("keydown",l)}}},[e,l]),!e)return null;const x=[a.default.overlay,e&&a.default.overlayVisible].filter(Boolean).join(" "),D=[a.default.drawer,a.default[o],a.default[`size-${d}`],e&&a.default.drawerVisible,b].filter(Boolean).join(" "),N=t.jsxs("div",{className:x,children:[t.jsx("div",{className:a.default.backdrop,onClick:k,"aria-hidden":"true"}),t.jsxs("div",{ref:j,className:D,role:"dialog","aria-modal":"true",...h,children:[y&&t.jsx("button",{type:"button",className:a.default.closeButton,onClick:r,"aria-label":"Close drawer",children:t.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),v]})]});return g.createPortal(N,document.body)});m.displayName="Drawer";const p=Object.assign(m,{Header:u,Body:f,Footer:w});exports.Drawer=p;
|
package/dist/index46.mjs
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { jsxs as m, jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as s, useCallback as u, useEffect as j } from "react";
|
|
3
|
-
import { createPortal as L } from "react-dom";
|
|
4
|
-
import o from "./index209.mjs";
|
|
5
|
-
const w = s(
|
|
6
|
-
({ children: e, className: r, ...t }, a) => /* @__PURE__ */ d(
|
|
7
|
-
"div",
|
|
8
|
-
{
|
|
9
|
-
ref: a,
|
|
10
|
-
className: `${o.header} ${r || ""}`,
|
|
11
|
-
...t,
|
|
12
|
-
children: e
|
|
13
|
-
}
|
|
14
|
-
)
|
|
15
|
-
);
|
|
16
|
-
w.displayName = "Drawer.Header";
|
|
17
|
-
const y = s(
|
|
18
|
-
({ children: e, className: r, ...t }, a) => /* @__PURE__ */ d("div", { ref: a, className: `${o.body} ${r || ""}`, ...t, children: e })
|
|
19
|
-
);
|
|
20
|
-
y.displayName = "Drawer.Body";
|
|
21
|
-
const f = s(
|
|
22
|
-
({ children: e, className: r, ...t }, a) => /* @__PURE__ */ d(
|
|
23
|
-
"div",
|
|
24
|
-
{
|
|
25
|
-
ref: a,
|
|
26
|
-
className: `${o.footer} ${r || ""}`,
|
|
27
|
-
...t,
|
|
28
|
-
children: e
|
|
29
|
-
}
|
|
30
|
-
)
|
|
31
|
-
);
|
|
32
|
-
f.displayName = "Drawer.Footer";
|
|
33
|
-
const v = s(
|
|
34
|
-
({
|
|
35
|
-
open: e,
|
|
36
|
-
onClose: r,
|
|
37
|
-
placement: t = "right",
|
|
38
|
-
size: a = "md",
|
|
39
|
-
closeOnBackdrop: n = !0,
|
|
40
|
-
closeOnEscape: c = !0,
|
|
41
|
-
showCloseButton: h = !0,
|
|
42
|
-
children: b,
|
|
43
|
-
className: k,
|
|
44
|
-
...p
|
|
45
|
-
}, N) => {
|
|
46
|
-
const i = u(
|
|
47
|
-
(l) => {
|
|
48
|
-
c && l.key === "Escape" && r();
|
|
49
|
-
},
|
|
50
|
-
[c, r]
|
|
51
|
-
), D = u(() => {
|
|
52
|
-
n && r();
|
|
53
|
-
}, [n, r]);
|
|
54
|
-
if (j(() => {
|
|
55
|
-
if (e) {
|
|
56
|
-
const l = document.body.style.overflow;
|
|
57
|
-
return document.body.style.overflow = "hidden", document.addEventListener("keydown", i), () => {
|
|
58
|
-
document.body.style.overflow = l, document.removeEventListener("keydown", i);
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
}, [e, i]), !e)
|
|
62
|
-
return null;
|
|
63
|
-
const g = [o.overlay, e && o.overlayVisible].filter(Boolean).join(" "), B = [
|
|
64
|
-
o.drawer,
|
|
65
|
-
o[t],
|
|
66
|
-
o[`size-${a}`],
|
|
67
|
-
e && o.drawerVisible,
|
|
68
|
-
k
|
|
69
|
-
].filter(Boolean).join(" "), $ = /* @__PURE__ */ m("div", { className: g, children: [
|
|
70
|
-
/* @__PURE__ */ d(
|
|
71
|
-
"div",
|
|
72
|
-
{
|
|
73
|
-
className: o.backdrop,
|
|
74
|
-
onClick: D,
|
|
75
|
-
"aria-hidden": "true"
|
|
76
|
-
}
|
|
77
|
-
),
|
|
78
|
-
/* @__PURE__ */ m(
|
|
79
|
-
"div",
|
|
80
|
-
{
|
|
81
|
-
ref: N,
|
|
82
|
-
className: B,
|
|
83
|
-
role: "dialog",
|
|
84
|
-
"aria-modal": "true",
|
|
85
|
-
...p,
|
|
86
|
-
children: [
|
|
87
|
-
h && /* @__PURE__ */ d(
|
|
88
|
-
"button",
|
|
89
|
-
{
|
|
90
|
-
type: "button",
|
|
91
|
-
className: o.closeButton,
|
|
92
|
-
onClick: r,
|
|
93
|
-
"aria-label": "Close drawer",
|
|
94
|
-
children: /* @__PURE__ */ d(
|
|
95
|
-
"svg",
|
|
96
|
-
{
|
|
97
|
-
width: "20",
|
|
98
|
-
height: "20",
|
|
99
|
-
viewBox: "0 0 20 20",
|
|
100
|
-
fill: "none",
|
|
101
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
102
|
-
children: /* @__PURE__ */ d(
|
|
103
|
-
"path",
|
|
104
|
-
{
|
|
105
|
-
d: "M15 5L5 15M5 5L15 15",
|
|
106
|
-
stroke: "currentColor",
|
|
107
|
-
strokeWidth: "1.5",
|
|
108
|
-
strokeLinecap: "round",
|
|
109
|
-
strokeLinejoin: "round"
|
|
110
|
-
}
|
|
111
|
-
)
|
|
112
|
-
}
|
|
113
|
-
)
|
|
114
|
-
}
|
|
115
|
-
),
|
|
116
|
-
b
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
)
|
|
120
|
-
] });
|
|
121
|
-
return L($, document.body);
|
|
122
|
-
}
|
|
123
|
-
);
|
|
124
|
-
v.displayName = "Drawer";
|
|
125
|
-
const H = Object.assign(v, {
|
|
126
|
-
Header: w,
|
|
127
|
-
Body: y,
|
|
128
|
-
Footer: f
|
|
129
|
-
});
|
|
130
|
-
export {
|
|
131
|
-
H as Drawer
|
|
132
|
-
};
|
package/dist/index47.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),s=require("react"),U=require("react-dom"),i=require("./index189.cjs"),V=(e,l,m)=>{const r=window.scrollX,c=window.scrollY,u=4;let n=0,h=0;switch(m){case"bottom-start":n=e.bottom+c+u,h=e.left+r;break;case"bottom":n=e.bottom+c+u,h=e.left+r+(e.width-l.width)/2;break;case"bottom-end":n=e.bottom+c+u,h=e.right+r-l.width;break;case"top-start":n=e.top+c-l.height-u,h=e.left+r;break;case"top":n=e.top+c-l.height-u,h=e.left+r+(e.width-l.width)/2;break;case"top-end":n=e.top+c-l.height-u,h=e.right+r-l.width;break}return{top:n,left:h}},_=({item:e,onSelect:l,onNavigate:m})=>{const r=()=>{e.disabled||(e.onClick?.(),l())},c=n=>{n.key==="Enter"||n.key===" "?(n.preventDefault(),r()):n.key==="ArrowDown"?(n.preventDefault(),m?.("down")):n.key==="ArrowUp"&&(n.preventDefault(),m?.("up"))},u=[i.default.item,e.disabled&&i.default.disabled,e.danger&&i.default.danger].filter(Boolean).join(" ");return a.jsxs("div",{className:u,role:"menuitem",tabIndex:e.disabled?-1:0,"aria-disabled":e.disabled,onClick:r,onKeyDown:c,children:[e.icon&&a.jsx("span",{className:i.default.icon,"aria-hidden":"true",children:e.icon}),a.jsx("span",{className:i.default.label,children:e.label}),e.shortcut&&a.jsx("span",{className:i.default.shortcut,"aria-hidden":"true",children:e.shortcut})]})},P=s.forwardRef(({trigger:e,items:l=[],groups:m=[],placement:r="bottom-start",open:c,onOpenChange:u,onSelect:n,minWidth:h=180,closeOnSelect:y=!0,className:F,...S},A)=>{const[B,M]=s.useState(!1),[C,z]=s.useState({top:0,left:0}),[v,E]=s.useState(-1),w=s.useRef(null),k=s.useRef(null),x=s.useRef(new Map);s.useImperativeHandle(A,()=>w.current);const j=c!==void 0,f=j?c:B,I=(m.length>0?m:[{items:l}]).flatMap(t=>t.items).filter(t=>!t.disabled),b=s.useCallback(t=>{j||M(t),u?.(t),t||E(-1)},[j,u]),p=s.useCallback(()=>{if(!w.current||!k.current)return;const t=w.current.getBoundingClientRect(),d=k.current.getBoundingClientRect(),o=V(t,d,r);z(o)},[r]);s.useEffect(()=>{if(f)return requestAnimationFrame(p),window.addEventListener("resize",p),window.addEventListener("scroll",p,!0),requestAnimationFrame(()=>{const t=x.current.get(0);t&&(t.focus(),E(0))}),()=>{window.removeEventListener("resize",p),window.removeEventListener("scroll",p,!0)}},[f,p]),s.useEffect(()=>{if(!f)return;const t=d=>{const o=d.target;w.current&&!w.current.contains(o)&&k.current&&!k.current.contains(o)&&b(!1)};return document.addEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)},[f,b]),s.useEffect(()=>{if(!f)return;const t=d=>{d.key==="Escape"&&b(!1)};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[f,b]);const K=s.useCallback(()=>{b(!f)},[f,b]),T=s.useCallback(t=>{n?.(t),y&&b(!1)},[y,n,b]),X=s.useCallback(t=>{const d=I.length;if(d===0)return;let o;t==="down"?o=v<d-1?v+1:0:o=v>0?v-1:d-1,E(o),x.current.get(o)?.focus()},[v,I.length]),Y=s.isValidElement(e)?s.cloneElement(e,{onClick:K,"aria-expanded":f,"aria-haspopup":"menu"}):e,D=m.length>0?m:[{items:l}],H=[i.default.menu,f&&i.default.visible,F].filter(Boolean).join(" ");let N=0;const O=a.jsx("div",{ref:k,className:H,style:{top:C.top,left:C.left,minWidth:h},role:"menu","aria-orientation":"vertical",...S,children:D.map((t,d)=>a.jsxs("div",{className:i.default.group,children:[t.label&&a.jsx("div",{className:i.default.groupLabel,children:t.label}),t.items.map(o=>{const L=N;return o.disabled||N++,a.jsx("div",{ref:q=>{q&&!o.disabled&&x.current.set(L,q)},children:a.jsx(_,{item:o,onSelect:()=>T(o),onNavigate:X})},o.id)}),d<D.length-1&&a.jsx("div",{className:i.default.separator,role:"separator"})]},d))});return a.jsxs(a.Fragment,{children:[a.jsx("div",{ref:w,className:i.default.trigger,children:Y}),f&&U.createPortal(O,document.body)]})});P.displayName="Dropdown";exports.Dropdown=P;
|
package/dist/index47.mjs
DELETED
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import { jsx as m, jsxs as L, Fragment as O } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as Q, useState as N, useRef as C, useImperativeHandle as W, useCallback as k, useEffect as x, isValidElement as Z, cloneElement as _ } from "react";
|
|
3
|
-
import { createPortal as $ } from "react-dom";
|
|
4
|
-
import r from "./index189.mjs";
|
|
5
|
-
const g = (e, s, u) => {
|
|
6
|
-
const a = window.scrollX, i = window.scrollY, d = 4;
|
|
7
|
-
let n = 0, f = 0;
|
|
8
|
-
switch (u) {
|
|
9
|
-
case "bottom-start":
|
|
10
|
-
n = e.bottom + i + d, f = e.left + a;
|
|
11
|
-
break;
|
|
12
|
-
case "bottom":
|
|
13
|
-
n = e.bottom + i + d, f = e.left + a + (e.width - s.width) / 2;
|
|
14
|
-
break;
|
|
15
|
-
case "bottom-end":
|
|
16
|
-
n = e.bottom + i + d, f = e.right + a - s.width;
|
|
17
|
-
break;
|
|
18
|
-
case "top-start":
|
|
19
|
-
n = e.top + i - s.height - d, f = e.left + a;
|
|
20
|
-
break;
|
|
21
|
-
case "top":
|
|
22
|
-
n = e.top + i - s.height - d, f = e.left + a + (e.width - s.width) / 2;
|
|
23
|
-
break;
|
|
24
|
-
case "top-end":
|
|
25
|
-
n = e.top + i - s.height - d, f = e.right + a - s.width;
|
|
26
|
-
break;
|
|
27
|
-
}
|
|
28
|
-
return { top: n, left: f };
|
|
29
|
-
}, R = ({
|
|
30
|
-
item: e,
|
|
31
|
-
onSelect: s,
|
|
32
|
-
onNavigate: u
|
|
33
|
-
}) => {
|
|
34
|
-
const a = () => {
|
|
35
|
-
e.disabled || (e.onClick?.(), s());
|
|
36
|
-
}, i = (n) => {
|
|
37
|
-
n.key === "Enter" || n.key === " " ? (n.preventDefault(), a()) : n.key === "ArrowDown" ? (n.preventDefault(), u?.("down")) : n.key === "ArrowUp" && (n.preventDefault(), u?.("up"));
|
|
38
|
-
}, d = [
|
|
39
|
-
r.item,
|
|
40
|
-
e.disabled && r.disabled,
|
|
41
|
-
e.danger && r.danger
|
|
42
|
-
].filter(Boolean).join(" ");
|
|
43
|
-
return /* @__PURE__ */ L(
|
|
44
|
-
"div",
|
|
45
|
-
{
|
|
46
|
-
className: d,
|
|
47
|
-
role: "menuitem",
|
|
48
|
-
tabIndex: e.disabled ? -1 : 0,
|
|
49
|
-
"aria-disabled": e.disabled,
|
|
50
|
-
onClick: a,
|
|
51
|
-
onKeyDown: i,
|
|
52
|
-
children: [
|
|
53
|
-
e.icon && /* @__PURE__ */ m("span", { className: r.icon, "aria-hidden": "true", children: e.icon }),
|
|
54
|
-
/* @__PURE__ */ m("span", { className: r.label, children: e.label }),
|
|
55
|
-
e.shortcut && /* @__PURE__ */ m("span", { className: r.shortcut, "aria-hidden": "true", children: e.shortcut })
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
);
|
|
59
|
-
}, ee = Q(
|
|
60
|
-
({
|
|
61
|
-
trigger: e,
|
|
62
|
-
items: s = [],
|
|
63
|
-
groups: u = [],
|
|
64
|
-
placement: a = "bottom-start",
|
|
65
|
-
open: i,
|
|
66
|
-
onOpenChange: d,
|
|
67
|
-
onSelect: n,
|
|
68
|
-
minWidth: f = 180,
|
|
69
|
-
closeOnSelect: D = !0,
|
|
70
|
-
className: q,
|
|
71
|
-
...z
|
|
72
|
-
}, K) => {
|
|
73
|
-
const [X, Y] = N(!1), [F, H] = N({ top: 0, left: 0 }), [b, E] = N(-1), p = C(null), v = C(null), I = C(/* @__PURE__ */ new Map());
|
|
74
|
-
W(K, () => p.current);
|
|
75
|
-
const y = i !== void 0, c = y ? i : X, P = (u.length > 0 ? u : [{ items: s }]).flatMap((t) => t.items).filter((t) => !t.disabled), h = k(
|
|
76
|
-
(t) => {
|
|
77
|
-
y || Y(t), d?.(t), t || E(-1);
|
|
78
|
-
},
|
|
79
|
-
[y, d]
|
|
80
|
-
), w = k(() => {
|
|
81
|
-
if (!p.current || !v.current) return;
|
|
82
|
-
const t = p.current.getBoundingClientRect(), l = v.current.getBoundingClientRect(), o = g(t, l, a);
|
|
83
|
-
H(o);
|
|
84
|
-
}, [a]);
|
|
85
|
-
x(() => {
|
|
86
|
-
if (c)
|
|
87
|
-
return requestAnimationFrame(w), window.addEventListener("resize", w), window.addEventListener("scroll", w, !0), requestAnimationFrame(() => {
|
|
88
|
-
const t = I.current.get(0);
|
|
89
|
-
t && (t.focus(), E(0));
|
|
90
|
-
}), () => {
|
|
91
|
-
window.removeEventListener("resize", w), window.removeEventListener("scroll", w, !0);
|
|
92
|
-
};
|
|
93
|
-
}, [c, w]), x(() => {
|
|
94
|
-
if (!c) return;
|
|
95
|
-
const t = (l) => {
|
|
96
|
-
const o = l.target;
|
|
97
|
-
p.current && !p.current.contains(o) && v.current && !v.current.contains(o) && h(!1);
|
|
98
|
-
};
|
|
99
|
-
return document.addEventListener("mousedown", t), () => document.removeEventListener("mousedown", t);
|
|
100
|
-
}, [c, h]), x(() => {
|
|
101
|
-
if (!c) return;
|
|
102
|
-
const t = (l) => {
|
|
103
|
-
l.key === "Escape" && h(!1);
|
|
104
|
-
};
|
|
105
|
-
return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
|
|
106
|
-
}, [c, h]);
|
|
107
|
-
const S = k(() => {
|
|
108
|
-
h(!c);
|
|
109
|
-
}, [c, h]), T = k(
|
|
110
|
-
(t) => {
|
|
111
|
-
n?.(t), D && h(!1);
|
|
112
|
-
},
|
|
113
|
-
[D, n, h]
|
|
114
|
-
), U = k(
|
|
115
|
-
(t) => {
|
|
116
|
-
const l = P.length;
|
|
117
|
-
if (l === 0) return;
|
|
118
|
-
let o;
|
|
119
|
-
t === "down" ? o = b < l - 1 ? b + 1 : 0 : o = b > 0 ? b - 1 : l - 1, E(o), I.current.get(o)?.focus();
|
|
120
|
-
},
|
|
121
|
-
[b, P.length]
|
|
122
|
-
), V = Z(e) ? _(e, {
|
|
123
|
-
onClick: S,
|
|
124
|
-
"aria-expanded": c,
|
|
125
|
-
"aria-haspopup": "menu"
|
|
126
|
-
}) : e, j = u.length > 0 ? u : [{ items: s }], G = [r.menu, c && r.visible, q].filter(Boolean).join(" ");
|
|
127
|
-
let A = 0;
|
|
128
|
-
const J = /* @__PURE__ */ m(
|
|
129
|
-
"div",
|
|
130
|
-
{
|
|
131
|
-
ref: v,
|
|
132
|
-
className: G,
|
|
133
|
-
style: {
|
|
134
|
-
top: F.top,
|
|
135
|
-
left: F.left,
|
|
136
|
-
minWidth: f
|
|
137
|
-
},
|
|
138
|
-
role: "menu",
|
|
139
|
-
"aria-orientation": "vertical",
|
|
140
|
-
...z,
|
|
141
|
-
children: j.map((t, l) => /* @__PURE__ */ L("div", { className: r.group, children: [
|
|
142
|
-
t.label && /* @__PURE__ */ m("div", { className: r.groupLabel, children: t.label }),
|
|
143
|
-
t.items.map((o) => {
|
|
144
|
-
const B = A;
|
|
145
|
-
return o.disabled || A++, /* @__PURE__ */ m(
|
|
146
|
-
"div",
|
|
147
|
-
{
|
|
148
|
-
ref: (M) => {
|
|
149
|
-
M && !o.disabled && I.current.set(B, M);
|
|
150
|
-
},
|
|
151
|
-
children: /* @__PURE__ */ m(
|
|
152
|
-
R,
|
|
153
|
-
{
|
|
154
|
-
item: o,
|
|
155
|
-
onSelect: () => T(o),
|
|
156
|
-
onNavigate: U
|
|
157
|
-
}
|
|
158
|
-
)
|
|
159
|
-
},
|
|
160
|
-
o.id
|
|
161
|
-
);
|
|
162
|
-
}),
|
|
163
|
-
l < j.length - 1 && /* @__PURE__ */ m("div", { className: r.separator, role: "separator" })
|
|
164
|
-
] }, l))
|
|
165
|
-
}
|
|
166
|
-
);
|
|
167
|
-
return /* @__PURE__ */ L(O, { children: [
|
|
168
|
-
/* @__PURE__ */ m("div", { ref: p, className: r.trigger, children: V }),
|
|
169
|
-
c && $(J, document.body)
|
|
170
|
-
] });
|
|
171
|
-
}
|
|
172
|
-
);
|
|
173
|
-
ee.displayName = "Dropdown";
|
|
174
|
-
export {
|
|
175
|
-
ee as Dropdown
|
|
176
|
-
};
|
package/dist/index48.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),f=require("react"),e=require("./index233.cjs"),r=f.forwardRef(({icon:a,title:i,description:s,action:l,secondaryAction:d,size:c="md",className:m,...u},n)=>{const o=[e.default.emptyState,e.default[c],m].filter(Boolean).join(" ");return t.jsxs("div",{ref:n,className:o,...u,children:[a&&t.jsx("div",{className:e.default.icon,"aria-hidden":"true",children:a}),t.jsx("h3",{className:e.default.title,children:i}),s&&t.jsx("p",{className:e.default.description,children:s}),(l||d)&&t.jsxs("div",{className:e.default.actions,children:[l,d]})]})});r.displayName="EmptyState";exports.EmptyState=r;
|
package/dist/index48.mjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { jsxs as i, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as h } from "react";
|
|
3
|
-
import e from "./index233.mjs";
|
|
4
|
-
const N = h(
|
|
5
|
-
({
|
|
6
|
-
icon: a,
|
|
7
|
-
title: l,
|
|
8
|
-
description: t,
|
|
9
|
-
action: r,
|
|
10
|
-
secondaryAction: m,
|
|
11
|
-
size: d = "md",
|
|
12
|
-
className: c,
|
|
13
|
-
...o
|
|
14
|
-
}, n) => {
|
|
15
|
-
const p = [e.emptyState, e[d], c].filter(Boolean).join(" ");
|
|
16
|
-
return /* @__PURE__ */ i("div", { ref: n, className: p, ...o, children: [
|
|
17
|
-
a && /* @__PURE__ */ s("div", { className: e.icon, "aria-hidden": "true", children: a }),
|
|
18
|
-
/* @__PURE__ */ s("h3", { className: e.title, children: l }),
|
|
19
|
-
t && /* @__PURE__ */ s("p", { className: e.description, children: t }),
|
|
20
|
-
(r || m) && /* @__PURE__ */ i("div", { className: e.actions, children: [
|
|
21
|
-
r,
|
|
22
|
-
m
|
|
23
|
-
] })
|
|
24
|
-
] });
|
|
25
|
-
}
|
|
26
|
-
);
|
|
27
|
-
N.displayName = "EmptyState";
|
|
28
|
-
export {
|
|
29
|
-
N as EmptyState
|
|
30
|
-
};
|
package/dist/index49.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),a=require("lucide-react"),t=require("./index179.cjs");class i extends o.Component{constructor(r){super(r),this.reset=()=>{this.setState({hasError:!1,error:null})},this.state={hasError:!1,error:null}}static getDerivedStateFromError(r){return{hasError:!0,error:r}}componentDidCatch(r,s){this.props.onError?.(r,s)}componentDidUpdate(r){this.state.hasError&&this.props.resetKey!==void 0&&r.resetKey!==this.props.resetKey&&this.reset()}render(){if(this.state.hasError&&this.state.error){const{fallback:r}=this.props;return typeof r=="function"?r(this.state.error,this.reset):r||e.jsxs("div",{className:t.default.errorBoundary,role:"alert",children:[e.jsx(a.AlertCircle,{size:32,className:t.default.icon}),e.jsx("p",{className:t.default.title,children:"Something went wrong"}),e.jsx("p",{className:t.default.message,children:this.state.error.message}),e.jsx("button",{className:t.default.resetButton,onClick:this.reset,type:"button",children:"Try again"})]})}return this.props.children}}exports.ErrorBoundary=i;
|
package/dist/index49.mjs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import i from "react";
|
|
3
|
-
import { AlertCircle as a } from "lucide-react";
|
|
4
|
-
import e from "./index179.mjs";
|
|
5
|
-
class m extends i.Component {
|
|
6
|
-
constructor(r) {
|
|
7
|
-
super(r), this.reset = () => {
|
|
8
|
-
this.setState({ hasError: !1, error: null });
|
|
9
|
-
}, this.state = { hasError: !1, error: null };
|
|
10
|
-
}
|
|
11
|
-
static getDerivedStateFromError(r) {
|
|
12
|
-
return { hasError: !0, error: r };
|
|
13
|
-
}
|
|
14
|
-
componentDidCatch(r, s) {
|
|
15
|
-
this.props.onError?.(r, s);
|
|
16
|
-
}
|
|
17
|
-
componentDidUpdate(r) {
|
|
18
|
-
this.state.hasError && this.props.resetKey !== void 0 && r.resetKey !== this.props.resetKey && this.reset();
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
if (this.state.hasError && this.state.error) {
|
|
22
|
-
const { fallback: r } = this.props;
|
|
23
|
-
return typeof r == "function" ? r(this.state.error, this.reset) : r || /* @__PURE__ */ o("div", { className: e.errorBoundary, role: "alert", children: [
|
|
24
|
-
/* @__PURE__ */ t(a, { size: 32, className: e.icon }),
|
|
25
|
-
/* @__PURE__ */ t("p", { className: e.title, children: "Something went wrong" }),
|
|
26
|
-
/* @__PURE__ */ t("p", { className: e.message, children: this.state.error.message }),
|
|
27
|
-
/* @__PURE__ */ t(
|
|
28
|
-
"button",
|
|
29
|
-
{
|
|
30
|
-
className: e.resetButton,
|
|
31
|
-
onClick: this.reset,
|
|
32
|
-
type: "button",
|
|
33
|
-
children: "Try again"
|
|
34
|
-
}
|
|
35
|
-
)
|
|
36
|
-
] });
|
|
37
|
-
}
|
|
38
|
-
return this.props.children;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
export {
|
|
42
|
-
m as ErrorBoundary
|
|
43
|
-
};
|