Skip to content

Commit

Permalink
[@mantine/tiptap] Update @tabler/icons installation instructions (#3415)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Jan 25, 2023
1 parent e768f59 commit 5a92ed5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/components/PackagesInstallation/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const PACKAGES_DATA = [
'@mantine/hooks',
'@mantine/core',
'@mantine/tiptap',
'@tabler/icons',
'@tabler/icons@1.119.0',
'@tiptap/react',
'@tiptap/extension-link',
'@tiptap/starter-kit',
Expand Down
4 changes: 2 additions & 2 deletions docs/src/docs/others/tiptap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ import { TipTapDemos } from '@mantine/demos';
Install with yarn:

```bash
yarn add @mantine/tiptap @mantine/core @mantine/hooks @tabler/icons @tiptap/react @tiptap/extension-link @tiptap/starter-kit
yarn add @mantine/tiptap @mantine/core @mantine/hooks @tabler/icons@1.119.0 @tiptap/react @tiptap/extension-link @tiptap/starter-kit
```

Install with npm:

```bash
npm install @mantine/tiptap @mantine/core @mantine/hooks @tabler/icons @tiptap/react @tiptap/extension-link @tiptap/starter-kit
npm install @mantine/tiptap @mantine/core @mantine/hooks @tabler/icons@1.119.0 @tiptap/react @tiptap/extension-link @tiptap/starter-kit
```

## TipTap editor
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"@emotion/styled": "^11.10.0",
"@floating-ui/react-dom-interactions": "^0.10.1",
"@radix-ui/react-scroll-area": "1.0.2",
"@tabler/icons": "^1.68.0",
"@tabler/icons": "^1.119.0",
"@tiptap/extension-code-block-lowlight": "^2.0.0-beta.202",
"@tiptap/extension-color": "^2.0.0-beta.202",
"@tiptap/extension-highlight": "^2.0.0-beta.202",
Expand Down
2 changes: 1 addition & 1 deletion src/mantine-tiptap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"peerDependencies": {
"@mantine/core": "5.10.1",
"@mantine/hooks": "5.10.1",
"@tabler/icons": "*",
"@tabler/icons": "^1.119.0",
"@tiptap/extension-link": "^2.0.0-beta.202",
"@tiptap/react": "^2.0.0-beta.202",
"react": ">=16.8.0"
Expand Down

1 comment on commit 5a92ed5

@gfazioli
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

another way is replace @tabler/icons with @tabler/icons-react which start from 2.0.0
of course, we should change also any import { Icon...} from "@tabler/icons in import { Icon...} from "@tabler/icons-react
I did it and it worked fine for me 👍

Please sign in to comment.