Skip to content

Latest commit

 

History

History
741 lines (407 loc) · 26.1 KB

File metadata and controls

741 lines (407 loc) · 26.1 KB

Changelog

v0.7.9

compare changes

🩹 Fixes

  • core: Safely attempt to use query selector (e9700f8)

🏡 Chore

❤️ Contributors

v0.7.8

compare changes

🏡 Chore

❤️ Contributors

v0.7.7

compare changes

🚀 Enhancements

  • core: Add ability to watch state changes (843d825)
  • vue: Return reactive adhesive state from composable (578663c)
  • react: Return reactive adhesive state from hook (aacb88c)
  • vue: Emit state changes in adhesive component and expose on instance (5732a52)
  • react: Add on state change handler to adhesive component (6fe798f)

🩹 Fixes

  • core: Init state change option (a226c2e)
  • core: Ensure initial state is filled (e6b2a75)

💅 Refactors

  • core: Only expose adhesive status (aabd26e)
  • Callback only on status change (93cdae9)

🏡 Chore

✅ Tests

  • Fix resize observer mocking (2a1f2a7)
  • Update core module mocks (88ea56d)

❤️ Contributors

v0.7.6

compare changes

🚀 Enhancements

  • Allow passing string as z-index for css computed property support (a7dd473)
  • core: Update default z-index value to use computed property with fallback (58c4acf)

❤️ Contributors

v0.7.5

compare changes

🚀 Enhancements

  • core: Add data attr for adhesive status (91e993e)

🏡 Chore

❤️ Contributors

v0.7.4

compare changes

📖 Documentation

  • vue: Update bounding el description (03d0575)

🏡 Chore

  • Add publish config to each package (5beb987)

❤️ Contributors

v0.7.3

compare changes

📖 Documentation

  • vue: Remove bounding ref from options reference (0552b35)

🏡 Chore

🤖 CI

  • Drop frozen lockfile flag as already enabled in ci (9478580)
  • Support trusted publishing (5f9416d)

❤️ Contributors

v0.7.2

compare changes

📖 Documentation

  • Formatting (ce8f463)
  • svelte: Expand on svelte examples and api reference (f5b9dda)

🏡 Chore

❤️ Contributors

v0.7.1

compare changes

🚀 Enhancements

  • svelte: Add svelte adapter with attachment (c5cebba)

🩹 Fixes

  • vue: Ensure adhesive direction options are partially required (697c29a)

📖 Documentation

  • Update example headings and use getter function for vue options (ddf7b1d)
  • svelte: Add jsdoc for adhesive attachment (8d183ea)
  • svelte: Update examples in readme (23e4047)
  • Update playground scripts (27ef2c7)

🏡 Chore

  • vue: Remove unused bounding ref type omission (f953ea5)
  • Ensure eslint config and excluded from jsr dist (0542cb4)
  • vue: Use bounding el from spread options (90259f6)
  • svelte: Export adhesive attachment options (ded8205)

✅ Tests

  • svelte: Add basic test suite (f45d74d)

❤️ Contributors

v0.7.0

compare changes

🚀 Enhancements

  • core: Support dynamically updating bounding element for improved hmr (ef975b3)
  • vue: Support hmr updates for adhesive elements (570a42d)
  • react: Support hmr updates for adhesive elements (c89680e)

🔥 Performance

  • react: Memoize options in useAdhesive hook (03f9ff8)

💅 Refactors

  • vue: ⚠️ Limit target usage be strictly ref objects and drop `boundingRef`` (75d10e7)
  • react: ⚠️ Enforce ref object usage (f7d9584)

🏡 Chore

🤖 CI

  • Enable provenance for npm publishing (fa8caa2)

⚠️ Breaking Changes

  • vue: ⚠️ Limit target usage be strictly ref objects and drop `boundingRef`` (75d10e7)
  • react: ⚠️ Enforce ref object usage (f7d9584)

❤️ Contributors

v0.6.2

compare changes

🚀 Enhancements

  • core: Add public method to replace options with defaults fallback (00d6fd0)

🩹 Fixes

  • core: Support multiple classes (3718cdb)
  • core: Rerender class names for hmr support (ee1d2ca)
  • Use replace options method for improved hmr support (0739693)

✅ Tests

  • Remove explicit vitest imports (e45b406)

❤️ Contributors

v0.6.1

compare changes

🩹 Fixes

  • core: Ensure z-index is still set in relative position (abe4323)

❤️ Contributors

v0.6.0

compare changes

🚀 Enhancements

  • Add initial class name option (00fcfdb)

🩹 Fixes

  • core: Ensure previously set classes are removed (4aac5fa)

💅 Refactors

  • ⚠️ Rename state based class options (8bb4c44)

⚠️ Breaking Changes

  • ⚠️ Rename state based class options (8bb4c44)

❤️ Contributors

v0.5.0

compare changes

💅 Refactors

  • core: ⚠️ Drastically simplify adhesive class and export positions (ec60cda)

📖 Documentation

  • Add back jsdoc for jsr publishing (bf8806d)

🏡 Chore

  • core: Update variable names and usage for readability (59b1e70)
  • Use typescript for eslint configs (cf8f388)

✅ Tests

⚠️ Breaking Changes

  • core: ⚠️ Drastically simplify adhesive class and export positions (ec60cda)

❤️ Contributors

v0.4.0

compare changes

🩹 Fixes

  • core: ⚠️ Improve dimension updates and rename manual refresh method (f5b15df)
  • core: Ensure inner width is update based on outer width (0c45136)

💅 Refactors

  • core: ⚠️ Clean up adhesive instance and simplify error constructor (2a6b5b0)
  • core: ⚠️ Simplify state size updates and make names more clear (fec2418)

