From 5169493323347ba0b9e453b4ff16089d339f2cd4 Mon Sep 17 00:00:00 2001 From: Zak Burke Date: Wed, 11 Oct 2023 09:31:44 -0400 Subject: [PATCH] UIORGS-404 bump optional plugins to compatible versions (#572) Use plugins compatible with the requested version of stripes (v9). Refs UIORGS-404 --- CHANGELOG.md | 1 + package.json | 6 +- ...OrganizationContactPeopleForm.test.js.snap | 262 +++---- .../OrganizationInterfacesForm.test.js.snap | 212 +++--- .../__snapshots__/ViewContact.test.js.snap | 702 +++++++++--------- 5 files changed, 602 insertions(+), 581 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4026bd20..eb9627b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ * Upgrade `Node.js` to `18` version in GitHub Actions. Refs UIORGS-378. * *BREAKING* bump `react-intl` to `v6.4.4`. Refs UIORGS-386. * Add a message indicating future functionality for EDI naming convention. Refs UIORGS-382. +* Bump optional plugins to their `@folio/stripes` `v9` compatible versions. Refs UIORGS-404. ## [4.0.0](https://github.com/folio-org/ui-organizations/tree/v4.0.0) (2023-02-22) [Full Changelog](https://github.com/folio-org/ui-organizations/compare/v3.3.1...v4.0.0) diff --git a/package.json b/package.json index c1db681a..9e6ca65e 100644 --- a/package.json +++ b/package.json @@ -255,7 +255,7 @@ "@folio/jest-config-stripes": "^2.0.0", "@folio/stripes": "^9.0.0", "@folio/stripes-cli": "^3.0.0", - "@formatjs/cli": "^6.1.3", + "@formatjs/cli": "^6.1.3", "babel-jest": "^26.3.0", "chai": "^4.2.0", "core-js": "^3.6.4", @@ -302,7 +302,7 @@ "redux": "^4.0.0" }, "optionalDependencies": { - "@folio/plugin-find-contact": "^4.0.0", - "@folio/plugin-find-interface": "^4.0.0" + "@folio/plugin-find-contact": "^5.0.0", + "@folio/plugin-find-interface": "^5.0.0" } } diff --git a/src/Organizations/OrganizationForm/OrganizationContactPeopleForm/__snapshots__/OrganizationContactPeopleForm.test.js.snap b/src/Organizations/OrganizationForm/OrganizationContactPeopleForm/__snapshots__/OrganizationContactPeopleForm.test.js.snap index 73757dde..df1d973e 100644 --- a/src/Organizations/OrganizationForm/OrganizationContactPeopleForm/__snapshots__/OrganizationContactPeopleForm.test.js.snap +++ b/src/Organizations/OrganizationForm/OrganizationContactPeopleForm/__snapshots__/OrganizationContactPeopleForm.test.js.snap @@ -10,165 +10,169 @@ exports[`OrganizationContactPeopleForm should render correct structure 1`] = ` class="col-xs-12" >
-
+
- ui-organizations.contactPeople.name -
-
- ui-organizations.contactPeople.categories -
-
- ui-organizations.contactPeople.emails -
-
- ui-organizations.contactPeople.note +
+ ui-organizations.contactPeople.name +
+
+ ui-organizations.contactPeople.categories +
+
+ ui-organizations.contactPeople.emails +
+
+ ui-organizations.contactPeople.note +
+
-
-
-
diff --git a/src/Organizations/OrganizationForm/OrganizationInterfacesForm/__snapshots__/OrganizationInterfacesForm.test.js.snap b/src/Organizations/OrganizationForm/OrganizationInterfacesForm/__snapshots__/OrganizationInterfacesForm.test.js.snap index 80fd9bb2..87554144 100644 --- a/src/Organizations/OrganizationForm/OrganizationInterfacesForm/__snapshots__/OrganizationInterfacesForm.test.js.snap +++ b/src/Organizations/OrganizationForm/OrganizationInterfacesForm/__snapshots__/OrganizationInterfacesForm.test.js.snap @@ -10,90 +10,74 @@ exports[`OrganizationInterfacesForm should render correct structure 1`] = ` class="col-xs-12" >
-
+
- ui-organizations.interface.name -
-
- ui-organizations.interface.url +
+ ui-organizations.interface.name +
+
+ ui-organizations.interface.url +
+
-
-
-
-
diff --git a/src/contacts/ViewContact/__snapshots__/ViewContact.test.js.snap b/src/contacts/ViewContact/__snapshots__/ViewContact.test.js.snap index 626cfe88..e238b370 100644 --- a/src/contacts/ViewContact/__snapshots__/ViewContact.test.js.snap +++ b/src/contacts/ViewContact/__snapshots__/ViewContact.test.js.snap @@ -439,148 +439,152 @@ exports[`ViewContact should render correct structure 1`] = ` role="region" >
-
+
- ui-organizations.contactPeople.email -
-
- ui-organizations.contactPeople.description -
-
- ui-organizations.contactPeople.language -
-
- ui-organizations.contactPeople.categories -
-
- ui-organizations.primaryItem +
+ ui-organizations.contactPeople.email +
+
+ ui-organizations.contactPeople.description +
+
+ ui-organizations.contactPeople.language +
+
+ ui-organizations.contactPeople.categories +
+
+ ui-organizations.primaryItem +
-
-
- cust.service03@amazon.com -
-
- customer service -
-
- English -
-
- Customer Service -
-
- ui-organizations.primaryItem +
+ cust.service03@amazon.com +
+
+ customer service +
+
+ English +
+
+ Customer Service +
+
+ ui-organizations.primaryItem +
-
-
@@ -646,148 +650,152 @@ exports[`ViewContact should render correct structure 1`] = ` role="region" >
-
+
- ui-organizations.contactPeople.phoneNumber -
-
- ui-organizations.contactPeople.type -
-
- ui-organizations.contactPeople.language -
-
- ui-organizations.contactPeople.categories -
-
- ui-organizations.primaryItem +
+ ui-organizations.contactPeople.phoneNumber +
+
+ ui-organizations.contactPeople.type +
+
+ ui-organizations.contactPeople.language +
+
+ ui-organizations.contactPeople.categories +
+
+ ui-organizations.primaryItem +
-
-
- 1-888-238-22090 -
-
- Mobile -
-
- English -
-
- Customer Service -
-
- ui-organizations.primaryItem +
+ 1-888-238-22090 +
+
+ Mobile +
+
+ English +
+
+ Customer Service +
+
+ ui-organizations.primaryItem +
-
-
@@ -853,155 +861,159 @@ exports[`ViewContact should render correct structure 1`] = ` role="region" >
-
+
- ui-organizations.contactPeople.name -
-
- ui-organizations.contactPeople.description -
-
- ui-organizations.contactPeople.language -
-
- ui-organizations.contactPeople.categories -
-
- ui-organizations.primaryItem +
+ ui-organizations.contactPeople.name +
+
+ ui-organizations.contactPeople.description +
+
+ ui-organizations.contactPeople.language +
+
+ ui-organizations.contactPeople.categories +
+
+ ui-organizations.primaryItem +
-
-
-
- main website -
-
- en-us -
-
- Customer Service -
-
- ui-organizations.primaryItem + + https://www.amazon.com + +
+
+ main website +
+
+ en-us +
+
+ Customer Service +
+
+ ui-organizations.primaryItem +
-
-