@mantine-vue/hooks 1.1.2 → 1.1.3

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 +36 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # @mantine-vue/hooks
2
+
3
+ Collection of 80+ Vue composables for state and UI management, equivalent to `@mantine/hooks`.
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/hooks
11
+
12
+ # or with npm
13
+ npm i @mantine-vue/hooks
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ ```vue
19
+ <script setup>
20
+ import { useDisclosure } from '@mantine-vue/hooks'
21
+
22
+ const [opened, handlers] = useDisclosure(false)
23
+ </script>
24
+ ```
25
+
26
+ ## Documentation
27
+
28
+ Full list of composables and examples: [mantine-vue.dev/hooks/use-click-outside](https://mantine-vue.dev/hooks/use-click-outside)
29
+
30
+ ## Peer dependencies
31
+
32
+ - `vue` ^3.5.0
33
+
34
+ ## License
35
+
36
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantine-vue/hooks",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Vue composables equivalent to @mantine/hooks",
5
5
  "license": "MIT",
6
6
  "files": [