From a4543e17f94dd3eb3d35f481aafa95515a4e4d77 Mon Sep 17 00:00:00 2001 From: abhinandan-verma Date: Mon, 22 Jul 2024 02:42:07 +0530 Subject: [PATCH 1/6] fix(navbar): fixed the height when style h-full --- .changeset/brown-days-applaud.md | 5 +++++ packages/core/theme/src/components/navbar.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/brown-days-applaud.md diff --git a/.changeset/brown-days-applaud.md b/.changeset/brown-days-applaud.md new file mode 100644 index 0000000000..4a8909bfc2 --- /dev/null +++ b/.changeset/brown-days-applaud.md @@ -0,0 +1,5 @@ +--- +"@nextui-org/theme": patch +--- + +fixed the navbar height when `h-full`(#1694) diff --git a/packages/core/theme/src/components/navbar.ts b/packages/core/theme/src/components/navbar.ts index e1ef852de2..93a7468020 100644 --- a/packages/core/theme/src/components/navbar.ts +++ b/packages/core/theme/src/components/navbar.ts @@ -52,7 +52,7 @@ const navbar = tv({ "flex", "z-40", "w-full", - "h-auto", + "max-h-[var(--navbar-height)]", "items-center", "justify-center", "data-[menu-open=true]:border-none", From 626e0e0cae4d7d63dd903bac3eefa685b7924466 Mon Sep 17 00:00:00 2001 From: abhinandan-verma Date: Mon, 22 Jul 2024 02:57:20 +0530 Subject: [PATCH 2/6] fix(navbar): fixed the height when style h-full --- packages/core/theme/src/components/navbar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/theme/src/components/navbar.ts b/packages/core/theme/src/components/navbar.ts index 93a7468020..e1ef852de2 100644 --- a/packages/core/theme/src/components/navbar.ts +++ b/packages/core/theme/src/components/navbar.ts @@ -52,7 +52,7 @@ const navbar = tv({ "flex", "z-40", "w-full", - "max-h-[var(--navbar-height)]", + "h-auto", "items-center", "justify-center", "data-[menu-open=true]:border-none", From e1d60c13ee9233fcc3e5543150c9392d55ee8dc7 Mon Sep 17 00:00:00 2001 From: abhinandan-verma Date: Fri, 2 Aug 2024 21:39:05 +0530 Subject: [PATCH 3/6] docs(changeset): resolved extra file --- .changeset/brown-days-applaud.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .changeset/brown-days-applaud.md diff --git a/.changeset/brown-days-applaud.md b/.changeset/brown-days-applaud.md deleted file mode 100644 index 4a8909bfc2..0000000000 --- a/.changeset/brown-days-applaud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nextui-org/theme": patch ---- - -fixed the navbar height when `h-full`(#1694) From 3a2ded2ba3efa9bb1193635c84902cc9e19ec6c6 Mon Sep 17 00:00:00 2001 From: abhinandan-verma Date: Sun, 4 Aug 2024 19:25:11 +0530 Subject: [PATCH 4/6] fix(docs): added missing package manager tabs in docs --- apps/docs/content/docs/guide/cli.mdx | 35 +++++++++++++------ apps/docs/content/docs/guide/installation.mdx | 23 ++++++++---- 2 files changed, 41 insertions(+), 17 deletions(-) diff --git a/apps/docs/content/docs/guide/cli.mdx b/apps/docs/content/docs/guide/cli.mdx index 70e29cac9d..9ad9345d67 100644 --- a/apps/docs/content/docs/guide/cli.mdx +++ b/apps/docs/content/docs/guide/cli.mdx @@ -32,9 +32,14 @@ To install the `CLI` globally, execute one of the following commands in your ter Alternatively, you can use the `CLI` without a global installation by employing `npx`: -```bash -npx nextui-cli@latest -``` + @@ -113,16 +118,24 @@ You will be prompted to configure your project: ``` Install the dependencies to start the local server: - -```codeBlock bash -cd my-nextui-app && npm install -``` + Start the local server: - -```codeBlock bash -npm run dev -``` + ## add diff --git a/apps/docs/content/docs/guide/installation.mdx b/apps/docs/content/docs/guide/installation.mdx index dfe674a126..01cca86265 100644 --- a/apps/docs/content/docs/guide/installation.mdx +++ b/apps/docs/content/docs/guide/installation.mdx @@ -39,14 +39,25 @@ You will be prompted to configure your project: ``` Install the dependencies to start the local server: -```codeBlock bash -cd my-nextui-app && npm install -``` + Start the local server: -```codeBlock bash -npm run dev -``` + + Once your NextUI project is ready to develop, you can add individual components using the CLI. For example, to add a button component: From 4bce545ba070fdee8e9d6743d37dc374fd06e034 Mon Sep 17 00:00:00 2001 From: abhinandan-verma Date: Mon, 5 Aug 2024 01:42:03 +0530 Subject: [PATCH 5/6] refactor(cli-docs): changed line 33 --- apps/docs/content/docs/guide/cli.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/docs/guide/cli.mdx b/apps/docs/content/docs/guide/cli.mdx index 9ad9345d67..a0783625aa 100644 --- a/apps/docs/content/docs/guide/cli.mdx +++ b/apps/docs/content/docs/guide/cli.mdx @@ -30,7 +30,7 @@ To install the `CLI` globally, execute one of the following commands in your ter ### Without Installation -Alternatively, you can use the `CLI` without a global installation by employing `npx`: +Alternatively, you can use the `CLI` without a global installation by running the following commands: Date: Sat, 10 Aug 2024 09:11:57 +0530 Subject: [PATCH 6/6] refactor(files): removed unnecessary files --- apps/docs/content/docs/guide/cli.mdx | 35 ++++++------------- apps/docs/content/docs/guide/installation.mdx | 23 ++++-------- 2 files changed, 16 insertions(+), 42 deletions(-) diff --git a/apps/docs/content/docs/guide/cli.mdx b/apps/docs/content/docs/guide/cli.mdx index a0783625aa..09714c357a 100644 --- a/apps/docs/content/docs/guide/cli.mdx +++ b/apps/docs/content/docs/guide/cli.mdx @@ -30,16 +30,11 @@ To install the `CLI` globally, execute one of the following commands in your ter ### Without Installation -Alternatively, you can use the `CLI` without a global installation by running the following commands: +Alternatively, you can use the `CLI` without a global installation by employing `npx`: - +```bash +npx nextui-cli@latest +``` @@ -118,24 +113,14 @@ You will be prompted to configure your project: ``` Install the dependencies to start the local server: - +```codeBlock bash +cd my-nextui-app && npm install +``` Start the local server: - +```codeBlock bash +npm run dev +``` ## add diff --git a/apps/docs/content/docs/guide/installation.mdx b/apps/docs/content/docs/guide/installation.mdx index 01cca86265..dfe674a126 100644 --- a/apps/docs/content/docs/guide/installation.mdx +++ b/apps/docs/content/docs/guide/installation.mdx @@ -39,25 +39,14 @@ You will be prompted to configure your project: ``` Install the dependencies to start the local server: - +```codeBlock bash +cd my-nextui-app && npm install +``` Start the local server: - - +```codeBlock bash +npm run dev +``` Once your NextUI project is ready to develop, you can add individual components using the CLI. For example, to add a button component: