@magicfeedback/popup-sdk 1.6.0 → 1.7.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.
@@ -276,6 +276,12 @@ interface PopupRenderOptions {
276
276
  showProgressBar?: boolean;
277
277
  /** CSS del host, inyectado el último: gana sobre el del SDK y el de `@magicfeedback/native`. */
278
278
  surveyCss?: string;
279
+ /**
280
+ * Idioma con el que arranca el chrome del popup (botones, progreso, aria-labels, errores).
281
+ * Es el idioma resuelto en `init()` (host > navigator > Intl). Lo pisa el idioma del survey
282
+ * (`formData.lang[0]`) en cuanto este carga, y ambos los pisa `actions.*.label` de la API.
283
+ */
284
+ language?: string;
279
285
  }
280
286
  interface PopupRenderer {
281
287
  /** Preparar recursos si aplica */
@@ -276,6 +276,12 @@ interface PopupRenderOptions {
276
276
  showProgressBar?: boolean;
277
277
  /** CSS del host, inyectado el último: gana sobre el del SDK y el de `@magicfeedback/native`. */
278
278
  surveyCss?: string;
279
+ /**
280
+ * Idioma con el que arranca el chrome del popup (botones, progreso, aria-labels, errores).
281
+ * Es el idioma resuelto en `init()` (host > navigator > Intl). Lo pisa el idioma del survey
282
+ * (`formData.lang[0]`) en cuanto este carga, y ambos los pisa `actions.*.label` de la API.
283
+ */
284
+ language?: string;
279
285
  }
280
286
  interface PopupRenderer {
281
287
  /** Preparar recursos si aplica */