@cnamts/synapse 1.1.0 → 1.1.1

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 (202) hide show
  1. package/dist/{AutocompleteFilter-DXd4szWO.js → AutocompleteFilter-CGF33skz.js} +1 -1
  2. package/dist/{DateFilter-BD59Kgwf.js → DateFilter-D7-MsKtx.js} +1 -1
  3. package/dist/{NumberFilter-BSMZE7uw.js → NumberFilter-bjQPPfsj.js} +1 -1
  4. package/dist/{PeriodFilter-keUdSSk0.js → PeriodFilter-B3wJpK8-.js} +1 -1
  5. package/dist/{SelectFilter-Dhvvwazl.js → SelectFilter-BN6DbKAV.js} +1 -1
  6. package/dist/{TextFilter-CU8FpXz0.js → TextFilter-BffP0J2f.js} +1 -1
  7. package/dist/{apLightTheme2026-DbS7BPUf.js → apLightTheme2026-C4ygwMHC.js} +11 -11
  8. package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +6 -6
  9. package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +6 -6
  10. package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +6 -6
  11. package/dist/components/Captcha/Captcha.d.ts +27 -16
  12. package/dist/components/Captcha/CaptchaForm.d.ts +29 -3
  13. package/dist/components/Captcha/types.d.ts +14 -0
  14. package/dist/components/Captcha/useCaptchaValidation.d.ts +37 -0
  15. package/dist/components/Customs/Selects/SelectBtnField/SelectBtnField.d.ts +33 -13
  16. package/dist/components/Customs/Selects/SelectBtnField/composables/useSelectBtnFieldValidation.d.ts +23 -0
  17. package/dist/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.d.ts +2 -2
  18. package/dist/components/Customs/Selects/SySelect/composables/useSySelectValidation.d.ts +2 -2
  19. package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +17 -48
  20. package/dist/components/Customs/SyCheckBoxGroup/composables/useSyCheckBoxGroupValidation.d.ts +29 -0
  21. package/dist/components/Customs/SyCheckBoxGroup/types.d.ts +46 -0
  22. package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +16 -51
  23. package/dist/components/Customs/SyCheckbox/composables/useSyCheckboxValidation.d.ts +27 -0
  24. package/dist/components/Customs/SyCheckbox/types.d.ts +49 -0
  25. package/dist/components/Customs/SyTextField/FieldState.d.ts +5 -0
  26. package/dist/components/Customs/SyTextField/useSyTextFieldValidation.d.ts +3 -3
  27. package/dist/components/DialogBox/DialogBox.d.ts +2 -0
  28. package/dist/components/DialogBox/locales.d.ts +1 -0
  29. package/dist/components/FilterSideBar/FilterSideBar.d.ts +4 -0
  30. package/dist/components/LunarCalendar/LunarCalendar.d.ts +43 -14
  31. package/dist/components/LunarCalendar/types.d.ts +35 -0
  32. package/dist/components/LunarCalendar/useLunarCalendarValidation.d.ts +11 -12
  33. package/dist/components/MonthPicker/MonthPicker.d.ts +72 -1747
  34. package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +21 -1733
  35. package/dist/components/MonthPicker/MonthPickerText/useTextField.d.ts +5 -0
  36. package/dist/components/MonthPicker/locales.d.ts +1 -0
  37. package/dist/components/MonthPicker/types.d.ts +11 -0
  38. package/dist/components/MonthPicker/useMonthPickerValidation.d.ts +37 -24
  39. package/dist/components/NirField/NirField.d.ts +6 -4
  40. package/dist/components/NirField/useNirValidation.d.ts +7 -5
  41. package/dist/components/PageContainer/PageContainer.d.ts +8 -0
  42. package/dist/components/PasswordField/PasswordField.d.ts +2 -2
  43. package/dist/components/PasswordField/usePasswordFieldValidation.d.ts +2 -2
  44. package/dist/components/PhoneField/PhoneField.d.ts +960 -1938
  45. package/dist/components/PhoneField/indicatifs.d.ts +715 -8
  46. package/dist/components/PhoneField/locales.d.ts +7 -0
  47. package/dist/components/PhoneField/types.d.ts +29 -0
  48. package/dist/components/PhoneField/usePhoneFieldValidation.d.ts +45 -0
  49. package/dist/components/PhoneField/usePhoneIndicatifs.d.ts +947 -0
  50. package/dist/components/SyTextArea/composables/useSyTextAreaValidation.d.ts +2 -2
  51. package/dist/composables/unifyValidation/documentationValidationProps.d.ts +1 -1
  52. package/dist/composables/unifyValidation/useValidation.d.ts +4 -5
  53. package/dist/design-system-v3.js +2 -2
  54. package/dist/designTokens/tokens/amelipro/apLightTheme.d.ts +10 -10
  55. package/dist/designTokens/tokens/baseTokens.d.ts +18 -18
  56. package/dist/designTokens/tokens/cnam/cnamLightTheme.d.ts +10 -10
  57. package/dist/designTokens/tokens/pa/paLightTheme.d.ts +10 -10
  58. package/dist/designTokens/tokens/semanticTokens.d.ts +14 -14
  59. package/dist/{main-D8ryUoS5.js → main-C4wAktOs.js} +13718 -12991
  60. package/dist/synapse.css +1 -1
  61. package/dist/vuetifyConfig.js +1 -1
  62. package/package.json +7 -7
  63. package/src/assets/compat/_legacy-tokens.scss +91 -0
  64. package/src/assets/overrides/_utilities.scss +23 -0
  65. package/src/components/Accordion/Accordion.stories.ts +121 -1
  66. package/src/components/BackBtn/BackBtn.mdx +1 -1
  67. package/src/components/BackToTopBtn/BackToTopBtn.mdx +0 -1
  68. package/src/components/Captcha/Captcha.stories.ts +134 -31
  69. package/src/components/Captcha/Captcha.vue +95 -28
  70. package/src/components/Captcha/CaptchaForm.vue +51 -22
  71. package/src/components/Captcha/tests/Captcha.focus.spec.ts +214 -0
  72. package/src/components/Captcha/tests/Captcha.spec.ts +233 -24
  73. package/src/components/Captcha/tests/CaptchaForm.spec.ts +82 -0
  74. package/src/components/Captcha/tests/__snapshots__/Captcha.spec.ts.snap +16 -42
  75. package/src/components/Captcha/types.ts +15 -0
  76. package/src/components/Captcha/useCaptchaValidation.ts +87 -0
  77. package/src/components/Captcha/validation/validation.stories.ts +1194 -0
  78. package/src/components/ChipList/ChipList.mdx +0 -1
  79. package/src/components/CollapsibleList/CollapsibleList.mdx +0 -1
  80. package/src/components/CookieBanner/CookieBanner.mdx +0 -1
  81. package/src/components/CopyBtn/CopyBtn.mdx +0 -1
  82. package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.stories.ts +123 -439
  83. package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.vue +147 -41
  84. package/src/components/Customs/Selects/SelectBtnField/Validation/Validation.stories.ts +600 -0
  85. package/src/components/Customs/Selects/SelectBtnField/composables/useSelectBtnFieldValidation.ts +87 -0
  86. package/src/components/Customs/Selects/SelectBtnField/tests/SelectBtnField.spec.ts +402 -33
  87. package/src/components/Customs/Selects/SelectBtnField/tests/__snapshots__/SelectBtnField.spec.ts.snap +52 -38
  88. package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.stories.ts +342 -162
  89. package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +77 -129
  90. package/src/components/Customs/SyCheckBoxGroup/Validation/Validation.stories.ts +1008 -0
  91. package/src/components/Customs/SyCheckBoxGroup/composables/useSyCheckBoxGroupValidation.ts +107 -0
  92. package/src/components/Customs/SyCheckBoxGroup/tests/SyCheckBoxGroup.spec.ts +180 -7
  93. package/src/components/Customs/SyCheckBoxGroup/types.ts +49 -0
  94. package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +41 -161
  95. package/src/components/Customs/SyCheckbox/SyCheckbox.vue +71 -148
  96. package/src/components/Customs/SyCheckbox/Validation/Validation.stories.ts +654 -0
  97. package/src/components/Customs/SyCheckbox/composables/useSyCheckboxValidation.ts +105 -0
  98. package/src/components/Customs/SyCheckbox/tests/SyCheckbox.spec.ts +106 -0
  99. package/src/components/Customs/SyCheckbox/tests/useSyCheckboxValidation.spec.ts +98 -0
  100. package/src/components/Customs/SyCheckbox/types.ts +51 -0
  101. package/src/components/Customs/SyTextField/FieldState.vue +50 -0
  102. package/src/components/Customs/SyTextField/SyTextField.vue +12 -9
  103. package/src/components/Customs/SyTextField/useSyTextFieldValidation.ts +2 -11
  104. package/src/components/DataList/DataList.mdx +0 -1
  105. package/src/components/DataListGroup/DataListGroup.mdx +0 -1
  106. package/src/components/DiacriticPicker/DiacriticPicker.mdx +0 -1
  107. package/src/components/DialogBox/DialogBox.mdx +0 -1
  108. package/src/components/DialogBox/DialogBox.stories.ts +399 -4
  109. package/src/components/DialogBox/DialogBox.vue +20 -0
  110. package/src/components/DialogBox/locales.ts +1 -0
  111. package/src/components/DialogBox/tests/DialogBox.spec.ts +73 -0
  112. package/src/components/DialogBox/tests/DialogBox.visual.cy.ts +24 -0
  113. package/src/components/ErrorPage/ErrorPage.mdx +1 -1
  114. package/src/components/ExternalLinks/ExternalLinks.mdx +0 -1
  115. package/src/components/FileList/FileList.mdx +0 -1
  116. package/src/components/FilterInline/FilterInline.mdx +0 -1
  117. package/src/components/FilterSideBar/FilterSideBar.mdx +8 -1
  118. package/src/components/FilterSideBar/FilterSideBar.stories.ts +133 -1
  119. package/src/components/FilterSideBar/FilterSideBar.vue +19 -2
  120. package/src/components/FilterSideBar/tests/FilterSideBar.spec.ts +55 -0
  121. package/src/components/FooterBar/FooterBar.mdx +0 -1
  122. package/src/components/FranceConnectBtn/FranceConnectBtn.mdx +0 -1
  123. package/src/components/HeaderBar/HeaderBar.mdx +0 -1
  124. package/src/components/HeaderLoading/HeaderLoading.mdx +0 -1
  125. package/src/components/LangBtn/LangBtn.mdx +0 -1
  126. package/src/components/Logo/Logo.mdx +1 -1
  127. package/src/components/LunarCalendar/LunarCalendar.mdx +6 -9
  128. package/src/components/LunarCalendar/LunarCalendar.stories.ts +243 -46
  129. package/src/components/LunarCalendar/LunarCalendar.vue +61 -26
  130. package/src/components/LunarCalendar/Validation/Validation.stories.ts +717 -0
  131. package/src/components/LunarCalendar/tests/LunarCalendar.a11y.spec.ts +1 -1
  132. package/src/components/LunarCalendar/tests/LunarCalendar.spec.ts +197 -6
  133. package/src/components/LunarCalendar/tests/useLunarCalendarValidation.spec.ts +287 -0
  134. package/src/components/LunarCalendar/types.ts +39 -0
  135. package/src/components/LunarCalendar/useLunarCalendarValidation.ts +115 -39
  136. package/src/components/MonthPicker/MonthPicker.stories.ts +38 -281
  137. package/src/components/MonthPicker/MonthPicker.vue +66 -17
  138. package/src/components/MonthPicker/MonthPickerText/MonthPickerInput.vue +44 -20
  139. package/src/components/MonthPicker/MonthPickerText/useTextField.ts +5 -0
  140. package/src/components/MonthPicker/Validation/Validation.stories.ts +1117 -0
  141. package/src/components/MonthPicker/locales.ts +1 -0
  142. package/src/components/MonthPicker/tests/MonthPicker.spec.ts +353 -2
  143. package/src/components/MonthPicker/tests/__snapshots__/MonthPicker.spec.ts.snap +12 -8
  144. package/src/components/MonthPicker/types.ts +16 -0
  145. package/src/components/MonthPicker/useMonthPickerValidation.ts +64 -27
  146. package/src/components/NirField/NirField.mdx +120 -66
  147. package/src/components/NirField/NirField.stories.ts +216 -0
  148. package/src/components/NirField/useNirValidation.ts +16 -17
  149. package/src/components/NotFoundPage/tests/__snapshots__/NotFoundPage.spec.ts.snap +263 -245
  150. package/src/components/NotificationBar/NotificationBar.mdx +0 -1
  151. package/src/components/PageContainer/PageContainer.mdx +0 -1
  152. package/src/components/PageContainer/PageContainer.stories.ts +170 -2
  153. package/src/components/PageContainer/PageContainer.vue +63 -8
  154. package/src/components/PageContainer/tests/__snapshots__/PageContainer.spec.ts.snap +19 -11
  155. package/src/components/PaginatedTable/PaginatedTable.mdx +0 -1
  156. package/src/components/PeriodField/PeriodField.mdx +0 -1
  157. package/src/components/PhoneField/PhoneField.mdx +2 -3
  158. package/src/components/PhoneField/PhoneField.stories.ts +227 -410
  159. package/src/components/PhoneField/PhoneField.vue +204 -438
  160. package/src/components/PhoneField/indicatifs.ts +1 -1
  161. package/src/components/PhoneField/locales.ts +7 -0
  162. package/src/components/PhoneField/tests/PhoneField.a11y.spec.ts +0 -1
  163. package/src/components/PhoneField/tests/PhoneField.spec.ts +517 -220
  164. package/src/components/PhoneField/types.ts +30 -0
  165. package/src/components/PhoneField/usePhoneFieldValidation.ts +119 -0
  166. package/src/components/PhoneField/usePhoneIndicatifs.ts +89 -0
  167. package/src/components/PhoneField/validation/validation.stories.ts +717 -0
  168. package/src/components/RangeField/RangeField.mdx +0 -1
  169. package/src/components/RatingPicker/RatingPicker.mdx +0 -1
  170. package/src/components/SocialMediaLinks/SocialMediaLinks.mdx +0 -1
  171. package/src/components/StatusPage/StatusPage.vue +1 -0
  172. package/src/components/StatusPage/tests/__snapshots__/StatusPage.spec.ts.snap +248 -230
  173. package/src/components/SubHeader/SubHeader.mdx +5 -6
  174. package/src/components/Tables/common/tests/SyTableFilter.spec.ts +11 -12
  175. package/src/components/UploadWorkflow/UploadWorkflow.mdx +0 -1
  176. package/src/components/UserMenuBtn/UserMenuBtn.mdx +0 -1
  177. package/src/components/UserMenuBtn/UserMenuBtn.stories.ts +177 -0
  178. package/src/composables/unifyValidation/documentationValidationProps.ts +1 -1
  179. package/src/composables/unifyValidation/tests/useValidation.spec.ts +13 -1
  180. package/src/composables/unifyValidation/useValidation.ts +37 -33
  181. package/src/composantsVuetify/VCard/VCard.mdx +4 -0
  182. package/src/composantsVuetify/VCard/v-card.stories.ts +93 -1
  183. package/src/composantsVuetify/VCarousel/VCarousel.mdx +74 -0
  184. package/src/composantsVuetify/VCarousel/v-carousel.stories.ts +531 -0
  185. package/src/composantsVuetify/VNavigationDrawer/VNavgationDrawer.mdx +53 -0
  186. package/src/composantsVuetify/VNavigationDrawer/v-navigation-drawer.stories.ts +310 -0
  187. package/src/composantsVuetify/VSlideGroup/VSlideGroup.mdx +105 -0
  188. package/src/composantsVuetify/VSlideGroup/v-slide-group.stories.ts +463 -0
  189. package/src/designTokens/tokens/baseColors.ts +1 -1
  190. package/src/designTokens/tokens/baseTokens.ts +18 -18
  191. package/src/stories/Components/Components.stories.ts +34 -1
  192. package/src/stories/Demarrer/Releases.stories.ts +16 -2
  193. package/src/stories/DesignTokens/Arrondis.mdx +1 -1
  194. package/src/stories/DesignTokens/Correspondances.mdx +219 -0
  195. package/src/stories/DesignTokens/UtiliserLesTokens.mdx +235 -0
  196. package/src/stories/DesignTokens/colors.stories.ts +569 -569
  197. package/src/stories/GuideDuDev/Amelipro.stories.ts +335 -267
  198. package/dist/components/LunarCalendar/useLunarCalendarRules.d.ts +0 -5
  199. package/dist/components/PhoneField/tests/types.d.ts +0 -18
  200. package/src/components/LunarCalendar/tests/useLunarCalendarRules.spec.ts +0 -184
  201. package/src/components/LunarCalendar/useLunarCalendarRules.ts +0 -96
  202. package/src/components/PhoneField/tests/types.d.ts +0 -19
