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.
@@ -6333,9 +6333,16 @@ function DiscordRoleSelect(props) {
6333
6333
  {
6334
6334
  size: "xs",
6335
6335
  variant: "subtle",
6336
- onClick: refresh,
6336
+ onMouseDown: (e) => {
6337
+ e.stopPropagation();
6338
+ },
6339
+ onClick: (e) => {
6340
+ e.stopPropagation();
6341
+ refresh();
6342
+ },
6337
6343
  title: t("Refresh", "Refresh"),
6338
6344
  loading,
6345
+ "aria-label": t("Refresh", "Refresh"),
6339
6346
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.RefreshCw, { size: "1.2vh" })
6340
6347
  }
6341
6348
  );
@@ -6354,6 +6361,7 @@ function DiscordRoleSelect(props) {
6354
6361
  clearable: true,
6355
6362
  disabled: disabled || loading && !roles,
6356
6363
  rightSection: refreshButton,
6364
+ rightSectionPointerEvents: "all",
6357
6365
  style,
6358
6366
  styles,
6359
6367
  nothingFoundMessage: errorCode ? `${t("Error", "Error")} (${errorCode})` : t("NoRoles", "No roles found")
@@ -6374,6 +6382,7 @@ function DiscordRoleSelect(props) {
6374
6382
  clearable: true,
6375
6383
  disabled: disabled || loading && !roles,
6376
6384
  rightSection: refreshButton,
6385
+ rightSectionPointerEvents: "all",
6377
6386
  style,
6378
6387
  styles,
6379
6388
  nothingFoundMessage: errorCode ? `${t("Error", "Error")} (${errorCode})` : t("NoRoles", "No roles found")