-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Initialized package and storybook
- Loading branch information
1 parent
3539665
commit db38deb
Showing
13 changed files
with
3,545 additions
and
2,036 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
public-hoist-pattern[]=@nextui-org* | ||
public-hoist-pattern[]=@nextui-org* | ||
public-hoist-pattern[]=@storybook/* |
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,3 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; |
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 @@ | ||
# Packages |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@do-ob/mild", | ||
"name": "@do-ob/ui", | ||
"version": "0.0.0", | ||
"description": "A mild TailwindCSS component library for React 19+", | ||
"description": "A TailwindCSS and NextUI (Open Source) components library for React.", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
|
@@ -20,18 +20,17 @@ | |
"react", | ||
"tailwindcss", | ||
"typescript", | ||
"mild", | ||
"minimal", | ||
"unstyled" | ||
"nextui" | ||
], | ||
"author": "Eric Crowell <[email protected]> (https://do-ob.io)", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "tsc" | ||
"build": "tsc --project tsconfig.build.json" | ||
}, | ||
"dependencies": { | ||
"@headlessui/react": "2", | ||
"@heroicons/react": "2" | ||
"@heroicons/react": "^2.1.3", | ||
"@nextui-org/react": "^2.4.1", | ||
"framer-motion": "^11.2.10" | ||
}, | ||
"peerDependencies": { | ||
"react": "rc" | ||
|
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,14 @@ | ||
import type { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { Navigation } from './Navigation'; | ||
|
||
const meta = { | ||
component: Navigation, | ||
layout: 'fullscreen', | ||
} as Meta<typeof Navigation>; | ||
|
||
export default meta; | ||
|
||
type Story = StoryObj<typeof meta>; | ||
|
||
export const Default: Story = {}; |
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,13 @@ | ||
import { Navbar, NavbarContent, NavbarBrand } from '@nextui-org/react'; | ||
|
||
export function Navigation() { | ||
return ( | ||
<Navbar className=''> | ||
<NavbarContent> | ||
<NavbarBrand>NextUI</NavbarBrand> | ||
</NavbarContent> | ||
</Navbar> | ||
); | ||
} | ||
|
||
export default Navigation; |
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 @@ | ||
export { Navigation } from "./Navigation/Navigation"; |
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,13 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"declaration": true, | ||
"allowImportingTsExtensions": false, | ||
"emitDeclarationOnly": false, | ||
"noEmit": false, | ||
"declarationDir": "./dist", | ||
"outDir": "./dist", | ||
}, | ||
"include": ["src"], | ||
"exclude": ["src/**/*.stories.tsx"] | ||
} |
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
Oops, something went wrong.