@orion-ds/react 4.2.1 → 4.2.3
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.d.ts +4 -0
- package/dist/ComponentShowcase.d.ts.map +1 -0
- package/dist/client.d.ts +21 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/components/Accordion/Accordion.d.ts +4 -0
- package/dist/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Accordion/Accordion.stories.d.ts +17 -0
- package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -0
- package/dist/components/Accordion/Accordion.types.d.ts +88 -0
- package/dist/components/Accordion/Accordion.types.d.ts.map +1 -0
- package/dist/components/Accordion/index.d.ts +21 -0
- package/dist/components/Accordion/index.d.ts.map +1 -0
- package/dist/components/ActivityFeed/ActivityFeed.d.ts +4 -0
- package/dist/components/ActivityFeed/ActivityFeed.d.ts.map +1 -0
- package/dist/components/ActivityFeed/ActivityFeed.stories.d.ts +16 -0
- package/dist/components/ActivityFeed/ActivityFeed.stories.d.ts.map +1 -0
- package/dist/components/ActivityFeed/ActivityFeed.types.d.ts +155 -0
- package/dist/components/ActivityFeed/ActivityFeed.types.d.ts.map +1 -0
- package/dist/components/ActivityFeed/index.d.ts +3 -0
- package/dist/components/ActivityFeed/index.d.ts.map +1 -0
- package/dist/components/AgentCard/AgentCard.d.ts +5 -0
- package/dist/components/AgentCard/AgentCard.d.ts.map +1 -0
- package/dist/components/AgentCard/AgentCard.stories.d.ts +16 -0
- package/dist/components/AgentCard/AgentCard.stories.d.ts.map +1 -0
- package/dist/components/AgentCard/AgentCard.types.d.ts +83 -0
- package/dist/components/AgentCard/AgentCard.types.d.ts.map +1 -0
- package/dist/components/AgentCard/index.d.ts +8 -0
- package/dist/components/AgentCard/index.d.ts.map +1 -0
- package/dist/components/Alert/Alert.d.ts +5 -0
- package/dist/components/Alert/Alert.d.ts.map +1 -0
- package/dist/components/Alert/Alert.stories.d.ts +26 -0
- package/dist/components/Alert/Alert.stories.d.ts.map +1 -0
- package/dist/components/Alert/Alert.types.d.ts +49 -0
- package/dist/components/Alert/Alert.types.d.ts.map +1 -0
- package/dist/components/Alert/index.d.ts +16 -0
- package/dist/components/Alert/index.d.ts.map +1 -0
- package/dist/components/AlertDialog/AlertDialog.d.ts +10 -0
- package/dist/components/AlertDialog/AlertDialog.d.ts.map +1 -0
- package/dist/components/AlertDialog/AlertDialog.stories.d.ts +13 -0
- package/dist/components/AlertDialog/AlertDialog.stories.d.ts.map +1 -0
- package/dist/components/AlertDialog/AlertDialog.types.d.ts +90 -0
- package/dist/components/AlertDialog/AlertDialog.types.d.ts.map +1 -0
- package/dist/components/AlertDialog/index.d.ts +21 -0
- package/dist/components/AlertDialog/index.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.d.ts +5 -0
- package/dist/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.stories.d.ts +51 -0
- package/dist/components/Avatar/Avatar.stories.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.types.d.ts +50 -0
- package/dist/components/Avatar/Avatar.types.d.ts.map +1 -0
- package/dist/components/Avatar/index.d.ts +15 -0
- package/dist/components/Avatar/index.d.ts.map +1 -0
- package/dist/components/Badge/Badge.d.ts +5 -0
- package/dist/components/Badge/Badge.d.ts.map +1 -0
- package/dist/components/Badge/Badge.stories.d.ts +38 -0
- package/dist/components/Badge/Badge.stories.d.ts.map +1 -0
- package/dist/components/Badge/Badge.types.d.ts +42 -0
- package/dist/components/Badge/Badge.types.d.ts.map +1 -0
- package/dist/components/Badge/index.d.ts +16 -0
- package/dist/components/Badge/index.d.ts.map +1 -0
- package/dist/components/Banner/Banner.d.ts +8 -0
- package/dist/components/Banner/Banner.d.ts.map +1 -0
- package/dist/components/Banner/Banner.stories.d.ts +33 -0
- package/dist/components/Banner/Banner.stories.d.ts.map +1 -0
- package/dist/components/Banner/Banner.types.d.ts +101 -0
- package/dist/components/Banner/Banner.types.d.ts.map +1 -0
- package/dist/components/Banner/index.d.ts +3 -0
- package/dist/components/Banner/index.d.ts.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +5 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +52 -0
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +88 -0
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts.map +1 -0
- package/dist/components/Breadcrumb/index.d.ts +20 -0
- package/dist/components/Breadcrumb/index.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +4 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/Button.stories.d.ts +56 -0
- package/dist/components/Button/Button.stories.d.ts.map +1 -0
- package/dist/components/Button/Button.types.d.ts +196 -0
- package/dist/components/Button/Button.types.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +16 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Calendar/Calendar.d.ts +5 -0
- package/dist/components/Calendar/Calendar.d.ts.map +1 -0
- package/dist/components/Calendar/Calendar.stories.d.ts +37 -0
- package/dist/components/Calendar/Calendar.stories.d.ts.map +1 -0
- package/dist/components/Calendar/Calendar.types.d.ts +74 -0
- package/dist/components/Calendar/Calendar.types.d.ts.map +1 -0
- package/dist/components/Calendar/index.d.ts +14 -0
- package/dist/components/Calendar/index.d.ts.map +1 -0
- package/dist/components/Card/Card.d.ts +13 -0
- package/dist/components/Card/Card.d.ts.map +1 -0
- package/dist/components/Card/Card.stories.d.ts +33 -0
- package/dist/components/Card/Card.stories.d.ts.map +1 -0
- package/dist/components/Card/Card.types.d.ts +104 -0
- package/dist/components/Card/Card.types.d.ts.map +1 -0
- package/dist/components/Card/index.d.ts +19 -0
- package/dist/components/Card/index.d.ts.map +1 -0
- package/dist/components/Carousel/Carousel.d.ts +4 -0
- package/dist/components/Carousel/Carousel.d.ts.map +1 -0
- package/dist/components/Carousel/Carousel.stories.d.ts +92 -0
- package/dist/components/Carousel/Carousel.stories.d.ts.map +1 -0
- package/dist/components/Carousel/Carousel.types.d.ts +184 -0
- package/dist/components/Carousel/Carousel.types.d.ts.map +1 -0
- package/dist/components/Carousel/CarouselCard.d.ts +7 -0
- package/dist/components/Carousel/CarouselCard.d.ts.map +1 -0
- package/dist/components/Carousel/index.d.ts +25 -0
- package/dist/components/Carousel/index.d.ts.map +1 -0
- package/dist/components/Chart/Chart.d.ts +35 -0
- package/dist/components/Chart/Chart.d.ts.map +1 -0
- package/dist/components/Chart/Chart.stories.d.ts +36 -0
- package/dist/components/Chart/Chart.stories.d.ts.map +1 -0
- package/dist/components/Chart/Chart.types.d.ts +135 -0
- package/dist/components/Chart/Chart.types.d.ts.map +1 -0
- package/dist/components/Chart/index.d.ts +22 -0
- package/dist/components/Chart/index.d.ts.map +1 -0
- package/dist/components/Chart/useResolvedChartColors.d.ts +7 -0
- package/dist/components/Chart/useResolvedChartColors.d.ts.map +1 -0
- package/dist/components/Chat/Chat.d.ts +22 -0
- package/dist/components/Chat/Chat.d.ts.map +1 -0
- package/dist/components/Chat/Chat.stories.d.ts +24 -0
- package/dist/components/Chat/Chat.stories.d.ts.map +1 -0
- package/dist/components/Chat/Chat.types.d.ts +387 -0
- package/dist/components/Chat/Chat.types.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatAttachment.d.ts +5 -0
- package/dist/components/Chat/components/ChatAttachment.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatAudioPlayer.d.ts +5 -0
- package/dist/components/Chat/components/ChatAudioPlayer.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatCodeBlock.d.ts +5 -0
- package/dist/components/Chat/components/ChatCodeBlock.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatFileUpload.d.ts +5 -0
- package/dist/components/Chat/components/ChatFileUpload.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatHeader.d.ts +5 -0
- package/dist/components/Chat/components/ChatHeader.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatImagePreview.d.ts +5 -0
- package/dist/components/Chat/components/ChatImagePreview.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatInput.d.ts +5 -0
- package/dist/components/Chat/components/ChatInput.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatLightbox.d.ts +5 -0
- package/dist/components/Chat/components/ChatLightbox.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatMarkdown.d.ts +5 -0
- package/dist/components/Chat/components/ChatMarkdown.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatMessage.d.ts +5 -0
- package/dist/components/Chat/components/ChatMessage.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatMessages.d.ts +5 -0
- package/dist/components/Chat/components/ChatMessages.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatSidebar.d.ts +5 -0
- package/dist/components/Chat/components/ChatSidebar.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatTypingIndicator.d.ts +5 -0
- package/dist/components/Chat/components/ChatTypingIndicator.d.ts.map +1 -0
- package/dist/components/Chat/components/ChatVoiceRecorder.d.ts +5 -0
- package/dist/components/Chat/components/ChatVoiceRecorder.d.ts.map +1 -0
- package/dist/components/Chat/components/index.d.ts +18 -0
- package/dist/components/Chat/components/index.d.ts.map +1 -0
- package/dist/components/Chat/hooks/index.d.ts +12 -0
- package/dist/components/Chat/hooks/index.d.ts.map +1 -0
- package/dist/components/Chat/hooks/useAutoScroll.d.ts +24 -0
- package/dist/components/Chat/hooks/useAutoScroll.d.ts.map +1 -0
- package/dist/components/Chat/hooks/useChatInput.d.ts +43 -0
- package/dist/components/Chat/hooks/useChatInput.d.ts.map +1 -0
- package/dist/components/Chat/hooks/useStreamingText.d.ts +22 -0
- package/dist/components/Chat/hooks/useStreamingText.d.ts.map +1 -0
- package/dist/components/Chat/hooks/useVoiceRecorder.d.ts +26 -0
- package/dist/components/Chat/hooks/useVoiceRecorder.d.ts.map +1 -0
- package/dist/components/Chat/index.d.ts +28 -0
- package/dist/components/Chat/index.d.ts.map +1 -0
- package/dist/components/Chat/utils.d.ts +16 -0
- package/dist/components/Chat/utils.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +5 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +42 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts +64 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts +15 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/Chip/Chip.d.ts +4 -0
- package/dist/components/Chip/Chip.d.ts.map +1 -0
- package/dist/components/Chip/Chip.stories.d.ts +17 -0
- package/dist/components/Chip/Chip.stories.d.ts.map +1 -0
- package/dist/components/Chip/Chip.types.d.ts +64 -0
- package/dist/components/Chip/Chip.types.d.ts.map +1 -0
- package/dist/components/Chip/index.d.ts +16 -0
- package/dist/components/Chip/index.d.ts.map +1 -0
- package/dist/components/CodeEditor/CodeEditor.d.ts +24 -0
- package/dist/components/CodeEditor/CodeEditor.d.ts.map +1 -0
- package/dist/components/CodeEditor/CodeEditor.stories.d.ts +35 -0
- package/dist/components/CodeEditor/CodeEditor.stories.d.ts.map +1 -0
- package/dist/components/CodeEditor/CodeEditor.types.d.ts +49 -0
- package/dist/components/CodeEditor/CodeEditor.types.d.ts.map +1 -0
- package/dist/components/CodeEditor/index.d.ts +3 -0
- package/dist/components/CodeEditor/index.d.ts.map +1 -0
- package/dist/components/Collapsible/Collapsible.d.ts +7 -0
- package/dist/components/Collapsible/Collapsible.d.ts.map +1 -0
- package/dist/components/Collapsible/Collapsible.stories.d.ts +33 -0
- package/dist/components/Collapsible/Collapsible.stories.d.ts.map +1 -0
- package/dist/components/Collapsible/Collapsible.types.d.ts +31 -0
- package/dist/components/Collapsible/Collapsible.types.d.ts.map +1 -0
- package/dist/components/Collapsible/index.d.ts +3 -0
- package/dist/components/Collapsible/index.d.ts.map +1 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.d.ts +10 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.d.ts.map +1 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.types.d.ts +157 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.types.d.ts.map +1 -0
- package/dist/components/CollapsibleFolder/index.d.ts +8 -0
- package/dist/components/CollapsibleFolder/index.d.ts.map +1 -0
- package/dist/components/Combobox/Combobox.d.ts +4 -0
- package/dist/components/Combobox/Combobox.d.ts.map +1 -0
- package/dist/components/Combobox/Combobox.stories.d.ts +26 -0
- package/dist/components/Combobox/Combobox.stories.d.ts.map +1 -0
- package/dist/components/Combobox/Combobox.types.d.ts +149 -0
- package/dist/components/Combobox/Combobox.types.d.ts.map +1 -0
- package/dist/components/Combobox/index.d.ts +22 -0
- package/dist/components/Combobox/index.d.ts.map +1 -0
- package/dist/components/Command/Command.d.ts +14 -0
- package/dist/components/Command/Command.d.ts.map +1 -0
- package/dist/components/Command/Command.stories.d.ts +13 -0
- package/dist/components/Command/Command.stories.d.ts.map +1 -0
- package/dist/components/Command/Command.types.d.ts +150 -0
- package/dist/components/Command/Command.types.d.ts.map +1 -0
- package/dist/components/Command/index.d.ts +21 -0
- package/dist/components/Command/index.d.ts.map +1 -0
- package/dist/components/CommandBar/CommandBar.d.ts +4 -0
- package/dist/components/CommandBar/CommandBar.d.ts.map +1 -0
- package/dist/components/CommandBar/CommandBar.stories.d.ts +12 -0
- package/dist/components/CommandBar/CommandBar.stories.d.ts.map +1 -0
- package/dist/components/CommandBar/CommandBar.types.d.ts +108 -0
- package/dist/components/CommandBar/CommandBar.types.d.ts.map +1 -0
- package/dist/components/CommandBar/index.d.ts +3 -0
- package/dist/components/CommandBar/index.d.ts.map +1 -0
- package/dist/components/DataTable/DataTable.d.ts +8 -0
- package/dist/components/DataTable/DataTable.d.ts.map +1 -0
- package/dist/components/DataTable/DataTable.stories.d.ts +21 -0
- package/dist/components/DataTable/DataTable.stories.d.ts.map +1 -0
- package/dist/components/DataTable/DataTable.types.d.ts +363 -0
- package/dist/components/DataTable/DataTable.types.d.ts.map +1 -0
- package/dist/components/DataTable/index.d.ts +3 -0
- package/dist/components/DataTable/index.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +5 -0
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +36 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.types.d.ts +75 -0
- package/dist/components/DatePicker/DatePicker.types.d.ts.map +1 -0
- package/dist/components/DatePicker/index.d.ts +14 -0
- package/dist/components/DatePicker/index.d.ts.map +1 -0
- package/dist/components/DetailPanel/DetailPanel.d.ts +4 -0
- package/dist/components/DetailPanel/DetailPanel.d.ts.map +1 -0
- package/dist/components/DetailPanel/DetailPanel.stories.d.ts +14 -0
- package/dist/components/DetailPanel/DetailPanel.stories.d.ts.map +1 -0
- package/dist/components/DetailPanel/DetailPanel.types.d.ts +95 -0
- package/dist/components/DetailPanel/DetailPanel.types.d.ts.map +1 -0
- package/dist/components/DetailPanel/index.d.ts +3 -0
- package/dist/components/DetailPanel/index.d.ts.map +1 -0
- package/dist/components/Divider/Divider.d.ts +4 -0
- package/dist/components/Divider/Divider.d.ts.map +1 -0
- package/dist/components/Divider/Divider.stories.d.ts +16 -0
- package/dist/components/Divider/Divider.stories.d.ts.map +1 -0
- package/dist/components/Divider/Divider.types.d.ts +42 -0
- package/dist/components/Divider/Divider.types.d.ts.map +1 -0
- package/dist/components/Divider/index.d.ts +16 -0
- package/dist/components/Divider/index.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.d.ts +8 -0
- package/dist/components/Drawer/Drawer.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.stories.d.ts +19 -0
- package/dist/components/Drawer/Drawer.stories.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.types.d.ts +79 -0
- package/dist/components/Drawer/Drawer.types.d.ts.map +1 -0
- package/dist/components/Drawer/index.d.ts +21 -0
- package/dist/components/Drawer/index.d.ts.map +1 -0
- package/dist/components/Dropdown/Dropdown.d.ts +4 -0
- package/dist/components/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/Dropdown/Dropdown.stories.d.ts +18 -0
- package/dist/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
- package/dist/components/Dropdown/Dropdown.types.d.ts +115 -0
- package/dist/components/Dropdown/Dropdown.types.d.ts.map +1 -0
- package/dist/components/Dropdown/index.d.ts +22 -0
- package/dist/components/Dropdown/index.d.ts.map +1 -0
- package/dist/components/EmptyState/EmptyState.d.ts +4 -0
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/components/EmptyState/EmptyState.stories.d.ts +18 -0
- package/dist/components/EmptyState/EmptyState.stories.d.ts.map +1 -0
- package/dist/components/EmptyState/EmptyState.types.d.ts +47 -0
- package/dist/components/EmptyState/EmptyState.types.d.ts.map +1 -0
- package/dist/components/EmptyState/index.d.ts +19 -0
- package/dist/components/EmptyState/index.d.ts.map +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +12 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts.map +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.types.d.ts +17 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.types.d.ts.map +1 -0
- package/dist/components/ErrorBoundary/index.d.ts +3 -0
- package/dist/components/ErrorBoundary/index.d.ts.map +1 -0
- package/dist/components/Field/Field.d.ts +4 -0
- package/dist/components/Field/Field.d.ts.map +1 -0
- package/dist/components/Field/Field.stories.d.ts +60 -0
- package/dist/components/Field/Field.stories.d.ts.map +1 -0
- package/dist/components/Field/Field.types.d.ts +190 -0
- package/dist/components/Field/Field.types.d.ts.map +1 -0
- package/dist/components/Field/index.d.ts +16 -0
- package/dist/components/Field/index.d.ts.map +1 -0
- package/dist/components/FileUploader/FileUploader.d.ts +4 -0
- package/dist/components/FileUploader/FileUploader.d.ts.map +1 -0
- package/dist/components/FileUploader/FileUploader.stories.d.ts +59 -0
- package/dist/components/FileUploader/FileUploader.stories.d.ts.map +1 -0
- package/dist/components/FileUploader/FileUploader.types.d.ts +124 -0
- package/dist/components/FileUploader/FileUploader.types.d.ts.map +1 -0
- package/dist/components/FileUploader/index.d.ts +3 -0
- package/dist/components/FileUploader/index.d.ts.map +1 -0
- package/dist/components/FilterBar/FilterBar.d.ts +4 -0
- package/dist/components/FilterBar/FilterBar.d.ts.map +1 -0
- package/dist/components/FilterBar/FilterBar.stories.d.ts +13 -0
- package/dist/components/FilterBar/FilterBar.stories.d.ts.map +1 -0
- package/dist/components/FilterBar/FilterBar.types.d.ts +139 -0
- package/dist/components/FilterBar/FilterBar.types.d.ts.map +1 -0
- package/dist/components/FilterBar/index.d.ts +3 -0
- package/dist/components/FilterBar/index.d.ts.map +1 -0
- package/dist/components/FontLoader/FontLoader.d.ts +64 -0
- package/dist/components/FontLoader/FontLoader.d.ts.map +1 -0
- package/dist/components/FontLoader/index.d.ts +21 -0
- package/dist/components/FontLoader/index.d.ts.map +1 -0
- package/dist/components/FormSection/FormSection.d.ts +7 -0
- package/dist/components/FormSection/FormSection.d.ts.map +1 -0
- package/dist/components/FormSection/FormSection.stories.d.ts +15 -0
- package/dist/components/FormSection/FormSection.stories.d.ts.map +1 -0
- package/dist/components/FormSection/FormSection.types.d.ts +107 -0
- package/dist/components/FormSection/FormSection.types.d.ts.map +1 -0
- package/dist/components/FormSection/index.d.ts +3 -0
- package/dist/components/FormSection/index.d.ts.map +1 -0
- package/dist/components/Icon/Icon.d.ts +4 -0
- package/dist/components/Icon/Icon.d.ts.map +1 -0
- package/dist/components/Icon/Icon.stories.d.ts +69 -0
- package/dist/components/Icon/Icon.stories.d.ts.map +1 -0
- package/dist/components/Icon/Icon.types.d.ts +95 -0
- package/dist/components/Icon/Icon.types.d.ts.map +1 -0
- package/dist/components/Icon/index.d.ts +21 -0
- package/dist/components/Icon/index.d.ts.map +1 -0
- package/dist/components/IconGallery/IconGallery.d.ts +5 -0
- package/dist/components/IconGallery/IconGallery.d.ts.map +1 -0
- package/dist/components/IconGallery/IconGallery.stories.d.ts +8 -0
- package/dist/components/IconGallery/IconGallery.stories.d.ts.map +1 -0
- package/dist/components/IconGallery/IconGallery.types.d.ts +19 -0
- package/dist/components/IconGallery/IconGallery.types.d.ts.map +1 -0
- package/dist/components/IconGallery/index.d.ts +19 -0
- package/dist/components/IconGallery/index.d.ts.map +1 -0
- package/dist/components/InputOTP/InputOTP.d.ts +8 -0
- package/dist/components/InputOTP/InputOTP.d.ts.map +1 -0
- package/dist/components/InputOTP/InputOTP.stories.d.ts +48 -0
- package/dist/components/InputOTP/InputOTP.stories.d.ts.map +1 -0
- package/dist/components/InputOTP/InputOTP.types.d.ts +44 -0
- package/dist/components/InputOTP/InputOTP.types.d.ts.map +1 -0
- package/dist/components/InputOTP/index.d.ts +3 -0
- package/dist/components/InputOTP/index.d.ts.map +1 -0
- package/dist/components/KanbanBoard/KanbanBoard.d.ts +4 -0
- package/dist/components/KanbanBoard/KanbanBoard.d.ts.map +1 -0
- package/dist/components/KanbanBoard/KanbanBoard.stories.d.ts +35 -0
- package/dist/components/KanbanBoard/KanbanBoard.stories.d.ts.map +1 -0
- package/dist/components/KanbanBoard/KanbanBoard.types.d.ts +185 -0
- package/dist/components/KanbanBoard/KanbanBoard.types.d.ts.map +1 -0
- package/dist/components/KanbanBoard/index.d.ts +3 -0
- package/dist/components/KanbanBoard/index.d.ts.map +1 -0
- package/dist/components/Link/Link.d.ts +4 -0
- package/dist/components/Link/Link.d.ts.map +1 -0
- package/dist/components/Link/Link.stories.d.ts +22 -0
- package/dist/components/Link/Link.stories.d.ts.map +1 -0
- package/dist/components/Link/Link.types.d.ts +72 -0
- package/dist/components/Link/Link.types.d.ts.map +1 -0
- package/dist/components/Link/index.d.ts +16 -0
- package/dist/components/Link/index.d.ts.map +1 -0
- package/dist/components/List/List.d.ts +4 -0
- package/dist/components/List/List.d.ts.map +1 -0
- package/dist/components/List/List.stories.d.ts +22 -0
- package/dist/components/List/List.stories.d.ts.map +1 -0
- package/dist/components/List/List.types.d.ts +113 -0
- package/dist/components/List/List.types.d.ts.map +1 -0
- package/dist/components/List/index.d.ts +20 -0
- package/dist/components/List/index.d.ts.map +1 -0
- package/dist/components/MetricCards/MetricCards.d.ts +6 -0
- package/dist/components/MetricCards/MetricCards.d.ts.map +1 -0
- package/dist/components/MetricCards/MetricCards.stories.d.ts +16 -0
- package/dist/components/MetricCards/MetricCards.stories.d.ts.map +1 -0
- package/dist/components/MetricCards/MetricCards.types.d.ts +134 -0
- package/dist/components/MetricCards/MetricCards.types.d.ts.map +1 -0
- package/dist/components/MetricCards/index.d.ts +3 -0
- package/dist/components/MetricCards/index.d.ts.map +1 -0
- package/dist/components/Modal/Modal.d.ts +9 -0
- package/dist/components/Modal/Modal.d.ts.map +1 -0
- package/dist/components/Modal/Modal.stories.d.ts +16 -0
- package/dist/components/Modal/Modal.stories.d.ts.map +1 -0
- package/dist/components/Modal/Modal.types.d.ts +80 -0
- package/dist/components/Modal/Modal.types.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +20 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/NavTree/NavTree.d.ts +7 -0
- package/dist/components/NavTree/NavTree.d.ts.map +1 -0
- package/dist/components/NavTree/NavTree.stories.d.ts +27 -0
- package/dist/components/NavTree/NavTree.stories.d.ts.map +1 -0
- package/dist/components/NavTree/NavTree.types.d.ts +140 -0
- package/dist/components/NavTree/NavTree.types.d.ts.map +1 -0
- package/dist/components/NavTree/index.d.ts +27 -0
- package/dist/components/NavTree/index.d.ts.map +1 -0
- package/dist/components/Navbar/Navbar.d.ts +21 -0
- package/dist/components/Navbar/Navbar.d.ts.map +1 -0
- package/dist/components/Navbar/Navbar.stories.d.ts +23 -0
- package/dist/components/Navbar/Navbar.stories.d.ts.map +1 -0
- package/dist/components/Navbar/Navbar.types.d.ts +134 -0
- package/dist/components/Navbar/Navbar.types.d.ts.map +1 -0
- package/dist/components/Navbar/index.d.ts +25 -0
- package/dist/components/Navbar/index.d.ts.map +1 -0
- package/dist/components/NotificationCenter/NotificationCenter.d.ts +4 -0
- package/dist/components/NotificationCenter/NotificationCenter.d.ts.map +1 -0
- package/dist/components/NotificationCenter/NotificationCenter.stories.d.ts +43 -0
- package/dist/components/NotificationCenter/NotificationCenter.stories.d.ts.map +1 -0
- package/dist/components/NotificationCenter/NotificationCenter.types.d.ts +121 -0
- package/dist/components/NotificationCenter/NotificationCenter.types.d.ts.map +1 -0
- package/dist/components/NotificationCenter/index.d.ts +3 -0
- package/dist/components/NotificationCenter/index.d.ts.map +1 -0
- package/dist/components/PageHeader/PageHeader.d.ts +4 -0
- package/dist/components/PageHeader/PageHeader.d.ts.map +1 -0
- package/dist/components/PageHeader/PageHeader.stories.d.ts +15 -0
- package/dist/components/PageHeader/PageHeader.stories.d.ts.map +1 -0
- package/dist/components/PageHeader/PageHeader.types.d.ts +130 -0
- package/dist/components/PageHeader/PageHeader.types.d.ts.map +1 -0
- package/dist/components/PageHeader/index.d.ts +3 -0
- package/dist/components/PageHeader/index.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.d.ts +4 -0
- package/dist/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +20 -0
- package/dist/components/Pagination/Pagination.stories.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.types.d.ts +58 -0
- package/dist/components/Pagination/Pagination.types.d.ts.map +1 -0
- package/dist/components/Pagination/index.d.ts +18 -0
- package/dist/components/Pagination/index.d.ts.map +1 -0
- package/dist/components/Popover/Popover.d.ts +4 -0
- package/dist/components/Popover/Popover.d.ts.map +1 -0
- package/dist/components/Popover/Popover.stories.d.ts +19 -0
- package/dist/components/Popover/Popover.stories.d.ts.map +1 -0
- package/dist/components/Popover/Popover.types.d.ts +103 -0
- package/dist/components/Popover/Popover.types.d.ts.map +1 -0
- package/dist/components/Popover/index.d.ts +22 -0
- package/dist/components/Popover/index.d.ts.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +5 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +30 -0
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.types.d.ts +57 -0
- package/dist/components/ProgressBar/ProgressBar.types.d.ts.map +1 -0
- package/dist/components/ProgressBar/index.d.ts +15 -0
- package/dist/components/ProgressBar/index.d.ts.map +1 -0
- package/dist/components/QuickActions/QuickActions.d.ts +4 -0
- package/dist/components/QuickActions/QuickActions.d.ts.map +1 -0
- package/dist/components/QuickActions/QuickActions.stories.d.ts +20 -0
- package/dist/components/QuickActions/QuickActions.stories.d.ts.map +1 -0
- package/dist/components/QuickActions/QuickActions.types.d.ts +107 -0
- package/dist/components/QuickActions/QuickActions.types.d.ts.map +1 -0
- package/dist/components/QuickActions/index.d.ts +3 -0
- package/dist/components/QuickActions/index.d.ts.map +1 -0
- package/dist/components/Radio/Radio.d.ts +4 -0
- package/dist/components/Radio/Radio.d.ts.map +1 -0
- package/dist/components/Radio/Radio.stories.d.ts +54 -0
- package/dist/components/Radio/Radio.stories.d.ts.map +1 -0
- package/dist/components/Radio/Radio.types.d.ts +58 -0
- package/dist/components/Radio/Radio.types.d.ts.map +1 -0
- package/dist/components/Radio/index.d.ts +15 -0
- package/dist/components/Radio/index.d.ts.map +1 -0
- package/dist/components/SearchInput/SearchInput.d.ts +4 -0
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts +18 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts.map +1 -0
- package/dist/components/SearchInput/SearchInput.types.d.ts +69 -0
- package/dist/components/SearchInput/SearchInput.types.d.ts.map +1 -0
- package/dist/components/SearchInput/index.d.ts +15 -0
- package/dist/components/SearchInput/index.d.ts.map +1 -0
- package/dist/components/Select/Select.d.ts +4 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/Select/Select.stories.d.ts +23 -0
- package/dist/components/Select/Select.stories.d.ts.map +1 -0
- package/dist/components/Select/Select.types.d.ts +67 -0
- package/dist/components/Select/Select.types.d.ts.map +1 -0
- package/dist/components/Select/index.d.ts +22 -0
- package/dist/components/Select/index.d.ts.map +1 -0
- package/dist/components/Sidebar/Sidebar.d.ts +8 -0
- package/dist/components/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/components/Sidebar/Sidebar.stories.d.ts +19 -0
- package/dist/components/Sidebar/Sidebar.stories.d.ts.map +1 -0
- package/dist/components/Sidebar/Sidebar.types.d.ts +162 -0
- package/dist/components/Sidebar/Sidebar.types.d.ts.map +1 -0
- package/dist/components/Sidebar/index.d.ts +3 -0
- package/dist/components/Sidebar/index.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +4 -0
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.stories.d.ts +20 -0
- package/dist/components/Skeleton/Skeleton.stories.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.types.d.ts +52 -0
- package/dist/components/Skeleton/Skeleton.types.d.ts.map +1 -0
- package/dist/components/Skeleton/index.d.ts +15 -0
- package/dist/components/Skeleton/index.d.ts.map +1 -0
- package/dist/components/Slider/Slider.d.ts +4 -0
- package/dist/components/Slider/Slider.d.ts.map +1 -0
- package/dist/components/Slider/Slider.stories.d.ts +24 -0
- package/dist/components/Slider/Slider.stories.d.ts.map +1 -0
- package/dist/components/Slider/Slider.types.d.ts +94 -0
- package/dist/components/Slider/Slider.types.d.ts.map +1 -0
- package/dist/components/Slider/index.d.ts +15 -0
- package/dist/components/Slider/index.d.ts.map +1 -0
- package/dist/components/Spinner/Spinner.d.ts +5 -0
- package/dist/components/Spinner/Spinner.d.ts.map +1 -0
- package/dist/components/Spinner/Spinner.stories.d.ts +52 -0
- package/dist/components/Spinner/Spinner.stories.d.ts.map +1 -0
- package/dist/components/Spinner/Spinner.types.d.ts +43 -0
- package/dist/components/Spinner/Spinner.types.d.ts.map +1 -0
- package/dist/components/Spinner/index.d.ts +15 -0
- package/dist/components/Spinner/index.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.d.ts +4 -0
- package/dist/components/Stepper/Stepper.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.stories.d.ts +37 -0
- package/dist/components/Stepper/Stepper.stories.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.types.d.ts +138 -0
- package/dist/components/Stepper/Stepper.types.d.ts.map +1 -0
- package/dist/components/Stepper/index.d.ts +20 -0
- package/dist/components/Stepper/index.d.ts.map +1 -0
- package/dist/components/Switch/Switch.d.ts +4 -0
- package/dist/components/Switch/Switch.d.ts.map +1 -0
- package/dist/components/Switch/Switch.stories.d.ts +39 -0
- package/dist/components/Switch/Switch.stories.d.ts.map +1 -0
- package/dist/components/Switch/Switch.types.d.ts +57 -0
- package/dist/components/Switch/Switch.types.d.ts.map +1 -0
- package/dist/components/Switch/index.d.ts +15 -0
- package/dist/components/Switch/index.d.ts.map +1 -0
- package/dist/components/Table/Table.d.ts +7 -0
- package/dist/components/Table/Table.d.ts.map +1 -0
- package/dist/components/Table/Table.stories.d.ts +56 -0
- package/dist/components/Table/Table.stories.d.ts.map +1 -0
- package/dist/components/Table/Table.types.d.ts +142 -0
- package/dist/components/Table/Table.types.d.ts.map +1 -0
- package/dist/components/Table/index.d.ts +23 -0
- package/dist/components/Table/index.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.d.ts +5 -0
- package/dist/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.stories.d.ts +41 -0
- package/dist/components/Tabs/Tabs.stories.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.types.d.ts +73 -0
- package/dist/components/Tabs/Tabs.types.d.ts.map +1 -0
- package/dist/components/Tabs/index.d.ts +20 -0
- package/dist/components/Tabs/index.d.ts.map +1 -0
- package/dist/components/Textarea/Textarea.d.ts +5 -0
- package/dist/components/Textarea/Textarea.d.ts.map +1 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +74 -0
- package/dist/components/Textarea/Textarea.stories.d.ts.map +1 -0
- package/dist/components/Textarea/Textarea.types.d.ts +86 -0
- package/dist/components/Textarea/Textarea.types.d.ts.map +1 -0
- package/dist/components/Textarea/index.d.ts +15 -0
- package/dist/components/Textarea/index.d.ts.map +1 -0
- package/dist/components/ThemeController/ThemeController.d.ts +5 -0
- package/dist/components/ThemeController/ThemeController.d.ts.map +1 -0
- package/dist/components/ThemeController/ThemeController.stories.d.ts +21 -0
- package/dist/components/ThemeController/ThemeController.stories.d.ts.map +1 -0
- package/dist/components/ThemeController/ThemeController.types.d.ts +53 -0
- package/dist/components/ThemeController/ThemeController.types.d.ts.map +1 -0
- package/dist/components/ThemeController/index.d.ts +20 -0
- package/dist/components/ThemeController/index.d.ts.map +1 -0
- package/dist/components/Toast/Toast.d.ts +14 -0
- package/dist/components/Toast/Toast.d.ts.map +1 -0
- package/dist/components/Toast/Toast.stories.d.ts +20 -0
- package/dist/components/Toast/Toast.stories.d.ts.map +1 -0
- package/dist/components/Toast/Toast.types.d.ts +122 -0
- package/dist/components/Toast/Toast.types.d.ts.map +1 -0
- package/dist/components/Toast/index.d.ts +27 -0
- package/dist/components/Toast/index.d.ts.map +1 -0
- package/dist/components/Toggle/Toggle.d.ts +4 -0
- package/dist/components/Toggle/Toggle.d.ts.map +1 -0
- package/dist/components/Toggle/Toggle.stories.d.ts +45 -0
- package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -0
- package/dist/components/Toggle/Toggle.types.d.ts +18 -0
- package/dist/components/Toggle/Toggle.types.d.ts.map +1 -0
- package/dist/components/Toggle/index.d.ts +3 -0
- package/dist/components/Toggle/index.d.ts.map +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +6 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +45 -0
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.types.d.ts +36 -0
- package/dist/components/ToggleGroup/ToggleGroup.types.d.ts.map +1 -0
- package/dist/components/ToggleGroup/index.d.ts +3 -0
- package/dist/components/ToggleGroup/index.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +5 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +42 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.types.d.ts +46 -0
- package/dist/components/Tooltip/Tooltip.types.d.ts.map +1 -0
- package/dist/components/Tooltip/index.d.ts +19 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/UserMenu/UserMenu.d.ts +4 -0
- package/dist/components/UserMenu/UserMenu.d.ts.map +1 -0
- package/dist/components/UserMenu/UserMenu.stories.d.ts +47 -0
- package/dist/components/UserMenu/UserMenu.stories.d.ts.map +1 -0
- package/dist/components/UserMenu/UserMenu.types.d.ts +153 -0
- package/dist/components/UserMenu/UserMenu.types.d.ts.map +1 -0
- package/dist/components/UserMenu/index.d.ts +3 -0
- package/dist/components/UserMenu/index.d.ts.map +1 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.d.ts +4 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.d.ts.map +1 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.types.d.ts +32 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.types.d.ts.map +1 -0
- package/dist/components/WorkspaceSwitcher/index.d.ts +3 -0
- package/dist/components/WorkspaceSwitcher/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +149 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/contexts/ThemeContext.d.ts +70 -0
- package/dist/contexts/ThemeContext.d.ts.map +1 -0
- package/dist/contexts/index.d.ts +8 -0
- package/dist/contexts/index.d.ts.map +1 -0
- package/dist/docs/DocComponents.d.ts +61 -0
- package/dist/docs/DocComponents.d.ts.map +1 -0
- package/dist/examples/LandingPage.example.d.ts +47 -0
- package/dist/examples/LandingPage.example.d.ts.map +1 -0
- package/dist/examples/index.d.ts +22 -0
- package/dist/examples/index.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +20 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useClickOutside.d.ts +19 -0
- package/dist/hooks/useClickOutside.d.ts.map +1 -0
- package/dist/hooks/useCopyToClipboard.d.ts +72 -0
- package/dist/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/dist/hooks/useDebounce.d.ts +58 -0
- package/dist/hooks/useDebounce.d.ts.map +1 -0
- package/dist/hooks/useDisclosure.d.ts +74 -0
- package/dist/hooks/useDisclosure.d.ts.map +1 -0
- package/dist/hooks/useKeyboard.d.ts +101 -0
- package/dist/hooks/useKeyboard.d.ts.map +1 -0
- package/dist/hooks/useLocalStorage.d.ts +48 -0
- package/dist/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/hooks/useMediaQuery.d.ts +43 -0
- package/dist/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/hooks/useTheme.d.ts +73 -0
- package/dist/hooks/useTheme.d.ts.map +1 -0
- package/dist/index.d.ts +169 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index10.cjs +1 -1
- package/dist/index10.mjs +1 -1
- package/dist/index100.cjs +1 -1
- package/dist/index100.mjs +18 -34
- package/dist/index101.cjs +1 -1
- package/dist/index101.mjs +42 -30
- package/dist/index103.cjs +1 -1
- package/dist/index103.mjs +28 -42
- package/dist/index104.cjs +1 -1
- package/dist/index104.mjs +36 -46
- package/dist/index105.cjs +1 -1
- package/dist/index105.mjs +30 -40
- package/dist/index106.cjs +1 -1
- package/dist/index106.mjs +45 -30
- package/dist/index107.cjs +1 -1
- package/dist/index107.mjs +18 -28
- package/dist/index108.cjs +1 -1
- package/dist/index108.mjs +28 -28
- package/dist/index109.cjs +1 -1
- package/dist/index109.mjs +14 -32
- package/dist/index11.cjs +1 -1
- package/dist/index11.mjs +1 -1
- package/dist/index110.cjs +1 -1
- package/dist/index110.mjs +46 -42
- package/dist/index111.cjs +1 -1
- package/dist/index111.mjs +24 -52
- package/dist/index112.cjs +1 -1
- package/dist/index112.mjs +46 -18
- package/dist/index113.cjs +1 -1
- package/dist/index113.mjs +42 -28
- package/dist/index114.cjs +1 -1
- package/dist/index114.mjs +18 -64
- package/dist/index115.cjs +1 -1
- package/dist/index115.mjs +22 -106
- package/dist/index116.cjs +1 -1
- package/dist/index116.mjs +33 -67
- package/dist/index117.cjs +1 -1
- package/dist/index117.mjs +20 -28
- package/dist/index118.cjs +1 -1
- package/dist/index118.mjs +32 -18
- package/dist/index119.cjs +1 -1
- package/dist/index119.mjs +50 -28
- package/dist/index12.cjs +1 -1
- package/dist/index12.mjs +1 -1
- package/dist/index120.cjs +1 -1
- package/dist/index120.mjs +20 -76
- package/dist/index121.cjs +1 -1
- package/dist/index121.mjs +19 -37
- package/dist/index122.cjs +1 -1
- package/dist/index122.mjs +32 -28
- package/dist/index123.cjs +1 -1
- package/dist/index123.mjs +30 -46
- package/dist/index124.cjs +1 -1
- package/dist/index124.mjs +24 -28
- package/dist/index125.cjs +1 -1
- package/dist/index125.mjs +28 -12
- package/dist/index126.cjs +1 -1
- package/dist/index126.mjs +38 -24
- package/dist/index127.cjs +1 -1
- package/dist/index127.mjs +38 -24
- package/dist/index128.cjs +1 -1
- package/dist/index128.mjs +40 -33
- package/dist/index129.cjs +1 -1
- package/dist/index129.mjs +40 -42
- package/dist/index13.cjs +1 -1
- package/dist/index13.mjs +1 -1
- package/dist/index130.cjs +1 -1
- package/dist/index130.mjs +36 -64
- package/dist/index131.cjs +1 -1
- package/dist/index131.mjs +44 -18
- package/dist/index132.cjs +1 -1
- package/dist/index132.mjs +16 -32
- package/dist/index133.cjs +1 -1
- package/dist/index133.mjs +28 -28
- package/dist/index134.cjs +1 -1
- package/dist/index134.mjs +22 -40
- package/dist/index135.cjs +1 -1
- package/dist/index135.mjs +28 -26
- package/dist/index136.cjs +1 -1
- package/dist/index136.mjs +55 -20
- package/dist/index137.cjs +1 -1
- package/dist/index137.mjs +56 -42
- package/dist/index138.cjs +1 -1
- package/dist/index138.mjs +33 -46
- package/dist/index139.cjs +1 -1
- package/dist/index139.mjs +46 -50
- package/dist/index14.cjs +1 -1
- package/dist/index14.mjs +1 -1
- package/dist/index140.cjs +1 -1
- package/dist/index140.mjs +37 -23
- package/dist/index141.cjs +1 -1
- package/dist/index141.mjs +28 -38
- package/dist/index142.cjs +1 -1
- package/dist/index142.mjs +67 -30
- package/dist/index143.cjs +1 -1
- package/dist/index143.mjs +52 -30
- package/dist/index144.cjs +1 -1
- package/dist/index144.mjs +62 -12
- package/dist/index145.cjs +1 -1
- package/dist/index145.mjs +234 -44
- package/dist/index146.cjs +1 -1
- package/dist/index146.mjs +34 -54
- package/dist/index147.cjs +1 -1
- package/dist/index147.mjs +44 -37
- package/dist/index148.cjs +1 -1
- package/dist/index148.mjs +169 -54
- package/dist/index149.cjs +1 -1
- package/dist/index149.mjs +186 -15
- package/dist/index15.cjs +1 -1
- package/dist/index15.mjs +1 -1
- package/dist/index150.cjs +1 -1
- package/dist/index150.mjs +29 -63
- package/dist/index151.cjs +1 -1
- package/dist/index151.mjs +90 -22
- package/dist/index152.cjs +1 -1
- package/dist/index152.mjs +53 -21
- package/dist/index153.cjs +1 -1
- package/dist/index153.mjs +66 -33
- package/dist/index154.cjs +1 -1
- package/dist/index154.mjs +124 -56
- package/dist/index155.cjs +1 -1
- package/dist/index155.mjs +108 -234
- package/dist/index156.cjs +1 -1
- package/dist/index156.mjs +111 -33
- package/dist/index157.cjs +1 -1
- package/dist/index157.mjs +120 -41
- package/dist/index158.cjs +1 -1
- package/dist/index158.mjs +199 -155
- package/dist/index159.cjs +1 -1
- package/dist/index159.mjs +65 -186
- package/dist/index16.cjs +1 -1
- package/dist/index16.mjs +1 -1
- package/dist/index160.cjs +1 -1
- package/dist/index160.mjs +58 -29
- package/dist/index161.cjs +1 -1
- package/dist/index161.mjs +27 -90
- package/dist/index162.cjs +1 -1
- package/dist/index162.mjs +29 -53
- package/dist/index163.cjs +1 -1
- package/dist/index163.mjs +18 -66
- package/dist/index164.cjs +1 -1
- package/dist/index164.mjs +24 -124
- package/dist/index165.cjs +1 -1
- package/dist/index165.mjs +50 -108
- package/dist/index166.cjs +1 -1
- package/dist/index166.mjs +64 -111
- package/dist/index167.cjs +1 -1
- package/dist/index167.mjs +33 -122
- package/dist/index168.cjs +1 -1
- package/dist/index168.mjs +30 -214
- package/dist/index169.cjs +1 -1
- package/dist/index169.mjs +40 -63
- package/dist/index17.cjs +1 -1
- package/dist/index17.mjs +1 -1
- package/dist/index170.cjs +1 -1
- package/dist/index170.mjs +12 -57
- package/dist/index171.cjs +1 -1
- package/dist/index171.mjs +44 -18
- package/dist/index172.cjs +1 -1
- package/dist/index172.mjs +40 -28
- package/dist/index173.cjs +1 -1
- package/dist/index173.mjs +28 -27
- package/dist/index174.cjs +1 -1
- package/dist/index174.mjs +76 -52
- package/dist/index175.cjs +1 -1
- package/dist/index175.mjs +106 -18
- package/dist/index176.cjs +1 -1
- package/dist/index176.mjs +26 -38
- package/dist/index177.cjs +1 -1
- package/dist/index177.mjs +30 -40
- package/dist/index178.cjs +1 -1
- package/dist/index178.mjs +12 -45
- package/dist/index179.cjs +1 -1
- package/dist/index179.mjs +18 -20
- package/dist/index18.cjs +1 -1
- package/dist/index18.mjs +1 -1
- package/dist/index180.cjs +1 -1
- package/dist/index180.mjs +53 -18
- package/dist/index181.cjs +1 -1
- package/dist/index181.mjs +65 -24
- package/dist/index182.cjs +1 -1
- package/dist/index182.mjs +18 -18
- package/dist/index183.cjs +1 -1
- package/dist/index183.mjs +18 -33
- package/dist/index185.cjs +1 -1
- package/dist/index185.mjs +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.mjs +2 -2
- package/dist/index20.cjs +1 -1
- package/dist/index20.mjs +14 -14
- package/dist/index21.cjs +1 -1
- package/dist/index21.mjs +1 -1
- package/dist/index22.cjs +1 -1
- package/dist/index22.mjs +1 -1
- package/dist/index23.cjs +1 -1
- package/dist/index23.mjs +1 -1
- package/dist/index24.cjs +1 -1
- package/dist/index24.mjs +1 -1
- package/dist/index25.cjs +1 -1
- package/dist/index25.mjs +1 -1
- package/dist/index27.cjs +1 -1
- package/dist/index27.mjs +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index28.mjs +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.mjs +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.mjs +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.mjs +1 -1
- package/dist/index32.cjs +1 -1
- package/dist/index32.mjs +1 -1
- package/dist/index33.cjs +1 -1
- package/dist/index33.mjs +1 -1
- package/dist/index34.cjs +1 -1
- package/dist/index34.mjs +1 -1
- package/dist/index35.cjs +1 -1
- package/dist/index35.mjs +1 -1
- package/dist/index36.cjs +1 -1
- package/dist/index36.mjs +1 -1
- package/dist/index37.cjs +1 -1
- package/dist/index37.mjs +1 -1
- package/dist/index38.cjs +1 -1
- package/dist/index38.mjs +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.mjs +1 -1
- package/dist/index40.cjs +1 -1
- package/dist/index40.mjs +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.mjs +1 -1
- package/dist/index43.cjs +1 -1
- package/dist/index43.mjs +1 -1
- package/dist/index44.cjs +1 -1
- package/dist/index44.mjs +1 -1
- package/dist/index46.cjs +1 -1
- package/dist/index46.mjs +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.mjs +1 -1
- package/dist/index49.cjs +1 -1
- package/dist/index49.mjs +1 -1
- package/dist/index5.cjs +1 -1
- package/dist/index5.mjs +1 -1
- package/dist/index50.cjs +1 -1
- package/dist/index50.mjs +1 -1
- package/dist/index51.cjs +1 -1
- package/dist/index51.mjs +1 -1
- package/dist/index52.cjs +1 -1
- package/dist/index52.mjs +1 -1
- package/dist/index53.cjs +1 -1
- package/dist/index53.mjs +1 -1
- package/dist/index54.cjs +1 -1
- package/dist/index54.mjs +1 -1
- package/dist/index55.cjs +1 -1
- package/dist/index55.mjs +1 -1
- package/dist/index56.cjs +1 -1
- package/dist/index56.mjs +1 -1
- package/dist/index57.cjs +1 -1
- package/dist/index57.mjs +1 -1
- package/dist/index58.cjs +1 -1
- package/dist/index58.mjs +1 -1
- package/dist/index59.cjs +1 -1
- package/dist/index59.mjs +1 -1
- package/dist/index6.cjs +1 -1
- package/dist/index6.mjs +1 -1
- package/dist/index60.cjs +1 -1
- package/dist/index60.mjs +1 -1
- package/dist/index61.cjs +1 -1
- package/dist/index61.mjs +1 -1
- package/dist/index62.cjs +1 -1
- package/dist/index62.mjs +1 -1
- package/dist/index63.cjs +1 -1
- package/dist/index63.mjs +1 -1
- package/dist/index64.cjs +1 -1
- package/dist/index64.mjs +1 -1
- package/dist/index65.cjs +1 -1
- package/dist/index65.mjs +1 -1
- package/dist/index66.cjs +1 -1
- package/dist/index66.mjs +1 -1
- package/dist/index67.cjs +1 -1
- package/dist/index67.mjs +1 -1
- package/dist/index68.cjs +1 -1
- package/dist/index68.mjs +1 -1
- package/dist/index69.cjs +1 -1
- package/dist/index69.mjs +1 -1
- package/dist/index7.cjs +1 -1
- package/dist/index7.mjs +1 -1
- package/dist/index70.cjs +1 -1
- package/dist/index70.mjs +1 -1
- package/dist/index71.cjs +1 -1
- package/dist/index71.mjs +1 -1
- package/dist/index72.cjs +1 -1
- package/dist/index72.mjs +1 -1
- package/dist/index73.cjs +1 -1
- package/dist/index73.mjs +1 -1
- package/dist/index76.cjs +1 -1
- package/dist/index76.mjs +1 -1
- package/dist/index77.cjs +1 -1
- package/dist/index77.mjs +1 -1
- package/dist/index78.cjs +1 -1
- package/dist/index78.mjs +1 -1
- package/dist/index79.cjs +1 -1
- package/dist/index79.mjs +1 -1
- package/dist/index8.cjs +1 -1
- package/dist/index8.mjs +1 -1
- package/dist/index80.cjs +1 -1
- package/dist/index80.mjs +1 -1
- package/dist/index81.cjs +1 -1
- package/dist/index81.mjs +1 -1
- package/dist/index9.cjs +1 -1
- package/dist/index9.mjs +1 -1
- package/dist/index99.cjs +1 -1
- package/dist/index99.mjs +28 -16
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/sections/Container/Container.d.ts +4 -0
- package/dist/sections/Container/Container.d.ts.map +1 -0
- package/dist/sections/Container/Container.stories.d.ts +29 -0
- package/dist/sections/Container/Container.stories.d.ts.map +1 -0
- package/dist/sections/Container/Container.types.d.ts +43 -0
- package/dist/sections/Container/Container.types.d.ts.map +1 -0
- package/dist/sections/Container/index.d.ts +6 -0
- package/dist/sections/Container/index.d.ts.map +1 -0
- package/dist/sections/Section/Section.d.ts +4 -0
- package/dist/sections/Section/Section.d.ts.map +1 -0
- package/dist/sections/Section/Section.stories.d.ts +41 -0
- package/dist/sections/Section/Section.stories.d.ts.map +1 -0
- package/dist/sections/Section/Section.types.d.ts +64 -0
- package/dist/sections/Section/Section.types.d.ts.map +1 -0
- package/dist/sections/Section/index.d.ts +6 -0
- package/dist/sections/Section/index.d.ts.map +1 -0
- package/dist/sections/index.d.ts +29 -0
- package/dist/sections/index.d.ts.map +1 -0
- package/dist/test/a11y.d.ts +8 -0
- package/dist/test/a11y.d.ts.map +1 -0
- package/dist/test/performance.bench.d.ts +11 -0
- package/dist/test/performance.bench.d.ts.map +1 -0
- package/dist/test/setup.d.ts +2 -0
- package/dist/test/setup.d.ts.map +1 -0
- package/dist/tokens/brands.d.ts +5 -0
- package/dist/tokens/brands.d.ts.map +1 -0
- package/dist/tokens/index.d.ts +11 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/primitives.d.ts +5 -0
- package/dist/tokens/primitives.d.ts.map +1 -0
- package/dist/tokens/themes.d.ts +9 -0
- package/dist/tokens/themes.d.ts.map +1 -0
- package/dist/tokens/types.d.ts +365 -0
- package/dist/tokens/types.d.ts.map +1 -0
- package/dist/tokens/utils.d.ts +42 -0
- package/dist/tokens/utils.d.ts.map +1 -0
- package/dist/utils/fonts.d.ts +46 -0
- package/dist/utils/fonts.d.ts.map +1 -0
- package/dist/utils/icons.d.ts +61 -0
- package/dist/utils/icons.d.ts.map +1 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/validation.d.ts +94 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/package.json +2 -1
package/dist/index5.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, jsxs as u } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as y, useState as I, useCallback as A, useId as b } from "react";
|
|
3
3
|
import { ChevronDown as B } from "lucide-react";
|
|
4
|
-
import e from "./
|
|
4
|
+
import e from "./index138.mjs";
|
|
5
5
|
const k = ({
|
|
6
6
|
item: o,
|
|
7
7
|
isExpanded: a,
|
package/dist/index50.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),h=require("react"),y=require("lucide-react"),a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),h=require("react"),y=require("lucide-react"),a=require("./index172.cjs"),N=({item:s,size:c,interactive:e,selectable:d,onClick:o})=>{const i=h.useCallback(()=>{!s.disabled&&(e||d)&&s.onClick&&s.onClick(),o?.()},[s,e,d,o]),t=h.useCallback(u=>{(u.key==="Enter"||u.key===" ")&&(e||d)&&(u.preventDefault(),i())},[e,d,i]),f=[a.default.item,a.default[c],e&&a.default.interactive,d&&a.default.selectable,s.selected&&a.default.selected,s.disabled&&a.default.disabled,s.className].filter(Boolean).join(" "),r=!s.disabled&&(e||d||s.onClick);return l.jsxs("li",{className:f,role:d?"option":e?"button":void 0,tabIndex:r?0:void 0,"aria-selected":d?s.selected:void 0,"aria-disabled":s.disabled,onClick:r?i:void 0,onKeyDown:r?t:void 0,children:[s.leading&&l.jsx("span",{className:a.default.leading,"aria-hidden":"true",children:s.leading}),l.jsxs("div",{className:a.default.content,children:[l.jsx("span",{className:a.default.primary,children:s.primary}),s.secondary&&l.jsx("span",{className:a.default.secondary,children:s.secondary})]}),s.trailing&&l.jsx("span",{className:a.default.trailing,children:s.trailing}),d&&s.selected&&l.jsx("span",{className:a.default.checkmark,"aria-hidden":"true",children:l.jsx(y.Check,{size:c==="sm"?14:c==="lg"?20:16})})]})},j=h.forwardRef(({items:s,size:c="md",variant:e="default",interactive:d=!1,selectable:o=!1,onSelect:i,renderItem:t,emptyContent:f,className:r,...u},k)=>{const x=h.useCallback(n=>{i&&!n.disabled&&i(n)},[i]),p=[a.default.list,a.default[e],r].filter(Boolean).join(" ");return s.length===0&&f?l.jsx("div",{className:a.default.empty,children:f}):l.jsx("ul",{ref:k,className:p,role:o?"listbox":"list",...u,children:s.map((n,C)=>t?l.jsx("li",{className:a.default.customItem,children:t(n,C)},n.id):l.jsx(N,{item:n,size:c,interactive:d,selectable:o,onClick:()=>x(n)},n.id))})});j.displayName="List";exports.List=j;
|
package/dist/index50.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d, jsxs as N } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as m, useCallback as k } from "react";
|
|
3
3
|
import { Check as t } from "lucide-react";
|
|
4
|
-
import a from "./
|
|
4
|
+
import a from "./index172.mjs";
|
|
5
5
|
const x = ({
|
|
6
6
|
item: s,
|
|
7
7
|
size: i,
|
package/dist/index51.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),M=require("react"),b=require("lucide-react"),s=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),M=require("react"),b=require("lucide-react"),s=require("./index171.cjs"),y=({data:a})=>{if(!a||a.length<2)return null;const c=Math.max(...a),d=Math.min(...a),u=c-d||1,t=a[0],l=a[a.length-1],i=24,r=64,n=r/(a.length-1),o=a.map((f,h)=>{const m=h*n,j=i-(f-d)/u*i;return`${m},${j}`}).join(" "),x=t!==void 0&&l!==void 0&&l>=t;return e.jsx("svg",{className:s.default.sparkline,width:r,height:i,viewBox:`0 0 ${r} ${i}`,children:e.jsx("polyline",{fill:"none",stroke:x?"var(--text-success)":"var(--text-error)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",points:o})})},N=M.forwardRef(({metric:a,variant:c="default",loading:d=!1,className:u,...t},l)=>{const{label:i,value:r,change:n,icon:o,sparkline:x,href:f,onClick:h,description:m,loading:j}=a,p=d||j,C=f||h,v=[s.default.card,s.default[`variant-${c}`],C&&s.default.interactive,p&&s.default.loading,u].filter(Boolean).join(" "),g=e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:s.default.cardHeader,children:[o&&e.jsx("span",{className:s.default.cardIcon,children:o}),e.jsx("span",{className:s.default.label,children:i})]}),e.jsx("div",{className:s.default.cardBody,children:p?e.jsx("div",{className:s.default.skeleton}):e.jsxs(e.Fragment,{children:[e.jsx("span",{className:s.default.value,children:r}),x&&c==="detailed"&&e.jsx(y,{data:x})]})}),(n||m)&&!p&&e.jsxs("div",{className:s.default.cardFooter,children:[n&&e.jsxs("span",{className:`${s.default.change} ${n.positive?s.default.positive:s.default.negative}`,children:[n.positive?e.jsx(b.TrendingUp,{size:12}):e.jsx(b.TrendingDown,{size:12}),e.jsx("span",{children:n.value}),n.label&&e.jsx("span",{className:s.default.changeLabel,children:n.label})]}),m&&c==="detailed"&&e.jsx("span",{className:s.default.description,children:m})]})]});return f?e.jsx("a",{ref:l,href:f,className:v,...t,children:g}):h?e.jsx("button",{ref:l,type:"button",onClick:h,className:v,...t,children:g}):e.jsx("div",{ref:l,className:v,...t,children:g})});N.displayName="MetricCard";const k=M.forwardRef(({metrics:a,columns:c=4,variant:d="default",loading:u=!1,className:t,...l},i)=>{const r=[s.default.metricCards,s.default[`cols-${c}`],t].filter(Boolean).join(" ");return e.jsx("div",{ref:i,className:r,...l,children:a.map((n,o)=>e.jsx(N,{metric:n,variant:d,loading:u},n.id||n.label||o))})});k.displayName="MetricCards";exports.MetricCard=N;exports.MetricCards=k;
|
package/dist/index51.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as u, Fragment as b, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as $ } from "react";
|
|
3
3
|
import { TrendingUp as C, TrendingDown as M } from "lucide-react";
|
|
4
|
-
import e from "./
|
|
4
|
+
import e from "./index171.mjs";
|
|
5
5
|
const L = ({ data: s }) => {
|
|
6
6
|
if (!s || s.length < 2) return null;
|
|
7
7
|
const r = Math.max(...s), o = Math.min(...s), m = r - o || 1, a = s[0], l = s[s.length - 1], c = 24, t = 64, i = t / (s.length - 1), d = s.map((h, p) => {
|
package/dist/index52.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),n=require("react"),o=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),n=require("react"),o=require("./index133.cjs"),r=({open:e,onClose:a,size:t="md",closeOnBackdrop:m=!0,closeOnEscape:s=!0,showCloseButton:f=!0,children:y,className:v})=>{if(n.useEffect(()=>{if(!e||!s)return;const d=b=>{b.key==="Escape"&&a()};return document.addEventListener("keydown",d),()=>document.removeEventListener("keydown",d)},[e,s,a]),n.useEffect(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e]),!e)return null;const N=[o.default.modal,o.default[t],v].filter(Boolean).join(" "),j=d=>{m&&d.target===d.currentTarget&&a()};return l.jsx("div",{className:o.default.backdrop,onClick:j,role:"dialog","aria-modal":"true",children:l.jsxs("div",{className:N,children:[f&&l.jsx("button",{type:"button",className:o.default.closeButton,onClick:a,"aria-label":"Close modal",style:{position:"absolute",top:"var(--spacing-4)",right:"var(--spacing-4)"},children:"×"}),y]})})},i=({className:e,children:a})=>{const t=[o.default.header,e].filter(Boolean).join(" ");return l.jsx("div",{className:t,children:a})},c=({className:e,children:a})=>{const t=[o.default.body,e].filter(Boolean).join(" ");return l.jsx("div",{className:t,children:a})},u=({className:e,children:a})=>{const t=[o.default.footer,e].filter(Boolean).join(" ");return l.jsx("div",{className:t,children:a})};r.Header=i;r.Body=c;r.Footer=u;r.displayName="Modal";i.displayName="Modal.Header";c.displayName="Modal.Body";u.displayName="Modal.Footer";exports.Modal=r;
|
package/dist/index52.mjs
CHANGED
package/dist/index53.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),N=require("react"),d=require("lucide-react"),z=require("./index92.cjs"),s=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),N=require("react"),d=require("lucide-react"),z=require("./index92.cjs"),s=require("./index144.cjs"),S=require("./index14.cjs"),B=require("./index35.cjs"),y=require("./index24.cjs"),A=N.createContext(void 0);function R(){const n=N.useContext(A);if(!n)throw new Error("useNavTreeContext must be used within NavTree");return n}const k=N.forwardRef(({sections:n,activeNodeId:h,onNodeClick:f,actions:p,persistKey:m="orion-nav-tree",header:r,footer:u,width:l=240,className:a,headless:c=!1},i)=>{const j=N.useMemo(()=>n.filter(t=>t.defaultExpanded!==!1).map(t=>t.id),[n]),[x,C]=z.useLocalStorage(`${m}-sections`,j),[v,b]=z.useLocalStorage(`${m}-nodes`,[]),I={activeNodeId:h,openSectionIds:x,openNodeIds:v,toggleSection:t=>{C(g=>g.includes(t)?g.filter($=>$!==t):[...g,t])},toggleNode:t=>{b(g=>g.includes(t)?g.filter($=>$!==t):[...g,t])},isOpen:t=>t.startsWith("section-")?x.includes(t.replace("section-","")):v.includes(t),onNodeClick:f,actionConfig:p},w={width:typeof l=="number"?`${l}px`:l},O=c?n.flatMap(t=>t.nodes):[],M=c?O.length===0:n.length===0,q=c?"No nodes":"No sections";return e.jsxs("div",{ref:i,className:`${s.default.navTree} ${a||""}`,style:w,role:"tree",children:[r&&e.jsx("div",{className:s.default.header,children:r}),e.jsx("div",{className:s.default.treeContent,children:e.jsx(A.Provider,{value:I,children:M?e.jsx("div",{className:s.default.empty,children:q}):c?O.map(t=>e.jsx(T,{node:t,depth:0,sectionId:""},t.id)):n.map(t=>e.jsx(P,{section:t},t.id))})}),u&&e.jsx("div",{className:s.default.footer,children:u})]})});k.displayName="NavTree";function P({section:n}){const{isOpen:h,toggleSection:f,actionConfig:p}=R(),m=`section-${n.id}`,r=h(m),u=n.variant??"node",l=i=>{i.stopPropagation(),p?.onAdd?.(null,n.id)},a=u==="node"?s.default.sectionTitleNode:s.default.sectionTitle,c=`${s.default.sectionHeader} ${u==="node"?s.default.sectionHeaderNode:""}`.trim();return e.jsx("div",{className:s.default.section,role:"group",children:e.jsxs(y.Collapsible,{open:r,onOpenChange:()=>f(n.id),disabled:n.nodes.length===0,children:[e.jsx(y.Collapsible.Trigger,{asChild:!0,children:e.jsxs("div",{className:c,children:[n.icon?e.jsxs("div",{className:s.default.iconSlot,children:[e.jsx("span",{className:s.default.slotIcon,children:n.icon}),n.nodes.length>0&&e.jsx("div",{className:`${s.default.slotChevron} ${r?s.default.slotChevronOpen:""}`,children:e.jsx(d.ChevronRight,{size:16})})]}):n.nodes.length>0&&e.jsx(d.ChevronRight,{size:12,className:`${s.default.sectionChevron} ${r?s.default.sectionChevronOpen:""}`}),e.jsx("span",{className:a,children:n.title}),n.badge!==void 0&&e.jsx("span",{className:s.default.sectionBadge,children:n.badge}),e.jsx("div",{className:s.default.sectionActions,children:e.jsx(S.Button,{variant:"ghost",size:"sm",iconOnly:!0,icon:e.jsx(d.Plus,{size:12}),onClick:l,"aria-label":`Agregar página en ${n.title}`,title:`Agregar página en ${n.title}`})})]})}),e.jsx(y.Collapsible.Content,{children:e.jsx("div",{className:s.default.sectionBody,children:n.nodes.map(i=>e.jsx(T,{node:i,depth:0,sectionId:n.id},i.id))})})]})})}function T({node:n,depth:h,sectionId:f}){const{activeNodeId:p,isOpen:m,toggleNode:r,onNodeClick:u,actionConfig:l}=R(),a=n.type==="folder",c=a&&n.children&&n.children.length>0,i=m(n.id),j=p===n.id,x=()=>{a?r(n.id):u&&u(n)},C=o=>{o.stopPropagation(),l?.onAdd?.(a?n.id:null,f)},v=[{id:"rename",label:"Renombrar",icon:e.jsx(d.Pencil,{size:14}),onClick:()=>l?.onRename?.(n.id)},{id:"duplicate",label:"Duplicar",icon:e.jsx(d.Copy,{size:14}),onClick:()=>l?.onDuplicate?.(n.id)},{id:"move",label:"Mover a…",icon:e.jsx(d.FolderSymlink,{size:14}),onClick:()=>l?.onMove?.(n.id)},{id:"delete",label:"Eliminar",icon:e.jsx(d.Trash2,{size:14}),danger:!0,onClick:()=>l?.onDelete?.(n.id)}];if(l?.getCustomActions){const o=l.getCustomActions(n);v.push(...o)}const b={paddingLeft:`calc(var(--spacing-2) * ${h+1})`};return e.jsxs("div",{className:s.default.node,role:"treeitem","aria-expanded":a&&i,children:[e.jsxs("div",{className:`${s.default.nodeRow} ${j?s.default.nodeRowActive:""} ${h>0?s.default.nodeNested:""}`,onClick:x,style:b,tabIndex:0,onKeyDown:o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),x())},children:[n.icon?a?e.jsxs("div",{className:s.default.iconSlot,children:[e.jsx("span",{className:s.default.slotIcon,children:n.icon}),c&&e.jsx("div",{className:`${s.default.slotChevron} ${i?s.default.slotChevronOpen:""}`,children:e.jsx(d.ChevronRight,{size:16})})]}):e.jsx("div",{className:s.default.iconSlot,children:e.jsx("span",{className:s.default.slotIcon,children:n.icon})}):a?e.jsx(d.ChevronRight,{size:12,className:`${s.default.nodeChevron} ${i?s.default.nodeChevronOpen:""}`}):e.jsx("div",{className:s.default.nodeChevronHidden}),e.jsx("span",{className:s.default.nodeLabel,children:n.label}),n.badge!==void 0&&e.jsx("span",{className:s.default.nodeBadge,children:n.badge}),e.jsxs("div",{className:s.default.nodeActions,children:[e.jsx(S.Button,{variant:"ghost",size:"sm",iconOnly:!0,icon:e.jsx(d.Plus,{size:14}),onClick:C,"aria-label":`Agregar página en ${n.label}`,title:`Agregar página en ${n.label}`}),e.jsx(B.Dropdown,{trigger:e.jsx(S.Button,{variant:"ghost",size:"sm",iconOnly:!0,icon:e.jsx(d.MoreHorizontal,{size:14}),"aria-label":"Más acciones",title:"Más acciones"}),items:v,placement:"bottom-end",minWidth:160})]})]}),a&&i&&c&&e.jsx("div",{className:s.default.nodeChildren,children:n.children.map(o=>e.jsx(T,{node:o,depth:h+1,sectionId:f},o.id))})]})}exports.NavTree=k;
|
package/dist/index53.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as B, useMemo as E, createContext as H, useContext as L } from "react";
|
|
3
3
|
import { ChevronRight as f, Plus as T, MoreHorizontal as j, Pencil as F, Copy as W, FolderSymlink as V, Trash2 as q } from "lucide-react";
|
|
4
4
|
import { useLocalStorage as x } from "./index92.mjs";
|
|
5
|
-
import i from "./
|
|
5
|
+
import i from "./index144.mjs";
|
|
6
6
|
import { Button as O } from "./index14.mjs";
|
|
7
7
|
import { Dropdown as G } from "./index35.mjs";
|
|
8
8
|
import { Collapsible as A } from "./index24.mjs";
|
package/dist/index54.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),a=require("./index165.cjs"),d=({children:e,href:l,className:t})=>{const s=[a.default.brand,t].filter(Boolean).join(" ");return l?n.jsx("a",{href:l,className:s,children:e}):n.jsx("div",{className:s,children:e})};d.displayName="Navbar.Brand";const u=({children:e,className:l,...t})=>{const s=[a.default.nav,l].filter(Boolean).join(" ");return n.jsx("nav",{className:s,...t,children:e})};u.displayName="Navbar.Nav";const N=({children:e,href:l,active:t=!1,className:s,onClick:r,...i})=>{const c=[a.default.link,t&&a.default.active,s].filter(Boolean).join(" ");return n.jsx("a",{href:l,className:c,"aria-current":t?"page":void 0,onClick:r,...i,children:e})};N.displayName="Navbar.Link";const v=({children:e,className:l,...t})=>{const s=[a.default.actions,l].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:e})};v.displayName="Navbar.Actions";const f=({isOpen:e,onToggle:l,className:t})=>{const s=[a.default.toggle,e&&a.default.toggleOpen,t].filter(Boolean).join(" ");return n.jsx("button",{type:"button",className:s,onClick:l,"aria-expanded":e,"aria-label":e?"Close menu":"Open menu",children:n.jsxs("span",{className:a.default.toggleIcon,children:[n.jsx("span",{className:a.default.toggleLine}),n.jsx("span",{className:a.default.toggleLine}),n.jsx("span",{className:a.default.toggleLine})]})})};f.displayName="Navbar.Toggle";const p=({children:e,isOpen:l,className:t,...s})=>{const r=[a.default.collapse,l&&a.default.collapseOpen,t].filter(Boolean).join(" ");return n.jsx("div",{className:r,...s,children:e})};p.displayName="Navbar.Collapse";const b=({children:e,className:l,...t})=>{const s=[a.default.collapseActions,l].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:e})};b.displayName="Navbar.CollapseActions";const o=({children:e,height:l="md",variant:t="solid",colorScheme:s="auto",sticky:r=!1,bordered:i=!0,className:c,...m})=>{const g=[a.default.navbar,a.default[l],a.default[t],s!=="auto"&&a.default[`scheme${s.charAt(0).toUpperCase()+s.slice(1)}`],r&&a.default.sticky,i&&a.default.bordered,c].filter(Boolean).join(" ");return n.jsx("header",{className:g,...m,children:e})};o.Brand=d;o.Nav=u;o.Link=N;o.Actions=v;o.Toggle=f;o.Collapse=p;o.CollapseActions=b;o.displayName="Navbar";exports.Navbar=o;
|
package/dist/index54.mjs
CHANGED
package/dist/index55.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),f=require("react"),d=require("lucide-react"),s=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),f=require("react"),d=require("lucide-react"),s=require("./index142.cjs"),T={info:e.jsx(d.Info,{size:18}),success:e.jsx(d.CheckCircle,{size:18}),warning:e.jsx(d.AlertTriangle,{size:18}),error:e.jsx(d.XCircle,{size:18}),default:e.jsx(d.Bell,{size:18})},p=({notification:l,onMarkAsRead:r,onDismiss:u})=>{const m=l.icon||T[l.type||"default"],t=l.href||l.onClick,c=()=>{l.onClick&&l.onClick(),!l.read&&r&&r(l.id)},h=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:s.default.itemLeft,children:l.avatar?e.jsx("img",{src:l.avatar,alt:"",className:s.default.itemAvatar}):e.jsx("div",{className:`${s.default.itemIcon} ${s.default[`icon-${l.type||"default"}`]}`,children:m})}),e.jsxs("div",{className:s.default.itemContent,children:[e.jsxs("div",{className:s.default.itemHeader,children:[e.jsx("span",{className:s.default.itemTitle,children:l.title}),!l.read&&e.jsx("span",{className:s.default.unreadDot})]}),l.message&&e.jsx("p",{className:s.default.itemMessage,children:l.message}),e.jsx("span",{className:s.default.itemTime,children:l.relativeTime||l.timestamp})]}),e.jsxs("div",{className:s.default.itemActions,children:[!l.read&&r&&e.jsx("button",{type:"button",className:s.default.itemAction,onClick:n=>{n.stopPropagation(),r(l.id)},title:"Mark as read",children:e.jsx(d.Check,{size:14})}),u&&e.jsx("button",{type:"button",className:s.default.itemAction,onClick:n=>{n.stopPropagation(),u(l.id)},title:"Dismiss",children:e.jsx(d.X,{size:14})})]})]});return l.href?e.jsx("a",{href:l.href,className:`${s.default.item} ${l.read?s.default.itemRead:""}`,onClick:c,children:h}):e.jsx("div",{className:`${s.default.item} ${l.read?s.default.itemRead:""} ${t?s.default.itemClickable:""}`,onClick:t?c:void 0,role:t?"button":void 0,tabIndex:t?0:void 0,children:h})},v=f.forwardRef(({notifications:l,onMarkAsRead:r,onMarkAllAsRead:u,onDismiss:m,onClearAll:t,onViewAll:c,title:h="Notifications",emptyMessage:n="No notifications",loading:C=!1,maxHeight:b="400px",groupByCategory:x=!1,showUnreadCount:g=!0,className:k,...y},z)=>{const N=f.useMemo(()=>l.filter(a=>!a.read).length,[l]),o=f.useMemo(()=>{if(!x)return null;const a={};return l.forEach(j=>{const i=j.category||"Other";a[i]||(a[i]=[]),a[i].push(j)}),a},[l,x]),$=[s.default.notificationCenter,k].filter(Boolean).join(" ");return e.jsxs("div",{ref:z,className:$,...y,children:[e.jsxs("div",{className:s.default.header,children:[e.jsxs("div",{className:s.default.headerTitle,children:[e.jsx("span",{children:h}),g&&N>0&&e.jsx("span",{className:s.default.badge,children:N})]}),e.jsx("div",{className:s.default.headerActions,children:u&&N>0&&e.jsx("button",{type:"button",className:s.default.headerAction,onClick:u,children:"Mark all as read"})})]}),e.jsx("div",{className:s.default.content,style:{maxHeight:b},children:C?e.jsx("div",{className:s.default.loading,children:e.jsx("div",{className:s.default.spinner})}):l.length===0?e.jsxs("div",{className:s.default.empty,children:[e.jsx(d.Bell,{size:32}),e.jsx("span",{children:n})]}):x&&o?Object.entries(o).map(([a,j])=>e.jsxs("div",{className:s.default.group,children:[e.jsx("div",{className:s.default.groupTitle,children:a}),j.map(i=>e.jsx(p,{notification:i,onMarkAsRead:r,onDismiss:m},i.id))]},a)):l.map(a=>e.jsx(p,{notification:a,onMarkAsRead:r,onDismiss:m},a.id))}),(c||t)&&l.length>0&&e.jsxs("div",{className:s.default.footer,children:[t&&e.jsx("button",{type:"button",className:s.default.footerAction,onClick:t,children:"Clear all"}),c&&e.jsx("button",{type:"button",className:s.default.footerActionPrimary,onClick:c,children:"View all notifications"})]})]})});v.displayName="NotificationCenter";exports.NotificationCenter=v;
|
package/dist/index55.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as a, jsx as l, Fragment as I } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as j, useMemo as C } from "react";
|
|
3
3
|
import { Bell as g, Check as P, X as O, XCircle as X, AlertTriangle as w, CheckCircle as E, Info as F } from "lucide-react";
|
|
4
|
-
import e from "./
|
|
4
|
+
import e from "./index142.mjs";
|
|
5
5
|
const H = {
|
|
6
6
|
info: /* @__PURE__ */ l(F, { size: 18 }),
|
|
7
7
|
success: /* @__PURE__ */ l(E, { size: 18 }),
|
package/dist/index56.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),y=require("react"),i=require("lucide-react"),a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),y=require("react"),i=require("lucide-react"),a=require("./index136.cjs"),h=y.forwardRef(({title:m,description:c,breadcrumbs:t,actions:n,tabs:r,activeTab:u,onTabChange:f,backLink:s,badge:o,variant:j="default",size:x="md",bordered:N=!0,sticky:b=!1,className:p,...g},v)=>{const C=[a.default.pageHeader,a.default[`variant-${j}`],a.default[`size-${x}`],N&&a.default.bordered,b&&a.default.sticky,p].filter(Boolean).join(" "),k=(l,d)=>{f&&f(l),d&&(window.location.href=d)};return e.jsxs("div",{ref:v,className:C,...g,children:[s&&e.jsx("div",{className:a.default.backLink,children:s.href?e.jsxs("a",{href:s.href,className:a.default.backLinkAnchor,children:[e.jsx(i.ChevronLeft,{size:16}),e.jsx("span",{children:s.label||"Back"})]}):e.jsxs("button",{type:"button",onClick:s.onClick,className:a.default.backLinkButton,children:[e.jsx(i.ChevronLeft,{size:16}),e.jsx("span",{children:s.label||"Back"})]})}),t&&t.length>0&&e.jsx("nav",{className:a.default.breadcrumbs,"aria-label":"Breadcrumb",children:e.jsx("ol",{className:a.default.breadcrumbList,children:t.map((l,d)=>e.jsxs("li",{className:a.default.breadcrumbItem,children:[d>0&&e.jsx(i.ChevronRight,{size:14,className:a.default.breadcrumbSeparator}),l.href?e.jsx("a",{href:l.href,className:a.default.breadcrumbLink,children:l.label}):l.onClick?e.jsx("button",{type:"button",onClick:l.onClick,className:a.default.breadcrumbButton,children:l.label}):e.jsx("span",{className:a.default.breadcrumbCurrent,"aria-current":"page",children:l.label})]},l.label))})}),e.jsxs("div",{className:a.default.main,children:[e.jsxs("div",{className:a.default.titleSection,children:[e.jsxs("div",{className:a.default.titleRow,children:[e.jsx("h1",{className:a.default.title,children:m}),o&&e.jsx("span",{className:a.default.badge,children:o})]}),c&&e.jsx("p",{className:a.default.description,children:c})]}),n&&e.jsx("div",{className:a.default.actions,children:n})]}),r&&r.length>0&&e.jsx("div",{className:a.default.tabs,role:"tablist",children:r.map(l=>e.jsxs("button",{role:"tab",type:"button","aria-selected":u===l.id,className:`${a.default.tab} ${u===l.id?a.default.tabActive:""}`,onClick:()=>k(l.id,l.href),children:[e.jsx("span",{children:l.label}),l.badge&&e.jsx("span",{className:a.default.tabBadge,children:l.badge})]},l.id))})]})});h.displayName="PageHeader";exports.PageHeader=h;
|
package/dist/index56.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as w } from "react";
|
|
3
3
|
import { ChevronLeft as N, ChevronRight as z } from "lucide-react";
|
|
4
|
-
import e from "./
|
|
4
|
+
import e from "./index136.mjs";
|
|
5
5
|
const $ = w(
|
|
6
6
|
({
|
|
7
7
|
title: p,
|
package/dist/index57.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),b=require("react"),o=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),b=require("react"),o=require("./index115.cjs"),L=(t,e,u)=>{const h=u*2+5;if(e<=h)return Array.from({length:e},(r,p)=>p+1);const a=Math.max(t-u,1),d=Math.min(t+u,e),f=a>2,l=d<e-1,s=[];s.push(1),f?s.push("ellipsis"):a===2&&s.push(2);for(let r=a;r<=d;r++)r!==1&&r!==e&&s.push(r);return l?s.push("ellipsis"):d===e-1&&s.push(e-1),e>1&&s.push(e),s},k=b.forwardRef(({currentPage:t,totalPages:e,onPageChange:u,siblingCount:h=1,showFirstLast:a=!0,showPrevNext:d=!0,size:f="md",disabled:l=!1,className:s,...r},p)=>{const m=b.useMemo(()=>L(t,e,h),[t,e,h]),x=t>1,j=t<e,c=n=>{!l&&n>=1&&n<=e&&n!==t&&u(n)},v=[o.default.pagination,o.default[f],l&&o.default.disabled,s].filter(Boolean).join(" ");return e<=0?null:i.jsx("nav",{ref:p,className:v,"aria-label":"Pagination",...r,children:i.jsxs("ul",{className:o.default.list,children:[a&&i.jsx("li",{children:i.jsx("button",{type:"button",className:o.default.button,onClick:()=>c(1),disabled:!x||l,"aria-label":"Go to first page",children:i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M11 12L7 8l4-4M5 12V4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})}),d&&i.jsx("li",{children:i.jsx("button",{type:"button",className:o.default.button,onClick:()=>c(t-1),disabled:!x||l,"aria-label":"Go to previous page",children:i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M10 12L6 8l4-4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})}),m.map((n,N)=>i.jsx("li",{children:n==="ellipsis"?i.jsx("span",{className:o.default.ellipsis,"aria-hidden":"true",children:"…"}):i.jsx("button",{type:"button",className:`${o.default.button} ${o.default.pageButton} ${n===t?o.default.active:""}`,onClick:()=>c(n),disabled:l,"aria-label":`Go to page ${n}`,"aria-current":n===t?"page":void 0,children:n})},n==="ellipsis"?`ellipsis-${N}`:n)),d&&i.jsx("li",{children:i.jsx("button",{type:"button",className:o.default.button,onClick:()=>c(t+1),disabled:!j||l,"aria-label":"Go to next page",children:i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M6 12l4-4-4-4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})}),a&&i.jsx("li",{children:i.jsx("button",{type:"button",className:o.default.button,onClick:()=>c(e),disabled:!j||l,"aria-label":"Go to last page",children:i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M5 12l4-4-4-4M11 12V4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})})]})})});k.displayName="Pagination";exports.Pagination=k;
|
package/dist/index57.mjs
CHANGED
package/dist/index58.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react/jsx-runtime"),t=require("react"),_=require("react-dom"),m=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react/jsx-runtime"),t=require("react"),_=require("react-dom"),m=require("./index107.cjs"),G=(r,u,l,c)=>{const d=window.scrollX,f=window.scrollY;let n=0,s=0;const e={top:r.top+f-u.height-c,bottom:r.bottom+f+c,left:r.left+d-u.width-c,right:r.right+d+c,centerX:r.left+d+(r.width-u.width)/2,centerY:r.top+f+(r.height-u.height)/2,startX:r.left+d,endX:r.right+d-u.width,startY:r.top+f,endY:r.bottom+f-u.height};switch(l){case"top":n=e.top,s=e.centerX;break;case"top-start":n=e.top,s=e.startX;break;case"top-end":n=e.top,s=e.endX;break;case"bottom":n=e.bottom,s=e.centerX;break;case"bottom-start":n=e.bottom,s=e.startX;break;case"bottom-end":n=e.bottom,s=e.endX;break;case"left":n=e.centerY,s=e.left;break;case"left-start":n=e.startY,s=e.left;break;case"left-end":n=e.endY,s=e.left;break;case"right":n=e.centerY,s=e.right;break;case"right-start":n=e.startY,s=e.right;break;case"right-end":n=e.endY,s=e.right;break}return{top:n,left:s}},q=t.forwardRef(({trigger:r,content:u,placement:l="bottom",triggerType:c="click",open:d,defaultOpen:f=!1,onOpenChange:n,showArrow:s=!0,offset:e=8,closeOnClickOutside:j=!0,closeOnEscape:T=!0,openDelay:X=0,closeDelay:Y=150,fullWidth:B=!1,className:M,...N},W)=>{const[F,S]=t.useState(f),[x,I]=t.useState({top:0,left:0}),h=t.useRef(null),p=t.useRef(null),w=t.useRef(null),k=t.useRef(null);t.useImperativeHandle(W,()=>h.current);const L=d!==void 0,a=L?d:F,i=t.useCallback(o=>{L||S(o),n?.(o)},[L,n]),b=t.useCallback(()=>{if(!h.current||!p.current)return;const o=h.current.getBoundingClientRect(),g=p.current.getBoundingClientRect(),C=G(o,g,l,e);I(C)},[l,e]);t.useEffect(()=>{if(a)return requestAnimationFrame(b),window.addEventListener("resize",b),window.addEventListener("scroll",b,!0),()=>{window.removeEventListener("resize",b),window.removeEventListener("scroll",b,!0)}},[a,b]),t.useEffect(()=>{if(!a||!j)return;const o=g=>{const C=g.target;h.current&&!h.current.contains(C)&&p.current&&!p.current.contains(C)&&i(!1)};return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[a,j,i]),t.useEffect(()=>{if(!a||!T)return;const o=g=>{g.key==="Escape"&&i(!1)};return document.addEventListener("keydown",o),()=>document.removeEventListener("keydown",o)},[a,T,i]),t.useEffect(()=>()=>{w.current&&clearTimeout(w.current),k.current&&clearTimeout(k.current)},[]);const E=t.useCallback(()=>{k.current&&clearTimeout(k.current),X>0?w.current=setTimeout(()=>i(!0),X):i(!0)},[X,i]),P=t.useCallback(()=>{w.current&&clearTimeout(w.current),Y>0?k.current=setTimeout(()=>i(!1),Y):i(!1)},[Y,i]),$=t.useCallback(()=>{a?P():E()},[a,E,P]),y=()=>{const o={"aria-expanded":a,"aria-haspopup":!0};switch(c){case"click":return{...o,onClick:$};case"hover":return{...o,onMouseEnter:E,onMouseLeave:P};case"focus":return{...o,onFocus:E,onBlur:P};case"manual":return o;default:return o}},z=t.isValidElement(r)?t.cloneElement(r,y()):r,A=()=>l.startsWith("top")?"bottom":l.startsWith("bottom")?"top":l.startsWith("left")?"right":l.startsWith("right")?"left":"top",H=[m.default.popover,a&&m.default.visible,M].filter(Boolean).join(" "),O=v.jsxs("div",{ref:p,className:H,style:{top:x.top,left:x.left},role:"dialog","aria-modal":"false",onMouseEnter:c==="hover"?E:void 0,onMouseLeave:c==="hover"?P:void 0,...N,children:[s&&v.jsx("div",{className:`${m.default.arrow} ${m.default[`arrow-${A()}`]}`,"aria-hidden":"true"}),v.jsx("div",{className:m.default.content,children:u})]}),V=[m.default.trigger,B&&m.default.triggerFullWidth].filter(Boolean).join(" ");return v.jsxs(v.Fragment,{children:[v.jsx("div",{ref:h,className:V,children:z}),a&&_.createPortal(O,document.body)]})});q.displayName="Popover";exports.Popover=q;
|
package/dist/index58.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as x, jsx as B, Fragment as Q } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as U, useState as F, useRef as g, useImperativeHandle as Z, useCallback as X, useEffect as L, isValidElement as _, cloneElement as D } from "react";
|
|
3
3
|
import { createPortal as R } from "react-dom";
|
|
4
|
-
import f from "./
|
|
4
|
+
import f from "./index107.mjs";
|
|
5
5
|
const tt = (e, a, c, l) => {
|
|
6
6
|
const u = window.scrollX, d = window.scrollY;
|
|
7
7
|
let r = 0, o = 0;
|
package/dist/index59.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index123.cjs"),d=({value:t,max:i=100,variant:n="primary",size:c="md",showLabel:o=!1,label:r,indeterminate:s=!1,className:u,...f})=>{const l=t!==void 0?Math.min(Math.max(t/i*100,0),100):0,m=[a.default.container,a.default[c],a.default[n],s&&a.default.indeterminate,u].filter(Boolean).join(" ");return e.jsxs("div",{className:m,...f,children:[(o||r)&&e.jsxs("div",{className:a.default.labelWrapper,children:[r&&e.jsx("span",{children:r}),o&&!s&&e.jsxs("span",{className:a.default.percentage,children:[Math.round(l),"%"]})]}),e.jsx("div",{className:a.default.track,role:"progressbar","aria-valuenow":s?void 0:t,"aria-valuemin":0,"aria-valuemax":i,"aria-label":r||`Progress: ${Math.round(l)}%`,children:e.jsx("div",{className:a.default.bar,style:{width:s?void 0:`${l}%`}})})]})};d.displayName="ProgressBar";exports.ProgressBar=d;
|
package/dist/index59.mjs
CHANGED
package/dist/index6.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),g=require("react"),l=require("lucide-react"),a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),g=require("react"),l=require("lucide-react"),a=require("./index181.cjs"),k=require("./index22.cjs"),z=require("./index14.cjs"),c=16,q={comment:e.jsx(l.MessageSquare,{size:c}),update:e.jsx(l.Edit,{size:c}),create:e.jsx(l.Plus,{size:c}),delete:e.jsx(l.Trash2,{size:c}),assign:e.jsx(l.UserPlus,{size:c}),complete:e.jsx(l.CheckCircle,{size:c}),upload:e.jsx(l.Upload,{size:c}),default:e.jsx(l.Circle,{size:c})},b=({item:s,showConnector:i,compact:d})=>{const r=s.icon||q[s.type||"default"],o=s.iconVariant||"default";return e.jsxs("div",{className:`${a.default.item} ${d?a.default.itemCompact:""}`,children:[e.jsxs("div",{className:a.default.iconColumn,children:[e.jsx("div",{className:`${a.default.iconWrapper} ${a.default[`iconVariant-${o}`]}`,children:r}),i&&e.jsx("div",{className:a.default.connector})]}),e.jsxs("div",{className:a.default.content,children:[e.jsxs("div",{className:a.default.header,children:[s.actor&&e.jsxs("span",{className:a.default.actor,children:[s.actor.avatar&&e.jsx("img",{src:s.actor.avatar,alt:s.actor.name,className:a.default.avatar}),s.actor.href?e.jsx("a",{href:s.actor.href,className:a.default.actorName,children:s.actor.name}):e.jsx("span",{className:a.default.actorName,children:s.actor.name})]}),e.jsx("span",{className:a.default.title,children:s.title}),e.jsx("span",{className:a.default.time,children:s.relativeTime||s.timestamp})]}),s.description&&e.jsx("div",{className:a.default.description,children:s.description}),s.metadata&&Object.keys(s.metadata).length>0&&e.jsx("div",{className:a.default.metadata,children:Object.entries(s.metadata).map(([n,u])=>e.jsxs("span",{className:a.default.metadataItem,children:[e.jsxs("span",{className:a.default.metadataKey,children:[n,":"]}),e.jsx("span",{className:a.default.metadataValue,children:u})]},n))}),s.actions&&e.jsx("div",{className:a.default.actions,children:s.actions})]})]})},x=g.forwardRef(({activities:s,showFilters:i=!1,filters:d,activeFilter:r,onFilterChange:o,onLoadMore:n,hasMore:u=!1,loading:m=!1,emptyMessage:h="No activity yet.",showConnectors:f=!0,compact:j=!1,className:v,...N},p)=>{const y=[a.default.activityFeed,j&&a.default.compact,v].filter(Boolean).join(" ");return e.jsxs("div",{ref:p,className:y,...N,children:[i&&d&&d.length>0&&e.jsx("div",{className:a.default.filters,children:d.map(t=>e.jsxs(k.Chip,{clickable:!0,selected:r===t.value,onClick:()=>o?.(t.value),children:[t.label,t.count!==void 0&&` (${t.count})`]},t.value))}),e.jsxs("div",{className:a.default.list,children:[s.length===0&&!m?e.jsx("div",{className:a.default.empty,children:h}):s.map((t,C)=>e.jsx(b,{item:t,showConnector:f&&C<s.length-1,compact:j},t.id)),m&&e.jsx(e.Fragment,{children:[1,2,3].map(t=>e.jsxs("div",{className:a.default.skeleton,children:[e.jsx("div",{className:a.default.skeletonIcon}),e.jsxs("div",{className:a.default.skeletonContent,children:[e.jsx("div",{className:a.default.skeletonTitle}),e.jsx("div",{className:a.default.skeletonDesc})]})]},t))})]}),u&&!m&&e.jsx(z.Button,{variant:"secondary",onClick:n,style:{width:"100%",marginTop:"var(--spacing-2)"},children:"Load more"})]})});x.displayName="ActivityFeed";exports.ActivityFeed=x;
|
package/dist/index6.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as e, Fragment as g } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as z } from "react";
|
|
3
3
|
import { Circle as I, Upload as $, CheckCircle as j, UserPlus as b, Trash2 as F, Plus as T, Edit as V, MessageSquare as w } from "lucide-react";
|
|
4
|
-
import a from "./
|
|
4
|
+
import a from "./index181.mjs";
|
|
5
5
|
import { Chip as x } from "./index22.mjs";
|
|
6
6
|
import { Button as A } from "./index14.mjs";
|
|
7
7
|
const t = 16, O = {
|
package/dist/index60.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),i=require("react"),r=require("lucide-react"),s=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),i=require("react"),r=require("lucide-react"),s=require("./index137.cjs"),p=i.forwardRef(({actions:o,variant:t="fab",position:N="bottom-right",primaryAction:h,triggerIcon:x,showLabels:k,fixed:$=!0,offset:y=24,className:v,style:A,...f},g)=>{const[a,n]=i.useState(!1),u=i.useRef(null),j=k??t==="bar";i.useEffect(()=>{if(!a)return;const e=d=>{u.current&&!u.current.contains(d.target)&&n(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[a]),i.useEffect(()=>{if(!a)return;const e=d=>{d.key==="Escape"&&n(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[a]);const c=e=>{e.disabled||(e.onClick(),(t==="fab"||t==="menu")&&n(!1))},b=[s.default.quickActions,s.default[`variant-${t}`],s.default[`position-${N}`],$&&s.default.fixed,a&&s.default.open,v].filter(Boolean).join(" "),m={...A,"--offset":`${y}px`};return t==="fab"?l.jsxs("div",{ref:u,className:b,style:m,...f,children:[l.jsx("div",{className:s.default.fabActions,children:o.map((e,d)=>l.jsxs("button",{type:"button",className:`${s.default.fabAction} ${e.variant?s.default[`action-${e.variant}`]:""} ${e.disabled?s.default.actionDisabled:""}`,onClick:()=>c(e),disabled:e.disabled,style:{transitionDelay:a?`${d*50}ms`:"0ms"},title:e.label,children:[l.jsx("span",{className:s.default.fabActionIcon,children:e.icon}),j&&l.jsx("span",{className:s.default.fabActionLabel,children:e.label})]},e.id))}),l.jsx("button",{type:"button",className:s.default.fabTrigger,onClick:()=>{h&&!a?c(h):n(!a)},"aria-expanded":a,"aria-label":a?"Close actions":"Open actions",children:l.jsx("span",{className:`${s.default.fabTriggerIcon} ${a?s.default.fabTriggerIconRotate:""}`,children:a?l.jsx(r.X,{size:24}):x||l.jsx(r.Plus,{size:24})})})]}):t==="bar"?l.jsx("div",{ref:g,className:b,style:m,...f,children:l.jsx("div",{className:s.default.bar,children:o.map(e=>l.jsxs("button",{type:"button",className:`${s.default.barAction} ${e.variant?s.default[`action-${e.variant}`]:""} ${e.disabled?s.default.actionDisabled:""}`,onClick:()=>c(e),disabled:e.disabled,title:e.label,children:[l.jsx("span",{className:s.default.barActionIcon,children:e.icon}),j&&l.jsx("span",{className:s.default.barActionLabel,children:e.label}),e.shortcut&&l.jsx("kbd",{className:s.default.shortcut,children:e.shortcut})]},e.id))})}):l.jsxs("div",{ref:u,className:b,style:m,...f,children:[a&&l.jsx("div",{className:s.default.menu,children:o.map(e=>l.jsxs("button",{type:"button",className:`${s.default.menuAction} ${e.variant?s.default[`action-${e.variant}`]:""} ${e.disabled?s.default.actionDisabled:""}`,onClick:()=>c(e),disabled:e.disabled,children:[l.jsx("span",{className:s.default.menuActionIcon,children:e.icon}),l.jsx("span",{className:s.default.menuActionLabel,children:e.label}),e.shortcut&&l.jsx("kbd",{className:s.default.shortcut,children:e.shortcut})]},e.id))}),l.jsx("button",{type:"button",className:s.default.menuTrigger,onClick:()=>n(!a),"aria-expanded":a,"aria-label":a?"Close menu":"Open menu",children:a?l.jsx(r.X,{size:20}):x||l.jsx(r.Plus,{size:20})})]})});p.displayName="QuickActions";exports.QuickActions=p;
|
package/dist/index60.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as x, useState as E, useRef as D, useEffect as N } from "react";
|
|
3
3
|
import { X as $, Plus as k } from "lucide-react";
|
|
4
|
-
import s from "./
|
|
4
|
+
import s from "./index137.mjs";
|
|
5
5
|
const I = x(
|
|
6
6
|
({
|
|
7
7
|
actions: o,
|
package/dist/index61.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),f=require("react"),g=require("lucide-react"),e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),f=require("react"),g=require("lucide-react"),e=require("./index168.cjs"),h=f.forwardRef(({label:d,helperText:l,error:s,size:m="md",className:j,id:N,disabled:n,required:t,"aria-label":c,"aria-describedby":o,...b},v)=>{const x=f.useId(),r=N||`radio-${x}`,u=`${r}-error`,p=`${r}-helper`,i=[];s&&i.push(u),l&&!s&&i.push(p),o&&i.push(o);const R=i.length>0?i.join(" "):void 0;!(d||c)&&process.env.NODE_ENV==="development"&&console.warn("Radio: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users.");const y=[e.default.container,e.default[m],s&&e.default.error,n&&e.default.disabled,j].filter(Boolean).join(" ");return a.jsxs("div",{className:y,children:[a.jsx("input",{ref:v,type:"radio",id:r,className:e.default.input,disabled:n,required:t,"aria-required":t||void 0,"aria-invalid":s?"true":"false","aria-describedby":R,"aria-label":d?void 0:c,...b}),a.jsxs("label",{htmlFor:r,className:e.default.labelWrapper,children:[a.jsx("span",{className:e.default.radio,"aria-hidden":"true",children:a.jsx("span",{className:e.default.dot})}),d&&a.jsxs("span",{className:e.default.label,children:[d,t&&a.jsx("span",{className:e.default.required,"aria-hidden":"true",children:"*"})]})]}),l&&!s&&a.jsx("p",{id:p,className:e.default.helperText,children:l}),s&&a.jsxs("p",{id:u,className:e.default.errorMessage,role:"alert","aria-live":"assertive",children:[a.jsx(g.AlertCircle,{size:14,"aria-hidden":"true"}),a.jsx("span",{children:s})]})]})});h.displayName="Radio";exports.Radio=h;
|
package/dist/index61.mjs
CHANGED
package/dist/index62.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),r=require("react"),i=require("lucide-react"),e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),r=require("react"),i=require("lucide-react"),e=require("./index129.cjs"),p=r.forwardRef(({size:l="md",value:a,onClear:o,onSearch:t,showClear:m=!0,showSearchButton:j=!1,searchIcon:b,clearLabel:C="Clear search",searchLabel:x="Search",loading:n=!1,fullWidth:y=!1,disabled:d=!1,className:k,onKeyDown:f,...I},N)=>{const S=a!==void 0&&a!=="",g=r.useCallback(u=>{u.key==="Enter"&&t&&t(u.currentTarget.value),f?.(u)},[t,f]),z=r.useCallback(()=>{o?.()},[o]),q=r.useCallback(()=>{t&&typeof a=="string"&&t(a)},[t,a]),M=[e.default.container,e.default[l],y&&e.default.fullWidth,n&&e.default.loading,d&&e.default.disabled,k].filter(Boolean).join(" "),h={sm:"Sm",md:"Md",lg:"Lg"}[l],R=[e.default.input,e.default[`input${h}`]].join(" "),B=[e.default.searchIcon,e.default[`searchIcon${h}`]].join(" "),c=l==="sm"?16:l==="lg"?22:18;return s.jsxs("div",{className:M,children:[s.jsx("span",{className:B,"aria-hidden":"true",children:n?s.jsx(i.Loader2,{size:c,className:e.default.spinner}):b||s.jsx(i.Search,{size:c})}),s.jsx("input",{ref:N,type:"search",className:R,value:a,disabled:d,onKeyDown:g,...I}),m&&S&&!n&&s.jsx("button",{type:"button",className:e.default.clearButton,onClick:z,"aria-label":C,children:s.jsx(i.X,{size:c-2})}),j&&s.jsx("button",{type:"button",className:e.default.searchButton,onClick:q,"aria-label":x,disabled:n,children:s.jsx(i.Search,{size:c})})]})});p.displayName="SearchInput";exports.SearchInput=p;
|
package/dist/index62.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as L, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as S, useCallback as l } from "react";
|
|
3
3
|
import { Loader2 as $, Search as h, X as D } from "lucide-react";
|
|
4
|
-
import s from "./
|
|
4
|
+
import s from "./index129.mjs";
|
|
5
5
|
const E = S(
|
|
6
6
|
({
|
|
7
7
|
size: n = "md",
|
package/dist/index63.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=require("./index183.cjs"),o=t.forwardRef(({as:a="section",spacing:n="lg",background:l="none",borderTop:r=!1,borderBottom:c=!1,className:s,children:i,...d},u)=>{const f=[e.default.section,e.default[`spacing-${n}`],e.default[`bg-${l}`],r&&e.default.borderTop,c&&e.default.borderBottom,s].filter(Boolean).join(" ");return t.createElement(a,{ref:u,className:f,...d},i)});o.displayName="Section";exports.Section=o;
|
package/dist/index63.mjs
CHANGED
package/dist/index64.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),$=require("react"),e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),$=require("react"),e=require("./index103.cjs"),n=$.forwardRef(({label:i,error:a,helperText:d,options:o,placeholder:r="Select an option...",fullWidth:u=!1,size:f="md",optional:m=!1,className:h,id:j,disabled:p,required:c,children:b,...x},N)=>{const s=j||`select-${Math.random().toString(36).substr(2,9)}`,v=[e.default.selectContainer,u&&e.default.fullWidth,a&&e.default.error,h].filter(Boolean).join(" "),S=[e.default.select,e.default[f]].filter(Boolean).join(" ");return l.jsxs("div",{className:v,children:[i&&l.jsxs("label",{htmlFor:s,className:e.default.label,children:[i,m&&l.jsx("span",{className:e.default.optional,children:"(optional)"}),c&&l.jsx("span",{"aria-label":"required",children:"*"})]}),l.jsx("div",{className:e.default.selectWrapper,children:l.jsxs("select",{ref:N,id:s,className:S,disabled:p,required:c,"aria-invalid":a?"true":"false","aria-describedby":a?`${s}-error`:d?`${s}-helper`:void 0,...x,children:[r&&l.jsx("option",{value:"",disabled:!0,className:e.default.placeholder,children:r}),o?.map(t=>l.jsx("option",{value:t.value,disabled:t.disabled,children:t.label},t.value)),b]})}),d&&!a&&l.jsx("span",{id:`${s}-helper`,className:e.default.helperText,children:d}),a&&l.jsxs("span",{id:`${s}-error`,className:e.default.errorMessage,role:"alert",children:[l.jsx("span",{className:e.default.errorIcon,"aria-hidden":"true",children:"⚠"}),a]})]})});n.displayName="Select";exports.Select=n;
|
package/dist/index64.mjs
CHANGED
package/dist/index65.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),u=require("react"),S=require("lucide-react"),s=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),u=require("react"),S=require("lucide-react"),s=require("./index106.cjs"),y=u.forwardRef(({className:e,...d},i)=>a.jsx("hr",{ref:i,className:`${s.default.divider} ${e||""}`,...d}));y.displayName="Sidebar.Divider";const b=u.forwardRef(({item:e,active:d=!1,collapsed:i=!1,depth:t=0,className:r,...c},l)=>{const[f,h]=u.useState(!1),n=e.children&&e.children.length>0,m=[s.default.item,d&&s.default.itemActive,e.disabled&&s.default.itemDisabled,t>0&&s.default.itemNested,r].filter(Boolean).join(" "),x=o=>{n&&(o.preventDefault(),h(!f)),e.onClick&&!e.disabled&&e.onClick()},j=a.jsxs(a.Fragment,{children:[e.icon&&a.jsx("span",{className:s.default.itemIcon,children:e.icon}),!i&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:s.default.itemLabel,children:e.label}),e.badge&&a.jsx("span",{className:s.default.itemBadge,children:e.badge}),n&&a.jsx(S.ChevronDown,{size:16,className:`${s.default.itemChevron} ${f?s.default.chevronExpanded:""}`})]})]}),v=e.href&&!n?"a":"button",N=e.href&&!n?{href:e.href}:{type:"button",onClick:x};return a.jsxs("li",{className:s.default.itemWrapper,children:[a.jsx(v,{ref:l,className:m,"aria-current":d?"page":void 0,"aria-disabled":e.disabled,title:i?e.label:void 0,style:{paddingLeft:!i&&t>0?`calc(var(--spacing-3) + ${t*12}px)`:void 0},...N,...c,children:j}),n&&f&&!i&&a.jsx("ul",{className:s.default.subItems,children:e.children.map(o=>a.jsx(b,{item:o,active:!1,collapsed:i,depth:t+1},o.id))})]})});b.displayName="Sidebar.Item";const g=u.forwardRef(({section:e,activeItem:d,collapsed:i=!1,className:t,...r},c)=>a.jsxs("div",{ref:c,className:`${s.default.section} ${t||""}`,...r,children:[e.title&&!i&&a.jsx("div",{className:s.default.sectionTitle,children:e.title}),a.jsx("ul",{className:s.default.sectionItems,children:e.items.map(l=>a.jsx(b,{item:l,active:d===l.id,collapsed:i},l.id))})]}));g.displayName="Sidebar.Section";const C=u.forwardRef(({sections:e,activeItem:d,collapsed:i=!1,onCollapsedChange:t,header:r,footer:c,variant:l="default",width:f=240,collapsedWidth:h=64,className:n,style:m,...x},j)=>{const v=[s.default.sidebar,s.default[`variant-${l}`],i&&s.default.collapsed,n].filter(Boolean).join(" "),N={...m,"--sidebar-width":`${i?h:f}px`},o=()=>{t&&t(!i)};return a.jsxs("nav",{ref:j,className:v,style:N,...x,children:[r&&a.jsx("div",{className:s.default.header,children:r}),a.jsx("div",{className:s.default.content,children:e.map((p,$)=>a.jsx(g,{section:p,activeItem:d,collapsed:i},p.title||$))}),c&&a.jsx("div",{className:s.default.footer,children:c}),t&&a.jsx("button",{type:"button",className:s.default.collapseToggle,onClick:o,"aria-label":i?"Expand sidebar":"Collapse sidebar",children:i?a.jsx(S.ChevronRight,{size:16}):a.jsx(S.ChevronLeft,{size:16})})]})});C.displayName="Sidebar";const R=Object.assign(C,{Item:b,Section:g,Divider:y});exports.Sidebar=R;
|
package/dist/index65.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as b, jsx as i, Fragment as C } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as h, useState as j } from "react";
|
|
3
3
|
import { ChevronRight as k, ChevronLeft as B, ChevronDown as T } from "lucide-react";
|
|
4
|
-
import a from "./
|
|
4
|
+
import a from "./index106.mjs";
|
|
5
5
|
const $ = h(
|
|
6
6
|
({ className: e, ...r }, s) => /* @__PURE__ */ i(
|
|
7
7
|
"hr",
|
package/dist/index66.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),x=require("react"),e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),x=require("react"),e=require("./index120.cjs"),m=x.forwardRef(({variant:a="text",animation:f="pulse",width:t,height:l,lines:n=1,borderRadius:o,className:p,style:y,...u},i)=>{const d=[e.default.skeleton,e.default[a],e.default[f],p].filter(Boolean).join(" "),r={width:typeof t=="number"?`${t}px`:t,height:typeof l=="number"?`${l}px`:l,borderRadius:typeof o=="number"?`${o}px`:o,...y};return a==="text"&&n>1?s.jsx("div",{ref:i,className:e.default.lines,...u,children:Array.from({length:n}).map((S,c)=>s.jsx("div",{className:d,style:{...r,width:c===n-1?"80%":r.width},"aria-hidden":"true"},c))}):s.jsx("div",{ref:i,className:d,style:r,"aria-hidden":"true",...u})});m.displayName="Skeleton";exports.Skeleton=m;
|
package/dist/index66.mjs
CHANGED
package/dist/index67.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),n=require("react"),e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),n=require("react"),e=require("./index105.cjs"),v=n.forwardRef(({value:l,onChange:o,min:s=0,max:t=100,step:M=1,size:S="md",disabled:f=!1,showValue:k=!1,formatValue:d,showLabels:x=!1,showTicks:w=!1,tickValues:h,label:D,id:R,onChangeStart:p,onChangeEnd:j,className:T,...q},C)=>{const I=n.useId(),$=R||I,i=n.useRef(!1),N=(l-s)/(t-s)*100,g=d?d(l):l.toString(),U=n.useCallback(r=>{const c=parseFloat(r.target.value);o(c)},[o]),b=n.useCallback(()=>{i.current=!0,p?.()},[p]),y=n.useCallback(()=>{i.current&&(i.current=!1,j?.(l))},[j,l]),B=()=>{if(h)return h;const r=[],c=(t-s)/4;for(let u=s;u<=t;u+=c)r.push(Math.round(u*100)/100);return r},F=[e.default.container,e.default[S],f&&e.default.disabled,T].filter(Boolean).join(" ");return a.jsxs("div",{ref:C,className:F,...q,children:[k&&a.jsx("div",{className:e.default.valueDisplay,style:{left:`${N}%`},"aria-hidden":"true",children:g}),a.jsxs("div",{className:e.default.track,children:[a.jsx("div",{className:e.default.fill,style:{width:`${N}%`},"aria-hidden":"true"}),a.jsx("input",{id:$,type:"range",className:e.default.input,value:l,onChange:U,onMouseDown:b,onMouseUp:y,onTouchStart:b,onTouchEnd:y,min:s,max:t,step:M,disabled:f,"aria-label":D,"aria-valuemin":s,"aria-valuemax":t,"aria-valuenow":l,"aria-valuetext":g})]}),w&&a.jsx("div",{className:e.default.ticks,"aria-hidden":"true",children:B().map(r=>a.jsx("div",{className:e.default.tick,style:{left:`${(r-s)/(t-s)*100}%`}},r))}),x&&a.jsxs("div",{className:e.default.labels,"aria-hidden":"true",children:[a.jsx("span",{className:e.default.labelMin,children:d?d(s):s}),a.jsx("span",{className:e.default.labelMax,children:d?d(t):t})]})]})});v.displayName="Slider";exports.Slider=v;
|
package/dist/index67.mjs
CHANGED
package/dist/index68.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),e=require("./index135.cjs"),s=({size:i="md",variant:l="primary",label:a="Loading...",showLabel:r=!1,className:t,...o})=>{const d=[e.default.container,t].filter(Boolean).join(" "),c=[e.default.spinner,e.default[i],e.default[l]].filter(Boolean).join(" ");return n.jsxs("div",{className:d,...o,children:[n.jsx("div",{className:c,role:"status","aria-label":a,"aria-live":"polite"}),r&&n.jsx("span",{className:e.default.label,children:a})]})};s.displayName="Spinner";exports.Spinner=s;
|
package/dist/index68.mjs
CHANGED
package/dist/index69.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),c=require("react"),x=require("lucide-react"),r=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),c=require("react"),x=require("lucide-react"),r=require("./index119.cjs"),R=({step:e,index:o,status:n,size:u,showNumber:b,showCheckmark:m,clickable:s,onClick:i,labelPosition:j})=>{const N=c.useCallback(()=>{s&&!e.disabled&&i&&i()},[s,e.disabled,i]),f=c.useCallback(d=>{(d.key==="Enter"||d.key===" ")&&s&&!e.disabled&&(d.preventDefault(),i?.())},[s,e.disabled,i]),v=[r.default.step,r.default[n],r.default[u],r.default[`label-${j}`],s&&!e.disabled&&r.default.clickable,e.disabled&&r.default.disabled].filter(Boolean).join(" "),h=u==="sm"?14:u==="lg"?20:16,g=()=>n==="error"||e.error?a.jsx(x.AlertCircle,{size:h}):e.icon?e.icon:n==="complete"&&m?a.jsx(x.Check,{size:h}):b?a.jsx("span",{className:r.default.number,children:o+1}):null;return a.jsxs("div",{className:v,role:s?"button":void 0,tabIndex:s&&!e.disabled?0:void 0,"aria-current":n==="current"?"step":void 0,"aria-disabled":e.disabled,onClick:N,onKeyDown:f,children:[a.jsx("div",{className:r.default.indicator,children:g()}),a.jsxs("div",{className:r.default.content,children:[a.jsxs("span",{className:r.default.title,children:[e.title,e.optional&&a.jsx("span",{className:r.default.optional,children:"(Optional)"})]}),e.description&&a.jsx("span",{className:r.default.description,children:e.description}),(e.error||n==="error")&&e.errorMessage&&a.jsx("span",{className:r.default.errorMessage,children:e.errorMessage})]})]})},p=c.forwardRef(({steps:e,currentStep:o=0,onStepClick:n,clickable:u=!1,orientation:b="horizontal",size:m="md",showNumbers:s=!0,showConnectors:i=!0,showCheckmarks:j=!0,labelPosition:N="bottom",scrollable:f=!1,className:v,...h},g)=>{const d=c.useRef(null);c.useEffect(()=>{if(f&&d.current){const l=d.current.children[o];l&&l.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})}},[o,f]);const y=t=>e[t]?.error?"error":t<o?"complete":t===o?"current":"upcoming",w=c.useCallback(t=>{const l=e[t];n&&l&&!l.disabled&&n(t,l)},[n,e]),C=[r.default.stepper,r.default[b],r.default[m],i&&r.default.withConnectors,f&&r.default.scrollable,v].filter(Boolean).join(" ");return a.jsx("div",{ref:g,className:C,role:"navigation","aria-label":"Progress",...h,children:a.jsx("ol",{ref:d,className:r.default.list,children:e.map((t,l)=>a.jsxs("li",{className:r.default.item,children:[a.jsx(R,{step:t,index:l,status:y(l),size:m,showNumber:s,showCheckmark:j,clickable:u,onClick:()=>w(l),labelPosition:N}),i&&l<e.length-1&&a.jsx("div",{className:`${r.default.connector} ${l<o?r.default.complete:""}`,"aria-hidden":"true"})]},t.id))})})});p.displayName="Stepper";exports.Stepper=p;
|
package/dist/index69.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i, jsxs as h } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as I, useRef as D, useEffect as M, useCallback as w } from "react";
|
|
3
3
|
import { AlertCircle as R, Check as $ } from "lucide-react";
|
|
4
|
-
import e from "./
|
|
4
|
+
import e from "./index119.mjs";
|
|
5
5
|
const B = ({
|
|
6
6
|
step: r,
|
|
7
7
|
index: t,
|
package/dist/index7.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),O=require("react"),s=require("lucide-react"),a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),O=require("react"),s=require("lucide-react"),a=require("./index111.cjs"),n=require("./index16.cjs"),T=require("./index10.cjs"),k=require("./index35.cjs"),w=require("./index14.cjs"),x=({id:i,avatar:d,title:l,description:C,timestamp:u,isMultiAgent:D=!1,onClick:c,onEdit:g,onDelete:f,availableFolders:o,onMoveToFolder:m,draggable:r=!1,isDragging:v=!1,className:N,...A})=>{const S=typeof d=="string",[h,j]=O.useState(v),q=[a.default.agentCard,c&&a.default.clickable,r&&a.default.draggable,h&&a.default.dragging,N].filter(Boolean).join(" "),y=()=>{c?.()},b=t=>{r&&(j(!0),t.dataTransfer.effectAllowed="move",t.dataTransfer.setData("text/plain",i),t.dataTransfer.setData("application/json",JSON.stringify({id:i,title:l})))},z=()=>{j(!1)},B=t=>{r&&(t.preventDefault(),t.dataTransfer.dropEffect="move")},p=[...g?[{id:"edit",label:"Edit",icon:e.jsx(s.Edit,{size:16}),onClick:g}]:[],...f?[{id:"delete",label:"Delete",icon:e.jsx(s.Trash2,{size:16}),danger:!0,onClick:f}]:[],...m&&o&&o.length>0?[{id:"_move-sep",label:"",separator:!0},...o.map(t=>({id:`move-to-${t.id}`,label:t.title,icon:e.jsx(s.Folder,{size:16}),onClick:()=>m(t.id)}))]:[]];return e.jsxs(n.Card,{variant:"base",interactive:!!c,className:q,onClick:y,draggable:r,onDragStart:b,onDragEnd:z,onDragOver:B,"data-agent-id":i,"data-dragging":h,...A,children:[e.jsx(n.Card.Header,{children:e.jsxs("div",{className:a.default.headerContent,children:[S?e.jsx(T.Avatar,{src:d,alt:l,size:"lg"}):e.jsx("div",{className:a.default.iconAvatar,children:d}),e.jsxs("div",{className:a.default.headerRight,children:[D&&e.jsx("span",{className:a.default.multiBadge,children:"Multi"}),p.length>0&&e.jsx(k.Dropdown,{trigger:e.jsx(w.Button,{variant:"ghost",iconOnly:!0,size:"sm",icon:e.jsx(s.MoreVertical,{size:20}),"aria-label":"Actions",onDragStart:t=>t.stopPropagation()}),items:p,placement:"bottom-end",minWidth:140})]})]})}),e.jsxs(n.Card.Body,{children:[e.jsx("h3",{className:a.default.title,children:l}),e.jsx("p",{className:a.default.description,children:C??""})]}),u&&e.jsx(n.Card.Footer,{children:e.jsx("time",{className:a.default.timestamp,children:u})})]})};x.displayName="AgentCard";exports.AgentCard=x;
|
package/dist/index7.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as B } from "react";
|
|
3
3
|
import { Edit as E, Trash2 as O, Folder as T, MoreVertical as w } from "lucide-react";
|
|
4
|
-
import a from "./
|
|
4
|
+
import a from "./index111.mjs";
|
|
5
5
|
import { Card as n } from "./index16.mjs";
|
|
6
6
|
import { Avatar as I } from "./index10.mjs";
|
|
7
7
|
import { Dropdown as H } from "./index35.mjs";
|