Skip to content

Commit 21e536f

Browse files
authored
Centralize the jsx functions in framework-base to share implementations between frameworks (#3940)
1 parent 042b095 commit 21e536f

27 files changed

+74
-65
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "centralize jsx rendering functionality in framework-base",
4+
"packageName": "@fluentui-react-native/composition",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "centralize jsx rendering functionality in framework-base",
4+
"packageName": "@fluentui-react-native/framework",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "centralize jsx rendering functionality in framework-base",
4+
"packageName": "@fluentui-react-native/framework-base",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "centralize jsx rendering functionality in framework-base",
4+
"packageName": "@fluentui-react-native/use-slot",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "centralize jsx rendering functionality in framework-base",
4+
"packageName": "@fluentui-react-native/use-slots",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "centralize jsx rendering functionality in framework-base",
4+
"packageName": "@uifabricshared/foundation-composable",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/deprecated/foundation-composable/src/Composable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
ISlotWithFilter,
1818
} from './Composable.types';
1919
import { useCompoundPrepare } from './Composable.slots';
20-
import { renderSlot } from './slots';
20+
import { renderSlot } from '@fluentui-react-native/framework-base';
2121
import { ISlotProps, mergeSettings } from '@uifabricshared/foundation-settings';
2222

2323
export function atomicRender<TProps extends object, TState = object>(

packages/deprecated/foundation-composable/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ export type {
2222
RequireObject,
2323
} from './Composable.types';
2424
export { atomic, atomicRender, atomicUsePrepareProps, composable } from './Composable';
25-
export { renderSlot, withSlots } from './slots';
25+
export { renderSlot, withSlots } from '@fluentui-react-native/framework-base';

packages/deprecated/foundation-composable/src/slots.tsx

Lines changed: 0 additions & 39 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)