@sentropic/design-system-svelte 0.34.59 → 0.34.60

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.
@@ -326,8 +326,38 @@
326
326
  width: 100%;
327
327
  }
328
328
 
329
+ /* Mode compact : le trigger imite .st-appHeader__control (pill encadrée grise). */
329
330
  .st-identityMenu--compact .st-identityMenu__trigger {
330
- padding: var(--st-spacing-1, 0.25rem);
331
+ background: var(--st-semantic-surface-default);
332
+ border: 1px solid var(--st-semantic-border-subtle);
333
+ border-radius: var(--st-radius-sm, 0.375rem);
334
+ color: var(--st-semantic-text-secondary);
335
+ height: 2.25rem;
336
+ padding: 0 0.5rem;
337
+ transition: background-color var(--st-motion-fast, 120ms) ease,
338
+ border-color var(--st-motion-fast, 120ms) ease,
339
+ color var(--st-motion-fast, 120ms) ease;
340
+ }
341
+
342
+ .st-identityMenu--compact .st-identityMenu__trigger:hover,
343
+ .st-identityMenu--compact .st-identityMenu__trigger:focus-visible,
344
+ .st-identityMenu--compact .st-identityMenu__trigger[aria-expanded="true"] {
345
+ background: var(--st-semantic-surface-subtle);
346
+ border-color: var(--st-semantic-border-interactive);
347
+ box-shadow: none;
348
+ color: var(--st-semantic-text-primary);
349
+ outline: none;
350
+ }
351
+
352
+ /* Avatar compact = carré gris (surface-subtle + radius-sm), pas cercle primary. */
353
+ .st-identityMenu--compact .st-identityMenu__avatar {
354
+ background: var(--st-semantic-surface-subtle);
355
+ border-radius: var(--st-radius-sm, 0.375rem);
356
+ color: var(--st-semantic-text-primary);
357
+ font-size: 0.6875rem;
358
+ font-weight: 700;
359
+ height: 1.5rem;
360
+ width: 1.5rem;
331
361
  }
332
362
 
333
363
  .st-identityMenu__trigger {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentropic/design-system-svelte",
3
- "version": "0.34.59",
3
+ "version": "0.34.60",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"