-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Core - Rename NKeys to NType, move Notivue utils to core * Notivue - Fine-tine `pauseOnTabChange: false` behavior * Notivue - Remove unnecessary ResizeObsever repositioning call * Core - Move `isTopAlign` out of `createConfig` * Core - Rename `createWatchers`, remove repositioning watcher, get unwatchers * Core - Add counters, fine-tune repositioning watcher * Core - Add `useNotivueInstance` * Demo - Add NavActions, instance controls * Core, Notifications - Add new type aliases * Dev - Disable minification, nuxt devtools * Notivue - Rename attributes * Core - Sort imports in main entry file * Pkg - Add exports.js, verify-exports.js * Demo - Edit duplicate control behavior * Core - Cleanup useless code in `createStore` * Pkg - Edit README * Core - Update config tests * Tests - Fix import tests * Pkg - Edit README, nuxt/README * Core - Restore triggerRef on queue add/edit methods * Core - Use interfaces, edit some comments * Core - Add Intellisense description to `useNotivueInstance` * Notivue, NotivueKeyboard - Force unmount when not running * Tests - Add instance tests * Tests - Imrpove instance tests nomenclatures * Demo - Move limit select above enqueue control * Notivue - Rename window focus events * Pkg - Bump 2.4.0 * Astro - Make push more readable * Astro - Prefer createdAt istead of counter for event id * Core, Notivue - Fix some typos
- Loading branch information
Showing
42 changed files
with
810 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,5 @@ cypress/screenshots | |
|
||
.nuxt | ||
pnpm-lock.yaml | ||
|
||
astro-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<script setup lang="ts"> | ||
const { entries } = useNotifications() | ||
const { isRunning, startInstance, stopInstance } = useNotivueInstance() | ||
</script> | ||
|
||
<template> | ||
<SharedButton | ||
@click="push.clearAll()" | ||
text="Dismiss All" | ||
:isDisabled="entries.length === 0" | ||
:key="entries.length" | ||
> | ||
<IconsDismissIcon /> | ||
</SharedButton> | ||
<SharedButton | ||
@click="push.destroyAll()" | ||
text="Destroy All" | ||
:isDisabled="entries.length === 0" | ||
:key="entries.length" | ||
> | ||
<IconsDestroyIcon /> | ||
</SharedButton> | ||
|
||
<SharedButton @click="startInstance()" text="Start Instance" :isDisabled="isRunning"> | ||
<IconsSuccessIcon /> | ||
</SharedButton> | ||
<SharedButton @click="stopInstance()" text="Stop Instance" :isDisabled="!isRunning"> | ||
<IconsWarnIcon :isWarn="false" /> | ||
</SharedButton> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.