Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/fluent-tester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
"@fluentui-react-native/experimental-shadow": "workspace:*",
"@fluentui-react-native/experimental-shimmer": "workspace:*",
"@fluentui-react-native/framework": "workspace:*",
"@fluentui-react-native/framework-base": "workspace:*",
"@fluentui-react-native/icon": "workspace:*",
"@fluentui-react-native/input": "workspace:*",
"@fluentui-react-native/interactive-hooks": "workspace:*",
"@fluentui-react-native/menu": "workspace:*",
"@fluentui-react-native/merge-props": "workspace:*",
"@fluentui-react-native/notification": "workspace:*",
"@fluentui-react-native/overflow": "workspace:*",
"@fluentui-react-native/radio-group": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Text } from '@fluentui/react-native';
import { Shadow } from '@fluentui-react-native/experimental-shadow';
import type { Theme } from '@fluentui-react-native/framework';
import { useFluentTheme } from '@fluentui-react-native/framework';
import { mergeStyles } from '@fluentui-react-native/merge-props';
import { mergeStyles } from '@fluentui-react-native/framework-base';
import { themedStyleSheet } from '@fluentui-react-native/themed-stylesheet';

import { shadowTestPageStyles } from './ShadowTestPageStyles';
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/android-theme",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/apple-theme",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/composition",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/default-theme",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/framework",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/framework-base",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/immutable-merge",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/interactive-hooks",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/memo-cache",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/merge-props",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/tester",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/theme",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/themed-stylesheet",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/use-slot",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/use-slots",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/use-styling",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/use-tokens",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@fluentui-react-native/win32-theme",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@uifabricshared/foundation-composable",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@uifabricshared/foundation-compose",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@uifabricshared/foundation-settings",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@uifabricshared/foundation-tokens",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@uifabricshared/theme-registry",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@uifabricshared/themed-settings",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "create common framework-base package to share common utiltities more broadly",
"packageName": "@uifabricshared/theming-ramp",
"email": "[email protected]",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion packages/deprecated/foundation-composable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"@fluentui-react-native/merge-props": "workspace:*",
"@fluentui-react-native/framework-base": "workspace:*",
"@uifabricshared/foundation-settings": "workspace:*"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import * as React from 'react';
import { IRenderData, ISlotWithFilter, IComposable, IWithComposable, ISlots, IPropFilter, INativeSlotType } from './Composable.types';
import { mergeSettings, ISlotProps } from '@uifabricshared/foundation-settings';
import { mergeProps } from '@fluentui-react-native/merge-props';
import { mergeProps } from '@fluentui-react-native/framework-base';

export type ISlotFn<TProps> = React.FunctionComponent<TProps> & {
_canCompose?: boolean;
Expand Down
3 changes: 1 addition & 2 deletions packages/deprecated/foundation-compose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
"license": "MIT",
"dependencies": {
"@fluentui-react-native/default-theme": "workspace:*",
"@fluentui-react-native/immutable-merge": "workspace:*",
"@fluentui-react-native/memo-cache": "workspace:*",
"@fluentui-react-native/framework-base": "workspace:*",
"@fluentui-react-native/theme-types": "workspace:*",
"@uifabricshared/foundation-composable": "workspace:*",
"@uifabricshared/foundation-settings": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/deprecated/foundation-compose/src/compose.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
IExtractState,
} from '@uifabricshared/foundation-composable';
import { initializeStyling, getOptionsFromObj } from './useStyling';
import { immutableMerge } from '@fluentui-react-native/immutable-merge';
import { immutableMerge } from '@fluentui-react-native/framework-base';
import { ISlotProps } from '@uifabricshared/foundation-settings';

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/deprecated/foundation-compose/src/useStyling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useTheme } from '@fluentui-react-native/theme-types';
import { defaultFluentTheme } from '@fluentui-react-native/default-theme';
import { IWithComposable, AsObject, IComposableDefinition, INativeSlotType } from '@uifabricshared/foundation-composable';
import { IComposeOptions, IStylingSettings, IDefineUseComposeStyling } from './compose.types';
import { getMemoCache, GetMemoValue } from '@fluentui-react-native/memo-cache';
import { getMemoCache, GetMemoValue } from '@fluentui-react-native/framework-base';

