@tamagui/remove-scroll 1.14.1 → 1.14.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.
@@ -1,2 +1,36 @@
1
- "use strict";var m=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var S=(o,e)=>{for(var l in e)m(o,l,{get:e[l],enumerable:!0})},f=(o,e,l,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of a(e))!n.call(o,r)&&r!==l&&m(o,r,{get:()=>e[r],enumerable:!(c=R(e,r))||c.enumerable});return o};var v=o=>f(m({},"__esModule",{value:!0}),o);var i={};S(i,{RemoveScroll:()=>s});module.exports=v(i);var p=require("react/jsx-runtime"),t=require("react-remove-scroll");const s=o=>o.children?(0,p.jsx)(t.RemoveScroll,{...o}):null;s.classNames=t.RemoveScroll.classNames;0&&(module.exports={RemoveScroll});
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var RemoveScroll_exports = {};
20
+ __export(RemoveScroll_exports, {
21
+ RemoveScroll: () => RemoveScroll
22
+ });
23
+ module.exports = __toCommonJS(RemoveScroll_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_react_remove_scroll = require("react-remove-scroll");
26
+ const RemoveScroll = (props) => {
27
+ if (!props.children)
28
+ return null;
29
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_remove_scroll.RemoveScroll, { ...props });
30
+ };
31
+ RemoveScroll.classNames = import_react_remove_scroll.RemoveScroll.classNames;
32
+ // Annotate the CommonJS export names for ESM import in node:
33
+ 0 && (module.exports = {
34
+ RemoveScroll
35
+ });
2
36
  //# sourceMappingURL=RemoveScroll.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.tsx"],
4
4
  "sourcesContent": ["import React from 'react'\nimport { RemoveScroll as RS } from 'react-remove-scroll'\n\nexport type RemoveScrollProps = React.ComponentProps<typeof RS>\n\nexport const RemoveScroll = (props: RemoveScrollProps) => {\n if (!props.children) return null\n return <RS {...props} />\n}\n\nRemoveScroll.classNames = RS.classNames\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kBAAAE,IAAA,eAAAC,EAAAH,GAOS,IAAAI,EAAA,6BANTC,EAAmC,+BAI5B,MAAMH,EAAgBI,GACtBA,EAAM,YACJ,OAAC,EAAAC,aAAA,CAAI,GAAGD,EAAO,EADM,KAI9BJ,EAAa,WAAa,EAAAK,aAAG",
6
- "names": ["RemoveScroll_exports", "__export", "RemoveScroll", "__toCommonJS", "import_jsx_runtime", "import_react_remove_scroll", "props", "RS"]
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOS;AANT,iCAAmC;AAI5B,MAAM,eAAe,CAAC,UAA6B;AACxD,MAAI,CAAC,MAAM;AAAU,WAAO;AAC5B,SAAO,4CAAC,2BAAAA,cAAA,EAAI,GAAG,OAAO;AACxB;AAEA,aAAa,aAAa,2BAAAA,aAAG;",
6
+ "names": ["RS"]
7
7
  }
@@ -1,2 +1,29 @@
1
- "use strict";var r=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var i=(e,o)=>{for(var l in o)r(e,l,{get:o[l],enumerable:!0})},m=(e,o,l,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of d(o))!h.call(e,c)&&c!==l&&r(e,c,{get:()=>o[c],enumerable:!(n=t(o,c))||n.enumerable});return e};var p=e=>m(r({},"__esModule",{value:!0}),e);var v={};i(v,{RemoveScroll:()=>s});module.exports=p(v);const s=e=>e.children;0&&(module.exports={RemoveScroll});
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var RemoveScroll_native_exports = {};
20
+ __export(RemoveScroll_native_exports, {
21
+ RemoveScroll: () => RemoveScroll
22
+ });
23
+ module.exports = __toCommonJS(RemoveScroll_native_exports);
24
+ const RemoveScroll = (props) => props.children;
25
+ // Annotate the CommonJS export names for ESM import in node:
26
+ 0 && (module.exports = {
27
+ RemoveScroll
28
+ });
2
29
  //# sourceMappingURL=RemoveScroll.native.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.native.tsx"],
4
4
  "sourcesContent": ["export const RemoveScroll = (props) => props.children\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kBAAAE,IAAA,eAAAC,EAAAH,GAAO,MAAME,EAAgBE,GAAUA,EAAM",
6
- "names": ["RemoveScroll_native_exports", "__export", "RemoveScroll", "__toCommonJS", "props"]
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,eAAe,CAAC,UAAU,MAAM;",
6
+ "names": []
7
7
  }
