@rescui/tooltip 0.2.0 → 0.3.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/lib/index.css +21 -23
- package/lib/index.module.pcss.js +5 -5
- package/package.json +4 -4
package/lib/index.css
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tooltip_jkr5yo_4{
|
|
2
2
|
position:relative;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._closing_jkr5yo_8{
|
|
5
5
|
pointer-events:none;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._content_jkr5yo_12{
|
|
8
8
|
letter-spacing:0.0045em;
|
|
9
|
-
color:rgba(25,25,28,0.7);
|
|
10
|
-
color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
|
|
11
9
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
12
10
|
font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
|
|
13
11
|
font-size:13px;
|
|
@@ -15,10 +13,10 @@
|
|
|
15
13
|
line-height:20px;
|
|
16
14
|
line-height:var(--rs-text-3-line-height, 20px);
|
|
17
15
|
}
|
|
18
|
-
._rs-reset-letter-
|
|
16
|
+
._rs-reset-letter-spacing_jkr5yo_1 ._content_jkr5yo_12{
|
|
19
17
|
letter-spacing:normal;
|
|
20
18
|
}
|
|
21
|
-
.
|
|
19
|
+
._content_jkr5yo_12 {
|
|
22
20
|
|
|
23
21
|
max-width:283px;
|
|
24
22
|
|
|
@@ -39,47 +37,47 @@
|
|
|
39
37
|
-webkit-transform:translate(0, 0);
|
|
40
38
|
transform:translate(0, 0);
|
|
41
39
|
}
|
|
42
|
-
[data-real-placement='top-end'] .
|
|
43
|
-
[data-real-placement='bottom-end'] .
|
|
40
|
+
[data-real-placement='top-end'] ._content_jkr5yo_12,
|
|
41
|
+
[data-real-placement='bottom-end'] ._content_jkr5yo_12{
|
|
44
42
|
margin-right:0;
|
|
45
43
|
}
|
|
46
|
-
[data-real-placement='top-start'] .
|
|
47
|
-
[data-real-placement='bottom-start'] .
|
|
44
|
+
[data-real-placement='top-start'] ._content_jkr5yo_12,
|
|
45
|
+
[data-real-placement='bottom-start'] ._content_jkr5yo_12{
|
|
48
46
|
margin-left:0;
|
|
49
47
|
}
|
|
50
|
-
[data-real-placement='left-end'] .
|
|
51
|
-
[data-real-placement='right-end'] .
|
|
48
|
+
[data-real-placement='left-end'] ._content_jkr5yo_12,
|
|
49
|
+
[data-real-placement='right-end'] ._content_jkr5yo_12{
|
|
52
50
|
margin-bottom:0;
|
|
53
51
|
}
|
|
54
|
-
[data-real-placement='left-start'] .
|
|
55
|
-
[data-real-placement='right-start'] .
|
|
52
|
+
[data-real-placement='left-start'] ._content_jkr5yo_12,
|
|
53
|
+
[data-real-placement='right-start'] ._content_jkr5yo_12{
|
|
56
54
|
margin-top:0;
|
|
57
55
|
}
|
|
58
|
-
.
|
|
56
|
+
._initial_jkr5yo_47 ._content_jkr5yo_12{
|
|
59
57
|
-webkit-transition:none;
|
|
60
58
|
transition:none;
|
|
61
59
|
}
|
|
62
|
-
.
|
|
60
|
+
._closing_jkr5yo_8 ._content_jkr5yo_12{
|
|
63
61
|
-webkit-transition-duration:200ms, 200ms;
|
|
64
62
|
transition-duration:200ms, 200ms;
|
|
65
63
|
}
|
|
66
|
-
.
|
|
67
|
-
.
|
|
64
|
+
._initial_jkr5yo_47 ._content_jkr5yo_12,
|
|
65
|
+
._closing_jkr5yo_8 ._content_jkr5yo_12{
|
|
68
66
|
opacity:0;
|
|
69
67
|
}
|
|
70
|
-
.
|
|
68
|
+
._initial_jkr5yo_47[data-real-placement^='top'] ._content_jkr5yo_12, ._closing_jkr5yo_8[data-real-placement^='top'] ._content_jkr5yo_12{
|
|
71
69
|
-webkit-transform:translate(0, 10px);
|
|
72
70
|
transform:translate(0, 10px);
|
|
73
71
|
}
|
|
74
|
-
.
|
|
72
|
+
._initial_jkr5yo_47[data-real-placement^='right'] ._content_jkr5yo_12, ._closing_jkr5yo_8[data-real-placement^='right'] ._content_jkr5yo_12{
|
|
75
73
|
-webkit-transform:translate(-10px, 0);
|
|
76
74
|
transform:translate(-10px, 0);
|
|
77
75
|
}
|
|
78
|
-
.
|
|
76
|
+
._initial_jkr5yo_47[data-real-placement^='bottom'] ._content_jkr5yo_12, ._closing_jkr5yo_8[data-real-placement^='bottom'] ._content_jkr5yo_12{
|
|
79
77
|
-webkit-transform:translate(0, -10px);
|
|
80
78
|
transform:translate(0, -10px);
|
|
81
79
|
}
|
|
82
|
-
.
|
|
80
|
+
._initial_jkr5yo_47[data-real-placement^='left'] ._content_jkr5yo_12, ._closing_jkr5yo_8[data-real-placement^='left'] ._content_jkr5yo_12{
|
|
83
81
|
-webkit-transform:translate(10px, 0);
|
|
84
82
|
transform:translate(10px, 0);
|
|
85
83
|
}
|
package/lib/index.module.pcss.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"tooltip": "
|
|
3
|
-
"closing": "
|
|
4
|
-
"content": "
|
|
5
|
-
"rs-reset-letter-spacing": "_rs-reset-letter-
|
|
6
|
-
"initial": "
|
|
2
|
+
"tooltip": "_tooltip_jkr5yo_4",
|
|
3
|
+
"closing": "_closing_jkr5yo_8",
|
|
4
|
+
"content": "_content_jkr5yo_12",
|
|
5
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_jkr5yo_1",
|
|
6
|
+
"initial": "_initial_jkr5yo_47"
|
|
7
7
|
};
|
|
8
8
|
export default styles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/tooltip",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0 <18"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@rescui/colors": "^0.0
|
|
30
|
+
"@rescui/colors": "^0.1.0",
|
|
31
31
|
"@rescui/scripts": "^0.1.4",
|
|
32
|
-
"@rescui/typography": "^0.
|
|
32
|
+
"@rescui/typography": "^0.6.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "rescui-scripts build"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "91cb43cee6ffc54aae5360a73437d97c3f4ed36d"
|
|
38
38
|
}
|