@cnamts/synapse 1.0.23 → 1.0.24

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 (292) hide show
  1. package/dist/AutocompleteFilter-BWLR3U7W.js +114 -0
  2. package/dist/AutocompleteFilter-D9jzRzAL.cjs +1 -0
  3. package/dist/{DateFilter-Dc-gSGwk.js → DateFilter-BpwFexzi.js} +1 -1
  4. package/dist/DateFilter-DTUl8hb1.cjs +1 -0
  5. package/dist/{NumberFilter-vP38Wp6j.js → NumberFilter-Bz_NTdX9.js} +3 -3
  6. package/dist/NumberFilter-MAEojdk0.cjs +1 -0
  7. package/dist/PeriodFilter-CC4WgIhl.cjs +1 -0
  8. package/dist/{PeriodFilter-Ba1uYUnT.js → PeriodFilter-DX_wy9g-.js} +1 -1
  9. package/dist/SelectFilter-BR3fvl-a.cjs +1 -0
  10. package/dist/SelectFilter-xqiPtPgX.js +135 -0
  11. package/dist/{TextFilter-B84dpnoq.js → TextFilter-BBl3JFqK.js} +7 -7
  12. package/dist/TextFilter-CCfYFl5F.cjs +1 -0
  13. package/dist/apLightTheme-CFSRrjv2.cjs +1 -0
  14. package/dist/apLightTheme-D1P4jcD0.js +1231 -0
  15. package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +7022 -9616
  16. package/dist/components/Amelipro/AmeliproCarousel/AmeliproCarousel.d.ts +2 -2
  17. package/dist/components/Amelipro/AmeliproIconBtn/AmeliproIconBtn.d.ts +2 -2
  18. package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/AmeliproPostalAddressCityRow.d.ts +40 -40
  19. package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressField.d.ts +60 -60
  20. package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +7168 -9762
  21. package/dist/components/Amelipro/AmeliproStepper/AmeliproStepper.d.ts +2 -2
  22. package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +7501 -10095
  23. package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +21 -21
  24. package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +41 -41
  25. package/dist/components/Amelipro/StructureMenu/StructureTabs/StructureTabs.d.ts +2 -2
  26. package/dist/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +20 -498
  27. package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +108 -146
  28. package/dist/components/Customs/Selects/SyInputSelect/SyInputSelect.d.ts +5 -5
  29. package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +12 -16
  30. package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +8 -8
  31. package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +28 -506
  32. package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +28 -506
  33. package/dist/components/Customs/SyTextField/SyTextField.d.ts +65 -85
  34. package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +627 -771
  35. package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +315 -402
  36. package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +112 -155
  37. package/dist/components/DatePicker/composables/index.d.ts +1 -0
  38. package/dist/components/DatePicker/composables/useDatePickerFocusTrap.d.ts +11 -0
  39. package/dist/components/DatePicker/composables/useDateTextField.d.ts +4 -4
  40. package/dist/components/DatePicker/composables/useDateValidation.d.ts +3 -3
  41. package/dist/components/DatePicker/composables/useInputBlurHandler.d.ts +2 -2
  42. package/dist/components/DatePicker/composables/useManualDateValidation.d.ts +2 -2
  43. package/dist/components/HeaderNavigationBar/HeaderNavigationBar.d.ts +4 -4
  44. package/dist/components/HeaderToolbar/HeaderToolbar.d.ts +20 -28
  45. package/dist/components/LunarCalendar/useLunarCalendarValidation.d.ts +3 -3
  46. package/dist/components/MonthPicker/MonthPicker.d.ts +86 -122
  47. package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +85 -121
  48. package/dist/components/NirField/NirField.d.ts +206 -270
  49. package/dist/components/NirField/locales.d.ts +10 -10
  50. package/dist/components/NirField/useNirValidation.d.ts +64 -0
  51. package/dist/components/PasswordField/PasswordField.d.ts +8 -9
  52. package/dist/components/PeriodField/PeriodField.d.ts +1352 -1640
  53. package/dist/components/PhoneField/PhoneField.d.ts +88 -124
  54. package/dist/components/RangeField/RangeSlider/RangeSlider.d.ts +12 -12
  55. package/dist/components/SyTextArea/SyTextArea.d.ts +34 -14
  56. package/dist/components/SyTextArea/useDefaultValidationRules.d.ts +11 -0
  57. package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +9 -6
  58. package/dist/components/Tables/SyTable/SyTable.d.ts +9 -6
  59. package/dist/components/Tables/common/SyTableFilter.d.ts +2 -3
  60. package/dist/components/Tables/common/SyTablePagination.d.ts +17 -19
  61. package/dist/components/Tables/common/filters/AutocompleteFilter.d.ts +120 -0
  62. package/dist/components/Tables/common/filters/locales.d.ts +0 -1
  63. package/dist/components/Tables/common/types.d.ts +19 -3
  64. package/dist/components/Tables/common/useClickableTableRow.d.ts +17 -0
  65. package/dist/components/Tables/common/usePagination.d.ts +3 -1
  66. package/dist/components/Tables/common/usePinnedColumns.d.ts +31 -0
  67. package/dist/components/Tables/common/useTableHeaders.d.ts +2 -0
  68. package/dist/components/Tables/common/useTableRowCheckboxAccessibility.d.ts +5 -0
  69. package/dist/components/UploadWorkflow/UploadWorkflow.d.ts +6 -6
  70. package/dist/composables/date/useDatePickerAccessibility.d.ts +1 -1
  71. package/dist/composables/rules/useFieldValidation.d.ts +4 -4
  72. package/dist/composables/unifyValidation/useCustomValidation.d.ts +8 -0
  73. package/dist/composables/unifyValidation/useValidation.d.ts +102 -0
  74. package/dist/composables/unifyValidation/useVuetifyValidation.d.ts +18 -0
  75. package/dist/composables/useFormFieldErrorHandling.d.ts +2 -2
  76. package/dist/composables/validation/useFormValidation.d.ts +11 -2
  77. package/dist/composables/validation/useValidation.d.ts +15 -9
  78. package/dist/design-system-v3.d.ts +2 -0
  79. package/dist/design-system-v3.js +186 -187
  80. package/dist/design-system-v3.umd.cjs +1 -1066
  81. package/dist/{main-aLKwdMi1.js → main-BtTqyn4z.js} +16434 -15672
  82. package/dist/main-C1e3eoxd.cjs +1067 -0
  83. package/dist/main.d.ts +0 -1
  84. package/dist/synapse.css +1 -0
  85. package/dist/tooth-11-D3sLWv2n.cjs +1 -0
  86. package/dist/tooth-12-CXrLuH03.cjs +1 -0
  87. package/dist/tooth-13-BSfo5fpT.cjs +1 -0
  88. package/dist/tooth-14-DMzulx0h.cjs +1 -0
  89. package/dist/tooth-15-BKRFVi-9.cjs +1 -0
  90. package/dist/tooth-16-CpuxAbuM.cjs +1 -0
  91. package/dist/tooth-17-BPoahUdg.cjs +1 -0
  92. package/dist/tooth-18-DhHJz8sy.cjs +1 -0
  93. package/dist/tooth-21-Dgd5hn_X.cjs +1 -0
  94. package/dist/tooth-22-C2Tn19sB.cjs +1 -0
  95. package/dist/tooth-23-C9uaaSGb.cjs +1 -0
  96. package/dist/tooth-24-BrK9UGpf.cjs +1 -0
  97. package/dist/tooth-25-CE_EfGNp.cjs +1 -0
  98. package/dist/tooth-26-Ctv4i9Fy.cjs +1 -0
  99. package/dist/tooth-27-C5J7JkWM.cjs +1 -0
  100. package/dist/tooth-28-Z9oWqjo0.cjs +1 -0
  101. package/dist/tooth-31-BrYqmkTi.cjs +1 -0
  102. package/dist/tooth-32-BNNR0oCZ.cjs +1 -0
  103. package/dist/tooth-33-DuxvqO2J.cjs +1 -0
  104. package/dist/tooth-34-BCSCXMB6.cjs +1 -0
  105. package/dist/tooth-35-BLUXkX88.cjs +1 -0
  106. package/dist/tooth-36-IrKHYqlA.cjs +1 -0
  107. package/dist/tooth-37-BYqpdMwo.cjs +1 -0
  108. package/dist/tooth-38-B_eNXXdu.cjs +1 -0
  109. package/dist/tooth-41-Ddva4Ot8.cjs +1 -0
  110. package/dist/tooth-42-szcDqlM0.cjs +1 -0
  111. package/dist/tooth-43-B3ka6rQm.cjs +1 -0
  112. package/dist/tooth-44-CazyQucj.cjs +1 -0
  113. package/dist/tooth-45-B4HQtc8n.cjs +1 -0
  114. package/dist/tooth-46-BPM40gbG.cjs +1 -0
  115. package/dist/tooth-47-Dvr20dlh.cjs +1 -0
  116. package/dist/tooth-48-Bd8ljGsF.cjs +1 -0
  117. package/dist/tooth-51-OBpwCOF3.cjs +1 -0
  118. package/dist/tooth-52-aKxyHcmq.cjs +1 -0
  119. package/dist/tooth-53-vCwJjTOc.cjs +1 -0
  120. package/dist/tooth-54-DsWu2iFy.cjs +1 -0
  121. package/dist/tooth-55-BxC1X2Dn.cjs +1 -0
  122. package/dist/tooth-61-BbLvxMQi.cjs +1 -0
  123. package/dist/tooth-62-CmTkWczP.cjs +1 -0
  124. package/dist/tooth-63-DI7l_2qI.cjs +1 -0
  125. package/dist/tooth-64-B21sOsJh.cjs +1 -0
  126. package/dist/tooth-65-D2ZC2VEr.cjs +1 -0
  127. package/dist/tooth-71-D473PPO5.cjs +1 -0
  128. package/dist/tooth-72-Drh1wnNu.cjs +1 -0
  129. package/dist/tooth-73-DzlwYI23.cjs +1 -0
  130. package/dist/tooth-74-8aGvcZPg.cjs +1 -0
  131. package/dist/tooth-75-BFK7At_r.cjs +1 -0
  132. package/dist/tooth-81-BZmR-I0M.cjs +1 -0
  133. package/dist/tooth-82-euVfUUZV.cjs +1 -0
  134. package/dist/tooth-83-KV010j64.cjs +1 -0
  135. package/dist/tooth-84-BBg1RjhZ.cjs +1 -0
  136. package/dist/tooth-85-Cr-kc1wM.cjs +1 -0
  137. package/dist/vuetifyConfig.js +561 -0
  138. package/dist/vuetifyConfig.umd.cjs +1 -0
  139. package/package.json +10 -4
  140. package/src/assets/overrides/_btns.scss +0 -6
  141. package/src/assets/overrides/_icons.scss +9 -1
  142. package/src/assets/overrides/_typography.scss +0 -10
  143. package/src/components/Amelipro/AmeliproAutoCompleteField/__tests__/__snapshots__/AmeliproAutoCompleteField.spec.ts.snap +2 -2
  144. package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproHeaderBrandSection/__tests__/__snapshots__/AmeliproHeaderBrandSection.spec.ts.snap +1 -1
  145. package/src/components/Amelipro/AmeliproTextArea/__tests__/__snapshots__/AmeliproTextArea.spec.ts.snap +2 -2
  146. package/src/components/Captcha/accessibilite/Accessibility.mdx +86 -8
  147. package/src/components/Captcha/tests/__snapshots__/Captcha.spec.ts.snap +12 -12
  148. package/src/components/ChipList/ChipList.stories.ts +0 -15
  149. package/src/components/ChipList/ChipList.vue +5 -1
  150. package/src/components/ChipList/accessibilite/Accessibility.mdx +83 -10
  151. package/src/components/ChipList/tests/ChipList.a11y.spec.ts +41 -0
  152. package/src/components/Customs/Selects/SelectBtnField/accessibilite/Accessibility.mdx +0 -9
  153. package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +22 -5
  154. package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.spec.ts +143 -0
  155. package/src/components/Customs/Selects/SyAutocomplete/utils/ariaManager.ts +14 -10
  156. package/src/components/Customs/Selects/SyInputSelect/SyInputSelect.stories.ts +4 -4
  157. package/src/components/Customs/Selects/SyInputSelect/SyInputSelect.vue +8 -9
  158. package/src/components/Customs/Selects/SyInputSelect/tests/SyInputSelect.spec.ts +10 -10
  159. package/src/components/Customs/Selects/SySelect/SySelect.vue +14 -11
  160. package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +54 -0
  161. package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +6 -9
  162. package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +10 -16
  163. package/src/components/Customs/SyCheckbox/SyCheckbox.vue +16 -11
  164. package/src/components/Customs/SyCheckbox/accessibilite/Accessibility.mdx +35 -0
  165. package/src/components/Customs/SyCheckbox/tests/SyCheckbox.a11y.spec.ts +134 -2
  166. package/src/components/Customs/SyForm/SyForm.stories.ts +31 -5
  167. package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +4 -7
  168. package/src/components/Customs/SyTextField/SyTextField.mdx +1 -1
  169. package/src/components/Customs/SyTextField/SyTextField.stories.ts +29 -27
  170. package/src/components/Customs/SyTextField/SyTextField.vue +154 -157
  171. package/src/components/Customs/SyTextField/tests/SyTextField.a11y.spec.ts +32 -0
  172. package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +120 -11
  173. package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +62 -58
  174. package/src/components/DatePicker/CalendarMode/DatePicker.vue +330 -223
  175. package/src/components/DatePicker/CalendarMode/accessibilite/Accessibility.mdx +82 -0
  176. package/src/components/DatePicker/CalendarMode/tests/DatePicker.a11y.spec.ts +141 -0
  177. package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +2 -56
  178. package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +195 -159
  179. package/src/components/DatePicker/ComplexDatePicker/accessibilite/Accessibility.mdx +76 -0
  180. package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +10 -10
  181. package/src/components/DatePicker/DatePickerValidationExample/CalendarMode.stories.ts +8 -8
  182. package/src/components/DatePicker/DatePickerValidationExample/ComplexDatePicker.stories.ts +106 -8
  183. package/src/components/DatePicker/DatePickerValidationExample/DateTextInput.stories.ts +12 -11
  184. package/src/components/DatePicker/DatePickerValidationExample/MultiMode.stories.ts +12 -12
  185. package/src/components/DatePicker/DateTextInput/DateRange.stories.ts +0 -12
  186. package/src/components/DatePicker/DateTextInput/DateTextInput.vue +63 -57
  187. package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +3 -0
  188. package/src/components/DatePicker/DateTextInput/accessibilite/Accessibility.mdx +66 -0
  189. package/src/components/DatePicker/DateTextInput/tests/DateTextInput.spec.ts +52 -1
  190. package/src/components/DatePicker/composables/index.ts +1 -0
  191. package/src/components/DatePicker/composables/tests/useCalendarKeyboardNavigation.spec.ts +109 -65
  192. package/src/components/DatePicker/composables/tests/useDatePickerFocusTrap.spec.ts +138 -0
  193. package/src/components/DatePicker/composables/tests/useDateValidation.spec.ts +74 -18
  194. package/src/components/DatePicker/composables/tests/useInputBlurHandler.spec.ts +39 -0
  195. package/src/components/DatePicker/composables/tests/useManualDateValidation.spec.ts +91 -0
  196. package/src/components/DatePicker/composables/useCalendarKeyboardNavigation.ts +442 -36
  197. package/src/components/DatePicker/composables/useDatePickerFocusTrap.ts +92 -0
  198. package/src/components/DatePicker/composables/useDateTextField.ts +7 -6
  199. package/src/components/DatePicker/composables/useDateValidation.ts +36 -35
  200. package/src/components/DatePicker/composables/useInputBlurHandler.ts +3 -3
  201. package/src/components/DatePicker/composables/useManualDateValidation.ts +6 -2
  202. package/src/components/DiacriticPicker/accessibilite/Accessibility.mdx +76 -8
  203. package/src/components/HeaderBar/HeaderBar.stories.ts +14 -2
  204. package/src/components/Logo/accessibilite/Accessibility.mdx +73 -11
  205. package/src/components/LogoBrandSection/accessibilite/Accessibility.mdx +85 -9
  206. package/src/components/LunarCalendar/tests/LunarCalendar.spec.ts +3 -1
  207. package/src/components/LunarCalendar/useLunarCalendarValidation.ts +4 -5
  208. package/src/components/MonthPicker/tests/MonthPicker.spec.ts +2 -1
  209. package/src/components/MonthPicker/tests/__snapshots__/MonthPicker.spec.ts.snap +7 -7
  210. package/src/components/NirField/NirField.stories.ts +4 -0
  211. package/src/components/NirField/NirField.vue +64 -260
  212. package/src/components/NirField/accessibilite/Accessibility.mdx +2 -2
  213. package/src/components/NirField/locales.ts +1 -1
  214. package/src/components/NirField/tests/NirField.spec.ts +6 -0
  215. package/src/components/NirField/useNirValidation.ts +271 -0
  216. package/src/components/PasswordField/PasswordField.stories.ts +4 -4
  217. package/src/components/PasswordField/PasswordField.vue +18 -24
  218. package/src/components/PasswordField/tests/PasswordField.spec.ts +6 -3
  219. package/src/components/PeriodField/PeriodField.stories.ts +4 -4
  220. package/src/components/PeriodField/PeriodField.vue +57 -57
  221. package/src/components/PeriodField/__tests__/PeriodField.async.spec.ts +32 -0
  222. package/src/components/PeriodField/accessibilite/Accessibility.mdx +68 -8
  223. package/src/components/PeriodField/tests/PeriodField.spec.ts +28 -2
  224. package/src/components/PhoneField/PhoneField.vue +5 -6
  225. package/src/components/PhoneField/tests/PhoneField.spec.ts +1 -0
  226. package/src/components/RangeField/RangeField.vue +6 -0
  227. package/src/components/SyTextArea/SyTextArea.stories.ts +138 -2
  228. package/src/components/SyTextArea/SyTextArea.vue +53 -23
  229. package/src/components/SyTextArea/tests/SyTextArea.spec.ts +126 -3
  230. package/src/components/SyTextArea/useDefaultValidationRules.ts +74 -0
  231. package/src/components/Tables/SyServerTable/SyServerTable.mdx +25 -0
  232. package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +673 -1
  233. package/src/components/Tables/SyServerTable/SyServerTable.vue +148 -91
  234. package/src/components/Tables/SyServerTable/tests/SyServerTable.a11y.spec.ts +58 -0
  235. package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +122 -0
  236. package/src/components/Tables/SyTable/SyTable.mdx +25 -0
  237. package/src/components/Tables/SyTable/SyTable.stories.ts +452 -1
  238. package/src/components/Tables/SyTable/SyTable.vue +130 -56
  239. package/src/components/Tables/SyTable/tests/SyTable.a11y.spec.ts +57 -0
  240. package/src/components/Tables/SyTable/tests/SyTable.spec.ts +108 -0
  241. package/src/components/Tables/common/SyTableFilter.vue +22 -2
  242. package/src/components/Tables/common/TableHeader.vue +5 -1
  243. package/src/components/Tables/common/filters/AutocompleteFilter.vue +160 -0
  244. package/src/components/Tables/common/filters/NumberFilter.vue +1 -1
  245. package/src/components/Tables/common/filters/SelectFilter.vue +10 -11
  246. package/src/components/Tables/common/filters/TextFilter.vue +1 -1
  247. package/src/components/Tables/common/filters/getFilterComponent.ts +8 -1
  248. package/src/components/Tables/common/filters/locales.ts +0 -1
  249. package/src/components/Tables/common/filters/tests/AutocompleteFilter.a11y.spec.ts +110 -0
  250. package/src/components/Tables/common/filters/tests/AutocompleteFilter.spec.ts +203 -0
  251. package/src/components/Tables/common/filters/tests/SelectFilter.a11y.spec.ts +104 -0
  252. package/src/components/Tables/common/filters/tests/SelectFilter.spec.ts +152 -16
  253. package/src/components/Tables/common/tableFilterUtils.ts +3 -0
  254. package/src/components/Tables/common/tableStyles.scss +48 -4
  255. package/src/components/Tables/common/tests/filterByRange.spec.ts +2 -1
  256. package/src/components/Tables/common/types.ts +13 -4
  257. package/src/components/Tables/common/useClickableTableRow.ts +103 -0
  258. package/src/components/Tables/common/usePagination.ts +13 -0
  259. package/src/components/Tables/common/usePinnedColumns.ts +237 -0
  260. package/src/components/Tables/common/useTableHeaders.ts +3 -3
  261. package/src/components/Tables/common/useTableRowCheckboxAccessibility.ts +41 -0
  262. package/src/composables/date/tests/useDatePickerAccessibility.spec.ts +2 -6
  263. package/src/composables/date/useDatePickerAccessibility.ts +42 -207
  264. package/src/composables/rules/tests/useFieldValidation.spec.ts +120 -120
  265. package/src/composables/rules/useFieldValidation.ts +34 -17
  266. package/src/composables/unifyValidation/tests/useCustomValidation.spec.ts +601 -0
  267. package/src/composables/unifyValidation/tests/useValidation.spec.ts +2048 -0
  268. package/src/composables/unifyValidation/tests/useVuetifyValidation.spec.ts +184 -0
  269. package/src/composables/unifyValidation/useCustomValidation.ts +95 -0
  270. package/src/composables/unifyValidation/useValidation.ts +190 -0
  271. package/src/composables/unifyValidation/useVuetifyValidation.ts +54 -0
  272. package/src/composables/useFormFieldErrorHandling.ts +4 -7
  273. package/src/composables/validation/tests/useFormValidation.spec.ts +14 -0
  274. package/src/composables/validation/tests/useValidation.spec.ts +116 -21
  275. package/src/composables/validation/useFormValidation.ts +20 -13
  276. package/src/composables/validation/useValidatable.ts +8 -1
  277. package/src/composables/validation/useValidation.ts +135 -99
  278. package/src/composantsVuetify/Introduction.mdx +48 -0
  279. package/src/composantsVuetify/VBtn/VBtn.mdx +72 -0
  280. package/src/composantsVuetify/VBtn/v-btn.stories.ts +121 -0
  281. package/src/composantsVuetify/VTooltip/VTooltip.mdx +32 -0
  282. package/src/composantsVuetify/VTooltip/v-tooltip.stories.ts +95 -0
  283. package/src/designTokens/tokens/cnam/cnamSemantic.ts +2 -2
  284. package/src/main.ts +0 -2
  285. package/src/stories/Components/Components.stories.ts +74 -9
  286. package/src/stories/Demarrer/Accueil.stories.ts +3 -3
  287. package/src/stories/GuideDuDev/Amelipro.mdx +15 -0
  288. package/src/stories/GuideDuDev/Amelipro.stories.ts +209 -0
  289. package/src/stories/GuideDuDev/vuetifyOptions.mdx +3 -3
  290. package/dist/SelectFilter-BioGT6Nn.js +0 -136
  291. package/dist/style.css +0 -1
  292. package/src/components/DatePicker/Accessibilite.mdx +0 -14
