@tamagui/linear-gradient 1.89.0-1706360676826 → 1.89.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,30 +1,9 @@
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: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var LinearGradient_native_exports = {};
17
- __export(LinearGradient_native_exports, {
18
- LinearGradient: () => LinearGradient
19
- });
20
- module.exports = __toCommonJS(LinearGradient_native_exports);
21
- var import_jsx_runtime = require("react/jsx-runtime");
1
+ import { jsx } from "react/jsx-runtime";
22
2
  function LinearGradient(props) {
23
3
  const Real = require("./LinearGradient.shared").LinearGradient;
24
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Real, { ...props });
4
+ return /* @__PURE__ */ jsx(Real, { ...props });
25
5
  }
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
6
+ export {
28
7
  LinearGradient
29
- });
8
+ };
30
9
  //# sourceMappingURL=LinearGradient.native.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/LinearGradient.native.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAQS;AAHF,SAAS,eAAe,OAAO;AACpC,QAAM,OAAO,QAAQ,yBAAyB,EAAE;AAEhD,SAAO,4CAAC,QAAM,GAAG,OAAO;AAC1B;",
4
+ "mappings": "AAQS;AAHF,SAAS,eAAe,OAAO;AACpC,QAAM,OAAO,QAAQ,yBAAyB,EAAE;AAEhD,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;",
5
5
  "names": []
6
6
  }
