@mantine-vue/notifications 1.1.2 → 1.1.4

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.
Files changed (2) hide show
  1. package/README.md +47 -0
  2. package/package.json +4 -4
package/README.md ADDED
@@ -0,0 +1,47 @@
1
+ # @mantine-vue/notifications
2
+
3
+ Fully featured, customizable notifications system for Vue, equivalent to `@mantine/notifications`.
4
+
5
+ > Mantine Vue is an independent community port of [Mantine](https://mantine.dev/) for Vue 3. It is not affiliated with or endorsed by the Mantine team.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ yarn add @mantine-vue/notifications @mantine-vue/core @mantine-vue/hooks @mantine-vue/store
11
+
12
+ # or with npm
13
+ npm i @mantine-vue/notifications @mantine-vue/core @mantine-vue/hooks @mantine-vue/store
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ ```vue
19
+ <script setup>
20
+ import { Notifications, notifications } from '@mantine-vue/notifications'
21
+ import '@mantine-vue/notifications/styles.css'
22
+
23
+ function showNotification() {
24
+ notifications.show({ title: 'Default notification', message: 'Hey there!' })
25
+ }
26
+ </script>
27
+
28
+ <template>
29
+ <Notifications />
30
+ <button @click="showNotification">Show notification</button>
31
+ </template>
32
+ ```
33
+
34
+ ## Documentation
35
+
36
+ Full API and examples: [mantine-vue.dev/x/notifications](https://mantine-vue.dev/x/notifications)
37
+
38
+ ## Peer dependencies
39
+
40
+ - `vue` ^3.5.0
41
+ - `@mantine-vue/core`
42
+ - `@mantine-vue/hooks`
43
+ - `@mantine-vue/store`
44
+
45
+ ## License
46
+
47
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantine-vue/notifications",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Vue notifications system equivalent to @mantine/notifications",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -38,9 +38,9 @@
38
38
  "vue": "^3.5.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "@mantine-vue/core": "1.1.1",
42
- "@mantine-vue/hooks": "1.1.2",
43
- "@mantine-vue/store": "1.1.1",
41
+ "@mantine-vue/core": "1.1.4",
42
+ "@mantine-vue/hooks": "1.1.4",
43
+ "@mantine-vue/store": "1.1.4",
44
44
  "vue": "^3.5.0"
45
45
  }
46
46
  }