@orion-ds/react 4.2.1 → 4.2.4
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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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.module.css +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 +30 -36
- package/dist/index101.cjs +1 -1
- package/dist/index101.mjs +40 -30
- package/dist/index102.cjs +1 -1
- package/dist/index102.mjs +44 -60
- package/dist/index103.cjs +1 -1
- package/dist/index103.mjs +24 -44
- package/dist/index104.cjs +1 -1
- package/dist/index104.mjs +12 -46
- package/dist/index105.cjs +1 -1
- package/dist/index105.mjs +44 -40
- package/dist/index106.cjs +1 -1
- package/dist/index106.mjs +22 -30
- package/dist/index107.cjs +1 -1
- package/dist/index107.mjs +38 -28
- package/dist/index108.cjs +1 -1
- package/dist/index108.mjs +13 -29
- package/dist/index109.cjs +1 -1
- package/dist/index109.mjs +18 -32
- package/dist/index110.cjs +1 -1
- package/dist/index110.mjs +28 -42
- package/dist/index111.cjs +1 -1
- package/dist/index111.mjs +30 -52
- package/dist/index112.cjs +1 -1
- package/dist/index112.mjs +52 -18
- package/dist/index113.cjs +1 -1
- package/dist/index113.mjs +37 -29
- package/dist/index114.cjs +1 -1
- package/dist/index114.mjs +28 -64
- package/dist/index115.cjs +1 -1
- package/dist/index115.mjs +40 -106
- package/dist/index116.cjs +1 -1
- package/dist/index116.mjs +45 -66
- package/dist/index118.cjs +1 -1
- package/dist/index118.mjs +22 -18
- package/dist/index119.cjs +1 -1
- package/dist/index119.mjs +28 -30
- package/dist/index12.cjs +1 -1
- package/dist/index12.mjs +1 -1
- package/dist/index120.cjs +1 -1
- package/dist/index120.mjs +62 -76
- package/dist/index121.cjs +1 -1
- package/dist/index121.mjs +33 -37
- package/dist/index122.cjs +1 -1
- package/dist/index122.mjs +45 -28
- package/dist/index123.cjs +1 -1
- package/dist/index123.mjs +28 -46
- package/dist/index124.cjs +1 -1
- package/dist/index124.mjs +33 -28
- package/dist/index125.cjs +1 -1
- package/dist/index125.mjs +38 -12
- package/dist/index126.cjs +1 -1
- package/dist/index126.mjs +32 -24
- package/dist/index127.cjs +1 -1
- package/dist/index127.mjs +42 -24
- package/dist/index128.cjs +1 -1
- package/dist/index128.mjs +40 -33
- package/dist/index129.cjs +1 -1
- package/dist/index129.mjs +30 -42
- package/dist/index13.cjs +1 -1
- package/dist/index13.mjs +1 -1
- package/dist/index130.cjs +1 -1
- package/dist/index130.mjs +62 -64
- package/dist/index131.cjs +1 -1
- package/dist/index131.mjs +106 -18
- package/dist/index132.cjs +1 -1
- package/dist/index132.mjs +57 -32
- package/dist/index133.cjs +1 -1
- package/dist/index133.mjs +24 -28
- package/dist/index134.cjs +1 -1
- package/dist/index134.mjs +30 -40
- package/dist/index135.cjs +1 -1
- package/dist/index135.mjs +16 -24
- package/dist/index136.cjs +1 -1
- package/dist/index136.mjs +52 -20
- package/dist/index137.cjs +1 -1
- package/dist/index137.mjs +30 -42
- package/dist/index138.cjs +1 -1
- package/dist/index138.mjs +28 -46
- package/dist/index139.cjs +1 -1
- package/dist/index139.mjs +42 -50
- package/dist/index14.cjs +1 -1
- package/dist/index14.mjs +1 -1
- package/dist/index140.cjs +1 -1
- package/dist/index140.mjs +18 -22
- package/dist/index141.cjs +1 -1
- package/dist/index141.mjs +43 -37
- package/dist/index142.cjs +1 -1
- package/dist/index142.mjs +65 -30
- package/dist/index143.cjs +1 -1
- package/dist/index143.mjs +20 -30
- package/dist/index144.cjs +1 -1
- package/dist/index144.mjs +33 -12
- package/dist/index145.cjs +1 -1
- package/dist/index145.mjs +76 -44
- package/dist/index146.cjs +1 -1
- package/dist/index146.mjs +64 -53
- package/dist/index147.cjs +1 -1
- package/dist/index147.mjs +64 -36
- package/dist/index148.cjs +1 -1
- package/dist/index148.mjs +18 -55
- package/dist/index149.cjs +1 -1
- package/dist/index149.mjs +20 -14
- package/dist/index15.cjs +1 -1
- package/dist/index15.mjs +1 -1
- package/dist/index150.cjs +1 -1
- package/dist/index150.mjs +55 -61
- package/dist/index151.cjs +1 -1
- package/dist/index151.mjs +24 -22
- package/dist/index152.cjs +1 -1
- package/dist/index152.mjs +53 -20
- package/dist/index153.cjs +1 -1
- package/dist/index153.mjs +26 -33
- package/dist/index154.cjs +1 -1
- package/dist/index154.mjs +27 -56
- package/dist/index155.cjs +1 -1
- package/dist/index155.mjs +46 -234
- package/dist/index156.cjs +1 -1
- package/dist/index156.mjs +43 -34
- package/dist/index157.cjs +1 -1
- package/dist/index157.mjs +31 -44
- package/dist/index158.cjs +1 -1
- package/dist/index158.mjs +54 -169
- package/dist/index159.cjs +1 -1
- package/dist/index159.mjs +17 -186
- package/dist/index16.cjs +1 -1
- package/dist/index16.mjs +1 -1
- package/dist/index160.cjs +1 -1
- package/dist/index160.mjs +13 -29
- package/dist/index161.cjs +1 -1
- package/dist/index161.mjs +50 -90
- package/dist/index162.cjs +1 -1
- package/dist/index162.mjs +21 -53
- package/dist/index163.cjs +1 -1
- package/dist/index163.mjs +33 -66
- package/dist/index164.cjs +1 -1
- package/dist/index164.mjs +36 -124
- package/dist/index165.cjs +1 -1
- package/dist/index165.mjs +67 -108
- package/dist/index166.cjs +1 -1
- package/dist/index166.mjs +28 -111
- package/dist/index167.cjs +1 -1
- package/dist/index167.mjs +18 -122
- package/dist/index168.cjs +1 -1
- package/dist/index168.mjs +234 -214
- package/dist/index169.cjs +1 -1
- package/dist/index169.mjs +34 -66
- package/dist/index17.cjs +1 -1
- package/dist/index17.mjs +1 -1
- package/dist/index170.cjs +1 -1
- package/dist/index170.mjs +44 -58
- package/dist/index171.cjs +1 -1
- package/dist/index171.mjs +170 -18
- package/dist/index172.cjs +1 -1
- package/dist/index172.mjs +186 -29
- package/dist/index173.cjs +1 -1
- package/dist/index173.mjs +29 -28
- package/dist/index174.cjs +1 -1
- package/dist/index174.mjs +90 -52
- package/dist/index175.cjs +1 -1
- package/dist/index175.mjs +53 -19
- package/dist/index176.cjs +1 -1
- package/dist/index176.mjs +66 -38
- package/dist/index177.cjs +1 -1
- package/dist/index177.mjs +124 -40
- package/dist/index178.cjs +1 -1
- package/dist/index178.mjs +108 -45
- package/dist/index179.cjs +1 -1
- package/dist/index179.mjs +111 -20
- package/dist/index18.cjs +1 -1
- package/dist/index18.mjs +1 -1
- package/dist/index180.cjs +1 -1
- package/dist/index180.mjs +122 -18
- package/dist/index181.cjs +1 -1
- package/dist/index181.mjs +214 -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/index26.cjs +1 -1
- package/dist/index26.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 +35 -15
- 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.module.css +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.module.css +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/styles/marker.css +1 -0
- package/dist/styles.css +141 -1
- 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/react.css +0 -1
package/dist/index70.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),f=require("react"),g=require("lucide-react"),e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),f=require("react"),g=require("lucide-react"),e=require("./index134.cjs"),m=f.forwardRef(({label:t,size:b="sm",helperText:l,error:a,className:j,id:N,disabled:d,required:r,checked:n,"aria-label":o,"aria-describedby":u,...v},x)=>{const w=f.useId(),c=N||`switch-${w}`,h=`${c}-error`,p=`${c}-helper`,i=[];a&&i.push(h),l&&!a&&i.push(p),u&&i.push(u);const y=i.length>0?i.join(" "):void 0;!(t||o)&&process.env.NODE_ENV==="development"&&console.warn("Switch: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users.");const S=[e.default.container,e.default[b],a&&e.default.error,d&&e.default.disabled,j].filter(Boolean).join(" ");return s.jsxs("div",{className:S,children:[s.jsx("input",{ref:x,type:"checkbox",role:"switch",id:c,className:e.default.input,disabled:d,required:r,checked:n,"aria-checked":n,"aria-required":r||void 0,"aria-invalid":a?"true":void 0,"aria-describedby":y,"aria-label":t?void 0:o,...v}),s.jsxs("label",{htmlFor:c,className:e.default.labelWrapper,children:[s.jsx("span",{className:e.default.track,"aria-hidden":"true",children:s.jsx("span",{className:e.default.thumb})}),t&&s.jsxs("span",{className:e.default.label,children:[t,r&&s.jsx("span",{className:e.default.required,"aria-hidden":"true",children:"*"})]})]}),l&&!a&&s.jsx("p",{id:p,className:e.default.helperText,children:l}),a&&s.jsxs("p",{id:h,className:e.default.errorMessage,role:"alert","aria-live":"assertive",children:[s.jsx(g.AlertCircle,{size:14,"aria-hidden":"true"}),s.jsx("span",{children:a})]})]})});m.displayName="Switch";exports.Switch=m;
|
package/dist/index70.mjs
CHANGED
package/dist/index71.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),j=require("react"),t=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),j=require("react"),t=require("./index116.cjs"),y=({columns:n,data:f,size:p="md",striped:x=!1,hoverable:N=!0,bordered:g=!1,borderless:v=!1,caption:h,emptyMessage:k="No data available",onRowClick:d,onSortChange:u,sortState:c,getRowKey:C=(b,o)=>o,className:S})=>{const[b,o]=j.useState(null),i=c||b,B=j.useCallback(e=>{if(!e.sortable)return;const s=e.key;let l="asc";i?.columnKey===s&&(i.direction==="asc"?l="desc":i.direction==="desc"&&(l=null)),c||o(l?{columnKey:s,direction:l}:null),u?.(s,l)},[i,c,u]),K=e=>{if(!e.sortable)return null;const s=i?.columnKey===e.key,l=s?i?.direction:null,r=[t.default.sortIndicator,s&&t.default.active].filter(Boolean).join(" ");return l==="asc"?a.jsx("span",{className:r,children:"▲"}):l==="desc"?a.jsx("span",{className:r,children:"▼"}):a.jsx("span",{className:r,children:"⇅"})},T=()=>a.jsx("thead",{className:t.default.thead,children:a.jsx("tr",{children:n.map(e=>{const s=[t.default.th,e.align&&t.default[`align${e.align.charAt(0).toUpperCase()}${e.align.slice(1)}`],e.sortable&&t.default.sortable].filter(Boolean).join(" "),l=e.sortable?()=>B(e):void 0;return a.jsxs("th",{className:s,style:{width:e.width},onClick:l,tabIndex:e.sortable?0:void 0,role:e.sortable?"button":void 0,"aria-sort":i?.columnKey===e.key?i.direction==="asc"?"ascending":"descending":void 0,...e.headerProps,children:[e.header,K(e)]},e.key)})})}),$=()=>f.length===0?a.jsx("tbody",{children:a.jsx("tr",{children:a.jsx("td",{colSpan:n.length,className:t.default.empty,children:k})})}):a.jsx("tbody",{className:t.default.tbody,children:f.map((e,s)=>{const l=C(e,s);return a.jsx("tr",{className:t.default.tr,onClick:d?()=>d(e,s):void 0,children:n.map(r=>{const A=[t.default.td,r.align&&t.default[`align${r.align.charAt(0).toUpperCase()}${r.align.slice(1)}`]].filter(Boolean).join(" "),P=r.cell?r.cell(e,s):e[r.key];return a.jsx("td",{className:A,...r.cellProps,children:P},r.key)})},l)})}),q=[t.default.container,t.default[p],x&&t.default.striped,N&&t.default.hoverable,d&&t.default.clickable,g&&t.default.bordered,v&&t.default.borderless,S].filter(Boolean).join(" ");return a.jsx("div",{className:q,children:a.jsxs("table",{className:t.default.table,children:[h&&a.jsx("caption",{className:t.default.caption,children:h}),T(),$()]})})};y.displayName="Table";exports.Table=y;
|
package/dist/index71.mjs
CHANGED
package/dist/index72.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),r=require("react"),t=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),r=require("react"),t=require("./index148.cjs"),g=({tabs:i,defaultTab:T,activeTab:b,onChange:m,fullWidth:x=!1,className:v})=>{const f=b!==void 0,[j,k]=r.useState(T||i[0]?.id||""),u=r.useRef(new Map),c=f?b:j,y=e=>{f||k(e),m?.(e)},o=r.useCallback(()=>i.filter(e=>!e.disabled),[i]),d=r.useCallback(e=>{const a=o();if(a.length===0)return;const l=(e%a.length+a.length)%a.length,n=a[l];if(!n)return;u.current.get(n.id)?.focus()},[o]),C=r.useCallback((e,a)=>{const l=o(),n=l.findIndex(p=>p.id===a);switch(e.key){case"ArrowLeft":e.preventDefault(),d(n-1);break;case"ArrowRight":e.preventDefault(),d(n+1);break;case"Home":e.preventDefault(),d(0);break;case"End":e.preventDefault(),d(l.length-1);break}},[o,d]),h=i.find(e=>e.id===c),w=[t.default.container,x&&t.default.fullWidth,v].filter(Boolean).join(" ");return s.jsxs("div",{className:w,children:[s.jsx("div",{className:t.default.tabList,role:"tablist",children:i.map(e=>{const a=e.id===c,l=[t.default.tab,a&&t.default.active].filter(Boolean).join(" ");return s.jsxs("button",{ref:n=>{n?u.current.set(e.id,n):u.current.delete(e.id)},type:"button",role:"tab","aria-selected":a,"aria-controls":`panel-${e.id}`,id:`tab-${e.id}`,className:l,onClick:()=>y(e.id),onKeyDown:n=>C(n,e.id),disabled:e.disabled,tabIndex:a?0:-1,children:[e.icon&&s.jsx("span",{className:t.default.icon,children:e.icon}),s.jsx("span",{children:e.label}),e.badge!==void 0&&s.jsx("span",{className:t.default.badge,children:e.badge})]},e.id)})}),h&&s.jsx("div",{className:t.default.panel,role:"tabpanel",id:`panel-${c}`,"aria-labelledby":`tab-${c}`,children:h.content},c)]})};g.displayName="Tabs";exports.Tabs=g;
|
package/dist/index72.mjs
CHANGED
package/dist/index73.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),c=require("react"),_=require("lucide-react"),e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),c=require("react"),_=require("lucide-react"),e=require("./index105.cjs"),$=c.forwardRef(({label:o,helperText:d,error:t,size:T="md",resize:p="vertical",showCounter:u=!1,maxLength:r,className:q,id:A,value:s,defaultValue:f,onChange:m,disabled:j,required:h,optional:g=!1,"aria-label":x,"aria-describedby":N,...B},E)=>{const R=c.useId(),n=A||`textarea-${R}`,b=`${n}-error`,v=`${n}-helper`,C=`${n}-counter`,[S,I]=c.useState(()=>s!==void 0?String(s).length:f!==void 0?String(f).length:0);c.useEffect(()=>{s!==void 0&&I(String(s).length)},[s]);const w=c.useCallback(l=>{I(l.target.value.length),m?.(l)},[m]),i=[];t&&i.push(b),d&&!t&&i.push(v),u&&r&&i.push(C),N&&i.push(N);const M=i.length>0?i.join(" "):void 0;!(o||x)&&process.env.NODE_ENV==="development"&&console.warn("Textarea: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users.");const y=(()=>{if(!r)return"normal";const l=S/r*100;return l>=100?"error":l>=90?"warning":"normal"})(),F=[e.default.counter,y==="warning"&&e.default.counterWarning,y==="error"&&e.default.counterError].filter(Boolean).join(" "),O=[e.default.container,e.default[T],e.default[`resize${p.charAt(0).toUpperCase()}${p.slice(1)}`],t&&e.default.error,j&&e.default.disabled,q].filter(Boolean).join(" "),P=u||d&&!t;return a.jsxs("div",{className:O,children:[o&&a.jsxs("label",{htmlFor:n,className:e.default.label,children:[a.jsx("span",{className:e.default.labelText,children:o}),g&&a.jsx("span",{className:e.default.optional,"aria-hidden":"true",children:"(optional)"}),h&&!g&&a.jsx("span",{className:e.default.required,"aria-hidden":"true",children:"*"})]}),a.jsx("textarea",{ref:E,id:n,className:e.default.textarea,value:s,defaultValue:f,maxLength:r,onChange:w,disabled:j,required:h,"aria-required":h||void 0,"aria-invalid":t?"true":"false","aria-describedby":M,"aria-label":o?void 0:x,...B}),P&&a.jsxs("div",{className:e.default.footer,children:[d&&!t&&a.jsx("p",{id:v,className:e.default.helperText,children:d}),u&&r&&a.jsxs("span",{id:C,className:F,"aria-live":"polite","aria-atomic":"true",children:[S,"/",r]})]}),t&&a.jsxs("p",{id:b,className:e.default.errorMessage,role:"alert","aria-live":"assertive",children:[a.jsx(_.AlertCircle,{size:14,"aria-hidden":"true"}),a.jsx("span",{children:t})]})]})});$.displayName="Textarea";exports.Textarea=$;
|
package/dist/index73.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as O, useId as P, useState as R, useEffect as U, useCallback as W } from "react";
|
|
3
3
|
import { AlertCircle as _ } from "lucide-react";
|
|
4
|
-
import e from "./
|
|
4
|
+
import e from "./index105.mjs";
|
|
5
5
|
const q = O(
|
|
6
6
|
({
|
|
7
7
|
label: l,
|
package/dist/index76.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("react"),L=require("react-dom"),o=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("react"),L=require("react-dom"),o=require("./index155.cjs");let M=0;const N=()=>`toast-${++M}`,m=r.createContext(null),y=()=>{const e=r.useContext(m);if(!e)throw new Error("useToast must be used within a ToastProvider");return e},B=({toast:e,onDismiss:u})=>{const[l,d]=r.useState(!1),a=r.useRef(null),c=r.useCallback(()=>{d(!0),setTimeout(()=>{u(e.id),e.onDismiss?.()},200)},[e,u]);r.useEffect(()=>{if(e.duration&&e.duration>0)return a.current=setTimeout(c,e.duration),()=>{a.current&&clearTimeout(a.current)}},[e.duration,c]);const i=()=>{a.current&&clearTimeout(a.current)},h=()=>{e.duration&&e.duration>0&&(a.current=setTimeout(c,e.duration))},f=[o.default.toast,o.default[e.variant||"info"],l&&o.default.exiting].filter(Boolean).join(" "),k=()=>{switch(e.variant){case"success":return t.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:t.jsx("path",{d:"M16.667 5L7.5 14.167 3.333 10",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});case"error":return t.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[t.jsx("circle",{cx:"10",cy:"10",r:"7.5",stroke:"currentColor",strokeWidth:"1.5"}),t.jsx("path",{d:"M10 6v5M10 13.5v.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]});case"warning":return t.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[t.jsx("path",{d:"M8.57 3.216L1.538 15.143a1.667 1.667 0 001.429 2.524h14.066a1.667 1.667 0 001.429-2.524L11.43 3.216a1.667 1.667 0 00-2.858 0z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("path",{d:"M10 7.5v3.333M10 14.167h.008",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});default:return t.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[t.jsx("circle",{cx:"10",cy:"10",r:"7.5",stroke:"currentColor",strokeWidth:"1.5"}),t.jsx("path",{d:"M10 9v4.5M10 6.5v.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}};return t.jsxs("div",{className:f,role:"alert","aria-live":"polite",onMouseEnter:i,onMouseLeave:h,children:[t.jsx("span",{className:o.default.icon,"aria-hidden":"true",children:k()}),t.jsxs("div",{className:o.default.content,children:[e.title&&t.jsx("div",{className:o.default.title,children:e.title}),t.jsx("div",{className:o.default.message,children:e.message})]}),e.action&&t.jsx("button",{type:"button",className:o.default.action,onClick:()=>{e.action?.onClick(),c()},children:e.action.label}),e.dismissible!==!1&&t.jsx("button",{type:"button",className:o.default.closeButton,onClick:c,"aria-label":"Dismiss",children:t.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:t.jsx("path",{d:"M12 4L4 12M4 4l8 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})},j=({children:e,position:u="bottom-right",maxToasts:l=5,defaultDuration:d=5e3})=>{const[a,c]=r.useState([]),i=r.useCallback(s=>{const n=N(),v={id:n,duration:d,dismissible:!0,variant:"info",...s};return c(T=>{const x=[...T,v];return x.length>l?x.slice(-l):x}),n},[d,l]),h=r.useCallback(s=>{c(n=>n.filter(v=>v.id!==s))},[]),f=r.useCallback(()=>{c([])},[]),k=r.useCallback((s,n)=>i({message:s,variant:"info",...n}),[i]),g=r.useCallback((s,n)=>i({message:s,variant:"success",...n}),[i]),C=r.useCallback((s,n)=>i({message:s,variant:"warning",...n}),[i]),b=r.useCallback((s,n)=>i({message:s,variant:"error",...n}),[i]),p={toast:i,info:k,success:g,warning:C,error:b,dismiss:h,dismissAll:f},w=[o.default.container,o.default[u]].filter(Boolean).join(" ");return t.jsxs(m.Provider,{value:p,children:[e,a.length>0&&L.createPortal(t.jsx("div",{className:w,"aria-label":"Notifications",children:a.map(s=>t.jsx(B,{toast:s,onDismiss:h},s.id))}),document.body)]})};j.displayName="ToastProvider";exports.ToastProvider=j;exports.useToast=y;
|
package/dist/index76.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as g, useCallback as a, useContext as N, createContext as j, useRef as B, useEffect as W } from "react";
|
|
3
3
|
import { createPortal as y } from "react-dom";
|
|
4
|
-
import o from "./
|
|
4
|
+
import o from "./index155.mjs";
|
|
5
5
|
let E = 0;
|
|
6
6
|
const P = () => `toast-${++E}`, w = j(null), $ = () => {
|
|
7
7
|
const e = N(w);
|
package/dist/index77.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("react/jsx-runtime"),l=require("react"),t=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("react/jsx-runtime"),l=require("react"),t=require("./index108.cjs"),u=l.forwardRef(({pressed:o,defaultPressed:c=!1,onPressedChange:a,variant:d="default",size:i="md",disabled:f,className:g,children:m,onClick:n,...b},T)=>{const[j,p]=l.useState(c),s=o!==void 0,e=s?o:j,y=l.useCallback(x=>{const r=!e;s||p(r),a?.(r),n?.(x)},[e,s,a,n]),q=[t.default.toggle,t.default[d],t.default[i],e&&t.default.pressed,g].filter(Boolean).join(" ");return N.jsx("button",{ref:T,type:"button",className:q,"aria-pressed":e,disabled:f,onClick:y,...b,children:m})});u.displayName="Toggle";exports.Toggle=u;
|
package/dist/index77.mjs
CHANGED
package/dist/index78.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const G=require("react/jsx-runtime"),n=require("react"),a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const G=require("react/jsx-runtime"),n=require("react"),a=require("./index159.cjs"),j=n.createContext(null);function q(){const t=n.useContext(j);if(!t)throw new Error("ToggleGroup.Item must be used within a ToggleGroup");return t}const A=n.forwardRef(({value:t,disabled:c,className:y,children:g,...d},f)=>{const{type:I,value:b,onItemToggle:x,variant:h,size:s,disabled:p}=q(),m=b.includes(t),T=c||p,u=[a.default.item,m&&a.default.itemPressed,y].filter(Boolean).join(" ");return G.jsx("button",{ref:f,type:"button",className:u,"aria-pressed":m,disabled:T,onClick:()=>x(t),...d,children:g})});A.displayName="ToggleGroup.Item";const R=n.forwardRef(({type:t,value:c,defaultValue:y,onValueChange:g,variant:d="default",size:f="md",disabled:I=!1,className:b,children:x,...h},s)=>{const p=e=>e===void 0?[]:Array.isArray(e)?e:[e],[m,T]=n.useState(p(y)),u=c!==void 0,i=u?p(c):m,k=n.useRef(null),C=n.useCallback(e=>{let o;i.includes(e)?o=i.filter(r=>r!==e):t==="multiple"?o=[...i,e]:o=[e],u||T(o),g?.(t==="single"?o[0]??"":o)},[i,t,u,g]),v=n.useCallback(e=>{const o=k.current;if(!o)return;const r=Array.from(o.querySelectorAll("button:not(:disabled)")),w=r.indexOf(e.target);if(w===-1)return;let l;e.key==="ArrowRight"||e.key==="ArrowDown"?l=(w+1)%r.length:e.key==="ArrowLeft"||e.key==="ArrowUp"?l=(w-1+r.length)%r.length:e.key==="Home"?l=0:e.key==="End"&&(l=r.length-1),l!==void 0&&(e.preventDefault(),r[l]?.focus())},[]),D=[a.default.group,a.default[d],a.default[f],b].filter(Boolean).join(" "),N={type:t,value:i,onItemToggle:C,variant:d,size:f,disabled:I};return G.jsx(j.Provider,{value:N,children:G.jsx("div",{ref:e=>{k.current=e,typeof s=="function"?s(e):s&&(s.current=e)},role:"group",className:D,onKeyDown:v,...h,children:x})})});R.displayName="ToggleGroup";const P=Object.assign(R,{Item:A});exports.ToggleGroup=P;
|
package/dist/index78.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as w } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as A, useState as _, useRef as z, useCallback as k, createContext as B, useContext as E } from "react";
|
|
3
|
-
import u from "./
|
|
3
|
+
import u from "./index159.mjs";
|
|
4
4
|
const C = B(null);
|
|
5
5
|
function K() {
|
|
6
6
|
const t = E(C);
|
package/dist/index79.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),t=require("react"),o=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),t=require("react"),o=require("./index167.cjs"),r=({content:u,placement:a="top",delay:c=200,disabled:s=!1,children:l,className:f})=>{const[d,e]=t.useState(!1),n=t.useRef(void 0),m=()=>{s||(n.current=setTimeout(()=>{e(!0)},c))},p=()=>{n.current&&clearTimeout(n.current),e(!1)},v=()=>{s||e(!0)},T=()=>{e(!1)},j=[o.default.tooltip,o.default[a],f].filter(Boolean).join(" "),h=t.isValidElement(l)?t.cloneElement(l,{onMouseEnter:m,onMouseLeave:p,onFocus:v,onBlur:T}):l;return i.jsxs("div",{className:o.default.container,children:[h,d&&!s&&i.jsxs("div",{className:j,role:"tooltip",children:[u,i.jsx("div",{className:o.default.arrow})]})]})};r.displayName="Tooltip";exports.Tooltip=r;
|
package/dist/index79.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, jsx as E } from "react/jsx-runtime";
|
|
2
2
|
import { useState as M, useRef as N, isValidElement as T, cloneElement as j } from "react";
|
|
3
|
-
import o from "./
|
|
3
|
+
import o from "./index167.mjs";
|
|
4
4
|
const x = ({
|
|
5
5
|
content: r,
|
|
6
6
|
placement: i = "top",
|
package/dist/index8.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),l=require("lucide-react"),s=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),l=require("lucide-react"),s=require("./index106.cjs"),b={success:e.jsx(l.CheckCircle,{size:20}),error:e.jsx(l.XCircle,{size:20}),warning:e.jsx(l.AlertTriangle,{size:20}),info:e.jsx(l.Info,{size:20})},u=({variant:t="info",title:a,dismissible:d=!1,onClose:f,icon:i,className:n,children:o,...j})=>{const[m,x]=r.useState(!0),h=()=>{x(!1),f?.()},N=r.useMemo(()=>[s.default.alert,s.default[t],n].filter(Boolean).join(" "),[t,n]),c=r.useMemo(()=>i!==void 0?i:b[t],[i,t]);return m?e.jsxs("div",{className:N,role:"alert",...j,children:[c&&e.jsx("div",{className:s.default.icon,"aria-hidden":"true",children:c}),e.jsxs("div",{className:s.default.content,children:[a&&e.jsx("div",{className:s.default.title,children:a}),o&&e.jsx("div",{className:s.default.message,children:o})]}),d&&e.jsx("button",{type:"button",className:s.default.closeButton,onClick:h,"aria-label":"Close alert",children:e.jsx(l.X,{size:18,"aria-hidden":"true"})})]}):null};u.displayName="Alert";exports.Alert=u;
|
package/dist/index8.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as C, useMemo as c } from "react";
|
|
3
3
|
import { X as b, Info as z, AlertTriangle as y, XCircle as A, CheckCircle as I } from "lucide-react";
|
|
4
|
-
import s from "./
|
|
4
|
+
import s from "./index106.mjs";
|
|
5
5
|
const g = {
|
|
6
6
|
success: /* @__PURE__ */ e(I, { size: 20 }),
|
|
7
7
|
error: /* @__PURE__ */ e(A, { size: 20 }),
|
package/dist/index80.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),c=require("react"),S=require("lucide-react"),e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),c=require("react"),S=require("lucide-react"),e=require("./index146.cjs"),L={online:"var(--text-success)",away:"var(--text-warning)",busy:"var(--text-error)",offline:"var(--text-tertiary)"},x=c.forwardRef(({user:n,sections:f,open:o,onOpenChange:v,trigger:m,align:g="end",placement:N="bottom",showHeader:b=!0,compact:h=!1,fullWidth:C=!1,className:w,...y},I)=>{const[k,E]=c.useState(!1),u=c.useRef(null),i=c.useRef(null),l=o!==void 0?o:k,d=t=>{o===void 0&&E(t),v?.(t)};c.useEffect(()=>{const t=r=>{u.current&&!u.current.contains(r.target)&&i.current&&!i.current.contains(r.target)&&d(!1)};if(l)return document.addEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)},[l]),c.useEffect(()=>{const t=r=>{r.key==="Escape"&&l&&(d(!1),i.current?.focus())};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[l]);const R=t=>{t.disabled||(t.onClick?.(),d(!1))},p=t=>t.split(" ").map(r=>r[0]).join("").toUpperCase().slice(0,2),M=[e.default.userMenu,C&&e.default.userMenuFullWidth,w].filter(Boolean).join(" "),B=[e.default.trigger,h&&e.default.triggerCompact].filter(Boolean).join(" "),O=[e.default.dropdown,l&&e.default.dropdownOpen,g==="start"&&e.default.dropdownStart,N==="top"&&e.default.dropdownTop].filter(Boolean).join(" ");return a.jsxs("div",{ref:I,className:M,...y,children:[m?a.jsx("div",{onClick:()=>d(!l),children:m}):a.jsxs("button",{ref:i,type:"button",className:B,onClick:()=>d(!l),"aria-expanded":l,"aria-haspopup":"true",children:[a.jsxs("div",{className:e.default.avatar,children:[n.avatar?a.jsx("img",{src:n.avatar,alt:n.name,className:e.default.avatarImage}):a.jsx("span",{className:e.default.avatarInitials,children:n.initials||p(n.name)}),n.status&&a.jsx("span",{className:e.default.statusIndicator,style:{backgroundColor:L[n.status]}})]}),!h&&a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:e.default.triggerInfo,children:[a.jsx("span",{className:e.default.triggerName,children:n.name}),n.role&&a.jsx("span",{className:e.default.triggerRole,children:n.role})]}),a.jsx(S.ChevronDown,{size:16,className:`${e.default.chevron} ${l?e.default.chevronOpen:""}`})]})]}),a.jsxs("div",{ref:u,className:O,role:"menu",children:[b&&a.jsxs("div",{className:e.default.header,children:[a.jsx("div",{className:e.default.headerAvatar,children:n.avatar?a.jsx("img",{src:n.avatar,alt:n.name,className:e.default.avatarImage}):a.jsx("span",{className:e.default.avatarInitials,children:n.initials||p(n.name)})}),a.jsxs("div",{className:e.default.headerInfo,children:[a.jsx("span",{className:e.default.headerName,children:n.name}),n.email&&a.jsx("span",{className:e.default.headerEmail,children:n.email})]})]}),f.map((t,r)=>a.jsxs("div",{className:e.default.section,children:[t.label&&a.jsx("div",{className:e.default.sectionLabel,children:t.label}),t.items.map(s=>{const j=[e.default.item,s.danger&&e.default.itemDanger,s.disabled&&e.default.itemDisabled].filter(Boolean).join(" ");return s.href&&!s.disabled?a.jsxs("a",{href:s.href,className:j,role:"menuitem",onClick:()=>d(!1),children:[s.icon&&a.jsx("span",{className:e.default.itemIcon,children:s.icon}),a.jsx("span",{children:s.label}),s.badge!==void 0&&a.jsx("span",{className:e.default.itemBadge,children:s.badge}),s.shortcut&&a.jsx("span",{className:e.default.itemShortcut,children:s.shortcut})]},s.id):a.jsxs("button",{type:"button",className:j,role:"menuitem",disabled:s.disabled,onClick:()=>R(s),children:[s.icon&&a.jsx("span",{className:e.default.itemIcon,children:s.icon}),a.jsx("span",{children:s.label}),s.badge!==void 0&&a.jsx("span",{className:e.default.itemBadge,children:s.badge}),s.shortcut&&a.jsx("span",{className:e.default.itemShortcut,children:s.shortcut})]},s.id)}),r<f.length-1&&a.jsx("div",{className:e.default.divider})]},t.id))]})]})});x.displayName="UserMenu";exports.UserMenu=x;
|
package/dist/index80.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, jsx as n, Fragment as S } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as D, useState as U, useRef as N, useEffect as g } from "react";
|
|
3
3
|
import { ChevronDown as F } from "lucide-react";
|
|
4
|
-
import e from "./
|
|
4
|
+
import e from "./index146.mjs";
|
|
5
5
|
const $ = {
|
|
6
6
|
online: "var(--text-success)",
|
|
7
7
|
away: "var(--text-warning)",
|
package/dist/index81.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),i=require("lucide-react"),s=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),i=require("lucide-react"),s=require("./index121.cjs"),n=require("./index10.cjs"),B=require("./index11.cjs"),r=require("./index14.cjs"),k=require("./index33.cjs"),q=require("./index58.cjs"),l=c.forwardRef(({currentOrg:t,organizations:o,onSettings:d,onParticipants:u,onCreateOrganization:m,onOrgChange:j,fullWidth:v=!0,className:x,...h},f)=>{const[p,N]=c.useState(!1),g=e.jsxs("button",{className:s.default.trigger,children:[e.jsx(n.Avatar,{size:"xs",icon:e.jsx(i.Building2,{size:16})}),e.jsx("span",{className:s.default.triggerName,children:t.name}),e.jsx(i.ChevronDown,{size:16,className:`${s.default.chevron} ${p?s.default.chevronOpen:""}`})]}),z=e.jsxs("div",{className:s.default.content,children:[e.jsxs("div",{className:s.default.activeWorkspace,children:[e.jsx(n.Avatar,{size:"lg",icon:e.jsx(i.Building2,{size:20})}),e.jsx(B.Badge,{variant:"secondary",size:"sm",children:t.role}),e.jsxs("div",{children:[e.jsx("div",{className:s.default.orgName,children:t.name}),e.jsxs("div",{className:s.default.orgMeta,children:[t.memberCount," participantes"]})]})]}),e.jsxs("div",{className:s.default.actionButtons,children:[e.jsx(r.Button,{variant:"secondary",size:"sm",icon:e.jsx(i.Settings,{size:16}),onClick:d,children:"Configuración"}),e.jsx(r.Button,{variant:"secondary",size:"sm",icon:e.jsx(i.Users,{size:16}),onClick:u,children:"Participantes"})]}),e.jsx("div",{className:s.default.dividerWrapper,children:e.jsx(k.Divider,{})}),e.jsx("div",{className:s.default.sectionLabel,children:"Otras organizaciones"}),e.jsx("div",{className:s.default.orgList,children:o.map(a=>e.jsxs("div",{className:s.default.orgItem,onClick:()=>j?.(a.name),children:[e.jsx(n.Avatar,{size:"xs",initials:a.name.slice(0,2).toUpperCase()}),e.jsxs("div",{children:[e.jsx("div",{className:s.default.orgItemName,children:a.name}),e.jsx("div",{className:s.default.orgItemRole,children:a.role})]})]},a.name))}),e.jsx(r.Button,{variant:"ghost",size:"sm",icon:e.jsx(i.Plus,{size:16}),fullWidth:!0,onClick:m,children:"Nueva organización"})]});return e.jsx("div",{ref:f,className:[x].filter(Boolean).join(" ")||void 0,...h,children:e.jsx(q.Popover,{trigger:g,content:z,onOpenChange:N,placement:"bottom-start",showArrow:!1,fullWidth:v})})});l.displayName="WorkspaceSwitcher";exports.WorkspaceSwitcher=l;
|
package/dist/index81.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as k, useState as w } from "react";
|
|
3
3
|
import { Building2 as c, ChevronDown as x, Settings as y, Users as B, Plus as W } from "lucide-react";
|
|
4
|
-
import i from "./
|
|
4
|
+
import i from "./index121.mjs";
|
|
5
5
|
import { Avatar as n } from "./index10.mjs";
|
|
6
6
|
import { Badge as b } from "./index11.mjs";
|
|
7
7
|
import { Button as o } from "./index14.mjs";
|
package/dist/index9.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),n=require("react"),I=require("react-dom"),d=require("lucide-react"),o=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),n=require("react"),I=require("react-dom"),d=require("lucide-react"),o=require("./index143.cjs"),g=n.createContext(null);function m(){return n.useContext(g)}const b={info:l.jsx(d.Info,{size:24}),warning:l.jsx(d.AlertTriangle,{size:24}),danger:l.jsx(d.AlertCircle,{size:24})},r=({open:e,onClose:t,closeOnBackdrop:i=!1,closeOnEscape:a=!1,children:c,className:x})=>{const u=n.useId(),f=n.useId();if(n.useEffect(()=>{if(!e||!a)return;const s=p=>{p.key==="Escape"&&t()};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[e,a,t]),n.useEffect(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e]),!e)return null;const N=[o.default.dialog,x].filter(Boolean).join(" "),v=s=>{i&&s.target===s.currentTarget&&t()};return I.createPortal(l.jsx(g.Provider,{value:{titleId:u,descriptionId:f},children:l.jsx("div",{className:o.default.backdrop,onClick:v,role:"alertdialog","aria-modal":"true","aria-labelledby":u,"aria-describedby":f,children:l.jsx("div",{className:N,children:c})})}),document.body)},A=({variant:e="info",icon:t,className:i})=>{const a={info:o.default.iconInfo,warning:o.default.iconWarning,danger:o.default.iconDanger}[e],c=[o.default.icon,a,i].filter(Boolean).join(" ");return l.jsx("div",{className:c,"aria-hidden":"true",children:t||b[e]})},D=({className:e,children:t})=>{const i=m(),a=[o.default.title,e].filter(Boolean).join(" ");return l.jsx("h2",{id:i?.titleId,className:a,children:t})},y=({className:e,children:t})=>{const i=m(),a=[o.default.description,e].filter(Boolean).join(" ");return l.jsx("p",{id:i?.descriptionId,className:a,children:t})},j=({className:e,children:t})=>{const i=[o.default.actions,e].filter(Boolean).join(" ");return l.jsx("div",{className:i,children:t})};r.Icon=A;r.Title=D;r.Description=y;r.Actions=j;r.displayName="AlertDialog";A.displayName="AlertDialog.Icon";D.displayName="AlertDialog.Title";y.displayName="AlertDialog.Description";j.displayName="AlertDialog.Actions";exports.AlertDialog=r;
|
package/dist/index9.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { useId as m, useEffect as f, createContext as h, useContext as x } from "react";
|
|
3
3
|
import { createPortal as C } from "react-dom";
|
|
4
4
|
import { AlertCircle as k, AlertTriangle as w, Info as j } from "lucide-react";
|
|
5
|
-
import n from "./
|
|
5
|
+
import n from "./index143.mjs";
|
|
6
6
|
const u = h(null);
|
|
7
7
|
function g() {
|
|
8
8
|
return x(u);
|
package/dist/index99.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c="_icon_3txcc_9",r="_xs_3txcc_29",s="_sm_3txcc_34",t="_md_3txcc_39",_="_lg_3txcc_44",n="_xl_3txcc_49",e="_current_3txcc_58",o="_primary_3txcc_62",i="_secondary_3txcc_66",a="_tertiary_3txcc_70",x="_brand_3txcc_74",d="_success_3txcc_78",l="_warning_3txcc_82",u="_error_3txcc_86",y="_info_3txcc_90",m="_inverse_3txcc_94",b="_disabled_3txcc_102",g={icon:c,xs:r,sm:s,md:t,lg:_,xl:n,current:e,primary:o,secondary:i,tertiary:a,brand:x,success:d,warning:l,error:u,info:y,inverse:m,disabled:b};exports.brand=x;exports.current=e;exports.default=g;exports.disabled=b;exports.error=u;exports.icon=c;exports.info=y;exports.inverse=m;exports.lg=_;exports.md=t;exports.primary=o;exports.secondary=i;exports.sm=s;exports.success=d;exports.tertiary=a;exports.warning=l;exports.xl=n;exports.xs=r;
|
package/dist/index99.mjs
CHANGED
|
@@ -1,19 +1,39 @@
|
|
|
1
|
-
const _ = "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
const c = "_icon_3txcc_9", _ = "_xs_3txcc_29", t = "_sm_3txcc_34", s = "_md_3txcc_39", n = "_lg_3txcc_44", r = "_xl_3txcc_49", o = "_current_3txcc_58", e = "_primary_3txcc_62", x = "_secondary_3txcc_66", i = "_tertiary_3txcc_70", a = "_brand_3txcc_74", d = "_success_3txcc_78", l = "_warning_3txcc_82", y = "_error_3txcc_86", m = "_info_3txcc_90", u = "_inverse_3txcc_94", b = "_disabled_3txcc_102", g = {
|
|
2
|
+
icon: c,
|
|
3
|
+
xs: _,
|
|
4
|
+
sm: t,
|
|
5
|
+
md: s,
|
|
6
|
+
lg: n,
|
|
7
|
+
xl: r,
|
|
8
|
+
current: o,
|
|
9
|
+
primary: e,
|
|
10
|
+
secondary: x,
|
|
11
|
+
tertiary: i,
|
|
12
|
+
brand: a,
|
|
13
|
+
success: d,
|
|
14
|
+
warning: l,
|
|
15
|
+
error: y,
|
|
16
|
+
info: m,
|
|
17
|
+
inverse: u,
|
|
18
|
+
disabled: b
|
|
9
19
|
};
|
|
10
20
|
export {
|
|
21
|
+
a as brand,
|
|
22
|
+
o as current,
|
|
11
23
|
g as default,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
24
|
+
b as disabled,
|
|
25
|
+
y as error,
|
|
26
|
+
c as icon,
|
|
27
|
+
m as info,
|
|
28
|
+
u as inverse,
|
|
29
|
+
n as lg,
|
|
30
|
+
s as md,
|
|
31
|
+
e as primary,
|
|
32
|
+
x as secondary,
|
|
33
|
+
t as sm,
|
|
34
|
+
d as success,
|
|
35
|
+
i as tertiary,
|
|
36
|
+
l as warning,
|
|
37
|
+
r as xl,
|
|
38
|
+
_ as xs
|
|
19
39
|
};
|
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAIA,OAAO,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/sections/Container/Container.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,eAAO,MAAM,SAAS,2GA4BrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._container_1l2wi_8{width:100%}._centered_1l2wi_13{margin-left:auto;margin-right:auto}._padded_1l2wi_19{padding-left:var(--spacing-6);padding-right:var(--spacing-6)}._sm_1l2wi_28{max-width:640px}._md_1l2wi_32{max-width:768px}._lg_1l2wi_36{max-width:1024px}._xl_1l2wi_40{max-width:1280px}._full_1l2wi_44{max-width:100%}@media(max-width:640px){._padded_1l2wi_19{padding-left:var(--spacing-4);padding-right:var(--spacing-4)}}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Container.types').ContainerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
size: {
|
|
12
|
+
control: "select";
|
|
13
|
+
options: string[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
export declare const Default: Story;
|
|
20
|
+
export declare const Small: Story;
|
|
21
|
+
export declare const Medium: Story;
|
|
22
|
+
export declare const Large: Story;
|
|
23
|
+
export declare const ExtraLarge: Story;
|
|
24
|
+
export declare const FullWidth: Story;
|
|
25
|
+
export declare const WithPadding: Story;
|
|
26
|
+
export declare const NoPadding: Story;
|
|
27
|
+
export declare const Centered: Story;
|
|
28
|
+
export declare const NotCentered: Story;
|
|
29
|
+
//# sourceMappingURL=Container.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Container.stories.d.ts","sourceRoot":"","sources":["../../../src/sections/Container/Container.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;CAawB,CAAC;AAEnC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAiBnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAWtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAWzB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Container size variants
|
|
5
|
+
*/
|
|
6
|
+
export type ContainerSize = "sm" | "md" | "lg" | "xl" | "full";
|
|
7
|
+
/**
|
|
8
|
+
* Container component props
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <Container size="lg">
|
|
13
|
+
* <Content />
|
|
14
|
+
* </Container>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
18
|
+
/**
|
|
19
|
+
* Maximum width variant
|
|
20
|
+
* - sm: 640px (small content, text-focused)
|
|
21
|
+
* - md: 768px (medium content)
|
|
22
|
+
* - lg: 1024px (standard layouts)
|
|
23
|
+
* - xl: 1280px (wide layouts)
|
|
24
|
+
* - full: 100% (full width)
|
|
25
|
+
* @default 'lg'
|
|
26
|
+
*/
|
|
27
|
+
size?: ContainerSize;
|
|
28
|
+
/**
|
|
29
|
+
* Center the container horizontally
|
|
30
|
+
* @default true
|
|
31
|
+
*/
|
|
32
|
+
centered?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Add horizontal padding
|
|
35
|
+
* @default true
|
|
36
|
+
*/
|
|
37
|
+
padded?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Container content
|
|
40
|
+
*/
|
|
41
|
+
children?: ReactNode;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=Container.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Container.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Container/Container.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAE/D;;;;;;;;;GASG;AACH,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Container/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/sections/Section/Section.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAGpD,eAAO,MAAM,OAAO,sGAmCnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._section_f5l02_8{width:100%;position:relative}._spacing-none_f5l02_17{padding-top:0;padding-bottom:0}._spacing-sm_f5l02_22{padding-top:var(--spacing-8);padding-bottom:var(--spacing-8)}._spacing-md_f5l02_27{padding-top:var(--spacing-16);padding-bottom:var(--spacing-16)}._spacing-lg_f5l02_32{padding-top:var(--spacing-24);padding-bottom:var(--spacing-24)}._spacing-xl_f5l02_37{padding-top:var(--spacing-32);padding-bottom:var(--spacing-32)}._bg-none_f5l02_46{background:transparent}._bg-base_f5l02_50{background:var(--surface-base)}._bg-subtle_f5l02_54{background:var(--surface-subtle)}._bg-sunken_f5l02_58{background:var(--surface-sunken)}._bg-brand_f5l02_62{background:var(--interactive-primary);color:var(--interactive-primary-text)}._borderTop_f5l02_71{border-top:1px solid var(--border-subtle)}._borderBottom_f5l02_75{border-bottom:1px solid var(--border-subtle)}@media(max-width:768px){._spacing-lg_f5l02_32{padding-top:var(--spacing-16);padding-bottom:var(--spacing-16)}._spacing-xl_f5l02_37{padding-top:var(--spacing-24);padding-bottom:var(--spacing-24)}}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Section.types').SectionProps & import('react').RefAttributes<HTMLElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
background: {
|
|
12
|
+
control: "select";
|
|
13
|
+
options: string[];
|
|
14
|
+
};
|
|
15
|
+
spacing: {
|
|
16
|
+
control: "select";
|
|
17
|
+
options: string[];
|
|
18
|
+
};
|
|
19
|
+
as: {
|
|
20
|
+
control: "select";
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default meta;
|
|
26
|
+
type Story = StoryObj<typeof meta>;
|
|
27
|
+
export declare const Default: Story;
|
|
28
|
+
export declare const BaseBackground: Story;
|
|
29
|
+
export declare const SubtleBackground: Story;
|
|
30
|
+
export declare const SunkenBackground: Story;
|
|
31
|
+
export declare const BrandBackground: Story;
|
|
32
|
+
export declare const SmallSpacing: Story;
|
|
33
|
+
export declare const LargeSpacing: Story;
|
|
34
|
+
export declare const ExtraLargeSpacing: Story;
|
|
35
|
+
export declare const NoSpacing: Story;
|
|
36
|
+
export declare const WithTopBorder: Story;
|
|
37
|
+
export declare const WithBottomBorder: Story;
|
|
38
|
+
export declare const WithBothBorders: Story;
|
|
39
|
+
export declare const AsArticle: Story;
|
|
40
|
+
export declare const AsFooter: Story;
|
|
41
|
+
//# sourceMappingURL=Section.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Section.stories.d.ts","sourceRoot":"","sources":["../../../src/sections/Section/Section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;CAqBsB,CAAC;AAEjC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAYnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAK5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAK9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAK9B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAK7B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAK1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAK1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAK/B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAK9B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAM7B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAWtB,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Section spacing variants (vertical padding)
|
|
5
|
+
*/
|
|
6
|
+
export type SectionSpacing = "sm" | "md" | "lg" | "xl" | "none";
|
|
7
|
+
/**
|
|
8
|
+
* Section background variants
|
|
9
|
+
*/
|
|
10
|
+
export type SectionBackground = "base" | "subtle" | "sunken" | "brand" | "none";
|
|
11
|
+
/**
|
|
12
|
+
* Section component props
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <Section spacing="lg" background="subtle">
|
|
17
|
+
* <Container>
|
|
18
|
+
* <Content />
|
|
19
|
+
* </Container>
|
|
20
|
+
* </Section>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export interface SectionProps extends HTMLAttributes<HTMLElement> {
|
|
24
|
+
/**
|
|
25
|
+
* HTML element to render
|
|
26
|
+
* @default 'section'
|
|
27
|
+
*/
|
|
28
|
+
as?: "section" | "div" | "article" | "aside" | "header" | "footer";
|
|
29
|
+
/**
|
|
30
|
+
* Vertical spacing (padding)
|
|
31
|
+
* - none: 0
|
|
32
|
+
* - sm: spacing-8 (32px)
|
|
33
|
+
* - md: spacing-16 (64px)
|
|
34
|
+
* - lg: spacing-24 (96px)
|
|
35
|
+
* - xl: spacing-32 (128px)
|
|
36
|
+
* @default 'lg'
|
|
37
|
+
*/
|
|
38
|
+
spacing?: SectionSpacing;
|
|
39
|
+
/**
|
|
40
|
+
* Background style
|
|
41
|
+
* - base: surface-base (main background)
|
|
42
|
+
* - subtle: surface-subtle (gray background)
|
|
43
|
+
* - sunken: surface-sunken (recessed)
|
|
44
|
+
* - brand: interactive-primary (brand color)
|
|
45
|
+
* - none: transparent
|
|
46
|
+
* @default 'none'
|
|
47
|
+
*/
|
|
48
|
+
background?: SectionBackground;
|
|
49
|
+
/**
|
|
50
|
+
* Add top border
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
borderTop?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Add bottom border
|
|
56
|
+
* @default false
|
|
57
|
+
*/
|
|
58
|
+
borderBottom?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Section content
|
|
61
|
+
*/
|
|
62
|
+
children?: ReactNode;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=Section.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Section.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Section/Section.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAEhF;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,WAAW,CAAC;IAC/D;;;OAGG;IACH,EAAE,CAAC,EAAE,SAAS,GAAG,KAAK,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAEnE;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IAEzB;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAE/B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
|