@sentropic/design-system-svelte 0.30.0 → 0.30.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.
- package/dist/AppHeader.svelte +18 -19
- package/dist/AppHeader.svelte.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/AppHeader.svelte
CHANGED
|
@@ -65,8 +65,23 @@
|
|
|
65
65
|
|
|
66
66
|
<header class={classes()}>
|
|
67
67
|
<div class="st-appHeader__bar">
|
|
68
|
-
<!--
|
|
69
|
-
{#if
|
|
68
|
+
<!-- Logo SENT à GAUCHE (+ sous-titre). -->
|
|
69
|
+
{#if logo}
|
|
70
|
+
<div class="st-appHeader__logo">{@render logo()}</div>
|
|
71
|
+
{/if}
|
|
72
|
+
|
|
73
|
+
<!-- Nav desktop (masquée en mode compact). -->
|
|
74
|
+
{#if !compact}
|
|
75
|
+
<nav class="st-appHeader__nav" aria-label="Primary">
|
|
76
|
+
{#if nav}{@render nav()}{/if}
|
|
77
|
+
</nav>
|
|
78
|
+
|
|
79
|
+
<!-- Contrôles de droite (masqués en mode compact). -->
|
|
80
|
+
<div class="st-appHeader__actions">
|
|
81
|
+
{#if actions}{@render actions()}{/if}
|
|
82
|
+
</div>
|
|
83
|
+
{:else}
|
|
84
|
+
<!-- Burger à l'extrême DROITE en mode compact. -->
|
|
70
85
|
<div class="st-appHeader__burger">
|
|
71
86
|
<button
|
|
72
87
|
type="button"
|
|
@@ -84,22 +99,6 @@
|
|
|
84
99
|
{/if}
|
|
85
100
|
</button>
|
|
86
101
|
</div>
|
|
87
|
-
{:else}
|
|
88
|
-
<!-- Nav desktop (masquée en mode compact). -->
|
|
89
|
-
<nav class="st-appHeader__nav" aria-label="Primary">
|
|
90
|
-
{#if nav}{@render nav()}{/if}
|
|
91
|
-
</nav>
|
|
92
|
-
{/if}
|
|
93
|
-
|
|
94
|
-
{#if logo}
|
|
95
|
-
<div class="st-appHeader__logo">{@render logo()}</div>
|
|
96
|
-
{/if}
|
|
97
|
-
|
|
98
|
-
<!-- Contrôles de droite (masqués en mode compact). -->
|
|
99
|
-
{#if !compact}
|
|
100
|
-
<div class="st-appHeader__actions">
|
|
101
|
-
{#if actions}{@render actions()}{/if}
|
|
102
|
-
</div>
|
|
103
102
|
{/if}
|
|
104
103
|
</div>
|
|
105
104
|
</header>
|
|
@@ -152,7 +151,7 @@
|
|
|
152
151
|
align-items: center;
|
|
153
152
|
display: flex;
|
|
154
153
|
flex: 1 1 auto;
|
|
155
|
-
justify-content: flex-
|
|
154
|
+
justify-content: flex-end;
|
|
156
155
|
}
|
|
157
156
|
|
|
158
157
|
.st-appHeader__burgerButton {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppHeader.svelte.d.ts","sourceRoot":"","sources":["../src/lib/AppHeader.svelte.ts"],"names":[],"mappings":"AAGE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sDAAsD;IACtD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,0DAA0D;IAC1D,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wEAAwE;IACxE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;
|
|
1
|
+
{"version":3,"file":"AppHeader.svelte.d.ts","sourceRoot":"","sources":["../src/lib/AppHeader.svelte.ts"],"names":[],"mappings":"AAGE,OAAO,KAAK,EAAE,OA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