From b00753d5b75c6a7ab9b3f9b4552d092199316eee Mon Sep 17 00:00:00 2001
From: Anass Bouassaba
Date: Wed, 20 Nov 2024 05:40:21 +0100
Subject: [PATCH] feat: enrich apple bundle
---
src/stories/bundles/app.stories.tsx | 218 ++++++++++++++----
src/stories/bundles/layout.stories.tsx | 24 +-
src/stories/bundles/page.stories.tsx | 4 +-
.../components/account-menu.stories.tsx | 11 +-
src/stories/components/data-table.stories.tsx | 4 +-
5 files changed, 182 insertions(+), 79 deletions(-)
diff --git a/src/stories/bundles/app.stories.tsx b/src/stories/bundles/app.stories.tsx
index 58bc897..c2542f8 100644
--- a/src/stories/bundles/app.stories.tsx
+++ b/src/stories/bundles/app.stories.tsx
@@ -6,11 +6,19 @@ import {
MenuItem,
Progress,
Switch,
- Link as ChakraLink,
+ Link,
useDisclosure,
Tabs,
TabList,
Tab,
+ Card,
+ CardBody,
+ Accordion,
+ AccordionItem,
+ AccordionButton,
+ AccordionIcon,
+ AccordionPanel,
+ CircularProgress,
} from '@chakra-ui/react'
import {
AccountMenu,
@@ -21,11 +29,14 @@ import {
IconAdd,
IconAdminPanelSettings,
IconChat,
+ IconCheckCircle,
IconDelete,
IconEdit,
+ IconError,
IconFavorite,
IconFlag,
IconGroup,
+ IconHourglass,
IconLogout,
IconStacks,
IconTune,
@@ -34,14 +45,18 @@ import {
Logo,
NumberTag,
PagePagination,
+ Pagination,
SearchBar,
+ SectionError,
+ SectionPlaceholder,
+ SectionSpinner,
Shell,
+ Text,
usePagePagination,
} from '@koupr/ui'
import { Meta, StoryObj } from '@storybook/react'
import cx from 'classnames'
import {
- Link,
Outlet,
Route,
Routes,
@@ -75,30 +90,18 @@ const App = () => {
>
}
/>
-
- Commodo volutpat facilisis habitant; mattis ultrices mauris ex
- nisi. Consequat nascetur lacus sed fames convallis pretium sit
- justo. Gravida curabitur condimentum hac mi, ridiculus montes.
- Eros commodo porttitor erat amet primis imperdiet. Morbi at
- potenti volutpat litora viverra dapibus sapien. Fermentum sodales
- nullam aliquam fusce aliquam.
-
- }
- />
+ } />
- Dis eros primis condimentum a porttitor orci curabitur. Aluctus
- arcu blandit dui facilisi interdum pretium tristique. Cras nam
- congue parturient posuere tempor lectus? Felis hendrerit penatibus
- semper maximus convallis tortor. Et potenti quisque ex phasellus
- magnis leo netus. Hac enim ante curae odio libero feugiat metus
- conubia tincidunt.
-
+ } variant="solid">
+ New Organization
+
+ }
+ />
}
/>
@@ -146,13 +149,7 @@ const Layout = ({ children }: LayoutProps) => {
}
buttons={
<>
- }
- variant="solid"
- colorScheme="blue"
- >
+ } variant="solid" colorScheme="blue">
New Workspace
{
}
header="Uploads"
- body={<>>}
+ body={
+ } variant="solid">
+ Upload File
+
+ }
+ />
+ }
isOpen={uploads.isOpen}
onClose={uploads.onClose}
onOpen={uploads.onOpen}
@@ -171,7 +177,7 @@ const Layout = ({ children }: LayoutProps) => {
}
header="Tasks"
- body={<>>}
+ body={}
hasBadge={true}
isOpen={tasks.isOpen}
onOpen={tasks.onOpen}
@@ -183,10 +189,8 @@ const Layout = ({ children }: LayoutProps) => {
hasBadge={true}
menuItems={
<>
-
-