@acvl/frontend-components 0.0.99 → 0.0.101

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.
package/dist/index.d.ts CHANGED
@@ -3318,7 +3318,16 @@ interface DetailPageV2Props {
3318
3318
  save?: {
3319
3319
  type: "onClick";
3320
3320
  disableNavBack?: boolean;
3321
- onClick?: () => void;
3321
+ /**
3322
+ * Qué hacer después de un guardado exitoso.
3323
+ *
3324
+ * Recibe **la respuesta del servidor**, que es lo único que trae el id del
3325
+ * registro recién creado: sin ella una página de alta no puede llevar a lo que
3326
+ * acaba de crear, y el usuario termina buscándolo en el listado. Va opcional
3327
+ * porque casi ningún consumidor la necesita, y así los que ya declaran
3328
+ * `() => void` siguen valiendo.
3329
+ */
3330
+ onClick?: (response?: any) => void;
3322
3331
  };
3323
3332
  cancel?: Partial<ButtonProps>;
3324
3333
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acvl/frontend-components",
3
- "version": "0.0.99",
3
+ "version": "0.0.101",
4
4
  "description": "Component library for ACV frontend projects.",
5
5
  "homepage": "https://github.com/ACV-Logistics/acv-frontend-components#readme",
6
6
  "access": "public",