@tamagui/linear-gradient 1.74.18 → 1.74.20

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,24 +18,26 @@ __export(LinearGradient_shared_exports, {
18
18
  });
19
19
  module.exports = __toCommonJS(LinearGradient_shared_exports);
20
20
  var import_core = require("@tamagui/core"), import_stacks = require("@tamagui/stacks"), import_linear_gradient = require("./linear-gradient"), import_jsx_runtime = require("react/jsx-runtime");
21
- const LinearGradient = import_stacks.YStack.styleable((propsIn, ref) => {
22
- var _a;
23
- const props = (0, import_core.useProps)(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = (0, import_core.useTheme)(), colors = ((_a = props.colors) == null ? void 0 : _a.map((c) => {
24
- var _a2;
25
- return ((_a2 = theme[c]) == null ? void 0 : _a2.get("web")) ?? c;
26
- })) || [];
27
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LinearGradientFrame, { ref, ...stackProps, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
28
- import_linear_gradient.LinearGradient,
29
- {
30
- start,
31
- end,
32
- colors,
33
- locations,
34
- style: absoluteFill,
35
- children
36
- }
37
- ) });
38
- }), absoluteFill = {
21
+ const LinearGradient = import_stacks.YStack.styleable(
22
+ (propsIn, ref) => {
23
+ var _a;
24
+ const props = (0, import_core.useProps)(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = (0, import_core.useTheme)(), colors = ((_a = props.colors) == null ? void 0 : _a.map((c) => {
25
+ var _a2;
26
+ return ((_a2 = theme[c]) == null ? void 0 : _a2.get("web")) ?? c;
27
+ })) || [];
28
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LinearGradientFrame, { ref, ...stackProps, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
29
+ import_linear_gradient.LinearGradient,
30
+ {
31
+ start,
32
+ end,
33
+ colors,
34
+ locations,
35
+ style: absoluteFill,
36
+ children
37
+ }
38
+ ) });
39
+ }
40
+ ), absoluteFill = {
39
41
  position: "absolute",
40
42
  top: 0,
41
43
  left: 0,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/LinearGradient.shared.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAOO,0BACP,gBAAoC,4BAGpC,yBAGO,8BAqBD;AAbC,MAAM,iBAAiB,qBAAO,UAA+B,CAAC,SAAS,QAAQ;AAtBtF;AAuBE,QAAM,YAAQ,sBAAS,OAAO,GAExB,EAAE,OAAO,KAAK,QAAQ,YAAY,WAAW,UAAU,GAAG,WAAW,IAAI,OACzE,YAAQ,sBAAS,GAEjB,WACJ,WAAM,WAAN,mBAAc,IAAI,CAAC,MAAM;AA7B7B,QAAAA;AA8BM,aAAQA,MAAA,MAAM,CAAC,MAAP,gBAAAA,IAAU,IAAI,WAAqB;AAAA,EAC7C,OAAM,CAAC;AAET,SACE,4CAAC,uBAAoB,KAAkB,GAAG,YACxC;AAAA,IAAC,uBAAAC;AAAA,IAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,OAAO;AAAA,MAEN;AAAA;AAAA,EACH,GACF;AAEJ,CAAC,GAEK,eAA0B;AAAA,EAC9B,UAAU;AAAA,EACV,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AACV,GAEM,0BAAsB,oBAAO,sBAAQ;AAAA,EACzC,MAAM;AAAA,EACN,UAAU;AAAA,EACV,UAAU;AACZ,CAAC;",
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAOO,0BACP,gBAAuB,4BAGvB,yBAGO,8BAqBC;AAdD,MAAM,iBAAiB,qBAAO;AAAA,EACnC,CAAC,SAAS,QAAQ;AAtBpB;AAuBI,UAAM,YAAQ,sBAAS,OAAO,GAExB,EAAE,OAAO,KAAK,QAAQ,YAAY,WAAW,UAAU,GAAG,WAAW,IAAI,OACzE,YAAQ,sBAAS,GAEjB,WACJ,WAAM,WAAN,mBAAc,IAAI,CAAC,MAAM;AA7B/B,UAAAA;AA8BQ,eAAQA,MAAA,MAAM,CAAC,MAAP,gBAAAA,IAAU,IAAI,WAAqB;AAAA,IAC7C,OAAM,CAAC;AAET,WACE,4CAAC,uBAAoB,KAAkB,GAAG,YACxC;AAAA,MAAC,uBAAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA,OAAO;AAAA,QAEN;AAAA;AAAA,IACH,GACF;AAAA,EAEJ;AACF,GAIM,eAA0B;AAAA,EAC9B,UAAU;AAAA,EACV,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AACV,GAEM,0BAAsB,oBAAO,sBAAQ;AAAA,EACzC,MAAM;AAAA,EACN,UAAU;AAAA,EACV,UAAU;AACZ,CAAC;",
5
5
  "names": ["_a", "ExpoLinearGradient"]
6
6
  }
