@indigina/ui-kit 1.1.114 → 1.1.116

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
  }
@@ -2,3 +2,7 @@ export declare enum KitPillType {
2
2
  DEFAULT = "default",
3
3
  DASHED = "dashed"
4
4
  }
5
+ export declare enum KitPillTheme {
6
+ DEFAULT = "default",
7
+ BLUE = "blue"
8
+ }
@@ -2,6 +2,7 @@ import { EventEmitter, OnChanges } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
4
4
  import { KitTextareaState } from './kit-textarea.const';
5
+ import { KitTooltipPosition } from '../../directives/kit-tooltip/kit-tooltip.const';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class KitTextareaComponent implements ControlValueAccessor, OnChanges {
7
8
  /**
@@ -54,6 +55,7 @@ export declare class KitTextareaComponent implements ControlValueAccessor, OnCha
54
55
  * Defines whether the textarea will be in the readonly mode
55
56
  */
56
57
  readonly: boolean;
58
+ tooltip?: string;
57
59
  /**
58
60
  * Defines a value that is going to be applied as a minimal textarea height
59
61
  */
@@ -75,6 +77,7 @@ export declare class KitTextareaComponent implements ControlValueAccessor, OnCha
75
77
  */
76
78
  changed: EventEmitter<string>;
77
79
  readonly textareaStateIcon: Record<KitTextareaState, KitSvgIcon>;
80
+ readonly kitTooltipPosition: typeof KitTooltipPosition;
78
81
  ngOnChanges(): void;
79
82
  /**
80
83
  * Function that should be called every time values of minLines and maxLines changes
@@ -105,5 +108,5 @@ export declare class KitTextareaComponent implements ControlValueAccessor, OnCha
105
108
  */
106
109
  onTextareaChange(event: Event): void;
107
110
  static ɵfac: i0.ɵɵFactoryDeclaration<KitTextareaComponent, never>;
108
- static ɵcmp: i0.ɵɵComponentDeclaration<KitTextareaComponent, "kit-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minLines": { "alias": "minLines"; "required": false; }; "maxLines": { "alias": "maxLines"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "state": { "alias": "state"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "focused": "focused"; "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
111
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitTextareaComponent, "kit-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minLines": { "alias": "minLines"; "required": false; }; "maxLines": { "alias": "maxLines"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "state": { "alias": "state"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "focused": "focused"; "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
109
112
  }
@@ -5,8 +5,9 @@ import * as i3 from "@angular/common";
5
5
  import * as i4 from "../kit-input-message/kit-input-message.module";
6
6
  import * as i5 from "../kit-svg-icon/kit-svg-icon.module";
7
7
  import * as i6 from "../kit-input-label/kit-input-label.module";
8
+ import * as i7 from "../../directives/kit-tooltip/kit-tooltip.directive";
8
9
  export declare class KitTextareaModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<KitTextareaModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<KitTextareaModule, [typeof i1.KitTextareaComponent, typeof i2.KitTextareaAutoresizeDirective], [typeof i3.CommonModule, typeof i4.KitInputMessageModule, typeof i5.KitSvgIconModule, typeof i6.KitInputLabelModule], [typeof i1.KitTextareaComponent, typeof i2.KitTextareaAutoresizeDirective]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KitTextareaModule, [typeof i1.KitTextareaComponent, typeof i2.KitTextareaAutoresizeDirective], [typeof i3.CommonModule, typeof i4.KitInputMessageModule, typeof i5.KitSvgIconModule, typeof i6.KitInputLabelModule, typeof i7.KitTooltipDirective], [typeof i1.KitTextareaComponent, typeof i2.KitTextareaAutoresizeDirective]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<KitTextareaModule>;
12
13
  }
@@ -0,0 +1,12 @@
1
+ import { ElementRef, Signal } from '@angular/core';
2
+ import { TooltipDirective } from '@progress/kendo-angular-tooltip';
3
+ import * as i0 from "@angular/core";
4
+ export declare class KitTruncateTextComponent {
5
+ readonly tooltip: Signal<TooltipDirective>;
6
+ readonly anchor: Signal<ElementRef<HTMLDivElement>>;
7
+ readonly content: Signal<ElementRef<HTMLSpanElement>>;
8
+ onMouseEnter(): void;
9
+ onMouseOver(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitTruncateTextComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitTruncateTextComponent, "kit-truncate-text", never, {}, {}, never, ["*"], true, never>;
12
+ }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.114",
10
+ "version": "1.1.116",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "^19.1.4",
13
13
  "@angular/core": "^19.1.4"
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';
@@ -164,3 +164,4 @@ export { KitSortableComponent } from './lib/components/kit-sortable/kit-sortable
164
164
  export { kitDataStateToODataString } from './lib/utils/kit-data-query/kit-data-query.util';
165
165
  export { KitSortDescriptor, KitDataResult, KitDataState, KitFilterDescriptor, KitCompositeFilterDescriptor, } from './lib/utils/kit-data-query/kit-data-query.model';
166
166
  export { KitFilterOperator, KitFilterLogic, KitSortDirection } from './lib/utils/kit-data-query/kit-data-query.const';
167
+ export { KitTruncateTextComponent } from './lib/components/kit-truncate-text/kit-truncate-text.component';