Skip to content

Commit

Permalink
Merge pull request #4 from icflorescu/next
Browse files Browse the repository at this point in the history
Update texts in README & docs website, bump vers.
  • Loading branch information
icflorescu authored Oct 19, 2023
2 parents a62c9cf + bfd54e6 commit b98edff
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 43 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Mantine ContextMenu V6

**⚠️ Mantine-ContextMenu V6 is compatible with [Mantine V6](https://v6.mantine.dev).**
**💡 If you're using Mantine V7, please use [Mantine-ContextMenu V7](https://icflorescu.github.io/mantine-contextmenu/).**
**⚠️ Mantine ContextMenu V6 is compatible with [Mantine V6](https://v6.mantine.dev).**
**💡 If you're using Mantine V7, please use [Mantine ContextMenu V7](https://icflorescu.github.io/mantine-contextmenu/).**

![Publish NPM & deploy docs workflow](https://github.com/icflorescu/mantine-contextmenu-v6/actions/workflows/publish-and-deploy.yml/badge.svg)
[![NPM version][npm-image]][npm-url]
Expand Down
10 changes: 5 additions & 5 deletions docs/components/homePage/HomePageSubtitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Text, createStyles } from '@mantine/core';
import { IconDiscountCheck, IconExclamationCircle, IconExternalLink } from '@tabler/icons-react';
import ExternalLink from '~/components/ExternalLink';
import { MANTINE_DATATABLE_LINK } from '~/config';
import InternalLink from '../InternalLink';

const useStyles = createStyles((theme) => ({
root: {
Expand Down Expand Up @@ -44,11 +43,12 @@ export function HomePageSubtitle() {
<br />
</Text>
<Text className={classes.paragraph} color="dimmed" size="sm">
<IconExclamationCircle className={cx(classes.startIcon, classes.exclamationIcon)} size={18} /> supports{' '}
<ExternalLink className={classes.link} to="https://v6.mantine.dev/">
Mantine V6 <IconExternalLink className={classes.linkIcon} size={14} />
<IconExclamationCircle className={cx(classes.startIcon, classes.exclamationIcon)} size={18} /> this version
supports Mantine V6; the new version supporting Mantine V7{' '}
<ExternalLink to="https://icflorescu.github.io/mantine-contextmenu/">
is available here <IconExternalLink className={classes.linkIcon} size={14} />
</ExternalLink>
; support for Mantine V7 <InternalLink to="/mantine-v7-support">is on the roadmap</InternalLink>.
.
</Text>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mantine-contextmenu-docs",
"version": "6.0.4",
"version": "6.0.5",
"description": "Docs website for mantine-contextmenu; see ../package/package.json for more info",
"private": true,
"scripts": {
Expand Down
38 changes: 5 additions & 33 deletions docs/pages/mantine-v7-support.tsx
Original file line number Diff line number Diff line change
@@ -1,49 +1,21 @@
import { Code, Container } from '@mantine/core';
import { Container } from '@mantine/core';
import ExternalLink from '~/components/ExternalLink';
import PageNavigation from '~/components/PageNavigation';
import PageText from '~/components/PageText';
import PageTitle from '~/components/PageTitle';
import { AUTHOR_LINK, MANTINE_DATATABLE_LINK, MANTINE_LINK, SPONSOR_LINK } from '~/config';

const PATH = 'mantine-v7-support';

export default function Page() {
return (
<Container>
<PageTitle of={PATH} />
<PageText warning>
Mantine ContextMenu V6 supports <ExternalLink to="https://v6.mantine.dev/">Mantine V6</ExternalLink>.
<br />
<ExternalLink to={MANTINE_LINK}>Mantine V7</ExternalLink> support is on the roadmap. You can help speed up the
process by <ExternalLink to={SPONSOR_LINK}>sponsoring me on GitHub</ExternalLink>.
</PageText>
<PageText>
As most of you already know, Mantine V7 came up with{' '}
<ExternalLink to="https://mantine.dev/changelog/7-0-0/">
a significant number of breaking changes, most of them referring to how styling is implemented
</ExternalLink>
.
</PageText>
<PageText>
As some of you know, Mantine-ContextMenu was born as an experiment related to{' '}
<ExternalLink to={MANTINE_DATATABLE_LINK}>Mantine-DataTable</ExternalLink>, one of my dearest open-source
projects.
</PageText>
<PageText>
While <ExternalLink to={MANTINE_DATATABLE_LINK}>Mantine-DataTable</ExternalLink> has over 650 GitHub stars and
35k <Code>npm</Code> downloads per month (as of October 1st 2023) and is being used by lots of startups and
developers worldwide, I’m still struggling with raising enough funds to be able to dedicate as much time as I’d
like to the project.
</PageText>
<PageText>
To put it bluntly, building and maintaining successful open-source projects doesn’t pay my bills, or maybe I’m
simply not yet good enough at raising awareness and converting it into sponsorship income.
Mantine ContextMenu V6 supports <ExternalLink to="https://v6.mantine.dev/">Mantine V6</ExternalLink>.
</PageText>
<PageText>The very same applies to Mantine-ContextMenu.</PageText>
<PageText>
Thank you for your support and understanding,
<br />
<ExternalLink to={AUTHOR_LINK}>Ionut-Cristian Florescu</ExternalLink>
<PageText info>
If you are using <ExternalLink to="https://mantine.dev/">Mantine V7</ExternalLink>, please use{' '}
<ExternalLink to="https://icflorescu.github.io/mantine-contextmenu/">Mantine ContextMenu V7</ExternalLink>.
</PageText>
<PageNavigation of={PATH} />
</Container>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mantine-contextmenu-turborepo",
"version": "6.0.4",
"version": "6.0.5",
"description": "This is a monorepo; see package/package.json for more info",
"private": true,
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mantine-contextmenu",
"version": "6.0.4",
"version": "6.0.5",
"description": "Enhance your Mantine UI applications usability with customizable context menus",
"keywords": [
"ui",
Expand Down

0 comments on commit b98edff

Please sign in to comment.