@cnamts/synapse 0.0.2-alpha → 0.0.3-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 (46) hide show
  1. package/README.md +1 -1
  2. package/dist/design-system-v3.js +957 -4826
  3. package/dist/design-system-v3.umd.cjs +1 -2
  4. package/dist/style.css +1 -1
  5. package/package.json +29 -29
  6. package/src/components/Alert/Alert.vue +8 -8
  7. package/src/components/FranceConnectBtn/FranceConnectBtn.vue +2 -2
  8. package/src/components/HeaderBar/HeaderBar.mdx +137 -0
  9. package/src/components/HeaderBar/HeaderBar.stories.ts +159 -0
  10. package/src/components/HeaderBar/HeaderBar.vue +238 -0
  11. package/src/components/HeaderBar/HeaderComplexMenu/HeaderComplexMenu.stories.ts +272 -0
  12. package/src/components/HeaderBar/HeaderComplexMenu/HeaderComplexMenu.vue +205 -0
  13. package/src/components/HeaderBar/HeaderComplexMenu/HeaderMenuItem/HeaderMenuItem.stories.ts +49 -0
  14. package/src/components/HeaderBar/HeaderComplexMenu/HeaderMenuItem/HeaderMenuItem.vue +51 -0
  15. package/src/components/HeaderBar/HeaderComplexMenu/HeaderMenuItem/tests/HeaderMenuItem.spec.ts +16 -0
  16. package/src/components/HeaderBar/HeaderComplexMenu/HeaderMenuItem/tests/__snapshots__/HeaderMenuItem.spec.ts.snap +3 -0
  17. package/src/components/HeaderBar/HeaderComplexMenu/HeaderMenuSection/HeaderMenuSection.stories.ts +56 -0
  18. package/src/components/HeaderBar/HeaderComplexMenu/HeaderMenuSection/HeaderMenuSection.vue +51 -0
  19. package/src/components/HeaderBar/HeaderComplexMenu/HeaderMenuSection/tests/HeaderMenuSection.spec.ts +33 -0
  20. package/src/components/HeaderBar/HeaderComplexMenu/HeaderSubMenu/HeaderSubMenu.stories.ts +137 -0
  21. package/src/components/HeaderBar/HeaderComplexMenu/HeaderSubMenu/HeaderSubMenu.vue +180 -0
  22. package/src/components/HeaderBar/HeaderComplexMenu/HeaderSubMenu/tests/HeaderSubMenu.spec.ts +63 -0
  23. package/src/components/HeaderBar/HeaderComplexMenu/conts.ts +1 -0
  24. package/src/components/HeaderBar/HeaderComplexMenu/locals.ts +4 -0
  25. package/src/components/HeaderBar/HeaderComplexMenu/tests/HeaderComplexMenu.spec.ts +129 -0
  26. package/src/components/HeaderBar/HeaderComplexMenu/tests/__snapshots__/HeaderComplexMenu.spec.ts.snap +18 -0
  27. package/src/components/HeaderBar/HeaderComplexMenu/tests/useHandleSubMenus.spec.ts +158 -0
  28. package/src/components/HeaderBar/HeaderComplexMenu/useHandleSubMenus.ts +49 -0
  29. package/src/components/HeaderBar/HeaderLogo/HeaderLogo.vue +106 -0
  30. package/src/components/HeaderBar/HeaderLogo/locales.ts +3 -0
  31. package/src/components/HeaderBar/HeaderLogo/logos/Logo-mobile.vue +117 -0
  32. package/src/components/HeaderBar/HeaderLogo/logos/Logo.vue +279 -0
  33. package/src/components/HeaderBar/HeaderLogo/tests/HeaderLogo.spec.ts +71 -0
  34. package/src/components/HeaderBar/HeaderMenuBtn/HeaderMenuBtn.vue +88 -0
  35. package/src/components/HeaderBar/HeaderMenuBtn/locals.ts +4 -0
  36. package/src/components/HeaderBar/consts.scss +7 -0
  37. package/src/components/HeaderBar/consts.ts +2 -0
  38. package/src/components/HeaderBar/locales.ts +3 -0
  39. package/src/components/HeaderBar/tests/HeaderBar.spec.ts +210 -0
  40. package/src/components/HeaderBar/tests/__snapshots__/HeaderBar.spec.ts.snap +50 -0
  41. package/src/components/HeaderBar/tests/useHeaderResponsiveMode.spec.ts +26 -0
  42. package/src/components/HeaderBar/tests/useScrollDirection.spec.ts +34 -0
  43. package/src/components/HeaderBar/useHeaderResponsiveMode.ts +25 -0
  44. package/src/components/HeaderBar/useScrollDirection.ts +26 -0
  45. package/src/components/NotificationBar/NotificationBar.vue +5 -7
  46. package/src/components/PageContainer/PageContainer.vue +0 -1
