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
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@uifabric/experiments",
"comment": "Fix improper imports from index files",
"type": "patch"
}
],
"packageName": "@uifabric/experiments",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "office-ui-fabric-react",
"comment": "Fix improper imports from index files",
"type": "patch"
}
],
"packageName": "office-ui-fabric-react",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
IShimmerTileStyleProps,
IShimmerTileStyles
} from './ShimmerTile.types';
import { TileLayoutSizes, TileSize } from '../../Tile';
import { TileLayoutSizes, TileSize } from '../../../Tile';
import { ShimmerGap } from '../ShimmerGap/ShimmerGap';
import { getRenderedElements } from '../Shimmer.base';
import { ShimmerElementType as ElemType } from '../Shimmer.types';
Expand Down Expand Up @@ -219,4 +219,4 @@ export class ShimmerTileBase extends BaseComponent<IShimmerTileProps, {}> {
</div>
);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import * as React from 'react';
import * as renderer from 'react-test-renderer';
import { ActivityItem } from './ActivityItem';
import { Icon } from '../Icon';
import { Icon } from '../../Icon';
import { TestImages } from '../../common/TestImages';

const defaultProps = {
Expand Down Expand Up @@ -34,7 +34,7 @@ describe('ActivityItem', () => {
it('renders with an icon correctly', () => {
const component = renderer.create(
<ActivityItem
{...defaultProps}
{ ...defaultProps }
activityIcon={ <Icon iconName={ 'Message' } /> }
/>
);
Expand All @@ -45,7 +45,7 @@ describe('ActivityItem', () => {
it('renders with a single persona correctly', () => {
const component = renderer.create(
<ActivityItem
{...defaultProps}
{ ...defaultProps }
activityPersonas={ [defaultPersonaProps[0]] }
/>
);
Expand All @@ -56,7 +56,7 @@ describe('ActivityItem', () => {
it('renders with multiple personas correctly', () => {
const component = renderer.create(
<ActivityItem
{...defaultProps}
{ ...defaultProps }
activityPersonas={ defaultPersonaProps }
/>
);
Expand All @@ -67,7 +67,7 @@ describe('ActivityItem', () => {
it('renders compact with an icon correctly', () => {
const component = renderer.create(
<ActivityItem
{...defaultProps}
{ ...defaultProps }
activityIcon={ <Icon iconName={ 'Message' } /> }
isCompact={ true }
/>
Expand All @@ -79,7 +79,7 @@ describe('ActivityItem', () => {
it('renders compact with a single persona correctly', () => {
const component = renderer.create(
<ActivityItem
{...defaultProps}
{ ...defaultProps }
activityPersonas={ [defaultPersonaProps[0]] }
isCompact={ true }
/>
Expand All @@ -91,7 +91,7 @@ describe('ActivityItem', () => {
it('renders compact with multiple personas correctly', () => {
const component = renderer.create(
<ActivityItem
{...defaultProps}
{ ...defaultProps }
activityPersonas={ defaultPersonaProps }
isCompact={ true }
/>
Expand All @@ -100,4 +100,4 @@ describe('ActivityItem', () => {
expect(tree).toMatchSnapshot();
});

});
});
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from 'react';
import { IRenderFunction } from '../../Utilities';
import { PersonaBase } from './Persona.base';
import { PersonaCoinBase } from './PersonaCoin';
import { PersonaPresenceBase } from './PersonaPresence';
import { PersonaCoinBase } from './PersonaCoin/index';
import { PersonaPresenceBase } from './PersonaPresence/index';
import { ImageLoadState } from '../../Image';
import { IStyle, ITheme } from '../../Styling';
import { IStyleFunction } from '../../Utilities';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import {
getRTL,
} from '../../../Utilities';
import { mergeStyles } from '../../../Styling';
import { PersonaPresence } from '../PersonaPresence';
import { PersonaPresence } from '../PersonaPresence/index';
import {
Icon
} from '../../Icon';
} from '../../../Icon';
import {
Image,
ImageFit,
ImageLoadState
} from '../../Image';
} from '../../../Image';
import {
IPersonaCoinProps,
IPersonaCoinStyleProps,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
customizable,
} from '../../../Utilities';
import { IStyleSet } from '../../../Styling';
import { Icon } from '../../Icon';
import { Icon } from '../../../Icon';
import {
IPersonaPresenceProps,
IPersonaPresenceStyleProps,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './Persona';
export * from './Persona.base';
export * from './Persona.types';
export * from './PersonaCoin';
export * from './PersonaCoin/index';
export * from './PersonaConsts';