@ifsworld/granite-components 6.2.1 → 7.0.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.
- package/esm2020/lib/button/button.component.mjs +6 -8
- package/esm2020/tooltip/ifsworld-granite-components-tooltip.mjs +5 -0
- package/esm2020/tooltip/index.mjs +4 -0
- package/esm2020/tooltip/lib/tooltip-constants.library.mjs +4 -0
- package/esm2020/tooltip/lib/tooltip-trigger-for.directive.mjs +134 -0
- package/esm2020/tooltip/lib/tooltip.component.mjs +14 -0
- package/esm2020/tooltip/lib/tooltip.module.mjs +19 -0
- package/fesm2015/ifsworld-granite-components-tooltip.mjs +169 -0
- package/fesm2015/ifsworld-granite-components-tooltip.mjs.map +1 -0
- package/fesm2015/ifsworld-granite-components.mjs +5 -7
- package/fesm2015/ifsworld-granite-components.mjs.map +1 -1
- package/fesm2020/ifsworld-granite-components-tooltip.mjs +169 -0
- package/fesm2020/ifsworld-granite-components-tooltip.mjs.map +1 -0
- package/fesm2020/ifsworld-granite-components.mjs +5 -7
- package/fesm2020/ifsworld-granite-components.mjs.map +1 -1
- package/package.json +9 -1
- package/tooltip/README.md +3 -0
- package/tooltip/ifsworld-granite-components-tooltip.d.ts +5 -0
- package/tooltip/index.d.ts +3 -0
- package/tooltip/lib/tooltip-constants.library.d.ts +3 -0
- package/tooltip/lib/tooltip-trigger-for.directive.d.ts +34 -0
- package/tooltip/lib/tooltip.component.d.ts +7 -0
- package/tooltip/lib/tooltip.module.d.ts +9 -0
- package/tooltip/package.json +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ifsworld/granite-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": ">=13.0.0",
|
|
6
6
|
"@angular/common": ">=13.0.0",
|
|
@@ -45,6 +45,14 @@
|
|
|
45
45
|
"es2015": "./fesm2015/ifsworld-granite-components-table.mjs",
|
|
46
46
|
"node": "./fesm2015/ifsworld-granite-components-table.mjs",
|
|
47
47
|
"default": "./fesm2020/ifsworld-granite-components-table.mjs"
|
|
48
|
+
},
|
|
49
|
+
"./tooltip": {
|
|
50
|
+
"types": "./tooltip/ifsworld-granite-components-tooltip.d.ts",
|
|
51
|
+
"esm2020": "./esm2020/tooltip/ifsworld-granite-components-tooltip.mjs",
|
|
52
|
+
"es2020": "./fesm2020/ifsworld-granite-components-tooltip.mjs",
|
|
53
|
+
"es2015": "./fesm2015/ifsworld-granite-components-tooltip.mjs",
|
|
54
|
+
"node": "./fesm2015/ifsworld-granite-components-tooltip.mjs",
|
|
55
|
+
"default": "./fesm2020/ifsworld-granite-components-tooltip.mjs"
|
|
48
56
|
}
|
|
49
57
|
},
|
|
50
58
|
"sideEffects": false
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
3
|
+
import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
4
|
+
import { GraniteTooltipComponent } from './tooltip.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GraniteTooltipTriggerForDirective implements OnDestroy, OnInit, OnChanges {
|
|
7
|
+
private _elementRef;
|
|
8
|
+
private _overlay;
|
|
9
|
+
private _viewContainerRef;
|
|
10
|
+
private _focusMonitor;
|
|
11
|
+
tooltip: GraniteTooltipComponent;
|
|
12
|
+
hideDelay: number;
|
|
13
|
+
showDelay: number;
|
|
14
|
+
showOnKeyboardFocus: boolean;
|
|
15
|
+
showOnClick: boolean;
|
|
16
|
+
private _overlayRef;
|
|
17
|
+
private _destroy;
|
|
18
|
+
private _detachOverlayTimeoutId;
|
|
19
|
+
private _attachOverlayTimeoutId;
|
|
20
|
+
constructor(_elementRef: ElementRef, _overlay: Overlay, _viewContainerRef: ViewContainerRef, _focusMonitor: FocusMonitor);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
_handleMouseenter(): void;
|
|
25
|
+
_handleMouseleave(): void;
|
|
26
|
+
private _handleClick;
|
|
27
|
+
private _handleKeyboardFocus;
|
|
28
|
+
private _createOverlay;
|
|
29
|
+
private _attachOverlay;
|
|
30
|
+
private _detachOverlay;
|
|
31
|
+
private _getTriggerElement;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTooltipTriggerForDirective, never>;
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteTooltipTriggerForDirective, "[graniteTooltipTriggerFor]", never, { "tooltip": "graniteTooltipTriggerFor"; "hideDelay": "hideDelay"; "showDelay": "showDelay"; "showOnKeyboardFocus": "showOnKeyboardFocus"; "showOnClick": "showOnClick"; }, {}, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GraniteTooltipComponent {
|
|
4
|
+
_templateRef: TemplateRef<any>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTooltipComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteTooltipComponent, "granite-tooltip", never, {}, {}, never, ["*"]>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tooltip.component";
|
|
3
|
+
import * as i2 from "./tooltip-trigger-for.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class GraniteTooltipModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTooltipModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteTooltipModule, [typeof i1.GraniteTooltipComponent, typeof i2.GraniteTooltipTriggerForDirective], [typeof i3.CommonModule], [typeof i1.GraniteTooltipComponent, typeof i2.GraniteTooltipTriggerForDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GraniteTooltipModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": "../fesm2015/ifsworld-granite-components-tooltip.mjs",
|
|
3
|
+
"es2020": "../fesm2020/ifsworld-granite-components-tooltip.mjs",
|
|
4
|
+
"esm2020": "../esm2020/tooltip/ifsworld-granite-components-tooltip.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/ifsworld-granite-components-tooltip.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/ifsworld-granite-components-tooltip.mjs",
|
|
7
|
+
"typings": "ifsworld-granite-components-tooltip.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@ifsworld/granite-components/tooltip"
|
|
10
|
+
}
|