@truenas/ui-components 0.3.5 → 0.3.6

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": "@truenas/ui-components",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org",
6
6
  "access": "public"
@@ -2333,6 +2333,16 @@ declare class TnChipInputComponent implements ControlValueAccessor, OnDestroy {
2333
2333
  separatorKeys: _angular_core.InputSignal<string[]>;
2334
2334
  /** Commit a pending (non-empty) text value as a chip when the field loses focus. */
2335
2335
  addOnBlur: _angular_core.InputSignal<boolean>;
2336
+ /**
2337
+ * Whether free text not present in `suggestions` may be committed. Defaults to
2338
+ * `true` — any typed value becomes a chip. Set `false` to restrict the field
2339
+ * to its suggestion list (a "pick from the list" control): a commit only
2340
+ * succeeds when the text matches a suggestion (case-insensitively, committing
2341
+ * the suggestion's canonical casing); unmatched text is discarded. Mirrors
2342
+ * `tn-autocomplete`'s `allowCustomValue`. With no `suggestions`, nothing can be
2343
+ * added.
2344
+ */
2345
+ allowCustomValue: _angular_core.InputSignal<boolean>;
2336
2346
  /**
2337
2347
  * Allow the same value to be added more than once. Off by default.
2338
2348
  * Duplicate detection is exact-match (case-sensitive), so with this off
@@ -2425,7 +2435,7 @@ declare class TnChipInputComponent implements ControlValueAccessor, OnDestroy {
2425
2435
  private attachOverlay;
2426
2436
  private detachOverlay;
2427
2437
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TnChipInputComponent, never>;
2428
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TnChipInputComponent, "tn-chip-input", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "separatorKeys": { "alias": "separatorKeys"; "required": false; "isSignal": true; }; "addOnBlur": { "alias": "addOnBlur"; "required": false; "isSignal": true; }; "allowDuplicates": { "alias": "allowDuplicates"; "required": false; "isSignal": true; }; "maxChips": { "alias": "maxChips"; "required": false; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "testId": { "alias": "testId"; "required": false; "isSignal": true; }; }, { "chipAdded": "chipAdded"; "chipRemoved": "chipRemoved"; "searchChange": "searchChange"; }, never, never, true, never>;
2438
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TnChipInputComponent, "tn-chip-input", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "separatorKeys": { "alias": "separatorKeys"; "required": false; "isSignal": true; }; "addOnBlur": { "alias": "addOnBlur"; "required": false; "isSignal": true; }; "allowCustomValue": { "alias": "allowCustomValue"; "required": false; "isSignal": true; }; "allowDuplicates": { "alias": "allowDuplicates"; "required": false; "isSignal": true; }; "maxChips": { "alias": "maxChips"; "required": false; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "testId": { "alias": "testId"; "required": false; "isSignal": true; }; }, { "chipAdded": "chipAdded"; "chipRemoved": "chipRemoved"; "searchChange": "searchChange"; }, never, never, true, never>;
2429
2439
  }
2430
2440
 
2431
2441
  /**