@rpg-engine/long-bow 0.5.86 → 0.5.87

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.
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  export interface ICheckItemProps {
3
- label: string;
3
+ label?: string;
4
4
  defaultValue?: boolean;
5
- onChange: (label: string, selected: boolean) => void;
5
+ onChange: (label: string | undefined, selected: boolean) => void;
6
6
  }
7
7
  export declare const CheckItem: React.FC<ICheckItemProps>;
@@ -13262,11 +13262,12 @@ var CheckItem = function CheckItem(_ref) {
13262
13262
  setChecked(newCheckedState);
13263
13263
  onChange(label, newCheckedState);
13264
13264
  };
13265
- return React__default.createElement("div", null, React__default.createElement("input", {
13265
+ return React__default.createElement("div", {
13266
+ onPointerDown: handleClick
13267
+ }, React__default.createElement("input", {
13266
13268
  className: "rpgui-checkbox",
13267
13269
  type: "checkbox",
13268
- checked: checked,
13269
- onChange: handleClick
13270
+ checked: checked
13270
13271
  }), React__default.createElement("label", null, label), React__default.createElement("br", null));
13271
13272
  };
13272
13273