@axa-fr/canopee-react 2.0.1-alpha.6 → 2.0.1-alpha.61

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 (432) hide show
  1. package/dist/client.d.ts +8 -0
  2. package/dist/client.js +8 -0
  3. package/dist/distributeur/Accordion/Accordion.d.ts +1 -1
  4. package/dist/distributeur/Accordion/Body.d.ts +1 -1
  5. package/dist/distributeur/Accordion/CollapseCard.d.ts +1 -1
  6. package/dist/distributeur/Accordion/Header.d.ts +1 -1
  7. package/dist/distributeur/Action/Action.d.ts +1 -1
  8. package/dist/distributeur/Button/Button.d.ts +1 -1
  9. package/dist/distributeur/ButtonMultiActions/ButtonMultiActions.d.ts +1 -1
  10. package/dist/distributeur/ButtonMultiActions/ButtonMultiActions.js +1 -1
  11. package/dist/distributeur/Card/BaseCard.d.ts +1 -1
  12. package/dist/distributeur/Card/Card.d.ts +1 -1
  13. package/dist/distributeur/CardButton/CardButton.d.ts +1 -1
  14. package/dist/distributeur/CardData/CardData.d.ts +1 -1
  15. package/dist/distributeur/CardData/CardDataHeader.d.ts +1 -1
  16. package/dist/distributeur/ClickableGhost.d.ts +1 -1
  17. package/dist/distributeur/Divider/Divider.d.ts +1 -1
  18. package/dist/distributeur/EditorialMessage/EditorialMessage.d.ts +1 -1
  19. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitution.d.ts +1 -1
  20. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionColumn.d.ts +1 -1
  21. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionHeader.d.ts +1 -1
  22. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionLabel.d.ts +1 -1
  23. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionLabelValue.d.ts +1 -1
  24. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionListDef.d.ts +1 -1
  25. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionRow.d.ts +1 -1
  26. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionSection.d.ts +1 -1
  27. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionValue.d.ts +1 -1
  28. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionValueList.d.ts +1 -1
  29. package/dist/distributeur/Form/Checkbox/Checkbox.d.ts +2 -2
  30. package/dist/distributeur/Form/Checkbox/CheckboxInput.d.ts +1 -1
  31. package/dist/distributeur/Form/Checkbox/CheckboxItem.d.ts +1 -1
  32. package/dist/distributeur/Form/Choice/Choice.d.ts +1 -1
  33. package/dist/distributeur/Form/Choice/ChoiceInput.d.ts +1 -1
  34. package/dist/distributeur/Form/Date/Date.d.ts +1 -1
  35. package/dist/distributeur/Form/Date/DateInput.d.ts +1 -1
  36. package/dist/distributeur/Form/Experimental/DateInput.d.ts +1 -1
  37. package/dist/distributeur/Form/Experimental/Input.d.ts +1 -1
  38. package/dist/distributeur/Form/Experimental/InputContainer.d.ts +1 -1
  39. package/dist/distributeur/Form/Experimental/InputUnit.d.ts +1 -1
  40. package/dist/distributeur/Form/Experimental/ItemMessage.d.ts +1 -1
  41. package/dist/distributeur/Form/Experimental/Label.d.ts +1 -1
  42. package/dist/distributeur/Form/Experimental/Legend.d.ts +1 -1
  43. package/dist/distributeur/Form/Experimental/Radio/AddRadioCard.d.ts +1 -1
  44. package/dist/distributeur/Form/Experimental/Radio/RadioButton.d.ts +1 -1
  45. package/dist/distributeur/Form/Experimental/Radio/RadioCard.d.ts +1 -1
  46. package/dist/distributeur/Form/Experimental/Radio/RadioGroup.d.ts +1 -1
  47. package/dist/distributeur/Form/Experimental/Radio/RadioInput.d.ts +1 -1
  48. package/dist/distributeur/Form/Experimental/Radio/RadioItem.d.ts +1 -1
  49. package/dist/distributeur/Form/Experimental/Radio/RadioText.d.ts +1 -1
  50. package/dist/distributeur/Form/Experimental/Radio/_radioInputOptions.d.ts +1 -1
  51. package/dist/distributeur/Form/Experimental/Select.d.ts +1 -1
  52. package/dist/distributeur/Form/Experimental/SelectInput.d.ts +1 -1
  53. package/dist/distributeur/Form/Experimental/TextInput.d.ts +1 -1
  54. package/dist/distributeur/Form/File/File.d.ts +1 -1
  55. package/dist/distributeur/Form/File/FileErrors.d.ts +1 -1
  56. package/dist/distributeur/Form/File/FileInput.d.ts +1 -1
  57. package/dist/distributeur/Form/File/FileLine.d.ts +1 -1
  58. package/dist/distributeur/Form/File/FileTable.d.ts +1 -1
  59. package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.d.ts +1 -1
  60. package/dist/distributeur/Form/MultiSelect/MultiSelect.d.ts +1 -1
  61. package/dist/distributeur/Form/MultiSelect/MultiSelectInput.d.ts +1 -1
  62. package/dist/distributeur/Form/MultiSelect/ValueContainer.d.ts +2 -1
  63. package/dist/distributeur/Form/NestedQuestion/NestedQuestion.d.ts +1 -1
  64. package/dist/distributeur/Form/Number/Number.d.ts +1 -1
  65. package/dist/distributeur/Form/Number/NumberInput.d.ts +1 -1
  66. package/dist/distributeur/Form/Radio/Radio.d.ts +1 -1
  67. package/dist/distributeur/Form/Radio/RadioCardGroup.d.ts +1 -1
  68. package/dist/distributeur/Form/Radio/RadioInput.d.ts +1 -1
  69. package/dist/distributeur/Form/Radio/RadioItem.d.ts +1 -1
  70. package/dist/distributeur/Form/Select/Select.d.ts +1 -1
  71. package/dist/distributeur/Form/Select/SelectBase.d.ts +1 -1
  72. package/dist/distributeur/Form/Select/SelectDefault.d.ts +1 -1
  73. package/dist/distributeur/Form/Select/SelectInput.d.ts +1 -1
  74. package/dist/distributeur/Form/Text/Text.d.ts +1 -1
  75. package/dist/distributeur/Form/Text/TextInput.d.ts +1 -1
  76. package/dist/distributeur/Form/Textarea/Textarea.d.ts +1 -1
  77. package/dist/distributeur/Form/Textarea/TextareaInput.d.ts +1 -1
  78. package/dist/distributeur/Form/core/Field.d.ts +1 -1
  79. package/dist/distributeur/Form/core/FieldError.d.ts +1 -1
  80. package/dist/distributeur/Form/core/HelpMessage.d.ts +1 -1
  81. package/dist/distributeur/FormHelper/FormHelper.d.ts +17 -0
  82. package/dist/distributeur/FormHelper/FormHelper.js +10 -0
  83. package/dist/distributeur/FormHelper/ListFormHelper.d.ts +26 -0
  84. package/dist/distributeur/FormHelper/ListFormHelper.js +17 -0
  85. package/dist/distributeur/FormHelper/types.d.ts +3 -0
  86. package/dist/distributeur/FormHelper/types.js +1 -0
  87. package/dist/distributeur/HelpButton/index.d.ts +1 -1
  88. package/dist/distributeur/ItemFormHelper/ItemFormHelper.d.ts +17 -3
  89. package/dist/distributeur/ItemFormHelper/ItemFormHelper.js +3 -3
  90. package/dist/distributeur/Layout/Footer/Footer.d.ts +1 -1
  91. package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.d.ts +1 -1
  92. package/dist/distributeur/Layout/Header/Header.d.ts +1 -1
  93. package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.d.ts +1 -1
  94. package/dist/distributeur/Layout/Header/Infos/Infos.d.ts +1 -1
  95. package/dist/distributeur/Layout/Header/MenuTitleWrapper/MenuTitleWrapper.d.ts +1 -1
  96. package/dist/distributeur/Layout/Header/Name/Name.d.ts +1 -1
  97. package/dist/distributeur/Layout/Header/NavBar/NavBar.d.ts +1 -1
  98. package/dist/distributeur/Layout/Header/NavBar/NavBarBase.d.ts +1 -1
  99. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.d.ts +2 -2
  100. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.d.ts +1 -1
  101. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemLink.d.ts +1 -1
  102. package/dist/distributeur/Layout/Header/User/InnerUser.d.ts +1 -1
  103. package/dist/distributeur/Layout/Header/User/User.d.ts +1 -1
  104. package/dist/distributeur/Layout/MainContainer/MainContainer.d.ts +1 -1
  105. package/dist/distributeur/Link/Link.d.ts +1 -1
  106. package/dist/distributeur/Link/LinkAnchor.d.ts +1 -1
  107. package/dist/distributeur/Loader/ItemLoader.d.ts +1 -1
  108. package/dist/distributeur/Loader/Loader.d.ts +1 -1
  109. package/dist/distributeur/Loader/SquareLoader.d.ts +1 -1
  110. package/dist/distributeur/MandatoryMention/MandatoryMention.d.ts +1 -1
  111. package/dist/distributeur/Messages/Message.d.ts +1 -1
  112. package/dist/distributeur/ModalAgent/BooleanModal.d.ts +1 -1
  113. package/dist/distributeur/ModalAgent/Modal.d.ts +1 -1
  114. package/dist/distributeur/ModalAgent/Modal.js +1 -3
  115. package/dist/distributeur/ModalAgent/components/Body.d.ts +1 -1
  116. package/dist/distributeur/ModalAgent/components/Footer.d.ts +1 -1
  117. package/dist/distributeur/ModalAgent/components/Header.d.ts +1 -1
  118. package/dist/distributeur/ModalAgent/components/HeaderBase.d.ts +1 -1
  119. package/dist/distributeur/Popover/AnimatedPopover.d.ts +1 -1
  120. package/dist/distributeur/Popover/Popover.d.ts +1 -1
  121. package/dist/distributeur/Popover/PopoverBase.d.ts +1 -1
  122. package/dist/distributeur/Popover/PopoverClick.d.ts +2 -1
  123. package/dist/distributeur/Popover/PopoverOver.d.ts +2 -1
  124. package/dist/distributeur/Restitution/ArticleRestitution.d.ts +1 -1
  125. package/dist/distributeur/Restitution/HeaderRestitution.d.ts +1 -1
  126. package/dist/distributeur/Restitution/Restitution.d.ts +1 -1
  127. package/dist/distributeur/Restitution/RestitutionList.d.ts +1 -1
  128. package/dist/distributeur/Restitution/SectionRestitution.d.ts +1 -1
  129. package/dist/distributeur/Restitution/SectionRestitutionColumn.d.ts +1 -1
  130. package/dist/distributeur/Restitution/SectionRestitutionRow.d.ts +1 -1
  131. package/dist/distributeur/Restitution/SectionRestitutionTitle.d.ts +1 -1
  132. package/dist/distributeur/Steps/Step.d.ts +1 -1
  133. package/dist/distributeur/Steps/StepBase.d.ts +1 -1
  134. package/dist/distributeur/Steps/StepCurrent.d.ts +1 -1
  135. package/dist/distributeur/Steps/StepDisabled.d.ts +1 -1
  136. package/dist/distributeur/Steps/StepLink.d.ts +1 -1
  137. package/dist/distributeur/Steps/StepNoLink.d.ts +1 -1
  138. package/dist/distributeur/Steps/Steps.d.ts +1 -1
  139. package/dist/distributeur/Steps/VerticalStep.d.ts +1 -1
  140. package/dist/distributeur/Summary/index.d.ts +1 -1
  141. package/dist/distributeur/Svg/Svg.d.ts +1 -1
  142. package/dist/distributeur/Table/Pagination/Items.d.ts +1 -1
  143. package/dist/distributeur/Table/Pagination/Li.d.ts +1 -1
  144. package/dist/distributeur/Table/Pagination/LiPoint.d.ts +1 -1
  145. package/dist/distributeur/Table/Pagination/Pager.d.ts +1 -1
  146. package/dist/distributeur/Table/Pagination/PaginationButton.d.ts +1 -1
  147. package/dist/distributeur/Table/Pagination/Paging.d.ts +1 -1
  148. package/dist/distributeur/Table/TBody.d.ts +1 -1
  149. package/dist/distributeur/Table/THead.d.ts +1 -1
  150. package/dist/distributeur/Table/Table.d.ts +6 -6
  151. package/dist/distributeur/Table/Td.d.ts +1 -1
  152. package/dist/distributeur/Table/Th.d.ts +1 -1
  153. package/dist/distributeur/Table/Tr.d.ts +1 -1
  154. package/dist/distributeur/Tabs/components/Pane.d.ts +1 -1
  155. package/dist/distributeur/Tabs/components/TabsCore.d.ts +1 -1
  156. package/dist/distributeur/Tabs/components/TabsStateless.d.ts +1 -1
  157. package/dist/distributeur/Tag/Tag.d.ts +1 -1
  158. package/dist/distributeur/Timeline/Timeline.d.ts +1 -1
  159. package/dist/distributeur/Timeline/TimelineCircle.d.ts +1 -1
  160. package/dist/distributeur/Timeline/TimelineDetails.d.ts +1 -1
  161. package/dist/distributeur/Title/Title.d.ts +1 -1
  162. package/dist/distributeur/utilities/VisuallyHidden.d.ts +1 -1
  163. package/dist/distributeur.d.ts +3 -0
  164. package/dist/distributeur.js +2 -0
  165. package/dist/prospect-client/Accordion/AccordionApollo.d.ts +1 -1
  166. package/dist/prospect-client/Accordion/AccordionCommon.d.ts +1 -1
  167. package/dist/prospect-client/Accordion/AccordionLF.d.ts +1 -1
  168. package/dist/prospect-client/AccordionContextual/AccordionContextualApollo.d.ts +1 -1
  169. package/dist/prospect-client/AccordionContextual/AccordionContextualCommon.d.ts +1 -1
  170. package/dist/prospect-client/AccordionContextual/AccordionContextualLF.d.ts +1 -1
  171. package/dist/prospect-client/AccordionCore/AccordionCoreApollo.d.ts +1 -1
  172. package/dist/prospect-client/AccordionCore/AccordionCoreCommon.d.ts +1 -1
  173. package/dist/prospect-client/AccordionCore/AccordionCoreLF.d.ts +1 -1
  174. package/dist/prospect-client/AppName/AppName.d.ts +1 -1
  175. package/dist/prospect-client/BasePicture/BasePicture.d.ts +1 -1
  176. package/dist/prospect-client/Button/ButtonApollo.d.ts +1 -1
  177. package/dist/prospect-client/Button/ButtonCommon.d.ts +1 -1
  178. package/dist/prospect-client/Button/ButtonLF.d.ts +1 -1
  179. package/dist/prospect-client/Card/CardCommon.d.ts +1 -1
  180. package/dist/prospect-client/CardMarketing/CardMarketingApollo.d.ts +3 -0
  181. package/dist/prospect-client/CardMarketing/CardMarketingApollo.js +6 -0
  182. package/dist/prospect-client/CardMarketing/CardMarketingCommon.d.ts +32 -0
  183. package/dist/prospect-client/CardMarketing/CardMarketingCommon.js +20 -0
  184. package/dist/prospect-client/CardMarketing/CardMarketingLF.d.ts +3 -0
  185. package/dist/prospect-client/CardMarketing/CardMarketingLF.js +6 -0
  186. package/dist/prospect-client/CardMessage/CardMessageCommon.d.ts +1 -1
  187. package/dist/prospect-client/ClickIcon/ClickIconCommon.d.ts +1 -1
  188. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionApollo.d.ts +1 -1
  189. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.d.ts +1 -1
  190. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionLF.d.ts +1 -1
  191. package/dist/prospect-client/ContentItemMono/ContentItemMonoApollo.d.ts +1 -1
  192. package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.d.ts +8 -1
  193. package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.js +3 -2
  194. package/dist/prospect-client/ContentItemMono/ContentItemMonoCore.d.ts +1 -1
  195. package/dist/prospect-client/ContentItemMono/ContentItemMonoLF.d.ts +1 -1
  196. package/dist/prospect-client/DataAgent/DataAgentApollo.d.ts +1 -1
  197. package/dist/prospect-client/DataAgent/DataAgentCommon.d.ts +1 -1
  198. package/dist/prospect-client/DataAgent/DataAgentCommon.js +1 -1
  199. package/dist/prospect-client/DataAgent/DataAgentLF.d.ts +1 -1
  200. package/dist/prospect-client/Divider/DividerCommon.d.ts +1 -1
  201. package/dist/prospect-client/Fieldset/FieldsetApollo.d.ts +1 -1
  202. package/dist/prospect-client/Fieldset/FieldsetCommon.d.ts +1 -1
  203. package/dist/prospect-client/Fieldset/FieldsetLF.d.ts +1 -1
  204. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxApollo.d.ts +1 -1
  205. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.d.ts +1 -1
  206. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxLF.d.ts +1 -1
  207. package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.d.ts +1 -1
  208. package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.d.ts +1 -1
  209. package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.d.ts +1 -1
  210. package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxCommon.d.ts +1 -1
  211. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextApollo.d.ts +1 -1
  212. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.d.ts +1 -1
  213. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextLF.d.ts +1 -1
  214. package/dist/prospect-client/Form/Dropdown/DropdownApollo.d.ts +1 -1
  215. package/dist/prospect-client/Form/Dropdown/DropdownCommon.d.ts +3 -3
  216. package/dist/prospect-client/Form/Dropdown/DropdownLF.d.ts +1 -1
  217. package/dist/prospect-client/Form/DropdownMultiSelect/DropdownMultiSelectApollo.d.ts +4 -0
  218. package/dist/prospect-client/Form/DropdownMultiSelect/DropdownMultiSelectApollo.js +9 -0
  219. package/dist/prospect-client/Form/DropdownMultiSelect/DropdownMultiSelectCommon.d.ts +47 -0
  220. package/dist/prospect-client/Form/DropdownMultiSelect/DropdownMultiSelectCommon.js +39 -0
  221. package/dist/prospect-client/Form/DropdownMultiSelect/DropdownMultiSelectLF.d.ts +4 -0
  222. package/dist/prospect-client/Form/DropdownMultiSelect/DropdownMultiSelectLF.js +9 -0
  223. package/dist/prospect-client/Form/DropdownMultiSelect/useDropdownMultiSelect.hook.d.ts +14 -0
  224. package/dist/prospect-client/Form/DropdownMultiSelect/useDropdownMultiSelect.hook.js +31 -0
  225. package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadApollo.d.ts +1 -1
  226. package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadCommon.d.ts +1 -1
  227. package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadLF.d.ts +1 -1
  228. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileApollo.d.ts +1 -1
  229. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.d.ts +1 -1
  230. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileLF.d.ts +1 -1
  231. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileApollo.d.ts +1 -1
  232. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileCommon.d.ts +1 -1
  233. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileLF.d.ts +1 -1
  234. package/dist/prospect-client/Form/InputDate/InputDateApollo.d.ts +1 -1
  235. package/dist/prospect-client/Form/InputDate/InputDateAtom.d.ts +1 -1
  236. package/dist/prospect-client/Form/InputDate/InputDateCommon.d.ts +3 -3
  237. package/dist/prospect-client/Form/InputDate/InputDateLF.d.ts +1 -1
  238. package/dist/prospect-client/Form/InputDate/InputDateTextAtom.d.ts +1 -1
  239. package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.d.ts +1 -1
  240. package/dist/prospect-client/Form/InputPhone/InputPhoneApollo.d.ts +1 -1
  241. package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.d.ts +3 -3
  242. package/dist/prospect-client/Form/InputPhone/InputPhoneLF.d.ts +1 -1
  243. package/dist/prospect-client/Form/InputText/InputTextApollo.d.ts +1 -1
  244. package/dist/prospect-client/Form/InputText/InputTextCommon.d.ts +3 -3
  245. package/dist/prospect-client/Form/InputText/InputTextLF.d.ts +1 -1
  246. package/dist/prospect-client/Form/InputTextAtom/InputTextAtomCommon.d.ts +1 -1
  247. package/dist/prospect-client/Form/ItemLabel/ItemLabelApollo.d.ts +1 -1
  248. package/dist/prospect-client/Form/ItemLabel/ItemLabelCommon.d.ts +1 -1
  249. package/dist/prospect-client/Form/ItemLabel/ItemLabelLF.d.ts +1 -1
  250. package/dist/prospect-client/Form/ItemMessage/ItemMessage.d.ts +1 -1
  251. package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectApollo.d.ts +1 -1
  252. package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectCommon.d.ts +2 -1
  253. package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectLF.d.ts +1 -1
  254. package/dist/prospect-client/Form/MultiSelectList/MultiSelectListApollo.d.ts +1 -1
  255. package/dist/prospect-client/Form/MultiSelectList/MultiSelectListCommon.d.ts +1 -1
  256. package/dist/prospect-client/Form/MultiSelectList/MultiSelectListLF.d.ts +1 -1
  257. package/dist/prospect-client/Form/Radio/CardRadio/CardRadioApollo.d.ts +1 -1
  258. package/dist/prospect-client/Form/Radio/CardRadio/CardRadioCommon.d.ts +1 -1
  259. package/dist/prospect-client/Form/Radio/CardRadio/CardRadioLF.d.ts +1 -1
  260. package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupApollo.d.ts +1 -1
  261. package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupCommon.d.ts +1 -1
  262. package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupLF.d.ts +1 -1
  263. package/dist/prospect-client/Form/Radio/Radio/RadioCommon.d.ts +1 -1
  264. package/dist/prospect-client/Form/TextArea/TextAreaApollo.d.ts +1 -1
  265. package/dist/prospect-client/Form/TextArea/TextAreaCommon.d.ts +3 -3
  266. package/dist/prospect-client/Form/TextArea/TextAreaLF.d.ts +1 -1
  267. package/dist/prospect-client/Grid/DebugGridApollo.d.ts +1 -1
  268. package/dist/prospect-client/Grid/DebugGridCommon.d.ts +1 -1
  269. package/dist/prospect-client/Grid/DebugGridLF.d.ts +1 -1
  270. package/dist/prospect-client/Header/HeaderApollo.d.ts +1 -1
  271. package/dist/prospect-client/Header/HeaderCommon.d.ts +1 -1
  272. package/dist/prospect-client/Header/HeaderLF.d.ts +1 -1
  273. package/dist/prospect-client/Heading/HeadingApollo.d.ts +1 -1
  274. package/dist/prospect-client/Heading/HeadingCommon.d.ts +1 -1
  275. package/dist/prospect-client/Heading/HeadingLF.d.ts +1 -1
  276. package/dist/prospect-client/Heading/HeadingWithSubheadings.d.ts +1 -1
  277. package/dist/prospect-client/Icon/IconCommon.d.ts +1 -1
  278. package/dist/prospect-client/ItemMenu/ItemMenuCommon.d.ts +1 -1
  279. package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.d.ts +1 -1
  280. package/dist/prospect-client/Layout/ColumnLayout/ColumnsLayoutApollo.d.ts +8 -0
  281. package/dist/prospect-client/Layout/ColumnLayout/ColumnsLayoutApollo.js +14 -0
  282. package/dist/prospect-client/Layout/ColumnLayout/ColumnsLayoutCommon.d.ts +24 -0
  283. package/dist/prospect-client/Layout/ColumnLayout/ColumnsLayoutCommon.js +29 -0
  284. package/dist/prospect-client/Layout/ColumnLayout/ColumnsLayoutLF.d.ts +8 -0
  285. package/dist/prospect-client/Layout/ColumnLayout/ColumnsLayoutLF.js +14 -0
  286. package/dist/prospect-client/Layout/ExitLayout/ExitLayoutApollo.d.ts +1 -1
  287. package/dist/prospect-client/Layout/ExitLayout/ExitLayoutCommon.d.ts +1 -1
  288. package/dist/prospect-client/Layout/ExitLayout/ExitLayoutLF.d.ts +1 -1
  289. package/dist/prospect-client/Layout/ExitLayout/ExitLayoutSkeleton.d.ts +1 -1
  290. package/dist/prospect-client/Layout/Footer/DynamicIcons.d.ts +1 -1
  291. package/dist/prospect-client/Layout/Footer/FooterCommon.d.ts +1 -1
  292. package/dist/prospect-client/Layout/Footer/MenuIcons.d.ts +1 -1
  293. package/dist/prospect-client/Layout/Footer/MenuLink.d.ts +1 -1
  294. package/dist/prospect-client/Layout/FormLayout/FormLayout.d.ts +1 -1
  295. package/dist/prospect-client/Layout/MainLayout/MainLayoutApollo.d.ts +8 -0
  296. package/dist/prospect-client/Layout/MainLayout/MainLayoutApollo.js +15 -0
  297. package/dist/prospect-client/Layout/MainLayout/MainLayoutCommon.d.ts +48 -0
  298. package/dist/prospect-client/Layout/MainLayout/MainLayoutCommon.js +36 -0
  299. package/dist/prospect-client/Layout/MainLayout/MainLayoutLF.d.ts +8 -0
  300. package/dist/prospect-client/Layout/MainLayout/MainLayoutLF.js +15 -0
  301. package/dist/prospect-client/Layout/PatternCardMarketing/PatternCardMarketing.d.ts +7 -0
  302. package/dist/prospect-client/Layout/PatternCardMarketing/PatternCardMarketing.js +7 -0
  303. package/dist/prospect-client/Layout/PatternMozaicFree/PatternMozaicFree.d.ts +9 -0
  304. package/dist/prospect-client/Layout/PatternMozaicFree/PatternMozaicFree.js +13 -0
  305. package/dist/prospect-client/Layout/PatternMozaicGrid/PatternMozaicGrid.d.ts +19 -0
  306. package/dist/prospect-client/Layout/PatternMozaicGrid/PatternMozaicGrid.js +28 -0
  307. package/dist/prospect-client/Layout/PatternWithAction/PatternWithActionApollo.d.ts +7 -0
  308. package/dist/prospect-client/Layout/PatternWithAction/PatternWithActionApollo.js +7 -0
  309. package/dist/prospect-client/Layout/PatternWithAction/PatternWithActionCommon.d.ts +16 -0
  310. package/dist/prospect-client/Layout/PatternWithAction/PatternWithActionCommon.js +18 -0
  311. package/dist/prospect-client/Layout/PatternWithAction/PatternWithActionLF.d.ts +7 -0
  312. package/dist/prospect-client/Layout/PatternWithAction/PatternWithActionLF.js +7 -0
  313. package/dist/prospect-client/LevelSelector/LevelSelectorApollo.d.ts +1 -1
  314. package/dist/prospect-client/LevelSelector/LevelSelectorCommon.d.ts +1 -1
  315. package/dist/prospect-client/LevelSelector/LevelSelectorLF.d.ts +1 -1
  316. package/dist/prospect-client/Link/LinkApollo.d.ts +1 -0
  317. package/dist/prospect-client/Link/LinkApollo.js +1 -0
  318. package/dist/prospect-client/Link/LinkCommon.d.ts +8 -1
  319. package/dist/prospect-client/Link/LinkCommon.js +17 -2
  320. package/dist/prospect-client/Link/LinkLF.d.ts +1 -0
  321. package/dist/prospect-client/Link/LinkLF.js +1 -0
  322. package/dist/prospect-client/List/ClickItem/ClickItemApollo.d.ts +1 -1
  323. package/dist/prospect-client/List/ClickItem/ClickItemCommon.d.ts +1 -1
  324. package/dist/prospect-client/List/ClickItem/ClickItemLF.d.ts +1 -1
  325. package/dist/prospect-client/List/ClickItem/ClickItemWrapper.d.ts +1 -1
  326. package/dist/prospect-client/List/ClickItem/components/ClickItemContentApollo.d.ts +1 -1
  327. package/dist/prospect-client/List/ClickItem/components/ClickItemContentCommon.d.ts +1 -1
  328. package/dist/prospect-client/List/ClickItem/components/ClickItemContentLF.d.ts +1 -1
  329. package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixApollo.d.ts +1 -1
  330. package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixCommon.d.ts +1 -1
  331. package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixLF.d.ts +1 -1
  332. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixApollo.d.ts +1 -1
  333. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.d.ts +1 -1
  334. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixLF.d.ts +1 -1
  335. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoApollo.d.ts +1 -1
  336. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.d.ts +1 -1
  337. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoLF.d.ts +1 -1
  338. package/dist/prospect-client/List/List/ListApollo.d.ts +1 -1
  339. package/dist/prospect-client/List/List/ListCommon.d.ts +1 -1
  340. package/dist/prospect-client/List/List/ListLF.d.ts +1 -1
  341. package/dist/prospect-client/Loader/LoaderApollo.d.ts +1 -1
  342. package/dist/prospect-client/Loader/LoaderCommon.d.ts +1 -1
  343. package/dist/prospect-client/Loader/LoaderLF.d.ts +1 -1
  344. package/dist/prospect-client/MenuBurger/MenuBurgerApollo.d.ts +1 -1
  345. package/dist/prospect-client/MenuBurger/MenuBurgerCommon.d.ts +1 -1
  346. package/dist/prospect-client/MenuBurger/MenuBurgerLF.d.ts +1 -1
  347. package/dist/prospect-client/Message/MessageApollo.d.ts +1 -1
  348. package/dist/prospect-client/Message/MessageCommon.d.ts +1 -1
  349. package/dist/prospect-client/Message/MessageLF.d.ts +1 -1
  350. package/dist/prospect-client/MessageBar/MessageBarAction.d.ts +1 -1
  351. package/dist/prospect-client/MessageBar/MessageBarApollo.d.ts +1 -1
  352. package/dist/prospect-client/MessageBar/MessageBarCommon.d.ts +1 -1
  353. package/dist/prospect-client/MessageBar/MessageBarDescription.d.ts +1 -1
  354. package/dist/prospect-client/MessageBar/MessageBarLF.d.ts +1 -1
  355. package/dist/prospect-client/MessageBar/MessageBarSummary.d.ts +1 -1
  356. package/dist/prospect-client/Modal/ModalApollo.d.ts +1 -1
  357. package/dist/prospect-client/Modal/ModalCommon.d.ts +1 -1
  358. package/dist/prospect-client/Modal/ModalLF.d.ts +1 -1
  359. package/dist/prospect-client/Modal/components/ModalCore.d.ts +1 -1
  360. package/dist/prospect-client/Modal/components/ModalCore.js +1 -3
  361. package/dist/prospect-client/Modal/components/ModalCoreBody.d.ts +1 -1
  362. package/dist/prospect-client/Modal/components/ModalCoreFooterApollo.d.ts +1 -1
  363. package/dist/prospect-client/Modal/components/ModalCoreFooterCommon.d.ts +1 -1
  364. package/dist/prospect-client/Modal/components/ModalCoreFooterLF.d.ts +1 -1
  365. package/dist/prospect-client/Modal/components/ModalCoreHeaderApollo.d.ts +1 -1
  366. package/dist/prospect-client/Modal/components/ModalCoreHeaderCommon.d.ts +1 -1
  367. package/dist/prospect-client/Modal/components/ModalCoreHeaderLF.d.ts +1 -1
  368. package/dist/prospect-client/MultiMessage/MultiMessageApollo.d.ts +1 -1
  369. package/dist/prospect-client/MultiMessage/MultiMessageCommon.d.ts +1 -1
  370. package/dist/prospect-client/MultiMessage/MultiMessageFooter.d.ts +1 -1
  371. package/dist/prospect-client/MultiMessage/MultiMessageLF.d.ts +1 -1
  372. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationApollo.d.ts +1 -1
  373. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationCommon.d.ts +1 -1
  374. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationLF.d.ts +1 -1
  375. package/dist/prospect-client/Pagination/PaginationApollo.d.ts +1 -1
  376. package/dist/prospect-client/Pagination/PaginationCommon.d.ts +1 -1
  377. package/dist/prospect-client/Pagination/PaginationLF.d.ts +1 -1
  378. package/dist/prospect-client/ProgressBar/ProgressBarCommon.d.ts +1 -1
  379. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupApollo.d.ts +1 -1
  380. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.d.ts +1 -1
  381. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupLF.d.ts +1 -1
  382. package/dist/prospect-client/Skeleton/Skeleton.d.ts +1 -1
  383. package/dist/prospect-client/SkeletonGrid/SkeletonGrid.d.ts +1 -1
  384. package/dist/prospect-client/SkeletonList/SkeletonListApollo.d.ts +1 -1
  385. package/dist/prospect-client/SkeletonList/SkeletonListCommon.d.ts +1 -1
  386. package/dist/prospect-client/SkeletonList/SkeletonListLF.d.ts +1 -1
  387. package/dist/prospect-client/Spinner/SpinnerCommon.d.ts +1 -1
  388. package/dist/prospect-client/Stepper/StepperApollo.d.ts +1 -1
  389. package/dist/prospect-client/Stepper/StepperCommon.d.ts +3 -3
  390. package/dist/prospect-client/Stepper/StepperLF.d.ts +1 -1
  391. package/dist/prospect-client/Svg/Svg.d.ts +2 -2
  392. package/dist/prospect-client/TabBar/TabBarApollo.d.ts +1 -1
  393. package/dist/prospect-client/TabBar/TabBarCommon.d.ts +1 -1
  394. package/dist/prospect-client/TabBar/TabBarCommon.js +1 -1
  395. package/dist/prospect-client/TabBar/TabBarLF.d.ts +1 -1
  396. package/dist/prospect-client/TabMenu/TabMenu.d.ts +1 -1
  397. package/dist/prospect-client/TabMenu/TabMenu.js +1 -3
  398. package/dist/prospect-client/Table/TBody.d.ts +1 -1
  399. package/dist/prospect-client/Table/THead.d.ts +1 -1
  400. package/dist/prospect-client/Table/TableCommon.d.ts +6 -6
  401. package/dist/prospect-client/Table/Td.d.ts +1 -1
  402. package/dist/prospect-client/Table/Th.d.ts +1 -1
  403. package/dist/prospect-client/Table/Tr.d.ts +1 -1
  404. package/dist/prospect-client/TableMobileCard/DRow.d.ts +1 -1
  405. package/dist/prospect-client/TableMobileCard/Dd.d.ts +1 -1
  406. package/dist/prospect-client/TableMobileCard/Dt.d.ts +1 -1
  407. package/dist/prospect-client/TableMobileCard/TableMobileCard.d.ts +4 -4
  408. package/dist/prospect-client/Tag/TagCommon.d.ts +1 -1
  409. package/dist/prospect-client/TagList/TagListApollo.d.ts +1 -1
  410. package/dist/prospect-client/TagList/TagListApollo.js +1 -1
  411. package/dist/prospect-client/TagList/TagListCommon.d.ts +5 -7
  412. package/dist/prospect-client/TagList/TagListCommon.js +6 -5
  413. package/dist/prospect-client/TagList/TagListLF.d.ts +1 -1
  414. package/dist/prospect-client/TagList/TagListLF.js +1 -1
  415. package/dist/prospect-client/TimelineVertical/TimelineVerticalApollo.d.ts +1 -1
  416. package/dist/prospect-client/TimelineVertical/TimelineVerticalCommon.d.ts +1 -1
  417. package/dist/prospect-client/TimelineVertical/TimelineVerticalLF.d.ts +1 -1
  418. package/dist/prospect-client/Toggle/ToggleApollo.d.ts +1 -1
  419. package/dist/prospect-client/Toggle/ToggleCommon.d.ts +1 -1
  420. package/dist/prospect-client/Toggle/ToggleLF.d.ts +1 -1
  421. package/dist/prospect-client/pages/ErrorPage/ErrorPageApollo.d.ts +1 -1
  422. package/dist/prospect-client/pages/ErrorPage/ErrorPageCommon.d.ts +1 -1
  423. package/dist/prospect-client/pages/ErrorPage/ErrorPageLF.d.ts +1 -1
  424. package/dist/prospect-client/pages/ValidPage/ValidPageApollo.d.ts +1 -1
  425. package/dist/prospect-client/pages/ValidPage/ValidPageCommon.d.ts +1 -1
  426. package/dist/prospect-client/pages/ValidPage/ValidPageLF.d.ts +1 -1
  427. package/dist/prospect-client/utilities/VisuallyHidden.d.ts +1 -1
  428. package/dist/prospect-client/utilities/flattenFragments.d.ts +2 -0
  429. package/dist/prospect-client/utilities/flattenFragments.js +4 -0
  430. package/dist/prospect.d.ts +8 -0
  431. package/dist/prospect.js +8 -0
  432. package/package.json +16 -16
