From 3e51bfb7bf7f6446056eb7d83693aa873fefaad5 Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Mon, 9 Sep 2024 15:40:11 +0200 Subject: [PATCH] Bump primer to 0.45.0 --- Gemfile | 2 +- Gemfile.lock | 4 +-- frontend/package-lock.json | 28 +++++++++---------- frontend/package.json | 4 +-- .../spec/features/hide_attachments_spec.rb | 4 +-- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Gemfile b/Gemfile index 34500d6ea1ec..2a7e2559518a 100644 --- a/Gemfile +++ b/Gemfile @@ -398,4 +398,4 @@ end gem "openproject-octicons", "~>19.18.0" gem "openproject-octicons_helper", "~>19.18.0" -gem "openproject-primer_view_components", "~>0.44.3" +gem "openproject-primer_view_components", "~>0.45.0" diff --git a/Gemfile.lock b/Gemfile.lock index e95fbb044533..e819b783924f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -803,7 +803,7 @@ GEM actionview openproject-octicons (= 19.18.0) railties - openproject-primer_view_components (0.44.3) + openproject-primer_view_components (0.45.0) actionview (>= 5.0.0) activesupport (>= 5.0.0) openproject-octicons (>= 19.17.0) @@ -1303,7 +1303,7 @@ DEPENDENCIES openproject-octicons (~> 19.18.0) openproject-octicons_helper (~> 19.18.0) openproject-openid_connect! - openproject-primer_view_components (~> 0.44.3) + openproject-primer_view_components (~> 0.45.0) openproject-recaptcha! openproject-reporting! openproject-storages! diff --git a/frontend/package-lock.json b/frontend/package-lock.json index e462a56b3501..7f126a94d8a9 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -47,7 +47,7 @@ "@ngneat/content-loader": "^7.0.0", "@ngx-formly/core": "^6.1.4", "@openproject/octicons-angular": "^19.18.0", - "@openproject/primer-view-components": "^0.44.3", + "@openproject/primer-view-components": "^0.45.0", "@openproject/reactivestates": "^3.0.1", "@primer/css": "^21.3.3", "@types/hotwired__turbo": "^8.0.1", @@ -4819,9 +4819,9 @@ } }, "node_modules/@openproject/primer-view-components": { - "version": "0.44.3", - "resolved": "https://registry.npmjs.org/@openproject/primer-view-components/-/primer-view-components-0.44.3.tgz", - "integrity": "sha512-Mb8tAiIxZPVn44i9Eb5+pMK6yoYsEN7GqRax8scct2wJ5uTc0M/50gBrI6uuR++PZu9w9ZCLtJUoTRmaGTFJlw==", + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@openproject/primer-view-components/-/primer-view-components-0.45.0.tgz", + "integrity": "sha512-lvyFwL9d7RbEQt+IC+TMJWoafqeixBuaniMlhEtGXp6jGzrdaJiug1IIykLR0QC63w8lshRZ3Y2hdpnAeqqK9Q==", "dependencies": { "@github/auto-check-element": "^5.2.0", "@github/auto-complete-element": "^3.6.2", @@ -4887,9 +4887,9 @@ }, "node_modules/@primer/view-components": { "name": "@openproject/primer-view-components", - "version": "0.44.3", - "resolved": "https://registry.npmjs.org/@openproject/primer-view-components/-/primer-view-components-0.44.3.tgz", - "integrity": "sha512-Mb8tAiIxZPVn44i9Eb5+pMK6yoYsEN7GqRax8scct2wJ5uTc0M/50gBrI6uuR++PZu9w9ZCLtJUoTRmaGTFJlw==", + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@openproject/primer-view-components/-/primer-view-components-0.45.0.tgz", + "integrity": "sha512-lvyFwL9d7RbEQt+IC+TMJWoafqeixBuaniMlhEtGXp6jGzrdaJiug1IIykLR0QC63w8lshRZ3Y2hdpnAeqqK9Q==", "dependencies": { "@github/auto-check-element": "^5.2.0", "@github/auto-complete-element": "^3.6.2", @@ -25366,9 +25366,9 @@ } }, "@openproject/primer-view-components": { - "version": "0.44.3", - "resolved": "https://registry.npmjs.org/@openproject/primer-view-components/-/primer-view-components-0.44.3.tgz", - "integrity": "sha512-Mb8tAiIxZPVn44i9Eb5+pMK6yoYsEN7GqRax8scct2wJ5uTc0M/50gBrI6uuR++PZu9w9ZCLtJUoTRmaGTFJlw==", + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@openproject/primer-view-components/-/primer-view-components-0.45.0.tgz", + "integrity": "sha512-lvyFwL9d7RbEQt+IC+TMJWoafqeixBuaniMlhEtGXp6jGzrdaJiug1IIykLR0QC63w8lshRZ3Y2hdpnAeqqK9Q==", "requires": { "@github/auto-check-element": "^5.2.0", "@github/auto-complete-element": "^3.6.2", @@ -25415,7 +25415,7 @@ "integrity": "sha512-h2ITbCj415T1JpWQDeQd1xYL6TrzkehfUOXxnV0FpblYyMsVBAks6LL7HGJ+ZrydG+Ds0i1rvvi8Q61jErieNA==", "requires": { "@primer/primitives": "^8.2.0", - "@primer/view-components": "npm:@openproject/primer-view-components@^0.44.3" + "@primer/view-components": "npm:@openproject/primer-view-components@^0.45.0" } }, "@primer/primitives": { @@ -25424,9 +25424,9 @@ "integrity": "sha512-K8A/DA6xv8P/kD/9DupFn+KYlo06OpcrwfwJf+sKp+KnX7ZRwLLDg1AaEGAoRoaykXRY/gfrXlgDfK7laOTWyA==" }, "@primer/view-components": { - "version": "npm:@openproject/primer-view-components@0.44.3", - "resolved": "https://registry.npmjs.org/@openproject/primer-view-components/-/primer-view-components-0.44.3.tgz", - "integrity": "sha512-Mb8tAiIxZPVn44i9Eb5+pMK6yoYsEN7GqRax8scct2wJ5uTc0M/50gBrI6uuR++PZu9w9ZCLtJUoTRmaGTFJlw==", + "version": "npm:@openproject/primer-view-components@0.45.0", + "resolved": "https://registry.npmjs.org/@openproject/primer-view-components/-/primer-view-components-0.45.0.tgz", + "integrity": "sha512-lvyFwL9d7RbEQt+IC+TMJWoafqeixBuaniMlhEtGXp6jGzrdaJiug1IIykLR0QC63w8lshRZ3Y2hdpnAeqqK9Q==", "requires": { "@github/auto-check-element": "^5.2.0", "@github/auto-complete-element": "^3.6.2", diff --git a/frontend/package.json b/frontend/package.json index 677acd1558dd..ebd4cdcfca7b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -99,7 +99,7 @@ "@ngneat/content-loader": "^7.0.0", "@ngx-formly/core": "^6.1.4", "@openproject/octicons-angular": "^19.18.0", - "@openproject/primer-view-components": "^0.44.3", + "@openproject/primer-view-components": "^0.45.0", "@openproject/reactivestates": "^3.0.1", "@primer/css": "^21.3.3", "@types/hotwired__turbo": "^8.0.1", @@ -176,6 +176,6 @@ "generate-typings": "tsc -d -p src/tsconfig.app.json" }, "overrides": { - "@primer/view-components": "npm:@openproject/primer-view-components@^0.44.3" + "@primer/view-components": "npm:@openproject/primer-view-components@^0.45.0" } } diff --git a/modules/storages/spec/features/hide_attachments_spec.rb b/modules/storages/spec/features/hide_attachments_spec.rb index 57ae6cc9f791..2d24423a78aa 100644 --- a/modules/storages/spec/features/hide_attachments_spec.rb +++ b/modules/storages/spec/features/hide_attachments_spec.rb @@ -62,12 +62,12 @@ click_on(class: "ToggleSwitch-track") expect(page).to have_css("toggle-switch", text: "On") - wait_for(page).to have_css('svg[data-target="toggle-switch.loadingSpinner"][hidden="hidden"]', visible: :hidden) + wait_for(page).to have_css('[data-target="toggle-switch.loadingSpinner"][hidden="hidden"] svg', visible: :hidden) expect(project.reload).not_to be_deactivate_work_package_attachments click_on(class: "ToggleSwitch-track") expect(page).to have_css("toggle-switch", text: "Off") - wait_for(page).to have_css('svg[data-target="toggle-switch.loadingSpinner"][hidden="hidden"]', visible: :hidden) + wait_for(page).to have_css('[data-target="toggle-switch.loadingSpinner"][hidden="hidden"] svg', visible: :hidden) expect(project.reload).to be_deactivate_work_package_attachments end