Skip to content

Commit

Permalink
release 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi6jp committed Jan 28, 2024
1 parent fc2a791 commit c30a3c3
Show file tree
Hide file tree
Showing 33 changed files with 1,055 additions and 25 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ export default (props) => {
- [x] Diff
- [x] Kbd
- [x] Stat
- [ ] Table
- [ ] Timeline
- [x] Table
- [x] Timeline

#### Navigation

Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"next": "^14.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rsc-daisyui": "^0.3.4"
"rsc-daisyui": "^0.4.0"
},
"devDependencies": {
"@next/eslint-plugin-next": "^13.5.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/rsc-daisyui/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const config: StorybookConfig = {
options: {},
},
docs: {
autodocs: "tag",
autodocs: true,
},
};
export default config;
2 changes: 1 addition & 1 deletion packages/rsc-daisyui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rsc-daisyui",
"main": "./dist/index.js",
"version": "0.3.4",
"version": "0.4.0",
"description": "daisyUI for React Server Component",
"homepage": "https://yoshi6jp.github.io/rsc-daisyui/",
"bugs": {
Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/accordion/accordion.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { default as Accordion, AccordionBase } from "./accordion";
const meta: Meta<typeof Accordion> = {
title: "Data Display/Accordion",
component: Accordion,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(AccordionBase)),
};

Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/avatar/avatar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Avatar } from ".";
const meta: Meta<typeof Avatar> = {
title: "Data Display/Avatar",
component: Avatar,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Avatar)),
};

Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/badge/badge.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Badge } from ".";
const meta: Meta<typeof Badge> = {
title: "Data Display/Badge",
component: Badge,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Badge)),
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { BreadcrumbsBase, Breadcrumbs } from "./breadcrumbs";
const meta: Meta<typeof Breadcrumbs> = {
title: "Navigation/Breadcrumbs",
component: Breadcrumbs,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(BreadcrumbsBase)),
};

Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/button/button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Button } from "./button";
const meta: Meta<typeof Button> = {
title: "Actions/Button",
component: Button,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Button)),
render: ({ children, ...args }) => <Button {...args}>{children}</Button>,
};
Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/card/card.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Card } from ".";
const meta: Meta<typeof Card> = {
title: "Data Display/Card",
component: Card,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Card)),
};

Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/carousel/carousel.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Carousel } from ".";
const meta: Meta<typeof Carousel> = {
title: "Data Display/Carousel",
component: Carousel,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Carousel)),
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Chat } from ".";
const meta: Meta<typeof Chat.Bubble> = {
title: "Data Display/Chat bubble",
component: Chat.Bubble,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Chat.Bubble)),
};

Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/collapse/collapse.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { default as Collapse } from "./collapse";
const meta: Meta<typeof Collapse> = {
title: "Data Display/Collapse",
component: Collapse,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Collapse)),
};
export default meta;
Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/countdown/countdown.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { default as Countdown } from "./countdown";
const meta: Meta<typeof Countdown> = {
title: "Data Display/Countdown",
component: Countdown,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Countdown)),
};

Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/diff/diff.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Diff, DiffBase } from "./diff";
const meta: Meta<typeof Diff> = {
title: "Data Display/Diff",
component: Diff,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(DiffBase)),
parameters: {
controls: {
Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/dropdown/dropdown.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { default as Dropdown, DropdownBase } from "./dropdown";
const meta: Meta<typeof Dropdown> = {
title: "Actions/Dropdown",
component: Dropdown,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(DropdownBase)),
};

Expand Down
2 changes: 2 additions & 0 deletions packages/rsc-daisyui/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ export * from "./navbar";
export * from "./radio";
export * from "./swap";
export * from "./stat";
export * from "./table";
export * from "./theme";
export * from "./timeline";
export * from "./toggle";
3 changes: 1 addition & 2 deletions packages/rsc-daisyui/src/kbd/kbd.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import React from "react";
import type { Meta, StoryObj } from "@storybook/react";
import { getVariantConfig } from "@tw-classed/react";
import { Kbd } from ".";
import { toArgTypes } from "../storybook-helpers";
import { Kbd } from ".";

const meta: Meta<typeof Kbd> = {
title: "Data Display/Kbd",
component: Kbd,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Kbd)),
};
export default meta;
Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/loading/loading.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Loading } from ".";
const meta: Meta<typeof Loading> = {
title: "Feedback/Loading",
component: Loading,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Loading)),
};

Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/menu/menu.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Menu } from ".";
const meta: Meta<typeof Menu> = {
title: "Navigation/Menu",
component: Menu,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Menu)),
};

Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/modal/modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { Modal } from ".";
const meta: Meta<typeof Modal> = {
title: "Actions/Modal",
component: Modal,
tags: ["autodocs"],
argTypes: toArgTypes<ModalProps>(getVariantConfig(ModalBase), {
backdrop: "boolean",
}),
Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/navbar/navbar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Navbar } from ".";
const meta: Meta<typeof Navbar> = {
title: "Navigation/Navbar",
component: Navbar,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Navbar)),
};

Expand Down
1 change: 0 additions & 1 deletion packages/rsc-daisyui/src/stat/stat.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Stats } from ".";
const meta: Meta<typeof Stats> = {
title: "Data Display/Stat",
component: Stats,
tags: ["autodocs"],
argTypes: toArgTypes(getVariantConfig(Stats)),
};

Expand Down
1 change: 1 addition & 0 deletions packages/rsc-daisyui/src/table/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { Table } from "./table";
Loading

0 comments on commit c30a3c3

Please sign in to comment.