@indigina/ui-kit 1.1.114 → 1.1.115
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
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, InputSignal } from '@angular/core';
|
|
2
2
|
import { KitSvgIcon, KitSvgIconType } from '../kit-svg-icon/kit-svg-icon.const';
|
|
3
|
-
import { KitPillType } from './kit-pill.const';
|
|
3
|
+
import { KitPillTheme, KitPillType } from './kit-pill.const';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class KitPillComponent {
|
|
6
6
|
/**
|
|
@@ -19,6 +19,10 @@ export declare class KitPillComponent {
|
|
|
19
19
|
* Defines the pill type
|
|
20
20
|
*/
|
|
21
21
|
type: KitPillType;
|
|
22
|
+
/**
|
|
23
|
+
* Defines the color theme of the pill
|
|
24
|
+
*/
|
|
25
|
+
readonly theme: InputSignal<KitPillTheme>;
|
|
22
26
|
/**
|
|
23
27
|
* Defines the icon which will be used in a pill with icon
|
|
24
28
|
*/
|
|
@@ -37,7 +41,8 @@ export declare class KitPillComponent {
|
|
|
37
41
|
removed: EventEmitter<void>;
|
|
38
42
|
readonly closeIcon: KitSvgIcon;
|
|
39
43
|
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
44
|
+
get cssClasses(): Record<string, boolean>;
|
|
40
45
|
onComponentClick(): void;
|
|
41
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitPillComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitPillComponent, "kit-pill", never, { "removable": { "alias": "removable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; }, { "clicked": "clicked"; "removed": "removed"; }, never, ["*"], true, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitPillComponent, "kit-pill", never, { "removable": { "alias": "removable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; }, { "clicked": "clicked"; "removed": "removed"; }, never, ["*"], true, never>;
|
|
43
48
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export { KitCheckboxModule } from './lib/components/kit-checkbox/kit-checkbox.mo
|
|
|
46
46
|
export { KitToggleComponent } from './lib/components/kit-toggle/kit-toggle.component';
|
|
47
47
|
export { KitToggleModule } from './lib/components/kit-toggle/kit-toggle.module';
|
|
48
48
|
export { KitPillComponent } from './lib/components/kit-pill/kit-pill.component';
|
|
49
|
-
export { KitPillType } from './lib/components/kit-pill/kit-pill.const';
|
|
49
|
+
export { KitPillType, KitPillTheme } from './lib/components/kit-pill/kit-pill.const';
|
|
50
50
|
export { KitTooltipDirective } from './lib/directives/kit-tooltip/kit-tooltip.directive';
|
|
51
51
|
export { KitTooltipPosition } from './lib/directives/kit-tooltip/kit-tooltip.const';
|
|
52
52
|
export { KitToastrModule } from './lib/components/kit-toastr/kit-toastr.module';
|