feat(components): Add reusable message input component, refactor element properties to use accessor, update styles and docs, bump dependencies

This commit is contained in:
2025-12-08 23:03:02 +00:00
parent 5f48ecf7af
commit 7731054f0e
20 changed files with 3956 additions and 4853 deletions

View File

@@ -1,5 +1,19 @@
# Changelog
## 2025-12-08 - 1.3.0 - feat(components)
Add reusable message input component, refactor element properties to use accessor, update styles and docs, bump dependencies
- Add new <sio-message-input> component (auto-resizing textarea, file picker, send/files events) and integrate it into sio-conversation-view
- Refactor multiple element class fields to use the 'accessor' property pattern (sio-button, sio-combox, sio-conversation-view, sio-dropdown-menu, sio-fab, sio-icon, sio-image-lightbox, sio-pdf-viewer, sio-recorder, etc.)
- Significant visual and UX updates to sio-button (new secondary variant, sizing, spacing, icon sizing, focus/disabled behavior)
- Move inline conversation input logic into the new component and simplify message handling (dispatch send-message event with text and attachments)
- Improve PDF viewer: safer async pdf.js loader, resize observer for responsive rendering, better error fallback and lifecycle cleanup
- Enhance image lightbox (PDF handling via sio-pdf-viewer, zoom/drag controls, keyboard shortcuts, download/open actions)
- Add icon caching and make lucide upgrade (cache limit, PascalCase lookup) to reduce re-renders
- Polish tokens/styles: spacing, radii, shadows, transitions and small responsive/layout tweaks (e.g. main page padding)
- Update README to reflect the public package name, components, quick start and development instructions
- Bump runtime and dev dependencies (dees-element/domtools/wcctools, lucide, git.zone tools, push.rocks smartenv/types) and adjust tsconfig (target/module settings simplified)
## 2025-04-20 - 1.2.4 - fix(build)
Update build script and async function signature