@@ -0,0 +1,561 @@
1
+ import { g as S, f as d, p, h as z, i as b, a as g, j as A, c as H, k as u, e as W, d as F } from "./apLightTheme-D1P4jcD0.js";
2
+ import * as $ from "vuetify/components";
3
+ import * as T from "vuetify/directives";
4
+ import { mdi as w, aliases as L } from "vuetify/iconsets/mdi-svg";
5
+ import { fr as v } from "vuetify/locale";
6
+ import { createVuetify as C } from "vuetify";
7
+ const m = {
8
+ family: {
9
+ primary: '"Arial", sans-serif',
10
+ secondary: '"Arial", sans-serif'
11
+ },
12
+ weight: {
13
+ thin: 100,
14
+ light: 300,
15
+ regular: 400,
16
+ medium: 500,
17
+ bold: 700,
18
+ black: 900
19
+ },
20
+ size: {
21
+ xs: "0.75rem",
22
+ // 12px
23
+ sm: "0.875rem",
24
+ // 14px
25
+ base: "1rem",
26
+ // 16px
27
+ lg: "1.125rem",
28
+ // 18px
29
+ xl: "1.25rem",
30
+ // 20px
31
+ xxl: "1.5rem"
32
+ // 24px
33
+ },
34
+ lineHeight: {
35
+ tight: 1.3,
36
+ // 130% for font-size > 18px
37
+ normal: 1.5
38
+ // 150% for font-size <= 18px
39
+ },
40
+ letterSpacing: {
41
+ tighter: "-0.05em",
42
+ tight: "-0.025em",
43
+ normal: "0",
44
+ wide: "0.025em",
45
+ wider: "0.05em"
46
+ },
47
+ heading: {
48
+ h1: {
49
+ fontFamily: '"Arial", sans-serif',
50
+ fontWeight: 700,
51
+ fontSize: "2rem",
52
+ // 32px
53
+ lineHeight: 1.3,
54
+ letterSpacing: "-0.025em"
55
+ },
56
+ h2: {
57
+ fontFamily: '"Arial", sans-serif',
58
+ fontWeight: 700,
59
+ fontSize: "1.75rem",
60
+ // 28px
61
+ lineHeight: 1.3,
62
+ letterSpacing: "-0.025em"
63
+ },
64
+ h3: {
65
+ fontFamily: '"Arial", sans-serif',
66
+ fontWeight: 700,
67
+ fontSize: "1.5rem",
68
+ // 24px
69
+ lineHeight: 1.3,
70
+ letterSpacing: "-0.025em"
71
+ },
72
+ h4: {
73
+ fontFamily: '"Arial", sans-serif',
74
+ fontWeight: 700,
75
+ fontSize: "1.25rem",
76
+ // 20px
77
+ lineHeight: 1.3,
78
+ letterSpacing: "0"
79
+ },
80
+ h5: {
81
+ fontFamily: '"Arial", sans-serif',
82
+ fontWeight: 700,
83
+ fontSize: "1.125rem",
84
+ // 18px
85
+ lineHeight: 1.3,
86
+ letterSpacing: "0"
87
+ },
88
+ h6: {
89
+ fontFamily: '"Arial", sans-serif',
90
+ fontWeight: 700,
91
+ fontSize: "1rem",
92
+ // 16px
93
+ lineHeight: 1.3,
94
+ letterSpacing: "0"
95
+ }
96
+ },
97
+ body: {
98
+ body1: {
99
+ fontFamily: '"Arial", sans-serif',
100
+ fontWeight: 400,
101
+ fontSize: "1.125rem",
102
+ // 18px
103
+ lineHeight: 1.5,
104
+ letterSpacing: "0"
105
+ },
106
+ body2: {
107
+ fontFamily: '"Arial", sans-serif',
108
+ fontWeight: 400,
109
+ fontSize: "1rem",
110
+ // 16px
111
+ lineHeight: 1.5,
112
+ letterSpacing: "0"
113
+ }
114
+ },
115
+ subtitle: {
116
+ subtitle1: {
117
+ fontFamily: '"Arial", sans-serif',
118
+ fontWeight: 500,
119
+ fontSize: "1.125rem",
120
+ // 18px
121
+ lineHeight: 1.5,
122
+ letterSpacing: "0.009em"
123
+ },
124
+ subtitle2: {
125
+ fontFamily: '"Arial", sans-serif',
126
+ fontWeight: 500,
127
+ fontSize: "1rem",
128
+ // 16px
129
+ lineHeight: 1.5,
130
+ letterSpacing: "0.007em"
131
+ }
132
+ },
133
+ caption: {
134
+ fontFamily: '"Arial", sans-serif',
135
+ fontWeight: 400,
136
+ fontSize: "0.875rem",
137
+ // 14px
138
+ lineHeight: 1.5,
139
+ letterSpacing: "0"
140
+ },
141
+ overline: {
142
+ fontFamily: '"Arial", sans-serif',
143
+ fontWeight: 400,
144
+ fontSize: "0.875rem",
145
+ // 14px
146
+ lineHeight: 1.5,
147
+ letterSpacing: "0.1em",
148
+ textTransform: "uppercase"
149
+ },
150
+ display: {
151
+ display1: {
152
+ fontFamily: '"Arial", sans-serif',
153
+ fontWeight: 300,
154
+ fontSize: "2.5rem",
155
+ // 40px
156
+ lineHeight: 1.15,
157
+ letterSpacing: "-0.0075em"
158
+ },
159
+ display2: {
160
+ fontFamily: '"Arial", sans-serif',
161
+ fontWeight: 300,
162
+ fontSize: "1.875rem",
163
+ // 30px
164
+ lineHeight: 1.1,
165
+ letterSpacing: "-0.00375em"
166
+ }
167
+ }
168
+ }, h = {
169
+ family: {
170
+ primary: '"Arial", sans-serif',
171
+ secondary: '"Arial", sans-serif'
172
+ },
173
+ weight: {
174
+ thin: 100,
175
+ light: 300,
176
+ regular: 400,
177
+ medium: 500,
178
+ bold: 700,
179
+ black: 900
180
+ },
181
+ size: {
182
+ xs: "0.75rem",
183
+ // 12px
184
+ sm: "0.875rem",
185
+ // 14px
186
+ base: "1rem",
187
+ // 16px
188
+ lg: "1.125rem",
189
+ // 18px
190
+ xl: "1.25rem",
191
+ // 20px
192
+ xxl: "1.5rem"
193
+ // 24px
194
+ },
195
+ lineHeight: {
196
+ tight: 1.3,
197
+ // 130% for font-size > 18px
198
+ normal: 1.5
199
+ // 150% for font-size <= 18px
200
+ },
201
+ letterSpacing: {
202
+ tighter: "-0.05em",
203
+ tight: "-0.025em",
204
+ normal: "0",
205
+ wide: "0.025em",
206
+ wider: "0.05em"
207
+ },
208
+ heading: {
209
+ h1: {
210
+ fontFamily: '"Arial", sans-serif',
211
+ fontWeight: 700,
212
+ fontSize: "1.75rem",
213
+ // 28px
214
+ lineHeight: 1.3,
215
+ letterSpacing: "-0.025em"
216
+ },
217
+ h2: {
218
+ fontFamily: '"Arial", sans-serif',
219
+ fontWeight: 700,
220
+ fontSize: "1.25rem",
221
+ // 20px
222
+ lineHeight: 1.3,
223
+ letterSpacing: "-0.025em"
224
+ },
225
+ h3: {
226
+ fontFamily: '"Arial", sans-serif',
227
+ fontWeight: 700,
228
+ fontSize: "1.125rem",
229
+ // 18px
230
+ lineHeight: 1.3,
231
+ letterSpacing: "-0.025em"
232
+ },
233
+ h4: {
234
+ fontFamily: '"Arial", sans-serif',
235
+ fontWeight: 700,
236
+ fontSize: "1rem",
237
+ // 16px
238
+ lineHeight: 1.3,
239
+ letterSpacing: "0"
240
+ },
241
+ h5: {
242
+ fontFamily: '"Arial", sans-serif',
243
+ fontWeight: 700,
244
+ fontSize: "0.875rem",
245
+ // 14px
246
+ lineHeight: 1.3,
247
+ letterSpacing: "0"
248
+ },
249
+ h6: {
250
+ fontFamily: '"Arial", sans-serif',
251
+ fontWeight: 700,
252
+ fontSize: "0.75rem",
253
+ // 12px
254
+ lineHeight: 1.3,
255
+ letterSpacing: "0"
256
+ }
257
+ },
258
+ body: {
259
+ body1: {
260
+ fontFamily: '"Arial", sans-serif',
261
+ fontWeight: 400,
262
+ fontSize: "1rem",
263
+ // 16px
264
+ lineHeight: 1.5,
265
+ letterSpacing: "0"
266
+ },
267
+ body2: {
268
+ fontFamily: '"Arial", sans-serif',
269
+ fontWeight: 400,
270
+ fontSize: "0.875rem",
271
+ // 14px
272
+ lineHeight: 1.5,
273
+ letterSpacing: "0"
274
+ }
275
+ },
276
+ subtitle: {
277
+ subtitle1: {
278
+ fontFamily: '"Arial", sans-serif',
279
+ fontWeight: 500,
280
+ fontSize: "1rem",
281
+ // 16px
282
+ lineHeight: 1.5,
283
+ letterSpacing: "0.009em"
284
+ },
285
+ subtitle2: {
286
+ fontFamily: '"Arial", sans-serif',
287
+ fontWeight: 500,
288
+ fontSize: "0.875rem",
289
+ // 14px
290
+ lineHeight: 1.5,
291
+ letterSpacing: "0.007em"
292
+ }
293
+ },
294
+ caption: {
295
+ fontFamily: '"Arial", sans-serif',
296
+ fontWeight: 400,
297
+ fontSize: "0.75rem",
298
+ // 12px
299
+ lineHeight: 1.5,
300
+ letterSpacing: "0"
301
+ },
302
+ overline: {
303
+ fontFamily: '"Arial", sans-serif',
304
+ fontWeight: 500,
305
+ fontSize: "0.75rem",
306
+ // 12px
307
+ lineHeight: 1.5,
308
+ letterSpacing: "0.1em",
309
+ textTransform: "uppercase"
310
+ },
311
+ display: {
312
+ display1: {
313
+ fontFamily: '"Arial", sans-serif',
314
+ fontWeight: 300,
315
+ fontSize: "2rem",
316
+ // 32px
317
+ lineHeight: 1.15,
318
+ letterSpacing: "-0.006em"
319
+ },
320
+ display2: {
321
+ fontFamily: '"Arial", sans-serif',
322
+ fontWeight: 300,
323
+ fontSize: "1.75rem",
324
+ // 28px
325
+ lineHeight: 1.1,
326
+ letterSpacing: "-0.003em"
327
+ }
328
+ }
329
+ }, E = {
330
+ colors: {
331
+ background: "#ffffff",
332
+ border: "#dddddd",
333
+ text: "#333333",
334
+ icon: "#666666",
335
+ overlay: "rgba(0, 0, 0, 0.5)",
336
+ interactive: "#007bff"
337
+ },
338
+ gap: {
339
+ 0: "0",
340
+ 1: "4px",
341
+ 2: "8px",
342
+ 3: "122px",
343
+ 4: "16px",
344
+ 5: "20px",
345
+ 6: "24px",
346
+ 7: "28px",
347
+ 8: "32px",
348
+ 9: "36px",
349
+ 10: "40px",
350
+ 11: "44px",
351
+ 12: "48px",
352
+ 13: "52px",
353
+ 14: "56px",
354
+ 15: "60px",
355
+ 16: "64px"
356
+ },
357
+ iconSize: {
358
+ xsmall: "8px",
359
+ small: "16px",
360
+ default: "24px",
361
+ large: "32px"
362
+ },
363
+ radius: {
364
+ rounded0: "0",
365
+ rounded: "4px",
366
+ roundedLg: "8px",
367
+ roundedPill: "64px"
368
+ },
369
+ padding: {
370
+ 0: "0",
371
+ 2: "8px",
372
+ 3: "12px",
373
+ 4: "16px",
374
+ 6: "24px",
375
+ 8: "32px",
376
+ 10: "40px",
377
+ 14: "56px",
378
+ 16: "64px"
379
+ },
380
+ fontSize: {
381
+ titres: "24px",
382
+ titresAlternatifs: "20px",
383
+ corpsDeTexte: "16px",
384
+ liensEtLibelles: "14px"
385
+ }
386
+ }, y = {
387
+ colors: {
388
+ background: "#ffffff",
389
+ border: "#dddddd",
390
+ text: "#333333",
391
+ icon: "#666666",
392
+ overlay: "rgba(0, 0, 0, 0.5)",
393
+ interactive: "#007bff"
394
+ },
395
+ gap: {
396
+ 0: "0",
397
+ 1: "4px",
398
+ 2: "8px",
399
+ 3: "122px",
400
+ 4: "16px",
401
+ 5: "20px",
402
+ 6: "24px",
403
+ 7: "28px",
404
+ 8: "32px",
405
+ 9: "36px",
406
+ 10: "40px",
407
+ 11: "44px",
408
+ 12: "48px",
409
+ 13: "52px",
410
+ 14: "56px",
411
+ 15: "60px",
412
+ 16: "64px"
413
+ },
414
+ iconSize: {
415
+ xsmall: "8px",
416
+ small: "16px",
417
+ default: "24px",
418
+ large: "32px"
419
+ },
420
+ radius: {
421
+ rounded0: "0",
422
+ rounded: "4px",
423
+ roundedLg: "8px",
424
+ roundedPill: "64px"
425
+ },
426
+ padding: {
427
+ 0: "0",
428
+ 2: "8px",
429
+ 3: "12px",
430
+ 4: "16px",
431
+ 6: "24px",
432
+ 8: "32px",
433
+ 10: "40px",
434
+ 14: "56px",
435
+ 16: "64px"
436
+ },
437
+ fontSize: {
438
+ titres: "24px",
439
+ titresAlternatifs: "20px",
440
+ corpsDeTexte: "16px",
441
+ liensEtLibelles: "14px"
442
+ }
443
+ }, c = {
444
+ // backgroundSurface: apColorsTokens.parma.darken60,
445
+ }, s = (a) => {
446
+ const t = {}, e = (i, n = "") => {
447
+ for (const r in i) {
448
+ const o = i[r], l = n ? `${n}-${r}` : r;
449
+ typeof o == "object" && o !== null ? e(o, l) : t[l] = o;
450
+ }
451
+ };
452
+ return e(a), t;
453
+ };
454
+ function x(a) {
455
+ const t = {};
456
+ if (a.family && a.family.primary && (t["font-family"] = a.family.primary), a.heading && Object.entries(a.heading).forEach(([e, i]) => {
457
+ var n, r;
458
+ t[`typography-${e}-font-size`] = i.fontSize || "", t[`typography-${e}-font-weight`] = ((n = i.fontWeight) == null ? void 0 : n.toString()) || "", t[`typography-${e}-line-height`] = ((r = i.lineHeight) == null ? void 0 : r.toString()) || "", t[`typography-${e}-letter-spacing`] = i.letterSpacing || "normal";
459
+ }), a.body && Object.entries(a.body).forEach(([e, i]) => {
460
+ var n, r;
461
+ t[`typography-${e}-font-size`] = i.fontSize || "", t[`typography-${e}-font-weight`] = ((n = i.fontWeight) == null ? void 0 : n.toString()) || "", t[`typography-${e}-line-height`] = ((r = i.lineHeight) == null ? void 0 : r.toString()) || "", t[`typography-${e}-letter-spacing`] = i.letterSpacing || "normal";
462
+ }), a.subtitle && Object.entries(a.subtitle).forEach(([e, i]) => {
463
+ var n, r;
464
+ t[`typography-${e}-font-size`] = i.fontSize || "", t[`typography-${e}-font-weight`] = ((n = i.fontWeight) == null ? void 0 : n.toString()) || "", t[`typography-${e}-line-height`] = ((r = i.lineHeight) == null ? void 0 : r.toString()) || "", t[`typography-${e}-letter-spacing`] = i.letterSpacing || "normal";
465
+ }), ["caption", "overline"].forEach((e) => {
466
+ var i, n, r, o;
467
+ if (a[e]) {
468
+ const l = a[e];
469
+ if (l && typeof l == "object" && !Array.isArray(l))
470
+ if ("fontSize" in l)
471
+ t[`typography-${e}-font-size`] = l.fontSize || "", t[`typography-${e}-font-weight`] = ((i = l.fontWeight) == null ? void 0 : i.toString()) || "", t[`typography-${e}-line-height`] = ((n = l.lineHeight) == null ? void 0 : n.toString()) || "", t[`typography-${e}-letter-spacing`] = l.letterSpacing || "normal", l.textTransform && (t[`typography-${e}-text-transform`] = l.textTransform || "");
472
+ else {
473
+ const f = l[e];
474
+ f && (t[`typography-${e}-font-size`] = f.fontSize || "", t[`typography-${e}-font-weight`] = ((r = f.fontWeight) == null ? void 0 : r.toString()) || "", t[`typography-${e}-line-height`] = ((o = f.lineHeight) == null ? void 0 : o.toString()) || "", t[`typography-${e}-letter-spacing`] = f.letterSpacing || "normal", f.textTransform && (t[`typography-${e}-text-transform`] = f.textTransform || ""));
475
+ }
476
+ }
477
+ }), a.display) {
478
+ const e = a.display;
479
+ ["display1", "display2"].forEach((i) => {
480
+ var r, o;
481
+ const n = e[i];
482
+ n && (t[`typography-${i}-font-size`] = n.fontSize || "", t[`typography-${i}-font-weight`] = ((r = n.fontWeight) == null ? void 0 : r.toString()) || "", t[`typography-${i}-line-height`] = ((o = n.lineHeight) == null ? void 0 : o.toString()) || "", t[`typography-${i}-letter-spacing`] = n.letterSpacing || "normal", n.textTransform && (t[`typography-${i}-text-transform`] = n.textTransform || ""));
483
+ });
484
+ }
485
+ return t;
486
+ }
487
+ const P = () => C({
488
+ components: $,
489
+ directives: T,
490
+ locale: {
491
+ locale: "fr",
492
+ messages: { fr: v }
493
+ },
494
+ theme: {
495
+ defaultTheme: "cnam",
496
+ themes: {
497
+ cnam: {
498
+ dark: !1,
499
+ colors: {
500
+ ...H,
501
+ ...A,
502
+ ...s(g)
503
+ },
504
+ variables: {
505
+ "border-color": g.grey.base,
506
+ "font-family": m.family.primary,
507
+ ...x(m),
508
+ ...s(F)
509
+ }
510
+ },
511
+ pa: {
512
+ dark: !1,
513
+ colors: {
514
+ ...b,
515
+ ...z,
516
+ ...s(p)
517
+ },
518
+ variables: {
519
+ "border-color": p.grey.base,
520
+ "font-family": h.family.primary,
521
+ ...x(h),
522
+ ...s(E)
523
+ }
524
+ },
525
+ ap2026: {
526
+ dark: !1,
527
+ colors: {
528
+ ...d,
529
+ ...c,
530
+ ...s(W)
531
+ },
532
+ variables: {
533
+ "font-family": '"Arial", sans-serif',
534
+ ...s(y)
535
+ }
536
+ },
537
+ ap: {
538
+ dark: !1,
539
+ colors: {
540
+ ...S,
541
+ ...c,
542
+ ...s(u)
543
+ },
544
+ variables: {
545
+ "font-family": '"Arial", sans-serif',
546
+ ...s(y)
547
+ }
548
+ }
549
+ }
550
+ },
551
+ icons: {
552
+ defaultSet: "mdi",
553
+ aliases: L,
554
+ sets: {
555
+ mdi: w
556
+ }
557
+ }
558
+ });
559
+ export {
560
+ P as createVuetifyInstance
561
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./apLightTheme-CFSRrjv2.cjs"),S=require("vuetify/components"),u=require("vuetify/directives"),g=require("vuetify/iconsets/mdi-svg"),b=require("vuetify/locale"),z=require("vuetify");function d(r){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const e in r)if(e!=="default"){const i=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(t,e,i.get?i:{enumerable:!0,get:()=>r[e]})}}return t.default=r,Object.freeze(t)}const A=d(S),H=d(u),m={family:{primary:'"Arial", sans-serif',secondary:'"Arial", sans-serif'},weight:{thin:100,light:300,regular:400,medium:500,bold:700,black:900},size:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem",xxl:"1.5rem"},lineHeight:{tight:1.3,normal:1.5},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em"},heading:{h1:{fontFamily:'"Arial", sans-serif',fontWeight:700,fontSize:"2rem",lineHeight:1.3,letterSpacing:"-0.025em"},h2:{fontFamily:'"Arial", sans-serif',fontWeight:700,fontSize:"1.75rem",lineHeight:1.3,letterSpacing:"-0.025em"},h3:{fontFamily:'"Arial", sans-serif',fontWeight:700,fontSize:"1.5rem",lineHeight:1.3,letterSpacing:"-0.025em"},h4:{fontFamily:'"Arial", sans-serif',fontWeight:700,fontSize:"1.25rem",lineHeight:1.3,letterSpacing:"0"},h5:{fontFamily:'"Arial", sans-serif',fontWeight:700,fontSize:"1.125rem",lineHeight:1.3,letterSpacing:"0"},h6:{fontFamily:'"Arial", sans-serif',fontWeight:700,fontSize:"1rem",lineHeight:1.3,letterSpacing:"0"}},body:{body1:{fontFamily:'"Arial", sans-serif',fontWeight:400,fontSize:"1.125rem",lineHeight:1.5,letterSpacing:"0"},body2:{fontFamily:'"Arial", sans-serif',fontWeight:400,fontSize:"1rem",lineHeight:1.5,letterSpacing:"0"}},subtitle:{subtitle1:{fontFamily:'"Arial", sans-serif',fontWeight:500,fontSize:"1.125rem",lineHeight:1.5,letterSpacing:"0.009em"},subtitle2:{fontFamily:'"Arial", sans-serif',fontWeight:500,fontSize:"1rem",lineHeight:1.5,letterSpacing:"0.007em"}},caption:{fontFamily:'"Arial", sans-serif',fontWeight:400,fontSize:"0.875rem",lineHeight:1.5,letterSpacing:"0"},overline:{fontFamily:'"Arial", sans-serif',fontWeight:400,fontSize:"0.875rem",lineHeight:1.5,letterSpacing:"0.1em",textTransform:"uppercase"},display:{display1:{fontFamily:'"Arial", sans-serif',fontWeight:300,fontSize:"2.5rem",lineHeight:1.15,letterSpacing:"-0.0075em"},display2:{fontFamily:'"Arial", sans-serif',fontWeight:300,fontSize:"1.875rem",lineHeight:1.1,letterSpacing:"-0.00375em"}}},h={family:{primary:'"Arial", sans-serif',secondary:'"Arial", sans-serif'},weight:{thin:100,light:300,regular:400,medium:500,bold:700,black:900},size:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem",xxl:"1.5rem"},lineHeight:{tight:1.3,normal:1.5},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em"},heading:{h1:{fontFamily:'"Arial", sans-serif',fontWeight:700,fontSize:"1.75rem",lineHeight:1.3,letterSpacing:"-0.025em"},h2:{fontFamily:'"Arial", sans-serif',fontWeight:700,fontSize:"1.25rem",lineHeight:1.3,letterSpacing:"-0.025em"},h3:{fontFamily:'"Arial", sans-serif',fontWeight:700,fontSize:"1.125rem",lineHeight:1.3,letterSpacing:"-0.025em"},h4:{fontFamily:'"Arial", sans-serif',fontWeight:700,fontSize:"1rem",lineHeight:1.3,letterSpacing:"0"},h5:{fontFamily:'"Arial", sans-serif',fontWeight:700,fontSize:"0.875rem",lineHeight:1.3,letterSpacing:"0"},h6:{fontFamily:'"Arial", sans-serif',fontWeight:700,fontSize:"0.75rem",lineHeight:1.3,letterSpacing:"0"}},body:{body1:{fontFamily:'"Arial", sans-serif',fontWeight:400,fontSize:"1rem",lineHeight:1.5,letterSpacing:"0"},body2:{fontFamily:'"Arial", sans-serif',fontWeight:400,fontSize:"0.875rem",lineHeight:1.5,letterSpacing:"0"}},subtitle:{subtitle1:{fontFamily:'"Arial", sans-serif',fontWeight:500,fontSize:"1rem",lineHeight:1.5,letterSpacing:"0.009em"},subtitle2:{fontFamily:'"Arial", sans-serif',fontWeight:500,fontSize:"0.875rem",lineHeight:1.5,letterSpacing:"0.007em"}},caption:{fontFamily:'"Arial", sans-serif',fontWeight:400,fontSize:"0.75rem",lineHeight:1.5,letterSpacing:"0"},overline:{fontFamily:'"Arial", sans-serif',fontWeight:500,fontSize:"0.75rem",lineHeight:1.5,letterSpacing:"0.1em",textTransform:"uppercase"},display:{display1:{fontFamily:'"Arial", sans-serif',fontWeight:300,fontSize:"2rem",lineHeight:1.15,letterSpacing:"-0.006em"},display2:{fontFamily:'"Arial", sans-serif',fontWeight:300,fontSize:"1.75rem",lineHeight:1.1,letterSpacing:"-0.003em"}}},W={colors:{background:"#ffffff",border:"#dddddd",text:"#333333",icon:"#666666",overlay:"rgba(0, 0, 0, 0.5)",interactive:"#007bff"},gap:{0:"0",1:"4px",2:"8px",3:"122px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",11:"44px",12:"48px",13:"52px",14:"56px",15:"60px",16:"64px"},iconSize:{xsmall:"8px",small:"16px",default:"24px",large:"32px"},radius:{rounded0:"0",rounded:"4px",roundedLg:"8px",roundedPill:"64px"},padding:{0:"0",2:"8px",3:"12px",4:"16px",6:"24px",8:"32px",10:"40px",14:"56px",16:"64px"},fontSize:{titres:"24px",titresAlternatifs:"20px",corpsDeTexte:"16px",liensEtLibelles:"14px"}},c={colors:{background:"#ffffff",border:"#dddddd",text:"#333333",icon:"#666666",overlay:"rgba(0, 0, 0, 0.5)",interactive:"#007bff"},gap:{0:"0",1:"4px",2:"8px",3:"122px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",11:"44px",12:"48px",13:"52px",14:"56px",15:"60px",16:"64px"},iconSize:{xsmall:"8px",small:"16px",default:"24px",large:"32px"},radius:{rounded0:"0",rounded:"4px",roundedLg:"8px",roundedPill:"64px"},padding:{0:"0",2:"8px",3:"12px",4:"16px",6:"24px",8:"32px",10:"40px",14:"56px",16:"64px"},fontSize:{titres:"24px",titresAlternatifs:"20px",corpsDeTexte:"16px",liensEtLibelles:"14px"}},y={},f=r=>{const t={},e=(i,n="")=>{for(const a in i){const s=i[a],o=n?`${n}-${a}`:a;typeof s=="object"&&s!==null?e(s,o):t[o]=s}};return e(r),t};function x(r){const t={};if(r.family&&r.family.primary&&(t["font-family"]=r.family.primary),r.heading&&Object.entries(r.heading).forEach(([e,i])=>{var n,a;t[`typography-${e}-font-size`]=i.fontSize||"",t[`typography-${e}-font-weight`]=((n=i.fontWeight)==null?void 0:n.toString())||"",t[`typography-${e}-line-height`]=((a=i.lineHeight)==null?void 0:a.toString())||"",t[`typography-${e}-letter-spacing`]=i.letterSpacing||"normal"}),r.body&&Object.entries(r.body).forEach(([e,i])=>{var n,a;t[`typography-${e}-font-size`]=i.fontSize||"",t[`typography-${e}-font-weight`]=((n=i.fontWeight)==null?void 0:n.toString())||"",t[`typography-${e}-line-height`]=((a=i.lineHeight)==null?void 0:a.toString())||"",t[`typography-${e}-letter-spacing`]=i.letterSpacing||"normal"}),r.subtitle&&Object.entries(r.subtitle).forEach(([e,i])=>{var n,a;t[`typography-${e}-font-size`]=i.fontSize||"",t[`typography-${e}-font-weight`]=((n=i.fontWeight)==null?void 0:n.toString())||"",t[`typography-${e}-line-height`]=((a=i.lineHeight)==null?void 0:a.toString())||"",t[`typography-${e}-letter-spacing`]=i.letterSpacing||"normal"}),["caption","overline"].forEach(e=>{var i,n,a,s;if(r[e]){const o=r[e];if(o&&typeof o=="object"&&!Array.isArray(o))if("fontSize"in o)t[`typography-${e}-font-size`]=o.fontSize||"",t[`typography-${e}-font-weight`]=((i=o.fontWeight)==null?void 0:i.toString())||"",t[`typography-${e}-line-height`]=((n=o.lineHeight)==null?void 0:n.toString())||"",t[`typography-${e}-letter-spacing`]=o.letterSpacing||"normal",o.textTransform&&(t[`typography-${e}-text-transform`]=o.textTransform||"");else{const p=o[e];p&&(t[`typography-${e}-font-size`]=p.fontSize||"",t[`typography-${e}-font-weight`]=((a=p.fontWeight)==null?void 0:a.toString())||"",t[`typography-${e}-line-height`]=((s=p.lineHeight)==null?void 0:s.toString())||"",t[`typography-${e}-letter-spacing`]=p.letterSpacing||"normal",p.textTransform&&(t[`typography-${e}-text-transform`]=p.textTransform||""))}}}),r.display){const e=r.display;["display1","display2"].forEach(i=>{var a,s;const n=e[i];n&&(t[`typography-${i}-font-size`]=n.fontSize||"",t[`typography-${i}-font-weight`]=((a=n.fontWeight)==null?void 0:a.toString())||"",t[`typography-${i}-line-height`]=((s=n.lineHeight)==null?void 0:s.toString())||"",t[`typography-${i}-letter-spacing`]=n.letterSpacing||"normal",n.textTransform&&(t[`typography-${i}-text-transform`]=n.textTransform||""))})}return t}const F=()=>z.createVuetify({components:A,directives:H,locale:{locale:"fr",messages:{fr:b.fr}},theme:{defaultTheme:"cnam",themes:{cnam:{dark:!1,colors:{...l.cnamLightTheme,...l.cnamDarkTheme,...f(l.cnamColorsTokens)},variables:{"border-color":l.cnamColorsTokens.grey.base,"font-family":m.family.primary,...x(m),...f(l.cnamContextualTokens)}},pa:{dark:!1,colors:{...l.paLightTheme,...l.paDarkTheme,...f(l.paColorsTokens)},variables:{"border-color":l.paColorsTokens.grey.base,"font-family":h.family.primary,...x(h),...f(W)}},ap2026:{dark:!1,colors:{...l.apLightTheme2026,...y,...f(l.apColorsTokens2026)},variables:{"font-family":'"Arial", sans-serif',...f(c)}},ap:{dark:!1,colors:{...l.apLightTheme,...y,...f(l.apColorsTokens)},variables:{"font-family":'"Arial", sans-serif',...f(c)}}}},icons:{defaultSet:"mdi",aliases:g.aliases,sets:{mdi:g.mdi}}});exports.createVuetifyInstance=F;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cnamts/synapse",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "private": false,
5
5
  "description": "CNAM DS v3",
