Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack: Promoting stack from experiments package to OUFR package. #7222

Closed
wants to merge 49 commits into from
Closed
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
408542c
Removing some of the deprecated components flaged when turning the ts…
khmakoto Oct 22, 2018
9a70bf7
Adding corresponding change file.
khmakoto Oct 22, 2018
9ad7683
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
khmakoto Oct 23, 2018
8e5a757
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
khmakoto Oct 23, 2018
9e4a643
Reverting changes that affected backwards compatibility because it re…
khmakoto Oct 23, 2018
146d37a
Adding missing deprecation reversion in BaseButton.
khmakoto Oct 23, 2018
06c99b4
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
khmakoto Oct 23, 2018
efd8396
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
khmakoto Oct 24, 2018
4dfa320
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
khmakoto Oct 29, 2018
e5e4743
Adding changes in oufr api.
khmakoto Oct 29, 2018
2b418eb
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
khmakoto Oct 29, 2018
28fd352
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
khmakoto Oct 30, 2018
113d4ca
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
khmakoto Nov 26, 2018
df9519f
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
khmakoto Nov 26, 2018
43e7c8b
Adding Stack component to OUFR package.
khmakoto Nov 26, 2018
64615c0
Adding codepen directive at the beginning of examples.
khmakoto Nov 26, 2018
d238462
Adding rest plugin to codepen example generation.
khmakoto Nov 26, 2018
a59cff2
Making StackItem pass Conformance test.
khmakoto Nov 27, 2018
6c83917
Deleting Stack component from experiments package.
khmakoto Nov 27, 2018
dc9e461
Adding change files.
khmakoto Nov 27, 2018
782d9a3
Delete master_2018-10-22-23-24.json
khmakoto Nov 27, 2018
6b29385
Updating change file.
khmakoto Nov 27, 2018
c8a012f
Adding Stack to index file in oufr package.
khmakoto Nov 27, 2018
e829f98
Merge branch 'stackPromotion' of github.com:khmakoto/office-ui-fabric…
khmakoto Nov 27, 2018
71c8569
Adding api changes.
khmakoto Nov 27, 2018
730e6e1
Changing imports so they reference ourf and not oufr/lib.
khmakoto Nov 27, 2018
d068354
Changing vr-tests to take oufr's Stack and not experiments' Stack.
khmakoto Nov 28, 2018
fcb6659
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
khmakoto Nov 28, 2018
18117ca
Fixing to pass tests.
khmakoto Nov 29, 2018
f0eb4c2
Fixing merge conflict.
khmakoto Nov 29, 2018
d714979
Changing horizontalAlign prop to use 'start' and 'end' instead of 'le…
khmakoto Nov 29, 2018
fcc4faa
Adding change file to @uifabric/fabric-website-resources.
khmakoto Nov 29, 2018
7a21220
Fixing left/right to start/end in vr-tests.
khmakoto Nov 29, 2018
e214430
Adding horizontal property to horizontal stack snapshots.
khmakoto Dec 4, 2018
a1e4a4b
Comprising HorizontalStack and VerticalStack into only one component …
khmakoto Dec 5, 2018
bdcdaee
Changing oufr api.
khmakoto Dec 5, 2018
0c20cef
Changing @default tags to @defaultvalue to adhere to api-extractor gu…
khmakoto Dec 5, 2018
c370aea
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
khmakoto Dec 5, 2018
8473180
Updating vr-tests.
khmakoto Dec 5, 2018
23c4975
Updating oufr api.
khmakoto Dec 5, 2018
9e80cb0
Deprecating the separate HorizontalStack and VerticalStack in favor o…
khmakoto Dec 5, 2018
1912b97
Deleting HorizontalStack and VerticalStack snapshots.
khmakoto Dec 5, 2018
09967ff
Removing HorizontalStack and VerticalStack pages from app website.
khmakoto Dec 5, 2018
0f54834
Replacing references to HorizontalStack and VerticalStack to referenc…
khmakoto Dec 5, 2018
927f860
Removing 'horizontal' and 'wrap' from DOM in snapshots.
khmakoto Dec 5, 2018
8f71919
Adding HorizontalStack and VerticalStack tests to Stack.test.tsx and …
khmakoto Dec 5, 2018
68d241d
Removing font styling from Stack component.
khmakoto Dec 5, 2018
15decec
Adding wrap to vertical stack and adding examples and snapshots. Nest…
khmakoto Dec 6, 2018
e8319a9
Making nested wrapping work on Vertical Stacks (Microsoft Edge only).
khmakoto Dec 7, 2018
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
12 changes: 12 additions & 0 deletions apps/fabric-website-resources/src/AppDefinition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@ export const AppDefinition: IAppDefinition = {
name: 'GroupedList',
url: '#examples/groupedlist'
},
{
component: require<any>('./components/pages/HorizontalStackPage').HorizontalStackPage,
key: 'HorizontalStack',
name: 'HorizontalStack',
url: '#/examples/horizontalstack'
},
{
component: require<any>('./components/pages/HoverCardPage').HoverCardPage,
key: 'HoverCard',
Expand Down Expand Up @@ -413,6 +419,12 @@ export const AppDefinition: IAppDefinition = {
key: 'Tooltip',
name: 'Tooltip',
url: '#/examples/Tooltip'
},
{
component: require<any>('./components/pages/VerticalStackPage').VerticalStackPage,
key: 'VerticalStack',
name: 'VerticalStack',
url: '#/examples/verticalstack'
}
],
name: 'Basic components'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import * as React from 'react';
import { DemoPage } from '../DemoPage';

