cps-ui-kit 0.124.0 → 0.125.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.
@@ -1,13 +1,13 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { CpsRadioGroupComponent, RadioOption } from '../cps-radio-group.component';
2
+ import { CpsRadioGroupComponent, CpsRadioOption } from '../cps-radio-group.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class CpsRadioComponent implements OnInit {
5
- option: RadioOption;
5
+ option: CpsRadioOption;
6
6
  radioGroup?: CpsRadioGroupComponent;
7
7
  groupDisabled: boolean;
8
8
  constructor(radioGroup: CpsRadioGroupComponent);
9
9
  ngOnInit(): void;
10
- updateValueEvent(event: Event): void;
10
+ updateValueEvent(value: any): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsRadioComponent, [{ optional: true; }]>;
12
12
  static ɵcmp: i0.ɵɵComponentDeclaration<CpsRadioComponent, "cps-radio", never, { "option": "option"; }, {}, never, ["*"], true, never>;
13
13
  }
@@ -1,9 +1,9 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { RadioOption } from '../cps-radio-group.component';
2
+ import { CpsRadioOption } from '../cps-radio-group.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class CpsRadioButtonComponent {
5
5
  private _uniqueId;
6
- option: RadioOption;
6
+ option: CpsRadioOption;
7
7
  checked: boolean;
8
8
  groupDisabled: boolean;
9
9
  updateValueEvent: EventEmitter<Event>;
@@ -2,7 +2,7 @@ import { EventEmitter, InjectionToken } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { TooltipPosition } from '../../directives/cps-tooltip.directive';
4
4
  import * as i0 from "@angular/core";
5
- export type RadioOption = {
5
+ export type CpsRadioOption = {
6
6
  value: any;
7
7
  label?: string;
8
8
  disabled?: boolean;
@@ -11,7 +11,7 @@ export type RadioOption = {
11
11
  export declare const CPS_RADIO_GROUP: InjectionToken<CpsRadioGroupComponent>;
12
12
  export declare class CpsRadioGroupComponent implements ControlValueAccessor {
13
13
  private _control;
14
- options: RadioOption[];
14
+ options: CpsRadioOption[];
15
15
  groupLabel: string;
16
16
  vertical: boolean;
17
17
  disabled: boolean;
@@ -30,7 +30,7 @@ export declare class CpsRadioGroupComponent implements ControlValueAccessor {
30
30
  registerOnChange(fn: any): void;
31
31
  registerOnTouched(fn: any): void;
32
32
  writeValue(value: any): void;
33
- updateValueEvent(event: any): void;
33
+ updateValueEvent(value: any): void;
34
34
  private _updateValue;
35
35
  setDisabledState(disabled: boolean): void;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsRadioGroupComponent, [{ optional: true; self: true; }]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cps-ui-kit",
3
- "version": "0.124.0",
3
+ "version": "0.125.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "15 - 16",
6
6
  "@angular/core": "15 - 16",