@axa-fr/canopee-react 1.0.0-alpha.1089

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 (733) hide show
  1. package/dist/client.d.ts +60 -0
  2. package/dist/client.js +59 -0
  3. package/dist/distributeur/Accordion/Accordion.d.ts +14 -0
  4. package/dist/distributeur/Accordion/Accordion.js +18 -0
  5. package/dist/distributeur/Accordion/AccordionContext.d.ts +1 -0
  6. package/dist/distributeur/Accordion/AccordionContext.js +2 -0
  7. package/dist/distributeur/Accordion/Body.d.ts +6 -0
  8. package/dist/distributeur/Accordion/Body.js +5 -0
  9. package/dist/distributeur/Accordion/CollapseCard.d.ts +15 -0
  10. package/dist/distributeur/Accordion/CollapseCard.js +11 -0
  11. package/dist/distributeur/Accordion/Header.d.ts +17 -0
  12. package/dist/distributeur/Accordion/Header.js +20 -0
  13. package/dist/distributeur/Accordion/index.d.ts +3 -0
  14. package/dist/distributeur/Accordion/index.js +2 -0
  15. package/dist/distributeur/Action/Action.d.ts +5 -0
  16. package/dist/distributeur/Action/Action.js +9 -0
  17. package/dist/distributeur/Button/Button.d.ts +11 -0
  18. package/dist/distributeur/Button/Button.js +7 -0
  19. package/dist/distributeur/Card/Card.d.ts +14 -0
  20. package/dist/distributeur/Card/Card.js +6 -0
  21. package/dist/distributeur/CardData/CardData.d.ts +15 -0
  22. package/dist/distributeur/CardData/CardData.js +6 -0
  23. package/dist/distributeur/CardData/CardDataHeader.d.ts +14 -0
  24. package/dist/distributeur/CardData/CardDataHeader.js +9 -0
  25. package/dist/distributeur/Divider/Divider.d.ts +7 -0
  26. package/dist/distributeur/Divider/Divider.js +10 -0
  27. package/dist/distributeur/Form/Checkbox/Checkbox.d.ts +23 -0
  28. package/dist/distributeur/Form/Checkbox/Checkbox.js +30 -0
  29. package/dist/distributeur/Form/Checkbox/CheckboxInput.d.ts +6 -0
  30. package/dist/distributeur/Form/Checkbox/CheckboxInput.js +13 -0
  31. package/dist/distributeur/Form/Checkbox/CheckboxItem.d.ts +10 -0
  32. package/dist/distributeur/Form/Checkbox/CheckboxItem.js +15 -0
  33. package/dist/distributeur/Form/Checkbox/CheckboxModes.d.ts +7 -0
  34. package/dist/distributeur/Form/Checkbox/CheckboxModes.js +8 -0
  35. package/dist/distributeur/Form/Checkbox/index.d.ts +4 -0
  36. package/dist/distributeur/Form/Checkbox/index.js +4 -0
  37. package/dist/distributeur/Form/Choice/Choice.d.ts +14 -0
  38. package/dist/distributeur/Form/Choice/Choice.js +18 -0
  39. package/dist/distributeur/Form/Choice/ChoiceInput.d.ts +6 -0
  40. package/dist/distributeur/Form/Choice/ChoiceInput.js +13 -0
  41. package/dist/distributeur/Form/Choice/index.d.ts +2 -0
  42. package/dist/distributeur/Form/Choice/index.js +2 -0
  43. package/dist/distributeur/Form/Date/Date.d.ts +9 -0
  44. package/dist/distributeur/Form/Date/Date.js +11 -0
  45. package/dist/distributeur/Form/Date/DateInput.d.ts +8 -0
  46. package/dist/distributeur/Form/Date/DateInput.js +9 -0
  47. package/dist/distributeur/Form/Date/index.d.ts +2 -0
  48. package/dist/distributeur/Form/Date/index.js +2 -0
  49. package/dist/distributeur/Form/Experimental/index.d.ts +0 -0
  50. package/dist/distributeur/Form/Experimental/index.js +1 -0
  51. package/dist/distributeur/Form/File/File.d.ts +25 -0
  52. package/dist/distributeur/Form/File/File.js +60 -0
  53. package/dist/distributeur/Form/File/FileErrors.d.ts +6 -0
  54. package/dist/distributeur/Form/File/FileErrors.js +5 -0
  55. package/dist/distributeur/Form/File/FileInput.d.ts +13 -0
  56. package/dist/distributeur/Form/File/FileInput.js +21 -0
  57. package/dist/distributeur/Form/File/FileLine.d.ts +9 -0
  58. package/dist/distributeur/Form/File/FileLine.js +7 -0
  59. package/dist/distributeur/Form/File/FileTable.d.ts +14 -0
  60. package/dist/distributeur/Form/File/FileTable.js +9 -0
  61. package/dist/distributeur/Form/File/constants.d.ts +1 -0
  62. package/dist/distributeur/Form/File/constants.js +1 -0
  63. package/dist/distributeur/Form/File/index.d.ts +6 -0
  64. package/dist/distributeur/Form/File/index.js +5 -0
  65. package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.d.ts +4 -0
  66. package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.js +12 -0
  67. package/dist/distributeur/Form/MultiSelect/MultiSelect.d.ts +23 -0
  68. package/dist/distributeur/Form/MultiSelect/MultiSelect.js +74 -0
  69. package/dist/distributeur/Form/MultiSelect/MultiSelectInput.d.ts +7 -0
  70. package/dist/distributeur/Form/MultiSelect/MultiSelectInput.js +10 -0
  71. package/dist/distributeur/Form/MultiSelect/NoOptionsMessage.d.ts +3 -0
  72. package/dist/distributeur/Form/MultiSelect/NoOptionsMessage.js +1 -0
  73. package/dist/distributeur/Form/MultiSelect/ValueContainer.d.ts +4 -0
  74. package/dist/distributeur/Form/MultiSelect/ValueContainer.js +20 -0
  75. package/dist/distributeur/Form/MultiSelect/index.d.ts +2 -0
  76. package/dist/distributeur/Form/MultiSelect/index.js +2 -0
  77. package/dist/distributeur/Form/MultiSelect/useMultiSelectStyle.d.ts +5 -0
  78. package/dist/distributeur/Form/MultiSelect/useMultiSelectStyle.js +81 -0
  79. package/dist/distributeur/Form/NestedQuestion/NestedQuestion.d.ts +5 -0
  80. package/dist/distributeur/Form/NestedQuestion/NestedQuestion.js +7 -0
  81. package/dist/distributeur/Form/Number/Number.d.ts +7 -0
  82. package/dist/distributeur/Form/Number/Number.js +12 -0
  83. package/dist/distributeur/Form/Number/NumberInput.d.ts +6 -0
  84. package/dist/distributeur/Form/Number/NumberInput.js +6 -0
  85. package/dist/distributeur/Form/Number/index.d.ts +2 -0
  86. package/dist/distributeur/Form/Number/index.js +2 -0
  87. package/dist/distributeur/Form/Pass/Pass.d.ts +9 -0
  88. package/dist/distributeur/Form/Pass/Pass.js +10 -0
  89. package/dist/distributeur/Form/Pass/PassInput.d.ts +10 -0
  90. package/dist/distributeur/Form/Pass/PassInput.js +31 -0
  91. package/dist/distributeur/Form/Pass/index.d.ts +2 -0
  92. package/dist/distributeur/Form/Pass/index.js +2 -0
  93. package/dist/distributeur/Form/Radio/Radio.d.ts +25 -0
  94. package/dist/distributeur/Form/Radio/Radio.js +37 -0
  95. package/dist/distributeur/Form/Radio/RadioCardGroup.d.ts +9 -0
  96. package/dist/distributeur/Form/Radio/RadioCardGroup.js +25 -0
  97. package/dist/distributeur/Form/Radio/RadioInput.d.ts +6 -0
  98. package/dist/distributeur/Form/Radio/RadioInput.js +11 -0
  99. package/dist/distributeur/Form/Radio/RadioItem.d.ts +10 -0
  100. package/dist/distributeur/Form/Radio/RadioItem.js +12 -0
  101. package/dist/distributeur/Form/Radio/index.d.ts +3 -0
  102. package/dist/distributeur/Form/Radio/index.js +3 -0
  103. package/dist/distributeur/Form/Select/Select.d.ts +342 -0
  104. package/dist/distributeur/Form/Select/Select.js +13 -0
  105. package/dist/distributeur/Form/Select/SelectBase.d.ts +24 -0
  106. package/dist/distributeur/Form/Select/SelectBase.js +14 -0
  107. package/dist/distributeur/Form/Select/SelectDefault.d.ts +9 -0
  108. package/dist/distributeur/Form/Select/SelectDefault.js +17 -0
  109. package/dist/distributeur/Form/Select/SelectDefaultWithOptions.d.ts +23 -0
  110. package/dist/distributeur/Form/Select/SelectDefaultWithOptions.js +39 -0
  111. package/dist/distributeur/Form/Select/SelectInput.d.ts +378 -0
  112. package/dist/distributeur/Form/Select/SelectInput.js +9 -0
  113. package/dist/distributeur/Form/Select/index.d.ts +3 -0
  114. package/dist/distributeur/Form/Select/index.js +3 -0
  115. package/dist/distributeur/Form/Slider/Slider.d.ts +27 -0
  116. package/dist/distributeur/Form/Slider/Slider.js +36 -0
  117. package/dist/distributeur/Form/Slider/SliderInput.d.ts +9 -0
  118. package/dist/distributeur/Form/Slider/SliderInput.js +10 -0
  119. package/dist/distributeur/Form/Slider/index.d.ts +3 -0
  120. package/dist/distributeur/Form/Slider/index.js +3 -0
  121. package/dist/distributeur/Form/Text/Text.d.ts +7 -0
  122. package/dist/distributeur/Form/Text/Text.js +10 -0
  123. package/dist/distributeur/Form/Text/TextInput.d.ts +6 -0
  124. package/dist/distributeur/Form/Text/TextInput.js +9 -0
  125. package/dist/distributeur/Form/Text/index.d.ts +2 -0
  126. package/dist/distributeur/Form/Text/index.js +2 -0
  127. package/dist/distributeur/Form/Textarea/Textarea.d.ts +5 -0
  128. package/dist/distributeur/Form/Textarea/Textarea.js +12 -0
  129. package/dist/distributeur/Form/Textarea/TextareaInput.d.ts +7 -0
  130. package/dist/distributeur/Form/Textarea/TextareaInput.js +10 -0
  131. package/dist/distributeur/Form/Textarea/index.d.ts +2 -0
  132. package/dist/distributeur/Form/Textarea/index.js +2 -0
  133. package/dist/distributeur/Form/core/Deprecated/Field.d.ts +21 -0
  134. package/dist/distributeur/Form/core/Deprecated/Field.js +19 -0
  135. package/dist/distributeur/Form/core/Deprecated/FieldForm.d.ts +103 -0
  136. package/dist/distributeur/Form/core/Deprecated/FieldForm.js +162 -0
  137. package/dist/distributeur/Form/core/Deprecated/FieldInput.d.ts +16 -0
  138. package/dist/distributeur/Form/core/Deprecated/FieldInput.js +14 -0
  139. package/dist/distributeur/Form/core/Field.d.ts +80 -0
  140. package/dist/distributeur/Form/core/Field.js +42 -0
  141. package/dist/distributeur/Form/core/FieldError.d.ts +8 -0
  142. package/dist/distributeur/Form/core/FieldError.js +8 -0
  143. package/dist/distributeur/Form/core/FormClassManager.d.ts +7 -0
  144. package/dist/distributeur/Form/core/FormClassManager.js +36 -0
  145. package/dist/distributeur/Form/core/HelpMessage.d.ts +8 -0
  146. package/dist/distributeur/Form/core/HelpMessage.js +2 -0
  147. package/dist/distributeur/Form/core/InputList.d.ts +8 -0
  148. package/dist/distributeur/Form/core/InputList.js +4 -0
  149. package/dist/distributeur/Form/core/MessageTypes.d.ts +5 -0
  150. package/dist/distributeur/Form/core/MessageTypes.js +6 -0
  151. package/dist/distributeur/Form/core/getFirstId.d.ts +2 -0
  152. package/dist/distributeur/Form/core/getFirstId.js +1 -0
  153. package/dist/distributeur/Form/core/getOptionClassName.d.ts +1 -0
  154. package/dist/distributeur/Form/core/getOptionClassName.js +10 -0
  155. package/dist/distributeur/Form/core/index.d.ts +34 -0
  156. package/dist/distributeur/Form/core/index.js +13 -0
  157. package/dist/distributeur/Form/core/useAriaInvalid.d.ts +2 -0
  158. package/dist/distributeur/Form/core/useAriaInvalid.js +2 -0
  159. package/dist/distributeur/Form/core/useInputClassModifier.d.ts +4 -0
  160. package/dist/distributeur/Form/core/useInputClassModifier.js +13 -0
  161. package/dist/distributeur/Form/core/useOptionsWithId.d.ts +2 -0
  162. package/dist/distributeur/Form/core/useOptionsWithId.js +13 -0
  163. package/dist/distributeur/HelpButton/index.d.ts +8 -0
  164. package/dist/distributeur/HelpButton/index.js +8 -0
  165. package/dist/distributeur/Layout/Footer/Footer.d.ts +14 -0
  166. package/dist/distributeur/Layout/Footer/Footer.js +8 -0
  167. package/dist/distributeur/Layout/Footer/index.d.ts +1 -0
  168. package/dist/distributeur/Layout/Footer/index.js +1 -0
  169. package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.d.ts +39 -0
  170. package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.js +21 -0
  171. package/dist/distributeur/Layout/Header/Header.d.ts +9 -0
  172. package/dist/distributeur/Layout/Header/Header.js +10 -0
  173. package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.d.ts +17 -0
  174. package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.helpers.d.ts +1 -0
  175. package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.helpers.js +6 -0
  176. package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.js +17 -0
  177. package/dist/distributeur/Layout/Header/Infos/Infos.d.ts +14 -0
  178. package/dist/distributeur/Layout/Header/Infos/Infos.js +16 -0
  179. package/dist/distributeur/Layout/Header/MenuTitleWrapper/MenuTitleWrapper.d.ts +11 -0
  180. package/dist/distributeur/Layout/Header/MenuTitleWrapper/MenuTitleWrapper.js +14 -0
  181. package/dist/distributeur/Layout/Header/Name/Name.d.ts +16 -0
  182. package/dist/distributeur/Layout/Header/Name/Name.js +10 -0
  183. package/dist/distributeur/Layout/Header/NavBar/NavBar.d.ts +12 -0
  184. package/dist/distributeur/Layout/Header/NavBar/NavBar.helpers.d.ts +1 -0
  185. package/dist/distributeur/Layout/Header/NavBar/NavBar.helpers.js +12 -0
  186. package/dist/distributeur/Layout/Header/NavBar/NavBar.js +35 -0
  187. package/dist/distributeur/Layout/Header/NavBar/NavBarBase.d.ts +20 -0
  188. package/dist/distributeur/Layout/Header/NavBar/NavBarBase.js +16 -0
  189. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.d.ts +14 -0
  190. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.js +54 -0
  191. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.d.ts +10 -0
  192. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.helpers.d.ts +1 -0
  193. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.helpers.js +11 -0
  194. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.js +19 -0
  195. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemLink.d.ts +8 -0
  196. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemLink.js +4 -0
  197. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/index.d.ts +3 -0
  198. package/dist/distributeur/Layout/Header/NavBar/NavBarItem/index.js +3 -0
  199. package/dist/distributeur/Layout/Header/NavBar/index.d.ts +5 -0
  200. package/dist/distributeur/Layout/Header/NavBar/index.js +5 -0
  201. package/dist/distributeur/Layout/Header/ToggleButton/ToggleButton.d.ts +7 -0
  202. package/dist/distributeur/Layout/Header/ToggleButton/ToggleButton.js +8 -0
  203. package/dist/distributeur/Layout/Header/User/InnerUser.d.ts +5 -0
  204. package/dist/distributeur/Layout/Header/User/InnerUser.js +3 -0
  205. package/dist/distributeur/Layout/Header/User/User.d.ts +60 -0
  206. package/dist/distributeur/Layout/Header/User/User.js +10 -0
  207. package/dist/distributeur/Layout/Header/index.d.ts +9 -0
  208. package/dist/distributeur/Layout/Header/index.js +8 -0
  209. package/dist/distributeur/Layout/MainContainer/MainContainer.d.ts +5 -0
  210. package/dist/distributeur/Layout/MainContainer/MainContainer.js +3 -0
  211. package/dist/distributeur/Link/CustomLink.d.ts +8 -0
  212. package/dist/distributeur/Link/CustomLink.js +6 -0
  213. package/dist/distributeur/Link/Link.d.ts +5 -0
  214. package/dist/distributeur/Link/Link.js +12 -0
  215. package/dist/distributeur/Link/LinkAnchor.d.ts +12 -0
  216. package/dist/distributeur/Link/LinkAnchor.js +12 -0
  217. package/dist/distributeur/Link/linkClassName.d.ts +1 -0
  218. package/dist/distributeur/Link/linkClassName.js +1 -0
  219. package/dist/distributeur/Loader/Loader.d.ts +12 -0
  220. package/dist/distributeur/Loader/Loader.js +26 -0
  221. package/dist/distributeur/Messages/Message.d.ts +47 -0
  222. package/dist/distributeur/Messages/Message.js +43 -0
  223. package/dist/distributeur/ModalAgent/BooleanModal.d.ts +40 -0
  224. package/dist/distributeur/ModalAgent/BooleanModal.js +13 -0
  225. package/dist/distributeur/ModalAgent/Modal.d.ts +25 -0
  226. package/dist/distributeur/ModalAgent/Modal.js +24 -0
  227. package/dist/distributeur/ModalAgent/components/Body.d.ts +5 -0
  228. package/dist/distributeur/ModalAgent/components/Body.js +7 -0
  229. package/dist/distributeur/ModalAgent/components/Footer.d.ts +5 -0
  230. package/dist/distributeur/ModalAgent/components/Footer.js +7 -0
  231. package/dist/distributeur/ModalAgent/components/Header.d.ts +30 -0
  232. package/dist/distributeur/ModalAgent/components/Header.js +8 -0
  233. package/dist/distributeur/ModalAgent/components/HeaderBase.d.ts +5 -0
  234. package/dist/distributeur/ModalAgent/components/HeaderBase.js +7 -0
  235. package/dist/distributeur/ModalAgent/index.d.ts +7 -0
  236. package/dist/distributeur/ModalAgent/index.js +7 -0
  237. package/dist/distributeur/Popover/AnimatedPopover.d.ts +14 -0
  238. package/dist/distributeur/Popover/AnimatedPopover.js +18 -0
  239. package/dist/distributeur/Popover/Popover.d.ts +13 -0
  240. package/dist/distributeur/Popover/Popover.js +8 -0
  241. package/dist/distributeur/Popover/Popover.types.d.ts +9 -0
  242. package/dist/distributeur/Popover/Popover.types.js +1 -0
  243. package/dist/distributeur/Popover/PopoverBase.d.ts +15 -0
  244. package/dist/distributeur/Popover/PopoverBase.js +8 -0
  245. package/dist/distributeur/Popover/PopoverClick.d.ts +2 -0
  246. package/dist/distributeur/Popover/PopoverClick.js +27 -0
  247. package/dist/distributeur/Popover/PopoverOver.d.ts +2 -0
  248. package/dist/distributeur/Popover/PopoverOver.js +13 -0
  249. package/dist/distributeur/Popover/index.d.ts +3 -0
  250. package/dist/distributeur/Popover/index.js +1 -0
  251. package/dist/distributeur/Restitution/ArticleRestitution.d.ts +6 -0
  252. package/dist/distributeur/Restitution/ArticleRestitution.js +6 -0
  253. package/dist/distributeur/Restitution/HeaderRestitution.d.ts +9 -0
  254. package/dist/distributeur/Restitution/HeaderRestitution.js +6 -0
  255. package/dist/distributeur/Restitution/Restitution.d.ts +6 -0
  256. package/dist/distributeur/Restitution/Restitution.js +6 -0
  257. package/dist/distributeur/Restitution/RestitutionList.d.ts +6 -0
  258. package/dist/distributeur/Restitution/RestitutionList.js +4 -0
  259. package/dist/distributeur/Restitution/SectionRestitution.d.ts +6 -0
  260. package/dist/distributeur/Restitution/SectionRestitution.js +6 -0
  261. package/dist/distributeur/Restitution/SectionRestitutionColumn.d.ts +7 -0
  262. package/dist/distributeur/Restitution/SectionRestitutionColumn.js +7 -0
  263. package/dist/distributeur/Restitution/SectionRestitutionRow.d.ts +8 -0
  264. package/dist/distributeur/Restitution/SectionRestitutionRow.js +8 -0
  265. package/dist/distributeur/Restitution/SectionRestitutionTitle.d.ts +6 -0
  266. package/dist/distributeur/Restitution/SectionRestitutionTitle.js +6 -0
  267. package/dist/distributeur/Restitution/index.d.ts +9 -0
  268. package/dist/distributeur/Restitution/index.js +9 -0
  269. package/dist/distributeur/Steps/Step.d.ts +8 -0
  270. package/dist/distributeur/Steps/Step.js +15 -0
  271. package/dist/distributeur/Steps/StepBase.d.ts +10 -0
  272. package/dist/distributeur/Steps/StepBase.js +9 -0
  273. package/dist/distributeur/Steps/StepCurrent.d.ts +5 -0
  274. package/dist/distributeur/Steps/StepCurrent.js +4 -0
  275. package/dist/distributeur/Steps/StepDisabled.d.ts +5 -0
  276. package/dist/distributeur/Steps/StepDisabled.js +4 -0
  277. package/dist/distributeur/Steps/StepLink.d.ts +10 -0
  278. package/dist/distributeur/Steps/StepLink.js +7 -0
  279. package/dist/distributeur/Steps/StepNoLink.d.ts +7 -0
  280. package/dist/distributeur/Steps/StepNoLink.js +4 -0
  281. package/dist/distributeur/Steps/Steps.d.ts +8 -0
  282. package/dist/distributeur/Steps/Steps.js +8 -0
  283. package/dist/distributeur/Steps/VerticalStep.d.ts +29 -0
  284. package/dist/distributeur/Steps/VerticalStep.js +22 -0
  285. package/dist/distributeur/Steps/index.d.ts +5 -0
  286. package/dist/distributeur/Steps/index.js +5 -0
  287. package/dist/distributeur/Steps/types.d.ts +8 -0
  288. package/dist/distributeur/Steps/types.js +1 -0
  289. package/dist/distributeur/Summary/index.d.ts +9 -0
  290. package/dist/distributeur/Summary/index.js +11 -0
  291. package/dist/distributeur/Svg/Svg.d.ts +7 -0
  292. package/dist/distributeur/Svg/Svg.js +50 -0
  293. package/dist/distributeur/Svg/index.d.ts +1 -0
  294. package/dist/distributeur/Svg/index.js +1 -0
  295. package/dist/distributeur/Svg/svgInjector.d.ts +12 -0
  296. package/dist/distributeur/Svg/svgInjector.js +28 -0
  297. package/dist/distributeur/Table/Pagination/Items.d.ts +30 -0
  298. package/dist/distributeur/Table/Pagination/Items.js +17 -0
  299. package/dist/distributeur/Table/Pagination/Li.d.ts +11 -0
  300. package/dist/distributeur/Table/Pagination/Li.js +14 -0
  301. package/dist/distributeur/Table/Pagination/LiPoint.d.ts +7 -0
  302. package/dist/distributeur/Table/Pagination/LiPoint.js +8 -0
  303. package/dist/distributeur/Table/Pagination/Pager.d.ts +41 -0
  304. package/dist/distributeur/Table/Pagination/Pager.js +16 -0
  305. package/dist/distributeur/Table/Pagination/PaginationButton.d.ts +13 -0
  306. package/dist/distributeur/Table/Pagination/PaginationButton.js +14 -0
  307. package/dist/distributeur/Table/Pagination/Paging.d.ts +15 -0
  308. package/dist/distributeur/Table/Pagination/Paging.js +21 -0
  309. package/dist/distributeur/Table/TBody.d.ts +6 -0
  310. package/dist/distributeur/Table/TBody.js +7 -0
  311. package/dist/distributeur/Table/THead.d.ts +6 -0
  312. package/dist/distributeur/Table/THead.js +7 -0
  313. package/dist/distributeur/Table/Table.d.ts +36 -0
  314. package/dist/distributeur/Table/Table.js +26 -0
  315. package/dist/distributeur/Table/Td.d.ts +6 -0
  316. package/dist/distributeur/Table/Td.js +7 -0
  317. package/dist/distributeur/Table/Th.d.ts +6 -0
  318. package/dist/distributeur/Table/Th.js +7 -0
  319. package/dist/distributeur/Table/Tr.d.ts +6 -0
  320. package/dist/distributeur/Table/Tr.js +7 -0
  321. package/dist/distributeur/Table/index.d.ts +9 -0
  322. package/dist/distributeur/Table/index.js +9 -0
  323. package/dist/distributeur/Tabs/Tabs.d.ts +8 -0
  324. package/dist/distributeur/Tabs/Tabs.js +6 -0
  325. package/dist/distributeur/Tabs/components/Pane.d.ts +8 -0
  326. package/dist/distributeur/Tabs/components/Pane.js +8 -0
  327. package/dist/distributeur/Tabs/components/Tab.d.ts +10 -0
  328. package/dist/distributeur/Tabs/components/Tab.js +4 -0
  329. package/dist/distributeur/Tabs/components/TabsCore.d.ts +10 -0
  330. package/dist/distributeur/Tabs/components/TabsCore.js +17 -0
  331. package/dist/distributeur/Tabs/components/TabsStateless.d.ts +13 -0
  332. package/dist/distributeur/Tabs/components/TabsStateless.js +11 -0
  333. package/dist/distributeur/Tabs/components/Title.d.ts +15 -0
  334. package/dist/distributeur/Tabs/components/Title.js +13 -0
  335. package/dist/distributeur/Tag/Tag.d.ts +32 -0
  336. package/dist/distributeur/Tag/Tag.js +32 -0
  337. package/dist/distributeur/Title/Title.d.ts +11 -0
  338. package/dist/distributeur/Title/Title.js +10 -0
  339. package/dist/distributeur/utilities/constants.d.ts +6 -0
  340. package/dist/distributeur/utilities/constants.js +7 -0
  341. package/dist/distributeur/utilities/helpers/date.d.ts +1 -0
  342. package/dist/distributeur/utilities/helpers/date.js +4 -0
  343. package/dist/distributeur/utilities/helpers/generateId.d.ts +1 -0
  344. package/dist/distributeur/utilities/helpers/generateId.js +10 -0
  345. package/dist/distributeur/utilities/helpers/getClassName.d.ts +20 -0
  346. package/dist/distributeur/utilities/helpers/getClassName.js +24 -0
  347. package/dist/distributeur/utilities/helpers/getComponentClassName.d.ts +20 -0
  348. package/dist/distributeur/utilities/helpers/getComponentClassName.js +54 -0
  349. package/dist/distributeur/utilities/hooks/useIsSmallScreen.d.ts +1 -0
  350. package/dist/distributeur/utilities/hooks/useIsSmallScreen.js +14 -0
  351. package/dist/distributeur/utilities.d.ts +3 -0
  352. package/dist/distributeur/utilities.js +3 -0
  353. package/dist/distributeur.d.ts +63 -0
  354. package/dist/distributeur.js +54 -0
  355. package/dist/prospect-client/Accordion/AccordionApollo.d.ts +4 -0
  356. package/dist/prospect-client/Accordion/AccordionApollo.js +8 -0
  357. package/dist/prospect-client/Accordion/AccordionCommon.d.ts +29 -0
  358. package/dist/prospect-client/Accordion/AccordionCommon.js +17 -0
  359. package/dist/prospect-client/Accordion/AccordionLF.d.ts +4 -0
  360. package/dist/prospect-client/Accordion/AccordionLF.js +8 -0
  361. package/dist/prospect-client/AccordionCore/AccordionCoreApollo.d.ts +3 -0
  362. package/dist/prospect-client/AccordionCore/AccordionCoreApollo.js +5 -0
  363. package/dist/prospect-client/AccordionCore/AccordionCoreCommon.d.ts +17 -0
  364. package/dist/prospect-client/AccordionCore/AccordionCoreCommon.js +22 -0
  365. package/dist/prospect-client/AccordionCore/AccordionCoreLF.d.ts +3 -0
  366. package/dist/prospect-client/AccordionCore/AccordionCoreLF.js +5 -0
  367. package/dist/prospect-client/BasePicture/BasePicture.d.ts +5 -0
  368. package/dist/prospect-client/BasePicture/BasePicture.js +4 -0
  369. package/dist/prospect-client/Button/ButtonApollo.d.ts +4 -0
  370. package/dist/prospect-client/Button/ButtonApollo.js +6 -0
  371. package/dist/prospect-client/Button/ButtonCommon.d.ts +23 -0
  372. package/dist/prospect-client/Button/ButtonCommon.js +13 -0
  373. package/dist/prospect-client/Button/ButtonLF.d.ts +4 -0
  374. package/dist/prospect-client/Button/ButtonLF.js +6 -0
  375. package/dist/prospect-client/CardMessage/CardMessageApollo.d.ts +2 -0
  376. package/dist/prospect-client/CardMessage/CardMessageApollo.js +2 -0
  377. package/dist/prospect-client/CardMessage/CardMessageCommon.d.ts +14 -0
  378. package/dist/prospect-client/CardMessage/CardMessageCommon.js +15 -0
  379. package/dist/prospect-client/CardMessage/CardMessageLF.d.ts +2 -0
  380. package/dist/prospect-client/CardMessage/CardMessageLF.js +2 -0
  381. package/dist/prospect-client/ClickIcon/ClickIconApollo.d.ts +2 -0
  382. package/dist/prospect-client/ClickIcon/ClickIconApollo.js +2 -0
  383. package/dist/prospect-client/ClickIcon/ClickIconCommon.d.ts +9 -0
  384. package/dist/prospect-client/ClickIcon/ClickIconCommon.js +3 -0
  385. package/dist/prospect-client/ClickIcon/ClickIconLF.d.ts +2 -0
  386. package/dist/prospect-client/ClickIcon/ClickIconLF.js +2 -0
  387. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionApollo.d.ts +4 -0
  388. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionApollo.js +6 -0
  389. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.d.ts +28 -0
  390. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.js +10 -0
  391. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionLF.d.ts +5 -0
  392. package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionLF.js +7 -0
  393. package/dist/prospect-client/ContentItemMono/ContentItemMonoApollo.d.ts +3 -0
  394. package/dist/prospect-client/ContentItemMono/ContentItemMonoApollo.js +5 -0
  395. package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.d.ts +33 -0
  396. package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.js +28 -0
  397. package/dist/prospect-client/ContentItemMono/ContentItemMonoCore.d.ts +9 -0
  398. package/dist/prospect-client/ContentItemMono/ContentItemMonoCore.js +4 -0
  399. package/dist/prospect-client/ContentItemMono/ContentItemMonoLF.d.ts +3 -0
  400. package/dist/prospect-client/ContentItemMono/ContentItemMonoLF.js +5 -0
  401. package/dist/prospect-client/DataAgent/DataAgentApollo.d.ts +3 -0
  402. package/dist/prospect-client/DataAgent/DataAgentApollo.js +7 -0
  403. package/dist/prospect-client/DataAgent/DataAgentCommon.d.ts +21 -0
  404. package/dist/prospect-client/DataAgent/DataAgentCommon.js +17 -0
  405. package/dist/prospect-client/DataAgent/DataAgentLF.d.ts +3 -0
  406. package/dist/prospect-client/DataAgent/DataAgentLF.js +7 -0
  407. package/dist/prospect-client/Divider/DividerApollo.d.ts +2 -0
  408. package/dist/prospect-client/Divider/DividerApollo.js +2 -0
  409. package/dist/prospect-client/Divider/DividerCommon.d.ts +6 -0
  410. package/dist/prospect-client/Divider/DividerCommon.js +7 -0
  411. package/dist/prospect-client/Divider/DividerLF.d.ts +2 -0
  412. package/dist/prospect-client/Divider/DividerLF.js +2 -0
  413. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxApollo.d.ts +6 -0
  414. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxApollo.js +7 -0
  415. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.d.ts +35 -0
  416. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.js +31 -0
  417. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxLF.d.ts +6 -0
  418. package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxLF.js +7 -0
  419. package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.d.ts +3 -0
  420. package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.js +6 -0
  421. package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.d.ts +16 -0
  422. package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.js +11 -0
  423. package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.d.ts +3 -0
  424. package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.js +6 -0
  425. package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxApollo.d.ts +2 -0
  426. package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxApollo.js +2 -0
  427. package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxCommon.d.ts +8 -0
  428. package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxCommon.js +4 -0
  429. package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxLF.d.ts +2 -0
  430. package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxLF.js +2 -0
  431. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextApollo.d.ts +3 -0
  432. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextApollo.js +8 -0
  433. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.d.ts +16 -0
  434. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.js +11 -0
  435. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextLF.d.ts +3 -0
  436. package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextLF.js +8 -0
  437. package/dist/prospect-client/Form/Dropdown/DropdownApollo.d.ts +3 -0
  438. package/dist/prospect-client/Form/Dropdown/DropdownApollo.js +6 -0
  439. package/dist/prospect-client/Form/Dropdown/DropdownCommon.d.ts +26 -0
  440. package/dist/prospect-client/Form/Dropdown/DropdownCommon.js +13 -0
  441. package/dist/prospect-client/Form/Dropdown/DropdownLF.d.ts +3 -0
  442. package/dist/prospect-client/Form/Dropdown/DropdownLF.js +6 -0
  443. package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadApollo.d.ts +3 -0
  444. package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadApollo.js +7 -0
  445. package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadCommon.d.ts +18 -0
  446. package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadCommon.js +11 -0
  447. package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadLF.d.ts +3 -0
  448. package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadLF.js +7 -0
  449. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileApollo.d.ts +4 -0
  450. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileApollo.js +11 -0
  451. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.d.ts +60 -0
  452. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.js +39 -0
  453. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileLF.d.ts +4 -0
  454. package/dist/prospect-client/Form/FileUpload/InputFile/InputFileLF.js +9 -0
  455. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileApollo.d.ts +3 -0
  456. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileApollo.js +10 -0
  457. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileCommon.d.ts +54 -0
  458. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileCommon.js +26 -0
  459. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileLF.d.ts +3 -0
  460. package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileLF.js +10 -0
  461. package/dist/prospect-client/Form/InputDate/InputDate.helper.d.ts +8 -0
  462. package/dist/prospect-client/Form/InputDate/InputDate.helper.js +23 -0
  463. package/dist/prospect-client/Form/InputDate/InputDateApollo.d.ts +3 -0
  464. package/dist/prospect-client/Form/InputDate/InputDateApollo.js +8 -0
  465. package/dist/prospect-client/Form/InputDate/InputDateAtom.d.ts +9 -0
  466. package/dist/prospect-client/Form/InputDate/InputDateAtom.js +6 -0
  467. package/dist/prospect-client/Form/InputDate/InputDateCommon.d.ts +27 -0
  468. package/dist/prospect-client/Form/InputDate/InputDateCommon.js +30 -0
  469. package/dist/prospect-client/Form/InputDate/InputDateLF.d.ts +3 -0
  470. package/dist/prospect-client/Form/InputDate/InputDateLF.js +8 -0
  471. package/dist/prospect-client/Form/InputDate/InputDateTextAtom.d.ts +9 -0
  472. package/dist/prospect-client/Form/InputDate/InputDateTextAtom.js +16 -0
  473. package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.d.ts +12 -0
  474. package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.js +33 -0
  475. package/dist/prospect-client/Form/InputPhone/InputPhone.types.d.ts +4 -0
  476. package/dist/prospect-client/Form/InputPhone/InputPhone.types.js +1 -0
  477. package/dist/prospect-client/Form/InputPhone/InputPhoneApollo.d.ts +3 -0
  478. package/dist/prospect-client/Form/InputPhone/InputPhoneApollo.js +8 -0
  479. package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.d.ts +35 -0
  480. package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.js +32 -0
  481. package/dist/prospect-client/Form/InputPhone/InputPhoneLF.d.ts +3 -0
  482. package/dist/prospect-client/Form/InputPhone/InputPhoneLF.js +8 -0
  483. package/dist/prospect-client/Form/InputPhone/maskFrenchPhoneNumber.d.ts +1 -0
  484. package/dist/prospect-client/Form/InputPhone/maskFrenchPhoneNumber.js +12 -0
  485. package/dist/prospect-client/Form/InputText/InputTextApollo.d.ts +3 -0
  486. package/dist/prospect-client/Form/InputText/InputTextApollo.js +9 -0
  487. package/dist/prospect-client/Form/InputText/InputTextCommon.d.ts +24 -0
  488. package/dist/prospect-client/Form/InputText/InputTextCommon.js +14 -0
  489. package/dist/prospect-client/Form/InputText/InputTextLF.d.ts +3 -0
  490. package/dist/prospect-client/Form/InputText/InputTextLF.js +9 -0
  491. package/dist/prospect-client/Form/InputTextAtom/InputTextAtomApollo.d.ts +2 -0
  492. package/dist/prospect-client/Form/InputTextAtom/InputTextAtomApollo.js +2 -0
  493. package/dist/prospect-client/Form/InputTextAtom/InputTextAtomCommon.d.ts +10 -0
  494. package/dist/prospect-client/Form/InputTextAtom/InputTextAtomCommon.js +11 -0
  495. package/dist/prospect-client/Form/InputTextAtom/InputTextAtomLF.d.ts +2 -0
  496. package/dist/prospect-client/Form/InputTextAtom/InputTextAtomLF.js +2 -0
  497. package/dist/prospect-client/Form/ItemLabel/ItemLabelApollo.d.ts +3 -0
  498. package/dist/prospect-client/Form/ItemLabel/ItemLabelApollo.js +5 -0
  499. package/dist/prospect-client/Form/ItemLabel/ItemLabelCommon.d.ts +103 -0
  500. package/dist/prospect-client/Form/ItemLabel/ItemLabelCommon.js +55 -0
  501. package/dist/prospect-client/Form/ItemLabel/ItemLabelLF.d.ts +3 -0
  502. package/dist/prospect-client/Form/ItemLabel/ItemLabelLF.js +5 -0
  503. package/dist/prospect-client/Form/ItemMessage/ItemMessageApollo.d.ts +2 -0
  504. package/dist/prospect-client/Form/ItemMessage/ItemMessageApollo.js +2 -0
  505. package/dist/prospect-client/Form/ItemMessage/ItemMessageCommon.d.ts +13 -0
  506. package/dist/prospect-client/Form/ItemMessage/ItemMessageCommon.js +23 -0
  507. package/dist/prospect-client/Form/ItemMessage/ItemMessageLF.d.ts +2 -0
  508. package/dist/prospect-client/Form/ItemMessage/ItemMessageLF.js +2 -0
  509. package/dist/prospect-client/Form/Radio/CardRadio/CardRadioApollo.d.ts +3 -0
  510. package/dist/prospect-client/Form/Radio/CardRadio/CardRadioApollo.js +6 -0
  511. package/dist/prospect-client/Form/Radio/CardRadio/CardRadioCommon.d.ts +39 -0
  512. package/dist/prospect-client/Form/Radio/CardRadio/CardRadioCommon.js +16 -0
  513. package/dist/prospect-client/Form/Radio/CardRadio/CardRadioLF.d.ts +3 -0
  514. package/dist/prospect-client/Form/Radio/CardRadio/CardRadioLF.js +6 -0
  515. package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionApollo.d.ts +3 -0
  516. package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionApollo.js +6 -0
  517. package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionCommon.d.ts +50 -0
  518. package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionCommon.js +12 -0
  519. package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionLF.d.ts +3 -0
  520. package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionLF.js +6 -0
  521. package/dist/prospect-client/Form/Radio/Radio/RadioApollo.d.ts +2 -0
  522. package/dist/prospect-client/Form/Radio/Radio/RadioApollo.js +2 -0
  523. package/dist/prospect-client/Form/Radio/Radio/RadioCommon.d.ts +5 -0
  524. package/dist/prospect-client/Form/Radio/Radio/RadioCommon.js +6 -0
  525. package/dist/prospect-client/Form/Radio/Radio/RadioLF.d.ts +2 -0
  526. package/dist/prospect-client/Form/Radio/Radio/RadioLF.js +2 -0
  527. package/dist/prospect-client/Form/TextArea/TextAreaApollo.d.ts +3 -0
  528. package/dist/prospect-client/Form/TextArea/TextAreaApollo.js +8 -0
  529. package/dist/prospect-client/Form/TextArea/TextAreaCommon.d.ts +17 -0
  530. package/dist/prospect-client/Form/TextArea/TextAreaCommon.js +14 -0
  531. package/dist/prospect-client/Form/TextArea/TextAreaLF.d.ts +3 -0
  532. package/dist/prospect-client/Form/TextArea/TextAreaLF.js +8 -0
  533. package/dist/prospect-client/Grid/DebugGridApollo.d.ts +2 -0
  534. package/dist/prospect-client/Grid/DebugGridApollo.js +4 -0
  535. package/dist/prospect-client/Grid/DebugGridCommon.d.ts +11 -0
  536. package/dist/prospect-client/Grid/DebugGridCommon.js +10 -0
  537. package/dist/prospect-client/Grid/DebugGridLF.d.ts +2 -0
  538. package/dist/prospect-client/Grid/DebugGridLF.js +4 -0
  539. package/dist/prospect-client/Heading/HeadingApollo.d.ts +4 -0
  540. package/dist/prospect-client/Heading/HeadingApollo.js +5 -0
  541. package/dist/prospect-client/Heading/HeadingCommon.d.ts +15 -0
  542. package/dist/prospect-client/Heading/HeadingCommon.js +8 -0
  543. package/dist/prospect-client/Heading/HeadingLF.d.ts +4 -0
  544. package/dist/prospect-client/Heading/HeadingLF.js +5 -0
  545. package/dist/prospect-client/Heading/HeadingWithSubheadings.d.ts +10 -0
  546. package/dist/prospect-client/Heading/HeadingWithSubheadings.js +2 -0
  547. package/dist/prospect-client/Heading/types.d.ts +6 -0
  548. package/dist/prospect-client/Heading/types.js +1 -0
  549. package/dist/prospect-client/Icon/IconApollo.d.ts +2 -0
  550. package/dist/prospect-client/Icon/IconApollo.js +2 -0
  551. package/dist/prospect-client/Icon/IconCommon.d.ts +21 -0
  552. package/dist/prospect-client/Icon/IconCommon.js +28 -0
  553. package/dist/prospect-client/Icon/IconLF.d.ts +2 -0
  554. package/dist/prospect-client/Icon/IconLF.js +2 -0
  555. package/dist/prospect-client/ItemTabBar/ItemTabBarApollo.d.ts +2 -0
  556. package/dist/prospect-client/ItemTabBar/ItemTabBarApollo.js +2 -0
  557. package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.d.ts +6 -0
  558. package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.js +8 -0
  559. package/dist/prospect-client/ItemTabBar/ItemTabBarLF.d.ts +2 -0
  560. package/dist/prospect-client/ItemTabBar/ItemTabBarLF.js +2 -0
  561. package/dist/prospect-client/Layout/Footer/DynamicIcons.d.ts +4 -0
  562. package/dist/prospect-client/Layout/Footer/DynamicIcons.js +20 -0
  563. package/dist/prospect-client/Layout/Footer/FooterApollo.d.ts +2 -0
  564. package/dist/prospect-client/Layout/Footer/FooterApollo.js +2 -0
  565. package/dist/prospect-client/Layout/Footer/FooterCommon.d.ts +10 -0
  566. package/dist/prospect-client/Layout/Footer/FooterCommon.js +14 -0
  567. package/dist/prospect-client/Layout/Footer/FooterLF.d.ts +2 -0
  568. package/dist/prospect-client/Layout/Footer/FooterLF.js +2 -0
  569. package/dist/prospect-client/Layout/Footer/MenuIcons.d.ts +9 -0
  570. package/dist/prospect-client/Layout/Footer/MenuIcons.js +8 -0
  571. package/dist/prospect-client/Layout/Footer/MenuLink.d.ts +11 -0
  572. package/dist/prospect-client/Layout/Footer/MenuLink.js +11 -0
  573. package/dist/prospect-client/Link/LinkApollo.d.ts +2 -0
  574. package/dist/prospect-client/Link/LinkApollo.js +2 -0
  575. package/dist/prospect-client/Link/LinkCommon.d.ts +17 -0
  576. package/dist/prospect-client/Link/LinkCommon.js +20 -0
  577. package/dist/prospect-client/Link/LinkLF.d.ts +2 -0
  578. package/dist/prospect-client/Link/LinkLF.js +2 -0
  579. package/dist/prospect-client/List/ClickItem/ClickItemApollo.d.ts +4 -0
  580. package/dist/prospect-client/List/ClickItem/ClickItemApollo.js +8 -0
  581. package/dist/prospect-client/List/ClickItem/ClickItemCommon.d.ts +15 -0
  582. package/dist/prospect-client/List/ClickItem/ClickItemCommon.js +31 -0
  583. package/dist/prospect-client/List/ClickItem/ClickItemLF.d.ts +4 -0
  584. package/dist/prospect-client/List/ClickItem/ClickItemLF.js +8 -0
  585. package/dist/prospect-client/List/ClickItem/ClickItemWrapper.d.ts +6 -0
  586. package/dist/prospect-client/List/ClickItem/ClickItemWrapper.js +7 -0
  587. package/dist/prospect-client/List/ClickItem/components/ClickItemContentApollo.d.ts +2 -0
  588. package/dist/prospect-client/List/ClickItem/components/ClickItemContentApollo.js +4 -0
  589. package/dist/prospect-client/List/ClickItem/components/ClickItemContentCommon.d.ts +14 -0
  590. package/dist/prospect-client/List/ClickItem/components/ClickItemContentCommon.js +4 -0
  591. package/dist/prospect-client/List/ClickItem/components/ClickItemContentLF.d.ts +2 -0
  592. package/dist/prospect-client/List/ClickItem/components/ClickItemContentLF.js +4 -0
  593. package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixApollo.d.ts +2 -0
  594. package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixApollo.js +4 -0
  595. package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixCommon.d.ts +14 -0
  596. package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixCommon.js +11 -0
  597. package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixLF.d.ts +2 -0
  598. package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixLF.js +4 -0
  599. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixApollo.d.ts +2 -0
  600. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixApollo.js +6 -0
  601. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.d.ts +14 -0
  602. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.js +14 -0
  603. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixLF.d.ts +2 -0
  604. package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixLF.js +6 -0
  605. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoApollo.d.ts +3 -0
  606. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoApollo.js +5 -0
  607. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.d.ts +16 -0
  608. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.js +13 -0
  609. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoLF.d.ts +3 -0
  610. package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoLF.js +5 -0
  611. package/dist/prospect-client/Message/Message.helpers.d.ts +5 -0
  612. package/dist/prospect-client/Message/Message.helpers.js +7 -0
  613. package/dist/prospect-client/Message/MessageApollo.d.ts +5 -0
  614. package/dist/prospect-client/Message/MessageApollo.js +6 -0
  615. package/dist/prospect-client/Message/MessageCommon.d.ts +25 -0
  616. package/dist/prospect-client/Message/MessageCommon.js +14 -0
  617. package/dist/prospect-client/Message/MessageLF.d.ts +5 -0
  618. package/dist/prospect-client/Message/MessageLF.js +6 -0
  619. package/dist/prospect-client/Message/constants.d.ts +3 -0
  620. package/dist/prospect-client/Message/constants.js +19 -0
  621. package/dist/prospect-client/Message/types.d.ts +1 -0
  622. package/dist/prospect-client/Message/types.js +1 -0
  623. package/dist/prospect-client/Modal/ModalApollo.d.ts +8 -0
  624. package/dist/prospect-client/Modal/ModalApollo.js +13 -0
  625. package/dist/prospect-client/Modal/ModalCommon.d.ts +10 -0
  626. package/dist/prospect-client/Modal/ModalCommon.js +8 -0
  627. package/dist/prospect-client/Modal/ModalLF.d.ts +8 -0
  628. package/dist/prospect-client/Modal/ModalLF.js +13 -0
  629. package/dist/prospect-client/Modal/components/ModalCore.d.ts +6 -0
  630. package/dist/prospect-client/Modal/components/ModalCore.js +7 -0
  631. package/dist/prospect-client/Modal/components/ModalCoreBody.d.ts +2 -0
  632. package/dist/prospect-client/Modal/components/ModalCoreBody.js +14 -0
  633. package/dist/prospect-client/Modal/components/ModalCoreFooterApollo.d.ts +2 -0
  634. package/dist/prospect-client/Modal/components/ModalCoreFooterApollo.js +4 -0
  635. package/dist/prospect-client/Modal/components/ModalCoreFooterCommon.d.ts +10 -0
  636. package/dist/prospect-client/Modal/components/ModalCoreFooterCommon.js +10 -0
  637. package/dist/prospect-client/Modal/components/ModalCoreFooterLF.d.ts +2 -0
  638. package/dist/prospect-client/Modal/components/ModalCoreFooterLF.js +4 -0
  639. package/dist/prospect-client/Modal/components/ModalCoreHeaderApollo.d.ts +2 -0
  640. package/dist/prospect-client/Modal/components/ModalCoreHeaderApollo.js +5 -0
  641. package/dist/prospect-client/Modal/components/ModalCoreHeaderCommon.d.ts +13 -0
  642. package/dist/prospect-client/Modal/components/ModalCoreHeaderCommon.js +4 -0
  643. package/dist/prospect-client/Modal/components/ModalCoreHeaderLF.d.ts +2 -0
  644. package/dist/prospect-client/Modal/components/ModalCoreHeaderLF.js +5 -0
  645. package/dist/prospect-client/Modal/types.d.ts +12 -0
  646. package/dist/prospect-client/Modal/types.js +1 -0
  647. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationApollo.d.ts +3 -0
  648. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationApollo.js +3 -0
  649. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationCommon.d.ts +10 -0
  650. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationCommon.js +11 -0
  651. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationLF.d.ts +3 -0
  652. package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationLF.js +3 -0
  653. package/dist/prospect-client/Pagination/Pagination.helper.d.ts +9 -0
  654. package/dist/prospect-client/Pagination/Pagination.helper.js +34 -0
  655. package/dist/prospect-client/Pagination/PaginationApollo.d.ts +4 -0
  656. package/dist/prospect-client/Pagination/PaginationApollo.js +5 -0
  657. package/dist/prospect-client/Pagination/PaginationCommon.d.ts +14 -0
  658. package/dist/prospect-client/Pagination/PaginationCommon.js +20 -0
  659. package/dist/prospect-client/Pagination/PaginationLF.d.ts +4 -0
  660. package/dist/prospect-client/Pagination/PaginationLF.js +5 -0
  661. package/dist/prospect-client/ProgressBar/ProgressBarApollo.d.ts +2 -0
  662. package/dist/prospect-client/ProgressBar/ProgressBarApollo.js +2 -0
  663. package/dist/prospect-client/ProgressBar/ProgressBarCommon.d.ts +9 -0
  664. package/dist/prospect-client/ProgressBar/ProgressBarCommon.js +8 -0
  665. package/dist/prospect-client/ProgressBar/ProgressBarLF.d.ts +2 -0
  666. package/dist/prospect-client/ProgressBar/ProgressBarLF.js +2 -0
  667. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupApollo.d.ts +3 -0
  668. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupApollo.js +5 -0
  669. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.d.ts +18 -0
  670. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.js +9 -0
  671. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupLF.d.ts +3 -0
  672. package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupLF.js +5 -0
  673. package/dist/prospect-client/ProgressBarGroup/useSequentialProgress.d.ts +20 -0
  674. package/dist/prospect-client/ProgressBarGroup/useSequentialProgress.js +80 -0
  675. package/dist/prospect-client/Spinner/SpinnerApollo.d.ts +2 -0
  676. package/dist/prospect-client/Spinner/SpinnerApollo.js +2 -0
  677. package/dist/prospect-client/Spinner/SpinnerCommon.d.ts +17 -0
  678. package/dist/prospect-client/Spinner/SpinnerCommon.js +19 -0
  679. package/dist/prospect-client/Spinner/SpinnerLF.d.ts +2 -0
  680. package/dist/prospect-client/Spinner/SpinnerLF.js +2 -0
  681. package/dist/prospect-client/Stepper/StepperApollo.d.ts +3 -0
  682. package/dist/prospect-client/Stepper/StepperApollo.js +5 -0
  683. package/dist/prospect-client/Stepper/StepperCommon.d.ts +18 -0
  684. package/dist/prospect-client/Stepper/StepperCommon.js +8 -0
  685. package/dist/prospect-client/Stepper/StepperLF.d.ts +3 -0
  686. package/dist/prospect-client/Stepper/StepperLF.js +5 -0
  687. package/dist/prospect-client/Svg/Svg.d.ts +11 -0
  688. package/dist/prospect-client/Svg/Svg.js +54 -0
  689. package/dist/prospect-client/Svg/svgInjector.d.ts +12 -0
  690. package/dist/prospect-client/Svg/svgInjector.js +31 -0
  691. package/dist/prospect-client/TabBar/TabBarApollo.d.ts +4 -0
  692. package/dist/prospect-client/TabBar/TabBarApollo.js +6 -0
  693. package/dist/prospect-client/TabBar/TabBarCommon.d.ts +19 -0
  694. package/dist/prospect-client/TabBar/TabBarCommon.js +48 -0
  695. package/dist/prospect-client/TabBar/TabBarLF.d.ts +4 -0
  696. package/dist/prospect-client/TabBar/TabBarLF.js +6 -0
  697. package/dist/prospect-client/Tag/TagApollo.d.ts +2 -0
  698. package/dist/prospect-client/Tag/TagApollo.js +2 -0
  699. package/dist/prospect-client/Tag/TagCommon.d.ts +13 -0
  700. package/dist/prospect-client/Tag/TagCommon.js +14 -0
  701. package/dist/prospect-client/Tag/TagLF.d.ts +2 -0
  702. package/dist/prospect-client/Tag/TagLF.js +2 -0
  703. package/dist/prospect-client/TimelineVertical/TimelineVerticalApollo.d.ts +4 -0
  704. package/dist/prospect-client/TimelineVertical/TimelineVerticalApollo.js +5 -0
  705. package/dist/prospect-client/TimelineVertical/TimelineVerticalCommon.d.ts +7 -0
  706. package/dist/prospect-client/TimelineVertical/TimelineVerticalCommon.js +3 -0
  707. package/dist/prospect-client/TimelineVertical/TimelineVerticalLF.d.ts +4 -0
  708. package/dist/prospect-client/TimelineVertical/TimelineVerticalLF.js +5 -0
  709. package/dist/prospect-client/TimelineVertical/types.d.ts +5 -0
  710. package/dist/prospect-client/TimelineVertical/types.js +1 -0
  711. package/dist/prospect-client/Toggle/ToggleApollo.d.ts +2 -0
  712. package/dist/prospect-client/Toggle/ToggleApollo.js +2 -0
  713. package/dist/prospect-client/Toggle/ToggleCommon.d.ts +3 -0
  714. package/dist/prospect-client/Toggle/ToggleCommon.js +9 -0
  715. package/dist/prospect-client/Toggle/ToggleLF.d.ts +2 -0
  716. package/dist/prospect-client/Toggle/ToggleLF.js +2 -0
  717. package/dist/prospect-client/utilities/constants.d.ts +6 -0
  718. package/dist/prospect-client/utilities/constants.js +6 -0
  719. package/dist/prospect-client/utilities/generateId.d.ts +1 -0
  720. package/dist/prospect-client/utilities/generateId.js +10 -0
  721. package/dist/prospect-client/utilities/getClassName.d.ts +20 -0
  722. package/dist/prospect-client/utilities/getClassName.js +24 -0
  723. package/dist/prospect-client/utilities/getComponentClassName.d.ts +4 -0
  724. package/dist/prospect-client/utilities/getComponentClassName.js +30 -0
  725. package/dist/prospect-client/utilities/hook/useHasScroll.d.ts +6 -0
  726. package/dist/prospect-client/utilities/hook/useHasScroll.js +30 -0
  727. package/dist/prospect-client/utilities/hook/useIsSmallScreen.d.ts +1 -0
  728. package/dist/prospect-client/utilities/hook/useIsSmallScreen.js +14 -0
  729. package/dist/prospect-client/utilities/types/PolymorphicComponent.d.ts +8 -0
  730. package/dist/prospect-client/utilities/types/PolymorphicComponent.js +1 -0
  731. package/dist/prospect.d.ts +56 -0
  732. package/dist/prospect.js +55 -0
  733. package/package.json +90 -0
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { PopoverClick } from "./PopoverClick";
3
+ import { PopoverOver } from "./PopoverOver";
4
+ const Popover = ({ children, placement = "top", className, classModifier, mode = "click", popoverElement: content, }) => {
5
+ const Component = mode === "click" ? PopoverClick : PopoverOver;
6
+ return (_jsx(Component, { className: className, classModifier: classModifier, placement: placement, element: content, children: children }));
7
+ };
8
+ export { Popover };
@@ -0,0 +1,9 @@
1
+ import { Placement } from "@floating-ui/react";
2
+ export type PopoverModes = "hover" | "click";
3
+ export type PopoverProps = {
4
+ className?: string;
5
+ classModifier?: string;
6
+ placement?: Placement;
7
+ children?: React.ReactNode;
8
+ element: React.ReactNode;
9
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ import { Placement } from "@floating-ui/react";
2
+ import React from "react";
3
+ import "@axa-fr/canopee-css/distributeur/Popover/Popover.css";
4
+ type Props = {
5
+ placement?: Placement;
6
+ className?: string;
7
+ classModifier?: string;
8
+ element: React.ReactNode;
9
+ children: React.ReactNode | React.ReactNode[];
10
+ isOpen: boolean;
11
+ onMouseEnter?: (event: React.MouseEvent) => void;
12
+ onMouseLeave?: (event: React.MouseEvent) => void;
13
+ };
14
+ declare const PopoverBase: ({ children, isOpen, placement, className, classModifier, element, onMouseEnter, onMouseLeave, }: Props) => import("react/jsx-runtime").JSX.Element;
15
+ export { PopoverBase };
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AnimatedPopover } from "./AnimatedPopover";
3
+ import "@axa-fr/canopee-css/distributeur/Popover/Popover.css";
4
+ const defaultClassName = "af-popover__container";
5
+ const PopoverBase = ({ children, isOpen, placement = "right", className = defaultClassName, classModifier, element, onMouseEnter, onMouseLeave, }) => {
6
+ return (_jsx(AnimatedPopover, { target: children, placement: placement, isOpen: isOpen, className: className, classModifier: classModifier, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, children: element }));
7
+ };
8
+ export { PopoverBase };
@@ -0,0 +1,2 @@
1
+ import { PopoverProps } from "./Popover.types";
2
+ export declare const PopoverClick: ({ children, placement, className, classModifier, element, }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,27 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import React from "react";
3
+ import { PopoverBase } from "./PopoverBase";
4
+ export const PopoverClick = ({ children, placement, className, classModifier, element, }) => {
5
+ const wrapperRef = React.useRef(null);
6
+ const [isOpen, setOpen] = React.useState(false);
7
+ const [isPopoverHover, setPopoverHover] = React.useState(false);
8
+ const handleClick = (event, isOpenValue) => {
9
+ if (isPopoverHover || !wrapperRef.current || isOpenValue === isOpen) {
10
+ event.stopPropagation();
11
+ return;
12
+ }
13
+ setOpen((oldIsOpen) => isOpenValue ?? !oldIsOpen);
14
+ };
15
+ const handleKeyDown = (event) => {
16
+ if (event.key === "Enter") {
17
+ handleClick(event);
18
+ }
19
+ };
20
+ const handleMouseEnterPopover = () => {
21
+ setPopoverHover(true);
22
+ };
23
+ const handleMouseLeavePopover = () => {
24
+ setPopoverHover(false);
25
+ };
26
+ return (_jsx("div", { role: "button", tabIndex: 0, ref: wrapperRef, className: "af-popover__wrapper af-popover__wrapper--click", onKeyDown: handleKeyDown, onClick: handleClick, onBlur: (event) => handleClick(event, false), children: _jsx(PopoverBase, { onMouseEnter: handleMouseEnterPopover, onMouseLeave: handleMouseLeavePopover, isOpen: isOpen, placement: placement, className: className, classModifier: classModifier, element: element, children: children }) }));
27
+ };
@@ -0,0 +1,2 @@
1
+ import { PopoverProps } from "./Popover.types";
2
+ export declare const PopoverOver: ({ children, placement, className, classModifier, element: content, }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import React from "react";
3
+ import { PopoverBase } from "./PopoverBase";
4
+ export const PopoverOver = ({ children, placement, className, classModifier, element: content, }) => {
5
+ const [isOpen, setOpen] = React.useState(false);
6
+ const handleMouseEnter = () => {
7
+ setOpen(true);
8
+ };
9
+ const handleMouseLeave = () => {
10
+ setOpen(false);
11
+ };
12
+ return (_jsx("div", { role: "button", tabIndex: 0, className: "af-popover__wrapper af-popover__wrapper--over", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onFocus: handleMouseEnter, onBlur: handleMouseLeave, children: _jsx(PopoverBase, { isOpen: isOpen, placement: placement, className: className, classModifier: classModifier, element: content, children: children }) }));
13
+ };
@@ -0,0 +1,3 @@
1
+ export { Popover } from "./Popover";
2
+ export { type Placement } from "@floating-ui/react";
3
+ export { type PopoverModes } from "./Popover.types";
@@ -0,0 +1 @@
1
+ export { Popover } from "./Popover";
@@ -0,0 +1,6 @@
1
+ import { ComponentPropsWithoutRef, PropsWithChildren } from "react";
2
+ type ArticleRestitutionProps = ComponentPropsWithoutRef<"article"> & {
3
+ classModifier?: string;
4
+ };
5
+ export declare const ArticleRestitution: ({ children, className, classModifier, ...otherProps }: PropsWithChildren<ArticleRestitutionProps>) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { getComponentClassName } from "../utilities";
3
+ export const ArticleRestitution = ({ children, className, classModifier, ...otherProps }) => {
4
+ const componentClassName = getComponentClassName(className, classModifier, "af-restitution");
5
+ return (_jsx("article", { className: componentClassName, ...otherProps, children: children }));
6
+ };
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export type HeaderRestitutionProps = {
3
+ className?: string;
4
+ title: React.ReactNode;
5
+ subtitle?: React.ReactNode;
6
+ rightTitle?: React.ReactNode;
7
+ classModifier?: string;
8
+ };
9
+ export declare const HeaderRestitution: ({ title, subtitle, rightTitle, className, classModifier, }: HeaderRestitutionProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { getComponentClassName } from "../utilities";
3
+ export const HeaderRestitution = ({ title, subtitle, rightTitle, className, classModifier, }) => {
4
+ const componentClassName = getComponentClassName(className, classModifier, "af-restitution__header");
5
+ return (_jsxs("header", { className: componentClassName, children: [_jsx("div", { className: "af-restitution__header-left", children: _jsxs("h3", { className: "af-restitution__title", children: [_jsx("span", { className: "af-restitution__title-main", children: title }), subtitle ? (_jsx("span", { className: "af-restitution__title-subtitle", children: subtitle })) : null] }) }), rightTitle ? (_jsx("div", { className: "af-restitution__header-right", children: _jsx("span", { className: "af-restitution__title", children: rightTitle }) })) : null] }));
6
+ };
@@ -0,0 +1,6 @@
1
+ import { ComponentPropsWithoutRef, PropsWithChildren } from "react";
2
+ export type RestitutionProps = ComponentPropsWithoutRef<"dl"> & {
3
+ label: string;
4
+ classModifier?: string;
5
+ };
6
+ export declare const Restitution: ({ label, children, className, classModifier, }: PropsWithChildren<RestitutionProps>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { getComponentClassName } from "../utilities";
3
+ export const Restitution = ({ label, children = "-", className, classModifier, }) => {
4
+ const componentClassName = getComponentClassName(className, classModifier, "af-restitution__listdef");
5
+ return (_jsxs("dl", { className: componentClassName, children: [_jsx("dt", { className: "af-restitution__listdef-item", children: _jsx("span", { className: "af-restitution__text", children: label }) }), _jsx("dd", { className: "af-restitution__listdef-value", children: children })] }));
6
+ };
@@ -0,0 +1,6 @@
1
+ import { ComponentPropsWithoutRef } from "react";
2
+ type RestitutionListProps = ComponentPropsWithoutRef<"ul"> & {
3
+ values: string[];
4
+ };
5
+ export declare const RestitutionList: ({ values, ...props }: RestitutionListProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ export const RestitutionList = ({ values, ...props }) => {
3
+ return (_jsx("ul", { className: "af-restitution__listul", ...props, children: values.map((value) => (_jsx("li", { className: "af-restitution__listul-item", children: value }, value))) }));
4
+ };
@@ -0,0 +1,6 @@
1
+ import { PropsWithChildren } from "react";
2
+ export type SectionRestitutionProps = {
3
+ className?: string;
4
+ classModifier?: string;
5
+ };
6
+ export declare const SectionRestitution: ({ children, className, classModifier, }: PropsWithChildren<SectionRestitutionProps>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { getComponentClassName } from "../utilities";
3
+ export const SectionRestitution = ({ children, className, classModifier, }) => {
4
+ const componentClassName = getComponentClassName(className, classModifier, "af-restitution__content");
5
+ return _jsx("section", { className: componentClassName, children: children });
6
+ };
@@ -0,0 +1,7 @@
1
+ import { PropsWithChildren } from "react";
2
+ export type SectionRestitutionColumnProps = {
3
+ className?: string;
4
+ title?: string;
5
+ classModifier?: string;
6
+ };
7
+ export declare const SectionRestitutionColumn: ({ children, className, title, classModifier, }: PropsWithChildren<SectionRestitutionColumnProps>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { getComponentClassName } from "../utilities";
3
+ import { SectionRestitutionTitle } from "./SectionRestitutionTitle";
4
+ export const SectionRestitutionColumn = ({ children, className, title, classModifier, }) => {
5
+ const componentClassName = getComponentClassName(className, classModifier, "col-sm-12 col-md-12 col-lg-6 col-xl-6");
6
+ return (_jsxs("div", { className: componentClassName, children: [title ? _jsx(SectionRestitutionTitle, { title: title }) : null, children] }));
7
+ };
@@ -0,0 +1,8 @@
1
+ import { PropsWithChildren } from "react";
2
+ export type SectionRestitutionRowProps = {
3
+ title?: React.ReactNode;
4
+ classNameContainer?: string;
5
+ className?: string;
6
+ classModifier?: string;
7
+ };
8
+ export declare const SectionRestitutionRow: ({ title, className, classNameContainer, children, classModifier, }: PropsWithChildren<SectionRestitutionRowProps>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { getComponentClassName } from "../utilities";
3
+ import { SectionRestitutionTitle } from "./SectionRestitutionTitle";
4
+ const DEFAULT_CLASSNAME = "col col-sm-12 col-md-12 col-lg-12 col-xl-12";
5
+ export const SectionRestitutionRow = ({ title, className = DEFAULT_CLASSNAME, classNameContainer = "row af-restitution__content-left", children, classModifier, }) => {
6
+ const componentClassName = getComponentClassName(className, classModifier, DEFAULT_CLASSNAME);
7
+ return (_jsxs("div", { className: componentClassName, children: [title ? _jsx(SectionRestitutionTitle, { title: title }) : null, _jsx("div", { className: classNameContainer, children: children })] }));
8
+ };
@@ -0,0 +1,6 @@
1
+ export type SectionRestitutionTitleProps = {
2
+ title: React.ReactNode;
3
+ className?: string;
4
+ classModifier?: string;
5
+ };
6
+ export declare const SectionRestitutionTitle: ({ title, className, classModifier, }: SectionRestitutionTitleProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { getComponentClassName } from "../utilities";
3
+ export const SectionRestitutionTitle = ({ title, className, classModifier, }) => {
4
+ const componentClassName = getComponentClassName(className, classModifier, "af-restitution__content-title");
5
+ return _jsx("h4", { className: componentClassName, children: title });
6
+ };
@@ -0,0 +1,9 @@
1
+ import "@axa-fr/canopee-css/distributeur/Restitution/Restitution.css";
2
+ export { ArticleRestitution } from "./ArticleRestitution";
3
+ export { HeaderRestitution } from "./HeaderRestitution";
4
+ export { Restitution } from "./Restitution";
5
+ export { RestitutionList } from "./RestitutionList";
6
+ export { SectionRestitution } from "./SectionRestitution";
7
+ export { SectionRestitutionColumn } from "./SectionRestitutionColumn";
8
+ export { SectionRestitutionRow } from "./SectionRestitutionRow";
9
+ export { SectionRestitutionTitle } from "./SectionRestitutionTitle";
@@ -0,0 +1,9 @@
1
+ import "@axa-fr/canopee-css/distributeur/Restitution/Restitution.css";
2
+ export { ArticleRestitution } from "./ArticleRestitution";
3
+ export { HeaderRestitution } from "./HeaderRestitution";
4
+ export { Restitution } from "./Restitution";
5
+ export { RestitutionList } from "./RestitutionList";
6
+ export { SectionRestitution } from "./SectionRestitution";
7
+ export { SectionRestitutionColumn } from "./SectionRestitutionColumn";
8
+ export { SectionRestitutionRow } from "./SectionRestitutionRow";
9
+ export { SectionRestitutionTitle } from "./SectionRestitutionTitle";
@@ -0,0 +1,8 @@
1
+ import { ComponentPropsWithoutRef } from "react";
2
+ import { StepLink } from "./StepLink";
3
+ type Props = Omit<ComponentPropsWithoutRef<typeof StepLink>, "href"> & {
4
+ href?: string;
5
+ mode?: "link" | "active" | "disabled";
6
+ };
7
+ declare const Step: ({ number, id, title, classModifier, href, onClick, mode, className, }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export { Step };
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { StepCurrent } from "./StepCurrent";
3
+ import { StepDisabled } from "./StepDisabled";
4
+ import { StepLink } from "./StepLink";
5
+ const Step = ({ number, id, title, classModifier, href, onClick, mode = "link", className, }) => {
6
+ switch (mode) {
7
+ case "link":
8
+ return (_jsx(StepLink, { id: id, href: href ?? "#", number: number, classModifier: classModifier, className: className, title: title, onClick: onClick }));
9
+ case "active":
10
+ return (_jsx(StepCurrent, { id: id, title: title, classModifier: classModifier, className: className, number: number }));
11
+ default:
12
+ return (_jsx(StepDisabled, { id: id, title: title, classModifier: classModifier, className: className, number: number }));
13
+ }
14
+ };
15
+ export { Step };
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from "react";
2
+ type Props = {
3
+ id: string;
4
+ title: string;
5
+ children?: ReactNode;
6
+ className?: string;
7
+ classModifier?: string;
8
+ };
9
+ declare const StepBase: ({ children, id, title, className, classModifier }: Props) => import("react/jsx-runtime").JSX.Element;
10
+ export { StepBase };
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import chevronSvg from "@material-symbols/svg-400/outlined/chevron_right.svg";
3
+ import checkSvg from "@material-symbols/svg-400/outlined/check.svg";
4
+ import { getComponentClassName, Svg } from "../../distributeur";
5
+ const StepBase = ({ children, id, title, className, classModifier }) => {
6
+ const componentClassName = getComponentClassName(className, classModifier, "af-steps-list-step");
7
+ return (_jsxs("li", { className: componentClassName, title: title, children: [_jsx(Svg, { src: checkSvg }), children, _jsx(Svg, { src: chevronSvg })] }, id));
8
+ };
9
+ export { StepBase };
@@ -0,0 +1,5 @@
1
+ import { ComponentPropsWithoutRef } from "react";
2
+ import { StepNoLink } from "./StepNoLink";
3
+ type Props = ComponentPropsWithoutRef<typeof StepNoLink>;
4
+ declare const StepCurrent: ({ className, ...otherProps }: Props) => import("react/jsx-runtime").JSX.Element;
5
+ export { StepCurrent };
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { StepNoLink } from "./StepNoLink";
3
+ const StepCurrent = ({ className = "on af-steps-list-step", ...otherProps }) => _jsx(StepNoLink, { className: className, ...otherProps });
4
+ export { StepCurrent };
@@ -0,0 +1,5 @@
1
+ import { ComponentPropsWithoutRef } from "react";
2
+ import { StepNoLink } from "./StepNoLink";
3
+ type Props = ComponentPropsWithoutRef<typeof StepNoLink>;
4
+ declare const StepDisabled: ({ className, ...otherProps }: Props) => import("react/jsx-runtime").JSX.Element;
5
+ export { StepDisabled };
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { StepNoLink } from "./StepNoLink";
3
+ const StepDisabled = ({ className = "disabled af-steps-list-step", ...otherProps }) => _jsx(StepNoLink, { className: className, ...otherProps });
4
+ export { StepDisabled };
@@ -0,0 +1,10 @@
1
+ import { ComponentPropsWithoutRef, ReactNode } from "react";
2
+ import { StepBase } from "./StepBase";
3
+ import type { CustomClickEvent } from "./types";
4
+ type Props = ComponentPropsWithoutRef<typeof StepBase> & {
5
+ href: string;
6
+ number?: ReactNode;
7
+ onClick?: (e: CustomClickEvent) => void;
8
+ };
9
+ declare const StepLink: ({ id, href, number, title, className, onClick, ...otherProps }: Props) => import("react/jsx-runtime").JSX.Element;
10
+ export { StepLink };
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { StepBase } from "./StepBase";
3
+ const StepLink = ({ id, href, number, title, className = "past af-steps-list-step", onClick, ...otherProps }) => (_jsx(StepBase, { id: id, className: `${className} ${number ? "number" : ""}`, title: title, ...otherProps, children: _jsxs("a", { className: "af-steps-list-step__label", href: href, onClick: (e) => {
4
+ e.preventDefault();
5
+ onClick?.({ href, id, title, number });
6
+ }, children: [Boolean(number) && (_jsx("div", { className: "af-steps-list-step__number", children: number })), _jsx("div", { className: "af-steps-list-step__title", children: title })] }) }));
7
+ export { StepLink };
@@ -0,0 +1,7 @@
1
+ import { ComponentPropsWithoutRef, ReactNode } from "react";
2
+ import { StepBase } from "./StepBase";
3
+ type Props = ComponentPropsWithoutRef<typeof StepBase> & {
4
+ number?: ReactNode;
5
+ };
6
+ declare const StepNoLink: ({ number, title, className, ...otherProps }: Props) => import("react/jsx-runtime").JSX.Element;
7
+ export { StepNoLink };
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { StepBase } from "./StepBase";
3
+ const StepNoLink = ({ number, title, className = "af-steps-list-step", ...otherProps }) => (_jsx(StepBase, { className: `${className} ${number ? "number" : ""}`, title: title, ...otherProps, children: _jsxs("div", { className: "af-steps-list-step__label", children: [Boolean(number) && (_jsx("div", { className: "af-steps-list-step__number", children: number })), _jsx("div", { className: "af-steps-list-step__title", children: title })] }) }));
4
+ export { StepNoLink };
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from "react";
2
+ type Props = {
3
+ children: ReactNode;
4
+ className?: string;
5
+ classModifier?: string;
6
+ };
7
+ declare const Steps: ({ children, className, classModifier, }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export { Steps };
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { getComponentClassName } from "../utilities";
3
+ const defaultClassName = "af-steps-new";
4
+ const Steps = ({ children, className = defaultClassName, classModifier, }) => {
5
+ const componentClassName = getComponentClassName(className, classModifier, defaultClassName);
6
+ return (_jsx("div", { className: componentClassName, children: _jsx("ol", { className: "af-steps-list", children: children }) }));
7
+ };
8
+ export { Steps };
@@ -0,0 +1,29 @@
1
+ import { ReactNode } from "react";
2
+ import type { VerticalStepMode } from "./types";
3
+ import "@axa-fr/canopee-css/distributeur/Steps/VerticalStep.css";
4
+ type Props = {
5
+ /** The title of the step. */
6
+ title: string;
7
+ /** The id of the step, used for accessibility. It should be unique within the document. */
8
+ id: string;
9
+ /** The mode of the step, can be "edited", "validated", or "locked". */
10
+ stepMode: VerticalStepMode;
11
+ /** The function to call when the edit button is clicked. */
12
+ onEdit: React.MouseEventHandler<HTMLButtonElement>;
13
+ /** The content of the form to display when the step is in "edited" mode. */
14
+ form: ReactNode;
15
+ /** The content to display when the step is in "validated" mode. */
16
+ restitution: ReactNode;
17
+ /** The label of the edit button. */
18
+ editButtonLabel?: string;
19
+ /** The aria-label of the edit button. */
20
+ editButtonAriaLabel?: string;
21
+ /** Whether to show the restitution content when the step is validated. */
22
+ showRestitution?: boolean;
23
+ /** Additional content to display on the right side of the title. */
24
+ contentRight?: string;
25
+ /** The aria-label for the additional content on the right side of the title. */
26
+ contentRightAriaLabel?: string;
27
+ };
28
+ export declare const VerticalStep: ({ title, id, stepMode, editButtonLabel, editButtonAriaLabel, contentRightAriaLabel, onEdit, form, restitution, showRestitution, contentRight, }: Props) => import("react/jsx-runtime").JSX.Element;
29
+ export {};
@@ -0,0 +1,22 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import check from "@material-symbols/svg-400/sharp/check.svg";
3
+ import edit from "@material-symbols/svg-400/sharp/edit-fill.svg";
4
+ import lock from "@material-symbols/svg-400/sharp/lock-fill.svg";
5
+ import classNames from "classnames";
6
+ import { Svg } from "../Svg";
7
+ import { Title } from "../Title/Title";
8
+ import "@axa-fr/canopee-css/distributeur/Steps/VerticalStep.css";
9
+ import { Button } from "../Button/Button";
10
+ const defaultClassName = "af-vertical-step";
11
+ export const VerticalStep = ({ title, id, stepMode, editButtonLabel = "Modifier", editButtonAriaLabel = `Modifier l'étape ${title}`, contentRightAriaLabel = `Contenu supplémentaire étape verticale ${title}`, onEdit, form, restitution, showRestitution = true, contentRight, }) => {
12
+ const isStepInEdition = stepMode === "edited";
13
+ const isStepValidated = stepMode === "validated";
14
+ const isStepLocked = stepMode === "locked";
15
+ return (_jsxs("section", { className: classNames(defaultClassName, {
16
+ [`${defaultClassName}--edition`]: isStepInEdition,
17
+ }), "aria-label": `Étape verticale ${title}`, children: [_jsxs("div", { className: classNames("af-vertical-step-icon", {
18
+ [`${defaultClassName}-icon--validated`]: isStepValidated,
19
+ [`${defaultClassName}-icon--locked`]: isStepLocked,
20
+ [`${defaultClassName}-icon--edited`]: isStepInEdition,
21
+ }), children: [isStepValidated ? _jsx(Svg, { role: "presentation", src: check }) : null, isStepLocked ? _jsx(Svg, { role: "presentation", src: lock }) : null, isStepInEdition ? _jsx(Svg, { role: "presentation", src: edit }) : null] }), _jsx(Title, { id: id, contentLeft: isStepValidated ? (_jsx(Button, { "aria-label": editButtonAriaLabel, onClick: onEdit, variant: "ghost", leftIcon: _jsx(Svg, { role: "presentation", src: edit }), children: editButtonLabel })) : undefined, contentRight: _jsx("section", { "aria-label": contentRightAriaLabel, children: contentRight }), children: title }), isStepInEdition ? _jsx("section", { children: form }) : null, isStepValidated && showRestitution ? (_jsx("section", { children: restitution })) : null, isStepInEdition ? (_jsx("div", { className: classNames(`${defaultClassName}-icon ${defaultClassName}-icon--lastIcon`), children: _jsx(Svg, { role: "presentation", src: check }) })) : null] }));
22
+ };
@@ -0,0 +1,5 @@
1
+ import "@axa-fr/canopee-css/distributeur/Steps/Steps.css";
2
+ export { Step } from "./Step";
3
+ export { StepBase } from "./StepBase";
4
+ export { Steps } from "./Steps";
5
+ export { VerticalStep } from "./VerticalStep";
@@ -0,0 +1,5 @@
1
+ import "@axa-fr/canopee-css/distributeur/Steps/Steps.css";
2
+ export { Step } from "./Step";
3
+ export { StepBase } from "./StepBase";
4
+ export { Steps } from "./Steps";
5
+ export { VerticalStep } from "./VerticalStep";
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from "react";
2
+ export type CustomClickEvent = {
3
+ href: string;
4
+ number?: ReactNode;
5
+ id: string;
6
+ title: string;
7
+ };
8
+ export type VerticalStepMode = "edited" | "locked" | "validated";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from "react";
2
+ import { type MessageProps } from "../Messages/Message";
3
+ type SummaryProps = Omit<MessageProps, "title"> & {
4
+ title?: string;
5
+ messages?: ReactNode[];
6
+ isVisible?: boolean;
7
+ };
8
+ export declare const Summary: ({ messages, isVisible, title, classModifier, ...args }: SummaryProps) => import("react/jsx-runtime").JSX.Element | null;
9
+ export {};
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Message } from "../Messages/Message";
3
+ import { generateId } from "../utilities/helpers/generateId";
4
+ export const Summary = ({ messages = [], isVisible = true, title = "Invalid form", classModifier = "error", ...args }) => {
5
+ const messagesNotBlank = messages.filter((message) => Boolean(message));
6
+ if (!messages || !isVisible || messagesNotBlank.length === 0) {
7
+ return null;
8
+ }
9
+ const variant = classModifier === "danger" ? "warning" : classModifier;
10
+ return (_jsx(Message, { title: title, variant: variant, ...args, children: _jsx("ul", { className: "af-summary__message-list", children: messages.map((message) => (_jsx("li", { className: "af-summary__message-item", children: message }, `message_${generateId({ message })}`))) }) }));
11
+ };
@@ -0,0 +1,7 @@
1
+ import { type SVGAttributes } from "react";
2
+ type SvgProps = SVGAttributes<SVGSVGElement> & {
3
+ src: string;
4
+ alt?: string;
5
+ };
6
+ export declare const Svg: ({ src, alt, width, height, ...props }: SvgProps) => import("react/jsx-runtime").JSX.Element | null;
7
+ export {};
@@ -0,0 +1,50 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useLayoutEffect, useRef, useState, } from "react";
3
+ import { svgInjector } from "./svgInjector";
4
+ const cloneAttributes = (from, to) => {
5
+ const attributes = from.getAttributeNames();
6
+ attributes.forEach((attribute) => {
7
+ to.setAttribute(attribute, from.getAttribute(attribute));
8
+ });
9
+ };
10
+ export const Svg = ({ src, alt, width = 24, height = 24, ...props }) => {
11
+ const rootRef = useRef(null);
12
+ const [hasError, setHasError] = useState(false);
13
+ useLayoutEffect(() => {
14
+ if (hasError) {
15
+ setHasError(false);
16
+ }
17
+ // eslint-disable-next-line react-hooks/exhaustive-deps
18
+ }, [src]);
19
+ useLayoutEffect(() => {
20
+ if (hasError) {
21
+ return;
22
+ }
23
+ const root = rootRef.current;
24
+ if (root) {
25
+ const parent = document.createElement("div");
26
+ const svg = document.createElement("svg");
27
+ parent.appendChild(svg);
28
+ cloneAttributes(root, svg);
29
+ // Default SVG size was 24px with @material-design-icons/svg. With @material-symbols/svg-400 this is now 48px (with no native way to change it)
30
+ // In order not to break existing CSS, we manually set the default value back to 24px
31
+ svg.setAttribute("width", width.toString());
32
+ svg.setAttribute("height", height.toString());
33
+ svgInjector(svg, {
34
+ afterEach: (error, svgInject) => {
35
+ if (error) {
36
+ setHasError(true);
37
+ }
38
+ if (svgInject) {
39
+ root.innerHTML = svgInject.innerHTML;
40
+ cloneAttributes(svgInject, root);
41
+ }
42
+ },
43
+ });
44
+ }
45
+ }, [src, width, height, hasError]);
46
+ if (hasError) {
47
+ return alt ? (_jsx("span", { ...props, children: alt })) : null;
48
+ }
49
+ return _jsx("svg", { ref: rootRef, "data-src": src, role: "presentation", ...props });
50
+ };
@@ -0,0 +1 @@
1
+ export { Svg } from "./Svg";
@@ -0,0 +1 @@
1
+ export { Svg } from "./Svg";
@@ -0,0 +1,12 @@
1
+ import { type AfterAll, type BeforeEach, type Errback, type EvalScripts } from "@tanem/svg-injector";
2
+ type Options = {
3
+ afterAll?: AfterAll;
4
+ afterEach?: Errback;
5
+ beforeEach?: BeforeEach;
6
+ cacheRequests?: boolean;
7
+ evalScripts?: EvalScripts;
8
+ httpRequestWithCredentials?: boolean;
9
+ renumerateIRIElements?: boolean;
10
+ };
11
+ export declare const svgInjector: (element: HTMLElement | SVGSVGElement | null, { beforeEach, ...options }?: Options) => void;
12
+ export {};