@axa-fr/canopee-react 1.4.0 → 1.4.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +1 -0
- package/dist/distributeur/Accordion/Accordion.d.ts +2 -2
- package/dist/distributeur/Accordion/Accordion.js +1 -1
- package/dist/distributeur/Accordion/Header.js +1 -0
- package/dist/distributeur/Button/Button.d.ts +1 -1
- package/dist/distributeur/CardData/CardData.d.ts +1 -1
- package/dist/distributeur/CardData/CardData.js +1 -0
- package/dist/distributeur/CardData/CardDataHeader.d.ts +1 -1
- package/dist/distributeur/CardData/CardDataHeader.js +2 -1
- package/dist/distributeur/Divider/Divider.d.ts +1 -1
- package/dist/distributeur/Form/Checkbox/Checkbox.d.ts +2 -2
- package/dist/distributeur/Form/Checkbox/Checkbox.js +1 -1
- package/dist/distributeur/Form/Checkbox/CheckboxInput.d.ts +1 -1
- package/dist/distributeur/Form/Checkbox/CheckboxItem.d.ts +1 -1
- package/dist/distributeur/Form/Checkbox/CheckboxItem.js +1 -1
- package/dist/distributeur/Form/Date/Date.d.ts +1 -1
- package/dist/distributeur/Form/Date/DateInput.d.ts +2 -2
- package/dist/distributeur/Form/Experimental/index.d.ts +1 -0
- package/dist/distributeur/Form/Experimental/index.js +1 -1
- package/dist/distributeur/Form/File/File.d.ts +2 -2
- package/dist/distributeur/Form/File/File.js +2 -2
- package/dist/distributeur/Form/File/FileErrors.d.ts +1 -1
- package/dist/distributeur/Form/File/FileErrors.js +1 -0
- package/dist/distributeur/Form/File/FileInput.d.ts +1 -1
- package/dist/distributeur/Form/File/FileLine.d.ts +1 -1
- package/dist/distributeur/Form/File/FileTable.d.ts +3 -3
- package/dist/distributeur/Form/File/FileTable.js +2 -2
- package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.d.ts +1 -1
- package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.js +2 -1
- package/dist/distributeur/Form/MultiSelect/MultiSelect.d.ts +1 -1
- package/dist/distributeur/Form/MultiSelect/MultiSelect.js +2 -2
- package/dist/distributeur/Form/MultiSelect/MultiSelectInput.d.ts +1 -1
- package/dist/distributeur/Form/MultiSelect/MultiSelectInput.js +1 -0
- package/dist/distributeur/Form/MultiSelect/ValueContainer.d.ts +1 -1
- package/dist/distributeur/Form/MultiSelect/ValueContainer.js +1 -1
- package/dist/distributeur/Form/MultiSelect/useMultiSelectStyle.d.ts +1 -1
- package/dist/distributeur/Form/MultiSelect/useMultiSelectStyle.js +1 -0
- package/dist/distributeur/Form/NestedQuestion/NestedQuestion.d.ts +1 -1
- package/dist/distributeur/Form/Number/Number.d.ts +1 -1
- package/dist/distributeur/Form/Number/NumberInput.d.ts +1 -1
- package/dist/distributeur/Form/Number/NumberInput.js +1 -0
- package/dist/distributeur/Form/Pass/Pass.d.ts +1 -1
- package/dist/distributeur/Form/Pass/PassInput.d.ts +2 -2
- package/dist/distributeur/Form/Radio/Radio.js +1 -1
- package/dist/distributeur/Form/Radio/RadioCardGroup.d.ts +1 -1
- package/dist/distributeur/Form/Radio/RadioCardGroup.js +1 -1
- package/dist/distributeur/Form/Radio/RadioInput.d.ts +1 -1
- package/dist/distributeur/Form/Radio/RadioItem.d.ts +1 -1
- package/dist/distributeur/Form/Radio/RadioItem.js +1 -1
- package/dist/distributeur/Form/Select/Select.d.ts +1 -1
- package/dist/distributeur/Form/Select/SelectBase.d.ts +1 -1
- package/dist/distributeur/Form/Select/SelectDefault.d.ts +1 -1
- package/dist/distributeur/Form/Select/SelectDefaultWithOptions.d.ts +1 -1
- package/dist/distributeur/Form/Select/SelectInput.d.ts +1 -1
- package/dist/distributeur/Form/Slider/SliderInput.d.ts +1 -1
- package/dist/distributeur/Form/Slider/SliderInput.js +1 -0
- package/dist/distributeur/Form/Text/Text.d.ts +1 -1
- package/dist/distributeur/Form/Text/TextInput.d.ts +2 -2
- package/dist/distributeur/Form/Textarea/TextareaInput.d.ts +1 -1
- package/dist/distributeur/Form/core/Deprecated/Field.js +1 -0
- package/dist/distributeur/Form/core/Deprecated/FieldInput.d.ts +1 -1
- package/dist/distributeur/Form/core/Field.js +1 -1
- package/dist/distributeur/Form/core/FormClassManager.d.ts +1 -1
- package/dist/distributeur/Form/core/HelpMessage.d.ts +1 -1
- package/dist/distributeur/Form/core/index.d.ts +1 -1
- package/dist/distributeur/HelpButton/index.d.ts +1 -1
- package/dist/distributeur/Layout/Footer/Footer.js +2 -2
- package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.d.ts +1 -1
- package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.js +3 -2
- package/dist/distributeur/Layout/Header/Header.js +1 -0
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.d.ts +2 -2
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.js +1 -1
- package/dist/distributeur/Layout/Header/Infos/Infos.d.ts +1 -1
- package/dist/distributeur/Layout/Header/Name/Name.js +1 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarBase.d.ts +1 -1
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.d.ts +1 -1
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.d.ts +1 -1
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemLink.d.ts +1 -1
- package/dist/distributeur/Layout/Header/User/User.d.ts +1 -1
- package/dist/distributeur/Layout/MainContainer/MainContainer.d.ts +1 -1
- package/dist/distributeur/Link/CustomLink.d.ts +1 -1
- package/dist/distributeur/Link/LinkAnchor.d.ts +1 -1
- package/dist/distributeur/Link/LinkAnchor.js +2 -1
- package/dist/distributeur/Loader/Loader.js +1 -0
- package/dist/distributeur/Messages/Message.d.ts +1 -1
- package/dist/distributeur/ModalAgent/BooleanModal.d.ts +1 -1
- package/dist/distributeur/ModalAgent/BooleanModal.js +1 -1
- package/dist/distributeur/Popover/AnimatedPopover.d.ts +1 -1
- package/dist/distributeur/Popover/AnimatedPopover.js +1 -1
- package/dist/distributeur/Popover/Popover.d.ts +2 -2
- package/dist/distributeur/Popover/Popover.js +1 -0
- package/dist/distributeur/Popover/Popover.types.d.ts +1 -1
- package/dist/distributeur/Popover/PopoverBase.d.ts +1 -1
- package/dist/distributeur/Popover/PopoverBase.js +1 -0
- package/dist/distributeur/Popover/PopoverClick.d.ts +1 -1
- package/dist/distributeur/Popover/PopoverOver.d.ts +1 -1
- package/dist/distributeur/Popover/index.js +2 -0
- package/dist/distributeur/Restitution/ArticleRestitution.d.ts +1 -1
- package/dist/distributeur/Restitution/HeaderRestitution.js +1 -0
- package/dist/distributeur/Restitution/Restitution.d.ts +1 -1
- package/dist/distributeur/Restitution/RestitutionList.d.ts +1 -1
- package/dist/distributeur/Restitution/SectionRestitution.d.ts +1 -1
- package/dist/distributeur/Restitution/SectionRestitutionColumn.d.ts +1 -1
- package/dist/distributeur/Restitution/SectionRestitutionRow.d.ts +1 -1
- package/dist/distributeur/Steps/Step.d.ts +1 -1
- package/dist/distributeur/Steps/StepCurrent.d.ts +1 -1
- package/dist/distributeur/Steps/StepDisabled.d.ts +1 -1
- package/dist/distributeur/Steps/StepLink.d.ts +1 -1
- package/dist/distributeur/Steps/StepNoLink.d.ts +1 -1
- package/dist/distributeur/Steps/Steps.d.ts +1 -1
- package/dist/distributeur/Steps/VerticalStep.d.ts +1 -1
- package/dist/distributeur/Steps/types.d.ts +1 -1
- package/dist/distributeur/Summary/index.d.ts +1 -1
- package/dist/distributeur/Table/Pagination/LiPoint.d.ts +1 -1
- package/dist/distributeur/Table/Pagination/Pager.d.ts +1 -1
- package/dist/distributeur/Table/Pagination/PaginationButton.d.ts +1 -1
- package/dist/distributeur/Table/Pagination/Paging.d.ts +1 -1
- package/dist/distributeur/Table/TBody.d.ts +1 -1
- package/dist/distributeur/Table/THead.d.ts +1 -1
- package/dist/distributeur/Table/Table.d.ts +1 -1
- package/dist/distributeur/Table/Td.d.ts +1 -1
- package/dist/distributeur/Table/Th.d.ts +1 -1
- package/dist/distributeur/Table/Tr.d.ts +1 -1
- package/dist/distributeur/Table/Tr.js +1 -0
- package/dist/distributeur/Tabs/Tabs.d.ts +2 -2
- package/dist/distributeur/Tabs/Tabs.js +1 -0
- package/dist/distributeur/Tabs/components/Pane.js +1 -0
- package/dist/distributeur/Tabs/components/Tab.d.ts +1 -1
- package/dist/distributeur/Tabs/components/TabsCore.d.ts +1 -1
- package/dist/distributeur/Tabs/components/TabsCore.js +1 -1
- package/dist/distributeur/Tabs/components/Title.js +1 -0
- package/dist/distributeur/Tag/Tag.d.ts +1 -1
- package/dist/distributeur/Tag/Tag.js +1 -1
- package/dist/distributeur/Title/Title.d.ts +1 -1
- package/dist/distributeur.js +1 -0
- package/dist/prospect-client/Button/ButtonCommon.js +1 -0
- package/dist/prospect-client/Card/CardCommon.js +1 -0
- package/dist/prospect-client/CardMessage/CardMessageCommon.d.ts +1 -1
- package/dist/prospect-client/ClickIcon/ClickIconCommon.d.ts +1 -1
- package/dist/prospect-client/ClickIcon/ClickIconCommon.js +1 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionApollo.js +1 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.js +1 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionLF.js +1 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.d.ts +1 -1
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.js +1 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCore.d.ts +2 -3
- package/dist/prospect-client/DataAgent/DataAgentApollo.js +1 -0
- package/dist/prospect-client/DataAgent/DataAgentCommon.d.ts +2 -2
- package/dist/prospect-client/DataAgent/DataAgentCommon.js +3 -2
- package/dist/prospect-client/DataAgent/DataAgentLF.js +1 -0
- package/dist/prospect-client/Fieldset/FieldsetCommon.js +2 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.d.ts +1 -1
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.d.ts +2 -2
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.js +1 -1
- package/dist/prospect-client/Form/Dropdown/DropdownCommon.d.ts +1 -1
- package/dist/prospect-client/Form/Dropdown/DropdownCommon.js +2 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.d.ts +1 -1
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.js +3 -1
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileCommon.js +1 -0
- package/dist/prospect-client/Form/InputDate/InputDateCommon.d.ts +1 -1
- package/dist/prospect-client/Form/InputDate/InputDateCommon.js +2 -0
- package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.d.ts +3 -3
- package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.js +2 -1
- package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.d.ts +2 -2
- package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.js +5 -0
- package/dist/prospect-client/Form/InputText/InputTextCommon.js +3 -0
- package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupCommon.d.ts +1 -1
- package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupCommon.js +2 -0
- package/dist/prospect-client/Form/TextArea/TextAreaCommon.d.ts +2 -2
- package/dist/prospect-client/Form/TextArea/TextAreaCommon.js +2 -0
- package/dist/prospect-client/Heading/HeadingApollo.d.ts +1 -1
- package/dist/prospect-client/Heading/HeadingApollo.js +1 -1
- package/dist/prospect-client/Heading/HeadingCommon.js +1 -0
- package/dist/prospect-client/Heading/HeadingLF.d.ts +1 -1
- package/dist/prospect-client/Heading/HeadingLF.js +1 -1
- package/dist/prospect-client/Icon/IconCommon.d.ts +1 -1
- package/dist/prospect-client/Icon/IconCommon.js +1 -1
- package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.d.ts +1 -1
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutApollo.js +1 -0
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutCommon.d.ts +1 -1
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutCommon.js +3 -1
- package/dist/prospect-client/Layout/ExitLayout/ExitLayoutLF.js +1 -0
- package/dist/prospect-client/Layout/Footer/FooterCommon.d.ts +2 -2
- package/dist/prospect-client/Layout/Footer/FooterCommon.js +1 -1
- package/dist/prospect-client/LevelSelector/LevelSelectorApollo.js +1 -0
- package/dist/prospect-client/LevelSelector/LevelSelectorCommon.d.ts +2 -2
- package/dist/prospect-client/LevelSelector/LevelSelectorCommon.js +2 -0
- package/dist/prospect-client/LevelSelector/LevelSelectorLF.js +1 -0
- package/dist/prospect-client/Link/LinkCommon.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/ClickItemWrapper.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentCommon.d.ts +1 -1
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.d.ts +2 -2
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.js +1 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.js +1 -0
- package/dist/prospect-client/List/List/ListApollo.js +1 -0
- package/dist/prospect-client/List/List/ListCommon.d.ts +1 -1
- package/dist/prospect-client/List/List/ListCommon.js +1 -0
- package/dist/prospect-client/List/List/ListLF.js +1 -0
- package/dist/prospect-client/Message/MessageCommon.js +1 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationApollo.js +1 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationCommon.js +2 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationLF.js +1 -0
- package/dist/prospect-client/Pagination/PaginationApollo.js +1 -0
- package/dist/prospect-client/Pagination/PaginationCommon.d.ts +1 -1
- package/dist/prospect-client/Pagination/PaginationCommon.js +2 -2
- package/dist/prospect-client/Pagination/PaginationLF.js +1 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupApollo.d.ts +1 -1
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.js +1 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupLF.d.ts +1 -1
- package/dist/prospect-client/SkeletonList/SkeletonListApollo.js +1 -0
- package/dist/prospect-client/SkeletonList/SkeletonListLF.js +1 -0
- package/dist/prospect-client/Spinner/SpinnerCommon.d.ts +1 -1
- package/dist/prospect-client/Stepper/StepperCommon.d.ts +1 -1
- package/dist/prospect-client/Stepper/StepperCommon.js +1 -0
- package/dist/prospect-client/Svg/Svg.js +1 -1
- package/dist/prospect-client/TabBar/TabBarCommon.d.ts +1 -1
- package/dist/prospect-client/TabBar/TabBarCommon.js +2 -1
- package/dist/prospect-client/Table/TBody.d.ts +1 -1
- package/dist/prospect-client/Table/THead.js +1 -0
- package/dist/prospect-client/Table/TableCommon.js +1 -0
- package/dist/prospect-client/Table/Td.d.ts +1 -1
- package/dist/prospect-client/Table/Th.js +1 -0
- package/dist/prospect-client/Table/Tr.js +1 -0
- package/dist/prospect-client/TableMobileCard/DRow.js +1 -0
- package/dist/prospect-client/TableMobileCard/Dd.js +1 -0
- package/dist/prospect-client/TableMobileCard/Dt.js +1 -0
- package/dist/prospect-client/TableMobileCard/TableMobileCard.js +1 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalCommon.d.ts +1 -1
- package/dist/prospect-client/TimelineVertical/types.d.ts +1 -1
- package/dist/prospect-client/pages/ErrorPage/ErrorPageApollo.js +1 -0
- package/dist/prospect-client/pages/ErrorPage/ErrorPageCommon.js +2 -0
- package/dist/prospect-client/pages/ErrorPage/ErrorPageLF.js +1 -0
- package/dist/prospect-client/pages/ValidPage/ValidPageApollo.js +1 -0
- package/dist/prospect-client/pages/ValidPage/ValidPageCommon.js +3 -0
- package/dist/prospect-client/pages/ValidPage/ValidPageLF.js +1 -0
- package/dist/prospect-client/utilities/types/GridContainerProps.d.ts +1 -1
- package/dist/prospect.js +1 -0
- package/package.json +2 -2
package/dist/client.js
CHANGED
|
@@ -28,6 +28,7 @@ export { ItemFile } from "./prospect-client/Form/FileUpload/ItemFile/ItemFileLF"
|
|
|
28
28
|
export {
|
|
29
29
|
/** @deprecated Use `InputDate` instead. */
|
|
30
30
|
InputDate as DateInput, InputDate, } from "./prospect-client/Form/InputDate/InputDateLF";
|
|
31
|
+
export {} from "./prospect-client/Form/InputPhone/InputPhone.types";
|
|
31
32
|
export { InputPhone } from "./prospect-client/Form/InputPhone/InputPhoneLF";
|
|
32
33
|
export { InputText,
|
|
33
34
|
/** @deprecated Use `InputText` instead. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/Accordion/Accordion.css";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { CollapseProps } from "./CollapseCard";
|
|
4
|
-
import { AccordionVariant, TDefaultProps } from "./types";
|
|
3
|
+
import { type CollapseProps } from "./CollapseCard";
|
|
4
|
+
import type { AccordionVariant, TDefaultProps } from "./types";
|
|
5
5
|
export type EnhancedProps = Partial<TDefaultProps> & {
|
|
6
6
|
onlyOne?: boolean;
|
|
7
7
|
className?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createElement as _createElement } from "react";
|
|
3
3
|
import "@axa-fr/canopee-css/distributeur/Accordion/Accordion.css";
|
|
4
|
-
import { useId } from "react";
|
|
4
|
+
import React, { useId } from "react";
|
|
5
5
|
import { getComponentClassNameWithUserClassname } from "../utilities/helpers/getComponentClassName";
|
|
6
6
|
import { CollapseCard } from "./CollapseCard";
|
|
7
7
|
const defaultClassName = "af-accordion";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import arrow from "@material-symbols/svg-400/rounded/keyboard_arrow_down.svg";
|
|
3
|
+
import React from "react";
|
|
3
4
|
import { Button } from "../Button/Button";
|
|
4
5
|
import { Svg } from "../Svg/Svg";
|
|
5
6
|
import { Title } from "../Title/Title";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/Button/Button.css";
|
|
3
3
|
export type ButtonVariant = "primary" | "secondary" | "validated" | "danger" | "ghost" | "ghost-reverse";
|
|
4
4
|
export declare const Button: import("react").ForwardRefExoticComponent<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { PropsWithChildren } from "react";
|
|
1
|
+
import React, { type PropsWithChildren } from "react";
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/CardData/CardData.css";
|
|
3
3
|
export type CardDataVariant = "error" | "warning" | "information" | "success" | "default" | "dark" | "gray" | "purple";
|
|
4
4
|
type CardDataProps = {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
+
import React, {} from "react";
|
|
3
4
|
import { CardDataHeader } from "./CardDataHeader";
|
|
4
5
|
import "@axa-fr/canopee-css/distributeur/CardData/CardData.css";
|
|
5
6
|
const defaultClassName = "af-card-data";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/CardData/CardData.css";
|
|
3
|
-
import { CardDataVariant } from "./CardData";
|
|
3
|
+
import type { CardDataVariant } from "./CardData";
|
|
4
4
|
type CardDataHeaderProps = {
|
|
5
5
|
title: React.ReactNode;
|
|
6
6
|
subTitle?: React.ReactNode;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
2
3
|
import "@axa-fr/canopee-css/distributeur/CardData/CardData.css";
|
|
3
4
|
import classNames from "classnames";
|
|
4
|
-
import { Svg } from "../Svg";
|
|
5
5
|
import { Divider } from "../Divider/Divider";
|
|
6
|
+
import { Svg } from "../Svg";
|
|
6
7
|
import { Title } from "../Title/Title";
|
|
7
8
|
const defaultClassName = "af-card-data-header";
|
|
8
9
|
const iconDefaultClassName = `${defaultClassName}-icon`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { ComponentProps, ReactNode } from "react";
|
|
2
|
-
import { Option } from "../core";
|
|
1
|
+
import React, { type ComponentProps, type ReactNode } from "react";
|
|
2
|
+
import type { Option } from "../core";
|
|
3
3
|
import { CheckboxItem } from "./CheckboxItem";
|
|
4
4
|
import { CheckboxModes } from "./CheckboxModes";
|
|
5
5
|
type OnChange = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createElement as _createElement } from "react";
|
|
3
|
-
import { forwardRef } from "react";
|
|
3
|
+
import React, { forwardRef } from "react";
|
|
4
4
|
import { CheckboxItem } from "./CheckboxItem";
|
|
5
5
|
import { CheckboxModes } from "./CheckboxModes";
|
|
6
6
|
const defaultClassName = (mode) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/Form/Checkbox/Checkbox.css";
|
|
3
3
|
declare const CheckboxItem: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "type"> & {
|
|
4
4
|
classModifier?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import check from "@material-symbols/svg-700/sharp/check.svg";
|
|
3
|
-
import { forwardRef, useId } from "react";
|
|
3
|
+
import { forwardRef, useId, } from "react";
|
|
4
4
|
import { getOptionClassName } from "../core";
|
|
5
5
|
import "@axa-fr/canopee-css/distributeur/Form/Checkbox/Checkbox.css";
|
|
6
6
|
import { Svg } from "../../Svg";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/Form/Date/Date.css";
|
|
2
|
-
import { ComponentPropsWithRef } from "react";
|
|
2
|
+
import { type ComponentPropsWithRef } from "react";
|
|
3
3
|
type Props = Omit<ComponentPropsWithRef<"input">, "value"> & {
|
|
4
4
|
classModifier?: string;
|
|
5
5
|
defaultValue?: Date | string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentProps, ReactNode } from "react";
|
|
2
|
-
import { ConsumerFieldProps } from "../core";
|
|
1
|
+
import { type ComponentProps, type ReactNode } from "react";
|
|
2
|
+
import { type ConsumerFieldProps } from "../core";
|
|
3
3
|
import { Date } from "./Date";
|
|
4
4
|
type Props = ConsumerFieldProps & ComponentProps<typeof Date> & {
|
|
5
5
|
helpMessage?: ReactNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DropzoneInputProps, DropzoneOptions, FileRejection } from "react-dropzone";
|
|
2
|
-
import { FileActions } from "./constants";
|
|
1
|
+
import { type DropzoneInputProps, type DropzoneOptions, type FileRejection } from "react-dropzone";
|
|
2
|
+
import type { FileActions } from "./constants";
|
|
3
3
|
type Dropzone = DropzoneInputProps & DropzoneOptions;
|
|
4
4
|
type Props = Omit<Dropzone, "onDrop" | "onChange"> & {
|
|
5
5
|
classModifier?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useDropzone, } from "react-dropzone";
|
|
3
2
|
import { useId } from "react";
|
|
4
|
-
import {
|
|
3
|
+
import { useDropzone, } from "react-dropzone";
|
|
5
4
|
import { Button } from "../../Button/Button";
|
|
5
|
+
import { getComponentClassName } from "../../utilities";
|
|
6
6
|
const File = ({ className, classModifier, id, name, disabled, onChange, multiple = true, maxSize = 20000000, minSize = 0, accept, readOnly, placeholder = "Glissez/déposez vos fichiers", label = "Parcourir", icon = "open", ...otherProps }) => {
|
|
7
7
|
const valueId = useId();
|
|
8
8
|
const errorsId = useId();
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import {} from "react-dropzone";
|
|
2
3
|
const FileErrors = ({ errors }) => (_jsxs("div", { className: "af-form__file-errors", children: [_jsx("span", { children: "Le chargement de certains fichiers a \u00E9chou\u00E9 : " }), _jsx("ul", { className: "af-form__file-errors-list", children: errors
|
|
3
4
|
? errors.map((err) => (_jsxs("li", { children: [err.file.name, " (", err.file.size, ")"] }, err.file.name)))
|
|
4
5
|
: null })] }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/Form/File/File.css";
|
|
2
|
-
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
2
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
3
3
|
import { type ConsumerFieldProps } from "../core";
|
|
4
4
|
import { File } from "./File";
|
|
5
5
|
import { FileTable } from "./FileTable";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from "react";
|
|
2
|
-
import { FileRejection } from "react-dropzone";
|
|
1
|
+
import type { ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import type { FileRejection } from "react-dropzone";
|
|
3
|
+
import type { CustomFile } from "./File";
|
|
3
4
|
import { FileLine } from "./FileLine";
|
|
4
|
-
import { CustomFile } from "./File";
|
|
5
5
|
type FileLineProps = ComponentPropsWithoutRef<typeof FileLine>;
|
|
6
6
|
type Props = Pick<FileLineProps, "onClick"> & {
|
|
7
7
|
errors?: FileRejection[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { FileLine } from "./FileLine";
|
|
3
|
-
import { FileErrors } from "./FileErrors";
|
|
4
2
|
import { getComponentClassName } from "../../utilities";
|
|
3
|
+
import { FileErrors } from "./FileErrors";
|
|
4
|
+
import { FileLine } from "./FileLine";
|
|
5
5
|
const FileTable = ({ errors, values, className, classModifier, disabled, onClick, }) => {
|
|
6
6
|
const componentClassName = getComponentClassName(className, classModifier, "custom-table-file af-file-table");
|
|
7
7
|
return (_jsxs("div", { className: componentClassName, children: [errors && errors.length > 0 ? _jsx(FileErrors, { errors: errors }) : null, values && values.length > 0 ? (_jsx("ul", { className: "af-form__file-list", children: values.map(({ file, id }) => (_jsx(FileLine, { disabled: disabled, file: file, onClick: onClick, id: id }, id))) })) : null] }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type FormatOptionLabelMeta } from "react-select";
|
|
2
|
-
import { Option } from "./MultiSelect";
|
|
2
|
+
import type { Option } from "./MultiSelect";
|
|
3
3
|
declare const formatOptionLabel: (data: Option, formatOptionLabelMeta: FormatOptionLabelMeta<Option>) => string | import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { formatOptionLabel };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import classNames from "classnames";
|
|
3
2
|
import checkIcon from "@material-symbols/svg-700/outlined/check.svg";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import {} from "react-select";
|
|
4
5
|
import { Svg } from "../../Svg";
|
|
5
6
|
const formatOptionLabel = (data, formatOptionLabelMeta) => {
|
|
6
7
|
if (formatOptionLabelMeta.context === "value") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/Form/MultiSelect/MultiSelect.css";
|
|
2
2
|
import { type GroupBase } from "react-select";
|
|
3
|
-
import { AsyncProps } from "react-select/async";
|
|
3
|
+
import { type AsyncProps } from "react-select/async";
|
|
4
4
|
type Option = {
|
|
5
5
|
value: string;
|
|
6
6
|
label: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/Form/MultiSelect/MultiSelect.css";
|
|
3
3
|
import { useId } from "react";
|
|
4
|
-
import Select from "react-select";
|
|
5
|
-
import AsyncSelect from "react-select/async";
|
|
4
|
+
import Select, {} from "react-select";
|
|
5
|
+
import AsyncSelect, {} from "react-select/async";
|
|
6
6
|
import { formatOptionLabel } from "./FormatOptionLabel";
|
|
7
7
|
import { noOptionsMessage } from "./NoOptionsMessage";
|
|
8
8
|
import { useMultiSelectStyle } from "./useMultiSelectStyle";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/Form/MultiSelect/MultiSelect.css";
|
|
2
2
|
import { type ComponentProps } from "react";
|
|
3
|
-
import { ConsumerFieldProps } from "../core";
|
|
3
|
+
import { type ConsumerFieldProps } from "../core";
|
|
4
4
|
import { MultiSelect } from "./MultiSelect";
|
|
5
5
|
type Props = ConsumerFieldProps & ComponentProps<typeof MultiSelect>;
|
|
6
6
|
declare const MultiSelectInput: ({ label, children, ...multiSelectProps }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/Form/MultiSelect/MultiSelect.css";
|
|
3
|
+
import {} from "react";
|
|
3
4
|
import { Field } from "../core";
|
|
4
5
|
import { MultiSelect } from "./MultiSelect";
|
|
5
6
|
const MultiSelectInput = ({ label, children, ...multiSelectProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type GroupBase, type ValueContainerProps } from "react-select";
|
|
2
|
-
import { Option } from "./MultiSelect";
|
|
2
|
+
import type { Option } from "./MultiSelect";
|
|
3
3
|
declare const ValueContainer: ({ children, ...props }: ValueContainerProps<Option, boolean, GroupBase<Option>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { ValueContainer };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import React from "react";
|
|
2
|
+
import React, {} from "react";
|
|
3
3
|
import { components, } from "react-select";
|
|
4
4
|
const ValueContainer = ({ children, ...props }) => {
|
|
5
5
|
const { selectProps, getStyles, innerProps } = props;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type GroupBase, type StylesConfig } from "react-select";
|
|
2
|
-
import { Option } from "./MultiSelect";
|
|
2
|
+
import type { Option } from "./MultiSelect";
|
|
3
3
|
export declare const useMultiSelectStyle: () => {
|
|
4
4
|
styles: StylesConfig<Option, boolean, GroupBase<Option>>;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/Form/NestedQuestion/NestedQuestion.css";
|
|
2
|
-
import { PropsWithChildren } from "react";
|
|
2
|
+
import type { PropsWithChildren } from "react";
|
|
3
3
|
export declare const NestedQuestion: ({ children, className, }: {
|
|
4
4
|
className?: string;
|
|
5
5
|
} & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentProps, ReactNode } from "react";
|
|
2
|
-
import { ConsumerFieldProps } from "../core";
|
|
1
|
+
import { type ComponentProps, type ReactNode } from "react";
|
|
2
|
+
import { type ConsumerFieldProps } from "../core";
|
|
3
3
|
import { Pass } from "./Pass";
|
|
4
4
|
type PassProps = ComponentProps<typeof Pass>;
|
|
5
5
|
type Props = Omit<ConsumerFieldProps & PassProps & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createElement as _createElement } from "react";
|
|
2
2
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { forwardRef, } from "react";
|
|
4
3
|
import classNames from "classnames";
|
|
4
|
+
import { forwardRef, } from "react";
|
|
5
5
|
import { RadioCardGroup } from "./RadioCardGroup";
|
|
6
6
|
import { RadioItem } from "./RadioItem";
|
|
7
7
|
export var RadioModes;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/Form/Radio/RadioCardGroup.css";
|
|
2
|
-
import { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import { type ComponentProps, type ReactNode } from "react";
|
|
3
3
|
import type { Option } from "../core";
|
|
4
4
|
type RadioOptions = Option & {
|
|
5
5
|
action?: ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/Form/Radio/RadioCardGroup.css";
|
|
3
|
-
import { useId } from "react";
|
|
4
3
|
import classNames from "classnames";
|
|
4
|
+
import { useId } from "react";
|
|
5
5
|
import { Svg } from "../../Svg";
|
|
6
6
|
const DEFAULT_CLASSNAME = "af-card";
|
|
7
7
|
const DEFAULT_CONTAINER_CLASSNAME = "af-form__radio-card-group";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from "react";
|
|
1
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
2
2
|
import { type ConsumerFieldProps } from "../core";
|
|
3
3
|
import { Radio } from "./Radio";
|
|
4
4
|
type RadioInputProps = ConsumerFieldProps & ComponentPropsWithoutRef<typeof Radio>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/Form/Radio/Radio.css";
|
|
2
|
-
import { ComponentPropsWithRef, ReactNode } from "react";
|
|
2
|
+
import { type ComponentPropsWithRef, type ReactNode } from "react";
|
|
3
3
|
type Props = Omit<ComponentPropsWithRef<"input">, "checked" | "type"> & {
|
|
4
4
|
classModifier?: string;
|
|
5
5
|
optionClassName?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/Form/Radio/Radio.css";
|
|
3
|
-
import { forwardRef, useId } from "react";
|
|
3
|
+
import { forwardRef, useId, } from "react";
|
|
4
4
|
import { getOptionClassName } from "../core";
|
|
5
5
|
const RadioItem = forwardRef(({ value = "", id, isChecked, label, classModifier = "", className = "", disabled = false, ...otherProps }, inputRef) => {
|
|
6
6
|
const optionClassName = getOptionClassName(className, classModifier, "af-form__radio", disabled);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OptionHTMLAttributes } from "react";
|
|
1
|
+
import { type OptionHTMLAttributes } from "react";
|
|
2
2
|
declare const Select: import("react").ForwardRefExoticComponent<(Omit<Omit<{
|
|
3
3
|
className?: string | undefined | undefined;
|
|
4
4
|
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentPropsWithRef, OptionHTMLAttributes } from "react";
|
|
1
|
+
import { type ComponentPropsWithRef, type OptionHTMLAttributes } from "react";
|
|
2
2
|
import { SelectBase } from "./SelectBase";
|
|
3
3
|
type Props = ComponentPropsWithRef<typeof SelectBase> & {
|
|
4
4
|
options: OptionHTMLAttributes<HTMLOptionElement>[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentProps } from "react";
|
|
2
|
-
import { ConsumerFieldProps } from "../core";
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
import { type ConsumerFieldProps } from "../core";
|
|
3
3
|
import { Text } from "./Text";
|
|
4
4
|
export type TextInputProps = ConsumerFieldProps & ComponentProps<typeof Text>;
|
|
5
5
|
declare const TextInput: import("react").ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/Form/Textarea/Textarea.css";
|
|
2
|
-
import { ComponentProps } from "react";
|
|
2
|
+
import { type ComponentProps } from "react";
|
|
3
3
|
import { type ConsumerFieldProps } from "../core";
|
|
4
4
|
import { Textarea } from "./Textarea";
|
|
5
5
|
type Props = ConsumerFieldProps & ComponentProps<typeof Textarea>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
+
import {} from "react";
|
|
3
4
|
import { getComponentClassName } from "../../../utilities";
|
|
4
5
|
import { FieldError } from "../FieldError";
|
|
5
6
|
import { MessageTypes } from "../MessageTypes";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { useId } from "react";
|
|
4
|
-
import { FieldError, FormClassManager, HelpMessage, useInputClassModifier, } from ".";
|
|
4
|
+
import { FieldError, FormClassManager, HelpMessage, MessageTypes, useInputClassModifier, } from ".";
|
|
5
5
|
import { getComponentClassName } from "../../utilities";
|
|
6
6
|
import { useAriaInvalid } from "./useAriaInvalid";
|
|
7
7
|
function isIdDefined(id) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
2
|
export declare const FormClassManager: {
|
|
3
3
|
getFieldInputClassModifier: (modifier: string, disabled: boolean) => string;
|
|
4
4
|
getInputClassModifier: (modifier: string, children: ReactNode) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@axa-fr/canopee-css/distributeur/Action/Action.css";
|
|
2
|
-
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
2
|
+
import type { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
3
3
|
import { Popover } from "../Popover";
|
|
4
4
|
type HelpProps = Omit<ComponentPropsWithoutRef<typeof Popover>, "popoverElement"> & {
|
|
5
5
|
helpButtonContent?: ReactNode;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import logo from "@axa-fr/canopee-css/logo-axa.svg";
|
|
3
2
|
import "@axa-fr/canopee-css/distributeur/Layout/Footer/Footer.css";
|
|
4
3
|
import "@axa-fr/canopee-css/distributeur/common/breakpoints.css";
|
|
5
|
-
import
|
|
4
|
+
import logo from "@axa-fr/canopee-css/logo-axa.svg";
|
|
6
5
|
import classNames from "classnames";
|
|
6
|
+
import { forwardRef } from "react";
|
|
7
7
|
export const Footer = forwardRef(({ className = "af-footer", href = "https://www.axa.fr/", title = "Site Axa", icon = logo, alt = "Logo Axa", version, children = `© ${new Date().getFullYear()} AXA Tous droits réservés`, ...props }, ref) => (_jsxs("footer", { ref: ref, className: classNames("af-container", className), ...props, children: [Boolean(icon) && (_jsx("a", { className: "af-logo", href: href, title: title, target: "_blank", rel: "noopener noreferrer", children: _jsx("img", { className: "af-logo__brand", src: icon, alt: alt }) })), _jsx("div", { className: "af-footer-content", children: children }), version ? (_jsxs("span", { className: "af-footer-version", children: ["Version ", version] })) : null] })));
|
|
8
8
|
Footer.displayName = "Footer";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import classNames from "classnames";
|
|
3
2
|
import externalLinkIcon from "@material-symbols/svg-400/sharp/exit_to_app.svg";
|
|
4
|
-
import
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import {} from "react";
|
|
5
5
|
import { Link } from "../../../Link/Link";
|
|
6
6
|
import { linkClassName } from "../../../Link/linkClassName";
|
|
7
|
+
import { Svg } from "../../../Svg";
|
|
7
8
|
import "@axa-fr/canopee-css/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.css";
|
|
8
9
|
import "@axa-fr/canopee-css/distributeur/common/breakpoints.css";
|
|
9
10
|
const defaultClassName = "af-anchor-navbar";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import "@axa-fr/canopee-css/distributeur/Layout/Header/Header.css";
|
|
3
3
|
import classNames from "classnames";
|
|
4
|
+
import {} from "react";
|
|
4
5
|
import { getComponentClassName } from "../../utilities";
|
|
5
6
|
const defaultClassName = "af-header";
|
|
6
7
|
const Header = ({ classModifier, className, children }) => {
|