Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 #1176

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 24, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nextui-org/react (source) 1.0.0-beta.9 -> 1.0.0-beta.9-dbg2 age adoption passing confidence

Release Notes

nextui-org/nextui (@​nextui-org/react)

v1.0.0-beta.9-dbg2

Compare Source

v1.0.0-beta.9-dbg1

Compare Source

v1.0.0-beta.11-dbg1

Compare Source

v1.0.0-beta.13

Compare Source

v1.0.0-beta.12

Compare Source

What's Changed

🐛 Fixes

Closes #​649 PR: #​965 (Dropdown trigger issue on mobile 🚨)
Closes #​969 PR: #​965 (Dropdown trigger issue on mobile 🚨)
Closes #​920 PR: #​923
Closes #​958 PR: #​961

🚀 Features

PR: #​934 Focus indicator added to shadow buttons

⚙️ Refactors

PR: #​966

New Contributors

Full Changelog: heroui-inc/heroui@v1.0.0-beta.11...v1.0.0-beta.12

v1.0.0-beta.11

Compare Source

What's Changed

🐛 Fixes

⚙️ Refactors

📚 Docs

📦 Repo

New Contributors

Full Changelog: heroui-inc/heroui@v1.0.0-beta.10...v1.0.0-beta.11

v1.0.0-beta.10

Compare Source

What's Changed

🚀 Features

🐛 Fixes

⚙️ Refactors

📚 Docs

📦 Repo

🚀 New behavior

Typography units changes:
  • New space units were added to the common theme 2xl...9xl, min: "min-content", max: "max-content", fit: "fit-content", screen: "100vw", full: "100%"
  • Text component now supports any value from fontSizes (e.g. "3xl") theme in addition to number (e.g. 14) and string (e.g. "20px")

e.g.

import {Text} from "@​nextui-org/react";

function App({ Component }) {
  return (
    <Text size="4xl">Hello World</Text> 
  );
}

The idea is to implement the same Text size behaviour in the future in other components like Grid, Row etc. to take advantage of the theme tokens

Breakpoints Media
export const media = {
    xs: `(min-width: ${defaultTokens.breakpoints.xs})`,
    sm: `(min-width: ${defaultTokens.breakpoints.sm})`,
    md: `(min-width: ${defaultTokens.breakpoints.md})`,
    lg: `(min-width: ${defaultTokens.breakpoints.lg})`,
    xl: `(min-width: ${defaultTokens.breakpoints.xl})`,
+  xsMin: `(min-width: ${defaultTokens.breakpoints.xs})`,
+  smMin: `(min-width: ${defaultTokens.breakpoints.sm})`,
+  mdMin: `(min-width: ${defaultTokens.breakpoints.md})`,
+  lgMin: `(min-width: ${defaultTokens.breakpoints.lg})`,
+  xlMin: `(min-width: ${defaultTokens.breakpoints.xl})`,
    xsMax: `(max-width: ${defaultTokens.breakpoints.xs})`,
    smMax: `(max-width: ${defaultTokens.breakpoints.sm})`,
    mdMax: `(max-width: ${defaultTokens.breakpoints.md})`,
    lgMax: `(max-width: ${defaultTokens.breakpoints.lg})`,
    xlMax: `(max-width: ${defaultTokens.breakpoints.xl})`,
    motion: '(prefers-reduced-motion)',
    safari: 'not all and (min-resolution:.001dpcm)',
    hover: '(any-hover: hover)',
    dark: '(prefers-color-scheme: dark)',
    light: '(prefers-color-scheme: light)'
};

e.g.

import {Text} from "@&#8203;nextui-org/react";

function App({ Component }) {
  return (
    <Text css={{
      "@&#8203;xsMin": { 
         color: "red"
      }
   }}>Hello World</Text> 
  );
}
Dropdown API
  • disableTriggerPressedAnimation prop added to the Dropdown - Whether the trigger should show a pressed animation when the menu is open.
  • showFullDescription prop added to the Dropdown.Item - Whether the item description should be truncated or not.
Text API
  • hideIn prop added - Whether the Text should be hidden from selected breakpoint.
  • showIn prop added - Whether the Text should be visible only from the selected breakpoint.

💣 Breaking changes:

Link API

OLD APIs NEW APIs
icon isExternal

The margin of some HTML primitives has been removed from the CssBaseline

