@tamagui/core 1.89.8 → 1.89.10
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 +64 -31
- package/dist/native.js.map +3 -3
- package/dist/test.native.js +63 -30
- package/dist/test.native.js.map +3 -3
- package/package.json +6 -6
package/dist/test.native.js
CHANGED
|
@@ -3411,29 +3411,6 @@ var require_getStylesAtomic_native = __commonJS({
|
|
|
3411
3411
|
}
|
|
3412
3412
|
});
|
|
3413
3413
|
|
|
3414
|
-
// ../web/dist/cjs/helpers/log.native.js
|
|
3415
|
-
var require_log_native = __commonJS({
|
|
3416
|
-
"../web/dist/cjs/helpers/log.native.js"(exports2, module2) {
|
|
3417
|
-
"use strict";
|
|
3418
|
-
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3419
|
-
for (var name in all)
|
|
3420
|
-
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3421
|
-
}, __copyProps2 = (to, from, except, desc) => {
|
|
3422
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
3423
|
-
for (let key of __getOwnPropNames2(from))
|
|
3424
|
-
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
3425
|
-
return to;
|
|
3426
|
-
}, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), log_exports = {};
|
|
3427
|
-
__export2(log_exports, {
|
|
3428
|
-
log: () => log
|
|
3429
|
-
});
|
|
3430
|
-
module2.exports = __toCommonJS2(log_exports);
|
|
3431
|
-
function log(...args) {
|
|
3432
|
-
return console.log(...args);
|
|
3433
|
-
}
|
|
3434
|
-
}
|
|
3435
|
-
});
|
|
3436
|
-
|
|
3437
3414
|
// ../web/dist/cjs/helpers/normalizeValueWithProperty.native.js
|
|
3438
3415
|
var require_normalizeValueWithProperty_native = __commonJS({
|
|
3439
3416
|
"../web/dist/cjs/helpers/normalizeValueWithProperty.native.js"(exports2, module2) {
|
|
@@ -3476,6 +3453,61 @@ var require_normalizeValueWithProperty_native = __commonJS({
|
|
|
3476
3453
|
}
|
|
3477
3454
|
});
|
|
3478
3455
|
|
|
3456
|
+
// ../web/dist/cjs/helpers/transformsToString.native.js
|
|
3457
|
+
var require_transformsToString_native = __commonJS({
|
|
3458
|
+
"../web/dist/cjs/helpers/transformsToString.native.js"(exports2, module2) {
|
|
3459
|
+
"use strict";
|
|
3460
|
+
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3461
|
+
for (var name in all)
|
|
3462
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3463
|
+
}, __copyProps2 = (to, from, except, desc) => {
|
|
3464
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
3465
|
+
for (let key of __getOwnPropNames2(from))
|
|
3466
|
+
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
3467
|
+
return to;
|
|
3468
|
+
}, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), transformsToString_exports = {};
|
|
3469
|
+
__export2(transformsToString_exports, {
|
|
3470
|
+
transformsToString: () => transformsToString
|
|
3471
|
+
});
|
|
3472
|
+
module2.exports = __toCommonJS2(transformsToString_exports);
|
|
3473
|
+
var import_normalizeValueWithProperty = require_normalizeValueWithProperty_native();
|
|
3474
|
+
function transformsToString(transforms) {
|
|
3475
|
+
return transforms.map(
|
|
3476
|
+
// { scale: 2 } => 'scale(2)'
|
|
3477
|
+
// { translateX: 20 } => 'translateX(20px)'
|
|
3478
|
+
// { matrix: [1,2,3,4,5,6] } => 'matrix(1,2,3,4,5,6)'
|
|
3479
|
+
(transform) => {
|
|
3480
|
+
let type = Object.keys(transform)[0], value = transform[type];
|
|
3481
|
+
return type === "matrix" || type === "matrix3d" ? `${type}(${value.join(",")})` : `${type}(${(0, import_normalizeValueWithProperty.normalizeValueWithProperty)(value, type)})`;
|
|
3482
|
+
}
|
|
3483
|
+
).join(" ");
|
|
3484
|
+
}
|
|
3485
|
+
}
|
|
3486
|
+
});
|
|
3487
|
+
|
|
3488
|
+
// ../web/dist/cjs/helpers/log.native.js
|
|
3489
|
+
var require_log_native = __commonJS({
|
|
3490
|
+
"../web/dist/cjs/helpers/log.native.js"(exports2, module2) {
|
|
3491
|
+
"use strict";
|
|
3492
|
+
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3493
|
+
for (var name in all)
|
|
3494
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3495
|
+
}, __copyProps2 = (to, from, except, desc) => {
|
|
3496
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
3497
|
+
for (let key of __getOwnPropNames2(from))
|
|
3498
|
+
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
3499
|
+
return to;
|
|
3500
|
+
}, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), log_exports = {};
|
|
3501
|
+
__export2(log_exports, {
|
|
3502
|
+
log: () => log
|
|
3503
|
+
});
|
|
3504
|
+
module2.exports = __toCommonJS2(log_exports);
|
|
3505
|
+
function log(...args) {
|
|
3506
|
+
return console.log(...args);
|
|
3507
|
+
}
|
|
3508
|
+
}
|
|
3509
|
+
});
|
|
3510
|
+
|
|
3479
3511
|
// ../web/dist/cjs/helpers/expandStyle.native.js
|
|
3480
3512
|
var require_expandStyle_native = __commonJS({
|
|
3481
3513
|
"../web/dist/cjs/helpers/expandStyle.native.js"(exports2, module2) {
|
|
@@ -3896,7 +3928,7 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
3896
3928
|
useSplitStyles: () => useSplitStyles
|
|
3897
3929
|
});
|
|
3898
3930
|
module2.exports = __toCommonJS2(getSplitStyles_exports);
|
|
3899
|
-
var import_constants = require_index_native3(), import_helpers = require_index_native4(), import_react3 = require("react"), import_config = require_config_native(), import_skipProps = require_skipProps_native(), import_accessibilityDirectMap = require_accessibilityDirectMap_native(), import_constants2 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_useMedia = require_useMedia_native(), import_createMediaStyle = require_createMediaStyle_native(), import_expandStyles = require_expandStyles_native(), import_getGroupPropParts = require_getGroupPropParts_native(), import_getStylesAtomic = require_getStylesAtomic_native(), import_insertStyleRule = require_insertStyleRule_native(), import_log = require_log_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_propMapper = require_propMapper_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_isObj = require_isObj_native(), IS_STATIC = process.env.IS_STATIC === "is_static", conf, PROP_SPLIT = "-";
|
|
3931
|
+
var import_constants = require_index_native3(), import_helpers = require_index_native4(), import_react3 = require("react"), import_config = require_config_native(), import_skipProps = require_skipProps_native(), import_accessibilityDirectMap = require_accessibilityDirectMap_native(), import_constants2 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_useMedia = require_useMedia_native(), import_createMediaStyle = require_createMediaStyle_native(), import_expandStyles = require_expandStyles_native(), import_getGroupPropParts = require_getGroupPropParts_native(), import_getStylesAtomic = require_getStylesAtomic_native(), import_transformsToString = require_transformsToString_native(), import_insertStyleRule = require_insertStyleRule_native(), import_log = require_log_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_propMapper = require_propMapper_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_isObj = require_isObj_native(), IS_STATIC = process.env.IS_STATIC === "is_static", conf, PROP_SPLIT = "-";
|
|
3900
3932
|
function isValidStyleKey(key, staticConfig) {
|
|
3901
3933
|
var _a;
|
|
3902
3934
|
return (staticConfig.validStyles || (staticConfig.isText || staticConfig.isInput ? import_helpers.stylePropsText : import_helpers.validStyles))[key] || ((_a = staticConfig.acceptTokens) == null ? void 0 : _a[key]);
|
|
@@ -4749,7 +4781,7 @@ var require_createComponent_native = __commonJS({
|
|
|
4749
4781
|
defaultVariants,
|
|
4750
4782
|
...nonTamaguiProps
|
|
4751
4783
|
} = viewPropsIn, viewProps = nonTamaguiProps;
|
|
4752
|
-
|
|
4784
|
+
isHOC && _themeProp && (viewProps.theme = _themeProp);
|
|
4753
4785
|
let animationStyles;
|
|
4754
4786
|
if (
|
|
4755
4787
|
// if it supports css vars we run it on server too to get matching initial style
|
|
@@ -6437,11 +6469,10 @@ var require_index_native9 = __commonJS({
|
|
|
6437
6469
|
var import_config = require_config_native();
|
|
6438
6470
|
__reExport2(src_exports2, require_constants_native2(), module2.exports);
|
|
6439
6471
|
__reExport2(src_exports2, require_ComponentContext_native(), module2.exports);
|
|
6472
|
+
__reExport2(src_exports2, require_createMediaStyle_native(), module2.exports);
|
|
6473
|
+
__reExport2(src_exports2, require_createShallowSetState_native(), module2.exports);
|
|
6440
6474
|
__reExport2(src_exports2, require_createStyledContext_native(), module2.exports);
|
|
6441
6475
|
__reExport2(src_exports2, require_expandStyles_native(), module2.exports);
|
|
6442
|
-
__reExport2(src_exports2, require_createMediaStyle_native(), module2.exports);
|
|
6443
|
-
__reExport2(src_exports2, require_normalizeStyle_native(), module2.exports);
|
|
6444
|
-
__reExport2(src_exports2, require_propMapper_native(), module2.exports);
|
|
6445
6476
|
__reExport2(src_exports2, require_getExpandedShorthands_native(), module2.exports);
|
|
6446
6477
|
__reExport2(src_exports2, require_getSplitStyles_native(), module2.exports);
|
|
6447
6478
|
__reExport2(src_exports2, require_getStylesAtomic_native(), module2.exports);
|
|
@@ -6452,12 +6483,14 @@ var require_index_native9 = __commonJS({
|
|
|
6452
6483
|
__reExport2(src_exports2, require_matchMedia_native(), module2.exports);
|
|
6453
6484
|
__reExport2(src_exports2, require_mergeProps_native(), module2.exports);
|
|
6454
6485
|
__reExport2(src_exports2, require_normalizeColor_native(), module2.exports);
|
|
6455
|
-
__reExport2(src_exports2,
|
|
6486
|
+
__reExport2(src_exports2, require_normalizeStyle_native(), module2.exports);
|
|
6487
|
+
__reExport2(src_exports2, require_propMapper_native(), module2.exports);
|
|
6456
6488
|
__reExport2(src_exports2, require_proxyThemeToParents_native(), module2.exports);
|
|
6489
|
+
__reExport2(src_exports2, require_proxyThemeVariables_native(), module2.exports);
|
|
6457
6490
|
__reExport2(src_exports2, require_pseudoDescriptors_native(), module2.exports);
|
|
6458
6491
|
__reExport2(src_exports2, require_themeable_native(), module2.exports);
|
|
6459
6492
|
__reExport2(src_exports2, require_themes_native(), module2.exports);
|
|
6460
|
-
__reExport2(src_exports2,
|
|
6493
|
+
__reExport2(src_exports2, require_transformsToString_native(), module2.exports);
|
|
6461
6494
|
__reExport2(src_exports2, require_internalWithTheme_native(), module2.exports);
|
|
6462
6495
|
var import_useMedia = require_useMedia_native();
|
|
6463
6496
|
__reExport2(src_exports2, require_useTheme_native(), module2.exports);
|