mojave

A library of commonly used JavaScript tools and helpers by Becklyn

BSD-3-CLAUSE License

Downloads
405
Stars
5
Committers
9

Bot releases are visible (Hide)

mojave -

Published by apfelbox over 4 years ago

✨ Improvements

  • Add mojaveIntegration.FetchClientInterface.

Commits

  • Merge pull request #272 from Becklyn/next f22bfff
  • Update browserstack config b8dba59
  • Add mojaveIntegration.FetchClientInterface 9b929f7

https://github.com/Becklyn/mojave/compare/5.13.0...5.13.1

mojave -

Published by apfelbox over 4 years ago

🎁 New Features

  • Add FetchClient.
  • Add AjaxResponse interface.
  • Add form-helpers.

✨ Improvements

  • Add several integration type interfaces.
  • Make Sortable events more strict.

Commits

  • Clean up changelog 937204e
  • Merge pull request #271 from Becklyn/next 84e5770
  • Update CI c96de7d
  • Modernize package.json 1a0c3e0
  • Add form-helpers 6531754
  • Make Sortable events more strict 43a0b3a
  • Rename method e9b0536
  • Merge pull request #270 from Becklyn/next 7fe3902
  • Clean up types cd3be95
  • Clean up types a767f72
  • Simplify implementation 805c560
  • Make loader options more explicit 6ecc836
  • Improve types 766af92
  • Add FetchClient 97cd333

https://github.com/Becklyn/mojave/compare/5.12.1...5.13.0

mojave -

Published by apfelbox over 4 years ago

✨ Improvements

  • Use lax as default Same-Site for cookies.

πŸ› Bug Fixes

  • Prevent issues with cookie names containing a ..

Commits

  • Prepare 5.12.1 b99fad6
  • Merge pull request #269 from Becklyn/next 3852540
  • Use lax as default Same-Site for cookies 7cc7908
  • Merge pull request #268 from Becklyn/next 2f5ba35
  • Prevent issues with cookie names containing a . 6a39802

https://github.com/Becklyn/mojave/compare/5.12.0...5.12.1

mojave -

Published by apfelbox over 4 years ago

🎁 New Features

  • Add LocalRouter.

πŸ› οΈ Internal

  • Fixed type issue in Sortable.

Commits

  • Prepare 5.12.0 c336ea7
  • Merge pull request #267 from Becklyn/local-router 910886a
  • Add LocalRouter 37bc24f
  • Merge pull request #266 from Becklyn/sortable-fix a2ab9f8
  • Fix invalid initialization call to mitt() 8c27601

https://github.com/Becklyn/mojave/compare/5.11.1...5.12.0

mojave -

Published by apfelbox over 4 years ago

πŸ› Bug Fixes

  • Remove invalid default export.

Commits

  • Remove invalid default export 19e9cb6

https://github.com/Becklyn/mojave/compare/5.11.0...5.11.1

mojave -

Published by apfelbox over 4 years ago

🎁 New Features

  • Add useDebounced() hook.

✨ Improvements

  • Improve types in animation.
  • Improve types in extend() + merge().

Commits

  • Merge pull request #264 from Becklyn/next 9e7c595
  • Fix types 2283f56
  • Add changelog 8f8e3ca
  • Add useDebounce() hook 2f84c24
  • Improve typings in extend + merge f71643d
  • Fix types in animation d695d06

https://github.com/Becklyn/mojave/compare/5.10.1...5.11.0

mojave -

Published by apfelbox over 4 years ago

πŸ› Bug Fixes

  • Make the useSortable() hook more robust against heavily rerendered elements

Commits

  • Merge pull request #262 from Becklyn/next bcde0aa
  • Make the useSortable() hook more robust against heavily rerendered elements 0957c72

https://github.com/Becklyn/mojave/compare/5.10.0...5.10.1

mojave -

Published by apfelbox over 4 years ago

🎁 New Features

  • Add useLiveRef() hook.

Commits

  • Merge pull request #261 from Becklyn/next e874b96
  • Bump dependencies db36964
  • Add useLiveRef() hook f7787b5

https://github.com/Becklyn/mojave/compare/5.9.4...5.10.0

mojave -

Published by apfelbox over 4 years ago

✨ Improvements

  • Add _mojave-dragged-item class on dragged item in sortable.
  • Add option to disable sortable hook easily (default is still "enabled").
  • Improve properties reset in sortable items.

πŸ› Bug Fixes

  • Warn when mounting a sortable directly on a table.

Commits

  • Merge pull request #260 from Becklyn/next d5767f6
  • Improve properties reset in sortable items 1611fc1
  • Warn when mounting a sortable directly on a table 0f39ab0
  • Add option to disable sortable hook easily 061a3de
  • Add class on dragged item in sortable e7f14c5

https://github.com/Becklyn/mojave/compare/5.9.3...5.9.4

mojave -

Published by apfelbox over 4 years ago

✨ Improvements

  • Fix export of return type of initDismissableContainer().

Commits

  • Fix export of return type of initDismissableContainer(). 213ca4a

https://github.com/Becklyn/mojave/compare/5.9.2...5.9.3

mojave -

Published by apfelbox over 4 years ago

✨ Improvements

  • Export return type of initDismissableContainer().

Commits

  • Export return type of initDismissableContainer() 18b87f6

https://github.com/Becklyn/mojave/compare/5.9.1...5.9.2

mojave -

Published by apfelbox over 4 years ago

🎁 New Features

  • Add destroy option in return value for initDismissableContainer().

