tamagui 1.135.2 → 1.135.4-1761748186554

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.
Files changed (98) hide show
  1. package/dist/cjs/createTamagui.native.js +40 -43
  2. package/dist/cjs/createTamagui.native.js.map +1 -6
  3. package/dist/cjs/helpers/inputHelpers.native.js +63 -49
  4. package/dist/cjs/helpers/inputHelpers.native.js.map +1 -6
  5. package/dist/cjs/index.native.js +29 -138
  6. package/dist/cjs/index.native.js.map +1 -6
  7. package/dist/cjs/lib/linear-gradient.native.js +11 -10
  8. package/dist/cjs/lib/linear-gradient.native.js.map +1 -6
  9. package/dist/cjs/linear-gradient.native.js +17 -14
  10. package/dist/cjs/linear-gradient.native.js.map +1 -6
  11. package/dist/cjs/react-native-web/Dimensions.native.js +38 -32
  12. package/dist/cjs/react-native-web/Dimensions.native.js.map +1 -6
  13. package/dist/cjs/setup.native.js +20 -13
  14. package/dist/cjs/setup.native.js.map +1 -6
  15. package/dist/cjs/viewTypes.native.js +9 -5
  16. package/dist/cjs/viewTypes.native.js.map +1 -6
  17. package/dist/cjs/views/Anchor.native.js +45 -32
  18. package/dist/cjs/views/Anchor.native.js.map +1 -6
  19. package/dist/cjs/views/EnsureFlexed.native.js +27 -23
  20. package/dist/cjs/views/EnsureFlexed.native.js.map +1 -6
  21. package/dist/cjs/views/Fieldset.native.js +31 -26
  22. package/dist/cjs/views/Fieldset.native.js.map +1 -6
  23. package/dist/cjs/views/Input.native.js +99 -88
  24. package/dist/cjs/views/Input.native.js.map +1 -6
  25. package/dist/cjs/views/Skeleton.native.js +1 -1
  26. package/dist/cjs/views/Skeleton.native.js.map +1 -6
  27. package/dist/cjs/views/Spinner.native.js +47 -30
  28. package/dist/cjs/views/Spinner.native.js.map +1 -6
  29. package/dist/cjs/views/TamaguiProvider.native.js +36 -26
  30. package/dist/cjs/views/TamaguiProvider.native.js.map +1 -6
  31. package/dist/cjs/views/TamaguiProvider.server.native.js +19 -15
  32. package/dist/cjs/views/TamaguiProvider.server.native.js.map +1 -6
  33. package/dist/cjs/views/Text.native.js +28 -24
  34. package/dist/cjs/views/Text.native.js.map +1 -6
  35. package/dist/cjs/views/TextArea.cjs +2 -2
  36. package/dist/cjs/views/TextArea.js +1 -1
  37. package/dist/cjs/views/TextArea.js.map +1 -1
  38. package/dist/cjs/views/TextArea.native.js +58 -43
  39. package/dist/cjs/views/TextArea.native.js.map +1 -6
  40. package/dist/cjs/views/VisuallyHidden.native.js +47 -43
  41. package/dist/cjs/views/VisuallyHidden.native.js.map +1 -6
  42. package/dist/esm/views/TextArea.js +1 -1
  43. package/dist/esm/views/TextArea.js.map +1 -1
  44. package/dist/esm/views/TextArea.mjs +1 -1
  45. package/dist/esm/views/TextArea.mjs.map +1 -1
  46. package/dist/esm/views/TextArea.native.js +1 -1
  47. package/dist/esm/views/TextArea.native.js.map +1 -1
  48. package/dist/jsx/createTamagui.native.js +50 -33
  49. package/dist/jsx/createTamagui.native.js.map +1 -6
  50. package/dist/jsx/helpers/inputHelpers.native.js +74 -42
  51. package/dist/jsx/helpers/inputHelpers.native.js.map +1 -6
  52. package/dist/jsx/index.native.js +144 -181
  53. package/dist/jsx/index.native.js.map +1 -6
  54. package/dist/jsx/lib/linear-gradient.native.js +20 -1
  55. package/dist/jsx/lib/linear-gradient.native.js.map +1 -6
  56. package/dist/jsx/linear-gradient.native.js +29 -5
  57. package/dist/jsx/linear-gradient.native.js.map +1 -6
  58. package/dist/jsx/react-native-web/Dimensions.native.js +49 -22
  59. package/dist/jsx/react-native-web/Dimensions.native.js.map +1 -6
  60. package/dist/jsx/setup.native.js +29 -4
  61. package/dist/jsx/setup.native.js.map +1 -6
  62. package/dist/jsx/viewTypes.native.js +19 -1
  63. package/dist/jsx/viewTypes.native.js.map +1 -6
  64. package/dist/jsx/views/Anchor.native.js +56 -27
  65. package/dist/jsx/views/Anchor.native.js.map +1 -6
  66. package/dist/jsx/views/EnsureFlexed.native.js +37 -13
  67. package/dist/jsx/views/EnsureFlexed.native.js.map +1 -6
  68. package/dist/jsx/views/Fieldset.native.js +42 -18
  69. package/dist/jsx/views/Fieldset.native.js.map +1 -6
  70. package/dist/jsx/views/Input.native.js +117 -81
  71. package/dist/jsx/views/Input.native.js.map +1 -6
  72. package/dist/jsx/views/Skeleton.native.js +2 -1
  73. package/dist/jsx/views/Skeleton.native.js.map +1 -6
  74. package/dist/jsx/views/Spinner.native.js +63 -22
  75. package/dist/jsx/views/Spinner.native.js.map +1 -6
  76. package/dist/jsx/views/TamaguiProvider.native.js +47 -20
  77. package/dist/jsx/views/TamaguiProvider.native.js.map +1 -6
  78. package/dist/jsx/views/TamaguiProvider.server.native.js +30 -6
  79. package/dist/jsx/views/TamaguiProvider.server.native.js.map +1 -6
  80. package/dist/jsx/views/Text.native.js +39 -15
  81. package/dist/jsx/views/Text.native.js.map +1 -6
  82. package/dist/jsx/views/TextArea.js +1 -1
  83. package/dist/jsx/views/TextArea.js.map +1 -1
  84. package/dist/jsx/views/TextArea.mjs +1 -1
  85. package/dist/jsx/views/TextArea.mjs.map +1 -1
  86. package/dist/jsx/views/TextArea.native.js +75 -36
  87. package/dist/jsx/views/TextArea.native.js.map +1 -6
  88. package/dist/jsx/views/VisuallyHidden.native.js +58 -34
  89. package/dist/jsx/views/VisuallyHidden.native.js.map +1 -6
  90. package/dist/native.cjs +17565 -0
  91. package/dist/test.cjs +17705 -0
  92. package/package.json +57 -61
  93. package/src/views/TextArea.tsx +1 -2
  94. package/types/views/TextArea.d.ts.map +1 -1
  95. package/dist/native.js +0 -31572
  96. package/dist/native.js.map +0 -6
  97. package/dist/test.native.js +0 -30829
  98. package/dist/test.native.js.map +0 -6