@@ -3,296 +3,314 @@
3
3
  exports[`NotFoundPage > display the support ID if provided in the url 1`] = `
4
4
  <div
5
5
  class="
6
+ align-center
6
7
  d-flex
7
- justify-center
8
- px-14
9
- py-10
8
+ flex-column
10
9
  vd-page-container
11
10
  "
12
11
  id="v-0-container"
13
12
  >
14
- <div
15
- class="
16
- bg-transparent
17
- v-sheet
18
- v-theme--light
19
- "
20
- id="v-0-content"
21
- style="width: 800px;"
22
- >
23
- <div class="
24
- elevation-0
25
- pa-6
26
- pa-sm-16
27
- v-card
28
- v-card--density-default
29
- v-card--variant-elevated
30
- v-theme--light
31
- ">
32
- <!---->
33
- <div class="v-card__loader">
34
- <div
35
- aria-hidden="true"
36
- aria-valuemax="100"
37
- aria-valuemin="0"
38
- class="
39
- v-locale--is-ltr
40
- v-progress-linear
41
- v-theme--light
42
- "
43
- role="progressbar"
44
- style="
45
- top: 0px;
46
- height: 0px;
47
- --v-progress-linear-height: 2px;
48
- "
49
- >
50
- <!---->
51
- <div
52
- class="v-progress-linear__background"
53
- style="opacity: NaN;"
54
- ></div>
13
+ <!-- Slot prepend avec wrapper de largeur fixe -->
14
+ <!-- v-if -->
15
+ <div class="
16
+ px-14
17
+ py-10
18
+ vd-page-container__content
19
+ ">
20
+ <div
21
+ class="
22
+ bg-transparent
23
+ v-sheet
24
+ v-theme--light
25
+ "
26
+ id="v-0-content"
27
+ style="width: 800px;"
28
+ >
29
+ <div class="
30
+ elevation-0
31
+ pa-6
32
+ pa-sm-16
33
+ v-card
34
+ v-card--density-default
35
+ v-card--variant-elevated
36
+ v-theme--light
37
+ ">
38
+ <!---->
39
+ <div class="v-card__loader">
55
40
  <div
56
- class="v-progress-linear__buffer"
41
+ aria-hidden="true"
42
+ aria-valuemax="100"
43
+ aria-valuemin="0"
44
+ class="
45
+ v-locale--is-ltr
46
+ v-progress-linear
47
+ v-theme--light
48
+ "
49
+ role="progressbar"
57
50
  style="
58
- opacity: NaN;
59
- width: 0%;
51
+ top: 0px;
52
+ height: 0px;
53
+ --v-progress-linear-height: 2px;
60
54
  "
61
- ></div>
62
- <transition-stub
63
- appear="false"
64
- css="true"
65
- name="fade-transition"
66
- persisted="false"
67
55
  >
68
- <div class="v-progress-linear__indeterminate">
69
- <div class="
70
- long
71
- v-progress-linear__indeterminate
72
- "></div>
73
- <div class="
74
- short
75
- v-progress-linear__indeterminate
76
- "></div>
77
- </div>
78
- </transition-stub>
79
- <!---->
56
+ <!---->
57
+ <div
58
+ class="v-progress-linear__background"
59
+ style="opacity: NaN;"
60
+ ></div>
61
+ <div
62
+ class="v-progress-linear__buffer"
63
+ style="
64
+ opacity: NaN;
65
+ width: 0%;
66
+ "
67
+ ></div>
68
+ <transition-stub
69
+ appear="false"
70
+ css="true"
71
+ name="fade-transition"
72
+ persisted="false"
73
+ >
74
+ <div class="v-progress-linear__indeterminate">
75
+ <div class="
76
+ long
77
+ v-progress-linear__indeterminate
78
+ "></div>
79
+ <div class="
80
+ short
81
+ v-progress-linear__indeterminate
82
+ "></div>
83
+ </div>
84
+ </transition-stub>
85
+ <!---->
86
+ </div>
80
87
  </div>
81
- </div>
82
- <!---->
83
- <!---->
84
- <div class="
85
- max-width-none
86
- v-row
87
- ">
88
+ <!---->
89
+ <!---->
88
90
  <div class="
89
- align-sm-start
90
- d-flex
91
- flex-column
92
- justify-center
93
- order-last
94
- order-sm-first
95
- text-center
96
- text-sm-left
97
- v-col-12
98
- v-col-sm-6
91
+ max-width-none
92
+ v-row
99
93
  ">
100
94
  <div class="
101
- mb-4
102
- sy-code
103
- text-primary
95
+ align-sm-start
96
+ d-flex
97
+ flex-column
98
+ justify-center
99
+ order-last
100
+ order-sm-first
101
+ text-center
102
+ text-sm-left
103
+ v-col-12
104
+ v-col-sm-6
104
105
  ">
105
- <span class="d-sr-only">
106
- Code d'erreur&nbsp;:
107
- </span>
108
- 404
106
+ <div class="
107
+ mb-4
108
+ sy-code
109
+ text-primary
110
+ ">
111
+ <span class="d-sr-only">
112
+ Code d'erreur&nbsp;:
113
+ </span>
114
+ 404
115
+ </div>
116
+ <h1 class="
117
+ font-weight-bold
118
+ mb-2
119
+ mb-4
120
+ sy-heading
121
+ text-h5
122
+ ">
123
+ Page non trouvée
124
+ </h1>
125
+ <p>
126
+ <span>
127
+ Cette page n'existe pas ou a été déplacée.
128
+ </span>
129
+ </p>
130
+ <p class="mt-4">
131
+ Votre identifiant de support est
132
+ <b>
133
+ 1234 5678 9012 3456 789
134
+ </b>
135
+ .
136
+ </p>
137
+ <!-- v-if -->
109
138
  </div>
110
- <h1 class="
111
- font-weight-bold
112
- mb-2
113
- mb-4
114
- sy-heading
115
- text-h5
139
+ <div class="
140
+ align-center
141
+ d-flex
142
+ justify-center
143
+ v-col-12
144
+ v-col-sm-6
116
145
  ">
117
- Page non trouvée
118
- </h1>
119
- <p>
120
- <span>
121
- Cette page n'existe pas ou a été déplacée.
122
- </span>
123
- </p>
124
- <p class="mt-4">
125
- Votre identifiant de support est
126
- <b>
127
- 1234 5678 9012 3456 789
128
- </b>
129
- .
130
- </p>
131
- <!-- v-if -->
132
- </div>
133
- <div class="
134
- align-center
135
- d-flex
136
- justify-center
137
- v-col-12
138
- v-col-sm-6
139
- ">
140
- <img
141
- alt=""
142
- aria-hidden="true"
143
- src="/src/components/NotFoundPage/assets/not-found.svg"
144
- />
146
+ <img
147
+ alt=""
148
+ aria-hidden="true"
149
+ src="/src/components/NotFoundPage/assets/not-found.svg"
150
+ />
151
+ </div>
145
152
  </div>
153
+ <!---->
154
+ <!---->
155
+ <span class="v-card__underlay"></span>
146
156
  </div>
147
- <!---->
148
- <!---->
149
- <span class="v-card__underlay"></span>
150
157
  </div>
151
158
  </div>
159
+ <!-- Slot append avec wrapper de largeur fixe -->
160
+ <!-- v-if -->
152
161
  </div>
153
162
  `;
