@tamagui/core 2.0.0-rc.32 → 2.0.0-rc.33

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,5 +1,4 @@
1
-
2
- $ tamagui-build --skip-types
3
- built @tamagui/core in 124 ms
4
- Running afterBuild script...
5
- afterBuild completed in 218 ms
1
+ $ tamagui-build
2
+ built @tamagui/core in 690 ms
3
+ Running afterBuild script...
4
+ afterBuild completed in 284 ms
@@ -37,10 +37,10 @@ __reExport(index_exports, require("@tamagui/web"), module.exports);
37
37
  var import_react_native_media_driver = require("@tamagui/react-native-media-driver"),
38
38
  import_use_element_layout = require("@tamagui/use-element-layout"),
39
39
  import_web = require("@tamagui/web"),
40
- import_createOptimizedView = require("./createOptimizedView.native.js"),
41
- import_getBaseViews = require("./getBaseViews.native.js"),
40
+ import_createOptimizedView = require("./createOptimizedView"),
41
+ import_getBaseViews = require("./getBaseViews"),
42
42
  import_use_element_layout2 = require("@tamagui/use-element-layout");
43
- __reExport(index_exports, require("./reactNativeTypes.native.js"), module.exports);
43
+ __reExport(index_exports, require("./reactNativeTypes"), module.exports);
44
44
  var TamaguiProvider = function (props) {
45
45
  return (0, import_web.useIsomorphicLayoutEffect)(function () {
46
46
  (0, import_use_element_layout.enable)();
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","__export","LayoutMeasurementController","import_use_element_layout2","TamaguiProvider","Text","View","createTamagui","registerLayoutNode","setOnLayoutStrategy","module","exports","import_jsx_runtime","require","__reExport","import_react_native_media_driver","import_use_element_layout","import_web","import_createOptimizedView","import_getBaseViews","props","useIsomorphicLayoutEffect","enable","jsx","conf","media","createMedia","baseViews","getBaseViews","setupHooks","setElementProps","node","measure","_node","_node1","_node2","usePropsTransform","elementType","propsIn","stateRef","willHydrate","isDOM","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","collapsable","focusable","accessible","accessibilityDisabled","onLayout","hrefAttrs","plainDOMProps","href","download","rel","target","useChildren","children","viewProps","process","env","NODE_ENV","TextAncestor","createOptimizedView"],"sources":["../../src/index.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,QAAA,CAAAD,aAAA;EAAAE,2BAAA,EAAAA,CAAA,KAAAC,0BAAA,CAAAD,2BAAA;EAAAE,eAAA,EAAAA,CAAA,KAAAA,eAAA;EAAAC,IAAA,EAAAA,CAAA,KAAAA,IAAA;EAAAC,IAAA,EAAAA,CAAA,KAAAA,IAAA;EAAAC,aAAA,EAAAA,CAAA,KAAAA,aAAA;EAAAC,kBAAA,EAAAA,CAAA,KAAAL,0BAAA,CAAAK,kBAAA;EAAAC,mBAAA,EAAAA,CAAA,KAAAN,0BAAA,CAAAM;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAhB,YAAc,CAAAK,aAAA;AAEd,IAAAY,kBAAA,GAAAC,OAAA,oBAA4B;AAoE5BC,UAAA,CAAAd,aAAA,EAAca,OAAA,kBAAAH,MAvEd,CAAAC,OAAA;AA+ES,IAAAI,gCAAA,GAAAF,OAAA;EAAAG,yBAAA,GAAAH,OAAA;EAAAI,UAAA,GAAAJ,OAAA;EAAAK,0BAAA,GAAAL,OAAA;EAAAM,mBAAA,GAAAN,OAAA;EAAAV,0BAAA,GAAAU,OAAA;AALFC,UAAM,CAAAd,aAAkB,EAACa,OAAA,+BAC9B,GAAAH,MAAA,CAAAC,OAAA;AACE,IAAAP,eAAA,YAAAA,CAAAgB,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A,CAAAC,GAAA,CAAAC,QAAA,eAAArC,WAAA,KAAAV,SAAA,CAAArB,IAAA,IAAAqB,SAAA,CAAAgD,YAAA,SACA,IAAAzD,0BAAA,CAAA0D,mBAAA,EAAAN,QAAA,EAAAC,SAAA,EAAA5C,SAAA;EAAA;AACA;AACA,IAAArB,IAAA,GAAAW,UAAA,CAAAX,IAAA;EAAAD,IAAA,GAAAY,UAAA,CAAAZ,IAAA","ignoreList":[]}
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__reExport","mod","secondTarget","__toCommonJS","value","index_exports","LayoutMeasurementController","import_use_element_layout2","TamaguiProvider","Text","View","createTamagui","registerLayoutNode","setOnLayoutStrategy","module","exports","import_jsx_runtime","require","import_react_native_media_driver","import_use_element_layout","import_web","import_createOptimizedView","import_getBaseViews","props","useIsomorphicLayoutEffect","enable","jsx","conf","media","createMedia","baseViews","getBaseViews","setupHooks","setElementProps","node","measure","_node","_node1","_node2","usePropsTransform","elementType","propsIn","stateRef","willHydrate","isDOM","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","collapsable","focusable","accessible","accessibilityDisabled","onLayout","hrefAttrs","plainDOMProps","href","download","rel","useChildren","children","viewProps","process","env","NODE_ENV","TextAncestor","createOptimizedView"],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: !0 });\n}, __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar index_exports = {};\n__export(index_exports, {\n LayoutMeasurementController: () => import_use_element_layout2.LayoutMeasurementController,\n TamaguiProvider: () => TamaguiProvider,\n Text: () => Text,\n View: () => View,\n createTamagui: () => createTamagui,\n registerLayoutNode: () => import_use_element_layout2.registerLayoutNode,\n setOnLayoutStrategy: () => import_use_element_layout2.setOnLayoutStrategy\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\n__reExport(index_exports, require(\"@tamagui/web\"), module.exports);\nvar import_react_native_media_driver = require(\"@tamagui/react-native-media-driver\"), import_use_element_layout = require(\"@tamagui/use-element-layout\"), import_web = require(\"@tamagui/web\"), import_createOptimizedView = require(\"./createOptimizedView\"), import_getBaseViews = require(\"./getBaseViews\"), import_use_element_layout2 = require(\"@tamagui/use-element-layout\");\n__reExport(index_exports, require(\"./reactNativeTypes\"), module.exports);\nvar TamaguiProvider = function(props) {\n return (0, import_web.useIsomorphicLayoutEffect)(function() {\n (0, import_use_element_layout.enable)();\n }, []), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web.TamaguiProvider, {\n ...props\n });\n}, createTamagui = function(conf) {\n return conf.media && (conf.media = (0, import_react_native_media_driver.createMedia)(conf.media)), (0, import_web.createTamagui)(conf);\n}, baseViews = (0, import_getBaseViews.getBaseViews)();\n(0, import_web.setupHooks)({\n getBaseViews: import_getBaseViews.getBaseViews,\n setElementProps: function(node) {\n if (0 && node && !node.measure)\n var _node, _node1, _node2;\n },\n usePropsTransform(elementType, propsIn, stateRef, willHydrate) {\n if (0) {\n var isDOM, onMoveShouldSetResponder, onMoveShouldSetResponderCapture, onResponderEnd, onResponderGrant, onResponderMove, onResponderReject, onResponderRelease, onResponderStart, onResponderTerminate, onResponderTerminationRequest, onScrollShouldSetResponder, onScrollShouldSetResponderCapture, onSelectionChangeShouldSetResponder, onSelectionChangeShouldSetResponderCapture, onStartShouldSetResponder, onStartShouldSetResponderCapture, collapsable, focusable, accessible, accessibilityDisabled, onLayout, hrefAttrs, plainDOMProps;\n if (isDOM && plainDOMProps.href && hrefAttrs)\n var download, rel, target;\n }\n },\n useChildren(elementType, children, viewProps) {\n if (process.env.NODE_ENV !== \"test\" && elementType === baseViews.View && baseViews.TextAncestor)\n return (0, import_createOptimizedView.createOptimizedView)(children, viewProps, baseViews);\n }\n});\nvar View = import_web.View, Text = import_web.Text;\n//# sourceMappingURL=index.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;MAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MAAEE,UAAU,EAAE,CAAC;IAAE,CAAC,CAAC;EAC/D,CAAC;EAAEC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;IAC3C,IAAIF,IAAI,IAAI,O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,IAAI,GAAGW,UAAU,CAACX,IAAI","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","inject_styles_exports","__export","injectStyles","module","exports","stylesheets","param","filePath","css","stylesheet","styleEl","document","createElement","setAttribute","head","appendChild","innerHTML"],"sources":["../../src/inject-styles.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,qBAAA;AAAAC,QAAA,CAAAD,qBAAA;EAAAE,YAAA,EAAAA,CAAA,KAAAA;AAAA;AAEAC,MAAM,CAAAC,OAAA,GAAAT,YAOO,CAAAK,qBAAkB,CAAU;AACvC,IAAAK,WAAI,IAAa;EAAAH,YAAY,YAAAA,CAAQI,KAAA;IACrC,IAAI;QAACC,QAAA;QAAAC;MAAY,IAAAF,KAAA;MAAAG,UAAA,GAAAJ,WAAA,CAAAE,QAAA;IACf,KAAAE,UAAM;MACN,IAAAC,OAAQ,GAAAC,QAAa,CAAAC,aAAa,QAAQ,CAC1C;MAGFF,OAAA,CAAAG,YAAA,cAAAN,QAAA,GAAAG,OAAA,CAAAG,YAAA,sBAAAJ,UAAA,GAAAJ,WAAA,CAAAE,QAAA,IAAAG,OAAA,EAAAC,QAAA,CAAAG,IAAA,CAAAC,WAAA,CAAAL,OAAA;IACA;IACFD,UAAA,CAAAO,SAAA,GAAAR,GAAA","ignoreList":[]}
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","inject_styles_exports","injectStyles","module","exports","stylesheets","param","filePath","css","stylesheet","styleEl","document","createElement","setAttribute","head","appendChild","innerHTML"],"sources":["inject-styles.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: !0 });\n}, __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar inject_styles_exports = {};\n__export(inject_styles_exports, {\n injectStyles: () => injectStyles\n});\nmodule.exports = __toCommonJS(inject_styles_exports);\nvar stylesheets = {}, injectStyles = function(param) {\n var { filePath, css } = param, stylesheet = stylesheets[filePath];\n if (!stylesheet) {\n var styleEl = document.createElement(\"style\");\n styleEl.setAttribute(\"data-file\", filePath), styleEl.setAttribute(\"type\", \"text/css\"), stylesheet = stylesheets[filePath] = styleEl, document.head.appendChild(styleEl);\n }\n stylesheet.innerHTML = css;\n};\n//# sourceMappingURL=inject-styles.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;MAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MAAEE,UAAU,EAAE,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C7CF,OAAO,CAACG,YAAY,CAAC,WAAW,EAAEN,QAAQ,CAAC,EAAEG,OAAO,CAACG,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,EAAEJ,UAAU,GAAGJ,WAAW,CAACE,QAAQ,CAAC,GAAGG,OAAO,EAAEC,QAAQ,CAACG,IAAI,CAACC,WAAW,CAACL,OAAO,CAAC;IACzK;IACAD,UAAU,CAACO,SAAS,GAAGR,GAAG;EAC5B,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","reactNativeTypes_exports"],"sources":["../../src/reactNativeTypes.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,wBAAA","ignoreList":[]}
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__copyProps","to","from","except","desc","key","call","get","enumerable","__toCommonJS","mod","value","reactNativeTypes_exports","module","exports"],"sources":["reactNativeTypes.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar reactNativeTypes_exports = {};\nmodule.exports = __toCommonJS(reactNativeTypes_exports);\n//# sourceMappingURL=reactNativeTypes.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,IAAI,QAAQ,IAAI,OAAOA,IAAI,IAAI,UAAU,EAC9D,KAAK,IAAIG,GAAG,IAAIV,iBAAiB,CAACO,IAAI,CAAC,EACrC,CAACL,YAAY,CAACS,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,IAAIb,SAAS,CAACW,EAAE,EAAEI,GAAG,EAAE;IAAEE,GAAG,EAAEA,CAAA,KAAML,IAAI,CAACG,GAAG,CAAC;IAAEG,UAAU,EAAE,EAAEJ,IAAI,GAAGX,gBAAgB,CAACS,IAAI,EAAEG,GAAG,CAAC,CAAC,IAAID,IAAI,CAACI;EAAW,CAAC,CAAC;EACvK,OAAOP,EAAE;AACX,CAAC;AACD,IAAIQ,YAAY,GAAIC,GAAG,IAAKV,WAAW,CAACV,SAAS,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE;EAAEqB,KAAK,EAAE,CAAC;AAAE,CAAC,CAAC,EAAED,GAAG,CAAC;AACxF,IAAIE,wBAAwB,GAAG,CAAC,CAAC;AACjCC,MAAM,CAACC,OAAO,GAAGL,YAAY,CAACG,wBAAwB,CAAC","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/core",
3
- "version": "2.0.0-rc.32",
3
+ "version": "2.0.0-rc.33",
4
4
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -79,17 +79,17 @@
79
79
  "clean:build": "tamagui-build clean:build"
80
80
  },
81
81
  "dependencies": {
82
- "@tamagui/helpers": "2.0.0-rc.32",
83
- "@tamagui/react-native-media-driver": "2.0.0-rc.32",
84
- "@tamagui/react-native-use-pressable": "2.0.0-rc.32",
85
- "@tamagui/use-element-layout": "2.0.0-rc.32",
86
- "@tamagui/use-event": "2.0.0-rc.32",
87
- "@tamagui/web": "2.0.0-rc.32"
82
+ "@tamagui/helpers": "2.0.0-rc.33",
83
+ "@tamagui/react-native-media-driver": "2.0.0-rc.33",
84
+ "@tamagui/react-native-use-pressable": "2.0.0-rc.33",
85
+ "@tamagui/use-element-layout": "2.0.0-rc.33",
86
+ "@tamagui/use-event": "2.0.0-rc.33",
87
+ "@tamagui/web": "2.0.0-rc.33"
88
88
  },
89
89
  "devDependencies": {
90
- "@tamagui/build": "2.0.0-rc.32",
91
- "@tamagui/native-bundle": "2.0.0-rc.32",
92
- "@tamagui/react-native-web-lite": "2.0.0-rc.32",
90
+ "@tamagui/build": "2.0.0-rc.33",
91
+ "@tamagui/native-bundle": "2.0.0-rc.33",
92
+ "@tamagui/react-native-web-lite": "2.0.0-rc.33",
93
93
  "@testing-library/react": "^16.1.0",
94
94
  "csstype": "^3.0.10",
95
95
  "react": ">=19",