tamagui 1.135.4-1761749240853 → 1.135.4

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 +43 -40
  2. package/dist/cjs/createTamagui.native.js.map +6 -1
  3. package/dist/cjs/helpers/inputHelpers.native.js +49 -63
  4. package/dist/cjs/helpers/inputHelpers.native.js.map +6 -1
  5. package/dist/cjs/index.native.js +138 -29
  6. package/dist/cjs/index.native.js.map +6 -1
  7. package/dist/cjs/lib/linear-gradient.native.js +10 -11
  8. package/dist/cjs/lib/linear-gradient.native.js.map +6 -1
  9. package/dist/cjs/linear-gradient.native.js +14 -17
  10. package/dist/cjs/linear-gradient.native.js.map +6 -1
  11. package/dist/cjs/react-native-web/Dimensions.native.js +32 -38
  12. package/dist/cjs/react-native-web/Dimensions.native.js.map +6 -1
  13. package/dist/cjs/setup.native.js +13 -20
  14. package/dist/cjs/setup.native.js.map +6 -1
  15. package/dist/cjs/viewTypes.native.js +5 -9
  16. package/dist/cjs/viewTypes.native.js.map +6 -1
  17. package/dist/cjs/views/Anchor.native.js +32 -45
  18. package/dist/cjs/views/Anchor.native.js.map +6 -1
  19. package/dist/cjs/views/EnsureFlexed.native.js +23 -27
  20. package/dist/cjs/views/EnsureFlexed.native.js.map +6 -1
  21. package/dist/cjs/views/Fieldset.native.js +26 -31
  22. package/dist/cjs/views/Fieldset.native.js.map +6 -1
  23. package/dist/cjs/views/Input.native.js +88 -99
  24. package/dist/cjs/views/Input.native.js.map +6 -1
  25. package/dist/cjs/views/Skeleton.native.js +1 -1
  26. package/dist/cjs/views/Skeleton.native.js.map +6 -1
  27. package/dist/cjs/views/Spinner.native.js +30 -47
  28. package/dist/cjs/views/Spinner.native.js.map +6 -1
  29. package/dist/cjs/views/TamaguiProvider.native.js +26 -36
  30. package/dist/cjs/views/TamaguiProvider.native.js.map +6 -1
  31. package/dist/cjs/views/TamaguiProvider.server.native.js +15 -19
  32. package/dist/cjs/views/TamaguiProvider.server.native.js.map +6 -1
  33. package/dist/cjs/views/Text.native.js +24 -28
  34. package/dist/cjs/views/Text.native.js.map +6 -1
  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 +43 -58
  39. package/dist/cjs/views/TextArea.native.js.map +6 -1
  40. package/dist/cjs/views/VisuallyHidden.native.js +43 -47
  41. package/dist/cjs/views/VisuallyHidden.native.js.map +6 -1
  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 +33 -50
  49. package/dist/jsx/createTamagui.native.js.map +6 -1
  50. package/dist/jsx/helpers/inputHelpers.native.js +42 -74
  51. package/dist/jsx/helpers/inputHelpers.native.js.map +6 -1
  52. package/dist/jsx/index.native.js +181 -144
  53. package/dist/jsx/index.native.js.map +6 -1
  54. package/dist/jsx/lib/linear-gradient.native.js +1 -20
  55. package/dist/jsx/lib/linear-gradient.native.js.map +6 -1
  56. package/dist/jsx/linear-gradient.native.js +5 -29
  57. package/dist/jsx/linear-gradient.native.js.map +6 -1
  58. package/dist/jsx/react-native-web/Dimensions.native.js +22 -49
  59. package/dist/jsx/react-native-web/Dimensions.native.js.map +6 -1
  60. package/dist/jsx/setup.native.js +4 -29
  61. package/dist/jsx/setup.native.js.map +6 -1
  62. package/dist/jsx/viewTypes.native.js +1 -19
  63. package/dist/jsx/viewTypes.native.js.map +6 -1
  64. package/dist/jsx/views/Anchor.native.js +27 -56
  65. package/dist/jsx/views/Anchor.native.js.map +6 -1
  66. package/dist/jsx/views/EnsureFlexed.native.js +13 -37
  67. package/dist/jsx/views/EnsureFlexed.native.js.map +6 -1
  68. package/dist/jsx/views/Fieldset.native.js +18 -42
  69. package/dist/jsx/views/Fieldset.native.js.map +6 -1
  70. package/dist/jsx/views/Input.native.js +81 -117
  71. package/dist/jsx/views/Input.native.js.map +6 -1
  72. package/dist/jsx/views/Skeleton.native.js +1 -2
  73. package/dist/jsx/views/Skeleton.native.js.map +6 -1
  74. package/dist/jsx/views/Spinner.native.js +22 -63
  75. package/dist/jsx/views/Spinner.native.js.map +6 -1
  76. package/dist/jsx/views/TamaguiProvider.native.js +20 -47
  77. package/dist/jsx/views/TamaguiProvider.native.js.map +6 -1
  78. package/dist/jsx/views/TamaguiProvider.server.native.js +6 -30
  79. package/dist/jsx/views/TamaguiProvider.server.native.js.map +6 -1
  80. package/dist/jsx/views/Text.native.js +15 -39
  81. package/dist/jsx/views/Text.native.js.map +6 -1
  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 +36 -75
  87. package/dist/jsx/views/TextArea.native.js.map +6 -1
  88. package/dist/jsx/views/VisuallyHidden.native.js +34 -58
  89. package/dist/jsx/views/VisuallyHidden.native.js.map +6 -1
  90. package/dist/native.js +31572 -0
  91. package/dist/native.js.map +6 -0
  92. package/dist/test.native.js +30829 -0
  93. package/dist/test.native.js.map +6 -0
  94. package/package.json +61 -58
  95. package/src/views/TextArea.tsx +2 -1
  96. package/types/views/TextArea.d.ts.map +1 -1
  97. package/dist/native.cjs +0 -17565
  98. package/dist/test.cjs +0 -17705
