#8701 CAL-1621 new booker dialog grow in height (#8774)

* increase scrollable height

* Fix react-select version - import esm error

* Increase booking form modal height

* Update packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx

* Match design specs

* nit change

* Trying to fix type errors

---------

Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-05-11 17:31:51 +00:00
1 parent 98b531e6b5
commit 4374da08e2
5 files changed
+38 -27

No files matched your search

+6 -2
View File
@@ -1,6 +1,7 @@
import { CheckCircleIcon, ExclamationIcon, InformationCircleIcon, XCircleIcon } from "@heroicons/react/solid";
import classNames from "classnames";
import type { ReactNode } from "react";
import { forwardRef } from "react";
import { Info } from "../icon";
@@ -15,11 +16,12 @@ export interface AlertProps {
// @TODO: Success and info shouldn't exist as per design?
severity: "success" | "warning" | "error" | "info" | "neutral";
}
export function Alert(props: AlertProps) {
export const Alert = forwardRef<HTMLDivElement, AlertProps>((props, ref) => {
const { severity, iconClassName } = props;
return (
<div
ref={ref}
className={classNames(
"rounded-md border border-opacity-20 p-3",
props.className,
@@ -62,4 +64,6 @@ export function Alert(props: AlertProps) {
</div>
</div>
);
}
});
Alert.displayName = "Alert";