@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
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as b, useCallback as y } from "react";
|
|
3
|
+
import { Plus as C, Edit2 as T, Trash2 as B, Calendar as D } from "lucide-react";
|
|
4
|
+
import { Badge as w } from "../../../../dist/index23.mjs";
|
|
5
|
+
import { Button as A } from "../../../../dist/index26.mjs";
|
|
6
|
+
import e from "./KanbanPageTemplate.module.css.mjs";
|
|
7
|
+
function x(i) {
|
|
8
|
+
switch (i) {
|
|
9
|
+
case "high":
|
|
10
|
+
return "error";
|
|
11
|
+
case "medium":
|
|
12
|
+
return "warning";
|
|
13
|
+
case "low":
|
|
14
|
+
return "success";
|
|
15
|
+
default:
|
|
16
|
+
return "info";
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function z({
|
|
20
|
+
task: i,
|
|
21
|
+
onEdit: n,
|
|
22
|
+
onDelete: t
|
|
23
|
+
}) {
|
|
24
|
+
return /* @__PURE__ */ s("div", { className: e.taskCard, children: [
|
|
25
|
+
/* @__PURE__ */ s("div", { className: e.taskHeader, children: [
|
|
26
|
+
/* @__PURE__ */ a("h4", { className: e.taskTitle, children: i.title }),
|
|
27
|
+
/* @__PURE__ */ s("div", { className: e.taskActions, children: [
|
|
28
|
+
/* @__PURE__ */ a(
|
|
29
|
+
"button",
|
|
30
|
+
{
|
|
31
|
+
className: e.taskActionButton,
|
|
32
|
+
onClick: () => n?.(i.id),
|
|
33
|
+
"aria-label": "Edit task",
|
|
34
|
+
children: /* @__PURE__ */ a(T, { size: 16 })
|
|
35
|
+
}
|
|
36
|
+
),
|
|
37
|
+
/* @__PURE__ */ a(
|
|
38
|
+
"button",
|
|
39
|
+
{
|
|
40
|
+
className: [e.taskActionButton, e.taskActionButtonDanger].filter(Boolean).join(" "),
|
|
41
|
+
onClick: () => t?.(i.id),
|
|
42
|
+
"aria-label": "Delete task",
|
|
43
|
+
children: /* @__PURE__ */ a(B, { size: 16 })
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
] })
|
|
47
|
+
] }),
|
|
48
|
+
i.description && /* @__PURE__ */ a("p", { className: e.taskDescription, children: i.description }),
|
|
49
|
+
/* @__PURE__ */ s("div", { className: e.taskMeta, children: [
|
|
50
|
+
i.priority && /* @__PURE__ */ a(w, { variant: x(i.priority), size: "sm", children: i.priority }),
|
|
51
|
+
i.dueDate && /* @__PURE__ */ s("div", { className: e.dueDateBadge, children: [
|
|
52
|
+
/* @__PURE__ */ a(D, { size: 12 }),
|
|
53
|
+
new Date(i.dueDate).toLocaleDateString()
|
|
54
|
+
] })
|
|
55
|
+
] }),
|
|
56
|
+
i.labels && i.labels.length > 0 && /* @__PURE__ */ a("div", { className: e.labels, children: i.labels.map((c) => /* @__PURE__ */ a("span", { className: e.label, children: c }, c)) }),
|
|
57
|
+
i.assignee && /* @__PURE__ */ s("div", { className: e.assignee, children: [
|
|
58
|
+
i.assignee.avatar && /* @__PURE__ */ a(
|
|
59
|
+
"img",
|
|
60
|
+
{
|
|
61
|
+
src: i.assignee.avatar,
|
|
62
|
+
alt: i.assignee.name,
|
|
63
|
+
className: e.assigneeAvatar
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
/* @__PURE__ */ a("span", { className: e.assigneeName, children: i.assignee.name })
|
|
67
|
+
] })
|
|
68
|
+
] });
|
|
69
|
+
}
|
|
70
|
+
const j = b(
|
|
71
|
+
({
|
|
72
|
+
title: i = "Kanban Board",
|
|
73
|
+
columns: n = [],
|
|
74
|
+
tasks: t = [],
|
|
75
|
+
onTaskMove: c,
|
|
76
|
+
onCreateTask: h,
|
|
77
|
+
onEditTask: u,
|
|
78
|
+
onDeleteTask: o,
|
|
79
|
+
isLoading: N = !1,
|
|
80
|
+
error: m,
|
|
81
|
+
className: p,
|
|
82
|
+
...g
|
|
83
|
+
}, v) => {
|
|
84
|
+
const f = y(
|
|
85
|
+
(l) => {
|
|
86
|
+
window.confirm("Are you sure you want to delete this task?") && o?.(l);
|
|
87
|
+
},
|
|
88
|
+
[o]
|
|
89
|
+
);
|
|
90
|
+
return /* @__PURE__ */ s(
|
|
91
|
+
"div",
|
|
92
|
+
{
|
|
93
|
+
ref: v,
|
|
94
|
+
className: [e.root, p].filter(Boolean).join(" "),
|
|
95
|
+
...g,
|
|
96
|
+
children: [
|
|
97
|
+
/* @__PURE__ */ s("div", { className: e.header, children: [
|
|
98
|
+
/* @__PURE__ */ a("h1", { className: e.title, children: i }),
|
|
99
|
+
m && /* @__PURE__ */ a("div", { className: e.error, children: m })
|
|
100
|
+
] }),
|
|
101
|
+
/* @__PURE__ */ a("div", { className: e.board, children: n.length === 0 ? /* @__PURE__ */ a("div", { className: e.emptyState, children: /* @__PURE__ */ a("p", { className: e.emptyStateText, children: "No columns configured" }) }) : n.map((l) => {
|
|
102
|
+
const d = t.filter(
|
|
103
|
+
(r) => r.columnId === l.id
|
|
104
|
+
);
|
|
105
|
+
return /* @__PURE__ */ s("div", { className: e.column, children: [
|
|
106
|
+
/* @__PURE__ */ s("div", { className: e.columnHeader, children: [
|
|
107
|
+
/* @__PURE__ */ s("div", { children: [
|
|
108
|
+
/* @__PURE__ */ a("h3", { className: e.columnTitle, children: l.title }),
|
|
109
|
+
/* @__PURE__ */ a("span", { className: e.columnCount, children: d.length })
|
|
110
|
+
] }),
|
|
111
|
+
/* @__PURE__ */ a(
|
|
112
|
+
A,
|
|
113
|
+
{
|
|
114
|
+
variant: "ghost",
|
|
115
|
+
iconOnly: !0,
|
|
116
|
+
icon: /* @__PURE__ */ a(C, { size: 18 }),
|
|
117
|
+
onClick: () => h?.(l.id),
|
|
118
|
+
disabled: N,
|
|
119
|
+
"aria-label": "Add task"
|
|
120
|
+
}
|
|
121
|
+
)
|
|
122
|
+
] }),
|
|
123
|
+
/* @__PURE__ */ a("div", { className: e.tasks, children: d.length === 0 ? /* @__PURE__ */ a("div", { className: e.emptyColumn, children: /* @__PURE__ */ a("p", { className: e.emptyColumnText, children: "No tasks" }) }) : d.map((r) => /* @__PURE__ */ a(
|
|
124
|
+
z,
|
|
125
|
+
{
|
|
126
|
+
task: r,
|
|
127
|
+
onEdit: u,
|
|
128
|
+
onDelete: f
|
|
129
|
+
},
|
|
130
|
+
r.id
|
|
131
|
+
)) })
|
|
132
|
+
] }, l.id);
|
|
133
|
+
}) })
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
);
|
|
139
|
+
j.displayName = "KanbanPageTemplate";
|
|
140
|
+
export {
|
|
141
|
+
j as KanbanPageTemplate
|
|
142
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),f=require("lucide-react"),P=require("../../../../dist/index26.cjs"),x=require("../../../../dist/index28.cjs"),T=require("../../../../dist/index50.cjs"),s=require("./LoginTemplate.module.css.cjs"),b=t.forwardRef(({title:j="Sign in",subtitle:n="Welcome back",logo:o,onSubmit:u,isLoading:a=!1,error:m,successMessage:h,onSignupClick:p,onForgotPasswordClick:N,className:w,...v},y)=>{const[d,S]=t.useState(""),[r,k]=t.useState(""),[c,C]=t.useState(!1),[i,q]=t.useState(!1),g=t.useCallback(l=>{l.preventDefault(),u?.(d,r,i)},[d,r,i,u]),R=!d.trim()||!r.trim()||a;return e.jsx("div",{ref:y,className:[s.default.root,w].filter(Boolean).join(" "),...v,children:e.jsx(x.Card,{className:s.default.card,children:e.jsxs(x.Card.Body,{className:s.default.body,children:[o&&e.jsx("div",{className:s.default.logo,children:o}),e.jsxs("div",{className:s.default.header,children:[e.jsx("h1",{className:s.default.title,children:j}),n&&e.jsx("p",{className:s.default.subtitle,children:n})]}),m&&e.jsx("div",{className:s.default.error,children:m}),h&&e.jsx("div",{className:s.default.success,children:h}),e.jsxs("form",{onSubmit:g,className:s.default.form,children:[e.jsx("div",{className:s.default.formGroup,children:e.jsx(T.Field,{label:"Email address",type:"email",placeholder:"you@example.com",value:d,onChange:l=>S(l.target.value),disabled:a,autoComplete:"email",required:!0})}),e.jsxs("div",{className:s.default.formGroup,children:[e.jsxs("div",{className:s.default.passwordLabel,children:[e.jsx("label",{className:s.default.label,children:"Password"}),e.jsx("button",{type:"button",className:s.default.showPasswordButton,onClick:()=>C(!c),"aria-label":c?"Hide password":"Show password",disabled:a,children:c?e.jsx(f.EyeOff,{size:18}):e.jsx(f.Eye,{size:18})})]}),e.jsx("input",{type:c?"text":"password",className:s.default.input,placeholder:"••••••••",value:r,onChange:l=>k(l.target.value),disabled:a,autoComplete:"current-password",required:!0})]}),e.jsxs("div",{className:s.default.optionsRow,children:[e.jsxs("label",{className:s.default.checkbox,children:[e.jsx("input",{type:"checkbox",checked:i,onChange:l=>q(l.target.checked),disabled:a}),e.jsx("span",{children:"Remember me"})]}),e.jsx("button",{type:"button",className:s.default.link,onClick:N,disabled:a,children:"Forgot password?"})]}),e.jsx(P.Button,{type:"submit",variant:"primary",fullWidth:!0,isLoading:a,disabled:R,children:"Sign in"})]}),p&&e.jsxs("p",{className:s.default.signupText,children:["Don't have an account?"," ",e.jsx("button",{type:"button",className:s.default.link,onClick:p,disabled:a,children:"Sign up"})]})]})})})});b.displayName="LoginTemplate";exports.LoginTemplate=b;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as B, useState as c, useCallback as E } from "react";
|
|
3
|
+
import { EyeOff as j, Eye as D } from "lucide-react";
|
|
4
|
+
import { Button as T } from "../../../../dist/index26.mjs";
|
|
5
|
+
import { Card as N } from "../../../../dist/index28.mjs";
|
|
6
|
+
import { Field as q } from "../../../../dist/index50.mjs";
|
|
7
|
+
import e from "./LoginTemplate.module.css.mjs";
|
|
8
|
+
const z = B(
|
|
9
|
+
({
|
|
10
|
+
title: f = "Sign in",
|
|
11
|
+
subtitle: m = "Welcome back",
|
|
12
|
+
logo: n,
|
|
13
|
+
onSubmit: p,
|
|
14
|
+
isLoading: s = !1,
|
|
15
|
+
error: h,
|
|
16
|
+
successMessage: u,
|
|
17
|
+
onSignupClick: b,
|
|
18
|
+
onForgotPasswordClick: w,
|
|
19
|
+
className: v,
|
|
20
|
+
...y
|
|
21
|
+
}, k) => {
|
|
22
|
+
const [t, x] = c(""), [o, C] = c(""), [i, S] = c(!1), [d, P] = c(!1), R = E(
|
|
23
|
+
(r) => {
|
|
24
|
+
r.preventDefault(), p?.(t, o, d);
|
|
25
|
+
},
|
|
26
|
+
[t, o, d, p]
|
|
27
|
+
), g = !t.trim() || !o.trim() || s;
|
|
28
|
+
return /* @__PURE__ */ a(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
ref: k,
|
|
32
|
+
className: [e.root, v].filter(Boolean).join(" "),
|
|
33
|
+
...y,
|
|
34
|
+
children: /* @__PURE__ */ a(N, { className: e.card, children: /* @__PURE__ */ l(N.Body, { className: e.body, children: [
|
|
35
|
+
n && /* @__PURE__ */ a("div", { className: e.logo, children: n }),
|
|
36
|
+
/* @__PURE__ */ l("div", { className: e.header, children: [
|
|
37
|
+
/* @__PURE__ */ a("h1", { className: e.title, children: f }),
|
|
38
|
+
m && /* @__PURE__ */ a("p", { className: e.subtitle, children: m })
|
|
39
|
+
] }),
|
|
40
|
+
h && /* @__PURE__ */ a("div", { className: e.error, children: h }),
|
|
41
|
+
u && /* @__PURE__ */ a("div", { className: e.success, children: u }),
|
|
42
|
+
/* @__PURE__ */ l("form", { onSubmit: R, className: e.form, children: [
|
|
43
|
+
/* @__PURE__ */ a("div", { className: e.formGroup, children: /* @__PURE__ */ a(
|
|
44
|
+
q,
|
|
45
|
+
{
|
|
46
|
+
label: "Email address",
|
|
47
|
+
type: "email",
|
|
48
|
+
placeholder: "you@example.com",
|
|
49
|
+
value: t,
|
|
50
|
+
onChange: (r) => x(r.target.value),
|
|
51
|
+
disabled: s,
|
|
52
|
+
autoComplete: "email",
|
|
53
|
+
required: !0
|
|
54
|
+
}
|
|
55
|
+
) }),
|
|
56
|
+
/* @__PURE__ */ l("div", { className: e.formGroup, children: [
|
|
57
|
+
/* @__PURE__ */ l("div", { className: e.passwordLabel, children: [
|
|
58
|
+
/* @__PURE__ */ a("label", { className: e.label, children: "Password" }),
|
|
59
|
+
/* @__PURE__ */ a(
|
|
60
|
+
"button",
|
|
61
|
+
{
|
|
62
|
+
type: "button",
|
|
63
|
+
className: e.showPasswordButton,
|
|
64
|
+
onClick: () => S(!i),
|
|
65
|
+
"aria-label": i ? "Hide password" : "Show password",
|
|
66
|
+
disabled: s,
|
|
67
|
+
children: i ? /* @__PURE__ */ a(j, { size: 18 }) : /* @__PURE__ */ a(D, { size: 18 })
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
] }),
|
|
71
|
+
/* @__PURE__ */ a(
|
|
72
|
+
"input",
|
|
73
|
+
{
|
|
74
|
+
type: i ? "text" : "password",
|
|
75
|
+
className: e.input,
|
|
76
|
+
placeholder: "••••••••",
|
|
77
|
+
value: o,
|
|
78
|
+
onChange: (r) => C(r.target.value),
|
|
79
|
+
disabled: s,
|
|
80
|
+
autoComplete: "current-password",
|
|
81
|
+
required: !0
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
] }),
|
|
85
|
+
/* @__PURE__ */ l("div", { className: e.optionsRow, children: [
|
|
86
|
+
/* @__PURE__ */ l("label", { className: e.checkbox, children: [
|
|
87
|
+
/* @__PURE__ */ a(
|
|
88
|
+
"input",
|
|
89
|
+
{
|
|
90
|
+
type: "checkbox",
|
|
91
|
+
checked: d,
|
|
92
|
+
onChange: (r) => P(r.target.checked),
|
|
93
|
+
disabled: s
|
|
94
|
+
}
|
|
95
|
+
),
|
|
96
|
+
/* @__PURE__ */ a("span", { children: "Remember me" })
|
|
97
|
+
] }),
|
|
98
|
+
/* @__PURE__ */ a(
|
|
99
|
+
"button",
|
|
100
|
+
{
|
|
101
|
+
type: "button",
|
|
102
|
+
className: e.link,
|
|
103
|
+
onClick: w,
|
|
104
|
+
disabled: s,
|
|
105
|
+
children: "Forgot password?"
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
] }),
|
|
109
|
+
/* @__PURE__ */ a(
|
|
110
|
+
T,
|
|
111
|
+
{
|
|
112
|
+
type: "submit",
|
|
113
|
+
variant: "primary",
|
|
114
|
+
fullWidth: !0,
|
|
115
|
+
isLoading: s,
|
|
116
|
+
disabled: g,
|
|
117
|
+
children: "Sign in"
|
|
118
|
+
}
|
|
119
|
+
)
|
|
120
|
+
] }),
|
|
121
|
+
b && /* @__PURE__ */ l("p", { className: e.signupText, children: [
|
|
122
|
+
"Don't have an account?",
|
|
123
|
+
" ",
|
|
124
|
+
/* @__PURE__ */ a(
|
|
125
|
+
"button",
|
|
126
|
+
{
|
|
127
|
+
type: "button",
|
|
128
|
+
className: e.link,
|
|
129
|
+
onClick: b,
|
|
130
|
+
disabled: s,
|
|
131
|
+
children: "Sign up"
|
|
132
|
+
}
|
|
133
|
+
)
|
|
134
|
+
] })
|
|
135
|
+
] }) })
|
|
136
|
+
}
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
);
|
|
140
|
+
z.displayName = "LoginTemplate";
|
|
141
|
+
export {
|
|
142
|
+
z as LoginTemplate
|
|
143
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),d=require("lucide-react"),n=require("../../../../dist/index26.cjs"),l=require("../../../../dist/index28.cjs"),a=require("./ProfilePageTemplate.module.css.cjs"),g=[{id:"profile",label:"Profile"},{id:"security",label:"Security"},{id:"settings",label:"Settings"}],u=r.forwardRef(({user:s={id:"1",name:"John Doe",email:"john@example.com"},onEditProfile:m,onChangePassword:f,onLogout:x,tabs:j=g,activeTab:N="profile",onSelectTab:o,isLoading:i=!1,error:h,className:p,...b},v)=>{const[c,y]=r.useState(N),C=r.useCallback(t=>{y(t),o?.(t)},[o]);return e.jsxs("div",{ref:v,className:[a.default.root,p].filter(Boolean).join(" "),...b,children:[e.jsx(l.Card,{className:a.default.headerCard,children:e.jsxs(l.Card.Body,{className:a.default.headerBody,children:[e.jsxs("div",{className:a.default.headerContent,children:[s?.avatar&&e.jsx("img",{src:s.avatar,alt:s.name,className:a.default.avatar}),!s?.avatar&&e.jsx("div",{className:a.default.avatarPlaceholder,children:s?.name?.charAt(0)?.toUpperCase()||"U"}),e.jsxs("div",{className:a.default.userInfo,children:[e.jsx("h1",{className:a.default.userName,children:s?.name}),e.jsx("p",{className:a.default.userEmail,children:s?.email}),s?.bio&&e.jsx("p",{className:a.default.userBio,children:s.bio})]})]}),e.jsxs("div",{className:a.default.headerActions,children:[e.jsx(n.Button,{variant:"secondary",icon:e.jsx(d.Edit2,{size:18}),onClick:m,disabled:i,children:"Edit Profile"}),e.jsx(n.Button,{variant:"ghost",icon:e.jsx(d.LogOut,{size:18}),onClick:x,disabled:i,children:"Logout"})]})]})}),h&&e.jsx("div",{className:a.default.error,children:h}),e.jsxs("div",{className:a.default.tabsContainer,children:[e.jsx("div",{className:a.default.tabs,children:j.map(t=>e.jsx("button",{className:[a.default.tabButton,c===t.id&&a.default.tabButtonActive].filter(Boolean).join(" "),onClick:()=>C(t.id),children:t.label},t.id))}),e.jsxs("div",{className:a.default.tabContent,children:[c==="profile"&&e.jsxs(l.Card,{children:[e.jsx(l.Card.Header,{children:e.jsx("h2",{className:a.default.sectionTitle,children:"Profile Information"})}),e.jsx(l.Card.Body,{className:a.default.sectionBody,children:e.jsxs("div",{className:a.default.infoGrid,children:[e.jsxs("div",{className:a.default.infoItem,children:[e.jsx("span",{className:a.default.infoLabel,children:"Name"}),e.jsx("span",{className:a.default.infoValue,children:s?.name})]}),e.jsxs("div",{className:a.default.infoItem,children:[e.jsx("span",{className:a.default.infoLabel,children:"Email"}),e.jsx("span",{className:a.default.infoValue,children:s?.email})]}),s?.phone&&e.jsxs("div",{className:a.default.infoItem,children:[e.jsx(d.Phone,{size:16}),e.jsx("span",{className:a.default.infoLabel,children:"Phone"}),e.jsx("span",{className:a.default.infoValue,children:s.phone})]}),s?.location&&e.jsxs("div",{className:a.default.infoItem,children:[e.jsx(d.MapPin,{size:16}),e.jsx("span",{className:a.default.infoLabel,children:"Location"}),e.jsx("span",{className:a.default.infoValue,children:s.location})]}),s?.joinDate&&e.jsxs("div",{className:a.default.infoItem,children:[e.jsx(d.Calendar,{size:16}),e.jsx("span",{className:a.default.infoLabel,children:"Member Since"}),e.jsx("span",{className:a.default.infoValue,children:new Date(s.joinDate).toLocaleDateString()})]})]})})]}),c==="security"&&e.jsxs(l.Card,{children:[e.jsx(l.Card.Header,{children:e.jsx("h2",{className:a.default.sectionTitle,children:"Security Settings"})}),e.jsxs(l.Card.Body,{className:a.default.sectionBody,children:[e.jsxs("div",{className:a.default.securityItem,children:[e.jsxs("div",{children:[e.jsx("h3",{className:a.default.securityItemTitle,children:"Password & Authentication"}),e.jsx("p",{className:a.default.securityItemDescription,children:"Manage your password and security settings"})]}),e.jsx(n.Button,{variant:"secondary",icon:e.jsx(d.Lock,{size:18}),onClick:f,disabled:i,children:"Change Password"})]}),e.jsxs("div",{className:a.default.securityItem,children:[e.jsxs("div",{children:[e.jsx("h3",{className:a.default.securityItemTitle,children:"Two-Factor Authentication"}),e.jsx("p",{className:a.default.securityItemDescription,children:"Add an extra layer of security to your account"})]}),e.jsx(n.Button,{variant:"ghost",disabled:i,children:"Set Up"})]})]})]}),c==="settings"&&e.jsxs(l.Card,{children:[e.jsx(l.Card.Header,{children:e.jsx("h2",{className:a.default.sectionTitle,children:"Settings"})}),e.jsxs(l.Card.Body,{className:a.default.sectionBody,children:[e.jsx("div",{className:a.default.settingItem,children:e.jsxs("label",{className:a.default.checkbox,children:[e.jsx("input",{type:"checkbox",defaultChecked:!0,disabled:i}),e.jsx("span",{children:"Email notifications"})]})}),e.jsx("div",{className:a.default.settingItem,children:e.jsxs("label",{className:a.default.checkbox,children:[e.jsx("input",{type:"checkbox",defaultChecked:!0,disabled:i}),e.jsx("span",{children:"Marketing emails"})]})}),e.jsx("div",{className:a.default.settingItem,children:e.jsxs("label",{className:a.default.checkbox,children:[e.jsx("input",{type:"checkbox",disabled:i}),e.jsx("span",{children:"Account activity alerts"})]})})]})]})]})]})]})});u.displayName="ProfilePageTemplate";exports.ProfilePageTemplate=u;
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { jsxs as i, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as C, useState as I, useCallback as g } from "react";
|
|
3
|
+
import { Edit2 as B, LogOut as P, Phone as x, MapPin as T, Calendar as S, Lock as j } from "lucide-react";
|
|
4
|
+
import { Button as d } from "../../../../dist/index26.mjs";
|
|
5
|
+
import { Card as c } from "../../../../dist/index28.mjs";
|
|
6
|
+
import e from "./ProfilePageTemplate.module.css.mjs";
|
|
7
|
+
const A = [
|
|
8
|
+
{ id: "profile", label: "Profile" },
|
|
9
|
+
{ id: "security", label: "Security" },
|
|
10
|
+
{ id: "settings", label: "Settings" }
|
|
11
|
+
], D = C(
|
|
12
|
+
({
|
|
13
|
+
user: l = {
|
|
14
|
+
id: "1",
|
|
15
|
+
name: "John Doe",
|
|
16
|
+
email: "john@example.com"
|
|
17
|
+
},
|
|
18
|
+
onEditProfile: m,
|
|
19
|
+
onChangePassword: h,
|
|
20
|
+
onLogout: N,
|
|
21
|
+
tabs: p = A,
|
|
22
|
+
activeTab: f = "profile",
|
|
23
|
+
onSelectTab: r,
|
|
24
|
+
isLoading: n = !1,
|
|
25
|
+
error: o,
|
|
26
|
+
className: b,
|
|
27
|
+
...v
|
|
28
|
+
}, y) => {
|
|
29
|
+
const [t, u] = I(f), k = g(
|
|
30
|
+
(s) => {
|
|
31
|
+
u(s), r?.(s);
|
|
32
|
+
},
|
|
33
|
+
[r]
|
|
34
|
+
);
|
|
35
|
+
return /* @__PURE__ */ i(
|
|
36
|
+
"div",
|
|
37
|
+
{
|
|
38
|
+
ref: y,
|
|
39
|
+
className: [e.root, b].filter(Boolean).join(" "),
|
|
40
|
+
...v,
|
|
41
|
+
children: [
|
|
42
|
+
/* @__PURE__ */ a(c, { className: e.headerCard, children: /* @__PURE__ */ i(c.Body, { className: e.headerBody, children: [
|
|
43
|
+
/* @__PURE__ */ i("div", { className: e.headerContent, children: [
|
|
44
|
+
l?.avatar && /* @__PURE__ */ a(
|
|
45
|
+
"img",
|
|
46
|
+
{
|
|
47
|
+
src: l.avatar,
|
|
48
|
+
alt: l.name,
|
|
49
|
+
className: e.avatar
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
!l?.avatar && /* @__PURE__ */ a("div", { className: e.avatarPlaceholder, children: l?.name?.charAt(0)?.toUpperCase() || "U" }),
|
|
53
|
+
/* @__PURE__ */ i("div", { className: e.userInfo, children: [
|
|
54
|
+
/* @__PURE__ */ a("h1", { className: e.userName, children: l?.name }),
|
|
55
|
+
/* @__PURE__ */ a("p", { className: e.userEmail, children: l?.email }),
|
|
56
|
+
l?.bio && /* @__PURE__ */ a("p", { className: e.userBio, children: l.bio })
|
|
57
|
+
] })
|
|
58
|
+
] }),
|
|
59
|
+
/* @__PURE__ */ i("div", { className: e.headerActions, children: [
|
|
60
|
+
/* @__PURE__ */ a(
|
|
61
|
+
d,
|
|
62
|
+
{
|
|
63
|
+
variant: "secondary",
|
|
64
|
+
icon: /* @__PURE__ */ a(B, { size: 18 }),
|
|
65
|
+
onClick: m,
|
|
66
|
+
disabled: n,
|
|
67
|
+
children: "Edit Profile"
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
/* @__PURE__ */ a(
|
|
71
|
+
d,
|
|
72
|
+
{
|
|
73
|
+
variant: "ghost",
|
|
74
|
+
icon: /* @__PURE__ */ a(P, { size: 18 }),
|
|
75
|
+
onClick: N,
|
|
76
|
+
disabled: n,
|
|
77
|
+
children: "Logout"
|
|
78
|
+
}
|
|
79
|
+
)
|
|
80
|
+
] })
|
|
81
|
+
] }) }),
|
|
82
|
+
o && /* @__PURE__ */ a("div", { className: e.error, children: o }),
|
|
83
|
+
/* @__PURE__ */ i("div", { className: e.tabsContainer, children: [
|
|
84
|
+
/* @__PURE__ */ a("div", { className: e.tabs, children: p.map((s) => /* @__PURE__ */ a(
|
|
85
|
+
"button",
|
|
86
|
+
{
|
|
87
|
+
className: [
|
|
88
|
+
e.tabButton,
|
|
89
|
+
t === s.id && e.tabButtonActive
|
|
90
|
+
].filter(Boolean).join(" "),
|
|
91
|
+
onClick: () => k(s.id),
|
|
92
|
+
children: s.label
|
|
93
|
+
},
|
|
94
|
+
s.id
|
|
95
|
+
)) }),
|
|
96
|
+
/* @__PURE__ */ i("div", { className: e.tabContent, children: [
|
|
97
|
+
t === "profile" && /* @__PURE__ */ i(c, { children: [
|
|
98
|
+
/* @__PURE__ */ a(c.Header, { children: /* @__PURE__ */ a("h2", { className: e.sectionTitle, children: "Profile Information" }) }),
|
|
99
|
+
/* @__PURE__ */ a(c.Body, { className: e.sectionBody, children: /* @__PURE__ */ i("div", { className: e.infoGrid, children: [
|
|
100
|
+
/* @__PURE__ */ i("div", { className: e.infoItem, children: [
|
|
101
|
+
/* @__PURE__ */ a("span", { className: e.infoLabel, children: "Name" }),
|
|
102
|
+
/* @__PURE__ */ a("span", { className: e.infoValue, children: l?.name })
|
|
103
|
+
] }),
|
|
104
|
+
/* @__PURE__ */ i("div", { className: e.infoItem, children: [
|
|
105
|
+
/* @__PURE__ */ a("span", { className: e.infoLabel, children: "Email" }),
|
|
106
|
+
/* @__PURE__ */ a("span", { className: e.infoValue, children: l?.email })
|
|
107
|
+
] }),
|
|
108
|
+
l?.phone && /* @__PURE__ */ i("div", { className: e.infoItem, children: [
|
|
109
|
+
/* @__PURE__ */ a(x, { size: 16 }),
|
|
110
|
+
/* @__PURE__ */ a("span", { className: e.infoLabel, children: "Phone" }),
|
|
111
|
+
/* @__PURE__ */ a("span", { className: e.infoValue, children: l.phone })
|
|
112
|
+
] }),
|
|
113
|
+
l?.location && /* @__PURE__ */ i("div", { className: e.infoItem, children: [
|
|
114
|
+
/* @__PURE__ */ a(T, { size: 16 }),
|
|
115
|
+
/* @__PURE__ */ a("span", { className: e.infoLabel, children: "Location" }),
|
|
116
|
+
/* @__PURE__ */ a("span", { className: e.infoValue, children: l.location })
|
|
117
|
+
] }),
|
|
118
|
+
l?.joinDate && /* @__PURE__ */ i("div", { className: e.infoItem, children: [
|
|
119
|
+
/* @__PURE__ */ a(S, { size: 16 }),
|
|
120
|
+
/* @__PURE__ */ a("span", { className: e.infoLabel, children: "Member Since" }),
|
|
121
|
+
/* @__PURE__ */ a("span", { className: e.infoValue, children: new Date(l.joinDate).toLocaleDateString() })
|
|
122
|
+
] })
|
|
123
|
+
] }) })
|
|
124
|
+
] }),
|
|
125
|
+
t === "security" && /* @__PURE__ */ i(c, { children: [
|
|
126
|
+
/* @__PURE__ */ a(c.Header, { children: /* @__PURE__ */ a("h2", { className: e.sectionTitle, children: "Security Settings" }) }),
|
|
127
|
+
/* @__PURE__ */ i(c.Body, { className: e.sectionBody, children: [
|
|
128
|
+
/* @__PURE__ */ i("div", { className: e.securityItem, children: [
|
|
129
|
+
/* @__PURE__ */ i("div", { children: [
|
|
130
|
+
/* @__PURE__ */ a("h3", { className: e.securityItemTitle, children: "Password & Authentication" }),
|
|
131
|
+
/* @__PURE__ */ a("p", { className: e.securityItemDescription, children: "Manage your password and security settings" })
|
|
132
|
+
] }),
|
|
133
|
+
/* @__PURE__ */ a(
|
|
134
|
+
d,
|
|
135
|
+
{
|
|
136
|
+
variant: "secondary",
|
|
137
|
+
icon: /* @__PURE__ */ a(j, { size: 18 }),
|
|
138
|
+
onClick: h,
|
|
139
|
+
disabled: n,
|
|
140
|
+
children: "Change Password"
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
] }),
|
|
144
|
+
/* @__PURE__ */ i("div", { className: e.securityItem, children: [
|
|
145
|
+
/* @__PURE__ */ i("div", { children: [
|
|
146
|
+
/* @__PURE__ */ a("h3", { className: e.securityItemTitle, children: "Two-Factor Authentication" }),
|
|
147
|
+
/* @__PURE__ */ a("p", { className: e.securityItemDescription, children: "Add an extra layer of security to your account" })
|
|
148
|
+
] }),
|
|
149
|
+
/* @__PURE__ */ a(d, { variant: "ghost", disabled: n, children: "Set Up" })
|
|
150
|
+
] })
|
|
151
|
+
] })
|
|
152
|
+
] }),
|
|
153
|
+
t === "settings" && /* @__PURE__ */ i(c, { children: [
|
|
154
|
+
/* @__PURE__ */ a(c.Header, { children: /* @__PURE__ */ a("h2", { className: e.sectionTitle, children: "Settings" }) }),
|
|
155
|
+
/* @__PURE__ */ i(c.Body, { className: e.sectionBody, children: [
|
|
156
|
+
/* @__PURE__ */ a("div", { className: e.settingItem, children: /* @__PURE__ */ i("label", { className: e.checkbox, children: [
|
|
157
|
+
/* @__PURE__ */ a(
|
|
158
|
+
"input",
|
|
159
|
+
{
|
|
160
|
+
type: "checkbox",
|
|
161
|
+
defaultChecked: !0,
|
|
162
|
+
disabled: n
|
|
163
|
+
}
|
|
164
|
+
),
|
|
165
|
+
/* @__PURE__ */ a("span", { children: "Email notifications" })
|
|
166
|
+
] }) }),
|
|
167
|
+
/* @__PURE__ */ a("div", { className: e.settingItem, children: /* @__PURE__ */ i("label", { className: e.checkbox, children: [
|
|
168
|
+
/* @__PURE__ */ a(
|
|
169
|
+
"input",
|
|
170
|
+
{
|
|
171
|
+
type: "checkbox",
|
|
172
|
+
defaultChecked: !0,
|
|
173
|
+
disabled: n
|
|
174
|
+
}
|
|
175
|
+
),
|
|
176
|
+
/* @__PURE__ */ a("span", { children: "Marketing emails" })
|
|
177
|
+
] }) }),
|
|
178
|
+
/* @__PURE__ */ a("div", { className: e.settingItem, children: /* @__PURE__ */ i("label", { className: e.checkbox, children: [
|
|
179
|
+
/* @__PURE__ */ a("input", { type: "checkbox", disabled: n }),
|
|
180
|
+
/* @__PURE__ */ a("span", { children: "Account activity alerts" })
|
|
181
|
+
] }) })
|
|
182
|
+
] })
|
|
183
|
+
] })
|
|
184
|
+
] })
|
|
185
|
+
] })
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
);
|
|
191
|
+
D.displayName = "ProfilePageTemplate";
|
|
192
|
+
export {
|
|
193
|
+
D as ProfilePageTemplate
|
|
194
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),h=require("lucide-react"),j=require("../../../../dist/index26.cjs"),d=require("../../../../dist/index28.cjs"),a=require("./SettingsTemplate.module.css.cjs"),f=c.forwardRef(({title:x="Settings",sections:t=[],activeSectionId:v,onSelectSection:r,onSave:N,onReset:p,isLoading:i=!1,hasUnsavedChanges:n=!1,error:o,successMessage:u,className:g,...S},C)=>{const[m,b]=c.useState(v||t[0]?.id||""),y=c.useCallback(s=>{b(s),r?.(s)},[r]),l=t.find(s=>s.id===m);return e.jsxs("div",{ref:C,className:[a.default.root,g].filter(Boolean).join(" "),...S,children:[e.jsxs("div",{className:a.default.header,children:[e.jsx("h1",{className:a.default.title,children:x}),n&&e.jsx("div",{className:a.default.unsavedBadge,children:"Unsaved changes"})]}),e.jsxs("div",{className:a.default.container,children:[t.length>0&&e.jsx("nav",{className:a.default.sidebar,children:e.jsx("div",{className:a.default.sidebarContent,children:t.map(s=>e.jsxs("button",{className:[a.default.navItem,m===s.id&&a.default.navItemActive].filter(Boolean).join(" "),onClick:()=>y(s.id),disabled:i,children:[e.jsx("div",{className:a.default.navItemLabel,children:s.title}),s.description&&e.jsx("div",{className:a.default.navItemDescription,children:s.description})]},s.id))})}),e.jsxs("div",{className:a.default.content,children:[o&&e.jsxs("div",{className:a.default.errorMessage,children:[e.jsx(h.AlertCircle,{size:18}),o]}),u&&e.jsxs("div",{className:a.default.successMessage,children:[e.jsx(h.Check,{size:18}),u]}),l?e.jsxs(d.Card,{className:a.default.sectionCard,children:[e.jsxs(d.Card.Header,{children:[e.jsx("h2",{className:a.default.sectionTitle,children:l.title}),l.description&&e.jsx("p",{className:a.default.sectionDescription,children:l.description})]}),e.jsx(d.Card.Body,{className:a.default.sectionBody,children:l.content})]}):t.length===0?e.jsx(d.Card,{children:e.jsx(d.Card.Body,{className:a.default.emptyState,children:e.jsx("p",{children:"No settings sections configured"})})}):null,t.length>0&&e.jsxs("div",{className:a.default.actions,children:[e.jsx(j.Button,{variant:"ghost",onClick:p,disabled:i||!n,children:"Discard Changes"}),e.jsx(j.Button,{variant:"primary",onClick:N,isLoading:i,disabled:!n,children:"Save Changes"})]})]})]})]})});f.displayName="SettingsTemplate";exports.SettingsTemplate=f;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { jsxs as l, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as B, useState as k, useCallback as j } from "react";
|
|
3
|
+
import { AlertCircle as x, Check as D } from "lucide-react";
|
|
4
|
+
import { Button as p } from "../../../../dist/index26.mjs";
|
|
5
|
+
import { Card as n } from "../../../../dist/index28.mjs";
|
|
6
|
+
import e from "./SettingsTemplate.module.css.mjs";
|
|
7
|
+
const I = B(
|
|
8
|
+
({
|
|
9
|
+
title: v = "Settings",
|
|
10
|
+
sections: t = [],
|
|
11
|
+
activeSectionId: N,
|
|
12
|
+
onSelectSection: d,
|
|
13
|
+
onSave: f,
|
|
14
|
+
onReset: g,
|
|
15
|
+
isLoading: r = !1,
|
|
16
|
+
hasUnsavedChanges: s = !1,
|
|
17
|
+
error: o,
|
|
18
|
+
successMessage: m,
|
|
19
|
+
className: S,
|
|
20
|
+
...C
|
|
21
|
+
}, b) => {
|
|
22
|
+
const [h, u] = k(
|
|
23
|
+
N || t[0]?.id || ""
|
|
24
|
+
), y = j(
|
|
25
|
+
(a) => {
|
|
26
|
+
u(a), d?.(a);
|
|
27
|
+
},
|
|
28
|
+
[d]
|
|
29
|
+
), c = t.find((a) => a.id === h);
|
|
30
|
+
return /* @__PURE__ */ l(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
ref: b,
|
|
34
|
+
className: [e.root, S].filter(Boolean).join(" "),
|
|
35
|
+
...C,
|
|
36
|
+
children: [
|
|
37
|
+
/* @__PURE__ */ l("div", { className: e.header, children: [
|
|
38
|
+
/* @__PURE__ */ i("h1", { className: e.title, children: v }),
|
|
39
|
+
s && /* @__PURE__ */ i("div", { className: e.unsavedBadge, children: "Unsaved changes" })
|
|
40
|
+
] }),
|
|
41
|
+
/* @__PURE__ */ l("div", { className: e.container, children: [
|
|
42
|
+
t.length > 0 && /* @__PURE__ */ i("nav", { className: e.sidebar, children: /* @__PURE__ */ i("div", { className: e.sidebarContent, children: t.map((a) => /* @__PURE__ */ l(
|
|
43
|
+
"button",
|
|
44
|
+
{
|
|
45
|
+
className: [
|
|
46
|
+
e.navItem,
|
|
47
|
+
h === a.id && e.navItemActive
|
|
48
|
+
].filter(Boolean).join(" "),
|
|
49
|
+
onClick: () => y(a.id),
|
|
50
|
+
disabled: r,
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ i("div", { className: e.navItemLabel, children: a.title }),
|
|
53
|
+
a.description && /* @__PURE__ */ i("div", { className: e.navItemDescription, children: a.description })
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
a.id
|
|
57
|
+
)) }) }),
|
|
58
|
+
/* @__PURE__ */ l("div", { className: e.content, children: [
|
|
59
|
+
o && /* @__PURE__ */ l("div", { className: e.errorMessage, children: [
|
|
60
|
+
/* @__PURE__ */ i(x, { size: 18 }),
|
|
61
|
+
o
|
|
62
|
+
] }),
|
|
63
|
+
m && /* @__PURE__ */ l("div", { className: e.successMessage, children: [
|
|
64
|
+
/* @__PURE__ */ i(D, { size: 18 }),
|
|
65
|
+
m
|
|
66
|
+
] }),
|
|
67
|
+
c ? /* @__PURE__ */ l(n, { className: e.sectionCard, children: [
|
|
68
|
+
/* @__PURE__ */ l(n.Header, { children: [
|
|
69
|
+
/* @__PURE__ */ i("h2", { className: e.sectionTitle, children: c.title }),
|
|
70
|
+
c.description && /* @__PURE__ */ i("p", { className: e.sectionDescription, children: c.description })
|
|
71
|
+
] }),
|
|
72
|
+
/* @__PURE__ */ i(n.Body, { className: e.sectionBody, children: c.content })
|
|
73
|
+
] }) : t.length === 0 ? /* @__PURE__ */ i(n, { children: /* @__PURE__ */ i(n.Body, { className: e.emptyState, children: /* @__PURE__ */ i("p", { children: "No settings sections configured" }) }) }) : null,
|
|
74
|
+
t.length > 0 && /* @__PURE__ */ l("div", { className: e.actions, children: [
|
|
75
|
+
/* @__PURE__ */ i(
|
|
76
|
+
p,
|
|
77
|
+
{
|
|
78
|
+
variant: "ghost",
|
|
79
|
+
onClick: g,
|
|
80
|
+
disabled: r || !s,
|
|
81
|
+
children: "Discard Changes"
|
|
82
|
+
}
|
|
83
|
+
),
|
|
84
|
+
/* @__PURE__ */ i(
|
|
85
|
+
p,
|
|
86
|
+
{
|
|
87
|
+
variant: "primary",
|
|
88
|
+
onClick: f,
|
|
89
|
+
isLoading: r,
|
|
90
|
+
disabled: !s,
|
|
91
|
+
children: "Save Changes"
|
|
92
|
+
}
|
|
93
|
+
)
|
|
94
|
+
] })
|
|
95
|
+
] })
|
|
96
|
+
] })
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
);
|
|
102
|
+
I.displayName = "SettingsTemplate";
|
|
103
|
+
export {
|
|
104
|
+
I as SettingsTemplate
|
|
105
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./components/Calendar/Calendar.cjs"),r=require("./components/DatePicker/DatePicker.cjs");exports.Calendar=e.Calendar;exports.DatePicker=r.DatePicker;
|
package/dist/chart.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./components/Chart/Chart.cjs");exports.ChartContainer=t.ChartContainer;exports.ChartGradient=t.ChartGradient;exports.ChartLegend=t.ChartLegend;exports.ChartLegendContent=t.ChartLegendContent;exports.ChartTooltip=t.ChartTooltip;exports.ChartTooltipContent=t.ChartTooltipContent;
|
package/dist/chart.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ChartContainer as e, ChartGradient as n, ChartLegend as o, ChartLegendContent as C, ChartTooltip as a, ChartTooltipContent as h } from "./components/Chart/Chart.mjs";
|
|
2
|
+
export {
|
|
3
|
+
e as ChartContainer,
|
|
4
|
+
n as ChartGradient,
|
|
5
|
+
o as ChartLegend,
|
|
6
|
+
C as ChartLegendContent,
|
|
7
|
+
a as ChartTooltip,
|
|
8
|
+
h as ChartTooltipContent
|
|
9
|
+
};
|