@gustavo-valsechi/client 1.4.363 → 1.4.364

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.
@@ -34,6 +34,7 @@ __export(option_exports, {
34
34
  });
35
35
  module.exports = __toCommonJS(option_exports);
36
36
  var import_jsx_runtime = require("react/jsx-runtime");
37
+ var import_react = __toESM(require("react"));
37
38
  var import_styles = require("./styles");
38
39
  var import_lodash = __toESM(require("lodash"));
39
40
  function InputSelectOption(props) {
@@ -48,5 +49,6 @@ function InputSelectOption(props) {
48
49
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "select-option-label-container", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "select-option-label", children: (_h = props.content) == null ? void 0 : _h.label }) })
49
50
  ] });
50
51
  }
52
+ if (!import_react.default.isValidElement(props.content) && !(props.content instanceof HTMLElement)) return "";
51
53
  return props.content || "";
52
54
  }
@@ -1,6 +1,7 @@
1
1
  "use client";
2
2
  "use client";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
+ import React from "react";
4
5
  import { Container } from "./styles";
5
6
  import _ from "lodash";
6
7
  function InputSelectOption(props) {
@@ -15,6 +16,7 @@ function InputSelectOption(props) {
15
16
  /* @__PURE__ */ jsx("div", { className: "select-option-label-container", children: /* @__PURE__ */ jsx("div", { className: "select-option-label", children: (_h = props.content) == null ? void 0 : _h.label }) })
16
17
  ] });
17
18
  }
19
+ if (!React.isValidElement(props.content) && !(props.content instanceof HTMLElement)) return "";
18
20
  return props.content || "";
19
21
  }
20
22
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.4.363",
3
+ "version": "1.4.364",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",