oolib 2.59.0 → 2.59.2

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.
@@ -107,6 +107,7 @@ function DropdownSingle(_a) {
107
107
  var ops = (0, generateOptions_1.generateOptions)({
108
108
  options: optionsProp,
109
109
  optionsFn: optionsFn,
110
+ theme: theme
110
111
  });
111
112
  return (!isSearchable && !isTagsStyle)
112
113
  ? ops
@@ -159,7 +160,7 @@ function DropdownSingle(_a) {
159
160
  var genDisplayComp = function () {
160
161
  if (!value)
161
162
  return null;
162
- var tagsStyle = (react_1.default.createElement(StyledTagsInputWrapper, null, (0, genTagComp_1.genTagComp)(id, value, { display: true, invert: invert, theme: theme })));
163
+ var tagsStyle = (react_1.default.createElement(styled_1.StyledTagsInputWrapper, null, (0, genTagComp_1.genTagComp)(id, value, { display: true, invert: invert, theme: theme })));
163
164
  var commaSeparatedStyle = react_1.default.createElement(DisplayCompSingle_1.DisplayCompSingle, __assign({}, { value: value, invert: invert }));
164
165
  //if an explicit displayComp style is specified then listen to it.
165
166
  //else apply tagsStyle to 'tagStyle' inputs & commaseparatedstyle to
@@ -29,7 +29,7 @@ var SelectDropdown = function (_a) {
29
29
  showOptions = _a.showOptions,
30
30
  //used only for filters, where we dont remove the placeholder even when an option is selected, instead we sustain the blue underline
31
31
  // && header where we dont update the menu title if one of its options is selected
32
- disableSelectTextUpdate = _a.disableSelectTextUpdate, _b = _a.selectConfig, selectConfig = _b === void 0 ? "all" : _b, selectStyleOverride = _a.selectStyleOverride, //used curr only in access control table
32
+ disableSelectTextUpdate = _a.disableSelectTextUpdate, _b = _a.selectConfig, selectConfig = _b === void 0 ? "all" : _b, selectStyleOverride = _a.selectStyleOverride, //used curr only in access control table & header dropdowns
33
33
  S = _a.S, disabled = _a.disabled;
34
34
  var dropdownSelectText = (0, setDropdownSelectText_1.setDropdownSelectText)({
35
35
  placeholder: placeholder,
@@ -48,7 +48,7 @@ exports.StyledModalLargeContentWrapper = styled_components_1.default.div(templat
48
48
  });
49
49
  exports.StyledModalLargeHeader = styled_components_1.default.header(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n /* width: 100%; */\n height: 4rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 2rem;\n position: sticky;\n top: 0;\n z-index: 100;\n"], ["\n background-color: ", ";\n /* width: 100%; */\n height: 4rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 2rem;\n position: sticky;\n top: 0;\n z-index: 100;\n"])), function (_a) {
50
50
  var invert = _a.invert;
51
- return invert ? greyColor5 : themes_1.colors.greyColor90;
51
+ return invert ? themes_1.colors.greyColor90 : greyColor5;
52
52
  });
53
53
  exports.StyledModalLargeBody = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n position: relative;\n ", "\n"], ["\n position: relative;\n ", "\n"])), function (_a) {
54
54
  var takeFullScreenOnScroll = _a.takeFullScreenOnScroll;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.59.0",
3
+ "version": "2.59.2",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",