Commit Graph

14 Commits

Author SHA1 Message Date
43d5dcf1d3 Release @pi/ui 0.0.9: a field shows its errors once touched
An untouched field with errors was painted red from the start, so a
form with required fields opened full of «Campo obligatorio». Text
fields, selects, checkboxes, radio groups and file uploads now wait
until the field is touched (blur, or the form's submit()).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 20:25:39 +02:00
4a33c9ade5 Drop lodash from @pi/ui
The three functions it used (isEqual, some with an object as criterion
and capitalize) live in util/common/compare.ts with the same behaviour,
so apps no longer pull a CommonJS library that Node's ESM loader cannot
resolve by path. TaskStream's initial bundle goes down to 1.88 MB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 06:52:28 +02:00
c6ca5eb6ab Release @pi/ui 0.0.4: import lodash functions with their extension
lodash declares no exports, so `lodash/isEqual` resolves in a bundler but
not in Node's ESM loader: in 0.0.3 apps could not load @pi/ui in tests or
when rendering on the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 22:34:17 +02:00
499f8ac075 Keep Chart.js and the whole of lodash out of apps' initial bundle
Each chart registers what it needs when it is built instead of on
import, and lodash is imported one function at a time. In TaskStream
the initial bundle drops from 2.13 MB to 1.90 MB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 20:21:40 +02:00
d1b70ea7d2 fix 2026-08-06 20:51:46 +02:00
f86db1556c new components 2026-08-06 18:10:55 +02:00
b02c885b83 prepara update 2026-07-31 20:47:15 +02:00
24067ed2f6 chore: anade scripts npm para arrancar el playground y construir 2026-07-28 19:22:18 +02:00
deb19dd744 feat: anade app playground con catalogo de componentes 2026-07-28 19:19:02 +02:00
d8c38f434d chore: elimina ngx-currency, ya sin uso tras la migracion a Signal Forms 2026-07-28 18:41:31 +02:00
eb08262559 refactor: migra los campos de formulario y sliders a Signal Forms 2026-07-28 18:35:49 +02:00
83af63ae5c refactor: migra a control flow nativo (@if/@for/@switch) y elimina CommonModule 2026-07-28 17:57:26 +02:00
c65e9f1cbd docs: documenta la migracion y sus cambios de comportamiento 2026-07-28 00:09:15 +02:00
771d83c0aa chore: copia de libs/shared con prefijo Pi y APIs de terceros actualizadas 2026-07-27 21:14:48 +02:00