From 1b9273136ac5ad5aca4d4ad563376d24a2f6bd0c Mon Sep 17 00:00:00 2001 From: Bianca Widstam Date: Mon, 12 Jan 2026 07:40:30 +0000 Subject: [PATCH] Merged in chore/BOOK-701-replace-subtitle-component (pull request #3398) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chore(BOOK-701): replace subtitle with typography * chore(BOOK-701): replace subtitle with typography * chore(BOOK-701): align center * chore(BOOK-701): change token * chore(BOOK-701): change text color * fix(BOOK-704): revert pricechange dialog changes * chore(BOOK-701): remove subtitle from package.json Approved-by: Matilda Landström --- .../JobylonFeed/JobList/index.tsx | 23 ++-- .../JobylonFeed/JobylonCard/index.tsx | 8 +- .../components/Blocks/TextCols/index.tsx | 6 +- .../CityListing/CityListingItem/index.tsx | 5 +- .../components/DatePicker/Single/Desktop.tsx | 8 +- .../components/DatePicker/Single/Mobile.tsx | 7 +- .../DestinationFilterAndSort/Filter/index.tsx | 10 +- .../destinationFilterAndSort.module.css | 4 + .../DestinationFilterAndSort/index.tsx | 10 +- .../Ancillaries/AddedAncillaries/index.tsx | 15 +- .../Modal/ModalContent/Header/index.tsx | 6 +- .../ChangeDates/Steps/Form/NewDates/index.tsx | 2 +- .../ReferenceCard/PriceContainer/index.tsx | 8 +- .../PriceContainer/priceContainer.module.css | 1 + .../LanguageSwitcherContainer/index.tsx | 13 +- .../languageSwitcherContainer.module.css | 1 - .../LanguageSwitcherContent/index.tsx | 15 +- .../components/SasTierComparison/index.tsx | 5 +- .../sasTierComparison.module.css | 4 + .../Sidebar/JoinLoyalty/Contact/index.tsx | 16 ++- .../Sidebar/JoinLoyalty/ReadMore/index.tsx | 16 ++- .../TempDesignSystem/TeaserCard/index.tsx | 7 +- .../GuestsRoomsPicker/GuestsRoom/index.tsx | 8 +- .../Details/MemberPriceModal/index.tsx | 20 +-- .../Details/MemberPriceModal/modal.module.css | 3 + .../PaymentCallback/TimeoutSpinner/index.tsx | 15 +- .../PriceChangeSummary/index.tsx | 15 +- .../EnterDetails/PriceChangeDialog/index.tsx | 15 +- .../EnterDetails/SelectedRoom/index.tsx | 37 ++--- .../EnterDetails/Summary/UI/index.tsx | 15 +- .../ListingHotelCardDialog/index.tsx | 128 ++++++++++-------- .../listingHotelCardDialog.module.css | 4 + .../RateSummary/DesktopSummary.tsx | 96 +++++++------ .../RateSummary/rateSummary.module.css | 12 +- .../SelectedRoomPanel/index.tsx | 7 +- .../Rooms/MultiRoomWrapper/index.tsx | 6 +- .../HotelCard/HotelChequeCard/index.tsx | 14 +- .../HotelCard/HotelVoucherCard/index.tsx | 8 +- .../Modal/ModalContentWithActions/index.tsx | 6 +- .../lib/components/Subtitle/index.tsx | 51 ------- .../components/Subtitle/subtitle.module.css | 92 ------------- .../lib/components/Subtitle/variants.ts | 42 ------ packages/design-system/package.json | 1 - 43 files changed, 337 insertions(+), 448 deletions(-) delete mode 100644 packages/design-system/lib/components/Subtitle/index.tsx delete mode 100644 packages/design-system/lib/components/Subtitle/subtitle.module.css delete mode 100644 packages/design-system/lib/components/Subtitle/variants.ts diff --git a/apps/scandic-web/components/Blocks/DynamicContent/JobylonFeed/JobList/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/JobylonFeed/JobList/index.tsx index ea917c705..0aadf8e7f 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/JobylonFeed/JobList/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/JobylonFeed/JobList/index.tsx @@ -3,7 +3,7 @@ import { useReducer } from "react" import { useIntl } from "react-intl" -import Subtitle from "@scandic-hotels/design-system/Subtitle" +import { Typography } from "@scandic-hotels/design-system/Typography" import JobylonCard from "../JobylonCard" import Filter from "./Filter" @@ -80,15 +80,18 @@ export default function JobList({ allJobs }: JobListProps) { departmentFilters={departmentFilters} categoryFilters={categoryFilters} /> - - {intl.formatMessage( - { - id: "jobylonFeed.resultCount", - defaultMessage: "{count, plural, one {# Result} other {# Results}}", - }, - { count: state.jobs.length } - )} - + +

+ {intl.formatMessage( + { + id: "jobylonFeed.resultCount", + defaultMessage: + "{count, plural, one {# Result} other {# Results}}", + }, + { count: state.jobs.length } + )} +

+