Merged in chore/SW-3246-move-alert-to-design-system (pull request #2698)
chore(SW-3246): Moved Alert component into design system * chore(SW-3246): Moved Alert component into design system * chore(SW-3246): Optimsed code and imports * chore(SW-3246): Moved type AlertTypeEnum and other to common package Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
import { z, ZodError, ZodIssueCode } from "zod"
|
||||
|
||||
import {
|
||||
AlertTypeEnum,
|
||||
AlertVisibleOnEnum,
|
||||
} from "@scandic-hotels/common/constants/alert"
|
||||
import { Lang } from "@scandic-hotels/common/constants/language"
|
||||
import { logger } from "@scandic-hotels/common/logger"
|
||||
import { removeMultipleSlashes } from "@scandic-hotels/common/utils/url"
|
||||
|
||||
import { AlertTypeEnum, AlertVisibleOnEnum } from "../../../types/alert"
|
||||
import { discriminatedUnion } from "../../../utils/discriminatedUnion"
|
||||
import {
|
||||
cardBlockRefsSchema,
|
||||
|
||||
Reference in New Issue
Block a user