-  "dl, dd, hr, figure, p": {
-    margin: 0,
-  },

Typography units changes:

  • Some fontSizes were renamed from xl2...xl9 to 2xl...9xl
  • Some lineHeights were renamed from xl2...xl9 to 2xl...9xl

New Contributors

Huge thanks to all contributors 🙏🏻

Full Changelog: heroui-inc/heroui@v1.0.0-beta.9...v1.0.0-beta.10


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Feb 26, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 Mar 11, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Mar 15, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 Mar 17, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Mar 20, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 Mar 21, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Mar 22, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 Mar 23, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Mar 31, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 Apr 2, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Apr 3, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 Apr 8, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Apr 14, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 Apr 18, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Apr 27, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 May 1, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 May 3, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 May 3, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 May 4, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 May 4, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 May 8, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 May 8, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 May 11, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 May 20, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 May 20, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.12 May 24, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.12 Update dependency @nextui-org/react to v1.0.0-beta.13 May 25, 2023
@renovate renovate bot force-pushed the renovate/nextui-org-react-1.x branch from ba31e0e to 740ba67 Compare May 25, 2023 03:55
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.13 Update dependency @nextui-org/react to v1.0.0-beta.13 Jul 10, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.13 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.13 Jul 16, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.13 Update dependency @nextui-org/react to v1.0.0-beta.13 Jul 17, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.13 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.13 Jul 19, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.13 Update dependency @nextui-org/react to v1.0.0-beta.13 Jul 20, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.13 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.13 Jul 27, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.13 Update dependency @nextui-org/react to v1.0.0-beta.13 Jul 28, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.13 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Aug 1, 2023
@renovate renovate bot force-pushed the renovate/nextui-org-react-1.x branch from 740ba67 to 6bb4df1 Compare August 1, 2023 20:25
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Aug 7, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Aug 9, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Aug 9, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Aug 16, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Aug 17, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Aug 22, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Aug 22, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Aug 27, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Aug 31, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Sep 4, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Sep 4, 2023
@Hubyp
Copy link

Hubyp commented Sep 8, 2023

Hello, for Discord-MusicBot/blob/master/commands/disconnect.js

const { MessageEmbed } = require("discord.js");

module.exports = {
  name: "disconnect",
  description: "Stop the music and leave the voice channel",
  usage: "",
  permissions: {
    channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
    member: [],
  },
  aliases: ["leave", "exit", "quit", "dc", "stop"],
  run: async (client, message, args, { GuildDB }) => {
    let player = await client.Manager.get(message.guild.id);
    if (!message.member.voice.channel)
      return client.sendTime(
        message.channel,
        "❌ | **You must be in a voice channel use this command**"
      );
    if (!player)
      return client.sendTime(
        message.channel,
        "❌ | **Nothing is playing right now...**"
      );
    await client.sendTime(message.channel, ":notes: | **Disconnected!**");
    await message.react("✅");
    player.destroy();
  },

  SlashCommand: {
    run: async (client, interaction, args, { GuildDB }) => {
      const guild = client.guilds.cache.get(interaction.guild_id);
      const member = guild.members.cache.get(interaction.member.user.id);

      if (!member.voice.channel)
        return client.sendTime(
          interaction,
          "❌ | **You must be in a voice channel to use this command.**"
        );
      if (
        guild.me.voice.channel &&
        !guild.me.voice.channel.equals(member.voice.channel)
      )
        return client.sendTime(
          interaction,
          `❌ | **You must be in ${guild.me.voice.channel} to use this command.**`
        );

      let player = await client.Manager.get(interaction.guild_id);
      if (!player)
        return client.sendTime(
          interaction,
          "❌ | **Nothing is playing right now...**"
        );
      player.destroy();
      client.sendTime(interaction, ":notes: | **Disconnected!**");
    },
  },
};

@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Sep 19, 2023
@renovate renovate bot changed the title fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Sep 21, 2023
@renovate renovate bot changed the title Update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 fix(deps): update dependency @nextui-org/react to v1.0.0-beta.9-dbg2 Sep 26, 2023
Copy link

stale bot commented Feb 2, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Feb 2, 2024
@stale stale bot closed this Feb 8, 2024
Copy link
Contributor Author

renovate bot commented Feb 8, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (1.0.0-beta.9-dbg2). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/nextui-org-react-1.x branch February 8, 2024 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant