@fluentui/react-tooltip 9.4.28 → 9.4.29
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -2
- package/lib/components/Tooltip/useTooltipStyles.styles.js +47 -28
- package/lib/components/Tooltip/useTooltipStyles.styles.js.map +1 -1
- package/lib-commonjs/components/Tooltip/useTooltipStyles.styles.js +65 -88
- package/lib-commonjs/components/Tooltip/useTooltipStyles.styles.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,24 @@
|
|
1
1
|
# Change Log - @fluentui/react-tooltip
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 23 May 2024 07:58:03 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.4.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.4.29)
|
8
|
+
|
9
|
+
Thu, 23 May 2024 07:58:03 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.4.28..@fluentui/react-tooltip_v9.4.29)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- chore: replace usage of .shorthands() in styles ([PR #31449](https://github.com/microsoft/fluentui/pull/31449) by olfedias@microsoft.com)
|
15
|
+
- Bump @fluentui/react-portal to v9.4.26 ([commit](https://github.com/microsoft/fluentui/commit/10e6758b203de79c53ce31ba264e137f83f50ff4) by beachball)
|
16
|
+
- Bump @fluentui/react-positioning to v9.15.2 ([commit](https://github.com/microsoft/fluentui/commit/10e6758b203de79c53ce31ba264e137f83f50ff4) by beachball)
|
17
|
+
- Bump @fluentui/react-tabster to v9.21.4 ([commit](https://github.com/microsoft/fluentui/commit/10e6758b203de79c53ce31ba264e137f83f50ff4) by beachball)
|
18
|
+
|
7
19
|
## [9.4.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.4.28)
|
8
20
|
|
9
|
-
Mon, 20 May 2024 12:
|
21
|
+
Mon, 20 May 2024 12:45:08 GMT
|
10
22
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.4.27..@fluentui/react-tooltip_v9.4.28)
|
11
23
|
|
12
24
|
### Patches
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { __styles, mergeClasses } from '@griffel/react';
|
2
2
|
import { createArrowStyles } from '@fluentui/react-positioning';
|
3
3
|
import { tokens } from '@fluentui/react-theme';
|
4
4
|
import { arrowHeight } from './private/constants';
|
@@ -18,26 +18,33 @@ const useStyles = /*#__PURE__*/__styles({
|
|
18
18
|
Be2twd7: "fy9rknc",
|
19
19
|
Bg96gwp: "fwrc4pm",
|
20
20
|
Btd35i7: "fokg9q4",
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
wvpqe5:
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
21
|
+
Beyfa6y: 0,
|
22
|
+
Bbmb7ep: 0,
|
23
|
+
Btl43ni: 0,
|
24
|
+
B7oj6ja: 0,
|
25
|
+
Dimara: "ft85np5",
|
26
|
+
Bgfg5da: 0,
|
27
|
+
B9xav0g: 0,
|
28
|
+
oivjwe: 0,
|
29
|
+
Bn0qgzm: 0,
|
30
|
+
B4g9neb: 0,
|
31
|
+
zhjwy3: 0,
|
32
|
+
wvpqe5: 0,
|
33
|
+
ibv6hh: 0,
|
34
|
+
u1mtju: 0,
|
35
|
+
h3c5rm: 0,
|
36
|
+
vrafjx: 0,
|
37
|
+
Bekrc4i: 0,
|
38
|
+
i8vvqc: 0,
|
39
|
+
g2u3we: 0,
|
40
|
+
icvyot: 0,
|
41
|
+
B4j52fo: 0,
|
42
|
+
irswps: "f9ggezi",
|
43
|
+
Byoj8tv: 0,
|
44
|
+
uwmqm3: 0,
|
45
|
+
z189sj: 0,
|
46
|
+
z8tnut: 0,
|
47
|
+
B0ocmuz: "f1bzqsji",
|
41
48
|
De3pzq: "fxugw4r",
|
42
49
|
sj55zd: "f19n0e5",
|
43
50
|
Bhu2qc9: "fxeb0a7"
|
@@ -63,12 +70,14 @@ const useStyles = /*#__PURE__*/__styles({
|
|
63
70
|
Ccq8qp: "frdoeuz",
|
64
71
|
Baz25je: "fb81m9q",
|
65
72
|
cmx5o7: "f1ljr5q2",
|
66
|
-
|
67
|
-
m598lv:
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
73
|
+
Bk5zm6e: 0,
|
74
|
+
m598lv: 0,
|
75
|
+
B4f6apu: 0,
|
76
|
+
eqrjj: "f15tymiq",
|
77
|
+
Bqjgrrk: 0,
|
78
|
+
qa3bma: 0,
|
79
|
+
y0oebl: 0,
|
80
|
+
Bcgcnre: "fi8wnwo",
|
72
81
|
Budzafs: ["f9e5op9", "f112wvtl"],
|
73
82
|
Hv9wc6: "f16cagkn",
|
74
83
|
hl6cv3: "f1773hnp",
|
@@ -81,7 +90,17 @@ const useStyles = /*#__PURE__*/__styles({
|
|
81
90
|
ndpsmx: "f17lejdj"
|
82
91
|
}
|
83
92
|
}, {
|
84
|
-
d: [".fjseox{display:none;}", ".f1ewtqcl{box-sizing:border-box;}", ".f132xexn{max-width:240px;}", ".f158kwzp{cursor:default;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".fokg9q4{overflow-wrap:break-word;}", ".
|
93
|
+
d: [".fjseox{display:none;}", ".f1ewtqcl{box-sizing:border-box;}", ".f132xexn{max-width:240px;}", ".f158kwzp{cursor:default;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".fokg9q4{overflow-wrap:break-word;}", [".ft85np5{border-radius:var(--borderRadiusMedium);}", {
|
94
|
+
p: -1
|
95
|
+
}], [".f9ggezi{border:1px solid var(--colorTransparentStroke);}", {
|
96
|
+
p: -2
|
97
|
+
}], [".f1bzqsji{padding:4px 11px 6px 11px;}", {
|
98
|
+
p: -1
|
99
|
+
}], ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}", ".ftgm304{display:block;}", ".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}", ".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}", ".f1euv43f{position:absolute;}", ".f1u2r49w{background-color:inherit;}", ".fd7fpy0{visibility:hidden;}", ".f1bsuimh{z-index:-1;}", ".f1ekdpwm{width:8.484px;}", ".f83vc9z{height:8.484px;}", ".f1wl9k8s::before{content:\"\";}", ".f1wkw4r9::before{visibility:visible;}", ".f1j7ml58::before{position:absolute;}", ".fyl8oag::before{box-sizing:border-box;}", ".frdoeuz::before{width:inherit;}", ".fb81m9q::before{height:inherit;}", ".f1ljr5q2::before{background-color:inherit;}", [".f15tymiq::before{border-right:1px solid var(--colorTransparentStroke);}", {
|
100
|
+
p: -1
|
101
|
+
}], [".fi8wnwo::before{border-bottom:1px solid var(--colorTransparentStroke);}", {
|
102
|
+
p: -1
|
103
|
+
}], ".f9e5op9::before{border-bottom-right-radius:var(--borderRadiusSmall);}", ".f112wvtl::before{border-bottom-left-radius:var(--borderRadiusSmall);}", ".f16cagkn::before{transform:rotate(var(--fui-positioning-angle)) translate(0, 50%) rotate(45deg);}", "[data-popper-placement^=\"top\"] .f1773hnp{bottom:-1px;}", "[data-popper-placement^=\"top\"] .fw7o64x{--fui-positioning-angle:0;}", "[data-popper-placement^=\"right\"] .f1v7783n{left:-1px;}", "[data-popper-placement^=\"right\"] .f1f0d6v{--fui-positioning-angle:90deg;}", "[data-popper-placement^=\"bottom\"] .fh2hsk5{top:-1px;}", "[data-popper-placement^=\"bottom\"] .f1gj3y7g{--fui-positioning-angle:180deg;}", "[data-popper-placement^=\"left\"] .f11yvu4{right:-1px;}", "[data-popper-placement^=\"left\"] .f17lejdj{--fui-positioning-angle:270deg;}"]
|
85
104
|
});
|
86
105
|
/**
|
87
106
|
* Apply styling to the Tooltip slots based on the state
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["__styles","mergeClasses","createArrowStyles","tokens","arrowHeight","tooltipClassNames","content","useStyles","root","mc9l5x","B7ck84d","B2u0y6b","Bceei9c","Bahqtrf","Be2twd7","Bg96gwp","Btd35i7","Beyfa6y","Bbmb7ep","Btl43ni","B7oj6ja","Dimara","Bgfg5da","B9xav0g","oivjwe","Bn0qgzm","B4g9neb","zhjwy3","wvpqe5","ibv6hh","u1mtju","h3c5rm","vrafjx","Bekrc4i","i8vvqc","g2u3we","icvyot","B4j52fo","irswps","Byoj8tv","uwmqm3","z189sj","z8tnut","B0ocmuz","De3pzq","sj55zd","Bhu2qc9","visible","inverted","arrow","qhf8xq","Bcdw1i0","Bj3rh1h","a9b677","Bqenvij","Ftih45","B1puzpu","Brfgrao","Bcvre1j","Ccq8qp","Baz25je","cmx5o7","Bk5zm6e","m598lv","B4f6apu","eqrjj","Bqjgrrk","qa3bma","y0oebl","Bcgcnre","Budzafs","Hv9wc6","hl6cv3","c8svkw","yayu3t","nr3p0k","rhl9o9","wiz9v7","B6q6orb","ndpsmx","d","p","useTooltipStyles_unstable","state","styles","className","appearance","arrowClassName"],"sources":["useTooltipStyles.styles.js"],"sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport { createArrowStyles } from '@fluentui/react-positioning';\nimport { tokens } from '@fluentui/react-theme';\nimport { arrowHeight } from './private/constants';\nexport const tooltipClassNames = {\n content: 'fui-Tooltip__content'\n};\n/**\n * Styles for the tooltip\n */ const useStyles = makeStyles({\n root: {\n display: 'none',\n boxSizing: 'border-box',\n maxWidth: '240px',\n cursor: 'default',\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n overflowWrap: 'break-word',\n borderRadius: tokens.borderRadiusMedium,\n border: `1px solid ${tokens.colorTransparentStroke}`,\n padding: '4px 11px 6px 11px',\n backgroundColor: tokens.colorNeutralBackground1,\n color: tokens.colorNeutralForeground1,\n // TODO need to add versions of tokens.alias.shadow.shadow8, etc. that work with filter\n filter: `drop-shadow(0 0 2px ${tokens.colorNeutralShadowAmbient}) ` + `drop-shadow(0 4px 8px ${tokens.colorNeutralShadowKey})`\n },\n visible: {\n display: 'block'\n },\n inverted: {\n backgroundColor: tokens.colorNeutralBackgroundStatic,\n color: tokens.colorNeutralForegroundStaticInverted\n },\n arrow: createArrowStyles({\n arrowHeight\n })\n});\n/**\n * Apply styling to the Tooltip slots based on the state\n */ export const useTooltipStyles_unstable = (state)=>{\n const styles = useStyles();\n state.content.className = mergeClasses(tooltipClassNames.content, styles.root, state.appearance === 'inverted' && styles.inverted, state.visible && styles.visible, state.content.className);\n state.arrowClassName = styles.arrow;\n return state;\n};\n"],"mappings":"AAAA,SAAAA,QAAA,EAAqBC,YAAY,QAAQ,gBAAgB;AACzD,SAASC,iBAAiB,QAAQ,6BAA6B;AAC/D,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,WAAW,QAAQ,qBAAqB;AACjD,OAAO,MAAMC,iBAAiB,GAAG;EAC7BC,OAAO,EAAE;AACb,CAAC;AACD;AACA;AACA;AAAI,MAAMC,SAAS,gBAAGP,QAAA;EAAAQ,IAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC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C,OAAO,IAAIqC,MAAM,CAACrC,OAAO,EAAEoC,KAAK,CAAC7E,OAAO,CAAC+E,SAAS,CAAC;EAC5LF,KAAK,CAACI,cAAc,GAAGH,MAAM,CAACnC,KAAK;EACnC,OAAOkC,KAAK;AAChB,CAAC","ignoreList":[]}
|
@@ -32,62 +32,33 @@ const tooltipClassNames = {
|
|
32
32
|
Be2twd7: "fy9rknc",
|
33
33
|
Bg96gwp: "fwrc4pm",
|
34
34
|
Btd35i7: "fokg9q4",
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
vrafjx: [
|
63
|
-
"fcdblym",
|
64
|
-
"fjik90z"
|
65
|
-
],
|
66
|
-
oivjwe: "fg706s2",
|
67
|
-
wvpqe5: [
|
68
|
-
"fjik90z",
|
69
|
-
"fcdblym"
|
70
|
-
],
|
71
|
-
g2u3we: "fghlq4f",
|
72
|
-
h3c5rm: [
|
73
|
-
"f1gn591s",
|
74
|
-
"fjscplz"
|
75
|
-
],
|
76
|
-
B9xav0g: "fb073pr",
|
77
|
-
zhjwy3: [
|
78
|
-
"fjscplz",
|
79
|
-
"f1gn591s"
|
80
|
-
],
|
81
|
-
z8tnut: "f10ra9hq",
|
82
|
-
z189sj: [
|
83
|
-
"fd9xhir",
|
84
|
-
"f1jlaasf"
|
85
|
-
],
|
86
|
-
Byoj8tv: "f1d7kygh",
|
87
|
-
uwmqm3: [
|
88
|
-
"f1jlaasf",
|
89
|
-
"fd9xhir"
|
90
|
-
],
|
35
|
+
Beyfa6y: 0,
|
36
|
+
Bbmb7ep: 0,
|
37
|
+
Btl43ni: 0,
|
38
|
+
B7oj6ja: 0,
|
39
|
+
Dimara: "ft85np5",
|
40
|
+
Bgfg5da: 0,
|
41
|
+
B9xav0g: 0,
|
42
|
+
oivjwe: 0,
|
43
|
+
Bn0qgzm: 0,
|
44
|
+
B4g9neb: 0,
|
45
|
+
zhjwy3: 0,
|
46
|
+
wvpqe5: 0,
|
47
|
+
ibv6hh: 0,
|
48
|
+
u1mtju: 0,
|
49
|
+
h3c5rm: 0,
|
50
|
+
vrafjx: 0,
|
51
|
+
Bekrc4i: 0,
|
52
|
+
i8vvqc: 0,
|
53
|
+
g2u3we: 0,
|
54
|
+
icvyot: 0,
|
55
|
+
B4j52fo: 0,
|
56
|
+
irswps: "f9ggezi",
|
57
|
+
Byoj8tv: 0,
|
58
|
+
uwmqm3: 0,
|
59
|
+
z189sj: 0,
|
60
|
+
z8tnut: 0,
|
61
|
+
B0ocmuz: "f1bzqsji",
|
91
62
|
De3pzq: "fxugw4r",
|
92
63
|
sj55zd: "f19n0e5",
|
93
64
|
Bhu2qc9: "fxeb0a7"
|
@@ -113,12 +84,14 @@ const tooltipClassNames = {
|
|
113
84
|
Ccq8qp: "frdoeuz",
|
114
85
|
Baz25je: "fb81m9q",
|
115
86
|
cmx5o7: "f1ljr5q2",
|
116
|
-
|
117
|
-
m598lv:
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
87
|
+
Bk5zm6e: 0,
|
88
|
+
m598lv: 0,
|
89
|
+
B4f6apu: 0,
|
90
|
+
eqrjj: "f15tymiq",
|
91
|
+
Bqjgrrk: 0,
|
92
|
+
qa3bma: 0,
|
93
|
+
y0oebl: 0,
|
94
|
+
Bcgcnre: "fi8wnwo",
|
122
95
|
Budzafs: [
|
123
96
|
"f9e5op9",
|
124
97
|
"f112wvtl"
|
@@ -143,26 +116,24 @@ const tooltipClassNames = {
|
|
143
116
|
".fy9rknc{font-size:var(--fontSizeBase200);}",
|
144
117
|
".fwrc4pm{line-height:var(--lineHeightBase200);}",
|
145
118
|
".fokg9q4{overflow-wrap:break-word;}",
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
".f1jlaasf{padding-left:11px;}",
|
165
|
-
".f1d7kygh{padding-bottom:6px;}",
|
119
|
+
[
|
120
|
+
".ft85np5{border-radius:var(--borderRadiusMedium);}",
|
121
|
+
{
|
122
|
+
p: -1
|
123
|
+
}
|
124
|
+
],
|
125
|
+
[
|
126
|
+
".f9ggezi{border:1px solid var(--colorTransparentStroke);}",
|
127
|
+
{
|
128
|
+
p: -2
|
129
|
+
}
|
130
|
+
],
|
131
|
+
[
|
132
|
+
".f1bzqsji{padding:4px 11px 6px 11px;}",
|
133
|
+
{
|
134
|
+
p: -1
|
135
|
+
}
|
136
|
+
],
|
166
137
|
".fxugw4r{background-color:var(--colorNeutralBackground1);}",
|
167
138
|
".f19n0e5{color:var(--colorNeutralForeground1);}",
|
168
139
|
".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",
|
@@ -182,12 +153,18 @@ const tooltipClassNames = {
|
|
182
153
|
".frdoeuz::before{width:inherit;}",
|
183
154
|
".fb81m9q::before{height:inherit;}",
|
184
155
|
".f1ljr5q2::before{background-color:inherit;}",
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
156
|
+
[
|
157
|
+
".f15tymiq::before{border-right:1px solid var(--colorTransparentStroke);}",
|
158
|
+
{
|
159
|
+
p: -1
|
160
|
+
}
|
161
|
+
],
|
162
|
+
[
|
163
|
+
".fi8wnwo::before{border-bottom:1px solid var(--colorTransparentStroke);}",
|
164
|
+
{
|
165
|
+
p: -1
|
166
|
+
}
|
167
|
+
],
|
191
168
|
".f9e5op9::before{border-bottom-right-radius:var(--borderRadiusSmall);}",
|
192
169
|
".f112wvtl::before{border-bottom-left-radius:var(--borderRadiusSmall);}",
|
193
170
|
".f16cagkn::before{transform:rotate(var(--fui-positioning-angle)) translate(0, 50%) rotate(45deg);}",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useTooltipStyles.styles.js"],"sourcesContent":["import {
|
1
|
+
{"version":3,"sources":["useTooltipStyles.styles.js"],"sourcesContent":["import { __styles, mergeClasses } from '@griffel/react';\nimport { createArrowStyles } from '@fluentui/react-positioning';\nimport { tokens } from '@fluentui/react-theme';\nimport { arrowHeight } from './private/constants';\nexport const tooltipClassNames = {\n content: 'fui-Tooltip__content'\n};\n/**\n * Styles for the tooltip\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n mc9l5x: \"fjseox\",\n B7ck84d: \"f1ewtqcl\",\n B2u0y6b: \"f132xexn\",\n Bceei9c: \"f158kwzp\",\n Bahqtrf: \"fk6fouc\",\n Be2twd7: \"fy9rknc\",\n Bg96gwp: \"fwrc4pm\",\n Btd35i7: \"fokg9q4\",\n Beyfa6y: 0,\n Bbmb7ep: 0,\n Btl43ni: 0,\n B7oj6ja: 0,\n Dimara: \"ft85np5\",\n Bgfg5da: 0,\n B9xav0g: 0,\n oivjwe: 0,\n Bn0qgzm: 0,\n B4g9neb: 0,\n zhjwy3: 0,\n wvpqe5: 0,\n ibv6hh: 0,\n u1mtju: 0,\n h3c5rm: 0,\n vrafjx: 0,\n Bekrc4i: 0,\n i8vvqc: 0,\n g2u3we: 0,\n icvyot: 0,\n B4j52fo: 0,\n irswps: \"f9ggezi\",\n Byoj8tv: 0,\n uwmqm3: 0,\n z189sj: 0,\n z8tnut: 0,\n B0ocmuz: \"f1bzqsji\",\n De3pzq: \"fxugw4r\",\n sj55zd: \"f19n0e5\",\n Bhu2qc9: \"fxeb0a7\"\n },\n visible: {\n mc9l5x: \"ftgm304\"\n },\n inverted: {\n De3pzq: \"fg3r6xk\",\n sj55zd: \"fonrgv7\"\n },\n arrow: {\n qhf8xq: \"f1euv43f\",\n De3pzq: \"f1u2r49w\",\n Bcdw1i0: \"fd7fpy0\",\n Bj3rh1h: \"f1bsuimh\",\n a9b677: \"f1ekdpwm\",\n Bqenvij: \"f83vc9z\",\n Ftih45: \"f1wl9k8s\",\n B1puzpu: \"f1wkw4r9\",\n Brfgrao: \"f1j7ml58\",\n Bcvre1j: \"fyl8oag\",\n Ccq8qp: \"frdoeuz\",\n Baz25je: \"fb81m9q\",\n cmx5o7: \"f1ljr5q2\",\n Bk5zm6e: 0,\n m598lv: 0,\n B4f6apu: 0,\n eqrjj: \"f15tymiq\",\n Bqjgrrk: 0,\n qa3bma: 0,\n y0oebl: 0,\n Bcgcnre: \"fi8wnwo\",\n Budzafs: [\"f9e5op9\", \"f112wvtl\"],\n Hv9wc6: \"f16cagkn\",\n hl6cv3: \"f1773hnp\",\n c8svkw: \"fw7o64x\",\n yayu3t: \"f1v7783n\",\n nr3p0k: \"f1f0d6v\",\n rhl9o9: \"fh2hsk5\",\n wiz9v7: \"f1gj3y7g\",\n B6q6orb: \"f11yvu4\",\n ndpsmx: \"f17lejdj\"\n }\n}, {\n d: [\".fjseox{display:none;}\", \".f1ewtqcl{box-sizing:border-box;}\", \".f132xexn{max-width:240px;}\", \".f158kwzp{cursor:default;}\", \".fk6fouc{font-family:var(--fontFamilyBase);}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".fwrc4pm{line-height:var(--lineHeightBase200);}\", \".fokg9q4{overflow-wrap:break-word;}\", [\".ft85np5{border-radius:var(--borderRadiusMedium);}\", {\n p: -1\n }], [\".f9ggezi{border:1px solid var(--colorTransparentStroke);}\", {\n p: -2\n }], [\".f1bzqsji{padding:4px 11px 6px 11px;}\", {\n p: -1\n }], \".fxugw4r{background-color:var(--colorNeutralBackground1);}\", \".f19n0e5{color:var(--colorNeutralForeground1);}\", \".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}\", \".ftgm304{display:block;}\", \".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}\", \".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}\", \".f1euv43f{position:absolute;}\", \".f1u2r49w{background-color:inherit;}\", \".fd7fpy0{visibility:hidden;}\", \".f1bsuimh{z-index:-1;}\", \".f1ekdpwm{width:8.484px;}\", \".f83vc9z{height:8.484px;}\", \".f1wl9k8s::before{content:\\\"\\\";}\", \".f1wkw4r9::before{visibility:visible;}\", \".f1j7ml58::before{position:absolute;}\", \".fyl8oag::before{box-sizing:border-box;}\", \".frdoeuz::before{width:inherit;}\", \".fb81m9q::before{height:inherit;}\", \".f1ljr5q2::before{background-color:inherit;}\", [\".f15tymiq::before{border-right:1px solid var(--colorTransparentStroke);}\", {\n p: -1\n }], [\".fi8wnwo::before{border-bottom:1px solid var(--colorTransparentStroke);}\", {\n p: -1\n }], \".f9e5op9::before{border-bottom-right-radius:var(--borderRadiusSmall);}\", \".f112wvtl::before{border-bottom-left-radius:var(--borderRadiusSmall);}\", \".f16cagkn::before{transform:rotate(var(--fui-positioning-angle)) translate(0, 50%) rotate(45deg);}\", \"[data-popper-placement^=\\\"top\\\"] .f1773hnp{bottom:-1px;}\", \"[data-popper-placement^=\\\"top\\\"] .fw7o64x{--fui-positioning-angle:0;}\", \"[data-popper-placement^=\\\"right\\\"] .f1v7783n{left:-1px;}\", \"[data-popper-placement^=\\\"right\\\"] .f1f0d6v{--fui-positioning-angle:90deg;}\", \"[data-popper-placement^=\\\"bottom\\\"] .fh2hsk5{top:-1px;}\", \"[data-popper-placement^=\\\"bottom\\\"] .f1gj3y7g{--fui-positioning-angle:180deg;}\", \"[data-popper-placement^=\\\"left\\\"] .f11yvu4{right:-1px;}\", \"[data-popper-placement^=\\\"left\\\"] .f17lejdj{--fui-positioning-angle:270deg;}\"]\n});\n/**\n * Apply styling to the Tooltip slots based on the state\n */\nexport const useTooltipStyles_unstable = state => {\n const styles = useStyles();\n state.content.className = mergeClasses(tooltipClassNames.content, styles.root, state.appearance === 'inverted' && styles.inverted, state.visible && styles.visible, state.content.className);\n state.arrowClassName = styles.arrow;\n return state;\n};\n//# sourceMappingURL=useTooltipStyles.styles.js.map"],"names":["tooltipClassNames","useTooltipStyles_unstable","content","useStyles","__styles","root","mc9l5x","B7ck84d","B2u0y6b","Bceei9c","Bahqtrf","Be2twd7","Bg96gwp","Btd35i7","Beyfa6y","Bbmb7ep","Btl43ni","B7oj6ja","Dimara","Bgfg5da","B9xav0g","oivjwe","Bn0qgzm","B4g9neb","zhjwy3","wvpqe5","ibv6hh","u1mtju","h3c5rm","vrafjx","Bekrc4i","i8vvqc","g2u3we","icvyot","B4j52fo","irswps","Byoj8tv","uwmqm3","z189sj","z8tnut","B0ocmuz","De3pzq","sj55zd","Bhu2qc9","visible","inverted","arrow","qhf8xq","Bcdw1i0","Bj3rh1h","a9b677","Bqenvij","Ftih45","B1puzpu","Brfgrao","Bcvre1j","Ccq8qp","Baz25je","cmx5o7","Bk5zm6e","m598lv","B4f6apu","eqrjj","Bqjgrrk","qa3bma","y0oebl","Bcgcnre","Budzafs","Hv9wc6","hl6cv3","c8svkw","yayu3t","nr3p0k","rhl9o9","wiz9v7","B6q6orb","ndpsmx","d","p","state","styles","className","mergeClasses","appearance","arrowClassName"],"mappings":";;;;;;;;;;;IAIaA,iBAAiB;eAAjBA;;IAuGAC,yBAAyB;eAAzBA;;;uBA3G0B;AAIhC,MAAMD,oBAAoB;IAC/BE,SAAS;AACX;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IACtCC,MAAM;QACJC,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,SAAS;QACTC,SAAS;Q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;YACN;SAAE;QAAE;QAA0E;QAA0E;QAAsG;QAA4D;QAAyE;QAA4D;QAA+E;QAA2D;QAAkF;QAA2D;KAA+E;AACvyB;AAIO,MAAM7E,4BAA4B8E,CAAAA;IACvC,MAAMC,SAAS7E;IACf4E,MAAM7E,OAAO,CAAC+E,SAAS,GAAGC,IAAAA,mBAAY,EAAClF,kBAAkBE,OAAO,EAAE8E,OAAO3E,IAAI,EAAE0E,MAAMI,UAAU,KAAK,cAAcH,OAAOnC,QAAQ,EAAEkC,MAAMnC,OAAO,IAAIoC,OAAOpC,OAAO,EAAEmC,MAAM7E,OAAO,CAAC+E,SAAS;IAC3LF,MAAMK,cAAc,GAAGJ,OAAOlC,KAAK;IACnC,OAAOiC;AACT,GACA,mDAAmD"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-tooltip",
|
3
|
-
"version": "9.4.
|
3
|
+
"version": "9.4.29",
|
4
4
|
"description": "React components for building web experiences",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -35,10 +35,10 @@
|
|
35
35
|
"dependencies": {
|
36
36
|
"@fluentui/keyboard-keys": "^9.0.7",
|
37
37
|
"@fluentui/react-jsx-runtime": "^9.0.38",
|
38
|
-
"@fluentui/react-portal": "^9.4.
|
39
|
-
"@fluentui/react-positioning": "^9.15.
|
38
|
+
"@fluentui/react-portal": "^9.4.26",
|
39
|
+
"@fluentui/react-positioning": "^9.15.2",
|
40
40
|
"@fluentui/react-shared-contexts": "^9.19.0",
|
41
|
-
"@fluentui/react-tabster": "^9.21.
|
41
|
+
"@fluentui/react-tabster": "^9.21.4",
|
42
42
|
"@fluentui/react-theme": "^9.1.19",
|
43
43
|
"@fluentui/react-utilities": "^9.18.9",
|
44
44
|
"@griffel/react": "^1.5.22",
|