@commercelayer/app-elements 3.5.1 → 3.5.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/{CodeEditorComponent-Br_-ue2W.js → CodeEditorComponent-CSV4Dw8y.js} +281 -279
- package/dist/{InputDateComponent-AYfU6xbq.js → InputDateComponent-CJmi8msA.js} +1 -1
- package/dist/helpers/useAppLinking.d.ts +2 -2
- package/dist/{main-DRHqNsgQ.js → main-DfS9ONBm.js} +7272 -7297
- package/dist/main.js +1 -1
- package/dist/ui/atoms/Icon/icons.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var un = Object.defineProperty;
|
|
3
3
|
var dn = (a, n, t) => n in a ? un(a, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[n] = t;
|
|
4
4
|
var y = (a, n, t) => dn(a, typeof n != "symbol" ? n + "" : n, t);
|
|
5
|
-
import { o as pn, f as fn, c as hn, a as er, g as mn, i as $e, b as vn, j as Ee, I as gn, d as Dn, e as wn, w as yn, R as bn } from "./main-
|
|
5
|
+
import { o as pn, f as fn, c as hn, a as er, g as mn, i as $e, b as vn, j as Ee, I as gn, d as Dn, e as wn, w as yn, R as bn } from "./main-DfS9ONBm.js";
|
|
6
6
|
import * as x from "react";
|
|
7
7
|
import h, { useLayoutEffect as Or, useEffect as Vt, createElement as _n, cloneElement as Yr, Component as Z, createRef as Se, useRef as At, useCallback as kn, forwardRef as Mn } from "react";
|
|
8
8
|
import * as Cn from "react-dom";
|
|
@@ -3,7 +3,7 @@ type AppsWithConfig = Exclude<TokenProviderAllowedApp, 'dashboard' | 'resources'
|
|
|
3
3
|
interface UseAppLinkingHook {
|
|
4
4
|
/**
|
|
5
5
|
* Navigate to internal app path, to different app (outside router base), or to an external URL.
|
|
6
|
-
* Current path is saved in
|
|
6
|
+
* Current path is saved in session storage to allow going back to it (when using `goBack`).
|
|
7
7
|
*/
|
|
8
8
|
navigateTo: (param: {
|
|
9
9
|
app: AppsWithConfig;
|
|
@@ -14,7 +14,7 @@ interface UseAppLinkingHook {
|
|
|
14
14
|
} | null;
|
|
15
15
|
/**
|
|
16
16
|
* Go back to the last visited location when `navigateTo` has been used.
|
|
17
|
-
* If no
|
|
17
|
+
* If no saved item is found, it will navigate to the default relative
|
|
18
18
|
*/
|
|
19
19
|
goBack: (param: {
|
|
20
20
|
currentResourceId?: string;
|