Skip to content

Commit b58f672

Browse files
authored
Storybook: update deprecated code in v6+ (#1508)
1 parent a814bb7 commit b58f672

File tree

10 files changed

+15
-17
lines changed

10 files changed

+15
-17
lines changed

stories/components/agenda/agenda.a.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { html } from 'lit-element';
99
import { withCodeEditor } from '../../../.storybook/addons/codeEditorAddon/codeAddon';
1010

1111
export default {
12-
title: 'Components | mgt-agenda',
12+
title: 'Components / mgt-agenda',
1313
component: 'mgt-agenda',
1414
decorators: [withCodeEditor]
1515
};

stories/components/file/file.a.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { html } from 'lit-element';
99
import { withCodeEditor } from '../../../.storybook/addons/codeEditorAddon/codeAddon';
1010

1111
export default {
12-
title: 'Components | mgt-file',
12+
title: 'Components / mgt-file',
1313
component: 'mgt-file',
1414
decorators: [withCodeEditor]
1515
};

stories/components/fileList/fileList.a.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { html } from 'lit-element';
99
import { withCodeEditor } from '../../../.storybook/addons/codeEditorAddon/codeAddon';
1010

1111
export default {
12-
title: 'Components | mgt-file-list',
12+
title: 'Components / mgt-file-list',
1313
component: 'mgt-file-list',
1414
decorators: [withCodeEditor]
1515
};

stories/components/people/people.a.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { html } from 'lit-element';
99
import { withCodeEditor } from '../../../.storybook/addons/codeEditorAddon/codeAddon';
1010

1111
export default {
12-
title: 'Components | mgt-people',
12+
title: 'Components / mgt-people',
1313
component: 'mgt-people',
1414
decorators: [withCodeEditor]
1515
};

stories/components/peoplePicker/peoplePicker.a.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { html } from 'lit-element';
99
import { withCodeEditor } from '../../../.storybook/addons/codeEditorAddon/codeAddon';
1010

1111
export default {
12-
title: 'Components | mgt-people-picker',
12+
title: 'Components / mgt-people-picker',
1313
component: 'mgt-people-picker',
1414
decorators: [withCodeEditor]
1515
};
@@ -74,10 +74,9 @@ export const copyOrCutToPaste = () => html`
7474
<mgt-people-picker></mgt-people-picker>
7575
`;
7676

77-
7877
export const pasteListOfUserIds = () => html`
7978
<mgt-people-picker></mgt-people-picker>
8079
<!-- You can paste emails or user IDs that are delimited with a comma(",") or semi-colon(";") -->
8180
<!-- 48d31887-5fad-4d73-a9f5-3c356e68a038,24fcbca3-c3e2-48bf-9ffc-c7f81b81483d -->
8281
83-
`
82+
`;

stories/components/person/person.style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { html } from 'lit-element';
99
import { withCodeEditor } from '../../../.storybook/addons/codeEditorAddon/codeAddon';
1010

1111
export default {
12-
title: 'Components | mgt-person / Style',
12+
title: 'Components / mgt-person / Style',
1313
component: 'mgt-person',
1414
decorators: [withCodeEditor]
1515
};

stories/components/personCard/personCard.a.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { html } from 'lit-element';
99
import { withCodeEditor } from '../../../.storybook/addons/codeEditorAddon/codeAddon';
1010

1111
export default {
12-
title: 'Components | mgt-person-card',
12+
title: 'Components / mgt-person-card',
1313
component: 'mgt-person-card',
1414
decorators: [withCodeEditor]
1515
};

stories/components/teamsChannelPicker/teamsChannelPicker.a.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { html } from 'lit-element';
99
import { withCodeEditor } from '../../../.storybook/addons/codeEditorAddon/codeAddon';
1010

1111
export default {
12-
title: 'Components | mgt-teams-channel-picker',
12+
title: 'Components / mgt-teams-channel-picker',
1313
component: 'mgt-teams-channel-picker',
1414
decorators: [withCodeEditor]
1515
};
@@ -82,7 +82,6 @@ export const RTL = () => html`
8282
</body>
8383
`;
8484

85-
8685
export const Localization = () => html`
8786
<mgt-teams-channel-picker></mgt-teams-channel-picker>
8887
<script>

stories/feedback.stories.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Meta } from '@storybook/addon-docs/blocks';
1+
import { Meta } from '@storybook/addon-docs';
22

33
<Meta title="Feedback" />
44

stories/overview.stories.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { Meta } from '@storybook/addon-docs/blocks';
1+
import { Meta } from '@storybook/addon-docs';
22

33
<Meta title="Overview" />
44

5-
# Microsoft Graph Toolkit: UI Components and Authentication Providers for Microsoft Graph
5+
# Microsoft Graph Toolkit: UI Components and Authentication Providers for Microsoft Graph
66

77
The Microsoft Graph Toolkit is a collection of reusable, framework-agnostic components and authentication providers for accessing and working with Microsoft Graph. The components are fully functional right of out of the box, with built in providers that authenticate with and fetch data from Microsoft Graph.
88

@@ -30,7 +30,7 @@ npm i @microsoft/mgt
3030

3131
### Components
3232

33-
The Microsoft Graph Toolkit includes a collection of web components for the most commonly built experiences powered by Microsoft Graph APIs.
33+
The Microsoft Graph Toolkit includes a collection of web components for the most commonly built experiences powered by Microsoft Graph APIs.
3434

3535
The components are also available as [React components](https://docs.microsoft.com/graph/toolkit/get-started/mgt-react).
3636

@@ -67,6 +67,7 @@ The components are also available as [React components](https://docs.microsoft.c
6767
## Who should use it?
6868

6969
The Microsoft Graph Toolkit is great for developers of all experience levels looking to develop an app that connects to and accesses data from Microsoft Graph, such as a:
70+
7071
- Web app
7172
- Microsoft Teams tab
7273
- SharePoint web part
@@ -81,9 +82,8 @@ The Microsoft Graph Toolkit is supported in the following browsers.
8182
| --------------------------------------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
8283
| **Edge** | **Firefox** | **Chrome** | **Safari** | **Opera** | **Samsung** |
8384

84-
8585
## Next steps
8686

8787
- Read our [documentation](https://aka.ms/mgt/docs).
8888
- [Get started](https://docs.microsoft.com/graph/toolkit/get-started/overview) with the Microsoft Graph Toolkit.
89-
- Check out the Microsoft Graph Toolkit on [GitHub](https://aka.ms/mgt).
89+
- Check out the Microsoft Graph Toolkit on [GitHub](https://aka.ms/mgt).

0 commit comments

Comments
 (0)