mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
chore: deps
This commit is contained in:
@@ -59,35 +59,35 @@
|
||||
"devDependencies": {
|
||||
"@favware/cliff-jumper": "^2.2.3",
|
||||
"@react-icons/all-files": "^4.1.0",
|
||||
"@storybook/addon-essentials": "^7.6.5",
|
||||
"@storybook/addon-interactions": "^7.6.5",
|
||||
"@storybook/addon-links": "^7.6.5",
|
||||
"@storybook/addon-essentials": "^7.6.12",
|
||||
"@storybook/addon-interactions": "^7.6.12",
|
||||
"@storybook/addon-links": "^7.6.12",
|
||||
"@storybook/addon-styling": "^1.3.7",
|
||||
"@storybook/blocks": "^7.6.5",
|
||||
"@storybook/react": "^7.6.5",
|
||||
"@storybook/react-vite": "^7.6.5",
|
||||
"@storybook/blocks": "^7.6.12",
|
||||
"@storybook/react": "^7.6.12",
|
||||
"@storybook/react-vite": "^7.6.12",
|
||||
"@storybook/testing-library": "^0.2.2",
|
||||
"@types/node": "18.18.8",
|
||||
"@types/react": "^18.2.45",
|
||||
"@types/react": "^18.2.54",
|
||||
"@types/react-dom": "^18.2.18",
|
||||
"@unocss/eslint-plugin": "^0.57.7",
|
||||
"@unocss/reset": "^0.57.7",
|
||||
"@unocss/eslint-plugin": "^0.58.5",
|
||||
"@unocss/reset": "^0.58.5",
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"@vitest/coverage-v8": "^0.34.6",
|
||||
"chromatic": "^9.1.0",
|
||||
"@vitest/coverage-v8": "^1.2.2",
|
||||
"chromatic": "^10.7.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-neon": "^0.1.57",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^3.1.1",
|
||||
"eslint-config-neon": "^0.1.58",
|
||||
"eslint-formatter-pretty": "^6.0.1",
|
||||
"prettier": "^3.2.5",
|
||||
"prop-types": "^15.8.1",
|
||||
"storybook": "^7.6.5",
|
||||
"turbo": "^1.11.2",
|
||||
"typescript": "^5.2.2",
|
||||
"unocss": "^0.57.3",
|
||||
"vite": "^4.5.1",
|
||||
"vite-plugin-dts": "^3.6.4",
|
||||
"vitest": "^0.34.6"
|
||||
"storybook": "^7.6.12",
|
||||
"turbo": "^1.12.2",
|
||||
"typescript": "^5.3.3",
|
||||
"unocss": "^0.58.5",
|
||||
"vite": "^5.0.12",
|
||||
"vite-plugin-dts": "^3.7.2",
|
||||
"vitest": "^1.2.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
|
||||
@@ -42,7 +42,7 @@ export function DiscordMessage({
|
||||
<div className="static" id="content-wrapper">
|
||||
{followUp ? (
|
||||
<span
|
||||
className="absolute left-0 mr-1 hidden h-5.5 w-[56px] cursor-default select-none text-right text-xs leading-loose text-[rgb(163_166_170)] group-hover:inline-block"
|
||||
className="absolute left-0 mr-1 hidden h-5.5 w-[56px] cursor-default select-none text-right text-xs text-[rgb(163_166_170)] leading-loose group-hover:inline-block"
|
||||
id="time"
|
||||
>
|
||||
{time}
|
||||
|
||||
@@ -24,14 +24,14 @@ export function DiscordMessageAuthor({ avatar, bot, verified, color, time, usern
|
||||
</span>
|
||||
{bot ? (
|
||||
<span
|
||||
className="mr-1 inline-flex place-items-center rounded bg-blurple px-1 vertical-top text-[0.7rem]/4 font-normal text-white"
|
||||
className="mr-1 inline-flex place-items-center rounded bg-blurple px-1 vertical-top text-[0.7rem]/4 text-white font-normal"
|
||||
id="bot"
|
||||
>
|
||||
{verified ? <FiCheck className="mr-0.5 inline-block stroke-3" /> : null} BOT
|
||||
</span>
|
||||
) : null}
|
||||
</span>
|
||||
<span className="ml-1 cursor-default text-xs leading-snug text-[rgb(163_166_170)]" id="time">
|
||||
<span className="ml-1 cursor-default text-xs text-[rgb(163_166_170)] leading-snug" id="time">
|
||||
{time}
|
||||
</span>
|
||||
</h2>
|
||||
|
||||
@@ -14,7 +14,7 @@ export function DiscordMessageAuthorReply({ avatar, bot, verified, color, userna
|
||||
<img alt={`${username}'s avatar`} className="mr-1.5 h-4 w-4 select-none rounded-full" src={avatar} />
|
||||
{bot ? (
|
||||
<div
|
||||
className="mr-1 inline-flex place-items-center rounded bg-blurple px-1 vertical-top text-[0.7rem]/4 font-normal text-white"
|
||||
className="mr-1 inline-flex place-items-center rounded bg-blurple px-1 vertical-top text-[0.7rem]/4 text-white font-normal"
|
||||
id="bot"
|
||||
>
|
||||
{verified ? <FiCheck className="mr-0.5 inline-block stroke-3" /> : null} BOT
|
||||
|
||||
@@ -6,7 +6,7 @@ export interface IDiscordMessageEmbedTitle {
|
||||
export function DiscordMessageEmbedTitle({ title, url }: IDiscordMessageEmbedTitle) {
|
||||
return url ? (
|
||||
<a
|
||||
className="mt-2 font-medium text-blue-500 hover:underline"
|
||||
className="mt-2 text-blue-500 font-medium hover:underline"
|
||||
href={url}
|
||||
rel="noreferrer noopener external"
|
||||
target="_blank"
|
||||
|
||||
@@ -11,8 +11,8 @@ export interface IDiscordMessageInteraction {
|
||||
export function DiscordMessageInteraction({ author, authorNode, command }: IDiscordMessageInteraction) {
|
||||
return (
|
||||
<DiscordMessageBaseReply author={author} authorNode={authorNode}>
|
||||
<span className="mr-1 select-none text-sm leading-snug text-white">used</span>
|
||||
<div className="cursor-pointer text-sm leading-snug text-blurple hover:underline">{command}</div>
|
||||
<span className="mr-1 select-none text-sm text-white leading-snug">used</span>
|
||||
<div className="cursor-pointer text-sm text-blurple leading-snug hover:underline">{command}</div>
|
||||
</DiscordMessageBaseReply>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ export interface IDiscordMessageReply {
|
||||
export function DiscordMessageReply({ author, authorNode, content }: IDiscordMessageReply) {
|
||||
return (
|
||||
<DiscordMessageBaseReply author={author} authorNode={authorNode}>
|
||||
<div className="cursor-pointer select-none text-sm leading-snug text-[rgb(163_166_170)] hover:text-white">
|
||||
<div className="cursor-pointer select-none text-sm text-[rgb(163_166_170)] leading-snug hover:text-white">
|
||||
{content}
|
||||
</div>
|
||||
</DiscordMessageBaseReply>
|
||||
|
||||
Reference in New Issue
Block a user