@fluentui-react-native/tooltip 0.4.19 → 0.4.21
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 +15 -0
- package/CHANGELOG.md +9 -1
- package/babel.config.js +1 -1
- package/jest.config.js +1 -1
- package/lib/TooltipNativeComponent.js +8 -1
- package/lib-commonjs/Tooltip.js +28 -3
- package/lib-commonjs/Tooltip.js.map +1 -1
- package/lib-commonjs/TooltipNativeComponent.js +13 -1
- package/lib-commonjs/TooltipNativeComponent.js.map +1 -1
- package/lib-commonjs/__tests__/Tooltip.test.js +25 -3
- package/lib-commonjs/__tests__/Tooltip.test.js.map +1 -1
- package/package.json +11 -7
- package/tsconfig.json +0 -1
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tooltip",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"date": "Tue, 05 Aug 2025 18:46:03 GMT",
|
|
6
|
+
"version": "0.4.21",
|
|
7
|
+
"tag": "@fluentui-react-native/tooltip_v0.4.21",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "jasonmo@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/tooltip",
|
|
13
|
+
"commit": "1ed213f1b48036479e39ace7f25f9a31f46042bf",
|
|
14
|
+
"comment": "move repo to pnpm, create babel and jest config packages, fix dependencies"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
4
19
|
{
|
|
5
20
|
"date": "Tue, 15 Jul 2025 23:26:52 GMT",
|
|
6
21
|
"version": "0.4.15",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tooltip
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on Tue,
|
|
3
|
+
<!-- This log was last generated on Tue, 05 Aug 2025 18:46:03 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.4.21
|
|
8
|
+
|
|
9
|
+
Tue, 05 Aug 2025 18:46:03 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- move repo to pnpm, create babel and jest config packages, fix dependencies (jasonmo@microsoft.com)
|
|
14
|
+
|
|
7
15
|
## 0.4.15
|
|
8
16
|
|
|
9
17
|
Tue, 15 Jul 2025 23:26:52 GMT
|
package/babel.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports = require('@fluentui-react-native/
|
|
1
|
+
module.exports = require('@fluentui-react-native/babel-config');
|
package/jest.config.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const { configureReactNativeJest } = require('@fluentui-react-native/
|
|
1
|
+
const { configureReactNativeJest } = require('@fluentui-react-native/jest-config');
|
|
2
2
|
module.exports = configureReactNativeJest('win32');
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
* @format
|
|
5
|
+
*/
|
|
6
|
+
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
7
|
+
export default codegenNativeComponent('RCTTooltip');
|
|
8
|
+
//# sourceMappingURL=TooltipNativeComponent.js.map
|
package/lib-commonjs/Tooltip.js
CHANGED
|
@@ -4,15 +4,40 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
* @format
|
|
6
6
|
*/
|
|
7
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
10
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
11
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
12
|
+
}
|
|
13
|
+
Object.defineProperty(o, k2, desc);
|
|
14
|
+
}) : (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
o[k2] = m[k];
|
|
17
|
+
}));
|
|
18
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
19
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
20
|
+
}) : function(o, v) {
|
|
21
|
+
o["default"] = v;
|
|
22
|
+
});
|
|
23
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
24
|
+
if (mod && mod.__esModule) return mod;
|
|
25
|
+
var result = {};
|
|
26
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
27
|
+
__setModuleDefault(result, mod);
|
|
28
|
+
return result;
|
|
29
|
+
};
|
|
30
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
31
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
32
|
+
};
|
|
7
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
34
|
exports.Tooltip = void 0;
|
|
9
|
-
const tslib_1 = require("tslib");
|
|
10
35
|
/** @jsxRuntime classic */
|
|
11
|
-
const React =
|
|
36
|
+
const React = __importStar(require("react"));
|
|
12
37
|
const react_native_1 = require("react-native");
|
|
13
38
|
const framework_1 = require("@fluentui-react-native/framework");
|
|
14
39
|
const Tooltip_types_1 = require("./Tooltip.types");
|
|
15
|
-
const TooltipNativeComponent_1 =
|
|
40
|
+
const TooltipNativeComponent_1 = __importDefault(require("./TooltipNativeComponent"));
|
|
16
41
|
exports.Tooltip = (0, framework_1.stagedComponent)((props) => {
|
|
17
42
|
const { target } = props;
|
|
18
43
|
const [nativeTarget, setNativeTarget] = React.useState(null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.js","sourceRoot":"","sources":["../src/Tooltip.tsx"],"names":[],"mappings":";AAAA;;;;GAIG
|
|
1
|
+
{"version":3,"file":"Tooltip.js","sourceRoot":"","sources":["../src/Tooltip.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0BAA0B;AAC1B,6CAA+B;AAC/B,+CAA8C;AAE9C,gEAA+E;AAG/E,mDAA8C;AAC9C,sFAAyD;AAE5C,QAAA,OAAO,GAAG,IAAA,2BAAe,EAAC,CAAC,KAAmB,EAAE,EAAE;IAC7D,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAEzB,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAyB,IAAI,CAAC,CAAC;IAErF,KAAK,CAAC,eAAe,CAAC,GAAG,EAAE;QACzB,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;YAC9B,qCAAqC;YACrC,eAAe,CAAC,MAAM,CAAC,CAAC;SACzB;aAAM,IAAI,MAAM,EAAE,OAAO,EAAE;YAC1B,0CAA0C;YAC1C,eAAe,CAAC,IAAA,6BAAc,EAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;SACjD;aAAM;YACL,iEAAiE;YACjE,eAAe,CAAC,IAAI,CAAC,CAAC;SACvB;IACH,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAEb,MAAM,gBAAgB,GAAG,CAAC,IAAkB,EAAE,QAAyB,EAAE,EAAE;QACzE,OAAO,CACL,oBAAC,gCAAiB,OAAK,CAAC,YAAY,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,KAAM,IAAA,sBAAU,EAAC,KAAK,EAAE,IAAI,CAAC,IAC3F,QAAQ,CACS,CACrB,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,gBAAgB,CAAC;AAC1B,CAAC,CAAC,CAAC;AAEH,eAAO,CAAC,WAAW,GAAG,2BAAW,CAAC;AAElC,kBAAe,eAAO,CAAC"}
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
* @format
|
|
6
|
+
*/
|
|
7
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
const codegenNativeComponent_1 = __importDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
|
|
12
|
+
exports.default = (0, codegenNativeComponent_1.default)('RCTTooltip');
|
|
13
|
+
//# sourceMappingURL=TooltipNativeComponent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooltipNativeComponent.js","sourceRoot":"","sources":["../src/TooltipNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG
|
|
1
|
+
{"version":3,"file":"TooltipNativeComponent.js","sourceRoot":"","sources":["../src/TooltipNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;AAIH,qHAA6F;AAM7F,kBAAe,IAAA,gCAAsB,EAAc,YAAY,CAA+B,CAAC"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const
|
|
4
|
-
const React = tslib_1.__importStar(require("react"));
|
|
26
|
+
const React = __importStar(require("react"));
|
|
5
27
|
const button_1 = require("@fluentui-react-native/button");
|
|
6
|
-
const renderer =
|
|
28
|
+
const renderer = __importStar(require("react-test-renderer"));
|
|
7
29
|
const Tooltip_1 = require("../Tooltip");
|
|
8
30
|
describe('Tooltip component tests', () => {
|
|
9
31
|
it('Tooltip default', () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.test.js","sourceRoot":"","sources":["../../src/__tests__/Tooltip.test.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tooltip.test.js","sourceRoot":"","sources":["../../src/__tests__/Tooltip.test.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAE/B,0DAAyD;AACzD,8DAAgD;AAEhD,wCAAqC;AAErC,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE;IACvC,EAAE,CAAC,iBAAiB,EAAE,GAAG,EAAE;QACzB,MAAM,IAAI,GAAG,QAAQ;aAClB,MAAM,CACL,oBAAC,iBAAO,IAAC,OAAO,EAAC,gBAAgB;YAC/B,oBAAC,iBAAQ,yBAA0B,CAC3B,CACX;aACA,MAAM,EAAE,CAAC;QACZ,MAAM,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tooltip",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.21",
|
|
4
4
|
"description": "A cross-platform Tooltip component for React Native.",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -30,25 +30,28 @@
|
|
|
30
30
|
"directory": "packages/experimental/Tooltip"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@fluentui-react-native/callout": "0.27.
|
|
34
|
-
"@fluentui-react-native/framework": "0.14.
|
|
35
|
-
"tslib": "^2.3.1"
|
|
33
|
+
"@fluentui-react-native/callout": "0.27.12",
|
|
34
|
+
"@fluentui-react-native/framework": "0.14.12"
|
|
36
35
|
},
|
|
37
36
|
"devDependencies": {
|
|
38
37
|
"@babel/core": "^7.20.0",
|
|
39
|
-
"@fluentui-react-native/
|
|
38
|
+
"@fluentui-react-native/babel-config": "0.1.1",
|
|
39
|
+
"@fluentui-react-native/button": "0.39.14",
|
|
40
40
|
"@fluentui-react-native/eslint-config-rules": "0.1.1",
|
|
41
|
+
"@fluentui-react-native/jest-config": "0.1.1",
|
|
41
42
|
"@fluentui-react-native/scripts": "0.1.1",
|
|
42
43
|
"@fluentui-react-native/test-tools": "0.1.1",
|
|
43
44
|
"@office-iss/react-native-win32": "^0.74.0",
|
|
44
45
|
"@react-native/babel-preset": "^0.74.0",
|
|
45
46
|
"@react-native/metro-config": "^0.74.0",
|
|
46
47
|
"@types/react": "~18.2.0",
|
|
48
|
+
"@types/react-test-renderer": "^18.2.0",
|
|
47
49
|
"react": "18.2.0",
|
|
48
50
|
"react-native": "^0.74.0",
|
|
49
51
|
"react-native-macos": "^0.74.0",
|
|
50
52
|
"react-native-svg": "^15.4.0",
|
|
51
|
-
"react-native-windows": "^0.74.0"
|
|
53
|
+
"react-native-windows": "^0.74.0",
|
|
54
|
+
"react-test-renderer": "18.2.0"
|
|
52
55
|
},
|
|
53
56
|
"peerDependencies": {
|
|
54
57
|
"@office-iss/react-native-win32": "^0.74.0",
|
|
@@ -80,7 +83,8 @@
|
|
|
80
83
|
"core-macos",
|
|
81
84
|
"core-windows",
|
|
82
85
|
"react",
|
|
83
|
-
"svg"
|
|
86
|
+
"svg",
|
|
87
|
+
"react-test-renderer"
|
|
84
88
|
]
|
|
85
89
|
}
|
|
86
90
|
},
|