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 hidden (Show)

mojave - 5.20.1 Latest Release

Published by keichinger about 3 years ago

5.20.1

🎁 New Features

  • Add isOnMobileDevice, which tries its best to detect whether the current user is running on a mobile device.

Commits

  • Add isOnMobileDevice 5d0d23a

https://github.com/Becklyn/mojave/compare/5.20.0...5.20.1

mojave - 5.20.0

Published by keichinger about 3 years ago

5.20.0

🎁 New Features

  • Add two new LocalRouter route parameter types: nullableStringParameter and nullableNumberParameter.

Commits

  • Add two new LocalRouter route parameter types: nullableStringParameter and nullableNumberParameter. 5594fc2

https://github.com/Becklyn/mojave/compare/5.19.0...5.20.0

mojave - 5.19.0

Published by keichinger over 3 years ago

5.19.0

🎁 New Features

  • Add mountDataContainer and mountLazyDataContainer, which mounts on top of a data container (<script type="application/json">{...}</script>),
    which is parsed and passed in as the very first argument of the mountable data container function.

    Note: The mountable data container function does not receive a reference to the data container. It is intended to work independent of its data container.

Commits

  • Add mountDataContainer and mountLazyDataContainer f4c4eeb

https://github.com/Becklyn/mojave/compare/5.18.1...5.19.0

mojave - 5.18.1

Published by keichinger over 3 years ago

5.18.1

πŸ› Bug Fixes

  • Correctly declare dependencies for initializing Sortable in useSortable.

Commits

  • Correctly declare dependencies for initializing Sortable in useSortable b88524f

https://github.com/Becklyn/mojave/compare/5.18.0...5.18.1

mojave - 5.18.0

Published by keichinger about 4 years ago

🎁 New Features

  • Add mountJsxAndWrap function.

Commits

  • Merge pull request #287 from Becklyn/mount-and-wrap 7317fc7
  • Add mountJsxAndWrap function 5b8963f

https://github.com/Becklyn/mojave/compare/5.17.4...5.18.0

mojave -

Published by apfelbox about 4 years ago

πŸ› Bug Fixes

  • LocalRouter must keep existing query parameters to not break any pages.

Commits

  • Merge pull request #284 from Becklyn/next 010448a
  • LocalRouter must keep existing query parameters to not break any pages 2d006c9
  • Fix typo 2cf17b4

https://github.com/Becklyn/mojave/compare/5.17.3...5.17.4

mojave -

Published by apfelbox about 4 years ago

✨ Improvements

  • Add escapeRegexp() function and remove dependency to escape-string-regexp (since it is not compatible with IE 11).

Commits

  • Move function to better file d7f0876
  • Merge pull request #283 from Becklyn/remove-dependency-to-escape-string-regexp 4a81da3
  • remove dependency to escape-string-regexp 76baaab

https://github.com/Becklyn/mojave/compare/5.17.2...5.17.3

mojave -

Published by apfelbox about 4 years ago

πŸ› Bug Fixes

  • Add option to properly forward inputs in useLiveRef().

Commits

  • Merge pull request #282 from Becklyn/next 4b3654f
  • Add option to properly forward inputs in useLiveRef() 2491c60

https://github.com/Becklyn/mojave/compare/5.17.1...5.17.2

mojave -

Published by apfelbox about 4 years ago

πŸ› Bug Fixes

  • Remove debug output.

Commits

  • Remove debug output cbb9dc4

https://github.com/Becklyn/mojave/compare/5.17.0...5.17.1

mojave -

Published by apfelbox about 4 years ago

🎁 New Features

  • Add DataContainer.

Commits

  • Merge pull request #281 from Becklyn/next c27ad37
  • Bump mitt b2bd9e7
  • Bump dependencies 8dc2862
  • Update sizereport b4a1859
  • Add DataContainer 291faf0

https://github.com/Becklyn/mojave/compare/5.16.1...5.17.0

mojave -

Published by apfelbox over 4 years ago

✨ Improvements

  • Instead of using a fixed "visible" duration, estimate the time to show a toast by its content length.

Commits

  • Merge pull request #279 from Becklyn/next 44ec973
  • Instead of using a fixed "visible" duration, estimate the time to show a toast by its content length aea16b1

https://github.com/Becklyn/mojave/compare/5.16.0...5.16.1

mojave -

Published by apfelbox over 4 years ago

🎁 New Features

  • Add initializeDumpedToasts().