package/dist/cjs/index.js CHANGED
@@ -1,2 +1,19 @@
1
- "use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var p=(r,o,f,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of c(o))!d.call(r,e)&&e!==f&&a(r,e,{get:()=>o[e],enumerable:!(x=b(o,e))||x.enumerable});return r},t=(r,o,f)=>(p(r,o,"default"),f&&p(f,o,"default"));var g=r=>p(a({},"__esModule",{value:!0}),r);var m={};module.exports=g(m);t(m,require("./RemoveScroll"),module.exports);
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+ var src_exports = {};
17
+ module.exports = __toCommonJS(src_exports);
18
+ __reExport(src_exports, require("./RemoveScroll"), module.exports);
2
19
  //# sourceMappingURL=index.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
4
  "sourcesContent": ["export * from './RemoveScroll'\n"],
5
- "mappings": "iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GAAAE,EAAAF,EAAc,0BAAd",
6
- "names": ["src_exports", "__toCommonJS", "__reExport"]
5
+ "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,2BAAd;",
6
+ "names": []
7
7
  }
@@ -1,2 +1,12 @@
1
- import{jsx as l}from"react/jsx-runtime";import{RemoveScroll as e}from"react-remove-scroll";const r=o=>o.children?l(e,{...o}):null;r.classNames=e.classNames;export{r as RemoveScroll};
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { RemoveScroll as RS } from "react-remove-scroll";
3
+ const RemoveScroll = (props) => {
4
+ if (!props.children)
5
+ return null;
6
+ return /* @__PURE__ */ jsx(RS, { ...props });
7
+ };
8
+ RemoveScroll.classNames = RS.classNames;
9
+ export {
10
+ RemoveScroll
11
+ };
2
12
  //# sourceMappingURL=RemoveScroll.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.tsx"],
4
4
  "sourcesContent": ["import React from 'react'\nimport { RemoveScroll as RS } from 'react-remove-scroll'\n\nexport type RemoveScrollProps = React.ComponentProps<typeof RS>\n\nexport const RemoveScroll = (props: RemoveScrollProps) => {\n if (!props.children) return null\n return <RS {...props} />\n}\n\nRemoveScroll.classNames = RS.classNames\n"],
5
- "mappings": "AAOS,cAAAA,MAAA,oBANT,OAAS,gBAAgBC,MAAU,sBAI5B,MAAMC,EAAgBC,GACtBA,EAAM,SACJH,EAACC,EAAA,CAAI,GAAGE,EAAO,EADM,KAI9BD,EAAa,WAAaD,EAAG",
6
- "names": ["jsx", "RS", "RemoveScroll", "props"]
5
+ "mappings": "AAOS;AANT,SAAS,gBAAgB,UAAU;AAI5B,MAAM,eAAe,CAAC,UAA6B;AACxD,MAAI,CAAC,MAAM;AAAU,WAAO;AAC5B,SAAO,oBAAC,MAAI,GAAG,OAAO;AACxB;AAEA,aAAa,aAAa,GAAG;",
6
+ "names": []
7
7
  }
@@ -1,2 +1,12 @@
1
- import{jsx as l}from"react/jsx-runtime";import{RemoveScroll as e}from"react-remove-scroll";const r=o=>o.children?l(e,{...o}):null;r.classNames=e.classNames;export{r as RemoveScroll};
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { RemoveScroll as RS } from "react-remove-scroll";
3
+ const RemoveScroll = (props) => {
4
+ if (!props.children)
5
+ return null;
6
+ return /* @__PURE__ */ jsx(RS, { ...props });
7
+ };
8
+ RemoveScroll.classNames = RS.classNames;
9
+ export {
10
+ RemoveScroll
11
+ };
2
12
  //# sourceMappingURL=RemoveScroll.mjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.tsx"],
4
4
  "sourcesContent": ["import React from 'react'\nimport { RemoveScroll as RS } from 'react-remove-scroll'\n\nexport type RemoveScrollProps = React.ComponentProps<typeof RS>\n\nexport const RemoveScroll = (props: RemoveScrollProps) => {\n if (!props.children) return null\n return <RS {...props} />\n}\n\nRemoveScroll.classNames = RS.classNames\n"],