⚠️ Breaking Changes

  • core: ⚠️ Improve dimension updates and rename manual refresh method (f5b15df)
  • core: ⚠️ Clean up adhesive instance and simplify error constructor (2a6b5b0)
  • core: ⚠️ Simplify state size updates and make names more clear (fec2418)

❤️ Contributors

v0.3.4

compare changes

🔥 Performance

  • core: Optimize resize observer event handler (dd563f0)

🩹 Fixes

  • core: Remove warning when initializing a disabled instance (80e9423)
  • core: Prevent raf memory leaks (0e52dcd)

❤️ Contributors

v0.3.3

compare changes

🩹 Fixes

  • Support enabling and instance that starts disabled (a412f90)

💅 Refactors

  • core: Reduce bundle size and lower complexity (f0872a7)

✅ Tests

  • Alias packages to not require building (1fd1adc)

❤️ Contributors

v0.3.2

compare changes

🩹 Fixes

  • core: Handle frozen option updates (b07bfdb)

📖 Documentation

  • Update performance bullet (c3f088e)

🏡 Chore

✅ Tests

  • Use present voice in test descriptions (20670bd)

❤️ Contributors

v0.3.1

compare changes

🩹 Fixes

  • Remove global type augmenting (af84c3f)

📖 Documentation

  • Update local directive usage example (a6afce6)
  • Update example component names (f115a6c)

🏡 Chore

  • Validate jsr publishing (316c7c4)

🤖 CI

  • Remove custom name for git config step (9ac89c6)

❤️ Contributors

v0.3.0

compare changes

🚀 Enhancements

  • Add support for vue directive (989d5d8)

💅 Refactors

  • Simplify vue element unwrapping (c7ea4df)
  • Improve type safety for runtime prop definitions (8bebb4a)
  • Improve ref element unwrapping (794aed8)
  • ⚠️ Drop bounding ref usage in vue component (9b4776c)

🏡 Chore

  • Split release prepare step to dedicated script (e56e271)
  • Remove debug test (431a403)
  • Only include dom types in packages (d20d526)
  • Reorder exports (6fe5222)
  • Update vscode settings (1e6b491)

⚠️ Breaking Changes

  • ⚠️ Drop bounding ref usage in vue component (9b4776c)

❤️ Contributors

v0.2.4

compare changes

🚀 Enhancements

  • Gracefully handle server side rendering (f29e56b)

💅 Refactors

  • Simplify hook and composable implementations (7f040b0)

📖 Documentation

  • Update project readme (09df144)
  • Update simple init examples (465b224)

🏡 Chore

✅ Tests

  • Add specs to validate update options (61899bc)

❤️ Contributors

v0.2.3

compare changes

💅 Refactors

📖 Documentation

🏡 Chore

❤️ Contributors

v0.2.2

compare changes

💅 Refactors

  • Author vue component in pure typescript (ef5a88e)

🏡 Chore

❤️ Contributors

v0.2.1

compare changes

💅 Refactors

  • Rename init options function (bfd6ca2)

📖 Documentation

  • Add download count to root readme (5907f4e)

🏡 Chore

❤️ Contributors

v0.2.0

compare changes

🚀 Enhancements

  • Export core modules and types from integrations (4942f12)
  • Add special prop for passing refs to integrations (bfa3069)

🩹 Fixes

  • Set active to false on cleanup (49574e9)
  • Ensure adhesive errors always have context (cea57b9)

💅 Refactors

  • ⚠️ Clean up adhesive class and remove pointless element generics (938351b)
  • ⚠️ Update integration usage to pass target as first param (aec635a)

📖 Documentation

  • Simplify examples (333f27f)
  • Display npm downloads (b88fe32)
  • Add quick links to npm packages and install commands (a4b7cd7)
  • Fix examples (aafb1bf)

🏡 Chore

✅ Tests

⚠️ Breaking Changes

  • ⚠️ Clean up adhesive class and remove pointless element generics (938351b)
  • ⚠️ Update integration usage to pass target as first param (aec635a)

❤️ Contributors

v0.1.1

compare changes

🚀 Enhancements

  • Support updating width on resize (0d96edf)

❤️ Contributors

v0.1.0

compare changes

🩹 Fixes

  • Be explicit about when to update options and memoize (0188f38)
  • Support updating options in-place (6d5f192)

💅 Refactors

  • Simplify wrapper class names (5555bf3)
  • ⚠️ Rename template refs to elements (9bfa91b)

🏡 Chore

✅ Tests

  • Add dynamic position to playgrounds (ea21637)

⚠️ Breaking Changes

  • ⚠️ Rename template refs to elements (9bfa91b)

❤️ Contributors

v0.0.6

compare changes

🚀 Enhancements

  • Support inner class name (d982f3d)
  • Update default zindex value (93d389d)

🩹 Fixes

  • Apply outer and inner classes on init (23d3afd)
  • Drop name from class props for vue (870d582)

📖 Documentation

❤️ Contributors

v0.0.5

compare changes

🚀 Enhancements

  • Support bounding el prop on components (aaf89a3)

🏡 Chore

  • Avoid conflict with pnpm publish (1dd807f)
  • Limit distributed files (5343dc3)

❤️ Contributors

v0.0.4

compare changes

📖 Documentation

🏡 Chore

  • Use pnpm directly to publish (3b57ed3)

❤️ Contributors

v0.0.3

compare changes

📖 Documentation

  • Use matching badge color (82f1d70)

🤖 CI

  • Add id write permission (3c75ed4)

❤️ Contributors

v0.0.2

compare changes

📖 Documentation

🤖 CI

  • Enable automated releases (9a71972)
  • Release config updates (150818e)

❤️ Contributors

v0.0.1

🏡 Chore

❤️ Contributors