@rescui/tooltip 0.7.0 → 0.7.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/lib/index.css +23 -23
- package/lib/index.p.module.css.js +6 -6
- package/package.json +4 -4
package/lib/index.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tooltip_1j82ezx_4{
|
|
2
2
|
position:relative;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._closing_1j82ezx_8{
|
|
5
5
|
pointer-events:none;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._content_1j82ezx_12{
|
|
8
8
|
letter-spacing:0.0045em;
|
|
9
9
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
10
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));
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
line-height:20px;
|
|
16
16
|
line-height:var(--rs-text-3-line-height, 20px);
|
|
17
17
|
}
|
|
18
|
-
._rs-reset-letter-
|
|
18
|
+
._rs-reset-letter-spacing_1j82ezx_1 ._content_1j82ezx_12{
|
|
19
19
|
letter-spacing:normal;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
._content_1j82ezx_12 {
|
|
22
22
|
|
|
23
23
|
max-width:283px;
|
|
24
24
|
|
|
@@ -39,52 +39,52 @@
|
|
|
39
39
|
-webkit-transform:translate(0, 0);
|
|
40
40
|
transform:translate(0, 0);
|
|
41
41
|
}
|
|
42
|
-
[data-real-placement='top-end'] .
|
|
43
|
-
[data-real-placement='bottom-end'] .
|
|
42
|
+
[data-real-placement='top-end'] ._content_1j82ezx_12,
|
|
43
|
+
[data-real-placement='bottom-end'] ._content_1j82ezx_12{
|
|
44
44
|
margin-right:0;
|
|
45
45
|
}
|
|
46
|
-
[data-real-placement='top-start'] .
|
|
47
|
-
[data-real-placement='bottom-start'] .
|
|
46
|
+
[data-real-placement='top-start'] ._content_1j82ezx_12,
|
|
47
|
+
[data-real-placement='bottom-start'] ._content_1j82ezx_12{
|
|
48
48
|
margin-left:0;
|
|
49
49
|
}
|
|
50
|
-
[data-real-placement='left-end'] .
|
|
51
|
-
[data-real-placement='right-end'] .
|
|
50
|
+
[data-real-placement='left-end'] ._content_1j82ezx_12,
|
|
51
|
+
[data-real-placement='right-end'] ._content_1j82ezx_12{
|
|
52
52
|
margin-bottom:0;
|
|
53
53
|
}
|
|
54
|
-
[data-real-placement='left-start'] .
|
|
55
|
-
[data-real-placement='right-start'] .
|
|
54
|
+
[data-real-placement='left-start'] ._content_1j82ezx_12,
|
|
55
|
+
[data-real-placement='right-start'] ._content_1j82ezx_12{
|
|
56
56
|
margin-top:0;
|
|
57
57
|
}
|
|
58
|
-
.
|
|
58
|
+
._initial_1j82ezx_47 ._content_1j82ezx_12{
|
|
59
59
|
-webkit-transition:none;
|
|
60
60
|
transition:none;
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
._closing_1j82ezx_8 ._content_1j82ezx_12{
|
|
63
63
|
-webkit-transition-duration:200ms, 200ms;
|
|
64
64
|
transition-duration:200ms, 200ms;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
67
|
-
.
|
|
66
|
+
._initial_1j82ezx_47 ._content_1j82ezx_12,
|
|
67
|
+
._closing_1j82ezx_8 ._content_1j82ezx_12{
|
|
68
68
|
opacity:0;
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
._initial_1j82ezx_47[data-real-placement^='top'] ._content_1j82ezx_12, ._closing_1j82ezx_8[data-real-placement^='top'] ._content_1j82ezx_12{
|
|
71
71
|
-webkit-transform:translate(0, 10px);
|
|
72
72
|
transform:translate(0, 10px);
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
._initial_1j82ezx_47[data-real-placement^='right'] ._content_1j82ezx_12, ._closing_1j82ezx_8[data-real-placement^='right'] ._content_1j82ezx_12{
|
|
75
75
|
-webkit-transform:translate(-10px, 0);
|
|
76
76
|
transform:translate(-10px, 0);
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
._initial_1j82ezx_47[data-real-placement^='bottom'] ._content_1j82ezx_12, ._closing_1j82ezx_8[data-real-placement^='bottom'] ._content_1j82ezx_12{
|
|
79
79
|
-webkit-transform:translate(0, -10px);
|
|
80
80
|
transform:translate(0, -10px);
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
._initial_1j82ezx_47[data-real-placement^='left'] ._content_1j82ezx_12, ._closing_1j82ezx_8[data-real-placement^='left'] ._content_1j82ezx_12{
|
|
83
83
|
-webkit-transform:translate(10px, 0);
|
|
84
84
|
transform:translate(10px, 0);
|
|
85
85
|
}
|
|
86
|
-
.
|
|
87
|
-
.
|
|
86
|
+
._trigger_1j82ezx_81:focus-visible,
|
|
87
|
+
._trigger_1j82ezx_81:focus[data-focus-method='key']{
|
|
88
88
|
outline:none;
|
|
89
89
|
-webkit-box-shadow:rgba(107, 87, 255, 0.8) 0 0 0 4px;
|
|
90
90
|
-webkit-box-shadow:var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8)) 0 0 0 4px;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"tooltip": "
|
|
3
|
-
"closing": "
|
|
4
|
-
"content": "
|
|
5
|
-
"rs-reset-letter-spacing": "_rs-reset-letter-
|
|
6
|
-
"initial": "
|
|
7
|
-
"trigger": "
|
|
2
|
+
"tooltip": "_tooltip_1j82ezx_4",
|
|
3
|
+
"closing": "_closing_1j82ezx_8",
|
|
4
|
+
"content": "_content_1j82ezx_12",
|
|
5
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_1j82ezx_1",
|
|
6
|
+
"initial": "_initial_1j82ezx_47",
|
|
7
|
+
"trigger": "_trigger_1j82ezx_81"
|
|
8
8
|
};
|
|
9
9
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/tooltip",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"react-dom": ">=16.8.0 <19"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@rescui/colors": "^0.1.
|
|
31
|
+
"@rescui/colors": "^0.1.10",
|
|
32
32
|
"@rescui/scripts": "^0.2.2",
|
|
33
|
-
"@rescui/typography": "^0.
|
|
33
|
+
"@rescui/typography": "^0.13.0",
|
|
34
34
|
"@types/react-is": "^17.0.3"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "rescui-scripts build"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "498f4f71458e1323b14f9182713a7bf213e4333a"
|
|
40
40
|
}
|