Skip to content
Snippets Groups Projects
Commit ac98be48 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

chore(deps): upgrade storybook to version 8

parent 594a395e
No related branches found
No related tags found
2 merge requests!783V3.0.0,!774chore(deps): upgrade storybook to version 8
......@@ -6,6 +6,7 @@ const config: StorybookConfig = {
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@storybook/addon-a11y',
'@storybook/addon-mdx-gfm'
],
framework: {
name: '@storybook/angular',
......
This diff is collapsed.
......@@ -8,7 +8,6 @@ import { ButtonComponent } from './button.component';
const meta: Meta<ButtonComponent> = {
title: 'Components/Button',
component: ButtonComponent,
tags: ['autodocs'],
decorators: [
moduleMetadata({
declarations: [SvgIconComponent],
......
import { Canvas, Donts, Dos, Meta, Stories } from '@storybook/blocks';
import { Canvas, Controls, Donts, Dos, Meta, Stories } from '@storybook/blocks';
import * as ButtonStories from './Button.stories';
......@@ -20,3 +20,7 @@ Il existe trois tailles de boutons en hauteur :
## Exemples
<Stories />
## Controls
<Controls />
......@@ -8,7 +8,6 @@ import { ColorBlockComponent } from './color-block.component';
const meta: Meta<ColorBlockComponent> = {
title: 'UI/ColorBlock',
component: ColorBlockComponent,
// tags: ['autodocs'],
decorators: [
moduleMetadata({
declarations: [SvgIconComponent],
......
......@@ -31,7 +31,7 @@ export const SingleButton: Story = {
cancelLabel: 'Annuler',
singleButton: true,
},
render: (args: Partial<ModalComponent>) => ({
render: (args) => ({
template: `<app-modal [opened]="${args.opened}"
[validateLabel]="'${args.validateLabel}'"
[cancelLabel]="'${args.cancelLabel}'"
......
import { CommonModule } from '@angular/common';
import { EventEmitter } from '@angular/core';
import type { Meta, StoryObj } from '@storybook/angular';
import { moduleMetadata } from '@storybook/angular';
import { SvgIconComponent } from '../svg-icon/svg-icon.component';
......@@ -27,7 +26,6 @@ export const Small: Story = {
label: 'Label tag',
size: 'small',
clickable: true,
action: new EventEmitter(),
},
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment