@dotglitch/ngx-common 1.0.2 → 1.0.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dotglitch/ngx-common",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.5",
5
5
  "repository": {
6
6
  "url": "https://github.com/knackstedt/dotglitch-ngx/tree/main/packages/common"
7
7
  },
@@ -24,15 +24,7 @@
24
24
  "@angular/common": ">=15.0.0",
25
25
  "@angular/core": ">=15.0.0",
26
26
  "@angular/cdk": ">=15.0.0",
27
- "@angular/material": ">=15.0.0",
28
- "react": ">=18.0.0",
29
- "react-dom": ">=18.0.0",
30
- "reactflow": ">=11.0.0"
31
- },
32
- "peerDependenciesMeta": {
33
- "winston": {
34
- "optional": true
35
- }
27
+ "@angular/material": ">=15.0.0"
36
28
  },
37
29
  "dependencies": {
38
30
  "tslib": "^2.3.0"
package/public-api.d.ts CHANGED
@@ -1,3 +1,8 @@
1
+ /**
2
+ ** Types
3
+ */
4
+ export * from './types/menu';
5
+ export * from './types/popup';
1
6
  /**
2
7
  ** Directives
3
8
  */
@@ -0,0 +1,15 @@
1
+ import { PopupOptions } from './popup';
2
+ export type TooltipOptions = Partial<PopupOptions & {
3
+ /**
4
+ * Duration in ms for how long the mouse
5
+ * needs to be over the element before the
6
+ * tooltip will be visible
7
+ * Default `250`
8
+ */
9
+ delay: number;
10
+ /**
11
+ * A key the user can press to keep a tooltip visible.
12
+ * Default `F2`
13
+ */
14
+ freezeOnKeyCode: string;
15
+ }>;