@fluentui/react-tooltip 9.2.8 → 9.2.10
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +52 -4
- package/CHANGELOG.md +26 -5
- package/lib/components/Tooltip/renderTooltip.js +6 -5
- package/lib/components/Tooltip/renderTooltip.js.map +1 -1
- package/lib-commonjs/components/Tooltip/renderTooltip.js +5 -4
- package/lib-commonjs/components/Tooltip/renderTooltip.js.map +1 -1
- package/package.json +5 -4
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,55 @@
|
|
2
2
|
"name": "@fluentui/react-tooltip",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Mon, 24 Apr 2023 08:09:19 GMT",
|
6
|
+
"tag": "@fluentui/react-tooltip_v9.2.10",
|
7
|
+
"version": "9.2.10",
|
8
|
+
"comments": {
|
9
|
+
"patch": [
|
10
|
+
{
|
11
|
+
"author": "bernardo.sunderhus@gmail.com",
|
12
|
+
"package": "@fluentui/react-tooltip",
|
13
|
+
"commit": "cf79cc20319c377dda47c0a2b135eeb1b5b7efdf",
|
14
|
+
"comment": "chore: adopt custom JSX pragma"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-tooltip",
|
19
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2",
|
20
|
+
"commit": "948b5bf9871303d1742f1b9a17a3bd4006ce2fea"
|
21
|
+
}
|
22
|
+
]
|
23
|
+
}
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"date": "Mon, 17 Apr 2023 17:54:02 GMT",
|
27
|
+
"tag": "@fluentui/react-tooltip_v9.2.9",
|
28
|
+
"version": "9.2.9",
|
29
|
+
"comments": {
|
30
|
+
"patch": [
|
31
|
+
{
|
32
|
+
"author": "beachball",
|
33
|
+
"package": "@fluentui/react-tooltip",
|
34
|
+
"comment": "Bump @fluentui/react-portal to v9.2.6",
|
35
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"author": "beachball",
|
39
|
+
"package": "@fluentui/react-tooltip",
|
40
|
+
"comment": "Bump @fluentui/react-positioning to v9.5.10",
|
41
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"author": "beachball",
|
45
|
+
"package": "@fluentui/react-tooltip",
|
46
|
+
"comment": "Bump @fluentui/react-utilities to v9.8.0",
|
47
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
48
|
+
}
|
49
|
+
]
|
50
|
+
}
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"date": "Wed, 12 Apr 2023 09:31:45 GMT",
|
6
54
|
"tag": "@fluentui/react-tooltip_v9.2.8",
|
7
55
|
"version": "9.2.8",
|
8
56
|
"comments": {
|
@@ -11,19 +59,19 @@
|
|
11
59
|
"author": "beachball",
|
12
60
|
"package": "@fluentui/react-tooltip",
|
13
61
|
"comment": "Bump @fluentui/react-portal to v9.2.5",
|
14
|
-
"commit": "
|
62
|
+
"commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
|
15
63
|
},
|
16
64
|
{
|
17
65
|
"author": "beachball",
|
18
66
|
"package": "@fluentui/react-tooltip",
|
19
67
|
"comment": "Bump @fluentui/react-positioning to v9.5.9",
|
20
|
-
"commit": "
|
68
|
+
"commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
|
21
69
|
},
|
22
70
|
{
|
23
71
|
"author": "beachball",
|
24
72
|
"package": "@fluentui/react-tooltip",
|
25
73
|
"comment": "Bump @fluentui/react-utilities to v9.7.4",
|
26
|
-
"commit": "
|
74
|
+
"commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
|
27
75
|
}
|
28
76
|
]
|
29
77
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,19 +1,40 @@
|
|
1
1
|
# Change Log - @fluentui/react-tooltip
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 24 Apr 2023 08:09:19 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.2.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.2.10)
|
8
|
+
|
9
|
+
Mon, 24 Apr 2023 08:09:19 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.2.9..@fluentui/react-tooltip_v9.2.10)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- chore: adopt custom JSX pragma ([PR #27630](https://github.com/microsoft/fluentui/pull/27630) by bernardo.sunderhus@gmail.com)
|
15
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2 ([PR #27632](https://github.com/microsoft/fluentui/pull/27632) by beachball)
|
16
|
+
|
17
|
+
## [9.2.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.2.9)
|
18
|
+
|
19
|
+
Mon, 17 Apr 2023 17:54:02 GMT
|
20
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.2.8..@fluentui/react-tooltip_v9.2.9)
|
21
|
+
|
22
|
+
### Patches
|
23
|
+
|
24
|
+
- Bump @fluentui/react-portal to v9.2.6 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
25
|
+
- Bump @fluentui/react-positioning to v9.5.10 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
26
|
+
- Bump @fluentui/react-utilities to v9.8.0 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
27
|
+
|
7
28
|
## [9.2.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.2.8)
|
8
29
|
|
9
|
-
Wed, 12 Apr 2023 09:
|
30
|
+
Wed, 12 Apr 2023 09:31:45 GMT
|
10
31
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.2.7..@fluentui/react-tooltip_v9.2.8)
|
11
32
|
|
12
33
|
### Patches
|
13
34
|
|
14
|
-
- Bump @fluentui/react-portal to v9.2.5 ([
|
15
|
-
- Bump @fluentui/react-positioning to v9.5.9 ([
|
16
|
-
- Bump @fluentui/react-utilities to v9.7.4 ([
|
35
|
+
- Bump @fluentui/react-portal to v9.2.5 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
|
36
|
+
- Bump @fluentui/react-positioning to v9.5.9 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
|
37
|
+
- Bump @fluentui/react-utilities to v9.7.4 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
|
17
38
|
|
18
39
|
## [9.2.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.2.7)
|
19
40
|
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import * as React from 'react';
|
1
|
+
/** @jsxRuntime classic */ /** @jsxFrag React.Fragment */ /** @jsx createElement */import * as React from 'react';
|
2
2
|
import { Portal } from '@fluentui/react-portal';
|
3
|
-
import {
|
3
|
+
import { createElement } from '@fluentui/react-jsx-runtime';
|
4
|
+
import { getSlotsNext } from '@fluentui/react-utilities';
|
4
5
|
/**
|
5
6
|
* Render the final JSX of Tooltip
|
6
7
|
*/
|
@@ -8,10 +9,10 @@ export const renderTooltip_unstable = state => {
|
|
8
9
|
const {
|
9
10
|
slots,
|
10
11
|
slotProps
|
11
|
-
} =
|
12
|
-
return /*#__PURE__*/
|
12
|
+
} = getSlotsNext(state);
|
13
|
+
return /*#__PURE__*/createElement(React.Fragment, null, state.children, state.shouldRenderTooltip && /*#__PURE__*/createElement(Portal, {
|
13
14
|
mountNode: state.mountNode
|
14
|
-
}, /*#__PURE__*/
|
15
|
+
}, /*#__PURE__*/createElement(slots.content, slotProps.content, state.withArrow && /*#__PURE__*/createElement("div", {
|
15
16
|
ref: state.arrowRef,
|
16
17
|
className: state.arrowClassName
|
17
18
|
}), state.content.children)));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Portal","
|
1
|
+
{"version":3,"names":["React","Portal","createElement","getSlotsNext","renderTooltip_unstable","state","slots","slotProps","Fragment","children","shouldRenderTooltip","mountNode","content","withArrow","ref","arrowRef","className","arrowClassName"],"sources":["../../../src/components/Tooltip/renderTooltip.tsx"],"sourcesContent":["/** @jsxRuntime classic */\n/** @jsxFrag React.Fragment */\n/** @jsx createElement */\n\nimport * as React from 'react';\nimport { Portal } from '@fluentui/react-portal';\n\nimport { createElement } from '@fluentui/react-jsx-runtime';\n\nimport { getSlotsNext } from '@fluentui/react-utilities';\nimport type { TooltipSlots, TooltipState } from './Tooltip.types';\n\n/**\n * Render the final JSX of Tooltip\n */\nexport const renderTooltip_unstable = (state: TooltipState) => {\n const { slots, slotProps } = getSlotsNext<TooltipSlots>(state);\n\n return (\n <>\n {state.children}\n {state.shouldRenderTooltip && (\n <Portal mountNode={state.mountNode}>\n <slots.content {...slotProps.content}>\n {state.withArrow && <div ref={state.arrowRef} className={state.arrowClassName} />}\n {state.content.children}\n </slots.content>\n </Portal>\n )}\n </>\n );\n};\n"],"mappings":"AAAA,2BACA,+BACA,yBAEA,YAAYA,KAAA,MAAW;AACvB,SAASC,MAAM,QAAQ;AAEvB,SAASC,aAAa,QAAQ;AAE9B,SAASC,YAAY,QAAQ;AAG7B;;;AAGA,OAAO,MAAMC,sBAAA,GAA0BC,KAAA,IAAwB;EAC7D,MAAM;IAAEC,KAAA;IAAOC;EAAS,CAAE,GAAGJ,YAAA,CAA2BE,KAAA;EAExD,oBACEH,aAjBJ,CADAF,KAAA,CAAAQ,QAA8B,QAmBvBH,KAAA,CAAMI,QAAQ,EACdJ,KAAA,CAAMK,mBAAmB,iBACxBR,aApBR,CAoBSD,MAAA;IAAOU,SAAA,EAAWN,KAAA,CAAMM;kBACvBT,aArBV,CAqBWI,KAAA,CAAMM,OAAO,EAAKL,SAAA,CAAUK,OAAO,EACjCP,KAAA,CAAMQ,SAAS,iBAAIX,aAtBhC,CAsBiC;IAAIY,GAAA,EAAKT,KAAA,CAAMU,QAAQ;IAAEC,SAAA,EAAWX,KAAA,CAAMY;MAC9DZ,KAAA,CAAMO,OAAO,CAACH,QAAQ;AAMnC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";
|
1
|
+
/** @jsxRuntime classic */ /** @jsxFrag React.Fragment */ /** @jsx createElement */ "use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
3
3
|
value: true
|
4
4
|
});
|
@@ -9,12 +9,13 @@ Object.defineProperty(exports, "renderTooltip_unstable", {
|
|
9
9
|
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
10
10
|
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
11
11
|
const _reactPortal = require("@fluentui/react-portal");
|
12
|
+
const _reactJsxRuntime = require("@fluentui/react-jsx-runtime");
|
12
13
|
const _reactUtilities = require("@fluentui/react-utilities");
|
13
14
|
const renderTooltip_unstable = (state)=>{
|
14
|
-
const { slots , slotProps } = (0, _reactUtilities.
|
15
|
-
return /*#__PURE__*/
|
15
|
+
const { slots , slotProps } = (0, _reactUtilities.getSlotsNext)(state);
|
16
|
+
return /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(_react.Fragment, null, state.children, state.shouldRenderTooltip && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(_reactPortal.Portal, {
|
16
17
|
mountNode: state.mountNode
|
17
|
-
}, /*#__PURE__*/
|
18
|
+
}, /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.content, slotProps.content, state.withArrow && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)("div", {
|
18
19
|
ref: state.arrowRef,
|
19
20
|
className: state.arrowClassName
|
20
21
|
}), state.content.children)));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../lib/components/Tooltip/renderTooltip.js"],"sourcesContent":["import * as React from 'react';\nimport { Portal } from '@fluentui/react-portal';\nimport {
|
1
|
+
{"version":3,"sources":["../../../lib/components/Tooltip/renderTooltip.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsxFrag React.Fragment */ /** @jsx createElement */import * as React from 'react';\nimport { Portal } from '@fluentui/react-portal';\nimport { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of Tooltip\n */\nexport const renderTooltip_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n return /*#__PURE__*/createElement(React.Fragment, null, state.children, state.shouldRenderTooltip && /*#__PURE__*/createElement(Portal, {\n mountNode: state.mountNode\n }, /*#__PURE__*/createElement(slots.content, slotProps.content, state.withArrow && /*#__PURE__*/createElement(\"div\", {\n ref: state.arrowRef,\n className: state.arrowClassName\n }), state.content.children)));\n};\n//# sourceMappingURL=renderTooltip.js.map"],"names":["renderTooltip_unstable","state","slots","slotProps","getSlotsNext","createElement","React","Fragment","children","shouldRenderTooltip","Portal","mountNode","content","withArrow","ref","arrowRef","className","arrowClassName"],"mappings":"AAAA,wBAAwB,GAAG,4BAA4B,GAAG,uBAAuB;;;;+BAOpEA;;aAAAA;;;6DAP6F;6BACnF;iCACO;gCACD;AAItB,MAAMA,yBAAyBC,CAAAA,QAAS;IAC7C,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,4BAAY,EAACH;IACjB,OAAO,WAAW,GAAEI,IAAAA,8BAAa,EAACC,OAAMC,QAAQ,EAAE,IAAI,EAAEN,MAAMO,QAAQ,EAAEP,MAAMQ,mBAAmB,IAAI,WAAW,GAAEJ,IAAAA,8BAAa,EAACK,mBAAM,EAAE;QACtIC,WAAWV,MAAMU,SAAS;IAC5B,GAAG,WAAW,GAAEN,IAAAA,8BAAa,EAACH,MAAMU,OAAO,EAAET,UAAUS,OAAO,EAAEX,MAAMY,SAAS,IAAI,WAAW,GAAER,IAAAA,8BAAa,EAAC,OAAO;QACnHS,KAAKb,MAAMc,QAAQ;QACnBC,WAAWf,MAAMgB,cAAc;IACjC,IAAIhB,MAAMW,OAAO,CAACJ,QAAQ;AAC5B,GACA,yCAAyC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-tooltip",
|
3
|
-
"version": "9.2.
|
3
|
+
"version": "9.2.10",
|
4
4
|
"description": "React components for building web experiences",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -33,11 +33,12 @@
|
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
35
|
"@fluentui/keyboard-keys": "^9.0.2",
|
36
|
-
"@fluentui/react-
|
37
|
-
"@fluentui/react-
|
36
|
+
"@fluentui/react-jsx-runtime": "9.0.0-alpha.2",
|
37
|
+
"@fluentui/react-portal": "^9.2.6",
|
38
|
+
"@fluentui/react-positioning": "^9.5.10",
|
38
39
|
"@fluentui/react-shared-contexts": "^9.3.3",
|
39
40
|
"@fluentui/react-theme": "^9.1.7",
|
40
|
-
"@fluentui/react-utilities": "^9.
|
41
|
+
"@fluentui/react-utilities": "^9.8.0",
|
41
42
|
"@griffel/react": "^1.5.2",
|
42
43
|
"@swc/helpers": "^0.4.14"
|
43
44
|
},
|