mantine-contextmenu 1.2.14 → 1.2.15
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 +6 -4
- package/package.json +11 -3
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
[![Downloads][downloads-image]][npm-url]
|
|
10
10
|
[![Language][language-image]][repo-url]
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
The "dark-theme aware" **context-menu** for your Mantine UI applications, built by the creator of [Mantine DataTable](https://icflorescu.github.io/mantine-datatable/).
|
|
13
13
|
|
|
14
14
|
[](https://icflorescu.github.io/mantine-contextmenu/)
|
|
15
15
|
|
|
@@ -25,6 +25,8 @@ Install the package and its dependencies:
|
|
|
25
25
|
npm i @mantine/core @mantine/hooks @emotion/react mantine-contextmenu
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
+
If you're using Next.js, Vite, CRA, Remix or Gatsby, you might need to install additional dependencies. Please refer to Mantine's [getting started page](https://mantine.dev/pages/getting-started/) for more details.
|
|
29
|
+
|
|
28
30
|
Wrap your application in the `ContextMenuProvider` components:
|
|
29
31
|
|
|
30
32
|
```tsx
|
|
@@ -42,7 +44,7 @@ function App() {
|
|
|
42
44
|
}
|
|
43
45
|
```
|
|
44
46
|
|
|
45
|
-
Use
|
|
47
|
+
Use the hook-generated function in your code:
|
|
46
48
|
|
|
47
49
|
```tsx
|
|
48
50
|
import { IconCopy, IconDownload } from '@tabler/icons-react';
|
|
@@ -78,11 +80,11 @@ export default function GettingStartedExample() {
|
|
|
78
80
|
}
|
|
79
81
|
```
|
|
80
82
|
|
|
81
|
-
|
|
83
|
+
Make sure to browse the list of [usage examples](https://icflorescu.github.io/mantine-contextmenu/examples/basic-usage) to learn how to unleash the full power of Mantine ContextMenu.
|
|
82
84
|
|
|
83
85
|
## Other useful resources
|
|
84
86
|
|
|
85
|
-
💡 [Mantine DataTable](https://icflorescu.github.io/mantine-datatable/) -
|
|
87
|
+
💡 [Mantine DataTable](https://icflorescu.github.io/mantine-datatable/) - The "dark-theme aware" **data-table component** for your Mantine UI applications, built by the creator of Mantine ContextMenu.
|
|
86
88
|
|
|
87
89
|
## Code contributors
|
|
88
90
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mantine-contextmenu",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.2.15",
|
|
4
|
+
"description": "Enhance your Mantine UI applications usability with customizable context menus",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
7
7
|
"mantine",
|
|
@@ -12,7 +12,15 @@
|
|
|
12
12
|
"react",
|
|
13
13
|
"typescript",
|
|
14
14
|
"javascript",
|
|
15
|
-
"front-end"
|
|
15
|
+
"front-end",
|
|
16
|
+
"frontend",
|
|
17
|
+
"user interface",
|
|
18
|
+
"ui",
|
|
19
|
+
"user experience",
|
|
20
|
+
"ux",
|
|
21
|
+
"productivity",
|
|
22
|
+
"usability",
|
|
23
|
+
"component"
|
|
16
24
|
],
|
|
17
25
|
"repository": "icflorescu/mantine-contextmenu",
|
|
18
26
|
"homepage": "https://icflorescu.github.io/mantine-contextmenu/",
|