diff --git a/package.json b/package.json index fa4aaf0d50..7251aebb63 100644 --- a/package.json +++ b/package.json @@ -143,7 +143,7 @@ "prop-types": "Since we use former ddb-react components that depend on prop-types we keep this. Should be removed when usage of prop-types is deprecated." }, "dependencies": { - "@danskernesdigitalebibliotek/dpl-design-system": "2023.51.0-cd7e0937a067366392e60d85a9831b7d1cdf363e", + "@danskernesdigitalebibliotek/dpl-design-system": "0.0.0-53111dc1d5d35ee254a8e231f1e3721088240a4a", "@reach/alert": "^0.17.0", "@reach/dialog": "^0.18.0", "@reduxjs/toolkit": "^1.9.7", diff --git a/src/apps/loan-list/materials/selectable-material/selectable-material.tsx b/src/apps/loan-list/materials/selectable-material/selectable-material.tsx index 92ff9b5ae7..632f75118f 100644 --- a/src/apps/loan-list/materials/selectable-material/selectable-material.tsx +++ b/src/apps/loan-list/materials/selectable-material/selectable-material.tsx @@ -66,7 +66,7 @@ const SelectableMaterial: FC = ({ }; return ( -
  • +
  • = ({ return (
    0 - })} + className={clsx( + "list-reservation my-32 cursor-pointer arrow__hover--right-small", + { + "list-reservation--stacked": additionalMaterials > 0 + } + )} role="button" onClick={handleOpenDueDateModal} onKeyUp={(e) => { diff --git a/src/apps/reservation-list/reservation-material/reservation-material.tsx b/src/apps/reservation-list/reservation-material/reservation-material.tsx index e74ed266ab..b22e86e31b 100644 --- a/src/apps/reservation-list/reservation-material/reservation-material.tsx +++ b/src/apps/reservation-list/reservation-material/reservation-material.tsx @@ -30,7 +30,7 @@ const ReservationMaterial: FC = ({ return (
  • openDetailsModal()} onKeyUp={(e) => { diff --git a/src/apps/search-header/search-header.test.ts b/src/apps/search-header/search-header.test.ts index d147e94994..07e10cd1fb 100644 --- a/src/apps/search-header/search-header.test.ts +++ b/src/apps/search-header/search-header.test.ts @@ -37,7 +37,7 @@ describe("Search header app", () => { cy.getBySel("search-header-input").focus().type("ha"); cy.getBySel("autosuggest").should("not.be.visible"); cy.getBySel("search-header-input").focus().type("r"); - cy.getBySel("autosuggest").should("be.visible"); + cy.getBySel("autosuggest-text-item").should("be.visible"); }); it("Allows use of arrow keys to navigate autosuggest", () => { diff --git a/src/components/Buttons/ArrowButton.tsx b/src/components/Buttons/ArrowButton.tsx index 3b92e8113a..700e9dc3c8 100644 --- a/src/components/Buttons/ArrowButton.tsx +++ b/src/components/Buttons/ArrowButton.tsx @@ -18,6 +18,7 @@ const ArrowButton: React.FC = ({ return (