@ajuarezso/sui-design-system 0.7.24 → 0.7.25

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.
@@ -11241,15 +11241,13 @@ class SuiModalFooter {
11241
11241
  secondaryButton = input(null, ...(ngDevMode ? [{ debugName: "secondaryButton" }] : /* istanbul ignore next */ []));
11242
11242
  /** Type Stretch de Figma: los botones ocupan todo el ancho (50/50). */
11243
11243
  stretch = input(false, ...(ngDevMode ? [{ debugName: "stretch" }] : /* istanbul ignore next */ []));
11244
- /** Modal padre (por element injector — el footer se declara dentro de
11245
- <sui-modal> en el template del consumer). Null en uso standalone. */
11246
- modal = inject(SuiModal, { optional: true });
11247
- /** Size explícito de los botones. Si no se pasa, el DS legisla solo
11248
- (fuente única, regla del proyecto): `large` (48px) dentro de un modal
11249
- fullscreen — touch targets móviles — y `small` (36px, canon Figma
11250
- 472:566) en dialogs normales. */
11244
+ /** Size explícito de los botones. Si no se pasa, el DS legisla `large`
11245
+ (48px) en TODOS los modales — decisión de marca del proyecto (2026-07-23):
11246
+ touch target consistente entre dialogs y hojas fullscreen, por encima del
11247
+ canon Figma 472:566 que dibuja `small` (36px). Pasar buttonSize para
11248
+ forzar otro tamaño en un caso puntual. */
11251
11249
  buttonSize = input(null, ...(ngDevMode ? [{ debugName: "buttonSize" }] : /* istanbul ignore next */ []));
11252
- effectiveButtonSize = computed(() => this.buttonSize() ?? (this.modal?.fullscreen() ? 'large' : 'small'), ...(ngDevMode ? [{ debugName: "effectiveButtonSize" }] : /* istanbul ignore next */ []));
11250
+ effectiveButtonSize = computed(() => this.buttonSize() ?? 'large', ...(ngDevMode ? [{ debugName: "effectiveButtonSize" }] : /* istanbul ignore next */ []));
11253
11251
  primaryClick = output();
11254
11252
  secondaryClick = output();
11255
11253
  cfg(v) {