cps-ui-kit 0.116.0 → 0.118.0

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.
@@ -52,7 +52,8 @@ export declare class CpsDatepickerComponent implements ControlValueAccessor, OnI
52
52
  private _dateToString;
53
53
  private _stringToDate;
54
54
  private _checkErrors;
55
- onSelectCalendarDate(dateVal: Date): void;
55
+ onClearCalendarDate(): void;
56
+ onSelectCalendarDate(dateVal: Date | null): void;
56
57
  onInputBlur(): void;
57
58
  onInputEnterClicked(): void;
58
59
  onClickCalendarIcon(): void;
@@ -56,7 +56,7 @@ export declare class CpsMenuComponent implements OnInit, AfterViewInit, OnDestro
56
56
  documentKeydownListener: VoidListener | null;
57
57
  destroyCallback: Nullable<Function>;
58
58
  overlaySubscription: Subscription | undefined;
59
- targetResizeObserver: ResizeObserver;
59
+ resizeObserver: ResizeObserver;
60
60
  itemsClasses: string[];
61
61
  constructor(document: Document, platformId: any, el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, zone: NgZone, config: PrimeNGConfig, overlayService: OverlayService);
62
62
  ngOnInit(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cps-ui-kit",
3
- "version": "0.116.0",
3
+ "version": "0.118.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "15 - 16",
6
6
  "@angular/core": "15 - 16",
@@ -0,0 +1,16 @@
1
+ .cps-tooltip {
2
+ position: absolute;
3
+ top: 0;
4
+ cursor: default;
5
+ font-size: 14px;
6
+ background: #f9f5f6;
7
+ color: var(--cps-color-text-darkest);
8
+ font-family: 'Source Sans Pro', sans-serif;
9
+ border: 1px solid var(--cps-color-calm);
10
+ overflow-wrap: break-word;
11
+ border-radius: 3px;
12
+ padding: 3px;
13
+ transition: opacity 0.2s;
14
+ opacity: 0;
15
+ z-index: 2000;
16
+ }
@@ -1,26 +1,10 @@
1
1
  @import './_bootstrap-grid';
2
2
  @import './_colors.scss';
3
3
  @import './_fonts.scss';
4
+ @import './_cps-tooltip-style.scss';
4
5
 
5
6
  *,
6
7
  *::before,
7
8
  *::after {
8
9
  box-sizing: border-box;
9
10
  }
10
-
11
- .cps-tooltip {
12
- position: absolute;
13
- top: 0;
14
- cursor: default;
15
- font-size: 14px;
16
- background: #f9f5f6;
17
- color: var(--cps-color-text-darkest);
18
- font-family: 'Source Sans Pro', sans-serif;
19
- border: 1px solid var(--cps-color-calm);
20
- overflow-wrap: break-word;
21
- border-radius: 3px;
22
- padding: 3px;
23
- transition: opacity 0.2s;
24
- opacity: 0;
25
- z-index: 1500;
26
- }