@@ -1,40 +1,51 @@
1
1
  "use strict";
2
+
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  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);
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
16
23
  var Dimensions_exports = {};
17
24
  __export(Dimensions_exports, {
18
25
  Dimensions: () => Dimensions
19
26
  });
20
27
  module.exports = __toCommonJS(Dimensions_exports);
21
28
  var dimensions = {
22
- window: {
23
- fontScale: 1,
24
- height: 0,
25
- scale: 1,
26
- width: 0
29
+ window: {
30
+ fontScale: 1,
31
+ height: 0,
32
+ scale: 1,
33
+ width: 0
34
+ },
35
+ screen: {
36
+ fontScale: 1,
37
+ height: 0,
38
+ scale: 1,
39
+ width: 0
40
+ }
27
41
  },
28
- screen: {
29
- fontScale: 1,
30
- height: 0,
31
- scale: 1,
32
- width: 0
33
- }
34
- }, listeners = {}, canUseDOM = typeof window < "u", shouldInit = canUseDOM;
42
+ listeners = {},
43
+ canUseDOM = typeof window < "u",
44
+ shouldInit = canUseDOM;
35
45
  function update() {
36
46
  if (canUseDOM) {
37
- var win = window, docEl = win.document.documentElement;
47
+ var win = window,
48
+ docEl = win.document.documentElement;
38
49
  dimensions.window = {
39
50
  fontScale: 1,
40
51
  height: docEl.clientHeight,
@@ -49,7 +60,7 @@ function update() {
49
60
  }
50
61
  }
51
62
  function handleResize() {
52
- update(), Array.isArray(listeners.change) && listeners.change.forEach(function(handler) {
63
+ update(), Array.isArray(listeners.change) && listeners.change.forEach(function (handler) {
53
64
  return handler(dimensions);
54
65
  });
55
66
  }
@@ -60,28 +71,23 @@ var Dimensions = {
60
71
  },
61
72
  set(initialDimensions) {
62
73
  if (initialDimensions) {
63
- if (canUseDOM)
64
- throw new Error("Dimensions cannot be set in the browser");
74
+ if (canUseDOM) throw new Error("Dimensions cannot be set in the browser");
65
75
  initialDimensions.screen != null && (dimensions.screen = initialDimensions.screen), initialDimensions.window != null && (dimensions.window = initialDimensions.window);
66
76
  }
67
77
  },
68
78
  addEventListener(type, handler) {
69
79
  var _this = this;
70
80
  return listeners[type] = listeners[type] || [], listeners[type].push(handler), {
71
- remove: function() {
81
+ remove: function () {
72
82
  _this.removeEventListener(type, handler);
73
83
  }
74
84
  };
75
85
  },
76
86
  removeEventListener(type, handler) {
77
- Array.isArray(listeners[type]) && (listeners[type] = listeners[type].filter(function(_handler) {
87
+ Array.isArray(listeners[type]) && (listeners[type] = listeners[type].filter(function (_handler) {
78
88
  return _handler !== handler;
79
89
  }));
80
90
  }
81
91
  };
82
92
  canUseDOM && window.addEventListener("resize", handleResize, !1);
83
- // Annotate the CommonJS export names for ESM import in node:
84
- 0 && (module.exports = {
85
- Dimensions
86
- });
87
- //# sourceMappingURL=Dimensions.js.map
93
+ //# sourceMappingURL=Dimensions.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/react-native-web/Dimensions.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAI,aAAa;AAAA,EACb,QAAQ;AAAA,IACJ,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,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H,QAAQ,WAAW;AACf,cAAM,oBAAoB,MAAM,OAAO;AAAA,MAC3C;AAAA,IACJ;AAAA,EACJ;AAAA,EACA,oBAAqB,MAAM,SAAS;AAChC,IAAI,MAAM,QAAQ,UAAU,IAAI,CAAC,MAC7B,UAAU,IAAI,IAAI,UAAU,IAAI,EAAE,OAAO,SAAS,UAAU;AACxD,aAAO,aAAa;AAAA,IACxB,CAAC;AAAA,EAET;AACJ;AACI,aACA,OAAO,iBAAiB,UAAU,cAAc,EAAK;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Dimensions_exports","__export","Dimensions","module","exports","dimensions","window","fontScale","height","scale","width","screen","listeners","canUseDOM","shouldInit","update","win","docEl","document","documentElement","clientHeight","devicePixelRatio","clientWidth","handleResize","Array","isArray","change","forEach","handler","get","dimension","Error","set","initialDimensions","addEventListener","type","_this","push","remove","removeEventListener","filter","_handler"],"sources":["../../../src/react-native-web/Dimensions.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,kBAAA;AAAAC,QAAA,CAAAD,kBAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAA;AAAA;AAeAC,MAAM,CAAAC,OAAA,GAAAT,YAAa,CAAAK,kBAAA;AAAA,IACjBK,UAAQ;IAAAC,MACN;MACAC,SAAQ;MACRC,MAAA,EAAO;MACPC,KAAA,EAAO;MACTC,KAAA;IACA;IAAQC,MACN;MACAJ,SAAQ;MACRC,MAAA,EAAO;MACPC,KAAA,EAAO;MACTC,KAAA;IACF;EAKA;EAAAE,SAAI,KAAa;EAAAC,SAAA,UAAAP,MAAA;EAAAQ,UAAA,GAAAD,SAAA;AAEjB,SAASE,OAAA,EAAS;EAChB,IAAIF,SAAC;IACH,IAAAG,GAAA,GAAAV,MAAA;MAAAW,KAA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uB,IAAA,EAAAE,IAAA,CAAAT,OAAA;MACxCU,MAAA,WAAAA,CAAA;QACFF,KAAA,CAAAG,mBAAA,CAAAJ,IAAA,EAAAP,OAAA;MACF;IAEA;EAIE;EAGFW,oBAAAJ,IAAA,EAAAP,OAAA;IACFJ,KAAA,CAAAC,OAAA,CAAAb,SAAA,CAAAuB,IAAA,OAAAvB,SAAA,CAAAuB,IAAA,IAAAvB,SAAA,CAAAuB,IAAA,EAAAK,MAAA,WAAAC,QAAA;MAEI,OACFA,QAAO,KAAAb,OAAA","ignoreList":[]}
@@ -1,24 +1,31 @@
1
1
  "use strict";
2
+
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __getProtoOf = Object.getPrototypeOf,
8
+ __hasOwnProp = Object.prototype.hasOwnProperty;
7
9
  var __copyProps = (to, from, except, desc) => {
8
- if (from && typeof from == "object" || typeof from == "function")
9
- for (let key of __getOwnPropNames(from))
10
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
11
+ get: () => from[key],
12
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
13
+ });
11
14
  return to;
12
15
  };
13
16
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
14
- // If the importer is in node compatibility mode or this is not an ESM
15
- // file that has been converted to a CommonJS file using a Babel-
16
- // compatible transform (i.e. "__esModule" has not been set), then set
17
- // "default" to the CommonJS "module.exports" for node compatibility.
18
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
19
- mod
20
- ));
21
- var import_polyfill_dev = require("@tamagui/polyfill-dev"), React = __toESM(require("react")), _globalThis, _React;
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
22
+ value: mod,
23
+ enumerable: !0
24
+ }) : target, mod));
25
+ var import_polyfill_dev = require("@tamagui/polyfill-dev"),
26
+ React = __toESM(require("react")),
27
+ _globalThis,
28
+ _React;
22
29
  (_globalThis = globalThis)[_React = "React"] || (_globalThis[_React] = React);
