tenjin-ui-kit 0.2.131 → 0.2.133

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.
@@ -27,7 +27,9 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
27
27
  var BrowsingTestCaseLayout = function BrowsingTestCaseLayout(_ref) {
28
28
  var collapse = _ref.collapse,
29
29
  hasExtraContent = _ref.hasExtraContent,
30
- children = _ref.children;
30
+ children = _ref.children,
31
+ leftHandle = _ref.leftHandle,
32
+ onlyRightHandle = _ref.onlyRightHandle;
31
33
  // return <div className="browsing-test-case-layout">{children}</div>;
32
34
  // console.log("Browser", children);
33
35
  var _useState = (0, _react.useState)(false),
@@ -134,7 +136,7 @@ var BrowsingTestCaseLayout = function BrowsingTestCaseLayout(_ref) {
134
136
  ref: boxARef,
135
137
  elevation: 0,
136
138
  className: "rightWrapper"
137
- }, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, children[2], children[3])), !hasExtraContent && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
139
+ }, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, children[2], children[3])), !onlyRightHandle && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !hasExtraContent && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
138
140
  style: {
139
141
  display: "flex",
140
142
  justifyContent: "center",
@@ -157,10 +159,10 @@ var BrowsingTestCaseLayout = function BrowsingTestCaseLayout(_ref) {
157
159
  width: "20px",
158
160
  height: "20px"
159
161
  }
160
- }),
161
- onClick: function onClick() {
162
- return setExpand(!expand);
163
- }
162
+ })
163
+ // onClick={() => setExpand(!expand)}
164
+ ,
165
+ onClick: leftHandle
164
166
  })), /*#__PURE__*/_react.default.createElement("div", {
165
167
  class: "handler",
166
168
  onMouseDown: handleMouseDown
@@ -174,7 +176,7 @@ var BrowsingTestCaseLayout = function BrowsingTestCaseLayout(_ref) {
174
176
  },
175
177
  className: "verticalText",
176
178
  semibold: true
177
- }, "Properties")))))));
179
+ }, "Properties"))))))));
178
180
  };
179
181
  BrowsingTestCaseLayout.TreeViewContent = _Index.default;
180
182
  BrowsingTestCaseLayout.TreeViewHeader = _Index2.default;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenjin-ui-kit",
3
- "version": "0.2.131",
3
+ "version": "0.2.133",
4
4
  "repository": {
5
5
  "url": "https://gitlab.com/yethi/react/tenjin-ui-kit.git"
6
6
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenjin-ui-kit",
3
- "version": "0.2.131",
3
+ "version": "0.2.133",
4
4
  "repository": {
5
5
  "url": "https://gitlab.com/yethi/react/tenjin-ui-kit.git"
6
6
  },