154
163
 
155
164
  exports[`NotFoundPage > renders correctly 1`] = `
156
165
  <div
157
166
  class="
167
+ align-center
158
168
  d-flex
159
- justify-center
160
- px-14
161
- py-10
169
+ flex-column
162
170
  vd-page-container
163
171
  "
164
172
  id="v-0-container"
165
173
  >
166
- <div
167
- class="
168
- bg-transparent
169
- v-sheet
170
- v-theme--light
171
- "
172
- id="v-0-content"
173
- style="width: 800px;"
174
- >
175
- <div class="
176
- elevation-0
177
- pa-6
178
- pa-sm-16
179
- v-card
180
- v-card--density-default
181
- v-card--variant-elevated
182
- v-theme--light
183
- ">
184
- <!---->
185
- <div class="v-card__loader">
186
- <div
187
- aria-hidden="true"
188
- aria-valuemax="100"
189
- aria-valuemin="0"
190
- class="
191
- v-locale--is-ltr
192
- v-progress-linear
193
- v-theme--light
194
- "
195
- role="progressbar"
196
- style="
197
- top: 0px;
198
- height: 0px;
199
- --v-progress-linear-height: 2px;
200
- "
201
- >
202
- <!---->
203
- <div
204
- class="v-progress-linear__background"
205
- style="opacity: NaN;"
206
- ></div>
174
+ <!-- Slot prepend avec wrapper de largeur fixe -->
175
+ <!-- v-if -->
176
+ <div class="
177
+ px-14
178
+ py-10
179
+ vd-page-container__content
180
+ ">
181
+ <div
182
+ class="
183
+ bg-transparent
184
+ v-sheet
185
+ v-theme--light
186
+ "
187
+ id="v-0-content"
188
+ style="width: 800px;"
189
+ >
190
+ <div class="
191
+ elevation-0
192
+ pa-6
193
+ pa-sm-16
194
+ v-card
195
+ v-card--density-default
196
+ v-card--variant-elevated
197
+ v-theme--light
198
+ ">
199
+ <!---->
200
+ <div class="v-card__loader">
207
201
  <div
208
- class="v-progress-linear__buffer"
202
+ aria-hidden="true"
203
+ aria-valuemax="100"
204
+ aria-valuemin="0"
205
+ class="
206
+ v-locale--is-ltr
207
+ v-progress-linear
208
+ v-theme--light
209
+ "
210
+ role="progressbar"
209
211
  style="
210
- opacity: NaN;
211
- width: 0%;
212
+ top: 0px;
213
+ height: 0px;
214
+ --v-progress-linear-height: 2px;
212
215
  "
213
- ></div>
214
- <transition-stub
215
- appear="false"
216
- css="true"
217
- name="fade-transition"
218
- persisted="false"
219
216
  >
220
- <div class="v-progress-linear__indeterminate">
221
- <div class="
222
- long
223
- v-progress-linear__indeterminate
224
- "></div>
225
- <div class="
226
- short
227
- v-progress-linear__indeterminate
228
- "></div>
229
- </div>
230
- </transition-stub>
231
- <!---->
217
+ <!---->
218
+ <div
219
+ class="v-progress-linear__background"
220
+ style="opacity: NaN;"
221
+ ></div>
222
+ <div
223
+ class="v-progress-linear__buffer"
224
+ style="
225
+ opacity: NaN;
226
+ width: 0%;
227
+ "
228
+ ></div>
229
+ <transition-stub
230
+ appear="false"
231
+ css="true"
232
+ name="fade-transition"
233
+ persisted="false"
234
+ >
235
+ <div class="v-progress-linear__indeterminate">
236
+ <div class="
237
+ long
238
+ v-progress-linear__indeterminate
239
+ "></div>
240
+ <div class="
241
+ short
242
+ v-progress-linear__indeterminate
243
+ "></div>
244
+ </div>
245
+ </transition-stub>
246
+ <!---->
247
+ </div>
232
248
  </div>
233
- </div>
234
- <!---->
235
- <!---->
236
- <div class="
237
- max-width-none
238
- v-row
239
- ">
249
+ <!---->
250
+ <!---->
240
251
  <div class="
241
- align-sm-start
242
- d-flex
243
- flex-column
244
- justify-center
245
- order-last
246
- order-sm-first
247
- text-center
248
- text-sm-left
249
- v-col-12
250
- v-col-sm-6
252
+ max-width-none
253
+ v-row
251
254
  ">
252
255
  <div class="
253
- mb-4
254
- sy-code
255
- text-primary
256
+ align-sm-start
257
+ d-flex
258
+ flex-column
259
+ justify-center
260
+ order-last
261
+ order-sm-first
262
+ text-center
263
+ text-sm-left
264
+ v-col-12
265
+ v-col-sm-6
256
266
  ">
257
- <span class="d-sr-only">
258
- Code d'erreur&nbsp;:
259
- </span>
260
- 404
267
+ <div class="
268
+ mb-4
269
+ sy-code
270
+ text-primary
271
+ ">
272
+ <span class="d-sr-only">
273
+ Code d'erreur&nbsp;:
274
+ </span>
275
+ 404
276
+ </div>
277
+ <h1 class="
278
+ font-weight-bold
279
+ mb-2
280
+ mb-4
281
+ sy-heading
282
+ text-h5
283
+ ">
284
+ Page non trouvée
285
+ </h1>
286
+ <p>
287
+ <span>
288
+ Cette page n'existe pas ou a été déplacée.
289
+ </span>
290
+ </p>
291
+ <!-- v-if -->
261
292
  </div>
262
- <h1 class="
263
- font-weight-bold
264
- mb-2
265
- mb-4
266
- sy-heading
267
- text-h5
293
+ <div class="
294
+ align-center
295
+ d-flex
296
+ justify-center
297
+ v-col-12
298
+ v-col-sm-6
268
299
  ">
269
- Page non trouvée
270
- </h1>
271
- <p>
272
- <span>
273
- Cette page n'existe pas ou a été déplacée.
274
- </span>
275
- </p>
276
- <!-- v-if -->
277
- </div>
278
- <div class="
279
- align-center
280
- d-flex
281
- justify-center
282
- v-col-12
283
- v-col-sm-6
284
- ">
285
- <img
286
- alt=""
287
- aria-hidden="true"
288
- src="/src/components/NotFoundPage/assets/not-found.svg"
289
- />
300
+ <img
301
+ alt=""
302
+ aria-hidden="true"
303
+ src="/src/components/NotFoundPage/assets/not-found.svg"
304
+ />
305
+ </div>
290
306
  </div>
307
+ <!---->
308
+ <!---->
309
+ <span class="v-card__underlay"></span>
291
310
  </div>
292
- <!---->
293
- <!---->
294
- <span class="v-card__underlay"></span>
295
311
  </div>
296
312
  </div>
313
+ <!-- Slot append avec wrapper de largeur fixe -->
314
+ <!-- v-if -->
297
315
  </div>
298
316
  `;
@@ -38,7 +38,6 @@ import * as NotificationBarStories from './NotificationBar.stories';
38
38
  import type { Notification } from '@cnamts/synapse'
39
39
 
40
40
  const { addNotification } = useNotificationService()
41
- import '../../stories/styles/shared.css';
42
41
 
43
42
  const envoyerNotification = (message: string, type: Notification['type']) => {
44
43
  const notification: Notification = {
@@ -21,7 +21,6 @@ import * as PageContainerStories from './PageContainer.stories';
21
21
  <script setup lang="ts">
22
22
  import { PageContainer } from '@cnamts/synapse'
23
23
  </script>
24
- import '../../stories/styles/shared.css';
25
24
 
26
25
  <template>
27
26
  <PageContainer color="primary">