@axa-fr/canopee-react 1.4.0 → 1.4.1-alpha.2

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
@@ -1,6 +1,6 @@
1
- import { type ComponentProps, ComponentType } from "react";
2
- import { Divider } from "../Divider/DividerCommon";
1
+ import { type ComponentProps, type ComponentType } from "react";
3
2
  import type { ContentItemProps, ContentMonoItemIconProps, ContentMonoItemPictureProps, ContentMonoItemStickProps } from "../ContentItemMono/ContentItemMonoCommon";
3
+ import { Divider } from "../Divider/DividerCommon";
4
4
  import type { ClickItemProps } from "../List/ClickItem/types";
5
5
  export type TupleMax3<T> = [T] | [T, T] | [T, T, T];
6
6
  export type DataAgentProps = {
@@ -1,8 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { Fragment, useMemo } from "react";
2
+ import { Fragment, useMemo, } from "react";
3
+ import { Divider } from "../Divider/DividerCommon";
4
+ import { BREAKPOINT } from "../utilities/constants";
3
5
  import { getComponentClassName } from "../utilities/getComponentClassName";
4
6
  import { useIsSmallScreen } from "../utilities/hook/useIsSmallScreen";
5
- import { BREAKPOINT } from "../utilities/constants";
6
7
  export const DataAgentCommon = ({ className, agentProps, agentContractProps, contents, clickContents, texteOrias, DividerComponent, ContentItemMonoComponent, ClickItemComponent, isCompact = true, }) => {
7
8
  const componentClassName = useMemo(() => getComponentClassName("af-data-agent", className), [className]);
8
9
  const isMobile = useIsSmallScreen(BREAKPOINT.SM);
@@ -4,4 +4,5 @@ import { ClickItem } from "../List/ClickItem/ClickItemLF";
4
4
  import { ContentItemMono } from "../ContentItemMono/ContentItemMonoLF";
5
5
  import { Divider } from "../Divider/DividerLF";
6
6
  import "@axa-fr/canopee-css/client/DataAgent/DataAgentLF.css";
7
+ export {} from "./DataAgentCommon";
7
8
  export const DataAgent = (props) => (_jsx(DataAgentCommon, { ...props, DividerComponent: Divider, ClickItemComponent: ClickItem, ContentItemMonoComponent: ContentItemMono }));
@@ -1,4 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { CardCommon } from "../Card/CardCommon";
3
+ import { Icon } from "../Icon/IconCommon";
2
4
  import { ContentItemMonoCore } from "../ContentItemMono/ContentItemMonoCore";
3
5
  import { getClassName } from "../utilities/getClassName";
4
6
  export const FieldsetCommon = ({ children, title, iconProps, className, IconComponent, CardComponent, }) => {
@@ -1,7 +1,7 @@
1
1
  import { type ComponentType, type ReactNode } from "react";
2
+ import type { GridContainerProps } from "../../../utilities/types/GridContainerProps";
2
3
  import type { ItemMessageProps } from "../../ItemMessage/ItemMessageCommon";
3
4
  import type { CardCheckboxOptionProps } from "../CardCheckboxOption/CardCheckboxOptionCommon";
4
- import { GridContainerProps } from "../../../utilities/types/GridContainerProps";
5
5
  type CheckboxOption = Omit<CardCheckboxOptionProps, "name" | "type">;
6
6
  export type CardCheckboxProps = Omit<CardCheckboxOptionProps, "value" | "label" | "type" | "icon" | "description" | "subtitle" | "children"> & {
7
7
  type?: "vertical" | "horizontal";
@@ -1,7 +1,7 @@
1
- import { type ReactNode, type ComponentType } from "react";
1
+ import { type ComponentType, type ReactNode } from "react";
2
+ import type { GridContainerProps } from "../../../utilities/types/GridContainerProps";
2
3
  import type { ItemMessageProps } from "../../ItemMessage/ItemMessageCommon";
3
4
  import type { CheckboxProps } from "../Checkbox/CheckboxCommon";
4
- import { GridContainerProps } from "../../../utilities/types/GridContainerProps";
5
5
  export type CheckboxTextProps = {
6
6
  label: string | ReactNode;
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useId, forwardRef } from "react";
2
+ import { forwardRef, useId } from "react";
3
3
  const CheckboxTextCommon = forwardRef(({ label, errorMessage, id, message, messageType, CheckboxComponent, ItemMessageComponent, containerProps, ...inputProps }, ref) => {
4
4
  const generatedId = useId();
5
5
  const inputId = id ?? generatedId;
@@ -1,7 +1,7 @@
1
1
  import { type ComponentProps, type ComponentPropsWithRef, type ComponentType } from "react";
2
+ import type { GridContainerProps } from "../../utilities/types/GridContainerProps";
2
3
  import { ItemLabelCommon, type ItemLabelProps } from "../ItemLabel/ItemLabelCommon";
3
4
  import { ItemMessage, type ItemMessageProps } from "../ItemMessage/ItemMessageCommon";
4
- import { GridContainerProps } from "../../utilities/types/GridContainerProps";
5
5
  export type DropdownProps = ComponentPropsWithRef<"select"> & {
6
6
  id?: string;
7
7
  classModifier?: string;
@@ -1,6 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import classNames from "classnames";
3
3
  import { forwardRef, useId, } from "react";
4
+ import { ItemLabelCommon, } from "../ItemLabel/ItemLabelCommon";
5
+ import { ItemMessage, } from "../ItemMessage/ItemMessageCommon";
4
6
  const DropdownCommon = forwardRef(({ id, required, label, error, placeholder, children, helper, success, message, messageType, description, buttonLabel, moreButtonLabel, onButtonClick, onMoreButtonClick, sideButtonLabel, onSideButtonClick, ItemLabelComponent, ItemMessageComponent, containerProps, ...otherProps }, inputRef) => {
5
7
  const idMessage = useId();
6
8
  let inputId = useId();
@@ -1,7 +1,7 @@
1
1
  import { type ComponentPropsWithRef, type ComponentType, type MouseEventHandler, type ReactNode } from "react";
2
+ import type { GridContainerProps } from "../../../utilities/types/GridContainerProps";
2
3
  import { type ItemLabelProps } from "../../ItemLabel/ItemLabelCommon";
3
4
  import { type ItemMessageProps } from "../../ItemMessage/ItemMessageCommon";
4
- import { GridContainerProps } from "../../../utilities/types/GridContainerProps";
5
5
  type LabelProps = Partial<Omit<ItemLabelProps, "children" | "label" | "description" | "sideButtonLabel" | "onSideButtonClick" | "moreButtonLabel" | "onMoreButtonClick">>;
6
6
  export type InputFileProps = Omit<ComponentPropsWithRef<"input">, "type"> & {
7
7
  /**
@@ -1,8 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { forwardRef, useId, } from "react";
3
2
  import addCircleIcon from "@material-symbols/svg-400/rounded/add_circle-fill.svg";
3
+ import { forwardRef, useId, } from "react";
4
4
  import { Svg } from "../../../Svg/Svg";
5
5
  import { getClassName } from "../../../utilities/getClassName";
6
+ import {} from "../../ItemLabel/ItemLabelCommon";
7
+ import {} from "../../ItemMessage/ItemMessageCommon";
6
8
  const DEFAULT_DROPZONE_LABELS = {
7
9
  dropzone: "Glisser et déposer un fichier",
8
10
  or: "ou",
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import validationIcon from "@material-symbols/svg-400/outlined/check_circle-fill.svg";
3
3
  import errorIcon from "@material-symbols/svg-400/outlined/error-fill.svg";
4
+ import {} from "react";
4
5
  import { getClassName } from "../../../utilities/getClassName";
5
6
  const BASE_UNIT = 1000;
6
7
  const BYTE_UNITS = ["Ko", "Mo", "Go"];
@@ -1,8 +1,8 @@
1
1
  import { type ComponentProps, type ComponentPropsWithRef, type ComponentType } from "react";
2
+ import type { GridContainerProps } from "../../utilities/types/GridContainerProps";
2
3
  import { ItemLabelCommon, type ItemLabelProps } from "../ItemLabel/ItemLabelCommon";
3
4
  import { ItemMessage, type ItemMessageProps } from "../ItemMessage/ItemMessageCommon";
4
5
  import { type InputDateAtomProps } from "./InputDateAtom";
5
- import { GridContainerProps } from "../../utilities/types/GridContainerProps";
6
6
  export type InputDateProps = Omit<ComponentPropsWithRef<"input">, "value" | "min" | "max"> & {
7
7
  classModifier?: string;
8
8
  defaultValue?: Date | string;
@@ -1,6 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { forwardRef, useId, } from "react";
3
3
  import { getClassName } from "../../utilities/getClassName";
4
+ import { ItemLabelCommon, } from "../ItemLabel/ItemLabelCommon";
5
+ import { ItemMessage, } from "../ItemMessage/ItemMessageCommon";
4
6
  import { InputDateAtom } from "./InputDateAtom";
5
7
  import { InputDateTextAtom } from "./InputDateTextAtom";
6
8
  const InputDateCommon = forwardRef(({ className, classModifier = "", helper, error, success, message, messageType, label, description, buttonLabel, moreButtonLabel, onButtonClick, onMoreButtonClick, ItemLabelComponent, ItemMessageComponent, required, hidePicker, max, min, containerProps, ...otherProps }, inputRef) => {
@@ -1,7 +1,7 @@
1
- import { ComponentProps, ComponentType } from "react";
2
- import { SingleValue } from "react-select";
3
- import { OptionType } from "./InputPhone.types";
1
+ import { type ComponentProps, type ComponentType } from "react";
2
+ import { type SingleValue } from "react-select";
4
3
  import { Icon } from "../../Icon/IconCommon";
4
+ import type { OptionType } from "./InputPhone.types";
5
5
  declare const CountryCodeSelect: ({ options, defaultCountry, onChangeSelect, IconComponent, disabled, }: {
6
6
  options: OptionType[];
7
7
  defaultCountry?: string;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
- import Select from "react-select";
3
+ import Select, {} from "react-select";
4
+ import { Icon } from "../../Icon/IconCommon";
4
5
  const CountryCodeSelect = ({ options, defaultCountry, onChangeSelect, IconComponent, disabled, }) => {
5
6
  const defaultOption = options.find((option) => option.code === (defaultCountry ?? "+33"));
6
7
  const [selectedOption, setSelectedOption] = useState(defaultOption);
@@ -1,11 +1,11 @@
1
1
  import { type ComponentProps, type ComponentPropsWithRef, type ComponentType } from "react";
2
- import { SingleValue } from "react-select";
2
+ import type { SingleValue } from "react-select";
3
3
  import { Icon } from "../../Icon/IconCommon";
4
+ import type { GridContainerProps } from "../../utilities/types/GridContainerProps";
4
5
  import { InputTextAtom } from "../InputTextAtom/InputTextAtomCommon";
5
6
  import { ItemLabelCommon, type ItemLabelProps } from "../ItemLabel/ItemLabelCommon";
6
7
  import { ItemMessage, type ItemMessageProps } from "../ItemMessage/ItemMessageCommon";
7
8
  import { type OptionType } from "./InputPhone.types";
8
- import { GridContainerProps } from "../../utilities/types/GridContainerProps";
9
9
  export type InputPhoneProps = ComponentPropsWithRef<"input"> & {
10
10
  classModifier?: string;
11
11
  helper?: string;
@@ -1,6 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { forwardRef, useId, } from "react";
3
+ import { Icon } from "../../Icon/IconCommon";
4
+ import { InputTextAtom } from "../InputTextAtom/InputTextAtomCommon";
5
+ import { ItemLabelCommon, } from "../ItemLabel/ItemLabelCommon";
6
+ import { ItemMessage, } from "../ItemMessage/ItemMessageCommon";
3
7
  import { CountryCodeSelect } from "./CountryCodeSelect";
8
+ import {} from "./InputPhone.types";
4
9
  import { maskFrenchPhoneNumber } from "./maskFrenchPhoneNumber";
5
10
  const InputPhoneCommon = forwardRef(({ className, classModifier = "", helper, error, success, message, messageType, defaultCountry, showSelect, disabled, label, description, buttonLabel, moreButtonLabel, onButtonClick, onMoreButtonClick, required, sideButtonLabel, onSideButtonClick, countryCodeOptions = [], onChangeSelect, onChangeInput, mask = maskFrenchPhoneNumber, ItemLabelComponent, ItemMessageComponent, InputTextComponent, IconComponent, "aria-errormessage": ariaErrormessage, containerProps, ...otherProps }, inputRef) => {
6
11
  let inputId = useId();
@@ -1,5 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { forwardRef, useId, } from "react";
3
+ import { InputTextAtom } from "../InputTextAtom/InputTextAtomCommon";
4
+ import { ItemLabelCommon, } from "../ItemLabel/ItemLabelCommon";
5
+ import { ItemMessage, } from "../ItemMessage/ItemMessageCommon";
3
6
  const InputTextCommon = forwardRef(({ unit, className, classModifier = "", helper, error, success, message, messageType, label, description, buttonLabel, moreButtonLabel, onButtonClick, onMoreButtonClick, required, sideButtonLabel, onSideButtonClick, ItemLabelComponent, ItemMessageComponent, InputTextAtomComponent, containerProps, ...otherProps }, inputRef) => {
4
7
  let inputId = useId();
5
8
  inputId = otherProps.id || inputId;
@@ -1,7 +1,7 @@
1
1
  import { type ComponentProps, type ComponentType, type PropsWithChildren, type ReactNode } from "react";
2
+ import type { GridContainerProps } from "../../../utilities/types/GridContainerProps";
2
3
  import { ItemMessage, type ItemMessageProps } from "../../ItemMessage/ItemMessageCommon";
3
4
  import { type CardRadioOptionProps } from "../CardRadioOption/CardRadioOptionCommon";
4
- import { GridContainerProps } from "../../../utilities/types/GridContainerProps";
5
5
  type RadioOption = Omit<CardRadioOptionProps, "name" | "type" | "isInvalid">;
6
6
  export type CardRadioGroupProps = Omit<CardRadioOptionProps, "value" | "label" | "type" | "isInvalid" | "icon" | "src" | "basePictureProps" | "description" | "subtitle" | "children" | "position"> & {
7
7
  /**
@@ -1,5 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useId, } from "react";
3
+ import { ItemMessage, } from "../../ItemMessage/ItemMessageCommon";
4
+ import {} from "../CardRadioOption/CardRadioOptionCommon";
3
5
  const CardRadioGroupCommon = ({ className, labelGroup, descriptionGroup, label, description, isRequired, required, options, cardStyle, type = "vertical", position = (cardStyle ?? type) === "vertical" ? "column" : "line", error, message, messageType = "error", name, value, id, CardRadioOptionComponent, ItemMessageComponent, containerProps, ...inputProps }) => {
4
6
  const generatedId = useId();
5
7
  const cardRadioGroupId = id ?? generatedId;
@@ -1,7 +1,7 @@
1
- import { type ComponentProps, ComponentPropsWithRef, type ComponentType } from "react";
1
+ import { type ComponentProps, type ComponentPropsWithRef, type ComponentType } from "react";
2
+ import type { GridContainerProps } from "../../utilities/types/GridContainerProps";
2
3
  import { ItemLabelCommon, type ItemLabelProps } from "../ItemLabel/ItemLabelCommon";
3
4
  import { ItemMessage, type ItemMessageProps } from "../ItemMessage/ItemMessageCommon";
4
- import { GridContainerProps } from "../../utilities/types/GridContainerProps";
5
5
  export type TextAreaProps = ComponentPropsWithRef<"textarea"> & {
6
6
  label?: ItemLabelProps["children"];
7
7
  helper?: string;
@@ -1,5 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { forwardRef, useId, } from "react";
3
+ import { ItemLabelCommon, } from "../ItemLabel/ItemLabelCommon";
4
+ import { ItemMessage, } from "../ItemMessage/ItemMessageCommon";
3
5
  const TextAreaCommon = forwardRef(({ id, className, label, description, helper, error, message, messageType, buttonLabel, moreButtonLabel, onButtonClick, onMoreButtonClick, required, sideButtonLabel, ItemLabelComponent, ItemMessageComponent, onSideButtonClick, placeholder = " ", containerProps, ...inputProps }, inputRef) => {
4
6
  const generatedId = useId();
5
7
  const inputId = id ?? generatedId;
@@ -1,4 +1,4 @@
1
1
  import "@axa-fr/canopee-css/prospect/Heading/HeadingApollo.css";
2
- import { HeadingProps } from "./types";
2
+ import type { HeadingProps } from "./types";
3
3
  export type { HeadingLevel, HeadingProps } from "./types";
4
4
  export declare const Heading: ({ tag, tagProps, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import "@axa-fr/canopee-css/prospect/Heading/HeadingApollo.css";
3
- import { DEFAULT_TAG_PROPS, HeadingCommon } from "./HeadingCommon";
4
3
  import { Tag } from "../Tag/TagApollo";
4
+ import { DEFAULT_TAG_PROPS, HeadingCommon } from "./HeadingCommon";
5
5
  export const Heading = ({ tag, tagProps = {}, ...props }) => (_jsx(HeadingCommon, { ...props, tag: tag ? (_jsx(Tag, { ...DEFAULT_TAG_PROPS, ...tagProps, children: tag })) : null }));
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Icon } from "../Icon/IconCommon";
3
+ import {} from "../Tag/TagCommon";
3
4
  import { HeadingWithSubheadings } from "./HeadingWithSubheadings";
4
5
  import { headingLevelToIconSizeDesktop, headingLevelToIconSizeMobile, } from "./types";
5
6
  import { useIsSmallScreen } from "../utilities/hook/useIsSmallScreen";
@@ -1,4 +1,4 @@
1
1
  import "@axa-fr/canopee-css/client/Heading/HeadingLF.css";
2
- import { HeadingProps } from "./types";
2
+ import type { HeadingProps } from "./types";
3
3
  export type { HeadingLevel, HeadingProps } from "./types";
4
4
  export declare const Heading: ({ tag, tagProps, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import "@axa-fr/canopee-css/client/Heading/HeadingLF.css";
3
- import { DEFAULT_TAG_PROPS, HeadingCommon } from "./HeadingCommon";
4
3
  import { Tag } from "../Tag/TagLF";
4
+ import { DEFAULT_TAG_PROPS, HeadingCommon } from "./HeadingCommon";
5
5
  export const Heading = ({ tag, tagProps = {}, ...props }) => (_jsx(HeadingCommon, { ...props, tag: tag ? (_jsx(Tag, { ...DEFAULT_TAG_PROPS, ...tagProps, children: tag })) : null }));
@@ -1,4 +1,4 @@
1
- import { ComponentProps } from "react";
1
+ import { type ComponentProps } from "react";
2
2
  import { Svg } from "../Svg/Svg";
3
3
  export declare const iconVariants: {
4
4
  readonly primary: "primary";
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
- import { getComponentClassName } from "../utilities/getComponentClassName";
4
3
  import { Svg } from "../Svg/Svg";
4
+ import { getComponentClassName } from "../utilities/getComponentClassName";
5
5
  export const iconVariants = {
6
6
  primary: "primary",
7
7
  secondary: "secondary",
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithRef } from "react";
1
+ import { type ComponentPropsWithRef } from "react";
2
2
  export type ItemTabBarProps = ComponentPropsWithRef<"button"> & {
3
3
  isActive?: boolean;
4
4
  title: string;
@@ -2,6 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Heading } from "../../Heading/HeadingApollo";
3
3
  import { Icon } from "../../Icon/IconApollo";
4
4
  import { Agent, Action, Content, ExitLayoutCommon, } from "./ExitLayoutCommon";
5
+ export {} from "./ExitLayoutCommon";
5
6
  export const ExitLayout = (props) => (_jsx(ExitLayoutCommon, { ...props, HeadingComponent: Heading, IconComponent: Icon }));
6
7
  ExitLayout.Agent = Agent;
7
8
  ExitLayout.Action = Action;
@@ -1,5 +1,5 @@
1
1
  import "@axa-fr/canopee-css/prospect/Layout/ExitLayout/ExitLayoutAll.css";
2
- import { ComponentType, type PropsWithChildren } from "react";
2
+ import { type ComponentType, type PropsWithChildren } from "react";
3
3
  import { type HeadingProps } from "../../Heading/types";
4
4
  import { type IconProps } from "../../Icon/IconCommon";
5
5
  export type ExitLayoutProps = PropsWithChildren & {
@@ -1,8 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import "@axa-fr/canopee-css/prospect/Layout/ExitLayout/ExitLayoutAll.css";
3
3
  import { Children, isValidElement, } from "react";
4
- import { useIsSmallScreen } from "../../utilities/hook/useIsSmallScreen";
4
+ import {} from "../../Heading/types";
5
+ import {} from "../../Icon/IconCommon";
5
6
  import { BREAKPOINT } from "../../utilities/constants";
7
+ import { useIsSmallScreen } from "../../utilities/hook/useIsSmallScreen";
6
8
  export const Agent = ({ children }) => Children.map(children, function (child) {
7
9
  if (isValidElement(child)) {
8
10
  const childProps = typeof child.props === "object" && child.props !== null
@@ -2,6 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Heading } from "../../Heading/HeadingLF";
3
3
  import { Icon } from "../../Icon/IconLF";
4
4
  import { Agent, Action, Content, ExitLayoutCommon, } from "./ExitLayoutCommon";
5
+ export {} from "./ExitLayoutCommon";
5
6
  export const ExitLayout = (props) => (_jsx(ExitLayoutCommon, { ...props, HeadingComponent: Heading, IconComponent: Icon }));
6
7
  ExitLayout.Agent = Agent;
7
8
  ExitLayout.Action = Action;
@@ -1,5 +1,5 @@
1
- import { SocialMedia } from "./MenuIcons";
2
- import { Link } from "./MenuLink";
1
+ import { type SocialMedia } from "./MenuIcons";
2
+ import { type Link } from "./MenuLink";
3
3
  export type FooterProps = {
4
4
  links: Link[];
5
5
  socialMedias?: SocialMedia[];
@@ -2,9 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import expandMore from "@material-symbols/svg-400/outlined/keyboard_arrow_down.svg";
3
3
  import classNames from "classnames";
4
4
  import { useCallback, useState } from "react";
5
+ import { Svg } from "../../Svg/Svg";
5
6
  import { MenuIcons } from "./MenuIcons";
6
7
  import { MenuLink } from "./MenuLink";
7
- import { Svg } from "../../Svg/Svg";
8
8
  export const Footer = ({ links, socialMedias = [], copyright, expandLinkText, id, }) => {
9
9
  const [isAboutOpen, setIsAboutOpen] = useState(false);
10
10
  const handleClick = useCallback(() => {
@@ -6,3 +6,4 @@ import { LevelSelectorCommon, } from "./LevelSelectorCommon";
6
6
  export const LevelSelector = (props) => {
7
7
  return (_jsx(LevelSelectorCommon, { ...props, ClickIconComponent: ClickIcon, CardComponent: Card }));
8
8
  };
9
+ export {};
@@ -1,6 +1,6 @@
1
- import { ComponentProps, ComponentType } from "react";
2
- import { ClickIcon } from "../ClickIcon/ClickIconCommon";
1
+ import { type ComponentProps, type ComponentType } from "react";
3
2
  import { CardCommon } from "../Card/CardCommon";
3
+ import { ClickIcon } from "../ClickIcon/ClickIconCommon";
4
4
  export type LevelSelectorProps = {
5
5
  title: string;
6
6
  description?: string;
@@ -2,6 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import add from "@material-symbols/svg-400/rounded/add-fill.svg";
3
3
  import remove from "@material-symbols/svg-400/rounded/remove-fill.svg";
4
4
  import { useId } from "react";
5
+ import { CardCommon } from "../Card/CardCommon";
6
+ import { ClickIcon } from "../ClickIcon/ClickIconCommon";
5
7
  export const LevelSelectorCommon = ({ title, description, value = 0, stepsCount = 2, ClickIconComponent, CardComponent, minusAriaLabel = "Diminuer le niveau", plusAriaLabel = "Augmenter le niveau", onChange, }) => {
6
8
  const levelSelectorId = useId();
7
9
  const stepsArray = Array.from({ length: stepsCount }, (_, index) => index + 1);
@@ -6,3 +6,4 @@ import { LevelSelectorCommon, } from "./LevelSelectorCommon";
6
6
  export const LevelSelector = (props) => {
7
7
  return (_jsx(LevelSelectorCommon, { ...props, ClickIconComponent: ClickIcon, CardComponent: Card }));
8
8
  };
9
+ export {};
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef, PropsWithChildren, type ReactNode } from "react";
1
+ import type { ComponentPropsWithoutRef, PropsWithChildren, ReactNode } from "react";
2
2
  export declare const linkVariants: {
3
3
  readonly inverse: "inverse";
4
4
  };
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from "react";
1
+ import type { HTMLAttributes } from "react";
2
2
  type ClickItemWrapperProps = HTMLAttributes<HTMLElement> & {
3
3
  isClickable?: boolean;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { ComponentType } from "react";
1
+ import type { ComponentType } from "react";
2
2
  import type { TagProps } from "../../../Tag/TagCommon";
3
3
  export type ClickItemContentProps = {
4
4
  title: string;
@@ -1,7 +1,7 @@
1
- import { ComponentProps, ComponentType } from "react";
1
+ import type { ComponentProps, ComponentType } from "react";
2
2
  import type { IconProps } from "../../../Icon/IconCommon";
3
- import { ClickItemStates, ClickItemVariants } from "../ClickItemCommon";
4
3
  import { Spinner } from "../../../Spinner/SpinnerCommon";
4
+ import type { ClickItemStates, ClickItemVariants } from "../ClickItemCommon";
5
5
  export type ClickItemSuffixProps = {
6
6
  state: ClickItemStates;
7
7
  variant: ClickItemVariants;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import keyboardArrowRight from "@material-symbols/svg-400/rounded/keyboard_arrow_right-fill.svg";
3
+ import { Spinner } from "../../../Spinner/SpinnerCommon";
3
4
  export const ClickItemSuffixCommon = ({ state, variant, trailingClickIcon, IconComponent, SpinnerComponent, }) => {
4
5
  if (variant === "large" && state === "loading") {
5
6
  return _jsx(SpinnerComponent, { size: 32 });
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import {} from "react";
2
3
  import { getClassName } from "../../utilities/getClassName";
3
4
  export const ContentItemDuoCommon = ({ label, value, position = "horizontal", size = "large", className, classModifier, isVertical, buttonText, onButtonClick, ButtonComponent, ...containerProps }) => {
4
5
  const componentClassName = getClassName({
@@ -2,4 +2,5 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import "@axa-fr/canopee-css/prospect/List/List/ListApollo.css";
3
3
  import { Card } from "../../Card/CardApollo";
4
4
  import { ListCommon } from "./ListCommon";
5
+ export {} from "./ListCommon";
5
6
  export const List = (props) => (_jsx(ListCommon, { ...props, CardComponent: Card }));
@@ -1,4 +1,4 @@
1
- import { ComponentProps, ComponentType } from "react";
1
+ import { type ComponentProps, type ComponentType } from "react";
2
2
  import { CardCommon as Card, type CardCommonProps } from "../../Card/CardCommon";
3
3
  export type ListProps = CardCommonProps<"ul" | "ol">;
4
4
  type ListPropsCommon = ListProps & {
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Children } from "react";
3
+ import { CardCommon as Card, } from "../../Card/CardCommon";
3
4
  import { generateId } from "../../utilities/generateId";
4
5
  export const ListCommon = ({ children, CardComponent, as = "ul", ...listProps }) => (_jsx(CardComponent, { as: as, ...listProps, children: Children.toArray(children).map((child) => (_jsx("li", { children: child }, generateId(child)))) }));
@@ -2,4 +2,5 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import "@axa-fr/canopee-css/client/List/List/ListLF.css";
3
3
  import { Card } from "../../Card/CardLF";
4
4
  import { ListCommon } from "./ListCommon";
5
+ export {} from "./ListCommon";
5
6
  export const List = (props) => (_jsx(ListCommon, { ...props, CardComponent: Card }));
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Link } from "../Link/LinkCommon";
2
3
  import { iconByVariant, messageVariants } from "./constants";
3
4
  import { getAriaRole } from "./Message.helpers";
4
5
  const defaultClassName = "af-message";
@@ -1,3 +1,4 @@
1
1
  import "@axa-fr/canopee-css/prospect/Pagination/ItemPagination/ItemPaginationApollo.css";
2
2
  import { ItemPaginationCommon } from "./ItemPaginationCommon";
3
+ export {} from "./ItemPaginationCommon";
3
4
  export const ItemPagination = ItemPaginationCommon;
@@ -1,4 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import {} from "react";
3
+ import {} from "../../utilities/types/PolymorphicComponent";
2
4
  import { getClassName } from "../../utilities/getClassName";
3
5
  export const ELLIPSIS = "...";
4
6
  export const ItemPaginationCommon = ({ as, page, isCurrentPage, className, ...props }) => {
@@ -1,3 +1,4 @@
1
1
  import "@axa-fr/canopee-css/client/Pagination/ItemPagination/ItemPaginationLF.css";
2
2
  import { ItemPaginationCommon } from "./ItemPaginationCommon";
3
+ export {} from "./ItemPaginationCommon";
3
4
  export const ItemPagination = ItemPaginationCommon;
@@ -2,4 +2,5 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import "@axa-fr/canopee-css/prospect/Pagination/PaginationApollo.css";
3
3
  import { ItemPagination } from "./ItemPagination/ItemPaginationApollo";
4
4
  import { PaginationCommon } from "./PaginationCommon";
5
+ export {} from "./PaginationCommon";
5
6
  export const Pagination = (props) => (_jsx(PaginationCommon, { ...props, ItemPaginationComponent: ItemPagination }));
@@ -1,4 +1,4 @@
1
- import { ComponentProps, ComponentType, type ComponentPropsWithoutRef } from "react";
1
+ import type { ComponentProps, ComponentPropsWithoutRef, ComponentType } from "react";
2
2
  import { ClickIcon } from "../ClickIcon/ClickIconCommon";
3
3
  import { ItemPaginationCommon } from "./ItemPagination/ItemPaginationCommon";
4
4
  import { type getItemsProps } from "./Pagination.helper";
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import chevronBackward from "@material-symbols/svg-400/rounded/chevron_backward.svg";
3
3
  import chevronForward from "@material-symbols/svg-400/rounded/chevron_forward.svg";
4
- import { getClassName } from "../utilities/getClassName";
5
4
  import { ClickIcon } from "../ClickIcon/ClickIconCommon";
6
- import { ELLIPSIS, } from "./ItemPagination/ItemPaginationCommon";
5
+ import { getClassName } from "../utilities/getClassName";
6
+ import { ELLIPSIS, ItemPaginationCommon, } from "./ItemPagination/ItemPaginationCommon";
7
7
  import { getItems } from "./Pagination.helper";
8
8
  export const PaginationCommon = ({ numberPages = 1, onChangePage, className, currentPage = 1, asItem, hidePrevNext = false, "aria-label": ariaLabel = "Pagination", ItemPaginationComponent, prevButtonProps, nextButtonProps, }) => {
9
9
  const items = getItems({
@@ -2,4 +2,5 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import "@axa-fr/canopee-css/client/Pagination/PaginationLF.css";
3
3
  import { ItemPagination } from "./ItemPagination/ItemPaginationLF";
4
4
  import { PaginationCommon } from "./PaginationCommon";
5
+ export {} from "./PaginationCommon";
5
6
  export const Pagination = (props) => (_jsx(PaginationCommon, { ...props, ItemPaginationComponent: ItemPagination }));
@@ -1,3 +1,3 @@
1
1
  import "@axa-fr/canopee-css/prospect/ProgressBarGroup/ProgressBarGroupApollo.css";
2
- import { ProgressBarGroupProps } from "./ProgressBarGroupCommon";
2
+ import { type ProgressBarGroupProps } from "./ProgressBarGroupCommon";
3
3
  export declare const ProgressBarGroup: (props: ProgressBarGroupProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import classNames from "classnames";
3
3
  import { useId } from "react";
4
+ import { ProgressBar } from "../ProgressBar/ProgressBarCommon";
4
5
  import { useSequentialProgress } from "./useSequentialProgress";
5
6
  export const ProgressBarGroupCommon = ({ currentStepProgress = 0, max = 100, nbSteps = 4, stepsCount = nbSteps, currentStep, className, ProgressBarComponent, ...props }) => {
6
7
  const stepperId = useId();
@@ -1,3 +1,3 @@
1
1
  import "@axa-fr/canopee-css/client/ProgressBarGroup/ProgressBarGroupLF.css";
2
- import { ProgressBarGroupProps } from "./ProgressBarGroupCommon";
2
+ import { type ProgressBarGroupProps } from "./ProgressBarGroupCommon";
3
3
  export declare const ProgressBarGroup: (props: ProgressBarGroupProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,4 +2,5 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Skeleton } from "../Skeleton/SkeletonApollo";
3
3
  import { List } from "../List/List/ListApollo";
4
4
  import { SkeletonListCommon, } from "./SkeletonListCommon";
5
+ export {} from "./SkeletonListCommon";
5
6
  export const SkeletonList = (props) => (_jsx(SkeletonListCommon, { ...props, SkeletonComponent: Skeleton, ListComponent: List }));
@@ -2,4 +2,5 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Skeleton } from "../Skeleton/SkeletonLF";
3
3
  import { List } from "../List/List/ListLF";
4
4
  import { SkeletonListCommon, } from "./SkeletonListCommon";
5
+ export {} from "./SkeletonListCommon";
5
6
  export const SkeletonList = (props) => (_jsx(SkeletonListCommon, { ...props, SkeletonComponent: Skeleton, ListComponent: List }));
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef } from "react";
1
+ import type { ComponentPropsWithoutRef } from "react";
2
2
  export declare const spinnerVariants: {
3
3
  readonly blue: "blue";
4
4
  readonly gray: "gray";