dirk-cfx-react 1.1.84 → 1.1.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -7062,9 +7062,16 @@ function DiscordRoleSelect(props) {
7062
7062
  {
7063
7063
  size: "xs",
7064
7064
  variant: "subtle",
7065
- onClick: refresh,
7065
+ onMouseDown: (e) => {
7066
+ e.stopPropagation();
7067
+ },
7068
+ onClick: (e) => {
7069
+ e.stopPropagation();
7070
+ refresh();
7071
+ },
7066
7072
  title: t("Refresh", "Refresh"),
7067
7073
  loading,
7074
+ "aria-label": t("Refresh", "Refresh"),
7068
7075
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.RefreshCw, { size: "1.2vh" })
7069
7076
  }
7070
7077
  );
@@ -7083,6 +7090,7 @@ function DiscordRoleSelect(props) {
7083
7090
  clearable: true,
7084
7091
  disabled: disabled || loading && !roles,
7085
7092
  rightSection: refreshButton,
7093
+ rightSectionPointerEvents: "all",
7086
7094
  style,
7087
7095
  styles,
7088
7096
  nothingFoundMessage: errorCode ? `${t("Error", "Error")} (${errorCode})` : t("NoRoles", "No roles found")
@@ -7103,6 +7111,7 @@ function DiscordRoleSelect(props) {
7103
7111
  clearable: true,
7104
7112
  disabled: disabled || loading && !roles,
7105
7113
  rightSection: refreshButton,
7114
+ rightSectionPointerEvents: "all",
7106
7115
  style,
7107
7116
  styles,
7108
7117
  nothingFoundMessage: errorCode ? `${t("Error", "Error")} (${errorCode})` : t("NoRoles", "No roles found")