/* tslint:disable-next-line no-any */
export function getOptionsFromObj<TComponent>(obj: any): TComponent | undefined {
Expand Down
3 changes: 1 addition & 2 deletions packages/deprecated/foundation-settings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"@fluentui-react-native/immutable-merge": "workspace:*",
"@fluentui-react-native/merge-props": "workspace:*"
"@fluentui-react-native/framework-base": "workspace:*"
},
"devDependencies": {
"@babel/core": "^7.20.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ColorValue } from 'react-native';

import type { StyleProp } from '@fluentui-react-native/merge-props';
import type { StyleProp } from '@fluentui-react-native/framework-base';

import { mergeSettings } from './Settings';
import type { IComponentSettings } from './Settings.types';
Expand Down
5 changes: 2 additions & 3 deletions packages/deprecated/foundation-settings/src/Settings.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* eslint-disable */

import { MergeOptions, immutableMergeCore } from '@fluentui-react-native/immutable-merge';
import { MergeOptions, immutableMergeCore } from '@fluentui-react-native/framework-base';
import { IComponentSettingsCollection, IComponentSettings, ISlotProps, IOverrideLookup } from './Settings.types';
import { mergeProps } from '@fluentui-react-native/merge-props';
import { mergeProps } from '@fluentui-react-native/framework-base';

/**
* an individual settings block is a set of slotProps, with an additional collection of tokens.
Expand Down Expand Up @@ -73,7 +73,6 @@ export function resolveSettingsOverrides(target: IComponentSettings, overrideLoo
* @param target - settings block to strip the settings specific information from
*/
export function slotPropsFromSettings(target: IComponentSettings): ISlotProps {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { _overrides, _precedence, ...slotProps } = target;
return slotProps as ISlotProps;
}
3 changes: 1 addition & 2 deletions packages/deprecated/foundation-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@
"author": "",
"license": "MIT",
"dependencies": {
"@fluentui-react-native/merge-props": "workspace:*",
"@fluentui-react-native/framework-base": "workspace:*",
"@fluentui-react-native/tokens": "workspace:*",
"@uifabricshared/foundation-settings": "workspace:*"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@fluentui-react-native/memo-cache": "workspace:*",
"@fluentui-react-native/scripts": "workspace:*",
"@react-native/babel-preset": "^0.74.0",
"@react-native/metro-config": "^0.74.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { GetMemoValue } from '@fluentui-react-native/memo-cache';
import type { StyleProp } from '@fluentui-react-native/merge-props';
import type { GetMemoValue, StyleProp } from '@fluentui-react-native/framework-base';
import type { ISlotProps, IComponentSettings } from '@uifabricshared/foundation-settings';
import { mergeSettings } from '@uifabricshared/foundation-settings';

Expand Down
4 changes: 2 additions & 2 deletions packages/deprecated/foundation-tokens/src/Token.function.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { GetMemoValue } from '@fluentui-react-native/memo-cache';
import { mergeProps } from '@fluentui-react-native/merge-props';
import type { GetMemoValue } from '@fluentui-react-native/framework-base';
import { mergeProps } from '@fluentui-react-native/framework-base';
import type { ISlotProps } from '@uifabricshared/foundation-settings';

import type { ITokenPropInfo, ICachedPropHandlers } from './Token.internal';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { GetMemoValue } from '@fluentui-react-native/memo-cache';
import type { GetMemoValue } from '@fluentui-react-native/framework-base';

export interface ITokenPropInfo<TTokens> {
/** token props, aggregated from settings and user props */
Expand Down
2 changes: 1 addition & 1 deletion packages/deprecated/foundation-tokens/src/Token.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getMemoCache } from '@fluentui-react-native/memo-cache';
import { getMemoCache } from '@fluentui-react-native/framework-base';

import type { IButtonSettings } from './MockButton';
import { MockButton } from './MockButton';
Expand Down
2 changes: 1 addition & 1 deletion packages/deprecated/foundation-tokens/src/Token.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { GetMemoValue } from '@fluentui-react-native/memo-cache';
import type { GetMemoValue } from '@fluentui-react-native/framework-base';
import type { ISlotProps, IComponentSettings } from '@uifabricshared/foundation-settings';

import type { ITokenPropInfo } from './Token.internal';
Expand Down
2 changes: 1 addition & 1 deletion packages/deprecated/theme-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"@babel/core": "^7.20.0",
"@fluentui-react-native/eslint-config-rules": "workspace:*",
"@fluentui-react-native/immutable-merge": "workspace:*",
"@fluentui-react-native/framework-base": "workspace:*",
"@fluentui-react-native/scripts": "workspace:*",
"@react-native/babel-preset": "^0.74.0",
"@react-native/metro-config": "^0.74.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/deprecated/theme-registry/src/Registry.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ColorValue } from 'react-native';

import { immutableMerge } from '@fluentui-react-native/immutable-merge';
import { immutableMerge } from '@fluentui-react-native/framework-base';

import { createThemeRegistry } from './Registry';
import type { IThemeRegistry } from './Registry.types';
Expand Down
2 changes: 1 addition & 1 deletion packages/deprecated/themed-settings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
"author": "",
"license": "MIT",
"dependencies": {
"@fluentui-react-native/framework-base": "workspace:*",
"@uifabricshared/foundation-settings": "workspace:*"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@fluentui-react-native/eslint-config-rules": "workspace:*",
"@fluentui-react-native/memo-cache": "workspace:*",
"@fluentui-react-native/scripts": "workspace:*",
"@react-native/babel-preset": "^0.74.0",
"@react-native/metro-config": "^0.74.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ColorValue } from 'react-native';

import { getMemoCache } from '@fluentui-react-native/memo-cache';
import { getMemoCache } from '@fluentui-react-native/framework-base';
import type { IComponentSettings } from '@uifabricshared/foundation-settings';
import { mergeSettings } from '@uifabricshared/foundation-settings';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { GetMemoValue } from '@fluentui-react-native/memo-cache';
import type { GetMemoValue } from '@fluentui-react-native/framework-base';
import type { IComponentSettings, IOverrideLookup } from '@uifabricshared/foundation-settings';
import { mergeSettings, getActiveOverrides, resolveSettingsOverrides } from '@uifabricshared/foundation-settings';

Expand Down
Loading