diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx index f3a17204d..28b436ca3 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx @@ -5,12 +5,12 @@ import { useIntl } from "react-intl" import { dt } from "@scandic-hotels/common/dt" import Link from "@scandic-hotels/design-system/Link" +import Table from "@scandic-hotels/design-system/Table" import { Typography } from "@scandic-hotels/design-system/Typography" import { Transactions } from "@scandic-hotels/trpc/enums/transactions" import { webviews } from "@/constants/routes/webviews" -import Table from "@/components/TempDesignSystem/Table" import useLang from "@/hooks/useLang" import AwardPoints from "../../../AwardPoints" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/index.tsx index 093541902..6eed23c73 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/index.tsx @@ -2,10 +2,9 @@ import { useIntl } from "react-intl" +import Table from "@scandic-hotels/design-system/Table" import { Typography } from "@scandic-hotels/design-system/Typography" -import Table from "@/components/TempDesignSystem/Table" - import Row from "./Row" import styles from "./clientTable.module.css" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Points/ExpiringPoints/ExpiringPointsTable/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Points/ExpiringPoints/ExpiringPointsTable/index.tsx index a30d2a5aa..6cdadd344 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Points/ExpiringPoints/ExpiringPointsTable/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Points/ExpiringPoints/ExpiringPointsTable/index.tsx @@ -3,9 +3,9 @@ import { useIntl } from "react-intl" import { dt } from "@scandic-hotels/common/dt" +import Table from "@scandic-hotels/design-system/Table" import { Typography } from "@scandic-hotels/design-system/Typography" -import Table from "@/components/TempDesignSystem/Table" import useLang from "@/hooks/useLang" import AwardPoints from "../../EarnAndBurn/AwardPoints" diff --git a/apps/scandic-web/components/Blocks/Table/index.tsx b/apps/scandic-web/components/Blocks/Table/index.tsx index 378422fe7..e124b28c5 100644 --- a/apps/scandic-web/components/Blocks/Table/index.tsx +++ b/apps/scandic-web/components/Blocks/Table/index.tsx @@ -8,11 +8,12 @@ import { } from "@tanstack/react-table" import { useState } from "react" +import Table from "@scandic-hotels/design-system/Table" + import SectionContainer from "@/components/Section/Container" import SectionHeader from "@/components/Section/Header" import ScrollWrapper from "@/components/TempDesignSystem/ScrollWrapper" import ShowMoreButton from "@/components/TempDesignSystem/ShowMoreButton" -import Table from "@/components/TempDesignSystem/Table" import styles from "./table.module.css" diff --git a/apps/scandic-web/components/ContentType/HotelSubpage/HtmlContent/index.tsx b/apps/scandic-web/components/ContentType/HotelSubpage/HtmlContent/index.tsx index 9337d2c3c..19bdc50ab 100644 --- a/apps/scandic-web/components/ContentType/HotelSubpage/HtmlContent/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelSubpage/HtmlContent/index.tsx @@ -2,10 +2,9 @@ import { ElementType } from "domelementtype" import parse, { type DOMNode, Element, type Text } from "html-react-parser" import Link from "@scandic-hotels/design-system/Link" +import Table from "@scandic-hotels/design-system/Table" import { Typography } from "@scandic-hotels/design-system/Typography" -import Table from "@/components/TempDesignSystem/Table" - import { NodeNames } from "./utils" import styles from "./htmlContent.module.css" diff --git a/apps/scandic-web/components/DeprecatedJsonToHtml/renderOptions.tsx b/apps/scandic-web/components/DeprecatedJsonToHtml/renderOptions.tsx index 6fda55627..58f70599b 100644 --- a/apps/scandic-web/components/DeprecatedJsonToHtml/renderOptions.tsx +++ b/apps/scandic-web/components/DeprecatedJsonToHtml/renderOptions.tsx @@ -7,6 +7,7 @@ import Image from "@scandic-hotels/design-system/Image" import ImageContainer from "@scandic-hotels/design-system/ImageContainer" import Link from "@scandic-hotels/design-system/Link" import Subtitle from "@scandic-hotels/design-system/Subtitle" +import Table from "@scandic-hotels/design-system/Table" import Title from "@scandic-hotels/design-system/Title" import { AvailableParagraphFormatEnum, @@ -15,7 +16,6 @@ import { } from "@scandic-hotels/trpc/types/RTEenums" import { insertResponseToImageVaultAsset } from "@scandic-hotels/trpc/utils/imageVault" -import Table from "../TempDesignSystem/Table" import BiroScript from "../TempDesignSystem/Text/BiroScript" import { hasAvailableParagraphFormat, hasAvailableULFormat } from "./utils" diff --git a/apps/scandic-web/components/JsonToHtml/renderOptions.tsx b/apps/scandic-web/components/JsonToHtml/renderOptions.tsx index 072506555..229fa4485 100644 --- a/apps/scandic-web/components/JsonToHtml/renderOptions.tsx +++ b/apps/scandic-web/components/JsonToHtml/renderOptions.tsx @@ -5,11 +5,11 @@ import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Image from "@scandic-hotels/design-system/Image" import ImageContainer from "@scandic-hotels/design-system/ImageContainer" import Link from "@scandic-hotels/design-system/Link" +import Table from "@scandic-hotels/design-system/Table" import { Typography } from "@scandic-hotels/design-system/Typography" import { ContentEnum } from "@scandic-hotels/trpc/types/content" import { insertResponseToImageVaultAsset } from "@scandic-hotels/trpc/utils/imageVault" -import Table from "../TempDesignSystem/Table" import { hasAvailableParagraphFormat, hasAvailableULFormat, diff --git a/apps/scandic-web/components/TempDesignSystem/Table/TH.tsx b/apps/scandic-web/components/TempDesignSystem/Table/TH.tsx deleted file mode 100644 index 657dc2b1d..000000000 --- a/apps/scandic-web/components/TempDesignSystem/Table/TH.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import styles from "./table.module.css" - -import type { THeadProps } from "./table" - -function TH({ children, width = "auto", ...props }: THeadProps) { - return ( -