mantine-contextmenu 6.0.1 → 6.0.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 (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +24 -23
  3. package/package.json +4 -3
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022-2023 Ionuț-Cristian Florescu
3
+ Copyright (c) 2023 Ionuț-Cristian Florescu
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
- # Mantine ContextMenu
1
+ # Mantine ContextMenu V6
2
2
 
3
- ![Publish NPM & deploy docs workflow](https://github.com/icflorescu/mantine-contextmenu/actions/workflows/publish-and-deploy.yml/badge.svg)
3
+ **⚠️ Mantine-ContextMenu V6 is compatible with Mantine V6.**
4
+ **⏳ Mantine V7 support is in the roadmap.**
5
+ **❤️ If you want to speed up the process, please consider [sponsoring my work](https://github.com/sponsors/icflorescu).**
6
+
7
+ ![Publish NPM & deploy docs workflow](https://github.com/icflorescu/mantine-contextmenu-v6/actions/workflows/publish-and-deploy.yml/badge.svg)
4
8
  [![NPM version][npm-image]][npm-url]
5
9
  [![License][license-image]][license-url]
6
10
  [![Stars][stars-image]][stars-url]
@@ -12,32 +16,29 @@
12
16
 
13
17
  The "dark-theme aware" **context-menu** for your Mantine UI applications, built by the creator of [Mantine DataTable](https://icflorescu.github.io/mantine-datatable/).
14
18
 
15
- [![Mantine ContextMenu](https://user-images.githubusercontent.com/581999/231230506-3278ea99-dfb3-4edc-ad67-d47f1626a298.png)](https://icflorescu.github.io/mantine-contextmenu/)
19
+ [![Mantine ContextMenu](https://user-images.githubusercontent.com/581999/231230506-3278ea99-dfb3-4edc-ad67-d47f1626a298.png)](https://icflorescu.github.io/mantine-contextmenu-v6/)
16
20
 
17
21
  ## Features
18
22
 
19
- - **Lightweight** - no expternal dependencies, [no bloat](https://bundlephobia.com/package/mantine-contextmenu)
23
+ - **Lightweight** - no external dependencies, [no bloat](https://bundlephobia.com/package/mantine-contextmenu@6)
20
24
  - **Dark-theme aware** - automatically adapts to the current Mantine theme
21
- - **[Simple API](https://icflorescu.github.io/mantine-contextmenu/getting-started)** - just wrap your application in the `ContextMenuProvider` component and use the hook-generated function in your code
22
- - **[Custom content support](https://icflorescu.github.io/mantine-contextmenu/examples/custom-content)** - use any Mantine component as context menu content
23
- - **[Highly customizable styling](https://icflorescu.github.io/mantine-contextmenu/examples/styling)** - use the `className`/`classNames`, `style`/`styles` and `sx` props to customize the context menu appearance
24
- - **[Written in Typescript and well-documented](https://icflorescu.github.io/mantine-contextmenu/type-definitions)** - with detailed JSDoc annotations for each exported function and component
25
+ - **[Simple API](https://icflorescu.github.io/mantine-contextmenu-v6/getting-started)** - just wrap your application in the `ContextMenuProvider` component and use the hook-generated function in your code
26
+ - **[Custom content support](https://icflorescu.github.io/mantine-contextmenu-v6/examples/custom-content)** - use any Mantine component as context menu content
27
+ - **[Highly customizable styling](https://icflorescu.github.io/mantine-contextmenu-v6/examples/styling)** - use the `className`/`classNames`, `style`/`styles` and `sx` props to customize the context menu appearance
28
+ - **[Written in Typescript and well-documented](https://icflorescu.github.io/mantine-contextmenu-v6/type-definitions)** - with detailed JSDoc annotations for each exported function and component
25
29
 
26
30
  ## Full documentation and examples
27
31
 
28
- Visit [icflorescu.github.io/mantine-contextmenu](https://icflorescu.github.io/mantine-contextmenu/) to view the full documentation and learn how to use it by browsing the list of usage examples.
32
+ Visit [icflorescu.github.io/mantine-contextmenu-v6](https://icflorescu.github.io/mantine-contextmenu-v6/) to view the full documentation and learn how to use it by browsing the list of usage examples.
29
33
 
30
34
  ## Quickstart
31
35
 
32
36
  Install the package and its dependencies:
33
37
 
34
38
  ```sh
35
- npm i @mantine/core@6 @mantine/hooks@6 @emotion/react mantine-contextmenu
39
+ npm i @mantine/core@6 @mantine/hooks@6 @emotion/react mantine-contextmenu@6
36
40
  ```
37
41
 
38
- **⚠️ NOTE: Mantine-ContextMenu V6 is compatible with Mantine V6.**
39
- **⏳ Mantine v7 support is in thwe roadmap. If you want to speed up the process, please consider [sponsoring my work](https://github.com/sponsors/icflorescu). ❤️**
40
-
41
42
  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.
42
43
 
43
44
  Wrap your application in the `ContextMenuProvider` components:
@@ -93,7 +94,7 @@ export default function GettingStartedExample() {
93
94
  }
94
95
  ```
95
96
 
96
- 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.
97
+ Make sure to browse the list of [usage examples](https://icflorescu.github.io/mantine-contextmenu-v6/examples/basic-usage) to learn how to unleash the full power of Mantine ContextMenu.
97
98
 
98
99
  ## Other useful resources
99
100
 
@@ -101,9 +102,9 @@ Make sure to browse the list of [usage examples](https://icflorescu.github.io/ma
101
102
 
102
103
  ## Code contributors
103
104
 
104
- [![Contributors list](https://contrib.rocks/image?repo=icflorescu/mantine-contextmenu)](https://github.com/icflorescu/mantine-contextmenu/graphs/contributors)
105
+ [![Contributors list](https://contrib.rocks/image?repo=icflorescu/mantine-contextmenu-v6)](https://github.com/icflorescu/mantine-contextmenu-v6/graphs/contributors)
105
106
 
106
- Want to [become a code contributor](https://icflorescu.github.io/mantine-contextmenu/contribute-and-support)?
107
+ Want to [become a code contributor](https://icflorescu.github.io/mantine-contextmenu-v6/contribute-and-support)?
107
108
 
108
109
  ## Sponsor the project
109
110
 
@@ -128,19 +129,19 @@ Mentioning “Mantine ContextMenu” in your text would help me prioritize your
128
129
 
129
130
  ## License
130
131
 
131
- The [MIT License](https://github.com/icflorescu/mantine-contextmenu/blob/master/LICENSE).
132
+ The [MIT License](https://github.com/icflorescu/mantine-contextmenu-v6/blob/master/LICENSE).
132
133
 
133
134
  [npm-url]: https://npmjs.org/package/mantine-contextmenu
134
- [repo-url]: https://github.com/icflorescu/mantine-contextmenu
135
- [stars-url]: https://github.com/icflorescu/mantine-contextmenu/stargazers
136
- [closed-issues-url]: https://github.com/icflorescu/mantine-contextmenu/issues?q=is%3Aissue+is%3Aclosed
135
+ [repo-url]: https://github.com/icflorescu/mantine-contextmenu-v6
136
+ [stars-url]: https://github.com/icflorescu/mantine-contextmenu-v6/stargazers
137
+ [closed-issues-url]: https://github.com/icflorescu/mantine-contextmenu-v6/issues?q=is%3Aissue+is%3Aclosed
137
138
  [license-url]: LICENSE
138
139
  [npm-image]: https://img.shields.io/npm/v/mantine-contextmenu.svg?style=flat-square
139
140
  [license-image]: http://img.shields.io/npm/l/mantine-contextmenu.svg?style=flat-square
140
141
  [downloads-image]: http://img.shields.io/npm/dm/mantine-contextmenu.svg?style=flat-square
141
142
  [stars-image]: https://img.shields.io/github/stars/icflorescu/mantine-contextmenu?style=flat-square
142
- [last-commit-image]: https://img.shields.io/github/last-commit/icflorescu/mantine-contextmenu?style=flat-square
143
- [closed-issues-image]: https://img.shields.io/github/issues-closed-raw/icflorescu/mantine-contextmenu?style=flat-square
144
- [language-image]: https://img.shields.io/github/languages/top/icflorescu/mantine-contextmenu?style=flat-square
143
+ [last-commit-image]: https://img.shields.io/github/last-commit/icflorescu/mantine-contextmenu-v6?style=flat-square
144
+ [closed-issues-image]: https://img.shields.io/github/issues-closed-raw/icflorescu/mantine-contextmenu-v6?style=flat-square
145
+ [language-image]: https://img.shields.io/github/languages/top/icflorescu/mantine-contextmenu-v6?style=flat-square
145
146
  [sponsor-image]: https://img.shields.io/badge/sponsor-violet?style=flat-square
146
147
  [sponsor-url]: https://github.com/sponsors/icflorescu
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "mantine-contextmenu",
3
- "version": "6.0.1",
3
+ "version": "6.0.3",
4
4
  "description": "Enhance your Mantine UI applications usability with customizable context menus",
5
5
  "keywords": [
6
6
  "ui",
7
7
  "mantine",
8
+ "mantine-v6",
8
9
  "context",
9
10
  "menu",
10
11
  "context-menu",
@@ -54,8 +55,8 @@
54
55
  "devDependencies": {
55
56
  "@mantine/core": "^6.0.21",
56
57
  "@mantine/hooks": "^6.0.21",
57
- "@types/react": "^18.2.25",
58
- "@types/react-dom": "^18.2.10",
58
+ "@types/react": "^18.2.28",
59
+ "@types/react-dom": "^18.2.13",
59
60
  "esbuild": "^0.19.4",
60
61
  "react": "^18.2.0",
61
62
  "typescript": "^5.2.2"