-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
141 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { Meta, StoryObj } from '@storybook/react'; | ||
import { Calendar } from 'src/views/components/calendar/Calendar/Calendar'; | ||
|
||
const meta = { | ||
title: 'Components/Calendar/Calendar', | ||
component: Calendar, | ||
parameters: { | ||
layout: 'centered', | ||
}, | ||
tags: ['autodocs'], | ||
argTypes: { | ||
|
||
}, | ||
} satisfies Meta<typeof Calendar>; | ||
export default meta; | ||
|
||
type Story = StoryObj<typeof meta>; | ||
|
||
export const Default: Story = { | ||
args: { | ||
|
||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React from 'react'; | ||
import CalendarHeader from 'src/views/components/calendar/CalendarHeader/CalenderHeader'; | ||
import { CalendarBottomBar } from '../CalendarBottomBar/CalendarBottomBar'; | ||
import { CalendarSchedules } from '../CalendarSchedules/CalendarSchedules'; | ||
import ImportantLinks from '../ImportantLinks'; | ||
import CalendarGrid from '../CalendarGrid/CalendarGrid'; | ||
|
||
export const flags = ['WR', 'QR', 'GC', 'CD', 'E', 'II']; | ||
|
||
interface Props { | ||
label: string; | ||
} | ||
|
||
/** | ||
* A reusable chip component that follows the design system of the extension. | ||
* @returns | ||
*/ | ||
export function Calendar(): JSX.Element { | ||
return ( | ||
<> | ||
<CalendarHeader /> | ||
<div className='h-screen w-full flex flex-col md:flex-row'> | ||
<div className='min-h-[30%] flex flex-col items-start gap-2.5 p-5 pl-7'> | ||
<div className='min-h-[30%]'> | ||
<CalendarSchedules /> | ||
</div> | ||
<ImportantLinks /> | ||
</div> | ||
<div className='flex flex-grow flex-col gap-4 overflow-hidden'> | ||
<div className='flex-grow overflow-auto'> | ||
<CalendarGrid /> | ||
</div> | ||
<div> | ||
<CalendarBottomBar /> | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters