@tamagui/remove-scroll 1.96.0 → 1.97.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA4B,kBAC5B,6BAAmC,gCAM1B;AAFF,MAAM,mBAAe,mBAAK,CAAC,UAC3B,MAAM,WACJ,4CAAC,2BAAAA,cAAA,EAAI,GAAG,OAAO,IADM,IAE7B,GAEY,aAAa,2BAAAA,aAAG;",
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA0C,kBAC1C,6BAAmC,gCAM1B;AAFF,MAAM,mBAAe,mBAAK,CAAC,UAC3B,MAAM,WACJ,4CAAC,2BAAAA,cAAA,EAAI,GAAG,OAAO,IADM,IAE7B,GAEY,aAAa,2BAAAA,aAAG;",
5
5
  "names": ["RS"]
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.tsx"],
4
- "mappings": "AAAA,SAAgB,YAAY;AAC5B,SAAS,gBAAgB,UAAU;AAM1B;AAFF,MAAM,eAAe,KAAK,CAAC,UAC3B,MAAM,WACJ,oBAAC,MAAI,GAAG,OAAO,IADM,IAE7B,GAEY,aAAa,GAAG;",
4
+ "mappings": "AAAA,SAAS,YAAiC;AAC1C,SAAS,gBAAgB,UAAU;AAM1B;AAFF,MAAM,eAAe,KAAK,CAAC,UAC3B,MAAM,WACJ,oBAAC,MAAI,GAAG,OAAO,IADM,IAE7B,GAEY,aAAa,GAAG;",
5
5
  "names": []
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/RemoveScroll.tsx"],
4
- "mappings": "AAAA,SAAgB,YAAY;AAC5B,SAAS,gBAAgB,UAAU;AAM1B;AAFF,MAAM,eAAe,KAAK,CAAC,UAC3B,MAAM,WACJ,oBAAC,MAAI,GAAG,OAAO,IADM,IAE7B,GAEY,aAAa,GAAG;",
4
+ "mappings": "AAAA,SAAS,YAAiC;AAC1C,SAAS,gBAAgB,UAAU;AAM1B;AAFF,MAAM,eAAe,KAAK,CAAC,UAC3B,MAAM,WACJ,oBAAC,MAAI,GAAG,OAAO,IADM,IAE7B,GAEY,aAAa,GAAG;",
5
5
  "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/remove-scroll",
3
- "version": "1.96.0",
3
+ "version": "1.97.0",
4
4
  "types": "./types/index.d.ts",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -31,7 +31,7 @@
31
31
  "react-remove-scroll": "2.5.5"
32
32
  },
33
33
  "devDependencies": {
34
- "@tamagui/build": "1.96.0",
34
+ "@tamagui/build": "1.97.0",
35
35
  "react": "^18.2.0"
36
36
  },
37
37
  "peerDependencies": {
@@ -1,7 +1,7 @@
1
- import React, { memo } from 'react'
1
+ import { memo, type ComponentProps } from 'react'
2
2
  import { RemoveScroll as RS } from 'react-remove-scroll'
3
3
 
4
- export type RemoveScrollProps = React.ComponentProps<typeof RS>
4
+ export type RemoveScrollProps = ComponentProps<typeof RS>
5
5
 
6
6
  export const RemoveScroll = memo((props: RemoveScrollProps) => {
7
7
  if (!props.children) return null
@@ -1,7 +1,7 @@
1
- import React from 'react';
1
+ import { type ComponentProps } from 'react';
2
2
  import { RemoveScroll as RS } from 'react-remove-scroll';
3
- export type RemoveScrollProps = React.ComponentProps<typeof RS>;
4
- export declare const RemoveScroll: React.MemoExoticComponent<(props: RemoveScrollProps) => import("react/jsx-runtime").JSX.Element | null>;
3
+ export type RemoveScrollProps = ComponentProps<typeof RS>;
4
+ export declare const RemoveScroll: import("react").MemoExoticComponent<(props: RemoveScrollProps) => import("react/jsx-runtime").JSX.Element | null>;
5
5
  export declare const classNames: {
6
6
  fullWidth: string;
7
7
  zeroRight: string;
@@ -1 +1 @@
1
- {"version":3,"file":"RemoveScroll.d.ts","sourceRoot":"","sources":["../src/RemoveScroll.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAA;AACnC,OAAO,EAAE,YAAY,IAAI,EAAE,EAAE,MAAM,qBAAqB,CAAA;AAExD,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAA;AAE/D,eAAO,MAAM,YAAY,oCAAgB,iBAAiB,oDAGxD,CAAA;AAEF,eAAO,MAAM,UAAU;;;CAAgB,CAAA"}
1
+ {"version":3,"file":"RemoveScroll.d.ts","sourceRoot":"","sources":["../src/RemoveScroll.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AACjD,OAAO,EAAE,YAAY,IAAI,EAAE,EAAE,MAAM,qBAAqB,CAAA;AAExD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,OAAO,EAAE,CAAC,CAAA;AAEzD,eAAO,MAAM,YAAY,8CAAgB,iBAAiB,oDAGxD,CAAA;AAEF,eAAO,MAAM,UAAU;;;CAAgB,CAAA"}