Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Fix typo in `DirectionalHint` type",
"packageName": "@fluentui-react-native/callout",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Fix typo in `DirectionalHint` type",
"packageName": "@fluentui-react-native/contextual-menu",
"email": "[email protected]",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion packages/components/Callout/macos/FRNCalloutManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ + (NSRect)screenRect:(id)json
@"rightTopEdge": @(NSRectEdgeMaxX),
@"rightCenter": @(NSRectEdgeMaxX),
@"rightBottomEdge": @(NSRectEdgeMaxX),
@"bottonLeftEdge": @(NSRectEdgeMinY),
@"bottomLeftEdge": @(NSRectEdgeMinY),
@"bottomAutoEdge": @(NSRectEdgeMinY),
@"bottomCenter": @(NSRectEdgeMinY),
@"bottomRightEdge": @(NSRectEdgeMinY),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const settings: IComposeSettings<ICalloutType> = [
borderColor: 'transparent',
borderWidth: 0,
borderRadius: 5,
directionalHint: 'bottonLeftEdge',
directionalHint: 'bottomLeftEdge',
},
root: {
style: {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/Callout/src/Callout.settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const settings: IComposeSettings<ICalloutType> = [
beakWidth: 20,
borderColor: 'bodyFrameBackground',
borderWidth: 1,
directionalHint: 'bottonLeftEdge',
directionalHint: 'bottomLeftEdge',
gapSpace: 0,
minPadding: 0,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/components/Callout/src/Callout.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type DirectionalHint =
| 'rightTopEdge'
| 'rightCenter'
| 'rightBottomEdge'
| 'bottonLeftEdge'
| 'bottomLeftEdge'
| 'bottomAutoEdge'
| 'bottomCenter'
| 'bottomRightEdge';
Expand Down
4 changes: 2 additions & 2 deletions packages/components/Callout/src/CalloutNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ export interface NativeProps extends ViewProps {
| 'rightTopEdge'
| 'rightCenter'
| 'rightBottomEdge'
| 'bottonLeftEdge'
| 'bottomLeftEdge'
| 'bottomAutoEdge'
| 'bottomCenter'
| 'bottomRightEdge',
'bottonLeftEdge'
'bottomLeftEdge'
>;
dismissBehaviors?: string[];
doNotTakePointerCapture?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface NativeProps extends ViewProps {
| 'rightTopEdge'
| 'rightCenter'
| 'rightBottomEdge'
| 'bottonLeftEdge'
| 'bottomLeftEdge'
| 'bottomAutoEdge'
| 'bottomCenter'
| 'bottomRightEdge',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { contextualMenuName } from './ContextualMenu.types';
export const settings: IComposeSettings<ContextualMenuType> = [
{
tokens: {
directionalHint: I18nManager.isRTL ? 'bottomRightEdge' : 'bottonLeftEdge',
directionalHint: I18nManager.isRTL ? 'bottomRightEdge' : 'bottomLeftEdge',
},
container: {
style: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const settings: IComposeSettings<ContextualMenuType> = [
beakWidth: 20,
borderColor: 'buttonBorder',
borderWidth: 1,
directionalHint: 'bottonLeftEdge',
directionalHint: 'bottomLeftEdge',
gapSpace: 0,
minPadding: 0,
},
Expand Down