@haiilo/catalyst-angular 5.3.0 → 6.0.0

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.
@@ -33,7 +33,7 @@ export declare class CatButton {
33
33
  protected el: HTMLElement;
34
34
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<CatButton, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<CatButton, "cat-button", never, { "a11yCurrent": "a11yCurrent"; "a11yLabel": "a11yLabel"; "active": "active"; "buttonGroupPosition": "buttonGroupPosition"; "buttonId": "buttonId"; "color": "color"; "disabled": "disabled"; "icon": "icon"; "iconOnly": "iconOnly"; "iconRight": "iconRight"; "iconSrc": "iconSrc"; "loading": "loading"; "name": "name"; "nativeAttributes": "nativeAttributes"; "noEllipsis": "noEllipsis"; "round": "round"; "size": "size"; "submit": "submit"; "url": "url"; "urlTarget": "urlTarget"; "value": "value"; "variant": "variant"; }, {}, never, ["*"], false>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<CatButton, "cat-button", never, { "a11yCurrent": "a11yCurrent"; "a11yLabel": "a11yLabel"; "active": "active"; "buttonGroupPosition": "buttonGroupPosition"; "buttonId": "buttonId"; "color": "color"; "disabled": "disabled"; "icon": "icon"; "iconOnly": "iconOnly"; "iconRight": "iconRight"; "loading": "loading"; "name": "name"; "nativeAttributes": "nativeAttributes"; "noEllipsis": "noEllipsis"; "round": "round"; "size": "size"; "submit": "submit"; "url": "url"; "urlTarget": "urlTarget"; "value": "value"; "variant": "variant"; }, {}, never, ["*"], false>;
37
37
  }
38
38
  export declare interface CatButton extends Components.CatButton {
39
39
  /**
@@ -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<any>>;
81
+ catChange: EventEmitter<CustomEvent<boolean | string | null>>;
82
82
  /**
83
83
  * Emitted when the checkbox received focus.
84
84
  */
@@ -88,6 +88,27 @@ export declare interface CatCheckbox extends Components.CatCheckbox {
88
88
  */
89
89
  catBlur: EventEmitter<CustomEvent<FocusEvent>>;
90
90
  }
91
+ export declare class CatDatepicker {
92
+ protected z: NgZone;
93
+ protected el: HTMLElement;
94
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
95
+ static ɵfac: i0.ɵɵFactoryDeclaration<CatDatepicker, never>;
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
+ }
98
+ export declare interface CatDatepicker extends Components.CatDatepicker {
99
+ /**
100
+ * Emitted when the value is changed.
101
+ */
102
+ catChange: EventEmitter<CustomEvent<string>>;
103
+ /**
104
+ * Emitted when the input received focus.
105
+ */
106
+ catFocus: EventEmitter<CustomEvent<FocusEvent>>;
107
+ /**
108
+ * Emitted when the input loses focus.
109
+ */
110
+ catBlur: EventEmitter<CustomEvent<FocusEvent>>;
111
+ }
91
112
  export declare class CatDropdown {
92
113
  protected z: NgZone;
93
114
  protected el: HTMLElement;
@@ -134,7 +155,7 @@ export declare interface CatInput extends Components.CatInput {
134
155
  /**
135
156
  * Emitted when the value is changed.
136
157
  */
137
- catChange: EventEmitter<CustomEvent<any>>;
158
+ catChange: EventEmitter<CustomEvent<string>>;
138
159
  /**
139
160
  * Emitted when the input received focus.
140
161
  */
@@ -144,15 +165,6 @@ export declare interface CatInput extends Components.CatInput {
144
165
  */
145
166
  catBlur: EventEmitter<CustomEvent<FocusEvent>>;
146
167
  }
147
- export declare class CatLabel {
148
- protected z: NgZone;
149
- protected el: HTMLElement;
150
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
151
- static ɵfac: i0.ɵɵFactoryDeclaration<CatLabel, never>;
152
- static ɵcmp: i0.ɵɵComponentDeclaration<CatLabel, "cat-label", never, { "for": "for"; "horizontal": "horizontal"; "required": "required"; "requiredMarker": "requiredMarker"; }, {}, never, ["*"], false>;
153
- }
154
- export declare interface CatLabel extends Components.CatLabel {
155
- }
156
168
  export declare class CatPagination {
157
169
  protected z: NgZone;
158
170
  protected el: HTMLElement;
@@ -161,6 +173,10 @@ export declare class CatPagination {
161
173
  static ɵcmp: i0.ɵɵComponentDeclaration<CatPagination, "cat-pagination", never, { "activePadding": "activePadding"; "compact": "compact"; "iconNext": "iconNext"; "iconPrev": "iconPrev"; "page": "page"; "pageCount": "pageCount"; "round": "round"; "sidePadding": "sidePadding"; "size": "size"; "variant": "variant"; }, {}, never, ["*"], false>;
162
174
  }
163
175
  export declare interface CatPagination extends Components.CatPagination {
176
+ /**
177
+ * Emitted when the page of the pagination has changed.
178
+ */
179
+ catChange: EventEmitter<CustomEvent<number>>;
164
180
  }
165
181
  export declare class CatRadio {
166
182
  protected z: NgZone;
@@ -173,7 +189,7 @@ export declare interface CatRadio extends Components.CatRadio {
173
189
  /**
174
190
  * Emitted when the radio is changed.
175
191
  */
176
- catChange: EventEmitter<CustomEvent<any>>;
192
+ catChange: EventEmitter<CustomEvent<boolean | string>>;
177
193
  /**
178
194
  * Emitted when the radio received focus.
179
195
  */
@@ -194,7 +210,11 @@ export declare interface CatRadioGroup extends Components.CatRadioGroup {
194
210
  /**
195
211
  * Emitted when the value is changed.
196
212
  */
197
- catChange: EventEmitter<CustomEvent<any>>;
213
+ catChange: EventEmitter<CustomEvent<boolean | string>>;
214
+ /**
215
+ * Emitted when the radio group received focus.
216
+ */
217
+ catFocus: EventEmitter<CustomEvent<FocusEvent>>;
198
218
  /**
199
219
  * Emitted when the radio group loses focus.
200
220
  */
@@ -244,7 +264,7 @@ export declare interface CatSelect extends Components.CatSelect {
244
264
  /**
245
265
  * Emitted when the value is changed.
246
266
  */
247
- catChange: EventEmitter<CustomEvent<any>>;
267
+ catChange: EventEmitter<CustomEvent<InputEvent>>;
248
268
  /**
249
269
  * Emitted when the select loses the focus.
250
270
  */
@@ -310,7 +330,7 @@ export declare interface CatTextarea extends Components.CatTextarea {
310
330
  /**
311
331
  * Emitted when the value is changed.
312
332
  */
313
- catChange: EventEmitter<CustomEvent<any>>;
333
+ catChange: EventEmitter<CustomEvent<string>>;
314
334
  /**
315
335
  * Emitted when the textarea received focus.
316
336
  */
@@ -325,13 +345,13 @@ export declare class CatToggle {
325
345
  protected el: HTMLElement;
326
346
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
327
347
  static ɵfac: i0.ɵɵFactoryDeclaration<CatToggle, never>;
328
- 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>;
329
349
  }
330
350
  export declare interface CatToggle extends Components.CatToggle {
331
351
  /**
332
352
  * Emitted when the checked status of the toggle is changed.
333
353
  */
334
- catChange: EventEmitter<CustomEvent<any>>;
354
+ catChange: EventEmitter<CustomEvent<boolean | string | null>>;
335
355
  /**
336
356
  * Emitted when the toggle received focus.
337
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.3.0",
3
+ "version": "6.0.0",
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.3.0",
15
+ "@haiilo/catalyst": "6.0.0",
16
16
  "tslib": "^2.3.0"
17
17
  },
18
18
  "module": "fesm2015/haiilo-catalyst-angular.mjs",