5
- "mappings": "AAOS,cAAAA,MAAA,oBANT,OAAS,gBAAgBC,MAAU,sBAI5B,MAAMC,EAAgBC,GACtBA,EAAM,SACJH,EAACC,EAAA,CAAI,GAAGE,EAAO,EADM,KAI9BD,EAAa,WAAaD,EAAG",
6
- "names": ["jsx", "RS", "RemoveScroll", "props"]
5
+ "mappings": "AAOS;AANT,SAAS,gBAAgB,UAAU;AAI5B,MAAM,eAAe,CAAC,UAA6B;AACxD,MAAI,CAAC,MAAM;AAAU,WAAO;AAC5B,SAAO,oBAAC,MAAI,GAAG,OAAO;AACxB;AAEA,aAAa,aAAa,GAAG;",
6
+ "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- const o=e=>e.children;export{o as RemoveScroll};
1
+ const RemoveScroll = (props) => props.children;
2
+ export {
3
+ RemoveScroll
4
+ };
2
5
  //# sourceMappingURL=RemoveScroll.native.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.native.tsx"],
4
4
  "sourcesContent": ["export const RemoveScroll = (props) => props.children\n"],
5
- "mappings": "AAAO,MAAMA,EAAgBC,GAAUA,EAAM",
6
- "names": ["RemoveScroll", "props"]
5
+ "mappings": "AAAO,MAAM,eAAe,CAAC,UAAU,MAAM;",
6
+ "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- const o=e=>e.children;export{o as RemoveScroll};
1
+ const RemoveScroll = (props) => props.children;
2
+ export {
3
+ RemoveScroll
4
+ };
2
5
  //# sourceMappingURL=RemoveScroll.native.mjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.native.tsx"],
4
4
  "sourcesContent": ["export const RemoveScroll = (props) => props.children\n"],
5
- "mappings": "AAAO,MAAMA,EAAgBC,GAAUA,EAAM",
6
- "names": ["RemoveScroll", "props"]
5
+ "mappings": "AAAO,MAAM,eAAe,CAAC,UAAU,MAAM;",
6
+ "names": []
7
7
  }
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export*from"./RemoveScroll";
1
+ export * from "./RemoveScroll";
2
2
  //# sourceMappingURL=index.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
4
  "sourcesContent": ["export * from './RemoveScroll'\n"],
5
- "mappings": "AAAA,WAAc",
5
+ "mappings": "AAAA,cAAc;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,2 @@
1
- export*from"./RemoveScroll";
1
+ export * from "./RemoveScroll";
2
2
  //# sourceMappingURL=index.mjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
4
  "sourcesContent": ["export * from './RemoveScroll'\n"],
5
- "mappings": "AAAA,WAAc",
5
+ "mappings": "AAAA,cAAc;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,11 @@
1
- import{RemoveScroll as R}from"react-remove-scroll";const a=e=>e.children?<R{...e}/>:null;a.classNames=R.classNames;export{a as RemoveScroll};
1
+ import { RemoveScroll as RS } from "react-remove-scroll";
2
+ const RemoveScroll = (props) => {
3
+ if (!props.children)
4
+ return null;
5
+ return <RS {...props} />;
6
+ };
7
+ RemoveScroll.classNames = RS.classNames;
8
+ export {
9
+ RemoveScroll
10
+ };
2
11
  //# sourceMappingURL=RemoveScroll.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.tsx"],
4
4
  "sourcesContent": ["import React from 'react'\nimport { RemoveScroll as RS } from 'react-remove-scroll'\n\nexport type RemoveScrollProps = React.ComponentProps<typeof RS>\n\nexport const RemoveScroll = (props: RemoveScrollProps) => {\n if (!props.children) return null\n return <RS {...props} />\n}\n\nRemoveScroll.classNames = RS.classNames\n"],
5
- "mappings": "AACA,OAAS,gBAAgBA,MAAU,sBAI5B,MAAMC,EAAgBC,GACtBA,EAAM,SACJ,CAACF,KAAOE,EAAO,GADM,KAI9BD,EAAa,WAAaD,EAAG",
6
- "names": ["RS", "RemoveScroll", "props"]
5
+ "mappings": "AACA,SAAS,gBAAgB,UAAU;AAI5B,MAAM,eAAe,CAAC,UAA6B;AACxD,MAAI,CAAC,MAAM;AAAU,WAAO;AAC5B,SAAO,CAAC,OAAO,OAAO;AACxB;AAEA,aAAa,aAAa,GAAG;",
6
+ "names": []
7
7
  }
