@tamagui/scroll-view 1.90.16 → 1.91.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.
@@ -18,13 +18,21 @@ __export(ScrollView_exports, {
18
18
  });
19
19
  module.exports = __toCommonJS(ScrollView_exports);
20
20
  var import_stacks = require("@tamagui/stacks"), import_web = require("@tamagui/web"), import_react_native = require("react-native-web");
21
- const ScrollView = (0, import_web.styled)(import_react_native.ScrollView, {
22
- name: "ScrollView",
23
- scrollEnabled: !0,
24
- variants: {
25
- fullscreen: {
26
- true: import_stacks.fullscreenStyle
21
+ const ScrollView = (0, import_web.styled)(
22
+ import_react_native.ScrollView,
23
+ {
24
+ name: "ScrollView",
25
+ scrollEnabled: !0,
26
+ variants: {
27
+ fullscreen: {
28
+ true: import_stacks.fullscreenStyle
29
+ }
30
+ }
31
+ },
32
+ {
33
+ accept: {
34
+ contentContainerStyle: "style"
27
35
  }
28
36
  }
29
- });
37
+ );
30
38
  //# sourceMappingURL=ScrollView.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/ScrollView.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAgC,4BAEhC,aAAuB,yBACvB,sBAA+C;AAExC,MAAM,iBAAa,mBAAO,oBAAAA,YAAkB;AAAA,EACjD,MAAM;AAAA,EACN,eAAe;AAAA,EAEf,UAAU;AAAA,IACR,YAAY;AAAA,MACV,MAAM;AAAA,IACR;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAgC,4BAEhC,aAAuB,yBACvB,sBAA+C;AAExC,MAAM,iBAAa;AAAA,EACxB,oBAAAA;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,eAAe;AAAA,IAEf,UAAU;AAAA,MACR,YAAY;AAAA,QACV,MAAM;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,QAAQ;AAAA,MACN,uBAAuB;AAAA,IACzB;AAAA,EACF;AACF;",
5
5
  "names": ["ScrollViewNative"]
6
6
  }
@@ -26,6 +26,10 @@ var import_stacks = require("@tamagui/stacks"), import_web = require("@tamagui/w
26
26
  true: import_stacks.fullscreenStyle
27
27
  }
28
28
  }
29
+ }, {
30
+ accept: {
31
+ contentContainerStyle: "style"
32
+ }
29
33
  });
30
34
  // Annotate the CommonJS export names for ESM import in node:
31
35
  0 && (module.exports = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/packages/scroll-view/src/ScrollView.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;oBAAgC,4BAEhC,aAAuB,yBACvB,sBAA+C,yBAElCA,iBAAaC,mBAAOC,oBAAAA,YAAkB;EACjDC,MAAM;EACNC,eAAe;EAEfC,UAAU;IACRC,YAAY;MACVC,MAAMC;IACR;EACF;AACF,CAAA;",
5
- "names": ["ScrollView", "styled", "ScrollViewNative", "name", "scrollEnabled", "variants", "fullscreen", "true", "fullscreenStyle"]
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;oBAAgC,4BAEhC,aAAuB,yBACvB,sBAA+C,yBAElCA,iBAAaC,mBACxBC,oBAAAA,YACA;EACEC,MAAM;EACNC,eAAe;EAEfC,UAAU;IACRC,YAAY;MACVC,MAAMC;IACR;EACF;AACF,GACA;EACEC,QAAQ;IACNC,uBAAuB;EACzB;AACF,CAAA;",
5
+ "names": ["ScrollView", "styled", "ScrollViewNative", "name", "scrollEnabled", "variants", "fullscreen", "true", "fullscreenStyle", "accept", "contentContainerStyle"]
6
6
  }
@@ -1,15 +1,23 @@
1
1
  import { fullscreenStyle } from "@tamagui/stacks";
2
2
  import { styled } from "@tamagui/web";
3
3
  import { ScrollView as ScrollViewNative } from "react-native-web";
4
- const ScrollView = styled(ScrollViewNative, {
5
- name: "ScrollView",
6
- scrollEnabled: !0,
7
- variants: {
8
- fullscreen: {
9
- true: fullscreenStyle
4
+ const ScrollView = styled(
5
+ ScrollViewNative,
6
+ {
7
+ name: "ScrollView",
8
+ scrollEnabled: !0,
9
+ variants: {
10
+ fullscreen: {
11
+ true: fullscreenStyle
12
+ }
13
+ }
14
+ },
15
+ {
16
+ accept: {
17
+ contentContainerStyle: "style"
10
18
  }
11
19
  }
12
- });
20
+ );
13
21
  export {
14
22
  ScrollView
15
23
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/ScrollView.tsx"],
4
- "mappings": "AAAA,SAAS,uBAAuB;AAEhC,SAAS,cAAc;AACvB,SAAS,cAAc,wBAAwB;AAExC,MAAM,aAAa,OAAO,kBAAkB;AAAA,EACjD,MAAM;AAAA,EACN,eAAe;AAAA,EAEf,UAAU;AAAA,IACR,YAAY;AAAA,MACV,MAAM;AAAA,IACR;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": "AAAA,SAAS,uBAAuB;AAEhC,SAAS,cAAc;AACvB,SAAS,cAAc,wBAAwB;AAExC,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,eAAe;AAAA,IAEf,UAAU;AAAA,MACR,YAAY;AAAA,QACV,MAAM;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,QAAQ;AAAA,MACN,uBAAuB;AAAA,IACzB;AAAA,EACF;AACF;",
5
5
  "names": []
6
6
  }
@@ -9,5 +9,9 @@ const ScrollView = styled(ScrollViewNative, {
9
9
  true: fullscreenStyle
10
10
  }
11
11
  }
12
+ }, {
13
+ accept: {
14
+ contentContainerStyle: "style"
15
+ }
12
16
  });
