@tamagui/scroll-view 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.
- package/dist/cjs/ScrollView.js +49 -1
- package/dist/cjs/ScrollView.js.map +2 -2
- package/dist/cjs/index.js +18 -1
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/ScrollView.js +25 -1
- package/dist/esm/ScrollView.js.map +2 -2
- package/dist/esm/ScrollView.mjs +25 -1
- package/dist/esm/ScrollView.mjs.map +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/index.mjs.map +1 -1
- package/dist/jsx/ScrollView.js +25 -1
- package/dist/jsx/ScrollView.js.map +2 -2
- package/dist/jsx/ScrollView.mjs +25 -1
- package/dist/jsx/ScrollView.mjs.map +2 -2
- package/dist/jsx/index.js +1 -1
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/index.mjs +1 -1
- package/dist/jsx/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/cjs/ScrollView.js
CHANGED
|
@@ -1,2 +1,50 @@
|
|
|
1
|
-
"use strict";
|
|
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 ScrollView_exports = {};
|
|
20
|
+
__export(ScrollView_exports, {
|
|
21
|
+
ScrollView: () => ScrollView
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(ScrollView_exports);
|
|
24
|
+
var import_stacks = require("@tamagui/stacks");
|
|
25
|
+
var import_web = require("@tamagui/web");
|
|
26
|
+
var import_react_native = require("react-native");
|
|
27
|
+
(0, import_web.setupReactNative)({
|
|
28
|
+
ScrollView: import_react_native.ScrollView
|
|
29
|
+
});
|
|
30
|
+
const ScrollView = (0, import_web.styled)(
|
|
31
|
+
import_react_native.ScrollView,
|
|
32
|
+
{
|
|
33
|
+
name: "ScrollView",
|
|
34
|
+
scrollEnabled: true,
|
|
35
|
+
variants: {
|
|
36
|
+
fullscreen: {
|
|
37
|
+
true: import_stacks.fullscreenStyle
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
// this maybe not necesssary since setupReactNative is called?
|
|
43
|
+
isReactNative: true
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
47
|
+
0 && (module.exports = {
|
|
48
|
+
ScrollView
|
|
49
|
+
});
|
|
2
50
|
//# sourceMappingURL=ScrollView.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ScrollView.tsx"],
|
|
4
4
|
"sourcesContent": ["import { fullscreenStyle } from '@tamagui/stacks'\nimport { GetProps, setupReactNative, styled } from '@tamagui/web'\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 scrollEnabled: true,\n\n variants: {\n fullscreen: {\n true: fullscreenStyle,\n },\n } as const,\n },\n {\n // this maybe not necesssary since setupReactNative is called?\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAgC;AAChC,iBAAmD;AACnD,0BAA+C;AAAA,IAE/C,6BAAiB;AAAA,EACf,YAAY,oBAAAA;AACd,CAAC;AAEM,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;AAAA,IAEE,eAAe;AAAA,EACjB;AACF;",
|
|
6
|
+
"names": ["ScrollViewNative"]
|
|
7
7
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
"use strict";
|
|
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("./ScrollView"), module.exports);
|
|
2
19
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.tsx"],
|
|
4
4
|
"sourcesContent": ["export * from './ScrollView'\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,yBAAd;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
package/dist/esm/ScrollView.js
CHANGED
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
import{fullscreenStyle
|
|
1
|
+
import { fullscreenStyle } from "@tamagui/stacks";
|
|
2
|
+
import { setupReactNative, styled } from "@tamagui/web";
|
|
3
|
+
import { ScrollView as ScrollViewNative } from "react-native";
|
|
4
|
+
setupReactNative({
|
|
5
|
+
ScrollView: ScrollViewNative
|
|
6
|
+
});
|
|
7
|
+
const ScrollView = styled(
|
|
8
|
+
ScrollViewNative,
|
|
9
|
+
{
|
|
10
|
+
name: "ScrollView",
|
|
11
|
+
scrollEnabled: true,
|
|
12
|
+
variants: {
|
|
13
|
+
fullscreen: {
|
|
14
|
+
true: fullscreenStyle
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
// this maybe not necesssary since setupReactNative is called?
|
|
20
|
+
isReactNative: true
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
export {
|
|
24
|
+
ScrollView
|
|
25
|
+
};
|
|
2
26
|
//# sourceMappingURL=ScrollView.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ScrollView.tsx"],
|
|
4
4
|
"sourcesContent": ["import { fullscreenStyle } from '@tamagui/stacks'\nimport { GetProps, setupReactNative, styled } from '@tamagui/web'\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 scrollEnabled: true,\n\n variants: {\n fullscreen: {\n true: fullscreenStyle,\n },\n } as const,\n },\n {\n // this maybe not necesssary since setupReactNative is called?\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAmB,kBAAkB,cAAc;AACnD,SAAS,cAAc,wBAAwB;AAE/C,iBAAiB;AAAA,EACf,YAAY;AACd,CAAC;AAEM,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;AAAA,IAEE,eAAe;AAAA,EACjB;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
package/dist/esm/ScrollView.mjs
CHANGED
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
import{fullscreenStyle
|
|
1
|
+
import { fullscreenStyle } from "@tamagui/stacks";
|
|
2
|
+
import { setupReactNative, styled } from "@tamagui/web";
|
|
3
|
+
import { ScrollView as ScrollViewNative } from "react-native";
|
|
4
|
+
setupReactNative({
|
|
5
|
+
ScrollView: ScrollViewNative
|
|
6
|
+
});
|
|
7
|
+
const ScrollView = styled(
|
|
8
|
+
ScrollViewNative,
|
|
9
|
+
{
|
|
10
|
+
name: "ScrollView",
|
|
11
|
+
scrollEnabled: true,
|
|
12
|
+
variants: {
|
|
13
|
+
fullscreen: {
|
|
14
|
+
true: fullscreenStyle
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
// this maybe not necesssary since setupReactNative is called?
|
|
20
|
+
isReactNative: true
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
export {
|
|
24
|
+
ScrollView
|
|
25
|
+
};
|
|
2
26
|
//# sourceMappingURL=ScrollView.mjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ScrollView.tsx"],
|
|
4
4
|
"sourcesContent": ["import { fullscreenStyle } from '@tamagui/stacks'\nimport { GetProps, setupReactNative, styled } from '@tamagui/web'\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 scrollEnabled: true,\n\n variants: {\n fullscreen: {\n true: fullscreenStyle,\n },\n } as const,\n },\n {\n // this maybe not necesssary since setupReactNative is called?\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAmB,kBAAkB,cAAc;AACnD,SAAS,cAAc,wBAAwB;AAE/C,iBAAiB;AAAA,EACf,YAAY;AACd,CAAC;AAEM,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;AAAA,IAEE,eAAe;AAAA,EACjB;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export*from"./ScrollView";
|
|
1
|
+
export * from "./ScrollView";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
package/dist/esm/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export*from"./ScrollView";
|
|
1
|
+
export * from "./ScrollView";
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/esm/index.mjs.map
CHANGED
package/dist/jsx/ScrollView.js
CHANGED
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
import{fullscreenStyle
|
|
1
|
+
import { fullscreenStyle } from "@tamagui/stacks";
|
|
2
|
+
import { setupReactNative, styled } from "@tamagui/web";
|
|
3
|
+
import { ScrollView as ScrollViewNative } from "react-native";
|
|
4
|
+
setupReactNative({
|
|
5
|
+
ScrollView: ScrollViewNative
|
|
6
|
+
});
|
|
7
|
+
const ScrollView = styled(
|
|
8
|
+
ScrollViewNative,
|
|
9
|
+
{
|
|
10
|
+
name: "ScrollView",
|
|
11
|
+
scrollEnabled: true,
|
|
12
|
+
variants: {
|
|
13
|
+
fullscreen: {
|
|
14
|
+
true: fullscreenStyle
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
// this maybe not necesssary since setupReactNative is called?
|
|
20
|
+
isReactNative: true
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
export {
|
|
24
|
+
ScrollView
|
|
25
|
+
};
|
|
2
26
|
//# sourceMappingURL=ScrollView.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ScrollView.tsx"],
|
|
4
4
|
"sourcesContent": ["import { fullscreenStyle } from '@tamagui/stacks'\nimport { GetProps, setupReactNative, styled } from '@tamagui/web'\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 scrollEnabled: true,\n\n variants: {\n fullscreen: {\n true: fullscreenStyle,\n },\n } as const,\n },\n {\n // this maybe not necesssary since setupReactNative is called?\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAmB,kBAAkB,cAAc;AACnD,SAAS,cAAc,wBAAwB;AAE/C,iBAAiB;AAAA,EACf,YAAY;AACd,CAAC;AAEM,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;AAAA,IAEE,eAAe;AAAA,EACjB;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
package/dist/jsx/ScrollView.mjs
CHANGED
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
import{fullscreenStyle
|
|
1
|
+
import { fullscreenStyle } from "@tamagui/stacks";
|
|
2
|
+
import { setupReactNative, styled } from "@tamagui/web";
|
|
3
|
+
import { ScrollView as ScrollViewNative } from "react-native";
|
|
4
|
+
setupReactNative({
|
|
5
|
+
ScrollView: ScrollViewNative
|
|
6
|
+
});
|
|
7
|
+
const ScrollView = styled(
|
|
8
|
+
ScrollViewNative,
|
|
9
|
+
{
|
|
10
|
+
name: "ScrollView",
|
|
11
|
+
scrollEnabled: true,
|
|
12
|
+
variants: {
|
|
13
|
+
fullscreen: {
|
|
14
|
+
true: fullscreenStyle
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
// this maybe not necesssary since setupReactNative is called?
|
|
20
|
+
isReactNative: true
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
export {
|
|
24
|
+
ScrollView
|
|
25
|
+
};
|
|
2
26
|
//# sourceMappingURL=ScrollView.mjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ScrollView.tsx"],
|
|
4
4
|
"sourcesContent": ["import { fullscreenStyle } from '@tamagui/stacks'\nimport { GetProps, setupReactNative, styled } from '@tamagui/web'\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 scrollEnabled: true,\n\n variants: {\n fullscreen: {\n true: fullscreenStyle,\n },\n } as const,\n },\n {\n // this maybe not necesssary since setupReactNative is called?\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAmB,kBAAkB,cAAc;AACnD,SAAS,cAAc,wBAAwB;AAE/C,iBAAiB;AAAA,EACf,YAAY;AACd,CAAC;AAEM,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;AAAA,IAEE,eAAe;AAAA,EACjB;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
package/dist/jsx/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export*from"./ScrollView";
|
|
1
|
+
export * from "./ScrollView";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/jsx/index.js.map
CHANGED
package/dist/jsx/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export*from"./ScrollView";
|
|
1
|
+
export * from "./ScrollView";
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/jsx/index.mjs.map
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/scroll-view",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.2",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@tamagui/stacks": "1.14.
|
|
33
|
-
"@tamagui/web": "1.14.
|
|
32
|
+
"@tamagui/stacks": "1.14.2",
|
|
33
|
+
"@tamagui/web": "1.14.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": "*"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@tamagui/build": "1.14.
|
|
39
|
+
"@tamagui/build": "1.14.2",
|
|
40
40
|
"react": "^18.2.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|