@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.
- package/dist/components/CheckItem.d.ts +2 -2
- package/dist/long-bow.cjs.development.js +4 -3
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +4 -3
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/stories/CheckButton.stories.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/CheckItem.tsx +4 -9
- package/src/stories/CheckButton.stories.tsx +20 -0
package/dist/long-bow.esm.js
CHANGED
|
@@ -13256,11 +13256,12 @@ var CheckItem = function CheckItem(_ref) {
|
|
|
13256
13256
|
setChecked(newCheckedState);
|
|
13257
13257
|
onChange(label, newCheckedState);
|
|
13258
13258
|
};
|
|
13259
|
-
return React.createElement("div",
|
|
13259
|
+
return React.createElement("div", {
|
|
13260
|
+
onPointerDown: handleClick
|
|
13261
|
+
}, React.createElement("input", {
|
|
13260
13262
|
className: "rpgui-checkbox",
|
|
13261
13263
|
type: "checkbox",
|
|
13262
|
-
checked: checked
|
|
13263
|
-
onChange: handleClick
|
|
13264
|
+
checked: checked
|
|
13264
13265
|
}), React.createElement("label", null, label), React.createElement("br", null));
|
|
13265
13266
|
};
|
|
13266
13267
|
|