* refactor(Mermaid): enhance dialog UI with close button and improved styling
* refactor(Mermaid): add dialog copy functionality and improve button styling
- Introduced state management for dialog copy status with visual feedback.
- Enhanced button styles for better usability and consistency across the component.
- Updated dialog content styling for improved visual hierarchy.
* feat: Add MermaidErrorBoundary for handling rendering errors in Mermaid diagrams
* feat: Implement FloatingCodeBar for enhanced code block interaction and copy functionality
* feat: Add zoom-level bar copy functionality to Mermaid component
* feat: Enhance button styles in FloatingCodeBar and RunCode components for improved user interaction
* refactor: copy button rendering in CodeBar and FloatingCodeBar for improved accessibility and clarity
* chore: linting
* chore: import order
* chore: add mermaid, swr, ts-md5 packages
* WIP: first pass, inline mermaid
* feat: Enhance Mermaid component with zoom, pan, and error handling features
* feat: Update Mermaid component styles for improved UI consistency
* feat: Improve Mermaid rendering with enhanced debouncing and error handling
* refactor: Update Mermaid component styles and enhance error handling in useMermaid hook
* feat: Enhance security settings in useMermaid configuration to prevent DoS attacks
* feat: Add dialog for expanded Mermaid view with zoom and pan controls
* feat: Implement auto-scroll for streaming code in Mermaid component
* feat: Replace loading spinner with reusable Spinner component in Mermaid
* feat: Sanitize SVG output in useMermaid to enhance security
* feat: Enhance SVG sanitization in useMermaid to support additional elements for text rendering
* refactor: Enhance initial content check in useDebouncedMermaid for improved rendering logic
* feat: Refactor Mermaid component to use Button component and enhance focus management for code toggling and copying
* chore: remove unused key
* refactor: initial content check in useDebouncedMermaid to detect significant content changes