@cnamts/synapse 0.0.6-alpha → 0.0.7-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 (36) hide show
  1. package/dist/design-system-v3.d.ts +8 -6
  2. package/dist/design-system-v3.js +19 -16
  3. package/dist/design-system-v3.umd.cjs +4 -4
  4. package/dist/style.css +1 -1
  5. package/package.json +1 -1
  6. package/src/components/BackBtn/BackBtn.stories.ts +4 -1
  7. package/src/components/BackToTopBtn/BackToTopBtn.stories.ts +3 -3
  8. package/src/components/CookieBanner/CookieBanner.stories.ts +2 -0
  9. package/src/components/CopyBtn/CopyBtn.stories.ts +5 -2
  10. package/src/components/Customs/SyBtnSelect/SyBtnSelect.stories.ts +11 -51
  11. package/src/components/Customs/SyInputSelect/SyInputSelect.mdx +4 -1
  12. package/src/components/Customs/SyInputSelect/SyInputSelect.stories.ts +19 -7
  13. package/src/components/Customs/SySelect/SySelect.mdx +1 -2
  14. package/src/components/Customs/SySelect/SySelect.stories.ts +0 -2
  15. package/src/components/DownloadBtn/DownloadBtn.mdx +3 -4
  16. package/src/components/DownloadBtn/DownloadBtn.stories.ts +20 -21
  17. package/src/components/ErrorPage/ErrorPage.vue +1 -1
  18. package/src/components/FooterBar/FooterBar.vue +6 -2
  19. package/src/components/FranceConnectBtn/FranceConnectBtn.stories.ts +2 -1
  20. package/src/components/HeaderBar/HeaderBar.stories.ts +19 -12
  21. package/src/components/HeaderBar/HeaderBar.vue +8 -3
  22. package/src/components/HeaderBar/HeaderBurgerMenu/HeaderBurgerMenu.vue +1 -0
  23. package/src/components/HeaderNavigationBar/HeaderNavigationBar.stories.ts +104 -32
  24. package/src/components/HeaderToolbar/HeaderToolbar.vue +23 -1
  25. package/src/components/NirField/NirField.mdx +1 -4
  26. package/src/components/NirField/NirField.stories.ts +65 -12
  27. package/src/components/NirField/NirField.vue +5 -2
  28. package/src/components/NirField/tests/NirField.spec.ts +1 -0
  29. package/src/components/PageContainer/PageContainer.stories.ts +5 -5
  30. package/src/components/PageContainer/PageContainer.vue +9 -4
  31. package/src/components/PageContainer/tests/PageContainer.spec.ts +1 -1
  32. package/src/components/SocialMediaLinks/SocialMediaLinks.vue +7 -1
  33. package/src/components/SocialMediaLinks/tests/__snapshots__/SocialMediaLinks.spec.ts.snap +2 -2
  34. package/src/components/SubHeader/SubHeader.stories.ts +6 -3
  35. package/src/components/SyAlert/SyAlert.vue +7 -0
  36. package/src/components/index.ts +1 -0
@@ -86,52 +86,6 @@ const items = [
86
86
  },
87
87
  }
88
88
 
