diff --git a/example/package.json b/example/package.json index 2178d30..e303545 100644 --- a/example/package.json +++ b/example/package.json @@ -23,8 +23,8 @@ "@emotion/styled": "11.11.5", "@graasp/query-client": "github:graasp/graasp-query-client#item-packed", "@graasp/sdk": "github:graasp/graasp-sdk#packed", - "@graasp/translations": "1.23.0", - "@graasp/ui": "4.5.1", + "@graasp/translations": "1.30.3", + "@graasp/ui": "4.20.0", "@mui/icons-material": "5.15.20", "@mui/lab": "5.0.0-alpha.170", "@mui/material": "5.15.20", diff --git a/package.json b/package.json index 1c00154..447a225 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "dependencies": { "@emotion/react": "11.11.4", "@emotion/styled": "11.11.5", - "@graasp/sdk": "4.7.6", + "@graasp/sdk": "4.15.0", "@graasp/translations": "1.30.3", "@graasp/ui": "4.20.0", "@mui/icons-material": "5.15.20", diff --git a/yarn.lock b/yarn.lock index 652e69e..3843308 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2679,7 +2679,7 @@ __metadata: "@emotion/react": "npm:11.11.4" "@emotion/styled": "npm:11.11.5" "@graasp/query-client": "npm:2.9.1" - "@graasp/sdk": "npm:4.7.6" + "@graasp/sdk": "npm:4.15.0" "@graasp/translations": "npm:1.30.3" "@graasp/ui": "npm:4.20.0" "@mui/icons-material": "npm:5.15.20" @@ -2798,39 +2798,18 @@ __metadata: languageName: node linkType: hard -"@graasp/sdk@npm:3.5.0": - version: 3.5.0 - resolution: "@graasp/sdk@npm:3.5.0" - dependencies: - date-fns: "npm:3.2.0" - js-cookie: "npm:3.0.5" - uuid: "npm:9.0.1" - validator: "npm:13.11.0" - checksum: 10/dfbb9977904336214e411c93a33084fca8e07cb73145f655a070dfdb81a772d6a0412849ee07c8ee2e74497d59f960a8ef1989062a4e41d78ad5d22b24e8a8db - languageName: node - linkType: hard - -"@graasp/sdk@npm:4.7.6": - version: 4.7.6 - resolution: "@graasp/sdk@npm:4.7.6" +"@graasp/sdk@npm:4.15.0": + version: 4.15.0 + resolution: "@graasp/sdk@npm:4.15.0" dependencies: "@faker-js/faker": "npm:8.4.1" - filesize: "npm:10.1.1" + filesize: "npm:10.1.2" js-cookie: "npm:3.0.5" - validator: "npm:13.11.0" + validator: "npm:13.12.0" peerDependencies: date-fns: ^3 - uuid: ^9 - checksum: 10/ac12c6438b0c71502b4b837f98b0dbc164c604a98c23064a5bc0ef233486be8012176fd4cbee3879db2cd468cefd5489678703709ae1b4e766f431ef3ac9f7b2 - languageName: node - linkType: hard - -"@graasp/translations@npm:1.23.0": - version: 1.23.0 - resolution: "@graasp/translations@npm:1.23.0" - dependencies: - i18next: "npm:23.7.16" - checksum: 10/dc0d605b520a28deb1ad3054323dc4b71f709b79adf5924552c602f3c3ed2fa7c3c8538a3015c86c8db05867159df4b2f6ad18583766b2b97c8dd850952d29e2 + uuid: ^9 || ^10.0.0 + checksum: 10/02bd822171627b980804d702ac772635ba7288e10da9f8e2cce47893b79c663c410c51e3152e527151449c20f902b08e518a0aac420e059b027e387fb0b6f9e4 languageName: node linkType: hard @@ -2884,46 +2863,6 @@ __metadata: languageName: node linkType: hard -"@graasp/ui@npm:4.5.1": - version: 4.5.1 - resolution: "@graasp/ui@npm:4.5.1" - dependencies: - "@graasp/sdk": "npm:3.5.0" - http-status-codes: "npm:2.3.0" - katex: "npm:0.16.9" - lodash.truncate: "npm:4.4.2" - quill-emoji: "npm:0.2.0" - react-cookie-consent: "npm:9.0.0" - react-quill: "npm:2.0.0-beta.4" - react-rnd: "npm:10.4.1" - react-text-mask: "npm:5.5.0" - short-uuid: "npm:4.2.2" - uuid: "npm:9.0.1" - peerDependencies: - "@emotion/cache": ~11.10.7 || ~11.11.0 - "@emotion/react": ~11.10.6 || ~11.11.0 - "@emotion/styled": ~11.10.6 || ~11.11.0 - "@mui/icons-material": ~5.11.9 || ~5.13.0 || ~5.14.0 || ~5.15.0 - "@mui/lab": ~5.0.0-alpha.120 - "@mui/material": ~5.11.9 || ~5.13.0 || ~5.14.0 || ~5.15.0 - ag-grid-community: 29.3.5 - ag-grid-react: 29.3.5 - i18next: ^22.4.15 || ^23.0.0 - react: ^18.2.0 - react-dom: ^18.2.0 - react-i18next: ^13.5.0 - react-router-dom: ^6.11.0 - stylis: ^4.1.3 - stylis-plugin-rtl: ^2.1.1 - peerDependenciesMeta: - ag-grid-community: - optional: true - ag-grid-react: - optional: true - checksum: 10/659135ea821492202155706c4ae6c0effda5aa862ae302c9b056c3220476bc1d4042d2a25ed6d3f808f061370c8f2b970b81de1db88fb9dd9f3ab71712640db4 - languageName: node - linkType: hard - "@hapi/hoek@npm:^9.0.0, @hapi/hoek@npm:^9.3.0": version: 9.3.0 resolution: "@hapi/hoek@npm:9.3.0" @@ -7297,13 +7236,6 @@ __metadata: languageName: node linkType: hard -"amdefine@npm:>=0.0.4": - version: 1.0.1 - resolution: "amdefine@npm:1.0.1" - checksum: 10/517df65fc33d3ff14fe5c0057e041b03d603a2254dea7968b05dfbfa3041eb8430ea6729e305bc428c03fad03f162de91a4b256692d27d7b81d3ee691312cffe - languageName: node - linkType: hard - "ansi-escapes@npm:^4.2.1": version: 4.3.2 resolution: "ansi-escapes@npm:4.3.2" @@ -7368,13 +7300,6 @@ __metadata: languageName: node linkType: hard -"any-base@npm:^1.1.0": - version: 1.1.0 - resolution: "any-base@npm:1.1.0" - checksum: 10/c1fd040de52e710e2de7d9ae4df52bac589f35622adb24686c98ce21c7b824859a8db9614bc119ed8614f42fd08918b2612e6a6c385480462b3100a1af59289d - languageName: node - linkType: hard - "anymatch@npm:^3.0.3, anymatch@npm:~3.1.2": version: 3.1.3 resolution: "anymatch@npm:3.1.3" @@ -8312,18 +8237,6 @@ __metadata: languageName: node linkType: hard -"clean-css@npm:^3.4.20": - version: 3.4.28 - resolution: "clean-css@npm:3.4.28" - dependencies: - commander: "npm:2.8.x" - source-map: "npm:0.4.x" - bin: - cleancss: ./bin/cleancss - checksum: 10/36da05cf7705fedd527cd2fd7fc3066949544db4cc75b1087df7de70012cb3c1ac24c16f847440595cdd199af4f2cbf5d7af547458933154e64b14d5bfbacfd8 - languageName: node - linkType: hard - "clean-stack@npm:^2.0.0": version: 2.2.0 resolution: "clean-stack@npm:2.2.0" @@ -8483,15 +8396,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:2.8.x": - version: 2.8.1 - resolution: "commander@npm:2.8.1" - dependencies: - graceful-readlink: "npm:>= 1.0.0" - checksum: 10/051763f4bbb293625e8f6d1a5f76b6efae635d8d5b1cd41171b5b00d03bf64a55fda1cc597f8adeba00b8c85e4404f27715c7c081f1bf3345796bd9ae7f5a385 - languageName: node - linkType: hard - "commander@npm:^3.0.2": version: 3.0.2 resolution: "commander@npm:3.0.2" @@ -8887,13 +8791,6 @@ __metadata: languageName: node linkType: hard -"date-fns@npm:3.2.0": - version: 3.2.0 - resolution: "date-fns@npm:3.2.0" - checksum: 10/2f36cb9165a066ae90c0b6f0c25b3c70eb75bc52e64ba6dd8680964ebda144851a244ff4ed0b2afb4a6bab796a1af6a0e6c7c2814529d04c72fa434f931d4e81 - languageName: node - linkType: hard - "date-fns@npm:3.3.1": version: 3.3.1 resolution: "date-fns@npm:3.3.1" @@ -9397,23 +9294,6 @@ __metadata: languageName: node linkType: hard -"emoji-data-css@npm:^1.0.1": - version: 1.0.1 - resolution: "emoji-data-css@npm:1.0.1" - dependencies: - clean-css: "npm:^3.4.20" - emoji-datasource: "npm:^2.4.4" - checksum: 10/e9d66e9dc1beaddcbf8d76ac1a70035c5f1ce46411c623d2bce0a07f1c93a8456c679467896c131edfa6756d92a3541a692b22bc270159532b07a92577b7e107 - languageName: node - linkType: hard - -"emoji-datasource@npm:^2.4.4": - version: 2.4.4 - resolution: "emoji-datasource@npm:2.4.4" - checksum: 10/0b1dd3970e6bb7a095b20bd65cbd9a8c95f1ee47f6d277b66a3ee586f1c888f6ffe1bca116dad69092f53bd9fa7883df6381cc047fd95aec8c07cfba0a7fb25b - languageName: node - linkType: hard - "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -10459,8 +10339,8 @@ __metadata: "@emotion/styled": "npm:11.11.5" "@graasp/query-client": "github:graasp/graasp-query-client#item-packed" "@graasp/sdk": "github:graasp/graasp-sdk#packed" - "@graasp/translations": "npm:1.23.0" - "@graasp/ui": "npm:4.5.1" + "@graasp/translations": "npm:1.30.3" + "@graasp/ui": "npm:4.20.0" "@mui/icons-material": "npm:5.15.20" "@mui/lab": "npm:5.0.0-alpha.170" "@mui/material": "npm:5.15.20" @@ -10688,13 +10568,6 @@ __metadata: languageName: node linkType: hard -"fast-memoize@npm:^2.5.1": - version: 2.5.2 - resolution: "fast-memoize@npm:2.5.2" - checksum: 10/b7e2839d70607c791ffda617bb3cf7d9944bd5483be05cedbc060be1381c79093efc470215f1bc5aa666b8ecc2c9ae49e6f56ab6f45f0c1474f6628651c9959b - languageName: node - linkType: hard - "fastq@npm:^1.6.0": version: 1.17.1 resolution: "fastq@npm:1.17.1" @@ -10757,10 +10630,10 @@ __metadata: languageName: node linkType: hard -"filesize@npm:10.1.1": - version: 10.1.1 - resolution: "filesize@npm:10.1.1" - checksum: 10/3d4d05930ec3de16d9cb8c8f4061df1218d3eac4d69521deb3f768cbe7451ff82fe4af3bbf562e1f3a491b96c42e445d65af3cefec90a5deff0ec302dda42ede +"filesize@npm:10.1.2": + version: 10.1.2 + resolution: "filesize@npm:10.1.2" + checksum: 10/47830a299cc8cfe7b90089a6c37790d2334f3057b98efd891e1e2e1683c8076962d9bd1d600eb77bb9bc33f5e7c4682e07ccb62281b8833b923d39c5c322e983 languageName: node linkType: hard @@ -11120,13 +10993,6 @@ __metadata: languageName: node linkType: hard -"fuse.js@npm:^3.3.0": - version: 3.6.1 - resolution: "fuse.js@npm:3.6.1" - checksum: 10/b0aae7e44a405a9cb2b7e4bb4532fcaca32f103a16c6ed5617c631c9e8f4b27174306b824b4bb2466eb2e29f9ca8a1024e60300ead18765cd544814ea4e86223 - languageName: node - linkType: hard - "gensync@npm:^1.0.0-beta.2": version: 1.0.0-beta.2 resolution: "gensync@npm:1.0.0-beta.2" @@ -11414,13 +11280,6 @@ __metadata: languageName: node linkType: hard -"graceful-readlink@npm:>= 1.0.0": - version: 1.0.1 - resolution: "graceful-readlink@npm:1.0.1" - checksum: 10/9ecd6cbbcac5a0070c89f3e4279a9a812f21270aa0eacd3d7150c05ec27e0a0773064813226cbb18fa28162f44a7175a9a4911ca9e539d6c03ee9d3f21b78381 - languageName: node - linkType: hard - "graphemer@npm:^1.4.0": version: 1.4.0 resolution: "graphemer@npm:1.4.0" @@ -11753,15 +11612,6 @@ __metadata: languageName: node linkType: hard -"i18next@npm:23.7.16": - version: 23.7.16 - resolution: "i18next@npm:23.7.16" - dependencies: - "@babel/runtime": "npm:^7.23.2" - checksum: 10/77e74c07a73316f6fb6678a5a3e8ce58a6e66be457dd1ccd23941e9fc57ad8e1da55193fa6328c70b86073337b776cd267f3c13c6309f548b3116f27a1e41787 - languageName: node - linkType: hard - "iconv-lite@npm:0.4.24": version: 0.4.24 resolution: "iconv-lite@npm:0.4.24" @@ -13321,17 +13171,6 @@ __metadata: languageName: node linkType: hard -"katex@npm:0.16.9": - version: 0.16.9 - resolution: "katex@npm:0.16.9" - dependencies: - commander: "npm:^8.3.0" - bin: - katex: cli.js - checksum: 10/0a1ea1e87c286f845ccd12adadb39e5bc6655c830229195697e5ed74b525f3a4595e77ed3de57d3cfc678476c4bc074ee421fc2dc156554a11968f9d9b5093ea - languageName: node - linkType: hard - "keyv@npm:^4.5.3": version: 4.5.4 resolution: "keyv@npm:4.5.4" @@ -15260,18 +15099,6 @@ __metadata: languageName: node linkType: hard -"quill-emoji@npm:0.2.0": - version: 0.2.0 - resolution: "quill-emoji@npm:0.2.0" - dependencies: - emoji-data-css: "npm:^1.0.1" - fuse.js: "npm:^3.3.0" - peerDependencies: - quill: ^1.3.5 - checksum: 10/dbeb3532706cbbb08ca552a5bb64cccf214d04bb4789cfd626f19295d1eb403c3986e4b8634a2f57995ea258db271b12b9c6b5aaf7bca343636a1d93a4f08a9e - languageName: node - linkType: hard - "quill@npm:^1.3.7": version: 1.3.7 resolution: "quill@npm:1.3.7" @@ -15322,18 +15149,6 @@ __metadata: languageName: node linkType: hard -"re-resizable@npm:6.9.6": - version: 6.9.6 - resolution: "re-resizable@npm:6.9.6" - dependencies: - fast-memoize: "npm:^2.5.1" - peerDependencies: - react: ^16.13.1 || ^17.0.0 || ^18.0.0 - react-dom: ^16.13.1 || ^17.0.0 || ^18.0.0 - checksum: 10/f2d3e29b1346e0c25f02690ea1e196fb28f93b091dc29c8847501336321eaec252e0bd4a962c7030a9ac1067aa6b4ad10965c3c3fd0b41bfe83a9b274a6785ec - languageName: node - linkType: hard - "react-colorful@npm:^5.1.2": version: 5.6.1 resolution: "react-colorful@npm:5.6.1" @@ -15439,19 +15254,6 @@ __metadata: languageName: node linkType: hard -"react-draggable@npm:4.4.5": - version: 4.4.5 - resolution: "react-draggable@npm:4.4.5" - dependencies: - clsx: "npm:^1.1.1" - prop-types: "npm:^15.8.1" - peerDependencies: - react: ">= 16.3.0" - react-dom: ">= 16.3.0" - checksum: 10/a6af765a71a62636a9c12868e9015e86e0160fbd9218a895200813f502e9ff848b8aab16ff7177faa808dd5a498b8a03c355edd2be0b823ec1035e91edf2103d - languageName: node - linkType: hard - "react-draggable@npm:4.4.6": version: 4.4.6 resolution: "react-draggable@npm:4.4.6" @@ -15566,20 +15368,6 @@ __metadata: languageName: node linkType: hard -"react-quill@npm:2.0.0-beta.4": - version: 2.0.0-beta.4 - resolution: "react-quill@npm:2.0.0-beta.4" - dependencies: - "@types/quill": "npm:^1.3.10" - lodash: "npm:^4.17.4" - quill: "npm:^1.3.7" - peerDependencies: - react: ^16 || ^17 - react-dom: ^16 || ^17 - checksum: 10/1797259893bd9f3c3650e47b5dfc6332f815e2276276119fa3a73e95b755d46b06415f09d3d7d1b7c2b3744d9dea27ff7cf620700ad95d65dd1c7a9152f13064 - languageName: node - linkType: hard - "react-refresh@npm:^0.14.0": version: 0.14.0 resolution: "react-refresh@npm:0.14.0" @@ -15622,20 +15410,6 @@ __metadata: languageName: node linkType: hard -"react-rnd@npm:10.4.1": - version: 10.4.1 - resolution: "react-rnd@npm:10.4.1" - dependencies: - re-resizable: "npm:6.9.6" - react-draggable: "npm:4.4.5" - tslib: "npm:2.3.1" - peerDependencies: - react: ">=16.3.0" - react-dom: ">=16.3.0" - checksum: 10/5de93696276006c137ea45d0c77b164b9274f26e42a5be9c51ba83e3cfaf91ec9c6497951933f5812251b91074e81e7d48d2abc827e455ee30e69711c5d5eb11 - languageName: node - linkType: hard - "react-rnd@npm:10.4.11": version: 10.4.11 resolution: "react-rnd@npm:10.4.11" @@ -16520,16 +16294,6 @@ __metadata: languageName: node linkType: hard -"short-uuid@npm:4.2.2": - version: 4.2.2 - resolution: "short-uuid@npm:4.2.2" - dependencies: - any-base: "npm:^1.1.0" - uuid: "npm:^8.3.2" - checksum: 10/fcd0cef08c5f3f4c1e5d1f716a9a92efbadf8131a22ba6e399f7cf9257e7f18084995e6dc3e950cc705bcdee4c4e982a752872caf1305314713fc86357d68480 - languageName: node - linkType: hard - "side-channel@npm:^1.0.4": version: 1.0.5 resolution: "side-channel@npm:1.0.5" @@ -16651,15 +16415,6 @@ __metadata: languageName: node linkType: hard -"source-map@npm:0.4.x": - version: 0.4.4 - resolution: "source-map@npm:0.4.4" - dependencies: - amdefine: "npm:>=0.0.4" - checksum: 10/a7bb09072126c7c799aa69b7ab601e9c9088272e1838be1fd76c5565c4c5766af46c940e9712547cf4e068f47432a251aa55393bdbb937c35593e9e96f9eea62 - languageName: node - linkType: hard - "source-map@npm:^0.5.0, source-map@npm:^0.5.7": version: 0.5.7 resolution: "source-map@npm:0.5.7" @@ -17466,13 +17221,6 @@ __metadata: languageName: node linkType: hard -"tslib@npm:2.3.1": - version: 2.3.1 - resolution: "tslib@npm:2.3.1" - checksum: 10/5e7de59ed9f2b705b399bda28326b7c3e7526deb48bbe1716e2e17fbd4cecbb610253d09c7b8fd0a6e76cfed9304e2e608cdb81bb1ee812d69e5089d1a94c71a - languageName: node - linkType: hard - "tslib@npm:2.6.2, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.4.0": version: 2.6.2 resolution: "tslib@npm:2.6.2" @@ -17993,21 +17741,21 @@ __metadata: languageName: node linkType: hard -"uuid@npm:9.0.1, uuid@npm:^9.0.0": - version: 9.0.1 - resolution: "uuid@npm:9.0.1" +"uuid@npm:^8.3.2": + version: 8.3.2 + resolution: "uuid@npm:8.3.2" bin: uuid: dist/bin/uuid - checksum: 10/9d0b6adb72b736e36f2b1b53da0d559125ba3e39d913b6072f6f033e0c87835b414f0836b45bcfaf2bdf698f92297fea1c3cc19b0b258bc182c9c43cc0fab9f2 + checksum: 10/9a5f7aa1d6f56dd1e8d5f2478f855f25c645e64e26e347a98e98d95781d5ed20062d6cca2eecb58ba7c84bc3910be95c0451ef4161906abaab44f9cb68ffbdd1 languageName: node linkType: hard -"uuid@npm:^8.3.2": - version: 8.3.2 - resolution: "uuid@npm:8.3.2" +"uuid@npm:^9.0.0": + version: 9.0.1 + resolution: "uuid@npm:9.0.1" bin: uuid: dist/bin/uuid - checksum: 10/9a5f7aa1d6f56dd1e8d5f2478f855f25c645e64e26e347a98e98d95781d5ed20062d6cca2eecb58ba7c84bc3910be95c0451ef4161906abaab44f9cb68ffbdd1 + checksum: 10/9d0b6adb72b736e36f2b1b53da0d559125ba3e39d913b6072f6f033e0c87835b414f0836b45bcfaf2bdf698f92297fea1c3cc19b0b258bc182c9c43cc0fab9f2 languageName: node linkType: hard @@ -18046,6 +17794,13 @@ __metadata: languageName: node linkType: hard +"validator@npm:13.12.0": + version: 13.12.0 + resolution: "validator@npm:13.12.0" + checksum: 10/db6eb0725e2b67d60d30073ae8573982713b5903195d031dc3c7db7e82df8b74e8c13baef8e2106d146d979599fd61a06cde1fec5c148e4abd53d52817ff0fd9 + languageName: node + linkType: hard + "vary@npm:~1.1.2": version: 1.1.2 resolution: "vary@npm:1.1.2"