⬆️(frontend) upgrade cunningham & ui-kit

Upgrade @gouvfr-lasuite/cunningham-react and @gouvfr-lasuite/ui-kit to
its latest version
This commit is contained in:
jbpenrath
2026-04-14 16:31:41 +02:00
parent 01b45a69fb
commit a7dc4b4ef9
3 changed files with 951 additions and 1260 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -25,9 +25,9 @@
"@blocknote/mantine": "0.46.2",
"@blocknote/react": "0.46.2",
"@gouvfr-lasuite/drive-sdk": "0.0.1",
"@gouvfr-lasuite/ui-kit": "0.19.10",
"@gouvfr-lasuite/ui-kit": "0.20.0",
"@hookform/resolvers": "5.2.2",
"@gouvfr-lasuite/cunningham-react": "4.2.0",
"@gouvfr-lasuite/cunningham-react": "4.3.0",
"@react-email/components": "1.0.6",
"@sentry/nextjs": "10.38.0",
"@tanstack/react-query": "5.90.20",

View File

@@ -1,7 +1,7 @@
import { Modal, ModalProps } from "@gouvfr-lasuite/cunningham-react";
import { Modal, ModalDefaultVariantProps } from "@gouvfr-lasuite/cunningham-react";
import { useModalStore } from ".";
type ControlledModalProps = Omit<ModalProps, "isOpen" | "onClose"> & { modalId: string; onClose?: () => void, confirmFn?: () => Promise<boolean> }
type ControlledModalProps = Omit<ModalDefaultVariantProps, "isOpen" | "onClose"> & { modalId: string; onClose?: () => void, confirmFn?: () => Promise<boolean> }
/**
* A controlled modal aims to work with the ModalStoreProvider to be controlled