@@ -1,4 +1,5 @@
1
1
  import type { ComponentProps, ComponentType } from "react";
2
+ import { BasePicture } from "../BasePicture/BasePicture";
2
3
  import { Icon, type IconProps } from "../Icon/IconCommon";
3
4
  import { type ContentItemCoreProps } from "./ContentItemMonoCore";
4
5
  export type ContentMonoItemSize = "medium" | "large";
@@ -8,6 +9,12 @@ export type ContentMonoItemPictureProps = {
8
9
  picture: string;
9
10
  title: string;
10
11
  subtitle: string;
12
+ /**
13
+ * Props passed to the picture. The picture is decorative by default
14
+ * (`alt=""`) because the title is displayed next to it: set `alt` only
15
+ * when the picture carries information that the text does not.
16
+ */
17
+ basePictureProps?: Omit<ComponentProps<typeof BasePicture>, "src">;
11
18
  };
12
19
  export type ContentMonoItemIconProps = {
13
20
  type: "icon";
@@ -26,4 +33,4 @@ export type ContentItemCommonProps = ContentItemProps & {
26
33
  IconComponent: ComponentType<ComponentProps<typeof Icon>>;
27
34
  };
28
35
  export declare const getContentItemCoreProps: ({ IconComponent, type, ...props }: ContentItemCommonProps) => ContentItemCoreProps;
29
- export declare const ContentItemMonoCommon: (props: ContentItemCommonProps) => import("react/jsx-runtime").JSX.Element;
36
+ export declare const ContentItemMonoCommon: (props: ContentItemCommonProps) => import("react").JSX.Element;
@@ -13,9 +13,10 @@ export const getContentItemCoreProps = ({ IconComponent, type, ...props }) => {
13
13
  };
14
14
  }
