@wix/entity-advanced-permissions 1.1425.0 → 1.1426.0
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/statics/entity-advanced-permissions.umd.js +5 -24
- package/dist/statics/entity-advanced-permissions.umd.js.map +1 -1
- package/dist/statics/entity-advanced-permissions.umd.min.js +5 -5
- package/dist/statics/entity-advanced-permissions.umd.min.js.map +1 -1
- package/dist/statics/manifest.json +2 -2
- package/dist/statics/manifest.min.json +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -34679,7 +34679,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
|
34679
34679
|
/******/
|
|
34680
34680
|
/******/ /* webpack/runtime/publicPath */
|
|
34681
34681
|
/******/ (() => {
|
|
34682
|
-
/******/ __webpack_require__.p = "https://static.parastorage.com/services/entity-advanced-permissions/
|
|
34682
|
+
/******/ __webpack_require__.p = "https://static.parastorage.com/services/entity-advanced-permissions/237034cb005833c205f494ea513db708b0300bc7ac84b698d4b45117/";
|
|
34683
34683
|
/******/ })();
|
|
34684
34684
|
/******/
|
|
34685
34685
|
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
@@ -35710,7 +35710,7 @@ if(false /* HMR */) // removed by dead control flow
|
|
|
35710
35710
|
{}
|
|
35711
35711
|
|
|
35712
35712
|
;// ../../../node_modules/@wix/design-system/dist/esm/utils/versionedNamespace.js
|
|
35713
|
-
const placeholder = '
|
|
35713
|
+
const placeholder = 'wds_1_341_0';
|
|
35714
35714
|
const versionedNamespace = placeholder.startsWith('wds_')
|
|
35715
35715
|
? placeholder
|
|
35716
35716
|
: '';
|
|
@@ -62819,26 +62819,6 @@ const useKeyboardInset = ({ enabled, onChange, }) => {
|
|
|
62819
62819
|
};
|
|
62820
62820
|
}, [enabled]);
|
|
62821
62821
|
};
|
|
62822
|
-
const useKeyboardAwareScroll = (getContainer, { enabled }) => {
|
|
62823
|
-
useKeyboardInset({
|
|
62824
|
-
enabled,
|
|
62825
|
-
onChange: inset => {
|
|
62826
|
-
const container = getContainer();
|
|
62827
|
-
if (!container) {
|
|
62828
|
-
return;
|
|
62829
|
-
}
|
|
62830
|
-
const padding = inset > 0 ? `${inset}px` : '';
|
|
62831
|
-
container.style.paddingBottom = padding;
|
|
62832
|
-
container.style.scrollPaddingBottom = padding;
|
|
62833
|
-
const focused = document.activeElement;
|
|
62834
|
-
if (inset > 0 &&
|
|
62835
|
-
focused instanceof HTMLElement &&
|
|
62836
|
-
container.contains(focused)) {
|
|
62837
|
-
focused.scrollIntoView({ block: 'nearest' });
|
|
62838
|
-
}
|
|
62839
|
-
},
|
|
62840
|
-
});
|
|
62841
|
-
};
|
|
62842
62822
|
//# sourceMappingURL=useKeyboardInset.js.map
|
|
62843
62823
|
;// ../../../node_modules/@wix/design-system/dist/esm/Drawer/Drawer.js
|
|
62844
62824
|
|
|
@@ -64339,8 +64319,9 @@ class IconContentFetcher {
|
|
|
64339
64319
|
}
|
|
64340
64320
|
const url = `https://static.parastorage.com/services/wix-ui-icons-common/dist/icons/${theme}/${category}/${name}.${hash}.json`;
|
|
64341
64321
|
const fetchContent = async (attemptsRemaining) => {
|
|
64322
|
+
let response;
|
|
64342
64323
|
try {
|
|
64343
|
-
|
|
64324
|
+
response = await fetch(url, {
|
|
64344
64325
|
signal: createTimeoutSignal(ABORT_SIGNAL_TIMEOUT)
|
|
64345
64326
|
});
|
|
64346
64327
|
if (!response.ok) {
|
|
@@ -64348,7 +64329,7 @@ class IconContentFetcher {
|
|
|
64348
64329
|
}
|
|
64349
64330
|
return await response.json();
|
|
64350
64331
|
} catch (error) {
|
|
64351
|
-
if (attemptsRemaining > 1 && isTransientError(error)) {
|
|
64332
|
+
if (attemptsRemaining > 1 && (isTransientError(error) || !response && error instanceof TypeError)) {
|
|
64352
64333
|
return fetchContent(attemptsRemaining - 1);
|
|
64353
64334
|
}
|
|
64354
64335
|
throw error;
|