diff --git a/.changeset/slimy-cats-brush.md b/.changeset/slimy-cats-brush.md new file mode 100644 index 0000000000..60de3bc696 --- /dev/null +++ b/.changeset/slimy-cats-brush.md @@ -0,0 +1,4 @@ +--- +--- + +Update Twitter logo, links, and named references to X. Removed Twitter logo from social based on review feedback. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 2de89b8dd1..e8f6cc03d3 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -6,6 +6,6 @@ contact_links: - name: 💬 Discord Community Chat url: https://discord.gg/9b6yyZKmH4 about: Ask quick questions or simply chat on the `NextUI` community Discord server. - - name: 💬 New Updates (Twitter) - url: https://twitter.com/getnextui - about: Link to our twitter account if you want to follow us and stay up to date with NextUI news + - 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 diff --git a/apps/docs/components/icons/social.tsx b/apps/docs/components/icons/social.tsx index eaad88f6d8..744420efa4 100644 --- a/apps/docs/components/icons/social.tsx +++ b/apps/docs/components/icons/social.tsx @@ -58,11 +58,11 @@ const DiscordIcon: React.FC = ({size = 24, width, height, ...props ); }; -const TwitterIcon: React.FC = ({size = 24, width, height, ...props}) => { +const XIcon: React.FC = ({size = 20, width, height, ...props}) => { return ( @@ -454,7 +454,7 @@ const TypescriptIcon: React.FC = ({width = "1em", height = "1em", }; export { - TwitterIcon, + XIcon, DiscordIcon, GithubIcon, OpenCollectiveIcon, diff --git a/apps/docs/components/marketing/features-grid.tsx b/apps/docs/components/marketing/features-grid.tsx index 5992b2ee3b..e2348df876 100644 --- a/apps/docs/components/marketing/features-grid.tsx +++ b/apps/docs/components/marketing/features-grid.tsx @@ -72,7 +72,7 @@ export const FeaturesGrid: React.FC = ({features, classNames,
{feat.icon}

{feat.title}