@@ -0,0 +1,106 @@
1
+ <script lang="ts" setup>
2
+ import { useTheme } from 'vuetify'
3
+ import useHeaderResponsiveMode from '../useHeaderResponsiveMode'
4
+ import { locales } from './locales'
5
+ import LogoMobile from './logos/Logo-mobile.vue'
6
+ import Logo from './logos/Logo.vue'
7
+
8
+ withDefaults(defineProps<{
9
+ ariaLabel?: string
10
+ serviceTitle?: string
11
+ serviceSubtitle?: string
12
+ }>(), {
13
+ ariaLabel: locales.ariaLabel,
14
+ serviceTitle: undefined,
15
+ serviceSubtitle: undefined,
16
+ })
17
+
18
+ const slot = defineSlots<{
19
+ serviceTitle?(): void
20
+ }>()
21
+
22
+ const theme = useTheme()
23
+ const primary = theme.current.value.colors.primary
24
+ const { isDesktop } = useHeaderResponsiveMode()
25
+ </script>
26
+
27
+ <template>
28
+ <div class="logo">
29
+ <Logo
30
+ v-if="isDesktop"
31
+ :aria-label
32
+ />
33
+ <LogoMobile
34
+ v-else
35
+ :aria-label
36
+ />
37
+
38
+ <svg
39
+ v-if="slot?.serviceTitle || serviceTitle"
40
+ :width="22"
41
+ :height="64"
42
+ :fill="primary"
43
+ role="img"
44
+ focusable="false"
45
+ aria-hidden="true"
46
+ xmlns="http://www.w3.org/2000/svg"
47
+ viewBox="0 0 22 64"
48
+ class="vd-divider"
49
+ >
50
+ <path 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" />
51
+ </svg>
52
+
53
+ <slot
54
+ name="serviceTitle"
55
+ >
56
+ <div if="serviceTitle">
57
+ <div class="service-title">
58
+ {{ serviceTitle }}
59
+ </div>
60
+ <div
61
+ v-if="serviceSubtitle"
62
+ class="service-subtitle"
63
+ >
64
+ {{ serviceSubtitle }}
65
+ </div>
66
+ </div>
67
+ </slot>
68
+ </div>
69
+ </template>
70
+
71
+ <style scoped lang="scss">
72
+ @use '../consts' as *;
73
+
74
+ .logo {
75
+ display: flex;
76
+ height: 52px;
77
+ align-items: center;
78
+ color: v-bind(primary);
79
+ line-height: 1.45;
80
+ }
81
+
82
+ .logo :deep(svg) {
83
+ flex-grow: 0;
84
+ flex-shrink: 0;
85
+ }
86
+
87
+ .service-title {
88
+ font-size: 0.875rem;
89
+ font-weight: 500;
90
+ }
91
+
92
+ .service-subtitle {
93
+ font-size: 0.875rem;
94
+ font-weight: 400;
95
+ }
96
+
97
+ @media screen and (min-width: $header-breakpoint) {
98
+ .service-title {
99
+ font-size: 1.125rem;
100
+ }
101
+
102
+ .service-subtitle {
103
+ font-size: 0.75rem;
104
+ }
105
+ }
106
+ </style>
@@ -0,0 +1,3 @@
1
+ export const locales = {
2
+ ariaLabel: 'Ouvrir le menu',
3
+ }
@@ -0,0 +1,117 @@
1
+ <template>
2
+ <svg
3
+ fill="#0c419a"
4
+ :width="141"
5
+ :height="42"
6
+ :viewBox="'0 0 211 64'"
7
+ role="img"
8
+ focusable="false"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ >
11
+ <g>
12
+ <path
13
+ 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"
14
+ />
15
+
16
+ <path
17
+ d="m75.7 40.4 3.8-8.5h4V49h-3.6V38.4l-3 7.8h-2.4l-3-7.8v10.7H68V32h4l3.8 8.5Z"
18
+ />
19
+
20
+ <path
21
+ 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"
22
+ />
23
+
24
+ <path
25
+ 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.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.6a23 23 0 0 0 21.9.5c.2 0 .3-.3.2-.5Z"
105
+ />
106
+
107
+ <path
108
+ 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"
109
+ />
110
+
111
+ <path
112
+ 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"
113
+ />
114
+ </svg>
115
+ </template>
116
+
117
+ <style scoped>.cls-2{fill:#0c419a}</style>
@@ -0,0 +1,279 @@
1
+ <template>
2
+ <svg
3
+ fill="#0c419a"
4
+ :width="211"
5
+ :height="63"
6
+ :viewBox="'0 0 211 64'"
7
+ role="img"
8
+ focusable="false"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ >
11
+ <g>
12
+ <path
13
+ d="M69.2 55.3h1.3l2.1 6.5h-1.2l-1-3.4-.6-2.1-.6 2-1 3.5H67l2.2-6.5Zm-.9 3.9h3v.9h-3v-1Z"
14
+ />
15
+
16
+ <path
17
+ d="M73.3 62.7c0-.4.3-.7.7-1a.9.9 0 0 1-.4-.8c0-.4.2-.8.5-1-.3-.2-.7-.7-.7-1.3 0-1.1 1-1.7 2-1.7h2.4v1H77c.2 0 .3.4.3.7 0 1.1-.8 1.7-1.8 1.7l-.7-.1-.2.4c0 .3.1.5.8.5h.8c1.2 0 1.8.3 1.8 1.2 0 1-1 1.7-2.6 1.7-1.1 0-2-.4-2-1.3Zm3.6-.2c0-.4-.3-.5-1-.5h-1.2c-.3.1-.4.4-.4.6 0 .4.5.7 1.2.7.8 0 1.4-.4 1.4-.8Zm-.7-3.9c0-.6-.3-1-.8-1s-.8.4-.8 1 .3 1 .8 1 .8-.4.8-1Z"
18
+ />
19
+
20
+ <path
21
+ d="M79 55.5c0-.4.3-.7.7-.7.4 0 .8.3.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6h2l-.4.6H5.7Z"
140
+ />
141
+
142
+ <path d="m5.4 15.3.4-.6 2.5 1.7-.3.5-2.6-1.6Z" />
143
+
144
+ <path d="m7.3 13.5-.5.7-.4-.4 1.4-1.9.5.4-.6.7 2 1.4-.4.6-2-1.5Z" />
145
+
146
+ <path
147
+ d="m8.5 11 1.3-1.3.5.4-.9.8.5.4.7-.7.4.4-.7.7.5.5.9-1 .4.5-1.3 1.4-2.3-2Zm.1-.7v-1h.7l-.2 1h-.5Z"
148
+ />
149
+
150
+ <path
151
+ d="M13.6 9.7v-.6c.3 0 .6 0 .8-.2.2-.2.3-.4.2-.5-.2-.2-.3-.1-.6 0h-.4c-.4.2-.7.1-1-.2-.3-.4-.2-1 .3-1.4.3-.2.6-.3 1-.3v.6a1 1 0 0 0-.7.1c-.1.2-.2.4-.1.5h.6l.4-.1c.4-.1.7-.1 1 .3.2.4.2 1-.4 1.4-.3.3-.7.4-1 .4Z"
152
+ />
153
+
154
+ <path
155
+ d="M15.5 6.8c-.5-.8-.4-1.6.3-2 .7-.5 1.5-.2 2 .6s.3 1.6-.4 2c-.6.5-1.4.2-2-.6Zm1.7-1c-.3-.6-.7-.7-1-.5-.4.2-.5.6-.1 1.1.3.6.7.8 1 .6.4-.3.4-.7.1-1.2Z"
156
+ />
157
+
158
+ <path
159
+ d="M18.7 5c-.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"
160
+ />
161
+
162
+ <path d="m21.4 2.1.6-.2 1 2.8-.6.2-1-2.8Z" />
163
+
164
+ <path
165
+ 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"
166
+ />
167
+
168
+ <path d="m26.9.5.7-.1.3 2.4 1.2-.2v.6l-1.8.3-.4-3Z" />
169
+
170
+ <path d="m29.8.1 2-.1v.6h-1.2v.7l1-.1v.6h-1v.7H32V3l-1.9.1-.2-3Z" />
171
+ </g>
172
+
173
+ <g>
174
+ <path
175
+ 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"
176
+ />
177
+
178
+ <path
179
+ d="m75.7 40.4 3.8-8.5h4V49h-3.6V38.4l-3 7.8h-2.4l-3-7.8v10.7H68V32h4l3.8 8.5Z"
180
+ />
181
+
182
+ <path
183
+ 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"
184
+ />
185
+
186
+ <path
187
+ 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"
188
+ />
189
+
190
+ <path
191
+ d="M129 30.6v6.3a4.1 4.1 0 0 0-3.2-1.2c-2.7 0-5.3 2.6-5.3 6.8 0 4.3 2 7 5.2 7 1.8 0 3.1-1.4 3.2-1.5v1.1h3.8V30.6H129Zm-2.3 15.7c-1.5 0-2.4-1.2-2.4-3.8 0-2.5 1.1-3.6 2.4-3.6.6 0 1.4.2 2.2.8v5.4c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.6.9-2 1-1 .4-3.6 4.6-4.3 5-.7.3-1 .6-1.3.8-1 .6-2.1 1.4-2.7 1.4-.7 0-1.4.3-1.9 1.5-.1.3 0 .5.3.5 0 .1.2.3.4.3.2.2.5 0 .7 0l1-.7c.5-.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"
263
+ />
264
+
265
+ <path
266
+ 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"
267
+ />
268
+
269
+ <path
270
+ 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"
271
+ />
272
+
273
+ <path
274
+ 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"
275
+ />
276
+ </svg>
277
+ </template>
278
+
279
+ <style scoped>.cls-2{fill:#0c419a}</style>
@@ -0,0 +1,71 @@
1
+ import { vuetify } from '@tests/unit/setup'
2
+ import { mount } from '@vue/test-utils'
3
+ import { afterEach, describe, expect, it, vi } from 'vitest'
4
+ import HeaderLogo from '../HeaderLogo.vue'
5
+
6
+ describe('HeaderLogo', () => {
7
+ afterEach(() => {
8
+ vi.resetAllMocks()
9
+ document.body.innerHTML = ''
10
+ })
11
+
12
+ it('should render the component in mobile mode and desktop', async () => {
13
+ // @ts-expect-error - Property 'happyDOM' does not exist on type 'Window & typeof globalThis'.
14
+ window.happyDOM.setInnerWidth(600)
15
+ const wrapper = mount(HeaderLogo, {
16
+ global: {
17
+ plugins: [vuetify],
18
+ },
19
+ attachTo: document.body,
20
+ })
21
+ const mobilMode = wrapper.html()
22
+
23
+ // @ts-expect-error - Property 'happyDOM' does not exist on type 'Window & typeof globalThis'.
24
+ window.happyDOM.setInnerWidth(1200)
25
+ await wrapper.vm.$nextTick()
26
+
27
+ const desktopMode = wrapper.html()
28
+
29
+ expect(mobilMode).not.toEqual(desktopMode)
30
+
31
+ wrapper.unmount()
32
+ })
33
+
34
+ it('sould display the service and the logo aria-label', async () => {
35
+ const wrapper = mount(HeaderLogo, {
36
+ global: {
37
+ plugins: [vuetify],
38
+ },
39
+ props: {
40
+ ariaLabel: 'Test aria label',
41
+ serviceTitle: 'Test service title',
42
+ serviceSubtitle: 'Test service subtitle',
43
+ },
44
+ })
45
+
46
+ const render = wrapper.html()
47
+
48
+ expect(render).toContain('Test service title')
49
+ expect(render).toContain('Test service subtitle')
50
+ expect(render).toContain('Test aria label')
51
+ })
52
+
53
+ it('should render only the serviceTitle slot when set', async () => {
54
+ const wrapper = mount(HeaderLogo, {
55
+ global: {
56
+ plugins: [vuetify],
57
+ },
58
+ props: {
59
+ serviceTitle: 'Test service title',
60
+ },
61
+ slots: {
62
+ serviceTitle: '<h1>other title</h1>',
63
+ },
64
+ })
65
+
66
+ const render = wrapper.html()
67
+
68
+ expect(render).toContain('other title')
69
+ expect(render).not.toContain('Test service title')
70
+ })
71
+ })
@@ -0,0 +1,88 @@
1
+ <script setup lang="ts">
2
+ import { computed, ref, type CSSProperties } from 'vue'
3
+ import { useTheme } from 'vuetify'
4
+ import { mdiClose, mdiMenu } from '@mdi/js'
5
+ import locals from './locals'
6
+
7
+ const theme = useTheme()
8
+ const btn = ref<HTMLElement | null>(null)
9
+ const btnFocused = ref(false)
10
+
11
+ const model = defineModel<boolean>()
12
+
13
+ const btnStyle = computed<CSSProperties>(() => {
14
+ const light = model.value || btnFocused.value
15
+
16
+ return ({
17
+ backgroundColor: light ? '#fff' : theme.current.value.colors.primary,
18
+ color: light ? theme.current.value.colors.primary : '#fff',
19
+ })
20
+ })
21
+
22
+ function focus() {
23
+ btn.value?.focus()
24
+ }
25
+
26
+ defineExpose({ focus })
27
+ </script>
28
+
29
+ <template>
30
+ <button
31
+ ref="btn"
32
+ class="header-menu-btn"
33
+ :style="btnStyle"
34
+ type="button"
35
+ :aria-label="model ? locals.closeMenu : locals.openMenu"
36
+ :title="model ? locals.closeMenu : locals.openMenu"
37
+ @click="() => (model = !model)"
38
+ @focus="btnFocused = true"
39
+ @blur="btnFocused = false"
40
+ >
41
+ <VIcon size="48">
42
+ {{ model ? mdiClose : mdiMenu }}
43
+ </VIcon>
44
+ <span class="header-menu-btn__label">Menu</span>
45
+ </button>
46
+ </template>
47
+
48
+ <style lang="scss" scoped>
49
+ @use '../consts' as *;
50
+ @use '@/assets/tokens.scss' as *;
51
+
52
+ .header-menu-btn {
53
+ text-transform: Capitalize;
54
+ height: $header-height - 1;
55
+ width: 82px;
56
+ display: flex;
57
+ flex-direction: column;
58
+ align-items: center;
59
+ flex-shrink: 0;
60
+ justify-content: center;
61
+ font-weight: 700;
62
+ transition: color 0.15s 0.1s, background-color 0.15s 0.1s;
63
+
64
+ &:focus-visible {
65
+ background-color: $primary-base;
66
+ color: $neutral-white;
67
+ }
68
+ }
69
+
70
+ @media screen and (max-width: ($header-breakpoint + 1)) {
71
+ .header-menu-btn__label {
72
+ clip: rect(0 0 0 0);
73
+ clip-path: inset(50%);
74
+ height: 1px;
75
+ overflow: hidden;
76
+ position: absolute;
77
+ white-space: nowrap;
78
+ width: 1px;
79
+ }
80
+ }
81
+
82
+ @media screen and (min-width: $header-breakpoint) {
83
+ .header-menu-btn {
84
+ height: $header-height-desktop - 1;
85
+ width: $header-height-desktop;
86
+ }
87
+ }
88
+ </style>
@@ -0,0 +1,4 @@
1
+ export default {
2
+ closeMenu: 'Fermer le menu',
3
+ openMenu: 'Ouvrir le menu',
4
+ }
@@ -0,0 +1,7 @@
1
+ $header-breakpoint: 990px;
2
+ $header-height-desktop: 95px;
3
+ $header-height: 77px;
4
+ $header-max-width: 1712px;
5
+ $menu-border-color: #e0e0e0;
6
+ $menu-height: 70vh;
7
+ $menu-width: 350px;