Skip to content

Commit 6ed0a25

Browse files
authored
Slots/JSX rework part 1: Create a common @fluentui-react-native/framework-base package (#3939)
* centralize immutable-merge and memo-cache into framework base * move merge-props to framework base and start changing references * switch usage from old packages to framework-base * create common framework-base package to share common utiltities more broadly * Change files * stop using exports internally to prevent bundling difficulties
1 parent 2b8c31b commit 6ed0a25

File tree

128 files changed

+438
-165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+438
-165
lines changed

apps/fluent-tester/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@
6363
"@fluentui-react-native/experimental-shadow": "workspace:*",
6464
"@fluentui-react-native/experimental-shimmer": "workspace:*",
6565
"@fluentui-react-native/framework": "workspace:*",
66+
"@fluentui-react-native/framework-base": "workspace:*",
6667
"@fluentui-react-native/icon": "workspace:*",
6768
"@fluentui-react-native/input": "workspace:*",
6869
"@fluentui-react-native/interactive-hooks": "workspace:*",
6970
"@fluentui-react-native/menu": "workspace:*",
70-
"@fluentui-react-native/merge-props": "workspace:*",
7171
"@fluentui-react-native/notification": "workspace:*",
7272
"@fluentui-react-native/overflow": "workspace:*",
7373
"@fluentui-react-native/radio-group": "workspace:*",

apps/fluent-tester/src/TestComponents/Shadow/ShadowWithDifferentPropsTestSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Text } from '@fluentui/react-native';
55
import { Shadow } from '@fluentui-react-native/experimental-shadow';
66
import type { Theme } from '@fluentui-react-native/framework';
77
import { useFluentTheme } from '@fluentui-react-native/framework';
8-
import { mergeStyles } from '@fluentui-react-native/merge-props';
8+
import { mergeStyles } from '@fluentui-react-native/framework-base';
99
import { themedStyleSheet } from '@fluentui-react-native/themed-stylesheet';
1010

1111
import { shadowTestPageStyles } from './ShadowTestPageStyles';
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "create common framework-base package to share common utiltities more broadly",
4+
"packageName": "@fluentui-react-native/android-theme",
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": "create common framework-base package to share common utiltities more broadly",
4+
"packageName": "@fluentui-react-native/apple-theme",
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": "create common framework-base package to share common utiltities more broadly",
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": "create common framework-base package to share common utiltities more broadly",
4+
"packageName": "@fluentui-react-native/default-theme",
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": "create common framework-base package to share common utiltities more broadly",
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": "create common framework-base package to share common utiltities more broadly",
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": "create common framework-base package to share common utiltities more broadly",
4+
"packageName": "@fluentui-react-native/immutable-merge",
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": "create common framework-base package to share common utiltities more broadly",
4+
"packageName": "@fluentui-react-native/interactive-hooks",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

0 commit comments

Comments
 (0)