diff --git a/package.json b/package.json index 7bdd179a44..1cdc909a90 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "@openstax/highlighter": "https://github.com/openstax/highlighter#1.16.4b", "@openstax/open-search-client": "0.1.0-build.7", "@openstax/ts-utils": "1.19.0", - "@openstax/ui-components": "openstax/ui-components#1.21.1", + "@openstax/ui-components": "openstax/ui-components#test-core-2736-3", "@sentry/integrations": "^7.54.0", "@sentry/react": "^7.54.0", "classnames": "2.3.2", @@ -185,6 +185,7 @@ "moduleNameMapper": { "//comment//": "remove this when CRA upgrades jest above 28", "(.*)@openstax/ts-utils(.*)": "$1@openstax/ts-utils/dist/cjs$2", + "(.*)@openstax/ui-components/(.*)": "$1@openstax/ui-components/dist/cjs/$2", "\\.css$": "/__mocks__/styleMock.js" }, "setupFilesAfterEnv": [ diff --git a/src/app/content/highlights/components/__snapshots__/EditCard.spec.tsx.snap b/src/app/content/highlights/components/__snapshots__/EditCard.spec.tsx.snap index 1607a3715f..29858f2072 100644 --- a/src/app/content/highlights/components/__snapshots__/EditCard.spec.tsx.snap +++ b/src/app/content/highlights/components/__snapshots__/EditCard.spec.tsx.snap @@ -2,20 +2,7 @@ exports[`EditCard Snapshots and Rendering matches snapshot when editing 1`] = ` Array [ - .c0 { - position: fixed; - right: 2rem; - z-index: 40; - display: grid; - justify-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - gap: 1vh; -} - -
,
,
-
  • +
  • +