mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(docs): modal dynamic height, snadpack editor replaced by codeblock
This commit is contained in:
parent
aceafaff56
commit
57ec8944c3
@ -1,4 +1,4 @@
|
||||
import React from "react";
|
||||
import React, {forwardRef} from "react";
|
||||
import {clsx} from "@nextui-org/shared-utils";
|
||||
import BaseHighlight, {Language, PrismTheme, defaultProps} from "prism-react-renderer";
|
||||
|
||||
@ -40,63 +40,79 @@ const calculateLinesToHighlight = (meta?: string) => {
|
||||
};
|
||||
};
|
||||
|
||||
export function Codeblock({
|
||||
codeString,
|
||||
language,
|
||||
showLines,
|
||||
theme: themeProp,
|
||||
metastring,
|
||||
hideScrollBar,
|
||||
className: classNameProp,
|
||||
...props
|
||||
}: CodeblockProps) {
|
||||
const theme = themeProp || defaultTheme;
|
||||
const shouldHighlightLine = calculateLinesToHighlight(metastring);
|
||||
const isMultiLine = codeString.split("\n").length > 2;
|
||||
const Codeblock = forwardRef<HTMLPreElement, CodeblockProps>(
|
||||
(
|
||||
{
|
||||
codeString,
|
||||
language,
|
||||
showLines,
|
||||
theme: themeProp,
|
||||
metastring,
|
||||
hideScrollBar,
|
||||
className: classNameProp,
|
||||
...props
|
||||
},
|
||||
ref,
|
||||
) => {
|
||||
const theme = themeProp || defaultTheme;
|
||||
const shouldHighlightLine = calculateLinesToHighlight(metastring);
|
||||
const isMultiLine = codeString.split("\n").length > 2;
|
||||
|
||||
return (
|
||||
<BaseHighlight {...defaultProps} code={codeString} language={language} theme={theme} {...props}>
|
||||
{({className, style, tokens, getLineProps, getTokenProps}) => (
|
||||
<div className="w-full" data-language={language}>
|
||||
<pre
|
||||
className={clsx(className, classNameProp, "flex max-w-full", {
|
||||
"flex-col": isMultiLine,
|
||||
"scrollbar-hide overflow-x-scroll": hideScrollBar,
|
||||
})}
|
||||
style={style}
|
||||
>
|
||||
{tokens.map((line, i) => {
|
||||
const lineProps = getLineProps({line, key: i});
|
||||
return (
|
||||
<BaseHighlight
|
||||
{...defaultProps}
|
||||
code={codeString}
|
||||
language={language}
|
||||
theme={theme}
|
||||
{...props}
|
||||
>
|
||||
{({className, style, tokens, getLineProps, getTokenProps}) => (
|
||||
<div className="w-full" data-language={language}>
|
||||
<pre
|
||||
ref={ref}
|
||||
className={clsx(className, classNameProp, "flex max-w-full", {
|
||||
"flex-col": isMultiLine,
|
||||
"scrollbar-hide overflow-x-scroll": hideScrollBar,
|
||||
})}
|
||||
style={style}
|
||||
>
|
||||
{tokens.map((line, i) => {
|
||||
const lineProps = getLineProps({line, key: i});
|
||||
|
||||
return (
|
||||
<div
|
||||
key={i}
|
||||
{...lineProps}
|
||||
className={clsx(
|
||||
lineProps.className,
|
||||
"px-4 relative [&>span]:relative [&>span]:z-10",
|
||||
{
|
||||
"px-2": showLines,
|
||||
},
|
||||
{
|
||||
"before:content-[''] before:w-full before:h-full before:absolute before:z-0 before:left-0 before:bg-gradient-to-r before:from-white/10 before:to-code-background": shouldHighlightLine(
|
||||
i,
|
||||
),
|
||||
},
|
||||
)}
|
||||
>
|
||||
{showLines && (
|
||||
<span className="select-none text-xs mr-6 opacity-30">{i + 1}</span>
|
||||
)}
|
||||
{line.map((token, key) => (
|
||||
<span key={key} {...getTokenProps({token, key})} className={className} />
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</pre>
|
||||
</div>
|
||||
)}
|
||||
</BaseHighlight>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<div
|
||||
key={i}
|
||||
{...lineProps}
|
||||
className={clsx(
|
||||
lineProps.className,
|
||||
"px-4 relative [&>span]:relative [&>span]:z-10",
|
||||
{
|
||||
"px-2": showLines,
|
||||
},
|
||||
{
|
||||
"before:content-[''] before:w-full before:h-full before:absolute before:z-0 before:left-0 before:bg-gradient-to-r before:from-white/10 before:to-code-background": shouldHighlightLine(
|
||||
i,
|
||||
),
|
||||
},
|
||||
)}
|
||||
>
|
||||
{showLines && (
|
||||
<span className="select-none text-xs mr-6 opacity-30">{i + 1}</span>
|
||||
)}
|
||||
{line.map((token, key) => (
|
||||
<span key={key} {...getTokenProps({token, key})} className={className} />
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</pre>
|
||||
</div>
|
||||
)}
|
||||
</BaseHighlight>
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
Codeblock.displayName = "CodeBlock";
|
||||
|
||||
export default Codeblock;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import {Tabs, Tab, Snippet} from "@nextui-org/react";
|
||||
|
||||
import {Codeblock} from "./codeblock";
|
||||
import Codeblock from "./codeblock";
|
||||
|
||||
type PackageManager = {
|
||||
key: string;
|
||||
|
||||
@ -5,3 +5,4 @@ export * from "./community";
|
||||
export * from "./frameworks";
|
||||
export * from "./code-demo";
|
||||
export * from "./import-tabs";
|
||||
export {default as Codeblock} from "./codeblock";
|
||||
|
||||
@ -6,7 +6,7 @@ import NextImage from "next/image";
|
||||
|
||||
import {Sandpack} from "@/components/sandpack";
|
||||
import * as DocsComponents from "@/components/docs/components";
|
||||
import {Codeblock} from "@/components/docs/components/codeblock";
|
||||
import {Codeblock} from "@/components/docs/components";
|
||||
import {VirtualAnchor, virtualAnchorEncode} from "@/components";
|
||||
|
||||
const Table: React.FC<{children?: React.ReactNode}> = ({children}) => {
|
||||
|
||||
@ -1,20 +1,17 @@
|
||||
import type {SandpackInitMode} from "@codesandbox/sandpack-react";
|
||||
|
||||
import * as React from "react";
|
||||
import {
|
||||
FileTabs,
|
||||
CodeEditor,
|
||||
useSandpack,
|
||||
useActiveCode,
|
||||
SandpackStack,
|
||||
} from "@codesandbox/sandpack-react";
|
||||
import {FileTabs, useSandpack, useActiveCode, SandpackStack} from "@codesandbox/sandpack-react";
|
||||
import {Button} from "@nextui-org/react";
|
||||
import scrollIntoView from "scroll-into-view-if-needed";
|
||||
import {clsx} from "@nextui-org/shared-utils";
|
||||
import {Language} from "prism-react-renderer";
|
||||
|
||||
import {getId} from "./utils";
|
||||
import {HighlightedLines} from "./types";
|
||||
import {Decorators} from "./types";
|
||||
|
||||
import {Codeblock} from "@/components/docs/components";
|
||||
|
||||
export interface CodeViewerProps {
|
||||
showTabs?: boolean;
|
||||
showLineNumbers?: boolean;
|
||||
@ -23,6 +20,7 @@ export interface CodeViewerProps {
|
||||
*/
|
||||
decorators?: Decorators;
|
||||
code?: string;
|
||||
highlightedLines?: HighlightedLines;
|
||||
wrapContent?: boolean;
|
||||
defaultExpanded?: boolean;
|
||||
/**
|
||||
@ -38,28 +36,18 @@ export interface CodeViewerProps {
|
||||
const INITIAL_HEIGHT = "200px";
|
||||
|
||||
export const SandpackCodeViewer = React.forwardRef<any, CodeViewerProps>(
|
||||
(
|
||||
{
|
||||
showTabs,
|
||||
code: propCode,
|
||||
decorators,
|
||||
initMode,
|
||||
defaultExpanded = false,
|
||||
showLineNumbers,
|
||||
wrapContent,
|
||||
containerRef,
|
||||
},
|
||||
ref,
|
||||
) => {
|
||||
({showTabs, code: propCode, defaultExpanded = false, highlightedLines, containerRef}, ref) => {
|
||||
const {sandpack} = useSandpack();
|
||||
const {code} = useActiveCode();
|
||||
|
||||
const {activeFile} = sandpack;
|
||||
|
||||
const [isExpanded, setIsExpanded] = React.useState(defaultExpanded);
|
||||
const id = React.useId();
|
||||
|
||||
// const id = React.useId();
|
||||
// hack to make sure we re-render the code editor and change current file
|
||||
// TODO: open an issue on sandpack-react
|
||||
const [internalKey, setInternalKey] = React.useState(() => id);
|
||||
// const [internalKey, setInternalKey] = React.useState(() => id);
|
||||
const lineCountRef = React.useRef<{[key: string]: number}>({});
|
||||
|
||||
if (!lineCountRef.current[activeFile]) {
|
||||
@ -70,7 +58,9 @@ export const SandpackCodeViewer = React.forwardRef<any, CodeViewerProps>(
|
||||
|
||||
const lineCount = lineCountRef.current[activeFile];
|
||||
const isExpandable = lineCount > 7 || isExpanded;
|
||||
const isAppFile = activeFile.includes("App");
|
||||
const fileExt = activeFile.split(".").pop() as Language;
|
||||
|
||||
// const isAppFile = activeFile.includes("App");
|
||||
|
||||
React.useEffect(() => {
|
||||
if (containerRef && containerRef?.current !== null && isExpandable) {
|
||||
@ -78,9 +68,9 @@ export const SandpackCodeViewer = React.forwardRef<any, CodeViewerProps>(
|
||||
}
|
||||
}, [containerRef]);
|
||||
|
||||
React.useEffect(() => {
|
||||
setInternalKey(getId());
|
||||
}, [propCode, code]);
|
||||
// React.useEffect(() => {
|
||||
// setInternalKey(getId());
|
||||
// }, [propCode, code]);
|
||||
|
||||
React.useEffect(() => {
|
||||
if (defaultExpanded && containerRef && containerRef?.current !== null) {
|
||||
@ -120,6 +110,9 @@ export const SandpackCodeViewer = React.forwardRef<any, CodeViewerProps>(
|
||||
"is-expanded": isExpanded,
|
||||
})}
|
||||
>
|
||||
{/*
|
||||
* Disabled in favor of Codeblock due to performance issues & font size on ios
|
||||
*
|
||||
<CodeEditor
|
||||
key={internalKey}
|
||||
ref={ref}
|
||||
@ -131,6 +124,13 @@ export const SandpackCodeViewer = React.forwardRef<any, CodeViewerProps>(
|
||||
showLineNumbers={showLineNumbers}
|
||||
showReadOnly={false}
|
||||
wrapContent={wrapContent}
|
||||
/> */}
|
||||
<Codeblock
|
||||
ref={ref}
|
||||
className={clsx({"pb-16": isExpandable, "pb-2": !isExpandable})}
|
||||
codeString={propCode || code}
|
||||
language={fileExt}
|
||||
metastring={highlightedLines && `{${highlightedLines}}`}
|
||||
/>
|
||||
</div>
|
||||
</SandpackStack>
|
||||
@ -138,7 +138,7 @@ export const SandpackCodeViewer = React.forwardRef<any, CodeViewerProps>(
|
||||
{isExpandable && (
|
||||
<div
|
||||
className={clsx(
|
||||
"w-full absolute py-1 px-4 flex items-center justify-center bg-gradient-to-t from-code-background to-code-background/10 dark:to-code-background/50",
|
||||
"w-full absolute z-10 py-1 px-4 flex items-center justify-center bg-gradient-to-t from-code-background to-code-background/10 dark:to-code-background/50",
|
||||
{"h-10 bottom-0 pb-2": isExpanded},
|
||||
{"h-full inset-0": !isExpanded},
|
||||
)}
|
||||
|
||||
@ -69,10 +69,11 @@ export const Sandpack: FC<SandpackProps> = ({
|
||||
containerRef={editorContainerRef}
|
||||
decorators={decorators}
|
||||
defaultExpanded={defaultExpanded}
|
||||
highlightedLines={highlightedLines}
|
||||
showTabs={showTabs}
|
||||
/>
|
||||
)}
|
||||
<div className="opacity-0 group-hover:opacity-100 flex transition-opacity absolute gap-0 right-2 top-2 items-center justify-center bg-code-background">
|
||||
<div className="hidden md:flex opacity-0 group-hover:opacity-100 transition-opacity absolute gap-0 right-2 top-2 items-center justify-center bg-code-background">
|
||||
{showReportBug && <BugReportButton />}
|
||||
{showCopyCode && <CopyButton />}
|
||||
{!showPreview && showOpenInCodeSandbox && <CodeSandboxButton />}
|
||||
|
||||
@ -23,9 +23,6 @@ export default function App() {
|
||||
size={size}
|
||||
isOpen={isOpen}
|
||||
onClose={onClose}
|
||||
classNames={{
|
||||
wrapper: "z-[100001]",
|
||||
}}
|
||||
>
|
||||
<ModalContent>
|
||||
{(onClose) => (
|
||||
|
||||
@ -79,7 +79,9 @@ export const Navbar: FC<NavbarProps> = ({children, routes, slug, tag}) => {
|
||||
return (
|
||||
<NextUINavbar
|
||||
ref={ref}
|
||||
className="z-[100001]"
|
||||
className={clsx({
|
||||
isMenuOpen: "z-[100001]",
|
||||
})}
|
||||
isMenuOpen={isMenuOpen}
|
||||
maxWidth="xl"
|
||||
position="sticky"
|
||||
|
||||
@ -31,8 +31,6 @@
|
||||
max-height: 600px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.sp-code-viewer.is-expanded .cm-scroller {
|
||||
overflow: auto;
|
||||
padding-bottom: 50px;
|
||||
|
||||
@ -1,5 +1,20 @@
|
||||
# @nextui-org/accordion
|
||||
|
||||
## 0.0.0-dev-v2-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-aria-accordion-item@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/aria-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/accordion",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-image@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/avatar",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/badge",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/spinner@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/drip@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/button",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/drip@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/card",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/checkbox",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/chip",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/code",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"description": "Code is a component used to display inline code.",
|
||||
"keywords": [
|
||||
"code"
|
||||
|
||||
@ -1,5 +1,16 @@
|
||||
# @nextui-org/divider
|
||||
|
||||
## 0.0.0-dev-v2-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/divider",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/drip",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/aria-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-is-mobile@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/popover@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/dropdown",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"description": "A dropdown displays a list of actions or options that a user can choose.",
|
||||
"keywords": [
|
||||
"dropdown"
|
||||
|
||||
@ -1,5 +1,17 @@
|
||||
# @nextui-org/image
|
||||
|
||||
## 0.0.0-dev-v2-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-image@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/image",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"description": "A simple image component",
|
||||
"keywords": [
|
||||
"image"
|
||||
|
||||
@ -1,5 +1,18 @@
|
||||
# @nextui-org/input
|
||||
|
||||
## 0.0.0-dev-v2-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-aria-field@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/input",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/kbd",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/link",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-disclosure@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/modal",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-aria-toggle-button@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-scroll-position@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/navbar",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-pagination@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/pagination",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/aria-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/button@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/popover",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/progress",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/radio",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/skeleton",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-clipboard@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/tooltip@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/button@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/snippet",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/spacer",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/spinner",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/switch",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/checkbox@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/spacer@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/table",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/aria-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/tabs",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/aria-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/tooltip",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"description": "A React Component for rendering dynamically positioned Tooltips",
|
||||
"keywords": [
|
||||
"tooltip"
|
||||
|
||||
@ -1,5 +1,17 @@
|
||||
# @nextui-org/user
|
||||
|
||||
## 0.0.0-dev-v2-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/avatar@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/user",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"description": "Flexible User Profile Component.",
|
||||
"keywords": [
|
||||
"user"
|
||||
|
||||
@ -1,5 +1,44 @@
|
||||
# @nextui-org/react
|
||||
|
||||
## 0.0.0-dev-v2-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/pagination@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/accordion@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/checkbox@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/dropdown@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/progress@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/skeleton@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/divider@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/popover@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/snippet@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/spinner@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/tooltip@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/avatar@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/button@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/navbar@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/spacer@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/switch@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/badge@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/image@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/input@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/modal@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/radio@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/table@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/card@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/chip@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/code@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/drip@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/link@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/tabs@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/user@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/kbd@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/system@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/theme@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/react",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/system",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"description": "NextUI system primitives",
|
||||
"keywords": [
|
||||
"system"
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# @nextui-org/theme
|
||||
|
||||
## 0.0.0-dev-v2-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/theme",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"description": "The default theme for NextUI components",
|
||||
"keywords": [
|
||||
"theme",
|
||||
|
||||
@ -25,7 +25,7 @@ const modal = tv({
|
||||
wrapper: [
|
||||
"flex",
|
||||
"w-screen",
|
||||
"h-screen",
|
||||
"h-[100dvh]",
|
||||
"fixed",
|
||||
"inset-0",
|
||||
"z-50",
|
||||
@ -49,7 +49,7 @@ const modal = tv({
|
||||
"my-16",
|
||||
],
|
||||
trigger: [],
|
||||
backdrop: ["hidden", "z-50"],
|
||||
backdrop: "z-50",
|
||||
header: "flex py-4 px-6 flex-initial text-lg font-semibold",
|
||||
body: "flex flex-1 flex-col gap-3 px-6 py-2",
|
||||
footer: "flex flex-row gap-2 px-6 py-4 justify-end",
|
||||
@ -104,7 +104,7 @@ const modal = tv({
|
||||
base: "max-w-5xl",
|
||||
},
|
||||
full: {
|
||||
base: "my-0 max-w-full rounded-none min-h-screen",
|
||||
base: "my-0 max-w-full min-h-full rounded-none ",
|
||||
},
|
||||
},
|
||||
radius: {
|
||||
@ -118,7 +118,9 @@ const modal = tv({
|
||||
"3xl": {base: "rounded-3xl"},
|
||||
},
|
||||
backdrop: {
|
||||
transparent: {},
|
||||
transparent: {
|
||||
backdrop: "hidden",
|
||||
},
|
||||
opaque: {
|
||||
backdrop: "bg-black/50 backdrop-opacity-50",
|
||||
},
|
||||
@ -128,7 +130,7 @@ const modal = tv({
|
||||
},
|
||||
scrollBehavior: {
|
||||
normal: {
|
||||
base: ["overflow-y-hidden"],
|
||||
base: "overflow-y-hidden",
|
||||
},
|
||||
inside: {
|
||||
base: "max-h-[calc(100%_-_7.5rem)]",
|
||||
@ -151,7 +153,7 @@ const modal = tv({
|
||||
{
|
||||
backdrop: ["opaque", "blur"],
|
||||
class: {
|
||||
backdrop: "block w-full h-full fixed inset-0",
|
||||
backdrop: "w-full h-full fixed inset-0",
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# @nextui-org/use-aria-accordion-item
|
||||
|
||||
## 0.0.0-dev-v2-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-aria-accordion-item",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-aria-button",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-aria-slot-id@0.0.0-dev-v2-20230612214035
|
||||
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-aria-field",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-aria-label",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-aria-slot-id",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-aria-toggle-button",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-callback-ref",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"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-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-clipboard",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"description": "Wrapper around navigator.clipboard with feedback timeout",
|
||||
"keywords": [
|
||||
"use-clipboard"
|
||||
|
||||
@ -1,5 +1,13 @@
|
||||
# @nextui-org/use-disclosure
|
||||
|
||||
## 0.0.0-dev-v2-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-callback-ref@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-disclosure",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"description": "The hook in charge of managing modals",
|
||||
"keywords": [
|
||||
"use-disclosure"
|
||||
|
||||
@ -1,5 +1,13 @@
|
||||
# @nextui-org/use-image
|
||||
|
||||
## 0.0.0-dev-v2-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
- Updated dependencies
|
||||
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230612214035
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-image",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"description": "React hook for progressing image loading",
|
||||
"keywords": [
|
||||
"use-image"
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# @nextui-org/use-infinite-scroll
|
||||
|
||||
## 0.0.0-dev-v2-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-infinite-scroll",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"description": "A hook for handling infinity scroll based on the IntersectionObserver API",
|
||||
"keywords": [
|
||||
"use-infinite-scroll"
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
# @nextui-org/use-is-mobile
|
||||
|
||||
## 0.0.0-dev-v2-20230612214035
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Modal styles ajusted to support dvh
|
||||
|
||||
## 0.0.0-dev-v2-20230610220209
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nextui-org/use-is-mobile",
|
||||
"version": "0.0.0-dev-v2-20230610220209",
|
||||
"version": "0.0.0-dev-v2-20230612214035",
|
||||
"description": "A hook that returns whether the device is mobile or not",
|
||||
"keywords": [
|
||||
"use-is-mobile"
|
||||
|
||||
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