@oliasoft-open-source/react-ui-library 9.4.4-beta-2 → 9.4.4-beta-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.
Files changed (2) hide show
  1. package/dist/index.js +8 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10065,10 +10065,14 @@ var Pm = (e = {}) => Nm({
10065
10065
  console.error("Error caught by boundary:", e, t);
10066
10066
  },
10067
10067
  children: e
10068
- }), oh = (e, t = {}) => (n) => /* @__PURE__ */ S(ah, {
10069
- options: t,
10070
- children: /* @__PURE__ */ S(e, { ...n })
10071
- }), sh = (e = {}) => (t) => oh(t, e), ch = (e) => typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null, lh = (e) => {
10068
+ }), oh = (e, t = {}) => {
10069
+ var n, r;
10070
+ let i = (n) => /* @__PURE__ */ S(ah, {
10071
+ options: t,
10072
+ children: /* @__PURE__ */ S(e, { ...n })
10073
+ });
10074
+ return i.displayName = `WithErrorBoundary(${(n = (r = e.displayName) == null ? e.name : r) == null ? "Component" : n})`, i;
10075
+ }, sh = (e = {}) => (t) => oh(t, e), ch = (e) => typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null, lh = (e) => {
10072
10076
  jp(Ep.LanguageKey, e.languageKey), Object.entries(e).forEach(([e, t]) => {
10073
10077
  e === Ep.Translations ? jp(e, Op(t)) : jp(e, ch(t) ? t : { ...t });
10074
10078
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "9.4.4-beta-2",
3
+ "version": "9.4.4-beta-3",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {