@club-employes/utopia 4.441.0 → 4.443.0

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.
@@ -92,6 +92,12 @@ export interface BenefitsGroup {
92
92
  emptyLabel?: string;
93
93
  /** Lien affiché en bas du groupe déplié, émet `action`. */
94
94
  link?: BenefitsLink;
95
+ /**
96
+ * Groupe « bloc cliquable » : l'en-tête entier devient un bouton qui émet
97
+ * `action` avec cet id — sans chevron ni contenu dépliable (`lines`,
98
+ * `emptyLabel` et `link` sont ignorés). Ex. : bloc Cagnotte → liste des e-chèques.
99
+ */
100
+ actionId?: string;
95
101
  }
96
102
  /** Ligne de détail d'une carte (« Dotation de juin 2026 » / « + 180,00 € »). */
97
103
  export interface BenefitsCardLine {
@@ -141,8 +147,13 @@ export interface BenefitsPanelProps {
141
147
  language?: string;
142
148
  }
143
149
  export interface BenefitsPreviewProps extends BenefitsPanelProps {
144
- /** Libellé du trigger pill (« 4 subventions »). */
150
+ /** Libellé du trigger pill (« 484,50 € »). Vide : seuls l'icône, la pastille et le chevron sont rendus. */
145
151
  triggerLabel: string;
152
+ /**
153
+ * Pastille après le libellé (« + 2 sub. »), fond bleu clair. Le trigger
154
+ * s'élargit selon son contenu, sans troncature ni retour à la ligne.
155
+ */
156
+ triggerBadge?: string;
146
157
  /** Icône Utopia du trigger (défaut 'Badge-percent'). */
147
158
  triggerIcon?: string;
148
159
  /** Nom accessible du trigger (doit contenir le libellé visible). */