import { HorizontalStackPageProps } from 'office-ui-fabric-react/lib/components/Stack/HorizontalStack/HorizontalStack.doc';

export const HorizontalStackPage = (props: { isHeaderVisible: boolean }) => <DemoPage {...{ ...HorizontalStackPageProps, ...props }} />;
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import * as React from 'react';
import { DemoPage } from '../DemoPage';

import { VerticalStackPageProps } from 'office-ui-fabric-react/lib/components/Stack/VerticalStack/VerticalStack.doc';

export const VerticalStackPage = (props: { isHeaderVisible: boolean }) => <DemoPage {...{ ...VerticalStackPageProps, ...props }} />;
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@uifabric/experiments",
"comment": "Stack: Promoting from experiments to OUFR package.",
"type": "minor"
}
],
"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": "Stack: Promoting from experiments to OUFR package.",
"type": "minor"
}
],
"packageName": "office-ui-fabric-react",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { IButtonComponent, IButtonViewProps } from './Button.types';
import { Text } from '../../Text';
import { HorizontalStack } from '../../Stack';
import { HorizontalStack } from 'office-ui-fabric-react/lib/Stack';
khmakoto marked this conversation as resolved.
Show resolved Hide resolved
import { Icon, IIconProps } from 'office-ui-fabric-react';
import { getNativeProps, buttonProperties } from '../../Utilities';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from 'react';
import { Button } from '../index';
import { HorizontalStack, Text, VerticalStack } from '@uifabric/experiments';
import { HorizontalStack, VerticalStack } from 'office-ui-fabric-react/lib/Stack';
khmakoto marked this conversation as resolved.
Show resolved Hide resolved
import { Text } from '@uifabric/experiments';
import { ContextualMenu, IContextualMenuProps, Icon, CommandBar } from 'office-ui-fabric-react';

const menuItems = [{ key: 'a', name: 'Item a' }, { key: 'b', name: 'Item b' }];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from 'react';
import { FocusZone } from 'office-ui-fabric-react/lib/FocusZone';
import { DefaultButton } from 'office-ui-fabric-react/lib/Button';
import { HorizontalStack } from 'office-ui-fabric-react/lib/Stack';
import { CollapsibleSection } from '@uifabric/experiments/lib/CollapsibleSection';
import { HorizontalStack } from '@uifabric/experiments/lib/Stack';

