@tamagui/scroll-view 1.0.1-beta.220 → 1.0.1-beta.222

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.
@@ -22,7 +22,11 @@ __export(ScrollView_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(ScrollView_exports);
24
24
  var import_core = require("@tamagui/core");
25
+ var import_core2 = require("@tamagui/core");
25
26
  var import_react_native = require("react-native");
27
+ (0, import_core2.setupReactNative)({
28
+ ScrollView: import_react_native.ScrollView
29
+ });
26
30
  const ScrollView = (0, import_core.styled)(
27
31
  import_react_native.ScrollView,
28
32
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/ScrollView.tsx"],
4
- "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { ScrollView as ScrollViewNative } from 'react-native'\n\nexport const ScrollView = styled(\n ScrollViewNative,\n {\n name: 'ScrollView',\n },\n {\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAiC;AACjC,0BAA+C;AAExC,MAAM,iBAAa;AAAA,EACxB,oBAAAA;AAAA,EACA;AAAA,IACE,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,eAAe;AAAA,EACjB;AACF;",
6
- "names": ["ScrollViewNative"]
4
+ "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { setupReactNative } from '@tamagui/core'\nimport { ScrollView as ScrollViewNative } from 'react-native'\n\nsetupReactNative({\n ScrollView: ScrollViewNative,\n})\n\nexport const ScrollView = styled(\n ScrollViewNative,\n {\n name: 'ScrollView',\n },\n {\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAiC;AACjC,IAAAA,eAAiC;AACjC,0BAA+C;AAAA,IAE/C,+BAAiB;AAAA,EACf,YAAY,oBAAAC;AACd,CAAC;AAEM,MAAM,iBAAa;AAAA,EACxB,oBAAAA;AAAA,EACA;AAAA,IACE,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,eAAe;AAAA,EACjB;AACF;",
6
+ "names": ["import_core", "ScrollViewNative"]
7
7
  }
@@ -1,5 +1,9 @@
1
1
  import { styled } from "@tamagui/core";
2
+ import { setupReactNative } from "@tamagui/core";
2
3
  import { ScrollView as ScrollViewNative } from "react-native";
4
+ setupReactNative({
5
+ ScrollView: ScrollViewNative
6
+ });
3
7
  const ScrollView = styled(
4
8
  ScrollViewNative,
5
9
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/ScrollView.tsx"],
4
- "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { ScrollView as ScrollViewNative } from 'react-native'\n\nexport const ScrollView = styled(\n ScrollViewNative,\n {\n name: 'ScrollView',\n },\n {\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
5
- "mappings": "AAAA,SAAmB,cAAc;AACjC,SAAS,cAAc,wBAAwB;AAExC,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,eAAe;AAAA,EACjB;AACF;",
4
+ "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { setupReactNative } from '@tamagui/core'\nimport { ScrollView as ScrollViewNative } from 'react-native'\n\nsetupReactNative({\n ScrollView: ScrollViewNative,\n})\n\nexport const ScrollView = styled(\n ScrollViewNative,\n {\n name: 'ScrollView',\n },\n {\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
5
+ "mappings": "AAAA,SAAmB,cAAc;AACjC,SAAS,wBAAwB;AACjC,SAAS,cAAc,wBAAwB;AAE/C,iBAAiB;AAAA,EACf,YAAY;AACd,CAAC;AAEM,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,eAAe;AAAA,EACjB;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,9 @@
1
1
  import { styled } from "@tamagui/core";
2
+ import { setupReactNative } from "@tamagui/core";
2
3
  import { ScrollView as ScrollViewNative } from "react-native";
4
+ setupReactNative({
5
+ ScrollView: ScrollViewNative
6
+ });
3
7
  const ScrollView = styled(
4
8
  ScrollViewNative,
5
9
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/ScrollView.tsx"],
4
- "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { ScrollView as ScrollViewNative } from 'react-native'\n\nexport const ScrollView = styled(\n ScrollViewNative,\n {\n name: 'ScrollView',\n },\n {\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
5
- "mappings": "AAAA,SAAmB,cAAc;AACjC,SAAS,cAAc,wBAAwB;AAExC,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,eAAe;AAAA,EACjB;AACF;",
4
+ "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { setupReactNative } from '@tamagui/core'\nimport { ScrollView as ScrollViewNative } from 'react-native'\n\nsetupReactNative({\n ScrollView: ScrollViewNative,\n})\n\nexport const ScrollView = styled(\n ScrollViewNative,\n {\n name: 'ScrollView',\n },\n {\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
5
+ "mappings": "AAAA,SAAmB,cAAc;AACjC,SAAS,wBAAwB;AACjC,SAAS,cAAc,wBAAwB;AAE/C,iBAAiB;AAAA,EACf,YAAY;AACd,CAAC;AAEM,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,eAAe;AAAA,EACjB;AACF;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/scroll-view",
3
- "version": "1.0.1-beta.220",
3
+ "version": "1.0.1-beta.222",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -21,14 +21,14 @@
21
21
  "lint:fix": "yarn lint --fix"
22
22
  },
23
23
  "dependencies": {
24
- "@tamagui/core": "^1.0.1-beta.220"
24
+ "@tamagui/core": "^1.0.1-beta.222"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": ">=18",
28
28
  "react-dom": ">=18"
29
29
  },
30
30
  "devDependencies": {
31
- "@tamagui/build": "^1.0.1-beta.220",
31
+ "@tamagui/build": "^1.0.1-beta.222",
32
32
  "react": ">=18",
33
33
  "react-dom": ">=18"
34
34
  },
@@ -1,6 +1,11 @@
1
1
  import { GetProps, styled } from '@tamagui/core'
2
+ import { setupReactNative } from '@tamagui/core'
2
3
  import { ScrollView as ScrollViewNative } from 'react-native'
3
4
 
5
+ setupReactNative({
6
+ ScrollView: ScrollViewNative,
7
+ })
8
+
4
9
  export const ScrollView = styled(
5
10
  ScrollViewNative,
6
11
  {