@@ -19,24 +19,26 @@ __export(LinearGradient_shared_exports, {
19
19
  });
20
20
  module.exports = __toCommonJS(LinearGradient_shared_exports);
21
21
  var import_core = require("@tamagui/core"), import_stacks = require("@tamagui/stacks"), import_linear_gradient = require("./linear-gradient"), import_jsx_runtime = require("react/jsx-runtime");
22
- const LinearGradient = import_stacks.YStack.styleable((propsIn, ref) => {
23
- var _a;
24
- const props = (0, import_core.useProps)(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = (0, import_core.useTheme)(), colors = ((_a = props.colors) == null ? void 0 : _a.map((c) => {
25
- var _a2;
26
- return ((_a2 = theme[c]) == null ? void 0 : _a2.get("web")) ?? c;
27
- })) || [];
28
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LinearGradientFrame, { ref, ...stackProps, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
29
- import_linear_gradient.LinearGradient,
30
- {
31
- start,
32
- end,
33
- colors,
34
- locations,
35
- style: absoluteFill,
36
- children
37
- }
38
- ) });
39
- }), absoluteFill = {
22
+ const LinearGradient = import_stacks.YStack.styleable(
23
+ (propsIn, ref) => {
24
+ var _a;
25
+ const props = (0, import_core.useProps)(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = (0, import_core.useTheme)(), colors = ((_a = props.colors) == null ? void 0 : _a.map((c) => {
26
+ var _a2;
27
+ return ((_a2 = theme[c]) == null ? void 0 : _a2.get("web")) ?? c;
28
+ })) || [];
29
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LinearGradientFrame, { ref, ...stackProps, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
30
+ import_linear_gradient.LinearGradient,
31
+ {
32
+ start,
33
+ end,
34
+ colors,
35
+ locations,
36
+ style: absoluteFill,
37
+ children
38
+ }
39
+ ) });
40
+ }
41
+ ), absoluteFill = {
40
42
  position: "absolute",
41
43
  top: 0,
42
44
  left: 0,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/LinearGradient.shared.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAOO,0BACP,gBAAoC,4BAGpC,yBAGO,8BAqBD;AAbC,MAAM,iBAAiB,qBAAO,UAA+B,CAAC,SAAS,QAAQ;AAtBtF;AAuBE,QAAM,YAAQ,sBAAS,OAAO,GAExB,EAAE,OAAO,KAAK,QAAQ,YAAY,WAAW,UAAU,GAAG,WAAW,IAAI,OACzE,YAAQ,sBAAS,GAEjB,WACJ,WAAM,WAAN,mBAAc,IAAI,CAAC,MAAM;AA7B7B,QAAAA;AA8BM,aAAQA,MAAA,MAAM,CAAC,MAAP,gBAAAA,IAAU,IAAI,WAAqB;AAAA,EAC7C,OAAM,CAAC;AAET,SACE,4CAAC,uBAAoB,KAAkB,GAAG,YACxC;AAAA,IAAC,uBAAAC;AAAA,IAAA;AAAA,MACC;A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inearGradient
9
9
  } from "./linear-gradient";
10
10
  import { jsx } from "react/jsx-runtime";
11
- const LinearGradient = YStack.styleable((propsIn, ref) => {
12
- const props = useProps(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = useTheme(), colors = props.colors?.map((c) => theme[c]?.get("web") ?? c) || [];
13
- return /* @__PURE__ */ jsx(LinearGradientFrame, { ref, ...stackProps, children: /* @__PURE__ */ jsx(
14
- ExpoLinearGradient,
15
- {
16
- start,
17
- end,
18
- colors,
19
- locations,
20
- style: absoluteFill,
21
- children
22
- }
23
- ) });
24
- }), absoluteFill = {
11
+ const LinearGradient = YStack.styleable(
12
+ (propsIn, ref) => {
13
+ const props = useProps(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = useTheme(), colors = props.colors?.map((c) => theme[c]?.get("web") ?? c) || [];
14
+ return /* @__PURE__ */ jsx(LinearGradientFrame, { ref, ...stackProps, children: /* @__PURE__ */ jsx(
15
+ ExpoLinearGradient,
16
+ {
17
+ start,
18
+ end,
19
+ colors,
20
+ locations,
21
+ style: absoluteFill,
22
+ children
23
+ }
24
+ ) });
25
+ }
26
+ ), absoluteFill = {
25
27
  position: "absolute",
26
28
  top: 0,
27
29
  left: 0,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/LinearGradient.shared.tsx"],
4
- "mappings": "AAAA;AAAA,EAIE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,cAA2B;AAGpC;AAAA,EACE,kBAAkB;AAAA,OAEb;AAqBD;AAbC,MAAM,iBAAiB,OAAO,UAA+B,CAAC,SAAS,QAAQ;AACpF,QAAM,QAAQ,SAAS,OAAO,GAExB,EAAE,OAAO,KAAK,QAAQ,YAAY,WAAW,UAAU,GAAG,WAAW,IAAI,OACzE,QAAQ,SAAS,GAEjB,SACJ,MAAM,QAAQ,IAAI,CAAC,MACT,MAAM,CAAC,GAAG,IAAI,KAAK,KAAgB,CAC5C,K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} from "./linear-gradient";
10
10
  import { jsx } from "react/jsx-runtime";
11
- const LinearGradient = YStack.styleable((propsIn, ref) => {
12
- const props = useProps(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = useTheme(), colors = props.colors?.map((c) => theme[c]?.get("web") ?? c) || [];
13
- return /* @__PURE__ */ jsx(LinearGradientFrame, { ref, ...stackProps, children: /* @__PURE__ */ jsx(
14
- ExpoLinearGradient,
15
- {
16
- start,
17
- end,
18
- colors,
19
- locations,
20
- style: absoluteFill,
21
- children
22
- }
23
- ) });
24
- }), absoluteFill = {
11
+ const LinearGradient = YStack.styleable(
12
+ (propsIn, ref) => {
13
+ const props = useProps(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = useTheme(), colors = props.colors?.map((c) => theme[c]?.get("web") ?? c) || [];
14
+ return /* @__PURE__ */ jsx(LinearGradientFrame, { ref, ...stackProps, children: /* @__PURE__ */ jsx(
15
+ ExpoLinearGradient,
16
+ {
17
+ start,
18
+ end,
19
+ colors,
20
+ locations,
21
+ style: absoluteFill,
22
+ children
23
+ }
24
+ ) });
25
+ }
26
+ ), absoluteFill = {
25
27
  position: "absolute",
26
28
  top: 0,
27
29
  left: 0,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/LinearGradient.shared.tsx"],
4
- "mappings": "AAAA;AAAA,EAIE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,cAA2B;AAGpC;AAAA,EACE,kBAAkB;AAAA,OAEb;AAqBD;AAbC,MAAM,iBAAiB,OAAO,UAA+B,CAAC,SAAS,QAAQ;AACpF,QAAM,QAAQ,SAAS,OAAO,GAExB,EAAE,OAAO,KAAK,QAAQ,YAAY,WAAW,UAAU,GAAG,WAAW,IAAI,OACzE,QAAQ,SAAS,GAEjB,SACJ,MAAM,QAAQ,IAAI,CAAC,MACT,MAAM,CAAC,GAAG,IAAI,KAAK,KAAgB,CAC5C,KAAK,CAAC;AA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oLinearGradient
9
9
  } from "./linear-gradient";
10
- const LinearGradient = YStack.styleable((propsIn, ref) => {
11
- const props = useProps(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = useTheme(), colors = props.colors?.map((c) => theme[c]?.get("web") ?? c) || [];
12
- return <LinearGradientFrame ref={ref} {...stackProps}><ExpoLinearGradient
13
- start={start}
14
- end={end}
15
- colors={colors}
16
- locations={locations}
17
- style={absoluteFill}
18
- >{children}</ExpoLinearGradient></LinearGradientFrame>;
19
- }), absoluteFill = {
10
+ const LinearGradient = YStack.styleable(
11
+ (propsIn, ref) => {
12
+ const props = useProps(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = useTheme(), colors = props.colors?.map((c) => theme[c]?.get("web") ?? c) || [];
13
+ return <LinearGradientFrame ref={ref} {...stackProps}><ExpoLinearGradient
14
+ start={start}
15
+ end={end}
16
+ colors={colors}
17
+ locations={locations}
18
+ style={absoluteFill}
19
+ >{children}</ExpoLinearGradient></LinearGradientFrame>;
20
+ }
21
+ ), absoluteFill = {
20
22
  position: "absolute",
21
23
  top: 0,
22
24
  left: 0,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/LinearGradient.shared.tsx"],
4
- "mappings": "AAAA;AAAA,EAIE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,cAA2B;AAGpC;AAAA,EACE,kBAAkB;AAAA,OAEb;AAQA,MAAM,iBAAiB,OAAO,UAA+B,CAAC,SAAS,QAAQ;AACpF,QAAM,QAAQ,SAAS,OAAO,GAExB,EAAE,OAAO,KAAK,QAAQ,YAAY,WAAW,UAAU,GAAG,WAAW,IAAI,OACzE,QAAQ,SAAS,GAEjB,SACJ,MAAM,QAAQ,IAAI,CAAC,MACT,MAAM,CAAC,GAAG,IAAI,KAAK,KAAgB,CAC5C,KAAK,CAAC;AAET,SACE,CAAC,oBAAoB,KAAK,SAAgB,YACxC,CAAC;AAAA,IACC,OAAO;AAAA,IACP,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,OAAO;AAAA,IAEN,SACH,EARC,mBASH,EAVC;AAYL,CAAC,GAEK,eAA0B;AAAA,EAC9B,UAAU;AAAA,EACV,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AACV,GAEM,sBAAsB,OAAO,QAAQ;AAAA,EACzC,MAAM;AAAA,EACN,UAAU;AAAA,EACV,UAAU;AACZ,CAAC;",
4
+ "mappings": "AAAA;AAAA,EAIE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,cAAc;AAGvB;AAAA,EACE,kBAAkB;AAAA,OAEb;AAOA,MAAM,iBAAiB,OAAO;AAAA,EACnC,CAAC,SAAS,QAAQ;AAChB,UAAM,QAAQ,SAAS,OAAO,GAExB,EAAE,OAAO,KAAK,QAAQ,YAAY,WAAW,UAAU,GAAG,WAAW,IAAI,OACzE,QAAQ,SAAS,GAEjB,SACJ,MAAM,QAAQ,IAAI,CAAC,MACT,MAAM,CAAC,GAAG,IAAI,KAAK,KAAgB,CAC5C,KAAK,CAAC;AAET,WACE,CAAC,oBAAoB,KAAK,SAAgB,YACxC,CAAC;AAAA,MACC,OAAO;AAAA,MACP,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,WAAW;AAAA,MACX,OAAO;AAAA,MAEN,SACH,EARC,mBASH,EAVC;AAAA,EAYL;AACF,GAIM,eAA0B;AAAA,EAC9B,UAAU;AAAA,EACV,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AACV,GAEM,sBAAsB,OAAO,QAAQ;AAAA,EACzC,MAAM;AAAA,EACN,UAAU;AAAA,EACV,UAAU;AACZ,CAAC;",
5
5
  "names": []
6
6
  }
@@ -7,20 +7,22 @@ import { YStack } from "@tamagui/stacks";
7
7
  import {
8
8
  LinearGradient as ExpoLinearGradient
9
9
  } from "./linear-gradient";
10
- const LinearGradient = YStack.styleable((propsIn, ref) => {
11
- var _a;
12
- const props = useProps(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = useTheme(), colors = ((_a = props.colors) == null ? void 0 : _a.map((c) => {
13
- var _a2;
14
- return ((_a2 = theme[c]) == null ? void 0 : _a2.get("web")) ?? c;
15
- })) || [];
16
- return <LinearGradientFrame ref={ref} {...stackProps}><ExpoLinearGradient
17
- start={start}
18
- end={end}
19
- colors={colors}
20
- locations={locations}
21
- style={absoluteFill}
22
- >{children}</ExpoLinearGradient></LinearGradientFrame>;
23
- }), absoluteFill = {
10
+ const LinearGradient = YStack.styleable(
11
+ (propsIn, ref) => {
12
+ var _a;
13
+ const props = useProps(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = useTheme(), colors = ((_a = props.colors) == null ? void 0 : _a.map((c) => {
14
+ var _a2;
15
+ return ((_a2 = theme[c]) == null ? void 0 : _a2.get("web")) ?? c;
16
+ })) || [];
17
+ return <LinearGradientFrame ref={ref} {...stackProps}><ExpoLinearGradient
18
+ start={start}
19
+ end={end}
20
+ colors={colors}
21
+ locations={locations}
22
+ style={absoluteFill}
23
+ >{children}</ExpoLinearGradient></LinearGradientFrame>;
24
+ }
25
+ ), absoluteFill = {
24
26
  position: "absolute",
25
27
  top: 0,
26
28
  left: 0,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/LinearGradient.shared.tsx"],
4
- "mappings": "AAAA;AAAA,EAIE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,cAA2B;AAGpC;AAAA,EACE,kBAAkB;AAAA,OAEb;AAQA,MAAM,iBAAiB,OAAO,UAA+B,CAAC,SAAS,QAAQ;AAtBtF;AAuBE,QAAM,QAAQ,SAAS,OAAO,GAExB,EAAE,OAAO,KAAK,QAAQ,YAAY,WAAW,UAAU,GAAG,WAAW,IAAI,OACzE,QAAQ,SAAS,GAEjB,WACJ,WAAM,WAAN,mBAAc,IAAI,C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A,EACP,QAAQ;AACV,GAEM,sBAAsB,OAAO,QAAQ;AAAA,EACzC,MAAM;AAAA,EACN,UAAU;AAAA,EACV,UAAU;AACZ,CAAC;",
5
5
  "names": ["_a"]
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/linear-gradient",
3
- "version": "1.74.18",
3
+ "version": "1.74.20",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -31,14 +31,14 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@tamagui/core": "1.74.18",
35
- "@tamagui/stacks": "1.74.18"
34
+ "@tamagui/core": "1.74.20",
35
+ "@tamagui/stacks": "1.74.20"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": "*"
39
39
  },
40
40
  "devDependencies": {
41
- "@tamagui/build": "1.74.18",
41
+ "@tamagui/build": "1.74.20",
42
42
  "expo-linear-gradient": "~12.3.0",
43
43
  "react": "^18.2.0"
44
44
  },
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ColorTokens,
3
+ GetProps,
3
4
  ThemeTokens,
4
- getVariable,
5
5
  styled,
6
6
  useProps,
7
7
  useTheme,
8
8
  } from '@tamagui/core'
9
- import { YStack, YStackProps } from '@tamagui/stacks'
9
+ import { YStack } from '@tamagui/stacks'
10
10
  import type { ViewStyle } from 'react-native'
11
11
 
12
12
  import {
@@ -15,36 +15,39 @@ import {
15
15
  } from './linear-gradient'
16
16
 
17
17
  //
18
- export type LinearGradientProps = Omit<ExpoLinearGradientProps, 'colors'> &
19
- Omit<YStackProps, 'children' | keyof ExpoLinearGradientProps> & {
20
- colors?: (ColorTokens | ThemeTokens | (string & {}))[]
18
+ export type LinearGradientExtraProps = Omit<ExpoLinearGradientProps, 'colors'> & {
19
+ colors?: (ColorTokens | ThemeTokens | (string & {}))[]
20
+ }
21
+
22
+ export const LinearGradient = YStack.styleable<LinearGradientExtraProps>(
23
+ (propsIn, ref) => {
24
+ const props = useProps(propsIn)
25
+
26
+ const { start, end, colors: colorsProp, locations, children, ...stackProps } = props
27
+ const theme = useTheme()
28
+
29
+ const colors =
30
+ props.colors?.map((c) => {
31
+ return (theme[c]?.get('web') as string) ?? c
32
+ }) || []
33
+
34
+ return (
35
+ <LinearGradientFrame ref={ref as any} {...stackProps}>
36
+ <ExpoLinearGradient
37
+ start={start}
38
+ end={end}
39
+ colors={colors}
40
+ locations={locations}
41
+ style={absoluteFill}
42
+ >
43
+ {children}
44
+ </ExpoLinearGradient>
45
+ </LinearGradientFrame>
46
+ )
21
47
  }
48
+ )
22
49
 
23
- export const LinearGradient = YStack.styleable<LinearGradientProps>((propsIn, ref) => {
24
- const props = useProps(propsIn)
25
-
26
- const { start, end, colors: colorsProp, locations, children, ...stackProps } = props
27
- const theme = useTheme()
28
-
29
- const colors =
30
- props.colors?.map((c) => {
31
- return (theme[c]?.get('web') as string) ?? c
32
- }) || []
33
-
34
- return (
35
- <LinearGradientFrame ref={ref as any} {...stackProps}>
36
- <ExpoLinearGradient
37
- start={start}
38
- end={end}
39
- colors={colors}
40
- locations={locations}
41
- style={absoluteFill}
42
- >
43
- {children}
44
- </ExpoLinearGradient>
45
- </LinearGradientFrame>
46
- )
47
- })
50
+ export type LinearGradientProps = GetProps<typeof LinearGradient>
48
51
 
49
52
  const absoluteFill: ViewStyle = {
50
53
  position: 'absolute',
@@ -1,60 +1,178 @@
1
1
  /// <reference types="react" />
2
- import { ColorTokens, ThemeTokens } from '@tamagui/core';
3
- import { YStackProps } from '@tamagui/stacks';
2
+ import { ColorTokens, GetProps, ThemeTokens } from '@tamagui/core';
4
3
  import type { ViewStyle } from 'react-native';
5
4
  import { LinearGradientProps as ExpoLinearGradientProps } from './linear-gradient';
6
- export type LinearGradientProps = Omit<ExpoLinearGradientProps, 'colors'> & Omit<YStackProps, 'children' | keyof ExpoLinearGradientProps> & {
5
+ export type LinearGradientExtraProps = Omit<ExpoLinearGradientProps, 'colors'> & {
7
6
  colors?: (ColorTokens | ThemeTokens | (string & {}))[];
8
7
  };
9
- export declare const LinearGradient: import("@tamagui/core").ReactComponentWithRef<Omit<ExpoLinearGradientProps, "colors"> & Omit<Omit<import("react-native").ViewProps, "style" | "children" | "onLayout" | "display" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
8
+ export declare const LinearGradient: import("@tamagui/core").TamaguiComponent<Omit<Omit<import("react-native").ViewProps, "style" | "children" | "onLayout" | "display" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
10
9
  style?: import("@tamagui/core").StyleProp<ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & ViewStyle)>;
11
- } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{}, "elevation" | "fullscreen"> & {
10
+ } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").PseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>> & import("@tamagui/core").MediaProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").PseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>>> & {
11
+ onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
12
+ onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
13
+ onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
14
+ onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
15
+ onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
16
+ onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
17
+ onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
18
+ onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
19
+ onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
20
+ onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
21
+ onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
22
+ onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
23
+ onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
24
+ elevationAndroid?: string | number | undefined;
25
+ rel?: any;
26
+ download?: any;
27
+ dataSet?: Record<string, string | number | null | undefined> | undefined;
28
+ onScrollShouldSetResponder?: unknown;
29
+ onScrollShouldSetResponderCapture?: unknown;
30
+ onSelectionChangeShouldSetResponder?: unknown;
31
+ onSelectionChangeShouldSetResponderCapture?: unknown;
32
+ href?: string | undefined;
33
+ hrefAttrs?: {
34
+ target?: "top" | "_blank" | "_self" | "_top" | "blank" | "self" | undefined;
35
+ rel?: string | undefined;
36
+ download?: boolean | undefined;
37
+ } | undefined;
38
+ } & import("react").RefAttributes<import("@tamagui/core").TamaguiElement> & Omit<import("@tamagui/core").StackProps, "ref" | "style" | "children" | "hitSlop" | "id" | "onLayout" | "pointerEvents" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "start" | "end" | "space" | "zIndex" | `$${string}` | `$${number}` | "borderColor" | "shadowColor" | "display" | "gap" | "columnGap" | "rowGap" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "userSelect" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "top" | "width" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | `$theme-${string}` | `$theme-${number}` | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "theme" | "group" | "onFocus" | "key" | "elevationAndroid" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onBlur" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "disabled" | "className" | "themeShallow" | "tag" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "rel" | "download" | "dataSet" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "href" | "hrefAttrs"> & {
12
39
  readonly fullscreen?: boolean | undefined;
13
40
  readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
14
41
  } & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "style" | "children" | "onLayout" | "display" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
15
42
  style?: import("@tamagui/core").StyleProp<ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & ViewStyle)>;
16
- } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{}, "elevation" | "fullscreen"> & {
43
+ } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").PseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>> & import("@tamagui/core").MediaProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").PseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>>> & {
44
+ onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
45
+ onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
46
+ onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
47
+ onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
48
+ onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
49
+ onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
50
+ onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
51
+ onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
52
+ onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
53
+ onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
54
+ onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
55
+ onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
56
+ onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
57
+ elevationAndroid?: string | number | undefined;
58
+ rel?: any;
59
+ download?: any;
60
+ dataSet?: Record<string, string | number | null | undefined> | undefined;
61
+ onScrollShouldSetResponder?: unknown;
62
+ onScrollShouldSetResponderCapture?: unknown;
63
+ onSelectionChangeShouldSetResponder?: unknown;
64
+ onSelectionChangeShouldSetResponderCapture?: unknown;
65
+ href?: string | undefined;
66
+ hrefAttrs?: {
67
+ target?: "top" | "_blank" | "_self" | "_top" | "blank" | "self" | undefined;
68
+ rel?: string | undefined;
69
+ download?: boolean | undefined;
70
+ } | undefined;
71
+ } & import("react").RefAttributes<import("@tamagui/core").TamaguiElement> & Omit<import("@tamagui/core").StackProps, "ref" | "style" | "children" | "hitSlop" | "id" | "onLayout" | "pointerEvents" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "start" | "end" | "space" | "zIndex" | `$${string}` | `$${number}` | "borderColor" | "shadowColor" | "display" | "gap" | "columnGap" | "rowGap" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "userSelect" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "top" | "width" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | `$theme-${string}` | `$theme-${number}` | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "theme" | "group" | "onFocus" | "key" | "elevationAndroid" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onBlur" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "disabled" | "className" | "themeShallow" | "tag" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "rel" | "download" | "dataSet" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "href" | "hrefAttrs"> & {
17
72
  readonly fullscreen?: boolean | undefined;
18
73
  readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
19
74
  }>> & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "style" | "children" | "onLayout" | "display" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
20
75
  style?: import("@tamagui/core").StyleProp<ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & ViewStyle)>;
21
- } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{}, "elevation" | "fullscreen"> & {
76
+ } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").PseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>> & import("@tamagui/core").MediaProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").PseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>>> & {
77
+ onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
78
+ onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
79
+ onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
80
+ onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
81
+ onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
82
+ onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
83
+ onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
84
+ onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
85
+ onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
86
+ onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
87
+ onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
88
+ onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
89
+ onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
90
+ elevationAndroid?: string | number | undefined;
91
+ rel?: any;
92
+ download?: any;
93
+ dataSet?: Record<string, string | number | null | undefined> | undefined;
94
+ onScrollShouldSetResponder?: unknown;
95
+ onScrollShouldSetResponderCapture?: unknown;
96
+ onSelectionChangeShouldSetResponder?: unknown;
97
+ onSelectionChangeShouldSetResponderCapture?: unknown;
98
+ href?: string | undefined;
99
+ hrefAttrs?: {
100
+ target?: "top" | "_blank" | "_self" | "_top" | "blank" | "self" | undefined;
101
+ rel?: string | undefined;
102
+ download?: boolean | undefined;
103
+ } | undefined;
104
+ } & import("react").RefAttributes<import("@tamagui/core").TamaguiElement> & Omit<import("@tamagui/core").StackProps, "ref" | "style" | "children" | "hitSlop" | "id" | "onLayout" | "pointerEvents" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "start" | "end" | "space" | "zIndex" | `$${string}` | `$${number}` | "borderColor" | "shadowColor" | "display" | "gap" | "columnGap" | "rowGap" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "userSelect" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "top" | "width" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | `$theme-${string}` | `$theme-${number}` | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "theme" | "group" | "onFocus" | "key" | "elevationAndroid" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onBlur" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "disabled" | "className" | "themeShallow" | "tag" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "rel" | "download" | "dataSet" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "href" | "hrefAttrs"> & {
22
105
  readonly fullscreen?: boolean | undefined;
23
106
  readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
24
- }>>, "colors" | keyof import("react-native").ViewProps | "locations" | "start" | "end"> & {
107
+ }>>, "colors" | keyof import("react-native").ViewProps | "locations" | "start" | "end"> & Omit<ExpoLinearGradientProps, "colors"> & {
25
108
  colors?: (ColorTokens | (string & {}))[] | undefined;
26
- } & Omit<Omit<import("react-native").ViewProps, "style" | "children" | "onLayout" | "display" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
109
+ }, import("@tamagui/core").TamaguiElement, Omit<import("react-native").ViewProps, "style" | "children" | "onLayout" | "display" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
27
110
  style?: import("@tamagui/core").StyleProp<ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & ViewStyle)>;
28
- } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{}, "elevation" | "fullscreen"> & {
111
+ } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").PseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>> & import("@tamagui/core").MediaProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").PseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>>> & {
112
+ onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
113
+ onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
114
+ onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
115
+ onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
116
+ onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
117
+ onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
118
+ onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
119
+ onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
120
+ onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
121
+ onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
122
+ onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
123
+ onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
124
+ onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
125
+ elevationAndroid?: string | number | undefined;
126
+ rel?: any;
127
+ download?: any;
128
+ dataSet?: Record<string, string | number | null | undefined> | undefined;
129
+ onScrollShouldSetResponder?: unknown;
130
+ onScrollShouldSetResponderCapture?: unknown;
131
+ onSelectionChangeShouldSetResponder?: unknown;
132
+ onSelectionChangeShouldSetResponderCapture?: unknown;
133
+ href?: string | undefined;
134
+ hrefAttrs?: {
135
+ target?: "top" | "_blank" | "_self" | "_top" | "blank" | "self" | undefined;
136
+ rel?: string | undefined;
137
+ download?: boolean | undefined;
138
+ } | undefined;
139
+ } & import("react").RefAttributes<import("@tamagui/core").TamaguiElement> & Omit<import("@tamagui/core").StackProps, "ref" | "style" | "children" | "hitSlop" | "id" | "onLayout" | "pointerEvents" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "start" | "end" | "space" | "zIndex" | `$${string}` | `$${number}` | "borderColor" | "shadowColor" | "display" | "gap" | "columnGap" | "rowGap" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "userSelect" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "top" | "width" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | `$theme-${string}` | `$theme-${number}` | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "theme" | "group" | "onFocus" | "key" | "elevationAndroid" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onBlur" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "disabled" | "className" | "themeShallow" | "tag" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "rel" | "download" | "dataSet" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "href" | "hrefAttrs">, {
29
140
  readonly fullscreen?: boolean | undefined;
