svelte-breakpoints

Svelte component and helper functions for creating easy responsive layouts with CSS media queries.

MIT License

Downloads
771
Stars
16
Committers
2

Bot releases are hidden (Show)

svelte-breakpoints - Release 0.3.0 Latest Release

Published by kiosion 9 months ago

svelte-breakpoints - Release 0.2.0

Published by kiosion almost 2 years ago

What's new

  • Refactored Breakpoints component
  • Types are now exported
  • Demo app added under ./demo
  • Breaking: Binding to match prop now returns a readable store containing the matching breakpoint, rather than a plain string

Bug fixes

  • Component uses highest matching slot, regardless of if others are also matching
  • Component falls back to default slot if others are present but not matching

Full Changelog: https://github.com/kiosion/svelte-breakpoints/compare/v0.1.0...v0.2.0

svelte-breakpoints - v0.1.0

Published by kiosion about 2 years ago