23
30
  typeof requestAnimationFrame > "u" && (globalThis.requestAnimationFrame = typeof setImmediate > "u" ? setTimeout : setImmediate);
24
- //# sourceMappingURL=setup.js.map
31
+ //# sourceMappingURL=setup.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/setup.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAGA,0BAAO,kCACP,QAAuB,2BAFvB,aAAa;AAAA,CAGZ,cAAc,YAAY,SAAS,OAAO,MAAM,YAAY,MAAM,IAAI;AAEnE,OAAO,wBAA0B,QACjC,WAAW,wBAA2B,OAAO,eAAiB,MAAc,aAAa;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["import_polyfill_dev","require","React","__toESM","_globalThis","_React","globalThis"],"sources":["../../src/setup.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;gBAAA;AAMA,IAAAA,mBAAwB,GAAAC,OAAA;EAAAC,KAAA,GAAAC,OAAA,CAAAF,OAAA;EAAAG,WAAA;EAAAC,MAAA;AAGpB,CAAAD,WAAO,GAAAE,UAAA,EAAAD,MAA0B,UACnC,MAAAD,WAAW,CAAAC,MAAA,IAAAH,KACT","ignoreList":[]}
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
+
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  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 });
8
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
9
+ get: () => from[key],
10
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
11
+ });
10
12
  return to;
