@indigina/ui-kit 1.0.85 → 1.0.89
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/bundles/indigina-ui-kit.umd.js +190 -10
- package/bundles/indigina-ui-kit.umd.js.map +1 -1
- package/esm2015/lib/components/kit-cta-panel-action/kit-cta-panel-action.component.js +31 -0
- package/esm2015/lib/components/kit-cta-panel-action/kit-cta-panel-action.module.js +21 -0
- package/esm2015/lib/components/kit-cta-panel-confirmation/abstract-kit-cta-panel-confirmation.component.js +19 -0
- package/esm2015/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.component.js +35 -0
- package/esm2015/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.module.js +30 -0
- package/esm2015/lib/components/kit-cta-panel-item/kit-cta-panel-item.component.js +29 -0
- package/esm2015/lib/components/kit-cta-panel-item/kit-cta-panel-item.module.js +21 -0
- package/esm2015/lib/components/kit-daterange/kit-daterange.module.js +3 -7
- package/esm2015/lib/components/kit-datetimepicker/kit-datetimepicker.module.js +2 -1
- package/esm2015/lib/components/kit-numeric-textbox/kit-numeric-textbox.module.js +2 -1
- package/esm2015/lib/components/kit-textarea/kit-textarea.component.js +1 -1
- package/esm2015/lib/components/kit-textbox/kit-textbox.component.js +3 -2
- package/esm2015/lib/components/kit-units-textbox/kit-units-textbox.component.js +2 -2
- package/esm2015/lib/components/kit-units-textbox/kit-units-textbox.module.js +2 -1
- package/esm2015/public-api.js +10 -2
- package/fesm2015/indigina-ui-kit.js +170 -10
- package/fesm2015/indigina-ui-kit.js.map +1 -1
- package/indigina-ui-kit.metadata.json +1 -1
- package/lib/components/kit-cta-panel-action/kit-cta-panel-action.component.d.ts +13 -0
- package/lib/components/kit-cta-panel-action/kit-cta-panel-action.module.d.ts +2 -0
- package/lib/components/kit-cta-panel-confirmation/abstract-kit-cta-panel-confirmation.component.d.ts +6 -0
- package/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.component.d.ts +21 -0
- package/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.module.d.ts +2 -0
- package/lib/components/kit-cta-panel-item/kit-cta-panel-item.component.d.ts +14 -0
- package/lib/components/kit-cta-panel-item/kit-cta-panel-item.module.d.ts +2 -0
- package/lib/components/kit-daterange/kit-daterange.module.d.ts +1 -1
- package/lib/components/kit-datetimepicker/kit-datetimepicker.module.d.ts +1 -0
- package/lib/components/kit-numeric-textbox/kit-numeric-textbox.module.d.ts +1 -0
- package/lib/components/kit-textbox/kit-textbox.component.d.ts +4 -0
- package/lib/components/kit-units-textbox/kit-units-textbox.module.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +7 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { KitButtonKind, KitButtonType } from '../kit-button/kit-button.const';
|
|
3
|
+
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
4
|
+
export declare class KitCtaPanelActionComponent {
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
confirmText: string;
|
|
7
|
+
quitText: string;
|
|
8
|
+
quitClicked: EventEmitter<void>;
|
|
9
|
+
confirmClicked: EventEmitter<void>;
|
|
10
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
11
|
+
readonly KitButtonKind: typeof KitButtonKind;
|
|
12
|
+
readonly KitButtonType: typeof KitButtonType;
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { KitDropdownItem } from '../kit-dropdown/kit-dropdown.component';
|
|
4
|
+
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
5
|
+
export interface KitCtaPanelConfirmation<T> {
|
|
6
|
+
title: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
icon: KitSvgIcon;
|
|
9
|
+
dropdownLabel: string;
|
|
10
|
+
dropdownItems?: KitDropdownItem<T>[];
|
|
11
|
+
}
|
|
12
|
+
export declare class KitCtaPanelConfirmationComponent<T> {
|
|
13
|
+
private formBuilder;
|
|
14
|
+
data?: KitCtaPanelConfirmation<T>;
|
|
15
|
+
confirmButtonDisabled: boolean;
|
|
16
|
+
quitClicked: EventEmitter<void>;
|
|
17
|
+
confirmClicked: EventEmitter<T>;
|
|
18
|
+
readonly form: FormGroup;
|
|
19
|
+
constructor(formBuilder: FormBuilder);
|
|
20
|
+
onConfirmButtonClick(): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
3
|
+
export interface KitCtaPanelItem {
|
|
4
|
+
title: string;
|
|
5
|
+
buttonText: string;
|
|
6
|
+
icon: KitSvgIcon;
|
|
7
|
+
action?(): void;
|
|
8
|
+
}
|
|
9
|
+
export declare class KitCtaPanelItemComponent {
|
|
10
|
+
item?: KitCtaPanelItem;
|
|
11
|
+
clicked: EventEmitter<void>;
|
|
12
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
13
|
+
onButtonClick(): void;
|
|
14
|
+
}
|
|
@@ -31,6 +31,10 @@ export declare class KitTextboxComponent implements ControlValueAccessor {
|
|
|
31
31
|
* Defines a state whether the textbox will be disabled or not
|
|
32
32
|
*/
|
|
33
33
|
disabled: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Defines the maximum length of the textbox value
|
|
36
|
+
*/
|
|
37
|
+
maxlength?: number;
|
|
34
38
|
/**
|
|
35
39
|
* An action which is emitted when input field lost focus
|
|
36
40
|
*/
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -46,3 +46,10 @@ export { KitToastrModule } from './lib/components/kit-toastr/kit-toastr.module';
|
|
|
46
46
|
export { KitToastrService, KitToastrConfig, KitToastrType } from './lib/components/kit-toastr/kit-toastr.service';
|
|
47
47
|
export { KitDaterangeComponent, KitDaterangeType, KitDaterangeIconPosition, KitDaterangeValue, } from './lib/components/kit-daterange/kit-daterange.component';
|
|
48
48
|
export { KitDaterangeModule } from './lib/components/kit-daterange/kit-daterange.module';
|
|
49
|
+
export { KitCtaPanelItem, KitCtaPanelItemComponent } from './lib/components/kit-cta-panel-item/kit-cta-panel-item.component';
|
|
50
|
+
export { KitCtaPanelItemModule } from './lib/components/kit-cta-panel-item/kit-cta-panel-item.module';
|
|
51
|
+
export { KitCtaPanelActionComponent } from './lib/components/kit-cta-panel-action/kit-cta-panel-action.component';
|
|
52
|
+
export { KitCtaPanelActionModule } from './lib/components/kit-cta-panel-action/kit-cta-panel-action.module';
|
|
53
|
+
export { AbstractKitCtaPanelConfirmationComponent, } from './lib/components/kit-cta-panel-confirmation/abstract-kit-cta-panel-confirmation.component';
|
|
54
|
+
export { KitCtaPanelConfirmation, KitCtaPanelConfirmationComponent, } from './lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.component';
|
|
55
|
+
export { KitCtaPanelConfirmationModule } from './lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.module';
|