Skip to content

Commit b8e7b94

Browse files
jrgarciadevwinchesHewingkwongPeterl561github-actions[bot]
authored
🚀 (#4570)
* docs: optimize route higtlight (#4520) * docs: optimize home display (#4519) * docs: optimize home display and route highlight * docs: optimize home display * fix(alert): propagate className (#4535) * fix(alert): propagate className * chore(alert): remove className from alert theme * fix(avatar): title type in Avatar (#4529) * fix(avatar): title type in Avatar * fix(alert): apply isEmpty check on title * fix(alert): alert interface props type * refactor: remove unnecessary props types (#4530) * refactor(docs): remove string type as it is included in ReactNode * refactor: remove unnecessary types * feat(changeset): add changeset * chore: remove changeset * refactor: remove null since ReactNode unions it already * fix(input): use onPress for wrapper click focus (#4483) * fix(input): use onPress for wrapper click focus * test(input): wrapper click focus test * chore(changeset): input onPress for wrapper click focus * chore(changeset): minor wording * Refactor/rebrand (#4532) * chore: rebrand in progress * chore: update docs to use heroui * chore: components renbranded * chore: figma moved to the docs files * fix: posthog config * fix(docs): extra classname in form example (#4465) * chore: clean git * chore: make heroui private * chore: new logo * chore: node env var renamed * chore: public robots txt deleted * chore: wrangler installed * chore: wrangler renamed * chore: cloudlfare workers removed * chore: force vercel deploy * refactor: first migration and provider * refactor: rename nextui plugin * refactor: rename github site * refactor: rename CONTRIBUTING * refactor: rename package name * refactor: nextjs image hostname * refactor: mdx repo nextui-org rename frontio-ai * refactor: nextui.org rename heroui.com * refactor: add heroui to missing places * fix: heroui plugin name * fix: update docs * docs: nextui to heroui add npmrc pnpm migratation * chore: rename all packages with new org name * chore: replace frontio-ai by frontioai * chore: revert previous changes * chore: small adjustment * chore: doc updated * feat: blog * chore: avatar updated * fix: url * chore: add new ogimage * fix: ogimage command * fix: heroui name and storybook welcome page * fix: og image url * feat: favicon and icon changed --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: winches <[email protected]> * fix: postbuild script * chore: core package updates * ci(changesets): version packages (#4569) Co-authored-by: Junior Garcia <[email protected]> * feat: contributors added to the blog --------- Co-authored-by: winches <[email protected]> Co-authored-by: աӄա <[email protected]> Co-authored-by: Peterl561 <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 93f6872 commit b8e7b94

File tree

1,485 files changed

+26024
-25368
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,485 files changed

+26024
-25368
lines changed

.changeset/config.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
33
"changelog": [
44
"@changesets/changelog-github",
5-
{ "repo": "nextui-org/nextui" }
5+
{ "repo": "frontio-ai/heroui" }
66
],
77
"commit": false,
88
"fixed": [],
@@ -14,7 +14,7 @@
1414
"onlyUpdatePeerDependentsWhenOutOfRange": true
1515
},
1616
"ignore": [
17-
"@nextui-org/docs",
18-
"@nextui-org/storybook"
17+
"@heroui/docs",
18+
"@heroui/storybook"
1919
]
2020
}

