Skip to content

v1.6.2

Choose a tag to compare

@dewasemadi dewasemadi released this 22 Aug 02:31
· 2 commits to master since this release
d232b97

Fixed & Improved

  • NPM Package Best Practices & Tree-Shaking:
    • Added "sideEffects": false to package.json to enable optimal tree-shaking for consumer bundlers (Vite, Webpack, Rollup).
    • Updated repository.url format to standard git+https://... specification.
    • Resolved all publint package validation checks (All good!).
  • Storage Tab Inline Editing & Event Propagation:
    • Fixed an issue where pressing Escape during inline Storage value editing mistakenly saved changes due to unmount blur events. Added an isHandled guard to distinguish between commit and cancel.
    • Added e.stopPropagation() on Escape and Enter keydown events inside Storage edit inputs, preventing the keydown event from bubbling up to window and unintentionally closing the main DevTools drawer overlay when cancelling an edit.
    • Added auto-selection (editInput.select()) on click-to-edit for seamless text replacement.
    • Added aria-label="Edit value for ${item.key}" accessibility attribute for screen readers.
  • Unit Test Coverage Expansion:
    • Added unit test coverage for Storage inline cell editing, verifying Escape key cancellation, storage immutability on cancel, and stopPropagation keydown event assertion in storage-tab.test.ts.