@samline/notify 0.2.5 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -50,8 +50,8 @@ Use the browser build when your project loads scripts directly and cannot compil
50
50
 
51
51
 
52
52
  ```html
53
- <script src="https://unpkg.com/@samline/notify@0.2.5/dist/notify.umd.js"></script>
54
- <link rel="stylesheet" href="https://unpkg.com/@samline/notify@0.2.5/dist/styles.css" />
53
+ <script src="https://unpkg.com/@samline/notify@0.2.7/dist/notify.umd.js"></script>
54
+ <link rel="stylesheet" href="https://unpkg.com/@samline/notify@0.2.7/dist/styles.css" />
55
55
 
56
56
  <script>
57
57
  // Always use an array of strings as the second argument
package/docs/browser.md CHANGED
@@ -8,8 +8,8 @@ Use this package directly in the browser when you cannot use npm modules or a bu
8
8
  Add the stylesheet and UMD bundle to your HTML:
9
9
 
10
10
  ```html
11
- <link rel="stylesheet" href="https://unpkg.com/@samline/notify@0.2.5/dist/styles.css">
12
- <script src="https://unpkg.com/@samline/notify@0.2.5/dist/notify.umd.js"></script>
11
+ <link rel="stylesheet" href="https://unpkg.com/@samline/notify@0.2.7/dist/styles.css">
12
+ <script src="https://unpkg.com/@samline/notify@0.2.7/dist/notify.umd.js"></script>
13
13
  <script>
14
14
  document.addEventListener('DOMContentLoaded', () => {
15
15
  const api = window.notify; // or window.notifications for legacy
@@ -40,8 +40,8 @@ Add the stylesheet and UMD bundle to your HTML:
40
40
 
41
41
  ### Advanced Options
42
42
 
43
- <link rel="stylesheet" href="https://unpkg.com/@samline/notify@0.2.5/dist/styles.css">
44
- <script src="https://unpkg.com/@samline/notify@0.2.5/dist/notify.umd.js"></script>
43
+ <link rel="stylesheet" href="https://unpkg.com/@samline/notify@0.2.7/dist/styles.css">
44
+ <script src="https://unpkg.com/@samline/notify@0.2.7/dist/notify.umd.js"></script>
45
45
  | Property | Type | Default | Description |
46
46
  | ------------- | -------------------------------------- | ----------- | ------------------------------------------- |
47
47
  | `title` | string | — | Toast title |
@@ -55,8 +55,8 @@ Add the stylesheet and UMD bundle to your HTML:
55
55
  | `styles` | { title, description, badge, button } | — | Custom class overrides for sub-elements |
56
56
  | `roundness` | number | 16 | Border radius in pixels |
57
57
  | `autopilot` | boolean \| object | true | Auto expand/collapse timing |
58
- <script src="https://unpkg.com/@samline/notify@0.2.5/dist/notify.umd.js"></script>
59
- <link rel="stylesheet" href="https://unpkg.com/@samline/notify@0.2.5/dist/styles.css" />
58
+ <script src="https://unpkg.com/@samline/notify@0.2.7/dist/notify.umd.js"></script>
59
+ <link rel="stylesheet" href="https://unpkg.com/@samline/notify@0.2.7/dist/styles.css" />
60
60
 
61
61
  ```js
62
62
  api.success({
package/docs/vanilla.md CHANGED
@@ -178,8 +178,8 @@ notify.success({
178
178
  If you are not using a bundler, use the [Browser guide](./browser.md) for CDN usage. Example:
179
179
 
180
180
  ```html
181
- <link rel="stylesheet" href="https://unpkg.com/@samline/notify@0.2.5/dist/styles.css">
182
- <script src="https://unpkg.com/@samline/notify@0.2.5/dist/notify.umd.js"></script>
181
+ <link rel="stylesheet" href="https://unpkg.com/@samline/notify@0.2.7/dist/styles.css">
182
+ <script src="https://unpkg.com/@samline/notify@0.2.7/dist/notify.umd.js"></script>
183
183
  <script>
184
184
  document.addEventListener('DOMContentLoaded', () => {
185
185
  const api = window.notify;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samline/notify",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Notifications engine inspired by Sileo, with adapters for vanilla, React, Vue and Svelte.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",