@fluentui/react-tooltip 0.0.0-nightly-20230417-0419.1 → 0.0.0-nightly-20230419-0423.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/CHANGELOG.json +50 -17
- package/CHANGELOG.md +23 -11
- 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 +9 -8
package/CHANGELOG.json
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
"name": "@fluentui/react-tooltip",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-tooltip_v0.0.0-nightly-
|
7
|
-
"version": "0.0.0-nightly-
|
5
|
+
"date": "Wed, 19 Apr 2023 04:31:00 GMT",
|
6
|
+
"tag": "@fluentui/react-tooltip_v0.0.0-nightly-20230419-0423.1",
|
7
|
+
"version": "0.0.0-nightly-20230419-0423.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
@@ -16,44 +16,77 @@
|
|
16
16
|
{
|
17
17
|
"author": "beachball",
|
18
18
|
"package": "@fluentui/react-tooltip",
|
19
|
-
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly-
|
20
|
-
"commit": "
|
19
|
+
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly-20230419-0423.1",
|
20
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
21
21
|
},
|
22
22
|
{
|
23
23
|
"author": "beachball",
|
24
24
|
"package": "@fluentui/react-tooltip",
|
25
|
-
"comment": "Bump @fluentui/react-
|
26
|
-
"commit": "
|
25
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20230419-0423.1",
|
26
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
27
27
|
},
|
28
28
|
{
|
29
29
|
"author": "beachball",
|
30
30
|
"package": "@fluentui/react-tooltip",
|
31
|
-
"comment": "Bump @fluentui/react-
|
32
|
-
"commit": "
|
31
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightly-20230419-0423.1",
|
32
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
33
33
|
},
|
34
34
|
{
|
35
35
|
"author": "beachball",
|
36
36
|
"package": "@fluentui/react-tooltip",
|
37
|
-
"comment": "Bump @fluentui/react-
|
38
|
-
"commit": "
|
37
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightly-20230419-0423.1",
|
38
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
39
39
|
},
|
40
40
|
{
|
41
41
|
"author": "beachball",
|
42
42
|
"package": "@fluentui/react-tooltip",
|
43
|
-
"comment": "Bump @fluentui/react-
|
44
|
-
"commit": "
|
43
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230419-0423.1",
|
44
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
45
45
|
},
|
46
46
|
{
|
47
47
|
"author": "beachball",
|
48
48
|
"package": "@fluentui/react-tooltip",
|
49
|
-
"comment": "Bump @fluentui/react-
|
50
|
-
"commit": "
|
49
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230419-0423.1",
|
50
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
51
51
|
},
|
52
52
|
{
|
53
53
|
"author": "beachball",
|
54
54
|
"package": "@fluentui/react-tooltip",
|
55
|
-
"comment": "Bump @fluentui/react-
|
56
|
-
"commit": "
|
55
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230419-0423.1",
|
56
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"author": "beachball",
|
60
|
+
"package": "@fluentui/react-tooltip",
|
61
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230419-0423.1",
|
62
|
+
"commit": "6ddf2ae2968cadd0aa45d3d661b779093482f578"
|
63
|
+
}
|
64
|
+
]
|
65
|
+
}
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"date": "Mon, 17 Apr 2023 17:54:02 GMT",
|
69
|
+
"tag": "@fluentui/react-tooltip_v9.2.9",
|
70
|
+
"version": "9.2.9",
|
71
|
+
"comments": {
|
72
|
+
"patch": [
|
73
|
+
{
|
74
|
+
"author": "beachball",
|
75
|
+
"package": "@fluentui/react-tooltip",
|
76
|
+
"comment": "Bump @fluentui/react-portal to v9.2.6",
|
77
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"author": "beachball",
|
81
|
+
"package": "@fluentui/react-tooltip",
|
82
|
+
"comment": "Bump @fluentui/react-positioning to v9.5.10",
|
83
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"author": "beachball",
|
87
|
+
"package": "@fluentui/react-tooltip",
|
88
|
+
"comment": "Bump @fluentui/react-utilities to v9.8.0",
|
89
|
+
"commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
|
57
90
|
}
|
58
91
|
]
|
59
92
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,24 +1,36 @@
|
|
1
1
|
# Change Log - @fluentui/react-tooltip
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Wed, 19 Apr 2023 04:31:00 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-nightly-
|
7
|
+
## [0.0.0-nightly-20230419-0423.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v0.0.0-nightly-20230419-0423.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.2.
|
9
|
+
Wed, 19 Apr 2023 04:31:00 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.2.9..@fluentui/react-tooltip_v0.0.0-nightly-20230419-0423.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
15
|
-
- Bump @fluentui/keyboard-keys to v0.0.0-nightly-
|
16
|
-
- Bump @fluentui/react-
|
17
|
-
- Bump @fluentui/react-
|
18
|
-
- Bump @fluentui/react-
|
19
|
-
- Bump @fluentui/react-
|
20
|
-
- Bump @fluentui/react-
|
21
|
-
- Bump @fluentui/react-
|
15
|
+
- Bump @fluentui/keyboard-keys to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
16
|
+
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
17
|
+
- Bump @fluentui/react-portal to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
18
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
19
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
20
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
21
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
22
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230419-0423.1 ([commit](https://github.com/microsoft/fluentui/commit/6ddf2ae2968cadd0aa45d3d661b779093482f578) by beachball)
|
23
|
+
|
24
|
+
## [9.2.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.2.9)
|
25
|
+
|
26
|
+
Mon, 17 Apr 2023 17:54:02 GMT
|
27
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.2.8..@fluentui/react-tooltip_v9.2.9)
|
28
|
+
|
29
|
+
### Patches
|
30
|
+
|
31
|
+
- Bump @fluentui/react-portal to v9.2.6 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
32
|
+
- Bump @fluentui/react-positioning to v9.5.10 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
33
|
+
- Bump @fluentui/react-utilities to v9.8.0 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
|
22
34
|
|
23
35
|
## [9.2.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.2.8)
|
24
36
|
|
@@ -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": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20230419-0423.1",
|
4
4
|
"description": "React components for building web experiences",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -27,17 +27,18 @@
|
|
27
27
|
"devDependencies": {
|
28
28
|
"@fluentui/eslint-plugin": "*",
|
29
29
|
"@fluentui/react-conformance": "*",
|
30
|
-
"@fluentui/react-conformance-griffel": "0.0.0-nightly-
|
30
|
+
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20230419-0423.1",
|
31
31
|
"@fluentui/scripts-api-extractor": "*",
|
32
32
|
"@fluentui/scripts-tasks": "*"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
|
-
"@fluentui/keyboard-keys": "0.0.0-nightly-
|
36
|
-
"@fluentui/react-
|
37
|
-
"@fluentui/react-
|
38
|
-
"@fluentui/react-
|
39
|
-
"@fluentui/react-
|
40
|
-
"@fluentui/react-
|
35
|
+
"@fluentui/keyboard-keys": "0.0.0-nightly-20230419-0423.1",
|
36
|
+
"@fluentui/react-jsx-runtime": "0.0.0-nightly-20230419-0423.1",
|
37
|
+
"@fluentui/react-portal": "0.0.0-nightly-20230419-0423.1",
|
38
|
+
"@fluentui/react-positioning": "0.0.0-nightly-20230419-0423.1",
|
39
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightly-20230419-0423.1",
|
40
|
+
"@fluentui/react-theme": "0.0.0-nightly-20230419-0423.1",
|
41
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20230419-0423.1",
|
41
42
|
"@griffel/react": "^1.5.2",
|
42
43
|
"@swc/helpers": "^0.4.14"
|
43
44
|
},
|