@gettrx/core-components-angular 1.0.3 → 1.0.4

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.
@@ -3,11 +3,6 @@ import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class GtrSwitchComponent implements ControlValueAccessor {
5
5
  ngControl: NgControl;
6
- constructor(ngControl: NgControl);
7
- writeValue(obj: any): void;
8
- registerOnChange(fn: any): void;
9
- registerOnTouched(fn: any): void;
10
- setDisabledState?(isDisabled: boolean): void;
11
6
  /**
12
7
  * Checked state for gtr switch button
13
8
  * @returns boolean value
@@ -42,6 +37,13 @@ export declare class GtrSwitchComponent implements ControlValueAccessor {
42
37
  * @returns Custom event for latest checked state
43
38
  */
44
39
  gtrChange: EventEmitter<boolean>;
40
+ constructor(ngControl: NgControl);
41
+ onChanged: any;
42
+ onTouched: any;
43
+ writeValue(value: boolean): void;
44
+ registerOnChange(fn: any): void;
45
+ registerOnTouched(fn: any): void;
46
+ setDisabledState?(isDisabled: boolean): void;
45
47
  /**
46
48
  * Local method to handle keyboard events for switch button
47
49
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gettrx/core-components-angular",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Angular specific wrappers for @gettrx/core-components",
5
5
  "keywords": [
6
6
  "gettrx",
@@ -20,8 +20,8 @@
20
20
  "peerDependencies": {
21
21
  "@angular/common": "^16.1.0",
22
22
  "@angular/core": "^16.1.0",
23
- "@gettrx/core-components": "1.0.3",
24
- "@gettrx/core-styles": "1.0.3"
23
+ "@gettrx/core-components": "1.0.4",
24
+ "@gettrx/core-styles": "1.0.4"
25
25
  },
26
26
  "module": "fesm2022/gettrx-core-components-angular.mjs",
27
27
  "typings": "index.d.ts",