✨ Improvements

  • Removed overly pedantic use of hasOwnProperty().

Commits

  • Properly type return value of initDismissableContainer 4852123
  • Merge pull request #259 from Becklyn/next a6bda8d
  • This is β€œonly” an improvement d3f0af6
  • Removed overly pedantic use of hasOwnProperty() 3694967
  • Add destroy option in return value for initDismissableContainer() 336ce8e

https://github.com/Becklyn/mojave/compare/5.9.0...5.9.1

mojave -

Published by apfelbox over 4 years ago

🎁 New Features

  • Added toStringArray.

πŸ› Bug Fixes

  • Add missing hook dependency.

Commits

  • Merge pull request #258 from Becklyn/next a2f02f0
  • Added toStringArray() 67c4b17
  • Add missing hook dependency 7107559

https://github.com/Becklyn/mojave/compare/5.8.2...5.9.0

mojave -

Published by apfelbox over 4 years ago

πŸ› Bug Fixes

  • Properly reset z-index in Sortable after drag.

Commits

  • Prepare 5.8.2 ac6e870
  • Merge pull request #257 from Becklyn/reset-z ac80e36
  • Update PR template 37204e5
  • Properly reset z-index in Sortable after drag 16c41a1

https://github.com/Becklyn/mojave/compare/5.8.1...5.8.2

mojave -

Published by apfelbox almost 5 years ago

πŸ› Bug Fixes

  • Fix getCookie() method to read a cookie string set with formatCookieString().

πŸ› οΈ Internal

  • A test for getCookie() has been added.

Commits

  • Prepare 5.8.1 2fd1b1b
  • Merge pull request #255 from Becklyn/fix-get-cookie 32b20ac
  • update tests c57bda9
  • add changelog entries 986dcfd
  • add test for getCookie() 5dc84c7
  • fix getCookie() e0c3a42

https://github.com/Becklyn/mojave/compare/5.8.0...5.8.1

mojave -

Published by apfelbox almost 5 years ago

🎁 New Features

  • Add sameSite option to formatCookieString() and setCookie(). Additionally {sameSite: "strict"} is set as a default. Other possible values include "lax" and null. null will hinder the sameSite attribute of being set in a cookie.
  • Add support for passing in multiple classes to toggleClass.

Commits

  • Merge pull request #252 from Becklyn/toggle-multiple-classes f58df97
  • Extracting the method doesn’t work 70e8d60
  • Update test descriptions d39f883
  • Extract method into variable b4db4ed
  • Add changelog 6831e3b
  • Split toggleClass(string[]) tests into their own dedicated test cases 7dd22e0
  • Allow toggling multiple classes at once 00cb01f
  • Merge pull request #254 from Becklyn/add-same-site-strict-as-default-in-cookie c3c9dc8
  • add same site cookie option and set strict as default 85fd52f

https://github.com/Becklyn/mojave/compare/5.7.1...5.8.0

mojave -

Published by apfelbox almost 5 years ago

πŸ› Bug Fixes

  • Automatically remove trailing hyphens from generated slug.

Commits

  • Merge pull request #251 from Becklyn/slug-generator-trailing-hyphen-v5 fdd7e2e
  • Move changelog entry up 84360a1
  • Remove trailing hyphens 8748de1

https://github.com/Becklyn/mojave/compare/5.7.0...5.7.1

mojave -

Published by apfelbox almost 5 years ago

πŸ› Bug Fixes

  • Use MouseEvent.target instead of MouseEvent.toElement in Sortable
  • Automatically remove trailing hyphens from generated slug.

Commits

  • Merge pull request #249 from Becklyn/slug-generator-trailing-hyphen-v4 dd4bac7
  • Remove trailing hyphens 3fa2ef7
  • Merge pull request #250 from Becklyn/sortable-deprecation-v4 95b1572
  • Use MouseEvent.target instead of MouseEvent.toElement dc97be7

https://github.com/Becklyn/mojave/compare/4.6.0...4.6.1

mojave -

Published by apfelbox almost 5 years ago

πŸ› Bug Fixes

  • Automatically remove trailing hyphens from generated slug.

Commits

  • Fix release version efe9d2a
  • Merge pull request #248 from Becklyn/slug-generator-trailing-hyphen f50b497
  • Remove trailing hyphens 47bb4cc

https://github.com/Becklyn/mojave/compare/3.1.6...3.1.7

mojave -

Published by apfelbox almost 5 years ago

🎁 New Features

  • Allow passing in HTMLElement[] instead of a CSS selector into all mount* versions to directly mount on specific elements.
  • Added useSortable() hook.

✨ Improvements

  • Return the item + before in the Sortable result (to integrate with the new RAD bundle).
  • Added Sortable::destroy().

Commits

  • 5.7.0 was not yet released, so update CHANGELOG 3b8b563
  • Sortable improvements: destroy, better return value, hook (#247) 03f2597
  • Add useSortable hook 37fc50b
  • Add new sortable result e282b82
  • Add option to destroy sortable instance b84695f
  • Merge pull request #246 from Becklyn/mount-elements d44e8d2
  • Upgrade changelog to reflect most recent changes to mount* 2884399
  • Migrate last remaining mount method to accept HTMLElement[] as well f2f934c
  • Change allowed types to string|HTMLElement[] bb475bf
  • Allow mounting components directly to an HTMLElement instead of a CSS selector 9bf493d

https://github.com/Becklyn/mojave/compare/5.6.0...5.7.0

Package Rankings
Top 7.82% on Npmjs.org
Related Projects