@gustavo-valsechi/client 1.4.320 → 1.4.322

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.
@@ -66,7 +66,9 @@ function Table(props) {
66
66
  };
67
67
  const renderRowContainer = (data, option) => {
68
68
  var _a2, _b2, _c2, _d2, _e2, _f2, _g, _h, _i;
69
- const style = import_lodash.default.isFunction((_a2 = option.row) == null ? void 0 : _a2.style) ? option.row.style(data, option) : (_b2 = option.row) == null ? void 0 : _b2.style;
69
+ const style = {
70
+ ...import_lodash.default.isFunction((_a2 = option.row) == null ? void 0 : _a2.style) ? option.row.style(data, option) : (_b2 = option.row) == null ? void 0 : _b2.style
71
+ };
70
72
  const color = import_lodash.default.isFunction((_c2 = option.row) == null ? void 0 : _c2.color) ? option.row.color(data, option) : (_d2 = option.row) == null ? void 0 : _d2.color;
71
73
  if (color) style.color = theme.content[color] || color;
72
74
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -79,7 +81,7 @@ function Table(props) {
79
81
  `,
80
82
  style,
81
83
  "data-tooltip": !((_g = option.row) == null ? void 0 : _g.actions) ? import_lodash.default.isFunction((_h = option.row) == null ? void 0 : _h.info) ? option.row.info(data, option) : (_i = option.row) == null ? void 0 : _i.info : "",
82
- "data-tooltip-props": '{"position":"bottom"}',
84
+ "data-tooltip-props": '{"position":"bottom","align":"start"}',
83
85
  children: renderRowContent(data, option)
84
86
  }
85
87
  );
@@ -32,7 +32,9 @@ function Table(props) {
32
32
  };
33
33
  const renderRowContainer = (data, option) => {
34
34
  var _a2, _b2, _c2, _d2, _e2, _f2, _g, _h, _i;
35
- const style = _.isFunction((_a2 = option.row) == null ? void 0 : _a2.style) ? option.row.style(data, option) : (_b2 = option.row) == null ? void 0 : _b2.style;
35
+ const style = {
36
+ ..._.isFunction((_a2 = option.row) == null ? void 0 : _a2.style) ? option.row.style(data, option) : (_b2 = option.row) == null ? void 0 : _b2.style
37
+ };
36
38
  const color = _.isFunction((_c2 = option.row) == null ? void 0 : _c2.color) ? option.row.color(data, option) : (_d2 = option.row) == null ? void 0 : _d2.color;
37
39
  if (color) style.color = theme.content[color] || color;
38
40
  return /* @__PURE__ */ jsx(
@@ -45,7 +47,7 @@ function Table(props) {
45
47
  `,
46
48
  style,
47
49
  "data-tooltip": !((_g = option.row) == null ? void 0 : _g.actions) ? _.isFunction((_h = option.row) == null ? void 0 : _h.info) ? option.row.info(data, option) : (_i = option.row) == null ? void 0 : _i.info : "",
48
- "data-tooltip-props": '{"position":"bottom"}',
50
+ "data-tooltip-props": '{"position":"bottom","align":"start"}',
49
51
  children: renderRowContent(data, option)
50
52
  }
51
53
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.4.320",
3
+ "version": "1.4.322",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",