Merged in feat/SW-3636-storybook-structure (pull request #3309)

feat(SW-3636): Storybook structure

* New sections in Storybook sidebar

* Group Storybook content files and add token files for spacing, border radius and shadows


Approved-by: Joakim Jäderberg
This commit is contained in:
Rasmus Langvad
2025-12-08 12:35:14 +00:00
parent 177c2e7176
commit ca6cc5ab6c
83 changed files with 1272 additions and 525 deletions

View File

@@ -3,7 +3,11 @@ import { mergeConfig } from 'vite'
const config: StorybookConfig = {
framework: '@storybook/nextjs-vite',
stories: ['../lib/**/*.mdx', '../lib/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
stories: [
'../lib/**/*.mdx',
'../lib/**/*.stories.@(js|jsx|mjs|ts|tsx)',
'./content/**/*.mdx',
],
addons: [
'@storybook/addon-links',
'@storybook/addon-themes',