@indigina/ui-kit 1.1.49 → 1.1.50

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.
@@ -7,10 +7,6 @@ export declare enum KitDaterangeType {
7
7
  DEFAULT = "default",
8
8
  BUTTON = "button"
9
9
  }
10
- export declare enum KitDaterangeIconPosition {
11
- LEFT = "left",
12
- RIGHT = "right"
13
- }
14
10
  export interface KitDaterangeValue {
15
11
  start: Date | null;
16
12
  end: Date | null;
@@ -62,13 +58,9 @@ export declare class KitDaterangeComponent {
62
58
  */
63
59
  disabled?: boolean;
64
60
  /**
65
- * Defines a state whether the component will be valid or not
66
- */
67
- isValid?: boolean;
68
- /**
69
- * Defines a value which used to set position of the calendar icon
61
+ * Defines a state whether the component will be invalid
70
62
  */
71
- iconPosition: KitDaterangeIconPosition;
63
+ invalid: boolean;
72
64
  /**
73
65
  * Defines an icon which will be used to the left of the info message
74
66
  */
@@ -109,5 +101,5 @@ export declare class KitDaterangeComponent {
109
101
  onBlur(): void;
110
102
  onClose(): void;
111
103
  static ɵfac: i0.ɵɵFactoryDeclaration<KitDaterangeComponent, never>;
112
- static ɵcmp: i0.ɵɵComponentDeclaration<KitDaterangeComponent, "kit-daterange", never, { "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "startLabel": { "alias": "startLabel"; "required": false; }; "endLabel": { "alias": "endLabel"; "required": false; }; "startPlaceholder": { "alias": "startPlaceholder"; "required": false; }; "endPlaceholder": { "alias": "endPlaceholder"; "required": false; }; "format": { "alias": "format"; "required": false; }; "defaultStartDate": { "alias": "defaultStartDate"; "required": false; }; "defaultEndDate": { "alias": "defaultEndDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "startDateControl": { "alias": "startDateControl"; "required": false; }; "endDateControl": { "alias": "endDateControl"; "required": false; }; }, { "startDateChanged": "startDateChanged"; "closed": "closed"; "endDateChanged": "endDateChanged"; }, never, never, false, never>;
104
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitDaterangeComponent, "kit-daterange", never, { "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "startLabel": { "alias": "startLabel"; "required": false; }; "endLabel": { "alias": "endLabel"; "required": false; }; "startPlaceholder": { "alias": "startPlaceholder"; "required": false; }; "endPlaceholder": { "alias": "endPlaceholder"; "required": false; }; "format": { "alias": "format"; "required": false; }; "defaultStartDate": { "alias": "defaultStartDate"; "required": false; }; "defaultEndDate": { "alias": "defaultEndDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "startDateControl": { "alias": "startDateControl"; "required": false; }; "endDateControl": { "alias": "endDateControl"; "required": false; }; }, { "startDateChanged": "startDateChanged"; "closed": "closed"; "endDateChanged": "endDateChanged"; }, never, never, false, never>;
113
105
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.49",
10
+ "version": "1.1.50",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "^17.0.7",
13
13
  "@angular/core": "^17.0.7"
package/public-api.d.ts CHANGED
@@ -46,7 +46,7 @@ export { KitTooltipDirective, KitTooltipPosition } from './lib/directives/kit-to
46
46
  export { KitTooltipModule } from './lib/directives/kit-tooltip/kit-tooltip.module';
47
47
  export { KitToastrModule } from './lib/components/kit-toastr/kit-toastr.module';
48
48
  export { KitToastrService, KitToastrConfig, KitToastrType, KitToastrPosition } from './lib/components/kit-toastr/kit-toastr.service';
49
- export { KitDaterangeComponent, KitDaterangeType, KitDaterangeIconPosition, KitDaterangeValue, } from './lib/components/kit-daterange/kit-daterange.component';
49
+ export { KitDaterangeComponent, KitDaterangeType, KitDaterangeValue } from './lib/components/kit-daterange/kit-daterange.component';
50
50
  export { KitDaterangeModule } from './lib/components/kit-daterange/kit-daterange.module';
51
51
  export { KitCtaPanelItemComponent } from './lib/components/kit-cta-panel-item/kit-cta-panel-item.component';
52
52
  export { KitCtaPanelItemModule } from './lib/components/kit-cta-panel-item/kit-cta-panel-item.module';