feat(docs): navbar manifest added

This commit is contained in:
Junior Garcia 2023-05-27 10:32:39 -03:00
parent dc0b3897d0
commit 0b3ebbcfdf
123 changed files with 705 additions and 96 deletions

View File

@ -8,7 +8,7 @@ import {TreeState, useTreeState} from "@react-stately/tree";
import {useSelectableCollection} from "@react-aria/selection";
import {usePress} from "@react-aria/interactions";
import {clsx, dataAttr} from "@nextui-org/shared-utils";
import {SpacerProps, Spacer, Link as NextUILink} from "@nextui-org/react";
import {SpacerProps, Spacer, Link as NextUILink, cn} from "@nextui-org/react";
import Link from "next/link";
import {isEmpty} from "lodash";
import {useRouter} from "next/router";
@ -198,9 +198,10 @@ export interface DocsSidebarProps {
routes?: Route[];
tag?: string;
slug?: string;
className?: string;
}
export const DocsSidebar: FC<DocsSidebarProps> = ({routes, slug, tag}) => {
export const DocsSidebar: FC<DocsSidebarProps> = ({routes, slug, tag, className}) => {
const expandedKeys = routes?.reduce((keys, route) => {
if (route.defaultOpen) {
keys.push(route.key);
@ -210,7 +211,7 @@ export const DocsSidebar: FC<DocsSidebarProps> = ({routes, slug, tag}) => {
}, [] as string[]);
return (
<div className="sticky top-20 mt-2 z-0 h-[calc(100vh-121px)]">
<div className={cn("lg:sticky lg:top-20 mt-2 z-0 lg:h-[calc(100vh-121px)]", className)}>
<Tree defaultExpandedKeys={expandedKeys} items={routes || []}>
{(route) => (
<Item

View File

@ -3,15 +3,20 @@ import {ReactNode, FC} from "react";
import {Head} from "./head";
import {Navbar} from "./navbar";
import {Footer} from "./footer";
import {Route} from "@/libs/docs/page";
export interface DefaultLayoutProps {
routes: Route[];
tag?: string;
slug?: string;
children: ReactNode;
}
export const DefaultLayout: FC<DefaultLayoutProps> = ({children}) => {
export const DefaultLayout: FC<DefaultLayoutProps> = ({children, routes, slug, tag}) => {
return (
<div id="app-container">
<Head />
<Navbar />
<Navbar routes={routes} slug={slug} tag={tag} />
<main className="container mx-auto max-w-7xl px-6">{children}</main>
<Footer />
</div>

View File

@ -50,7 +50,7 @@ export const DocsLayout: FC<DocsLayoutProps> = ({
return (
<div id="app-container">
<Head {...meta} />
<Navbar />
<Navbar routes={routes} slug={slug} tag={tag} />
<main className="container mx-auto max-w-7xl min-h-[calc(100vh_-_64px_-_108px)] px-6 mb-12">
<div className="grid grid-cols-12">
<div className="hidden relative lg:block lg:col-span-2 mt-8 pr-4">

View File

@ -1,10 +1,9 @@
import {useRef, useState} from "react";
import {useRef, useState, FC, ReactNode} from "react";
import {
link,
Navbar as NextUINavbar,
NavbarContent,
NavbarMenu,
NavbarMenuItem,
NavbarMenuToggle,
NavbarBrand,
NavbarItem,
@ -17,18 +16,32 @@ import {
DropdownItem,
DropdownTrigger,
} from "@nextui-org/react";
import dynamic from "next/dynamic";
import {ChevronDownIcon} from "@nextui-org/shared-icons";
import {clsx} from "@nextui-org/shared-utils";
import NextLink from "next/link";
import {useRouter} from "next/router";
import {includes} from "lodash";
import {Route} from "@/libs/docs/page";
import {NextUILogo, ThemeSwitch} from "@/components";
import {TwitterIcon, GithubIcon, DiscordIcon, HeartFilledIcon} from "@/components/icons";
import {useIsMounted} from "@/hooks/use-is-mounted";
import {isActive} from "@/utils/links";
export const Navbar = () => {
export interface NavbarProps {
routes: Route[];
tag?: string;
slug?: string;
children?: ReactNode;
}
const DocsSidebar = dynamic(
() => import("@/components/docs/sidebar").then((mod) => mod.DocsSidebar),
{ssr: false},
);
export const Navbar: FC<NavbarProps> = ({children, routes, slug, tag}) => {
const [isMenuOpen, setIsMenuOpen] = useState<boolean | undefined>(false);
const ref = useRef(null);
@ -36,19 +49,6 @@ export const Navbar = () => {
const router = useRouter();
const menuItems = [
"Profile",
"Dashboard",
"Activity",
"Analytics",
"System",
"Deployments",
"My Settings",
"Team Settings",
"Help & Feedback",
"Log Out",
];
const searchInput = (
<Input
aria-label="Search"
@ -191,20 +191,10 @@ export const Navbar = () => {
className="sm:hidden"
/>
</NavbarContent>
<NavbarMenu disableAnimation>
{menuItems.map((item, index) => (
<NavbarMenuItem key={`${item}-${index}`}>
<Link
color={
index === 2 ? "primary" : index === menuItems.length - 1 ? "danger" : "foreground"
}
href="#"
size="lg"
>
{item}
</Link>
</NavbarMenuItem>
))}
<DocsSidebar routes={routes} slug={slug} tag={tag} />
{children}
</NavbarMenu>
</NextUINavbar>
);

View File

@ -1,6 +1,7 @@
import {FC} from "react";
import {GetStaticProps} from "next";
import {Spacer} from "@nextui-org/react";
import {useRouter} from "next/router";
import {DefaultLayout} from "@/layouts";
import {
@ -16,15 +17,21 @@ import {
Community,
} from "@/components/marketing";
import landingContent from "@/content/landing";
import {Route, getCurrentTag, fetchDocsManifest} from "@/libs/docs/page";
import {getSponsors, Sponsor} from "@/libs/docs/sponsors";
import {getSlug} from "@/libs/docs/utils";
interface Props {
routes: Route[];
sponsors: Sponsor[];
}
const IndexPage: FC<Props> = ({sponsors}) => {
const IndexPage: FC<Props> = ({sponsors, routes}) => {
const {query} = useRouter();
const {tag, slug} = getSlug(query);
return (
<DefaultLayout>
<DefaultLayout routes={routes} slug={slug} tag={tag}>
<Hero />
<FeaturesGrid features={landingContent.topFeatures} />
<CustomThemes />
@ -42,10 +49,13 @@ const IndexPage: FC<Props> = ({sponsors}) => {
};
export const getStaticProps: GetStaticProps = async () => {
const tag = await getCurrentTag();
const manifest = await fetchDocsManifest(tag);
const sponsors = await getSponsors();
return {
props: {
routes: manifest.routes,
sponsors,
},
};

View File

@ -1,5 +1,20 @@
# @nextui-org/accordion
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/use-aria-accordion-item@0.0.0-dev-v2-20230527131721
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-icons@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/aria-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/accordion",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Collapse display a list of high-level options that can expand/collapse to reveal more information.",
"keywords": [
"react",

View File

@ -1,5 +1,17 @@
# @nextui-org/avatar
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/use-image@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/avatar",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.",
"keywords": [
"avatar"

View File

@ -1,5 +1,16 @@
# @nextui-org/badge
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/badge",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Badges are used as a small numerical value or status descriptor for UI elements.",
"keywords": [
"badge"

View File

@ -1,5 +1,19 @@
# @nextui-org/button
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/spinner@0.0.0-dev-v2-20230527131721
- @nextui-org/drip@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/button",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Buttons allow users to perform actions and choose with a single tap.",
"keywords": [
"button"

View File

@ -1,5 +1,18 @@
# @nextui-org/card
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/drip@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/card",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Card is a container for text, photos, and actions in the context of a single subject.",
"keywords": [
"card"

View File

@ -1,5 +1,16 @@
# @nextui-org/checkbox
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/checkbox",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Checkboxes allow users to select multiple items from a list of individual items, or to mark one individual item as selected.",
"keywords": [
"checkbox"

View File

@ -1,5 +1,17 @@
# @nextui-org/chip
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/chip",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Chips help people enter information, make selections, filter content, or trigger actions.",
"keywords": [
"chip"

View File

@ -1,5 +1,16 @@
# @nextui-org/code
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/code",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Code is a component used to display inline code.",
"keywords": [
"code"

View File

@ -1,5 +1,16 @@
# @nextui-org/divider
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/divider",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": ". A separator is a visual divider between two groups of content",
"keywords": [
"divider"

View File

@ -1,5 +1,16 @@
# @nextui-org/drip
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/drip",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "A ripple effect for ensuring that the user fells the system is reacting instantaneously",
"keywords": [
"drip"

View File

@ -1,5 +1,19 @@
# @nextui-org/dropdown
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/aria-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/use-is-mobile@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/popover@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/dropdown",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "A dropdown displays a list of actions or options that a user can choose.",
"keywords": [
"dropdown"

View File

@ -1,5 +1,17 @@
# @nextui-org/image
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/use-image@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/image",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "A simple image component",
"keywords": [
"image"

View File

@ -1,5 +1,18 @@
# @nextui-org/input
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/use-aria-field@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/input",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "The input component is designed for capturing user input within a text field.",
"keywords": [
"input"

View File

@ -1,5 +1,16 @@
# @nextui-org/kbd
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/kbd",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "The keyboard key components indicates which key or set of keys used to execute a specificv action",
"keywords": [
"kbd"

View File

@ -1,5 +1,17 @@
# @nextui-org/link
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/link",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Links allow users to click their way from page to page. This component is styled to resemble a hyperlink and semantically renders an &lt;a&gt;",
"keywords": [
"link"

View File

@ -1,5 +1,20 @@
# @nextui-org/modal
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-icons@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230527131721
- @nextui-org/use-disclosure@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/modal",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Displays a dialog with a custom content that requires attention or provides additional information.",
"keywords": [
"modal"

View File

@ -1,5 +1,19 @@
# @nextui-org/navbar
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/use-aria-toggle-button@0.0.0-dev-v2-20230527131721
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230527131721
- @nextui-org/use-scroll-position@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/navbar",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "A responsive navigation header positioned on top side of your page that includes support for branding, links, navigation, collapse and more.",
"keywords": [
"navbar"

View File

@ -1,5 +1,18 @@
# @nextui-org/pagination
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/use-pagination@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/pagination",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "The Pagination component allows you to display active page and navigate between multiple pages.",
"keywords": [
"pagination"

View File

@ -1,5 +1,20 @@
# @nextui-org/popover
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230527131721
- @nextui-org/aria-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/button@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/popover",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "A popover is an overlay element positioned relative to a trigger.",
"keywords": [
"popover"

View File

@ -1,5 +1,18 @@
# @nextui-org/progress
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230527131721
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/progress",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Progress bars show either determinate or indeterminate progress of an operation over time.",
"keywords": [
"progress"

View File

@ -1,5 +1,16 @@
# @nextui-org/radio
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/radio",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Radios allow users to select a single option from a list of mutually exclusive options.",
"keywords": [
"radio"

View File

@ -1,5 +1,16 @@
# @nextui-org/skeleton
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/skeleton",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Skeleton is used to display the loading state of some component.",
"keywords": [
"skeleton"

View File

@ -1,5 +1,20 @@
# @nextui-org/snippet
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/use-clipboard@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/tooltip@0.0.0-dev-v2-20230527131721
- @nextui-org/button@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/snippet",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Display a snippet of copyable code for the command line.",
"keywords": [
"snippet"

View File

@ -1,5 +1,16 @@
# @nextui-org/spacer
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/spacer",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "A flexible spacer component designed to create consistent spacing and maintain alignment in your layout.",
"keywords": [
"spacer"

View File

@ -1,5 +1,16 @@
# @nextui-org/spinner
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/spinner",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Loaders express an unspecified wait time or display the length of a process.",
"keywords": [
"loading",

View File

@ -1,5 +1,16 @@
# @nextui-org/switch
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/switch",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "A switch is similar to a checkbox, but represents on/off values as opposed to selection.",
"keywords": [
"switch"

View File

@ -1,5 +1,19 @@
# @nextui-org/table
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/checkbox@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/spacer@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/table",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Tables are used to display tabular data using rows and columns. ",
"keywords": [
"table"

View File

@ -1,5 +1,19 @@
# @nextui-org/tabs
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230527131721
- @nextui-org/aria-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/tabs",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Tabs organize content into multiple sections and allow users to navigate between them.",
"keywords": [
"tabs"

View File

@ -1,5 +1,18 @@
# @nextui-org/tooltip
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230527131721
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/aria-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/tooltip",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "A React Component for rendering dynamically positioned Tooltips",
"keywords": [
"tooltip"

View File

@ -1,5 +1,17 @@
# @nextui-org/user
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
- @nextui-org/avatar@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/user",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Flexible User Profile Component.",
"keywords": [
"user"

View File

@ -1,5 +1,44 @@
# @nextui-org/react
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/pagination@0.0.0-dev-v2-20230527131721
- @nextui-org/accordion@0.0.0-dev-v2-20230527131721
- @nextui-org/checkbox@0.0.0-dev-v2-20230527131721
- @nextui-org/dropdown@0.0.0-dev-v2-20230527131721
- @nextui-org/progress@0.0.0-dev-v2-20230527131721
- @nextui-org/skeleton@0.0.0-dev-v2-20230527131721
- @nextui-org/divider@0.0.0-dev-v2-20230527131721
- @nextui-org/popover@0.0.0-dev-v2-20230527131721
- @nextui-org/snippet@0.0.0-dev-v2-20230527131721
- @nextui-org/spinner@0.0.0-dev-v2-20230527131721
- @nextui-org/tooltip@0.0.0-dev-v2-20230527131721
- @nextui-org/avatar@0.0.0-dev-v2-20230527131721
- @nextui-org/button@0.0.0-dev-v2-20230527131721
- @nextui-org/navbar@0.0.0-dev-v2-20230527131721
- @nextui-org/spacer@0.0.0-dev-v2-20230527131721
- @nextui-org/switch@0.0.0-dev-v2-20230527131721
- @nextui-org/badge@0.0.0-dev-v2-20230527131721
- @nextui-org/image@0.0.0-dev-v2-20230527131721
- @nextui-org/input@0.0.0-dev-v2-20230527131721
- @nextui-org/modal@0.0.0-dev-v2-20230527131721
- @nextui-org/radio@0.0.0-dev-v2-20230527131721
- @nextui-org/table@0.0.0-dev-v2-20230527131721
- @nextui-org/card@0.0.0-dev-v2-20230527131721
- @nextui-org/chip@0.0.0-dev-v2-20230527131721
- @nextui-org/code@0.0.0-dev-v2-20230527131721
- @nextui-org/drip@0.0.0-dev-v2-20230527131721
- @nextui-org/link@0.0.0-dev-v2-20230527131721
- @nextui-org/tabs@0.0.0-dev-v2-20230527131721
- @nextui-org/user@0.0.0-dev-v2-20230527131721
- @nextui-org/kbd@0.0.0-dev-v2-20230527131721
- @nextui-org/system@0.0.0-dev-v2-20230527131721
- @nextui-org/theme@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/react",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "🚀 Beautiful and modern React UI library.",
"author": "Junior Garcia <jrgarciadev@gmail.com>",
"homepage": "https://nextui.org",

View File

@ -1,5 +1,11 @@
# @nextui-org/system
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/system",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "NextUI system primitives",
"keywords": [
"system"

View File

@ -1,5 +1,11 @@
# @nextui-org/theme
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/theme",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "The default theme for NextUI components",
"keywords": [
"theme",

View File

@ -1,5 +1,11 @@
# @nextui-org/use-aria-accordion-item
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-accordion-item",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Internal impl for react aria accordion item",
"keywords": [
"use-aria-accordion-item"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-aria-button
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-button",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning",
"keywords": [
"use-aria-button"

View File

@ -1,5 +1,14 @@
# @nextui-org/use-aria-field
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/use-aria-slot-id@0.0.0-dev-v2-20230527131721
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-field",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Based on react-aria useField hook, provides the accessibility implementation for input fields",
"keywords": [
"use-aria-field"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-aria-label
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-label",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Based on react-aria label hook, it provides the accessibility implementation for labels and their associated elements. Labels provide context for user inputs.",
"keywords": [
"use-aria-label"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-aria-slot-id
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-slot-id",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Based on react-aria useSlotId, used to generate an id, and after render check if that id is rendered",
"keywords": [
"use-aria-slot-id"

View File

@ -1,5 +1,13 @@
# @nextui-org/use-aria-toggle-button
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-toggle-button",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning",
"keywords": [
"use-aria-toggle-button"

View File

@ -1,5 +1,13 @@
# @nextui-org/use-callback-ref
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-callback-ref",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "React hook to persist any value between renders, but keeps it up-to-date if it changes.",
"keywords": [
"use-callback-ref"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-clipboard
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-clipboard",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "Wrapper around navigator.clipboard with feedback timeout",
"keywords": [
"use-clipboard"

View File

@ -1,5 +1,13 @@
# @nextui-org/use-disclosure
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/use-callback-ref@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-disclosure",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "The hook in charge of managing modals",
"keywords": [
"use-disclosure"

View File

@ -1,5 +1,13 @@
# @nextui-org/use-image
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-image",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "React hook for progressing image loading",
"keywords": [
"use-image"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-infinite-scroll
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-infinite-scroll",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "A hook for handling infinity scroll based on the IntersectionObserver API",
"keywords": [
"use-infinite-scroll"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-is-mobile
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-is-mobile",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "A hook that returns whether the device is mobile or not",
"keywords": [
"use-is-mobile"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-is-mounted
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-is-mounted",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "This hook can be used to render client-based components or run client logic",
"keywords": [
"use-is-mounted"

View File

@ -1,5 +1,13 @@
# @nextui-org/use-pagination
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-pagination",
"version": "0.0.0-dev-v2-20230526220125",
"version": "0.0.0-dev-v2-20230527131721",
"description": "State management hook for Pagination component, it lets you manage pagination with controlled and uncontrolled state",
"keywords": [
"use-pagination"

View File

@ -1,5 +1,13 @@
# @nextui-org/use-real-shape
## 0.0.0-dev-v2-20230527131721
### Patch Changes
- New snapshot
- Updated dependencies
- @nextui-org/dom-utils@0.0.0-dev-v2-20230527131721
## 0.0.0-dev-v2-20230526220125
### Patch Changes

Some files were not shown because too many files have changed in this diff Show More