@orion-ds/react 4.9.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/index17.cjs +0 -1
- package/dist/index17.mjs +0 -94
- package/dist/index178.cjs +0 -1
- package/dist/index178.mjs +0 -20
- package/dist/index179.cjs +0 -1
- package/dist/index179.mjs +0 -106
- package/dist/index18.cjs +0 -1
- package/dist/index18.mjs +0 -128
- package/dist/index187.cjs +0 -1
- package/dist/index187.mjs +0 -71
- package/dist/index189.cjs +0 -1
- package/dist/index189.mjs +0 -107
- 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/index221.cjs +0 -1
- package/dist/index221.mjs +0 -36
- package/dist/index222.cjs +0 -1
- package/dist/index222.mjs +0 -46
- package/dist/index223.cjs +0 -1
- package/dist/index223.mjs +0 -173
- package/dist/index224.cjs +0 -1
- package/dist/index224.mjs +0 -188
- package/dist/index225.cjs +0 -1
- package/dist/index225.mjs +0 -31
- package/dist/index226.cjs +0 -1
- package/dist/index226.mjs +0 -93
- package/dist/index227.cjs +0 -1
- package/dist/index227.mjs +0 -55
- package/dist/index228.cjs +0 -1
- package/dist/index228.mjs +0 -69
- package/dist/index229.cjs +0 -1
- package/dist/index229.mjs +0 -127
- package/dist/index23.cjs +0 -1
- package/dist/index23.mjs +0 -20
- package/dist/index230.cjs +0 -1
- package/dist/index230.mjs +0 -111
- package/dist/index231.cjs +0 -1
- package/dist/index231.mjs +0 -114
- package/dist/index232.cjs +0 -1
- package/dist/index232.mjs +0 -125
- package/dist/index233.cjs +0 -1
- package/dist/index233.mjs +0 -217
- package/dist/index24.cjs +0 -1
- package/dist/index24.mjs +0 -107
- package/dist/index244.cjs +0 -1
- package/dist/index244.mjs +0 -16
- package/dist/index25.cjs +0 -1
- package/dist/index25.mjs +0 -84
- package/dist/index256.cjs +0 -1
- package/dist/index256.mjs +0 -47
- package/dist/index258.cjs +0 -1
- package/dist/index258.mjs +0 -120
- package/dist/index259.cjs +0 -1
- package/dist/index259.mjs +0 -196
- package/dist/index26.cjs +0 -1
- package/dist/index26.mjs +0 -71
- package/dist/index262.cjs +0 -1
- package/dist/index262.mjs +0 -18
- package/dist/index264.cjs +0 -1
- package/dist/index264.mjs +0 -58
- package/dist/index27.cjs +0 -1
- package/dist/index27.mjs +0 -135
- package/dist/index272.cjs +0 -1
- package/dist/index272.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 -77
- package/dist/index279.cjs +0 -1
- package/dist/index279.mjs +0 -176
- package/dist/index28.cjs +0 -1
- package/dist/index28.mjs +0 -106
- package/dist/index284.cjs +0 -1
- package/dist/index284.mjs +0 -114
- package/dist/index29.cjs +0 -1
- package/dist/index29.mjs +0 -178
- package/dist/index290.cjs +0 -1
- package/dist/index290.mjs +0 -57
- 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/{index248.cjs → blocks/sections/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
- /package/dist/{index248.mjs → blocks/sections/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
- /package/dist/{index255.cjs → blocks/sections/AppDownload/AppDownload.module.css.cjs} +0 -0
- /package/dist/{index255.mjs → blocks/sections/AppDownload/AppDownload.module.css.mjs} +0 -0
- /package/dist/{index250.cjs → blocks/sections/Blog/Blog.module.css.cjs} +0 -0
- /package/dist/{index250.mjs → blocks/sections/Blog/Blog.module.css.mjs} +0 -0
- /package/dist/{index251.cjs → blocks/sections/Breadcrumbs/Breadcrumbs.module.css.cjs} +0 -0
- /package/dist/{index251.mjs → blocks/sections/Breadcrumbs/Breadcrumbs.module.css.mjs} +0 -0
- /package/dist/{index274.cjs → blocks/sections/CTA/CTA.module.css.cjs} +0 -0
- /package/dist/{index274.mjs → blocks/sections/CTA/CTA.module.css.mjs} +0 -0
- /package/dist/{index268.cjs → blocks/sections/CarouselSection/CarouselSection.module.css.cjs} +0 -0
- /package/dist/{index268.mjs → blocks/sections/CarouselSection/CarouselSection.module.css.mjs} +0 -0
- /package/dist/{index266.cjs → blocks/sections/Chat/Chat.module.css.cjs} +0 -0
- /package/dist/{index266.mjs → blocks/sections/Chat/Chat.module.css.mjs} +0 -0
- /package/dist/{index271.cjs → blocks/sections/Comparison/Comparison.module.css.cjs} +0 -0
- /package/dist/{index271.mjs → blocks/sections/Comparison/Comparison.module.css.mjs} +0 -0
- /package/dist/{index253.cjs → blocks/sections/Contact/Contact.module.css.cjs} +0 -0
- /package/dist/{index253.mjs → blocks/sections/Contact/Contact.module.css.mjs} +0 -0
- /package/dist/{index246.cjs → blocks/sections/EmptyState/EmptyState.module.css.cjs} +0 -0
- /package/dist/{index246.mjs → blocks/sections/EmptyState/EmptyState.module.css.mjs} +0 -0
- /package/dist/{index265.cjs → blocks/sections/FAQ/FAQ.module.css.cjs} +0 -0
- /package/dist/{index265.mjs → blocks/sections/FAQ/FAQ.module.css.mjs} +0 -0
- /package/dist/{index245.cjs → blocks/sections/Features/Features.module.css.cjs} +0 -0
- /package/dist/{index245.mjs → blocks/sections/Features/Features.module.css.mjs} +0 -0
- /package/dist/{index269.cjs → blocks/sections/Footer/Footer.module.css.cjs} +0 -0
- /package/dist/{index269.mjs → blocks/sections/Footer/Footer.module.css.mjs} +0 -0
- /package/dist/{index247.cjs → blocks/sections/Gallery/Gallery.module.css.cjs} +0 -0
- /package/dist/{index247.mjs → blocks/sections/Gallery/Gallery.module.css.mjs} +0 -0
- /package/dist/{index249.cjs → blocks/sections/Hero/Hero.module.css.cjs} +0 -0
- /package/dist/{index249.mjs → blocks/sections/Hero/Hero.module.css.mjs} +0 -0
- /package/dist/{index261.cjs → blocks/sections/LogoCloud/LogoCloud.module.css.cjs} +0 -0
- /package/dist/{index261.mjs → blocks/sections/LogoCloud/LogoCloud.module.css.mjs} +0 -0
- /package/dist/{index270.cjs → blocks/sections/Newsletter/Newsletter.module.css.cjs} +0 -0
- /package/dist/{index270.mjs → blocks/sections/Newsletter/Newsletter.module.css.mjs} +0 -0
- /package/dist/{index273.cjs → blocks/sections/Pricing/Pricing.module.css.cjs} +0 -0
- /package/dist/{index273.mjs → blocks/sections/Pricing/Pricing.module.css.mjs} +0 -0
- /package/dist/{index267.cjs → blocks/sections/SettingsLayout/SettingsLayout.module.css.cjs} +0 -0
- /package/dist/{index267.mjs → blocks/sections/SettingsLayout/SettingsLayout.module.css.mjs} +0 -0
- /package/dist/{index254.cjs → blocks/sections/SocialProof/SocialProof.module.css.cjs} +0 -0
- /package/dist/{index254.mjs → blocks/sections/SocialProof/SocialProof.module.css.mjs} +0 -0
- /package/dist/{index263.cjs → blocks/sections/Stats/Stats.module.css.cjs} +0 -0
- /package/dist/{index263.mjs → blocks/sections/Stats/Stats.module.css.mjs} +0 -0
- /package/dist/{index260.cjs → blocks/sections/Stepper/Stepper.module.css.cjs} +0 -0
- /package/dist/{index260.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/{index257.cjs → blocks/sections/Testimonials/Testimonials.module.css.cjs} +0 -0
- /package/dist/{index257.mjs → blocks/sections/Testimonials/Testimonials.module.css.mjs} +0 -0
- /package/dist/{index252.cjs → blocks/sections/Timeline/Timeline.module.css.cjs} +0 -0
- /package/dist/{index252.mjs → blocks/sections/Timeline/Timeline.module.css.mjs} +0 -0
- /package/dist/{index203.cjs → blocks/templates/app/AgentEditor/AgentEditor.module.css.cjs} +0 -0
- /package/dist/{index203.mjs → blocks/templates/app/AgentEditor/AgentEditor.module.css.mjs} +0 -0
- /package/dist/{index206.cjs → blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.cjs} +0 -0
- /package/dist/{index206.mjs → blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.mjs} +0 -0
- /package/dist/{index213.cjs → blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.cjs} +0 -0
- /package/dist/{index213.mjs → blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.mjs} +0 -0
- /package/dist/{index180.cjs → blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.cjs} +0 -0
- /package/dist/{index180.mjs → blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.mjs} +0 -0
- /package/dist/{index211.cjs → blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.cjs} +0 -0
- /package/dist/{index211.mjs → blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.mjs} +0 -0
- /package/dist/{index190.cjs → blocks/templates/app/LoginTemplate/LoginTemplate.module.css.cjs} +0 -0
- /package/dist/{index190.mjs → blocks/templates/app/LoginTemplate/LoginTemplate.module.css.mjs} +0 -0
- /package/dist/{index208.cjs → blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.cjs} +0 -0
- /package/dist/{index208.mjs → blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.mjs} +0 -0
- /package/dist/{index188.cjs → blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.cjs} +0 -0
- /package/dist/{index188.mjs → blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.mjs} +0 -0
- /package/dist/{index195.cjs → components/Accordion/Accordion.module.css.cjs} +0 -0
- /package/dist/{index195.mjs → components/Accordion/Accordion.module.css.mjs} +0 -0
- /package/dist/{index239.cjs → components/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
- /package/dist/{index239.mjs → components/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
- /package/dist/{index152.cjs → components/AgentCard/AgentCard.module.css.cjs} +0 -0
- /package/dist/{index152.mjs → components/AgentCard/AgentCard.module.css.mjs} +0 -0
- /package/dist/{index200.cjs → components/Alert/Alert.module.css.cjs} +0 -0
- /package/dist/{index200.mjs → components/Alert/Alert.module.css.mjs} +0 -0
- /package/dist/{index212.cjs → components/AlertDialog/AlertDialog.module.css.cjs} +0 -0
- /package/dist/{index212.mjs → components/AlertDialog/AlertDialog.module.css.mjs} +0 -0
- /package/dist/{index184.cjs → components/Avatar/Avatar.module.css.cjs} +0 -0
- /package/dist/{index184.mjs → components/Avatar/Avatar.module.css.mjs} +0 -0
- /package/dist/{index194.cjs → components/Badge/Badge.module.css.cjs} +0 -0
- /package/dist/{index194.mjs → components/Badge/Badge.module.css.mjs} +0 -0
- /package/dist/{index207.cjs → components/Banner/Banner.module.css.cjs} +0 -0
- /package/dist/{index207.mjs → components/Banner/Banner.module.css.mjs} +0 -0
- /package/dist/{index201.cjs → components/Breadcrumb/Breadcrumb.module.css.cjs} +0 -0
- /package/dist/{index201.mjs → components/Breadcrumb/Breadcrumb.module.css.mjs} +0 -0
- /package/dist/{index156.cjs → components/Button/Button.module.css.cjs} +0 -0
- /package/dist/{index156.mjs → components/Button/Button.module.css.mjs} +0 -0
- /package/dist/{index209.cjs → components/Calendar/Calendar.module.css.cjs} +0 -0
- /package/dist/{index209.mjs → components/Calendar/Calendar.module.css.mjs} +0 -0
- /package/dist/{index175.cjs → components/Card/Card.module.css.cjs} +0 -0
- /package/dist/{index175.mjs → components/Card/Card.module.css.mjs} +0 -0
- /package/dist/{index171.cjs → components/Carousel/Carousel.module.css.cjs} +0 -0
- /package/dist/{index171.mjs → components/Carousel/Carousel.module.css.mjs} +0 -0
- /package/dist/{index155.cjs → components/Chart/Chart.module.css.cjs} +0 -0
- /package/dist/{index155.mjs → components/Chart/Chart.module.css.mjs} +0 -0
- /package/dist/{index154.cjs → components/Chart/useResolvedChartColors.cjs} +0 -0
- /package/dist/{index154.mjs → components/Chart/useResolvedChartColors.mjs} +0 -0
- /package/dist/{index220.cjs → components/Chat/Chat.module.css.cjs} +0 -0
- /package/dist/{index220.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/{index289.cjs → components/Chat/utils.cjs} +0 -0
- /package/dist/{index289.mjs → components/Chat/utils.mjs} +0 -0
- /package/dist/{index170.cjs → components/Checkbox/Checkbox.module.css.cjs} +0 -0
- /package/dist/{index170.mjs → components/Checkbox/Checkbox.module.css.mjs} +0 -0
- /package/dist/{index153.cjs → components/Chip/Chip.module.css.cjs} +0 -0
- /package/dist/{index153.mjs → components/Chip/Chip.module.css.mjs} +0 -0
- /package/dist/{index147.cjs → components/CodeEditor/CodeEditor.module.css.cjs} +0 -0
- /package/dist/{index147.mjs → components/CodeEditor/CodeEditor.module.css.mjs} +0 -0
- /package/dist/{index148.cjs → components/Collapsible/Collapsible.module.css.cjs} +0 -0
- /package/dist/{index148.mjs → components/Collapsible/Collapsible.module.css.mjs} +0 -0
- /package/dist/{index151.cjs → components/CollapsibleFolder/CollapsibleFolder.module.css.cjs} +0 -0
- /package/dist/{index151.mjs → components/CollapsibleFolder/CollapsibleFolder.module.css.mjs} +0 -0
- /package/dist/{index172.cjs → components/Combobox/Combobox.module.css.cjs} +0 -0
- /package/dist/{index172.mjs → components/Combobox/Combobox.module.css.mjs} +0 -0
- /package/dist/{index199.cjs → components/Command/Command.module.css.cjs} +0 -0
- /package/dist/{index199.mjs → components/Command/Command.module.css.mjs} +0 -0
- /package/dist/{index238.cjs → components/CommandBar/CommandBar.module.css.cjs} +0 -0
- /package/dist/{index238.mjs → components/CommandBar/CommandBar.module.css.mjs} +0 -0
- /package/dist/{index215.cjs → components/DataTable/DataTable.module.css.cjs} +0 -0
- /package/dist/{index215.mjs → components/DataTable/DataTable.module.css.mjs} +0 -0
- /package/dist/{index157.cjs → components/DatePicker/DatePicker.module.css.cjs} +0 -0
- /package/dist/{index157.mjs → components/DatePicker/DatePicker.module.css.mjs} +0 -0
- /package/dist/{index236.cjs → components/DetailPanel/DetailPanel.module.css.cjs} +0 -0
- /package/dist/{index236.mjs → components/DetailPanel/DetailPanel.module.css.mjs} +0 -0
- /package/dist/{index192.cjs → components/Divider/Divider.module.css.cjs} +0 -0
- /package/dist/{index192.mjs → components/Divider/Divider.module.css.mjs} +0 -0
- /package/dist/{index241.cjs → components/Drawer/Drawer.module.css.cjs} +0 -0
- /package/dist/{index241.mjs → components/Drawer/Drawer.module.css.mjs} +0 -0
- /package/dist/{index167.cjs → components/Dropdown/Dropdown.module.css.cjs} +0 -0
- /package/dist/{index167.mjs → components/Dropdown/Dropdown.module.css.mjs} +0 -0
- /package/dist/{index168.cjs → components/EmptyState/EmptyState.module.css.cjs} +0 -0
- /package/dist/{index168.mjs → components/EmptyState/EmptyState.module.css.mjs} +0 -0
- /package/dist/{index202.cjs → components/ErrorBoundary/ErrorBoundary.module.css.cjs} +0 -0
- /package/dist/{index202.mjs → components/ErrorBoundary/ErrorBoundary.module.css.mjs} +0 -0
- /package/dist/{index191.cjs → components/Field/Field.module.css.cjs} +0 -0
- /package/dist/{index191.mjs → components/Field/Field.module.css.mjs} +0 -0
- /package/dist/{index216.cjs → components/FileUploader/FileUploader.module.css.cjs} +0 -0
- /package/dist/{index216.mjs → components/FileUploader/FileUploader.module.css.mjs} +0 -0
- /package/dist/{index163.cjs → components/FilterBar/FilterBar.module.css.cjs} +0 -0
- /package/dist/{index163.mjs → components/FilterBar/FilterBar.module.css.mjs} +0 -0
- /package/dist/{index242.cjs → components/FormSection/FormSection.module.css.cjs} +0 -0
- /package/dist/{index242.mjs → components/FormSection/FormSection.module.css.mjs} +0 -0
- /package/dist/{index146.cjs → components/Icon/Icon.module.css.cjs} +0 -0
- /package/dist/{index146.mjs → components/Icon/Icon.module.css.mjs} +0 -0
- /package/dist/{index218.cjs → components/IconGallery/IconGallery.module.css.cjs} +0 -0
- /package/dist/{index218.mjs → components/IconGallery/IconGallery.module.css.mjs} +0 -0
- /package/dist/{index197.cjs → components/InputOTP/InputOTP.module.css.cjs} +0 -0
- /package/dist/{index197.mjs → components/InputOTP/InputOTP.module.css.mjs} +0 -0
- /package/dist/{index243.cjs → components/KanbanBoard/KanbanBoard.module.css.cjs} +0 -0
- /package/dist/{index243.mjs → components/KanbanBoard/KanbanBoard.module.css.mjs} +0 -0
- /package/dist/{index205.cjs → components/Link/Link.module.css.cjs} +0 -0
- /package/dist/{index205.mjs → components/Link/Link.module.css.mjs} +0 -0
- /package/dist/{index169.cjs → components/List/List.module.css.cjs} +0 -0
- /package/dist/{index169.mjs → components/List/List.module.css.mjs} +0 -0
- /package/dist/{index196.cjs → components/MetricCards/MetricCards.module.css.cjs} +0 -0
- /package/dist/{index196.mjs → components/MetricCards/MetricCards.module.css.mjs} +0 -0
- /package/dist/{index186.cjs → components/Modal/Modal.module.css.cjs} +0 -0
- /package/dist/{index186.mjs → components/Modal/Modal.module.css.mjs} +0 -0
- /package/dist/{index177.cjs → components/NavTree/NavTree.module.css.cjs} +0 -0
- /package/dist/{index177.mjs → components/NavTree/NavTree.module.css.mjs} +0 -0
- /package/dist/{index166.cjs → components/Navbar/Navbar.module.css.cjs} +0 -0
- /package/dist/{index166.mjs → components/Navbar/Navbar.module.css.mjs} +0 -0
- /package/dist/{index204.cjs → components/NotificationCenter/NotificationCenter.module.css.cjs} +0 -0
- /package/dist/{index204.mjs → components/NotificationCenter/NotificationCenter.module.css.mjs} +0 -0
- /package/dist/{index235.cjs → components/PageHeader/PageHeader.module.css.cjs} +0 -0
- /package/dist/{index235.mjs → components/PageHeader/PageHeader.module.css.mjs} +0 -0
- /package/dist/{index183.cjs → components/Pagination/Pagination.module.css.cjs} +0 -0
- /package/dist/{index183.mjs → components/Pagination/Pagination.module.css.mjs} +0 -0
- /package/dist/{index240.cjs → components/Popover/Popover.module.css.cjs} +0 -0
- /package/dist/{index240.mjs → components/Popover/Popover.module.css.mjs} +0 -0
- /package/dist/{index237.cjs → components/ProgressBar/ProgressBar.module.css.cjs} +0 -0
- /package/dist/{index237.mjs → components/ProgressBar/ProgressBar.module.css.mjs} +0 -0
- /package/dist/{index219.cjs → components/QuickActions/QuickActions.module.css.cjs} +0 -0
- /package/dist/{index219.mjs → components/QuickActions/QuickActions.module.css.mjs} +0 -0
- /package/dist/{index198.cjs → components/Radio/Radio.module.css.cjs} +0 -0
- /package/dist/{index198.mjs → components/Radio/Radio.module.css.mjs} +0 -0
- /package/dist/{index185.cjs → components/SearchInput/SearchInput.module.css.cjs} +0 -0
- /package/dist/{index185.mjs → components/SearchInput/SearchInput.module.css.mjs} +0 -0
- /package/dist/{index159.cjs → components/Select/Select.module.css.cjs} +0 -0
- /package/dist/{index159.mjs → components/Select/Select.module.css.mjs} +0 -0
- /package/dist/{index214.cjs → components/Sidebar/Sidebar.module.css.cjs} +0 -0
- /package/dist/{index214.mjs → components/Sidebar/Sidebar.module.css.mjs} +0 -0
- /package/dist/{index173.cjs → components/Skeleton/Skeleton.module.css.cjs} +0 -0
- /package/dist/{index173.mjs → components/Skeleton/Skeleton.module.css.mjs} +0 -0
- /package/dist/{index161.cjs → components/Slider/Slider.module.css.cjs} +0 -0
- /package/dist/{index161.mjs → components/Slider/Slider.module.css.mjs} +0 -0
- /package/dist/{index164.cjs → components/Spinner/Spinner.module.css.cjs} +0 -0
- /package/dist/{index164.mjs → components/Spinner/Spinner.module.css.mjs} +0 -0
- /package/dist/{index193.cjs → components/Stack/Stack.module.css.cjs} +0 -0
- /package/dist/{index193.mjs → components/Stack/Stack.module.css.mjs} +0 -0
- /package/dist/{index162.cjs → components/Stepper/Stepper.module.css.cjs} +0 -0
- /package/dist/{index162.mjs → components/Stepper/Stepper.module.css.mjs} +0 -0
- /package/dist/{index150.cjs → components/Switch/Switch.module.css.cjs} +0 -0
- /package/dist/{index150.mjs → components/Switch/Switch.module.css.mjs} +0 -0
- /package/dist/{index165.cjs → components/Table/Table.module.css.cjs} +0 -0
- /package/dist/{index165.mjs → components/Table/Table.module.css.mjs} +0 -0
- /package/dist/{index181.cjs → components/Tabs/Tabs.module.css.cjs} +0 -0
- /package/dist/{index181.mjs → components/Tabs/Tabs.module.css.mjs} +0 -0
- /package/dist/{index182.cjs → components/Textarea/Textarea.module.css.cjs} +0 -0
- /package/dist/{index182.mjs → components/Textarea/Textarea.module.css.mjs} +0 -0
- /package/dist/{index234.cjs → components/Toast/Toast.module.css.cjs} +0 -0
- /package/dist/{index234.mjs → components/Toast/Toast.module.css.mjs} +0 -0
- /package/dist/{index158.cjs → components/Toggle/Toggle.module.css.cjs} +0 -0
- /package/dist/{index158.mjs → components/Toggle/Toggle.module.css.mjs} +0 -0
- /package/dist/{index174.cjs → components/ToggleGroup/ToggleGroup.module.css.cjs} +0 -0
- /package/dist/{index174.mjs → components/ToggleGroup/ToggleGroup.module.css.mjs} +0 -0
- /package/dist/{index176.cjs → components/Tooltip/Tooltip.module.css.cjs} +0 -0
- /package/dist/{index176.mjs → components/Tooltip/Tooltip.module.css.mjs} +0 -0
- /package/dist/{index210.cjs → components/UserMenu/UserMenu.module.css.cjs} +0 -0
- /package/dist/{index210.mjs → components/UserMenu/UserMenu.module.css.mjs} +0 -0
- /package/dist/{index217.cjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.cjs} +0 -0
- /package/dist/{index217.mjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.mjs} +0 -0
- /package/dist/{index286.cjs → dist/index146.cjs} +0 -0
- /package/dist/{index286.mjs → dist/index146.mjs} +0 -0
- /package/dist/{index283.cjs → dist/index149.cjs} +0 -0
- /package/dist/{index283.mjs → dist/index149.mjs} +0 -0
- /package/dist/{index277.cjs → dist/index172.cjs} +0 -0
- /package/dist/{index277.mjs → dist/index172.mjs} +0 -0
- /package/dist/{index280.cjs → dist/index175.cjs} +0 -0
- /package/dist/{index280.mjs → dist/index175.mjs} +0 -0
- /package/dist/{index287.cjs → dist/index180.cjs} +0 -0
- /package/dist/{index287.mjs → dist/index180.mjs} +0 -0
- /package/dist/{index288.cjs → dist/index189.cjs} +0 -0
- /package/dist/{index288.mjs → dist/index189.mjs} +0 -0
- /package/dist/{index282.cjs → dist/index225.cjs} +0 -0
- /package/dist/{index282.mjs → dist/index225.mjs} +0 -0
- /package/dist/{index281.cjs → dist/index232.cjs} +0 -0
- /package/dist/{index281.mjs → dist/index232.mjs} +0 -0
- /package/dist/{index285.cjs → dist/index240.cjs} +0 -0
- /package/dist/{index285.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/{index149.cjs → sections/Container/Container.module.css.cjs} +0 -0
- /package/dist/{index149.mjs → sections/Container/Container.module.css.mjs} +0 -0
- /package/dist/{index160.cjs → sections/Section/Section.module.css.cjs} +0 -0
- /package/dist/{index160.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/index40.mjs
DELETED
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
import { jsx as a, jsxs as n, Fragment as j } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as z, useState as E, useRef as C, useMemo as v, useEffect as y, useCallback as A } from "react";
|
|
3
|
-
import { Search as q, Command as F } from "lucide-react";
|
|
4
|
-
import s from "./index238.mjs";
|
|
5
|
-
const G = z(
|
|
6
|
-
({
|
|
7
|
-
open: u,
|
|
8
|
-
onOpenChange: o,
|
|
9
|
-
commands: p,
|
|
10
|
-
recentCommands: i,
|
|
11
|
-
onSelect: L,
|
|
12
|
-
placeholder: $ = "Type a command or search...",
|
|
13
|
-
emptyMessage: I = "No results found.",
|
|
14
|
-
footer: k,
|
|
15
|
-
className: K,
|
|
16
|
-
...M
|
|
17
|
-
}, R) => {
|
|
18
|
-
const [r, w] = E(""), [c, d] = E(0), g = C(null), x = C(null), D = v(() => {
|
|
19
|
-
if (!r) return p;
|
|
20
|
-
const e = r.toLowerCase();
|
|
21
|
-
return p.filter((t) => {
|
|
22
|
-
const l = t.label.toLowerCase().includes(e), m = t.description?.toLowerCase().includes(e), b = t.keywords?.some(
|
|
23
|
-
(T) => T.toLowerCase().includes(e)
|
|
24
|
-
);
|
|
25
|
-
return l || m || b;
|
|
26
|
-
});
|
|
27
|
-
}, [p, r]), f = v(() => {
|
|
28
|
-
const e = [], t = [];
|
|
29
|
-
return D.forEach((l) => {
|
|
30
|
-
if (l.category) {
|
|
31
|
-
const m = e.find((b) => b.title === l.category);
|
|
32
|
-
m ? m.commands.push(l) : e.push({ title: l.category, commands: [l] });
|
|
33
|
-
} else
|
|
34
|
-
t.push(l);
|
|
35
|
-
}), t.length > 0 && e.unshift({ title: "", commands: t }), e;
|
|
36
|
-
}, [D]), h = v(() => {
|
|
37
|
-
const e = [];
|
|
38
|
-
return i && i.length > 0 && !r && e.push(...i), f.forEach((t) => {
|
|
39
|
-
e.push(...t.commands);
|
|
40
|
-
}), e;
|
|
41
|
-
}, [f, i, r]);
|
|
42
|
-
y(() => {
|
|
43
|
-
u && (w(""), d(0), setTimeout(() => g.current?.focus(), 0));
|
|
44
|
-
}, [u]);
|
|
45
|
-
const B = A(
|
|
46
|
-
(e) => {
|
|
47
|
-
switch (e.key) {
|
|
48
|
-
case "ArrowDown":
|
|
49
|
-
e.preventDefault(), d((t) => Math.min(t + 1, h.length - 1));
|
|
50
|
-
break;
|
|
51
|
-
case "ArrowUp":
|
|
52
|
-
e.preventDefault(), d((t) => Math.max(t - 1, 0));
|
|
53
|
-
break;
|
|
54
|
-
case "Enter": {
|
|
55
|
-
e.preventDefault();
|
|
56
|
-
const t = h[c];
|
|
57
|
-
t && !t.disabled && N(t);
|
|
58
|
-
break;
|
|
59
|
-
}
|
|
60
|
-
case "Escape":
|
|
61
|
-
e.preventDefault(), o(!1);
|
|
62
|
-
break;
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
[h, c, o]
|
|
66
|
-
), N = (e) => {
|
|
67
|
-
L?.(e), e.onSelect(), o(!1);
|
|
68
|
-
};
|
|
69
|
-
if (y(() => {
|
|
70
|
-
const e = x.current;
|
|
71
|
-
if (!e) return;
|
|
72
|
-
const t = e.querySelector(`[data-index="${c}"]`);
|
|
73
|
-
t && t.scrollIntoView({ block: "nearest" });
|
|
74
|
-
}, [c]), y(() => {
|
|
75
|
-
const e = (t) => {
|
|
76
|
-
(t.metaKey || t.ctrlKey) && t.key === "k" && (t.preventDefault(), o(!u));
|
|
77
|
-
};
|
|
78
|
-
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
79
|
-
}, [u, o]), !u) return null;
|
|
80
|
-
const H = [s.commandBar, K].filter(Boolean).join(" ");
|
|
81
|
-
let S = 0;
|
|
82
|
-
return /* @__PURE__ */ a("div", { className: s.overlay, onClick: () => o(!1), children: /* @__PURE__ */ n(
|
|
83
|
-
"div",
|
|
84
|
-
{
|
|
85
|
-
ref: R,
|
|
86
|
-
className: H,
|
|
87
|
-
onClick: (e) => e.stopPropagation(),
|
|
88
|
-
onKeyDown: B,
|
|
89
|
-
...M,
|
|
90
|
-
children: [
|
|
91
|
-
/* @__PURE__ */ n("div", { className: s.inputWrapper, children: [
|
|
92
|
-
/* @__PURE__ */ a(q, { size: 18, className: s.searchIcon }),
|
|
93
|
-
/* @__PURE__ */ a(
|
|
94
|
-
"input",
|
|
95
|
-
{
|
|
96
|
-
ref: g,
|
|
97
|
-
type: "text",
|
|
98
|
-
className: s.input,
|
|
99
|
-
placeholder: $,
|
|
100
|
-
value: r,
|
|
101
|
-
onChange: (e) => {
|
|
102
|
-
w(e.target.value), d(0);
|
|
103
|
-
},
|
|
104
|
-
autoComplete: "off",
|
|
105
|
-
autoCorrect: "off",
|
|
106
|
-
spellCheck: !1
|
|
107
|
-
}
|
|
108
|
-
),
|
|
109
|
-
/* @__PURE__ */ a("kbd", { className: s.shortcutHint, children: "ESC" })
|
|
110
|
-
] }),
|
|
111
|
-
/* @__PURE__ */ a("div", { ref: x, className: s.results, children: h.length === 0 ? /* @__PURE__ */ a("div", { className: s.empty, children: I }) : /* @__PURE__ */ n(j, { children: [
|
|
112
|
-
i && i.length > 0 && !r && /* @__PURE__ */ n("div", { className: s.group, children: [
|
|
113
|
-
/* @__PURE__ */ a("div", { className: s.groupTitle, children: "Recent" }),
|
|
114
|
-
i.map((e) => {
|
|
115
|
-
const t = S++;
|
|
116
|
-
return /* @__PURE__ */ n(
|
|
117
|
-
"button",
|
|
118
|
-
{
|
|
119
|
-
type: "button",
|
|
120
|
-
"data-index": t,
|
|
121
|
-
className: `${s.item} ${t === c ? s.itemSelected : ""} ${e.disabled ? s.itemDisabled : ""}`,
|
|
122
|
-
onClick: () => !e.disabled && N(e),
|
|
123
|
-
onMouseEnter: () => d(t),
|
|
124
|
-
children: [
|
|
125
|
-
e.icon && /* @__PURE__ */ a("span", { className: s.itemIcon, children: e.icon }),
|
|
126
|
-
/* @__PURE__ */ n("span", { className: s.itemContent, children: [
|
|
127
|
-
/* @__PURE__ */ a("span", { className: s.itemLabel, children: e.label }),
|
|
128
|
-
e.description && /* @__PURE__ */ a("span", { className: s.itemDescription, children: e.description })
|
|
129
|
-
] }),
|
|
130
|
-
e.shortcut && /* @__PURE__ */ a("kbd", { className: s.itemShortcut, children: e.shortcut })
|
|
131
|
-
]
|
|
132
|
-
},
|
|
133
|
-
`recent-${e.id}`
|
|
134
|
-
);
|
|
135
|
-
})
|
|
136
|
-
] }),
|
|
137
|
-
f.map((e) => /* @__PURE__ */ n(
|
|
138
|
-
"div",
|
|
139
|
-
{
|
|
140
|
-
className: s.group,
|
|
141
|
-
children: [
|
|
142
|
-
e.title && /* @__PURE__ */ a("div", { className: s.groupTitle, children: e.title }),
|
|
143
|
-
e.commands.map((t) => {
|
|
144
|
-
const l = S++;
|
|
145
|
-
return /* @__PURE__ */ n(
|
|
146
|
-
"button",
|
|
147
|
-
{
|
|
148
|
-
type: "button",
|
|
149
|
-
"data-index": l,
|
|
150
|
-
className: `${s.item} ${l === c ? s.itemSelected : ""} ${t.disabled ? s.itemDisabled : ""}`,
|
|
151
|
-
onClick: () => !t.disabled && N(t),
|
|
152
|
-
onMouseEnter: () => d(l),
|
|
153
|
-
children: [
|
|
154
|
-
t.icon && /* @__PURE__ */ a("span", { className: s.itemIcon, children: t.icon }),
|
|
155
|
-
/* @__PURE__ */ n("span", { className: s.itemContent, children: [
|
|
156
|
-
/* @__PURE__ */ a("span", { className: s.itemLabel, children: t.label }),
|
|
157
|
-
t.description && /* @__PURE__ */ a("span", { className: s.itemDescription, children: t.description })
|
|
158
|
-
] }),
|
|
159
|
-
t.shortcut && /* @__PURE__ */ a("kbd", { className: s.itemShortcut, children: t.shortcut })
|
|
160
|
-
]
|
|
161
|
-
},
|
|
162
|
-
t.id
|
|
163
|
-
);
|
|
164
|
-
})
|
|
165
|
-
]
|
|
166
|
-
},
|
|
167
|
-
e.title || "ungrouped"
|
|
168
|
-
))
|
|
169
|
-
] }) }),
|
|
170
|
-
k ? /* @__PURE__ */ a("div", { className: s.footer, children: k }) : /* @__PURE__ */ n("div", { className: s.footer, children: [
|
|
171
|
-
/* @__PURE__ */ n("span", { className: s.footerHint, children: [
|
|
172
|
-
/* @__PURE__ */ a(F, { size: 12 }),
|
|
173
|
-
" ",
|
|
174
|
-
/* @__PURE__ */ a("span", { children: "K to toggle" })
|
|
175
|
-
] }),
|
|
176
|
-
/* @__PURE__ */ n("span", { className: s.footerHint, children: [
|
|
177
|
-
/* @__PURE__ */ a("span", { children: "↑↓" }),
|
|
178
|
-
" to navigate"
|
|
179
|
-
] }),
|
|
180
|
-
/* @__PURE__ */ n("span", { className: s.footerHint, children: [
|
|
181
|
-
/* @__PURE__ */ a("span", { children: "↵" }),
|
|
182
|
-
" to select"
|
|
183
|
-
] })
|
|
184
|
-
] })
|
|
185
|
-
]
|
|
186
|
-
}
|
|
187
|
-
) });
|
|
188
|
-
}
|
|
189
|
-
);
|
|
190
|
-
G.displayName = "CommandBar";
|
|
191
|
-
export {
|
|
192
|
-
G as CommandBar
|
|
193
|
-
};
|
package/dist/index41.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),c=require("react"),e=require("./index149.cjs"),t=c.forwardRef(({size:r="lg",centered:n=!0,padded:a=!0,className:o,children:i,...s},u)=>{const d=[e.default.container,e.default[r],n&&e.default.centered,a&&e.default.padded,o].filter(Boolean).join(" ");return l.jsx("div",{ref:u,className:d,...s,children:i})});t.displayName="Container";exports.Container=t;
|
package/dist/index41.mjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as l } from "react";
|
|
3
|
-
import e from "./index149.mjs";
|
|
4
|
-
const c = l(
|
|
5
|
-
({
|
|
6
|
-
size: r = "lg",
|
|
7
|
-
centered: o = !0,
|
|
8
|
-
padded: t = !0,
|
|
9
|
-
className: a,
|
|
10
|
-
children: n,
|
|
11
|
-
...s
|
|
12
|
-
}, i) => {
|
|
13
|
-
const m = [
|
|
14
|
-
e.container,
|
|
15
|
-
e[r],
|
|
16
|
-
o && e.centered,
|
|
17
|
-
t && e.padded,
|
|
18
|
-
a
|
|
19
|
-
].filter(Boolean).join(" ");
|
|
20
|
-
return /* @__PURE__ */ d("div", { ref: i, className: m, ...s, children: n });
|
|
21
|
-
}
|
|
22
|
-
);
|
|
23
|
-
c.displayName = "Container";
|
|
24
|
-
export {
|
|
25
|
-
c as Container
|
|
26
|
-
};
|
package/dist/index42.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),f=require("react"),b=require("lucide-react"),e=require("./index215.cjs"),q=f.forwardRef(({left:n,right:i,children:u,className:x,...k},r)=>a.jsxs("div",{ref:r,className:`${e.default.toolbar} ${x||""}`,...k,children:[n&&a.jsx("div",{className:e.default.toolbarLeft,children:n}),u,i&&a.jsx("div",{className:e.default.toolbarRight,children:i})]}));q.displayName="DataTable.Toolbar";const I=f.forwardRef(({pagination:n,onChange:i,className:u,...x},k)=>{const{page:r,pageSize:h,total:N,pageSizeOptions:T=[10,25,50,100]}=n,m=Math.ceil(N/h),M=(r-1)*h+1,y=Math.min(r*h,N),v=o=>{o>=1&&o<=m&&i({page:o,pageSize:h})},g=o=>{i({page:1,pageSize:Number(o.target.value)})};return a.jsxs("div",{ref:k,className:`${e.default.pagination} ${u||""}`,...x,children:[a.jsxs("div",{className:e.default.paginationInfo,children:[a.jsxs("span",{className:e.default.paginationText,children:[M,"-",y," of ",N]}),a.jsx("select",{className:e.default.pageSizeSelect,value:h,onChange:g,children:T.map(o=>a.jsxs("option",{value:o,children:[o," / page"]},o))})]}),a.jsxs("div",{className:e.default.paginationControls,children:[a.jsx("button",{type:"button",className:e.default.paginationButton,onClick:()=>v(r-1),disabled:r<=1,"aria-label":"Previous page",children:a.jsx(b.ChevronLeft,{size:16})}),a.jsxs("span",{className:e.default.paginationPages,children:[r," / ",m]}),a.jsx("button",{type:"button",className:e.default.paginationButton,onClick:()=>v(r+1),disabled:r>=m,"aria-label":"Next page",children:a.jsx(b.ChevronRight,{size:16})})]})]})});I.displayName="DataTable.Pagination";const R=f.forwardRef(({state:n,className:i,...u},x)=>a.jsxs("div",{ref:x,className:`${e.default.emptyState} ${i||""}`,...u,children:[n.icon&&a.jsx("div",{className:e.default.emptyIcon,children:n.icon}),a.jsx("h3",{className:e.default.emptyTitle,children:n.title}),n.description&&a.jsx("p",{className:e.default.emptyDescription,children:n.description}),n.action&&a.jsx("div",{className:e.default.emptyAction,children:n.action})]}));R.displayName="DataTable.EmptyState";function oe({columns:n,data:i,rowKey:u="id",searchable:x=!1,searchPlaceholder:k="Search...",searchValue:r,onSearchChange:h,pagination:N,onPaginationChange:T,selectable:m=!1,selectedKeys:M,onSelectionChange:y,bulkActions:v,rowActions:g,sort:o,onSortChange:S,emptyState:B,loading:E=!1,striped:K=!1,hoverable:W=!0,compact:w=!1,stickyHeader:H=!1,maxHeight:U,onRowClick:_,toolbar:z,className:F,...G},J){const[Q,X]=f.useState(""),[Y,O]=f.useState([]),[Z,ee]=f.useState(),[P,V]=f.useState(null),$=r??Q,d=M??Y,p=o??Z,A=f.useCallback((t,s)=>typeof u=="function"?u(t,s):t[u]??s,[u]),ae=t=>{const s=t.target.value;h?h(s):X(s)},te=t=>{if(!t.sortable)return;let s;p?.key===t.key?p.direction==="asc"?s={key:t.key,direction:"desc"}:s=void 0:s={key:t.key,direction:"asc"},S?S(s):ee(s)},se=()=>{const t=i.map((c,j)=>A(c,j)),s=d.length===i.length?[]:t;y?y(s):O(s)},le=t=>{const s=d.includes(t)?d.filter(c=>c!==t):[...d,t];y?y(s):O(s)},D=f.useMemo(()=>{let t=[...i];if(!h&&$){const s=$.toLowerCase();t=t.filter(c=>Object.values(c).some(j=>String(j).toLowerCase().includes(s)))}return!S&&p&&t.sort((s,c)=>{const j=s[p.key],l=c[p.key],L=String(j).localeCompare(String(l));return p.direction==="asc"?L:-L}),t},[i,$,p,h,S]),ne=[e.default.dataTable,w&&e.default.compact,F].filter(Boolean).join(" "),ie=[e.default.table,K&&e.default.striped,W&&e.default.hoverable,H&&e.default.stickyHeader].filter(Boolean).join(" "),ce=i.length>0&&d.length===i.length,de=d.length>0&&d.length<i.length,re={icon:a.jsx(b.Inbox,{size:48}),title:"No data",description:"There are no items to display."};return a.jsxs("div",{ref:J,className:ne,...G,children:[(x||z||m&&d.length>0)&&a.jsxs("div",{className:e.default.toolbar,children:[a.jsxs("div",{className:e.default.toolbarLeft,children:[m&&d.length>0&&v&&a.jsxs("div",{className:e.default.bulkActions,children:[a.jsxs("span",{className:e.default.selectedCount,children:[d.length," selected"]}),v.map(t=>a.jsxs("button",{type:"button",className:`${e.default.bulkAction} ${t.variant==="danger"?e.default.bulkActionDanger:""}`,onClick:()=>t.onClick(d),children:[t.icon,a.jsx("span",{children:t.label})]},t.key))]}),z]}),a.jsx("div",{className:e.default.toolbarRight,children:x&&a.jsxs("div",{className:e.default.searchWrapper,children:[a.jsx(b.Search,{size:16,className:e.default.searchIcon}),a.jsx("input",{type:"text",className:e.default.searchInput,placeholder:k,value:$,onChange:ae})]})})]}),a.jsx("div",{className:e.default.tableContainer,style:{maxHeight:U},children:E?a.jsx("div",{className:e.default.loadingOverlay,children:a.jsx("div",{className:e.default.spinner})}):D.length===0?a.jsx(R,{state:B||re}):a.jsxs("table",{className:ie,children:[a.jsx("thead",{className:e.default.thead,children:a.jsxs("tr",{children:[m&&a.jsx("th",{className:`${e.default.th} ${e.default.checkboxCell}`,children:a.jsx("input",{type:"checkbox",className:e.default.checkbox,checked:ce,ref:t=>{t&&(t.indeterminate=de)},onChange:se,"aria-label":"Select all rows"})}),n.map(t=>a.jsx("th",{className:`${e.default.th} ${t.sortable?e.default.sortable:""} ${t.sticky?e.default[`sticky-${t.sticky}`]:""} ${t.hideOnMobile?e.default.hideOnMobile:""}`,style:{width:t.width,minWidth:t.minWidth,textAlign:t.align},onClick:()=>te(t),children:a.jsxs("span",{className:e.default.thContent,children:[t.header,t.sortable&&a.jsx("span",{className:e.default.sortIcon,children:p?.key===t.key?p.direction==="asc"?a.jsx(b.ChevronUp,{size:14}):a.jsx(b.ChevronDown,{size:14}):a.jsx(b.ChevronUp,{size:14,className:e.default.sortIconInactive})})]})},t.key)),g&&g.length>0&&a.jsx("th",{className:`${e.default.th} ${e.default.actionsCell}`,children:a.jsx("span",{className:"sr-only",children:"Actions"})})]})}),a.jsx("tbody",{className:e.default.tbody,children:D.map((t,s)=>{const c=A(t,s),j=d.includes(c);return a.jsxs("tr",{className:`${e.default.tr} ${j?e.default.trSelected:""}`,onClick:l=>{l.target.closest(`.${e.default.checkbox}`)||l.target.closest(`.${e.default.actionMenu}`)||_?.(t,s)},children:[m&&a.jsx("td",{className:`${e.default.td} ${e.default.checkboxCell}`,children:a.jsx("input",{type:"checkbox",className:e.default.checkbox,checked:j,onChange:()=>le(c),"aria-label":`Select row ${s+1}`})}),n.map(l=>a.jsx("td",{className:`${e.default.td} ${l.sticky?e.default[`sticky-${l.sticky}`]:""} ${l.hideOnMobile?e.default.hideOnMobile:""}`,style:{textAlign:l.align},children:l.render?l.render(t[l.key],t,s):String(t[l.key]??"")},l.key)),g&&g.length>0&&a.jsx("td",{className:`${e.default.td} ${e.default.actionsCell}`,children:a.jsxs("div",{className:e.default.actionMenu,children:[a.jsx("button",{type:"button",className:e.default.actionMenuTrigger,onClick:()=>V(P===c?null:c),"aria-label":"Row actions",children:a.jsx(b.MoreHorizontal,{size:16})}),P===c&&a.jsx("div",{className:e.default.actionMenuDropdown,children:g.filter(l=>!l.show||l.show(t)).map(l=>a.jsxs("button",{type:"button",className:`${e.default.actionMenuItem} ${l.variant==="danger"?e.default.actionMenuItemDanger:""}`,onClick:()=>{l.onClick(t),V(null)},children:[l.icon,a.jsx("span",{children:l.label})]},l.key))})]})})]},c)})})]})}),N&&D.length>0&&a.jsx(I,{pagination:N,onChange:T||(()=>{})})]})}const C=f.forwardRef(oe);C.Toolbar=q;C.Pagination=I;C.EmptyState=R;exports.DataTable=C;
|
package/dist/index42.mjs
DELETED
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as T, useState as M, useCallback as pe, useMemo as me } from "react";
|
|
3
|
-
import { Search as be, ChevronUp as E, ChevronDown as Ne, MoreHorizontal as ge, Inbox as ye, ChevronLeft as ke, ChevronRight as ue } from "lucide-react";
|
|
4
|
-
import e from "./index215.mjs";
|
|
5
|
-
const K = T(
|
|
6
|
-
({ left: i, right: c, children: p, className: N, ...v }, d) => /* @__PURE__ */ n("div", { ref: d, className: `${e.toolbar} ${N || ""}`, ...v, children: [
|
|
7
|
-
i && /* @__PURE__ */ t("div", { className: e.toolbarLeft, children: i }),
|
|
8
|
-
p,
|
|
9
|
-
c && /* @__PURE__ */ t("div", { className: e.toolbarRight, children: c })
|
|
10
|
-
] })
|
|
11
|
-
);
|
|
12
|
-
K.displayName = "DataTable.Toolbar";
|
|
13
|
-
const z = T(({ pagination: i, onChange: c, className: p, ...N }, v) => {
|
|
14
|
-
const {
|
|
15
|
-
page: d,
|
|
16
|
-
pageSize: m,
|
|
17
|
-
total: u,
|
|
18
|
-
pageSizeOptions: D = [10, 25, 50, 100]
|
|
19
|
-
} = i, g = Math.ceil(u / m), I = (d - 1) * m + 1, f = Math.min(d * m, u), $ = (h) => {
|
|
20
|
-
h >= 1 && h <= g && c({ page: h, pageSize: m });
|
|
21
|
-
}, k = (h) => {
|
|
22
|
-
c({ page: 1, pageSize: Number(h.target.value) });
|
|
23
|
-
};
|
|
24
|
-
return /* @__PURE__ */ n(
|
|
25
|
-
"div",
|
|
26
|
-
{
|
|
27
|
-
ref: v,
|
|
28
|
-
className: `${e.pagination} ${p || ""}`,
|
|
29
|
-
...N,
|
|
30
|
-
children: [
|
|
31
|
-
/* @__PURE__ */ n("div", { className: e.paginationInfo, children: [
|
|
32
|
-
/* @__PURE__ */ n("span", { className: e.paginationText, children: [
|
|
33
|
-
I,
|
|
34
|
-
"-",
|
|
35
|
-
f,
|
|
36
|
-
" of ",
|
|
37
|
-
u
|
|
38
|
-
] }),
|
|
39
|
-
/* @__PURE__ */ t(
|
|
40
|
-
"select",
|
|
41
|
-
{
|
|
42
|
-
className: e.pageSizeSelect,
|
|
43
|
-
value: m,
|
|
44
|
-
onChange: k,
|
|
45
|
-
children: D.map((h) => /* @__PURE__ */ n("option", { value: h, children: [
|
|
46
|
-
h,
|
|
47
|
-
" / page"
|
|
48
|
-
] }, h))
|
|
49
|
-
}
|
|
50
|
-
)
|
|
51
|
-
] }),
|
|
52
|
-
/* @__PURE__ */ n("div", { className: e.paginationControls, children: [
|
|
53
|
-
/* @__PURE__ */ t(
|
|
54
|
-
"button",
|
|
55
|
-
{
|
|
56
|
-
type: "button",
|
|
57
|
-
className: e.paginationButton,
|
|
58
|
-
onClick: () => $(d - 1),
|
|
59
|
-
disabled: d <= 1,
|
|
60
|
-
"aria-label": "Previous page",
|
|
61
|
-
children: /* @__PURE__ */ t(ke, { size: 16 })
|
|
62
|
-
}
|
|
63
|
-
),
|
|
64
|
-
/* @__PURE__ */ n("span", { className: e.paginationPages, children: [
|
|
65
|
-
d,
|
|
66
|
-
" / ",
|
|
67
|
-
g
|
|
68
|
-
] }),
|
|
69
|
-
/* @__PURE__ */ t(
|
|
70
|
-
"button",
|
|
71
|
-
{
|
|
72
|
-
type: "button",
|
|
73
|
-
className: e.paginationButton,
|
|
74
|
-
onClick: () => $(d + 1),
|
|
75
|
-
disabled: d >= g,
|
|
76
|
-
"aria-label": "Next page",
|
|
77
|
-
children: /* @__PURE__ */ t(ue, { size: 16 })
|
|
78
|
-
}
|
|
79
|
-
)
|
|
80
|
-
] })
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
);
|
|
84
|
-
});
|
|
85
|
-
z.displayName = "DataTable.Pagination";
|
|
86
|
-
const O = T(({ state: i, className: c, ...p }, N) => /* @__PURE__ */ n(
|
|
87
|
-
"div",
|
|
88
|
-
{
|
|
89
|
-
ref: N,
|
|
90
|
-
className: `${e.emptyState} ${c || ""}`,
|
|
91
|
-
...p,
|
|
92
|
-
children: [
|
|
93
|
-
i.icon && /* @__PURE__ */ t("div", { className: e.emptyIcon, children: i.icon }),
|
|
94
|
-
/* @__PURE__ */ t("h3", { className: e.emptyTitle, children: i.title }),
|
|
95
|
-
i.description && /* @__PURE__ */ t("p", { className: e.emptyDescription, children: i.description }),
|
|
96
|
-
i.action && /* @__PURE__ */ t("div", { className: e.emptyAction, children: i.action })
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
));
|
|
100
|
-
O.displayName = "DataTable.EmptyState";
|
|
101
|
-
function fe({
|
|
102
|
-
columns: i,
|
|
103
|
-
data: c,
|
|
104
|
-
rowKey: p = "id",
|
|
105
|
-
searchable: N = !1,
|
|
106
|
-
searchPlaceholder: v = "Search...",
|
|
107
|
-
searchValue: d,
|
|
108
|
-
onSearchChange: m,
|
|
109
|
-
pagination: u,
|
|
110
|
-
onPaginationChange: D,
|
|
111
|
-
selectable: g = !1,
|
|
112
|
-
selectedKeys: I,
|
|
113
|
-
onSelectionChange: f,
|
|
114
|
-
bulkActions: $,
|
|
115
|
-
rowActions: k,
|
|
116
|
-
sort: h,
|
|
117
|
-
onSortChange: S,
|
|
118
|
-
emptyState: W,
|
|
119
|
-
loading: H = !1,
|
|
120
|
-
striped: U = !1,
|
|
121
|
-
hoverable: q = !0,
|
|
122
|
-
compact: F = !1,
|
|
123
|
-
stickyHeader: G = !1,
|
|
124
|
-
maxHeight: J,
|
|
125
|
-
onRowClick: Q,
|
|
126
|
-
toolbar: R,
|
|
127
|
-
className: X,
|
|
128
|
-
...Y
|
|
129
|
-
}, Z) {
|
|
130
|
-
const [_, w] = M(""), [ee, V] = M([]), [ae, te] = M(), [j, A] = M(null), C = d ?? _, o = I ?? ee, b = h ?? ae, L = pe(
|
|
131
|
-
(a, l) => typeof p == "function" ? p(a, l) : a[p] ?? l,
|
|
132
|
-
[p]
|
|
133
|
-
), le = (a) => {
|
|
134
|
-
const l = a.target.value;
|
|
135
|
-
m ? m(l) : w(l);
|
|
136
|
-
}, se = (a) => {
|
|
137
|
-
if (!a.sortable) return;
|
|
138
|
-
let l;
|
|
139
|
-
b?.key === a.key ? b.direction === "asc" ? l = { key: a.key, direction: "desc" } : l = void 0 : l = { key: a.key, direction: "asc" }, S ? S(l) : te(l);
|
|
140
|
-
}, ne = () => {
|
|
141
|
-
const a = c.map((r, y) => L(r, y)), l = o.length === c.length ? [] : a;
|
|
142
|
-
f ? f(l) : V(l);
|
|
143
|
-
}, ie = (a) => {
|
|
144
|
-
const l = o.includes(a) ? o.filter((r) => r !== a) : [...o, a];
|
|
145
|
-
f ? f(l) : V(l);
|
|
146
|
-
}, x = me(() => {
|
|
147
|
-
let a = [...c];
|
|
148
|
-
if (!m && C) {
|
|
149
|
-
const l = C.toLowerCase();
|
|
150
|
-
a = a.filter(
|
|
151
|
-
(r) => Object.values(r).some(
|
|
152
|
-
(y) => String(y).toLowerCase().includes(l)
|
|
153
|
-
)
|
|
154
|
-
);
|
|
155
|
-
}
|
|
156
|
-
return !S && b && a.sort((l, r) => {
|
|
157
|
-
const y = l[b.key], s = r[b.key], B = String(y).localeCompare(String(s));
|
|
158
|
-
return b.direction === "asc" ? B : -B;
|
|
159
|
-
}), a;
|
|
160
|
-
}, [c, C, b, m, S]), ce = [e.dataTable, F && e.compact, X].filter(Boolean).join(" "), re = [
|
|
161
|
-
e.table,
|
|
162
|
-
U && e.striped,
|
|
163
|
-
q && e.hoverable,
|
|
164
|
-
G && e.stickyHeader
|
|
165
|
-
].filter(Boolean).join(" "), oe = c.length > 0 && o.length === c.length, de = o.length > 0 && o.length < c.length, he = {
|
|
166
|
-
icon: /* @__PURE__ */ t(ye, { size: 48 }),
|
|
167
|
-
title: "No data",
|
|
168
|
-
description: "There are no items to display."
|
|
169
|
-
};
|
|
170
|
-
return /* @__PURE__ */ n("div", { ref: Z, className: ce, ...Y, children: [
|
|
171
|
-
(N || R || g && o.length > 0) && /* @__PURE__ */ n("div", { className: e.toolbar, children: [
|
|
172
|
-
/* @__PURE__ */ n("div", { className: e.toolbarLeft, children: [
|
|
173
|
-
g && o.length > 0 && $ && /* @__PURE__ */ n("div", { className: e.bulkActions, children: [
|
|
174
|
-
/* @__PURE__ */ n("span", { className: e.selectedCount, children: [
|
|
175
|
-
o.length,
|
|
176
|
-
" selected"
|
|
177
|
-
] }),
|
|
178
|
-
$.map((a) => /* @__PURE__ */ n(
|
|
179
|
-
"button",
|
|
180
|
-
{
|
|
181
|
-
type: "button",
|
|
182
|
-
className: `${e.bulkAction} ${a.variant === "danger" ? e.bulkActionDanger : ""}`,
|
|
183
|
-
onClick: () => a.onClick(o),
|
|
184
|
-
children: [
|
|
185
|
-
a.icon,
|
|
186
|
-
/* @__PURE__ */ t("span", { children: a.label })
|
|
187
|
-
]
|
|
188
|
-
},
|
|
189
|
-
a.key
|
|
190
|
-
))
|
|
191
|
-
] }),
|
|
192
|
-
R
|
|
193
|
-
] }),
|
|
194
|
-
/* @__PURE__ */ t("div", { className: e.toolbarRight, children: N && /* @__PURE__ */ n("div", { className: e.searchWrapper, children: [
|
|
195
|
-
/* @__PURE__ */ t(be, { size: 16, className: e.searchIcon }),
|
|
196
|
-
/* @__PURE__ */ t(
|
|
197
|
-
"input",
|
|
198
|
-
{
|
|
199
|
-
type: "text",
|
|
200
|
-
className: e.searchInput,
|
|
201
|
-
placeholder: v,
|
|
202
|
-
value: C,
|
|
203
|
-
onChange: le
|
|
204
|
-
}
|
|
205
|
-
)
|
|
206
|
-
] }) })
|
|
207
|
-
] }),
|
|
208
|
-
/* @__PURE__ */ t("div", { className: e.tableContainer, style: { maxHeight: J }, children: H ? /* @__PURE__ */ t("div", { className: e.loadingOverlay, children: /* @__PURE__ */ t("div", { className: e.spinner }) }) : x.length === 0 ? /* @__PURE__ */ t(
|
|
209
|
-
O,
|
|
210
|
-
{
|
|
211
|
-
state: W || he
|
|
212
|
-
}
|
|
213
|
-
) : /* @__PURE__ */ n("table", { className: re, children: [
|
|
214
|
-
/* @__PURE__ */ t("thead", { className: e.thead, children: /* @__PURE__ */ n("tr", { children: [
|
|
215
|
-
g && /* @__PURE__ */ t("th", { className: `${e.th} ${e.checkboxCell}`, children: /* @__PURE__ */ t(
|
|
216
|
-
"input",
|
|
217
|
-
{
|
|
218
|
-
type: "checkbox",
|
|
219
|
-
className: e.checkbox,
|
|
220
|
-
checked: oe,
|
|
221
|
-
ref: (a) => {
|
|
222
|
-
a && (a.indeterminate = de);
|
|
223
|
-
},
|
|
224
|
-
onChange: ne,
|
|
225
|
-
"aria-label": "Select all rows"
|
|
226
|
-
}
|
|
227
|
-
) }),
|
|
228
|
-
i.map((a) => /* @__PURE__ */ t(
|
|
229
|
-
"th",
|
|
230
|
-
{
|
|
231
|
-
className: `${e.th} ${a.sortable ? e.sortable : ""} ${a.sticky ? e[`sticky-${a.sticky}`] : ""} ${a.hideOnMobile ? e.hideOnMobile : ""}`,
|
|
232
|
-
style: {
|
|
233
|
-
width: a.width,
|
|
234
|
-
minWidth: a.minWidth,
|
|
235
|
-
textAlign: a.align
|
|
236
|
-
},
|
|
237
|
-
onClick: () => se(a),
|
|
238
|
-
children: /* @__PURE__ */ n("span", { className: e.thContent, children: [
|
|
239
|
-
a.header,
|
|
240
|
-
a.sortable && /* @__PURE__ */ t("span", { className: e.sortIcon, children: b?.key === a.key ? b.direction === "asc" ? /* @__PURE__ */ t(E, { size: 14 }) : /* @__PURE__ */ t(Ne, { size: 14 }) : /* @__PURE__ */ t(
|
|
241
|
-
E,
|
|
242
|
-
{
|
|
243
|
-
size: 14,
|
|
244
|
-
className: e.sortIconInactive
|
|
245
|
-
}
|
|
246
|
-
) })
|
|
247
|
-
] })
|
|
248
|
-
},
|
|
249
|
-
a.key
|
|
250
|
-
)),
|
|
251
|
-
k && k.length > 0 && /* @__PURE__ */ t("th", { className: `${e.th} ${e.actionsCell}`, children: /* @__PURE__ */ t("span", { className: "sr-only", children: "Actions" }) })
|
|
252
|
-
] }) }),
|
|
253
|
-
/* @__PURE__ */ t("tbody", { className: e.tbody, children: x.map((a, l) => {
|
|
254
|
-
const r = L(a, l), y = o.includes(r);
|
|
255
|
-
return /* @__PURE__ */ n(
|
|
256
|
-
"tr",
|
|
257
|
-
{
|
|
258
|
-
className: `${e.tr} ${y ? e.trSelected : ""}`,
|
|
259
|
-
onClick: (s) => {
|
|
260
|
-
s.target.closest(
|
|
261
|
-
`.${e.checkbox}`
|
|
262
|
-
) || s.target.closest(
|
|
263
|
-
`.${e.actionMenu}`
|
|
264
|
-
) || Q?.(a, l);
|
|
265
|
-
},
|
|
266
|
-
children: [
|
|
267
|
-
g && /* @__PURE__ */ t("td", { className: `${e.td} ${e.checkboxCell}`, children: /* @__PURE__ */ t(
|
|
268
|
-
"input",
|
|
269
|
-
{
|
|
270
|
-
type: "checkbox",
|
|
271
|
-
className: e.checkbox,
|
|
272
|
-
checked: y,
|
|
273
|
-
onChange: () => ie(r),
|
|
274
|
-
"aria-label": `Select row ${l + 1}`
|
|
275
|
-
}
|
|
276
|
-
) }),
|
|
277
|
-
i.map((s) => /* @__PURE__ */ t(
|
|
278
|
-
"td",
|
|
279
|
-
{
|
|
280
|
-
className: `${e.td} ${s.sticky ? e[`sticky-${s.sticky}`] : ""} ${s.hideOnMobile ? e.hideOnMobile : ""}`,
|
|
281
|
-
style: { textAlign: s.align },
|
|
282
|
-
children: s.render ? s.render(a[s.key], a, l) : String(a[s.key] ?? "")
|
|
283
|
-
},
|
|
284
|
-
s.key
|
|
285
|
-
)),
|
|
286
|
-
k && k.length > 0 && /* @__PURE__ */ t("td", { className: `${e.td} ${e.actionsCell}`, children: /* @__PURE__ */ n("div", { className: e.actionMenu, children: [
|
|
287
|
-
/* @__PURE__ */ t(
|
|
288
|
-
"button",
|
|
289
|
-
{
|
|
290
|
-
type: "button",
|
|
291
|
-
className: e.actionMenuTrigger,
|
|
292
|
-
onClick: () => A(
|
|
293
|
-
j === r ? null : r
|
|
294
|
-
),
|
|
295
|
-
"aria-label": "Row actions",
|
|
296
|
-
children: /* @__PURE__ */ t(ge, { size: 16 })
|
|
297
|
-
}
|
|
298
|
-
),
|
|
299
|
-
j === r && /* @__PURE__ */ t("div", { className: e.actionMenuDropdown, children: k.filter(
|
|
300
|
-
(s) => !s.show || s.show(a)
|
|
301
|
-
).map((s) => /* @__PURE__ */ n(
|
|
302
|
-
"button",
|
|
303
|
-
{
|
|
304
|
-
type: "button",
|
|
305
|
-
className: `${e.actionMenuItem} ${s.variant === "danger" ? e.actionMenuItemDanger : ""}`,
|
|
306
|
-
onClick: () => {
|
|
307
|
-
s.onClick(a), A(null);
|
|
308
|
-
},
|
|
309
|
-
children: [
|
|
310
|
-
s.icon,
|
|
311
|
-
/* @__PURE__ */ t("span", { children: s.label })
|
|
312
|
-
]
|
|
313
|
-
},
|
|
314
|
-
s.key
|
|
315
|
-
)) })
|
|
316
|
-
] }) })
|
|
317
|
-
]
|
|
318
|
-
},
|
|
319
|
-
r
|
|
320
|
-
);
|
|
321
|
-
}) })
|
|
322
|
-
] }) }),
|
|
323
|
-
u && x.length > 0 && /* @__PURE__ */ t(
|
|
324
|
-
z,
|
|
325
|
-
{
|
|
326
|
-
pagination: u,
|
|
327
|
-
onChange: D || (() => {
|
|
328
|
-
})
|
|
329
|
-
}
|
|
330
|
-
)
|
|
331
|
-
] });
|
|
332
|
-
}
|
|
333
|
-
const P = T(fe);
|
|
334
|
-
P.Toolbar = K;
|
|
335
|
-
P.Pagination = z;
|
|
336
|
-
P.EmptyState = O;
|
|
337
|
-
export {
|
|
338
|
-
P as DataTable
|
|
339
|
-
};
|
package/dist/index43.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("react"),d=require("date-fns"),O=require("lucide-react"),l=require("./index157.cjs"),h=require("./index27.cjs"),R=require("./index70.cjs"),F=require("./index26.cjs"),x=e=>{const{mode:a="single",min:S,max:b,disabledDates:v,placeholder:m="Pick a date",presets:i,format:c="PPP",disabled:C=!1,triggerClassName:P,className:N}=e,[k,o]=r.useState(!1),f=r.useMemo(()=>a==="single"&&e.mode!=="range"?e.selected?d.format(e.selected,c):null:a==="range"&&e.mode==="range"&&e.selected?.from?e.selected.to?`${d.format(e.selected.from,c)} - ${d.format(e.selected.to,c)}`:d.format(e.selected.from,c):null,[a,e,c]),g=r.useCallback(n=>{if(a==="single"&&e.mode!=="range"){const s=e.onSelect;s?.(n),o(!1)}else if(a==="range"&&e.mode==="range"){const s=e.onSelect,u=n;s?.(u),u?.from&&u?.to&&o(!1)}},[a,e]),q=r.useCallback(n=>{if(a==="single"&&e.mode!=="range"){const s=e.onSelect;s?.(n.value)}else if(a==="range"&&e.mode==="range"){const s=e.onSelect;s?.(n.value)}o(!1)},[a,e]),y=[l.default.trigger,P].filter(Boolean).join(" "),B=[l.default.wrapper,N].filter(Boolean).join(" "),j={min:S,max:b,disabled:v},D=t.jsxs("div",{className:l.default.popoverContent,children:[i&&i.length>0&&t.jsx("div",{className:l.default.presets,children:i.map(n=>t.jsx("button",{type:"button",className:l.default.presetButton,onClick:()=>q(n),children:n.label},n.label))}),a==="single"?t.jsx(h.Calendar,{mode:"single",selected:e.mode!=="range"?e.selected:void 0,onSelect:g,...j}):t.jsx(h.Calendar,{mode:"range",selected:e.mode==="range"?e.selected:void 0,onSelect:g,...j})]}),w=t.jsx(F.Button,{variant:"secondary",className:y,disabled:C,"aria-label":m,icon:t.jsx(O.Calendar,{size:16,className:l.default.triggerIcon}),children:f?t.jsx("span",{children:f}):t.jsx("span",{className:l.default.placeholder,children:m})});return t.jsx("div",{className:B,children:t.jsx(R.Popover,{trigger:w,content:D,placement:"bottom-start",open:k,onOpenChange:o,showArrow:!1,offset:4,className:l.default.popover})})};x.displayName="DatePicker";exports.DatePicker=x;
|