@fluentui-react-native/tooltip 0.4.12 → 0.4.14
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 +42 -1
- package/CHANGELOG.md +10 -2
- package/eslint.config.js +3 -0
- package/lib/Tooltip.js +7 -8
- package/lib/Tooltip.js.map +1 -1
- package/lib/Tooltip.types.js +1 -1
- package/lib/Tooltip.types.js.map +1 -1
- package/lib/__tests__/Tooltip.test.js +3 -3
- package/lib/__tests__/Tooltip.test.js.map +1 -1
- package/lib-commonjs/Tooltip.js +13 -13
- package/lib-commonjs/Tooltip.js.map +1 -1
- package/lib-commonjs/TooltipNativeComponent.js +1 -11
- package/lib-commonjs/TooltipNativeComponent.js.map +1 -1
- package/lib-commonjs/__tests__/Tooltip.test.js +8 -8
- package/lib-commonjs/__tests__/Tooltip.test.js.map +1 -1
- package/package.json +20 -6
- package/.eslintrc.js +0 -3
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,48 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/tooltip",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 11 Jul 2025 19:50:42 GMT",
|
|
6
|
+
"version": "0.4.14",
|
|
7
|
+
"tag": "@fluentui-react-native/tooltip_v0.4.14",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"author": "sanajmi@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/tooltip",
|
|
13
|
+
"commit": "405ca368dc3f2963bfc252a1952b1e14ff503499",
|
|
14
|
+
"comment": "fix: run `beachball sync` to sync package versions with NPM"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "jasonmo@microsoft.com",
|
|
18
|
+
"package": "@fluentui-react-native/tooltip",
|
|
19
|
+
"commit": "54087dca787180bbf34630470cd0d06e88366b30",
|
|
20
|
+
"comment": "update eslint to 9.x and use new flat config format with security rules"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "ruaraki@microsoft.com",
|
|
24
|
+
"package": "@fluentui-react-native/tooltip",
|
|
25
|
+
"commit": "a245202877ef7f2be9ab5f0e1356b2270957e693",
|
|
26
|
+
"comment": "Run bump-versions"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
30
|
+
"package": "@fluentui-react-native/tooltip",
|
|
31
|
+
"commit": "79bb06f6bbfd0a36f9d2ef371f4857be9660f027",
|
|
32
|
+
"comment": "Fixed `align-deps` warnings"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"patch": [
|
|
36
|
+
{
|
|
37
|
+
"author": "jasonmo@microsoft.com",
|
|
38
|
+
"package": "@fluentui-react-native/tooltip",
|
|
39
|
+
"commit": "479b93cea460a26df70c55b5d3335927ed374713",
|
|
40
|
+
"comment": "update builds to use node16 settings and modern export maps"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"date": "Thu, 10 Jul 2025 19:20:14 GMT",
|
|
6
47
|
"version": "0.4.12",
|
|
7
48
|
"tag": "@fluentui-react-native/tooltip_v0.4.12",
|
|
8
49
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tooltip
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Fri, 11 Jul 2025 19:50:42 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.4.14
|
|
8
|
+
|
|
9
|
+
Fri, 11 Jul 2025 19:50:42 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- update builds to use node16 settings and modern export maps (jasonmo@microsoft.com)
|
|
14
|
+
|
|
7
15
|
## 0.4.12
|
|
8
16
|
|
|
9
|
-
Thu,
|
|
17
|
+
Thu, 10 Jul 2025 19:20:14 GMT
|
|
10
18
|
|
|
11
19
|
### Patches
|
|
12
20
|
|
package/eslint.config.js
ADDED
package/lib/Tooltip.js
CHANGED
|
@@ -3,22 +3,21 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
* @format
|
|
5
5
|
*/
|
|
6
|
-
import { __assign } from "tslib";
|
|
7
6
|
/** @jsxRuntime classic */
|
|
8
7
|
import * as React from 'react';
|
|
9
8
|
import { findNodeHandle } from 'react-native';
|
|
10
9
|
import { mergeProps, stagedComponent } from '@fluentui-react-native/framework';
|
|
11
10
|
import { tooltipName } from './Tooltip.types';
|
|
12
11
|
import NativeTooltipView from './TooltipNativeComponent';
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
React.useLayoutEffect(
|
|
12
|
+
export const Tooltip = stagedComponent((props) => {
|
|
13
|
+
const { target } = props;
|
|
14
|
+
const [nativeTarget, setNativeTarget] = React.useState(null);
|
|
15
|
+
React.useLayoutEffect(() => {
|
|
17
16
|
if (typeof target === 'string') {
|
|
18
17
|
// Pass string type `target` directly
|
|
19
18
|
setNativeTarget(target);
|
|
20
19
|
}
|
|
21
|
-
else if (target
|
|
20
|
+
else if (target?.current) {
|
|
22
21
|
// Pass the tagID for a valid ref `target`
|
|
23
22
|
setNativeTarget(findNodeHandle(target.current));
|
|
24
23
|
}
|
|
@@ -27,8 +26,8 @@ export var Tooltip = stagedComponent(function (props) {
|
|
|
27
26
|
setNativeTarget(null);
|
|
28
27
|
}
|
|
29
28
|
}, [target]);
|
|
30
|
-
|
|
31
|
-
return (React.createElement(NativeTooltipView,
|
|
29
|
+
const TooltipComponent = (rest, children) => {
|
|
30
|
+
return (React.createElement(NativeTooltipView, { ...(nativeTarget && { target: nativeTarget }), ...mergeProps(props, rest) }, children));
|
|
32
31
|
};
|
|
33
32
|
return TooltipComponent;
|
|
34
33
|
});
|
package/lib/Tooltip.js.map
CHANGED
|
@@ -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,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAG/E,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,iBAAiB,MAAM,0BAA0B,CAAC;AAEzD,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC,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,cAAc,CAAC,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,iBAAiB,OAAK,CAAC,YAAY,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,KAAM,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,IAC3F,QAAQ,CACS,CACrB,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,gBAAgB,CAAC;AAC1B,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC;AAElC,eAAe,OAAO,CAAC"}
|
package/lib/Tooltip.types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export const tooltipName = 'Tooltip';
|
|
2
2
|
//# sourceMappingURL=Tooltip.types.js.map
|
package/lib/Tooltip.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.types.js","sourceRoot":"","sources":["../src/Tooltip.types.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"Tooltip.types.js","sourceRoot":"","sources":["../src/Tooltip.types.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAC"}
|
|
@@ -2,9 +2,9 @@ import * as React from 'react';
|
|
|
2
2
|
import { ButtonV1 } from '@fluentui-react-native/button';
|
|
3
3
|
import * as renderer from 'react-test-renderer';
|
|
4
4
|
import { Tooltip } from '../Tooltip';
|
|
5
|
-
describe('Tooltip component tests',
|
|
6
|
-
it('Tooltip default',
|
|
7
|
-
|
|
5
|
+
describe('Tooltip component tests', () => {
|
|
6
|
+
it('Tooltip default', () => {
|
|
7
|
+
const tree = renderer
|
|
8
8
|
.create(React.createElement(Tooltip, { content: "Your component" },
|
|
9
9
|
React.createElement(ButtonV1, null, "Your component")))
|
|
10
10
|
.toJSON();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.test.js","sourceRoot":"","sources":["../../src/__tests__/Tooltip.test.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,QAAQ,CAAC,yBAAyB,EAAE;
|
|
1
|
+
{"version":3,"file":"Tooltip.test.js","sourceRoot":"","sources":["../../src/__tests__/Tooltip.test.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE;IACvC,EAAE,CAAC,iBAAiB,EAAE,GAAG,EAAE;QACzB,MAAM,IAAI,GAAG,QAAQ;aAClB,MAAM,CACL,oBAAC,OAAO,IAAC,OAAO,EAAC,gBAAgB;YAC/B,oBAAC,QAAQ,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/lib-commonjs/Tooltip.js
CHANGED
|
@@ -6,22 +6,22 @@
|
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.Tooltip = void 0;
|
|
9
|
-
|
|
9
|
+
const tslib_1 = require("tslib");
|
|
10
10
|
/** @jsxRuntime classic */
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.Tooltip = (0, framework_1.stagedComponent)(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
React.useLayoutEffect(
|
|
11
|
+
const React = tslib_1.__importStar(require("react"));
|
|
12
|
+
const react_native_1 = require("react-native");
|
|
13
|
+
const framework_1 = require("@fluentui-react-native/framework");
|
|
14
|
+
const Tooltip_types_1 = require("./Tooltip.types");
|
|
15
|
+
const TooltipNativeComponent_1 = tslib_1.__importDefault(require("./TooltipNativeComponent"));
|
|
16
|
+
exports.Tooltip = (0, framework_1.stagedComponent)((props) => {
|
|
17
|
+
const { target } = props;
|
|
18
|
+
const [nativeTarget, setNativeTarget] = React.useState(null);
|
|
19
|
+
React.useLayoutEffect(() => {
|
|
20
20
|
if (typeof target === 'string') {
|
|
21
21
|
// Pass string type `target` directly
|
|
22
22
|
setNativeTarget(target);
|
|
23
23
|
}
|
|
24
|
-
else if (target
|
|
24
|
+
else if (target?.current) {
|
|
25
25
|
// Pass the tagID for a valid ref `target`
|
|
26
26
|
setNativeTarget((0, react_native_1.findNodeHandle)(target.current));
|
|
27
27
|
}
|
|
@@ -30,8 +30,8 @@ exports.Tooltip = (0, framework_1.stagedComponent)(function (props) {
|
|
|
30
30
|
setNativeTarget(null);
|
|
31
31
|
}
|
|
32
32
|
}, [target]);
|
|
33
|
-
|
|
34
|
-
return (React.createElement(TooltipNativeComponent_1.default,
|
|
33
|
+
const TooltipComponent = (rest, children) => {
|
|
34
|
+
return (React.createElement(TooltipNativeComponent_1.default, { ...(nativeTarget && { target: nativeTarget }), ...(0, framework_1.mergeProps)(props, rest) }, children));
|
|
35
35
|
};
|
|
36
36
|
return TooltipComponent;
|
|
37
37
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.js","sourceRoot":"","sources":["../src/Tooltip.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;;;;AAEH,0BAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"Tooltip.js","sourceRoot":"","sources":["../src/Tooltip.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;;;;AAEH,0BAA0B;AAC1B,qDAA+B;AAC/B,+CAA8C;AAE9C,gEAA+E;AAG/E,mDAA8C;AAC9C,8FAAyD;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,11 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
* @format
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var tslib_1 = require("tslib");
|
|
9
|
-
var codegenNativeComponent_1 = tslib_1.__importDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
|
|
10
|
-
exports.default = (0, codegenNativeComponent_1.default)('RCTTooltip');
|
|
11
|
-
//# sourceMappingURL=TooltipNativeComponent.js.map
|
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.__INTERNAL_VIEW_CONFIG=void 0;var _codegenNativeComponent=_interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));var NativeComponentRegistry=require('react-native/Libraries/NativeComponent/NativeComponentRegistry');var nativeComponentName='RCTTooltip';var __INTERNAL_VIEW_CONFIG=exports.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RCTTooltip',validAttributes:{content:true}};var _default=exports.default=NativeComponentRegistry.get(nativeComponentName,function(){return __INTERNAL_VIEW_CONFIG;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooltipNativeComponent.js","sourceRoot":"","sources":["../src/TooltipNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH,
|
|
1
|
+
{"version":3,"file":"TooltipNativeComponent.js","sourceRoot":"","sources":["../src/TooltipNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH,6HAA6F;AAM7F,kBAAe,IAAA,gCAAsB,EAAc,YAAY,CAA+B,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
describe('Tooltip component tests',
|
|
9
|
-
it('Tooltip default',
|
|
10
|
-
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const button_1 = require("@fluentui-react-native/button");
|
|
6
|
+
const renderer = tslib_1.__importStar(require("react-test-renderer"));
|
|
7
|
+
const Tooltip_1 = require("../Tooltip");
|
|
8
|
+
describe('Tooltip component tests', () => {
|
|
9
|
+
it('Tooltip default', () => {
|
|
10
|
+
const tree = renderer
|
|
11
11
|
.create(React.createElement(Tooltip_1.Tooltip, { content: "Your component" },
|
|
12
12
|
React.createElement(button_1.ButtonV1, null, "Your component")))
|
|
13
13
|
.toJSON();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.test.js","sourceRoot":"","sources":["../../src/__tests__/Tooltip.test.tsx"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"Tooltip.test.js","sourceRoot":"","sources":["../../src/__tests__/Tooltip.test.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAE/B,0DAAyD;AACzD,sEAAgD;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,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tooltip",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.14",
|
|
4
4
|
"description": "A cross-platform Tooltip component for React Native.",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./lib/index.js",
|
|
10
|
+
"require": "./lib-commonjs/index.js",
|
|
11
|
+
"types": "./lib/index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
7
14
|
"typings": "lib/index.d.ts",
|
|
8
15
|
"scripts": {
|
|
9
16
|
"build": "fluentui-scripts build",
|
|
@@ -22,13 +29,13 @@
|
|
|
22
29
|
"directory": "packages/experimental/Tooltip"
|
|
23
30
|
},
|
|
24
31
|
"dependencies": {
|
|
25
|
-
"@fluentui-react-native/callout": "0.27.
|
|
26
|
-
"@fluentui-react-native/framework": "0.14.
|
|
32
|
+
"@fluentui-react-native/callout": "0.27.5",
|
|
33
|
+
"@fluentui-react-native/framework": "0.14.5",
|
|
27
34
|
"tslib": "^2.3.1"
|
|
28
35
|
},
|
|
29
36
|
"devDependencies": {
|
|
30
37
|
"@babel/core": "^7.20.0",
|
|
31
|
-
"@fluentui-react-native/button": "0.39.
|
|
38
|
+
"@fluentui-react-native/button": "0.39.7",
|
|
32
39
|
"@fluentui-react-native/eslint-config-rules": "0.1.1",
|
|
33
40
|
"@fluentui-react-native/scripts": "0.1.1",
|
|
34
41
|
"@fluentui-react-native/test-tools": "0.1.1",
|
|
@@ -38,13 +45,16 @@
|
|
|
38
45
|
"@types/react": "~18.2.0",
|
|
39
46
|
"react": "18.2.0",
|
|
40
47
|
"react-native": "^0.74.0",
|
|
41
|
-
"react-native-
|
|
48
|
+
"react-native-macos": "^0.74.0",
|
|
49
|
+
"react-native-svg": "^15.4.0",
|
|
50
|
+
"react-native-windows": "^0.74.0"
|
|
42
51
|
},
|
|
43
52
|
"peerDependencies": {
|
|
44
53
|
"@office-iss/react-native-win32": "^0.74.0",
|
|
45
54
|
"react": "18.2.0",
|
|
46
55
|
"react-native": "^0.73.0 || ^0.74.0",
|
|
47
56
|
"react-native-macos": "^0.73.0 || ^0.74.0",
|
|
57
|
+
"react-native-svg": "^15.0.0 || ^15.4.0",
|
|
48
58
|
"react-native-windows": "^0.73.0 || ^0.74.0"
|
|
49
59
|
},
|
|
50
60
|
"author": "",
|
|
@@ -64,8 +74,12 @@
|
|
|
64
74
|
]
|
|
65
75
|
},
|
|
66
76
|
"capabilities": [
|
|
77
|
+
"babel-preset-react-native",
|
|
67
78
|
"core",
|
|
68
|
-
"
|
|
79
|
+
"core-macos",
|
|
80
|
+
"core-windows",
|
|
81
|
+
"react",
|
|
82
|
+
"svg"
|
|
69
83
|
]
|
|
70
84
|
}
|
|
71
85
|
},
|
package/.eslintrc.js
DELETED