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>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pi/ui",
|
||||
"version": "0.0.4",
|
||||
"version": "0.0.5",
|
||||
"description": "Librería de componentes Angular standalone (botones, campos con Signal Forms, cards, charts, drawer/hub/modal, theming vía tokens CSS...).",
|
||||
"license": "MIT",
|
||||
"generators": "./generators.json",
|
||||
|
||||
@@ -114,6 +114,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
// `pi-date-range-field`: sus dos fechas no son `.mat-mdc-input-element`,
|
||||
// así que la regla de arriba no las alcanza y se quedaban pegadas arriba
|
||||
// de la caja. Ocupan toda su altura y se centran como un input normal.
|
||||
.mat-date-range-input,
|
||||
.mat-date-range-input-container {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
&.mdc-text-field--disabled {
|
||||
.mat-mdc-input-element,
|
||||
.mdc-notched-outline,
|
||||
|
||||
Reference in New Issue
Block a user