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.
@@ -6326,9 +6326,16 @@ function DiscordRoleSelect(props) {
6326
6326
  {
6327
6327
  size: "xs",
6328
6328
  variant: "subtle",
6329
- onClick: refresh,
6329
+ onMouseDown: (e) => {
6330
+ e.stopPropagation();
6331
+ },
6332
+ onClick: (e) => {
6333
+ e.stopPropagation();
6334
+ refresh();
6335
+ },
6330
6336
  title: t("Refresh", "Refresh"),
6331
6337
  loading,
6338
+ "aria-label": t("Refresh", "Refresh"),
6332
6339
  children: /* @__PURE__ */ jsx(RefreshCw, { size: "1.2vh" })
6333
6340
  }
6334
6341
  );
@@ -6347,6 +6354,7 @@ function DiscordRoleSelect(props) {
6347
6354
  clearable: true,
6348
6355
  disabled: disabled || loading && !roles,
6349
6356
  rightSection: refreshButton,
6357
+ rightSectionPointerEvents: "all",
6350
6358
  style,
6351
6359
  styles,
6352
6360
  nothingFoundMessage: errorCode ? `${t("Error", "Error")} (${errorCode})` : t("NoRoles", "No roles found")
@@ -6367,6 +6375,7 @@ function DiscordRoleSelect(props) {
6367
6375
  clearable: true,
6368
6376
  disabled: disabled || loading && !roles,
6369
6377
  rightSection: refreshButton,
6378
+ rightSectionPointerEvents: "all",
6370
6379
  style,
6371
6380
  styles,
6372
6381
  nothingFoundMessage: errorCode ? `${t("Error", "Error")} (${errorCode})` : t("NoRoles", "No roles found")