2.5.3 • Published 2 months ago

@talend/storybook-docs v2.5.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

Talend Storybook doc tools

This package holds shared elements used in Storybook (themes) and its docs mode (.mdx files).

Getting Started

Clone the repository

$> git clone git@github.com:Talend/ui.git

Install the dependencies

$> yarn

Start Storybook and start editing

$> yarn workspace @talend/storybook-docs run start

How to integrate the shared theme in your storybook

In your .storybook directory you'll need to edit or create three files:

manager.js

import { addons } from '@storybook/addons';
import { create } from '@storybook/theming';
import { light } from '@talend/storybook-docs/lib/themes';
import '@talend/storybook-docs/dist/managerStyles.min.css';

addons.setConfig({
	theme: create(light),
});

manager-head.html

<link
	href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap"
	rel="stylesheet"
/>

preview.js

import '@talend/storybook-docs/dist/globalStyles.min.css';

License

Apache 2.0

2.5.2

2 months ago

2.5.3

2 months ago

2.5.0

1 year ago

2.4.3

1 year ago

2.5.1

9 months ago

2.4.2

1 year ago

2.4.1

1 year ago

2.4.0

1 year ago

2.3.1

1 year ago

2.3.0

2 years ago

2.2.1

2 years ago

1.2.0

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.1.6

2 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago