oolib 2.214.1 → 2.214.3

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.
@@ -79,10 +79,8 @@ var ButtonStyledWrapper = function (_a) {
79
79
  : (M && 'M') || 'S'; // this size logic dont have design defination yet, default size is "S"
80
80
  var calcIconSize = function () {
81
81
  var thisSize = iconSize || size;
82
- console.log({ thisSize: thisSize, variant: variant });
83
82
  return typeof thisSize === 'number' ? thisSize : (thisSize === 'S' && responsive_) ? 18 : (thisSize === 'S' && !responsive_) ? 16 : 16;
84
83
  };
85
- console.log({ iconSize: calcIconSize() });
86
84
  var iconColor = !disabled ? _iconColor : colors_1.colors.grey40;
87
85
  var DisplayTextTypo = Typos[typo] || Typo2_1.UI_BODY_SEMIBOLD_SM_DF;
88
86
  return (react_1.default.createElement(styled_1.ButtonStyled, { id: id, style: style, className: className, variant: variant, size: size, active: active, disabled: disabled, theme: theme, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, type: submit ? "submit" : "button", onClick: function (e) {
@@ -186,7 +186,7 @@ function DropdownMulti(_a) {
186
186
  };
187
187
  var genInputComp = function () {
188
188
  // const SelectComp = isTagsStyle ? SelectTagsInput : SelectDropdown
189
- return (react_1.default.createElement(styled_1.StyledDropdownRefWrapper, { ref: dropdownRef },
189
+ return (react_1.default.createElement(styled_1.StyledDropdownRefWrapper, { ref: dropdownRef, id: 'StyledDropdownRefWrapper_styleOverrideHandle' },
190
190
  react_1.default.createElement("div", { ref: selectRef, className: "OKE-Dropdown__Select-wrapper", onClick: disabled ? function () { } : function () {
191
191
  isTagsStyle
192
192
  ? !showOptions && handleShowOptions() //if tagsStyle, then click always shows options
@@ -34,7 +34,7 @@ var SelectDropdown = function (_a) {
34
34
  return selectConfig.indexOf(elem) !== -1 ? true : false;
35
35
  };
36
36
  var TypoComp = S ? Typo2_1.UI_BODY_SM_DF : Typo2_1.UI_BODY_SM_DF;
37
- var genSelectComp = function () { return (react_1.default.createElement(styled_1.StyledSelectWrapper, { tabIndex: 0, S: S, isPlaceholder: (Array.isArray(value) && (value === null || value === void 0 ? void 0 : value.length) < 1) || !value, disabled: disabled, style: selectStyleOverride, variant: variant, showOptions: showOptions, id: "StyledSelectWrapper" },
37
+ var genSelectComp = function () { return (react_1.default.createElement(styled_1.StyledSelectWrapper, { tabIndex: 0, S: S, isPlaceholder: (Array.isArray(value) && (value === null || value === void 0 ? void 0 : value.length) < 1) || !value, disabled: disabled, style: selectStyleOverride, variant: variant, showOptions: showOptions, id: "StyledSelectWrapper_styleOverrideHandle" },
38
38
  react_1.default.createElement("div", { style: { display: "flex", gap: "1rem", alignItems: "center", zIndex: 1, padding: S ? "0.4rem 0" : "1rem 0" } },
39
39
  showElem('color') && (0, genColor_1.genColor)({ color: value === null || value === void 0 ? void 0 : value.color }),
40
40
  showElem("icon") && (0, genIcon_1.genIcon)({ icon: value === null || value === void 0 ? void 0 : value.icon, S: S }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.214.1",
3
+ "version": "2.214.3",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",