export interface ICollapsibleSectionControlledExampleState {
collapsed: boolean;
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from 'react';
import { Text, VerticalStack } from '@uifabric/experiments';
import { VerticalStack } from 'office-ui-fabric-react/lib/Stack';
import { Text } from '@uifabric/experiments';
import { IFontVariants, IFontSizes, IFontWeights, IFontFamilies, IStyle } from '@uifabric/experiments/lib/Styling';
import { ISemanticTextColors, IPalette } from '@uifabric/experiments/lib/Styling';
import { createStatelessComponent, IStyleableComponentProps, IStatelessComponent } from '@uifabric/experiments/lib/Foundation';
Expand Down
12 changes: 0 additions & 12 deletions packages/experiments/src/demo/AppDefinition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ export const AppDefinition: IAppDefinition = {
name: 'FileTypeIcon',
url: '#/examples/filetypeicon'
},
{
component: require<any>('../components/Stack/HorizontalStack/HorizontalStackPage').HorizontalStackPage,
key: 'HorizontalStack',
name: 'HorizontalStack',
url: '#/examples/horizontalstack'
},
{
component: require<any>('../components/LayoutGroup/LayoutGroupPage').LayoutGroupPage,
key: 'LayoutGroup',
Expand Down Expand Up @@ -112,12 +106,6 @@ export const AppDefinition: IAppDefinition = {
name: 'Shimmer',
url: '#/examples/shimmer'
},
{
component: require<any>('../components/Stack/VerticalStack/VerticalStackPage').VerticalStackPage,
key: 'VerticalStack',
name: 'VerticalStack',
url: '#/examples/verticalstack'
},
{
component: require<any>('../components/VirtualizedList/VirtualizedListPage').VirtualizedListPage,
key: 'VirtualizedList',
Expand Down
1 change: 0 additions & 1 deletion packages/experiments/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export * from './LayoutGroup';
export * from './Shimmer';
export * from './Sidebar';
export * from './Signals';
export * from './Stack';
export * from './StaticList';
export * from './Text';
export * from './Tile';
Expand Down
2 changes: 1 addition & 1 deletion packages/experiments/src/theming/examples/Themes.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getNeutralVariant, getSoftVariant, getStrongVariant } from '@uifabric/variants';
import { IHorizontalStackComponent } from '@uifabric/experiments/lib/Stack';
import { IHorizontalStackComponent } from 'office-ui-fabric-react/lib/Stack';

import { createTheme, IPalette, ITheme, getTheme } from 'office-ui-fabric-react/lib/Styling';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import * as React from 'react';

import { CommandBar, Customizer, Toggle } from 'office-ui-fabric-react';
import { HorizontalStack, VerticalStack } from 'office-ui-fabric-react/lib/Stack';
import { farItems, items, overflowItems } from 'office-ui-fabric-react/lib/components/CommandBar/examples/data';
import { HorizontalStack, Text, VerticalStack } from '@uifabric/experiments';
import { Text } from '@uifabric/experiments';

// tslint:disable:max-line-length
import { CollapsibleSectionRecursiveExample } from '@uifabric/experiments/lib/components/CollapsibleSection/examples/CollapsibleSection.Recursive.Example';
Expand Down
1 change: 1 addition & 0 deletions packages/office-ui-fabric-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
},
"dependencies": {
"@microsoft/load-themed-styles": "^1.7.13",
"@uifabric/foundation": ">=0.5.7 <1.0.0",
"@uifabric/icons": ">=6.3.0 <7.0.0",
"@uifabric/merge-styles": ">=6.15.0 <7.0.0",
"@uifabric/set-version": ">=1.1.3 <2.0.0",
Expand Down
Loading