@indigina/ui-kit 1.0.70 → 1.0.75

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,9 +1,10 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
2
  import { PopupSettings } from '@progress/kendo-angular-dropdowns';
3
3
  import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
4
4
  import { DateTimePickerComponent } from '@progress/kendo-angular-dateinputs';
5
5
  import { ControlValueAccessor } from '@angular/forms';
6
6
  export declare class KitDatetimepickerComponent implements ControlValueAccessor {
7
+ private cdr;
7
8
  /**
8
9
  * Defines a value that is going to be applied as a datetimepicker label
9
10
  */
@@ -60,6 +61,7 @@ export declare class KitDatetimepickerComponent implements ControlValueAccessor
60
61
  * Settings for datetimepicker popup that will be opened
61
62
  */
62
63
  readonly datetimepickerPopupSettings: PopupSettings;
64
+ constructor(cdr: ChangeDetectorRef);
63
65
  /**
64
66
  * Function used to toggle visibility of the datetimepicker popup
65
67
  */
@@ -29,5 +29,7 @@ export declare enum KitSvgIcon {
29
29
  DELIVERED = "delivered",
30
30
  FTL = "ftl",
31
31
  LTL = "ltl",
32
- ORG = "org"
32
+ ORG = "org",
33
+ ARCHIVE = "archive",
34
+ LOGOUT = "logout"
33
35
  }
@@ -0,0 +1,14 @@
1
+ import { OnInit, TemplateRef } from '@angular/core';
2
+ import { TooltipDirective } from '@progress/kendo-angular-tooltip';
3
+ export declare enum KitTooltipPosition {
4
+ TOP = "top",
5
+ BOTTOM = "bottom",
6
+ RIGHT = "right",
7
+ LEFT = "left"
8
+ }
9
+ export declare class KitTooltipDirective extends TooltipDirective implements OnInit {
10
+ kitTooltipPosition: KitTooltipPosition;
11
+ kitTooltipFilter: string;
12
+ kitTooltipTemplateRef?: TemplateRef<HTMLElement>;
13
+ ngOnInit(): void;
14
+ }
@@ -0,0 +1,2 @@
1
+ export declare class KitTooltipModule {
2
+ }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.0.70",
10
+ "version": "1.0.75",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "12.1.5",
13
13
  "@angular/core": "12.1.5"
@@ -28,6 +28,7 @@
28
28
  "@progress/kendo-angular-popup": "4.0.0",
29
29
  "@progress/kendo-angular-progressbar": "2.0.0",
30
30
  "@progress/kendo-angular-treeview": "5.3.1",
31
+ "@progress/kendo-angular-tooltip": "3.0.3",
31
32
  "@progress/kendo-drawing": "1.10.1",
32
33
  "@progress/kendo-licensing": "1.1.4",
33
34
  "@progress/kendo-theme-default": "4.37.0",
package/public-api.d.ts CHANGED
@@ -2,6 +2,7 @@ export { KitButtonComponent } from './lib/components/kit-button/kit-button.compo
2
2
  export { KitButtonModule } from './lib/components/kit-button/kit-button.module';
3
3
  export { KitButtonType, KitButtonKind, KitButtonIconPosition } from './lib/components/kit-button/kit-button.const';
4
4
  export { KitSvgSpriteModule } from './lib/components/kit-svg-sprite/kit-svg-sprite.module';
5
+ export { KitSvgSpriteComponent } from './lib/components/kit-svg-sprite/kit-svg-sprite.component';
5
6
  export { KitSvgIconComponent } from './lib/components/kit-svg-icon/kit-svg-icon.component';
6
7
  export { KitSvgIconModule } from './lib/components/kit-svg-icon/kit-svg-icon.module';
7
8
  export { KitSvgIcon } from './lib/components/kit-svg-icon/kit-svg-icon.const';
@@ -39,3 +40,5 @@ export { KitToggleComponent } from './lib/components/kit-toggle/kit-toggle.compo
39
40
  export { KitToggleModule } from './lib/components/kit-toggle/kit-toggle.module';
40
41
  export { KitPillComponent } from './lib/components/kit-pill/kit-pill.component';
41
42
  export { KitPillModule } from './lib/components/kit-pill/kit-pill.module';
43
+ export { KitTooltipDirective, KitTooltipPosition } from './lib/directives/kit-tooltip/kit-tooltip.directive';
44
+ export { KitTooltipModule } from './lib/directives/kit-tooltip/kit-tooltip.module';
@@ -0,0 +1,11 @@
1
+ @import "../colors";
2
+ @import "../spacings";
3
+
4
+ .k-tooltip-wrapper {
5
+ .k-tooltip {
6
+ background: $color-primary-cobalt-darkest;
7
+ padding: $spacing-24 $spacing-32;
8
+ color: $color-white;
9
+ border-radius: $spacing-12;
10
+ }
11
+ }
@@ -7,6 +7,8 @@
7
7
  @import "~@progress/kendo-theme-default/scss/combobox";
8
8
  @import "~@progress/kendo-theme-default/scss/checkbox";
9
9
  @import "~@progress/kendo-theme-default/scss/switch";
10
+ @import "~@progress/kendo-theme-default/scss/tooltip";
10
11
 
11
12
  /* styles which need to be included by default into app styles */
12
13
  @import "common";
14
+ @import "components/tooltip";