6
6
  "type": "module",
@@ -18,6 +18,11 @@
18
18
  "require": "./dist/design-system-v3.umd.cjs"
19
19
  },
20
20
  "./style.css": "./dist/style.css",
21
+ "./vuetifyConfig": {
22
+ "types": "./dist/vuetifyConfig.d.ts",
23
+ "import": "./dist/vuetifyConfig.js",
24
+ "require": "./dist/vuetifyConfig.umd.cjs"
25
+ },
21
26
  "./*": {
22
27
  "types": "./src/*",
23
28
  "default": "./src/*"
@@ -81,7 +86,7 @@
81
86
  "@vue/tsconfig": "~0.8.0",
82
87
  "auto-changelog": "^2.4.0",
83
88
  "axe-core": "^4.11.0",
84
- "axios": "^1.7.7",
89
+ "axios": "^1.14.0",
85
90
  "cross-env": "^10.1.0",
86
91
  "eslint": "^9.13.0",
87
92
  "eslint-plugin-storybook": "^0.11.3",
@@ -104,7 +109,7 @@
104
109
  "stylelint-config-standard-scss": "^14.0.0",
105
110
  "typescript": "~5.9.3",
106
111
  "typescript-eslint": "^8.11.0",
107
- "vite": "^5.3.5",
112
+ "vite": "^6.4.2",
108
113
  "vite-plugin-dts": "^4.5.4",
109
114
  "vite-plugin-vuetify": "^2.1.1",
110
115
  "vitest": "^3.2.4",
@@ -150,7 +155,8 @@
150
155
  "minimatch": ">=10.2.3",
151
156
  "immutable": ">=5.1.5",
152
157
  "flatted": ">=3.4.2",
153
- "handlebars": ">=4.7.9"
158
+ "handlebars": ">=4.7.9",
159
+ "lodash": ">=4.18.0"
154
160
  },
