@rescui/tooltip 0.1.1 → 0.2.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 CHANGED
@@ -1,20 +1,24 @@
1
- ._tooltip_1imusgg_4{
1
+ ._tooltip_oa3ue2_4{
2
2
  position:relative;
3
3
  }
4
- ._closing_1imusgg_8{
4
+ ._closing_oa3ue2_8{
5
5
  pointer-events:none;
6
6
  }
7
- ._content_1imusgg_12{
8
- letter-spacing:normal;
7
+ ._content_oa3ue2_12{
8
+ letter-spacing:0.0045em;
9
9
  color:rgba(25,25,28,0.7);
10
10
  color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
11
- font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
12
- font-family:var(--rs-font-family-inter, Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif);
11
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
12
+ 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
13
  font-size:13px;
14
14
  font-size:var(--rs-text-3-font-size, 13px);
15
- font-weight:400;
16
15
  line-height:20px;
17
16
  line-height:var(--rs-text-3-line-height, 20px);
17
+ }
18
+ ._rs-reset-letter-spacing_oa3ue2_1 ._content_oa3ue2_12{
19
+ letter-spacing:normal;
20
+ }
21
+ ._content_oa3ue2_12 {
18
22
 
19
23
  max-width:283px;
20
24
 
@@ -35,47 +39,47 @@
35
39
  -webkit-transform:translate(0, 0);
36
40
  transform:translate(0, 0);
37
41
  }
38
- [data-real-placement='top-end'] ._content_1imusgg_12,
39
- [data-real-placement='bottom-end'] ._content_1imusgg_12{
42
+ [data-real-placement='top-end'] ._content_oa3ue2_12,
43
+ [data-real-placement='bottom-end'] ._content_oa3ue2_12{
40
44
  margin-right:0;
41
45
  }
42
- [data-real-placement='top-start'] ._content_1imusgg_12,
43
- [data-real-placement='bottom-start'] ._content_1imusgg_12{
46
+ [data-real-placement='top-start'] ._content_oa3ue2_12,
47
+ [data-real-placement='bottom-start'] ._content_oa3ue2_12{
44
48
  margin-left:0;
45
49
  }
46
- [data-real-placement='left-end'] ._content_1imusgg_12,
47
- [data-real-placement='right-end'] ._content_1imusgg_12{
50
+ [data-real-placement='left-end'] ._content_oa3ue2_12,
51
+ [data-real-placement='right-end'] ._content_oa3ue2_12{
48
52
  margin-bottom:0;
49
53
  }
50
- [data-real-placement='left-start'] ._content_1imusgg_12,
51
- [data-real-placement='right-start'] ._content_1imusgg_12{
54
+ [data-real-placement='left-start'] ._content_oa3ue2_12,
55
+ [data-real-placement='right-start'] ._content_oa3ue2_12{
52
56
  margin-top:0;
53
57
  }
54
- ._initial_1imusgg_47 ._content_1imusgg_12{
58
+ ._initial_oa3ue2_47 ._content_oa3ue2_12{
55
59
  -webkit-transition:none;
56
60
  transition:none;
57
61
  }
58
- ._closing_1imusgg_8 ._content_1imusgg_12{
62
+ ._closing_oa3ue2_8 ._content_oa3ue2_12{
59
63
  -webkit-transition-duration:200ms, 200ms;
60
64
  transition-duration:200ms, 200ms;
61
65
  }
62
- ._initial_1imusgg_47 ._content_1imusgg_12,
63
- ._closing_1imusgg_8 ._content_1imusgg_12{
66
+ ._initial_oa3ue2_47 ._content_oa3ue2_12,
67
+ ._closing_oa3ue2_8 ._content_oa3ue2_12{
64
68
  opacity:0;
65
69
  }
66
- ._initial_1imusgg_47[data-real-placement^='top'] ._content_1imusgg_12, ._closing_1imusgg_8[data-real-placement^='top'] ._content_1imusgg_12{
70
+ ._initial_oa3ue2_47[data-real-placement^='top'] ._content_oa3ue2_12, ._closing_oa3ue2_8[data-real-placement^='top'] ._content_oa3ue2_12{
67
71
  -webkit-transform:translate(0, 10px);
68
72
  transform:translate(0, 10px);
69
73
  }
70
- ._initial_1imusgg_47[data-real-placement^='right'] ._content_1imusgg_12, ._closing_1imusgg_8[data-real-placement^='right'] ._content_1imusgg_12{
74
+ ._initial_oa3ue2_47[data-real-placement^='right'] ._content_oa3ue2_12, ._closing_oa3ue2_8[data-real-placement^='right'] ._content_oa3ue2_12{
71
75
  -webkit-transform:translate(-10px, 0);
72
76
  transform:translate(-10px, 0);
73
77
  }
74
- ._initial_1imusgg_47[data-real-placement^='bottom'] ._content_1imusgg_12, ._closing_1imusgg_8[data-real-placement^='bottom'] ._content_1imusgg_12{
78
+ ._initial_oa3ue2_47[data-real-placement^='bottom'] ._content_oa3ue2_12, ._closing_oa3ue2_8[data-real-placement^='bottom'] ._content_oa3ue2_12{
75
79
  -webkit-transform:translate(0, -10px);
76
80
  transform:translate(0, -10px);
77
81
  }
78
- ._initial_1imusgg_47[data-real-placement^='left'] ._content_1imusgg_12, ._closing_1imusgg_8[data-real-placement^='left'] ._content_1imusgg_12{
82
+ ._initial_oa3ue2_47[data-real-placement^='left'] ._content_oa3ue2_12, ._closing_oa3ue2_8[data-real-placement^='left'] ._content_oa3ue2_12{
79
83
  -webkit-transform:translate(10px, 0);
80
84
  transform:translate(10px, 0);
81
85
  }
@@ -1,7 +1,8 @@
1
1
  var styles = {
2
- "tooltip": "_tooltip_1imusgg_4",
3
- "closing": "_closing_1imusgg_8",
4
- "content": "_content_1imusgg_12",
5
- "initial": "_initial_1imusgg_47"
2
+ "tooltip": "_tooltip_oa3ue2_4",
3
+ "closing": "_closing_oa3ue2_8",
4
+ "content": "_content_oa3ue2_12",
5
+ "rs-reset-letter-spacing": "_rs-reset-letter-spacing_oa3ue2_1",
6
+ "initial": "_initial_oa3ue2_47"
6
7
  };
7
8
  export default styles;
@@ -51,7 +51,8 @@ function useTooltipState(isOpen) {
51
51
  return function () {
52
52
  clearTimeout(timeoutId);
53
53
  };
54
- }
54
+ } // eslint-disable-next-line @typescript-eslint/no-empty-function
55
+
55
56
 
56
57
  return function () {};
57
58
  }, [transitionDuration, isOpen]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/tooltip",
3
- "version": "0.1.1",
3
+ "version": "0.2.1",
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.4",
31
- "@rescui/scripts": "^0.1.2",
32
- "@rescui/typography": "^0.2.1"
30
+ "@rescui/colors": "^0.0.6",
31
+ "@rescui/scripts": "^0.1.4",
32
+ "@rescui/typography": "^0.5.0"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "rescui-scripts build"
36
36
  },
37
- "gitHead": "66df4ba6f30f960f8d9a77db3ef079f8b0ad40ca"
37
+ "gitHead": "f07b6abc886028f74f129d1d7bfbf8fcfa5825af"
38
38
  }