svelte-toast

Simple elegant toast notifications

ISC License

Downloads
58.6K
Stars
801
Committers
17

Bot releases are hidden (Show)

svelte-toast - v0.6.0

Published by zerodevx about 3 years ago

  • Add feature onpop() callback support
  • --toastProgressBackground renamed to --toastBarBackground - old key still works though to maintain backward compatibility
  • Replace tooling from standardjs to prettier
  • Remove extraneous pausable check from resume()
  • Expose more CSS vars:
._toastItem {
  padding: var(--toastPadding, 0);
  border: var(--toastBorder, none);
}
._toastBar {
  top: var(--toastBarTop, auto);
  right: var(--toastBarRight, auto);
  bottom: var(--toastBarBottom, 0);
  left: var(--toastBarLeft, 0);
  height: var(--toastBarHeight, 6px);
  width: var(--toastBarWidth, 100%);
}
svelte-toast - v0.6.0-rc.1

Published by zerodevx about 3 years ago

# This is a release candidate. To take it for a spin, install with `@next` tag: 
$ npm i -D @zerodevx/svelte-toast@next

https://github.com/zerodevx/svelte-toast/tree/v0.6.0-rc.1

svelte-toast - v0.5.1

Published by zerodevx about 3 years ago

  • Handle some edge cases for pausable toasts
svelte-toast - v0.5.0

Published by zerodevx about 3 years ago

  • Add feature pause on mouse hover
  • Add support for component-messages (#24)
  • Renamed progress option to next (sorry) - old key still works though to maintain backward compatibility
  • Update dependencies
svelte-toast - v0.4.1

Published by zerodevx about 3 years ago

  • Fix typescript declarations (fixes #26)
  • Remove exports field from package.json (reverts #12, fixes #25, why?)
  • Update dependencies
svelte-toast - v0.4.0

Published by zerodevx about 3 years ago

  • Add support for multiple toast containers (#18)
  • Add support for removal of multiple toasts (#20)
  • Accept object as first param for pop() and set()
  • Add types field into package.json (#17)
  • Improve ts definitions for intro property (#19)
  • Enable tailwindcss JIT mode for demo docs
  • Update dependencies
  • And finally (as we add more features) setup some tests to catch regressions
svelte-toast - v0.3.0

Published by zerodevx over 3 years ago

  • Expose CSS vars --toastBoxShadow and --toastBorderRadius (#16)
  • Add typescript definitions (#14)
  • Update dependencies
  • BREAKING: UMD named exports hoisted to global scope now, so the CDN loading pattern has changed
svelte-toast - v0.2.2

Published by zerodevx over 3 years ago

  • Cleanup code remnants
  • Update dependencies
svelte-toast - v0.2.1

Published by zerodevx over 3 years ago

  • Fix import issue with SvelteKit (#12)
  • Better pointer-events handling
svelte-toast - v0.2.1-rc.2

Published by zerodevx over 3 years ago

# This is a release candidate. To take it for a spin, install with `@next` tag: 
$ npm i -D @zerodevx/svelte-toast@next

https://github.com/zerodevx/svelte-toast/tree/v0.2.1-rc.2

svelte-toast - v0.2.1-rc.1

Published by zerodevx over 3 years ago

# This is a release candidate. To take it for a spin, install with `@next` tag: 
$ npm i -D @zerodevx/svelte-toast@next

https://github.com/zerodevx/svelte-toast/tree/v0.2.1-rc.1

svelte-toast - v0.2.0

Published by zerodevx over 3 years ago

  • Allow rich HTML in toast messages (#10)
  • Change default --toastHeight to auto (#2)
  • Expose --toastMinHeight CSS var (#11)
  • Expose --toastMsgPadding shorthand CSS var
  • Deprecate --toastFont CSS var
svelte-toast - v0.1.4

Published by zerodevx almost 4 years ago

  • Upgrade tooling.
svelte-toast - v0.1.3

Published by zerodevx about 4 years ago

svelte-toast - v0.1.2

Published by zerodevx about 4 years ago

  • Fix progress bar styling for Safari
svelte-toast - v0.1.1

Published by zerodevx about 4 years ago

  • Expose shorthand CSS vars instead
  • Slight tweaks to default colors
svelte-toast - v0.1.0

Published by zerodevx about 4 years ago

  • (Almost) feature-complete initial release. :)