@tamagui/core 1.112.22 → 1.112.24
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 +4 -7
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +4 -7
- package/dist/test.native.js.map +1 -1
- package/package.json +6 -6
package/dist/test.native.js
CHANGED
|
@@ -6236,10 +6236,8 @@ var require_propMapper_native = __commonJS({
|
|
|
6236
6236
|
var _theme_value, val = (_theme_value = theme == null ? void 0 : theme[value]) !== null && _theme_value !== void 0 ? _theme_value : tokensParsed[customTokenAccept][value];
|
|
6237
6237
|
val != null && (resolveAs = "value", valOrVar = val, hasSet = !0);
|
|
6238
6238
|
}
|
|
6239
|
-
if (theme && value in theme)
|
|
6240
|
-
|
|
6241
|
-
hasSet = !0;
|
|
6242
|
-
} else {
|
|
6239
|
+
if (theme && value in theme) valOrVar = theme[value], hasSet = !0;
|
|
6240
|
+
else {
|
|
6243
6241
|
if (value in conf.specificTokens) hasSet = !0, valOrVar = conf.specificTokens[value];
|
|
6244
6242
|
else {
|
|
6245
6243
|
switch (key) {
|
|
@@ -6518,7 +6516,7 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
6518
6516
|
var _staticConfig_accept, validStyleProps = staticConfig.validStyles || (staticConfig.isText || staticConfig.isInput ? import_helpers.stylePropsText : import_helpers.validStyles);
|
|
6519
6517
|
return validStyleProps[key] || ((_staticConfig_accept = staticConfig.accept) === null || _staticConfig_accept === void 0 ? void 0 : _staticConfig_accept[key]);
|
|
6520
6518
|
}
|
|
6521
|
-
var getSplitStyles = function(props, staticConfig, theme, themeName, componentState, styleProps, parentSplitStyles, context, elementType, debug
|
|
6519
|
+
var getSplitStyles = function(props, staticConfig, theme, themeName, componentState, styleProps, parentSplitStyles, context, elementType, debug) {
|
|
6522
6520
|
conf = conf || (0, import_config.getConfig)(), import_constants2.isWeb && styleProps.isAnimated && conf.animations.isReactNative && !styleProps.noNormalize && (styleProps.noNormalize = "values");
|
|
6523
6521
|
var { shorthands } = conf, { isHOC, isText, isInput, variants, isReactNative, inlineProps, inlineWhenUnflattened, parentStaticConfig, acceptsClassName } = staticConfig, viewProps = {}, mediaState2 = styleProps.mediaState || import_useMedia.mediaState, usedKeys = {}, shouldDoClasses = acceptsClassName && import_constants2.isWeb && !styleProps.noClassNames, rulesToInsert = void 0, classNames = {}, transforms = {}, pseudos = null, space = props.space, hasMedia = !1, dynamicThemeAccess, pseudoGroups, mediaGroups, className = props.className || "", mediaStylesSeen = 0, styleState = {
|
|
6524
6522
|
classNames,
|
|
@@ -6532,8 +6530,7 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
6532
6530
|
usedKeys,
|
|
6533
6531
|
viewProps,
|
|
6534
6532
|
context,
|
|
6535
|
-
debug
|
|
6536
|
-
skipThemeTokenResolution
|
|
6533
|
+
debug
|
|
6537
6534
|
}, { asChild } = props, { accept } = staticConfig, { noSkip, disableExpandShorthands, noExpand } = styleProps, { webContainerType } = conf.settings, parentVariants = parentStaticConfig == null ? void 0 : parentStaticConfig.variants;
|
|
6538
6535
|
for (var keyOg in props) {
|
|
6539
6536
|
var _loop = function(i2) {
|