diff --git a/.changeset/dull-jeans-clean.md b/.changeset/dull-jeans-clean.md new file mode 100644 index 000000000..ea8610876 --- /dev/null +++ b/.changeset/dull-jeans-clean.md @@ -0,0 +1,62 @@ +--- +"@nextui-org/use-aria-accordion-item": patch +"@nextui-org/use-aria-modal-overlay": patch +"@nextui-org/use-aria-toggle-button": patch +"@nextui-org/use-safe-layout-effect": patch +"@nextui-org/framer-transitions": patch +"@nextui-org/use-infinite-scroll": patch +"@nextui-org/use-scroll-position": patch +"@nextui-org/use-update-effect": patch +"@nextui-org/use-callback-ref": patch +"@nextui-org/shared-icons": patch +"@nextui-org/shared-utils": patch +"@nextui-org/pagination": patch +"@nextui-org/use-aria-button": patch +"@nextui-org/react-utils": patch +"@nextui-org/accordion": patch +"@nextui-org/use-disclosure": patch +"@nextui-org/use-is-mounted": patch +"@nextui-org/use-pagination": patch +"@nextui-org/use-real-shape": patch +"@nextui-org/aria-utils": patch +"@nextui-org/test-utils": patch +"@nextui-org/checkbox": patch +"@nextui-org/dropdown": patch +"@nextui-org/progress": patch +"@nextui-org/skeleton": patch +"@nextui-org/use-clipboard": patch +"@nextui-org/use-is-mobile": patch +"@nextui-org/use-ref-state": patch +"@nextui-org/divider": patch +"@nextui-org/popover": patch +"@nextui-org/snippet": patch +"@nextui-org/spinner": patch +"@nextui-org/tooltip": patch +"@nextui-org/avatar": patch +"@nextui-org/button": patch +"@nextui-org/navbar": patch +"@nextui-org/ripple": patch +"@nextui-org/spacer": patch +"@nextui-org/switch": patch +"@nextui-org/badge": patch +"@nextui-org/image": patch +"@nextui-org/input": patch +"@nextui-org/modal": patch +"@nextui-org/radio": patch +"@nextui-org/table": patch +"@nextui-org/use-resize": patch +"@nextui-org/card": patch +"@nextui-org/chip": patch +"@nextui-org/code": patch +"@nextui-org/link": patch +"@nextui-org/tabs": patch +"@nextui-org/user": patch +"@nextui-org/use-image": patch +"@nextui-org/kbd": patch +"@nextui-org/use-ssr": patch +"@nextui-org/system": patch +"@nextui-org/react": patch +"@nextui-org/theme": patch +--- + +Introducing NextUI v2.0 diff --git a/.changeset/fluffy-peaches-warn.md b/.changeset/fluffy-peaches-warn.md new file mode 100644 index 000000000..cfaa784d0 --- /dev/null +++ b/.changeset/fluffy-peaches-warn.md @@ -0,0 +1,62 @@ +--- +"@nextui-org/use-aria-accordion-item": patch +"@nextui-org/use-aria-modal-overlay": patch +"@nextui-org/use-aria-toggle-button": patch +"@nextui-org/use-safe-layout-effect": patch +"@nextui-org/framer-transitions": patch +"@nextui-org/use-infinite-scroll": patch +"@nextui-org/use-scroll-position": patch +"@nextui-org/use-update-effect": patch +"@nextui-org/use-callback-ref": patch +"@nextui-org/shared-icons": patch +"@nextui-org/shared-utils": patch +"@nextui-org/pagination": patch +"@nextui-org/use-aria-button": patch +"@nextui-org/react-utils": patch +"@nextui-org/accordion": patch +"@nextui-org/use-disclosure": patch +"@nextui-org/use-is-mounted": patch +"@nextui-org/use-pagination": patch +"@nextui-org/use-real-shape": patch +"@nextui-org/aria-utils": patch +"@nextui-org/test-utils": patch +"@nextui-org/checkbox": patch +"@nextui-org/dropdown": patch +"@nextui-org/progress": patch +"@nextui-org/skeleton": patch +"@nextui-org/use-clipboard": patch +"@nextui-org/use-is-mobile": patch +"@nextui-org/use-ref-state": patch +"@nextui-org/divider": patch +"@nextui-org/popover": patch +"@nextui-org/snippet": patch +"@nextui-org/spinner": patch +"@nextui-org/tooltip": patch +"@nextui-org/avatar": patch +"@nextui-org/button": patch +"@nextui-org/navbar": patch +"@nextui-org/ripple": patch +"@nextui-org/spacer": patch +"@nextui-org/switch": patch +"@nextui-org/badge": patch +"@nextui-org/image": patch +"@nextui-org/input": patch +"@nextui-org/modal": patch +"@nextui-org/radio": patch +"@nextui-org/table": patch +"@nextui-org/use-resize": patch +"@nextui-org/card": patch +"@nextui-org/chip": patch +"@nextui-org/code": patch +"@nextui-org/link": patch +"@nextui-org/tabs": patch +"@nextui-org/user": patch +"@nextui-org/use-image": patch +"@nextui-org/kbd": patch +"@nextui-org/use-ssr": patch +"@nextui-org/system": patch +"@nextui-org/react": patch +"@nextui-org/theme": patch +--- + +Introducing v2 - Readmes updated diff --git a/apps/docs/app/blog/[slug]/page.tsx b/apps/docs/app/blog/[slug]/page.tsx index f87de8c3a..786a9f586 100644 --- a/apps/docs/app/blog/[slug]/page.tsx +++ b/apps/docs/app/blog/[slug]/page.tsx @@ -11,7 +11,6 @@ import {MDXContent} from "@/components/mdx-content"; import {siteConfig} from "@/config/site"; import {Route} from "@/libs/docs/page"; import {ChevronRightLinearIcon} from "@/components/icons"; -import {__PROD__} from "@/utils"; interface BlogPostProps { params: { @@ -79,7 +78,7 @@ export async function generateStaticParams(): Promise export default async function DocPage({params}: BlogPostProps) { const {post} = await getBlogPostFromParams({params}); - if (!post || __PROD__) { + if (!post) { notFound(); } diff --git a/apps/docs/app/blog/page.tsx b/apps/docs/app/blog/page.tsx index a5331d9ca..309386e9b 100644 --- a/apps/docs/app/blog/page.tsx +++ b/apps/docs/app/blog/page.tsx @@ -2,15 +2,10 @@ import {allBlogPosts} from "contentlayer/generated"; import {compareDesc} from "date-fns"; import {BlogPostList} from "@/components/blog-post"; -import {__PROD__} from "@/utils"; export default function Blog() { const posts = allBlogPosts.sort((a, b) => compareDesc(new Date(a.date), new Date(b.date))); - if (__PROD__) { - return null; - } - return (
diff --git a/apps/docs/app/figma/page.tsx b/apps/docs/app/figma/page.tsx new file mode 100644 index 000000000..38c1808ff --- /dev/null +++ b/apps/docs/app/figma/page.tsx @@ -0,0 +1,56 @@ +import {Button, Image, Link} from "@nextui-org/react"; + +import {Blockquote} from "@/components/docs/components/blockquote"; + +export default function FigmaPage() { + return ( + <> +
+
+
+

NextUI Figma Kit

+
+ A Figma file that contains the basis of the NextUI design system to help you design + your applications. +
+
+ +