@@ -1,51 +1,40 @@
1
1
  "use strict";
2
-
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
6
  var __export = (target, all) => {
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);
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);
23
16
  var Dimensions_exports = {};
24
17
  __export(Dimensions_exports, {
25
18
  Dimensions: () => Dimensions
26
19
  });
27
20
  module.exports = __toCommonJS(Dimensions_exports);
28
21
  var dimensions = {
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
- }
22
+ window: {
23
+ fontScale: 1,
24
+ height: 0,
25
+ scale: 1,
26
+ width: 0
41
27
  },
42
- listeners = {},
43
- canUseDOM = typeof window < "u",
44
- shouldInit = canUseDOM;
28
+ screen: {
29
+ fontScale: 1,
30
+ height: 0,
31
+ scale: 1,
32
+ width: 0
33
+ }
34
+ }, listeners = {}, canUseDOM = typeof window < "u", shouldInit = canUseDOM;
45
35
  function update() {
46
36
  if (canUseDOM) {
47
- var win = window,
48
- docEl = win.document.documentElement;
37
+ var win = window, docEl = win.document.documentElement;
49
38
  dimensions.window = {
50
39
  fontScale: 1,
51
40
  height: docEl.clientHeight,
@@ -60,7 +49,7 @@ function update() {
60
49
  }
61
50
  }
62
51
  function handleResize() {
63
- update(), Array.isArray(listeners.change) && listeners.change.forEach(function (handler) {
52
+ update(), Array.isArray(listeners.change) && listeners.change.forEach(function(handler) {
64
53
  return handler(dimensions);
65
54
  });
66
55
  }
@@ -71,23 +60,28 @@ var Dimensions = {
71
60
  },
72
61
  set(initialDimensions) {
73
62
  if (initialDimensions) {
74
- if (canUseDOM) throw new Error("Dimensions cannot be set in the browser");
63
+ if (canUseDOM)
64
+ throw new Error("Dimensions cannot be set in the browser");
75
65
  initialDimensions.screen != null && (dimensions.screen = initialDimensions.screen), initialDimensions.window != null && (dimensions.window = initialDimensions.window);
76
66
  }
77
67
  },
78
68
  addEventListener(type, handler) {
79
69
  var _this = this;
80
70
  return listeners[type] = listeners[type] || [], listeners[type].push(handler), {
81
- remove: function () {
71
+ remove: function() {
82
72
  _this.removeEventListener(type, handler);
83
73
  }
84
74
  };
85
75
  },
86
76
  removeEventListener(type, handler) {
87
- Array.isArray(listeners[type]) && (listeners[type] = listeners[type].filter(function (_handler) {
77
+ Array.isArray(listeners[type]) && (listeners[type] = listeners[type].filter(function(_handler) {
88
78
  return _handler !== handler;
89
79
  }));
90
80
  }
91
81
  };
92
82
  canUseDOM && window.addEventListener("resize", handleResize, !1);
93
- //# sourceMappingURL=Dimensions.native.js.map
83
+ // Annotate the CommonJS export names for ESM import in node:
84
+ 0 && (module.exports = {
85
+ Dimensions
86
+ });
87
+ //# sourceMappingURL=Dimensions.js.map
@@ -1 +1,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,KAAA,GAAAD,GAAA,CAAAE,QAAA,CAAAC,eAAA;IAGFd,UAAY,CAAAC,MAAA,GACN;MAENC,SAAW;MACTC,MAAA,EAAAS,KAAW,CAAAG,YAAA;MACXX,KAAA,EAAQO,GAAA,CAAAK,gBAAM;MACdX,KAAO,EAAAO,KAAI,CAAAK;IACX,GAAAjB,UAAa,CAAAM,MAAA;MAGfJ,SAAA,EAAW;MACTC,MAAA,EAAAQ,GAAW,CAAAL,MAAA,CAAAH,MAAA;MACXC,KAAA,EAAQO,GAAI,CAAAK,gBAAO;MACnBX,KAAO,EAAAM,GAAI,CAAAL,MAAA,CAAAD;IACX;EACF;AACF;AAEA,SAASa,aAAA,EAAe;EACtBR,MAAA,CAAO,GACHS,KAAA,CAAMC,OAAA,CAAQb,SAAA,CAAUc,MAAS,KACnCd,SAAA,CAAUc,MAAA,CAAUC,OAAA,CAAQ,UAACC,OAA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,GACrB;AAAA,MACH,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,31 +1,24 @@
1
1
  "use strict";
2
-
3
2
  var __create = Object.create;
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf,
8
- __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
9
7
  var __copyProps = (to, from, except, desc) => {
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
- });
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 });
14
11
  return to;
15
12
  };
16
13
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
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;
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;
29
22
  (_globalThis = globalThis)[_React = "React"] || (_globalThis[_React] = React);
30
23
  typeof requestAnimationFrame > "u" && (globalThis.requestAnimationFrame = typeof setImmediate > "u" ? setTimeout : setImmediate);
31
- //# sourceMappingURL=setup.native.js.map
24
+ //# sourceMappingURL=setup.js.map
@@ -1 +1,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
+ {
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,19 +1,15 @@
1
1
  "use strict";
2
-
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
6
  var __copyProps = (to, from, except, desc) => {
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
- });
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 });
12
10
  return to;
13
11
  };
14
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
15
- value: !0
16
- }), mod);
12
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
17
13
  var viewTypes_exports = {};
18
14
  module.exports = __toCommonJS(viewTypes_exports);
19
- //# sourceMappingURL=viewTypes.native.js.map
15
+ //# sourceMappingURL=viewTypes.js.map
@@ -1 +1,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
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/viewTypes.tsx"],
4
+ "mappings": ";;;;;;;;;;;;AAAA;AAAA;",
5
+ "names": []
6
+ }
@@ -1,58 +1,45 @@
1
1
  "use strict";
2
-
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
6
  var __export = (target, all) => {
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);
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);
23
16
  var Anchor_exports = {};
24
17
  __export(Anchor_exports, {
25
18
  Anchor: () => Anchor
26
19
  });
27
20
  module.exports = __toCommonJS(Anchor_exports);
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 {
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 ? {
40
30
  href,
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
- });
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
57
39
  });
58
- //# sourceMappingURL=Anchor.native.js.map
40
+ });
41
+ // Annotate the CommonJS export names for ESM import in node:
42
+ 0 && (module.exports = {
43
+ Anchor
44
+ });
45
+ //# sourceMappingURL=Anchor.js.map
@@ -1 +1,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,KAA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K;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,39 +1,35 @@
1
1
  "use strict";
2
-
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
6
  var __export = (target, all) => {
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);
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);
23
16
  var EnsureFlexed_exports = {};
24
17
  __export(EnsureFlexed_exports, {
25
18
  EnsureFlexed: () => EnsureFlexed
26
19
  });
27
20
  module.exports = __toCommonJS(EnsureFlexed_exports);
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
- });
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
+ });
38
30
  EnsureFlexed.isVisuallyHidden = !0;
39
- //# sourceMappingURL=EnsureFlexed.native.js.map
31
+ // Annotate the CommonJS export names for ESM import in node:
32
+ 0 && (module.exports = {
33
+ EnsureFlexed
34
+ });
35
+ //# sourceMappingURL=EnsureFlexed.js.map
@@ -1 +1,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
+ {
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,44 +1,39 @@
1
1
  "use strict";
2
-
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
6
  var __export = (target, all) => {
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);
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);
23
16
  var Fieldset_exports = {};
24
17
  __export(Fieldset_exports, {
25
18
  Fieldset: () => Fieldset
26
19
  });
27
20
  module.exports = __toCommonJS(Fieldset_exports);
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
- }
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"
41
31
  }
42
32
  }
43
- });
44
- //# sourceMappingURL=Fieldset.native.js.map
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
@@ -1 +1,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":[]}
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
+ }