@ngneat/helipopper 4.1.1 → 5.0.1
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/README.md +2 -1
- package/esm2020/lib/defaults.mjs +25 -0
- package/esm2020/lib/tippy.directive.mjs +345 -0
- package/esm2020/lib/tippy.module.mjs +28 -0
- package/esm2020/lib/tippy.service.mjs +73 -0
- package/esm2020/lib/tippy.types.mjs +12 -0
- package/{esm2015/lib/utils.js → esm2020/lib/utils.mjs} +3 -2
- package/{esm2015/ngneat-helipopper.js → esm2020/ngneat-helipopper.mjs} +1 -1
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/fesm2015/{ngneat-helipopper.js → ngneat-helipopper.mjs} +115 -66
- package/fesm2015/ngneat-helipopper.mjs.map +1 -0
- package/fesm2020/ngneat-helipopper.mjs +562 -0
- package/fesm2020/ngneat-helipopper.mjs.map +1 -0
- package/lib/tippy.directive.d.ts +3 -0
- package/lib/tippy.module.d.ts +5 -0
- package/lib/tippy.service.d.ts +3 -0
- package/lib/tippy.types.d.ts +5 -2
- package/ngneat-helipopper.d.ts +1 -1
- package/package.json +23 -11
- package/bundles/ngneat-helipopper.umd.js +0 -897
- package/bundles/ngneat-helipopper.umd.js.map +0 -1
- package/esm2015/lib/defaults.js +0 -19
- package/esm2015/lib/tippy.directive.js +0 -308
- package/esm2015/lib/tippy.module.js +0 -23
- package/esm2015/lib/tippy.service.js +0 -60
- package/esm2015/lib/tippy.types.js +0 -12
- package/fesm2015/ngneat-helipopper.js.map +0 -1
- package/ngneat-helipopper.metadata.json +0 -1
- package/schematics/collection.json +0 -12
- package/schematics/ng-add/index.js +0 -73
- package/schematics/ng-add/index.js.map +0 -1
- package/schematics/ng-add/index.ts +0 -79
- package/schematics/ng-add/schema.js +0 -3
- package/schematics/ng-add/schema.js.map +0 -1
- package/schematics/ng-add/schema.json +0 -18
- package/schematics/ng-add/schema.ts +0 -10
- package/schematics/schematics.consts.js +0 -5
- package/schematics/schematics.consts.js.map +0 -1
- package/schematics/schematics.consts.ts +0 -1
- package/schematics/utils/ast-utils.js +0 -500
- package/schematics/utils/ast-utils.js.map +0 -1
- package/schematics/utils/ast-utils.ts +0 -596
- package/schematics/utils/change.js +0 -127
- package/schematics/utils/change.js.map +0 -1
- package/schematics/utils/change.ts +0 -162
- package/schematics/utils/find-module.js +0 -113
- package/schematics/utils/find-module.js.map +0 -1
- package/schematics/utils/find-module.ts +0 -125
- package/schematics/utils/package.js +0 -22
- package/schematics/utils/package.js.map +0 -1
- package/schematics/utils/package.ts +0 -22
- package/schematics/utils/projects.js +0 -31
- package/schematics/utils/projects.js.map +0 -1
- package/schematics/utils/projects.ts +0 -31
package/lib/tippy.service.d.ts
CHANGED
|
@@ -2,10 +2,13 @@ import { Injector } from '@angular/core';
|
|
|
2
2
|
import { ViewService } from '@ngneat/overview';
|
|
3
3
|
import { Content } from '@ngneat/overview';
|
|
4
4
|
import { CreateOptions, TippyConfig, TippyInstance } from './tippy.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class TippyService {
|
|
6
7
|
private globalConfig;
|
|
7
8
|
private view;
|
|
8
9
|
private injector;
|
|
9
10
|
constructor(globalConfig: TippyConfig, view: ViewService, injector: Injector);
|
|
10
11
|
create(host: Element, content: Content, options?: Partial<CreateOptions>): TippyInstance;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TippyService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TippyService>;
|
|
11
14
|
}
|
package/lib/tippy.types.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ViewOptions } from '@ngneat/overview';
|
|
|
4
4
|
export interface CreateOptions extends Partial<TippyProps>, ViewOptions {
|
|
5
5
|
variation: string;
|
|
6
6
|
className: string | string[];
|
|
7
|
+
data: any;
|
|
7
8
|
}
|
|
8
9
|
export declare type NgChanges<Component extends object, Props = ExcludeFunctions<Component>> = {
|
|
9
10
|
[Key in keyof Props]: {
|
|
@@ -18,8 +19,10 @@ declare type MarkFunctionPropertyNames<Component> = {
|
|
|
18
19
|
}[keyof Component];
|
|
19
20
|
declare type ExcludeFunctions<T extends object> = Pick<T, MarkFunctionPropertyNames<T>>;
|
|
20
21
|
export declare const TIPPY_CONFIG: InjectionToken<Partial<TippyConfig>>;
|
|
21
|
-
export declare const TIPPY_REF: InjectionToken<
|
|
22
|
-
export
|
|
22
|
+
export declare const TIPPY_REF: InjectionToken<TippyInstance>;
|
|
23
|
+
export interface TippyInstance extends Instance {
|
|
24
|
+
data?: any;
|
|
25
|
+
}
|
|
23
26
|
export declare type TippyProps = Props;
|
|
24
27
|
export interface TippyConfig extends TippyProps {
|
|
25
28
|
variations: Record<string, Partial<TippyProps>>;
|
package/ngneat-helipopper.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngneat/helipopper",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "A Powerful Tooltip and Popover for Angular Applications",
|
|
5
|
-
"schematics": "./schematics/collection.json",
|
|
6
5
|
"dependencies": {
|
|
7
|
-
"tippy.js": "
|
|
8
|
-
"tslib": "
|
|
6
|
+
"tippy.js": "6.3.7",
|
|
7
|
+
"tslib": "2.3.1"
|
|
9
8
|
},
|
|
10
9
|
"peerDependencies": {
|
|
11
|
-
"@
|
|
10
|
+
"@angular/core": ">=13.0.0",
|
|
11
|
+
"@ngneat/overview": ">=3.0.0"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"angular",
|
|
@@ -32,12 +32,24 @@
|
|
|
32
32
|
"type": "git",
|
|
33
33
|
"url": "https://github.com/ngneat/helipopper"
|
|
34
34
|
},
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"fesm2015": "fesm2015/ngneat-helipopper.
|
|
35
|
+
"module": "fesm2015/ngneat-helipopper.mjs",
|
|
36
|
+
"es2020": "fesm2020/ngneat-helipopper.mjs",
|
|
37
|
+
"esm2020": "esm2020/ngneat-helipopper.mjs",
|
|
38
|
+
"fesm2020": "fesm2020/ngneat-helipopper.mjs",
|
|
39
|
+
"fesm2015": "fesm2015/ngneat-helipopper.mjs",
|
|
40
40
|
"typings": "ngneat-helipopper.d.ts",
|
|
41
|
-
"
|
|
41
|
+
"exports": {
|
|
42
|
+
"./package.json": {
|
|
43
|
+
"default": "./package.json"
|
|
44
|
+
},
|
|
45
|
+
".": {
|
|
46
|
+
"types": "./ngneat-helipopper.d.ts",
|
|
47
|
+
"esm2020": "./esm2020/ngneat-helipopper.mjs",
|
|
48
|
+
"es2020": "./fesm2020/ngneat-helipopper.mjs",
|
|
49
|
+
"es2015": "./fesm2015/ngneat-helipopper.mjs",
|
|
50
|
+
"node": "./fesm2015/ngneat-helipopper.mjs",
|
|
51
|
+
"default": "./fesm2020/ngneat-helipopper.mjs"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
42
54
|
"sideEffects": false
|
|
43
55
|
}
|