@zag-js/remove-scroll 0.56.0 → 0.57.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/index.js +3 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -26,8 +26,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
26
26
|
var import_dom_query = require("@zag-js/dom-query");
|
|
27
27
|
var LOCK_CLASSNAME = "data-zag-scroll-lock";
|
|
28
28
|
function assignStyle(el, style) {
|
|
29
|
-
if (!el)
|
|
30
|
-
return;
|
|
29
|
+
if (!el) return;
|
|
31
30
|
const previousStyle = el.style.cssText;
|
|
32
31
|
Object.assign(el.style, style);
|
|
33
32
|
return () => {
|
|
@@ -35,8 +34,7 @@ function assignStyle(el, style) {
|
|
|
35
34
|
};
|
|
36
35
|
}
|
|
37
36
|
function setCSSProperty(el, property, value) {
|
|
38
|
-
if (!el)
|
|
39
|
-
return;
|
|
37
|
+
if (!el) return;
|
|
40
38
|
const previousValue = el.style.getPropertyValue(property);
|
|
41
39
|
el.style.setProperty(property, value);
|
|
42
40
|
return () => {
|
|
@@ -57,8 +55,7 @@ function preventBodyScroll(_document) {
|
|
|
57
55
|
const win = doc.defaultView ?? window;
|
|
58
56
|
const { documentElement, body } = doc;
|
|
59
57
|
const locked = body.hasAttribute(LOCK_CLASSNAME);
|
|
60
|
-
if (locked)
|
|
61
|
-
return;
|
|
58
|
+
if (locked) return;
|
|
62
59
|
body.setAttribute(LOCK_CLASSNAME, "");
|
|
63
60
|
const scrollbarWidth = win.innerWidth - documentElement.clientWidth;
|
|
64
61
|
const setScrollbarWidthProperty = () => setCSSProperty(documentElement, "--scrollbar-width", `${scrollbarWidth}px`);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { isIos } from \"@zag-js/dom-query\"\n\nconst LOCK_CLASSNAME = \"data-zag-scroll-lock\"\n\nfunction assignStyle(el: HTMLElement | null | undefined, style: Partial<CSSStyleDeclaration>) {\n if (!el) return\n const previousStyle = el.style.cssText\n Object.assign(el.style, style)\n return () => {\n el.style.cssText = previousStyle\n }\n}\n\nfunction setCSSProperty(el: HTMLElement | null | undefined, property: string, value: string) {\n if (!el) return\n const previousValue = el.style.getPropertyValue(property)\n el.style.setProperty(property, value)\n return () => {\n if (previousValue) {\n el.style.setProperty(property, previousValue)\n } else {\n el.style.removeProperty(property)\n }\n }\n}\n\nfunction getPaddingProperty(documentElement: HTMLElement) {\n // RTL <body> scrollbar\n const documentLeft = documentElement.getBoundingClientRect().left\n const scrollbarX = Math.round(documentLeft) + documentElement.scrollLeft\n return scrollbarX ? \"paddingLeft\" : \"paddingRight\"\n}\n\nexport function preventBodyScroll(_document?: Document) {\n const doc = _document ?? document\n const win = doc.defaultView ?? window\n\n const { documentElement, body } = doc\n\n const locked = body.hasAttribute(LOCK_CLASSNAME)\n if (locked) return\n\n body.setAttribute(LOCK_CLASSNAME, \"\")\n\n const scrollbarWidth = win.innerWidth - documentElement.clientWidth\n const setScrollbarWidthProperty = () => setCSSProperty(documentElement, \"--scrollbar-width\", `${scrollbarWidth}px`)\n const paddingProperty = getPaddingProperty(documentElement)\n\n const setStyle = () =>\n assignStyle(body, {\n overflow: \"hidden\",\n [paddingProperty]: `${scrollbarWidth}px`,\n })\n\n // Only iOS doesn't respect `overflow: hidden` on document.body\n const setIOSStyle = () => {\n const { scrollX, scrollY, visualViewport } = win\n\n // iOS 12 does not support `visuaViewport`.\n const offsetLeft = visualViewport?.offsetLeft ?? 0\n const offsetTop = visualViewport?.offsetTop ?? 0\n\n const restoreStyle = assignStyle(body, {\n position: \"fixed\",\n overflow: \"hidden\",\n top: `${-(scrollY - Math.floor(offsetTop))}px`,\n left: `${-(scrollX - Math.floor(offsetLeft))}px`,\n right: \"0\",\n [paddingProperty]: `${scrollbarWidth}px`,\n })\n\n return () => {\n restoreStyle?.()\n win.scrollTo({ left: scrollX, top: scrollY, behavior: \"instant\" })\n }\n }\n\n const cleanups = [setScrollbarWidthProperty(), isIos() ? setIOSStyle() : setStyle()]\n\n return () => {\n cleanups.forEach((fn) => fn?.())\n body.removeAttribute(LOCK_CLASSNAME)\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAsB;AAEtB,IAAM,iBAAiB;AAEvB,SAAS,YAAY,IAAoC,OAAqC;AAC5F,MAAI,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { isIos } from \"@zag-js/dom-query\"\n\nconst LOCK_CLASSNAME = \"data-zag-scroll-lock\"\n\nfunction assignStyle(el: HTMLElement | null | undefined, style: Partial<CSSStyleDeclaration>) {\n if (!el) return\n const previousStyle = el.style.cssText\n Object.assign(el.style, style)\n return () => {\n el.style.cssText = previousStyle\n }\n}\n\nfunction setCSSProperty(el: HTMLElement | null | undefined, property: string, value: string) {\n if (!el) return\n const previousValue = el.style.getPropertyValue(property)\n el.style.setProperty(property, value)\n return () => {\n if (previousValue) {\n el.style.setProperty(property, previousValue)\n } else {\n el.style.removeProperty(property)\n }\n }\n}\n\nfunction getPaddingProperty(documentElement: HTMLElement) {\n // RTL <body> scrollbar\n const documentLeft = documentElement.getBoundingClientRect().left\n const scrollbarX = Math.round(documentLeft) + documentElement.scrollLeft\n return scrollbarX ? \"paddingLeft\" : \"paddingRight\"\n}\n\nexport function preventBodyScroll(_document?: Document) {\n const doc = _document ?? document\n const win = doc.defaultView ?? window\n\n const { documentElement, body } = doc\n\n const locked = body.hasAttribute(LOCK_CLASSNAME)\n if (locked) return\n\n body.setAttribute(LOCK_CLASSNAME, \"\")\n\n const scrollbarWidth = win.innerWidth - documentElement.clientWidth\n const setScrollbarWidthProperty = () => setCSSProperty(documentElement, \"--scrollbar-width\", `${scrollbarWidth}px`)\n const paddingProperty = getPaddingProperty(documentElement)\n\n const setStyle = () =>\n assignStyle(body, {\n overflow: \"hidden\",\n [paddingProperty]: `${scrollbarWidth}px`,\n })\n\n // Only iOS doesn't respect `overflow: hidden` on document.body\n const setIOSStyle = () => {\n const { scrollX, scrollY, visualViewport } = win\n\n // iOS 12 does not support `visuaViewport`.\n const offsetLeft = visualViewport?.offsetLeft ?? 0\n const offsetTop = visualViewport?.offsetTop ?? 0\n\n const restoreStyle = assignStyle(body, {\n position: \"fixed\",\n overflow: \"hidden\",\n top: `${-(scrollY - Math.floor(offsetTop))}px`,\n left: `${-(scrollX - Math.floor(offsetLeft))}px`,\n right: \"0\",\n [paddingProperty]: `${scrollbarWidth}px`,\n })\n\n return () => {\n restoreStyle?.()\n win.scrollTo({ left: scrollX, top: scrollY, behavior: \"instant\" })\n }\n }\n\n const cleanups = [setScrollbarWidthProperty(), isIos() ? setIOSStyle() : setStyle()]\n\n return () => {\n cleanups.forEach((fn) => fn?.())\n body.removeAttribute(LOCK_CLASSNAME)\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAsB;AAEtB,IAAM,iBAAiB;AAEvB,SAAS,YAAY,IAAoC,OAAqC;AAC5F,MAAI,CAAC,GAAI;AACT,QAAM,gBAAgB,GAAG,MAAM;AAC/B,SAAO,OAAO,GAAG,OAAO,KAAK;AAC7B,SAAO,MAAM;AACX,OAAG,MAAM,UAAU;AAAA,EACrB;AACF;AAEA,SAAS,eAAe,IAAoC,UAAkB,OAAe;AAC3F,MAAI,CAAC,GAAI;AACT,QAAM,gBAAgB,GAAG,MAAM,iBAAiB,QAAQ;AACxD,KAAG,MAAM,YAAY,UAAU,KAAK;AACpC,SAAO,MAAM;AACX,QAAI,eAAe;AACjB,SAAG,MAAM,YAAY,UAAU,aAAa;AAAA,IAC9C,OAAO;AACL,SAAG,MAAM,eAAe,QAAQ;AAAA,IAClC;AAAA,EACF;AACF;AAEA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,aAAS,QAAQ,CAAC,OAAO,KAAK,CAAC;AAC/B,SAAK,gBAAgB,cAAc;AAAA,EACrC;AACF;","names":[]}
|
package/dist/index.mjs
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
import { isIos } from "@zag-js/dom-query";
|
|
3
3
|
var LOCK_CLASSNAME = "data-zag-scroll-lock";
|
|
4
4
|
function assignStyle(el, style) {
|
|
5
|
-
if (!el)
|
|
6
|
-
return;
|
|
5
|
+
if (!el) return;
|
|
7
6
|
const previousStyle = el.style.cssText;
|
|
8
7
|
Object.assign(el.style, style);
|
|
9
8
|
return () => {
|
|
@@ -11,8 +10,7 @@ function assignStyle(el, style) {
|
|
|
11
10
|
};
|
|
12
11
|
}
|
|
13
12
|
function setCSSProperty(el, property, value) {
|
|
14
|
-
if (!el)
|
|
15
|
-
return;
|
|
13
|
+
if (!el) return;
|
|
16
14
|
const previousValue = el.style.getPropertyValue(property);
|
|
17
15
|
el.style.setProperty(property, value);
|
|
18
16
|
return () => {
|
|
@@ -33,8 +31,7 @@ function preventBodyScroll(_document) {
|
|
|
33
31
|
const win = doc.defaultView ?? window;
|
|
34
32
|
const { documentElement, body } = doc;
|
|
35
33
|
const locked = body.hasAttribute(LOCK_CLASSNAME);
|
|
36
|
-
if (locked)
|
|
37
|
-
return;
|
|
34
|
+
if (locked) return;
|
|
38
35
|
body.setAttribute(LOCK_CLASSNAME, "");
|
|
39
36
|
const scrollbarWidth = win.innerWidth - documentElement.clientWidth;
|
|
40
37
|
const setScrollbarWidthProperty = () => setCSSProperty(documentElement, "--scrollbar-width", `${scrollbarWidth}px`);
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { isIos } from \"@zag-js/dom-query\"\n\nconst LOCK_CLASSNAME = \"data-zag-scroll-lock\"\n\nfunction assignStyle(el: HTMLElement | null | undefined, style: Partial<CSSStyleDeclaration>) {\n if (!el) return\n const previousStyle = el.style.cssText\n Object.assign(el.style, style)\n return () => {\n el.style.cssText = previousStyle\n }\n}\n\nfunction setCSSProperty(el: HTMLElement | null | undefined, property: string, value: string) {\n if (!el) return\n const previousValue = el.style.getPropertyValue(property)\n el.style.setProperty(property, value)\n return () => {\n if (previousValue) {\n el.style.setProperty(property, previousValue)\n } else {\n el.style.removeProperty(property)\n }\n }\n}\n\nfunction getPaddingProperty(documentElement: HTMLElement) {\n // RTL <body> scrollbar\n const documentLeft = documentElement.getBoundingClientRect().left\n const scrollbarX = Math.round(documentLeft) + documentElement.scrollLeft\n return scrollbarX ? \"paddingLeft\" : \"paddingRight\"\n}\n\nexport function preventBodyScroll(_document?: Document) {\n const doc = _document ?? document\n const win = doc.defaultView ?? window\n\n const { documentElement, body } = doc\n\n const locked = body.hasAttribute(LOCK_CLASSNAME)\n if (locked) return\n\n body.setAttribute(LOCK_CLASSNAME, \"\")\n\n const scrollbarWidth = win.innerWidth - documentElement.clientWidth\n const setScrollbarWidthProperty = () => setCSSProperty(documentElement, \"--scrollbar-width\", `${scrollbarWidth}px`)\n const paddingProperty = getPaddingProperty(documentElement)\n\n const setStyle = () =>\n assignStyle(body, {\n overflow: \"hidden\",\n [paddingProperty]: `${scrollbarWidth}px`,\n })\n\n // Only iOS doesn't respect `overflow: hidden` on document.body\n const setIOSStyle = () => {\n const { scrollX, scrollY, visualViewport } = win\n\n // iOS 12 does not support `visuaViewport`.\n const offsetLeft = visualViewport?.offsetLeft ?? 0\n const offsetTop = visualViewport?.offsetTop ?? 0\n\n const restoreStyle = assignStyle(body, {\n position: \"fixed\",\n overflow: \"hidden\",\n top: `${-(scrollY - Math.floor(offsetTop))}px`,\n left: `${-(scrollX - Math.floor(offsetLeft))}px`,\n right: \"0\",\n [paddingProperty]: `${scrollbarWidth}px`,\n })\n\n return () => {\n restoreStyle?.()\n win.scrollTo({ left: scrollX, top: scrollY, behavior: \"instant\" })\n }\n }\n\n const cleanups = [setScrollbarWidthProperty(), isIos() ? setIOSStyle() : setStyle()]\n\n return () => {\n cleanups.forEach((fn) => fn?.())\n body.removeAttribute(LOCK_CLASSNAME)\n }\n}\n"],"mappings":";AAAA,SAAS,aAAa;AAEtB,IAAM,iBAAiB;AAEvB,SAAS,YAAY,IAAoC,OAAqC;AAC5F,MAAI,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { isIos } from \"@zag-js/dom-query\"\n\nconst LOCK_CLASSNAME = \"data-zag-scroll-lock\"\n\nfunction assignStyle(el: HTMLElement | null | undefined, style: Partial<CSSStyleDeclaration>) {\n if (!el) return\n const previousStyle = el.style.cssText\n Object.assign(el.style, style)\n return () => {\n el.style.cssText = previousStyle\n }\n}\n\nfunction setCSSProperty(el: HTMLElement | null | undefined, property: string, value: string) {\n if (!el) return\n const previousValue = el.style.getPropertyValue(property)\n el.style.setProperty(property, value)\n return () => {\n if (previousValue) {\n el.style.setProperty(property, previousValue)\n } else {\n el.style.removeProperty(property)\n }\n }\n}\n\nfunction getPaddingProperty(documentElement: HTMLElement) {\n // RTL <body> scrollbar\n const documentLeft = documentElement.getBoundingClientRect().left\n const scrollbarX = Math.round(documentLeft) + documentElement.scrollLeft\n return scrollbarX ? \"paddingLeft\" : \"paddingRight\"\n}\n\nexport function preventBodyScroll(_document?: Document) {\n const doc = _document ?? document\n const win = doc.defaultView ?? window\n\n const { documentElement, body } = doc\n\n const locked = body.hasAttribute(LOCK_CLASSNAME)\n if (locked) return\n\n body.setAttribute(LOCK_CLASSNAME, \"\")\n\n const scrollbarWidth = win.innerWidth - documentElement.clientWidth\n const setScrollbarWidthProperty = () => setCSSProperty(documentElement, \"--scrollbar-width\", `${scrollbarWidth}px`)\n const paddingProperty = getPaddingProperty(documentElement)\n\n const setStyle = () =>\n assignStyle(body, {\n overflow: \"hidden\",\n [paddingProperty]: `${scrollbarWidth}px`,\n })\n\n // Only iOS doesn't respect `overflow: hidden` on document.body\n const setIOSStyle = () => {\n const { scrollX, scrollY, visualViewport } = win\n\n // iOS 12 does not support `visuaViewport`.\n const offsetLeft = visualViewport?.offsetLeft ?? 0\n const offsetTop = visualViewport?.offsetTop ?? 0\n\n const restoreStyle = assignStyle(body, {\n position: \"fixed\",\n overflow: \"hidden\",\n top: `${-(scrollY - Math.floor(offsetTop))}px`,\n left: `${-(scrollX - Math.floor(offsetLeft))}px`,\n right: \"0\",\n [paddingProperty]: `${scrollbarWidth}px`,\n })\n\n return () => {\n restoreStyle?.()\n win.scrollTo({ left: scrollX, top: scrollY, behavior: \"instant\" })\n }\n }\n\n const cleanups = [setScrollbarWidthProperty(), isIos() ? setIOSStyle() : setStyle()]\n\n return () => {\n cleanups.forEach((fn) => fn?.())\n body.removeAttribute(LOCK_CLASSNAME)\n }\n}\n"],"mappings":";AAAA,SAAS,aAAa;AAEtB,IAAM,iBAAiB;AAEvB,SAAS,YAAY,IAAoC,OAAqC;AAC5F,MAAI,CAAC,GAAI;AACT,QAAM,gBAAgB,GAAG,MAAM;AAC/B,SAAO,OAAO,GAAG,OAAO,KAAK;AAC7B,SAAO,MAAM;AACX,OAAG,MAAM,UAAU;AAAA,EACrB;AACF;AAEA,SAAS,eAAe,IAAoC,UAAkB,OAAe;AAC3F,MAAI,CAAC,GAAI;AACT,QAAM,gBAAgB,GAAG,MAAM,iBAAiB,QAAQ;AACxD,KAAG,MAAM,YAAY,UAAU,KAAK;AACpC,SAAO,MAAM;AACX,QAAI,eAAe;AACjB,SAAG,MAAM,YAAY,UAAU,aAAa;AAAA,IAC9C,OAAO;AACL,SAAG,MAAM,eAAe,QAAQ;AAAA,IAClC;AAAA,EACF;AACF;AAEA,SAAS,mBAAmB,iBAA8B;AAExD,QAAM,eAAe,gBAAgB,sBAAsB,EAAE;AAC7D,QAAM,aAAa,KAAK,MAAM,YAAY,IAAI,gBAAgB;AAC9D,SAAO,aAAa,gBAAgB;AACtC;AAEO,SAAS,kBAAkB,WAAsB;AACtD,QAAM,MAAM,aAAa;AACzB,QAAM,MAAM,IAAI,eAAe;AAE/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"description": "JavaScript utility to remove scroll on body",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@zag-js/dom-query": "0.
|
|
23
|
+
"@zag-js/dom-query": "0.57.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"clean-package": "2.2.0"
|