@@ -1,41 +1,24 @@
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: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var LinearGradient_shared_exports = {};
17
- __export(LinearGradient_shared_exports, {
18
- LinearGradient: () => LinearGradient
19
- });
20
- module.exports = __toCommonJS(LinearGradient_shared_exports);
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(
1
+ import { normalizeColor, styled, useProps, useTheme } from "@tamagui/core";
2
+ import { YStack } from "@tamagui/stacks";
3
+ import { LinearGradient as ExpoLinearGradient } from "./linear-gradient";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ const LinearGradient = YStack.styleable(
23
6
  (propsIn, ref) => {
24
7
  var _a;
25
- const props = (0, import_core.useProps)(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = (0, import_core.useTheme)();
8
+ const props = useProps(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = useTheme();
26
9
  let colors = ((_a = props.colors) == null ? void 0 : _a.map((c) => {
27
10
  var _a2;
28
11
  return ((_a2 = theme[c]) == null ? void 0 : _a2.get("web")) ?? c;
29
12
  })) || [];
30
13
  return process.env.NODE_ENV !== "production" && colors.some((c) => {
31
- const normalized = (0, import_core.normalizeColor)(c);
14
+ const normalized = normalizeColor(c);
32
15
  if (!normalized || normalized.startsWith("$"))
33
16
  return !0;
34
17
  }) && (console.error(
35
18
  `LinearGradient: "colors" prop contains invalid color tokens: ${colors} fallback to default colors: ["#000", "#fff"]`
36
- ), colors = ["#000", "#fff"]), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LinearGradientFrame, { ref, ...stackProps, children: [
37
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
38
- import_linear_gradient.LinearGradient,
19
+ ), colors = ["#000", "#fff"]), /* @__PURE__ */ jsxs(LinearGradientFrame, { ref, ...stackProps, children: [
20
+ /* @__PURE__ */ jsx(
21
+ ExpoLinearGradient,
39
22
  {
40
23
  start,
41
24
  end,
@@ -54,13 +37,12 @@ const LinearGradient = import_stacks.YStack.styleable(
54
37
  right: 0,
55
38
  bottom: 0,
56
39
  zIndex: 0
57
- }, LinearGradientFrame = (0, import_core.styled)(import_stacks.YStack, {
40
+ }, LinearGradientFrame = styled(YStack, {
58
41
  name: "LinearGradient",
59
42
  overflow: "hidden",
60
43
  position: "relative"
61
44
  });
62
- // Annotate the CommonJS export names for ESM import in node:
63
- 0 && (module.exports = {
45
+ export {
64
46
  LinearGradient
65
- });
47
+ };
66
48
  //# sourceMappingURL=LinearGradient.shared.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/LinearGradient.shared.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAA2D,0BAC3D,gBAAuB,4BAIvB,yB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SAAS,QAAQ;AAjBpB;AAkBI,UAAM,QAAQ,SAAS,OAAO,GAExB,EAAE,OAAO,KAAK,QAAQ,YAAY,WAAW,UAAU,GAAG,WAAW,IAAI,OACzE,QAAQ,SAAS;AAEvB,QAAI,WACF,WAAM,WAAN,mBAAc,IAAI,CAAC,MAAM;AAxB/B,UAAAA;AAyBQ,eAAQA,MAAA,MAAM,CAAC,MAAP,gBAAAA,IAAU,IAAI,WAAqB;AAAA,IAC7C,OAAM,CAAC;AAET,WAAI,QAAQ,IAAI,aAAa,gBAEzB,OAAO,KAAK,CAAC,MAAM;AACjB,YAAM,aAAa,eAAe,CAAC;AACnC,UAAI,CAAC,cAAc,WAAW,WAAW,GAAG;AAC1C,eAAO;AAAA,IAEX,CAAC,MAED,QAAQ;AAAA,MACN,gEAAgE,MAAM;AAAA,IACxE,GACA,SAAS,CAAC,QAAQ,MAAM,IAK1B,qBAAC,uBAAoB,KAAkB,GAAG,YACxC;AAAA;AAAA,QAAC;AAAA;AAAA,UACC;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA,OAAO;AAAA;AAAA,MACT;AAAA,MACC;AAAA,OACH;AAAA,EAEJ;AACF,GAIM,gBAA2B;AAAA,EAC/B,UAAU;AAAA,EACV,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,QAAQ;AACV,GAEM,sBAAsB,OAAO,QAAQ;AAAA,EACzC,MAAM;AAAA,EACN,UAAU;AAAA,EACV,UAAU;AACZ,CAAC;",
5
+ "names": ["_a"]
6
6
  }
@@ -1,20 +1,2 @@
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
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- return to;
11
- }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
12
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
13
- var src_exports = {};
14
- module.exports = __toCommonJS(src_exports);
15
- __reExport(src_exports, require("./LinearGradient"), module.exports);
16
- // Annotate the CommonJS export names for ESM import in node:
17
- 0 && (module.exports = {
18
- ...require("./LinearGradient")
19
- });
1
+ export * from "./LinearGradient";
20
2
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,6BAAd;",
4
+ "mappings": "AAAA,cAAc;",
5
5
  "names": []
6
6
  }
@@ -1,26 +1,5 @@
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: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var linear_gradient_exports = {};
17
- __export(linear_gradient_exports, {
18
- LinearGradient: () => import_expo_linear_gradient.LinearGradient
19
- });
20
- module.exports = __toCommonJS(linear_gradient_exports);
21
- var import_expo_linear_gradient = require("expo-linear-gradient");
22
- // Annotate the CommonJS export names for ESM import in node:
23
- 0 && (module.exports = {
1
+ import { LinearGradient } from "expo-linear-gradient";
2
+ export {
24
3
  LinearGradient
25
- });
4
+ };
26
5
  //# sourceMappingURL=linear-gradient.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/linear-gradient.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAA+B;",
4
+ "mappings": "AAAA,SAAS,sBAAsB;",
5
5
  "names": []
6
6
  }
@@ -1,30 +1,9 @@
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: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var LinearGradient_native_exports = {};
17
- __export(LinearGradient_native_exports, {
18
- LinearGradient: () => LinearGradient
19
- });
20
- module.exports = __toCommonJS(LinearGradient_native_exports);
21
- var import_jsx_runtime = require("react/jsx-runtime");
1
+ import { jsx } from "react/jsx-runtime";
22
2
  function LinearGradient(props) {
23
3
  const Real = require("./LinearGradient.shared").LinearGradient;
24
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Real, { ...props });
4
+ return /* @__PURE__ */ jsx(Real, { ...props });
25
5
  }
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
6
+ export {
28
7
  LinearGradient
29
- });
8
+ };
30
9
  //# sourceMappingURL=LinearGradient.native.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/LinearGradient.native.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAQS;AAHF,SAAS,eAAe,OAAO;AACpC,QAAM,OAAO,QAAQ,yBAAyB,EAAE;AAEhD,SAAO,4CAAC,QAAM,GAAG,OAAO;AAC1B;",
4
+ "mappings": "AAQS;AAHF,SAAS,eAAe,OAAO;AACpC,QAAM,OAAO,QAAQ,yBAAyB,EAAE;AAEhD,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;",
5
5
  "names": []
6
6
  }
@@ -1,41 +1,24 @@
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: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var LinearGradient_shared_exports = {};
17
- __export(LinearGradient_shared_exports, {
18
- LinearGradient: () => LinearGradient
19
- });
20
- module.exports = __toCommonJS(LinearGradient_shared_exports);
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(
1
+ import { normalizeColor, styled, useProps, useTheme } from "@tamagui/core";
2
+ import { YStack } from "@tamagui/stacks";
3
+ import { LinearGradient as ExpoLinearGradient } from "./linear-gradient";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ const LinearGradient = YStack.styleable(
23
6
  (propsIn, ref) => {
24
7
  var _a;
25
- const props = (0, import_core.useProps)(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = (0, import_core.useTheme)();
8
+ const props = useProps(propsIn), { start, end, colors: colorsProp, locations, children, ...stackProps } = props, theme = useTheme();
26
9
  let colors = ((_a = props.colors) == null ? void 0 : _a.map((c) => {
27
10
  var _a2;
28
11
  return ((_a2 = theme[c]) == null ? void 0 : _a2.get("web")) ?? c;
29
12
  })) || [];
30
13
  return process.env.NODE_ENV !== "production" && colors.some((c) => {
31
- const normalized = (0, import_core.normalizeColor)(c);
14
+ const normalized = normalizeColor(c);
32
15
  if (!normalized || normalized.startsWith("$"))
33
16
  return !0;
34
17
  }) && (console.error(
35
18
  `LinearGradient: "colors" prop contains invalid color tokens: ${colors} fallback to default colors: ["#000", "#fff"]`
36
- ), colors = ["#000", "#fff"]), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LinearGradientFrame, { ref, ...stackProps, children: [
37
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
38
- import_linear_gradient.LinearGradient,
19
+ ), colors = ["#000", "#fff"]), /* @__PURE__ */ jsxs(LinearGradientFrame, { ref, ...stackProps, children: [
20
+ /* @__PURE__ */ jsx(
21
+ ExpoLinearGradient,
39
22
  {
40
23
  start,
41
24
  end,
@@ -54,13 +37,12 @@ const LinearGradient = import_stacks.YStack.styleable(
54
37
  right: 0,
55
38
  bottom: 0,
56
39
  zIndex: 0
57
- }, LinearGradientFrame = (0, import_core.styled)(import_stacks.YStack, {
40
+ }, LinearGradientFrame = styled(YStack, {
58
41
  name: "LinearGradient",
59
42
  overflow: "hidden",
60
43
  position: "relative"
61
44
  });
62
- // Annotate the CommonJS export names for ESM import in node:
63
- 0 && (module.exports = {
45
+ export {
64
46
  LinearGradient
65
- });
47
+ };
66
48
  //# sourceMappingURL=LinearGradient.shared.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/LinearGradient.shared.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAA2D,0BAC3D,gBAAuB,4BAIvB,yBAAqD,8BAuC/C;AA7BC,MAAM,iBAAiB,qBAAO;AAAA,EACnC,CAAC,SAAS,QAAQ;AAjBpB;AAkBI,UAAM,YAAQ,sBAAS,OAAO,GAExB,EAAE,OAAO,KAAK,QAAQ,YAAY,WAAW,UAAU,GAAG,WAAW,IAAI,OACzE,YAAQ,sBAAS;AAEvB,QAAI,WACF,WAAM,WAAN,mBAAc,IAAI,CAAC,MAAM;AAxB/B,UAAAA;AAyBQ,eAAQA,MAAA,MAAM,CAAC,MAAP,gBAAAA,IAAU,IAAI,WAAqB;AAAA,IAC7C,OAAM,CAAC;AAET,WAAI,QAAQ,IAAI,aAAa,gBAEzB,OAAO,KAAK,CAAC,MAAM;AACjB,YAAM,iBAAa,4BAAe,CAAC;AACnC,UAAI,CAAC,cAAc,WAAW,WAAW,GAAG;AAC1C,eAAO;AAAA,IAEX,CAAC,MAED,QAAQ;AAAA,MACN,gEAAgE,MAAM;AAAA,IACxE,GACA,SAAS,CAAC,QAAQ,MAAM,IAK1B,6CAAC,uBAAoB,KAAkB,GAAG,YACxC;AAAA;AAAA,QAAC,uBAAAC;AAAA,QAAA;AAAA,UACC;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA,OAAO;AAAA;AAAA,MACT;AAAA,MACC;AAAA,OACH;AAAA,EAEJ;AACF,GAIM,gBAA2B;AAAA,EAC/B,UAAU;AAAA,EACV,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,QAAQ;AACV,GAEM,0BAAsB,oBAAO,sBAAQ;AAAA,EACzC,MAAM;AAAA,E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
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
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- return to;
11
- }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
12
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
13
- var src_exports = {};
14
- module.exports = __toCommonJS(src_exports);
15
- __reExport(src_exports, require("./LinearGradient"), module.exports);
16
- // Annotate the CommonJS export names for ESM import in node:
17
- 0 && (module.exports = {
18
- ...require("./LinearGradient")
19
- });
1
+ export * from "./LinearGradient";
20
2
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,6BAAd;",
4
+ "mappings": "AAAA,cAAc;",
5
5
  "names": []
6
6
  }
@@ -1,26 +1,5 @@
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: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var linear_gradient_exports = {};
17
- __export(linear_gradient_exports, {
18
- LinearGradient: () => import_expo_linear_gradient.LinearGradient
19
- });
20
- module.exports = __toCommonJS(linear_gradient_exports);
21
- var import_expo_linear_gradient = require("expo-linear-gradient");
22
- // Annotate the CommonJS export names for ESM import in node:
23
- 0 && (module.exports = {
1
+ import { LinearGradient } from "expo-linear-gradient";
2
+ export {
24
3
  LinearGradient
25
- });
4
+ };
26
5
  //# sourceMappingURL=linear-gradient.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/linear-gradient.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAA+B;",
4
+ "mappings": "AAAA,SAAS,sBAAsB;",
5
5
  "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/linear-gradient",
3
- "version": "1.89.0-1706360676826",
3
+ "version": "1.89.0",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -32,15 +32,15 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "@tamagui/core": "1.89.0-1706360676826",
36
- "@tamagui/stacks": "1.89.0-1706360676826"
35
+ "@tamagui/core": "1.89.0",
36
+ "@tamagui/stacks": "1.89.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": "*"
40
40
  },
41
41
  "devDependencies": {
42
- "@tamagui/build": "1.89.0-1706360676826",
43
- "expo-linear-gradient": "~12.3.0",
42
+ "@tamagui/build": "1.89.0",
43
+ "expo-linear-gradient": "^12.7.1",
44
44
  "react": "^18.2.0"
45
45
  },
46
46
  "publishConfig": {