mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
feat(docs): headings and toc enhacements
This commit is contained in:
parent
0e558c60c3
commit
6f12edbfc6
@ -4,16 +4,16 @@ import {Divider, Spacer} from "@nextui-org/react";
|
||||
import {ChevronCircleTopLinearIcon} from "@nextui-org/shared-icons";
|
||||
import scrollIntoView from "scroll-into-view-if-needed";
|
||||
|
||||
import {Heading} from "@/utils/docs-utils";
|
||||
import {Heading} from "@/libs/docs/utils";
|
||||
import {useScrollSpy} from "@/hooks/use-scroll-spy";
|
||||
|
||||
export interface DocsTocProps {
|
||||
headings: Heading[];
|
||||
}
|
||||
|
||||
const paddingLeftByLevel: Record<string, string> = {
|
||||
const paddingLeftByLevel: Record<number, string> = {
|
||||
1: "pl-0",
|
||||
2: "pl-3",
|
||||
2: "pl-0",
|
||||
3: "pl-3",
|
||||
4: "pl-3",
|
||||
};
|
||||
@ -43,8 +43,6 @@ export const DocsToc: FC<DocsTocProps> = ({headings}) => {
|
||||
}
|
||||
}, [activeId]);
|
||||
|
||||
if (headings.length <= 0) return null;
|
||||
|
||||
const activeIndex = headings.findIndex(({id}) => id == activeId);
|
||||
const firstId = headings[0].id;
|
||||
|
||||
@ -59,16 +57,16 @@ export const DocsToc: FC<DocsTocProps> = ({headings}) => {
|
||||
<li
|
||||
key={i}
|
||||
className={clsx(
|
||||
"transition-colors",
|
||||
"flex items-center text-sm font-normal text-foreground/30",
|
||||
"data-[active=true]:text-foreground/80",
|
||||
"data-[active=true]:font-medium",
|
||||
"before:content-['']",
|
||||
"before:opacity-0",
|
||||
"data-[active=true]:before:opacity-100",
|
||||
"before:transition-opacity",
|
||||
"before:mr-3",
|
||||
"before:block",
|
||||
"before:bg-default-300",
|
||||
"before:-ml-3",
|
||||
"before:absolute",
|
||||
"before:bg-default-400",
|
||||
"before:w-1",
|
||||
"before:h-1",
|
||||
"before:rounded-full",
|
||||
|
||||
@ -174,7 +174,7 @@ export const Hero = () => {
|
||||
const isMounted = useIsMounted();
|
||||
|
||||
return (
|
||||
<section className="flex relative w-full flex-nowrap justify-between items-center h-[calc(100vh_-_64px)] 2xl:h-[calc(84vh_-_64px)]">
|
||||
<section className="flex relative overflow-hidden lg:overflow-visible w-full flex-nowrap justify-between items-center h-[calc(100vh_-_64px)] 2xl:h-[calc(84vh_-_64px)]">
|
||||
<div className="flex flex-col gap-6 w-full lg:w-1/2 xl:mt-10">
|
||||
<div className="text-center leading-8 md:leading-10 md:text-left">
|
||||
<div className="inline-block">
|
||||
|
||||
@ -48,6 +48,7 @@ const Tcol: React.FC<{children?: React.ReactNode}> = ({children}) => {
|
||||
|
||||
export interface LinkedHeadingProps {
|
||||
as: keyof JSX.IntrinsicElements;
|
||||
id?: string;
|
||||
linked?: boolean;
|
||||
children?: React.ReactNode;
|
||||
className?: string;
|
||||
@ -60,12 +61,18 @@ const linkedLevels: Record<string, number> = {
|
||||
h4: 3,
|
||||
};
|
||||
|
||||
const LinkedHeading: React.FC<LinkedHeadingProps> = ({as, linked = true, className, ...props}) => {
|
||||
const LinkedHeading: React.FC<LinkedHeadingProps> = ({
|
||||
as,
|
||||
linked = true,
|
||||
id: idProp,
|
||||
className,
|
||||
...props
|
||||
}) => {
|
||||
const Component = as;
|
||||
|
||||
const level = linkedLevels[as] || 1;
|
||||
|
||||
const id = virtualAnchorEncode(props.children as string);
|
||||
let id = idProp || virtualAnchorEncode(props.children as string);
|
||||
|
||||
return (
|
||||
<Component
|
||||
@ -76,7 +83,7 @@ const LinkedHeading: React.FC<LinkedHeadingProps> = ({as, linked = true, classNa
|
||||
id={id}
|
||||
{...props}
|
||||
>
|
||||
{linked ? <VirtualAnchor>{props.children}</VirtualAnchor> : <>{props.children}</>}
|
||||
{linked ? <VirtualAnchor id={id}>{props.children}</VirtualAnchor> : <>{props.children}</>}
|
||||
</Component>
|
||||
);
|
||||
};
|
||||
@ -189,7 +196,7 @@ export const MDXComponents = ({
|
||||
),
|
||||
Steps: ({...props}) => (
|
||||
<div
|
||||
className="[&>h3]:step [&>h3>a]:pt-0.5 mb-12 ml-4 border-l border-default-100 pl-[1.625rem] [counter-reset:step]"
|
||||
className="[&>h3]:step [&>h3>a]:pt-0.5 mb-12 ml-4 relative border-l border-default-100 pl-[1.625rem] [counter-reset:step]"
|
||||
{...props}
|
||||
/>
|
||||
),
|
||||
|
||||
@ -18,7 +18,7 @@ export const title = tv({
|
||||
},
|
||||
size: {
|
||||
sm: "text-3xl lg:text-4xl",
|
||||
md: "text-4xl lg:text-5xl",
|
||||
md: "text-[2.5rem] lg:text-5xl",
|
||||
lg: "text-4xl lg:text-6xl",
|
||||
},
|
||||
fullWidth: {
|
||||
|
||||
@ -4,6 +4,7 @@ import {Link} from "@nextui-org/react";
|
||||
import {LinkLinearIcon} from "@/components/icons";
|
||||
|
||||
export interface Props {
|
||||
id?: string;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
@ -13,20 +14,20 @@ export const virtualAnchorEncode = (text?: string) => {
|
||||
return text.toLowerCase().replace(/ /g, "-");
|
||||
};
|
||||
|
||||
export const VirtualAnchor: React.FC<Props> = ({children}) => {
|
||||
export const VirtualAnchor: React.FC<Props> = ({children, id}) => {
|
||||
const ref = useRef<HTMLAnchorElement>(null);
|
||||
const [id, setId] = useState<string | undefined>();
|
||||
const [anchorId, setAnchorId] = useState<string | undefined>();
|
||||
|
||||
useEffect(() => {
|
||||
if (!ref.current) return;
|
||||
setId(virtualAnchorEncode(ref.current.textContent || undefined));
|
||||
}, [ref.current]);
|
||||
if (!ref.current || !id) return;
|
||||
setAnchorId(virtualAnchorEncode(ref.current.textContent || undefined));
|
||||
}, [ref.current, id]);
|
||||
|
||||
return (
|
||||
<Link
|
||||
ref={ref}
|
||||
className="relative w-fit flex items-center gap-1 group text-inherit"
|
||||
href={`#${id}`}
|
||||
href={`#${id || anchorId}`}
|
||||
>
|
||||
{children}
|
||||
<span className="opacity-0 transition-opacity group-hover:opacity-100">
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import {FC, useEffect, useState} from "react";
|
||||
import {FC} from "react";
|
||||
import {Link as NextUILink, Image} from "@nextui-org/react";
|
||||
import Link from "next/link";
|
||||
import dynamic from "next/dynamic";
|
||||
@ -9,10 +9,11 @@ import {Footer} from "./footer";
|
||||
|
||||
import {Route} from "@/libs/docs/page";
|
||||
import {MetaProps} from "@/libs/docs/meta";
|
||||
import {Heading, getHeadings} from "@/utils/docs-utils";
|
||||
import {Heading} from "@/libs/docs/utils";
|
||||
import {FooterNav, DocsToc} from "@/components/docs";
|
||||
import {GITHUB_URL, REPO_NAME} from "@/libs/github/constants";
|
||||
import {CONTENT_PATH, TAG} from "@/libs/docs/config";
|
||||
|
||||
export interface DocsLayoutProps {
|
||||
routes: Route[];
|
||||
currentRoute?: Route;
|
||||
@ -21,6 +22,7 @@ export interface DocsLayoutProps {
|
||||
meta?: MetaProps;
|
||||
tag?: string;
|
||||
slug?: string;
|
||||
headings?: Heading[];
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
@ -35,16 +37,11 @@ export const DocsLayout: FC<DocsLayoutProps> = ({
|
||||
currentRoute,
|
||||
prevRoute,
|
||||
nextRoute,
|
||||
headings,
|
||||
tag,
|
||||
slug,
|
||||
meta,
|
||||
}) => {
|
||||
const [headings, setHeadings] = useState<Heading[]>([]);
|
||||
|
||||
useEffect(() => {
|
||||
setHeadings(getHeadings());
|
||||
}, [routes]);
|
||||
|
||||
const editUrl = `${GITHUB_URL}/${REPO_NAME}/edit/${TAG}/${CONTENT_PATH}${currentRoute?.path}`;
|
||||
|
||||
return (
|
||||
@ -71,9 +68,11 @@ export const DocsLayout: FC<DocsLayoutProps> = ({
|
||||
)}
|
||||
</footer>
|
||||
</div>
|
||||
<div className="hidden xl:flex xl:col-span-2 mt-8 pl-4">
|
||||
<DocsToc headings={headings} />
|
||||
</div>
|
||||
{headings && headings.length > 0 && (
|
||||
<div className="hidden xl:flex xl:col-span-2 mt-8 pl-4">
|
||||
<DocsToc headings={headings} />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</main>
|
||||
<Footer align="right" />
|
||||
|
||||
@ -17,7 +17,7 @@ import {
|
||||
DropdownTrigger,
|
||||
} from "@nextui-org/react";
|
||||
import dynamic from "next/dynamic";
|
||||
import {ChevronDownIcon} from "@nextui-org/shared-icons";
|
||||
import {ChevronDownIcon, LinkIcon} from "@nextui-org/shared-icons";
|
||||
import {clsx} from "@nextui-org/shared-utils";
|
||||
import NextLink from "next/link";
|
||||
import {useRouter} from "next/router";
|
||||
@ -105,7 +105,9 @@ export const Navbar: FC<NavbarProps> = ({children, routes, slug, tag}) => {
|
||||
selectionMode="single"
|
||||
>
|
||||
<DropdownItem key="v2">v2.0.0</DropdownItem>
|
||||
<DropdownItem key="v1">v1.0.0</DropdownItem>
|
||||
<DropdownItem key="v1" endContent={<LinkIcon />}>
|
||||
v1.0.0
|
||||
</DropdownItem>
|
||||
</DropdownMenu>
|
||||
</Dropdown>
|
||||
) : (
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import {ParsedUrlQuery} from "querystring";
|
||||
|
||||
export type SlugParams = ParsedUrlQuery | undefined;
|
||||
export type Heading = {level: number; text: string; id: string};
|
||||
|
||||
export interface SlugResponse {
|
||||
slug: string;
|
||||
@ -25,3 +26,19 @@ export function getSlug(params: SlugParams): SlugResponse {
|
||||
|
||||
return {slug: `/docs/${slug.join("/")}`};
|
||||
}
|
||||
|
||||
export function extractHeadings(compiledSource: string): Heading[] {
|
||||
const regex = /mdx\("(h\d)",[a-z]\(\{},{id:"(.*?)"\}\),"([^"]*?)"/g;
|
||||
let match;
|
||||
const headings = [];
|
||||
|
||||
while ((match = regex.exec(compiledSource)) !== null) {
|
||||
const [, level, id, text] = match;
|
||||
// Check if text is ending with "),mdx", if so, remove it.
|
||||
let cleanedText = text.endsWith('"),mdx') ? text.slice(0, -6) : text;
|
||||
|
||||
headings.push({level: parseInt(level.replace("h", "")), text: cleanedText, id});
|
||||
}
|
||||
|
||||
return headings;
|
||||
}
|
||||
|
||||
@ -36,13 +36,13 @@
|
||||
"hast-util-to-html": "7.1.2",
|
||||
"lodash": "^4.17.21",
|
||||
"mini-svg-data-uri": "^1.4.3",
|
||||
"mitt": "3.0.0",
|
||||
"next": "13.4.1",
|
||||
"next-mdx-remote": "^3.0.2",
|
||||
"next-themes": "^0.2.1",
|
||||
"nprogress": "^0.2.0",
|
||||
"parse-numeric-range": "1.2.0",
|
||||
"prism-react-renderer": "^1.2.1",
|
||||
"nprogress": "^0.2.0",
|
||||
"mitt": "3.0.0",
|
||||
"querystring": "^0.2.1",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0",
|
||||
@ -50,6 +50,7 @@
|
||||
"refractor": "3.3.1",
|
||||
"rehype": "11.0.0",
|
||||
"rehype-parse": "7.0.1",
|
||||
"rehype-slug": "^5.1.0",
|
||||
"remark-autolink-headings": "^6.0.1",
|
||||
"remark-slug": "^6.0.0",
|
||||
"scroll-into-view-if-needed": "2.2.29",
|
||||
@ -59,11 +60,11 @@
|
||||
"devDependencies": {
|
||||
"@next/env": "^13.4.2",
|
||||
"@react-types/shared": "^3.18.0",
|
||||
"@types/nprogress": "^0.2.0",
|
||||
"@tailwindcss/typography": "^0.5.9",
|
||||
"@types/canvas-confetti": "^1.4.2",
|
||||
"@types/lodash": "^4.14.194",
|
||||
"@types/node": "18.16.0",
|
||||
"@types/nprogress": "^0.2.0",
|
||||
"@types/parse-numeric-range": "^0.0.1",
|
||||
"@types/react": "^18.0.1",
|
||||
"@types/react-dom": "^18.0.0",
|
||||
|
||||
@ -7,9 +7,10 @@ import {MDXRemote, MDXRemoteSerializeResult} from "next-mdx-remote";
|
||||
import {GetStaticProps, GetStaticPaths} from "next";
|
||||
import matter from "gray-matter";
|
||||
import {serialize} from "next-mdx-remote/serialize";
|
||||
import rehypeSlugPlugin from "rehype-slug";
|
||||
|
||||
import {MetaProps} from "@/libs/docs/meta";
|
||||
import {getSlug} from "@/libs/docs/utils";
|
||||
import {getSlug, extractHeadings, Heading} from "@/libs/docs/utils";
|
||||
import {DocsLayout} from "@/layouts/docs";
|
||||
import {
|
||||
Route,
|
||||
@ -28,6 +29,7 @@ import * as componentsContent from "@/content/components";
|
||||
interface DocsPageProps {
|
||||
routes: Route[];
|
||||
currentRoute?: Route;
|
||||
headings?: Heading[];
|
||||
source?: MDXRemoteSerializeResult;
|
||||
meta?: MetaProps;
|
||||
}
|
||||
@ -37,7 +39,7 @@ const scope = {
|
||||
...componentsContent,
|
||||
};
|
||||
|
||||
const DocsPage: FC<DocsPageProps> = ({routes, currentRoute, source, meta}) => {
|
||||
const DocsPage: FC<DocsPageProps> = ({routes, currentRoute, headings, source, meta}) => {
|
||||
const {route, prevRoute, nextRoute} = useDocsRoute(routes, currentRoute);
|
||||
const {query} = useRouter();
|
||||
const {tag, slug} = getSlug(query);
|
||||
@ -45,6 +47,7 @@ const DocsPage: FC<DocsPageProps> = ({routes, currentRoute, source, meta}) => {
|
||||
return (
|
||||
<DocsLayout
|
||||
currentRoute={route}
|
||||
headings={headings}
|
||||
meta={meta}
|
||||
nextRoute={nextRoute}
|
||||
prevRoute={prevRoute}
|
||||
@ -101,7 +104,11 @@ export const getStaticProps: GetStaticProps = async ({params}) => {
|
||||
meta = data;
|
||||
}
|
||||
|
||||
const mdxSource = await serialize(doc);
|
||||
const mdxSource = await serialize(doc, {
|
||||
mdxOptions: {
|
||||
rehypePlugins: [rehypeSlugPlugin as any],
|
||||
},
|
||||
});
|
||||
|
||||
const routes = manifest.routes.map((route: any) => {
|
||||
if (route.icon) {
|
||||
@ -118,6 +125,7 @@ export const getStaticProps: GetStaticProps = async ({params}) => {
|
||||
props: {
|
||||
routes,
|
||||
meta,
|
||||
headings: extractHeadings(mdxSource.compiledSource),
|
||||
source: mdxSource,
|
||||
currentRoute: route,
|
||||
},
|
||||
|
||||
@ -6,25 +6,23 @@
|
||||
@import 'nprogress.css';
|
||||
|
||||
html {
|
||||
height: 100vh;
|
||||
font-size: 16px;
|
||||
padding: 0px !important;
|
||||
overflow-x: hidden;
|
||||
scroll-padding-top: 64px;
|
||||
}
|
||||
|
||||
body,
|
||||
#__next {
|
||||
height: 100%;
|
||||
body {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/*
|
||||
@media screen and (max-width: 640px) {
|
||||
#app-container {
|
||||
height: 100vh;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
@layer base {
|
||||
:root {
|
||||
|
||||
@ -3,21 +3,3 @@ export function removeFromLast<T>(path: string, key: string): string | T {
|
||||
|
||||
return i === -1 ? path : path.substring(0, i);
|
||||
}
|
||||
|
||||
export interface Heading {
|
||||
text: string;
|
||||
id: string;
|
||||
level: string;
|
||||
}
|
||||
|
||||
export function getHeadings(): Heading[] {
|
||||
const headings = document.getElementsByClassName("linked-heading") as HTMLCollection;
|
||||
|
||||
return Array.from(headings).map((h) => {
|
||||
return {
|
||||
id: h.getAttribute("data-id"),
|
||||
text: h.getAttribute("data-name"),
|
||||
level: h.getAttribute("data-level"),
|
||||
};
|
||||
}) as Heading[];
|
||||
}
|
||||
|
||||
@ -1,5 +1,20 @@
|
||||
# @nextui-org/accordion
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-aria-accordion-item@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/aria-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/accordion",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Collapse display a list of high-level options that can expand/collapse to reveal more information.",
|
||||
"keywords": [
|
||||
"react",
|
||||
|
||||
@ -1,5 +1,17 @@
|
||||
# @nextui-org/avatar
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-image@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/avatar",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.",
|
||||
"keywords": [
|
||||
"avatar"
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
# @nextui-org/badge
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/badge",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Badges are used as a small numerical value or status descriptor for UI elements.",
|
||||
"keywords": [
|
||||
"badge"
|
||||
|
||||
@ -1,5 +1,19 @@
|
||||
# @nextui-org/button
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/spinner@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/drip@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/button",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Buttons allow users to perform actions and choose with a single tap.",
|
||||
"keywords": [
|
||||
"button"
|
||||
|
||||
@ -1,5 +1,18 @@
|
||||
# @nextui-org/card
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/drip@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/card",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Card is a container for text, photos, and actions in the context of a single subject.",
|
||||
"keywords": [
|
||||
"card"
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
# @nextui-org/checkbox
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/checkbox",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Checkboxes allow users to select multiple items from a list of individual items, or to mark one individual item as selected.",
|
||||
"keywords": [
|
||||
"checkbox"
|
||||
|
||||
@ -1,5 +1,17 @@
|
||||
# @nextui-org/chip
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/chip",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Chips help people enter information, make selections, filter content, or trigger actions.",
|
||||
"keywords": [
|
||||
"chip"
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
# @nextui-org/code
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/code",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Code is a component used to display inline code.",
|
||||
"keywords": [
|
||||
"code"
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
# @nextui-org/divider
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/divider",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": ". A separator is a visual divider between two groups of content",
|
||||
"keywords": [
|
||||
"divider"
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
# @nextui-org/drip
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/drip",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "A ripple effect for ensuring that the user fells the system is reacting instantaneously",
|
||||
"keywords": [
|
||||
"drip"
|
||||
|
||||
@ -1,5 +1,19 @@
|
||||
# @nextui-org/dropdown
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/aria-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-is-mobile@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/popover@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/dropdown",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "A dropdown displays a list of actions or options that a user can choose.",
|
||||
"keywords": [
|
||||
"dropdown"
|
||||
|
||||
@ -56,9 +56,9 @@ const DropdownItem = forwardRef<DropdownItemProps, "li">((props, _) => {
|
||||
) : (
|
||||
<span {...getLabelProps()}>{rendered}</span>
|
||||
)}
|
||||
{endContent}
|
||||
{shortcut && <kbd {...getKeyboardShortcutProps()}>{shortcut}</kbd>}
|
||||
{isSelectable && <span {...getSelectedIconProps()}>{selectedContent}</span>}
|
||||
{endContent}
|
||||
</Component>
|
||||
);
|
||||
});
|
||||
|
||||
@ -1,5 +1,17 @@
|
||||
# @nextui-org/image
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-image@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/image",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "A simple image component",
|
||||
"keywords": [
|
||||
"image"
|
||||
|
||||
@ -1,5 +1,18 @@
|
||||
# @nextui-org/input
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-aria-field@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/input",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "The input component is designed for capturing user input within a text field.",
|
||||
"keywords": [
|
||||
"input"
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
# @nextui-org/kbd
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/kbd",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "The keyboard key components indicates which key or set of keys used to execute a specificv action",
|
||||
"keywords": [
|
||||
"kbd"
|
||||
|
||||
@ -1,5 +1,17 @@
|
||||
# @nextui-org/link
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/link",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Links allow users to click their way from page to page. This component is styled to resemble a hyperlink and semantically renders an <a>",
|
||||
"keywords": [
|
||||
"link"
|
||||
|
||||
@ -1,5 +1,20 @@
|
||||
# @nextui-org/modal
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-disclosure@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/modal",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Displays a dialog with a custom content that requires attention or provides additional information.",
|
||||
"keywords": [
|
||||
"modal"
|
||||
|
||||
@ -1,5 +1,19 @@
|
||||
# @nextui-org/navbar
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-aria-toggle-button@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-scroll-position@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/navbar",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "A responsive navigation header positioned on top side of your page that includes support for branding, links, navigation, collapse and more.",
|
||||
"keywords": [
|
||||
"navbar"
|
||||
|
||||
@ -1,5 +1,18 @@
|
||||
# @nextui-org/pagination
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-pagination@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/pagination",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "The Pagination component allows you to display active page and navigate between multiple pages.",
|
||||
"keywords": [
|
||||
"pagination"
|
||||
|
||||
@ -1,5 +1,20 @@
|
||||
# @nextui-org/popover
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/aria-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/button@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/popover",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "A popover is an overlay element positioned relative to a trigger.",
|
||||
"keywords": [
|
||||
"popover"
|
||||
|
||||
@ -1,5 +1,18 @@
|
||||
# @nextui-org/progress
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/progress",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Progress bars show either determinate or indeterminate progress of an operation over time.",
|
||||
"keywords": [
|
||||
"progress"
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
# @nextui-org/radio
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/radio",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Radios allow users to select a single option from a list of mutually exclusive options.",
|
||||
"keywords": [
|
||||
"radio"
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
# @nextui-org/skeleton
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/skeleton",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Skeleton is used to display the loading state of some component.",
|
||||
"keywords": [
|
||||
"skeleton"
|
||||
|
||||
@ -1,5 +1,20 @@
|
||||
# @nextui-org/snippet
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-clipboard@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/tooltip@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/button@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/snippet",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Display a snippet of copyable code for the command line.",
|
||||
"keywords": [
|
||||
"snippet"
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
# @nextui-org/spacer
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/spacer",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "A flexible spacer component designed to create consistent spacing and maintain alignment in your layout.",
|
||||
"keywords": [
|
||||
"spacer"
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
# @nextui-org/spinner
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/spinner",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Loaders express an unspecified wait time or display the length of a process.",
|
||||
"keywords": [
|
||||
"loading",
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
# @nextui-org/switch
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/switch",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "A switch is similar to a checkbox, but represents on/off values as opposed to selection.",
|
||||
"keywords": [
|
||||
"switch"
|
||||
|
||||
@ -1,5 +1,19 @@
|
||||
# @nextui-org/table
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/checkbox@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/spacer@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/table",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Tables are used to display tabular data using rows and columns. ",
|
||||
"keywords": [
|
||||
"table"
|
||||
|
||||
@ -1,5 +1,19 @@
|
||||
# @nextui-org/tabs
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/aria-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/tabs",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Tabs organize content into multiple sections and allow users to navigate between them.",
|
||||
"keywords": [
|
||||
"tabs"
|
||||
|
||||
@ -1,5 +1,18 @@
|
||||
# @nextui-org/tooltip
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/aria-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/tooltip",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "A React Component for rendering dynamically positioned Tooltips",
|
||||
"keywords": [
|
||||
"tooltip"
|
||||
|
||||
@ -1,5 +1,17 @@
|
||||
# @nextui-org/user
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/avatar@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/user",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Flexible User Profile Component.",
|
||||
"keywords": [
|
||||
"user"
|
||||
|
||||
@ -1,5 +1,44 @@
|
||||
# @nextui-org/react
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/pagination@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/accordion@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/checkbox@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/dropdown@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/progress@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/skeleton@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/divider@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/popover@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/snippet@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/spinner@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/tooltip@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/avatar@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/button@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/navbar@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/spacer@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/switch@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/badge@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/image@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/input@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/modal@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/radio@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/table@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/card@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/chip@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/code@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/drip@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/link@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/tabs@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/user@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/kbd@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/react",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "🚀 Beautiful and modern React UI library.",
|
||||
"author": "Junior Garcia <jrgarciadev@gmail.com>",
|
||||
"homepage": "https://nextui.org",
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# @nextui-org/system
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/system",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "NextUI system primitives",
|
||||
"keywords": [
|
||||
"system"
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# @nextui-org/theme
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/theme",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "The default theme for NextUI components",
|
||||
"keywords": [
|
||||
"theme",
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# @nextui-org/use-aria-accordion-item
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-aria-accordion-item",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Internal impl for react aria accordion item",
|
||||
"keywords": [
|
||||
"use-aria-accordion-item"
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# @nextui-org/use-aria-button
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-aria-button",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"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"
|
||||
|
||||
@ -1,5 +1,14 @@
|
||||
# @nextui-org/use-aria-field
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-aria-slot-id@0.0.0-dev-v2-20230530213135
|
||||
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-aria-field",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Based on react-aria useField hook, provides the accessibility implementation for input fields",
|
||||
"keywords": [
|
||||
"use-aria-field"
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# @nextui-org/use-aria-label
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-aria-label",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"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"
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# @nextui-org/use-aria-slot-id
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-aria-slot-id",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"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"
|
||||
|
||||
@ -1,5 +1,13 @@
|
||||
# @nextui-org/use-aria-toggle-button
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-aria-toggle-button",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"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"
|
||||
|
||||
@ -1,5 +1,13 @@
|
||||
# @nextui-org/use-callback-ref
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-callback-ref",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "React hook to persist any value between renders, but keeps it up-to-date if it changes.",
|
||||
"keywords": [
|
||||
"use-callback-ref"
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# @nextui-org/use-clipboard
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-clipboard",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "Wrapper around navigator.clipboard with feedback timeout",
|
||||
"keywords": [
|
||||
"use-clipboard"
|
||||
|
||||
@ -1,5 +1,13 @@
|
||||
# @nextui-org/use-disclosure
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-callback-ref@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-disclosure",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "The hook in charge of managing modals",
|
||||
"keywords": [
|
||||
"use-disclosure"
|
||||
|
||||
@ -1,5 +1,13 @@
|
||||
# @nextui-org/use-image
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230530213135
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-image",
|
||||
"version": "0.0.0-dev-v2-20230530022806",
|
||||
"version": "0.0.0-dev-v2-20230530213135",
|
||||
"description": "React hook for progressing image loading",
|
||||
"keywords": [
|
||||
"use-image"
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# @nextui-org/use-infinite-scroll
|
||||
|
||||
## 0.0.0-dev-v2-20230530213135
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Input styles changed
|
||||
|
||||
## 0.0.0-dev-v2-20230530022806
|
||||
|
||||
### Patch Changes
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user