ng-hub-ui-forms 22.45.0 → 22.45.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng-hub-ui-forms",
|
|
3
|
-
"version": "22.45.
|
|
3
|
+
"version": "22.45.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Accessible, signal-based form fields for Angular (input, textarea, slider, segmented, select, datepicker, file input with drag & drop and upload progress) with automatic error display for controls, FormGroups and FormArrays. Reactive Forms today, Signal Forms ready. Part of the ng-hub-ui family.",
|
|
6
6
|
"author": "Carlos Morcillo Fernández <carlos.morcillo@me.com> (https://www.carlosmorcillo.com)",
|
|
@@ -133,7 +133,7 @@ declare abstract class HubFieldControl extends HubFormControl implements Control
|
|
|
133
133
|
protected readonly _controlContainer: ControlContainer;
|
|
134
134
|
/** Resolved templates that override the default message of a given error key. */
|
|
135
135
|
protected _errorTemplates: {
|
|
136
|
-
[key: string]: TemplateRef<any
|
|
136
|
+
[key: string]: TemplateRef<any> | undefined;
|
|
137
137
|
};
|
|
138
138
|
/** Stable unique id linking the label and the control. */
|
|
139
139
|
readonly id: string;
|
|
@@ -252,7 +252,7 @@ declare abstract class HubGroupControl implements AfterContentInit, OnDestroy {
|
|
|
252
252
|
/** Query for projected `hubValidationError` templates. */
|
|
253
253
|
readonly errorTpts: _angular_core.Signal<readonly HubValidationErrorDirective[]>;
|
|
254
254
|
protected _errorTemplates: {
|
|
255
|
-
[key: string]: TemplateRef<any
|
|
255
|
+
[key: string]: TemplateRef<any> | undefined;
|
|
256
256
|
};
|
|
257
257
|
/**
|
|
258
258
|
* The currently bound group control. A `computed` (not an `effect`-fed signal) so it resolves
|
|
@@ -3482,6 +3482,10 @@ declare class HubLegendDirective {
|
|
|
3482
3482
|
/**
|
|
3483
3483
|
* Auto-resizes a `<textarea>` to fit its content height.
|
|
3484
3484
|
*
|
|
3485
|
+
* It measures when the reader types and also when a form control on the same textarea changes its
|
|
3486
|
+
* value from code (`setValue`, `reset`, `ngModel`), so a box emptied after sending a long message
|
|
3487
|
+
* shrinks back instead of keeping the height of the text it held.
|
|
3488
|
+
*
|
|
3485
3489
|
* @example
|
|
3486
3490
|
* ```html
|
|
3487
3491
|
* <textarea hubAutoresize></textarea>
|