Merged in refactor/design-system-divider (pull request #2354)

refactor: move divider to design system

Approved-by: Arvid Norlin
This commit is contained in:
Christian Andolf
2025-06-13 09:38:10 +00:00
71 changed files with 231 additions and 244 deletions

View File

@@ -3,11 +3,10 @@
import { cx } from "class-variance-authority"
import { useFormContext } from "react-hook-form"
import { Divider } from "@scandic-hotels/design-system/Divider"
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
import { Typography } from "@scandic-hotels/design-system/Typography"
import Divider from "@/components/TempDesignSystem/Divider"
import styles from "./radioCard.module.css"
import type { RadioCardProps } from "./types"
@@ -76,11 +75,7 @@ export default function RadioCard({
</Typography>
{description || descriptionSecondary ? (
<Divider
className={styles.divider}
variant="horizontal"
color="subtle"
/>
<Divider className={styles.divider} />
) : null}
{description ? (