11
13
  };
12
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
14
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
15
+ value: !0
16
+ }), mod);
13
17
  var viewTypes_exports = {};
14
18
  module.exports = __toCommonJS(viewTypes_exports);
15
- //# sourceMappingURL=viewTypes.js.map
19
+ //# sourceMappingURL=viewTypes.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/viewTypes.tsx"],
4
- "mappings": ";;;;;;;;;;;;AAAA;AAAA;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","viewTypes_exports"],"sources":["../../src/viewTypes.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,iBAAA","ignoreList":[]}
@@ -1,45 +1,58 @@
1
1
  "use strict";
2
+
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  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);
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
16
23
  var Anchor_exports = {};
17
24
  __export(Anchor_exports, {
18
25
  Anchor: () => Anchor
19
26
  });
20
27
  module.exports = __toCommonJS(Anchor_exports);
21
- var import_jsx_runtime = require("react/jsx-runtime"), import_constants = require("@tamagui/constants"), import_core = require("@tamagui/core"), import_text = require("@tamagui/text"), import_react_native = require("react-native"), AnchorFrame = (0, import_core.styled)(import_text.SizableText, {
22
- name: "Anchor",
23
- tag: "a",
24
- accessibilityRole: "link"
25
- }), Anchor = AnchorFrame.styleable(function(param, ref) {
26
- var { href, target, ...props } = param;
27
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AnchorFrame, {
28
- ...props,
29
- ...import_constants.isWeb ? {
28
+ var import_jsx_runtime = require("react/jsx-runtime"),
29
+ import_constants = require("@tamagui/constants"),
30
+ import_core = require("@tamagui/core"),
31
+ import_text = require("@tamagui/text"),
32
+ import_react_native = require("react-native"),
33
+ AnchorFrame = (0, import_core.styled)(import_text.SizableText, {
34
+ name: "Anchor",
35
+ tag: "a",
36
+ accessibilityRole: "link"
37
+ }),
38
+ Anchor = AnchorFrame.styleable(function (param, ref) {
39
+ var {
30
40
  href,
31
- target
32
- } : {
33
- onPress: function(event) {
34
- var _props_onPress;
35
- (_props_onPress = props.onPress) === null || _props_onPress === void 0 || _props_onPress.call(props, event), href !== void 0 && import_react_native.Linking.openURL(href);
36
- }
37
- },
38
- ref
41
+ target,
42
+ ...props
43
+ } = param;
44
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(AnchorFrame, {
45
+ ...props,
46
+ ...(import_constants.isWeb ? {
47
+ href,
48
+ target
49
+ } : {
50
+ onPress: function (event) {
51
+ var _props_onPress;
52
+ (_props_onPress = props.onPress) === null || _props_onPress === void 0 || _props_onPress.call(props, event), href !== void 0 && import_react_native.Linking.openURL(href);
53
+ }
54
+ }),
55
+ ref
56
+ });
39
57
  });
40
- });
41
- // Annotate the CommonJS export names for ESM import in node:
42
- 0 && (module.exports = {
43
- Anchor
44
- });
45
- //# sourceMappingURL=Anchor.js.map
58
+ //# sourceMappingURL=Anchor.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/views/Anchor.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAA4B,8BAC5B,mBAAsB,+BACtB,cAAuB,0BACvB,cAA4B,0BAC5B,sBAAwB,yBACpB,kBAAc,oBAAO,yBAAa;AAAA,EAClC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,mBAAmB;AACvB,CAAC,GACU,SAAS,YAAY,UAAU,SAAS,OAAO,KAAK;AAC3D,MAAI,EAAE,MAAM,QAAQ,GAAG,MAAM,IAAI;AACjC,SAAqB,uCAAAA,KAAK,aAAa;AAAA,IACnC,GAAG;AAAA,IACH,GAAG,yBAAQ;AAAA,MACP;AAAA,MACA;AAAA,IACJ,IAAI;AAAA,MACA,SAAS,SAAS,OAAO;AACrB,YAAI;AACJ,SAAC,iBAAiB,MAAM,aAAa,QAAQ,mBAAmB,UAAkB,eAAe,KAAK,OAAO,KAAK,GAC9G,SAAS,UACT,4BAAQ,QAAQ,IAAI;AAAA,MAE5B;AAAA,IACJ;AAAA,IACA;AAAA,EACJ,CAAC;AACL,CAAC;",
5
- "names": ["_jsx"]
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Anchor_exports","__export","Anchor","module","exports","import_jsx_runtime","require","import_constants","import_core","import_text","import_react_native","AnchorFrame","styled","SizableText","name","tag","accessibilityRole","styleable","param","ref","href","target","props","jsx","isWeb","onPress","event","_props_onPress","call","Linking","openURL"],"sources":["../../../src/views/Anchor.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,cAAA;AAAAC,QAAA,CAAAD,cAAA;EAAAE,MAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAsB,CAAAK,cAAA;AActB,IAAAK,kBAAM,GAAcC,OAAA,oBAAO;EAAAC,gBAAa,GAAAD,OAAA;EAAAE,WAAA,GAAAF,OAAA;EAAAG,WAAA,GAAAH,OAAA;EAAAI,mBAAA,GAAAJ,OAAA;EAAAK,WAAA,OAAAH,WAAA,CAAAI,MAAA,EAAAH,WAAA,CAAAI,WAAA;IACtCC,IAAA,EAAM;IACNC,GAAA,EAAK;IACLC,iBAAA,EAAmB;EACrB,CAAC;EAEYd,MAAA,GAASS,WAAA,CAAYM,SAAA,WAAAC,KAAA,EAAAC,GAAA;IAChC,IAAG;MAAAC,IAAM;MAAAC,MAAQ;MAAG,GAAAC;IAAS,IAAAJ,KAEzB;IAAA,OAAC,mBAAAb,kBAAA,CAAAkB,GAAA,EAAAZ,WAAA;MAAA,GAAAW,KAAA;MAAA,IACEf,gBAAG,CAAAiB,KAAA;QACHJ,IAAI;QACDC;MACE,IACA;QACFI,OACA,WAAAA,CAAAC,KAAA;UACE,IAAAC,cAAU;UACR,CAAAA,cAAM,GAAUL,KAAK,CAAAG,OACjB,MAAS,QACXE,cAAA,eAAQA,cAAY,CAAAC,IAAA,CAAAN,KAAA,EAAAI,KAAA,GAAAN,IAAA,eAAAV,mBAAA,CAAAmB,OAAA,CAAAC,OAAA,CAAAV,IAAA;QAAA;MAExB;MACFD;IACJ;EAAA,EACF","ignoreList":[]}
@@ -1,35 +1,39 @@
1
1
  "use strict";
2
+
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  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);
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
16
23
  var EnsureFlexed_exports = {};
