tabler-react-2 0.1.74 → 0.1.75

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.
@@ -72,7 +72,7 @@ var EnclosedSelectGroup = exports.EnclosedSelectGroup = function EnclosedSelectG
72
72
  }, style)
73
73
  }, items.map(function (item) {
74
74
  return /*#__PURE__*/_react["default"].createElement("label", {
75
- className: "form-selectgroup-item flex-fill ".concat(itemClassName, " ").concat((item === null || item === void 0 ? void 0 : item.disabled) && "bg-gray-600"),
75
+ className: "form-selectgroup-item flex-fill ".concat(itemClassName),
76
76
  key: item.value,
77
77
  style: _objectSpread({
78
78
  pointerEvents: item.disabled,
@@ -91,7 +91,11 @@ var EnclosedSelectGroup = exports.EnclosedSelectGroup = function EnclosedSelectG
91
91
  },
92
92
  disabled: item.disabled
93
93
  }), /*#__PURE__*/_react["default"].createElement("div", {
94
- className: "form-selectgroup-label d-flex p-3"
94
+ className: "form-selectgroup-label d-flex p-3 ".concat((item === null || item === void 0 ? void 0 : item.disabled) && "bg-gray-600"),
95
+ style: {
96
+ pointerEvents: item.disabled,
97
+ cursor: item.disabled ? "not-allowed" : null
98
+ }
95
99
  }, /*#__PURE__*/_react["default"].createElement("div", {
96
100
  className: "me-3"
97
101
  }, /*#__PURE__*/_react["default"].createElement("span", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabler-react-2",
3
- "version": "0.1.74",
3
+ "version": "0.1.75",
4
4
  "description": "A react implementation of Tabler ui",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {