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

@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/nextjs-vite'
import CampaignRateCard from '.'
const meta: Meta<typeof CampaignRateCard> = {
title: 'Components/RateCard/Campaign',
title: 'Product Components/RateCard/Campaign',
component: CampaignRateCard,
decorators: [
(Story) => (

View File

@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/nextjs-vite'
import CodeRateCard from '.'
const meta: Meta<typeof CodeRateCard> = {
title: 'Components/RateCard/Code',
title: 'Product Components/RateCard/Code',
component: CodeRateCard,
decorators: [
(Story) => (

View File

@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/nextjs-vite'
import NoRateAvailableCard from '.'
const meta: Meta<typeof NoRateAvailableCard> = {
title: 'Components/RateCard/NoRateAvailable',
title: 'Product Components/RateCard/NoRateAvailable',
component: NoRateAvailableCard,
decorators: [
(Story) => (

View File

@@ -3,7 +3,7 @@ import type { Meta, StoryObj } from '@storybook/nextjs-vite'
import PointsRateCard from '.'
const meta: Meta<typeof PointsRateCard> = {
title: 'Components/RateCard/Points',
title: 'Product Components/RateCard/Points',
component: PointsRateCard,
decorators: [
(Story) => (

View File

@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/nextjs-vite'
import RegularRateCard from '.'
const meta: Meta<typeof RegularRateCard> = {
title: 'Components/RateCard/Regular',
title: 'Product Components/RateCard/Regular',
component: RegularRateCard,
decorators: [
(Story) => (