@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.
Files changed (238) hide show
  1. package/dist/client.js +1 -0
  2. package/dist/distributeur/Accordion/Accordion.d.ts +2 -2
  3. package/dist/distributeur/Accordion/Accordion.js +1 -1
  4. package/dist/distributeur/Accordion/Header.js +1 -0
  5. package/dist/distributeur/Button/Button.d.ts +1 -1
  6. package/dist/distributeur/CardData/CardData.d.ts +1 -1
  7. package/dist/distributeur/CardData/CardData.js +1 -0
  8. package/dist/distributeur/CardData/CardDataHeader.d.ts +1 -1
  9. package/dist/distributeur/CardData/CardDataHeader.js +2 -1
  10. package/dist/distributeur/Divider/Divider.d.ts +1 -1
  11. package/dist/distributeur/Form/Checkbox/Checkbox.d.ts +2 -2
  12. package/dist/distributeur/Form/Checkbox/Checkbox.js +1 -1
  13. package/dist/distributeur/Form/Checkbox/CheckboxInput.d.ts +1 -1
  14. package/dist/distributeur/Form/Checkbox/CheckboxItem.d.ts +1 -1
  15. package/dist/distributeur/Form/Checkbox/CheckboxItem.js +1 -1
  16. package/dist/distributeur/Form/Date/Date.d.ts +1 -1
  17. package/dist/distributeur/Form/Date/DateInput.d.ts +2 -2
  18. package/dist/distributeur/Form/Experimental/index.d.ts +1 -0
  19. package/dist/distributeur/Form/Experimental/index.js +1 -1
  20. package/dist/distributeur/Form/File/File.d.ts +2 -2
  21. package/dist/distributeur/Form/File/File.js +2 -2
  22. package/dist/distributeur/Form/File/FileErrors.d.ts +1 -1
  23. package/dist/distributeur/Form/File/FileErrors.js +1 -0
  24. package/dist/distributeur/Form/File/FileInput.d.ts +1 -1
  25. package/dist/distributeur/Form/File/FileLine.d.ts +1 -1
  26. package/dist/distributeur/Form/File/FileTable.d.ts +3 -3
  27. package/dist/distributeur/Form/File/FileTable.js +2 -2
  28. package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.d.ts +1 -1
  29. package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.js +2 -1
  30. package/dist/distributeur/Form/MultiSelect/MultiSelect.d.ts +1 -1
  31. package/dist/distributeur/Form/MultiSelect/MultiSelect.js +2 -2
  32. package/dist/distributeur/Form/MultiSelect/MultiSelectInput.d.ts +1 -1
  33. package/dist/distributeur/Form/MultiSelect/MultiSelectInput.js +1 -0
  34. package/dist/distributeur/Form/MultiSelect/ValueContainer.d.ts +1 -1
  35. package/dist/distributeur/Form/MultiSelect/ValueContainer.js +1 -1
  36. package/dist/distributeur/Form/MultiSelect/useMultiSelectStyle.d.ts +1 -1
  37. package/dist/distributeur/Form/MultiSelect/useMultiSelectStyle.js +1 -0
  38. package/dist/distributeur/Form/NestedQuestion/NestedQuestion.d.ts +1 -1
  39. package/dist/distributeur/Form/Number/Number.d.ts +1 -1
  40. package/dist/distributeur/Form/Number/NumberInput.d.ts +1 -1
  41. package/dist/distributeur/Form/Number/NumberInput.js +1 -0
  42. package/dist/distributeur/Form/Pass/Pass.d.ts +1 -1
  43. package/dist/distributeur/Form/Pass/PassInput.d.ts +2 -2
  44. package/dist/distributeur/Form/Radio/Radio.js +1 -1
  45. package/dist/distributeur/Form/Radio/RadioCardGroup.d.ts +1 -1
  46. package/dist/distributeur/Form/Radio/RadioCardGroup.js +1 -1
  47. package/dist/distributeur/Form/Radio/RadioInput.d.ts +1 -1
  48. package/dist/distributeur/Form/Radio/RadioItem.d.ts +1 -1
  49. package/dist/distributeur/Form/Radio/RadioItem.js +1 -1
  50. package/dist/distributeur/Form/Select/Select.d.ts +1 -1
  51. package/dist/distributeur/Form/Select/SelectBase.d.ts +1 -1
  52. package/dist/distributeur/Form/Select/SelectDefault.d.ts +1 -1
  53. package/dist/distributeur/Form/Select/SelectDefaultWithOptions.d.ts +1 -1
  54. package/dist/distributeur/Form/Select/SelectInput.d.ts +1 -1
  55. package/dist/distributeur/Form/Slider/SliderInput.d.ts +1 -1
  56. package/dist/distributeur/Form/Slider/SliderInput.js +1 -0
  57. package/dist/distributeur/Form/Text/Text.d.ts +1 -1
  58. package/dist/distributeur/Form/Text/TextInput.d.ts +2 -2
  59. package/dist/distributeur/Form/Textarea/TextareaInput.d.ts +1 -1
  60. package/dist/distributeur/Form/core/Deprecated/Field.js +1 -0
  61. package/dist/distributeur/Form/core/Deprecated/FieldInput.d.ts +1 -1
  62. package/dist/distributeur/Form/core/Field.js +1 -1
  63. package/dist/distributeur/Form/core/FormClassManager.d.ts +1 -1
  64. package/dist/distributeur/Form/core/HelpMessage.d.ts +1 -1
  65. package/dist/distributeur/Form/core/index.d.ts +1 -1
  66. package/dist/distributeur/HelpButton/index.d.ts +1 -1
  67. package/dist/distributeur/Layout/Footer/Footer.js +2 -2
  68. package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.d.ts +1 -1
  69. package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.js +3 -2
  70. package/dist/distributeur/Layout/Header/Header.js +1 -0
  71. package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.d.ts +2 -2
  72. package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.js +1 -1
  73. package/dist/distributeur/Layout/Header/Infos/Infos.d.ts +1 -1
  74. package/dist/distributeur/Layout/Header/Name/Name.js +1 -0
  75. package/dist/distributeur/Layout/Header/NavBar/NavBarBase.d.ts +1 -1
  76. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.d.ts +1 -1
  77. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.d.ts +1 -1
  78. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemLink.d.ts +1 -1
  79. package/dist/distributeur/Layout/Header/User/User.d.ts +1 -1
  80. package/dist/distributeur/Layout/MainContainer/MainContainer.d.ts +1 -1
  81. package/dist/distributeur/Link/CustomLink.d.ts +1 -1
  82. package/dist/distributeur/Link/LinkAnchor.d.ts +1 -1
  83. package/dist/distributeur/Link/LinkAnchor.js +2 -1
  84. package/dist/distributeur/Loader/Loader.js +1 -0
  85. package/dist/distributeur/Messages/Message.d.ts +1 -1
  86. package/dist/distributeur/ModalAgent/BooleanModal.d.ts +1 -1
  87. package/dist/distributeur/ModalAgent/BooleanModal.js +1 -1
  88. package/dist/distributeur/Popover/AnimatedPopover.d.ts +1 -1
  89. package/dist/distributeur/Popover/AnimatedPopover.js +1 -1
  90. package/dist/distributeur/Popover/Popover.d.ts +2 -2
  91. package/dist/distributeur/Popover/Popover.js +1 -0
  92. package/dist/distributeur/Popover/Popover.types.d.ts +1 -1
  93. package/dist/distributeur/Popover/PopoverBase.d.ts +1 -1
  94. package/dist/distributeur/Popover/PopoverBase.js +1 -0
  95. package/dist/distributeur/Popover/PopoverClick.d.ts +1 -1
  96. package/dist/distributeur/Popover/PopoverOver.d.ts +1 -1
  97. package/dist/distributeur/Popover/index.js +2 -0
  98. package/dist/distributeur/Restitution/ArticleRestitution.d.ts +1 -1
  99. package/dist/distributeur/Restitution/HeaderRestitution.js +1 -0
  100. package/dist/distributeur/Restitution/Restitution.d.ts +1 -1
  101. package/dist/distributeur/Restitution/RestitutionList.d.ts +1 -1
  102. package/dist/distributeur/Restitution/SectionRestitution.d.ts +1 -1
  103. package/dist/distributeur/Restitution/SectionRestitutionColumn.d.ts +1 -1
  104. package/dist/distributeur/Restitution/SectionRestitutionRow.d.ts +1 -1
  105. package/dist/distributeur/Steps/Step.d.ts +1 -1
  106. package/dist/distributeur/Steps/StepCurrent.d.ts +1 -1
  107. package/dist/distributeur/Steps/StepDisabled.d.ts +1 -1
  108. package/dist/distributeur/Steps/StepLink.d.ts +1 -1
  109. package/dist/distributeur/Steps/StepNoLink.d.ts +1 -1
  110. package/dist/distributeur/Steps/Steps.d.ts +1 -1
  111. package/dist/distributeur/Steps/VerticalStep.d.ts +1 -1
  112. package/dist/distributeur/Steps/types.d.ts +1 -1
  113. package/dist/distributeur/Summary/index.d.ts +1 -1
  114. package/dist/distributeur/Table/Pagination/LiPoint.d.ts +1 -1
  115. package/dist/distributeur/Table/Pagination/Pager.d.ts +1 -1
  116. package/dist/distributeur/Table/Pagination/PaginationButton.d.ts +1 -1
  117. package/dist/distributeur/Table/Pagination/Paging.d.ts +1 -1
  118. package/dist/distributeur/Table/TBody.d.ts +1 -1
  119. package/dist/distributeur/Table/THead.d.ts +1 -1
  120. package/dist/distributeur/Table/Table.d.ts +1 -1
  121. package/dist/distributeur/Table/Td.d.ts +1 -1
  122. package/dist/distributeur/Table/Th.d.ts +1 -1
  123. package/dist/distributeur/Table/Tr.d.ts +1 -1
  124. package/dist/distributeur/Table/Tr.js +1 -0
  125. package/dist/distributeur/Tabs/Tabs.d.ts +2 -2
  126. package/dist/distributeur/Tabs/Tabs.js +1 -0
  127. package/dist/distributeur/Tabs/components/Pane.js +1 -0
  128. package/dist/distributeur/Tabs/components/Tab.d.ts +1 -1
  129. package/dist/distributeur/Tabs/components/TabsCore.d.ts +1 -1
  130. package/dist/distributeur/Tabs/components/TabsCore.js +1 -1
  131. package/dist/distributeur/Tabs/components/Title.js +1 -0
  132. package/dist/distributeur/Tag/Tag.d.ts +1 -1
  133. package/dist/distributeur/Tag/Tag.js +1 -1
  134. package/dist/distributeur/Title/Title.d.ts +1 -1
  135. package/dist/distributeur.js +1 -0
  136. package/dist/prospect-client/Button/ButtonCommon.js +1 -0
  137. package/dist/prospect-client/Card/CardCommon.js +1 -0
  138. package/dist/prospect-client/CardMessage/CardMessageCommon.d.ts +1 -1
  139. package/dist/prospect-client/ClickIcon/ClickIconCommon.d.ts +1 -1
  140. package/dist/prospect-client/ClickIcon/ClickIconCommon.js +1 -0
  141. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionApollo.js +1 -0
  142. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.js +1 -0
  143. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionLF.js +1 -0
  144. package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.d.ts +1 -1
  145. package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.js +1 -0
  146. package/dist/prospect-client/ContentItemMono/ContentItemMonoCore.d.ts +2 -3
  147. package/dist/prospect-client/DataAgent/DataAgentApollo.js +1 -0
  148. package/dist/prospect-client/DataAgent/DataAgentCommon.d.ts +2 -2
  149. package/dist/prospect-client/DataAgent/DataAgentCommon.js +3 -2
  150. package/dist/prospect-client/DataAgent/DataAgentLF.js +1 -0
  151. package/dist/prospect-client/Fieldset/FieldsetCommon.js +2 -0
  152. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.d.ts +1 -1
  153. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.d.ts +2 -2
  154. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.js +1 -1
  155. package/dist/prospect-client/Form/Dropdown/DropdownCommon.d.ts +1 -1
  156. package/dist/prospect-client/Form/Dropdown/DropdownCommon.js +2 -0
  157. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.d.ts +1 -1
  158. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.js +3 -1
  159. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileCommon.js +1 -0
  160. package/dist/prospect-client/Form/InputDate/InputDateCommon.d.ts +1 -1
  161. package/dist/prospect-client/Form/InputDate/InputDateCommon.js +2 -0
  162. package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.d.ts +3 -3
  163. package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.js +2 -1
  164. package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.d.ts +2 -2
  165. package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.js +5 -0
  166. package/dist/prospect-client/Form/InputText/InputTextCommon.js +3 -0
  167. package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupCommon.d.ts +1 -1
  168. package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupCommon.js +2 -0
  169. package/dist/prospect-client/Form/TextArea/TextAreaCommon.d.ts +2 -2
  170. package/dist/prospect-client/Form/TextArea/TextAreaCommon.js +2 -0
  171. package/dist/prospect-client/Heading/HeadingApollo.d.ts +1 -1
  172. package/dist/prospect-client/Heading/HeadingApollo.js +1 -1
  173. package/dist/prospect-client/Heading/HeadingCommon.js +1 -0
  174. package/dist/prospect-client/Heading/HeadingLF.d.ts +1 -1
  175. package/dist/prospect-client/Heading/HeadingLF.js +1 -1
  176. package/dist/prospect-client/Icon/IconCommon.d.ts +1 -1
  177. package/dist/prospect-client/Icon/IconCommon.js +1 -1
  178. package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.d.ts +1 -1
  179. package/dist/prospect-client/Layout/ExitLayout/ExitLayoutApollo.js +1 -0
  180. package/dist/prospect-client/Layout/ExitLayout/ExitLayoutCommon.d.ts +1 -1
  181. package/dist/prospect-client/Layout/ExitLayout/ExitLayoutCommon.js +3 -1
  182. package/dist/prospect-client/Layout/ExitLayout/ExitLayoutLF.js +1 -0
  183. package/dist/prospect-client/Layout/Footer/FooterCommon.d.ts +2 -2
  184. package/dist/prospect-client/Layout/Footer/FooterCommon.js +1 -1
  185. package/dist/prospect-client/LevelSelector/LevelSelectorApollo.js +1 -0
  186. package/dist/prospect-client/LevelSelector/LevelSelectorCommon.d.ts +2 -2
  187. package/dist/prospect-client/LevelSelector/LevelSelectorCommon.js +2 -0
  188. package/dist/prospect-client/LevelSelector/LevelSelectorLF.js +1 -0
  189. package/dist/prospect-client/Link/LinkCommon.d.ts +1 -1
  190. package/dist/prospect-client/List/ClickItem/ClickItemWrapper.d.ts +1 -1
  191. package/dist/prospect-client/List/ClickItem/components/ClickItemContentCommon.d.ts +1 -1
  192. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.d.ts +2 -2
  193. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.js +1 -0
  194. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.js +1 -0
  195. package/dist/prospect-client/List/List/ListApollo.js +1 -0
  196. package/dist/prospect-client/List/List/ListCommon.d.ts +1 -1
  197. package/dist/prospect-client/List/List/ListCommon.js +1 -0
  198. package/dist/prospect-client/List/List/ListLF.js +1 -0
  199. package/dist/prospect-client/Message/MessageCommon.js +1 -0
  200. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationApollo.js +1 -0
  201. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationCommon.js +2 -0
  202. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationLF.js +1 -0
  203. package/dist/prospect-client/Pagination/PaginationApollo.js +1 -0
  204. package/dist/prospect-client/Pagination/PaginationCommon.d.ts +1 -1
  205. package/dist/prospect-client/Pagination/PaginationCommon.js +2 -2
  206. package/dist/prospect-client/Pagination/PaginationLF.js +1 -0
  207. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupApollo.d.ts +1 -1
  208. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.js +1 -0
  209. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupLF.d.ts +1 -1
  210. package/dist/prospect-client/SkeletonList/SkeletonListApollo.js +1 -0
  211. package/dist/prospect-client/SkeletonList/SkeletonListLF.js +1 -0
  212. package/dist/prospect-client/Spinner/SpinnerCommon.d.ts +1 -1
  213. package/dist/prospect-client/Stepper/StepperCommon.d.ts +1 -1
  214. package/dist/prospect-client/Stepper/StepperCommon.js +1 -0
  215. package/dist/prospect-client/Svg/Svg.js +1 -1
  216. package/dist/prospect-client/TabBar/TabBarCommon.d.ts +1 -1
  217. package/dist/prospect-client/TabBar/TabBarCommon.js +2 -1
  218. package/dist/prospect-client/Table/TBody.d.ts +1 -1
  219. package/dist/prospect-client/Table/THead.js +1 -0
  220. package/dist/prospect-client/Table/TableCommon.js +1 -0
  221. package/dist/prospect-client/Table/Td.d.ts +1 -1
  222. package/dist/prospect-client/Table/Th.js +1 -0
  223. package/dist/prospect-client/Table/Tr.js +1 -0
  224. package/dist/prospect-client/TableMobileCard/DRow.js +1 -0
  225. package/dist/prospect-client/TableMobileCard/Dd.js +1 -0
  226. package/dist/prospect-client/TableMobileCard/Dt.js +1 -0
  227. package/dist/prospect-client/TableMobileCard/TableMobileCard.js +1 -0
  228. package/dist/prospect-client/TimelineVertical/TimelineVerticalCommon.d.ts +1 -1
  229. package/dist/prospect-client/TimelineVertical/types.d.ts +1 -1
  230. package/dist/prospect-client/pages/ErrorPage/ErrorPageApollo.js +1 -0
  231. package/dist/prospect-client/pages/ErrorPage/ErrorPageCommon.js +2 -0
  232. package/dist/prospect-client/pages/ErrorPage/ErrorPageLF.js +1 -0
  233. package/dist/prospect-client/pages/ValidPage/ValidPageApollo.js +1 -0
  234. package/dist/prospect-client/pages/ValidPage/ValidPageCommon.js +3 -0
  235. package/dist/prospect-client/pages/ValidPage/ValidPageLF.js +1 -0
  236. package/dist/prospect-client/utilities/types/GridContainerProps.d.ts +1 -1
  237. package/dist/prospect.js +1 -0
  238. 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
