Skip to content

Commit 62b9482

Browse files
author
Sine Jespersen
committed
5396: rename search-result-page to card-list-page
1 parent b03ab57 commit 62b9482

19 files changed

+15
-17
lines changed

base.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,16 @@
6969
@import "./src/stories/Library/material-description/material-description";
7070
@import "./src/stories/Library/disclosure/disclosure";
7171
@import "./src/stories/Library/horizontal-term-line/horizontal-term-line";
72-
@import "./src/stories/Library/search-result-page/search-result-info";
73-
@import "./src/stories/Library/search-result-page/search-result-page";
74-
@import "./src/stories/Library/search-result-page/search-result-page-skeleton";
72+
@import "./src/stories/Library/card-list-page/search-result-info";
73+
@import "./src/stories/Library/card-list-page/card-list-page";
74+
@import "./src/stories/Library/card-list-page/card-list-page-skeleton";
7575
@import "./src/stories/Library/loan-list-page/loan-list-page";
7676
@import "./src/stories/Library/patron-page/patron-page";
7777
@import "./src/stories/Library/reservation-list-page/reservation-list-page";
78-
@import "./src/stories/Library/search-result-page/result-pager";
79-
@import "./src/stories/Library/search-result-page/search-result-title";
80-
@import "./src/stories/Library/search-result-page/search-result-zero";
81-
@import "./src/stories/Library/search-result-page/facet-line";
78+
@import "./src/stories/Library/card-list-page/result-pager";
79+
@import "./src/stories/Library/card-list-page/search-result-title";
80+
@import "./src/stories/Library/card-list-page/search-result-zero";
81+
@import "./src/stories/Library/card-list-page/facet-line";
8282
@import "./src/stories/Library/review/review";
8383
@import "./src/stories/Library/shadows/shadows";
8484
@import "./src/stories/Library/boxed-text/boxed-text";

src/stories/Library/search-result-page/SearchResultPage.tsx renamed to src/stories/Library/card-list-page/SearchResultPage.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const SearchResultPage = ({
2929
zeroResult,
3030
}: SearchResultPageProps) => {
3131
return (
32-
<div className="search-result-page">
32+
<div className="card-list-page">
3333
<SearchResultTitle
3434
title={title}
3535
totalResults={zeroResult ? 0 : totalResults}
@@ -48,9 +48,7 @@ export const SearchResultPage = ({
4848
/>
4949
<FacetLine items={data.facetLineItems} />
5050
<FacetLineSelected items={data.selectedTerms} />
51-
<div className="search-result-page__list my-32">
52-
{SearchResultList}
53-
</div>
51+
<div className="card-list-page__list my-32">{SearchResultList}</div>
5452
<ResultPager
5553
currentResults={currentResults}
5654
totalResults={totalResults}

src/stories/Library/search-result-page/SearchResultPageSkeleton.tsx renamed to src/stories/Library/card-list-page/SearchResultPageSkeleton.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ export const SearchResultPageSkeleton = ({
1414
title,
1515
}: SearchResultPageSkeletonProps) => {
1616
return (
17-
<div className="search-result-page">
17+
<div className="card-list-page">
1818
<SearchResultTitle
1919
title={title}
2020
totalResults={0}
2121
zeroResult={false}
2222
isLoading
2323
/>
24-
<div className="search-result-page__skeleton-facet-line--mobile">
24+
<div className="card-list-page__skeleton-facet-line--mobile">
2525
<div className="ssc mt-48">
2626
<div className="ssc-head-line mb" />
2727
<div className="ssc-head-line mb" />
2828
<div className="ssc-head-line mb" />
2929
</div>
3030
</div>
31-
<div className="search-result-page__skeleton-facet-line--desktop">
31+
<div className="card-list-page__skeleton-facet-line--desktop">
3232
<div className="ssc mt-48">
3333
<div className="ssc-head-line mb" />
3434
</div>
3535
</div>
36-
<ul className="search-result-page__list my-32">
36+
<ul className="card-list-page__list my-32">
3737
<li>
3838
<CardListItemSkeleton />
3939
</li>

0 commit comments

Comments
 (0)