Skip to content

Commit

Permalink
intial Table Component - Remove Unused mock component
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahdi-Hazrati committed Oct 18, 2024
1 parent 7159c25 commit db00701
Show file tree
Hide file tree
Showing 29 changed files with 45 additions and 424 deletions.
5 changes: 5 additions & 0 deletions src/components/Table/Table.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default function Table (){
return (
<div className="w-full">Table</div>
)
}
53 changes: 0 additions & 53 deletions src/npui/Button.stories.ts

This file was deleted.

41 changes: 0 additions & 41 deletions src/npui/Button.tsx

This file was deleted.

33 changes: 0 additions & 33 deletions src/npui/Header.stories.ts

This file was deleted.

56 changes: 0 additions & 56 deletions src/npui/Header.tsx

This file was deleted.

4 changes: 4 additions & 0 deletions src/npui/Wellcome.mdx → src/npui/Introdcution.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { Meta } from "@storybook/blocks"

<Meta title="Core/Introduction" />

# 🧩 NPUI

Welcome to **npui** – a modern, flexible, and easy-to-use component library built with **Tailwind CSS**. Our goal is to empower developers to build beautiful UIs quickly and efficiently, while giving you full control over customization. Let's get you started! 🚀
Expand Down
32 changes: 0 additions & 32 deletions src/npui/Page.stories.ts

This file was deleted.

73 changes: 0 additions & 73 deletions src/npui/Page.tsx

This file was deleted.

11 changes: 11 additions & 0 deletions src/npui/Table.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { Meta, Canvas } from "@storybook/blocks"
import * as TableStories from "./Table.stories"

<Meta of={TableStories}/>


# Table
a fast and rich react data table


<Canvas of={TableStories.Default}/>
25 changes: 25 additions & 0 deletions src/npui/Table.stories.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import type {StoryObj} from "@storybook/react"
import Table from "@/components/Table/Table"

const meta = {
title : "Core/Table",
component : Table,
parameters : {
layout : "centered",
},
args : {
data : [],
column : []
}
}

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


export const Default : Story = {
args : {
data : [],
column : []
}
}
Binary file removed src/npui/assets/accessibility.png
Binary file not shown.
1 change: 0 additions & 1 deletion src/npui/assets/accessibility.svg

This file was deleted.

Binary file removed src/npui/assets/addon-library.png
Binary file not shown.
Binary file removed src/npui/assets/assets.png
Binary file not shown.
Binary file removed src/npui/assets/avif-test-image.avif
Binary file not shown.
Binary file removed src/npui/assets/context.png
Binary file not shown.
1 change: 0 additions & 1 deletion src/npui/assets/discord.svg

This file was deleted.

Binary file removed src/npui/assets/docs.png
Binary file not shown.
Binary file removed src/npui/assets/figma-plugin.png
Binary file not shown.
1 change: 0 additions & 1 deletion src/npui/assets/github.svg

This file was deleted.

Binary file removed src/npui/assets/share.png
Binary file not shown.
Binary file removed src/npui/assets/styling.png
Binary file not shown.
Binary file removed src/npui/assets/testing.png
Binary file not shown.
Binary file removed src/npui/assets/theming.png
Binary file not shown.
1 change: 0 additions & 1 deletion src/npui/assets/tutorials.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/npui/assets/youtube.svg

This file was deleted.

30 changes: 0 additions & 30 deletions src/npui/button.css

This file was deleted.

Loading

0 comments on commit db00701

Please sign in to comment.