oolib 2.64.11 → 2.64.12

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.
@@ -42,15 +42,17 @@ var StyledContainer = styled_components_1.default.div(templateObject_2 || (templ
42
42
  return align === "center" && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "])));
43
43
  });
44
44
  var StyledMetaWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 0.5rem;\n"], ["\n display: flex;\n align-items: center;\n gap: 0.5rem;\n"])));
45
- var STYLED_SANS_2 = (0, styled_components_1.default)(Typo_1.SANS_2)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n color: ", ";\n"], ["\n ", "\n color: ", ";\n"])), mixins_1.ellipsis, function (_a) {
45
+ var STYLED_SANS_2 = (0, styled_components_1.default)(Typo_1.SANS_2)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n ", ";\n"], ["\n ", "\n ", ";\n"])), mixins_1.ellipsis, function (_a) {
46
46
  var disabled = _a.disabled;
47
- return disabled ? themes_1.colors.greyColor40 : themes_1.colors.greyColor100;
47
+ return disabled && (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), themes_1.colors.greyColor40);
48
48
  });
49
- var StyledSeparator = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n width: 0.3rem;\n height: 0.3rem;\n border-radius: 50%;\n background-color: ", ";\n"], ["\n width: 0.3rem;\n height: 0.3rem;\n border-radius: 50%;\n background-color: ", ";\n"])), function (_a) {
49
+ var StyledSeparator = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n width: 0.3rem;\n height: 0.3rem;\n border-radius: 50%;\n background-color: ", ";\n"], ["\n width: 0.3rem;\n height: 0.3rem;\n border-radius: 50%;\n background-color: ", ";\n"])), function (_a) {
50
50
  var disabled = _a.disabled, invert = _a.invert;
51
51
  return disabled
52
52
  ? themes_1.colors.greyColor40
53
- : invert ? themes_1.colors.white : themes_1.colors.greyColor100;
53
+ : invert
54
+ ? themes_1.colors.white
55
+ : themes_1.colors.greyColor100;
54
56
  });
55
57
  var MetaBlock = function (_a) {
56
58
  var data = _a.data, config = _a.config, disabled = _a.disabled, _b = _a.align, align = _b === void 0 ? "left" : _b, invert = _a.invert;
@@ -61,12 +63,12 @@ var MetaBlock = function (_a) {
61
63
  var genText = function (_a) {
62
64
  var icon = _a.icon, display = _a.display;
63
65
  return (react_1.default.createElement(react_1.default.Fragment, null,
64
- icon && react_1.default.createElement(DisplayIcon_1.DisplayIcon, { icon: icon, size: 15, color: invert ? themes_1.colors.white : themes_1.colors.greyColor100, weight: "regular" }),
66
+ icon && (react_1.default.createElement(DisplayIcon_1.DisplayIcon, { icon: icon, size: 15, color: invert ? themes_1.colors.white : themes_1.colors.greyColor100, weight: "regular" })),
65
67
  react_1.default.createElement(STYLED_SANS_2, { invert: invert, disabled: disabled, capitalize: true }, display)));
66
68
  };
67
69
  var genLink = function (_a) {
68
70
  var icon = _a.icon, display = _a.display, to = _a.to;
69
- return (react_1.default.createElement(Typo_1.SANS_2, { style: icon ? { marginBottom: '-3.3px' } : {} },
71
+ return (react_1.default.createElement(Typo_1.SANS_2, { style: icon ? { marginBottom: "-3.3px" } : {} },
70
72
  " ",
71
73
  react_1.default.createElement(OKELink_1.OKELink, { to: to, text: display, invert: invert, icon: icon })));
72
74
  };
@@ -77,4 +79,4 @@ var MetaBlock = function (_a) {
77
79
  i + 1 === value.length ? null : (react_1.default.createElement(StyledSeparator, { invert: invert, disabled: disabled })))); })));
78
80
  };
79
81
  exports.default = MetaBlock;
80
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
82
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.64.11",
3
+ "version": "2.64.12",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",