.commitlintrc.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const conventional = require("@commitlint/config-conventional");
33
module.exports = {
44
extends: ["@commitlint/config-conventional"],
55
plugins: ["commitlint-plugin-function-rules"],
6-
helpUrl: "https://github.com/nextui-org/nextui/blob/main/CONTRIBUTING.md#commit-convention",
6+
helpUrl: "https://github.com/frontio-ai/heroui/blob/main/CONTRIBUTING.md#commit-convention",
77
rules: {
88
...conventional.rules,
99
"type-enum": [

.github/ISSUE_TEMPLATE/bug_report.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@ body:
88
value: |
99
Thank you for reporting an issue :pray:.
1010
11-
This issue tracker is for reporting bugs found in [NextUI github repository](https://github.com/nextui-org/nextui/)
11+
This issue tracker is for reporting bugs found in [HeroUI github repository](https://github.com/frontio-ai/heroui/)
1212
If you have a question about how to achieve something and are struggling, please post a question
1313
inside of either of the following places:
14-
- NextUI's [Discussion's tab](https://github.com/nextui-org/nextui/discussions)
15-
- NextUI's [Discord channel](https://discord.gg/9b6yyZKmH4)
14+
- HeroUI's [Discussion's tab](https://github.com/frontio-ai/heroui/discussions)
15+
- HeroUI's [Discord channel](https://discord.gg/9b6yyZKmH4)
1616
1717
1818
Before submitting a new bug/issue, please check the links below to see if there is a solution or question posted there already:
19-
- NextUI's [Issue's tab](https://github.com/nextui-org/nextui/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc)
20-
- NextUI's [closed issues tab](https://github.com/nextui-org/nextui/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed)
21-
- NextUI's [Discussions tab](https://github.com/nextui-org/nextui/discussions)
19+
- HeroUI's [Issue's tab](https://github.com/frontio-ai/heroui/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc)
20+
- HeroUI's [closed issues tab](https://github.com/frontio-ai/heroui/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed)
21+
- HeroUI's [Discussions tab](https://github.com/frontio-ai/heroui/discussions)
2222
2323
The more information you fill in, the better the community can help you.
2424
- type: input
2525
id: version
2626
attributes:
27-
label: NextUI Version
27+
label: HeroUI Version
2828
description: |
29-
Please provide the version of NextUI you are using.
29+
Please provide the version of HeroUI you are using.
3030
You can find the version number in the package.json file.
3131
For global installation, please state the version only. (e.g. 2.4.2)
32-
For individual installation, please state the package name as well. (e.g. @nextui-org/[email protected])
32+
For individual installation, please state the package name as well. (e.g. @heroui/[email protected])
3333
placeholder: ex. 2.4.2
3434
validations:
3535
required: true
@@ -47,7 +47,7 @@ body:
4747
description: |
4848
Which website or app were you using when the bug happened?
4949
Note:
50-
- Your bug will may get fixed much faster if we can run your code and it doesn't have dependencies other than the `@nextui-org/react` npm package.
50+
- Your bug will may get fixed much faster if we can run your code and it doesn't have dependencies other than the `@heroui/react` npm package.
5151
- To create a shareable code example you can use Stackblitz (https://stackblitz.com/). Please no localhost URLs.
5252
- Please read these tips for providing a minimal example: https://stackoverflow.com/help/mcve.
5353
placeholder: |

.github/ISSUE_TEMPLATE/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
blank_issues_enabled: true
22
contact_links:
33
- name: 🤔 Long question or ideas?
4-
url: https://github.com/nextui-org/nextui/discussions
4+
url: https://github.com/frontio-ai/heroui/discussions
55
about: Ask long-form questions and discuss ideas.
66
- name: 💬 Discord Community Chat
77
url: https://discord.gg/9b6yyZKmH4
8-
about: Ask quick questions or simply chat on the `NextUI` community Discord server.
8+
about: Ask quick questions or simply chat on the `HeroUI` community Discord server.
99
- name: 💬 New Updates (X)
10-
url: https://x.com/getnextui
11-
about: Link to our X account if you want to follow us and stay up to date with NextUI news
10+
url: https://x.com/hero_ui
11+
about: Link to our X account if you want to follow us and stay up to date with HeroUI news

.github/ISSUE_TEMPLATE/feature_request.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Feature request
22
title: "[Feature Request] YOUR_FEATURE_TITLE_HERE_REPLACE_ME"
33
labels: [feature request]
44
description: |
5-
💡 Suggest an idea for the `NextUI` project
5+
💡 Suggest an idea for the `HeroUI` project
66
Examples
77
- propose a new component
88
- improve an exiting component
@@ -12,7 +12,7 @@ body:
1212
attributes:
1313
value: |
1414
This issue form is for requesting features only! For example, requesting a new component, behavior ... etc
15-
If you want to report a bug, please use the [bug report form](https://github.com/nextui-org/nextui/issues/new?assignees=&labels=&template=bug_report.yml).
15+
If you want to report a bug, please use the [bug report form](https://github.com/frontio-ai/heroui/issues/new?assignees=&labels=&template=bug_report.yml).
1616
- type: textarea
1717
validations:
1818
required: true

.github/pull_request_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ Closes # <!-- Github issue # here -->
2323

2424
## 💣 Is this a breaking change (Yes/No):
2525

26-
<!-- If Yes, please describe the impact and migration path for existing NextUI users. -->
26+
<!-- If Yes, please describe the impact and migration path for existing HeroUI users. -->
2727

2828
## 📝 Additional Information

.npmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ enable-pre-post-scripts=true
33
public-hoist-pattern[]=*tailwind-variants*
44
public-hoist-pattern[]=*framer-motion*
55
public-hoist-pattern[]=*@react-aria/interactions*
6-
public-hoist-pattern[]=*@nextui-org/theme*
6+
public-hoist-pattern[]=*@heroui/theme*

CONTRIBUTING.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Next UI Contributing Guide
1+
# HeroUI Contributing Guide
22

3-
Hello!, I am very excited that you are interested in contributing with Next UI. However, before submitting your contribution, be sure to take a moment and read the following guidelines.
3+
Hello!, I am very excited that you are interested in contributing with HeroUI. However, before submitting your contribution, be sure to take a moment and read the following guidelines.
44

5-
- [Code of Conduct](https://github.com/jrgarciadev/nextui/blob/main/CODE_OF_CONDUCT.md)
5+
- [Code of Conduct](https://github.com/frontio-ai/heroui/blob/canary/CODE_OF_CONDUCT.md)
66
- [Extraction request guidelines](#pull-request-guidelines)
77
- [Development Setup](#development-setup)
88
- [Tests](#tests)
@@ -71,15 +71,15 @@ https://www.conventionalcommits.org/ or check out the
7171

7272
### Steps to PR
7373

74-
1. Fork of the nextui repository and clone your fork
74+
1. Fork of the heroui repository and clone your fork
7575

7676
2. Create a new branch out of the `canary` branch. We follow the convention
7777
`[type/scope]`. For example `fix/dropdown-hook` or `docs/menu-typo`. `type`
7878
can be either `docs`, `fix`, `feat`, `build`, or any other conventional
7979
commit type. `scope` is just a short id that describes the scope of work.
8080

8181
3. Make and commit your changes following the
82-
[commit convention](https://github.com/nextui-org/nextui/blob/main/CONTRIBUTING.md#commit-convention).
82+
[commit convention](https://github.com/frontio-ai/heroui/blob/main/CONTRIBUTING.md#commit-convention).
8383
As you canary, you can run `pnpm build --filter=<module>` and
8484
`pnpm test packages/<module>/<pkg>` e.g. `pnpm build --filter=avatar & pnpm test packages/components/avatar` to make sure everything works as expected.
8585

@@ -117,7 +117,7 @@ We use [Turbo Repo](https://turborepo.org/) for the project management.
117117
2. If you will be working on the components source code, you can use the following command to start the webpack dev server:
118118

119119
```bash
120-
## Start the dev babel server of NextUI core components
120+
## Start the dev babel server of HeroUI core components
121121
pnpm dev
122122

123123
## optional
@@ -128,10 +128,10 @@ pnpm dev:docs ## this will start the documentation next.js server and it will au
128128
```
129129

130130
- If you will be working just on the documentation source code / mdx, you can use the following commands to build
131-
NextUI components and then start the next.js dev server:
131+
HeroUI components and then start the next.js dev server:
132132

133133
```bash
134-
## Build NextUI source components
134+
## Build HeroUI source components
135135
pnpm build
136136

137137
## Start the next.js documentation dev server
@@ -210,21 +210,21 @@ When making a visual change, please provide screenshots
210210
and/or screencasts of the proposed change. This will help us to understand the
211211
desired change easier.
212212

213-
Until NextUI has a stable release new components will be created only for the core team.
213+
Until HeroUI has a stable release new components will be created only for the core team.
214214

215215
## Documentation
216216

217217
Please update the docs with any API changes, the code and docs should always be in sync.
218218

219-
The main documentation lives in the `apps/docs/content` folder, the project uses MDX and all `NextUI` are already imported.
219+
The main documentation lives in the `apps/docs/content` folder, the project uses MDX and all `HeroUI` are already imported.
220220

221221
## Breaking changes
222222

223223
Breaking changes should be accompanied with deprecations of removed functionality. The deprecated APIs themselves should not be removed until the minor release after that.
224224

225225
## Becoming a maintainer
226226

227-
If you are interested in becoming a NextUI maintainer, start by
227+
If you are interested in becoming a HeroUI maintainer, start by
228228
reviewing issues and pull requests. Answer questions for those in need of
229229
troubleshooting. Join us in the
230230
[Discord Community](https://discord.gg/9b6yyZKmH4) chat room.
@@ -235,7 +235,7 @@ best to be proactive in reaching out to those that are already helping out.
235235
GitHub by default does not publicly state that you are a member of the
236236
organization. Please feel free to change that setting for yourself so others
237237
will know who's helping out. That can be configured on the [organization
238-
list](https://github.com/orgs/nextui-org/people) page.
238+
list](https://github.com/orgs/frontio-ai/people) page.
239239

240240
Being a maintainer is not an obligation. You can help when you have time and be
241241
less active when you don't. If you get a new job and get busy, that's alright.

apps/docs/.env.example

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY=
88

99
# Vercel Env (is used for skipping typescript check)
1010
IS_VERCEL_ENV=true/false
11+
IGNORE_BUILD_CHECKS=true/false
1112
IS_PREVIEW=true/false
1213
ANALYZE_BUNDLE=true/false
1314

apps/docs/.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,15 @@ yarn-error.log*
2828
# local env files
2929
.env
3030
.env*.local
31+
.dev.vars
3132

3233
# vercel
3334
.vercel
3435

3536
# typescript
3637
*.tsbuildinfo
3738
next-env.d.ts
39+
40+
# cloudflare
41+
.wrangler
42+
/.open-next/

apps/docs/app/blog/[slug]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type {Metadata} from "next";
22

33
import {notFound} from "next/navigation";
44
import {allBlogPosts} from "contentlayer2/generated";
5-
import {Link, User} from "@nextui-org/react";
5+
import {Link, User} from "@heroui/react";
66
import {format, parseISO} from "date-fns";
77
import NextLink from "next/link";
88
import {Balancer} from "react-wrap-balancer";

apps/docs/app/blog/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Image} from "@nextui-org/react";
1+
import {Image} from "@heroui/react";
22

33
import {ScriptProviders} from "@/components/scripts/script-providers";
44

apps/docs/app/blog/page.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export default function Blog() {
2020
return (
2121
<div className="w-full lg:px-16 mt-12">
2222
<div className="text-center">
23-
<h1 className="mb-2 font-bold text-4xl">NextUI Latest Updates</h1>
24-
<h5 className="text-default-500 text-lg">All the latest news about NextUI.</h5>
23+
<h1 className="mb-2 font-bold text-4xl">HeroUI Latest Updates</h1>
24+
<h5 className="text-default-500 text-lg">All the latest news about HeroUI.</h5>
2525
</div>
2626
<BlogPostList posts={posts} />
2727
</div>

apps/docs/app/docs/[[...slug]]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type {Metadata} from "next";
22

33
import {notFound} from "next/navigation";
44
import {allDocs} from "contentlayer2/generated";
5-
import {Link} from "@nextui-org/react";
5+
import {Link} from "@heroui/react";
66

77
import {MDXContent} from "@/components/mdx-content";
88
import {siteConfig} from "@/config/site";

apps/docs/app/docs/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Image} from "@nextui-org/react";
1+
import {Image} from "@heroui/react";
22

33
import manifest from "@/config/routes.json";
44
import {DocsSidebar} from "@/components/docs/sidebar";

apps/docs/app/examples/autocomplete/async-filtering/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"use client";
33

44
import * as React from "react";
5-
import {Autocomplete, AutocompleteItem} from "@nextui-org/react";
5+
import {Autocomplete, AutocompleteItem} from "@heroui/react";
66
import {useAsyncList} from "@react-stately/data";
77

88
type SWCharacter = {

apps/docs/app/examples/autocomplete/async-items-loading/page.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"use client";
33

44
import * as React from "react";
5-
import {Autocomplete, AutocompleteItem} from "@nextui-org/react";
6-
import {useInfiniteScroll} from "@nextui-org/use-infinite-scroll";
5+
import {Autocomplete, AutocompleteItem} from "@heroui/react";
6+
import {useInfiniteScroll} from "@heroui/use-infinite-scroll";
77

88
type Pokemon = {
99
name: string;

apps/docs/app/examples/autocomplete/fully-controlled/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client";
22

33
import * as React from "react";
4-
import {Autocomplete, AutocompleteItem, MenuTriggerAction} from "@nextui-org/react";
4+
import {Autocomplete, AutocompleteItem, MenuTriggerAction} from "@heroui/react";
55
import {useFilter} from "@react-aria/i18n";
66

77
const animals = [

apps/docs/app/examples/demo/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import {Card, CardBody, CircularProgress} from "@nextui-org/react";
3+
import {Card, CardBody, CircularProgress} from "@heroui/react";
44

55
export default function ButtonDemo() {
66
return (

apps/docs/app/examples/modal/placement/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
RadioGroup,
1212
Radio,
1313
ModalProps,
14-
} from "@nextui-org/react";
14+
} from "@heroui/react";
1515
import {useState} from "react";
1616

1717
export default function Page() {

apps/docs/app/examples/navbar/bordered/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@nextui-org/react";
3+
import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@heroui/react";
44

55
const AcmeLogo = () => (
66
<svg fill="none" height="36" viewBox="0 0 32 32" width="36">

apps/docs/app/examples/navbar/controlled-menu/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
NavbarMenuToggle,
1111
Button,
1212
Link,
13-
} from "@nextui-org/react";
13+
} from "@heroui/react";
1414
import React from "react";
1515

1616
const AcmeLogo = () => (

apps/docs/app/examples/navbar/custom-active-item/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@nextui-org/react";
3+
import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@heroui/react";
44

55
const AcmeLogo = () => (
66
<svg fill="none" height="36" viewBox="0 0 32 32" width="36">

apps/docs/app/examples/navbar/disable-menu-animation/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
NavbarMenu,
1111
NavbarMenuItem,
1212
NavbarMenuToggle,
13-
} from "@nextui-org/react";
13+
} from "@heroui/react";
1414
import React from "react";
1515

1616
const AcmeLogo = () => (

apps/docs/app/examples/navbar/disabled-blur/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@nextui-org/react";
3+
import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@heroui/react";
44

55
const AcmeLogo = () => (
66
<svg fill="none" height="36" viewBox="0 0 32 32" width="36">

apps/docs/app/examples/navbar/hide-on-scroll/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@nextui-org/react";
3+
import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@heroui/react";
44

55
const AcmeLogo = () => (
66
<svg fill="none" height="36" viewBox="0 0 32 32" width="36">

apps/docs/app/examples/navbar/static/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@nextui-org/react";
3+
import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@heroui/react";
44

55
const AcmeLogo = () => (
66
<svg fill="none" height="36" viewBox="0 0 32 32" width="36">

apps/docs/app/examples/navbar/usage/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@nextui-org/react";
3+
import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@heroui/react";
44

55
const AcmeLogo = () => (
66
<svg fill="none" height="36" viewBox="0 0 32 32" width="36">

apps/docs/app/examples/navbar/with-avatar/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
Dropdown,
1212
DropdownMenu,
1313
Avatar,
14-
} from "@nextui-org/react";
14+
} from "@heroui/react";
1515

1616
const AcmeLogo = () => (
1717
<svg fill="none" height="36" viewBox="0 0 32 32" width="36">

0 commit comments

Comments
 (0)