feat(docs): some improvements applied, button and spinner styles fixed

This commit is contained in:
Junior Garcia 2023-05-31 21:20:49 -03:00
parent 4b8655e267
commit 89f2bc9be4
126 changed files with 763 additions and 122 deletions

View File

@ -195,7 +195,7 @@ function Tree<T extends object>(props: CollectionBase<T> & Expandable & Multiple
<ul
{...collectionProps}
ref={ref}
className="flex flex-col gap-4 scrollbar-hide overflow-y-scroll max-h-[calc(100vh_-_64px)] pb-28"
className="flex flex-col gap-4 scrollbar-hide lg:overflow-y-scroll lg:max-h-[calc(100vh_-_64px)] pb-28"
role="tree"
>
{[...state.collection].map((item) => {

View File

@ -1,4 +1,4 @@
import {FC, useState, useEffect} from "react";
import {FC} from "react";
import {VisuallyHidden} from "@react-aria/visually-hidden";
import {SwitchProps, useSwitch} from "@nextui-org/react";
import {useTheme} from "next-themes";
@ -13,7 +13,6 @@ export interface ThemeSwitchProps {
export const ThemeSwitch: FC<ThemeSwitchProps> = ({className, classNames}) => {
const {theme, setTheme} = useTheme();
const [mounted, setMounted] = useState(false);
const onChange = () => {
theme === "light" ? setTheme("dark") : setTheme("light");
@ -24,14 +23,6 @@ export const ThemeSwitch: FC<ThemeSwitchProps> = ({className, classNames}) => {
onChange,
});
useEffect(() => {
setMounted(true);
}, []);
if (!mounted) {
return <div className="w-6 h-6" />;
}
return (
<Component
{...getBaseProps({

View File

@ -8,8 +8,15 @@ url: https://nextui.org/docs/guide/introduction
Welcome to the NextUI documentation!
<NextImage priority src="/nextui-banner.png" quality={100} width={500} height={500} alt="NextUI banner" className="w-full border border-transparent dark:border-default-200/50 object-fit rounded-xl shadow-lg" />
<NextImage
priority
src="/nextui-banner.png"
quality={100}
width={500}
height={500}
alt="NextUI banner"
className="w-full border border-transparent dark:border-default-200/50 object-fit rounded-xl shadow-lg"
/>
## What is NextUI?
@ -18,7 +25,7 @@ NextUI is a UI library for React that helps you build beautiful and accessible u
NextUI's primary goal is to streamline the development process, offering a beautiful and adaptable system design for an enhanced user experience.
-----
---
## FAQ
@ -30,56 +37,82 @@ NextUI's primary goal is to streamline the development process, offering a beaut
### How is NextUI different from TailwindCSS?
- **TailwindCSS**:
<p className="text-default-500">
Tailwind CSS is a CSS Framework that provides atomic CSS classes to help you style components,
leaving you to handle lots of other things like accessibility, component composition, keyboard navigation,
style overrides, etc.
</p>
- **TailwindCSS**:
- **NextUI**:
<p className="text-default-500">
NextUI is a UI library for React that combines the power of TailwindCSS with React Aria to provide
a complete solution for building accessible and customizable user interfaces. Since NextUI is built upon TailwindCSS,
you can utilize all TailwindCSS classes within your NextUI components, ensuring optimal compiled CSS size.
</p>
<p className="text-default-500">
Tailwind CSS is a CSS Framework that provides atomic CSS classes to help you style components,
leaving you to handle lots of other things like accessibility, component composition, keyboard
navigation, style overrides, etc.
</p>
- **NextUI**:
<p className="text-default-500">
NextUI is a UI library for React that combines the power of TailwindCSS with React Aria to
provide a complete components (logic and styles) for building accessible and customizable user
interfaces. Since NextUI uses TailwindCSS as its style engine, you can use all TailwindCSS
classes within your NextUI components, ensuring optimal compiled CSS size.
</p>
### How is NextUI different from TailwindCSS components libraries?
<p className="text-default-500">
TailwindCSS components libraries such as <Link isExternal href="https://tailwindui.com/">TailwindUI</Link>, <Link isExternal href="https://flowbite.com/">Flowbite</Link>, or <Link isExternal href="https://preline.co/">Preline</Link>, just to name a few, only
offer a curated selection of TailwindCSS classes to style your components. They don't provide any React specific components, logic, props, composition, or accessibility features. In contrast
to these libraries, NextUI is a complete UI library for React that provides a set of accessible and customizable components, hooks, and utilities.
TailwindCSS components libraries such as{" "}
<Link isExternal showAnchorIcon href="https://tailwindui.com/">
TailwindUI
</Link>
, <Link isExternal showAnchorIcon href="https://flowbite.com/">
Flowbite
</Link>, or
<Link isExternal showAnchorIcon href="https://preline.co/">
Preline
</Link>, just to name a few, only offer a curated selection of TailwindCSS classes to style your components.
They don't provide any React specific components, logic, props, composition, or accessibility features.<br/>
<Spacer y={2}/>
In contrast to these libraries, NextUI is a complete UI library that provides a set of accessible and
customizable components, hooks, and utilities.
</p>
### How NextUI deals with TailwindCSS classes conflicts?
<p className="text-default-500">
We created a TailwindCSS utility library called <Link isExternal href="https://www.tailwind-variants.org/">tailwind-variants</Link> that automatically
handle TailwindCSS class conflicts. This ensures your custom classes will consistently override the default ones, eliminating any duplication.
We created a TailwindCSS utility library called{" "}
<Link isExternal showAnchorIcon href="https://www.tailwind-variants.org/">
tailwind-variants
</Link>{" "}
that automatically handle TailwindCSS class conflicts. This ensures your custom classes will
consistently override the default ones, eliminating any duplication.
</p>
### Does NextUI use runtime CSS?
<p className="text-default-500">
No, NextUI version 2 employs TailwindCSS JIT, which generates CSS at build time, eliminating the need for
runtime CSS. This means that NextUI is fully compatible with the latest React and Next.js versions.
No, As NextUI uses TailwindCSS as its style engine, it generates CSS at build time, eliminating
the need for runtime CSS. This means that NextUI is fully compatible with the latest React and
Next.js versions.
</p>
### Does NextUI support TypeScript?
<p className="text-default-500">
Yes, NextUI is written in TypeScript and has full support for it.
Yes, NextUI is written in TypeScript and has full support for it.
</p>
### Can I use NextUI with other front-end frameworks or libraries?
### Can I use NextUI with other front-end frameworks or libraries, such as Vue or Angular?
<p className="text-default-500">
NextUI is specifically designed for React and is built on top of React Aria. As a result, it is primarily
tailored for React applications. However, you can still use the CSS part of NextUI with other frameworks or
libraries, but you will lose the benefits of React Aria and pre-built accessible components that come with NextUI.
No, NextUI is specifically designed for React as it is built on top of React Aria. However, you
can still use the NextUI components styling part with other frameworks or libraries.
</p>
### Why NextUI uses Framer Motion?
<p className="text-default-500">
We use <Link href="https://www.framer.com/motion" isExternal showAnchorIcon>Framer Motion</Link> to animate some components due to
the complexity of the animations and their physics-based nature. Framer Motion allows us to
handle these animations in a more straightforward and performant way in addition it is
well tested and production ready.
</p>
---
## Community

View File

@ -23,6 +23,7 @@ import NextLink from "next/link";
import {useRouter} from "next/router";
import {includes} from "lodash";
import {SearchIcon} from "@nextui-org/shared-icons";
import {motion, AnimatePresence} from "framer-motion";
import {Route} from "@/libs/docs/page";
import {LargeLogo, ThemeSwitch} from "@/components";
@ -90,19 +91,25 @@ export const Navbar: FC<NavbarProps> = ({children, routes, slug, tag}) => {
<NextLink className="flex justify-start items-center gap-3" href="/">
<LargeLogo className="h-5 md:h-6" />
</NextLink>
{isMounted && ref.current ? (
{ref.current ? (
<Dropdown placement="bottom-start" portalContainer={ref.current}>
<DropdownTrigger>
<Button
className="hidden sm:flex gap-0.5"
endIcon={<ChevronDownIcon className="text-xs" />}
radius="full"
size="xs"
variant="flat"
>
v2.0.0
</Button>
</DropdownTrigger>
<AnimatePresence>
{isMounted && (
<motion.div animate={{opacity: 1}} exit={{opacity: 0}} initial={{opacity: 0}}>
<DropdownTrigger>
<Button
className="hidden w-[65px] sm:flex gap-0.5"
endIcon={<ChevronDownIcon className="text-xs" />}
radius="full"
size="xs"
variant="flat"
>
v2.0.0
</Button>
</DropdownTrigger>
</motion.div>
)}
</AnimatePresence>
<DropdownMenu
aria-label="NextUI versions"
defaultSelectedKeys={["v2"]}
@ -115,7 +122,7 @@ export const Navbar: FC<NavbarProps> = ({children, routes, slug, tag}) => {
</DropdownMenu>
</Dropdown>
) : (
<div className="w-[66px]" />
<div className="w-[65px]" />
)}
</NavbarBrand>
<div className="hidden lg:flex gap-4 ml-10 justify-start">
@ -166,7 +173,7 @@ export const Navbar: FC<NavbarProps> = ({children, routes, slug, tag}) => {
</div>
</NavbarContent>
<NavbarContent className="flex w-full gap-2 sm:hidden" justify="end">
<NavbarContent className="flex w-full gap-3 sm:hidden" justify="end">
<Link isExternal href="https://github.com/nextui-org/nextui">
<GithubIcon className="text-default-600 dark:text-default-500" />
</Link>

View File

@ -1,5 +1,20 @@
# @nextui-org/accordion
## 0.0.0-dev-v2-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/use-aria-accordion-item@0.0.0-dev-v2-20230601001842
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-icons@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/aria-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/accordion",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/use-image@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/avatar",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/badge",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/spinner@0.0.0-dev-v2-20230601001842
- @nextui-org/drip@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

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

View File

@ -185,7 +185,15 @@ export function useButton(props: UseButtonProps) {
const endIcon = getIconClone(endIconProp);
const spinnerSize = useMemo(() => {
return (size === "xs" || size === "sm" ? "xs" : "sm") as SpinnerProps["size"];
const buttonSpinnerSizeMap: Record<string, SpinnerProps["size"]> = {
xs: "xs",
sm: "xs",
md: "sm",
lg: "sm",
xl: "sm",
};
return buttonSpinnerSizeMap[size];
}, [size]);
return {

View File

@ -1,5 +1,18 @@
# @nextui-org/card
## 0.0.0-dev-v2-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/drip@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/card",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/checkbox",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/chip",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/code",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/divider",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/drip",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/aria-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/use-is-mobile@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/popover@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/dropdown",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/use-image@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

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

View File

@ -1,5 +1,18 @@
# @nextui-org/input
## 0.0.0-dev-v2-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/use-aria-field@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

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

View File

@ -13,7 +13,7 @@ import {chain, filterDOMProps, mergeProps} from "@react-aria/utils";
import {useAriaTextField} from "./use-aria-textfield";
export interface Props extends Omit<HTMLNextUIProps<"input">, keyof InputVariantProps> {
export interface Props extends HTMLNextUIProps<"input"> {
/**
* Ref to the DOM node.
*/
@ -58,7 +58,7 @@ export interface Props extends Omit<HTMLNextUIProps<"input">, keyof InputVariant
onValueChange?: AriaTextFieldProps["onChange"];
}
export type UseInputProps = Props & Omit<AriaTextFieldProps, "onChange"> & InputVariantProps;
export type UseInputProps = Props & InputVariantProps & Omit<AriaTextFieldProps, "onChange">;
export function useInput(originalProps: UseInputProps) {
const [props, variantProps] = mapPropsVariants(originalProps, input.variantKeys);

View File

@ -1,5 +1,16 @@
# @nextui-org/kbd
## 0.0.0-dev-v2-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/kbd",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/link",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-icons@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230601001842
- @nextui-org/use-disclosure@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/modal",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/use-aria-toggle-button@0.0.0-dev-v2-20230601001842
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230601001842
- @nextui-org/use-scroll-position@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/navbar",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/use-pagination@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/pagination",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230601001842
- @nextui-org/aria-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/button@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/popover",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230601001842
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/progress",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/radio",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/skeleton",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/use-clipboard@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/tooltip@0.0.0-dev-v2-20230601001842
- @nextui-org/button@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/snippet",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/spacer",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/spinner",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/switch",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/checkbox@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/spacer@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/table",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230601001842
- @nextui-org/aria-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/tabs",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230601001842
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/aria-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/tooltip",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/dom-utils@0.0.0-dev-v2-20230601001842
- @nextui-org/avatar@0.0.0-dev-v2-20230601001842
- @nextui-org/system@0.0.0-dev-v2-20230601001842
- @nextui-org/theme@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/react",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

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

View File

@ -1,5 +1,11 @@
# @nextui-org/theme
## 0.0.0-dev-v2-20230601001842
### Patch Changes
- Button and spinner styles fixed
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

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

View File

@ -36,7 +36,6 @@ const button = tv({
"subpixel-antialiased",
"data-[pressed=true]:scale-95",
"overflow-hidden",
"gap-2",
// focus ring
"data-[focus-visible=true]:outline-none",
"data-[focus-visible=true]:ring-2",
@ -56,11 +55,11 @@ const button = tv({
ghost: "border-2 bg-transparent",
},
size: {
xs: "px-2 h-6 text-xs",
sm: "px-3 h-8 text-sm",
md: "px-4 h-10 text-sm",
lg: "px-6 h-12 text-base",
xl: "px-8 h-14 text-lg",
xs: "px-2 min-w-[5rem] h-6 text-xs gap-1",
sm: "px-3 min-w-[6rem] h-8 text-sm gap-2",
md: "px-4 min-w-[7rem] h-10 text-sm gap-2",
lg: "px-6 min-w-[8rem] h-12 text-base gap-3",
xl: "px-8 min-w-[10rem] h-14 text-lg gap-3",
},
color: {
default: "",

View File

@ -16,8 +16,8 @@ import {tv} from "tailwind-variants";
*/
const spinner = tv({
slots: {
base: "inline-flex flex-col gap-2 items-center justify-center",
wrapper: "relative",
base: "relative inline-flex flex-col gap-2 items-center justify-center",
wrapper: "relative flex",
circle1: [
"absolute",
"w-full",

View File

@ -1,5 +1,11 @@
# @nextui-org/use-aria-accordion-item
## 0.0.0-dev-v2-20230601001842
### Patch Changes
- Button and spinner styles fixed
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-accordion-item",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-button",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/use-aria-slot-id@0.0.0-dev-v2-20230601001842
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-field",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-label",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-slot-id",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-toggle-button",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-callback-ref",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-clipboard",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/use-callback-ref@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-disclosure",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
- Updated dependencies
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230601001842
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-image",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-infinite-scroll",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-is-mobile",
"version": "0.0.0-dev-v2-20230531020353",
"version": "0.0.0-dev-v2-20230601001842",
"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-20230601001842
### Patch Changes
- Button and spinner styles fixed
## 0.0.0-dev-v2-20230531020353
### Patch Changes

View File

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

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