feat(sz-config-section): add header action buttons to sz-config-section allowing configurable actions/events

This commit is contained in:
2026-02-23 21:23:35 +00:00
parent 33a97b410e
commit 0f6bfe45aa
4 changed files with 61 additions and 2 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2026-02-23 - 2.5.0 - feat(sz-config-section)
add header action buttons to sz-config-section allowing configurable actions/events
- Introduce IConfigSectionAction interface (label, icon, event, detail).
- Add actions property to SzConfigSection and render header action buttons in the component template.
- Add styles for .header-action and hover state to match design system.
- Dispatch CustomEvent when an action is clicked, using action.event (defaults to 'action') and action.detail.
- Update demo (sz-demo-view-config) to include a sample 'View Routes' action showing usage.
## 2026-02-23 - 2.4.0 - feat(elements)
add configuration overview and section components with demo view and index exports