@indigina/ui-kit 1.1.23 → 1.1.24

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.
@@ -79,5 +79,9 @@ export declare enum KitSvgIcon {
79
79
  WINDOW_RESTORE = "window-restore",
80
80
  BACK_ARROW = "back-arrow",
81
81
  USER = "user",
82
- CARET_DOWN = "caret-down"
82
+ CARET_DOWN = "caret-down",
83
+ INFO_CIRCLE = "info-circle",
84
+ CHECK_CIRCLE_FILLED = "check-circle-filled",
85
+ WARNING_CIRCLE_FILLED = "warning-circle-filled",
86
+ CLOSE_CIRCLE_FILLED = "close-circle-filled"
83
87
  }
@@ -2,6 +2,7 @@ import { EventEmitter } 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 { KitInputMessageType } from '../kit-input-message/kit-input-message.component';
5
+ import { KitTextboxState } from 'projects/ui-kit/src/lib/components/kit-textbox/kit-textbox.const';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class KitTextboxComponent implements ControlValueAccessor {
7
8
  /**
@@ -36,6 +37,14 @@ export declare class KitTextboxComponent implements ControlValueAccessor {
36
37
  * Defines the maximum length of the textbox value
37
38
  */
38
39
  maxlength?: number;
40
+ /**
41
+ * Defines the state of the textbox
42
+ */
43
+ state: KitTextboxState;
44
+ /**
45
+ * Defines the icon which will be used with the input field
46
+ */
47
+ icon?: KitSvgIcon;
39
48
  /**
40
49
  * An action which is emitted when input field lost focus
41
50
  */
@@ -44,6 +53,7 @@ export declare class KitTextboxComponent implements ControlValueAccessor {
44
53
  * An action which is emitted when input value changed
45
54
  */
46
55
  changed: EventEmitter<string>;
56
+ readonly textboxStateIcon: Record<KitTextboxState, KitSvgIcon>;
47
57
  /**
48
58
  * Function that should be called every time the form control value changes
49
59
  */
@@ -65,5 +75,5 @@ export declare class KitTextboxComponent implements ControlValueAccessor {
65
75
  */
66
76
  onInputChange(value: string): void;
67
77
  static ɵfac: i0.ɵɵFactoryDeclaration<KitTextboxComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxComponent, "kit-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "messageType": { "alias": "messageType"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; }, { "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxComponent, "kit-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "messageType": { "alias": "messageType"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "state": { "alias": "state"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
69
79
  }
@@ -0,0 +1,6 @@
1
+ export declare enum KitTextboxState {
2
+ DEFAULT = "default",
3
+ WARNING = "warning",
4
+ ERROR = "error",
5
+ SUCCESS = "success"
6
+ }
@@ -4,8 +4,9 @@ import * as i2 from "@angular/common";
4
4
  import * as i3 from "@progress/kendo-angular-inputs";
5
5
  import * as i4 from "@progress/kendo-angular-label";
6
6
  import * as i5 from "../kit-input-message/kit-input-message.module";
7
+ import * as i6 from "../kit-svg-icon/kit-svg-icon.module";
7
8
  export declare class KitTextboxModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<KitTextboxModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<KitTextboxModule, [typeof i1.KitTextboxComponent], [typeof i2.CommonModule, typeof i3.TextBoxModule, typeof i4.LabelModule, typeof i5.KitInputMessageModule], [typeof i1.KitTextboxComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KitTextboxModule, [typeof i1.KitTextboxComponent], [typeof i2.CommonModule, typeof i3.TextBoxModule, typeof i4.LabelModule, typeof i5.KitInputMessageModule, typeof i6.KitSvgIconModule], [typeof i1.KitTextboxComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<KitTextboxModule>;
11
12
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.23",
10
+ "version": "1.1.24",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "^17.0.7",
13
13
  "@angular/core": "^17.0.7"
@@ -30,10 +30,12 @@
30
30
 
31
31
  --ui-kit-color-green: #00b0ad;
32
32
  --ui-kit-color-green-1: #39c237;
33
+ --ui-kit-color-green-2: #39c23733;
33
34
 
34
35
  --ui-kit-color-red: #ef3e42;
35
36
  --ui-kit-color-red-20: #f8e0e0;
36
37
  --ui-kit-color-red-1: #f5222d;
38
+ --ui-kit-color-red-2: #f5222d33;
37
39
 
38
40
  --ui-kit-color-cobalt: #006890;
39
41
  --ui-kit-color-cobalt-darkest: #002a3a;
@@ -41,4 +43,5 @@
41
43
  --ui-kit-color-teal: #23afd2;
42
44
 
43
45
  --ui-kit-color-orange: #faad14;
46
+ --ui-kit-color-orange-1: #faad1433;
44
47
  }