@axa-fr/canopee-react 2.0.0-alpha.93 → 2.0.1-alpha.10

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 (384) hide show
  1. package/dist/distributeur/Accordion/Accordion.d.ts +1 -1
  2. package/dist/distributeur/Accordion/Body.d.ts +1 -1
  3. package/dist/distributeur/Accordion/CollapseCard.d.ts +1 -1
  4. package/dist/distributeur/Accordion/Header.d.ts +1 -1
  5. package/dist/distributeur/Action/Action.d.ts +1 -1
  6. package/dist/distributeur/Button/Button.d.ts +1 -1
  7. package/dist/distributeur/ButtonMultiActions/ButtonMultiActions.d.ts +1 -1
  8. package/dist/distributeur/Card/BaseCard.d.ts +1 -1
  9. package/dist/distributeur/Card/Card.d.ts +1 -1
  10. package/dist/distributeur/CardButton/CardButton.d.ts +1 -1
  11. package/dist/distributeur/CardData/CardData.d.ts +1 -1
  12. package/dist/distributeur/CardData/CardDataHeader.d.ts +1 -1
  13. package/dist/distributeur/ClickableGhost.d.ts +1 -1
  14. package/dist/distributeur/Divider/Divider.d.ts +1 -1
  15. package/dist/distributeur/EditorialMessage/EditorialMessage.d.ts +1 -1
  16. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitution.d.ts +1 -1
  17. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionColumn.d.ts +1 -1
  18. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionHeader.d.ts +1 -1
  19. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionLabel.d.ts +1 -1
  20. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionLabelValue.d.ts +1 -1
  21. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionListDef.d.ts +1 -1
  22. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionRow.d.ts +1 -1
  23. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionSection.d.ts +1 -1
  24. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionValue.d.ts +1 -1
  25. package/dist/distributeur/Experimental/Restitution/ExperimentalRestitutionValueList.d.ts +1 -1
  26. package/dist/distributeur/Form/Checkbox/Checkbox.d.ts +2 -2
  27. package/dist/distributeur/Form/Checkbox/CheckboxInput.d.ts +1 -1
  28. package/dist/distributeur/Form/Checkbox/CheckboxItem.d.ts +1 -1
  29. package/dist/distributeur/Form/Choice/Choice.d.ts +1 -1
  30. package/dist/distributeur/Form/Choice/ChoiceInput.d.ts +1 -1
  31. package/dist/distributeur/Form/Date/Date.d.ts +1 -1
  32. package/dist/distributeur/Form/Date/DateInput.d.ts +1 -1
  33. package/dist/distributeur/Form/Experimental/DateInput.d.ts +1 -1
  34. package/dist/distributeur/Form/Experimental/Input.d.ts +1 -1
  35. package/dist/distributeur/Form/Experimental/InputContainer.d.ts +1 -1
  36. package/dist/distributeur/Form/Experimental/InputUnit.d.ts +1 -1
  37. package/dist/distributeur/Form/Experimental/ItemMessage.d.ts +1 -1
  38. package/dist/distributeur/Form/Experimental/Label.d.ts +1 -1
  39. package/dist/distributeur/Form/Experimental/Legend.d.ts +1 -1
  40. package/dist/distributeur/Form/Experimental/Radio/AddRadioCard.d.ts +1 -1
  41. package/dist/distributeur/Form/Experimental/Radio/RadioButton.d.ts +1 -1
  42. package/dist/distributeur/Form/Experimental/Radio/RadioCard.d.ts +1 -1
  43. package/dist/distributeur/Form/Experimental/Radio/RadioGroup.d.ts +1 -1
  44. package/dist/distributeur/Form/Experimental/Radio/RadioInput.d.ts +1 -1
  45. package/dist/distributeur/Form/Experimental/Radio/RadioItem.d.ts +1 -1
  46. package/dist/distributeur/Form/Experimental/Radio/RadioText.d.ts +1 -1
  47. package/dist/distributeur/Form/Experimental/Radio/_radioInputOptions.d.ts +1 -1
  48. package/dist/distributeur/Form/Experimental/Select.d.ts +1 -1
  49. package/dist/distributeur/Form/Experimental/SelectInput.d.ts +1 -1
  50. package/dist/distributeur/Form/Experimental/TextInput.d.ts +1 -1
  51. package/dist/distributeur/Form/File/File.d.ts +1 -1
  52. package/dist/distributeur/Form/File/FileErrors.d.ts +1 -1
  53. package/dist/distributeur/Form/File/FileInput.d.ts +1 -1
  54. package/dist/distributeur/Form/File/FileLine.d.ts +1 -1
  55. package/dist/distributeur/Form/File/FileTable.d.ts +1 -1
  56. package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.d.ts +1 -1
  57. package/dist/distributeur/Form/MultiSelect/MultiSelect.d.ts +1 -1
  58. package/dist/distributeur/Form/MultiSelect/MultiSelectInput.d.ts +1 -1
  59. package/dist/distributeur/Form/MultiSelect/ValueContainer.d.ts +2 -1
  60. package/dist/distributeur/Form/NestedQuestion/NestedQuestion.d.ts +1 -1
  61. package/dist/distributeur/Form/Number/Number.d.ts +1 -1
  62. package/dist/distributeur/Form/Number/NumberInput.d.ts +1 -1
  63. package/dist/distributeur/Form/Radio/Radio.d.ts +1 -1
  64. package/dist/distributeur/Form/Radio/RadioCardGroup.d.ts +1 -1
  65. package/dist/distributeur/Form/Radio/RadioInput.d.ts +1 -1
  66. package/dist/distributeur/Form/Radio/RadioItem.d.ts +1 -1
  67. package/dist/distributeur/Form/Select/Select.d.ts +1 -1
  68. package/dist/distributeur/Form/Select/SelectBase.d.ts +1 -1
  69. package/dist/distributeur/Form/Select/SelectDefault.d.ts +1 -1
  70. package/dist/distributeur/Form/Select/SelectInput.d.ts +1 -1
  71. package/dist/distributeur/Form/Text/Text.d.ts +1 -1
  72. package/dist/distributeur/Form/Text/TextInput.d.ts +1 -1
  73. package/dist/distributeur/Form/Textarea/Textarea.d.ts +1 -1
  74. package/dist/distributeur/Form/Textarea/TextareaInput.d.ts +1 -1
  75. package/dist/distributeur/Form/core/Field.d.ts +1 -1
  76. package/dist/distributeur/Form/core/FieldError.d.ts +1 -1
  77. package/dist/distributeur/Form/core/HelpMessage.d.ts +1 -1
  78. package/dist/distributeur/HelpButton/index.d.ts +1 -1
  79. package/dist/distributeur/ItemFormHelper/ItemFormHelper.d.ts +1 -1
  80. package/dist/distributeur/Layout/Footer/Footer.d.ts +1 -1
  81. package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.d.ts +1 -1
  82. package/dist/distributeur/Layout/Header/Header.d.ts +1 -1
  83. package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.d.ts +1 -1
  84. package/dist/distributeur/Layout/Header/Infos/Infos.d.ts +1 -1
  85. package/dist/distributeur/Layout/Header/MenuTitleWrapper/MenuTitleWrapper.d.ts +1 -1
  86. package/dist/distributeur/Layout/Header/Name/Name.d.ts +1 -1
  87. package/dist/distributeur/Layout/Header/NavBar/NavBar.d.ts +1 -1
  88. package/dist/distributeur/Layout/Header/NavBar/NavBarBase.d.ts +1 -1
  89. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.d.ts +2 -2
  90. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.d.ts +1 -1
  91. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemLink.d.ts +1 -1
  92. package/dist/distributeur/Layout/Header/User/InnerUser.d.ts +1 -1
  93. package/dist/distributeur/Layout/Header/User/User.d.ts +1 -1
  94. package/dist/distributeur/Layout/MainContainer/MainContainer.d.ts +1 -1
  95. package/dist/distributeur/Link/Link.d.ts +1 -1
  96. package/dist/distributeur/Link/LinkAnchor.d.ts +1 -1
  97. package/dist/distributeur/Loader/ItemLoader.d.ts +1 -1
  98. package/dist/distributeur/Loader/Loader.d.ts +1 -1
  99. package/dist/distributeur/Loader/SquareLoader.d.ts +1 -1
  100. package/dist/distributeur/MandatoryMention/MandatoryMention.d.ts +1 -1
  101. package/dist/distributeur/Messages/Message.d.ts +1 -1
  102. package/dist/distributeur/ModalAgent/BooleanModal.d.ts +1 -1
  103. package/dist/distributeur/ModalAgent/Modal.d.ts +1 -1
  104. package/dist/distributeur/ModalAgent/Modal.js +1 -3
  105. package/dist/distributeur/ModalAgent/components/Body.d.ts +1 -1
  106. package/dist/distributeur/ModalAgent/components/Footer.d.ts +1 -1
  107. package/dist/distributeur/ModalAgent/components/Header.d.ts +1 -1
  108. package/dist/distributeur/ModalAgent/components/HeaderBase.d.ts +1 -1
  109. package/dist/distributeur/Popover/AnimatedPopover.d.ts +1 -1
  110. package/dist/distributeur/Popover/Popover.d.ts +1 -1
  111. package/dist/distributeur/Popover/PopoverBase.d.ts +1 -1
  112. package/dist/distributeur/Popover/PopoverClick.d.ts +2 -1
  113. package/dist/distributeur/Popover/PopoverOver.d.ts +2 -1
  114. package/dist/distributeur/Restitution/ArticleRestitution.d.ts +1 -1
  115. package/dist/distributeur/Restitution/HeaderRestitution.d.ts +1 -1
  116. package/dist/distributeur/Restitution/Restitution.d.ts +1 -1
  117. package/dist/distributeur/Restitution/RestitutionList.d.ts +1 -1
  118. package/dist/distributeur/Restitution/SectionRestitution.d.ts +1 -1
  119. package/dist/distributeur/Restitution/SectionRestitutionColumn.d.ts +1 -1
  120. package/dist/distributeur/Restitution/SectionRestitutionRow.d.ts +1 -1
  121. package/dist/distributeur/Restitution/SectionRestitutionTitle.d.ts +1 -1
  122. package/dist/distributeur/Steps/Step.d.ts +1 -1
  123. package/dist/distributeur/Steps/StepBase.d.ts +1 -1
  124. package/dist/distributeur/Steps/StepCurrent.d.ts +1 -1
  125. package/dist/distributeur/Steps/StepDisabled.d.ts +1 -1
  126. package/dist/distributeur/Steps/StepLink.d.ts +1 -1
  127. package/dist/distributeur/Steps/StepNoLink.d.ts +1 -1
  128. package/dist/distributeur/Steps/Steps.d.ts +1 -1
  129. package/dist/distributeur/Steps/VerticalStep.d.ts +1 -1
  130. package/dist/distributeur/Summary/index.d.ts +1 -1
  131. package/dist/distributeur/Svg/Svg.d.ts +1 -1
  132. package/dist/distributeur/Svg/Svg.helpers.d.ts +27 -0
  133. package/dist/distributeur/Svg/Svg.helpers.js +20 -0
  134. package/dist/distributeur/Svg/Svg.js +2 -7
  135. package/dist/distributeur/Table/Pagination/Items.d.ts +1 -1
  136. package/dist/distributeur/Table/Pagination/Li.d.ts +1 -1
  137. package/dist/distributeur/Table/Pagination/LiPoint.d.ts +1 -1
  138. package/dist/distributeur/Table/Pagination/Pager.d.ts +1 -1
  139. package/dist/distributeur/Table/Pagination/PaginationButton.d.ts +1 -1
  140. package/dist/distributeur/Table/Pagination/Paging.d.ts +1 -1
  141. package/dist/distributeur/Table/TBody.d.ts +1 -1
  142. package/dist/distributeur/Table/THead.d.ts +1 -1
  143. package/dist/distributeur/Table/Table.d.ts +6 -6
  144. package/dist/distributeur/Table/Td.d.ts +1 -1
  145. package/dist/distributeur/Table/Th.d.ts +1 -1
  146. package/dist/distributeur/Table/Tr.d.ts +1 -1
  147. package/dist/distributeur/Tabs/components/Pane.d.ts +1 -1
  148. package/dist/distributeur/Tabs/components/TabsCore.d.ts +1 -1
  149. package/dist/distributeur/Tabs/components/TabsStateless.d.ts +1 -1
  150. package/dist/distributeur/Tag/Tag.d.ts +1 -1
  151. package/dist/distributeur/Timeline/Timeline.d.ts +1 -1
  152. package/dist/distributeur/Timeline/TimelineCircle.d.ts +1 -1
  153. package/dist/distributeur/Timeline/TimelineDetails.d.ts +1 -1
  154. package/dist/distributeur/Title/Title.d.ts +1 -1
  155. package/dist/distributeur/utilities/VisuallyHidden.d.ts +7 -0
  156. package/dist/distributeur/utilities/VisuallyHidden.js +7 -0
  157. package/dist/prospect-client/Accordion/AccordionApollo.d.ts +1 -1
  158. package/dist/prospect-client/Accordion/AccordionCommon.d.ts +1 -1
  159. package/dist/prospect-client/Accordion/AccordionLF.d.ts +1 -1
  160. package/dist/prospect-client/AccordionContextual/AccordionContextualApollo.d.ts +1 -1
  161. package/dist/prospect-client/AccordionContextual/AccordionContextualCommon.d.ts +1 -1
  162. package/dist/prospect-client/AccordionContextual/AccordionContextualLF.d.ts +1 -1
  163. package/dist/prospect-client/AccordionCore/AccordionCoreApollo.d.ts +1 -1
  164. package/dist/prospect-client/AccordionCore/AccordionCoreCommon.d.ts +1 -1
  165. package/dist/prospect-client/AccordionCore/AccordionCoreLF.d.ts +1 -1
  166. package/dist/prospect-client/AppName/AppName.d.ts +1 -1
  167. package/dist/prospect-client/BasePicture/BasePicture.d.ts +1 -1
  168. package/dist/prospect-client/Button/ButtonApollo.d.ts +1 -1
  169. package/dist/prospect-client/Button/ButtonCommon.d.ts +1 -1
  170. package/dist/prospect-client/Button/ButtonLF.d.ts +1 -1
  171. package/dist/prospect-client/Card/CardCommon.d.ts +5 -2
  172. package/dist/prospect-client/Card/CardCommon.js +2 -1
  173. package/dist/prospect-client/CardMessage/CardMessageCommon.d.ts +1 -1
  174. package/dist/prospect-client/ClickIcon/ClickIconCommon.d.ts +1 -1
  175. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionApollo.d.ts +1 -1
  176. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.d.ts +1 -1
  177. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionLF.d.ts +1 -1
  178. package/dist/prospect-client/ContentItemMono/ContentItemMonoApollo.d.ts +1 -1
  179. package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.d.ts +1 -1
  180. package/dist/prospect-client/ContentItemMono/ContentItemMonoCore.d.ts +1 -1
  181. package/dist/prospect-client/ContentItemMono/ContentItemMonoLF.d.ts +1 -1
  182. package/dist/prospect-client/DataAgent/DataAgentApollo.d.ts +1 -1
  183. package/dist/prospect-client/DataAgent/DataAgentCommon.d.ts +1 -1
  184. package/dist/prospect-client/DataAgent/DataAgentLF.d.ts +1 -1
  185. package/dist/prospect-client/Divider/DividerCommon.d.ts +1 -1
  186. package/dist/prospect-client/Fieldset/FieldsetApollo.d.ts +1 -1
  187. package/dist/prospect-client/Fieldset/FieldsetCommon.d.ts +1 -1
  188. package/dist/prospect-client/Fieldset/FieldsetLF.d.ts +1 -1
  189. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxApollo.d.ts +1 -1
  190. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.d.ts +1 -1
  191. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxLF.d.ts +1 -1
  192. package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.d.ts +1 -1
  193. package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.d.ts +1 -1
  194. package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.d.ts +1 -1
  195. package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxCommon.d.ts +1 -3
  196. package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxCommon.js +1 -1
  197. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextApollo.d.ts +1 -1
  198. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.d.ts +1 -1
  199. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextLF.d.ts +1 -1
  200. package/dist/prospect-client/Form/Dropdown/DropdownApollo.d.ts +1 -1
  201. package/dist/prospect-client/Form/Dropdown/DropdownCommon.d.ts +1 -1
  202. package/dist/prospect-client/Form/Dropdown/DropdownLF.d.ts +1 -1
  203. package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadApollo.d.ts +1 -1
  204. package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadCommon.d.ts +1 -1
  205. package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadLF.d.ts +1 -1
  206. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileApollo.d.ts +1 -1
  207. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.d.ts +1 -1
  208. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileLF.d.ts +1 -1
  209. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileApollo.d.ts +1 -1
  210. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileCommon.d.ts +1 -1
  211. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileLF.d.ts +1 -1
  212. package/dist/prospect-client/Form/InputDate/InputDateApollo.d.ts +1 -1
  213. package/dist/prospect-client/Form/InputDate/InputDateAtom.d.ts +1 -1
  214. package/dist/prospect-client/Form/InputDate/InputDateCommon.d.ts +1 -1
  215. package/dist/prospect-client/Form/InputDate/InputDateLF.d.ts +1 -1
  216. package/dist/prospect-client/Form/InputDate/InputDateTextAtom.d.ts +1 -1
  217. package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.d.ts +1 -1
  218. package/dist/prospect-client/Form/InputPhone/InputPhoneApollo.d.ts +1 -1
  219. package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.d.ts +1 -1
  220. package/dist/prospect-client/Form/InputPhone/InputPhoneLF.d.ts +1 -1
  221. package/dist/prospect-client/Form/InputText/InputTextApollo.d.ts +1 -1
  222. package/dist/prospect-client/Form/InputText/InputTextCommon.d.ts +1 -1
  223. package/dist/prospect-client/Form/InputText/InputTextLF.d.ts +1 -1
  224. package/dist/prospect-client/Form/InputTextAtom/InputTextAtomCommon.d.ts +1 -1
  225. package/dist/prospect-client/Form/ItemLabel/ItemLabelApollo.d.ts +1 -1
  226. package/dist/prospect-client/Form/ItemLabel/ItemLabelCommon.d.ts +1 -1
  227. package/dist/prospect-client/Form/ItemLabel/ItemLabelLF.d.ts +1 -1
  228. package/dist/prospect-client/Form/ItemMessage/ItemMessage.d.ts +1 -1
  229. package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectApollo.d.ts +1 -1
  230. package/dist/prospect-client/Form/ItemMultiSelect/ItemMultiSelectLF.d.ts +1 -1
  231. package/dist/prospect-client/Form/MultiSelectList/MultiSelectListApollo.d.ts +1 -1
  232. package/dist/prospect-client/Form/MultiSelectList/MultiSelectListCommon.d.ts +1 -1
  233. package/dist/prospect-client/Form/MultiSelectList/MultiSelectListLF.d.ts +1 -1
  234. package/dist/prospect-client/Form/Radio/CardRadio/CardRadioApollo.d.ts +1 -1
  235. package/dist/prospect-client/Form/Radio/CardRadio/CardRadioCommon.d.ts +1 -1
  236. package/dist/prospect-client/Form/Radio/CardRadio/CardRadioLF.d.ts +1 -1
  237. package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupApollo.d.ts +1 -1
  238. package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupCommon.d.ts +1 -1
  239. package/dist/prospect-client/Form/Radio/CardRadioGroup/CardRadioGroupLF.d.ts +1 -1
  240. package/dist/prospect-client/Form/Radio/Radio/RadioCommon.d.ts +1 -1
  241. package/dist/prospect-client/Form/TextArea/TextAreaApollo.d.ts +1 -1
  242. package/dist/prospect-client/Form/TextArea/TextAreaCommon.d.ts +1 -1
  243. package/dist/prospect-client/Form/TextArea/TextAreaLF.d.ts +1 -1
  244. package/dist/prospect-client/Grid/DebugGridApollo.d.ts +1 -1
  245. package/dist/prospect-client/Grid/DebugGridCommon.d.ts +1 -1
  246. package/dist/prospect-client/Grid/DebugGridLF.d.ts +1 -1
  247. package/dist/prospect-client/Header/HeaderApollo.d.ts +1 -1
  248. package/dist/prospect-client/Header/HeaderCommon.d.ts +1 -1
  249. package/dist/prospect-client/Header/HeaderLF.d.ts +1 -1
  250. package/dist/prospect-client/Heading/HeadingApollo.d.ts +1 -1
  251. package/dist/prospect-client/Heading/HeadingCommon.d.ts +1 -1
  252. package/dist/prospect-client/Heading/HeadingLF.d.ts +1 -1
  253. package/dist/prospect-client/Heading/HeadingWithSubheadings.d.ts +1 -1
  254. package/dist/prospect-client/Icon/IconCommon.d.ts +1 -1
  255. package/dist/prospect-client/ItemMenu/ItemMenuCommon.d.ts +1 -1
  256. package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.d.ts +1 -1
  257. package/dist/prospect-client/Layout/ExitLayout/ExitLayoutApollo.d.ts +1 -1
  258. package/dist/prospect-client/Layout/ExitLayout/ExitLayoutCommon.d.ts +1 -1
  259. package/dist/prospect-client/Layout/ExitLayout/ExitLayoutLF.d.ts +1 -1
  260. package/dist/prospect-client/Layout/ExitLayout/ExitLayoutSkeleton.d.ts +1 -1
  261. package/dist/prospect-client/Layout/Footer/DynamicIcons.d.ts +1 -1
  262. package/dist/prospect-client/Layout/Footer/FooterCommon.d.ts +1 -1
  263. package/dist/prospect-client/Layout/Footer/MenuIcons.d.ts +1 -1
  264. package/dist/prospect-client/Layout/Footer/MenuLink.d.ts +1 -1
  265. package/dist/prospect-client/Layout/FormLayout/FormLayout.d.ts +1 -1
  266. package/dist/prospect-client/LevelSelector/LevelSelectorApollo.d.ts +1 -1
  267. package/dist/prospect-client/LevelSelector/LevelSelectorCommon.d.ts +1 -1
  268. package/dist/prospect-client/LevelSelector/LevelSelectorLF.d.ts +1 -1
  269. package/dist/prospect-client/Link/LinkApollo.d.ts +1 -0
  270. package/dist/prospect-client/Link/LinkApollo.js +1 -0
  271. package/dist/prospect-client/Link/LinkCommon.d.ts +8 -1
  272. package/dist/prospect-client/Link/LinkCommon.js +17 -2
  273. package/dist/prospect-client/Link/LinkLF.d.ts +1 -0
  274. package/dist/prospect-client/Link/LinkLF.js +1 -0
  275. package/dist/prospect-client/List/ClickItem/ClickItemApollo.d.ts +1 -1
  276. package/dist/prospect-client/List/ClickItem/ClickItemCommon.d.ts +1 -1
  277. package/dist/prospect-client/List/ClickItem/ClickItemLF.d.ts +1 -1
  278. package/dist/prospect-client/List/ClickItem/ClickItemWrapper.d.ts +1 -1
  279. package/dist/prospect-client/List/ClickItem/components/ClickItemContentApollo.d.ts +1 -1
  280. package/dist/prospect-client/List/ClickItem/components/ClickItemContentCommon.d.ts +1 -1
  281. package/dist/prospect-client/List/ClickItem/components/ClickItemContentLF.d.ts +1 -1
  282. package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixApollo.d.ts +1 -1
  283. package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixCommon.d.ts +1 -1
  284. package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixLF.d.ts +1 -1
  285. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixApollo.d.ts +1 -1
  286. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.d.ts +1 -1
  287. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixLF.d.ts +1 -1
  288. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoApollo.d.ts +1 -1
  289. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.d.ts +1 -1
  290. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoLF.d.ts +1 -1
  291. package/dist/prospect-client/List/List/ListApollo.d.ts +1 -1
  292. package/dist/prospect-client/List/List/ListCommon.d.ts +1 -1
  293. package/dist/prospect-client/List/List/ListLF.d.ts +1 -1
  294. package/dist/prospect-client/Loader/LoaderApollo.d.ts +1 -1
  295. package/dist/prospect-client/Loader/LoaderCommon.d.ts +1 -1
  296. package/dist/prospect-client/Loader/LoaderLF.d.ts +1 -1
  297. package/dist/prospect-client/MenuBurger/MenuBurgerApollo.d.ts +1 -1
  298. package/dist/prospect-client/MenuBurger/MenuBurgerCommon.d.ts +1 -1
  299. package/dist/prospect-client/MenuBurger/MenuBurgerLF.d.ts +1 -1
  300. package/dist/prospect-client/Message/MessageApollo.d.ts +1 -1
  301. package/dist/prospect-client/Message/MessageCommon.d.ts +1 -1
  302. package/dist/prospect-client/Message/MessageLF.d.ts +1 -1
  303. package/dist/prospect-client/MessageBar/MessageBarAction.d.ts +1 -1
  304. package/dist/prospect-client/MessageBar/MessageBarApollo.d.ts +1 -1
  305. package/dist/prospect-client/MessageBar/MessageBarCommon.d.ts +1 -1
  306. package/dist/prospect-client/MessageBar/MessageBarDescription.d.ts +1 -1
  307. package/dist/prospect-client/MessageBar/MessageBarLF.d.ts +1 -1
  308. package/dist/prospect-client/MessageBar/MessageBarSummary.d.ts +1 -1
  309. package/dist/prospect-client/Modal/ModalApollo.d.ts +1 -1
  310. package/dist/prospect-client/Modal/ModalCommon.d.ts +1 -1
  311. package/dist/prospect-client/Modal/ModalLF.d.ts +1 -1
  312. package/dist/prospect-client/Modal/components/ModalCore.d.ts +1 -1
  313. package/dist/prospect-client/Modal/components/ModalCore.js +1 -3
  314. package/dist/prospect-client/Modal/components/ModalCoreBody.d.ts +1 -1
  315. package/dist/prospect-client/Modal/components/ModalCoreFooterApollo.d.ts +1 -1
  316. package/dist/prospect-client/Modal/components/ModalCoreFooterCommon.d.ts +1 -1
  317. package/dist/prospect-client/Modal/components/ModalCoreFooterLF.d.ts +1 -1
  318. package/dist/prospect-client/Modal/components/ModalCoreHeaderApollo.d.ts +1 -1
  319. package/dist/prospect-client/Modal/components/ModalCoreHeaderCommon.d.ts +1 -1
  320. package/dist/prospect-client/Modal/components/ModalCoreHeaderLF.d.ts +1 -1
  321. package/dist/prospect-client/MultiMessage/MultiMessageApollo.d.ts +1 -1
  322. package/dist/prospect-client/MultiMessage/MultiMessageCommon.d.ts +1 -1
  323. package/dist/prospect-client/MultiMessage/MultiMessageFooter.d.ts +1 -1
  324. package/dist/prospect-client/MultiMessage/MultiMessageLF.d.ts +1 -1
  325. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationApollo.d.ts +1 -1
  326. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationCommon.d.ts +1 -1
  327. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationLF.d.ts +1 -1
  328. package/dist/prospect-client/Pagination/PaginationApollo.d.ts +1 -1
  329. package/dist/prospect-client/Pagination/PaginationCommon.d.ts +1 -1
  330. package/dist/prospect-client/Pagination/PaginationLF.d.ts +1 -1
  331. package/dist/prospect-client/ProgressBar/ProgressBarCommon.d.ts +1 -1
  332. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupApollo.d.ts +1 -1
  333. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.d.ts +1 -1
  334. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupLF.d.ts +1 -1
  335. package/dist/prospect-client/Skeleton/Skeleton.d.ts +1 -1
  336. package/dist/prospect-client/SkeletonGrid/SkeletonGrid.d.ts +1 -1
  337. package/dist/prospect-client/SkeletonList/SkeletonListApollo.d.ts +1 -1
  338. package/dist/prospect-client/SkeletonList/SkeletonListCommon.d.ts +1 -1
  339. package/dist/prospect-client/SkeletonList/SkeletonListLF.d.ts +1 -1
  340. package/dist/prospect-client/Spinner/SpinnerCommon.d.ts +1 -1
  341. package/dist/prospect-client/Stepper/StepperApollo.d.ts +1 -1
  342. package/dist/prospect-client/Stepper/StepperCommon.d.ts +1 -1
  343. package/dist/prospect-client/Stepper/StepperLF.d.ts +1 -1
  344. package/dist/prospect-client/Svg/Svg.d.ts +2 -2
  345. package/dist/prospect-client/Svg/Svg.helpers.d.ts +27 -0
  346. package/dist/prospect-client/Svg/Svg.helpers.js +20 -0
  347. package/dist/prospect-client/Svg/Svg.js +2 -7
  348. package/dist/prospect-client/TabBar/TabBarApollo.d.ts +1 -1
  349. package/dist/prospect-client/TabBar/TabBarCommon.d.ts +1 -1
  350. package/dist/prospect-client/TabBar/TabBarCommon.js +1 -1
  351. package/dist/prospect-client/TabBar/TabBarLF.d.ts +1 -1
  352. package/dist/prospect-client/TabMenu/TabMenu.d.ts +1 -1
  353. package/dist/prospect-client/TabMenu/TabMenu.js +1 -3
  354. package/dist/prospect-client/Table/TBody.d.ts +1 -1
  355. package/dist/prospect-client/Table/THead.d.ts +1 -1
  356. package/dist/prospect-client/Table/TableCommon.d.ts +6 -6
  357. package/dist/prospect-client/Table/Td.d.ts +1 -1
  358. package/dist/prospect-client/Table/Th.d.ts +1 -1
  359. package/dist/prospect-client/Table/Tr.d.ts +1 -1
  360. package/dist/prospect-client/TableMobileCard/DRow.d.ts +1 -1
  361. package/dist/prospect-client/TableMobileCard/Dd.d.ts +1 -1
  362. package/dist/prospect-client/TableMobileCard/Dt.d.ts +1 -1
  363. package/dist/prospect-client/TableMobileCard/TableMobileCard.d.ts +4 -4
  364. package/dist/prospect-client/Tag/TagCommon.d.ts +1 -1
  365. package/dist/prospect-client/TagList/TagListApollo.d.ts +1 -1
  366. package/dist/prospect-client/TagList/TagListCommon.d.ts +1 -1
  367. package/dist/prospect-client/TagList/TagListLF.d.ts +1 -1
  368. package/dist/prospect-client/TimelineVertical/TimelineVerticalApollo.d.ts +1 -1
  369. package/dist/prospect-client/TimelineVertical/TimelineVerticalCommon.d.ts +1 -1
  370. package/dist/prospect-client/TimelineVertical/TimelineVerticalLF.d.ts +1 -1
  371. package/dist/prospect-client/Toggle/ToggleApollo.d.ts +1 -1
  372. package/dist/prospect-client/Toggle/ToggleCommon.d.ts +1 -1
  373. package/dist/prospect-client/Toggle/ToggleLF.d.ts +1 -1
  374. package/dist/prospect-client/pages/ErrorPage/ErrorPageApollo.d.ts +1 -1
  375. package/dist/prospect-client/pages/ErrorPage/ErrorPageCommon.d.ts +1 -1
  376. package/dist/prospect-client/pages/ErrorPage/ErrorPageLF.d.ts +1 -1
  377. package/dist/prospect-client/pages/ValidPage/ValidPageApollo.d.ts +1 -1
  378. package/dist/prospect-client/pages/ValidPage/ValidPageCommon.d.ts +1 -1
  379. package/dist/prospect-client/pages/ValidPage/ValidPageLF.d.ts +1 -1
  380. package/dist/prospect-client/utilities/VisuallyHidden.d.ts +7 -0
  381. package/dist/prospect-client/utilities/VisuallyHidden.js +7 -0
  382. package/dist/prospect-client/utilities/types/Permutations.d.ts +1 -0
  383. package/dist/prospect-client/utilities/types/Permutations.js +1 -0
  384. package/package.json +16 -16
