@sentropic/design-system-svelte 0.34.62 → 0.34.64

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.
@@ -215,8 +215,6 @@
215
215
  gap: var(--st-spacing-4, 1rem);
216
216
  height: var(--st-component-appHeader-height, 3.5rem);
217
217
  justify-content: space-between;
218
- margin: 0 auto;
219
- max-width: 80rem;
220
218
  padding: 0 var(--st-spacing-4, 1rem);
221
219
  width: 100%;
222
220
  }
package/dist/Menu.svelte CHANGED
@@ -193,6 +193,10 @@
193
193
  display: grid;
194
194
  min-width: var(--st-component-menu-minWidth, 12rem);
195
195
  max-width: var(--st-component-menu-maxWidth, 18rem);
196
+ /* Scroll quand la liste dépasse le viewport (ex: 24+ thèmes) plutôt que de
197
+ déborder hors de l'écran. */
198
+ max-height: var(--st-menu-maxHeight, 80vh);
199
+ overflow-y: auto;
196
200
  padding: var(--st-spacing-1, 0.25rem);
197
201
  }
198
202
 
@@ -152,6 +152,9 @@
152
152
  border-radius: var(--st-component-menu-radius, 0.375rem);
153
153
  box-shadow: var(--st-component-menu-shadow, 0 8px 24px rgb(15 23 42 / 0.14));
154
154
  color: var(--st-component-menu-text, var(--st-semantic-text-primary));
155
+ /* Aligne la taille de texte sur le Menu normal (.st-menu__item) : sans ça le
156
+ contenu hérite de la taille de la page (~1rem) au lieu de 0.875rem. */
157
+ font-size: var(--st-component-menu-fontSize, 0.875rem);
155
158
  min-width: var(--st-component-menu-minWidth, 12rem);
156
159
  max-width: var(--st-component-menu-maxWidth, 18rem);
157
160
  max-height: calc(100vh - 2rem);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentropic/design-system-svelte",
3
- "version": "0.34.62",
3
+ "version": "0.34.64",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"