Skip to content

Commit 5489a42

Browse files
committed
edit intellisense comments, demo, release 1.3.1
1 parent 2ed8ba1 commit 5489a42

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

demo/components/nav/NavPushBuiltIn.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ async function asyncPush() {
4949
push.success({
5050
...messages.success,
5151
onAutoClear: (item) => {
52-
console.log('AutoClear!', item)
52+
// console.log('AutoClear!', item)
5353
},
5454
onManualClear: (item) => {
55-
console.log('Manual Clear!', item)
55+
// console.log('Manual Clear!', item)
5656
},
5757
})
5858
"

demo/nuxt.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export default defineNuxtConfig({
77
enabled: true,
88
},
99
notivue: {
10+
// addPlugin: true,
1011
// limit: Infinity,
1112
notifications: {
1213
global: {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "notivue-monorepo",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"private": true,
55
"packageManager": "[email protected]",
66
"engines": {

packages/notivue/core/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export interface NotivueConfig {
8282
animations?: NotivueAnimations
8383
/** Tag or element to which the stream will be teleported. */
8484
teleportTo?: string | HTMLElement
85-
/** Notifications limit. Defaults to `0` (unlimited). */
85+
/** Notifications limit. Defaults to `Infinity`. */
8686
limit?: number
8787
}
8888

packages/notivue/nuxt/module.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import * as _nuxt_schema from '@nuxt/schema'
33
import { NotivueConfig } from 'notivue'
44

55
/**
6-
* Strangely, if types are imported from `notivue` package, they are not
6+
* Strangely, if types are imported from `notivue`, they are not
77
* recognized so they must be hardcoded. nuxt/ui seems to follow the same
88
* approach.
99
*
10-
* TODO: Update them everytime, substituting Ref<string> with string on
10+
* TODO: Update them on every release, substituting Ref<string> with string on
1111
* title/message and removing HTMLElement from teleportTo union
1212
*/
1313

@@ -52,7 +52,7 @@ interface ModuleOptions extends NotivueConfig {
5252
animations?: NotivueAnimations
5353
/** Tag or element to which the stream will be teleported. */
5454
teleportTo?: string
55-
/** Notifications limit. Defaults to `0` (unlimited). */
55+
/** Notifications limit. Defaults to `Infinity`. */
5656
limit?: number
5757
}
5858

packages/notivue/nuxt/module.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "notivue/nuxt",
33
"configKey": "notivue",
4-
"version": "1.3.0"
4+
"version": "1.3.1"
55
}

0 commit comments

Comments
 (0)