πŸ› Bug Fixes

  • Fix argument type of message in ToastManagerInterface.add().

Commits

  • Merge pull request #278 from Becklyn/next feafa0d
  • Finalize implementation of initializeDumpedToasts() 5f77e6e
  • Fix argument type of message in ToastManagerInterface.add() 971b8b1
  • Add initializeDumpedToasts() 3533584

https://github.com/Becklyn/mojave/compare/5.15.6...5.16.0

mojave -

Published by apfelbox over 4 years ago

πŸ› Bug Fixes

  • Fix internal call in FetchClient.

Commits

  • Fix internal call in FetchClient a6a40e4

https://github.com/Becklyn/mojave/compare/5.15.5...5.15.6

mojave -

Published by apfelbox over 4 years ago

πŸ› Bug Fixes

  • Fix internal check in FetchClient.

Commits

  • Fix internal check in FetchClient 5ae29a8

https://github.com/Becklyn/mojave/compare/5.15.4...5.15.5

mojave -

Published by apfelbox over 4 years ago

✨ Improvements

  • Add possibility to pass a list of messages as default loading message in FetchClient.

Commits

  • Add possibility to pass a list of messages as default loading message in FetchClient 74b0425

https://github.com/Becklyn/mojave/compare/5.15.3...5.15.4

mojave -

Published by apfelbox over 4 years ago

πŸ› Bug Fixes

  • Add missing !default in toast SCSS.
  • Fix incorrect LoaderInterface.
  • Fix incorrect call of loader in FetchClient.
  • Add missing default loading message in fetch client.

Commits

  • Merge pull request #277 from Becklyn/next f30d3cb
  • Update docs 80ccbf5
  • Add UPGRADE docs + prepare release d8bdad5
  • loader + fetch fixes e5fd1c8
  • Add missing !default in toast SCSS a0d8797

https://github.com/Becklyn/mojave/compare/5.15.2...5.15.3

mojave -

Published by apfelbox over 4 years ago

✨ Improvements

  • Add onSetCallback to useDebounced. This callback is called every time the value is updated.

Commits

  • Merge pull request #276 from Becklyn/next 6560d40
  • Add onSetCallback to useDebounced f6766f6

https://github.com/Becklyn/mojave/compare/5.15.1...5.15.2

mojave -

Published by apfelbox over 4 years ago

✨ Improvements

  • Improve default positioning of toast container.
  • Add .neutral(), .positive() and .negative() convenience method to ToastManager.
  • Make internal handling of toast impacts more strict.
  • Make it easier to use the loader standalone.
  • Improve text contrast for action on negative text.
  • Make options in FetchClient.request() optional.

Commits

  • Prepare 5.15.1 6191d9d
  • Merge pull request #275 from Becklyn/next 39f18dc
  • Make options in FetchClient.request() optional c9f0ffb
  • Improve text contrast for action on negative text 6f2bf61
  • Make it easier to use the loader standalone 5724743
  • Fix typo fbbef30
  • Make internal handling of toast impacts more strict 31a9a4a
  • Add .neutral(), .positive() and .negative() convenience method to ToastManager 3623f31
  • Improve default positioning of toast container 0e25c3c
  • Remove workarounds 9a9b0c8
  • Update CHANGELOG 864ae6a

https://github.com/Becklyn/mojave/compare/5.15.0...5.15.1

mojave -

Published by apfelbox over 4 years ago

🎁 New Features

  • Add OverlayLoader UI component.
  • Add ToastManager UI component.

✨ Improvements

  • Don't build JSX with "preserve" but compile to preact + update tsconfig.
  • Bump dependencies.

πŸ› Bug Fixes

  • Fix small TypeScript issue in encodeCookieOptions.

Commits

  • Merge pull request #274 from Becklyn/next 9c3ef02
  • Bump dependencies 6b1fdb2
  • Fix small TypeScript issue in encodeCookieOptions 7913cad
  • Don't build JSX with "preserve" but compile to preact + update tsconfig af40868
  • Add ToastManager UI component 6e76226
  • Add OverlayLoader UI component 3757d6b

https://github.com/Becklyn/mojave/compare/5.14.0...5.15.0

mojave -

Published by apfelbox over 4 years ago

🎁 New Features

  • Add createComponentInitializer + ComponentManager.

Commits

  • Merge pull request #273 from Becklyn/next 75dced1
  • Add createComponentInitializer + ComponentManager be893c8

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

Package Rankings
Top 7.82% on Npmjs.org
Related Projects