cps-ui-kit 21.19.0 → 21.20.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.
- package/fesm2022/cps-ui-kit.mjs +38 -25
- package/fesm2022/cps-ui-kit.mjs.map +1 -1
- package/package.json +1 -1
- package/types/cps-ui-kit.d.ts +12 -4
package/package.json
CHANGED
package/types/cps-ui-kit.d.ts
CHANGED
|
@@ -844,7 +844,7 @@ declare class CpsButtonToggleComponent implements ControlValueAccessor, OnInit,
|
|
|
844
844
|
* CpsButtonComponent is a button element.
|
|
845
845
|
* @group Components
|
|
846
846
|
*/
|
|
847
|
-
declare class CpsButtonComponent implements OnChanges {
|
|
847
|
+
declare class CpsButtonComponent implements OnInit, OnChanges {
|
|
848
848
|
private document;
|
|
849
849
|
/**
|
|
850
850
|
* Color of the button.
|
|
@@ -926,6 +926,7 @@ declare class CpsButtonComponent implements OnChanges {
|
|
|
926
926
|
classesList: string[];
|
|
927
927
|
enterActive: boolean;
|
|
928
928
|
constructor(document: Document);
|
|
929
|
+
ngOnInit(): void;
|
|
929
930
|
ngOnChanges(): void;
|
|
930
931
|
setClasses(): void;
|
|
931
932
|
onClick(event: Event): void;
|
|
@@ -2062,13 +2063,18 @@ interface CpsTime {
|
|
|
2062
2063
|
* CpsTimepickerComponent allows to pick a specific time from a set of available options or input it manually.
|
|
2063
2064
|
* @group Components
|
|
2064
2065
|
*/
|
|
2065
|
-
declare class CpsTimepickerComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
2066
|
+
declare class CpsTimepickerComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
|
|
2066
2067
|
private _control;
|
|
2067
2068
|
/**
|
|
2068
2069
|
* Label of the timepicker.
|
|
2069
2070
|
* @group Props
|
|
2070
2071
|
*/
|
|
2071
2072
|
label: string;
|
|
2073
|
+
/**
|
|
2074
|
+
* Aria label for the timepicker component, used for accessibility, it takes precedence over label.
|
|
2075
|
+
* @group Props
|
|
2076
|
+
*/
|
|
2077
|
+
ariaLabel: string;
|
|
2072
2078
|
/**
|
|
2073
2079
|
* Determines whether the timepicker is disabled.
|
|
2074
2080
|
* @group Props
|
|
@@ -2173,6 +2179,7 @@ declare class CpsTimepickerComponent implements OnInit, AfterViewInit, OnDestroy
|
|
|
2173
2179
|
constructor(_control: NgControl);
|
|
2174
2180
|
ngOnInit(): void;
|
|
2175
2181
|
ngAfterViewInit(): void;
|
|
2182
|
+
ngOnChanges(): void;
|
|
2176
2183
|
ngOnDestroy(): void;
|
|
2177
2184
|
onChange: (_event: any) => void;
|
|
2178
2185
|
onTouched: () => void;
|
|
@@ -2196,7 +2203,7 @@ declare class CpsTimepickerComponent implements OnInit, AfterViewInit, OnDestroy
|
|
|
2196
2203
|
private _updateValue;
|
|
2197
2204
|
private _getRange;
|
|
2198
2205
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsTimepickerComponent, [{ optional: true; self: true; }]>;
|
|
2199
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CpsTimepickerComponent, "cps-timepicker", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "use24HourTime": { "alias": "use24HourTime"; "required": false; }; "withSeconds": { "alias": "withSeconds"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "hideDetails": { "alias": "hideDetails"; "required": false; }; "infoTooltip": { "alias": "infoTooltip"; "required": false; }; "infoTooltipClass": { "alias": "infoTooltipClass"; "required": false; }; "infoTooltipMaxWidth": { "alias": "infoTooltipMaxWidth"; "required": false; }; "infoTooltipPersistent": { "alias": "infoTooltipPersistent"; "required": false; }; "infoTooltipPosition": { "alias": "infoTooltipPosition"; "required": false; }; "mandatoryValue": { "alias": "mandatoryValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChanged": "valueChanged"; "focused": "focused"; "blurred": "blurred"; }, never, never, true, never>;
|
|
2206
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CpsTimepickerComponent, "cps-timepicker", never, { "label": { "alias": "label"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "use24HourTime": { "alias": "use24HourTime"; "required": false; }; "withSeconds": { "alias": "withSeconds"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "hideDetails": { "alias": "hideDetails"; "required": false; }; "infoTooltip": { "alias": "infoTooltip"; "required": false; }; "infoTooltipClass": { "alias": "infoTooltipClass"; "required": false; }; "infoTooltipMaxWidth": { "alias": "infoTooltipMaxWidth"; "required": false; }; "infoTooltipPersistent": { "alias": "infoTooltipPersistent"; "required": false; }; "infoTooltipPosition": { "alias": "infoTooltipPosition"; "required": false; }; "mandatoryValue": { "alias": "mandatoryValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChanged": "valueChanged"; "focused": "focused"; "blurred": "blurred"; }, never, never, true, never>;
|
|
2200
2207
|
}
|
|
2201
2208
|
|
|
2202
2209
|
/**
|
|
@@ -2782,7 +2789,7 @@ declare class CpsSwitchComponent implements ControlValueAccessor {
|
|
|
2782
2789
|
* CpsTabComponent is a tab within a tab-group.
|
|
2783
2790
|
* @group Components
|
|
2784
2791
|
*/
|
|
2785
|
-
declare class CpsTabComponent implements OnChanges {
|
|
2792
|
+
declare class CpsTabComponent implements OnInit, OnChanges {
|
|
2786
2793
|
/**
|
|
2787
2794
|
* Label of the tab.
|
|
2788
2795
|
* @group Props
|
|
@@ -2835,6 +2842,7 @@ declare class CpsTabComponent implements OnChanges {
|
|
|
2835
2842
|
badgeTooltip: string;
|
|
2836
2843
|
content: TemplateRef<any>;
|
|
2837
2844
|
active: boolean;
|
|
2845
|
+
ngOnInit(): void;
|
|
2838
2846
|
ngOnChanges(): void;
|
|
2839
2847
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsTabComponent, never>;
|
|
2840
2848
|
static ɵcmp: i0.ɵɵComponentDeclaration<CpsTabComponent, "cps-tab", never, { "label": { "alias": "label"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "tooltipContentClass": { "alias": "tooltipContentClass"; "required": false; }; "tooltipMaxWidth": { "alias": "tooltipMaxWidth"; "required": false; }; "tooltipPersistent": { "alias": "tooltipPersistent"; "required": false; }; "badgeValue": { "alias": "badgeValue"; "required": false; }; "badgeTooltip": { "alias": "badgeTooltip"; "required": false; }; }, {}, never, ["*"], true, never>;
|