readme.md for @social.io/catalog A modern, beautifully designed UI component library for building conversational interfaces and support chat experiences. Built with Lit Element and TypeScript. Issue Reporting and Security For reporting bugs, issues, or security vulnerabilities, please visit community.foss.global/. This is the central community hub for all issue reporting. Developers who sign and comply with our contribution agreement and go through identification can also get a code.foss.global/ account to submit Pull Requests directly. 🎯 Features Complete Chat UI - Ready-to-use conversation components with message threads, typing indicators, and attachments Floating Action Button - Eye-catching FAB with smooth animations for triggering the chat interface PDF Viewer - Built-in PDF rendering with zoom, pagination, and download capabilities Image Lightbox - Full-featured lightbox with zoom, pan, and keyboard navigation Modern Design Tokens - Consistent styling with customizable colors, spacing, typography, and shadows Dark Mode Ready - Full light/dark theme support out of the box Accessibility - Keyboard navigation and proper ARIA attributes TypeScript First - Full type definitions for all components 📦 Installation npm install @social.io/catalog # or pnpm add @social.io/catalog 🚀 Quick Start import { SioFab, SioCombox } from '@social.io/catalog'; // Components auto-register as custom elements // Just use them in your HTML: 🧩 Components Core Components Component Description Floating action button with animated chat icon Complete chat interface with conversation list and message view Styled button with variants (primary, secondary, destructive, outline, ghost) Lucide icon wrapper with size and color customization Animated dropdown menu with keyboard support Conversation Components Component Description Searchable list of conversations with unread indicators Message thread with typing indicators and file attachments Auto-expanding textarea with file upload Media Components Component Description Fullscreen image viewer with zoom and pan PDF renderer with page navigation and zoom controls Utility Components Component Description Session recording using rrweb 💅 Styling & Theming The library uses CSS custom properties for theming. The design system includes: Colors - Primary, secondary, accent, destructive, muted, and semantic colors Typography - System font stack with size and weight variants Spacing - Consistent spacing scale (0.5rem increments) Radius - Border radius tokens from sm to full Shadows - Elevation system from sm to 2xl Transitions - Smooth animation presets Dark Mode Dark mode is automatically supported. The components use bdTheme() helper that switches between light and dark values: import { bdTheme } from '@social.io/catalog'; // Usage in styles css` background: ${bdTheme('hsl(0 0% 100%)', 'hsl(0 0% 10%)')}; ` 📖 Usage Examples Basic Chat FAB The FAB opens a complete chat interface when clicked. It includes: Keyboard shortcut (Ctrl+S) to toggle Smooth scale and pulse animations Gradient background with glow effects Custom Button Variants Submit Delete Cancel Image Lightbox const lightbox = document.querySelector('sio-image-lightbox'); lightbox.open({ url: 'https://example.com/photo.jpg', name: 'My Photo', size: 1024000 }); PDF Viewer Dropdown Menu console.log('Selected:', e.detail.item)} > 🔧 Development # Install dependencies pnpm install # Start development server with hot reload pnpm watch # Run tests pnpm test # Build for production pnpm build 📚 Dependencies @design.estate/dees-element - Lit Element base with utilities @design.estate/dees-domtools - DOM manipulation helpers lucide - Beautiful open-source icons rrweb - Session recording/replay (for recorder component) License and Legal Information This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the LICENSE file. Please note: The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file. Trademarks This project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH or third parties, and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines or the guidelines of the respective third-party owners, and any usage must be approved in writing. Third-party trademarks used herein are the property of their respective owners and used only in a descriptive manner, e.g. for an implementation of an API or similar. Company Information Task Venture Capital GmbH Registered at District Court Bremen HRB 35230 HB, Germany For any legal inquiries or further information, please contact us via email at hello@task.vc. By using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.