89
- export const withLink: Story = {
90
- parameters: {
91
- sourceCode: [
92
- {
93
- name: 'Template',
94
- code: `
95
- <template>
96
- <SyBtnSelect
97
- :primary-info="primaryInfo"
98
- :menu-items="items"
99
- />
100
- </template>
101
- `,
102
- },
103
- {
104
- name: 'Script',
105
- code: `
106
- <script setup lang="ts">
107
- import SyBtnSelect from './SyBtnSelect.vue'
108
-
109
- const primaryInfo = 'Mes options'
110
- const items = ['Option 1', 'Option 2']
111
- </script>
112
- `,
113
- },
114
- ],
115
- },
116
- args: {
117
- primaryInfo: 'Mes options',
118
- menuItems: ['Option 1', 'Option 2'],
119
- },
120
- render: (args) => {
121
- return {
122
- components: { SyBtnSelect },
123
- setup() {
124
- return { args }
125
- },
126
- template: `
127
- <div class="d-flex flex-wrap align-center pa-4">
128
- <SyBtnSelect v-bind="args"/>
129
- </div>
130
- `,
131
- }
132
- },
133
- }
134
-
135
89
  export const MobileView: Story = {
136
90
  parameters: {
137
91
  sourceCode: [
@@ -203,6 +157,7 @@ export const WithSlotPrependIcon: Story = {
203
157
  code: `
204
158
  <script setup lang="ts">
205
159
  import SyBtnSelect from './SyBtnSelect.vue'
160
+ import { mdiAccount } from '@mdi/js'
206
161
 
207
162
  const primaryInfo = 'Jane Doe'
208
163
  const items = ['Option 1', 'Option 2']
@@ -260,6 +215,7 @@ export const WithSlotAppendIcon: Story = {
260
215
  code: `
261
216
  <script setup lang="ts">
262
217
  import SyBtnSelect from './SyBtnSelect.vue'
218
+ import { mdiAccount } from '@mdi/js'
263
219
 
264
220
  const primaryInfo = 'Jane Doe'
265
221
  const items = ['Option 1', 'Option 2']
@@ -315,6 +271,7 @@ export const WithIconOnly: Story = {
315
271
  code: `
316
272
  <script setup lang="ts">
317
273
  import SyBtnSelect from './SyBtnSelect.vue'
274
+ import { mdiAccount } from '@mdi/js'
318
275
 
319
276
  const primaryInfo = 'Jane Doe'
320
277
  const items = ['Option 1', 'Option 2']
@@ -359,7 +316,7 @@ export const WithLogoutItemSlot: Story = {
359
316
  :menu-items="items"
360
317
  >
361
318
  <template #footer-list-item>
362
- <VListItem @click="args.logout">
319
+ <VListItem @click="console.log('logout')">
363
320
  <VListItemTitle>Logout</VListItemTitle>
364
321
  </VListItem>
365
322
  </template>
@@ -394,7 +351,7 @@ const items = ['Option 1', 'Option 2']
394
351
  <div class="d-flex flex-wrap align-center pa-4">
395
352
  <SyBtnSelect v-bind="args">
396
353
  <template #footer-list-item>
397
- <VListItem @click="args.logout">
354
+ <VListItem @click="console.log('logout')">
398
355
  <VListItemTitle>Logout</VListItemTitle>
399
356
  </VListItem>
400
357
  </template>
@@ -413,7 +370,6 @@ export const WithCustomKeys: Story = {
413
370
  code: `
414
371
  <template>
415
372
  <SyBtnSelect
416
- v-bind="args"
417
373
  text-key="customText"
418
374
  value-key="customValue"
419
375
  :menu-items="menuItems"
@@ -430,6 +386,7 @@ export const WithCustomKeys: Story = {
430
386
  code: `
431
387
  <script setup lang="ts">
432
388
  import SyBtnSelect from './SyBtnSelect.vue'
389
+ import { mdiAccount } from '@mdi/js'
433
390
 
434
391
  const primaryInfo = 'Information principale'
435
392
  const menuItems = [
@@ -485,7 +442,7 @@ export const WithMultipleSlots: Story = {
485
442
  <VIcon :icon="mdiAccount" />
486
443
  </template>
487
444
  <template #footer-list-item>
488
- <VListItem @click="args.logout">
445
+ <VListItem @click="console.log('logout')">
489
446
  <VListItemTitle>Se déconnecter</VListItemTitle>
490
447
  </VListItem>
491
448
  </template>
@@ -498,6 +455,7 @@ export const WithMultipleSlots: Story = {
498
455
  code: `
499
456
  <script setup lang="ts">
500
457
  import SyBtnSelect from './SyBtnSelect.vue'
458
+ import { mdiAccount } from '@mdi/js'
501
459
 
502
460
  const primaryInfo = 'Information principale'
503
461
  const menuItems = ['Option 1', 'Option 2']
@@ -522,7 +480,7 @@ const menuItems = ['Option 1', 'Option 2']
522
480
  <VIcon :icon="mdiAccount"/>
523
481
  </template>
524
482
  <template #footer-list-item>
525
- <VListItem @click="args.logout">
483
+ <VListItem @click="console.log('logout')">
526
484
  <VListItemTitle>Se déconnecter</VListItemTitle>
527
485
  </VListItem>
528
486
  </template>
@@ -560,6 +518,7 @@ export const WithCustomStyles: Story = {
560
518
  code: `
561
519
  <script setup lang="ts">
562
520
  import SyBtnSelect from './SyBtnSelect.vue'
521
+ import { mdiAccount } from '@mdi/js'
563
522
 
564
523
  const primaryInfo = 'Jane Doe'
565
524
  const items = ['Option 1', 'Option 2']
@@ -619,6 +578,7 @@ export const WithStyledOptions: Story = {
619
578
  code: `
620
579
  <script setup lang="ts">
621
580
  import SyBtnSelect from './SyBtnSelect.vue'
581
+ import { mdiAccount } from '@mdi/js'
622
582
 
623
583
  const primaryInfo = 'Information principale'
624
584
  const menuItems = ['Option 1', 'Option 2']
@@ -21,11 +21,14 @@ Il est basé sur un `v-input`.
21
21
  <Source dark code={`
22
22
  <script setup lang="ts">
23
23
  import { SyInputSelect } from '@cnamts/synapse'
24
+ import { ref } from 'vue'
24
25
 
25
26
  const items = [
26
27
  { text: 'Option 1', value: '1' },
27
28
  { text: 'Option 2', value: '2' },
28
- ],
29
+ ]
30
+
31
+ const value = ref(undefined)
29
32
  </script>
30
33
 
31
34
  <template>
@@ -44,12 +44,15 @@ export const Default: Story = {
44
44
  name: 'Script',
45
45
  code: `
46
46
  <script setup lang="ts">
47
- import SyInputSelect from '@cnamts/SyInputSelect'
47
+ import SyInputSelect from '@cnamts/synapse'
48
+ import { ref } from 'vue'
48
49
 
49
50
  const items = [
50
51
  { text: 'Option 1', value: '1' },
51
52
  { text: 'Option 2', value: '2' },
52
53
  ],
54
+
55
+ const value = ref(undefined)
53
56
  </script>
54
57
  `,
55
58
  },
@@ -107,12 +110,15 @@ export const Required: Story = {
107
110
  name: 'Script',
108
111
  code: `
109
112
  <script setup lang="ts">
110
- import SyInputSelect from '@cnamts/SyInputSelect'
113
+ import SyInputSelect from '@cnamts/synapse'
114
+ import { ref } from 'vue'
111
115
 
112
116
  const items = [
113
117
  { text: 'Option 1', value: '1' },
114
118
  { text: 'Option 2', value: '2' },
115
119
  ],
120
+
121
+ const value = ref(undefined)
116
122
  </script>
117
123
  `,
118
124
  },
@@ -165,7 +171,7 @@ export const withCustomError: Story = {
165
171
  name: 'Script',
166
172
  code: `
167
173
  <script setup lang="ts">
168
- import SyInputSelect from '@cnamts/SyInputSelect'
174
+ import SyInputSelect from '@cnamts/synapse'
169
175
  import { ref } from 'vue'
170
176
 
171
177
  const items = [
@@ -178,6 +184,8 @@ export const withCustomError: Story = {
178
184
  const triggerError = () => {
179
185
  errorMessages.value = ['This is a test error message']
180
186
  }
187
+
188
+ const value = ref(undefined)
181
189
  </script>
182
190
  `,
183
191
  },
@@ -226,7 +234,6 @@ export const withCustomKey: Story = {
226
234
  v-model="value"
227
235
  :items="items"
228
236
  text-key="customKey"
229
- outlined
230
237
  />
231
238
  </template>
232
239
  `,
@@ -235,12 +242,15 @@ export const withCustomKey: Story = {
235
242
  name: 'Script',
236
243
  code: `
237
244
  <script setup lang="ts">
238
- import SyInputSelect from '@cnamts/SyInputSelect'
245
+ import SyInputSelect from '@cnamts/synapse'
246
+ import { ref } from 'vue'
239
247
 
240
248
  const items = [
241
249
  { customKey: 'Choix 1', value: '1' },
242
250
  { customKey: 'Choix 2', value: '2' }
243
251
  ]
252
+
253
+ const value = ref(undefined)
244
254
  </script>
245
255
  `,
246
256
  },
@@ -262,7 +272,6 @@ export const withCustomKey: Story = {
262
272
  <div class="d-flex flex-wrap align-center pa-4">
263
273
  <SyInputSelect
264
274
  v-bind="args"
265
- outlined
266
275
  text-key="customKey"
267
276
  />
268
277
  </div>
@@ -290,7 +299,8 @@ export const withCustomStyles: Story = {
290
299
  name: 'Script',
291
300
  code: `
292
301
  <script setup lang="ts">
293
- import SyInputSelect from '@cnamts/SyInputSelect'
302
+ import SyInputSelect from '@cnamts/synapse'
303
+ import { ref } from 'vue'
294
304
 
295
305
  const items = [
296
306
  { text: 'Option 1', value: '1' },
@@ -305,6 +315,8 @@ export const withCustomStyles: Story = {
305
315
  color: 'secondary',
306
316
  },
307
317
  }
318
+
319
+ const value = ref(undefined)
308
320
  </script>
309
321
  `,
310
322
  },
@@ -35,11 +35,10 @@ Il est basé sur un `v-textfield`.
35
35
  <main class="ma-12">
36
36
  SelectedValue: {{ selectedValue }}
37
37
  <div class="d-flex flex-wrap align-center">
38
- <custom-select
38
+ <SySelect
39
39
  v-model="selectedValue"
40
40
  :items="items"
41
41
  text-key="text"
42
- outlined
43
42
  required
44
43
  />
45
44
  </div>
@@ -215,7 +215,6 @@ export const withCustomKey: Story = {
215
215
  v-model="value"
216
216
  :items="items"
217
217
  text-key="customKey"
218
- outlined
219
218
  />
220
219
  </template>
221
220
  `,
@@ -251,7 +250,6 @@ export const withCustomKey: Story = {
251
250
  <div class="d-flex flex-wrap align-center pa-4">
252
251
  <SySelect
253
252
  v-bind="args"
254
- outlined
255
253
  text-key="customKey"
256
254
  />
257
255
  </div>
@@ -52,13 +52,12 @@ Exemple :
52
52
  <Source dark code={`
53
53
  <script setup lang="ts">
54
54
  import { DownloadBtn } from '@cnamts/synapse'
55
- import { NotificationBar } from '@cnamts/synapse'
56
- import axios from 'axios'
57
- import { useNotificationService } from '@cnamts/synapse/src/services/NotificationService'
55
+ import { NotificationBar, useNotificationService } from '@cnamts/synapse'
58
56
  import type { Notification } from '@cnamts/synapse/src/components/NotificationBar/types'
57
+ import axios from 'axios'
59
58
 
60
59
  function download() {
61
- return axios.get('https://run.mocky.io/v3/63e571d5-1134-4f51-82ac-fa7cc8045124')
60
+ return axios.get('https://run.mocky.io/v3/884c25f5-6dc2-4c01-b8d9-26c54042f94f')
62
61
  }
63
62
 
64
63
  const { addNotification } = useNotificationService()
@@ -24,7 +24,7 @@ const meta = {
24
24
  },
25
25
  filePromise: {
26
26
  control: false,
27
- description: 'Une fonction retournant un valeur de retour de Axios `Promise<AxiosResponse>`. <br>Exemple: `() => axios.get("https://run.mocky.io/v3/63e571d5-1134-4f51-82ac-fa7cc8045124")`',
27
+ description: 'Une fonction retournant une valeur de retour de Axios `Promise<AxiosResponse>`. <br>Exemple: `() => axios.get("https://run.mocky.io/v3/884c25f5-6dc2-4c01-b8d9-26c54042f94f")`',
28
28
  table: {
29
29
  category: 'props',
30
30
  },
@@ -99,8 +99,8 @@ export const Default: Story = {
99
99
  code: `<template>
100
100
  <DownloadBtn
101
101
  :file-promise="download"
102
- @error="onError"
103
- @success="onSuccess"
102
+ @error="console.log('error')"
103
+ @success="console.log('success')"
104
104
  >
105
105
  Télécharger
106
106
  </DownloadBtn>
@@ -114,7 +114,7 @@ export const Default: Story = {
114
114
  import axios from 'axios'
115
115
 
116
116
  const download = () => {
117
- return axios.get('https://run.mocky.io/v3/63e571d5-1134-4f51-82ac-fa7cc8045124')
117
+ return axios.get('https://run.mocky.io/v3/884c25f5-6dc2-4c01-b8d9-26c54042f94f')
118
118
  }
119
119
  </script>
120
120
  `,
@@ -122,7 +122,7 @@ export const Default: Story = {
122
122
  ],
123
123
  },
124
124
  args: {
125
- filePromise: () => axios.get('https://run.mocky.io/v3/63e571d5-1134-4f51-82ac-fa7cc8045124'),
125
+ filePromise: () => axios.get('https://run.mocky.io/v3/884c25f5-6dc2-4c01-b8d9-26c54042f94f'),
126
126
  default: 'Télécharger',
127
127
  onError: fn(),
128
128
  onSuccess: fn(),
@@ -138,8 +138,8 @@ export const Error: Story = {
138
138
  code: `<template>
139
139
  <DownloadBtn
140
140
  :file-promise="download"
141
- @error="onError"
142
- @success="onSuccess"
141
+ @error="console.log('error')"
142
+ @success="console.log('success')"
143
143
  >
144
144
  Télécharger
145
145
  </DownloadBtn>
@@ -177,8 +177,8 @@ export const Loading: Story = {
177
177
  code: `<template>
178
178
  <DownloadBtn
179
179
  :file-promise="download"
180
- @error="onError"
181
- @success="onSuccess"
180
+ @error="console.log('error')"
181
+ @success="console.log('success')"
182
182
  >
183
183
  Télécharger
184
184
  </DownloadBtn>
@@ -222,8 +222,8 @@ export const Dark: Story = {
222
222
  <VThemeProvider theme="dark" with-background class="pa-4">
223
223
  <DownloadBtn
224
224
  :file-promise="download"
225
- @error="onError"
226
- @success="onSuccess"
225
+ @error="console.log('error')"
226
+ @success="console.log('success')"
227
227
  >
228
228
  Télécharger
229
229
  </DownloadBtn>
@@ -257,7 +257,7 @@ export const Dark: Story = {
257
257
  `,
258
258
  }),
259
259
  args: {
260
- filePromise: () => axios.get('https://run.mocky.io/v3/63e571d5-1134-4f51-82ac-fa7cc8045124'),
260
+ filePromise: () => axios.get('https://run.mocky.io/v3/884c25f5-6dc2-4c01-b8d9-26c54042f94f'),
261
261
  default: 'Télécharger',
262
262
  onError: fn(),
263
263
  onSuccess: fn(),
@@ -274,8 +274,8 @@ export const Notify: Story = {
274
274
  <NotificationBar />
275
275
  <DownloadBtn
276
276
  :file-promise="download"
277
- @error="onError"
278
- @success="onSuccess"
277
+ @error="notify('Une error est survenue', 'error')"
278
+ @success="notify('Votre attestation a été téléchargée', 'success')"
279
279
  >
280
280
  Télécharger
281
281
  </DownloadBtn>
@@ -286,8 +286,7 @@ export const Notify: Story = {
286
286
  {
287
287
  name: 'Script',
288
288
  code: `<script setup lang="ts">
289
- import { DownloadBtn } from '@cnamts/synapse'
290
- import NotificationBar from '@cnamts/synapse'
289
+ import { DownloadBtn, NotificationBar } from '@cnamts/synapse'
291
290
 
292
291
  import axios from 'axios'
293
292
 
@@ -312,7 +311,7 @@ export const Notify: Story = {
312
311
  ],
313
312
  },
314
313
  args: {
315
- filePromise: () => axios.get('https://run.mocky.io/v3/63e571d5-1134-4f51-82ac-fa7cc8045124'),
314
+ filePromise: () => axios.get('https://run.mocky.io/v3/884c25f5-6dc2-4c01-b8d9-26c54042f94f'),
316
315
  default: 'Télécharger',
317
316
  onError: fn(),
318
317
  onSuccess: fn(),
@@ -362,8 +361,8 @@ export const Customization: Story = {
362
361
  <DownloadBtn
363
362
  :file-promise="download"
364
363
  :vuetify-options="vuetifyOptions"
365
- @error="onError"
366
- @success="onSuccess"
364
+ @error="console.log('error')"
365
+ @success="console.log('success')"
367
366
  >
368
367
  Télécharger
369
368
  </DownloadBtn>
@@ -377,7 +376,7 @@ export const Customization: Story = {
377
376
  import axios from 'axios'
378
377
 
379
378
  const download = () => {
380
- return axios.get('https://run.mocky.io/v3/63e571d5-1134-4f51-82ac-fa7cc8045124')
379
+ return axios.get('https://run.mocky.io/v3/884c25f5-6dc2-4c01-b8d9-26c54042f94f')
381
380
  }
382
381
 
383
382
  const vuetifyOptions = {
@@ -397,7 +396,7 @@ export const Customization: Story = {
397
396
  ],
398
397
  },
399
398
  args: {
400
- filePromise: () => axios.get('https://run.mocky.io/v3/63e571d5-1134-4f51-82ac-fa7cc8045124'),
399
+ filePromise: () => axios.get('https://run.mocky.io/v3/884c25f5-6dc2-4c01-b8d9-26c54042f94f'),
401
400
  default: 'Télécharger',
402
401
  onError: fn(),
403
402
  onSuccess: fn(),
@@ -25,7 +25,7 @@
25
25
  </script>
26
26
 
27
27
  <template>
28
- <PageContainer size="l">
28
+ <PageContainer size="md">
29
29
  <VCard
30
30
  :elevation="0"
31
31
  class="pa-6 pa-sm-16"
@@ -79,8 +79,12 @@
79
79
  return typeof complianceLabel === 'string' ? locales.a11yLabel(complianceLabel) : ''
80
80
  })
81
81
 
82
- const extendedMode = computed(() => {
83
- return Boolean(slots.default)
82
+ const extendedMode = computed<boolean>(() => {
83
+ if (slots.default) {
84
+ return true
85
+ }
86
+
87
+ return false
84
88
  })
85
89
 
86
90
  const logoSize = computed(() => {
@@ -105,7 +105,8 @@ export const DarkTheme: Story = {
105
105
  {
106
106
  name: 'Template',
107
107
  code: `<template>
108
- <FranceConnectBtn
108
+ <FranceConnectBtn
109
+ href="https://app.franceconnect.gouv.fr/"
109
110
  is-connect-plus
110
111
  dark
111
112
  />
@@ -237,7 +237,7 @@ export const WithRightMenu: Story = {
237
237
  <div class="d-flex justify-center h-100 ga-4 pr-4">
238
238
  <VBtn
239
239
  variant="text"
240
- :prepend-icon="searchIcon"
240
+ :prepend-icon="mdiMagnify"
241
241
  color="primary"
242
242
  >
243
243
  Rechercher
@@ -344,7 +344,7 @@ export const CustomLogo: Story = {
344
344
  code: `
345
345
  <template>
346
346
  <HeaderBar>
347
- <template #logo-brand-content="{ menuOpen }">
347
+ <template #logo-brand-content>
348
348
  <svg data-v-7f5c1754="" width="22" height="64" fill="#0c419a" role="img" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 64" class="vd-divider"><path data-v-7f5c1754="" d="M14.3 49.3c-.2 0-.4-.2-.4-.4V14.2c0-.2.2-.4.4-.4.3 0 .5.2.5.4v34.7c0 .2-.2.4-.5.4Z"></path></svg>
349
349
  <img
350
350
  src="/ameli.svg"
@@ -354,7 +354,7 @@ export const CustomLogo: Story = {
354
354
  </HeaderBar>
355
355
  <br>
356
356
  <HeaderBar>
357
- <template #logo-brand-content="{ menuOpen }">
357
+ <template #logo-brand-content>
358
358
  <svg data-v-7f5c1754="" width="22" height="64" fill="#0c419a" role="img" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 64" class="vd-divider"><path data-v-7f5c1754="" d="M14.3 49.3c-.2 0-.4-.2-.4-.4V14.2c0-.2.2-.4.4-.4.3 0 .5.2.5.4v34.7c0 .2-.2.4-.5.4Z"></path></svg>
359
359
  <img
360
360
  src="/ameli-pro.svg"
@@ -364,7 +364,7 @@ export const CustomLogo: Story = {
364
364
  </HeaderBar>
365
365
  <br>
366
366
  <HeaderBar>
367
- <template #logo-brand-content="{ menuOpen }">
367
+ <template #logo-brand-content>
368
368
  <svg data-v-7f5c1754="" width="22" height="64" fill="#0c419a" role="img" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 64" class="vd-divider"><path data-v-7f5c1754="" d="M14.3 49.3c-.2 0-.4-.2-.4-.4V14.2c0-.2.2-.4.4-.4.3 0 .5.2.5.4v34.7c0 .2-.2.4-.5.4Z"></path></svg>
369
369
  <img
370
370
  src="/cnam.svg"
@@ -374,7 +374,7 @@ export const CustomLogo: Story = {
374
374
  </HeaderBar>
375
375
  <br>
376
376
  <HeaderBar>
377
- <template #logo-brand-content="{ menuOpen }">
377
+ <template #logo-brand-content">
378
378
  <svg data-v-7f5c1754="" width="22" height="64" fill="#006386" role="img" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 64" class="vd-divider"><path data-v-7f5c1754="" d="M14.3 49.3c-.2 0-.4-.2-.4-.4V14.2c0-.2.2-.4.4-.4.3 0 .5.2.5.4v34.7c0 .2-.2.4-.5.4Z"></path></svg>
379
379
  <img
380
380
  src="/compte-ameli.svg"
@@ -384,7 +384,7 @@ export const CustomLogo: Story = {
384
384
  </HeaderBar>
385
385
  <br>
386
386
  <HeaderBar>
387
- <template #logo="{ menuOpen }">
387
+ <template #logo>
388
388
  <svg data-v-7f5c1754="" fill="#0c419a" aria-label="l’Assurance Maladie: Risques Professionnels" width="211" height="64" viewBox="0 0 211 64" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" aria-hidden="false" class=""><path fill="#cd545b" d="M68 55.8h2.8a3 3 0 0 1 2 .6c.5.4.8 1 .8 1.8 0 .6-.2 1-.4 1.4-.2.4-.6.6-1 .9l1.8 3.3h-1.5l-1.6-3h-1.6v3H68zm2.6 3.8c.5 0 1 0 1.2-.3.2-.3.4-.6.4-1 0-1-.6-1.4-1.6-1.4h-1.3v2.7zm4.5-3.8h1.3v8H75zm5.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5-1 0-1.8.6-2.1.4-.2.7-.1 1 0l-.2.5h-.6c-.3.2-.5.7-.2 1.2.2.6.7.8 1 .6.3-.1.4-.3.5-.5l.5.2c-.1.4-.3.7-.7.8-.7.3-1.5.1-2-.8Z"></path><path d="m21.4 2.1.6-.2 1 2.8-.6.2-1-2.8Z"></path><path d="M24 1.2 25 1l1.7 2.7-.7.1-.8-1.3-.4-1v2.7l-.7.2V1.2Zm.2 1.8 1.4-.4.2.5-1.4.4-.2-.5Z"></path><path d="m26.9.5.7-.1.3 2.4 1.2-.2v.6l-1.8.3-.4-3Z"></path><path d="m29.8.1 2-.1v.6h-1.2v.7l1-.1v.6h-1v.7H32V3l-1.9.1-.2-3Z"></path></g><g><path d="M100.1 45V30.6h3.8v14.6c0 .8.4 1 .7 1h.5l.5 2.9a5 5 0 0 1-2 .3c-2.6 0-3.5-1.7-3.5-4.4Z"></path><path d="m75.7 40.4 3.8-8.5h4V49h-3.6V38.4l-3 7.8h-2.4l-3-7.8v10.7H68V32h4l3.8 8.5Z"></path><path d="M107.1 45.5c0-2.8 2.3-4.3 7.4-4.9 0-1.1-.8-1.8-2.2-1.8-1 0-2.1.4-3.4 1.2l-1.3-2.6c1.6-1 3.5-1.7 5.5-1.7 3.3 0 5 1.9 5 5.9V49h-3.5v-1.3s-1.5 1.6-3.6 1.6c-2.4 0-3.9-1.7-3.9-4Zm7.4-.3V43c-2.7.3-3.7 1.2-3.7 2.2 0 .8.5 1.2 1.5 1.2.8 0 1.5-.5 2.2-1.2Z"></path><path d="M86.1 45.5c0-2.8 2.3-4.3 7.4-4.9 0-1.1-.8-1.8-2.2-1.8-1 0-2.1.4-3.4 1.2l-1.3-2.6c1.6-1 3.5-1.7 5.5-1.7 3.3 0 5 1.9 5 5.9V49h-3.5v-1.3S92 49.4 90 49.4c-2.4 0-3.9-1.7-3.9-4Zm7.4-.3V43c-2.7.3-3.7 1.2-3.7 2.2 0 .8.6 1.2 1.5 1.2.8 0 1.6-.5 2.2-1.2Z"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.2 4-1.5 4.7-2.1 1.2-.6 3.5-3 4-3s1.6 1 1.2 3c0 .7-1 2-1.4 2.6-1 1.5-.2 2.7-.4 3-1 1.6-2.2 3.7-4.2 5.5-.8.6-2.4.7-3.3 1-2 .5-4.2 2-5.7 2.8-.5.3-1-.3-1.6-.4-.7 0-.7 1-1 1.8l-.7 1.5c-.1.4-.7 1.7-.1 2.2.4.7 1.5-1.4 2.4-2.3.4-.5.7-.7 1.7-1 .6 0 5.6-1.4 8.8-2.2h.3c4.2-1.1 8.6-6.6 8.7-6.6l7.2 3.5c.7.4.7 1.8 1.5 3.4a22 22 0 0 0 4.4 4.9c.4.4 0 1 .2 1.6.2.6.6.6 1.1.6l1.6-.2c.7 0 .5 0 1.3.2.4 0 1.3.1 2-.5 1-1.2-1.2-.6-2.3-1.1Z"></path><path d="M44 51.7a.4.4 0 0 0-.6-.2 22.2 22.2 0 0 1-21-.6.5.5 0 0 0-.6.2c-.1.2 0 .4.1.6a23 23 0 0 0 21.9.5c.2 0 .3-.3.2-.5Z"></path><path d="M12.9 22.9h-.2c-.2-.2-.3-.4-.2-.6 2-4.4 5.2-8 9.3-10.4.2-.1.5 0 .6.2.2.2 0 .4-.1.6-4 2.3-7.1 5.7-9 10l-.4.2Z"></path><path d="M50.3 17.3c-.1 0-.3 0-.3-.2A22 22 0 0 0 36.5 10c-.2 0-.4-.3-.3-.5 0-.3.2-.4.5-.4a23 23 0 0 1 14 7.5v.7h-.4Z"></path></svg>
389
389
  </template>
390
390
  </HeaderBar>
@@ -396,7 +396,6 @@ export const CustomLogo: Story = {
396
396
  code: `
397
397
  <script setup lang="ts">
398
398
  import { HeaderBar } from '@cnamts/synapse'
399
-
400
399
  </script>
401
400
  `,
402
401
  },
@@ -566,7 +565,7 @@ export const WithSubHeader: Story = {
566
565
  },
567
566
  template: `
568
567
  <HeaderBar v-bind="args">
569
- <template #append="{ menuOpen }">
568
+ <template #append>
570
569
  <SubHeader
571
570
  title-text="Paul Dupont"
572
571
  sub-title-text="1 69 08 75 125 456 75"
@@ -585,8 +584,8 @@ export const WithSubHeader: Story = {
585
584
  name: 'Template',
586
585
  code: `
587
586
  <template>
588
- <HeaderBar v-bind="args">
589
- <template #append="{ menuOpen }">
587
+ <HeaderBar>
588
+ <template #append>
590
589
  <SubHeader
591
590
  title-text="Paul Dupont"
592
591
  sub-title-text="1 69 08 75 125 456 75"
@@ -620,7 +619,11 @@ export const DefaultSlot: Story = {
620
619
  return {
621
620
  components: { HeaderBar, UserMenuBtn, VListItem, VListItemTitle },
622
621
  setup() {
623
- const listItems = ['Item 1', 'Item 2', 'Item 3']
622
+ const listItems = [
623
+ { text: 'Item 1', value: 'item1' },
624
+ { text: 'Item 2', value: 'item2' },
625
+ { text: 'Item 3', value: 'item3' },
626
+ ]
624
627
  return { args, listItems }
625
628
  },
626
629
  template: `
@@ -660,7 +663,11 @@ export const DefaultSlot: Story = {
660
663
  <script setup lang="ts">
661
664
  import { HeaderBar, UserMenuBtn } from '@cnamts/synapse'
662
665
 
663
- const listItems = ['Item 1', 'Item 2', 'Item 3']
666
+ const listItems = [
667
+ { text: 'Item 1', value: 'item1' },
668
+ { text: 'Item 2', value: 'item2' },
669
+ { text: 'Item 3', value: 'item3' },
670
+ ]
664
671
  </script>
665
672
  `,
666
673
  },
@@ -164,7 +164,7 @@
164
164
  :style="headerStickyStyle"
165
165
  >
166
166
  <div
167
- v-if="$slots.prepend"
167
+ v-if="$slots['prepend']"
168
168
  class="header-prepend"
169
169
  >
170
170
  <slot
@@ -177,7 +177,6 @@
177
177
  name="menu"
178
178
  :menu-open
179
179
  />
180
-
181
180
  <div class="header-logo pl-xl-0 pl-md-14 pl-4">
182
181
  <slot
183
182
  name="logo"
@@ -218,7 +217,7 @@
218
217
  </div>
219
218
  </div>
220
219
  <div
221
- v-if="$slots.append"
220
+ v-if="$slots['append']"
222
221
  class="header-append"
223
222
  >
224
223
  <slot
@@ -260,6 +259,12 @@
260
259
  margin-left: auto;
261
260
  }
262
261
 
262
+ .menu + .header-logo {
263
+ @media screen and (min-width: 340px) {
264
+ padding-left: 16px !important;
265
+ }
266
+ }
267
+
263
268
  @media screen and (min-width: $header-breakpoint) {
264
269
  .inner-header {
265
270
  height: $header-height-desktop;
@@ -101,6 +101,7 @@
101
101
  role="dialog"
102
102
  aria-modal="true"
103
103
  :aria-label="locals.mainMenu"
104
+ class="menu mr-4"
104
105
  >
105
106
  <div ref="menuBtnWrapper">
106
107
  <HeaderMenuBtn