@cnamts/synapse 0.0.13-alpha → 0.0.15-alpha

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 (654) hide show
  1. package/dist/{src/components → components}/BackBtn/BackBtn.d.ts +4 -1
  2. package/dist/components/CookiesSelection/CookiesSelection.d.ts +611 -0
  3. package/dist/{src/components → components}/CopyBtn/config.d.ts +1 -0
  4. package/dist/{src/components → components}/Customs/SyInputSelect/SyInputSelect.d.ts +2 -0
  5. package/dist/components/Customs/SySelect/SySelect.d.ts +1546 -0
  6. package/dist/components/Customs/SySelect/locales.d.ts +3 -0
  7. package/dist/{src/components → components}/Customs/SyTextField/SyTextField.d.ts +4 -4
  8. package/dist/components/DatePicker/DatePicker.d.ts +1315 -0
  9. package/dist/{src/components → components}/DatePicker/DateTextInput.d.ts +15 -15
  10. package/dist/components/DialogBox/DialogBox.d.ts +274 -0
  11. package/dist/{src/components → components}/DialogBox/config.d.ts +1 -1
  12. package/dist/{src/components → components}/DownloadBtn/DownloadBtn.d.ts +9 -0
  13. package/dist/components/DownloadBtn/locales.d.ts +3 -0
  14. package/dist/{src/components → components}/FilterInline/FilterInline.d.ts +2 -3
  15. package/dist/{src/components → components}/FilterSideBar/FilterSideBar.d.ts +1 -1
  16. package/dist/{src/components → components}/FranceConnectBtn/locales.d.ts +1 -0
  17. package/dist/{src/components → components}/HeaderToolbar/HeaderToolbar.d.ts +5 -1
  18. package/dist/components/LangBtn/LangBtn.d.ts +497 -0
  19. package/dist/{src/components → components}/LangBtn/config.d.ts +1 -3
  20. package/dist/{src/components → components}/NirField/NirField.d.ts +28 -29
  21. package/dist/{src/components → components}/PasswordField/PasswordField.d.ts +4 -4
  22. package/dist/components/PeriodField/PeriodField.d.ts +2847 -0
  23. package/dist/{src/components → components}/PhoneField/PhoneField.d.ts +27 -0
  24. package/dist/{src/components → components}/SkipLink/SkipLink.d.ts +3 -2
  25. package/dist/components/UploadWorkflow/UploadWorkflow.d.ts +783 -0
  26. package/dist/{src/components → components}/UserMenuBtn/UserMenuBtn.d.ts +2 -0
  27. package/dist/{src/components → components}/index.d.ts +2 -0
  28. package/dist/{src/composables → composables}/date/useDatePickerAccessibility.d.ts +2 -1
  29. package/dist/design-system-v3.js +4500 -4233
  30. package/dist/design-system-v3.umd.cjs +1 -1
  31. package/dist/{src/designTokens → designTokens}/tokens/cnam/cnamColors.d.ts +5 -10
  32. package/dist/{src/designTokens → designTokens}/tokens/cnam/cnamLightTheme.d.ts +0 -2
  33. package/dist/{src/designTokens → designTokens}/tokens/pa/paColors.d.ts +5 -10
  34. package/dist/{src/designTokens → designTokens}/tokens/pa/paLightTheme.d.ts +4 -5
  35. package/dist/style.css +1 -1
  36. package/dist/{src/vuetifyConfig.d.ts → vuetifyConfig.d.ts} +2 -0
  37. package/package.json +9 -8
  38. package/src/components/BackBtn/Accessibilite.stories.ts +4 -0
  39. package/src/components/BackBtn/BackBtn.stories.ts +34 -6
  40. package/src/components/BackBtn/BackBtn.vue +18 -8
  41. package/src/components/BackBtn/tests/BackBtn.spec.ts +2 -2
  42. package/src/components/BackBtn/tests/__snapshots__/BackBtn.spec.ts.snap +39 -3
  43. package/src/components/BackToTopBtn/Accessibilite.stories.ts +4 -0
  44. package/src/components/BackToTopBtn/BackToTopBtn.stories.ts +78 -21
  45. package/src/components/BackToTopBtn/BackToTopBtn.vue +15 -0
  46. package/src/components/BackToTopBtn/config.ts +2 -2
  47. package/src/components/BackToTopBtn/tests/__snapshots__/BackToTopBtn.spec.ts.snap +98 -6
  48. package/src/components/ChipList/ChipList.vue +1 -0
  49. package/src/components/ContextualMenu/tests/__snapshots__/ContextualMenu.spec.ts.snap +31 -5
  50. package/src/components/CookieBanner/tests/__snapshots__/CookieBanner.spec.ts.snap +570 -101
  51. package/src/components/CookiesSelection/CookiesInformation/tests/CookiesInformation.spec.ts +28 -2
  52. package/src/components/CookiesSelection/CookiesTable/tests/__snapshots__/CookiesTable.spec.ts.snap +13 -1
  53. package/src/components/CookiesSelection/tests/__snapshots__/CookiesSelection.spec.ts.snap +568 -99
  54. package/src/components/CopyBtn/Accessibilite.stories.ts +4 -0
  55. package/src/components/CopyBtn/CopyBtn.stories.ts +2 -2
  56. package/src/components/CopyBtn/CopyBtn.vue +28 -22
  57. package/src/components/CopyBtn/config.ts +2 -1
  58. package/src/components/CopyBtn/tests/__snapshots__/CopyBtn.spec.ts.snap +28 -3
  59. package/src/components/Customs/SyBtnSelect/SyBtnSelect.stories.ts +2 -2
  60. package/src/components/Customs/SyBtnSelect/SyBtnSelect.vue +6 -6
  61. package/src/components/Customs/SyBtnSelect/tests/SyBtnSelect.spec.ts +2 -2
  62. package/src/components/Customs/SyInputSelect/SyInputSelect.stories.ts +3 -0
  63. package/src/components/Customs/SyInputSelect/SyInputSelect.vue +4 -0
  64. package/src/components/Customs/SySelect/SySelect.stories.ts +4 -0
  65. package/src/components/Customs/SySelect/SySelect.vue +84 -9
  66. package/src/components/Customs/SySelect/locales.ts +3 -0
  67. package/src/components/Customs/SySelect/tests/SySelect.spec.ts +24 -2
  68. package/src/components/Customs/SyTextField/SyTextField.stories.ts +2 -2
  69. package/src/components/Customs/SyTextField/SyTextField.vue +6 -6
  70. package/src/components/DataList/DataList.vue +2 -2
  71. package/src/components/DataList/DataListLoading/DataListLoading.vue +2 -2
  72. package/src/components/DataList/DataListLoading/tests/DataListLoading.spec.ts +1 -1
  73. package/src/components/DataList/tests/DataList.spec.ts +10 -10
  74. package/src/components/DataListGroup/tests/DataListGroup.spec.ts +1 -1
  75. package/src/components/DataListItem/DataListItem.vue +9 -9
  76. package/src/components/DataListItem/tests/DataListItem.spec.ts +5 -5
  77. package/src/components/DatePicker/DatePicker.mdx +1 -1
  78. package/src/components/DatePicker/DatePicker.stories.ts +11 -11
  79. package/src/components/DatePicker/DatePicker.vue +89 -59
  80. package/src/components/DatePicker/DatePickerValidation.mdx +338 -0
  81. package/src/components/DatePicker/DatePickerValidation.stories.ts +22 -0
  82. package/src/components/DatePicker/DatePickerValidationExamples.vue +535 -0
  83. package/src/components/DatePicker/DateTextInput.vue +6 -6
  84. package/src/components/DatePicker/tests/DateTextInput.spec.ts +4 -4
  85. package/src/components/DialogBox/DialogBox.stories.ts +5 -2
  86. package/src/components/DialogBox/DialogBox.vue +5 -5
  87. package/src/components/DialogBox/config.ts +1 -1
  88. package/src/components/DialogBox/tests/DialogBox.spec.ts +1 -1
  89. package/src/components/DialogBox/tests/__snapshots__/DialogBox.spec.ts.snap +158 -19
  90. package/src/components/DownloadBtn/Accessibilite.stories.ts +4 -0
  91. package/src/components/DownloadBtn/DownloadBtn.stories.ts +33 -10
  92. package/src/components/DownloadBtn/DownloadBtn.vue +47 -6
  93. package/src/components/DownloadBtn/locales.ts +3 -0
  94. package/src/components/DownloadBtn/tests/__snapshots__/DownloadBtn.spec.ts.snap +75 -6
  95. package/src/components/ErrorPage/ErrorPage.vue +2 -2
  96. package/src/components/ErrorPage/tests/__snapshots__/ErrorPage.spec.ts.snap +212 -38
  97. package/src/components/ExternalLinks/tests/__snapshots__/ExternalLinks.spec.ts.snap +796 -86
  98. package/src/components/FilePreview/tests/FilePreview.spec.ts +1 -1
  99. package/src/components/FilePreview/tests/__snapshots__/FilePreview.spec.ts.snap +27 -5
  100. package/src/components/FilterInline/FilterInline.stories.ts +308 -2
  101. package/src/components/FilterInline/FilterInline.vue +3 -3
  102. package/src/components/FilterInline/tests/__snapshots__/FilterInline.spec.ts.snap +235 -21
  103. package/src/components/FilterSideBar/FilterSideBar.vue +1 -1
  104. package/src/components/FilterSideBar/tests/__snapshots__/FilterSideBar.spec.ts.snap +144 -15
  105. package/src/components/FooterBar/tests/__snapshots__/FooterBar.spec.ts.snap +92 -18
  106. package/src/components/FranceConnectBtn/Accessibilite.stories.ts +4 -0
  107. package/src/components/FranceConnectBtn/FranceConnectBtn.vue +18 -21
  108. package/src/components/FranceConnectBtn/locales.ts +2 -0
  109. package/src/components/FranceConnectBtn/tests/FranceConnectBtn.spec.ts +1 -1
  110. package/src/components/FranceConnectBtn/tests/__snapshots__/FranceConnectBtn.spec.ts.snap +235 -26
  111. package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.vue +3 -0
  112. package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/tests/__snapshots__/HeaderMenuItem.spec.ts.snap +5 -1
  113. package/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.vue +3 -0
  114. package/src/components/HeaderBar/HeaderBurgerMenu/menu.scss +19 -0
  115. package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/HeaderBurgerMenu.spec.ts.snap +20 -6
  116. package/src/components/HeaderBar/HeaderMenuBtn/HeaderMenuBtn.vue +12 -2
  117. package/src/components/HeaderBar/tests/__snapshots__/HeaderBar.spec.ts.snap +68 -37
  118. package/src/components/HeaderToolbar/HeaderToolbar.mdx +1 -1
  119. package/src/components/HeaderToolbar/HeaderToolbar.vue +346 -117
  120. package/src/components/HeaderToolbar/tests/{HeaderToolbar.spec.ts → HeaderToolBar.spec.ts} +2 -2
  121. package/src/components/LangBtn/Accessibilite.stories.ts +4 -0
  122. package/src/components/LangBtn/LangBtn.stories.ts +1 -4
  123. package/src/components/LangBtn/LangBtn.vue +69 -9
  124. package/src/components/LangBtn/config.ts +0 -1
  125. package/src/components/LangBtn/tests/LangBtn.spec.ts +30 -2
  126. package/src/components/LangBtn/tests/__snapshots__/LangBtn.spec.ts.snap +41 -3
  127. package/src/components/LogoBrandSection/tests/__snapshots__/LogoBrandSection.spec.ts.snap +55 -8
  128. package/src/components/MaintenancePage/tests/__snapshots__/MaintenancePage.spec.ts.snap +10 -1
  129. package/src/components/NirField/NirField.stories.ts +7 -7
  130. package/src/components/NirField/NirField.vue +10 -12
  131. package/src/components/NotFoundPage/tests/__snapshots__/NotFoundPage.spec.ts.snap +229 -37
  132. package/src/components/NotificationBar/tests/__snapshots__/NotificationBar.spec.ts.snap +30 -3
  133. package/src/components/PageContainer/Accessibilite.stories.ts +36 -23
  134. package/src/components/PageContainer/tests/__snapshots__/PageContainer.spec.ts.snap +16 -3
  135. package/src/components/PaginatedTable/PaginatedTable.stories.ts +144 -18
  136. package/src/components/PaginatedTable/tests/__snapshots__/PaginatedTable.spec.ts.snap +731 -94
  137. package/src/components/PasswordField/PasswordField.stories.ts +13 -13
  138. package/src/components/PasswordField/PasswordField.vue +6 -6
  139. package/src/components/PeriodField/PeriodField.stories.ts +13 -13
  140. package/src/components/PeriodField/PeriodField.vue +8 -4
  141. package/src/components/PhoneField/PhoneField.stories.ts +265 -0
  142. package/src/components/PhoneField/PhoneField.vue +38 -0
  143. package/src/components/PhoneField/tests/PhoneField.spec.ts +161 -14
  144. package/src/components/RangeField/RangeSlider/tests/__snapshots__/rangeSlider.spec.ts.snap +80 -17
  145. package/src/components/RangeField/tests/__snapshots__/RangeField.spec.ts.snap +981 -162
  146. package/src/components/RatingPicker/EmotionPicker/tests/__snapshots__/EmotionPicker.spec.ts.snap +634 -25
  147. package/src/components/RatingPicker/NumberPicker/NumberPicker.vue +2 -1
  148. package/src/components/RatingPicker/NumberPicker/tests/__snapshots__/NumberPicker.spec.ts.snap +477 -38
  149. package/src/components/RatingPicker/RatingPicker.stories.ts +1 -1
  150. package/src/components/RatingPicker/StarsPicker/tests/__snapshots__/StarsPicker.spec.ts.snap +218 -10
  151. package/src/components/RatingPicker/tests/__snapshots__/RatingPicker.spec.ts.snap +476 -41
  152. package/src/components/SearchListField/SearchListField.stories.ts +1 -1
  153. package/src/components/SelectBtnField/SelectBtnField.stories.ts +1 -1
  154. package/src/components/SelectBtnField/SelectBtnField.vue +11 -15
  155. package/src/components/SelectBtnField/config.ts +1 -1
  156. package/src/components/SelectBtnField/tests/__snapshots__/SelectBtnField.spec.ts.snap +881 -65
  157. package/src/components/SkipLink/Accessibilite.stories.ts +8 -0
  158. package/src/components/SkipLink/SkipLink.vue +11 -9
  159. package/src/components/SkipLink/tests/__snapshots__/skipLink.spec.ts.snap +18 -1
  160. package/src/components/SkipLink/tests/skipLink.spec.ts +120 -6
  161. package/src/components/SocialMediaLinks/tests/__snapshots__/SocialMediaLinks.spec.ts.snap +110 -16
  162. package/src/components/SubHeader/SubHeader.stories.ts +1 -1
  163. package/src/components/SubHeader/tests/SubHeader.spec.ts +1 -1
  164. package/src/components/SyAlert/tests/__snapshots__/SyAlert.spec.ts.snap +78 -6
  165. package/src/components/TableToolbar/tests/__snapshots__/TableToolbar.spec.ts.snap +1034 -124
  166. package/src/components/UploadWorkflow/UploadWorkflow.stories.ts +11 -11
  167. package/src/components/UploadWorkflow/tests/__snapshots__/UploadWorkflow.spec.ts.snap +328 -29
  168. package/src/components/UserMenuBtn/UserMenuBtn.stories.ts +64 -8
  169. package/src/components/UserMenuBtn/UserMenuBtn.vue +4 -2
  170. package/src/components/UserMenuBtn/tests/UserMenuBtn.spec.ts +41 -0
  171. package/src/components/index.ts +2 -0
  172. package/src/composables/date/tests/useDatePickerAccessibility.spec.ts +83 -5
  173. package/src/composables/date/useDatePickerAccessibility.ts +48 -3
  174. package/src/composables/rules/useFieldValidation.ts +26 -3
  175. package/src/designTokens/tokens/cnam/cnamColors.ts +5 -10
  176. package/src/designTokens/tokens/cnam/cnamLightTheme.ts +0 -2
  177. package/src/designTokens/tokens/cnam/cnamSemantic.ts +3 -3
  178. package/src/designTokens/tokens/pa/paColors.ts +5 -10
  179. package/src/designTokens/tokens/pa/paLightTheme.ts +4 -5
  180. package/src/designTokens/tokens/pa/paSemantic.ts +3 -3
  181. package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +1 -1
  182. package/src/stories/DesignTokens/ColorDisplay.vue +58 -0
  183. package/src/stories/DesignTokens/Colors.mdx +81 -212
  184. package/src/stories/DesignTokens/colors.stories.ts +1078 -0
  185. package/src/stories/GuideDuDev/LesBreackingChanges.mdx +31 -2
  186. package/src/stories/GuideDuDev/UtiliserLesRules.mdx +30 -8
  187. package/dist/src/components/Amelipro/types/types.d.ts +0 -38
  188. package/dist/src/components/BackBtn/tests/BackBtn.spec.d.ts +0 -1
  189. package/dist/src/components/BackToTopBtn/tests/BackToTopBtn.spec.d.ts +0 -1
  190. package/dist/src/components/ChipList/tests/chipList.spec.d.ts +0 -1
  191. package/dist/src/components/CollapsibleList/tests/CollapsibleList.spec.d.ts +0 -1
  192. package/dist/src/components/ContextualMenu/tests/ContextualMenu.spec.d.ts +0 -1
  193. package/dist/src/components/CookieBanner/tests/CookieBanner.spec.d.ts +0 -1
  194. package/dist/src/components/CookiesSelection/CookiesInformation/tests/CookiesInformation.spec.d.ts +0 -1
  195. package/dist/src/components/CookiesSelection/CookiesTable/tests/CookiesTable.spec.d.ts +0 -1
  196. package/dist/src/components/CookiesSelection/tests/CookiesSelection.spec.d.ts +0 -1
  197. package/dist/src/components/CopyBtn/tests/CopyBtn.spec.d.ts +0 -1
  198. package/dist/src/components/Customs/SyBtnSelect/tests/SyBtnSelect.spec.d.ts +0 -1
  199. package/dist/src/components/Customs/SyInputSelect/tests/SyInputSelect.spec.d.ts +0 -1
  200. package/dist/src/components/Customs/SySelect/tests/SySelect.spec.d.ts +0 -1
  201. package/dist/src/components/Customs/SyTextField/tests/SyTextField.spec.d.ts +0 -1
  202. package/dist/src/components/DataList/DataListLoading/tests/DataListLoading.spec.d.ts +0 -1
  203. package/dist/src/components/DataList/tests/DataList.spec.d.ts +0 -1
  204. package/dist/src/components/DataListGroup/tests/DataListGroup.spec.d.ts +0 -1
  205. package/dist/src/components/DataListItem/tests/DataListItem.spec.d.ts +0 -1
  206. package/dist/src/components/DatePicker/DatePicker.d.ts +0 -597
  207. package/dist/src/components/DatePicker/tests/DatePicker.spec.d.ts +0 -1
  208. package/dist/src/components/DatePicker/tests/DateTextInput.spec.d.ts +0 -1
  209. package/dist/src/components/DialogBox/tests/DialogBox.spec.d.ts +0 -1
  210. package/dist/src/components/DownloadBtn/tests/DownloadBtn.spec.d.ts +0 -1
  211. package/dist/src/components/ErrorPage/tests/ErrorPage.spec.d.ts +0 -1
  212. package/dist/src/components/ExternalLinks/tests/ExternalLinks.spec.d.ts +0 -1
  213. package/dist/src/components/FileList/tests/FileList.spec.d.ts +0 -1
  214. package/dist/src/components/FilePreview/tests/FilePreview.spec.d.ts +0 -1
  215. package/dist/src/components/FileUpload/tests/FileUpload.spec.d.ts +0 -1
  216. package/dist/src/components/FilterInline/tests/FilterInline.spec.d.ts +0 -1
  217. package/dist/src/components/FilterSideBar/tests/FilterSideBar.spec.d.ts +0 -1
  218. package/dist/src/components/FooterBar/tests/FooterBar.spec.d.ts +0 -1
  219. package/dist/src/components/FooterBar/tests/FooterBarConfig.spec.d.ts +0 -1
  220. package/dist/src/components/FranceConnectBtn/tests/FranceConnectBtn.spec.d.ts +0 -1
  221. package/dist/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/tests/HeaderMenuItem.spec.d.ts +0 -1
  222. package/dist/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuSection/tests/HeaderMenuSection.spec.d.ts +0 -1
  223. package/dist/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/tests/HeaderSubMenu.spec.d.ts +0 -1
  224. package/dist/src/components/HeaderBar/HeaderBurgerMenu/tests/HeaderBurgerMenu.spec.d.ts +0 -1
  225. package/dist/src/components/HeaderBar/HeaderBurgerMenu/tests/useHandleSubMenus.spec.d.ts +0 -1
  226. package/dist/src/components/HeaderBar/HeaderLogo/tests/HeaderLogo.spec.d.ts +0 -1
  227. package/dist/src/components/HeaderBar/HeaderMenuBtn/tests/HeaderMenuBtn.spec.d.ts +0 -1
  228. package/dist/src/components/HeaderBar/tests/HeaderBar.spec.d.ts +0 -1
  229. package/dist/src/components/HeaderBar/tests/useHeaderResponsiveMode.spec.d.ts +0 -1
  230. package/dist/src/components/HeaderBar/tests/useScrollDirection.spec.d.ts +0 -1
  231. package/dist/src/components/HeaderLoading/tests/HeaderLoading.spec.d.ts +0 -1
  232. package/dist/src/components/HeaderNavigationBar/tests/HeaderNavigationBar.spec.d.ts +0 -1
  233. package/dist/src/components/HeaderToolbar/tests/HeaderToolbar.spec.d.ts +0 -1
  234. package/dist/src/components/LangBtn/LangBtn.d.ts +0 -31
  235. package/dist/src/components/LangBtn/tests/Config.spec.d.ts +0 -1
  236. package/dist/src/components/LangBtn/tests/LangBtn.spec.d.ts +0 -1
  237. package/dist/src/components/Logo/tests/Logo.spec.d.ts +0 -1
  238. package/dist/src/components/LogoBrandSection/tests/LogoBrandSection.spec.d.ts +0 -1
  239. package/dist/src/components/MaintenancePage/tests/MaintenancePage.spec.d.ts +0 -1
  240. package/dist/src/components/NirField/config.d.ts +0 -15
  241. package/dist/src/components/NirField/tests/NirField.spec.d.ts +0 -1
  242. package/dist/src/components/NirField/tests/config.spec.d.ts +0 -1
  243. package/dist/src/components/NotFoundPage/tests/NotFoundPage.spec.d.ts +0 -1
  244. package/dist/src/components/NotificationBar/tests/NotificationBar.spec.d.ts +0 -1
  245. package/dist/src/components/PageContainer/tests/PageContainer.spec.d.ts +0 -1
  246. package/dist/src/components/PaginatedTable/tests/PaginatedTable.spec.d.ts +0 -1
  247. package/dist/src/components/PasswordField/tests/PasswordField.spec.d.ts +0 -1
  248. package/dist/src/components/PeriodField/PeriodField.d.ts +0 -1405
  249. package/dist/src/components/PeriodField/tests/PeriodField.spec.d.ts +0 -1
  250. package/dist/src/components/PhoneField/tests/PhoneField.spec.d.ts +0 -1
  251. package/dist/src/components/RangeField/RangeSlider/tests/rangeSlider.spec.d.ts +0 -1
  252. package/dist/src/components/RangeField/RangeSlider/tests/useDoubleSlider.spec.d.ts +0 -1
  253. package/dist/src/components/RangeField/RangeSlider/tests/useMouseSlide.spec.d.ts +0 -1
  254. package/dist/src/components/RangeField/RangeSlider/tests/useThumb.spec.d.ts +0 -1
  255. package/dist/src/components/RangeField/RangeSlider/tests/useThumbKeyboard.spec.d.ts +0 -1
  256. package/dist/src/components/RangeField/RangeSlider/tests/useTooltipsNudge.spec.d.ts +0 -1
  257. package/dist/src/components/RangeField/RangeSlider/tests/useTrack.spec.d.ts +0 -1
  258. package/dist/src/components/RangeField/RangeSlider/tests/vAnimateClick.spec.d.ts +0 -1
  259. package/dist/src/components/RangeField/tests/RangeField.spec.d.ts +0 -1
  260. package/dist/src/components/RatingPicker/EmotionPicker/tests/EmotionPicker.spec.d.ts +0 -1
  261. package/dist/src/components/RatingPicker/NumberPicker/tests/NumberPicker.spec.d.ts +0 -1
  262. package/dist/src/components/RatingPicker/StarsPicker/tests/StarsPicker.spec.d.ts +0 -1
  263. package/dist/src/components/RatingPicker/tests/Rating.spec.d.ts +0 -1
  264. package/dist/src/components/RatingPicker/tests/RatingPicker.spec.d.ts +0 -1
  265. package/dist/src/components/SearchListField/tests/SearchListField.spec.d.ts +0 -1
  266. package/dist/src/components/SelectBtnField/tests/SelectBtnField.spec.d.ts +0 -1
  267. package/dist/src/components/SkipLink/tests/skipLink.spec.d.ts +0 -1
  268. package/dist/src/components/SocialMediaLinks/tests/DefaultSocialMediaLinks.spec.d.ts +0 -1
  269. package/dist/src/components/SocialMediaLinks/tests/SocialMediaLinks.spec.d.ts +0 -1
  270. package/dist/src/components/SubHeader/tests/SubHeader.spec.d.ts +0 -1
  271. package/dist/src/components/SyAlert/tests/SyAlert.spec.d.ts +0 -1
  272. package/dist/src/components/TableToolbar/tests/TableToolbar.spec.d.ts +0 -1
  273. package/dist/src/components/UploadWorkflow/tests/UploadWorkflow.spec.d.ts +0 -1
  274. package/dist/src/components/Usages/Usages.d.ts +0 -10
  275. package/dist/src/components/Usages/tests/Usages.spec.d.ts +0 -1
  276. package/dist/src/components/UserMenuBtn/tests/UserMenuBtn.spec.d.ts +0 -1
  277. package/dist/src/composables/date/tests/useDateFormat.spec.d.ts +0 -1
  278. package/dist/src/composables/date/tests/useDateInitialization.spec.d.ts +0 -1
  279. package/dist/src/composables/date/tests/useDatePickerAccessibility.spec.d.ts +0 -1
  280. package/dist/src/composables/rules/tests/useFieldValidation.spec.d.ts +0 -1
  281. package/dist/src/composables/useFilterable/useFilterable.spec.d.ts +0 -1
  282. package/dist/src/composables/validation/tests/useValidation.spec.d.ts +0 -1
  283. package/dist/src/composables/widthable/tests/widthable.spec.d.ts +0 -1
  284. package/dist/src/utils/calcHumanFileSize/tests/calcHumanFileSize.spec.d.ts +0 -1
  285. package/dist/src/utils/convertToUnit/test/convertToUnit.spec.d.ts +0 -1
  286. package/dist/src/utils/formatDate/tests/formatDate.spec.d.ts +0 -1
  287. package/dist/src/utils/functions/copyToClipboard/tests/copyToClipboard.spec.d.ts +0 -1
  288. package/dist/src/utils/functions/deepCopy/tests/deepCopy.spec.d.ts +0 -1
  289. package/dist/src/utils/functions/downloadFile/tests/downloadFile.spec.d.ts +0 -1
  290. package/dist/src/utils/functions/throttleDisplayFn/tests/throttleDisplayFn.spec.d.ts +0 -1
  291. package/dist/src/utils/functions/validation/isDateAfter/tests/isDateAfter.spec.d.ts +0 -1
  292. package/dist/src/utils/functions/validation/isDateBefore/tests/isDateBefore.spec.d.ts +0 -1
  293. package/dist/src/utils/functions/validation/isDateInRange/tests/isDateInRange.spec.d.ts +0 -1
  294. package/dist/src/utils/functions/validation/isDateValid/tests/isDateValid.spec.d.ts +0 -1
  295. package/dist/src/utils/functions/validation/isEmailValid/tests/isEmailValid.spec.d.ts +0 -1
  296. package/dist/src/utils/functions/validation/isWeekend/tests/isWeekend.spec.d.ts +0 -1
  297. package/dist/src/utils/localStorageUtility/tests/localStorageUtility.spec.d.ts +0 -1
  298. package/dist/src/utils/parseDate/tests/parseDate.spec.d.ts +0 -1
  299. package/dist/src/utils/propValidator/tests/propValidator.spec.d.ts +0 -1
  300. package/dist/src/utils/ruleMessage/tests/ruleMessages.spec.d.ts +0 -1
  301. package/dist/src/utils/rules/doMatchPattern/tests/matchPattern.spec.d.ts +0 -1
  302. package/dist/src/utils/rules/isDateValid/tests/isDateValid.spec.d.ts +0 -1
  303. package/dist/src/utils/rules/isExactLength/tests/exactLength.spec.d.ts +0 -1
  304. package/dist/src/utils/rules/isMaxLength/tests/isMaxLength.spec.d.ts +0 -1
  305. package/dist/src/utils/rules/isMinLength/tests/isMinLength.spec.d.ts +0 -1
  306. package/dist/src/utils/rules/isNotAfterDate/tests/isNotAfterDate.spec.d.ts +0 -1
  307. package/dist/src/utils/rules/isNotAfterToday/tests/isNotAfterToday.spec.d.ts +0 -1
  308. package/dist/src/utils/rules/isNotBeforeDate/tests/IsNotBeforeDate.spec.d.ts +0 -1
  309. package/dist/src/utils/rules/isNotBeforeToday/tests/notBeforeToday.spec.d.ts +0 -1
  310. package/dist/src/utils/rules/isRequired/tests/isRequred.spec.d.ts +0 -1
  311. package/dist/src/utils/rules/isValidEmail/tests/isValidEmail.spec.d.ts +0 -1
  312. package/src/components/Amelipro/types/types.ts +0 -40
  313. package/src/components/LangBtn/tests/Config.spec.ts +0 -24
  314. package/src/components/NirField/config.ts +0 -16
  315. package/src/components/NirField/tests/config.spec.ts +0 -65
  316. package/dist/{src/components → components}/BackBtn/AccessibiliteItems.d.ts +0 -0
  317. package/dist/{src/components → components}/BackBtn/constants/ExpertiseLevelEnum.d.ts +0 -0
  318. package/dist/{src/components → components}/BackBtn/locales.d.ts +0 -0
  319. package/dist/{src/components → components}/BackToTopBtn/AccessibiliteItems.d.ts +0 -0
  320. package/dist/{src/components → components}/BackToTopBtn/BackToTopBtn.d.ts +0 -0
  321. package/dist/{src/components → components}/BackToTopBtn/config.d.ts +0 -0
  322. package/dist/{src/components → components}/BackToTopBtn/constants/ExpertiseLevelEnum.d.ts +0 -0
  323. package/dist/{src/components → components}/BackToTopBtn/locales.d.ts +0 -0
  324. package/dist/{src/components → components}/ChipList/AccessibiliteItems.d.ts +0 -0
  325. package/dist/{src/components → components}/ChipList/ChipList.d.ts +0 -0
  326. package/dist/{src/components → components}/ChipList/config.d.ts +0 -0
  327. package/dist/{src/components → components}/ChipList/constants/ExpertiseLevelEnum.d.ts +0 -0
  328. package/dist/{src/components → components}/ChipList/locales.d.ts +0 -0
  329. package/dist/{src/components → components}/ChipList/types.d.ts +0 -0
  330. package/dist/{src/components → components}/CollapsibleList/AccessibiliteItems.d.ts +0 -0
  331. package/dist/{src/components → components}/CollapsibleList/CollapsibleList.d.ts +0 -0
  332. package/dist/{src/components → components}/CollapsibleList/constants/ExpertiseLevelEnum.d.ts +0 -0
  333. package/dist/{src/components → components}/CollapsibleList/types.d.ts +0 -0
  334. package/dist/{src/components → components}/ContextualMenu/AccessibiliteItems.d.ts +0 -0
  335. package/dist/{src/components → components}/ContextualMenu/ContextualMenu.d.ts +0 -0
  336. package/dist/{src/components → components}/ContextualMenu/constants/ExpertiseLevelEnum.d.ts +0 -0
  337. package/dist/{src/components → components}/ContextualMenu/types.d.ts +0 -0
  338. package/dist/{src/components → components}/CookieBanner/AccessibiliteItems.d.ts +0 -0
  339. package/dist/{src/components → components}/CookieBanner/CookieBanner.d.ts +0 -0
  340. package/dist/{src/components → components}/CookieBanner/config.d.ts +0 -0
  341. package/dist/{src/components → components}/CookieBanner/constants/ExpertiseLevelEnum.d.ts +0 -0
  342. package/dist/{src/components → components}/CookieBanner/locales.d.ts +0 -0
  343. package/dist/{src/components → components}/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +0 -0
  344. package/dist/{src/components → components}/CookiesSelection/CookiesInformation/locales.d.ts +0 -0
  345. package/dist/{src/components → components}/CookiesSelection/CookiesTable/CookiesTable.d.ts +0 -0
  346. package/dist/{src/components → components}/CookiesSelection/CookiesTable/headers.d.ts +0 -0
  347. package/dist/{src/components → components}/CookiesSelection/locales.d.ts +0 -0
  348. package/dist/{src/components → components}/CookiesSelection/types.d.ts +0 -0
  349. package/dist/{src/components → components}/CopyBtn/AccessibiliteItems.d.ts +0 -0
  350. package/dist/{src/components → components}/CopyBtn/CopyBtn.d.ts +0 -0
  351. package/dist/{src/components → components}/CopyBtn/constants/ExpertiseLevelEnum.d.ts +0 -0
  352. package/dist/{src/components → components}/CopyBtn/locales.d.ts +0 -0
  353. package/dist/{src/components → components}/Customs/SyBtnSelect/AccessibiliteItems.d.ts +0 -0
  354. package/dist/{src/components → components}/Customs/SyBtnSelect/SyBtnSelect.d.ts +0 -0
  355. package/dist/{src/components → components}/Customs/SyBtnSelect/constants/ExpertiseLevelEnum.d.ts +0 -0
  356. package/dist/{src/components → components}/Customs/SyInputSelect/AccessibiliteItems.d.ts +0 -0
  357. package/dist/{src/components → components}/Customs/SyInputSelect/config.d.ts +0 -0
  358. package/dist/{src/components → components}/Customs/SyInputSelect/constants/ExpertiseLevelEnum.d.ts +0 -0
  359. package/dist/{src/components → components}/Customs/SySelect/AccessibiliteItems.d.ts +0 -0
  360. package/dist/{src/components → components}/Customs/SySelect/constants/ExpertiseLevelEnum.d.ts +0 -0
  361. package/dist/{src/components → components}/Customs/SyTextField/AccessibiliteItems.d.ts +0 -0
  362. package/dist/{src/components → components}/Customs/SyTextField/constants/ExpertiseLevelEnum.d.ts +0 -0
  363. package/dist/{src/components → components}/Customs/SyTextField/types.d.ts +0 -0
  364. package/dist/{src/components → components}/DataList/AccessibiliteItems.d.ts +0 -0
  365. package/dist/{src/components → components}/DataList/DataList.d.ts +0 -0
  366. package/dist/{src/components → components}/DataList/DataListLoading/DataListLoading.d.ts +0 -0
  367. package/dist/{src/components → components}/DataList/constants/ExpertiseLevelEnum.d.ts +0 -0
  368. package/dist/{src/components → components}/DataList/locales.d.ts +0 -0
  369. package/dist/{src/components → components}/DataList/types.d.ts +0 -0
  370. package/dist/{src/components → components}/DataListGroup/AccessibiliteItems.d.ts +0 -0
  371. package/dist/{src/components → components}/DataListGroup/DataListGroup.d.ts +0 -0
  372. package/dist/{src/components → components}/DataListGroup/constants/ExpertiseLevelEnum.d.ts +0 -0
  373. package/dist/{src/components → components}/DataListGroup/tests/data/dataListGroupItems.d.ts +0 -0
  374. package/dist/{src/components → components}/DataListGroup/types.d.ts +0 -0
  375. package/dist/{src/components → components}/DataListItem/DataListItem.d.ts +0 -0
  376. package/dist/{src/components → components}/DataListItem/config.d.ts +0 -0
  377. package/dist/{src/components → components}/DataListItem/locales.d.ts +0 -0
  378. package/dist/{src/components → components}/DataListItem/types.d.ts +0 -0
  379. package/dist/{src/components → components}/DatePicker/AccessibiliteItems.d.ts +0 -0
  380. package/dist/{src/components → components}/DatePicker/constants/ExpertiseLevelEnum.d.ts +0 -0
  381. package/dist/{src/components → components}/DialogBox/AccessibiliteItems.d.ts +0 -0
  382. package/dist/{src/components → components}/DialogBox/constants/ExpertiseLevelEnum.d.ts +0 -0
  383. package/dist/{src/components → components}/DialogBox/locales.d.ts +0 -0
  384. package/dist/{src/components → components}/DownloadBtn/AccessibiliteItems.d.ts +0 -0
  385. package/dist/{src/components → components}/DownloadBtn/config.d.ts +0 -0
  386. package/dist/{src/components → components}/DownloadBtn/constants/ExpertiseLevelEnum.d.ts +0 -0
  387. package/dist/{src/components → components}/DownloadBtn/tests/data/filePromise.d.ts +0 -0
  388. package/dist/{src/components → components}/ErrorPage/AccessibiliteItems.d.ts +0 -0
  389. package/dist/{src/components → components}/ErrorPage/ErrorPage.d.ts +0 -0
  390. package/dist/{src/components → components}/ErrorPage/constants/ExpertiseLevelEnum.d.ts +0 -0
  391. package/dist/{src/components → components}/ErrorPage/locales.d.ts +0 -0
  392. package/dist/{src/components → components}/ExternalLinks/AccessibiliteItems.d.ts +0 -0
  393. package/dist/{src/components → components}/ExternalLinks/ExternalLinks.d.ts +0 -0
  394. package/dist/{src/components → components}/ExternalLinks/config.d.ts +0 -0
  395. package/dist/{src/components → components}/ExternalLinks/constants/ExpertiseLevelEnum.d.ts +0 -0
  396. package/dist/{src/components → components}/ExternalLinks/locales.d.ts +0 -0
  397. package/dist/{src/components → components}/FileList/AccessibiliteItems.d.ts +0 -0
  398. package/dist/{src/components → components}/FileList/FileList.d.ts +0 -0
  399. package/dist/{src/components → components}/FileList/UploadItem/UploadItem.d.ts +0 -0
  400. package/dist/{src/components → components}/FileList/UploadItem/locales.d.ts +0 -0
  401. package/dist/{src/components → components}/FileList/constants/ExpertiseLevelEnum.d.ts +0 -0
  402. package/dist/{src/components → components}/FilePreview/AccessibiliteItems.d.ts +0 -0
  403. package/dist/{src/components → components}/FilePreview/FilePreview.d.ts +0 -0
  404. package/dist/{src/components → components}/FilePreview/config.d.ts +0 -0
  405. package/dist/{src/components → components}/FilePreview/constants/ExpertiseLevelEnum.d.ts +0 -0
  406. package/dist/{src/components → components}/FilePreview/locales.d.ts +0 -0
  407. package/dist/{src/components → components}/FileUpload/AccessibiliteItems.d.ts +0 -0
  408. package/dist/{src/components → components}/FileUpload/FileUpload.d.ts +0 -0
  409. package/dist/{src/components → components}/FileUpload/FileUploadContent.d.ts +0 -0
  410. package/dist/{src/components → components}/FileUpload/constants/ExpertiseLevelEnum.d.ts +0 -0
  411. package/dist/{src/components → components}/FileUpload/locales.d.ts +0 -0
  412. package/dist/{src/components → components}/FileUpload/useFileDrop.d.ts +0 -0
  413. package/dist/{src/components → components}/FileUpload/validateFiles.d.ts +0 -0
  414. package/dist/{src/components → components}/FilterInline/AccessibiliteItems.d.ts +0 -0
  415. package/dist/{src/components → components}/FilterInline/constants/ExpertiseLevelEnum.d.ts +0 -0
  416. package/dist/{src/components → components}/FilterInline/locales.d.ts +0 -0
  417. package/dist/{src/components → components}/FilterSideBar/AccessibiliteItems.d.ts +0 -0
  418. package/dist/{src/components → components}/FilterSideBar/constants/ExpertiseLevelEnum.d.ts +0 -0
  419. package/dist/{src/components → components}/FilterSideBar/locales.d.ts +0 -0
  420. package/dist/{src/components → components}/FooterBar/A11yCompliance.d.ts +0 -0
  421. package/dist/{src/components → components}/FooterBar/AccessibiliteItems.d.ts +0 -0
  422. package/dist/{src/components → components}/FooterBar/FooterBar.d.ts +0 -0
  423. package/dist/{src/components → components}/FooterBar/config.d.ts +0 -0
  424. package/dist/{src/components → components}/FooterBar/constants/ExpertiseLevelEnum.d.ts +0 -0
  425. package/dist/{src/components → components}/FooterBar/defaultSocialMediaLinks.d.ts +0 -0
  426. package/dist/{src/components → components}/FooterBar/locales.d.ts +0 -0
  427. package/dist/{src/components → components}/FooterBar/types.d.ts +0 -0
  428. package/dist/{src/components → components}/FranceConnectBtn/AccessibiliteItems.d.ts +0 -0
  429. package/dist/{src/components → components}/FranceConnectBtn/FranceConnectBtn.d.ts +0 -0
  430. package/dist/{src/components → components}/FranceConnectBtn/constants/ExpertiseLevelEnum.d.ts +0 -0
  431. package/dist/{src/components → components}/HeaderBar/AccessibiliteItems.d.ts +0 -0
  432. package/dist/{src/components → components}/HeaderBar/HeaderBar.d.ts +0 -0
  433. package/dist/{src/components → components}/HeaderBar/HeaderBurgerMenu/AccessibiliteItems.d.ts +0 -0
  434. package/dist/{src/components → components}/HeaderBar/HeaderBurgerMenu/HeaderBurgerMenu.d.ts +0 -0
  435. package/dist/{src/components → components}/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.d.ts +0 -0
  436. package/dist/{src/components → components}/HeaderBar/HeaderBurgerMenu/HeaderMenuSection/HeaderMenuSection.d.ts +0 -0
  437. package/dist/{src/components → components}/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.d.ts +0 -0
  438. package/dist/{src/components → components}/HeaderBar/HeaderBurgerMenu/constants/ExpertiseLevelEnum.d.ts +0 -0
  439. package/dist/{src/components → components}/HeaderBar/HeaderBurgerMenu/conts.d.ts +0 -0
  440. package/dist/{src/components → components}/HeaderBar/HeaderBurgerMenu/locals.d.ts +0 -0
  441. package/dist/{src/components → components}/HeaderBar/HeaderBurgerMenu/useHandleSubMenus.d.ts +0 -0
  442. package/dist/{src/components → components}/HeaderBar/HeaderLogo/HeaderLogo.d.ts +0 -0
  443. package/dist/{src/components → components}/HeaderBar/HeaderLogo/locales.d.ts +0 -0
  444. package/dist/{src/components → components}/HeaderBar/HeaderLogo/logos/Logo-mobile.d.ts +0 -0
  445. package/dist/{src/components → components}/HeaderBar/HeaderLogo/logos/Logo.d.ts +0 -0
  446. package/dist/{src/components → components}/HeaderBar/HeaderMenuBtn/HeaderMenuBtn.d.ts +0 -0
  447. package/dist/{src/components → components}/HeaderBar/HeaderMenuBtn/locals.d.ts +0 -0
  448. package/dist/{src/components → components}/HeaderBar/constants/ExpertiseLevelEnum.d.ts +0 -0
  449. package/dist/{src/components → components}/HeaderBar/consts.d.ts +0 -0
  450. package/dist/{src/components → components}/HeaderBar/locales.d.ts +0 -0
  451. package/dist/{src/components → components}/HeaderBar/useHeaderResponsiveMode.d.ts +0 -0
  452. package/dist/{src/components → components}/HeaderBar/useScrollDirection.d.ts +0 -0
  453. package/dist/{src/components → components}/HeaderLoading/AccessibiliteItems.d.ts +0 -0
  454. package/dist/{src/components → components}/HeaderLoading/HeaderLoading.d.ts +0 -0
  455. package/dist/{src/components → components}/HeaderLoading/constants/ExpertiseLevelEnum.d.ts +0 -0
  456. package/dist/{src/components → components}/HeaderNavigationBar/HeaderNavigationBar.d.ts +0 -0
  457. package/dist/{src/components → components}/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.d.ts +0 -0
  458. package/dist/{src/components → components}/HeaderNavigationBar/HorizontalNavbar/config.d.ts +0 -0
  459. package/dist/{src/components → components}/HeaderNavigationBar/types.d.ts +0 -0
  460. package/dist/{src/components → components}/HeaderToolbar/AccessibiliteItems.d.ts +0 -0
  461. package/dist/{src/components → components}/HeaderToolbar/constants/ExpertiseLevelEnum.d.ts +0 -0
  462. package/dist/{src/components → components}/HeaderToolbar/types.d.ts +0 -0
  463. package/dist/{src/components → components}/LangBtn/AccessibiliteItems.d.ts +0 -0
  464. package/dist/{src/components → components}/LangBtn/constants/ExpertiseLevelEnum.d.ts +0 -0
  465. package/dist/{src/components → components}/LangBtn/locales.d.ts +0 -0
  466. package/dist/{src/components → components}/LangBtn/types.d.ts +0 -0
  467. package/dist/{src/components → components}/Logo/AccessibiliteItems.d.ts +0 -0
  468. package/dist/{src/components → components}/Logo/Logo.d.ts +0 -0
  469. package/dist/{src/components → components}/Logo/LogoSize.d.ts +0 -0
  470. package/dist/{src/components → components}/Logo/constants/ExpertiseLevelEnum.d.ts +0 -0
  471. package/dist/{src/components → components}/Logo/locales.d.ts +0 -0
  472. package/dist/{src/components → components}/Logo/logoDimensionsMapping.d.ts +0 -0
  473. package/dist/{src/components → components}/Logo/types.d.ts +0 -0
  474. package/dist/{src/components → components}/LogoBrandSection/AccessibiliteItems.d.ts +0 -0
  475. package/dist/{src/components → components}/LogoBrandSection/LogoBrandSection.d.ts +0 -0
  476. package/dist/{src/components → components}/LogoBrandSection/constants/ExpertiseLevelEnum.d.ts +0 -0
  477. package/dist/{src/components → components}/LogoBrandSection/dividerDimensionsMapping.d.ts +0 -0
  478. package/dist/{src/components → components}/LogoBrandSection/locales.d.ts +0 -0
  479. package/dist/{src/components → components}/LogoBrandSection/secondaryLogoMapping.d.ts +0 -0
  480. package/dist/{src/components → components}/LogoBrandSection/types.d.ts +0 -0
  481. package/dist/{src/components → components}/MaintenancePage/AccessibiliteItems.d.ts +0 -0
  482. package/dist/{src/components → components}/MaintenancePage/MaintenancePage.d.ts +0 -0
  483. package/dist/{src/components → components}/MaintenancePage/constants/ExpertiseLevelEnum.d.ts +0 -0
  484. package/dist/{src/components → components}/MaintenancePage/index.d.ts +0 -0
  485. package/dist/{src/components → components}/MaintenancePage/locales.d.ts +0 -0
  486. package/dist/{src/components → components}/NirField/AccessibiliteItems.d.ts +0 -0
  487. package/dist/{src/components → components}/NirField/constants/ExpertiseLevelEnum.d.ts +0 -0
  488. package/dist/{src/components → components}/NirField/locales.d.ts +0 -0
  489. package/dist/{src/components → components}/NirField/nirValidation.d.ts +0 -0
  490. package/dist/{src/components → components}/NotFoundPage/AccessibiliteItems.d.ts +0 -0
  491. package/dist/{src/components → components}/NotFoundPage/NotFoundPage.d.ts +0 -0
  492. package/dist/{src/components → components}/NotFoundPage/constants/ExpertiseLevelEnum.d.ts +0 -0
  493. package/dist/{src/components → components}/NotFoundPage/locales.d.ts +0 -0
  494. package/dist/{src/components → components}/NotificationBar/AccessibiliteItems.d.ts +0 -0
  495. package/dist/{src/components → components}/NotificationBar/NotificationBar.d.ts +0 -0
  496. package/dist/{src/components → components}/NotificationBar/constants/ExpertiseLevelEnum.d.ts +0 -0
  497. package/dist/{src/components → components}/NotificationBar/options.d.ts +0 -0
  498. package/dist/{src/components → components}/NotificationBar/types.d.ts +0 -0
  499. package/dist/{src/components → components}/PageContainer/AccessibiliteItems.d.ts +0 -0
  500. package/dist/{src/components → components}/PageContainer/PageContainer.d.ts +0 -0
  501. package/dist/{src/components → components}/PageContainer/constants/ExpertiseLevelEnum.d.ts +0 -0
  502. package/dist/{src/components → components}/PaginatedTable/AccessibiliteItems.d.ts +0 -0
  503. package/dist/{src/components → components}/PaginatedTable/PaginatedTable.d.ts +0 -0
  504. package/dist/{src/components → components}/PaginatedTable/constants/ExpertiseLevelEnum.d.ts +0 -0
  505. package/dist/{src/components → components}/PaginatedTable/constants/StateEnum.d.ts +0 -0
  506. package/dist/{src/components → components}/PaginatedTable/types.d.ts +0 -0
  507. package/dist/{src/components → components}/PasswordField/AccessibiliteItems.d.ts +0 -0
  508. package/dist/{src/components → components}/PasswordField/config.d.ts +0 -0
  509. package/dist/{src/components → components}/PasswordField/constants/ExpertiseLevelEnum.d.ts +0 -0
  510. package/dist/{src/components → components}/PasswordField/locales.d.ts +0 -0
  511. package/dist/{src/components → components}/PeriodField/AccessibiliteItems.d.ts +0 -0
  512. package/dist/{src/components → components}/PeriodField/constants/ExpertiseLevelEnum.d.ts +0 -0
  513. package/dist/{src/components → components}/PhoneField/AccessibiliteItems.d.ts +0 -0
  514. package/dist/{src/components → components}/PhoneField/constants/ExpertiseLevelEnum.d.ts +0 -0
  515. package/dist/{src/components → components}/PhoneField/indicatifs.d.ts +0 -0
  516. package/dist/{src/components → components}/PhoneField/locales.d.ts +0 -0
  517. package/dist/{src/components → components}/RangeField/AccessibiliteItems.d.ts +0 -0
  518. package/dist/{src/components → components}/RangeField/RangeField.d.ts +0 -0
  519. package/dist/{src/components → components}/RangeField/RangeSlider/RangeSlider.d.ts +0 -0
  520. package/dist/{src/components → components}/RangeField/RangeSlider/Tooltip/Tooltip.d.ts +0 -0
  521. package/dist/{src/components → components}/RangeField/RangeSlider/types.d.ts +0 -0
  522. package/dist/{src/components → components}/RangeField/RangeSlider/useMouseSlide.d.ts +0 -0
  523. package/dist/{src/components → components}/RangeField/RangeSlider/useRangeSlider.d.ts +0 -0
  524. package/dist/{src/components → components}/RangeField/RangeSlider/useThumb.d.ts +0 -0
  525. package/dist/{src/components → components}/RangeField/RangeSlider/useThumbKeyboard.d.ts +0 -0
  526. package/dist/{src/components → components}/RangeField/RangeSlider/useTooltipsNudge.d.ts +0 -0
  527. package/dist/{src/components → components}/RangeField/RangeSlider/useTrack.d.ts +0 -0
  528. package/dist/{src/components → components}/RangeField/RangeSlider/vAnimateClick.d.ts +0 -0
  529. package/dist/{src/components → components}/RangeField/config.d.ts +0 -0
  530. package/dist/{src/components → components}/RangeField/constants/ExpertiseLevelEnum.d.ts +0 -0
  531. package/dist/{src/components → components}/RangeField/locales.d.ts +0 -0
  532. package/dist/{src/components → components}/RatingPicker/AccessibiliteItems.d.ts +0 -0
  533. package/dist/{src/components → components}/RatingPicker/EmotionPicker/EmotionPicker.d.ts +0 -0
  534. package/dist/{src/components → components}/RatingPicker/EmotionPicker/locales.d.ts +0 -0
  535. package/dist/{src/components → components}/RatingPicker/NumberPicker/NumberPicker.d.ts +0 -0
  536. package/dist/{src/components → components}/RatingPicker/NumberPicker/locales.d.ts +0 -0
  537. package/dist/{src/components → components}/RatingPicker/Rating.d.ts +0 -0
  538. package/dist/{src/components → components}/RatingPicker/RatingPicker.d.ts +0 -0
  539. package/dist/{src/components → components}/RatingPicker/StarsPicker/StarsPicker.d.ts +0 -0
  540. package/dist/{src/components → components}/RatingPicker/constants/ExpertiseLevelEnum.d.ts +0 -0
  541. package/dist/{src/components → components}/RatingPicker/locales.d.ts +0 -0
  542. package/dist/{src/components → components}/SearchListField/AccessibiliteItems.d.ts +0 -0
  543. package/dist/{src/components → components}/SearchListField/SearchListField.d.ts +0 -0
  544. package/dist/{src/components → components}/SearchListField/constants/ExpertiseLevelEnum.d.ts +0 -0
  545. package/dist/{src/components → components}/SearchListField/locales.d.ts +0 -0
  546. package/dist/{src/components → components}/SearchListField/types.d.ts +0 -0
  547. package/dist/{src/components → components}/SelectBtnField/AccessibiliteItems.d.ts +0 -0
  548. package/dist/{src/components → components}/SelectBtnField/SelectBtnField.d.ts +1 -1
  549. /package/dist/{src/components → components}/SelectBtnField/config.d.ts +0 -0
  550. /package/dist/{src/components → components}/SelectBtnField/constants/ExpertiseLevelEnum.d.ts +0 -0
  551. /package/dist/{src/components → components}/SelectBtnField/types.d.ts +0 -0
  552. /package/dist/{src/components → components}/SkipLink/AccessibiliteItems.d.ts +0 -0
  553. /package/dist/{src/components → components}/SkipLink/constants/ExpertiseLevelEnum.d.ts +0 -0
  554. /package/dist/{src/components → components}/SkipLink/locales.d.ts +0 -0
  555. /package/dist/{src/components → components}/SocialMediaLinks/AccessibiliteItems.d.ts +0 -0
  556. /package/dist/{src/components → components}/SocialMediaLinks/DefaultSocialMediaLinks.d.ts +0 -0
  557. /package/dist/{src/components → components}/SocialMediaLinks/SocialMediaLinks.d.ts +0 -0
  558. /package/dist/{src/components → components}/SocialMediaLinks/constants/ExpertiseLevelEnum.d.ts +0 -0
  559. /package/dist/{src/components → components}/SocialMediaLinks/locales.d.ts +0 -0
  560. /package/dist/{src/components → components}/SocialMediaLinks/types.d.ts +0 -0
  561. /package/dist/{src/components → components}/SubHeader/AccessibiliteItems.d.ts +0 -0
  562. /package/dist/{src/components → components}/SubHeader/SubHeader.d.ts +0 -0
  563. /package/dist/{src/components → components}/SubHeader/config.d.ts +0 -0
  564. /package/dist/{src/components → components}/SubHeader/constants/ExpertiseLevelEnum.d.ts +0 -0
  565. /package/dist/{src/components → components}/SubHeader/locales.d.ts +0 -0
  566. /package/dist/{src/components → components}/SyAlert/AccessibiliteItems.d.ts +0 -0
  567. /package/dist/{src/components → components}/SyAlert/SyAlert.d.ts +0 -0
  568. /package/dist/{src/components → components}/SyAlert/constants/ExpertiseLevelEnum.d.ts +0 -0
  569. /package/dist/{src/components → components}/SyAlert/locales.d.ts +0 -0
  570. /package/dist/{src/components → components}/TableToolbar/AccessibiliteItems.d.ts +0 -0
  571. /package/dist/{src/components → components}/TableToolbar/TableToolbar.d.ts +0 -0
  572. /package/dist/{src/components → components}/TableToolbar/config.d.ts +0 -0
  573. /package/dist/{src/components → components}/TableToolbar/constants/ExpertiseLevelEnum.d.ts +0 -0
  574. /package/dist/{src/components → components}/TableToolbar/locales.d.ts +0 -0
  575. /package/dist/{src/components → components}/UploadWorkflow/AccessibiliteItems.d.ts +0 -0
  576. /package/dist/{src/components → components}/UploadWorkflow/config.d.ts +0 -0
  577. /package/dist/{src/components → components}/UploadWorkflow/constants/ExpertiseLevelEnum.d.ts +0 -0
  578. /package/dist/{src/components → components}/UploadWorkflow/locales.d.ts +0 -0
  579. /package/dist/{src/components → components}/UploadWorkflow/types.d.ts +0 -0
  580. /package/dist/{src/components → components}/UploadWorkflow/useFileList.d.ts +0 -0
  581. /package/dist/{src/components → components}/UploadWorkflow/useFileUploadJourney.d.ts +0 -0
  582. /package/dist/{src/components → components}/UserMenuBtn/AccessibiliteItems.d.ts +0 -0
  583. /package/dist/{src/components → components}/UserMenuBtn/config.d.ts +0 -0
  584. /package/dist/{src/components → components}/UserMenuBtn/constants/ExpertiseLevelEnum.d.ts +0 -0
  585. /package/dist/{src/composables → composables}/date/useDateFormat.d.ts +0 -0
  586. /package/dist/{src/composables → composables}/date/useDateInitialization.d.ts +0 -0
  587. /package/dist/{src/composables → composables}/index.d.ts +0 -0
  588. /package/dist/{src/composables → composables}/rules/useFieldValidation.d.ts +0 -0
  589. /package/dist/{src/composables → composables}/useCustomizableOptions.d.ts +0 -0
  590. /package/dist/{src/composables → composables}/useFilterable/useFilterable.d.ts +0 -0
  591. /package/dist/{src/composables → composables}/validation/useValidation.d.ts +0 -0
  592. /package/dist/{src/composables → composables}/widthable/index.d.ts +0 -0
  593. /package/dist/{src/constants → constants}/icons.d.ts +0 -0
  594. /package/dist/{src/designTokens → designTokens}/index.d.ts +0 -0
  595. /package/dist/{src/designTokens → designTokens}/tokens/cnam/cnamContextual.d.ts +0 -0
  596. /package/dist/{src/designTokens → designTokens}/tokens/cnam/cnamDarkTheme.d.ts +0 -0
  597. /package/dist/{src/designTokens → designTokens}/tokens/cnam/cnamSemantic.d.ts +0 -0
  598. /package/dist/{src/designTokens → designTokens}/tokens/pa/paContextual.d.ts +0 -0
  599. /package/dist/{src/designTokens → designTokens}/tokens/pa/paDarkTheme.d.ts +0 -0
  600. /package/dist/{src/designTokens → designTokens}/tokens/pa/paSemantic.d.ts +0 -0
  601. /package/dist/{src/designTokens → designTokens}/utils/convertGaps.d.ts +0 -0
  602. /package/dist/{src/designTokens → designTokens}/utils/convertSemanticsToken.d.ts +0 -0
  603. /package/dist/{src/designTokens → designTokens}/utils/createFlattenTheme.d.ts +0 -0
  604. /package/dist/{src/designTokens → designTokens}/utils/index.d.ts +0 -0
  605. /package/dist/{src/directives → directives}/clickOutside.d.ts +0 -0
  606. /package/dist/{src/main.d.ts → main.d.ts} +0 -0
  607. /package/dist/{src/modules.d.ts → modules.d.ts} +0 -0
  608. /package/dist/{src/services → services}/NotificationService.d.ts +0 -0
  609. /package/dist/{src/services → services}/index.d.ts +0 -0
  610. /package/dist/{src/stories → stories}/Accessibilite/Vuetify/VuetifyItems.d.ts +0 -0
  611. /package/dist/{src/stories → stories}/EcoConception/ecoDesignItems.d.ts +0 -0
  612. /package/dist/{src/types → types}/vuetifyTypes.d.ts +0 -0
  613. /package/dist/{src/utils → utils}/calcHumanFileSize/index.d.ts +0 -0
  614. /package/dist/{src/utils → utils}/convertToUnit/index.d.ts +0 -0
  615. /package/dist/{src/utils → utils}/formatDate/index.d.ts +0 -0
  616. /package/dist/{src/utils → utils}/functions/copyToClipboard/index.d.ts +0 -0
  617. /package/dist/{src/utils → utils}/functions/deepCopy/index.d.ts +0 -0
  618. /package/dist/{src/utils → utils}/functions/downloadFile/index.d.ts +0 -0
  619. /package/dist/{src/utils → utils}/functions/downloadFile/types.d.ts +0 -0
  620. /package/dist/{src/utils → utils}/functions/throttleDisplayFn/throttleDisplayFn.d.ts +0 -0
  621. /package/dist/{src/utils → utils}/functions/validation/isDateAfter/index.d.ts +0 -0
  622. /package/dist/{src/utils → utils}/functions/validation/isDateBefore/index.d.ts +0 -0
  623. /package/dist/{src/utils → utils}/functions/validation/isDateInRange/index.d.ts +0 -0
  624. /package/dist/{src/utils → utils}/functions/validation/isDateValid/index.d.ts +0 -0
  625. /package/dist/{src/utils → utils}/functions/validation/isEmailValid/index.d.ts +0 -0
  626. /package/dist/{src/utils → utils}/functions/validation/isWeekend/index.d.ts +0 -0
  627. /package/dist/{src/utils → utils}/localStorageUtility/index.d.ts +0 -0
  628. /package/dist/{src/utils → utils}/parseDate/index.d.ts +0 -0
  629. /package/dist/{src/utils → utils}/propValidator/index.d.ts +0 -0
  630. /package/dist/{src/utils → utils}/ruleMessage/index.d.ts +0 -0
  631. /package/dist/{src/utils → utils}/rules/doMatchPattern/index.d.ts +0 -0
  632. /package/dist/{src/utils → utils}/rules/doMatchPattern/locales.d.ts +0 -0
  633. /package/dist/{src/utils → utils}/rules/index.d.ts +0 -0
  634. /package/dist/{src/utils → utils}/rules/isDateValid/index.d.ts +0 -0
  635. /package/dist/{src/utils → utils}/rules/isDateValid/locales.d.ts +0 -0
  636. /package/dist/{src/utils → utils}/rules/isExactLength/index.d.ts +0 -0
  637. /package/dist/{src/utils → utils}/rules/isExactLength/locales.d.ts +0 -0
  638. /package/dist/{src/utils → utils}/rules/isMaxLength/index.d.ts +0 -0
  639. /package/dist/{src/utils → utils}/rules/isMaxLength/locales.d.ts +0 -0
  640. /package/dist/{src/utils → utils}/rules/isMinLength/index.d.ts +0 -0
  641. /package/dist/{src/utils → utils}/rules/isMinLength/locales.d.ts +0 -0
  642. /package/dist/{src/utils → utils}/rules/isNotAfterDate/index.d.ts +0 -0
  643. /package/dist/{src/utils → utils}/rules/isNotAfterDate/locales.d.ts +0 -0
  644. /package/dist/{src/utils → utils}/rules/isNotAfterToday/index.d.ts +0 -0
  645. /package/dist/{src/utils → utils}/rules/isNotAfterToday/locales.d.ts +0 -0
  646. /package/dist/{src/utils → utils}/rules/isNotBeforeDate/index.d.ts +0 -0
  647. /package/dist/{src/utils → utils}/rules/isNotBeforeDate/locales.d.ts +0 -0
  648. /package/dist/{src/utils → utils}/rules/isNotBeforeToday/index.d.ts +0 -0
  649. /package/dist/{src/utils → utils}/rules/isNotBeforeToday/locales.d.ts +0 -0
  650. /package/dist/{src/utils → utils}/rules/isRequired/index.d.ts +0 -0
  651. /package/dist/{src/utils → utils}/rules/isRequired/locales.d.ts +0 -0
  652. /package/dist/{src/utils → utils}/rules/isValidEmail/index.d.ts +0 -0
  653. /package/dist/{src/utils → utils}/rules/isValidEmail/locales.d.ts +0 -0
  654. /package/dist/{src/utils → utils}/rules/types.d.ts +0 -0