@@ -1,2 +1,11 @@
1
- import{RemoveScroll as R}from"react-remove-scroll";const a=e=>e.children?<R{...e}/>:null;a.classNames=R.classNames;export{a as RemoveScroll};
1
+ import { RemoveScroll as RS } from "react-remove-scroll";
2
+ const RemoveScroll = (props) => {
3
+ if (!props.children)
4
+ return null;
5
+ return <RS {...props} />;
6
+ };
7
+ RemoveScroll.classNames = RS.classNames;
8
+ export {
9
+ RemoveScroll
10
+ };
2
11
  //# sourceMappingURL=RemoveScroll.mjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.tsx"],
4
4
  "sourcesContent": ["import React from 'react'\nimport { RemoveScroll as RS } from 'react-remove-scroll'\n\nexport type RemoveScrollProps = React.ComponentProps<typeof RS>\n\nexport const RemoveScroll = (props: RemoveScrollProps) => {\n if (!props.children) return null\n return <RS {...props} />\n}\n\nRemoveScroll.classNames = RS.classNames\n"],
5
- "mappings": "AACA,OAAS,gBAAgBA,MAAU,sBAI5B,MAAMC,EAAgBC,GACtBA,EAAM,SACJ,CAACF,KAAOE,EAAO,GADM,KAI9BD,EAAa,WAAaD,EAAG",
6
- "names": ["RS", "RemoveScroll", "props"]
5
+ "mappings": "AACA,SAAS,gBAAgB,UAAU;AAI5B,MAAM,eAAe,CAAC,UAA6B;AACxD,MAAI,CAAC,MAAM;AAAU,WAAO;AAC5B,SAAO,CAAC,OAAO,OAAO;AACxB;AAEA,aAAa,aAAa,GAAG;",
6
+ "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- const o=e=>e.children;export{o as RemoveScroll};
1
+ const RemoveScroll = (props) => props.children;
2
+ export {
3
+ RemoveScroll
4
+ };
2
5
  //# sourceMappingURL=RemoveScroll.native.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.native.tsx"],
4
4
  "sourcesContent": ["export const RemoveScroll = (props) => props.children\n"],
5
- "mappings": "AAAO,MAAMA,EAAgBC,GAAUA,EAAM",
6
- "names": ["RemoveScroll", "props"]
5
+ "mappings": "AAAO,MAAM,eAAe,CAAC,UAAU,MAAM;",
6
+ "names": []
7
7
  }
@@ -1,2 +1,5 @@
1
- const o=e=>e.children;export{o as RemoveScroll};
1
+ const RemoveScroll = (props) => props.children;
2
+ export {
3
+ RemoveScroll
4
+ };
2
5
  //# sourceMappingURL=RemoveScroll.native.mjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.native.tsx"],
4
4
  "sourcesContent": ["export const RemoveScroll = (props) => props.children\n"],
5
- "mappings": "AAAO,MAAMA,EAAgBC,GAAUA,EAAM",
6
- "names": ["RemoveScroll", "props"]
5
+ "mappings": "AAAO,MAAM,eAAe,CAAC,UAAU,MAAM;",
6
+ "names": []
7
7
  }
package/dist/jsx/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export*from"./RemoveScroll";
1
+ export * from "./RemoveScroll";
2
2
  //# sourceMappingURL=index.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
4
  "sourcesContent": ["export * from './RemoveScroll'\n"],
5
- "mappings": "AAAA,WAAc",
5
+ "mappings": "AAAA,cAAc;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,2 @@
1
- export*from"./RemoveScroll";
1
+ export * from "./RemoveScroll";
2
2
  //# sourceMappingURL=index.mjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
4
  "sourcesContent": ["export * from './RemoveScroll'\n"],
5
- "mappings": "AAAA,WAAc",
5
+ "mappings": "AAAA,cAAc;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/remove-scroll",
3
- "version": "1.14.1",
3
+ "version": "1.14.2",
4
4
  "types": "./types/index.d.ts",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -30,7 +30,7 @@
30
30
  "react-remove-scroll": "^2.5.5"
31
31
  },
32
32
  "devDependencies": {
33
- "@tamagui/build": "1.14.1",
33
+ "@tamagui/build": "1.14.2",
34
34
  "react": "^18.2.0"
35
35
  },
36
36
  "peerDependencies": {