@exmg/exm-tooltip 1.0.0 → 1.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 +1 -1
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/package.json +2 -2
- package/src/exm-tooltip-base.d.ts +1 -1
- package/src/exm-tooltip-base.js +8 -8
- package/src/exm-tooltip.d.ts +3 -3
- package/src/exm-tooltip.js +6 -6
package/README.md
CHANGED
|
@@ -64,6 +64,6 @@ _None_
|
|
|
64
64
|
|
|
65
65
|
## Additional references
|
|
66
66
|
|
|
67
|
-
- [Additional Documentation](https://exmg.github.io/exmachina-web-components/
|
|
67
|
+
- [Additional Documentation](https://exmg.github.io/exmachina-web-components/ExmTooltip.html)
|
|
68
68
|
|
|
69
69
|
- [Demo](https://exmg.github.io/exmachina-web-components/demo/?el=exm-tooltip)
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { ExmTooltip } from './src/exm-tooltip.js';
|
|
2
|
+
export { ExmTooltipBase } from './src/exm-tooltip-base.js';
|
|
3
3
|
export { style as tooltipStyles } from './src/styles/exm-tooltip-styles-css.js';
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { ExmTooltip } from './src/exm-tooltip.js';
|
|
2
|
+
export { ExmTooltipBase } from './src/exm-tooltip-base.js';
|
|
3
3
|
export { style as tooltipStyles } from './src/styles/exm-tooltip-styles-css.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exmg/exm-tooltip",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "8e971cbad07fa6fab5a95aefd915937b752d2204"
|
|
43
43
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExmgElement } from '@exmg/lit-base/index.js';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class ExmTooltipBase extends ExmgElement {
|
|
3
3
|
/**
|
|
4
4
|
* The id of the element that the tooltip is anchored to. This element
|
|
5
5
|
* must be a sibling of the tooltip.
|
package/src/exm-tooltip-base.js
CHANGED
|
@@ -4,7 +4,7 @@ import { property } from 'lit/decorators/property.js';
|
|
|
4
4
|
import { state } from 'lit/decorators.js';
|
|
5
5
|
import { query } from 'lit/decorators/query.js';
|
|
6
6
|
import { ExmgElement, observer } from '@exmg/lit-base/index.js';
|
|
7
|
-
export class
|
|
7
|
+
export class ExmTooltipBase extends ExmgElement {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments);
|
|
10
10
|
/**
|
|
@@ -194,23 +194,23 @@ __decorate([
|
|
|
194
194
|
observer(function () {
|
|
195
195
|
this._findTarget();
|
|
196
196
|
})
|
|
197
|
-
],
|
|
197
|
+
], ExmTooltipBase.prototype, "for", void 0);
|
|
198
198
|
__decorate([
|
|
199
199
|
property({ type: String })
|
|
200
|
-
],
|
|
200
|
+
], ExmTooltipBase.prototype, "position", void 0);
|
|
201
201
|
__decorate([
|
|
202
202
|
property({ type: Boolean })
|
|
203
|
-
],
|
|
203
|
+
], ExmTooltipBase.prototype, "fitToVisibleBounds", void 0);
|
|
204
204
|
__decorate([
|
|
205
205
|
property({ type: Number })
|
|
206
|
-
],
|
|
206
|
+
], ExmTooltipBase.prototype, "xOffset", void 0);
|
|
207
207
|
__decorate([
|
|
208
208
|
property({ type: Number })
|
|
209
|
-
],
|
|
209
|
+
], ExmTooltipBase.prototype, "yOffset", void 0);
|
|
210
210
|
__decorate([
|
|
211
211
|
state()
|
|
212
|
-
],
|
|
212
|
+
], ExmTooltipBase.prototype, "_showing", void 0);
|
|
213
213
|
__decorate([
|
|
214
214
|
query('#tooltip')
|
|
215
|
-
],
|
|
215
|
+
], ExmTooltipBase.prototype, "tooltip", void 0);
|
|
216
216
|
//# sourceMappingURL=exm-tooltip-base.js.map
|
package/src/exm-tooltip.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExmTooltipBase } from './exm-tooltip-base.js';
|
|
2
2
|
/**
|
|
3
3
|
* `exm-tooltip`
|
|
4
4
|
* Example:
|
|
@@ -23,11 +23,11 @@ import { ExmgTooltipBase } from './exm-tooltip-base.js';
|
|
|
23
23
|
* `--exm-tooltip-border-radius` | Container border radius | 2px
|
|
24
24
|
* `--exm-tooltip-min-width` | Breadcrumb container background color | initial
|
|
25
25
|
*/
|
|
26
|
-
export declare class
|
|
26
|
+
export declare class ExmTooltip extends ExmTooltipBase {
|
|
27
27
|
static styles: import("lit").CSSResult;
|
|
28
28
|
}
|
|
29
29
|
declare global {
|
|
30
30
|
interface HTMLElementTagNameMap {
|
|
31
|
-
'exm-tooltip':
|
|
31
|
+
'exm-tooltip': ExmTooltip;
|
|
32
32
|
}
|
|
33
33
|
}
|
package/src/exm-tooltip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { customElement } from 'lit/decorators/custom-element.js';
|
|
3
3
|
import { style } from './styles/exm-tooltip-styles-css.js';
|
|
4
|
-
import {
|
|
4
|
+
import { ExmTooltipBase } from './exm-tooltip-base.js';
|
|
5
5
|
/**
|
|
6
6
|
* `exm-tooltip`
|
|
7
7
|
* Example:
|
|
@@ -26,11 +26,11 @@ import { ExmgTooltipBase } from './exm-tooltip-base.js';
|
|
|
26
26
|
* `--exm-tooltip-border-radius` | Container border radius | 2px
|
|
27
27
|
* `--exm-tooltip-min-width` | Breadcrumb container background color | initial
|
|
28
28
|
*/
|
|
29
|
-
let
|
|
29
|
+
let ExmTooltip = class ExmTooltip extends ExmTooltipBase {
|
|
30
30
|
};
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ExmTooltip.styles = style;
|
|
32
|
+
ExmTooltip = __decorate([
|
|
33
33
|
customElement('exm-tooltip')
|
|
34
|
-
],
|
|
35
|
-
export {
|
|
34
|
+
], ExmTooltip);
|
|
35
|
+
export { ExmTooltip };
|
|
36
36
|
//# sourceMappingURL=exm-tooltip.js.map
|