tabler-react-2 0.1.73 → 0.1.74

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.
@@ -75,8 +75,8 @@ var EnclosedSelectGroup = exports.EnclosedSelectGroup = function EnclosedSelectG
75
75
  className: "form-selectgroup-item flex-fill ".concat(itemClassName, " ").concat((item === null || item === void 0 ? void 0 : item.disabled) && "bg-gray-600"),
76
76
  key: item.value,
77
77
  style: _objectSpread({
78
- pointerEvents: item === null || item === void 0 ? void 0 : item.disabled,
79
- cursor: item !== null && item !== void 0 && item.disabled ? "not-allowed" : null
78
+ pointerEvents: item.disabled,
79
+ cursor: item.disabled ? "not-allowed" : null
80
80
  }, itemStyle)
81
81
  }, /*#__PURE__*/_react["default"].createElement("input", {
82
82
  type: "radio",
@@ -100,7 +100,9 @@ var EnclosedSelectGroup = exports.EnclosedSelectGroup = function EnclosedSelectG
100
100
  style: {
101
101
  textAlign: "left"
102
102
  }
103
- }, item.content)));
103
+ }, item.content, " ", JSON.stringify({
104
+ disabled: item.disabled
105
+ }))));
104
106
  }));
105
107
  };
106
108
  EnclosedSelectGroup.propTypes = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabler-react-2",
3
- "version": "0.1.73",
3
+ "version": "0.1.74",
4
4
  "description": "A react implementation of Tabler ui",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {