@fluentui-react-native/storybook-desktop-runtime 0.3.1 → 0.3.2
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/.cache/tsconfig.tsbuildinfo +1 -1
- package/CHANGELOG.md +11 -0
- package/lib/Win32CalloutPortal.d.ts +1 -1
- package/lib/Win32CalloutPortal.d.ts.map +1 -1
- package/lib/Win32CalloutPortal.js +1 -1
- package/lib/Win32CalloutPortal.js.map +1 -1
- package/package.json +3 -3
- package/src/Win32CalloutPortal.tsx +2 -2
- package/tsconfig.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @fluentui-react-native/storybook-desktop-runtime
|
|
2
2
|
|
|
3
|
+
## 0.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c547395: Move Callout and FocusZone implementations into native-core and retain the existing packages as JS-only compatibility shims under packages/shim. Native applications must directly depend on native-core and regenerate native autolinking/Pods; macOS now uses the shared FRNNativeCore pod and Windows uses one Fabric library for both components. Public APIs and native registration names are unchanged.
|
|
8
|
+
- c547395: Isolate the existing Callout and FocusZone JavaScript wrappers under native-core/legacy instead of the package root. Compatibility shims retain their exports through this submodule; native implementations and codegen specifications are unchanged.
|
|
9
|
+
- Updated dependencies [c547395]
|
|
10
|
+
- Updated dependencies [c547395]
|
|
11
|
+
- Updated dependencies [c547395]
|
|
12
|
+
- @fluentui-react-native/native-core@0.1.0
|
|
13
|
+
|
|
3
14
|
## 0.3.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { CalloutProps, DirectionalHint } from '@fluentui-react-native/
|
|
2
|
+
import type { CalloutProps, DirectionalHint } from '@fluentui-react-native/native-core/legacy';
|
|
3
3
|
type Win32CalloutPortalProps = React.PropsWithChildren<{
|
|
4
4
|
accessibilityLabel: string;
|
|
5
5
|
directionalHint: DirectionalHint;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Win32CalloutPortal.d.ts","sourceRoot":"","sources":["../src/Win32CalloutPortal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Win32CalloutPortal.d.ts","sourceRoot":"","sources":["../src/Win32CalloutPortal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAI/F,KAAK,uBAAuB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACrD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,eAAe,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,wBAAgB,kBAAkB,CAAC,EACjC,kBAAkB,EAClB,QAAQ,EACR,eAAe,EACf,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAM,EACN,MAAM,EACN,OAAO,EACP,KAAK,GACN,EAAE,uBAAuB,2CAoCzB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { StyleSheet } from 'react-native';
|
|
3
|
-
import { Callout } from '@fluentui-react-native/
|
|
3
|
+
import { Callout } from '@fluentui-react-native/native-core/legacy';
|
|
4
4
|
import { RootInputBoundary } from '@fluentui-react-native/design';
|
|
5
5
|
import { useTheme } from '@storybook/react-native-theming';
|
|
6
6
|
export function Win32CalloutPortal({ accessibilityLabel, children, directionalHint, height, onDismiss, onShow, target, testID, visible, width, }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Win32CalloutPortal.js","sourceRoot":"","sources":["../src/Win32CalloutPortal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Win32CalloutPortal.js","sourceRoot":"","sources":["../src/Win32CalloutPortal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAc3D,MAAM,UAAU,kBAAkB,CAAC,EACjC,kBAAkB,EAClB,QAAQ,EACR,eAAe,EACf,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAM,EACN,MAAM,EACN,OAAO,EACP,KAAK,GACmB;IACxB,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IAEzB,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,KAAC,OAAO,IACN,kBAAkB,EAAE,kBAAkB,EACtC,iBAAiB,EAAC,QAAQ,EAC1B,eAAe,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,EACzC,WAAW,EAAE,KAAK,CAAC,cAAc,EACjC,YAAY,EAAE,CAAC,EACf,WAAW,EAAE,CAAC,EACd,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,CAAC,EACX,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,KAAK,EACf,UAAU,EAAE,EAAE,EACd,QAAQ,EAAE,KAAK,EACf,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,eAAe,QACf,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,YAEd,KAAC,iBAAiB,IAChB,WAAW,EAAE,KAAK,EAClB,KAAK,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,eAAe,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACrF,MAAM,EAAE,GAAG,MAAM,UAAU,YAE1B,QAAQ,GACS,GACZ,CACX,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,OAAO,EAAE;QACP,QAAQ,EAAE,QAAQ;KACnB;CACF,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/storybook-desktop-runtime",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "React Native runtime and Metro services for desktop Storybook applications",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"test": "fluentui-scripts jest"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@fluentui-react-native/callout": "0.29.6",
|
|
35
34
|
"@fluentui-react-native/default-theme": "0.27.14",
|
|
36
35
|
"@fluentui-react-native/design": "0.5.1",
|
|
36
|
+
"@fluentui-react-native/native-core": "0.1.0",
|
|
37
37
|
"@rnx-kit/metro-config": "^2.2.4",
|
|
38
38
|
"@rnx-kit/metro-resolver-symlinks": "^0.3.1",
|
|
39
39
|
"@storybook/react-native": "^10.4.7",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"jestPlatform": "macos",
|
|
86
86
|
"knip": {
|
|
87
87
|
"ignoreDependencies": [
|
|
88
|
-
"@fluentui-react-native/
|
|
88
|
+
"@fluentui-react-native/native-core"
|
|
89
89
|
]
|
|
90
90
|
}
|
|
91
91
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { StyleSheet } from 'react-native';
|
|
3
3
|
|
|
4
|
-
import { Callout } from '@fluentui-react-native/
|
|
5
|
-
import type { CalloutProps, DirectionalHint } from '@fluentui-react-native/
|
|
4
|
+
import { Callout } from '@fluentui-react-native/native-core/legacy';
|
|
5
|
+
import type { CalloutProps, DirectionalHint } from '@fluentui-react-native/native-core/legacy';
|
|
6
6
|
import { RootInputBoundary } from '@fluentui-react-native/design';
|
|
7
7
|
import { useTheme } from '@storybook/react-native-theming';
|
|
8
8
|
|
package/tsconfig.json
CHANGED
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
},
|
|
9
9
|
"include": ["src"],
|
|
10
10
|
"references": [
|
|
11
|
-
{
|
|
12
|
-
"path": "../../native/Callout/tsconfig.json"
|
|
13
|
-
},
|
|
14
11
|
{
|
|
15
12
|
"path": "../../theming/default-theme/tsconfig.json"
|
|
16
13
|
},
|
|
17
14
|
{
|
|
18
15
|
"path": "../design/tsconfig.json"
|
|
19
16
|
},
|
|
17
|
+
{
|
|
18
|
+
"path": "../native-core/tsconfig.json"
|
|
19
|
+
},
|
|
20
20
|
{
|
|
21
21
|
"path": "../../../scripts/tsconfig.json"
|
|
22
22
|
}
|