ud-components 0.3.12 → 0.3.13

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.
@@ -7,6 +7,7 @@ export declare class PhoneInputComponent implements OnInit, OnChanges {
7
7
  label: string;
8
8
  placeholder: string;
9
9
  disabled: boolean;
10
+ get isDisabled(): boolean;
10
11
  private controlContainer;
11
12
  protected displayValue: string;
12
13
  protected readonly countries: CountryCode[];
@@ -1,3 +1,4 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
1
2
  import { FormControl } from '@angular/forms';
2
3
  import * as i0 from "@angular/core";
3
4
  export interface PillToggleOption {
@@ -15,13 +16,15 @@ export interface PillToggleOption {
15
16
  * label="Gender"
16
17
  * [options]="[{ value: 'male', label: 'Male' }, { value: 'female', label: 'Female' }]" />
17
18
  */
18
- export declare class PillToggleComponent {
19
+ export declare class PillToggleComponent implements OnChanges {
19
20
  controlName: string;
20
21
  label: string;
21
22
  options: PillToggleOption[];
23
+ disabled: boolean;
22
24
  private controlContainer;
25
+ ngOnChanges(changes: SimpleChanges): void;
23
26
  get control(): FormControl;
24
27
  select(value: string): void;
25
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PillToggleComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<PillToggleComponent, "ud-pill-toggle", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<PillToggleComponent, "ud-pill-toggle", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
27
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ud-components",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.0",
6
6
  "@angular/core": "^19.2.0"