@haiilo/catalyst-angular 5.4.0 → 6.0.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.
@@ -72,13 +72,13 @@ export declare class CatCheckbox {
72
72
  protected el: HTMLElement;
73
73
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
74
74
  static ɵfac: i0.ɵɵFactoryDeclaration<CatCheckbox, never>;
75
- static ɵcmp: i0.ɵɵComponentDeclaration<CatCheckbox, "cat-checkbox", never, { "checked": "checked"; "disabled": "disabled"; "hint": "hint"; "identifier": "identifier"; "indeterminate": "indeterminate"; "label": "label"; "labelHidden": "labelHidden"; "labelLeft": "labelLeft"; "name": "name"; "nativeAttributes": "nativeAttributes"; "required": "required"; "value": "value"; }, {}, never, ["*"], false>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<CatCheckbox, "cat-checkbox", never, { "checked": "checked"; "disabled": "disabled"; "hint": "hint"; "identifier": "identifier"; "indeterminate": "indeterminate"; "label": "label"; "labelHidden": "labelHidden"; "labelLeft": "labelLeft"; "name": "name"; "nativeAttributes": "nativeAttributes"; "required": "required"; "resolvedValue": "resolvedValue"; "value": "value"; }, {}, never, ["*"], false>;
76
76
  }
77
77
  export declare interface CatCheckbox extends Components.CatCheckbox {
78
78
  /**
79
79
  * Emitted when the checked status of the checkbox is changed.
80
80
  */
81
- catChange: EventEmitter<CustomEvent<InputEvent>>;
81
+ catChange: EventEmitter<CustomEvent<boolean | string | null>>;
82
82
  /**
83
83
  * Emitted when the checkbox received focus.
84
84
  */
@@ -93,13 +93,13 @@ export declare class CatDatepicker {
93
93
  protected el: HTMLElement;
94
94
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
95
95
  static ɵfac: i0.ɵɵFactoryDeclaration<CatDatepicker, never>;
96
- static ɵcmp: i0.ɵɵComponentDeclaration<CatDatepicker, "cat-datepicker", never, { "autoComplete": "autoComplete"; "clearable": "clearable"; "datesDisabled": "datesDisabled"; "disabled": "disabled"; "errorUpdate": "errorUpdate"; "errors": "errors"; "format": "format"; "hint": "hint"; "horizontal": "horizontal"; "icon": "icon"; "iconLeft": "iconLeft"; "identifier": "identifier"; "label": "label"; "labelHidden": "labelHidden"; "max": "max"; "min": "min"; "name": "name"; "nativeAttributes": "nativeAttributes"; "placeholder": "placeholder"; "readonly": "readonly"; "required": "required"; "requiredMarker": "requiredMarker"; "textPrefix": "textPrefix"; "textSuffix": "textSuffix"; "type": "type"; "value": "value"; "weekNumbers": "weekNumbers"; }, {}, never, ["*"], false>;
96
+ static ɵcmp: i0.ɵɵComponentDeclaration<CatDatepicker, "cat-datepicker", never, { "autoComplete": "autoComplete"; "clearable": "clearable"; "disabled": "disabled"; "errorUpdate": "errorUpdate"; "errors": "errors"; "hint": "hint"; "horizontal": "horizontal"; "icon": "icon"; "iconRight": "iconRight"; "identifier": "identifier"; "label": "label"; "labelHidden": "labelHidden"; "max": "max"; "min": "min"; "mode": "mode"; "name": "name"; "nativeAttributes": "nativeAttributes"; "placeholder": "placeholder"; "readonly": "readonly"; "required": "required"; "requiredMarker": "requiredMarker"; "step": "step"; "textPrefix": "textPrefix"; "textSuffix": "textSuffix"; "value": "value"; }, {}, never, ["*"], false>;
97
97
  }
98
98
  export declare interface CatDatepicker extends Components.CatDatepicker {
99
99
  /**
100
100
  * Emitted when the value is changed.
101
101
  */
102
- catChange: EventEmitter<CustomEvent<InputEvent>>;
102
+ catChange: EventEmitter<CustomEvent<string>>;
103
103
  /**
104
104
  * Emitted when the input received focus.
105
105
  */
@@ -155,7 +155,7 @@ export declare interface CatInput extends Components.CatInput {
155
155
  /**
156
156
  * Emitted when the value is changed.
157
157
  */
158
- catChange: EventEmitter<CustomEvent<InputEvent>>;
158
+ catChange: EventEmitter<CustomEvent<string>>;
159
159
  /**
160
160
  * Emitted when the input received focus.
161
161
  */
@@ -165,15 +165,6 @@ export declare interface CatInput extends Components.CatInput {
165
165
  */
166
166
  catBlur: EventEmitter<CustomEvent<FocusEvent>>;
167
167
  }
168
- export declare class CatLabel {
169
- protected z: NgZone;
170
- protected el: HTMLElement;
171
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
172
- static ɵfac: i0.ɵɵFactoryDeclaration<CatLabel, never>;
173
- static ɵcmp: i0.ɵɵComponentDeclaration<CatLabel, "cat-label", never, { "for": "for"; "horizontal": "horizontal"; "required": "required"; "requiredMarker": "requiredMarker"; }, {}, never, ["*"], false>;
174
- }
175
- export declare interface CatLabel extends Components.CatLabel {
176
- }
177
168
  export declare class CatPagination {
178
169
  protected z: NgZone;
179
170
  protected el: HTMLElement;
@@ -185,7 +176,7 @@ export declare interface CatPagination extends Components.CatPagination {
185
176
  /**
186
177
  * Emitted when the page of the pagination has changed.
187
178
  */
188
- catChange: EventEmitter<CustomEvent<any>>;
179
+ catChange: EventEmitter<CustomEvent<number>>;
189
180
  }
190
181
  export declare class CatRadio {
191
182
  protected z: NgZone;
@@ -198,7 +189,7 @@ export declare interface CatRadio extends Components.CatRadio {
198
189
  /**
199
190
  * Emitted when the radio is changed.
200
191
  */
201
- catChange: EventEmitter<CustomEvent<InputEvent>>;
192
+ catChange: EventEmitter<CustomEvent<boolean | string>>;
202
193
  /**
203
194
  * Emitted when the radio received focus.
204
195
  */
@@ -219,7 +210,11 @@ export declare interface CatRadioGroup extends Components.CatRadioGroup {
219
210
  /**
220
211
  * Emitted when the value is changed.
221
212
  */
222
- catChange: EventEmitter<CustomEvent<InputEvent>>;
213
+ catChange: EventEmitter<CustomEvent<boolean | string>>;
214
+ /**
215
+ * Emitted when the radio group received focus.
216
+ */
217
+ catFocus: EventEmitter<CustomEvent<FocusEvent>>;
223
218
  /**
224
219
  * Emitted when the radio group loses focus.
225
220
  */
@@ -335,7 +330,7 @@ export declare interface CatTextarea extends Components.CatTextarea {
335
330
  /**
336
331
  * Emitted when the value is changed.
337
332
  */
338
- catChange: EventEmitter<CustomEvent<InputEvent>>;
333
+ catChange: EventEmitter<CustomEvent<string>>;
339
334
  /**
340
335
  * Emitted when the textarea received focus.
341
336
  */
@@ -345,43 +340,18 @@ export declare interface CatTextarea extends Components.CatTextarea {
345
340
  */
346
341
  catBlur: EventEmitter<CustomEvent<FocusEvent>>;
347
342
  }
348
- export declare class CatTimepicker {
349
- protected z: NgZone;
350
- protected el: HTMLElement;
351
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
352
- static ɵfac: i0.ɵɵFactoryDeclaration<CatTimepicker, never>;
353
- static ɵcmp: i0.ɵɵComponentDeclaration<CatTimepicker, "cat-timepicker", never, { "clearable": "clearable"; "disabled": "disabled"; "errorUpdate": "errorUpdate"; "errors": "errors"; "hint": "hint"; "horizontal": "horizontal"; "hourShort": "hourShort"; "identifier": "identifier"; "label": "label"; "labelHidden": "labelHidden"; "max": "max"; "min": "min"; "minutesStep": "minutesStep"; "multiple": "multiple"; "name": "name"; "nativeAttributes": "nativeAttributes"; "noItems": "noItems"; "placeholder": "placeholder"; "placement": "placement"; "required": "required"; "requiredMarker": "requiredMarker"; "value": "value"; }, {}, never, ["*"], false>;
354
- }
355
- export declare interface CatTimepicker extends Components.CatTimepicker {
356
- /**
357
- * Emitted when the select dropdown is opened.
358
- */
359
- catOpen: EventEmitter<CustomEvent<FocusEvent>>;
360
- /**
361
- * Emitted when the select dropdown is closed.
362
- */
363
- catClose: EventEmitter<CustomEvent<FocusEvent>>;
364
- /**
365
- * Emitted when the value is changed.
366
- */
367
- catChange: EventEmitter<CustomEvent<any>>;
368
- /**
369
- * Emitted when the select loses the focus.
370
- */
371
- catBlur: EventEmitter<CustomEvent<FocusEvent>>;
372
- }
373
343
  export declare class CatToggle {
374
344
  protected z: NgZone;
375
345
  protected el: HTMLElement;
376
346
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
377
347
  static ɵfac: i0.ɵɵFactoryDeclaration<CatToggle, never>;
378
- static ɵcmp: i0.ɵɵComponentDeclaration<CatToggle, "cat-toggle", never, { "checked": "checked"; "disabled": "disabled"; "hint": "hint"; "identifier": "identifier"; "label": "label"; "labelHidden": "labelHidden"; "labelLeft": "labelLeft"; "name": "name"; "nativeAttributes": "nativeAttributes"; "required": "required"; "value": "value"; }, {}, never, ["*"], false>;
348
+ static ɵcmp: i0.ɵɵComponentDeclaration<CatToggle, "cat-toggle", never, { "checked": "checked"; "disabled": "disabled"; "hint": "hint"; "identifier": "identifier"; "label": "label"; "labelHidden": "labelHidden"; "labelLeft": "labelLeft"; "name": "name"; "nativeAttributes": "nativeAttributes"; "required": "required"; "resolvedValue": "resolvedValue"; "value": "value"; }, {}, never, ["*"], false>;
379
349
  }
380
350
  export declare interface CatToggle extends Components.CatToggle {
381
351
  /**
382
352
  * Emitted when the checked status of the toggle is changed.
383
353
  */
384
- catChange: EventEmitter<CustomEvent<InputEvent>>;
354
+ catChange: EventEmitter<CustomEvent<boolean | string | null>>;
385
355
  /**
386
356
  * Emitted when the toggle received focus.
387
357
  */
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
4
4
  export declare class TextValueAccessor extends ValueAccessor {
5
5
  constructor(el: ElementRef);
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TextValueAccessor, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<TextValueAccessor, "cat-input, cat-textarea", never, {}, {}, never, never, false>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TextValueAccessor, "cat-input, cat-textarea, cat-datepicker", never, {}, {}, never, never, false>;
8
8
  }
@@ -8,5 +8,5 @@ export declare class ValueAccessorDecorator implements AfterViewInit {
8
8
  ngAfterViewInit(): void;
9
9
  private updateErrors;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ValueAccessorDecorator, [null, { optional: true; self: true; }]>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<ValueAccessorDecorator, "cat-input, cat-textarea, cat-select", never, {}, {}, never, never, false>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ValueAccessorDecorator, "cat-input, cat-textarea, cat-datepicker, cat-select", never, {}, {}, never, never, false>;
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haiilo/catalyst-angular",
3
- "version": "5.4.0",
3
+ "version": "6.0.1",
4
4
  "description": "Angular wrapper for Catalyst Design System",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -12,7 +12,7 @@
12
12
  "rxjs": ">=6.6.0"
13
13
  },
14
14
  "dependencies": {
15
- "@haiilo/catalyst": "5.4.0",
15
+ "@haiilo/catalyst": "6.0.1",
16
16
  "tslib": "^2.3.0"
17
17
  },
18
18
  "module": "fesm2015/haiilo-catalyst-angular.mjs",