15
15
  if (type === "picture") {
16
+ const { picture, basePictureProps, ...pictureItemProps } = props;
16
17
  return {
17
- ...props,
18
- leftComponent: (_jsx(BasePicture, { src: props.picture, alt: props.title })),
18
+ ...pictureItemProps,
19
+ leftComponent: _jsx(BasePicture, { src: picture, ...basePictureProps }),
19
20
  };
20
21
  }
21
22
  return {
@@ -12,5 +12,5 @@ export type ContentItemCoreProps<T extends ElementType = "div"> = {
12
12
  size?: ContentMonoItemSize;
13
13
  leftComponent?: ReactNode;
14
14
  } & AtLeastOneText;
15
- export declare const ContentItemMonoCore: <T extends ElementType = "div">({ as, size, leftComponent, title, primarySubtitle, subtitle, }: ContentItemCoreProps<T>) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const ContentItemMonoCore: <T extends ElementType = "div">({ as, size, leftComponent, title, primarySubtitle, subtitle, }: ContentItemCoreProps<T>) => import("react").JSX.Element;
16
16
  export {};
@@ -1,3 +1,3 @@
1
1
  import "@axa-fr/canopee-css/client/ContentItemMono/ContentItemMonoLF.css";
2
2
  import { type ContentItemProps } from "./ContentItemMonoCommon";
3
- export declare const ContentItemMono: (props: ContentItemProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ContentItemMono: (props: ContentItemProps) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import { type DataAgentProps } from "./DataAgentCommon";
2
2
  import "@axa-fr/canopee-css/prospect/DataAgent/DataAgentApollo.css";
3
3
  export { type DataAgentProps } from "./DataAgentCommon";
4
- export declare const DataAgent: (props: DataAgentProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const DataAgent: (props: DataAgentProps) => import("react").JSX.Element;
@@ -19,5 +19,5 @@ type DataAgentCommonProps = DataAgentProps & {
19
19
  ContentItemMonoComponent: ComponentType<ContentItemProps>;
20
20
  ClickItemComponent: ComponentType<ClickItemProps>;
21
21
  };
22
- export declare const DataAgentCommon: ({ className, agentProps, agentContractProps, contents, clickContents, texteOrias, DividerComponent, ContentItemMonoComponent, ClickItemComponent, isCompact, variant, }: DataAgentCommonProps) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const DataAgentCommon: ({ className, agentProps, agentContractProps, contents, clickContents, texteOrias, DividerComponent, ContentItemMonoComponent, ClickItemComponent, isCompact, variant, }: DataAgentCommonProps) => import("react").JSX.Element;
23
23
  export {};
@@ -10,7 +10,7 @@ export const DataAgentCommon = ({ className, agentProps, agentContractProps, con
10
10
  const renderForDefaultLayout = () => (_jsxs(_Fragment, { children: [_jsxs("section", { className: "af-data-agent__intro", children: [_jsx(ContentItemMonoComponent, { ...agentProps, type: "picture" }), agentContractProps ? (_jsx(ContentItemMonoComponent, { ...agentContractProps, type: "stick" })) : null] }), _jsx(DividerComponent, {}), contents && contents?.length > 0 ? (_jsx("section", { className: "af-data-agent__info-content", children: contents.map((content) => (_jsxs(Fragment, { children: [_jsx(ContentItemMonoComponent, { ...content, type: "icon" }), _jsx(DividerComponent, { className: "af-data-agent__line" })] }, `content--${crypto.randomUUID()}`))) })) : null, clickContents && clickContents?.length > 0 ? (_jsx("section", { className: "af-data-agent__info-click-content", children: clickContents.map((clickContent) => (_jsxs(Fragment, { children: [_jsx(ClickItemComponent, { ...clickContent, variant: "small" }), _jsx(DividerComponent, { className: "af-data-agent__line" })] }, `clickContent--${crypto.randomUUID()}`))) })) : null, Boolean(texteOrias) && (_jsx("p", { className: "af-data-agent__text-orias", children: texteOrias }))] }));
11
11
  const renderForMobileLayout = () => (_jsx("section", { className: "af-data-agent__intro", children: _jsx(ClickItemComponent, { ...agentProps, basePictureProps: {
12
12
  src: agentProps.picture,
13
- alt: agentProps.title,
13
+ ...agentProps.basePictureProps,
14
14
  }, variant: "agent" }) }));
15
15
  return (_jsx("section", { className: componentClassName, children: (isMobile && isCompact) || variant === "compact"
16
16
  ? renderForMobileLayout()
@@ -1,4 +1,4 @@
1
1
  import { type DataAgentProps } from "./DataAgentCommon";
2
2
  import "@axa-fr/canopee-css/client/DataAgent/DataAgentLF.css";
3
3
  export { type DataAgentProps } from "./DataAgentCommon";
4
- export declare const DataAgent: (props: DataAgentProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const DataAgent: (props: DataAgentProps) => import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  type DividerProps = {
2
2
  className?: string;
3
3
  };
4
- export declare const Divider: ({ className }: DividerProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const Divider: ({ className }: DividerProps) => import("react").JSX.Element;
5
5
  export {};
@@ -1,4 +1,4 @@
1
1
  import "@axa-fr/canopee-css/prospect/Fieldset/FieldsetApollo.css";
2
2
  import { type FieldsetProps } from "./FieldsetCommon";
3
3
  export type { FieldsetProps };
4
- export declare const Fieldset: (props: FieldsetProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const Fieldset: (props: FieldsetProps) => import("react").JSX.Element;
@@ -10,4 +10,4 @@ export type FieldsetCommonProps = FieldsetProps & {
10
10
  IconComponent: ComponentType<ComponentProps<typeof Icon>>;
11
11
  CardComponent: ComponentType<ComponentProps<typeof CardCommon>>;
12
12
  };
13
- export declare const FieldsetCommon: ({ children, title, iconProps, className, IconComponent, CardComponent, }: FieldsetCommonProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const FieldsetCommon: ({ children, title, iconProps, className, IconComponent, CardComponent, }: FieldsetCommonProps) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import "@axa-fr/canopee-css/client/Fieldset/FieldsetLF.css";
2
2
  import { type FieldsetProps } from "./FieldsetCommon";
3
3
  export type { FieldsetProps };
4
- export declare const Fieldset: (props: FieldsetProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const Fieldset: (props: FieldsetProps) => import("react").JSX.Element;
@@ -2,6 +2,6 @@ import { type CardCheckboxProps } from "./CardCheckboxCommon";
2
2
  import "@axa-fr/canopee-css/prospect/Form/Checkbox/CardCheckbox/CardCheckboxApollo.css";
3
3
  export type { CardCheckboxProps };
4
4
  export declare const CardCheckbox: {
5
- (props: CardCheckboxProps): import("react/jsx-runtime").JSX.Element;
5
+ (props: CardCheckboxProps): import("react").JSX.Element;
6
6
  displayName: string;
7
7
  };
@@ -18,7 +18,7 @@ type CardCheckboxCommonProps = CardCheckboxProps & {
18
18
  ItemMessageComponent: ComponentType<ItemMessageProps>;
19
19
  };
20
20
  export declare const CardCheckboxCommon: {
21
- ({ className, label, description, required, options, type, name, id, onChange, CardCheckboxItemComponent, CheckboxTextComponent, ItemMessageComponent, message, messageType, containerProps, mode, ...inputProps }: CardCheckboxCommonProps): import("react/jsx-runtime").JSX.Element;
21
+ ({ className, label, description, required, options, type, name, id, onChange, CardCheckboxItemComponent, CheckboxTextComponent, ItemMessageComponent, message, messageType, containerProps, mode, ...inputProps }: CardCheckboxCommonProps): import("react").JSX.Element;
22
22
  displayName: string;
23
23
  };
24
24
  export {};
@@ -2,6 +2,6 @@ import { type CardCheckboxProps } from "./CardCheckboxCommon";
2
2
  import "@axa-fr/canopee-css/client/Form/Checkbox/CardCheckbox/CardCheckboxLF.css";
3
3
  export type { CardCheckboxProps };
4
4
  export declare const CardCheckbox: {
5
- (props: CardCheckboxProps): import("react/jsx-runtime").JSX.Element;
5
+ (props: CardCheckboxProps): import("react").JSX.Element;
6
6
  displayName: string;
7
7
  };
@@ -1,3 +1,3 @@
1
1
  import { type CardCheckboxOptionProps } from "./CardCheckboxOptionCommon";
2
2
  import "@axa-fr/canopee-css/prospect/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.css";
3
- export declare const CardCheckboxOption: (props: CardCheckboxOptionProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const CardCheckboxOption: (props: CardCheckboxOptionProps) => import("react").JSX.Element;
@@ -13,7 +13,7 @@ export type CardCheckboxOptionCommonProps = CardCheckboxOptionProps & {
13
13
  IconComponent: ComponentType<IconProps>;
14
14
  };
15
15
  declare const CardCheckboxOptionCommon: {
16
- ({ label, type, description, subtitle, icon, className, CheckboxComponent, IconComponent, ...inputProps }: CardCheckboxOptionCommonProps): import("react/jsx-runtime").JSX.Element;
16
+ ({ label, type, description, subtitle, icon, className, CheckboxComponent, IconComponent, ...inputProps }: CardCheckboxOptionCommonProps): import("react").JSX.Element;
17
17
  displayName: string;
18
18
  };
19
19
  export { CardCheckboxOptionCommon };
@@ -1,3 +1,3 @@
1
1
  import { type CardCheckboxOptionProps } from "./CardCheckboxOptionCommon";
2
2
  import "@axa-fr/canopee-css/client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.css";
3
- export declare const CardCheckboxOption: (props: CardCheckboxOptionProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const CardCheckboxOption: (props: CardCheckboxOptionProps) => import("react").JSX.Element;
@@ -2,4 +2,4 @@ import { type ComponentProps } from "react";
2
2
  export type CheckboxProps = {
3
3
  variant?: "error" | "warning";
4
4
  } & Omit<ComponentProps<"input">, "disabled" | "type">;
5
- export declare const Checkbox: ({ variant, className, ref, ...inputProps }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const Checkbox: ({ variant, className, ref, ...inputProps }: CheckboxProps) => import("react").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import "@axa-fr/canopee-css/prospect/Form/Checkbox/CheckboxText/CheckboxTextApollo.css";
2
2
  import { type CheckboxTextProps } from "./CheckboxTextCommon";
3
3
  export declare const CheckboxText: {
4
- ({ ...props }: CheckboxTextProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ ...props }: CheckboxTextProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
@@ -11,7 +11,7 @@ export type CheckboxTextCommonProps = CheckboxTextProps & {
11
11
  ItemMessageComponent: ComponentType<ItemMessageProps>;
12
12
  };
13
13
  declare const CheckboxTextCommon: {
14
- ({ label, id, message, messageType, CheckboxComponent, ItemMessageComponent, containerProps, ...inputProps }: CheckboxTextCommonProps): import("react/jsx-runtime").JSX.Element;
14
+ ({ label, id, message, messageType, CheckboxComponent, ItemMessageComponent, containerProps, ...inputProps }: CheckboxTextCommonProps): import("react").JSX.Element;
15
15
  displayName: string;
16
16
  };
17
17
  export { CheckboxTextCommon };
@@ -1,6 +1,6 @@
1
1
  import "@axa-fr/canopee-css/client/Form/Checkbox/CheckboxText/CheckboxTextLF.css";
2
2
  import { type CheckboxTextProps } from "./CheckboxTextCommon";
3
3
  export declare const CheckboxText: {
4
- ({ ...props }: CheckboxTextProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ ...props }: CheckboxTextProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
@@ -1,3 +1,3 @@
1
1
  import "@axa-fr/canopee-css/prospect/Form/Dropdown/DropdownApollo.css";
2
2
  import { type DropdownProps } from "./DropdownCommon";
3
- export declare const Dropdown: (props: DropdownProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Dropdown: (props: DropdownProps) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { type ComponentProps, type ComponentPropsWithRef, type ComponentType } from "react";
1
+ import { type ComponentProps, type ComponentPropsWithRef, type ComponentType, type ReactNode } from "react";
2
2
  import type { GridContainerProps } from "../../utilities/types/GridContainerProps";
3
3
  import { ItemLabelCommon, type ItemLabelProps } from "../ItemLabel/ItemLabelCommon";
4
4
  import { type ItemMessageProps } from "../ItemMessage/ItemMessage";
@@ -7,7 +7,7 @@ export type DropdownProps = ComponentPropsWithRef<"select"> & {
7
7
  label?: ItemLabelProps["children"];
8
8
  placeholder?: string;
9
9
  description?: string;
10
- helper?: string;
10
+ helper?: ReactNode;
11
11
  containerProps?: GridContainerProps;
12
12
  } & Pick<ItemLabelProps, "moreButtonLabel" | "onMoreButtonClick" | "sideButtonLabel" | "onSideButtonClick"> & Pick<ItemMessageProps, "message" | "messageType">;
13
13
  type DropdownCommonProps = DropdownProps & {
@@ -15,7 +15,7 @@ type DropdownCommonProps = DropdownProps & {
15
15
  ItemMessageComponent: ComponentType<ItemMessageProps>;
16
16
  };
17
17
  declare const DropdownCommon: {
18
- ({ id, required, label, placeholder, children, helper, message, messageType, description, moreButtonLabel, onMoreButtonClick, sideButtonLabel, onSideButtonClick, ItemLabelComponent, ItemMessageComponent, containerProps, ...otherProps }: DropdownCommonProps): import("react/jsx-runtime").JSX.Element;
18
+ ({ id, required, label, placeholder, children, helper, message, messageType, description, moreButtonLabel, onMoreButtonClick, sideButtonLabel, onSideButtonClick, ItemLabelComponent, ItemMessageComponent, containerProps, ...otherProps }: DropdownCommonProps): import("react").JSX.Element;
19
19
  displayName: string;
20
20
  };
21
21
  export { DropdownCommon };
@@ -1,3 +1,3 @@
1
1
  import "@axa-fr/canopee-css/client/Form/Dropdown/DropdownLF.css";
2
2
  import { type DropdownProps } from "./DropdownCommon";
3
- export declare const Dropdown: (props: DropdownProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Dropdown: (props: DropdownProps) => import("react").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import "@axa-fr/canopee-css/prospect/Form/DropdownMultiSelect/DropdownMultiSelectAll.css";
2
+ import { type DropdownMultiSelectProps } from "./DropdownMultiSelectCommon";
3
+ export type { DropdownMultiSelectProps } from "./DropdownMultiSelectCommon";
4
+ export declare const DropdownMultiSelect: (props: DropdownMultiSelectProps) => import("react").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import "@axa-fr/canopee-css/prospect/Form/DropdownMultiSelect/DropdownMultiSelectAll.css";
3
+ import { Tag } from "../../Tag/TagCommon";
4
+ import { TagList } from "../../TagList/TagListApollo";
5
+ import { MultiSelectList } from "../MultiSelectList/MultiSelectListApollo";
6
+ import { DropdownMultiSelectCommon, } from "./DropdownMultiSelectCommon";
7
+ import { ItemLabel } from "../ItemLabel/ItemLabelApollo";
8
+ import { ItemMessage } from "../ItemMessage/ItemMessage";
9
+ export const DropdownMultiSelect = (props) => (_jsx(DropdownMultiSelectCommon, { ...props, MultiSelectListComponent: MultiSelectList, TagListComponent: TagList, TagComponent: Tag, ItemLabelComponent: ItemLabel, ItemMessageComponent: ItemMessage }));
@@ -0,0 +1,47 @@
1
+ import { type ChangeEvent, type ComponentProps, type ComponentType } from "react";
2
+ import type { MultiSelectListProps } from "../MultiSelectList/MultiSelectListCommon";
3
+ import type { TagListProps } from "../../TagList/TagListCommon";
4
+ import type { TagProps } from "../../Tag/TagCommon";
5
+ import type { ItemLabelCommon, ItemLabelProps } from "../ItemLabel/ItemLabelCommon";
6
+ import type { ItemMessageProps } from "../ItemMessage/ItemMessage";
7
+ export type DropdownMultiSelectProps = Pick<ItemLabelProps, "moreButtonLabel" | "onMoreButtonClick" | "sideButtonLabel" | "onSideButtonClick"> & Pick<ItemMessageProps, "message" | "messageType"> & Pick<MultiSelectListProps, "items"> & {
8
+ id?: string;
9
+ name: string;
10
+ required?: boolean;
11
+ disabled?: boolean;
12
+ className?: string;
13
+ label?: ItemLabelProps["children"];
14
+ placeholder?: string;
15
+ description?: string;
16
+ helper?: string;
17
+ /**
18
+ * The number of items to hide before showing a "more" option.
19
+ * Defaults to `3`.
20
+ */
21
+ hideThreshold?: number;
22
+ /**
23
+ * Props to be spread onto the underlying input element.
24
+ * onChange will be override by `onChange` prop of `DropdownMultiSelect`.
25
+ */
26
+ inputProps?: Omit<ComponentProps<"input">, "type" | "onChange">;
27
+ /**
28
+ * The initially selected values. The component manages its own
29
+ * selection state afterwards (always uncontrolled): clicking an item
30
+ * always updates it, regardless of this prop. Use it only to seed the
31
+ * selection, not to drive it from a parent.
32
+ */
33
+ defaultValue?: string[];
34
+ /**
35
+ * Callback function invoked when an item is selected or deselected.
36
+ */
37
+ onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
38
+ };
39
+ type DropdownMultiSelectCommonProps = DropdownMultiSelectProps & {
40
+ MultiSelectListComponent: ComponentType<MultiSelectListProps>;
41
+ TagListComponent: ComponentType<TagListProps>;
42
+ TagComponent: ComponentType<TagProps>;
43
+ ItemLabelComponent: ComponentType<Omit<ComponentProps<typeof ItemLabelCommon>, "ButtonComponent">>;
44
+ ItemMessageComponent: ComponentType<ItemMessageProps>;
45
+ };
46
+ export declare const DropdownMultiSelectCommon: ({ items, helper, name, message, messageType, description, placeholder, className, moreButtonLabel, onMoreButtonClick, sideButtonLabel, onSideButtonClick, required, id: inputId, label, disabled, hideThreshold, defaultValue, onChange, MultiSelectListComponent, TagListComponent, TagComponent, ItemLabelComponent, ItemMessageComponent, inputProps, }: DropdownMultiSelectCommonProps) => import("react").JSX.Element;
47
+ export {};
@@ -0,0 +1,39 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useId, } from "react";
3
+ import { getClassName } from "../../utilities/getClassName";
4
+ import { useDropdownMultiSelect } from "./useDropdownMultiSelect.hook";
5
+ export const DropdownMultiSelectCommon = ({ items, helper, name, message, messageType, description, placeholder, className, moreButtonLabel, onMoreButtonClick, sideButtonLabel, onSideButtonClick, required, id: inputId, label, disabled, hideThreshold, defaultValue, onChange, MultiSelectListComponent, TagListComponent, TagComponent, ItemLabelComponent, ItemMessageComponent, inputProps, }) => {
6
+ const { selectedItems, selectedValues, summary, accessibleCount, handleOnItemSelect, } = useDropdownMultiSelect({
7
+ items,
8
+ defaultValue,
9
+ placeholder,
10
+ });
11
+ const inputItems = items.map((item) => ({
12
+ ...inputProps,
13
+ name,
14
+ onChange: (e) => {
15
+ onChange?.(e);
16
+ handleOnItemSelect(item.id, e.target.checked);
17
+ },
18
+ ...item,
19
+ checked: selectedValues.includes(item.id),
20
+ value: item.id,
21
+ }));
22
+ const generatedId = useId();
23
+ const idMessage = useId();
24
+ const fieldId = inputId ?? generatedId;
25
+ const triggerId = `${fieldId}-trigger`;
26
+ const panelId = `${fieldId}-panel`;
27
+ const countId = `${fieldId}-count`;
28
+ const componentClassName = getClassName({
29
+ baseClassName: "af-form__dropdown-multi-select",
30
+ modifiers: [disabled && "disabled"],
31
+ className,
32
+ });
33
+ const componentInputClassName = getClassName({
34
+ baseClassName: "af-form__dropdown-input",
35
+ modifiers: [Boolean(message) && messageType],
36
+ className: "dropdown-multi-select__trigger",
37
+ });
38
+ return (_jsxs("div", { className: componentClassName, id: fieldId, children: [_jsx(ItemLabelComponent, { description: description, moreButtonLabel: moreButtonLabel, onMoreButtonClick: onMoreButtonClick, sideButtonLabel: sideButtonLabel, onSideButtonClick: onSideButtonClick, required: required, id: `${fieldId}-label`, htmlFor: triggerId, children: label }), _jsxs("div", { className: "dropdown-multi-select__surface", children: [_jsxs("button", { type: "button", id: triggerId, className: componentInputClassName, "aria-controls": panelId, "aria-haspopup": "listbox", "aria-label": summary, disabled: disabled, "data-empty": selectedItems.length === 0, popoverTarget: panelId, popoverTargetAction: "toggle", children: [_jsx("span", { className: "dropdown-multi-select__summary", children: summary }), _jsx("span", { id: countId, className: "sr-only", children: accessibleCount })] }), items.length > 0 ? (_jsx("div", { id: panelId, popover: "auto", className: "dropdown-multi-select__list", role: "group", "aria-labelledby": triggerId, children: _jsx(MultiSelectListComponent, { items: inputItems }) })) : null] }), selectedItems.length > 0 ? (_jsx(TagListComponent, { className: "dropdown-multi-select__tags", hideThreshold: hideThreshold, OverflowTagComponent: TagComponent, "aria-hidden": "true", children: selectedItems.map((item) => (_jsx(TagComponent, { children: item.label }, item.id))) })) : null, helper ? _jsx("span", { className: "af-form__input-helper", children: helper }) : null, _jsx(ItemMessageComponent, { id: idMessage, message: message, messageType: messageType })] }));
39
+ };
@@ -0,0 +1,4 @@
1
+ import "@axa-fr/canopee-css/client/Form/DropdownMultiSelect/DropdownMultiSelectAll.css";
2
+ import { type DropdownMultiSelectProps } from "./DropdownMultiSelectCommon";
3
+ export type { DropdownMultiSelectProps } from "./DropdownMultiSelectCommon";
4
+ export declare const DropdownMultiSelect: (props: DropdownMultiSelectProps) => import("react").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import "@axa-fr/canopee-css/client/Form/DropdownMultiSelect/DropdownMultiSelectAll.css";
3
+ import { Tag } from "../../Tag/TagCommon";
4
+ import { TagList } from "../../TagList/TagListLF";
5
+ import { MultiSelectList } from "../MultiSelectList/MultiSelectListLF";
6
+ import { DropdownMultiSelectCommon, } from "./DropdownMultiSelectCommon";
7
+ import { ItemLabel } from "../ItemLabel/ItemLabelLF";
8
+ import { ItemMessage } from "../ItemMessage/ItemMessage";
9
+ export const DropdownMultiSelect = (props) => (_jsx(DropdownMultiSelectCommon, { ...props, MultiSelectListComponent: MultiSelectList, TagListComponent: TagList, TagComponent: Tag, ItemLabelComponent: ItemLabel, ItemMessageComponent: ItemMessage }));
@@ -0,0 +1,14 @@
1
+ import type { ItemMultiSelectCommonProps } from "../ItemMultiSelect/ItemMultiSelectCommon";
2
+ type UseDropdownMultiSelect = {
3
+ items: Omit<ItemMultiSelectCommonProps, "Checkbox">[];
4
+ defaultValue?: string[];
5
+ placeholder?: string;
6
+ };
7
+ export declare const useDropdownMultiSelect: ({ items, defaultValue, placeholder, }: UseDropdownMultiSelect) => {
8
+ selectedValues: string[];
9
+ selectedItems: Omit<ItemMultiSelectCommonProps, "Checkbox">[];
10
+ summary: string;
11
+ accessibleCount: string;
12
+ handleOnItemSelect: (id: string, checked: boolean) => void;
13
+ };
14
+ export {};
@@ -0,0 +1,31 @@
1
+ import { useState, useMemo } from "react";
2
+ export const useDropdownMultiSelect = ({ items, defaultValue, placeholder, }) => {
3
+ const [internalValues, setInternalValues] = useState(() => defaultValue ??
4
+ items.filter((item) => item.checked).map((item) => item.id));
5
+ const valuesLength = internalValues.length;
6
+ const selectedItems = useMemo(() => internalValues.length > 0
7
+ ? items.filter((item) => internalValues.includes(item.id))
8
+ : [], [items, internalValues]);
9
+ const summary = useMemo(() => {
10
+ if (valuesLength === 0) {
11
+ return placeholder ?? "Sélectionner";
12
+ }
13
+ return valuesLength === 1
14
+ ? "1 élément sélectionné"
15
+ : `${valuesLength} éléments sélectionnés`;
16
+ }, [valuesLength, placeholder]);
17
+ const accessibleCount = useMemo(() => {
18
+ const base = valuesLength === 0 ? "0 élément sélectionné" : summary;
19
+ return `${base} sur ${items.length}`;
20
+ }, [summary, valuesLength, items.length]);
21
+ const handleOnItemSelect = (id, checked) => {
22
+ setInternalValues((current) => checked ? [...current, id] : current.filter((itemId) => itemId !== id));
23
+ };
24
+ return {
25
+ selectedValues: internalValues,
26
+ selectedItems,
27
+ summary,
28
+ accessibleCount,
29
+ handleOnItemSelect,
30
+ };
31
+ };
@@ -1,6 +1,6 @@
1
1
  import { type FileUploadProps } from "./FileUploadCommon";
2
2
  import "@axa-fr/canopee-css/prospect/Form/FileUpload/FileUpload/FileUploadAll.css";
3
3
  export declare const FileUpload: {
4
- ({ ...props }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ ...props }: FileUploadProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
@@ -15,7 +15,7 @@ type FileUploadCommonProps = FileUploadProps & {
15
15
  InputFileComponent: ComponentType<InputFileProps>;
16
16
  };
17
17
  export declare const FileUploadCommon: {
18
- ({ InputFileComponent, className, children, fileListLabel, ...props }: FileUploadCommonProps): import("react/jsx-runtime").JSX.Element;
18
+ ({ InputFileComponent, className, children, fileListLabel, ...props }: FileUploadCommonProps): import("react").JSX.Element;
19
19
  displayName: string;
20
20
  };
21
21
  export {};
@@ -1,6 +1,6 @@
1
1
  import { type FileUploadProps } from "./FileUploadCommon";
2
2
  import "@axa-fr/canopee-css/client/Form/FileUpload/FileUpload/FileUploadAll.css";
3
3
  export declare const FileUpload: {
4
- ({ ...props }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ ...props }: FileUploadProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import { type InputFileProps } from "./InputFileCommon";
2
2
  import "@axa-fr/canopee-css/prospect/Form/FileUpload/InputFile/InputFileApollo.css";
3
3
  declare const InputFile: {
4
- ({ ...props }: InputFileProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ ...props }: InputFileProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export { InputFile };
@@ -59,7 +59,7 @@ type InputFileCommonProps = InputFileProps & {
59
59
  ItemMessageComponent: ComponentType<ItemMessageProps>;
60
60
  };
61
61
  export declare const InputFileCommon: {
62
- ({ ItemLabelComponent, ItemMessageComponent, id, label, description, sideButtonLabel, onSideButtonClick, moreButtonLabel, onMoreButtonClick, labelProps, helper, required, message, messageType, className, dropzoneLabels, children, containerProps, ...props }: InputFileCommonProps): import("react/jsx-runtime").JSX.Element;
62
+ ({ ItemLabelComponent, ItemMessageComponent, id, label, description, sideButtonLabel, onSideButtonClick, moreButtonLabel, onMoreButtonClick, labelProps, helper, required, message, messageType, className, dropzoneLabels, children, containerProps, ...props }: InputFileCommonProps): import("react").JSX.Element;
63
63
  displayName: string;
64
64
  };
65
65
  export {};
@@ -1,7 +1,7 @@
1
1
  import { type InputFileProps } from "./InputFileCommon";
2
2
  import "@axa-fr/canopee-css/client/Form/FileUpload/InputFile/InputFileLF.css";
3
3
  declare const InputFile: {
4
- ({ ...props }: InputFileProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ ...props }: InputFileProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export { InputFile };
@@ -1,4 +1,4 @@
1
1
  import { type ItemFileProps } from "./ItemFileCommon";
2
2
  import "@axa-fr/canopee-css/prospect/ContentItemMono/ContentItemMonoApollo.css";
3
3
  import "@axa-fr/canopee-css/prospect/Form/FileUpload/ItemFile/ItemFileApollo.css";
4
- export declare const ItemFile: (props: ItemFileProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const ItemFile: (props: ItemFileProps) => import("react").JSX.Element;
@@ -51,4 +51,4 @@ export type ItemFileCommonProps = ItemFileProps & {
51
51
  removeIcon: string;
52
52
  previewIcon: string;
53
53
  };
54
- export declare const ItemFileCommon: ({ file, isLoading, errorMessage, className, onRemove, onPreview, previewProps, removeProps, removeIcon, previewIcon, ItemSpinnerComponent, ItemIconComponent, ItemMessageComponent, ClickIconComponent, ...props }: ItemFileCommonProps) => import("react/jsx-runtime").JSX.Element;
54
+ export declare const ItemFileCommon: ({ file, isLoading, errorMessage, className, onRemove, onPreview, previewProps, removeProps, removeIcon, previewIcon, ItemSpinnerComponent, ItemIconComponent, ItemMessageComponent, ClickIconComponent, ...props }: ItemFileCommonProps) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import { type ItemFileProps } from "./ItemFileCommon";
2
2
  import "@axa-fr/canopee-css/client/ContentItemMono/ContentItemMonoLF.css";
3
3
  import "@axa-fr/canopee-css/client/Form/FileUpload/ItemFile/ItemFileLF.css";
4
- export declare const ItemFile: (props: ItemFileProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const ItemFile: (props: ItemFileProps) => import("react").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import "@axa-fr/canopee-css/prospect/Form/InputDate/InputDateApollo.css";
2
2
  import { type InputDateProps } from "./InputDateCommon";
3
3
  export declare const InputDate: {
4
- ({ ...props }: InputDateProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ ...props }: InputDateProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
@@ -6,7 +6,7 @@ export type InputDateAtomProps = Omit<ComponentPropsWithRef<"input">, "value" |
6
6
  max?: ComponentProps<"input">["max"] | Date;
7
7
  };
8
8
  declare const InputDateAtom: {
9
- ({ defaultValue, value, min, max, ...otherProps }: InputDateAtomProps): import("react/jsx-runtime").JSX.Element;
9
+ ({ defaultValue, value, min, max, ...otherProps }: InputDateAtomProps): import("react").JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  export { InputDateAtom };
@@ -1,4 +1,4 @@
1
- import { type ComponentProps, type ComponentPropsWithRef, type ComponentType } from "react";
1
+ import { type ComponentProps, type ComponentPropsWithRef, type ComponentType, type ReactNode } from "react";
2
2
  import type { GridContainerProps } from "../../utilities/types/GridContainerProps";
3
3
  import { ItemLabelCommon, type ItemLabelProps } from "../ItemLabel/ItemLabelCommon";
4
4
  import { type ItemMessageProps } from "../ItemMessage/ItemMessage";
@@ -8,7 +8,7 @@ export type InputDateProps = Omit<ComponentPropsWithRef<"input">, "value" | "min
8
8
  value?: Date | string;
9
9
  min?: InputDateAtomProps["min"];
10
10
  max?: InputDateAtomProps["max"];
11
- helper?: string;
11
+ helper?: ReactNode;
12
12
  hidePicker?: boolean;
13
13
  label: ItemLabelProps["children"];
14
14
  containerProps?: GridContainerProps;
@@ -18,7 +18,7 @@ type InputDateCommonProps = InputDateProps & {
18
18
  ItemMessageComponent: ComponentType<ItemMessageProps>;
19
19
  };
20
20
  declare const InputDateCommon: {
21
- ({ className, helper, message, messageType, label, description, moreButtonLabel, onMoreButtonClick, ItemLabelComponent, ItemMessageComponent, required, hidePicker, max, min, containerProps, ...otherProps }: InputDateCommonProps): import("react/jsx-runtime").JSX.Element;
21
+ ({ className, helper, message, messageType, label, description, moreButtonLabel, onMoreButtonClick, ItemLabelComponent, ItemMessageComponent, required, hidePicker, max, min, containerProps, ...otherProps }: InputDateCommonProps): import("react").JSX.Element;
22
22
  displayName: string;
23
23
  };
24
24
  export { InputDateCommon };
@@ -1,6 +1,6 @@
1
1
  import "@axa-fr/canopee-css/client/Form/InputDate/InputDateLF.css";
2
2
  import { type InputDateProps } from "./InputDateCommon";
3
3
  export declare const InputDate: {
4
- ({ ...props }: InputDateProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ ...props }: InputDateProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
@@ -6,7 +6,7 @@ export type InputDateTextAtomProps = Omit<ComponentProps<typeof InputTextAtom>,
6
6
  onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
7
7
  };
8
8
  declare const InputDateTextAtom: {
9
- ({ onChange, value, defaultValue, ...otherProps }: InputDateTextAtomProps): import("react/jsx-runtime").JSX.Element;
9
+ ({ onChange, value, defaultValue, ...otherProps }: InputDateTextAtomProps): import("react").JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  export { InputDateTextAtom };
@@ -8,5 +8,5 @@ declare const CountryCodeSelect: ({ options, defaultCountry, onChangeSelect, Ico
8
8
  onChangeSelect?: (value: SingleValue<OptionType>) => void;
9
9
  IconComponent: ComponentType<ComponentProps<typeof Icon>>;
10
10
  disabled?: boolean;
11
- }) => import("react/jsx-runtime").JSX.Element;
11
+ }) => import("react").JSX.Element;
12
12
  export { CountryCodeSelect };
@@ -1,3 +1,3 @@
1
1
  import "@axa-fr/canopee-css/prospect/Form/InputPhone/InputPhoneApollo.css";
2
2
  import { type InputPhoneProps } from "./InputPhoneCommon";
3
- export declare const InputPhone: (props: InputPhoneProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const InputPhone: (props: InputPhoneProps) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { type ComponentProps, type ComponentPropsWithRef, type ComponentType } from "react";
1
+ import { type ComponentProps, type ComponentPropsWithRef, type ComponentType, type ReactNode } from "react";
2
2
  import type { SingleValue } from "react-select";
3
3
  import { Icon } from "../../Icon/IconCommon";
4
4
  import type { GridContainerProps } from "../../utilities/types/GridContainerProps";
@@ -7,7 +7,7 @@ import { ItemLabelCommon, type ItemLabelProps } from "../ItemLabel/ItemLabelComm
7
7
  import { type ItemMessageProps } from "../ItemMessage/ItemMessage";
8
8
  import { type OptionType } from "./InputPhone.types";
9
9
  export type InputPhoneProps = ComponentPropsWithRef<"input"> & {
10
- helper?: string;
10
+ helper?: ReactNode;
11
11
  defaultCountry?: string;
12
12
  showSelect?: boolean;
13
13
  disabled?: boolean;
@@ -25,7 +25,7 @@ type InputPhoneCommonProps = InputPhoneProps & {
25
25
  IconComponent: ComponentType<ComponentProps<typeof Icon>>;
26
26
  };
27
27
  declare const InputPhoneCommon: {
28
- ({ className, helper, message, messageType, defaultCountry, showSelect, disabled, label, description, moreButtonLabel, onMoreButtonClick, required, sideButtonLabel, onSideButtonClick, countryCodeOptions, onChangeSelect, onChangeInput, mask, ItemLabelComponent, ItemMessageComponent, InputTextComponent, IconComponent, "aria-errormessage": ariaErrormessage, containerProps, ...otherProps }: InputPhoneCommonProps): import("react/jsx-runtime").JSX.Element;
28
+ ({ className, helper, message, messageType, defaultCountry, showSelect, disabled, label, description, moreButtonLabel, onMoreButtonClick, required, sideButtonLabel, onSideButtonClick, countryCodeOptions, onChangeSelect, onChangeInput, mask, ItemLabelComponent, ItemMessageComponent, InputTextComponent, IconComponent, "aria-errormessage": ariaErrormessage, containerProps, ...otherProps }: InputPhoneCommonProps): import("react").JSX.Element;
29
29
  displayName: string;
30
30
  };
31
31
  export { InputPhoneCommon };