cps-ui-kit 0.16.0 → 0.18.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,6 +1,6 @@
1
1
  import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
- import { iconSizeType } from '../cps-icon/cps-icon.component';
3
+ import { IconType, iconSizeType } from '../cps-icon/cps-icon.component';
4
4
  import { LabelByValuePipe } from '../../pipes/label-by-value.pipe';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class CpsAutocompleteComponent implements ControlValueAccessor, OnInit, OnDestroy {
@@ -24,7 +24,7 @@ export declare class CpsAutocompleteComponent implements ControlValueAccessor, O
24
24
  optionInfo: string;
25
25
  hideDetails: boolean;
26
26
  persistentClear: boolean;
27
- prefixIcon: string;
27
+ prefixIcon: IconType;
28
28
  prefixIconSize: iconSizeType;
29
29
  loading: boolean;
30
30
  _value: any;
@@ -1,11 +1,12 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
+ import { IconType } from '../cps-icon/cps-icon.component';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class CpsButtonComponent implements OnInit {
4
5
  color: string;
5
6
  contentColor: string;
6
7
  type: 'solid' | 'outlined' | 'borderless';
7
8
  label: string;
8
- icon: string;
9
+ icon: IconType;
9
10
  iconPosition: 'before' | 'after';
10
11
  size: 'xsmall' | 'small' | 'normal' | 'large';
11
12
  width: number | string;
@@ -1,8 +1,9 @@
1
1
  import { EventEmitter, OnChanges } from '@angular/core';
2
+ import { IconType } from '../cps-icon/cps-icon.component';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class CpsChipComponent implements OnChanges {
4
5
  label: string;
5
- icon: string;
6
+ icon: IconType;
6
7
  iconPosition: 'before' | 'after';
7
8
  closable: boolean;
8
9
  disabled: boolean;
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
+ import { IconType } from '../cps-icon/cps-icon.component';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class CpsExpansionPanelComponent implements OnInit {
4
5
  headerTitle: string;
@@ -9,10 +10,11 @@ export declare class CpsExpansionPanelComponent implements OnInit {
9
10
  bordered: boolean;
10
11
  borderRadius: number | string;
11
12
  width: number | string;
13
+ prefixIcon: IconType;
12
14
  afterCollapse: EventEmitter<void>;
13
15
  afterExpand: EventEmitter<void>;
14
16
  ngOnInit(): void;
15
17
  toggleExpansion(): void;
16
18
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsExpansionPanelComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsExpansionPanelComponent, "cps-expansion-panel", never, { "headerTitle": "headerTitle"; "backgroundColor": "backgroundColor"; "showChevron": "showChevron"; "isExpanded": "isExpanded"; "disabled": "disabled"; "bordered": "bordered"; "borderRadius": "borderRadius"; "width": "width"; }, { "afterCollapse": "afterCollapse"; "afterExpand": "afterExpand"; }, never, ["*"], true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsExpansionPanelComponent, "cps-expansion-panel", never, { "headerTitle": "headerTitle"; "backgroundColor": "backgroundColor"; "showChevron": "showChevron"; "isExpanded": "isExpanded"; "disabled": "disabled"; "bordered": "bordered"; "borderRadius": "borderRadius"; "width": "width"; "prefixIcon": "prefixIcon"; }, { "afterCollapse": "afterCollapse"; "afterExpand": "afterExpand"; }, never, ["*"], true, never>;
18
20
  }
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
- import { iconSizeType } from '../cps-icon/cps-icon.component';
3
+ import { IconType, iconSizeType } from '../cps-icon/cps-icon.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class CpsInputComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
6
6
  private _control;
@@ -14,7 +14,7 @@ export declare class CpsInputComponent implements ControlValueAccessor, OnInit,
14
14
  type: 'text' | 'number' | 'password';
15
15
  loading: boolean;
16
16
  clearable: boolean;
17
- prefixIcon: string;
17
+ prefixIcon: IconType;
18
18
  prefixIconClickable: boolean;
19
19
  prefixIconSize: iconSizeType;
20
20
  prefixText: string;
@@ -1,6 +1,6 @@
1
1
  import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
- import { iconSizeType } from '../cps-icon/cps-icon.component';
3
+ import { iconSizeType, IconType } from '../cps-icon/cps-icon.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class CpsSelectComponent implements ControlValueAccessor, OnInit, OnDestroy {
6
6
  private _control;
@@ -22,7 +22,7 @@ export declare class CpsSelectComponent implements ControlValueAccessor, OnInit,
22
22
  optionInfo: string;
23
23
  hideDetails: boolean;
24
24
  persistentClear: boolean;
25
- prefixIcon: string;
25
+ prefixIcon: IconType;
26
26
  prefixIconSize: iconSizeType;
27
27
  loading: boolean;
28
28
  _value: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cps-ui-kit",
3
- "version": "0.16.0",
3
+ "version": "0.18.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "15 - 16",
6
6
  "@angular/core": "15 - 16",