13
17
  export { ScrollView };
@@ -9,6 +9,10 @@ var ScrollView = styled(ScrollViewNative, {
9
9
  true: fullscreenStyle
10
10
  }
11
11
  }
12
+ }, {
13
+ accept: {
14
+ contentContainerStyle: "style"
15
+ }
12
16
  });
13
17
  export {
14
18
  ScrollView
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/packages/scroll-view/src/ScrollView.tsx"],
4
- "mappings": "AAAA,SAASA,uBAAuB;AAEhC,SAASC,cAAc;AACvB,SAASC,cAAcC,wBAAwB;AAExC,IAAMD,aAAaD,OAAOE,kBAAkB;EACjDC,MAAM;EACNC,eAAe;EAEfC,UAAU;IACRC,YAAY;MACVC,MAAMR;IACR;EACF;AACF,CAAA;",
5
- "names": ["fullscreenStyle", "styled", "ScrollView", "ScrollViewNative", "name", "scrollEnabled", "variants", "fullscreen", "true"]
4
+ "mappings": "AAAA,SAASA,uBAAuB;AAEhC,SAASC,cAAc;AACvB,SAASC,cAAcC,wBAAwB;AAExC,IAAMD,aAAaD,OACxBE,kBACA;EACEC,MAAM;EACNC,eAAe;EAEfC,UAAU;IACRC,YAAY;MACVC,MAAMR;IACR;EACF;AACF,GACA;EACES,QAAQ;IACNC,uBAAuB;EACzB;AACF,CAAA;",
5
+ "names": ["fullscreenStyle", "styled", "ScrollView", "ScrollViewNative", "name", "scrollEnabled", "variants", "fullscreen", "true", "accept", "contentContainerStyle"]
6
6
  }
@@ -1,15 +1,23 @@
1
1
  import { fullscreenStyle } from "@tamagui/stacks";
2
2
  import { styled } from "@tamagui/web";
3
3
  import { ScrollView as ScrollViewNative } from "react-native-web";
4
- const ScrollView = styled(ScrollViewNative, {
5
- name: "ScrollView",
6
- scrollEnabled: !0,
7
- variants: {
8
- fullscreen: {
9
- true: fullscreenStyle
4
+ const ScrollView = styled(
5
+ ScrollViewNative,
6
+ {
7
+ name: "ScrollView",
8
+ scrollEnabled: !0,
9
+ variants: {
10
+ fullscreen: {
11
+ true: fullscreenStyle
12
+ }
13
+ }
14
+ },
15
+ {
16
+ accept: {
17
+ contentContainerStyle: "style"
10
18
  }
11
19
  }
12
- });
20
+ );
13
21
  export {
14
22
  ScrollView
15
23
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/ScrollView.tsx"],
4
- "mappings": "AAAA,SAAS,uBAAuB;AAEhC,SAAS,cAAc;AACvB,SAAS,cAAc,wBAAwB;AAExC,MAAM,aAAa,OAAO,kBAAkB;AAAA,EACjD,MAAM;AAAA,EACN,eAAe;AAAA,EAEf,UAAU;AAAA,IACR,YAAY;AAAA,MACV,MAAM;AAAA,IACR;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": "AAAA,SAAS,uBAAuB;AAEhC,SAAS,cAAc;AACvB,SAAS,cAAc,wBAAwB;AAExC,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,eAAe;AAAA,IAEf,UAAU;AAAA,MACR,YAAY;AAAA,QACV,MAAM;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,QAAQ;AAAA,MACN,uBAAuB;AAAA,IACzB;AAAA,EACF;AACF;",
5
5
  "names": []
6
6
  }
@@ -9,5 +9,9 @@ const ScrollView = styled(ScrollViewNative, {
9
9
  true: fullscreenStyle
10
10
  }
11
11
  }
12
+ }, {
13
+ accept: {
14
+ contentContainerStyle: "style"
15
+ }
12
16
  });
13
17
  export { ScrollView };
@@ -9,6 +9,10 @@ var ScrollView = styled(ScrollViewNative, {
9
9
  true: fullscreenStyle
10
10
  }
11
11
  }
