Module Metadata & Event Tracking for Adapters
Description
Add showMetadata and eventCallback to adapter-svelte and adapter-web to handle function callbacks and ID handling for crafter. Added visual support to crafter to see selected elements in the preview and synced that with the component tree.
Definition of Done
Changeset
-
I have added a changeset for this change
Testing
-
I have tested this change locally -
I have added tests that prove my feature works -
All existing tests pass -
I have run pnpm lintandpnpm check
Performance & Usability
-
User experience is responsive
Accessibility
-
Focus states are clearly visible -
Fully navigable with keyboard only -
Color contrast meets WCAG standards
Checklist
-
I have performed a self-review of my own code -
I have commented my code, particularly in hard-to-understand areas -
I have made corresponding changes to the documentation -
My changes generate no new warnings -
New and existing unit tests pass locally with my changes