30
141
  readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
31
- } & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "style" | "children" | "onLayout" | "display" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
32
- style?: import("@tamagui/core").StyleProp<ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & ViewStyle)>;
33
- } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{}, "elevation" | "fullscreen"> & {
34
- readonly fullscreen?: boolean | undefined;
35
- readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
36
- }>> & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "style" | "children" | "onLayout" | "display" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
37
- style?: import("@tamagui/core").StyleProp<ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & ViewStyle)>;
38
- } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{}, "elevation" | "fullscreen"> & {
39
- readonly fullscreen?: boolean | undefined;
40
- readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
41
- }>> & import("@tamagui/core").ThemeableProps, "colors" | keyof import("react-native").ViewProps | "locations" | "start" | "end" | "display" | "elevation" | "gap" | "columnGap" | "rowGap" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "userSelect" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "top" | "width" | "zIndex" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "fullscreen" | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "theme" | "group" | "onFocus" | `$${string}` | `$${number}` | `$theme-${string}` | `$theme-${number}` | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onBlur" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "disabled" | "className" | "themeShallow" | "tag" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "onScroll" | "rel" | "download" | "dataSet" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "href" | "hrefAttrs" | "elevationAndroid" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle">, import("@tamagui/core").TamaguiElement> & {
42
- staticConfig: import("@tamagui/core").StaticConfig;
43
- styleable: import("@tamagui/core").Styleable<Omit<import("react-native").ViewProps, "style" | "children" | "onLayout" | "display" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
44
- style?: import("@tamagui/core").StyleProp<ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & ViewStyle)>;
45
- } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{}, "elevation" | "fullscreen"> & {
46
- readonly fullscreen?: boolean | undefined;
47
- readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
48
- } & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "style" | "children" | "onLayout" | "display" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
142
+ }, {
143
+ displayName: string | undefined;
144
+ __baseProps: Omit<import("react-native").ViewProps, "style" | "children" | "onLayout" | "display" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
49
145
  style?: import("@tamagui/core").StyleProp<ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & ViewStyle)>;
50
- } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{}, "elevation" | "fullscreen"> & {
51
- readonly fullscreen?: boolean | undefined;
52
- readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
53
- }>> & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "style" | "children" | "onLayout" | "display" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
54
- style?: import("@tamagui/core").StyleProp<ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & ViewStyle)>;
55
- } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{}, "elevation" | "fullscreen"> & {
56
- readonly fullscreen?: boolean | undefined;
57
- readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
58
- }>>, import("@tamagui/core").TamaguiElement>;
59
- };
146
+ } & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & {
147
+ onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
148
+ onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
149
+ onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
150
+ onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
151
+ onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
152
+ onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
153
+ onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
154
+ onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
155
+ onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
156
+ onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
157
+ onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
158
+ onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
159
+ onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
160
+ elevationAndroid?: string | number | undefined;
161
+ rel?: any;
162
+ download?: any;
163
+ dataSet?: Record<string, string | number | null | undefined> | undefined;
164
+ onScrollShouldSetResponder?: unknown;
165
+ onScrollShouldSetResponderCapture?: unknown;
166
+ onSelectionChangeShouldSetResponder?: unknown;
167
+ onSelectionChangeShouldSetResponderCapture?: unknown;
168
+ href?: string | undefined;
169
+ hrefAttrs?: {
170
+ target?: "top" | "_blank" | "_self" | "_top" | "blank" | "self" | undefined;
171
+ rel?: string | undefined;
172
+ download?: boolean | undefined;
173
+ } | undefined;
174
+ };
175
+ __variantProps: void;
176
+ }>;
177
+ export type LinearGradientProps = GetProps<typeof LinearGradient>;
60
178
  //# sourceMappingURL=LinearGradient.shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinearGradient.shared.d.ts","sourceRoot":"","sources":["../src/LinearGradient.shared.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,WAAW,EACX,WAAW,EAKZ,MAAM,eAAe,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