@oliasoft-open-source/react-ui-library 9.5.2-beta-1 → 9.5.2-beta-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.
- package/dist/index.d.ts +1 -4
- package/dist/index.js +4 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2479,9 +2479,6 @@ export declare const widthOfCharacters: (characterCount: number) => string;
|
|
|
2479
2479
|
|
|
2480
2480
|
export declare const withChainableErrorBoundary: (options?: ErrorBoundaryOptions) => <P extends object>(Component: ComponentType<P>) => ComponentType<P>;
|
|
2481
2481
|
|
|
2482
|
-
export declare const withErrorBoundary: <T extends ComponentType<any>>(Component: T, options?: ErrorBoundaryOptions) => MemoExoticComponent<
|
|
2483
|
-
(props: ComponentProps<T>): JSX.Element;
|
|
2484
|
-
displayName: string;
|
|
2485
|
-
}>;
|
|
2482
|
+
export declare const withErrorBoundary: <T extends ComponentType<any>>(Component: T, options?: ErrorBoundaryOptions) => MemoExoticComponent<(props: ComponentProps<T>) => JSX.Element>;
|
|
2486
2483
|
|
|
2487
2484
|
export { }
|
package/dist/index.js
CHANGED
|
@@ -10153,14 +10153,10 @@ var Wm = (e = {}) => Um({
|
|
|
10153
10153
|
console.error("Error caught by boundary:", e, t);
|
|
10154
10154
|
},
|
|
10155
10155
|
children: e
|
|
10156
|
-
}), gh = (e, t = {}) => {
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
children: /* @__PURE__ */ S(e, { ...n })
|
|
10161
|
-
});
|
|
10162
|
-
return i.displayName = `WithErrorBoundary(${(n = (r = e.displayName) == null ? e.name : r) == null ? "Component" : n})`, c(i);
|
|
10163
|
-
}, _h = (e = {}) => (t) => gh(t, e), vh = (e) => typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null, yh = (e) => {
|
|
10156
|
+
}), gh = (e, t = {}) => c((n) => /* @__PURE__ */ S(hh, {
|
|
10157
|
+
options: t,
|
|
10158
|
+
children: /* @__PURE__ */ S(e, { ...n })
|
|
10159
|
+
})), _h = (e = {}) => (t) => gh(t, e), vh = (e) => typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null, yh = (e) => {
|
|
10164
10160
|
jp(Ep.LanguageKey, e.languageKey), Object.entries(e).forEach(([e, t]) => {
|
|
10165
10161
|
e === Ep.Translations ? jp(e, Op(t)) : jp(e, vh(t) ? t : { ...t });
|
|
10166
10162
|
});
|
package/package.json
CHANGED