svelte-notifications icon indicating copy to clipboard operation
svelte-notifications copied to clipboard

Svelte toast notifications component that can be used in any JS application

Results 29 svelte-notifications issues
Sort by recently updated
recently updated
newest added

Most notifications I can think of are ephemeral and relevant only for the currently active javascript state (for example errors executing javascript, problems with submitting forms, etc). As such, I...

This PR aims to implement 2 additions: - Add support for Icons in notifications, current implementation allows any svelte component. > ![IconExample](https://user-images.githubusercontent.com/54558771/172025782-253f260a-a28b-4cf7-9d0d-c29d192afe79.png) - Add a toggle for the progress bar...

The module doesn't work with sveltekit without adding 'main' and 'svelte' to package.json

Using svelte-notifications with the sveltekit node adapter results in the following error: Error when evaluating SSR module /src/routes/test.svelte: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".svelte" for [...]/node_modules/@beyonk/svelte-notifications/Notifications.svelte

The component does not show toast. Tried in sveltekit app and create-vite svelte app. ## Steps to reproduce 1. Create a blank sveltekit app `pnpm init svelte@next my-app` 2. Copy...

help wanted

The types for `TNotifier` are e.g. `success(message: string, timeout: number): void`, which doesn't make sense since `timeout` has a defined default and user doesn't change it very often on a...

- update timeout paramter in interface TNotifier to be optional Closes https://github.com/beyonk-adventures/svelte-notifications/issues/29 Note that the project could benefit from https://editorconfig.org/ or prettier config to set code style. I had to...

I can get this to work with sveltekit, I get no errors.

I use typescript with Sveltekit and it gives run time error: ``` Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: .../node_modules/@beyonk/svelte-notifications/index.js require() of ES modules is not supported. ```