@exmg/exm-tooltip 1.0.2 → 1.0.4-alpha.12
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/dist/index.d.ts +3 -0
- package/dist/index.js +4 -0
- package/{src → dist}/styles/exm-tooltip-styles-css.d.ts +0 -1
- package/dist/styles/exm-tooltip-styles-css.js +33 -0
- package/package.json +9 -11
- package/index.d.ts +0 -3
- package/index.js +0 -4
- package/src/styles/exm-tooltip-styles-css.js +0 -4
- package/src/styles/exm-tooltip-styles.scss +0 -29
- /package/{src → dist}/exm-tooltip-base.d.ts +0 -0
- /package/{src → dist}/exm-tooltip-base.js +0 -0
- /package/{src → dist}/exm-tooltip.d.ts +0 -0
- /package/{src → dist}/exm-tooltip.js +0 -0
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const style = css `
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
position: absolute;
|
|
6
|
+
outline: none;
|
|
7
|
+
z-index: var(--exm-tooltip-z-index, 1002);
|
|
8
|
+
-moz-user-select: none;
|
|
9
|
+
-ms-user-select: none;
|
|
10
|
+
-webkit-user-select: none;
|
|
11
|
+
user-select: none;
|
|
12
|
+
cursor: default;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
#tooltip {
|
|
16
|
+
display: block;
|
|
17
|
+
outline: none;
|
|
18
|
+
font-size: var(--exm-tooltip-font-size, 12px);
|
|
19
|
+
line-height: var(--exm-tooltip-line-height, 14px);
|
|
20
|
+
background-color: var(--exm-tooltip-background-color, var(--md-sys-color-inverse-surface, #333));
|
|
21
|
+
color: var(--exm-tooltip-color, var(--md-sys-color-inverse-on-surface, white));
|
|
22
|
+
padding: var(--exm-tooltip-padding, 8px);
|
|
23
|
+
border-radius: var(--exm-tooltip-border-radius, 2px);
|
|
24
|
+
min-width: var(--exm-tooltip-min-width, initial);
|
|
25
|
+
transition: opacity 0.5s;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
#tooltip.hidden {
|
|
29
|
+
opacity: 0;
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
33
|
+
//# sourceMappingURL=exm-tooltip-styles-css.js.map
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exmg/exm-tooltip",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4-alpha.12+33e1367",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"module": "index.js",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
7
|
"exports": {
|
|
8
|
-
".": "./index.js",
|
|
9
|
-
"./exm-tooltip.js": "./
|
|
8
|
+
".": "./dist/index.js",
|
|
9
|
+
"./exm-tooltip.js": "./dist/exm-tooltip.js"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@exmg/lit-base": "^3.0.0",
|
|
@@ -23,21 +23,19 @@
|
|
|
23
23
|
"lit-element",
|
|
24
24
|
"tooltip"
|
|
25
25
|
],
|
|
26
|
-
"homepage": "https://
|
|
26
|
+
"homepage": "https://bitbucket.org/exmachina/exm-web-components",
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
29
|
-
"url": "git@
|
|
29
|
+
"url": "git@bitbucket.org:exmachina/exm-web-components.git",
|
|
30
30
|
"directory": "packages/exm-tooltip"
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@exmg/lit-cli": "1.1.13"
|
|
35
35
|
},
|
|
36
|
-
"scripts": {
|
|
37
|
-
"build:styles": "exmg-lit-cli sass -f \"./**/*.scss\""
|
|
38
|
-
},
|
|
36
|
+
"scripts": {},
|
|
39
37
|
"publishConfig": {
|
|
40
38
|
"access": "public"
|
|
41
39
|
},
|
|
42
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "33e1367329dfae6f98f21c981edb7ada370fc0d5"
|
|
43
41
|
}
|
package/index.d.ts
DELETED
package/index.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
export const style = css `:host{display:block;position:absolute;outline:none;z-index:var(--exm-tooltip-z-index, 1002);-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none;cursor:default}#tooltip{display:block;outline:none;font-size:var(--exm-tooltip-font-size, 12px);line-height:var(--exm-tooltip-line-height, 14px);background-color:var(--exm-tooltip-background-color, var(--md-sys-color-inverse-surface, #333));color:var(--exm-tooltip-color, var(--md-sys-color-inverse-on-surface, white));padding:var(--exm-tooltip-padding, 8px);border-radius:var(--exm-tooltip-border-radius, 2px);min-width:var(--exm-tooltip-min-width, initial);transition:opacity .5s}#tooltip.hidden{opacity:0;display:none}`;
|
|
3
|
-
export default style;
|
|
4
|
-
//# sourceMappingURL=exm-tooltip-styles-css.js.map
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: block;
|
|
3
|
-
position: absolute;
|
|
4
|
-
outline: none;
|
|
5
|
-
z-index: var(--exm-tooltip-z-index, 1002);
|
|
6
|
-
-moz-user-select: none;
|
|
7
|
-
-ms-user-select: none;
|
|
8
|
-
-webkit-user-select: none;
|
|
9
|
-
user-select: none;
|
|
10
|
-
cursor: default;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
#tooltip {
|
|
14
|
-
display: block;
|
|
15
|
-
outline: none;
|
|
16
|
-
font-size: var(--exm-tooltip-font-size, 12px);
|
|
17
|
-
line-height: var(--exm-tooltip-line-height, 14px);
|
|
18
|
-
background-color: var(--exm-tooltip-background-color, var(--md-sys-color-inverse-surface, #333));
|
|
19
|
-
color: var(--exm-tooltip-color, var(--md-sys-color-inverse-on-surface, white));
|
|
20
|
-
padding: var(--exm-tooltip-padding, 8px);
|
|
21
|
-
border-radius: var(--exm-tooltip-border-radius, 2px);
|
|
22
|
-
min-width: var(--exm-tooltip-min-width, initial);
|
|
23
|
-
transition: opacity 0.5s;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
#tooltip.hidden {
|
|
27
|
-
opacity: 0;
|
|
28
|
-
display: none;
|
|
29
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|