@fluentui/react-tooltip 9.0.0-beta.4 → 9.0.0-beta.5
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +79 -10
- package/CHANGELOG.md +29 -11
- package/lib/components/Tooltip/useTooltipStyles.js +12 -4
- package/lib/components/Tooltip/useTooltipStyles.js.map +1 -1
- package/lib-commonjs/components/Tooltip/useTooltipStyles.js +13 -4
- package/lib-commonjs/components/Tooltip/useTooltipStyles.js.map +1 -1
- package/package.json +10 -10
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,76 @@
|
|
2
2
|
"name": "@fluentui/react-tooltip",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Thu, 25 Nov 2021 08:31:35 GMT",
|
6
|
+
"tag": "@fluentui/react-tooltip_v9.0.0-beta.5",
|
7
|
+
"version": "9.0.0-beta.5",
|
8
|
+
"comments": {
|
9
|
+
"prerelease": [
|
10
|
+
{
|
11
|
+
"author": "lingfangao@hotmail.com",
|
12
|
+
"package": "@fluentui/react-tooltip",
|
13
|
+
"commit": "58db204f28af1d68df7260ff580cf91f0adcfb66",
|
14
|
+
"comment": "Add transparent outline to arrow for HC"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-tooltip",
|
19
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
20
|
+
"commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-tooltip",
|
25
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
|
26
|
+
"commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-tooltip",
|
31
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
|
32
|
+
"commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-tooltip",
|
37
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
|
38
|
+
"commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-tooltip",
|
43
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-beta.4",
|
44
|
+
"commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-tooltip",
|
49
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
50
|
+
"commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-tooltip",
|
55
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
56
|
+
"commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"author": "beachball",
|
60
|
+
"package": "@fluentui/react-tooltip",
|
61
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
62
|
+
"commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"author": "beachball",
|
66
|
+
"package": "@fluentui/react-tooltip",
|
67
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
68
|
+
"commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
|
69
|
+
}
|
70
|
+
]
|
71
|
+
}
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"date": "Fri, 12 Nov 2021 13:25:09 GMT",
|
6
75
|
"tag": "@fluentui/react-tooltip_v9.0.0-beta.4",
|
7
76
|
"version": "9.0.0-beta.4",
|
8
77
|
"comments": {
|
@@ -37,55 +106,55 @@
|
|
37
106
|
"author": "beachball",
|
38
107
|
"package": "@fluentui/react-tooltip",
|
39
108
|
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
|
40
|
-
"commit": "
|
109
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
41
110
|
},
|
42
111
|
{
|
43
112
|
"author": "beachball",
|
44
113
|
"package": "@fluentui/react-tooltip",
|
45
114
|
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
|
46
|
-
"commit": "
|
115
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
47
116
|
},
|
48
117
|
{
|
49
118
|
"author": "beachball",
|
50
119
|
"package": "@fluentui/react-tooltip",
|
51
120
|
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
|
52
|
-
"commit": "
|
121
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
53
122
|
},
|
54
123
|
{
|
55
124
|
"author": "beachball",
|
56
125
|
"package": "@fluentui/react-tooltip",
|
57
126
|
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
|
58
|
-
"commit": "
|
127
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
59
128
|
},
|
60
129
|
{
|
61
130
|
"author": "beachball",
|
62
131
|
"package": "@fluentui/react-tooltip",
|
63
132
|
"comment": "Bump @fluentui/react-theme to v9.0.0-beta.3",
|
64
|
-
"commit": "
|
133
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
65
134
|
},
|
66
135
|
{
|
67
136
|
"author": "beachball",
|
68
137
|
"package": "@fluentui/react-tooltip",
|
69
138
|
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
|
70
|
-
"commit": "
|
139
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
71
140
|
},
|
72
141
|
{
|
73
142
|
"author": "beachball",
|
74
143
|
"package": "@fluentui/react-tooltip",
|
75
144
|
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
|
76
|
-
"commit": "
|
145
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
77
146
|
},
|
78
147
|
{
|
79
148
|
"author": "beachball",
|
80
149
|
"package": "@fluentui/react-tooltip",
|
81
150
|
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
|
82
|
-
"commit": "
|
151
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
83
152
|
},
|
84
153
|
{
|
85
154
|
"author": "beachball",
|
86
155
|
"package": "@fluentui/react-tooltip",
|
87
156
|
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
|
88
|
-
"commit": "
|
157
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
89
158
|
}
|
90
159
|
]
|
91
160
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,30 @@
|
|
1
1
|
# Change Log - @fluentui/react-tooltip
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 25 Nov 2021 08:31:35 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.5)
|
8
|
+
|
9
|
+
Thu, 25 Nov 2021 08:31:35 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-beta.4..@fluentui/react-tooltip_v9.0.0-beta.5)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- Add transparent outline to arrow for HC ([PR #20541](https://github.com/microsoft/fluentui/pull/20541) by lingfangao@hotmail.com)
|
15
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
16
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
17
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
18
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
19
|
+
- Bump @fluentui/react-theme to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
20
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
21
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
22
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
23
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
24
|
+
|
7
25
|
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.4)
|
8
26
|
|
9
|
-
Fri, 12 Nov 2021
|
27
|
+
Fri, 12 Nov 2021 13:25:09 GMT
|
10
28
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-beta.3..@fluentui/react-tooltip_v9.0.0-beta.4)
|
11
29
|
|
12
30
|
### Changes
|
@@ -14,15 +32,15 @@ Fri, 12 Nov 2021 12:33:47 GMT
|
|
14
32
|
- Updated stories to support codesandbox ([PR #20373](https://github.com/microsoft/fluentui/pull/20373) by gcox@microsoft.com)
|
15
33
|
- export static classes for components ([PR #20455](https://github.com/microsoft/fluentui/pull/20455) by olfedias@microsoft.com)
|
16
34
|
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
|
17
|
-
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #
|
18
|
-
- Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #
|
19
|
-
- Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #
|
20
|
-
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #
|
21
|
-
- Bump @fluentui/react-theme to v9.0.0-beta.3 ([PR #
|
22
|
-
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #
|
23
|
-
- Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #
|
24
|
-
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #
|
25
|
-
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #
|
35
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
36
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
37
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
38
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
39
|
+
- Bump @fluentui/react-theme to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
40
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
41
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
42
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
43
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
26
44
|
|
27
45
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.3)
|
28
46
|
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { __styles, mergeClasses } from '@fluentui/react-make-styles';
|
2
|
+
import { createArrowStyles } from '@fluentui/react-positioning';
|
2
3
|
export const tooltipClassName = 'fui-Tooltip';
|
3
4
|
/**
|
4
5
|
* Styles for the tooltip
|
@@ -30,19 +31,26 @@ const useStyles = /*#__PURE__*/__styles({
|
|
30
31
|
},
|
31
32
|
"arrow": {
|
32
33
|
"qhf8xq": "f1euv43f",
|
33
|
-
"a9b677": "fpkirms",
|
34
|
-
"Bqenvij": "ftt2rgf",
|
35
34
|
"ayd6f0": "f1uo6wrk",
|
36
35
|
"Bcdw1i0": "fd7fpy0",
|
37
36
|
"Bj3rh1h": "f1bsuimh",
|
37
|
+
"Bubjx69": "f9ikmtg",
|
38
|
+
"a9b677": "fpkirms",
|
38
39
|
"rurcny": "fuzzvh5",
|
40
|
+
"zf3lio": "f1qudtws",
|
39
41
|
"xx9plb": "fxf9f1y",
|
40
42
|
"Bdn98qo": "f103af6e",
|
41
43
|
"Bbc2r3f": "f15umuo5",
|
42
44
|
"B4zgs9e": "ffo048g",
|
43
45
|
"Bex5imi": "fkk33zh",
|
44
46
|
"px8gyy": ["f5bg3dr", "f1rfdd74"],
|
45
|
-
"h6z6rw":
|
47
|
+
"h6z6rw": "fzd2j21",
|
48
|
+
"Iykf4b": ["feexxpo", "f7s5fvx"],
|
49
|
+
"F42hee": ["f1jq8eg5", "f12n7c5j"],
|
50
|
+
"Blxsnla": ["f1wv7y6t", "fi4qyh6"],
|
51
|
+
"t2scew": "fcvru7r",
|
52
|
+
"Emsed9": "f7ybgnc",
|
53
|
+
"E11wbp": "f16xtfle",
|
46
54
|
"hl6cv3": "fotnskf",
|
47
55
|
"Bh2vraf": "f1n8855c",
|
48
56
|
"yayu3t": ["f1nq055x", "f13ohf3"],
|
@@ -53,7 +61,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
53
61
|
"Bwwlvwl": "fm1ycve"
|
54
62
|
}
|
55
63
|
}, {
|
56
|
-
"d": [".fjseox{display:none;}", ".f1sbtcvk{padding-top:5px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".fy7v416{padding-bottom:7px;}", ".f132xexn{max-width:240px;}", ".f158kwzp{cursor:default;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".ft85np5{border-radius:var(--borderRadiusMedium);}", ".fcm7iae{background:var(--colorNeutralBackground1);}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fxeb0a7{-webkit-filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}", ".ftgm304{display:block;}", ".fdr7u1v{background:var(--colorNeutralForeground2);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".f1euv43f{position:absolute;}", ".
|
64
|
+
"d": [".fjseox{display:none;}", ".f1sbtcvk{padding-top:5px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".fy7v416{padding-bottom:7px;}", ".f132xexn{max-width:240px;}", ".f158kwzp{cursor:default;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".ft85np5{border-radius:var(--borderRadiusMedium);}", ".fcm7iae{background:var(--colorNeutralBackground1);}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fxeb0a7{-webkit-filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}", ".ftgm304{display:block;}", ".fdr7u1v{background:var(--colorNeutralForeground2);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".f1euv43f{position:absolute;}", ".f1uo6wrk{background:inherit;}", ".fd7fpy0{visibility:hidden;}", ".f1bsuimh{z-index:-1;}", ".f9ikmtg{aspect-ratio:1;}", ".fpkirms{width:8.485px;}", ".fuzzvh5:before{content:\"\";}", ".f1qudtws:before{border-radius:4px;}", ".fxf9f1y:before{position:absolute;}", ".f103af6e:before{width:inherit;}", ".f15umuo5:before{height:inherit;}", ".ffo048g:before{background:inherit;}", ".fkk33zh:before{visibility:visible;}", ".f5bg3dr:before{border-bottom-right-radius:var(--borderRadiusSmall);}", ".f1rfdd74:before{border-bottom-left-radius:var(--borderRadiusSmall);}", ".fzd2j21:before{-webkit-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);-moz-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);-ms-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);}", "[data-popper-placement] .feexxpo:before{border-right-width:1px;}", "[data-popper-placement] .f7s5fvx:before{border-left-width:1px;}", "[data-popper-placement] .f1jq8eg5:before{border-right-style:solid;}", "[data-popper-placement] .f12n7c5j:before{border-left-style:solid;}", "[data-popper-placement] .f1wv7y6t:before{border-right-color:transparent;}", "[data-popper-placement] .fi4qyh6:before{border-left-color:transparent;}", "[data-popper-placement] .fcvru7r:before{border-bottom-width:1px;}", "[data-popper-placement] .f7ybgnc:before{border-bottom-style:solid;}", "[data-popper-placement] .f16xtfle:before{border-bottom-color:transparent;}", "[data-popper-placement^=\"top\"] .fotnskf{bottom:0;}", "[data-popper-placement^=\"top\"] .f1n8855c{--angle:0;}", "[data-popper-placement^=\"right\"] .f1nq055x{left:0;}", "[data-popper-placement^=\"right\"] .f13ohf3{right:0;}", "[data-popper-placement^=\"right\"] .fsw6im5{--angle:90deg;}", "[data-popper-placement^=\"bottom\"] .ftghsr9{top:0;}", "[data-popper-placement^=\"bottom\"] .f159pzir{--angle:180deg;}", "[data-popper-placement^=\"left\"] .f1l8vbt4{right:0;}", "[data-popper-placement^=\"left\"] .fsxzh25{left:0;}", "[data-popper-placement^=\"left\"] .fm1ycve{--angle:270deg;}"]
|
57
65
|
});
|
58
66
|
/**
|
59
67
|
* Apply styling to the Tooltip slots based on the state
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Tooltip/useTooltipStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,6BAAzC;AAGA,OAAO,MAAM,gBAAgB,GAAG,aAAzB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;
|
1
|
+
{"version":3,"sources":["../../../src/components/Tooltip/useTooltipStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,6BAAzC;AACA,SAAS,iBAAT,QAAkC,6BAAlC;AAGA,OAAO,MAAM,gBAAgB,GAAG,aAAzB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAkCA;;AAEG;;;AACH,OAAO,MAAM,gBAAgB,GAAI,KAAD,IAAsC;AACpE,QAAM,MAAM,GAAG,SAAS,EAAxB;AAEA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CACjC,gBADiC,EAEjC,MAAM,CAAC,IAF0B,EAGjC,KAAK,CAAC,UAAN,KAAqB,UAArB,IAAmC,MAAM,CAAC,QAHT,EAIjC,KAAK,CAAC,OAAN,IAAiB,MAAM,CAAC,OAJS,EAKjC,KAAK,CAAC,IAAN,CAAW,SALsB,CAAnC;AAQA,EAAA,KAAK,CAAC,cAAN,GAAuB,MAAM,CAAC,KAA9B;AAEA,SAAO,KAAP;AACD,CAdM","sourceRoot":""}
|
@@ -7,6 +7,8 @@ exports.useTooltipStyles = exports.tooltipClassName = void 0;
|
|
7
7
|
|
8
8
|
const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
|
9
9
|
|
10
|
+
const react_positioning_1 = /*#__PURE__*/require("@fluentui/react-positioning");
|
11
|
+
|
10
12
|
exports.tooltipClassName = 'fui-Tooltip';
|
11
13
|
/**
|
12
14
|
* Styles for the tooltip
|
@@ -38,19 +40,26 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
38
40
|
},
|
39
41
|
"arrow": {
|
40
42
|
"qhf8xq": "f1euv43f",
|
41
|
-
"a9b677": "fpkirms",
|
42
|
-
"Bqenvij": "ftt2rgf",
|
43
43
|
"ayd6f0": "f1uo6wrk",
|
44
44
|
"Bcdw1i0": "fd7fpy0",
|
45
45
|
"Bj3rh1h": "f1bsuimh",
|
46
|
+
"Bubjx69": "f9ikmtg",
|
47
|
+
"a9b677": "fpkirms",
|
46
48
|
"rurcny": "fuzzvh5",
|
49
|
+
"zf3lio": "f1qudtws",
|
47
50
|
"xx9plb": "fxf9f1y",
|
48
51
|
"Bdn98qo": "f103af6e",
|
49
52
|
"Bbc2r3f": "f15umuo5",
|
50
53
|
"B4zgs9e": "ffo048g",
|
51
54
|
"Bex5imi": "fkk33zh",
|
52
55
|
"px8gyy": ["f5bg3dr", "f1rfdd74"],
|
53
|
-
"h6z6rw":
|
56
|
+
"h6z6rw": "fzd2j21",
|
57
|
+
"Iykf4b": ["feexxpo", "f7s5fvx"],
|
58
|
+
"F42hee": ["f1jq8eg5", "f12n7c5j"],
|
59
|
+
"Blxsnla": ["f1wv7y6t", "fi4qyh6"],
|
60
|
+
"t2scew": "fcvru7r",
|
61
|
+
"Emsed9": "f7ybgnc",
|
62
|
+
"E11wbp": "f16xtfle",
|
54
63
|
"hl6cv3": "fotnskf",
|
55
64
|
"Bh2vraf": "f1n8855c",
|
56
65
|
"yayu3t": ["f1nq055x", "f13ohf3"],
|
@@ -61,7 +70,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
61
70
|
"Bwwlvwl": "fm1ycve"
|
62
71
|
}
|
63
72
|
}, {
|
64
|
-
"d": [".fjseox{display:none;}", ".f1sbtcvk{padding-top:5px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".fy7v416{padding-bottom:7px;}", ".f132xexn{max-width:240px;}", ".f158kwzp{cursor:default;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".ft85np5{border-radius:var(--borderRadiusMedium);}", ".fcm7iae{background:var(--colorNeutralBackground1);}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fxeb0a7{-webkit-filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}", ".ftgm304{display:block;}", ".fdr7u1v{background:var(--colorNeutralForeground2);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".f1euv43f{position:absolute;}", ".
|
73
|
+
"d": [".fjseox{display:none;}", ".f1sbtcvk{padding-top:5px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".fy7v416{padding-bottom:7px;}", ".f132xexn{max-width:240px;}", ".f158kwzp{cursor:default;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".ft85np5{border-radius:var(--borderRadiusMedium);}", ".fcm7iae{background:var(--colorNeutralBackground1);}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fxeb0a7{-webkit-filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}", ".ftgm304{display:block;}", ".fdr7u1v{background:var(--colorNeutralForeground2);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".f1euv43f{position:absolute;}", ".f1uo6wrk{background:inherit;}", ".fd7fpy0{visibility:hidden;}", ".f1bsuimh{z-index:-1;}", ".f9ikmtg{aspect-ratio:1;}", ".fpkirms{width:8.485px;}", ".fuzzvh5:before{content:\"\";}", ".f1qudtws:before{border-radius:4px;}", ".fxf9f1y:before{position:absolute;}", ".f103af6e:before{width:inherit;}", ".f15umuo5:before{height:inherit;}", ".ffo048g:before{background:inherit;}", ".fkk33zh:before{visibility:visible;}", ".f5bg3dr:before{border-bottom-right-radius:var(--borderRadiusSmall);}", ".f1rfdd74:before{border-bottom-left-radius:var(--borderRadiusSmall);}", ".fzd2j21:before{-webkit-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);-moz-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);-ms-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);}", "[data-popper-placement] .feexxpo:before{border-right-width:1px;}", "[data-popper-placement] .f7s5fvx:before{border-left-width:1px;}", "[data-popper-placement] .f1jq8eg5:before{border-right-style:solid;}", "[data-popper-placement] .f12n7c5j:before{border-left-style:solid;}", "[data-popper-placement] .f1wv7y6t:before{border-right-color:transparent;}", "[data-popper-placement] .fi4qyh6:before{border-left-color:transparent;}", "[data-popper-placement] .fcvru7r:before{border-bottom-width:1px;}", "[data-popper-placement] .f7ybgnc:before{border-bottom-style:solid;}", "[data-popper-placement] .f16xtfle:before{border-bottom-color:transparent;}", "[data-popper-placement^=\"top\"] .fotnskf{bottom:0;}", "[data-popper-placement^=\"top\"] .f1n8855c{--angle:0;}", "[data-popper-placement^=\"right\"] .f1nq055x{left:0;}", "[data-popper-placement^=\"right\"] .f13ohf3{right:0;}", "[data-popper-placement^=\"right\"] .fsw6im5{--angle:90deg;}", "[data-popper-placement^=\"bottom\"] .ftghsr9{top:0;}", "[data-popper-placement^=\"bottom\"] .f159pzir{--angle:180deg;}", "[data-popper-placement^=\"left\"] .f1l8vbt4{right:0;}", "[data-popper-placement^=\"left\"] .fsxzh25{left:0;}", "[data-popper-placement^=\"left\"] .fm1ycve{--angle:270deg;}"]
|
65
74
|
});
|
66
75
|
/**
|
67
76
|
* Apply styling to the Tooltip slots based on the state
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Tooltip/useTooltipStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,gBAAA,GAAmB,aAAnB;AAEb;;AAEG;;AACH,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;
|
1
|
+
{"version":3,"sources":["../../../src/components/Tooltip/useTooltipStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,gBAAA,GAAmB,aAAnB;AAEb;;AAEG;;AACH,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAkCA;;AAEG;;;AACI,MAAM,gBAAgB,GAAI,KAAD,IAAsC;AACpE,QAAM,MAAM,GAAG,SAAS,EAAxB;AAEA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CACrB,OAAA,CAAA,gBADqB,EAErB,MAAM,CAAC,IAFc,EAGrB,KAAK,CAAC,UAAN,KAAqB,UAArB,IAAmC,MAAM,CAAC,QAHrB,EAIrB,KAAK,CAAC,OAAN,IAAiB,MAAM,CAAC,OAJH,EAKrB,KAAK,CAAC,IAAN,CAAW,SALU,CAAvB;AAQA,EAAA,KAAK,CAAC,cAAN,GAAuB,MAAM,CAAC,KAA9B;AAEA,SAAO,KAAP;AACD,CAdM;;AAAM,OAAA,CAAA,gBAAA,GAAgB,gBAAhB","sourceRoot":""}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-tooltip",
|
3
|
-
"version": "9.0.0-beta.
|
3
|
+
"version": "9.0.0-beta.5",
|
4
4
|
"description": "React components for building web experiences",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -25,11 +25,11 @@
|
|
25
25
|
"storybook": "start-storybook"
|
26
26
|
},
|
27
27
|
"devDependencies": {
|
28
|
-
"@fluentui/babel-make-styles": "9.0.0-beta.
|
28
|
+
"@fluentui/babel-make-styles": "9.0.0-beta.4",
|
29
29
|
"@fluentui/eslint-plugin": "*",
|
30
|
-
"@fluentui/jest-serializer-make-styles": "9.0.0-beta.
|
30
|
+
"@fluentui/jest-serializer-make-styles": "9.0.0-beta.4",
|
31
31
|
"@fluentui/react-conformance": "*",
|
32
|
-
"@fluentui/react-conformance-make-styles": "9.0.0-beta.
|
32
|
+
"@fluentui/react-conformance-make-styles": "9.0.0-beta.4",
|
33
33
|
"@fluentui/scripts": "^1.0.0",
|
34
34
|
"@types/enzyme": "3.10.3",
|
35
35
|
"@types/enzyme-adapter-react-16": "1.0.3",
|
@@ -43,12 +43,12 @@
|
|
43
43
|
"react-test-renderer": "^16.3.0"
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@fluentui/react-make-styles": "9.0.0-beta.
|
47
|
-
"@fluentui/react-portal": "9.0.0-beta.
|
48
|
-
"@fluentui/react-positioning": "9.0.0-beta.
|
49
|
-
"@fluentui/react-shared-contexts": "9.0.0-beta.
|
50
|
-
"@fluentui/react-theme": "9.0.0-beta.
|
51
|
-
"@fluentui/react-utilities": "9.0.0-beta.
|
46
|
+
"@fluentui/react-make-styles": "9.0.0-beta.4",
|
47
|
+
"@fluentui/react-portal": "9.0.0-beta.5",
|
48
|
+
"@fluentui/react-positioning": "9.0.0-beta.4",
|
49
|
+
"@fluentui/react-shared-contexts": "9.0.0-beta.4",
|
50
|
+
"@fluentui/react-theme": "9.0.0-beta.4",
|
51
|
+
"@fluentui/react-utilities": "9.0.0-beta.4",
|
52
52
|
"tslib": "^2.1.0"
|
53
53
|
},
|
54
54
|
"peerDependencies": {
|