17
24
  __export(EnsureFlexed_exports, {
18
25
  EnsureFlexed: () => EnsureFlexed
19
26
  });
20
27
  module.exports = __toCommonJS(EnsureFlexed_exports);
21
- var import_core = require("@tamagui/core"), EnsureFlexed = (0, import_core.styled)(import_core.Text, {
22
- opacity: 0,
23
- lineHeight: 0,
24
- height: 0,
25
- display: "flex",
26
- fontSize: 200,
27
- children: "wwwwwwwwwwwwwwwwwww",
28
- pointerEvents: "none"
29
- });
28
+ var import_core = require("@tamagui/core"),
29
+ EnsureFlexed = (0, import_core.styled)(import_core.Text, {
30
+ opacity: 0,
31
+ lineHeight: 0,
32
+ height: 0,
33
+ display: "flex",
34
+ fontSize: 200,
35
+ children: "wwwwwwwwwwwwwwwwwww",
36
+ pointerEvents: "none"
37
+ });
30
38
  EnsureFlexed.isVisuallyHidden = !0;
31
- // Annotate the CommonJS export names for ESM import in node:
32
- 0 && (module.exports = {
33
- EnsureFlexed
34
- });
35
- //# sourceMappingURL=EnsureFlexed.js.map
39
+ //# sourceMappingURL=EnsureFlexed.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/views/EnsureFlexed.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA6B,0BAElB,mBAAe,oBAAO,kBAAM;AAAA,EACnC,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,UAAU;AAAA,EACV,UAAU;AAAA,EACV,eAAe;AACnB,CAAC;AAGD,aAAa,mBAAsB;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","EnsureFlexed_exports","__export","EnsureFlexed","module","exports","import_core","require","styled","Text","opacity","lineHeight","height","display","fontSize","children","pointerEvents","isVisuallyHidden"],"sources":["../../../src/views/EnsureFlexed.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,YAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAA6B,CAAAK,oBAAA;AAItB,IAAAK,WAAM,GAAAC,OAAe;EAAAJ,YAAO,OAAMG,WAAA,CAAAE,MAAA,EAAAF,WAAA,CAAAG,IAAA;IACvCC,OAAA,EAAS;IACTC,UAAA,EAAY;IACZC,MAAA,EAAQ;IACRC,OAAA,EAAS;IACTC,QAAA,EAAU;IACVC,QAAA,EAAU;IACVC,aAAA,EAAe;EACjB,CAAC;AAIDb,YAAA,CAAac,gBAAA,GAAsB","ignoreList":[]}
@@ -1,39 +1,44 @@
1
1
  "use strict";
2
+
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  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);
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
16
23
  var Fieldset_exports = {};
17
24
  __export(Fieldset_exports, {
18
25
  Fieldset: () => Fieldset
19
26
  });
20
27
  module.exports = __toCommonJS(Fieldset_exports);
21
- var import_core = require("@tamagui/core"), import_stacks = require("@tamagui/stacks"), Fieldset = (0, import_core.styled)(import_stacks.YStack, {
22
- name: "Fieldset",
23
- tag: "fieldset",
24
- // remove browser default styling
25
- borderWidth: 0,
26
- variants: {
27
- horizontal: {
28
- true: {
29
- flexDirection: "row",
30
- alignItems: "center"
28
+ var import_core = require("@tamagui/core"),
29
+ import_stacks = require("@tamagui/stacks"),
30
+ Fieldset = (0, import_core.styled)(import_stacks.YStack, {
31
+ name: "Fieldset",
32
+ tag: "fieldset",
33
+ // remove browser default styling
34
+ borderWidth: 0,
35
+ variants: {
36
+ horizontal: {
37
+ true: {
38
+ flexDirection: "row",
39
+ alignItems: "center"
40
+ }
31
41
  }
32
42
  }
33
- }
34
- });
35
- // Annotate the CommonJS export names for ESM import in node:
36
- 0 && (module.exports = {
37
- Fieldset
38
- });
39
- //# sourceMappingURL=Fieldset.js.map
43
+ });
44
+ //# sourceMappingURL=Fieldset.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/views/Fieldset.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAuB,0BACvB,gBAAuB,4BACZ,eAAW,oBAAO,sBAAQ;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA;AAAA,EAEL,aAAa;AAAA,EACb,UAAU;AAAA,IACN,YAAY;AAAA,MACR,MAAM;AAAA,QACF,eAAe;AAAA,QACf,YAAY;AAAA,MAChB;AAAA,IACJ;AAAA,EACJ;AACJ,CAAC;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Fieldset_exports","__export","Fieldset","module","exports","import_core","require","import_stacks","styled","YStack","name","tag","borderWidth","variants","horizontal","true","flexDirection","alignItems"],"sources":["../../../src/views/Fieldset.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,gBAAA;AAAAC,QAAA,CAAAD,gBAAA;EAAAE,QAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAT,YAAuB,CAAAK,gBACvB;AAEO,IAAAK,WAAM,GAAAC,OAAW,gBAAO;EAAAC,aAAA,GAAAD,OAAQ;EAAAJ,QAAA,OAAAG,WAAA,CAAAG,MAAA,EAAAD,aAAA,CAAAE,MAAA;IACrCC,IAAA,EAAM;IACNC,GAAA,EAAK;IAAA;IAGLC,WAAA,EAAa;IAEbC,QAAA,EAAU;MACRC,UAAA,EAAY;QACVC,IAAA,EAAM;UACJC,aAAA,EAAe;UACfC,UAAA,EAAY;QACd;MACF;IACF;EACF,CAAC","ignoreList":[]}