From 7ebe0e664feb777fe0cad311312d0e02b899319e Mon Sep 17 00:00:00 2001 From: Junior Garcia Date: Sat, 18 Jan 2025 17:16:34 -0300 Subject: [PATCH 1/2] Org name change (#4594) * chore: kapa-ai temporary disabled * chore: org renamed --- .changeset/calm-flies-serve.md | 87 ++++++++++++ .changeset/config.json | 2 +- .commitlintrc.cjs | 2 +- .github/ISSUE_TEMPLATE/bug_report.yml | 10 +- .github/ISSUE_TEMPLATE/config.yml | 2 +- .github/ISSUE_TEMPLATE/feature_request.yml | 2 +- apps/docs/app/blog/layout.tsx | 2 +- apps/docs/app/docs/layout.tsx | 2 +- apps/docs/app/layout.tsx | 2 +- .../docs/components/blog/nextjs-templates.tsx | 4 +- .../components/scripts/script-providers.tsx | 8 +- apps/docs/config/site.ts | 2 +- apps/docs/content/blog/introducing-heroui.mdx | 2 +- apps/docs/content/blog/nextui-v2.mdx | 2 +- apps/docs/content/blog/v2.1.0.mdx | 2 +- apps/docs/content/blog/v2.2.0.mdx | 2 +- apps/docs/content/blog/v2.3.0.mdx | 60 ++++---- apps/docs/content/blog/v2.4.0.mdx | 68 ++++----- apps/docs/content/blog/v2.6.0.mdx | 134 +++++++++--------- .../content/components/card/divider.raw.jsx | 2 +- .../link/custom-anchor-icon.raw.jsx | 2 +- .../content/components/link/external.raw.jsx | 4 +- .../components/link/polymorphic.raw.jsx | 2 +- .../content/docs/customization/dark-mode.mdx | 2 +- apps/docs/content/docs/frameworks/laravel.mdx | 8 +- apps/docs/content/docs/frameworks/nextjs.mdx | 8 +- apps/docs/content/docs/frameworks/remix.mdx | 8 +- apps/docs/content/docs/frameworks/vite.mdx | 8 +- apps/docs/content/docs/guide/introduction.mdx | 2 +- .../content/docs/guide/nextui-to-heroui.mdx | 2 +- apps/docs/libs/github/constants.ts | 2 +- apps/docs/scripts/update-github-info.ts | 2 +- package.json | 2 +- packages/components/accordion/package.json | 4 +- packages/components/alert/package.json | 4 +- packages/components/autocomplete/package.json | 4 +- .../autocomplete/src/use-autocomplete.ts | 2 +- packages/components/avatar/package.json | 4 +- packages/components/badge/package.json | 4 +- packages/components/breadcrumbs/package.json | 4 +- packages/components/button/package.json | 4 +- packages/components/calendar/package.json | 4 +- packages/components/card/package.json | 4 +- .../components/card/stories/card.stories.tsx | 2 +- packages/components/checkbox/package.json | 4 +- packages/components/chip/package.json | 4 +- packages/components/code/package.json | 4 +- packages/components/date-input/package.json | 4 +- packages/components/date-picker/package.json | 4 +- packages/components/divider/package.json | 4 +- packages/components/drawer/package.json | 4 +- packages/components/dropdown/package.json | 4 +- packages/components/form/package.json | 4 +- packages/components/image/package.json | 4 +- packages/components/input-otp/package.json | 4 +- packages/components/input/package.json | 4 +- packages/components/kbd/package.json | 4 +- packages/components/link/package.json | 4 +- packages/components/listbox/package.json | 4 +- .../listbox/src/use-listbox-item.ts | 2 +- packages/components/menu/package.json | 4 +- packages/components/menu/src/use-menu-item.ts | 2 +- packages/components/modal/package.json | 4 +- packages/components/navbar/package.json | 4 +- packages/components/pagination/package.json | 4 +- packages/components/popover/package.json | 4 +- packages/components/progress/package.json | 4 +- packages/components/radio/package.json | 4 +- packages/components/ripple/package.json | 4 +- .../components/scroll-shadow/package.json | 4 +- packages/components/select/package.json | 4 +- packages/components/skeleton/package.json | 4 +- packages/components/slider/package.json | 4 +- packages/components/snippet/package.json | 4 +- packages/components/spacer/package.json | 4 +- packages/components/spinner/package.json | 4 +- packages/components/switch/package.json | 4 +- packages/components/table/package.json | 4 +- packages/components/tabs/package.json | 4 +- packages/components/tooltip/package.json | 4 +- packages/components/user/package.json | 4 +- packages/core/react/package.json | 4 +- packages/core/system-rsc/package.json | 4 +- packages/core/system/package.json | 4 +- packages/core/theme/package.json | 4 +- .../use-aria-accordion-item/package.json | 4 +- .../hooks/use-aria-accordion/package.json | 4 +- .../use-aria-accordion/src/use-accordion.ts | 2 +- packages/hooks/use-aria-button/package.json | 4 +- packages/hooks/use-aria-button/src/index.ts | 4 +- packages/hooks/use-aria-link/package.json | 4 +- packages/hooks/use-aria-link/src/index.ts | 4 +- .../hooks/use-aria-modal-overlay/package.json | 4 +- .../hooks/use-aria-multiselect/package.json | 4 +- packages/hooks/use-callback-ref/package.json | 4 +- packages/hooks/use-clipboard/package.json | 4 +- .../use-data-scroll-overflow/package.json | 4 +- packages/hooks/use-disclosure/package.json | 4 +- packages/hooks/use-draggable/package.json | 4 +- packages/hooks/use-image/package.json | 4 +- .../hooks/use-infinite-scroll/package.json | 4 +- .../use-intersection-observer/package.json | 4 +- packages/hooks/use-is-mobile/package.json | 4 +- packages/hooks/use-is-mounted/package.json | 4 +- packages/hooks/use-measure/package.json | 4 +- packages/hooks/use-pagination/package.json | 4 +- packages/hooks/use-real-shape/package.json | 4 +- packages/hooks/use-ref-state/package.json | 4 +- packages/hooks/use-resize/package.json | 4 +- .../hooks/use-safe-layout-effect/package.json | 4 +- .../hooks/use-scroll-position/package.json | 4 +- packages/hooks/use-ssr/package.json | 4 +- packages/hooks/use-theme/package.json | 4 +- packages/hooks/use-update-effect/package.json | 4 +- packages/storybook/.storybook/welcome.mdx | 2 +- packages/storybook/package.json | 4 +- packages/utilities/aria-utils/package.json | 4 +- packages/utilities/dom-animation/package.json | 4 +- packages/utilities/framer-utils/package.json | 4 +- .../utilities/react-rsc-utils/package.json | 4 +- packages/utilities/react-utils/package.json | 4 +- packages/utilities/shared-icons/package.json | 4 +- packages/utilities/shared-utils/package.json | 4 +- packages/utilities/stories-utils/package.json | 4 +- packages/utilities/test-utils/package.json | 4 +- plop/component/README.md.hbs | 4 +- plop/component/package.json.hbs | 4 +- plop/hook/README.md.hbs | 4 +- plop/hook/package.json.hbs | 4 +- plop/package/README.md.hbs | 4 +- plop/package/package.json.hbs | 4 +- 131 files changed, 459 insertions(+), 370 deletions(-) create mode 100644 .changeset/calm-flies-serve.md diff --git a/.changeset/calm-flies-serve.md b/.changeset/calm-flies-serve.md new file mode 100644 index 000000000..a2620a039 --- /dev/null +++ b/.changeset/calm-flies-serve.md @@ -0,0 +1,87 @@ +--- +"@heroui/use-intersection-observer": patch +"@heroui/use-data-scroll-overflow": patch +"@heroui/use-aria-accordion-item": patch +"@heroui/use-aria-modal-overlay": patch +"@heroui/use-safe-layout-effect": patch +"@heroui/use-aria-multiselect": patch +"@heroui/use-infinite-scroll": patch +"@heroui/use-scroll-position": patch +"@heroui/react-rsc-utils": patch +"@heroui/scroll-shadow": patch +"@heroui/use-aria-accordion": patch +"@heroui/autocomplete": patch +"@heroui/use-update-effect": patch +"@heroui/dom-animation": patch +"@heroui/stories-utils": patch +"@heroui/breadcrumbs": patch +"@heroui/date-picker": patch +"@heroui/use-callback-ref": patch +"@heroui/framer-utils": patch +"@heroui/shared-icons": patch +"@heroui/shared-utils": patch +"@heroui/date-input": patch +"@heroui/pagination": patch +"@heroui/use-aria-button": patch +"@heroui/react-utils": patch +"@heroui/accordion": patch +"@heroui/input-otp": patch +"@heroui/use-disclosure": patch +"@heroui/use-is-mounted": patch +"@heroui/use-pagination": patch +"@heroui/use-real-shape": patch +"@heroui/aria-utils": patch +"@heroui/test-utils": patch +"@heroui/calendar": patch +"@heroui/checkbox": patch +"@heroui/dropdown": patch +"@heroui/progress": patch +"@heroui/skeleton": patch +"@heroui/use-aria-link": patch +"@heroui/use-clipboard": patch +"@heroui/use-draggable": patch +"@heroui/use-is-mobile": patch +"@heroui/use-ref-state": patch +"@heroui/divider": patch +"@heroui/listbox": patch +"@heroui/popover": patch +"@heroui/snippet": patch +"@heroui/spinner": patch +"@heroui/tooltip": patch +"@heroui/avatar": patch +"@heroui/button": patch +"@heroui/drawer": patch +"@heroui/navbar": patch +"@heroui/ripple": patch +"@heroui/select": patch +"@heroui/slider": patch +"@heroui/spacer": patch +"@heroui/switch": patch +"@heroui/use-measure": patch +"@heroui/alert": patch +"@heroui/badge": patch +"@heroui/image": patch +"@heroui/input": patch +"@heroui/modal": patch +"@heroui/radio": patch +"@heroui/table": patch +"@heroui/use-resize": patch +"@heroui/card": patch +"@heroui/chip": patch +"@heroui/code": patch +"@heroui/form": patch +"@heroui/link": patch +"@heroui/menu": patch +"@heroui/tabs": patch +"@heroui/user": patch +"@heroui/system-rsc": patch +"@heroui/use-image": patch +"@heroui/use-theme": patch +"@heroui/kbd": patch +"@heroui/use-ssr": patch +"@heroui/system": patch +"@heroui/react": patch +"@heroui/theme": patch +--- + +Org name changed diff --git a/.changeset/config.json b/.changeset/config.json index 18e7fe8eb..ee8b700ff 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": "frontio-ai/heroui" } + { "repo": "heroui-inc/heroui" } ], "commit": false, "fixed": [], diff --git a/.commitlintrc.cjs b/.commitlintrc.cjs index b4c277823..fe9bea922 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/frontio-ai/heroui/blob/main/CONTRIBUTING.md#commit-convention", + helpUrl: "https://github.com/heroui-inc/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 9e51004e3..2ed9d53d0 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -8,17 +8,17 @@ body: value: | Thank you for reporting an issue :pray:. - This issue tracker is for reporting bugs found in [HeroUI github repository](https://github.com/frontio-ai/heroui/) + This issue tracker is for reporting bugs found in [HeroUI github repository](https://github.com/heroui-inc/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: - - HeroUI's [Discussion's tab](https://github.com/frontio-ai/heroui/discussions) + - HeroUI's [Discussion's tab](https://github.com/heroui-inc/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: - - 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) + - HeroUI's [Issue's tab](https://github.com/heroui-inc/heroui/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc) + - HeroUI's [closed issues tab](https://github.com/heroui-inc/heroui/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed) + - HeroUI's [Discussions tab](https://github.com/heroui-inc/heroui/discussions) The more information you fill in, the better the community can help you. - type: input diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index c62ee7df5..070ca3c27 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,7 +1,7 @@ blank_issues_enabled: true contact_links: - name: 🤔 Long question or ideas? - url: https://github.com/frontio-ai/heroui/discussions + url: https://github.com/heroui-inc/heroui/discussions about: Ask long-form questions and discuss ideas. - name: 💬 Discord Community Chat url: https://discord.gg/9b6yyZKmH4 diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 537ed47e6..95513ada4 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -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/frontio-ai/heroui/issues/new?assignees=&labels=&template=bug_report.yml). + If you want to report a bug, please use the [bug report form](https://github.com/heroui-inc/heroui/issues/new?assignees=&labels=&template=bug_report.yml). - type: textarea validations: required: true diff --git a/apps/docs/app/blog/layout.tsx b/apps/docs/app/blog/layout.tsx index b724bb9ba..7a77c92b7 100644 --- a/apps/docs/app/blog/layout.tsx +++ b/apps/docs/app/blog/layout.tsx @@ -33,7 +33,7 @@ export default function DocsLayout({children}: DocsLayoutProps) { /> - + ); } diff --git a/apps/docs/app/docs/layout.tsx b/apps/docs/app/docs/layout.tsx index 90a29d8f1..598ed96ce 100644 --- a/apps/docs/app/docs/layout.tsx +++ b/apps/docs/app/docs/layout.tsx @@ -40,7 +40,7 @@ export default function DocsLayout({children}: DocsLayoutProps) { /> - + ); } diff --git a/apps/docs/app/layout.tsx b/apps/docs/app/layout.tsx index 23f4a00a3..e31a5b79b 100644 --- a/apps/docs/app/layout.tsx +++ b/apps/docs/app/layout.tsx @@ -49,7 +49,7 @@ export const metadata: Metadata = { url: "https://x.com/hero_ui", }, ], - creator: "frontio-ai", + creator: "heroui-inc", alternates: { canonical: "https://heroui.com", types: { diff --git a/apps/docs/components/blog/nextjs-templates.tsx b/apps/docs/components/blog/nextjs-templates.tsx index cf0f358ff..839a4c5c5 100644 --- a/apps/docs/components/blog/nextjs-templates.tsx +++ b/apps/docs/components/blog/nextjs-templates.tsx @@ -8,7 +8,7 @@ const frameworks = [ description: "A Next.js 13 with app directory template pre-configured with HeroUI (v2) and Tailwind CSS.", icon: , - href: "https://github.com/frontio-ai/next-app-template", + href: "https://github.com/heroui-inc/next-app-template", }, { title: "Next.js 13 (Pages) Template", @@ -16,7 +16,7 @@ const frameworks = [ description: "A Next.js 13 with pages directory template pre-configured with HeroUI (v2) and Tailwind CSS.", icon: , - href: "https://github.com/frontio-ai/next-pages-template", + href: "https://github.com/heroui-inc/next-pages-template", }, ]; diff --git a/apps/docs/components/scripts/script-providers.tsx b/apps/docs/components/scripts/script-providers.tsx index 102f4b006..1c3e7b7a5 100644 --- a/apps/docs/components/scripts/script-providers.tsx +++ b/apps/docs/components/scripts/script-providers.tsx @@ -2,16 +2,18 @@ import * as React from "react"; import Script from "next/script"; -export function ScriptProviders() { +export function ScriptProviders({isKapaEnabled}: {isKapaEnabled?: boolean}) { + if (!isKapaEnabled) return null; + return ( <>