12
+ }, {
13
+ accept: {
14
+ contentContainerStyle: "style"
15
+ }
12
16
  });
13
17
  export {
14
18
  ScrollView
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/packages/scroll-view/src/ScrollView.tsx"],
4
- "mappings": "AAAA,SAASA,uBAAuB;AAEhC,SAASC,cAAc;AACvB,SAASC,cAAcC,wBAAwB;AAExC,IAAMD,aAAaD,OAAOE,kBAAkB;EACjDC,MAAM;EACNC,eAAe;EAEfC,UAAU;IACRC,YAAY;MACVC,MAAMR;IACR;EACF;AACF,CAAA;",
5
- "names": ["fullscreenStyle", "styled", "ScrollView", "ScrollViewNative", "name", "scrollEnabled", "variants", "fullscreen", "true"]
4
+ "mappings": "AAAA,SAASA,uBAAuB;AAEhC,SAASC,cAAc;AACvB,SAASC,cAAcC,wBAAwB;AAExC,IAAMD,aAAaD,OACxBE,kBACA;EACEC,MAAM;EACNC,eAAe;EAEfC,UAAU;IACRC,YAAY;MACVC,MAAMR;IACR;EACF;AACF,GACA;EACES,QAAQ;IACNC,uBAAuB;EACzB;AACF,CAAA;",
5
+ "names": ["fullscreenStyle", "styled", "ScrollView", "ScrollViewNative", "name", "scrollEnabled", "variants", "fullscreen", "true", "accept", "contentContainerStyle"]
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/scroll-view",
3
- "version": "1.90.16",
3
+ "version": "1.91.0",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -32,14 +32,14 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "@tamagui/stacks": "1.90.16",
36
- "@tamagui/web": "1.90.16"
35
+ "@tamagui/stacks": "1.91.0",
36
+ "@tamagui/web": "1.91.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": "*"
40
40
  },
41
41
  "devDependencies": {
42
- "@tamagui/build": "1.90.16",
42
+ "@tamagui/build": "1.91.0",
43
43
  "react": "^18.2.0"
44
44
  },
45
45
  "publishConfig": {
@@ -3,16 +3,24 @@ import type { GetProps } from '@tamagui/web'
3
3
  import { styled } from '@tamagui/web'
4
4
  import { ScrollView as ScrollViewNative } from 'react-native'
5
5
 
6
- export const ScrollView = styled(ScrollViewNative, {
7
- name: 'ScrollView',
8
- scrollEnabled: true,
6
+ export const ScrollView = styled(
7
+ ScrollViewNative,
8
+ {
9
+ name: 'ScrollView',
10
+ scrollEnabled: true,
9
11
 
10
- variants: {
11
- fullscreen: {
12
- true: fullscreenStyle,
13
- },
14
- } as const,
15
- })
12
+ variants: {
13
+ fullscreen: {
14
+ true: fullscreenStyle,
15
+ },
16
+ } as const,
17
+ },
18
+ {
19
+ accept: {
20
+ contentContainerStyle: 'style',
21
+ } as const,
22
+ }
23
+ )
16
24
 
17
25
  export type ScrollView = Pick<ScrollViewNative, 'scrollTo'>
18
26
 
@@ -1,8 +1,14 @@
1
1
  import type { GetProps } from '@tamagui/web';
2
2
  import { ScrollView as ScrollViewNative } from 'react-native';
3
- export declare const ScrollView: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, ScrollViewNative, import("@tamagui/web/types/interfaces/TamaguiComponentPropsBaseBase").TamaguiComponentPropsBaseBase & import("react-native").ScrollViewProps, import("@tamagui/web").StackStyleBase, {
3
+ export declare const ScrollView: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, ScrollViewNative, import("@tamagui/web/types/interfaces/TamaguiComponentPropsBaseBase").TamaguiComponentPropsBaseBase & import("react-native").ScrollViewProps, import("@tamagui/web").StackStyleBase & {
4
+ readonly contentContainerStyle?: Partial<import("@tamagui/web").GetFinalProps<import("react-native").ScrollViewProps, import("@tamagui/web").StackStyleBase, {}>> | undefined;
5
+ }, {
4
6
  fullscreen?: boolean | undefined;
5
- }, import("@tamagui/web").StaticConfigPublic>;
7
+ }, {
8
+ accept: {
9
+ readonly contentContainerStyle: "style";
10
+ };
11
+ }>;
6
12
  export type ScrollView = Pick<ScrollViewNative, 'scrollTo'>;
7
13
  export type ScrollViewProps = GetProps<typeof ScrollView>;
8
14
  //# sourceMappingURL=ScrollView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../src/ScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAE5C,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE7D,eAAO,MAAM,UAAU;;6CASrB,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAA;AAE3D,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA"}
1
+ {"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../src/ScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAE5C,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE7D,eAAO,MAAM,UAAU;;;;;;;;EAiBtB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAA;AAE3D,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA"}