1
  import "@axa-fr/canopee-css/distributeur/Divider/Divider.css";
2
- import { ComponentProps } from "react";
2
+ import type { ComponentProps } from "react";
3
3
  type DividerProps = ComponentProps<"hr"> & {
4
4
  mode?: "horizontal" | "vertical";
5
5
  };
@@ -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 { ComponentProps } from "react";
1
+ import { type ComponentProps } from "react";
2
2
  import { type ConsumerFieldProps } from "../core";
3
3
  import { Checkbox } from "./Checkbox";
4
4
  type Props = Omit<ComponentProps<typeof Checkbox> & ConsumerFieldProps, "placeholder">;
@@ -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
- "use strict";
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 { getComponentClassName } from "../../utilities";
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,4 @@
1
- import { FileRejection } from "react-dropzone";
1
+ import { type FileRejection } from "react-dropzone";
2
2
  type Props = {
3
3
  errors?: FileRejection[];
4
4
  };
@@ -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,4 +1,4 @@
1
- import { CustomFile } from "./File";
1
+ import type { CustomFile } from "./File";
2
2
  type Props = CustomFile & {
3
3
  onClick: (id: string) => void;
4
4
  className?: string;
@@ -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,3 +1,4 @@
1
+ import {} from "react-select";
1
2
  export const useMultiSelectStyle = () => {
2
3
  // The recommended way to provide custom styles to react-select is to use the styles prop
3
4
  // https://react-select.com/styles#the-styles-prop
@@ -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
1
  import "@axa-fr/canopee-css/distributeur/Form/Text/Text.css";
2
- import { ComponentPropsWithRef } from "react";
2
+ import { type ComponentPropsWithRef } from "react";
3
3
  type Props = Omit<ComponentPropsWithRef<"input">, "type"> & {
4
4
  classModifier?: string;
5
5
  };
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithRef } from "react";
1
+ import { type ComponentPropsWithRef } from "react";
2
2
  import { type ConsumerFieldProps } from "../core";
3
3
  import { Number } from "./Number";
4
4
  type Props = ConsumerFieldProps & ComponentPropsWithRef<typeof Number>;
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import {} from "react";
2
3
  import { Field } from "../core";
3
4
  import { Number } from "./Number";
4
5
  export const NumberInput = ({ children, ...props }) => {
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithRef } from "react";
1
+ import { type ComponentPropsWithRef } from "react";
2
2
  import "@axa-fr/canopee-css/distributeur/Form/Pass/Pass.css";
3
3
  type Props = Omit<ComponentPropsWithRef<"input">, "type" | "role"> & {
4
4
  type?: "text" | "password";
@@ -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,5 +1,5 @@
1
1
  import "@axa-fr/canopee-css/distributeur/Form/Select/Select.css";
2
- import { OptionHTMLAttributes } from "react";
2
+ import { type OptionHTMLAttributes } from "react";
3
3
  /**
4
4
  * @deprecated Use Select instead
5
5
  */
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithRef } from "react";
1
+ import { type ComponentPropsWithRef } from "react";
2
2
  import { SelectBase } from "./SelectBase";
3
3
  type Props = Omit<ComponentPropsWithRef<typeof SelectBase> & {
4
4
  forceDisplayPlaceholder?: boolean;
@@ -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,4 +1,4 @@
1
- import { OptionHTMLAttributes } from "react";
1
+ import { type OptionHTMLAttributes } from "react";
2
2
  declare const SelectInput: import("react").ForwardRefExoticComponent<(Omit<Omit<{
3
3
  label: import("react").ReactNode;
4
4
  id?: string;
@@ -1,5 +1,5 @@
1
1
  import { type ComponentProps } from "react";
2
- import { ConsumerFieldProps } from "../core";
2
+ import { type ConsumerFieldProps } from "../core";
3
3
  import { Slider } from "./Slider";
4
4
  type Props = ConsumerFieldProps & ComponentProps<typeof Slider>;
5
5
  /**
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import {} from "react";
2
3
  import { Field } from "../core";
3
4
  import { Slider } from "./Slider";
4
5
  /**
@@ -1,5 +1,5 @@
1
1
  import "@axa-fr/canopee-css/distributeur/Form/Text/Text.css";
2
- import { ComponentPropsWithRef } from "react";
2
+ import { type ComponentPropsWithRef } from "react";
3
3
  type Props = ComponentPropsWithRef<"input"> & {
4
4
  classModifier?: string;
5
5
  };
@@ -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,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import type { ReactNode } from "react";
2
2
  type FieldProps = {
3
3
  isVisible?: boolean;
4
4
  className?: string;
@@ -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,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import type { ReactNode } from "react";
2
2
  type HelpProps = {
3
3
  message?: ReactNode;
4
4
  isVisible?: boolean;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import type { ReactNode } from "react";
2
2
  export { LegacyField } from "./Deprecated/Field";
3
3
  export { FieldForm } from "./Deprecated/FieldForm";
4
4
  export { FieldInput } from "./Deprecated/FieldInput";
@@ -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 { forwardRef } from "react";
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,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { type ReactNode } from "react";
2
2
  import "@axa-fr/canopee-css/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.css";
3
3
  import "@axa-fr/canopee-css/distributeur/common/breakpoints.css";
4
4
  export type AnchorNavBarItem = {
@@ -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 { Svg } from "../../../Svg";
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 }) => {