Skip to content

Commit

Permalink
refactor: convert dynamic titles to static in Storybook files
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasHeimGalindo committed Jun 15, 2023
1 parent df95124 commit 068c546
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/addon-docs";

<Meta title={`Docs/Global Configuration`} />
<Meta title={'Docs/Global Configuration'} />

## Global Configuration
The global configuration provides a way to change the configuration of all components. For more information about the integration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Meta} from "@storybook/addon-docs";

<Meta title={`Docs/Styleguide/Typography`}/>
<Meta title={'Docs/Styleguide/Typography'}/>

<h1 class="display">Typography</h1>

Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/src/stories/docs/stylesheet.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Meta} from "@storybook/addon-docs";

<Meta title={`Docs/Stylesheet`}/>
<Meta title={'Docs/Stylesheet'}/>

# Stylesheet
To make your application look like the inovex-elements from top to bottom,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { decorateStoryWithClass } from '../utils';
import './ino-currency-input.scss';

export default {
title: `Input/ino-currency-input`,
title: 'Input/ino-currency-input',
component: 'ino-currency-input',
decorators: [
story => decorateStoryWithClass(story, 'story-ino-currency-input'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { TemplateGenerator } from '../template-generator';
import './ino-menu.scss';

export default {
title: `Structure/ino-menu`,
title: 'Structure/ino-menu',
component: 'ino-menu',
decorators: [(story) => decorateStoryWithClass(story, 'story-ino-menu')],
args: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const clickHandler = (e) => {
};

export default {
title: `Structure/ino-nav-drawer`,
title: 'Structure/ino-nav-drawer',
component: 'ino-nav-drawer',
parameters: {
actions: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Components } from '@inovex.de/elements';
import { TemplateGenerator } from '../template-generator'

export default {
title: `Structure/ino-nav-item`,
title: 'Structure/ino-nav-item',
component: 'ino-nav-item',
args:{
text: 'Nav item',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { TemplateGenerator } from '../template-generator';
import { Components } from '@inovex.de/elements';

export default {
title: `Notification/ino-popover`,
title: 'Notification/ino-popover',
component: 'ino-popover',
parameters: {
actions: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import './ino-tab-bar.scss';
const eventHandler = (e) => e.target.setAttribute('active-tab', e.detail);

export default {
title: `Structure/ino-tab-bar`,
title: 'Structure/ino-tab-bar',
component: 'ino-tab-bar',
decorators: [
(story) => decorateStoryWithClass(story, 'story-tab-bar'),
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/src/stories/ino-tab/ino-tab.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { TemplateGenerator } from '../template-generator';
import { decorateStoryWithClass, withIconControl } from '../utils';

export default {
title: `Structure/ino-tab`,
title: 'Structure/ino-tab',
component: 'ino-tab',
decorators: [(story) => decorateStoryWithClass(story)],
args: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import './ino-table-header-cell.scss';
import { registerInlineDatepickerHandler } from '../ino-datepicker/utils';

export default {
title: `Structure/ino-table-header-cell`,
title: 'Structure/ino-table-header-cell',
component: 'ino-table-header-cell',
decorators: [
(story) => decorateStoryWithClass(story, 'story-ino-table-header-cell'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { TemplateGenerator } from '../template-generator';
import './ino-table.scss';

export default {
title: `Structure/ino-table`,
title: 'Structure/ino-table',
component: 'ino-table',
inline: true,
decorators: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { TemplateGenerator } from '../template-generator';
import './ino-tooltip.scss';

export default {
title: `Notification/ino-tooltip`,
title: 'Notification/ino-tooltip',
component: 'ino-tooltip',
decorators: [(story) => decorateStoryWithClass(story, 'story-tooltip')],
argTypes: {
Expand Down

0 comments on commit 068c546

Please sign in to comment.