Commit Graph

12 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
2dd05241fc Release @pi/ui 0.0.8: a ticked checkbox follows the theme's surface
Its box was filled with white, which glared in dark mode. It takes
--pi-theme-field-surface now, white when a theme leaves it out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 22:48:32 +02:00
74b30e5427 Release @pi/ui 0.0.7: an empty checkbox can be seen
Its border was grey-100, 1.2:1 against white, so empty boxes all but
vanished in lists. It is grey-400 now (about 3.5:1, over the 3:1 WCAG
asks of controls), through --pi-theme-checkbox-border-color.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 20:50:02 +02:00
81ee7855a7 Release @pi/ui 0.0.6: pi-file-upload keeps its own look
Its drop zone is a <button>, so the library's global button rules
squashed it to the button height and dropped its dashed border. It is
left out of them, like Material's own buttons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 23:00:43 +02:00
cb82769f31 Release @pi/ui 0.0.5: center the dates of pi-date-range-field
Its two inputs are not .mat-mdc-input-element, so the rule that fills
the 48px box missed them and they sat at the top of the field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 21:17:06 +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
dde8579fbc Release @pi/ui 0.0.3 to the npm-releases repository
It is where 0.0.2 lives and where apps install it from; npm-private
asked for credentials no one had.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 20:37:47 +02:00
53d78cc7a1 update
Some checks failed
CI / main (push) Has been cancelled
2026-08-06 20:59:05 +02:00
250498344f fix .scss 2026-08-06 20:58:17 +02:00
d1b70ea7d2 fix 2026-08-06 20:51:46 +02:00
771d83c0aa chore: copia de libs/shared con prefijo Pi y APIs de terceros actualizadas 2026-07-27 21:14:48 +02:00