chore: update brand name (#4600)

This commit is contained in:
աӄա 2025-01-19 22:38:43 +08:00 committed by GitHub
parent cf39e227f8
commit 66efa0a08e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 11 additions and 5 deletions

View File

@ -0,0 +1,5 @@
---
"@heroui/shared-utils": patch
---
update brand name

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 Next UI
Copyright (c) 2020 Next UI Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 Next UI
Copyright (c) 2020 Next UI Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -466,7 +466,7 @@ describe("Dropdown", () => {
);
};
// Non Next UI Element in DropdownTrigger
// Non Hero UI Element in DropdownTrigger
render(
<Dropdown isDisabled>
<DropdownTrigger>
@ -480,7 +480,7 @@ describe("Dropdown", () => {
spy.mockRestore();
// Next UI Element in DropdownTrigger
// Hero UI Element in DropdownTrigger
render(
<Dropdown isDisabled>
<DropdownTrigger>

View File

@ -8,6 +8,7 @@
"keywords": [
"next",
"next ui",
"hero ui",
"components",
"modern components",
"react components",

View File

@ -2,7 +2,7 @@ const warningStack: {[key: string]: boolean} = {};
export function warn(message: string, component?: string, ...args: any[]) {
const tag = component ? ` [${component}]` : " ";
const log = `[Next UI]${tag}: ${message}`;
const log = `[Hero UI]${tag}: ${message}`;
if (typeof console === "undefined") return;
if (warningStack[log]) return;