@indigina/ui-kit 1.1.30 → 1.1.31

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.
@@ -20,17 +20,13 @@ export declare class KitToggleComponent implements ControlValueAccessor {
20
20
  */
21
21
  defaultChecked: boolean;
22
22
  /**
23
- * Defines whether to display On/Off labels
23
+ * Defines the left label of the toggle
24
24
  */
25
- onOffLabel: boolean;
25
+ leftLabel?: string;
26
26
  /**
27
- * Defines On label of the toggle, default is "On"
27
+ * Defines the right label of the toggle
28
28
  */
29
- onLabel: string;
30
- /**
31
- * Defines Off label of the toggle, default is "Off"
32
- */
33
- offLabel: string;
29
+ rightLabel?: string;
34
30
  /**
35
31
  * Defines an icon which will be used to the left of the info message
36
32
  */
@@ -60,5 +56,5 @@ export declare class KitToggleComponent implements ControlValueAccessor {
60
56
  writeValue(value: boolean): void;
61
57
  setDisabledState(disabled: boolean): void;
62
58
  static ɵfac: i0.ɵɵFactoryDeclaration<KitToggleComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<KitToggleComponent, "kit-toggle", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "defaultChecked": { "alias": "defaultChecked"; "required": false; }; "onOffLabel": { "alias": "onOffLabel"; "required": false; }; "onLabel": { "alias": "onLabel"; "required": false; }; "offLabel": { "alias": "offLabel"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitToggleComponent, "kit-toggle", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "defaultChecked": { "alias": "defaultChecked"; "required": false; }; "leftLabel": { "alias": "leftLabel"; "required": false; }; "rightLabel": { "alias": "rightLabel"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
64
60
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.30",
10
+ "version": "1.1.31",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "^17.0.7",
13
13
  "@angular/core": "^17.0.7"