oolib 2.213.2 → 2.213.4

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.
@@ -74,7 +74,7 @@ var BlockLabel = function (props) {
74
74
  ? "danger"
75
75
  : errorMsgs[0].type || "danger";
76
76
  var LABEL_TYPO = readOnly ? Typo2_1.UI_BODY_BOLD_SM_DF : Typo2_1.UI_BODY_SM_DF;
77
- return (shouldCompRender && (react_1.default.createElement(index_styled_1.StyledBlockLabel, { style: __assign(__assign({}, style), { marginBottom: (marginBottom || (sublabel ? '0.6rem' : '0.4rem')) }), className: className, id: "tempBlocklabelOverride", sublabel: sublabel, S: S },
77
+ return (shouldCompRender && (react_1.default.createElement(index_styled_1.StyledBlockLabel, { style: __assign(__assign({}, style), { marginBottom: (marginBottom || (sublabel ? '0.6rem' : '0.4rem')) }), className: className, sublabel: sublabel, S: S },
78
78
  react_1.default.createElement("div", { style: { display: "flex", gap: "0.4rem" } },
79
79
  (label || inputOnlyLabel) && (react_1.default.createElement(LABEL_TYPO, { color: disabled ? colors_1.colors.grey40 : colors_1.colors.grey80 }, label || inputOnlyLabel)),
80
80
  !readOnly && (errorMsgs === null || errorMsgs === void 0 ? void 0 : errorMsgs.length) > 0 ? (react_1.default.createElement(InlineAlert_1.InlineAlert, { text: errText, type: errType, link: errLink, invert: invert })) : null,
@@ -105,11 +105,6 @@ function SwitchSingle(_a) {
105
105
  onChange(id, isInactive ? (saveValueAsString ? option.value : option) : undefined);
106
106
  };
107
107
  var genSwitch = function () {
108
- console.log("Rendering genSwitch:", {
109
- currentDirection: currentDirection,
110
- isInactive: isInactive,
111
- disabled: disabled,
112
- });
113
108
  return (react_1.default.createElement(styled_1.StyledButtonSlider, { inactive: isInactive, disabled: disabled, onClick: handleClick },
114
109
  react_1.default.createElement(styled_1.StyledSwitch, { className: "StyledSwitch" //read in styled.js why we are using an okf-anti-pattern
115
110
  , direction: currentDirection, inactive: isInactive, disabled: disabled })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.213.2",
3
+ "version": "2.213.4",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",