- {feat.isExternal && } + {feat.isExternal && }
{feat.description ? ( diff --git a/apps/docs/components/navbar.tsx b/apps/docs/components/navbar.tsx index cc2ef49a55..9921b35d16 100644 --- a/apps/docs/components/navbar.tsx +++ b/apps/docs/components/navbar.tsx @@ -34,7 +34,7 @@ import {currentVersion} from "@/utils/version"; import {siteConfig} from "@/config/site"; import {Route} from "@/libs/docs/page"; import {LargeLogo, SmallLogo, ThemeSwitch} from "@/components"; -import {TwitterIcon, GithubIcon, DiscordIcon, SearchLinearIcon} from "@/components/icons"; +import {XIcon, GithubIcon, DiscordIcon, SearchLinearIcon} from "@/components/icons"; import {useIsMounted} from "@/hooks/use-is-mounted"; import {DocsSidebar} from "@/components/docs/sidebar"; import {useCmdkStore} from "@/components/cmdk"; @@ -325,12 +325,12 @@ export const Navbar: FC = ({children, routes, mobileRoutes = [], sl handlePressNavbarItem("Twitter", siteConfig.links.twitter)} > - + diff --git a/apps/docs/content/blog/v2.2.0.mdx b/apps/docs/content/blog/v2.2.0.mdx index 5fc4833128..f65a94684b 100644 --- a/apps/docs/content/blog/v2.2.0.mdx +++ b/apps/docs/content/blog/v2.2.0.mdx @@ -7,7 +7,7 @@ tags: ["nextui", "autocomplete", "breadcrumbs", "client side router", "slider"] author: name: "Junior Garcia" username: "@jrgarciadev" - link: "https://twitter.com/jrgarciadev" + link: "https://x.com/jrgarciadev" avatar: "/avatars/junior-garcia.jpeg" --- diff --git a/apps/docs/content/blog/v2.3.0.mdx b/apps/docs/content/blog/v2.3.0.mdx index b8181d10a0..5301912c5d 100644 --- a/apps/docs/content/blog/v2.3.0.mdx +++ b/apps/docs/content/blog/v2.3.0.mdx @@ -7,7 +7,7 @@ tags: ["nextui", "cli", "date picker", "time input", "date input", "calendar"] author: name: "Junior Garcia" username: "@jrgarciadev" - link: "https://twitter.com/jrgarciadev" + link: "https://x.com/jrgarciadev" avatar: "/avatars/junior-garcia.jpeg" --- @@ -209,7 +209,7 @@ Go to the [DateRangePicker documentation](/docs/components/date-range-picker) to ### Calendar Presets -`Calendar` and `RangeCalendar` components support adding custom content at the top and bottom of the calendar, this is useful for adding presets or +`Calendar` and `RangeCalendar` components support adding custom content at the top and bottom of the calendar, this is useful for adding presets or custom actions to the calendar. Here's an example of how to add presets to the `Calendar` component: @@ -299,7 +299,7 @@ export function Providers({children}: ProvidersProps) { ### Removal of the `units` creation -To improve performance and reduce bundle size, we have removed the `units` creation from the +To improve performance and reduce bundle size, we have removed the `units` creation from the `nextui` plugin. [TailwindCSS v3.4](https://tailwindcss.com/blog/tailwindcss-v3-4) added support for `min-h-*` and `min-w-*` classes, so it is no longer needed. How to upgrade: @@ -339,7 +339,7 @@ export const MyButton = () => { ### Separation for `errorMessage` and `isInvalid` -We are currently working on supporting multiple types of validation, including native HTML constraint validation, custom validation, and real-time validation. +We are currently working on supporting multiple types of validation, including native HTML constraint validation, custom validation, and real-time validation. Due to this reason, the requirements for displaying error messages have become more varied, and it is necessary to handle validation conditions separately from the `errorMessage`. How to upgrade: @@ -381,7 +381,7 @@ That's it! Your project should now be using the latest version of TailwindCSS an **Improvements** - Framer Motion was updated to the latest version, improving performance and reducing bundle size. [Docs](https://www.framer.com/motion/guide-reduce-bundle-size/) [PR](https://github.com/nextui-org/nextui/pull/2464) - [@mezotv](https://github.com/mezotv) - `LazyMotion` was added to all components that use Framer Motion, improving performance by only loading the required motion components. -- We removed the custom `units` creation from the `nextui` plugin, it is no longer needed with TailwindCSS v3.4 and above. [PR](https://github.com/nextui-org/nextui/pull/2713) - [@jrgarciadev](https://github.com/jrgarciadev) +- We removed the custom `units` creation from the `nextui` plugin, it is no longer needed with TailwindCSS v3.4 and above. [PR](https://github.com/nextui-org/nextui/pull/2713) - [@jrgarciadev](https://github.com/jrgarciadev) - Updated `framer-motion` package across various components and utilities to version `11.0.22` for enhanced performance and consistency. [PR](https://github.com/nextui-org/nextui/pull/2596) - [@wingkwong](https://github.com/wingkwong) - Ensured compatibility with `react@18.2.0` and `react-dom@18.2.0` across the board. [PR](https://github.com/nextui-org/nextui/pull/2596) - [@wingkwong](https://github.com/wingkwong) - Introduced patches for NextUI components to improve animations, including support for keyframes with spring and inertia animations. [PR](https://github.com/nextui-org/nextui/pull/2596) - [@wingkwong](https://github.com/wingkwong) @@ -402,8 +402,8 @@ That's it! Your project should now be using the latest version of TailwindCSS an - Layout docs updated to remove the `units` configuration from the `tailwind.config.(js|ts)` file. -Special thanks to NextUI Team members [@kuri-sun](https://github.com/kuri-sun), [@ryo-manba](https://github.com/ryo-manba), -[@sudongyuer](https://github.com/sudongyuer), [@winchesHe](https://github.com/winchesHe), [@wingkwong](https://github.com/wingkwong), +Special thanks to NextUI Team members [@kuri-sun](https://github.com/kuri-sun), [@ryo-manba](https://github.com/ryo-manba), +[@sudongyuer](https://github.com/sudongyuer), [@winchesHe](https://github.com/winchesHe), [@wingkwong](https://github.com/wingkwong), [@tianenpang](https://github.com/tianenpang), [@smultar](https://github.com/smultar) and contributors for their contributions to this release. For a full list of changes, please refer to the [release notes](https://github.com/nextui-org/nextui/releases/tag/%40nextui-org%2Freact%402.3.0). diff --git a/apps/docs/content/components/checkbox-group/custom-styles.ts b/apps/docs/content/components/checkbox-group/custom-styles.ts index 51485619e0..e1b0be4474 100644 --- a/apps/docs/content/components/checkbox-group/custom-styles.ts +++ b/apps/docs/content/components/checkbox-group/custom-styles.ts @@ -58,7 +58,7 @@ export default function App() { name: "Junior Garcia", avatar: "https://avatars.githubusercontent.com/u/30373425?v=4", username: "jrgarciadev", - url: "https://twitter.com/jrgarciadev", + url: "https://x.com/jrgarciadev", role: "Software Developer", status: "Active", }} diff --git a/apps/docs/content/components/checkbox/custom-styles.ts b/apps/docs/content/components/checkbox/custom-styles.ts index d833e77f21..7484b1c453 100644 --- a/apps/docs/content/components/checkbox/custom-styles.ts +++ b/apps/docs/content/components/checkbox/custom-styles.ts @@ -7,13 +7,13 @@ export default function App() { name: "Junior Garcia", avatar: "https://avatars.githubusercontent.com/u/30373425?v=4", username: "jrgarciadev", - url: "https://twitter.com/jrgarciadev", + url: "https://x.com/jrgarciadev", role: "Software Developer", status: "Active", } return ( - + @jrgarciadev )} diff --git a/apps/docs/libs/constants.tsx b/apps/docs/libs/constants.tsx index 169a29f44b..2bfc987abd 100644 --- a/apps/docs/libs/constants.tsx +++ b/apps/docs/libs/constants.tsx @@ -1,14 +1,14 @@ -import {DiscordIcon, GithubIcon, TwitterIcon} from "@/components/icons"; +import {DiscordIcon, GithubIcon, XIcon} from "@/components/icons"; export const TWITTER_USER_NAME = "getnextui"; export const SITE_URL = "https://nextui.org"; export const communityAccounts = [ { - title: "Twitter", + title: "X", description: "For announcements, tips and general information.", - icon: , - href: "https://twitter.com/getnextui", + icon: , + href: "https://x.com/getnextui", isExternal: true, }, { diff --git a/packages/components/user/stories/user.stories.tsx b/packages/components/user/stories/user.stories.tsx index c3112c0982..e330dbf4b9 100644 --- a/packages/components/user/stories/user.stories.tsx +++ b/packages/components/user/stories/user.stories.tsx @@ -58,7 +58,7 @@ export const WithLinkDescription = { args: { name: "Junior Garcia", description: ( - + @jrgarciadev ), diff --git a/packages/core/react/README.md b/packages/core/react/README.md index 841fb0f84d..48cba90b64 100644 --- a/packages/core/react/README.md +++ b/packages/core/react/README.md @@ -47,7 +47,7 @@ We're excited to see the community adopt NextUI, raise issues, and provide feedb Whether it's a feature request, bug report, or a project to showcase, please get involved! - [Discord](https://discord.gg/9b6yyZKmH4) -- [Twitter](https://twitter.com/getnextui) +- [X](https://x.com/getnextui) - [GitHub Discussions](https://github.com/nextui-org/nextui/discussions) ## Contributing