+ {bottomButton && (
+
+
+
+ )}
-
+
+
+
+
{bottomButton && (
diff --git a/src/front/Components/DesignSystem/Typography/index.tsx b/src/front/Components/DesignSystem/Typography/index.tsx
index 2aaeec59..9f63599c 100644
--- a/src/front/Components/DesignSystem/Typography/index.tsx
+++ b/src/front/Components/DesignSystem/Typography/index.tsx
@@ -156,6 +156,9 @@ export enum ETypoColor {
CONTRAST_ACTIVED = "--contrast-actived",
NAVIGATION_BUTTON_CONTRAST_DEFAULT = "--navigation-button-contrast-default",
NAVIGATION_BUTTON_CONTRAST_ACTIVE = "--navigation-button-contrast-active",
+
+ DROPDOWN_CONTRAST_DEFAULT = "--dropdown-contrast-default",
+ DROPDOWN_CONTRAST_ACTIVE = "--dropdown-contrast-active",
}
export default function Typography(props: IProps) {
diff --git a/src/front/Components/LayoutTemplates/DefaultCollaboratorDashboard/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultCollaboratorDashboard/classes.module.scss
index c4e19f2a..f54563dd 100644
--- a/src/front/Components/LayoutTemplates/DefaultCollaboratorDashboard/classes.module.scss
+++ b/src/front/Components/LayoutTemplates/DefaultCollaboratorDashboard/classes.module.scss
@@ -14,7 +14,7 @@
.content {
display: flex;
overflow: hidden;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
.overlay {
position: absolute;
@@ -66,7 +66,7 @@
justify-content: center;
min-width: 56px;
max-width: 56px;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
border-right: 1px var(--color-neutral-200) solid;
@media (min-width: $screen-m) {
diff --git a/src/front/Components/LayoutTemplates/DefaultDeedTypeDashboard/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultDeedTypeDashboard/classes.module.scss
index c4e19f2a..f54563dd 100644
--- a/src/front/Components/LayoutTemplates/DefaultDeedTypeDashboard/classes.module.scss
+++ b/src/front/Components/LayoutTemplates/DefaultDeedTypeDashboard/classes.module.scss
@@ -14,7 +14,7 @@
.content {
display: flex;
overflow: hidden;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
.overlay {
position: absolute;
@@ -66,7 +66,7 @@
justify-content: center;
min-width: 56px;
max-width: 56px;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
border-right: 1px var(--color-neutral-200) solid;
@media (min-width: $screen-m) {
diff --git a/src/front/Components/LayoutTemplates/DefaultDocumentTypesDashboard/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultDocumentTypesDashboard/classes.module.scss
index c4e19f2a..f54563dd 100644
--- a/src/front/Components/LayoutTemplates/DefaultDocumentTypesDashboard/classes.module.scss
+++ b/src/front/Components/LayoutTemplates/DefaultDocumentTypesDashboard/classes.module.scss
@@ -14,7 +14,7 @@
.content {
display: flex;
overflow: hidden;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
.overlay {
position: absolute;
@@ -66,7 +66,7 @@
justify-content: center;
min-width: 56px;
max-width: 56px;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
border-right: 1px var(--color-neutral-200) solid;
@media (min-width: $screen-m) {
diff --git a/src/front/Components/LayoutTemplates/DefaultDoubleSidePage/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultDoubleSidePage/classes.module.scss
index e99cca13..8d431201 100644
--- a/src/front/Components/LayoutTemplates/DefaultDoubleSidePage/classes.module.scss
+++ b/src/front/Components/LayoutTemplates/DefaultDoubleSidePage/classes.module.scss
@@ -5,7 +5,7 @@
.content {
display: flex;
.sides {
- min-height: calc(100vh - 83px);
+ min-height: calc(100vh - var(--header-height));
width: 50%;
@media (max-width: $screen-m) {
width: 100%;
@@ -31,7 +31,7 @@
width: 50vw;
top: 83px;
right: 0;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
@media (max-width: $screen-m) {
display: none;
}
diff --git a/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/classes.module.scss
index 69cef63d..882a9394 100644
--- a/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/classes.module.scss
+++ b/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/classes.module.scss
@@ -1,132 +1,23 @@
@import "@Themes/constants.scss";
-@keyframes growWidth {
- 0% {
- width: 100%;
- }
-
- 100% {
- width: 200%;
- }
-}
-
.root {
position: relative;
.content {
display: flex;
- overflow: hidden;
- height: calc(100vh - 83px);
+ justify-content: flex-start;
+ height: calc(100vh - var(--header-height));
- .overlay {
- position: absolute;
- width: 100%;
- height: 100%;
- background-color: var(--color-generic-white);
- opacity: 0.5;
- z-index: 2;
- transition: all 0.3s $custom-easing;
+ @media (max-width: $screen-m) {
+ flex-direction: column;
}
-
- .left-side {
- background-color: var(--color-generic-white);
- z-index: 3;
- display: flex;
- width: 336px;
- min-width: 336px;
- transition: all 0.3s $custom-easing;
- overflow: hidden;
-
- @media (max-width: ($screen-m - 1px)) {
- width: 56px;
- min-width: 56px;
- transform: translateX(-389px);
-
- &.opened {
- transform: translateX(0px);
- width: 336px;
- min-width: 336px;
- }
- }
-
- @media (max-width: $screen-s) {
- width: 0px;
- min-width: 0px;
-
- &.opened {
- width: 100vw;
- min-width: 100vw;
- }
- }
- }
-
- .closable-left-side {
- position: absolute;
- background-color: var(--color-generic-white);
- z-index: 0;
- display: flex;
- justify-content: center;
- min-width: 56px;
- max-width: 56px;
- height: calc(100vh - 83px);
- border-right: 1px var(--color-neutral-200) solid;
-
- @media (min-width: $screen-m) {
- display: none;
- }
-
- .chevron-icon {
- margin-top: 21px;
- transform: rotate(180deg);
- cursor: pointer;
- }
-
- @media (max-width: $screen-s) {
- display: none;
- }
- }
-
.right-side {
- min-width: calc(100vw - 389px);
- padding: 24px;
+ min-width: calc(100% - 336px);
overflow-y: auto;
+ padding: var(--spacing-lg, 24px);
- @media (max-width: ($screen-m - 1px)) {
- min-width: calc(100vw - 56px);
+ @media (max-width: $screen-m) {
+ width: 100%;
}
-
- @media (max-width: $screen-s) {
- flex: 1;
- min-width: unset;
- }
-
- .back-arrow-mobile {
- display: none;
- @media (max-width: $screen-s) {
- display: block;
- margin-bottom: 24px;
- }
- }
-
- .back-arrow-desktop {
- @media (max-width: $screen-s) {
- display: none;
- }
- }
- }
- }
-
- .background-image-container {
- position: fixed;
- top: 0;
- right: 0;
- @media (max-width: $screen-l) {
- display: none;
- }
-
- .background-image {
- width: 100%;
- height: 100%;
- object-fit: cover;
}
}
}
diff --git a/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/index.tsx b/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/index.tsx
index da2d01dc..2a5e00a7 100644
--- a/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/index.tsx
+++ b/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/index.tsx
@@ -1,18 +1,11 @@
-import ChevronIcon from "@Assets/Icons/chevron.svg";
import Folders, { IGetFoldersParams } from "@Front/Api/LeCoffreApi/Notary/Folders/Folders";
-import Button, { EButtonstyletype, EButtonVariant } from "@Front/Components/DesignSystem/Button";
-import FolderArchivedListContainer from "@Front/Components/DesignSystem/FolderArchivedListContainer";
import FolderListContainer from "@Front/Components/DesignSystem/FolderListContainer";
import Header from "@Front/Components/DesignSystem/Header";
import Version from "@Front/Components/DesignSystem/Version";
import BackArrow from "@Front/Components/Elements/BackArrow";
-import WindowStore from "@Front/Stores/WindowStore";
-import { ChevronLeftIcon } from "@heroicons/react/24/outline";
-import classNames from "classnames";
import EFolderStatus from "le-coffre-resources/dist/Customer/EFolderStatus";
import { OfficeFolder } from "le-coffre-resources/dist/Notary";
-import Image, { StaticImageData } from "next/image";
-import React, { ReactNode } from "react";
+import React, { ReactNode, useEffect } from "react";
import classes from "./classes.module.scss";
@@ -20,98 +13,20 @@ type IProps = {
title: string;
children?: ReactNode;
isArchived?: boolean;
- onSelectedFolder: (folder: OfficeFolder) => void;
- hasBackArrow: boolean;
+ onSelectedFolder?: (folder: OfficeFolder) => void;
+ hasBackArrow?: boolean;
backArrowUrl?: string;
mobileBackText?: string;
- image?: StaticImageData;
-};
-type IState = {
- folders: OfficeFolder[] | null;
- isLeftSideOpen: boolean;
- leftSideCanBeClosed: boolean;
};
-export default class DefaultNotaryDashboard extends React.Component
{
- private onWindowResize = () => {};
- public static defaultProps: Partial = {
- hasBackArrow: false,
- isArchived: false,
- };
+export default function DefaultNotaryDashboard(props: IProps) {
+ const { hasBackArrow, onSelectedFolder, backArrowUrl, children, isArchived } = props;
- public constructor(props: IProps) {
- super(props);
- this.state = {
- folders: null,
- isLeftSideOpen: false,
- leftSideCanBeClosed: typeof window !== "undefined" ? window.innerWidth < 1024 : false,
- };
- this.onOpenLeftSide = this.onOpenLeftSide.bind(this);
- this.onCloseLeftSide = this.onCloseLeftSide.bind(this);
- }
+ const [folders, setFolders] = React.useState([]);
- public override render(): JSX.Element {
- return (
-
-
-
- {this.state.isLeftSideOpen &&
}
-
- {this.props.isArchived && this.state.folders && (
-
- )}
- {!this.props.isArchived && this.state.folders && (
-
- )}
-
-
-
-
-
-
- {this.props.hasBackArrow && (
-
-
-
- )}
- {this.props.mobileBackText && (
-
- }
- variant={EButtonVariant.PRIMARY}
- styletype={EButtonstyletype.TEXT}
- onClick={this.onOpenLeftSide}>
- {this.props.mobileBackText ?? "Retour"}
-
-
- )}
- {this.props.children}
-
- {this.props.image && (
-
-
-
- )}
-
-
-
- );
- }
-
- public override async componentDidMount() {
- this.onWindowResize = WindowStore.getInstance().onResize((window) => this.onResize(window));
+ useEffect(() => {
let targetedStatus: EFolderStatus = EFolderStatus["LIVE" as keyof typeof EFolderStatus];
- if (this.props.isArchived) targetedStatus = EFolderStatus.ARCHIVED;
+ if (isArchived) targetedStatus = EFolderStatus.ARCHIVED;
const query: IGetFoldersParams = {
q: {
where: { status: targetedStatus },
@@ -143,27 +58,26 @@ export default class DefaultNotaryDashboard extends React.Component setFolders(folders));
+ }, [isArchived]);
- private onOpenLeftSide() {
- this.setState({ isLeftSideOpen: true });
- }
-
- private onCloseLeftSide() {
- if (!this.state.leftSideCanBeClosed) return;
- this.setState({ isLeftSideOpen: false });
- }
-
- private onResize(window: Window) {
- if (window.innerWidth > 1023) {
- if (!this.state.leftSideCanBeClosed) return;
- this.setState({ leftSideCanBeClosed: false });
- }
- this.setState({ leftSideCanBeClosed: true });
- }
+ return (
+
+
+
+
+
+ {hasBackArrow && (
+
+
+
+ )}
+ {children}
+
+
+
+
+ );
}
diff --git a/src/front/Components/LayoutTemplates/DefaultOfficeDashboard/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultOfficeDashboard/classes.module.scss
index c4e19f2a..f54563dd 100644
--- a/src/front/Components/LayoutTemplates/DefaultOfficeDashboard/classes.module.scss
+++ b/src/front/Components/LayoutTemplates/DefaultOfficeDashboard/classes.module.scss
@@ -14,7 +14,7 @@
.content {
display: flex;
overflow: hidden;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
.overlay {
position: absolute;
@@ -66,7 +66,7 @@
justify-content: center;
min-width: 56px;
max-width: 56px;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
border-right: 1px var(--color-neutral-200) solid;
@media (min-width: $screen-m) {
diff --git a/src/front/Components/LayoutTemplates/DefaultRoleDashboard/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultRoleDashboard/classes.module.scss
index c4e19f2a..f54563dd 100644
--- a/src/front/Components/LayoutTemplates/DefaultRoleDashboard/classes.module.scss
+++ b/src/front/Components/LayoutTemplates/DefaultRoleDashboard/classes.module.scss
@@ -14,7 +14,7 @@
.content {
display: flex;
overflow: hidden;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
.overlay {
position: absolute;
@@ -66,7 +66,7 @@
justify-content: center;
min-width: 56px;
max-width: 56px;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
border-right: 1px var(--color-neutral-200) solid;
@media (min-width: $screen-m) {
diff --git a/src/front/Components/LayoutTemplates/DefaultUserDashboard/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultUserDashboard/classes.module.scss
index f4e58c6d..059853fe 100644
--- a/src/front/Components/LayoutTemplates/DefaultUserDashboard/classes.module.scss
+++ b/src/front/Components/LayoutTemplates/DefaultUserDashboard/classes.module.scss
@@ -14,7 +14,7 @@
.content {
display: flex;
overflow: hidden;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
.overlay {
position: absolute;
@@ -66,7 +66,7 @@
justify-content: center;
min-width: 56px;
max-width: 56px;
- height: calc(100vh - 83px);
+ height: calc(100vh - var(--header-height));
border-right: 1px var(--color-neutral-200 solid);
@media (min-width: $screen-m) {
diff --git a/src/front/Components/Layouts/Collaborators/CollaboratorInformations/index.tsx b/src/front/Components/Layouts/Collaborators/CollaboratorInformations/index.tsx
index 3ff2ade3..bedf9614 100644
--- a/src/front/Components/Layouts/Collaborators/CollaboratorInformations/index.tsx
+++ b/src/front/Components/Layouts/Collaborators/CollaboratorInformations/index.tsx
@@ -3,7 +3,6 @@ import OfficeRoles from "@Front/Api/LeCoffreApi/Admin/OfficeRoles/OfficeRoles";
import Roles from "@Front/Api/LeCoffreApi/Admin/Roles/Roles";
import Users from "@Front/Api/LeCoffreApi/Admin/Users/Users";
import Button, { EButtonstyletype, EButtonVariant } from "@Front/Components/DesignSystem/Button";
-import SelectField, { IOption } from "@Front/Components/DesignSystem/Form/SelectField";
import Confirm from "@Front/Components/DesignSystem/OldModal/Confirm";
import Switch from "@Front/Components/DesignSystem/Switch";
import Typography, { ETypo, ETypoColor } from "@Front/Components/DesignSystem/Typography";
@@ -15,6 +14,9 @@ import { useRouter } from "next/router";
import { useCallback, useEffect, useState } from "react";
import classes from "./classes.module.scss";
+import { IOption } from "@Front/Components/DesignSystem/Dropdown/DropdownMenu/DropdownOption";
+import { getLabel } from "@Front/Components/DesignSystem/Dropdown";
+import SelectField from "@Front/Components/DesignSystem/Form/SelectField";
type IProps = {};
export default function CollaboratorInformations(props: IProps) {
@@ -44,7 +46,7 @@ export default function CollaboratorInformations(props: IProps) {
const closeRoleModal = useCallback(() => {
setRoleModalOpened(false);
setSelectedOption({
- value: userSelected?.office_role ? userSelected?.office_role?.uid : userSelected?.role?.uid,
+ id: (userSelected?.office_role ? userSelected?.office_role?.uid : userSelected?.role?.uid) ?? "",
label: userSelected?.office_role ? userSelected?.office_role?.name : "Utilisateur restreint",
});
}, [userSelected?.office_role, userSelected?.role?.uid]);
@@ -55,7 +57,7 @@ export default function CollaboratorInformations(props: IProps) {
User.hydrate({
uid: userSelected?.uid as string,
office_role: OfficeRole.hydrate({
- uid: selectedOption?.value as string,
+ uid: selectedOption?.id as string,
}),
}),
);
@@ -134,10 +136,10 @@ export default function CollaboratorInformations(props: IProps) {
const roles = await OfficeRoles.getInstance().get();
if (!roles) return;
- setAvailableRoles(roles.map((role) => ({ value: role.uid, label: role.name })));
+ setAvailableRoles(roles.map((role) => ({ id: role.uid ?? "", label: role.name })));
setUserSelected(user);
setSelectedOption({
- value: user?.office_role ? user?.office_role?.uid : user?.role?.uid,
+ id: (user?.office_role ? user?.office_role?.uid : user?.role?.uid) ?? "",
label: user?.office_role ? user?.office_role?.name : "Utilisateur restreint",
});
}
@@ -206,8 +208,8 @@ export default function CollaboratorInformations(props: IProps) {
options={availableRoles.filter((role) => {
return role.label !== "admin";
})}
- selectedOption={selectedOption!}
- onChange={handleRoleChange}
+ onSelect={handleRoleChange}
+ selectedOption={selectedOption}
/>
{userSelected?.role?.name !== "super-admin" && (
@@ -226,7 +228,7 @@ export default function CollaboratorInformations(props: IProps) {
cancelText={"Annuler"}>
- Attribuer le rôle de {selectedOption?.label} à{" "}
+ Attribuer le rôle de {getLabel(selectedOption)} à{" "}
{userSelected?.contact?.first_name} {userSelected?.contact?.last_name} ?
diff --git a/src/front/Components/Layouts/DeedTypes/DeedTypesInformations/index.tsx b/src/front/Components/Layouts/DeedTypes/DeedTypesInformations/index.tsx
index b6f19080..2b21f6c1 100644
--- a/src/front/Components/Layouts/DeedTypes/DeedTypesInformations/index.tsx
+++ b/src/front/Components/Layouts/DeedTypes/DeedTypesInformations/index.tsx
@@ -4,9 +4,10 @@ import DeedTypes from "@Front/Api/LeCoffreApi/Admin/DeedTypes/DeedTypes";
import DocumentTypes from "@Front/Api/LeCoffreApi/Admin/DocumentTypes/DocumentTypes";
import Button, { EButtonstyletype, EButtonVariant } from "@Front/Components/DesignSystem/Button";
import Form from "@Front/Components/DesignSystem/Form";
-import { IOption } from "@Front/Components/DesignSystem/Form/SelectField";
-import Confirm from "@Front/Components/DesignSystem/OldModal/Confirm";
+import { IOptionOld } from "@Front/Components/DesignSystem/Form/SelectFieldOld";
import MultiSelect from "@Front/Components/DesignSystem/MultiSelect";
+import Confirm from "@Front/Components/DesignSystem/OldModal/Confirm";
+import Tooltip from "@Front/Components/DesignSystem/ToolTip";
import Typography, { ETypo, ETypoColor } from "@Front/Components/DesignSystem/Typography";
import DefaultDeedTypesDashboard from "@Front/Components/LayoutTemplates/DefaultDeedTypeDashboard";
import Module from "@Front/Config/Module";
@@ -19,7 +20,6 @@ import { useCallback, useEffect, useState } from "react";
import { MultiValue } from "react-select";
import classes from "./classes.module.scss";
-import Tooltip from "@Front/Components/DesignSystem/ToolTip";
type IProps = {};
export default function DeedTypesInformations(props: IProps) {
@@ -28,7 +28,7 @@ export default function DeedTypesInformations(props: IProps) {
const [deedTypeSelected, setDeedTypeSelected] = useState
(null);
const [availableDocuments, setAvailableDocuments] = useState([]);
- const [selectedDocuments, setSelectedDocuments] = useState([]);
+ const [selectedDocuments, setSelectedDocuments] = useState([]);
const [isDeleteModalOpened, setIsDeleteModalOpened] = useState(false);
const [isSaveModalOpened, setIsSaveModalOpened] = useState(false);
@@ -71,7 +71,7 @@ export default function DeedTypesInformations(props: IProps) {
setDeedTypeSelected(deedType);
if (!deedType.document_types) return;
- const documentsOptions: IOption[] = deedType.document_types
+ const documentsOptions: IOptionOld[] = deedType.document_types
?.map((documentType) => {
return {
label: documentType.name,
@@ -106,11 +106,11 @@ export default function DeedTypesInformations(props: IProps) {
closeSaveModal();
}, [closeSaveModal, deedTypeUid, selectedDocuments]);
- const onDocumentChangeHandler = useCallback((values: MultiValue) => {
- setSelectedDocuments(values as IOption[]);
+ const onDocumentChangeHandler = useCallback((values: MultiValue) => {
+ setSelectedDocuments(values as IOptionOld[]);
}, []);
- const formattedOptions: IOption[] = availableDocuments
+ const formattedOptions: IOptionOld[] = availableDocuments
.map((document) => ({
label: document.name,
value: document.uid,
diff --git a/src/front/Components/Layouts/DesignSystem/classes.module.scss b/src/front/Components/Layouts/DesignSystem/classes.module.scss
index 57f1d643..90be8834 100644
--- a/src/front/Components/Layouts/DesignSystem/classes.module.scss
+++ b/src/front/Components/Layouts/DesignSystem/classes.module.scss
@@ -3,6 +3,7 @@
flex-direction: column;
gap: 32px;
.components {
+ max-width: 600px;
.inputs {
display: flex;
flex-direction: column;
diff --git a/src/front/Components/Layouts/DesignSystem/index.tsx b/src/front/Components/Layouts/DesignSystem/index.tsx
index 72eaadee..3a381fa8 100644
--- a/src/front/Components/Layouts/DesignSystem/index.tsx
+++ b/src/front/Components/Layouts/DesignSystem/index.tsx
@@ -1,12 +1,17 @@
import Alert, { EAlertVariant } from "@Front/Components/DesignSystem/Alert";
import Button, { EButtonSize, EButtonstyletype, EButtonVariant } from "@Front/Components/DesignSystem/Button";
import CircleProgress from "@Front/Components/DesignSystem/CircleProgress";
+import Dropdown from "@Front/Components/DesignSystem/Dropdown";
+import Footer from "@Front/Components/DesignSystem/Footer";
import Form from "@Front/Components/DesignSystem/Form";
import TextAreaField from "@Front/Components/DesignSystem/Form/TextareaField";
import TextField from "@Front/Components/DesignSystem/Form/TextField";
import IconButton, { EIconButtonVariant } from "@Front/Components/DesignSystem/IconButton";
+import Menu from "@Front/Components/DesignSystem/Menu";
import Modal from "@Front/Components/DesignSystem/Modal";
import Newsletter from "@Front/Components/DesignSystem/Newsletter";
+import SearchBlockList from "@Front/Components/DesignSystem/SearchBlockList";
+import DropdownNavigation from "@Front/Components/DesignSystem/SearchBlockList/DropdownNavigation";
import Table from "@Front/Components/DesignSystem/Table";
import Tag, { ETagColor, ETagVariant } from "@Front/Components/DesignSystem/Tag";
import Typography, { ETypo, ETypoColor } from "@Front/Components/DesignSystem/Typography";
@@ -14,7 +19,6 @@ import NumberPicker from "@Front/Components/Elements/NumberPicker";
import Tabs from "@Front/Components/Elements/Tabs";
import DefaultTemplate from "@Front/Components/LayoutTemplates/DefaultTemplate";
import useOpenable from "@Front/Hooks/useOpenable";
-import Footer from "@Front/Components/DesignSystem/Footer";
import {
ArchiveBoxIcon,
ArrowLongLeftIcon,
@@ -27,7 +31,7 @@ import {
import { useCallback, useMemo, useState } from "react";
import classes from "./classes.module.scss";
-import Menu from "@Front/Components/DesignSystem/Menu";
+import Autocomplete from "@Front/Components/DesignSystem/Autocomplete";
import CheckboxesInputElement from "@Front/Components/DesignSystem/CheckBox";
import RadioBox from "@Front/Components/DesignSystem/RadioBox";
@@ -78,9 +82,128 @@ export default function DesignSystem() {
return (
DesignSystem
-
+
+
+
Autocomplete
+
+
Dropdown
+
+
Navigation latérale
+
{}}
+ bottomButton={{
+ link: "/",
+ text: "Créer un dossier",
+ }}
+ />
+ Dropdown navigation
+ {}}
+ />
Button icon with menu