@@ -0,0 +1,1078 @@
1
+ import { cnamLightTheme } from '@/designTokens/tokens/cnam/cnamLightTheme'
2
+ import { cnamColorsTokens } from '@/designTokens/tokens/cnam/cnamColors'
3
+ import { paLightTheme } from '@/designTokens/tokens/pa/paLightTheme'
4
+ import { paColorsTokens } from '@/designTokens/tokens/pa/paColors'
5
+ import ColorDisplay from './ColorDisplay.vue'
6
+
7
+ import type { StoryObj } from '@storybook/vue3'
8
+ import { computed } from 'vue'
9
+ export default {
10
+ title: 'Design Tokens/Couleurs',
11
+ }
12
+
13
+ export const Theme: StoryObj = {
14
+ render: () => {
15
+ return {
16
+ setup() {
17
+ const theme = computed(() => typeof window !== 'undefined' ? localStorage.getItem('storybook-theme') : 'cnam')
18
+ return {
19
+ theme,
20
+ }
21
+ },
22
+ template: `
23
+ <p style="font-size: 14px; margin: 16px 0; line-height: 24px; color: rgb(46, 52, 56);">
24
+ Les couleurs contribuent à l’identification de nos applications ou services et font partie intégrante de la marque <span v-if="theme === 'cnam'"><b>Assurance Maladie</b></span><span v-if="theme === 'pa'"><b>Portail Agent</b></span>.
25
+ Elles assurent l’homogénéité graphique des interfaces.
26
+ </p>
27
+ `,
28
+ }
29
+ },
30
+ tags: ['!dev'],
31
+ }
32
+
33
+ export const Base: StoryObj = {
34
+ render: () => {
35
+ return {
36
+ components: { ColorDisplay },
37
+ setup() {
38
+ const cnamColors = {
39
+ 'primary': cnamLightTheme.primary,
40
+ 'secondary': cnamLightTheme.secondary,
41
+ 'error': cnamLightTheme.error,
42
+ 'info': cnamLightTheme.info,
43
+ 'success': cnamLightTheme.success,
44
+ 'warning': cnamLightTheme.warning,
45
+ 'risque-pro': cnamLightTheme.risquePro,
46
+ }
47
+ const paColors = {
48
+ 'primary': paLightTheme.primary,
49
+ 'secondary': paLightTheme.secondary,
50
+ 'error': paLightTheme.error,
51
+ 'info': paLightTheme.info,
52
+ 'success': paLightTheme.success,
53
+ 'warning': paLightTheme.warning,
54
+ 'risque-pro': paLightTheme.risquePro,
55
+ }
56
+ return {
57
+ cnamColors,
58
+ paColors,
59
+ }
60
+ },
61
+ template: `
62
+ <ColorDisplay
63
+ colorCategory="base"
64
+ :cnamColors="cnamColors"
65
+ :paColors="paColors"
66
+ />
67
+ `,
68
+ }
69
+ },
70
+ tags: ['!dev'],
71
+ }
72
+
73
+ export const Others: StoryObj = {
74
+ render: () => {
75
+ return {
76
+ components: { ColorDisplay },
77
+ setup() {
78
+ const cnamColors = {
79
+ accent: cnamLightTheme.accent,
80
+ avatar: cnamLightTheme.avatar,
81
+ light: cnamLightTheme.light,
82
+ dark: cnamLightTheme.dark,
83
+ }
84
+ const paColors = {
85
+ 'avatar': paLightTheme.avatar,
86
+ 'accent': paLightTheme.accent,
87
+ 'light': paLightTheme.light,
88
+ 'dark': paLightTheme.dark,
89
+ 'blue': paLightTheme.blue,
90
+ 'indigo': paLightTheme.indigo,
91
+ 'purple': paLightTheme.purple,
92
+ 'pink': paLightTheme.pink,
93
+ 'red': paLightTheme.red,
94
+ 'orange': paLightTheme.orange,
95
+ 'yellow': paLightTheme.yellow,
96
+ 'green': paLightTheme.green,
97
+ 'teal': paLightTheme.teal,
98
+ 'cyan': paLightTheme.cyan,
99
+ 'gray': paLightTheme.gray,
100
+ 'grayDark': paLightTheme.grayDark,
101
+ 'default': paLightTheme.default,
102
+ 'brand': paLightTheme.brand,
103
+ 'brand-secondary': paLightTheme.brandSecondary,
104
+ 'brand-muted': paLightTheme.brandMuted,
105
+ 'brand-mutedLite': paLightTheme.brandMutedLite,
106
+ 'hilite-primary': paLightTheme.hilitePrimary,
107
+ 'hilite-secondary': paLightTheme.hiliteSecondary,
108
+ }
109
+ return {
110
+ cnamColors,
111
+ paColors,
112
+ }
113
+ },
114
+ template: `
115
+ <ColorDisplay
116
+ colorCategory="base"
117
+ :cnamColors="cnamColors"
118
+ :paColors="paColors"
119
+ />
120
+ `,
121
+ }
122
+ },
123
+ tags: ['!dev'],
124
+ }
125
+
126
+ export const PaletteOrange: StoryObj = {
127
+ render: () => {
128
+ return {
129
+ components: { ColorDisplay },
130
+ setup() {
131
+ const cnamColors = {
132
+ 'orange-darken-80': cnamColorsTokens.orange.darken80,
133
+ 'orange-darken-60': cnamColorsTokens.orange.darken60,
134
+ 'orange-darken-40': cnamColorsTokens.orange.darken40,
135
+ 'orange-darken-20': cnamColorsTokens.orange.darken20,
136
+ 'orange-base': cnamColorsTokens.orange.base,
137
+ 'orange-lighten-20': cnamColorsTokens.orange.lighten20,
138
+ 'orange-lighten-40': cnamColorsTokens.orange.lighten40,
139
+ 'orange-lighten-60': cnamColorsTokens.orange.lighten60,
140
+ 'orange-lighten-80': cnamColorsTokens.orange.lighten80,
141
+ 'orange-lighten-90': cnamColorsTokens.orange.lighten90,
142
+ 'orange-lighten-97': cnamColorsTokens.orange.lighten97,
143
+ }
144
+ const paColors = {
145
+ 'orange-darken-80': paColorsTokens.orange.darken80,
146
+ 'orange-darken-60': paColorsTokens.orange.darken60,
147
+ 'orange-darken-40': paColorsTokens.orange.darken40,
148
+ 'orange-darken-20': paColorsTokens.orange.darken20,
149
+ 'orange-base': paColorsTokens.orange.base,
150
+ 'orange-lighten-20': paColorsTokens.orange.lighten20,
151
+ 'orange-lighten-40': paColorsTokens.orange.lighten40,
152
+ 'orange-lighten-60': paColorsTokens.orange.lighten60,
153
+ 'orange-lighten-80': paColorsTokens.orange.lighten80,
154
+ 'orange-lighten-90': paColorsTokens.orange.lighten90,
155
+ 'orange-lighten-97': paColorsTokens.orange.lighten97,
156
+ }
157
+ return {
158
+ cnamColors,
159
+ paColors,
160
+ }
161
+ },
162
+ template: `
163
+ <ColorDisplay
164
+ colorCategory="base"
165
+ :cnamColors="cnamColors"
166
+ :paColors="paColors"
167
+ />
168
+ `,
169
+ }
170
+ },
171
+ tags: ['!dev'],
172
+ }
173
+
174
+ export const PaletteYellow: StoryObj = {
175
+ render: () => {
176
+ return {
177
+ components: { ColorDisplay },
178
+ setup() {
179
+ const cnamColors = {
180
+ 'yellow-darken-80': cnamColorsTokens.yellow.darken80,
181
+ 'yellow-darken-60': cnamColorsTokens.yellow.darken60,
182
+ 'yellow-darken-40': cnamColorsTokens.yellow.darken40,
183
+ 'yellow-darken-20': cnamColorsTokens.yellow.darken20,
184
+ 'yellow-base': cnamColorsTokens.yellow.base,
185
+ 'yellow-lighten-20': cnamColorsTokens.yellow.lighten20,
186
+ 'yellow-lighten-40': cnamColorsTokens.yellow.lighten40,
187
+ 'yellow-lighten-60': cnamColorsTokens.yellow.lighten60,
188
+ 'yellow-lighten-80': cnamColorsTokens.yellow.lighten80,
189
+ 'yellow-lighten-90': cnamColorsTokens.yellow.lighten90,
190
+ 'yellow-lighten-97': cnamColorsTokens.yellow.lighten97,
191
+ }
192
+ const paColors = {
193
+ 'yellow-darken-80': paColorsTokens.yellow.darken80,
194
+ 'yellow-darken-60': paColorsTokens.yellow.darken60,
195
+ 'yellow-darken-40': paColorsTokens.yellow.darken40,
196
+ 'yellow-darken-20': paColorsTokens.yellow.darken20,
197
+ 'yellow-base': paColorsTokens.yellow.base,
198
+ 'yellow-lighten-20': paColorsTokens.yellow.lighten20,
199
+ 'yellow-lighten-40': paColorsTokens.yellow.lighten40,
200
+ 'yellow-lighten-60': paColorsTokens.yellow.lighten60,
201
+ 'yellow-lighten-80': paColorsTokens.yellow.lighten80,
202
+ 'yellow-lighten-90': paColorsTokens.yellow.lighten90,
203
+ 'yellow-lighten-97': paColorsTokens.yellow.lighten97,
204
+ }
205
+ return {
206
+ cnamColors,
207
+ paColors,
208
+ }
209
+ },
210
+ template: `
211
+ <ColorDisplay
212
+ colorCategory="base"
213
+ :cnamColors="cnamColors"
214
+ :paColors="paColors"
215
+ />
216
+ `,
217
+ }
218
+ },
219
+ tags: ['!dev'],
220
+ }
221
+
222
+ export const PaletteGreen: StoryObj = {
223
+ render: () => {
224
+ return {
225
+ components: { ColorDisplay },
226
+ setup() {
227
+ const cnamColors = {
228
+ 'green-darken-80': cnamColorsTokens.green.darken80,
229
+ 'green-darken-60': cnamColorsTokens.green.darken60,
230
+ 'green-darken-40': cnamColorsTokens.green.darken40,
231
+ 'green-darken-20': cnamColorsTokens.green.darken20,
232
+ 'green-base': cnamColorsTokens.green.base,
233
+ 'green-lighten-20': cnamColorsTokens.green.lighten20,
234
+ 'green-lighten-40': cnamColorsTokens.green.lighten40,
235
+ 'green-lighten-60': cnamColorsTokens.green.lighten60,
236
+ 'green-lighten-80': cnamColorsTokens.green.lighten80,
237
+ 'green-lighten-90': cnamColorsTokens.green.lighten90,
238
+ 'green-lighten-97': cnamColorsTokens.green.lighten97,
239
+ }
240
+ const paColors = {
241
+ 'green-darken-80': paColorsTokens.green.darken80,
242
+ 'green-darken-60': paColorsTokens.green.darken60,
243
+ 'green-darken-40': paColorsTokens.green.darken40,
244
+ 'green-darken-20': paColorsTokens.green.darken20,
245
+ 'green-base': paColorsTokens.green.base,
246
+ 'green-lighten-20': paColorsTokens.green.lighten20,
247
+ 'green-lighten-40': paColorsTokens.green.lighten40,
248
+ 'green-lighten-60': paColorsTokens.green.lighten60,
249
+ 'green-lighten-80': paColorsTokens.green.lighten80,
250
+ 'green-lighten-90': paColorsTokens.green.lighten90,
251
+ 'green-lighten-97': paColorsTokens.green.lighten97,
252
+ }
253
+ return {
254
+ cnamColors,
255
+ paColors,
256
+ }
257
+ },
258
+ template: `
259
+ <ColorDisplay
260
+ colorCategory="base"
261
+ :cnamColors="cnamColors"
262
+ :paColors="paColors"
263
+ />
264
+ `,
265
+ }
266
+ },
267
+ tags: ['!dev'],
268
+ }
269
+
270
+ export const PaletteTurquoise: StoryObj = {
271
+ render: () => {
272
+ return {
273
+ components: { ColorDisplay },
274
+ setup() {
275
+ const cnamColors = {
276
+ 'turquoise-darken-80': cnamColorsTokens.turquoise.darken80,
277
+ 'turquoise-darken-60': cnamColorsTokens.turquoise.darken60,
278
+ 'turquoise-darken-40': cnamColorsTokens.turquoise.darken40,
279
+ 'turquoise-darken-20': cnamColorsTokens.turquoise.darken20,
280
+ 'turquoise-base': cnamColorsTokens.turquoise.base,
281
+ 'turquoise-lighten-20': cnamColorsTokens.turquoise.lighten20,
282
+ 'turquoise-lighten-40': cnamColorsTokens.turquoise.lighten40,
283
+ 'turquoise-lighten-60': cnamColorsTokens.turquoise.lighten60,
284
+ 'turquoise-lighten-80': cnamColorsTokens.turquoise.lighten80,
285
+ 'turquoise-lighten-90': cnamColorsTokens.turquoise.lighten90,
286
+ 'turquoise-lighten-97': cnamColorsTokens.turquoise.lighten97,
287
+ }
288
+ const paColors = {
289
+ 'turquoise-darken-80': paColorsTokens.turquoise.darken80,
290
+ 'turquoise-darken-60': paColorsTokens.turquoise.darken60,
291
+ 'turquoise-darken-40': paColorsTokens.turquoise.darken40,
292
+ 'turquoise-darken-20': paColorsTokens.turquoise.darken20,
293
+ 'turquoise-base': paColorsTokens.turquoise.base,
294
+ 'turquoise-lighten-20': paColorsTokens.turquoise.lighten20,
295
+ 'turquoise-lighten-40': paColorsTokens.turquoise.lighten40,
296
+ 'turquoise-lighten-60': paColorsTokens.turquoise.lighten60,
297
+ 'turquoise-lighten-80': paColorsTokens.turquoise.lighten80,
298
+ 'turquoise-lighten-90': paColorsTokens.turquoise.lighten90,
299
+ 'turquoise-lighten-97': paColorsTokens.turquoise.lighten97,
300
+ }
301
+ return {
302
+ cnamColors,
303
+ paColors,
304
+ }
305
+ },
306
+ template: `
307
+ <ColorDisplay
308
+ colorCategory="base"
309
+ :cnamColors="cnamColors"
310
+ :paColors="paColors"
311
+ />
312
+ `,
313
+ }
314
+ },
315
+ tags: ['!dev'],
316
+ }
317
+
318
+ export const PaletteBlue: StoryObj = {
319
+ render: () => {
320
+ return {
321
+ components: { ColorDisplay },
322
+ setup() {
323
+ const cnamColors = {
324
+ 'blue-darken-80': cnamColorsTokens.blue.darken80,
325
+ 'blue-darken-60': cnamColorsTokens.blue.darken60,
326
+ 'blue-darken-40': cnamColorsTokens.blue.darken40,
327
+ 'blue-darken-20': cnamColorsTokens.blue.darken20,
328
+ 'blue-base': cnamColorsTokens.blue.base,
329
+ 'blue-lighten-20': cnamColorsTokens.blue.lighten20,
330
+ 'blue-lighten-40': cnamColorsTokens.blue.lighten40,
331
+ 'blue-lighten-60': cnamColorsTokens.blue.lighten60,
332
+ 'blue-lighten-80': cnamColorsTokens.blue.lighten80,
333
+ 'blue-lighten-90': cnamColorsTokens.blue.lighten90,
334
+ 'blue-lighten-97': cnamColorsTokens.blue.lighten97,
335
+ }
336
+ const paColors = {
337
+ 'blue-darken-80': paColorsTokens.blue.darken80,
338
+ 'blue-darken-60': paColorsTokens.blue.darken60,
339
+ 'blue-darken-40': paColorsTokens.blue.darken40,
340
+ 'blue-darken-20': paColorsTokens.blue.darken20,
341
+ 'blue-base': paColorsTokens.blue.base,
342
+ 'blue-lighten-20': paColorsTokens.blue.lighten20,
343
+ 'blue-lighten-40': paColorsTokens.blue.lighten40,
344
+ 'blue-lighten-60': paColorsTokens.blue.lighten60,
345
+ 'blue-lighten-80': paColorsTokens.blue.lighten80,
346
+ 'blue-lighten-90': paColorsTokens.blue.lighten90,
347
+ 'blue-lighten-97': paColorsTokens.blue.lighten97,
348
+ }
349
+ return {
350
+ cnamColors,
351
+ paColors,
352
+ }
353
+ },
354
+ template: `
355
+ <ColorDisplay
356
+ colorCategory="base"
357
+ :cnamColors="cnamColors"
358
+ :paColors="paColors"
359
+ />
360
+ `,
361
+ }
362
+ },
363
+ tags: ['!dev'],
364
+ }
365
+
366
+ export const PaletteCyan: StoryObj = {
367
+ render: () => {
368
+ return {
369
+ components: { ColorDisplay },
370
+ setup() {
371
+ const cnamColors = {
372
+ 'cyan-darken-80': cnamColorsTokens.cyan.darken80,
373
+ 'cyan-darken-60': cnamColorsTokens.cyan.darken60,
374
+ 'cyan-darken-40': cnamColorsTokens.cyan.darken40,
375
+ 'cyan-darken-20': cnamColorsTokens.cyan.darken20,
376
+ 'cyan-base': cnamColorsTokens.cyan.base,
377
+ 'cyan-lighten-20': cnamColorsTokens.cyan.lighten20,
378
+ 'cyan-lighten-40': cnamColorsTokens.cyan.lighten40,
379
+ 'cyan-lighten-60': cnamColorsTokens.cyan.lighten60,
380
+ 'cyan-lighten-80': cnamColorsTokens.cyan.lighten80,
381
+ 'cyan-lighten-90': cnamColorsTokens.cyan.lighten90,
382
+ 'cyan-lighten-97': cnamColorsTokens.cyan.lighten97,
383
+ }
384
+ const paColors = {
385
+ 'cyan-darken-80': paColorsTokens.cyan.darken80,
386
+ 'cyan-darken-60': paColorsTokens.cyan.darken60,
387
+ 'cyan-darken-40': paColorsTokens.cyan.darken40,
388
+ 'cyan-darken-20': paColorsTokens.cyan.darken20,
389
+ 'cyan-base': paColorsTokens.cyan.base,
390
+ 'cyan-lighten-20': paColorsTokens.cyan.lighten20,
391
+ 'cyan-lighten-40': paColorsTokens.cyan.lighten40,
392
+ 'cyan-lighten-60': paColorsTokens.cyan.lighten60,
393
+ 'cyan-lighten-80': paColorsTokens.cyan.lighten80,
394
+ 'cyan-lighten-90': paColorsTokens.cyan.lighten90,
395
+ 'cyan-lighten-97': paColorsTokens.cyan.lighten97,
396
+ }
397
+ return {
398
+ cnamColors,
399
+ paColors,
400
+ }
401
+ },
402
+ template: `
403
+ <ColorDisplay
404
+ colorCategory="base"
405
+ :cnamColors="cnamColors"
406
+ :paColors="paColors"
407
+ />
408
+ `,
409
+ }
410
+ },
411
+ tags: ['!dev'],
412
+ }
413
+
414
+ export const PaletteFrostedBlue: StoryObj = {
415
+ render: () => {
416
+ return {
417
+ components: { ColorDisplay },
418
+ setup() {
419
+ const cnamColors = {
420
+ 'frosted-blue-darken-80': cnamColorsTokens.frostedBlue.darken80,
421
+ 'frosted-blue-darken-60': cnamColorsTokens.frostedBlue.darken60,
422
+ 'frosted-blue-darken-40': cnamColorsTokens.frostedBlue.darken40,
423
+ 'frosted-blue-darken-20': cnamColorsTokens.frostedBlue.darken20,
424
+ 'frosted-blue-base': cnamColorsTokens.frostedBlue.base,
425
+ 'frosted-blue-lighten-20': cnamColorsTokens.frostedBlue.lighten20,
426
+ 'frosted-blue-lighten-40': cnamColorsTokens.frostedBlue.lighten40,
427
+ 'frosted-blue-lighten-60': cnamColorsTokens.frostedBlue.lighten60,
428
+ 'frosted-blue-lighten-80': cnamColorsTokens.frostedBlue.lighten80,
429
+ 'frosted-blue-lighten-90': cnamColorsTokens.frostedBlue.lighten90,
430
+ 'frosted-blue-lighten-97': cnamColorsTokens.frostedBlue.lighten97,
431
+ }
432
+ const paColors = {
433
+ 'frosted-blue-darken-80': paColorsTokens.frostedBlue.darken80,
434
+ 'frosted-blue-darken-60': paColorsTokens.frostedBlue.darken60,
435
+ 'frosted-blue-darken-40': paColorsTokens.frostedBlue.darken40,
436
+ 'frosted-blue-darken-20': paColorsTokens.frostedBlue.darken20,
437
+ 'frosted-blue-base': paColorsTokens.frostedBlue.base,
438
+ 'frosted-blue-lighten-20': paColorsTokens.frostedBlue.lighten20,
439
+ 'frosted-blue-lighten-40': paColorsTokens.frostedBlue.lighten40,
440
+ 'frosted-blue-lighten-60': paColorsTokens.frostedBlue.lighten60,
441
+ 'frosted-blue-lighten-80': paColorsTokens.frostedBlue.lighten80,
442
+ 'frosted-blue-lighten-90': paColorsTokens.frostedBlue.lighten90,
443
+ 'frosted-blue-lighten-97': paColorsTokens.frostedBlue.lighten97,
444
+ }
445
+ return {
446
+ cnamColors,
447
+ paColors,
448
+ }
449
+ },
450
+ template: `
451
+ <ColorDisplay
452
+ colorCategory="base"
453
+ :cnamColors="cnamColors"
454
+ :paColors="paColors"
455
+ />
456
+ `,
457
+ }
458
+ },
459
+ tags: ['!dev'],
460
+ }
461
+
462
+ export const PaletteParma: StoryObj = {
463
+ render: () => {
464
+ return {
465
+ components: { ColorDisplay },
466
+ setup() {
467
+ const cnamColors = {
468
+ 'parma-darken-80': cnamColorsTokens.parma.darken80,
469
+ 'parma-darken-60': cnamColorsTokens.parma.darken60,
470
+ 'parma-darken-40': cnamColorsTokens.parma.darken40,
471
+ 'parma-darken-20': cnamColorsTokens.parma.darken20,
472
+ 'parma-base': cnamColorsTokens.parma.base,
473
+ 'parma-lighten-20': cnamColorsTokens.parma.lighten20,
474
+ 'parma-lighten-40': cnamColorsTokens.parma.lighten40,
475
+ 'parma-lighten-60': cnamColorsTokens.parma.lighten60,
476
+ 'parma-lighten-80': cnamColorsTokens.parma.lighten80,
477
+ 'parma-lighten-90': cnamColorsTokens.parma.lighten90,
478
+ 'parma-lighten-97': cnamColorsTokens.parma.lighten97,
479
+ }
480
+ const paColors = {
481
+ 'parma-darken-80': paColorsTokens.parma.darken80,
482
+ 'parma-darken-60': paColorsTokens.parma.darken60,
483
+ 'parma-darken-40': paColorsTokens.parma.darken40,
484
+ 'parma-darken-20': paColorsTokens.parma.darken20,
485
+ 'parma-base': paColorsTokens.parma.base,
486
+ 'parma-lighten-20': paColorsTokens.parma.lighten20,
487
+ 'parma-lighten-40': paColorsTokens.parma.lighten40,
488
+ 'parma-lighten-60': paColorsTokens.parma.lighten60,
489
+ 'parma-lighten-80': paColorsTokens.parma.lighten80,
490
+ 'parma-lighten-90': paColorsTokens.parma.lighten90,
491
+ 'parma-lighten-97': paColorsTokens.parma.lighten97,
492
+ }
493
+ return {
494
+ cnamColors,
495
+ paColors,
496
+ }
497
+ },
498
+ template: `
499
+ <ColorDisplay
500
+ colorCategory="base"
501
+ :cnamColors="cnamColors"
502
+ :paColors="paColors"
503
+ />
504
+ `,
505
+ }
506
+ },
507
+ tags: ['!dev'],
508
+ }
509
+
510
+ export const PaletteMauve: StoryObj = {
511
+ render: () => {
512
+ return {
513
+ components: { ColorDisplay },
514
+ setup() {
515
+ const cnamColors = {
516
+ 'mauve-darken-80': cnamColorsTokens.mauve.darken80,
517
+ 'mauve-darken-60': cnamColorsTokens.mauve.darken60,
518
+ 'mauve-darken-40': cnamColorsTokens.mauve.darken40,
519
+ 'mauve-darken-20': cnamColorsTokens.mauve.darken20,
520
+ 'mauve-base': cnamColorsTokens.mauve.base,
521
+ 'mauve-lighten-20': cnamColorsTokens.mauve.lighten20,
522
+ 'mauve-lighten-40': cnamColorsTokens.mauve.lighten40,
523
+ 'mauve-lighten-60': cnamColorsTokens.mauve.lighten60,
524
+ 'mauve-lighten-80': cnamColorsTokens.mauve.lighten80,
525
+ 'mauve-lighten-90': cnamColorsTokens.mauve.lighten90,
526
+ 'mauve-lighten-97': cnamColorsTokens.mauve.lighten97,
527
+ }
528
+ const paColors = {
529
+ 'mauve-darken-80': paColorsTokens.mauve.darken80,
530
+ 'mauve-darken-60': paColorsTokens.mauve.darken60,
531
+ 'mauve-darken-40': paColorsTokens.mauve.darken40,
532
+ 'mauve-darken-20': paColorsTokens.mauve.darken20,
533
+ 'mauve-base': paColorsTokens.mauve.base,
534
+ 'mauve-lighten-20': paColorsTokens.mauve.lighten20,
535
+ 'mauve-lighten-40': paColorsTokens.mauve.lighten40,
536
+ 'mauve-lighten-60': paColorsTokens.mauve.lighten60,
537
+ 'mauve-lighten-80': paColorsTokens.mauve.lighten80,
538
+ 'mauve-lighten-90': paColorsTokens.mauve.lighten90,
539
+ 'mauve-lighten-97': paColorsTokens.mauve.lighten97,
540
+ }
541
+ return {
542
+ cnamColors,
543
+ paColors,
544
+ }
545
+ },
546
+ template: `
547
+ <ColorDisplay
548
+ colorCategory="base"
549
+ :cnamColors="cnamColors"
550
+ :paColors="paColors"
551
+ />
552
+ `,
553
+ }
554
+ },
555
+ tags: ['!dev'],
556
+ }
557
+
558
+ export const PalettePink: StoryObj = {
559
+ render: () => {
560
+ return {
561
+ components: { ColorDisplay },
562
+ setup() {
563
+ const cnamColors = {
564
+ 'pink-darken-80': cnamColorsTokens.pink.darken80,
565
+ 'pink-darken-60': cnamColorsTokens.pink.darken60,
566
+ 'pink-darken-40': cnamColorsTokens.pink.darken40,
567
+ 'pink-darken-20': cnamColorsTokens.pink.darken20,
568
+ 'pink-base': cnamColorsTokens.pink.base,
569
+ 'pink-lighten-20': cnamColorsTokens.pink.lighten20,
570
+ 'pink-lighten-40': cnamColorsTokens.pink.lighten40,
571
+ 'pink-lighten-60': cnamColorsTokens.pink.lighten60,
572
+ 'pink-lighten-80': cnamColorsTokens.pink.lighten80,
573
+ 'pink-lighten-90': cnamColorsTokens.pink.lighten90,
574
+ 'pink-lighten-97': cnamColorsTokens.pink.lighten97,
575
+ }
576
+ const paColors = {
577
+ 'pink-darken-80': paColorsTokens.pink.darken80,
578
+ 'pink-darken-60': paColorsTokens.pink.darken60,
579
+ 'pink-darken-40': paColorsTokens.pink.darken40,
580
+ 'pink-darken-20': paColorsTokens.pink.darken20,
581
+ 'pink-base': paColorsTokens.pink.base,
582
+ 'pink-lighten-20': paColorsTokens.pink.lighten20,
583
+ 'pink-lighten-40': paColorsTokens.pink.lighten40,
584
+ 'pink-lighten-60': paColorsTokens.pink.lighten60,
585
+ 'pink-lighten-80': paColorsTokens.pink.lighten80,
586
+ 'pink-lighten-90': paColorsTokens.pink.lighten90,
587
+ 'pink-lighten-97': paColorsTokens.pink.lighten97,
588
+ }
589
+ return {
590
+ cnamColors,
591
+ paColors,
592
+ }
593
+ },
594
+ template: `
595
+ <ColorDisplay
596
+ colorCategory="base"
597
+ :cnamColors="cnamColors"
598
+ :paColors="paColors"
599
+ />
600
+ `,
601
+ }
602
+ },
603
+ tags: ['!dev'],
604
+ }
605
+
606
+ export const PaletteBrick: StoryObj = {
607
+ render: () => {
608
+ return {
609
+ components: { ColorDisplay },
610
+ setup() {
611
+ const cnamColors = {
612
+ 'brick-darken-80': cnamColorsTokens.brick.darken80,
613
+ 'brick-darken-60': cnamColorsTokens.brick.darken60,
614
+ 'brick-darken-40': cnamColorsTokens.brick.darken40,
615
+ 'brick-darken-20': cnamColorsTokens.brick.darken20,
616
+ 'brick-base': cnamColorsTokens.brick.base,
617
+ 'brick-lighten-20': cnamColorsTokens.brick.lighten20,
618
+ 'brick-lighten-40': cnamColorsTokens.brick.lighten40,
619
+ 'brick-lighten-60': cnamColorsTokens.brick.lighten60,
620
+ 'brick-lighten-80': cnamColorsTokens.brick.lighten80,
621
+ 'brick-lighten-90': cnamColorsTokens.brick.lighten90,
622
+ 'brick-lighten-97': cnamColorsTokens.brick.lighten97,
623
+ }
624
+ const paColors = {
625
+ 'brick-darken-80': paColorsTokens.brick.darken80,
626
+ 'brick-darken-60': paColorsTokens.brick.darken60,
627
+ 'brick-darken-40': paColorsTokens.brick.darken40,
628
+ 'brick-darken-20': paColorsTokens.brick.darken20,
629
+ 'brick-base': paColorsTokens.brick.base,
630
+ 'brick-lighten-20': paColorsTokens.brick.lighten20,
631
+ 'brick-lighten-40': paColorsTokens.brick.lighten40,
632
+ 'brick-lighten-60': paColorsTokens.brick.lighten60,
633
+ 'brick-lighten-80': paColorsTokens.brick.lighten80,
634
+ 'brick-lighten-90': paColorsTokens.brick.lighten90,
635
+ 'brick-lighten-97': paColorsTokens.brick.lighten97,
636
+ }
637
+ return {
638
+ cnamColors,
639
+ paColors,
640
+ }
641
+ },
642
+ template: `
643
+ <ColorDisplay
644
+ colorCategory="base"
645
+ :cnamColors="cnamColors"
646
+ :paColors="paColors"
647
+ />
648
+ `,
649
+ }
650
+ },
651
+ tags: ['!dev'],
652
+ }
653
+
654
+ export const PaletteGrey: StoryObj = {
655
+ render: () => {
656
+ return {
657
+ components: { ColorDisplay },
658
+ setup() {
659
+ const cnamColors = {
660
+ 'grey-darken-80': cnamColorsTokens.grey.darken80,
661
+ 'grey-darken-60': cnamColorsTokens.grey.darken60,
662
+ 'grey-darken-40': cnamColorsTokens.grey.darken40,
663
+ 'grey-darken-20': cnamColorsTokens.grey.darken20,
664
+ 'grey-base': cnamColorsTokens.grey.base,
665
+ 'grey-lighten-20': cnamColorsTokens.grey.lighten20,
666
+ 'grey-lighten-40': cnamColorsTokens.grey.lighten40,
667
+ 'grey-lighten-60': cnamColorsTokens.grey.lighten60,
668
+ 'grey-lighten-80': cnamColorsTokens.grey.lighten80,
669
+ 'grey-lighten-90': cnamColorsTokens.grey.lighten90,
670
+ 'grey-lighten-97': cnamColorsTokens.grey.lighten97,
671
+ }
672
+ const paColors = {
673
+ 'grey-darken-80': paColorsTokens.grey.darken80,
674
+ 'grey-darken-60': paColorsTokens.grey.darken60,
675
+ 'grey-darken-40': paColorsTokens.grey.darken40,
676
+ 'grey-darken-20': paColorsTokens.grey.darken20,
677
+ 'grey-base': paColorsTokens.grey.base,
678
+ 'grey-lighten-20': paColorsTokens.grey.lighten20,
679
+ 'grey-lighten-40': paColorsTokens.grey.lighten40,
680
+ 'grey-lighten-60': paColorsTokens.grey.lighten60,
681
+ 'grey-lighten-80': paColorsTokens.grey.lighten80,
682
+ 'grey-lighten-90': paColorsTokens.grey.lighten90,
683
+ 'grey-lighten-97': paColorsTokens.grey.lighten97,
684
+ }
685
+ return {
686
+ cnamColors,
687
+ paColors,
688
+ }
689
+ },
690
+ template: `
691
+ <ColorDisplay
692
+ colorCategory="base"
693
+ :cnamColors="cnamColors"
694
+ :paColors="paColors"
695
+ />
696
+ `,
697
+ }
698
+ },
699
+ tags: ['!dev'],
700
+ }
701
+
702
+ export const PaletteWhite: StoryObj = {
703
+ render: () => {
704
+ return {
705
+ components: { ColorDisplay },
706
+ setup() {
707
+ const cnamColors = {
708
+ 'white-lighten-70': cnamColorsTokens.white.lighten70,
709
+ 'white-lighten-60': cnamColorsTokens.white.lighten40,
710
+ 'white-lighten-40': cnamColorsTokens.white.lighten38,
711
+ 'white-lighten-20': cnamColorsTokens.white.lighten20,
712
+ 'white-base': cnamColorsTokens.white.base,
713
+ }
714
+ const paColors = {
715
+ 'white-lighten-80': paColorsTokens.white.lighten70,
716
+ 'white-lighten-60': paColorsTokens.white.lighten40,
717
+ 'white-lighten-40': paColorsTokens.white.lighten38,
718
+ 'white-lighten-20': paColorsTokens.white.lighten20,
719
+ 'white-base': paColorsTokens.white.base,
720
+ }
721
+ return {
722
+ cnamColors,
723
+ paColors,
724
+ }
725
+ },
726
+ template: `
727
+ <ColorDisplay
728
+ colorCategory="base"
729
+ :cnamColors="cnamColors"
730
+ :paColors="paColors"
731
+ />
732
+ `,
733
+ }
734
+ },
735
+ tags: ['!dev'],
736
+ }
737
+
738
+ export const Interactive: StoryObj = {
739
+ render: () => {
740
+ return {
741
+ components: { ColorDisplay },
742
+ setup() {
743
+ const cnamColors = {
744
+ 'interactive-default': cnamLightTheme.interactiveDefault,
745
+ 'interactive-hover': cnamLightTheme.interactiveHover,
746
+ 'interactive-pressed': cnamLightTheme.interactivePressed,
747
+ 'interactive-focus': cnamLightTheme.interactiveFocus,
748
+ 'interactive-disabled': cnamLightTheme.interactiveDisabled,
749
+ 'interactive-hover-on-selected': cnamLightTheme.interactiveHoverOnSelected,
750
+ }
751
+ const paColors = {}
752
+ return {
753
+ cnamColors,
754
+ paColors,
755
+ }
756
+ },
757
+ template: `
758
+ <ColorDisplay
759
+ colorCategory="interactive"
760
+ :cnamColors="cnamColors"
761
+ :paColors="paColors"
762
+ />
763
+ `,
764
+ }
765
+ },
766
+ tags: ['!dev'],
767
+ }
768
+
769
+ export const Border: StoryObj = {
770
+ render: () => {
771
+ return {
772
+ components: { ColorDisplay },
773
+ setup() {
774
+ const cnamColors = {
775
+ 'border-darker': cnamLightTheme.borderDarker,
776
+ 'border-base': cnamLightTheme.borderBase,
777
+ 'border-subdued': cnamLightTheme.borderSubdued,
778
+ 'border-accent': cnamLightTheme.borderAccent,
779
+ 'border-accent-contrasted': cnamLightTheme.borderAccentContrasted,
780
+ 'border-accent-on-dark': cnamLightTheme.borderAccentOnDark,
781
+ 'border-info': cnamLightTheme.borderInfo,
782
+ 'border-success': cnamLightTheme.borderSuccess,
783
+ 'border-warning': cnamLightTheme.borderWarning,
784
+ 'border-error': cnamLightTheme.borderError,
785
+ 'border-on-dark': cnamLightTheme.borderOnDark,
786
+ 'border-disabled': cnamLightTheme.borderDisabled,
787
+ 'border-disabled-on-dark': cnamLightTheme.borderDisabledOnDark,
788
+ }
789
+ const paColors = {}
790
+ return {
791
+ cnamColors,
792
+ paColors,
793
+ }
794
+ },
795
+ template: `
796
+ <ColorDisplay
797
+ colorCategory="border"
798
+ :cnamColors="cnamColors"
799
+ :paColors="paColors"
800
+ />
801
+ `,
802
+ }
803
+ },
804
+ tags: ['!dev'],
805
+ }
806
+
807
+ export const Text: StoryObj = {
808
+ render: () => {
809
+ return {
810
+ components: { ColorDisplay },
811
+ setup() {
812
+ const cnamColors = {
813
+ 'text-base': cnamLightTheme.textBase,
814
+ 'text-accent': cnamLightTheme.textAccent,
815
+ 'text-accent-contrasted': cnamLightTheme.textAccentContrasted,
816
+ 'text-subdued': cnamLightTheme.textSubdued,
817
+ 'text-info': cnamLightTheme.textInfo,
818
+ 'text-success': cnamLightTheme.textSuccess,
819
+ 'text-warning': cnamLightTheme.textWarning,
820
+ 'text-error': cnamLightTheme.textError,
821
+ 'text-disabled': cnamLightTheme.textDisabled,
822
+ 'text-on-dark': cnamLightTheme.textOnDark,
823
+ 'text-subdued-on-dark': cnamLightTheme.textSubduedOnDark,
824
+ 'text-disabled-on-dark': cnamLightTheme.textDisabledOnDark,
825
+ }
826
+ const paColors = {}
827
+ return {
828
+ cnamColors,
829
+ paColors,
830
+ }
831
+ },
832
+ template: `
833
+ <ColorDisplay
834
+ colorCategory="text"
835
+ :cnamColors="cnamColors"
836
+ :paColors="paColors"
837
+ />`,
838
+ }
839
+ },
840
+ tags: ['!dev'],
841
+ }
842
+
843
+ export const Icons: StoryObj = {
844
+ render: () => {
845
+ return {
846
+ components: { ColorDisplay },
847
+ setup() {
848
+ const cnamColors = {
849
+ 'icon-base': cnamLightTheme.iconBase,
850
+ 'icon-subdued': cnamLightTheme.iconSubdued,
851
+ 'icon-subdued-on-dark': cnamLightTheme.iconSubduedOnDark,
852
+ 'icon-accent': cnamLightTheme.iconAccent,
853
+ 'icon-accent-contrasted': cnamLightTheme.iconAccentContrasted,
854
+ 'icon-info': cnamLightTheme.iconInfo,
855
+ 'icon-success': cnamLightTheme.iconSuccess,
856
+ 'icon-warning': cnamLightTheme.iconWarning,
857
+ 'icon-error': cnamLightTheme.iconError,
858
+ 'icon-on-dark': cnamLightTheme.iconOnDark,
859
+ 'icon-disabled': cnamLightTheme.iconDisabled,
860
+ 'icon-disabled-on-dark': cnamLightTheme.iconDisabledOnDark,
861
+ }
862
+ const paColors = {}
863
+ return {
864
+ cnamColors,
865
+ paColors,
866
+ }
867
+ },
868
+ template: `
869
+ <ColorDisplay
870
+ colorCategory="icons"
871
+ :cnamColors="cnamColors"
872
+ :paColors="paColors"
873
+ />
874
+ `,
875
+ }
876
+ },
877
+ tags: ['!dev'],
878
+ }
879
+
880
+ export const MainBackgrounds: StoryObj = {
881
+ render: () => {
882
+ return {
883
+ components: { ColorDisplay },
884
+ setup() {
885
+ const cnamColors = {
886
+ 'background-main': cnamLightTheme.backgroundMain,
887
+ 'background-surface': cnamLightTheme.backgroundSurface,
888
+ 'background-surface-alt': cnamLightTheme.backgroundSurfaceAlt,
889
+ }
890
+ const paColors = {}
891
+ return {
892
+ cnamColors,
893
+ paColors,
894
+ }
895
+ },
896
+ template: `
897
+ <ColorDisplay
898
+ colorCategory="mainBackgrounds"
899
+ :cnamColors="cnamColors"
900
+ :paColors="paColors"
901
+ />
902
+ `,
903
+ }
904
+ },
905
+ tags: ['!dev'],
906
+ }
907
+
908
+ export const AlternativeBackgrounds: StoryObj = {
909
+ render: () => {
910
+ return {
911
+ components: { ColorDisplay },
912
+ setup() {
913
+ const cnamColors = {
914
+ 'background-mainAlt': cnamLightTheme.backgroundMainAlt,
915
+ 'background-raised': cnamLightTheme.backgroundRaised,
916
+ 'background-accent': cnamLightTheme.backgroundAccent,
917
+ 'background-accent-contrasted': cnamLightTheme.backgroundAccentContrasted,
918
+ 'background-accent-alt': cnamLightTheme.backgroundAccentAlt,
919
+ }
920
+ const paColors = {}
921
+ return {
922
+ cnamColors,
923
+ paColors,
924
+ }
925
+ },
926
+ template: `
927
+ <ColorDisplay
928
+ colorCategory="alternativeBackgrounds"
929
+ :cnamColors="cnamColors"
930
+ :paColors="paColors"
931
+ />
932
+ `,
933
+ }
934
+ },
935
+ tags: ['!dev'],
936
+ }
937
+
938
+ export const InformationalBackgrounds: StoryObj = {
939
+ render: () => {
940
+ return {
941
+ components: { ColorDisplay },
942
+ setup() {
943
+ const cnamColors = {
944
+ 'background-info': cnamLightTheme.backgroundInfo,
945
+ 'background-info-subdued': cnamLightTheme.backgroundInfoSubdued,
946
+ 'background-info-contrasted': cnamLightTheme.backgroundInfoContrasted,
947
+ }
948
+ const paColors = {}
949
+ return {
950
+ cnamColors,
951
+ paColors,
952
+ }
953
+ },
954
+ template: `
955
+ <ColorDisplay
956
+ colorCategory="informationalBackgrounds"
957
+ :cnamColors="cnamColors"
958
+ :paColors="paColors"
959
+ />
960
+ `,
961
+ }
962
+ },
963
+ tags: ['!dev'],
964
+ }
965
+
966
+ export const SuccessBackgrounds: StoryObj = {
967
+ render: () => {
968
+ return {
969
+ components: { ColorDisplay },
970
+ setup() {
971
+ const cnamColors = {
972
+ 'background-success': cnamLightTheme.backgroundSuccess,
973
+ 'background-success-subdued': cnamLightTheme.backgroundSuccessSubdued,
974
+ 'background-success-contrasted': cnamLightTheme.backgroundSuccessContrasted,
975
+ }
976
+ const paColors = {}
977
+ return {
978
+ cnamColors,
979
+ paColors,
980
+ }
981
+ },
982
+ template: `
983
+ <ColorDisplay
984
+ colorCategory="successBackgrounds"
985
+ :cnamColors="cnamColors"
986
+ :paColors="paColors"
987
+ />
988
+ `,
989
+ }
990
+ },
991
+ tags: ['!dev'],
992
+ }
993
+
994
+ export const WarningBackgrounds: StoryObj = {
995
+ render: () => {
996
+ return {
997
+ components: { ColorDisplay },
998
+ setup() {
999
+ const cnamColors = {
1000
+ 'background-warning': cnamLightTheme.backgroundWarning,
1001
+ 'background-warning-subdued': cnamLightTheme.backgroundWarningSubdued,
1002
+ 'background-warning-contrasted': cnamLightTheme.backgroundWarningContrasted,
1003
+ }
1004
+ const paColors = {}
1005
+ return {
1006
+ cnamColors,
1007
+ paColors,
1008
+ }
1009
+ },
1010
+ template: `
1011
+ <ColorDisplay
1012
+ colorCategory="warningBackgrounds"
1013
+ :cnamColors="cnamColors"
1014
+ :paColors="paColors"
1015
+ />
1016
+ `,
1017
+ }
1018
+ },
1019
+ tags: ['!dev'],
1020
+ }
1021
+
1022
+ export const ErrorBackgrounds: StoryObj = {
1023
+ render: () => {
1024
+ return {
1025
+ components: { ColorDisplay },
1026
+ setup() {
1027
+ const cnamColors = {
1028
+ 'background-error': cnamLightTheme.backgroundError,
1029
+ 'background-error-subdued': cnamLightTheme.backgroundErrorSubdued,
1030
+ 'background-error-contrasted': cnamLightTheme.backgroundErrorContrasted,
1031
+ }
1032
+ const paColors = {}
1033
+ return {
1034
+ cnamColors,
1035
+ paColors,
1036
+ }
1037
+ },
1038
+ template: `
1039
+ <ColorDisplay
1040
+ colorCategory="errorBackgrounds"
1041
+ :cnamColors="cnamColors"
1042
+ :paColors="paColors"
1043
+ />
1044
+ `,
1045
+ }
1046
+ },
1047
+ tags: ['!dev'],
1048
+ }
1049
+
1050
+ export const OtherBackgrounds: StoryObj = {
1051
+ render: () => {
1052
+ return {
1053
+ components: { ColorDisplay },
1054
+ setup() {
1055
+ const cnamColors = {
1056
+ 'background-disabled': cnamLightTheme.backgroundDisabled,
1057
+ 'background-disabled-on-dark': cnamLightTheme.backgroundDisabledOnDark,
1058
+ 'background-assure': cnamLightTheme.backgroundAssure,
1059
+ 'background-professionnel': cnamLightTheme.backgroundProfessionnel,
1060
+ 'background-entreprise': cnamLightTheme.backgroundEntreprise,
1061
+ }
1062
+ const paColors = {}
1063
+ return {
1064
+ cnamColors,
1065
+ paColors,
1066
+ }
1067
+ },
1068
+ template: `
1069
+ <ColorDisplay
1070
+ colorCategory="otherBackgrounds"
1071
+ :cnamColors="cnamColors"
1072
+ :paColors="paColors"
1073
+ />
1074
+ `,
1075
+ }
1076
+ },
1077
+ tags: ['!dev'],
1078
+ }