mantine-contextmenu 1.2.13 → 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.
Files changed (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +12 -5
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
- A "dark-theme aware" **context-menu** for your Mantine UI applications, built by the creator of [Mantine DataTable](https://icflorescu.github.io/mantine-datatable/).
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
  [![Mantine ContextMenu](https://user-images.githubusercontent.com/581999/231230506-3278ea99-dfb3-4edc-ad67-d47f1626a298.png)](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 it in your code:
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
- Have a look at the available [type definitions](https://icflorescu.github.io/mantine-contextmenu/type-definitions) and make sure to browse the list of [usage examples](https://icflorescu.github.io/mantine-contextmenu/examples/basic-usage).
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/) - A "dark-theme aware" **data-table** for your Mantine UI applications, built by the creator of Mantine ContextMenu.
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.13",
4
- "description": "ContextMenu for Mantine UI",
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/",
@@ -46,8 +54,7 @@
46
54
  "devDependencies": {
47
55
  "@mantine/core": "^6.0.13",
48
56
  "@mantine/hooks": "^6.0.13",
49
- "@tabler/icons-react": "^2.21.0",
50
- "@types/react": "^18.2.8",
57
+ "@types/react": "^18.2.9",
51
58
  "@types/react-dom": "^18.2.4",
52
59
  "esbuild": "^0.17.19",
53
60
  "react": "^18.2.0",