diff --git a/.changeset/config.json b/.changeset/config.json index 4961d58b04..18e7fe8eb7 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -2,7 +2,7 @@ "$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json", "changelog": [ "@changesets/changelog-github", - { "repo": "nextui-org/nextui" } + { "repo": "frontio-ai/heroui" } ], "commit": false, "fixed": [], @@ -14,7 +14,7 @@ "onlyUpdatePeerDependentsWhenOutOfRange": true }, "ignore": [ - "@nextui-org/docs", - "@nextui-org/storybook" + "@heroui/docs", + "@heroui/storybook" ] } \ No newline at end of file diff --git a/.commitlintrc.cjs b/.commitlintrc.cjs index a822937a8a..b4c2778230 100644 --- a/.commitlintrc.cjs +++ b/.commitlintrc.cjs @@ -3,7 +3,7 @@ const conventional = require("@commitlint/config-conventional"); module.exports = { extends: ["@commitlint/config-conventional"], plugins: ["commitlint-plugin-function-rules"], - helpUrl: "https://github.com/nextui-org/nextui/blob/main/CONTRIBUTING.md#commit-convention", + helpUrl: "https://github.com/frontio-ai/heroui/blob/main/CONTRIBUTING.md#commit-convention", rules: { ...conventional.rules, "type-enum": [ diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index fdb6c9ec4b..9e51004e30 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -8,28 +8,28 @@ body: value: | Thank you for reporting an issue :pray:. - This issue tracker is for reporting bugs found in [NextUI github repository](https://github.com/nextui-org/nextui/) + This issue tracker is for reporting bugs found in [HeroUI github repository](https://github.com/frontio-ai/heroui/) If you have a question about how to achieve something and are struggling, please post a question inside of either of the following places: - - NextUI's [Discussion's tab](https://github.com/nextui-org/nextui/discussions) - - NextUI's [Discord channel](https://discord.gg/9b6yyZKmH4) + - HeroUI's [Discussion's tab](https://github.com/frontio-ai/heroui/discussions) + - HeroUI's [Discord channel](https://discord.gg/9b6yyZKmH4) Before submitting a new bug/issue, please check the links below to see if there is a solution or question posted there already: - - NextUI's [Issue's tab](https://github.com/nextui-org/nextui/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc) - - NextUI's [closed issues tab](https://github.com/nextui-org/nextui/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed) - - NextUI's [Discussions tab](https://github.com/nextui-org/nextui/discussions) + - HeroUI's [Issue's tab](https://github.com/frontio-ai/heroui/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc) + - HeroUI's [closed issues tab](https://github.com/frontio-ai/heroui/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed) + - HeroUI's [Discussions tab](https://github.com/frontio-ai/heroui/discussions) The more information you fill in, the better the community can help you. - type: input id: version attributes: - label: NextUI Version + label: HeroUI Version description: | - Please provide the version of NextUI you are using. + Please provide the version of HeroUI you are using. You can find the version number in the package.json file. For global installation, please state the version only. (e.g. 2.4.2) - For individual installation, please state the package name as well. (e.g. @nextui-org/button@2.0.34) + For individual installation, please state the package name as well. (e.g. @heroui/button@2.0.34) placeholder: ex. 2.4.2 validations: required: true @@ -47,7 +47,7 @@ body: description: | Which website or app were you using when the bug happened? Note: - - 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. + - 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. - To create a shareable code example you can use Stackblitz (https://stackblitz.com/). Please no localhost URLs. - Please read these tips for providing a minimal example: https://stackoverflow.com/help/mcve. placeholder: | diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index e8f6cc03d3..c62ee7df58 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1,11 @@ blank_issues_enabled: true contact_links: - name: 🤔 Long question or ideas? - url: https://github.com/nextui-org/nextui/discussions + url: https://github.com/frontio-ai/heroui/discussions about: Ask long-form questions and discuss ideas. - name: 💬 Discord Community Chat url: https://discord.gg/9b6yyZKmH4 - about: Ask quick questions or simply chat on the `NextUI` community Discord server. + about: Ask quick questions or simply chat on the `HeroUI` community Discord server. - name: 💬 New Updates (X) - url: https://x.com/getnextui - about: Link to our X account if you want to follow us and stay up to date with NextUI news + url: https://x.com/hero_ui + about: Link to our X account if you want to follow us and stay up to date with HeroUI news diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 0d90055d5c..537ed47e6a 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -2,7 +2,7 @@ name: Feature request title: "[Feature Request] YOUR_FEATURE_TITLE_HERE_REPLACE_ME" labels: [feature request] description: | - 💡 Suggest an idea for the `NextUI` project + 💡 Suggest an idea for the `HeroUI` project Examples - propose a new component - improve an exiting component @@ -12,7 +12,7 @@ body: attributes: value: | This issue form is for requesting features only! For example, requesting a new component, behavior ... etc - 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). + 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). - type: textarea validations: required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 9c4ff17f0c..0110e86978 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -23,6 +23,6 @@ Closes # ## 💣 Is this a breaking change (Yes/No): - + ## 📝 Additional Information diff --git a/.npmrc b/.npmrc index 1d46cebd7c..ebf0644e99 100644 --- a/.npmrc +++ b/.npmrc @@ -3,4 +3,4 @@ enable-pre-post-scripts=true public-hoist-pattern[]=*tailwind-variants* public-hoist-pattern[]=*framer-motion* public-hoist-pattern[]=*@react-aria/interactions* -public-hoist-pattern[]=*@nextui-org/theme* \ No newline at end of file +public-hoist-pattern[]=*@heroui/theme* \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index afbd43109f..01ca279359 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,8 +1,8 @@ -# Next UI Contributing Guide +# HeroUI Contributing Guide -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. +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. -- [Code of Conduct](https://github.com/jrgarciadev/nextui/blob/main/CODE_OF_CONDUCT.md) +- [Code of Conduct](https://github.com/frontio-ai/heroui/blob/canary/CODE_OF_CONDUCT.md) - [Extraction request guidelines](#pull-request-guidelines) - [Development Setup](#development-setup) - [Tests](#tests) @@ -71,7 +71,7 @@ https://www.conventionalcommits.org/ or check out the ### Steps to PR -1. Fork of the nextui repository and clone your fork +1. Fork of the heroui repository and clone your fork 2. Create a new branch out of the `canary` branch. We follow the convention `[type/scope]`. For example `fix/dropdown-hook` or `docs/menu-typo`. `type` @@ -79,7 +79,7 @@ https://www.conventionalcommits.org/ or check out the commit type. `scope` is just a short id that describes the scope of work. 3. Make and commit your changes following the - [commit convention](https://github.com/nextui-org/nextui/blob/main/CONTRIBUTING.md#commit-convention). + [commit convention](https://github.com/frontio-ai/heroui/blob/main/CONTRIBUTING.md#commit-convention). As you canary, you can run `pnpm build --filter=` and `pnpm test packages//` e.g. `pnpm build --filter=avatar & pnpm test packages/components/avatar` to make sure everything works as expected. @@ -117,7 +117,7 @@ We use [Turbo Repo](https://turborepo.org/) for the project management. 2. If you will be working on the components source code, you can use the following command to start the webpack dev server: ```bash -## Start the dev babel server of NextUI core components +## Start the dev babel server of HeroUI core components pnpm dev ## optional @@ -128,10 +128,10 @@ pnpm dev:docs ## this will start the documentation next.js server and it will au ``` - If you will be working just on the documentation source code / mdx, you can use the following commands to build - NextUI components and then start the next.js dev server: + HeroUI components and then start the next.js dev server: ```bash -## Build NextUI source components +## Build HeroUI source components pnpm build ## Start the next.js documentation dev server @@ -210,13 +210,13 @@ When making a visual change, please provide screenshots and/or screencasts of the proposed change. This will help us to understand the desired change easier. -Until NextUI has a stable release new components will be created only for the core team. +Until HeroUI has a stable release new components will be created only for the core team. ## Documentation Please update the docs with any API changes, the code and docs should always be in sync. -The main documentation lives in the `apps/docs/content` folder, the project uses MDX and all `NextUI` are already imported. +The main documentation lives in the `apps/docs/content` folder, the project uses MDX and all `HeroUI` are already imported. ## Breaking changes @@ -224,7 +224,7 @@ Breaking changes should be accompanied with deprecations of removed functionalit ## Becoming a maintainer -If you are interested in becoming a NextUI maintainer, start by +If you are interested in becoming a HeroUI maintainer, start by reviewing issues and pull requests. Answer questions for those in need of troubleshooting. Join us in the [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. GitHub by default does not publicly state that you are a member of the organization. Please feel free to change that setting for yourself so others will know who's helping out. That can be configured on the [organization -list](https://github.com/orgs/nextui-org/people) page. +list](https://github.com/orgs/frontio-ai/people) page. Being a maintainer is not an obligation. You can help when you have time and be less active when you don't. If you get a new job and get busy, that's alright. diff --git a/apps/docs/.env.example b/apps/docs/.env.example index 67b4d8ec05..3889456f1c 100644 --- a/apps/docs/.env.example +++ b/apps/docs/.env.example @@ -8,6 +8,7 @@ NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY= # Vercel Env (is used for skipping typescript check) IS_VERCEL_ENV=true/false +IGNORE_BUILD_CHECKS=true/false IS_PREVIEW=true/false ANALYZE_BUNDLE=true/false diff --git a/apps/docs/.gitignore b/apps/docs/.gitignore index d9392ede0a..9b99dfb34d 100644 --- a/apps/docs/.gitignore +++ b/apps/docs/.gitignore @@ -28,6 +28,7 @@ yarn-error.log* # local env files .env .env*.local +.dev.vars # vercel .vercel @@ -35,3 +36,7 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +# cloudflare +.wrangler +/.open-next/ diff --git a/apps/docs/app/blog/[slug]/page.tsx b/apps/docs/app/blog/[slug]/page.tsx index e3dab232d4..e44bda5ea7 100644 --- a/apps/docs/app/blog/[slug]/page.tsx +++ b/apps/docs/app/blog/[slug]/page.tsx @@ -2,7 +2,7 @@ import type {Metadata} from "next"; import {notFound} from "next/navigation"; import {allBlogPosts} from "contentlayer2/generated"; -import {Link, User} from "@nextui-org/react"; +import {Link, User} from "@heroui/react"; import {format, parseISO} from "date-fns"; import NextLink from "next/link"; import {Balancer} from "react-wrap-balancer"; diff --git a/apps/docs/app/blog/layout.tsx b/apps/docs/app/blog/layout.tsx index a105d13a2c..b724bb9bae 100644 --- a/apps/docs/app/blog/layout.tsx +++ b/apps/docs/app/blog/layout.tsx @@ -1,4 +1,4 @@ -import {Image} from "@nextui-org/react"; +import {Image} from "@heroui/react"; import {ScriptProviders} from "@/components/scripts/script-providers"; diff --git a/apps/docs/app/blog/page.tsx b/apps/docs/app/blog/page.tsx index b19c5eb92b..9d7b84a0e2 100644 --- a/apps/docs/app/blog/page.tsx +++ b/apps/docs/app/blog/page.tsx @@ -20,8 +20,8 @@ export default function Blog() { return (
-

NextUI Latest Updates

-
All the latest news about NextUI.
+

HeroUI Latest Updates

+
All the latest news about HeroUI.
diff --git a/apps/docs/app/docs/[[...slug]]/page.tsx b/apps/docs/app/docs/[[...slug]]/page.tsx index 0c37cbbb74..da649aba04 100644 --- a/apps/docs/app/docs/[[...slug]]/page.tsx +++ b/apps/docs/app/docs/[[...slug]]/page.tsx @@ -2,7 +2,7 @@ import type {Metadata} from "next"; import {notFound} from "next/navigation"; import {allDocs} from "contentlayer2/generated"; -import {Link} from "@nextui-org/react"; +import {Link} from "@heroui/react"; import {MDXContent} from "@/components/mdx-content"; import {siteConfig} from "@/config/site"; diff --git a/apps/docs/app/docs/layout.tsx b/apps/docs/app/docs/layout.tsx index 1f527d98df..90a29d8f1f 100644 --- a/apps/docs/app/docs/layout.tsx +++ b/apps/docs/app/docs/layout.tsx @@ -1,4 +1,4 @@ -import {Image} from "@nextui-org/react"; +import {Image} from "@heroui/react"; import manifest from "@/config/routes.json"; import {DocsSidebar} from "@/components/docs/sidebar"; diff --git a/apps/docs/app/examples/autocomplete/async-filtering/page.tsx b/apps/docs/app/examples/autocomplete/async-filtering/page.tsx index f5bcb9cb96..466dd856cd 100644 --- a/apps/docs/app/examples/autocomplete/async-filtering/page.tsx +++ b/apps/docs/app/examples/autocomplete/async-filtering/page.tsx @@ -2,7 +2,7 @@ "use client"; import * as React from "react"; -import {Autocomplete, AutocompleteItem} from "@nextui-org/react"; +import {Autocomplete, AutocompleteItem} from "@heroui/react"; import {useAsyncList} from "@react-stately/data"; type SWCharacter = { diff --git a/apps/docs/app/examples/autocomplete/async-items-loading/page.tsx b/apps/docs/app/examples/autocomplete/async-items-loading/page.tsx index 303d96cbbd..757dbf51f3 100644 --- a/apps/docs/app/examples/autocomplete/async-items-loading/page.tsx +++ b/apps/docs/app/examples/autocomplete/async-items-loading/page.tsx @@ -2,8 +2,8 @@ "use client"; import * as React from "react"; -import {Autocomplete, AutocompleteItem} from "@nextui-org/react"; -import {useInfiniteScroll} from "@nextui-org/use-infinite-scroll"; +import {Autocomplete, AutocompleteItem} from "@heroui/react"; +import {useInfiniteScroll} from "@heroui/use-infinite-scroll"; type Pokemon = { name: string; diff --git a/apps/docs/app/examples/autocomplete/fully-controlled/page.tsx b/apps/docs/app/examples/autocomplete/fully-controlled/page.tsx index ee671adf45..1864576860 100644 --- a/apps/docs/app/examples/autocomplete/fully-controlled/page.tsx +++ b/apps/docs/app/examples/autocomplete/fully-controlled/page.tsx @@ -1,7 +1,7 @@ "use client"; import * as React from "react"; -import {Autocomplete, AutocompleteItem, MenuTriggerAction} from "@nextui-org/react"; +import {Autocomplete, AutocompleteItem, MenuTriggerAction} from "@heroui/react"; import {useFilter} from "@react-aria/i18n"; const animals = [ diff --git a/apps/docs/app/examples/demo/page.tsx b/apps/docs/app/examples/demo/page.tsx index 273f613fc9..dfad08896b 100644 --- a/apps/docs/app/examples/demo/page.tsx +++ b/apps/docs/app/examples/demo/page.tsx @@ -1,6 +1,6 @@ "use client"; -import {Card, CardBody, CircularProgress} from "@nextui-org/react"; +import {Card, CardBody, CircularProgress} from "@heroui/react"; export default function ButtonDemo() { return ( diff --git a/apps/docs/app/examples/modal/placement/page.tsx b/apps/docs/app/examples/modal/placement/page.tsx index ac5f472908..6e7e1c6dfc 100644 --- a/apps/docs/app/examples/modal/placement/page.tsx +++ b/apps/docs/app/examples/modal/placement/page.tsx @@ -11,7 +11,7 @@ import { RadioGroup, Radio, ModalProps, -} from "@nextui-org/react"; +} from "@heroui/react"; import {useState} from "react"; export default function Page() { diff --git a/apps/docs/app/examples/navbar/bordered/page.tsx b/apps/docs/app/examples/navbar/bordered/page.tsx index ed0f668cbb..9ce51449f4 100644 --- a/apps/docs/app/examples/navbar/bordered/page.tsx +++ b/apps/docs/app/examples/navbar/bordered/page.tsx @@ -1,6 +1,6 @@ "use client"; -import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@nextui-org/react"; +import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@heroui/react"; const AcmeLogo = () => ( diff --git a/apps/docs/app/examples/navbar/controlled-menu/page.tsx b/apps/docs/app/examples/navbar/controlled-menu/page.tsx index 5c71a2b3f2..7ee66cbf61 100644 --- a/apps/docs/app/examples/navbar/controlled-menu/page.tsx +++ b/apps/docs/app/examples/navbar/controlled-menu/page.tsx @@ -10,7 +10,7 @@ import { NavbarMenuToggle, Button, Link, -} from "@nextui-org/react"; +} from "@heroui/react"; import React from "react"; const AcmeLogo = () => ( diff --git a/apps/docs/app/examples/navbar/custom-active-item/page.tsx b/apps/docs/app/examples/navbar/custom-active-item/page.tsx index ea209af433..ed9602e349 100644 --- a/apps/docs/app/examples/navbar/custom-active-item/page.tsx +++ b/apps/docs/app/examples/navbar/custom-active-item/page.tsx @@ -1,6 +1,6 @@ "use client"; -import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@nextui-org/react"; +import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@heroui/react"; const AcmeLogo = () => ( diff --git a/apps/docs/app/examples/navbar/disable-menu-animation/page.tsx b/apps/docs/app/examples/navbar/disable-menu-animation/page.tsx index 447f0d509c..680fa8976a 100644 --- a/apps/docs/app/examples/navbar/disable-menu-animation/page.tsx +++ b/apps/docs/app/examples/navbar/disable-menu-animation/page.tsx @@ -10,7 +10,7 @@ import { NavbarMenu, NavbarMenuItem, NavbarMenuToggle, -} from "@nextui-org/react"; +} from "@heroui/react"; import React from "react"; const AcmeLogo = () => ( diff --git a/apps/docs/app/examples/navbar/disabled-blur/page.tsx b/apps/docs/app/examples/navbar/disabled-blur/page.tsx index eabfd06544..db628dad48 100644 --- a/apps/docs/app/examples/navbar/disabled-blur/page.tsx +++ b/apps/docs/app/examples/navbar/disabled-blur/page.tsx @@ -1,6 +1,6 @@ "use client"; -import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@nextui-org/react"; +import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@heroui/react"; const AcmeLogo = () => ( diff --git a/apps/docs/app/examples/navbar/hide-on-scroll/page.tsx b/apps/docs/app/examples/navbar/hide-on-scroll/page.tsx index e32ef4ef44..e7fa3c75f8 100644 --- a/apps/docs/app/examples/navbar/hide-on-scroll/page.tsx +++ b/apps/docs/app/examples/navbar/hide-on-scroll/page.tsx @@ -1,6 +1,6 @@ "use client"; -import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@nextui-org/react"; +import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@heroui/react"; const AcmeLogo = () => ( diff --git a/apps/docs/app/examples/navbar/static/page.tsx b/apps/docs/app/examples/navbar/static/page.tsx index 5330a23f22..5a8d95522b 100644 --- a/apps/docs/app/examples/navbar/static/page.tsx +++ b/apps/docs/app/examples/navbar/static/page.tsx @@ -1,6 +1,6 @@ "use client"; -import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@nextui-org/react"; +import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@heroui/react"; const AcmeLogo = () => ( diff --git a/apps/docs/app/examples/navbar/usage/page.tsx b/apps/docs/app/examples/navbar/usage/page.tsx index 732cab36ad..c2248d0ff9 100644 --- a/apps/docs/app/examples/navbar/usage/page.tsx +++ b/apps/docs/app/examples/navbar/usage/page.tsx @@ -1,6 +1,6 @@ "use client"; -import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@nextui-org/react"; +import {Navbar, NavbarBrand, NavbarContent, NavbarItem, Link, Button} from "@heroui/react"; const AcmeLogo = () => ( diff --git a/apps/docs/app/examples/navbar/with-avatar/page.tsx b/apps/docs/app/examples/navbar/with-avatar/page.tsx index e33a4831a9..b1999324ff 100644 --- a/apps/docs/app/examples/navbar/with-avatar/page.tsx +++ b/apps/docs/app/examples/navbar/with-avatar/page.tsx @@ -11,7 +11,7 @@ import { Dropdown, DropdownMenu, Avatar, -} from "@nextui-org/react"; +} from "@heroui/react"; const AcmeLogo = () => ( diff --git a/apps/docs/app/examples/navbar/with-dropdown-menu/page.tsx b/apps/docs/app/examples/navbar/with-dropdown-menu/page.tsx index 6d2c2f7a6c..4d3cafa58e 100644 --- a/apps/docs/app/examples/navbar/with-dropdown-menu/page.tsx +++ b/apps/docs/app/examples/navbar/with-dropdown-menu/page.tsx @@ -11,8 +11,8 @@ import { DropdownTrigger, Dropdown, DropdownMenu, -} from "@nextui-org/react"; -import {ChevronDown, Lock, Activity, Flash, Server, TagUser, Scale} from "@nextui-org/shared-icons"; +} from "@heroui/react"; +import {ChevronDown, Lock, Activity, Flash, Server, TagUser, Scale} from "@heroui/shared-icons"; const AcmeLogo = () => ( diff --git a/apps/docs/app/examples/navbar/with-menu/page.tsx b/apps/docs/app/examples/navbar/with-menu/page.tsx index 481ba3f134..d946a4b2cb 100644 --- a/apps/docs/app/examples/navbar/with-menu/page.tsx +++ b/apps/docs/app/examples/navbar/with-menu/page.tsx @@ -10,7 +10,7 @@ import { NavbarMenuToggle, NavbarMenu, NavbarMenuItem, -} from "@nextui-org/react"; +} from "@heroui/react"; import React from "react"; const AcmeLogo = () => ( diff --git a/apps/docs/app/examples/navbar/with-search-input/page.tsx b/apps/docs/app/examples/navbar/with-search-input/page.tsx index 82a91d46de..889dee8b9d 100644 --- a/apps/docs/app/examples/navbar/with-search-input/page.tsx +++ b/apps/docs/app/examples/navbar/with-search-input/page.tsx @@ -12,7 +12,7 @@ import { Dropdown, DropdownMenu, Avatar, -} from "@nextui-org/react"; +} from "@heroui/react"; import {SearchLinearIcon} from "@/components/icons"; diff --git a/apps/docs/app/examples/perf/client-page.tsx b/apps/docs/app/examples/perf/client-page.tsx index 79ab457b0a..4e3e27c629 100644 --- a/apps/docs/app/examples/perf/client-page.tsx +++ b/apps/docs/app/examples/perf/client-page.tsx @@ -16,7 +16,7 @@ import { Pagination, extendVariants, PaginationItem, -} from "@nextui-org/react"; +} from "@heroui/react"; import {useFilter} from "@react-aria/i18n"; import {useEffect, useMemo, useRef, useState} from "react"; import {useSearchParams} from "next/navigation"; @@ -390,7 +390,7 @@ const usersData = [ }, ]; -export default function NextUIPerf() { +export default function HeroUIPerf() { const [textA, setTextA] = useState(""); const [textB, setTextB] = useState(""); const [textC, setTextC] = useState(""); diff --git a/apps/docs/app/examples/select/async-items-loading/page.tsx b/apps/docs/app/examples/select/async-items-loading/page.tsx index 2b08c4c6fc..7466163f55 100644 --- a/apps/docs/app/examples/select/async-items-loading/page.tsx +++ b/apps/docs/app/examples/select/async-items-loading/page.tsx @@ -1,9 +1,9 @@ /* eslint-disable no-console */ "use client"; -import {Select, SelectItem} from "@nextui-org/react"; +import {Select, SelectItem} from "@heroui/react"; import {useEffect, useState} from "react"; -import {useInfiniteScroll} from "@nextui-org/use-infinite-scroll"; +import {useInfiniteScroll} from "@heroui/use-infinite-scroll"; type Pokemon = { name: string; diff --git a/apps/docs/app/examples/table/async-pagination/page.tsx b/apps/docs/app/examples/table/async-pagination/page.tsx index 10f85cddbf..bff7e38d83 100644 --- a/apps/docs/app/examples/table/async-pagination/page.tsx +++ b/apps/docs/app/examples/table/async-pagination/page.tsx @@ -10,7 +10,7 @@ import { getKeyValue, Spinner, Pagination, -} from "@nextui-org/react"; +} from "@heroui/react"; import {useMemo, useState} from "react"; import useSWR from "swr"; diff --git a/apps/docs/app/examples/table/custom-styles/page.tsx b/apps/docs/app/examples/table/custom-styles/page.tsx index 29c7bcd7c4..2ecd1ebc22 100644 --- a/apps/docs/app/examples/table/custom-styles/page.tsx +++ b/apps/docs/app/examples/table/custom-styles/page.tsx @@ -20,10 +20,10 @@ import { ChipProps, Pagination, SortDescriptor, -} from "@nextui-org/react"; -import {ChevronDownIcon, SearchIcon} from "@nextui-org/shared-icons"; +} from "@heroui/react"; +import {ChevronDownIcon, SearchIcon} from "@heroui/shared-icons"; import {useCallback, useMemo, useState} from "react"; -import {capitalize} from "@nextui-org/shared-utils"; +import {capitalize} from "@heroui/shared-utils"; import {PlusLinearIcon} from "@/components/icons"; import {VerticalDotsIcon} from "@/components/icons/vertical-dots"; diff --git a/apps/docs/app/examples/table/infinite-pagination/page.tsx b/apps/docs/app/examples/table/infinite-pagination/page.tsx index c4480162b4..fd7ab4bd80 100644 --- a/apps/docs/app/examples/table/infinite-pagination/page.tsx +++ b/apps/docs/app/examples/table/infinite-pagination/page.tsx @@ -9,9 +9,9 @@ import { TableCell, getKeyValue, Spinner, -} from "@nextui-org/react"; +} from "@heroui/react"; import {useAsyncList} from "@react-stately/data"; -import {useInfiniteScroll} from "@nextui-org/use-infinite-scroll"; +import {useInfiniteScroll} from "@heroui/use-infinite-scroll"; import {useState} from "react"; type SWCharacter = { diff --git a/apps/docs/app/examples/table/load-more/page.tsx b/apps/docs/app/examples/table/load-more/page.tsx index f6422f6423..c0285279a4 100644 --- a/apps/docs/app/examples/table/load-more/page.tsx +++ b/apps/docs/app/examples/table/load-more/page.tsx @@ -10,7 +10,7 @@ import { getKeyValue, Spinner, Button, -} from "@nextui-org/react"; +} from "@heroui/react"; import {useAsyncList} from "@react-stately/data"; import {useState} from "react"; diff --git a/apps/docs/app/examples/table/sorting/page.tsx b/apps/docs/app/examples/table/sorting/page.tsx index 2854e64607..e06f1e090b 100644 --- a/apps/docs/app/examples/table/sorting/page.tsx +++ b/apps/docs/app/examples/table/sorting/page.tsx @@ -9,7 +9,7 @@ import { TableCell, getKeyValue, Spinner, -} from "@nextui-org/react"; +} from "@heroui/react"; import {useAsyncList} from "@react-stately/data"; import {useState} from "react"; diff --git a/apps/docs/app/examples/table/use-case/page.tsx b/apps/docs/app/examples/table/use-case/page.tsx index f186179d81..4fd31c6203 100644 --- a/apps/docs/app/examples/table/use-case/page.tsx +++ b/apps/docs/app/examples/table/use-case/page.tsx @@ -20,10 +20,10 @@ import { ChipProps, Pagination, SortDescriptor, -} from "@nextui-org/react"; -import {ChevronDownIcon, SearchIcon} from "@nextui-org/shared-icons"; +} from "@heroui/react"; +import {ChevronDownIcon, SearchIcon} from "@heroui/shared-icons"; import {useCallback, useMemo, useState} from "react"; -import {capitalize} from "@nextui-org/shared-utils"; +import {capitalize} from "@heroui/shared-utils"; import {PlusLinearIcon} from "@/components/icons"; import {VerticalDotsIcon} from "@/components/icons/vertical-dots"; diff --git a/apps/docs/app/figma/page.tsx b/apps/docs/app/figma/page.tsx deleted file mode 100644 index 0a1043de81..0000000000 --- a/apps/docs/app/figma/page.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import {Image} from "@nextui-org/react"; - -import {Blockquote} from "@/components/docs/components/blockquote"; -import {FigmaButton} from "@/components/figma-button"; -import {ScriptProviders} from "@/components/scripts/script-providers"; - -export default function FigmaPage() { - return ( - <> -
-
-
-

NextUI Figma Kit

-
- A Figma file that contains the basis of the NextUI design system to help you design - your applications. -
-
- -