From 1b0af2e42266e657f5f5dc3fcbbe866ced7e0d0c Mon Sep 17 00:00:00 2001 From: Matthew Lipski Date: Thu, 25 Sep 2025 18:35:07 +0200 Subject: [PATCH] Updated remaining examples --- .../04-comments/.bnexample.json | 2 +- .../07-collaboration/04-comments/package.json | 2 +- .../05-comments-with-sidebar/.bnexample.json | 2 +- .../05-comments-with-sidebar/package.json | 2 +- playground/src/examples.gen.tsx | 4 +- pnpm-lock.yaml | 65 +++++++++++++++++-- 6 files changed, 65 insertions(+), 12 deletions(-) diff --git a/examples/07-collaboration/04-comments/.bnexample.json b/examples/07-collaboration/04-comments/.bnexample.json index da901b915b..3377ae7eb8 100644 --- a/examples/07-collaboration/04-comments/.bnexample.json +++ b/examples/07-collaboration/04-comments/.bnexample.json @@ -5,6 +5,6 @@ "tags": ["Advanced", "Comments", "Collaboration"], "dependencies": { "@y-sweet/react": "^0.6.3", - "@mantine/core": "^7.10.1" + "@mantine/core": "^8.3.2" } } diff --git a/examples/07-collaboration/04-comments/package.json b/examples/07-collaboration/04-comments/package.json index 743c7f5b98..cd75f51cfa 100644 --- a/examples/07-collaboration/04-comments/package.json +++ b/examples/07-collaboration/04-comments/package.json @@ -18,7 +18,7 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "@y-sweet/react": "^0.6.3", - "@mantine/core": "^7.10.1" + "@mantine/core": "^8.3.2" }, "devDependencies": { "@types/react": "^19.1.0", diff --git a/examples/07-collaboration/05-comments-with-sidebar/.bnexample.json b/examples/07-collaboration/05-comments-with-sidebar/.bnexample.json index 5d190c21b6..8578198b28 100644 --- a/examples/07-collaboration/05-comments-with-sidebar/.bnexample.json +++ b/examples/07-collaboration/05-comments-with-sidebar/.bnexample.json @@ -5,6 +5,6 @@ "tags": ["Advanced", "Comments", "Collaboration"], "dependencies": { "@y-sweet/react": "^0.6.3", - "@mantine/core": "^7.10.1" + "@mantine/core": "^8.3.2" } } diff --git a/examples/07-collaboration/05-comments-with-sidebar/package.json b/examples/07-collaboration/05-comments-with-sidebar/package.json index eb2dfc1f9a..93c8a33fc5 100644 --- a/examples/07-collaboration/05-comments-with-sidebar/package.json +++ b/examples/07-collaboration/05-comments-with-sidebar/package.json @@ -18,7 +18,7 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "@y-sweet/react": "^0.6.3", - "@mantine/core": "^7.10.1" + "@mantine/core": "^8.3.2" }, "devDependencies": { "@types/react": "^19.1.0", diff --git a/playground/src/examples.gen.tsx b/playground/src/examples.gen.tsx index 2928ad3acf..b0af32c689 100644 --- a/playground/src/examples.gen.tsx +++ b/playground/src/examples.gen.tsx @@ -1442,7 +1442,7 @@ ], "dependencies": { "@y-sweet/react": "^0.6.3", - "@mantine/core": "^7.10.1" + "@mantine/core": "^8.3.2" } as any }, "title": "Comments & Threads", @@ -1467,7 +1467,7 @@ ], "dependencies": { "@y-sweet/react": "^0.6.3", - "@mantine/core": "^7.10.1" + "@mantine/core": "^8.3.2" } as any }, "title": "Threads Sidebar", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f9b0ee5ed0..82644bd54c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2921,8 +2921,8 @@ importers: specifier: latest version: link:../../../packages/shadcn '@mantine/core': - specifier: ^7.10.1 - version: 7.17.3(@mantine/hooks@7.17.3(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + specifier: ^8.3.2 + version: 8.3.2(@mantine/hooks@7.17.3(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) '@y-sweet/react': specifier: ^0.6.3 version: 0.6.4(react@19.1.0)(yjs@13.6.27) @@ -2964,8 +2964,8 @@ importers: specifier: latest version: link:../../../packages/shadcn '@mantine/core': - specifier: ^7.10.1 - version: 7.17.3(@mantine/hooks@7.17.3(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + specifier: ^8.3.2 + version: 8.3.2(@mantine/hooks@7.17.3(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) '@y-sweet/react': specifier: ^0.6.3 version: 0.6.4(react@19.1.0)(yjs@13.6.27) @@ -6790,6 +6790,13 @@ packages: react: ^18.x || ^19.x react-dom: ^18.x || ^19.x + '@mantine/core@8.3.2': + resolution: {integrity: sha512-uIHC9ooEZ9E+/pw8ag4f8pi0GmwSQ1DYnETjr4a4ZNVKJHfVv5NSkjprBxPrKJq9oox/SdcrAWy5XlKTwBzRag==} + peerDependencies: + '@mantine/hooks': 8.3.2 + react: ^18.x || ^19.x + react-dom: ^18.x || ^19.x + '@mantine/hooks@7.17.3': resolution: {integrity: sha512-6o65Rbfl8jd1C1nF9icvungqL0qZViEOmrZgkyKXxBYkC3x91fz4zftwQgNjt1tZHWDNO6Bo4GpRjJyAdwl48g==} peerDependencies: @@ -13536,6 +13543,12 @@ packages: react: ^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom: ^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react-number-format@5.4.4: + resolution: {integrity: sha512-wOmoNZoOpvMminhifQYiYSTCLUDOiUbBunrMrMjA+dV52sY+vck1S4UhR6PkgnoCquvvMSeJjErXZ4qSaWCliA==} + peerDependencies: + react: ^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react-dom: ^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react-promise-suspense@0.3.4: resolution: {integrity: sha512-I42jl7L3Ze6kZaq+7zXWSunBa3b1on5yfvUW6Eo/3fFOj6dZ5Bqmcd264nJbTK/gn1HjjILAjSwnZbV4RpSaNQ==} @@ -13606,6 +13619,12 @@ packages: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react-textarea-autosize@8.5.9: + resolution: {integrity: sha512-U1DGlIQN5AwgjTyOEnI1oCcMuEr1pv1qOtklB2l4nyMGbHzWrI0eFsYK0zos2YWqAolJyG0IWJaqWmWj5ETh0A==} + engines: {node: '>=10'} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react-transition-group@4.4.5: resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==} peerDependencies: @@ -14496,6 +14515,10 @@ packages: resolution: {integrity: sha512-2dBz5D5ycHIoliLYLi0Q2V7KRaDlH0uWIvmk7TYlAg5slqwiPv1ezJdZm1QEM0xgk29oYWMCbIG7E6gHpvChlg==} engines: {node: '>=16'} + type-fest@4.41.0: + resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} + engines: {node: '>=16'} + typed-array-buffer@1.0.3: resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==} engines: {node: '>= 0.4'} @@ -17560,6 +17583,20 @@ snapshots: transitivePeerDependencies: - '@types/react' + '@mantine/core@8.3.2(@mantine/hooks@7.17.3(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': + dependencies: + '@floating-ui/react': 0.27.16(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + '@mantine/hooks': 7.17.3(react@19.1.0) + clsx: 2.1.1 + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + react-number-format: 5.4.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + react-remove-scroll: 2.7.1(@types/react@19.1.8)(react@19.1.0) + react-textarea-autosize: 8.5.9(@types/react@19.1.8)(react@19.1.0) + type-fest: 4.41.0 + transitivePeerDependencies: + - '@types/react' + '@mantine/hooks@7.17.3(react@19.1.0)': dependencies: react: 19.1.0 @@ -25601,6 +25638,11 @@ snapshots: react: 19.1.0 react-dom: 19.1.0(react@19.1.0) + react-number-format@5.4.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0): + dependencies: + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + react-promise-suspense@0.3.4: dependencies: fast-deep-equal: 2.0.1 @@ -25661,7 +25703,16 @@ snapshots: react-textarea-autosize@8.5.6(@types/react@19.1.8)(react@19.1.0): dependencies: - '@babel/runtime': 7.27.6 + '@babel/runtime': 7.28.4 + react: 19.1.0 + use-composed-ref: 1.4.0(@types/react@19.1.8)(react@19.1.0) + use-latest: 1.3.0(@types/react@19.1.8)(react@19.1.0) + transitivePeerDependencies: + - '@types/react' + + react-textarea-autosize@8.5.9(@types/react@19.1.8)(react@19.1.0): + dependencies: + '@babel/runtime': 7.28.4 react: 19.1.0 use-composed-ref: 1.4.0(@types/react@19.1.8)(react@19.1.0) use-latest: 1.3.0(@types/react@19.1.8)(react@19.1.0) @@ -25764,7 +25815,7 @@ snapshots: regenerator-transform@0.15.2: dependencies: - '@babel/runtime': 7.27.6 + '@babel/runtime': 7.28.4 regex-recursion@6.0.2: dependencies: @@ -26779,6 +26830,8 @@ snapshots: type-fest@4.38.0: {} + type-fest@4.41.0: {} + typed-array-buffer@1.0.3: dependencies: call-bound: 1.0.4