From 9734372c82c7fab5884072f6ea6d3f356ad8b918 Mon Sep 17 00:00:00 2001 From: Louise Wang Date: Mon, 11 Apr 2022 17:56:23 +0200 Subject: [PATCH] fix: add disabled published option --- .../item/sharing/VisibilitySelect.js | 3 + yarn.lock | 92 +++++++++---------- 2 files changed, 49 insertions(+), 46 deletions(-) diff --git a/src/components/item/sharing/VisibilitySelect.js b/src/components/item/sharing/VisibilitySelect.js index d2e69d33b..2261c61a4 100644 --- a/src/components/item/sharing/VisibilitySelect.js +++ b/src/components/item/sharing/VisibilitySelect.js @@ -245,6 +245,9 @@ const VisibilitySelect = ({ item, edit }) => { {t('Pseudonymized')} {t('Public')} + + {t('Published')} + )} {renderVisiblityIndication()} diff --git a/yarn.lock b/yarn.lock index 7d3076b7d..b44a51926 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1539,6 +1539,13 @@ __metadata: languageName: node linkType: hard +"@colors/colors@npm:1.5.0": + version: 1.5.0 + resolution: "@colors/colors@npm:1.5.0" + checksum: d64d5260bed1d5012ae3fc617d38d1afc0329fec05342f4e6b838f46998855ba56e0a73833f4a80fa8378c84810da254f76a8a19c39d038260dc06dc4e007425 + languageName: node + linkType: hard + "@commitlint/cli@npm:16.2.3": version: 16.2.3 resolution: "@commitlint/cli@npm:16.2.3" @@ -1916,7 +1923,7 @@ __metadata: "@graasp/query-client@github:graasp/graasp-query-client.git#151/validationHooks": version: 0.1.0 - resolution: "@graasp/query-client@https://github.com/graasp/graasp-query-client.git#commit=eef6b317561800c4b3771de9d3a5508d1acd47f5" + resolution: "@graasp/query-client@https://github.com/graasp/graasp-query-client.git#commit=6318b5e95d02c3727b9cac4a85998fda4191bc08" dependencies: "@graasp/translations": "github:graasp/graasp-translations.git" axios: 0.26.1 @@ -1929,7 +1936,7 @@ __metadata: uuid: 8.3.2 peerDependencies: react: ^17.0.0 - checksum: 55503e8279b58e764fe35476cac2307d396a0326e1afda691ff1faaf43ed72b682c4b5903ffbed80fdb1e86b145889b9b9553d8fb775e0fd3d126c96c6875637 + checksum: 9180e05ad4b4c78db8ecee42e8077b1bffff1f8e9720b4288e16651ef59576383f1994ddf9993815632225eb7c08c65da775ed5173c6b94f58e46999c44c0ba6 languageName: node linkType: hard @@ -3055,16 +3062,16 @@ __metadata: linkType: hard "@types/node@npm:*, @types/node@npm:>=12": - version: 17.0.23 - resolution: "@types/node@npm:17.0.23" - checksum: a3517554737cbb042e76c30d0e5482192ac4d9bea0eeb086e2622d9cabf460a0eb52a696b99fcd18e7fcc93c96db6cc7ae507f6608f256ef0b5c1d8c87a5a470 + version: 17.0.24 + resolution: "@types/node@npm:17.0.24" + checksum: 9e7c4f863601b2430b4c2429a89935f22eba692956f5013c90a4c7fb0e1401ed8add8c4307453c5d6b8b985384500f8c3f644427ab88632640cc396159af479a languageName: node linkType: hard "@types/node@npm:^14.14.31": - version: 14.18.12 - resolution: "@types/node@npm:14.18.12" - checksum: 8a0273caa0584020adb8802784fc7d4f18f05e6c205335b7f3818a91d6b0c22736b9f51da3428d5bc54076ad47f1a4d6d57990a3ce8489a520ac66b2b3ff24bc + version: 14.18.13 + resolution: "@types/node@npm:14.18.13" + checksum: 307cd26bd6b8135c4ab87c94182111f057e7e7232fd0ffcb2f5de9d3a0523d171bb9a97addfcc29f3ebed94f2a599af7c3622326eaa85907af265616775f0574 languageName: node linkType: hard @@ -3122,14 +3129,14 @@ __metadata: linkType: hard "@types/react-redux@npm:^7.1.20": - version: 7.1.23 - resolution: "@types/react-redux@npm:7.1.23" + version: 7.1.24 + resolution: "@types/react-redux@npm:7.1.24" dependencies: "@types/hoist-non-react-statics": ^3.3.0 "@types/react": "*" hoist-non-react-statics: ^3.3.0 redux: ^4.0.0 - checksum: 7cedb0f20806ce67255f676fab2d4d9534c12705d43636df95224cfa77fdf5a2e792dc76c6e072c02cad1c88030aea822c14f36fe85d459b898ee68fcff6f05c + checksum: 6582246581331ac7fbbd44aa1f1c136c8a9c8febbcf462432ac81302263308c21e1a2e7868beb7f73bbcb52a8e67935d133cb37f5bdcb6564eaff3a811805101 languageName: node linkType: hard @@ -3143,13 +3150,13 @@ __metadata: linkType: hard "@types/react@npm:*": - version: 18.0.2 - resolution: "@types/react@npm:18.0.2" + version: 18.0.5 + resolution: "@types/react@npm:18.0.5" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: 5f8a729449ef6d59b4f7f76f1a0096a1b1b76a4bb43156c4f16e0c5ad299c66b31568ab19e1de68a56bc9b2843dbc812f316bfd91686ac4867c00676db7a8e8b + checksum: 70d3336d43ef25509fa89ef3278f57fdf1945fc921e69b7890a78ab9a52a55ee38e2f13aa71eb4f6032b7311e7557860ce8836c1acf3028304989571c9736a96 languageName: node linkType: hard @@ -4450,11 +4457,11 @@ __metadata: linkType: hard "async@npm:^2.6.2": - version: 2.6.3 - resolution: "async@npm:2.6.3" + version: 2.6.4 + resolution: "async@npm:2.6.4" dependencies: lodash: ^4.17.14 - checksum: 5e5561ff8fca807e88738533d620488ac03a5c43fce6c937451f7e35f943d33ad06c24af3f681a48cca3d2b0002b3118faff0a128dc89438a9bf0226f712c499 + checksum: a52083fb32e1ebe1d63e5c5624038bb30be68ff07a6c8d7dfe35e47c93fc144bd8652cbec869e0ac07d57dde387aa5f1386be3559cdee799cb1f789678d88e19 languageName: node linkType: hard @@ -5624,9 +5631,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30000981, caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001214": - version: 1.0.30001328 - resolution: "caniuse-lite@npm:1.0.30001328" - checksum: 0383ae8986b69a856d440fe0a9b915510f5f4dbca53663cc7f4a949c2f150d4dd94a55db9255083009fa57287b5bb426f64991ec61e4e2d6e490984dd689d64f + version: 1.0.30001332 + resolution: "caniuse-lite@npm:1.0.30001332" + checksum: e54182ea42ab3d2ff1440f9a6480292f7ab23c00c188df7ad65586312e4da567e8bedd5cb5fb8f0ff4193dc027a54e17e0b3c0b6db5d5a3fb61c7726ff9c45b3 languageName: node linkType: hard @@ -5851,15 +5858,15 @@ __metadata: linkType: hard "cli-table3@npm:~0.6.1": - version: 0.6.1 - resolution: "cli-table3@npm:0.6.1" + version: 0.6.2 + resolution: "cli-table3@npm:0.6.2" dependencies: - colors: 1.4.0 + "@colors/colors": 1.5.0 string-width: ^4.2.0 dependenciesMeta: - colors: + "@colors/colors": optional: true - checksum: 956e175f8eb019c26465b9f1e51121c08d8978e2aab04be7f8520ea8a4e67906fcbd8516dfb77e386ae3730ef0281aa21a65613dffbfa3d62969263252bd25a9 + checksum: 2f82391698b8a2a2a5e45d2adcfea5d93e557207f90455a8d4c1aac688e9b18a204d9eb4ba1d322fa123b17d64ea3dc5e11de8b005529f3c3e7dbeb27cb4d9be languageName: node linkType: hard @@ -6059,13 +6066,6 @@ __metadata: languageName: node linkType: hard -"colors@npm:1.4.0": - version: 1.4.0 - resolution: "colors@npm:1.4.0" - checksum: 98aa2c2418ad87dedf25d781be69dc5fc5908e279d9d30c34d8b702e586a0474605b3a189511482b9d5ed0d20c867515d22749537f7bc546256c6014f3ebdcec - languageName: node - linkType: hard - "combine-errors@npm:^3.0.3": version: 3.0.3 resolution: "combine-errors@npm:3.0.3" @@ -8079,8 +8079,8 @@ __metadata: linkType: hard "es-abstract@npm:^1.17.2, es-abstract@npm:^1.18.5, es-abstract@npm:^1.19.1, es-abstract@npm:^1.19.2": - version: 1.19.3 - resolution: "es-abstract@npm:1.19.3" + version: 1.19.5 + resolution: "es-abstract@npm:1.19.5" dependencies: call-bind: ^1.0.2 es-to-primitive: ^1.2.1 @@ -8102,7 +8102,7 @@ __metadata: string.prototype.trimend: ^1.0.4 string.prototype.trimstart: ^1.0.4 unbox-primitive: ^1.0.1 - checksum: 23d42a68e2074eeff1720915617d838d2e012bbbb8a9fd318406591318a536cf1346bb8997274606184b8ac90b02ebb9d59d452752e417ad4b76cf77a3966450 + checksum: 55199b0f179a12b3b0ec9c9f2e3a27a7561686e4f88d46f9ef32c836448a336e367c14d8f792612fc83a64113896e478259e4dffbbcffb3efdd06650f6360324 languageName: node linkType: hard @@ -12998,7 +12998,7 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^7.4.0, lru-cache@npm:^7.7.1": +"lru-cache@npm:^7.7.1": version: 7.8.1 resolution: "lru-cache@npm:7.8.1" checksum: 31ea67388c9774300331d70f4affd5a433869bcf0fae5405f967d19d7b447930b713b0566a2e95362c9082034a8b496f3671ccf8f0c061d8e8048412663f9432 @@ -16216,9 +16216,9 @@ __metadata: linkType: hard "react-error-overlay@npm:^6.0.9": - version: 6.0.10 - resolution: "react-error-overlay@npm:6.0.10" - checksum: e7384f086a0162eecac8e081fe3c79b32f4ac8690c56bde35ab6b6380d10e6c8375bbb689a450902b6615261fcf6c95ea016fc0b200934667089ca83536bc4a7 + version: 6.0.11 + resolution: "react-error-overlay@npm:6.0.11" + checksum: ce7b44c38fadba9cedd7c095cf39192e632daeccf1d0747292ed524f17dcb056d16bc197ddee5723f9dd888f0b9b19c3b486c430319e30504289b9296f2d2c42 languageName: node linkType: hard @@ -16750,12 +16750,12 @@ __metadata: linkType: hard "regexp.prototype.flags@npm:^1.2.0, regexp.prototype.flags@npm:^1.4.1": - version: 1.4.1 - resolution: "regexp.prototype.flags@npm:1.4.1" + version: 1.4.2 + resolution: "regexp.prototype.flags@npm:1.4.2" dependencies: call-bind: ^1.0.2 define-properties: ^1.1.3 - checksum: 77944a3ea5ae84f391fa80bff9babfedc47eadc9dc38e282b5fd746368fb787deec89c68ce3114195bf6b5782b160280a278b62d41ccc6e125afab1a7f816de8 + checksum: a29ba403da16f9528f296611810d7629756a92601989dcab79a0ffe6d9ed3408a2a0e700dfd3f4d431123a1c16caa93a5b1f60b197bbcc084c3264d08f9f2fc2 languageName: node linkType: hard @@ -17473,13 +17473,13 @@ __metadata: linkType: hard "semver@npm:^7.1.1, semver@npm:^7.2.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5": - version: 7.3.6 - resolution: "semver@npm:7.3.6" + version: 7.3.7 + resolution: "semver@npm:7.3.7" dependencies: - lru-cache: ^7.4.0 + lru-cache: ^6.0.0 bin: semver: bin/semver.js - checksum: 9845f96b22268190b30025e02feca391451f2bd49b2c51920c27cc56744f64cbe397df089018fdb347d4b4fd800eabbd85661870eb63eb28055d2b72e457f759 + checksum: 2fa3e877568cd6ce769c75c211beaed1f9fce80b28338cadd9d0b6c40f2e2862bafd62c19a6cff42f3d54292b7c623277bcab8816a2b5521cf15210d43e75232 languageName: node linkType: hard