Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/agenda rebase #193

Merged
6 commits merged into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/nine-trainers-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'storybook-pages': minor
---

Add AgendaPage, Add subject modal
31 changes: 31 additions & 0 deletions packages/storybook-pages/src/Pages/AgendaPage/AgendaPage.mock.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
export const texts = {
addSubject: 'Ajouter un sujet',
cancel: 'Annuler',
color: 'color',
displaySpecificResultNbr(number: number): string {
return `Afficher ${number} résultats`;
},
editDocument: 'Edit document',
formContentLabel: 'Content',
formContentPlaceholder: 'Description',
formEndTimeLabel: 'End time',
formEndTimeName: 'endTime',
formStartTimeLabel: 'Start time',
formStartTimeName: 'startTime',
formTitleLabel: 'Titre',
indicator: 'Indicateurs',
indicatorColorData: ['blue', 'red', 'green', 'orange'],
modalCheckBox: 'Nouveau titre',
name: 'name',
of: 'De',
pdfExport: 'Export PDF',
remove: 'Supprimer',
removeVerif: 'Etes-vous sûr que vous voulez supprimer ?',
resutsNbr: 'Number of results per page',
schedules: 'Horaires',
sidebarToggleLabel: 'Afficher la barre latéral',
timeErrorMessage: 'Invalid end time.',
to: 'à',
topics: 'Sujets',
value: 'value',
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import type { Meta, StoryObj } from '@storybook/react';

import { AgendaPage as Cmp } from './AgendaPage';

const meta = {
component: Cmp,
parameters: {
layout: 'fullscreen',
},
title: '3-custom/Pages/AgendaPage',
} satisfies Meta<typeof Cmp>;

export default meta;
type IStory = StoryObj<typeof meta>;

export const AgendaPage: IStory = {
args: {},
};
Loading
Loading