@tamagui/core 1.79.10 → 1.79.12
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.
- package/dist/native.js +25 -0
- package/dist/native.js.map +3 -3
- package/dist/test.native.js +25 -0
- package/dist/test.native.js.map +3 -3
- package/package.json +6 -6
package/dist/native.js
CHANGED
|
@@ -6252,6 +6252,30 @@ var require_withStaticProperties_native = __commonJS({
|
|
|
6252
6252
|
}
|
|
6253
6253
|
});
|
|
6254
6254
|
|
|
6255
|
+
// ../web/dist/cjs/internalWithTheme.native.js
|
|
6256
|
+
var require_internalWithTheme_native = __commonJS({
|
|
6257
|
+
"../web/dist/cjs/internalWithTheme.native.js"(exports, module2) {
|
|
6258
|
+
"use strict";
|
|
6259
|
+
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
6260
|
+
for (var name in all)
|
|
6261
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
6262
|
+
}, __copyProps2 = (to, from, except, desc) => {
|
|
6263
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
6264
|
+
for (let key of __getOwnPropNames2(from))
|
|
6265
|
+
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
6266
|
+
return to;
|
|
6267
|
+
}, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), internalWithTheme_exports = {};
|
|
6268
|
+
__export2(internalWithTheme_exports, {
|
|
6269
|
+
internalWithTheme: () => internalWithTheme
|
|
6270
|
+
});
|
|
6271
|
+
module2.exports = __toCommonJS2(internalWithTheme_exports);
|
|
6272
|
+
var import_useTheme = require_useTheme_native(), import_jsx_runtime = require("react/jsx-runtime"), internalWithTheme = (Component, styleProvider) => (props) => {
|
|
6273
|
+
let { expressions, ...rest } = props, theme = (0, import_useTheme.useTheme)();
|
|
6274
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { style: styleProvider(theme, props.expressions), ...rest });
|
|
6275
|
+
};
|
|
6276
|
+
}
|
|
6277
|
+
});
|
|
6278
|
+
|
|
6255
6279
|
// ../web/dist/cjs/hooks/useThemeName.native.js
|
|
6256
6280
|
var require_useThemeName_native = __commonJS({
|
|
6257
6281
|
"../web/dist/cjs/hooks/useThemeName.native.js"(exports, module2) {
|
|
@@ -6768,6 +6792,7 @@ var require_index_native9 = __commonJS({
|
|
|
6768
6792
|
__reExport2(src_exports2, require_themes_native(), module2.exports);
|
|
6769
6793
|
__reExport2(src_exports2, require_createShallowSetState_native(), module2.exports);
|
|
6770
6794
|
__reExport2(src_exports2, require_withStaticProperties_native(), module2.exports);
|
|
6795
|
+
__reExport2(src_exports2, require_internalWithTheme_native(), module2.exports);
|
|
6771
6796
|
var import_useMedia = require_useMedia_native();
|
|
6772
6797
|
__reExport2(src_exports2, require_useTheme_native(), module2.exports);
|
|
6773
6798
|
__reExport2(src_exports2, require_useThemeName_native(), module2.exports);
|