@@ -11,7 +11,7 @@ export type SpinnerProps = {
11
11
  text?: string;
12
12
  } & ComponentPropsWithoutRef<"div">;
13
13
  declare const Spinner: {
14
- ({ size, variant, text, className, ...props }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
14
+ ({ size, variant, text, className, ...props }: SpinnerProps): import("react").JSX.Element;
15
15
  displayName: string;
16
16
  };
17
17
  export { Spinner };
@@ -1,3 +1,3 @@
1
1
  import "@axa-fr/canopee-css/prospect/Stepper/StepperApollo.css";
2
2
  import { type StepperProps } from "./StepperCommon";
3
- export declare const Stepper: (props: StepperProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Stepper: (props: StepperProps) => import("react").JSX.Element;
@@ -21,4 +21,4 @@ export type StepperCommonProps = StepperProps & {
21
21
  HeadingComponent: ComponentType<HeadingCommonProps>;
22
22
  ItemMessageComponent: ComponentType<ItemMessageProps>;
23
23
  };
24
- export declare const StepperCommon: ({ currentStepProgress, currentTitle, nbSteps, currentStep, currentSubtitle, className, ProgressBarGroupComponent, HeadingComponent, ItemMessageComponent, helper, icon, iconProps, message, messageType, titleLevel, ...props }: StepperCommonProps) => import("react/jsx-runtime").JSX.Element;
24
+ export declare const StepperCommon: ({ currentStepProgress, currentTitle, nbSteps, currentStep, currentSubtitle, className, ProgressBarGroupComponent, HeadingComponent, ItemMessageComponent, helper, icon, iconProps, message, messageType, titleLevel, ...props }: StepperCommonProps) => import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import "@axa-fr/canopee-css/client/Stepper/StepperLF.css";
2
2
  import { type StepperProps } from "./StepperCommon";
3
- export declare const Stepper: (props: StepperProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Stepper: (props: StepperProps) => import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import "@axa-fr/canopee-css/prospect/Svg/Svg.css";
2
- import { type SVGAttributes } from "react";
2
+ import React, { type SVGAttributes } from "react";
3
3
  type SvgProps = SVGAttributes<SVGSVGElement> & {
4
4
  src: string;
5
5
  alt?: string;
@@ -7,5 +7,5 @@ type SvgProps = SVGAttributes<SVGSVGElement> & {
7
7
  /**
8
8
  * @deprecated Use Icon instead
9
9
  */
10
- export declare const Svg: ({ className, src, alt, width, height, ...props }: SvgProps) => import("react/jsx-runtime").JSX.Element | null;
10
+ export declare const Svg: ({ className, src, alt, width, height, ...props }: SvgProps) => React.JSX.Element | null;
11
11
  export {};
@@ -0,0 +1,27 @@
1
+ import type { SVGAttributes } from "react";
2
+ type AccessibilityInput = Pick<SVGAttributes<SVGSVGElement>, "aria-label" | "aria-labelledby"> & {
3
+ alt?: string;
4
+ };
5
+ /**
6
+ * An icon with a non-empty alt is an image named by it; an icon without alt,
7
+ * aria-label or aria-labelledby is decorative and hidden from assistive
8
+ * technologies. Explicit props are spread afterwards and take precedence.
9
+ */
10
+ export declare const getAccessibilityProps: ({ alt, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }: AccessibilityInput) => {
11
+ role: string;
12
+ "aria-label": string;
13
+ "aria-hidden"?: undefined;
14
+ focusable?: undefined;
15
+ } | {
16
+ role?: undefined;
17
+ "aria-label"?: undefined;
18
+ "aria-hidden"?: undefined;
19
+ focusable?: undefined;
20
+ } | {
21
+ "aria-hidden": boolean;
22
+ focusable: boolean;
23
+ role?: undefined;
24
+ "aria-label"?: undefined;
25
+ };
26
+ export declare const cloneAttributes: (from: HTMLElement | SVGSVGElement, to: HTMLElement | SVGSVGElement) => void;
27
+ export {};
@@ -0,0 +1,20 @@
1
+ /**
2
+ * An icon with a non-empty alt is an image named by it; an icon without alt,
3
+ * aria-label or aria-labelledby is decorative and hidden from assistive
4
+ * technologies. Explicit props are spread afterwards and take precedence.
5
+ */
6
+ export const getAccessibilityProps = ({ alt, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }) => {
7
+ if (alt) {
8
+ return { role: "img", "aria-label": alt };
9
+ }
10
+ if (ariaLabel || ariaLabelledBy) {
11
+ return {};
12
+ }
13
+ return { "aria-hidden": true, focusable: false };
14
+ };
15
+ export const cloneAttributes = (from, to) => {
16
+ const attributes = from.getAttributeNames();
17
+ attributes.forEach((attribute) => {
18
+ to.setAttribute(attribute, from.getAttribute(attribute));
19
+ });
20
+ };
@@ -1,13 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import "@axa-fr/canopee-css/prospect/Svg/Svg.css";
3
3
  import React, {} from "react";
4
+ import { cloneAttributes, getAccessibilityProps } from "./Svg.helpers";
4
5
  import { svgInjector } from "./svgInjector";
5
- const cloneAttributes = (from, to) => {
6
- const attributes = from.getAttributeNames();
7
- attributes.forEach((attribute) => {
8
- to.setAttribute(attribute, from.getAttribute(attribute));
9
- });
10
- };
11
6
  /**
12
7
  * @deprecated Use Icon instead
13
8
  */
@@ -50,5 +45,5 @@ export const Svg = ({ className, src, alt, width = 24, height = 24, ...props })
50
45
  if (hasError) {
51
46
  return alt ? (_jsx("span", { ...props, children: alt })) : null;
52
47
  }
53
- return (_jsx("svg", { ref: rootRef, className: ["af-svg", className].filter(Boolean).join(" "), "data-src": src, width: width, height: height, ...props }));
48
+ return (_jsx("svg", { ref: rootRef, className: ["af-svg", className].filter(Boolean).join(" "), "data-src": src, width: width, height: height, ...getAccessibilityProps({ alt, ...props }), ...props }));
54
49
  };
@@ -1,4 +1,4 @@
1
1
  import "@axa-fr/canopee-css/prospect/TabBar/TabBarApollo.css";
2
2
  import { type TabBarProps } from "./TabBarCommon";
3
3
  export { tabBarDirection, type TabBarProps, type TabBarDirection, } from "./TabBarCommon";
4
- export declare const TabBar: (props: TabBarProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const TabBar: (props: TabBarProps) => import("react").JSX.Element;
@@ -16,5 +16,5 @@ export type TabBarProps = {
16
16
  type TabBarPropsCommon = TabBarProps & {
17
17
  ItemTabBarComponent: ComponentType<ComponentProps<typeof ItemTabBar>>;
18
18
  };
19
- export declare const TabBarCommon: ({ items, preSelectedTabIndex, direction, ItemTabBarComponent, }: TabBarPropsCommon) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const TabBarCommon: ({ items, preSelectedTabIndex, direction, ItemTabBarComponent, }: TabBarPropsCommon) => import("react").JSX.Element;
20
20
  export {};
@@ -50,7 +50,7 @@ export const TabBarCommon = ({ items, preSelectedTabIndex, direction = "left", I
50
50
  default:
51
51
  break;
52
52
  }
53
- }, [selectedTabIndex, totalTabs]);
53
+ }, [selectedTabIndex, totalTabs, items]);
54
54
  return (_jsxs("div", { className: classNames(CLASS_NAME, direction === tabBarDirection.center ? `${CLASS_NAME}--center` : ""), children: [_jsx("div", { role: "tablist", ref: tablistRef, children: items.map(({ title }, index) => (_jsx(ItemTabBarComponent, { id: getTabId(index), "aria-selected": isActive(index), "aria-controls": getTabPanelId(index), onKeyDown: onChangeTab, onClick: () => handleClickFn(index), ref: (element) => {
55
55
  buttonRefs.current[index] = element;
56
56
  }, tabIndex: isActive(index) ? 0 : -1, title: title }, `tab-${title}`))) }), items.map((item, index) => (_jsx("div", { role: "tabpanel", "aria-hidden": !isActive(index), id: getTabPanelId(index), "aria-labelledby": getTabId(index), children: item.content }, `tabpanel-${item.title}`)))] }));
@@ -1,4 +1,4 @@
1
1
  import "@axa-fr/canopee-css/client/TabBar/TabBarLF.css";
2
2
  import { type TabBarProps } from "./TabBarCommon";
3
3
  export { tabBarDirection, type TabBarProps, type TabBarDirection, } from "./TabBarCommon";
4
- export declare const TabBar: (props: TabBarProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const TabBar: (props: TabBarProps) => import("react").JSX.Element;
@@ -33,4 +33,4 @@ export type TabMenuProps = {
33
33
  * @param {number} [props.initialPosition=0] - Initially selected item index.
34
34
  * @returns {JSX.Element | null} The rendered TabMenu, or null when no items are provided.
35
35
  */
36
- export declare const TabMenu: ({ items, className, initialPosition, ...props }: TabMenuProps) => import("react/jsx-runtime").JSX.Element | null;
36
+ export declare const TabMenu: ({ items, className, initialPosition, ...props }: TabMenuProps) => import("react").JSX.Element | null;
@@ -26,9 +26,7 @@ export const TabMenu = ({ items, className, initialPosition = 0, ...props }) =>
26
26
  if (!items || items.length === 0) {
27
27
  return null;
28
28
  }
29
- return (
30
- // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
31
- _jsx("nav", { className: getClassName({
29
+ return (_jsx("nav", { className: getClassName({
32
30
  baseClassName: "af-tab-menu",
33
31
  className,
34
32
  }), ...props,
@@ -3,4 +3,4 @@ export type BodyColorVariants = "white" | "blue" | "alternate";
3
3
  export type TBodyProps = ComponentPropsWithRef<"tbody"> & {
4
4
  variant?: BodyColorVariants;
5
5
  };
6
- export declare const TBody: ({ variant, className, children, ...tableBodyProps }: TBodyProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const TBody: ({ variant, className, children, ...tableBodyProps }: TBodyProps) => import("react").JSX.Element;
@@ -3,4 +3,4 @@ export type HeadColorVariants = "gray" | "blue";
3
3
  export type THeadProps = ComponentPropsWithRef<"thead"> & {
4
4
  variant?: HeadColorVariants;
5
5
  };
6
- export declare const THead: ({ variant, className, children, ...tableHeadProps }: THeadProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const THead: ({ variant, className, children, ...tableHeadProps }: THeadProps) => import("react").JSX.Element;
@@ -5,10 +5,10 @@ import { type HeadColorVariants } from "./THead";
5
5
  export type { HeadColorVariants, BodyColorVariants, RowSizeVariants };
6
6
  export type TableProps = ComponentPropsWithRef<"table">;
7
7
  export declare const Table: {
8
- ({ className, children, ...tableProps }: TableProps): import("react/jsx-runtime").JSX.Element;
9
- THead: ({ variant, className, children, ...tableHeadProps }: import("./THead").THeadProps) => import("react/jsx-runtime").JSX.Element;
10
- TBody: ({ variant, className, children, ...tableBodyProps }: import("./TBody").TBodyProps) => import("react/jsx-runtime").JSX.Element;
11
- Th: ({ position, onCheck, checkboxPosition, onSort, className, children, ...tableHeaderProps }: import("./Th").ThProps) => import("react/jsx-runtime").JSX.Element;
12
- Tr: ({ size, className, children, ...tableRowProps }: import("./Tr").TrProps) => import("react/jsx-runtime").JSX.Element;
13
- Td: ({ position, verticalAlign, size, variant, className, children, ...tableCellProps }: import("./Td").TdProps) => import("react/jsx-runtime").JSX.Element;
8
+ ({ className, children, ...tableProps }: TableProps): import("react").JSX.Element;
9
+ THead: ({ variant, className, children, ...tableHeadProps }: import("./THead").THeadProps) => import("react").JSX.Element;
10
+ TBody: ({ variant, className, children, ...tableBodyProps }: import("./TBody").TBodyProps) => import("react").JSX.Element;
11
+ Th: ({ position, onCheck, checkboxPosition, onSort, className, children, ...tableHeaderProps }: import("./Th").ThProps) => import("react").JSX.Element;
12
+ Tr: ({ size, className, children, ...tableRowProps }: import("./Tr").TrProps) => import("react").JSX.Element;
13
+ Td: ({ position, verticalAlign, size, variant, className, children, ...tableCellProps }: import("./Td").TdProps) => import("react").JSX.Element;
14
14
  };
@@ -14,4 +14,4 @@ export type TdProps = ComponentPropsWithRef<"td"> & {
14
14
  size?: TdSizeVariants;
15
15
  variant?: CellColorVariant;
16
16
  };
17
- export declare const Td: ({ position, verticalAlign, size, variant, className, children, ...tableCellProps }: TdProps) => import("react/jsx-runtime").JSX.Element;
17
+ export declare const Td: ({ position, verticalAlign, size, variant, className, children, ...tableCellProps }: TdProps) => import("react").JSX.Element;
@@ -6,4 +6,4 @@ export type ThProps = ComponentPropsWithRef<"th"> & {
6
6
  onCheck?: () => void;
7
7
  onSort?: () => void;
8
8
  };
9
- export declare const Th: ({ position, onCheck, checkboxPosition, onSort, className, children, ...tableHeaderProps }: ThProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const Th: ({ position, onCheck, checkboxPosition, onSort, className, children, ...tableHeaderProps }: ThProps) => import("react").JSX.Element;
@@ -8,4 +8,4 @@ export type RowSizeVariants = keyof typeof rowSizeVariants;
8
8
  export type TrProps = ComponentPropsWithRef<"tr"> & {
9
9
  size?: RowSizeVariants;
10
10
  };
11
- export declare const Tr: ({ size, className, children, ...tableRowProps }: TrProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const Tr: ({ size, className, children, ...tableRowProps }: TrProps) => import("react").JSX.Element;
@@ -3,4 +3,4 @@ export type DRowDirectionVariants = "row" | "column";
3
3
  export type TrProps = ComponentPropsWithRef<"div"> & {
4
4
  direction?: DRowDirectionVariants;
5
5
  };
6
- export declare const DRow: ({ className, children, direction, ...dRowProps }: TrProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const DRow: ({ className, children, direction, ...dRowProps }: TrProps) => import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { type ComponentPropsWithRef } from "react";
2
2
  export type TrProps = ComponentPropsWithRef<"dd">;
3
- export declare const Dd: ({ className, children, ...ddProps }: TrProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Dd: ({ className, children, ...ddProps }: TrProps) => import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { type ComponentPropsWithRef } from "react";
2
2
  export type TrProps = ComponentPropsWithRef<"dt">;
3
- export declare const Dt: ({ className, children, ...dtProps }: TrProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Dt: ({ className, children, ...dtProps }: TrProps) => import("react").JSX.Element;
@@ -5,8 +5,8 @@ export type TableMobileCardProps = ComponentPropsWithRef<"dl"> & {
5
5
  variant?: TableMobileCardVariants;
6
6
  };
7
7
  export declare const TableMobileCard: {
8
- ({ className, children, variant, ...tableCardProps }: TableMobileCardProps): import("react/jsx-runtime").JSX.Element;
9
- DRow: ({ className, children, direction, ...dRowProps }: import("./DRow").TrProps) => import("react/jsx-runtime").JSX.Element;
10
- Dt: ({ className, children, ...dtProps }: import("./Dt").TrProps) => import("react/jsx-runtime").JSX.Element;
11
- Dd: ({ className, children, ...ddProps }: import("./Dd").TrProps) => import("react/jsx-runtime").JSX.Element;
8
+ ({ className, children, variant, ...tableCardProps }: TableMobileCardProps): import("react").JSX.Element;
9
+ DRow: ({ className, children, direction, ...dRowProps }: import("./DRow").TrProps) => import("react").JSX.Element;
10
+ Dt: ({ className, children, ...dtProps }: import("./Dt").TrProps) => import("react").JSX.Element;
11
+ Dd: ({ className, children, ...ddProps }: import("./Dd").TrProps) => import("react").JSX.Element;
12
12
  };
@@ -10,4 +10,4 @@ export type TagVariants = keyof typeof tagVariants;
10
10
  export type TagProps = ComponentProps<"div"> & {
11
11
  variant?: TagVariants;
12
12
  };
13
- export declare const Tag: ({ children, className, variant, ...divProps }: TagProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const Tag: ({ children, className, variant, ...divProps }: TagProps) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import { type TagListProps as TagListCommonProps } from "./TagListCommon";
2
2
  import "@axa-fr/canopee-css/prospect/TagList/TagListAll.css";
3
3
  export type TagListProps = Omit<TagListCommonProps, "OverflowTag">;
4
- export declare const TagList: (props: TagListProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const TagList: (props: TagListProps) => import("react").JSX.Element;
@@ -7,4 +7,4 @@ export type TagListProps = {
7
7
  children: ReactNode;
8
8
  }>;
9
9
  };
10
- export declare const TagListCommon: ({ children, hideThreshold, className, OverflowTag, }: TagListProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const TagListCommon: ({ children, hideThreshold, className, OverflowTag, }: TagListProps) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import { type TagListProps as TagListCommonProps } from "./TagListCommon";
2
2
  import "@axa-fr/canopee-css/client/TagList/TagListAll.css";
3
3
  export type TagListProps = Omit<TagListCommonProps, "OverflowTag">;
4
- export declare const TagList: (props: TagListProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const TagList: (props: TagListProps) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import "@axa-fr/canopee-css/prospect/TimelineVertical/TimelineVerticalApollo.css";
2
2
  import type { TimelineVerticalProps } from "./types";
3
3
  export type { TimelineVerticalProps } from "./types";
4
- export declare const TimelineVertical: ({ tag, tagProps, ...props }: TimelineVerticalProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const TimelineVertical: ({ tag, tagProps, ...props }: TimelineVerticalProps) => import("react").JSX.Element;
@@ -4,4 +4,4 @@ export type TimelineVerticalProps = PropsWithChildren<{
4
4
  tag: ReactNode;
5
5
  className?: string;
6
6
  }>;
7
- export declare const TimelineVerticalCommon: ({ title, children, tag, className, }: TimelineVerticalProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const TimelineVerticalCommon: ({ title, children, tag, className, }: TimelineVerticalProps) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import "@axa-fr/canopee-css/client/TimelineVertical/TimelineVerticalLF.css";
2
2
  import type { TimelineVerticalProps } from "./types";
3
3
  export type { TimelineVerticalProps } from "./types";
4
- export declare const TimelineVertical: ({ tag, tagProps, ...props }: TimelineVerticalProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const TimelineVertical: ({ tag, tagProps, ...props }: TimelineVerticalProps) => import("react").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import "@axa-fr/canopee-css/prospect/Toggle/ToggleApollo.css";
2
2
  import { type ToggleProps } from "./ToggleCommon";
3
3
  export declare const Toggle: {
4
- ({ ...props }: ToggleProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ ...props }: ToggleProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
@@ -5,6 +5,6 @@ export type ToggleCommonProps = ToggleProps & {
5
5
  IconComponent: ComponentType<IconProps>;
6
6
  };
7
7
  export declare const ToggleCommon: {
8
- ({ className, IconComponent, ...inputProps }: ToggleCommonProps): import("react/jsx-runtime").JSX.Element;
8
+ ({ className, IconComponent, ...inputProps }: ToggleCommonProps): import("react").JSX.Element;
9
9
  displayName: string;
10
10
  };
@@ -1,6 +1,6 @@
1
1
  import "@axa-fr/canopee-css/client/Toggle/ToggleLF.css";
2
2
  import { type ToggleProps } from "./ToggleCommon";
3
3
  export declare const Toggle: {
4
- ({ ...props }: ToggleProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ ...props }: ToggleProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
@@ -1,3 +1,3 @@
1
1
  import { type ErrorPageProps } from "./ErrorPageCommon";
2
2
  export { type ErrorPageProps } from "./ErrorPageCommon";
3
- export declare const ErrorPage: (props: ErrorPageProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ErrorPage: (props: ErrorPageProps) => import("react").JSX.Element;
@@ -8,5 +8,5 @@ type ErrorPageCommonProps = ErrorPageProps & {
8
8
  LinkComponent: ComponentType<LinkProps>;
9
9
  ExitLayoutComponent: ExitLayoutWithSubComponents;
10
10
  };
11
- export declare const ErrorPageCommon: ({ headingProps, children, linkProps, LinkComponent, ExitLayoutComponent, }: ErrorPageCommonProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const ErrorPageCommon: ({ headingProps, children, linkProps, LinkComponent, ExitLayoutComponent, }: ErrorPageCommonProps) => import("react").JSX.Element;
12
12
  export {};
@@ -1,3 +1,3 @@
1
1
  import { type ErrorPageProps } from "./ErrorPageCommon";
2
2
  export { type ErrorPageProps } from "./ErrorPageCommon";
3
- export declare const ErrorPage: (props: ErrorPageProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ErrorPage: (props: ErrorPageProps) => import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { type ValidPageProps } from "./ValidPageCommon";
2
2
  export { type ValidPageProps } from "./ValidPageCommon";
3
- export declare const ValidPage: (props: ValidPageProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ValidPage: (props: ValidPageProps) => import("react").JSX.Element;
@@ -11,5 +11,5 @@ type ValidPageCommonProps = ValidPageProps & {
11
11
  LinkComponent: ComponentType<LinkProps>;
12
12
  ExitLayoutComponent: ExitLayoutWithSubComponents;
13
13
  };
14
- export declare const ValidPageCommon: ({ headingProps, children, dataAgentProps, linkProps, DataAgentComponent, LinkComponent, ExitLayoutComponent, }: ValidPageCommonProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const ValidPageCommon: ({ headingProps, children, dataAgentProps, linkProps, DataAgentComponent, LinkComponent, ExitLayoutComponent, }: ValidPageCommonProps) => import("react").JSX.Element;
15
15
  export {};
@@ -1,3 +1,3 @@
1
1
  import { type ValidPageProps } from "./ValidPageCommon";
2
2
  export { type ValidPageProps } from "./ValidPageCommon";
3
- export declare const ValidPage: (props: ValidPageProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ValidPage: (props: ValidPageProps) => import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import "@axa-fr/canopee-css/client/VisuallyHidden/VisuallyHiddenAll.css";
2
+ import type { ComponentProps } from "react";
3
+ /**
4
+ * Text announced by assistive technologies but not displayed.
5
+ * Internal helper: not exported by the package entry points.
6
+ */
7
+ export declare const VisuallyHidden: (props: Omit<ComponentProps<"span">, "className" | "style">) => import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import "@axa-fr/canopee-css/client/VisuallyHidden/VisuallyHiddenAll.css";
3
+ /**
4
+ * Text announced by assistive technologies but not displayed.
5
+ * Internal helper: not exported by the package entry points.
6
+ */
7
+ export const VisuallyHidden = (props) => _jsx("span", { className: "af-visually-hidden", ...props });
@@ -0,0 +1 @@
1
+ export type Permutations<T extends string, U extends string = T> = T extends unknown ? T | `${T} ${Permutations<Exclude<U, T>>}` : never;
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@axa-fr/canopee-react",
3
- "version": "2.0.0-alpha.93",
3
+ "version": "2.0.1-alpha.10",
4
4
  "description": "Package React - Design System Canopée",
5
+ "type": "module",
5
6
  "exports": {
6
7
  "./distributeur": {
7
8
  "import": "./dist/distributeur.js",
@@ -53,7 +54,7 @@
53
54
  },
54
55
  "homepage": "https://github.com/AxaFrance/design-system#readme",
55
56
  "peerDependencies": {
56
- "@axa-fr/canopee-css": "2.0.0-alpha.93",
57
+ "@axa-fr/canopee-css": "2.0.1-alpha.10",
57
58
  "@material-symbols/svg-400": ">= 0.19.0",
58
59
  "@material-symbols/svg-700": ">= 0.19.0",
59
60
  "react": ">= 19"
@@ -61,32 +62,31 @@
61
62
  "dependencies": {
62
63
  "@floating-ui/react": "^0.27.8",
63
64
  "@fontsource/source-sans-pro": "^5.2.5",
64
- "@tanem/svg-injector": "^10.1.68",
65
+ "@tanem/svg-injector": "^12.2.5",
65
66
  "classnames": "^2.5.1",
66
67
  "rc-slider": "^11.1.7",
67
68
  "react-dropzone": "^11.5.3",
68
- "dompurify": "^3.4.2",
69
+ "dompurify": "^3.4.17",
69
70
  "react-select": "^5.10.1"
70
71
  },
71
72
  "devDependencies": {
72
73
  "@axa-fr/canopee-css": "*",
73
74
  "@axa-fr/eslint-config-design-system": "*",
74
75
  "@axa-fr/prettier-config-design-system": "*",
75
- "@testing-library/dom": "^10.4.1",
76
- "@testing-library/jest-dom": "^6.6.3",
77
- "@testing-library/react": "^16.2.0",
78
- "@testing-library/user-event": "^14.6.1",
76
+ "@testing-library/dom": "^10.4.2",
77
+ "@testing-library/jest-dom": "^7.0.1",
78
+ "@testing-library/react": "^16.3.3",
79
+ "@testing-library/user-event": "^14.6.8",
79
80
  "@types/dompurify": "^3.2.0",
80
- "@types/jest": "^29.5.14",
81
+ "@types/jest": "^30.0.0",
81
82
  "@types/jest-axe": "^3.5.9",
82
- "@vitest/coverage-v8": "^4.1.5",
83
- "@vitest/ui": "^4.1.5",
83
+ "@vitest/coverage-v8": "^4.1.12",
84
+ "@vitest/ui": "^4.1.12",
84
85
  "copyfiles": "^2.4.1",
85
- "jest-axe": "^10.0.0",
86
- "jsdom": "^29.1.1",
87
- "react": "^19.0.0",
88
- "rimraf": "^6.0.1",
89
- "vitest": "^4.1.5"
86
+ "jest-axe": "^11.0.0",
87
+ "jsdom": "^30.1.3",
88
+ "rimraf": "^6.1.3",
89
+ "vitest": "^4.1.12"
90
90
  },
91
91
  "lint-staged": {
92
92
  "*.(js|jsx|ts|tsx)": "eslint --fix",