155
161
  "patchedDependencies": {
156
162
  "vuetify@3.12.2": "patches/vuetify@3.12.2.patch"
@@ -15,9 +15,3 @@
15
15
  .v-btn.v-tab {
16
16
  text-transform: uppercase !important;
17
17
  }
18
-
19
- .theme-ap .v-btn {
20
- &:hover {
21
- background-color: apTokens.$colors-interactive-positive-secondary-action-hover !important;
22
- }
23
- }
@@ -3,8 +3,12 @@
3
3
  @use '@/assets/tokens';
4
4
 
5
5
  .v-theme--ap.v-btn--icon .v-icon {
6
- color: apTokens.$colors-icon-accent-primary;
6
+ color: apTokens.$colors-icon-accent-primary !important;
7
7
  transition: color 0.2s ease;
8
+
9
+ &:hover {
10
+ color: apTokens.$colors-icon-accent-secondary !important;
11
+ }
8
12
  }
9
13
 
10
14
  .v-theme--ap2026.v-btn--icon .v-icon {
@@ -25,6 +29,10 @@
25
29
  opacity: 0.08;
26
30
  }
27
31
 
32
+ .v-theme--cnam .v-btn--icon:hover {
33
+ opacity: 0.8;
34
+ }
35
+
28
36
  .v-theme--ap.v-icon,
29
37
  .v-theme--ap2026.v-icon,
30
38
  .v-theme--cnam.v-icon,
@@ -197,12 +197,6 @@
197
197
  }
198
198
  }
199
199
 
200
- .theme-ap {
201
- a {
202
- color: apTokens.$colors-text-accent-primary;
203
- }
204
- }
205
-
206
200
  .theme-ap2026 {
207
201
  a {
208
202
  color: $ap-blue-darken1;
@@ -221,10 +215,6 @@
221
215
 
222
216
  a {
223
217
  font-size: $font-size-xs;
224
-
225
- &:hover {
226
- text-decoration: underline;
227
- }
228
218
  }
229
219
 
230
220
  [class*='text-'] {
@@ -77,8 +77,8 @@ exports[`AmeliproAutoCompleteField > Snapshots > renders the component with all
77
77
  valid = value.trim() !== "";
78
78
  } else {
79
79
  valid = value !== null && value !== void 0;
80
- }
81
- return valid || __vite_ssr_import_0__.ruleMessage(errorMessages, "default");
80
+ };
81
+ return valid || (0,__vite_ssr_import_0__.ruleMessage)(errorMessages, "default");
82
82
  }"
83
83
  style="
84
84
  max-width: modified-input-max-width;